@ironsource/shared-ui 2.1.11-test.5 → 2.1.11-test.50
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/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_604dfc6f_lang.css +1 -0
- package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_1aa6df01_lang.css +1 -0
- package/Chart.vue_vue_type_style_index_0_scoped_277fde76_lang.css +1 -0
- package/ChartHeader.vue_vue_type_style_index_0_scoped_b8213498_lang.css +1 -0
- package/ChartLegend.vue_vue_type_style_index_0_scoped_a1c626cd_lang.css +1 -0
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_6744325c_lang.css +1 -0
- package/CheckboxV4.vue_vue_type_style_index_0_scoped_af4ae3c3_lang.css +1 -0
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e43ac1c9_lang.css +1 -0
- package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_27802170_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_26488faf_lang.css +1 -0
- package/DataGridMenu.vue_vue_type_style_index_0_scoped_ddfaf207_lang.css +1 -0
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_309e5351_lang.css +1 -0
- package/DialogV4.vue_vue_type_style_index_0_scoped_37da643b_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_75002075_lang.css +1 -0
- package/EditableV4.vue_vue_type_style_index_0_scoped_1bbe222a_lang.css +1 -0
- package/EmptyStateV4.vue_vue_type_style_index_0_scoped_18728498_lang.css +1 -0
- package/FiltersPanelV4.vue_vue_type_style_index_0_scoped_383011d3_lang.css +1 -0
- package/FormCard.vue_vue_type_style_index_0_scoped_86feae7b_lang.css +1 -0
- package/IconFlag.vue_vue_type_style_index_0_scoped_be9dc7bb_lang.css +1 -0
- package/InlineCopy.vue_vue_type_style_index_0_scoped_ad48b61e_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_2c2947b3_lang.css +1 -0
- package/PopoverV4.vue_vue_type_style_index_0_scoped_66694b4e_lang.css +1 -0
- package/README.md +4 -15
- package/SnackbarV4.vue_vue_type_style_index_0_scoped_89fe8aa1_lang.css +1 -0
- package/SortableItem.vue_vue_type_style_index_0_scoped_2ca7b24c_lang.css +1 -0
- package/SortableItemLabel.vue_vue_type_style_index_0_scoped_f2ced2f4_lang.css +1 -0
- package/SortableList.vue_vue_type_style_index_0_scoped_8f267f88_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_fce3948c_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_c81a7d3e_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_0_scoped_66eab856_lang.css +1 -0
- package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_b883d1fa_lang.css +1 -0
- package/Typography.vue_vue_type_style_index_0_scoped_5714d43e_lang.css +1 -0
- package/components/autocomplete/Autocomplete.vue2.js +3 -2
- package/components/button/v4/ToggleButtonGroupAB.vue.d.ts +3 -1
- package/components/button/v4/ToggleButtonGroupAB.vue.js +2 -2
- package/components/button/v4/ToggleButtonGroupAB.vue2.js +44 -39
- package/components/button/v4/index.d.ts +9 -3
- package/components/chart/Chart.vue.d.ts +16 -3
- package/components/chart/Chart.vue.js +5 -5
- package/components/chart/Chart.vue2.js +127 -110
- package/components/chart/ChartHeader.vue.d.ts +13 -6
- package/components/chart/ChartHeader.vue.js +2 -2
- package/components/chart/ChartHeader.vue2.js +32 -29
- package/components/chart/ChartLegend.vue.d.ts +5 -0
- package/components/chart/ChartLegend.vue.js +3 -3
- package/components/chart/ChartLegend.vue2.js +99 -49
- package/components/chart/ChartTooltip.vue.d.ts +4 -5
- package/components/chart/ChartTooltip.vue.js +2 -2
- package/components/chart/ChartTooltip.vue2.js +64 -43
- package/components/chart/SettingsHeader.vue2.js +3 -2
- package/components/chart/index.d.ts +55 -16
- package/components/chart/mockData.d.ts +15 -2
- package/components/chart/types.d.ts +15 -1
- package/components/chart/utils/utils.js +5 -5
- package/components/checkbox/v4/CheckboxV4.vue.js +3 -3
- package/components/checkbox/v4/CheckboxV4.vue2.js +2 -2
- package/components/datePicker/v4/DatePickerV4.vue2.js +8 -7
- package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
- package/components/dateRange/v4/DateRangeV4.vue2.js +9 -9
- package/components/dialog/v4/DialogV4.vue.d.ts +15 -0
- package/components/dialog/v4/DialogV4.vue.js +3 -3
- package/components/dialog/v4/DialogV4.vue2.js +80 -73
- package/components/dialog/v4/index.d.ts +58 -1
- package/components/dropdown/common/Dropdown.common.js +200 -189
- package/components/dropdown/v3/Dropdown.vue.d.ts +2 -2
- package/components/dropdown/v3/index.d.ts +39 -39
- package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +1 -1
- package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +15 -0
- package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +42 -20
- package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue2.js +7 -7
- package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +10 -0
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +88 -47
- package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +110 -0
- package/components/dropdown/v4/ConditionalDropdown.vue.js +7 -0
- package/components/dropdown/v4/ConditionalDropdown.vue2.js +224 -0
- package/components/dropdown/v4/DropdownV4.vue.d.ts +32 -11
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +153 -138
- package/components/dropdown/v4/OptionV4.vue.d.ts +10 -0
- package/components/dropdown/v4/OptionV4.vue.js +2 -2
- package/components/dropdown/v4/OptionV4.vue2.js +135 -98
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +6 -1
- package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
- package/components/dropdown/v4/TreeDropdown.vue2.js +165 -120
- package/components/dropdown/v4/index.d.ts +443 -110
- package/components/dropdown/v4/index.js +6 -3
- package/components/emptyState/v4/EmptyStateV4.vue.js +3 -3
- package/components/emptyState/v4/EmptyStateV4.vue2.js +1 -1
- package/components/filtersPanel/v4/FiltersPanelV4.vue.js +2 -2
- package/components/filtersPanel/v4/FiltersPanelV4.vue2.js +8 -9
- package/components/forms/FormCard.vue.js +3 -3
- package/components/forms/FormCard.vue2.js +1 -1
- package/components/icon/v4/IconFlag.vue.js +3 -3
- package/components/icon/v4/IconFlag.vue2.js +1 -1
- package/components/icon/v4/consts.d.ts +1 -1
- package/components/icon/v4/consts.js +1 -1
- package/components/inlineCopy/InlineCopy.vue.d.ts +5 -0
- package/components/inlineCopy/InlineCopy.vue.js +2 -2
- package/components/inlineCopy/InlineCopy.vue2.js +24 -22
- package/components/inlineCopy/index.d.ts +9 -0
- package/components/input/v4/TextField.vue.js +3 -3
- package/components/input/v4/TextField.vue2.js +185 -165
- package/components/multibar/MultiBarMenu.vue2.js +3 -2
- package/components/popover/v4/PopoverV4.vue.d.ts +14 -2
- package/components/popover/v4/PopoverV4.vue.js +4 -3
- package/components/popover/v4/PopoverV4.vue2.js +40 -24
- package/components/popover/v4/index.d.ts +55 -11
- package/components/snackbar/v4/SnackbarV4.vue.d.ts +7 -116
- package/components/snackbar/v4/SnackbarV4.vue.js +5 -5
- package/components/snackbar/v4/SnackbarV4.vue2.js +62 -60
- package/components/sortableList/SortableItem.vue.d.ts +5 -0
- package/components/sortableList/SortableItem.vue.js +2 -2
- package/components/sortableList/SortableItem.vue2.js +86 -70
- package/components/sortableList/SortableItemLabel.vue.js +3 -3
- package/components/sortableList/SortableItemLabel.vue2.js +20 -23
- package/components/sortableList/SortableList.vue.d.ts +17 -1
- package/components/sortableList/SortableList.vue.js +4 -4
- package/components/sortableList/SortableList.vue2.js +113 -94
- package/components/sortableList/index.d.ts +63 -5
- package/components/table/common/Table.common.d.ts +1 -1
- package/components/table/common/Table.common.js +83 -77
- package/components/table/common/Table.types.d.ts +1 -1
- package/components/table/common/consts.d.ts +4 -0
- package/components/table/common/consts.js +7 -0
- package/components/table/v3/Table.vue.d.ts +1 -1
- package/components/table/v3/index.d.ts +5 -5
- package/components/table/v4/DataGrid.vue.d.ts +12 -2
- package/components/table/v4/DataGrid.vue.js +2 -2
- package/components/table/v4/DataGrid.vue2.js +164 -155
- package/components/table/v4/DataGridMenu.vue.js +5 -5
- package/components/table/v4/DataGridMenu.vue2.js +4 -3
- package/components/table/v4/MultipleDataGrid.vue.d.ts +1 -1
- package/components/table/v4/index.d.ts +84 -46
- package/components/table-cells/common/Editable.common.js +29 -23
- package/components/table-cells/common/EditableContext.d.ts +1 -0
- package/components/table-cells/v4/EditableV4.vue.d.ts +5 -0
- package/components/table-cells/v4/EditableV4.vue.js +3 -3
- package/components/table-cells/v4/EditableV4.vue2.js +11 -10
- package/components/table-cells/v4/index.d.ts +20 -1
- package/components/tooltip/v4/TooltipV4.vue.d.ts +10 -0
- package/components/tooltip/v4/TooltipV4.vue.js +3 -3
- package/components/tooltip/v4/TooltipV4.vue2.js +24 -21
- package/components/tooltip/v4/index.d.ts +39 -1
- package/components/typography/v4/Typography.vue.js +3 -3
- package/components/typography/v4/Typography.vue2.js +24 -18
- package/design-foundation.stories/icons/iconsData.d.ts +1 -1
- package/index.d.ts +1626 -366
- package/index.js +1 -1
- package/mocks/options.d.ts +48 -6
- package/mocks/words.d.ts +1 -1
- package/package.json +2 -1
- package/style/v4/grid.css +1 -1
- package/style/v4/grid.css.map +1 -1
- package/style/v4/spacings.scss +1 -0
- package/testids/index.d.ts +2 -0
- package/testids/index.js +13 -13
- package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_76c74f58_lang.css +0 -1
- package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_7f750550_lang.css +0 -1
- package/Chart.vue_vue_type_style_index_0_scoped_ea1e5c3e_lang.css +0 -1
- package/ChartHeader.vue_vue_type_style_index_0_scoped_4c37736e_lang.css +0 -1
- package/ChartLegend.vue_vue_type_style_index_0_scoped_c0f71a49_lang.css +0 -1
- package/ChartTooltip.vue_vue_type_style_index_0_scoped_ec636f18_lang.css +0 -1
- package/CheckboxV4.vue_vue_type_style_index_0_scoped_8e5b619a_lang.css +0 -1
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_49bd7193_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_0cd8af73_lang.css +0 -1
- package/DataGridMenu.vue_vue_type_style_index_0_scoped_a6e4672f_lang.css +0 -1
- package/DateRangeV4.vue_vue_type_style_index_0_scoped_f81413ec_lang.css +0 -1
- package/DialogV4.vue_vue_type_style_index_0_scoped_09c488cf_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_e899ec7a_lang.css +0 -1
- package/EditableV4.vue_vue_type_style_index_0_scoped_e0c047b4_lang.css +0 -1
- package/EmptyStateV4.vue_vue_type_style_index_0_scoped_24001caa_lang.css +0 -1
- package/FiltersPanelV4.vue_vue_type_style_index_0_scoped_39061862_lang.css +0 -1
- package/FormCard.vue_vue_type_style_index_0_scoped_c7965a69_lang.css +0 -1
- package/IconFlag.vue_vue_type_style_index_0_scoped_7b09cc85_lang.css +0 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_893a203c_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_4070942a_lang.css +0 -1
- package/PopoverV4.vue_vue_type_style_index_0_scoped_74bbce13_lang.css +0 -1
- package/SnackbarV4.vue_vue_type_style_index_0_scoped_49c5ccea_lang.css +0 -1
- package/SortableItem.vue_vue_type_style_index_0_scoped_9dd4d372_lang.css +0 -1
- package/SortableItemLabel.vue_vue_type_style_index_0_scoped_1386ae20_lang.css +0 -1
- package/SortableList.vue_vue_type_style_index_0_scoped_e9cd63b8_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_4d9bf5b2_lang.css +0 -1
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_9d9e51c0_lang.css +0 -1
- package/TooltipV4.vue_vue_type_style_index_0_scoped_fcdb9d02_lang.css +0 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_6ac5f602_lang.css +0 -1
- package/Typography.vue_vue_type_style_index_0_scoped_992962bc_lang.css +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "../../../DropdownV4.
|
|
2
|
-
import
|
|
1
|
+
import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_75002075_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as fe, computed as U, openBlock as n, createElementBlock as r, mergeProps as y, unref as t, renderSlot as f, createElementVNode as m, createVNode as i, withCtx as u, Transition as me, normalizeClass as O, normalizeStyle as pe, createTextVNode as T, createCommentVNode as a, isRef as ge, toDisplayString as G, withModifiers as W, Fragment as Te, renderList as ke, toRaw as C, createBlock as X, resolveDynamicComponent as he } from "vue";
|
|
2
|
+
import L 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
|
|
7
|
+
import be from "./DefaultDropdownTrigger.vue.js";
|
|
8
8
|
import we from "./IconButtonDropdownTrigger.vue.js";
|
|
9
9
|
import Ie from "./ChipDropdownTrigger.vue.js";
|
|
10
10
|
import ve from "./AppDropdownTrigger.vue.js";
|
|
@@ -12,30 +12,31 @@ import "./ButtonDropdownTrigger.vue.js";
|
|
|
12
12
|
import "./ButtonFilterDropdownTrigger.vue.js";
|
|
13
13
|
import "./TreeDropdown.vue.js";
|
|
14
14
|
import q from "./OptionV4.vue.js";
|
|
15
|
+
import "./ConditionalDropdown.vue.js";
|
|
15
16
|
import Ce from "../../search/v4/SearchV4.vue.js";
|
|
16
17
|
import Y from "../../typography/v4/Typography.vue.js";
|
|
17
18
|
import { Dropdown as Se } from "floating-vue";
|
|
18
|
-
import { DropdownTestIdModifiers as
|
|
19
|
+
import { DropdownTestIdModifiers as p } from "../../../testids/index.js";
|
|
19
20
|
import { dropdownCommon as Ke } from "../common/Dropdown.common.js";
|
|
20
21
|
import S from "../../skeleton/v4/SkeletonV4.vue.js";
|
|
21
22
|
import { useTestIdAttrs as Ae } from "../../../utils/testIds.js";
|
|
22
23
|
import { TRIGGERS as k } from "./Dropdown.types.js";
|
|
23
|
-
import { useElementSize as
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve = { key: 1 },
|
|
24
|
+
import { useElementSize as Ee } from "@vueuse/core";
|
|
25
|
+
import Oe from "../../shared/FieldHelpText.vue.js";
|
|
26
|
+
import Le from "./GroupOption.vue.js";
|
|
27
|
+
const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve = { key: 1 }, xe = { key: 2 }, De = {
|
|
27
28
|
key: 0,
|
|
28
29
|
class: "inline-search-wrapper"
|
|
29
|
-
},
|
|
30
|
+
}, Pe = { class: "dropdown-conditions" }, Re = {
|
|
30
31
|
key: 0,
|
|
31
32
|
class: "no-result-container"
|
|
32
|
-
},
|
|
33
|
-
key:
|
|
33
|
+
}, ze = ["aria-selected", "aria-disabled", "onClick"], $e = {
|
|
34
|
+
key: 3,
|
|
34
35
|
class: "loader"
|
|
35
|
-
},
|
|
36
|
+
}, Me = {
|
|
36
37
|
key: 1,
|
|
37
38
|
class: "actions-wrapper"
|
|
38
|
-
},
|
|
39
|
+
}, He = { class: "actions-clear-all" }, Ue = { class: "actions-apply-cancel" }, Tt = /* @__PURE__ */ fe({
|
|
39
40
|
__name: "DropdownV4",
|
|
40
41
|
props: {
|
|
41
42
|
modelValue: { default: null },
|
|
@@ -45,6 +46,8 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
45
46
|
disabled: { type: Boolean, default: !1 },
|
|
46
47
|
popperClass: { default: "" },
|
|
47
48
|
loading: { type: Boolean },
|
|
49
|
+
loadMoreLoading: { type: Boolean },
|
|
50
|
+
infiniteLoading: { type: Boolean, default: !1 },
|
|
48
51
|
testId: { default: "" },
|
|
49
52
|
isOpen: { type: Boolean },
|
|
50
53
|
options: null,
|
|
@@ -73,7 +76,7 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
73
76
|
onSearch: { type: Function, default: null },
|
|
74
77
|
noResultsText: { default: "No results found" },
|
|
75
78
|
searchAutoFocus: { type: Boolean, default: !0 },
|
|
76
|
-
|
|
79
|
+
onClearSearch: { type: Function, default: () => !0 },
|
|
77
80
|
displayValue: null,
|
|
78
81
|
optionNameKey: { default: "" },
|
|
79
82
|
optionIconKey: { default: "" },
|
|
@@ -81,6 +84,7 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
81
84
|
optionIconType: { default: null },
|
|
82
85
|
optionEndIconKey: { default: "" },
|
|
83
86
|
optionEndIconType: { default: null },
|
|
87
|
+
optionsEndTextIconKey: { default: null },
|
|
84
88
|
optionFlagKey: { default: null },
|
|
85
89
|
valueToCopy: { default: null },
|
|
86
90
|
disabledOptionKey: { default: "disabled" },
|
|
@@ -88,18 +92,18 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
88
92
|
optionTwoLinesKey: { default: void 0 },
|
|
89
93
|
groupedOptions: { type: Boolean, default: !1 },
|
|
90
94
|
comparingKey: { default: null },
|
|
91
|
-
withConditions: { type: Boolean, default: !1 },
|
|
92
95
|
customNumberOfDisplayedOptions: { default: null },
|
|
93
96
|
theme: { default: "light-theme-v4" },
|
|
94
97
|
fullWidth: { type: Boolean, default: !0 },
|
|
95
98
|
optionsListWidth: { default: null },
|
|
96
99
|
statusType: { default: null },
|
|
97
100
|
disableVirtualScroll: { type: Boolean, default: !1 },
|
|
98
|
-
overrideOptionCountCalculation: { type: Function, default: null }
|
|
101
|
+
overrideOptionCountCalculation: { type: Function, default: null },
|
|
102
|
+
withConditions: { type: Boolean, default: !1 }
|
|
99
103
|
},
|
|
100
|
-
emits: ["update:selected", "update:isOpen", "closed", "opened", "apply", "selectAll", "clear", "copyToClipboard", "onsearch"],
|
|
104
|
+
emits: ["update:selected", "update:isOpen", "closed", "opened", "apply", "selectAll", "clear", "copyToClipboard", "onsearch", "loadMore", "allSelectedChanged", "unsavedSelectionUpdate"],
|
|
101
105
|
setup(e, { expose: j, emit: B }) {
|
|
102
|
-
const
|
|
106
|
+
const d = e, F = {
|
|
103
107
|
MULTILINE_LIST_HEIGHT: 48,
|
|
104
108
|
LIST_HEIGHT: 32 + 4,
|
|
105
109
|
MAX_NUMBER_OF_OPTIONS: 7.5,
|
|
@@ -107,11 +111,11 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
107
111
|
DROPLIST_MIN_WIDTH: 240,
|
|
108
112
|
VERSION: 4
|
|
109
113
|
}, {
|
|
110
|
-
onKeydown:
|
|
114
|
+
onKeydown: b,
|
|
111
115
|
open: s,
|
|
112
|
-
toggleMenu:
|
|
116
|
+
toggleMenu: I,
|
|
113
117
|
onButtonKeydown: N,
|
|
114
|
-
query:
|
|
118
|
+
query: v,
|
|
115
119
|
containerProps: J,
|
|
116
120
|
calculateTableHeight: Q,
|
|
117
121
|
wrapperProps: Z,
|
|
@@ -120,42 +124,42 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
120
124
|
allSelectedApplied: K,
|
|
121
125
|
isIndeterminate: ee,
|
|
122
126
|
onSelectAll: te,
|
|
123
|
-
virtualOptions:
|
|
127
|
+
virtualOptions: x,
|
|
124
128
|
isSelected: A,
|
|
125
|
-
selectedOption:
|
|
126
|
-
selectedOptionPrevious:
|
|
129
|
+
selectedOption: h,
|
|
130
|
+
selectedOptionPrevious: E,
|
|
127
131
|
selectedValue: oe,
|
|
128
|
-
onSelect:
|
|
129
|
-
activeIndex:
|
|
132
|
+
onSelect: D,
|
|
133
|
+
activeIndex: P,
|
|
130
134
|
onCancel: le,
|
|
131
135
|
onApply: ie,
|
|
132
136
|
scrollTo: ne,
|
|
133
137
|
listRef: ae,
|
|
134
|
-
buttonRef:
|
|
138
|
+
buttonRef: R,
|
|
135
139
|
apply: de,
|
|
136
140
|
cancel: re,
|
|
137
141
|
el: se,
|
|
138
|
-
onClearAllSelections:
|
|
142
|
+
onClearAllSelections: z,
|
|
139
143
|
clearAll: ue,
|
|
140
144
|
isGroup: ce
|
|
141
|
-
} = Ke(
|
|
142
|
-
|
|
145
|
+
} = Ke(d, B, F), g = Ae(d.testId, p), $ = U(() => !d.predefinedTrigger || d.predefinedTrigger === k.DEFAULT ? be : d.predefinedTrigger === k.APP ? ve : null), { width: M } = Ee(R), ye = U(() => d.optionsListWidth ? d.optionsListWidth : !d.predefinedTrigger || d.predefinedTrigger === k.DEFAULT || d.predefinedTrigger === k.APP ? M.value - 2 > 240 ? `${M.value - 2}px` : `${F.DROPLIST_MIN_WIDTH}px` : "auto"), H = () => {
|
|
146
|
+
I();
|
|
143
147
|
};
|
|
144
148
|
return j({
|
|
145
|
-
selectItem:
|
|
149
|
+
selectItem: D,
|
|
146
150
|
scrollTo: ne
|
|
147
|
-
}), (
|
|
151
|
+
}), (c, l) => (n(), r("div", y({
|
|
148
152
|
ref_key: "el",
|
|
149
153
|
ref: se,
|
|
150
154
|
class: ["dropdown dropdown--main-wrapper", [{ "dropdown--disabled": e.disabled, "full-width": e.fullWidth }]],
|
|
151
155
|
tabindex: e.disabled ? -1 : 0
|
|
152
|
-
}, t(
|
|
156
|
+
}, t(g)[t(p).WRAPPER], {
|
|
153
157
|
onKeydown: l[8] || (l[8] = //@ts-ignore
|
|
154
|
-
(...o) => t(
|
|
158
|
+
(...o) => t(b) && t(b)(...o))
|
|
155
159
|
}), [
|
|
156
|
-
|
|
160
|
+
f(c.$slots, "label", {}, void 0, !0),
|
|
157
161
|
m("div", Fe, [
|
|
158
|
-
i(t(Se),
|
|
162
|
+
i(t(Se), y({
|
|
159
163
|
theme: e.theme,
|
|
160
164
|
"popper-class": [
|
|
161
165
|
e.popperClass,
|
|
@@ -172,29 +176,29 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
172
176
|
"auto-hide": !1,
|
|
173
177
|
container: e.container,
|
|
174
178
|
"auto-size": e.autoSize
|
|
175
|
-
}, t(
|
|
179
|
+
}, t(g)[t(p).TRIGGER]), {
|
|
176
180
|
popper: u(() => [
|
|
177
181
|
i(me, null, {
|
|
178
182
|
default: u(() => [
|
|
179
|
-
t(s) ? (n(),
|
|
183
|
+
t(s) ? (n(), r("div", {
|
|
180
184
|
key: 0,
|
|
181
185
|
ref_key: "listRef",
|
|
182
186
|
ref: ae,
|
|
183
|
-
class:
|
|
187
|
+
class: O(["light-theme-v4", {
|
|
184
188
|
"dropdown--disabled": e.disabled,
|
|
185
189
|
"inline-search": e.inlineSearch
|
|
186
190
|
}]),
|
|
187
191
|
style: pe({ width: t(ye) })
|
|
188
192
|
}, [
|
|
189
|
-
t(s) ? (n(),
|
|
193
|
+
t(s) ? (n(), r("div", {
|
|
190
194
|
key: 0,
|
|
191
|
-
class:
|
|
195
|
+
class: O(["dropdown-list-wrapper", { "dropdown-list-wrapper--multi": e.multi }]),
|
|
192
196
|
onKeydown: l[7] || (l[7] = //@ts-ignore
|
|
193
|
-
(...o) => t(
|
|
197
|
+
(...o) => t(b) && t(b)(...o))
|
|
194
198
|
}, [
|
|
195
|
-
t(s) &&
|
|
196
|
-
e.withConditions ?
|
|
197
|
-
m("div",
|
|
199
|
+
t(s) && e.inlineSearch ? (n(), r("div", De, [
|
|
200
|
+
e.withConditions ? f(c.$slots, "dropdown-conditions", { key: 0 }, () => [
|
|
201
|
+
m("div", Pe, [
|
|
198
202
|
i(t(Y), { variant: "body2" }, {
|
|
199
203
|
default: u(() => [
|
|
200
204
|
T("Conditions")
|
|
@@ -202,112 +206,121 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
202
206
|
_: 1
|
|
203
207
|
})
|
|
204
208
|
])
|
|
205
|
-
], !0) :
|
|
206
|
-
|
|
209
|
+
], !0) : a("", !0),
|
|
210
|
+
f(c.$slots, "inline-search", {}, () => [
|
|
207
211
|
i(t(Ce), {
|
|
208
|
-
modelValue: t(
|
|
212
|
+
modelValue: t(v),
|
|
209
213
|
"onUpdate:modelValue": [
|
|
210
|
-
l[4] || (l[4] = (o) => ge(
|
|
211
|
-
e.
|
|
214
|
+
l[4] || (l[4] = (o) => ge(v) ? v.value = o : null),
|
|
215
|
+
e.onClearSearch
|
|
212
216
|
],
|
|
213
217
|
placeholder: e.inlineSearchPlaceholder,
|
|
214
218
|
variant: "transparent",
|
|
215
219
|
size: "md",
|
|
216
220
|
"auto-focus": e.searchAutoFocus,
|
|
217
221
|
"test-id": e.testId,
|
|
218
|
-
onKeydown: t(
|
|
222
|
+
onKeydown: t(b)
|
|
219
223
|
}, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id", "onUpdate:modelValue", "onKeydown"])
|
|
220
224
|
], !0)
|
|
221
|
-
])) :
|
|
222
|
-
|
|
223
|
-
m("div",
|
|
225
|
+
])) : a("", !0),
|
|
226
|
+
f(c.$slots, "input-list", { open: t(s) }, void 0, !0),
|
|
227
|
+
m("div", y({
|
|
224
228
|
class: ["list-container", { "list-container--multi": e.multi }],
|
|
225
229
|
style: { height: `${t(Q)}rem` }
|
|
226
230
|
}, {
|
|
227
231
|
...t(J),
|
|
228
|
-
...t(
|
|
232
|
+
...t(g)[t(p).LIST_CONTAINER]
|
|
229
233
|
}), [
|
|
230
|
-
|
|
234
|
+
f(c.$slots, "custom-list-area", {}, void 0, !0),
|
|
235
|
+
m("ul", y(t(Z), {
|
|
231
236
|
role: "listbox",
|
|
232
|
-
class: ["list", {
|
|
237
|
+
class: ["list", {
|
|
238
|
+
"list--multi": e.multi,
|
|
239
|
+
"list--with-conditions": e.withConditions
|
|
240
|
+
}]
|
|
233
241
|
}), [
|
|
234
|
-
!t(_).length && !e.loading ? (n(),
|
|
235
|
-
i(t(Y),
|
|
242
|
+
!t(_).length && !e.loading && !e.withConditions ? (n(), r("li", Re, [
|
|
243
|
+
i(t(Y), y({ variant: "body2" }, t(g)[t(p).NO_RESULT]), {
|
|
236
244
|
default: u(() => [
|
|
237
|
-
T(
|
|
245
|
+
T(G(e.noResultsText), 1)
|
|
238
246
|
]),
|
|
239
247
|
_: 1
|
|
240
248
|
}, 16)
|
|
241
|
-
])) :
|
|
242
|
-
e.loading ? (
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
}, 16, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate"])
|
|
267
|
-
])) : d("", !0),
|
|
268
|
-
t(D).length && !e.loading ? (n(!0), a(Te, { key: 3 }, ke(t(D), ({ data: o, index: w }) => (n(), a("li", {
|
|
249
|
+
])) : a("", !0),
|
|
250
|
+
e.showSelectAll !== !1 && e.multi && !t(v) && !e.loading && e.options.length ? f(c.$slots, "select-all", { key: 1 }, () => [
|
|
251
|
+
m("li", null, [
|
|
252
|
+
i(t(q), y(
|
|
253
|
+
{
|
|
254
|
+
"aria-selected": t(V),
|
|
255
|
+
"aria-disabled": !!e.disabled,
|
|
256
|
+
"selected-prop": t(V),
|
|
257
|
+
"is-indeterminate": t(ee),
|
|
258
|
+
"is-multi": e.multi,
|
|
259
|
+
"select-all-option": ""
|
|
260
|
+
},
|
|
261
|
+
t(g)[t(p).SELECT_ALL],
|
|
262
|
+
{
|
|
263
|
+
onClick: l[5] || (l[5] = W((o) => t(te)(), ["stop"]))
|
|
264
|
+
}
|
|
265
|
+
), {
|
|
266
|
+
default: u(() => [
|
|
267
|
+
T(" Select all ")
|
|
268
|
+
]),
|
|
269
|
+
_: 1
|
|
270
|
+
}, 16, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate", "is-multi"])
|
|
271
|
+
])
|
|
272
|
+
], !0) : a("", !0),
|
|
273
|
+
t(x).length && !e.loading ? (n(!0), r(Te, { key: 2 }, ke(t(x), ({ data: o, index: w }) => (n(), r("li", {
|
|
269
274
|
key: w,
|
|
270
|
-
"aria-selected": t(A)(
|
|
275
|
+
"aria-selected": t(A)(C(t(h)), o),
|
|
271
276
|
"aria-disabled": !!e.disabled,
|
|
272
|
-
onClick:
|
|
277
|
+
onClick: W(() => t(D)(o, w), ["stop"])
|
|
273
278
|
}, [
|
|
274
|
-
e.groupedOptions && t(ce)(o) ?
|
|
275
|
-
i(
|
|
279
|
+
e.groupedOptions && t(ce)(o) ? f(c.$slots, "group-option", { key: 0 }, () => [
|
|
280
|
+
i(Le, null, {
|
|
276
281
|
default: u(() => [
|
|
277
|
-
T(
|
|
282
|
+
T(G(e.displayValue(o) || o[e.optionNameKey]), 1)
|
|
278
283
|
]),
|
|
279
284
|
_: 2
|
|
280
285
|
}, 1024)
|
|
281
|
-
], !0) :
|
|
286
|
+
], !0) : f(c.$slots, "default", {
|
|
282
287
|
key: 1,
|
|
283
288
|
option: o,
|
|
284
289
|
index: w,
|
|
285
|
-
selected: t(A)(
|
|
286
|
-
active:
|
|
287
|
-
disabled: o[
|
|
290
|
+
selected: t(A)(C(t(h)), o),
|
|
291
|
+
active: C(t(P)) === w,
|
|
292
|
+
disabled: o[d.disabledOptionKey]
|
|
288
293
|
}, () => [
|
|
289
294
|
i(t(q), {
|
|
290
295
|
option: o,
|
|
291
|
-
"selected-prop": t(A)(
|
|
292
|
-
active:
|
|
293
|
-
disabled: o[
|
|
296
|
+
"selected-prop": t(A)(t(h), o),
|
|
297
|
+
active: C(t(P)) === w,
|
|
298
|
+
disabled: o[d.disabledOptionKey],
|
|
294
299
|
"name-key": e.optionNameKey,
|
|
295
300
|
"image-key": e.optionImageKey,
|
|
296
301
|
"icon-key": e.optionIconKey,
|
|
297
302
|
"icon-type": e.optionIconType,
|
|
298
303
|
"end-icon-key": e.optionEndIconKey,
|
|
299
304
|
"end-icon-type": e.optionEndIconType,
|
|
305
|
+
"end-text-icon-key": e.optionsEndTextIconKey,
|
|
300
306
|
"option-flag-key": e.optionFlagKey,
|
|
301
307
|
"option-two-lines-variant": e.optionTwoLinesVariant,
|
|
302
|
-
"option-two-lines-key": e.optionTwoLinesKey
|
|
303
|
-
|
|
308
|
+
"option-two-lines-key": e.optionTwoLinesKey,
|
|
309
|
+
"is-multi": e.multi
|
|
310
|
+
}, null, 8, ["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", "option-two-lines-variant", "option-two-lines-key", "is-multi"])
|
|
304
311
|
], !0)
|
|
305
|
-
], 8,
|
|
312
|
+
], 8, ze))), 128)) : a("", !0),
|
|
313
|
+
e.loading || e.loadMoreLoading ? (n(), r("li", $e, [
|
|
314
|
+
i(t(S), { round: "" }),
|
|
315
|
+
i(t(S), { round: "" }),
|
|
316
|
+
i(t(S), { round: "" }),
|
|
317
|
+
i(t(S), { round: "" })
|
|
318
|
+
])) : a("", !0)
|
|
306
319
|
], 16)
|
|
307
320
|
], 16),
|
|
308
|
-
e.multi ? (n(),
|
|
309
|
-
m("div",
|
|
310
|
-
i(t(
|
|
321
|
+
e.multi ? (n(), r("div", Me, [
|
|
322
|
+
m("div", He, [
|
|
323
|
+
i(t(L), y(
|
|
311
324
|
{
|
|
312
325
|
ref_key: "clearAll",
|
|
313
326
|
ref: ue,
|
|
@@ -315,9 +328,9 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
315
328
|
variant: "text",
|
|
316
329
|
color: "primary"
|
|
317
330
|
},
|
|
318
|
-
t(
|
|
331
|
+
t(g)[t(p).ACTION_CLEAR_ALL],
|
|
319
332
|
{
|
|
320
|
-
onClick: l[6] || (l[6] = () => t(
|
|
333
|
+
onClick: l[6] || (l[6] = () => t(z)(!1))
|
|
321
334
|
}
|
|
322
335
|
), {
|
|
323
336
|
default: u(() => [
|
|
@@ -326,8 +339,8 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
326
339
|
_: 1
|
|
327
340
|
}, 16)
|
|
328
341
|
]),
|
|
329
|
-
m("div",
|
|
330
|
-
i(t(
|
|
342
|
+
m("div", Ue, [
|
|
343
|
+
i(t(L), y(
|
|
331
344
|
{
|
|
332
345
|
ref_key: "cancel",
|
|
333
346
|
ref: re,
|
|
@@ -335,7 +348,7 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
335
348
|
variant: "outlined",
|
|
336
349
|
color: "primary"
|
|
337
350
|
},
|
|
338
|
-
t(
|
|
351
|
+
t(g)[t(p).ACTION_CANCEL],
|
|
339
352
|
{ onClick: t(le) }
|
|
340
353
|
), {
|
|
341
354
|
default: u(() => [
|
|
@@ -343,29 +356,29 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
343
356
|
]),
|
|
344
357
|
_: 1
|
|
345
358
|
}, 16, ["onClick"]),
|
|
346
|
-
i(t(
|
|
359
|
+
i(t(L), y({
|
|
347
360
|
ref_key: "apply",
|
|
348
361
|
ref: de,
|
|
349
362
|
"data-testid": "mutli-apply",
|
|
350
363
|
size: "small",
|
|
351
364
|
class: "apply-button"
|
|
352
|
-
}, t(
|
|
365
|
+
}, t(g)[t(p).ACTION_APPLY], { onClick: t(ie) }), {
|
|
353
366
|
default: u(() => [
|
|
354
367
|
T(" Apply ")
|
|
355
368
|
]),
|
|
356
369
|
_: 1
|
|
357
370
|
}, 16, ["onClick"])
|
|
358
371
|
])
|
|
359
|
-
])) :
|
|
360
|
-
], 34)) :
|
|
361
|
-
], 6)) :
|
|
372
|
+
])) : a("", !0)
|
|
373
|
+
], 34)) : a("", !0)
|
|
374
|
+
], 6)) : a("", !0)
|
|
362
375
|
]),
|
|
363
376
|
_: 3
|
|
364
377
|
})
|
|
365
378
|
]),
|
|
366
379
|
default: u(() => [
|
|
367
380
|
m("div", {
|
|
368
|
-
class:
|
|
381
|
+
class: O(["button__container", {
|
|
369
382
|
"button__container--open": !!t(s),
|
|
370
383
|
[`button__container--${e.size}`]: !0,
|
|
371
384
|
"button__container--disabled": e.disabled
|
|
@@ -373,14 +386,14 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
373
386
|
}, [
|
|
374
387
|
m("div", {
|
|
375
388
|
ref_key: "buttonRef",
|
|
376
|
-
ref:
|
|
389
|
+
ref: R
|
|
377
390
|
}, [
|
|
378
|
-
|
|
391
|
+
f(c.$slots, "dropdown-trigger", {
|
|
379
392
|
buttonTriggerProps: {
|
|
380
393
|
open: t(s),
|
|
381
394
|
disabled: e.disabled,
|
|
382
395
|
label: t(oe) || e.placeholder,
|
|
383
|
-
onClick: () => t(
|
|
396
|
+
onClick: () => t(I)()
|
|
384
397
|
},
|
|
385
398
|
defaultTriggerProps: {
|
|
386
399
|
placeholder: e.placeholder,
|
|
@@ -391,7 +404,7 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
391
404
|
testId: e.testId,
|
|
392
405
|
multi: e.multi,
|
|
393
406
|
disabled: e.disabled,
|
|
394
|
-
selectedOption: e.multi ? t(
|
|
407
|
+
selectedOption: e.multi ? t(E) : t(h),
|
|
395
408
|
displayValue: e.displayValue,
|
|
396
409
|
options: e.options,
|
|
397
410
|
optionNameKey: e.optionNameKey,
|
|
@@ -400,6 +413,7 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
400
413
|
optionIconType: e.optionIconType,
|
|
401
414
|
optionAndIconKey: e.optionEndIconKey,
|
|
402
415
|
optionEndIconType: e.optionEndIconType,
|
|
416
|
+
optionsEndTextIconKey: e.optionsEndTextIconKey,
|
|
403
417
|
optionFlagKey: e.optionFlagKey,
|
|
404
418
|
feedbackVariant: e.triggerFeedbackVariant,
|
|
405
419
|
valueToCopy: e.valueToCopy,
|
|
@@ -408,11 +422,11 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
408
422
|
showAllSelectedText: e.triggerShowAllSelectedText,
|
|
409
423
|
allSelected: t(K),
|
|
410
424
|
onKeydown: t(N),
|
|
411
|
-
onClick:
|
|
425
|
+
onClick: H
|
|
412
426
|
}
|
|
413
427
|
}, () => [
|
|
414
|
-
t($) ? (n(),
|
|
415
|
-
(n(), X(
|
|
428
|
+
t($) ? (n(), r("div", Ne, [
|
|
429
|
+
(n(), X(he(t($)), {
|
|
416
430
|
placeholder: e.placeholder,
|
|
417
431
|
open: t(s),
|
|
418
432
|
label: e.triggerLabel,
|
|
@@ -421,7 +435,7 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
421
435
|
"test-id": e.testId,
|
|
422
436
|
multi: e.multi,
|
|
423
437
|
disabled: e.disabled,
|
|
424
|
-
"selected-option": e.multi ? t(
|
|
438
|
+
"selected-option": e.multi ? t(E) : t(h),
|
|
425
439
|
"display-value": e.displayValue,
|
|
426
440
|
options: e.options,
|
|
427
441
|
"option-name-key": e.optionNameKey,
|
|
@@ -430,6 +444,7 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
430
444
|
"option-icon-type": e.optionIconType,
|
|
431
445
|
"option-end-icon-key": e.optionEndIconKey,
|
|
432
446
|
"option-end-icon-type": e.optionEndIconType,
|
|
447
|
+
"options-end-text-icon-key": e.optionsEndTextIconKey,
|
|
433
448
|
"option-flag-key": e.optionFlagKey,
|
|
434
449
|
"feedback-variant": e.triggerFeedbackVariant,
|
|
435
450
|
"value-to-copy": e.valueToCopy,
|
|
@@ -438,43 +453,43 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
|
|
|
438
453
|
"show-all-selected-text": e.triggerShowAllSelectedText,
|
|
439
454
|
"all-selected": t(K),
|
|
440
455
|
onKeydown: t(N),
|
|
441
|
-
onClick:
|
|
456
|
+
onClick: H,
|
|
442
457
|
onCopyToClipboard: l[0] || (l[0] = (o) => B("copyToClipboard"))
|
|
443
|
-
}, 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", "option-flag-key", "feedback-variant", "value-to-copy", "status-dot-type", "size", "show-all-selected-text", "all-selected", "onKeydown"]))
|
|
444
|
-
])) :
|
|
445
|
-
e.predefinedTrigger === t(k).ICON_BUTTON ? (n(),
|
|
458
|
+
}, 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"]))
|
|
459
|
+
])) : a("", !0),
|
|
460
|
+
e.predefinedTrigger === t(k).ICON_BUTTON ? (n(), r("div", Ve, [
|
|
446
461
|
i(t(we), {
|
|
447
|
-
onClick: l[1] || (l[1] = (o) => t(
|
|
462
|
+
onClick: l[1] || (l[1] = (o) => t(I)())
|
|
448
463
|
})
|
|
449
|
-
])) :
|
|
450
|
-
e.predefinedTrigger === t(k).CHIP ? (n(),
|
|
464
|
+
])) : a("", !0),
|
|
465
|
+
e.predefinedTrigger === t(k).CHIP ? (n(), r("div", xe, [
|
|
451
466
|
i(t(Ie), {
|
|
452
467
|
open: t(s),
|
|
453
468
|
label: e.placeholder,
|
|
454
469
|
"test-id": e.testId,
|
|
455
470
|
options: e.options,
|
|
456
|
-
"selected-option": e.multi ? t(
|
|
471
|
+
"selected-option": e.multi ? t(E) : t(h),
|
|
457
472
|
"display-value": e.displayValue,
|
|
458
473
|
multi: e.multi,
|
|
459
474
|
"all-selected": t(K),
|
|
460
|
-
onClick: l[2] || (l[2] = (o) => t(
|
|
461
|
-
onClear: l[3] || (l[3] = (o) => t(
|
|
475
|
+
onClick: l[2] || (l[2] = (o) => t(I)()),
|
|
476
|
+
onClear: l[3] || (l[3] = (o) => t(z)())
|
|
462
477
|
}, null, 8, ["open", "label", "test-id", "options", "selected-option", "display-value", "multi", "all-selected"])
|
|
463
|
-
])) :
|
|
478
|
+
])) : a("", !0)
|
|
464
479
|
], !0)
|
|
465
480
|
], 512)
|
|
466
481
|
], 2)
|
|
467
482
|
]),
|
|
468
483
|
_: 3
|
|
469
484
|
}, 16, ["theme", "popper-class", "placement", "skidding", "distance", "flip", "shown", "container", "auto-size"]),
|
|
470
|
-
e.triggerFeedbackText ? (n(), X(
|
|
485
|
+
e.triggerFeedbackText ? (n(), X(Oe, {
|
|
471
486
|
key: 0,
|
|
472
487
|
text: e.triggerFeedbackText,
|
|
473
488
|
variant: e.triggerFeedbackVariant,
|
|
474
489
|
"show-icon": e.triggerFeedbackShowIcon,
|
|
475
490
|
"test-id": e.testId,
|
|
476
491
|
class: "dropdown-field-help-text"
|
|
477
|
-
}, null, 8, ["text", "variant", "show-icon", "test-id"])) :
|
|
492
|
+
}, null, 8, ["text", "variant", "show-icon", "test-id"])) : a("", !0)
|
|
478
493
|
])
|
|
479
494
|
], 16, Be));
|
|
480
495
|
}
|