@fctc/edu-logic-lib 1.0.6 → 1.0.8

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.
Files changed (79) hide show
  1. package/dist/base-model-type-DvO53Lwi.d.mts +7 -0
  2. package/dist/base-model-type-DvO53Lwi.d.ts +7 -0
  3. package/dist/chunk-4K3QAEZ6.js +90 -0
  4. package/dist/chunk-6BLY7NZ6.mjs +120 -0
  5. package/dist/chunk-6QXB3XX7.mjs +256 -0
  6. package/dist/chunk-7JD5GMIZ.js +2 -0
  7. package/dist/chunk-AYUH66EE.mjs +62 -0
  8. package/dist/chunk-CZHZLKNA.mjs +585 -0
  9. package/dist/chunk-EK43MEN4.js +635 -0
  10. package/dist/chunk-ELARQVCE.mjs +2344 -0
  11. package/dist/chunk-FVGPSTJ7.js +122 -0
  12. package/dist/chunk-GGOFXFSX.js +2362 -0
  13. package/dist/chunk-IXDDYGKE.js +61 -0
  14. package/dist/chunk-MLJQPO4Q.mjs +57 -0
  15. package/dist/chunk-OADBRQ4A.js +32 -0
  16. package/dist/chunk-OBR6UTC5.mjs +1 -0
  17. package/dist/chunk-OFUXC2LA.mjs +86 -0
  18. package/dist/chunk-P2IGWJDZ.js +1068 -0
  19. package/dist/chunk-QLUONJPQ.mjs +519 -0
  20. package/dist/chunk-RWRHCIQI.mjs +1059 -0
  21. package/dist/chunk-RZBHZYXG.js +582 -0
  22. package/dist/chunk-S7B3VKMJ.mjs +85 -0
  23. package/dist/chunk-S7YF2I23.js +95 -0
  24. package/dist/chunk-UY6GNZNB.js +262 -0
  25. package/dist/chunk-XYVK476U.mjs +29 -0
  26. package/dist/chunk-YOV6KAT2.js +66 -0
  27. package/dist/config.d.mts +15 -0
  28. package/dist/config.d.ts +15 -0
  29. package/dist/config.js +11 -0
  30. package/dist/config.mjs +2 -0
  31. package/dist/constants.d.mts +120 -0
  32. package/dist/constants.d.ts +120 -0
  33. package/dist/constants.js +55 -0
  34. package/dist/constants.mjs +2 -0
  35. package/dist/context-type-D5XefoL-.d.mts +8 -0
  36. package/dist/context-type-D5XefoL-.d.ts +8 -0
  37. package/dist/environment.d.mts +37 -0
  38. package/dist/environment.d.ts +37 -0
  39. package/dist/environment.js +25 -0
  40. package/dist/environment.mjs +4 -0
  41. package/dist/hooks.d.mts +218 -0
  42. package/dist/hooks.d.ts +218 -0
  43. package/dist/hooks.js +194 -0
  44. package/dist/hooks.mjs +9 -0
  45. package/dist/index-C_nK1Mii.d.mts +19 -0
  46. package/dist/index-C_nK1Mii.d.ts +19 -0
  47. package/dist/index.d.mts +23 -1294
  48. package/dist/index.d.ts +23 -1294
  49. package/dist/index.js +626 -5320
  50. package/dist/index.mjs +12 -5165
  51. package/dist/models.d.mts +35 -0
  52. package/dist/models.d.ts +35 -0
  53. package/dist/models.js +26 -0
  54. package/dist/models.mjs +9 -0
  55. package/dist/provider.d.mts +16 -0
  56. package/dist/provider.d.ts +16 -0
  57. package/dist/provider.js +25 -0
  58. package/dist/provider.mjs +8 -0
  59. package/dist/services.d.mts +160 -0
  60. package/dist/services.d.ts +160 -0
  61. package/dist/services.js +44 -0
  62. package/dist/services.mjs +7 -0
  63. package/dist/store.d.mts +505 -0
  64. package/dist/store.d.ts +505 -0
  65. package/dist/store.js +254 -0
  66. package/dist/store.mjs +1 -0
  67. package/dist/types.d.mts +12 -0
  68. package/dist/types.d.ts +12 -0
  69. package/dist/types.js +4 -0
  70. package/dist/types.mjs +1 -0
  71. package/dist/use-get-selection-DFh6sc49.d.mts +26 -0
  72. package/dist/use-get-selection-DFh6sc49.d.ts +26 -0
  73. package/dist/utils.d.mts +52 -0
  74. package/dist/utils.d.ts +52 -0
  75. package/dist/utils.js +66 -0
  76. package/dist/utils.mjs +1 -0
  77. package/dist/view-type-BTzRpkT7.d.mts +106 -0
  78. package/dist/view-type-BTzRpkT7.d.ts +106 -0
  79. package/package.json +68 -31
@@ -0,0 +1,505 @@
1
+ import { TypedUseSelectorHook } from 'react-redux';
2
+ import * as _reduxjs_toolkit from '@reduxjs/toolkit';
3
+ import { PayloadAction } from '@reduxjs/toolkit';
4
+ import * as redux_thunk from 'redux-thunk';
5
+ import * as redux from 'redux';
6
+ import * as immer from 'immer';
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 ViewDataStore {
69
+ [key: string]: any;
70
+ }
71
+ interface FormState {
72
+ viewDataStore: ViewDataStore;
73
+ isShowingModalDetail: boolean;
74
+ isShowModalTranslate: boolean;
75
+ formSubmitComponent: Record<string, React.ReactNode>;
76
+ fieldTranslation: any;
77
+ listSubject: any;
78
+ dataUser: any;
79
+ }
80
+ declare const formSlice: _reduxjs_toolkit.Slice<FormState, {
81
+ setViewDataStore: (state: FormState, action: PayloadAction<ViewDataStore>) => void;
82
+ setIsShowingModalDetail: (state: FormState, action: PayloadAction<boolean>) => void;
83
+ setIsShowModalTranslate: (state: FormState, action: PayloadAction<boolean>) => void;
84
+ setFormSubmitComponent: (state: immer.WritableDraft<FormState>, action: PayloadAction<{
85
+ key: string;
86
+ component: any;
87
+ }>) => void;
88
+ setFieldTranslate: (state: FormState, action: PayloadAction<any>) => void;
89
+ setListSubject: (state: FormState, action: PayloadAction<any>) => void;
90
+ setDataUser: (state: FormState, action: PayloadAction<any>) => void;
91
+ }, "form", "form", _reduxjs_toolkit.SliceSelectors<FormState>>;
92
+ declare const setViewDataStore: _reduxjs_toolkit.ActionCreatorWithPayload<ViewDataStore, "form/setViewDataStore">;
93
+ declare const setIsShowingModalDetail: _reduxjs_toolkit.ActionCreatorWithPayload<boolean, "form/setIsShowingModalDetail">;
94
+ declare const setIsShowModalTranslate: _reduxjs_toolkit.ActionCreatorWithPayload<boolean, "form/setIsShowModalTranslate">;
95
+ declare const setFormSubmitComponent: _reduxjs_toolkit.ActionCreatorWithPayload<{
96
+ key: string;
97
+ component: any;
98
+ }, "form/setFormSubmitComponent">;
99
+ declare const setFieldTranslate: _reduxjs_toolkit.ActionCreatorWithPayload<any, "form/setFieldTranslate">;
100
+ declare const setListSubject: _reduxjs_toolkit.ActionCreatorWithPayload<any, "form/setListSubject">;
101
+ declare const setDataUser: _reduxjs_toolkit.ActionCreatorWithPayload<any, "form/setDataUser">;
102
+ declare const selectForm: (state: RootState) => FormState;
103
+
104
+ interface SearchState {
105
+ groupByDomain: any;
106
+ tableHead: any;
107
+ searchString: string;
108
+ hoveredIndexSearchList: any;
109
+ selectedTags: [];
110
+ firstDomain: any;
111
+ searchMap: Record<string, any[]>;
112
+ typeFieldsSearch: string;
113
+ modelSearch: string;
114
+ filterBy: any;
115
+ groupBy: any;
116
+ }
117
+ declare const searchSlice: _reduxjs_toolkit.Slice<SearchState, {
118
+ setGroupByDomain: (state: immer.WritableDraft<SearchState>, action: PayloadAction<string | null>) => void;
119
+ setTableHead: (state: immer.WritableDraft<SearchState>, action: any) => void;
120
+ setSearchString: (state: immer.WritableDraft<SearchState>, action: PayloadAction<string>) => void;
121
+ setHoveredIndexSearchList: (state: immer.WritableDraft<SearchState>, action: PayloadAction<number | null>) => void;
122
+ setSelectedTags: (state: immer.WritableDraft<SearchState>, action: PayloadAction<any>) => void;
123
+ setFirstDomain: (state: immer.WritableDraft<SearchState>, action: PayloadAction<any>) => void;
124
+ setTypeFieldsSearch: (state: immer.WritableDraft<SearchState>, action: PayloadAction<any>) => void;
125
+ setModelSearch: (state: immer.WritableDraft<SearchState>, action: PayloadAction<string>) => void;
126
+ setFilterBy: (state: immer.WritableDraft<SearchState>, action: PayloadAction<any>) => void;
127
+ setGroupBy: (state: immer.WritableDraft<SearchState>, action: PayloadAction<any>) => void;
128
+ setSearchMap: (state: immer.WritableDraft<SearchState>, action: PayloadAction<Record<string, any>>) => void;
129
+ updateSearchMap: (state: immer.WritableDraft<SearchState>, action: PayloadAction<{
130
+ key: string;
131
+ value: any;
132
+ }>) => void;
133
+ removeKeyFromSearchMap: (state: immer.WritableDraft<SearchState>, action: PayloadAction<{
134
+ key: string;
135
+ item?: any;
136
+ }>) => void;
137
+ clearSearchMap: (state: immer.WritableDraft<SearchState>) => void;
138
+ }, "search", "search", _reduxjs_toolkit.SliceSelectors<SearchState>>;
139
+ declare const setGroupByDomain: _reduxjs_toolkit.ActionCreatorWithPayload<string | null, "search/setGroupByDomain">;
140
+ declare const setSelectedTags: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setSelectedTags">;
141
+ declare const setSearchString: _reduxjs_toolkit.ActionCreatorWithPayload<string, "search/setSearchString">;
142
+ declare const setHoveredIndexSearchList: _reduxjs_toolkit.ActionCreatorWithPayload<number | null, "search/setHoveredIndexSearchList">;
143
+ declare const setFirstDomain: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setFirstDomain">;
144
+ declare const setTableHead: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"search/setTableHead"> | _reduxjs_toolkit.ActionCreatorWithoutPayload<"search/setTableHead">;
145
+ declare const setFilterBy: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setFilterBy">;
146
+ declare const setTypeFieldsSearch: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setTypeFieldsSearch">;
147
+ declare const setModelSearch: _reduxjs_toolkit.ActionCreatorWithPayload<string, "search/setModelSearch">;
148
+ declare const setSearchMap: _reduxjs_toolkit.ActionCreatorWithPayload<Record<string, any>, "search/setSearchMap">;
149
+ declare const updateSearchMap: _reduxjs_toolkit.ActionCreatorWithPayload<{
150
+ key: string;
151
+ value: any;
152
+ }, "search/updateSearchMap">;
153
+ declare const removeKeyFromSearchMap: _reduxjs_toolkit.ActionCreatorWithPayload<{
154
+ key: string;
155
+ item?: any;
156
+ }, "search/removeKeyFromSearchMap">;
157
+ declare const setGroupBy: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setGroupBy">;
158
+ declare const clearSearchMap: _reduxjs_toolkit.ActionCreatorWithoutPayload<"search/clearSearchMap">;
159
+ declare const selectSearch: (state: RootState) => SearchState;
160
+ declare const selectSearchMap: (state: RootState) => Record<string, any[]>;
161
+
162
+ interface ListState {
163
+ pageLimit: number;
164
+ fields: Record<string, any>;
165
+ order: string | null;
166
+ selectedRowKeys: number[];
167
+ indexRowTableModal: number;
168
+ footerGroupTable: Record<string, any>;
169
+ page: number;
170
+ domainTable?: any;
171
+ }
172
+ declare const listSlice: _reduxjs_toolkit.Slice<ListState, {
173
+ setPageLimit: (state: immer.WritableDraft<ListState>, action: PayloadAction<number>) => void;
174
+ setFields: (state: immer.WritableDraft<ListState>, action: PayloadAction<Record<string, any>>) => void;
175
+ setOrder: (state: immer.WritableDraft<ListState>, action: PayloadAction<string | null>) => void;
176
+ setSelectedRowKeys: (state: immer.WritableDraft<ListState>, action: PayloadAction<number[]>) => void;
177
+ setIndexRowTableModal: (state: immer.WritableDraft<ListState>, action: PayloadAction<number>) => void;
178
+ setPage: (state: immer.WritableDraft<ListState>, action: PayloadAction<number>) => void;
179
+ setDomainTable: (state: immer.WritableDraft<ListState>, action: PayloadAction<any[]>) => void;
180
+ }, "list", "list", _reduxjs_toolkit.SliceSelectors<ListState>>;
181
+ declare const setPageLimit: _reduxjs_toolkit.ActionCreatorWithPayload<number, "list/setPageLimit">;
182
+ declare const setFields: _reduxjs_toolkit.ActionCreatorWithPayload<Record<string, any>, "list/setFields">;
183
+ declare const setOrder: _reduxjs_toolkit.ActionCreatorWithPayload<string | null, "list/setOrder">;
184
+ declare const setSelectedRowKeys: _reduxjs_toolkit.ActionCreatorWithPayload<number[], "list/setSelectedRowKeys">;
185
+ declare const setIndexRowTableModal: _reduxjs_toolkit.ActionCreatorWithPayload<number, "list/setIndexRowTableModal">;
186
+ declare const setPage: _reduxjs_toolkit.ActionCreatorWithPayload<number, "list/setPage">;
187
+ declare const setDomainTable: _reduxjs_toolkit.ActionCreatorWithPayload<any[], "list/setDomainTable">;
188
+ declare const selectList: (state: RootState) => ListState;
189
+
190
+ interface NavbarStateType {
191
+ menuList: any;
192
+ }
193
+ declare const navbarSlice: _reduxjs_toolkit.Slice<NavbarStateType, {
194
+ setMenuList: (state: immer.WritableDraft<NavbarStateType>, action: {
195
+ payload: any;
196
+ type: string;
197
+ }) => void;
198
+ }, "navbar", "navbar", _reduxjs_toolkit.SliceSelectors<NavbarStateType>>;
199
+ declare const setMenuList: _reduxjs_toolkit.ActionCreatorWithPayload<any, "navbar/setMenuList">;
200
+ declare const selectNavbar: (state: RootState) => NavbarStateType;
201
+
202
+ declare const envStore: _reduxjs_toolkit.EnhancedStore<{
203
+ env: {
204
+ baseUrl: string;
205
+ requests: null;
206
+ companies: never[];
207
+ user: {};
208
+ envFile: null;
209
+ defaultCompany: {
210
+ id: null;
211
+ logo: string;
212
+ secondary_color: string;
213
+ primary_color: string;
214
+ };
215
+ context: {
216
+ uid: null;
217
+ allowed_company_ids: never[];
218
+ lang: string;
219
+ tz: string;
220
+ };
221
+ };
222
+ navbar: NavbarStateType;
223
+ list: ListState;
224
+ search: SearchState;
225
+ form: FormState;
226
+ excel: ExcelState;
227
+ profile: ProfileStateType;
228
+ }, redux.UnknownAction, _reduxjs_toolkit.Tuple<[redux.StoreEnhancer<{
229
+ dispatch: redux_thunk.ThunkDispatch<{
230
+ env: {
231
+ baseUrl: string;
232
+ requests: null;
233
+ companies: never[];
234
+ user: {};
235
+ envFile: null;
236
+ defaultCompany: {
237
+ id: null;
238
+ logo: string;
239
+ secondary_color: string;
240
+ primary_color: string;
241
+ };
242
+ context: {
243
+ uid: null;
244
+ allowed_company_ids: never[];
245
+ lang: string;
246
+ tz: string;
247
+ };
248
+ };
249
+ navbar: NavbarStateType;
250
+ list: ListState;
251
+ search: SearchState;
252
+ form: FormState;
253
+ excel: ExcelState;
254
+ profile: ProfileStateType;
255
+ }, undefined, redux.UnknownAction>;
256
+ }>, redux.StoreEnhancer]>>;
257
+
258
+ declare const envSlice: _reduxjs_toolkit.Slice<{
259
+ baseUrl: string;
260
+ requests: null;
261
+ companies: never[];
262
+ user: {};
263
+ envFile: null;
264
+ defaultCompany: {
265
+ id: null;
266
+ logo: string;
267
+ secondary_color: string;
268
+ primary_color: string;
269
+ };
270
+ context: {
271
+ uid: null;
272
+ allowed_company_ids: never[];
273
+ lang: string;
274
+ tz: string;
275
+ };
276
+ }, {
277
+ setEnv: (state: immer.WritableDraft<{
278
+ baseUrl: string;
279
+ requests: null;
280
+ companies: never[];
281
+ user: {};
282
+ envFile: null;
283
+ defaultCompany: {
284
+ id: null;
285
+ logo: string;
286
+ secondary_color: string;
287
+ primary_color: string;
288
+ };
289
+ context: {
290
+ uid: null;
291
+ allowed_company_ids: never[];
292
+ lang: string;
293
+ tz: string;
294
+ };
295
+ }>, action: {
296
+ payload: any;
297
+ type: string;
298
+ }) => void;
299
+ setUid: (state: immer.WritableDraft<{
300
+ baseUrl: string;
301
+ requests: null;
302
+ companies: never[];
303
+ user: {};
304
+ envFile: null;
305
+ defaultCompany: {
306
+ id: null;
307
+ logo: string;
308
+ secondary_color: string;
309
+ primary_color: string;
310
+ };
311
+ context: {
312
+ uid: null;
313
+ allowed_company_ids: never[];
314
+ lang: string;
315
+ tz: string;
316
+ };
317
+ }>, action: {
318
+ payload: any;
319
+ type: string;
320
+ }) => void;
321
+ setAllowCompanies: (state: immer.WritableDraft<{
322
+ baseUrl: string;
323
+ requests: null;
324
+ companies: never[];
325
+ user: {};
326
+ envFile: null;
327
+ defaultCompany: {
328
+ id: null;
329
+ logo: string;
330
+ secondary_color: string;
331
+ primary_color: string;
332
+ };
333
+ context: {
334
+ uid: null;
335
+ allowed_company_ids: never[];
336
+ lang: string;
337
+ tz: string;
338
+ };
339
+ }>, action: {
340
+ payload: any;
341
+ type: string;
342
+ }) => void;
343
+ setCompanies: (state: immer.WritableDraft<{
344
+ baseUrl: string;
345
+ requests: null;
346
+ companies: never[];
347
+ user: {};
348
+ envFile: null;
349
+ defaultCompany: {
350
+ id: null;
351
+ logo: string;
352
+ secondary_color: string;
353
+ primary_color: string;
354
+ };
355
+ context: {
356
+ uid: null;
357
+ allowed_company_ids: never[];
358
+ lang: string;
359
+ tz: string;
360
+ };
361
+ }>, action: {
362
+ payload: any;
363
+ type: string;
364
+ }) => void;
365
+ setDefaultCompany: (state: immer.WritableDraft<{
366
+ baseUrl: string;
367
+ requests: null;
368
+ companies: never[];
369
+ user: {};
370
+ envFile: null;
371
+ defaultCompany: {
372
+ id: null;
373
+ logo: string;
374
+ secondary_color: string;
375
+ primary_color: string;
376
+ };
377
+ context: {
378
+ uid: null;
379
+ allowed_company_ids: never[];
380
+ lang: string;
381
+ tz: string;
382
+ };
383
+ }>, action: {
384
+ payload: any;
385
+ type: string;
386
+ }) => void;
387
+ setLang: (state: immer.WritableDraft<{
388
+ baseUrl: string;
389
+ requests: null;
390
+ companies: never[];
391
+ user: {};
392
+ envFile: null;
393
+ defaultCompany: {
394
+ id: null;
395
+ logo: string;
396
+ secondary_color: string;
397
+ primary_color: string;
398
+ };
399
+ context: {
400
+ uid: null;
401
+ allowed_company_ids: never[];
402
+ lang: string;
403
+ tz: string;
404
+ };
405
+ }>, action: {
406
+ payload: any;
407
+ type: string;
408
+ }) => void;
409
+ setUser: (state: immer.WritableDraft<{
410
+ baseUrl: string;
411
+ requests: null;
412
+ companies: never[];
413
+ user: {};
414
+ envFile: null;
415
+ defaultCompany: {
416
+ id: null;
417
+ logo: string;
418
+ secondary_color: string;
419
+ primary_color: string;
420
+ };
421
+ context: {
422
+ uid: null;
423
+ allowed_company_ids: never[];
424
+ lang: string;
425
+ tz: string;
426
+ };
427
+ }>, action: {
428
+ payload: any;
429
+ type: string;
430
+ }) => void;
431
+ setEnvFile: (state: immer.WritableDraft<{
432
+ baseUrl: string;
433
+ requests: null;
434
+ companies: never[];
435
+ user: {};
436
+ envFile: null;
437
+ defaultCompany: {
438
+ id: null;
439
+ logo: string;
440
+ secondary_color: string;
441
+ primary_color: string;
442
+ };
443
+ context: {
444
+ uid: null;
445
+ allowed_company_ids: never[];
446
+ lang: string;
447
+ tz: string;
448
+ };
449
+ }>, action: {
450
+ payload: any;
451
+ type: string;
452
+ }) => void;
453
+ }, "env", "env", _reduxjs_toolkit.SliceSelectors<{
454
+ baseUrl: string;
455
+ requests: null;
456
+ companies: never[];
457
+ user: {};
458
+ envFile: null;
459
+ defaultCompany: {
460
+ id: null;
461
+ logo: string;
462
+ secondary_color: string;
463
+ primary_color: string;
464
+ };
465
+ context: {
466
+ uid: null;
467
+ allowed_company_ids: never[];
468
+ lang: string;
469
+ tz: string;
470
+ };
471
+ }>>;
472
+ declare const setEnv: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setEnv">;
473
+ declare const setUid: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setUid">;
474
+ declare const setLang: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setLang">;
475
+ declare const setAllowCompanies: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setAllowCompanies">;
476
+ declare const setCompanies: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setCompanies">;
477
+ declare const setDefaultCompany: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setDefaultCompany">;
478
+ declare const setUser: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setUser">;
479
+ declare const setEnvFile: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setEnvFile">;
480
+ declare const selectEnv: (state: RootState) => {
481
+ baseUrl: string;
482
+ requests: null;
483
+ companies: never[];
484
+ user: {};
485
+ envFile: null;
486
+ defaultCompany: {
487
+ id: null;
488
+ logo: string;
489
+ secondary_color: string;
490
+ primary_color: string;
491
+ };
492
+ context: {
493
+ uid: null;
494
+ allowed_company_ids: never[];
495
+ lang: string;
496
+ tz: string;
497
+ };
498
+ };
499
+
500
+ type RootState = ReturnType<typeof envStore.getState>;
501
+ type AppDispatch = typeof envStore.dispatch;
502
+ declare const useAppDispatch: () => AppDispatch;
503
+ declare const useAppSelector: TypedUseSelectorHook<RootState>;
504
+
505
+ export { type AppDispatch, type RootState, clearSearchMap, envSlice, envStore, excelSlice, formSlice, listSlice, navbarSlice, profileSlice, removeKeyFromSearchMap, searchSlice, selectEnv, selectExcel, selectForm, selectList, selectNavbar, selectProfile, selectSearch, selectSearchMap, setAllowCompanies, setCompanies, setDataParse, setDataUser, setDefaultCompany, setDomainTable, setEnv, setEnvFile, setErrorData, setFieldTranslate, setFields, setFilterBy, setFirstDomain, setFormSubmitComponent, setGroupBy, setGroupByDomain, setHoveredIndexSearchList, setIdFile, setIndexRowTableModal, setIsFileLoaded, setIsShowModalTranslate, setIsShowingModalDetail, setLang, setListSubject, setLoadingImport, setMenuList, setModelSearch, setOrder, setPage, setPageLimit, setProfile, setSearchMap, setSearchString, setSelectedFile, setSelectedRowKeys, setSelectedTags, setTableHead, setTypeFieldsSearch, setUid, setUser, setViewDataStore, updateSearchMap, useAppDispatch, useAppSelector };