| 
1 | 1 | import { createInjectionHooks } from "brandi-react";  | 
2 | 2 | import { TOKENS } from "./Datagrid.depsContainer";  | 
3 | 3 | 
 
  | 
4 |  | -const [  | 
5 |  | -    useBasicData,  | 
6 |  | -    useDatagridConfig,  | 
7 |  | -    usePaginationService,  | 
8 |  | -    useSelectionCounterViewModel,  | 
9 |  | -    useLoaderViewModel,  | 
10 |  | -    useColumnsStore,  | 
11 |  | -    useExportProgressService,  | 
12 |  | -    useMainGate,  | 
13 |  | -    useDatagridFilterAPI,  | 
14 |  | -    useSelectAllBarViewModel,  | 
15 |  | -    useSelectionDialogViewModel  | 
16 |  | -] = createInjectionHooks(  | 
17 |  | -    TOKENS.basicDate,  | 
18 |  | -    TOKENS.config,  | 
19 |  | -    TOKENS.paginationService,  | 
20 |  | -    TOKENS.selectionCounter,  | 
21 |  | -    TOKENS.loaderViewModel,  | 
22 |  | -    TOKENS.columnsStore,  | 
23 |  | -    TOKENS.exportProgressService,  | 
24 |  | -    TOKENS.mainGate,  | 
25 |  | -    // TOKENS.staticInfo,  | 
26 |  | -    TOKENS.filterAPI,  | 
27 |  | -    TOKENS.selectAllBar,  | 
28 |  | -    TOKENS.selectionDialogViewModel  | 
29 |  | -);  | 
30 |  | - | 
31 |  | -export {  | 
32 |  | -    useBasicData,  | 
33 |  | -    useColumnsStore,  | 
34 |  | -    useDatagridConfig,  | 
35 |  | -    useDatagridFilterAPI,  | 
36 |  | -    useExportProgressService,  | 
37 |  | -    useLoaderViewModel,  | 
38 |  | -    useMainGate,  | 
39 |  | -    usePaginationService,  | 
40 |  | -    useSelectAllBarViewModel,  | 
41 |  | -    useSelectionCounterViewModel,  | 
42 |  | -    useSelectionDialogViewModel  | 
43 |  | -};  | 
 | 4 | +export const [useBasicData] = createInjectionHooks(TOKENS.basicDate);  | 
 | 5 | + | 
 | 6 | +export const [useDatagridConfig] = createInjectionHooks(TOKENS.config);  | 
 | 7 | + | 
 | 8 | +export const [usePaginationService] = createInjectionHooks(TOKENS.paginationService);  | 
 | 9 | + | 
 | 10 | +export const [useSelectionCounterViewModel] = createInjectionHooks(TOKENS.selectionCounter);  | 
 | 11 | + | 
 | 12 | +export const [useLoaderViewModel] = createInjectionHooks(TOKENS.loaderViewModel);  | 
 | 13 | + | 
 | 14 | +export const [useColumnsStore] = createInjectionHooks(TOKENS.columnsStore);  | 
 | 15 | + | 
 | 16 | +export const [useExportProgressService] = createInjectionHooks(TOKENS.exportProgressService);  | 
 | 17 | + | 
 | 18 | +export const [useMainGate] = createInjectionHooks(TOKENS.mainGate);  | 
 | 19 | + | 
 | 20 | +export const [useDatagridFilterAPI] = createInjectionHooks(TOKENS.filterAPI);  | 
 | 21 | + | 
 | 22 | +export const [useSelectAllBarViewModel] = createInjectionHooks(TOKENS.selectAllBar);  | 
 | 23 | + | 
 | 24 | +export const [useSelectionDialogViewModel] = createInjectionHooks(TOKENS.selectionDialogViewModel);  | 
0 commit comments