@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,21 +1,21 @@
1
- import "../../SortableList.vue_vue_type_style_index_0_scoped_e9cd63b8_lang.css"; import { defineComponent as F, computed as f, ref as P, openBlock as s, createElementBlock as i, mergeProps as T, unref as l, createBlock as g, isRef as N, createCommentVNode as y, withCtx as m, Fragment as V, renderList as D, renderSlot as S, createElementVNode as G, createVNode as $, createTextVNode as U, toDisplayString as M } from "vue";
2
- import { VueDraggable as K } from "vue-draggable-plus";
3
- import w from "./SortableItem.vue.js";
4
- import Q from "../search/v4/SearchV4.vue.js";
5
- import j from "../typography/v4/Typography.vue.js";
6
- import z from "../skeleton/v4/SkeletonV4.vue.js";
7
- import { useVModel as J } from "@vueuse/core";
8
- import { matchString as x } from "../../utils/search.js";
9
- import { useTestIdAttrs as W } from "../../utils/testIds.js";
10
- import { SortableListTestIdModifiers as I } from "../../testids/index.js";
11
- import { DRAG_CURSOR_CSS_CLASS as q } from "./consts.js";
12
- const X = {
1
+ import "../../SortableList.vue_vue_type_style_index_0_scoped_8f267f88_lang.css"; import { defineComponent as P, useCssVars as z, useSlots as G, computed as S, ref as U, openBlock as s, createElementBlock as r, mergeProps as V, unref as l, normalizeClass as K, renderSlot as g, createCommentVNode as h, createBlock as p, isRef as A, withCtx as I, Fragment as x, renderList as B, createSlots as E, createElementVNode as Q, createVNode as H, createTextVNode as j, toDisplayString as J } from "vue";
2
+ import { VueDraggable as W } from "vue-draggable-plus";
3
+ import N from "./SortableItem.vue.js";
4
+ import X from "../search/v4/SearchV4.vue.js";
5
+ import Y from "../typography/v4/Typography.vue.js";
6
+ import Z from "../skeleton/v4/SkeletonV4.vue.js";
7
+ import { useVModel as _ } from "@vueuse/core";
8
+ import { matchString as q } from "../../utils/search.js";
9
+ import { useTestIdAttrs as ee } from "../../utils/testIds.js";
10
+ import { SortableListTestIdModifiers as v } from "../../testids/index.js";
11
+ import { DRAG_CURSOR_CSS_CLASS as O } from "./consts.js";
12
+ const te = {
13
13
  key: 1,
14
14
  class: "sortable-list-container"
15
- }, Y = { class: "loader-bars" }, Z = {
15
+ }, le = { class: "loader-bars" }, de = {
16
16
  key: 3,
17
17
  class: "empty-state-title"
18
- }, ue = /* @__PURE__ */ F({
18
+ }, ye = /* @__PURE__ */ P({
19
19
  __name: "SortableList",
20
20
  props: {
21
21
  items: { default: () => [] },
@@ -30,131 +30,150 @@ const X = {
30
30
  isLoading: { type: Boolean, default: !1 },
31
31
  loadingRowCount: { default: 3 },
32
32
  emptyStateTitle: { default: "No results" },
33
+ childListMaxHeight: { default: "530px" },
34
+ isSticky: { type: Boolean, default: !0 },
35
+ zIndexBase: { default: 100 },
33
36
  testId: { default: "" }
34
37
  },
35
38
  emits: ["sortableItemDragged", "update:items", "update:openId", "update:selectedId", "update:selectedChildId", "update:search", "clearSearch"],
36
- setup(d, { emit: o }) {
37
- const n = d, u = J(n, "search", o), v = f(() => !!u.value?.trim()), C = f(() => v.value ? n.items.filter((t) => {
39
+ setup(d, { emit: n }) {
40
+ const i = d;
41
+ z((t) => ({
42
+ "2b5787e0": d.zIndexBase
43
+ }));
44
+ const y = G(), u = _(i, "search", n), k = S(() => !!u.value?.trim()), C = S(() => k.value ? i.items.filter((t) => {
38
45
  const a = t.children || [], e = u.value;
39
- return n.searchHandler ? n.searchHandler(t, e) : x(t.displayText, e) || // match parent item
40
- a.some((r) => x(r.displayText, e));
41
- }) : n.items), h = f({
46
+ return i.searchHandler ? i.searchHandler(t, e) : q(t.displayText, e) || // match parent item
47
+ a.some((o) => q(o.displayText, e));
48
+ }) : i.items), f = S({
42
49
  get() {
43
50
  return C.value.filter((t) => !t.isLocked);
44
51
  },
45
52
  set(t) {
46
- o("update:items", [...t, ...b.value]);
53
+ n("update:items", [...t, ...L.value]);
47
54
  }
48
- }), b = f(
55
+ }), L = S(
49
56
  () => C.value.filter((t) => t.isLocked)
50
- ), k = P(!1), H = (t) => {
51
- k.value = !0, setTimeout(() => t.target.classList.add(q), 50);
52
- }, O = (t) => {
53
- const { target: a, item: e, newIndex: r } = t;
54
- k.value = !1, a.classList.remove(q);
57
+ ), b = U(!1), F = (t) => {
58
+ b.value = !0, setTimeout(() => t.target.classList.add(O), 50);
59
+ }, M = (t) => {
60
+ const { target: a, item: e, newIndex: o } = t;
61
+ b.value = !1, a.classList.remove(O);
55
62
  const c = e.attributes["data-id"]?.value;
56
- o("sortableItemDragged", { id: c, newIndex: r });
57
- }, R = (t) => (v.value || t.id === n.openId) && !k.value, A = (t, a) => {
58
- a ? o("update:openId", t.id) : o("update:openId", null);
59
- }, p = (t) => t.id === n.selectedId, B = (t) => {
60
- o("update:selectedId", t.id), o("update:selectedChildId", null);
61
- }, E = (t, a) => {
62
- o("update:selectedChildId", t.id), o("update:selectedId", a.id), o("update:openId", a.id);
63
- }, L = W(n.testId, I);
64
- return (t, a) => (s(), i("div", T({ class: "sortable-list-and-search-container" }, l(L)[l(I).CONTAINER]), [
65
- d.showSearch ? (s(), g(l(Q), {
63
+ n("sortableItemDragged", { id: c, newIndex: o });
64
+ }, D = (t) => (k.value || t.id === i.openId) && !b.value, R = (t, a) => {
65
+ a ? n("update:openId", t.id) : n("update:openId", null);
66
+ }, m = (t) => t.id === i.selectedId, $ = (t) => {
67
+ n("update:selectedId", t.id), n("update:selectedChildId", null);
68
+ }, w = (t, a) => {
69
+ n("update:selectedChildId", t.id), n("update:selectedId", a.id), n("update:openId", a.id);
70
+ }, T = ee(i.testId, v);
71
+ return (t, a) => (s(), r("div", V({ class: "sortable-list-and-header-container" }, l(T)[l(v).CONTAINER]), [
72
+ l(y).header || d.showSearch ? (s(), r("div", {
66
73
  key: 0,
67
- modelValue: l(u),
68
- "onUpdate:modelValue": a[0] || (a[0] = (e) => N(u) ? u.value = e : null),
69
- class: "list-search",
70
- placeholder: d.searchPlaceholder,
71
- "test-id": d.testId,
72
- onOnClear: a[1] || (a[1] = (e) => o("clearSearch"))
73
- }, null, 8, ["modelValue", "placeholder", "test-id"])) : y("", !0),
74
- d.isLoading ? S(t.$slots, "loader", { key: 2 }, () => [
75
- G("div", Y, [
76
- (s(!0), i(V, null, D(d.loadingRowCount, (e) => (s(), i("div", { key: e }, [
77
- $(l(z), {
74
+ class: K(["header-container", { sticky: d.isSticky }])
75
+ }, [
76
+ l(y).header ? g(t.$slots, "header", { key: 0 }, void 0, !0) : h("", !0),
77
+ d.showSearch ? (s(), p(l(X), {
78
+ key: 1,
79
+ modelValue: l(u),
80
+ "onUpdate:modelValue": a[0] || (a[0] = (e) => A(u) ? u.value = e : null),
81
+ placeholder: d.searchPlaceholder,
82
+ "test-id": d.testId,
83
+ onOnClear: a[1] || (a[1] = (e) => n("clearSearch"))
84
+ }, null, 8, ["modelValue", "placeholder", "test-id"])) : h("", !0)
85
+ ], 2)) : h("", !0),
86
+ d.isLoading ? g(t.$slots, "loader", { key: 2 }, () => [
87
+ Q("div", le, [
88
+ (s(!0), r(x, null, B(d.loadingRowCount, (e) => (s(), r("div", { key: e }, [
89
+ H(l(Z), {
78
90
  round: "",
79
91
  class: "loader-bar"
80
92
  })
81
93
  ]))), 128))
82
94
  ])
83
- ], !0) : (s(), i("div", X, [
84
- l(h).length ? (s(), g(l(K), T({
95
+ ], !0) : (s(), r("div", te, [
96
+ l(f).length ? (s(), p(l(W), V({
85
97
  key: 0,
86
- modelValue: l(h),
87
- "onUpdate:modelValue": a[2] || (a[2] = (e) => N(h) ? h.value = e : null),
98
+ modelValue: l(f),
99
+ "onUpdate:modelValue": a[2] || (a[2] = (e) => A(f) ? f.value = e : null),
88
100
  class: "sortable-list",
89
101
  filter: ".expand-icon",
90
102
  animation: 150,
91
103
  handle: ".draggable-handle",
92
- disabled: l(v)
93
- }, l(L)[l(I).DRAGGABLE_LIST], {
94
- onStart: H,
95
- onEnd: O
104
+ disabled: l(k)
105
+ }, l(T)[l(v).DRAGGABLE_LIST], {
106
+ onStart: F,
107
+ onEnd: M
96
108
  }), {
97
- default: m(() => [
98
- (s(!0), i(V, null, D(l(h), (e, r) => (s(), g(w, {
109
+ default: I(() => [
110
+ (s(!0), r(x, null, B(l(f), (e, o) => (s(), p(N, {
99
111
  key: e.id,
100
112
  "data-id": e.id,
101
113
  item: e,
102
- index: r,
103
- "is-open": R(e),
104
- "is-selected": p(e),
105
- "selected-child-id": p(e) ? d.selectedChildId : null,
114
+ index: o,
115
+ "is-open": D(e),
116
+ "is-selected": m(e),
117
+ "selected-child-id": m(e) ? d.selectedChildId : null,
106
118
  "display-value": d.displayValue,
107
119
  "search-query": l(u),
108
120
  "search-handler": d.searchHandler,
109
- onToggle: (c) => A(e, c),
110
- onSelect: (c) => B(e),
111
- onSelectChild: (c) => E(c, e)
112
- }, {
113
- menu: m(() => [
114
- S(t.$slots, "menu", { item: e }, void 0, !0)
115
- ]),
116
- _: 2
117
- }, 1032, ["data-id", "item", "index", "is-open", "is-selected", "selected-child-id", "display-value", "search-query", "search-handler", "onToggle", "onSelect", "onSelectChild"]))), 128))
121
+ onToggle: (c) => R(e, c),
122
+ onSelect: (c) => $(e),
123
+ onSelectChild: (c) => w(c, e)
124
+ }, E({ _: 2 }, [
125
+ l(y).menu ? {
126
+ name: "menu",
127
+ fn: I(() => [
128
+ g(t.$slots, "menu", { item: e }, void 0, !0)
129
+ ]),
130
+ key: "0"
131
+ } : void 0
132
+ ]), 1032, ["data-id", "item", "index", "is-open", "is-selected", "selected-child-id", "display-value", "search-query", "search-handler", "onToggle", "onSelect", "onSelectChild"]))), 128))
118
133
  ]),
119
134
  _: 3
120
- }, 16, ["modelValue", "disabled"])) : y("", !0),
121
- l(b).length ? (s(), i("div", T({
135
+ }, 16, ["modelValue", "disabled"])) : h("", !0),
136
+ l(L).length ? (s(), r("div", V({
122
137
  key: 1,
123
138
  class: "locked-list"
124
- }, l(L)[l(I).LOCKED_LIST]), [
125
- (s(!0), i(V, null, D(l(b), (e) => (s(), g(w, {
139
+ }, l(T)[l(v).LOCKED_LIST]), [
140
+ (s(!0), r(x, null, B(l(L), (e) => (s(), p(N, {
126
141
  key: e.id,
127
142
  item: e,
128
- "is-open": R(e),
129
- "is-selected": p(e),
130
- "selected-child-id": p(e) ? d.selectedChildId : null,
143
+ "is-open": D(e),
144
+ "is-selected": m(e),
145
+ "selected-child-id": m(e) ? d.selectedChildId : null,
131
146
  "display-value": d.displayValue,
132
147
  "search-query": l(u),
133
148
  "on-search": d.searchHandler,
134
- onToggle: (r) => A(e, r),
135
- onSelect: (r) => B(e),
136
- onSelectChild: (r) => E(r, e)
137
- }, {
138
- menu: m(() => [
139
- S(t.$slots, "menu", { item: e }, void 0, !0)
140
- ]),
141
- _: 2
142
- }, 1032, ["item", "is-open", "is-selected", "selected-child-id", "display-value", "search-query", "on-search", "onToggle", "onSelect", "onSelectChild"]))), 128))
143
- ], 16)) : y("", !0)
149
+ "child-list-max-height": d.childListMaxHeight,
150
+ onToggle: (o) => R(e, o),
151
+ onSelect: (o) => $(e),
152
+ onSelectChild: (o) => w(o, e)
153
+ }, E({ _: 2 }, [
154
+ l(y).menu ? {
155
+ name: "menu",
156
+ fn: I(() => [
157
+ g(t.$slots, "menu", { item: e }, void 0, !0)
158
+ ]),
159
+ key: "0"
160
+ } : void 0
161
+ ]), 1032, ["item", "is-open", "is-selected", "selected-child-id", "display-value", "search-query", "on-search", "child-list-max-height", "onToggle", "onSelect", "onSelectChild"]))), 128))
162
+ ], 16)) : h("", !0)
144
163
  ])),
145
- !l(C).length && !d.isLoading ? (s(), i("div", Z, [
146
- S(t.$slots, "empty-state", {}, () => [
147
- $(l(j), { variant: "body2" }, {
148
- default: m(() => [
149
- U(M(d.emptyStateTitle), 1)
164
+ !l(C).length && !d.isLoading ? (s(), r("div", de, [
165
+ g(t.$slots, "empty-state", {}, () => [
166
+ H(l(Y), { variant: "body2" }, {
167
+ default: I(() => [
168
+ j(J(d.emptyStateTitle), 1)
150
169
  ]),
151
170
  _: 1
152
171
  })
153
172
  ], !0)
154
- ])) : y("", !0)
173
+ ])) : h("", !0)
155
174
  ], 16));
156
175
  }
157
176
  });
158
177
  export {
159
- ue as default
178
+ ye as default
160
179
  };
@@ -11,12 +11,15 @@ declare const SortableListTypes: () => ({
11
11
  searchPlaceholder: string;
12
12
  items: import("./SortableList.types").SortableListItem[];
13
13
  selectedChildId: string | number;
14
+ childListMaxHeight: string;
14
15
  searchHandler: (item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean;
15
16
  openId: string | number;
16
17
  selectedId: string | number;
17
18
  showSearch: boolean;
18
19
  loadingRowCount: number;
19
20
  emptyStateTitle: string;
21
+ isSticky: boolean;
22
+ zIndexBase: number;
20
23
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
21
24
  search: {
22
25
  type: import("vue").PropType<string>;
@@ -48,6 +51,10 @@ declare const SortableListTypes: () => ({
48
51
  type: import("vue").PropType<string | number>;
49
52
  default: any;
50
53
  };
54
+ childListMaxHeight: {
55
+ type: import("vue").PropType<string>;
56
+ default: string;
57
+ };
51
58
  searchHandler: {
52
59
  type: import("vue").PropType<(item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean>;
53
60
  default: any;
@@ -72,7 +79,16 @@ declare const SortableListTypes: () => ({
72
79
  type: import("vue").PropType<string>;
73
80
  default: string;
74
81
  };
82
+ isSticky: {
83
+ type: import("vue").PropType<boolean>;
84
+ default: boolean;
85
+ };
86
+ zIndexBase: {
87
+ type: import("vue").PropType<number>;
88
+ default: number;
89
+ };
75
90
  }>> & {
91
+ onClearSearch?: () => any;
76
92
  onSortableItemDragged?: (event: {
77
93
  id: string;
78
94
  newIndex: number;
@@ -82,8 +98,7 @@ declare const SortableListTypes: () => ({
82
98
  "onUpdate:selectedId"?: (id: string | number) => any;
83
99
  "onUpdate:selectedChildId"?: (id: string | number) => any;
84
100
  "onUpdate:search"?: (query: string) => any;
85
- onClearSearch?: () => any;
86
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "testId" | "isLoading" | "displayValue" | "searchPlaceholder" | "items" | "selectedChildId" | "searchHandler" | "openId" | "selectedId" | "showSearch" | "loadingRowCount" | "emptyStateTitle">;
101
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "testId" | "isLoading" | "displayValue" | "searchPlaceholder" | "items" | "selectedChildId" | "childListMaxHeight" | "searchHandler" | "openId" | "selectedId" | "showSearch" | "loadingRowCount" | "emptyStateTitle" | "isSticky" | "zIndexBase">;
87
102
  $attrs: {
88
103
  [x: string]: unknown;
89
104
  };
@@ -131,6 +146,10 @@ declare const SortableListTypes: () => ({
131
146
  type: import("vue").PropType<string | number>;
132
147
  default: any;
133
148
  };
149
+ childListMaxHeight: {
150
+ type: import("vue").PropType<string>;
151
+ default: string;
152
+ };
134
153
  searchHandler: {
135
154
  type: import("vue").PropType<(item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean>;
136
155
  default: any;
@@ -155,7 +174,16 @@ declare const SortableListTypes: () => ({
155
174
  type: import("vue").PropType<string>;
156
175
  default: string;
157
176
  };
177
+ isSticky: {
178
+ type: import("vue").PropType<boolean>;
179
+ default: boolean;
180
+ };
181
+ zIndexBase: {
182
+ type: import("vue").PropType<number>;
183
+ default: number;
184
+ };
158
185
  }>> & {
186
+ onClearSearch?: () => any;
159
187
  onSortableItemDragged?: (event: {
160
188
  id: string;
161
189
  newIndex: number;
@@ -165,7 +193,6 @@ declare const SortableListTypes: () => ({
165
193
  "onUpdate:selectedId"?: (id: string | number) => any;
166
194
  "onUpdate:selectedChildId"?: (id: string | number) => any;
167
195
  "onUpdate:search"?: (query: string) => any;
168
- onClearSearch?: () => any;
169
196
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
170
197
  sortableItemDragged: (event: {
171
198
  id: string;
@@ -185,12 +212,15 @@ declare const SortableListTypes: () => ({
185
212
  searchPlaceholder: string;
186
213
  items: import("./SortableList.types").SortableListItem[];
187
214
  selectedChildId: string | number;
215
+ childListMaxHeight: string;
188
216
  searchHandler: (item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean;
189
217
  openId: string | number;
190
218
  selectedId: string | number;
191
219
  showSearch: boolean;
192
220
  loadingRowCount: number;
193
221
  emptyStateTitle: string;
222
+ isSticky: boolean;
223
+ zIndexBase: number;
194
224
  }, {}, string> & {
195
225
  beforeCreate?: (() => void) | (() => void)[];
196
226
  created?: (() => void) | (() => void)[];
@@ -242,6 +272,10 @@ declare const SortableListTypes: () => ({
242
272
  type: import("vue").PropType<string | number>;
243
273
  default: any;
244
274
  };
275
+ childListMaxHeight: {
276
+ type: import("vue").PropType<string>;
277
+ default: string;
278
+ };
245
279
  searchHandler: {
246
280
  type: import("vue").PropType<(item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean>;
247
281
  default: any;
@@ -266,7 +300,16 @@ declare const SortableListTypes: () => ({
266
300
  type: import("vue").PropType<string>;
267
301
  default: string;
268
302
  };
303
+ isSticky: {
304
+ type: import("vue").PropType<boolean>;
305
+ default: boolean;
306
+ };
307
+ zIndexBase: {
308
+ type: import("vue").PropType<number>;
309
+ default: number;
310
+ };
269
311
  }>> & {
312
+ onClearSearch?: () => any;
270
313
  onSortableItemDragged?: (event: {
271
314
  id: string;
272
315
  newIndex: number;
@@ -276,7 +319,6 @@ declare const SortableListTypes: () => ({
276
319
  "onUpdate:selectedId"?: (id: string | number) => any;
277
320
  "onUpdate:selectedChildId"?: (id: string | number) => any;
278
321
  "onUpdate:search"?: (query: string) => any;
279
- onClearSearch?: () => any;
280
322
  } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
281
323
  __isFragment?: never;
282
324
  __isTeleport?: never;
@@ -312,6 +354,10 @@ declare const SortableListTypes: () => ({
312
354
  type: import("vue").PropType<string | number>;
313
355
  default: any;
314
356
  };
357
+ childListMaxHeight: {
358
+ type: import("vue").PropType<string>;
359
+ default: string;
360
+ };
315
361
  searchHandler: {
316
362
  type: import("vue").PropType<(item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean>;
317
363
  default: any;
@@ -336,7 +382,16 @@ declare const SortableListTypes: () => ({
336
382
  type: import("vue").PropType<string>;
337
383
  default: string;
338
384
  };
385
+ isSticky: {
386
+ type: import("vue").PropType<boolean>;
387
+ default: boolean;
388
+ };
389
+ zIndexBase: {
390
+ type: import("vue").PropType<number>;
391
+ default: number;
392
+ };
339
393
  }>> & {
394
+ onClearSearch?: () => any;
340
395
  onSortableItemDragged?: (event: {
341
396
  id: string;
342
397
  newIndex: number;
@@ -346,7 +401,6 @@ declare const SortableListTypes: () => ({
346
401
  "onUpdate:selectedId"?: (id: string | number) => any;
347
402
  "onUpdate:selectedChildId"?: (id: string | number) => any;
348
403
  "onUpdate:search"?: (query: string) => any;
349
- onClearSearch?: () => any;
350
404
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
351
405
  sortableItemDragged: (event: {
352
406
  id: string;
@@ -366,14 +420,18 @@ declare const SortableListTypes: () => ({
366
420
  searchPlaceholder: string;
367
421
  items: import("./SortableList.types").SortableListItem[];
368
422
  selectedChildId: string | number;
423
+ childListMaxHeight: string;
369
424
  searchHandler: (item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean;
370
425
  openId: string | number;
371
426
  selectedId: string | number;
372
427
  showSearch: boolean;
373
428
  loadingRowCount: number;
374
429
  emptyStateTitle: string;
430
+ isSticky: boolean;
431
+ zIndexBase: number;
375
432
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
376
433
  $slots: {
434
+ header?(_: {}): any;
377
435
  menu?(_: {
378
436
  item: import("./SortableList.types").SortableListItem;
379
437
  }): any;
@@ -19,7 +19,7 @@ export declare const tableCommon: (props: any, emit: any) => {
19
19
  floatingActionRef: import("vue").Ref<HTMLDivElement>;
20
20
  scrollToTop: () => void;
21
21
  toggleSortOrder: (column: Column) => void;
22
- columnsStickyPositions: import("vue").ComputedRef<Record<string, string>>;
22
+ columnsStickyPositions: import("vue").ComputedRef<Record<string, CSSProperties>>;
23
23
  hasSearchSlot: import("vue").ComputedRef<boolean>;
24
24
  showBackToTopButton: import("vue").ComputedRef<boolean>;
25
25
  containerStyle: import("vue").ComputedRef<CSSProperties>;