@ironsource/shared-ui 2.1.12-rc.3 → 2.1.12-rc.30

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 (237) hide show
  1. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_adb49e50_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_852be7ec_lang.css +1 -0
  4. package/Chart.vue_vue_type_style_index_0_scoped_fa533a3d_lang.css +1 -0
  5. package/ChartHeader.vue_vue_type_style_index_0_scoped_af520313_lang.css +1 -0
  6. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_db8a902c_lang.css +1 -0
  7. package/ChartLegend.vue_vue_type_style_index_0_scoped_6103d8bd_lang.css +1 -0
  8. package/ChartPlane.vue_vue_type_style_index_0_scoped_4f67d41d_lang.css +1 -0
  9. package/ChartTooltip.vue_vue_type_style_index_0_scoped_3315b68f_lang.css +1 -0
  10. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_lang.css +1 -0
  11. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_f5204c04_lang.css +1 -0
  12. package/DataGrid.vue_vue_type_style_index_0_scoped_8e8df067_lang.css +1 -0
  13. package/DateRangeV4.vue_vue_type_style_index_0_scoped_a849128a_lang.css +1 -0
  14. package/DialogV4.vue_vue_type_style_index_0_scoped_eb226e31_lang.css +1 -0
  15. package/DropdownV4.vue_vue_type_style_index_0_scoped_55dd36a7_lang.css +1 -0
  16. package/FieldLabel.vue_vue_type_style_index_0_scoped_921d4087_lang.css +1 -0
  17. package/FormRow.vue_vue_type_style_index_0_scoped_2d5a3057_lang.css +1 -0
  18. package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_lang.css +1 -0
  19. package/Link.vue_vue_type_style_index_0_scoped_ad98fe7b_lang.css +1 -0
  20. package/OptionV4.vue_vue_type_style_index_0_scoped_0287cebf_lang.css +1 -0
  21. package/SettingsHeader.vue_vue_type_style_index_0_scoped_01f78cd7_lang.css +1 -0
  22. package/SubHeader.vue_vue_type_style_index_0_scoped_e6008b6c_lang.css +1 -0
  23. package/SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css +1 -0
  24. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_2076b5ab_lang.css +1 -0
  25. package/Tooltip.vue_vue_type_style_index_0_scoped_20630944_lang.css +1 -0
  26. package/TooltipHeader.vue_vue_type_style_index_0_scoped_3b15c693_lang.css +1 -0
  27. package/TooltipV4.vue_vue_type_style_index_0_scoped_bcb40ed4_lang.css +1 -0
  28. package/TreeDropdown.vue_vue_type_style_index_0_scoped_4ba9e4bd_lang.css +1 -0
  29. package/components/appIcon/index.d.ts +3 -3
  30. package/components/banner/Banner.vue.d.ts +3 -3
  31. package/components/banner/index.d.ts +7 -7
  32. package/components/button/common/consts.d.ts +1 -0
  33. package/components/button/v3/Button.vue.d.ts +3 -3
  34. package/components/button/v3/ButtonBase.vue.d.ts +3 -3
  35. package/components/button/v3/IconButton.vue.d.ts +3 -3
  36. package/components/button/v3/index.d.ts +14 -14
  37. package/components/button/v4/ButtonV4.vue.d.ts +5 -3
  38. package/components/button/v4/ButtonV4.vue.js +4 -4
  39. package/components/button/v4/ButtonV4.vue2.js +28 -27
  40. package/components/button/v4/ToggleButtonGroupAB.vue.js +3 -3
  41. package/components/button/v4/ToggleButtonGroupAB.vue2.js +40 -44
  42. package/components/chart/Chart.vue.d.ts +158 -37
  43. package/components/chart/Chart.vue.js +2 -2
  44. package/components/chart/Chart.vue2.js +150 -297
  45. package/components/chart/ChartHeader.vue.d.ts +50 -11
  46. package/components/chart/ChartHeader.vue.js +3 -3
  47. package/components/chart/ChartHeader.vue2.js +73 -54
  48. package/components/chart/ChartHeaderTrend.vue.d.ts +48 -0
  49. package/components/chart/ChartHeaderTrend.vue.js +7 -0
  50. package/components/chart/ChartHeaderTrend.vue2.js +96 -0
  51. package/components/chart/ChartLegend.vue.d.ts +24 -0
  52. package/components/chart/ChartLegend.vue.js +3 -3
  53. package/components/chart/ChartLegend.vue2.js +82 -63
  54. package/components/chart/ChartPlane.vue.d.ts +226 -0
  55. package/components/chart/ChartPlane.vue.js +7 -0
  56. package/components/chart/ChartPlane.vue2.js +370 -0
  57. package/components/chart/ChartStoryArgs.d.ts +184 -0
  58. package/components/chart/ChartTooltip.vue.d.ts +22 -2
  59. package/components/chart/ChartTooltip.vue.js +2 -2
  60. package/components/chart/ChartTooltip.vue2.js +50 -55
  61. package/components/chart/LegendSorting.vue.d.ts +37 -0
  62. package/components/chart/LegendSorting.vue.js +45 -0
  63. package/components/chart/LegendSorting.vue2.js +4 -0
  64. package/components/chart/SettingsHeader.vue.d.ts +1 -0
  65. package/components/chart/SettingsHeader.vue.js +3 -3
  66. package/components/chart/SettingsHeader.vue2.js +17 -16
  67. package/components/chart/SubHeader.vue.d.ts +52 -0
  68. package/components/chart/SubHeader.vue.js +7 -0
  69. package/components/chart/SubHeader.vue2.js +61 -0
  70. package/components/chart/TooltipHeader.vue.d.ts +50 -0
  71. package/components/chart/TooltipHeader.vue.js +7 -0
  72. package/components/chart/TooltipHeader.vue2.js +69 -0
  73. package/components/chart/colorPalette.d.ts +5 -0
  74. package/components/chart/colorPalette.js +68 -0
  75. package/components/chart/composables/useChartHeight.d.ts +5 -0
  76. package/components/chart/composables/useChartHeight.js +24 -0
  77. package/components/chart/composables/useColorsMap.d.ts +12 -0
  78. package/components/chart/composables/useColorsMap.js +48 -0
  79. package/components/chart/composables/useTooltipPosition.d.ts +1 -1
  80. package/components/chart/composables/useTooltipPosition.js +11 -15
  81. package/components/chart/consts.d.ts +29 -7
  82. package/components/chart/consts.js +41 -21
  83. package/components/chart/index.d.ts +554 -119
  84. package/components/chart/mockData.d.ts +44 -5
  85. package/components/chart/types.d.ts +38 -6
  86. package/components/chart/types.js +5 -2
  87. package/components/chart/utils/formatNumber.d.ts +0 -1
  88. package/components/chart/utils/highlightUtils.d.ts +3 -0
  89. package/components/chart/utils/highlightUtils.js +18 -0
  90. package/components/chart/utils/utils.d.ts +3 -3
  91. package/components/chart/utils/utils.js +19 -10
  92. package/components/checkbox/v3/Checkbox.vue.d.ts +3 -3
  93. package/components/checkbox/v3/index.d.ts +7 -7
  94. package/components/dateRange/common/DateRange.common.js +81 -75
  95. package/components/dateRange/common/DateServices.common.d.ts +7 -1
  96. package/components/dateRange/common/DateServices.common.js +88 -92
  97. package/components/dateRange/common/consts.common.d.ts +5 -0
  98. package/components/dateRange/common/consts.common.js +9 -3
  99. package/components/dateRange/v3/DateRange.vue.d.ts +3 -3
  100. package/components/dateRange/v3/DateRangePicker.vue.d.ts +3 -3
  101. package/components/dateRange/v3/index.d.ts +7 -7
  102. package/components/dateRange/v4/DateRangePickerV4.vue.d.ts +3 -3
  103. package/components/dateRange/v4/DateRangeV4.vue.d.ts +3 -3
  104. package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
  105. package/components/dateRange/v4/DateRangeV4.vue2.js +1 -1
  106. package/components/dateRange/v4/index.d.ts +7 -7
  107. package/components/dialog/v4/DialogV4.vue.d.ts +4 -3
  108. package/components/dialog/v4/DialogV4.vue.js +4 -4
  109. package/components/dialog/v4/DialogV4.vue2.js +1 -1
  110. package/components/dialog/v4/index.d.ts +7 -7
  111. package/components/dropdown/common/Dropdown.common.d.ts +1 -0
  112. package/components/dropdown/common/Dropdown.common.js +172 -160
  113. package/components/dropdown/v3/Dropdown.vue.d.ts +1 -1
  114. package/components/dropdown/v3/index.d.ts +20 -20
  115. package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +1 -0
  116. package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +3 -3
  117. package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +16 -13
  118. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue.js +2 -2
  119. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue2.js +1 -1
  120. package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +5 -0
  121. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
  122. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +64 -54
  123. package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +22 -9
  124. package/components/dropdown/v4/ConditionalDropdown.vue.js +4 -4
  125. package/components/dropdown/v4/ConditionalDropdown.vue2.js +151 -129
  126. package/components/dropdown/v4/DropdownV4.vue.d.ts +34 -1
  127. package/components/dropdown/v4/DropdownV4.vue.js +2 -2
  128. package/components/dropdown/v4/DropdownV4.vue2.js +241 -189
  129. package/components/dropdown/v4/IconButtonDropdownTrigger.vue.d.ts +11 -0
  130. package/components/dropdown/v4/IconButtonDropdownTrigger.vue.js +4 -4
  131. package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +12 -10
  132. package/components/dropdown/v4/OptionV4.vue.d.ts +18 -5
  133. package/components/dropdown/v4/OptionV4.vue.js +2 -2
  134. package/components/dropdown/v4/OptionV4.vue2.js +140 -108
  135. package/components/dropdown/v4/TreeDropdown.vue.d.ts +1 -1
  136. package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
  137. package/components/dropdown/v4/TreeDropdown.vue2.js +68 -73
  138. package/components/dropdown/v4/dropdownStoryArgs.d.ts +8 -0
  139. package/components/dropdown/v4/index.d.ts +682 -162
  140. package/components/emptyState/v4/EmptyStateV4.vue.d.ts +3 -3
  141. package/components/emptyState/v4/index.d.ts +7 -7
  142. package/components/forms/FormRow.vue.d.ts +9 -2
  143. package/components/forms/FormRow.vue.js +3 -3
  144. package/components/forms/FormRow.vue2.js +25 -14
  145. package/components/forms/index.d.ts +25 -5
  146. package/components/includeExclude/IncludeExclude.vue.d.ts +1 -1
  147. package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +1 -1
  148. package/components/includeExclude/index.d.ts +40 -40
  149. package/components/link/Link.vue.d.ts +70 -0
  150. package/components/link/Link.vue.js +7 -0
  151. package/components/link/Link.vue2.js +43 -0
  152. package/components/link/index.d.ts +201 -0
  153. package/components/link/index.js +6 -0
  154. package/components/search/v3/index.d.ts +3 -3
  155. package/components/shared/FieldLabel.vue.d.ts +19 -7
  156. package/components/shared/FieldLabel.vue.js +3 -3
  157. package/components/shared/FieldLabel.vue2.js +50 -37
  158. package/components/switch/v4/SwitchV4.vue.d.ts +16 -0
  159. package/components/switch/v4/SwitchV4.vue.js +3 -3
  160. package/components/switch/v4/SwitchV4.vue2.js +39 -24
  161. package/components/switch/v4/index.d.ts +29 -0
  162. package/components/table/common/Table.common.d.ts +0 -1
  163. package/components/table/common/Table.common.js +38 -39
  164. package/components/table/common/Table.types.d.ts +2 -0
  165. package/components/table/common/consts.d.ts +1 -0
  166. package/components/table/common/consts.js +2 -1
  167. package/components/table/v4/DataGrid.vue.d.ts +15 -4
  168. package/components/table/v4/DataGrid.vue.js +4 -4
  169. package/components/table/v4/DataGrid.vue2.js +288 -230
  170. package/components/table/v4/MultipleDataGrid.vue.d.ts +3 -3
  171. package/components/table/v4/index.d.ts +50 -15
  172. package/components/table/v4/storyUtils.d.ts +2 -0
  173. package/components/tabs/v3/Tabs.vue.d.ts +3 -3
  174. package/components/tabs/v3/index.d.ts +7 -7
  175. package/components/tooltip/common/Tooltip.types.d.ts +1 -0
  176. package/components/tooltip/v3/Tooltip.vue.d.ts +4 -4
  177. package/components/tooltip/v3/Tooltip.vue.js +2 -2
  178. package/components/tooltip/v3/Tooltip.vue2.js +1 -1
  179. package/components/tooltip/v3/index.d.ts +7 -7
  180. package/components/tooltip/v4/TooltipV4.vue.d.ts +4 -4
  181. package/components/tooltip/v4/TooltipV4.vue.js +2 -2
  182. package/components/tooltip/v4/TooltipV4.vue2.js +1 -1
  183. package/components/tooltip/v4/index.d.ts +7 -7
  184. package/components/typography/Text.vue.d.ts +3 -3
  185. package/components/typography/index.d.ts +7 -7
  186. package/composables/useDateService.d.ts +7 -0
  187. package/composables/useDateService.js +10 -0
  188. package/composables/useFormValidation.d.ts +1 -0
  189. package/composables/useFormValidation.js +32 -27
  190. package/composables/useFullPageHeight.d.ts +10 -0
  191. package/composables/useFullPageHeight.js +15 -0
  192. package/consts/common.d.ts +1 -0
  193. package/consts/common.js +4 -0
  194. package/consts/regex.d.ts +1 -0
  195. package/consts/regex.js +2 -1
  196. package/index.d.ts +1601 -425
  197. package/index.js +148 -136
  198. package/mocks/apps.d.ts +1 -0
  199. package/mocks/optionsWithIcons.d.ts +2 -0
  200. package/package.json +9 -1
  201. package/testids/index.d.ts +4 -0
  202. package/testids/index.js +31 -30
  203. package/utils/formatNumbers.d.ts +1 -1
  204. package/utils/formatNumbers.js +19 -6
  205. package/utils/index.js +7 -0
  206. package/utils/text.d.ts +3 -0
  207. package/utils/text.js +24 -5
  208. package/utils/totals.d.ts +5 -0
  209. package/utils/totals.js +9 -0
  210. package/utils/utils.d.ts +1 -0
  211. package/utils/utils.js +4 -0
  212. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_604dfc6f_lang.css +0 -1
  213. package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_ea1c4589_lang.css +0 -1
  214. package/ButtonV4.vue_vue_type_style_index_0_scoped_bdfce3aa_lang.css +0 -1
  215. package/Chart.vue_vue_type_style_index_0_scoped_a641383a_lang.css +0 -1
  216. package/ChartHeader.vue_vue_type_style_index_0_scoped_b8213498_lang.css +0 -1
  217. package/ChartLegend.vue_vue_type_style_index_0_scoped_4fe1c7d1_lang.css +0 -1
  218. package/ChartTooltip.vue_vue_type_style_index_0_scoped_6744325c_lang.css +0 -1
  219. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e43ac1c9_lang.css +0 -1
  220. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_3a2aeea3_lang.css +0 -1
  221. package/DataGrid.vue_vue_type_style_index_0_scoped_6b54ac22_lang.css +0 -1
  222. package/DateRangeV4.vue_vue_type_style_index_0_scoped_8a2714eb_lang.css +0 -1
  223. package/DialogV4.vue_vue_type_style_index_0_scoped_37da643b_lang.css +0 -1
  224. package/DropdownV4.vue_vue_type_style_index_0_scoped_d154c5da_lang.css +0 -1
  225. package/FieldLabel.vue_vue_type_style_index_0_scoped_96ee1c98_lang.css +0 -1
  226. package/FormRow.vue_vue_type_style_index_0_scoped_fc3897fd_lang.css +0 -1
  227. package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_59fb505a_lang.css +0 -1
  228. package/OptionV4.vue_vue_type_style_index_0_scoped_1e8837dc_lang.css +0 -1
  229. package/SettingsHeader.vue_vue_type_style_index_0_scoped_9b6cd9d9_lang.css +0 -1
  230. package/SwitchV4.vue_vue_type_style_index_0_scoped_c2e356f5_lang.css +0 -1
  231. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_c81a7d3e_lang.css +0 -1
  232. package/Tooltip.vue_vue_type_style_index_0_scoped_9020a179_lang.css +0 -1
  233. package/TooltipV4.vue_vue_type_style_index_0_scoped_66eab856_lang.css +0 -1
  234. package/TreeDropdown.vue_vue_type_style_index_0_scoped_b883d1fa_lang.css +0 -1
  235. package/components/chart/composables/useChartValues.d.ts +0 -12
  236. package/components/chart/composables/useChartValues.js +0 -32
  237. package/components/chart/utils/formatNumber.js +0 -11
@@ -1,42 +1,42 @@
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";
1
+ import "../../../DropdownV4.vue_vue_type_style_index_0_scoped_55dd36a7_lang.css"; import "../../../DropdownV4.vue_vue_type_style_index_1_lang.css"; import { defineComponent as ke, computed as x, watch as Te, toRaw as S, openBlock as d, createElementBlock as r, mergeProps as m, unref as t, renderSlot as y, createElementVNode as f, createVNode as a, withCtx as u, Transition as we, normalizeClass as B, normalizeStyle as be, createTextVNode as T, createCommentVNode as s, isRef as Ie, toDisplayString as q, withModifiers as j, Fragment as Se, renderList as ve, createSlots as Ce, createBlock as F, resolveDynamicComponent as Ke } from "vue";
2
+ import N 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 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";
7
+ import Ae from "./DefaultDropdownTrigger.vue.js";
8
+ import Oe from "./IconButtonDropdownTrigger.vue.js";
9
+ import Le from "./ChipDropdownTrigger.vue.js";
10
+ import Ee from "./AppDropdownTrigger.vue.js";
11
11
  import "./ButtonDropdownTrigger.vue.js";
12
12
  import "./ButtonFilterDropdownTrigger.vue.js";
13
13
  import "./TreeDropdown.vue.js";
14
- import q from "./OptionV4.vue.js";
14
+ import J from "./OptionV4.vue.js";
15
15
  import "./ConditionalDropdown.vue.js";
16
- import Se from "../../search/v4/SearchV4.vue.js";
17
- import Y from "../../typography/v4/Typography.vue.js";
18
- import { Dropdown as Ke } from "floating-vue";
16
+ import xe from "../../search/v4/SearchV4.vue.js";
17
+ import Q from "../../typography/v4/Typography.vue.js";
18
+ import { Dropdown as Be } from "floating-vue";
19
19
  import { DropdownTestIdModifiers as p } from "../../../testids/index.js";
20
- import { dropdownCommon as Ae } from "../common/Dropdown.common.js";
21
- import S from "../../skeleton/v4/SkeletonV4.vue.js";
22
- import { useTestIdAttrs as Le } from "../../../utils/testIds.js";
23
- import { TRIGGERS as k } from "./Dropdown.types.js";
24
- import { useElementSize as Ee } from "@vueuse/core";
25
- import Oe from "../../shared/FieldHelpText.vue.js";
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 = {
20
+ import { dropdownCommon as Fe } from "../common/Dropdown.common.js";
21
+ import K from "../../skeleton/v4/SkeletonV4.vue.js";
22
+ import { useTestIdAttrs as Ne } from "../../../utils/testIds.js";
23
+ import { TRIGGERS as w } from "./Dropdown.types.js";
24
+ import { useElementSize as Ve } from "@vueuse/core";
25
+ import De from "../../shared/FieldHelpText.vue.js";
26
+ import Pe from "./GroupOption.vue.js";
27
+ const $e = ["tabindex"], Me = { style: { width: "100%" } }, Re = { key: 0 }, ze = { key: 1 }, We = { key: 2 }, Ge = {
28
28
  key: 0,
29
29
  class: "inline-search-wrapper"
30
- }, Re = { class: "dropdown-conditions" }, ze = {
30
+ }, He = { class: "dropdown-conditions" }, Ue = {
31
31
  key: 0,
32
32
  class: "no-result-container"
33
- }, $e = ["aria-selected", "aria-disabled", "onClick"], Me = {
33
+ }, Ye = ["aria-selected", "aria-disabled", "onClick"], Xe = {
34
34
  key: 3,
35
35
  class: "loader"
36
- }, We = {
36
+ }, qe = {
37
37
  key: 1,
38
38
  class: "actions-wrapper"
39
- }, He = { class: "actions-clear-all" }, Ue = { class: "actions-apply-cancel" }, kt = /* @__PURE__ */ fe({
39
+ }, je = { class: "actions-clear-all" }, Je = { class: "actions-apply-cancel" }, vt = /* @__PURE__ */ ke({
40
40
  __name: "DropdownV4",
41
41
  props: {
42
42
  modelValue: { default: null },
@@ -52,11 +52,14 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
52
52
  isOpen: { type: Boolean },
53
53
  options: null,
54
54
  showSelectAll: { type: Boolean, default: !0 },
55
+ showClearAll: { type: Boolean, default: !0 },
55
56
  defaultOpen: { type: Boolean, default: !1 },
56
57
  keepOpen: { type: Boolean, default: !1 },
57
58
  autoSize: { type: Boolean, default: !1 },
58
59
  disableKeyboardEvents: { type: Boolean, default: !1 },
59
60
  dynamicFilterMode: { type: Boolean, default: !1 },
61
+ minSelections: { default: 0 },
62
+ maxSelections: { default: null },
60
63
  isOnTop: { type: Boolean, default: !1 },
61
64
  distance: { default: 0 },
62
65
  container: { default: "body" },
@@ -69,9 +72,10 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
69
72
  triggerFeedbackVariant: { default: null },
70
73
  triggerFeedbackShowIcon: { type: Boolean, default: !1 },
71
74
  triggerShowAllSelectedText: { type: Boolean, default: !0 },
75
+ triggerShownValuesCount: { default: 1 },
72
76
  size: { default: "medium" },
73
77
  mandatory: { type: Boolean, default: !1 },
74
- predefinedTrigger: { default: k.DEFAULT },
78
+ predefinedTrigger: { default: w.DEFAULT },
75
79
  inlineSearch: { type: Boolean, default: !1 },
76
80
  inlineSearchPlaceholder: { default: "Search" },
77
81
  onSearch: { type: Function, default: null },
@@ -87,6 +91,7 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
87
91
  optionEndIconType: { default: null },
88
92
  optionsEndTextIconKey: { default: null },
89
93
  optionFlagKey: { default: null },
94
+ optionWarningKey: { default: null },
90
95
  valueToCopy: { default: null },
91
96
  disabledOptionKey: { default: "disabled" },
92
97
  optionTwoLinesVariant: { default: void 0 },
@@ -94,6 +99,7 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
94
99
  groupedOptions: { type: Boolean, default: !1 },
95
100
  comparingKey: { default: null },
96
101
  customNumberOfDisplayedOptions: { default: null },
102
+ optionTooltipPosition: { default: "right" },
97
103
  theme: { default: "light-theme-v4" },
98
104
  fullWidth: { type: Boolean, default: !0 },
99
105
  optionsListWidth: { default: null },
@@ -103,8 +109,8 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
103
109
  withConditions: { type: Boolean, default: !1 }
104
110
  },
105
111
  emits: ["update:selected", "update:isOpen", "closed", "opened", "apply", "selectAll", "clear", "copyToClipboard", "onsearch", "loadMore", "allSelectedChanged", "unsavedSelectionUpdate"],
106
- setup(e, { expose: j, emit: B }) {
107
- const n = e, F = {
112
+ setup(e, { expose: Z, emit: V }) {
113
+ const o = e, D = {
108
114
  MULTILINE_LIST_HEIGHT: 48,
109
115
  LIST_HEIGHT: 32 + 4,
110
116
  MAX_NUMBER_OF_OPTIONS: 7.5,
@@ -112,65 +118,95 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
112
118
  DROPLIST_MIN_WIDTH: 240,
113
119
  VERSION: 4
114
120
  }, {
115
- onKeydown: b,
116
- open: r,
117
- toggleMenu: I,
118
- onButtonKeydown: N,
119
- query: v,
120
- containerProps: J,
121
- calculateTableHeight: Q,
122
- wrapperProps: Z,
123
- filteredOptions: _,
124
- allSelected: V,
125
- allSelectedApplied: K,
126
- isIndeterminate: ee,
127
- onSelectAll: te,
128
- virtualOptions: x,
129
- isSelected: A,
121
+ onKeydown: I,
122
+ open: c,
123
+ toggleMenu: v,
124
+ onButtonKeydown: P,
125
+ query: C,
126
+ containerProps: _,
127
+ calculateTableHeight: ee,
128
+ wrapperProps: te,
129
+ filteredOptions: oe,
130
+ allSelected: $,
131
+ allSelectedApplied: A,
132
+ isIndeterminate: ne,
133
+ onSelectAll: ie,
134
+ virtualOptions: M,
135
+ isSelected: O,
130
136
  selectedOption: h,
131
137
  selectedOptionPrevious: L,
132
- selectedValue: oe,
133
- onSelect: D,
134
- activeIndex: P,
135
- onCancel: le,
136
- onApply: ie,
137
- scrollTo: ne,
138
- listRef: ae,
139
- buttonRef: R,
140
- apply: de,
141
- cancel: se,
142
- el: re,
143
- onClearAllSelections: z,
144
- clearAll: ue,
145
- isGroup: ce
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,
138
+ selectedValue: le,
139
+ onSelect: R,
140
+ activeIndex: z,
141
+ onCancel: ae,
142
+ onApply: de,
143
+ scrollTo: se,
144
+ listRef: re,
145
+ buttonRef: W,
146
+ apply: ue,
147
+ cancel: ce,
148
+ el: ye,
149
+ onClearAllSelections: G,
150
+ clearAll: me,
151
+ isGroup: fe,
152
+ flattenAndMarkGroupOptions: pe
153
+ } = Fe(o, V, D), g = Ne(o.testId, p), H = x(() => !o.predefinedTrigger || o.predefinedTrigger === w.DEFAULT ? Ae : o.predefinedTrigger === w.APP ? Ee : null), { width: U } = Ve(W), ge = x(() => o.optionsListWidth ? o.optionsListWidth : !o.predefinedTrigger || o.predefinedTrigger === w.DEFAULT || o.predefinedTrigger === w.APP ? U.value - 2 > 240 ? `${U.value - 2}px` : `${D.DROPLIST_MIN_WIDTH}px` : "auto");
154
+ Te(
155
+ () => o.optionsListWidth,
149
156
  () => {
150
- n.optionsListWidth && document.documentElement.style.setProperty(
157
+ o.optionsListWidth && document.documentElement.style.setProperty(
151
158
  "--options-list-width",
152
- n.optionsListWidth
159
+ o.optionsListWidth
153
160
  );
154
161
  }
155
162
  );
156
- const W = () => {
157
- I();
158
- };
159
- return j({
160
- selectItem: D,
161
- scrollTo: ne
162
- }), (c, l) => (a(), s("div", y({
163
+ const Y = () => {
164
+ v();
165
+ }, X = x(() => {
166
+ const i = {
167
+ tooltipMessage: null,
168
+ selections: []
169
+ };
170
+ if (o.multi && o.comparingKey) {
171
+ const l = S(h.value);
172
+ if (o.minSelections || o.maxSelections) {
173
+ if (Array.isArray(l) && l.length <= o.minSelections)
174
+ return i.tooltipMessage = `You need to select at least ${o.minSelections} item${o.minSelections > 1 ? "s" : ""}`, i.selections = l.map(
175
+ (n) => n[o.comparingKey]
176
+ ), i;
177
+ if (o.maxSelections && Array.isArray(l) && l.length >= o.maxSelections) {
178
+ const n = l.map(
179
+ (b) => b[o.comparingKey]
180
+ ), k = o.groupedOptions ? pe(o.options) : o.options;
181
+ return i.tooltipMessage = `You can only select up to ${o.maxSelections} items`, i.selections = k.map((b) => {
182
+ if (!n.includes(b[o.comparingKey]))
183
+ return b[o.comparingKey];
184
+ }), i;
185
+ }
186
+ }
187
+ }
188
+ return i.tooltipMessage = null, i.selections = [], i;
189
+ }), he = (i) => {
190
+ if ((o.minSelections || o.maxSelections) && o.comparingKey)
191
+ return X.value.selections.includes(
192
+ i[o.comparingKey]
193
+ );
194
+ }, E = (i) => i[o.disabledOptionKey] || he(i);
195
+ return Z({
196
+ selectItem: R,
197
+ scrollTo: se
198
+ }), (i, l) => (d(), r("div", m({
163
199
  ref_key: "el",
164
- ref: re,
200
+ ref: ye,
165
201
  class: ["dropdown dropdown--main-wrapper", [{ "dropdown--disabled": e.disabled, "full-width": e.fullWidth }]],
166
202
  tabindex: e.disabled ? -1 : 0
167
203
  }, t(g)[t(p).WRAPPER], {
168
204
  onKeydown: l[8] || (l[8] = //@ts-ignore
169
- (...o) => t(b) && t(b)(...o))
205
+ (...n) => t(I) && t(I)(...n))
170
206
  }), [
171
- f(c.$slots, "label", {}, void 0, !0),
172
- m("div", Ne, [
173
- i(t(Ke), y({
207
+ y(i.$slots, "label", {}, void 0, !0),
208
+ f("div", Me, [
209
+ a(t(Be), m({
174
210
  theme: e.theme,
175
211
  "popper-class": [
176
212
  e.popperClass,
@@ -183,46 +219,46 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
183
219
  distance: e.distance,
184
220
  flip: e.flip,
185
221
  triggers: [],
186
- shown: !!t(r),
222
+ shown: !!t(c),
187
223
  "auto-hide": !1,
188
224
  container: e.container,
189
225
  "auto-size": e.autoSize
190
226
  }, t(g)[t(p).TRIGGER]), {
191
227
  popper: u(() => [
192
- i(pe, null, {
228
+ a(we, null, {
193
229
  default: u(() => [
194
- t(r) ? (a(), s("div", {
230
+ t(c) ? (d(), r("div", {
195
231
  key: 0,
196
232
  ref_key: "listRef",
197
- ref: ae,
198
- class: E(["light-theme-v4", {
233
+ ref: re,
234
+ class: B(["light-theme-v4", {
199
235
  "dropdown--disabled": e.disabled,
200
236
  "inline-search": e.inlineSearch
201
237
  }]),
202
- style: ge({ width: t(ye) })
238
+ style: be({ width: t(ge) })
203
239
  }, [
204
- t(r) ? (a(), s("div", {
240
+ t(c) ? (d(), r("div", {
205
241
  key: 0,
206
- class: E(["dropdown-list-wrapper", { "dropdown-list-wrapper--multi": e.multi }]),
242
+ class: B(["dropdown-list-wrapper", { "dropdown-list-wrapper--multi": e.multi }]),
207
243
  onKeydown: l[7] || (l[7] = //@ts-ignore
208
- (...o) => t(b) && t(b)(...o))
244
+ (...n) => t(I) && t(I)(...n))
209
245
  }, [
210
- t(r) && e.inlineSearch ? (a(), s("div", Pe, [
211
- e.withConditions ? f(c.$slots, "dropdown-conditions", { key: 0 }, () => [
212
- m("div", Re, [
213
- i(t(Y), { variant: "body2" }, {
246
+ t(c) && e.inlineSearch ? (d(), r("div", Ge, [
247
+ e.withConditions ? y(i.$slots, "dropdown-conditions", { key: 0 }, () => [
248
+ f("div", He, [
249
+ a(t(Q), { variant: "body2" }, {
214
250
  default: u(() => [
215
251
  T("Conditions")
216
252
  ]),
217
253
  _: 1
218
254
  })
219
255
  ])
220
- ], !0) : d("", !0),
221
- f(c.$slots, "inline-search", {}, () => [
222
- i(t(Se), {
223
- modelValue: t(v),
256
+ ], !0) : s("", !0),
257
+ y(i.$slots, "inline-search", {}, () => [
258
+ a(t(xe), {
259
+ modelValue: t(C),
224
260
  "onUpdate:modelValue": [
225
- l[4] || (l[4] = (o) => Te(v) ? v.value = o : null),
261
+ l[4] || (l[4] = (n) => Ie(C) ? C.value = n : null),
226
262
  e.onClearSearch
227
263
  ],
228
264
  placeholder: e.inlineSearchPlaceholder,
@@ -230,48 +266,48 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
230
266
  size: "md",
231
267
  "auto-focus": e.searchAutoFocus,
232
268
  "test-id": e.testId,
233
- onKeydown: t(b)
269
+ onKeydown: t(I)
234
270
  }, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id", "onUpdate:modelValue", "onKeydown"])
235
271
  ], !0)
236
- ])) : d("", !0),
237
- f(c.$slots, "input-list", { open: t(r) }, void 0, !0),
238
- m("div", y({
272
+ ])) : s("", !0),
273
+ y(i.$slots, "input-list", { open: t(c) }, void 0, !0),
274
+ f("div", m({
239
275
  class: ["list-container", { "list-container--multi": e.multi }],
240
- style: { height: `${t(Q)}rem` }
276
+ style: { height: `${t(ee)}rem` }
241
277
  }, {
242
- ...t(J),
278
+ ...t(_),
243
279
  ...t(g)[t(p).LIST_CONTAINER]
244
280
  }), [
245
- f(c.$slots, "custom-list-area", {}, void 0, !0),
246
- m("ul", y(t(Z), {
281
+ y(i.$slots, "custom-list-area", {}, void 0, !0),
282
+ f("ul", m(t(te), {
247
283
  role: "listbox",
248
284
  class: ["list", {
249
285
  "list--multi": e.multi,
250
286
  "list--with-conditions": e.withConditions
251
287
  }]
252
288
  }), [
253
- !t(_).length && !e.loading && !e.withConditions ? (a(), s("li", ze, [
254
- i(t(Y), y({ variant: "body2" }, t(g)[t(p).NO_RESULT]), {
289
+ !t(oe).length && !e.loading && !e.withConditions ? (d(), r("li", Ue, [
290
+ a(t(Q), m({ variant: "body2" }, t(g)[t(p).NO_RESULT]), {
255
291
  default: u(() => [
256
- T(U(e.noResultsText), 1)
292
+ T(q(e.noResultsText), 1)
257
293
  ]),
258
294
  _: 1
259
295
  }, 16)
260
- ])) : d("", !0),
261
- e.showSelectAll !== !1 && e.multi && !t(v) && !e.loading && e.options.length ? f(c.$slots, "select-all", { key: 1 }, () => [
262
- m("li", null, [
263
- i(t(q), y(
296
+ ])) : s("", !0),
297
+ e.showSelectAll !== !1 && e.multi && !t(C) && !e.loading && e.options.length && !(e.minSelections || e.maxSelections) ? y(i.$slots, "select-all", { key: 1 }, () => [
298
+ f("li", null, [
299
+ a(t(J), m(
264
300
  {
265
- "aria-selected": t(V),
301
+ "aria-selected": t($),
266
302
  "aria-disabled": !!e.disabled,
267
- "selected-prop": t(V),
268
- "is-indeterminate": t(ee),
303
+ "selected-prop": t($),
304
+ "is-indeterminate": t(ne),
269
305
  "is-multi": e.multi,
270
306
  "select-all-option": ""
271
307
  },
272
308
  t(g)[t(p).SELECT_ALL],
273
309
  {
274
- onClick: l[5] || (l[5] = G((o) => t(te)(), ["stop"]))
310
+ onClick: l[5] || (l[5] = j((n) => t(ie)(), ["stop"]))
275
311
  }
276
312
  ), {
277
313
  default: u(() => [
@@ -280,33 +316,36 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
280
316
  _: 1
281
317
  }, 16, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate", "is-multi"])
282
318
  ])
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", {
285
- key: w,
286
- "aria-selected": t(A)(C(t(h)), o),
319
+ ], !0) : s("", !0),
320
+ t(M).length && !e.loading ? (d(!0), r(Se, { key: 2 }, ve(t(M), ({ data: n, index: k }) => (d(), r("li", {
321
+ key: k,
322
+ "aria-selected": t(O)(S(t(h)), n),
287
323
  "aria-disabled": !!e.disabled,
288
- onClick: G(() => t(D)(o, w), ["stop"])
324
+ onClick: j(
325
+ () => !E(n) && t(R)(n, k),
326
+ ["stop"]
327
+ )
289
328
  }, [
290
- e.groupedOptions && t(ce)(o) ? f(c.$slots, "group-option", { key: 0 }, () => [
291
- i(Be, null, {
329
+ e.groupedOptions && t(fe)(n) ? y(i.$slots, "group-option", { key: 0 }, () => [
330
+ a(Pe, null, {
292
331
  default: u(() => [
293
- T(U(e.displayValue(o) || o[e.optionNameKey]), 1)
332
+ T(q(e.displayValue(n) || n[e.optionNameKey]), 1)
294
333
  ]),
295
334
  _: 2
296
335
  }, 1024)
297
- ], !0) : f(c.$slots, "default", {
336
+ ], !0) : y(i.$slots, "default", {
298
337
  key: 1,
299
- option: o,
300
- index: w,
301
- selected: t(A)(C(t(h)), o),
302
- active: C(t(P)) === w,
303
- disabled: o[n.disabledOptionKey]
338
+ option: n,
339
+ index: k,
340
+ selected: t(O)(S(t(h)), n),
341
+ active: S(t(z)) === k,
342
+ disabled: E(n)
304
343
  }, () => [
305
- i(t(q), {
306
- option: o,
307
- "selected-prop": t(A)(t(h), o),
308
- active: C(t(P)) === w,
309
- disabled: o[n.disabledOptionKey],
344
+ a(t(J), {
345
+ option: n,
346
+ "selected-prop": t(O)(t(h), n),
347
+ active: S(t(z)) === k,
348
+ disabled: E(n),
310
349
  "name-key": e.optionNameKey,
311
350
  "image-key": e.optionImageKey,
312
351
  "icon-key": e.optionIconKey,
@@ -315,100 +354,112 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
315
354
  "end-icon-type": e.optionEndIconType,
316
355
  "end-text-icon-key": e.optionsEndTextIconKey,
317
356
  "option-flag-key": e.optionFlagKey,
357
+ "warning-key": e.optionWarningKey,
318
358
  "option-two-lines-variant": e.optionTwoLinesVariant,
319
359
  "option-two-lines-key": e.optionTwoLinesKey,
320
- "is-multi": e.multi
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"])
360
+ "tooltip-placement": e.optionTooltipPosition,
361
+ "is-multi": e.multi,
362
+ "min-max-selection-tooltip-message": t(X)?.tooltipMessage
363
+ }, Ce({ _: 2 }, [
364
+ i.$slots["option-end"] ? {
365
+ name: "option-end",
366
+ fn: u(({ option: b }) => [
367
+ y(i.$slots, "option-end", { option: b }, void 0, !0)
368
+ ]),
369
+ key: "0"
370
+ } : void 0
371
+ ]), 1032, ["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", "warning-key", "option-two-lines-variant", "option-two-lines-key", "tooltip-placement", "is-multi", "min-max-selection-tooltip-message"])
322
372
  ], !0)
323
- ], 8, $e))), 128)) : d("", !0),
324
- e.loading || e.loadMoreLoading ? (a(), s("li", Me, [
325
- i(t(S), { round: "" }),
326
- i(t(S), { round: "" }),
327
- i(t(S), { round: "" }),
328
- i(t(S), { round: "" })
329
- ])) : d("", !0)
373
+ ], 8, Ye))), 128)) : s("", !0),
374
+ e.loading || e.loadMoreLoading ? (d(), r("li", Xe, [
375
+ a(t(K), { round: "" }),
376
+ a(t(K), { round: "" }),
377
+ a(t(K), { round: "" }),
378
+ a(t(K), { round: "" })
379
+ ])) : s("", !0)
330
380
  ], 16)
331
381
  ], 16),
332
- e.multi ? (a(), s("div", We, [
333
- m("div", He, [
334
- i(t(O), y(
382
+ e.multi ? (d(), r("div", qe, [
383
+ f("div", je, [
384
+ e.showClearAll ? (d(), F(t(N), m(
335
385
  {
386
+ key: 0,
336
387
  ref_key: "clearAll",
337
- ref: ue,
388
+ ref: me,
338
389
  size: "small",
339
390
  variant: "text",
340
391
  color: "primary"
341
392
  },
342
393
  t(g)[t(p).ACTION_CLEAR_ALL],
343
394
  {
344
- onClick: l[6] || (l[6] = () => t(z)(!1))
395
+ onClick: l[6] || (l[6] = () => t(G)(!1))
345
396
  }
346
397
  ), {
347
398
  default: u(() => [
348
399
  T(" Clear all ")
349
400
  ]),
350
401
  _: 1
351
- }, 16)
402
+ }, 16)) : s("", !0)
352
403
  ]),
353
- m("div", Ue, [
354
- i(t(O), y(
404
+ f("div", Je, [
405
+ a(t(N), m(
355
406
  {
356
407
  ref_key: "cancel",
357
- ref: se,
408
+ ref: ce,
358
409
  size: "small",
359
410
  variant: "outlined",
360
411
  color: "primary"
361
412
  },
362
413
  t(g)[t(p).ACTION_CANCEL],
363
- { onClick: t(le) }
414
+ { onClick: t(ae) }
364
415
  ), {
365
416
  default: u(() => [
366
417
  T(" Cancel ")
367
418
  ]),
368
419
  _: 1
369
420
  }, 16, ["onClick"]),
370
- i(t(O), y({
421
+ a(t(N), m({
371
422
  ref_key: "apply",
372
- ref: de,
423
+ ref: ue,
373
424
  "data-testid": "mutli-apply",
374
425
  size: "small",
375
426
  class: "apply-button"
376
- }, t(g)[t(p).ACTION_APPLY], { onClick: t(ie) }), {
427
+ }, t(g)[t(p).ACTION_APPLY], { onClick: t(de) }), {
377
428
  default: u(() => [
378
429
  T(" Apply ")
379
430
  ]),
380
431
  _: 1
381
432
  }, 16, ["onClick"])
382
433
  ])
383
- ])) : d("", !0)
384
- ], 34)) : d("", !0)
385
- ], 6)) : d("", !0)
434
+ ])) : s("", !0)
435
+ ], 34)) : s("", !0)
436
+ ], 6)) : s("", !0)
386
437
  ]),
387
438
  _: 3
388
439
  })
389
440
  ]),
390
441
  default: u(() => [
391
- m("div", {
392
- class: E(["button__container", {
393
- "button__container--open": !!t(r),
442
+ f("div", {
443
+ class: B(["button__container", {
444
+ "button__container--open": !!t(c),
394
445
  [`button__container--${e.size}`]: !0,
395
446
  "button__container--disabled": e.disabled
396
447
  }])
397
448
  }, [
398
- m("div", {
449
+ f("div", {
399
450
  ref_key: "buttonRef",
400
- ref: R
451
+ ref: W
401
452
  }, [
402
- f(c.$slots, "dropdown-trigger", {
453
+ y(i.$slots, "dropdown-trigger", {
403
454
  buttonTriggerProps: {
404
- open: t(r),
455
+ open: t(c),
405
456
  disabled: e.disabled,
406
- label: t(oe) || e.placeholder,
407
- onClick: () => t(I)()
457
+ label: t(le) || e.placeholder,
458
+ onClick: () => t(v)()
408
459
  },
409
460
  defaultTriggerProps: {
410
461
  placeholder: e.placeholder,
411
- open: t(r),
462
+ open: t(c),
412
463
  label: e.triggerLabel,
413
464
  showFeedbackIcon: e.triggerFeedbackShowIcon,
414
465
  mandatory: e.mandatory,
@@ -431,15 +482,15 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
431
482
  statusDotType: e.statusType,
432
483
  size: e.size,
433
484
  showAllSelectedText: e.triggerShowAllSelectedText,
434
- allSelected: t(K),
435
- onKeydown: t(N),
436
- onClick: W
485
+ allSelected: t(A),
486
+ onKeydown: t(P),
487
+ onClick: Y
437
488
  }
438
489
  }, () => [
439
- t($) ? (a(), s("div", Ve, [
440
- (a(), X(be(t($)), {
490
+ t(H) ? (d(), r("div", Re, [
491
+ (d(), F(Ke(t(H)), {
441
492
  placeholder: e.placeholder,
442
- open: t(r),
493
+ open: t(c),
443
494
  label: e.triggerLabel,
444
495
  "show-feedback-icon": e.triggerFeedbackShowIcon,
445
496
  mandatory: e.mandatory,
@@ -462,49 +513,50 @@ const Fe = ["tabindex"], Ne = { style: { width: "100%" } }, Ve = { key: 0 }, xe
462
513
  "status-dot-type": e.statusType,
463
514
  size: e.size,
464
515
  "show-all-selected-text": e.triggerShowAllSelectedText,
465
- "all-selected": t(K),
466
- onKeydown: t(N),
467
- onClick: W,
468
- onCopyToClipboard: l[0] || (l[0] = (o) => B("copyToClipboard"))
516
+ "all-selected": t(A),
517
+ onKeydown: t(P),
518
+ onClick: Y,
519
+ onCopyToClipboard: l[0] || (l[0] = (n) => V("copyToClipboard"))
469
520
  }, 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"]))
470
- ])) : d("", !0),
471
- e.predefinedTrigger === t(k).ICON_BUTTON ? (a(), s("div", xe, [
472
- i(t(Ie), {
473
- onClick: l[1] || (l[1] = (o) => t(I)())
521
+ ])) : s("", !0),
522
+ e.predefinedTrigger === t(w).ICON_BUTTON ? (d(), r("div", ze, [
523
+ a(t(Oe), {
524
+ onClick: l[1] || (l[1] = (n) => t(v)())
474
525
  })
475
- ])) : d("", !0),
476
- e.predefinedTrigger === t(k).CHIP ? (a(), s("div", De, [
477
- i(t(ve), {
478
- open: t(r),
526
+ ])) : s("", !0),
527
+ e.predefinedTrigger === t(w).CHIP ? (d(), r("div", We, [
528
+ a(t(Le), {
529
+ open: t(c),
479
530
  label: e.placeholder,
480
531
  "test-id": e.testId,
481
532
  options: e.options,
482
533
  "selected-option": e.multi ? t(L) : t(h),
483
534
  "display-value": e.displayValue,
484
535
  multi: e.multi,
485
- "all-selected": t(K),
486
- onClick: l[2] || (l[2] = (o) => t(I)()),
487
- onClear: l[3] || (l[3] = (o) => t(z)())
488
- }, null, 8, ["open", "label", "test-id", "options", "selected-option", "display-value", "multi", "all-selected"])
489
- ])) : d("", !0)
536
+ "all-selected": t(A),
537
+ "shown-values-count": e.triggerShownValuesCount,
538
+ onClick: l[2] || (l[2] = (n) => t(v)()),
539
+ onClear: l[3] || (l[3] = (n) => t(G)())
540
+ }, null, 8, ["open", "label", "test-id", "options", "selected-option", "display-value", "multi", "all-selected", "shown-values-count"])
541
+ ])) : s("", !0)
490
542
  ], !0)
491
543
  ], 512)
492
544
  ], 2)
493
545
  ]),
494
546
  _: 3
495
547
  }, 16, ["theme", "popper-class", "placement", "skidding", "distance", "flip", "shown", "container", "auto-size"]),
496
- e.triggerFeedbackText ? (a(), X(Oe, {
548
+ e.triggerFeedbackText ? (d(), F(De, {
497
549
  key: 0,
498
550
  text: e.triggerFeedbackText,
499
551
  variant: e.triggerFeedbackVariant,
500
552
  "show-icon": e.triggerFeedbackShowIcon,
501
553
  "test-id": e.testId,
502
554
  class: "dropdown-field-help-text"
503
- }, null, 8, ["text", "variant", "show-icon", "test-id"])) : d("", !0)
555
+ }, null, 8, ["text", "variant", "show-icon", "test-id"])) : s("", !0)
504
556
  ])
505
- ], 16, Fe));
557
+ ], 16, $e));
506
558
  }
507
559
  });
508
560
  export {
509
- kt as default
561
+ vt as default
510
562
  };