@ironsource/shared-ui 2.1.12-rc.0 → 2.1.12-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.
Files changed (91) hide show
  1. package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_0198fee8_lang.css +1 -0
  2. package/Chart.vue_vue_type_style_index_0_scoped_78d3f5a8_lang.css +1 -0
  3. package/ChartHeader.vue_vue_type_style_index_0_scoped_32001725_lang.css +1 -0
  4. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_e4c673e7_lang.css +1 -0
  5. package/ChartLegend.vue_vue_type_style_index_0_scoped_532f23bc_lang.css +1 -0
  6. package/ChartPlane.vue_vue_type_style_index_0_scoped_4396faf6_lang.css +1 -0
  7. package/ChartTooltip.vue_vue_type_style_index_0_scoped_25d0e129_lang.css +1 -0
  8. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_8d5521da_lang.css +1 -0
  9. package/DataGrid.vue_vue_type_style_index_0_scoped_86ea5d2a_lang.css +1 -0
  10. package/DateRangeV4.vue_vue_type_style_index_0_scoped_a849128a_lang.css +1 -0
  11. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_64ae80dd_lang.css +1 -0
  12. package/DropdownV4.vue_vue_type_style_index_0_scoped_d154c5da_lang.css +1 -0
  13. package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
  14. package/TreeDropdown.vue_vue_type_style_index_0_scoped_4ba9e4bd_lang.css +1 -0
  15. package/components/chart/Chart.vue.d.ts +57 -39
  16. package/components/chart/Chart.vue.js +3 -3
  17. package/components/chart/Chart.vue2.js +98 -297
  18. package/components/chart/ChartHeader.vue.d.ts +20 -10
  19. package/components/chart/ChartHeader.vue.js +2 -2
  20. package/components/chart/ChartHeader.vue2.js +74 -52
  21. package/components/chart/ChartHeaderTrend.vue.d.ts +34 -0
  22. package/components/chart/ChartHeaderTrend.vue.js +7 -0
  23. package/components/chart/ChartHeaderTrend.vue2.js +32 -0
  24. package/components/chart/ChartLegend.vue.js +2 -2
  25. package/components/chart/ChartLegend.vue2.js +36 -35
  26. package/components/chart/ChartPlane.vue.d.ts +143 -0
  27. package/components/chart/ChartPlane.vue.js +7 -0
  28. package/components/chart/ChartPlane.vue2.js +306 -0
  29. package/components/chart/ChartStoryArgs.d.ts +135 -0
  30. package/components/chart/ChartTooltip.vue.js +2 -2
  31. package/components/chart/ChartTooltip.vue2.js +36 -35
  32. package/components/chart/composables/useChartHeight.d.ts +5 -0
  33. package/components/chart/composables/useChartHeight.js +22 -0
  34. package/components/chart/composables/useColorsMap.d.ts +10 -0
  35. package/components/chart/composables/useColorsMap.js +17 -0
  36. package/components/chart/composables/useTooltipPosition.d.ts +1 -1
  37. package/components/chart/composables/useTooltipPosition.js +11 -15
  38. package/components/chart/consts.d.ts +5 -0
  39. package/components/chart/consts.js +20 -15
  40. package/components/chart/index.d.ts +189 -113
  41. package/components/chart/mockData.d.ts +27 -1
  42. package/components/chart/types.d.ts +4 -0
  43. package/components/chart/utils/formatNumber.d.ts +0 -1
  44. package/components/chart/utils/utils.js +5 -5
  45. package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
  46. package/components/dateRange/v4/DateRangeV4.vue2.js +1 -1
  47. package/components/dropdown/common/Dropdown.common.js +208 -200
  48. package/components/dropdown/common/useGroupedOptions.d.ts +1 -0
  49. package/components/dropdown/common/useGroupedOptions.js +40 -39
  50. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue.js +3 -3
  51. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue2.js +10 -7
  52. package/components/dropdown/v4/ConditionalDropdown.vue.js +4 -4
  53. package/components/dropdown/v4/ConditionalDropdown.vue2.js +80 -80
  54. package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +3 -3
  55. package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +3 -3
  56. package/components/dropdown/v4/DropdownV4.vue.d.ts +5 -0
  57. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  58. package/components/dropdown/v4/DropdownV4.vue2.js +97 -86
  59. package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
  60. package/components/dropdown/v4/TreeDropdown.vue2.js +68 -73
  61. package/components/dropdown/v4/dropdownStoryArgs.d.ts +30 -0
  62. package/components/dropdown/v4/index.d.ts +20 -1
  63. package/components/emptyState/v4/EmptyStateV4.vue.d.ts +3 -3
  64. package/components/emptyState/v4/index.d.ts +7 -7
  65. package/components/table/v4/DataGrid.vue.d.ts +4 -3
  66. package/components/table/v4/DataGrid.vue.js +3 -3
  67. package/components/table/v4/DataGrid.vue2.js +152 -142
  68. package/components/table/v4/MultipleDataGrid.vue.d.ts +3 -3
  69. package/components/table/v4/index.d.ts +15 -14
  70. package/composables/useFullPageHeight.d.ts +10 -0
  71. package/composables/useFullPageHeight.js +15 -0
  72. package/index.d.ts +88 -44
  73. package/index.js +102 -100
  74. package/package.json +1 -1
  75. package/testids/index.d.ts +2 -1
  76. package/testids/index.js +10 -10
  77. package/utils/formatNumbers.d.ts +1 -1
  78. package/utils/formatNumbers.js +18 -5
  79. package/utils/index.js +7 -0
  80. package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_1aa6df01_lang.css +0 -1
  81. package/Chart.vue_vue_type_style_index_0_scoped_026d82c5_lang.css +0 -1
  82. package/ChartHeader.vue_vue_type_style_index_0_scoped_b8213498_lang.css +0 -1
  83. package/ChartLegend.vue_vue_type_style_index_0_scoped_4fe1c7d1_lang.css +0 -1
  84. package/ChartTooltip.vue_vue_type_style_index_0_scoped_6744325c_lang.css +0 -1
  85. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_8e026669_lang.css +0 -1
  86. package/DataGrid.vue_vue_type_style_index_0_scoped_26488faf_lang.css +0 -1
  87. package/DateRangeV4.vue_vue_type_style_index_0_scoped_8a2714eb_lang.css +0 -1
  88. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_73bf9b5b_lang.css +0 -1
  89. package/DropdownV4.vue_vue_type_style_index_0_scoped_75002075_lang.css +0 -1
  90. package/TreeDropdown.vue_vue_type_style_index_0_scoped_b883d1fa_lang.css +0 -1
  91. package/components/chart/utils/formatNumber.js +0 -11
@@ -1,42 +1,42 @@
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";
1
+ import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_d154c5da_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as fe, computed as H, watch as me, openBlock as a, createElementBlock as s, mergeProps as y, unref as t, renderSlot as f, createElementVNode as m, createVNode as i, withCtx as u, Transition as pe, normalizeClass as E, normalizeStyle as ge, createTextVNode as T, createCommentVNode as d, isRef as Te, toDisplayString as U, withModifiers as G, Fragment as ke, renderList as he, toRaw as C, createBlock as X, resolveDynamicComponent as be } from "vue";
2
+ import O 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 be from "./DefaultDropdownTrigger.vue.js";
8
- import we from "./IconButtonDropdownTrigger.vue.js";
9
- import Ie from "./ChipDropdownTrigger.vue.js";
10
- import ve from "./AppDropdownTrigger.vue.js";
7
+ import we from "./DefaultDropdownTrigger.vue.js";
8
+ import Ie from "./IconButtonDropdownTrigger.vue.js";
9
+ import ve from "./ChipDropdownTrigger.vue.js";
10
+ import Ce 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 q from "./OptionV4.vue.js";
15
15
  import "./ConditionalDropdown.vue.js";
16
- import Ce from "../../search/v4/SearchV4.vue.js";
16
+ import Se from "../../search/v4/SearchV4.vue.js";
17
17
  import Y from "../../typography/v4/Typography.vue.js";
18
- import { Dropdown as Se } from "floating-vue";
18
+ import { Dropdown as Ke } from "floating-vue";
19
19
  import { DropdownTestIdModifiers as p } from "../../../testids/index.js";
20
- import { dropdownCommon as Ke } from "../common/Dropdown.common.js";
20
+ import { dropdownCommon as Ae } from "../common/Dropdown.common.js";
21
21
  import S from "../../skeleton/v4/SkeletonV4.vue.js";
22
- import { useTestIdAttrs as Ae } from "../../../utils/testIds.js";
22
+ import { useTestIdAttrs as Le } from "../../../utils/testIds.js";
23
23
  import { TRIGGERS as k } from "./Dropdown.types.js";
24
24
  import { useElementSize as Ee } from "@vueuse/core";
25
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 = {
26
+ import Be from "./GroupOption.vue.js";
27
+ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe = { key: 1 }, De = { key: 2 }, Pe = {
28
28
  key: 0,
29
29
  class: "inline-search-wrapper"
30
- }, Pe = { class: "dropdown-conditions" }, Re = {
30
+ }, Re = { class: "dropdown-conditions" }, ze = {
31
31
  key: 0,
32
32
  class: "no-result-container"
33
- }, ze = ["aria-selected", "aria-disabled", "onClick"], $e = {
33
+ }, $e = ["aria-selected", "aria-disabled", "onClick"], Me = {
34
34
  key: 3,
35
35
  class: "loader"
36
- }, Me = {
36
+ }, We = {
37
37
  key: 1,
38
38
  class: "actions-wrapper"
39
- }, He = { class: "actions-clear-all" }, Ue = { class: "actions-apply-cancel" }, Tt = /* @__PURE__ */ fe({
39
+ }, He = { class: "actions-clear-all" }, Ue = { class: "actions-apply-cancel" }, kt = /* @__PURE__ */ fe({
40
40
  __name: "DropdownV4",
41
41
  props: {
42
42
  modelValue: { default: null },
@@ -56,6 +56,7 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
56
56
  keepOpen: { type: Boolean, default: !1 },
57
57
  autoSize: { type: Boolean, default: !1 },
58
58
  disableKeyboardEvents: { type: Boolean, default: !1 },
59
+ dynamicFilterMode: { type: Boolean, default: !1 },
59
60
  isOnTop: { type: Boolean, default: !1 },
60
61
  distance: { default: 0 },
61
62
  container: { default: "body" },
@@ -103,7 +104,7 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
103
104
  },
104
105
  emits: ["update:selected", "update:isOpen", "closed", "opened", "apply", "selectAll", "clear", "copyToClipboard", "onsearch", "loadMore", "allSelectedChanged", "unsavedSelectionUpdate"],
105
106
  setup(e, { expose: j, emit: B }) {
106
- const d = e, F = {
107
+ const n = e, F = {
107
108
  MULTILINE_LIST_HEIGHT: 48,
108
109
  LIST_HEIGHT: 32 + 4,
109
110
  MAX_NUMBER_OF_OPTIONS: 7.5,
@@ -112,7 +113,7 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
112
113
  VERSION: 4
113
114
  }, {
114
115
  onKeydown: b,
115
- open: s,
116
+ open: r,
116
117
  toggleMenu: I,
117
118
  onButtonKeydown: N,
118
119
  query: v,
@@ -127,7 +128,7 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
127
128
  virtualOptions: x,
128
129
  isSelected: A,
129
130
  selectedOption: h,
130
- selectedOptionPrevious: E,
131
+ selectedOptionPrevious: L,
131
132
  selectedValue: oe,
132
133
  onSelect: D,
133
134
  activeIndex: P,
@@ -137,20 +138,30 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
137
138
  listRef: ae,
138
139
  buttonRef: R,
139
140
  apply: de,
140
- cancel: re,
141
- el: se,
141
+ cancel: se,
142
+ el: re,
142
143
  onClearAllSelections: z,
143
144
  clearAll: ue,
144
145
  isGroup: ce
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
+ } = Ae(n, B, F), g = Le(n.testId, p), $ = H(() => !n.predefinedTrigger || n.predefinedTrigger === k.DEFAULT ? we : n.predefinedTrigger === k.APP ? Ce : null), { width: M } = Ee(R), ye = H(() => n.optionsListWidth ? n.optionsListWidth : !n.predefinedTrigger || n.predefinedTrigger === k.DEFAULT || n.predefinedTrigger === k.APP ? M.value - 2 > 240 ? `${M.value - 2}px` : `${F.DROPLIST_MIN_WIDTH}px` : "auto");
147
+ me(
148
+ () => n.optionsListWidth,
149
+ () => {
150
+ n.optionsListWidth && document.documentElement.style.setProperty(
151
+ "--options-list-width",
152
+ n.optionsListWidth
153
+ );
154
+ }
155
+ );
156
+ const W = () => {
146
157
  I();
147
158
  };
148
159
  return j({
149
160
  selectItem: D,
150
161
  scrollTo: ne
151
- }), (c, l) => (n(), r("div", y({
162
+ }), (c, l) => (a(), s("div", y({
152
163
  ref_key: "el",
153
- ref: se,
164
+ ref: re,
154
165
  class: ["dropdown dropdown--main-wrapper", [{ "dropdown--disabled": e.disabled, "full-width": e.fullWidth }]],
155
166
  tabindex: e.disabled ? -1 : 0
156
167
  }, t(g)[t(p).WRAPPER], {
@@ -158,8 +169,8 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
158
169
  (...o) => t(b) && t(b)(...o))
159
170
  }), [
160
171
  f(c.$slots, "label", {}, void 0, !0),
161
- m("div", Fe, [
162
- i(t(Se), y({
172
+ m("div", Ne, [
173
+ i(t(Ke), y({
163
174
  theme: e.theme,
164
175
  "popper-class": [
165
176
  e.popperClass,
@@ -172,33 +183,33 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
172
183
  distance: e.distance,
173
184
  flip: e.flip,
174
185
  triggers: [],
175
- shown: !!t(s),
186
+ shown: !!t(r),
176
187
  "auto-hide": !1,
177
188
  container: e.container,
178
189
  "auto-size": e.autoSize
179
190
  }, t(g)[t(p).TRIGGER]), {
180
191
  popper: u(() => [
181
- i(me, null, {
192
+ i(pe, null, {
182
193
  default: u(() => [
183
- t(s) ? (n(), r("div", {
194
+ t(r) ? (a(), s("div", {
184
195
  key: 0,
185
196
  ref_key: "listRef",
186
197
  ref: ae,
187
- class: O(["light-theme-v4", {
198
+ class: E(["light-theme-v4", {
188
199
  "dropdown--disabled": e.disabled,
189
200
  "inline-search": e.inlineSearch
190
201
  }]),
191
- style: pe({ width: t(ye) })
202
+ style: ge({ width: t(ye) })
192
203
  }, [
193
- t(s) ? (n(), r("div", {
204
+ t(r) ? (a(), s("div", {
194
205
  key: 0,
195
- class: O(["dropdown-list-wrapper", { "dropdown-list-wrapper--multi": e.multi }]),
206
+ class: E(["dropdown-list-wrapper", { "dropdown-list-wrapper--multi": e.multi }]),
196
207
  onKeydown: l[7] || (l[7] = //@ts-ignore
197
208
  (...o) => t(b) && t(b)(...o))
198
209
  }, [
199
- t(s) && e.inlineSearch ? (n(), r("div", De, [
210
+ t(r) && e.inlineSearch ? (a(), s("div", Pe, [
200
211
  e.withConditions ? f(c.$slots, "dropdown-conditions", { key: 0 }, () => [
201
- m("div", Pe, [
212
+ m("div", Re, [
202
213
  i(t(Y), { variant: "body2" }, {
203
214
  default: u(() => [
204
215
  T("Conditions")
@@ -206,12 +217,12 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
206
217
  _: 1
207
218
  })
208
219
  ])
209
- ], !0) : a("", !0),
220
+ ], !0) : d("", !0),
210
221
  f(c.$slots, "inline-search", {}, () => [
211
- i(t(Ce), {
222
+ i(t(Se), {
212
223
  modelValue: t(v),
213
224
  "onUpdate:modelValue": [
214
- l[4] || (l[4] = (o) => ge(v) ? v.value = o : null),
225
+ l[4] || (l[4] = (o) => Te(v) ? v.value = o : null),
215
226
  e.onClearSearch
216
227
  ],
217
228
  placeholder: e.inlineSearchPlaceholder,
@@ -222,8 +233,8 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
222
233
  onKeydown: t(b)
223
234
  }, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id", "onUpdate:modelValue", "onKeydown"])
224
235
  ], !0)
225
- ])) : a("", !0),
226
- f(c.$slots, "input-list", { open: t(s) }, void 0, !0),
236
+ ])) : d("", !0),
237
+ f(c.$slots, "input-list", { open: t(r) }, void 0, !0),
227
238
  m("div", y({
228
239
  class: ["list-container", { "list-container--multi": e.multi }],
229
240
  style: { height: `${t(Q)}rem` }
@@ -239,14 +250,14 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
239
250
  "list--with-conditions": e.withConditions
240
251
  }]
241
252
  }), [
242
- !t(_).length && !e.loading && !e.withConditions ? (n(), r("li", Re, [
253
+ !t(_).length && !e.loading && !e.withConditions ? (a(), s("li", ze, [
243
254
  i(t(Y), y({ variant: "body2" }, t(g)[t(p).NO_RESULT]), {
244
255
  default: u(() => [
245
- T(G(e.noResultsText), 1)
256
+ T(U(e.noResultsText), 1)
246
257
  ]),
247
258
  _: 1
248
259
  }, 16)
249
- ])) : a("", !0),
260
+ ])) : d("", !0),
250
261
  e.showSelectAll !== !1 && e.multi && !t(v) && !e.loading && e.options.length ? f(c.$slots, "select-all", { key: 1 }, () => [
251
262
  m("li", null, [
252
263
  i(t(q), y(
@@ -260,7 +271,7 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
260
271
  },
261
272
  t(g)[t(p).SELECT_ALL],
262
273
  {
263
- onClick: l[5] || (l[5] = W((o) => t(te)(), ["stop"]))
274
+ onClick: l[5] || (l[5] = G((o) => t(te)(), ["stop"]))
264
275
  }
265
276
  ), {
266
277
  default: u(() => [
@@ -269,17 +280,17 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
269
280
  _: 1
270
281
  }, 16, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate", "is-multi"])
271
282
  ])
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", {
283
+ ], !0) : d("", !0),
284
+ t(x).length && !e.loading ? (a(!0), s(ke, { key: 2 }, he(t(x), ({ data: o, index: w }) => (a(), s("li", {
274
285
  key: w,
275
286
  "aria-selected": t(A)(C(t(h)), o),
276
287
  "aria-disabled": !!e.disabled,
277
- onClick: W(() => t(D)(o, w), ["stop"])
288
+ onClick: G(() => t(D)(o, w), ["stop"])
278
289
  }, [
279
290
  e.groupedOptions && t(ce)(o) ? f(c.$slots, "group-option", { key: 0 }, () => [
280
- i(Le, null, {
291
+ i(Be, null, {
281
292
  default: u(() => [
282
- T(G(e.displayValue(o) || o[e.optionNameKey]), 1)
293
+ T(U(e.displayValue(o) || o[e.optionNameKey]), 1)
283
294
  ]),
284
295
  _: 2
285
296
  }, 1024)
@@ -289,13 +300,13 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
289
300
  index: w,
290
301
  selected: t(A)(C(t(h)), o),
291
302
  active: C(t(P)) === w,
292
- disabled: o[d.disabledOptionKey]
303
+ disabled: o[n.disabledOptionKey]
293
304
  }, () => [
294
305
  i(t(q), {
295
306
  option: o,
296
307
  "selected-prop": t(A)(t(h), o),
297
308
  active: C(t(P)) === w,
298
- disabled: o[d.disabledOptionKey],
309
+ disabled: o[n.disabledOptionKey],
299
310
  "name-key": e.optionNameKey,
300
311
  "image-key": e.optionImageKey,
301
312
  "icon-key": e.optionIconKey,
@@ -309,18 +320,18 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
309
320
  "is-multi": e.multi
310
321
  }, 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"])
311
322
  ], !0)
312
- ], 8, ze))), 128)) : a("", !0),
313
- e.loading || e.loadMoreLoading ? (n(), r("li", $e, [
323
+ ], 8, $e))), 128)) : d("", !0),
324
+ e.loading || e.loadMoreLoading ? (a(), s("li", Me, [
314
325
  i(t(S), { round: "" }),
315
326
  i(t(S), { round: "" }),
316
327
  i(t(S), { round: "" }),
317
328
  i(t(S), { round: "" })
318
- ])) : a("", !0)
329
+ ])) : d("", !0)
319
330
  ], 16)
320
331
  ], 16),
321
- e.multi ? (n(), r("div", Me, [
332
+ e.multi ? (a(), s("div", We, [
322
333
  m("div", He, [
323
- i(t(L), y(
334
+ i(t(O), y(
324
335
  {
325
336
  ref_key: "clearAll",
326
337
  ref: ue,
@@ -340,10 +351,10 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
340
351
  }, 16)
341
352
  ]),
342
353
  m("div", Ue, [
343
- i(t(L), y(
354
+ i(t(O), y(
344
355
  {
345
356
  ref_key: "cancel",
346
- ref: re,
357
+ ref: se,
347
358
  size: "small",
348
359
  variant: "outlined",
349
360
  color: "primary"
@@ -356,7 +367,7 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
356
367
  ]),
357
368
  _: 1
358
369
  }, 16, ["onClick"]),
359
- i(t(L), y({
370
+ i(t(O), y({
360
371
  ref_key: "apply",
361
372
  ref: de,
362
373
  "data-testid": "mutli-apply",
@@ -369,17 +380,17 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
369
380
  _: 1
370
381
  }, 16, ["onClick"])
371
382
  ])
372
- ])) : a("", !0)
373
- ], 34)) : a("", !0)
374
- ], 6)) : a("", !0)
383
+ ])) : d("", !0)
384
+ ], 34)) : d("", !0)
385
+ ], 6)) : d("", !0)
375
386
  ]),
376
387
  _: 3
377
388
  })
378
389
  ]),
379
390
  default: u(() => [
380
391
  m("div", {
381
- class: O(["button__container", {
382
- "button__container--open": !!t(s),
392
+ class: E(["button__container", {
393
+ "button__container--open": !!t(r),
383
394
  [`button__container--${e.size}`]: !0,
384
395
  "button__container--disabled": e.disabled
385
396
  }])
@@ -390,21 +401,21 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
390
401
  }, [
391
402
  f(c.$slots, "dropdown-trigger", {
392
403
  buttonTriggerProps: {
393
- open: t(s),
404
+ open: t(r),
394
405
  disabled: e.disabled,
395
406
  label: t(oe) || e.placeholder,
396
407
  onClick: () => t(I)()
397
408
  },
398
409
  defaultTriggerProps: {
399
410
  placeholder: e.placeholder,
400
- open: t(s),
411
+ open: t(r),
401
412
  label: e.triggerLabel,
402
413
  showFeedbackIcon: e.triggerFeedbackShowIcon,
403
414
  mandatory: e.mandatory,
404
415
  testId: e.testId,
405
416
  multi: e.multi,
406
417
  disabled: e.disabled,
407
- selectedOption: e.multi ? t(E) : t(h),
418
+ selectedOption: e.multi ? t(L) : t(h),
408
419
  displayValue: e.displayValue,
409
420
  options: e.options,
410
421
  optionNameKey: e.optionNameKey,
@@ -422,20 +433,20 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
422
433
  showAllSelectedText: e.triggerShowAllSelectedText,
423
434
  allSelected: t(K),
424
435
  onKeydown: t(N),
425
- onClick: H
436
+ onClick: W
426
437
  }
427
438
  }, () => [
428
- t($) ? (n(), r("div", Ne, [
429
- (n(), X(he(t($)), {
439
+ t($) ? (a(), s("div", Ve, [
440
+ (a(), X(be(t($)), {
430
441
  placeholder: e.placeholder,
431
- open: t(s),
442
+ open: t(r),
432
443
  label: e.triggerLabel,
433
444
  "show-feedback-icon": e.triggerFeedbackShowIcon,
434
445
  mandatory: e.mandatory,
435
446
  "test-id": e.testId,
436
447
  multi: e.multi,
437
448
  disabled: e.disabled,
438
- "selected-option": e.multi ? t(E) : t(h),
449
+ "selected-option": e.multi ? t(L) : t(h),
439
450
  "display-value": e.displayValue,
440
451
  options: e.options,
441
452
  "option-name-key": e.optionNameKey,
@@ -453,47 +464,47 @@ const Be = ["tabindex"], Fe = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
453
464
  "show-all-selected-text": e.triggerShowAllSelectedText,
454
465
  "all-selected": t(K),
455
466
  onKeydown: t(N),
456
- onClick: H,
467
+ onClick: W,
457
468
  onCopyToClipboard: l[0] || (l[0] = (o) => B("copyToClipboard"))
458
469
  }, 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, [
461
- i(t(we), {
470
+ ])) : d("", !0),
471
+ e.predefinedTrigger === t(k).ICON_BUTTON ? (a(), s("div", xe, [
472
+ i(t(Ie), {
462
473
  onClick: l[1] || (l[1] = (o) => t(I)())
463
474
  })
464
- ])) : a("", !0),
465
- e.predefinedTrigger === t(k).CHIP ? (n(), r("div", xe, [
466
- i(t(Ie), {
467
- open: t(s),
475
+ ])) : d("", !0),
476
+ e.predefinedTrigger === t(k).CHIP ? (a(), s("div", De, [
477
+ i(t(ve), {
478
+ open: t(r),
468
479
  label: e.placeholder,
469
480
  "test-id": e.testId,
470
481
  options: e.options,
471
- "selected-option": e.multi ? t(E) : t(h),
482
+ "selected-option": e.multi ? t(L) : t(h),
472
483
  "display-value": e.displayValue,
473
484
  multi: e.multi,
474
485
  "all-selected": t(K),
475
486
  onClick: l[2] || (l[2] = (o) => t(I)()),
476
487
  onClear: l[3] || (l[3] = (o) => t(z)())
477
488
  }, null, 8, ["open", "label", "test-id", "options", "selected-option", "display-value", "multi", "all-selected"])
478
- ])) : a("", !0)
489
+ ])) : d("", !0)
479
490
  ], !0)
480
491
  ], 512)
481
492
  ], 2)
482
493
  ]),
483
494
  _: 3
484
495
  }, 16, ["theme", "popper-class", "placement", "skidding", "distance", "flip", "shown", "container", "auto-size"]),
485
- e.triggerFeedbackText ? (n(), X(Oe, {
496
+ e.triggerFeedbackText ? (a(), X(Oe, {
486
497
  key: 0,
487
498
  text: e.triggerFeedbackText,
488
499
  variant: e.triggerFeedbackVariant,
489
500
  "show-icon": e.triggerFeedbackShowIcon,
490
501
  "test-id": e.testId,
491
502
  class: "dropdown-field-help-text"
492
- }, null, 8, ["text", "variant", "show-icon", "test-id"])) : a("", !0)
503
+ }, null, 8, ["text", "variant", "show-icon", "test-id"])) : d("", !0)
493
504
  ])
494
- ], 16, Be));
505
+ ], 16, Fe));
495
506
  }
496
507
  });
497
508
  export {
498
- Tt as default
509
+ kt as default
499
510
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./TreeDropdown.vue2.js";
2
2
  /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../TreeDropdown.vue_vue_type_style_index_0_scoped_b883d1fa_lang.css"; //*');
4
- const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-b883d1fa"]]);
3
+ // import "../../../TreeDropdown.vue_vue_type_style_index_0_scoped_4ba9e4bd_lang.css"; //*');
4
+ const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-4ba9e4bd"]]);
5
5
  export {
6
6
  s as default
7
7
  };