@ironsource/shared-ui 2.1.6-rc.4 → 2.1.6-rc.41
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/Alert.vue_vue_type_style_index_0_scoped_5cdc75dd_lang.css +1 -0
- package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_858cefbf_lang.css +1 -0
- package/AppHeader.vue_vue_type_style_index_0_scoped_538ccdc6_lang.css +1 -0
- package/Autocomplete.vue_vue_type_style_index_0_scoped_a7bfd237_lang.css +1 -0
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_a8fdae89_lang.css +1 -0
- package/ChipV4.vue_vue_type_style_index_0_scoped_12c0f396_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_057abdf5_lang.css +1 -0
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_0345d6b1_lang.css +1 -0
- package/DialogV4.vue_vue_type_style_index_0_scoped_09c488cf_lang.css +1 -0
- package/Dropdown.vue_vue_type_style_index_0_scoped_aaa8c4bb_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_7af4f288_lang.css +1 -0
- package/FieldLabel.vue_vue_type_style_index_0_scoped_96ee1c98_lang.css +1 -0
- package/FoldableSection.vue_vue_type_style_index_0_scoped_1a5f0e2e_lang.css +1 -0
- package/{FormCard.vue_vue_type_style_index_0_scoped_ef8b4e81_lang.css → FormCard.vue_vue_type_style_index_0_scoped_52ade67c_lang.css} +1 -1
- package/HelpIcon.vue_vue_type_style_index_0_scoped_06fce2e3_lang.css +1 -0
- package/IconV4.vue_vue_type_style_index_0_scoped_9d3c9cda_lang.css +1 -0
- package/InlineCopy.vue_vue_type_style_index_0_scoped_893a203c_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_9db0f796_lang.css +1 -0
- package/TextAreaV4.vue_vue_type_style_index_0_scoped_f3b2c01d_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_a6457440_lang.css +1 -0
- package/ToggleV4.vue_vue_type_style_index_0_scoped_a4aa32fb_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_fcdb9d02_lang.css +1 -0
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_142eab98_lang.css +1 -0
- package/components/alert/Alert.vue.d.ts +23 -0
- package/components/alert/Alert.vue.js +3 -3
- package/components/alert/Alert.vue2.js +68 -48
- package/components/alert/index.d.ts +85 -2
- package/components/appHeader/AppHeader.vue.d.ts +6 -2
- package/components/appHeader/AppHeader.vue.js +2 -2
- package/components/appHeader/AppHeader.vue2.js +30 -28
- package/components/appHeader/index.d.ts +6 -2
- package/components/autocomplete/Autocomplete.vue.d.ts +6 -0
- package/components/autocomplete/Autocomplete.vue.js +2 -2
- package/components/autocomplete/Autocomplete.vue2.js +45 -37
- package/components/autocomplete/index.d.ts +21 -1
- package/components/button/v4/ButtonV4.vue.d.ts +7 -7
- package/components/button/v4/IconButtonV4.vue.d.ts +4 -4
- package/components/button/v4/index.d.ts +61 -61
- package/components/chip/v4/Chip.types.d.ts +6 -0
- package/components/chip/v4/ChipV4.vue.d.ts +28 -35
- package/components/chip/v4/ChipV4.vue.js +3 -3
- package/components/chip/v4/ChipV4.vue2.js +28 -59
- package/components/chip/v4/index.d.ts +45 -148
- package/components/dialog/v3/Dialog.vue.d.ts +1 -1
- package/components/dialog/v3/index.d.ts +20 -20
- package/components/dialog/v4/DialogV4.vue.js +3 -3
- package/components/dialog/v4/DialogV4.vue2.js +67 -62
- package/components/dropdown/common/Dropdown.common.js +74 -69
- package/components/dropdown/common/Option.common.d.ts +1 -1
- package/components/dropdown/common/Option.common.js +9 -9
- package/components/dropdown/composables/useChildOptions.d.ts +7 -0
- package/components/dropdown/composables/useChildOptions.js +14 -0
- package/components/dropdown/v3/Dropdown.vue.d.ts +4 -0
- package/components/dropdown/v3/Dropdown.vue.js +4 -4
- package/components/dropdown/v3/Dropdown.vue2.js +32 -32
- package/components/dropdown/v3/index.d.ts +13 -1
- package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +16 -3
- package/components/dropdown/v4/AppDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/AppDropdownTrigger.vue2.js +102 -61
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +1 -1
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +8 -3
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +22 -21
- package/components/dropdown/v4/DropdownV4.vue.d.ts +35 -3
- package/components/dropdown/v4/DropdownV4.vue.js +2 -2
- package/components/dropdown/v4/DropdownV4.vue2.js +127 -114
- package/components/dropdown/v4/OptionV4.vue.d.ts +14 -3
- package/components/dropdown/v4/OptionV4.vue.js +2 -2
- package/components/dropdown/v4/OptionV4.vue2.js +79 -56
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +112 -0
- package/components/dropdown/v4/TreeDropdown.vue.js +7 -0
- package/components/dropdown/v4/TreeDropdown.vue2.js +122 -0
- package/components/dropdown/v4/dropdownStoryArgs.d.ts +1 -1
- package/components/dropdown/v4/index.d.ts +422 -38
- package/components/dropdown/v4/index.js +7 -4
- package/components/emptyState/v3/EmptyState.vue.d.ts +2 -2
- package/components/emptyState/v3/index.d.ts +47 -47
- package/components/emptyState/v4/EmptyStateV4.vue.d.ts +3 -3
- package/components/emptyState/v4/index.d.ts +7 -7
- package/components/forms/FormCard.vue.js +2 -2
- package/components/forms/FormCard.vue2.js +9 -9
- package/components/icon/v4/Icon.types.d.ts +1 -1
- package/components/icon/v4/IconV4.vue.d.ts +16 -6
- package/components/icon/v4/IconV4.vue.js +4 -4
- package/components/icon/v4/IconV4.vue2.js +36 -33
- package/components/icon/v4/index.d.ts +53 -15
- package/components/inlineCopy/InlineCopy.vue.d.ts +6 -2
- package/components/inlineCopy/InlineCopy.vue.js +3 -3
- package/components/inlineCopy/InlineCopy.vue2.js +23 -22
- package/components/inlineCopy/index.d.ts +6 -2
- package/components/input/v4/TextField.vue.d.ts +5 -0
- package/components/input/v4/TextField.vue.js +3 -3
- package/components/input/v4/TextField.vue2.js +24 -21
- package/components/input/v4/index.d.ts +20 -1
- package/components/layout/FoldableSection.vue.js +5 -5
- package/components/layout/FoldableSection.vue2.js +1 -1
- package/components/multibar/MultiBarMenu.vue2.js +12 -11
- package/components/shared/FieldLabel.vue.js +3 -3
- package/components/shared/FieldLabel.vue2.js +9 -9
- package/components/snackbar/v4/SnackbarV4.vue.d.ts +20 -20
- package/components/table/common/Table.common.d.ts +1 -0
- package/components/table/common/Table.common.js +65 -61
- package/components/table/v4/DataGrid.vue.d.ts +9 -1
- package/components/table/v4/DataGrid.vue.js +3 -3
- package/components/table/v4/DataGrid.vue2.js +180 -176
- package/components/table/v4/DataGridMenu.vue2.js +3 -2
- package/components/table/v4/HelpIcon.vue.js +5 -5
- package/components/table/v4/HelpIcon.vue2.js +5 -5
- package/components/table/v4/index.d.ts +29 -5
- package/components/textArea/v4/TextAreaV4.vue.js +3 -3
- package/components/textArea/v4/TextAreaV4.vue2.js +1 -1
- package/components/toggle/v4/ToggleV4.vue.d.ts +1 -1
- package/components/toggle/v4/ToggleV4.vue.js +3 -3
- package/components/toggle/v4/ToggleV4.vue2.js +12 -12
- package/components/toggle/v4/index.d.ts +20 -20
- package/components/tooltip/v4/TooltipV4.vue.d.ts +6 -2
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +21 -19
- package/components/tooltip/v4/index.d.ts +17 -5
- package/composables/useFormValidation.js +19 -13
- package/design-foundation.stories/icons/iconsData.d.ts +5 -1
- package/index.d.ts +1451 -688
- package/mocks/apps.d.ts +1 -0
- package/mocks/options.d.ts +12 -0
- package/package.json +1 -1
- package/utils/text.d.ts +1 -0
- package/utils/text.js +9 -0
- package/Alert.vue_vue_type_style_index_0_scoped_d6680a72_lang.css +0 -1
- package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_0267d003_lang.css +0 -1
- package/AppHeader.vue_vue_type_style_index_0_scoped_c148fc7a_lang.css +0 -1
- package/Autocomplete.vue_vue_type_style_index_0_scoped_62faa8e0_lang.css +0 -1
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_889042cf_lang.css +0 -1
- package/ChipV4.vue_vue_type_style_index_0_scoped_78d7c9c0_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_c96fba2c_lang.css +0 -1
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_c9783327_lang.css +0 -1
- package/DialogV4.vue_vue_type_style_index_0_scoped_c3004ba3_lang.css +0 -1
- package/Dropdown.vue_vue_type_style_index_0_scoped_d4f8e790_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_0968078f_lang.css +0 -1
- package/FieldLabel.vue_vue_type_style_index_0_scoped_72ab1f25_lang.css +0 -1
- package/FoldableSection.vue_vue_type_style_index_0_scoped_8d0fd203_lang.css +0 -1
- package/HelpIcon.vue_vue_type_style_index_0_scoped_7a611779_lang.css +0 -1
- package/IconV4.vue_vue_type_style_index_0_scoped_a78f8a3e_lang.css +0 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_ff9f4a0f_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_b8375219_lang.css +0 -1
- package/TextAreaV4.vue_vue_type_style_index_0_scoped_8199b662_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_07687bcc_lang.css +0 -1
- package/ToggleV4.vue_vue_type_style_index_0_scoped_ad231e8c_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_25809092_lang.css +0 -1
|
@@ -26,6 +26,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
26
26
|
triggerFeedbackText?: string;
|
|
27
27
|
triggerFeedbackVariant?: "success" | "warning" | "error";
|
|
28
28
|
triggerFeedbackShowIcon?: boolean;
|
|
29
|
+
triggerShowAllSelectedText?: boolean;
|
|
29
30
|
size?: "small" | "medium" | "large";
|
|
30
31
|
mandatory?: boolean;
|
|
31
32
|
predefinedTrigger?: "default" | "icon-button" | "chip" | "app";
|
|
@@ -39,13 +40,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
39
40
|
optionNameKey?: string;
|
|
40
41
|
optionIconKey?: string;
|
|
41
42
|
optionImageKey?: string;
|
|
42
|
-
optionIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
43
|
+
optionIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat";
|
|
44
|
+
optionEndIconKey?: string;
|
|
45
|
+
optionEndIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat";
|
|
43
46
|
valueToCopy?: string;
|
|
44
47
|
disabledOptionKey?: string;
|
|
45
48
|
theme?: string;
|
|
46
49
|
fullWidth?: boolean;
|
|
47
50
|
optionsListWidth?: string;
|
|
48
51
|
statusType?: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
52
|
+
disableVirtualScroll?: boolean;
|
|
53
|
+
overrideOptionCountCalculation?: (option: unknown) => number;
|
|
49
54
|
}>, {
|
|
50
55
|
multi: boolean;
|
|
51
56
|
inlineSearchPlaceholder: string;
|
|
@@ -79,17 +84,22 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
79
84
|
triggerFeedbackText: string;
|
|
80
85
|
triggerFeedbackVariant: any;
|
|
81
86
|
triggerFeedbackShowIcon: boolean;
|
|
87
|
+
triggerShowAllSelectedText: boolean;
|
|
82
88
|
searchAutoFocus: boolean;
|
|
83
89
|
predefinedTrigger: "default" | "icon-button" | "chip" | "app";
|
|
84
90
|
optionNameKey: string;
|
|
85
91
|
optionIconKey: string;
|
|
86
92
|
optionImageKey: string;
|
|
87
93
|
optionIconType: any;
|
|
94
|
+
optionEndIconKey: string;
|
|
95
|
+
optionEndIconType: any;
|
|
88
96
|
valueToCopy: any;
|
|
89
97
|
disabledOptionKey: string;
|
|
90
98
|
fullWidth: boolean;
|
|
91
99
|
optionsListWidth: any;
|
|
92
100
|
statusType: any;
|
|
101
|
+
disableVirtualScroll: boolean;
|
|
102
|
+
overrideOptionCountCalculation: any;
|
|
93
103
|
}>, {
|
|
94
104
|
selectItem: (option: any, index?: number) => void;
|
|
95
105
|
scrollTo: (index: number) => void;
|
|
@@ -99,6 +109,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
99
109
|
closed: () => void;
|
|
100
110
|
opened: () => void;
|
|
101
111
|
apply: (value: unknown) => void;
|
|
112
|
+
selectAll: () => void;
|
|
113
|
+
clear: () => void;
|
|
114
|
+
copyToClipboard: () => void;
|
|
102
115
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
103
116
|
modelValue?: unknown;
|
|
104
117
|
selected?: unknown;
|
|
@@ -126,6 +139,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
126
139
|
triggerFeedbackText?: string;
|
|
127
140
|
triggerFeedbackVariant?: "success" | "warning" | "error";
|
|
128
141
|
triggerFeedbackShowIcon?: boolean;
|
|
142
|
+
triggerShowAllSelectedText?: boolean;
|
|
129
143
|
size?: "small" | "medium" | "large";
|
|
130
144
|
mandatory?: boolean;
|
|
131
145
|
predefinedTrigger?: "default" | "icon-button" | "chip" | "app";
|
|
@@ -139,13 +153,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
139
153
|
optionNameKey?: string;
|
|
140
154
|
optionIconKey?: string;
|
|
141
155
|
optionImageKey?: string;
|
|
142
|
-
optionIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
156
|
+
optionIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat";
|
|
157
|
+
optionEndIconKey?: string;
|
|
158
|
+
optionEndIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat";
|
|
143
159
|
valueToCopy?: string;
|
|
144
160
|
disabledOptionKey?: string;
|
|
145
161
|
theme?: string;
|
|
146
162
|
fullWidth?: boolean;
|
|
147
163
|
optionsListWidth?: string;
|
|
148
164
|
statusType?: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
165
|
+
disableVirtualScroll?: boolean;
|
|
166
|
+
overrideOptionCountCalculation?: (option: unknown) => number;
|
|
149
167
|
}>, {
|
|
150
168
|
multi: boolean;
|
|
151
169
|
inlineSearchPlaceholder: string;
|
|
@@ -179,19 +197,27 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
179
197
|
triggerFeedbackText: string;
|
|
180
198
|
triggerFeedbackVariant: any;
|
|
181
199
|
triggerFeedbackShowIcon: boolean;
|
|
200
|
+
triggerShowAllSelectedText: boolean;
|
|
182
201
|
searchAutoFocus: boolean;
|
|
183
202
|
predefinedTrigger: "default" | "icon-button" | "chip" | "app";
|
|
184
203
|
optionNameKey: string;
|
|
185
204
|
optionIconKey: string;
|
|
186
205
|
optionImageKey: string;
|
|
187
206
|
optionIconType: any;
|
|
207
|
+
optionEndIconKey: string;
|
|
208
|
+
optionEndIconType: any;
|
|
188
209
|
valueToCopy: any;
|
|
189
210
|
disabledOptionKey: string;
|
|
190
211
|
fullWidth: boolean;
|
|
191
212
|
optionsListWidth: any;
|
|
192
213
|
statusType: any;
|
|
214
|
+
disableVirtualScroll: boolean;
|
|
215
|
+
overrideOptionCountCalculation: any;
|
|
193
216
|
}>>> & {
|
|
217
|
+
onCopyToClipboard?: () => any;
|
|
218
|
+
onClear?: () => any;
|
|
194
219
|
onApply?: (value: unknown) => any;
|
|
220
|
+
onSelectAll?: () => any;
|
|
195
221
|
"onUpdate:selected"?: (value: unknown) => any;
|
|
196
222
|
"onUpdate:isOpen"?: (value: unknown) => any;
|
|
197
223
|
onOpened?: () => any;
|
|
@@ -224,6 +250,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
224
250
|
triggerFeedbackText: string;
|
|
225
251
|
triggerFeedbackVariant: "success" | "warning" | "error";
|
|
226
252
|
triggerFeedbackShowIcon: boolean;
|
|
253
|
+
triggerShowAllSelectedText: boolean;
|
|
227
254
|
predefinedTrigger: "default" | "icon-button" | "chip" | "app";
|
|
228
255
|
inlineSearch: boolean;
|
|
229
256
|
inlineSearchPlaceholder: string;
|
|
@@ -233,12 +260,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
233
260
|
optionNameKey: string;
|
|
234
261
|
optionIconKey: string;
|
|
235
262
|
optionImageKey: string;
|
|
236
|
-
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
263
|
+
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat";
|
|
264
|
+
optionEndIconKey: string;
|
|
265
|
+
optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat";
|
|
237
266
|
valueToCopy: string;
|
|
238
267
|
disabledOptionKey: string;
|
|
239
268
|
fullWidth: boolean;
|
|
240
269
|
optionsListWidth: string;
|
|
241
270
|
statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
271
|
+
disableVirtualScroll: boolean;
|
|
272
|
+
overrideOptionCountCalculation: (option: unknown) => number;
|
|
242
273
|
}>, {
|
|
243
274
|
label?(_: {}): any;
|
|
244
275
|
"dropdown-trigger"?(_: {
|
|
@@ -254,6 +285,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
254
285
|
}): any;
|
|
255
286
|
default?(_: {
|
|
256
287
|
option: unknown;
|
|
288
|
+
index: number;
|
|
257
289
|
selected: boolean;
|
|
258
290
|
active: boolean;
|
|
259
291
|
disabled: any;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./DropdownV4.vue2.js";
|
|
2
2
|
/* empty css *//* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../DropdownV4.
|
|
3
|
+
// import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_7af4f288_lang.css"; //*');
|
|
4
4
|
// import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; //');
|
|
5
|
-
const r = /* @__PURE__ */ _(o, [["__scopeId", "data-v-
|
|
5
|
+
const r = /* @__PURE__ */ _(o, [["__scopeId", "data-v-7af4f288"]]);
|
|
6
6
|
export {
|
|
7
7
|
r as default
|
|
8
8
|
};
|