@ironsource/shared-ui 2.2.0-test.2 → 2.2.0-test.20

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 (129) hide show
  1. package/AppHeader.vue_vue_type_style_index_0_scoped_18bc6c0d_lang.css +1 -0
  2. package/ButtonV4.vue_vue_type_style_index_0_scoped_a59af1ad_lang.css +1 -0
  3. package/CalendarMonth.vue_vue_type_style_index_0_scoped_a44769fd_lang.css +1 -0
  4. package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_6eae923a_lang.css +1 -0
  5. package/Chart.vue_vue_type_style_index_0_scoped_3ed9f4bc_lang.css +1 -0
  6. package/ChartHeader.vue_vue_type_style_index_0_scoped_3a061c08_lang.css +1 -0
  7. package/ChartPlane.vue_vue_type_style_index_0_scoped_6de5cddb_lang.css +1 -0
  8. package/ColumnPicker.vue_vue_type_style_index_0_scoped_d59af062_lang.css +1 -0
  9. package/DataGrid.vue_vue_type_style_index_0_scoped_0967498f_lang.css +1 -0
  10. package/DateRange.vue_vue_type_style_index_0_scoped_25d03907_lang.css +1 -0
  11. package/DateRangeV4.vue_vue_type_style_index_0_scoped_f8826716_lang.css +1 -0
  12. package/IconV4.vue_vue_type_style_index_0_scoped_6683c5b5_lang.css +1 -0
  13. package/InlineCopy.vue_vue_type_style_index_0_scoped_9fa1921a_lang.css +1 -0
  14. package/SectionDropdown.vue_vue_type_style_index_0_scoped_65877e48_lang.css +1 -0
  15. package/SnackbarV4.vue_vue_type_style_index_0_scoped_35c79635_lang.css +1 -0
  16. package/SwitchV4.vue_vue_type_style_index_0_scoped_b71a806e_lang.css +1 -0
  17. package/Tag.vue_vue_type_style_index_0_scoped_78f19cb0_lang.css +1 -0
  18. package/ThemeWrapper.vue_vue_type_style_index_1_lang.css +1 -1
  19. package/TooltipV4.vue_vue_type_style_index_0_scoped_a8aebfee_lang.css +1 -0
  20. package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
  21. package/components/appHeader/AppHeader.vue.js +3 -3
  22. package/components/appHeader/AppHeader.vue2.js +43 -44
  23. package/components/button/v3/Button.vue.d.ts +6 -6
  24. package/components/button/v3/index.d.ts +14 -14
  25. package/components/button/v4/ButtonV4.vue.js +3 -3
  26. package/components/button/v4/ButtonV4.vue2.js +1 -1
  27. package/components/chart/Chart.vue.d.ts +5 -0
  28. package/components/chart/Chart.vue.js +3 -3
  29. package/components/chart/Chart.vue2.js +14 -12
  30. package/components/chart/ChartHeader.vue.d.ts +5 -0
  31. package/components/chart/ChartHeader.vue.js +3 -3
  32. package/components/chart/ChartHeader.vue2.js +73 -49
  33. package/components/chart/ChartPlane.vue.d.ts +5 -0
  34. package/components/chart/ChartPlane.vue.js +3 -3
  35. package/components/chart/ChartPlane.vue2.js +33 -31
  36. package/components/chart/ChartStoryArgs.d.ts +6 -0
  37. package/components/chart/index.d.ts +20 -1
  38. package/components/columnConfigurator/SectionDropdown.vue.js +3 -3
  39. package/components/columnConfigurator/SectionDropdown.vue2.js +6 -7
  40. package/components/columnPicker/ColumnPicker.vue.d.ts +2 -0
  41. package/components/columnPicker/ColumnPicker.vue.js +3 -3
  42. package/components/columnPicker/ColumnPicker.vue2.js +173 -153
  43. package/components/columnPicker/index.d.ts +7 -1
  44. package/components/dateRange/common/CalendarMonth.common.js +46 -41
  45. package/components/dateRange/common/DateRange.common.d.ts +1 -0
  46. package/components/dateRange/common/DateRange.common.js +39 -38
  47. package/components/dateRange/common/consts.common.d.ts +5 -0
  48. package/components/dateRange/common/consts.common.js +9 -0
  49. package/components/dateRange/v3/CalendarMonth.vue.d.ts +5 -0
  50. package/components/dateRange/v3/CalendarMonth.vue.js +3 -3
  51. package/components/dateRange/v3/CalendarMonth.vue2.js +6 -5
  52. package/components/dateRange/v3/DateRange.vue.d.ts +8 -3
  53. package/components/dateRange/v3/DateRange.vue.js +2 -2
  54. package/components/dateRange/v3/DateRange.vue2.js +2 -1
  55. package/components/dateRange/v3/DateRangePicker.vue.d.ts +3 -3
  56. package/components/dateRange/v3/index.d.ts +27 -8
  57. package/components/dateRange/v4/CalendarMonthV4.vue.d.ts +5 -0
  58. package/components/dateRange/v4/CalendarMonthV4.vue.js +4 -4
  59. package/components/dateRange/v4/CalendarMonthV4.vue2.js +12 -11
  60. package/components/dateRange/v4/DateRangePickerV4.vue.d.ts +3 -3
  61. package/components/dateRange/v4/DateRangeV4.vue.d.ts +8 -3
  62. package/components/dateRange/v4/DateRangeV4.vue.js +3 -3
  63. package/components/dateRange/v4/DateRangeV4.vue2.js +104 -101
  64. package/components/dateRange/v4/index.d.ts +27 -8
  65. package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +1 -1
  66. package/components/emptyState/v3/EmptyState.vue.d.ts +3 -3
  67. package/components/emptyState/v3/index.d.ts +7 -7
  68. package/components/icon/v4/IconV4.vue.d.ts +5 -0
  69. package/components/icon/v4/IconV4.vue.js +2 -2
  70. package/components/icon/v4/IconV4.vue2.js +27 -26
  71. package/components/icon/v4/index.d.ts +20 -1
  72. package/components/includeExclude/index.d.ts +16 -16
  73. package/components/inlineCopy/InlineCopy.vue.d.ts +15 -0
  74. package/components/inlineCopy/InlineCopy.vue.js +2 -2
  75. package/components/inlineCopy/InlineCopy.vue2.js +80 -51
  76. package/components/inlineCopy/index.d.ts +27 -0
  77. package/components/snackbar/common/notify.js +25 -25
  78. package/components/snackbar/common/snackbar.common.js +19 -19
  79. package/components/snackbar/common/snackbar.types.d.ts +2 -1
  80. package/components/snackbar/v4/SnackbarV4.vue.d.ts +8 -1
  81. package/components/snackbar/v4/SnackbarV4.vue.js +2 -2
  82. package/components/snackbar/v4/SnackbarV4.vue2.js +85 -64
  83. package/components/switch/v4/SwitchV4.vue.d.ts +5 -0
  84. package/components/switch/v4/SwitchV4.vue.js +4 -4
  85. package/components/switch/v4/SwitchV4.vue2.js +14 -13
  86. package/components/switch/v4/index.d.ts +9 -0
  87. package/components/table/v4/DataGrid.vue.d.ts +2 -0
  88. package/components/table/v4/DataGrid.vue.js +4 -4
  89. package/components/table/v4/DataGrid.vue2.js +82 -80
  90. package/components/table/v4/index.d.ts +7 -1
  91. package/components/table-cells/v3/Editable.vue.d.ts +1 -1
  92. package/components/table-cells/v3/index.d.ts +20 -20
  93. package/components/table-cells/v4/EditableV4.vue.d.ts +1 -1
  94. package/components/table-cells/v4/index.d.ts +20 -20
  95. package/components/tag/Tag.vue.d.ts +112 -0
  96. package/components/tag/Tag.vue.js +7 -0
  97. package/components/tag/Tag.vue2.js +221 -0
  98. package/components/tag/index.d.ts +161 -0
  99. package/components/tag/index.js +6 -0
  100. package/components/tagsField/index.d.ts +42 -3
  101. package/components/tagsField/index.js +6 -4
  102. package/components/tooltip/v4/TooltipV4.vue.d.ts +5 -0
  103. package/components/tooltip/v4/TooltipV4.vue.js +2 -2
  104. package/components/tooltip/v4/TooltipV4.vue2.js +76 -36
  105. package/components/tooltip/v4/index.d.ts +20 -1
  106. package/design-foundation.stories/colors/ColorsData.d.ts +1 -0
  107. package/index.d.ts +281 -82
  108. package/index.js +84 -78
  109. package/package.json +2 -7
  110. package/style/v4/colors.scss +1 -1
  111. package/style/v4/grid.css +1 -1
  112. package/style/v4/grid.css.map +1 -1
  113. package/AppHeader.vue_vue_type_style_index_0_scoped_9202b5db_lang.css +0 -1
  114. package/ButtonV4.vue_vue_type_style_index_0_scoped_afe44a65_lang.css +0 -1
  115. package/CalendarMonth.vue_vue_type_style_index_0_scoped_acd3440c_lang.css +0 -1
  116. package/CalendarMonthV4.vue_vue_type_style_index_0_scoped_b0d3ea50_lang.css +0 -1
  117. package/Chart.vue_vue_type_style_index_0_scoped_060d02be_lang.css +0 -1
  118. package/ChartHeader.vue_vue_type_style_index_0_scoped_d90c583e_lang.css +0 -1
  119. package/ChartPlane.vue_vue_type_style_index_0_scoped_3c887f7e_lang.css +0 -1
  120. package/ColumnPicker.vue_vue_type_style_index_0_scoped_01c4e08f_lang.css +0 -1
  121. package/DataGrid.vue_vue_type_style_index_0_scoped_cd41c5ca_lang.css +0 -1
  122. package/DateRange.vue_vue_type_style_index_0_scoped_70e316e9_lang.css +0 -1
  123. package/DateRangeV4.vue_vue_type_style_index_0_scoped_a849128a_lang.css +0 -1
  124. package/IconV4.vue_vue_type_style_index_0_scoped_dc433d48_lang.css +0 -1
  125. package/InlineCopy.vue_vue_type_style_index_0_scoped_ad48b61e_lang.css +0 -1
  126. package/SectionDropdown.vue_vue_type_style_index_0_scoped_cfad60a8_lang.css +0 -1
  127. package/SnackbarV4.vue_vue_type_style_index_0_scoped_1b650c39_lang.css +0 -1
  128. package/SwitchV4.vue_vue_type_style_index_0_scoped_0a80c49f_lang.css +0 -1
  129. package/TooltipV4.vue_vue_type_style_index_0_scoped_8a451e54_lang.css +0 -1
@@ -1,5 +1,5 @@
1
- import "../../ColumnPicker.vue_vue_type_style_index_0_scoped_01c4e08f_lang.css"; import { defineComponent as ie, ref as K, watch as ne, computed as c, provide as se, openBlock as d, createElementBlock as m, Fragment as S, renderSlot as oe, createVNode as r, unref as s, withCtx as p, createElementVNode as u, mergeProps as ae, renderList as R, withModifiers as U, createTextVNode as k, toDisplayString as V, withDirectives as de, createBlock as W, vShow as re, createCommentVNode as q, isRef as ue } from "vue";
2
- import ce from "./OptionChip.vue.js";
1
+ import "../../ColumnPicker.vue_vue_type_style_index_0_scoped_d59af062_lang.css"; import { defineComponent as re, ref as c, watch as H, computed as m, provide as ue, openBlock as d, createElementBlock as f, Fragment as x, renderSlot as ce, createVNode as r, unref as n, withCtx as p, createElementVNode as u, mergeProps as me, renderList as P, withModifiers as J, createTextVNode as T, toDisplayString as A, withDirectives as fe, createBlock as X, vShow as pe, createCommentVNode as Y, isRef as ve } from "vue";
2
+ import ye from "./OptionChip.vue.js";
3
3
  import "../dropdown/v4/DropdownV4.vue.js";
4
4
  import "../dropdown/v4/DefaultDropdownTrigger.vue.js";
5
5
  import "../dropdown/v4/IconButtonDropdownTrigger.vue.js";
@@ -8,29 +8,29 @@ import "../dropdown/v4/AppDropdownTrigger.vue.js";
8
8
  import "../dropdown/v4/ButtonDropdownTrigger.vue.js";
9
9
  import "../dropdown/v4/ButtonFilterDropdownTrigger.vue.js";
10
10
  import "../dropdown/v4/TreeDropdown.vue.js";
11
- import Q from "../dropdown/v4/OptionV4.vue.js";
11
+ import Z from "../dropdown/v4/OptionV4.vue.js";
12
12
  import "../dropdown/v4/ConditionalDropdown.vue.js";
13
- import { DropdownContext as me } from "../dropdown/common/DropdownContext.js";
14
- import w from "../typography/v4/Typography.vue.js";
15
- import pe from "../dialog/v4/DialogV4.vue.js";
16
- import fe from "../sortableList/SortableList.vue.js";
17
- import ye from "../link/Link.vue.js";
18
- import ve from "../search/v4/SearchV4.vue.js";
19
- import { matchString as he } from "../../utils/search.js";
13
+ import { DropdownContext as he } from "../dropdown/common/DropdownContext.js";
14
+ import L from "../typography/v4/Typography.vue.js";
15
+ import ge from "../dialog/v4/DialogV4.vue.js";
16
+ import ke from "../sortableList/SortableList.vue.js";
17
+ import Se from "../link/Link.vue.js";
18
+ import Ke from "../search/v4/SearchV4.vue.js";
19
+ import { matchString as Ce } from "../../utils/search.js";
20
20
  import "../button/v4/ButtonV4.vue.js";
21
- import ge from "../button/v4/IconButtonV4.vue.js";
21
+ import be from "../button/v4/IconButtonV4.vue.js";
22
22
  import "../button/v4/ButtonGroup.vue.js";
23
23
  import "../button/v4/ToggleButtonGroupAB.vue.js";
24
- import { useTestIdAttrs as Ke } from "../../utils/testIds.js";
25
- import { ColumnPickerTestIdModifiers as B } from "../../testids/index.js";
26
- import Se from "./RemoveButton.vue.js";
27
- const ke = { class: "content" }, be = { class: "options-list-wrapper" }, Ce = { class: "search-wrapper" }, xe = { class: "options-list scrollable-list" }, Te = {
24
+ import { useTestIdAttrs as xe } from "../../utils/testIds.js";
25
+ import { ColumnPickerTestIdModifiers as F } from "../../testids/index.js";
26
+ import Te from "./RemoveButton.vue.js";
27
+ const Ie = { class: "content" }, Oe = { class: "options-list-wrapper" }, Re = { class: "search-wrapper" }, Ve = { class: "options-list scrollable-list" }, we = {
28
28
  key: 0,
29
29
  class: "inline-group"
30
- }, Ie = ["onClick"], Oe = {
30
+ }, Be = ["onClick"], De = {
31
31
  key: 0,
32
32
  class: "no-result-container"
33
- }, Re = { class: "selected-list-header" }, Ve = { class: "selected-list-wrapper scrollable-list" }, lt = /* @__PURE__ */ ie({
33
+ }, Ge = { class: "selected-list-header" }, Pe = { class: "selected-list-wrapper scrollable-list" }, ot = /* @__PURE__ */ re({
34
34
  __name: "ColumnPicker",
35
35
  props: {
36
36
  selected: { default: () => [] },
@@ -50,87 +50,107 @@ const ke = { class: "content" }, be = { class: "options-list-wrapper" }, Ce = {
50
50
  appendToBody: { type: Boolean, default: !0 },
51
51
  testId: { default: "" }
52
52
  },
53
- emits: ["update:selected"],
54
- setup(n, { emit: j }) {
55
- const t = n, a = K([]), f = K([]), v = K(""), y = K(!1), G = () => {
56
- t.selected?.length ? a.value = [...t.selected] : t.defaultSelection?.length ? a.value = [...t.defaultSelection] : a.value = [];
57
- }, b = () => {
58
- y.value = !1, f.value = [], v.value = "", G();
53
+ emits: ["update:selected", "trackUserActivity"],
54
+ setup(s, { emit: I }) {
55
+ const t = s, o = c([]), v = c([]), h = c(""), y = c(!1), k = c(!1), S = c(!1), K = c(!1), C = c(!1), $ = () => {
56
+ t.selected?.length ? o.value = [...t.selected] : t.defaultSelection?.length ? o.value = [...t.defaultSelection] : o.value = [];
57
+ }, O = (e = !0) => {
58
+ y.value = !1, v.value = [], h.value = "", $(), e && I(
59
+ "trackUserActivity",
60
+ k.value,
61
+ C.value,
62
+ S.value,
63
+ K.value,
64
+ "Cancel"
65
+ ), oe();
59
66
  };
60
- ne(
67
+ H(
61
68
  [() => t.selected, () => t.defaultSelection],
62
69
  () => {
63
- G();
70
+ $();
64
71
  },
65
72
  {
66
73
  immediate: !0
67
74
  }
68
75
  );
69
- const P = () => {
76
+ const E = () => {
70
77
  y.value = !y.value;
71
- }, C = c({
78
+ }, R = m({
72
79
  get() {
73
- return a.value.map((e) => {
74
- const i = Z(e) ? A(e)?.[t.displayKey] + " " : "";
80
+ return o.value.map((e) => {
81
+ const l = ie(e) ? W(e)?.[t.displayKey] + " " : "";
75
82
  return {
76
83
  id: e[t.idKey],
77
- displayText: i + e[t.displayKey],
78
- isDisabled: I(e)
84
+ displayText: l + e[t.displayKey],
85
+ isDisabled: B(e)
79
86
  };
80
87
  });
81
88
  },
82
89
  set(e) {
83
- const i = e.map((l) => l.id);
84
- a.value = i.map(
85
- (l) => a.value.find((o) => o[t.idKey] === l)
90
+ const l = e.map((i) => i.id);
91
+ o.value = l.map(
92
+ (i) => o.value.find((a) => a[t.idKey] === i)
86
93
  );
87
94
  }
88
- }), x = c(
89
- () => a.value?.length <= t.minSelections
90
- ), T = c(() => {
95
+ }), V = m(
96
+ () => o.value?.length <= t.minSelections
97
+ ), w = m(() => {
91
98
  if (!t.minSelections)
92
99
  return "";
93
- const e = t.minSelections, i = t.minSelectionsTooltipMessage;
94
- return i ? i.replace("%count%", e.toString()) : "";
95
- }), D = (e) => g(e) && x.value, I = (e) => e[t.disabledKey] || D(e), g = (e) => a.value.some(
96
- (i) => i[t.idKey] === e[t.idKey]
97
- ), H = (e) => {
98
- g(e) ? L(e[t.idKey]) : J(e);
99
- }, O = (e) => {
100
- t.disabledKey && e[t.disabledKey] || H(e);
101
- }, J = (e) => {
102
- a.value.push(e);
103
- }, L = (e) => {
104
- a.value = a.value.filter(
105
- (i) => i[t.idKey] !== e
100
+ const e = t.minSelections, l = t.minSelectionsTooltipMessage;
101
+ return l ? l.replace("%count%", e.toString()) : "";
102
+ }), M = (e) => b(e) && V.value, B = (e) => e[t.disabledKey] || M(e), b = (e) => o.value.some(
103
+ (l) => l[t.idKey] === e[t.idKey]
104
+ ), _ = (e) => {
105
+ b(e) ? U(e[t.idKey]) : ee(e);
106
+ }, D = (e) => {
107
+ t.disabledKey && e[t.disabledKey] || _(e);
108
+ }, ee = (e) => {
109
+ o.value.push(e);
110
+ }, U = (e) => {
111
+ o.value = o.value.filter(
112
+ (l) => l[t.idKey] !== e
106
113
  );
107
- }, F = c(() => {
114
+ }, N = m(() => {
108
115
  if (!t.defaultSelection?.length)
109
116
  return !1;
110
- const e = a.value.map((l) => l[t.idKey]), i = t.defaultSelection.map((l) => l[t.idKey]);
111
- return e.length !== i.length ? !0 : !i.every((l) => e.includes(l));
112
- }), X = () => {
113
- F.value && (a.value = [...t.defaultSelection]);
114
- }, $ = (e) => E.value ? !0 : !f.value.includes(e), Y = (e) => t.inlineGroupIds?.includes(e), A = (e) => t.options.find(
115
- (i) => h(i).map((l) => l[t.idKey]).includes(e[t.idKey])
116
- ), Z = (e) => {
117
- const i = A(e);
118
- return i ? t.inlineGroupIds?.includes(i[t.idKey]) : !1;
119
- }, M = (e) => {
120
- f.value.includes(e) ? f.value = f.value.filter(
121
- (i) => i !== e
122
- ) : f.value.push(e);
123
- }, h = (e) => e[t.childrenKey] || [], _ = c(() => a.value.length), N = c(() => v.value?.trim()), E = c(() => !!N.value), z = c(() => E.value ? t.options.map((i) => ({
124
- ...i,
125
- [t.childrenKey]: h(i).filter(
126
- (l) => he(l[t.displayKey], N.value)
117
+ const e = o.value.map((i) => i[t.idKey]), l = t.defaultSelection.map((i) => i[t.idKey]);
118
+ return e.length !== l.length ? !0 : !l.every((i) => e.includes(i));
119
+ }), te = () => {
120
+ N.value && (o.value = [...t.defaultSelection]), k.value = !0;
121
+ }, z = (e) => Q.value ? !0 : !v.value.includes(e), le = (e) => t.inlineGroupIds?.includes(e), W = (e) => t.options.find(
122
+ (l) => g(l).map((i) => i[t.idKey]).includes(e[t.idKey])
123
+ ), ie = (e) => {
124
+ const l = W(e);
125
+ return l ? t.inlineGroupIds?.includes(l[t.idKey]) : !1;
126
+ }, q = (e) => {
127
+ v.value.includes(e) ? (v.value = v.value.filter(
128
+ (l) => l !== e
129
+ ), S.value = !0) : (v.value.push(e), K.value = !0);
130
+ }, g = (e) => e[t.childrenKey] || [], se = m(() => o.value.length), G = m(() => h.value?.trim()), Q = m(() => !!G.value), j = m(() => Q.value ? t.options.map((l) => ({
131
+ ...l,
132
+ [t.childrenKey]: g(l).filter(
133
+ (i) => Ce(i[t.displayKey], G.value)
127
134
  )
128
135
  })).filter(
129
- (i) => h(i).length > 0
130
- ) : t.options), ee = Ke(t.testId, B), te = () => {
131
- j("update:selected", a.value), b();
136
+ (l) => g(l).length > 0
137
+ ) : t.options), ne = xe(t.testId, F), ae = () => {
138
+ I("update:selected", o.value), I(
139
+ "trackUserActivity",
140
+ k.value,
141
+ C.value,
142
+ S.value,
143
+ K.value,
144
+ "Save"
145
+ ), O(!1);
132
146
  };
133
- return se(me, {
147
+ H(G, () => {
148
+ C.value = !0;
149
+ });
150
+ const oe = () => {
151
+ k.value = !1, S.value = !1, K.value = !1, C.value = !1;
152
+ };
153
+ return ue(he, {
134
154
  activeIndex: null,
135
155
  activeOption: null,
136
156
  clearSelection: () => {
@@ -151,8 +171,8 @@ const ke = { class: "content" }, be = { class: "options-list-wrapper" }, Ce = {
151
171
  toggle: () => {
152
172
  },
153
173
  placeholder: "",
154
- select: O,
155
- query: v,
174
+ select: D,
175
+ query: h,
156
176
  selectedValue: null,
157
177
  goToOption: () => {
158
178
  },
@@ -162,103 +182,103 @@ const ke = { class: "content" }, be = { class: "options-list-wrapper" }, Ce = {
162
182
  },
163
183
  unRegisterOption: () => {
164
184
  }
165
- }), (e, i) => (d(), m(S, null, [
166
- oe(e.$slots, "trigger", {
167
- triggerProps: { onClick: P }
185
+ }), (e, l) => (d(), f(x, null, [
186
+ ce(e.$slots, "trigger", {
187
+ triggerProps: { onClick: E }
168
188
  }, () => [
169
- r(s(ge), {
189
+ r(n(be), {
170
190
  "icon-name": "layout",
171
191
  variant: "outlined",
172
- "test-id": `${n.testId}-${s(B).TRIGGER}`,
173
- onClick: P
192
+ "test-id": `${s.testId}-${n(F).TRIGGER}`,
193
+ onClick: E
174
194
  }, null, 8, ["test-id"])
175
195
  ], !0),
176
- r(s(pe), {
196
+ r(n(ge), {
177
197
  modelValue: y.value,
178
- "onUpdate:modelValue": i[2] || (i[2] = (l) => y.value = l),
179
- title: n.headerText,
198
+ "onUpdate:modelValue": l[2] || (l[2] = (i) => y.value = i),
199
+ title: s.headerText,
180
200
  "no-padding": "",
181
201
  "save-button-label": "Save view",
182
202
  "close-on-click-outside": "",
183
- "append-to-body": n.appendToBody,
184
- "test-id": n.testId,
185
- onSave: te,
186
- onClose: b,
187
- onCancel: b
203
+ "append-to-body": s.appendToBody,
204
+ "test-id": s.testId,
205
+ onSave: ae,
206
+ onClose: l[3] || (l[3] = () => O),
207
+ onCancel: O
188
208
  }, {
189
209
  default: p(() => [
190
- u("div", ae({ class: "column-picker" }, s(ee)[s(B).WRAPPER]), [
191
- u("div", ke, [
192
- u("div", be, [
193
- u("header", Ce, [
194
- r(s(ve), {
195
- modelValue: v.value,
196
- "onUpdate:modelValue": i[0] || (i[0] = (l) => v.value = l),
197
- placeholder: n.searchPlaceholder,
210
+ u("div", me({ class: "column-picker" }, n(ne)[n(F).WRAPPER]), [
211
+ u("div", Ie, [
212
+ u("div", Oe, [
213
+ u("header", Re, [
214
+ r(n(Ke), {
215
+ modelValue: h.value,
216
+ "onUpdate:modelValue": l[0] || (l[0] = (i) => h.value = i),
217
+ placeholder: s.searchPlaceholder,
198
218
  variant: "transparent",
199
219
  size: "md",
200
- "auto-focus": n.searchAutoFocus,
201
- "test-id": n.testId
220
+ "auto-focus": s.searchAutoFocus,
221
+ "test-id": s.testId
202
222
  }, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id"])
203
223
  ]),
204
- u("ul", xe, [
205
- (d(!0), m(S, null, R(s(z), (l) => (d(), m("li", {
206
- key: String(l[n.idKey]),
224
+ u("ul", Ve, [
225
+ (d(!0), f(x, null, P(n(j), (i) => (d(), f("li", {
226
+ key: String(i[s.idKey]),
207
227
  class: "options-list__item"
208
228
  }, [
209
- r(s(Q), {
210
- option: l,
229
+ r(n(Z), {
230
+ option: i,
211
231
  "tree-main-option": "",
212
- "tree-main-option-expanded": $(l[n.idKey]),
213
- onClick: U((o) => M(l[n.idKey]), ["stop"]),
214
- onToggleTreeCollapse: (o) => M(l[n.idKey])
232
+ "tree-main-option-expanded": z(i[s.idKey]),
233
+ onClick: J((a) => q(i[s.idKey]), ["stop"]),
234
+ onToggleTreeCollapse: (a) => q(i[s.idKey])
215
235
  }, {
216
236
  default: p(() => [
217
- r(s(w), {
237
+ r(n(L), {
218
238
  variant: "h5",
219
239
  class: "group-name"
220
240
  }, {
221
241
  default: p(() => [
222
- k(V(l[n.displayKey]), 1)
242
+ T(A(i[s.displayKey]), 1)
223
243
  ]),
224
244
  _: 2
225
245
  }, 1024)
226
246
  ]),
227
247
  _: 2
228
248
  }, 1032, ["option", "tree-main-option-expanded", "onClick", "onToggleTreeCollapse"]),
229
- de(u("div", null, [
230
- Y(l[n.idKey]) ? (d(), m("div", Te, [
231
- (d(!0), m(S, null, R(h(l), (o) => (d(), W(ce, {
232
- key: o[n.idKey],
233
- option: o,
234
- "name-key": n.displayKey,
235
- selected: g(o),
236
- disabled: I(o),
237
- "tooltip-text": D(o) ? s(T) : null,
238
- onClick: (le) => O(o)
249
+ fe(u("div", null, [
250
+ le(i[s.idKey]) ? (d(), f("div", we, [
251
+ (d(!0), f(x, null, P(g(i), (a) => (d(), X(ye, {
252
+ key: a[s.idKey],
253
+ option: a,
254
+ "name-key": s.displayKey,
255
+ selected: b(a),
256
+ disabled: B(a),
257
+ "tooltip-text": M(a) ? n(w) : null,
258
+ onClick: (de) => D(a)
239
259
  }, null, 8, ["option", "name-key", "selected", "disabled", "tooltip-text", "onClick"]))), 128))
240
- ])) : (d(!0), m(S, { key: 1 }, R(h(l), (o) => (d(), m("div", {
241
- key: o[n.idKey],
242
- onClick: U((le) => O(o), ["stop"])
260
+ ])) : (d(!0), f(x, { key: 1 }, P(g(i), (a) => (d(), f("div", {
261
+ key: a[s.idKey],
262
+ onClick: J((de) => D(a), ["stop"])
243
263
  }, [
244
- r(s(Q), {
245
- option: o,
246
- "selected-prop": g(o),
247
- "name-key": n.displayKey,
248
- disabled: I(o),
249
- "min-max-selection-tooltip-message": s(T),
264
+ r(n(Z), {
265
+ option: a,
266
+ "selected-prop": b(a),
267
+ "name-key": s.displayKey,
268
+ disabled: B(a),
269
+ "min-max-selection-tooltip-message": n(w),
250
270
  "tooltip-attached-to-text": "",
251
271
  "is-multi": ""
252
272
  }, null, 8, ["option", "selected-prop", "name-key", "disabled", "min-max-selection-tooltip-message"])
253
- ], 8, Ie))), 128))
273
+ ], 8, Be))), 128))
254
274
  ], 512), [
255
- [re, $(l[n.idKey])]
275
+ [pe, z(i[s.idKey])]
256
276
  ])
257
277
  ]))), 128)),
258
- s(z).length ? q("", !0) : (d(), m("li", Oe, [
259
- r(s(w), { variant: "body2" }, {
278
+ n(j).length ? Y("", !0) : (d(), f("li", De, [
279
+ r(n(L), { variant: "body2" }, {
260
280
  default: p(() => [
261
- k(V(n.noResultsText), 1)
281
+ T(A(s.noResultsText), 1)
262
282
  ]),
263
283
  _: 1
264
284
  })
@@ -266,43 +286,43 @@ const ke = { class: "content" }, be = { class: "options-list-wrapper" }, Ce = {
266
286
  ])
267
287
  ]),
268
288
  u("div", null, [
269
- u("header", Re, [
270
- r(s(w), {
289
+ u("header", Ge, [
290
+ r(n(L), {
271
291
  variant: "h5",
272
292
  class: "selected-count-text"
273
293
  }, {
274
294
  default: p(() => [
275
- k(V(s(_)) + " selected ", 1)
295
+ T(A(n(se)) + " selected ", 1)
276
296
  ]),
277
297
  _: 1
278
298
  }),
279
- n.defaultSelection?.length ? (d(), W(s(ye), {
299
+ s.defaultSelection?.length ? (d(), X(n(Se), {
280
300
  key: 0,
281
301
  variant: "subtitle2",
282
- disabled: !s(F),
283
- "test-id": n.testId,
284
- onClick: X
302
+ disabled: !n(N),
303
+ "test-id": s.testId,
304
+ onClick: te
285
305
  }, {
286
306
  default: p(() => [
287
- k(" Reset to default ")
307
+ T(" Reset to default ")
288
308
  ]),
289
309
  _: 1
290
- }, 8, ["disabled", "test-id"])) : q("", !0)
310
+ }, 8, ["disabled", "test-id"])) : Y("", !0)
291
311
  ]),
292
- u("div", Ve, [
293
- r(s(fe), {
294
- items: s(C),
295
- "onUpdate:items": i[1] || (i[1] = (l) => ue(C) ? C.value = l : null),
296
- "display-value": (l) => l.displayText,
312
+ u("div", Pe, [
313
+ r(n(ke), {
314
+ items: n(R),
315
+ "onUpdate:items": l[1] || (l[1] = (i) => ve(R) ? R.value = i : null),
316
+ "display-value": (i) => i.displayText,
297
317
  variant: "compact",
298
318
  "draggable-area": "full",
299
- "test-id": n.testId
319
+ "test-id": s.testId
300
320
  }, {
301
- menu: p(({ item: l }) => [
302
- r(Se, {
303
- disabled: s(x),
304
- "tooltip-text": s(x) ? s(T) : null,
305
- onClick: (o) => L(l.id)
321
+ menu: p(({ item: i }) => [
322
+ r(Te, {
323
+ disabled: n(V),
324
+ "tooltip-text": n(V) ? n(w) : null,
325
+ onClick: (a) => U(i.id)
306
326
  }, null, 8, ["disabled", "tooltip-text", "onClick"])
307
327
  ]),
308
328
  _: 1
@@ -318,5 +338,5 @@ const ke = { class: "content" }, be = { class: "options-list-wrapper" }, Ce = {
318
338
  }
319
339
  });
320
340
  export {
321
- lt as default
341
+ ot as default
322
342
  };
@@ -90,6 +90,7 @@ declare const ColumnPickerTypes: () => ({
90
90
  };
91
91
  }>> & {
92
92
  "onUpdate:selected"?: (value: unknown[]) => any;
93
+ onTrackUserActivity?: (isResetToDefault: boolean, isSearched: boolean, isExpanded: boolean, isCollapse: boolean, status: "Cancel" | "Save") => any;
93
94
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "selected" | "options" | "minSelections" | "noResultsText" | "searchAutoFocus" | "searchPlaceholder" | "headerText" | "appendToBody" | "defaultSelection" | "inlineGroupIds" | "idKey" | "displayKey" | "childrenKey" | "disabledKey" | "minSelectionsTooltipMessage">;
94
95
  $attrs: {
95
96
  [x: string]: unknown;
@@ -102,7 +103,7 @@ declare const ColumnPickerTypes: () => ({
102
103
  }>;
103
104
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
104
105
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
105
- $emit: (event: "update:selected", value: unknown[]) => void;
106
+ $emit: ((event: "update:selected", value: unknown[]) => void) & ((event: "trackUserActivity", isResetToDefault: boolean, isSearched: boolean, isExpanded: boolean, isCollapse: boolean, status: "Cancel" | "Save") => void);
106
107
  $el: any;
107
108
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
108
109
  testId: {
@@ -174,8 +175,10 @@ declare const ColumnPickerTypes: () => ({
174
175
  };
175
176
  }>> & {
176
177
  "onUpdate:selected"?: (value: unknown[]) => any;
178
+ onTrackUserActivity?: (isResetToDefault: boolean, isSearched: boolean, isExpanded: boolean, isCollapse: boolean, status: "Cancel" | "Save") => any;
177
179
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
178
180
  "update:selected": (value: unknown[]) => void;
181
+ trackUserActivity: (isResetToDefault: boolean, isSearched: boolean, isExpanded: boolean, isCollapse: boolean, status: "Cancel" | "Save") => void;
179
182
  }, string, {
180
183
  testId: string;
181
184
  selected: unknown[];
@@ -283,6 +286,7 @@ declare const ColumnPickerTypes: () => ({
283
286
  };
284
287
  }>> & {
285
288
  "onUpdate:selected"?: (value: unknown[]) => any;
289
+ onTrackUserActivity?: (isResetToDefault: boolean, isSearched: boolean, isExpanded: boolean, isCollapse: boolean, status: "Cancel" | "Save") => any;
286
290
  } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
287
291
  __isFragment?: never;
288
292
  __isTeleport?: never;
@@ -357,8 +361,10 @@ declare const ColumnPickerTypes: () => ({
357
361
  };
358
362
  }>> & {
359
363
  "onUpdate:selected"?: (value: unknown[]) => any;
364
+ onTrackUserActivity?: (isResetToDefault: boolean, isSearched: boolean, isExpanded: boolean, isCollapse: boolean, status: "Cancel" | "Save") => any;
360
365
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
361
366
  "update:selected": (value: unknown[]) => void;
367
+ trackUserActivity: (isResetToDefault: boolean, isSearched: boolean, isExpanded: boolean, isCollapse: boolean, status: "Cancel" | "Save") => void;
362
368
  }, string, {
363
369
  testId: string;
364
370
  selected: unknown[];