@ironsource/shared-ui 1.4.2-test.9 → 1.4.3-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AddFilterButton.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/AppTrigger.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/AutocompleteDropdown.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/AutocompleteInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Banner.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Button.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/CalendarMonth.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Checkbox.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Chip.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/DatePicker.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/DatePickerMonth.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/DateRange.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Dialog.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/DollarInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Dropdown.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Editable.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/FilterDropdown.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/FiltersPanel.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Heading.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/IncludeExclude.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Input.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Menu.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/PasswordInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/PercentageInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/README.md +37 -22
- package/RadioButton.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/RadioGroup.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Search.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Switch.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Table.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Tabs.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Text.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/TextArea.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/TextWithTitleContent.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/Toggle.vue_vue_type_style_index_0_scoped_true_lang.css +1 -1
- package/components/appTrigger/AppTrigger.vue.d.ts +5 -0
- package/components/appTrigger/AppTrigger.vue.js +29 -16
- package/components/appTrigger/index.d.ts +11 -0
- package/components/autocompleteDropdown/AutocompleteDropdown.vue.d.ts +5 -0
- package/components/autocompleteDropdown/AutocompleteDropdown.vue.js +7 -4
- package/components/autocompleteDropdown/AutocompleteInput.vue.d.ts +5 -0
- package/components/autocompleteDropdown/AutocompleteInput.vue.js +12 -6
- package/components/autocompleteDropdown/index.d.ts +11 -0
- package/components/banner/Banner.vue.d.ts +9 -0
- package/components/banner/Banner.vue.js +20 -9
- package/components/banner/index.d.ts +9 -0
- package/components/button/Button.vue.d.ts +5 -0
- package/components/button/Button.vue.js +6 -4
- package/components/button/index.d.ts +17 -6
- package/components/checkbox/Checkbox.vue.d.ts +5 -0
- package/components/checkbox/Checkbox.vue.js +20 -14
- package/components/checkbox/index.d.ts +11 -0
- package/components/chip/Chip.vue.d.ts +5 -0
- package/components/chip/Chip.vue.js +12 -7
- package/components/chip/index.d.ts +11 -0
- package/components/datePicker/DatePicker.vue.d.ts +5 -0
- package/components/datePicker/DatePicker.vue.js +11 -6
- package/components/datePicker/DatePickerMonth.vue.d.ts +5 -0
- package/components/datePicker/DatePickerMonth.vue.js +5 -3
- package/components/datePicker/index.d.ts +11 -0
- package/components/dateRange/CalendarMonth.vue.d.ts +5 -0
- package/components/dateRange/CalendarMonth.vue.js +39 -21
- package/components/dateRange/DateRange.vue.d.ts +5 -0
- package/components/dateRange/DateRange.vue.js +49 -36
- package/components/dateRange/DateRangePicker.vue.d.ts +5 -0
- package/components/dateRange/index.d.ts +11 -0
- package/components/dialog/Dialog.vue.d.ts +5 -0
- package/components/dialog/Dialog.vue.js +38 -23
- package/components/dialog/index.d.ts +11 -0
- package/components/dropdown/Dropdown.vue.d.ts +5 -0
- package/components/dropdown/Dropdown.vue.js +62 -35
- package/components/dropdown/index.d.ts +11 -0
- package/components/emptyState/index.d.ts +3 -3
- package/components/filterDropdown/AddFilterButton.vue.d.ts +2 -0
- package/components/filterDropdown/AddFilterButton.vue.js +6 -4
- package/components/filterDropdown/FilterDropdown.vue.d.ts +5 -0
- package/components/filterDropdown/FilterDropdown.vue.js +8 -5
- package/components/filterDropdown/index.d.ts +17 -0
- package/components/filtersPanel/FiltersPanel.vue.d.ts +5 -0
- package/components/filtersPanel/FiltersPanel.vue.js +7 -4
- package/components/icon/Icon.vue.js +0 -1
- package/components/icon/icons/index.d.ts +0 -3
- package/components/icon/icons/index.vue.js +0 -3
- package/components/icon/index.d.ts +0 -3
- package/components/includeExclude/IncludeExclude.vue.d.ts +5 -13
- package/components/includeExclude/IncludeExclude.vue.js +86 -134
- package/components/includeExclude/IncludeExcludeAppHeader.vue.js +3 -4
- package/components/includeExclude/IncludeExcludeChipFilter.vue.js +2 -2
- package/components/includeExclude/includeExcludeMocks.d.ts +0 -12
- package/components/includeExclude/index.d.ts +23 -27
- package/components/includeExclude/index.vue.js +0 -3
- package/components/input/DollarInput.vue.d.ts +1 -1
- package/components/input/DollarInput.vue.js +1 -1
- package/components/input/Input.vue.d.ts +10 -0
- package/components/input/Input.vue.js +61 -35
- package/components/input/PasswordInput.vue.d.ts +1 -1
- package/components/input/PasswordInput.vue.js +1 -1
- package/components/input/PercentageInput.vue.d.ts +1 -1
- package/components/input/PercentageInput.vue.js +1 -1
- package/components/input/index.d.ts +34 -0
- package/components/menu/Menu.vue.d.ts +5 -0
- package/components/menu/Menu.vue.js +6 -4
- package/components/menu/index.d.ts +11 -0
- package/components/popover/Popover.vue.d.ts +5 -0
- package/components/popover/Popover.vue.js +5 -3
- package/components/popover/index.d.ts +11 -0
- package/components/radioButton/RadioButton.vue.d.ts +5 -0
- package/components/radioButton/RadioButton.vue.js +15 -8
- package/components/radioButton/RadioGroup.vue.d.ts +5 -0
- package/components/radioButton/RadioGroup.vue.js +9 -5
- package/components/radioButton/index.d.ts +22 -0
- package/components/search/Search.vue.d.ts +5 -0
- package/components/search/Search.vue.js +13 -7
- package/components/search/index.d.ts +11 -0
- package/components/switch/Switch.vue.d.ts +5 -0
- package/components/switch/Switch.vue.js +17 -9
- package/components/switch/index.d.ts +11 -0
- package/components/table/Table.types.d.ts +0 -1
- package/components/table/Table.vue.d.ts +5 -10
- package/components/table/Table.vue.js +56 -52
- package/components/table/index.d.ts +11 -22
- package/components/table-cells/Editable.vue.js +1 -1
- package/components/tabs/Tabs.vue.d.ts +5 -0
- package/components/tabs/Tabs.vue.js +20 -15
- package/components/tabs/index.d.ts +11 -0
- package/components/textArea/TextArea.vue.d.ts +5 -0
- package/components/textArea/TextArea.vue.js +23 -16
- package/components/textArea/index.d.ts +11 -0
- package/components/toggle/Toggle.vue.d.ts +10 -0
- package/components/toggle/Toggle.vue.js +37 -20
- package/components/toggle/index.d.ts +22 -0
- package/components/tooltip/TextWithTitleContent.vue.d.ts +16 -3
- package/components/tooltip/TextWithTitleContent.vue.js +11 -6
- package/components/tooltip/Tooltip.vue.d.ts +5 -0
- package/components/tooltip/Tooltip.vue.js +8 -4
- package/components/tooltip/index.d.ts +11 -0
- package/components/typography/Heading.vue.d.ts +5 -0
- package/components/typography/Heading.vue.js +7 -4
- package/components/typography/Text.vue.d.ts +5 -0
- package/components/typography/Text.vue.js +8 -4
- package/components/typography/index.d.ts +22 -0
- package/consts/regex.d.ts +1 -0
- package/consts/regex.vue.js +3 -0
- package/consts/style.d.ts +1 -0
- package/consts/style.vue.js +3 -0
- package/index.vue.js +1 -2
- package/package.json +4 -5
- package/testids/index.d.ts +146 -0
- package/testids/index.vue.js +170 -0
- package/utils/style.d.ts +1 -0
- package/utils/style.vue.js +5 -0
- package/IncludeExcludeOptionDraggable.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
- package/components/icon/icons/TableEdit.vue.d.ts +0 -2
- package/components/icon/icons/TableEdit.vue.js +0 -24
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.d.ts +0 -43
- package/components/includeExclude/IncludeExcludeOptionDraggable.vue.js +0 -122
- package/components/table/Pagination.vue.d.ts +0 -43
|
@@ -6,19 +6,21 @@ import { NOOP } from '@vue/shared';
|
|
|
6
6
|
import { Reason } from './Reason.vue.js';
|
|
7
7
|
import IconButton from '../button/IconButton.vue.js';
|
|
8
8
|
import Icon from '../icon/Icon.vue.js';
|
|
9
|
+
import { DialogTestIdModifiers } from '../../testids/index.vue.js';
|
|
9
10
|
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
10
11
|
|
|
11
12
|
import "../../Dialog.vue_vue_type_style_index_0_scoped_true_lang.css";
|
|
12
|
-
const _hoisted_1 =
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
const
|
|
17
|
-
const
|
|
13
|
+
const _hoisted_1 = ["data-testid"];
|
|
14
|
+
const _hoisted_2 = ["data-testid"];
|
|
15
|
+
const _hoisted_3 = ["data-testid"];
|
|
16
|
+
const _hoisted_4 = ["data-testid"];
|
|
17
|
+
const _hoisted_5 = { class: "placeholder" };
|
|
18
|
+
const _hoisted_6 = {
|
|
18
19
|
key: 1,
|
|
19
20
|
class: "footer"
|
|
20
21
|
};
|
|
21
|
-
const
|
|
22
|
+
const _hoisted_7 = ["data-testid"];
|
|
23
|
+
const _hoisted_8 = ["data-testid"];
|
|
22
24
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
23
25
|
__name: "Dialog",
|
|
24
26
|
props: {
|
|
@@ -35,13 +37,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
35
37
|
beforeClose: { type: Function, default: null },
|
|
36
38
|
title: { default: "" },
|
|
37
39
|
showCloseButton: { type: Boolean, default: true },
|
|
38
|
-
themeClass: { default: "" }
|
|
40
|
+
themeClass: { default: "" },
|
|
41
|
+
testId: { default: "" }
|
|
39
42
|
},
|
|
40
43
|
emits: ["update:modelValue", "open", "close"],
|
|
41
44
|
setup(__props, { emit }) {
|
|
42
45
|
const props = __props;
|
|
43
46
|
useCssVars((_ctx) => ({
|
|
44
|
-
"
|
|
47
|
+
"7d57480a": __props.width
|
|
45
48
|
}));
|
|
46
49
|
const visible = ref(false);
|
|
47
50
|
let openTimer = void 0;
|
|
@@ -118,10 +121,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
118
121
|
createElementVNode("div", {
|
|
119
122
|
class: "modal",
|
|
120
123
|
style: normalizeStyle(unref(inlineStyle)),
|
|
124
|
+
"data-testid": `${__props.testId}-${unref(DialogTestIdModifiers).WRAPPER}`,
|
|
121
125
|
onKeydown: _cache[1] || (_cache[1] = withKeys(($event) => __props.escapeToClose ? handleClose(unref(Reason).Escape) : unref(NOOP)(), ["esc"]))
|
|
122
126
|
}, [
|
|
123
127
|
createElementVNode("header", {
|
|
124
|
-
class: normalizeClass(["header", { "header--bordered": __props.headerBorder }])
|
|
128
|
+
class: normalizeClass(["header", { "header--bordered": __props.headerBorder }]),
|
|
129
|
+
"data-testid": `${__props.testId}-${unref(DialogTestIdModifiers).HEADER}`
|
|
125
130
|
}, [
|
|
126
131
|
__props.headerBorder ? renderSlot(_ctx.$slots, "header", { key: 0 }, () => [
|
|
127
132
|
createVNode(Text, { strong: "" }, {
|
|
@@ -138,6 +143,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
138
143
|
theme: "secondary",
|
|
139
144
|
variant: "colorized",
|
|
140
145
|
"icon-name": "close",
|
|
146
|
+
"data-testid": `${__props.testId}-${unref(DialogTestIdModifiers).ACTION_CLOSE}`,
|
|
141
147
|
onClick: _cache[0] || (_cache[0] = ($event) => handleClose(unref(Reason).CloseButton))
|
|
142
148
|
}, {
|
|
143
149
|
default: withCtx(() => [
|
|
@@ -147,9 +153,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
147
153
|
})
|
|
148
154
|
]),
|
|
149
155
|
_: 1
|
|
150
|
-
})) : createCommentVNode("", true)
|
|
151
|
-
],
|
|
152
|
-
!__props.headerBorder ? (openBlock(), createElementBlock("div",
|
|
156
|
+
}, 8, ["data-testid"])) : createCommentVNode("", true)
|
|
157
|
+
], 10, _hoisted_2),
|
|
158
|
+
!__props.headerBorder ? (openBlock(), createElementBlock("div", {
|
|
159
|
+
key: 0,
|
|
160
|
+
class: "header--secondary",
|
|
161
|
+
"data-testid": `${__props.testId}-${unref(DialogTestIdModifiers).HEADER_SECONDARY}`
|
|
162
|
+
}, [
|
|
153
163
|
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
154
164
|
createVNode(Text, { strong: "" }, {
|
|
155
165
|
default: withCtx(() => [
|
|
@@ -158,25 +168,30 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
158
168
|
_: 1
|
|
159
169
|
})
|
|
160
170
|
], true)
|
|
161
|
-
])) : createCommentVNode("", true),
|
|
171
|
+
], 8, _hoisted_3)) : createCommentVNode("", true),
|
|
162
172
|
createElementVNode("div", {
|
|
163
|
-
class: normalizeClass(["content", { "content--bordered": __props.headerBorder }])
|
|
173
|
+
class: normalizeClass(["content", { "content--bordered": __props.headerBorder }]),
|
|
174
|
+
"data-testid": `${__props.testId}-${unref(DialogTestIdModifiers).CONTENT}`
|
|
164
175
|
}, [
|
|
165
176
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
166
|
-
createElementVNode("div",
|
|
177
|
+
createElementVNode("div", _hoisted_5, toDisplayString(__props.content), 1)
|
|
167
178
|
], true)
|
|
168
|
-
],
|
|
169
|
-
_ctx.$slots["footer"] ? (openBlock(), createElementBlock("footer",
|
|
170
|
-
createElementVNode("div",
|
|
179
|
+
], 10, _hoisted_4),
|
|
180
|
+
_ctx.$slots["footer"] ? (openBlock(), createElementBlock("footer", _hoisted_6, [
|
|
181
|
+
createElementVNode("div", {
|
|
182
|
+
class: "action-buttons",
|
|
183
|
+
"data-testid": `${__props.testId}-${unref(DialogTestIdModifiers).ACTION_BUTTONS_WRAPPER}`
|
|
184
|
+
}, [
|
|
171
185
|
renderSlot(_ctx.$slots, "footer", {}, void 0, true)
|
|
172
|
-
])
|
|
186
|
+
], 8, _hoisted_7)
|
|
173
187
|
])) : createCommentVNode("", true)
|
|
174
|
-
],
|
|
188
|
+
], 44, _hoisted_1),
|
|
175
189
|
__props.showBackdrop ? (openBlock(), createElementBlock("div", {
|
|
176
190
|
key: 0,
|
|
177
191
|
class: "backdrop",
|
|
192
|
+
"data-testid": `${__props.testId}-${unref(DialogTestIdModifiers).BACKDROP}`,
|
|
178
193
|
onClick: _cache[2] || (_cache[2] = ($event) => __props.closeOnClickOutside ? handleClose(unref(Reason).Backdrop) : unref(NOOP)())
|
|
179
|
-
})) : createCommentVNode("", true)
|
|
194
|
+
}, null, 8, _hoisted_8)) : createCommentVNode("", true)
|
|
180
195
|
]),
|
|
181
196
|
_: 3
|
|
182
197
|
}, 8, ["class"])) : createCommentVNode("", true)
|
|
@@ -187,6 +202,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
187
202
|
};
|
|
188
203
|
}
|
|
189
204
|
});
|
|
190
|
-
var Dialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
205
|
+
var Dialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-55aea585"]]);
|
|
191
206
|
|
|
192
207
|
export { Dialog as default };
|
|
@@ -4,6 +4,11 @@ declare const DialogTypes: () => import("vue").DefineComponent<{
|
|
|
4
4
|
} & {
|
|
5
5
|
default: string;
|
|
6
6
|
};
|
|
7
|
+
testId: {
|
|
8
|
+
type: import("vue").PropType<string>;
|
|
9
|
+
} & {
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
7
12
|
modelValue: {
|
|
8
13
|
type: import("vue").PropType<boolean>;
|
|
9
14
|
required: true;
|
|
@@ -80,6 +85,11 @@ declare const DialogTypes: () => import("vue").DefineComponent<{
|
|
|
80
85
|
} & {
|
|
81
86
|
default: string;
|
|
82
87
|
};
|
|
88
|
+
testId: {
|
|
89
|
+
type: import("vue").PropType<string>;
|
|
90
|
+
} & {
|
|
91
|
+
default: string;
|
|
92
|
+
};
|
|
83
93
|
modelValue: {
|
|
84
94
|
type: import("vue").PropType<boolean>;
|
|
85
95
|
required: true;
|
|
@@ -150,6 +160,7 @@ declare const DialogTypes: () => import("vue").DefineComponent<{
|
|
|
150
160
|
onOpen?: () => any;
|
|
151
161
|
}, {
|
|
152
162
|
title: string;
|
|
163
|
+
testId: string;
|
|
153
164
|
content: string;
|
|
154
165
|
width: string | number;
|
|
155
166
|
appendToBody: boolean;
|
|
@@ -36,6 +36,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
36
36
|
disableKeyboardEvents?: boolean;
|
|
37
37
|
multiOptionsPlaceholderPrefix?: string;
|
|
38
38
|
multiOptionsPlaceholderSuffix?: string;
|
|
39
|
+
testId?: string;
|
|
39
40
|
}>, {
|
|
40
41
|
multi: boolean;
|
|
41
42
|
searchPlaceholder: string;
|
|
@@ -69,6 +70,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
69
70
|
disableKeyboardEvents: boolean;
|
|
70
71
|
multiOptionsPlaceholderPrefix: string;
|
|
71
72
|
multiOptionsPlaceholderSuffix: string;
|
|
73
|
+
testId: string;
|
|
72
74
|
}>, {
|
|
73
75
|
selectItem: (option: any, index?: number) => void;
|
|
74
76
|
scrollTo: (index: number) => void;
|
|
@@ -119,6 +121,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
119
121
|
disableKeyboardEvents?: boolean;
|
|
120
122
|
multiOptionsPlaceholderPrefix?: string;
|
|
121
123
|
multiOptionsPlaceholderSuffix?: string;
|
|
124
|
+
testId?: string;
|
|
122
125
|
}>, {
|
|
123
126
|
multi: boolean;
|
|
124
127
|
searchPlaceholder: string;
|
|
@@ -152,6 +155,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
152
155
|
disableKeyboardEvents: boolean;
|
|
153
156
|
multiOptionsPlaceholderPrefix: string;
|
|
154
157
|
multiOptionsPlaceholderSuffix: string;
|
|
158
|
+
testId: string;
|
|
155
159
|
}>>> & {
|
|
156
160
|
"onUpdate:selected"?: (value: unknown) => any;
|
|
157
161
|
"onUpdate:isOpen"?: (value: unknown) => any;
|
|
@@ -162,6 +166,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
162
166
|
size: 'sm' | 'lg';
|
|
163
167
|
title: string;
|
|
164
168
|
error: string;
|
|
169
|
+
testId: string;
|
|
165
170
|
theme: string;
|
|
166
171
|
placement: Placement;
|
|
167
172
|
disabled: boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, watch, useSlots, nextTick, toRaw, provide, onMounted, openBlock, createElementBlock, normalizeClass, renderSlot, createVNode,
|
|
1
|
+
import { defineComponent, ref, computed, watch, useSlots, nextTick, toRaw, provide, onMounted, openBlock, createElementBlock, normalizeClass, unref, renderSlot, createVNode, withCtx, Transition, createElementVNode, createTextVNode, toDisplayString, createCommentVNode, createBlock, mergeProps, withModifiers, Fragment, renderList, pushScopeId, popScopeId } from 'vue';
|
|
2
2
|
import Button from '../button/Button.vue.js';
|
|
3
3
|
import Icon from '../icon/Icon.vue.js';
|
|
4
|
+
import { DropdownTestIdModifiers } from '../../testids/index.vue.js';
|
|
4
5
|
/* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
|
|
5
6
|
import Text from '../typography/Text.vue.js';
|
|
6
7
|
/* empty css *//* empty css *//* empty css */import { Dropdown as Dropdown$1 } from 'floating-vue';
|
|
@@ -11,10 +12,11 @@ import { isObjectInArray } from '../../utils/array.vue.js';
|
|
|
11
12
|
import { objectsEqual } from '../../utils/object.vue.js';
|
|
12
13
|
import { useClamp, useVirtualList, onClickOutside } from '@vueuse/core';
|
|
13
14
|
import { Mode, Type, DropdownContext } from './DropdownContext.vue.js';
|
|
15
|
+
import { pxToRem } from '../../utils/style.vue.js';
|
|
14
16
|
/* empty css *//* empty css */
|
|
15
17
|
import "../../Dropdown.vue_vue_type_style_index_0_scoped_true_lang.css";import "../../Dropdown.vue_vue_type_style_index_1_lang.css";
|
|
16
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
17
|
-
const _hoisted_1 = ["tabindex"];
|
|
18
|
+
const _withScopeId = (n) => (pushScopeId("data-v-6b0dd6db"), n = n(), popScopeId(), n);
|
|
19
|
+
const _hoisted_1 = ["tabindex", "data-testid"];
|
|
18
20
|
const _hoisted_2 = ["disabled", "aria-expanded", "aria-labelledby", "aria-disabled"];
|
|
19
21
|
const _hoisted_3 = {
|
|
20
22
|
key: 0,
|
|
@@ -25,19 +27,17 @@ const _hoisted_5 = {
|
|
|
25
27
|
key: 0,
|
|
26
28
|
class: "dropdown-title"
|
|
27
29
|
};
|
|
28
|
-
const _hoisted_6 =
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
};
|
|
32
|
-
const _hoisted_7 = {
|
|
30
|
+
const _hoisted_6 = ["data-testid"];
|
|
31
|
+
const _hoisted_7 = ["data-testid"];
|
|
32
|
+
const _hoisted_8 = {
|
|
33
33
|
key: 0,
|
|
34
34
|
class: "no-result-container"
|
|
35
35
|
};
|
|
36
|
-
const
|
|
36
|
+
const _hoisted_9 = {
|
|
37
37
|
key: 1,
|
|
38
38
|
class: "loader"
|
|
39
39
|
};
|
|
40
|
-
const
|
|
40
|
+
const _hoisted_10 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("svg", {
|
|
41
41
|
width: "100",
|
|
42
42
|
height: "100",
|
|
43
43
|
viewBox: "0 0 100 100"
|
|
@@ -61,9 +61,9 @@ const _hoisted_9 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElem
|
|
|
61
61
|
})
|
|
62
62
|
])
|
|
63
63
|
], -1));
|
|
64
|
-
const
|
|
65
|
-
const
|
|
66
|
-
const
|
|
64
|
+
const _hoisted_11 = { key: 2 };
|
|
65
|
+
const _hoisted_12 = ["aria-selected", "aria-disabled", "onClick"];
|
|
66
|
+
const _hoisted_13 = {
|
|
67
67
|
key: 0,
|
|
68
68
|
class: "actions"
|
|
69
69
|
};
|
|
@@ -105,7 +105,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
105
105
|
autoSize: { type: Boolean, default: false },
|
|
106
106
|
disableKeyboardEvents: { type: Boolean, default: false },
|
|
107
107
|
multiOptionsPlaceholderPrefix: { default: "" },
|
|
108
|
-
multiOptionsPlaceholderSuffix: { default: "" }
|
|
108
|
+
multiOptionsPlaceholderSuffix: { default: "" },
|
|
109
|
+
testId: { default: "" }
|
|
109
110
|
},
|
|
110
111
|
emits: ["update:selected", "update:isOpen", "closed", "opened", "apply"],
|
|
111
112
|
setup(__props, { expose, emit }) {
|
|
@@ -222,13 +223,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
222
223
|
);
|
|
223
224
|
const hasSubtitle = computed(() => optionsIds.value[0]?.hasSubtitle);
|
|
224
225
|
const isMulti = computed(() => api.mode === Mode.Multi);
|
|
226
|
+
const itemHeight = computed(
|
|
227
|
+
() => hasSubtitle.value ? MULTILINE_LIST_HEIGHT : LIST_HEIGHT
|
|
228
|
+
);
|
|
225
229
|
const {
|
|
226
230
|
list: virtualOptions,
|
|
227
231
|
containerProps,
|
|
228
232
|
wrapperProps,
|
|
229
233
|
scrollTo
|
|
230
234
|
} = useVirtualList(filteredOptions, {
|
|
231
|
-
itemHeight:
|
|
235
|
+
itemHeight: itemHeight.value
|
|
232
236
|
});
|
|
233
237
|
watch(
|
|
234
238
|
() => props.isOpen,
|
|
@@ -506,6 +510,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
506
510
|
}
|
|
507
511
|
}
|
|
508
512
|
};
|
|
513
|
+
const calculateTableHeight = computed(() => {
|
|
514
|
+
const MAX_NUMBER_OF_OPTIONS = 7;
|
|
515
|
+
const PADDING_PX = 8;
|
|
516
|
+
const optionsLength = virtualOptions.value.length;
|
|
517
|
+
const showSelectAllAddition = props.showSelectAll ? 1 : 0;
|
|
518
|
+
const isThereMoreOptionsThenMax = optionsLength > MAX_NUMBER_OF_OPTIONS;
|
|
519
|
+
const numberOfRows = optionsLength + showSelectAllAddition;
|
|
520
|
+
const numToCalculate = isThereMoreOptionsThenMax ? MAX_NUMBER_OF_OPTIONS + 0.5 : numberOfRows;
|
|
521
|
+
return pxToRem(numToCalculate * itemHeight.value + PADDING_PX);
|
|
522
|
+
});
|
|
509
523
|
expose({
|
|
510
524
|
selectItem: onSelect,
|
|
511
525
|
scrollTo
|
|
@@ -516,6 +530,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
516
530
|
ref: el,
|
|
517
531
|
class: normalizeClass(["dropdown", { "dropdown--disabled": __props.disabled }]),
|
|
518
532
|
tabindex: __props.disabled ? -1 : 0,
|
|
533
|
+
"data-testid": `${__props.testId}-${unref(DropdownTestIdModifiers).WRAPPER}`,
|
|
519
534
|
onKeydown
|
|
520
535
|
}, [
|
|
521
536
|
renderSlot(_ctx.$slots, "label", {}, void 0, true),
|
|
@@ -533,7 +548,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
533
548
|
shown: !!unref(open),
|
|
534
549
|
"auto-hide": false,
|
|
535
550
|
container: __props.container,
|
|
536
|
-
"auto-size": __props.autoSize
|
|
551
|
+
"auto-size": __props.autoSize,
|
|
552
|
+
"data-testid": `${__props.testId}-${unref(DropdownTestIdModifiers).TRIGGER}`
|
|
537
553
|
}, {
|
|
538
554
|
popper: withCtx(() => [
|
|
539
555
|
createVNode(Transition, null, {
|
|
@@ -543,14 +559,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
543
559
|
ref: listRef
|
|
544
560
|
}, [
|
|
545
561
|
__props.inlineSearch || __props.title ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
546
|
-
__props.title ? (openBlock(), createElementBlock("div",
|
|
562
|
+
__props.title ? (openBlock(), createElementBlock("div", {
|
|
563
|
+
key: 0,
|
|
564
|
+
class: "dropdown-title__text",
|
|
565
|
+
"data-testid": `${__props.testId}-${unref(DropdownTestIdModifiers).TITLE}`
|
|
566
|
+
}, [
|
|
547
567
|
createVNode(unref(Text), { strong: "" }, {
|
|
548
568
|
default: withCtx(() => [
|
|
549
569
|
createTextVNode(toDisplayString(__props.title), 1)
|
|
550
570
|
]),
|
|
551
571
|
_: 1
|
|
552
572
|
})
|
|
553
|
-
])) : createCommentVNode("", true),
|
|
573
|
+
], 8, _hoisted_6)) : createCommentVNode("", true),
|
|
554
574
|
__props.inlineSearch ? (openBlock(), createBlock(unref(Search), {
|
|
555
575
|
key: 1,
|
|
556
576
|
modelValue: query.value,
|
|
@@ -559,8 +579,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
559
579
|
class: "dropdown-title__search",
|
|
560
580
|
variant: "transparent",
|
|
561
581
|
size: "md",
|
|
582
|
+
"test-id": `${__props.testId}-${unref(DropdownTestIdModifiers).SEARCH}`,
|
|
562
583
|
onKeydown
|
|
563
|
-
}, null, 8, ["modelValue", "placeholder"])) : createCommentVNode("", true)
|
|
584
|
+
}, null, 8, ["modelValue", "placeholder", "test-id"])) : createCommentVNode("", true)
|
|
564
585
|
])) : createCommentVNode("", true),
|
|
565
586
|
unref(open) ? (openBlock(), createElementBlock("div", {
|
|
566
587
|
key: 1,
|
|
@@ -569,13 +590,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
569
590
|
}, [
|
|
570
591
|
renderSlot(_ctx.$slots, "input-list", { open: unref(open) }, void 0, true),
|
|
571
592
|
createElementVNode("div", mergeProps(unref(containerProps), {
|
|
572
|
-
class: ["list-container", { "list-container--multi": __props.multi }]
|
|
593
|
+
class: ["list-container", { "list-container--multi": __props.multi }],
|
|
594
|
+
style: { height: `${unref(calculateTableHeight)}rem` },
|
|
595
|
+
"data-testid": `${__props.testId}-${unref(DropdownTestIdModifiers).LIST_CONTAINER}`
|
|
573
596
|
}), [
|
|
574
597
|
createElementVNode("ul", mergeProps(unref(wrapperProps), {
|
|
575
598
|
role: "listbox",
|
|
576
599
|
class: ["list", { "list--multi": __props.multi }]
|
|
577
600
|
}), [
|
|
578
|
-
!unref(filteredOptions).length && !__props.loading ? (openBlock(), createElementBlock("li",
|
|
601
|
+
!unref(filteredOptions).length && !__props.loading ? (openBlock(), createElementBlock("li", _hoisted_8, [
|
|
579
602
|
createVNode(unref(Text), {
|
|
580
603
|
size: "sm",
|
|
581
604
|
class: "no-result"
|
|
@@ -586,13 +609,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
586
609
|
_: 1
|
|
587
610
|
})
|
|
588
611
|
])) : createCommentVNode("", true),
|
|
589
|
-
__props.loading ? (openBlock(), createElementBlock("li",
|
|
612
|
+
__props.loading ? (openBlock(), createElementBlock("li", _hoisted_9, [
|
|
590
613
|
createVNode(unref(Icon), {
|
|
591
614
|
"font-size": "md",
|
|
592
615
|
class: "loader-icon"
|
|
593
616
|
}, {
|
|
594
617
|
default: withCtx(() => [
|
|
595
|
-
|
|
618
|
+
_hoisted_10
|
|
596
619
|
]),
|
|
597
620
|
_: 1
|
|
598
621
|
}),
|
|
@@ -603,7 +626,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
603
626
|
_: 1
|
|
604
627
|
})
|
|
605
628
|
])) : createCommentVNode("", true),
|
|
606
|
-
__props.showSelectAll ? (openBlock(), createElementBlock("li",
|
|
629
|
+
__props.showSelectAll ? (openBlock(), createElementBlock("li", _hoisted_11, [
|
|
607
630
|
createVNode(Option, {
|
|
608
631
|
"aria-selected": unref(allSelected),
|
|
609
632
|
"aria-disabled": !!__props.disabled,
|
|
@@ -630,37 +653,39 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
630
653
|
selected: isSelected(toRaw(unref(selectedOption)), data),
|
|
631
654
|
active: toRaw(unref(activeIndex)) === index
|
|
632
655
|
}, void 0, true)
|
|
633
|
-
], 8,
|
|
656
|
+
], 8, _hoisted_12);
|
|
634
657
|
}), 128)) : createCommentVNode("", true)
|
|
635
658
|
], 16)
|
|
636
|
-
], 16),
|
|
637
|
-
__props.multi ? (openBlock(), createElementBlock("div",
|
|
659
|
+
], 16, _hoisted_7),
|
|
660
|
+
__props.multi ? (openBlock(), createElementBlock("div", _hoisted_13, [
|
|
638
661
|
createVNode(unref(Button), {
|
|
639
662
|
ref_key: "cancel",
|
|
640
663
|
ref: cancel,
|
|
641
664
|
size: "sm",
|
|
642
665
|
variant: "border",
|
|
643
666
|
theme: "third",
|
|
667
|
+
"test-id": `${__props.testId}-${unref(DropdownTestIdModifiers).ACTION_CANCEL}`,
|
|
644
668
|
onClick: onCancel
|
|
645
669
|
}, {
|
|
646
670
|
default: withCtx(() => [
|
|
647
671
|
createTextVNode(" Cancel ")
|
|
648
672
|
]),
|
|
649
673
|
_: 1
|
|
650
|
-
},
|
|
674
|
+
}, 8, ["test-id"]),
|
|
651
675
|
createVNode(unref(Button), {
|
|
652
676
|
ref_key: "apply",
|
|
653
677
|
ref: apply,
|
|
654
678
|
"data-testid": "mutli-apply",
|
|
655
679
|
size: "sm",
|
|
656
680
|
class: "apply-button",
|
|
681
|
+
"test-id": `${__props.testId}-${unref(DropdownTestIdModifiers).ACTION_APPLY}`,
|
|
657
682
|
onClick: onApply
|
|
658
683
|
}, {
|
|
659
684
|
default: withCtx(() => [
|
|
660
685
|
createTextVNode("Apply ")
|
|
661
686
|
]),
|
|
662
687
|
_: 1
|
|
663
|
-
},
|
|
688
|
+
}, 8, ["test-id"])
|
|
664
689
|
])) : createCommentVNode("", true)
|
|
665
690
|
], 32)) : createCommentVNode("", true)
|
|
666
691
|
], 512)
|
|
@@ -728,31 +753,33 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
728
753
|
], 2)
|
|
729
754
|
]),
|
|
730
755
|
_: 3
|
|
731
|
-
}, 8, ["theme", "popper-class", "placement", "skidding", "distance", "flip", "shown", "container", "auto-size"]),
|
|
756
|
+
}, 8, ["theme", "popper-class", "placement", "skidding", "distance", "flip", "shown", "container", "auto-size", "data-testid"]),
|
|
732
757
|
!__props.error && __props.helperText ? (openBlock(), createBlock(unref(Text), {
|
|
733
758
|
key: 0,
|
|
734
759
|
size: "caption",
|
|
735
|
-
class: "helper-text"
|
|
760
|
+
class: "helper-text",
|
|
761
|
+
"test-id": `${__props.testId}-${unref(DropdownTestIdModifiers).HELPER_TEXT}`
|
|
736
762
|
}, {
|
|
737
763
|
default: withCtx(() => [
|
|
738
764
|
createTextVNode(toDisplayString(__props.helperText), 1)
|
|
739
765
|
]),
|
|
740
766
|
_: 1
|
|
741
|
-
})) : createCommentVNode("", true),
|
|
767
|
+
}, 8, ["test-id"])) : createCommentVNode("", true),
|
|
742
768
|
__props.error ? (openBlock(), createBlock(unref(Text), {
|
|
743
769
|
key: 1,
|
|
744
770
|
size: "caption",
|
|
745
|
-
class: "helper-text helper-text--error"
|
|
771
|
+
class: "helper-text helper-text--error",
|
|
772
|
+
"test-id": `${__props.testId}-${unref(DropdownTestIdModifiers).HELPER_TEXT_ERROR}`
|
|
746
773
|
}, {
|
|
747
774
|
default: withCtx(() => [
|
|
748
775
|
createTextVNode(toDisplayString(__props.error), 1)
|
|
749
776
|
]),
|
|
750
777
|
_: 1
|
|
751
|
-
})) : createCommentVNode("", true)
|
|
778
|
+
}, 8, ["test-id"])) : createCommentVNode("", true)
|
|
752
779
|
], 42, _hoisted_1);
|
|
753
780
|
};
|
|
754
781
|
}
|
|
755
782
|
});
|
|
756
|
-
var Dropdown = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
783
|
+
var Dropdown = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-6b0dd6db"]]);
|
|
757
784
|
|
|
758
785
|
export { Dropdown as default };
|
|
@@ -18,6 +18,11 @@ declare const DropdownTypes: () => (import("vue").DefineComponent<{
|
|
|
18
18
|
} & {
|
|
19
19
|
default: string;
|
|
20
20
|
};
|
|
21
|
+
testId: {
|
|
22
|
+
type: import("vue").PropType<string>;
|
|
23
|
+
} & {
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
21
26
|
theme: {
|
|
22
27
|
type: import("vue").PropType<string>;
|
|
23
28
|
} & {
|
|
@@ -204,6 +209,11 @@ declare const DropdownTypes: () => (import("vue").DefineComponent<{
|
|
|
204
209
|
} & {
|
|
205
210
|
default: string;
|
|
206
211
|
};
|
|
212
|
+
testId: {
|
|
213
|
+
type: import("vue").PropType<string>;
|
|
214
|
+
} & {
|
|
215
|
+
default: string;
|
|
216
|
+
};
|
|
207
217
|
theme: {
|
|
208
218
|
type: import("vue").PropType<string>;
|
|
209
219
|
} & {
|
|
@@ -371,6 +381,7 @@ declare const DropdownTypes: () => (import("vue").DefineComponent<{
|
|
|
371
381
|
size: "sm" | "lg";
|
|
372
382
|
title: string;
|
|
373
383
|
error: string;
|
|
384
|
+
testId: string;
|
|
374
385
|
theme: string;
|
|
375
386
|
placement: import("floating-vue").Placement;
|
|
376
387
|
disabled: boolean;
|
|
@@ -15,7 +15,7 @@ declare const EmptyStateTypes: () => import("vue").DefineComponent<{
|
|
|
15
15
|
default: string;
|
|
16
16
|
};
|
|
17
17
|
iconName: {
|
|
18
|
-
type: import("vue").PropType<"search" | "link" | "filter" | "a" | "b" | "style" | "image" | "switch" | "a-2" | "ab-test" | "ab-test-2" | "a-circle" | "account-balance-wallet" | "account-circle" | "account-circle-outline" | "add" | "analytics" | "android" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "app-store" | "area-chart" | "arrow-back" | "arrow-downward" | "arrow-forward" | "arrow-left" | "arrow-right" | "arrow-sort-down" | "arrow-sort-up" | "arrow-upward" | "auto-awesome" | "auto-mode" | "autorenew" | "b-2" | "b-circle" | "banner" | "bidding" | "bidding-2" | "block" | "border-color" | "bug" | "bullhorn" | "bullseye-arrow" | "cached" | "calendar" | "calendar-today" | "cancel" | "chart-bar" | "chart-line" | "chart-mixed" | "check" | "check-bold" | "close" | "close-bold" | "computer-mouse" | "copy-to-clipboard" | "widgets-flat-squares" | "adjust" | "copy-to-clipboard-filled" | "cube" | "cube-background" | "marketing" | "create" | "creative" | "cross" | "crown-fill" | "cup" | "cup-a" | "cup-b" | "delete" | "diamond" | "dots" | "download" | "download-2" | "download-done" | "drag-indicator" | "ecpi" | "email" | "email-envelope" | "error" | "eye" | "favorite-border" | "filter-list" | "frame" | "fullscreen" | "fullscreen-exit" | "functions" | "gamepad-alt" | "games" | "gavel" | "gift" | "git-hub" | "globe-stand" | "google-play" | "group" | "hand-pointer" | "hands" | "heartbeat" | "help" | "help-outline" | "history" | "ios" | "image-not-supported" | "image-slash" | "import-export" | "import-export-2" | "importent" | "info" | "info-outline" | "insights" | "interstitial" | "ios-14" | "js" | "landscape" | "launch" | "levelplay" | "limit-circle" | "limit-octagon" | "loading-clean" | "lock" | "lock-open" | "login" | "logout" | "military-tech" | "mix" | "mix-2" | "mobile-landscape" | "mobile-portrait" | "money-check" | "more-horiz" | "more-vert" | "mouse" | "mouse-pointer" | "moving-up" | "notifications-none" | "offerwall" | "palyable" | "paper-plane-off" | "paper-plane" | "pause" | "pause-circle-filled" | "pause-circle-outline" | "phone-iphone" | "photo" | "photo-2" | "play-arrow" | "play-circle-filled-white" | "play-circle-outline" | "qrcode" | "quick-ab" | "quick-ab-2" | "react" | "redo" | "refresh" | "remove" | "replay" | "rewarded-video" | "rocket-launch" | "rotate" | "route" | "sack-dollar" | "schedule" | "search-bold" | "share" | "slack" | "sports-esports" | "star" | "star-fill" | "status-banner" | "status-interstitial" | "status-offerwall" | "status-rewarded-video" | "stop-circle-filled" | "stop-circle-outline" | "success" | "success-full" | "
|
|
18
|
+
type: import("vue").PropType<"search" | "link" | "filter" | "a" | "b" | "style" | "image" | "switch" | "a-2" | "ab-test" | "ab-test-2" | "a-circle" | "account-balance-wallet" | "account-circle" | "account-circle-outline" | "add" | "analytics" | "android" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "app-store" | "area-chart" | "arrow-back" | "arrow-downward" | "arrow-forward" | "arrow-left" | "arrow-right" | "arrow-sort-down" | "arrow-sort-up" | "arrow-upward" | "auto-awesome" | "auto-mode" | "autorenew" | "b-2" | "b-circle" | "banner" | "bidding" | "bidding-2" | "block" | "border-color" | "bug" | "bullhorn" | "bullseye-arrow" | "cached" | "calendar" | "calendar-today" | "cancel" | "chart-bar" | "chart-line" | "chart-mixed" | "check" | "check-bold" | "close" | "close-bold" | "computer-mouse" | "copy-to-clipboard" | "widgets-flat-squares" | "adjust" | "copy-to-clipboard-filled" | "cube" | "cube-background" | "marketing" | "create" | "creative" | "cross" | "crown-fill" | "cup" | "cup-a" | "cup-b" | "delete" | "diamond" | "dots" | "download" | "download-2" | "download-done" | "drag-indicator" | "ecpi" | "email" | "email-envelope" | "error" | "eye" | "favorite-border" | "filter-list" | "frame" | "fullscreen" | "fullscreen-exit" | "functions" | "gamepad-alt" | "games" | "gavel" | "gift" | "git-hub" | "globe-stand" | "google-play" | "group" | "hand-pointer" | "hands" | "heartbeat" | "help" | "help-outline" | "history" | "ios" | "image-not-supported" | "image-slash" | "import-export" | "import-export-2" | "importent" | "info" | "info-outline" | "insights" | "interstitial" | "ios-14" | "js" | "landscape" | "launch" | "levelplay" | "limit-circle" | "limit-octagon" | "loading-clean" | "lock" | "lock-open" | "login" | "logout" | "military-tech" | "mix" | "mix-2" | "mobile-landscape" | "mobile-portrait" | "money-check" | "more-horiz" | "more-vert" | "mouse" | "mouse-pointer" | "moving-up" | "notifications-none" | "offerwall" | "palyable" | "paper-plane-off" | "paper-plane" | "pause" | "pause-circle-filled" | "pause-circle-outline" | "phone-iphone" | "photo" | "photo-2" | "play-arrow" | "play-circle-filled-white" | "play-circle-outline" | "qrcode" | "quick-ab" | "quick-ab-2" | "react" | "redo" | "refresh" | "remove" | "replay" | "rewarded-video" | "rocket-launch" | "rotate" | "route" | "sack-dollar" | "schedule" | "search-bold" | "share" | "slack" | "sports-esports" | "star" | "star-fill" | "status-banner" | "status-interstitial" | "status-offerwall" | "status-rewarded-video" | "stop-circle-filled" | "stop-circle-outline" | "success" | "success-full" | "tablet-landscape" | "tablet-mac" | "tablet-portrait" | "texture" | "theme-dark" | "theme-light" | "timelapse" | "timeline" | "trending-down" | "trending-flat" | "trending-up" | "tune" | "two-tone-banner" | "two-tone-interstitial" | "two-tone-offerwall" | "two-tone-rewarded-video" | "undo" | "unfold-less" | "unfold-more" | "vertical-align-top" | "vertical-align-top-2" | "vibration" | "video-round" | "view-carousel" | "visibility" | "visibility-off" | "visibility-off-strok" | "visibility-strok" | "volume-off" | "volume-up" | "warning" | "warning-2" | "web-app" | "widgets" | "widgets-fill" | "widgetsz" | "wifi-protected-setup" | "native-ad" | "status-native-ad" | "two-tone-native-ad">;
|
|
19
19
|
} & {
|
|
20
20
|
default: any;
|
|
21
21
|
};
|
|
@@ -75,7 +75,7 @@ declare const EmptyStateTypes: () => import("vue").DefineComponent<{
|
|
|
75
75
|
default: string;
|
|
76
76
|
};
|
|
77
77
|
iconName: {
|
|
78
|
-
type: import("vue").PropType<"search" | "link" | "filter" | "a" | "b" | "style" | "image" | "switch" | "a-2" | "ab-test" | "ab-test-2" | "a-circle" | "account-balance-wallet" | "account-circle" | "account-circle-outline" | "add" | "analytics" | "android" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "app-store" | "area-chart" | "arrow-back" | "arrow-downward" | "arrow-forward" | "arrow-left" | "arrow-right" | "arrow-sort-down" | "arrow-sort-up" | "arrow-upward" | "auto-awesome" | "auto-mode" | "autorenew" | "b-2" | "b-circle" | "banner" | "bidding" | "bidding-2" | "block" | "border-color" | "bug" | "bullhorn" | "bullseye-arrow" | "cached" | "calendar" | "calendar-today" | "cancel" | "chart-bar" | "chart-line" | "chart-mixed" | "check" | "check-bold" | "close" | "close-bold" | "computer-mouse" | "copy-to-clipboard" | "widgets-flat-squares" | "adjust" | "copy-to-clipboard-filled" | "cube" | "cube-background" | "marketing" | "create" | "creative" | "cross" | "crown-fill" | "cup" | "cup-a" | "cup-b" | "delete" | "diamond" | "dots" | "download" | "download-2" | "download-done" | "drag-indicator" | "ecpi" | "email" | "email-envelope" | "error" | "eye" | "favorite-border" | "filter-list" | "frame" | "fullscreen" | "fullscreen-exit" | "functions" | "gamepad-alt" | "games" | "gavel" | "gift" | "git-hub" | "globe-stand" | "google-play" | "group" | "hand-pointer" | "hands" | "heartbeat" | "help" | "help-outline" | "history" | "ios" | "image-not-supported" | "image-slash" | "import-export" | "import-export-2" | "importent" | "info" | "info-outline" | "insights" | "interstitial" | "ios-14" | "js" | "landscape" | "launch" | "levelplay" | "limit-circle" | "limit-octagon" | "loading-clean" | "lock" | "lock-open" | "login" | "logout" | "military-tech" | "mix" | "mix-2" | "mobile-landscape" | "mobile-portrait" | "money-check" | "more-horiz" | "more-vert" | "mouse" | "mouse-pointer" | "moving-up" | "notifications-none" | "offerwall" | "palyable" | "paper-plane-off" | "paper-plane" | "pause" | "pause-circle-filled" | "pause-circle-outline" | "phone-iphone" | "photo" | "photo-2" | "play-arrow" | "play-circle-filled-white" | "play-circle-outline" | "qrcode" | "quick-ab" | "quick-ab-2" | "react" | "redo" | "refresh" | "remove" | "replay" | "rewarded-video" | "rocket-launch" | "rotate" | "route" | "sack-dollar" | "schedule" | "search-bold" | "share" | "slack" | "sports-esports" | "star" | "star-fill" | "status-banner" | "status-interstitial" | "status-offerwall" | "status-rewarded-video" | "stop-circle-filled" | "stop-circle-outline" | "success" | "success-full" | "
|
|
78
|
+
type: import("vue").PropType<"search" | "link" | "filter" | "a" | "b" | "style" | "image" | "switch" | "a-2" | "ab-test" | "ab-test-2" | "a-circle" | "account-balance-wallet" | "account-circle" | "account-circle-outline" | "add" | "analytics" | "android" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "app-store" | "area-chart" | "arrow-back" | "arrow-downward" | "arrow-forward" | "arrow-left" | "arrow-right" | "arrow-sort-down" | "arrow-sort-up" | "arrow-upward" | "auto-awesome" | "auto-mode" | "autorenew" | "b-2" | "b-circle" | "banner" | "bidding" | "bidding-2" | "block" | "border-color" | "bug" | "bullhorn" | "bullseye-arrow" | "cached" | "calendar" | "calendar-today" | "cancel" | "chart-bar" | "chart-line" | "chart-mixed" | "check" | "check-bold" | "close" | "close-bold" | "computer-mouse" | "copy-to-clipboard" | "widgets-flat-squares" | "adjust" | "copy-to-clipboard-filled" | "cube" | "cube-background" | "marketing" | "create" | "creative" | "cross" | "crown-fill" | "cup" | "cup-a" | "cup-b" | "delete" | "diamond" | "dots" | "download" | "download-2" | "download-done" | "drag-indicator" | "ecpi" | "email" | "email-envelope" | "error" | "eye" | "favorite-border" | "filter-list" | "frame" | "fullscreen" | "fullscreen-exit" | "functions" | "gamepad-alt" | "games" | "gavel" | "gift" | "git-hub" | "globe-stand" | "google-play" | "group" | "hand-pointer" | "hands" | "heartbeat" | "help" | "help-outline" | "history" | "ios" | "image-not-supported" | "image-slash" | "import-export" | "import-export-2" | "importent" | "info" | "info-outline" | "insights" | "interstitial" | "ios-14" | "js" | "landscape" | "launch" | "levelplay" | "limit-circle" | "limit-octagon" | "loading-clean" | "lock" | "lock-open" | "login" | "logout" | "military-tech" | "mix" | "mix-2" | "mobile-landscape" | "mobile-portrait" | "money-check" | "more-horiz" | "more-vert" | "mouse" | "mouse-pointer" | "moving-up" | "notifications-none" | "offerwall" | "palyable" | "paper-plane-off" | "paper-plane" | "pause" | "pause-circle-filled" | "pause-circle-outline" | "phone-iphone" | "photo" | "photo-2" | "play-arrow" | "play-circle-filled-white" | "play-circle-outline" | "qrcode" | "quick-ab" | "quick-ab-2" | "react" | "redo" | "refresh" | "remove" | "replay" | "rewarded-video" | "rocket-launch" | "rotate" | "route" | "sack-dollar" | "schedule" | "search-bold" | "share" | "slack" | "sports-esports" | "star" | "star-fill" | "status-banner" | "status-interstitial" | "status-offerwall" | "status-rewarded-video" | "stop-circle-filled" | "stop-circle-outline" | "success" | "success-full" | "tablet-landscape" | "tablet-mac" | "tablet-portrait" | "texture" | "theme-dark" | "theme-light" | "timelapse" | "timeline" | "trending-down" | "trending-flat" | "trending-up" | "tune" | "two-tone-banner" | "two-tone-interstitial" | "two-tone-offerwall" | "two-tone-rewarded-video" | "undo" | "unfold-less" | "unfold-more" | "vertical-align-top" | "vertical-align-top-2" | "vibration" | "video-round" | "view-carousel" | "visibility" | "visibility-off" | "visibility-off-strok" | "visibility-strok" | "volume-off" | "volume-up" | "warning" | "warning-2" | "web-app" | "widgets" | "widgets-fill" | "widgetsz" | "wifi-protected-setup" | "native-ad" | "status-native-ad" | "two-tone-native-ad">;
|
|
79
79
|
} & {
|
|
80
80
|
default: any;
|
|
81
81
|
};
|
|
@@ -122,7 +122,7 @@ declare const EmptyStateTypes: () => import("vue").DefineComponent<{
|
|
|
122
122
|
size: "sm" | "lg";
|
|
123
123
|
title: string;
|
|
124
124
|
fontSize: string;
|
|
125
|
-
iconName: "search" | "link" | "filter" | "a" | "b" | "style" | "image" | "switch" | "a-2" | "ab-test" | "ab-test-2" | "a-circle" | "account-balance-wallet" | "account-circle" | "account-circle-outline" | "add" | "analytics" | "android" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "app-store" | "area-chart" | "arrow-back" | "arrow-downward" | "arrow-forward" | "arrow-left" | "arrow-right" | "arrow-sort-down" | "arrow-sort-up" | "arrow-upward" | "auto-awesome" | "auto-mode" | "autorenew" | "b-2" | "b-circle" | "banner" | "bidding" | "bidding-2" | "block" | "border-color" | "bug" | "bullhorn" | "bullseye-arrow" | "cached" | "calendar" | "calendar-today" | "cancel" | "chart-bar" | "chart-line" | "chart-mixed" | "check" | "check-bold" | "close" | "close-bold" | "computer-mouse" | "copy-to-clipboard" | "widgets-flat-squares" | "adjust" | "copy-to-clipboard-filled" | "cube" | "cube-background" | "marketing" | "create" | "creative" | "cross" | "crown-fill" | "cup" | "cup-a" | "cup-b" | "delete" | "diamond" | "dots" | "download" | "download-2" | "download-done" | "drag-indicator" | "ecpi" | "email" | "email-envelope" | "error" | "eye" | "favorite-border" | "filter-list" | "frame" | "fullscreen" | "fullscreen-exit" | "functions" | "gamepad-alt" | "games" | "gavel" | "gift" | "git-hub" | "globe-stand" | "google-play" | "group" | "hand-pointer" | "hands" | "heartbeat" | "help" | "help-outline" | "history" | "ios" | "image-not-supported" | "image-slash" | "import-export" | "import-export-2" | "importent" | "info" | "info-outline" | "insights" | "interstitial" | "ios-14" | "js" | "landscape" | "launch" | "levelplay" | "limit-circle" | "limit-octagon" | "loading-clean" | "lock" | "lock-open" | "login" | "logout" | "military-tech" | "mix" | "mix-2" | "mobile-landscape" | "mobile-portrait" | "money-check" | "more-horiz" | "more-vert" | "mouse" | "mouse-pointer" | "moving-up" | "notifications-none" | "offerwall" | "palyable" | "paper-plane-off" | "paper-plane" | "pause" | "pause-circle-filled" | "pause-circle-outline" | "phone-iphone" | "photo" | "photo-2" | "play-arrow" | "play-circle-filled-white" | "play-circle-outline" | "qrcode" | "quick-ab" | "quick-ab-2" | "react" | "redo" | "refresh" | "remove" | "replay" | "rewarded-video" | "rocket-launch" | "rotate" | "route" | "sack-dollar" | "schedule" | "search-bold" | "share" | "slack" | "sports-esports" | "star" | "star-fill" | "status-banner" | "status-interstitial" | "status-offerwall" | "status-rewarded-video" | "stop-circle-filled" | "stop-circle-outline" | "success" | "success-full" | "
|
|
125
|
+
iconName: "search" | "link" | "filter" | "a" | "b" | "style" | "image" | "switch" | "a-2" | "ab-test" | "ab-test-2" | "a-circle" | "account-balance-wallet" | "account-circle" | "account-circle-outline" | "add" | "analytics" | "android" | "angle-down" | "angle-left" | "angle-right" | "angle-up" | "app-store" | "area-chart" | "arrow-back" | "arrow-downward" | "arrow-forward" | "arrow-left" | "arrow-right" | "arrow-sort-down" | "arrow-sort-up" | "arrow-upward" | "auto-awesome" | "auto-mode" | "autorenew" | "b-2" | "b-circle" | "banner" | "bidding" | "bidding-2" | "block" | "border-color" | "bug" | "bullhorn" | "bullseye-arrow" | "cached" | "calendar" | "calendar-today" | "cancel" | "chart-bar" | "chart-line" | "chart-mixed" | "check" | "check-bold" | "close" | "close-bold" | "computer-mouse" | "copy-to-clipboard" | "widgets-flat-squares" | "adjust" | "copy-to-clipboard-filled" | "cube" | "cube-background" | "marketing" | "create" | "creative" | "cross" | "crown-fill" | "cup" | "cup-a" | "cup-b" | "delete" | "diamond" | "dots" | "download" | "download-2" | "download-done" | "drag-indicator" | "ecpi" | "email" | "email-envelope" | "error" | "eye" | "favorite-border" | "filter-list" | "frame" | "fullscreen" | "fullscreen-exit" | "functions" | "gamepad-alt" | "games" | "gavel" | "gift" | "git-hub" | "globe-stand" | "google-play" | "group" | "hand-pointer" | "hands" | "heartbeat" | "help" | "help-outline" | "history" | "ios" | "image-not-supported" | "image-slash" | "import-export" | "import-export-2" | "importent" | "info" | "info-outline" | "insights" | "interstitial" | "ios-14" | "js" | "landscape" | "launch" | "levelplay" | "limit-circle" | "limit-octagon" | "loading-clean" | "lock" | "lock-open" | "login" | "logout" | "military-tech" | "mix" | "mix-2" | "mobile-landscape" | "mobile-portrait" | "money-check" | "more-horiz" | "more-vert" | "mouse" | "mouse-pointer" | "moving-up" | "notifications-none" | "offerwall" | "palyable" | "paper-plane-off" | "paper-plane" | "pause" | "pause-circle-filled" | "pause-circle-outline" | "phone-iphone" | "photo" | "photo-2" | "play-arrow" | "play-circle-filled-white" | "play-circle-outline" | "qrcode" | "quick-ab" | "quick-ab-2" | "react" | "redo" | "refresh" | "remove" | "replay" | "rewarded-video" | "rocket-launch" | "rotate" | "route" | "sack-dollar" | "schedule" | "search-bold" | "share" | "slack" | "sports-esports" | "star" | "star-fill" | "status-banner" | "status-interstitial" | "status-offerwall" | "status-rewarded-video" | "stop-circle-filled" | "stop-circle-outline" | "success" | "success-full" | "tablet-landscape" | "tablet-mac" | "tablet-portrait" | "texture" | "theme-dark" | "theme-light" | "timelapse" | "timeline" | "trending-down" | "trending-flat" | "trending-up" | "tune" | "two-tone-banner" | "two-tone-interstitial" | "two-tone-offerwall" | "two-tone-rewarded-video" | "undo" | "unfold-less" | "unfold-more" | "vertical-align-top" | "vertical-align-top-2" | "vibration" | "video-round" | "view-carousel" | "visibility" | "visibility-off" | "visibility-off-strok" | "visibility-strok" | "volume-off" | "volume-up" | "warning" | "warning-2" | "web-app" | "widgets" | "widgets-fill" | "widgetsz" | "wifi-protected-setup" | "native-ad" | "status-native-ad" | "two-tone-native-ad";
|
|
126
126
|
subtitle: string;
|
|
127
127
|
buttonText: string;
|
|
128
128
|
isHorizontal: boolean;
|
|
@@ -2,10 +2,12 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
2
2
|
selected?: boolean;
|
|
3
3
|
disabled?: boolean;
|
|
4
4
|
prefix?: string;
|
|
5
|
+
testId?: string;
|
|
5
6
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
7
|
selected?: boolean;
|
|
7
8
|
disabled?: boolean;
|
|
8
9
|
prefix?: string;
|
|
10
|
+
testId?: string;
|
|
9
11
|
}>>>, {}>;
|
|
10
12
|
export default _default;
|
|
11
13
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|