@ironsource/shared-ui 2.1.12-test.52 → 2.1.12-test.53

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 (153) hide show
  1. package/Chart.vue_vue_type_style_index_0_scoped_3da25a36_lang.css +1 -0
  2. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_2f916aeb_lang.css +1 -0
  3. package/ChartPlane.vue_vue_type_style_index_0_scoped_dd60ff0e_lang.css +1 -0
  4. package/ChartTooltip.vue_vue_type_style_index_0_scoped_3d0780bb_lang.css +1 -0
  5. package/ColumnPicker.vue_vue_type_style_index_0_scoped_ea8c7024_lang.css +1 -0
  6. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_bdd6ee48_lang.css +1 -0
  7. package/DataGrid.vue_vue_type_style_index_0_scoped_da7631e0_lang.css +1 -0
  8. package/DataGridHeader.vue_vue_type_style_index_0_scoped_840e700c_lang.css +1 -0
  9. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_e38c881a_lang.css +1 -0
  10. package/DialogFooter.vue_vue_type_style_index_0_scoped_8b7f64fe_lang.css +1 -0
  11. package/DialogHeader.vue_vue_type_style_index_0_scoped_9a814ec3_lang.css +1 -0
  12. package/DialogV4.vue_vue_type_style_index_0_scoped_cc99f1e3_lang.css +1 -0
  13. package/Link.vue_vue_type_style_index_0_scoped_b10e2439_lang.css +1 -0
  14. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_3caa1d7b_lang.css +1 -0
  15. package/OptionChip.vue_vue_type_style_index_0_scoped_538e4a21_lang.css +1 -0
  16. package/OptionV4.vue_vue_type_style_index_0_scoped_752a357d_lang.css +1 -0
  17. package/RadioButton.vue_vue_type_style_index_0_scoped_dac25b9f_lang.css +1 -0
  18. package/RemoveButton.vue_vue_type_style_index_0_scoped_ca7fc11d_lang.css +1 -0
  19. package/SortableItem.vue_vue_type_style_index_0_scoped_800cd503_lang.css +1 -0
  20. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_a534c7af_lang.css +1 -0
  21. package/SortableList.vue_vue_type_style_index_0_scoped_84dc8525_lang.css +1 -0
  22. package/TextField.vue_vue_type_style_index_0_scoped_3b7a3661_lang.css +1 -0
  23. package/TooltipHeader.vue_vue_type_style_index_0_scoped_da3532aa_lang.css +1 -0
  24. package/TooltipV4.vue_vue_type_style_index_0_scoped_8a451e54_lang.css +1 -0
  25. package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
  26. package/components/chart/Chart.vue.d.ts +16 -1
  27. package/components/chart/Chart.vue.js +4 -4
  28. package/components/chart/Chart.vue2.js +38 -32
  29. package/components/chart/ChartHeaderTrend.vue.js +2 -2
  30. package/components/chart/ChartHeaderTrend.vue2.js +34 -33
  31. package/components/chart/ChartPlane.vue.d.ts +10 -0
  32. package/components/chart/ChartPlane.vue.js +4 -4
  33. package/components/chart/ChartPlane.vue2.js +158 -147
  34. package/components/chart/ChartStoryArgs.d.ts +17 -0
  35. package/components/chart/ChartTooltip.vue.js +2 -2
  36. package/components/chart/ChartTooltip.vue2.js +6 -6
  37. package/components/chart/TooltipHeader.vue.js +3 -3
  38. package/components/chart/TooltipHeader.vue2.js +25 -26
  39. package/components/chart/colorPalette.d.ts +2 -1
  40. package/components/chart/colorPalette.js +47 -33
  41. package/components/chart/composables/useColorsMap.d.ts +3 -1
  42. package/components/chart/composables/useColorsMap.js +32 -30
  43. package/components/chart/consts.d.ts +5 -1
  44. package/components/chart/consts.js +30 -26
  45. package/components/chart/index.d.ts +58 -1
  46. package/components/chart/mockData.d.ts +15 -0
  47. package/components/chart/types.d.ts +3 -1
  48. package/components/chart/types.js +5 -5
  49. package/components/chart/utils/utils.d.ts +1 -1
  50. package/components/chart/utils/utils.js +18 -13
  51. package/components/columnPicker/ColumnPicker.vue.d.ts +119 -0
  52. package/components/columnPicker/ColumnPicker.vue.js +7 -0
  53. package/components/columnPicker/ColumnPicker.vue2.js +322 -0
  54. package/components/columnPicker/OptionChip.vue.d.ts +53 -0
  55. package/components/columnPicker/OptionChip.vue.js +7 -0
  56. package/components/columnPicker/OptionChip.vue2.js +46 -0
  57. package/components/columnPicker/RemoveButton.vue.d.ts +38 -0
  58. package/components/columnPicker/RemoveButton.vue.js +7 -0
  59. package/components/columnPicker/RemoveButton.vue2.js +35 -0
  60. package/components/columnPicker/index.d.ts +388 -0
  61. package/components/columnPicker/index.js +6 -0
  62. package/components/columnPicker/mockData.d.ts +8 -0
  63. package/components/dialog/v3/Dialog.vue.d.ts +3 -3
  64. package/components/dialog/v3/index.d.ts +46 -46
  65. package/components/dialog/v4/DialogFooter.vue.d.ts +78 -0
  66. package/components/dialog/v4/DialogFooter.vue.js +7 -0
  67. package/components/dialog/v4/DialogFooter.vue2.js +60 -0
  68. package/components/dialog/v4/DialogHeader.vue.d.ts +60 -0
  69. package/components/dialog/v4/DialogHeader.vue.js +7 -0
  70. package/components/dialog/v4/DialogHeader.vue2.js +58 -0
  71. package/components/dialog/v4/DialogV4.vue.d.ts +9 -9
  72. package/components/dialog/v4/DialogV4.vue.js +3 -3
  73. package/components/dialog/v4/DialogV4.vue2.js +65 -107
  74. package/components/dialog/v4/index.d.ts +157 -157
  75. package/components/dropdown/v3/Dropdown.vue.d.ts +1 -1
  76. package/components/dropdown/v3/index.d.ts +20 -20
  77. package/components/dropdown/v4/ConditionalDropdown.vue.js +4 -4
  78. package/components/dropdown/v4/ConditionalDropdown.vue2.js +176 -171
  79. package/components/dropdown/v4/OptionV4.vue.d.ts +5 -0
  80. package/components/dropdown/v4/OptionV4.vue.js +3 -3
  81. package/components/dropdown/v4/OptionV4.vue2.js +83 -70
  82. package/components/dropdown/v4/index.d.ts +20 -1
  83. package/components/includeExclude/IncludeExcludeChipFilter.vue.d.ts +1 -1
  84. package/components/includeExclude/IncludeExcludeOption.vue.d.ts +1 -1
  85. package/components/includeExclude/IncludeExcludeOptionDraggable.vue.d.ts +1 -1
  86. package/components/includeExclude/index.d.ts +70 -70
  87. package/components/input/v4/TextField.vue.d.ts +12 -0
  88. package/components/input/v4/TextField.vue.js +3 -3
  89. package/components/input/v4/TextField.vue2.js +129 -105
  90. package/components/input/v4/index.d.ts +46 -2
  91. package/components/link/Link.vue.d.ts +20 -0
  92. package/components/link/Link.vue.js +2 -2
  93. package/components/link/Link.vue2.js +35 -21
  94. package/components/link/index.d.ts +77 -1
  95. package/components/radioButton/v3/RadioButton.vue.d.ts +5 -0
  96. package/components/radioButton/v3/RadioButton.vue.js +3 -3
  97. package/components/radioButton/v3/RadioButton.vue2.js +42 -39
  98. package/components/radioButton/v3/index.d.ts +20 -1
  99. package/components/sortableList/SortableItem.vue.d.ts +17 -2
  100. package/components/sortableList/SortableItem.vue.js +3 -3
  101. package/components/sortableList/SortableItem.vue2.js +86 -70
  102. package/components/sortableList/SortableItemLabel.vue.js +3 -3
  103. package/components/sortableList/SortableItemLabel.vue2.js +26 -23
  104. package/components/sortableList/SortableList.types.d.ts +1 -0
  105. package/components/sortableList/SortableList.vue.d.ts +10 -0
  106. package/components/sortableList/SortableList.vue.js +3 -3
  107. package/components/sortableList/SortableList.vue2.js +104 -96
  108. package/components/sortableList/composables/useHoverEffect.js +1 -1
  109. package/components/sortableList/index.d.ts +39 -1
  110. package/components/table/v4/DataGrid.vue.d.ts +4 -4
  111. package/components/table/v4/DataGrid.vue.js +3 -3
  112. package/components/table/v4/DataGrid.vue2.js +237 -245
  113. package/components/table/v4/DataGridHeader.vue.d.ts +85 -0
  114. package/components/table/v4/DataGridHeader.vue.js +7 -0
  115. package/components/table/v4/DataGridHeader.vue2.js +82 -0
  116. package/components/table/v4/DataGridRowsCounter.vue.js +3 -3
  117. package/components/table/v4/DataGridRowsCounter.vue2.js +12 -12
  118. package/components/table/v4/MultipleDataGrid.vue.d.ts +6 -5
  119. package/components/table/v4/MultipleDataGrid.vue.js +2 -2
  120. package/components/table/v4/MultipleDataGrid.vue2.js +91 -90
  121. package/components/table/v4/index.d.ts +552 -305
  122. package/components/table/v4/index.js +7 -4
  123. package/components/table/v4/storyUtils.d.ts +25 -0
  124. package/components/tooltip/v4/TooltipV4.vue.d.ts +5 -0
  125. package/components/tooltip/v4/TooltipV4.vue.js +2 -2
  126. package/components/tooltip/v4/TooltipV4.vue2.js +18 -17
  127. package/components/tooltip/v4/index.d.ts +20 -1
  128. package/index.d.ts +2153 -1419
  129. package/index.js +99 -95
  130. package/package.json +5 -1
  131. package/testids/index.d.ts +7 -1
  132. package/testids/index.js +26 -25
  133. package/utils/date.js +3 -3
  134. package/utils/formatNumbers.d.ts +1 -1
  135. package/utils/formatNumbers.js +38 -21
  136. package/Chart.vue_vue_type_style_index_0_scoped_e8f25a03_lang.css +0 -1
  137. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_db8a902c_lang.css +0 -1
  138. package/ChartPlane.vue_vue_type_style_index_0_scoped_4f67d41d_lang.css +0 -1
  139. package/ChartTooltip.vue_vue_type_style_index_0_scoped_3315b68f_lang.css +0 -1
  140. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_f5204c04_lang.css +0 -1
  141. package/DataGrid.vue_vue_type_style_index_0_scoped_8e8df067_lang.css +0 -1
  142. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_ef699ec5_lang.css +0 -1
  143. package/DialogV4.vue_vue_type_style_index_0_scoped_eb226e31_lang.css +0 -1
  144. package/Link.vue_vue_type_style_index_0_scoped_ad98fe7b_lang.css +0 -1
  145. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_020a9896_lang.css +0 -1
  146. package/OptionV4.vue_vue_type_style_index_0_scoped_0287cebf_lang.css +0 -1
  147. package/RadioButton.vue_vue_type_style_index_0_scoped_3c6b715c_lang.css +0 -1
  148. package/SortableItem.vue_vue_type_style_index_0_scoped_48542664_lang.css +0 -1
  149. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_f2ced2f4_lang.css +0 -1
  150. package/SortableList.vue_vue_type_style_index_0_scoped_8f267f88_lang.css +0 -1
  151. package/TextField.vue_vue_type_style_index_0_scoped_fce3948c_lang.css +0 -1
  152. package/TooltipHeader.vue_vue_type_style_index_0_scoped_5160f12d_lang.css +0 -1
  153. package/TooltipV4.vue_vue_type_style_index_0_scoped_bcb40ed4_lang.css +0 -1
@@ -1,28 +1,30 @@
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";
1
+ import "../../SortableList.vue_vue_type_style_index_0_scoped_84dc8525_lang.css"; import { defineComponent as z, useCssVars as G, useSlots as U, computed as f, ref as K, openBlock as s, createElementBlock as i, mergeProps as V, unref as l, normalizeClass as Q, renderSlot as y, createCommentVNode as h, createBlock as S, isRef as $, withCtx as I, Fragment as x, renderList as B, createSlots as w, createElementVNode as j, createVNode as E, createTextVNode as J, toDisplayString as W } from "vue";
2
+ import { VueDraggable as X } from "vue-draggable-plus";
3
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";
4
+ import Y from "../search/v4/SearchV4.vue.js";
5
+ import Z from "../typography/v4/Typography.vue.js";
6
+ import _ from "../skeleton/v4/SkeletonV4.vue.js";
7
+ import { useVModel as ee } from "@vueuse/core";
8
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";
9
+ import { useTestIdAttrs as te } from "../../utils/testIds.js";
10
+ import { SortableListTestIdModifiers as p } from "../../testids/index.js";
11
11
  import { DRAG_CURSOR_CSS_CLASS as O } from "./consts.js";
12
- const te = {
12
+ const le = {
13
13
  key: 1,
14
14
  class: "sortable-list-container"
15
- }, le = { class: "loader-bars" }, de = {
15
+ }, ae = { class: "loader-bars" }, de = {
16
16
  key: 3,
17
17
  class: "empty-state-title"
18
- }, ye = /* @__PURE__ */ P({
18
+ }, me = /* @__PURE__ */ z({
19
19
  __name: "SortableList",
20
20
  props: {
21
21
  items: { default: () => [] },
22
- displayValue: { type: Function, default: (d) => d.displayText || d.toString() },
22
+ displayValue: { type: Function, default: (a) => a.displayText || a.toString() },
23
23
  openId: { default: null },
24
24
  selectedId: { default: null },
25
25
  selectedChildId: { default: null },
26
+ variant: { default: "default" },
27
+ draggableArea: { default: "handle" },
26
28
  search: { default: null },
27
29
  showSearch: { type: Boolean, default: !1 },
28
30
  searchPlaceholder: { default: "Search" },
@@ -36,136 +38,142 @@ const te = {
36
38
  testId: { default: "" }
37
39
  },
38
40
  emits: ["sortableItemDragged", "update:items", "update:openId", "update:selectedId", "update:selectedChildId", "update:search", "clearSearch"],
39
- setup(d, { emit: n }) {
40
- const i = d;
41
- z((t) => ({
42
- "2b5787e0": d.zIndexBase
41
+ setup(a, { emit: r }) {
42
+ const o = a;
43
+ G((t) => ({
44
+ dbaa7dcc: a.zIndexBase
43
45
  }));
44
- const y = G(), u = _(i, "search", n), k = S(() => !!u.value?.trim()), C = S(() => k.value ? i.items.filter((t) => {
45
- const a = t.children || [], e = u.value;
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({
46
+ const m = U(), u = ee(o, "search", r), b = f(() => !!u.value?.trim()), k = f(() => b.value ? o.items.filter((t) => {
47
+ const d = t.children || [], e = u.value;
48
+ return o.searchHandler ? o.searchHandler(t, e) : q(t.displayText, e) || // match parent item
49
+ d.some((n) => q(n.displayText, e));
50
+ }) : o.items), g = f({
49
51
  get() {
50
- return C.value.filter((t) => !t.isLocked);
52
+ return k.value.filter((t) => !t.isLocked);
51
53
  },
52
54
  set(t) {
53
- n("update:items", [...t, ...L.value]);
55
+ r("update:items", [...t, ...C.value]);
54
56
  }
55
- }), L = S(
56
- () => C.value.filter((t) => t.isLocked)
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);
57
+ }), C = f(
58
+ () => k.value.filter((t) => t.isLocked)
59
+ ), F = f(
60
+ () => o.draggableArea === "handle" ? ".draggable-handle" : ".handle-area"
61
+ ), L = K(!1), M = (t) => {
62
+ L.value = !0, setTimeout(() => t.target.classList.add(O), 50);
63
+ }, P = (t) => {
64
+ const { target: d, item: e, newIndex: n } = t;
65
+ L.value = !1, d.classList.remove(O);
62
66
  const c = e.attributes["data-id"]?.value;
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", {
67
+ r("sortableItemDragged", { id: c, newIndex: n });
68
+ }, A = (t) => (b.value || t.id === o.openId) && !L.value, D = (t, d) => {
69
+ d ? r("update:openId", t.id) : r("update:openId", null);
70
+ }, v = (t) => t.id === o.selectedId, H = (t) => {
71
+ r("update:selectedId", t.id), r("update:selectedChildId", null);
72
+ }, R = (t, d) => {
73
+ r("update:selectedChildId", t.id), r("update:selectedId", d.id), r("update:openId", d.id);
74
+ }, T = te(o.testId, p);
75
+ return (t, d) => (s(), i("div", V({ class: "sortable-list-and-header-container" }, l(T)[l(p).CONTAINER]), [
76
+ l(m).header || a.showSearch ? (s(), i("div", {
73
77
  key: 0,
74
- class: K(["header-container", { sticky: d.isSticky }])
78
+ class: Q(["header-container", { sticky: a.isSticky }])
75
79
  }, [
76
- l(y).header ? g(t.$slots, "header", { key: 0 }, void 0, !0) : h("", !0),
77
- d.showSearch ? (s(), p(l(X), {
80
+ l(m).header ? y(t.$slots, "header", { key: 0 }, void 0, !0) : h("", !0),
81
+ a.showSearch ? (s(), S(l(Y), {
78
82
  key: 1,
79
83
  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
+ "onUpdate:modelValue": d[0] || (d[0] = (e) => $(u) ? u.value = e : null),
85
+ placeholder: a.searchPlaceholder,
86
+ "test-id": a.testId,
87
+ onOnClear: d[1] || (d[1] = (e) => r("clearSearch"))
84
88
  }, null, 8, ["modelValue", "placeholder", "test-id"])) : h("", !0)
85
89
  ], 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), {
90
+ a.isLoading ? y(t.$slots, "loader", { key: 2 }, () => [
91
+ j("div", ae, [
92
+ (s(!0), i(x, null, B(a.loadingRowCount, (e) => (s(), i("div", { key: e }, [
93
+ E(l(_), {
90
94
  round: "",
91
95
  class: "loader-bar"
92
96
  })
93
97
  ]))), 128))
94
98
  ])
95
- ], !0) : (s(), r("div", te, [
96
- l(f).length ? (s(), p(l(W), V({
99
+ ], !0) : (s(), i("div", le, [
100
+ l(g).length ? (s(), S(l(X), V({
97
101
  key: 0,
98
- modelValue: l(f),
99
- "onUpdate:modelValue": a[2] || (a[2] = (e) => A(f) ? f.value = e : null),
102
+ modelValue: l(g),
103
+ "onUpdate:modelValue": d[2] || (d[2] = (e) => $(g) ? g.value = e : null),
100
104
  class: "sortable-list",
101
105
  filter: ".expand-icon",
102
106
  animation: 150,
103
- handle: ".draggable-handle",
104
- disabled: l(k)
105
- }, l(T)[l(v).DRAGGABLE_LIST], {
106
- onStart: F,
107
- onEnd: M
107
+ handle: l(F),
108
+ disabled: l(b)
109
+ }, l(T)[l(p).DRAGGABLE_LIST], {
110
+ onStart: M,
111
+ onEnd: P
108
112
  }), {
109
113
  default: I(() => [
110
- (s(!0), r(x, null, B(l(f), (e, o) => (s(), p(N, {
114
+ (s(!0), i(x, null, B(l(g), (e, n) => (s(), S(N, {
111
115
  key: e.id,
112
116
  "data-id": e.id,
113
117
  item: e,
114
- index: o,
115
- "is-open": D(e),
116
- "is-selected": m(e),
117
- "selected-child-id": m(e) ? d.selectedChildId : null,
118
- "display-value": d.displayValue,
118
+ index: n,
119
+ "is-open": A(e),
120
+ "is-selected": v(e),
121
+ "is-disabled": !!e.isDisabled,
122
+ "selected-child-id": v(e) ? a.selectedChildId : null,
123
+ "display-value": a.displayValue,
119
124
  "search-query": l(u),
120
- "search-handler": d.searchHandler,
121
- onToggle: (c) => R(e, c),
122
- onSelect: (c) => $(e),
123
- onSelectChild: (c) => w(c, e)
124
- }, E({ _: 2 }, [
125
- l(y).menu ? {
125
+ "search-handler": a.searchHandler,
126
+ variant: a.variant,
127
+ "draggable-area": a.draggableArea,
128
+ onToggle: (c) => D(e, c),
129
+ onSelect: (c) => H(e),
130
+ onSelectChild: (c) => R(c, e)
131
+ }, w({ _: 2 }, [
132
+ l(m).menu ? {
126
133
  name: "menu",
127
134
  fn: I(() => [
128
- g(t.$slots, "menu", { item: e }, void 0, !0)
135
+ y(t.$slots, "menu", { item: e }, void 0, !0)
129
136
  ]),
130
137
  key: "0"
131
138
  } : 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))
139
+ ]), 1032, ["data-id", "item", "index", "is-open", "is-selected", "is-disabled", "selected-child-id", "display-value", "search-query", "search-handler", "variant", "draggable-area", "onToggle", "onSelect", "onSelectChild"]))), 128))
133
140
  ]),
134
141
  _: 3
135
- }, 16, ["modelValue", "disabled"])) : h("", !0),
136
- l(L).length ? (s(), r("div", V({
142
+ }, 16, ["modelValue", "handle", "disabled"])) : h("", !0),
143
+ l(C).length ? (s(), i("div", V({
137
144
  key: 1,
138
145
  class: "locked-list"
139
- }, l(T)[l(v).LOCKED_LIST]), [
140
- (s(!0), r(x, null, B(l(L), (e) => (s(), p(N, {
146
+ }, l(T)[l(p).LOCKED_LIST]), [
147
+ (s(!0), i(x, null, B(l(C), (e) => (s(), S(N, {
141
148
  key: e.id,
142
149
  item: e,
143
- "is-open": D(e),
144
- "is-selected": m(e),
145
- "selected-child-id": m(e) ? d.selectedChildId : null,
146
- "display-value": d.displayValue,
150
+ "is-open": A(e),
151
+ "is-selected": v(e),
152
+ "selected-child-id": v(e) ? a.selectedChildId : null,
153
+ "display-value": a.displayValue,
147
154
  "search-query": l(u),
148
- "on-search": d.searchHandler,
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
+ "on-search": a.searchHandler,
156
+ "child-list-max-height": a.childListMaxHeight,
157
+ variant: a.variant,
158
+ onToggle: (n) => D(e, n),
159
+ onSelect: (n) => H(e),
160
+ onSelectChild: (n) => R(n, e)
161
+ }, w({ _: 2 }, [
162
+ l(m).menu ? {
155
163
  name: "menu",
156
164
  fn: I(() => [
157
- g(t.$slots, "menu", { item: e }, void 0, !0)
165
+ y(t.$slots, "menu", { item: e }, void 0, !0)
158
166
  ]),
159
167
  key: "0"
160
168
  } : 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))
169
+ ]), 1032, ["item", "is-open", "is-selected", "selected-child-id", "display-value", "search-query", "on-search", "child-list-max-height", "variant", "onToggle", "onSelect", "onSelectChild"]))), 128))
162
170
  ], 16)) : h("", !0)
163
171
  ])),
164
- !l(C).length && !d.isLoading ? (s(), r("div", de, [
165
- g(t.$slots, "empty-state", {}, () => [
166
- H(l(Y), { variant: "body2" }, {
172
+ !l(k).length && !a.isLoading ? (s(), i("div", de, [
173
+ y(t.$slots, "empty-state", {}, () => [
174
+ E(l(Z), { variant: "body2" }, {
167
175
  default: I(() => [
168
- j(J(d.emptyStateTitle), 1)
176
+ J(W(a.emptyStateTitle), 1)
169
177
  ]),
170
178
  _: 1
171
179
  })
@@ -175,5 +183,5 @@ const te = {
175
183
  }
176
184
  });
177
185
  export {
178
- ye as default
186
+ me as default
179
187
  };
@@ -10,7 +10,7 @@ const d = (e, r) => {
10
10
  ) || n.currentTarget.classList.add(r);
11
11
  },
12
12
  handleMouseout: () => {
13
- e.value.classList.remove(r);
13
+ e.value?.classList.remove(r);
14
14
  }
15
15
  };
16
16
  };
@@ -6,6 +6,7 @@ declare const SortableListTypes: () => ({
6
6
  $props: Partial<{
7
7
  search: string;
8
8
  testId: string;
9
+ variant: "default" | "compact";
9
10
  isLoading: boolean;
10
11
  displayValue: (item: import("./SortableList.types").SortableListItem) => string;
11
12
  searchPlaceholder: string;
@@ -13,6 +14,7 @@ declare const SortableListTypes: () => ({
13
14
  selectedChildId: string | number;
14
15
  childListMaxHeight: string;
15
16
  searchHandler: (item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean;
17
+ draggableArea: "handle" | "full";
16
18
  openId: string | number;
17
19
  selectedId: string | number;
18
20
  showSearch: boolean;
@@ -29,6 +31,10 @@ declare const SortableListTypes: () => ({
29
31
  type: import("vue").PropType<string>;
30
32
  default: string;
31
33
  };
34
+ variant: {
35
+ type: import("vue").PropType<"default" | "compact">;
36
+ default: string;
37
+ };
32
38
  isLoading: {
33
39
  type: import("vue").PropType<boolean>;
34
40
  default: boolean;
@@ -59,6 +65,10 @@ declare const SortableListTypes: () => ({
59
65
  type: import("vue").PropType<(item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean>;
60
66
  default: any;
61
67
  };
68
+ draggableArea: {
69
+ type: import("vue").PropType<"handle" | "full">;
70
+ default: string;
71
+ };
62
72
  openId: {
63
73
  type: import("vue").PropType<string | number>;
64
74
  default: any;
@@ -98,7 +108,7 @@ declare const SortableListTypes: () => ({
98
108
  "onUpdate:selectedId"?: (id: string | number) => any;
99
109
  "onUpdate:selectedChildId"?: (id: string | number) => any;
100
110
  "onUpdate:search"?: (query: string) => any;
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">;
111
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "testId" | "variant" | "isLoading" | "displayValue" | "searchPlaceholder" | "items" | "selectedChildId" | "childListMaxHeight" | "searchHandler" | "draggableArea" | "openId" | "selectedId" | "showSearch" | "loadingRowCount" | "emptyStateTitle" | "isSticky" | "zIndexBase">;
102
112
  $attrs: {
103
113
  [x: string]: unknown;
104
114
  };
@@ -124,6 +134,10 @@ declare const SortableListTypes: () => ({
124
134
  type: import("vue").PropType<string>;
125
135
  default: string;
126
136
  };
137
+ variant: {
138
+ type: import("vue").PropType<"default" | "compact">;
139
+ default: string;
140
+ };
127
141
  isLoading: {
128
142
  type: import("vue").PropType<boolean>;
129
143
  default: boolean;
@@ -154,6 +168,10 @@ declare const SortableListTypes: () => ({
154
168
  type: import("vue").PropType<(item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean>;
155
169
  default: any;
156
170
  };
171
+ draggableArea: {
172
+ type: import("vue").PropType<"handle" | "full">;
173
+ default: string;
174
+ };
157
175
  openId: {
158
176
  type: import("vue").PropType<string | number>;
159
177
  default: any;
@@ -207,6 +225,7 @@ declare const SortableListTypes: () => ({
207
225
  }, string, {
208
226
  search: string;
209
227
  testId: string;
228
+ variant: "default" | "compact";
210
229
  isLoading: boolean;
211
230
  displayValue: (item: import("./SortableList.types").SortableListItem) => string;
212
231
  searchPlaceholder: string;
@@ -214,6 +233,7 @@ declare const SortableListTypes: () => ({
214
233
  selectedChildId: string | number;
215
234
  childListMaxHeight: string;
216
235
  searchHandler: (item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean;
236
+ draggableArea: "handle" | "full";
217
237
  openId: string | number;
218
238
  selectedId: string | number;
219
239
  showSearch: boolean;
@@ -250,6 +270,10 @@ declare const SortableListTypes: () => ({
250
270
  type: import("vue").PropType<string>;
251
271
  default: string;
252
272
  };
273
+ variant: {
274
+ type: import("vue").PropType<"default" | "compact">;
275
+ default: string;
276
+ };
253
277
  isLoading: {
254
278
  type: import("vue").PropType<boolean>;
255
279
  default: boolean;
@@ -280,6 +304,10 @@ declare const SortableListTypes: () => ({
280
304
  type: import("vue").PropType<(item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean>;
281
305
  default: any;
282
306
  };
307
+ draggableArea: {
308
+ type: import("vue").PropType<"handle" | "full">;
309
+ default: string;
310
+ };
283
311
  openId: {
284
312
  type: import("vue").PropType<string | number>;
285
313
  default: any;
@@ -332,6 +360,10 @@ declare const SortableListTypes: () => ({
332
360
  type: import("vue").PropType<string>;
333
361
  default: string;
334
362
  };
363
+ variant: {
364
+ type: import("vue").PropType<"default" | "compact">;
365
+ default: string;
366
+ };
335
367
  isLoading: {
336
368
  type: import("vue").PropType<boolean>;
337
369
  default: boolean;
@@ -362,6 +394,10 @@ declare const SortableListTypes: () => ({
362
394
  type: import("vue").PropType<(item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean>;
363
395
  default: any;
364
396
  };
397
+ draggableArea: {
398
+ type: import("vue").PropType<"handle" | "full">;
399
+ default: string;
400
+ };
365
401
  openId: {
366
402
  type: import("vue").PropType<string | number>;
367
403
  default: any;
@@ -415,6 +451,7 @@ declare const SortableListTypes: () => ({
415
451
  }, string, {
416
452
  search: string;
417
453
  testId: string;
454
+ variant: "default" | "compact";
418
455
  isLoading: boolean;
419
456
  displayValue: (item: import("./SortableList.types").SortableListItem) => string;
420
457
  searchPlaceholder: string;
@@ -422,6 +459,7 @@ declare const SortableListTypes: () => ({
422
459
  selectedChildId: string | number;
423
460
  childListMaxHeight: string;
424
461
  searchHandler: (item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean;
462
+ draggableArea: "handle" | "full";
425
463
  openId: string | number;
426
464
  selectedId: string | number;
427
465
  showSearch: boolean;
@@ -146,9 +146,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
146
146
  "onUpdate:sort"?: (newSort: Sort) => any;
147
147
  onSaveRow?: (args_0: SaveRowEvent) => any;
148
148
  onOnClearSearch?: () => any;
149
+ onClickRow?: (rowIndex: number) => any;
149
150
  "onUpdate:selection"?: (selection: unknown[]) => any;
150
151
  onSelectRow?: (value: boolean) => any;
151
- onClickRow?: (rowIndex: number) => any;
152
152
  }, {
153
153
  sort: Sort;
154
154
  title: string;
@@ -172,11 +172,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
172
172
  defaultScrollPosition: number;
173
173
  getRowId: (row: Row, index: number) => unknown;
174
174
  getRowKey: (row: Row, index: number) => string | number;
175
- selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
176
175
  emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
177
- helpTooltipVariant: "icon" | "underline";
178
176
  rowCustomClassKey: string;
179
177
  rowDataKey: string;
178
+ helpTooltipVariant: "icon" | "underline";
179
+ selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
180
180
  isSelectionSticky: boolean;
181
181
  isSelectionBordered: boolean;
182
182
  }>, Partial<Record<`section-${string}`, (_: {}) => any>> & Partial<Record<`header-${string}`, (_: {
@@ -193,8 +193,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
193
193
  rowIndex: number;
194
194
  }) => any>> & {
195
195
  title?(_: {}): any;
196
- "table-header-pre-search"?(_: {}): any;
197
196
  search?(_: {}): any;
197
+ "table-header-pre-search"?(_: {}): any;
198
198
  "table-header-actions"?(_: {}): any;
199
199
  "select-all-checkbox"?(_: {}): any;
200
200
  loader?(_: {}): any;
@@ -1,7 +1,7 @@
1
1
  import o from "./DataGrid.vue2.js";
2
2
  /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../DataGrid.vue_vue_type_style_index_0_scoped_8e8df067_lang.css"; //*');
4
- const a = /* @__PURE__ */ e(o, [["__scopeId", "data-v-8e8df067"]]);
3
+ // import "../../../DataGrid.vue_vue_type_style_index_0_scoped_da7631e0_lang.css"; //*');
4
+ const s = /* @__PURE__ */ e(o, [["__scopeId", "data-v-da7631e0"]]);
5
5
  export {
6
- a as default
6
+ s as default
7
7
  };