@ironsource/shared-ui 2.1.11-test.2 → 2.1.11-test.27
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/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_f9a13e27_lang.css +1 -0
- package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_1aa6df01_lang.css +1 -0
- package/Chart.vue_vue_type_style_index_0_scoped_8f471697_lang.css +1 -0
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_039dd922_lang.css +1 -0
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_2aee12ad_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_2406226b_lang.css +1 -0
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_309e5351_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_6466948d_lang.css +1 -0
- package/FiltersPanelV4.vue_vue_type_style_index_0_scoped_111b200a_lang.css +1 -0
- package/InlineCopy.vue_vue_type_style_index_0_scoped_ad48b61e_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_2c2947b3_lang.css +1 -0
- package/PopoverV4.vue_vue_type_style_index_0_scoped_66694b4e_lang.css +1 -0
- package/README.md +4 -15
- package/SettingsHeader.vue_vue_type_style_index_0_scoped_9b6cd9d9_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_2e327aa1_lang.css +1 -0
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_c81a7d3e_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_82b46d6d_lang.css +1 -0
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_bdfb0aef_lang.css +1 -0
- package/components/autocomplete/Autocomplete.vue2.js +3 -2
- package/components/button/v4/ToggleButtonGroupAB.vue.d.ts +3 -1
- package/components/button/v4/ToggleButtonGroupAB.vue.js +2 -2
- package/components/button/v4/ToggleButtonGroupAB.vue2.js +44 -39
- package/components/button/v4/index.d.ts +9 -3
- package/components/chart/Chart.vue.js +5 -5
- package/components/chart/Chart.vue2.js +48 -46
- package/components/chart/SettingsHeader.vue.js +3 -3
- package/components/chart/SettingsHeader.vue2.js +34 -26
- package/components/datePicker/v4/DatePickerV4.vue2.js +8 -7
- package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
- package/components/dateRange/v4/DateRangeV4.vue2.js +9 -9
- package/components/dropdown/common/Dropdown.common.js +191 -184
- package/components/dropdown/v3/Dropdown.vue.d.ts +2 -2
- package/components/dropdown/v3/index.d.ts +39 -39
- package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +1 -1
- package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +6 -6
- package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue2.js +7 -7
- package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +10 -0
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +73 -47
- package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +90 -0
- package/components/dropdown/v4/ConditionalDropdown.vue.js +7 -0
- package/components/dropdown/v4/ConditionalDropdown.vue2.js +185 -0
- package/components/dropdown/v4/DropdownV4.vue.d.ts +31 -6
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +224 -198
- package/components/dropdown/v4/OptionV4.vue.d.ts +10 -0
- package/components/dropdown/v4/OptionV4.vue.js +2 -2
- package/components/dropdown/v4/OptionV4.vue2.js +135 -98
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +6 -1
- package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
- package/components/dropdown/v4/TreeDropdown.vue2.js +210 -168
- package/components/dropdown/v4/index.d.ts +402 -87
- package/components/dropdown/v4/index.js +6 -3
- package/components/filtersPanel/v4/FiltersPanelV4.vue.js +3 -3
- package/components/filtersPanel/v4/FiltersPanelV4.vue2.js +8 -9
- package/components/icon/v4/consts.d.ts +1 -1
- package/components/icon/v4/consts.js +1 -1
- package/components/inlineCopy/InlineCopy.vue.d.ts +5 -0
- package/components/inlineCopy/InlineCopy.vue.js +2 -2
- package/components/inlineCopy/InlineCopy.vue2.js +24 -22
- package/components/inlineCopy/index.d.ts +9 -0
- package/components/input/v4/TextField.vue.js +3 -3
- package/components/input/v4/TextField.vue2.js +12 -12
- package/components/multibar/MultiBarMenu.vue2.js +3 -2
- package/components/popover/v4/PopoverV4.vue.d.ts +14 -2
- package/components/popover/v4/PopoverV4.vue.js +4 -3
- package/components/popover/v4/PopoverV4.vue2.js +40 -24
- package/components/popover/v4/index.d.ts +55 -11
- package/components/sortableList/SortableList.vue.d.ts +1 -1
- package/components/sortableList/index.d.ts +4 -4
- package/components/table/common/Table.common.js +69 -71
- package/components/table/common/Table.types.d.ts +1 -1
- package/components/table/v3/Table.vue.d.ts +1 -1
- package/components/table/v3/index.d.ts +5 -5
- package/components/table/v4/DataGrid.vue.d.ts +6 -1
- package/components/table/v4/DataGrid.vue.js +3 -3
- package/components/table/v4/DataGrid.vue2.js +124 -117
- package/components/table/v4/DataGridMenu.vue2.js +3 -2
- package/components/table/v4/index.d.ts +26 -7
- package/components/tooltip/v4/TooltipV4.vue.d.ts +10 -0
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +24 -21
- package/components/tooltip/v4/index.d.ts +39 -1
- package/design-foundation.stories/icons/iconsData.d.ts +1 -1
- package/index.d.ts +1123 -262
- package/index.js +1 -1
- package/mocks/options.d.ts +48 -2
- package/mocks/words.d.ts +1 -1
- package/package.json +3 -2
- package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_76c74f58_lang.css +0 -1
- package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_7f750550_lang.css +0 -1
- package/Chart.vue_vue_type_style_index_0_scoped_ea1e5c3e_lang.css +0 -1
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_49bd7193_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_0cd8af73_lang.css +0 -1
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_f81413ec_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_991a7aad_lang.css +0 -1
- package/FiltersPanelV4.vue_vue_type_style_index_0_scoped_39061862_lang.css +0 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_893a203c_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_4070942a_lang.css +0 -1
- package/PopoverV4.vue_vue_type_style_index_0_scoped_74bbce13_lang.css +0 -1
- package/SettingsHeader.vue_vue_type_style_index_0_scoped_1791e4fe_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_4d9bf5b2_lang.css +0 -1
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_9d9e51c0_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_fcdb9d02_lang.css +0 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_c361375a_lang.css +0 -1
|
@@ -22,6 +22,7 @@ declare const DropdownTypes: () => (({
|
|
|
22
22
|
skidding: number;
|
|
23
23
|
modelValue: any;
|
|
24
24
|
selected: any;
|
|
25
|
+
valueToCopy: string;
|
|
25
26
|
placeholder: string;
|
|
26
27
|
autoFocus: boolean;
|
|
27
28
|
multi: boolean;
|
|
@@ -33,9 +34,8 @@ declare const DropdownTypes: () => (({
|
|
|
33
34
|
inlineSearch: boolean;
|
|
34
35
|
onSearch: (option: any, term: string) => boolean;
|
|
35
36
|
noResultsText: string;
|
|
36
|
-
valueToCopy: string;
|
|
37
|
-
helperText: string;
|
|
38
37
|
searchPlaceholder: string;
|
|
38
|
+
helperText: string;
|
|
39
39
|
showButtonOnOpen: boolean;
|
|
40
40
|
clearable: boolean;
|
|
41
41
|
multiOptionsPlaceholderPrefix: string;
|
|
@@ -93,13 +93,13 @@ declare const DropdownTypes: () => (({
|
|
|
93
93
|
type: import("vue").PropType<string>;
|
|
94
94
|
default: string;
|
|
95
95
|
};
|
|
96
|
+
isOpen: {
|
|
97
|
+
type: import("vue").PropType<boolean>;
|
|
98
|
+
};
|
|
96
99
|
skidding: {
|
|
97
100
|
type: import("vue").PropType<number>;
|
|
98
101
|
default: number;
|
|
99
102
|
};
|
|
100
|
-
isOpen: {
|
|
101
|
-
type: import("vue").PropType<boolean>;
|
|
102
|
-
};
|
|
103
103
|
modelValue: {
|
|
104
104
|
type: import("vue").PropType<unknown>;
|
|
105
105
|
default: any;
|
|
@@ -108,6 +108,10 @@ declare const DropdownTypes: () => (({
|
|
|
108
108
|
type: import("vue").PropType<unknown>;
|
|
109
109
|
default: any;
|
|
110
110
|
};
|
|
111
|
+
valueToCopy: {
|
|
112
|
+
type: import("vue").PropType<string>;
|
|
113
|
+
default: string;
|
|
114
|
+
};
|
|
111
115
|
options: {
|
|
112
116
|
type: import("vue").PropType<any[]>;
|
|
113
117
|
required: true;
|
|
@@ -163,7 +167,7 @@ declare const DropdownTypes: () => (({
|
|
|
163
167
|
type: import("vue").PropType<(option: unknown) => string>;
|
|
164
168
|
required: true;
|
|
165
169
|
};
|
|
166
|
-
|
|
170
|
+
searchPlaceholder: {
|
|
167
171
|
type: import("vue").PropType<string>;
|
|
168
172
|
default: string;
|
|
169
173
|
};
|
|
@@ -171,10 +175,6 @@ declare const DropdownTypes: () => (({
|
|
|
171
175
|
type: import("vue").PropType<string>;
|
|
172
176
|
default: string;
|
|
173
177
|
};
|
|
174
|
-
searchPlaceholder: {
|
|
175
|
-
type: import("vue").PropType<string>;
|
|
176
|
-
default: string;
|
|
177
|
-
};
|
|
178
178
|
showButtonOnOpen: {
|
|
179
179
|
type: import("vue").PropType<boolean>;
|
|
180
180
|
default: boolean;
|
|
@@ -203,7 +203,7 @@ declare const DropdownTypes: () => (({
|
|
|
203
203
|
"onUpdate:isOpen"?: (value: unknown) => any;
|
|
204
204
|
onOpened?: () => any;
|
|
205
205
|
onClosed?: () => any;
|
|
206
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "theme" | "testId" | "placement" | "disabled" | "distance" | "container" | "popperClass" | "size" | "flip" | "mandatory" | "error" | "skidding" | "modelValue" | "selected" | "placeholder" | "autoFocus" | "multi" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "inlineSearch" | "onSearch" | "noResultsText" | "
|
|
206
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "theme" | "testId" | "placement" | "disabled" | "distance" | "container" | "popperClass" | "size" | "flip" | "mandatory" | "error" | "skidding" | "modelValue" | "selected" | "valueToCopy" | "placeholder" | "autoFocus" | "multi" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "inlineSearch" | "onSearch" | "noResultsText" | "searchPlaceholder" | "helperText" | "showButtonOnOpen" | "clearable" | "multiOptionsPlaceholderPrefix" | "multiOptionsPlaceholderSuffix" | "darkTheme">;
|
|
207
207
|
$attrs: {
|
|
208
208
|
[x: string]: unknown;
|
|
209
209
|
};
|
|
@@ -269,13 +269,13 @@ declare const DropdownTypes: () => (({
|
|
|
269
269
|
type: import("vue").PropType<string>;
|
|
270
270
|
default: string;
|
|
271
271
|
};
|
|
272
|
+
isOpen: {
|
|
273
|
+
type: import("vue").PropType<boolean>;
|
|
274
|
+
};
|
|
272
275
|
skidding: {
|
|
273
276
|
type: import("vue").PropType<number>;
|
|
274
277
|
default: number;
|
|
275
278
|
};
|
|
276
|
-
isOpen: {
|
|
277
|
-
type: import("vue").PropType<boolean>;
|
|
278
|
-
};
|
|
279
279
|
modelValue: {
|
|
280
280
|
type: import("vue").PropType<unknown>;
|
|
281
281
|
default: any;
|
|
@@ -284,6 +284,10 @@ declare const DropdownTypes: () => (({
|
|
|
284
284
|
type: import("vue").PropType<unknown>;
|
|
285
285
|
default: any;
|
|
286
286
|
};
|
|
287
|
+
valueToCopy: {
|
|
288
|
+
type: import("vue").PropType<string>;
|
|
289
|
+
default: string;
|
|
290
|
+
};
|
|
287
291
|
options: {
|
|
288
292
|
type: import("vue").PropType<any[]>;
|
|
289
293
|
required: true;
|
|
@@ -339,7 +343,7 @@ declare const DropdownTypes: () => (({
|
|
|
339
343
|
type: import("vue").PropType<(option: unknown) => string>;
|
|
340
344
|
required: true;
|
|
341
345
|
};
|
|
342
|
-
|
|
346
|
+
searchPlaceholder: {
|
|
343
347
|
type: import("vue").PropType<string>;
|
|
344
348
|
default: string;
|
|
345
349
|
};
|
|
@@ -347,10 +351,6 @@ declare const DropdownTypes: () => (({
|
|
|
347
351
|
type: import("vue").PropType<string>;
|
|
348
352
|
default: string;
|
|
349
353
|
};
|
|
350
|
-
searchPlaceholder: {
|
|
351
|
-
type: import("vue").PropType<string>;
|
|
352
|
-
default: string;
|
|
353
|
-
};
|
|
354
354
|
showButtonOnOpen: {
|
|
355
355
|
type: import("vue").PropType<boolean>;
|
|
356
356
|
default: boolean;
|
|
@@ -406,6 +406,7 @@ declare const DropdownTypes: () => (({
|
|
|
406
406
|
skidding: number;
|
|
407
407
|
modelValue: any;
|
|
408
408
|
selected: any;
|
|
409
|
+
valueToCopy: string;
|
|
409
410
|
placeholder: string;
|
|
410
411
|
autoFocus: boolean;
|
|
411
412
|
multi: boolean;
|
|
@@ -417,9 +418,8 @@ declare const DropdownTypes: () => (({
|
|
|
417
418
|
inlineSearch: boolean;
|
|
418
419
|
onSearch: (option: any, term: string) => boolean;
|
|
419
420
|
noResultsText: string;
|
|
420
|
-
valueToCopy: string;
|
|
421
|
-
helperText: string;
|
|
422
421
|
searchPlaceholder: string;
|
|
422
|
+
helperText: string;
|
|
423
423
|
showButtonOnOpen: boolean;
|
|
424
424
|
clearable: boolean;
|
|
425
425
|
multiOptionsPlaceholderPrefix: string;
|
|
@@ -497,13 +497,13 @@ declare const DropdownTypes: () => (({
|
|
|
497
497
|
type: import("vue").PropType<string>;
|
|
498
498
|
default: string;
|
|
499
499
|
};
|
|
500
|
+
isOpen: {
|
|
501
|
+
type: import("vue").PropType<boolean>;
|
|
502
|
+
};
|
|
500
503
|
skidding: {
|
|
501
504
|
type: import("vue").PropType<number>;
|
|
502
505
|
default: number;
|
|
503
506
|
};
|
|
504
|
-
isOpen: {
|
|
505
|
-
type: import("vue").PropType<boolean>;
|
|
506
|
-
};
|
|
507
507
|
modelValue: {
|
|
508
508
|
type: import("vue").PropType<unknown>;
|
|
509
509
|
default: any;
|
|
@@ -512,6 +512,10 @@ declare const DropdownTypes: () => (({
|
|
|
512
512
|
type: import("vue").PropType<unknown>;
|
|
513
513
|
default: any;
|
|
514
514
|
};
|
|
515
|
+
valueToCopy: {
|
|
516
|
+
type: import("vue").PropType<string>;
|
|
517
|
+
default: string;
|
|
518
|
+
};
|
|
515
519
|
options: {
|
|
516
520
|
type: import("vue").PropType<any[]>;
|
|
517
521
|
required: true;
|
|
@@ -567,7 +571,7 @@ declare const DropdownTypes: () => (({
|
|
|
567
571
|
type: import("vue").PropType<(option: unknown) => string>;
|
|
568
572
|
required: true;
|
|
569
573
|
};
|
|
570
|
-
|
|
574
|
+
searchPlaceholder: {
|
|
571
575
|
type: import("vue").PropType<string>;
|
|
572
576
|
default: string;
|
|
573
577
|
};
|
|
@@ -575,10 +579,6 @@ declare const DropdownTypes: () => (({
|
|
|
575
579
|
type: import("vue").PropType<string>;
|
|
576
580
|
default: string;
|
|
577
581
|
};
|
|
578
|
-
searchPlaceholder: {
|
|
579
|
-
type: import("vue").PropType<string>;
|
|
580
|
-
default: string;
|
|
581
|
-
};
|
|
582
582
|
showButtonOnOpen: {
|
|
583
583
|
type: import("vue").PropType<boolean>;
|
|
584
584
|
default: boolean;
|
|
@@ -666,13 +666,13 @@ declare const DropdownTypes: () => (({
|
|
|
666
666
|
type: import("vue").PropType<string>;
|
|
667
667
|
default: string;
|
|
668
668
|
};
|
|
669
|
+
isOpen: {
|
|
670
|
+
type: import("vue").PropType<boolean>;
|
|
671
|
+
};
|
|
669
672
|
skidding: {
|
|
670
673
|
type: import("vue").PropType<number>;
|
|
671
674
|
default: number;
|
|
672
675
|
};
|
|
673
|
-
isOpen: {
|
|
674
|
-
type: import("vue").PropType<boolean>;
|
|
675
|
-
};
|
|
676
676
|
modelValue: {
|
|
677
677
|
type: import("vue").PropType<unknown>;
|
|
678
678
|
default: any;
|
|
@@ -681,6 +681,10 @@ declare const DropdownTypes: () => (({
|
|
|
681
681
|
type: import("vue").PropType<unknown>;
|
|
682
682
|
default: any;
|
|
683
683
|
};
|
|
684
|
+
valueToCopy: {
|
|
685
|
+
type: import("vue").PropType<string>;
|
|
686
|
+
default: string;
|
|
687
|
+
};
|
|
684
688
|
options: {
|
|
685
689
|
type: import("vue").PropType<any[]>;
|
|
686
690
|
required: true;
|
|
@@ -736,7 +740,7 @@ declare const DropdownTypes: () => (({
|
|
|
736
740
|
type: import("vue").PropType<(option: unknown) => string>;
|
|
737
741
|
required: true;
|
|
738
742
|
};
|
|
739
|
-
|
|
743
|
+
searchPlaceholder: {
|
|
740
744
|
type: import("vue").PropType<string>;
|
|
741
745
|
default: string;
|
|
742
746
|
};
|
|
@@ -744,10 +748,6 @@ declare const DropdownTypes: () => (({
|
|
|
744
748
|
type: import("vue").PropType<string>;
|
|
745
749
|
default: string;
|
|
746
750
|
};
|
|
747
|
-
searchPlaceholder: {
|
|
748
|
-
type: import("vue").PropType<string>;
|
|
749
|
-
default: string;
|
|
750
|
-
};
|
|
751
751
|
showButtonOnOpen: {
|
|
752
752
|
type: import("vue").PropType<boolean>;
|
|
753
753
|
default: boolean;
|
|
@@ -803,6 +803,7 @@ declare const DropdownTypes: () => (({
|
|
|
803
803
|
skidding: number;
|
|
804
804
|
modelValue: any;
|
|
805
805
|
selected: any;
|
|
806
|
+
valueToCopy: string;
|
|
806
807
|
placeholder: string;
|
|
807
808
|
autoFocus: boolean;
|
|
808
809
|
multi: boolean;
|
|
@@ -814,9 +815,8 @@ declare const DropdownTypes: () => (({
|
|
|
814
815
|
inlineSearch: boolean;
|
|
815
816
|
onSearch: (option: any, term: string) => boolean;
|
|
816
817
|
noResultsText: string;
|
|
817
|
-
valueToCopy: string;
|
|
818
|
-
helperText: string;
|
|
819
818
|
searchPlaceholder: string;
|
|
819
|
+
helperText: string;
|
|
820
820
|
showButtonOnOpen: boolean;
|
|
821
821
|
clearable: boolean;
|
|
822
822
|
multiOptionsPlaceholderPrefix: string;
|
|
@@ -106,6 +106,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
106
106
|
open: boolean;
|
|
107
107
|
mandatory: boolean;
|
|
108
108
|
loading: boolean;
|
|
109
|
+
valueToCopy: string;
|
|
109
110
|
options: unknown[];
|
|
110
111
|
singleAppSelection: boolean;
|
|
111
112
|
placeholder: string;
|
|
@@ -116,7 +117,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
116
117
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
117
118
|
optionEndIconKey: string;
|
|
118
119
|
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
119
|
-
valueToCopy: string;
|
|
120
120
|
selectedOption: any;
|
|
121
121
|
brandIconType: "android" | "ios";
|
|
122
122
|
}>, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ButtonDropdownTrigger.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../ButtonDropdownTrigger.
|
|
4
|
-
const p = /* @__PURE__ */
|
|
2
|
+
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_f9a13e27_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-f9a13e27"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "../../../ButtonDropdownTrigger.
|
|
2
|
-
import
|
|
1
|
+
import "../../../ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_f9a13e27_lang.css"; import { defineComponent as l, openBlock as o, createBlock as i, unref as d, normalizeClass as r, withCtx as s, renderSlot as c, createElementVNode as u, toDisplayString as m } from "vue";
|
|
2
|
+
import f from "../../button/v4/ButtonV4.vue.js";
|
|
3
3
|
import "../../button/v4/IconButtonV4.vue.js";
|
|
4
4
|
import "../../button/v4/ButtonGroup.vue.js";
|
|
5
5
|
import "../../button/v4/ToggleButtonGroupAB.vue.js";
|
|
6
|
-
const p = /* @__PURE__ */ l({
|
|
6
|
+
const b = { class: "label" }, p = /* @__PURE__ */ l({
|
|
7
7
|
__name: "ButtonDropdownTrigger",
|
|
8
8
|
props: {
|
|
9
9
|
label: null,
|
|
@@ -18,7 +18,7 @@ const p = /* @__PURE__ */ l({
|
|
|
18
18
|
},
|
|
19
19
|
emits: ["click"],
|
|
20
20
|
setup(e, { emit: a }) {
|
|
21
|
-
return (n, t) => (o(), i(d(
|
|
21
|
+
return (n, t) => (o(), i(d(f), {
|
|
22
22
|
class: r(["button-trigger", { open: e.open }]),
|
|
23
23
|
disabled: e.disabled,
|
|
24
24
|
color: "default",
|
|
@@ -29,11 +29,11 @@ const p = /* @__PURE__ */ l({
|
|
|
29
29
|
"end-icon-name": e.hideEndIcon ? null : "caret-down",
|
|
30
30
|
content: e.label,
|
|
31
31
|
"test-id": e.testId,
|
|
32
|
-
onClick: t[0] || (t[0] = (
|
|
32
|
+
onClick: t[0] || (t[0] = (y) => a("click"))
|
|
33
33
|
}, {
|
|
34
34
|
default: s(() => [
|
|
35
35
|
c(n.$slots, "default", {}, () => [
|
|
36
|
-
u(
|
|
36
|
+
u("div", b, m(e.label), 1)
|
|
37
37
|
], !0)
|
|
38
38
|
]),
|
|
39
39
|
_: 3
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ButtonFilterDropdownTrigger.vue2.js";
|
|
2
2
|
/* empty css */import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../ButtonFilterDropdownTrigger.
|
|
4
|
-
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_1aa6df01_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-1aa6df01"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "../../../ButtonFilterDropdownTrigger.
|
|
1
|
+
import "../../../ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_1aa6df01_lang.css"; import { defineComponent as m, openBlock as o, createElementBlock as u, mergeProps as l, unref as t, createBlock as d, createCommentVNode as i, createVNode as f, withCtx as p, createTextVNode as I, toDisplayString as T } from "vue";
|
|
2
2
|
import y from "../../typography/v4/Typography.vue.js";
|
|
3
3
|
import s from "../../icon/v4/IconV4.vue.js";
|
|
4
4
|
import "../../icon/v4/IconFlag.vue.js";
|
|
5
5
|
import { useTestIdAttrs as N } from "../../../utils/testIds.js";
|
|
6
|
-
import { DropdownTestIdModifiers as
|
|
7
|
-
const
|
|
6
|
+
import { DropdownTestIdModifiers as n } from "../../../testids/index.js";
|
|
7
|
+
const h = /* @__PURE__ */ m({
|
|
8
8
|
__name: "ButtonFilterDropdownTrigger",
|
|
9
9
|
props: {
|
|
10
10
|
label: null,
|
|
@@ -18,10 +18,10 @@ const E = /* @__PURE__ */ m({
|
|
|
18
18
|
},
|
|
19
19
|
emits: ["click"],
|
|
20
20
|
setup(e, { emit: c }) {
|
|
21
|
-
const
|
|
21
|
+
const a = N(e.testId, n);
|
|
22
22
|
return (g, r) => (o(), u("div", l({
|
|
23
23
|
class: ["button-filter-dropdown-trigger", [e.variant, { disabled: e.disabled, open: e.open }]]
|
|
24
|
-
}, t(
|
|
24
|
+
}, t(a)[t(n).BUTTON], {
|
|
25
25
|
onClick: r[0] || (r[0] = (k) => c("click"))
|
|
26
26
|
}), [
|
|
27
27
|
e.startIconName ? (o(), d(t(s), {
|
|
@@ -31,7 +31,7 @@ const E = /* @__PURE__ */ m({
|
|
|
31
31
|
size: "16px",
|
|
32
32
|
class: "start-icon"
|
|
33
33
|
}, null, 8, ["name", "type"])) : i("", !0),
|
|
34
|
-
f(t(y), l({ variant: "
|
|
34
|
+
f(t(y), l({ variant: "button" }, t(a)[t(n).BUTTON_CONTENT]), {
|
|
35
35
|
default: p(() => [
|
|
36
36
|
I(T(e.label), 1)
|
|
37
37
|
]),
|
|
@@ -47,5 +47,5 @@ const E = /* @__PURE__ */ m({
|
|
|
47
47
|
}
|
|
48
48
|
});
|
|
49
49
|
export {
|
|
50
|
-
|
|
50
|
+
h as default
|
|
51
51
|
};
|
|
@@ -10,6 +10,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
10
10
|
selectedOption: unknown | unknown[];
|
|
11
11
|
displayValue: (option: unknown) => string;
|
|
12
12
|
multi: boolean;
|
|
13
|
+
cancelAllSelectedDisplay?: boolean;
|
|
14
|
+
displayValueInQuotes?: boolean;
|
|
13
15
|
}>, {
|
|
14
16
|
label: string;
|
|
15
17
|
open: boolean;
|
|
@@ -18,6 +20,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
18
20
|
feedbackVariant: string;
|
|
19
21
|
displayedValue: string;
|
|
20
22
|
allSelected: boolean;
|
|
23
|
+
cancelAllSelectedDisplay: boolean;
|
|
24
|
+
displayValueInQuotes: boolean;
|
|
21
25
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
26
|
clear: () => void;
|
|
23
27
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -32,6 +36,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
32
36
|
selectedOption: unknown | unknown[];
|
|
33
37
|
displayValue: (option: unknown) => string;
|
|
34
38
|
multi: boolean;
|
|
39
|
+
cancelAllSelectedDisplay?: boolean;
|
|
40
|
+
displayValueInQuotes?: boolean;
|
|
35
41
|
}>, {
|
|
36
42
|
label: string;
|
|
37
43
|
open: boolean;
|
|
@@ -40,6 +46,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
40
46
|
feedbackVariant: string;
|
|
41
47
|
displayedValue: string;
|
|
42
48
|
allSelected: boolean;
|
|
49
|
+
cancelAllSelectedDisplay: boolean;
|
|
50
|
+
displayValueInQuotes: boolean;
|
|
43
51
|
}>>> & {
|
|
44
52
|
onClear?: () => any;
|
|
45
53
|
}, {
|
|
@@ -50,6 +58,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
50
58
|
feedbackVariant: string;
|
|
51
59
|
allSelected: boolean;
|
|
52
60
|
displayedValue: any;
|
|
61
|
+
cancelAllSelectedDisplay: boolean;
|
|
62
|
+
displayValueInQuotes: boolean;
|
|
53
63
|
}>;
|
|
54
64
|
export default _default;
|
|
55
65
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./ChipDropdownTrigger.vue2.js";
|
|
2
2
|
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../ChipDropdownTrigger.
|
|
4
|
-
const
|
|
3
|
+
// import "../../../ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_039dd922_lang.css"; //*');
|
|
4
|
+
const d = /* @__PURE__ */ e(o, [["__scopeId", "data-v-039dd922"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
d as default
|
|
7
7
|
};
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import "../../../ChipDropdownTrigger.
|
|
2
|
-
import
|
|
1
|
+
import "../../../ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_039dd922_lang.css"; import { defineComponent as B, ref as d, computed as p, watch as _, openBlock as A, createBlock as k, unref as t, withCtx as g, createElementVNode as r, mergeProps as u, createVNode as f, createTextVNode as D, toDisplayString as I, withDirectives as V, vShow as O, withModifiers as N } from "vue";
|
|
2
|
+
import x from "../../icon/v4/IconV4.vue.js";
|
|
3
3
|
import "../../icon/v4/IconFlag.vue.js";
|
|
4
|
-
import
|
|
5
|
-
import { DropdownTestIdModifiers as
|
|
6
|
-
import { useTestIdAttrs as
|
|
7
|
-
|
|
4
|
+
import S from "../../typography/v4/Typography.vue.js";
|
|
5
|
+
import { DropdownTestIdModifiers as s } from "../../../testids/index.js";
|
|
6
|
+
import { useTestIdAttrs as $ } from "../../../utils/testIds.js";
|
|
7
|
+
import { isElementTruncated as E } from "../../../utils/text.js";
|
|
8
|
+
import { promiseTimeout as R } from "@vueuse/core";
|
|
9
|
+
import U from "../../tooltip/v4/TooltipV4.vue.js";
|
|
10
|
+
const z = { class: "chip-trigger--icon" }, L = ["onClick"], K = /* @__PURE__ */ B({
|
|
8
11
|
__name: "ChipDropdownTrigger",
|
|
9
12
|
props: {
|
|
10
13
|
label: { default: "Status" },
|
|
@@ -17,59 +20,82 @@ const N = { class: "chip-trigger--content" }, I = { class: "chip-trigger--icon"
|
|
|
17
20
|
options: null,
|
|
18
21
|
selectedOption: null,
|
|
19
22
|
displayValue: null,
|
|
20
|
-
multi: { type: Boolean }
|
|
23
|
+
multi: { type: Boolean },
|
|
24
|
+
cancelAllSelectedDisplay: { type: Boolean, default: !1 },
|
|
25
|
+
displayValueInQuotes: { type: Boolean, default: !1 }
|
|
21
26
|
},
|
|
22
27
|
emits: ["clear"],
|
|
23
|
-
setup(
|
|
24
|
-
const e =
|
|
25
|
-
|
|
26
|
-
}, i =
|
|
28
|
+
setup(n, { emit: v }) {
|
|
29
|
+
const e = n, C = () => {
|
|
30
|
+
v("clear");
|
|
31
|
+
}, o = d(null), i = d(!0), m = d(!1), y = (l) => {
|
|
27
32
|
let a = l;
|
|
28
|
-
|
|
29
|
-
|
|
33
|
+
Array.isArray(l) && (l.length > 1 ? a = `${l[0]}, +${l[1]}` : a = l[0] ? `${l[0]}` : ""), i.value = !!a;
|
|
34
|
+
let T = a;
|
|
35
|
+
return e.displayValueInQuotes && (T = `"${a}"`), a ? `${e.label}: ${T}` : e.label;
|
|
36
|
+
}, b = p(
|
|
30
37
|
() => e.feedbackVariant ? `state-${e.feedbackVariant}` : ""
|
|
31
|
-
),
|
|
38
|
+
), c = $(e.testId, s), h = p(() => {
|
|
32
39
|
if (!e.multi)
|
|
33
40
|
return e.selectedOption ? e.displayValue(e.selectedOption) : "";
|
|
34
41
|
if (Array.isArray(e.selectedOption))
|
|
35
|
-
return e.selectedOption.length ? e.allSelected ? ["All"] : e.selectedOption.length == 1 && e.displayValue ? [e.displayValue(e.selectedOption[0])] : [
|
|
42
|
+
return e.selectedOption.length ? e.allSelected && !e.cancelAllSelectedDisplay ? ["All"] : e.selectedOption.length == 1 && e.displayValue ? [e.displayValue(e.selectedOption[0])] : [
|
|
36
43
|
e.displayValue(e.selectedOption[0]),
|
|
37
44
|
e.selectedOption.length - 1
|
|
38
45
|
] : [];
|
|
39
46
|
});
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
47
|
+
_([() => e.selectedOption, o], async () => {
|
|
48
|
+
await R(100), m.value = o.value && E(o.value);
|
|
49
|
+
});
|
|
50
|
+
const w = p(() => m.value ? y(h.value) : "");
|
|
51
|
+
return (l, a) => (A(), k(t(U), {
|
|
52
|
+
text: t(w),
|
|
53
|
+
class: "tooltip-option"
|
|
54
|
+
}, {
|
|
55
|
+
default: g(() => [
|
|
56
|
+
r("div", u({
|
|
57
|
+
class: ["chip-trigger", [t(b), { active: i.value, disabled: n.disabled, open: n.open }]]
|
|
58
|
+
}, t(c)[t(s).BUTTON]), [
|
|
59
|
+
r("div", {
|
|
60
|
+
ref_key: "textContainerRef",
|
|
61
|
+
ref: o,
|
|
62
|
+
class: "chip-trigger--content"
|
|
63
|
+
}, [
|
|
64
|
+
f(t(S), u({
|
|
65
|
+
class: "chip-trigger--text",
|
|
66
|
+
variant: "chipLabel"
|
|
67
|
+
}, t(c)[t(s).BUTTON_CONTENT]), {
|
|
68
|
+
default: g(() => [
|
|
69
|
+
D(I(y(t(h))), 1)
|
|
70
|
+
]),
|
|
71
|
+
_: 1
|
|
72
|
+
}, 16),
|
|
73
|
+
V(r("div", z, [
|
|
74
|
+
f(t(x), {
|
|
75
|
+
name: "caret-down",
|
|
76
|
+
size: "16px"
|
|
77
|
+
})
|
|
78
|
+
], 512), [
|
|
79
|
+
[O, !i.value]
|
|
80
|
+
]),
|
|
81
|
+
V(r("div", u({ class: "x-circle-wrapper" }, t(c)[t(s).BUTTON_CLEAR], {
|
|
82
|
+
onClick: N(C, ["stop"])
|
|
83
|
+
}), [
|
|
84
|
+
f(t(x), {
|
|
85
|
+
name: "x-circle",
|
|
86
|
+
size: "16px",
|
|
87
|
+
type: "fill"
|
|
88
|
+
})
|
|
89
|
+
], 16, L), [
|
|
90
|
+
[O, i.value]
|
|
91
|
+
])
|
|
92
|
+
], 512)
|
|
93
|
+
], 16)
|
|
94
|
+
]),
|
|
95
|
+
_: 1
|
|
96
|
+
}, 8, ["text"]));
|
|
71
97
|
}
|
|
72
98
|
});
|
|
73
99
|
export {
|
|
74
|
-
|
|
100
|
+
K as default
|
|
75
101
|
};
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
type SelectedCondition = {
|
|
2
|
+
label: string;
|
|
3
|
+
value: string;
|
|
4
|
+
multi: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
selectedCondition: SelectedCondition | null;
|
|
8
|
+
appliedSelections: unknown | unknown[];
|
|
9
|
+
conditionalOptions: SelectedCondition[];
|
|
10
|
+
label: string;
|
|
11
|
+
testId?: string;
|
|
12
|
+
comparingKey: string;
|
|
13
|
+
fetchFnCallback: (q: string) => Promise<unknown[]>;
|
|
14
|
+
optionNameKey: string;
|
|
15
|
+
minCharsToStart?: number;
|
|
16
|
+
isOpen?: boolean;
|
|
17
|
+
searchQuery?: string;
|
|
18
|
+
loadMoreFn?: () => Promise<void>;
|
|
19
|
+
infiniteLoading?: boolean;
|
|
20
|
+
}>, {
|
|
21
|
+
label: string;
|
|
22
|
+
testId: string;
|
|
23
|
+
comparingKey: string;
|
|
24
|
+
optionNameKey: string;
|
|
25
|
+
minCharsToStart: number;
|
|
26
|
+
isOpen: boolean;
|
|
27
|
+
searchQuery: string;
|
|
28
|
+
loadMoreFn: any;
|
|
29
|
+
infiniteLoading: boolean;
|
|
30
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
31
|
+
"update:selectedCondition": (value: SelectedCondition) => void;
|
|
32
|
+
"update:appliedSelections": (value: unknown) => void;
|
|
33
|
+
clear: () => void;
|
|
34
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
35
|
+
selectedCondition: SelectedCondition | null;
|
|
36
|
+
appliedSelections: unknown | unknown[];
|
|
37
|
+
conditionalOptions: SelectedCondition[];
|
|
38
|
+
label: string;
|
|
39
|
+
testId?: string;
|
|
40
|
+
comparingKey: string;
|
|
41
|
+
fetchFnCallback: (q: string) => Promise<unknown[]>;
|
|
42
|
+
optionNameKey: string;
|
|
43
|
+
minCharsToStart?: number;
|
|
44
|
+
isOpen?: boolean;
|
|
45
|
+
searchQuery?: string;
|
|
46
|
+
loadMoreFn?: () => Promise<void>;
|
|
47
|
+
infiniteLoading?: boolean;
|
|
48
|
+
}>, {
|
|
49
|
+
label: string;
|
|
50
|
+
testId: string;
|
|
51
|
+
comparingKey: string;
|
|
52
|
+
optionNameKey: string;
|
|
53
|
+
minCharsToStart: number;
|
|
54
|
+
isOpen: boolean;
|
|
55
|
+
searchQuery: string;
|
|
56
|
+
loadMoreFn: any;
|
|
57
|
+
infiniteLoading: boolean;
|
|
58
|
+
}>>> & {
|
|
59
|
+
onClear?: () => any;
|
|
60
|
+
"onUpdate:selectedCondition"?: (value: SelectedCondition) => any;
|
|
61
|
+
"onUpdate:appliedSelections"?: (value: unknown) => any;
|
|
62
|
+
}, {
|
|
63
|
+
label: string;
|
|
64
|
+
testId: string;
|
|
65
|
+
isOpen: boolean;
|
|
66
|
+
infiniteLoading: boolean;
|
|
67
|
+
optionNameKey: string;
|
|
68
|
+
comparingKey: string;
|
|
69
|
+
minCharsToStart: number;
|
|
70
|
+
searchQuery: string;
|
|
71
|
+
loadMoreFn: () => Promise<void>;
|
|
72
|
+
}>;
|
|
73
|
+
export default _default;
|
|
74
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
75
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
76
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
77
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
78
|
+
} : {
|
|
79
|
+
type: import('vue').PropType<T[K]>;
|
|
80
|
+
required: true;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
type __VLS_WithDefaults<P, D> = {
|
|
84
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
85
|
+
default: D[K];
|
|
86
|
+
}> : P[K];
|
|
87
|
+
};
|
|
88
|
+
type __VLS_Prettify<T> = {
|
|
89
|
+
[K in keyof T]: T[K];
|
|
90
|
+
} & {};
|