@ironsource/shared-ui 2.1.12-test.98 → 2.1.12

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 (248) hide show
  1. package/Chart.vue_vue_type_style_index_0_scoped_060d02be_lang.css +1 -0
  2. package/ChartHeader.vue_vue_type_style_index_0_scoped_d90c583e_lang.css +1 -0
  3. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_ca558859_lang.css +1 -0
  4. package/ChartLegend.vue_vue_type_style_index_0_scoped_9c4df598_lang.css +1 -0
  5. package/ChartPlane.vue_vue_type_style_index_0_scoped_a685cf5e_lang.css +1 -0
  6. package/ChartTooltip.vue_vue_type_style_index_0_scoped_9623dbbd_lang.css +1 -0
  7. package/ColumnConfigurator.vue_vue_type_style_index_0_scoped_702ad52e_lang.css +1 -0
  8. package/ColumnPicker.vue_vue_type_style_index_0_scoped_ea8c7024_lang.css +1 -0
  9. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_8cc86a27_lang.css +1 -0
  10. package/DataGrid.vue_vue_type_style_index_0_scoped_cd41c5ca_lang.css +1 -0
  11. package/DataGridContainer.vue_vue_type_style_index_0_scoped_9a30b10c_lang.css +1 -0
  12. package/DataGridHeader.vue_vue_type_style_index_0_scoped_0e826456_lang.css +1 -0
  13. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_e38c881a_lang.css +1 -0
  14. package/DialogFooter.vue_vue_type_style_index_0_scoped_8b7f64fe_lang.css +1 -0
  15. package/DialogHeader.vue_vue_type_style_index_0_scoped_9a814ec3_lang.css +1 -0
  16. package/DialogV4.vue_vue_type_style_index_0_scoped_cc99f1e3_lang.css +1 -0
  17. package/DropdownV4.vue_vue_type_style_index_0_scoped_a594c97e_lang.css +1 -0
  18. package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
  19. package/EmptyStateV4.vue_vue_type_style_index_0_scoped_76757f22_lang.css +1 -0
  20. package/Link.vue_vue_type_style_index_0_scoped_1a766750_lang.css +1 -0
  21. package/LoaderBars.vue_vue_type_style_index_0_scoped_d976ec65_lang.css +1 -0
  22. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_3caa1d7b_lang.css +1 -0
  23. package/OptionChip.vue_vue_type_style_index_0_scoped_538e4a21_lang.css +1 -0
  24. package/OptionV4.vue_vue_type_style_index_0_scoped_752a357d_lang.css +1 -0
  25. package/RadioButton.vue_vue_type_style_index_0_scoped_dac25b9f_lang.css +1 -0
  26. package/RemoveButton.vue_vue_type_style_index_0_scoped_ca7fc11d_lang.css +1 -0
  27. package/SectionDropdown.vue_vue_type_style_index_0_scoped_cfad60a8_lang.css +1 -0
  28. package/SectionHeaderText.vue_vue_type_style_index_0_scoped_0b8d3d79_lang.css +1 -0
  29. package/{SettingsHeader.vue_vue_type_style_index_0_scoped_01f78cd7_lang.css → SettingsHeader.vue_vue_type_style_index_0_scoped_a869d327_lang.css} +1 -1
  30. package/ShowMoreLink.vue_vue_type_style_index_0_scoped_9fc3bc1b_lang.css +1 -0
  31. package/SortableItem.vue_vue_type_style_index_0_scoped_c72be7ed_lang.css +1 -0
  32. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_a534c7af_lang.css +1 -0
  33. package/SortableList.vue_vue_type_style_index_0_scoped_9aec4e9b_lang.css +1 -0
  34. package/SortableSelectableList.vue_vue_type_style_index_0_scoped_40b0a4de_lang.css +1 -0
  35. package/TagsField.vue_vue_type_style_index_0_scoped_9760426b_lang.css +1 -0
  36. package/TagsFieldChip.vue_vue_type_style_index_0_scoped_d186b7ef_lang.css +1 -0
  37. package/TextField.vue_vue_type_style_index_0_scoped_3b7a3661_lang.css +1 -0
  38. package/TooltipHeader.vue_vue_type_style_index_0_scoped_da3532aa_lang.css +1 -0
  39. package/TooltipV4.vue_vue_type_style_index_0_scoped_8a451e54_lang.css +1 -0
  40. package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
  41. package/TreeDropdown.vue_vue_type_style_index_0_scoped_63dc057e_lang.css +1 -0
  42. package/components/chart/Chart.vue.d.ts +21 -1
  43. package/components/chart/Chart.vue.js +3 -3
  44. package/components/chart/Chart.vue2.js +130 -114
  45. package/components/chart/ChartHeader.vue.d.ts +5 -0
  46. package/components/chart/ChartHeader.vue.js +3 -3
  47. package/components/chart/ChartHeader.vue2.js +49 -44
  48. package/components/chart/ChartHeaderTrend.vue.d.ts +5 -0
  49. package/components/chart/ChartHeaderTrend.vue.js +2 -2
  50. package/components/chart/ChartHeaderTrend.vue2.js +43 -39
  51. package/components/chart/ChartLegend.vue.d.ts +5 -0
  52. package/components/chart/ChartLegend.vue.js +3 -3
  53. package/components/chart/ChartLegend.vue2.js +76 -71
  54. package/components/chart/ChartPlane.vue.d.ts +15 -0
  55. package/components/chart/ChartPlane.vue.js +5 -5
  56. package/components/chart/ChartPlane.vue2.js +173 -156
  57. package/components/chart/ChartStoryArgs.d.ts +17 -0
  58. package/components/chart/ChartTooltip.vue.d.ts +5 -0
  59. package/components/chart/ChartTooltip.vue.js +2 -2
  60. package/components/chart/ChartTooltip.vue2.js +39 -35
  61. package/components/chart/LegendSorting.vue.d.ts +5 -0
  62. package/components/chart/LegendSorting.vue.js +16 -14
  63. package/components/chart/SettingsHeader.vue.d.ts +19 -3
  64. package/components/chart/SettingsHeader.vue.js +3 -3
  65. package/components/chart/SettingsHeader.vue2.js +36 -29
  66. package/components/chart/TooltipHeader.vue.js +3 -3
  67. package/components/chart/TooltipHeader.vue2.js +26 -26
  68. package/components/chart/colorPalette.d.ts +2 -1
  69. package/components/chart/colorPalette.js +47 -33
  70. package/components/chart/composables/useColorsMap.d.ts +3 -1
  71. package/components/chart/composables/useColorsMap.js +32 -30
  72. package/components/chart/consts.d.ts +5 -1
  73. package/components/chart/consts.js +30 -26
  74. package/components/chart/index.d.ts +77 -1
  75. package/components/chart/mockData.d.ts +15 -0
  76. package/components/chart/types.d.ts +3 -1
  77. package/components/chart/types.js +5 -5
  78. package/components/chart/utils/utils.d.ts +1 -1
  79. package/components/chart/utils/utils.js +20 -14
  80. package/components/columnConfigurator/ColumnConfigurator.types.d.ts +12 -0
  81. package/components/columnConfigurator/ColumnConfigurator.vue.d.ts +61 -0
  82. package/components/columnConfigurator/ColumnConfigurator.vue.js +7 -0
  83. package/components/columnConfigurator/ColumnConfigurator.vue2.js +113 -0
  84. package/components/columnConfigurator/SectionDropdown.vue.d.ts +39 -0
  85. package/components/columnConfigurator/SectionDropdown.vue.js +7 -0
  86. package/components/columnConfigurator/SectionDropdown.vue2.js +57 -0
  87. package/components/columnConfigurator/SectionHeaderText.vue.d.ts +34 -0
  88. package/components/columnConfigurator/SectionHeaderText.vue.js +7 -0
  89. package/components/columnConfigurator/SectionHeaderText.vue2.js +22 -0
  90. package/components/columnConfigurator/ShowMoreLink.vue.d.ts +33 -0
  91. package/components/columnConfigurator/ShowMoreLink.vue.js +7 -0
  92. package/components/columnConfigurator/ShowMoreLink.vue2.js +41 -0
  93. package/components/columnConfigurator/consts.d.ts +1 -0
  94. package/components/columnConfigurator/consts.js +4 -0
  95. package/components/columnConfigurator/index.d.ts +73 -0
  96. package/components/columnConfigurator/index.js +6 -0
  97. package/components/columnConfigurator/mockData.d.ts +30 -0
  98. package/components/columnConfigurator/utils.d.ts +2 -0
  99. package/components/columnConfigurator/utils.js +18 -0
  100. package/components/columnPicker/ColumnPicker.vue.d.ts +119 -0
  101. package/components/columnPicker/ColumnPicker.vue.js +7 -0
  102. package/components/columnPicker/ColumnPicker.vue2.js +322 -0
  103. package/components/columnPicker/OptionChip.vue.d.ts +53 -0
  104. package/components/columnPicker/OptionChip.vue.js +7 -0
  105. package/components/columnPicker/OptionChip.vue2.js +46 -0
  106. package/components/columnPicker/RemoveButton.vue.d.ts +38 -0
  107. package/components/columnPicker/RemoveButton.vue.js +7 -0
  108. package/components/columnPicker/RemoveButton.vue2.js +35 -0
  109. package/components/columnPicker/index.d.ts +388 -0
  110. package/components/columnPicker/index.js +6 -0
  111. package/components/columnPicker/mockData.d.ts +8 -0
  112. package/components/dateRange/common/DateRange.common.js +60 -60
  113. package/components/dialog/v3/Dialog.vue.d.ts +3 -3
  114. package/components/dialog/v3/index.d.ts +46 -46
  115. package/components/dialog/v4/DialogFooter.vue.d.ts +78 -0
  116. package/components/dialog/v4/DialogFooter.vue.js +7 -0
  117. package/components/dialog/v4/DialogFooter.vue2.js +60 -0
  118. package/components/dialog/v4/DialogHeader.vue.d.ts +60 -0
  119. package/components/dialog/v4/DialogHeader.vue.js +7 -0
  120. package/components/dialog/v4/DialogHeader.vue2.js +58 -0
  121. package/components/dialog/v4/DialogV4.vue.d.ts +9 -9
  122. package/components/dialog/v4/DialogV4.vue.js +3 -3
  123. package/components/dialog/v4/DialogV4.vue2.js +65 -107
  124. package/components/dialog/v4/index.d.ts +157 -157
  125. package/components/dropdown/v3/Dropdown.vue.d.ts +1 -1
  126. package/components/dropdown/v3/index.d.ts +20 -20
  127. package/components/dropdown/v4/ConditionalDropdown.vue.js +3 -3
  128. package/components/dropdown/v4/ConditionalDropdown.vue2.js +194 -187
  129. package/components/dropdown/v4/DropdownV4.vue.d.ts +7 -0
  130. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  131. package/components/dropdown/v4/DropdownV4.vue2.js +118 -107
  132. package/components/dropdown/v4/OptionV4.vue.d.ts +5 -0
  133. package/components/dropdown/v4/OptionV4.vue.js +3 -3
  134. package/components/dropdown/v4/OptionV4.vue2.js +83 -70
  135. package/components/dropdown/v4/TreeDropdown.vue.d.ts +10 -0
  136. package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
  137. package/components/dropdown/v4/TreeDropdown.vue2.js +155 -151
  138. package/components/dropdown/v4/index.d.ts +81 -3
  139. package/components/emptyState/v4/EmptyStateV4.vue.d.ts +5 -0
  140. package/components/emptyState/v4/EmptyStateV4.vue.js +2 -2
  141. package/components/emptyState/v4/EmptyStateV4.vue2.js +37 -34
  142. package/components/emptyState/v4/index.d.ts +20 -1
  143. package/components/includeExclude/IncludeExcludeChipFilter.vue.d.ts +1 -1
  144. package/components/includeExclude/IncludeExcludeOption.vue.d.ts +1 -1
  145. package/components/includeExclude/IncludeExcludeOptionDraggable.vue.d.ts +1 -1
  146. package/components/includeExclude/index.d.ts +70 -70
  147. package/components/input/v4/TextField.vue.d.ts +12 -0
  148. package/components/input/v4/TextField.vue.js +3 -3
  149. package/components/input/v4/TextField.vue2.js +129 -105
  150. package/components/input/v4/index.d.ts +46 -2
  151. package/components/link/Link.vue.d.ts +95 -0
  152. package/components/link/Link.vue.js +7 -0
  153. package/components/link/Link.vue2.js +65 -0
  154. package/components/link/index.d.ts +296 -0
  155. package/components/link/index.js +6 -0
  156. package/components/radioButton/v3/RadioButton.vue.d.ts +5 -0
  157. package/components/radioButton/v3/RadioButton.vue.js +3 -3
  158. package/components/radioButton/v3/RadioButton.vue2.js +42 -39
  159. package/components/radioButton/v3/index.d.ts +20 -1
  160. package/components/sortableList/LoaderBars.vue.d.ts +34 -0
  161. package/components/sortableList/LoaderBars.vue.js +7 -0
  162. package/components/sortableList/LoaderBars.vue2.js +25 -0
  163. package/components/sortableList/SortableItem.vue.d.ts +17 -2
  164. package/components/sortableList/SortableItem.vue.js +5 -5
  165. package/components/sortableList/SortableItem.vue2.js +86 -70
  166. package/components/sortableList/SortableItemLabel.vue.js +3 -3
  167. package/components/sortableList/SortableItemLabel.vue2.js +26 -23
  168. package/components/sortableList/SortableList.types.d.ts +1 -0
  169. package/components/sortableList/SortableList.vue.d.ts +12 -2
  170. package/components/sortableList/SortableList.vue.js +5 -5
  171. package/components/sortableList/SortableList.vue2.js +111 -113
  172. package/components/sortableList/SortableSelectableList.vue.d.ts +107 -0
  173. package/components/sortableList/SortableSelectableList.vue.js +7 -0
  174. package/components/sortableList/SortableSelectableList.vue2.js +128 -0
  175. package/components/sortableList/composables/useDraggableHelpers.d.ts +5 -0
  176. package/components/sortableList/composables/useDraggableHelpers.js +20 -0
  177. package/components/sortableList/composables/useHoverEffect.js +1 -1
  178. package/components/sortableList/consts.d.ts +2 -0
  179. package/components/sortableList/consts.js +4 -2
  180. package/components/sortableList/index.d.ts +77 -39
  181. package/components/table/common/consts.d.ts +2 -0
  182. package/components/table/common/consts.js +6 -4
  183. package/components/table/v4/DataGrid.vue.d.ts +12 -7
  184. package/components/table/v4/DataGrid.vue.js +4 -4
  185. package/components/table/v4/DataGrid.vue2.js +273 -268
  186. package/components/table/v4/DataGridContainer.vue.d.ts +10 -0
  187. package/components/table/v4/DataGridContainer.vue.js +7 -0
  188. package/components/table/v4/DataGridContainer.vue2.js +19 -0
  189. package/components/table/v4/DataGridHeader.vue.d.ts +85 -0
  190. package/components/table/v4/DataGridHeader.vue.js +7 -0
  191. package/components/table/v4/DataGridHeader.vue2.js +84 -0
  192. package/components/table/v4/DataGridRowsCounter.vue.js +3 -3
  193. package/components/table/v4/DataGridRowsCounter.vue2.js +12 -12
  194. package/components/table/v4/MultipleDataGrid.vue.d.ts +8 -7
  195. package/components/table/v4/MultipleDataGrid.vue.js +2 -2
  196. package/components/table/v4/MultipleDataGrid.vue2.js +92 -90
  197. package/components/table/v4/index.d.ts +646 -332
  198. package/components/table/v4/index.js +11 -5
  199. package/components/table/v4/storyUtils.d.ts +25 -0
  200. package/components/tagsField/TagsField.types.d.ts +4 -0
  201. package/components/tagsField/TagsField.vue.d.ts +65 -0
  202. package/components/tagsField/TagsField.vue.js +7 -0
  203. package/components/tagsField/TagsField.vue2.js +90 -0
  204. package/components/tagsField/TagsFieldChip.vue.d.ts +45 -0
  205. package/components/tagsField/TagsFieldChip.vue.js +7 -0
  206. package/components/tagsField/TagsFieldChip.vue2.js +81 -0
  207. package/components/tagsField/consts.d.ts +1 -0
  208. package/components/tagsField/consts.js +4 -0
  209. package/components/tagsField/index.d.ts +75 -0
  210. package/components/tagsField/index.js +6 -0
  211. package/components/tooltip/v4/TooltipV4.vue.d.ts +5 -0
  212. package/components/tooltip/v4/TooltipV4.vue.js +2 -2
  213. package/components/tooltip/v4/TooltipV4.vue2.js +18 -17
  214. package/components/tooltip/v4/index.d.ts +20 -1
  215. package/index.d.ts +2675 -1649
  216. package/index.js +137 -121
  217. package/package.json +18 -1
  218. package/testids/index.d.ts +47 -1
  219. package/testids/index.js +40 -32
  220. package/utils/date.d.ts +1 -0
  221. package/utils/date.js +9 -0
  222. package/utils/formatNumbers.d.ts +1 -1
  223. package/utils/formatNumbers.js +38 -21
  224. package/utils/object.d.ts +2 -0
  225. package/utils/object.js +9 -5
  226. package/utils/search.js +1 -1
  227. package/Chart.vue_vue_type_style_index_0_scoped_e8f25a03_lang.css +0 -1
  228. package/ChartHeader.vue_vue_type_style_index_0_scoped_af520313_lang.css +0 -1
  229. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_db8a902c_lang.css +0 -1
  230. package/ChartLegend.vue_vue_type_style_index_0_scoped_6103d8bd_lang.css +0 -1
  231. package/ChartPlane.vue_vue_type_style_index_0_scoped_4f67d41d_lang.css +0 -1
  232. package/ChartTooltip.vue_vue_type_style_index_0_scoped_e53c6287_lang.css +0 -1
  233. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_f5204c04_lang.css +0 -1
  234. package/DataGrid.vue_vue_type_style_index_0_scoped_b21a79b1_lang.css +0 -1
  235. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_ef699ec5_lang.css +0 -1
  236. package/DialogV4.vue_vue_type_style_index_0_scoped_eb226e31_lang.css +0 -1
  237. package/DropdownV4.vue_vue_type_style_index_0_scoped_934163c0_lang.css +0 -1
  238. package/EmptyStateV4.vue_vue_type_style_index_0_scoped_18728498_lang.css +0 -1
  239. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_020a9896_lang.css +0 -1
  240. package/OptionV4.vue_vue_type_style_index_0_scoped_0287cebf_lang.css +0 -1
  241. package/RadioButton.vue_vue_type_style_index_0_scoped_3c6b715c_lang.css +0 -1
  242. package/SortableItem.vue_vue_type_style_index_0_scoped_48542664_lang.css +0 -1
  243. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_f2ced2f4_lang.css +0 -1
  244. package/SortableList.vue_vue_type_style_index_0_scoped_8f267f88_lang.css +0 -1
  245. package/TextField.vue_vue_type_style_index_0_scoped_fce3948c_lang.css +0 -1
  246. package/TooltipHeader.vue_vue_type_style_index_0_scoped_3b15c693_lang.css +0 -1
  247. package/TooltipV4.vue_vue_type_style_index_0_scoped_bcb40ed4_lang.css +0 -1
  248. package/TreeDropdown.vue_vue_type_style_index_0_scoped_4ba9e4bd_lang.css +0 -1
@@ -1,13 +1,13 @@
1
- import "../../../OptionV4.vue_vue_type_style_index_0_scoped_0287cebf_lang.css"; import { defineComponent as A, ref as w, watch as F, computed as L, openBlock as i, createBlock as g, unref as n, createSlots as N, withCtx as d, createElementVNode as u, normalizeClass as v, createCommentVNode as o, createElementBlock as l, renderSlot as r, createVNode as s, toDisplayString as m, createTextVNode as T, withModifiers as C, Fragment as j, renderList as R } from "vue";
1
+ import "../../../OptionV4.vue_vue_type_style_index_0_scoped_752a357d_lang.css"; import { defineComponent as V, ref as I, watch as F, computed as L, openBlock as i, createBlock as g, unref as n, createSlots as N, withCtx as s, createElementVNode as u, normalizeClass as v, createCommentVNode as o, createElementBlock as l, renderSlot as r, createVNode as a, toDisplayString as m, createTextVNode as T, withModifiers as O, Fragment as j, renderList as R } from "vue";
2
2
  import "../../typography/Heading.vue.js";
3
3
  import D from "../../typography/Text.vue.js";
4
4
  import q from "../../checkbox/v4/CheckboxV4.vue.js";
5
5
  import y from "../../icon/v4/IconV4.vue.js";
6
6
  import G from "../../icon/v4/IconFlag.vue.js";
7
- import { NOOP as I } from "@vue/shared";
7
+ import { NOOP as $ } from "@vue/shared";
8
8
  import { optionCommon as H } from "../common/Option.common.js";
9
9
  import p from "../../typography/v4/Typography.vue.js";
10
- import O from "../../tooltip/v4/TooltipV4.vue.js";
10
+ import h from "../../tooltip/v4/TooltipV4.vue.js";
11
11
  import { isElementTruncated as J } from "../../../utils/text.js";
12
12
  import { promiseTimeout as Q } from "@vueuse/core";
13
13
  const U = { class: "multiline-tooltip" }, W = {
@@ -26,10 +26,10 @@ const U = { class: "multiline-tooltip" }, W = {
26
26
  key: 1,
27
27
  class: "main-text"
28
28
  }, te = {
29
- key: 2,
29
+ key: 0,
30
30
  class: "end-text-icon"
31
31
  }, ne = {
32
- key: 3,
32
+ key: 1,
33
33
  class: "caption-text"
34
34
  }, ie = {
35
35
  key: 4,
@@ -37,7 +37,7 @@ const U = { class: "multiline-tooltip" }, W = {
37
37
  }, oe = {
38
38
  key: 5,
39
39
  class: "option-warning"
40
- }, le = ["onClick"], ae = { key: 0 }, ve = /* @__PURE__ */ A({
40
+ }, le = ["onClick"], ae = { key: 0 }, ke = /* @__PURE__ */ V({
41
41
  __name: "OptionV4",
42
42
  props: {
43
43
  option: { default: null },
@@ -56,6 +56,7 @@ const U = { class: "multiline-tooltip" }, W = {
56
56
  endIconType: { default: "regular" },
57
57
  endTextIconKey: { default: null },
58
58
  tooltipPlacement: { default: "right" },
59
+ tooltipAttachedToText: { type: Boolean, default: !1 },
59
60
  treeMainOption: { type: Boolean, default: !1 },
60
61
  treeMainOptionExpanded: { type: Boolean, default: !1 },
61
62
  stopOptionClickEventPropagation: { type: Boolean, default: !1 },
@@ -67,37 +68,38 @@ const U = { class: "multiline-tooltip" }, W = {
67
68
  minMaxSelectionTooltipMessage: { default: null }
68
69
  },
69
70
  emits: ["toggleTreeCollapse"],
70
- setup(e, { emit: $ }) {
71
- const a = e, { selected: x, id: M, onClick: B, api: b } = H(a), S = (t) => {
72
- a.stopOptionClickEventPropagation && t.stopPropagation(), a.disabled ? I() : B(t);
73
- }, k = w(null), h = w(!1), z = (t) => {
74
- a.disabled && (t.stopPropagation(), I());
71
+ setup(e, { emit: M }) {
72
+ const d = e, { selected: b, id: B, onClick: S, api: K } = H(d), z = (t) => {
73
+ d.stopOptionClickEventPropagation && t.stopPropagation(), d.disabled ? $() : S(t);
74
+ }, x = I(null), w = I(!1), A = (t) => {
75
+ d.disabled && (t.stopPropagation(), $());
75
76
  };
76
- F([() => a.treeChildShown, k], async () => {
77
- await Q(100), h.value = k.value && J(k.value);
77
+ F([() => d.treeChildShown, x], async () => {
78
+ await Q(100), w.value = x.value && J(x.value);
78
79
  });
79
- const E = (t) => t && typeof t == "object" && "optionTooltipText" in t ? (Array.isArray(t.optionTooltipText), t.optionTooltipText) : h.value ? t[a.nameKey] : "", K = L(() => {
80
- const t = a.disabled && a.minMaxSelectionTooltipMessage || "", c = E(a.option);
80
+ const P = (t) => t && typeof t == "object" && "optionTooltipText" in t ? (Array.isArray(t.optionTooltipText), t.optionTooltipText) : w.value ? t[d.nameKey] : "", k = L(() => {
81
+ const t = d.disabled && d.minMaxSelectionTooltipMessage || "", c = P(d.option);
81
82
  return c ? t ? `${c}. ${t}` : c : t;
82
- }), P = (t) => t && typeof t == "object" && "optionTooltipTestId" in t ? t.optionTooltipTestId : null, V = () => {
83
- $("toggleTreeCollapse", a.option);
83
+ }), C = (t) => t && typeof t == "object" && "optionTooltipTestId" in t ? t.optionTooltipTestId : null, E = () => {
84
+ M("toggleTreeCollapse", d.option);
84
85
  };
85
- return (t, c) => (i(), g(n(O), {
86
- text: n(K),
87
- "test-id": P(e.option),
86
+ return (t, c) => (i(), g(n(h), {
87
+ text: n(k),
88
+ disabled: e.tooltipAttachedToText,
89
+ "test-id": C(e.option),
88
90
  placement: e.tooltipPlacement,
89
91
  class: "tooltip-option"
90
92
  }, N({
91
- default: d(() => [
93
+ default: s(() => [
92
94
  u("div", {
93
95
  ref: "el",
94
96
  class: v(["item-container", {
95
97
  "item-container--disabled": e.disabled,
96
98
  "item-container--active": e.nameKey ? !1 : e.active,
97
- "item-container--selected": n(x),
99
+ "item-container--selected": n(b),
98
100
  "item-container--multi": e.isMulti
99
101
  }]),
100
- onClick: z
102
+ onClick: A
101
103
  }, [
102
104
  u("div", {
103
105
  class: v(["item", {
@@ -107,13 +109,13 @@ const U = { class: "multiline-tooltip" }, W = {
107
109
  }, [
108
110
  e.isMulti || e.selectAllOption ? (i(), g(n(q), {
109
111
  key: 0,
110
- id: n(M).toString(),
111
- disabled: a.disabled,
112
+ id: n(B).toString(),
113
+ disabled: d.disabled,
112
114
  tabindex: "-1",
113
115
  class: "checkbox",
114
- "is-checked": n(x),
116
+ "is-checked": n(b),
115
117
  "is-indeterminate": e.isIndeterminate,
116
- onClick: c[0] || (c[0] = (f) => S(f))
118
+ onClick: c[0] || (c[0] = (f) => z(f))
117
119
  }, null, 8, ["id", "disabled", "is-checked", "is-indeterminate"])) : o("", !0),
118
120
  !e.option?.conditionalOptions && (t.$slots.image || e.imageKey) ? (i(), l("div", W, [
119
121
  r(t.$slots, "image", {}, () => [
@@ -133,7 +135,7 @@ const U = { class: "multiline-tooltip" }, W = {
133
135
  ])) : o("", !0),
134
136
  !e.option?.conditionalOptions && (t.$slots["icon-start"] || e.iconKey) ? (i(), l("div", Z, [
135
137
  r(t.$slots, "icon-start", {}, () => [
136
- s(n(y), {
138
+ a(n(y), {
137
139
  type: e.iconType,
138
140
  name: e.option[e.iconKey],
139
141
  color: e.option.disabled ? "var(--text-disabled)" : null,
@@ -143,48 +145,59 @@ const U = { class: "multiline-tooltip" }, W = {
143
145
  ])) : o("", !0),
144
146
  u("div", {
145
147
  ref_key: "textContainerRef",
146
- ref: k,
148
+ ref: x,
147
149
  class: "text-container"
148
150
  }, [
149
- s(n(p), {
151
+ a(n(p), {
150
152
  class: "option-text",
151
153
  variant: "body2"
152
154
  }, {
153
- default: d(() => [
155
+ default: s(() => [
154
156
  r(t.$slots, "default", {}, () => [
155
157
  u("div", {
156
158
  class: v(`option-content-${e.optionTwoLinesVariant} option-content`)
157
159
  }, [
158
- e.option?.conditionalOptions ? (i(), l("div", ee, [
159
- s(n(p), {
160
- variant: "body2",
161
- class: "conditional-option-label"
162
- }, {
163
- default: d(() => [
164
- T(m(e.option.conditionalName) + ": ", 1)
165
- ]),
166
- _: 1
167
- }),
168
- s(n(p), {
169
- variant: "h5",
170
- class: "conditional-option-value"
171
- }, {
172
- default: d(() => [
173
- T('"' + m(e.option[e.nameKey]) + '"', 1)
174
- ]),
175
- _: 1
176
- })
177
- ])) : (i(), l("div", _, m(e.option[e.nameKey]), 1)),
160
+ a(n(h), {
161
+ text: n(k),
162
+ placement: e.tooltipPlacement,
163
+ disabled: !e.tooltipAttachedToText,
164
+ "test-id": C(e.option),
165
+ "dont-wrap-disabled": ""
166
+ }, {
167
+ default: s(() => [
168
+ e.option?.conditionalOptions ? (i(), l("div", ee, [
169
+ a(n(p), {
170
+ variant: "body2",
171
+ class: "conditional-option-label"
172
+ }, {
173
+ default: s(() => [
174
+ T(m(e.option.conditionalName) + ": ", 1)
175
+ ]),
176
+ _: 1
177
+ }),
178
+ a(n(p), {
179
+ variant: "h5",
180
+ class: "conditional-option-value"
181
+ }, {
182
+ default: s(() => [
183
+ T('"' + m(e.option[e.nameKey]) + '"', 1)
184
+ ]),
185
+ _: 1
186
+ })
187
+ ])) : (i(), l("div", _, m(e.option[e.nameKey]), 1))
188
+ ]),
189
+ _: 1
190
+ }, 8, ["text", "placement", "disabled", "test-id"]),
178
191
  e.endTextIconKey && e.option[e.endTextIconKey] ? (i(), l("span", te, [
179
- s(n(y), {
192
+ a(n(y), {
180
193
  type: "regular",
181
194
  name: e.option[e.endTextIconKey],
182
195
  size: "16px"
183
196
  }, null, 8, ["name"])
184
197
  ])) : o("", !0),
185
198
  e.optionTwoLinesKey ? (i(), l("div", ne, [
186
- s(n(p), { variant: "caption" }, {
187
- default: d(() => [
199
+ a(n(p), { variant: "caption" }, {
200
+ default: s(() => [
188
201
  T(m(e.option[e.optionTwoLinesKey]), 1)
189
202
  ]),
190
203
  _: 1
@@ -200,7 +213,7 @@ const U = { class: "multiline-tooltip" }, W = {
200
213
  class: "subtitle",
201
214
  size: "xs"
202
215
  }, {
203
- default: d(() => [
216
+ default: s(() => [
204
217
  T(m(e.subtitle), 1)
205
218
  ]),
206
219
  _: 1
@@ -208,7 +221,7 @@ const U = { class: "multiline-tooltip" }, W = {
208
221
  ], 512),
209
222
  t.$slots["icon-end"] || e.endIconKey && e.option[e.endIconKey] ? (i(), l("div", ie, [
210
223
  r(t.$slots, "icon-end", {}, () => [
211
- s(n(y), {
224
+ a(n(y), {
212
225
  type: e.endIconType || "regular",
213
226
  name: e.option[e.endIconKey],
214
227
  size: e.endIconType === "regular" || e.endIconType === "ab-test" ? "20px" : "16px"
@@ -216,12 +229,12 @@ const U = { class: "multiline-tooltip" }, W = {
216
229
  ], !0)
217
230
  ])) : o("", !0),
218
231
  e.warningKey && e.option?.[e.warningKey] ? (i(), l("div", oe, [
219
- s(n(O), {
232
+ a(n(h), {
220
233
  text: e.option[e.warningKey],
221
234
  placement: "top"
222
235
  }, {
223
- default: d(() => [
224
- s(n(y), {
236
+ default: s(() => [
237
+ a(n(y), {
225
238
  class: "option-warning__icon",
226
239
  name: "warning-circle",
227
240
  size: "16px"
@@ -237,21 +250,21 @@ const U = { class: "multiline-tooltip" }, W = {
237
250
  e.treeMainOption ? (i(), l("div", {
238
251
  key: 7,
239
252
  class: "tree-main-arrow-wrapper",
240
- onClick: C(V, ["stop"])
253
+ onClick: O(E, ["stop"])
241
254
  }, [
242
- s(n(y), {
255
+ a(n(y), {
243
256
  name: "caret-down",
244
257
  size: "16px",
245
258
  class: v(`app-trigger--icon ${e.treeMainOptionExpanded && "expanded"}`)
246
259
  }, null, 8, ["class"])
247
260
  ], 8, le)) : o("", !0)
248
261
  ], 2),
249
- n(b).clearable && n(x) ? (i(), l("div", ae, [
262
+ n(K).clearable && n(b) ? (i(), l("div", ae, [
250
263
  u("button", {
251
264
  class: "clear-button",
252
- onClick: c[1] || (c[1] = C((f) => n(b).clearSelection(), ["prevent", "stop"]))
265
+ onClick: c[1] || (c[1] = O((f) => n(K).clearSelection(), ["prevent", "stop"]))
253
266
  }, [
254
- s(n(y), {
267
+ a(n(y), {
255
268
  name: "close",
256
269
  width: "8",
257
270
  height: "8"
@@ -262,15 +275,15 @@ const U = { class: "multiline-tooltip" }, W = {
262
275
  ]),
263
276
  _: 2
264
277
  }, [
265
- Array.isArray(n(K)) ? {
278
+ Array.isArray(n(k)) ? {
266
279
  name: "tooltip",
267
- fn: d(() => [
280
+ fn: s(() => [
268
281
  u("div", U, [
269
- (i(!0), l(j, null, R(n(K), (f) => (i(), g(n(p), {
282
+ (i(!0), l(j, null, R(n(k), (f) => (i(), g(n(p), {
270
283
  key: f,
271
284
  variant: "body2"
272
285
  }, {
273
- default: d(() => [
286
+ default: s(() => [
274
287
  T(m(f), 1)
275
288
  ]),
276
289
  _: 2
@@ -279,9 +292,9 @@ const U = { class: "multiline-tooltip" }, W = {
279
292
  ]),
280
293
  key: "0"
281
294
  } : void 0
282
- ]), 1032, ["text", "test-id", "placement"]));
295
+ ]), 1032, ["text", "disabled", "test-id", "placement"]));
283
296
  }
284
297
  });
285
298
  export {
286
- ve as default
299
+ ke as default
287
300
  };
@@ -20,6 +20,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
20
20
  optionChildrenKey: string;
21
21
  optionUniqueIdKey: string | number;
22
22
  preExpandedOptions: string[] | number[];
23
+ triggerFeedbackText?: string;
24
+ triggerFeedbackVariant?: "success" | "warning" | "error";
23
25
  }>, {
24
26
  selected: any;
25
27
  placeholder: string;
@@ -36,6 +38,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
36
38
  optionEndTextIconKey: any;
37
39
  valueToCopy: any;
38
40
  disabledOptionKey: string;
41
+ triggerFeedbackText: string;
42
+ triggerFeedbackVariant: any;
39
43
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
40
44
  "update:selected": (value: unknown) => void;
41
45
  "update:isOpen": (value: unknown) => void;
@@ -61,6 +65,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
61
65
  optionChildrenKey: string;
62
66
  optionUniqueIdKey: string | number;
63
67
  preExpandedOptions: string[] | number[];
68
+ triggerFeedbackText?: string;
69
+ triggerFeedbackVariant?: "success" | "warning" | "error";
64
70
  }>, {
65
71
  selected: any;
66
72
  placeholder: string;
@@ -77,6 +83,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
77
83
  optionEndTextIconKey: any;
78
84
  valueToCopy: any;
79
85
  disabledOptionKey: string;
86
+ triggerFeedbackText: string;
87
+ triggerFeedbackVariant: any;
80
88
  }>>> & {
81
89
  "onUpdate:selected"?: (value: unknown) => any;
82
90
  "onUpdate:isOpen"?: (value: unknown) => any;
@@ -87,6 +95,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
87
95
  valueToCopy: string;
88
96
  selected: unknown[];
89
97
  placeholder: string;
98
+ triggerFeedbackText: string;
99
+ triggerFeedbackVariant: "success" | "warning" | "error";
90
100
  inlineSearchPlaceholder: string;
91
101
  optionNameKey: string;
92
102
  optionIconKey: string;
@@ -1,7 +1,7 @@
1
1
  import o from "./TreeDropdown.vue2.js";
2
2
  /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../TreeDropdown.vue_vue_type_style_index_0_scoped_4ba9e4bd_lang.css"; //*');
4
- const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-4ba9e4bd"]]);
3
+ // import "../../../TreeDropdown.vue_vue_type_style_index_0_scoped_63dc057e_lang.css"; //*');
4
+ const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-63dc057e"]]);
5
5
  export {
6
6
  s as default
7
7
  };