@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.
Files changed (193) hide show
  1. package/css/presets/antdv.css +16 -0
  2. package/css/presets/element-plus.css +16 -0
  3. package/css/style.css +200 -0
  4. package/css/tailwind3-utilities.css +168 -0
  5. package/css/tailwind3.css +32 -0
  6. package/css/tailwind4.css +32 -0
  7. package/dist/core/src/components/Button.d.ts +9 -0
  8. package/dist/core/src/components/Button.d.ts.map +1 -1
  9. package/dist/core/src/components/Button.mjs +11 -6
  10. package/dist/core/src/utils/types.d.ts +5 -0
  11. package/dist/core/src/utils/types.d.ts.map +1 -1
  12. package/dist/css/presets/antdv.css +16 -0
  13. package/dist/css/presets/element-plus.css +16 -0
  14. package/dist/css/style.css +200 -0
  15. package/dist/css/tailwind3-utilities.css +168 -0
  16. package/dist/css/tailwind3.css +32 -0
  17. package/dist/css/tailwind4.css +32 -0
  18. package/dist/icons/src/CheckCircleFilledIcon.d.ts +3 -0
  19. package/dist/icons/src/CheckCircleFilledIcon.d.ts.map +1 -0
  20. package/dist/icons/src/CheckCircleFilledIcon.mjs +9 -0
  21. package/dist/icons/src/CloseCircleFilledIcon.d.ts +3 -0
  22. package/dist/icons/src/CloseCircleFilledIcon.d.ts.map +1 -0
  23. package/dist/icons/src/CloseCircleFilledIcon.mjs +9 -0
  24. package/dist/icons/src/index.d.ts +2 -0
  25. package/dist/icons/src/index.d.ts.map +1 -1
  26. package/dist/index.full.mjs +6240 -4423
  27. package/dist/index.mjs +125 -99
  28. package/dist/table/src/components/ExpandIcon.d.ts +18 -0
  29. package/dist/table/src/components/ExpandIcon.d.ts.map +1 -1
  30. package/dist/table/src/components/ExpandIcon.mjs +47 -17
  31. package/dist/table/src/components/FilterDropdown.d.ts +1 -1
  32. package/dist/table/src/components/Table.d.ts +41 -3
  33. package/dist/table/src/components/Table.d.ts.map +1 -1
  34. package/dist/table/src/components/Table.mjs +744 -649
  35. package/dist/table/src/components/TableBody.d.ts.map +1 -1
  36. package/dist/table/src/components/TableBody.mjs +8 -5
  37. package/dist/table/src/components/TableCell.d.ts.map +1 -1
  38. package/dist/table/src/components/TableCell.mjs +125 -94
  39. package/dist/table/src/components/TableEditableCell.d.ts +29 -0
  40. package/dist/table/src/components/TableEditableCell.d.ts.map +1 -0
  41. package/dist/table/src/components/TableEditableCell.mjs +39 -0
  42. package/dist/table/src/components/TableEditableCell.test.d.ts +2 -0
  43. package/dist/table/src/components/TableEditableCell.test.d.ts.map +1 -0
  44. package/dist/table/src/components/TableInstance.test.d.ts +2 -0
  45. package/dist/table/src/components/TableInstance.test.d.ts.map +1 -0
  46. package/dist/table/src/components/TableLazyTree.test.d.ts +2 -0
  47. package/dist/table/src/components/TableLazyTree.test.d.ts.map +1 -0
  48. package/dist/table/src/components/TableQuery.d.ts +108 -0
  49. package/dist/table/src/components/TableQuery.d.ts.map +1 -0
  50. package/dist/table/src/components/TableQuery.mjs +244 -0
  51. package/dist/table/src/components/TableQuery.test.d.ts +2 -0
  52. package/dist/table/src/components/TableQuery.test.d.ts.map +1 -0
  53. package/dist/table/src/components/VTable.vue.d.ts +5 -1
  54. package/dist/table/src/components/VTable.vue.d.ts.map +1 -1
  55. package/dist/table/src/components/VTable.vue.mjs +45 -33
  56. package/dist/table/src/components/VTableEditCell.vue.d.ts +19 -0
  57. package/dist/table/src/components/VTableEditCell.vue.d.ts.map +1 -0
  58. package/dist/table/src/components/VTableEditCell.vue.mjs +21 -0
  59. package/dist/table/src/components/VTableEditCell.vue2.mjs +4 -0
  60. package/dist/table/src/components/VTableQuery.vue.d.ts +18 -0
  61. package/dist/table/src/components/VTableQuery.vue.d.ts.map +1 -0
  62. package/dist/table/src/components/VTableQuery.vue.mjs +64 -0
  63. package/dist/table/src/components/VTableQuery.vue2.mjs +4 -0
  64. package/dist/table/src/components/VirtualTableBody.d.ts.map +1 -1
  65. package/dist/table/src/components/VirtualTableBody.mjs +128 -115
  66. package/dist/table/src/composables/useLazyTreeData.d.ts +19 -0
  67. package/dist/table/src/composables/useLazyTreeData.d.ts.map +1 -0
  68. package/dist/table/src/composables/useLazyTreeData.mjs +123 -0
  69. package/dist/table/src/composables/useLazyTreeData.test.d.ts +2 -0
  70. package/dist/table/src/composables/useLazyTreeData.test.d.ts.map +1 -0
  71. package/dist/table/src/composables/useTableDictionary.d.ts +5 -0
  72. package/dist/table/src/composables/useTableDictionary.d.ts.map +1 -0
  73. package/dist/table/src/composables/useTableDictionary.mjs +168 -0
  74. package/dist/table/src/composables/useTableDictionary.test.d.ts +2 -0
  75. package/dist/table/src/composables/useTableDictionary.test.d.ts.map +1 -0
  76. package/dist/table/src/composables/useTableEdit.d.ts +4 -0
  77. package/dist/table/src/composables/useTableEdit.d.ts.map +1 -0
  78. package/dist/table/src/composables/useTableEdit.mjs +400 -0
  79. package/dist/table/src/composables/useTableEdit.test.d.ts +2 -0
  80. package/dist/table/src/composables/useTableEdit.test.d.ts.map +1 -0
  81. package/dist/table/src/composables/useTableEditable.d.ts +4 -0
  82. package/dist/table/src/composables/useTableEditable.d.ts.map +1 -0
  83. package/dist/table/src/composables/useTableEditable.mjs +125 -0
  84. package/dist/table/src/composables/useTableEditable.test.d.ts +2 -0
  85. package/dist/table/src/composables/useTableEditable.test.d.ts.map +1 -0
  86. package/dist/table/src/composables/useTableQuery.d.ts +4 -0
  87. package/dist/table/src/composables/useTableQuery.d.ts.map +1 -0
  88. package/dist/table/src/composables/useTableQuery.mjs +54 -0
  89. package/dist/table/src/composables/useTableQuery.test.d.ts +2 -0
  90. package/dist/table/src/composables/useTableQuery.test.d.ts.map +1 -0
  91. package/dist/table/src/composables/useTableRequest.d.ts.map +1 -1
  92. package/dist/table/src/composables/useTableRequest.mjs +138 -98
  93. package/dist/table/src/composables/useTableRequest.polling.test.d.ts +2 -0
  94. package/dist/table/src/composables/useTableRequest.polling.test.d.ts.map +1 -0
  95. package/dist/table/src/composables/useTreeData.d.ts +2 -0
  96. package/dist/table/src/composables/useTreeData.d.ts.map +1 -1
  97. package/dist/table/src/composables/useTreeData.mjs +46 -51
  98. package/dist/table/src/context.d.ts +11 -0
  99. package/dist/table/src/context.d.ts.map +1 -1
  100. package/dist/table/src/controls.d.ts +4 -0
  101. package/dist/table/src/controls.d.ts.map +1 -0
  102. package/dist/table/src/controls.mjs +97 -0
  103. package/dist/table/src/controls.test.d.ts +2 -0
  104. package/dist/table/src/controls.test.d.ts.map +1 -0
  105. package/dist/table/src/index.d.ts +27 -1
  106. package/dist/table/src/index.d.ts.map +1 -1
  107. package/dist/table/src/renderers.d.ts +5 -0
  108. package/dist/table/src/renderers.d.ts.map +1 -0
  109. package/dist/table/src/renderers.mjs +117 -0
  110. package/dist/table/src/renderers.test.d.ts +2 -0
  111. package/dist/table/src/renderers.test.d.ts.map +1 -0
  112. package/dist/table/src/review-current.repro.test.d.ts +2 -0
  113. package/dist/table/src/review-current.repro.test.d.ts.map +1 -0
  114. package/dist/table/src/types/column.d.ts +8 -1
  115. package/dist/table/src/types/column.d.ts.map +1 -1
  116. package/dist/table/src/types/controls.d.ts +31 -0
  117. package/dist/table/src/types/controls.d.ts.map +1 -0
  118. package/dist/table/src/types/dictionary.d.ts +71 -0
  119. package/dist/table/src/types/dictionary.d.ts.map +1 -0
  120. package/dist/table/src/types/dictionary.typecheck.d.ts +6 -0
  121. package/dist/table/src/types/dictionary.typecheck.d.ts.map +1 -0
  122. package/dist/table/src/types/editable.d.ts +49 -0
  123. package/dist/table/src/types/editable.d.ts.map +1 -0
  124. package/dist/table/src/types/editable.typecheck.d.ts +15 -0
  125. package/dist/table/src/types/editable.typecheck.d.ts.map +1 -0
  126. package/dist/table/src/types/editing.d.ts +90 -0
  127. package/dist/table/src/types/editing.d.ts.map +1 -0
  128. package/dist/table/src/types/editing.typecheck.d.ts +11 -0
  129. package/dist/table/src/types/editing.typecheck.d.ts.map +1 -0
  130. package/dist/table/src/types/index.d.ts +9 -0
  131. package/dist/table/src/types/index.d.ts.map +1 -1
  132. package/dist/table/src/types/instance.d.ts +18 -0
  133. package/dist/table/src/types/instance.d.ts.map +1 -0
  134. package/dist/table/src/types/instance.typecheck.d.ts +3 -0
  135. package/dist/table/src/types/instance.typecheck.d.ts.map +1 -0
  136. package/dist/table/src/types/query-form.d.ts +90 -0
  137. package/dist/table/src/types/query-form.d.ts.map +1 -0
  138. package/dist/table/src/types/query-form.typecheck.d.ts +10 -0
  139. package/dist/table/src/types/query-form.typecheck.d.ts.map +1 -0
  140. package/dist/table/src/types/query.d.ts +40 -0
  141. package/dist/table/src/types/query.d.ts.map +1 -0
  142. package/dist/table/src/types/query.typecheck.d.ts +14 -0
  143. package/dist/table/src/types/query.typecheck.d.ts.map +1 -0
  144. package/dist/table/src/types/renderers.d.ts +49 -0
  145. package/dist/table/src/types/renderers.d.ts.map +1 -0
  146. package/dist/table/src/types/renderers.typecheck.d.ts +13 -0
  147. package/dist/table/src/types/renderers.typecheck.d.ts.map +1 -0
  148. package/dist/table/src/types/request.d.ts +23 -5
  149. package/dist/table/src/types/request.d.ts.map +1 -1
  150. package/dist/table/src/types/request.typecheck.d.ts.map +1 -1
  151. package/dist/table/src/types/table.d.ts +8 -0
  152. package/dist/table/src/types/table.d.ts.map +1 -1
  153. package/dist/table/src/types/tree.d.ts +5 -0
  154. package/dist/table/src/types/tree.d.ts.map +1 -0
  155. package/dist/table/src/utils/cell.d.ts +5 -0
  156. package/dist/table/src/utils/cell.d.ts.map +1 -1
  157. package/dist/table/src/utils/cell.mjs +76 -46
  158. package/dist/table/src/utils/fieldPath.d.ts +6 -0
  159. package/dist/table/src/utils/fieldPath.d.ts.map +1 -0
  160. package/dist/table/src/utils/fieldPath.mjs +29 -0
  161. package/dist/table/src/utils/queryFields.d.ts +4 -0
  162. package/dist/table/src/utils/queryFields.d.ts.map +1 -0
  163. package/dist/table/src/utils/queryFields.mjs +31 -0
  164. package/dist/table/src/utils/queryFields.test.d.ts +2 -0
  165. package/dist/table/src/utils/queryFields.test.d.ts.map +1 -0
  166. package/dist/table/src/utils/snapshot.d.ts +3 -0
  167. package/dist/table/src/utils/snapshot.d.ts.map +1 -0
  168. package/dist/table/src/utils/snapshot.mjs +30 -0
  169. package/dist/table/src/utils/snapshot.test.d.ts +2 -0
  170. package/dist/table/src/utils/snapshot.test.d.ts.map +1 -0
  171. package/dist/table/src/utils/stateEqual.d.ts +3 -0
  172. package/dist/table/src/utils/stateEqual.d.ts.map +1 -0
  173. package/dist/table/src/utils/stateEqual.mjs +15 -0
  174. package/dist/theme/src/index.d.ts +4 -0
  175. package/dist/theme/src/index.d.ts.map +1 -1
  176. package/dist/theme/src/presets/antdv/table-locale.d.ts +10 -0
  177. package/dist/theme/src/presets/antdv/table-locale.d.ts.map +1 -1
  178. package/dist/theme/src/presets/antdv/table-locale.mjs +2 -0
  179. package/dist/theme/src/presets/antdv/table.d.ts +10 -0
  180. package/dist/theme/src/presets/antdv/table.d.ts.map +1 -1
  181. package/dist/theme/src/presets/antdv/table.mjs +10 -0
  182. package/dist/theme/src/presets/element-plus/table-locale.d.ts +10 -0
  183. package/dist/theme/src/presets/element-plus/table-locale.d.ts.map +1 -1
  184. package/dist/theme/src/presets/element-plus/table-locale.mjs +2 -0
  185. package/dist/theme/src/presets/element-plus/table.d.ts +10 -0
  186. package/dist/theme/src/presets/element-plus/table.d.ts.map +1 -1
  187. package/dist/theme/src/presets/element-plus/table.mjs +10 -0
  188. package/dist/theme/src/query.d.ts +128 -0
  189. package/dist/theme/src/query.d.ts.map +1 -0
  190. package/dist/theme/src/query.mjs +56 -0
  191. package/dist/vtable-guild/src/augment.d.ts +2 -1
  192. package/dist/vtable-guild/src/augment.d.ts.map +1 -1
  193. package/package.json +1 -1
@@ -0,0 +1,244 @@
1
+ import { defineComponent as ee, inject as te, computed as f, useId as ae, ref as G, watch as ne, onBeforeUnmount as le, createVNode as n, mergeProps as ue, toValue as C, Fragment as re, nextTick as oe } from "vue";
2
+ import { useTheme as se } from "../../../core/src/composables/useTheme.mjs";
3
+ import D from "../../../core/src/components/Button.mjs";
4
+ import { VTABLE_GUILD_INJECTION_KEY as ie } from "../../../core/src/plugin/index.mjs";
5
+ import { resolveQueryThemePreset as de, queryEnUS as ce, queryZhCN as fe } from "../../../theme/src/query.mjs";
6
+ import { snapshot as J } from "../utils/snapshot.mjs";
7
+ import { stateEqual as K } from "../utils/stateEqual.mjs";
8
+ const Te = /* @__PURE__ */ ee({
9
+ name: "TableQuery",
10
+ inheritAttrs: !1,
11
+ props: {
12
+ query: {
13
+ type: Object,
14
+ required: !0
15
+ },
16
+ rootTag: {
17
+ type: String,
18
+ default: "form"
19
+ },
20
+ fields: {
21
+ type: Array,
22
+ required: !0
23
+ },
24
+ controls: {
25
+ type: Object,
26
+ required: !0
27
+ },
28
+ layout: {
29
+ type: String,
30
+ default: "form"
31
+ },
32
+ autoSubmit: Boolean,
33
+ debounceTime: {
34
+ type: Number,
35
+ default: 0
36
+ },
37
+ hiddenPolicy: {
38
+ type: String,
39
+ default: "preserve"
40
+ },
41
+ collapsedCount: {
42
+ type: Number,
43
+ default: 3
44
+ },
45
+ collapsible: {
46
+ type: Boolean,
47
+ default: !0
48
+ },
49
+ disabled: Boolean,
50
+ validate: Function,
51
+ errors: Object,
52
+ locale: Object,
53
+ ui: Object,
54
+ class: String
55
+ },
56
+ emits: {
57
+ submitted: (e) => !0,
58
+ reset: (e) => !0
59
+ },
60
+ slots: Object,
61
+ setup(e, {
62
+ attrs: R,
63
+ slots: F,
64
+ emit: I,
65
+ expose: Y
66
+ }) {
67
+ const _ = te(ie, null), {
68
+ slots: r
69
+ } = se("query", f(() => de(_?.themePreset)), e), v = f(() => ({
70
+ ..._?.locale === "en-US" ? ce : fe,
71
+ ...e.locale
72
+ })), Z = ae(), q = G(!1), b = G();
73
+ let S, x, y = 0, m = !1, P, g, j;
74
+ const A = f(() => [...e.fields].sort((a, t) => (a.order ?? 0) - (t.order ?? 0))), E = (a) => ({
75
+ field: a,
76
+ values: e.query.draft.value
77
+ }), U = (a) => typeof a.hidden == "function" ? a.hidden(E(a)) : !!a.hidden, O = f(() => A.value.filter((a) => !U(a))), M = f(() => Math.max(1, Math.floor(e.collapsedCount || 1))), Q = f(() => e.collapsible && O.value.length > M.value), z = f(() => Q.value && e.query.collapsed.value ? O.value.slice(0, M.value) : O.value), B = f(() => e.disabled || q.value || e.query.submitting.value);
78
+ function N() {
79
+ clearTimeout(S), S = void 0;
80
+ }
81
+ ne(() => [e.layout, e.autoSubmit, e.disabled], N, {
82
+ flush: "sync"
83
+ });
84
+ function k() {
85
+ N(), y++, x?.abort(), j?.(!1), j = void 0, x = void 0, q.value = !1, P = void 0, g = void 0;
86
+ }
87
+ function H() {
88
+ return e.hiddenPolicy === "omit" ? {
89
+ omitFields: A.value.filter(U).map((a) => a.name)
90
+ } : void 0;
91
+ }
92
+ function h(a) {
93
+ if (m || e.disabled) return Promise.resolve(!1);
94
+ if (N(), g && P === a) return g;
95
+ k();
96
+ const t = y, l = new AbortController();
97
+ x = l, P = a, b.value = void 0, a === "reset" && e.query.resetFields();
98
+ const s = J(e.query.draft.value), i = H();
99
+ q.value = !0;
100
+ let d;
101
+ return g = new Promise((u) => {
102
+ d = u;
103
+ }), j = d, (async () => {
104
+ let u = !1;
105
+ try {
106
+ if (a === "reset" && await oe(), m || t !== y || l.signal.aborted) return !1;
107
+ const o = await e.validate?.(s, {
108
+ fields: O.value,
109
+ action: a,
110
+ signal: l.signal
111
+ });
112
+ return m || t !== y || l.signal.aborted ? !1 : o === !1 ? (b.value = v.value.validationFailed, !1) : !K(s, e.query.draft.value) || (q.value = !1, u = await (a === "reset" ? e.query.reset(i) : e.query.submit(i)), m || t !== y) ? !1 : (I(a === "reset" ? "reset" : "submitted", u), u);
113
+ } catch (o) {
114
+ return !m && t === y && (b.value = o instanceof Error ? o.message : String(o)), !1;
115
+ } finally {
116
+ t === y && (q.value = !1, P = void 0, x = void 0, g = void 0, j = void 0);
117
+ }
118
+ })().then(d), g;
119
+ }
120
+ function W(a, t) {
121
+ a = A.value.find((u) => u.name === a.name) ?? a;
122
+ const l = E(a), s = typeof a.disabled == "function" ? a.disabled(l) : a.disabled, i = typeof a.readonly == "function" ? a.readonly(l) : a.readonly;
123
+ if (e.disabled || e.query.submitting.value || s || i || K(e.query.draft.value[a.name], t)) return;
124
+ k(), b.value = void 0;
125
+ const d = e.query.draft;
126
+ d.value = {
127
+ ...d.value,
128
+ [a.name]: J(t)
129
+ }, e.layout === "light" && e.autoSubmit && (S = setTimeout(() => {
130
+ S = void 0, !m && e.layout === "light" && e.autoSubmit && !e.disabled && h("submit");
131
+ }, Math.max(0, e.debounceTime)));
132
+ }
133
+ le(() => {
134
+ m = !0, k();
135
+ });
136
+ const V = {
137
+ submit: () => h("submit"),
138
+ reset: () => h("reset"),
139
+ cancel: k
140
+ };
141
+ return Y(V), () => {
142
+ const a = e.rootTag;
143
+ return n(a, ue(R, {
144
+ class: r.root(),
145
+ "aria-label": v.value.label,
146
+ onSubmit: (t) => {
147
+ t.preventDefault(), h("submit");
148
+ }
149
+ }), {
150
+ default: () => [n("div", {
151
+ class: r.fields()
152
+ }, [z.value.map((t) => {
153
+ const l = E(t), s = `${Z}-${t.name}`, i = e.errors?.[t.name] ?? C(t.dictionary?.error)?.message, d = typeof t.readonly == "function" ? t.readonly(l) : !!t.readonly, u = e.disabled || e.query.submitting.value || (typeof t.disabled == "function" ? t.disabled(l) : !!t.disabled), o = [...C(t.options) ?? C(t.dictionary?.options) ?? []], w = e.query.draft.value[t.name];
154
+ for (const c of Array.isArray(w) ? w : [w]) {
155
+ if (!t.dictionary || !["string", "number", "boolean"].includes(typeof c) || o.some((p) => Object.is(p.value, c))) continue;
156
+ const T = C(t.dictionary.valueEnum).get(c), L = typeof T == "string" ? T : T?.text;
157
+ typeof L == "string" && o.push({
158
+ value: c,
159
+ label: L,
160
+ ...typeof T == "object" ? {
161
+ status: T.status
162
+ } : {}
163
+ });
164
+ }
165
+ const $ = {
166
+ value: w,
167
+ onChange: (c) => W(t, c),
168
+ fieldProps: typeof t.fieldProps == "function" ? t.fieldProps(l) : t.fieldProps ?? {},
169
+ options: o,
170
+ disabled: u,
171
+ readonly: d,
172
+ loading: C(t.dictionary?.loading) ?? !1,
173
+ error: i,
174
+ id: s,
175
+ name: t.name,
176
+ mode: "query",
177
+ onSearch: t.dictionary ? (c) => {
178
+ t.dictionary.search(c);
179
+ } : void 0
180
+ }, X = e.controls[t.valueType ?? "text"] ?? e.controls.text;
181
+ return n("div", {
182
+ key: t.name,
183
+ class: r.field(),
184
+ "data-query-field": t.name
185
+ }, [n("label", {
186
+ class: r.label(),
187
+ for: s
188
+ }, [t.label ?? t.name]), n("div", {
189
+ class: r.control()
190
+ }, [F.field?.({
191
+ field: t,
192
+ values: e.query.draft.value,
193
+ control: $
194
+ }) ?? X?.($), i ? n("div", {
195
+ class: r.error(),
196
+ role: "alert",
197
+ id: `${s}-error`
198
+ }, [i]) : null])]);
199
+ })]), n("div", {
200
+ class: r.actions()
201
+ }, [F.actions?.({
202
+ ...V,
203
+ submitting: B.value,
204
+ collapsed: e.query.collapsed.value,
205
+ toggleCollapsed: e.query.toggleCollapsed
206
+ }) ?? n(re, null, [n(D, {
207
+ htmlType: "button",
208
+ disabled: B.value,
209
+ onClick: (t) => {
210
+ t.preventDefault(), h("reset");
211
+ }
212
+ }, {
213
+ default: () => [v.value.reset]
214
+ }), n(D, {
215
+ type: "primary",
216
+ htmlType: e.rootTag === "form" ? "submit" : "button",
217
+ disabled: B.value,
218
+ onClick: (t) => {
219
+ t.preventDefault(), h("submit");
220
+ }
221
+ }, {
222
+ default: () => [v.value.submit]
223
+ }), Q.value ? n(D, {
224
+ type: "link",
225
+ htmlType: "button",
226
+ disabled: e.disabled,
227
+ class: r.collapse(),
228
+ onClick: (t) => {
229
+ t.preventDefault(), e.query.toggleCollapsed();
230
+ },
231
+ "aria-expanded": !e.query.collapsed.value
232
+ }, {
233
+ default: () => [e.query.collapsed.value ? v.value.expand : v.value.collapse]
234
+ }) : null])]), b.value || e.query.error.value ? n("div", {
235
+ class: r.feedback(),
236
+ role: "alert"
237
+ }, [b.value ?? e.query.error.value?.message]) : null]
238
+ });
239
+ };
240
+ }
241
+ });
242
+ export {
243
+ Te as default
244
+ };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=TableQuery.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableQuery.test.d.ts","sourceRoot":"","sources":["../../../../../table/src/components/TableQuery.test.ts"],"names":[],"mappings":""}
@@ -5,7 +5,11 @@ declare const _default: <TRecord extends object = Record<string, unknown>>(__VLS
5
5
  readonly onResizeColumn?: ((column: ColumnType<TRecord>, width: number) => any) | undefined;
6
6
  readonly onRowDragEnd?: ((newData: TRecord[], info: RowDragSortInfo) => any) | undefined;
7
7
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onChange" | "onResizeColumn" | "onRowDragEnd"> & TableProps<TRecord> & Partial<{}>> & import('vue').PublicProps;
8
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
8
+ expose(exposed: import('vue').ShallowUnwrapRef<{
9
+ scrollTo: (options: import('../../../vtable-guild/src/index.ts').TableScrollToOptions) => Promise<boolean>;
10
+ retryTreeLoad: (key: import('../../../vtable-guild/src/index.ts').Key) => Promise<boolean>;
11
+ getTreeLoadError: (key: import('../../../vtable-guild/src/index.ts').Key) => Error | undefined;
12
+ }>): void;
9
13
  attrs: any;
10
14
  slots: Readonly<TableSlotsDecl<TRecord>> & TableSlotsDecl<TRecord>;
11
15
  emit: ((evt: "change", filters: TableFiltersInfo, sorter: VTableSorterResult<TRecord>, extra: TableChangeExtra<TRecord>) => void) & ((evt: "resizeColumn", column: ColumnType<TRecord>, width: number) => void) & ((evt: "rowDragEnd", newData: TRecord[], info: RowDragSortInfo) => void);
@@ -1 +1 @@
1
- {"version":3,"file":"VTable.vue.d.ts","sourceRoot":"","sources":["../../../../../table/src/components/VTable.vue"],"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C,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WA4SO,mBAAmB,CAAC;;;;wMAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB;;;;MAAsB,GAAG,IAAI;WACpE,GAAG;;;EAIP,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAvTzE,wBAuT4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -1,9 +1,13 @@
1
- import { defineComponent as $, getCurrentInstance as h, createBlock as b, openBlock as B, unref as F, mergeProps as v, createSlots as k, withCtx as t, renderSlot as l, normalizeProps as a, guardReactiveProps as r } from "vue";
2
- import R from "./Table.mjs";
3
- const I = /* @__PURE__ */ $({
1
+ import { defineComponent as $, getCurrentInstance as b, ref as h, createBlock as B, openBlock as k, unref as T, mergeProps as R, createSlots as E, withCtx as t, renderSlot as l, normalizeProps as r, guardReactiveProps as a } from "vue";
2
+ import S from "./Table.mjs";
3
+ const z = /* @__PURE__ */ $({
4
4
  name: "VTable",
5
5
  __name: "VTable",
6
6
  props: {
7
+ renderers: {},
8
+ loadData: { type: Function },
9
+ isLeaf: { type: Function },
10
+ onTreeLoadError: { type: Function },
7
11
  pagination: { type: [Boolean, Object] },
8
12
  manual: { type: [Boolean, Object] },
9
13
  columnEmptyText: { type: [Object, String, Number, Boolean, null, Array] },
@@ -50,62 +54,70 @@ const I = /* @__PURE__ */ $({
50
54
  onExpandedRowsChange: { type: Function }
51
55
  },
52
56
  emits: ["change", "resizeColumn", "rowDragEnd"],
53
- setup(S, { emit: p }) {
54
- const s = p, u = h();
55
- function d() {
57
+ setup(D, { expose: p, emit: d }) {
58
+ const i = d, m = b(), s = h(null);
59
+ p({
60
+ scrollTo: (e) => s.value?.scrollTo(e) ?? Promise.resolve(!1),
61
+ retryTreeLoad: (e) => s.value?.retryTreeLoad(e) ?? Promise.resolve(!1),
62
+ getTreeLoadError: (e) => s.value?.getTreeLoadError(e)
63
+ });
64
+ function y() {
56
65
  const e = {};
57
- for (const [n, o] of Object.entries(u?.vnode.props ?? {}))
58
- n !== "onChange" && n !== "onResizeColumn" && n !== "onRowDragEnd" && (e[n] = o);
66
+ for (const [n, o] of Object.entries(m?.vnode.props ?? {}))
67
+ n !== "onChange" && n !== "onResizeColumn" && n !== "onRowDragEnd" && n !== "key" && n !== "ref" && n !== "ref_for" && n !== "ref_key" && (e[n] = o);
59
68
  return e;
60
69
  }
61
- function D(e) {
70
+ function P(e) {
62
71
  return e;
63
72
  }
64
- function m(e, n, o) {
65
- s(
73
+ function c(e, n, o) {
74
+ i(
66
75
  "change",
67
76
  e,
68
77
  n,
69
78
  o
70
79
  );
71
80
  }
72
- function y(e, n) {
73
- s("resizeColumn", e, n);
81
+ function f(e, n) {
82
+ i("resizeColumn", e, n);
74
83
  }
75
- function c(e, n) {
76
- s("rowDragEnd", e, n);
84
+ function g(e, n) {
85
+ i("rowDragEnd", e, n);
77
86
  }
78
- function f(e) {
87
+ function C(e) {
79
88
  return e;
80
89
  }
81
- function g(e) {
90
+ function w(e) {
82
91
  return e;
83
92
  }
84
- function C(e) {
93
+ function v(e) {
85
94
  return e;
86
95
  }
87
- function w(e) {
96
+ function F(e) {
88
97
  return e;
89
98
  }
90
- function i(e) {
99
+ function u(e) {
91
100
  return e;
92
101
  }
93
- return (e, n) => (B(), b(F(R), v(d(), {
94
- onChange: m,
95
- onResizeColumn: y,
96
- onRowDragEnd: c
97
- }), k({ _: 2 }, [
102
+ return (e, n) => (k(), B(T(S), R({
103
+ ref_key: "tableRef",
104
+ ref: s
105
+ }, y(), {
106
+ onChange: c,
107
+ onResizeColumn: f,
108
+ onRowDragEnd: g
109
+ }), E({ _: 2 }, [
98
110
  e.$slots.bodyCell ? {
99
111
  name: "bodyCell",
100
112
  fn: t((o) => [
101
- l(e.$slots, "bodyCell", a(r(f(o))))
113
+ l(e.$slots, "bodyCell", r(a(C(o))))
102
114
  ]),
103
115
  key: "0"
104
116
  } : void 0,
105
117
  e.$slots.headerCell ? {
106
118
  name: "headerCell",
107
119
  fn: t((o) => [
108
- l(e.$slots, "headerCell", a(r(g(o))))
120
+ l(e.$slots, "headerCell", r(a(w(o))))
109
121
  ]),
110
122
  key: "1"
111
123
  } : void 0,
@@ -126,28 +138,28 @@ const I = /* @__PURE__ */ $({
126
138
  e.$slots.customFilterDropdown ? {
127
139
  name: "customFilterDropdown",
128
140
  fn: t((o) => [
129
- l(e.$slots, "customFilterDropdown", a(r(C(o))))
141
+ l(e.$slots, "customFilterDropdown", r(a(v(o))))
130
142
  ]),
131
143
  key: "4"
132
144
  } : void 0,
133
145
  e.$slots.customFilterIcon ? {
134
146
  name: "customFilterIcon",
135
147
  fn: t((o) => [
136
- l(e.$slots, "customFilterIcon", a(r(w(o))))
148
+ l(e.$slots, "customFilterIcon", r(a(F(o))))
137
149
  ]),
138
150
  key: "5"
139
151
  } : void 0,
140
152
  e.$slots.title ? {
141
153
  name: "title",
142
154
  fn: t((o) => [
143
- l(e.$slots, "title", a(r(i(o))))
155
+ l(e.$slots, "title", r(a(u(o))))
144
156
  ]),
145
157
  key: "6"
146
158
  } : void 0,
147
159
  e.$slots.footer ? {
148
160
  name: "footer",
149
161
  fn: t((o) => [
150
- l(e.$slots, "footer", a(r(i(o))))
162
+ l(e.$slots, "footer", r(a(u(o))))
151
163
  ]),
152
164
  key: "7"
153
165
  } : void 0,
@@ -161,7 +173,7 @@ const I = /* @__PURE__ */ $({
161
173
  e.$slots.paginationItem ? {
162
174
  name: "paginationItem",
163
175
  fn: t((o) => [
164
- l(e.$slots, "paginationItem", a(r(o)))
176
+ l(e.$slots, "paginationItem", r(a(o)))
165
177
  ]),
166
178
  key: "9"
167
179
  } : void 0,
@@ -176,5 +188,5 @@ const I = /* @__PURE__ */ $({
176
188
  }
177
189
  });
178
190
  export {
179
- I as default
191
+ z as default
180
192
  };
@@ -0,0 +1,19 @@
1
+ import { UseTableEditableReturn } from '../types/editable';
2
+ import { TableBodyCellSlotProps } from '../types/table';
3
+ declare const _default: <TRecord extends object = Record<string, unknown>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & {
5
+ edit: Pick<UseTableEditableReturn<TRecord>, "renderEditor">;
6
+ cell: TableBodyCellSlotProps<TRecord>;
7
+ } & Partial<{}>> & import('vue').PublicProps;
8
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
9
+ attrs: any;
10
+ slots: {};
11
+ emit: {};
12
+ }>) => import('vue').VNode & {
13
+ __ctx?: Awaited<typeof __VLS_setup>;
14
+ };
15
+ export default _default;
16
+ type __VLS_PrettifyLocal<T> = {
17
+ [K in keyof T]: T[K];
18
+ } & {};
19
+ //# sourceMappingURL=VTableEditCell.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VTableEditCell.vue.d.ts","sourceRoot":"","sources":["../../../../../table/src/components/VTableEditCell.vue"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAA;AAC/D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAA;yBAE3C,OAAO,SAAS,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAChE,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WA6DO,mBAAmB,CAAC;cA1DpB,IAAI,CAAC,sBAAsB,CAAC,OAAO,CAAC,EAAE,cAAc,CAAC;cACrD,sBAAsB,CAAC,OAAO,CAAC;mBAyDuD,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;UAEJ,EAAE;EAEL,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAxEzE,wBAwE4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { defineComponent as n, createBlock as r, openBlock as c } from "vue";
2
+ const i = /* @__PURE__ */ n({
3
+ name: "VTableEditCell",
4
+ inheritAttrs: !1,
5
+ __name: "VTableEditCell",
6
+ props: {
7
+ edit: {},
8
+ cell: {}
9
+ },
10
+ setup(t) {
11
+ const e = t, l = () => e.edit.renderEditor({
12
+ ...e.cell,
13
+ value: e.cell.text,
14
+ renderIndex: e.cell.index
15
+ });
16
+ return (o, d) => (c(), r(l));
17
+ }
18
+ });
19
+ export {
20
+ i as default
21
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./VTableEditCell.vue.mjs";
2
+ export {
3
+ f as default
4
+ };
@@ -0,0 +1,18 @@
1
+ import { TableQueryInstance, TableQueryProps, TableQuerySlots } from '../types/query-form';
2
+ declare const _default: <TValues extends object = Record<string, unknown>, TParams extends object = TValues>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
+ readonly onReset?: ((success: boolean) => any) | undefined;
5
+ readonly onSubmitted?: ((success: boolean) => any) | undefined;
6
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onReset" | "onSubmitted"> & TableQueryProps<TValues, TParams> & Partial<{}>> & import('vue').PublicProps;
7
+ expose(exposed: import('vue').ShallowUnwrapRef<TableQueryInstance>): void;
8
+ attrs: any;
9
+ slots: Readonly<TableQuerySlots<TValues>> & TableQuerySlots<TValues>;
10
+ emit: ((evt: "reset", success: boolean) => void) & ((evt: "submitted", success: boolean) => void);
11
+ }>) => import('vue').VNode & {
12
+ __ctx?: Awaited<typeof __VLS_setup>;
13
+ };
14
+ export default _default;
15
+ type __VLS_PrettifyLocal<T> = {
16
+ [K in keyof T]: T[K];
17
+ } & {};
18
+ //# sourceMappingURL=VTableQuery.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VTableQuery.vue.d.ts","sourceRoot":"","sources":["../../../../../table/src/components/VTableQuery.vue"],"names":[],"mappings":"AA+CA,OAAO,KAAK,EAAE,kBAAkB,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;yBAE9E,OAAO,SAAS,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,SAAS,MAAM,GAAG,OAAO,EAClG,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WAqHO,mBAAmB,CAAC;;;iMAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,oBAAsB,GAAG,IAAI;WACpE,GAAG;;;EAIP,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAhIzE,wBAgI4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -0,0 +1,64 @@
1
+ import { defineComponent as p, ref as c, createBlock as y, openBlock as b, unref as v, mergeProps as P, createSlots as T, withCtx as l, renderSlot as n, normalizeProps as i, guardReactiveProps as a } from "vue";
2
+ import k from "./TableQuery.mjs";
3
+ const g = /* @__PURE__ */ p({
4
+ name: "VTableQuery",
5
+ inheritAttrs: !1,
6
+ __name: "VTableQuery",
7
+ props: {
8
+ query: {},
9
+ rootTag: {},
10
+ fields: {},
11
+ controls: {},
12
+ layout: {},
13
+ autoSubmit: { type: Boolean },
14
+ debounceTime: {},
15
+ hiddenPolicy: {},
16
+ collapsedCount: {},
17
+ collapsible: { type: Boolean, default: !0 },
18
+ disabled: { type: Boolean },
19
+ validate: {},
20
+ errors: {},
21
+ locale: {},
22
+ ui: {},
23
+ class: {}
24
+ },
25
+ emits: ["submitted", "reset"],
26
+ setup(u, { expose: m, emit: d }) {
27
+ const f = u, r = d, t = c();
28
+ m({
29
+ submit: () => t.value?.submit() ?? Promise.resolve(!1),
30
+ reset: () => t.value?.reset() ?? Promise.resolve(!1),
31
+ cancel: () => t.value?.cancel()
32
+ });
33
+ function B(e) {
34
+ return e;
35
+ }
36
+ return (e, s) => (b(), y(v(k), P({
37
+ ref_key: "inner",
38
+ ref: t
39
+ }, { ...e.$attrs, ...f }, {
40
+ onSubmitted: s[0] || (s[0] = (o) => r("submitted", o)),
41
+ onReset: s[1] || (s[1] = (o) => r("reset", o))
42
+ }), T({ _: 2 }, [
43
+ e.$slots.field ? {
44
+ name: "field",
45
+ fn: l((o) => [
46
+ n(e.$slots, "field", i(a(
47
+ o
48
+ )))
49
+ ]),
50
+ key: "0"
51
+ } : void 0,
52
+ e.$slots.actions ? {
53
+ name: "actions",
54
+ fn: l((o) => [
55
+ n(e.$slots, "actions", i(a(o)))
56
+ ]),
57
+ key: "1"
58
+ } : void 0
59
+ ]), 1040));
60
+ }
61
+ });
62
+ export {
63
+ g as default
64
+ };
@@ -0,0 +1,4 @@
1
+ import f from "./VTableQuery.vue.mjs";
2
+ export {
3
+ f as default
4
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"VirtualTableBody.d.ts","sourceRoot":"","sources":["../../../../../table/src/components/VirtualTableBody.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAiB,QAAQ,EAAE,MAAM,KAAK,CAAA;AAElD,OAAO,KAAK,EAAW,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAQpE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAA;AAGpE,OAAO,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAK/C,KAAK,sBAAsB,GAAG,iBAAiB,GAAG;IAChD,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;;;cAQgC,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,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