@ironsource/shared-ui 2.1.8-rc.7 → 2.1.8-rc.9
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/Chart.vue_vue_type_style_index_0_scoped_df85e0af_lang.css +1 -0
- package/ChartHeader.vue_vue_type_style_index_0_scoped_2e3de9c5_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_d27e1304_lang.css +1 -0
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_fd7a490e_lang.css +1 -0
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_cfedf78b_lang.css +1 -0
- package/SettingsHeader.vue_vue_type_style_index_0_scoped_1791e4fe_lang.css +1 -0
- package/Table.vue_vue_type_style_index_0_scoped_9375215d_lang.css +1 -0
- package/components/chart/Chart.vue.d.ts +15 -2
- package/components/chart/Chart.vue.js +3 -3
- package/components/chart/Chart.vue2.js +160 -141
- package/components/chart/ChartHeader.vue.d.ts +5 -0
- package/components/chart/ChartHeader.vue.js +2 -2
- package/components/chart/ChartHeader.vue2.js +31 -29
- package/components/chart/SettingsHeader.vue.d.ts +30 -0
- package/components/chart/SettingsHeader.vue.js +7 -0
- package/components/chart/SettingsHeader.vue2.js +57 -0
- package/components/chart/consts.d.ts +2 -0
- package/components/chart/consts.js +17 -11
- package/components/chart/index.d.ts +320 -74
- package/components/chart/types.d.ts +4 -0
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +1 -0
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +33 -31
- package/components/dropdown/v4/index.d.ts +1 -0
- package/components/loader/v4/index.js +6 -0
- 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 +332 -170
- package/index.js +128 -126
- package/package.json +4 -1
- package/Chart.vue_vue_type_style_index_0_scoped_f06a4764_lang.css +0 -1
- package/ChartHeader.vue_vue_type_style_index_0_scoped_88d4532f_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_2f666594_lang.css +0 -1
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_1726ad49_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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./DefaultDropdownTrigger.vue2.js";
|
|
2
2
|
/* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../DefaultDropdownTrigger.
|
|
4
|
-
const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_fd7a490e_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ e(o, [["__scopeId", "data-v-fd7a490e"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../../../DefaultDropdownTrigger.
|
|
1
|
+
import "../../../DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_fd7a490e_lang.css"; import { defineComponent as O, computed as c, openBlock as a, createElementBlock as n, createBlock as k, createCommentVNode as d, createElementVNode as u, mergeProps as m, unref as l, renderSlot as i, createVNode as r, withCtx as I, createTextVNode as B, toDisplayString as w } from "vue";
|
|
2
2
|
import V from "../../typography/v4/Typography.vue.js";
|
|
3
3
|
import { DropdownTestIdModifiers as p } from "../../../testids/index.js";
|
|
4
4
|
import h from "../../icon/v4/IconV4.vue.js";
|
|
5
5
|
import "../../icon/v4/IconFlag.vue.js";
|
|
6
|
-
import
|
|
7
|
-
import { useTestIdAttrs as
|
|
8
|
-
import
|
|
9
|
-
const
|
|
6
|
+
import A from "../../shared/FieldLabel.vue.js";
|
|
7
|
+
import { useTestIdAttrs as $ } from "../../../utils/testIds.js";
|
|
8
|
+
import x from "../../statusDot/StatusDot.vue.js";
|
|
9
|
+
const D = { class: "default-dropdown-wrapper" }, N = { class: "content" }, K = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "image"
|
|
12
12
|
}, C = ["src"], S = {
|
|
@@ -46,11 +46,11 @@ const $ = { class: "default-dropdown-wrapper" }, N = { class: "content" }, K = {
|
|
|
46
46
|
},
|
|
47
47
|
emits: ["click"],
|
|
48
48
|
setup(t, { emit: T }) {
|
|
49
|
-
const e = t, g =
|
|
49
|
+
const e = t, g = c(
|
|
50
50
|
() => e.feedbackVariant ? `state-${e.feedbackVariant}` : ""
|
|
51
|
-
),
|
|
51
|
+
), v = () => {
|
|
52
52
|
T("click");
|
|
53
|
-
}, f =
|
|
53
|
+
}, f = $(e.testId, p), b = c(() => e.multi ? !Array.isArray(e.selectedOption) || !e.selectedOption?.length ? e.placeholder : e.showAllSelectedText && e.options?.length === e.selectedOption.length ? `All selected (${e.selectedOption.length})` : e.selectedOption?.length === 1 && e.displayValue ? e.displayValue(e.selectedOption[0]) : `${e.selectedOption.length} selected` : e.selectedOption ? e.displayValue(e.selectedOption) : e.placeholder), s = c(() => {
|
|
54
54
|
if (!e.selectedOption)
|
|
55
55
|
return null;
|
|
56
56
|
if (!e.multi)
|
|
@@ -58,8 +58,8 @@ const $ = { class: "default-dropdown-wrapper" }, N = { class: "content" }, K = {
|
|
|
58
58
|
if (Array.isArray(e.selectedOption))
|
|
59
59
|
return e.selectedOption.length === 1 ? e.selectedOption[0] : null;
|
|
60
60
|
});
|
|
61
|
-
return (
|
|
62
|
-
t.label ? (
|
|
61
|
+
return (o, y) => (a(), n("div", D, [
|
|
62
|
+
t.label ? (a(), k(A, {
|
|
63
63
|
key: 0,
|
|
64
64
|
label: t.label,
|
|
65
65
|
mandatory: t.mandatory,
|
|
@@ -69,44 +69,46 @@ const $ = { class: "default-dropdown-wrapper" }, N = { class: "content" }, K = {
|
|
|
69
69
|
"test-id": t.testId,
|
|
70
70
|
class: "dropdown-field-label"
|
|
71
71
|
}, null, 8, ["label", "mandatory", "hover-help-text", "hover-help-text-placement", "disabled", "test-id"])) : d("", !0),
|
|
72
|
-
|
|
72
|
+
u("div", m({
|
|
73
73
|
class: ["dropdown-trigger", [t.size, l(g), { open: t.open, disabled: t.disabled }]]
|
|
74
74
|
}, l(f)[l(p).BUTTON_WRAPPER], {
|
|
75
|
-
onClick: y[0] || (y[0] = (H) =>
|
|
75
|
+
onClick: y[0] || (y[0] = (H) => v())
|
|
76
76
|
}), [
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
t.optionImageKey ? (
|
|
77
|
+
u("div", N, [
|
|
78
|
+
o.$slots.image || l(s) && t.optionImageKey ? (a(), n("div", K, [
|
|
79
|
+
i(o.$slots, "image", {}, () => [
|
|
80
|
+
t.optionImageKey ? (a(), n("img", {
|
|
81
81
|
key: 0,
|
|
82
82
|
src: l(s)[t.optionImageKey]
|
|
83
83
|
}, null, 8, C)) : d("", !0)
|
|
84
84
|
], !0)
|
|
85
85
|
])) : d("", !0),
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
86
|
+
o.$slots["icon-start"] || l(s) && t.optionIconKey ? (a(), n("div", S, [
|
|
87
|
+
i(o.$slots, "icon-start", {}, () => [
|
|
88
|
+
r(l(h), {
|
|
89
89
|
type: t.optionIconType,
|
|
90
90
|
name: l(s)[t.optionIconKey],
|
|
91
91
|
size: "20px"
|
|
92
92
|
}, null, 8, ["type", "name"])
|
|
93
93
|
], !0)
|
|
94
94
|
])) : d("", !0),
|
|
95
|
-
t.statusDotType ? (
|
|
96
|
-
|
|
95
|
+
t.statusDotType ? (a(), n("div", P, [
|
|
96
|
+
r(l(x), { type: t.statusDotType }, null, 8, ["type"])
|
|
97
97
|
])) : d("", !0),
|
|
98
|
-
i(
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
98
|
+
i(o.$slots, "displayed-value", {}, () => [
|
|
99
|
+
r(l(V), m({ variant: "body1" }, l(f)[l(p).BUTTON_CONTENT], { class: "displayed-value" }), {
|
|
100
|
+
default: I(() => [
|
|
101
|
+
B(w(l(b)), 1)
|
|
102
|
+
]),
|
|
103
|
+
_: 1
|
|
104
|
+
}, 16)
|
|
105
|
+
], !0)
|
|
104
106
|
]),
|
|
105
|
-
|
|
106
|
-
|
|
107
|
+
o.$slots["end-icon"] ? (a(), n("div", z, [
|
|
108
|
+
i(o.$slots, "end-icon", {}, void 0, !0)
|
|
107
109
|
])) : d("", !0),
|
|
108
|
-
|
|
109
|
-
|
|
110
|
+
u("div", E, [
|
|
111
|
+
r(l(h), {
|
|
110
112
|
name: "caret-down",
|
|
111
113
|
size: "20px"
|
|
112
114
|
})
|
|
@@ -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
|
};
|