@ironsource/shared-ui 2.2.0-rc.0 → 2.2.0-rc.10

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 (170) hide show
  1. package/Alert.vue_vue_type_style_index_0_scoped_5e66710b_lang.css +1 -0
  2. package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_f86477a9_lang.css +1 -0
  3. package/AppHeader.vue_vue_type_style_index_0_scoped_18bc6c0d_lang.css +1 -0
  4. package/ButtonV4.vue_vue_type_style_index_0_scoped_a59af1ad_lang.css +1 -0
  5. package/Chart.vue_vue_type_style_index_0_scoped_22477735_lang.css +1 -0
  6. package/ChartHeader.vue_vue_type_style_index_0_scoped_9a603520_lang.css +1 -0
  7. package/ChartPlane.vue_vue_type_style_index_0_scoped_6de5cddb_lang.css +1 -0
  8. package/ChartTooltip.vue_vue_type_style_index_0_scoped_dc7e6298_lang.css +1 -0
  9. package/CheckboxV4.vue_vue_type_style_index_0_scoped_88525d86_lang.css +1 -0
  10. package/ChipV4.vue_vue_type_style_index_0_scoped_a221c649_lang.css +1 -0
  11. package/ColumnPicker.vue_vue_type_style_index_0_scoped_01c4e08f_lang.css +1 -0
  12. package/DataGrid.vue_vue_type_style_index_0_scoped_46851fcb_lang.css +1 -0
  13. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_a6900fa6_lang.css +1 -0
  14. package/DialogV4.vue_vue_type_style_index_0_scoped_a6710278_lang.css +1 -0
  15. package/DropdownV4.vue_vue_type_style_index_0_scoped_526bf0a1_lang.css +1 -0
  16. package/GroupOption.vue_vue_type_style_index_0_scoped_1e5170b3_lang.css +1 -0
  17. package/HelpText.vue_vue_type_style_index_0_scoped_641c2356_lang.css +1 -0
  18. package/IconV4.vue_vue_type_style_index_0_scoped_6683c5b5_lang.css +1 -0
  19. package/InlineCopy.vue_vue_type_style_index_0_scoped_9fa1921a_lang.css +1 -0
  20. package/Link.vue_vue_type_style_index_0_scoped_fe0e7f6f_lang.css +1 -0
  21. package/MultiBar.vue_vue_type_style_index_0_scoped_c4395fb6_lang.css +1 -0
  22. package/RadioButtonV4.vue_vue_type_style_index_0_scoped_4f3c7037_lang.css +1 -0
  23. package/SnackbarV4.vue_vue_type_style_index_0_scoped_35c79635_lang.css +1 -0
  24. package/SwitchV4.vue_vue_type_style_index_0_scoped_f9f89da2_lang.css +1 -0
  25. package/TextAreaV4.vue_vue_type_style_index_0_scoped_0feea75e_lang.css +1 -0
  26. package/TextField.vue_vue_type_style_index_0_scoped_28fab783_lang.css +1 -0
  27. package/ThemeWrapper.vue_vue_type_style_index_1_lang.css +1 -1
  28. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_0fc9ddf5_lang.css +1 -0
  29. package/TooltipHeader.vue_vue_type_style_index_0_scoped_2177211f_lang.css +1 -0
  30. package/components/alert/Alert.vue.d.ts +3 -8
  31. package/components/alert/Alert.vue.js +2 -2
  32. package/components/alert/Alert.vue2.js +48 -46
  33. package/components/alert/index.d.ts +8 -27
  34. package/components/appHeader/AppHeader.vue.js +2 -2
  35. package/components/appHeader/AppHeader.vue2.js +44 -45
  36. package/components/button/v3/Button.vue.d.ts +6 -6
  37. package/components/button/v3/index.d.ts +14 -14
  38. package/components/button/v4/ButtonV4.vue.js +4 -4
  39. package/components/button/v4/ButtonV4.vue2.js +1 -1
  40. package/components/button/v4/ToggleButtonGroupAB.vue.js +2 -2
  41. package/components/button/v4/ToggleButtonGroupAB.vue2.js +1 -1
  42. package/components/chart/Chart.vue.d.ts +5 -0
  43. package/components/chart/Chart.vue.js +3 -3
  44. package/components/chart/Chart.vue2.js +10 -8
  45. package/components/chart/ChartHeader.vue.d.ts +5 -0
  46. package/components/chart/ChartHeader.vue.js +3 -3
  47. package/components/chart/ChartHeader.vue2.js +73 -49
  48. package/components/chart/ChartPlane.vue.d.ts +5 -0
  49. package/components/chart/ChartPlane.vue.js +2 -2
  50. package/components/chart/ChartPlane.vue2.js +34 -32
  51. package/components/chart/ChartStoryArgs.d.ts +6 -0
  52. package/components/chart/ChartTooltip.vue.js +2 -2
  53. package/components/chart/ChartTooltip.vue2.js +19 -16
  54. package/components/chart/TooltipHeader.vue.js +3 -3
  55. package/components/chart/TooltipHeader.vue2.js +33 -22
  56. package/components/chart/index.d.ts +20 -1
  57. package/components/chart/utils/utils.d.ts +5 -1
  58. package/components/chart/utils/utils.js +32 -22
  59. package/components/checkbox/v4/CheckboxV4.vue.js +3 -3
  60. package/components/checkbox/v4/CheckboxV4.vue2.js +60 -79
  61. package/components/checkbox/v4/icons/CheckedState.vue.js +11 -11
  62. package/components/checkbox/v4/icons/IndeterminateState.vue.js +7 -7
  63. package/components/checkbox/v4/icons/UncheckedState.vue.d.ts +28 -1
  64. package/components/checkbox/v4/icons/UncheckedState.vue.js +23 -21
  65. package/components/checkbox/v4/icons/UncheckedState.vue2.js +4 -0
  66. package/components/chip/v4/ChipV4.vue.js +3 -3
  67. package/components/chip/v4/ChipV4.vue2.js +1 -1
  68. package/components/columnPicker/ColumnPicker.vue.js +2 -2
  69. package/components/columnPicker/ColumnPicker.vue2.js +1 -1
  70. package/components/dialog/v4/DialogV4.vue.js +4 -4
  71. package/components/dialog/v4/DialogV4.vue2.js +1 -1
  72. package/components/dropdown/v4/AppDropdownTrigger.vue.js +3 -3
  73. package/components/dropdown/v4/AppDropdownTrigger.vue2.js +1 -1
  74. package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +15 -0
  75. package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +3 -3
  76. package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +81 -60
  77. package/components/dropdown/v4/DropdownV4.vue.d.ts +18 -0
  78. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  79. package/components/dropdown/v4/DropdownV4.vue2.js +144 -135
  80. package/components/dropdown/v4/GroupOption.vue.js +3 -3
  81. package/components/dropdown/v4/GroupOption.vue2.js +1 -1
  82. package/components/dropdown/v4/dropdownStoryArgs.d.ts +11 -0
  83. package/components/dropdown/v4/index.d.ts +119 -2
  84. package/components/emptyState/v3/EmptyState.vue.d.ts +3 -3
  85. package/components/emptyState/v3/index.d.ts +7 -7
  86. package/components/helpText/HelpText.vue.d.ts +68 -0
  87. package/components/helpText/HelpText.vue.js +7 -0
  88. package/components/helpText/HelpText.vue2.js +45 -0
  89. package/components/helpText/index.d.ts +190 -0
  90. package/components/helpText/index.js +6 -0
  91. package/components/icon/v4/IconV4.vue.d.ts +5 -0
  92. package/components/icon/v4/IconV4.vue.js +2 -2
  93. package/components/icon/v4/IconV4.vue2.js +27 -26
  94. package/components/icon/v4/index.d.ts +20 -1
  95. package/components/includeExclude/index.d.ts +16 -16
  96. package/components/inlineCopy/InlineCopy.vue.d.ts +15 -0
  97. package/components/inlineCopy/InlineCopy.vue.js +2 -2
  98. package/components/inlineCopy/InlineCopy.vue2.js +80 -51
  99. package/components/inlineCopy/index.d.ts +27 -0
  100. package/components/input/v4/TextField.vue.js +2 -2
  101. package/components/input/v4/TextField.vue2.js +1 -1
  102. package/components/link/Link.vue.d.ts +3 -3
  103. package/components/link/Link.vue.js +5 -5
  104. package/components/link/Link.vue2.js +1 -1
  105. package/components/link/index.d.ts +7 -7
  106. package/components/multibar/MultiBar.vue.js +3 -3
  107. package/components/multibar/MultiBar.vue2.js +1 -1
  108. package/components/radioButton/v4/RadioButtonV4.vue.js +3 -3
  109. package/components/radioButton/v4/RadioButtonV4.vue2.js +1 -1
  110. package/components/snackbar/common/notify.js +25 -25
  111. package/components/snackbar/common/snackbar.common.js +19 -19
  112. package/components/snackbar/common/snackbar.types.d.ts +2 -1
  113. package/components/snackbar/v4/SnackbarV4.vue.d.ts +8 -1
  114. package/components/snackbar/v4/SnackbarV4.vue.js +2 -2
  115. package/components/snackbar/v4/SnackbarV4.vue2.js +85 -64
  116. package/components/switch/v4/SwitchV4.vue.d.ts +5 -0
  117. package/components/switch/v4/SwitchV4.vue.js +3 -3
  118. package/components/switch/v4/SwitchV4.vue2.js +14 -13
  119. package/components/switch/v4/index.d.ts +9 -0
  120. package/components/table/v4/DataGrid.vue.js +4 -4
  121. package/components/table/v4/DataGrid.vue2.js +78 -77
  122. package/components/table-cells/v3/Editable.vue.d.ts +1 -1
  123. package/components/table-cells/v3/index.d.ts +20 -20
  124. package/components/table-cells/v4/EditableV4.vue.d.ts +1 -1
  125. package/components/table-cells/v4/index.d.ts +20 -20
  126. package/components/textArea/v4/TextAreaV4.vue.js +3 -3
  127. package/components/textArea/v4/TextAreaV4.vue2.js +1 -1
  128. package/design-foundation.stories/colors/ColorsData.d.ts +52 -47
  129. package/index.d.ts +391 -46
  130. package/index.js +95 -91
  131. package/package.json +7 -2
  132. package/style/v4/colors.scss +89 -84
  133. package/style/v4/grid.css +1 -1
  134. package/style/v4/grid.css.map +1 -1
  135. package/testids/index.d.ts +6 -1
  136. package/testids/index.js +38 -37
  137. package/Alert.vue_vue_type_style_index_0_scoped_06e0871a_lang.css +0 -1
  138. package/AppDropdownTrigger.vue_vue_type_style_index_0_scoped_858cefbf_lang.css +0 -1
  139. package/AppHeader.vue_vue_type_style_index_0_scoped_538ccdc6_lang.css +0 -1
  140. package/ButtonV4.vue_vue_type_style_index_0_scoped_852be7ec_lang.css +0 -1
  141. package/Chart.vue_vue_type_style_index_0_scoped_060d02be_lang.css +0 -1
  142. package/ChartHeader.vue_vue_type_style_index_0_scoped_d90c583e_lang.css +0 -1
  143. package/ChartPlane.vue_vue_type_style_index_0_scoped_a685cf5e_lang.css +0 -1
  144. package/ChartTooltip.vue_vue_type_style_index_0_scoped_9623dbbd_lang.css +0 -1
  145. package/CheckboxV4.vue_vue_type_style_index_0_scoped_af4ae3c3_lang.css +0 -1
  146. package/ChipV4.vue_vue_type_style_index_0_scoped_a4d3a12e_lang.css +0 -1
  147. package/ColumnPicker.vue_vue_type_style_index_0_scoped_ea8c7024_lang.css +0 -1
  148. package/DataGrid.vue_vue_type_style_index_0_scoped_cd41c5ca_lang.css +0 -1
  149. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_64ae80dd_lang.css +0 -1
  150. package/DialogV4.vue_vue_type_style_index_0_scoped_cc99f1e3_lang.css +0 -1
  151. package/DropdownV4.vue_vue_type_style_index_0_scoped_d3802d59_lang.css +0 -1
  152. package/GroupOption.vue_vue_type_style_index_0_scoped_5f372a81_lang.css +0 -1
  153. package/IconV4.vue_vue_type_style_index_0_scoped_dc433d48_lang.css +0 -1
  154. package/InlineCopy.vue_vue_type_style_index_0_scoped_ad48b61e_lang.css +0 -1
  155. package/Link.vue_vue_type_style_index_0_scoped_1a766750_lang.css +0 -1
  156. package/MultiBar.vue_vue_type_style_index_0_scoped_71617643_lang.css +0 -1
  157. package/RadioButtonV4.vue_vue_type_style_index_0_scoped_05c7bca2_lang.css +0 -1
  158. package/SnackbarV4.vue_vue_type_style_index_0_scoped_1b650c39_lang.css +0 -1
  159. package/SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css +0 -1
  160. package/TextAreaV4.vue_vue_type_style_index_0_scoped_4114ef89_lang.css +0 -1
  161. package/TextField.vue_vue_type_style_index_0_scoped_3b7a3661_lang.css +0 -1
  162. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_2076b5ab_lang.css +0 -1
  163. package/TooltipHeader.vue_vue_type_style_index_0_scoped_da3532aa_lang.css +0 -1
  164. package/components/checkbox/v4/icons/CheckedDisabledState.vue.d.ts +0 -29
  165. package/components/checkbox/v4/icons/CheckedDisabledState.vue.js +0 -45
  166. package/components/checkbox/v4/icons/CheckedDisabledState.vue2.js +0 -4
  167. package/components/checkbox/v4/icons/IndeterminateDisabledState.vue.d.ts +0 -2
  168. package/components/checkbox/v4/icons/IndeterminateDisabledState.vue.js +0 -40
  169. package/components/checkbox/v4/icons/UncheckedDisabledState.vue.d.ts +0 -2
  170. package/components/checkbox/v4/icons/UncheckedDisabledState.vue.js +0 -30
@@ -1,4 +1,4 @@
1
- import "../../../DataGrid.vue_vue_type_style_index_0_scoped_cd41c5ca_lang.css"; import { defineComponent as ke, useCssVars as me, unref as t, useSlots as be, computed as u, openBlock as i, createElementBlock as d, createElementVNode as b, normalizeStyle as S, normalizeClass as y, createBlock as I, isRef as pe, createSlots as ve, withCtx as g, renderSlot as r, createCommentVNode as c, Fragment as x, renderList as C, createVNode as k, createTextVNode as P, toDisplayString as O, mergeProps as L } from "vue";
1
+ import "../../../DataGrid.vue_vue_type_style_index_0_scoped_46851fcb_lang.css"; import { defineComponent as ke, useCssVars as me, unref as t, useSlots as be, computed as u, openBlock as i, createElementBlock as d, createElementVNode as b, normalizeStyle as S, normalizeClass as y, createBlock as I, isRef as pe, createSlots as ve, withCtx as g, renderSlot as r, createCommentVNode as c, Fragment as C, renderList as R, createVNode as k, createTextVNode as P, toDisplayString as O, mergeProps as L } from "vue";
2
2
  import V from "../../typography/v4/Typography.vue.js";
3
3
  import xe from "../../skeleton/v4/SkeletonV4.vue.js";
4
4
  import Ce from "../../emptyState/v4/EmptyStateV4.vue.js";
@@ -10,7 +10,7 @@ import "./DataGridRowsCounter.vue.js";
10
10
  import $e from "./DataGridHeader.vue.js";
11
11
  import "./DataGridContainer.vue.js";
12
12
  import "./MultipleDataGrid.vue.js";
13
- import { TableTestIdModifiers as R } from "../../../testids/index.js";
13
+ import { TableTestIdModifiers as $ } from "../../../testids/index.js";
14
14
  import { tableCommon as Te } from "../common/Table.common.js";
15
15
  import He from "./SortIcon.vue.js";
16
16
  import we from "./HelpIcon.vue.js";
@@ -71,15 +71,15 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
71
71
  },
72
72
  emits: ["update:sort", "update:search", "update:selection", "onScroll", "onClearSearch", "saveRow", "loadMore", "selectAll", "selectRow", "clickRow"],
73
73
  setup(l, { expose: m, emit: f }) {
74
- const a = l;
75
- me((s) => ({
76
- "423d7fe6": l.zIndexBase,
77
- "38b7f4c1": t(le),
78
- "9b4c490c": t(G),
79
- "243617e8": t(fe)
74
+ const s = l;
75
+ me((a) => ({
76
+ "55ef8912": l.zIndexBase,
77
+ "5caaa606": t(le),
78
+ b7356102: t(G),
79
+ "7d96c2a6": t(fe)
80
80
  }));
81
- const p = be(), q = (s) => a.rowCustomClassKey && a.rows[s] ? a.rows[s][a.rowCustomClassKey] : "", {
82
- list: $,
81
+ const p = be(), q = (a) => s.rowCustomClassKey && s.rows[a] ? s.rows[a][s.rowCustomClassKey] : "", {
82
+ list: v,
83
83
  containerProps: z,
84
84
  wrapperProps: J,
85
85
  activeRow: T,
@@ -95,74 +95,75 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
95
95
  cssExpandGridCol: le,
96
96
  isRowExpanded: M,
97
97
  hasCheckboxes: D,
98
- activeMenuRow: se,
99
- scrollTo: ae
100
- } = Te(a, f), W = u(() => !!p.footer), ie = u(
101
- () => a.title || p.title || _.value || p["table-header-actions"] || p["table-header-pre-search"]
102
- ), v = u({
103
- get: () => a.search,
104
- set: (s) => f("update:search", s)
105
- }), oe = u(() => a.selection.length || 0), F = u(() => {
106
- const s = a.rows.map((o, e) => a.getRowId(o, e));
107
- return !!s.length && s.every((o) => E(o));
108
- }), E = (s) => a.selection.findIndex((o) => a.selectedMatcher(s, o)) !== -1, de = (s) => {
109
- E(s) ? (B(
110
- a.selection.filter(
111
- (o) => !a.selectedMatcher(s, o)
98
+ activeMenuRow: ae,
99
+ scrollTo: se
100
+ } = Te(s, f), W = u(() => !!p.footer), ie = u(
101
+ () => s.title || p.title || _.value || p["table-header-actions"] || p["table-header-pre-search"]
102
+ ), x = u({
103
+ get: () => s.search,
104
+ set: (a) => f("update:search", a)
105
+ }), oe = u(() => s.selection.length || 0), F = u(() => {
106
+ const a = s.rows.map((o, e) => s.getRowId(o, e));
107
+ return !!a.length && a.every((o) => E(o));
108
+ }), E = (a) => s.selection.findIndex((o) => s.selectedMatcher(a, o)) !== -1, de = (a) => {
109
+ E(a) ? (B(
110
+ s.selection.filter(
111
+ (o) => !s.selectedMatcher(a, o)
112
112
  )
113
- ), f("selectRow", !1)) : (B([...a.selection, s]), f("selectRow", !0));
113
+ ), f("selectRow", !1)) : (B([...s.selection, a]), f("selectRow", !0));
114
114
  }, ne = () => {
115
115
  if (F.value)
116
116
  B([]), f("selectAll", !1);
117
117
  else {
118
- const s = a.rows.map((o, e) => a.getRowId(o, e)).filter((o) => !E(o));
119
- B([...a.selection, ...s]), f("selectAll", !0);
118
+ const a = s.rows.map((o, e) => s.getRowId(o, e)).filter((o) => !E(o));
119
+ B([...s.selection, ...a]), f("selectAll", !0);
120
120
  }
121
- }, B = (s) => {
122
- f("update:selection", s);
123
- }, re = (s) => !a.isLoading && T.value === s, ce = u(
124
- () => a.emptyStateVariant ?? (v.value ? "no-results" : "no-data")
121
+ }, B = (a) => {
122
+ f("update:selection", a);
123
+ }, re = (a) => !s.isLoading && T.value === a, ce = u(
124
+ () => s.emptyStateVariant ?? (x.value ? "no-results" : "no-data")
125
125
  ), ue = u(
126
- () => a.emptyStateSubtitle ? a.emptyStateSubtitle : v.value ? "Search again with different filters" : void 0
126
+ () => s.emptyStateSubtitle ? s.emptyStateSubtitle : x.value ? "Search again with different filters" : void 0
127
127
  ), N = u(() => ({
128
128
  class: {
129
- sticky: a.isSelectionSticky,
130
- bordered: a.isSelectionBordered
129
+ sticky: s.isSelectionSticky,
130
+ bordered: s.isSelectionBordered
131
131
  },
132
- style: a.isSelectionSticky ? H.value[Ae] : null
133
- })), he = (s) => ({
134
- sticky: s.isSticky,
135
- isStickyRight: s.isStickyRight,
136
- bordered: s.isBordered,
137
- isTextRight: s.isTextRight
132
+ style: s.isSelectionSticky ? H.value[Ae] : null
133
+ })), he = (a) => ({
134
+ sticky: a.isSticky,
135
+ isStickyRight: a.isStickyRight,
136
+ bordered: a.isBordered,
137
+ isTextRight: a.isTextRight
138
138
  }), Y = u(
139
- () => a.columns.map((s) => he(s))
140
- ), ye = (s) => ({
141
- minHeight: (typeof a.rowHeight == "function" ? a.rowHeight(s) : a.rowHeight) + "px"
142
- }), A = u(() => $.value.reduce((s, o) => (s[o.index] = ye(o.index), s), {})), fe = u(() => `${X}px`), { height: Se } = Ie(z.ref), ge = u(
139
+ () => s.columns.map((a) => he(a))
140
+ ), ye = (a) => ({
141
+ minHeight: (typeof s.rowHeight == "function" ? s.rowHeight(a) : s.rowHeight) + "px"
142
+ }), A = u(() => v.value.reduce((a, o) => (a[o.index] = ye(o.index), a), {})), fe = u(() => `${X}px`), { height: Se } = Ie(z.ref), ge = u(
143
143
  () => Se.value - j - X
144
144
  );
145
145
  return m({
146
- scrollTo: ae
147
- }), (s, o) => (i(), d("div", {
146
+ scrollTo: se
147
+ }), (a, o) => (i(), d("div", {
148
148
  class: "table-container",
149
- "data-testid": `${l.testId}-${t(R).CONTAINER}`,
149
+ "data-testid": `${l.testId}-${t($).CONTAINER}`,
150
150
  onMouseleave: o[3] || (o[3] = (e) => T.value = null)
151
151
  }, [
152
152
  b("table", {
153
153
  ref: t(z).ref,
154
154
  style: S(t(ee)),
155
155
  class: y({
156
- hasFooter: t(W)
156
+ hasFooter: t(W),
157
+ "disabled-scrolling": t(v).length === 0
157
158
  }),
158
- "data-testid": `${l.testId}-${t(R).TABLE}`,
159
+ "data-testid": `${l.testId}-${t($).TABLE}`,
159
160
  onScrollPassive: o[2] || (o[2] = //@ts-ignore
160
161
  (...e) => t(K) && t(K)(...e))
161
162
  }, [
162
163
  t(ie) ? (i(), I(t($e), {
163
164
  key: 0,
164
- search: t(v),
165
- "onUpdate:search": o[0] || (o[0] = (e) => pe(v) ? v.value = e : null),
165
+ search: t(x),
166
+ "onUpdate:search": o[0] || (o[0] = (e) => pe(x) ? x.value = e : null),
166
167
  title: l.title,
167
168
  "is-sticky": l.isStickyHeader,
168
169
  "show-search": l.showSearch,
@@ -173,24 +174,24 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
173
174
  onOnClearSearch: o[1] || (o[1] = (e) => f("onClearSearch"))
174
175
  }, ve({
175
176
  title: g(() => [
176
- r(s.$slots, "title")
177
+ r(a.$slots, "title")
177
178
  ]),
178
179
  search: g(() => [
179
- r(s.$slots, "search")
180
+ r(a.$slots, "search")
180
181
  ]),
181
182
  _: 2
182
183
  }, [
183
184
  t(p)["table-header-pre-search"] ? {
184
185
  name: "table-header-pre-search",
185
186
  fn: g(() => [
186
- r(s.$slots, "table-header-pre-search")
187
+ r(a.$slots, "table-header-pre-search")
187
188
  ]),
188
189
  key: "0"
189
190
  } : void 0,
190
191
  t(p)["table-header-actions"] ? {
191
192
  name: "table-header-actions",
192
193
  fn: g(() => [
193
- r(s.$slots, "table-header-actions")
194
+ r(a.$slots, "table-header-actions")
194
195
  ]),
195
196
  key: "1"
196
197
  } : void 0
@@ -200,13 +201,13 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
200
201
  }, [
201
202
  b("div", {
202
203
  class: "sections",
203
- "data-testid": `${l.testId}-${t(R).SECTIONS}`
204
+ "data-testid": `${l.testId}-${t($).SECTIONS}`
204
205
  }, [
205
- (i(!0), d(x, null, C(l.sections, (e) => (i(), d("div", {
206
+ (i(!0), d(C, null, R(l.sections, (e) => (i(), d("div", {
206
207
  key: e.id,
207
208
  class: y(["section-container", { sticky: e.isSticky }])
208
209
  }, [
209
- r(s.$slots, `section-${e.id}`, {}, () => [
210
+ r(a.$slots, `section-${e.id}`, {}, () => [
210
211
  b("div", {
211
212
  style: S({ width: e.width + "px" }),
212
213
  class: y({ section: !0 })
@@ -228,7 +229,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
228
229
  key: 0,
229
230
  class: "checkbox-cell"
230
231
  }, t(N)), [
231
- r(s.$slots, "select-all-checkbox", {}, () => [
232
+ r(a.$slots, "select-all-checkbox", {}, () => [
232
233
  k(t(Q), {
233
234
  disabled: l.isLoading,
234
235
  "is-checked": t(F),
@@ -238,7 +239,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
238
239
  ])
239
240
  ], 16)) : c("", !0),
240
241
  t(w) ? (i(), d("th", Me)) : c("", !0),
241
- (i(!0), d(x, null, C(l.columns, (e, h) => (i(), d("th", {
242
+ (i(!0), d(C, null, R(l.columns, (e, h) => (i(), d("th", {
242
243
  key: e.id,
243
244
  class: y({
244
245
  ...t(Y)[h],
@@ -249,7 +250,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
249
250
  onClick: (n) => e.isSortable ? t(Z)(e) : null
250
251
  }, [
251
252
  b("div", Fe, [
252
- r(s.$slots, `header-${e.id}`, { column: e }, () => [
253
+ r(a.$slots, `header-${e.id}`, { column: e }, () => [
253
254
  k(t(Re), {
254
255
  text: e.helpText,
255
256
  disabled: !e.helpText || l.helpTooltipVariant === "icon",
@@ -278,7 +279,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
278
279
  "hover-help-text-placement": e.helpTextPlacement,
279
280
  "test-id": `help-tooltip-${e.id}`
280
281
  }, null, 8, ["hover-help-text", "hover-help-text-placement", "test-id"])) : c("", !0),
281
- r(s.$slots, `after-header-${e.id}`, { column: e }),
282
+ r(a.$slots, `after-header-${e.id}`, { column: e }),
282
283
  e.isSortable && e.id === l.sort?.sortBy ? (i(), I(He, {
283
284
  key: 1,
284
285
  "sort-order": l.sort.sortOrder
@@ -286,12 +287,12 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
286
287
  ])
287
288
  ], 14, De))), 128))
288
289
  ], 4),
289
- l.showTotalsRow && t($).length > 0 ? (i(), d("tr", Ne, [
290
+ l.showTotalsRow && t(v).length > 0 ? (i(), d("tr", Ne, [
290
291
  t(D) ? (i(), d("td", L({
291
292
  key: 0,
292
293
  class: "bg"
293
294
  }, t(N)), null, 16)) : c("", !0),
294
- (i(!0), d(x, null, C(l.columns, (e, h) => (i(), d("td", {
295
+ (i(!0), d(C, null, R(l.columns, (e, h) => (i(), d("td", {
295
296
  key: e.id,
296
297
  class: y({
297
298
  ...t(Y)[h],
@@ -299,7 +300,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
299
300
  }),
300
301
  style: S(e.isSticky ? t(H)[e.id] : null)
301
302
  }, [
302
- r(s.$slots, `total-${e.id}`, { column: e }, () => [
303
+ r(a.$slots, `total-${e.id}`, { column: e }, () => [
303
304
  h === 0 ? (i(), I(t(V), {
304
305
  key: 0,
305
306
  variant: "h6"
@@ -314,17 +315,17 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
314
315
  ])) : c("", !0)
315
316
  ], 2),
316
317
  b("tbody", null, [
317
- t($).length > 0 ? (i(), d("div", L({
318
+ t(v).length > 0 ? (i(), d("div", L({
318
319
  key: 0,
319
320
  class: "table-body-wrapper",
320
- "data-testid": `${l.testId}-${t(R).BODY_WRAPPER}`
321
+ "data-testid": `${l.testId}-${t($).BODY_WRAPPER}`
321
322
  }, t(J)), [
322
- (i(!0), d(x, null, C(t($), (e) => (i(), d("tr", {
323
+ (i(!0), d(C, null, R(t(v), (e) => (i(), d("tr", {
323
324
  key: l.getRowKey(e.data, e.index),
324
325
  class: y(["table-row", {
325
326
  loading: l.isLoading || l.isLoading && !e.data || t(U).includes(e.index),
326
327
  active: t(T) === e.index,
327
- activeMenu: t(se) === e.index,
328
+ activeMenu: t(ae) === e.index,
328
329
  expanded: t(w) && t(M)(e.index),
329
330
  [q(e.index)]: !0
330
331
  }]),
@@ -353,7 +354,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
353
354
  onClick: (h) => t(te)(e.index, h)
354
355
  }, null, 8, ["expanded", "onClick"])
355
356
  ], 4)) : c("", !0),
356
- (i(!0), d(x, null, C(l.columns, (h, n) => (i(), d("td", {
357
+ (i(!0), d(C, null, R(l.columns, (h, n) => (i(), d("td", {
357
358
  key: n,
358
359
  class: y({
359
360
  sticky: l.columns[n].isSticky,
@@ -371,7 +372,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
371
372
  key: 0,
372
373
  class: y(["table-cell", { last: n === e.data.length - 1 }])
373
374
  }, [
374
- r(s.$slots, `cell-${l.columns[n].id}`, {
375
+ r(a.$slots, `cell-${l.columns[n].id}`, {
375
376
  cell: e.data[n],
376
377
  isLoading: t(U).includes(e.index),
377
378
  cellIndex: n,
@@ -385,18 +386,18 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
385
386
  _: 2
386
387
  }, 1024)
387
388
  ])
388
- ], 2)) : r(s.$slots, "loader", { key: 1 }, () => [
389
+ ], 2)) : r(a.$slots, "loader", { key: 1 }, () => [
389
390
  k(t(xe), { round: "" })
390
391
  ])
391
392
  ], 6))), 128)),
392
393
  t(w) && t(M)(e.index) ? (i(), d("div", Ge, [
393
- r(s.$slots, "expanded", {
394
+ r(a.$slots, "expanded", {
394
395
  row: e,
395
396
  gridColumnTemplate: t(G)
396
397
  })
397
398
  ])) : c("", !0),
398
399
  re(e.index) ? (i(), d("div", Ke, [
399
- r(s.$slots, "floating-row", {
400
+ r(a.$slots, "floating-row", {
400
401
  row: e,
401
402
  rowIndex: e.index
402
403
  })
@@ -408,21 +409,21 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
408
409
  l.useAvailableHeight ? { height: `${t(ge)}px` } : {}
409
410
  )
410
411
  }, [
411
- r(s.$slots, "empty-state", {}, () => [
412
+ r(a.$slots, "empty-state", {}, () => [
412
413
  k(t(Ce), {
413
414
  class: "empty-state",
414
415
  title: l.emptyStateTitle,
415
416
  subtitle: t(ue),
416
417
  variant: t(ce),
417
418
  "icon-name": "file-search",
418
- "test-id": `${l.testId}-${t(R).EMPTY_STATE}`
419
+ "test-id": `${l.testId}-${t($).EMPTY_STATE}`
419
420
  }, null, 8, ["title", "subtitle", "variant", "test-id"])
420
421
  ])
421
422
  ], 4))
422
423
  ])
423
424
  ], 46, Le),
424
425
  t(W) ? (i(), d("div", Ue, [
425
- r(s.$slots, "footer")
426
+ r(a.$slots, "footer")
426
427
  ])) : c("", !0)
427
428
  ], 40, Pe));
428
429
  }
@@ -24,9 +24,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
24
24
  validateFunction: () => false;
25
25
  }>>>, {
26
26
  cell: string;
27
+ isLoading: boolean;
27
28
  isEditing: boolean;
28
29
  validateFunction: (value: unknown) => string | boolean;
29
- isLoading: boolean;
30
30
  }>, {
31
31
  input?(_: {}): any;
32
32
  content?(_: {}): any;
@@ -4,14 +4,18 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
4
4
  $data: {};
5
5
  $props: Partial<{
6
6
  cell: string;
7
+ isLoading: boolean;
7
8
  isEditing: boolean;
8
9
  validateFunction: (value: unknown) => string | boolean;
9
- isLoading: boolean;
10
10
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
11
11
  cell: {
12
12
  type: import("vue").PropType<string>;
13
13
  default: string;
14
14
  };
15
+ isLoading: {
16
+ type: import("vue").PropType<boolean>;
17
+ default: boolean;
18
+ };
15
19
  isEditing: {
16
20
  type: import("vue").PropType<boolean>;
17
21
  default: boolean;
@@ -20,10 +24,6 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
20
24
  type: import("vue").PropType<(value: unknown) => string | boolean>;
21
25
  default: () => false;
22
26
  };
23
- isLoading: {
24
- type: import("vue").PropType<boolean>;
25
- default: boolean;
26
- };
27
27
  rowIndex: {
28
28
  type: import("vue").PropType<number>;
29
29
  required: true;
@@ -32,7 +32,7 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
32
32
  type: import("vue").PropType<number>;
33
33
  required: true;
34
34
  };
35
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "cell" | "isEditing" | "validateFunction" | "isLoading">;
35
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "cell" | "isLoading" | "isEditing" | "validateFunction">;
36
36
  $attrs: {
37
37
  [x: string]: unknown;
38
38
  };
@@ -51,6 +51,10 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
51
51
  type: import("vue").PropType<string>;
52
52
  default: string;
53
53
  };
54
+ isLoading: {
55
+ type: import("vue").PropType<boolean>;
56
+ default: boolean;
57
+ };
54
58
  isEditing: {
55
59
  type: import("vue").PropType<boolean>;
56
60
  default: boolean;
@@ -59,10 +63,6 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
59
63
  type: import("vue").PropType<(value: unknown) => string | boolean>;
60
64
  default: () => false;
61
65
  };
62
- isLoading: {
63
- type: import("vue").PropType<boolean>;
64
- default: boolean;
65
- };
66
66
  rowIndex: {
67
67
  type: import("vue").PropType<number>;
68
68
  required: true;
@@ -73,9 +73,9 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
73
73
  };
74
74
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
75
75
  cell: string;
76
+ isLoading: boolean;
76
77
  isEditing: boolean;
77
78
  validateFunction: (value: unknown) => string | boolean;
78
- isLoading: boolean;
79
79
  }, {}, string> & {
80
80
  beforeCreate?: (() => void) | (() => void)[];
81
81
  created?: (() => void) | (() => void)[];
@@ -101,6 +101,10 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
101
101
  type: import("vue").PropType<string>;
102
102
  default: string;
103
103
  };
104
+ isLoading: {
105
+ type: import("vue").PropType<boolean>;
106
+ default: boolean;
107
+ };
104
108
  isEditing: {
105
109
  type: import("vue").PropType<boolean>;
106
110
  default: boolean;
@@ -109,10 +113,6 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
109
113
  type: import("vue").PropType<(value: unknown) => string | boolean>;
110
114
  default: () => false;
111
115
  };
112
- isLoading: {
113
- type: import("vue").PropType<boolean>;
114
- default: boolean;
115
- };
116
116
  rowIndex: {
117
117
  type: import("vue").PropType<number>;
118
118
  required: true;
@@ -130,6 +130,10 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
130
130
  type: import("vue").PropType<string>;
131
131
  default: string;
132
132
  };
133
+ isLoading: {
134
+ type: import("vue").PropType<boolean>;
135
+ default: boolean;
136
+ };
133
137
  isEditing: {
134
138
  type: import("vue").PropType<boolean>;
135
139
  default: boolean;
@@ -138,10 +142,6 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
138
142
  type: import("vue").PropType<(value: unknown) => string | boolean>;
139
143
  default: () => false;
140
144
  };
141
- isLoading: {
142
- type: import("vue").PropType<boolean>;
143
- default: boolean;
144
- };
145
145
  rowIndex: {
146
146
  type: import("vue").PropType<number>;
147
147
  required: true;
@@ -152,9 +152,9 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
152
152
  };
153
153
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
154
154
  cell: string;
155
+ isLoading: boolean;
155
156
  isEditing: boolean;
156
157
  validateFunction: (value: unknown) => string | boolean;
157
- isLoading: boolean;
158
158
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
159
159
  $slots: {
160
160
  input?(_: {}): any;
@@ -37,10 +37,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
37
37
  }>>>, {
38
38
  type: "input" | "dropdown";
39
39
  cell: string;
40
+ isLoading: boolean;
40
41
  withIcons: boolean;
41
42
  saveOnClickOutside: boolean;
42
43
  validateFunction: (value: unknown) => string | boolean;
43
- isLoading: boolean;
44
44
  displayValue: (option: unknown) => unknown;
45
45
  }>, {
46
46
  input?(_: {}): any;
@@ -6,10 +6,10 @@ declare const EditableTypes: () => ({
6
6
  $props: Partial<{
7
7
  type: "input" | "dropdown";
8
8
  cell: string;
9
+ isLoading: boolean;
9
10
  withIcons: boolean;
10
11
  saveOnClickOutside: boolean;
11
12
  validateFunction: (value: unknown) => string | boolean;
12
- isLoading: boolean;
13
13
  displayValue: (option: unknown) => unknown;
14
14
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
15
15
  type: {
@@ -21,6 +21,10 @@ declare const EditableTypes: () => ({
21
21
  type: import("vue").PropType<string>;
22
22
  default: string;
23
23
  };
24
+ isLoading: {
25
+ type: import("vue").PropType<boolean>;
26
+ default: boolean;
27
+ };
24
28
  withIcons: {
25
29
  type: import("vue").PropType<boolean>;
26
30
  default: boolean;
@@ -33,10 +37,6 @@ declare const EditableTypes: () => ({
33
37
  type: import("vue").PropType<(value: unknown) => string | boolean>;
34
38
  default: () => false;
35
39
  };
36
- isLoading: {
37
- type: import("vue").PropType<boolean>;
38
- default: boolean;
39
- };
40
40
  rowIndex: {
41
41
  type: import("vue").PropType<number>;
42
42
  required: true;
@@ -49,7 +49,7 @@ declare const EditableTypes: () => ({
49
49
  type: import("vue").PropType<(option: unknown) => unknown>;
50
50
  default: (cell: unknown) => unknown;
51
51
  };
52
- }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "cell" | "withIcons" | "saveOnClickOutside" | "validateFunction" | "isLoading" | "displayValue">;
52
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "cell" | "isLoading" | "withIcons" | "saveOnClickOutside" | "validateFunction" | "displayValue">;
53
53
  $attrs: {
54
54
  [x: string]: unknown;
55
55
  };
@@ -73,6 +73,10 @@ declare const EditableTypes: () => ({
73
73
  type: import("vue").PropType<string>;
74
74
  default: string;
75
75
  };
76
+ isLoading: {
77
+ type: import("vue").PropType<boolean>;
78
+ default: boolean;
79
+ };
76
80
  withIcons: {
77
81
  type: import("vue").PropType<boolean>;
78
82
  default: boolean;
@@ -85,10 +89,6 @@ declare const EditableTypes: () => ({
85
89
  type: import("vue").PropType<(value: unknown) => string | boolean>;
86
90
  default: () => false;
87
91
  };
88
- isLoading: {
89
- type: import("vue").PropType<boolean>;
90
- default: boolean;
91
- };
92
92
  rowIndex: {
93
93
  type: import("vue").PropType<number>;
94
94
  required: true;
@@ -104,10 +104,10 @@ declare const EditableTypes: () => ({
104
104
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
105
105
  type: "input" | "dropdown";
106
106
  cell: string;
107
+ isLoading: boolean;
107
108
  withIcons: boolean;
108
109
  saveOnClickOutside: boolean;
109
110
  validateFunction: (value: unknown) => string | boolean;
110
- isLoading: boolean;
111
111
  displayValue: (option: unknown) => unknown;
112
112
  }, {}, string> & {
113
113
  beforeCreate?: (() => void) | (() => void)[];
@@ -139,6 +139,10 @@ declare const EditableTypes: () => ({
139
139
  type: import("vue").PropType<string>;
140
140
  default: string;
141
141
  };
142
+ isLoading: {
143
+ type: import("vue").PropType<boolean>;
144
+ default: boolean;
145
+ };
142
146
  withIcons: {
143
147
  type: import("vue").PropType<boolean>;
144
148
  default: boolean;
@@ -151,10 +155,6 @@ declare const EditableTypes: () => ({
151
155
  type: import("vue").PropType<(value: unknown) => string | boolean>;
152
156
  default: () => false;
153
157
  };
154
- isLoading: {
155
- type: import("vue").PropType<boolean>;
156
- default: boolean;
157
- };
158
158
  rowIndex: {
159
159
  type: import("vue").PropType<number>;
160
160
  required: true;
@@ -181,6 +181,10 @@ declare const EditableTypes: () => ({
181
181
  type: import("vue").PropType<string>;
182
182
  default: string;
183
183
  };
184
+ isLoading: {
185
+ type: import("vue").PropType<boolean>;
186
+ default: boolean;
187
+ };
184
188
  withIcons: {
185
189
  type: import("vue").PropType<boolean>;
186
190
  default: boolean;
@@ -193,10 +197,6 @@ declare const EditableTypes: () => ({
193
197
  type: import("vue").PropType<(value: unknown) => string | boolean>;
194
198
  default: () => false;
195
199
  };
196
- isLoading: {
197
- type: import("vue").PropType<boolean>;
198
- default: boolean;
199
- };
200
200
  rowIndex: {
201
201
  type: import("vue").PropType<number>;
202
202
  required: true;
@@ -212,10 +212,10 @@ declare const EditableTypes: () => ({
212
212
  }>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
213
213
  type: "input" | "dropdown";
214
214
  cell: string;
215
+ isLoading: boolean;
215
216
  withIcons: boolean;
216
217
  saveOnClickOutside: boolean;
217
218
  validateFunction: (value: unknown) => string | boolean;
218
- isLoading: boolean;
219
219
  displayValue: (option: unknown) => unknown;
220
220
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
221
221
  $slots: {
@@ -1,7 +1,7 @@
1
1
  import e from "./TextAreaV4.vue2.js";
2
2
  /* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../TextAreaV4.vue_vue_type_style_index_0_scoped_4114ef89_lang.css"; //*');
4
- const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-4114ef89"]]);
3
+ // import "../../../TextAreaV4.vue_vue_type_style_index_0_scoped_0feea75e_lang.css"; //*');
4
+ const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-0feea75e"]]);
5
5
  export {
6
- p as default
6
+ a as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../TextAreaV4.vue_vue_type_style_index_0_scoped_4114ef89_lang.css"; import { defineComponent as f, computed as b, openBlock as t, createElementBlock as r, mergeProps as c, unref as a, createBlock as d, createCommentVNode as l, createElementVNode as g } from "vue";
1
+ import "../../../TextAreaV4.vue_vue_type_style_index_0_scoped_0feea75e_lang.css"; import { defineComponent as f, computed as b, openBlock as t, createElementBlock as r, mergeProps as c, unref as a, createBlock as d, createCommentVNode as l, createElementVNode as g } from "vue";
2
2
  import v from "../../shared/FieldLabel.vue.js";
3
3
  import k from "../../shared/FieldMaxLength.vue.js";
4
4
  import T from "../../shared/FieldHelpText.vue.js";