@ironsource/shared-ui 2.1.7-test.1 → 2.1.7-test.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 (159) hide show
  1. package/Autocomplete.vue_vue_type_style_index_0_scoped_e361f9fd_lang.css +1 -0
  2. package/Chart.vue_vue_type_style_index_0_scoped_f06a4764_lang.css +1 -0
  3. package/ChartHeader.vue_vue_type_style_index_0_scoped_88d4532f_lang.css +1 -0
  4. package/ChartLegend.vue_vue_type_style_index_0_scoped_efc608f9_lang.css +1 -0
  5. package/ChartLoader.vue_vue_type_style_index_0_scoped_142c444a_lang.css +1 -0
  6. package/ChartTooltip.vue_vue_type_style_index_0_scoped_ec636f18_lang.css +1 -0
  7. package/DataGrid.vue_vue_type_style_index_0_scoped_706b324e_lang.css +1 -0
  8. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_0ce71f73_lang.css +1 -0
  9. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_98819e5a_lang.css +1 -0
  10. package/DropdownV4.vue_vue_type_style_index_0_scoped_00ccab6b_lang.css +1 -0
  11. package/EditableV4.vue_vue_type_style_index_0_scoped_e0c047b4_lang.css +1 -0
  12. package/FieldMaxLength.vue_vue_type_style_index_0_scoped_47877984_lang.css +1 -0
  13. package/IconV4.vue_vue_type_style_index_0_scoped_dc433d48_lang.css +1 -0
  14. package/IncludeExclude.vue_vue_type_style_index_0_scoped_cc2adbf5_lang.css +1 -0
  15. package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_bd6145ce_lang.css +1 -0
  16. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_82ba0e12_lang.css +1 -0
  17. package/OptionV4.vue_vue_type_style_index_0_scoped_77509f61_lang.css +1 -0
  18. package/Popover.vue_vue_type_style_index_0_scoped_c607b770_lang.css +1 -0
  19. package/PopoverV4.vue_vue_type_style_index_0_scoped_c54cd089_lang.css +1 -0
  20. package/PopoverV4.vue_vue_type_style_index_1_lang.css +1 -0
  21. package/README.md +1 -1
  22. package/SortableItem.vue_vue_type_style_index_0_scoped_9dd4d372_lang.css +1 -0
  23. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_1386ae20_lang.css +1 -0
  24. package/SortableList.vue_vue_type_style_index_0_scoped_e9cd63b8_lang.css +1 -0
  25. package/TabsV4.vue_vue_type_style_index_0_scoped_f9433b11_lang.css +1 -0
  26. package/TextAreaV4.vue_vue_type_style_index_0_scoped_4114ef89_lang.css +1 -0
  27. package/TextField.vue_vue_type_style_index_0_scoped_4d9bf5b2_lang.css +1 -0
  28. package/ThemeWrapper.vue_vue_type_style_index_0_scoped_66bd448a_lang.css +1 -0
  29. package/TreeDropdown.vue_vue_type_style_index_0_scoped_dbd80d49_lang.css +1 -0
  30. package/components/ThemeWrapper/ThemeWrapper.vue.js +2 -2
  31. package/components/ThemeWrapper/ThemeWrapper.vue2.js +5 -5
  32. package/components/appHeader/AppHeader.vue.d.ts +1 -1
  33. package/components/appHeader/index.d.ts +9 -9
  34. package/components/autocomplete/Autocomplete.vue.d.ts +5 -0
  35. package/components/autocomplete/Autocomplete.vue.js +2 -2
  36. package/components/autocomplete/Autocomplete.vue2.js +57 -45
  37. package/components/autocomplete/index.d.ts +20 -1
  38. package/components/chart/Chart.vue.js +7 -0
  39. package/components/chart/Chart.vue2.js +281 -0
  40. package/components/chart/ChartHeader.vue.js +7 -0
  41. package/components/chart/ChartHeader.vue2.js +51 -0
  42. package/components/chart/ChartLegend.vue.js +7 -0
  43. package/components/chart/ChartLegend.vue2.js +65 -0
  44. package/components/chart/ChartLoader.vue.js +25 -0
  45. package/components/chart/ChartLoader.vue2.js +0 -0
  46. package/components/chart/ChartTooltip.vue.js +7 -0
  47. package/components/chart/ChartTooltip.vue2.js +81 -0
  48. package/components/chart/composables/useChartValues.js +32 -0
  49. package/components/chart/composables/useTooltipPosition.js +22 -0
  50. package/components/chart/consts.js +21 -0
  51. package/components/chart/index.js +6 -0
  52. package/components/chart/plugins/HoverVerticalLine.js +12 -0
  53. package/components/chart/types.js +4 -0
  54. package/components/chart/utils/formatNumber.js +11 -0
  55. package/components/chart/utils/utils.js +12 -0
  56. package/components/dropdown/common/Dropdown.common.js +89 -89
  57. package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +1 -0
  58. package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
  59. package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +32 -29
  60. package/components/dropdown/v4/DropdownV4.vue.d.ts +39 -0
  61. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  62. package/components/dropdown/v4/DropdownV4.vue2.js +256 -224
  63. package/components/dropdown/v4/OptionV4.vue.d.ts +36 -2
  64. package/components/dropdown/v4/OptionV4.vue.js +2 -2
  65. package/components/dropdown/v4/OptionV4.vue2.js +99 -59
  66. package/components/dropdown/v4/TreeDropdown.vue.d.ts +21 -16
  67. package/components/dropdown/v4/TreeDropdown.vue.js +3 -3
  68. package/components/dropdown/v4/TreeDropdown.vue2.js +170 -74
  69. package/components/dropdown/v4/dropdownStoryArgs.d.ts +14 -0
  70. package/components/dropdown/v4/index.d.ts +528 -83
  71. package/components/icon/v4/IconV4.vue.d.ts +5 -0
  72. package/components/icon/v4/IconV4.vue.js +4 -4
  73. package/components/icon/v4/IconV4.vue2.js +29 -26
  74. package/components/icon/v4/index.d.ts +20 -1
  75. package/components/includeExclude/IncludeExclude.vue.js +4 -4
  76. package/components/includeExclude/IncludeExclude.vue2.js +2 -2
  77. package/components/includeExclude/IncludeExcludeDragDrop.vue.js +4 -4
  78. package/components/includeExclude/IncludeExcludeDragDrop.vue2.js +2 -2
  79. package/components/input/v4/TextField.vue.d.ts +6 -1
  80. package/components/input/v4/TextField.vue.js +3 -3
  81. package/components/input/v4/TextField.vue2.js +95 -90
  82. package/components/input/v4/index.d.ts +20 -1
  83. package/components/popover/common/Popover.common.d.ts +6 -0
  84. package/components/popover/common/Popover.common.js +17 -0
  85. package/components/popover/v3/Popover.vue.js +8 -0
  86. package/components/popover/{Popover.vue2.js → v3/Popover.vue2.js} +1 -1
  87. package/components/popover/v4/PopoverV4.vue.d.ts +73 -0
  88. package/components/popover/v4/PopoverV4.vue.js +7 -0
  89. package/components/popover/v4/PopoverV4.vue2.js +54 -0
  90. package/components/popover/v4/index.d.ts +209 -0
  91. package/components/popover/v4/index.js +6 -0
  92. package/components/shared/FieldMaxLength.vue.js +3 -3
  93. package/components/shared/FieldMaxLength.vue2.js +2 -2
  94. package/components/shared/commonTypes.d.ts +2 -0
  95. package/components/sortableList/SortableItem.vue.js +7 -0
  96. package/components/sortableList/SortableItem.vue2.js +140 -0
  97. package/components/sortableList/SortableItemLabel.vue.js +7 -0
  98. package/components/sortableList/SortableItemLabel.vue2.js +60 -0
  99. package/components/sortableList/SortableList.vue.d.ts +25 -0
  100. package/components/sortableList/SortableList.vue.js +7 -0
  101. package/components/sortableList/SortableList.vue2.js +160 -0
  102. package/components/sortableList/composables/useHoverEffect.js +19 -0
  103. package/components/sortableList/consts.js +4 -0
  104. package/components/sortableList/index.d.ts +88 -2
  105. package/components/sortableList/index.js +6 -0
  106. package/components/table/v3/Table.vue.d.ts +2 -2
  107. package/components/table/v3/index.d.ts +39 -39
  108. package/components/table/v4/DataGrid.vue.d.ts +6 -2
  109. package/components/table/v4/DataGrid.vue.js +4 -4
  110. package/components/table/v4/DataGrid.vue2.js +131 -122
  111. package/components/table/v4/DataGridRowsCounter.vue.d.ts +5 -0
  112. package/components/table/v4/DataGridRowsCounter.vue.js +3 -3
  113. package/components/table/v4/DataGridRowsCounter.vue2.js +29 -22
  114. package/components/table/v4/MultipleDataGrid.vue.d.ts +16 -3
  115. package/components/table/v4/MultipleDataGrid.vue.js +4 -4
  116. package/components/table/v4/MultipleDataGrid.vue2.js +114 -66
  117. package/components/table/v4/index.d.ts +101 -75
  118. package/components/table-cells/common/Editable.common.js +37 -26
  119. package/components/table-cells/common/EditableContext.d.ts +1 -0
  120. package/components/table-cells/v4/EditableV4.vue.d.ts +5 -0
  121. package/components/table-cells/v4/EditableV4.vue.js +5 -5
  122. package/components/table-cells/v4/EditableV4.vue2.js +18 -17
  123. package/components/table-cells/v4/index.d.ts +20 -1
  124. package/components/tabs/v4/TabsV4.vue.js +4 -4
  125. package/components/tabs/v4/TabsV4.vue2.js +37 -40
  126. package/components/textArea/v4/TextAreaV4.vue.d.ts +6 -1
  127. package/components/textArea/v4/TextAreaV4.vue.js +3 -3
  128. package/components/textArea/v4/TextAreaV4.vue2.js +18 -12
  129. package/components/textArea/v4/index.d.ts +9 -0
  130. package/design-foundation.stories/icons/iconsData.d.ts +6 -2
  131. package/index.d.ts +9608 -7356
  132. package/index.js +136 -131
  133. package/mocks/options.d.ts +12 -0
  134. package/package.json +15 -3
  135. package/testids/index.d.ts +5 -0
  136. package/testids/index.js +27 -25
  137. package/utils/search.js +4 -0
  138. package/Autocomplete.vue_vue_type_style_index_0_scoped_a7bfd237_lang.css +0 -1
  139. package/DataGrid.vue_vue_type_style_index_0_scoped_63aaf3be_lang.css +0 -1
  140. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_06751538_lang.css +0 -1
  141. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_0345d6b1_lang.css +0 -1
  142. package/DropdownV4.vue_vue_type_style_index_0_scoped_7af4f288_lang.css +0 -1
  143. package/EditableV4.vue_vue_type_style_index_0_scoped_31bfb722_lang.css +0 -1
  144. package/FieldMaxLength.vue_vue_type_style_index_0_scoped_f3c4001a_lang.css +0 -1
  145. package/IconV4.vue_vue_type_style_index_0_scoped_1eea7671_lang.css +0 -1
  146. package/IncludeExclude.vue_vue_type_style_index_0_scoped_fb054d88_lang.css +0 -1
  147. package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_5764fd61_lang.css +0 -1
  148. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_260b9cdc_lang.css +0 -1
  149. package/OptionV4.vue_vue_type_style_index_0_scoped_9db0f796_lang.css +0 -1
  150. package/Popover.vue_vue_type_style_index_0_scoped_25eb53db_lang.css +0 -1
  151. package/TabsV4.vue_vue_type_style_index_0_scoped_bab40cfe_lang.css +0 -1
  152. package/TextAreaV4.vue_vue_type_style_index_0_scoped_f3b2c01d_lang.css +0 -1
  153. package/TextField.vue_vue_type_style_index_0_scoped_a6457440_lang.css +0 -1
  154. package/ThemeWrapper.vue_vue_type_style_index_0_scoped_b62ee695_lang.css +0 -1
  155. package/TreeDropdown.vue_vue_type_style_index_0_scoped_142eab98_lang.css +0 -1
  156. package/components/popover/Popover.vue.js +0 -8
  157. /package/components/popover/{Popover.vue.d.ts → v3/Popover.vue.d.ts} +0 -0
  158. /package/components/popover/{index.d.ts → v3/index.d.ts} +0 -0
  159. /package/components/popover/{index.js → v3/index.js} +0 -0
@@ -1,22 +1,22 @@
1
- import "../../../DataGrid.vue_vue_type_style_index_0_scoped_63aaf3be_lang.css"; import { defineComponent as le, useCssVars as ie, unref as t, useSlots as de, computed as v, openBlock as l, createElementBlock as d, createElementVNode as u, normalizeStyle as C, normalizeClass as f, renderSlot as c, createVNode as h, withCtx as T, createTextVNode as E, toDisplayString as w, isRef as oe, createCommentVNode as r, Fragment as B, renderList as I, createBlock as z, mergeProps as ne } from "vue";
2
- import p from "../../typography/v4/Typography.vue.js";
3
- import ce from "../../skeleton/v4/SkeletonV4.vue.js";
4
- import re from "../../emptyState/v4/EmptyStateV4.vue.js";
1
+ import "../../../DataGrid.vue_vue_type_style_index_0_scoped_706b324e_lang.css"; import { defineComponent as ie, useCssVars as de, unref as t, useSlots as oe, computed as v, openBlock as l, createElementBlock as i, createElementVNode as u, normalizeStyle as T, normalizeClass as f, renderSlot as c, createVNode as h, withCtx as E, createTextVNode as w, toDisplayString as I, isRef as ne, createCommentVNode as r, Fragment as B, renderList as p, createBlock as z, mergeProps as ce } from "vue";
2
+ import A from "../../typography/v4/Typography.vue.js";
3
+ import re from "../../skeleton/v4/SkeletonV4.vue.js";
4
+ import ue from "../../emptyState/v4/EmptyStateV4.vue.js";
5
5
  import U from "../../checkbox/v4/CheckboxV4.vue.js";
6
6
  import { TableTestIdModifiers as S } from "../../../testids/index.js";
7
- import { tableCommon as ue } from "../common/Table.common.js";
8
- import he from "./SortIcon.vue.js";
9
- import ye from "./HelpIcon.vue.js";
10
- import fe from "./ExpandRowToggle.vue.js";
11
- import Se from "../../search/v4/SearchV4.vue.js";
12
- import { useVModel as ke } from "@vueuse/core";
13
- const me = ["data-testid"], ge = ["data-testid"], ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = { class: "search-wrapper" }, xe = ["data-testid"], Ce = ["data-testid"], Te = {
7
+ import { tableCommon as he } from "../common/Table.common.js";
8
+ import ye from "./SortIcon.vue.js";
9
+ import fe from "./HelpIcon.vue.js";
10
+ import Se from "./ExpandRowToggle.vue.js";
11
+ import ke from "../../search/v4/SearchV4.vue.js";
12
+ import { useVModel as ge } from "@vueuse/core";
13
+ const me = ["data-testid"], ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["data-testid"], xe = { class: "search-wrapper" }, Ce = ["data-testid"], Te = ["data-testid"], Ee = {
14
14
  key: 0,
15
15
  class: "checkbox-cell"
16
- }, Ee = {
16
+ }, we = {
17
17
  key: 1,
18
18
  class: "expand-toggle-cell"
19
- }, we = ["onClick"], Be = { class: "table-head-container" }, Ie = ["data-testid"], pe = ["onMouseenter", "onClick"], Ae = {
19
+ }, Ie = ["onClick"], Be = { class: "table-head-container" }, pe = ["data-testid"], Ae = ["onMouseenter", "onClick"], Le = {
20
20
  key: 0,
21
21
  class: "checkbox-cell"
22
22
  }, Me = {
@@ -25,10 +25,13 @@ const me = ["data-testid"], ge = ["data-testid"], ve = ["data-testid"], be = ["d
25
25
  }, Pe = {
26
26
  key: 2,
27
27
  class: "expanded-row"
28
- }, Ve = { key: 1 }, He = {
28
+ }, Ve = {
29
+ key: 3,
30
+ class: "floating-row"
31
+ }, He = { key: 1 }, Ne = {
29
32
  key: 0,
30
33
  class: "table-footer"
31
- }, qe = /* @__PURE__ */ le({
34
+ }, Ke = /* @__PURE__ */ ie({
32
35
  __name: "DataGrid",
33
36
  props: {
34
37
  title: { default: "" },
@@ -37,8 +40,8 @@ const me = ["data-testid"], ge = ["data-testid"], ve = ["data-testid"], be = ["d
37
40
  sections: { default: null },
38
41
  sort: { default: null },
39
42
  selection: { default: null },
40
- getRowId: { type: Function, default: (s, m) => m },
41
- selectedMatcher: { type: Function, default: (s, m) => s === m },
43
+ getRowId: { type: Function, default: (s, g) => g },
44
+ selectedMatcher: { type: Function, default: (s, g) => s === g },
42
45
  isSticky: { type: Boolean, default: !0 },
43
46
  isStickyHeader: { type: Boolean, default: !1 },
44
47
  isLoading: { type: Boolean, default: !1 },
@@ -58,75 +61,75 @@ const me = ["data-testid"], ge = ["data-testid"], ve = ["data-testid"], be = ["d
58
61
  zIndexBase: { default: 100 }
59
62
  },
60
63
  emits: ["update:sort", "update:search", "update:selection", "onScroll", "onClearSearch", "saveRow", "loadMore", "selectAll", "selectRow", "clickRow"],
61
- setup(s, { expose: m, emit: y }) {
64
+ setup(s, { expose: g, emit: y }) {
62
65
  const o = s;
63
- ie((a) => ({
64
- "74f5644c": s.zIndexBase,
65
- "54c9adc0": t(K),
66
- "10e150b9": t(H),
67
- "06b2e101": t(J)
66
+ de((a) => ({
67
+ "6e46e9f4": s.zIndexBase,
68
+ bd8b5530: t(K),
69
+ "03c6ae61": t(V),
70
+ "1c8cc6ae": t(J)
68
71
  }));
69
- const b = de(), {
70
- list: V,
72
+ const b = oe(), {
73
+ list: P,
71
74
  containerProps: G,
72
75
  wrapperProps: Y,
73
- activeRow: A,
74
- gridColumnTemplate: H,
76
+ activeRow: $,
77
+ gridColumnTemplate: V,
75
78
  toggleSortOrder: Q,
76
- columnsStickyPositions: L,
79
+ columnsStickyPositions: H,
77
80
  hasSearchSlot: W,
78
81
  containerStyle: j,
79
82
  onScroll: N,
80
83
  savingRows: F,
81
- hasExpandSlot: $,
84
+ hasExpandSlot: R,
82
85
  toggleExpandRow: q,
83
86
  cssRowHeight: J,
84
87
  cssExpandGridCol: K,
85
- isRowExpanded: M,
88
+ isRowExpanded: L,
86
89
  hasCheckboxes: O,
87
90
  activeMenuRow: X,
88
91
  scrollTo: Z
89
- } = ue(o, y), D = v(() => !!b.footer), g = ke(o, "search", y), _ = v(() => o.selection.length || 0), P = v(() => {
90
- const a = o.rows.map((i, e) => o.getRowId(i, e));
91
- return a.length && a.every((i) => R(i));
92
- }), R = (a) => o.selection.findIndex((i) => o.selectedMatcher(a, i)) !== -1, ee = (a) => {
93
- R(a) ? (x(
92
+ } = he(o, y), D = v(() => !!b.footer), m = ge(o, "search", y), _ = v(() => o.selection.length || 0), M = v(() => {
93
+ const a = o.rows.map((d, e) => o.getRowId(d, e));
94
+ return a.length && a.every((d) => x(d));
95
+ }), x = (a) => o.selection.findIndex((d) => o.selectedMatcher(a, d)) !== -1, ee = (a) => {
96
+ x(a) ? (C(
94
97
  o.selection.filter(
95
- (i) => !o.selectedMatcher(a, i)
98
+ (d) => !o.selectedMatcher(a, d)
96
99
  )
97
- ), y("selectRow", !1)) : (x([...o.selection, a]), y("selectRow", !0));
100
+ ), y("selectRow", !1)) : (C([...o.selection, a]), y("selectRow", !0));
98
101
  }, te = () => {
99
- if (P.value)
100
- x([]), y("selectAll", !1);
102
+ if (M.value)
103
+ C([]), y("selectAll", !1);
101
104
  else {
102
- const a = o.rows.map((i, e) => o.getRowId(i, e)).filter((i) => !R(i));
103
- x([...o.selection, ...a]), y("selectAll", !0);
105
+ const a = o.rows.map((d, e) => o.getRowId(d, e)).filter((d) => !x(d));
106
+ C([...o.selection, ...a]), y("selectAll", !0);
104
107
  }
105
- }, x = (a) => {
108
+ }, C = (a) => {
106
109
  y("update:selection", a);
107
- }, se = v(
108
- () => o.emptyStateVariant ?? (g.value ? "no-results" : "no-data")
109
- ), ae = v(
110
- () => o.emptyStateSubtitle ? o.emptyStateSubtitle : g.value ? "Search again with different filters" : void 0
110
+ }, se = (a) => !o.isLoading && $.value === a, ae = v(
111
+ () => o.emptyStateVariant ?? (m.value ? "no-results" : "no-data")
112
+ ), le = v(
113
+ () => o.emptyStateSubtitle ? o.emptyStateSubtitle : m.value ? "Search again with different filters" : void 0
111
114
  );
112
- return m({
115
+ return g({
113
116
  scrollTo: Z
114
- }), (a, i) => (l(), d("div", {
117
+ }), (a, d) => (l(), i("div", {
115
118
  class: "table-container",
116
119
  "data-testid": `${s.testId}-${t(S).CONTAINER}`,
117
- onMouseleave: i[3] || (i[3] = (e) => A.value = null)
120
+ onMouseleave: d[3] || (d[3] = (e) => $.value = null)
118
121
  }, [
119
122
  u("table", {
120
123
  ref: t(G).ref,
121
- style: C(t(j)),
124
+ style: T(t(j)),
122
125
  class: f({
123
126
  hasFooter: t(D)
124
127
  }),
125
128
  "data-testid": `${s.testId}-${t(S).TABLE}`,
126
- onScrollPassive: i[2] || (i[2] = //@ts-ignore
129
+ onScrollPassive: d[2] || (d[2] = //@ts-ignore
127
130
  (...e) => t(N) && t(N)(...e))
128
131
  }, [
129
- s.title || t(b).title || t(W) || t(b)["table-header-actions"] ? (l(), d("div", {
132
+ s.title || t(b).title || t(W) || t(b)["table-header-actions"] ? (l(), i("div", {
130
133
  key: 0,
131
134
  class: f(["table-header", { isStickyHeader: s.isStickyHeader }]),
132
135
  "data-testid": `${s.testId}-${t(S).HEADER}`
@@ -136,39 +139,39 @@ const me = ["data-testid"], ge = ["data-testid"], ve = ["data-testid"], be = ["d
136
139
  "data-testid": `${s.testId}-${t(S).TITLE}`
137
140
  }, [
138
141
  c(a.$slots, "title", {}, () => [
139
- h(t(p), { variant: "h3" }, {
140
- default: T(() => [
141
- E(w(s.title), 1)
142
+ h(t(A), { variant: "h3" }, {
143
+ default: E(() => [
144
+ w(I(s.title), 1)
142
145
  ]),
143
146
  _: 1
144
147
  })
145
- ], !0)
146
- ], 8, be),
148
+ ])
149
+ ], 8, $e),
147
150
  u("div", {
148
151
  class: "table-header-right",
149
152
  "data-testid": `${s.testId}-${t(S).HEADER_RIGHT}`
150
153
  }, [
151
154
  s.showSearch ? c(a.$slots, "search", { key: 0 }, () => [
152
- u("div", Re, [
153
- h(t(Se), {
154
- modelValue: t(g),
155
- "onUpdate:modelValue": i[0] || (i[0] = (e) => oe(g) ? g.value = e : null),
155
+ u("div", xe, [
156
+ h(t(ke), {
157
+ modelValue: t(m),
158
+ "onUpdate:modelValue": d[0] || (d[0] = (e) => ne(m) ? m.value = e : null),
156
159
  placeholder: s.searchPlaceholder,
157
160
  "auto-focus": s.searchAutoFocus,
158
161
  "test-id": s.testId,
159
- onOnClear: i[1] || (i[1] = (e) => y("onClearSearch"))
162
+ onOnClear: d[1] || (d[1] = (e) => y("onClearSearch"))
160
163
  }, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id"])
161
164
  ])
162
- ], !0) : r("", !0)
163
- ], 8, $e),
164
- t(b)["table-header-actions"] ? (l(), d("div", {
165
+ ]) : r("", !0)
166
+ ], 8, Re),
167
+ t(b)["table-header-actions"] ? (l(), i("div", {
165
168
  key: 0,
166
169
  class: "table-header-actions",
167
170
  "data-testid": `${s.testId}-${t(S).ACTIONS}`
168
171
  }, [
169
- c(a.$slots, "table-header-actions", {}, void 0, !0)
170
- ], 8, xe)) : r("", !0)
171
- ], 10, ve)) : r("", !0),
172
+ c(a.$slots, "table-header-actions")
173
+ ], 8, Ce)) : r("", !0)
174
+ ], 10, be)) : r("", !0),
172
175
  u("thead", {
173
176
  class: f({ sticky: s.isSticky, isStickyHeader: s.isStickyHeader })
174
177
  }, [
@@ -176,38 +179,38 @@ const me = ["data-testid"], ge = ["data-testid"], ve = ["data-testid"], be = ["d
176
179
  class: "sections",
177
180
  "data-testid": `${s.testId}-${t(S).SECTIONS}`
178
181
  }, [
179
- (l(!0), d(B, null, I(s.sections, (e) => (l(), d("div", {
182
+ (l(!0), i(B, null, p(s.sections, (e) => (l(), i("div", {
180
183
  key: e.id,
181
184
  class: f(["section-container", { sticky: e.isSticky }])
182
185
  }, [
183
186
  c(a.$slots, `section-${e.id}`, {}, () => [
184
187
  u("div", {
185
- style: C({ width: e.width + "px" }),
188
+ style: T({ width: e.width + "px" }),
186
189
  class: f({ section: !0 })
187
190
  }, [
188
- h(t(p), { variant: "body2" }, {
189
- default: T(() => [
190
- E(w(e.title), 1)
191
+ h(t(A), { variant: "body2" }, {
192
+ default: E(() => [
193
+ w(I(e.title), 1)
191
194
  ]),
192
195
  _: 2
193
196
  }, 1024)
194
197
  ], 4)
195
- ], !0)
198
+ ])
196
199
  ], 2))), 128))
197
- ], 8, Ce),
200
+ ], 8, Te),
198
201
  u("tr", null, [
199
- t(O) ? (l(), d("th", Te, [
202
+ t(O) ? (l(), i("th", Ee, [
200
203
  c(a.$slots, "select-all-checkbox", {}, () => [
201
204
  h(t(U), {
202
205
  disabled: s.isLoading,
203
- "is-checked": t(P),
204
- "is-indeterminate": !t(P) && t(_) > 0,
206
+ "is-checked": t(M),
207
+ "is-indeterminate": !t(M) && t(_) > 0,
205
208
  "onUpdate:isChecked": te
206
209
  }, null, 8, ["disabled", "is-checked", "is-indeterminate"])
207
- ], !0)
210
+ ])
208
211
  ])) : r("", !0),
209
- t($) ? (l(), d("th", Ee)) : r("", !0),
210
- (l(!0), d(B, null, I(s.columns, (e) => (l(), d("th", {
212
+ t(R) ? (l(), i("th", we)) : r("", !0),
213
+ (l(!0), i(B, null, p(s.columns, (e) => (l(), i("th", {
211
214
  key: e.id,
212
215
  class: f({
213
216
  sticky: e.isSticky,
@@ -217,61 +220,61 @@ const me = ["data-testid"], ge = ["data-testid"], ve = ["data-testid"], be = ["d
217
220
  isSortable: e.isSortable,
218
221
  [`column-${e.id}`]: !0
219
222
  }),
220
- style: C(e.isSticky ? t(L)[e.id] : null),
223
+ style: T(e.isSticky ? t(H)[e.id] : null),
221
224
  onClick: (k) => e.isSortable ? t(Q)(e) : null
222
225
  }, [
223
226
  u("div", Be, [
224
227
  c(a.$slots, `header-${e.id}`, { column: e }, () => [
225
- h(t(p), { variant: "tableLabel" }, {
226
- default: T(() => [
227
- E(w(e.title), 1)
228
+ h(t(A), { variant: "tableLabel" }, {
229
+ default: E(() => [
230
+ w(I(e.title), 1)
228
231
  ]),
229
232
  _: 2
230
233
  }, 1024)
231
- ], !0),
232
- e.helpText ? (l(), z(ye, {
234
+ ]),
235
+ e.helpText ? (l(), z(fe, {
233
236
  key: 0,
234
237
  "hover-help-text": e.helpText,
235
238
  "hover-help-text-placement": e.helpTextPlacement
236
239
  }, null, 8, ["hover-help-text", "hover-help-text-placement"])) : r("", !0),
237
- e.isSortable && e.id === s.sort?.sortBy ? (l(), z(he, {
240
+ e.isSortable && e.id === s.sort?.sortBy ? (l(), z(ye, {
238
241
  key: 1,
239
242
  "sort-order": s.sort.sortOrder
240
243
  }, null, 8, ["sort-order"])) : r("", !0)
241
244
  ])
242
- ], 14, we))), 128))
245
+ ], 14, Ie))), 128))
243
246
  ])
244
247
  ], 2),
245
248
  u("tbody", null, [
246
- t(V).length > 0 ? (l(), d("div", ne({
249
+ t(P).length > 0 ? (l(), i("div", ce({
247
250
  key: 0,
248
251
  class: "table-body-wrapper",
249
252
  "data-testid": `${s.testId}-${t(S).BODY_WRAPPER}`
250
253
  }, t(Y)), [
251
- (l(!0), d(B, null, I(t(V), (e) => (l(), d("tr", {
254
+ (l(!0), i(B, null, p(t(P), (e) => (l(), i("tr", {
252
255
  key: e.index,
253
256
  class: f(["table-row", {
254
257
  loading: s.isLoading || s.isLoading && !e.data || t(F).includes(e.index),
255
- active: t(A) === e.index,
258
+ active: t($) === e.index,
256
259
  activeMenu: t(X) === e.index,
257
- expanded: t($) && t(M)(e.index)
260
+ expanded: t(R) && t(L)(e.index)
258
261
  }]),
259
- onMouseenter: (k) => A.value = e.index,
262
+ onMouseenter: (k) => $.value = e.index,
260
263
  onClick: (k) => y("clickRow", e.index)
261
264
  }, [
262
- t(O) ? (l(), d("td", Ae, [
265
+ t(O) ? (l(), i("td", Le, [
263
266
  h(t(U), {
264
- "is-checked": R(s.getRowId(e.data, e.index)),
267
+ "is-checked": x(s.getRowId(e.data, e.index)),
265
268
  "onUpdate:isChecked": (k) => ee(s.getRowId(e.data, e.index))
266
269
  }, null, 8, ["is-checked", "onUpdate:isChecked"])
267
270
  ])) : r("", !0),
268
- t($) ? (l(), d("td", Me, [
269
- h(fe, {
270
- expanded: t(M)(e.index),
271
+ t(R) ? (l(), i("td", Me, [
272
+ h(Se, {
273
+ expanded: t(L)(e.index),
271
274
  onClick: (k) => t(q)(e.index, k)
272
275
  }, null, 8, ["expanded", "onClick"])
273
276
  ])) : r("", !0),
274
- (l(!0), d(B, null, I(s.columns, (k, n) => (l(), d("td", {
277
+ (l(!0), i(B, null, p(s.columns, (k, n) => (l(), i("td", {
275
278
  key: n,
276
279
  class: f({
277
280
  sticky: s.columns[n].isSticky,
@@ -280,11 +283,11 @@ const me = ["data-testid"], ge = ["data-testid"], ve = ["data-testid"], be = ["d
280
283
  isTextRight: s.columns[n].isTextRight,
281
284
  [`column-${s.columns[n].id}`]: !0
282
285
  }),
283
- style: C(
284
- s.columns[n].isSticky ? t(L)[s.columns[n].id] : null
286
+ style: T(
287
+ s.columns[n].isSticky ? t(H)[s.columns[n].id] : null
285
288
  )
286
289
  }, [
287
- !s.isLoading || s.isLoading && e.data[n] ? (l(), d("div", {
290
+ !s.isLoading || s.isLoading && e.data[n] ? (l(), i("div", {
288
291
  key: 0,
289
292
  class: f(["table-cell", { last: n === e.data.length - 1 }])
290
293
  }, [
@@ -295,43 +298,49 @@ const me = ["data-testid"], ge = ["data-testid"], ve = ["data-testid"], be = ["d
295
298
  row: e,
296
299
  rowIndex: e.index
297
300
  }, () => [
298
- h(t(p), { variant: "body1" }, {
299
- default: T(() => [
300
- E(w(e.data[n]), 1)
301
+ h(t(A), { variant: "body1" }, {
302
+ default: E(() => [
303
+ w(I(e.data[n]), 1)
301
304
  ]),
302
305
  _: 2
303
306
  }, 1024)
304
- ], !0)
307
+ ])
305
308
  ], 2)) : c(a.$slots, "loader", { key: 1 }, () => [
306
- h(t(ce), { round: "" })
307
- ], !0)
309
+ h(t(re), { round: "" })
310
+ ])
308
311
  ], 6))), 128)),
309
- t($) && t(M)(e.index) ? (l(), d("div", Pe, [
312
+ t(R) && t(L)(e.index) ? (l(), i("div", Pe, [
310
313
  c(a.$slots, "expanded", {
311
314
  row: e,
312
- gridColumnTemplate: t(H)
313
- }, void 0, !0)
315
+ gridColumnTemplate: t(V)
316
+ })
317
+ ])) : r("", !0),
318
+ se(e.index) ? (l(), i("div", Ve, [
319
+ c(a.$slots, "floating-row", {
320
+ row: e,
321
+ rowIndex: e.index
322
+ })
314
323
  ])) : r("", !0)
315
- ], 42, pe))), 128))
316
- ], 16, Ie)) : (l(), d("div", Ve, [
324
+ ], 42, Ae))), 128))
325
+ ], 16, pe)) : (l(), i("div", He, [
317
326
  c(a.$slots, "empty-state", {}, () => [
318
- h(t(re), {
327
+ h(t(ue), {
319
328
  class: "empty-state",
320
329
  title: s.emptyStateTitle,
321
- subtitle: t(ae),
322
- variant: t(se),
330
+ subtitle: t(le),
331
+ variant: t(ae),
323
332
  "test-id": `${s.testId}-${t(S).EMPTY_STATE}`
324
333
  }, null, 8, ["title", "subtitle", "variant", "test-id"])
325
- ], !0)
334
+ ])
326
335
  ]))
327
336
  ])
328
- ], 46, ge),
329
- t(D) ? (l(), d("div", He, [
330
- c(a.$slots, "footer", {}, void 0, !0)
337
+ ], 46, ve),
338
+ t(D) ? (l(), i("div", Ne, [
339
+ c(a.$slots, "footer")
331
340
  ])) : r("", !0)
332
341
  ], 40, me));
333
342
  }
334
343
  });
335
344
  export {
336
- qe as default
345
+ Ke as default
337
346
  };
@@ -4,25 +4,30 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
4
4
  displayingText?: string;
5
5
  outOfText?: string;
6
6
  totalText?: string;
7
+ testId?: string;
7
8
  }>, {
8
9
  count: number;
9
10
  totalCount: number;
10
11
  displayingText: string;
11
12
  outOfText: string;
12
13
  totalText: string;
14
+ testId: string;
13
15
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
14
16
  count?: number;
15
17
  totalCount?: number;
16
18
  displayingText?: string;
17
19
  outOfText?: string;
18
20
  totalText?: string;
21
+ testId?: string;
19
22
  }>, {
20
23
  count: number;
21
24
  totalCount: number;
22
25
  displayingText: string;
23
26
  outOfText: string;
24
27
  totalText: string;
28
+ testId: string;
25
29
  }>>>, {
30
+ testId: string;
26
31
  count: number;
27
32
  totalCount: number;
28
33
  displayingText: string;
@@ -1,7 +1,7 @@
1
1
  import o from "./DataGridRowsCounter.vue2.js";
2
- /* empty css */import t from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../DataGridRowsCounter.vue_vue_type_style_index_0_scoped_06751538_lang.css"; //*');
4
- const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-06751538"]]);
2
+ /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../DataGridRowsCounter.vue_vue_type_style_index_0_scoped_0ce71f73_lang.css"; //*');
4
+ const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-0ce71f73"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -1,45 +1,52 @@
1
- import "../../../DataGridRowsCounter.vue_vue_type_style_index_0_scoped_06751538_lang.css"; import { defineComponent as r, openBlock as i, createElementBlock as d, createVNode as o, unref as n, withCtx as l, createTextVNode as e, toDisplayString as a } from "vue";
2
- import u from "../../typography/v4/Typography.vue.js";
3
- const s = { class: "data-grid-rows-counter" }, m = /* @__PURE__ */ r({
1
+ import "../../../DataGridRowsCounter.vue_vue_type_style_index_0_scoped_0ce71f73_lang.css"; import { defineComponent as l, openBlock as u, createElementBlock as r, unref as e, createVNode as o, withCtx as i, createTextVNode as a, toDisplayString as d } from "vue";
2
+ import s from "../../typography/v4/Typography.vue.js";
3
+ import { RowsCounterTestIdModifiers as n } from "../../../testids/index.js";
4
+ const f = ["data-testid"], C = /* @__PURE__ */ l({
4
5
  __name: "DataGridRowsCounter",
5
6
  props: {
6
7
  count: { default: 0 },
7
8
  totalCount: { default: 0 },
8
9
  displayingText: { default: "Displaying" },
9
10
  outOfText: { default: "out of" },
10
- totalText: { default: "total rows" }
11
+ totalText: { default: "total rows" },
12
+ testId: { default: "" }
11
13
  },
12
14
  setup(t) {
13
- return (c, f) => (i(), d("div", s, [
14
- o(n(u), { variant: "body1" }, {
15
- default: l(() => [
16
- e(a(t.displayingText) + " ", 1),
17
- o(n(u), {
15
+ return (c, T) => (u(), r("div", {
16
+ class: "data-grid-rows-counter",
17
+ "data-testid": `${t.testId}-${e(n).CONTAINER}`
18
+ }, [
19
+ o(e(s), { variant: "body1" }, {
20
+ default: i(() => [
21
+ a(d(t.displayingText) + " ", 1),
22
+ o(e(s), {
18
23
  class: "text-strong",
19
- variant: "subtitle1"
24
+ variant: "subtitle1",
25
+ "data-testid": `${t.testId}-${e(n).COUNT}`
20
26
  }, {
21
- default: l(() => [
22
- e(a(t.count), 1)
27
+ default: i(() => [
28
+ a(d(t.count), 1)
23
29
  ]),
24
30
  _: 1
25
- }),
26
- e(" " + a(t.outOfText) + " ", 1),
27
- o(n(u), {
31
+ }, 8, ["data-testid"]),
32
+ a(" " + d(t.outOfText) + " ", 1),
33
+ o(e(s), {
28
34
  class: "text-strong",
29
- variant: "subtitle1"
35
+ variant: "subtitle1",
36
+ "data-testid": `${t.testId}-${e(n).TOTAL}`
30
37
  }, {
31
- default: l(() => [
32
- e(a(t.totalCount), 1)
38
+ default: i(() => [
39
+ a(d(t.totalCount), 1)
33
40
  ]),
34
41
  _: 1
35
- }),
36
- e(" " + a(t.totalText), 1)
42
+ }, 8, ["data-testid"]),
43
+ a(" " + d(t.totalText), 1)
37
44
  ]),
38
45
  _: 1
39
46
  })
40
- ]));
47
+ ], 8, f));
41
48
  }
42
49
  });
43
50
  export {
44
- m as default
51
+ C as default
45
52
  };
@@ -93,10 +93,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
93
93
  searchPlaceholder: string;
94
94
  count: number;
95
95
  showSearch: boolean;
96
- isSticky: boolean;
96
+ loadingRowCount: number;
97
97
  emptyStateTitle: string;
98
+ isSticky: boolean;
98
99
  emptyStateSubtitle: string;
99
- loadingRowCount: number;
100
100
  emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
101
101
  zIndexBase: number;
102
102
  totalCount: number;
@@ -106,12 +106,25 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
106
106
  tablesSettings: TableSettings[];
107
107
  loadingAndEmptyStatesColumns: Column[];
108
108
  }>, Partial<Record<string, (_: {
109
+ column: Column;
110
+ }) => any>> & Partial<Record<string, (_: {
109
111
  cell: any;
110
112
  isLoading: any;
111
113
  cellIndex: any;
112
114
  row: any;
113
115
  rowIndex: any;
114
- }) => any>>>;
116
+ }) => any>> & Partial<Record<string, (_: {
117
+ column: Column;
118
+ }) => any>> & {
119
+ title?(_: {}): any;
120
+ search?(_: {}): any;
121
+ "table-header-actions"?(_: {}): any;
122
+ "floating-row"?(_: {
123
+ row: import("@vueuse/core").UseVirtualListItem<import("@is-ssp/table/common/Table.types").Row>;
124
+ rowIndex: number;
125
+ }): any;
126
+ "empty-state"?(_: {}): any;
127
+ }>;
115
128
  export default _default;
116
129
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
117
130
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,7 +1,7 @@
1
- import o from "./MultipleDataGrid.vue2.js";
2
- /* empty css */import t from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../MultipleDataGrid.vue_vue_type_style_index_0_scoped_260b9cdc_lang.css"; //*');
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-260b9cdc"]]);
1
+ import e from "./MultipleDataGrid.vue2.js";
2
+ /* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../MultipleDataGrid.vue_vue_type_style_index_0_scoped_82ba0e12_lang.css"; //*');
4
+ const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-82ba0e12"]]);
5
5
  export {
6
6
  p as default
7
7
  };