@fctc/interface-logic 1.5.4 → 1.5.6

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/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.ActionCreatorWithPayload<string, "login/setDb">;
79
- declare const setRedirectTo: _reduxjs_toolkit.ActionCreatorWithPayload<string, "login/setRedirectTo">;
80
- declare const setForgotPasswordUrl: _reduxjs_toolkit.ActionCreatorWithPayload<string, "login/setForgotPasswordUrl">;
78
+ declare const setDb: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<string, "login/setDb">;
79
+ declare const setRedirectTo: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<string, "login/setRedirectTo">;
80
+ declare const setForgotPasswordUrl: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<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.ActionCreatorWithPayload<Breadcrumb, "breadcrumbs/setBreadCrumbs">;
97
+ declare const setBreadCrumbs: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<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.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<{
124
+ declare const setViewDataStore: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"form/setViewDataStore">;
125
+ declare const setIsShowingModalDetail: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<boolean, "form/setIsShowingModalDetail">;
126
+ declare const setIsShowModalTranslate: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<boolean, "form/setIsShowModalTranslate">;
127
+ declare const setFormSubmitComponent: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<{
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.ActionCreatorWithPayload<string | null, "search/setGroupByDomain">;
167
+ declare const setGroupByDomain: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<string, "search/setGroupByDomain">;
168
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">;
169
+ declare const setSearchString: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<string, "search/setSearchString">;
170
+ declare const setHoveredIndexSearchList: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<number, "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.ActionCreatorWithPayload<Record<string, any>, "search/setSearchMap">;
175
- declare const updateSearchMap: _reduxjs_toolkit.ActionCreatorWithPayload<{
174
+ declare const setSearchMap: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"search/setSearchMap">;
175
+ declare const updateSearchMap: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<{
176
176
  key: string;
177
177
  value: any;
178
178
  }, "search/updateSearchMap">;
179
- declare const removeKeyFromSearchMap: _reduxjs_toolkit.ActionCreatorWithPayload<{
179
+ declare const removeKeyFromSearchMap: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<{
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.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">;
213
+ declare const setPageLimit: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<number, "list/setPageLimit">;
214
+ declare const setFields: _reduxjs_toolkit.ActionCreatorWithNonInferrablePayload<"list/setFields">;
215
+ declare const setOrder: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<string, "list/setOrder">;
216
+ declare const setSelectedRowKeys: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<number[], "list/setSelectedRowKeys">;
217
+ declare const setIndexRowTableModal: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<number, "list/setIndexRowTableModal">;
218
+ declare const setIsUpdateTableModal: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<boolean, "list/setIsUpdateTableModal">;
219
+ declare const setPage: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<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.ActionCreatorWithPayload<any[], "list/setDomainTable">;
222
+ declare const setDomainTable: _reduxjs_toolkit.ActionCreatorWithOptionalPayload<any[], "list/setDomainTable">;
223
223
  declare const selectList: (state: RootState) => ListState;
224
224
 
225
225
  interface NavbarStateType {
@@ -255,27 +255,27 @@ declare const selectNavbar: (state: RootState) => NavbarStateType;
255
255
  declare const envStore: _reduxjs_toolkit.EnhancedStore<{
256
256
  env: {
257
257
  baseUrl: string;
258
- requests: null;
259
- companies: never[];
258
+ requests: any;
259
+ companies: any[];
260
260
  user: {};
261
- config: null;
262
- envFile: null;
261
+ config: any;
262
+ envFile: any;
263
263
  defaultCompany: {
264
- id: null;
264
+ id: any;
265
265
  logo: string;
266
266
  secondary_color: string;
267
267
  primary_color: string;
268
268
  };
269
269
  context: {
270
- uid: null;
271
- allowed_company_ids: never[];
270
+ uid: any;
271
+ allowed_company_ids: any[];
272
272
  lang: string;
273
273
  tz: string;
274
274
  };
275
275
  };
276
276
  header: {
277
277
  value: {
278
- allowedCompanyIds: never[];
278
+ allowedCompanyIds: any[];
279
279
  };
280
280
  };
281
281
  navbar: NavbarStateType;
@@ -290,27 +290,27 @@ declare const envStore: _reduxjs_toolkit.EnhancedStore<{
290
290
  dispatch: redux_thunk.ThunkDispatch<{
291
291
  env: {
292
292
  baseUrl: string;
293
- requests: null;
294
- companies: never[];
293
+ requests: any;
294
+ companies: any[];
295
295
  user: {};
296
- config: null;
297
- envFile: null;
296
+ config: any;
297
+ envFile: any;
298
298
  defaultCompany: {
299
- id: null;
299
+ id: any;
300
300
  logo: string;
301
301
  secondary_color: string;
302
302
  primary_color: string;
303
303
  };
304
304
  context: {
305
- uid: null;
306
- allowed_company_ids: never[];
305
+ uid: any;
306
+ allowed_company_ids: any[];
307
307
  lang: string;
308
308
  tz: string;
309
309
  };
310
310
  };
311
311
  header: {
312
312
  value: {
313
- allowedCompanyIds: never[];
313
+ allowedCompanyIds: any[];
314
314
  };
315
315
  };
316
316
  navbar: NavbarStateType;
@@ -326,40 +326,40 @@ declare const envStore: _reduxjs_toolkit.EnhancedStore<{
326
326
 
327
327
  declare const envSlice: _reduxjs_toolkit.Slice<{
328
328
  baseUrl: string;
329
- requests: null;
330
- companies: never[];
329
+ requests: any;
330
+ companies: any[];
331
331
  user: {};
332
- config: null;
333
- envFile: null;
332
+ config: any;
333
+ envFile: any;
334
334
  defaultCompany: {
335
- id: null;
335
+ id: any;
336
336
  logo: string;
337
337
  secondary_color: string;
338
338
  primary_color: string;
339
339
  };
340
340
  context: {
341
- uid: null;
342
- allowed_company_ids: never[];
341
+ uid: any;
342
+ allowed_company_ids: any[];
343
343
  lang: string;
344
344
  tz: string;
345
345
  };
346
346
  }, {
347
347
  setEnv: (state: immer.WritableDraft<{
348
348
  baseUrl: string;
349
- requests: null;
350
- companies: never[];
349
+ requests: any;
350
+ companies: any[];
351
351
  user: {};
352
- config: null;
353
- envFile: null;
352
+ config: any;
353
+ envFile: any;
354
354
  defaultCompany: {
355
- id: null;
355
+ id: any;
356
356
  logo: string;
357
357
  secondary_color: string;
358
358
  primary_color: string;
359
359
  };
360
360
  context: {
361
- uid: null;
362
- allowed_company_ids: never[];
361
+ uid: any;
362
+ allowed_company_ids: any[];
363
363
  lang: string;
364
364
  tz: string;
365
365
  };
@@ -369,20 +369,20 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
369
369
  }) => void;
370
370
  setUid: (state: immer.WritableDraft<{
371
371
  baseUrl: string;
372
- requests: null;
373
- companies: never[];
372
+ requests: any;
373
+ companies: any[];
374
374
  user: {};
375
- config: null;
376
- envFile: null;
375
+ config: any;
376
+ envFile: any;
377
377
  defaultCompany: {
378
- id: null;
378
+ id: any;
379
379
  logo: string;
380
380
  secondary_color: string;
381
381
  primary_color: string;
382
382
  };
383
383
  context: {
384
- uid: null;
385
- allowed_company_ids: never[];
384
+ uid: any;
385
+ allowed_company_ids: any[];
386
386
  lang: string;
387
387
  tz: string;
388
388
  };
@@ -392,20 +392,20 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
392
392
  }) => void;
393
393
  setAllowCompanies: (state: immer.WritableDraft<{
394
394
  baseUrl: string;
395
- requests: null;
396
- companies: never[];
395
+ requests: any;
396
+ companies: any[];
397
397
  user: {};
398
- config: null;
399
- envFile: null;
398
+ config: any;
399
+ envFile: any;
400
400
  defaultCompany: {
401
- id: null;
401
+ id: any;
402
402
  logo: string;
403
403
  secondary_color: string;
404
404
  primary_color: string;
405
405
  };
406
406
  context: {
407
- uid: null;
408
- allowed_company_ids: never[];
407
+ uid: any;
408
+ allowed_company_ids: any[];
409
409
  lang: string;
410
410
  tz: string;
411
411
  };
@@ -415,20 +415,20 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
415
415
  }) => void;
416
416
  setCompanies: (state: immer.WritableDraft<{
417
417
  baseUrl: string;
418
- requests: null;
419
- companies: never[];
418
+ requests: any;
419
+ companies: any[];
420
420
  user: {};
421
- config: null;
422
- envFile: null;
421
+ config: any;
422
+ envFile: any;
423
423
  defaultCompany: {
424
- id: null;
424
+ id: any;
425
425
  logo: string;
426
426
  secondary_color: string;
427
427
  primary_color: string;
428
428
  };
429
429
  context: {
430
- uid: null;
431
- allowed_company_ids: never[];
430
+ uid: any;
431
+ allowed_company_ids: any[];
432
432
  lang: string;
433
433
  tz: string;
434
434
  };
@@ -438,20 +438,20 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
438
438
  }) => void;
439
439
  setDefaultCompany: (state: immer.WritableDraft<{
440
440
  baseUrl: string;
441
- requests: null;
442
- companies: never[];
441
+ requests: any;
442
+ companies: any[];
443
443
  user: {};
444
- config: null;
445
- envFile: null;
444
+ config: any;
445
+ envFile: any;
446
446
  defaultCompany: {
447
- id: null;
447
+ id: any;
448
448
  logo: string;
449
449
  secondary_color: string;
450
450
  primary_color: string;
451
451
  };
452
452
  context: {
453
- uid: null;
454
- allowed_company_ids: never[];
453
+ uid: any;
454
+ allowed_company_ids: any[];
455
455
  lang: string;
456
456
  tz: string;
457
457
  };
@@ -461,20 +461,20 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
461
461
  }) => void;
462
462
  setLang: (state: immer.WritableDraft<{
463
463
  baseUrl: string;
464
- requests: null;
465
- companies: never[];
464
+ requests: any;
465
+ companies: any[];
466
466
  user: {};
467
- config: null;
468
- envFile: null;
467
+ config: any;
468
+ envFile: any;
469
469
  defaultCompany: {
470
- id: null;
470
+ id: any;
471
471
  logo: string;
472
472
  secondary_color: string;
473
473
  primary_color: string;
474
474
  };
475
475
  context: {
476
- uid: null;
477
- allowed_company_ids: never[];
476
+ uid: any;
477
+ allowed_company_ids: any[];
478
478
  lang: string;
479
479
  tz: string;
480
480
  };
@@ -484,20 +484,20 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
484
484
  }) => void;
485
485
  setUser: (state: immer.WritableDraft<{
486
486
  baseUrl: string;
487
- requests: null;
488
- companies: never[];
487
+ requests: any;
488
+ companies: any[];
489
489
  user: {};
490
- config: null;
491
- envFile: null;
490
+ config: any;
491
+ envFile: any;
492
492
  defaultCompany: {
493
- id: null;
493
+ id: any;
494
494
  logo: string;
495
495
  secondary_color: string;
496
496
  primary_color: string;
497
497
  };
498
498
  context: {
499
- uid: null;
500
- allowed_company_ids: never[];
499
+ uid: any;
500
+ allowed_company_ids: any[];
501
501
  lang: string;
502
502
  tz: string;
503
503
  };
@@ -507,20 +507,20 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
507
507
  }) => void;
508
508
  setConfig: (state: immer.WritableDraft<{
509
509
  baseUrl: string;
510
- requests: null;
511
- companies: never[];
510
+ requests: any;
511
+ companies: any[];
512
512
  user: {};
513
- config: null;
514
- envFile: null;
513
+ config: any;
514
+ envFile: any;
515
515
  defaultCompany: {
516
- id: null;
516
+ id: any;
517
517
  logo: string;
518
518
  secondary_color: string;
519
519
  primary_color: string;
520
520
  };
521
521
  context: {
522
- uid: null;
523
- allowed_company_ids: never[];
522
+ uid: any;
523
+ allowed_company_ids: any[];
524
524
  lang: string;
525
525
  tz: string;
526
526
  };
@@ -530,20 +530,20 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
530
530
  }) => void;
531
531
  setEnvFile: (state: immer.WritableDraft<{
532
532
  baseUrl: string;
533
- requests: null;
534
- companies: never[];
533
+ requests: any;
534
+ companies: any[];
535
535
  user: {};
536
- config: null;
537
- envFile: null;
536
+ config: any;
537
+ envFile: any;
538
538
  defaultCompany: {
539
- id: null;
539
+ id: any;
540
540
  logo: string;
541
541
  secondary_color: string;
542
542
  primary_color: string;
543
543
  };
544
544
  context: {
545
- uid: null;
546
- allowed_company_ids: never[];
545
+ uid: any;
546
+ allowed_company_ids: any[];
547
547
  lang: string;
548
548
  tz: string;
549
549
  };
@@ -553,20 +553,20 @@ declare const envSlice: _reduxjs_toolkit.Slice<{
553
553
  }) => void;
554
554
  }, "env", "env", _reduxjs_toolkit.SliceSelectors<{
555
555
  baseUrl: string;
556
- requests: null;
557
- companies: never[];
556
+ requests: any;
557
+ companies: any[];
558
558
  user: {};
559
- config: null;
560
- envFile: null;
559
+ config: any;
560
+ envFile: any;
561
561
  defaultCompany: {
562
- id: null;
562
+ id: any;
563
563
  logo: string;
564
564
  secondary_color: string;
565
565
  primary_color: string;
566
566
  };
567
567
  context: {
568
- uid: null;
569
- allowed_company_ids: never[];
568
+ uid: any;
569
+ allowed_company_ids: any[];
570
570
  lang: string;
571
571
  tz: string;
572
572
  };
@@ -582,20 +582,20 @@ declare const setConfig: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/set
582
582
  declare const setEnvFile: _reduxjs_toolkit.ActionCreatorWithPayload<any, "env/setEnvFile">;
583
583
  declare const selectEnv: (state: RootState) => {
584
584
  baseUrl: string;
585
- requests: null;
586
- companies: never[];
585
+ requests: any;
586
+ companies: any[];
587
587
  user: {};
588
- config: null;
589
- envFile: null;
588
+ config: any;
589
+ envFile: any;
590
590
  defaultCompany: {
591
- id: null;
591
+ id: any;
592
592
  logo: string;
593
593
  secondary_color: string;
594
594
  primary_color: string;
595
595
  };
596
596
  context: {
597
- uid: null;
598
- allowed_company_ids: never[];
597
+ uid: any;
598
+ allowed_company_ids: any[];
599
599
  lang: string;
600
600
  tz: string;
601
601
  };
@@ -603,12 +603,12 @@ declare const selectEnv: (state: RootState) => {
603
603
 
604
604
  declare const headerSlice: _reduxjs_toolkit.Slice<{
605
605
  value: {
606
- allowedCompanyIds: never[];
606
+ allowedCompanyIds: any[];
607
607
  };
608
608
  }, {
609
609
  setHeader: (state: immer.WritableDraft<{
610
610
  value: {
611
- allowedCompanyIds: never[];
611
+ allowedCompanyIds: any[];
612
612
  };
613
613
  }>, action: {
614
614
  payload: any;
@@ -616,7 +616,7 @@ declare const headerSlice: _reduxjs_toolkit.Slice<{
616
616
  }) => void;
617
617
  setAllowedCompanyIds: (state: immer.WritableDraft<{
618
618
  value: {
619
- allowedCompanyIds: never[];
619
+ allowedCompanyIds: any[];
620
620
  };
621
621
  }>, action: {
622
622
  payload: any;
@@ -624,14 +624,14 @@ declare const headerSlice: _reduxjs_toolkit.Slice<{
624
624
  }) => void;
625
625
  }, "header", "header", _reduxjs_toolkit.SliceSelectors<{
626
626
  value: {
627
- allowedCompanyIds: never[];
627
+ allowedCompanyIds: any[];
628
628
  };
629
629
  }>>;
630
630
  declare const setAllowedCompanyIds: _reduxjs_toolkit.ActionCreatorWithPayload<any, "header/setAllowedCompanyIds">;
631
631
  declare const setHeader: _reduxjs_toolkit.ActionCreatorWithPayload<any, "header/setHeader">;
632
632
  declare const selectHeader: (state: RootState) => {
633
633
  value: {
634
- allowedCompanyIds: never[];
634
+ allowedCompanyIds: any[];
635
635
  };
636
636
  };
637
637