@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,156 +1,172 @@
1
- import "../../SortableItem.vue_vue_type_style_index_0_scoped_48542664_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 c, createVNode as h, createBlock as a, withCtx as b, createTextVNode as S, toDisplayString as V, createCommentVNode as d, renderSlot as D, mergeProps as F, normalizeProps as j, Fragment as q, renderList as A } from "vue";
1
+ import "../../SortableItem.vue_vue_type_style_index_0_scoped_800cd503_lang.css"; import { defineComponent as P, useCssVars as A, useSlots as E, computed as h, watch as $, ref as I, openBlock as l, createElementBlock as o, normalizeClass as d, unref as e, withModifiers as y, createElementVNode as c, createVNode as b, createBlock as n, withCtx as S, createTextVNode as V, toDisplayString as F, createCommentVNode as u, renderSlot as R, mergeProps as H, normalizeProps as j, Fragment as q, renderList as G } from "vue";
2
2
  import L from "../typography/v4/Typography.vue.js";
3
- import m from "../icon/v4/IconV4.vue.js";
3
+ import f from "../icon/v4/IconV4.vue.js";
4
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"], ce = /* @__PURE__ */ P({
5
+ import J from "./SortableItemLabel.vue.js";
6
+ import { useVirtualList as K } from "@vueuse/core";
7
+ import { matchString as U } from "../../utils/search.js";
8
+ import { useHoverEffect as W } from "./composables/useHoverEffect.js";
9
+ const X = { class: "item__prefix" }, Y = ["onClick"], Z = ["onClick"], re = /* @__PURE__ */ P({
10
10
  __name: "SortableItem",
11
11
  props: {
12
12
  item: null,
13
13
  index: { default: null },
14
14
  isOpen: { type: Boolean, default: !1 },
15
15
  isSelected: { type: Boolean, default: !1 },
16
+ isDisabled: { type: Boolean, default: !1 },
16
17
  selectedChildId: { default: null },
17
18
  searchQuery: { default: null },
18
19
  childListMaxHeight: { default: "530px" },
19
20
  searchHandler: { type: Function, default: null },
20
- displayValue: null
21
+ displayValue: null,
22
+ variant: { default: "default" },
23
+ draggableArea: { default: "handle" }
21
24
  },
22
25
  emits: ["toggle", "select", "selectChild"],
23
- setup(e, { emit: y }) {
24
- const s = e;
25
- E((r) => ({
26
- "480cd4cc": e.childListMaxHeight
26
+ setup(t, { emit: g }) {
27
+ const s = t;
28
+ A((r) => ({
29
+ "41d9b134": t.childListMaxHeight
27
30
  }));
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, {
31
+ const M = E(), z = () => {
32
+ g("toggle", !s.isOpen);
33
+ }, k = h(() => (s.item.children || []).filter(
34
+ (a) => s.searchHandler ? s.searchHandler(a, s.searchQuery) : U(a.displayText, s.searchQuery)
35
+ )), v = h(() => k.value.length > 0), m = h(() => s.draggableArea === "full"), B = (r) => r.id === s.selectedChildId, {
33
36
  list: Q,
34
- containerProps: B,
35
- wrapperProps: T,
37
+ containerProps: T,
38
+ wrapperProps: D,
36
39
  scrollTo: N
37
- } = J(g, {
40
+ } = K(k, {
38
41
  itemHeight: 34
39
42
  });
40
- I(
43
+ $(
41
44
  () => s.searchQuery,
42
45
  () => N(0)
43
46
  );
44
- const p = R(null), { handleMouseout: v, handleMouseover: x } = U(
47
+ const p = I(null), { handleMouseout: x, handleMouseover: C } = W(
45
48
  p,
46
49
  "sortable-item--hovered"
47
50
  );
48
- return (r, o) => (l(), n("div", {
51
+ return (r, a) => (l(), o("div", {
49
52
  ref_key: "itemRef",
50
53
  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"]))
54
+ class: d(["sortable-item", {
55
+ "sortable-item--fully-draggable": e(m),
56
+ "sortable-item--selected": t.isSelected,
57
+ "sortable-item--compact": t.variant === "compact",
58
+ "sortable-item--disabled": t.item.isDisabled
59
+ }]),
60
+ onMouseover: a[1] || (a[1] = //@ts-ignore
61
+ (...i) => e(C) && e(C)(...i)),
62
+ onMouseout: a[2] || (a[2] = //@ts-ignore
63
+ (...i) => e(x) && e(x)(...i)),
64
+ onClick: a[3] || (a[3] = y((i) => g("select"), ["stop"]))
57
65
  }, [
58
66
  c("div", {
59
- class: f(["item", {
60
- "drag-allowed": !e.item.isLocked && !e.searchQuery,
61
- "item--selected": e.isSelected && !e.selectedChildId
67
+ class: d(["item", {
68
+ "item--fully-draggable": e(m),
69
+ "drag-allowed": !t.item.isLocked && !t.searchQuery,
70
+ "item--selected": t.isSelected && !t.selectedChildId
62
71
  }])
63
72
  }, [
64
- c("div", W, [
65
- h(t(m), {
73
+ c("div", {
74
+ class: d(["draggable-handle", {
75
+ "handle-area": e(m),
76
+ "draggable-handle--disabled": t.item.isDisabled
77
+ }])
78
+ }, [
79
+ b(e(f), {
66
80
  name: "dots-six-vertical",
67
81
  size: "20px",
68
82
  type: "bold"
69
83
  })
70
- ]),
84
+ ], 2),
71
85
  c("div", X, [
72
- e.item.isLocked ? (l(), a(t(m), {
86
+ t.item.isLocked ? (l(), n(e(f), {
73
87
  key: 1,
74
88
  class: "locked-icon",
75
89
  name: "lock",
76
90
  size: "16px"
77
- })) : (l(), a(t(L), {
91
+ })) : (l(), n(e(L), {
78
92
  key: 0,
79
93
  class: "order-num",
80
94
  variant: "subtitle2"
81
95
  }, {
82
- default: b(() => [
83
- S(V(e.index + 1) + ". ", 1)
96
+ default: S(() => [
97
+ V(F(t.index + 1) + ". ", 1)
84
98
  ]),
85
99
  _: 1
86
100
  }))
87
101
  ]),
88
- t(k) && !e.searchQuery ? (l(), n("div", {
102
+ e(v) && !t.searchQuery ? (l(), o("div", {
89
103
  key: 0,
90
104
  class: "expand-icon",
91
- onClick: u(M, ["stop"])
105
+ onClick: y(z, ["stop"])
92
106
  }, [
93
- e.isOpen ? (l(), a(t(m), {
107
+ t.isOpen ? (l(), n(e(f), {
94
108
  key: 0,
95
109
  name: "caret-down",
96
110
  size: "16px"
97
- })) : (l(), a(t(m), {
111
+ })) : (l(), n(e(f), {
98
112
  key: 1,
99
113
  name: "caret-right",
100
114
  size: "16px"
101
115
  }))
102
- ], 8, Y)) : d("", !0),
103
- c("div", Z, [
104
- e.item.countryFlag ? (l(), a(t(w), {
116
+ ], 8, Y)) : u("", !0),
117
+ c("div", {
118
+ class: d(["item__text", { "handle-area": e(m) }])
119
+ }, [
120
+ t.item.countryFlag ? (l(), n(e(w), {
105
121
  key: 0,
106
122
  class: "country-flag",
107
- "country-code": e.item.countryFlag
108
- }, null, 8, ["country-code"])) : d("", !0),
109
- h(G, {
110
- "display-value": e.displayValue,
111
- item: e.item
123
+ "country-code": t.item.countryFlag
124
+ }, null, 8, ["country-code"])) : u("", !0),
125
+ b(J, {
126
+ "display-value": t.displayValue,
127
+ item: t.item
112
128
  }, null, 8, ["display-value", "item"])
113
- ]),
114
- t(H).menu ? (l(), n("div", {
129
+ ], 2),
130
+ e(M).menu ? (l(), o("div", {
115
131
  key: 1,
116
132
  class: "item__menu",
117
- onClick: o[0] || (o[0] = u(() => {
133
+ onClick: a[0] || (a[0] = y(() => {
118
134
  }, ["stop"]))
119
135
  }, [
120
- D(r.$slots, "menu", {}, void 0, !0)
121
- ])) : d("", !0)
136
+ R(r.$slots, "menu", {}, void 0, !0)
137
+ ])) : u("", !0)
122
138
  ], 2),
123
- c("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", {
139
+ c("div", H(e(T), { class: "child-list" }), [
140
+ e(v) && t.isOpen ? (l(), o("ul", j(H({ key: 0 }, e(D))), [
141
+ (l(!0), o(q, null, G(e(Q), ({ data: i, index: O }) => (l(), o("li", {
126
142
  key: O,
127
- class: f({ selected: z(i) }),
128
- onClick: u((ee) => y("selectChild", i), ["stop"])
143
+ class: d({ selected: B(i) }),
144
+ onClick: y((_) => g("selectChild", i), ["stop"])
129
145
  }, [
130
- i.countryFlag ? (l(), a(t(w), {
146
+ i.countryFlag ? (l(), n(e(w), {
131
147
  key: 0,
132
148
  class: "country-flag",
133
149
  "country-code": i.countryFlag
134
- }, null, 8, ["country-code"])) : d("", !0),
135
- h(t(L), {
150
+ }, null, 8, ["country-code"])) : u("", !0),
151
+ b(e(L), {
136
152
  class: "country-title",
137
153
  variant: "body2",
138
154
  "tooltip-placement": "top",
139
- "tooltip-text": e.displayValue(i),
155
+ "tooltip-text": t.displayValue(i),
140
156
  "is-truncated": "",
141
157
  "with-tooltip": ""
142
158
  }, {
143
- default: b(() => [
144
- S(V(e.displayValue(i)), 1)
159
+ default: S(() => [
160
+ V(F(t.displayValue(i)), 1)
145
161
  ]),
146
162
  _: 2
147
163
  }, 1032, ["tooltip-text"])
148
- ], 10, _))), 128))
149
- ], 16)) : d("", !0)
164
+ ], 10, Z))), 128))
165
+ ], 16)) : u("", !0)
150
166
  ], 16)
151
167
  ], 34));
152
168
  }
153
169
  });
154
170
  export {
155
- ce as default
171
+ re as default
156
172
  };
@@ -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_f2ced2f4_lang.css"; //*');
4
- const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-f2ced2f4"]]);
3
+ // import "../../SortableItemLabel.vue_vue_type_style_index_0_scoped_a534c7af_lang.css"; //*');
4
+ const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-a534c7af"]]);
5
5
  export {
6
- a as default
6
+ s as default
7
7
  };
@@ -1,57 +1,60 @@
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
- import n from "../typography/v4/Typography.vue.js";
3
- import _ from "../tooltip/v4/TooltipV4.vue.js";
4
- const x = { class: "tooltip-content" }, g = /* @__PURE__ */ m({
1
+ import "../../SortableItemLabel.vue_vue_type_style_index_0_scoped_a534c7af_lang.css"; import { defineComponent as m, openBlock as a, createBlock as u, unref as l, withCtx as t, createElementVNode as p, createElementBlock as d, Fragment as f, renderList as h, createVNode as i, createTextVNode as o, toDisplayString as r, normalizeClass as x } from "vue";
2
+ import s from "../typography/v4/Typography.vue.js";
3
+ import b from "../tooltip/v4/TooltipV4.vue.js";
4
+ const y = { class: "tooltip-content" }, k = /* @__PURE__ */ m({
5
5
  __name: "SortableItemLabel",
6
6
  props: {
7
7
  item: null,
8
8
  displayValue: null
9
9
  },
10
- setup(t) {
11
- return (y, b) => (a(), p(l(_), {
10
+ setup(e) {
11
+ return (_, v) => (a(), u(l(b), {
12
12
  class: "item-label",
13
13
  placement: "right",
14
- disabled: !t.item.helpText
14
+ disabled: !e.item.helpText
15
15
  }, {
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,
16
+ tooltip: t(() => [
17
+ p("div", y, [
18
+ (a(!0), d(f, null, h(e.item.helpText, (n, c) => (a(), d("div", {
19
+ key: c,
20
20
  class: "help"
21
21
  }, [
22
- i(l(n), {
22
+ i(l(s), {
23
23
  class: "help__title",
24
24
  variant: "h5"
25
25
  }, {
26
- default: e(() => [
27
- o(r(c.title), 1)
26
+ default: t(() => [
27
+ o(r(n.title), 1)
28
28
  ]),
29
29
  _: 2
30
30
  }, 1024),
31
- i(l(n), {
31
+ i(l(s), {
32
32
  class: "help__text",
33
33
  variant: "body2"
34
34
  }, {
35
- default: e(() => [
36
- o(r(c.text), 1)
35
+ default: t(() => [
36
+ o(r(n.text), 1)
37
37
  ]),
38
38
  _: 2
39
39
  }, 1024)
40
40
  ]))), 128))
41
41
  ])
42
42
  ]),
43
- default: e(() => [
44
- i(l(n), { variant: "body2" }, {
45
- default: e(() => [
46
- o(r(t.displayValue(t.item)), 1)
43
+ default: t(() => [
44
+ i(l(s), {
45
+ variant: "body2",
46
+ class: x(["item-text", { "item-text--disabled": e.item.isDisabled }])
47
+ }, {
48
+ default: t(() => [
49
+ o(r(e.displayValue(e.item)), 1)
47
50
  ]),
48
51
  _: 1
49
- })
52
+ }, 8, ["class"])
50
53
  ]),
51
54
  _: 1
52
55
  }, 8, ["disabled"]));
53
56
  }
54
57
  });
55
58
  export {
56
- g as default
59
+ k as default
57
60
  };
@@ -10,6 +10,7 @@ export type SortableListItem = {
10
10
  title: string;
11
11
  text: string;
12
12
  }[];
13
+ isDisabled?: boolean;
13
14
  };
14
15
  export type VirtualListResult = {
15
16
  list: Ref<UseVirtualListItem<SortableListItem>[]>;
@@ -5,6 +5,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
5
5
  openId?: string | number;
6
6
  selectedId?: string | number;
7
7
  selectedChildId?: string | number;
8
+ variant?: "default" | "compact";
9
+ draggableArea?: "handle" | "full";
8
10
  search?: string;
9
11
  showSearch?: boolean;
10
12
  searchPlaceholder?: string;
@@ -22,6 +24,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
22
24
  openId: any;
23
25
  selectedId: any;
24
26
  selectedChildId: any;
27
+ variant: string;
28
+ draggableArea: string;
25
29
  search: any;
26
30
  showSearch: boolean;
27
31
  searchPlaceholder: string;
@@ -50,6 +54,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
50
54
  openId?: string | number;
51
55
  selectedId?: string | number;
52
56
  selectedChildId?: string | number;
57
+ variant?: "default" | "compact";
58
+ draggableArea?: "handle" | "full";
53
59
  search?: string;
54
60
  showSearch?: boolean;
55
61
  searchPlaceholder?: string;
@@ -67,6 +73,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
67
73
  openId: any;
68
74
  selectedId: any;
69
75
  selectedChildId: any;
76
+ variant: string;
77
+ draggableArea: string;
70
78
  search: any;
71
79
  showSearch: boolean;
72
80
  searchPlaceholder: string;
@@ -92,6 +100,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
92
100
  }, {
93
101
  search: string;
94
102
  testId: string;
103
+ variant: "default" | "compact";
95
104
  isLoading: boolean;
96
105
  displayValue: (item: SortableListItem) => string;
97
106
  searchPlaceholder: string;
@@ -99,6 +108,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
99
108
  selectedChildId: string | number;
100
109
  childListMaxHeight: string;
101
110
  searchHandler: (item: SortableListItem, searchQuery: string) => boolean;
111
+ draggableArea: "handle" | "full";
102
112
  openId: string | number;
103
113
  selectedId: string | number;
104
114
  showSearch: boolean;
@@ -1,7 +1,7 @@
1
1
  import o from "./SortableList.vue2.js";
2
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"]]);
3
+ // import "../../SortableList.vue_vue_type_style_index_0_scoped_84dc8525_lang.css"; //*');
4
+ const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-84dc8525"]]);
5
5
  export {
6
- p as default
6
+ c as default
7
7
  };