@ironsource/shared-ui 2.1.11-test.5 → 2.1.11-test.50
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_604dfc6f_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_277fde76_lang.css +1 -0
- package/ChartHeader.vue_vue_type_style_index_0_scoped_b8213498_lang.css +1 -0
- package/ChartLegend.vue_vue_type_style_index_0_scoped_a1c626cd_lang.css +1 -0
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_6744325c_lang.css +1 -0
- package/CheckboxV4.vue_vue_type_style_index_0_scoped_af4ae3c3_lang.css +1 -0
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e43ac1c9_lang.css +1 -0
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_27802170_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_26488faf_lang.css +1 -0
- package/DataGridMenu.vue_vue_type_style_index_0_scoped_ddfaf207_lang.css +1 -0
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_309e5351_lang.css +1 -0
- package/DialogV4.vue_vue_type_style_index_0_scoped_37da643b_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_75002075_lang.css +1 -0
- package/EditableV4.vue_vue_type_style_index_0_scoped_1bbe222a_lang.css +1 -0
- package/EmptyStateV4.vue_vue_type_style_index_0_scoped_18728498_lang.css +1 -0
- package/FiltersPanelV4.vue_vue_type_style_index_0_scoped_383011d3_lang.css +1 -0
- package/FormCard.vue_vue_type_style_index_0_scoped_86feae7b_lang.css +1 -0
- package/IconFlag.vue_vue_type_style_index_0_scoped_be9dc7bb_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/SnackbarV4.vue_vue_type_style_index_0_scoped_89fe8aa1_lang.css +1 -0
- package/SortableItem.vue_vue_type_style_index_0_scoped_2ca7b24c_lang.css +1 -0
- package/SortableItemLabel.vue_vue_type_style_index_0_scoped_f2ced2f4_lang.css +1 -0
- package/SortableList.vue_vue_type_style_index_0_scoped_8f267f88_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_fce3948c_lang.css +1 -0
- package/ThemeWrapper.vue_vue_type_style_index_1_lang.css +1 -1
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_c81a7d3e_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_66eab856_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_b883d1fa_lang.css +1 -0
- package/Typography.vue_vue_type_style_index_0_scoped_5714d43e_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.d.ts +16 -3
- package/components/chart/Chart.vue.js +5 -5
- package/components/chart/Chart.vue2.js +127 -110
- package/components/chart/ChartHeader.vue.d.ts +13 -6
- package/components/chart/ChartHeader.vue.js +2 -2
- package/components/chart/ChartHeader.vue2.js +32 -29
- package/components/chart/ChartLegend.vue.d.ts +5 -0
- package/components/chart/ChartLegend.vue.js +3 -3
- package/components/chart/ChartLegend.vue2.js +99 -49
- package/components/chart/ChartTooltip.vue.d.ts +4 -5
- package/components/chart/ChartTooltip.vue.js +2 -2
- package/components/chart/ChartTooltip.vue2.js +64 -43
- package/components/chart/SettingsHeader.vue2.js +3 -2
- package/components/chart/index.d.ts +55 -16
- package/components/chart/mockData.d.ts +15 -2
- package/components/chart/types.d.ts +15 -1
- package/components/chart/utils/utils.js +5 -5
- package/components/checkbox/v4/CheckboxV4.vue.js +3 -3
- package/components/checkbox/v4/CheckboxV4.vue2.js +2 -2
- 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/dialog/v4/DialogV4.vue.d.ts +15 -0
- package/components/dialog/v4/DialogV4.vue.js +3 -3
- package/components/dialog/v4/DialogV4.vue2.js +80 -73
- package/components/dialog/v4/index.d.ts +58 -1
- package/components/dropdown/common/Dropdown.common.js +200 -189
- 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.d.ts +15 -0
- package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +42 -20
- 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 +88 -47
- package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +110 -0
- package/components/dropdown/v4/ConditionalDropdown.vue.js +7 -0
- package/components/dropdown/v4/ConditionalDropdown.vue2.js +224 -0
- package/components/dropdown/v4/DropdownV4.vue.d.ts +32 -11
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +153 -138
- 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 +165 -120
- package/components/dropdown/v4/index.d.ts +443 -110
- package/components/dropdown/v4/index.js +6 -3
- package/components/emptyState/v4/EmptyStateV4.vue.js +3 -3
- package/components/emptyState/v4/EmptyStateV4.vue2.js +1 -1
- package/components/filtersPanel/v4/FiltersPanelV4.vue.js +2 -2
- package/components/filtersPanel/v4/FiltersPanelV4.vue2.js +8 -9
- package/components/forms/FormCard.vue.js +3 -3
- package/components/forms/FormCard.vue2.js +1 -1
- package/components/icon/v4/IconFlag.vue.js +3 -3
- package/components/icon/v4/IconFlag.vue2.js +1 -1
- 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 +185 -165
- 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/snackbar/v4/SnackbarV4.vue.d.ts +7 -116
- package/components/snackbar/v4/SnackbarV4.vue.js +5 -5
- package/components/snackbar/v4/SnackbarV4.vue2.js +62 -60
- package/components/sortableList/SortableItem.vue.d.ts +5 -0
- package/components/sortableList/SortableItem.vue.js +2 -2
- package/components/sortableList/SortableItem.vue2.js +86 -70
- package/components/sortableList/SortableItemLabel.vue.js +3 -3
- package/components/sortableList/SortableItemLabel.vue2.js +20 -23
- package/components/sortableList/SortableList.vue.d.ts +17 -1
- package/components/sortableList/SortableList.vue.js +4 -4
- package/components/sortableList/SortableList.vue2.js +113 -94
- package/components/sortableList/index.d.ts +63 -5
- package/components/table/common/Table.common.d.ts +1 -1
- package/components/table/common/Table.common.js +83 -77
- package/components/table/common/Table.types.d.ts +1 -1
- package/components/table/common/consts.d.ts +4 -0
- package/components/table/common/consts.js +7 -0
- 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 +12 -2
- package/components/table/v4/DataGrid.vue.js +2 -2
- package/components/table/v4/DataGrid.vue2.js +164 -155
- package/components/table/v4/DataGridMenu.vue.js +5 -5
- package/components/table/v4/DataGridMenu.vue2.js +4 -3
- package/components/table/v4/MultipleDataGrid.vue.d.ts +1 -1
- package/components/table/v4/index.d.ts +84 -46
- package/components/table-cells/common/Editable.common.js +29 -23
- package/components/table-cells/common/EditableContext.d.ts +1 -0
- package/components/table-cells/v4/EditableV4.vue.d.ts +5 -0
- package/components/table-cells/v4/EditableV4.vue.js +3 -3
- package/components/table-cells/v4/EditableV4.vue2.js +11 -10
- package/components/table-cells/v4/index.d.ts +20 -1
- package/components/tooltip/v4/TooltipV4.vue.d.ts +10 -0
- package/components/tooltip/v4/TooltipV4.vue.js +3 -3
- package/components/tooltip/v4/TooltipV4.vue2.js +24 -21
- package/components/tooltip/v4/index.d.ts +39 -1
- package/components/typography/v4/Typography.vue.js +3 -3
- package/components/typography/v4/Typography.vue2.js +24 -18
- package/design-foundation.stories/icons/iconsData.d.ts +1 -1
- package/index.d.ts +1626 -366
- package/index.js +1 -1
- package/mocks/options.d.ts +48 -6
- package/mocks/words.d.ts +1 -1
- package/package.json +2 -1
- package/style/v4/grid.css +1 -1
- package/style/v4/grid.css.map +1 -1
- package/style/v4/spacings.scss +1 -0
- package/testids/index.d.ts +2 -0
- package/testids/index.js +13 -13
- 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/ChartHeader.vue_vue_type_style_index_0_scoped_4c37736e_lang.css +0 -1
- package/ChartLegend.vue_vue_type_style_index_0_scoped_c0f71a49_lang.css +0 -1
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_ec636f18_lang.css +0 -1
- package/CheckboxV4.vue_vue_type_style_index_0_scoped_8e5b619a_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/DataGridMenu.vue_vue_type_style_index_0_scoped_a6e4672f_lang.css +0 -1
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_f81413ec_lang.css +0 -1
- package/DialogV4.vue_vue_type_style_index_0_scoped_09c488cf_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_e899ec7a_lang.css +0 -1
- package/EditableV4.vue_vue_type_style_index_0_scoped_e0c047b4_lang.css +0 -1
- package/EmptyStateV4.vue_vue_type_style_index_0_scoped_24001caa_lang.css +0 -1
- package/FiltersPanelV4.vue_vue_type_style_index_0_scoped_39061862_lang.css +0 -1
- package/FormCard.vue_vue_type_style_index_0_scoped_c7965a69_lang.css +0 -1
- package/IconFlag.vue_vue_type_style_index_0_scoped_7b09cc85_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/SnackbarV4.vue_vue_type_style_index_0_scoped_49c5ccea_lang.css +0 -1
- package/SortableItem.vue_vue_type_style_index_0_scoped_9dd4d372_lang.css +0 -1
- package/SortableItemLabel.vue_vue_type_style_index_0_scoped_1386ae20_lang.css +0 -1
- package/SortableList.vue_vue_type_style_index_0_scoped_e9cd63b8_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_6ac5f602_lang.css +0 -1
- package/Typography.vue_vue_type_style_index_0_scoped_992962bc_lang.css +0 -1
|
@@ -8,8 +8,10 @@ declare const PopoverTypes: () => ({
|
|
|
8
8
|
placement: import("floating-vue").Placement;
|
|
9
9
|
disabled: boolean;
|
|
10
10
|
distance: number;
|
|
11
|
-
|
|
11
|
+
container: string;
|
|
12
12
|
autoHide: boolean;
|
|
13
|
+
popperClass: string;
|
|
14
|
+
isOpen: boolean;
|
|
13
15
|
trigger: "hover" | "click" | "focus" | "touch" | "managed";
|
|
14
16
|
skidding: number;
|
|
15
17
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -29,7 +31,7 @@ declare const PopoverTypes: () => ({
|
|
|
29
31
|
type: import("vue").PropType<number>;
|
|
30
32
|
default: number;
|
|
31
33
|
};
|
|
32
|
-
|
|
34
|
+
container: {
|
|
33
35
|
type: import("vue").PropType<string>;
|
|
34
36
|
default: string;
|
|
35
37
|
};
|
|
@@ -37,6 +39,14 @@ declare const PopoverTypes: () => ({
|
|
|
37
39
|
type: import("vue").PropType<boolean>;
|
|
38
40
|
default: boolean;
|
|
39
41
|
};
|
|
42
|
+
popperClass: {
|
|
43
|
+
type: import("vue").PropType<string>;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
isOpen: {
|
|
47
|
+
type: import("vue").PropType<boolean>;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
40
50
|
trigger: {
|
|
41
51
|
type: import("vue").PropType<"hover" | "click" | "focus" | "touch" | "managed">;
|
|
42
52
|
default: string;
|
|
@@ -47,7 +57,7 @@ declare const PopoverTypes: () => ({
|
|
|
47
57
|
};
|
|
48
58
|
}>> & {
|
|
49
59
|
onIsOpen?: (value: boolean) => any;
|
|
50
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "placement" | "disabled" | "distance" | "
|
|
60
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "placement" | "disabled" | "distance" | "container" | "autoHide" | "popperClass" | "isOpen" | "trigger" | "skidding">;
|
|
51
61
|
$attrs: {
|
|
52
62
|
[x: string]: unknown;
|
|
53
63
|
};
|
|
@@ -78,7 +88,7 @@ declare const PopoverTypes: () => ({
|
|
|
78
88
|
type: import("vue").PropType<number>;
|
|
79
89
|
default: number;
|
|
80
90
|
};
|
|
81
|
-
|
|
91
|
+
container: {
|
|
82
92
|
type: import("vue").PropType<string>;
|
|
83
93
|
default: string;
|
|
84
94
|
};
|
|
@@ -86,6 +96,14 @@ declare const PopoverTypes: () => ({
|
|
|
86
96
|
type: import("vue").PropType<boolean>;
|
|
87
97
|
default: boolean;
|
|
88
98
|
};
|
|
99
|
+
popperClass: {
|
|
100
|
+
type: import("vue").PropType<string>;
|
|
101
|
+
default: string;
|
|
102
|
+
};
|
|
103
|
+
isOpen: {
|
|
104
|
+
type: import("vue").PropType<boolean>;
|
|
105
|
+
default: boolean;
|
|
106
|
+
};
|
|
89
107
|
trigger: {
|
|
90
108
|
type: import("vue").PropType<"hover" | "click" | "focus" | "touch" | "managed">;
|
|
91
109
|
default: string;
|
|
@@ -96,15 +114,19 @@ declare const PopoverTypes: () => ({
|
|
|
96
114
|
};
|
|
97
115
|
}>> & {
|
|
98
116
|
onIsOpen?: (value: boolean) => any;
|
|
99
|
-
}, {
|
|
117
|
+
}, {
|
|
118
|
+
toggle: (value?: boolean) => boolean;
|
|
119
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
100
120
|
isOpen: (value: boolean) => void;
|
|
101
121
|
}, string, {
|
|
102
122
|
testId: string;
|
|
103
123
|
placement: import("floating-vue").Placement;
|
|
104
124
|
disabled: boolean;
|
|
105
125
|
distance: number;
|
|
106
|
-
|
|
126
|
+
container: string;
|
|
107
127
|
autoHide: boolean;
|
|
128
|
+
popperClass: string;
|
|
129
|
+
isOpen: boolean;
|
|
108
130
|
trigger: "hover" | "click" | "focus" | "touch" | "managed";
|
|
109
131
|
skidding: number;
|
|
110
132
|
}, {}, string> & {
|
|
@@ -144,7 +166,7 @@ declare const PopoverTypes: () => ({
|
|
|
144
166
|
type: import("vue").PropType<number>;
|
|
145
167
|
default: number;
|
|
146
168
|
};
|
|
147
|
-
|
|
169
|
+
container: {
|
|
148
170
|
type: import("vue").PropType<string>;
|
|
149
171
|
default: string;
|
|
150
172
|
};
|
|
@@ -152,6 +174,14 @@ declare const PopoverTypes: () => ({
|
|
|
152
174
|
type: import("vue").PropType<boolean>;
|
|
153
175
|
default: boolean;
|
|
154
176
|
};
|
|
177
|
+
popperClass: {
|
|
178
|
+
type: import("vue").PropType<string>;
|
|
179
|
+
default: string;
|
|
180
|
+
};
|
|
181
|
+
isOpen: {
|
|
182
|
+
type: import("vue").PropType<boolean>;
|
|
183
|
+
default: boolean;
|
|
184
|
+
};
|
|
155
185
|
trigger: {
|
|
156
186
|
type: import("vue").PropType<"hover" | "click" | "focus" | "touch" | "managed">;
|
|
157
187
|
default: string;
|
|
@@ -162,7 +192,9 @@ declare const PopoverTypes: () => ({
|
|
|
162
192
|
};
|
|
163
193
|
}>> & {
|
|
164
194
|
onIsOpen?: (value: boolean) => any;
|
|
165
|
-
} & import("vue").ShallowUnwrapRef<{
|
|
195
|
+
} & import("vue").ShallowUnwrapRef<{
|
|
196
|
+
toggle: (value?: boolean) => boolean;
|
|
197
|
+
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
166
198
|
__isFragment?: never;
|
|
167
199
|
__isTeleport?: never;
|
|
168
200
|
__isSuspense?: never;
|
|
@@ -183,7 +215,7 @@ declare const PopoverTypes: () => ({
|
|
|
183
215
|
type: import("vue").PropType<number>;
|
|
184
216
|
default: number;
|
|
185
217
|
};
|
|
186
|
-
|
|
218
|
+
container: {
|
|
187
219
|
type: import("vue").PropType<string>;
|
|
188
220
|
default: string;
|
|
189
221
|
};
|
|
@@ -191,6 +223,14 @@ declare const PopoverTypes: () => ({
|
|
|
191
223
|
type: import("vue").PropType<boolean>;
|
|
192
224
|
default: boolean;
|
|
193
225
|
};
|
|
226
|
+
popperClass: {
|
|
227
|
+
type: import("vue").PropType<string>;
|
|
228
|
+
default: string;
|
|
229
|
+
};
|
|
230
|
+
isOpen: {
|
|
231
|
+
type: import("vue").PropType<boolean>;
|
|
232
|
+
default: boolean;
|
|
233
|
+
};
|
|
194
234
|
trigger: {
|
|
195
235
|
type: import("vue").PropType<"hover" | "click" | "focus" | "touch" | "managed">;
|
|
196
236
|
default: string;
|
|
@@ -201,15 +241,19 @@ declare const PopoverTypes: () => ({
|
|
|
201
241
|
};
|
|
202
242
|
}>> & {
|
|
203
243
|
onIsOpen?: (value: boolean) => any;
|
|
204
|
-
}, {
|
|
244
|
+
}, {
|
|
245
|
+
toggle: (value?: boolean) => boolean;
|
|
246
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
205
247
|
isOpen: (value: boolean) => void;
|
|
206
248
|
}, string, {
|
|
207
249
|
testId: string;
|
|
208
250
|
placement: import("floating-vue").Placement;
|
|
209
251
|
disabled: boolean;
|
|
210
252
|
distance: number;
|
|
211
|
-
|
|
253
|
+
container: string;
|
|
212
254
|
autoHide: boolean;
|
|
255
|
+
popperClass: string;
|
|
256
|
+
isOpen: boolean;
|
|
213
257
|
trigger: "hover" | "click" | "focus" | "touch" | "managed";
|
|
214
258
|
skidding: number;
|
|
215
259
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { VNode } from 'vue';
|
|
2
|
+
import { Button } from '@/components/button/v4';
|
|
3
|
+
type ButtonProps = InstanceType<typeof Button>['$props'] & {
|
|
4
|
+
onClick?: () => void;
|
|
5
|
+
closeOnClick?: boolean;
|
|
6
|
+
};
|
|
2
7
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
8
|
customClass: string;
|
|
4
9
|
dangerouslyUseHTMLString: boolean;
|
|
@@ -15,64 +20,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
15
20
|
showClose?: boolean;
|
|
16
21
|
title?: string;
|
|
17
22
|
zIndex?: number;
|
|
18
|
-
actionButtons:
|
|
19
|
-
testId: string;
|
|
20
|
-
variant: "text" | "contained" | "outlined";
|
|
21
|
-
disabled: boolean;
|
|
22
|
-
color: "default" | "primary" | "danger" | "info" | "success" | "warning";
|
|
23
|
-
size: "small" | "medium" | "large" | "extraLarge";
|
|
24
|
-
content: string;
|
|
25
|
-
loading: boolean;
|
|
26
|
-
startIconName: string;
|
|
27
|
-
endIconName: string;
|
|
28
|
-
startIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
29
|
-
endIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
30
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
-
testId: {
|
|
32
|
-
type: import("vue").PropType<string>;
|
|
33
|
-
default: string;
|
|
34
|
-
};
|
|
35
|
-
variant: {
|
|
36
|
-
type: import("vue").PropType<"text" | "contained" | "outlined">;
|
|
37
|
-
default: string;
|
|
38
|
-
};
|
|
39
|
-
disabled: {
|
|
40
|
-
type: import("vue").PropType<boolean>;
|
|
41
|
-
default: boolean;
|
|
42
|
-
};
|
|
43
|
-
color: {
|
|
44
|
-
type: import("vue").PropType<"default" | "primary" | "danger" | "info" | "success" | "warning">;
|
|
45
|
-
default: string;
|
|
46
|
-
};
|
|
47
|
-
size: {
|
|
48
|
-
type: import("vue").PropType<"small" | "medium" | "large" | "extraLarge">;
|
|
49
|
-
default: string;
|
|
50
|
-
};
|
|
51
|
-
content: {
|
|
52
|
-
type: import("vue").PropType<string>;
|
|
53
|
-
default: string;
|
|
54
|
-
};
|
|
55
|
-
loading: {
|
|
56
|
-
type: import("vue").PropType<boolean>;
|
|
57
|
-
default: boolean;
|
|
58
|
-
};
|
|
59
|
-
startIconName: {
|
|
60
|
-
type: import("vue").PropType<string>;
|
|
61
|
-
default: any;
|
|
62
|
-
};
|
|
63
|
-
endIconName: {
|
|
64
|
-
type: import("vue").PropType<string>;
|
|
65
|
-
default: any;
|
|
66
|
-
};
|
|
67
|
-
startIconType: {
|
|
68
|
-
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
|
|
69
|
-
default: string;
|
|
70
|
-
};
|
|
71
|
-
endIconType: {
|
|
72
|
-
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
|
|
73
|
-
default: string;
|
|
74
|
-
};
|
|
75
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "variant" | "disabled" | "color" | "size" | "content" | "loading" | "startIconName" | "endIconName" | "startIconType" | "endIconType">)[];
|
|
23
|
+
actionButtons: ButtonProps[];
|
|
76
24
|
testId: string;
|
|
77
25
|
}>, {
|
|
78
26
|
type: string;
|
|
@@ -100,64 +48,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
100
48
|
showClose?: boolean;
|
|
101
49
|
title?: string;
|
|
102
50
|
zIndex?: number;
|
|
103
|
-
actionButtons:
|
|
104
|
-
testId: string;
|
|
105
|
-
variant: "text" | "contained" | "outlined";
|
|
106
|
-
disabled: boolean;
|
|
107
|
-
color: "default" | "primary" | "danger" | "info" | "success" | "warning";
|
|
108
|
-
size: "small" | "medium" | "large" | "extraLarge";
|
|
109
|
-
content: string;
|
|
110
|
-
loading: boolean;
|
|
111
|
-
startIconName: string;
|
|
112
|
-
endIconName: string;
|
|
113
|
-
startIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
114
|
-
endIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
|
|
115
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
116
|
-
testId: {
|
|
117
|
-
type: import("vue").PropType<string>;
|
|
118
|
-
default: string;
|
|
119
|
-
};
|
|
120
|
-
variant: {
|
|
121
|
-
type: import("vue").PropType<"text" | "contained" | "outlined">;
|
|
122
|
-
default: string;
|
|
123
|
-
};
|
|
124
|
-
disabled: {
|
|
125
|
-
type: import("vue").PropType<boolean>;
|
|
126
|
-
default: boolean;
|
|
127
|
-
};
|
|
128
|
-
color: {
|
|
129
|
-
type: import("vue").PropType<"default" | "primary" | "danger" | "info" | "success" | "warning">;
|
|
130
|
-
default: string;
|
|
131
|
-
};
|
|
132
|
-
size: {
|
|
133
|
-
type: import("vue").PropType<"small" | "medium" | "large" | "extraLarge">;
|
|
134
|
-
default: string;
|
|
135
|
-
};
|
|
136
|
-
content: {
|
|
137
|
-
type: import("vue").PropType<string>;
|
|
138
|
-
default: string;
|
|
139
|
-
};
|
|
140
|
-
loading: {
|
|
141
|
-
type: import("vue").PropType<boolean>;
|
|
142
|
-
default: boolean;
|
|
143
|
-
};
|
|
144
|
-
startIconName: {
|
|
145
|
-
type: import("vue").PropType<string>;
|
|
146
|
-
default: any;
|
|
147
|
-
};
|
|
148
|
-
endIconName: {
|
|
149
|
-
type: import("vue").PropType<string>;
|
|
150
|
-
default: any;
|
|
151
|
-
};
|
|
152
|
-
startIconType: {
|
|
153
|
-
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
|
|
154
|
-
default: string;
|
|
155
|
-
};
|
|
156
|
-
endIconType: {
|
|
157
|
-
type: import("vue").PropType<"fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate">;
|
|
158
|
-
default: string;
|
|
159
|
-
};
|
|
160
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "variant" | "disabled" | "color" | "size" | "content" | "loading" | "startIconName" | "endIconName" | "startIconType" | "endIconType">)[];
|
|
51
|
+
actionButtons: ButtonProps[];
|
|
161
52
|
testId: string;
|
|
162
53
|
}>, {
|
|
163
54
|
type: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../SnackbarV4.
|
|
4
|
-
const
|
|
1
|
+
import o from "./SnackbarV4.vue2.js";
|
|
2
|
+
/* empty css */import a from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../SnackbarV4.vue_vue_type_style_index_0_scoped_89fe8aa1_lang.css"; //*');
|
|
4
|
+
const r = /* @__PURE__ */ a(o, [["__scopeId", "data-v-89fe8aa1"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
r as default
|
|
7
7
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import "../../../SnackbarV4.
|
|
2
|
-
import
|
|
1
|
+
import "../../../SnackbarV4.vue_vue_type_style_index_0_scoped_89fe8aa1_lang.css"; import { defineComponent as $, computed as A, openBlock as n, createBlock as d, Transition as O, withCtx as f, withDirectives as I, createElementVNode as a, mergeProps as l, unref as t, createVNode as z, createTextVNode as T, toDisplayString as h, createCommentVNode as u, renderSlot as B, vShow as N, createElementBlock as S, Fragment as V, renderList as x, withModifiers as U } from "vue";
|
|
2
|
+
import D from "../../icon/v4/IconV4.vue.js";
|
|
3
3
|
import "../../icon/v4/IconFlag.vue.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
4
|
+
import H from "../../button/v4/ButtonV4.vue.js";
|
|
5
|
+
import F from "../../button/v4/IconButtonV4.vue.js";
|
|
6
6
|
import "../../button/v4/ButtonGroup.vue.js";
|
|
7
7
|
import "../../button/v4/ToggleButtonGroupAB.vue.js";
|
|
8
|
-
import
|
|
9
|
-
import { snackbarCommon as
|
|
10
|
-
import { useTestIdAttrs as
|
|
8
|
+
import b from "../../typography/v4/Typography.vue.js";
|
|
9
|
+
import { snackbarCommon as G } from "../common/snackbar.common.js";
|
|
10
|
+
import { useTestIdAttrs as P } from "../../../utils/testIds.js";
|
|
11
11
|
import { SnackbarTestIdModifiers as i } from "../../../testids/index.js";
|
|
12
|
-
const
|
|
12
|
+
const R = ["id"], j = { class: "container" }, q = { class: "texts" }, J = { class: "message" }, K = { class: "action-wrapper" }, Q = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "actions"
|
|
15
|
-
},
|
|
15
|
+
}, W = { class: "close-button-wrapper" }, lt = /* @__PURE__ */ $({
|
|
16
16
|
__name: "SnackbarV4",
|
|
17
17
|
props: {
|
|
18
18
|
customClass: null,
|
|
@@ -32,15 +32,15 @@ const P = ["id"], R = { class: "container" }, j = { class: "texts" }, q = { clas
|
|
|
32
32
|
testId: { default: "" }
|
|
33
33
|
},
|
|
34
34
|
emits: ["destroy"],
|
|
35
|
-
setup(
|
|
36
|
-
const
|
|
37
|
-
visible:
|
|
38
|
-
horizontalClass:
|
|
39
|
-
positionStyle:
|
|
35
|
+
setup(e) {
|
|
36
|
+
const m = e, {
|
|
37
|
+
visible: p,
|
|
38
|
+
horizontalClass: w,
|
|
39
|
+
positionStyle: L,
|
|
40
40
|
clearTimer: k,
|
|
41
41
|
startTimer: C,
|
|
42
|
-
close:
|
|
43
|
-
} =
|
|
42
|
+
close: y
|
|
43
|
+
} = G(m), E = {
|
|
44
44
|
info: {
|
|
45
45
|
iconName: "info",
|
|
46
46
|
class: "snackbar-icon-info"
|
|
@@ -53,83 +53,85 @@ const P = ["id"], R = { class: "container" }, j = { class: "texts" }, q = { clas
|
|
|
53
53
|
iconName: "check-circle",
|
|
54
54
|
class: "snackbar-icon-success"
|
|
55
55
|
}
|
|
56
|
-
},
|
|
57
|
-
|
|
56
|
+
}, v = A(() => E[m.type]), r = P(m.testId, i), M = ({ closeOnClick: c, onClick: o }) => () => {
|
|
57
|
+
c && y(), o && o();
|
|
58
|
+
};
|
|
59
|
+
return (c, o) => (n(), d(O, {
|
|
58
60
|
name: "snackbar",
|
|
59
|
-
onBeforeLeave:
|
|
60
|
-
onAfterLeave: o[3] || (o[3] = (s) =>
|
|
61
|
+
onBeforeLeave: e.onClose,
|
|
62
|
+
onAfterLeave: o[3] || (o[3] = (s) => c.$emit("destroy"))
|
|
61
63
|
}, {
|
|
62
64
|
default: f(() => [
|
|
63
|
-
|
|
64
|
-
id:
|
|
65
|
-
class: ["snackbar light-theme-v4", [
|
|
66
|
-
style:
|
|
65
|
+
I(a("div", l({
|
|
66
|
+
id: e.id,
|
|
67
|
+
class: ["snackbar light-theme-v4", [e.customClass, t(w)]],
|
|
68
|
+
style: t(L),
|
|
67
69
|
role: "alert"
|
|
68
|
-
},
|
|
70
|
+
}, t(r)[t(i).CONTAINER], {
|
|
69
71
|
onMouseenter: o[0] || (o[0] = //@ts-ignore
|
|
70
|
-
(...s) =>
|
|
72
|
+
(...s) => t(k) && t(k)(...s)),
|
|
71
73
|
onMouseleave: o[1] || (o[1] = //@ts-ignore
|
|
72
|
-
(...s) =>
|
|
74
|
+
(...s) => t(C) && t(C)(...s)),
|
|
73
75
|
onClick: o[2] || (o[2] = //@ts-ignore
|
|
74
|
-
(...s) =>
|
|
76
|
+
(...s) => e.onClick && e.onClick(...s))
|
|
75
77
|
}), [
|
|
76
|
-
a("div",
|
|
77
|
-
a("div",
|
|
78
|
-
|
|
78
|
+
a("div", j, [
|
|
79
|
+
a("div", q, [
|
|
80
|
+
e.title ? (n(), d(t(b), l({
|
|
79
81
|
key: 0,
|
|
80
82
|
variant: "h4",
|
|
81
83
|
class: "title"
|
|
82
|
-
},
|
|
84
|
+
}, t(r)[t(i).TITLE]), {
|
|
83
85
|
default: f(() => [
|
|
84
|
-
z(
|
|
85
|
-
name:
|
|
86
|
+
z(t(D), l({
|
|
87
|
+
name: t(v).iconName,
|
|
86
88
|
type: "fill",
|
|
87
89
|
size: "20px",
|
|
88
|
-
class: [
|
|
89
|
-
},
|
|
90
|
-
|
|
90
|
+
class: [t(v).class, "icon-container"]
|
|
91
|
+
}, t(r)[t(i).ICON]), null, 16, ["name", "class"]),
|
|
92
|
+
T(" " + h(e.title), 1)
|
|
91
93
|
]),
|
|
92
94
|
_: 1
|
|
93
|
-
}, 16)) :
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
}, 16)) : u("", !0),
|
|
96
|
+
I(a("div", J, [
|
|
97
|
+
B(c.$slots, "default", {}, () => [
|
|
98
|
+
e.dangerouslyUseHTMLString ? u("", !0) : (n(), d(t(b), l({
|
|
97
99
|
key: 0,
|
|
98
100
|
variant: "body2"
|
|
99
|
-
},
|
|
101
|
+
}, t(r)[t(i).MESSAGE]), {
|
|
100
102
|
default: f(() => [
|
|
101
|
-
|
|
103
|
+
T(h(e.message), 1)
|
|
102
104
|
]),
|
|
103
105
|
_: 1
|
|
104
106
|
}, 16))
|
|
105
107
|
], !0)
|
|
106
108
|
], 512), [
|
|
107
|
-
[
|
|
109
|
+
[N, e.message]
|
|
108
110
|
]),
|
|
109
|
-
a("div",
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
(n(!0),
|
|
113
|
-
key:
|
|
114
|
-
"data-testid":
|
|
111
|
+
a("div", K, [
|
|
112
|
+
B(c.$slots, "actions", {}, () => [
|
|
113
|
+
e.actionButtons ? (n(), S("div", Q, [
|
|
114
|
+
(n(!0), S(V, null, x(e.actionButtons, (s, g) => (n(), d(t(H), l({
|
|
115
|
+
key: g,
|
|
116
|
+
"data-testid": e.testId ? `${e.testId}-${t(i).ACTION_BUTTON}-${g}` : "",
|
|
115
117
|
size: "small"
|
|
116
|
-
}, { ...s }), null, 16, ["data-testid"]))), 128))
|
|
117
|
-
])) :
|
|
118
|
+
}, { ...s, onClick: M(s) }), null, 16, ["data-testid"]))), 128))
|
|
119
|
+
])) : u("", !0)
|
|
118
120
|
], !0)
|
|
119
121
|
])
|
|
120
122
|
]),
|
|
121
|
-
a("div",
|
|
122
|
-
|
|
123
|
+
a("div", W, [
|
|
124
|
+
e.showClose ? (n(), d(t(F), l({
|
|
123
125
|
key: 0,
|
|
124
126
|
"icon-name": "x",
|
|
125
127
|
size: "small"
|
|
126
|
-
},
|
|
127
|
-
onClick:
|
|
128
|
-
}), null, 16, ["onClick"])) :
|
|
128
|
+
}, t(r)[t(i).CLOSE], {
|
|
129
|
+
onClick: U(t(y), ["stop"])
|
|
130
|
+
}), null, 16, ["onClick"])) : u("", !0)
|
|
129
131
|
])
|
|
130
132
|
])
|
|
131
|
-
], 16,
|
|
132
|
-
[
|
|
133
|
+
], 16, R), [
|
|
134
|
+
[N, t(p)]
|
|
133
135
|
])
|
|
134
136
|
]),
|
|
135
137
|
_: 3
|
|
@@ -137,5 +139,5 @@ const P = ["id"], R = { class: "container" }, j = { class: "texts" }, q = { clas
|
|
|
137
139
|
}
|
|
138
140
|
});
|
|
139
141
|
export {
|
|
140
|
-
|
|
142
|
+
lt as default
|
|
141
143
|
};
|
|
@@ -6,6 +6,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
6
6
|
isSelected?: boolean;
|
|
7
7
|
selectedChildId?: string | number;
|
|
8
8
|
searchQuery?: string;
|
|
9
|
+
childListMaxHeight: string;
|
|
9
10
|
searchHandler?: (item: SortableListItem, searchQuery: string) => boolean;
|
|
10
11
|
displayValue: (item: SortableListItem) => string;
|
|
11
12
|
}>, {
|
|
@@ -15,6 +16,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
15
16
|
selectedChildId: any;
|
|
16
17
|
searchQuery: any;
|
|
17
18
|
index: any;
|
|
19
|
+
childListMaxHeight: string;
|
|
18
20
|
searchHandler: any;
|
|
19
21
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
22
|
toggle: (value: boolean) => void;
|
|
@@ -27,6 +29,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
27
29
|
isSelected?: boolean;
|
|
28
30
|
selectedChildId?: string | number;
|
|
29
31
|
searchQuery?: string;
|
|
32
|
+
childListMaxHeight: string;
|
|
30
33
|
searchHandler?: (item: SortableListItem, searchQuery: string) => boolean;
|
|
31
34
|
displayValue: (item: SortableListItem) => string;
|
|
32
35
|
}>, {
|
|
@@ -36,6 +39,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
36
39
|
selectedChildId: any;
|
|
37
40
|
searchQuery: any;
|
|
38
41
|
index: any;
|
|
42
|
+
childListMaxHeight: string;
|
|
39
43
|
searchHandler: any;
|
|
40
44
|
}>>> & {
|
|
41
45
|
onSelect?: () => any;
|
|
@@ -47,6 +51,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
47
51
|
isSelected: boolean;
|
|
48
52
|
searchQuery: string;
|
|
49
53
|
selectedChildId: string | number;
|
|
54
|
+
childListMaxHeight: string;
|
|
50
55
|
searchHandler: (item: SortableListItem, searchQuery: string) => boolean;
|
|
51
56
|
}>, {
|
|
52
57
|
menu?(_: {}): any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./SortableItem.vue2.js";
|
|
2
2
|
/* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../SortableItem.
|
|
4
|
-
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../SortableItem.vue_vue_type_style_index_0_scoped_2ca7b24c_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-2ca7b24c"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|