@vtable-guild/vtable-guild 2.9.0-alpha.0 → 2.9.0-alpha.2
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/css/presets/antdv.css +16 -0
- package/css/presets/element-plus.css +16 -0
- package/css/style.css +200 -0
- package/css/tailwind3-utilities.css +168 -0
- package/css/tailwind3.css +32 -0
- package/css/tailwind4.css +32 -0
- package/dist/core/src/components/Button.d.ts +9 -0
- package/dist/core/src/components/Button.d.ts.map +1 -1
- package/dist/core/src/components/Button.mjs +11 -6
- package/dist/core/src/utils/types.d.ts +5 -0
- package/dist/core/src/utils/types.d.ts.map +1 -1
- package/dist/css/presets/antdv.css +16 -0
- package/dist/css/presets/element-plus.css +16 -0
- package/dist/css/style.css +200 -0
- package/dist/css/tailwind3-utilities.css +168 -0
- package/dist/css/tailwind3.css +32 -0
- package/dist/css/tailwind4.css +32 -0
- package/dist/icons/src/CheckCircleFilledIcon.d.ts +3 -0
- package/dist/icons/src/CheckCircleFilledIcon.d.ts.map +1 -0
- package/dist/icons/src/CheckCircleFilledIcon.mjs +9 -0
- package/dist/icons/src/CloseCircleFilledIcon.d.ts +3 -0
- package/dist/icons/src/CloseCircleFilledIcon.d.ts.map +1 -0
- package/dist/icons/src/CloseCircleFilledIcon.mjs +9 -0
- package/dist/icons/src/index.d.ts +2 -0
- package/dist/icons/src/index.d.ts.map +1 -1
- package/dist/index.full.mjs +6240 -4423
- package/dist/index.mjs +125 -99
- package/dist/table/src/components/ExpandIcon.d.ts +18 -0
- package/dist/table/src/components/ExpandIcon.d.ts.map +1 -1
- package/dist/table/src/components/ExpandIcon.mjs +47 -17
- package/dist/table/src/components/FilterDropdown.d.ts +1 -1
- package/dist/table/src/components/Table.d.ts +41 -3
- package/dist/table/src/components/Table.d.ts.map +1 -1
- package/dist/table/src/components/Table.mjs +744 -649
- package/dist/table/src/components/TableBody.d.ts.map +1 -1
- package/dist/table/src/components/TableBody.mjs +8 -5
- package/dist/table/src/components/TableCell.d.ts.map +1 -1
- package/dist/table/src/components/TableCell.mjs +125 -94
- package/dist/table/src/components/TableEditableCell.d.ts +29 -0
- package/dist/table/src/components/TableEditableCell.d.ts.map +1 -0
- package/dist/table/src/components/TableEditableCell.mjs +39 -0
- package/dist/table/src/components/TableEditableCell.test.d.ts +2 -0
- package/dist/table/src/components/TableEditableCell.test.d.ts.map +1 -0
- package/dist/table/src/components/TableInstance.test.d.ts +2 -0
- package/dist/table/src/components/TableInstance.test.d.ts.map +1 -0
- package/dist/table/src/components/TableLazyTree.test.d.ts +2 -0
- package/dist/table/src/components/TableLazyTree.test.d.ts.map +1 -0
- package/dist/table/src/components/TableQuery.d.ts +108 -0
- package/dist/table/src/components/TableQuery.d.ts.map +1 -0
- package/dist/table/src/components/TableQuery.mjs +244 -0
- package/dist/table/src/components/TableQuery.test.d.ts +2 -0
- package/dist/table/src/components/TableQuery.test.d.ts.map +1 -0
- package/dist/table/src/components/VTable.vue.d.ts +5 -1
- package/dist/table/src/components/VTable.vue.d.ts.map +1 -1
- package/dist/table/src/components/VTable.vue.mjs +45 -33
- package/dist/table/src/components/VTableEditCell.vue.d.ts +19 -0
- package/dist/table/src/components/VTableEditCell.vue.d.ts.map +1 -0
- package/dist/table/src/components/VTableEditCell.vue.mjs +21 -0
- package/dist/table/src/components/VTableEditCell.vue2.mjs +4 -0
- package/dist/table/src/components/VTableQuery.vue.d.ts +18 -0
- package/dist/table/src/components/VTableQuery.vue.d.ts.map +1 -0
- package/dist/table/src/components/VTableQuery.vue.mjs +64 -0
- package/dist/table/src/components/VTableQuery.vue2.mjs +4 -0
- package/dist/table/src/components/VirtualTableBody.d.ts.map +1 -1
- package/dist/table/src/components/VirtualTableBody.mjs +128 -115
- package/dist/table/src/composables/useLazyTreeData.d.ts +19 -0
- package/dist/table/src/composables/useLazyTreeData.d.ts.map +1 -0
- package/dist/table/src/composables/useLazyTreeData.mjs +123 -0
- package/dist/table/src/composables/useLazyTreeData.test.d.ts +2 -0
- package/dist/table/src/composables/useLazyTreeData.test.d.ts.map +1 -0
- package/dist/table/src/composables/useTableDictionary.d.ts +5 -0
- package/dist/table/src/composables/useTableDictionary.d.ts.map +1 -0
- package/dist/table/src/composables/useTableDictionary.mjs +168 -0
- package/dist/table/src/composables/useTableDictionary.test.d.ts +2 -0
- package/dist/table/src/composables/useTableDictionary.test.d.ts.map +1 -0
- package/dist/table/src/composables/useTableEdit.d.ts +4 -0
- package/dist/table/src/composables/useTableEdit.d.ts.map +1 -0
- package/dist/table/src/composables/useTableEdit.mjs +400 -0
- package/dist/table/src/composables/useTableEdit.test.d.ts +2 -0
- package/dist/table/src/composables/useTableEdit.test.d.ts.map +1 -0
- package/dist/table/src/composables/useTableEditable.d.ts +4 -0
- package/dist/table/src/composables/useTableEditable.d.ts.map +1 -0
- package/dist/table/src/composables/useTableEditable.mjs +125 -0
- package/dist/table/src/composables/useTableEditable.test.d.ts +2 -0
- package/dist/table/src/composables/useTableEditable.test.d.ts.map +1 -0
- package/dist/table/src/composables/useTableQuery.d.ts +4 -0
- package/dist/table/src/composables/useTableQuery.d.ts.map +1 -0
- package/dist/table/src/composables/useTableQuery.mjs +54 -0
- package/dist/table/src/composables/useTableQuery.test.d.ts +2 -0
- package/dist/table/src/composables/useTableQuery.test.d.ts.map +1 -0
- package/dist/table/src/composables/useTableRequest.d.ts.map +1 -1
- package/dist/table/src/composables/useTableRequest.mjs +138 -98
- package/dist/table/src/composables/useTableRequest.polling.test.d.ts +2 -0
- package/dist/table/src/composables/useTableRequest.polling.test.d.ts.map +1 -0
- package/dist/table/src/composables/useTreeData.d.ts +2 -0
- package/dist/table/src/composables/useTreeData.d.ts.map +1 -1
- package/dist/table/src/composables/useTreeData.mjs +46 -51
- package/dist/table/src/context.d.ts +11 -0
- package/dist/table/src/context.d.ts.map +1 -1
- package/dist/table/src/controls.d.ts +4 -0
- package/dist/table/src/controls.d.ts.map +1 -0
- package/dist/table/src/controls.mjs +97 -0
- package/dist/table/src/controls.test.d.ts +2 -0
- package/dist/table/src/controls.test.d.ts.map +1 -0
- package/dist/table/src/index.d.ts +27 -1
- package/dist/table/src/index.d.ts.map +1 -1
- package/dist/table/src/renderers.d.ts +5 -0
- package/dist/table/src/renderers.d.ts.map +1 -0
- package/dist/table/src/renderers.mjs +117 -0
- package/dist/table/src/renderers.test.d.ts +2 -0
- package/dist/table/src/renderers.test.d.ts.map +1 -0
- package/dist/table/src/review-current.repro.test.d.ts +2 -0
- package/dist/table/src/review-current.repro.test.d.ts.map +1 -0
- package/dist/table/src/types/column.d.ts +8 -1
- package/dist/table/src/types/column.d.ts.map +1 -1
- package/dist/table/src/types/controls.d.ts +31 -0
- package/dist/table/src/types/controls.d.ts.map +1 -0
- package/dist/table/src/types/dictionary.d.ts +71 -0
- package/dist/table/src/types/dictionary.d.ts.map +1 -0
- package/dist/table/src/types/dictionary.typecheck.d.ts +6 -0
- package/dist/table/src/types/dictionary.typecheck.d.ts.map +1 -0
- package/dist/table/src/types/editable.d.ts +49 -0
- package/dist/table/src/types/editable.d.ts.map +1 -0
- package/dist/table/src/types/editable.typecheck.d.ts +15 -0
- package/dist/table/src/types/editable.typecheck.d.ts.map +1 -0
- package/dist/table/src/types/editing.d.ts +90 -0
- package/dist/table/src/types/editing.d.ts.map +1 -0
- package/dist/table/src/types/editing.typecheck.d.ts +11 -0
- package/dist/table/src/types/editing.typecheck.d.ts.map +1 -0
- package/dist/table/src/types/index.d.ts +9 -0
- package/dist/table/src/types/index.d.ts.map +1 -1
- package/dist/table/src/types/instance.d.ts +18 -0
- package/dist/table/src/types/instance.d.ts.map +1 -0
- package/dist/table/src/types/instance.typecheck.d.ts +3 -0
- package/dist/table/src/types/instance.typecheck.d.ts.map +1 -0
- package/dist/table/src/types/query-form.d.ts +90 -0
- package/dist/table/src/types/query-form.d.ts.map +1 -0
- package/dist/table/src/types/query-form.typecheck.d.ts +10 -0
- package/dist/table/src/types/query-form.typecheck.d.ts.map +1 -0
- package/dist/table/src/types/query.d.ts +40 -0
- package/dist/table/src/types/query.d.ts.map +1 -0
- package/dist/table/src/types/query.typecheck.d.ts +14 -0
- package/dist/table/src/types/query.typecheck.d.ts.map +1 -0
- package/dist/table/src/types/renderers.d.ts +49 -0
- package/dist/table/src/types/renderers.d.ts.map +1 -0
- package/dist/table/src/types/renderers.typecheck.d.ts +13 -0
- package/dist/table/src/types/renderers.typecheck.d.ts.map +1 -0
- package/dist/table/src/types/request.d.ts +23 -5
- package/dist/table/src/types/request.d.ts.map +1 -1
- package/dist/table/src/types/request.typecheck.d.ts.map +1 -1
- package/dist/table/src/types/table.d.ts +8 -0
- package/dist/table/src/types/table.d.ts.map +1 -1
- package/dist/table/src/types/tree.d.ts +5 -0
- package/dist/table/src/types/tree.d.ts.map +1 -0
- package/dist/table/src/utils/cell.d.ts +5 -0
- package/dist/table/src/utils/cell.d.ts.map +1 -1
- package/dist/table/src/utils/cell.mjs +76 -46
- package/dist/table/src/utils/fieldPath.d.ts +6 -0
- package/dist/table/src/utils/fieldPath.d.ts.map +1 -0
- package/dist/table/src/utils/fieldPath.mjs +29 -0
- package/dist/table/src/utils/queryFields.d.ts +4 -0
- package/dist/table/src/utils/queryFields.d.ts.map +1 -0
- package/dist/table/src/utils/queryFields.mjs +31 -0
- package/dist/table/src/utils/queryFields.test.d.ts +2 -0
- package/dist/table/src/utils/queryFields.test.d.ts.map +1 -0
- package/dist/table/src/utils/snapshot.d.ts +3 -0
- package/dist/table/src/utils/snapshot.d.ts.map +1 -0
- package/dist/table/src/utils/snapshot.mjs +30 -0
- package/dist/table/src/utils/snapshot.test.d.ts +2 -0
- package/dist/table/src/utils/snapshot.test.d.ts.map +1 -0
- package/dist/table/src/utils/stateEqual.d.ts +3 -0
- package/dist/table/src/utils/stateEqual.d.ts.map +1 -0
- package/dist/table/src/utils/stateEqual.mjs +15 -0
- package/dist/theme/src/index.d.ts +4 -0
- package/dist/theme/src/index.d.ts.map +1 -1
- package/dist/theme/src/presets/antdv/table-locale.d.ts +10 -0
- package/dist/theme/src/presets/antdv/table-locale.d.ts.map +1 -1
- package/dist/theme/src/presets/antdv/table-locale.mjs +2 -0
- package/dist/theme/src/presets/antdv/table.d.ts +10 -0
- package/dist/theme/src/presets/antdv/table.d.ts.map +1 -1
- package/dist/theme/src/presets/antdv/table.mjs +10 -0
- package/dist/theme/src/presets/element-plus/table-locale.d.ts +10 -0
- package/dist/theme/src/presets/element-plus/table-locale.d.ts.map +1 -1
- package/dist/theme/src/presets/element-plus/table-locale.mjs +2 -0
- package/dist/theme/src/presets/element-plus/table.d.ts +10 -0
- package/dist/theme/src/presets/element-plus/table.d.ts.map +1 -1
- package/dist/theme/src/presets/element-plus/table.mjs +10 -0
- package/dist/theme/src/query.d.ts +128 -0
- package/dist/theme/src/query.d.ts.map +1 -0
- package/dist/theme/src/query.mjs +56 -0
- package/dist/vtable-guild/src/augment.d.ts +2 -1
- package/dist/vtable-guild/src/augment.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { h as I, toValue as y } from "vue";
|
|
2
|
+
import { useTableEdit as k } from "./useTableEdit.mjs";
|
|
3
|
+
import { snapshot as T } from "../utils/snapshot.mjs";
|
|
4
|
+
import { setField as h, getField as w } from "../utils/fieldPath.mjs";
|
|
5
|
+
import K from "../components/TableEditableCell.mjs";
|
|
6
|
+
import { valueEnumEntries as A } from "../utils/valueEnum.mjs";
|
|
7
|
+
function E(s) {
|
|
8
|
+
return s.flatMap(
|
|
9
|
+
(c) => typeof c == "symbol" ? [] : "children" in c ? E(c.children) : [c]
|
|
10
|
+
);
|
|
11
|
+
}
|
|
12
|
+
function N(s) {
|
|
13
|
+
const c = s.clone ?? T, p = () => E(y(s.columns)).filter(
|
|
14
|
+
(e) => e.editor && e.dataIndex !== void 0
|
|
15
|
+
);
|
|
16
|
+
function g(e, t, r) {
|
|
17
|
+
return {
|
|
18
|
+
...r,
|
|
19
|
+
name: Array.isArray(e.dataIndex) ? e.dataIndex.join(".") : String(e.dataIndex),
|
|
20
|
+
column: e,
|
|
21
|
+
draft: c(t),
|
|
22
|
+
original: r.original && c(r.original),
|
|
23
|
+
value: w(t, e.dataIndex)
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function b(e, t, r) {
|
|
27
|
+
const n = c(e);
|
|
28
|
+
for (const a of p()) {
|
|
29
|
+
const l = a.editor, u = r ? l.transform : l.convertValue;
|
|
30
|
+
u && h(
|
|
31
|
+
n,
|
|
32
|
+
a.dataIndex,
|
|
33
|
+
u(w(n, a.dataIndex), g(a, n, t))
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
return n;
|
|
37
|
+
}
|
|
38
|
+
const f = k({
|
|
39
|
+
...s,
|
|
40
|
+
toDraft: (e, t) => b(e, t, !1),
|
|
41
|
+
toValue: (e, t) => b(e, t, !0),
|
|
42
|
+
async validate(e, t) {
|
|
43
|
+
const r = {};
|
|
44
|
+
for (const n of p()) {
|
|
45
|
+
const a = n.editor, l = g(n, e, t), u = await a.validate?.(l.value, { ...l, signal: t.signal });
|
|
46
|
+
if (t.signal.aborted) return;
|
|
47
|
+
u && (r[l.name] = u);
|
|
48
|
+
}
|
|
49
|
+
return Object.keys(r).length ? { fields: r } : s.validate?.(e, t);
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
function x(e) {
|
|
53
|
+
return typeof s.rowKey == "function" ? s.rowKey(e) : e[s.rowKey];
|
|
54
|
+
}
|
|
55
|
+
function m(e) {
|
|
56
|
+
const t = x(e.record), r = f.getDraft(t), n = e.column.editor;
|
|
57
|
+
if (!r || !n || e.column.dataIndex === void 0) return;
|
|
58
|
+
const a = g(e.column, r, {
|
|
59
|
+
key: t,
|
|
60
|
+
original: f.getOriginal(t),
|
|
61
|
+
isNew: f.newRecords.value.some((o) => x(o) === t)
|
|
62
|
+
}), l = (o) => typeof o == "function" ? o(a) : o;
|
|
63
|
+
if (l(n.editable) === !1 || l(n.readonly)) return;
|
|
64
|
+
const u = [
|
|
65
|
+
...y(n.options) ?? y(n.dictionary?.options) ?? A(e.column.valueEnum).flatMap(([o, i]) => {
|
|
66
|
+
const d = typeof i == "string" ? i : i.text;
|
|
67
|
+
return typeof d == "string" ? [{ value: o, label: d, ...typeof i == "object" ? { status: i.status } : {} }] : [];
|
|
68
|
+
})
|
|
69
|
+
];
|
|
70
|
+
for (const o of Array.isArray(a.value) ? a.value : [a.value]) {
|
|
71
|
+
if (typeof o != "string" && typeof o != "number" && typeof o != "boolean" || u.some((v) => v.value === o))
|
|
72
|
+
continue;
|
|
73
|
+
const i = y(n.dictionary?.valueEnum)?.get(o), d = typeof i == "string" ? i : i?.text;
|
|
74
|
+
typeof d == "string" && u.push({ value: o, label: d });
|
|
75
|
+
}
|
|
76
|
+
return {
|
|
77
|
+
key: t,
|
|
78
|
+
column: e.column,
|
|
79
|
+
draft: r,
|
|
80
|
+
value: a.value,
|
|
81
|
+
valueType: n.valueType ?? (e.column.valueEnum ? "select" : e.column.valueType ?? "text"),
|
|
82
|
+
fieldProps: typeof n.fieldProps == "function" ? n.fieldProps(a) : n.fieldProps ?? {},
|
|
83
|
+
options: u,
|
|
84
|
+
onSearch: n.dictionary ? (o) => {
|
|
85
|
+
n.dictionary.search(o);
|
|
86
|
+
} : void 0,
|
|
87
|
+
loading: y(n.dictionary?.loading) ?? !1,
|
|
88
|
+
disabled: !!l(n.disabled) || f.savingKeys.value.has(t) || f.cancellingKeys.value.has(t),
|
|
89
|
+
readonly: !1,
|
|
90
|
+
error: f.errors.value.get(t)?.fields?.[a.name],
|
|
91
|
+
name: a.name,
|
|
92
|
+
mode: "edit",
|
|
93
|
+
onChange(o) {
|
|
94
|
+
const i = m(e);
|
|
95
|
+
i && !i.disabled && f.setDraft(t, (d) => {
|
|
96
|
+
h(d, e.column.dataIndex, o);
|
|
97
|
+
const v = n.onValueChange?.(
|
|
98
|
+
o,
|
|
99
|
+
g(e.column, d, {
|
|
100
|
+
key: t,
|
|
101
|
+
original: f.getOriginal(t),
|
|
102
|
+
isNew: a.isNew
|
|
103
|
+
})
|
|
104
|
+
);
|
|
105
|
+
return v ? { ...d, ...v } : d;
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
return {
|
|
111
|
+
...f,
|
|
112
|
+
getCell: m,
|
|
113
|
+
renderEditor(e) {
|
|
114
|
+
const t = m(e);
|
|
115
|
+
return t ? I(K, {
|
|
116
|
+
context: t,
|
|
117
|
+
controls: y(s.controls),
|
|
118
|
+
ui: s.ui
|
|
119
|
+
}) : void 0;
|
|
120
|
+
}
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
export {
|
|
124
|
+
N as useTableEditable
|
|
125
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTableEditable.test.d.ts","sourceRoot":"","sources":["../../../../../table/src/composables/useTableEditable.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { UseTableQueryOptions, UseTableQueryReturn } from '../types/query';
|
|
2
|
+
/** Form state and submit protocol; controls and layout remain owned by the host UI library. */
|
|
3
|
+
export declare function useTableQuery<TValues extends object, TParams extends object = TValues>(options: UseTableQueryOptions<TValues, TParams>): UseTableQueryReturn<TValues, TParams>;
|
|
4
|
+
//# sourceMappingURL=useTableQuery.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTableQuery.d.ts","sourceRoot":"","sources":["../../../../../table/src/composables/useTableQuery.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAEV,oBAAoB,EACpB,mBAAmB,EACpB,MAAM,gBAAgB,CAAA;AAGvB,+FAA+F;AAC/F,wBAAgB,aAAa,CAAC,OAAO,SAAS,MAAM,EAAE,OAAO,SAAS,MAAM,GAAG,OAAO,EACpF,OAAO,EAAE,oBAAoB,CAAC,OAAO,EAAE,OAAO,CAAC,GAC9C,mBAAmB,CAAC,OAAO,EAAE,OAAO,CAAC,CA6FvC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { ref as h, shallowRef as w, watch as j, getCurrentScope as P, onScopeDispose as x, computed as C } from "vue";
|
|
2
|
+
import { snapshot as t } from "../utils/snapshot.mjs";
|
|
3
|
+
function T(a) {
|
|
4
|
+
const d = t(a.defaultValues), c = h(t(d)), v = w(), p = w(), f = a.collapsed ?? h(a.defaultCollapsed ?? !0), i = h(!1), b = w(null);
|
|
5
|
+
let u = 0, o = !1;
|
|
6
|
+
const k = a.onCollapse ? j(f, (e) => a.onCollapse?.(e), { flush: "sync" }) : void 0;
|
|
7
|
+
function O(e, y) {
|
|
8
|
+
const r = a.fieldTransforms, s = new Set(y?.omitFields ?? []), n = {};
|
|
9
|
+
for (const [l, m] of Object.entries(e))
|
|
10
|
+
!(Object.prototype.hasOwnProperty.call(r ?? {}, l) && r?.[l]) && !s.has(l) && (n[l] = m);
|
|
11
|
+
for (const l of Object.keys(r ?? {})) {
|
|
12
|
+
const m = r?.[l];
|
|
13
|
+
m && !s.has(l) && Object.assign(n, m(e[l], e));
|
|
14
|
+
}
|
|
15
|
+
const g = n;
|
|
16
|
+
return t(a.transform?.(g, e) ?? g);
|
|
17
|
+
}
|
|
18
|
+
async function S(e, y) {
|
|
19
|
+
if (o) return !1;
|
|
20
|
+
const r = ++u;
|
|
21
|
+
i.value = !0, b.value = null;
|
|
22
|
+
try {
|
|
23
|
+
const s = t(c.value), n = O(s, y);
|
|
24
|
+
return v.value = t(s), p.value = t(n), await (e ? a.onReset ?? a.onSubmit : a.onSubmit)?.(t(n), t(s)), !o && r === u;
|
|
25
|
+
} catch (s) {
|
|
26
|
+
return !o && r === u && (b.value = s instanceof Error ? s : new Error(String(s))), !1;
|
|
27
|
+
} finally {
|
|
28
|
+
!o && r === u && (i.value = !1);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
return P() && x(() => {
|
|
32
|
+
o = !0, u++, i.value = !1, k?.();
|
|
33
|
+
}), {
|
|
34
|
+
draft: c,
|
|
35
|
+
submitted: C(() => v.value && t(v.value)),
|
|
36
|
+
params: C(() => p.value && t(p.value)),
|
|
37
|
+
collapsed: f,
|
|
38
|
+
submitting: C(() => i.value),
|
|
39
|
+
error: b,
|
|
40
|
+
submit: (e) => S(!1, e),
|
|
41
|
+
reset(e) {
|
|
42
|
+
return o ? Promise.resolve(!1) : (c.value = t(d), S(!0, e));
|
|
43
|
+
},
|
|
44
|
+
resetFields() {
|
|
45
|
+
o || (c.value = t(d));
|
|
46
|
+
},
|
|
47
|
+
toggleCollapsed() {
|
|
48
|
+
f.value = !f.value;
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export {
|
|
53
|
+
T as useTableQuery
|
|
54
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTableQuery.test.d.ts","sourceRoot":"","sources":["../../../../../table/src/composables/useTableQuery.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTableRequest.d.ts","sourceRoot":"","sources":["../../../../../table/src/composables/useTableRequest.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useTableRequest.d.ts","sourceRoot":"","sources":["../../../../../table/src/composables/useTableRequest.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAGV,sBAAsB,EACtB,qBAAqB,EACtB,MAAM,kBAAkB,CAAA;AAkBzB,2FAA2F;AAC3F,wBAAgB,eAAe,CAC7B,OAAO,SAAS,MAAM,EACtB,OAAO,SAAS,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAChD,OAAO,EAAE,sBAAsB,CAAC,OAAO,EAAE,OAAO,CAAC,GAAG,qBAAqB,CAAC,OAAO,EAAE,OAAO,CAAC,CA2S5F"}
|
|
@@ -1,127 +1,167 @@
|
|
|
1
|
-
import { shallowRef as
|
|
2
|
-
import { positiveInteger as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
if (!e || !t || typeof e != "object" || typeof t != "object" || Object.getPrototypeOf(e) !== Object.getPrototypeOf(t) || Object.getPrototypeOf(e) !== Object.prototype && !Array.isArray(e)) return !1;
|
|
12
|
-
const r = Object.entries(e), i = Object.entries(t);
|
|
13
|
-
return r.length === i.length && r.every(
|
|
14
|
-
([c, o]) => Object.prototype.hasOwnProperty.call(t, c) && F(o, Reflect.get(t, c))
|
|
15
|
-
);
|
|
16
|
-
}
|
|
17
|
-
function X(e) {
|
|
18
|
-
const t = [];
|
|
19
|
-
for (const r of Array.isArray(e) ? e : [e]) {
|
|
20
|
-
if (!r.order) continue;
|
|
21
|
-
const i = r.field ?? r.columnKey;
|
|
22
|
-
i != null && t.push([Array.isArray(i) ? i.join(".") : String(i), r.order]);
|
|
1
|
+
import { shallowRef as z, ref as b, getCurrentScope as U, toValue as A, watch as ie, unref as ue, onScopeDispose as de, computed as m } from "vue";
|
|
2
|
+
import { positiveInteger as V } from "./usePagination.mjs";
|
|
3
|
+
import { snapshot as a } from "../utils/snapshot.mjs";
|
|
4
|
+
import { stateEqual as X } from "../utils/stateEqual.mjs";
|
|
5
|
+
function me(e) {
|
|
6
|
+
const g = [];
|
|
7
|
+
for (const o of Array.isArray(e) ? e : [e]) {
|
|
8
|
+
if (!o.order) continue;
|
|
9
|
+
const u = o.field ?? o.columnKey;
|
|
10
|
+
u != null && g.push([Array.isArray(u) ? u.join(".") : String(u), o.order]);
|
|
23
11
|
}
|
|
24
|
-
return Object.fromEntries(
|
|
12
|
+
return Object.fromEntries(g);
|
|
25
13
|
}
|
|
26
|
-
function
|
|
27
|
-
const
|
|
28
|
-
let
|
|
29
|
-
|
|
30
|
-
|
|
14
|
+
function ye(e) {
|
|
15
|
+
const g = a(e.defaultParams ?? {}), o = z(a(g)), u = z({}), R = z({}), n = b(V(e.initialPagination?.current, 1)), y = b(V(e.initialPagination?.pageSize, 10)), Y = b(Math.max(0, e.initialPagination?.total ?? 0)), H = z([]), C = b(!1), S = b(!1), w = b(!1), h = z(null), le = Object.freeze({ sort: !0, filter: !0, pagination: !0 });
|
|
16
|
+
let E = !1, T = 0, p, f, M, v, O = Promise.resolve(), x, D, Z = !1, _ = !1, $ = !1;
|
|
17
|
+
const oe = !!U();
|
|
18
|
+
function F() {
|
|
19
|
+
clearTimeout(x), clearTimeout(D), x = void 0, D = void 0;
|
|
20
|
+
}
|
|
21
|
+
function P() {
|
|
22
|
+
return oe && typeof document < "u" && !E && Z && !w.value && (e.pollingWhenHidden || document.visibilityState !== "hidden");
|
|
31
23
|
}
|
|
32
|
-
function
|
|
33
|
-
|
|
34
|
-
let a;
|
|
24
|
+
function K(t) {
|
|
25
|
+
h.value = t instanceof Error ? t : new Error(String(t));
|
|
35
26
|
try {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
27
|
+
e.onError?.(h.value);
|
|
28
|
+
} catch (r) {
|
|
29
|
+
h.value = r instanceof Error ? r : new Error(String(r));
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
function j() {
|
|
33
|
+
if (F(), !P() || f || h.value && !e.pollingOnError) return;
|
|
34
|
+
const t = ue(e.polling);
|
|
35
|
+
let r;
|
|
36
|
+
try {
|
|
37
|
+
r = typeof t == "function" ? t(a(H.value)) : t;
|
|
38
|
+
} catch (c) {
|
|
39
|
+
K(c);
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
typeof r != "number" || !Number.isFinite(r) || r <= 0 || (x = setTimeout(
|
|
43
|
+
() => {
|
|
44
|
+
x = void 0, P() && s(!0, !0, !0, !0);
|
|
45
|
+
},
|
|
46
|
+
Math.max(2e3, r)
|
|
47
|
+
));
|
|
48
|
+
}
|
|
49
|
+
function L() {
|
|
50
|
+
F(), T++, p !== void 0 && clearTimeout(p), p = void 0, f?.abort(), f = void 0, M?.(), M = void 0, C.value = !1, S.value = !1, v = void 0;
|
|
51
|
+
}
|
|
52
|
+
function se() {
|
|
53
|
+
w.value = !0, F(), f && $ && L();
|
|
54
|
+
}
|
|
55
|
+
function ee() {
|
|
56
|
+
w.value = !0, L();
|
|
57
|
+
}
|
|
58
|
+
function s(t = !1, r = !1, c = !1, k = !1) {
|
|
59
|
+
if (E) return Promise.resolve();
|
|
60
|
+
let i;
|
|
61
|
+
try {
|
|
62
|
+
const d = a({ ...g, ...o.value, ...A(e.params) });
|
|
63
|
+
i = {
|
|
64
|
+
...e.beforeSearchSubmit?.(d) ?? d,
|
|
65
|
+
current: n.value,
|
|
66
|
+
pageSize: y.value
|
|
41
67
|
};
|
|
42
|
-
} catch (
|
|
43
|
-
return
|
|
68
|
+
} catch (d) {
|
|
69
|
+
return L(), K(d), Promise.resolve();
|
|
44
70
|
}
|
|
45
|
-
const
|
|
46
|
-
if (!
|
|
47
|
-
|
|
48
|
-
const
|
|
49
|
-
return
|
|
50
|
-
|
|
51
|
-
const
|
|
52
|
-
|
|
71
|
+
const W = a(u.value), B = a(R.value), G = a({ params: i, sort: W, filters: B });
|
|
72
|
+
if (k && f && p === void 0 && X(v, G) || !t && v !== void 0 && X(v, G)) return O;
|
|
73
|
+
L(), Z = !0, $ = c, v = G;
|
|
74
|
+
const J = T, I = new AbortController();
|
|
75
|
+
return f = I, S.value = c && _, C.value = !S.value, h.value = null, O = new Promise((d) => {
|
|
76
|
+
M = d;
|
|
77
|
+
const ae = async () => {
|
|
78
|
+
p = void 0;
|
|
53
79
|
try {
|
|
54
|
-
for (let
|
|
55
|
-
const
|
|
56
|
-
if (
|
|
57
|
-
if (
|
|
58
|
-
if (!Array.isArray(
|
|
80
|
+
for (let q = 0; q < 2; q++) {
|
|
81
|
+
const l = await e.request(i, W, B, { signal: I.signal });
|
|
82
|
+
if (E || J !== T || I.signal.aborted) return;
|
|
83
|
+
if (l.success === !1) throw new Error("Table request was unsuccessful");
|
|
84
|
+
if (!Array.isArray(l.data))
|
|
59
85
|
throw new Error("Table request data must be an array");
|
|
60
|
-
if (!Number.isSafeInteger(
|
|
86
|
+
if (!Number.isSafeInteger(l.total) || l.total < 0)
|
|
61
87
|
throw new Error("Table request total must be a non-negative safe integer");
|
|
62
|
-
const
|
|
63
|
-
if (
|
|
64
|
-
|
|
88
|
+
const N = Math.max(1, Math.ceil(l.total / i.pageSize));
|
|
89
|
+
if (q === 0 && l.total > 0 && i.current > N) {
|
|
90
|
+
n.value = N, i = { ...i, current: N };
|
|
65
91
|
continue;
|
|
66
92
|
}
|
|
67
|
-
const
|
|
68
|
-
if (!Array.isArray(
|
|
69
|
-
|
|
93
|
+
const Q = e.postData ? e.postData(l.data) : l.data;
|
|
94
|
+
if (!Array.isArray(Q)) throw new Error("Table postData must return an array");
|
|
95
|
+
n.value = Math.min(i.current, N), Y.value = l.total, H.value = Q, _ = !0, v = a({ params: { ...i, current: n.value }, sort: W, filters: B }), e.onLoad?.(Q, l);
|
|
70
96
|
break;
|
|
71
97
|
}
|
|
72
|
-
} catch (
|
|
73
|
-
!
|
|
98
|
+
} catch (q) {
|
|
99
|
+
!E && J === T && !I.signal.aborted && (v = void 0, K(q));
|
|
74
100
|
} finally {
|
|
75
|
-
|
|
101
|
+
J === T && (C.value = !1, S.value = !1, f = void 0, M = void 0, j()), d();
|
|
76
102
|
}
|
|
77
|
-
},
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
},
|
|
81
|
-
}),
|
|
103
|
+
}, ne = r ? 0 : Math.max(0, e.debounceTime ?? 0);
|
|
104
|
+
ne > 0 ? p = setTimeout(() => {
|
|
105
|
+
ae();
|
|
106
|
+
}, ne) : ae();
|
|
107
|
+
}), O;
|
|
82
108
|
}
|
|
83
|
-
const
|
|
84
|
-
if (
|
|
85
|
-
const
|
|
86
|
-
|
|
109
|
+
const ce = (t, r, c) => {
|
|
110
|
+
if (c.action === "select") return;
|
|
111
|
+
const k = V(c.pagination?.pageSize, y.value), i = k !== y.value;
|
|
112
|
+
u.value = me(r), R.value = a(t), n.value = c.action !== "paginate" || i && e.resetOnPageSizeChange !== !1 ? 1 : V(c.pagination?.current, n.value), y.value = k, s();
|
|
87
113
|
};
|
|
88
|
-
let
|
|
89
|
-
const
|
|
90
|
-
() =>
|
|
91
|
-
(
|
|
92
|
-
|
|
114
|
+
let te = a(A(e.params));
|
|
115
|
+
const fe = ie(
|
|
116
|
+
() => A(e.params),
|
|
117
|
+
(t) => {
|
|
118
|
+
X(te, t) || (te = a(t), n.value = 1, s());
|
|
93
119
|
},
|
|
94
120
|
{ deep: !0 }
|
|
121
|
+
), ve = ie(
|
|
122
|
+
() => [ue(e.polling), A(e.revalidateOnFocus)],
|
|
123
|
+
j
|
|
95
124
|
);
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
125
|
+
function re() {
|
|
126
|
+
F(), P() && (document.visibilityState === "visible" && A(e.revalidateOnFocus) ? D = setTimeout(() => {
|
|
127
|
+
D = void 0, P() && !f && s(!0, !0, !0, !0);
|
|
128
|
+
}, 0) : j());
|
|
129
|
+
}
|
|
130
|
+
return U() && typeof document < "u" && document.addEventListener("visibilitychange", re), U() && de(() => {
|
|
131
|
+
E = !0, fe(), ve(), typeof document < "u" && document.removeEventListener("visibilitychange", re), ee();
|
|
132
|
+
}), e.manualRequest || s(), {
|
|
133
|
+
dataSource: H,
|
|
134
|
+
loading: m(() => C.value),
|
|
135
|
+
refreshing: m(() => S.value),
|
|
136
|
+
paused: m(() => w.value),
|
|
137
|
+
error: h,
|
|
138
|
+
pagination: m(() => ({
|
|
103
139
|
...e.pagination,
|
|
104
|
-
current:
|
|
105
|
-
pageSize:
|
|
106
|
-
total:
|
|
140
|
+
current: n.value,
|
|
141
|
+
pageSize: y.value,
|
|
142
|
+
total: Y.value
|
|
107
143
|
})),
|
|
108
|
-
query:
|
|
109
|
-
sort:
|
|
110
|
-
filters:
|
|
111
|
-
manual:
|
|
112
|
-
onChange:
|
|
113
|
-
reload(
|
|
114
|
-
return
|
|
144
|
+
query: m(() => o.value),
|
|
145
|
+
sort: m(() => u.value),
|
|
146
|
+
filters: m(() => R.value),
|
|
147
|
+
manual: le,
|
|
148
|
+
onChange: ce,
|
|
149
|
+
reload(t = !1) {
|
|
150
|
+
return t && (n.value = 1), s(!0, !0, !1, !0);
|
|
115
151
|
},
|
|
116
|
-
submit(
|
|
117
|
-
return
|
|
152
|
+
submit(t = {}) {
|
|
153
|
+
return o.value = a(t), n.value = 1, s(!0);
|
|
118
154
|
},
|
|
119
|
-
reset() {
|
|
120
|
-
return
|
|
155
|
+
reset(t = g) {
|
|
156
|
+
return o.value = a(t), u.value = {}, R.value = {}, n.value = 1, s(!0);
|
|
121
157
|
},
|
|
122
|
-
cancel:
|
|
158
|
+
cancel: ee,
|
|
159
|
+
pause: se,
|
|
160
|
+
resume(t = !1) {
|
|
161
|
+
return w.value = !1, t && P() ? s(!0, !0, !0, !0) : (j(), Promise.resolve());
|
|
162
|
+
}
|
|
123
163
|
};
|
|
124
164
|
}
|
|
125
165
|
export {
|
|
126
|
-
|
|
166
|
+
ye as useTableRequest
|
|
127
167
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTableRequest.polling.test.d.ts","sourceRoot":"","sources":["../../../../../table/src/composables/useTableRequest.polling.test.ts"],"names":[],"mappings":""}
|
|
@@ -25,6 +25,8 @@ export interface UseTreeDataOptions<TRecord = Record<string, unknown>> {
|
|
|
25
25
|
indentSize?: () => number | undefined;
|
|
26
26
|
/** Row key resolver */
|
|
27
27
|
getRowKey: (record: TRecord, index: number) => Key;
|
|
28
|
+
/** Includes lazy parents whose children have not loaded yet. */
|
|
29
|
+
hasChildren?: (record: TRecord) => boolean;
|
|
28
30
|
/** Default expanded keys (uncontrolled) */
|
|
29
31
|
defaultExpandedRowKeys?: () => Key[] | undefined;
|
|
30
32
|
/** Controlled expanded keys */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTreeData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