@ironsource/shared-ui 2.1.8 → 2.1.9-test.0

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 (33) hide show
  1. package/Chart.vue_vue_type_style_index_0_scoped_ea1e5c3e_lang.css +1 -0
  2. package/ChartHeader.vue_vue_type_style_index_0_scoped_4c37736e_lang.css +1 -0
  3. package/ChartLegend.vue_vue_type_style_index_0_scoped_c0f71a49_lang.css +1 -0
  4. package/DropdownV4.vue_vue_type_style_index_0_scoped_119e4bc3_lang.css +1 -0
  5. package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
  6. package/SettingsHeader.vue_vue_type_style_index_0_scoped_9b6cd9d9_lang.css +1 -0
  7. package/Typography.vue_vue_type_style_index_0_scoped_992962bc_lang.css +1 -0
  8. package/components/chart/Chart.vue.d.ts +5 -0
  9. package/components/chart/Chart.vue.js +4 -4
  10. package/components/chart/Chart.vue2.js +51 -49
  11. package/components/chart/ChartHeader.vue.d.ts +5 -0
  12. package/components/chart/ChartHeader.vue.js +2 -2
  13. package/components/chart/ChartHeader.vue2.js +35 -22
  14. package/components/chart/ChartLegend.vue.js +3 -3
  15. package/components/chart/ChartLegend.vue2.js +35 -28
  16. package/components/chart/SettingsHeader.vue.js +3 -3
  17. package/components/chart/SettingsHeader.vue2.js +33 -26
  18. package/components/chart/index.d.ts +20 -1
  19. package/components/dropdown/v4/DropdownV4.vue.d.ts +6 -0
  20. package/components/dropdown/v4/DropdownV4.vue.js +2 -2
  21. package/components/dropdown/v4/DropdownV4.vue2.js +118 -107
  22. package/components/dropdown/v4/index.d.ts +25 -1
  23. package/components/typography/v4/Typography.vue.js +2 -2
  24. package/components/typography/v4/Typography.vue2.js +1 -1
  25. package/index.d.ts +50 -2
  26. package/index.js +1 -1
  27. package/package.json +1 -1
  28. package/Chart.vue_vue_type_style_index_0_scoped_df85e0af_lang.css +0 -1
  29. package/ChartHeader.vue_vue_type_style_index_0_scoped_2e3de9c5_lang.css +0 -1
  30. package/ChartLegend.vue_vue_type_style_index_0_scoped_efc608f9_lang.css +0 -1
  31. package/DropdownV4.vue_vue_type_style_index_0_scoped_62a620ee_lang.css +0 -1
  32. package/SettingsHeader.vue_vue_type_style_index_0_scoped_1791e4fe_lang.css +0 -1
  33. package/Typography.vue_vue_type_style_index_0_scoped_b00956b7_lang.css +0 -1
@@ -1,4 +1,4 @@
1
- import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_62a620ee_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as ce, computed as H, openBlock as i, createElementBlock as a, mergeProps as c, unref as t, renderSlot as b, createElementVNode as m, createVNode as n, withCtx as u, Transition as ye, normalizeClass as K, normalizeStyle as fe, isRef as me, createCommentVNode as r, createTextVNode as p, toDisplayString as G, withModifiers as U, Fragment as pe, renderList as ge, toRaw as w, createBlock as W, resolveDynamicComponent as Te } from "vue";
1
+ import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_119e4bc3_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as ce, computed as G, openBlock as i, createElementBlock as a, mergeProps as c, unref as t, renderSlot as T, createElementVNode as m, createVNode as n, withCtx as s, Transition as ye, normalizeClass as K, normalizeStyle as fe, createTextVNode as p, createCommentVNode as d, isRef as me, toDisplayString as U, withModifiers as W, Fragment as pe, renderList as ge, toRaw as I, createBlock as M, resolveDynamicComponent as Te } from "vue";
2
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";
@@ -6,35 +6,35 @@ import "./DropdownV4.vue.js";
6
6
  import ke from "./DefaultDropdownTrigger.vue.js";
7
7
  import be from "./IconButtonDropdownTrigger.vue.js";
8
8
  import he from "./ChipDropdownTrigger.vue.js";
9
- import Ie from "./AppDropdownTrigger.vue.js";
9
+ import we from "./AppDropdownTrigger.vue.js";
10
10
  import "./ButtonDropdownTrigger.vue.js";
11
11
  import "./ButtonFilterDropdownTrigger.vue.js";
12
12
  import "./TreeDropdown.vue.js";
13
- import M from "./OptionV4.vue.js";
14
- import we from "../../search/v4/SearchV4.vue.js";
15
- import X from "../../typography/v4/Typography.vue.js";
13
+ import X from "./OptionV4.vue.js";
14
+ import Ie from "../../search/v4/SearchV4.vue.js";
15
+ import O from "../../typography/v4/Typography.vue.js";
16
16
  import { Dropdown as ve } from "floating-vue";
17
17
  import { DropdownTestIdModifiers as y } from "../../../testids/index.js";
18
18
  import { dropdownCommon as Ce } from "../common/Dropdown.common.js";
19
19
  import Se from "../../loader/v4/Loader.vue.js";
20
20
  import { useTestIdAttrs as Ae } from "../../../utils/testIds.js";
21
- import { TRIGGERS as g } from "./Dropdown.types.js";
21
+ import { TRIGGERS as k } from "./Dropdown.types.js";
22
22
  import { useElementSize as Ke } from "@vueuse/core";
23
23
  import Le from "../../shared/FieldHelpText.vue.js";
24
24
  import Oe from "./GroupOption.vue.js";
25
25
  const Ee = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, Ve = { key: 1 }, Fe = { key: 2 }, De = {
26
26
  key: 0,
27
27
  class: "inline-search-wrapper"
28
- }, Pe = {
28
+ }, Pe = { class: "dropdown-conditions" }, Re = {
29
29
  key: 0,
30
30
  class: "no-result-container"
31
- }, Re = {
31
+ }, ze = {
32
32
  key: 1,
33
33
  class: "loader"
34
- }, ze = { key: 2 }, xe = ["aria-selected", "aria-disabled", "onClick"], $e = {
34
+ }, xe = { key: 2 }, $e = ["aria-selected", "aria-disabled", "onClick"], He = {
35
35
  key: 1,
36
36
  class: "actions-wrapper"
37
- }, He = { class: "actions-clear-all" }, Ge = { class: "actions-apply-cancel" }, mt = /* @__PURE__ */ ce({
37
+ }, Ge = { class: "actions-clear-all" }, Ue = { class: "actions-apply-cancel" }, pt = /* @__PURE__ */ ce({
38
38
  __name: "DropdownV4",
39
39
  props: {
40
40
  modelValue: { default: null },
@@ -66,7 +66,7 @@ const Ee = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
66
66
  triggerShowAllSelectedText: { type: Boolean, default: !0 },
67
67
  size: { default: "medium" },
68
68
  mandatory: { type: Boolean, default: !1 },
69
- predefinedTrigger: { default: g.DEFAULT },
69
+ predefinedTrigger: { default: k.DEFAULT },
70
70
  inlineSearch: { type: Boolean, default: !1 },
71
71
  inlineSearchPlaceholder: { default: "Search" },
72
72
  onSearch: { type: Function, default: null },
@@ -90,11 +90,12 @@ const Ee = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
90
90
  optionsListWidth: { default: null },
91
91
  statusType: { default: null },
92
92
  disableVirtualScroll: { type: Boolean, default: !1 },
93
- overrideOptionCountCalculation: { type: Function, default: null }
93
+ overrideOptionCountCalculation: { type: Function, default: null },
94
+ withConditions: { type: Boolean, default: !1 }
94
95
  },
95
96
  emits: ["update:selected", "update:isOpen", "closed", "opened", "apply", "selectAll", "clear", "copyToClipboard", "onsearch"],
96
- setup(e, { expose: q, emit: O }) {
97
- const d = e, E = {
97
+ setup(e, { expose: q, emit: E }) {
98
+ const r = e, B = {
98
99
  MULTILINE_LIST_HEIGHT: 48,
99
100
  LIST_HEIGHT: 32 + 4,
100
101
  MAX_NUMBER_OF_OPTIONS: 7.5,
@@ -103,42 +104,42 @@ const Ee = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
103
104
  VERSION: 4
104
105
  }, {
105
106
  onKeydown: h,
106
- open: s,
107
+ open: u,
107
108
  toggleMenu: v,
108
- onButtonKeydown: B,
109
+ onButtonKeydown: N,
109
110
  query: C,
110
111
  containerProps: Y,
111
112
  calculateTableHeight: j,
112
113
  wrapperProps: J,
113
114
  filteredOptions: Q,
114
- allSelected: N,
115
+ allSelected: V,
115
116
  isIndeterminate: Z,
116
117
  onSelectAll: _,
117
- virtualOptions: V,
118
+ virtualOptions: F,
118
119
  isSelected: S,
119
- selectedOption: T,
120
+ selectedOption: b,
120
121
  selectedOptionPrevious: A,
121
122
  selectedValue: ee,
122
- onSelect: F,
123
- activeIndex: D,
123
+ onSelect: D,
124
+ activeIndex: P,
124
125
  onCancel: te,
125
126
  onApply: oe,
126
127
  scrollTo: le,
127
128
  listRef: ie,
128
- buttonRef: P,
129
+ buttonRef: R,
129
130
  apply: ne,
130
131
  cancel: ae,
131
132
  el: de,
132
- onClearAllSelections: R,
133
+ onClearAllSelections: z,
133
134
  clearAll: re,
134
135
  isGroup: se
135
- } = Ce(d, O, E), f = Ae(d.testId, y), z = H(() => !d.predefinedTrigger || d.predefinedTrigger === g.DEFAULT ? ke : d.predefinedTrigger === g.APP ? Ie : null), { width: x } = Ke(P), ue = H(() => d.optionsListWidth ? d.optionsListWidth : !d.predefinedTrigger || d.predefinedTrigger === g.DEFAULT || d.predefinedTrigger === g.APP ? x.value - 2 > 240 ? `${x.value - 2}px` : `${E.DROPLIST_MIN_WIDTH}px` : "auto"), $ = () => {
136
+ } = Ce(r, E, B), f = Ae(r.testId, y), x = G(() => !r.predefinedTrigger || r.predefinedTrigger === k.DEFAULT ? ke : r.predefinedTrigger === k.APP ? we : null), { width: $ } = Ke(R), ue = G(() => r.optionsListWidth ? r.optionsListWidth : !r.predefinedTrigger || r.predefinedTrigger === k.DEFAULT || r.predefinedTrigger === k.APP ? $.value - 2 > 240 ? `${$.value - 2}px` : `${B.DROPLIST_MIN_WIDTH}px` : "auto"), H = () => {
136
137
  v();
137
138
  };
138
139
  return q({
139
- selectItem: F,
140
+ selectItem: D,
140
141
  scrollTo: le
141
- }), (k, l) => (i(), a("div", c({
142
+ }), (g, l) => (i(), a("div", c({
142
143
  ref_key: "el",
143
144
  ref: de,
144
145
  class: ["dropdown dropdown--main-wrapper", [{ "dropdown--disabled": e.disabled, "full-width": e.fullWidth }]],
@@ -147,7 +148,7 @@ const Ee = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
147
148
  onKeydown: l[8] || (l[8] = //@ts-ignore
148
149
  (...o) => t(h) && t(h)(...o))
149
150
  }), [
150
- b(k.$slots, "label", {}, void 0, !0),
151
+ T(g.$slots, "label", {}, void 0, !0),
151
152
  m("div", Be, [
152
153
  n(t(ve), c({
153
154
  theme: e.theme,
@@ -162,15 +163,15 @@ const Ee = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
162
163
  distance: e.distance,
163
164
  flip: e.flip,
164
165
  triggers: [],
165
- shown: !!t(s),
166
+ shown: !!t(u),
166
167
  "auto-hide": !1,
167
168
  container: e.container,
168
169
  "auto-size": e.autoSize
169
170
  }, t(f)[t(y).TRIGGER]), {
170
- popper: u(() => [
171
+ popper: s(() => [
171
172
  n(ye, null, {
172
- default: u(() => [
173
- t(s) ? (i(), a("div", {
173
+ default: s(() => [
174
+ t(u) ? (i(), a("div", {
174
175
  key: 0,
175
176
  ref_key: "listRef",
176
177
  ref: ie,
@@ -180,15 +181,25 @@ const Ee = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
180
181
  }]),
181
182
  style: fe({ width: t(ue) })
182
183
  }, [
183
- t(s) ? (i(), a("div", {
184
+ t(u) ? (i(), a("div", {
184
185
  key: 0,
185
186
  class: K(["dropdown-list-wrapper", { "dropdown-list-wrapper--multi": e.multi }]),
186
187
  onKeydown: l[7] || (l[7] = //@ts-ignore
187
188
  (...o) => t(h) && t(h)(...o))
188
189
  }, [
189
- t(s) && e.inlineSearch ? (i(), a("div", De, [
190
- b(k.$slots, "inline-search", {}, () => [
191
- n(t(we), {
190
+ t(u) && (e.inlineSearch || e.withConditions) ? (i(), a("div", De, [
191
+ e.withConditions ? T(g.$slots, "dropdown-conditions", { key: 0 }, () => [
192
+ m("div", Pe, [
193
+ n(t(O), { variant: "body2" }, {
194
+ default: s(() => [
195
+ p("Conditions")
196
+ ]),
197
+ _: 1
198
+ })
199
+ ])
200
+ ], !0) : d("", !0),
201
+ T(g.$slots, "inline-search", {}, () => [
202
+ n(t(Ie), {
192
203
  modelValue: t(C),
193
204
  "onUpdate:modelValue": [
194
205
  l[4] || (l[4] = (o) => me(C) ? C.value = o : null),
@@ -202,8 +213,8 @@ const Ee = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
202
213
  onKeydown: t(h)
203
214
  }, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id", "onUpdate:modelValue", "onKeydown"])
204
215
  ], !0)
205
- ])) : r("", !0),
206
- b(k.$slots, "input-list", { open: t(s) }, void 0, !0),
216
+ ])) : d("", !0),
217
+ T(g.$slots, "input-list", { open: t(u) }, void 0, !0),
207
218
  m("div", c({
208
219
  class: ["list-container", { "list-container--multi": e.multi }],
209
220
  style: { height: `${t(j)}rem` }
@@ -215,69 +226,69 @@ const Ee = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
215
226
  role: "listbox",
216
227
  class: ["list", { "list--multi": e.multi }]
217
228
  }), [
218
- !t(Q).length && !e.loading ? (i(), a("li", Pe, [
219
- n(t(X), c({ variant: "body2" }, t(f)[t(y).NO_RESULT]), {
220
- default: u(() => [
221
- p(G(e.noResultsText), 1)
229
+ !t(Q).length && !e.loading ? (i(), a("li", Re, [
230
+ n(t(O), c({ variant: "body2" }, t(f)[t(y).NO_RESULT]), {
231
+ default: s(() => [
232
+ p(U(e.noResultsText), 1)
222
233
  ]),
223
234
  _: 1
224
235
  }, 16)
225
- ])) : r("", !0),
226
- e.loading ? (i(), a("li", Re, [
236
+ ])) : d("", !0),
237
+ e.loading ? (i(), a("li", ze, [
227
238
  n(t(Se)),
228
- n(t(X), null, {
229
- default: u(() => [
239
+ n(t(O), null, {
240
+ default: s(() => [
230
241
  p("Loading...")
231
242
  ]),
232
243
  _: 1
233
244
  })
234
- ])) : r("", !0),
235
- e.showSelectAll !== !1 && e.multi && !t(C) ? (i(), a("li", ze, [
236
- n(t(M), c(
245
+ ])) : d("", !0),
246
+ e.showSelectAll !== !1 && e.multi && !t(C) ? (i(), a("li", xe, [
247
+ n(t(X), c(
237
248
  {
238
- "aria-selected": t(N),
249
+ "aria-selected": t(V),
239
250
  "aria-disabled": !!e.disabled,
240
- "selected-prop": t(N),
251
+ "selected-prop": t(V),
241
252
  "is-indeterminate": t(Z),
242
253
  "select-all-option": ""
243
254
  },
244
255
  t(f)[t(y).SELECT_ALL],
245
256
  {
246
- onClick: l[5] || (l[5] = U((o) => t(_)(), ["stop"]))
257
+ onClick: l[5] || (l[5] = W((o) => t(_)(), ["stop"]))
247
258
  }
248
259
  ), {
249
- default: u(() => [
260
+ default: s(() => [
250
261
  p("Select all ")
251
262
  ]),
252
263
  _: 1
253
264
  }, 16, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate"])
254
- ])) : r("", !0),
255
- t(V).length && !e.loading ? (i(!0), a(pe, { key: 3 }, ge(t(V), ({ data: o, index: I }) => (i(), a("li", {
256
- key: I,
257
- "aria-selected": t(S)(w(t(T)), o),
265
+ ])) : d("", !0),
266
+ t(F).length && !e.loading ? (i(!0), a(pe, { key: 3 }, ge(t(F), ({ data: o, index: w }) => (i(), a("li", {
267
+ key: w,
268
+ "aria-selected": t(S)(I(t(b)), o),
258
269
  "aria-disabled": !!e.disabled,
259
- onClick: U(() => t(F)(o, I), ["stop"])
270
+ onClick: W(() => t(D)(o, w), ["stop"])
260
271
  }, [
261
- e.groupedOptions && t(se)(o) ? b(k.$slots, "group-option", { key: 0 }, () => [
272
+ e.groupedOptions && t(se)(o) ? T(g.$slots, "group-option", { key: 0 }, () => [
262
273
  n(Oe, null, {
263
- default: u(() => [
264
- p(G(e.displayValue(o) || o[e.optionNameKey]), 1)
274
+ default: s(() => [
275
+ p(U(e.displayValue(o) || o[e.optionNameKey]), 1)
265
276
  ]),
266
277
  _: 2
267
278
  }, 1024)
268
- ], !0) : b(k.$slots, "default", {
279
+ ], !0) : T(g.$slots, "default", {
269
280
  key: 1,
270
281
  option: o,
271
- index: I,
272
- selected: t(S)(w(t(T)), o),
273
- active: w(t(D)) === I,
274
- disabled: o[d.disabledOptionKey]
282
+ index: w,
283
+ selected: t(S)(I(t(b)), o),
284
+ active: I(t(P)) === w,
285
+ disabled: o[r.disabledOptionKey]
275
286
  }, () => [
276
- n(t(M), {
287
+ n(t(X), {
277
288
  option: o,
278
- "selected-prop": t(S)(w(t(T)), o),
279
- active: w(t(D)) === I,
280
- disabled: o[d.disabledOptionKey],
289
+ "selected-prop": t(S)(I(t(b)), o),
290
+ active: I(t(P)) === w,
291
+ disabled: o[r.disabledOptionKey],
281
292
  "name-key": e.optionNameKey,
282
293
  "image-key": e.optionImageKey,
283
294
  "icon-key": e.optionIconKey,
@@ -288,11 +299,11 @@ const Ee = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
288
299
  "option-two-lines-key": e.optionTwoLinesKey
289
300
  }, null, 8, ["option", "selected-prop", "active", "disabled", "name-key", "image-key", "icon-key", "icon-type", "end-icon-key", "end-icon-type", "option-two-lines-variant", "option-two-lines-key"])
290
301
  ], !0)
291
- ], 8, xe))), 128)) : r("", !0)
302
+ ], 8, $e))), 128)) : d("", !0)
292
303
  ], 16)
293
304
  ], 16),
294
- e.multi ? (i(), a("div", $e, [
295
- m("div", He, [
305
+ e.multi ? (i(), a("div", He, [
306
+ m("div", Ge, [
296
307
  n(t(L), c(
297
308
  {
298
309
  ref_key: "clearAll",
@@ -303,16 +314,16 @@ const Ee = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
303
314
  },
304
315
  t(f)[t(y).ACTION_CLEAR_ALL],
305
316
  {
306
- onClick: l[6] || (l[6] = () => t(R)(!1))
317
+ onClick: l[6] || (l[6] = () => t(z)(!1))
307
318
  }
308
319
  ), {
309
- default: u(() => [
320
+ default: s(() => [
310
321
  p(" Clear all ")
311
322
  ]),
312
323
  _: 1
313
324
  }, 16)
314
325
  ]),
315
- m("div", Ge, [
326
+ m("div", Ue, [
316
327
  n(t(L), c(
317
328
  {
318
329
  ref_key: "cancel",
@@ -324,7 +335,7 @@ const Ee = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
324
335
  t(f)[t(y).ACTION_CANCEL],
325
336
  { onClick: t(te) }
326
337
  ), {
327
- default: u(() => [
338
+ default: s(() => [
328
339
  p(" Cancel ")
329
340
  ]),
330
341
  _: 1
@@ -336,48 +347,48 @@ const Ee = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
336
347
  size: "small",
337
348
  class: "apply-button"
338
349
  }, t(f)[t(y).ACTION_APPLY], { onClick: t(oe) }), {
339
- default: u(() => [
350
+ default: s(() => [
340
351
  p("Apply ")
341
352
  ]),
342
353
  _: 1
343
354
  }, 16, ["onClick"])
344
355
  ])
345
- ])) : r("", !0)
346
- ], 34)) : r("", !0)
347
- ], 6)) : r("", !0)
356
+ ])) : d("", !0)
357
+ ], 34)) : d("", !0)
358
+ ], 6)) : d("", !0)
348
359
  ]),
349
360
  _: 3
350
361
  })
351
362
  ]),
352
- default: u(() => [
363
+ default: s(() => [
353
364
  m("div", {
354
365
  class: K(["button__container", {
355
- "button__container--open": !!t(s),
366
+ "button__container--open": !!t(u),
356
367
  [`button__container--${e.size}`]: !0,
357
368
  "button__container--disabled": e.disabled
358
369
  }])
359
370
  }, [
360
371
  m("div", {
361
372
  ref_key: "buttonRef",
362
- ref: P
373
+ ref: R
363
374
  }, [
364
- b(k.$slots, "dropdown-trigger", {
375
+ T(g.$slots, "dropdown-trigger", {
365
376
  buttonTriggerProps: {
366
- open: t(s),
377
+ open: t(u),
367
378
  disabled: e.disabled,
368
379
  label: t(ee) || e.placeholder,
369
380
  onClick: () => t(v)()
370
381
  },
371
382
  defaultTriggerProps: {
372
383
  placeholder: e.placeholder,
373
- open: t(s),
384
+ open: t(u),
374
385
  label: e.triggerLabel,
375
386
  showFeedbackIcon: e.triggerFeedbackShowIcon,
376
387
  mandatory: e.mandatory,
377
388
  testId: e.testId,
378
389
  multi: e.multi,
379
390
  disabled: e.disabled,
380
- selectedOption: e.multi ? t(A) : t(T),
391
+ selectedOption: e.multi ? t(A) : t(b),
381
392
  displayValue: e.displayValue,
382
393
  options: e.options,
383
394
  optionNameKey: e.optionNameKey,
@@ -391,21 +402,21 @@ const Ee = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
391
402
  statusDotType: e.statusType,
392
403
  size: e.size,
393
404
  showAllSelectedText: e.triggerShowAllSelectedText,
394
- onKeydown: t(B),
395
- onClick: $
405
+ onKeydown: t(N),
406
+ onClick: H
396
407
  }
397
408
  }, () => [
398
- t(z) ? (i(), a("div", Ne, [
399
- (i(), W(Te(t(z)), {
409
+ t(x) ? (i(), a("div", Ne, [
410
+ (i(), M(Te(t(x)), {
400
411
  placeholder: e.placeholder,
401
- open: t(s),
412
+ open: t(u),
402
413
  label: e.triggerLabel,
403
414
  "show-feedback-icon": e.triggerFeedbackShowIcon,
404
415
  mandatory: e.mandatory,
405
416
  "test-id": e.testId,
406
417
  multi: e.multi,
407
418
  disabled: e.disabled,
408
- "selected-option": e.multi ? t(A) : t(T),
419
+ "selected-option": e.multi ? t(A) : t(b),
409
420
  "display-value": e.displayValue,
410
421
  options: e.options,
411
422
  "option-name-key": e.optionNameKey,
@@ -419,47 +430,47 @@ const Ee = ["tabindex"], Be = { style: { width: "100%" } }, Ne = { key: 0 }, Ve
419
430
  "status-dot-type": e.statusType,
420
431
  size: e.size,
421
432
  "show-all-selected-text": e.triggerShowAllSelectedText,
422
- onKeydown: t(B),
423
- onClick: $,
424
- onCopyToClipboard: l[0] || (l[0] = (o) => O("copyToClipboard"))
433
+ onKeydown: t(N),
434
+ onClick: H,
435
+ onCopyToClipboard: l[0] || (l[0] = (o) => E("copyToClipboard"))
425
436
  }, 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", "feedback-variant", "value-to-copy", "status-dot-type", "size", "show-all-selected-text", "onKeydown"]))
426
- ])) : r("", !0),
427
- e.predefinedTrigger === t(g).ICON_BUTTON ? (i(), a("div", Ve, [
437
+ ])) : d("", !0),
438
+ e.predefinedTrigger === t(k).ICON_BUTTON ? (i(), a("div", Ve, [
428
439
  n(t(be), {
429
440
  onClick: l[1] || (l[1] = (o) => t(v)())
430
441
  })
431
- ])) : r("", !0),
432
- e.predefinedTrigger === t(g).CHIP ? (i(), a("div", Fe, [
442
+ ])) : d("", !0),
443
+ e.predefinedTrigger === t(k).CHIP ? (i(), a("div", Fe, [
433
444
  n(t(he), {
434
- open: t(s),
445
+ open: t(u),
435
446
  label: e.placeholder,
436
447
  "test-id": e.testId,
437
448
  options: e.options,
438
- "selected-option": e.multi ? t(A) : t(T),
449
+ "selected-option": e.multi ? t(A) : t(b),
439
450
  "display-value": e.displayValue,
440
451
  multi: e.multi,
441
452
  onClick: l[2] || (l[2] = (o) => t(v)()),
442
- onClear: l[3] || (l[3] = (o) => t(R)())
453
+ onClear: l[3] || (l[3] = (o) => t(z)())
443
454
  }, null, 8, ["open", "label", "test-id", "options", "selected-option", "display-value", "multi"])
444
- ])) : r("", !0)
455
+ ])) : d("", !0)
445
456
  ], !0)
446
457
  ], 512)
447
458
  ], 2)
448
459
  ]),
449
460
  _: 3
450
461
  }, 16, ["theme", "popper-class", "placement", "skidding", "distance", "flip", "shown", "container", "auto-size"]),
451
- e.triggerFeedbackText ? (i(), W(Le, {
462
+ e.triggerFeedbackText ? (i(), M(Le, {
452
463
  key: 0,
453
464
  text: e.triggerFeedbackText,
454
465
  variant: e.triggerFeedbackVariant,
455
466
  "show-icon": e.triggerFeedbackShowIcon,
456
467
  "test-id": e.testId,
457
468
  class: "dropdown-field-help-text"
458
- }, null, 8, ["text", "variant", "show-icon", "test-id"])) : r("", !0)
469
+ }, null, 8, ["text", "variant", "show-icon", "test-id"])) : d("", !0)
459
470
  ])
460
471
  ], 16, Ee));
461
472
  }
462
473
  });
463
474
  export {
464
- mt as default
475
+ pt as default
465
476
  };
@@ -1639,6 +1639,7 @@ declare const DropdownTypes: () => (({
1639
1639
  statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
1640
1640
  disableVirtualScroll: boolean;
1641
1641
  overrideOptionCountCalculation: (option: unknown) => number;
1642
+ withConditions: boolean;
1642
1643
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
1643
1644
  theme: {
1644
1645
  type: import("vue").PropType<string>;
@@ -1854,6 +1855,11 @@ declare const DropdownTypes: () => (({
1854
1855
  type: import("vue").PropType<(option: unknown) => number>;
1855
1856
  default: any;
1856
1857
  };
1858
+ withConditions: {
1859
+ type: import("vue").PropType<boolean>;
1860
+ required: true;
1861
+ default: boolean;
1862
+ };
1857
1863
  }>> & {
1858
1864
  onCopyToClipboard?: () => any;
1859
1865
  onClear?: () => any;
@@ -1864,7 +1870,7 @@ declare const DropdownTypes: () => (({
1864
1870
  onOnsearch?: (value: string) => any;
1865
1871
  onOpened?: () => any;
1866
1872
  onClosed?: () => any;
1867
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "testId" | "placement" | "disabled" | "distance" | "container" | "popperClass" | "size" | "flip" | "mandatory" | "selected" | "onClear" | "modelValue" | "placeholder" | "multi" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "skidding" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "triggerShowAllSelectedText" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "valueToCopy" | "disabledOptionKey" | "optionTwoLinesVariant" | "optionTwoLinesKey" | "groupedOptions" | "fullWidth" | "optionsListWidth" | "statusType" | "disableVirtualScroll" | "overrideOptionCountCalculation">;
1873
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "theme" | "testId" | "placement" | "disabled" | "distance" | "container" | "popperClass" | "size" | "flip" | "mandatory" | "selected" | "onClear" | "modelValue" | "placeholder" | "multi" | "showSelectAll" | "defaultOpen" | "keepOpen" | "autoSize" | "disableKeyboardEvents" | "isOnTop" | "skidding" | "triggerLabel" | "triggerHelperText" | "triggerFeedbackText" | "triggerFeedbackVariant" | "triggerFeedbackShowIcon" | "triggerShowAllSelectedText" | "predefinedTrigger" | "inlineSearch" | "inlineSearchPlaceholder" | "onSearch" | "noResultsText" | "searchAutoFocus" | "optionNameKey" | "optionIconKey" | "optionImageKey" | "optionIconType" | "optionEndIconKey" | "optionEndIconType" | "valueToCopy" | "disabledOptionKey" | "optionTwoLinesVariant" | "optionTwoLinesKey" | "groupedOptions" | "fullWidth" | "optionsListWidth" | "statusType" | "disableVirtualScroll" | "overrideOptionCountCalculation" | "withConditions">;
1868
1874
  $attrs: {
1869
1875
  [x: string]: unknown;
1870
1876
  };
@@ -2093,6 +2099,11 @@ declare const DropdownTypes: () => (({
2093
2099
  type: import("vue").PropType<(option: unknown) => number>;
2094
2100
  default: any;
2095
2101
  };
2102
+ withConditions: {
2103
+ type: import("vue").PropType<boolean>;
2104
+ required: true;
2105
+ default: boolean;
2106
+ };
2096
2107
  }>> & {
2097
2108
  onCopyToClipboard?: () => any;
2098
2109
  onClear?: () => any;
@@ -2167,6 +2178,7 @@ declare const DropdownTypes: () => (({
2167
2178
  statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
2168
2179
  disableVirtualScroll: boolean;
2169
2180
  overrideOptionCountCalculation: (option: unknown) => number;
2181
+ withConditions: boolean;
2170
2182
  }, {}, string> & {
2171
2183
  beforeCreate?: (() => void) | (() => void)[];
2172
2184
  created?: (() => void) | (() => void)[];
@@ -2402,6 +2414,11 @@ declare const DropdownTypes: () => (({
2402
2414
  type: import("vue").PropType<(option: unknown) => number>;
2403
2415
  default: any;
2404
2416
  };
2417
+ withConditions: {
2418
+ type: import("vue").PropType<boolean>;
2419
+ required: true;
2420
+ default: boolean;
2421
+ };
2405
2422
  }>> & {
2406
2423
  onCopyToClipboard?: () => any;
2407
2424
  onClear?: () => any;
@@ -2634,6 +2651,11 @@ declare const DropdownTypes: () => (({
2634
2651
  type: import("vue").PropType<(option: unknown) => number>;
2635
2652
  default: any;
2636
2653
  };
2654
+ withConditions: {
2655
+ type: import("vue").PropType<boolean>;
2656
+ required: true;
2657
+ default: boolean;
2658
+ };
2637
2659
  }>> & {
2638
2660
  onCopyToClipboard?: () => any;
2639
2661
  onClear?: () => any;
@@ -2708,6 +2730,7 @@ declare const DropdownTypes: () => (({
2708
2730
  statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
2709
2731
  disableVirtualScroll: boolean;
2710
2732
  overrideOptionCountCalculation: (option: unknown) => number;
2733
+ withConditions: boolean;
2711
2734
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
2712
2735
  $slots: {
2713
2736
  label?(_: {}): any;
@@ -2745,6 +2768,7 @@ declare const DropdownTypes: () => (({
2745
2768
  onClick: () => void;
2746
2769
  };
2747
2770
  }): any;
2771
+ "dropdown-conditions"?(_: {}): any;
2748
2772
  "inline-search"?(_: {}): any;
2749
2773
  "input-list"?(_: {
2750
2774
  open: true;
@@ -1,7 +1,7 @@
1
1
  import o from "./Typography.vue2.js";
2
2
  /* empty css */import p from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../Typography.vue_vue_type_style_index_0_scoped_b00956b7_lang.css"; //*');
4
- const t = /* @__PURE__ */ p(o, [["__scopeId", "data-v-b00956b7"]]);
3
+ // import "../../../Typography.vue_vue_type_style_index_0_scoped_992962bc_lang.css"; //*');
4
+ const t = /* @__PURE__ */ p(o, [["__scopeId", "data-v-992962bc"]]);
5
5
  export {
6
6
  t as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../Typography.vue_vue_type_style_index_0_scoped_b00956b7_lang.css"; import { defineComponent as m, ref as y, computed as l, openBlock as o, createBlock as i, unref as e, withCtx as s, resolveDynamicComponent as d, normalizeClass as f, renderSlot as h } from "vue";
1
+ import "../../../Typography.vue_vue_type_style_index_0_scoped_992962bc_lang.css"; import { defineComponent as m, ref as y, computed as l, openBlock as o, createBlock as i, unref as e, withCtx as s, resolveDynamicComponent as d, normalizeClass as f, renderSlot as h } from "vue";
2
2
  import T from "../../tooltip/v4/TooltipV4.vue.js";
3
3
  const C = /* @__PURE__ */ m({
4
4
  __name: "Typography",