@vtable-guild/vtable-guild 2.9.0-alpha.0 → 2.9.0-alpha.1

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 (112) hide show
  1. package/css/presets/antdv.css +6 -0
  2. package/css/presets/element-plus.css +6 -0
  3. package/css/style.css +62 -0
  4. package/css/tailwind3-utilities.css +50 -0
  5. package/css/tailwind3.css +12 -0
  6. package/css/tailwind4.css +12 -0
  7. package/dist/core/src/utils/types.d.ts +5 -0
  8. package/dist/core/src/utils/types.d.ts.map +1 -1
  9. package/dist/css/presets/antdv.css +6 -0
  10. package/dist/css/presets/element-plus.css +6 -0
  11. package/dist/css/style.css +62 -0
  12. package/dist/css/tailwind3-utilities.css +50 -0
  13. package/dist/css/tailwind3.css +12 -0
  14. package/dist/css/tailwind4.css +12 -0
  15. package/dist/index.full.mjs +5477 -4867
  16. package/dist/index.mjs +53 -47
  17. package/dist/table/src/components/ExpandIcon.d.ts +18 -0
  18. package/dist/table/src/components/ExpandIcon.d.ts.map +1 -1
  19. package/dist/table/src/components/ExpandIcon.mjs +47 -17
  20. package/dist/table/src/components/FilterDropdown.d.ts +1 -1
  21. package/dist/table/src/components/Table.d.ts +39 -1
  22. package/dist/table/src/components/Table.d.ts.map +1 -1
  23. package/dist/table/src/components/Table.mjs +729 -638
  24. package/dist/table/src/components/TableBody.d.ts.map +1 -1
  25. package/dist/table/src/components/TableBody.mjs +8 -5
  26. package/dist/table/src/components/TableCell.d.ts.map +1 -1
  27. package/dist/table/src/components/TableCell.mjs +74 -66
  28. package/dist/table/src/components/TableInstance.test.d.ts +2 -0
  29. package/dist/table/src/components/TableInstance.test.d.ts.map +1 -0
  30. package/dist/table/src/components/TableLazyTree.test.d.ts +2 -0
  31. package/dist/table/src/components/TableLazyTree.test.d.ts.map +1 -0
  32. package/dist/table/src/components/VTable.vue.d.ts +5 -1
  33. package/dist/table/src/components/VTable.vue.d.ts.map +1 -1
  34. package/dist/table/src/components/VTable.vue.mjs +45 -33
  35. package/dist/table/src/components/VirtualTableBody.d.ts.map +1 -1
  36. package/dist/table/src/components/VirtualTableBody.mjs +128 -115
  37. package/dist/table/src/composables/useLazyTreeData.d.ts +19 -0
  38. package/dist/table/src/composables/useLazyTreeData.d.ts.map +1 -0
  39. package/dist/table/src/composables/useLazyTreeData.mjs +123 -0
  40. package/dist/table/src/composables/useLazyTreeData.test.d.ts +2 -0
  41. package/dist/table/src/composables/useLazyTreeData.test.d.ts.map +1 -0
  42. package/dist/table/src/composables/useTableEdit.d.ts +4 -0
  43. package/dist/table/src/composables/useTableEdit.d.ts.map +1 -0
  44. package/dist/table/src/composables/useTableEdit.mjs +183 -0
  45. package/dist/table/src/composables/useTableEdit.test.d.ts +2 -0
  46. package/dist/table/src/composables/useTableEdit.test.d.ts.map +1 -0
  47. package/dist/table/src/composables/useTableQuery.d.ts +4 -0
  48. package/dist/table/src/composables/useTableQuery.d.ts.map +1 -0
  49. package/dist/table/src/composables/useTableQuery.mjs +54 -0
  50. package/dist/table/src/composables/useTableQuery.test.d.ts +2 -0
  51. package/dist/table/src/composables/useTableQuery.test.d.ts.map +1 -0
  52. package/dist/table/src/composables/useTableRequest.d.ts.map +1 -1
  53. package/dist/table/src/composables/useTableRequest.mjs +70 -71
  54. package/dist/table/src/composables/useTreeData.d.ts +2 -0
  55. package/dist/table/src/composables/useTreeData.d.ts.map +1 -1
  56. package/dist/table/src/composables/useTreeData.mjs +46 -51
  57. package/dist/table/src/context.d.ts +7 -0
  58. package/dist/table/src/context.d.ts.map +1 -1
  59. package/dist/table/src/index.d.ts +17 -1
  60. package/dist/table/src/index.d.ts.map +1 -1
  61. package/dist/table/src/renderers.d.ts +5 -0
  62. package/dist/table/src/renderers.d.ts.map +1 -0
  63. package/dist/table/src/renderers.mjs +52 -0
  64. package/dist/table/src/renderers.test.d.ts +2 -0
  65. package/dist/table/src/renderers.test.d.ts.map +1 -0
  66. package/dist/table/src/types/column.d.ts +5 -1
  67. package/dist/table/src/types/column.d.ts.map +1 -1
  68. package/dist/table/src/types/editing.d.ts +53 -0
  69. package/dist/table/src/types/editing.d.ts.map +1 -0
  70. package/dist/table/src/types/editing.typecheck.d.ts +11 -0
  71. package/dist/table/src/types/editing.typecheck.d.ts.map +1 -0
  72. package/dist/table/src/types/index.d.ts +5 -0
  73. package/dist/table/src/types/index.d.ts.map +1 -1
  74. package/dist/table/src/types/instance.d.ts +18 -0
  75. package/dist/table/src/types/instance.d.ts.map +1 -0
  76. package/dist/table/src/types/instance.typecheck.d.ts +3 -0
  77. package/dist/table/src/types/instance.typecheck.d.ts.map +1 -0
  78. package/dist/table/src/types/query.d.ts +36 -0
  79. package/dist/table/src/types/query.d.ts.map +1 -0
  80. package/dist/table/src/types/query.typecheck.d.ts +14 -0
  81. package/dist/table/src/types/query.typecheck.d.ts.map +1 -0
  82. package/dist/table/src/types/renderers.d.ts +37 -0
  83. package/dist/table/src/types/renderers.d.ts.map +1 -0
  84. package/dist/table/src/types/renderers.typecheck.d.ts +13 -0
  85. package/dist/table/src/types/renderers.typecheck.d.ts.map +1 -0
  86. package/dist/table/src/types/request.d.ts +3 -3
  87. package/dist/table/src/types/request.d.ts.map +1 -1
  88. package/dist/table/src/types/table.d.ts +8 -0
  89. package/dist/table/src/types/table.d.ts.map +1 -1
  90. package/dist/table/src/types/tree.d.ts +5 -0
  91. package/dist/table/src/types/tree.d.ts.map +1 -0
  92. package/dist/table/src/utils/cell.d.ts +4 -0
  93. package/dist/table/src/utils/cell.d.ts.map +1 -1
  94. package/dist/table/src/utils/cell.mjs +81 -52
  95. package/dist/table/src/utils/snapshot.d.ts +3 -0
  96. package/dist/table/src/utils/snapshot.d.ts.map +1 -0
  97. package/dist/table/src/utils/snapshot.mjs +30 -0
  98. package/dist/table/src/utils/snapshot.test.d.ts +2 -0
  99. package/dist/table/src/utils/snapshot.test.d.ts.map +1 -0
  100. package/dist/theme/src/presets/antdv/table-locale.d.ts +10 -0
  101. package/dist/theme/src/presets/antdv/table-locale.d.ts.map +1 -1
  102. package/dist/theme/src/presets/antdv/table-locale.mjs +2 -0
  103. package/dist/theme/src/presets/antdv/table.d.ts +3 -0
  104. package/dist/theme/src/presets/antdv/table.d.ts.map +1 -1
  105. package/dist/theme/src/presets/antdv/table.mjs +3 -0
  106. package/dist/theme/src/presets/element-plus/table-locale.d.ts +10 -0
  107. package/dist/theme/src/presets/element-plus/table-locale.d.ts.map +1 -1
  108. package/dist/theme/src/presets/element-plus/table-locale.mjs +2 -0
  109. package/dist/theme/src/presets/element-plus/table.d.ts +3 -0
  110. package/dist/theme/src/presets/element-plus/table.d.ts.map +1 -1
  111. package/dist/theme/src/presets/element-plus/table.mjs +3 -0
  112. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"TableBody.d.ts","sourceRoot":"","sources":["../../../../../table/src/components/TableBody.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqC,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;AAStE,OAAO,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;;;cAoBd,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;;;;cACtC,QAAQ,CAAC,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;cAO3C,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,GAAG,CAAC,CAAC;;;;;cAR9D,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;;;;cACtC,QAAQ,CAAC,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;cAO3C,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,GAAG,CAAC,CAAC;;;;+BAAjC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,GAAG;;AAX7F,wBA4KE"}
1
+ {"version":3,"file":"TableBody.d.ts","sourceRoot":"","sources":["../../../../../table/src/components/TableBody.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqC,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;AAStE,OAAO,KAAK,EAAE,UAAU,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;;;cAoBd,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;;;;cACtC,QAAQ,CAAC,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;cAO3C,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,GAAG,CAAC,CAAC;;;;;cAR9D,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;;;;cACtC,QAAQ,CAAC,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;cAO3C,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,GAAG,CAAC,CAAC;;;;+BAAjC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,GAAG;;AAX7F,wBA+KE"}
@@ -1,4 +1,4 @@
1
- import { defineComponent as E, inject as T, computed as v, createVNode as c } from "vue";
1
+ import { defineComponent as v, inject as E, computed as T, createVNode as c } from "vue";
2
2
  import "../../../core/src/utils/tv.mjs";
3
3
  import h from "./TableRow.mjs";
4
4
  import N from "./TableCell.mjs";
@@ -14,7 +14,7 @@ import { cn as F } from "tailwind-variants";
14
14
  function g(e) {
15
15
  return Number.isFinite(e) ? e <= 0 ? 0 : Math.floor(e) : 1;
16
16
  }
17
- const U = /* @__PURE__ */ E({
17
+ const U = /* @__PURE__ */ v({
18
18
  name: "TableBody",
19
19
  props: {
20
20
  dataSource: {
@@ -51,11 +51,11 @@ const U = /* @__PURE__ */ E({
51
51
  }
52
52
  },
53
53
  setup(e) {
54
- const t = T(q, {});
54
+ const t = E(q, {});
55
55
  function R(a, o) {
56
56
  return $(a, o, e.rowKey);
57
57
  }
58
- const x = v(() => {
58
+ const x = T(() => {
59
59
  const a = /* @__PURE__ */ new Set();
60
60
  return e.dataSource.map((o, l) => {
61
61
  const n = [];
@@ -69,7 +69,9 @@ const U = /* @__PURE__ */ E({
69
69
  column: C,
70
70
  bodyCell: t.bodyCell,
71
71
  transformCellText: t.transformCellText,
72
- columnEmptyText: t.columnEmptyText?.value
72
+ columnEmptyText: t.columnEmptyText?.value,
73
+ renderers: t.renderers?.value,
74
+ locale: t.localeName?.value
73
75
  }), r = g(y.colSpan), d = g(y.rowSpan);
74
76
  if (r === 0 || d === 0) return;
75
77
  const f = Math.min(e.dataSource.length, l + d), w = Math.min(e.columns.length, s + r);
@@ -99,6 +101,7 @@ const U = /* @__PURE__ */ E({
99
101
  } : void 0;
100
102
  return [c(h, {
101
103
  key: l,
104
+ "data-vtg-row-index": o,
102
105
  rowClass: F(e.rowClass, d, u, P(t, a, o, r)) ?? "",
103
106
  rowProps: i,
104
107
  onClick: b
@@ -1 +1 @@
1
- {"version":3,"file":"TableCell.d.ts","sourceRoot":"","sources":["../../../../../table/src/components/TableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0C,KAAK,QAAQ,EAAmB,MAAM,KAAK,CAAA;AAG5F,OAAO,KAAK,EAAuB,UAAU,EAAE,MAAM,UAAU,CAAA;AAK/D,OAAO,EAKL,KAAK,gBAAgB,EACtB,MAAM,eAAe,CAAA;;;cASQ,QAAQ,CAAC,MAAM,CAAC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ent as le, inject as ne, ref as A, computed as d, createVNode as s, mergeProps as D } from "vue";
1
+ import { defineComponent as ne, inject as te, ref as A, computed as d, createVNode as s, mergeProps as D } from "vue";
2
2
  import "../../../core/src/utils/tv.mjs";
3
- import te from "../../../core/src/components/Tooltip.mjs";
4
- import { TABLE_CONTEXT_KEY as oe } from "../context.mjs";
5
- import { getByDataIndex as ae, getColumnKey as j } from "../composables/useColumns.mjs";
6
- import { useFixedColumnStyle as se } from "../composables/useFixedColumnStyle.mjs";
7
- import { resolveBodyCell as ce, getEllipsisConfig as W, omitCellProps as H, isRenderedCell as de } from "../utils/cell.mjs";
8
- import ue from "./SelectionCheckbox.mjs";
9
- import re from "./SelectionRadio.mjs";
3
+ import oe from "../../../core/src/components/Tooltip.mjs";
4
+ import { TABLE_CONTEXT_KEY as ae } from "../context.mjs";
5
+ import { getByDataIndex as se, getColumnKey as K } from "../composables/useColumns.mjs";
6
+ import { useFixedColumnStyle as ce } from "../composables/useFixedColumnStyle.mjs";
7
+ import { resolveBodyCell as de, getEllipsisConfig as j, omitCellProps as H, isRenderedCell as ue } from "../utils/cell.mjs";
8
+ import re from "./SelectionCheckbox.mjs";
9
+ import ie from "./SelectionRadio.mjs";
10
10
  import L from "./ExpandIcon.mjs";
11
- import ie from "./TableCopyButton.mjs";
12
- import { isInHoverRange as ve } from "../composables/useHoverState.mjs";
13
- import { TABLE_ALIGN_CLASSES as me } from "../../../theme/src/presets/antdv/table.mjs";
14
- import { cn as m } from "tailwind-variants";
15
- const pe = /* @__PURE__ */ le({
11
+ import ve from "./TableCopyButton.mjs";
12
+ import { isInHoverRange as me } from "../composables/useHoverState.mjs";
13
+ import { TABLE_ALIGN_CLASSES as Ce } from "../../../theme/src/presets/antdv/table.mjs";
14
+ import { cn as C } from "tailwind-variants";
15
+ const Ne = /* @__PURE__ */ ne({
16
16
  name: "TableCell",
17
17
  props: {
18
18
  record: {
@@ -56,28 +56,30 @@ const pe = /* @__PURE__ */ le({
56
56
  }
57
57
  },
58
58
  setup(e) {
59
- const l = ne(oe, {}), O = A(null), T = A(!1), t = d(() => e.resolvedCell ?? ce({
60
- text: ae(e.record, e.column.dataIndex),
59
+ const l = te(ae, {}), O = A(null), E = A(!1), t = d(() => e.resolvedCell ?? de({
60
+ text: se(e.record, e.column.dataIndex),
61
61
  record: e.record,
62
62
  rowIndex: e.rowIndex,
63
63
  column: e.column,
64
64
  bodyCell: l.bodyCell,
65
65
  transformCellText: l.transformCellText,
66
- columnEmptyText: l.columnEmptyText?.value
67
- })), $ = d(() => {
66
+ columnEmptyText: l.columnEmptyText?.value,
67
+ renderers: l.renderers?.value,
68
+ locale: l.localeName?.value
69
+ })), W = d(() => {
68
70
  if (!e.column.fixed) return null;
69
- const n = j(e.column) ?? e.colIndex;
71
+ const n = K(e.column) ?? e.colIndex;
70
72
  return l.fixedOffsets?.value?.get(n) ?? null;
71
73
  }), {
72
- fixedStyle: K,
73
- fixedClass: E
74
- } = se({
75
- fixedInfo: () => $.value
76
- }), z = d(() => W(e.column).enabled ? l.compatClass?.("cell-ellipsis") ?? "" : ""), i = d(() => l.getSelectionState?.(e.record, e.rowIndex) ?? {
74
+ fixedStyle: $,
75
+ fixedClass: _
76
+ } = ce({
77
+ fixedInfo: () => W.value
78
+ }), z = d(() => j(e.column).enabled ? l.compatClass?.("cell-ellipsis") ?? "" : ""), i = d(() => l.getSelectionState?.(e.record, e.rowIndex) ?? {
77
79
  checked: !1,
78
80
  indeterminate: !1,
79
81
  disabled: !1
80
- }), x = d(() => i.value.checked), S = d(() => ve(e.rowIndex, t.value.rowSpan ?? 1, l.hoverRange?.value ?? null)), _ = d(() => S.value && l.hoverable?.value ? l.compatClass?.("cell-row-hover") ?? "" : "");
82
+ }), x = d(() => i.value.checked), g = d(() => me(e.rowIndex, t.value.rowSpan ?? 1, l.hoverRange?.value ?? null)), R = d(() => g.value && l.hoverable?.value ? l.compatClass?.("cell-row-hover") ?? "" : "");
81
83
  function h() {
82
84
  if (!l.hoverable?.value) return;
83
85
  const n = Math.max(1, t.value.rowSpan ?? 1);
@@ -96,12 +98,12 @@ const pe = /* @__PURE__ */ le({
96
98
  w(), typeof n == "function" && n(o);
97
99
  };
98
100
  }
99
- const R = d(() => ({
101
+ const k = d(() => ({
100
102
  ...H(t.value.renderCellProps),
101
103
  ...H(t.value.customCellProps)
102
104
  })), V = d(() => {
103
- const n = e.column.align ? l.vtgClass?.(me[e.column.align]) ?? "" : "", o = l.subThemeSlots, a = S.value && l.hoverable?.value, C = l.isColumnSorted?.(e.column) && o ? o.tdSorted() : "", k = x.value && o ? m(o.tdSelected(), a ? o.tdRowSelectedHover() : "") : "", p = a && o && !x.value ? o.tdRowHover() : "";
104
- return m(
105
+ const n = e.column.align ? l.vtgClass?.(Ce[e.column.align]) ?? "" : "", o = l.subThemeSlots, a = g.value && l.hoverable?.value, v = l.isColumnSorted?.(e.column) && o ? o.tdSorted() : "", f = x.value && o ? C(o.tdSelected(), a ? o.tdRowSelectedHover() : "") : "", p = a && o && !x.value ? o.tdRowHover() : "";
106
+ return C(
105
107
  e.tdClass,
106
108
  n,
107
109
  e.column.className,
@@ -109,19 +111,19 @@ const pe = /* @__PURE__ */ le({
109
111
  t.value.customCellProps?.className,
110
112
  t.value.renderCellProps?.class,
111
113
  t.value.renderCellProps?.className,
112
- C,
113
- k,
114
+ v,
115
+ f,
114
116
  p,
115
- E.value,
116
117
  _.value,
118
+ R.value,
117
119
  // antdv 把 ellipsis 类放在 td 上,我们的 slot 落在内层 span,故在此补
118
120
  z.value
119
121
  );
120
122
  }), b = d(() => {
121
- const n = {}, o = l.columnWidths?.[String(j(e.column) ?? e.colIndex)], a = e.widthOverride ?? o ?? e.column.width;
123
+ const n = {}, o = l.columnWidths?.[String(K(e.column) ?? e.colIndex)], a = e.widthOverride ?? o ?? e.column.width;
122
124
  return a && (n.width = typeof a == "number" ? `${a}px` : a), {
123
125
  ...n,
124
- ...K.value ?? {},
126
+ ...$.value ?? {},
125
127
  ...t.value.customCellProps?.style ?? {},
126
128
  ...t.value.renderCellProps?.style ?? {},
127
129
  ...l.columnLayout?.columnStyle(e.colIndex, t.value.colSpan || 1)
@@ -140,32 +142,32 @@ const pe = /* @__PURE__ */ le({
140
142
  }
141
143
  function Q() {
142
144
  const n = O.value, o = t.value.tooltipText;
143
- T.value = !!(n && o && (n.scrollWidth > n.clientWidth || n.scrollHeight > n.clientHeight));
145
+ E.value = !!(n && o && (n.scrollWidth > n.clientWidth || n.scrollHeight > n.clientHeight));
144
146
  }
145
147
  function U() {
146
- T.value = !1;
148
+ E.value = !1;
147
149
  }
148
150
  return () => {
149
151
  if (t.value.colSpan === 0 || t.value.rowSpan === 0)
150
152
  return null;
151
153
  const n = t.value.colSpan !== 1 ? t.value.colSpan : void 0, o = t.value.rowSpan !== 1 ? t.value.rowSpan : void 0;
152
154
  if (e.column.key === "__vtg_selection__") {
153
- const v = l.rowSelection?.(), f = v?.type === "radio" ? s(re, {
155
+ const m = l.rowSelection?.(), S = m?.type === "radio" ? s(ie, {
154
156
  checked: i.value.checked,
155
157
  disabled: i.value.disabled,
156
158
  onChange: (u) => l.toggleRow?.(e.record, e.rowIndex, u)
157
- }, null) : s(ue, {
159
+ }, null) : s(re, {
158
160
  checked: i.value.checked,
159
161
  indeterminate: i.value.indeterminate,
160
162
  disabled: i.value.disabled,
161
- onChange: (u, I) => l.toggleRow?.(e.record, e.rowIndex, I)
163
+ onChange: (u, T) => l.toggleRow?.(e.record, e.rowIndex, T)
162
164
  }, null);
163
- let r = f, c;
164
- if (v?.renderCell) {
165
- const u = v.renderCell(i.value.checked, e.record, e.rowIndex, f);
166
- de(u) ? (r = u.children, c = u.props) : r = u;
165
+ let r = S, c;
166
+ if (m?.renderCell) {
167
+ const u = m.renderCell(i.value.checked, e.record, e.rowIndex, S);
168
+ ue(u) ? (r = u.children, c = u.props) : r = u;
167
169
  }
168
- const g = !!v?.renderCell, y = S.value && l.hoverable?.value, P = m(e.tdClass, l.vtgClass?.(g ? "text-center" : "text-center leading-[0]"), e.column.className, c?.class, c?.className, x.value && l.subThemeSlots ? m(l.subThemeSlots.tdSelected(), y ? l.subThemeSlots.tdRowSelectedHover() : "") : y && l.subThemeSlots ? l.subThemeSlots.tdRowHover() : "", E.value, _.value, l.compatClass?.("selection-column"));
170
+ const y = !!m?.renderCell, I = g.value && l.hoverable?.value, P = C(e.tdClass, l.vtgClass?.(y ? "text-center" : "text-center leading-[0]"), e.column.className, c?.class, c?.className, x.value && l.subThemeSlots ? C(l.subThemeSlots.tdSelected(), I ? l.subThemeSlots.tdRowSelectedHover() : "") : I && l.subThemeSlots ? l.subThemeSlots.tdRowHover() : "", _.value, R.value, l.compatClass?.("selection-column"));
169
171
  return s("td", D(H(c), {
170
172
  class: P,
171
173
  style: J(c?.style),
@@ -177,24 +179,24 @@ const pe = /* @__PURE__ */ le({
177
179
  }), [r]);
178
180
  }
179
181
  if (e.column.key === "__vtg_expand__") {
180
- const v = l.expandable?.(), N = l.getRowKey?.(e.record, e.rowIndex), f = N !== void 0 && (l.isExpanded?.(N) ?? !1), r = l.isRowExpandable?.(e.record) ?? !1, c = l.subThemeSlots, g = S.value && l.hoverable?.value, y = l.isColumnSorted?.(e.column) && c ? c.tdSorted() : "", P = x.value && c ? m(c.tdSelected(), g ? c.tdRowSelectedHover() : "") : "", u = g && c && !x.value ? c.tdRowHover() : "", I = m(e.tdClass, l.vtgClass?.("text-center"), e.column.className, y, P, u, E.value, _.value, l.compatClass?.("row-expand-icon-cell"));
181
- return v?.expandIcon ? s("td", {
182
- class: I,
182
+ const m = l.expandable?.(), M = l.getRowKey?.(e.record, e.rowIndex), S = M !== void 0 && (l.isExpanded?.(M) ?? !1), r = l.isRowExpandable?.(e.record) ?? !1, c = l.subThemeSlots, y = g.value && l.hoverable?.value, I = l.isColumnSorted?.(e.column) && c ? c.tdSorted() : "", P = x.value && c ? C(c.tdSelected(), y ? c.tdRowSelectedHover() : "") : "", u = y && c && !x.value ? c.tdRowHover() : "", T = C(e.tdClass, l.vtgClass?.("text-center"), e.column.className, I, P, u, _.value, R.value, l.compatClass?.("row-expand-icon-cell"));
183
+ return m?.expandIcon ? s("td", {
184
+ class: T,
183
185
  style: b.value,
184
186
  "data-vtg-col": e.colIndex,
185
187
  colspan: n,
186
188
  rowspan: o,
187
189
  onMouseenter: h,
188
190
  onMouseleave: w
189
- }, [v.expandIcon({
190
- expanded: f,
191
+ }, [m.expandIcon({
192
+ expanded: S,
191
193
  record: e.record,
192
194
  expandable: r,
193
- onExpand: (Ce, ee) => {
194
- ee.stopPropagation(), r && l.toggleExpand?.(e.record, e.rowIndex);
195
+ onExpand: (fe, le) => {
196
+ le.stopPropagation(), r && l.toggleExpand?.(e.record, e.rowIndex);
195
197
  }
196
198
  })]) : s("td", {
197
- class: I,
199
+ class: T,
198
200
  style: b.value,
199
201
  "data-vtg-col": e.colIndex,
200
202
  colspan: n,
@@ -202,7 +204,7 @@ const pe = /* @__PURE__ */ le({
202
204
  onMouseenter: h,
203
205
  onMouseleave: w
204
206
  }, [s(L, {
205
- expanded: f,
207
+ expanded: S,
206
208
  expandable: r,
207
209
  variant: "row",
208
210
  onClick: () => {
@@ -210,50 +212,56 @@ const pe = /* @__PURE__ */ le({
210
212
  }
211
213
  }, null)]);
212
214
  }
213
- const a = X.value, C = Y.value && a, k = C ? s("span", {
215
+ const a = X.value, v = Y.value && a, f = v ? l.getRowKey?.(e.record, e.rowIndex) : void 0, p = v ? s("span", {
214
216
  class: l.compatClass ? `${l.compatClass("row-indent")} indent-level-${a.level}` : void 0,
215
217
  style: {
216
218
  display: "inline-block",
217
219
  width: `${a.level * (l.treeIndentSize?.value ?? 15)}px`
218
220
  }
219
- }, null) : null, p = C && a.hasChildren ? s(L, {
221
+ }, null) : null, Z = v && a.hasChildren ? s(L, {
220
222
  expanded: a.expanded,
221
223
  expandable: !0,
222
224
  variant: "tree",
225
+ loading: f !== void 0 && l.isTreeLoading?.(f),
226
+ error: f !== void 0 && !!l.getTreeLoadError?.(f),
223
227
  onClick: () => l.toggleTreeExpand?.(e.record, e.rowIndex)
224
- }, null) : C ? s(L, {
228
+ }, null) : v ? s(L, {
225
229
  expanded: !1,
226
230
  expandable: !1,
227
231
  variant: "tree"
228
- }, null) : null, B = W(e.column), Z = C ? l.compatClass?.("cell-with-append") ?? "" : "", M = t.value.status ? s("span", {
232
+ }, null) : null, B = j(e.column), ee = v ? l.compatClass?.("cell-with-append") ?? "" : "", N = t.value.presentation === "tag" ? s("span", {
233
+ class: l.subThemeSlots?.cellTag(),
234
+ "data-status": t.value.status ?? "default",
235
+ "data-vtg-field": "tag"
236
+ }, [t.value.content]) : t.value.status ? s("span", {
229
237
  class: l.subThemeSlots?.cellStatus(),
230
238
  "data-status": t.value.status
231
- }, [t.value.content]) : t.value.content, q = B.enabled ? B.showTitle ? s(te, {
239
+ }, [t.value.content]) : t.value.content, q = B.enabled ? B.showTitle ? s(oe, {
232
240
  block: !0,
233
241
  title: t.value.tooltipText,
234
242
  placement: "top",
235
- open: T.value
243
+ open: E.value
236
244
  }, {
237
245
  default: () => [s("div", {
238
246
  ref: O,
239
247
  class: e.bodyCellEllipsisClass,
240
248
  onMouseenter: Q,
241
249
  onMouseleave: U
242
- }, [M])]
250
+ }, [N])]
243
251
  }) : s("div", {
244
252
  class: e.bodyCellEllipsisClass
245
- }, [M]) : M;
246
- return s("td", D(R.value, {
247
- class: m(V.value, Z),
253
+ }, [N]) : N;
254
+ return s("td", D(k.value, {
255
+ class: C(V.value, ee),
248
256
  style: b.value,
249
257
  "data-vtg-col": e.colIndex,
250
258
  colspan: n,
251
259
  rowspan: o,
252
- onMouseenter: F(R.value.onMouseenter),
253
- onMouseleave: G(R.value.onMouseleave)
254
- }), [k, p, e.column.copyable ? s("span", {
260
+ onMouseenter: F(k.value.onMouseenter),
261
+ onMouseleave: G(k.value.onMouseleave)
262
+ }), [p, Z, e.column.copyable ? s("span", {
255
263
  class: l.subThemeSlots?.cellContent()
256
- }, [q, s(ie, {
264
+ }, [q, s(ve, {
257
265
  column: e.column,
258
266
  record: e.record,
259
267
  rowIndex: e.rowIndex,
@@ -263,5 +271,5 @@ const pe = /* @__PURE__ */ le({
263
271
  }
264
272
  });
265
273
  export {
266
- pe as default
274
+ Ne as default
267
275
  };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=TableInstance.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableInstance.test.d.ts","sourceRoot":"","sources":["../../../../../table/src/components/TableInstance.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=TableLazyTree.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableLazyTree.test.d.ts","sourceRoot":"","sources":["../../../../../table/src/components/TableLazyTree.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"],"names":[],"mappings":"AAsJA,OAAO,KAAK,EACV,UAAU,EAEV,gBAAgB,EAGhB,gBAAgB,EAEhB,UAAU,EACV,cAAc,EACd,eAAe,EACf,kBAAkB,EACnB,MAAM,UAAU,CAAA;yBAGA,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;WAmRO,mBAAmB,CAAC;;;;wMAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;EAIP,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AA9RzE,wBA8R4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"VTable.vue.d.ts","sourceRoot":"","sources":["../../../../../table/src/components/VTable.vue"],"names":[],"mappings":"AAsKA,OAAO,KAAK,EACV,UAAU,EAEV,gBAAgB,EAGhB,gBAAgB,EAEhB,UAAU,EACV,cAAc,EACd,eAAe,EACf,kBAAkB,EACnB,MAAM,UAAU,CAAA;yBAIA,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;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
  };
@@ -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,CAAC;;;;cACtC,QAAQ,CAAC,UAAU,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAO3C,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;;;;cAEhC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,GAAG,CAAC,CAAC;;;;;;;;;;;IAK3F,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