@ironsource/shared-ui 2.1.12-rc.47 → 2.1.12-rc.49
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/ChartPlane.vue_vue_type_style_index_0_scoped_908ef54f_lang.css +1 -0
- package/ColumnConfigurator.vue_vue_type_style_index_0_scoped_c13770d4_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_ef67c78e_lang.css +1 -0
- package/DataGridContainer.vue_vue_type_style_index_0_scoped_9a30b10c_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_f9907ea0_lang.css +1 -0
- package/Link.vue_vue_type_style_index_0_scoped_1a766750_lang.css +1 -0
- package/LoaderBars.vue_vue_type_style_index_0_scoped_d976ec65_lang.css +1 -0
- package/SectionDropdown.vue_vue_type_style_index_0_scoped_cfad60a8_lang.css +1 -0
- package/SectionHeaderText.vue_vue_type_style_index_0_scoped_0b8d3d79_lang.css +1 -0
- package/ShowMoreLink.vue_vue_type_style_index_0_scoped_9fc3bc1b_lang.css +1 -0
- package/SortableItem.vue_vue_type_style_index_0_scoped_c72be7ed_lang.css +1 -0
- package/SortableList.vue_vue_type_style_index_0_scoped_9aec4e9b_lang.css +1 -0
- package/SortableSelectableList.vue_vue_type_style_index_0_scoped_40b0a4de_lang.css +1 -0
- package/TagsField.vue_vue_type_style_index_0_scoped_9760426b_lang.css +1 -0
- package/TagsFieldChip.vue_vue_type_style_index_0_scoped_d186b7ef_lang.css +1 -0
- package/components/chart/ChartPlane.vue.js +2 -2
- package/components/chart/ChartPlane.vue2.js +4 -4
- package/components/columnConfigurator/ColumnConfigurator.types.d.ts +12 -0
- package/components/columnConfigurator/ColumnConfigurator.vue.d.ts +61 -0
- package/components/columnConfigurator/ColumnConfigurator.vue.js +7 -0
- package/components/columnConfigurator/ColumnConfigurator.vue2.js +113 -0
- package/components/columnConfigurator/SectionDropdown.vue.d.ts +39 -0
- package/components/columnConfigurator/SectionDropdown.vue.js +7 -0
- package/components/columnConfigurator/SectionDropdown.vue2.js +57 -0
- package/components/columnConfigurator/SectionHeaderText.vue.d.ts +34 -0
- package/components/columnConfigurator/SectionHeaderText.vue.js +7 -0
- package/components/columnConfigurator/SectionHeaderText.vue2.js +22 -0
- package/components/columnConfigurator/ShowMoreLink.vue.d.ts +33 -0
- package/components/columnConfigurator/ShowMoreLink.vue.js +7 -0
- package/components/columnConfigurator/ShowMoreLink.vue2.js +41 -0
- package/components/columnConfigurator/consts.d.ts +1 -0
- package/components/columnConfigurator/consts.js +4 -0
- package/components/columnConfigurator/index.d.ts +72 -0
- package/components/columnConfigurator/index.js +6 -0
- package/components/columnConfigurator/mockData.d.ts +30 -0
- package/components/columnConfigurator/utils.d.ts +2 -0
- package/components/columnConfigurator/utils.js +18 -0
- package/components/columnPicker/ColumnPicker.vue.d.ts +1 -1
- package/components/columnPicker/index.d.ts +20 -20
- package/components/dropdown/v4/DropdownV4.vue.d.ts +1 -0
- package/components/dropdown/v4/DropdownV4.vue.js +4 -4
- package/components/dropdown/v4/DropdownV4.vue2.js +88 -82
- package/components/dropdown/v4/index.d.ts +1 -0
- package/components/link/Link.vue.d.ts +5 -0
- package/components/link/Link.vue.js +3 -3
- package/components/link/Link.vue2.js +36 -28
- package/components/link/index.d.ts +20 -1
- package/components/sortableList/LoaderBars.vue.d.ts +34 -0
- package/components/sortableList/LoaderBars.vue.js +7 -0
- package/components/sortableList/LoaderBars.vue2.js +25 -0
- package/components/sortableList/SortableItem.vue.js +4 -4
- package/components/sortableList/SortableItem.vue2.js +3 -3
- package/components/sortableList/SortableList.vue.d.ts +2 -2
- package/components/sortableList/SortableList.vue.js +5 -5
- package/components/sortableList/SortableList.vue2.js +96 -106
- package/components/sortableList/SortableSelectableList.vue.d.ts +107 -0
- package/components/sortableList/SortableSelectableList.vue.js +7 -0
- package/components/sortableList/SortableSelectableList.vue2.js +128 -0
- package/components/sortableList/composables/useDraggableHelpers.d.ts +5 -0
- package/components/sortableList/composables/useDraggableHelpers.js +20 -0
- package/components/sortableList/consts.d.ts +2 -0
- package/components/sortableList/consts.js +4 -2
- package/components/sortableList/index.d.ts +39 -39
- package/components/table/v4/DataGrid.vue.d.ts +4 -3
- package/components/table/v4/DataGrid.vue.js +5 -5
- package/components/table/v4/DataGrid.vue2.js +349 -331
- package/components/table/v4/DataGridContainer.vue.d.ts +10 -0
- package/components/table/v4/DataGridContainer.vue.js +7 -0
- package/components/table/v4/DataGridContainer.vue2.js +19 -0
- package/components/table/v4/DataGridHeader.vue.d.ts +1 -1
- package/components/table/v4/MultipleDataGrid.vue.d.ts +2 -2
- package/components/table/v4/index.d.ts +104 -103
- package/components/tagsField/TagsField.types.d.ts +4 -0
- package/components/tagsField/TagsField.vue.d.ts +65 -0
- package/components/tagsField/TagsField.vue.js +7 -0
- package/components/tagsField/TagsField.vue2.js +90 -0
- package/components/tagsField/TagsFieldChip.vue.d.ts +45 -0
- package/components/tagsField/TagsFieldChip.vue.js +7 -0
- package/components/tagsField/TagsFieldChip.vue2.js +81 -0
- package/components/tagsField/consts.d.ts +1 -0
- package/components/tagsField/consts.js +4 -0
- package/components/tagsField/index.d.ts +75 -0
- package/components/tagsField/index.js +6 -0
- package/index.d.ts +290 -284
- package/index.js +86 -78
- package/package.json +9 -1
- package/testids/index.d.ts +13 -0
- package/testids/index.js +33 -31
- package/utils/object.d.ts +2 -0
- package/utils/object.js +9 -5
- package/utils/search.js +1 -1
- package/ChartPlane.vue_vue_type_style_index_0_scoped_dd60ff0e_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_da7631e0_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_55dd36a7_lang.css +0 -1
- package/Link.vue_vue_type_style_index_0_scoped_b10e2439_lang.css +0 -1
- package/SortableItem.vue_vue_type_style_index_0_scoped_800cd503_lang.css +0 -1
- package/SortableList.vue_vue_type_style_index_0_scoped_84dc8525_lang.css +0 -1
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import "../../SortableSelectableList.vue_vue_type_style_index_0_scoped_40b0a4de_lang.css"; import { defineComponent as x, useCssVars as G, useSlots as N, ref as O, computed as u, watch as H, openBlock as s, createElementBlock as g, mergeProps as w, unref as l, renderSlot as b, createCommentVNode as c, createBlock as C, isRef as S, withCtx as V, Fragment as $, renderList as z, createSlots as F, createVNode as M } from "vue";
|
|
2
|
+
import { VueDraggable as U } from "vue-draggable-plus";
|
|
3
|
+
import j from "./SortableItem.vue.js";
|
|
4
|
+
import { useTestIdAttrs as q } from "../../utils/testIds.js";
|
|
5
|
+
import { SortableListTestIdModifiers as I } from "../../testids/index.js";
|
|
6
|
+
import { useDraggableHelpers as J } from "./composables/useDraggableHelpers.js";
|
|
7
|
+
import K from "./LoaderBars.vue.js";
|
|
8
|
+
import Q from "../columnConfigurator/ShowMoreLink.vue.js";
|
|
9
|
+
import { DRAGGABLE_HANDLE_SELECTOR as W, DRAGGABLE_AREA_SELECTOR as X } from "./consts.js";
|
|
10
|
+
const Y = {
|
|
11
|
+
key: 0,
|
|
12
|
+
class: "header-container"
|
|
13
|
+
}, Z = {
|
|
14
|
+
key: 1,
|
|
15
|
+
class: "sortable-list-container"
|
|
16
|
+
}, re = /* @__PURE__ */ x({
|
|
17
|
+
__name: "SortableSelectableList",
|
|
18
|
+
props: {
|
|
19
|
+
items: { default: () => [] },
|
|
20
|
+
displayValue: { type: Function, default: (n) => n.displayText || n.toString() },
|
|
21
|
+
openId: { default: null },
|
|
22
|
+
selectedChildPerItem: { default: () => ({}) },
|
|
23
|
+
variant: { default: "default" },
|
|
24
|
+
draggableArea: { default: "handle" },
|
|
25
|
+
isLoading: { type: Boolean, default: !1 },
|
|
26
|
+
loadingRowCount: { default: 3 },
|
|
27
|
+
alwaysVisibleCount: { default: null },
|
|
28
|
+
zIndexBase: { default: 100 },
|
|
29
|
+
testId: { default: "" }
|
|
30
|
+
},
|
|
31
|
+
emits: ["sortableItemDragged", "update:items", "update:openId", "update:selectedChildPerItem"],
|
|
32
|
+
setup(n, { emit: o }) {
|
|
33
|
+
const t = n;
|
|
34
|
+
G((e) => ({
|
|
35
|
+
"3cf7ee9d": n.zIndexBase
|
|
36
|
+
}));
|
|
37
|
+
const f = N(), L = (e) => {
|
|
38
|
+
if (!e.children)
|
|
39
|
+
return t.displayValue(e);
|
|
40
|
+
const d = t.selectedChildPerItem[e.id] ?? null, a = e.children.find((h) => h.id === d);
|
|
41
|
+
return a ? t.displayValue(a) : t.displayValue(e);
|
|
42
|
+
}, i = O(!1), m = u({
|
|
43
|
+
get: () => !i.value,
|
|
44
|
+
set: (e) => i.value = !e
|
|
45
|
+
}), y = u(() => {
|
|
46
|
+
const e = t.alwaysVisibleCount ?? 0;
|
|
47
|
+
return t.items?.length > e;
|
|
48
|
+
});
|
|
49
|
+
H(y, (e, d) => {
|
|
50
|
+
d === !0 && e === !1 && (i.value = !1);
|
|
51
|
+
});
|
|
52
|
+
const r = u({
|
|
53
|
+
get() {
|
|
54
|
+
return i.value && t.alwaysVisibleCount ? t.items.slice(0, t.alwaysVisibleCount) : t.items;
|
|
55
|
+
},
|
|
56
|
+
set(e) {
|
|
57
|
+
o("update:items", [...e, ...A.value]);
|
|
58
|
+
}
|
|
59
|
+
}), A = u(() => i.value ? t.alwaysVisibleCount ? t.items.slice(t.alwaysVisibleCount) : [] : []), E = u(
|
|
60
|
+
() => t.draggableArea === "handle" ? W : X
|
|
61
|
+
), { onDragStart: k, onDragEnd: B, draggingInProgress: T } = J(o), D = (e) => e.id === t.openId && !T.value, R = (e, d) => {
|
|
62
|
+
d ? o("update:openId", e.id) : o("update:openId", null);
|
|
63
|
+
}, P = (e, d) => {
|
|
64
|
+
o("update:selectedChildPerItem", {
|
|
65
|
+
...t.selectedChildPerItem,
|
|
66
|
+
[d.id]: e.id
|
|
67
|
+
}), o("update:openId", d.id);
|
|
68
|
+
}, v = q(t.testId, I);
|
|
69
|
+
return (e, d) => (s(), g("div", w({ class: "sortable-selectable-list" }, l(v)[l(I).CONTAINER]), [
|
|
70
|
+
l(f).header ? (s(), g("div", Y, [
|
|
71
|
+
l(f).header ? b(e.$slots, "header", { key: 0 }, void 0, !0) : c("", !0)
|
|
72
|
+
])) : c("", !0),
|
|
73
|
+
l(r).length && !n.isLoading ? (s(), g("div", Z, [
|
|
74
|
+
l(r).length ? (s(), C(l(U), w({
|
|
75
|
+
key: 0,
|
|
76
|
+
modelValue: l(r),
|
|
77
|
+
"onUpdate:modelValue": d[0] || (d[0] = (a) => S(r) ? r.value = a : null),
|
|
78
|
+
class: "sortable-list",
|
|
79
|
+
filter: ".expand-icon",
|
|
80
|
+
animation: 150,
|
|
81
|
+
handle: l(E)
|
|
82
|
+
}, l(v)[l(I).DRAGGABLE_LIST], {
|
|
83
|
+
onStart: l(k),
|
|
84
|
+
onEnd: l(B)
|
|
85
|
+
}), {
|
|
86
|
+
default: V(() => [
|
|
87
|
+
(s(!0), g($, null, z(l(r), (a, h) => (s(), C(j, {
|
|
88
|
+
key: a.id,
|
|
89
|
+
"data-id": a.id,
|
|
90
|
+
item: a,
|
|
91
|
+
index: h,
|
|
92
|
+
"is-open": D(a),
|
|
93
|
+
"is-disabled": !!a.isDisabled,
|
|
94
|
+
"selected-child-id": n.selectedChildPerItem[a.id] ?? null,
|
|
95
|
+
"display-value": L,
|
|
96
|
+
variant: n.variant,
|
|
97
|
+
"draggable-area": n.draggableArea,
|
|
98
|
+
onToggle: (p) => R(a, p),
|
|
99
|
+
onSelectChild: (p) => P(p, a)
|
|
100
|
+
}, F({ _: 2 }, [
|
|
101
|
+
l(f).menu ? {
|
|
102
|
+
name: "menu",
|
|
103
|
+
fn: V(() => [
|
|
104
|
+
b(e.$slots, "menu", { item: a }, void 0, !0)
|
|
105
|
+
]),
|
|
106
|
+
key: "0"
|
|
107
|
+
} : void 0
|
|
108
|
+
]), 1032, ["data-id", "item", "index", "is-open", "is-disabled", "selected-child-id", "variant", "draggable-area", "onToggle", "onSelectChild"]))), 128))
|
|
109
|
+
]),
|
|
110
|
+
_: 3
|
|
111
|
+
}, 16, ["modelValue", "handle", "onStart", "onEnd"])) : c("", !0),
|
|
112
|
+
l(y) ? (s(), C(Q, {
|
|
113
|
+
key: 1,
|
|
114
|
+
"all-shown": l(m),
|
|
115
|
+
"onUpdate:all-shown": d[1] || (d[1] = (a) => S(m) ? m.value = a : null)
|
|
116
|
+
}, null, 8, ["all-shown"])) : c("", !0)
|
|
117
|
+
])) : n.isLoading ? b(e.$slots, "loader", { key: 2 }, () => [
|
|
118
|
+
M(K, {
|
|
119
|
+
"loading-row-count": n.loadingRowCount,
|
|
120
|
+
variant: n.variant
|
|
121
|
+
}, null, 8, ["loading-row-count", "variant"])
|
|
122
|
+
], !0) : c("", !0)
|
|
123
|
+
], 16));
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
export {
|
|
127
|
+
re as default
|
|
128
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ref as d } from "vue";
|
|
2
|
+
import { DRAG_CURSOR_CSS_CLASS as r } from "../consts.js";
|
|
3
|
+
const u = (a) => {
|
|
4
|
+
const t = d(!1);
|
|
5
|
+
return {
|
|
6
|
+
onDragStart: (e) => {
|
|
7
|
+
t.value = !0, setTimeout(() => e.target.classList.add(r), 50);
|
|
8
|
+
},
|
|
9
|
+
onDragEnd: (e) => {
|
|
10
|
+
const { target: s, item: o, newIndex: n } = e;
|
|
11
|
+
t.value = !1, s.classList.remove(r);
|
|
12
|
+
const g = o.attributes["data-id"]?.value;
|
|
13
|
+
a("sortableItemDragged", { id: g, newIndex: n });
|
|
14
|
+
},
|
|
15
|
+
draggingInProgress: t
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export {
|
|
19
|
+
u as useDraggableHelpers
|
|
20
|
+
};
|
|
@@ -15,13 +15,13 @@ declare const SortableListTypes: () => ({
|
|
|
15
15
|
childListMaxHeight: string;
|
|
16
16
|
searchHandler: (item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean;
|
|
17
17
|
draggableArea: "handle" | "full";
|
|
18
|
+
loadingRowCount: number;
|
|
18
19
|
openId: string | number;
|
|
20
|
+
zIndexBase: number;
|
|
19
21
|
selectedId: string | number;
|
|
20
22
|
showSearch: boolean;
|
|
21
|
-
loadingRowCount: number;
|
|
22
23
|
emptyStateTitle: string;
|
|
23
24
|
isSticky: boolean;
|
|
24
|
-
zIndexBase: number;
|
|
25
25
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
26
26
|
search: {
|
|
27
27
|
type: import("vue").PropType<string>;
|
|
@@ -69,10 +69,18 @@ declare const SortableListTypes: () => ({
|
|
|
69
69
|
type: import("vue").PropType<"handle" | "full">;
|
|
70
70
|
default: string;
|
|
71
71
|
};
|
|
72
|
+
loadingRowCount: {
|
|
73
|
+
type: import("vue").PropType<number>;
|
|
74
|
+
default: number;
|
|
75
|
+
};
|
|
72
76
|
openId: {
|
|
73
77
|
type: import("vue").PropType<string | number>;
|
|
74
78
|
default: any;
|
|
75
79
|
};
|
|
80
|
+
zIndexBase: {
|
|
81
|
+
type: import("vue").PropType<number>;
|
|
82
|
+
default: number;
|
|
83
|
+
};
|
|
76
84
|
selectedId: {
|
|
77
85
|
type: import("vue").PropType<string | number>;
|
|
78
86
|
default: any;
|
|
@@ -81,10 +89,6 @@ declare const SortableListTypes: () => ({
|
|
|
81
89
|
type: import("vue").PropType<boolean>;
|
|
82
90
|
default: boolean;
|
|
83
91
|
};
|
|
84
|
-
loadingRowCount: {
|
|
85
|
-
type: import("vue").PropType<number>;
|
|
86
|
-
default: number;
|
|
87
|
-
};
|
|
88
92
|
emptyStateTitle: {
|
|
89
93
|
type: import("vue").PropType<string>;
|
|
90
94
|
default: string;
|
|
@@ -93,10 +97,6 @@ declare const SortableListTypes: () => ({
|
|
|
93
97
|
type: import("vue").PropType<boolean>;
|
|
94
98
|
default: boolean;
|
|
95
99
|
};
|
|
96
|
-
zIndexBase: {
|
|
97
|
-
type: import("vue").PropType<number>;
|
|
98
|
-
default: number;
|
|
99
|
-
};
|
|
100
100
|
}>> & {
|
|
101
101
|
onClearSearch?: () => any;
|
|
102
102
|
onSortableItemDragged?: (event: {
|
|
@@ -108,7 +108,7 @@ declare const SortableListTypes: () => ({
|
|
|
108
108
|
"onUpdate:selectedId"?: (id: string | number) => any;
|
|
109
109
|
"onUpdate:selectedChildId"?: (id: string | number) => any;
|
|
110
110
|
"onUpdate:search"?: (query: string) => any;
|
|
111
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "testId" | "variant" | "isLoading" | "displayValue" | "searchPlaceholder" | "items" | "selectedChildId" | "childListMaxHeight" | "searchHandler" | "draggableArea" | "
|
|
111
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "testId" | "variant" | "isLoading" | "displayValue" | "searchPlaceholder" | "items" | "selectedChildId" | "childListMaxHeight" | "searchHandler" | "draggableArea" | "loadingRowCount" | "openId" | "zIndexBase" | "selectedId" | "showSearch" | "emptyStateTitle" | "isSticky">;
|
|
112
112
|
$attrs: {
|
|
113
113
|
[x: string]: unknown;
|
|
114
114
|
};
|
|
@@ -172,10 +172,18 @@ declare const SortableListTypes: () => ({
|
|
|
172
172
|
type: import("vue").PropType<"handle" | "full">;
|
|
173
173
|
default: string;
|
|
174
174
|
};
|
|
175
|
+
loadingRowCount: {
|
|
176
|
+
type: import("vue").PropType<number>;
|
|
177
|
+
default: number;
|
|
178
|
+
};
|
|
175
179
|
openId: {
|
|
176
180
|
type: import("vue").PropType<string | number>;
|
|
177
181
|
default: any;
|
|
178
182
|
};
|
|
183
|
+
zIndexBase: {
|
|
184
|
+
type: import("vue").PropType<number>;
|
|
185
|
+
default: number;
|
|
186
|
+
};
|
|
179
187
|
selectedId: {
|
|
180
188
|
type: import("vue").PropType<string | number>;
|
|
181
189
|
default: any;
|
|
@@ -184,10 +192,6 @@ declare const SortableListTypes: () => ({
|
|
|
184
192
|
type: import("vue").PropType<boolean>;
|
|
185
193
|
default: boolean;
|
|
186
194
|
};
|
|
187
|
-
loadingRowCount: {
|
|
188
|
-
type: import("vue").PropType<number>;
|
|
189
|
-
default: number;
|
|
190
|
-
};
|
|
191
195
|
emptyStateTitle: {
|
|
192
196
|
type: import("vue").PropType<string>;
|
|
193
197
|
default: string;
|
|
@@ -196,10 +200,6 @@ declare const SortableListTypes: () => ({
|
|
|
196
200
|
type: import("vue").PropType<boolean>;
|
|
197
201
|
default: boolean;
|
|
198
202
|
};
|
|
199
|
-
zIndexBase: {
|
|
200
|
-
type: import("vue").PropType<number>;
|
|
201
|
-
default: number;
|
|
202
|
-
};
|
|
203
203
|
}>> & {
|
|
204
204
|
onClearSearch?: () => any;
|
|
205
205
|
onSortableItemDragged?: (event: {
|
|
@@ -234,13 +234,13 @@ declare const SortableListTypes: () => ({
|
|
|
234
234
|
childListMaxHeight: string;
|
|
235
235
|
searchHandler: (item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean;
|
|
236
236
|
draggableArea: "handle" | "full";
|
|
237
|
+
loadingRowCount: number;
|
|
237
238
|
openId: string | number;
|
|
239
|
+
zIndexBase: number;
|
|
238
240
|
selectedId: string | number;
|
|
239
241
|
showSearch: boolean;
|
|
240
|
-
loadingRowCount: number;
|
|
241
242
|
emptyStateTitle: string;
|
|
242
243
|
isSticky: boolean;
|
|
243
|
-
zIndexBase: number;
|
|
244
244
|
}, {}, string> & {
|
|
245
245
|
beforeCreate?: (() => void) | (() => void)[];
|
|
246
246
|
created?: (() => void) | (() => void)[];
|
|
@@ -308,10 +308,18 @@ declare const SortableListTypes: () => ({
|
|
|
308
308
|
type: import("vue").PropType<"handle" | "full">;
|
|
309
309
|
default: string;
|
|
310
310
|
};
|
|
311
|
+
loadingRowCount: {
|
|
312
|
+
type: import("vue").PropType<number>;
|
|
313
|
+
default: number;
|
|
314
|
+
};
|
|
311
315
|
openId: {
|
|
312
316
|
type: import("vue").PropType<string | number>;
|
|
313
317
|
default: any;
|
|
314
318
|
};
|
|
319
|
+
zIndexBase: {
|
|
320
|
+
type: import("vue").PropType<number>;
|
|
321
|
+
default: number;
|
|
322
|
+
};
|
|
315
323
|
selectedId: {
|
|
316
324
|
type: import("vue").PropType<string | number>;
|
|
317
325
|
default: any;
|
|
@@ -320,10 +328,6 @@ declare const SortableListTypes: () => ({
|
|
|
320
328
|
type: import("vue").PropType<boolean>;
|
|
321
329
|
default: boolean;
|
|
322
330
|
};
|
|
323
|
-
loadingRowCount: {
|
|
324
|
-
type: import("vue").PropType<number>;
|
|
325
|
-
default: number;
|
|
326
|
-
};
|
|
327
331
|
emptyStateTitle: {
|
|
328
332
|
type: import("vue").PropType<string>;
|
|
329
333
|
default: string;
|
|
@@ -332,10 +336,6 @@ declare const SortableListTypes: () => ({
|
|
|
332
336
|
type: import("vue").PropType<boolean>;
|
|
333
337
|
default: boolean;
|
|
334
338
|
};
|
|
335
|
-
zIndexBase: {
|
|
336
|
-
type: import("vue").PropType<number>;
|
|
337
|
-
default: number;
|
|
338
|
-
};
|
|
339
339
|
}>> & {
|
|
340
340
|
onClearSearch?: () => any;
|
|
341
341
|
onSortableItemDragged?: (event: {
|
|
@@ -398,10 +398,18 @@ declare const SortableListTypes: () => ({
|
|
|
398
398
|
type: import("vue").PropType<"handle" | "full">;
|
|
399
399
|
default: string;
|
|
400
400
|
};
|
|
401
|
+
loadingRowCount: {
|
|
402
|
+
type: import("vue").PropType<number>;
|
|
403
|
+
default: number;
|
|
404
|
+
};
|
|
401
405
|
openId: {
|
|
402
406
|
type: import("vue").PropType<string | number>;
|
|
403
407
|
default: any;
|
|
404
408
|
};
|
|
409
|
+
zIndexBase: {
|
|
410
|
+
type: import("vue").PropType<number>;
|
|
411
|
+
default: number;
|
|
412
|
+
};
|
|
405
413
|
selectedId: {
|
|
406
414
|
type: import("vue").PropType<string | number>;
|
|
407
415
|
default: any;
|
|
@@ -410,10 +418,6 @@ declare const SortableListTypes: () => ({
|
|
|
410
418
|
type: import("vue").PropType<boolean>;
|
|
411
419
|
default: boolean;
|
|
412
420
|
};
|
|
413
|
-
loadingRowCount: {
|
|
414
|
-
type: import("vue").PropType<number>;
|
|
415
|
-
default: number;
|
|
416
|
-
};
|
|
417
421
|
emptyStateTitle: {
|
|
418
422
|
type: import("vue").PropType<string>;
|
|
419
423
|
default: string;
|
|
@@ -422,10 +426,6 @@ declare const SortableListTypes: () => ({
|
|
|
422
426
|
type: import("vue").PropType<boolean>;
|
|
423
427
|
default: boolean;
|
|
424
428
|
};
|
|
425
|
-
zIndexBase: {
|
|
426
|
-
type: import("vue").PropType<number>;
|
|
427
|
-
default: number;
|
|
428
|
-
};
|
|
429
429
|
}>> & {
|
|
430
430
|
onClearSearch?: () => any;
|
|
431
431
|
onSortableItemDragged?: (event: {
|
|
@@ -460,13 +460,13 @@ declare const SortableListTypes: () => ({
|
|
|
460
460
|
childListMaxHeight: string;
|
|
461
461
|
searchHandler: (item: import("./SortableList.types").SortableListItem, searchQuery: string) => boolean;
|
|
462
462
|
draggableArea: "handle" | "full";
|
|
463
|
+
loadingRowCount: number;
|
|
463
464
|
openId: string | number;
|
|
465
|
+
zIndexBase: number;
|
|
464
466
|
selectedId: string | number;
|
|
465
467
|
showSearch: boolean;
|
|
466
|
-
loadingRowCount: number;
|
|
467
468
|
emptyStateTitle: string;
|
|
468
469
|
isSticky: boolean;
|
|
469
|
-
zIndexBase: number;
|
|
470
470
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
471
471
|
$slots: {
|
|
472
472
|
header?(_: {}): any;
|
|
@@ -141,13 +141,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
141
141
|
}>>> & {
|
|
142
142
|
onSelectAll?: (value: boolean) => any;
|
|
143
143
|
onLoadMore?: () => any;
|
|
144
|
+
"onUpdate:selection"?: (selection: unknown[]) => any;
|
|
144
145
|
"onUpdate:search"?: (query: string) => any;
|
|
145
146
|
onOnScroll?: (event: Event) => any;
|
|
146
147
|
"onUpdate:sort"?: (newSort: Sort) => any;
|
|
147
148
|
onSaveRow?: (args_0: SaveRowEvent) => any;
|
|
148
149
|
onOnClearSearch?: () => any;
|
|
149
150
|
onClickRow?: (rowIndex: number) => any;
|
|
150
|
-
"onUpdate:selection"?: (selection: unknown[]) => any;
|
|
151
151
|
onSelectRow?: (value: boolean) => any;
|
|
152
152
|
}, {
|
|
153
153
|
sort: Sort;
|
|
@@ -158,11 +158,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
158
158
|
searchAutoFocus: boolean;
|
|
159
159
|
searchPlaceholder: string;
|
|
160
160
|
selection: unknown[];
|
|
161
|
-
showSearch: boolean;
|
|
162
161
|
loadingRowCount: number;
|
|
162
|
+
zIndexBase: number;
|
|
163
|
+
showSearch: boolean;
|
|
163
164
|
emptyStateTitle: string;
|
|
164
165
|
isSticky: boolean;
|
|
165
|
-
zIndexBase: number;
|
|
166
166
|
sections: Section[];
|
|
167
167
|
isStickyHeader: boolean;
|
|
168
168
|
emptyStateSubtitle: string;
|
|
@@ -208,6 +208,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
208
208
|
}): any;
|
|
209
209
|
"empty-state"?(_: {}): any;
|
|
210
210
|
footer?(_: {}): any;
|
|
211
|
+
"side-panel"?(_: {}): any;
|
|
211
212
|
}>;
|
|
212
213
|
export default _default;
|
|
213
214
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../DataGrid.
|
|
4
|
-
const
|
|
1
|
+
import e from "./DataGrid.vue2.js";
|
|
2
|
+
/* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../DataGrid.vue_vue_type_style_index_0_scoped_ef67c78e_lang.css"; //*');
|
|
4
|
+
const a = /* @__PURE__ */ o(e, [["__scopeId", "data-v-ef67c78e"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|