@fctc/interface-logic 1.7.2 → 1.7.4
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/{configs.d.cts → configs.d.mts} +1 -4
- package/dist/configs.d.ts +1 -4
- package/dist/configs.js +146 -124
- package/dist/{configs.cjs → configs.mjs} +111 -161
- package/dist/constants.js +41 -2
- package/dist/{constants.cjs → constants.mjs} +2 -40
- package/dist/environment.d.mts +37 -0
- package/dist/environment.d.ts +35 -54
- package/dist/environment.js +2850 -2906
- package/dist/{environment.cjs → environment.mjs} +2816 -2945
- package/dist/{hooks.d.cts → hooks.d.mts} +7 -2
- package/dist/hooks.d.ts +7 -2
- package/dist/hooks.js +4181 -4520
- package/dist/{hooks.cjs → hooks.mjs} +4081 -4625
- package/dist/{provider.d.cts → provider.d.mts} +1 -1
- package/dist/provider.d.ts +1 -1
- package/dist/provider.js +530 -854
- package/dist/{provider.cjs → provider.mjs} +496 -894
- package/dist/{services.d.cts → services.d.mts} +2 -1
- package/dist/services.d.ts +2 -1
- package/dist/services.js +3866 -4282
- package/dist/{services.cjs → services.mjs} +3826 -4328
- package/dist/{store.d.cts → store.d.mts} +323 -127
- package/dist/store.d.ts +323 -127
- package/dist/store.js +147 -45
- package/dist/{store.cjs → store.mjs} +46 -150
- package/dist/{types.d.cts → types.d.mts} +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.js +18 -0
- package/dist/types.mjs +0 -0
- package/dist/{utils.d.cts → utils.d.mts} +2 -2
- package/dist/utils.d.ts +2 -2
- package/dist/utils.js +176 -135
- package/dist/{utils.cjs → utils.mjs} +115 -202
- package/dist/{view-type-BGJfDe73.d.ts → view-type-D8ukwj_2.d.mts} +1 -1
- package/dist/{view-type-BGJfDe73.d.cts → view-type-D8ukwj_2.d.ts} +1 -1
- package/package.json +81 -82
- package/dist/environment.d.cts +0 -56
- package/dist/types.cjs +0 -17
- /package/dist/{constants.d.cts → constants.d.mts} +0 -0
package/dist/store.d.ts
CHANGED
|
@@ -75,9 +75,9 @@ declare const loginSlice: _reduxjs_toolkit.Slice<LoginStateType, {
|
|
|
75
75
|
setRedirectTo: (state: immer.WritableDraft<LoginStateType>, action: PayloadAction<string>) => void;
|
|
76
76
|
setForgotPasswordUrl: (state: immer.WritableDraft<LoginStateType>, action: PayloadAction<string>) => void;
|
|
77
77
|
}, "login", "login", _reduxjs_toolkit.SliceSelectors<LoginStateType>>;
|
|
78
|
-
declare const setDb: _reduxjs_toolkit.
|
|
79
|
-
declare const setRedirectTo: _reduxjs_toolkit.
|
|
80
|
-
declare const setForgotPasswordUrl: _reduxjs_toolkit.
|
|
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
81
|
declare const selectLogin: (state: RootState) => LoginStateType;
|
|
82
82
|
|
|
83
83
|
interface Breadcrumb {
|
|
@@ -94,7 +94,7 @@ interface BreadcrumbsState {
|
|
|
94
94
|
declare const breadcrumbsSlice: _reduxjs_toolkit.Slice<BreadcrumbsState, {
|
|
95
95
|
setBreadCrumbs: (state: BreadcrumbsState, action: PayloadAction<Breadcrumb>) => void;
|
|
96
96
|
}, "breadcrumbs", "breadcrumbs", _reduxjs_toolkit.SliceSelectors<BreadcrumbsState>>;
|
|
97
|
-
declare const setBreadCrumbs: _reduxjs_toolkit.
|
|
97
|
+
declare const setBreadCrumbs: _reduxjs_toolkit.ActionCreatorWithPayload<Breadcrumb, "breadcrumbs/setBreadCrumbs">;
|
|
98
98
|
declare const selectBreadCrumbs: (state: RootState) => BreadcrumbsState;
|
|
99
99
|
|
|
100
100
|
interface ViewDataStore {
|
|
@@ -121,10 +121,10 @@ declare const formSlice: _reduxjs_toolkit.Slice<FormState, {
|
|
|
121
121
|
setListSubject: (state: FormState, action: PayloadAction<any>) => void;
|
|
122
122
|
setDataUser: (state: FormState, action: PayloadAction<any>) => void;
|
|
123
123
|
}, "form", "form", _reduxjs_toolkit.SliceSelectors<FormState>>;
|
|
124
|
-
declare const setViewDataStore: _reduxjs_toolkit.
|
|
125
|
-
declare const setIsShowingModalDetail: _reduxjs_toolkit.
|
|
126
|
-
declare const setIsShowModalTranslate: _reduxjs_toolkit.
|
|
127
|
-
declare const setFormSubmitComponent: _reduxjs_toolkit.
|
|
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
128
|
key: string;
|
|
129
129
|
component: any;
|
|
130
130
|
}, "form/setFormSubmitComponent">;
|
|
@@ -164,19 +164,19 @@ declare const searchSlice: _reduxjs_toolkit.Slice<SearchState, {
|
|
|
164
164
|
}>) => void;
|
|
165
165
|
clearSearchMap: (state: immer.WritableDraft<SearchState>) => void;
|
|
166
166
|
}, "search", "search", _reduxjs_toolkit.SliceSelectors<SearchState>>;
|
|
167
|
-
declare const setGroupByDomain: _reduxjs_toolkit.
|
|
167
|
+
declare const setGroupByDomain: _reduxjs_toolkit.ActionCreatorWithPayload<string | null, "search/setGroupByDomain">;
|
|
168
168
|
declare const setSelectedTags: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setSelectedTags">;
|
|
169
|
-
declare const setSearchString: _reduxjs_toolkit.
|
|
170
|
-
declare const setHoveredIndexSearchList: _reduxjs_toolkit.
|
|
169
|
+
declare const setSearchString: _reduxjs_toolkit.ActionCreatorWithPayload<string, "search/setSearchString">;
|
|
170
|
+
declare const setHoveredIndexSearchList: _reduxjs_toolkit.ActionCreatorWithPayload<number | null, "search/setHoveredIndexSearchList">;
|
|
171
171
|
declare const setFirstDomain: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setFirstDomain">;
|
|
172
172
|
declare const setSearchBy: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"search/setSearchBy"> | _reduxjs_toolkit.ActionCreatorWithoutPayload<"search/setSearchBy">;
|
|
173
173
|
declare const setFilterBy: _reduxjs_toolkit.ActionCreatorWithPayload<any, "search/setFilterBy">;
|
|
174
|
-
declare const setSearchMap: _reduxjs_toolkit.
|
|
175
|
-
declare const updateSearchMap: _reduxjs_toolkit.
|
|
174
|
+
declare const setSearchMap: _reduxjs_toolkit.ActionCreatorWithPayload<Record<string, any>, "search/setSearchMap">;
|
|
175
|
+
declare const updateSearchMap: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
176
176
|
key: string;
|
|
177
177
|
value: any;
|
|
178
178
|
}, "search/updateSearchMap">;
|
|
179
|
-
declare const removeKeyFromSearchMap: _reduxjs_toolkit.
|
|
179
|
+
declare const removeKeyFromSearchMap: _reduxjs_toolkit.ActionCreatorWithPayload<{
|
|
180
180
|
key: string;
|
|
181
181
|
item?: any;
|
|
182
182
|
}, "search/removeKeyFromSearchMap">;
|
|
@@ -210,16 +210,16 @@ declare const listSlice: _reduxjs_toolkit.Slice<ListState, {
|
|
|
210
210
|
setPage: (state: immer.WritableDraft<ListState>, action: PayloadAction<number>) => void;
|
|
211
211
|
setDomainTable: (state: immer.WritableDraft<ListState>, action: PayloadAction<any[]>) => void;
|
|
212
212
|
}, "list", "list", _reduxjs_toolkit.SliceSelectors<ListState>>;
|
|
213
|
-
declare const setPageLimit: _reduxjs_toolkit.
|
|
214
|
-
declare const setFields: _reduxjs_toolkit.
|
|
215
|
-
declare const setOrder: _reduxjs_toolkit.
|
|
216
|
-
declare const setSelectedRowKeys: _reduxjs_toolkit.
|
|
217
|
-
declare const setIndexRowTableModal: _reduxjs_toolkit.
|
|
218
|
-
declare const setIsUpdateTableModal: _reduxjs_toolkit.
|
|
219
|
-
declare const setPage: _reduxjs_toolkit.
|
|
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
220
|
declare const setSelectedRadioKey: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"list/setSelectedRadioKey"> | _reduxjs_toolkit.ActionCreatorWithoutPayload<"list/setSelectedRadioKey">;
|
|
221
221
|
declare const setTransferDetail: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"list/setTransferDetail"> | _reduxjs_toolkit.ActionCreatorWithoutPayload<"list/setTransferDetail">;
|
|
222
|
-
declare const setDomainTable: _reduxjs_toolkit.
|
|
222
|
+
declare const setDomainTable: _reduxjs_toolkit.ActionCreatorWithPayload<any[], "list/setDomainTable">;
|
|
223
223
|
declare const selectList: (state: RootState) => ListState;
|
|
224
224
|
|
|
225
225
|
interface NavbarStateType {
|
|
@@ -255,27 +255,41 @@ declare const selectNavbar: (state: RootState) => NavbarStateType;
|
|
|
255
255
|
declare const envStore: _reduxjs_toolkit.EnhancedStore<{
|
|
256
256
|
env: {
|
|
257
257
|
baseUrl: string;
|
|
258
|
-
|
|
259
|
-
companies: any[];
|
|
258
|
+
companies: never[];
|
|
260
259
|
user: {};
|
|
261
|
-
|
|
262
|
-
|
|
260
|
+
db: string;
|
|
261
|
+
refreshTokenEndpoint: string;
|
|
262
|
+
config: {
|
|
263
|
+
grantType: string;
|
|
264
|
+
clientId: string;
|
|
265
|
+
clientSecret: string;
|
|
266
|
+
redirectUri: string;
|
|
267
|
+
};
|
|
268
|
+
envFile: null;
|
|
269
|
+
requests: {
|
|
270
|
+
get: (url: string, headers?: any) => Promise<any>;
|
|
271
|
+
post: (url: string, body: any, headers?: any) => Promise<any>;
|
|
272
|
+
post_excel: (url: string, body: any, headers?: any) => Promise<any>;
|
|
273
|
+
put: (url: string, body: any, headers?: any) => Promise<any>;
|
|
274
|
+
patch: (url: string, body: any) => Promise<any>;
|
|
275
|
+
delete: (url: string, body: any) => Promise<any>;
|
|
276
|
+
};
|
|
263
277
|
defaultCompany: {
|
|
264
|
-
id:
|
|
278
|
+
id: null;
|
|
265
279
|
logo: string;
|
|
266
280
|
secondary_color: string;
|
|
267
281
|
primary_color: string;
|
|
268
282
|
};
|
|
269
283
|
context: {
|
|
270
|
-
uid:
|
|
271
|
-
allowed_company_ids:
|
|
284
|
+
uid: null;
|
|
285
|
+
allowed_company_ids: never[];
|
|
272
286
|
lang: string;
|
|
273
287
|
tz: string;
|
|
274
288
|
};
|
|
275
289
|
};
|
|
276
290
|
header: {
|
|
277
291
|
value: {
|
|
278
|
-
allowedCompanyIds:
|
|
292
|
+
allowedCompanyIds: never[];
|
|
279
293
|
};
|
|
280
294
|
};
|
|
281
295
|
navbar: NavbarStateType;
|
|
@@ -290,27 +304,41 @@ declare const envStore: _reduxjs_toolkit.EnhancedStore<{
|
|
|
290
304
|
dispatch: redux_thunk.ThunkDispatch<{
|
|
291
305
|
env: {
|
|
292
306
|
baseUrl: string;
|
|
293
|
-
|
|
294
|
-
companies: any[];
|
|
307
|
+
companies: never[];
|
|
295
308
|
user: {};
|
|
296
|
-
|
|
297
|
-
|
|
309
|
+
db: string;
|
|
310
|
+
refreshTokenEndpoint: string;
|
|
311
|
+
config: {
|
|
312
|
+
grantType: string;
|
|
313
|
+
clientId: string;
|
|
314
|
+
clientSecret: string;
|
|
315
|
+
redirectUri: string;
|
|
316
|
+
};
|
|
317
|
+
envFile: null;
|
|
318
|
+
requests: {
|
|
319
|
+
get: (url: string, headers?: any) => Promise<any>;
|
|
320
|
+
post: (url: string, body: any, headers?: any) => Promise<any>;
|
|
321
|
+
post_excel: (url: string, body: any, headers?: any) => Promise<any>;
|
|
322
|
+
put: (url: string, body: any, headers?: any) => Promise<any>;
|
|
323
|
+
patch: (url: string, body: any) => Promise<any>;
|
|
324
|
+
delete: (url: string, body: any) => Promise<any>;
|
|
325
|
+
};
|
|
298
326
|
defaultCompany: {
|
|
299
|
-
id:
|
|
327
|
+
id: null;
|
|
300
328
|
logo: string;
|
|
301
329
|
secondary_color: string;
|
|
302
330
|
primary_color: string;
|
|
303
331
|
};
|
|
304
332
|
context: {
|
|
305
|
-
uid:
|
|
306
|
-
allowed_company_ids:
|
|
333
|
+
uid: null;
|
|
334
|
+
allowed_company_ids: never[];
|
|
307
335
|
lang: string;
|
|
308
336
|
tz: string;
|
|
309
337
|
};
|
|
310
338
|
};
|
|
311
339
|
header: {
|
|
312
340
|
value: {
|
|
313
|
-
allowedCompanyIds:
|
|
341
|
+
allowedCompanyIds: never[];
|
|
314
342
|
};
|
|
315
343
|
};
|
|
316
344
|
navbar: NavbarStateType;
|
|
@@ -326,40 +354,68 @@ declare const envStore: _reduxjs_toolkit.EnhancedStore<{
|
|
|
326
354
|
|
|
327
355
|
declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
328
356
|
baseUrl: string;
|
|
329
|
-
|
|
330
|
-
companies: any[];
|
|
357
|
+
companies: never[];
|
|
331
358
|
user: {};
|
|
332
|
-
|
|
333
|
-
|
|
359
|
+
db: string;
|
|
360
|
+
refreshTokenEndpoint: string;
|
|
361
|
+
config: {
|
|
362
|
+
grantType: string;
|
|
363
|
+
clientId: string;
|
|
364
|
+
clientSecret: string;
|
|
365
|
+
redirectUri: string;
|
|
366
|
+
};
|
|
367
|
+
envFile: null;
|
|
368
|
+
requests: {
|
|
369
|
+
get: (url: string, headers?: any) => Promise<any>;
|
|
370
|
+
post: (url: string, body: any, headers?: any) => Promise<any>;
|
|
371
|
+
post_excel: (url: string, body: any, headers?: any) => Promise<any>;
|
|
372
|
+
put: (url: string, body: any, headers?: any) => Promise<any>;
|
|
373
|
+
patch: (url: string, body: any) => Promise<any>;
|
|
374
|
+
delete: (url: string, body: any) => Promise<any>;
|
|
375
|
+
};
|
|
334
376
|
defaultCompany: {
|
|
335
|
-
id:
|
|
377
|
+
id: null;
|
|
336
378
|
logo: string;
|
|
337
379
|
secondary_color: string;
|
|
338
380
|
primary_color: string;
|
|
339
381
|
};
|
|
340
382
|
context: {
|
|
341
|
-
uid:
|
|
342
|
-
allowed_company_ids:
|
|
383
|
+
uid: null;
|
|
384
|
+
allowed_company_ids: never[];
|
|
343
385
|
lang: string;
|
|
344
386
|
tz: string;
|
|
345
387
|
};
|
|
346
388
|
}, {
|
|
347
389
|
setEnv: (state: immer.WritableDraft<{
|
|
348
390
|
baseUrl: string;
|
|
349
|
-
|
|
350
|
-
companies: any[];
|
|
391
|
+
companies: never[];
|
|
351
392
|
user: {};
|
|
352
|
-
|
|
353
|
-
|
|
393
|
+
db: string;
|
|
394
|
+
refreshTokenEndpoint: string;
|
|
395
|
+
config: {
|
|
396
|
+
grantType: string;
|
|
397
|
+
clientId: string;
|
|
398
|
+
clientSecret: string;
|
|
399
|
+
redirectUri: string;
|
|
400
|
+
};
|
|
401
|
+
envFile: null;
|
|
402
|
+
requests: {
|
|
403
|
+
get: (url: string, headers?: any) => Promise<any>;
|
|
404
|
+
post: (url: string, body: any, headers?: any) => Promise<any>;
|
|
405
|
+
post_excel: (url: string, body: any, headers?: any) => Promise<any>;
|
|
406
|
+
put: (url: string, body: any, headers?: any) => Promise<any>;
|
|
407
|
+
patch: (url: string, body: any) => Promise<any>;
|
|
408
|
+
delete: (url: string, body: any) => Promise<any>;
|
|
409
|
+
};
|
|
354
410
|
defaultCompany: {
|
|
355
|
-
id:
|
|
411
|
+
id: null;
|
|
356
412
|
logo: string;
|
|
357
413
|
secondary_color: string;
|
|
358
414
|
primary_color: string;
|
|
359
415
|
};
|
|
360
416
|
context: {
|
|
361
|
-
uid:
|
|
362
|
-
allowed_company_ids:
|
|
417
|
+
uid: null;
|
|
418
|
+
allowed_company_ids: never[];
|
|
363
419
|
lang: string;
|
|
364
420
|
tz: string;
|
|
365
421
|
};
|
|
@@ -369,20 +425,34 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
369
425
|
}) => void;
|
|
370
426
|
setUid: (state: immer.WritableDraft<{
|
|
371
427
|
baseUrl: string;
|
|
372
|
-
|
|
373
|
-
companies: any[];
|
|
428
|
+
companies: never[];
|
|
374
429
|
user: {};
|
|
375
|
-
|
|
376
|
-
|
|
430
|
+
db: string;
|
|
431
|
+
refreshTokenEndpoint: string;
|
|
432
|
+
config: {
|
|
433
|
+
grantType: string;
|
|
434
|
+
clientId: string;
|
|
435
|
+
clientSecret: string;
|
|
436
|
+
redirectUri: string;
|
|
437
|
+
};
|
|
438
|
+
envFile: null;
|
|
439
|
+
requests: {
|
|
440
|
+
get: (url: string, headers?: any) => Promise<any>;
|
|
441
|
+
post: (url: string, body: any, headers?: any) => Promise<any>;
|
|
442
|
+
post_excel: (url: string, body: any, headers?: any) => Promise<any>;
|
|
443
|
+
put: (url: string, body: any, headers?: any) => Promise<any>;
|
|
444
|
+
patch: (url: string, body: any) => Promise<any>;
|
|
445
|
+
delete: (url: string, body: any) => Promise<any>;
|
|
446
|
+
};
|
|
377
447
|
defaultCompany: {
|
|
378
|
-
id:
|
|
448
|
+
id: null;
|
|
379
449
|
logo: string;
|
|
380
450
|
secondary_color: string;
|
|
381
451
|
primary_color: string;
|
|
382
452
|
};
|
|
383
453
|
context: {
|
|
384
|
-
uid:
|
|
385
|
-
allowed_company_ids:
|
|
454
|
+
uid: null;
|
|
455
|
+
allowed_company_ids: never[];
|
|
386
456
|
lang: string;
|
|
387
457
|
tz: string;
|
|
388
458
|
};
|
|
@@ -392,20 +462,34 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
392
462
|
}) => void;
|
|
393
463
|
setAllowCompanies: (state: immer.WritableDraft<{
|
|
394
464
|
baseUrl: string;
|
|
395
|
-
|
|
396
|
-
companies: any[];
|
|
465
|
+
companies: never[];
|
|
397
466
|
user: {};
|
|
398
|
-
|
|
399
|
-
|
|
467
|
+
db: string;
|
|
468
|
+
refreshTokenEndpoint: string;
|
|
469
|
+
config: {
|
|
470
|
+
grantType: string;
|
|
471
|
+
clientId: string;
|
|
472
|
+
clientSecret: string;
|
|
473
|
+
redirectUri: string;
|
|
474
|
+
};
|
|
475
|
+
envFile: null;
|
|
476
|
+
requests: {
|
|
477
|
+
get: (url: string, headers?: any) => Promise<any>;
|
|
478
|
+
post: (url: string, body: any, headers?: any) => Promise<any>;
|
|
479
|
+
post_excel: (url: string, body: any, headers?: any) => Promise<any>;
|
|
480
|
+
put: (url: string, body: any, headers?: any) => Promise<any>;
|
|
481
|
+
patch: (url: string, body: any) => Promise<any>;
|
|
482
|
+
delete: (url: string, body: any) => Promise<any>;
|
|
483
|
+
};
|
|
400
484
|
defaultCompany: {
|
|
401
|
-
id:
|
|
485
|
+
id: null;
|
|
402
486
|
logo: string;
|
|
403
487
|
secondary_color: string;
|
|
404
488
|
primary_color: string;
|
|
405
489
|
};
|
|
406
490
|
context: {
|
|
407
|
-
uid:
|
|
408
|
-
allowed_company_ids:
|
|
491
|
+
uid: null;
|
|
492
|
+
allowed_company_ids: never[];
|
|
409
493
|
lang: string;
|
|
410
494
|
tz: string;
|
|
411
495
|
};
|
|
@@ -415,20 +499,34 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
415
499
|
}) => void;
|
|
416
500
|
setCompanies: (state: immer.WritableDraft<{
|
|
417
501
|
baseUrl: string;
|
|
418
|
-
|
|
419
|
-
companies: any[];
|
|
502
|
+
companies: never[];
|
|
420
503
|
user: {};
|
|
421
|
-
|
|
422
|
-
|
|
504
|
+
db: string;
|
|
505
|
+
refreshTokenEndpoint: string;
|
|
506
|
+
config: {
|
|
507
|
+
grantType: string;
|
|
508
|
+
clientId: string;
|
|
509
|
+
clientSecret: string;
|
|
510
|
+
redirectUri: string;
|
|
511
|
+
};
|
|
512
|
+
envFile: null;
|
|
513
|
+
requests: {
|
|
514
|
+
get: (url: string, headers?: any) => Promise<any>;
|
|
515
|
+
post: (url: string, body: any, headers?: any) => Promise<any>;
|
|
516
|
+
post_excel: (url: string, body: any, headers?: any) => Promise<any>;
|
|
517
|
+
put: (url: string, body: any, headers?: any) => Promise<any>;
|
|
518
|
+
patch: (url: string, body: any) => Promise<any>;
|
|
519
|
+
delete: (url: string, body: any) => Promise<any>;
|
|
520
|
+
};
|
|
423
521
|
defaultCompany: {
|
|
424
|
-
id:
|
|
522
|
+
id: null;
|
|
425
523
|
logo: string;
|
|
426
524
|
secondary_color: string;
|
|
427
525
|
primary_color: string;
|
|
428
526
|
};
|
|
429
527
|
context: {
|
|
430
|
-
uid:
|
|
431
|
-
allowed_company_ids:
|
|
528
|
+
uid: null;
|
|
529
|
+
allowed_company_ids: never[];
|
|
432
530
|
lang: string;
|
|
433
531
|
tz: string;
|
|
434
532
|
};
|
|
@@ -438,20 +536,34 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
438
536
|
}) => void;
|
|
439
537
|
setDefaultCompany: (state: immer.WritableDraft<{
|
|
440
538
|
baseUrl: string;
|
|
441
|
-
|
|
442
|
-
companies: any[];
|
|
539
|
+
companies: never[];
|
|
443
540
|
user: {};
|
|
444
|
-
|
|
445
|
-
|
|
541
|
+
db: string;
|
|
542
|
+
refreshTokenEndpoint: string;
|
|
543
|
+
config: {
|
|
544
|
+
grantType: string;
|
|
545
|
+
clientId: string;
|
|
546
|
+
clientSecret: string;
|
|
547
|
+
redirectUri: string;
|
|
548
|
+
};
|
|
549
|
+
envFile: null;
|
|
550
|
+
requests: {
|
|
551
|
+
get: (url: string, headers?: any) => Promise<any>;
|
|
552
|
+
post: (url: string, body: any, headers?: any) => Promise<any>;
|
|
553
|
+
post_excel: (url: string, body: any, headers?: any) => Promise<any>;
|
|
554
|
+
put: (url: string, body: any, headers?: any) => Promise<any>;
|
|
555
|
+
patch: (url: string, body: any) => Promise<any>;
|
|
556
|
+
delete: (url: string, body: any) => Promise<any>;
|
|
557
|
+
};
|
|
446
558
|
defaultCompany: {
|
|
447
|
-
id:
|
|
559
|
+
id: null;
|
|
448
560
|
logo: string;
|
|
449
561
|
secondary_color: string;
|
|
450
562
|
primary_color: string;
|
|
451
563
|
};
|
|
452
564
|
context: {
|
|
453
|
-
uid:
|
|
454
|
-
allowed_company_ids:
|
|
565
|
+
uid: null;
|
|
566
|
+
allowed_company_ids: never[];
|
|
455
567
|
lang: string;
|
|
456
568
|
tz: string;
|
|
457
569
|
};
|
|
@@ -461,20 +573,34 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
461
573
|
}) => void;
|
|
462
574
|
setLang: (state: immer.WritableDraft<{
|
|
463
575
|
baseUrl: string;
|
|
464
|
-
|
|
465
|
-
companies: any[];
|
|
576
|
+
companies: never[];
|
|
466
577
|
user: {};
|
|
467
|
-
|
|
468
|
-
|
|
578
|
+
db: string;
|
|
579
|
+
refreshTokenEndpoint: string;
|
|
580
|
+
config: {
|
|
581
|
+
grantType: string;
|
|
582
|
+
clientId: string;
|
|
583
|
+
clientSecret: string;
|
|
584
|
+
redirectUri: string;
|
|
585
|
+
};
|
|
586
|
+
envFile: null;
|
|
587
|
+
requests: {
|
|
588
|
+
get: (url: string, headers?: any) => Promise<any>;
|
|
589
|
+
post: (url: string, body: any, headers?: any) => Promise<any>;
|
|
590
|
+
post_excel: (url: string, body: any, headers?: any) => Promise<any>;
|
|
591
|
+
put: (url: string, body: any, headers?: any) => Promise<any>;
|
|
592
|
+
patch: (url: string, body: any) => Promise<any>;
|
|
593
|
+
delete: (url: string, body: any) => Promise<any>;
|
|
594
|
+
};
|
|
469
595
|
defaultCompany: {
|
|
470
|
-
id:
|
|
596
|
+
id: null;
|
|
471
597
|
logo: string;
|
|
472
598
|
secondary_color: string;
|
|
473
599
|
primary_color: string;
|
|
474
600
|
};
|
|
475
601
|
context: {
|
|
476
|
-
uid:
|
|
477
|
-
allowed_company_ids:
|
|
602
|
+
uid: null;
|
|
603
|
+
allowed_company_ids: never[];
|
|
478
604
|
lang: string;
|
|
479
605
|
tz: string;
|
|
480
606
|
};
|
|
@@ -484,20 +610,34 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
484
610
|
}) => void;
|
|
485
611
|
setUser: (state: immer.WritableDraft<{
|
|
486
612
|
baseUrl: string;
|
|
487
|
-
|
|
488
|
-
companies: any[];
|
|
613
|
+
companies: never[];
|
|
489
614
|
user: {};
|
|
490
|
-
|
|
491
|
-
|
|
615
|
+
db: string;
|
|
616
|
+
refreshTokenEndpoint: string;
|
|
617
|
+
config: {
|
|
618
|
+
grantType: string;
|
|
619
|
+
clientId: string;
|
|
620
|
+
clientSecret: string;
|
|
621
|
+
redirectUri: string;
|
|
622
|
+
};
|
|
623
|
+
envFile: null;
|
|
624
|
+
requests: {
|
|
625
|
+
get: (url: string, headers?: any) => Promise<any>;
|
|
626
|
+
post: (url: string, body: any, headers?: any) => Promise<any>;
|
|
627
|
+
post_excel: (url: string, body: any, headers?: any) => Promise<any>;
|
|
628
|
+
put: (url: string, body: any, headers?: any) => Promise<any>;
|
|
629
|
+
patch: (url: string, body: any) => Promise<any>;
|
|
630
|
+
delete: (url: string, body: any) => Promise<any>;
|
|
631
|
+
};
|
|
492
632
|
defaultCompany: {
|
|
493
|
-
id:
|
|
633
|
+
id: null;
|
|
494
634
|
logo: string;
|
|
495
635
|
secondary_color: string;
|
|
496
636
|
primary_color: string;
|
|
497
637
|
};
|
|
498
638
|
context: {
|
|
499
|
-
uid:
|
|
500
|
-
allowed_company_ids:
|
|
639
|
+
uid: null;
|
|
640
|
+
allowed_company_ids: never[];
|
|
501
641
|
lang: string;
|
|
502
642
|
tz: string;
|
|
503
643
|
};
|
|
@@ -507,20 +647,34 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
507
647
|
}) => void;
|
|
508
648
|
setConfig: (state: immer.WritableDraft<{
|
|
509
649
|
baseUrl: string;
|
|
510
|
-
|
|
511
|
-
companies: any[];
|
|
650
|
+
companies: never[];
|
|
512
651
|
user: {};
|
|
513
|
-
|
|
514
|
-
|
|
652
|
+
db: string;
|
|
653
|
+
refreshTokenEndpoint: string;
|
|
654
|
+
config: {
|
|
655
|
+
grantType: string;
|
|
656
|
+
clientId: string;
|
|
657
|
+
clientSecret: string;
|
|
658
|
+
redirectUri: string;
|
|
659
|
+
};
|
|
660
|
+
envFile: null;
|
|
661
|
+
requests: {
|
|
662
|
+
get: (url: string, headers?: any) => Promise<any>;
|
|
663
|
+
post: (url: string, body: any, headers?: any) => Promise<any>;
|
|
664
|
+
post_excel: (url: string, body: any, headers?: any) => Promise<any>;
|
|
665
|
+
put: (url: string, body: any, headers?: any) => Promise<any>;
|
|
666
|
+
patch: (url: string, body: any) => Promise<any>;
|
|
667
|
+
delete: (url: string, body: any) => Promise<any>;
|
|
668
|
+
};
|
|
515
669
|
defaultCompany: {
|
|
516
|
-
id:
|
|
670
|
+
id: null;
|
|
517
671
|
logo: string;
|
|
518
672
|
secondary_color: string;
|
|
519
673
|
primary_color: string;
|
|
520
674
|
};
|
|
521
675
|
context: {
|
|
522
|
-
uid:
|
|
523
|
-
allowed_company_ids:
|
|
676
|
+
uid: null;
|
|
677
|
+
allowed_company_ids: never[];
|
|
524
678
|
lang: string;
|
|
525
679
|
tz: string;
|
|
526
680
|
};
|
|
@@ -530,20 +684,34 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
530
684
|
}) => void;
|
|
531
685
|
setEnvFile: (state: immer.WritableDraft<{
|
|
532
686
|
baseUrl: string;
|
|
533
|
-
|
|
534
|
-
companies: any[];
|
|
687
|
+
companies: never[];
|
|
535
688
|
user: {};
|
|
536
|
-
|
|
537
|
-
|
|
689
|
+
db: string;
|
|
690
|
+
refreshTokenEndpoint: string;
|
|
691
|
+
config: {
|
|
692
|
+
grantType: string;
|
|
693
|
+
clientId: string;
|
|
694
|
+
clientSecret: string;
|
|
695
|
+
redirectUri: string;
|
|
696
|
+
};
|
|
697
|
+
envFile: null;
|
|
698
|
+
requests: {
|
|
699
|
+
get: (url: string, headers?: any) => Promise<any>;
|
|
700
|
+
post: (url: string, body: any, headers?: any) => Promise<any>;
|
|
701
|
+
post_excel: (url: string, body: any, headers?: any) => Promise<any>;
|
|
702
|
+
put: (url: string, body: any, headers?: any) => Promise<any>;
|
|
703
|
+
patch: (url: string, body: any) => Promise<any>;
|
|
704
|
+
delete: (url: string, body: any) => Promise<any>;
|
|
705
|
+
};
|
|
538
706
|
defaultCompany: {
|
|
539
|
-
id:
|
|
707
|
+
id: null;
|
|
540
708
|
logo: string;
|
|
541
709
|
secondary_color: string;
|
|
542
710
|
primary_color: string;
|
|
543
711
|
};
|
|
544
712
|
context: {
|
|
545
|
-
uid:
|
|
546
|
-
allowed_company_ids:
|
|
713
|
+
uid: null;
|
|
714
|
+
allowed_company_ids: never[];
|
|
547
715
|
lang: string;
|
|
548
716
|
tz: string;
|
|
549
717
|
};
|
|
@@ -553,20 +721,34 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
|
|
|
553
721
|
}) => void;
|
|
554
722
|
}, "env", "env", _reduxjs_toolkit.SliceSelectors<{
|
|
555
723
|
baseUrl: string;
|
|
556
|
-
|
|
557
|
-
companies: any[];
|
|
724
|
+
companies: never[];
|
|
558
725
|
user: {};
|
|
559
|
-
|
|
560
|
-
|
|
726
|
+
db: string;
|
|
727
|
+
refreshTokenEndpoint: string;
|
|
728
|
+
config: {
|
|
729
|
+
grantType: string;
|
|
730
|
+
clientId: string;
|
|
731
|
+
clientSecret: string;
|
|
732
|
+
redirectUri: string;
|
|
733
|
+
};
|
|
734
|
+
envFile: null;
|
|
735
|
+
requests: {
|
|
736
|
+
get: (url: string, headers?: any) => Promise<any>;
|
|
737
|
+
post: (url: string, body: any, headers?: any) => Promise<any>;
|
|
738
|
+
post_excel: (url: string, body: any, headers?: any) => Promise<any>;
|
|
739
|
+
put: (url: string, body: any, headers?: any) => Promise<any>;
|
|
740
|
+
patch: (url: string, body: any) => Promise<any>;
|
|
741
|
+
delete: (url: string, body: any) => Promise<any>;
|
|
742
|
+
};
|
|
561
743
|
defaultCompany: {
|
|
562
|
-
id:
|
|
744
|
+
id: null;
|
|
563
745
|
logo: string;
|
|
564
746
|
secondary_color: string;
|
|
565
747
|
primary_color: string;
|
|
566
748
|
};
|
|
567
749
|
context: {
|
|
568
|
-
uid:
|
|
569
|
-
allowed_company_ids:
|
|
750
|
+
uid: null;
|
|
751
|
+
allowed_company_ids: never[];
|
|
570
752
|
lang: string;
|
|
571
753
|
tz: string;
|
|
572
754
|
};
|
|
@@ -582,20 +764,34 @@ declare const setConfig: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/set
|
|
|
582
764
|
declare const setEnvFile: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setEnvFile">;
|
|
583
765
|
declare const selectEnv: (state: RootState) => {
|
|
584
766
|
baseUrl: string;
|
|
585
|
-
|
|
586
|
-
companies: any[];
|
|
767
|
+
companies: never[];
|
|
587
768
|
user: {};
|
|
588
|
-
|
|
589
|
-
|
|
769
|
+
db: string;
|
|
770
|
+
refreshTokenEndpoint: string;
|
|
771
|
+
config: {
|
|
772
|
+
grantType: string;
|
|
773
|
+
clientId: string;
|
|
774
|
+
clientSecret: string;
|
|
775
|
+
redirectUri: string;
|
|
776
|
+
};
|
|
777
|
+
envFile: null;
|
|
778
|
+
requests: {
|
|
779
|
+
get: (url: string, headers?: any) => Promise<any>;
|
|
780
|
+
post: (url: string, body: any, headers?: any) => Promise<any>;
|
|
781
|
+
post_excel: (url: string, body: any, headers?: any) => Promise<any>;
|
|
782
|
+
put: (url: string, body: any, headers?: any) => Promise<any>;
|
|
783
|
+
patch: (url: string, body: any) => Promise<any>;
|
|
784
|
+
delete: (url: string, body: any) => Promise<any>;
|
|
785
|
+
};
|
|
590
786
|
defaultCompany: {
|
|
591
|
-
id:
|
|
787
|
+
id: null;
|
|
592
788
|
logo: string;
|
|
593
789
|
secondary_color: string;
|
|
594
790
|
primary_color: string;
|
|
595
791
|
};
|
|
596
792
|
context: {
|
|
597
|
-
uid:
|
|
598
|
-
allowed_company_ids:
|
|
793
|
+
uid: null;
|
|
794
|
+
allowed_company_ids: never[];
|
|
599
795
|
lang: string;
|
|
600
796
|
tz: string;
|
|
601
797
|
};
|
|
@@ -603,12 +799,12 @@ declare const selectEnv: (state: RootState) => {
|
|
|
603
799
|
|
|
604
800
|
declare const headerSlice: _reduxjs_toolkit.Slice<{
|
|
605
801
|
value: {
|
|
606
|
-
allowedCompanyIds:
|
|
802
|
+
allowedCompanyIds: never[];
|
|
607
803
|
};
|
|
608
804
|
}, {
|
|
609
805
|
setHeader: (state: immer.WritableDraft<{
|
|
610
806
|
value: {
|
|
611
|
-
allowedCompanyIds:
|
|
807
|
+
allowedCompanyIds: never[];
|
|
612
808
|
};
|
|
613
809
|
}>, action: {
|
|
614
810
|
payload: any;
|
|
@@ -616,7 +812,7 @@ declare const headerSlice: _reduxjs_toolkit.Slice<{
|
|
|
616
812
|
}) => void;
|
|
617
813
|
setAllowedCompanyIds: (state: immer.WritableDraft<{
|
|
618
814
|
value: {
|
|
619
|
-
allowedCompanyIds:
|
|
815
|
+
allowedCompanyIds: never[];
|
|
620
816
|
};
|
|
621
817
|
}>, action: {
|
|
622
818
|
payload: any;
|
|
@@ -624,14 +820,14 @@ declare const headerSlice: _reduxjs_toolkit.Slice<{
|
|
|
624
820
|
}) => void;
|
|
625
821
|
}, "header", "header", _reduxjs_toolkit.SliceSelectors<{
|
|
626
822
|
value: {
|
|
627
|
-
allowedCompanyIds:
|
|
823
|
+
allowedCompanyIds: never[];
|
|
628
824
|
};
|
|
629
825
|
}>>;
|
|
630
826
|
declare const setAllowedCompanyIds: _reduxjs_toolkit.ActionCreatorWithPayload<any, "header/setAllowedCompanyIds">;
|
|
631
827
|
declare const setHeader: _reduxjs_toolkit.ActionCreatorWithPayload<any, "header/setHeader">;
|
|
632
828
|
declare const selectHeader: (state: RootState) => {
|
|
633
829
|
value: {
|
|
634
|
-
allowedCompanyIds:
|
|
830
|
+
allowedCompanyIds: never[];
|
|
635
831
|
};
|
|
636
832
|
};
|
|
637
833
|
|