@ironsource/shared-ui 2.1.3-rc.15 → 2.1.3-rc.17
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/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_c3033d90_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_b9e03c56_lang.css +1 -0
- package/components/autocomplete/Autocomplete.vue.d.ts +1 -0
- package/components/autocomplete/index.d.ts +1 -0
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +1 -1
- package/components/dropdown/v4/DropdownV4.vue.d.ts +8 -8
- package/components/dropdown/v4/DropdownV4.vue.js +2 -2
- package/components/dropdown/v4/DropdownV4.vue2.js +48 -45
- package/components/dropdown/v4/dropdownStoryArgs.d.ts +9 -0
- package/components/dropdown/v4/index.d.ts +25 -17
- package/index.d.ts +50 -34
- package/package.json +1 -1
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_f0c4710f_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_78c1497e_lang.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.default-dropdown-wrapper[data-v-c3033d90]{position:relative}.dropdown-trigger[data-v-c3033d90]{width:100%;padding:.3125rem .4375rem;display:flex;column-gap:.5rem;max-width:100%;box-sizing:border-box;border-radius:var(--border-radius-md);border:1px solid var(--action-outlined-border);background:var(--default-main);cursor:pointer;user-select:none;position:relative}.dropdown-trigger[data-v-c3033d90]:hover{border:1px solid var(--action-active);background:var(--action-hover)}.dropdown-trigger.small[data-v-c3033d90]{padding:.1875rem .4375rem}.dropdown-trigger.large[data-v-c3033d90]{padding:.5625rem .4375rem}.dropdown-trigger.disabled[data-v-c3033d90]{border:1px solid var(--action-outlined-border, #bbb);background:var(--action-disabled-background, #f1f1f1);cursor:not-allowed}.dropdown-trigger.disabled .displayed-value[data-v-c3033d90],.dropdown-trigger.disabled .caret-down[data-v-c3033d90]{color:var(--text-disabled)}.dropdown-trigger.open[data-v-c3033d90]{padding:.25rem .375rem;border:2px solid var(--primary-main)}.dropdown-trigger.open.small[data-v-c3033d90]{padding:.125rem .375rem}.dropdown-trigger.open.large[data-v-c3033d90]{padding:.5rem .375rem}.dropdown-trigger.state-error[data-v-c3033d90]{padding:4px 6px;border:2px solid var(--error-main)}.dropdown-trigger.state-success[data-v-c3033d90]{padding:4px 6px;border:2px solid var(--success-main)}.dropdown-trigger.state-warning[data-v-c3033d90]{padding:4px 6px;border:2px solid var(--warning-dark)}.dropdown-trigger .caret-down[data-v-c3033d90]{color:var(--action-active)}.content[data-v-c3033d90]{width:calc(100% - 28px);display:flex;gap:.25rem;align-items:center;color:var(--text-primary)}.content .displayed-value[data-v-c3033d90]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.content .image[data-v-c3033d90]{width:20px;height:20px;flex:none}.content .image img[data-v-c3033d90]{border-radius:4px;width:100%;height:100%}.content .start-icon[data-v-c3033d90]{display:flex;color:var(--action-active)}.content .status-dot[data-v-c3033d90]{padding-right:.25rem}.content .status-dot>div[data-v-c3033d90]{position:relative;top:-1px}.dropdown-field-label[data-v-c3033d90]{color:var(--text-primary)}.dropdown-field-help-text[data-v-c3033d90]{margin-top:4px;position:absolute}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.v-enter-active[data-v-b9e03c56],.v-leave-active[data-v-b9e03c56]{transition:opacity .25s ease}ol[data-v-b9e03c56],ul[data-v-b9e03c56],menu[data-v-b9e03c56]{list-style:none;margin:0;padding:0}.dropdown.full-width[data-v-b9e03c56],.dropdown.full-width .button__container[data-v-b9e03c56]{width:100%}.dropdown-list-wrapper[data-v-b9e03c56]{display:flex;flex-direction:column;padding:.5rem}.list-container--multi[data-v-b9e03c56]{margin-bottom:0}.inline-search .inline-search-wrapper[data-v-b9e03c56]{padding-bottom:.25rem}.inline-search .list-container[data-v-b9e03c56]{padding-top:0}.no-result-container[data-v-b9e03c56]{height:100%;display:flex;align-items:center;padding:.375rem .5rem;color:var(--text-disabled)}.no-result[data-v-b9e03c56]{color:var(--text-disabled);padding-left:.5rem}.list[data-v-b9e03c56]{outline:none;display:flex;flex-direction:column;width:100%;min-height:2rem}.list--multi[data-v-b9e03c56]{margin-bottom:.5rem;border-bottom-left-radius:0;border-bottom-right-radius:0}.list li[data-v-b9e03c56]:last-child .item-container{margin-bottom:0}.image-slot[data-v-b9e03c56]{margin-right:.5rem}.actions-wrapper[data-v-b9e03c56]{display:flex;width:100%;padding:.5rem .5rem .5rem .125rem;padding-bottom:0;border-top:1px solid var(--common-divider);justify-content:space-between}.apply-button[data-v-b9e03c56]{margin-left:.5rem}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./DefaultDropdownTrigger.vue2.js";
|
|
2
2
|
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../DefaultDropdownTrigger.
|
|
4
|
-
const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_c3033d90_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-c3033d90"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../DefaultDropdownTrigger.
|
|
1
|
+
import "../../../DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_c3033d90_lang.css"; import { defineComponent as I, computed as r, openBlock as a, createElementBlock as n, createBlock as m, createCommentVNode as o, createElementVNode as c, mergeProps as y, unref as l, renderSlot as h, createVNode as s, withCtx as O, createTextVNode as x, toDisplayString as w } from "vue";
|
|
2
2
|
import V from "../../typography/v4/Typography.vue.js";
|
|
3
3
|
import { DropdownTestIdModifiers as u } from "../../../testids/index.js";
|
|
4
4
|
import T from "../../icon/v4/IconV4.vue.js";
|
|
@@ -9,10 +9,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
9
9
|
loading?: boolean;
|
|
10
10
|
testId?: string;
|
|
11
11
|
isOpen?: boolean;
|
|
12
|
-
options: unknown[]
|
|
13
|
-
id: string;
|
|
14
|
-
text: string;
|
|
15
|
-
}[];
|
|
12
|
+
options: unknown[];
|
|
16
13
|
showSelectAll?: boolean;
|
|
17
14
|
defaultOpen?: boolean;
|
|
18
15
|
keepOpen?: boolean;
|
|
@@ -44,6 +41,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
44
41
|
optionImageKey?: string;
|
|
45
42
|
optionIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
46
43
|
valueToCopy?: string;
|
|
44
|
+
disabledOptionKey?: string;
|
|
47
45
|
theme?: string;
|
|
48
46
|
fullWidth?: boolean;
|
|
49
47
|
optionsListWidth?: string;
|
|
@@ -88,6 +86,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
88
86
|
optionImageKey: string;
|
|
89
87
|
optionIconType: any;
|
|
90
88
|
valueToCopy: any;
|
|
89
|
+
disabledOptionKey: string;
|
|
91
90
|
fullWidth: boolean;
|
|
92
91
|
optionsListWidth: any;
|
|
93
92
|
statusType: any;
|
|
@@ -110,10 +109,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
110
109
|
loading?: boolean;
|
|
111
110
|
testId?: string;
|
|
112
111
|
isOpen?: boolean;
|
|
113
|
-
options: unknown[]
|
|
114
|
-
id: string;
|
|
115
|
-
text: string;
|
|
116
|
-
}[];
|
|
112
|
+
options: unknown[];
|
|
117
113
|
showSelectAll?: boolean;
|
|
118
114
|
defaultOpen?: boolean;
|
|
119
115
|
keepOpen?: boolean;
|
|
@@ -145,6 +141,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
145
141
|
optionImageKey?: string;
|
|
146
142
|
optionIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
147
143
|
valueToCopy?: string;
|
|
144
|
+
disabledOptionKey?: string;
|
|
148
145
|
theme?: string;
|
|
149
146
|
fullWidth?: boolean;
|
|
150
147
|
optionsListWidth?: string;
|
|
@@ -189,6 +186,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
189
186
|
optionImageKey: string;
|
|
190
187
|
optionIconType: any;
|
|
191
188
|
valueToCopy: any;
|
|
189
|
+
disabledOptionKey: string;
|
|
192
190
|
fullWidth: boolean;
|
|
193
191
|
optionsListWidth: any;
|
|
194
192
|
statusType: any;
|
|
@@ -237,6 +235,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
237
235
|
optionImageKey: string;
|
|
238
236
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
239
237
|
valueToCopy: string;
|
|
238
|
+
disabledOptionKey: string;
|
|
240
239
|
fullWidth: boolean;
|
|
241
240
|
optionsListWidth: string;
|
|
242
241
|
statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
@@ -250,6 +249,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
250
249
|
option: unknown;
|
|
251
250
|
selected: boolean;
|
|
252
251
|
active: boolean;
|
|
252
|
+
disabled: any;
|
|
253
253
|
}): any;
|
|
254
254
|
}>;
|
|
255
255
|
export default _default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import o from "./DropdownV4.vue2.js";
|
|
2
2
|
/* empty css *//* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../DropdownV4.
|
|
3
|
+
// import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_b9e03c56_lang.css"; //*');
|
|
4
4
|
// import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; //');
|
|
5
|
-
const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-
|
|
5
|
+
const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-b9e03c56"]]);
|
|
6
6
|
export {
|
|
7
7
|
r as default
|
|
8
8
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../DropdownV4.
|
|
1
|
+
import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_b9e03c56_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as ae, computed as F, openBlock as i, createElementBlock as n, mergeProps as s, unref as e, renderSlot as I, createElementVNode as y, createVNode as a, withCtx as u, Transition as de, normalizeClass as V, normalizeStyle as re, isRef as se, createCommentVNode as r, createTextVNode as g, toDisplayString as ue, withModifiers as x, Fragment as ce, renderList as fe, toRaw as T, createBlock as me, resolveDynamicComponent as ye } from "vue";
|
|
2
2
|
import A from "../../button/v4/ButtonV4.vue.js";
|
|
3
3
|
import "../../button/v4/IconButtonV4.vue.js";
|
|
4
4
|
import "./DropdownV4.vue.js";
|
|
@@ -16,19 +16,19 @@ import Ie from "../../loader/v4/Loader.vue.js";
|
|
|
16
16
|
import { useTestIdAttrs as we } from "../../../utils/testIds.js";
|
|
17
17
|
import { TRIGGERS as p } from "./Dropdown.types.js";
|
|
18
18
|
import { useElementSize as Ce } from "@vueuse/core";
|
|
19
|
-
const Se = ["tabindex"], Ae = { style: { width: "100%" } }, Le = { key: 0 },
|
|
19
|
+
const Se = ["tabindex"], Ae = { style: { width: "100%" } }, Le = { key: 0 }, Oe = { key: 1 }, Be = { key: 2 }, Ne = {
|
|
20
20
|
key: 0,
|
|
21
21
|
class: "inline-search-wrapper"
|
|
22
22
|
}, De = {
|
|
23
23
|
key: 0,
|
|
24
24
|
class: "no-result-container"
|
|
25
|
-
},
|
|
25
|
+
}, Ke = {
|
|
26
26
|
key: 1,
|
|
27
27
|
class: "loader"
|
|
28
|
-
},
|
|
28
|
+
}, Ee = { key: 2 }, Re = ["aria-selected", "aria-disabled", "onClick"], Pe = {
|
|
29
29
|
key: 1,
|
|
30
30
|
class: "actions-wrapper"
|
|
31
|
-
},
|
|
31
|
+
}, ze = { class: "actions-clear-all" }, Fe = { class: "actions-apply-cancel" }, ot = /* @__PURE__ */ ae({
|
|
32
32
|
__name: "DropdownV4",
|
|
33
33
|
props: {
|
|
34
34
|
modelValue: { default: null },
|
|
@@ -72,6 +72,7 @@ const Se = ["tabindex"], Ae = { style: { width: "100%" } }, Le = { key: 0 }, Be
|
|
|
72
72
|
optionImageKey: { default: "" },
|
|
73
73
|
optionIconType: { default: null },
|
|
74
74
|
valueToCopy: { default: null },
|
|
75
|
+
disabledOptionKey: { default: "disabled" },
|
|
75
76
|
theme: { default: "light-theme-v4" },
|
|
76
77
|
fullWidth: { type: Boolean, default: !0 },
|
|
77
78
|
optionsListWidth: { default: null },
|
|
@@ -79,7 +80,7 @@ const Se = ["tabindex"], Ae = { style: { width: "100%" } }, Le = { key: 0 }, Be
|
|
|
79
80
|
},
|
|
80
81
|
emits: ["update:selected", "update:isOpen", "closed", "opened", "apply"],
|
|
81
82
|
setup(t, { expose: U, emit: W }) {
|
|
82
|
-
const
|
|
83
|
+
const d = t, L = {
|
|
83
84
|
MULTILINE_LIST_HEIGHT: 48,
|
|
84
85
|
LIST_HEIGHT: 32 + 4,
|
|
85
86
|
MAX_NUMBER_OF_OPTIONS: 7.5,
|
|
@@ -93,32 +94,32 @@ const Se = ["tabindex"], Ae = { style: { width: "100%" } }, Le = { key: 0 }, Be
|
|
|
93
94
|
query: C,
|
|
94
95
|
containerProps: G,
|
|
95
96
|
calculateTableHeight: X,
|
|
96
|
-
wrapperProps:
|
|
97
|
+
wrapperProps: O,
|
|
97
98
|
filteredOptions: q,
|
|
98
|
-
allSelected:
|
|
99
|
+
allSelected: B,
|
|
99
100
|
isIndeterminate: Y,
|
|
100
101
|
onSelectAll: j,
|
|
101
|
-
virtualOptions:
|
|
102
|
+
virtualOptions: N,
|
|
102
103
|
isSelected: S,
|
|
103
104
|
selectedOption: k,
|
|
104
105
|
onSelect: D,
|
|
105
|
-
activeIndex:
|
|
106
|
+
activeIndex: K,
|
|
106
107
|
onCancel: J,
|
|
107
108
|
onApply: Q,
|
|
108
109
|
scrollTo: Z,
|
|
109
110
|
listRef: _,
|
|
110
|
-
buttonRef:
|
|
111
|
+
buttonRef: E,
|
|
111
112
|
apply: ee,
|
|
112
113
|
cancel: te,
|
|
113
114
|
el: le,
|
|
114
|
-
onClearAllSelections:
|
|
115
|
+
onClearAllSelections: R,
|
|
115
116
|
clearAll: oe
|
|
116
|
-
} = ve(
|
|
117
|
+
} = ve(d, W, L);
|
|
117
118
|
U({
|
|
118
119
|
selectItem: D,
|
|
119
120
|
scrollTo: Z
|
|
120
121
|
});
|
|
121
|
-
const m = we(
|
|
122
|
+
const m = we(d.testId, c), P = F(() => !d.predefinedTrigger || d.predefinedTrigger === p.DEFAULT ? pe : d.predefinedTrigger === p.APP ? ke : null), { width: z } = Ce(E), ie = F(() => d.optionsListWidth ? d.optionsListWidth : !d.predefinedTrigger || d.predefinedTrigger === p.DEFAULT || d.predefinedTrigger === p.APP ? z.value - 2 > 240 ? `${z.value - 2}px` : `${L.DROPLIST_MIN_WIDTH}px` : "auto"), ne = () => {
|
|
122
123
|
w();
|
|
123
124
|
};
|
|
124
125
|
return (b, o) => (i(), n("div", s({
|
|
@@ -169,7 +170,7 @@ const Se = ["tabindex"], Ae = { style: { width: "100%" } }, Le = { key: 0 }, Be
|
|
|
169
170
|
onKeydown: o[5] || (o[5] = //@ts-ignore
|
|
170
171
|
(...l) => e(h) && e(h)(...l))
|
|
171
172
|
}, [
|
|
172
|
-
e(f) && t.inlineSearch ? (i(), n("div",
|
|
173
|
+
e(f) && t.inlineSearch ? (i(), n("div", Ne, [
|
|
173
174
|
a(e(Te), {
|
|
174
175
|
modelValue: e(C),
|
|
175
176
|
"onUpdate:modelValue": [
|
|
@@ -183,7 +184,7 @@ const Se = ["tabindex"], Ae = { style: { width: "100%" } }, Le = { key: 0 }, Be
|
|
|
183
184
|
"test-id": t.testId,
|
|
184
185
|
onKeydown: e(h)
|
|
185
186
|
}, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id", "onUpdate:modelValue", "onKeydown"])
|
|
186
|
-
])) :
|
|
187
|
+
])) : r("", !0),
|
|
187
188
|
I(b.$slots, "input-list", { open: e(f) }, void 0, !0),
|
|
188
189
|
y("div", s({
|
|
189
190
|
class: ["list-container", { "list-container--multi": t.multi }],
|
|
@@ -192,9 +193,9 @@ const Se = ["tabindex"], Ae = { style: { width: "100%" } }, Le = { key: 0 }, Be
|
|
|
192
193
|
...e(G),
|
|
193
194
|
...e(m)[e(c).LIST_CONTAINER]
|
|
194
195
|
}), [
|
|
195
|
-
y("ul", s(e(
|
|
196
|
+
y("ul", s(e(O), {
|
|
196
197
|
style: {
|
|
197
|
-
height: Number(e(
|
|
198
|
+
height: Number(e(O).style.height) - 4
|
|
198
199
|
},
|
|
199
200
|
role: "listbox",
|
|
200
201
|
class: ["list", { "list--multi": t.multi }]
|
|
@@ -206,8 +207,8 @@ const Se = ["tabindex"], Ae = { style: { width: "100%" } }, Le = { key: 0 }, Be
|
|
|
206
207
|
]),
|
|
207
208
|
_: 1
|
|
208
209
|
}, 16)
|
|
209
|
-
])) :
|
|
210
|
-
t.loading ? (i(), n("li",
|
|
210
|
+
])) : r("", !0),
|
|
211
|
+
t.loading ? (i(), n("li", Ke, [
|
|
211
212
|
a(e(Ie)),
|
|
212
213
|
a(e(H), null, {
|
|
213
214
|
default: u(() => [
|
|
@@ -215,13 +216,13 @@ const Se = ["tabindex"], Ae = { style: { width: "100%" } }, Le = { key: 0 }, Be
|
|
|
215
216
|
]),
|
|
216
217
|
_: 1
|
|
217
218
|
})
|
|
218
|
-
])) :
|
|
219
|
-
t.showSelectAll !== !1 && t.multi ? (i(), n("li",
|
|
219
|
+
])) : r("", !0),
|
|
220
|
+
t.showSelectAll !== !1 && t.multi ? (i(), n("li", Ee, [
|
|
220
221
|
a(e($), s(
|
|
221
222
|
{
|
|
222
|
-
"aria-selected": e(
|
|
223
|
+
"aria-selected": e(B),
|
|
223
224
|
"aria-disabled": !!t.disabled,
|
|
224
|
-
"selected-prop": e(
|
|
225
|
+
"selected-prop": e(B),
|
|
225
226
|
"is-indeterminate": e(Y),
|
|
226
227
|
"select-all-option": ""
|
|
227
228
|
},
|
|
@@ -235,8 +236,8 @@ const Se = ["tabindex"], Ae = { style: { width: "100%" } }, Le = { key: 0 }, Be
|
|
|
235
236
|
]),
|
|
236
237
|
_: 1
|
|
237
238
|
}, 16, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate"])
|
|
238
|
-
])) :
|
|
239
|
-
e(
|
|
239
|
+
])) : r("", !0),
|
|
240
|
+
e(N).length && !t.loading ? (i(!0), n(ce, { key: 3 }, fe(e(N), ({ data: l, index: v }) => (i(), n("li", {
|
|
240
241
|
key: v,
|
|
241
242
|
"aria-selected": e(S)(T(e(k)), l),
|
|
242
243
|
"aria-disabled": !!t.disabled,
|
|
@@ -245,23 +246,25 @@ const Se = ["tabindex"], Ae = { style: { width: "100%" } }, Le = { key: 0 }, Be
|
|
|
245
246
|
I(b.$slots, "default", {
|
|
246
247
|
option: l,
|
|
247
248
|
selected: e(S)(T(e(k)), l),
|
|
248
|
-
active: T(e(
|
|
249
|
+
active: T(e(K)) === v,
|
|
250
|
+
disabled: l[d.disabledOptionKey]
|
|
249
251
|
}, () => [
|
|
250
252
|
a(e($), {
|
|
251
253
|
option: l,
|
|
252
254
|
selected: e(S)(T(e(k)), l),
|
|
253
|
-
active: T(e(
|
|
255
|
+
active: T(e(K)) === v,
|
|
256
|
+
disabled: l[d.disabledOptionKey],
|
|
254
257
|
"name-key": t.optionNameKey,
|
|
255
258
|
"image-key": t.optionImageKey,
|
|
256
259
|
"icon-key": t.optionIconKey,
|
|
257
260
|
"icon-type": t.optionIconType
|
|
258
|
-
}, null, 8, ["option", "selected", "active", "name-key", "image-key", "icon-key", "icon-type"])
|
|
261
|
+
}, null, 8, ["option", "selected", "active", "disabled", "name-key", "image-key", "icon-key", "icon-type"])
|
|
259
262
|
], !0)
|
|
260
|
-
], 8,
|
|
263
|
+
], 8, Re))), 128)) : r("", !0)
|
|
261
264
|
], 16)
|
|
262
265
|
], 16),
|
|
263
|
-
t.multi ? (i(), n("div",
|
|
264
|
-
y("div",
|
|
266
|
+
t.multi ? (i(), n("div", Pe, [
|
|
267
|
+
y("div", ze, [
|
|
265
268
|
a(e(A), s(
|
|
266
269
|
{
|
|
267
270
|
ref_key: "clearAll",
|
|
@@ -271,7 +274,7 @@ const Se = ["tabindex"], Ae = { style: { width: "100%" } }, Le = { key: 0 }, Be
|
|
|
271
274
|
color: "primary"
|
|
272
275
|
},
|
|
273
276
|
e(m)[e(c).ACTION_CLEAR_ALL],
|
|
274
|
-
{ onClick: e(
|
|
277
|
+
{ onClick: e(R) }
|
|
275
278
|
), {
|
|
276
279
|
default: u(() => [
|
|
277
280
|
g(" Clear all ")
|
|
@@ -309,9 +312,9 @@ const Se = ["tabindex"], Ae = { style: { width: "100%" } }, Le = { key: 0 }, Be
|
|
|
309
312
|
_: 1
|
|
310
313
|
}, 16, ["onClick"])
|
|
311
314
|
])
|
|
312
|
-
])) :
|
|
313
|
-
], 32)) :
|
|
314
|
-
], 6)) :
|
|
315
|
+
])) : r("", !0)
|
|
316
|
+
], 32)) : r("", !0)
|
|
317
|
+
], 6)) : r("", !0)
|
|
315
318
|
]),
|
|
316
319
|
_: 3
|
|
317
320
|
})
|
|
@@ -327,10 +330,10 @@ const Se = ["tabindex"], Ae = { style: { width: "100%" } }, Le = { key: 0 }, Be
|
|
|
327
330
|
I(b.$slots, "dropdown-trigger", {}, () => [
|
|
328
331
|
y("div", {
|
|
329
332
|
ref_key: "buttonRef",
|
|
330
|
-
ref:
|
|
333
|
+
ref: E
|
|
331
334
|
}, [
|
|
332
|
-
e(
|
|
333
|
-
(i(), me(ye(e(
|
|
335
|
+
e(P) ? (i(), n("div", Le, [
|
|
336
|
+
(i(), me(ye(e(P)), {
|
|
334
337
|
placeholder: t.placeholder,
|
|
335
338
|
open: e(f),
|
|
336
339
|
label: t.triggerLabel,
|
|
@@ -355,13 +358,13 @@ const Se = ["tabindex"], Ae = { style: { width: "100%" } }, Le = { key: 0 }, Be
|
|
|
355
358
|
onKeydown: e(M),
|
|
356
359
|
onClick: ne
|
|
357
360
|
}, null, 40, ["placeholder", "open", "label", "hover-help-text", "feedback-text", "feedback-variant", "show-feedback-icon", "mandatory", "test-id", "multi", "disabled", "selected-option", "display-value", "options", "option-name-key", "option-image-key", "option-icon-key", "option-icon-type", "value-to-copy", "status-dot-type", "size", "onKeydown"]))
|
|
358
|
-
])) :
|
|
359
|
-
t.predefinedTrigger === e(p).ICON_BUTTON ? (i(), n("div",
|
|
361
|
+
])) : r("", !0),
|
|
362
|
+
t.predefinedTrigger === e(p).ICON_BUTTON ? (i(), n("div", Oe, [
|
|
360
363
|
a(e(ge), {
|
|
361
364
|
onClick: o[0] || (o[0] = (l) => e(w)())
|
|
362
365
|
})
|
|
363
|
-
])) :
|
|
364
|
-
t.predefinedTrigger === e(p).CHIP ? (i(), n("div",
|
|
366
|
+
])) : r("", !0),
|
|
367
|
+
t.predefinedTrigger === e(p).CHIP ? (i(), n("div", Be, [
|
|
365
368
|
a(e(he), {
|
|
366
369
|
open: e(f),
|
|
367
370
|
label: t.placeholder,
|
|
@@ -371,9 +374,9 @@ const Se = ["tabindex"], Ae = { style: { width: "100%" } }, Le = { key: 0 }, Be
|
|
|
371
374
|
"display-value": t.displayValue,
|
|
372
375
|
multi: t.multi,
|
|
373
376
|
onClick: o[1] || (o[1] = (l) => e(w)()),
|
|
374
|
-
onClear: o[2] || (o[2] = (l) => e(
|
|
377
|
+
onClear: o[2] || (o[2] = (l) => e(R)())
|
|
375
378
|
}, null, 8, ["open", "label", "test-id", "options", "selected-option", "display-value", "multi"])
|
|
376
|
-
])) :
|
|
379
|
+
])) : r("", !0)
|
|
377
380
|
], 512)
|
|
378
381
|
], !0)
|
|
379
382
|
], 2)
|
|
@@ -234,6 +234,15 @@ export declare const dropDownStoryArgs: {
|
|
|
234
234
|
category: string;
|
|
235
235
|
};
|
|
236
236
|
};
|
|
237
|
+
disabledOptionKey: {
|
|
238
|
+
control: {
|
|
239
|
+
type: string;
|
|
240
|
+
};
|
|
241
|
+
description: string;
|
|
242
|
+
table: {
|
|
243
|
+
category: string;
|
|
244
|
+
};
|
|
245
|
+
};
|
|
237
246
|
theme: {
|
|
238
247
|
control: {
|
|
239
248
|
type: string;
|
|
@@ -1374,6 +1374,7 @@ declare const DropdownTypes: () => (({
|
|
|
1374
1374
|
optionImageKey: string;
|
|
1375
1375
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
1376
1376
|
valueToCopy: string;
|
|
1377
|
+
disabledOptionKey: string;
|
|
1377
1378
|
fullWidth: boolean;
|
|
1378
1379
|
optionsListWidth: string;
|
|
1379
1380
|
statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
@@ -1426,10 +1427,7 @@ declare const DropdownTypes: () => (({
|
|
|
1426
1427
|
default: any;
|
|
1427
1428
|
};
|
|
1428
1429
|
options: {
|
|
1429
|
-
type: import("vue").PropType<unknown[]
|
|
1430
|
-
id: string;
|
|
1431
|
-
text: string;
|
|
1432
|
-
}[]>;
|
|
1430
|
+
type: import("vue").PropType<unknown[]>;
|
|
1433
1431
|
required: true;
|
|
1434
1432
|
};
|
|
1435
1433
|
modelValue: {
|
|
@@ -1547,6 +1545,10 @@ declare const DropdownTypes: () => (({
|
|
|
1547
1545
|
type: import("vue").PropType<string>;
|
|
1548
1546
|
default: any;
|
|
1549
1547
|
};
|
|
1548
|
+
disabledOptionKey: {
|
|
1549
|
+
type: import("vue").PropType<string>;
|
|
1550
|
+
default: string;
|
|
1551
|
+
};
|
|
1550
1552
|
fullWidth: {
|
|
1551
1553
|
type: import("vue").PropType<boolean>;
|
|
1552
1554
|
default: boolean;
|
|
@@ -1565,7 +1567,7 @@ declare const DropdownTypes: () => (({
|
|
|
1565
1567
|
"onUpdate:isOpen"?: (value: unknown) => any;
|
|
1566
1568
|
onOpened?: () => any;
|
|
1567
1569
|
onClosed?: () => any;
|
|
1568
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "disabled" | "size" | "flip" | "mandatory" | "testId" | "container" | "placement" | "distance" | "popperClass" | "selected" | "modelValue" | "placeholder" | "multi" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "skidding" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "onClear" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "valueToCopy" | "fullWidth" | "optionsListWidth" | "statusType">;
|
|
1570
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "disabled" | "size" | "flip" | "mandatory" | "testId" | "container" | "placement" | "distance" | "popperClass" | "selected" | "modelValue" | "placeholder" | "multi" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "skidding" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "onClear" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "valueToCopy" | "disabledOptionKey" | "fullWidth" | "optionsListWidth" | "statusType">;
|
|
1569
1571
|
$attrs: {
|
|
1570
1572
|
[x: string]: unknown;
|
|
1571
1573
|
};
|
|
@@ -1628,10 +1630,7 @@ declare const DropdownTypes: () => (({
|
|
|
1628
1630
|
default: any;
|
|
1629
1631
|
};
|
|
1630
1632
|
options: {
|
|
1631
|
-
type: import("vue").PropType<unknown[]
|
|
1632
|
-
id: string;
|
|
1633
|
-
text: string;
|
|
1634
|
-
}[]>;
|
|
1633
|
+
type: import("vue").PropType<unknown[]>;
|
|
1635
1634
|
required: true;
|
|
1636
1635
|
};
|
|
1637
1636
|
modelValue: {
|
|
@@ -1749,6 +1748,10 @@ declare const DropdownTypes: () => (({
|
|
|
1749
1748
|
type: import("vue").PropType<string>;
|
|
1750
1749
|
default: any;
|
|
1751
1750
|
};
|
|
1751
|
+
disabledOptionKey: {
|
|
1752
|
+
type: import("vue").PropType<string>;
|
|
1753
|
+
default: string;
|
|
1754
|
+
};
|
|
1752
1755
|
fullWidth: {
|
|
1753
1756
|
type: import("vue").PropType<boolean>;
|
|
1754
1757
|
default: boolean;
|
|
@@ -1815,6 +1818,7 @@ declare const DropdownTypes: () => (({
|
|
|
1815
1818
|
optionImageKey: string;
|
|
1816
1819
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
1817
1820
|
valueToCopy: string;
|
|
1821
|
+
disabledOptionKey: string;
|
|
1818
1822
|
fullWidth: boolean;
|
|
1819
1823
|
optionsListWidth: string;
|
|
1820
1824
|
statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
@@ -1887,10 +1891,7 @@ declare const DropdownTypes: () => (({
|
|
|
1887
1891
|
default: any;
|
|
1888
1892
|
};
|
|
1889
1893
|
options: {
|
|
1890
|
-
type: import("vue").PropType<unknown[]
|
|
1891
|
-
id: string;
|
|
1892
|
-
text: string;
|
|
1893
|
-
}[]>;
|
|
1894
|
+
type: import("vue").PropType<unknown[]>;
|
|
1894
1895
|
required: true;
|
|
1895
1896
|
};
|
|
1896
1897
|
modelValue: {
|
|
@@ -2008,6 +2009,10 @@ declare const DropdownTypes: () => (({
|
|
|
2008
2009
|
type: import("vue").PropType<string>;
|
|
2009
2010
|
default: any;
|
|
2010
2011
|
};
|
|
2012
|
+
disabledOptionKey: {
|
|
2013
|
+
type: import("vue").PropType<string>;
|
|
2014
|
+
default: string;
|
|
2015
|
+
};
|
|
2011
2016
|
fullWidth: {
|
|
2012
2017
|
type: import("vue").PropType<boolean>;
|
|
2013
2018
|
default: boolean;
|
|
@@ -2082,10 +2087,7 @@ declare const DropdownTypes: () => (({
|
|
|
2082
2087
|
default: any;
|
|
2083
2088
|
};
|
|
2084
2089
|
options: {
|
|
2085
|
-
type: import("vue").PropType<unknown[]
|
|
2086
|
-
id: string;
|
|
2087
|
-
text: string;
|
|
2088
|
-
}[]>;
|
|
2090
|
+
type: import("vue").PropType<unknown[]>;
|
|
2089
2091
|
required: true;
|
|
2090
2092
|
};
|
|
2091
2093
|
modelValue: {
|
|
@@ -2203,6 +2205,10 @@ declare const DropdownTypes: () => (({
|
|
|
2203
2205
|
type: import("vue").PropType<string>;
|
|
2204
2206
|
default: any;
|
|
2205
2207
|
};
|
|
2208
|
+
disabledOptionKey: {
|
|
2209
|
+
type: import("vue").PropType<string>;
|
|
2210
|
+
default: string;
|
|
2211
|
+
};
|
|
2206
2212
|
fullWidth: {
|
|
2207
2213
|
type: import("vue").PropType<boolean>;
|
|
2208
2214
|
default: boolean;
|
|
@@ -2269,6 +2275,7 @@ declare const DropdownTypes: () => (({
|
|
|
2269
2275
|
optionImageKey: string;
|
|
2270
2276
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
2271
2277
|
valueToCopy: string;
|
|
2278
|
+
disabledOptionKey: string;
|
|
2272
2279
|
fullWidth: boolean;
|
|
2273
2280
|
optionsListWidth: string;
|
|
2274
2281
|
statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
@@ -2283,6 +2290,7 @@ declare const DropdownTypes: () => (({
|
|
|
2283
2290
|
option: unknown;
|
|
2284
2291
|
selected: boolean;
|
|
2285
2292
|
active: boolean;
|
|
2293
|
+
disabled: any;
|
|
2286
2294
|
}): any;
|
|
2287
2295
|
};
|
|
2288
2296
|
})))[];
|
package/index.d.ts
CHANGED
|
@@ -11449,6 +11449,7 @@ declare const _default: {
|
|
|
11449
11449
|
optionImageKey: string;
|
|
11450
11450
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
11451
11451
|
valueToCopy: string;
|
|
11452
|
+
disabledOptionKey: string;
|
|
11452
11453
|
fullWidth: boolean;
|
|
11453
11454
|
optionsListWidth: string;
|
|
11454
11455
|
statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
@@ -11501,10 +11502,7 @@ declare const _default: {
|
|
|
11501
11502
|
default: any;
|
|
11502
11503
|
};
|
|
11503
11504
|
options: {
|
|
11504
|
-
type: import("vue").PropType<unknown[]
|
|
11505
|
-
id: string;
|
|
11506
|
-
text: string;
|
|
11507
|
-
}[]>;
|
|
11505
|
+
type: import("vue").PropType<unknown[]>;
|
|
11508
11506
|
required: true;
|
|
11509
11507
|
};
|
|
11510
11508
|
modelValue: {
|
|
@@ -11622,6 +11620,10 @@ declare const _default: {
|
|
|
11622
11620
|
type: import("vue").PropType<string>;
|
|
11623
11621
|
default: any;
|
|
11624
11622
|
};
|
|
11623
|
+
disabledOptionKey: {
|
|
11624
|
+
type: import("vue").PropType<string>;
|
|
11625
|
+
default: string;
|
|
11626
|
+
};
|
|
11625
11627
|
fullWidth: {
|
|
11626
11628
|
type: import("vue").PropType<boolean>;
|
|
11627
11629
|
default: boolean;
|
|
@@ -11640,7 +11642,7 @@ declare const _default: {
|
|
|
11640
11642
|
"onUpdate:isOpen"?: (value: unknown) => any;
|
|
11641
11643
|
onOpened?: () => any;
|
|
11642
11644
|
onClosed?: () => any;
|
|
11643
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "disabled" | "size" | "flip" | "mandatory" | "testId" | "container" | "placement" | "distance" | "popperClass" | "selected" | "modelValue" | "placeholder" | "multi" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "skidding" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "onClear" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "valueToCopy" | "fullWidth" | "optionsListWidth" | "statusType">;
|
|
11645
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "disabled" | "size" | "flip" | "mandatory" | "testId" | "container" | "placement" | "distance" | "popperClass" | "selected" | "modelValue" | "placeholder" | "multi" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "skidding" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "onClear" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "valueToCopy" | "disabledOptionKey" | "fullWidth" | "optionsListWidth" | "statusType">;
|
|
11644
11646
|
$attrs: {
|
|
11645
11647
|
[x: string]: unknown;
|
|
11646
11648
|
};
|
|
@@ -11703,10 +11705,7 @@ declare const _default: {
|
|
|
11703
11705
|
default: any;
|
|
11704
11706
|
};
|
|
11705
11707
|
options: {
|
|
11706
|
-
type: import("vue").PropType<unknown[]
|
|
11707
|
-
id: string;
|
|
11708
|
-
text: string;
|
|
11709
|
-
}[]>;
|
|
11708
|
+
type: import("vue").PropType<unknown[]>;
|
|
11710
11709
|
required: true;
|
|
11711
11710
|
};
|
|
11712
11711
|
modelValue: {
|
|
@@ -11824,6 +11823,10 @@ declare const _default: {
|
|
|
11824
11823
|
type: import("vue").PropType<string>;
|
|
11825
11824
|
default: any;
|
|
11826
11825
|
};
|
|
11826
|
+
disabledOptionKey: {
|
|
11827
|
+
type: import("vue").PropType<string>;
|
|
11828
|
+
default: string;
|
|
11829
|
+
};
|
|
11827
11830
|
fullWidth: {
|
|
11828
11831
|
type: import("vue").PropType<boolean>;
|
|
11829
11832
|
default: boolean;
|
|
@@ -11890,6 +11893,7 @@ declare const _default: {
|
|
|
11890
11893
|
optionImageKey: string;
|
|
11891
11894
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
11892
11895
|
valueToCopy: string;
|
|
11896
|
+
disabledOptionKey: string;
|
|
11893
11897
|
fullWidth: boolean;
|
|
11894
11898
|
optionsListWidth: string;
|
|
11895
11899
|
statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
@@ -11962,10 +11966,7 @@ declare const _default: {
|
|
|
11962
11966
|
default: any;
|
|
11963
11967
|
};
|
|
11964
11968
|
options: {
|
|
11965
|
-
type: import("vue").PropType<unknown[]
|
|
11966
|
-
id: string;
|
|
11967
|
-
text: string;
|
|
11968
|
-
}[]>;
|
|
11969
|
+
type: import("vue").PropType<unknown[]>;
|
|
11969
11970
|
required: true;
|
|
11970
11971
|
};
|
|
11971
11972
|
modelValue: {
|
|
@@ -12083,6 +12084,10 @@ declare const _default: {
|
|
|
12083
12084
|
type: import("vue").PropType<string>;
|
|
12084
12085
|
default: any;
|
|
12085
12086
|
};
|
|
12087
|
+
disabledOptionKey: {
|
|
12088
|
+
type: import("vue").PropType<string>;
|
|
12089
|
+
default: string;
|
|
12090
|
+
};
|
|
12086
12091
|
fullWidth: {
|
|
12087
12092
|
type: import("vue").PropType<boolean>;
|
|
12088
12093
|
default: boolean;
|
|
@@ -12157,10 +12162,7 @@ declare const _default: {
|
|
|
12157
12162
|
default: any;
|
|
12158
12163
|
};
|
|
12159
12164
|
options: {
|
|
12160
|
-
type: import("vue").PropType<unknown[]
|
|
12161
|
-
id: string;
|
|
12162
|
-
text: string;
|
|
12163
|
-
}[]>;
|
|
12165
|
+
type: import("vue").PropType<unknown[]>;
|
|
12164
12166
|
required: true;
|
|
12165
12167
|
};
|
|
12166
12168
|
modelValue: {
|
|
@@ -12278,6 +12280,10 @@ declare const _default: {
|
|
|
12278
12280
|
type: import("vue").PropType<string>;
|
|
12279
12281
|
default: any;
|
|
12280
12282
|
};
|
|
12283
|
+
disabledOptionKey: {
|
|
12284
|
+
type: import("vue").PropType<string>;
|
|
12285
|
+
default: string;
|
|
12286
|
+
};
|
|
12281
12287
|
fullWidth: {
|
|
12282
12288
|
type: import("vue").PropType<boolean>;
|
|
12283
12289
|
default: boolean;
|
|
@@ -12344,6 +12350,7 @@ declare const _default: {
|
|
|
12344
12350
|
optionImageKey: string;
|
|
12345
12351
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
12346
12352
|
valueToCopy: string;
|
|
12353
|
+
disabledOptionKey: string;
|
|
12347
12354
|
fullWidth: boolean;
|
|
12348
12355
|
optionsListWidth: string;
|
|
12349
12356
|
statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
@@ -12358,6 +12365,7 @@ declare const _default: {
|
|
|
12358
12365
|
option: unknown;
|
|
12359
12366
|
selected: boolean;
|
|
12360
12367
|
active: boolean;
|
|
12368
|
+
disabled: any;
|
|
12361
12369
|
}): any;
|
|
12362
12370
|
};
|
|
12363
12371
|
});
|
|
@@ -14805,6 +14813,7 @@ declare const _default: {
|
|
|
14805
14813
|
optionImageKey: string;
|
|
14806
14814
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
14807
14815
|
valueToCopy: string;
|
|
14816
|
+
disabledOptionKey: string;
|
|
14808
14817
|
fullWidth: boolean;
|
|
14809
14818
|
optionsListWidth: string;
|
|
14810
14819
|
statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
@@ -14857,10 +14866,7 @@ declare const _default: {
|
|
|
14857
14866
|
default: any;
|
|
14858
14867
|
};
|
|
14859
14868
|
options: {
|
|
14860
|
-
type: import("vue").PropType<unknown[]
|
|
14861
|
-
id: string;
|
|
14862
|
-
text: string;
|
|
14863
|
-
}[]>;
|
|
14869
|
+
type: import("vue").PropType<unknown[]>;
|
|
14864
14870
|
required: true;
|
|
14865
14871
|
};
|
|
14866
14872
|
modelValue: {
|
|
@@ -14978,6 +14984,10 @@ declare const _default: {
|
|
|
14978
14984
|
type: import("vue").PropType<string>;
|
|
14979
14985
|
default: any;
|
|
14980
14986
|
};
|
|
14987
|
+
disabledOptionKey: {
|
|
14988
|
+
type: import("vue").PropType<string>;
|
|
14989
|
+
default: string;
|
|
14990
|
+
};
|
|
14981
14991
|
fullWidth: {
|
|
14982
14992
|
type: import("vue").PropType<boolean>;
|
|
14983
14993
|
default: boolean;
|
|
@@ -14996,7 +15006,7 @@ declare const _default: {
|
|
|
14996
15006
|
"onUpdate:isOpen"?: (value: unknown) => any;
|
|
14997
15007
|
onOpened?: () => any;
|
|
14998
15008
|
onClosed?: () => any;
|
|
14999
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "disabled" | "size" | "flip" | "mandatory" | "testId" | "container" | "placement" | "distance" | "popperClass" | "selected" | "modelValue" | "placeholder" | "multi" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "skidding" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "onClear" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "valueToCopy" | "fullWidth" | "optionsListWidth" | "statusType">;
|
|
15009
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "disabled" | "size" | "flip" | "mandatory" | "testId" | "container" | "placement" | "distance" | "popperClass" | "selected" | "modelValue" | "placeholder" | "multi" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "skidding" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "onClear" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "valueToCopy" | "disabledOptionKey" | "fullWidth" | "optionsListWidth" | "statusType">;
|
|
15000
15010
|
$attrs: {
|
|
15001
15011
|
[x: string]: unknown;
|
|
15002
15012
|
};
|
|
@@ -15059,10 +15069,7 @@ declare const _default: {
|
|
|
15059
15069
|
default: any;
|
|
15060
15070
|
};
|
|
15061
15071
|
options: {
|
|
15062
|
-
type: import("vue").PropType<unknown[]
|
|
15063
|
-
id: string;
|
|
15064
|
-
text: string;
|
|
15065
|
-
}[]>;
|
|
15072
|
+
type: import("vue").PropType<unknown[]>;
|
|
15066
15073
|
required: true;
|
|
15067
15074
|
};
|
|
15068
15075
|
modelValue: {
|
|
@@ -15180,6 +15187,10 @@ declare const _default: {
|
|
|
15180
15187
|
type: import("vue").PropType<string>;
|
|
15181
15188
|
default: any;
|
|
15182
15189
|
};
|
|
15190
|
+
disabledOptionKey: {
|
|
15191
|
+
type: import("vue").PropType<string>;
|
|
15192
|
+
default: string;
|
|
15193
|
+
};
|
|
15183
15194
|
fullWidth: {
|
|
15184
15195
|
type: import("vue").PropType<boolean>;
|
|
15185
15196
|
default: boolean;
|
|
@@ -15246,6 +15257,7 @@ declare const _default: {
|
|
|
15246
15257
|
optionImageKey: string;
|
|
15247
15258
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
15248
15259
|
valueToCopy: string;
|
|
15260
|
+
disabledOptionKey: string;
|
|
15249
15261
|
fullWidth: boolean;
|
|
15250
15262
|
optionsListWidth: string;
|
|
15251
15263
|
statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
@@ -15318,10 +15330,7 @@ declare const _default: {
|
|
|
15318
15330
|
default: any;
|
|
15319
15331
|
};
|
|
15320
15332
|
options: {
|
|
15321
|
-
type: import("vue").PropType<unknown[]
|
|
15322
|
-
id: string;
|
|
15323
|
-
text: string;
|
|
15324
|
-
}[]>;
|
|
15333
|
+
type: import("vue").PropType<unknown[]>;
|
|
15325
15334
|
required: true;
|
|
15326
15335
|
};
|
|
15327
15336
|
modelValue: {
|
|
@@ -15439,6 +15448,10 @@ declare const _default: {
|
|
|
15439
15448
|
type: import("vue").PropType<string>;
|
|
15440
15449
|
default: any;
|
|
15441
15450
|
};
|
|
15451
|
+
disabledOptionKey: {
|
|
15452
|
+
type: import("vue").PropType<string>;
|
|
15453
|
+
default: string;
|
|
15454
|
+
};
|
|
15442
15455
|
fullWidth: {
|
|
15443
15456
|
type: import("vue").PropType<boolean>;
|
|
15444
15457
|
default: boolean;
|
|
@@ -15513,10 +15526,7 @@ declare const _default: {
|
|
|
15513
15526
|
default: any;
|
|
15514
15527
|
};
|
|
15515
15528
|
options: {
|
|
15516
|
-
type: import("vue").PropType<unknown[]
|
|
15517
|
-
id: string;
|
|
15518
|
-
text: string;
|
|
15519
|
-
}[]>;
|
|
15529
|
+
type: import("vue").PropType<unknown[]>;
|
|
15520
15530
|
required: true;
|
|
15521
15531
|
};
|
|
15522
15532
|
modelValue: {
|
|
@@ -15634,6 +15644,10 @@ declare const _default: {
|
|
|
15634
15644
|
type: import("vue").PropType<string>;
|
|
15635
15645
|
default: any;
|
|
15636
15646
|
};
|
|
15647
|
+
disabledOptionKey: {
|
|
15648
|
+
type: import("vue").PropType<string>;
|
|
15649
|
+
default: string;
|
|
15650
|
+
};
|
|
15637
15651
|
fullWidth: {
|
|
15638
15652
|
type: import("vue").PropType<boolean>;
|
|
15639
15653
|
default: boolean;
|
|
@@ -15700,6 +15714,7 @@ declare const _default: {
|
|
|
15700
15714
|
optionImageKey: string;
|
|
15701
15715
|
optionIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test";
|
|
15702
15716
|
valueToCopy: string;
|
|
15717
|
+
disabledOptionKey: string;
|
|
15703
15718
|
fullWidth: boolean;
|
|
15704
15719
|
optionsListWidth: string;
|
|
15705
15720
|
statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
|
|
@@ -15714,6 +15729,7 @@ declare const _default: {
|
|
|
15714
15729
|
option: unknown;
|
|
15715
15730
|
selected: boolean;
|
|
15716
15731
|
active: boolean;
|
|
15732
|
+
disabled: any;
|
|
15717
15733
|
}): any;
|
|
15718
15734
|
};
|
|
15719
15735
|
})))[];
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.default-dropdown-wrapper[data-v-f0c4710f]{position:relative}.dropdown-trigger[data-v-f0c4710f]{width:100%;padding:.3125rem .4375rem;display:flex;column-gap:.5rem;max-width:100%;box-sizing:border-box;border-radius:var(--border-radius-md);border:1px solid var(--action-outlined-border);background:var(--default-main);cursor:pointer;user-select:none;position:relative}.dropdown-trigger[data-v-f0c4710f]:hover{border:1px solid var(--action-active);background:var(--action-hover)}.dropdown-trigger.small[data-v-f0c4710f]{padding:.1875rem .4375rem}.dropdown-trigger.large[data-v-f0c4710f]{padding:.5625rem .4375rem}.dropdown-trigger.disabled[data-v-f0c4710f]{border:1px solid var(--action-outlined-border, #bbb);background:var(--action-disabled-background, #f1f1f1);cursor:not-allowed}.dropdown-trigger.open[data-v-f0c4710f]{padding:.25rem .375rem;border:2px solid var(--primary-main)}.dropdown-trigger.open.small[data-v-f0c4710f]{padding:.125rem .375rem}.dropdown-trigger.open.large[data-v-f0c4710f]{padding:.5rem .375rem}.dropdown-trigger.state-error[data-v-f0c4710f]{padding:4px 6px;border:2px solid var(--error-main)}.dropdown-trigger.state-success[data-v-f0c4710f]{padding:4px 6px;border:2px solid var(--success-main)}.dropdown-trigger.state-warning[data-v-f0c4710f]{padding:4px 6px;border:2px solid var(--warning-dark)}.dropdown-trigger .caret-down[data-v-f0c4710f]{color:var(--action-active)}.content[data-v-f0c4710f]{width:calc(100% - 28px);display:flex;gap:.25rem;align-items:center;color:var(--text-primary)}.content .displayed-value[data-v-f0c4710f]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.content .image[data-v-f0c4710f]{width:20px;height:20px;flex:none}.content .image img[data-v-f0c4710f]{border-radius:4px;width:100%;height:100%}.content .start-icon[data-v-f0c4710f]{display:flex;color:var(--action-active)}.content .status-dot[data-v-f0c4710f]{padding-right:.25rem}.content .status-dot>div[data-v-f0c4710f]{position:relative;top:-1px}.dropdown-field-label[data-v-f0c4710f]{color:var(--text-primary)}.dropdown-field-help-text[data-v-f0c4710f]{margin-top:4px;position:absolute}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.v-enter-active[data-v-78c1497e],.v-leave-active[data-v-78c1497e]{transition:opacity .25s ease}ol[data-v-78c1497e],ul[data-v-78c1497e],menu[data-v-78c1497e]{list-style:none;margin:0;padding:0}.dropdown.full-width[data-v-78c1497e],.dropdown.full-width .button__container[data-v-78c1497e]{width:100%}.dropdown-list-wrapper[data-v-78c1497e]{display:flex;flex-direction:column;padding:.5rem}.list-container--multi[data-v-78c1497e]{margin-bottom:0}.inline-search .inline-search-wrapper[data-v-78c1497e]{padding-bottom:.25rem}.inline-search .list-container[data-v-78c1497e]{padding-top:0}.no-result-container[data-v-78c1497e]{height:100%;display:flex;align-items:center;padding:.375rem .5rem;color:var(--text-disabled)}.no-result[data-v-78c1497e]{color:var(--text-disabled);padding-left:.5rem}.list[data-v-78c1497e]{outline:none;display:flex;flex-direction:column;width:100%;min-height:2rem}.list--multi[data-v-78c1497e]{margin-bottom:.5rem;border-bottom-left-radius:0;border-bottom-right-radius:0}.list li[data-v-78c1497e]:last-child .item-container{margin-bottom:0}.image-slot[data-v-78c1497e]{margin-right:.5rem}.actions-wrapper[data-v-78c1497e]{display:flex;width:100%;padding:.5rem .5rem .5rem .125rem;padding-bottom:0;border-top:1px solid var(--common-divider);justify-content:space-between}.apply-button[data-v-78c1497e]{margin-left:.5rem}
|