@ironsource/shared-ui 2.2.0-rc.0 → 2.2.0-rc.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Alert.vue_vue_type_style_index_0_scoped_5e66710b_lang.css +1 -0
- package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_f86477a9_lang.css +1 -0
- package/AppHeader.vue_vue_type_style_index_0_scoped_18bc6c0d_lang.css +1 -0
- package/ButtonV4.vue_vue_type_style_index_0_scoped_a59af1ad_lang.css +1 -0
- package/Chart.vue_vue_type_style_index_0_scoped_22477735_lang.css +1 -0
- package/ChartHeader.vue_vue_type_style_index_0_scoped_9a603520_lang.css +1 -0
- package/ChartPlane.vue_vue_type_style_index_0_scoped_6de5cddb_lang.css +1 -0
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_dc7e6298_lang.css +1 -0
- package/CheckboxV4.vue_vue_type_style_index_0_scoped_88525d86_lang.css +1 -0
- package/ChipV4.vue_vue_type_style_index_0_scoped_a221c649_lang.css +1 -0
- package/ColumnPicker.vue_vue_type_style_index_0_scoped_01c4e08f_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_46851fcb_lang.css +1 -0
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_a6900fa6_lang.css +1 -0
- package/DialogV4.vue_vue_type_style_index_0_scoped_a6710278_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_526bf0a1_lang.css +1 -0
- package/GroupOption.vue_vue_type_style_index_0_scoped_1e5170b3_lang.css +1 -0
- package/HelpText.vue_vue_type_style_index_0_scoped_641c2356_lang.css +1 -0
- package/IconV4.vue_vue_type_style_index_0_scoped_6683c5b5_lang.css +1 -0
- package/InlineCopy.vue_vue_type_style_index_0_scoped_9fa1921a_lang.css +1 -0
- package/Link.vue_vue_type_style_index_0_scoped_fe0e7f6f_lang.css +1 -0
- package/MultiBar.vue_vue_type_style_index_0_scoped_c4395fb6_lang.css +1 -0
- package/RadioButtonV4.vue_vue_type_style_index_0_scoped_4f3c7037_lang.css +1 -0
- package/SnackbarV4.vue_vue_type_style_index_0_scoped_35c79635_lang.css +1 -0
- package/SwitchV4.vue_vue_type_style_index_0_scoped_f9f89da2_lang.css +1 -0
- package/TextAreaV4.vue_vue_type_style_index_0_scoped_0feea75e_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_28fab783_lang.css +1 -0
- package/ThemeWrapper.vue_vue_type_style_index_1_lang.css +1 -1
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_0fc9ddf5_lang.css +1 -0
- package/TooltipHeader.vue_vue_type_style_index_0_scoped_2177211f_lang.css +1 -0
- package/components/alert/Alert.vue.d.ts +3 -8
- package/components/alert/Alert.vue.js +2 -2
- package/components/alert/Alert.vue2.js +48 -46
- package/components/alert/index.d.ts +8 -27
- package/components/appHeader/AppHeader.vue.js +2 -2
- package/components/appHeader/AppHeader.vue2.js +44 -45
- package/components/button/v3/Button.vue.d.ts +6 -6
- package/components/button/v3/index.d.ts +14 -14
- package/components/button/v4/ButtonV4.vue.js +4 -4
- package/components/button/v4/ButtonV4.vue2.js +1 -1
- package/components/button/v4/ToggleButtonGroupAB.vue.js +2 -2
- package/components/button/v4/ToggleButtonGroupAB.vue2.js +1 -1
- package/components/chart/Chart.vue.d.ts +5 -0
- package/components/chart/Chart.vue.js +3 -3
- package/components/chart/Chart.vue2.js +10 -8
- package/components/chart/ChartHeader.vue.d.ts +5 -0
- package/components/chart/ChartHeader.vue.js +3 -3
- package/components/chart/ChartHeader.vue2.js +73 -49
- package/components/chart/ChartPlane.vue.d.ts +5 -0
- package/components/chart/ChartPlane.vue.js +2 -2
- package/components/chart/ChartPlane.vue2.js +34 -32
- package/components/chart/ChartStoryArgs.d.ts +6 -0
- package/components/chart/ChartTooltip.vue.js +2 -2
- package/components/chart/ChartTooltip.vue2.js +19 -16
- package/components/chart/TooltipHeader.vue.js +3 -3
- package/components/chart/TooltipHeader.vue2.js +33 -22
- package/components/chart/index.d.ts +20 -1
- package/components/chart/utils/utils.d.ts +5 -1
- package/components/chart/utils/utils.js +32 -22
- package/components/checkbox/v4/CheckboxV4.vue.js +3 -3
- package/components/checkbox/v4/CheckboxV4.vue2.js +60 -79
- package/components/checkbox/v4/icons/CheckedState.vue.js +11 -11
- package/components/checkbox/v4/icons/IndeterminateState.vue.js +7 -7
- package/components/checkbox/v4/icons/UncheckedState.vue.d.ts +28 -1
- package/components/checkbox/v4/icons/UncheckedState.vue.js +23 -21
- package/components/checkbox/v4/icons/UncheckedState.vue2.js +4 -0
- package/components/chip/v4/ChipV4.vue.js +3 -3
- package/components/chip/v4/ChipV4.vue2.js +1 -1
- package/components/columnPicker/ColumnPicker.vue.js +2 -2
- package/components/columnPicker/ColumnPicker.vue2.js +1 -1
- package/components/dialog/v4/DialogV4.vue.js +4 -4
- package/components/dialog/v4/DialogV4.vue2.js +1 -1
- package/components/dropdown/v4/AppDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/AppDropdownTrigger.vue2.js +1 -1
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +15 -0
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +81 -60
- package/components/dropdown/v4/DropdownV4.vue.d.ts +18 -0
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +144 -135
- package/components/dropdown/v4/GroupOption.vue.js +3 -3
- package/components/dropdown/v4/GroupOption.vue2.js +1 -1
- package/components/dropdown/v4/dropdownStoryArgs.d.ts +11 -0
- package/components/dropdown/v4/index.d.ts +119 -2
- package/components/emptyState/v3/EmptyState.vue.d.ts +3 -3
- package/components/emptyState/v3/index.d.ts +7 -7
- package/components/helpText/HelpText.vue.d.ts +68 -0
- package/components/helpText/HelpText.vue.js +7 -0
- package/components/helpText/HelpText.vue2.js +45 -0
- package/components/helpText/index.d.ts +190 -0
- package/components/helpText/index.js +6 -0
- package/components/icon/v4/IconV4.vue.d.ts +5 -0
- package/components/icon/v4/IconV4.vue.js +2 -2
- package/components/icon/v4/IconV4.vue2.js +27 -26
- package/components/icon/v4/index.d.ts +20 -1
- package/components/includeExclude/index.d.ts +16 -16
- package/components/inlineCopy/InlineCopy.vue.d.ts +15 -0
- package/components/inlineCopy/InlineCopy.vue.js +2 -2
- package/components/inlineCopy/InlineCopy.vue2.js +80 -51
- package/components/inlineCopy/index.d.ts +27 -0
- package/components/input/v4/TextField.vue.js +2 -2
- package/components/input/v4/TextField.vue2.js +1 -1
- package/components/link/Link.vue.d.ts +3 -3
- package/components/link/Link.vue.js +5 -5
- package/components/link/Link.vue2.js +1 -1
- package/components/link/index.d.ts +7 -7
- package/components/multibar/MultiBar.vue.js +3 -3
- package/components/multibar/MultiBar.vue2.js +1 -1
- package/components/radioButton/v4/RadioButtonV4.vue.js +3 -3
- package/components/radioButton/v4/RadioButtonV4.vue2.js +1 -1
- package/components/snackbar/common/notify.js +25 -25
- package/components/snackbar/common/snackbar.common.js +19 -19
- package/components/snackbar/common/snackbar.types.d.ts +2 -1
- package/components/snackbar/v4/SnackbarV4.vue.d.ts +8 -1
- package/components/snackbar/v4/SnackbarV4.vue.js +2 -2
- package/components/snackbar/v4/SnackbarV4.vue2.js +85 -64
- package/components/switch/v4/SwitchV4.vue.d.ts +5 -0
- package/components/switch/v4/SwitchV4.vue.js +3 -3
- package/components/switch/v4/SwitchV4.vue2.js +14 -13
- package/components/switch/v4/index.d.ts +9 -0
- package/components/table/v4/DataGrid.vue.js +4 -4
- package/components/table/v4/DataGrid.vue2.js +78 -77
- package/components/table-cells/v3/Editable.vue.d.ts +1 -1
- package/components/table-cells/v3/index.d.ts +20 -20
- package/components/table-cells/v4/EditableV4.vue.d.ts +1 -1
- package/components/table-cells/v4/index.d.ts +20 -20
- package/components/textArea/v4/TextAreaV4.vue.js +3 -3
- package/components/textArea/v4/TextAreaV4.vue2.js +1 -1
- package/design-foundation.stories/colors/ColorsData.d.ts +52 -47
- package/index.d.ts +391 -46
- package/index.js +95 -91
- package/package.json +7 -2
- package/style/v4/colors.scss +89 -84
- package/style/v4/grid.css +1 -1
- package/style/v4/grid.css.map +1 -1
- package/testids/index.d.ts +6 -1
- package/testids/index.js +38 -37
- package/Alert.vue_vue_type_style_index_0_scoped_06e0871a_lang.css +0 -1
- package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_858cefbf_lang.css +0 -1
- package/AppHeader.vue_vue_type_style_index_0_scoped_538ccdc6_lang.css +0 -1
- package/ButtonV4.vue_vue_type_style_index_0_scoped_852be7ec_lang.css +0 -1
- package/Chart.vue_vue_type_style_index_0_scoped_060d02be_lang.css +0 -1
- package/ChartHeader.vue_vue_type_style_index_0_scoped_d90c583e_lang.css +0 -1
- package/ChartPlane.vue_vue_type_style_index_0_scoped_a685cf5e_lang.css +0 -1
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_9623dbbd_lang.css +0 -1
- package/CheckboxV4.vue_vue_type_style_index_0_scoped_af4ae3c3_lang.css +0 -1
- package/ChipV4.vue_vue_type_style_index_0_scoped_a4d3a12e_lang.css +0 -1
- package/ColumnPicker.vue_vue_type_style_index_0_scoped_ea8c7024_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_cd41c5ca_lang.css +0 -1
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_64ae80dd_lang.css +0 -1
- package/DialogV4.vue_vue_type_style_index_0_scoped_cc99f1e3_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_d3802d59_lang.css +0 -1
- package/GroupOption.vue_vue_type_style_index_0_scoped_5f372a81_lang.css +0 -1
- package/IconV4.vue_vue_type_style_index_0_scoped_dc433d48_lang.css +0 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_ad48b61e_lang.css +0 -1
- package/Link.vue_vue_type_style_index_0_scoped_1a766750_lang.css +0 -1
- package/MultiBar.vue_vue_type_style_index_0_scoped_71617643_lang.css +0 -1
- package/RadioButtonV4.vue_vue_type_style_index_0_scoped_05c7bca2_lang.css +0 -1
- package/SnackbarV4.vue_vue_type_style_index_0_scoped_1b650c39_lang.css +0 -1
- package/SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css +0 -1
- package/TextAreaV4.vue_vue_type_style_index_0_scoped_4114ef89_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_3b7a3661_lang.css +0 -1
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_2076b5ab_lang.css +0 -1
- package/TooltipHeader.vue_vue_type_style_index_0_scoped_da3532aa_lang.css +0 -1
- package/components/checkbox/v4/icons/CheckedDisabledState.vue.d.ts +0 -29
- package/components/checkbox/v4/icons/CheckedDisabledState.vue.js +0 -45
- package/components/checkbox/v4/icons/CheckedDisabledState.vue2.js +0 -4
- package/components/checkbox/v4/icons/IndeterminateDisabledState.vue.d.ts +0 -2
- package/components/checkbox/v4/icons/IndeterminateDisabledState.vue.js +0 -40
- package/components/checkbox/v4/icons/UncheckedDisabledState.vue.d.ts +0 -2
- package/components/checkbox/v4/icons/UncheckedDisabledState.vue.js +0 -30
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import "../../../DropdownV4.
|
|
2
|
-
import
|
|
1
|
+
import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_526bf0a1_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as he, computed as L, watch as ke, toRaw as S, openBlock as a, createElementBlock as s, mergeProps as m, unref as t, renderSlot as u, createElementVNode as f, createVNode as d, withCtx as c, Transition as we, normalizeClass as B, normalizeStyle as be, createTextVNode as k, createCommentVNode as r, isRef as Ie, toDisplayString as q, withModifiers as j, Fragment as Se, renderList as ve, createSlots as Ce, createBlock as F, resolveDynamicComponent as Ke } from "vue";
|
|
2
|
+
import P from "../../button/v4/ButtonV4.vue.js";
|
|
3
3
|
import "../../button/v4/IconButtonV4.vue.js";
|
|
4
4
|
import "../../button/v4/ButtonGroup.vue.js";
|
|
5
5
|
import "../../button/v4/ToggleButtonGroupAB.vue.js";
|
|
6
6
|
import "./DropdownV4.vue.js";
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
7
|
+
import Ee from "./DefaultDropdownTrigger.vue.js";
|
|
8
|
+
import Ae from "./IconButtonDropdownTrigger.vue.js";
|
|
9
|
+
import xe from "./ChipDropdownTrigger.vue.js";
|
|
10
|
+
import Oe from "./AppDropdownTrigger.vue.js";
|
|
11
11
|
import "./ButtonDropdownTrigger.vue.js";
|
|
12
12
|
import "./ButtonFilterDropdownTrigger.vue.js";
|
|
13
13
|
import "./TreeDropdown.vue.js";
|
|
14
14
|
import J from "./OptionV4.vue.js";
|
|
15
15
|
import "./ConditionalDropdown.vue.js";
|
|
16
|
-
import
|
|
16
|
+
import Le from "../../search/v4/SearchV4.vue.js";
|
|
17
17
|
import Q from "../../typography/v4/Typography.vue.js";
|
|
18
|
-
import { Dropdown as
|
|
18
|
+
import { Dropdown as Be } from "floating-vue";
|
|
19
19
|
import { DropdownTestIdModifiers as p } from "../../../testids/index.js";
|
|
20
20
|
import { dropdownCommon as Fe } from "../common/Dropdown.common.js";
|
|
21
21
|
import K from "../../skeleton/v4/SkeletonV4.vue.js";
|
|
22
|
-
import { useTestIdAttrs as
|
|
23
|
-
import { TRIGGERS as
|
|
24
|
-
import { useElementSize as
|
|
25
|
-
import
|
|
26
|
-
import
|
|
22
|
+
import { useTestIdAttrs as Pe } from "../../../utils/testIds.js";
|
|
23
|
+
import { TRIGGERS as w } from "./Dropdown.types.js";
|
|
24
|
+
import { useElementSize as Ne } from "@vueuse/core";
|
|
25
|
+
import Ve from "../../shared/FieldHelpText.vue.js";
|
|
26
|
+
import De from "./GroupOption.vue.js";
|
|
27
27
|
const $e = ["tabindex"], Me = { style: { width: "100%" } }, Re = { key: 0 }, ze = { key: 1 }, We = { key: 2 }, Ge = {
|
|
28
28
|
key: 0,
|
|
29
29
|
class: "inline-search-wrapper"
|
|
@@ -39,7 +39,7 @@ const $e = ["tabindex"], Me = { style: { width: "100%" } }, Re = { key: 0 }, ze
|
|
|
39
39
|
}, je = { class: "actions-clear-all" }, Je = { class: "actions-apply-cancel" }, Qe = {
|
|
40
40
|
key: 2,
|
|
41
41
|
class: "dropdown-footer"
|
|
42
|
-
}, Ct = /* @__PURE__ */
|
|
42
|
+
}, Ct = /* @__PURE__ */ he({
|
|
43
43
|
__name: "DropdownV4",
|
|
44
44
|
props: {
|
|
45
45
|
modelValue: { default: null },
|
|
@@ -64,6 +64,9 @@ const $e = ["tabindex"], Me = { style: { width: "100%" } }, Re = { key: 0 }, ze
|
|
|
64
64
|
minSelections: { default: 0 },
|
|
65
65
|
maxSelections: { default: null },
|
|
66
66
|
alwaysShowScroll: { type: Boolean, default: !0 },
|
|
67
|
+
inlineError: { type: Boolean, default: !1 },
|
|
68
|
+
inlineErrorText: { default: "" },
|
|
69
|
+
inlineErrorTextPlacement: { default: "top" },
|
|
67
70
|
isOnTop: { type: Boolean, default: !1 },
|
|
68
71
|
distance: { default: 0 },
|
|
69
72
|
container: { default: "body" },
|
|
@@ -79,7 +82,7 @@ const $e = ["tabindex"], Me = { style: { width: "100%" } }, Re = { key: 0 }, ze
|
|
|
79
82
|
triggerShownValuesCount: { default: 1 },
|
|
80
83
|
size: { default: "medium" },
|
|
81
84
|
mandatory: { type: Boolean, default: !1 },
|
|
82
|
-
predefinedTrigger: { default:
|
|
85
|
+
predefinedTrigger: { default: w.DEFAULT },
|
|
83
86
|
inlineSearch: { type: Boolean, default: !1 },
|
|
84
87
|
inlineSearchPlaceholder: { default: "Search" },
|
|
85
88
|
onSearch: { type: Function, default: null },
|
|
@@ -114,8 +117,8 @@ const $e = ["tabindex"], Me = { style: { width: "100%" } }, Re = { key: 0 }, ze
|
|
|
114
117
|
withConditions: { type: Boolean, default: !1 }
|
|
115
118
|
},
|
|
116
119
|
emits: ["update:selected", "update:isOpen", "closed", "opened", "apply", "selectAll", "clear", "copyToClipboard", "onsearch", "loadMore", "allSelectedChanged", "unsavedSelectionUpdate"],
|
|
117
|
-
setup(e, { expose: Z, emit:
|
|
118
|
-
const o = e,
|
|
120
|
+
setup(e, { expose: Z, emit: N }) {
|
|
121
|
+
const o = e, V = {
|
|
119
122
|
MULTILINE_LIST_HEIGHT: 48,
|
|
120
123
|
LIST_HEIGHT: 32 + 4,
|
|
121
124
|
MAX_NUMBER_OF_OPTIONS: 7.5,
|
|
@@ -126,27 +129,27 @@ const $e = ["tabindex"], Me = { style: { width: "100%" } }, Re = { key: 0 }, ze
|
|
|
126
129
|
onKeydown: I,
|
|
127
130
|
open: y,
|
|
128
131
|
toggleMenu: v,
|
|
129
|
-
onButtonKeydown:
|
|
132
|
+
onButtonKeydown: D,
|
|
130
133
|
query: C,
|
|
131
134
|
containerProps: _,
|
|
132
135
|
calculateTableHeight: ee,
|
|
133
136
|
wrapperProps: te,
|
|
134
137
|
filteredOptions: oe,
|
|
135
138
|
allSelected: $,
|
|
136
|
-
allSelectedApplied:
|
|
137
|
-
isIndeterminate:
|
|
138
|
-
onSelectAll:
|
|
139
|
+
allSelectedApplied: E,
|
|
140
|
+
isIndeterminate: ne,
|
|
141
|
+
onSelectAll: le,
|
|
139
142
|
virtualOptions: M,
|
|
140
|
-
isSelected:
|
|
141
|
-
selectedOption:
|
|
142
|
-
selectedOptionPrevious:
|
|
143
|
+
isSelected: A,
|
|
144
|
+
selectedOption: T,
|
|
145
|
+
selectedOptionPrevious: x,
|
|
143
146
|
selectedValue: ie,
|
|
144
147
|
onSelect: R,
|
|
145
148
|
activeIndex: z,
|
|
146
149
|
onCancel: ae,
|
|
147
150
|
onApply: de,
|
|
148
|
-
scrollTo:
|
|
149
|
-
listRef:
|
|
151
|
+
scrollTo: re,
|
|
152
|
+
listRef: se,
|
|
150
153
|
buttonRef: W,
|
|
151
154
|
apply: ue,
|
|
152
155
|
cancel: ce,
|
|
@@ -155,8 +158,8 @@ const $e = ["tabindex"], Me = { style: { width: "100%" } }, Re = { key: 0 }, ze
|
|
|
155
158
|
clearAll: me,
|
|
156
159
|
isGroup: fe,
|
|
157
160
|
flattenAndMarkGroupOptions: pe
|
|
158
|
-
} = Fe(o,
|
|
159
|
-
|
|
161
|
+
} = Fe(o, N, V), g = Pe(o.testId, p), H = L(() => !o.predefinedTrigger || o.predefinedTrigger === w.DEFAULT ? Ee : o.predefinedTrigger === w.APP ? Oe : null), { width: U } = Ne(W), ge = L(() => o.optionsListWidth ? o.optionsListWidth : !o.predefinedTrigger || o.predefinedTrigger === w.DEFAULT || o.predefinedTrigger === w.APP ? U.value - 2 > 240 ? `${U.value - 2}px` : `${V.DROPLIST_MIN_WIDTH}px` : "auto");
|
|
162
|
+
ke(
|
|
160
163
|
() => o.optionsListWidth,
|
|
161
164
|
() => {
|
|
162
165
|
o.optionsListWidth && document.documentElement.style.setProperty(
|
|
@@ -167,51 +170,51 @@ const $e = ["tabindex"], Me = { style: { width: "100%" } }, Re = { key: 0 }, ze
|
|
|
167
170
|
);
|
|
168
171
|
const Y = () => {
|
|
169
172
|
v();
|
|
170
|
-
}, X =
|
|
171
|
-
const
|
|
173
|
+
}, X = L(() => {
|
|
174
|
+
const n = {
|
|
172
175
|
tooltipMessage: null,
|
|
173
176
|
selections: []
|
|
174
177
|
};
|
|
175
178
|
if (o.multi && o.comparingKey) {
|
|
176
|
-
const i = S(
|
|
179
|
+
const i = S(T.value);
|
|
177
180
|
if (o.minSelections || o.maxSelections) {
|
|
178
181
|
if (Array.isArray(i) && i.length <= o.minSelections)
|
|
179
|
-
return
|
|
180
|
-
(
|
|
181
|
-
),
|
|
182
|
+
return n.tooltipMessage = `You need to select at least ${o.minSelections} item${o.minSelections > 1 ? "s" : ""}`, n.selections = i.map(
|
|
183
|
+
(l) => l[o.comparingKey]
|
|
184
|
+
), n;
|
|
182
185
|
if (o.maxSelections && Array.isArray(i) && i.length >= o.maxSelections) {
|
|
183
|
-
const
|
|
186
|
+
const l = i.map(
|
|
184
187
|
(b) => b[o.comparingKey]
|
|
185
|
-
),
|
|
186
|
-
return
|
|
187
|
-
if (!
|
|
188
|
+
), h = o.groupedOptions ? pe(o.options) : o.options;
|
|
189
|
+
return n.tooltipMessage = `You can only select up to ${o.maxSelections} items`, n.selections = h.map((b) => {
|
|
190
|
+
if (!l.includes(b[o.comparingKey]))
|
|
188
191
|
return b[o.comparingKey];
|
|
189
|
-
}),
|
|
192
|
+
}), n;
|
|
190
193
|
}
|
|
191
194
|
}
|
|
192
195
|
}
|
|
193
|
-
return
|
|
194
|
-
}),
|
|
196
|
+
return n.tooltipMessage = null, n.selections = [], n;
|
|
197
|
+
}), Te = (n) => {
|
|
195
198
|
if ((o.minSelections || o.maxSelections) && o.comparingKey)
|
|
196
199
|
return X.value.selections.includes(
|
|
197
|
-
|
|
200
|
+
n[o.comparingKey]
|
|
198
201
|
);
|
|
199
|
-
},
|
|
202
|
+
}, O = (n) => n[o.disabledOptionKey] || Te(n);
|
|
200
203
|
return Z({
|
|
201
204
|
selectItem: R,
|
|
202
|
-
scrollTo:
|
|
203
|
-
}), (
|
|
205
|
+
scrollTo: re
|
|
206
|
+
}), (n, i) => (a(), s("div", m({
|
|
204
207
|
ref_key: "el",
|
|
205
208
|
ref: ye,
|
|
206
209
|
class: ["dropdown dropdown--main-wrapper", [{ "dropdown--disabled": e.disabled, "full-width": e.fullWidth }]],
|
|
207
210
|
tabindex: e.disabled ? -1 : 0
|
|
208
211
|
}, t(g)[t(p).WRAPPER], {
|
|
209
212
|
onKeydown: i[8] || (i[8] = //@ts-ignore
|
|
210
|
-
(...
|
|
213
|
+
(...l) => t(I) && t(I)(...l))
|
|
211
214
|
}), [
|
|
212
|
-
u(
|
|
215
|
+
u(n.$slots, "label", {}, void 0, !0),
|
|
213
216
|
f("div", Me, [
|
|
214
|
-
d(t(
|
|
217
|
+
d(t(Be), m({
|
|
215
218
|
theme: e.theme,
|
|
216
219
|
"popper-class": [
|
|
217
220
|
e.popperClass,
|
|
@@ -230,43 +233,43 @@ const $e = ["tabindex"], Me = { style: { width: "100%" } }, Re = { key: 0 }, ze
|
|
|
230
233
|
"auto-size": e.autoSize
|
|
231
234
|
}, t(g)[t(p).TRIGGER]), {
|
|
232
235
|
popper: c(() => [
|
|
233
|
-
d(
|
|
236
|
+
d(we, null, {
|
|
234
237
|
default: c(() => [
|
|
235
|
-
t(y) ? (a(),
|
|
238
|
+
t(y) ? (a(), s("div", {
|
|
236
239
|
key: 0,
|
|
237
240
|
ref_key: "listRef",
|
|
238
|
-
ref:
|
|
239
|
-
class:
|
|
241
|
+
ref: se,
|
|
242
|
+
class: B(["light-theme-v4", {
|
|
240
243
|
"dropdown--disabled": e.disabled,
|
|
241
244
|
"inline-search": e.inlineSearch
|
|
242
245
|
}]),
|
|
243
246
|
style: be({ width: t(ge) })
|
|
244
247
|
}, [
|
|
245
|
-
t(y) ? (a(),
|
|
248
|
+
t(y) ? (a(), s("div", {
|
|
246
249
|
key: 0,
|
|
247
|
-
class:
|
|
250
|
+
class: B(["dropdown-list-wrapper", {
|
|
248
251
|
"dropdown-list-wrapper--multi": e.multi,
|
|
249
252
|
"dropdown-list-wrapper-always-show-scroll": e.alwaysShowScroll
|
|
250
253
|
}]),
|
|
251
254
|
onKeydown: i[7] || (i[7] = //@ts-ignore
|
|
252
|
-
(...
|
|
255
|
+
(...l) => t(I) && t(I)(...l))
|
|
253
256
|
}, [
|
|
254
|
-
t(y) && e.inlineSearch ? (a(),
|
|
255
|
-
e.withConditions ? u(
|
|
257
|
+
t(y) && e.inlineSearch ? (a(), s("div", Ge, [
|
|
258
|
+
e.withConditions ? u(n.$slots, "dropdown-conditions", { key: 0 }, () => [
|
|
256
259
|
f("div", He, [
|
|
257
260
|
d(t(Q), { variant: "body2" }, {
|
|
258
261
|
default: c(() => [
|
|
259
|
-
|
|
262
|
+
k("Conditions")
|
|
260
263
|
]),
|
|
261
264
|
_: 1
|
|
262
265
|
})
|
|
263
266
|
])
|
|
264
|
-
], !0) :
|
|
265
|
-
u(
|
|
266
|
-
d(t(
|
|
267
|
+
], !0) : r("", !0),
|
|
268
|
+
u(n.$slots, "inline-search", {}, () => [
|
|
269
|
+
d(t(Le), {
|
|
267
270
|
modelValue: t(C),
|
|
268
271
|
"onUpdate:modelValue": [
|
|
269
|
-
i[4] || (i[4] = (
|
|
272
|
+
i[4] || (i[4] = (l) => Ie(C) ? C.value = l : null),
|
|
270
273
|
e.onClearSearch
|
|
271
274
|
],
|
|
272
275
|
placeholder: e.inlineSearchPlaceholder,
|
|
@@ -277,8 +280,8 @@ const $e = ["tabindex"], Me = { style: { width: "100%" } }, Re = { key: 0 }, ze
|
|
|
277
280
|
onKeydown: t(I)
|
|
278
281
|
}, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id", "onUpdate:modelValue", "onKeydown"])
|
|
279
282
|
], !0)
|
|
280
|
-
])) :
|
|
281
|
-
u(
|
|
283
|
+
])) : r("", !0),
|
|
284
|
+
u(n.$slots, "input-list", { open: t(y) }, void 0, !0),
|
|
282
285
|
f("div", m({
|
|
283
286
|
class: ["list-container", { "list-container--multi": e.multi }],
|
|
284
287
|
style: { height: `${t(ee)}rem` }
|
|
@@ -286,7 +289,7 @@ const $e = ["tabindex"], Me = { style: { width: "100%" } }, Re = { key: 0 }, ze
|
|
|
286
289
|
...t(_),
|
|
287
290
|
...t(g)[t(p).LIST_CONTAINER]
|
|
288
291
|
}), [
|
|
289
|
-
u(
|
|
292
|
+
u(n.$slots, "custom-list-area", {}, void 0, !0),
|
|
290
293
|
f("ul", m(t(te), {
|
|
291
294
|
role: "listbox",
|
|
292
295
|
class: ["list", {
|
|
@@ -294,66 +297,66 @@ const $e = ["tabindex"], Me = { style: { width: "100%" } }, Re = { key: 0 }, ze
|
|
|
294
297
|
"list--with-conditions": e.withConditions
|
|
295
298
|
}]
|
|
296
299
|
}), [
|
|
297
|
-
!t(oe).length && !e.loading && !e.withConditions ? (a(),
|
|
300
|
+
!t(oe).length && !e.loading && !e.withConditions ? (a(), s("li", Ue, [
|
|
298
301
|
d(t(Q), m({ variant: "body2" }, t(g)[t(p).NO_RESULT]), {
|
|
299
302
|
default: c(() => [
|
|
300
|
-
|
|
303
|
+
k(q(e.noResultsText), 1)
|
|
301
304
|
]),
|
|
302
305
|
_: 1
|
|
303
306
|
}, 16)
|
|
304
|
-
])) :
|
|
305
|
-
e.showSelectAll !== !1 && e.multi && !t(C) && !e.loading && e.options.length && !(e.minSelections || e.maxSelections) ? u(
|
|
307
|
+
])) : r("", !0),
|
|
308
|
+
e.showSelectAll !== !1 && e.multi && !t(C) && !e.loading && e.options.length && !(e.minSelections || e.maxSelections) ? u(n.$slots, "select-all", { key: 1 }, () => [
|
|
306
309
|
f("li", null, [
|
|
307
310
|
d(t(J), m(
|
|
308
311
|
{
|
|
309
312
|
"aria-selected": t($),
|
|
310
313
|
"aria-disabled": !!e.disabled,
|
|
311
314
|
"selected-prop": t($),
|
|
312
|
-
"is-indeterminate": t(
|
|
315
|
+
"is-indeterminate": t(ne),
|
|
313
316
|
"is-multi": e.multi,
|
|
314
317
|
"select-all-option": ""
|
|
315
318
|
},
|
|
316
319
|
t(g)[t(p).SELECT_ALL],
|
|
317
320
|
{
|
|
318
|
-
onClick: i[5] || (i[5] = j((
|
|
321
|
+
onClick: i[5] || (i[5] = j((l) => t(le)(), ["stop"]))
|
|
319
322
|
}
|
|
320
323
|
), {
|
|
321
324
|
default: c(() => [
|
|
322
|
-
|
|
325
|
+
k(" Select all ")
|
|
323
326
|
]),
|
|
324
327
|
_: 1
|
|
325
328
|
}, 16, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate", "is-multi"])
|
|
326
329
|
])
|
|
327
|
-
], !0) :
|
|
328
|
-
t(M).length && !e.loading ? (a(!0),
|
|
329
|
-
key:
|
|
330
|
-
"aria-selected": t(
|
|
330
|
+
], !0) : r("", !0),
|
|
331
|
+
t(M).length && !e.loading ? (a(!0), s(Se, { key: 2 }, ve(t(M), ({ data: l, index: h }) => (a(), s("li", {
|
|
332
|
+
key: h,
|
|
333
|
+
"aria-selected": t(A)(S(t(T)), l),
|
|
331
334
|
"aria-disabled": !!e.disabled,
|
|
332
335
|
onClick: j(
|
|
333
|
-
() => !
|
|
336
|
+
() => !O(l) && t(R)(l, h),
|
|
334
337
|
["stop"]
|
|
335
338
|
)
|
|
336
339
|
}, [
|
|
337
|
-
e.groupedOptions && t(fe)(
|
|
338
|
-
d(
|
|
340
|
+
e.groupedOptions && t(fe)(l) ? u(n.$slots, "group-option", { key: 0 }, () => [
|
|
341
|
+
d(De, null, {
|
|
339
342
|
default: c(() => [
|
|
340
|
-
|
|
343
|
+
k(q(e.displayValue(l) || l[e.optionNameKey]), 1)
|
|
341
344
|
]),
|
|
342
345
|
_: 2
|
|
343
346
|
}, 1024)
|
|
344
|
-
], !0) : u(
|
|
347
|
+
], !0) : u(n.$slots, "default", {
|
|
345
348
|
key: 1,
|
|
346
|
-
option:
|
|
347
|
-
index:
|
|
348
|
-
selected: t(
|
|
349
|
-
active: S(t(z)) ===
|
|
350
|
-
disabled:
|
|
349
|
+
option: l,
|
|
350
|
+
index: h,
|
|
351
|
+
selected: t(A)(S(t(T)), l),
|
|
352
|
+
active: S(t(z)) === h,
|
|
353
|
+
disabled: O(l)
|
|
351
354
|
}, () => [
|
|
352
355
|
d(t(J), {
|
|
353
|
-
option:
|
|
354
|
-
"selected-prop": t(
|
|
355
|
-
active: S(t(z)) ===
|
|
356
|
-
disabled:
|
|
356
|
+
option: l,
|
|
357
|
+
"selected-prop": t(A)(t(T), l),
|
|
358
|
+
active: S(t(z)) === h,
|
|
359
|
+
disabled: O(l),
|
|
357
360
|
"name-key": e.optionNameKey,
|
|
358
361
|
"image-key": e.optionImageKey,
|
|
359
362
|
"icon-key": e.optionIconKey,
|
|
@@ -369,27 +372,27 @@ const $e = ["tabindex"], Me = { style: { width: "100%" } }, Re = { key: 0 }, ze
|
|
|
369
372
|
"is-multi": e.multi,
|
|
370
373
|
"min-max-selection-tooltip-message": t(X)?.tooltipMessage
|
|
371
374
|
}, Ce({ _: 2 }, [
|
|
372
|
-
|
|
375
|
+
n.$slots["option-end"] ? {
|
|
373
376
|
name: "option-end",
|
|
374
377
|
fn: c(({ option: b }) => [
|
|
375
|
-
u(
|
|
378
|
+
u(n.$slots, "option-end", { option: b }, void 0, !0)
|
|
376
379
|
]),
|
|
377
380
|
key: "0"
|
|
378
381
|
} : void 0
|
|
379
382
|
]), 1032, ["option", "selected-prop", "active", "disabled", "name-key", "image-key", "icon-key", "icon-type", "end-icon-key", "end-icon-type", "end-text-icon-key", "option-flag-key", "warning-key", "option-two-lines-variant", "option-two-lines-key", "tooltip-placement", "is-multi", "min-max-selection-tooltip-message"])
|
|
380
383
|
], !0)
|
|
381
|
-
], 8, Ye))), 128)) :
|
|
382
|
-
e.loading || e.loadMoreLoading ? (a(),
|
|
384
|
+
], 8, Ye))), 128)) : r("", !0),
|
|
385
|
+
e.loading || e.loadMoreLoading ? (a(), s("li", Xe, [
|
|
383
386
|
d(t(K), { round: "" }),
|
|
384
387
|
d(t(K), { round: "" }),
|
|
385
388
|
d(t(K), { round: "" }),
|
|
386
389
|
d(t(K), { round: "" })
|
|
387
|
-
])) :
|
|
390
|
+
])) : r("", !0)
|
|
388
391
|
], 16)
|
|
389
392
|
], 16),
|
|
390
|
-
e.multi ? (a(),
|
|
393
|
+
e.multi ? (a(), s("div", qe, [
|
|
391
394
|
f("div", je, [
|
|
392
|
-
e.showClearAll ? (a(), F(t(
|
|
395
|
+
e.showClearAll ? (a(), F(t(P), m(
|
|
393
396
|
{
|
|
394
397
|
key: 0,
|
|
395
398
|
ref_key: "clearAll",
|
|
@@ -404,29 +407,29 @@ const $e = ["tabindex"], Me = { style: { width: "100%" } }, Re = { key: 0 }, ze
|
|
|
404
407
|
}
|
|
405
408
|
), {
|
|
406
409
|
default: c(() => [
|
|
407
|
-
|
|
410
|
+
k(" Clear all ")
|
|
408
411
|
]),
|
|
409
412
|
_: 1
|
|
410
|
-
}, 16)) :
|
|
413
|
+
}, 16)) : r("", !0)
|
|
411
414
|
]),
|
|
412
415
|
f("div", Je, [
|
|
413
|
-
d(t(
|
|
416
|
+
d(t(P), m(
|
|
414
417
|
{
|
|
415
418
|
ref_key: "cancel",
|
|
416
419
|
ref: ce,
|
|
417
420
|
size: "small",
|
|
418
421
|
variant: "outlined",
|
|
419
|
-
color: "
|
|
422
|
+
color: "default"
|
|
420
423
|
},
|
|
421
424
|
t(g)[t(p).ACTION_CANCEL],
|
|
422
425
|
{ onClick: t(ae) }
|
|
423
426
|
), {
|
|
424
427
|
default: c(() => [
|
|
425
|
-
|
|
428
|
+
k(" Cancel ")
|
|
426
429
|
]),
|
|
427
430
|
_: 1
|
|
428
431
|
}, 16, ["onClick"]),
|
|
429
|
-
d(t(
|
|
432
|
+
d(t(P), m({
|
|
430
433
|
ref_key: "apply",
|
|
431
434
|
ref: ue,
|
|
432
435
|
"data-testid": "mutli-apply",
|
|
@@ -434,24 +437,24 @@ const $e = ["tabindex"], Me = { style: { width: "100%" } }, Re = { key: 0 }, ze
|
|
|
434
437
|
class: "apply-button"
|
|
435
438
|
}, t(g)[t(p).ACTION_APPLY], { onClick: t(de) }), {
|
|
436
439
|
default: c(() => [
|
|
437
|
-
|
|
440
|
+
k(" Apply ")
|
|
438
441
|
]),
|
|
439
442
|
_: 1
|
|
440
443
|
}, 16, ["onClick"])
|
|
441
444
|
])
|
|
442
|
-
])) :
|
|
443
|
-
|
|
444
|
-
u(
|
|
445
|
-
])) :
|
|
446
|
-
], 34)) :
|
|
447
|
-
], 6)) :
|
|
445
|
+
])) : r("", !0),
|
|
446
|
+
n.$slots.footer ? (a(), s("div", Qe, [
|
|
447
|
+
u(n.$slots, "footer", {}, void 0, !0)
|
|
448
|
+
])) : r("", !0)
|
|
449
|
+
], 34)) : r("", !0)
|
|
450
|
+
], 6)) : r("", !0)
|
|
448
451
|
]),
|
|
449
452
|
_: 3
|
|
450
453
|
})
|
|
451
454
|
]),
|
|
452
455
|
default: c(() => [
|
|
453
456
|
f("div", {
|
|
454
|
-
class:
|
|
457
|
+
class: B(["button__container", {
|
|
455
458
|
"button__container--open": !!t(y),
|
|
456
459
|
[`button__container--${e.size}`]: !0,
|
|
457
460
|
"button__container--disabled": e.disabled
|
|
@@ -461,7 +464,7 @@ const $e = ["tabindex"], Me = { style: { width: "100%" } }, Re = { key: 0 }, ze
|
|
|
461
464
|
ref_key: "buttonRef",
|
|
462
465
|
ref: W
|
|
463
466
|
}, [
|
|
464
|
-
u(
|
|
467
|
+
u(n.$slots, "dropdown-trigger", {
|
|
465
468
|
buttonTriggerProps: {
|
|
466
469
|
open: t(y),
|
|
467
470
|
disabled: e.disabled,
|
|
@@ -478,7 +481,7 @@ const $e = ["tabindex"], Me = { style: { width: "100%" } }, Re = { key: 0 }, ze
|
|
|
478
481
|
testId: e.testId,
|
|
479
482
|
multi: e.multi,
|
|
480
483
|
disabled: e.disabled,
|
|
481
|
-
selectedOption: e.multi ? t(
|
|
484
|
+
selectedOption: e.multi ? t(x) : t(T),
|
|
482
485
|
displayValue: e.displayValue,
|
|
483
486
|
options: e.options,
|
|
484
487
|
optionNameKey: e.optionNameKey,
|
|
@@ -494,12 +497,15 @@ const $e = ["tabindex"], Me = { style: { width: "100%" } }, Re = { key: 0 }, ze
|
|
|
494
497
|
statusDotType: e.statusType,
|
|
495
498
|
size: e.size,
|
|
496
499
|
showAllSelectedText: e.triggerShowAllSelectedText,
|
|
497
|
-
allSelected: t(
|
|
498
|
-
|
|
500
|
+
allSelected: t(E),
|
|
501
|
+
inlineError: e.inlineError,
|
|
502
|
+
inlineErrorText: e.inlineErrorText,
|
|
503
|
+
inlineErrorTextPlacement: e.inlineErrorTextPlacement,
|
|
504
|
+
onKeydown: t(D),
|
|
499
505
|
onClick: Y
|
|
500
506
|
}
|
|
501
507
|
}, () => [
|
|
502
|
-
t(H) ? (a(),
|
|
508
|
+
t(H) ? (a(), s("div", Re, [
|
|
503
509
|
(a(), F(Ke(t(H)), {
|
|
504
510
|
placeholder: e.placeholder,
|
|
505
511
|
open: t(y),
|
|
@@ -509,7 +515,7 @@ const $e = ["tabindex"], Me = { style: { width: "100%" } }, Re = { key: 0 }, ze
|
|
|
509
515
|
"test-id": e.testId,
|
|
510
516
|
multi: e.multi,
|
|
511
517
|
disabled: e.disabled,
|
|
512
|
-
"selected-option": e.multi ? t(
|
|
518
|
+
"selected-option": e.multi ? t(x) : t(T),
|
|
513
519
|
"display-value": e.displayValue,
|
|
514
520
|
options: e.options,
|
|
515
521
|
"option-name-key": e.optionNameKey,
|
|
@@ -525,46 +531,49 @@ const $e = ["tabindex"], Me = { style: { width: "100%" } }, Re = { key: 0 }, ze
|
|
|
525
531
|
"status-dot-type": e.statusType,
|
|
526
532
|
size: e.size,
|
|
527
533
|
"show-all-selected-text": e.triggerShowAllSelectedText,
|
|
528
|
-
"all-selected": t(
|
|
529
|
-
|
|
534
|
+
"all-selected": t(E),
|
|
535
|
+
"inline-error": e.inlineError,
|
|
536
|
+
"inline-error-text": e.inlineErrorText,
|
|
537
|
+
"inline-error-text-placement": e.inlineErrorTextPlacement,
|
|
538
|
+
onKeydown: t(D),
|
|
530
539
|
onClick: Y,
|
|
531
|
-
onCopyToClipboard: i[0] || (i[0] = (
|
|
532
|
-
}, null, 40, ["placeholder", "open", "label", "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", "option-end-icon-key", "option-end-icon-type", "options-end-text-icon-key", "option-flag-key", "feedback-variant", "value-to-copy", "status-dot-type", "size", "show-all-selected-text", "all-selected", "onKeydown"]))
|
|
533
|
-
])) :
|
|
534
|
-
e.predefinedTrigger === t(
|
|
535
|
-
d(t(
|
|
536
|
-
onClick: i[1] || (i[1] = (
|
|
540
|
+
onCopyToClipboard: i[0] || (i[0] = (l) => N("copyToClipboard"))
|
|
541
|
+
}, null, 40, ["placeholder", "open", "label", "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", "option-end-icon-key", "option-end-icon-type", "options-end-text-icon-key", "option-flag-key", "feedback-variant", "value-to-copy", "status-dot-type", "size", "show-all-selected-text", "all-selected", "inline-error", "inline-error-text", "inline-error-text-placement", "onKeydown"]))
|
|
542
|
+
])) : r("", !0),
|
|
543
|
+
e.predefinedTrigger === t(w).ICON_BUTTON ? (a(), s("div", ze, [
|
|
544
|
+
d(t(Ae), {
|
|
545
|
+
onClick: i[1] || (i[1] = (l) => t(v)())
|
|
537
546
|
})
|
|
538
|
-
])) :
|
|
539
|
-
e.predefinedTrigger === t(
|
|
540
|
-
d(t(
|
|
547
|
+
])) : r("", !0),
|
|
548
|
+
e.predefinedTrigger === t(w).CHIP ? (a(), s("div", We, [
|
|
549
|
+
d(t(xe), {
|
|
541
550
|
open: t(y),
|
|
542
551
|
label: e.placeholder,
|
|
543
552
|
"test-id": e.testId,
|
|
544
553
|
options: e.options,
|
|
545
|
-
"selected-option": e.multi ? t(
|
|
554
|
+
"selected-option": e.multi ? t(x) : t(T),
|
|
546
555
|
"display-value": e.displayValue,
|
|
547
556
|
multi: e.multi,
|
|
548
|
-
"all-selected": t(
|
|
557
|
+
"all-selected": t(E),
|
|
549
558
|
"shown-values-count": e.triggerShownValuesCount,
|
|
550
|
-
onClick: i[2] || (i[2] = (
|
|
551
|
-
onClear: i[3] || (i[3] = (
|
|
559
|
+
onClick: i[2] || (i[2] = (l) => t(v)()),
|
|
560
|
+
onClear: i[3] || (i[3] = (l) => t(G)())
|
|
552
561
|
}, null, 8, ["open", "label", "test-id", "options", "selected-option", "display-value", "multi", "all-selected", "shown-values-count"])
|
|
553
|
-
])) :
|
|
562
|
+
])) : r("", !0)
|
|
554
563
|
], !0)
|
|
555
564
|
], 512)
|
|
556
565
|
], 2)
|
|
557
566
|
]),
|
|
558
567
|
_: 3
|
|
559
568
|
}, 16, ["theme", "popper-class", "placement", "skidding", "distance", "flip", "shown", "container", "auto-size"]),
|
|
560
|
-
e.triggerFeedbackText ? (a(), F(
|
|
569
|
+
e.triggerFeedbackText ? (a(), F(Ve, {
|
|
561
570
|
key: 0,
|
|
562
571
|
text: e.triggerFeedbackText,
|
|
563
572
|
variant: e.triggerFeedbackVariant,
|
|
564
573
|
"show-icon": e.triggerFeedbackShowIcon,
|
|
565
574
|
"test-id": e.testId,
|
|
566
575
|
class: "dropdown-field-help-text"
|
|
567
|
-
}, null, 8, ["text", "variant", "show-icon", "test-id"])) :
|
|
576
|
+
}, null, 8, ["text", "variant", "show-icon", "test-id"])) : r("", !0)
|
|
568
577
|
])
|
|
569
578
|
], 16, $e));
|
|
570
579
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./GroupOption.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../GroupOption.
|
|
4
|
-
const s = /* @__PURE__ */
|
|
2
|
+
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../GroupOption.vue_vue_type_style_index_0_scoped_1e5170b3_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-1e5170b3"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../GroupOption.
|
|
1
|
+
import "../../../GroupOption.vue_vue_type_style_index_0_scoped_1e5170b3_lang.css"; import { defineComponent as i, ref as l, openBlock as f, createElementBlock as s, withModifiers as a, unref as o, createVNode as u, withCtx as m, renderSlot as d } from "vue";
|
|
2
2
|
import { NOOP as r } from "@vue/shared";
|
|
3
3
|
import c from "../../typography/v4/Typography.vue.js";
|
|
4
4
|
const y = /* @__PURE__ */ i({
|
|
@@ -115,6 +115,17 @@ export declare const dropDownStoryArgs: {
|
|
|
115
115
|
};
|
|
116
116
|
description: string;
|
|
117
117
|
};
|
|
118
|
+
inlineError: {
|
|
119
|
+
control: {
|
|
120
|
+
type: string;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
inlineErrorText: {
|
|
124
|
+
type: string;
|
|
125
|
+
};
|
|
126
|
+
inlineErrorTextPlacement: {
|
|
127
|
+
options: readonly ["auto", "auto-start", "auto-end", "top", "top-start", "top-end", "right", "right-start", "right-end", "bottom", "bottom-start", "bottom-end", "left", "left-start", "left-end"];
|
|
128
|
+
};
|
|
118
129
|
isOnTop: {
|
|
119
130
|
control: {
|
|
120
131
|
type: string;
|