@ironsource/shared-ui 2.2.0-rc.14 → 2.2.0-rc.16
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.
- package/ChartHeader.vue_vue_type_style_index_0_scoped_3a061c08_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_0967498f_lang.css +1 -0
- package/components/chart/ChartHeader.vue.js +2 -2
- package/components/chart/ChartHeader.vue2.js +2 -2
- package/components/emptyState/v4/EmptyStateV4.vue2.js +86 -1
- package/components/table/v4/DataGrid.vue.js +2 -2
- package/components/table/v4/DataGrid.vue2.js +39 -39
- package/index.js +1 -1
- package/package.json +1 -1
- package/ChartHeader.vue_vue_type_style_index_0_scoped_9a603520_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_b16780cd_lang.css +0 -1
|
@@ -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
|
+
.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.
|
|
4
|
-
const r = /* @__PURE__ */ o(e, [["__scopeId", "data-v-
|
|
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.
|
|
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" : "
|
|
85
|
+
variant: e.compact ? "h5" : "h1"
|
|
86
86
|
}, {
|
|
87
87
|
default: d(() => [
|
|
88
88
|
b(v(e.header), 1)
|
|
@@ -1 +1,86 @@
|
|
|
1
|
-
import "../../../EmptyStateV4.vue_vue_type_style_index_0_scoped_76757f22_lang.css";
|
|
1
|
+
import "../../../EmptyStateV4.vue_vue_type_style_index_0_scoped_76757f22_lang.css"; import I from "../../../_virtual/dynamic-import-helper.js";
|
|
2
|
+
import { defineComponent as T, computed as N, defineAsyncComponent as b, openBlock as o, createElementBlock as k, mergeProps as s, unref as e, createBlock as n, createCommentVNode as a, createElementVNode as C, renderSlot as p, withCtx as m, createTextVNode as l, toDisplayString as u } from "vue";
|
|
3
|
+
import E from "../../button/v4/ButtonV4.vue.js";
|
|
4
|
+
import "../../button/v4/IconButtonV4.vue.js";
|
|
5
|
+
import "../../button/v4/ButtonGroup.vue.js";
|
|
6
|
+
import "../../button/v4/ToggleButtonGroupAB.vue.js";
|
|
7
|
+
import y from "../../typography/v4/Typography.vue.js";
|
|
8
|
+
import { capitalizeFirstLetter as S, snakeCaseToCamelCase as g } from "../../../utils/string.js";
|
|
9
|
+
import x from "../../icon/v4/IconV4.vue.js";
|
|
10
|
+
import "../../icon/v4/IconFlag.vue.js";
|
|
11
|
+
import { useTestIdAttrs as z } from "../../../utils/testIds.js";
|
|
12
|
+
import { EmptyStateTestIdModifiers as r } from "../../../testids/index.js";
|
|
13
|
+
const A = { class: "title-wrapper" }, P = /* @__PURE__ */ T({
|
|
14
|
+
__name: "EmptyStateV4",
|
|
15
|
+
props: {
|
|
16
|
+
title: { default: "No data to display" },
|
|
17
|
+
subtitle: { default: void 0 },
|
|
18
|
+
variant: { default: "no-data" },
|
|
19
|
+
buttonText: { default: void 0 },
|
|
20
|
+
iconName: { default: null },
|
|
21
|
+
iconType: { default: "regular" },
|
|
22
|
+
iconSize: { default: "48px" },
|
|
23
|
+
testId: { default: "" }
|
|
24
|
+
},
|
|
25
|
+
emits: ["click"],
|
|
26
|
+
setup(t) {
|
|
27
|
+
const d = t, v = N(() => {
|
|
28
|
+
const i = S(g(d.variant));
|
|
29
|
+
return b(() => I(/* @__PURE__ */ Object.assign({ "./icons/IconError.vue": () => import("./icons/IconError.vue.js"), "./icons/IconFiles.vue": () => import("./icons/IconFiles.vue.js"), "./icons/IconNoAccess.vue": () => import("./icons/IconNoAccess.vue.js"), "./icons/IconNoData.vue": () => import("./icons/IconNoData.vue.js"), "./icons/IconNoResults.vue": () => import("./icons/IconNoResults.vue.js"), "./icons/IconSettings.vue": () => import("./icons/IconSettings.vue.js") }), `./icons/Icon${i}.vue`));
|
|
30
|
+
}), c = z(d.testId, r);
|
|
31
|
+
return (i, f) => (o(), k("div", s({ class: "empty-state" }, e(c)[e(r).CONTAINER]), [
|
|
32
|
+
t.variant && !t.iconName ? (o(), n(e(v), {
|
|
33
|
+
key: 0,
|
|
34
|
+
class: "empty-variant-icon"
|
|
35
|
+
})) : a("", !0),
|
|
36
|
+
t.iconName ? (o(), n(e(x), {
|
|
37
|
+
key: 1,
|
|
38
|
+
class: "custom-empty-icon",
|
|
39
|
+
name: t.iconName,
|
|
40
|
+
size: t.iconSize,
|
|
41
|
+
type: t.iconType
|
|
42
|
+
}, null, 8, ["name", "size", "type"])) : a("", !0),
|
|
43
|
+
C("div", A, [
|
|
44
|
+
p(i.$slots, "content", {}, () => [
|
|
45
|
+
t.title ? (o(), n(e(y), s({
|
|
46
|
+
key: 0,
|
|
47
|
+
variant: "h4",
|
|
48
|
+
class: "title"
|
|
49
|
+
}, e(c)[e(r).TITLE]), {
|
|
50
|
+
default: m(() => [
|
|
51
|
+
l(u(t.title), 1)
|
|
52
|
+
]),
|
|
53
|
+
_: 1
|
|
54
|
+
}, 16)) : a("", !0),
|
|
55
|
+
t.subtitle ? (o(), n(e(y), s({
|
|
56
|
+
key: 1,
|
|
57
|
+
variant: "body1",
|
|
58
|
+
class: "subtitle"
|
|
59
|
+
}, e(c)[e(r).SUBTITLE]), {
|
|
60
|
+
default: m(() => [
|
|
61
|
+
l(u(t.subtitle), 1)
|
|
62
|
+
]),
|
|
63
|
+
_: 1
|
|
64
|
+
}, 16)) : a("", !0)
|
|
65
|
+
], !0)
|
|
66
|
+
]),
|
|
67
|
+
p(i.$slots, "button", {}, () => [
|
|
68
|
+
t.buttonText ? (o(), n(e(E), {
|
|
69
|
+
key: 0,
|
|
70
|
+
variant: "outlined",
|
|
71
|
+
color: "default",
|
|
72
|
+
class: "button",
|
|
73
|
+
onClick: f[0] || (f[0] = (B) => i.$emit("click"))
|
|
74
|
+
}, {
|
|
75
|
+
default: m(() => [
|
|
76
|
+
l(u(t.buttonText), 1)
|
|
77
|
+
]),
|
|
78
|
+
_: 1
|
|
79
|
+
})) : a("", !0)
|
|
80
|
+
], !0)
|
|
81
|
+
], 16));
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
export {
|
|
85
|
+
P as default
|
|
86
|
+
};
|
|
@@ -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.
|
|
4
|
-
const a = /* @__PURE__ */ _(o, [["__scopeId", "data-v-
|
|
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.
|
|
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
|
-
},
|
|
23
|
+
}, De = ["onClick", "onMouseenter"], Fe = { class: "table-head-container" }, Ne = {
|
|
24
24
|
key: 0,
|
|
25
25
|
class: "totals-row"
|
|
26
|
-
},
|
|
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
|
-
"
|
|
77
|
-
"
|
|
78
|
-
|
|
79
|
-
"
|
|
76
|
+
"30f420c8": l.zIndexBase,
|
|
77
|
+
"25787d10": t(le),
|
|
78
|
+
"71198c09": t(G),
|
|
79
|
+
"31cbe0b7": t(fe)
|
|
80
80
|
}));
|
|
81
|
-
const
|
|
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:
|
|
97
|
+
hasCheckboxes: D,
|
|
98
98
|
activeMenuRow: se,
|
|
99
99
|
scrollTo: ae
|
|
100
|
-
} = Te(a, h), W = u(() => !!
|
|
101
|
-
() => a.title ||
|
|
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),
|
|
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 (
|
|
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
|
-
),
|
|
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
|
-
|
|
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) =>
|
|
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(
|
|
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(
|
|
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
|
-
|
|
199
|
+
b("thead", {
|
|
200
200
|
class: f({ sticky: l.isSticky, isStickyHeader: l.isStickyHeader })
|
|
201
201
|
}, [
|
|
202
|
-
|
|
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
|
-
|
|
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(
|
|
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
|
-
|
|
225
|
+
b("tr", {
|
|
226
226
|
style: S({ height: `${t(j)}px` })
|
|
227
227
|
}, [
|
|
228
|
-
t(
|
|
228
|
+
t(D) ? (i(), d("th", P({
|
|
229
229
|
key: 0,
|
|
230
230
|
class: "checkbox-cell"
|
|
231
|
-
}, t(
|
|
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(
|
|
236
|
-
"is-indeterminate": !t(
|
|
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
|
-
|
|
251
|
+
onMouseenter: () => h("columnHover", e)
|
|
252
252
|
}, [
|
|
253
|
-
|
|
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(
|
|
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,
|
|
289
|
+
], 46, De))), 128))
|
|
290
290
|
], 4),
|
|
291
|
-
l.showTotalsRow && t(p).length > 0 ? (i(), d("tr",
|
|
292
|
-
t(
|
|
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(
|
|
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
|
-
|
|
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(
|
|
337
|
+
t(D) ? (i(), d("td", P({
|
|
338
338
|
key: 0,
|
|
339
339
|
class: "checkbox-cell"
|
|
340
|
-
}, t(
|
|
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(
|
|
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,
|
|
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 './
|
|
1
|
+
import './MenuItem.vue_vue_type_style_index_0_scoped_67e53b85_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 +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
|
-
.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}
|