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

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 (183) hide show
  1. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_0123c361_lang.css +1 -0
  2. package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_0198fee8_lang.css +1 -0
  3. package/ButtonV4.vue_vue_type_style_index_0_scoped_d7948c77_lang.css +1 -0
  4. package/Chart.vue_vue_type_style_index_0_scoped_64205c96_lang.css +1 -0
  5. package/ChartHeader.vue_vue_type_style_index_0_scoped_da34b108_lang.css +1 -0
  6. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_79dc2883_lang.css +1 -0
  7. package/ChartLegend.vue_vue_type_style_index_0_scoped_fd9e4ea2_lang.css +1 -0
  8. package/ChartPlane.vue_vue_type_style_index_0_scoped_903fc6ae_lang.css +1 -0
  9. package/ChartTooltip.vue_vue_type_style_index_0_scoped_e53c6287_lang.css +1 -0
  10. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_8d5521da_lang.css +1 -0
  11. package/DataGrid.vue_vue_type_style_index_0_scoped_86ea5d2a_lang.css +1 -0
  12. package/DateRangeV4.vue_vue_type_style_index_0_scoped_a849128a_lang.css +1 -0
  13. package/DialogV4.vue_vue_type_style_index_0_scoped_eb226e31_lang.css +1 -0
  14. package/DropdownV4.vue_vue_type_style_index_0_scoped_08cb822e_lang.css +1 -0
  15. package/FieldLabel.vue_vue_type_style_index_0_scoped_921d4087_lang.css +1 -0
  16. package/FormRow.vue_vue_type_style_index_0_scoped_2d5a3057_lang.css +1 -0
  17. package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_lang.css +1 -0
  18. package/OptionV4.vue_vue_type_style_index_0_scoped_9cdf3a94_lang.css +1 -0
  19. package/SettingsHeader.vue_vue_type_style_index_0_scoped_01f78cd7_lang.css +1 -0
  20. package/SubHeader.vue_vue_type_style_index_0_scoped_e6008b6c_lang.css +1 -0
  21. package/Tooltip.vue_vue_type_style_index_0_scoped_20630944_lang.css +1 -0
  22. package/TooltipHeader.vue_vue_type_style_index_0_scoped_3b15c693_lang.css +1 -0
  23. package/TooltipV4.vue_vue_type_style_index_0_scoped_bcb40ed4_lang.css +1 -0
  24. package/TreeDropdown.vue_vue_type_style_index_0_scoped_4ba9e4bd_lang.css +1 -0
  25. package/components/appIcon/index.d.ts +3 -3
  26. package/components/banner/Banner.vue.d.ts +3 -3
  27. package/components/banner/index.d.ts +7 -7
  28. package/components/button/common/consts.d.ts +1 -0
  29. package/components/button/v3/Button.vue.d.ts +3 -3
  30. package/components/button/v3/ButtonBase.vue.d.ts +3 -3
  31. package/components/button/v3/IconButton.vue.d.ts +3 -3
  32. package/components/button/v3/index.d.ts +14 -14
  33. package/components/button/v4/ButtonV4.vue.d.ts +4 -3
  34. package/components/button/v4/ButtonV4.vue.js +3 -3
  35. package/components/button/v4/ButtonV4.vue2.js +1 -1
  36. package/components/chart/Chart.vue.d.ts +149 -38
  37. package/components/chart/Chart.vue.js +3 -3
  38. package/components/chart/Chart.vue2.js +145 -297
  39. package/components/chart/ChartHeader.vue.d.ts +45 -11
  40. package/components/chart/ChartHeader.vue.js +3 -3
  41. package/components/chart/ChartHeader.vue2.js +64 -53
  42. package/components/chart/ChartHeaderTrend.vue.d.ts +48 -0
  43. package/components/chart/ChartHeaderTrend.vue.js +7 -0
  44. package/components/chart/ChartHeaderTrend.vue2.js +95 -0
  45. package/components/chart/ChartLegend.vue.d.ts +24 -0
  46. package/components/chart/ChartLegend.vue.js +3 -3
  47. package/components/chart/ChartLegend.vue2.js +82 -63
  48. package/components/chart/ChartPlane.vue.d.ts +221 -0
  49. package/components/chart/ChartPlane.vue.js +7 -0
  50. package/components/chart/ChartPlane.vue2.js +368 -0
  51. package/components/chart/ChartStoryArgs.d.ts +179 -0
  52. package/components/chart/ChartTooltip.vue.d.ts +22 -2
  53. package/components/chart/ChartTooltip.vue.js +2 -2
  54. package/components/chart/ChartTooltip.vue2.js +50 -55
  55. package/components/chart/LegendSorting.vue.d.ts +37 -0
  56. package/components/chart/LegendSorting.vue.js +45 -0
  57. package/components/chart/LegendSorting.vue2.js +4 -0
  58. package/components/chart/SettingsHeader.vue.d.ts +1 -0
  59. package/components/chart/SettingsHeader.vue.js +3 -3
  60. package/components/chart/SettingsHeader.vue2.js +17 -16
  61. package/components/chart/SubHeader.vue.d.ts +52 -0
  62. package/components/chart/SubHeader.vue.js +7 -0
  63. package/components/chart/SubHeader.vue2.js +61 -0
  64. package/components/chart/TooltipHeader.vue.d.ts +50 -0
  65. package/components/chart/TooltipHeader.vue.js +7 -0
  66. package/components/chart/TooltipHeader.vue2.js +69 -0
  67. package/components/chart/colorPalette.d.ts +4 -0
  68. package/components/chart/colorPalette.js +54 -0
  69. package/components/chart/composables/useChartHeight.d.ts +5 -0
  70. package/components/chart/composables/useChartHeight.js +24 -0
  71. package/components/chart/composables/useColorsMap.d.ts +10 -0
  72. package/components/chart/composables/useColorsMap.js +46 -0
  73. package/components/chart/composables/useTooltipPosition.d.ts +1 -1
  74. package/components/chart/composables/useTooltipPosition.js +11 -15
  75. package/components/chart/consts.d.ts +29 -7
  76. package/components/chart/consts.js +41 -21
  77. package/components/chart/index.d.ts +515 -118
  78. package/components/chart/mockData.d.ts +44 -5
  79. package/components/chart/types.d.ts +37 -6
  80. package/components/chart/types.js +5 -2
  81. package/components/chart/utils/formatNumber.d.ts +0 -1
  82. package/components/chart/utils/highlightUtils.d.ts +3 -0
  83. package/components/chart/utils/highlightUtils.js +18 -0
  84. package/components/chart/utils/utils.d.ts +3 -2
  85. package/components/chart/utils/utils.js +23 -8
  86. package/components/checkbox/v3/Checkbox.vue.d.ts +3 -3
  87. package/components/checkbox/v3/index.d.ts +7 -7
  88. package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
  89. package/components/dateRange/v4/DateRangeV4.vue2.js +1 -1
  90. package/components/dialog/v4/DialogV4.vue.d.ts +4 -3
  91. package/components/dialog/v4/DialogV4.vue.js +4 -4
  92. package/components/dialog/v4/DialogV4.vue2.js +1 -1
  93. package/components/dialog/v4/index.d.ts +7 -7
  94. package/components/dropdown/common/Dropdown.common.js +92 -85
  95. package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +2 -2
  96. package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +1 -1
  97. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue.js +2 -2
  98. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue2.js +1 -1
  99. package/components/dropdown/v4/ConditionalDropdown.vue.js +3 -3
  100. package/components/dropdown/v4/ConditionalDropdown.vue2.js +76 -76
  101. package/components/dropdown/v4/DropdownV4.vue.d.ts +8 -0
  102. package/components/dropdown/v4/DropdownV4.vue.js +4 -4
  103. package/components/dropdown/v4/DropdownV4.vue2.js +105 -95
  104. package/components/dropdown/v4/IconButtonDropdownTrigger.vue.d.ts +11 -0
  105. package/components/dropdown/v4/IconButtonDropdownTrigger.vue.js +4 -4
  106. package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +12 -10
  107. package/components/dropdown/v4/OptionV4.vue.d.ts +8 -0
  108. package/components/dropdown/v4/OptionV4.vue.js +3 -3
  109. package/components/dropdown/v4/OptionV4.vue2.js +91 -69
  110. package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
  111. package/components/dropdown/v4/TreeDropdown.vue2.js +68 -73
  112. package/components/dropdown/v4/index.d.ts +64 -2
  113. package/components/emptyState/v4/EmptyStateV4.vue.d.ts +3 -3
  114. package/components/emptyState/v4/index.d.ts +7 -7
  115. package/components/forms/FormRow.vue.d.ts +9 -2
  116. package/components/forms/FormRow.vue.js +3 -3
  117. package/components/forms/FormRow.vue2.js +25 -14
  118. package/components/forms/index.d.ts +25 -5
  119. package/components/search/v3/index.d.ts +3 -3
  120. package/components/shared/FieldLabel.vue.d.ts +19 -7
  121. package/components/shared/FieldLabel.vue.js +3 -3
  122. package/components/shared/FieldLabel.vue2.js +50 -37
  123. package/components/table/v4/DataGrid.vue.d.ts +4 -3
  124. package/components/table/v4/DataGrid.vue.js +4 -4
  125. package/components/table/v4/DataGrid.vue2.js +151 -142
  126. package/components/table/v4/MultipleDataGrid.vue.d.ts +3 -3
  127. package/components/table/v4/index.d.ts +15 -14
  128. package/components/tabs/v3/Tabs.vue.d.ts +3 -3
  129. package/components/tabs/v3/index.d.ts +7 -7
  130. package/components/tooltip/common/Tooltip.types.d.ts +1 -0
  131. package/components/tooltip/v3/Tooltip.vue.d.ts +4 -4
  132. package/components/tooltip/v3/Tooltip.vue.js +2 -2
  133. package/components/tooltip/v3/Tooltip.vue2.js +1 -1
  134. package/components/tooltip/v3/index.d.ts +7 -7
  135. package/components/tooltip/v4/TooltipV4.vue.d.ts +4 -4
  136. package/components/tooltip/v4/TooltipV4.vue.js +2 -2
  137. package/components/tooltip/v4/TooltipV4.vue2.js +1 -1
  138. package/components/tooltip/v4/index.d.ts +7 -7
  139. package/components/typography/Text.vue.d.ts +3 -3
  140. package/components/typography/index.d.ts +7 -7
  141. package/composables/useFormValidation.d.ts +1 -0
  142. package/composables/useFormValidation.js +32 -27
  143. package/composables/useFullPageHeight.d.ts +10 -0
  144. package/composables/useFullPageHeight.js +15 -0
  145. package/consts/common.d.ts +1 -0
  146. package/consts/common.js +4 -0
  147. package/consts/regex.d.ts +1 -0
  148. package/consts/regex.js +2 -1
  149. package/index.d.ts +211 -81
  150. package/index.js +106 -100
  151. package/package.json +1 -1
  152. package/testids/index.d.ts +2 -1
  153. package/testids/index.js +10 -10
  154. package/utils/formatNumbers.d.ts +1 -1
  155. package/utils/formatNumbers.js +19 -6
  156. package/utils/index.js +7 -0
  157. package/utils/text.d.ts +3 -0
  158. package/utils/text.js +24 -5
  159. package/utils/totals.d.ts +5 -0
  160. package/utils/totals.js +9 -0
  161. package/utils/utils.d.ts +1 -0
  162. package/utils/utils.js +4 -0
  163. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_604dfc6f_lang.css +0 -1
  164. package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_ea1c4589_lang.css +0 -1
  165. package/ButtonV4.vue_vue_type_style_index_0_scoped_bdfce3aa_lang.css +0 -1
  166. package/Chart.vue_vue_type_style_index_0_scoped_a641383a_lang.css +0 -1
  167. package/ChartHeader.vue_vue_type_style_index_0_scoped_b8213498_lang.css +0 -1
  168. package/ChartLegend.vue_vue_type_style_index_0_scoped_4fe1c7d1_lang.css +0 -1
  169. package/ChartTooltip.vue_vue_type_style_index_0_scoped_6744325c_lang.css +0 -1
  170. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_3a2aeea3_lang.css +0 -1
  171. package/DataGrid.vue_vue_type_style_index_0_scoped_020072b0_lang.css +0 -1
  172. package/DateRangeV4.vue_vue_type_style_index_0_scoped_8a2714eb_lang.css +0 -1
  173. package/DialogV4.vue_vue_type_style_index_0_scoped_37da643b_lang.css +0 -1
  174. package/DropdownV4.vue_vue_type_style_index_0_scoped_d154c5da_lang.css +0 -1
  175. package/FieldLabel.vue_vue_type_style_index_0_scoped_96ee1c98_lang.css +0 -1
  176. package/FormRow.vue_vue_type_style_index_0_scoped_fc3897fd_lang.css +0 -1
  177. package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_59fb505a_lang.css +0 -1
  178. package/OptionV4.vue_vue_type_style_index_0_scoped_1e8837dc_lang.css +0 -1
  179. package/SettingsHeader.vue_vue_type_style_index_0_scoped_9b6cd9d9_lang.css +0 -1
  180. package/Tooltip.vue_vue_type_style_index_0_scoped_9020a179_lang.css +0 -1
  181. package/TooltipV4.vue_vue_type_style_index_0_scoped_66eab856_lang.css +0 -1
  182. package/TreeDropdown.vue_vue_type_style_index_0_scoped_b883d1fa_lang.css +0 -1
  183. package/components/chart/utils/formatNumber.js +0 -11
@@ -1,4 +1,4 @@
1
- import "../../../ConditionalDropdown.vue_vue_type_style_index_0_scoped_3a2aeea3_lang.css"; import { defineComponent as W, computed as O, ref as s, watch as K, onMounted as q, openBlock as D, createBlock as G, unref as d, withCtx as f, createVNode as g, 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";
1
+ import "../../../ConditionalDropdown.vue_vue_type_style_index_0_scoped_8d5521da_lang.css"; import { defineComponent as W, computed as O, ref as s, watch as K, onMounted as q, openBlock as D, createBlock as G, unref as c, withCtx as f, createVNode as g, 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
2
  import F from "./DropdownV4.vue.js";
3
3
  import "./DefaultDropdownTrigger.vue.js";
4
4
  import "./IconButtonDropdownTrigger.vue.js";
@@ -15,7 +15,7 @@ import { useDebounceFn as ue } from "@vueuse/core";
15
15
  const re = { class: "conditional-container" }, se = {
16
16
  key: 0,
17
17
  class: "custom-list-area"
18
- }, we = /* @__PURE__ */ W({
18
+ }, Te = /* @__PURE__ */ W({
19
19
  __name: "ConditionalDropdown",
20
20
  props: {
21
21
  selectedCondition: null,
@@ -55,122 +55,122 @@ const re = { class: "conditional-container" }, se = {
55
55
  }), L = () => {
56
56
  const { appliedSelections: l } = e;
57
57
  return l ? Array.isArray(l) ? l : [l] : [];
58
- }, w = s(null), c = s(!0), a = s([]), n = s(L()), T = s(!0), p = s(!1), C = s(!1), u = s(e.searchQuery), B = s(""), m = s(e.label), k = s([]), U = O(() => (!u.value || u.value?.length < e.minCharsToStart) && !a.value.length ? `Enter at least ${e.minCharsToStart} characters to begin` : "No results found"), I = O(() => {
59
- const l = c.value ? 4 : 4.5, t = a.value.length > 4 ? a.value.length : l;
58
+ }, T = s(null), p = s(!0), t = s([]), n = s(L()), A = s(!0), d = s(!1), C = s(!1), u = s(e.searchQuery), B = s(""), m = s(e.label), k = s([]), U = O(() => (!u.value || u.value?.length < e.minCharsToStart) && !t.value.length ? `Enter at least ${e.minCharsToStart} characters to begin` : "No results found"), I = O(() => {
59
+ const l = p.value ? 4 : 4.5, o = t.value.length > 4 ? t.value.length : l;
60
60
  if (e.groupedOptions) {
61
- let o = 0;
62
- return a.value.forEach((y) => {
63
- y.options && (o = o + y.options.length);
64
- }), o > 4 ? o : l;
61
+ let a = 0;
62
+ return t.value.forEach((y) => {
63
+ y.options && (a = a + y.options.length);
64
+ }), a > 4 ? a : l;
65
65
  }
66
- return t > l ? t : l;
67
- }), M = (l, t) => {
68
- if (e.infiniteLoading && i.value.multi && Array.isArray(n.value) && n.value.length && l && t.length) {
69
- const o = [], y = n.value.filter(
66
+ return o > l ? o : l;
67
+ }), M = (l, o) => {
68
+ if (e.infiniteLoading && i.value.multi && Array.isArray(n.value) && n.value.length && l && o.length) {
69
+ const a = [], y = n.value.filter(
70
70
  (v) => v[e.optionNameKey].includes(l)
71
71
  );
72
- return t.forEach((v) => {
72
+ return o.forEach((v) => {
73
73
  y.find(
74
74
  (j) => j[e.comparingKey] === v[e.comparingKey]
75
- ) && o.push(v[e.comparingKey]);
75
+ ) && a.push(v[e.comparingKey]);
76
76
  }), y.filter(
77
- (v) => !o.includes(v[e.comparingKey])
77
+ (v) => !a.includes(v[e.comparingKey])
78
78
  );
79
79
  }
80
80
  return [];
81
- }, A = async (l) => {
81
+ }, w = async (l) => {
82
82
  try {
83
- p.value = !0;
84
- const t = await e.fetchFnCallback(l), o = M(
83
+ d.value = !0;
84
+ const o = await e.fetchFnCallback(l), a = M(
85
85
  l,
86
- t
86
+ o
87
87
  );
88
- a.value = [...o, ...t], p.value = !1;
89
- } catch (t) {
90
- p.value = !1, console.error("Error fetching data:", t);
88
+ t.value = [...a, ...o], d.value = !1;
89
+ } catch (o) {
90
+ d.value = !1, console.error("Error fetching data:", o);
91
91
  }
92
92
  }, E = async () => {
93
93
  if (e.infiniteLoading)
94
94
  try {
95
95
  C.value = !0;
96
96
  const l = await e.loadMoreFn();
97
- C.value = !1, Array.isArray(l) && (a.value = [...a.value, ...l]);
97
+ C.value = !1, Array.isArray(l) && (t.value = [...t.value, ...l]);
98
98
  } catch (l) {
99
99
  C.value = !1, console.error("Error fetching data:", l);
100
100
  }
101
- }, V = ue(
102
- A,
101
+ }, x = ue(
102
+ w,
103
103
  e.fetchDataDebounceTime
104
104
  ), b = (l) => {
105
- l.length >= e.minCharsToStart ? (V(l), w.value?.scrollTo(0)) : e.infiniteLoading && i.value.multi ? a.value = k.value || [] : a.value = [];
106
- }, x = () => {
107
- u.value && a.value.length && !p.value && !i.value.multi ? a.value[0].conditionalOptions ? a.value[0] = {
105
+ l.length >= e.minCharsToStart ? (x(l), T.value?.scrollTo(0)) : e.infiniteLoading && i.value.multi ? t.value = k.value || [] : t.value = [];
106
+ }, P = () => {
107
+ u.value && t.value.length && !d.value && !i.value.multi ? t.value[0].conditionalOptions ? t.value[0] = {
108
108
  [e.optionNameKey]: u.value,
109
109
  conditionalOptions: !0,
110
110
  conditionalName: i.value.label,
111
111
  [e.comparingKey]: u.value
112
- } : a.value = [
112
+ } : t.value = [
113
113
  {
114
114
  [e.optionNameKey]: u.value,
115
115
  conditionalOptions: !0,
116
116
  conditionalName: i.value.label,
117
117
  [e.comparingKey]: u.value
118
118
  },
119
- ...a.value
120
- ] : a.value.length && a.value[0].conditionalOptions && a.value.shift();
119
+ ...t.value
120
+ ] : t.value.length && t.value[0].conditionalOptions && t.value.shift();
121
121
  }, N = () => {
122
- c.value && n.value.length === 0 ? m.value = e.label : m.value = `${e.label} ${i.value.label.toLowerCase()}`;
122
+ p.value && n.value.length === 0 ? m.value = e.label : m.value = `${e.label} ${i.value.label.toLowerCase()}`;
123
123
  };
124
124
  K(u, () => {
125
125
  b(u.value);
126
- }), K([i, a], () => {
127
- x();
126
+ }), K([i, t], () => {
127
+ P();
128
128
  }), K(
129
129
  () => e.loadingOverride,
130
- (l, t) => {
131
- !l && t && !e.infiniteLoading && A(e.searchQuery);
130
+ (l, o) => {
131
+ !l && o && !e.infiniteLoading && w(e.searchQuery);
132
132
  }
133
133
  );
134
- const P = () => {
135
- c.value && n.value.length === 0 ? (i.value = null, S.value = [], i.value = null) : (B.value = u.value, S.value = c.value ? [...n.value] : { ...n.value }, T.value = c.value), N();
134
+ const Q = () => {
135
+ p.value && n.value.length === 0 ? (i.value = null, S.value = [], i.value = null) : (B.value = u.value, S.value = p.value ? [...n.value] : { ...n.value }, A.value = p.value), N();
136
136
  };
137
- K(i, (l, t) => {
138
- i.value.multi ? (p.value = !0, !t.multi && l.multi && (Array.isArray(e.appliedSelections) ? n.value = e.appliedSelections : n.value = [e.appliedSelections]), setTimeout(() => {
139
- p.value = !1, c.value = !0;
140
- }, 100)) : setTimeout(() => {
141
- c.value = !1;
142
- }, 100);
137
+ K(i, (l, o) => {
138
+ i.value.multi ? (d.value = !0, !o.multi && l.multi && (Array.isArray(e.appliedSelections) ? n.value = e.appliedSelections : n.value = [e.appliedSelections]), setTimeout(() => {
139
+ d.value = !1, p.value = !0;
140
+ }, 100)) : (!o.multi && !l.multi && (d.value = !0), setTimeout(() => {
141
+ !o.multi && !l.multi && (d.value = !1), p.value = !1;
142
+ }, 100));
143
143
  });
144
- const Q = (l) => {
144
+ const R = (l) => {
145
145
  k.value = l;
146
- }, R = () => {
146
+ }, z = () => {
147
147
  n.value = [], S.value = [], i.value = null, m.value = e.label, u.value = "", h("clear");
148
- }, z = (l) => {
149
- l && i.value.multi && e.infiniteLoading && n.value && (a.value = n.value, u.value && b(u.value));
148
+ }, V = (l) => {
149
+ l && i.value.multi && e.infiniteLoading && n.value && (t.value = n.value, u.value && b(u.value));
150
150
  };
151
151
  q(() => {
152
- (e.searchQuery || !e.infiniteLoading || e.minCharsToStart === 0) && b(e.searchQuery), e.appliedSelections && Array.isArray(e.appliedSelections) && (a.value = e.appliedSelections, n.value = e.appliedSelections, k.value = e.appliedSelections), N();
152
+ (e.searchQuery || !e.infiniteLoading || e.minCharsToStart === 0) && b(e.searchQuery), e.appliedSelections && Array.isArray(e.appliedSelections) && (t.value = e.appliedSelections, n.value = e.appliedSelections, k.value = e.appliedSelections), N();
153
153
  });
154
154
  const $ = () => {
155
155
  h("closed");
156
156
  };
157
- return (l, t) => (D(), G(d(F), {
157
+ return (l, o) => (D(), G(c(F), {
158
158
  ref_key: "dropdownRef",
159
- ref: w,
159
+ ref: T,
160
160
  selected: n.value,
161
- "onUpdate:selected": t[2] || (t[2] = (o) => n.value = o),
161
+ "onUpdate:selected": o[2] || (o[2] = (a) => n.value = a),
162
162
  "predefined-trigger": "chip",
163
- "display-value": (o) => o?.[r.optionNameKey],
164
- multi: c.value,
165
- options: a.value,
163
+ "display-value": (a) => a?.[r.optionNameKey],
164
+ multi: p.value,
165
+ options: t.value,
166
166
  placeholder: m.value,
167
167
  "search-placeholder": "Search",
168
168
  "option-name-key": r.optionNameKey,
169
169
  "with-conditions": "",
170
170
  "inline-search": "",
171
- "custom-number-of-displayed-options": d(I),
171
+ "custom-number-of-displayed-options": c(I),
172
172
  "options-list-width": "330px",
173
- loading: p.value || r.loadingOverride,
173
+ loading: d.value || r.loadingOverride,
174
174
  "load-more-loading": C.value,
175
175
  "comparing-key": r.comparingKey,
176
176
  "is-open": r.isOpen,
@@ -181,45 +181,45 @@ const re = { class: "conditional-container" }, se = {
181
181
  "option-image-key": r.optionImageKey,
182
182
  "option-icon-key": r.optionIconKey,
183
183
  "option-icon-type": r.optionIconType,
184
- "onUpdate:isOpen": z,
184
+ "onUpdate:isOpen": V,
185
185
  onOnsearch: b,
186
- onApply: P,
186
+ onApply: Q,
187
187
  onLoadMore: E,
188
- onUnsavedSelectionUpdate: Q,
188
+ onUnsavedSelectionUpdate: R,
189
189
  onClosed: $
190
190
  }, {
191
- "dropdown-trigger": f(({ defaultTriggerProps: o }) => [
192
- g(d(ae), H(o, {
191
+ "dropdown-trigger": f(({ defaultTriggerProps: a }) => [
192
+ g(c(ae), H(a, {
193
193
  label: m.value,
194
- "selected-option": d(S),
195
- multi: T.value,
194
+ "selected-option": c(S),
195
+ multi: A.value,
196
196
  "cancel-all-selected-display": "",
197
197
  "display-value-in-quotes": !Array.isArray(n.value) && n.value.conditionalOptions,
198
- onClear: R
198
+ onClear: z
199
199
  }), null, 16, ["label", "selected-option", "multi", "display-value-in-quotes"])
200
200
  ]),
201
201
  "dropdown-conditions": f(() => [
202
202
  J("div", re, [
203
- g(d(F), {
204
- selected: d(i),
205
- "onUpdate:selected": t[0] || (t[0] = (o) => X(i) ? i.value = o : null),
203
+ g(c(F), {
204
+ selected: c(i),
205
+ "onUpdate:selected": o[0] || (o[0] = (a) => X(i) ? i.value = a : null),
206
206
  options: r.conditionalOptions,
207
207
  "option-name-key": "label",
208
- "display-value": (o) => o?.label,
208
+ "display-value": (a) => a?.label,
209
209
  container: ".conditional-container",
210
210
  size: "small"
211
211
  }, {
212
- "dropdown-trigger": f(({ buttonTriggerProps: o }) => [
213
- g(d(te), Y(Z(o)), null, 16)
212
+ "dropdown-trigger": f(({ buttonTriggerProps: a }) => [
213
+ g(c(te), Y(Z(a)), null, 16)
214
214
  ]),
215
215
  _: 1
216
216
  }, 8, ["selected", "options", "display-value"])
217
217
  ])
218
218
  ]),
219
219
  "inline-search": f(() => [
220
- g(d(ne), {
220
+ g(c(ne), {
221
221
  modelValue: u.value,
222
- "onUpdate:modelValue": t[1] || (t[1] = (o) => u.value = o),
222
+ "onUpdate:modelValue": o[1] || (o[1] = (a) => u.value = a),
223
223
  class: "inline-search",
224
224
  placeholder: "Search",
225
225
  variant: "transparent",
@@ -228,10 +228,10 @@ const re = { class: "conditional-container" }, se = {
228
228
  }, null, 8, ["modelValue", "auto-focus"])
229
229
  ]),
230
230
  "custom-list-area": f(() => [
231
- !a.value.length && !p.value ? (D(), _("div", se, [
231
+ !t.value.length && !d.value ? (D(), _("div", se, [
232
232
  g(ie, { variant: "body1" }, {
233
233
  default: f(() => [
234
- ee(le(d(U)), 1)
234
+ ee(le(c(U)), 1)
235
235
  ]),
236
236
  _: 1
237
237
  })
@@ -242,5 +242,5 @@ const re = { class: "conditional-container" }, se = {
242
242
  }
243
243
  });
244
244
  export {
245
- we as default
245
+ Te as default
246
246
  };
@@ -48,6 +48,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
48
48
  optionEndIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
49
49
  optionsEndTextIconKey?: string;
50
50
  optionFlagKey?: string;
51
+ optionWarningKey?: string;
51
52
  valueToCopy?: string;
52
53
  disabledOptionKey?: string;
53
54
  optionTwoLinesVariant?: "horizontal" | "vertical";
@@ -107,6 +108,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
107
108
  optionEndIconType: any;
108
109
  optionsEndTextIconKey: any;
109
110
  optionFlagKey: any;
111
+ optionWarningKey: any;
110
112
  valueToCopy: any;
111
113
  disabledOptionKey: string;
112
114
  optionTwoLinesVariant: any;
@@ -186,6 +188,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
186
188
  optionEndIconType?: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
187
189
  optionsEndTextIconKey?: string;
188
190
  optionFlagKey?: string;
191
+ optionWarningKey?: string;
189
192
  valueToCopy?: string;
190
193
  disabledOptionKey?: string;
191
194
  optionTwoLinesVariant?: "horizontal" | "vertical";
@@ -245,6 +248,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
245
248
  optionEndIconType: any;
246
249
  optionsEndTextIconKey: any;
247
250
  optionFlagKey: any;
251
+ optionWarningKey: any;
248
252
  valueToCopy: any;
249
253
  disabledOptionKey: string;
250
254
  optionTwoLinesVariant: any;
@@ -318,6 +322,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
318
322
  optionEndIconType: "fill" | "bold" | "regular" | "branded" | "ad-unit" | "ab-test" | "ad-networks" | "ad-networks/flat" | "content-rate";
319
323
  optionsEndTextIconKey: string;
320
324
  optionFlagKey: string;
325
+ optionWarningKey: string;
321
326
  disabledOptionKey: string;
322
327
  optionTwoLinesVariant: "horizontal" | "vertical";
323
328
  optionTwoLinesKey: string;
@@ -384,6 +389,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
384
389
  active: boolean;
385
390
  disabled: any;
386
391
  }): any;
392
+ "option-end"?(_: {
393
+ option: any;
394
+ }): any;
387
395
  }>;
388
396
  export default _default;
389
397
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,8 +1,8 @@
1
1
  import o from "./DropdownV4.vue2.js";
2
- /* empty css *//* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_d154c5da_lang.css"; //*');
2
+ /* empty css *//* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_08cb822e_lang.css"; //*');
4
4
  // import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; //');
5
- const d = /* @__PURE__ */ _(o, [["__scopeId", "data-v-d154c5da"]]);
5
+ const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-08cb822e"]]);
6
6
  export {
7
- d as default
7
+ r as default
8
8
  };