@leav/ui 1.12.0 → 1.13.0
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/__mocks__/utils.d.ts +3 -0
- package/dist/__mocks__/utils.js +2 -0
- package/dist/__mocks__/utils.js.map +1 -0
- package/dist/_gqlTypes/index.d.ts +361 -116
- package/dist/_gqlTypes/index.js +261 -51
- package/dist/_gqlTypes/index.js.map +1 -1
- package/dist/_queries/attributes/attributeDetailsFragment.js +3 -0
- package/dist/_queries/attributes/attributeDetailsFragment.js.map +1 -1
- package/dist/components/Explorer/DataView.js +31 -14
- package/dist/components/Explorer/DataView.js.map +1 -1
- package/dist/components/Explorer/_constants.d.ts +0 -1
- package/dist/components/Explorer/_constants.js +0 -1
- package/dist/components/Explorer/_constants.js.map +1 -1
- package/dist/components/Explorer/actions-item/useEditStatusItemAction.js +5 -9
- package/dist/components/Explorer/actions-item/useEditStatusItemAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/ResultsCount.js +2 -2
- package/dist/components/Explorer/actions-mass/ResultsCount.js.map +1 -1
- package/dist/components/Explorer/actions-mass/edit-attribute/EditAttributeMassActionModal.d.ts +4 -9
- package/dist/components/Explorer/actions-mass/edit-attribute/EditAttributeMassActionModal.js +3 -11
- package/dist/components/Explorer/actions-mass/edit-attribute/EditAttributeMassActionModal.js.map +1 -1
- package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValuesMapping.d.ts +8 -8
- package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValuesMapping.js +26 -13
- package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValuesMapping.js.map +1 -1
- package/dist/components/Explorer/actions-mass/edit-attribute/TreeNodeRemap.d.ts +7 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/TreeNodeRemap.js +30 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/TreeNodeRemap.js.map +1 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/_types.d.ts +23 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/_types.js +2 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/_types.js.map +1 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useMassEditableAttributes.d.ts +4 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useMassEditableAttributes.js +46 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useMassEditableAttributes.js.map +1 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useTreeNodeRemapping.d.ts +12 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useTreeNodeRemapping.js +24 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useTreeNodeRemapping.js.map +1 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useValuesDistribution.d.ts +13 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useValuesDistribution.js +28 -0
- package/dist/components/Explorer/actions-mass/edit-attribute/useValuesDistribution.js.map +1 -0
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js +6 -10
- package/dist/components/Explorer/actions-mass/useDeactivateMassAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js +5 -8
- package/dist/components/Explorer/actions-mass/useDeleteLinkValues.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useEditAttributeMassAction.d.ts +8 -2
- package/dist/components/Explorer/actions-mass/useEditAttributeMassAction.js +104 -72
- package/dist/components/Explorer/actions-mass/useEditAttributeMassAction.js.map +1 -1
- package/dist/components/Explorer/actions-mass/useMassActions.js +30 -19
- package/dist/components/Explorer/actions-mass/useMassActions.js.map +1 -1
- package/dist/components/Explorer/conditionsHelper.d.ts +2 -1
- package/dist/components/Explorer/conditionsHelper.js.map +1 -1
- package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js +6 -4
- package/dist/components/Explorer/manage-view-settings/save-view/prepareViewForRequest.js.map +1 -1
- package/dist/components/Filters/_types.d.ts +3 -0
- package/dist/components/Filters/_types.js.map +1 -1
- package/dist/components/Filters/conditionsHelper.d.ts +2 -1
- package/dist/components/Filters/conditionsHelper.js.map +1 -1
- package/dist/components/Filters/context/filtersReducer.js +14 -1
- package/dist/components/Filters/context/filtersReducer.js.map +1 -1
- package/dist/components/Filters/filter-items/CommonFilterItem.js.map +1 -1
- package/dist/components/Filters/filter-items/filter-type/useConditionOptionsByType.js.map +1 -1
- package/dist/components/Filters/useFilters.d.ts +198 -0
- package/dist/components/Filters/useTransformFilters.js +4 -2
- package/dist/components/Filters/useTransformFilters.js.map +1 -1
- package/dist/components/RecordEdition/EditRecord/EditRecord.js +8 -1
- package/dist/components/RecordEdition/EditRecord/EditRecord.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/tag/unlink-record/useUnlinkRecord.d.ts +1 -4
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/tag/unlink-record/useUnlinkRecord.js +5 -9
- package/dist/components/RecordEdition/EditRecordContent/uiElements/LinkField/tag/unlink-record/useUnlinkRecord.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.js +4 -8
- package/dist/components/RecordEdition/EditRecordContent/uiElements/shared/DeleteAllValuesButton.js.map +1 -1
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js +1 -1
- package/dist/components/RecordEdition/EditRecordModal/EditRecordModal.js.map +1 -1
- package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.js +4 -8
- package/dist/components/RecordEdition/hooks/useCreateCancelConfirm/useCreateCancelConfirm.js.map +1 -1
- package/dist/constants.d.ts +1 -0
- package/dist/constants.js +1 -0
- package/dist/constants.js.map +1 -1
- package/dist/hooks/index.d.ts +4 -0
- package/dist/hooks/index.js +4 -0
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/useConfirmModal/__mocks__/index.d.ts +1 -0
- package/dist/hooks/useConfirmModal/__mocks__/index.js +5 -0
- package/dist/hooks/useConfirmModal/__mocks__/index.js.map +1 -0
- package/dist/hooks/useConfirmModal/__mocks__/useConfirmModal.d.ts +3 -0
- package/dist/hooks/useConfirmModal/__mocks__/useConfirmModal.js +7 -0
- package/dist/hooks/useConfirmModal/__mocks__/useConfirmModal.js.map +1 -0
- package/dist/hooks/useConfirmModal/index.d.ts +1 -0
- package/dist/hooks/useConfirmModal/index.js +5 -0
- package/dist/hooks/useConfirmModal/index.js.map +1 -0
- package/dist/hooks/useConfirmModal/useConfirmModal.d.ts +7 -0
- package/dist/hooks/useConfirmModal/useConfirmModal.js +25 -0
- package/dist/hooks/useConfirmModal/useConfirmModal.js.map +1 -0
- package/dist/hooks/useGetRecordIdCard/index.d.ts +1 -0
- package/dist/hooks/useGetRecordIdCard/index.js +5 -0
- package/dist/hooks/useGetRecordIdCard/index.js.map +1 -0
- package/dist/hooks/useGetRecordIdCard/useGetRecordIdCard.d.ts +18 -0
- package/dist/hooks/useGetRecordIdCard/useGetRecordIdCard.js +20 -0
- package/dist/hooks/useGetRecordIdCard/useGetRecordIdCard.js.map +1 -0
- package/dist/hooks/useIFrameMessenger/iFrameMessengerContext.d.ts +6 -0
- package/dist/hooks/useIFrameMessenger/iFrameMessengerContext.js +8 -0
- package/dist/hooks/useIFrameMessenger/iFrameMessengerContext.js.map +1 -0
- package/dist/hooks/useIFrameMessenger/types.d.ts +10 -3
- package/dist/hooks/useIFrameMessenger/types.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.d.ts +11 -2
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js +31 -10
- package/dist/hooks/useIFrameMessenger/useIFrameMessenger.js.map +1 -1
- package/dist/hooks/useIFrameMessenger/useIFrameMessengerContext.d.ts +13 -0
- package/dist/hooks/useIFrameMessenger/useIFrameMessengerContext.js +59 -0
- package/dist/hooks/useIFrameMessenger/useIFrameMessengerContext.js.map +1 -0
- package/dist/hooks/useIFrameMessenger/useIFrameMessengerHandlers.d.ts +13 -0
- package/dist/hooks/useIFrameMessenger/useIFrameMessengerHandlers.js +29 -0
- package/dist/hooks/useIFrameMessenger/useIFrameMessengerHandlers.js.map +1 -0
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js +3 -0
- package/dist/hooks/useIFrameMessengerClient/IFrameMessengerClient.js.map +1 -1
- package/dist/hooks/useIFrameMessengerClient/iFrameMessengerClientContext.d.ts +1 -0
- package/dist/hooks/useIFrameMessengerClient/useIFrameMessengerClient.d.ts +1 -0
- package/dist/hooks/useSharedTranslation/__mocks__/useSharedTranslation.js.map +1 -1
- package/dist/locales/en/shared.json +6 -4
- package/dist/locales/fr/shared.json +8 -6
- package/package.json +17 -17
- package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValueLine.d.ts +0 -8
- package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValueLine.js +0 -40
- package/dist/components/Explorer/actions-mass/edit-attribute/EditTreeAttributeValueLine.js.map +0 -1
- package/dist/components/Explorer/actions-mass/edit-attribute/useCountValuesOccurrencesHook.d.ts +0 -17
- package/dist/components/Explorer/actions-mass/edit-attribute/useCountValuesOccurrencesHook.js +0 -42
- package/dist/components/Explorer/actions-mass/edit-attribute/useCountValuesOccurrencesHook.js.map +0 -1
- package/dist/components/Explorer/actions-mass/edit-attribute/useListEditableAttributeHook.d.ts +0 -5
- package/dist/components/Explorer/actions-mass/edit-attribute/useListEditableAttributeHook.js +0 -20
- package/dist/components/Explorer/actions-mass/edit-attribute/useListEditableAttributeHook.js.map +0 -1
- package/dist/components/Explorer/actions-mass/edit-attribute/useListTreeAttributeValuesHook.d.ts +0 -12
- package/dist/components/Explorer/actions-mass/edit-attribute/useListTreeAttributeValuesHook.js +0 -30
- package/dist/components/Explorer/actions-mass/edit-attribute/useListTreeAttributeValuesHook.js.map +0 -1
|
@@ -32,6 +32,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
32
32
|
} | null;
|
|
33
33
|
smart_filter?: {
|
|
34
34
|
enable: boolean;
|
|
35
|
+
through?: {
|
|
36
|
+
id: string;
|
|
37
|
+
} | null;
|
|
35
38
|
} | null;
|
|
36
39
|
permissions: {
|
|
37
40
|
access_attribute: boolean;
|
|
@@ -42,6 +45,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
42
45
|
};
|
|
43
46
|
smartFilter?: {
|
|
44
47
|
enable?: boolean;
|
|
48
|
+
through?: {
|
|
49
|
+
id: string;
|
|
50
|
+
} | null;
|
|
45
51
|
};
|
|
46
52
|
type: import("../../_gqlTypes").AttributeType;
|
|
47
53
|
label: string;
|
|
@@ -72,6 +78,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
72
78
|
} | null;
|
|
73
79
|
smart_filter?: {
|
|
74
80
|
enable: boolean;
|
|
81
|
+
through?: {
|
|
82
|
+
id: string;
|
|
83
|
+
} | null;
|
|
75
84
|
} | null;
|
|
76
85
|
permissions: {
|
|
77
86
|
access_attribute: boolean;
|
|
@@ -109,6 +118,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
109
118
|
} | null;
|
|
110
119
|
smart_filter?: {
|
|
111
120
|
enable: boolean;
|
|
121
|
+
through?: {
|
|
122
|
+
id: string;
|
|
123
|
+
} | null;
|
|
112
124
|
} | null;
|
|
113
125
|
permissions: {
|
|
114
126
|
access_attribute: boolean;
|
|
@@ -125,6 +137,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
125
137
|
} | null;
|
|
126
138
|
smart_filter?: {
|
|
127
139
|
enable: boolean;
|
|
140
|
+
through?: {
|
|
141
|
+
id: string;
|
|
142
|
+
} | null;
|
|
128
143
|
} | null;
|
|
129
144
|
permissions: {
|
|
130
145
|
access_attribute: boolean;
|
|
@@ -135,6 +150,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
135
150
|
};
|
|
136
151
|
smartFilter?: {
|
|
137
152
|
enable?: boolean;
|
|
153
|
+
through?: {
|
|
154
|
+
id: string;
|
|
155
|
+
} | null;
|
|
138
156
|
};
|
|
139
157
|
type: import("../../_gqlTypes").AttributeType;
|
|
140
158
|
label: string;
|
|
@@ -147,6 +165,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
147
165
|
} | null;
|
|
148
166
|
smart_filter?: {
|
|
149
167
|
enable: boolean;
|
|
168
|
+
through?: {
|
|
169
|
+
id: string;
|
|
170
|
+
} | null;
|
|
150
171
|
} | null;
|
|
151
172
|
permissions: {
|
|
152
173
|
access_attribute: boolean;
|
|
@@ -189,6 +210,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
189
210
|
};
|
|
190
211
|
smartFilter?: {
|
|
191
212
|
enable?: boolean;
|
|
213
|
+
through?: {
|
|
214
|
+
id: string;
|
|
215
|
+
} | null;
|
|
192
216
|
};
|
|
193
217
|
type: import("../../_gqlTypes").AttributeType;
|
|
194
218
|
label: string;
|
|
@@ -276,6 +300,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
276
300
|
};
|
|
277
301
|
smartFilter?: {
|
|
278
302
|
enable?: boolean;
|
|
303
|
+
through?: {
|
|
304
|
+
id: string;
|
|
305
|
+
} | null;
|
|
279
306
|
};
|
|
280
307
|
type: import("../../_gqlTypes").AttributeType;
|
|
281
308
|
label: string;
|
|
@@ -309,6 +336,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
309
336
|
};
|
|
310
337
|
smartFilter?: {
|
|
311
338
|
enable?: boolean;
|
|
339
|
+
through?: {
|
|
340
|
+
id: string;
|
|
341
|
+
} | null;
|
|
312
342
|
};
|
|
313
343
|
type: import("../../_gqlTypes").AttributeType;
|
|
314
344
|
label: string;
|
|
@@ -357,6 +387,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
357
387
|
};
|
|
358
388
|
smartFilter?: {
|
|
359
389
|
enable?: boolean;
|
|
390
|
+
through?: {
|
|
391
|
+
id: string;
|
|
392
|
+
} | null;
|
|
360
393
|
};
|
|
361
394
|
type: import("../../_gqlTypes").AttributeType;
|
|
362
395
|
label: string;
|
|
@@ -409,6 +442,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
409
442
|
} | null;
|
|
410
443
|
smart_filter?: {
|
|
411
444
|
enable: boolean;
|
|
445
|
+
through?: {
|
|
446
|
+
id: string;
|
|
447
|
+
} | null;
|
|
412
448
|
} | null;
|
|
413
449
|
permissions: {
|
|
414
450
|
access_attribute: boolean;
|
|
@@ -419,6 +455,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
419
455
|
};
|
|
420
456
|
smartFilter?: {
|
|
421
457
|
enable?: boolean;
|
|
458
|
+
through?: {
|
|
459
|
+
id: string;
|
|
460
|
+
} | null;
|
|
422
461
|
};
|
|
423
462
|
type: import("../../_gqlTypes").AttributeType;
|
|
424
463
|
label: string;
|
|
@@ -449,6 +488,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
449
488
|
} | null;
|
|
450
489
|
smart_filter?: {
|
|
451
490
|
enable: boolean;
|
|
491
|
+
through?: {
|
|
492
|
+
id: string;
|
|
493
|
+
} | null;
|
|
452
494
|
} | null;
|
|
453
495
|
permissions: {
|
|
454
496
|
access_attribute: boolean;
|
|
@@ -486,6 +528,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
486
528
|
} | null;
|
|
487
529
|
smart_filter?: {
|
|
488
530
|
enable: boolean;
|
|
531
|
+
through?: {
|
|
532
|
+
id: string;
|
|
533
|
+
} | null;
|
|
489
534
|
} | null;
|
|
490
535
|
permissions: {
|
|
491
536
|
access_attribute: boolean;
|
|
@@ -502,6 +547,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
502
547
|
} | null;
|
|
503
548
|
smart_filter?: {
|
|
504
549
|
enable: boolean;
|
|
550
|
+
through?: {
|
|
551
|
+
id: string;
|
|
552
|
+
} | null;
|
|
505
553
|
} | null;
|
|
506
554
|
permissions: {
|
|
507
555
|
access_attribute: boolean;
|
|
@@ -512,6 +560,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
512
560
|
};
|
|
513
561
|
smartFilter?: {
|
|
514
562
|
enable?: boolean;
|
|
563
|
+
through?: {
|
|
564
|
+
id: string;
|
|
565
|
+
} | null;
|
|
515
566
|
};
|
|
516
567
|
type: import("../../_gqlTypes").AttributeType;
|
|
517
568
|
label: string;
|
|
@@ -524,6 +575,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
524
575
|
} | null;
|
|
525
576
|
smart_filter?: {
|
|
526
577
|
enable: boolean;
|
|
578
|
+
through?: {
|
|
579
|
+
id: string;
|
|
580
|
+
} | null;
|
|
527
581
|
} | null;
|
|
528
582
|
permissions: {
|
|
529
583
|
access_attribute: boolean;
|
|
@@ -566,6 +620,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
566
620
|
};
|
|
567
621
|
smartFilter?: {
|
|
568
622
|
enable?: boolean;
|
|
623
|
+
through?: {
|
|
624
|
+
id: string;
|
|
625
|
+
} | null;
|
|
569
626
|
};
|
|
570
627
|
type: import("../../_gqlTypes").AttributeType;
|
|
571
628
|
label: string;
|
|
@@ -653,6 +710,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
653
710
|
};
|
|
654
711
|
smartFilter?: {
|
|
655
712
|
enable?: boolean;
|
|
713
|
+
through?: {
|
|
714
|
+
id: string;
|
|
715
|
+
} | null;
|
|
656
716
|
};
|
|
657
717
|
type: import("../../_gqlTypes").AttributeType;
|
|
658
718
|
label: string;
|
|
@@ -686,6 +746,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
686
746
|
};
|
|
687
747
|
smartFilter?: {
|
|
688
748
|
enable?: boolean;
|
|
749
|
+
through?: {
|
|
750
|
+
id: string;
|
|
751
|
+
} | null;
|
|
689
752
|
};
|
|
690
753
|
type: import("../../_gqlTypes").AttributeType;
|
|
691
754
|
label: string;
|
|
@@ -734,6 +797,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
734
797
|
};
|
|
735
798
|
smartFilter?: {
|
|
736
799
|
enable?: boolean;
|
|
800
|
+
through?: {
|
|
801
|
+
id: string;
|
|
802
|
+
} | null;
|
|
737
803
|
};
|
|
738
804
|
type: import("../../_gqlTypes").AttributeType;
|
|
739
805
|
label: string;
|
|
@@ -786,6 +852,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
786
852
|
} | null;
|
|
787
853
|
smart_filter?: {
|
|
788
854
|
enable: boolean;
|
|
855
|
+
through?: {
|
|
856
|
+
id: string;
|
|
857
|
+
} | null;
|
|
789
858
|
} | null;
|
|
790
859
|
permissions: {
|
|
791
860
|
access_attribute: boolean;
|
|
@@ -796,6 +865,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
796
865
|
};
|
|
797
866
|
smartFilter?: {
|
|
798
867
|
enable?: boolean;
|
|
868
|
+
through?: {
|
|
869
|
+
id: string;
|
|
870
|
+
} | null;
|
|
799
871
|
};
|
|
800
872
|
type: import("../../_gqlTypes").AttributeType;
|
|
801
873
|
label: string;
|
|
@@ -826,6 +898,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
826
898
|
} | null;
|
|
827
899
|
smart_filter?: {
|
|
828
900
|
enable: boolean;
|
|
901
|
+
through?: {
|
|
902
|
+
id: string;
|
|
903
|
+
} | null;
|
|
829
904
|
} | null;
|
|
830
905
|
permissions: {
|
|
831
906
|
access_attribute: boolean;
|
|
@@ -863,6 +938,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
863
938
|
} | null;
|
|
864
939
|
smart_filter?: {
|
|
865
940
|
enable: boolean;
|
|
941
|
+
through?: {
|
|
942
|
+
id: string;
|
|
943
|
+
} | null;
|
|
866
944
|
} | null;
|
|
867
945
|
permissions: {
|
|
868
946
|
access_attribute: boolean;
|
|
@@ -879,6 +957,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
879
957
|
} | null;
|
|
880
958
|
smart_filter?: {
|
|
881
959
|
enable: boolean;
|
|
960
|
+
through?: {
|
|
961
|
+
id: string;
|
|
962
|
+
} | null;
|
|
882
963
|
} | null;
|
|
883
964
|
permissions: {
|
|
884
965
|
access_attribute: boolean;
|
|
@@ -889,6 +970,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
889
970
|
};
|
|
890
971
|
smartFilter?: {
|
|
891
972
|
enable?: boolean;
|
|
973
|
+
through?: {
|
|
974
|
+
id: string;
|
|
975
|
+
} | null;
|
|
892
976
|
};
|
|
893
977
|
type: import("../../_gqlTypes").AttributeType;
|
|
894
978
|
label: string;
|
|
@@ -901,6 +985,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
901
985
|
} | null;
|
|
902
986
|
smart_filter?: {
|
|
903
987
|
enable: boolean;
|
|
988
|
+
through?: {
|
|
989
|
+
id: string;
|
|
990
|
+
} | null;
|
|
904
991
|
} | null;
|
|
905
992
|
permissions: {
|
|
906
993
|
access_attribute: boolean;
|
|
@@ -943,6 +1030,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
943
1030
|
};
|
|
944
1031
|
smartFilter?: {
|
|
945
1032
|
enable?: boolean;
|
|
1033
|
+
through?: {
|
|
1034
|
+
id: string;
|
|
1035
|
+
} | null;
|
|
946
1036
|
};
|
|
947
1037
|
type: import("../../_gqlTypes").AttributeType;
|
|
948
1038
|
label: string;
|
|
@@ -1030,6 +1120,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
1030
1120
|
};
|
|
1031
1121
|
smartFilter?: {
|
|
1032
1122
|
enable?: boolean;
|
|
1123
|
+
through?: {
|
|
1124
|
+
id: string;
|
|
1125
|
+
} | null;
|
|
1033
1126
|
};
|
|
1034
1127
|
type: import("../../_gqlTypes").AttributeType;
|
|
1035
1128
|
label: string;
|
|
@@ -1063,6 +1156,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
1063
1156
|
};
|
|
1064
1157
|
smartFilter?: {
|
|
1065
1158
|
enable?: boolean;
|
|
1159
|
+
through?: {
|
|
1160
|
+
id: string;
|
|
1161
|
+
} | null;
|
|
1066
1162
|
};
|
|
1067
1163
|
type: import("../../_gqlTypes").AttributeType;
|
|
1068
1164
|
label: string;
|
|
@@ -1111,6 +1207,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
1111
1207
|
};
|
|
1112
1208
|
smartFilter?: {
|
|
1113
1209
|
enable?: boolean;
|
|
1210
|
+
through?: {
|
|
1211
|
+
id: string;
|
|
1212
|
+
} | null;
|
|
1114
1213
|
};
|
|
1115
1214
|
type: import("../../_gqlTypes").AttributeType;
|
|
1116
1215
|
label: string;
|
|
@@ -1165,6 +1264,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
1165
1264
|
} | null;
|
|
1166
1265
|
smart_filter?: {
|
|
1167
1266
|
enable: boolean;
|
|
1267
|
+
through?: {
|
|
1268
|
+
id: string;
|
|
1269
|
+
} | null;
|
|
1168
1270
|
} | null;
|
|
1169
1271
|
permissions: {
|
|
1170
1272
|
access_attribute: boolean;
|
|
@@ -1175,6 +1277,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
1175
1277
|
};
|
|
1176
1278
|
smartFilter?: {
|
|
1177
1279
|
enable?: boolean;
|
|
1280
|
+
through?: {
|
|
1281
|
+
id: string;
|
|
1282
|
+
} | null;
|
|
1178
1283
|
};
|
|
1179
1284
|
type: import("../../_gqlTypes").AttributeType;
|
|
1180
1285
|
label: string;
|
|
@@ -1205,6 +1310,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
1205
1310
|
} | null;
|
|
1206
1311
|
smart_filter?: {
|
|
1207
1312
|
enable: boolean;
|
|
1313
|
+
through?: {
|
|
1314
|
+
id: string;
|
|
1315
|
+
} | null;
|
|
1208
1316
|
} | null;
|
|
1209
1317
|
permissions: {
|
|
1210
1318
|
access_attribute: boolean;
|
|
@@ -1242,6 +1350,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
1242
1350
|
} | null;
|
|
1243
1351
|
smart_filter?: {
|
|
1244
1352
|
enable: boolean;
|
|
1353
|
+
through?: {
|
|
1354
|
+
id: string;
|
|
1355
|
+
} | null;
|
|
1245
1356
|
} | null;
|
|
1246
1357
|
permissions: {
|
|
1247
1358
|
access_attribute: boolean;
|
|
@@ -1258,6 +1369,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
1258
1369
|
} | null;
|
|
1259
1370
|
smart_filter?: {
|
|
1260
1371
|
enable: boolean;
|
|
1372
|
+
through?: {
|
|
1373
|
+
id: string;
|
|
1374
|
+
} | null;
|
|
1261
1375
|
} | null;
|
|
1262
1376
|
permissions: {
|
|
1263
1377
|
access_attribute: boolean;
|
|
@@ -1268,6 +1382,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
1268
1382
|
};
|
|
1269
1383
|
smartFilter?: {
|
|
1270
1384
|
enable?: boolean;
|
|
1385
|
+
through?: {
|
|
1386
|
+
id: string;
|
|
1387
|
+
} | null;
|
|
1271
1388
|
};
|
|
1272
1389
|
type: import("../../_gqlTypes").AttributeType;
|
|
1273
1390
|
label: string;
|
|
@@ -1280,6 +1397,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
1280
1397
|
} | null;
|
|
1281
1398
|
smart_filter?: {
|
|
1282
1399
|
enable: boolean;
|
|
1400
|
+
through?: {
|
|
1401
|
+
id: string;
|
|
1402
|
+
} | null;
|
|
1283
1403
|
} | null;
|
|
1284
1404
|
permissions: {
|
|
1285
1405
|
access_attribute: boolean;
|
|
@@ -1322,6 +1442,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
1322
1442
|
};
|
|
1323
1443
|
smartFilter?: {
|
|
1324
1444
|
enable?: boolean;
|
|
1445
|
+
through?: {
|
|
1446
|
+
id: string;
|
|
1447
|
+
} | null;
|
|
1325
1448
|
};
|
|
1326
1449
|
type: import("../../_gqlTypes").AttributeType;
|
|
1327
1450
|
label: string;
|
|
@@ -1409,6 +1532,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
1409
1532
|
};
|
|
1410
1533
|
smartFilter?: {
|
|
1411
1534
|
enable?: boolean;
|
|
1535
|
+
through?: {
|
|
1536
|
+
id: string;
|
|
1537
|
+
} | null;
|
|
1412
1538
|
};
|
|
1413
1539
|
type: import("../../_gqlTypes").AttributeType;
|
|
1414
1540
|
label: string;
|
|
@@ -1442,6 +1568,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
1442
1568
|
};
|
|
1443
1569
|
smartFilter?: {
|
|
1444
1570
|
enable?: boolean;
|
|
1571
|
+
through?: {
|
|
1572
|
+
id: string;
|
|
1573
|
+
} | null;
|
|
1445
1574
|
};
|
|
1446
1575
|
type: import("../../_gqlTypes").AttributeType;
|
|
1447
1576
|
label: string;
|
|
@@ -1490,6 +1619,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
1490
1619
|
};
|
|
1491
1620
|
smartFilter?: {
|
|
1492
1621
|
enable?: boolean;
|
|
1622
|
+
through?: {
|
|
1623
|
+
id: string;
|
|
1624
|
+
} | null;
|
|
1493
1625
|
};
|
|
1494
1626
|
type: import("../../_gqlTypes").AttributeType;
|
|
1495
1627
|
label: string;
|
|
@@ -1541,6 +1673,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
1541
1673
|
} | null;
|
|
1542
1674
|
smart_filter?: {
|
|
1543
1675
|
enable: boolean;
|
|
1676
|
+
through?: {
|
|
1677
|
+
id: string;
|
|
1678
|
+
} | null;
|
|
1544
1679
|
} | null;
|
|
1545
1680
|
permissions: {
|
|
1546
1681
|
access_attribute: boolean;
|
|
@@ -1551,6 +1686,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
1551
1686
|
};
|
|
1552
1687
|
smartFilter?: {
|
|
1553
1688
|
enable?: boolean;
|
|
1689
|
+
through?: {
|
|
1690
|
+
id: string;
|
|
1691
|
+
} | null;
|
|
1554
1692
|
};
|
|
1555
1693
|
type: import("../../_gqlTypes").AttributeType;
|
|
1556
1694
|
label: string;
|
|
@@ -1581,6 +1719,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
1581
1719
|
} | null;
|
|
1582
1720
|
smart_filter?: {
|
|
1583
1721
|
enable: boolean;
|
|
1722
|
+
through?: {
|
|
1723
|
+
id: string;
|
|
1724
|
+
} | null;
|
|
1584
1725
|
} | null;
|
|
1585
1726
|
permissions: {
|
|
1586
1727
|
access_attribute: boolean;
|
|
@@ -1618,6 +1759,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
1618
1759
|
} | null;
|
|
1619
1760
|
smart_filter?: {
|
|
1620
1761
|
enable: boolean;
|
|
1762
|
+
through?: {
|
|
1763
|
+
id: string;
|
|
1764
|
+
} | null;
|
|
1621
1765
|
} | null;
|
|
1622
1766
|
permissions: {
|
|
1623
1767
|
access_attribute: boolean;
|
|
@@ -1634,6 +1778,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
1634
1778
|
} | null;
|
|
1635
1779
|
smart_filter?: {
|
|
1636
1780
|
enable: boolean;
|
|
1781
|
+
through?: {
|
|
1782
|
+
id: string;
|
|
1783
|
+
} | null;
|
|
1637
1784
|
} | null;
|
|
1638
1785
|
permissions: {
|
|
1639
1786
|
access_attribute: boolean;
|
|
@@ -1644,6 +1791,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
1644
1791
|
};
|
|
1645
1792
|
smartFilter?: {
|
|
1646
1793
|
enable?: boolean;
|
|
1794
|
+
through?: {
|
|
1795
|
+
id: string;
|
|
1796
|
+
} | null;
|
|
1647
1797
|
};
|
|
1648
1798
|
type: import("../../_gqlTypes").AttributeType;
|
|
1649
1799
|
label: string;
|
|
@@ -1656,6 +1806,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
1656
1806
|
} | null;
|
|
1657
1807
|
smart_filter?: {
|
|
1658
1808
|
enable: boolean;
|
|
1809
|
+
through?: {
|
|
1810
|
+
id: string;
|
|
1811
|
+
} | null;
|
|
1659
1812
|
} | null;
|
|
1660
1813
|
permissions: {
|
|
1661
1814
|
access_attribute: boolean;
|
|
@@ -1698,6 +1851,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
1698
1851
|
};
|
|
1699
1852
|
smartFilter?: {
|
|
1700
1853
|
enable?: boolean;
|
|
1854
|
+
through?: {
|
|
1855
|
+
id: string;
|
|
1856
|
+
} | null;
|
|
1701
1857
|
};
|
|
1702
1858
|
type: import("../../_gqlTypes").AttributeType;
|
|
1703
1859
|
label: string;
|
|
@@ -1785,6 +1941,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
1785
1941
|
};
|
|
1786
1942
|
smartFilter?: {
|
|
1787
1943
|
enable?: boolean;
|
|
1944
|
+
through?: {
|
|
1945
|
+
id: string;
|
|
1946
|
+
} | null;
|
|
1788
1947
|
};
|
|
1789
1948
|
type: import("../../_gqlTypes").AttributeType;
|
|
1790
1949
|
label: string;
|
|
@@ -1818,6 +1977,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
1818
1977
|
};
|
|
1819
1978
|
smartFilter?: {
|
|
1820
1979
|
enable?: boolean;
|
|
1980
|
+
through?: {
|
|
1981
|
+
id: string;
|
|
1982
|
+
} | null;
|
|
1821
1983
|
};
|
|
1822
1984
|
type: import("../../_gqlTypes").AttributeType;
|
|
1823
1985
|
label: string;
|
|
@@ -1866,6 +2028,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
1866
2028
|
};
|
|
1867
2029
|
smartFilter?: {
|
|
1868
2030
|
enable?: boolean;
|
|
2031
|
+
through?: {
|
|
2032
|
+
id: string;
|
|
2033
|
+
} | null;
|
|
1869
2034
|
};
|
|
1870
2035
|
type: import("../../_gqlTypes").AttributeType;
|
|
1871
2036
|
label: string;
|
|
@@ -1922,6 +2087,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
1922
2087
|
} | null;
|
|
1923
2088
|
smart_filter?: {
|
|
1924
2089
|
enable: boolean;
|
|
2090
|
+
through?: {
|
|
2091
|
+
id: string;
|
|
2092
|
+
} | null;
|
|
1925
2093
|
} | null;
|
|
1926
2094
|
permissions: {
|
|
1927
2095
|
access_attribute: boolean;
|
|
@@ -1932,6 +2100,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
1932
2100
|
};
|
|
1933
2101
|
smartFilter?: {
|
|
1934
2102
|
enable?: boolean;
|
|
2103
|
+
through?: {
|
|
2104
|
+
id: string;
|
|
2105
|
+
} | null;
|
|
1935
2106
|
};
|
|
1936
2107
|
type: import("../../_gqlTypes").AttributeType;
|
|
1937
2108
|
label: string;
|
|
@@ -1962,6 +2133,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
1962
2133
|
} | null;
|
|
1963
2134
|
smart_filter?: {
|
|
1964
2135
|
enable: boolean;
|
|
2136
|
+
through?: {
|
|
2137
|
+
id: string;
|
|
2138
|
+
} | null;
|
|
1965
2139
|
} | null;
|
|
1966
2140
|
permissions: {
|
|
1967
2141
|
access_attribute: boolean;
|
|
@@ -1999,6 +2173,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
1999
2173
|
} | null;
|
|
2000
2174
|
smart_filter?: {
|
|
2001
2175
|
enable: boolean;
|
|
2176
|
+
through?: {
|
|
2177
|
+
id: string;
|
|
2178
|
+
} | null;
|
|
2002
2179
|
} | null;
|
|
2003
2180
|
permissions: {
|
|
2004
2181
|
access_attribute: boolean;
|
|
@@ -2015,6 +2192,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
2015
2192
|
} | null;
|
|
2016
2193
|
smart_filter?: {
|
|
2017
2194
|
enable: boolean;
|
|
2195
|
+
through?: {
|
|
2196
|
+
id: string;
|
|
2197
|
+
} | null;
|
|
2018
2198
|
} | null;
|
|
2019
2199
|
permissions: {
|
|
2020
2200
|
access_attribute: boolean;
|
|
@@ -2025,6 +2205,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
2025
2205
|
};
|
|
2026
2206
|
smartFilter?: {
|
|
2027
2207
|
enable?: boolean;
|
|
2208
|
+
through?: {
|
|
2209
|
+
id: string;
|
|
2210
|
+
} | null;
|
|
2028
2211
|
};
|
|
2029
2212
|
type: import("../../_gqlTypes").AttributeType;
|
|
2030
2213
|
label: string;
|
|
@@ -2037,6 +2220,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
2037
2220
|
} | null;
|
|
2038
2221
|
smart_filter?: {
|
|
2039
2222
|
enable: boolean;
|
|
2223
|
+
through?: {
|
|
2224
|
+
id: string;
|
|
2225
|
+
} | null;
|
|
2040
2226
|
} | null;
|
|
2041
2227
|
permissions: {
|
|
2042
2228
|
access_attribute: boolean;
|
|
@@ -2079,6 +2265,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
2079
2265
|
};
|
|
2080
2266
|
smartFilter?: {
|
|
2081
2267
|
enable?: boolean;
|
|
2268
|
+
through?: {
|
|
2269
|
+
id: string;
|
|
2270
|
+
} | null;
|
|
2082
2271
|
};
|
|
2083
2272
|
type: import("../../_gqlTypes").AttributeType;
|
|
2084
2273
|
label: string;
|
|
@@ -2166,6 +2355,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
2166
2355
|
};
|
|
2167
2356
|
smartFilter?: {
|
|
2168
2357
|
enable?: boolean;
|
|
2358
|
+
through?: {
|
|
2359
|
+
id: string;
|
|
2360
|
+
} | null;
|
|
2169
2361
|
};
|
|
2170
2362
|
type: import("../../_gqlTypes").AttributeType;
|
|
2171
2363
|
label: string;
|
|
@@ -2199,6 +2391,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
2199
2391
|
};
|
|
2200
2392
|
smartFilter?: {
|
|
2201
2393
|
enable?: boolean;
|
|
2394
|
+
through?: {
|
|
2395
|
+
id: string;
|
|
2396
|
+
} | null;
|
|
2202
2397
|
};
|
|
2203
2398
|
type: import("../../_gqlTypes").AttributeType;
|
|
2204
2399
|
label: string;
|
|
@@ -2247,6 +2442,9 @@ export declare const useFilters: (pinFilters?: boolean) => {
|
|
|
2247
2442
|
};
|
|
2248
2443
|
smartFilter?: {
|
|
2249
2444
|
enable?: boolean;
|
|
2445
|
+
through?: {
|
|
2446
|
+
id: string;
|
|
2447
|
+
} | null;
|
|
2250
2448
|
};
|
|
2251
2449
|
type: import("../../_gqlTypes").AttributeType;
|
|
2252
2450
|
label: string;
|
|
@@ -27,10 +27,12 @@ export const useTransformFilters = () => {
|
|
|
27
27
|
}
|
|
28
28
|
const _isThroughFilter = filter.field.includes('.');
|
|
29
29
|
if (_isThroughFilter) {
|
|
30
|
-
|
|
30
|
+
// Hack because view filters does not have the necessary data to be transformed directly to UI filter,
|
|
31
|
+
// we need to split the field to get the subCondition and subField for through filter, may be fix after LEAVC-569
|
|
32
|
+
const [field, ...subFields] = filter.field.split('.');
|
|
31
33
|
const throughFilter = {
|
|
32
34
|
field,
|
|
33
|
-
subField,
|
|
35
|
+
subField: subFields.join('.'),
|
|
34
36
|
value: filter.value ?? null,
|
|
35
37
|
hidden: filter.hidden ?? false,
|
|
36
38
|
condition: ThroughConditionFilter.THROUGH,
|