@ironsource/shared-ui 2.2.0-rc.15 → 2.2.0-rc.17

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.
@@ -0,0 +1 @@
1
+ .chart-header[data-v-3a061c08]{display:flex;align-items:center;justify-content:space-between;padding:24px 24px 0}.chart-header--compact[data-v-3a061c08]{padding-top:22px}.chart-header--compact .header-texts[data-v-3a061c08]{flex-direction:row}.chart-header--compact .header-text[data-v-3a061c08]{color:var(--text-secondary)}.header-row[data-v-3a061c08]{display:flex;align-items:flex-end;gap:4px}.header-texts[data-v-3a061c08]{display:flex;flex-direction:column;color:var(--text-primary);gap:4px;cursor:default}.header-actions[data-v-3a061c08]{display:flex;align-items:center;gap:var(--spacing-200)}
@@ -0,0 +1 @@
1
+ .column-picker[data-v-77c2a074]{width:37.375rem;border-radius:var(--border-radius-lg);background:var(--background-modal-elevation)}.content[data-v-77c2a074]{min-height:18.75rem;display:grid;grid-template-columns:1fr 1fr}.selected-list-wrapper[data-v-77c2a074]{padding:.25rem 1rem 1rem}.scrollable-list[data-v-77c2a074]{overflow-y:auto;max-height:24.625rem}.search-wrapper[data-v-77c2a074]{height:3rem;padding:1rem 1rem .25rem}.options-list-wrapper[data-v-77c2a074]{border-right:1px solid var(--common-divider)}.options-list[data-v-77c2a074]{margin:0;list-style:none;padding:.3125rem .75rem}.options-list__item[data-v-77c2a074]{margin-bottom:.5rem}.options-list[data-v-77c2a074] .item-container{margin-bottom:1px;min-height:1.9375rem}.selected-list-header[data-v-77c2a074]{height:3rem;padding:.25rem 1rem 0;display:flex;justify-content:space-between;align-items:center}.group-name[data-v-77c2a074]{color:var(--text-secondary)}.inline-group[data-v-77c2a074]{padding:.25rem .5rem}.no-result-container[data-v-77c2a074]{height:100%;display:flex;align-items:center;padding:.375rem .5rem;color:var(--text-disabled)}
@@ -0,0 +1 @@
1
+ .sticky[data-v-0967498f]{position:sticky}.table-container[data-v-0967498f]{width:100%;position:relative;display:flex;flex-direction:column}.table-head-container[data-v-0967498f]{display:flex;align-items:center;white-space:nowrap;color:var(--text-primary)}.table-footer[data-v-0967498f]{color:var(--text-primary);background-color:var(--background-paper-elevation-0);padding:0 var(--spacing-300);display:flex;align-items:center;min-height:var(--spacing-600);border:1px solid var(--common-divider);border-radius:var(--border-radius-md);border-top-right-radius:0;border-top-left-radius:0}.table-body-wrapper[data-v-0967498f]{display:inline-table}.table-row[data-v-0967498f]{position:relative}.table-row.loading[data-v-0967498f]{opacity:.7}.table-row:not(.expanded):last-child>td[data-v-0967498f]{border-bottom:none}.table-row.expanded:last-child>.expanded-row[data-v-0967498f]{border-bottom:none}.expanded-row[data-v-0967498f]{grid-column:var(--25787d10);border-bottom:1px solid var(--common-divider);background-color:var(--background-default)}table[data-v-0967498f]{position:relative;display:block;overflow:auto;background:var(--background-paper-elevation-0);border:1px solid var(--common-divider);color:var(--text-primary);text-align:left;table-layout:fixed;width:100%;max-height:100%;border-radius:var(--border-radius-md);border-collapse:collapse;border-spacing:0}table.hasFooter[data-v-0967498f]{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:none}table td[data-v-0967498f],table th[data-v-0967498f]{line-height:normal;padding:0 var(--spacing-200)}table td[data-v-0967498f]:first-of-type,table th[data-v-0967498f]:first-of-type{padding-left:var(--spacing-300)}table td[data-v-0967498f]:last-of-type,table th[data-v-0967498f]:last-of-type{padding-right:var(--spacing-300)}table td.expand-toggle-cell[data-v-0967498f],table th.expand-toggle-cell[data-v-0967498f]{padding-left:var(--spacing-150);padding-right:var(--spacing-75)}table>thead[data-v-0967498f]{border-bottom:none;z-index:calc(var(--30f420c8) + 1);display:inline-table;min-width:100%}table>thead>tr[data-v-0967498f]{color:var(--text-primary);border-bottom:1px solid var(--common-divider);display:grid;grid-template-columns:var(--71198c09)}table>thead>tr>th[data-v-0967498f]{background:var(--background-paper-elevation-0);width:100%;display:flex;align-items:center;cursor:default}table>thead>tr>th.isSortable[data-v-0967498f]{cursor:pointer}table>thead>tr>td[data-v-0967498f]{display:flex;align-items:center}table>thead>tr>th.bordered[data-v-0967498f],table>thead>tr>td.bordered[data-v-0967498f]{border-right:1px solid var(--common-divider)}table>thead>tr>th.bordered.isStickyRight[data-v-0967498f],table>thead>tr>td.bordered.isStickyRight[data-v-0967498f]{border-right:none;border-left:1px solid var(--common-divider)}table>thead>tr>th.isTextRight[data-v-0967498f],table>thead>tr>td.isTextRight[data-v-0967498f]{justify-content:flex-end}table>thead.sticky[data-v-0967498f]{position:sticky;top:0;background:var(--background-default)}table>thead.isStickyHeader[data-v-0967498f]{z-index:calc(var(--30f420c8) + 2);top:var(--31cbe0b7)}table .totals-row[data-v-0967498f]{height:40px}table .totals-row[data-v-0967498f]:hover{background:var(--background-paper-elevation-1)}table .totals-row>td.sticky[data-v-0967498f]{background-color:var(--background-default)}table>tbody[data-v-0967498f]{display:block}table>tbody>*>tr[data-v-0967498f]{background-color:var(--background-default);height:auto;display:grid;align-items:center;grid-template-columns:var(--71198c09)}table>tbody>*>tr:nth-of-type(2n)>td[data-v-0967498f]{background-color:var(--background-default)}table>tbody>*>tr:hover:not(.loading)>td[data-v-0967498f],table>tbody>*>tr.activeMenu>td[data-v-0967498f]{background-color:var(--background-paper-elevation-1)}table>tbody td[data-v-0967498f]{background-color:var(--background-default);border:none;min-width:0;display:flex;height:auto;width:100%;place-items:center;border-bottom:1px solid var(--common-divider);justify-content:start}table>tbody td.bordered[data-v-0967498f]{border-right:1px solid var(--common-divider)}table>tbody td.bordered.isStickyRight[data-v-0967498f]{border-right:none;border-left:1px solid var(--common-divider)}table>tbody td.isTextRight[data-v-0967498f]{justify-content:flex-end;text-align:right}.underlined[data-v-0967498f]{border-bottom:.0625rem dashed var(--default-outlined-border)}.underlined[data-v-0967498f]:hover{cursor:pointer}.section-container[data-v-0967498f]{left:0}.sections[data-v-0967498f]{display:flex}.section[data-v-0967498f]{padding:0 1.5rem;background:var(--background-default);left:0;height:32px;display:flex;align-items:flex-end;border-right:1px solid var(--common-divider)}.table-cell[data-v-0967498f]{width:100%}.empty-state[data-v-0967498f]{min-height:250px}.floating-row[data-v-0967498f]{display:flex;inset:0;pointer-events:none;position:absolute;z-index:calc(var(--30f420c8) + 1)}.floating-row *[data-v-0967498f-s]{pointer-events:auto}.bg[data-v-0967498f]{background:var(--background-default)}.useAvailableHeight[data-v-0967498f]{height:100%}.disabled-scrolling[data-v-0967498f]{overflow:hidden}
@@ -1,7 +1,7 @@
1
1
  import e from "./ChartHeader.vue2.js";
2
2
  /* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../ChartHeader.vue_vue_type_style_index_0_scoped_9a603520_lang.css"; //*');
4
- const r = /* @__PURE__ */ o(e, [["__scopeId", "data-v-9a603520"]]);
3
+ // import "../../ChartHeader.vue_vue_type_style_index_0_scoped_3a061c08_lang.css"; //*');
4
+ const r = /* @__PURE__ */ o(e, [["__scopeId", "data-v-3a061c08"]]);
5
5
  export {
6
6
  r as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../ChartHeader.vue_vue_type_style_index_0_scoped_9a603520_lang.css"; import { defineComponent as g, computed as c, openBlock as r, createElementBlock as B, mergeProps as h, unref as t, createElementVNode as n, createVNode as m, createSlots as E, withCtx as d, renderSlot as H, createBlock as l, createTextVNode as b, toDisplayString as v, createCommentVNode as i, normalizeProps as V, isRef as D } from "vue";
1
+ import "../../ChartHeader.vue_vue_type_style_index_0_scoped_3a061c08_lang.css"; import { defineComponent as g, computed as c, openBlock as r, createElementBlock as B, mergeProps as h, unref as t, createElementVNode as n, createVNode as m, createSlots as E, withCtx as d, renderSlot as H, createBlock as l, createTextVNode as b, toDisplayString as v, createCommentVNode as i, normalizeProps as V, isRef as D } from "vue";
2
2
  import k from "../typography/v4/Typography.vue.js";
3
3
  import N from "../switch/v4/SwitchV4.vue.js";
4
4
  import P from "../tooltip/v4/TooltipV4.vue.js";
@@ -82,7 +82,7 @@ const U = { class: "header-texts" }, z = { class: "header-row" }, M = { class: "
82
82
  default: d(() => [
83
83
  m(t(k), {
84
84
  class: "header-text",
85
- variant: e.compact ? "h5" : "chart2"
85
+ variant: e.compact ? "h5" : "h1"
86
86
  }, {
87
87
  default: d(() => [
88
88
  b(v(e.header), 1)
@@ -34,6 +34,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
34
34
  testId: string;
35
35
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
36
36
  "update:selected": (value: unknown[]) => void;
37
+ finishEditing: (isResetToDefault: boolean, isSearched: boolean, isExpanded: boolean, isCollapse: boolean, status: "Cancel" | "Save") => void;
37
38
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
38
39
  selected: unknown[];
39
40
  options: Record<string, unknown>[];
@@ -70,6 +71,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
70
71
  testId: string;
71
72
  }>>> & {
72
73
  "onUpdate:selected"?: (value: unknown[]) => any;
74
+ onFinishEditing?: (isResetToDefault: boolean, isSearched: boolean, isExpanded: boolean, isCollapse: boolean, status: "Cancel" | "Save") => any;
73
75
  }, {
74
76
  testId: string;
75
77
  selected: unknown[];
@@ -1,7 +1,7 @@
1
1
  import o from "./ColumnPicker.vue2.js";
2
2
  /* empty css */import e from "../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../ColumnPicker.vue_vue_type_style_index_0_scoped_01c4e08f_lang.css"; //*');
4
- const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-01c4e08f"]]);
3
+ // import "../../ColumnPicker.vue_vue_type_style_index_0_scoped_77c2a074_lang.css"; //*');
4
+ const t = /* @__PURE__ */ e(o, [["__scopeId", "data-v-77c2a074"]]);
5
5
  export {
6
6
  t as default
7
7
  };
@@ -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_77c2a074_lang.css"; import { defineComponent as ue, ref as c, watch as H, computed as m, provide as re, openBlock as d, createElementBlock as f, Fragment as x, renderSlot as ce, createVNode as u, unref as n, withCtx as p, createElementVNode as r, mergeProps as me, renderList as P, withModifiers as J, createTextVNode as T, toDisplayString as E, 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 Se from "../sortableList/SortableList.vue.js";
17
+ import Ke 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__ */ ue({
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", "finishEditing"],
54
+ setup(s, { emit: I }) {
55
+ const t = s, o = c([]), v = c([]), h = c(""), y = c(!1), S = c(!1), K = 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
+ "finishEditing",
60
+ S.value,
61
+ C.value,
62
+ K.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 A = () => {
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) ? N(e[t.idKey]) : ee(e);
106
+ }, D = (e) => {
107
+ t.disabledKey && e[t.disabledKey] || _(e);
108
+ }, ee = (e) => {
109
+ o.value.push(e);
110
+ }, N = (e) => {
111
+ o.value = o.value.filter(
112
+ (l) => l[t.idKey] !== e
106
113
  );
107
- }, F = c(() => {
114
+ }, z = 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
+ z.value && (o.value = [...t.defaultSelection]), S.value = !0;
121
+ }, U = (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
+ ), K.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
+ "finishEditing",
140
+ S.value,
141
+ C.value,
142
+ K.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
+ S.value = !1, K.value = !1, k.value = !1, C.value = !1;
152
+ };
153
+ return re(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,147 +182,147 @@ 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: A }
168
188
  }, () => [
169
- r(s(ge), {
189
+ u(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: A
174
194
  }, null, 8, ["test-id"])
175
195
  ], !0),
176
- r(s(pe), {
196
+ u(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
+ r("div", me({ class: "column-picker" }, n(ne)[n(F).WRAPPER]), [
211
+ r("div", Ie, [
212
+ r("div", Oe, [
213
+ r("header", Re, [
214
+ u(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
+ r("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
+ u(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": U(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
+ u(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(E(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(r("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
+ u(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, U(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
+ u(n(L), { variant: "body2" }, {
260
280
  default: p(() => [
261
- k(V(n.noResultsText), 1)
281
+ T(E(s.noResultsText), 1)
262
282
  ]),
263
283
  _: 1
264
284
  })
265
285
  ]))
266
286
  ])
267
287
  ]),
268
- u("div", null, [
269
- u("header", Re, [
270
- r(s(w), {
288
+ r("div", null, [
289
+ r("header", Ge, [
290
+ u(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(E(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(Ke), {
280
300
  key: 0,
281
301
  variant: "subtitle2",
282
- disabled: !s(F),
283
- "test-id": n.testId,
284
- onClick: X
302
+ disabled: !n(z),
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
+ r("div", Pe, [
313
+ u(n(Se), {
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
+ u(Te, {
323
+ disabled: n(V),
324
+ "tooltip-text": n(V) ? n(w) : null,
325
+ onClick: (a) => N(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
+ onFinishEditing?: (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: "finishEditing", 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
+ onFinishEditing?: (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
+ finishEditing: (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
+ onFinishEditing?: (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
+ onFinishEditing?: (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
+ finishEditing: (isResetToDefault: boolean, isSearched: boolean, isExpanded: boolean, isCollapse: boolean, status: "Cancel" | "Save") => void;
362
368
  }, string, {
363
369
  testId: string;
364
370
  selected: unknown[];
@@ -1,7 +1,7 @@
1
1
  import o from "./DataGrid.vue2.js";
2
2
  /* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../DataGrid.vue_vue_type_style_index_0_scoped_b16780cd_lang.css"; //*');
4
- const a = /* @__PURE__ */ _(o, [["__scopeId", "data-v-b16780cd"]]);
3
+ // import "../../../DataGrid.vue_vue_type_style_index_0_scoped_0967498f_lang.css"; //*');
4
+ const a = /* @__PURE__ */ _(o, [["__scopeId", "data-v-0967498f"]]);
5
5
  export {
6
6
  a as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../DataGrid.vue_vue_type_style_index_0_scoped_b16780cd_lang.css"; import { defineComponent as ke, useCssVars as me, unref as t, useSlots as ve, computed as u, openBlock as i, createElementBlock as d, createElementVNode as v, normalizeStyle as S, normalizeClass as f, createBlock as I, isRef as be, createSlots as pe, withCtx as g, renderSlot as r, createCommentVNode as c, Fragment as C, renderList as R, createVNode as k, createTextVNode as M, toDisplayString as N, mergeProps as P } from "vue";
1
+ import "../../../DataGrid.vue_vue_type_style_index_0_scoped_0967498f_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 f, createBlock as I, isRef as ve, createSlots as pe, withCtx as g, renderSlot as r, createCommentVNode as c, Fragment as C, renderList as R, createVNode as k, createTextVNode as M, toDisplayString as O, mergeProps as P } from "vue";
2
2
  import L 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";
@@ -20,10 +20,10 @@ import { useElementSize as Ie } from "@vueuse/core";
20
20
  const Me = ["data-testid"], Pe = ["data-testid"], Le = ["data-testid"], Ve = {
21
21
  key: 1,
22
22
  class: "expand-toggle-cell"
23
- }, Oe = ["onClick", "onMouseOver"], De = { class: "table-head-container" }, Fe = {
23
+ }, De = ["onClick", "onMouseenter"], Fe = { class: "table-head-container" }, Ne = {
24
24
  key: 0,
25
25
  class: "totals-row"
26
- }, Ne = ["data-testid"], ze = ["onMouseenter", "onClick"], Ge = {
26
+ }, Oe = ["data-testid"], ze = ["onMouseenter", "onClick"], Ge = {
27
27
  key: 2,
28
28
  class: "expanded-row"
29
29
  }, Ke = {
@@ -73,12 +73,12 @@ const Me = ["data-testid"], Pe = ["data-testid"], Le = ["data-testid"], Ve = {
73
73
  setup(l, { expose: m, emit: h }) {
74
74
  const a = l;
75
75
  me((s) => ({
76
- "0c9e7708": l.zIndexBase,
77
- "5a1e7908": t(le),
78
- bccc3116: t(G),
79
- "43a31123": t(fe)
76
+ "30f420c8": l.zIndexBase,
77
+ "25787d10": t(le),
78
+ "71198c09": t(G),
79
+ "31cbe0b7": t(fe)
80
80
  }));
81
- const b = ve(), q = (s) => a.rowCustomClassKey && a.rows[s] ? a.rows[s][a.rowCustomClassKey] : "", {
81
+ const v = be(), q = (s) => a.rowCustomClassKey && a.rows[s] ? a.rows[s][a.rowCustomClassKey] : "", {
82
82
  list: p,
83
83
  containerProps: z,
84
84
  wrapperProps: J,
@@ -94,15 +94,15 @@ const Me = ["data-testid"], Pe = ["data-testid"], Le = ["data-testid"], Ve = {
94
94
  toggleExpandRow: te,
95
95
  cssExpandGridCol: le,
96
96
  isRowExpanded: V,
97
- hasCheckboxes: O,
97
+ hasCheckboxes: D,
98
98
  activeMenuRow: se,
99
99
  scrollTo: ae
100
- } = Te(a, h), W = u(() => !!b.footer), ie = u(
101
- () => a.title || b.title || _.value || b["table-header-actions"] || b["table-header-pre-search"]
100
+ } = Te(a, h), W = u(() => !!v.footer), ie = u(
101
+ () => a.title || v.title || _.value || v["table-header-actions"] || v["table-header-pre-search"]
102
102
  ), x = u({
103
103
  get: () => a.search,
104
104
  set: (s) => h("update:search", s)
105
- }), oe = u(() => a.selection.length || 0), D = u(() => {
105
+ }), oe = u(() => a.selection.length || 0), F = u(() => {
106
106
  const s = a.rows.map((o, e) => a.getRowId(o, e));
107
107
  return !!s.length && s.every((o) => E(o));
108
108
  }), E = (s) => a.selection.findIndex((o) => a.selectedMatcher(s, o)) !== -1, de = (s) => {
@@ -112,7 +112,7 @@ const Me = ["data-testid"], Pe = ["data-testid"], Le = ["data-testid"], Ve = {
112
112
  )
113
113
  ), h("selectRow", !1)) : (B([...a.selection, s]), h("selectRow", !0));
114
114
  }, ne = () => {
115
- if (D.value)
115
+ if (F.value)
116
116
  B([]), h("selectAll", !1);
117
117
  else {
118
118
  const s = a.rows.map((o, e) => a.getRowId(o, e)).filter((o) => !E(o));
@@ -124,7 +124,7 @@ const Me = ["data-testid"], Pe = ["data-testid"], Le = ["data-testid"], Ve = {
124
124
  () => a.emptyStateVariant ?? (x.value ? "no-results" : "no-data")
125
125
  ), ue = u(
126
126
  () => a.emptyStateSubtitle ? a.emptyStateSubtitle : x.value ? "Search again with different filters" : void 0
127
- ), F = u(() => ({
127
+ ), N = u(() => ({
128
128
  class: {
129
129
  sticky: a.isSelectionSticky,
130
130
  bordered: a.isSelectionBordered
@@ -149,7 +149,7 @@ const Me = ["data-testid"], Pe = ["data-testid"], Le = ["data-testid"], Ve = {
149
149
  "data-testid": `${l.testId}-${t($).CONTAINER}`,
150
150
  onMouseleave: o[3] || (o[3] = (e) => T.value = null)
151
151
  }, [
152
- v("table", {
152
+ b("table", {
153
153
  ref: t(z).ref,
154
154
  style: S(t(ee)),
155
155
  class: f({
@@ -163,7 +163,7 @@ const Me = ["data-testid"], Pe = ["data-testid"], Le = ["data-testid"], Ve = {
163
163
  t(ie) ? (i(), I(t($e), {
164
164
  key: 0,
165
165
  search: t(x),
166
- "onUpdate:search": o[0] || (o[0] = (e) => be(x) ? x.value = e : null),
166
+ "onUpdate:search": o[0] || (o[0] = (e) => ve(x) ? x.value = e : null),
167
167
  title: l.title,
168
168
  "is-sticky": l.isStickyHeader,
169
169
  "show-search": l.showSearch,
@@ -181,14 +181,14 @@ const Me = ["data-testid"], Pe = ["data-testid"], Le = ["data-testid"], Ve = {
181
181
  ]),
182
182
  _: 2
183
183
  }, [
184
- t(b)["table-header-pre-search"] ? {
184
+ t(v)["table-header-pre-search"] ? {
185
185
  name: "table-header-pre-search",
186
186
  fn: g(() => [
187
187
  r(s.$slots, "table-header-pre-search")
188
188
  ]),
189
189
  key: "0"
190
190
  } : void 0,
191
- t(b)["table-header-actions"] ? {
191
+ t(v)["table-header-actions"] ? {
192
192
  name: "table-header-actions",
193
193
  fn: g(() => [
194
194
  r(s.$slots, "table-header-actions")
@@ -196,10 +196,10 @@ const Me = ["data-testid"], Pe = ["data-testid"], Le = ["data-testid"], Ve = {
196
196
  key: "1"
197
197
  } : void 0
198
198
  ]), 1032, ["search", "title", "is-sticky", "show-search", "search-placeholder", "search-auto-focus", "z-index-base", "test-id"])) : c("", !0),
199
- v("thead", {
199
+ b("thead", {
200
200
  class: f({ sticky: l.isSticky, isStickyHeader: l.isStickyHeader })
201
201
  }, [
202
- v("div", {
202
+ b("div", {
203
203
  class: "sections",
204
204
  "data-testid": `${l.testId}-${t($).SECTIONS}`
205
205
  }, [
@@ -208,13 +208,13 @@ const Me = ["data-testid"], Pe = ["data-testid"], Le = ["data-testid"], Ve = {
208
208
  class: f(["section-container", { sticky: e.isSticky }])
209
209
  }, [
210
210
  r(s.$slots, `section-${e.id}`, {}, () => [
211
- v("div", {
211
+ b("div", {
212
212
  style: S({ width: e.width + "px" }),
213
213
  class: f({ section: !0 })
214
214
  }, [
215
215
  k(t(L), { variant: "body2" }, {
216
216
  default: g(() => [
217
- M(N(e.title), 1)
217
+ M(O(e.title), 1)
218
218
  ]),
219
219
  _: 2
220
220
  }, 1024)
@@ -222,18 +222,18 @@ const Me = ["data-testid"], Pe = ["data-testid"], Le = ["data-testid"], Ve = {
222
222
  ])
223
223
  ], 2))), 128))
224
224
  ], 8, Le),
225
- v("tr", {
225
+ b("tr", {
226
226
  style: S({ height: `${t(j)}px` })
227
227
  }, [
228
- t(O) ? (i(), d("th", P({
228
+ t(D) ? (i(), d("th", P({
229
229
  key: 0,
230
230
  class: "checkbox-cell"
231
- }, t(F)), [
231
+ }, t(N)), [
232
232
  r(s.$slots, "select-all-checkbox", {}, () => [
233
233
  k(t(Q), {
234
234
  disabled: l.isLoading,
235
- "is-checked": t(D),
236
- "is-indeterminate": !t(D) && t(oe) > 0,
235
+ "is-checked": t(F),
236
+ "is-indeterminate": !t(F) && t(oe) > 0,
237
237
  "onUpdate:isChecked": ne
238
238
  }, null, 8, ["disabled", "is-checked", "is-indeterminate"])
239
239
  ])
@@ -248,9 +248,9 @@ const Me = ["data-testid"], Pe = ["data-testid"], Le = ["data-testid"], Ve = {
248
248
  }),
249
249
  style: S(e.isSticky ? t(H)[e.id] : null),
250
250
  onClick: (n) => e.isSortable ? t(Z)(e) : null,
251
- onMouseOver: () => h("columnHover", e)
251
+ onMouseenter: () => h("columnHover", e)
252
252
  }, [
253
- v("div", De, [
253
+ b("div", Fe, [
254
254
  r(s.$slots, `header-${e.id}`, { column: e }, () => [
255
255
  k(t(Re), {
256
256
  text: e.helpText,
@@ -266,7 +266,7 @@ const Me = ["data-testid"], Pe = ["data-testid"], Le = ["data-testid"], Ve = {
266
266
  })
267
267
  }, {
268
268
  default: g(() => [
269
- M(N(e.title), 1)
269
+ M(O(e.title), 1)
270
270
  ]),
271
271
  _: 2
272
272
  }, 1032, ["class"])
@@ -286,13 +286,13 @@ const Me = ["data-testid"], Pe = ["data-testid"], Le = ["data-testid"], Ve = {
286
286
  "sort-order": l.sort.sortOrder
287
287
  }, null, 8, ["sort-order"])) : c("", !0)
288
288
  ])
289
- ], 46, Oe))), 128))
289
+ ], 46, De))), 128))
290
290
  ], 4),
291
- l.showTotalsRow && t(p).length > 0 ? (i(), d("tr", Fe, [
292
- t(O) ? (i(), d("td", P({
291
+ l.showTotalsRow && t(p).length > 0 ? (i(), d("tr", Ne, [
292
+ t(D) ? (i(), d("td", P({
293
293
  key: 0,
294
294
  class: "bg"
295
- }, t(F)), null, 16)) : c("", !0),
295
+ }, t(N)), null, 16)) : c("", !0),
296
296
  (i(!0), d(C, null, R(l.columns, (e, y) => (i(), d("td", {
297
297
  key: e.id,
298
298
  class: f({
@@ -315,7 +315,7 @@ const Me = ["data-testid"], Pe = ["data-testid"], Le = ["data-testid"], Ve = {
315
315
  ], 6))), 128))
316
316
  ])) : c("", !0)
317
317
  ], 2),
318
- v("tbody", null, [
318
+ b("tbody", null, [
319
319
  t(p).length > 0 ? (i(), d("div", P({
320
320
  key: 0,
321
321
  class: "table-body-wrapper",
@@ -334,10 +334,10 @@ const Me = ["data-testid"], Pe = ["data-testid"], Le = ["data-testid"], Ve = {
334
334
  onMouseenter: (y) => T.value = e.index,
335
335
  onClick: (y) => h("clickRow", e.index)
336
336
  }, [
337
- t(O) ? (i(), d("td", P({
337
+ t(D) ? (i(), d("td", P({
338
338
  key: 0,
339
339
  class: "checkbox-cell"
340
- }, t(F), {
340
+ }, t(N), {
341
341
  style: t(A)[e.index]
342
342
  }), [
343
343
  k(t(Q), {
@@ -382,7 +382,7 @@ const Me = ["data-testid"], Pe = ["data-testid"], Le = ["data-testid"], Ve = {
382
382
  }, () => [
383
383
  k(t(L), { variant: "body1" }, {
384
384
  default: g(() => [
385
- M(N(e.data[n]), 1)
385
+ M(O(e.data[n]), 1)
386
386
  ]),
387
387
  _: 2
388
388
  }, 1024)
@@ -404,7 +404,7 @@ const Me = ["data-testid"], Pe = ["data-testid"], Le = ["data-testid"], Ve = {
404
404
  })
405
405
  ])) : c("", !0)
406
406
  ], 46, ze))), 128))
407
- ], 16, Ne)) : (i(), d("div", {
407
+ ], 16, Oe)) : (i(), d("div", {
408
408
  key: 1,
409
409
  style: S(
410
410
  l.useAvailableHeight ? { height: `${t(ge)}px` } : {}
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import './IncludeExcludeChipFilter.vue_vue_type_style_index_0_scoped_198d2d73_lang.css';
1
+ import './IncludeExcludeOptionDraggable.vue_vue_type_style_index_0_scoped_a91fcaa5_lang.css';
2
2
  import { AppTriggerTypes as eo } from "./components/appTrigger/index.js";
3
3
  import { AutocompleteDropdownTypes as mo } from "./components/autocompleteDropdown/index.js";
4
4
  import { MenuItemTypes as ao } from "./components/menuItem/index.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ironsource/shared-ui",
3
- "version": "2.2.0-rc.15",
3
+ "version": "2.2.0-rc.17",
4
4
  "engines": {
5
5
  "npm": ">=7.0.0",
6
6
  "node": ">=16.0.0"
@@ -1 +0,0 @@
1
- .chart-header[data-v-9a603520]{display:flex;align-items:center;justify-content:space-between;padding:24px 24px 0}.chart-header--compact[data-v-9a603520]{padding-top:22px}.chart-header--compact .header-texts[data-v-9a603520]{flex-direction:row}.chart-header--compact .header-text[data-v-9a603520]{color:var(--text-secondary)}.header-row[data-v-9a603520]{display:flex;align-items:flex-end;gap:4px}.header-texts[data-v-9a603520]{display:flex;flex-direction:column;color:var(--text-primary);gap:4px;cursor:default}.header-actions[data-v-9a603520]{display:flex;align-items:center;gap:var(--spacing-200)}
@@ -1 +0,0 @@
1
- .column-picker[data-v-01c4e08f]{width:37.375rem;border-radius:var(--border-radius-lg);background:var(--background-modal-elevation)}.content[data-v-01c4e08f]{min-height:18.75rem;display:grid;grid-template-columns:1fr 1fr}.selected-list-wrapper[data-v-01c4e08f]{padding:.25rem 1rem 1rem}.scrollable-list[data-v-01c4e08f]{overflow-y:auto;max-height:24.625rem}.search-wrapper[data-v-01c4e08f]{height:3rem;padding:1rem 1rem .25rem}.options-list-wrapper[data-v-01c4e08f]{border-right:1px solid var(--common-divider)}.options-list[data-v-01c4e08f]{margin:0;list-style:none;padding:.3125rem .75rem}.options-list__item[data-v-01c4e08f]{margin-bottom:.5rem}.options-list[data-v-01c4e08f] .item-container{margin-bottom:1px;min-height:1.9375rem}.selected-list-header[data-v-01c4e08f]{height:3rem;padding:.25rem 1rem 0;display:flex;justify-content:space-between;align-items:center}.group-name[data-v-01c4e08f]{color:var(--text-secondary)}.inline-group[data-v-01c4e08f]{padding:.25rem .5rem}.no-result-container[data-v-01c4e08f]{height:100%;display:flex;align-items:center;padding:.375rem .5rem;color:var(--text-disabled)}
@@ -1 +0,0 @@
1
- .sticky[data-v-b16780cd]{position:sticky}.table-container[data-v-b16780cd]{width:100%;position:relative;display:flex;flex-direction:column}.table-head-container[data-v-b16780cd]{display:flex;align-items:center;white-space:nowrap;color:var(--text-primary)}.table-footer[data-v-b16780cd]{color:var(--text-primary);background-color:var(--background-paper-elevation-0);padding:0 var(--spacing-300);display:flex;align-items:center;min-height:var(--spacing-600);border:1px solid var(--common-divider);border-radius:var(--border-radius-md);border-top-right-radius:0;border-top-left-radius:0}.table-body-wrapper[data-v-b16780cd]{display:inline-table}.table-row[data-v-b16780cd]{position:relative}.table-row.loading[data-v-b16780cd]{opacity:.7}.table-row:not(.expanded):last-child>td[data-v-b16780cd]{border-bottom:none}.table-row.expanded:last-child>.expanded-row[data-v-b16780cd]{border-bottom:none}.expanded-row[data-v-b16780cd]{grid-column:var(--5a1e7908);border-bottom:1px solid var(--common-divider);background-color:var(--background-default)}table[data-v-b16780cd]{position:relative;display:block;overflow:auto;background:var(--background-paper-elevation-0);border:1px solid var(--common-divider);color:var(--text-primary);text-align:left;table-layout:fixed;width:100%;max-height:100%;border-radius:var(--border-radius-md);border-collapse:collapse;border-spacing:0}table.hasFooter[data-v-b16780cd]{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:none}table td[data-v-b16780cd],table th[data-v-b16780cd]{line-height:normal;padding:0 var(--spacing-200)}table td[data-v-b16780cd]:first-of-type,table th[data-v-b16780cd]:first-of-type{padding-left:var(--spacing-300)}table td[data-v-b16780cd]:last-of-type,table th[data-v-b16780cd]:last-of-type{padding-right:var(--spacing-300)}table td.expand-toggle-cell[data-v-b16780cd],table th.expand-toggle-cell[data-v-b16780cd]{padding-left:var(--spacing-150);padding-right:var(--spacing-75)}table>thead[data-v-b16780cd]{border-bottom:none;z-index:calc(var(--0c9e7708) + 1);display:inline-table;min-width:100%}table>thead>tr[data-v-b16780cd]{color:var(--text-primary);border-bottom:1px solid var(--common-divider);display:grid;grid-template-columns:var(--bccc3116)}table>thead>tr>th[data-v-b16780cd]{background:var(--background-paper-elevation-0);width:100%;display:flex;align-items:center;cursor:default}table>thead>tr>th.isSortable[data-v-b16780cd]{cursor:pointer}table>thead>tr>td[data-v-b16780cd]{display:flex;align-items:center}table>thead>tr>th.bordered[data-v-b16780cd],table>thead>tr>td.bordered[data-v-b16780cd]{border-right:1px solid var(--common-divider)}table>thead>tr>th.bordered.isStickyRight[data-v-b16780cd],table>thead>tr>td.bordered.isStickyRight[data-v-b16780cd]{border-right:none;border-left:1px solid var(--common-divider)}table>thead>tr>th.isTextRight[data-v-b16780cd],table>thead>tr>td.isTextRight[data-v-b16780cd]{justify-content:flex-end}table>thead.sticky[data-v-b16780cd]{position:sticky;top:0;background:var(--background-default)}table>thead.isStickyHeader[data-v-b16780cd]{z-index:calc(var(--0c9e7708) + 2);top:var(--43a31123)}table .totals-row[data-v-b16780cd]{height:40px}table .totals-row[data-v-b16780cd]:hover{background:var(--background-paper-elevation-1)}table .totals-row>td.sticky[data-v-b16780cd]{background-color:var(--background-default)}table>tbody[data-v-b16780cd]{display:block}table>tbody>*>tr[data-v-b16780cd]{background-color:var(--background-default);height:auto;display:grid;align-items:center;grid-template-columns:var(--bccc3116)}table>tbody>*>tr:nth-of-type(2n)>td[data-v-b16780cd]{background-color:var(--background-default)}table>tbody>*>tr:hover:not(.loading)>td[data-v-b16780cd],table>tbody>*>tr.activeMenu>td[data-v-b16780cd]{background-color:var(--background-paper-elevation-1)}table>tbody td[data-v-b16780cd]{background-color:var(--background-default);border:none;min-width:0;display:flex;height:auto;width:100%;place-items:center;border-bottom:1px solid var(--common-divider);justify-content:start}table>tbody td.bordered[data-v-b16780cd]{border-right:1px solid var(--common-divider)}table>tbody td.bordered.isStickyRight[data-v-b16780cd]{border-right:none;border-left:1px solid var(--common-divider)}table>tbody td.isTextRight[data-v-b16780cd]{justify-content:flex-end;text-align:right}.underlined[data-v-b16780cd]{border-bottom:.0625rem dashed var(--default-outlined-border)}.underlined[data-v-b16780cd]:hover{cursor:pointer}.section-container[data-v-b16780cd]{left:0}.sections[data-v-b16780cd]{display:flex}.section[data-v-b16780cd]{padding:0 1.5rem;background:var(--background-default);left:0;height:32px;display:flex;align-items:flex-end;border-right:1px solid var(--common-divider)}.table-cell[data-v-b16780cd]{width:100%}.empty-state[data-v-b16780cd]{min-height:250px}.floating-row[data-v-b16780cd]{display:flex;inset:0;pointer-events:none;position:absolute;z-index:calc(var(--0c9e7708) + 1)}.floating-row *[data-v-b16780cd-s]{pointer-events:auto}.bg[data-v-b16780cd]{background:var(--background-default)}.useAvailableHeight[data-v-b16780cd]{height:100%}.disabled-scrolling[data-v-b16780cd]{overflow:hidden}