@ironsource/shared-ui 2.1.12-test.70 → 2.1.12-test.72
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/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_ebc0c582_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_086c5b0d_lang.css +1 -0
- package/components/chart/ChartHeaderTrend.vue.js +3 -3
- package/components/chart/ChartHeaderTrend.vue2.js +34 -33
- package/components/chart/ChartStoryArgs.d.ts +1 -1
- package/components/table/common/Table.common.d.ts +0 -1
- package/components/table/common/Table.common.js +38 -39
- package/components/table/common/Table.types.d.ts +2 -0
- package/components/table/common/consts.d.ts +1 -0
- package/components/table/common/consts.js +2 -1
- package/components/table/v4/DataGrid.vue.d.ts +10 -1
- package/components/table/v4/DataGrid.vue.js +4 -4
- package/components/table/v4/DataGrid.vue2.js +294 -237
- package/components/table/v4/index.d.ts +34 -1
- package/components/table/v4/storyUtils.d.ts +2 -0
- package/index.d.ts +68 -2
- package/index.js +1 -1
- package/package.json +1 -1
- package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_79dc2883_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_86ea5d2a_lang.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.chart-trend[data-v-ebc0c582]{display:flex;color:var(--text-secondary)}.chart-trend--up[data-v-ebc0c582]{color:var(--success-contrast-text)}.chart-trend--up .trend-icon[data-v-ebc0c582]{color:var(--success-darker)}.chart-trend--down[data-v-ebc0c582]{color:var(--error-contrast-text)}.chart-trend--down .trend-icon[data-v-ebc0c582]{color:var(--error-dark)}.trend-icon[data-v-ebc0c582]{display:flex;align-self:normal}.chart-trend-tooltip[data-v-ebc0c582]{align-items:normal}.trend-tooltip[data-v-ebc0c582]{display:flex;flex-direction:column}.trend-tooltip__header[data-v-ebc0c582]{margin-bottom:.375rem}.trend-tooltip__text[data-v-ebc0c582]{color:var(--text-secondary)}.separator[data-v-ebc0c582]{display:flex;align-items:center;gap:.5rem;justify-content:center;height:1.1875rem}.separator__text[data-v-ebc0c582]{display:block;color:var(--text-secondary)}.separator hr[data-v-ebc0c582]{width:100%;height:1px;border:0;background:var(--common-divider)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.sticky[data-v-086c5b0d]{position:sticky}.table-container[data-v-086c5b0d]{width:100%;position:relative;display:flex;flex-direction:column}.table-header[data-v-086c5b0d]{display:flex;align-items:center;height:calc(var(--spacing-800) - 1px);border-bottom:1px solid var(--common-divider);background-color:var(--background-paper-elevation-0);position:sticky;left:0;padding:var(--spacing-300)}.table-header .table-title[data-v-086c5b0d]{display:flex;flex:1;align-items:center;justify-content:flex-start;height:100%;color:var(--text-primary)}.table-header .table-header-right[data-v-086c5b0d]{display:flex;align-items:center;height:100%}.table-header .search-wrapper[data-v-086c5b0d]{width:13.75rem}.table-header.isStickyHeader[data-v-086c5b0d]{z-index:calc(var(--93d4ced6) + 3);top:0}.table-head-container[data-v-086c5b0d]{display:flex;align-items:center;white-space:nowrap;color:var(--text-primary)}.table-footer[data-v-086c5b0d]{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-086c5b0d]{display:inline-table}.table-header-pre-search-content[data-v-086c5b0d]{margin-right:var(--spacing-100);display:flex;align-items:center}.table-header-actions[data-v-086c5b0d]{margin-left:var(--spacing-100);display:flex;align-items:center}.table-row[data-v-086c5b0d]{position:relative}.table-row.loading[data-v-086c5b0d]{opacity:.7}.table-row:not(.expanded):last-child>td[data-v-086c5b0d]{border-bottom:none}.table-row.expanded:last-child>.expanded-row[data-v-086c5b0d]{border-bottom:none}.expanded-row[data-v-086c5b0d]{grid-column:var(--1799c749);border-bottom:1px solid var(--common-divider);background-color:var(--background-default)}table[data-v-086c5b0d]{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-086c5b0d]{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:none}table td[data-v-086c5b0d],table th[data-v-086c5b0d]{line-height:normal;padding:0 var(--spacing-200)}table td[data-v-086c5b0d]:first-of-type,table th[data-v-086c5b0d]:first-of-type{padding-left:var(--spacing-300)}table td[data-v-086c5b0d]:last-of-type,table th[data-v-086c5b0d]:last-of-type{padding-right:var(--spacing-300)}table td.expand-toggle-cell[data-v-086c5b0d],table th.expand-toggle-cell[data-v-086c5b0d]{padding-left:var(--spacing-150);padding-right:var(--spacing-75)}table>thead[data-v-086c5b0d]{border-bottom:none;z-index:calc(var(--93d4ced6) + 1);display:inline-table;min-width:100%}table>thead>tr[data-v-086c5b0d]{color:var(--text-primary);border-bottom:1px solid var(--common-divider);height:var(--spacing-500);display:grid;grid-template-columns:var(--60112c02)}table>thead>tr>th[data-v-086c5b0d]{background:var(--background-paper-elevation-0);width:100%;display:flex;align-items:center;cursor:default}table>thead>tr>th.isSortable[data-v-086c5b0d]{cursor:pointer}table>thead>tr>td[data-v-086c5b0d]{display:flex;align-items:center}table>thead>tr>th.bordered[data-v-086c5b0d],table>thead>tr>td.bordered[data-v-086c5b0d]{border-right:1px solid var(--common-divider)}table>thead>tr>th.bordered.isStickyRight[data-v-086c5b0d],table>thead>tr>td.bordered.isStickyRight[data-v-086c5b0d]{border-right:none;border-left:1px solid var(--common-divider)}table>thead>tr>th.isTextRight[data-v-086c5b0d],table>thead>tr>td.isTextRight[data-v-086c5b0d]{justify-content:flex-end}table>thead.sticky[data-v-086c5b0d]{position:sticky;top:0;background:var(--background-default)}table>thead.isStickyHeader[data-v-086c5b0d]{z-index:calc(var(--93d4ced6) + 2);top:calc(var(--spacing-800) - 1px)}table .totals-row[data-v-086c5b0d]{height:40px}table .totals-row[data-v-086c5b0d]:hover{background:var(--background-paper-elevation-1)}table>tbody[data-v-086c5b0d]{display:block}table>tbody>*>tr[data-v-086c5b0d]{background-color:var(--background-default);height:auto;display:grid;align-items:center;grid-template-columns:var(--60112c02)}table>tbody>*>tr:nth-of-type(2n)>td[data-v-086c5b0d]{background-color:var(--background-default)}table>tbody>*>tr:hover:not(.loading)>td[data-v-086c5b0d],table>tbody>*>tr.activeMenu>td[data-v-086c5b0d]{background-color:var(--background-paper-elevation-1)}table>tbody td[data-v-086c5b0d]{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-086c5b0d]{border-right:1px solid var(--common-divider)}table>tbody td.bordered.isStickyRight[data-v-086c5b0d]{border-right:none;border-left:1px solid var(--common-divider)}table>tbody td.isTextRight[data-v-086c5b0d]{justify-content:flex-end;text-align:right}.underlined[data-v-086c5b0d]{border-bottom:.0625rem dashed var(--common-divider)}.underlined[data-v-086c5b0d]:hover{cursor:help}.section-container[data-v-086c5b0d]{left:0}.sections[data-v-086c5b0d]{display:flex}.section[data-v-086c5b0d]{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-086c5b0d]{width:100%}.empty-state[data-v-086c5b0d]{min-height:250px}.floating-row[data-v-086c5b0d]{display:flex;inset:0;pointer-events:none;position:absolute;z-index:calc(var(--93d4ced6) + 1)}.floating-row *[data-v-086c5b0d-s]{pointer-events:auto}.bg[data-v-086c5b0d]{background:var(--background-default)}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./ChartHeaderTrend.vue2.js";
|
|
2
2
|
/* empty css */import o from "../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../ChartHeaderTrend.
|
|
4
|
-
const
|
|
3
|
+
// import "../../ChartHeaderTrend.vue_vue_type_style_index_0_scoped_ebc0c582_lang.css"; //*');
|
|
4
|
+
const c = /* @__PURE__ */ o(e, [["__scopeId", "data-v-ebc0c582"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
c as default
|
|
7
7
|
};
|
|
@@ -1,86 +1,87 @@
|
|
|
1
|
-
import "../../ChartHeaderTrend.
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import "../../ChartHeaderTrend.vue_vue_type_style_index_0_scoped_ebc0c582_lang.css"; import { defineComponent as f, computed as v, openBlock as r, createElementBlock as p, normalizeClass as y, createVNode as u, unref as t, withCtx as o, createElementVNode as s, createBlock as i, createTextVNode as n, toDisplayString as d, createCommentVNode as a, pushScopeId as g, popScopeId as C } from "vue";
|
|
2
|
+
import l from "../typography/v4/Typography.vue.js";
|
|
3
|
+
import b from "../icon/v4/IconV4.vue.js";
|
|
4
4
|
import "../icon/v4/IconFlag.vue.js";
|
|
5
|
-
import
|
|
6
|
-
import { TrendDirection as
|
|
7
|
-
const
|
|
5
|
+
import k from "../tooltip/v4/TooltipV4.vue.js";
|
|
6
|
+
import { TrendDirection as m } from "./types.js";
|
|
7
|
+
const h = (e) => (g("data-v-ebc0c582"), e = e(), C(), e), x = { class: "trend-tooltip" }, N = {
|
|
8
8
|
key: 2,
|
|
9
9
|
class: "separator"
|
|
10
|
-
}, P = /* @__PURE__ */
|
|
10
|
+
}, P = /* @__PURE__ */ h(() => /* @__PURE__ */ s("hr", null, null, -1)), _ = /* @__PURE__ */ h(() => /* @__PURE__ */ s("hr", null, null, -1)), L = /* @__PURE__ */ f({
|
|
11
11
|
__name: "ChartHeaderTrend",
|
|
12
12
|
props: {
|
|
13
13
|
value: { default: null },
|
|
14
|
-
direction: { default:
|
|
14
|
+
direction: { default: m.UP },
|
|
15
15
|
trendTooltip: { default: null }
|
|
16
16
|
},
|
|
17
17
|
setup(e) {
|
|
18
|
-
const c = e,
|
|
18
|
+
const c = e, T = v(
|
|
19
19
|
() => c.trendTooltip?.header || c.trendTooltip?.rangeCurrent || c.trendTooltip?.rangePrevious
|
|
20
20
|
);
|
|
21
|
-
return (
|
|
22
|
-
class:
|
|
21
|
+
return (I, S) => (r(), p("div", {
|
|
22
|
+
class: y(["chart-trend", [`chart-trend--${e.direction}`]])
|
|
23
23
|
}, [
|
|
24
|
-
|
|
25
|
-
disabled: !t(
|
|
24
|
+
u(t(k), {
|
|
25
|
+
disabled: !t(T)
|
|
26
26
|
}, {
|
|
27
27
|
tooltip: o(() => [
|
|
28
|
-
|
|
29
|
-
e.trendTooltip?.header ? (r(),
|
|
28
|
+
s("div", x, [
|
|
29
|
+
e.trendTooltip?.header ? (r(), i(t(l), {
|
|
30
30
|
key: 0,
|
|
31
31
|
class: "trend-tooltip__header",
|
|
32
32
|
variant: "subtitle2"
|
|
33
33
|
}, {
|
|
34
34
|
default: o(() => [
|
|
35
|
-
|
|
35
|
+
n(d(e.trendTooltip.header), 1)
|
|
36
36
|
]),
|
|
37
37
|
_: 1
|
|
38
|
-
})) :
|
|
39
|
-
e.trendTooltip?.rangeCurrent ? (r(),
|
|
38
|
+
})) : a("", !0),
|
|
39
|
+
e.trendTooltip?.rangeCurrent ? (r(), i(t(l), {
|
|
40
40
|
key: 1,
|
|
41
41
|
variant: "body2",
|
|
42
42
|
class: "trend-tooltip__text"
|
|
43
43
|
}, {
|
|
44
44
|
default: o(() => [
|
|
45
|
-
|
|
45
|
+
n(d(e.trendTooltip.rangeCurrent), 1)
|
|
46
46
|
]),
|
|
47
47
|
_: 1
|
|
48
|
-
})) :
|
|
49
|
-
e.trendTooltip?.rangeCurrent && e.trendTooltip?.rangePrevious ? (r(), p("div",
|
|
48
|
+
})) : a("", !0),
|
|
49
|
+
e.trendTooltip?.rangeCurrent && e.trendTooltip?.rangePrevious ? (r(), p("div", N, [
|
|
50
50
|
P,
|
|
51
|
-
|
|
51
|
+
u(t(l), {
|
|
52
52
|
class: "separator__text",
|
|
53
53
|
variant: "caption"
|
|
54
54
|
}, {
|
|
55
55
|
default: o(() => [
|
|
56
|
-
|
|
56
|
+
n(" vs. ")
|
|
57
57
|
]),
|
|
58
58
|
_: 1
|
|
59
59
|
}),
|
|
60
|
-
|
|
61
|
-
])) :
|
|
62
|
-
e.trendTooltip?.rangePrevious ? (r(),
|
|
60
|
+
_
|
|
61
|
+
])) : a("", !0),
|
|
62
|
+
e.trendTooltip?.rangePrevious ? (r(), i(t(l), {
|
|
63
63
|
key: 3,
|
|
64
64
|
variant: "body2",
|
|
65
65
|
class: "trend-tooltip__text"
|
|
66
66
|
}, {
|
|
67
67
|
default: o(() => [
|
|
68
|
-
|
|
68
|
+
n(d(e.trendTooltip.rangePrevious), 1)
|
|
69
69
|
]),
|
|
70
70
|
_: 1
|
|
71
|
-
})) :
|
|
71
|
+
})) : a("", !0)
|
|
72
72
|
])
|
|
73
73
|
]),
|
|
74
74
|
default: o(() => [
|
|
75
|
-
|
|
75
|
+
e.direction !== t(m).NEUTRAL ? (r(), i(t(b), {
|
|
76
|
+
key: 0,
|
|
76
77
|
class: "trend-icon",
|
|
77
78
|
type: "bold",
|
|
78
79
|
name: `arrow-${e.direction}`,
|
|
79
80
|
size: "13px"
|
|
80
|
-
}, null, 8, ["name"]),
|
|
81
|
-
|
|
81
|
+
}, null, 8, ["name"])) : a("", !0),
|
|
82
|
+
u(t(l), { variant: "chipLabel" }, {
|
|
82
83
|
default: o(() => [
|
|
83
|
-
|
|
84
|
+
n(d(e.value), 1)
|
|
84
85
|
]),
|
|
85
86
|
_: 1
|
|
86
87
|
})
|
|
@@ -91,5 +92,5 @@ const m = (e) => (g("data-v-79dc2883"), e = e(), y(), e), k = { class: "trend-to
|
|
|
91
92
|
}
|
|
92
93
|
});
|
|
93
94
|
export {
|
|
94
|
-
|
|
95
|
+
L as default
|
|
95
96
|
};
|
|
@@ -31,7 +31,6 @@ export declare const tableCommon: (props: any, emit: any) => {
|
|
|
31
31
|
hasCheckboxes: import("vue").ComputedRef<boolean>;
|
|
32
32
|
toggleExpandRow: (index: number, event: any) => Promise<void>;
|
|
33
33
|
isRowExpanded: (rowIndex: number) => boolean;
|
|
34
|
-
cssRowHeight: import("vue").ComputedRef<string>;
|
|
35
34
|
cssExpandGridCol: import("vue").ComputedRef<string>;
|
|
36
35
|
activeMenuRow: import("vue").Ref<number>;
|
|
37
36
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { useSlots as
|
|
2
|
-
import { useVirtualList as
|
|
3
|
-
import { TableContext as
|
|
4
|
-
import { CHECKBOX_STICKY_COL_WIDTH as
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
|
|
1
|
+
import { useSlots as U, ref as a, provide as V, computed as n, onMounted as Y, nextTick as j } from "vue";
|
|
2
|
+
import { useVirtualList as q, useInfiniteScroll as F } from "@vueuse/core";
|
|
3
|
+
import { TableContext as J } from "./TableContext.js";
|
|
4
|
+
import { CHECKBOX_STICKY_COL_WIDTH as Q, CHECKBOX_COL_WIDTH as Z, EXPAND_COL_WIDTH as p, CHECKBOX_COLUMN_ID as tt } from "./consts.js";
|
|
5
|
+
const it = (e, d) => {
|
|
6
|
+
const T = U(), u = a([]);
|
|
7
|
+
V(J, {
|
|
8
8
|
onClose({ rowIndex: t, cellIndex: o, value: i } = {}) {
|
|
9
9
|
u.value = [...u.value, t], d("saveRow", {
|
|
10
10
|
rowIndex: t,
|
|
@@ -19,27 +19,27 @@ const rt = (e, d) => {
|
|
|
19
19
|
R.value = t;
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
|
-
const
|
|
23
|
-
const t = (
|
|
22
|
+
const g = n(() => !!e.selection), x = n(() => e.isSelectionSticky ? Q : Z), O = n(() => {
|
|
23
|
+
const t = (g.value ? `${x.value}px ` : "") + (h.value ? `${p}px ` : "");
|
|
24
24
|
return e.columns.reduce((o, { width: i, colSpan: l }) => {
|
|
25
25
|
const s = typeof i == "number" ? `${i}px` : i, S = s || `${l || 1}fr`;
|
|
26
26
|
return `${o} ${S}`;
|
|
27
27
|
}, t);
|
|
28
|
-
}),
|
|
28
|
+
}), h = n(() => !!T.expanded), H = a(null), R = a(null), k = n(() => Array(e.loadingRowCount).fill(
|
|
29
29
|
Array(e.columns.length).fill("")
|
|
30
30
|
)), I = n(() => e.rows.length && Array.isArray(e.rows[0]) ? e.isLoading ? [...e.rows, ...k.value] : e.rows : e.isLoading ? [
|
|
31
31
|
...e.rows.map((o) => o[e.rowDataKey]),
|
|
32
32
|
...k.value
|
|
33
|
-
] : e.rows.map((o) => o[e.rowDataKey])), { list:
|
|
33
|
+
] : e.rows.map((o) => o[e.rowDataKey])), { list: b, containerProps: r, wrapperProps: A, scrollTo: B } = q(
|
|
34
34
|
I,
|
|
35
35
|
{
|
|
36
|
-
itemHeight:
|
|
36
|
+
itemHeight: h.value ? (t) => w[t] ?? e.rowHeight : e.rowHeight
|
|
37
37
|
}
|
|
38
|
-
),
|
|
39
|
-
r.onScroll(),
|
|
38
|
+
), L = a(null), m = a(0), _ = n(() => !!T.search), $ = (t) => {
|
|
39
|
+
r.onScroll(), m.value = t.target.scrollLeft + t.target.getBoundingClientRect().width, d("onScroll", t.target.scrollTop);
|
|
40
40
|
};
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
Y(() => {
|
|
42
|
+
m.value = r.ref.value?.getBoundingClientRect().width, e.defaultScrollPosition && setTimeout(() => {
|
|
43
43
|
r.ref.value?.scrollTo({
|
|
44
44
|
top: e.defaultScrollPosition,
|
|
45
45
|
behavior: "smooth"
|
|
@@ -47,17 +47,17 @@ const rt = (e, d) => {
|
|
|
47
47
|
}, 300);
|
|
48
48
|
});
|
|
49
49
|
const E = n(() => {
|
|
50
|
-
const [t] =
|
|
50
|
+
const [t] = b.value;
|
|
51
51
|
return t && t.index > 0;
|
|
52
52
|
}), P = n(() => r.style), D = n(() => {
|
|
53
53
|
const t = {
|
|
54
|
-
id:
|
|
54
|
+
id: tt,
|
|
55
55
|
isSticky: e.isSelectionSticky,
|
|
56
|
-
width:
|
|
56
|
+
width: x.value
|
|
57
57
|
};
|
|
58
|
-
return
|
|
58
|
+
return g.value ? [t] : [];
|
|
59
59
|
}), f = n(() => [...D.value, ...e.columns]), K = n(() => f.value.reduce((t, o) => (o.isSticky && (t[o.id] = X(o)), t), {}));
|
|
60
|
-
|
|
60
|
+
F(
|
|
61
61
|
r.ref,
|
|
62
62
|
() => {
|
|
63
63
|
e.isInfiniteScroll && d("loadMore");
|
|
@@ -89,43 +89,42 @@ const rt = (e, d) => {
|
|
|
89
89
|
zIndex: 1
|
|
90
90
|
};
|
|
91
91
|
}
|
|
92
|
-
const
|
|
93
|
-
const i =
|
|
92
|
+
const v = a([]), w = {}, N = (t) => v.value.includes(t), z = async (t, o) => {
|
|
93
|
+
const i = v.value.indexOf(t);
|
|
94
94
|
if (i === -1) {
|
|
95
|
-
|
|
95
|
+
v.value.push(t);
|
|
96
96
|
const l = o.target.closest("tr");
|
|
97
|
-
await
|
|
97
|
+
await j(), l && (w[t] = l.offsetHeight);
|
|
98
98
|
} else
|
|
99
|
-
|
|
100
|
-
}, G = n(
|
|
99
|
+
v.value.splice(i, 1), delete w[t];
|
|
100
|
+
}, G = n(
|
|
101
101
|
() => `1 / span ${e.columns.length + 1}`
|
|
102
102
|
);
|
|
103
103
|
return {
|
|
104
|
-
list:
|
|
104
|
+
list: b,
|
|
105
105
|
containerProps: r,
|
|
106
106
|
wrapperProps: A,
|
|
107
|
-
activeRow:
|
|
108
|
-
gridColumnTemplate:
|
|
109
|
-
floatingActionRef:
|
|
107
|
+
activeRow: H,
|
|
108
|
+
gridColumnTemplate: O,
|
|
109
|
+
floatingActionRef: L,
|
|
110
110
|
scrollToTop: M,
|
|
111
111
|
toggleSortOrder: W,
|
|
112
112
|
columnsStickyPositions: K,
|
|
113
|
-
hasSearchSlot:
|
|
113
|
+
hasSearchSlot: _,
|
|
114
114
|
showBackToTopButton: E,
|
|
115
115
|
containerStyle: P,
|
|
116
|
-
onScroll:
|
|
116
|
+
onScroll: $,
|
|
117
117
|
scrollTo: B,
|
|
118
118
|
savingRows: u,
|
|
119
|
-
floatingActionPosition:
|
|
120
|
-
hasExpandSlot:
|
|
121
|
-
hasCheckboxes:
|
|
119
|
+
floatingActionPosition: m,
|
|
120
|
+
hasExpandSlot: h,
|
|
121
|
+
hasCheckboxes: g,
|
|
122
122
|
toggleExpandRow: z,
|
|
123
123
|
isRowExpanded: N,
|
|
124
|
-
|
|
125
|
-
cssExpandGridCol: U,
|
|
124
|
+
cssExpandGridCol: G,
|
|
126
125
|
activeMenuRow: R
|
|
127
126
|
};
|
|
128
127
|
};
|
|
129
128
|
export {
|
|
130
|
-
|
|
129
|
+
it as tableCommon
|
|
131
130
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
const _ = "__CHECKBOX_COLUMN_ID__", C = 46, O = 46, H = 57;
|
|
1
|
+
const _ = "__CHECKBOX_COLUMN_ID__", C = 46, O = 46, H = 57, D = 48;
|
|
2
2
|
export {
|
|
3
3
|
_ as CHECKBOX_COLUMN_ID,
|
|
4
4
|
O as CHECKBOX_COL_WIDTH,
|
|
5
5
|
H as CHECKBOX_STICKY_COL_WIDTH,
|
|
6
|
+
D as DEFAULT_ROW_HEIGHT,
|
|
6
7
|
C as EXPAND_COL_WIDTH
|
|
7
8
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Column, Row, SaveRowEvent, Section, Sort } from '../common/Table.types';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
title?: string;
|
|
4
4
|
columns: Column[];
|
|
@@ -16,10 +16,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
16
16
|
emptyStateTitle?: string;
|
|
17
17
|
emptyStateSubtitle?: string;
|
|
18
18
|
isInfiniteScroll?: boolean;
|
|
19
|
+
showTotalsRow?: boolean;
|
|
19
20
|
infiniteScrollThreshold?: number;
|
|
20
21
|
rowHeight?: number | ((index: number) => number);
|
|
21
22
|
loadingRowCount?: number;
|
|
22
23
|
defaultScrollPosition?: number;
|
|
24
|
+
helpTooltipVariant?: "icon" | "underline";
|
|
23
25
|
testId?: string;
|
|
24
26
|
search?: string;
|
|
25
27
|
showSearch?: boolean;
|
|
@@ -45,6 +47,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
45
47
|
rowHeight: number;
|
|
46
48
|
loadingRowCount: number;
|
|
47
49
|
defaultScrollPosition: any;
|
|
50
|
+
helpTooltipVariant: string;
|
|
48
51
|
testId: string;
|
|
49
52
|
selection: any;
|
|
50
53
|
getRowId: (row: any, index: any) => any;
|
|
@@ -89,10 +92,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
89
92
|
emptyStateTitle?: string;
|
|
90
93
|
emptyStateSubtitle?: string;
|
|
91
94
|
isInfiniteScroll?: boolean;
|
|
95
|
+
showTotalsRow?: boolean;
|
|
92
96
|
infiniteScrollThreshold?: number;
|
|
93
97
|
rowHeight?: number | ((index: number) => number);
|
|
94
98
|
loadingRowCount?: number;
|
|
95
99
|
defaultScrollPosition?: number;
|
|
100
|
+
helpTooltipVariant?: "icon" | "underline";
|
|
96
101
|
testId?: string;
|
|
97
102
|
search?: string;
|
|
98
103
|
showSearch?: boolean;
|
|
@@ -118,6 +123,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
118
123
|
rowHeight: number;
|
|
119
124
|
loadingRowCount: number;
|
|
120
125
|
defaultScrollPosition: any;
|
|
126
|
+
helpTooltipVariant: string;
|
|
121
127
|
testId: string;
|
|
122
128
|
selection: any;
|
|
123
129
|
getRowId: (row: any, index: any) => any;
|
|
@@ -168,12 +174,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
168
174
|
getRowKey: (row: Row, index: number) => string | number;
|
|
169
175
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
170
176
|
emptyStateVariant: "error" | "settings" | "no-access" | "no-results" | "no-data" | "files";
|
|
177
|
+
helpTooltipVariant: "icon" | "underline";
|
|
171
178
|
rowCustomClassKey: string;
|
|
172
179
|
rowDataKey: string;
|
|
173
180
|
isSelectionSticky: boolean;
|
|
174
181
|
isSelectionBordered: boolean;
|
|
175
182
|
}>, Partial<Record<`section-${string}`, (_: {}) => any>> & Partial<Record<`header-${string}`, (_: {
|
|
176
183
|
column: Column;
|
|
184
|
+
}) => any>> & Partial<Record<`total-${string}`, (_: {
|
|
185
|
+
column: Column;
|
|
177
186
|
}) => any>> & Partial<Record<`cell-${string}`, (_: {
|
|
178
187
|
cell: unknown;
|
|
179
188
|
isLoading: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./DataGrid.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../DataGrid.
|
|
4
|
-
const
|
|
2
|
+
/* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../DataGrid.vue_vue_type_style_index_0_scoped_086c5b0d_lang.css"; //*');
|
|
4
|
+
const a = /* @__PURE__ */ _(o, [["__scopeId", "data-v-086c5b0d"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|