@fctc/interface-logic 1.2.7 → 1.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{hooks.d.mts → hook.d.mts} +3 -2
- package/dist/{hooks.d.ts → hook.d.ts} +3 -2
- package/dist/{hooks.js → hook.js} +16 -14
- package/dist/{hooks.mjs → hook.mjs} +12 -10
- package/dist/index.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +12 -10
- package/dist/index.mjs +12 -10
- package/dist/model.js +2 -2
- package/dist/model.mjs +2 -2
- package/dist/provider.d.mts +4 -3
- package/dist/provider.d.ts +4 -3
- package/dist/provider.js +2 -2
- package/dist/provider.mjs +2 -2
- package/dist/services.d.mts +3 -3
- package/dist/services.d.ts +3 -3
- package/dist/services.js +7 -6
- package/dist/services.mjs +7 -6
- package/dist/store.d.mts +247 -247
- package/dist/store.d.ts +247 -247
- package/dist/types.d.mts +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/{view-type-y6vtF3wg.d.mts → view-type-DodWYWDH.d.mts} +1 -0
- package/dist/{view-type-y6vtF3wg.d.ts → view-type-DodWYWDH.d.ts} +1 -0
- package/package.json +87 -87
package/dist/store.d.mts
CHANGED
|
@@ -5,6 +5,253 @@ import * as redux_thunk from 'redux-thunk';
|
|
|
5
5
|
import * as redux from 'redux';
|
|
6
6
|
import * as immer from 'immer';
|
|
7
7
|
|
|
8
|
+
interface UserInfor {
|
|
9
|
+
address?: {
|
|
10
|
+
country?: boolean;
|
|
11
|
+
formatted?: string;
|
|
12
|
+
locality?: boolean;
|
|
13
|
+
postal_code?: boolean;
|
|
14
|
+
region?: boolean;
|
|
15
|
+
street_address?: boolean;
|
|
16
|
+
};
|
|
17
|
+
email?: string;
|
|
18
|
+
locale?: string;
|
|
19
|
+
name?: string;
|
|
20
|
+
partner_id?: {
|
|
21
|
+
id?: number;
|
|
22
|
+
stud_id?: boolean;
|
|
23
|
+
};
|
|
24
|
+
phone_number?: boolean;
|
|
25
|
+
sub?: number;
|
|
26
|
+
updated_at?: string;
|
|
27
|
+
username?: string;
|
|
28
|
+
website?: boolean;
|
|
29
|
+
zoneinfo?: string;
|
|
30
|
+
image?: string;
|
|
31
|
+
}
|
|
32
|
+
interface ProfileStateType {
|
|
33
|
+
profile: UserInfor;
|
|
34
|
+
}
|
|
35
|
+
declare const profileSlice: _reduxjs_toolkit.Slice<ProfileStateType, {
|
|
36
|
+
setProfile: (state: immer.WritableDraft<ProfileStateType>, action: {
|
|
37
|
+
payload: any;
|
|
38
|
+
type: string;
|
|
39
|
+
}) => void;
|
|
40
|
+
}, "profile", "profile", _reduxjs_toolkit.SliceSelectors<ProfileStateType>>;
|
|
41
|
+
declare const setProfile: _reduxjs_toolkit.ActionCreatorWithPayload<any, "profile/setProfile">;
|
|
42
|
+
declare const selectProfile: (state: RootState) => ProfileStateType;
|
|
43
|
+
|
|
44
|
+
interface ExcelState {
|
|
45
|
+
dataParse: any | null;
|
|
46
|
+
idFile: any | null;
|
|
47
|
+
isFileLoaded: boolean;
|
|
48
|
+
loadingImport: any;
|
|
49
|
+
selectedFile: any;
|
|
50
|
+
errorData: any;
|
|
51
|
+
}
|
|
52
|
+
declare const excelSlice: _reduxjs_toolkit.Slice<ExcelState, {
|
|
53
|
+
setDataParse: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
|
|
54
|
+
setIdFile: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
|
|
55
|
+
setIsFileLoaded: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
|
|
56
|
+
setLoadingImport: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
|
|
57
|
+
setSelectedFile: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
|
|
58
|
+
setErrorData: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
|
|
59
|
+
}, "excel", "excel", _reduxjs_toolkit.SliceSelectors<ExcelState>>;
|
|
60
|
+
declare const setDataParse: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setDataParse">;
|
|
61
|
+
declare const setIdFile: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setIdFile">;
|
|
62
|
+
declare const setIsFileLoaded: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setIsFileLoaded">;
|
|
63
|
+
declare const setLoadingImport: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setLoadingImport">;
|
|
64
|
+
declare const setSelectedFile: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setSelectedFile">;
|
|
65
|
+
declare const setErrorData: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setErrorData">;
|
|
66
|
+
declare const selectExcel: (state: RootState) => ExcelState;
|
|
67
|
+
|
|
68
|
+
interface LoginStateType {
|
|
69
|
+
db: string;
|
|
70
|
+
redirectTo: string;
|
|
71
|
+
forgotPasswordUrl: string;
|
|
72
|
+
}
|
|
73
|
+
declare const loginSlice: _reduxjs_toolkit.Slice<LoginStateType, {
|
|
74
|
+
setDb: (state: immer.WritableDraft<LoginStateType>, action: PayloadAction<string>) => void;
|
|
75
|
+
setRedirectTo: (state: immer.WritableDraft<LoginStateType>, action: PayloadAction<string>) => void;
|
|
76
|
+
setForgotPasswordUrl: (state: immer.WritableDraft<LoginStateType>, action: PayloadAction<string>) => void;
|
|
77
|
+
}, "login", "login", _reduxjs_toolkit.SliceSelectors<LoginStateType>>;
|
|
78
|
+
declare const setDb: _reduxjs_toolkit.ActionCreatorWithPayload<string, "login/setDb">;
|
|
79
|
+
declare const setRedirectTo: _reduxjs_toolkit.ActionCreatorWithPayload<string, "login/setRedirectTo">;
|
|
80
|
+
declare const setForgotPasswordUrl: _reduxjs_toolkit.ActionCreatorWithPayload<string, "login/setForgotPasswordUrl">;
|
|
81
|
+
declare const selectLogin: (state: RootState) => LoginStateType;
|
|
82
|
+
|
|
83
|
+
interface Breadcrumb {
|
|
84
|
+
title?: string;
|
|
85
|
+
path?: string;
|
|
86
|
+
view: 'list' | 'detail' | 'edit' | 'tree';
|
|
87
|
+
aid: string | number;
|
|
88
|
+
model: string;
|
|
89
|
+
id: string | number;
|
|
90
|
+
}
|
|
91
|
+
interface BreadcrumbsState {
|
|
92
|
+
breadCrumbs: Breadcrumb[];
|
|
93
|
+
}
|
|
94
|
+
declare const breadcrumbsSlice: _reduxjs_toolkit.Slice<BreadcrumbsState, {
|
|
95
|
+
setBreadCrumbs: (state: BreadcrumbsState, action: PayloadAction<Breadcrumb>) => void;
|
|
96
|
+
}, "breadcrumbs", "breadcrumbs", _reduxjs_toolkit.SliceSelectors<BreadcrumbsState>>;
|
|
97
|
+
declare const setBreadCrumbs: _reduxjs_toolkit.ActionCreatorWithPayload<Breadcrumb, "breadcrumbs/setBreadCrumbs">;
|
|
98
|
+
declare const selectBreadCrumbs: (state: RootState) => BreadcrumbsState;
|
|
99
|
+
|
|
100
|
+
interface ViewDataStore {
|
|
101
|
+
[key: string]: any;
|
|
102
|
+
}
|
|
103
|
+
interface FormState {
|
|
104
|
+
viewDataStore: ViewDataStore;
|
|
105
|
+
isShowingModalDetail: boolean;
|
|
106
|
+
isShowModalTranslate: boolean;
|
|
107
|
+
formSubmitComponent: Record<string, React.ReactNode>;
|
|
108
|
+
fieldTranslation: any;
|
|
109
|
+
listSubject: any;
|
|
110
|
+
dataUser: any;
|
|
111
|
+
}
|
|
112
|
+
declare const formSlice: _reduxjs_toolkit.Slice<FormState, {
|
|
113
|
+
setViewDataStore: (state: FormState, action: PayloadAction<ViewDataStore>) => void;
|
|
114
|
+
setIsShowingModalDetail: (state: FormState, action: PayloadAction<boolean>) => void;
|
|
115
|
+
setIsShowModalTranslate: (state: FormState, action: PayloadAction<boolean>) => void;
|
|
116
|
+
setFormSubmitComponent: (state: immer.WritableDraft<FormState>, action: PayloadAction<{
|
|
117
|
+
key: string;
|
|
118
|
+
component: any;
|
|
119
|
+
}>) => void;
|
|
120
|
+
setFieldTranslate: (state: FormState, action: PayloadAction<any>) => void;
|
|
121
|
+
setListSubject: (state: FormState, action: PayloadAction<any>) => void;
|
|
122
|
+
setDataUser: (state: FormState, action: PayloadAction<any>) => void;
|
|
123
|
+
}, "form", "form", _reduxjs_toolkit.SliceSelectors<FormState>>;
|
|
124
|
+
declare const setViewDataStore: _reduxjs_toolkit.ActionCreatorWithPayload<ViewDataStore, "form/setViewDataStore">;
|
|
125
|
+
declare const setIsShowingModalDetail: _reduxjs_toolkit.ActionCreatorWithPayload<boolean, "form/setIsShowingModalDetail">;
|
|
126
|
+
declare const setIsShowModalTranslate: _reduxjs_toolkit.ActionCreatorWithPayload<boolean, "form/setIsShowModalTranslate">;
|
|
127
|
+
declare const setFormSubmitComponent: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
128
|
+
key: string;
|
|
129
|
+
component: any;
|
|
130
|
+
}, "form/setFormSubmitComponent">;
|
|
131
|
+
declare const setFieldTranslate: _reduxjs_toolkit.ActionCreatorWithPayload<any, "form/setFieldTranslate">;
|
|
132
|
+
declare const setListSubject: _reduxjs_toolkit.ActionCreatorWithPayload<any, "form/setListSubject">;
|
|
133
|
+
declare const setDataUser: _reduxjs_toolkit.ActionCreatorWithPayload<any, "form/setDataUser">;
|
|
134
|
+
declare const selectForm: (state: RootState) => FormState;
|
|
135
|
+
|
|
136
|
+
interface SearchState {
|
|
137
|
+
groupByDomain: any;
|
|
138
|
+
searchBy: any;
|
|
139
|
+
searchString: string;
|
|
140
|
+
hoveredIndexSearchList: any;
|
|
141
|
+
selectedTags: [];
|
|
142
|
+
firstDomain: any;
|
|
143
|
+
searchMap: Record<string, any[]>;
|
|
144
|
+
filterBy: any;
|
|
145
|
+
groupBy: any;
|
|
146
|
+
}
|
|
147
|
+
declare const searchSlice: _reduxjs_toolkit.Slice<SearchState, {
|
|
148
|
+
setGroupByDomain: (state: immer.WritableDraft<SearchState>, action: PayloadAction<string | null>) => void;
|
|
149
|
+
setSearchBy: (state: immer.WritableDraft<SearchState>, action: any) => void;
|
|
150
|
+
setSearchString: (state: immer.WritableDraft<SearchState>, action: PayloadAction<string>) => void;
|
|
151
|
+
setHoveredIndexSearchList: (state: immer.WritableDraft<SearchState>, action: PayloadAction<number | null>) => void;
|
|
152
|
+
setSelectedTags: (state: immer.WritableDraft<SearchState>, action: PayloadAction<any>) => void;
|
|
153
|
+
setFirstDomain: (state: immer.WritableDraft<SearchState>, action: PayloadAction<any>) => void;
|
|
154
|
+
setFilterBy: (state: immer.WritableDraft<SearchState>, action: PayloadAction<any>) => void;
|
|
155
|
+
setGroupBy: (state: immer.WritableDraft<SearchState>, action: PayloadAction<any>) => void;
|
|
156
|
+
setSearchMap: (state: immer.WritableDraft<SearchState>, action: PayloadAction<Record<string, any>>) => void;
|
|
157
|
+
updateSearchMap: (state: immer.WritableDraft<SearchState>, action: PayloadAction<{
|
|
158
|
+
key: string;
|
|
159
|
+
value: any;
|
|
160
|
+
}>) => void;
|
|
161
|
+
removeKeyFromSearchMap: (state: immer.WritableDraft<SearchState>, action: PayloadAction<{
|
|
162
|
+
key: string;
|
|
163
|
+
item?: any;
|
|
164
|
+
}>) => void;
|
|
165
|
+
clearSearchMap: (state: immer.WritableDraft<SearchState>) => void;
|
|
166
|
+
}, "search", "search", _reduxjs_toolkit.SliceSelectors<SearchState>>;
|
|
167
|
+
declare const setGroupByDomain: _reduxjs_toolkit.ActionCreatorWithPayload<string | null, "search/setGroupByDomain">;
|
|
168
|
+
declare const setSelectedTags: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setSelectedTags">;
|
|
169
|
+
declare const setSearchString: _reduxjs_toolkit.ActionCreatorWithPayload<string, "search/setSearchString">;
|
|
170
|
+
declare const setHoveredIndexSearchList: _reduxjs_toolkit.ActionCreatorWithPayload<number | null, "search/setHoveredIndexSearchList">;
|
|
171
|
+
declare const setFirstDomain: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setFirstDomain">;
|
|
172
|
+
declare const setSearchBy: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"search/setSearchBy"> | _reduxjs_toolkit.ActionCreatorWithoutPayload<"search/setSearchBy">;
|
|
173
|
+
declare const setFilterBy: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setFilterBy">;
|
|
174
|
+
declare const setSearchMap: _reduxjs_toolkit.ActionCreatorWithPayload<Record<string, any>, "search/setSearchMap">;
|
|
175
|
+
declare const updateSearchMap: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
176
|
+
key: string;
|
|
177
|
+
value: any;
|
|
178
|
+
}, "search/updateSearchMap">;
|
|
179
|
+
declare const removeKeyFromSearchMap: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
180
|
+
key: string;
|
|
181
|
+
item?: any;
|
|
182
|
+
}, "search/removeKeyFromSearchMap">;
|
|
183
|
+
declare const setGroupBy: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setGroupBy">;
|
|
184
|
+
declare const clearSearchMap: _reduxjs_toolkit.ActionCreatorWithoutPayload<"search/clearSearchMap">;
|
|
185
|
+
declare const selectSearch: (state: RootState) => SearchState;
|
|
186
|
+
declare const selectSearchMap: (state: RootState) => Record<string, any[]>;
|
|
187
|
+
|
|
188
|
+
interface ListState {
|
|
189
|
+
pageLimit: number;
|
|
190
|
+
fields: Record<string, any>;
|
|
191
|
+
order: string | null;
|
|
192
|
+
selectedRowKeys: number[];
|
|
193
|
+
selectedRadioKey: any;
|
|
194
|
+
indexRowTableModal: number;
|
|
195
|
+
isUpdateTableModal: boolean;
|
|
196
|
+
footerGroupTable: Record<string, any>;
|
|
197
|
+
page: number;
|
|
198
|
+
transferDetail?: any;
|
|
199
|
+
domainTable?: any;
|
|
200
|
+
}
|
|
201
|
+
declare const listSlice: _reduxjs_toolkit.Slice<ListState, {
|
|
202
|
+
setPageLimit: (state: immer.WritableDraft<ListState>, action: PayloadAction<number>) => void;
|
|
203
|
+
setFields: (state: immer.WritableDraft<ListState>, action: PayloadAction<Record<string, any>>) => void;
|
|
204
|
+
setOrder: (state: immer.WritableDraft<ListState>, action: PayloadAction<string | null>) => void;
|
|
205
|
+
setSelectedRowKeys: (state: immer.WritableDraft<ListState>, action: PayloadAction<number[]>) => void;
|
|
206
|
+
setSelectedRadioKey: (state: immer.WritableDraft<ListState>, action: any) => void;
|
|
207
|
+
setIndexRowTableModal: (state: immer.WritableDraft<ListState>, action: PayloadAction<number>) => void;
|
|
208
|
+
setTransferDetail: (state: immer.WritableDraft<ListState>, action: any) => void;
|
|
209
|
+
setIsUpdateTableModal: (state: immer.WritableDraft<ListState>, action: PayloadAction<boolean>) => void;
|
|
210
|
+
setPage: (state: immer.WritableDraft<ListState>, action: PayloadAction<number>) => void;
|
|
211
|
+
setDomainTable: (state: immer.WritableDraft<ListState>, action: PayloadAction<any[]>) => void;
|
|
212
|
+
}, "list", "list", _reduxjs_toolkit.SliceSelectors<ListState>>;
|
|
213
|
+
declare const setPageLimit: _reduxjs_toolkit.ActionCreatorWithPayload<number, "list/setPageLimit">;
|
|
214
|
+
declare const setFields: _reduxjs_toolkit.ActionCreatorWithPayload<Record<string, any>, "list/setFields">;
|
|
215
|
+
declare const setOrder: _reduxjs_toolkit.ActionCreatorWithPayload<string | null, "list/setOrder">;
|
|
216
|
+
declare const setSelectedRowKeys: _reduxjs_toolkit.ActionCreatorWithPayload<number[], "list/setSelectedRowKeys">;
|
|
217
|
+
declare const setIndexRowTableModal: _reduxjs_toolkit.ActionCreatorWithPayload<number, "list/setIndexRowTableModal">;
|
|
218
|
+
declare const setIsUpdateTableModal: _reduxjs_toolkit.ActionCreatorWithPayload<boolean, "list/setIsUpdateTableModal">;
|
|
219
|
+
declare const setPage: _reduxjs_toolkit.ActionCreatorWithPayload<number, "list/setPage">;
|
|
220
|
+
declare const setSelectedRadioKey: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"list/setSelectedRadioKey"> | _reduxjs_toolkit.ActionCreatorWithoutPayload<"list/setSelectedRadioKey">;
|
|
221
|
+
declare const setTransferDetail: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"list/setTransferDetail"> | _reduxjs_toolkit.ActionCreatorWithoutPayload<"list/setTransferDetail">;
|
|
222
|
+
declare const setDomainTable: _reduxjs_toolkit.ActionCreatorWithPayload<any[], "list/setDomainTable">;
|
|
223
|
+
declare const selectList: (state: RootState) => ListState;
|
|
224
|
+
|
|
225
|
+
interface NavbarStateType {
|
|
226
|
+
menuFocus: any;
|
|
227
|
+
menuAction: any;
|
|
228
|
+
navbarWidth: number;
|
|
229
|
+
menuList: any;
|
|
230
|
+
}
|
|
231
|
+
declare const navbarSlice: _reduxjs_toolkit.Slice<NavbarStateType, {
|
|
232
|
+
setMenuFocus: (state: immer.WritableDraft<NavbarStateType>, action: {
|
|
233
|
+
payload: any;
|
|
234
|
+
type: string;
|
|
235
|
+
}) => void;
|
|
236
|
+
setMenuFocusAction: (state: immer.WritableDraft<NavbarStateType>, action: {
|
|
237
|
+
payload: any;
|
|
238
|
+
type: string;
|
|
239
|
+
}) => void;
|
|
240
|
+
setNavbarWidth: (state: immer.WritableDraft<NavbarStateType>, action: {
|
|
241
|
+
payload: any;
|
|
242
|
+
type: string;
|
|
243
|
+
}) => void;
|
|
244
|
+
setMenuList: (state: immer.WritableDraft<NavbarStateType>, action: {
|
|
245
|
+
payload: any;
|
|
246
|
+
type: string;
|
|
247
|
+
}) => void;
|
|
248
|
+
}, "navbar", "navbar", _reduxjs_toolkit.SliceSelectors<NavbarStateType>>;
|
|
249
|
+
declare const setMenuFocus: _reduxjs_toolkit.ActionCreatorWithPayload<any, "navbar/setMenuFocus">;
|
|
250
|
+
declare const setMenuFocusAction: _reduxjs_toolkit.ActionCreatorWithPayload<any, "navbar/setMenuFocusAction">;
|
|
251
|
+
declare const setNavbarWidth: _reduxjs_toolkit.ActionCreatorWithPayload<any, "navbar/setNavbarWidth">;
|
|
252
|
+
declare const setMenuList: _reduxjs_toolkit.ActionCreatorWithPayload<any, "navbar/setMenuList">;
|
|
253
|
+
declare const selectNavbar: (state: RootState) => NavbarStateType;
|
|
254
|
+
|
|
8
255
|
declare const envStore: _reduxjs_toolkit.EnhancedStore<{
|
|
9
256
|
env: {
|
|
10
257
|
baseUrl: string;
|
|
@@ -77,23 +324,6 @@ declare const envStore: _reduxjs_toolkit.EnhancedStore<{
|
|
|
77
324
|
}, undefined, redux.UnknownAction>;
|
|
78
325
|
}>, redux.StoreEnhancer]>>;
|
|
79
326
|
|
|
80
|
-
interface Breadcrumb {
|
|
81
|
-
title?: string;
|
|
82
|
-
path?: string;
|
|
83
|
-
view: 'list' | 'detail' | 'edit' | 'tree';
|
|
84
|
-
aid: string | number;
|
|
85
|
-
model: string;
|
|
86
|
-
id: string | number;
|
|
87
|
-
}
|
|
88
|
-
interface BreadcrumbsState {
|
|
89
|
-
breadCrumbs: Breadcrumb[];
|
|
90
|
-
}
|
|
91
|
-
declare const breadcrumbsSlice: _reduxjs_toolkit.Slice<BreadcrumbsState, {
|
|
92
|
-
setBreadCrumbs: (state: BreadcrumbsState, action: PayloadAction<Breadcrumb>) => void;
|
|
93
|
-
}, "breadcrumbs", "breadcrumbs", _reduxjs_toolkit.SliceSelectors<BreadcrumbsState>>;
|
|
94
|
-
declare const setBreadCrumbs: _reduxjs_toolkit.ActionCreatorWithPayload<Breadcrumb, "breadcrumbs/setBreadCrumbs">;
|
|
95
|
-
declare const selectBreadCrumbs: (state: RootState) => BreadcrumbsState;
|
|
96
|
-
|
|
97
327
|
declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
98
328
|
baseUrl: string;
|
|
99
329
|
requests: null;
|
|
@@ -371,66 +601,6 @@ declare const selectEnv: (state: RootState) => {
|
|
|
371
601
|
};
|
|
372
602
|
};
|
|
373
603
|
|
|
374
|
-
interface ExcelState {
|
|
375
|
-
dataParse: any | null;
|
|
376
|
-
idFile: any | null;
|
|
377
|
-
isFileLoaded: boolean;
|
|
378
|
-
loadingImport: any;
|
|
379
|
-
selectedFile: any;
|
|
380
|
-
errorData: any;
|
|
381
|
-
}
|
|
382
|
-
declare const excelSlice: _reduxjs_toolkit.Slice<ExcelState, {
|
|
383
|
-
setDataParse: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
|
|
384
|
-
setIdFile: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
|
|
385
|
-
setIsFileLoaded: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
|
|
386
|
-
setLoadingImport: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
|
|
387
|
-
setSelectedFile: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
|
|
388
|
-
setErrorData: (state: immer.WritableDraft<ExcelState>, action: PayloadAction<any>) => void;
|
|
389
|
-
}, "excel", "excel", _reduxjs_toolkit.SliceSelectors<ExcelState>>;
|
|
390
|
-
declare const setDataParse: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setDataParse">;
|
|
391
|
-
declare const setIdFile: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setIdFile">;
|
|
392
|
-
declare const setIsFileLoaded: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setIsFileLoaded">;
|
|
393
|
-
declare const setLoadingImport: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setLoadingImport">;
|
|
394
|
-
declare const setSelectedFile: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setSelectedFile">;
|
|
395
|
-
declare const setErrorData: _reduxjs_toolkit.ActionCreatorWithPayload<any, "excel/setErrorData">;
|
|
396
|
-
declare const selectExcel: (state: RootState) => ExcelState;
|
|
397
|
-
|
|
398
|
-
interface ViewDataStore {
|
|
399
|
-
[key: string]: any;
|
|
400
|
-
}
|
|
401
|
-
interface FormState {
|
|
402
|
-
viewDataStore: ViewDataStore;
|
|
403
|
-
isShowingModalDetail: boolean;
|
|
404
|
-
isShowModalTranslate: boolean;
|
|
405
|
-
formSubmitComponent: Record<string, React.ReactNode>;
|
|
406
|
-
fieldTranslation: any;
|
|
407
|
-
listSubject: any;
|
|
408
|
-
dataUser: any;
|
|
409
|
-
}
|
|
410
|
-
declare const formSlice: _reduxjs_toolkit.Slice<FormState, {
|
|
411
|
-
setViewDataStore: (state: FormState, action: PayloadAction<ViewDataStore>) => void;
|
|
412
|
-
setIsShowingModalDetail: (state: FormState, action: PayloadAction<boolean>) => void;
|
|
413
|
-
setIsShowModalTranslate: (state: FormState, action: PayloadAction<boolean>) => void;
|
|
414
|
-
setFormSubmitComponent: (state: immer.WritableDraft<FormState>, action: PayloadAction<{
|
|
415
|
-
key: string;
|
|
416
|
-
component: any;
|
|
417
|
-
}>) => void;
|
|
418
|
-
setFieldTranslate: (state: FormState, action: PayloadAction<any>) => void;
|
|
419
|
-
setListSubject: (state: FormState, action: PayloadAction<any>) => void;
|
|
420
|
-
setDataUser: (state: FormState, action: PayloadAction<any>) => void;
|
|
421
|
-
}, "form", "form", _reduxjs_toolkit.SliceSelectors<FormState>>;
|
|
422
|
-
declare const setViewDataStore: _reduxjs_toolkit.ActionCreatorWithPayload<ViewDataStore, "form/setViewDataStore">;
|
|
423
|
-
declare const setIsShowingModalDetail: _reduxjs_toolkit.ActionCreatorWithPayload<boolean, "form/setIsShowingModalDetail">;
|
|
424
|
-
declare const setIsShowModalTranslate: _reduxjs_toolkit.ActionCreatorWithPayload<boolean, "form/setIsShowModalTranslate">;
|
|
425
|
-
declare const setFormSubmitComponent: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
426
|
-
key: string;
|
|
427
|
-
component: any;
|
|
428
|
-
}, "form/setFormSubmitComponent">;
|
|
429
|
-
declare const setFieldTranslate: _reduxjs_toolkit.ActionCreatorWithPayload<any, "form/setFieldTranslate">;
|
|
430
|
-
declare const setListSubject: _reduxjs_toolkit.ActionCreatorWithPayload<any, "form/setListSubject">;
|
|
431
|
-
declare const setDataUser: _reduxjs_toolkit.ActionCreatorWithPayload<any, "form/setDataUser">;
|
|
432
|
-
declare const selectForm: (state: RootState) => FormState;
|
|
433
|
-
|
|
434
604
|
declare const headerSlice: _reduxjs_toolkit.Slice<{
|
|
435
605
|
value: {
|
|
436
606
|
allowedCompanyIds: never[];
|
|
@@ -465,176 +635,6 @@ declare const selectHeader: (state: RootState) => {
|
|
|
465
635
|
};
|
|
466
636
|
};
|
|
467
637
|
|
|
468
|
-
interface ListState {
|
|
469
|
-
pageLimit: number;
|
|
470
|
-
fields: Record<string, any>;
|
|
471
|
-
order: string | null;
|
|
472
|
-
selectedRowKeys: number[];
|
|
473
|
-
selectedRadioKey: any;
|
|
474
|
-
indexRowTableModal: number;
|
|
475
|
-
isUpdateTableModal: boolean;
|
|
476
|
-
footerGroupTable: Record<string, any>;
|
|
477
|
-
page: number;
|
|
478
|
-
transferDetail?: any;
|
|
479
|
-
domainTable?: any;
|
|
480
|
-
}
|
|
481
|
-
declare const listSlice: _reduxjs_toolkit.Slice<ListState, {
|
|
482
|
-
setPageLimit: (state: immer.WritableDraft<ListState>, action: PayloadAction<number>) => void;
|
|
483
|
-
setFields: (state: immer.WritableDraft<ListState>, action: PayloadAction<Record<string, any>>) => void;
|
|
484
|
-
setOrder: (state: immer.WritableDraft<ListState>, action: PayloadAction<string | null>) => void;
|
|
485
|
-
setSelectedRowKeys: (state: immer.WritableDraft<ListState>, action: PayloadAction<number[]>) => void;
|
|
486
|
-
setSelectedRadioKey: (state: immer.WritableDraft<ListState>, action: any) => void;
|
|
487
|
-
setIndexRowTableModal: (state: immer.WritableDraft<ListState>, action: PayloadAction<number>) => void;
|
|
488
|
-
setTransferDetail: (state: immer.WritableDraft<ListState>, action: any) => void;
|
|
489
|
-
setIsUpdateTableModal: (state: immer.WritableDraft<ListState>, action: PayloadAction<boolean>) => void;
|
|
490
|
-
setPage: (state: immer.WritableDraft<ListState>, action: PayloadAction<number>) => void;
|
|
491
|
-
setDomainTable: (state: immer.WritableDraft<ListState>, action: PayloadAction<any[]>) => void;
|
|
492
|
-
}, "list", "list", _reduxjs_toolkit.SliceSelectors<ListState>>;
|
|
493
|
-
declare const setPageLimit: _reduxjs_toolkit.ActionCreatorWithPayload<number, "list/setPageLimit">;
|
|
494
|
-
declare const setFields: _reduxjs_toolkit.ActionCreatorWithPayload<Record<string, any>, "list/setFields">;
|
|
495
|
-
declare const setOrder: _reduxjs_toolkit.ActionCreatorWithPayload<string | null, "list/setOrder">;
|
|
496
|
-
declare const setSelectedRowKeys: _reduxjs_toolkit.ActionCreatorWithPayload<number[], "list/setSelectedRowKeys">;
|
|
497
|
-
declare const setIndexRowTableModal: _reduxjs_toolkit.ActionCreatorWithPayload<number, "list/setIndexRowTableModal">;
|
|
498
|
-
declare const setIsUpdateTableModal: _reduxjs_toolkit.ActionCreatorWithPayload<boolean, "list/setIsUpdateTableModal">;
|
|
499
|
-
declare const setPage: _reduxjs_toolkit.ActionCreatorWithPayload<number, "list/setPage">;
|
|
500
|
-
declare const setSelectedRadioKey: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"list/setSelectedRadioKey"> | _reduxjs_toolkit.ActionCreatorWithoutPayload<"list/setSelectedRadioKey">;
|
|
501
|
-
declare const setTransferDetail: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"list/setTransferDetail"> | _reduxjs_toolkit.ActionCreatorWithoutPayload<"list/setTransferDetail">;
|
|
502
|
-
declare const setDomainTable: _reduxjs_toolkit.ActionCreatorWithPayload<any[], "list/setDomainTable">;
|
|
503
|
-
declare const selectList: (state: RootState) => ListState;
|
|
504
|
-
|
|
505
|
-
interface LoginStateType {
|
|
506
|
-
db: string;
|
|
507
|
-
redirectTo: string;
|
|
508
|
-
forgotPasswordUrl: string;
|
|
509
|
-
}
|
|
510
|
-
declare const loginSlice: _reduxjs_toolkit.Slice<LoginStateType, {
|
|
511
|
-
setDb: (state: immer.WritableDraft<LoginStateType>, action: PayloadAction<string>) => void;
|
|
512
|
-
setRedirectTo: (state: immer.WritableDraft<LoginStateType>, action: PayloadAction<string>) => void;
|
|
513
|
-
setForgotPasswordUrl: (state: immer.WritableDraft<LoginStateType>, action: PayloadAction<string>) => void;
|
|
514
|
-
}, "login", "login", _reduxjs_toolkit.SliceSelectors<LoginStateType>>;
|
|
515
|
-
declare const setDb: _reduxjs_toolkit.ActionCreatorWithPayload<string, "login/setDb">;
|
|
516
|
-
declare const setRedirectTo: _reduxjs_toolkit.ActionCreatorWithPayload<string, "login/setRedirectTo">;
|
|
517
|
-
declare const setForgotPasswordUrl: _reduxjs_toolkit.ActionCreatorWithPayload<string, "login/setForgotPasswordUrl">;
|
|
518
|
-
declare const selectLogin: (state: RootState) => LoginStateType;
|
|
519
|
-
|
|
520
|
-
interface NavbarStateType {
|
|
521
|
-
menuFocus: any;
|
|
522
|
-
menuAction: any;
|
|
523
|
-
navbarWidth: number;
|
|
524
|
-
menuList: any;
|
|
525
|
-
}
|
|
526
|
-
declare const navbarSlice: _reduxjs_toolkit.Slice<NavbarStateType, {
|
|
527
|
-
setMenuFocus: (state: immer.WritableDraft<NavbarStateType>, action: {
|
|
528
|
-
payload: any;
|
|
529
|
-
type: string;
|
|
530
|
-
}) => void;
|
|
531
|
-
setMenuFocusAction: (state: immer.WritableDraft<NavbarStateType>, action: {
|
|
532
|
-
payload: any;
|
|
533
|
-
type: string;
|
|
534
|
-
}) => void;
|
|
535
|
-
setNavbarWidth: (state: immer.WritableDraft<NavbarStateType>, action: {
|
|
536
|
-
payload: any;
|
|
537
|
-
type: string;
|
|
538
|
-
}) => void;
|
|
539
|
-
setMenuList: (state: immer.WritableDraft<NavbarStateType>, action: {
|
|
540
|
-
payload: any;
|
|
541
|
-
type: string;
|
|
542
|
-
}) => void;
|
|
543
|
-
}, "navbar", "navbar", _reduxjs_toolkit.SliceSelectors<NavbarStateType>>;
|
|
544
|
-
declare const setMenuFocus: _reduxjs_toolkit.ActionCreatorWithPayload<any, "navbar/setMenuFocus">;
|
|
545
|
-
declare const setMenuFocusAction: _reduxjs_toolkit.ActionCreatorWithPayload<any, "navbar/setMenuFocusAction">;
|
|
546
|
-
declare const setNavbarWidth: _reduxjs_toolkit.ActionCreatorWithPayload<any, "navbar/setNavbarWidth">;
|
|
547
|
-
declare const setMenuList: _reduxjs_toolkit.ActionCreatorWithPayload<any, "navbar/setMenuList">;
|
|
548
|
-
declare const selectNavbar: (state: RootState) => NavbarStateType;
|
|
549
|
-
|
|
550
|
-
interface UserInfor {
|
|
551
|
-
address?: {
|
|
552
|
-
country?: boolean;
|
|
553
|
-
formatted?: string;
|
|
554
|
-
locality?: boolean;
|
|
555
|
-
postal_code?: boolean;
|
|
556
|
-
region?: boolean;
|
|
557
|
-
street_address?: boolean;
|
|
558
|
-
};
|
|
559
|
-
email?: string;
|
|
560
|
-
locale?: string;
|
|
561
|
-
name?: string;
|
|
562
|
-
partner_id?: {
|
|
563
|
-
id?: number;
|
|
564
|
-
stud_id?: boolean;
|
|
565
|
-
};
|
|
566
|
-
phone_number?: boolean;
|
|
567
|
-
sub?: number;
|
|
568
|
-
updated_at?: string;
|
|
569
|
-
username?: string;
|
|
570
|
-
website?: boolean;
|
|
571
|
-
zoneinfo?: string;
|
|
572
|
-
image?: string;
|
|
573
|
-
}
|
|
574
|
-
interface ProfileStateType {
|
|
575
|
-
profile: UserInfor;
|
|
576
|
-
}
|
|
577
|
-
declare const profileSlice: _reduxjs_toolkit.Slice<ProfileStateType, {
|
|
578
|
-
setProfile: (state: immer.WritableDraft<ProfileStateType>, action: {
|
|
579
|
-
payload: any;
|
|
580
|
-
type: string;
|
|
581
|
-
}) => void;
|
|
582
|
-
}, "profile", "profile", _reduxjs_toolkit.SliceSelectors<ProfileStateType>>;
|
|
583
|
-
declare const setProfile: _reduxjs_toolkit.ActionCreatorWithPayload<any, "profile/setProfile">;
|
|
584
|
-
declare const selectProfile: (state: RootState) => ProfileStateType;
|
|
585
|
-
|
|
586
|
-
interface SearchState {
|
|
587
|
-
groupByDomain: any;
|
|
588
|
-
searchBy: any;
|
|
589
|
-
searchString: string;
|
|
590
|
-
hoveredIndexSearchList: any;
|
|
591
|
-
selectedTags: [];
|
|
592
|
-
firstDomain: any;
|
|
593
|
-
searchMap: Record<string, any[]>;
|
|
594
|
-
filterBy: any;
|
|
595
|
-
groupBy: any;
|
|
596
|
-
}
|
|
597
|
-
declare const searchSlice: _reduxjs_toolkit.Slice<SearchState, {
|
|
598
|
-
setGroupByDomain: (state: immer.WritableDraft<SearchState>, action: PayloadAction<string | null>) => void;
|
|
599
|
-
setSearchBy: (state: immer.WritableDraft<SearchState>, action: any) => void;
|
|
600
|
-
setSearchString: (state: immer.WritableDraft<SearchState>, action: PayloadAction<string>) => void;
|
|
601
|
-
setHoveredIndexSearchList: (state: immer.WritableDraft<SearchState>, action: PayloadAction<number | null>) => void;
|
|
602
|
-
setSelectedTags: (state: immer.WritableDraft<SearchState>, action: PayloadAction<any>) => void;
|
|
603
|
-
setFirstDomain: (state: immer.WritableDraft<SearchState>, action: PayloadAction<any>) => void;
|
|
604
|
-
setFilterBy: (state: immer.WritableDraft<SearchState>, action: PayloadAction<any>) => void;
|
|
605
|
-
setGroupBy: (state: immer.WritableDraft<SearchState>, action: PayloadAction<any>) => void;
|
|
606
|
-
setSearchMap: (state: immer.WritableDraft<SearchState>, action: PayloadAction<Record<string, any>>) => void;
|
|
607
|
-
updateSearchMap: (state: immer.WritableDraft<SearchState>, action: PayloadAction<{
|
|
608
|
-
key: string;
|
|
609
|
-
value: any;
|
|
610
|
-
}>) => void;
|
|
611
|
-
removeKeyFromSearchMap: (state: immer.WritableDraft<SearchState>, action: PayloadAction<{
|
|
612
|
-
key: string;
|
|
613
|
-
item?: any;
|
|
614
|
-
}>) => void;
|
|
615
|
-
clearSearchMap: (state: immer.WritableDraft<SearchState>) => void;
|
|
616
|
-
}, "search", "search", _reduxjs_toolkit.SliceSelectors<SearchState>>;
|
|
617
|
-
declare const setGroupByDomain: _reduxjs_toolkit.ActionCreatorWithPayload<string | null, "search/setGroupByDomain">;
|
|
618
|
-
declare const setSelectedTags: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setSelectedTags">;
|
|
619
|
-
declare const setSearchString: _reduxjs_toolkit.ActionCreatorWithPayload<string, "search/setSearchString">;
|
|
620
|
-
declare const setHoveredIndexSearchList: _reduxjs_toolkit.ActionCreatorWithPayload<number | null, "search/setHoveredIndexSearchList">;
|
|
621
|
-
declare const setFirstDomain: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setFirstDomain">;
|
|
622
|
-
declare const setSearchBy: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"search/setSearchBy"> | _reduxjs_toolkit.ActionCreatorWithoutPayload<"search/setSearchBy">;
|
|
623
|
-
declare const setFilterBy: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setFilterBy">;
|
|
624
|
-
declare const setSearchMap: _reduxjs_toolkit.ActionCreatorWithPayload<Record<string, any>, "search/setSearchMap">;
|
|
625
|
-
declare const updateSearchMap: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
626
|
-
key: string;
|
|
627
|
-
value: any;
|
|
628
|
-
}, "search/updateSearchMap">;
|
|
629
|
-
declare const removeKeyFromSearchMap: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
630
|
-
key: string;
|
|
631
|
-
item?: any;
|
|
632
|
-
}, "search/removeKeyFromSearchMap">;
|
|
633
|
-
declare const setGroupBy: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setGroupBy">;
|
|
634
|
-
declare const clearSearchMap: _reduxjs_toolkit.ActionCreatorWithoutPayload<"search/clearSearchMap">;
|
|
635
|
-
declare const selectSearch: (state: RootState) => SearchState;
|
|
636
|
-
declare const selectSearchMap: (state: RootState) => Record<string, any[]>;
|
|
637
|
-
|
|
638
638
|
type RootState = ReturnType<typeof envStore.getState>;
|
|
639
639
|
type AppDispatch = typeof envStore.dispatch;
|
|
640
640
|
declare const useAppDispatch: () => AppDispatch;
|