@ironsource/shared-ui 2.1.11-test.5 → 2.1.11-test.50

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 (191) hide show
  1. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_604dfc6f_lang.css +1 -0
  2. package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_1aa6df01_lang.css +1 -0
  3. package/Chart.vue_vue_type_style_index_0_scoped_277fde76_lang.css +1 -0
  4. package/ChartHeader.vue_vue_type_style_index_0_scoped_b8213498_lang.css +1 -0
  5. package/ChartLegend.vue_vue_type_style_index_0_scoped_a1c626cd_lang.css +1 -0
  6. package/ChartTooltip.vue_vue_type_style_index_0_scoped_6744325c_lang.css +1 -0
  7. package/CheckboxV4.vue_vue_type_style_index_0_scoped_af4ae3c3_lang.css +1 -0
  8. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e43ac1c9_lang.css +1 -0
  9. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_27802170_lang.css +1 -0
  10. package/DataGrid.vue_vue_type_style_index_0_scoped_26488faf_lang.css +1 -0
  11. package/DataGridMenu.vue_vue_type_style_index_0_scoped_ddfaf207_lang.css +1 -0
  12. package/DateRangeV4.vue_vue_type_style_index_0_scoped_309e5351_lang.css +1 -0
  13. package/DialogV4.vue_vue_type_style_index_0_scoped_37da643b_lang.css +1 -0
  14. package/DropdownV4.vue_vue_type_style_index_0_scoped_75002075_lang.css +1 -0
  15. package/EditableV4.vue_vue_type_style_index_0_scoped_1bbe222a_lang.css +1 -0
  16. package/EmptyStateV4.vue_vue_type_style_index_0_scoped_18728498_lang.css +1 -0
  17. package/FiltersPanelV4.vue_vue_type_style_index_0_scoped_383011d3_lang.css +1 -0
  18. package/FormCard.vue_vue_type_style_index_0_scoped_86feae7b_lang.css +1 -0
  19. package/IconFlag.vue_vue_type_style_index_0_scoped_be9dc7bb_lang.css +1 -0
  20. package/InlineCopy.vue_vue_type_style_index_0_scoped_ad48b61e_lang.css +1 -0
  21. package/OptionV4.vue_vue_type_style_index_0_scoped_2c2947b3_lang.css +1 -0
  22. package/PopoverV4.vue_vue_type_style_index_0_scoped_66694b4e_lang.css +1 -0
  23. package/README.md +4 -15
  24. package/SnackbarV4.vue_vue_type_style_index_0_scoped_89fe8aa1_lang.css +1 -0
  25. package/SortableItem.vue_vue_type_style_index_0_scoped_2ca7b24c_lang.css +1 -0
  26. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_f2ced2f4_lang.css +1 -0
  27. package/SortableList.vue_vue_type_style_index_0_scoped_8f267f88_lang.css +1 -0
  28. package/TextField.vue_vue_type_style_index_0_scoped_fce3948c_lang.css +1 -0
  29. package/ThemeWrapper.vue_vue_type_style_index_1_lang.css +1 -1
  30. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_c81a7d3e_lang.css +1 -0
  31. package/TooltipV4.vue_vue_type_style_index_0_scoped_66eab856_lang.css +1 -0
  32. package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
  33. package/TreeDropdown.vue_vue_type_style_index_0_scoped_b883d1fa_lang.css +1 -0
  34. package/Typography.vue_vue_type_style_index_0_scoped_5714d43e_lang.css +1 -0
  35. package/components/autocomplete/Autocomplete.vue2.js +3 -2
  36. package/components/button/v4/ToggleButtonGroupAB.vue.d.ts +3 -1
  37. package/components/button/v4/ToggleButtonGroupAB.vue.js +2 -2
  38. package/components/button/v4/ToggleButtonGroupAB.vue2.js +44 -39
  39. package/components/button/v4/index.d.ts +9 -3
  40. package/components/chart/Chart.vue.d.ts +16 -3
  41. package/components/chart/Chart.vue.js +5 -5
  42. package/components/chart/Chart.vue2.js +127 -110
  43. package/components/chart/ChartHeader.vue.d.ts +13 -6
  44. package/components/chart/ChartHeader.vue.js +2 -2
  45. package/components/chart/ChartHeader.vue2.js +32 -29
  46. package/components/chart/ChartLegend.vue.d.ts +5 -0
  47. package/components/chart/ChartLegend.vue.js +3 -3
  48. package/components/chart/ChartLegend.vue2.js +99 -49
  49. package/components/chart/ChartTooltip.vue.d.ts +4 -5
  50. package/components/chart/ChartTooltip.vue.js +2 -2
  51. package/components/chart/ChartTooltip.vue2.js +64 -43
  52. package/components/chart/SettingsHeader.vue2.js +3 -2
  53. package/components/chart/index.d.ts +55 -16
  54. package/components/chart/mockData.d.ts +15 -2
  55. package/components/chart/types.d.ts +15 -1
  56. package/components/chart/utils/utils.js +5 -5
  57. package/components/checkbox/v4/CheckboxV4.vue.js +3 -3
  58. package/components/checkbox/v4/CheckboxV4.vue2.js +2 -2
  59. package/components/datePicker/v4/DatePickerV4.vue2.js +8 -7
  60. package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
  61. package/components/dateRange/v4/DateRangeV4.vue2.js +9 -9
  62. package/components/dialog/v4/DialogV4.vue.d.ts +15 -0
  63. package/components/dialog/v4/DialogV4.vue.js +3 -3
  64. package/components/dialog/v4/DialogV4.vue2.js +80 -73
  65. package/components/dialog/v4/index.d.ts +58 -1
  66. package/components/dropdown/common/Dropdown.common.js +200 -189
  67. package/components/dropdown/v3/Dropdown.vue.d.ts +2 -2
  68. package/components/dropdown/v3/index.d.ts +39 -39
  69. package/components/dropdown/v4/AppDropdownTrigger.vue.d.ts +1 -1
  70. package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +15 -0
  71. package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +2 -2
  72. package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +42 -20
  73. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue.js +2 -2
  74. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue2.js +7 -7
  75. package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +10 -0
  76. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
  77. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +88 -47
  78. package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +110 -0
  79. package/components/dropdown/v4/ConditionalDropdown.vue.js +7 -0
  80. package/components/dropdown/v4/ConditionalDropdown.vue2.js +224 -0
  81. package/components/dropdown/v4/DropdownV4.vue.d.ts +32 -11
  82. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  83. package/components/dropdown/v4/DropdownV4.vue2.js +153 -138
  84. package/components/dropdown/v4/OptionV4.vue.d.ts +10 -0
  85. package/components/dropdown/v4/OptionV4.vue.js +2 -2
  86. package/components/dropdown/v4/OptionV4.vue2.js +135 -98
  87. package/components/dropdown/v4/TreeDropdown.vue.d.ts +6 -1
  88. package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
  89. package/components/dropdown/v4/TreeDropdown.vue2.js +165 -120
  90. package/components/dropdown/v4/index.d.ts +443 -110
  91. package/components/dropdown/v4/index.js +6 -3
  92. package/components/emptyState/v4/EmptyStateV4.vue.js +3 -3
  93. package/components/emptyState/v4/EmptyStateV4.vue2.js +1 -1
  94. package/components/filtersPanel/v4/FiltersPanelV4.vue.js +2 -2
  95. package/components/filtersPanel/v4/FiltersPanelV4.vue2.js +8 -9
  96. package/components/forms/FormCard.vue.js +3 -3
  97. package/components/forms/FormCard.vue2.js +1 -1
  98. package/components/icon/v4/IconFlag.vue.js +3 -3
  99. package/components/icon/v4/IconFlag.vue2.js +1 -1
  100. package/components/icon/v4/consts.d.ts +1 -1
  101. package/components/icon/v4/consts.js +1 -1
  102. package/components/inlineCopy/InlineCopy.vue.d.ts +5 -0
  103. package/components/inlineCopy/InlineCopy.vue.js +2 -2
  104. package/components/inlineCopy/InlineCopy.vue2.js +24 -22
  105. package/components/inlineCopy/index.d.ts +9 -0
  106. package/components/input/v4/TextField.vue.js +3 -3
  107. package/components/input/v4/TextField.vue2.js +185 -165
  108. package/components/multibar/MultiBarMenu.vue2.js +3 -2
  109. package/components/popover/v4/PopoverV4.vue.d.ts +14 -2
  110. package/components/popover/v4/PopoverV4.vue.js +4 -3
  111. package/components/popover/v4/PopoverV4.vue2.js +40 -24
  112. package/components/popover/v4/index.d.ts +55 -11
  113. package/components/snackbar/v4/SnackbarV4.vue.d.ts +7 -116
  114. package/components/snackbar/v4/SnackbarV4.vue.js +5 -5
  115. package/components/snackbar/v4/SnackbarV4.vue2.js +62 -60
  116. package/components/sortableList/SortableItem.vue.d.ts +5 -0
  117. package/components/sortableList/SortableItem.vue.js +2 -2
  118. package/components/sortableList/SortableItem.vue2.js +86 -70
  119. package/components/sortableList/SortableItemLabel.vue.js +3 -3
  120. package/components/sortableList/SortableItemLabel.vue2.js +20 -23
  121. package/components/sortableList/SortableList.vue.d.ts +17 -1
  122. package/components/sortableList/SortableList.vue.js +4 -4
  123. package/components/sortableList/SortableList.vue2.js +113 -94
  124. package/components/sortableList/index.d.ts +63 -5
  125. package/components/table/common/Table.common.d.ts +1 -1
  126. package/components/table/common/Table.common.js +83 -77
  127. package/components/table/common/Table.types.d.ts +1 -1
  128. package/components/table/common/consts.d.ts +4 -0
  129. package/components/table/common/consts.js +7 -0
  130. package/components/table/v3/Table.vue.d.ts +1 -1
  131. package/components/table/v3/index.d.ts +5 -5
  132. package/components/table/v4/DataGrid.vue.d.ts +12 -2
  133. package/components/table/v4/DataGrid.vue.js +2 -2
  134. package/components/table/v4/DataGrid.vue2.js +164 -155
  135. package/components/table/v4/DataGridMenu.vue.js +5 -5
  136. package/components/table/v4/DataGridMenu.vue2.js +4 -3
  137. package/components/table/v4/MultipleDataGrid.vue.d.ts +1 -1
  138. package/components/table/v4/index.d.ts +84 -46
  139. package/components/table-cells/common/Editable.common.js +29 -23
  140. package/components/table-cells/common/EditableContext.d.ts +1 -0
  141. package/components/table-cells/v4/EditableV4.vue.d.ts +5 -0
  142. package/components/table-cells/v4/EditableV4.vue.js +3 -3
  143. package/components/table-cells/v4/EditableV4.vue2.js +11 -10
  144. package/components/table-cells/v4/index.d.ts +20 -1
  145. package/components/tooltip/v4/TooltipV4.vue.d.ts +10 -0
  146. package/components/tooltip/v4/TooltipV4.vue.js +3 -3
  147. package/components/tooltip/v4/TooltipV4.vue2.js +24 -21
  148. package/components/tooltip/v4/index.d.ts +39 -1
  149. package/components/typography/v4/Typography.vue.js +3 -3
  150. package/components/typography/v4/Typography.vue2.js +24 -18
  151. package/design-foundation.stories/icons/iconsData.d.ts +1 -1
  152. package/index.d.ts +1626 -366
  153. package/index.js +1 -1
  154. package/mocks/options.d.ts +48 -6
  155. package/mocks/words.d.ts +1 -1
  156. package/package.json +2 -1
  157. package/style/v4/grid.css +1 -1
  158. package/style/v4/grid.css.map +1 -1
  159. package/style/v4/spacings.scss +1 -0
  160. package/testids/index.d.ts +2 -0
  161. package/testids/index.js +13 -13
  162. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_76c74f58_lang.css +0 -1
  163. package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_7f750550_lang.css +0 -1
  164. package/Chart.vue_vue_type_style_index_0_scoped_ea1e5c3e_lang.css +0 -1
  165. package/ChartHeader.vue_vue_type_style_index_0_scoped_4c37736e_lang.css +0 -1
  166. package/ChartLegend.vue_vue_type_style_index_0_scoped_c0f71a49_lang.css +0 -1
  167. package/ChartTooltip.vue_vue_type_style_index_0_scoped_ec636f18_lang.css +0 -1
  168. package/CheckboxV4.vue_vue_type_style_index_0_scoped_8e5b619a_lang.css +0 -1
  169. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_49bd7193_lang.css +0 -1
  170. package/DataGrid.vue_vue_type_style_index_0_scoped_0cd8af73_lang.css +0 -1
  171. package/DataGridMenu.vue_vue_type_style_index_0_scoped_a6e4672f_lang.css +0 -1
  172. package/DateRangeV4.vue_vue_type_style_index_0_scoped_f81413ec_lang.css +0 -1
  173. package/DialogV4.vue_vue_type_style_index_0_scoped_09c488cf_lang.css +0 -1
  174. package/DropdownV4.vue_vue_type_style_index_0_scoped_e899ec7a_lang.css +0 -1
  175. package/EditableV4.vue_vue_type_style_index_0_scoped_e0c047b4_lang.css +0 -1
  176. package/EmptyStateV4.vue_vue_type_style_index_0_scoped_24001caa_lang.css +0 -1
  177. package/FiltersPanelV4.vue_vue_type_style_index_0_scoped_39061862_lang.css +0 -1
  178. package/FormCard.vue_vue_type_style_index_0_scoped_c7965a69_lang.css +0 -1
  179. package/IconFlag.vue_vue_type_style_index_0_scoped_7b09cc85_lang.css +0 -1
  180. package/InlineCopy.vue_vue_type_style_index_0_scoped_893a203c_lang.css +0 -1
  181. package/OptionV4.vue_vue_type_style_index_0_scoped_4070942a_lang.css +0 -1
  182. package/PopoverV4.vue_vue_type_style_index_0_scoped_74bbce13_lang.css +0 -1
  183. package/SnackbarV4.vue_vue_type_style_index_0_scoped_49c5ccea_lang.css +0 -1
  184. package/SortableItem.vue_vue_type_style_index_0_scoped_9dd4d372_lang.css +0 -1
  185. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_1386ae20_lang.css +0 -1
  186. package/SortableList.vue_vue_type_style_index_0_scoped_e9cd63b8_lang.css +0 -1
  187. package/TextField.vue_vue_type_style_index_0_scoped_4d9bf5b2_lang.css +0 -1
  188. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_9d9e51c0_lang.css +0 -1
  189. package/TooltipV4.vue_vue_type_style_index_0_scoped_fcdb9d02_lang.css +0 -1
  190. package/TreeDropdown.vue_vue_type_style_index_0_scoped_6ac5f602_lang.css +0 -1
  191. package/Typography.vue_vue_type_style_index_0_scoped_992962bc_lang.css +0 -1
@@ -1,12 +1,12 @@
1
- import "../../SortableItem.vue_vue_type_style_index_0_scoped_9dd4d372_lang.css"; import { defineComponent as P, computed as x, watch as E, ref as $, openBlock as o, createElementBlock as a, normalizeClass as f, unref as e, withModifiers as c, createElementVNode as r, createVNode as h, createBlock as s, withCtx as b, createTextVNode as w, toDisplayString as F, createCommentVNode as u, renderSlot as z, mergeProps as S, normalizeProps as I, Fragment as R, renderList as D } from "vue";
2
- import V from "../typography/v4/Typography.vue.js";
1
+ import "../../SortableItem.vue_vue_type_style_index_0_scoped_2ca7b24c_lang.css"; import { defineComponent as P, useCssVars as E, useSlots as $, computed as C, watch as I, ref as R, openBlock as l, createElementBlock as n, normalizeClass as f, unref as t, withModifiers as u, createElementVNode as d, createVNode as h, createBlock as a, withCtx as b, createTextVNode as S, toDisplayString as V, createCommentVNode as c, renderSlot as D, mergeProps as F, normalizeProps as j, Fragment as q, renderList as A } from "vue";
2
+ import L from "../typography/v4/Typography.vue.js";
3
3
  import m from "../icon/v4/IconV4.vue.js";
4
- import L from "../icon/v4/IconFlag.vue.js";
5
- import j from "./SortableItemLabel.vue.js";
6
- import { useVirtualList as q } from "@vueuse/core";
7
- import { matchString as A } from "../../utils/search.js";
8
- import { useHoverEffect as G } from "./composables/useHoverEffect.js";
9
- const J = { class: "draggable-handle" }, K = { class: "item__prefix" }, U = ["onClick"], W = { class: "item__text" }, X = ["onClick"], re = /* @__PURE__ */ P({
4
+ import w from "../icon/v4/IconFlag.vue.js";
5
+ import G from "./SortableItemLabel.vue.js";
6
+ import { useVirtualList as J } from "@vueuse/core";
7
+ import { matchString as K } from "../../utils/search.js";
8
+ import { useHoverEffect as U } from "./composables/useHoverEffect.js";
9
+ const W = { class: "draggable-handle" }, X = { class: "item__prefix" }, Y = ["onClick"], Z = { class: "item__text" }, _ = ["onClick"], de = /* @__PURE__ */ P({
10
10
  __name: "SortableItem",
11
11
  props: {
12
12
  item: null,
@@ -15,126 +15,142 @@ const J = { class: "draggable-handle" }, K = { class: "item__prefix" }, U = ["on
15
15
  isSelected: { type: Boolean, default: !1 },
16
16
  selectedChildId: { default: null },
17
17
  searchQuery: { default: null },
18
+ childListMaxHeight: { default: "530px" },
18
19
  searchHandler: { type: Function, default: null },
19
20
  displayValue: null
20
21
  },
21
22
  emits: ["toggle", "select", "selectChild"],
22
- setup(t, { emit: y }) {
23
- const n = t, Q = () => {
24
- y("toggle", !n.isOpen);
25
- }, g = x(() => (n.item.children || []).filter(
26
- (l) => n.searchHandler ? n.searchHandler(l, n.searchQuery) : A(l.displayText, n.searchQuery)
27
- )), p = x(() => g.value.length > 0), B = (d) => d.id === n.selectedChildId, {
28
- list: H,
29
- containerProps: M,
23
+ setup(e, { emit: y }) {
24
+ const s = e;
25
+ E((r) => ({
26
+ bdf83566: e.childListMaxHeight
27
+ }));
28
+ const H = $(), M = () => {
29
+ y("toggle", !s.isOpen);
30
+ }, g = C(() => (s.item.children || []).filter(
31
+ (o) => s.searchHandler ? s.searchHandler(o, s.searchQuery) : K(o.displayText, s.searchQuery)
32
+ )), k = C(() => g.value.length > 0), z = (r) => r.id === s.selectedChildId, {
33
+ list: Q,
34
+ containerProps: B,
30
35
  wrapperProps: T,
31
36
  scrollTo: N
32
- } = q(g, {
37
+ } = J(g, {
33
38
  itemHeight: 34
34
39
  });
35
- E(
36
- () => n.searchQuery,
40
+ I(
41
+ () => s.searchQuery,
37
42
  () => N(0)
38
43
  );
39
- const k = $(null), { handleMouseout: v, handleMouseover: C } = G(
40
- k,
44
+ const p = R(null), { handleMouseout: v, handleMouseover: x } = U(
45
+ p,
41
46
  "sortable-item--hovered"
42
47
  );
43
- return (d, l) => (o(), a("div", {
48
+ return (r, o) => (l(), n("div", {
44
49
  ref_key: "itemRef",
45
- ref: k,
46
- class: f(["sortable-item", { "sortable-item--selected": t.isSelected }]),
47
- onMouseover: l[1] || (l[1] = //@ts-ignore
48
- (...i) => e(C) && e(C)(...i)),
49
- onMouseout: l[2] || (l[2] = //@ts-ignore
50
- (...i) => e(v) && e(v)(...i)),
51
- onClick: l[3] || (l[3] = c((i) => y("select"), ["stop"]))
50
+ ref: p,
51
+ class: f(["sortable-item", { "sortable-item--selected": e.isSelected }]),
52
+ onMouseover: o[1] || (o[1] = //@ts-ignore
53
+ (...i) => t(x) && t(x)(...i)),
54
+ onMouseout: o[2] || (o[2] = //@ts-ignore
55
+ (...i) => t(v) && t(v)(...i)),
56
+ onClick: o[3] || (o[3] = u((i) => y("select"), ["stop"]))
52
57
  }, [
53
- r("div", {
54
- class: f(["item", { "drag-allowed": !t.item.isLocked && !t.searchQuery }])
58
+ d("div", {
59
+ class: f(["item", {
60
+ "drag-allowed": !e.item.isLocked && !e.searchQuery,
61
+ "item--selected": e.isSelected && !e.selectedChildId
62
+ }])
55
63
  }, [
56
- r("div", J, [
57
- h(e(m), {
64
+ d("div", W, [
65
+ h(t(m), {
58
66
  name: "dots-six-vertical",
59
- width: "20px",
67
+ size: "20px",
60
68
  type: "bold"
61
69
  })
62
70
  ]),
63
- r("div", K, [
64
- t.item.isLocked ? (o(), s(e(m), {
71
+ d("div", X, [
72
+ e.item.isLocked ? (l(), a(t(m), {
65
73
  key: 1,
66
74
  class: "locked-icon",
67
75
  name: "lock",
68
- width: "16px"
69
- })) : (o(), s(e(V), {
76
+ size: "16px"
77
+ })) : (l(), a(t(L), {
70
78
  key: 0,
71
79
  class: "order-num",
72
80
  variant: "subtitle2"
73
81
  }, {
74
82
  default: b(() => [
75
- w(F(t.index + 1) + ". ", 1)
83
+ S(V(e.index + 1) + ". ", 1)
76
84
  ]),
77
85
  _: 1
78
86
  }))
79
87
  ]),
80
- e(p) && !t.searchQuery ? (o(), a("div", {
88
+ t(k) && !e.searchQuery ? (l(), n("div", {
81
89
  key: 0,
82
90
  class: "expand-icon",
83
- onClick: c(Q, ["stop"])
91
+ onClick: u(M, ["stop"])
84
92
  }, [
85
- t.isOpen ? (o(), s(e(m), {
93
+ e.isOpen ? (l(), a(t(m), {
86
94
  key: 0,
87
95
  name: "caret-down",
88
- width: "16px"
89
- })) : (o(), s(e(m), {
96
+ size: "16px"
97
+ })) : (l(), a(t(m), {
90
98
  key: 1,
91
99
  name: "caret-right",
92
- width: "16px"
100
+ size: "16px"
93
101
  }))
94
- ], 8, U)) : u("", !0),
95
- r("div", W, [
96
- t.item.countryFlag ? (o(), s(e(L), {
102
+ ], 8, Y)) : c("", !0),
103
+ d("div", Z, [
104
+ e.item.countryFlag ? (l(), a(t(w), {
97
105
  key: 0,
98
106
  class: "country-flag",
99
- "country-code": t.item.countryFlag
100
- }, null, 8, ["country-code"])) : u("", !0),
101
- h(j, {
102
- "display-value": t.displayValue,
103
- item: t.item
107
+ "country-code": e.item.countryFlag
108
+ }, null, 8, ["country-code"])) : c("", !0),
109
+ h(G, {
110
+ "display-value": e.displayValue,
111
+ item: e.item
104
112
  }, null, 8, ["display-value", "item"])
105
113
  ]),
106
- r("div", {
114
+ t(H).menu ? (l(), n("div", {
115
+ key: 1,
107
116
  class: "item__menu",
108
- onClick: l[0] || (l[0] = c(() => {
117
+ onClick: o[0] || (o[0] = u(() => {
109
118
  }, ["stop"]))
110
119
  }, [
111
- z(d.$slots, "menu", {}, void 0, !0)
112
- ])
120
+ D(r.$slots, "menu", {}, void 0, !0)
121
+ ])) : c("", !0)
113
122
  ], 2),
114
- r("div", S(e(M), { class: "child-list" }), [
115
- e(p) && t.isOpen ? (o(), a("ul", I(S({ key: 0 }, e(T))), [
116
- (o(!0), a(R, null, D(e(H), ({ data: i, index: O }) => (o(), a("li", {
123
+ d("div", F(t(B), { class: "child-list" }), [
124
+ t(k) && e.isOpen ? (l(), n("ul", j(F({ key: 0 }, t(T))), [
125
+ (l(!0), n(q, null, A(t(Q), ({ data: i, index: O }) => (l(), n("li", {
117
126
  key: O,
118
- class: f({ selected: B(i) }),
119
- onClick: c((Y) => y("selectChild", i), ["stop"])
127
+ class: f({ selected: z(i) }),
128
+ onClick: u((ee) => y("selectChild", i), ["stop"])
120
129
  }, [
121
- i.countryFlag ? (o(), s(e(L), {
130
+ i.countryFlag ? (l(), a(t(w), {
122
131
  key: 0,
123
132
  class: "country-flag",
124
133
  "country-code": i.countryFlag
125
- }, null, 8, ["country-code"])) : u("", !0),
126
- h(e(V), { variant: "body2" }, {
134
+ }, null, 8, ["country-code"])) : c("", !0),
135
+ h(t(L), {
136
+ class: "country-title",
137
+ variant: "body2",
138
+ "tooltip-placement": "top",
139
+ "tooltip-text": e.displayValue(i),
140
+ "is-truncated": "",
141
+ "with-tooltip": ""
142
+ }, {
127
143
  default: b(() => [
128
- w(F(t.displayValue(i)), 1)
144
+ S(V(e.displayValue(i)), 1)
129
145
  ]),
130
146
  _: 2
131
- }, 1024)
132
- ], 10, X))), 128))
133
- ], 16)) : u("", !0)
147
+ }, 1032, ["tooltip-text"])
148
+ ], 10, _))), 128))
149
+ ], 16)) : c("", !0)
134
150
  ], 16)
135
151
  ], 34));
136
152
  }
137
153
  });
138
154
  export {
139
- re as default
155
+ de as default
140
156
  };
@@ -1,7 +1,7 @@
1
1
  import e from "./SortableItemLabel.vue2.js";
2
2
  /* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../SortableItemLabel.vue_vue_type_style_index_0_scoped_1386ae20_lang.css"; //*');
4
- const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-1386ae20"]]);
3
+ // import "../../SortableItemLabel.vue_vue_type_style_index_0_scoped_f2ced2f4_lang.css"; //*');
4
+ const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-f2ced2f4"]]);
5
5
  export {
6
- s as default
6
+ a as default
7
7
  };
@@ -1,30 +1,30 @@
1
- import "../../SortableItemLabel.vue_vue_type_style_index_0_scoped_1386ae20_lang.css"; import { defineComponent as m, openBlock as a, createBlock as u, unref as l, withCtx as t, createElementVNode as p, createElementBlock as c, Fragment as h, renderList as f, createVNode as i, createTextVNode as o, toDisplayString as r, normalizeClass as x } from "vue";
1
+ import "../../SortableItemLabel.vue_vue_type_style_index_0_scoped_f2ced2f4_lang.css"; import { defineComponent as m, openBlock as a, createBlock as p, unref as l, withCtx as e, createElementVNode as u, createElementBlock as d, Fragment as f, renderList as h, createVNode as i, createTextVNode as o, toDisplayString as r } from "vue";
2
2
  import n from "../typography/v4/Typography.vue.js";
3
- import y from "../tooltip/v4/TooltipV4.vue.js";
4
- const _ = { class: "tooltip-content" }, k = /* @__PURE__ */ m({
3
+ import _ from "../tooltip/v4/TooltipV4.vue.js";
4
+ const x = { class: "tooltip-content" }, g = /* @__PURE__ */ m({
5
5
  __name: "SortableItemLabel",
6
6
  props: {
7
7
  item: null,
8
8
  displayValue: null
9
9
  },
10
- setup(e) {
11
- return (b, T) => (a(), u(l(y), {
10
+ setup(t) {
11
+ return (y, b) => (a(), p(l(_), {
12
12
  class: "item-label",
13
13
  placement: "right",
14
- disabled: !e.item.helpText
14
+ disabled: !t.item.helpText
15
15
  }, {
16
- tooltip: t(() => [
17
- p("div", _, [
18
- (a(!0), c(h, null, f(e.item.helpText, (s, d) => (a(), c("div", {
19
- key: d,
16
+ tooltip: e(() => [
17
+ u("div", x, [
18
+ (a(!0), d(f, null, h(t.item.helpText, (c, s) => (a(), d("div", {
19
+ key: s,
20
20
  class: "help"
21
21
  }, [
22
22
  i(l(n), {
23
23
  class: "help__title",
24
24
  variant: "h5"
25
25
  }, {
26
- default: t(() => [
27
- o(r(s.title), 1)
26
+ default: e(() => [
27
+ o(r(c.title), 1)
28
28
  ]),
29
29
  _: 2
30
30
  }, 1024),
@@ -32,29 +32,26 @@ const _ = { class: "tooltip-content" }, k = /* @__PURE__ */ m({
32
32
  class: "help__text",
33
33
  variant: "body2"
34
34
  }, {
35
- default: t(() => [
36
- o(r(s.text), 1)
35
+ default: e(() => [
36
+ o(r(c.text), 1)
37
37
  ]),
38
38
  _: 2
39
39
  }, 1024)
40
40
  ]))), 128))
41
41
  ])
42
42
  ]),
43
- default: t(() => [
44
- i(l(n), {
45
- variant: "body2",
46
- class: x({ "decorated-text": e.item.helpText?.length })
47
- }, {
48
- default: t(() => [
49
- o(r(e.displayValue(e.item)), 1)
43
+ default: e(() => [
44
+ i(l(n), { variant: "body2" }, {
45
+ default: e(() => [
46
+ o(r(t.displayValue(t.item)), 1)
50
47
  ]),
51
48
  _: 1
52
- }, 8, ["class"])
49
+ })
53
50
  ]),
54
51
  _: 1
55
52
  }, 8, ["disabled"]));
56
53
  }
57
54
  });
58
55
  export {
59
- k as default
56
+ g as default
60
57
  };
@@ -12,6 +12,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
12
12
  isLoading?: boolean;
13
13
  loadingRowCount?: number;
14
14
  emptyStateTitle?: string;
15
+ childListMaxHeight?: string;
16
+ isSticky?: boolean;
17
+ zIndexBase?: number;
15
18
  testId?: string;
16
19
  }>, {
17
20
  items: () => any[];
@@ -26,6 +29,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
26
29
  isLoading: boolean;
27
30
  loadingRowCount: number;
28
31
  emptyStateTitle: string;
32
+ childListMaxHeight: string;
33
+ isSticky: boolean;
34
+ zIndexBase: number;
29
35
  testId: string;
30
36
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
31
37
  sortableItemDragged: (event: {
@@ -51,6 +57,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
51
57
  isLoading?: boolean;
52
58
  loadingRowCount?: number;
53
59
  emptyStateTitle?: string;
60
+ childListMaxHeight?: string;
61
+ isSticky?: boolean;
62
+ zIndexBase?: number;
54
63
  testId?: string;
55
64
  }>, {
56
65
  items: () => any[];
@@ -65,8 +74,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
65
74
  isLoading: boolean;
66
75
  loadingRowCount: number;
67
76
  emptyStateTitle: string;
77
+ childListMaxHeight: string;
78
+ isSticky: boolean;
79
+ zIndexBase: number;
68
80
  testId: string;
69
81
  }>>> & {
82
+ onClearSearch?: () => any;
70
83
  onSortableItemDragged?: (event: {
71
84
  id: string;
72
85
  newIndex: number;
@@ -76,7 +89,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
76
89
  "onUpdate:selectedId"?: (id: string | number) => any;
77
90
  "onUpdate:selectedChildId"?: (id: string | number) => any;
78
91
  "onUpdate:search"?: (query: string) => any;
79
- onClearSearch?: () => any;
80
92
  }, {
81
93
  search: string;
82
94
  testId: string;
@@ -85,13 +97,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
85
97
  searchPlaceholder: string;
86
98
  items: SortableListItem[];
87
99
  selectedChildId: string | number;
100
+ childListMaxHeight: string;
88
101
  searchHandler: (item: SortableListItem, searchQuery: string) => boolean;
89
102
  openId: string | number;
90
103
  selectedId: string | number;
91
104
  showSearch: boolean;
92
105
  loadingRowCount: number;
93
106
  emptyStateTitle: string;
107
+ isSticky: boolean;
108
+ zIndexBase: number;
94
109
  }>, {
110
+ header?(_: {}): any;
95
111
  menu?(_: {
96
112
  item: SortableListItem;
97
113
  }): any;
@@ -1,7 +1,7 @@
1
1
  import o from "./SortableList.vue2.js";
2
- /* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../SortableList.vue_vue_type_style_index_0_scoped_e9cd63b8_lang.css"; //*');
4
- const c = /* @__PURE__ */ e(o, [["__scopeId", "data-v-e9cd63b8"]]);
2
+ /* empty css */import t from "../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../SortableList.vue_vue_type_style_index_0_scoped_8f267f88_lang.css"; //*');
4
+ const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8f267f88"]]);
5
5
  export {
6
- c as default
6
+ p as default
7
7
  };