@ironsource/shared-ui 2.1.12-rc.25 → 2.1.12-rc.27

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 (93) hide show
  1. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_adb49e50_lang.css +1 -0
  2. package/ButtonV4.vue_vue_type_style_index_0_scoped_852be7ec_lang.css +1 -0
  3. package/Chart.vue_vue_type_style_index_0_scoped_e8f25a03_lang.css +1 -0
  4. package/ChartHeader.vue_vue_type_style_index_0_scoped_af520313_lang.css +1 -0
  5. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_db8a902c_lang.css +1 -0
  6. package/ChartLegend.vue_vue_type_style_index_0_scoped_6103d8bd_lang.css +1 -0
  7. package/ChartPlane.vue_vue_type_style_index_0_scoped_4f67d41d_lang.css +1 -0
  8. package/ChartTooltip.vue_vue_type_style_index_0_scoped_3315b68f_lang.css +1 -0
  9. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_f5204c04_lang.css +1 -0
  10. package/DataGrid.vue_vue_type_style_index_0_scoped_b21a79b1_lang.css +1 -0
  11. package/DropdownV4.vue_vue_type_style_index_0_scoped_55dd36a7_lang.css +1 -0
  12. package/Link.vue_vue_type_style_index_0_scoped_ad98fe7b_lang.css +1 -0
  13. package/OptionV4.vue_vue_type_style_index_0_scoped_0287cebf_lang.css +1 -0
  14. package/SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css +1 -0
  15. package/components/button/v4/ButtonV4.vue.d.ts +1 -0
  16. package/components/button/v4/ButtonV4.vue.js +3 -3
  17. package/components/button/v4/ButtonV4.vue2.js +28 -27
  18. package/components/chart/Chart.vue.d.ts +6 -1
  19. package/components/chart/Chart.vue.js +3 -3
  20. package/components/chart/Chart.vue2.js +6 -4
  21. package/components/chart/ChartHeader.vue.d.ts +5 -0
  22. package/components/chart/ChartHeader.vue.js +2 -2
  23. package/components/chart/ChartHeader.vue2.js +43 -35
  24. package/components/chart/ChartHeaderTrend.vue.js +3 -3
  25. package/components/chart/ChartHeaderTrend.vue2.js +17 -17
  26. package/components/chart/ChartLegend.vue.js +3 -3
  27. package/components/chart/ChartLegend.vue2.js +1 -1
  28. package/components/chart/ChartPlane.vue.d.ts +6 -1
  29. package/components/chart/ChartPlane.vue.js +5 -5
  30. package/components/chart/ChartPlane.vue2.js +140 -138
  31. package/components/chart/ChartTooltip.vue.js +2 -2
  32. package/components/chart/ChartTooltip.vue2.js +5 -5
  33. package/components/chart/index.d.ts +43 -24
  34. package/components/chart/utils/utils.d.ts +1 -2
  35. package/components/chart/utils/utils.js +13 -19
  36. package/components/dateRange/common/DateRange.common.js +81 -75
  37. package/components/dateRange/common/DateServices.common.d.ts +1 -1
  38. package/components/dateRange/common/DateServices.common.js +1 -0
  39. package/components/dropdown/common/Dropdown.common.js +82 -78
  40. package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +1 -0
  41. package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +3 -3
  42. package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +16 -13
  43. package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +17 -9
  44. package/components/dropdown/v4/ConditionalDropdown.vue.js +4 -4
  45. package/components/dropdown/v4/ConditionalDropdown.vue2.js +142 -123
  46. package/components/dropdown/v4/DropdownV4.vue.d.ts +10 -0
  47. package/components/dropdown/v4/DropdownV4.vue.js +4 -4
  48. package/components/dropdown/v4/DropdownV4.vue2.js +174 -163
  49. package/components/dropdown/v4/OptionV4.vue.d.ts +10 -5
  50. package/components/dropdown/v4/OptionV4.vue.js +4 -4
  51. package/components/dropdown/v4/OptionV4.vue2.js +106 -99
  52. package/components/dropdown/v4/dropdownStoryArgs.d.ts +8 -0
  53. package/components/dropdown/v4/index.d.ts +510 -127
  54. package/components/includeExclude/IncludeExclude.vue.d.ts +1 -1
  55. package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +1 -1
  56. package/components/includeExclude/index.d.ts +40 -40
  57. package/components/link/Link.vue.d.ts +70 -0
  58. package/components/link/Link.vue.js +7 -0
  59. package/components/link/Link.vue2.js +43 -0
  60. package/components/link/index.d.ts +201 -0
  61. package/components/link/index.js +6 -0
  62. package/components/switch/v4/SwitchV4.vue.d.ts +11 -0
  63. package/components/switch/v4/SwitchV4.vue.js +2 -2
  64. package/components/switch/v4/SwitchV4.vue2.js +39 -26
  65. package/components/switch/v4/index.d.ts +18 -0
  66. package/components/table/v4/DataGrid.vue.d.ts +2 -0
  67. package/components/table/v4/DataGrid.vue.js +3 -3
  68. package/components/table/v4/DataGrid.vue2.js +111 -110
  69. package/components/table/v4/index.d.ts +2 -0
  70. package/composables/useDateService.d.ts +7 -0
  71. package/composables/useDateService.js +10 -0
  72. package/index.d.ts +1120 -310
  73. package/index.js +111 -105
  74. package/mocks/apps.d.ts +1 -0
  75. package/mocks/optionsWithIcons.d.ts +2 -0
  76. package/package.json +9 -1
  77. package/testids/index.d.ts +4 -0
  78. package/testids/index.js +31 -30
  79. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_0123c361_lang.css +0 -1
  80. package/ButtonV4.vue_vue_type_style_index_0_scoped_d7948c77_lang.css +0 -1
  81. package/Chart.vue_vue_type_style_index_0_scoped_03771fa3_lang.css +0 -1
  82. package/ChartHeader.vue_vue_type_style_index_0_scoped_da34b108_lang.css +0 -1
  83. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_ebc0c582_lang.css +0 -1
  84. package/ChartLegend.vue_vue_type_style_index_0_scoped_fd9e4ea2_lang.css +0 -1
  85. package/ChartPlane.vue_vue_type_style_index_0_scoped_903fc6ae_lang.css +0 -1
  86. package/ChartTooltip.vue_vue_type_style_index_0_scoped_e53c6287_lang.css +0 -1
  87. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_cce87267_lang.css +0 -1
  88. package/DataGrid.vue_vue_type_style_index_0_scoped_5b72e35a_lang.css +0 -1
  89. package/DropdownV4.vue_vue_type_style_index_0_scoped_92ead583_lang.css +0 -1
  90. package/OptionV4.vue_vue_type_style_index_0_scoped_3dc741c1_lang.css +0 -1
  91. package/SwitchV4.vue_vue_type_style_index_0_scoped_fa120cf6_lang.css +0 -1
  92. package/components/chart/composables/useChartValues.d.ts +0 -12
  93. package/components/chart/composables/useChartValues.js +0 -32
@@ -1,21 +1,21 @@
1
- import "../../../ConditionalDropdown.vue_vue_type_style_index_0_scoped_cce87267_lang.css"; import { defineComponent as W, computed as w, ref as s, watch as O, onMounted as q, openBlock as D, createBlock as G, unref as c, withCtx as f, createVNode as y, mergeProps as H, createElementVNode as J, isRef as X, normalizeProps as Y, guardReactiveProps as Z, createElementBlock as _, createTextVNode as ee, toDisplayString as le, createCommentVNode as oe } from "vue";
2
- import F from "./DropdownV4.vue.js";
1
+ import "../../../ConditionalDropdown.vue_vue_type_style_index_0_scoped_f5204c04_lang.css"; import { defineComponent as q, computed as w, ref as s, watch as m, onMounted as G, openBlock as F, createBlock as H, unref as c, createSlots as J, withCtx as v, createVNode as C, mergeProps as X, createElementVNode as Y, isRef as Z, normalizeProps as _, guardReactiveProps as ee, createElementBlock as le, createTextVNode as oe, toDisplayString as te, createCommentVNode as ae, renderSlot as ne } from "vue";
2
+ import B from "./DropdownV4.vue.js";
3
3
  import "./DefaultDropdownTrigger.vue.js";
4
4
  import "./IconButtonDropdownTrigger.vue.js";
5
- import te from "./ChipDropdownTrigger.vue.js";
5
+ import ie from "./ChipDropdownTrigger.vue.js";
6
6
  import "./AppDropdownTrigger.vue.js";
7
7
  import "./ButtonDropdownTrigger.vue.js";
8
- import ae from "./ButtonFilterDropdownTrigger.vue.js";
8
+ import ue from "./ButtonFilterDropdownTrigger.vue.js";
9
9
  import "./TreeDropdown.vue.js";
10
10
  import "./OptionV4.vue.js";
11
11
  import "./ConditionalDropdown.vue.js";
12
- import ne from "../../search/v4/SearchV4.vue.js";
13
- import ie from "../../typography/v4/Typography.vue.js";
14
- import { useDebounceFn as ue } from "@vueuse/core";
15
- const re = { class: "conditional-container" }, se = {
12
+ import re from "../../search/v4/SearchV4.vue.js";
13
+ import se from "../../typography/v4/Typography.vue.js";
14
+ import { useDebounceFn as de } from "@vueuse/core";
15
+ const ce = { class: "conditional-container" }, pe = {
16
16
  key: 0,
17
17
  class: "custom-list-area"
18
- }, ke = /* @__PURE__ */ W({
18
+ }, Ne = /* @__PURE__ */ q({
19
19
  __name: "ConditionalDropdown",
20
20
  props: {
21
21
  selectedCondition: null,
@@ -42,208 +42,227 @@ const re = { class: "conditional-container" }, se = {
42
42
  triggerShownValuesCount: { default: 1 }
43
43
  },
44
44
  emits: ["update:selectedCondition", "update:appliedSelections", "clear", "closed"],
45
- setup(n, { emit: h }) {
46
- const e = n, S = w({
45
+ setup(u, { emit: g }) {
46
+ const e = u, y = w({
47
47
  get: () => e.appliedSelections,
48
48
  set: (l) => {
49
- h("update:appliedSelections", l);
49
+ g("update:appliedSelections", l);
50
50
  }
51
- }), u = w({
52
- get: () => e.selectedCondition || e.conditionalOptions[0],
51
+ }), T = s(
52
+ e.selectedCondition || e.conditionalOptions[0]
53
+ ), n = w({
54
+ get: () => T.value || e.conditionalOptions[0],
53
55
  set: (l) => {
54
- h("update:selectedCondition", l);
56
+ T.value = l;
55
57
  }
56
- }), L = () => {
58
+ });
59
+ m(
60
+ () => e.selectedCondition,
61
+ (l) => {
62
+ l && l.value !== n.value?.value && (n.value = l, k());
63
+ }
64
+ );
65
+ const A = () => {
57
66
  const { appliedSelections: l } = e;
58
67
  return l ? Array.isArray(l) ? l : [l] : [];
59
- }, k = s(null), p = s(!0), a = s([]), i = s(L()), T = s(!0), d = s(!1), C = s(!1), r = s(e.searchQuery), B = s(""), m = s(e.label), K = s([]), U = w(() => (!r.value || r.value?.length < e.minCharsToStart) && !a.value.length ? `Enter at least ${e.minCharsToStart} characters to begin` : "No results found"), I = w(() => {
60
- const l = p.value ? 4 : 4.5, o = a.value.length > 4 ? a.value.length : l;
68
+ }, N = s(null), p = s(!0), a = s([]), i = s(A()), D = s(!0), d = s(!1), O = s(!1), r = s(e.searchQuery), U = s(""), h = s(e.label), K = s([]), I = w(() => (!r.value || r.value?.length < e.minCharsToStart) && !a.value.length ? `Enter at least ${e.minCharsToStart} characters to begin` : "No results found"), M = w(() => {
69
+ const l = p.value ? 4 : 4.5, t = a.value.length > 4 ? a.value.length : l;
61
70
  if (e.groupedOptions) {
62
- let t = 0;
63
- return a.value.forEach((g) => {
64
- g.options && (t = t + g.options.length);
65
- }), t > 4 ? t : l;
71
+ let o = 0;
72
+ return a.value.forEach((S) => {
73
+ S.options && (o = o + S.options.length);
74
+ }), o > 4 ? o : l;
66
75
  }
67
- return o > l ? o : l;
68
- }), M = (l, o) => {
69
- if (e.infiniteLoading && u.value.multi && Array.isArray(i.value) && i.value.length && l && o.length) {
70
- const t = [], g = i.value.filter(
71
- (v) => v[e.optionNameKey].includes(l)
76
+ return t > l ? t : l;
77
+ }), E = (l, t) => {
78
+ if (e.infiniteLoading && n.value.multi && Array.isArray(i.value) && i.value.length && l && t.length) {
79
+ const o = [], S = i.value.filter(
80
+ (f) => f[e.optionNameKey].includes(l)
72
81
  );
73
- return o.forEach((v) => {
74
- g.find(
75
- (j) => j[e.comparingKey] === v[e.comparingKey]
76
- ) && t.push(v[e.comparingKey]);
77
- }), g.filter(
78
- (v) => !t.includes(v[e.comparingKey])
82
+ return t.forEach((f) => {
83
+ S.find(
84
+ (W) => W[e.comparingKey] === f[e.comparingKey]
85
+ ) && o.push(f[e.comparingKey]);
86
+ }), S.filter(
87
+ (f) => !o.includes(f[e.comparingKey])
79
88
  );
80
89
  }
81
90
  return [];
82
- }, A = async (l) => {
91
+ }, L = async (l) => {
83
92
  try {
84
93
  d.value = !0;
85
- const o = await e.fetchFnCallback(l), t = M(
94
+ const t = await e.fetchFnCallback(l), o = E(
86
95
  l,
87
- o
96
+ t
88
97
  );
89
- a.value = [...t, ...o], d.value = !1;
90
- } catch (o) {
91
- d.value = !1, console.error("Error fetching data:", o);
98
+ a.value = [...o, ...t], d.value = !1;
99
+ } catch (t) {
100
+ d.value = !1, console.error("Error fetching data:", t);
92
101
  }
93
- }, E = async () => {
102
+ }, Q = async () => {
94
103
  if (e.infiniteLoading)
95
104
  try {
96
- C.value = !0;
105
+ O.value = !0;
97
106
  const l = await e.loadMoreFn();
98
- C.value = !1, Array.isArray(l) && (a.value = [...a.value, ...l]);
107
+ O.value = !1, Array.isArray(l) && (a.value = [...a.value, ...l]);
99
108
  } catch (l) {
100
- C.value = !1, console.error("Error fetching data:", l);
109
+ O.value = !1, console.error("Error fetching data:", l);
101
110
  }
102
- }, x = ue(
103
- A,
111
+ }, V = de(
112
+ L,
104
113
  e.fetchDataDebounceTime
105
114
  ), b = (l) => {
106
- l.length >= e.minCharsToStart ? (x(l), k.value?.scrollTo(0)) : e.infiniteLoading && u.value.multi ? a.value = K.value || [] : a.value = [];
107
- }, P = () => {
108
- r.value && a.value.length && !d.value && !u.value.multi ? a.value[0].conditionalOptions ? a.value[0] = {
115
+ l.length >= e.minCharsToStart ? (V(l), N.value?.scrollTo(0)) : e.infiniteLoading && n.value.multi ? a.value = K.value || [] : a.value = [];
116
+ }, $ = () => {
117
+ r.value && a.value.length && !d.value && !n.value.multi ? a.value[0].conditionalOptions ? a.value[0] = {
109
118
  [e.optionNameKey]: r.value,
110
119
  conditionalOptions: !0,
111
- conditionalName: u.value.label,
120
+ conditionalName: n.value.label,
112
121
  [e.comparingKey]: r.value
113
122
  } : a.value = [
114
123
  {
115
124
  [e.optionNameKey]: r.value,
116
125
  conditionalOptions: !0,
117
- conditionalName: u.value.label,
126
+ conditionalName: n.value.label,
118
127
  [e.comparingKey]: r.value
119
128
  },
120
129
  ...a.value
121
130
  ] : a.value.length && a.value[0].conditionalOptions && a.value.shift();
122
- }, N = () => {
123
- p.value && i.value.length === 0 ? m.value = e.label : m.value = `${e.label} ${u.value.label.toLowerCase()}`;
131
+ }, k = () => {
132
+ p.value && i.value.length === 0 ? h.value = e.label : h.value = `${e.label} ${n.value.label.toLowerCase()}`;
124
133
  };
125
- O(r, () => {
134
+ m(r, () => {
126
135
  b(r.value);
127
- }), O([u, a], () => {
128
- P();
129
- }), O(
136
+ }), m([n, a], () => {
137
+ $();
138
+ }), m(
130
139
  () => e.loadingOverride,
131
- (l, o) => {
132
- !l && o && !e.infiniteLoading && A(e.searchQuery);
140
+ (l, t) => {
141
+ !l && t && !e.infiniteLoading && L(e.searchQuery);
133
142
  }
134
143
  );
135
- const Q = () => {
136
- p.value && i.value.length === 0 ? (u.value = null, S.value = [], u.value = null) : (B.value = r.value, S.value = p.value ? [...i.value] : { ...i.value }, T.value = p.value), N();
144
+ const x = () => {
145
+ p.value && i.value.length === 0 ? (y.value = [], n.value = null) : (U.value = r.value, y.value = p.value ? [...i.value] : { ...i.value }, D.value = p.value), g("update:selectedCondition", n.value), k();
137
146
  };
138
- O(u, (l, o) => {
139
- u.value.multi ? (d.value = !0, !o.multi && l.multi && (Array.isArray(e.appliedSelections) ? i.value = e.appliedSelections : i.value = [e.appliedSelections]), setTimeout(() => {
147
+ m(n, (l, t) => {
148
+ n.value.multi ? (d.value = !0, !t.multi && l.multi && (Array.isArray(e.appliedSelections) ? i.value = e.appliedSelections : i.value = [e.appliedSelections]), setTimeout(() => {
140
149
  d.value = !1, p.value = !0;
141
- }, 100)) : (!o.multi && !l.multi && (d.value = !0), setTimeout(() => {
142
- !o.multi && !l.multi && (d.value = !1), p.value = !1;
150
+ }, 100)) : (!t.multi && !l.multi && (d.value = !0), setTimeout(() => {
151
+ !t.multi && !l.multi && (d.value = !1), p.value = !1;
143
152
  }, 100));
153
+ }), m(y, () => {
154
+ i.value = A();
144
155
  });
145
- const V = (l) => {
156
+ const P = (l) => {
146
157
  K.value = l;
147
158
  }, R = () => {
148
- i.value = [], S.value = [], u.value = null, m.value = e.label, r.value = "", h("clear");
159
+ i.value = [], y.value = [], n.value = null, g("update:selectedCondition", null), h.value = e.label, r.value = "", g("clear");
149
160
  }, z = (l) => {
150
- l && u.value.multi && e.infiniteLoading && i.value && (a.value = i.value, r.value && b(r.value));
161
+ n.value === null && (n.value = e.conditionalOptions[0]), l && n.value.multi && e.infiniteLoading && i.value && (a.value = i.value, r.value && b(r.value));
151
162
  };
152
- q(() => {
153
- (e.searchQuery || !e.infiniteLoading || e.minCharsToStart === 0) && b(e.searchQuery), e.appliedSelections && Array.isArray(e.appliedSelections) && (a.value = e.appliedSelections, i.value = e.appliedSelections, K.value = e.appliedSelections), N();
163
+ G(() => {
164
+ (e.searchQuery || !e.infiniteLoading || e.minCharsToStart === 0) && b(e.searchQuery), e.appliedSelections && Array.isArray(e.appliedSelections) && (a.value = e.appliedSelections, i.value = e.appliedSelections, K.value = e.appliedSelections), k();
154
165
  });
155
- const $ = () => {
156
- h("closed");
166
+ const j = () => {
167
+ g("closed");
157
168
  };
158
- return (l, o) => (D(), G(c(F), {
169
+ return (l, t) => (F(), H(c(B), {
159
170
  ref_key: "dropdownRef",
160
- ref: k,
171
+ ref: N,
161
172
  selected: i.value,
162
- "onUpdate:selected": o[2] || (o[2] = (t) => i.value = t),
173
+ "onUpdate:selected": t[2] || (t[2] = (o) => i.value = o),
163
174
  "predefined-trigger": "chip",
164
- "display-value": (t) => t?.[n.optionNameKey],
175
+ "display-value": (o) => o?.[u.optionNameKey],
165
176
  multi: p.value,
166
177
  options: a.value,
167
- placeholder: m.value,
178
+ placeholder: h.value,
168
179
  "search-placeholder": "Search",
169
- "option-name-key": n.optionNameKey,
180
+ "option-name-key": u.optionNameKey,
170
181
  "with-conditions": "",
171
182
  "inline-search": "",
172
- "custom-number-of-displayed-options": c(I),
183
+ "custom-number-of-displayed-options": c(M),
173
184
  "options-list-width": "330px",
174
- loading: d.value || n.loadingOverride,
175
- "load-more-loading": C.value,
176
- "comparing-key": n.comparingKey,
177
- "is-open": n.isOpen,
178
- "infinite-loading": n.infiniteLoading,
179
- "show-select-all": !n.infiniteLoading && !r.value,
180
- "grouped-options": n.groupedOptions,
181
- "option-flag-key": n.optionFlagKey,
182
- "option-image-key": n.optionImageKey,
183
- "option-icon-key": n.optionIconKey,
184
- "option-icon-type": n.optionIconType,
185
- "trigger-shown-values-count": n.triggerShownValuesCount,
185
+ loading: d.value || u.loadingOverride,
186
+ "load-more-loading": O.value,
187
+ "comparing-key": u.comparingKey,
188
+ "is-open": u.isOpen,
189
+ "infinite-loading": u.infiniteLoading,
190
+ "show-select-all": !u.infiniteLoading && !r.value,
191
+ "grouped-options": u.groupedOptions,
192
+ "option-flag-key": u.optionFlagKey,
193
+ "option-image-key": u.optionImageKey,
194
+ "option-icon-key": u.optionIconKey,
195
+ "option-icon-type": u.optionIconType,
196
+ "trigger-shown-values-count": u.triggerShownValuesCount,
186
197
  "onUpdate:isOpen": z,
187
198
  onOnsearch: b,
188
- onApply: Q,
189
- onLoadMore: E,
190
- onUnsavedSelectionUpdate: V,
191
- onClosed: $
192
- }, {
193
- "dropdown-trigger": f(({ defaultTriggerProps: t }) => [
194
- y(c(te), H(t, {
195
- label: m.value,
196
- "selected-option": c(S),
197
- multi: T.value,
199
+ onApply: x,
200
+ onLoadMore: Q,
201
+ onUnsavedSelectionUpdate: P,
202
+ onClosed: j
203
+ }, J({
204
+ "dropdown-trigger": v(({ defaultTriggerProps: o }) => [
205
+ C(c(ie), X(o, {
206
+ label: h.value,
207
+ "selected-option": c(y),
208
+ multi: D.value,
198
209
  "cancel-all-selected-display": "",
199
210
  "display-value-in-quotes": !Array.isArray(i.value) && i.value.conditionalOptions,
200
- "shown-values-count": n.triggerShownValuesCount,
211
+ "shown-values-count": u.triggerShownValuesCount,
201
212
  onClear: R
202
213
  }), null, 16, ["label", "selected-option", "multi", "display-value-in-quotes", "shown-values-count"])
203
214
  ]),
204
- "dropdown-conditions": f(() => [
205
- J("div", re, [
206
- y(c(F), {
207
- selected: c(u),
208
- "onUpdate:selected": o[0] || (o[0] = (t) => X(u) ? u.value = t : null),
209
- options: n.conditionalOptions,
215
+ "dropdown-conditions": v(() => [
216
+ Y("div", ce, [
217
+ C(c(B), {
218
+ selected: c(n),
219
+ "onUpdate:selected": t[0] || (t[0] = (o) => Z(n) ? n.value = o : null),
220
+ options: u.conditionalOptions,
210
221
  "option-name-key": "label",
211
- "display-value": (t) => t?.label,
222
+ "display-value": (o) => o?.label,
212
223
  container: ".conditional-container",
213
224
  size: "small"
214
225
  }, {
215
- "dropdown-trigger": f(({ buttonTriggerProps: t }) => [
216
- y(c(ae), Y(Z(t)), null, 16)
226
+ "dropdown-trigger": v(({ buttonTriggerProps: o }) => [
227
+ C(c(ue), _(ee(o)), null, 16)
217
228
  ]),
218
229
  _: 1
219
230
  }, 8, ["selected", "options", "display-value"])
220
231
  ])
221
232
  ]),
222
- "inline-search": f(() => [
223
- y(c(ne), {
233
+ "inline-search": v(() => [
234
+ C(c(re), {
224
235
  modelValue: r.value,
225
- "onUpdate:modelValue": o[1] || (o[1] = (t) => r.value = t),
236
+ "onUpdate:modelValue": t[1] || (t[1] = (o) => r.value = o),
226
237
  class: "inline-search",
227
238
  placeholder: "Search",
228
239
  variant: "transparent",
229
240
  size: "md",
230
- "auto-focus": n.autoFocusSearch
241
+ "auto-focus": u.autoFocusSearch
231
242
  }, null, 8, ["modelValue", "auto-focus"])
232
243
  ]),
233
- "custom-list-area": f(() => [
234
- !a.value.length && !d.value ? (D(), _("div", se, [
235
- y(ie, { variant: "body1" }, {
236
- default: f(() => [
237
- ee(le(c(U)), 1)
244
+ "custom-list-area": v(() => [
245
+ !a.value.length && !d.value ? (F(), le("div", pe, [
246
+ C(se, { variant: "body1" }, {
247
+ default: v(() => [
248
+ oe(te(c(I)), 1)
238
249
  ]),
239
250
  _: 1
240
251
  })
241
- ])) : oe("", !0)
252
+ ])) : ae("", !0)
242
253
  ]),
243
- _: 1
244
- }, 8, ["selected", "display-value", "multi", "options", "placeholder", "option-name-key", "custom-number-of-displayed-options", "loading", "load-more-loading", "comparing-key", "is-open", "infinite-loading", "show-select-all", "grouped-options", "option-flag-key", "option-image-key", "option-icon-key", "option-icon-type", "trigger-shown-values-count"]));
254
+ _: 2
255
+ }, [
256
+ l.$slots["option-end"] ? {
257
+ name: "option-end",
258
+ fn: v(({ option: o }) => [
259
+ ne(l.$slots, "option-end", { option: o }, void 0, !0)
260
+ ]),
261
+ key: "0"
262
+ } : void 0
263
+ ]), 1032, ["selected", "display-value", "multi", "options", "placeholder", "option-name-key", "custom-number-of-displayed-options", "loading", "load-more-loading", "comparing-key", "is-open", "infinite-loading", "show-select-all", "grouped-options", "option-flag-key", "option-image-key", "option-icon-key", "option-icon-type", "trigger-shown-values-count"]));
245
264
  }
246
265
  });
247
266
  export {
248
- ke as default
267
+ Ne as default
249
268
  };
@@ -13,6 +13,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
13
13
  isOpen?: boolean;
14
14
  options: unknown[];
15
15
  showSelectAll?: boolean;
16
+ showClearAll?: boolean;
16
17
  defaultOpen?: boolean;
17
18
  keepOpen?: boolean;
18
19
  autoSize?: boolean;
@@ -59,6 +60,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
59
60
  groupedOptions?: boolean;
60
61
  comparingKey?: string;
61
62
  customNumberOfDisplayedOptions?: number;
63
+ optionTooltipPosition?: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
62
64
  theme?: string;
63
65
  fullWidth?: boolean;
64
66
  optionsListWidth?: string;
@@ -94,6 +96,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
94
96
  disableKeyboardEvents: boolean;
95
97
  testId: string;
96
98
  showSelectAll: boolean;
99
+ showClearAll: boolean;
97
100
  dynamicFilterMode: boolean;
98
101
  minSelections: number;
99
102
  maxSelections: any;
@@ -122,6 +125,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
122
125
  groupedOptions: boolean;
123
126
  comparingKey: any;
124
127
  customNumberOfDisplayedOptions: any;
128
+ optionTooltipPosition: string;
125
129
  fullWidth: boolean;
126
130
  optionsListWidth: any;
127
131
  statusType: any;
@@ -159,6 +163,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
159
163
  isOpen?: boolean;
160
164
  options: unknown[];
161
165
  showSelectAll?: boolean;
166
+ showClearAll?: boolean;
162
167
  defaultOpen?: boolean;
163
168
  keepOpen?: boolean;
164
169
  autoSize?: boolean;
@@ -205,6 +210,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
205
210
  groupedOptions?: boolean;
206
211
  comparingKey?: string;
207
212
  customNumberOfDisplayedOptions?: number;
213
+ optionTooltipPosition?: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
208
214
  theme?: string;
209
215
  fullWidth?: boolean;
210
216
  optionsListWidth?: string;
@@ -240,6 +246,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
240
246
  disableKeyboardEvents: boolean;
241
247
  testId: string;
242
248
  showSelectAll: boolean;
249
+ showClearAll: boolean;
243
250
  dynamicFilterMode: boolean;
244
251
  minSelections: number;
245
252
  maxSelections: any;
@@ -268,6 +275,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
268
275
  groupedOptions: boolean;
269
276
  comparingKey: any;
270
277
  customNumberOfDisplayedOptions: any;
278
+ optionTooltipPosition: string;
271
279
  fullWidth: boolean;
272
280
  optionsListWidth: any;
273
281
  statusType: any;
@@ -307,6 +315,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
307
315
  multi: boolean;
308
316
  infiniteLoading: boolean;
309
317
  showSelectAll: boolean;
318
+ showClearAll: boolean;
310
319
  defaultOpen: boolean;
311
320
  keepOpen: boolean;
312
321
  autoSize: boolean;
@@ -344,6 +353,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
344
353
  groupedOptions: boolean;
345
354
  comparingKey: string;
346
355
  customNumberOfDisplayedOptions: number;
356
+ optionTooltipPosition: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
347
357
  fullWidth: boolean;
348
358
  optionsListWidth: string;
349
359
  statusType: "default" | "disabled" | "success" | "warning" | "error" | "archive";
@@ -1,8 +1,8 @@
1
1
  import o from "./DropdownV4.vue2.js";
2
- /* empty css *//* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_92ead583_lang.css"; //*');
2
+ /* empty css *//* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_55dd36a7_lang.css"; //*');
4
4
  // import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; //');
5
- const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-92ead583"]]);
5
+ const d = /* @__PURE__ */ _(o, [["__scopeId", "data-v-55dd36a7"]]);
6
6
  export {
7
- r as default
7
+ d as default
8
8
  };