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