@ironsource/shared-ui 2.2.0-rc.42 → 2.2.0-rc.48
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/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_5a645cc9_lang.css +1 -0
- package/DataGridMenu.vue_vue_type_style_index_0_scoped_b7e65177_lang.css +1 -0
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_bb44cdf8_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_f44f2402_lang.css +1 -0
- package/FieldLabel.vue_vue_type_style_index_0_scoped_960ea8b1_lang.css +1 -0
- package/HelpText.vue_vue_type_style_index_0_scoped_b5caf7cd_lang.css +1 -0
- package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_2a5345ef_lang.css +1 -0
- package/InlineCopy.vue_vue_type_style_index_0_scoped_8cb01c9d_lang.css +1 -0
- package/Link.vue_vue_type_style_index_0_scoped_c4345b08_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_d48a9318_lang.css +1 -0
- package/SearchV4.vue_vue_type_style_index_0_scoped_e1a33934_lang.css +1 -0
- package/TabsV4.vue_vue_type_style_index_0_scoped_9747c9da_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_f4275491_lang.css +1 -0
- package/ToggleV4.vue_vue_type_style_index_0_scoped_fbbae882_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_22e25f74_lang.css +1 -0
- package/components/autocomplete/index.d.ts +16 -16
- package/components/columnPicker/ColumnPicker.vue.d.ts +1 -1
- package/components/columnPicker/index.d.ts +20 -20
- package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
- package/components/dateRange/v4/DateRangeV4.vue2.js +28 -27
- package/components/dropdown/common/Dropdown.common.js +351 -274
- package/components/dropdown/v3/Dropdown.vue.d.ts +5 -5
- package/components/dropdown/v3/index.d.ts +77 -77
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +38 -32
- package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +1 -1
- package/components/dropdown/v4/DropdownV4.vue.d.ts +50 -41
- package/components/dropdown/v4/DropdownV4.vue.js +2 -2
- package/components/dropdown/v4/DropdownV4.vue2.js +237 -216
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue.d.ts +5 -0
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +12 -9
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +12 -12
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +1 -1
- package/components/dropdown/v4/index.d.ts +2377 -2349
- package/components/helpText/HelpText.vue.js +3 -3
- package/components/helpText/HelpText.vue2.js +11 -10
- package/components/includeExclude/IncludeExclude.vue.d.ts +2 -2
- package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +2 -2
- package/components/includeExclude/index.d.ts +54 -54
- package/components/inlineCopy/InlineCopy.vue.d.ts +5 -0
- package/components/inlineCopy/InlineCopy.vue.js +3 -3
- package/components/inlineCopy/InlineCopy.vue2.js +54 -53
- package/components/inlineCopy/index.d.ts +9 -0
- package/components/input/v4/TextField.vue.d.ts +5 -0
- package/components/input/v4/TextField.vue.js +2 -2
- package/components/input/v4/TextField.vue2.js +22 -19
- package/components/input/v4/index.d.ts +20 -1
- package/components/link/Link.vue.js +5 -5
- package/components/link/Link.vue2.js +30 -21
- package/components/search/v4/SearchV4.vue.d.ts +5 -0
- package/components/search/v4/SearchV4.vue.js +5 -5
- package/components/search/v4/SearchV4.vue2.js +23 -18
- package/components/search/v4/index.d.ts +9 -0
- package/components/shared/FieldLabel.vue.js +3 -3
- package/components/shared/FieldLabel.vue2.js +9 -8
- package/components/table/v4/DataGridMenu.vue.d.ts +5 -0
- package/components/table/v4/DataGridMenu.vue.js +5 -5
- package/components/table/v4/DataGridMenu.vue2.js +28 -22
- package/components/table/v4/index.d.ts +9 -0
- package/components/tabs/v4/TabsV4.vue.d.ts +5 -0
- package/components/tabs/v4/TabsV4.vue.js +3 -3
- package/components/tabs/v4/TabsV4.vue2.js +74 -43
- package/components/tabs/v4/index.d.ts +20 -1
- package/components/toggle/v4/ToggleV4.vue.d.ts +5 -0
- package/components/toggle/v4/ToggleV4.vue.js +3 -3
- package/components/toggle/v4/ToggleV4.vue2.js +50 -41
- package/components/toggle/v4/index.d.ts +20 -1
- package/components/tooltip/v4/TooltipV4.vue.d.ts +14 -1
- package/components/tooltip/v4/TooltipV4.vue.js +2 -2
- package/components/tooltip/v4/TooltipV4.vue2.js +85 -63
- package/components/tooltip/v4/index.d.ts +51 -4
- package/index.d.ts +2996 -2678
- package/index.js +1 -1
- package/package.json +5 -1
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_lang.css +0 -1
- package/DataGridMenu.vue_vue_type_style_index_0_scoped_ddfaf207_lang.css +0 -1
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_f8826716_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_526bf0a1_lang.css +0 -1
- package/FieldLabel.vue_vue_type_style_index_0_scoped_921d4087_lang.css +0 -1
- package/HelpText.vue_vue_type_style_index_0_scoped_641c2356_lang.css +0 -1
- package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_lang.css +0 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_9fa1921a_lang.css +0 -1
- package/Link.vue_vue_type_style_index_0_scoped_fe0e7f6f_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_771e1980_lang.css +0 -1
- package/SearchV4.vue_vue_type_style_index_0_scoped_d6c42f4b_lang.css +0 -1
- package/TabsV4.vue_vue_type_style_index_0_scoped_f9433b11_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_28fab783_lang.css +0 -1
- package/ToggleV4.vue_vue_type_style_index_0_scoped_a4aa32fb_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_a8aebfee_lang.css +0 -1
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { Placement } from 'floating-vue';
|
|
2
|
+
import { TriggerType } from './Dropdown.types';
|
|
3
|
+
import { IconTypes } from '@/components/icon/v4/Icon.types';
|
|
4
|
+
import { StatusDotTypes } from '@/components/statusDot/types';
|
|
5
|
+
import { TooltipPositions } from '@/components/tooltip/common/Tooltip.types';
|
|
2
6
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
-
modelValue?: unknown
|
|
4
|
-
selected?: unknown;
|
|
7
|
+
modelValue?: unknown | unknown[] | Record<string, unknown>;
|
|
8
|
+
selected?: unknown | unknown[];
|
|
5
9
|
multi?: boolean;
|
|
6
10
|
placeholder?: string;
|
|
7
11
|
disabled?: boolean;
|
|
@@ -24,7 +28,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
24
28
|
alwaysShowScroll?: boolean;
|
|
25
29
|
inlineError?: boolean;
|
|
26
30
|
inlineErrorText?: string;
|
|
27
|
-
inlineErrorTextPlacement?:
|
|
31
|
+
inlineErrorTextPlacement?: TooltipPositions;
|
|
28
32
|
isOnTop?: boolean;
|
|
29
33
|
distance?: number;
|
|
30
34
|
container?: string;
|
|
@@ -34,13 +38,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
34
38
|
triggerLabel?: string;
|
|
35
39
|
triggerHelperText?: string;
|
|
36
40
|
triggerFeedbackText?: string;
|
|
37
|
-
triggerFeedbackVariant?:
|
|
41
|
+
triggerFeedbackVariant?: 'error' | 'success' | 'warning';
|
|
38
42
|
triggerFeedbackShowIcon?: boolean;
|
|
39
43
|
triggerShowAllSelectedText?: boolean;
|
|
40
44
|
triggerShownValuesCount?: number;
|
|
41
|
-
size?:
|
|
45
|
+
size?: 'small' | 'medium' | 'large';
|
|
42
46
|
mandatory?: boolean;
|
|
43
|
-
predefinedTrigger?:
|
|
47
|
+
predefinedTrigger?: TriggerType;
|
|
44
48
|
inlineSearch?: boolean;
|
|
45
49
|
inlineSearchPlaceholder?: string;
|
|
46
50
|
onSearch?: (option: any, term: string) => boolean;
|
|
@@ -51,28 +55,29 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
51
55
|
optionNameKey?: string;
|
|
52
56
|
optionIconKey?: string;
|
|
53
57
|
optionImageKey?: string;
|
|
54
|
-
optionIconType?:
|
|
58
|
+
optionIconType?: IconTypes;
|
|
55
59
|
optionEndIconKey?: string;
|
|
56
|
-
optionEndIconType?:
|
|
60
|
+
optionEndIconType?: IconTypes;
|
|
57
61
|
optionsEndTextIconKey?: string;
|
|
58
62
|
optionFlagKey?: string;
|
|
59
63
|
optionWarningKey?: string;
|
|
60
64
|
valueToCopy?: string;
|
|
61
65
|
disabledOptionKey?: string;
|
|
62
|
-
optionTwoLinesVariant?:
|
|
66
|
+
optionTwoLinesVariant?: 'horizontal' | 'vertical';
|
|
63
67
|
optionTwoLinesKey?: string;
|
|
64
68
|
groupedOptions?: boolean;
|
|
65
69
|
resortGroupedOptions?: boolean;
|
|
66
70
|
comparingKey?: string;
|
|
67
71
|
customNumberOfDisplayedOptions?: number;
|
|
68
|
-
optionTooltipPosition?:
|
|
72
|
+
optionTooltipPosition?: TooltipPositions;
|
|
69
73
|
theme?: string;
|
|
70
74
|
fullWidth?: boolean;
|
|
71
75
|
optionsListWidth?: string;
|
|
72
|
-
statusType?:
|
|
76
|
+
statusType?: StatusDotTypes;
|
|
73
77
|
disableVirtualScroll?: boolean;
|
|
74
78
|
overrideOptionCountCalculation?: (option: unknown) => number;
|
|
75
79
|
withConditions?: boolean;
|
|
80
|
+
ariaLabel?: string;
|
|
76
81
|
}>, {
|
|
77
82
|
multi: boolean;
|
|
78
83
|
inlineSearchPlaceholder: string;
|
|
@@ -143,6 +148,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
143
148
|
overrideOptionCountCalculation: any;
|
|
144
149
|
withConditions: boolean;
|
|
145
150
|
infiniteLoading: boolean;
|
|
151
|
+
ariaLabel: string;
|
|
146
152
|
}>, {
|
|
147
153
|
selectItem: (option: any, index?: number) => void;
|
|
148
154
|
scrollTo: (index: number) => void;
|
|
@@ -160,8 +166,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
160
166
|
allSelectedChanged: (value: boolean) => void;
|
|
161
167
|
unsavedSelectionUpdate: (value: unknown[]) => void;
|
|
162
168
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
163
|
-
modelValue?: unknown
|
|
164
|
-
selected?: unknown;
|
|
169
|
+
modelValue?: unknown | unknown[] | Record<string, unknown>;
|
|
170
|
+
selected?: unknown | unknown[];
|
|
165
171
|
multi?: boolean;
|
|
166
172
|
placeholder?: string;
|
|
167
173
|
disabled?: boolean;
|
|
@@ -184,7 +190,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
184
190
|
alwaysShowScroll?: boolean;
|
|
185
191
|
inlineError?: boolean;
|
|
186
192
|
inlineErrorText?: string;
|
|
187
|
-
inlineErrorTextPlacement?:
|
|
193
|
+
inlineErrorTextPlacement?: TooltipPositions;
|
|
188
194
|
isOnTop?: boolean;
|
|
189
195
|
distance?: number;
|
|
190
196
|
container?: string;
|
|
@@ -194,13 +200,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
194
200
|
triggerLabel?: string;
|
|
195
201
|
triggerHelperText?: string;
|
|
196
202
|
triggerFeedbackText?: string;
|
|
197
|
-
triggerFeedbackVariant?:
|
|
203
|
+
triggerFeedbackVariant?: 'error' | 'success' | 'warning';
|
|
198
204
|
triggerFeedbackShowIcon?: boolean;
|
|
199
205
|
triggerShowAllSelectedText?: boolean;
|
|
200
206
|
triggerShownValuesCount?: number;
|
|
201
|
-
size?:
|
|
207
|
+
size?: 'small' | 'medium' | 'large';
|
|
202
208
|
mandatory?: boolean;
|
|
203
|
-
predefinedTrigger?:
|
|
209
|
+
predefinedTrigger?: TriggerType;
|
|
204
210
|
inlineSearch?: boolean;
|
|
205
211
|
inlineSearchPlaceholder?: string;
|
|
206
212
|
onSearch?: (option: any, term: string) => boolean;
|
|
@@ -211,28 +217,29 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
211
217
|
optionNameKey?: string;
|
|
212
218
|
optionIconKey?: string;
|
|
213
219
|
optionImageKey?: string;
|
|
214
|
-
optionIconType?:
|
|
220
|
+
optionIconType?: IconTypes;
|
|
215
221
|
optionEndIconKey?: string;
|
|
216
|
-
optionEndIconType?:
|
|
222
|
+
optionEndIconType?: IconTypes;
|
|
217
223
|
optionsEndTextIconKey?: string;
|
|
218
224
|
optionFlagKey?: string;
|
|
219
225
|
optionWarningKey?: string;
|
|
220
226
|
valueToCopy?: string;
|
|
221
227
|
disabledOptionKey?: string;
|
|
222
|
-
optionTwoLinesVariant?:
|
|
228
|
+
optionTwoLinesVariant?: 'horizontal' | 'vertical';
|
|
223
229
|
optionTwoLinesKey?: string;
|
|
224
230
|
groupedOptions?: boolean;
|
|
225
231
|
resortGroupedOptions?: boolean;
|
|
226
232
|
comparingKey?: string;
|
|
227
233
|
customNumberOfDisplayedOptions?: number;
|
|
228
|
-
optionTooltipPosition?:
|
|
234
|
+
optionTooltipPosition?: TooltipPositions;
|
|
229
235
|
theme?: string;
|
|
230
236
|
fullWidth?: boolean;
|
|
231
237
|
optionsListWidth?: string;
|
|
232
|
-
statusType?:
|
|
238
|
+
statusType?: StatusDotTypes;
|
|
233
239
|
disableVirtualScroll?: boolean;
|
|
234
240
|
overrideOptionCountCalculation?: (option: unknown) => number;
|
|
235
241
|
withConditions?: boolean;
|
|
242
|
+
ariaLabel?: string;
|
|
236
243
|
}>, {
|
|
237
244
|
multi: boolean;
|
|
238
245
|
inlineSearchPlaceholder: string;
|
|
@@ -303,15 +310,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
303
310
|
overrideOptionCountCalculation: any;
|
|
304
311
|
withConditions: boolean;
|
|
305
312
|
infiniteLoading: boolean;
|
|
313
|
+
ariaLabel: string;
|
|
306
314
|
}>>> & {
|
|
307
315
|
onCopyToClipboard?: () => any;
|
|
308
316
|
onClear?: () => any;
|
|
309
317
|
onApply?: (value: unknown) => any;
|
|
310
|
-
onSelectAll?: () => any;
|
|
311
318
|
"onUpdate:selected"?: (value: unknown) => any;
|
|
312
319
|
onAllSelectedChanged?: (value: boolean) => any;
|
|
313
320
|
"onUpdate:isOpen"?: (value: unknown) => any;
|
|
314
321
|
onOnsearch?: (value: string) => any;
|
|
322
|
+
onSelectAll?: () => any;
|
|
315
323
|
onLoadMore?: () => any;
|
|
316
324
|
onUnsavedSelectionUpdate?: (value: unknown[]) => any;
|
|
317
325
|
onOpened?: () => any;
|
|
@@ -324,67 +332,68 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
324
332
|
distance: number;
|
|
325
333
|
container: string;
|
|
326
334
|
popperClass: string;
|
|
327
|
-
size:
|
|
335
|
+
size: 'small' | 'medium' | 'large';
|
|
328
336
|
flip: boolean;
|
|
329
337
|
mandatory: boolean;
|
|
330
338
|
skidding: number;
|
|
331
339
|
modelValue: any;
|
|
332
340
|
valueToCopy: string;
|
|
341
|
+
ariaLabel: string;
|
|
333
342
|
selected: any;
|
|
334
343
|
placeholder: string;
|
|
335
344
|
inlineError: boolean;
|
|
336
345
|
inlineErrorText: string;
|
|
337
|
-
inlineErrorTextPlacement:
|
|
346
|
+
inlineErrorTextPlacement: TooltipPositions;
|
|
338
347
|
multi: boolean;
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
348
|
+
inlineSearchPlaceholder: string;
|
|
349
|
+
inlineSearch: boolean;
|
|
350
|
+
isOnTop: boolean;
|
|
351
|
+
noResultsText: string;
|
|
342
352
|
defaultOpen: boolean;
|
|
353
|
+
onSearch: (option: any, term: string) => boolean;
|
|
354
|
+
onClearSearch: () => void;
|
|
343
355
|
keepOpen: boolean;
|
|
344
356
|
autoSize: boolean;
|
|
345
357
|
disableKeyboardEvents: boolean;
|
|
358
|
+
showSelectAll: boolean;
|
|
359
|
+
showClearAll: boolean;
|
|
346
360
|
dynamicFilterMode: boolean;
|
|
347
361
|
minSelections: number;
|
|
348
362
|
maxSelections: number;
|
|
349
363
|
alwaysShowScroll: boolean;
|
|
350
|
-
isOnTop: boolean;
|
|
351
364
|
triggerLabel: string;
|
|
352
365
|
triggerHelperText: string;
|
|
353
366
|
triggerFeedbackText: string;
|
|
354
|
-
triggerFeedbackVariant:
|
|
367
|
+
triggerFeedbackVariant: 'error' | 'success' | 'warning';
|
|
355
368
|
triggerFeedbackShowIcon: boolean;
|
|
356
369
|
triggerShowAllSelectedText: boolean;
|
|
357
370
|
triggerShownValuesCount: number;
|
|
358
|
-
predefinedTrigger: "default" | "icon-button" | "chip" | "app";
|
|
359
|
-
inlineSearch: boolean;
|
|
360
|
-
inlineSearchPlaceholder: string;
|
|
361
|
-
onSearch: (option: any, term: string) => boolean;
|
|
362
|
-
noResultsText: string;
|
|
363
371
|
searchAutoFocus: boolean;
|
|
364
|
-
|
|
372
|
+
predefinedTrigger: TriggerType;
|
|
365
373
|
optionNameKey: string;
|
|
366
374
|
optionIconKey: string;
|
|
367
375
|
optionImageKey: string;
|
|
368
|
-
optionIconType:
|
|
376
|
+
optionIconType: IconTypes;
|
|
369
377
|
optionEndIconKey: string;
|
|
370
|
-
optionEndIconType:
|
|
378
|
+
optionEndIconType: IconTypes;
|
|
371
379
|
optionsEndTextIconKey: string;
|
|
372
380
|
optionFlagKey: string;
|
|
373
381
|
optionWarningKey: string;
|
|
374
382
|
disabledOptionKey: string;
|
|
375
|
-
optionTwoLinesVariant:
|
|
383
|
+
optionTwoLinesVariant: 'horizontal' | 'vertical';
|
|
376
384
|
optionTwoLinesKey: string;
|
|
377
385
|
groupedOptions: boolean;
|
|
378
386
|
resortGroupedOptions: boolean;
|
|
379
387
|
comparingKey: string;
|
|
380
388
|
customNumberOfDisplayedOptions: number;
|
|
381
|
-
optionTooltipPosition:
|
|
389
|
+
optionTooltipPosition: TooltipPositions;
|
|
382
390
|
fullWidth: boolean;
|
|
383
391
|
optionsListWidth: string;
|
|
384
|
-
statusType:
|
|
392
|
+
statusType: StatusDotTypes;
|
|
385
393
|
disableVirtualScroll: boolean;
|
|
386
394
|
overrideOptionCountCalculation: (option: unknown) => number;
|
|
387
395
|
withConditions: boolean;
|
|
396
|
+
infiniteLoading: boolean;
|
|
388
397
|
}>, {
|
|
389
398
|
label?(_: {}): any;
|
|
390
399
|
"dropdown-trigger"?(_: {
|
|
@@ -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_f44f2402_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-f44f2402"]]);
|
|
6
6
|
export {
|
|
7
7
|
r as default
|
|
8
8
|
};
|