@ironsource/shared-ui 2.1.8-rc.9 → 2.1.8-test.0
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/DataGrid.vue_vue_type_style_index_0_scoped_2f666594_lang.css +1 -0
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_82ba0e12_lang.css +1 -0
- package/Table.vue_vue_type_style_index_0_scoped_76fef9bd_lang.css +1 -0
- package/components/chart/consts.d.ts +6 -0
- package/components/chart/consts.js +14 -15
- package/components/chart/index.d.ts +21 -20
- package/components/table/common/Table.types.d.ts +0 -6
- package/components/table/v3/Table.vue.d.ts +13 -3
- package/components/table/v3/Table.vue.js +5 -5
- package/components/table/v3/Table.vue2.js +2 -2
- package/components/table/v3/index.d.ts +42 -7
- package/components/table/v4/DataGrid.vue.d.ts +13 -3
- package/components/table/v4/DataGrid.vue.js +3 -3
- package/components/table/v4/DataGrid.vue2.js +5 -5
- package/components/table/v4/MultipleDataGrid.vue.d.ts +1 -7
- package/components/table/v4/MultipleDataGrid.vue.js +3 -3
- package/components/table/v4/MultipleDataGrid.vue2.js +75 -76
- package/components/table/v4/index.d.ts +43 -28
- package/index.d.ts +170 -70
- package/index.js +11 -9
- package/package.json +1 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_d27e1304_lang.css +0 -1
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_cfedf78b_lang.css +0 -1
- package/Table.vue_vue_type_style_index_0_scoped_9375215d_lang.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.sticky[data-v-2f666594]{position:sticky}.table-container[data-v-2f666594]{width:100%;position:relative;display:flex;flex-direction:column}.table-header[data-v-2f666594]{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-2f666594]{display:flex;flex:1;align-items:center;justify-content:flex-start;height:100%;color:var(--text-primary)}.table-header .table-header-right[data-v-2f666594]{display:flex;align-items:center;height:100%}.table-header .search-wrapper[data-v-2f666594]{width:13.75rem}.table-header.isStickyHeader[data-v-2f666594]{z-index:calc(var(--416084ad) + 3);top:0}.table-head-container[data-v-2f666594]{display:flex;align-items:center;white-space:nowrap;color:var(--text-primary)}.table-footer[data-v-2f666594]{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-2f666594]{display:inline-table}.table-header-actions[data-v-2f666594]{margin-left:var(--spacing-100);display:flex;align-items:center}.table-row[data-v-2f666594]{position:relative}.table-row.loading[data-v-2f666594]{opacity:.7}.table-row:not(.expanded):last-child>td[data-v-2f666594]{border-bottom:none}.table-row.expanded:last-child>.expanded-row[data-v-2f666594]{border-bottom:none}.expanded-row[data-v-2f666594]{grid-column:var(--90cd7d3e);border-bottom:1px solid var(--common-divider);background-color:var(--background-default)}table[data-v-2f666594]{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-2f666594]{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:none}table td[data-v-2f666594],table th[data-v-2f666594]{line-height:normal;padding:0 var(--spacing-200)}table td[data-v-2f666594]:first-of-type,table th[data-v-2f666594]:first-of-type{padding-left:var(--spacing-300)}table td[data-v-2f666594]:last-of-type,table th[data-v-2f666594]:last-of-type{padding-right:var(--spacing-300)}table td.expand-toggle-cell[data-v-2f666594],table th.expand-toggle-cell[data-v-2f666594]{padding-left:var(--spacing-150);padding-right:var(--spacing-75)}table>thead[data-v-2f666594]{border-bottom:none;z-index:calc(var(--416084ad) + 1);display:inline-table;min-width:100%}table>thead>tr[data-v-2f666594]{color:var(--text-primary);border-bottom:1px solid var(--common-divider);height:var(--spacing-500);display:grid;grid-template-columns:var(--03caffcc)}table>thead>tr>th[data-v-2f666594]{background:var(--background-paper-elevation-0);width:100%;display:flex;align-items:center;cursor:default}table>thead>tr>th.bordered[data-v-2f666594]{border-right:1px solid var(--common-divider)}table>thead>tr>th.bordered.isStickyRight[data-v-2f666594]{border-right:none;border-left:1px solid var(--common-divider)}table>thead>tr>th.isTextRight[data-v-2f666594]{justify-content:flex-end}table>thead>tr>th.isSortable[data-v-2f666594]{cursor:pointer}table>thead.sticky[data-v-2f666594]{position:sticky;top:0;background:white}table>thead.isStickyHeader[data-v-2f666594]{z-index:calc(var(--416084ad) + 2);top:calc(var(--spacing-800) - 1px)}table>tbody[data-v-2f666594]{display:block}table>tbody>*>tr[data-v-2f666594]{background-color:var(--background-default);min-height:var(--64d76d22);height:auto;display:grid;align-items:center;grid-template-columns:var(--03caffcc)}table>tbody>*>tr:nth-of-type(2n)>td[data-v-2f666594]{background-color:var(--background-default)}table>tbody>*>tr:hover:not(.loading)>td[data-v-2f666594],table>tbody>*>tr.activeMenu>td[data-v-2f666594]{background-color:var(--background-paper-elevation-1)}table>tbody td[data-v-2f666594]{background-color:var(--background-default);border:none;min-width:0;display:flex;min-height:var(--64d76d22);height:auto;width:100%;place-items:center;border-bottom:1px solid var(--common-divider);justify-content:start}table>tbody td.bordered[data-v-2f666594]{border-right:1px solid var(--common-divider)}table>tbody td.bordered.isStickyRight[data-v-2f666594]{border-right:none;border-left:1px solid var(--common-divider)}table>tbody td.isTextRight[data-v-2f666594]{justify-content:flex-end;text-align:right}.section-container[data-v-2f666594]{left:0}.sections[data-v-2f666594]{display:flex}.section[data-v-2f666594]{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-2f666594]{width:100%}.empty-state[data-v-2f666594]{min-height:250px}.floating-row[data-v-2f666594]{display:flex;inset:0;pointer-events:none;position:absolute;z-index:calc(var(--416084ad) + 1)}.floating-row *[data-v-2f666594-s]{pointer-events:auto}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.multi-table-container[data-v-82ba0e12]{border-radius:var(--border-radius-md);border:1px solid var(--common-divider);display:flex;flex-direction:column;overflow-y:auto;width:100%}.multi-table-container .table-header-container[data-v-82ba0e12]{align-items:center;background-color:var(--background-paper-elevation-0);display:flex;height:calc(var(--spacing-800) - 2px);justify-content:space-between;padding:var(--spacing-300);width:100%}.multi-table-container .table-header-container.sticky[data-v-82ba0e12]{position:sticky;top:0;z-index:calc(var(--5d3fa26e) + 3)}.multi-table-container[data-v-82ba0e12] table{display:table;border:unset;border-radius:unset}.multi-table-container[data-v-82ba0e12] thead{border-top:1px solid var(--common-divider)}.multi-table-container .tables-container[data-v-82ba0e12] thead.sticky{top:62px}.multi-table-container .empty-state[data-v-82ba0e12]{min-height:250px}.multi-table-container .table-header-right[data-v-82ba0e12]{align-items:center;display:flex;height:100%}.multi-table-container .table-header-right .table-header-actions[data-v-82ba0e12]{align-items:center;display:flex;margin-left:var(--spacing-100)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.label[data-v-76fef9bd]{color:#41454d}.sticky[data-v-76fef9bd]{position:sticky}.table-container[data-v-76fef9bd]{width:100%;position:relative}.last.floating[data-v-76fef9bd]{max-width:100%}.table-header[data-v-76fef9bd]{display:flex;align-items:center;height:55px;border-bottom:1px solid #dddfe1;background-color:#fff;position:sticky;left:0}.table-header .table-title[data-v-76fef9bd]{display:flex;align-items:center;justify-content:center;height:100%;padding:1.25rem 1.5rem}.table-header .table-header-right[data-v-76fef9bd]{display:flex;align-items:center;height:100%}.table-header .table-header-right.border-search[data-v-76fef9bd]{border-left:1px solid #dddfe1}.table-header.isStickyHeader[data-v-76fef9bd]{z-index:199;top:0}.table-head-container[data-v-76fef9bd]{display:flex;align-items:center;white-space:nowrap}.table-body-wrapper[data-v-76fef9bd]{display:inline-table}.table-header-actions[data-v-76fef9bd]{margin-left:auto;margin-right:1rem;display:flex;align-items:center}.table-row[data-v-76fef9bd]{position:relative}.table-row.loading[data-v-76fef9bd]{opacity:.7}.floating-actions[data-v-76fef9bd]{position:absolute;z-index:10;max-width:max-content;transform:translateY(-50%) translate(calc(-100% - 12px));top:50%;left:0}table[data-v-76fef9bd]{position:relative;display:block;overflow:auto;background:#ffffff;border:1px solid #dddfe1;color:#53575b;text-align:left;table-layout:fixed;width:100%;max-height:100%;border-radius:1rem}table td[data-v-76fef9bd],table th[data-v-76fef9bd]{padding:0 1.5rem;line-height:normal}table thead[data-v-76fef9bd]{border-bottom:none;z-index:101;display:inline-table;min-width:100%}table thead tr[data-v-76fef9bd]{color:#626970;border-bottom:2px solid #dddfe1;height:2.5rem;display:grid;grid-template-columns:var(--3205197f)}table thead tr th[data-v-76fef9bd]{background:#ffffff;width:100%;display:flex;align-items:center;cursor:default}table thead tr th.bordered[data-v-76fef9bd]{border-right:1px solid #dddfe1}table thead tr th.isTextRight[data-v-76fef9bd]{justify-content:flex-end}table thead tr th.isSortable[data-v-76fef9bd]{cursor:pointer}table thead.sticky[data-v-76fef9bd]{position:sticky;top:0;background:white}table thead.isStickyHeader[data-v-76fef9bd]{z-index:198px;top:55px}table tbody[data-v-76fef9bd]{height:100%;display:block}table tbody tr[data-v-76fef9bd]{background-color:#fff;min-height:3rem;height:auto;display:grid;align-items:center;grid-template-columns:var(--3205197f)}table tbody tr:nth-of-type(2n) td[data-v-76fef9bd]{background-color:#fff}table tbody tr:hover:not(.loading) td[data-v-76fef9bd]{background-color:#f7f8f9}table tbody td[data-v-76fef9bd]{background-color:#fff;border:none;min-width:0;display:flex;height:100%;width:100%;place-items:center;border-bottom:1px solid #dddfe1;justify-content:start}table tbody td.bordered[data-v-76fef9bd]{border-right:1px solid #dddfe1}table tbody td.isTextRight[data-v-76fef9bd]{justify-content:flex-end}table tfoot[data-v-76fef9bd]{display:block;height:4.5rem;background-color:#fff;border:none}.section-container[data-v-76fef9bd]{left:0}.sections[data-v-76fef9bd]{display:flex}.section[data-v-76fef9bd]{padding:0 1.5rem;background:#ffffff;left:0;height:32px;display:flex;align-items:flex-end;border-right:1px solid #dddfe1}
|
|
@@ -7,6 +7,12 @@ export declare const TICK_LABEL_FONT: {
|
|
|
7
7
|
weight: number;
|
|
8
8
|
family: string;
|
|
9
9
|
};
|
|
10
|
+
export declare enum ChartType {
|
|
11
|
+
Line = "line",
|
|
12
|
+
Bar = "bar",
|
|
13
|
+
StackedLine = "stackedLine",
|
|
14
|
+
StackedBar = "stackedBar"
|
|
15
|
+
}
|
|
10
16
|
export declare const COLOR_PALETTE: string[];
|
|
11
17
|
export declare const DEFAULT_TICK_COUNT = 4;
|
|
12
18
|
export declare const DEFAULT_MIN_VISIBLE = 1;
|
|
@@ -1,27 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
const _ = "#fcfcfc", n = "#E4E4E4", t = "#646464", O = {
|
|
1
|
+
const E = "#fcfcfc", L = "#E4E4E4", _ = "#646464", n = {
|
|
3
2
|
size: 12,
|
|
4
3
|
weight: 400,
|
|
5
4
|
family: "Inter"
|
|
6
|
-
},
|
|
5
|
+
}, O = [
|
|
7
6
|
"#80BCFE",
|
|
8
7
|
"#9999FF",
|
|
9
8
|
"#5883E4",
|
|
10
9
|
"#80CBC4",
|
|
11
10
|
"#FFC670"
|
|
12
|
-
],
|
|
13
|
-
{ id:
|
|
14
|
-
{ id:
|
|
15
|
-
{ id:
|
|
11
|
+
], c = 4, t = 1, I = 5, T = [
|
|
12
|
+
{ id: "line", name: "Line" },
|
|
13
|
+
{ id: "stackedLine", name: "Stack" },
|
|
14
|
+
{ id: "bar", name: "Bar" }
|
|
16
15
|
];
|
|
17
16
|
export {
|
|
18
|
-
|
|
17
|
+
O as COLOR_PALETTE,
|
|
19
18
|
I as DEFAULT_MAX_VISIBLE,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
19
|
+
t as DEFAULT_MIN_VISIBLE,
|
|
20
|
+
c as DEFAULT_TICK_COUNT,
|
|
21
|
+
T as DROPDOWN_TYPE_OPTIONS,
|
|
22
|
+
L as GRID_LINE_COLOR,
|
|
23
|
+
E as POINT_BORDER_COLOR,
|
|
24
|
+
_ as TICK_LABEL_COLOR,
|
|
25
|
+
n as TICK_LABEL_FONT
|
|
27
26
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import Chart from './Chart.vue';
|
|
2
|
+
import { ChartType } from './types';
|
|
2
3
|
declare const ChartTypes: () => ({
|
|
3
4
|
new (...args: any[]): {
|
|
4
5
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -12,7 +13,7 @@ declare const ChartTypes: () => ({
|
|
|
12
13
|
visibleIds: unknown[];
|
|
13
14
|
minVisible: number;
|
|
14
15
|
maxVisible: number;
|
|
15
|
-
chartType:
|
|
16
|
+
chartType: ChartType;
|
|
16
17
|
withSettingsHeader: boolean;
|
|
17
18
|
subheader: string;
|
|
18
19
|
dataSets: import("./types").ChartDataSet[];
|
|
@@ -56,8 +57,8 @@ declare const ChartTypes: () => ({
|
|
|
56
57
|
default: number;
|
|
57
58
|
};
|
|
58
59
|
chartType: {
|
|
59
|
-
type: import("vue").PropType<
|
|
60
|
-
default:
|
|
60
|
+
type: import("vue").PropType<ChartType>;
|
|
61
|
+
default: ChartType;
|
|
61
62
|
};
|
|
62
63
|
withSettingsHeader: {
|
|
63
64
|
type: import("vue").PropType<boolean>;
|
|
@@ -94,7 +95,7 @@ declare const ChartTypes: () => ({
|
|
|
94
95
|
};
|
|
95
96
|
}>> & {
|
|
96
97
|
"onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
|
|
97
|
-
"onUpdate:chartType"?: (chartType:
|
|
98
|
+
"onUpdate:chartType"?: (chartType: ChartType) => any;
|
|
98
99
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "header" | "loading" | "xAxisFormat" | "yAxisFormat" | "parsing" | "visibleIds" | "minVisible" | "maxVisible" | "chartType" | "withSettingsHeader" | "subheader" | "dataSets" | "hideLegend" | "tickCount" | "noDataIcon" | "noDataTitle" | "noDataSubtitle">;
|
|
99
100
|
$attrs: {
|
|
100
101
|
[x: string]: unknown;
|
|
@@ -107,7 +108,7 @@ declare const ChartTypes: () => ({
|
|
|
107
108
|
}>;
|
|
108
109
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
109
110
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
110
|
-
$emit: ((event: "update:visibleIds", visibleIds: unknown[]) => void) & ((event: "update:chartType", chartType:
|
|
111
|
+
$emit: ((event: "update:visibleIds", visibleIds: unknown[]) => void) & ((event: "update:chartType", chartType: ChartType) => void);
|
|
111
112
|
$el: any;
|
|
112
113
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
113
114
|
header: {
|
|
@@ -144,8 +145,8 @@ declare const ChartTypes: () => ({
|
|
|
144
145
|
default: number;
|
|
145
146
|
};
|
|
146
147
|
chartType: {
|
|
147
|
-
type: import("vue").PropType<
|
|
148
|
-
default:
|
|
148
|
+
type: import("vue").PropType<ChartType>;
|
|
149
|
+
default: ChartType;
|
|
149
150
|
};
|
|
150
151
|
withSettingsHeader: {
|
|
151
152
|
type: import("vue").PropType<boolean>;
|
|
@@ -182,9 +183,9 @@ declare const ChartTypes: () => ({
|
|
|
182
183
|
};
|
|
183
184
|
}>> & {
|
|
184
185
|
"onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
|
|
185
|
-
"onUpdate:chartType"?: (chartType:
|
|
186
|
+
"onUpdate:chartType"?: (chartType: ChartType) => any;
|
|
186
187
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
187
|
-
"update:chartType": (chartType:
|
|
188
|
+
"update:chartType": (chartType: ChartType) => void;
|
|
188
189
|
"update:visibleIds": (visibleIds: unknown[]) => void;
|
|
189
190
|
}, string, {
|
|
190
191
|
header: string;
|
|
@@ -195,7 +196,7 @@ declare const ChartTypes: () => ({
|
|
|
195
196
|
visibleIds: unknown[];
|
|
196
197
|
minVisible: number;
|
|
197
198
|
maxVisible: number;
|
|
198
|
-
chartType:
|
|
199
|
+
chartType: ChartType;
|
|
199
200
|
withSettingsHeader: boolean;
|
|
200
201
|
subheader: string;
|
|
201
202
|
dataSets: import("./types").ChartDataSet[];
|
|
@@ -259,8 +260,8 @@ declare const ChartTypes: () => ({
|
|
|
259
260
|
default: number;
|
|
260
261
|
};
|
|
261
262
|
chartType: {
|
|
262
|
-
type: import("vue").PropType<
|
|
263
|
-
default:
|
|
263
|
+
type: import("vue").PropType<ChartType>;
|
|
264
|
+
default: ChartType;
|
|
264
265
|
};
|
|
265
266
|
withSettingsHeader: {
|
|
266
267
|
type: import("vue").PropType<boolean>;
|
|
@@ -297,7 +298,7 @@ declare const ChartTypes: () => ({
|
|
|
297
298
|
};
|
|
298
299
|
}>> & {
|
|
299
300
|
"onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
|
|
300
|
-
"onUpdate:chartType"?: (chartType:
|
|
301
|
+
"onUpdate:chartType"?: (chartType: ChartType) => any;
|
|
301
302
|
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
302
303
|
__isFragment?: never;
|
|
303
304
|
__isTeleport?: never;
|
|
@@ -337,8 +338,8 @@ declare const ChartTypes: () => ({
|
|
|
337
338
|
default: number;
|
|
338
339
|
};
|
|
339
340
|
chartType: {
|
|
340
|
-
type: import("vue").PropType<
|
|
341
|
-
default:
|
|
341
|
+
type: import("vue").PropType<ChartType>;
|
|
342
|
+
default: ChartType;
|
|
342
343
|
};
|
|
343
344
|
withSettingsHeader: {
|
|
344
345
|
type: import("vue").PropType<boolean>;
|
|
@@ -375,9 +376,9 @@ declare const ChartTypes: () => ({
|
|
|
375
376
|
};
|
|
376
377
|
}>> & {
|
|
377
378
|
"onUpdate:visibleIds"?: (visibleIds: unknown[]) => any;
|
|
378
|
-
"onUpdate:chartType"?: (chartType:
|
|
379
|
+
"onUpdate:chartType"?: (chartType: ChartType) => any;
|
|
379
380
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
380
|
-
"update:chartType": (chartType:
|
|
381
|
+
"update:chartType": (chartType: ChartType) => void;
|
|
381
382
|
"update:visibleIds": (visibleIds: unknown[]) => void;
|
|
382
383
|
}, string, {
|
|
383
384
|
header: string;
|
|
@@ -388,7 +389,7 @@ declare const ChartTypes: () => ({
|
|
|
388
389
|
visibleIds: unknown[];
|
|
389
390
|
minVisible: number;
|
|
390
391
|
maxVisible: number;
|
|
391
|
-
chartType:
|
|
392
|
+
chartType: ChartType;
|
|
392
393
|
withSettingsHeader: boolean;
|
|
393
394
|
subheader: string;
|
|
394
395
|
dataSets: import("./types").ChartDataSet[];
|
|
@@ -403,5 +404,5 @@ declare const ChartTypes: () => ({
|
|
|
403
404
|
breakdowns?(_: {}): any;
|
|
404
405
|
};
|
|
405
406
|
}))[];
|
|
406
|
-
export type {
|
|
407
|
-
export { Chart, ChartTypes };
|
|
407
|
+
export type { ChartDataRecord, ChartDataSet, ChartParsingConfig, } from './types';
|
|
408
|
+
export { Chart, ChartTypes, ChartType };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Column, Row,
|
|
1
|
+
import type { Column, Row, 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[];
|
|
@@ -33,7 +33,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
33
33
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
34
34
|
"update:sort": (newSort: Sort) => void;
|
|
35
35
|
onScroll: (event: Event) => void;
|
|
36
|
-
saveRow: (args_0:
|
|
36
|
+
saveRow: (args_0: {
|
|
37
|
+
value: unknown;
|
|
38
|
+
confirm: () => void;
|
|
39
|
+
rowIndex: number;
|
|
40
|
+
cellIndex: number;
|
|
41
|
+
}) => void;
|
|
37
42
|
loadMore: () => void;
|
|
38
43
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
39
44
|
title: string;
|
|
@@ -69,7 +74,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
69
74
|
}>>> & {
|
|
70
75
|
onOnScroll?: (event: Event) => any;
|
|
71
76
|
"onUpdate:sort"?: (newSort: Sort) => any;
|
|
72
|
-
onSaveRow?: (args_0:
|
|
77
|
+
onSaveRow?: (args_0: {
|
|
78
|
+
value: unknown;
|
|
79
|
+
confirm: () => void;
|
|
80
|
+
rowIndex: number;
|
|
81
|
+
cellIndex: number;
|
|
82
|
+
}) => any;
|
|
73
83
|
onLoadMore?: () => any;
|
|
74
84
|
}, {
|
|
75
85
|
testId: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
/* empty css *//* empty css */import
|
|
3
|
-
// import "../../../Table.
|
|
4
|
-
const
|
|
1
|
+
import e from "./Table.vue2.js";
|
|
2
|
+
/* empty css *//* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../Table.vue_vue_type_style_index_0_scoped_76fef9bd_lang.css"; //*');
|
|
4
|
+
const f = /* @__PURE__ */ o(e, [["__scopeId", "data-v-76fef9bd"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../Table.
|
|
1
|
+
import "../../../Table.vue_vue_type_style_index_0_scoped_76fef9bd_lang.css"; import { defineComponent as F, useCssVars as Y, unref as t, openBlock as s, createElementBlock as a, createElementVNode as o, normalizeStyle as y, normalizeClass as n, renderSlot as r, createVNode as c, withCtx as m, createTextVNode as g, toDisplayString as k, createCommentVNode as R, Fragment as $, renderList as v, createBlock as x, mergeProps as G, withDirectives as W, vShow as j } from "vue";
|
|
2
2
|
import "../../typography/Heading.vue.js";
|
|
3
3
|
import T from "../../typography/Text.vue.js";
|
|
4
4
|
import "../../button/v3/Button.vue.js";
|
|
@@ -33,7 +33,7 @@ const X = ["data-testid"], Z = ["data-testid"], p = ["data-testid"], _ = ["data-
|
|
|
33
33
|
setup(i, { emit: A }) {
|
|
34
34
|
const H = i;
|
|
35
35
|
Y((l) => ({
|
|
36
|
-
"
|
|
36
|
+
"3205197f": t(N)
|
|
37
37
|
}));
|
|
38
38
|
const {
|
|
39
39
|
list: b,
|
|
@@ -83,7 +83,12 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
|
|
|
83
83
|
}>> & {
|
|
84
84
|
onOnScroll?: (event: Event) => any;
|
|
85
85
|
"onUpdate:sort"?: (newSort: import("../common/Table.types").Sort) => any;
|
|
86
|
-
onSaveRow?: (args_0:
|
|
86
|
+
onSaveRow?: (args_0: {
|
|
87
|
+
value: unknown;
|
|
88
|
+
confirm: () => void;
|
|
89
|
+
rowIndex: number;
|
|
90
|
+
cellIndex: number;
|
|
91
|
+
}) => any;
|
|
87
92
|
onLoadMore?: () => any;
|
|
88
93
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "isLoading" | "loadingRowCount" | "emptyStateTitle" | "isSticky" | "sections" | "isStickyHeader" | "emptyStateSubtitle" | "isInfiniteScroll" | "infiniteScrollThreshold" | "rowHeight" | "defaultScrollPosition">;
|
|
89
94
|
$attrs: {
|
|
@@ -97,7 +102,12 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
|
|
|
97
102
|
}>;
|
|
98
103
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
99
104
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
100
|
-
$emit: ((event: "onScroll", event: Event) => void) & ((event: "update:sort", newSort: import("../common/Table.types").Sort) => void) & ((event: "saveRow", args_0:
|
|
105
|
+
$emit: ((event: "onScroll", event: Event) => void) & ((event: "update:sort", newSort: import("../common/Table.types").Sort) => void) & ((event: "saveRow", args_0: {
|
|
106
|
+
value: unknown;
|
|
107
|
+
confirm: () => void;
|
|
108
|
+
rowIndex: number;
|
|
109
|
+
cellIndex: number;
|
|
110
|
+
}) => void) & ((event: "loadMore") => void);
|
|
101
111
|
$el: any;
|
|
102
112
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
103
113
|
sort: {
|
|
@@ -167,12 +177,22 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
|
|
|
167
177
|
}>> & {
|
|
168
178
|
onOnScroll?: (event: Event) => any;
|
|
169
179
|
"onUpdate:sort"?: (newSort: import("../common/Table.types").Sort) => any;
|
|
170
|
-
onSaveRow?: (args_0:
|
|
180
|
+
onSaveRow?: (args_0: {
|
|
181
|
+
value: unknown;
|
|
182
|
+
confirm: () => void;
|
|
183
|
+
rowIndex: number;
|
|
184
|
+
cellIndex: number;
|
|
185
|
+
}) => any;
|
|
171
186
|
onLoadMore?: () => any;
|
|
172
187
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
173
188
|
"update:sort": (newSort: import("../common/Table.types").Sort) => void;
|
|
174
189
|
onScroll: (event: Event) => void;
|
|
175
|
-
saveRow: (args_0:
|
|
190
|
+
saveRow: (args_0: {
|
|
191
|
+
value: unknown;
|
|
192
|
+
confirm: () => void;
|
|
193
|
+
rowIndex: number;
|
|
194
|
+
cellIndex: number;
|
|
195
|
+
}) => void;
|
|
176
196
|
loadMore: () => void;
|
|
177
197
|
}, string, {
|
|
178
198
|
testId: string;
|
|
@@ -275,7 +295,12 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
|
|
|
275
295
|
}>> & {
|
|
276
296
|
onOnScroll?: (event: Event) => any;
|
|
277
297
|
"onUpdate:sort"?: (newSort: import("../common/Table.types").Sort) => any;
|
|
278
|
-
onSaveRow?: (args_0:
|
|
298
|
+
onSaveRow?: (args_0: {
|
|
299
|
+
value: unknown;
|
|
300
|
+
confirm: () => void;
|
|
301
|
+
rowIndex: number;
|
|
302
|
+
cellIndex: number;
|
|
303
|
+
}) => any;
|
|
279
304
|
onLoadMore?: () => any;
|
|
280
305
|
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
281
306
|
__isFragment?: never;
|
|
@@ -349,12 +374,22 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
|
|
|
349
374
|
}>> & {
|
|
350
375
|
onOnScroll?: (event: Event) => any;
|
|
351
376
|
"onUpdate:sort"?: (newSort: import("../common/Table.types").Sort) => any;
|
|
352
|
-
onSaveRow?: (args_0:
|
|
377
|
+
onSaveRow?: (args_0: {
|
|
378
|
+
value: unknown;
|
|
379
|
+
confirm: () => void;
|
|
380
|
+
rowIndex: number;
|
|
381
|
+
cellIndex: number;
|
|
382
|
+
}) => any;
|
|
353
383
|
onLoadMore?: () => any;
|
|
354
384
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
355
385
|
"update:sort": (newSort: import("../common/Table.types").Sort) => void;
|
|
356
386
|
onScroll: (event: Event) => void;
|
|
357
|
-
saveRow: (args_0:
|
|
387
|
+
saveRow: (args_0: {
|
|
388
|
+
value: unknown;
|
|
389
|
+
confirm: () => void;
|
|
390
|
+
rowIndex: number;
|
|
391
|
+
cellIndex: number;
|
|
392
|
+
}) => void;
|
|
358
393
|
loadMore: () => void;
|
|
359
394
|
}, string, {
|
|
360
395
|
testId: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Column, Row,
|
|
1
|
+
import type { Column, Row, 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[];
|
|
@@ -61,7 +61,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
61
61
|
"update:selection": (selection: unknown[]) => void;
|
|
62
62
|
onScroll: (event: Event) => void;
|
|
63
63
|
onClearSearch: () => void;
|
|
64
|
-
saveRow: (args_0:
|
|
64
|
+
saveRow: (args_0: {
|
|
65
|
+
value: unknown;
|
|
66
|
+
confirm: () => void;
|
|
67
|
+
rowIndex: number;
|
|
68
|
+
cellIndex: number;
|
|
69
|
+
}) => void;
|
|
65
70
|
loadMore: () => void;
|
|
66
71
|
selectAll: (value: boolean) => void;
|
|
67
72
|
selectRow: (value: boolean) => void;
|
|
@@ -125,7 +130,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
125
130
|
"onUpdate:search"?: (query: string) => any;
|
|
126
131
|
onOnScroll?: (event: Event) => any;
|
|
127
132
|
"onUpdate:sort"?: (newSort: Sort) => any;
|
|
128
|
-
onSaveRow?: (args_0:
|
|
133
|
+
onSaveRow?: (args_0: {
|
|
134
|
+
value: unknown;
|
|
135
|
+
confirm: () => void;
|
|
136
|
+
rowIndex: number;
|
|
137
|
+
cellIndex: number;
|
|
138
|
+
}) => any;
|
|
129
139
|
onLoadMore?: () => any;
|
|
130
140
|
onOnClearSearch?: () => any;
|
|
131
141
|
"onUpdate:selection"?: (selection: unknown[]) => any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./DataGrid.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../DataGrid.
|
|
4
|
-
const a = /* @__PURE__ */
|
|
2
|
+
/* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../DataGrid.vue_vue_type_style_index_0_scoped_2f666594_lang.css"; //*');
|
|
4
|
+
const a = /* @__PURE__ */ _(o, [["__scopeId", "data-v-2f666594"]]);
|
|
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_2f666594_lang.css"; import { defineComponent as de, useCssVars as oe, unref as t, useSlots as ne, computed as v, openBlock as l, createElementBlock as d, createElementVNode as u, normalizeStyle as T, normalizeClass as f, renderSlot as c, createVNode as h, withCtx as w, createTextVNode as E, toDisplayString as B, isRef as ce, createCommentVNode as r, Fragment as I, renderList as p, createBlock as z, mergeProps as re } from "vue";
|
|
2
2
|
import A from "../../typography/v4/Typography.vue.js";
|
|
3
3
|
import ue from "../../skeleton/v4/SkeletonV4.vue.js";
|
|
4
4
|
import he from "../../emptyState/v4/EmptyStateV4.vue.js";
|
|
@@ -66,10 +66,10 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
|
|
|
66
66
|
setup(s, { expose: m, emit: y }) {
|
|
67
67
|
const i = s;
|
|
68
68
|
oe((a) => ({
|
|
69
|
-
"
|
|
70
|
-
|
|
71
|
-
"
|
|
72
|
-
"
|
|
69
|
+
"416084ad": s.zIndexBase,
|
|
70
|
+
"90cd7d3e": t(X),
|
|
71
|
+
"03caffcc": t(P),
|
|
72
|
+
"64d76d22": t(J)
|
|
73
73
|
}));
|
|
74
74
|
const b = ne(), U = (a) => i.rowCustomClassKey && i.rows[a] ? i.rows[a][i.rowCustomClassKey] : "", {
|
|
75
75
|
list: M,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Column } from '@/components/table/v4';
|
|
2
|
-
import {
|
|
2
|
+
import { TableSettings } from '@is-ssp/table/common/Table.types';
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
4
|
tablesSettings: TableSettings[];
|
|
5
5
|
loadingAndEmptyStatesColumns: Column[];
|
|
@@ -43,9 +43,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
43
43
|
onScroll: (scrollTop: number) => void;
|
|
44
44
|
onClearSearch: () => void;
|
|
45
45
|
clickRow: (rowIndex: number, tableIndex: number) => void;
|
|
46
|
-
saveRow: (args_0: SaveRowEvent & {
|
|
47
|
-
tableIndex: number;
|
|
48
|
-
}) => void;
|
|
49
46
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
50
47
|
tablesSettings: TableSettings[];
|
|
51
48
|
loadingAndEmptyStatesColumns: Column[];
|
|
@@ -87,9 +84,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
87
84
|
}>>> & {
|
|
88
85
|
"onUpdate:search"?: (query: string) => any;
|
|
89
86
|
onOnScroll?: (scrollTop: number) => any;
|
|
90
|
-
onSaveRow?: (args_0: SaveRowEvent & {
|
|
91
|
-
tableIndex: number;
|
|
92
|
-
}) => any;
|
|
93
87
|
onOnClearSearch?: () => any;
|
|
94
88
|
onClickRow?: (rowIndex: number, tableIndex: number) => any;
|
|
95
89
|
}, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import e from "./MultipleDataGrid.vue2.js";
|
|
2
2
|
/* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../MultipleDataGrid.
|
|
4
|
-
const
|
|
3
|
+
// import "../../../MultipleDataGrid.vue_vue_type_style_index_0_scoped_82ba0e12_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ o(e, [["__scopeId", "data-v-82ba0e12"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|