@ironsource/shared-ui 2.2.0-test.3 → 2.2.0-test.5
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_22477735_lang.css +1 -0
- package/ChartHeader.vue_vue_type_style_index_0_scoped_9a603520_lang.css +1 -0
- package/ChartPlane.vue_vue_type_style_index_0_scoped_6de5cddb_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_3673e156_lang.css +1 -0
- package/InlineCopy.vue_vue_type_style_index_0_scoped_9fa1921a_lang.css +1 -0
- package/SnackbarV4.vue_vue_type_style_index_0_scoped_35c79635_lang.css +1 -0
- package/components/button/v3/Button.vue.d.ts +6 -6
- package/components/button/v3/index.d.ts +14 -14
- package/components/chart/Chart.vue.d.ts +5 -0
- package/components/chart/Chart.vue.js +3 -3
- package/components/chart/Chart.vue2.js +10 -8
- package/components/chart/ChartHeader.vue.d.ts +5 -0
- package/components/chart/ChartHeader.vue.js +3 -3
- package/components/chart/ChartHeader.vue2.js +73 -49
- package/components/chart/ChartPlane.vue.d.ts +5 -0
- package/components/chart/ChartPlane.vue.js +3 -3
- package/components/chart/ChartPlane.vue2.js +33 -31
- package/components/chart/ChartStoryArgs.d.ts +6 -0
- package/components/chart/index.d.ts +20 -1
- package/components/emptyState/v3/EmptyState.vue.d.ts +3 -3
- package/components/emptyState/v3/index.d.ts +7 -7
- package/components/includeExclude/index.d.ts +16 -16
- package/components/inlineCopy/InlineCopy.vue.d.ts +15 -0
- package/components/inlineCopy/InlineCopy.vue.js +2 -2
- package/components/inlineCopy/InlineCopy.vue2.js +80 -51
- package/components/inlineCopy/index.d.ts +27 -0
- package/components/snackbar/common/notify.js +25 -25
- package/components/snackbar/common/snackbar.common.js +19 -19
- package/components/snackbar/common/snackbar.types.d.ts +2 -1
- package/components/snackbar/v4/SnackbarV4.vue.d.ts +8 -1
- package/components/snackbar/v4/SnackbarV4.vue.js +2 -2
- package/components/snackbar/v4/SnackbarV4.vue2.js +85 -64
- package/components/table/v4/DataGrid.vue.js +4 -4
- package/components/table/v4/DataGrid.vue2.js +59 -59
- package/components/table-cells/v3/Editable.vue.d.ts +1 -1
- package/components/table-cells/v3/index.d.ts +20 -20
- package/components/table-cells/v4/EditableV4.vue.d.ts +1 -1
- package/components/table-cells/v4/index.d.ts +20 -20
- package/index.d.ts +94 -40
- package/index.js +1 -1
- package/package.json +1 -1
- package/Chart.vue_vue_type_style_index_0_scoped_060d02be_lang.css +0 -1
- package/ChartHeader.vue_vue_type_style_index_0_scoped_d90c583e_lang.css +0 -1
- package/ChartPlane.vue_vue_type_style_index_0_scoped_3c887f7e_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_cd41c5ca_lang.css +0 -1
- package/InlineCopy.vue_vue_type_style_index_0_scoped_ad48b61e_lang.css +0 -1
- package/SnackbarV4.vue_vue_type_style_index_0_scoped_1b650c39_lang.css +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../../DataGrid.
|
|
1
|
+
import "../../../DataGrid.vue_vue_type_style_index_0_scoped_3673e156_lang.css"; import { defineComponent as ke, useCssVars as me, unref as t, useSlots as be, computed as u, openBlock as i, createElementBlock as d, createElementVNode as b, normalizeStyle as S, normalizeClass as y, createBlock as I, isRef as pe, createSlots as ve, withCtx as g, renderSlot as r, createCommentVNode as c, Fragment as x, renderList as C, createVNode as k, createTextVNode as P, toDisplayString as O, mergeProps as L } from "vue";
|
|
2
2
|
import V from "../../typography/v4/Typography.vue.js";
|
|
3
3
|
import xe from "../../skeleton/v4/SkeletonV4.vue.js";
|
|
4
4
|
import Ce from "../../emptyState/v4/EmptyStateV4.vue.js";
|
|
@@ -71,14 +71,14 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
|
|
|
71
71
|
},
|
|
72
72
|
emits: ["update:sort", "update:search", "update:selection", "onScroll", "onClearSearch", "saveRow", "loadMore", "selectAll", "selectRow", "clickRow"],
|
|
73
73
|
setup(l, { expose: m, emit: f }) {
|
|
74
|
-
const
|
|
75
|
-
me((
|
|
76
|
-
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
74
|
+
const s = l;
|
|
75
|
+
me((a) => ({
|
|
76
|
+
fa71c02a: l.zIndexBase,
|
|
77
|
+
"0a21f61f": t(le),
|
|
78
|
+
"5d6e0550": t(G),
|
|
79
|
+
"43e43a46": t(fe)
|
|
80
80
|
}));
|
|
81
|
-
const p = be(), q = (
|
|
81
|
+
const p = be(), q = (a) => s.rowCustomClassKey && s.rows[a] ? s.rows[a][s.rowCustomClassKey] : "", {
|
|
82
82
|
list: $,
|
|
83
83
|
containerProps: z,
|
|
84
84
|
wrapperProps: J,
|
|
@@ -95,56 +95,56 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
|
|
|
95
95
|
cssExpandGridCol: le,
|
|
96
96
|
isRowExpanded: M,
|
|
97
97
|
hasCheckboxes: D,
|
|
98
|
-
activeMenuRow:
|
|
99
|
-
scrollTo:
|
|
100
|
-
} = Te(
|
|
101
|
-
() =>
|
|
98
|
+
activeMenuRow: ae,
|
|
99
|
+
scrollTo: se
|
|
100
|
+
} = Te(s, f), W = u(() => !!p.footer), ie = u(
|
|
101
|
+
() => s.title || p.title || _.value || p["table-header-actions"] || p["table-header-pre-search"]
|
|
102
102
|
), v = u({
|
|
103
|
-
get: () =>
|
|
104
|
-
set: (
|
|
105
|
-
}), oe = u(() =>
|
|
106
|
-
const
|
|
107
|
-
return !!
|
|
108
|
-
}), E = (
|
|
109
|
-
E(
|
|
110
|
-
|
|
111
|
-
(o) => !
|
|
103
|
+
get: () => s.search,
|
|
104
|
+
set: (a) => f("update:search", a)
|
|
105
|
+
}), oe = u(() => s.selection.length || 0), F = u(() => {
|
|
106
|
+
const a = s.rows.map((o, e) => s.getRowId(o, e));
|
|
107
|
+
return !!a.length && a.every((o) => E(o));
|
|
108
|
+
}), E = (a) => s.selection.findIndex((o) => s.selectedMatcher(a, o)) !== -1, de = (a) => {
|
|
109
|
+
E(a) ? (B(
|
|
110
|
+
s.selection.filter(
|
|
111
|
+
(o) => !s.selectedMatcher(a, o)
|
|
112
112
|
)
|
|
113
|
-
), f("selectRow", !1)) : (B([...
|
|
113
|
+
), f("selectRow", !1)) : (B([...s.selection, a]), f("selectRow", !0));
|
|
114
114
|
}, ne = () => {
|
|
115
115
|
if (F.value)
|
|
116
116
|
B([]), f("selectAll", !1);
|
|
117
117
|
else {
|
|
118
|
-
const
|
|
119
|
-
B([...
|
|
118
|
+
const a = s.rows.map((o, e) => s.getRowId(o, e)).filter((o) => !E(o));
|
|
119
|
+
B([...s.selection, ...a]), f("selectAll", !0);
|
|
120
120
|
}
|
|
121
|
-
}, B = (
|
|
122
|
-
f("update:selection",
|
|
123
|
-
}, re = (
|
|
124
|
-
() =>
|
|
121
|
+
}, B = (a) => {
|
|
122
|
+
f("update:selection", a);
|
|
123
|
+
}, re = (a) => !s.isLoading && T.value === a, ce = u(
|
|
124
|
+
() => s.emptyStateVariant ?? (v.value ? "no-results" : "no-data")
|
|
125
125
|
), ue = u(
|
|
126
|
-
() =>
|
|
126
|
+
() => s.emptyStateSubtitle ? s.emptyStateSubtitle : v.value ? "Search again with different filters" : void 0
|
|
127
127
|
), N = u(() => ({
|
|
128
128
|
class: {
|
|
129
|
-
sticky:
|
|
130
|
-
bordered:
|
|
129
|
+
sticky: s.isSelectionSticky,
|
|
130
|
+
bordered: s.isSelectionBordered
|
|
131
131
|
},
|
|
132
|
-
style:
|
|
133
|
-
})), he = (
|
|
134
|
-
sticky:
|
|
135
|
-
isStickyRight:
|
|
136
|
-
bordered:
|
|
137
|
-
isTextRight:
|
|
132
|
+
style: s.isSelectionSticky ? H.value[Ae] : null
|
|
133
|
+
})), he = (a) => ({
|
|
134
|
+
sticky: a.isSticky,
|
|
135
|
+
isStickyRight: a.isStickyRight,
|
|
136
|
+
bordered: a.isBordered,
|
|
137
|
+
isTextRight: a.isTextRight
|
|
138
138
|
}), Y = u(
|
|
139
|
-
() =>
|
|
140
|
-
), ye = (
|
|
141
|
-
minHeight: (typeof
|
|
142
|
-
}), A = u(() => $.value.reduce((
|
|
139
|
+
() => s.columns.map((a) => he(a))
|
|
140
|
+
), ye = (a) => ({
|
|
141
|
+
minHeight: (typeof s.rowHeight == "function" ? s.rowHeight(a) : s.rowHeight) + "px"
|
|
142
|
+
}), A = u(() => $.value.reduce((a, o) => (a[o.index] = ye(o.index), a), {})), fe = u(() => `${X}px`), { height: Se } = Ie(z.ref), ge = u(
|
|
143
143
|
() => Se.value - j - X
|
|
144
144
|
);
|
|
145
145
|
return m({
|
|
146
|
-
scrollTo:
|
|
147
|
-
}), (
|
|
146
|
+
scrollTo: se
|
|
147
|
+
}), (a, o) => (i(), d("div", {
|
|
148
148
|
class: "table-container",
|
|
149
149
|
"data-testid": `${l.testId}-${t(R).CONTAINER}`,
|
|
150
150
|
onMouseleave: o[3] || (o[3] = (e) => T.value = null)
|
|
@@ -173,24 +173,24 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
|
|
|
173
173
|
onOnClearSearch: o[1] || (o[1] = (e) => f("onClearSearch"))
|
|
174
174
|
}, ve({
|
|
175
175
|
title: g(() => [
|
|
176
|
-
r(
|
|
176
|
+
r(a.$slots, "title")
|
|
177
177
|
]),
|
|
178
178
|
search: g(() => [
|
|
179
|
-
r(
|
|
179
|
+
r(a.$slots, "search")
|
|
180
180
|
]),
|
|
181
181
|
_: 2
|
|
182
182
|
}, [
|
|
183
183
|
t(p)["table-header-pre-search"] ? {
|
|
184
184
|
name: "table-header-pre-search",
|
|
185
185
|
fn: g(() => [
|
|
186
|
-
r(
|
|
186
|
+
r(a.$slots, "table-header-pre-search")
|
|
187
187
|
]),
|
|
188
188
|
key: "0"
|
|
189
189
|
} : void 0,
|
|
190
190
|
t(p)["table-header-actions"] ? {
|
|
191
191
|
name: "table-header-actions",
|
|
192
192
|
fn: g(() => [
|
|
193
|
-
r(
|
|
193
|
+
r(a.$slots, "table-header-actions")
|
|
194
194
|
]),
|
|
195
195
|
key: "1"
|
|
196
196
|
} : void 0
|
|
@@ -206,7 +206,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
|
|
|
206
206
|
key: e.id,
|
|
207
207
|
class: y(["section-container", { sticky: e.isSticky }])
|
|
208
208
|
}, [
|
|
209
|
-
r(
|
|
209
|
+
r(a.$slots, `section-${e.id}`, {}, () => [
|
|
210
210
|
b("div", {
|
|
211
211
|
style: S({ width: e.width + "px" }),
|
|
212
212
|
class: y({ section: !0 })
|
|
@@ -228,7 +228,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
|
|
|
228
228
|
key: 0,
|
|
229
229
|
class: "checkbox-cell"
|
|
230
230
|
}, t(N)), [
|
|
231
|
-
r(
|
|
231
|
+
r(a.$slots, "select-all-checkbox", {}, () => [
|
|
232
232
|
k(t(Q), {
|
|
233
233
|
disabled: l.isLoading,
|
|
234
234
|
"is-checked": t(F),
|
|
@@ -249,7 +249,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
|
|
|
249
249
|
onClick: (n) => e.isSortable ? t(Z)(e) : null
|
|
250
250
|
}, [
|
|
251
251
|
b("div", Fe, [
|
|
252
|
-
r(
|
|
252
|
+
r(a.$slots, `header-${e.id}`, { column: e }, () => [
|
|
253
253
|
k(t(Re), {
|
|
254
254
|
text: e.helpText,
|
|
255
255
|
disabled: !e.helpText || l.helpTooltipVariant === "icon",
|
|
@@ -278,7 +278,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
|
|
|
278
278
|
"hover-help-text-placement": e.helpTextPlacement,
|
|
279
279
|
"test-id": `help-tooltip-${e.id}`
|
|
280
280
|
}, null, 8, ["hover-help-text", "hover-help-text-placement", "test-id"])) : c("", !0),
|
|
281
|
-
r(
|
|
281
|
+
r(a.$slots, `after-header-${e.id}`, { column: e }),
|
|
282
282
|
e.isSortable && e.id === l.sort?.sortBy ? (i(), I(He, {
|
|
283
283
|
key: 1,
|
|
284
284
|
"sort-order": l.sort.sortOrder
|
|
@@ -299,7 +299,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
|
|
|
299
299
|
}),
|
|
300
300
|
style: S(e.isSticky ? t(H)[e.id] : null)
|
|
301
301
|
}, [
|
|
302
|
-
r(
|
|
302
|
+
r(a.$slots, `total-${e.id}`, { column: e }, () => [
|
|
303
303
|
h === 0 ? (i(), I(t(V), {
|
|
304
304
|
key: 0,
|
|
305
305
|
variant: "h6"
|
|
@@ -324,7 +324,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
|
|
|
324
324
|
class: y(["table-row", {
|
|
325
325
|
loading: l.isLoading || l.isLoading && !e.data || t(U).includes(e.index),
|
|
326
326
|
active: t(T) === e.index,
|
|
327
|
-
activeMenu: t(
|
|
327
|
+
activeMenu: t(ae) === e.index,
|
|
328
328
|
expanded: t(w) && t(M)(e.index),
|
|
329
329
|
[q(e.index)]: !0
|
|
330
330
|
}]),
|
|
@@ -371,7 +371,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
|
|
|
371
371
|
key: 0,
|
|
372
372
|
class: y(["table-cell", { last: n === e.data.length - 1 }])
|
|
373
373
|
}, [
|
|
374
|
-
r(
|
|
374
|
+
r(a.$slots, `cell-${l.columns[n].id}`, {
|
|
375
375
|
cell: e.data[n],
|
|
376
376
|
isLoading: t(U).includes(e.index),
|
|
377
377
|
cellIndex: n,
|
|
@@ -385,18 +385,18 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
|
|
|
385
385
|
_: 2
|
|
386
386
|
}, 1024)
|
|
387
387
|
])
|
|
388
|
-
], 2)) : r(
|
|
388
|
+
], 2)) : r(a.$slots, "loader", { key: 1 }, () => [
|
|
389
389
|
k(t(xe), { round: "" })
|
|
390
390
|
])
|
|
391
391
|
], 6))), 128)),
|
|
392
392
|
t(w) && t(M)(e.index) ? (i(), d("div", Ge, [
|
|
393
|
-
r(
|
|
393
|
+
r(a.$slots, "expanded", {
|
|
394
394
|
row: e,
|
|
395
395
|
gridColumnTemplate: t(G)
|
|
396
396
|
})
|
|
397
397
|
])) : c("", !0),
|
|
398
398
|
re(e.index) ? (i(), d("div", Ke, [
|
|
399
|
-
r(
|
|
399
|
+
r(a.$slots, "floating-row", {
|
|
400
400
|
row: e,
|
|
401
401
|
rowIndex: e.index
|
|
402
402
|
})
|
|
@@ -408,7 +408,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
|
|
|
408
408
|
l.useAvailableHeight ? { height: `${t(ge)}px` } : {}
|
|
409
409
|
)
|
|
410
410
|
}, [
|
|
411
|
-
r(
|
|
411
|
+
r(a.$slots, "empty-state", {}, () => [
|
|
412
412
|
k(t(Ce), {
|
|
413
413
|
class: "empty-state",
|
|
414
414
|
title: l.emptyStateTitle,
|
|
@@ -422,7 +422,7 @@ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
|
|
|
422
422
|
])
|
|
423
423
|
], 46, Le),
|
|
424
424
|
t(W) ? (i(), d("div", Ue, [
|
|
425
|
-
r(
|
|
425
|
+
r(a.$slots, "footer")
|
|
426
426
|
])) : c("", !0)
|
|
427
427
|
], 40, Pe));
|
|
428
428
|
}
|
|
@@ -24,9 +24,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
24
24
|
validateFunction: () => false;
|
|
25
25
|
}>>>, {
|
|
26
26
|
cell: string;
|
|
27
|
+
isLoading: boolean;
|
|
27
28
|
isEditing: boolean;
|
|
28
29
|
validateFunction: (value: unknown) => string | boolean;
|
|
29
|
-
isLoading: boolean;
|
|
30
30
|
}>, {
|
|
31
31
|
input?(_: {}): any;
|
|
32
32
|
content?(_: {}): any;
|
|
@@ -4,14 +4,18 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
|
|
|
4
4
|
$data: {};
|
|
5
5
|
$props: Partial<{
|
|
6
6
|
cell: string;
|
|
7
|
+
isLoading: boolean;
|
|
7
8
|
isEditing: boolean;
|
|
8
9
|
validateFunction: (value: unknown) => string | boolean;
|
|
9
|
-
isLoading: boolean;
|
|
10
10
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
11
11
|
cell: {
|
|
12
12
|
type: import("vue").PropType<string>;
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
15
|
+
isLoading: {
|
|
16
|
+
type: import("vue").PropType<boolean>;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
15
19
|
isEditing: {
|
|
16
20
|
type: import("vue").PropType<boolean>;
|
|
17
21
|
default: boolean;
|
|
@@ -20,10 +24,6 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
|
|
|
20
24
|
type: import("vue").PropType<(value: unknown) => string | boolean>;
|
|
21
25
|
default: () => false;
|
|
22
26
|
};
|
|
23
|
-
isLoading: {
|
|
24
|
-
type: import("vue").PropType<boolean>;
|
|
25
|
-
default: boolean;
|
|
26
|
-
};
|
|
27
27
|
rowIndex: {
|
|
28
28
|
type: import("vue").PropType<number>;
|
|
29
29
|
required: true;
|
|
@@ -32,7 +32,7 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
|
|
|
32
32
|
type: import("vue").PropType<number>;
|
|
33
33
|
required: true;
|
|
34
34
|
};
|
|
35
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "cell" | "
|
|
35
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "cell" | "isLoading" | "isEditing" | "validateFunction">;
|
|
36
36
|
$attrs: {
|
|
37
37
|
[x: string]: unknown;
|
|
38
38
|
};
|
|
@@ -51,6 +51,10 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
|
|
|
51
51
|
type: import("vue").PropType<string>;
|
|
52
52
|
default: string;
|
|
53
53
|
};
|
|
54
|
+
isLoading: {
|
|
55
|
+
type: import("vue").PropType<boolean>;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
54
58
|
isEditing: {
|
|
55
59
|
type: import("vue").PropType<boolean>;
|
|
56
60
|
default: boolean;
|
|
@@ -59,10 +63,6 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
|
|
|
59
63
|
type: import("vue").PropType<(value: unknown) => string | boolean>;
|
|
60
64
|
default: () => false;
|
|
61
65
|
};
|
|
62
|
-
isLoading: {
|
|
63
|
-
type: import("vue").PropType<boolean>;
|
|
64
|
-
default: boolean;
|
|
65
|
-
};
|
|
66
66
|
rowIndex: {
|
|
67
67
|
type: import("vue").PropType<number>;
|
|
68
68
|
required: true;
|
|
@@ -73,9 +73,9 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
|
|
|
73
73
|
};
|
|
74
74
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
75
75
|
cell: string;
|
|
76
|
+
isLoading: boolean;
|
|
76
77
|
isEditing: boolean;
|
|
77
78
|
validateFunction: (value: unknown) => string | boolean;
|
|
78
|
-
isLoading: boolean;
|
|
79
79
|
}, {}, string> & {
|
|
80
80
|
beforeCreate?: (() => void) | (() => void)[];
|
|
81
81
|
created?: (() => void) | (() => void)[];
|
|
@@ -101,6 +101,10 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
|
|
|
101
101
|
type: import("vue").PropType<string>;
|
|
102
102
|
default: string;
|
|
103
103
|
};
|
|
104
|
+
isLoading: {
|
|
105
|
+
type: import("vue").PropType<boolean>;
|
|
106
|
+
default: boolean;
|
|
107
|
+
};
|
|
104
108
|
isEditing: {
|
|
105
109
|
type: import("vue").PropType<boolean>;
|
|
106
110
|
default: boolean;
|
|
@@ -109,10 +113,6 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
|
|
|
109
113
|
type: import("vue").PropType<(value: unknown) => string | boolean>;
|
|
110
114
|
default: () => false;
|
|
111
115
|
};
|
|
112
|
-
isLoading: {
|
|
113
|
-
type: import("vue").PropType<boolean>;
|
|
114
|
-
default: boolean;
|
|
115
|
-
};
|
|
116
116
|
rowIndex: {
|
|
117
117
|
type: import("vue").PropType<number>;
|
|
118
118
|
required: true;
|
|
@@ -130,6 +130,10 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
|
|
|
130
130
|
type: import("vue").PropType<string>;
|
|
131
131
|
default: string;
|
|
132
132
|
};
|
|
133
|
+
isLoading: {
|
|
134
|
+
type: import("vue").PropType<boolean>;
|
|
135
|
+
default: boolean;
|
|
136
|
+
};
|
|
133
137
|
isEditing: {
|
|
134
138
|
type: import("vue").PropType<boolean>;
|
|
135
139
|
default: boolean;
|
|
@@ -138,10 +142,6 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
|
|
|
138
142
|
type: import("vue").PropType<(value: unknown) => string | boolean>;
|
|
139
143
|
default: () => false;
|
|
140
144
|
};
|
|
141
|
-
isLoading: {
|
|
142
|
-
type: import("vue").PropType<boolean>;
|
|
143
|
-
default: boolean;
|
|
144
|
-
};
|
|
145
145
|
rowIndex: {
|
|
146
146
|
type: import("vue").PropType<number>;
|
|
147
147
|
required: true;
|
|
@@ -152,9 +152,9 @@ declare const EditableTypes: () => (import("vue").InjectionKey<import("../common
|
|
|
152
152
|
};
|
|
153
153
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
154
154
|
cell: string;
|
|
155
|
+
isLoading: boolean;
|
|
155
156
|
isEditing: boolean;
|
|
156
157
|
validateFunction: (value: unknown) => string | boolean;
|
|
157
|
-
isLoading: boolean;
|
|
158
158
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
159
159
|
$slots: {
|
|
160
160
|
input?(_: {}): any;
|
|
@@ -37,10 +37,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
37
37
|
}>>>, {
|
|
38
38
|
type: "input" | "dropdown";
|
|
39
39
|
cell: string;
|
|
40
|
+
isLoading: boolean;
|
|
40
41
|
withIcons: boolean;
|
|
41
42
|
saveOnClickOutside: boolean;
|
|
42
43
|
validateFunction: (value: unknown) => string | boolean;
|
|
43
|
-
isLoading: boolean;
|
|
44
44
|
displayValue: (option: unknown) => unknown;
|
|
45
45
|
}>, {
|
|
46
46
|
input?(_: {}): any;
|
|
@@ -6,10 +6,10 @@ declare const EditableTypes: () => ({
|
|
|
6
6
|
$props: Partial<{
|
|
7
7
|
type: "input" | "dropdown";
|
|
8
8
|
cell: string;
|
|
9
|
+
isLoading: boolean;
|
|
9
10
|
withIcons: boolean;
|
|
10
11
|
saveOnClickOutside: boolean;
|
|
11
12
|
validateFunction: (value: unknown) => string | boolean;
|
|
12
|
-
isLoading: boolean;
|
|
13
13
|
displayValue: (option: unknown) => unknown;
|
|
14
14
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
15
15
|
type: {
|
|
@@ -21,6 +21,10 @@ declare const EditableTypes: () => ({
|
|
|
21
21
|
type: import("vue").PropType<string>;
|
|
22
22
|
default: string;
|
|
23
23
|
};
|
|
24
|
+
isLoading: {
|
|
25
|
+
type: import("vue").PropType<boolean>;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
24
28
|
withIcons: {
|
|
25
29
|
type: import("vue").PropType<boolean>;
|
|
26
30
|
default: boolean;
|
|
@@ -33,10 +37,6 @@ declare const EditableTypes: () => ({
|
|
|
33
37
|
type: import("vue").PropType<(value: unknown) => string | boolean>;
|
|
34
38
|
default: () => false;
|
|
35
39
|
};
|
|
36
|
-
isLoading: {
|
|
37
|
-
type: import("vue").PropType<boolean>;
|
|
38
|
-
default: boolean;
|
|
39
|
-
};
|
|
40
40
|
rowIndex: {
|
|
41
41
|
type: import("vue").PropType<number>;
|
|
42
42
|
required: true;
|
|
@@ -49,7 +49,7 @@ declare const EditableTypes: () => ({
|
|
|
49
49
|
type: import("vue").PropType<(option: unknown) => unknown>;
|
|
50
50
|
default: (cell: unknown) => unknown;
|
|
51
51
|
};
|
|
52
|
-
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "cell" | "
|
|
52
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "cell" | "isLoading" | "withIcons" | "saveOnClickOutside" | "validateFunction" | "displayValue">;
|
|
53
53
|
$attrs: {
|
|
54
54
|
[x: string]: unknown;
|
|
55
55
|
};
|
|
@@ -73,6 +73,10 @@ declare const EditableTypes: () => ({
|
|
|
73
73
|
type: import("vue").PropType<string>;
|
|
74
74
|
default: string;
|
|
75
75
|
};
|
|
76
|
+
isLoading: {
|
|
77
|
+
type: import("vue").PropType<boolean>;
|
|
78
|
+
default: boolean;
|
|
79
|
+
};
|
|
76
80
|
withIcons: {
|
|
77
81
|
type: import("vue").PropType<boolean>;
|
|
78
82
|
default: boolean;
|
|
@@ -85,10 +89,6 @@ declare const EditableTypes: () => ({
|
|
|
85
89
|
type: import("vue").PropType<(value: unknown) => string | boolean>;
|
|
86
90
|
default: () => false;
|
|
87
91
|
};
|
|
88
|
-
isLoading: {
|
|
89
|
-
type: import("vue").PropType<boolean>;
|
|
90
|
-
default: boolean;
|
|
91
|
-
};
|
|
92
92
|
rowIndex: {
|
|
93
93
|
type: import("vue").PropType<number>;
|
|
94
94
|
required: true;
|
|
@@ -104,10 +104,10 @@ declare const EditableTypes: () => ({
|
|
|
104
104
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
105
105
|
type: "input" | "dropdown";
|
|
106
106
|
cell: string;
|
|
107
|
+
isLoading: boolean;
|
|
107
108
|
withIcons: boolean;
|
|
108
109
|
saveOnClickOutside: boolean;
|
|
109
110
|
validateFunction: (value: unknown) => string | boolean;
|
|
110
|
-
isLoading: boolean;
|
|
111
111
|
displayValue: (option: unknown) => unknown;
|
|
112
112
|
}, {}, string> & {
|
|
113
113
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -139,6 +139,10 @@ declare const EditableTypes: () => ({
|
|
|
139
139
|
type: import("vue").PropType<string>;
|
|
140
140
|
default: string;
|
|
141
141
|
};
|
|
142
|
+
isLoading: {
|
|
143
|
+
type: import("vue").PropType<boolean>;
|
|
144
|
+
default: boolean;
|
|
145
|
+
};
|
|
142
146
|
withIcons: {
|
|
143
147
|
type: import("vue").PropType<boolean>;
|
|
144
148
|
default: boolean;
|
|
@@ -151,10 +155,6 @@ declare const EditableTypes: () => ({
|
|
|
151
155
|
type: import("vue").PropType<(value: unknown) => string | boolean>;
|
|
152
156
|
default: () => false;
|
|
153
157
|
};
|
|
154
|
-
isLoading: {
|
|
155
|
-
type: import("vue").PropType<boolean>;
|
|
156
|
-
default: boolean;
|
|
157
|
-
};
|
|
158
158
|
rowIndex: {
|
|
159
159
|
type: import("vue").PropType<number>;
|
|
160
160
|
required: true;
|
|
@@ -181,6 +181,10 @@ declare const EditableTypes: () => ({
|
|
|
181
181
|
type: import("vue").PropType<string>;
|
|
182
182
|
default: string;
|
|
183
183
|
};
|
|
184
|
+
isLoading: {
|
|
185
|
+
type: import("vue").PropType<boolean>;
|
|
186
|
+
default: boolean;
|
|
187
|
+
};
|
|
184
188
|
withIcons: {
|
|
185
189
|
type: import("vue").PropType<boolean>;
|
|
186
190
|
default: boolean;
|
|
@@ -193,10 +197,6 @@ declare const EditableTypes: () => ({
|
|
|
193
197
|
type: import("vue").PropType<(value: unknown) => string | boolean>;
|
|
194
198
|
default: () => false;
|
|
195
199
|
};
|
|
196
|
-
isLoading: {
|
|
197
|
-
type: import("vue").PropType<boolean>;
|
|
198
|
-
default: boolean;
|
|
199
|
-
};
|
|
200
200
|
rowIndex: {
|
|
201
201
|
type: import("vue").PropType<number>;
|
|
202
202
|
required: true;
|
|
@@ -212,10 +212,10 @@ declare const EditableTypes: () => ({
|
|
|
212
212
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
213
213
|
type: "input" | "dropdown";
|
|
214
214
|
cell: string;
|
|
215
|
+
isLoading: boolean;
|
|
215
216
|
withIcons: boolean;
|
|
216
217
|
saveOnClickOutside: boolean;
|
|
217
218
|
validateFunction: (value: unknown) => string | boolean;
|
|
218
|
-
isLoading: boolean;
|
|
219
219
|
displayValue: (option: unknown) => unknown;
|
|
220
220
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
221
221
|
$slots: {
|