@ironsource/shared-ui 2.1.12-rc.0 → 2.1.12-rc.2

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 (34) hide show
  1. package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_ea1c4589_lang.css +1 -0
  2. package/Chart.vue_vue_type_style_index_0_scoped_a641383a_lang.css +1 -0
  3. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_3a2aeea3_lang.css +1 -0
  4. package/DataGrid.vue_vue_type_style_index_0_scoped_020072b0_lang.css +1 -0
  5. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_64ae80dd_lang.css +1 -0
  6. package/DropdownV4.vue_vue_type_style_index_0_scoped_d154c5da_lang.css +1 -0
  7. package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
  8. package/components/chart/Chart.vue.js +3 -3
  9. package/components/chart/Chart.vue2.js +2 -2
  10. package/components/dropdown/common/Dropdown.common.js +167 -166
  11. package/components/dropdown/common/useGroupedOptions.d.ts +1 -0
  12. package/components/dropdown/common/useGroupedOptions.js +40 -39
  13. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue.js +3 -3
  14. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue2.js +10 -7
  15. package/components/dropdown/v4/ConditionalDropdown.vue.js +3 -3
  16. package/components/dropdown/v4/ConditionalDropdown.vue2.js +8 -8
  17. package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +3 -3
  18. package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +3 -3
  19. package/components/dropdown/v4/DropdownV4.vue.d.ts +5 -0
  20. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  21. package/components/dropdown/v4/DropdownV4.vue2.js +97 -86
  22. package/components/dropdown/v4/dropdownStoryArgs.d.ts +30 -0
  23. package/components/dropdown/v4/index.d.ts +20 -1
  24. package/components/table/v4/DataGrid.vue.js +3 -3
  25. package/components/table/v4/DataGrid.vue2.js +6 -5
  26. package/index.d.ts +40 -2
  27. package/index.js +1 -1
  28. package/package.json +1 -1
  29. package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_1aa6df01_lang.css +0 -1
  30. package/Chart.vue_vue_type_style_index_0_scoped_026d82c5_lang.css +0 -1
  31. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_8e026669_lang.css +0 -1
  32. package/DataGrid.vue_vue_type_style_index_0_scoped_26488faf_lang.css +0 -1
  33. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_73bf9b5b_lang.css +0 -1
  34. package/DropdownV4.vue_vue_type_style_index_0_scoped_75002075_lang.css +0 -1
@@ -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
  };
@@ -54,36 +54,66 @@ export declare const dropDownStoryArgs: {
54
54
  control: {
55
55
  type: string;
56
56
  };
57
+ table: {
58
+ category: string;
59
+ };
57
60
  };
58
61
  placeholder: {
59
62
  control: {
60
63
  type: string;
61
64
  };
65
+ table: {
66
+ category: string;
67
+ };
62
68
  };
63
69
  disabled: {
64
70
  control: {
65
71
  type: string;
66
72
  };
73
+ table: {
74
+ category: string;
75
+ };
67
76
  };
68
77
  mandatory: {
69
78
  control: {
70
79
  type: string;
71
80
  };
81
+ table: {
82
+ category: string;
83
+ };
72
84
  };
73
85
  loading: {
74
86
  control: {
75
87
  type: string;
76
88
  };
89
+ table: {
90
+ category: string;
91
+ };
77
92
  };
78
93
  testId: {
79
94
  control: {
80
95
  type: string;
81
96
  };
97
+ table: {
98
+ category: string;
99
+ };
82
100
  };
83
101
  isOpen: {
84
102
  control: {
85
103
  type: string;
86
104
  };
105
+ table: {
106
+ category: string;
107
+ };
108
+ };
109
+ dynamicFilterMode: {
110
+ control: {
111
+ type: string;
112
+ };
113
+ table: {
114
+ category: string;
115
+ };
116
+ description: string;
87
117
  };
88
118
  isOnTop: {
89
119
  control: {
@@ -1736,6 +1736,7 @@ declare const DropdownTypes: () => (({
1736
1736
  keepOpen: boolean;
1737
1737
  autoSize: boolean;
1738
1738
  disableKeyboardEvents: boolean;
1739
+ dynamicFilterMode: boolean;
1739
1740
  isOnTop: boolean;
1740
1741
  triggerLabel: string;
1741
1742
  triggerHelperText: string;
@@ -1872,6 +1873,10 @@ declare const DropdownTypes: () => (({
1872
1873
  type: import("vue").PropType<boolean>;
1873
1874
  default: boolean;
1874
1875
  };
1876
+ dynamicFilterMode: {
1877
+ type: import("vue").PropType<boolean>;
1878
+ default: boolean;
1879
+ };
1875
1880
  isOnTop: {
1876
1881
  type: import("vue").PropType<boolean>;
1877
1882
  default: boolean;
@@ -2025,7 +2030,7 @@ declare const DropdownTypes: () => (({
2025
2030
  onUnsavedSelectionUpdate?: (value: unknown[]) => any;
2026
2031
  onOpened?: () => any;
2027
2032
  onClosed?: () => any;
2028
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "testId" | "placement" | "disabled" | "distance" | "container" | "popperClass" | "size" | "flip" | "mandatory" | "skidding" | "modelValue" | "selected" | "valueToCopy" | "placeholder" | "multi" | "infiniteLoading" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "triggerShowAllSelectedText" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "onClearSearch" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "optionsEndTextIconKey" | "optionFlagKey" | "disabledOptionKey" | "optionTwoLinesVariant" | "optionTwoLinesKey" | "groupedOptions" | "comparingKey" | "customNumberOfDisplayedOptions" | "fullWidth" | "optionsListWidth" | "statusType" | "disableVirtualScroll" | "overrideOptionCountCalculation" | "withConditions">;
2033
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "testId" | "placement" | "disabled" | "distance" | "container" | "popperClass" | "size" | "flip" | "mandatory" | "skidding" | "modelValue" | "selected" | "valueToCopy" | "placeholder" | "multi" | "infiniteLoading" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "dynamicFilterMode" | "isOnTop" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "triggerShowAllSelectedText" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "onClearSearch" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "optionsEndTextIconKey" | "optionFlagKey" | "disabledOptionKey" | "optionTwoLinesVariant" | "optionTwoLinesKey" | "groupedOptions" | "comparingKey" | "customNumberOfDisplayedOptions" | "fullWidth" | "optionsListWidth" | "statusType" | "disableVirtualScroll" | "overrideOptionCountCalculation" | "withConditions">;
2029
2034
  $attrs: {
2030
2035
  [x: string]: unknown;
2031
2036
  };
@@ -2141,6 +2146,10 @@ declare const DropdownTypes: () => (({
2141
2146
  type: import("vue").PropType<boolean>;
2142
2147
  default: boolean;
2143
2148
  };
2149
+ dynamicFilterMode: {
2150
+ type: import("vue").PropType<boolean>;
2151
+ default: boolean;
2152
+ };
2144
2153
  isOnTop: {
2145
2154
  type: import("vue").PropType<boolean>;
2146
2155
  default: boolean;
@@ -2333,6 +2342,7 @@ declare const DropdownTypes: () => (({
2333
2342
  keepOpen: boolean;
2334
2343
  autoSize: boolean;
2335
2344
  disableKeyboardEvents: boolean;
2345
+ dynamicFilterMode: boolean;
2336
2346
  isOnTop: boolean;
2337
2347
  triggerLabel: string;
2338
2348
  triggerHelperText: string;
@@ -2489,6 +2499,10 @@ declare const DropdownTypes: () => (({
2489
2499
  type: import("vue").PropType<boolean>;
2490
2500
  default: boolean;
2491
2501
  };
2502
+ dynamicFilterMode: {
2503
+ type: import("vue").PropType<boolean>;
2504
+ default: boolean;
2505
+ };
2492
2506
  isOnTop: {
2493
2507
  type: import("vue").PropType<boolean>;
2494
2508
  default: boolean;
@@ -2751,6 +2765,10 @@ declare const DropdownTypes: () => (({
2751
2765
  type: import("vue").PropType<boolean>;
2752
2766
  default: boolean;
2753
2767
  };
2768
+ dynamicFilterMode: {
2769
+ type: import("vue").PropType<boolean>;
2770
+ default: boolean;
2771
+ };
2754
2772
  isOnTop: {
2755
2773
  type: import("vue").PropType<boolean>;
2756
2774
  default: boolean;
@@ -2943,6 +2961,7 @@ declare const DropdownTypes: () => (({
2943
2961
  keepOpen: boolean;
2944
2962
  autoSize: boolean;
2945
2963
  disableKeyboardEvents: boolean;
2964
+ dynamicFilterMode: boolean;
2946
2965
  isOnTop: boolean;
2947
2966
  triggerLabel: string;
2948
2967
  triggerHelperText: string;
@@ -1,7 +1,7 @@
1
1
  import o from "./DataGrid.vue2.js";
2
2
  /* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../DataGrid.vue_vue_type_style_index_0_scoped_26488faf_lang.css"; //*');
4
- const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-26488faf"]]);
3
+ // import "../../../DataGrid.vue_vue_type_style_index_0_scoped_020072b0_lang.css"; //*');
4
+ const a = /* @__PURE__ */ _(o, [["__scopeId", "data-v-020072b0"]]);
5
5
  export {
6
- s as default
6
+ a as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../DataGrid.vue_vue_type_style_index_0_scoped_26488faf_lang.css"; import { defineComponent as ne, useCssVars as ce, unref as t, useSlots as re, computed as g, openBlock as i, createElementBlock as o, createElementVNode as u, normalizeStyle as T, normalizeClass as f, renderSlot as c, createVNode as h, withCtx as w, createTextVNode as B, toDisplayString as E, isRef as ue, createCommentVNode as r, Fragment as I, renderList as p, mergeProps as V, createBlock as z } from "vue";
1
+ import "../../../DataGrid.vue_vue_type_style_index_0_scoped_020072b0_lang.css"; import { defineComponent as ne, useCssVars as ce, unref as t, useSlots as re, computed as g, openBlock as i, createElementBlock as o, createElementVNode as u, normalizeStyle as T, normalizeClass as f, renderSlot as c, createVNode as h, withCtx as w, createTextVNode as B, toDisplayString as E, isRef as ue, createCommentVNode as r, Fragment as I, renderList as p, mergeProps as V, createBlock as z } from "vue";
2
2
  import A from "../../typography/v4/Typography.vue.js";
3
3
  import he from "../../skeleton/v4/SkeletonV4.vue.js";
4
4
  import ye from "../../emptyState/v4/EmptyStateV4.vue.js";
@@ -64,10 +64,10 @@ const Ce = ["data-testid"], $e = ["data-testid"], Re = ["data-testid"], xe = ["d
64
64
  setup(s, { expose: k, emit: y }) {
65
65
  const a = s;
66
66
  ce((l) => ({
67
- "7552e08c": s.zIndexBase,
68
- "7f4c0eae": t(_),
69
- b761a3b2: t(N),
70
- "79122e22": t(Z)
67
+ "213d426c": s.zIndexBase,
68
+ "1bb95c84": t(_),
69
+ "833c2592": t(N),
70
+ d3eb9802: t(Z)
71
71
  }));
72
72
  const b = re(), Y = (l) => a.rowCustomClassKey && a.rows[l] ? a.rows[l][a.rowCustomClassKey] : "", {
73
73
  list: H,
@@ -342,6 +342,7 @@ const Ce = ["data-testid"], $e = ["data-testid"], Re = ["data-testid"], xe = ["d
342
342
  title: s.emptyStateTitle,
343
343
  subtitle: t(de),
344
344
  variant: t(oe),
345
+ "icon-name": "file-search",
345
346
  "test-id": `${s.testId}-${t(S).EMPTY_STATE}`
346
347
  }, null, 8, ["title", "subtitle", "variant", "test-id"])
347
348
  ])