@gsc-basic/components 1.0.2 → 1.0.3

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 (116) hide show
  1. package/dist/es/index.js +43 -29
  2. package/dist/es/node_modules/@codemirror/autocomplete/dist/index.js +15 -15
  3. package/dist/es/node_modules/@codemirror/commands/dist/index.js +5 -5
  4. package/dist/es/node_modules/@codemirror/lang-java/dist/index.js +3 -3
  5. package/dist/es/node_modules/@codemirror/lang-javascript/dist/index.js +8 -8
  6. package/dist/es/node_modules/@codemirror/lang-json/dist/index.js +1 -1
  7. package/dist/es/node_modules/@codemirror/lang-python/dist/index.js +1 -1
  8. package/dist/es/node_modules/@codemirror/lang-sql/dist/index.js +6 -6
  9. package/dist/es/node_modules/@codemirror/lang-xml/dist/index.js +3 -3
  10. package/dist/es/node_modules/@codemirror/lang-yaml/dist/index.js +1 -1
  11. package/dist/es/node_modules/@codemirror/language/dist/index.js +1 -1
  12. package/dist/es/node_modules/@codemirror/lint/dist/index.js +7 -7
  13. package/dist/es/node_modules/@codemirror/search/dist/index.js +9 -9
  14. package/dist/es/node_modules/@codemirror/view/dist/index.js +7 -7
  15. package/dist/es/node_modules/@lezer/lr/dist/index.js +4 -2
  16. package/dist/es/node_modules/@tanstack/form-core/dist/esm/FormApi.js +146 -142
  17. package/dist/es/node_modules/@tanstack/vue-table/build/lib/index.js +7 -7
  18. package/dist/es/node_modules/@vueuse/core/dist/index.js +1 -1
  19. package/dist/es/node_modules/codemirror/dist/index.js +3 -3
  20. package/dist/es/src/Button/index.js +6 -0
  21. package/dist/es/src/Button/src/Button.css +1 -0
  22. package/dist/es/src/Button/src/Button.vue.js +41 -0
  23. package/dist/es/src/Button/src/Button2.css +1 -0
  24. package/dist/es/src/CodeEditor/src/index.css +1 -1
  25. package/dist/es/src/CodeEditor/src/index.vue.js +54 -51
  26. package/dist/es/src/CodeEditor/src/index2.css +1 -1
  27. package/dist/es/src/ConfigProvider/index.js +1 -2
  28. package/dist/es/src/ConfigProvider/src/useGlobalConfig.js +9 -9
  29. package/dist/es/src/Form/index.js +6 -0
  30. package/dist/es/src/Form/src/Form.css +1 -0
  31. package/dist/es/src/Form/src/Form.vue.js +208 -0
  32. package/dist/es/src/Form/src/styles/form.css +1 -0
  33. package/dist/es/src/Grid/src/Grid.css +1 -1
  34. package/dist/es/src/Grid/src/Grid.vue.js +77 -83
  35. package/dist/es/src/Grid/src/components/ActionBar.css +1 -1
  36. package/dist/es/src/Grid/src/components/ActionBar.vue.js +43 -36
  37. package/dist/es/src/Grid/src/components/CellEditor.css +1 -1
  38. package/dist/es/src/Grid/src/components/CellEditor.vue.js +80 -69
  39. package/dist/es/src/Grid/src/components/CellEditor2.css +1 -1
  40. package/dist/es/src/Grid/src/components/ColumnFilter.css +1 -1
  41. package/dist/es/src/Grid/src/components/ColumnFilter.vue.js +45 -34
  42. package/dist/es/src/Grid/src/components/ColumnSettings.css +1 -1
  43. package/dist/es/src/Grid/src/components/ColumnSettings.vue.js +72 -49
  44. package/dist/es/src/Grid/src/components/DataTable.css +1 -1
  45. package/dist/es/src/Grid/src/components/DataTable.vue.js +251 -228
  46. package/dist/es/src/Grid/src/components/Pager.css +1 -1
  47. package/dist/es/src/Grid/src/components/Pager.vue.js +40 -31
  48. package/dist/es/src/Grid/src/components/QueryBar.css +1 -1
  49. package/dist/es/src/Grid/src/components/QueryBar.vue.js +119 -147
  50. package/dist/es/src/Grid/src/composables/useGridTable.js +45 -44
  51. package/dist/es/src/Grid/src/styles/table.css +1 -0
  52. package/dist/es/src/Overlay/index.js +61 -0
  53. package/dist/es/src/Overlay/src/Message.css +1 -0
  54. package/dist/es/src/Overlay/src/Message.vue.js +36 -0
  55. package/dist/es/src/Overlay/src/Message2.css +1 -0
  56. package/dist/es/src/Overlay/src/Modal.css +1 -0
  57. package/dist/es/src/Overlay/src/Modal.vue.js +67 -0
  58. package/dist/es/src/Overlay/src/Modal2.css +1 -0
  59. package/dist/es/src/Overlay/src/Notice.css +1 -0
  60. package/dist/es/src/Overlay/src/Notice.vue.js +37 -0
  61. package/dist/es/src/Overlay/src/Notice2.css +1 -0
  62. package/dist/es/src/ScaleScreen/src/index.vue.js +2 -2
  63. package/dist/es/src/VideoBackground/src/index.vue.js +8 -8
  64. package/dist/es/src/index.js +39 -25
  65. package/dist/es/src/styles/tokens.css +1 -1
  66. package/dist/lib/index.js +1 -1
  67. package/dist/lib/node_modules/@lezer/lr/dist/index.js +1 -1
  68. package/dist/lib/node_modules/@tanstack/form-core/dist/esm/FormApi.js +1 -1
  69. package/dist/lib/src/Button/index.js +1 -0
  70. package/dist/lib/src/Button/src/Button.css +1 -0
  71. package/dist/lib/src/Button/src/Button.vue.js +1 -0
  72. package/dist/lib/src/Button/src/Button2.css +1 -0
  73. package/dist/lib/src/CodeEditor/src/index.css +1 -1
  74. package/dist/lib/src/CodeEditor/src/index.vue.js +1 -1
  75. package/dist/lib/src/CodeEditor/src/index2.css +1 -1
  76. package/dist/lib/src/ConfigProvider/index.js +1 -1
  77. package/dist/lib/src/Form/index.js +1 -0
  78. package/dist/lib/src/Form/src/Form.css +1 -0
  79. package/dist/lib/src/Form/src/Form.vue.js +1 -0
  80. package/dist/lib/src/Form/src/styles/form.css +1 -0
  81. package/dist/lib/src/Grid/src/Grid.css +1 -1
  82. package/dist/lib/src/Grid/src/Grid.vue.js +1 -1
  83. package/dist/lib/src/Grid/src/components/ActionBar.css +1 -1
  84. package/dist/lib/src/Grid/src/components/ActionBar.vue.js +1 -1
  85. package/dist/lib/src/Grid/src/components/CellEditor.css +1 -1
  86. package/dist/lib/src/Grid/src/components/CellEditor.vue.js +1 -1
  87. package/dist/lib/src/Grid/src/components/CellEditor2.css +1 -1
  88. package/dist/lib/src/Grid/src/components/ColumnFilter.css +1 -1
  89. package/dist/lib/src/Grid/src/components/ColumnFilter.vue.js +1 -1
  90. package/dist/lib/src/Grid/src/components/ColumnSettings.css +1 -1
  91. package/dist/lib/src/Grid/src/components/ColumnSettings.vue.js +1 -1
  92. package/dist/lib/src/Grid/src/components/DataTable.css +1 -1
  93. package/dist/lib/src/Grid/src/components/DataTable.vue.js +1 -1
  94. package/dist/lib/src/Grid/src/components/Pager.css +1 -1
  95. package/dist/lib/src/Grid/src/components/Pager.vue.js +1 -1
  96. package/dist/lib/src/Grid/src/components/QueryBar.css +1 -1
  97. package/dist/lib/src/Grid/src/components/QueryBar.vue.js +1 -1
  98. package/dist/lib/src/Grid/src/composables/useGridTable.js +1 -1
  99. package/dist/lib/src/Grid/src/styles/table.css +1 -0
  100. package/dist/lib/src/Overlay/index.js +1 -0
  101. package/dist/lib/src/Overlay/src/Message.css +1 -0
  102. package/dist/lib/src/Overlay/src/Message.vue.js +1 -0
  103. package/dist/lib/src/Overlay/src/Message2.css +1 -0
  104. package/dist/lib/src/Overlay/src/Modal.css +1 -0
  105. package/dist/lib/src/Overlay/src/Modal.vue.js +1 -0
  106. package/dist/lib/src/Overlay/src/Modal2.css +1 -0
  107. package/dist/lib/src/Overlay/src/Notice.css +1 -0
  108. package/dist/lib/src/Overlay/src/Notice.vue.js +1 -0
  109. package/dist/lib/src/Overlay/src/Notice2.css +1 -0
  110. package/dist/lib/src/index.js +1 -1
  111. package/dist/lib/src/styles/tokens.css +1 -1
  112. package/package.json +9 -9
  113. package/dist/es/src/Grid/src/styles/antd.css +0 -1
  114. package/dist/es/src/Grid/src/utils/exportCsv.js +0 -15
  115. package/dist/lib/src/Grid/src/styles/antd.css +0 -1
  116. package/dist/lib/src/Grid/src/utils/exportCsv.js +0 -3
@@ -1,39 +1,37 @@
1
- import { computed as m, ref as A, reactive as xe, onMounted as Ve, onBeforeUnmount as Ee, watch as Fe, createElementBlock as i, openBlock as s, createElementVNode as c, Fragment as h, renderList as b, createCommentVNode as u, normalizeStyle as p, withModifiers as k, createBlock as w, normalizeClass as Ce, unref as d, toDisplayString as M, renderSlot as Oe, createVNode as _e } from "vue";
1
+ import { computed as m, ref as A, reactive as Se, onMounted as Te, onBeforeUnmount as Oe, watch as Pe, openBlock as i, createElementBlock as s, normalizeStyle as p, createElementVNode as c, Fragment as x, renderList as b, createCommentVNode as u, withModifiers as k, normalizeClass as _e, unref as a, createBlock as h, toDisplayString as M, withCtx as H, renderSlot as Ae, createVNode as we, createTextVNode as He } from "vue";
2
2
  import { FlexRender as V } from "../../../../node_modules/@tanstack/vue-table/build/lib/index.js";
3
- import Se from "./ColumnFilter.vue.js";
4
- import De from "./CellEditor.vue.js";
5
- import { useLocale as Pe } from "../../../hooks/useLocale.js";
3
+ import De from "./ColumnFilter.vue.js";
4
+ import $e from "./CellEditor.vue.js";
5
+ import { useLocale as Be } from "../../../hooks/useLocale.js";
6
+ import { GscButton as B } from "../../../Button/index.js";
6
7
  import './DataTable.css';/* empty css */
7
- import Te from "../../../../_virtual/_plugin-vue_export-helper.js";
8
- const Ae = { class: "w-full" }, He = {
9
- key: 0,
10
- class: "overflow-auto"
11
- }, Be = { class: "gsc-table" }, Le = { class: "gsc-thead sticky top-0 z-10" }, Ue = ["checked", ".indeterminate"], Ge = ["onDrop"], Ne = { class: "flex items-center gap-2 min-w-0" }, We = ["onClick"], Ke = ["title", "onDragstart"], je = { class: "truncate" }, qe = {
8
+ import Le from "../../../../_virtual/_plugin-vue_export-helper.js";
9
+ const Ue = { class: "w-full" }, Ge = { class: "gsc-table" }, Ne = { class: "gsc-thead sticky top-0 z-10" }, We = ["checked", ".indeterminate"], Ke = ["onDrop"], je = { class: "flex items-center gap-2 min-w-0" }, qe = ["onClick"], Je = ["title", "onDragstart"], Qe = { class: "truncate" }, Xe = {
12
10
  key: 0,
13
11
  class: "text-[rgba(0,0,0,0.45)] text-xs"
14
- }, Je = ["title", "aria-label", "onClick"], Qe = ["onMousedown"], Xe = ["checked", "onChange"], Ye = ["onDblclick"], Ze = {
12
+ }, Ye = ["onMousedown"], Ze = ["checked", "onChange"], et = ["onDblclick"], tt = {
15
13
  key: 1,
16
14
  class: "flex items-start gap-2"
17
- }, et = { class: "min-w-0 flex-1" }, tt = {
15
+ }, nt = { class: "min-w-0 flex-1" }, ot = {
18
16
  key: 1,
19
17
  class: "break-words"
20
- }, nt = ["onClick"], ot = { key: 0 }, lt = ["colspan"], st = {
18
+ }, lt = { key: 0 }, it = ["colspan"], st = {
21
19
  key: 1,
22
20
  class: "w-full"
23
- }, it = { class: "gsc-table" }, ct = { class: "gsc-thead sticky top-0 z-10" }, rt = ["checked", ".indeterminate"], ut = ["onDrop"], at = { class: "flex items-center gap-2 min-w-0" }, dt = ["onClick"], gt = ["title", "onDragstart"], mt = { class: "truncate" }, pt = {
21
+ }, ct = { class: "gsc-table" }, rt = { class: "gsc-thead sticky top-0 z-10" }, ut = ["checked", ".indeterminate"], at = ["onDrop"], dt = { class: "flex items-center gap-2 min-w-0" }, gt = ["onClick"], mt = ["title", "onDragstart"], pt = { class: "truncate" }, ft = {
24
22
  key: 0,
25
23
  class: "text-[rgba(0,0,0,0.45)] text-xs"
26
- }, ft = ["title", "aria-label", "onClick"], vt = ["onMousedown"], yt = { class: "gsc-table" }, ht = ["checked", "onChange"], bt = ["onDblclick"], kt = {
24
+ }, vt = ["onMousedown"], yt = { class: "gsc-table" }, ht = ["checked", "onChange"], xt = ["onDblclick"], bt = {
27
25
  key: 1,
28
26
  class: "break-words"
29
- }, xt = { key: 0 }, Ct = ["colspan"], R = 44, _t = 6, St = {
27
+ }, kt = { key: 0 }, Ct = ["colspan"], R = 44, St = 6, _t = {
30
28
  __name: "DataTable",
31
29
  props: {
32
30
  table: { type: Object, required: !0 },
33
31
  mode: { type: String, default: "server" },
34
32
  loading: { type: Boolean, default: !1 },
35
33
  virtual: { type: Boolean, default: !1 },
36
- height: { type: Number, default: 400 },
34
+ height: { type: [Number, String], default: 400 },
37
35
  rowHeight: { type: Number, default: 40 },
38
36
  enableRowSelection: { type: Boolean, default: !1 }
39
37
  },
@@ -42,34 +40,34 @@ const Ae = { class: "w-full" }, He = {
42
40
  "cell-change",
43
41
  "server-filter-change"
44
42
  ],
45
- setup(f, { emit: we }) {
46
- const g = f, I = we, { t: v } = Pe(), a = m(() => g.table), H = m(() => {
43
+ setup(f, { emit: Re }) {
44
+ const d = f, I = Re, { t: v } = Be(), g = m(() => d.table), L = m(() => {
47
45
  try {
48
- return a.value.getHeaderGroups?.() || [];
46
+ return g.value.getHeaderGroups?.() || [];
49
47
  } catch {
50
48
  return [];
51
49
  }
52
50
  }), z = m(() => {
53
51
  try {
54
- return a.value.getRowModel?.().rows || [];
52
+ return g.value.getRowModel?.().rows || [];
55
53
  } catch {
56
54
  return [];
57
55
  }
58
- }), B = m(() => (a.value.getVisibleLeafColumns?.() || []).length + (g.enableRowSelection ? 1 : 0));
59
- function L(t) {
56
+ }), U = m(() => (g.value.getVisibleLeafColumns?.() || []).length + (d.enableRowSelection ? 1 : 0));
57
+ function G(t) {
60
58
  const n = t.getIsSorted?.();
61
59
  return n === "asc" ? "↑" : n === "desc" ? "↓" : "";
62
60
  }
63
- function U(t, n) {
61
+ function N(t, n) {
64
62
  const o = n.column;
65
63
  if (!o.getCanSort?.())
66
64
  return;
67
65
  const e = !!t?.shiftKey;
68
66
  o.toggleSorting?.(void 0, e);
69
67
  }
70
- const x = A(null);
71
- function G(t, n) {
72
- x.value = n?.id ?? null;
68
+ const C = A(null);
69
+ function W(t, n) {
70
+ C.value = n?.id ?? null;
73
71
  try {
74
72
  t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", String(n?.id ?? ""));
75
73
  } catch {
@@ -86,264 +84,274 @@ const Ae = { class: "w-full" }, He = {
86
84
  const D = t.slice();
87
85
  return D.splice(e, 1), D.splice(l, 0, n), D;
88
86
  }
89
- function N(t, n) {
87
+ function K(t, n) {
90
88
  const o = n?.id;
91
- let e = x.value;
89
+ let e = C.value;
92
90
  try {
93
91
  const r = t.dataTransfer.getData("text/plain");
94
92
  r && (e = r);
95
93
  } catch {
96
94
  }
97
95
  if (!e || !o || e === o) {
98
- x.value = null;
96
+ C.value = null;
99
97
  return;
100
98
  }
101
- const l = (a.value.getAllLeafColumns?.() || []).filter(Boolean), D = l.find((r) => r.id === e), pe = l.find((r) => r.id === o);
102
- if (!D || !pe) {
103
- x.value = null;
99
+ const l = (g.value.getAllLeafColumns?.() || []).filter(Boolean), D = l.find((r) => r.id === e), ve = l.find((r) => r.id === o);
100
+ if (!D || !ve) {
101
+ C.value = null;
104
102
  return;
105
103
  }
106
- const T = $(D), Me = $(pe);
107
- if (T !== Me) {
108
- x.value = null;
104
+ const P = $(D), Fe = $(ve);
105
+ if (P !== Fe) {
106
+ C.value = null;
109
107
  return;
110
108
  }
111
- const fe = l.filter((r) => $(r) === "left").map((r) => r.id), ve = l.filter((r) => $(r) === "center").map((r) => r.id), ye = l.filter((r) => $(r) === "right").map((r) => r.id);
112
- let he = fe, be = ve, ke = ye;
113
- T === "left" ? he = E(fe, e, o) : T === "right" ? ke = E(ye, e, o) : be = E(ve, e, o), a.value.setColumnOrder?.([...he, ...be, ...ke]), x.value = null;
109
+ const ye = l.filter((r) => $(r) === "left").map((r) => r.id), he = l.filter((r) => $(r) === "center").map((r) => r.id), xe = l.filter((r) => $(r) === "right").map((r) => r.id);
110
+ let be = ye, ke = he, Ce = xe;
111
+ P === "left" ? be = E(ye, e, o) : P === "right" ? Ce = E(xe, e, o) : ke = E(he, e, o), g.value.setColumnOrder?.([...be, ...ke, ...Ce]), C.value = null;
114
112
  }
115
- function W(t) {
113
+ function j(t) {
116
114
  const n = t.getIsPinned?.();
117
- return n === "left" ? { position: "sticky", left: `${(t.getStart?.("left") ?? 0) + (g.enableRowSelection ? R : 0)}px`, zIndex: 2 } : n === "right" ? { position: "sticky", right: `${t.getAfter?.("right") ?? 0}px`, zIndex: 2 } : {};
115
+ return n === "left" ? { position: "sticky", left: `${(t.getStart?.("left") ?? 0) + (d.enableRowSelection ? R : 0)}px`, zIndex: 2 } : n === "right" ? { position: "sticky", right: `${t.getAfter?.("right") ?? 0}px`, zIndex: 2 } : {};
118
116
  }
119
- const K = m(() => g.enableRowSelection ? {
117
+ const q = m(() => d.enableRowSelection ? {
120
118
  width: `${R}px`,
121
119
  minWidth: `${R}px`,
122
120
  position: "sticky",
123
121
  left: "0px",
124
122
  zIndex: 4
125
- } : {}), j = m(() => g.enableRowSelection ? {
123
+ } : {}), J = m(() => d.enableRowSelection ? {
126
124
  width: `${R}px`,
127
125
  minWidth: `${R}px`,
128
126
  position: "sticky",
129
127
  left: "0px",
130
128
  zIndex: 3
131
- } : {});
132
- function q(t) {
129
+ } : {}), Ie = m(() => {
130
+ if (d.virtual)
131
+ return {};
132
+ const t = d.height;
133
+ return t == null || t === "" ? {} : typeof t == "number" ? { height: `${t}px`, overflow: "auto" } : t === "auto" || t === "100%" ? { height: "100%", overflow: "auto" } : { height: String(t), overflow: "auto" };
134
+ });
135
+ function Q(t) {
133
136
  const n = t.column, o = t.getSize?.();
134
137
  return {
135
138
  width: o ? `${o}px` : void 0,
136
139
  minWidth: n.columnDef?.minSize ? `${n.columnDef.minSize}px` : void 0,
137
140
  position: "relative",
138
- ...W(n)
141
+ ...j(n)
139
142
  };
140
143
  }
141
- function J(t) {
144
+ function X(t) {
142
145
  const n = t.column, o = n.getSize?.();
143
146
  return {
144
147
  width: o ? `${o}px` : void 0,
145
148
  minWidth: n.columnDef?.minSize ? `${n.columnDef.minSize}px` : void 0,
146
- ...W(n)
149
+ ...j(n)
147
150
  };
148
151
  }
149
- const y = A(null), C = xe({});
150
- function Q(t) {
152
+ const y = A(null), S = Se({});
153
+ function Y(t) {
151
154
  const n = t?.columnDef?.meta?.col;
152
155
  return !!(n?.filterable || n?.filterType || n?.filterOptions);
153
156
  }
154
- function X(t) {
157
+ function Z(t) {
155
158
  return t?.columnDef?.meta?.col?.filterType || "text";
156
159
  }
157
- function Y(t) {
160
+ function ee(t) {
158
161
  return t?.columnDef?.meta?.col?.filterOptions || [];
159
162
  }
160
- function Z(t) {
163
+ function te(t) {
161
164
  y.value = y.value === t ? null : t;
162
165
  }
163
- function ee(t, n) {
164
- C[t] = n;
166
+ function ne(t, n) {
167
+ S[t] = n;
165
168
  }
166
- function te(t) {
167
- if (g.mode === "server") {
168
- I("server-filter-change", { key: t, value: C[t] }), y.value = null;
169
+ function oe(t) {
170
+ if (d.mode === "server") {
171
+ I("server-filter-change", { key: t, value: S[t] }), y.value = null;
169
172
  return;
170
173
  }
171
- a.value.getColumn?.(t)?.setFilterValue?.(C[t]), y.value = null;
174
+ g.value.getColumn?.(t)?.setFilterValue?.(S[t]), y.value = null;
172
175
  }
173
- function ne(t) {
174
- if (C[t] = "", g.mode === "server") {
176
+ function le(t) {
177
+ if (S[t] = "", d.mode === "server") {
175
178
  I("server-filter-change", { key: t, value: "" }), y.value = null;
176
179
  return;
177
180
  }
178
- a.value.getColumn?.(t)?.setFilterValue?.(""), y.value = null;
181
+ g.value.getColumn?.(t)?.setFilterValue?.(""), y.value = null;
179
182
  }
180
- function oe() {
183
+ function ie() {
181
184
  y.value = null;
182
185
  }
183
- Ve(() => {
184
- document.addEventListener("click", oe);
185
- }), Ee(() => {
186
- document.removeEventListener("click", oe);
187
- }), Fe(
188
- () => a.value.getState?.().rowSelection,
186
+ Te(() => {
187
+ document.addEventListener("click", ie);
188
+ }), Oe(() => {
189
+ document.removeEventListener("click", ie);
190
+ }), Pe(
191
+ () => g.value.getState?.().rowSelection,
189
192
  () => {
190
- if (g.enableRowSelection)
193
+ if (d.enableRowSelection)
191
194
  try {
192
- const t = a.value.getSelectedRowModel?.().rows || [];
195
+ const t = g.value.getSelectedRowModel?.().rows || [];
193
196
  I("selection-change", t.map((n) => n.original));
194
197
  } catch {
195
198
  }
196
199
  },
197
200
  { deep: !0 }
198
201
  );
199
- const _ = xe({});
200
- function S(t, n) {
202
+ const _ = Se({});
203
+ function w(t, n) {
201
204
  return `${t.id}::${n.id}`;
202
205
  }
203
- function le(t) {
206
+ function se(t) {
204
207
  return !!t?.columnDef?.meta?.col?.editor;
205
208
  }
206
- function se(t) {
209
+ function ce(t) {
207
210
  const n = t?.columnDef?.meta?.col;
208
211
  return !n?.editor || n.editor === "input" ? "text" : n.editor;
209
212
  }
210
- function ie(t) {
213
+ function re(t) {
211
214
  return t?.columnDef?.meta?.col?.options || [];
212
215
  }
213
216
  function F(t, n) {
214
- if (!le(n))
217
+ if (!se(n))
215
218
  return;
216
- const o = S(t, n);
219
+ const o = w(t, n);
217
220
  _[o] = t.original?.[n.id];
218
221
  }
219
- function O(t, n) {
220
- const o = S(t, n);
222
+ function T(t, n) {
223
+ const o = w(t, n);
221
224
  return Object.prototype.hasOwnProperty.call(_, o);
222
225
  }
223
- function ce(t, n) {
224
- const o = S(t, n);
226
+ function ue(t, n) {
227
+ const o = w(t, n);
225
228
  return _[o];
226
229
  }
227
- function re(t, n, o) {
228
- const e = S(t, n);
230
+ function ae(t, n, o) {
231
+ const e = w(t, n);
229
232
  _[e] = o;
230
233
  }
231
- function ue(t, n) {
232
- const o = S(t, n);
234
+ function de(t, n) {
235
+ const o = w(t, n);
233
236
  delete _[o];
234
237
  }
235
- function ae(t, n, o) {
236
- const e = S(t, n);
238
+ function ge(t, n, o) {
239
+ const e = w(t, n);
237
240
  try {
238
241
  t.original[n.id] = o;
239
242
  } catch {
240
243
  }
241
244
  I("cell-change", { row: t.original, rowId: t.id, column: n.id, value: o }), delete _[e];
242
245
  }
243
- const de = A(0);
244
- function $e(t) {
245
- de.value = t.target.scrollTop || 0;
246
+ const me = A(0);
247
+ function ze(t) {
248
+ me.value = t.target.scrollTop || 0;
246
249
  }
247
- const Re = m(() => Math.ceil(g.height / g.rowHeight) + _t), P = m(() => Math.max(0, Math.floor((de.value || 0) / g.rowHeight))), ge = m(() => P.value + Re.value), me = m(() => z.value.slice(P.value, ge.value)), Ie = m(() => P.value * g.rowHeight), ze = m(() => Math.max(0, (z.value.length - ge.value) * g.rowHeight));
248
- return (t, n) => (s(), i("div", Ae, [
249
- f.virtual ? (s(), i("div", st, [
250
- c("table", it, [
251
- c("thead", ct, [
252
- (s(!0), i(h, null, b(H.value, (o) => (s(), i("tr", {
250
+ const Me = m(() => Math.ceil(d.height / d.rowHeight) + St), O = m(() => Math.max(0, Math.floor((me.value || 0) / d.rowHeight))), pe = m(() => O.value + Me.value), fe = m(() => z.value.slice(O.value, pe.value)), Ve = m(() => O.value * d.rowHeight), Ee = m(() => Math.max(0, (z.value.length - pe.value) * d.rowHeight));
251
+ return (t, n) => (i(), s("div", Ue, [
252
+ f.virtual ? (i(), s("div", st, [
253
+ c("table", ct, [
254
+ c("thead", rt, [
255
+ (i(!0), s(x, null, b(L.value, (o) => (i(), s("tr", {
253
256
  key: o.id
254
257
  }, [
255
- f.enableRowSelection ? (s(), i("th", {
258
+ f.enableRowSelection ? (i(), s("th", {
256
259
  key: 0,
257
260
  class: "gsc-th text-center",
258
- style: p(K.value)
261
+ style: p(q.value)
259
262
  }, [
260
263
  c("input", {
261
264
  type: "checkbox",
262
265
  class: "gsc-checkbox",
263
- checked: a.value.getIsAllPageRowsSelected?.(),
264
- ".indeterminate": a.value.getIsSomePageRowsSelected?.(),
265
- onChange: n[2] || (n[2] = (e) => a.value.toggleAllPageRowsSelected?.(!!e.target.checked))
266
- }, null, 40, rt)
266
+ checked: g.value.getIsAllPageRowsSelected?.(),
267
+ ".indeterminate": g.value.getIsSomePageRowsSelected?.(),
268
+ onChange: n[2] || (n[2] = (e) => g.value.toggleAllPageRowsSelected?.(!!e.target.checked))
269
+ }, null, 40, ut)
267
270
  ], 4)) : u("", !0),
268
- (s(!0), i(h, null, b(o.headers, (e) => (s(), i("th", {
271
+ (i(!0), s(x, null, b(o.headers, (e) => (i(), s("th", {
269
272
  key: e.id,
270
273
  class: "gsc-th",
271
- style: p(q(e)),
274
+ style: p(Q(e)),
272
275
  onDragover: n[3] || (n[3] = k(() => {
273
276
  }, ["prevent"])),
274
- onDrop: (l) => N(l, e.column)
277
+ onDrop: (l) => K(l, e.column)
275
278
  }, [
276
- c("div", at, [
279
+ c("div", dt, [
277
280
  c("div", {
278
- class: Ce(["flex items-center gap-1 min-w-0", e.column.getCanSort?.() ? "cursor-pointer" : ""]),
279
- onClick: (l) => U(l, e)
281
+ class: _e(["flex items-center gap-1 min-w-0", e.column.getCanSort?.() ? "cursor-pointer" : ""]),
282
+ onClick: (l) => N(l, e)
280
283
  }, [
281
284
  c("span", {
282
285
  class: "text-[rgba(0,0,0,0.25)] hover:text-[rgba(0,0,0,0.45)] cursor-grab select-none",
283
- title: d(v)("gsc.grid.table.dragReorder"),
286
+ title: a(v)("gsc.grid.table.dragReorder"),
284
287
  draggable: "true",
285
- onDragstart: (l) => G(l, e.column)
286
- }, " ⋮⋮ ", 40, gt),
287
- c("span", mt, [
288
- e.isPlaceholder ? u("", !0) : (s(), w(d(V), {
288
+ onDragstart: (l) => W(l, e.column)
289
+ }, " ⋮⋮ ", 40, mt),
290
+ c("span", pt, [
291
+ e.isPlaceholder ? u("", !0) : (i(), h(a(V), {
289
292
  key: 0,
290
293
  render: e.column.columnDef.header,
291
294
  props: e.getContext()
292
295
  }, null, 8, ["render", "props"]))
293
296
  ]),
294
- e.column.getCanSort?.() ? (s(), i("span", pt, M(L(e.column)), 1)) : u("", !0)
295
- ], 10, dt),
296
- Q(e.column) ? (s(), i("button", {
297
+ e.column.getCanSort?.() ? (i(), s("span", ft, M(G(e.column)), 1)) : u("", !0)
298
+ ], 10, gt),
299
+ Y(e.column) ? (i(), h(a(B), {
297
300
  key: 0,
298
301
  type: "button",
299
- class: "ml-auto gsc-btn gsc-btn-text gsc-btn-icon-sm",
300
- title: d(v)("gsc.grid.table.filter"),
301
- "aria-label": d(v)("gsc.grid.table.filter"),
302
- onClick: k((l) => Z(e.column.id), ["stop"])
303
- }, [...n[5] || (n[5] = [
304
- c("i", {
305
- class: "i-material-symbols:filter-alt-outline",
306
- "aria-hidden": "true"
307
- }, null, -1)
308
- ])], 8, ft)) : u("", !0)
302
+ variant: "text",
303
+ size: "icon",
304
+ class: "ml-auto gsc-btn-icon-sm",
305
+ title: a(v)("gsc.grid.table.filter"),
306
+ "aria-label": a(v)("gsc.grid.table.filter"),
307
+ onClick: k((l) => te(e.column.id), ["stop"])
308
+ }, {
309
+ default: H(() => [...n[6] || (n[6] = [
310
+ c("i", {
311
+ class: "i-material-symbols:filter-alt-outline",
312
+ "aria-hidden": "true"
313
+ }, null, -1)
314
+ ])]),
315
+ _: 1
316
+ }, 8, ["title", "aria-label", "onClick"])) : u("", !0)
309
317
  ]),
310
- y.value === e.column.id ? (s(), w(Se, {
318
+ y.value === e.column.id ? (i(), h(De, {
311
319
  key: 0,
312
- value: C[e.column.id],
313
- type: X(e.column),
314
- options: Y(e.column),
315
- "onUpdate:value": (l) => ee(e.column.id, l),
316
- onApply: (l) => te(e.column.id),
317
- onClear: (l) => ne(e.column.id)
320
+ value: S[e.column.id],
321
+ type: Z(e.column),
322
+ options: ee(e.column),
323
+ "onUpdate:value": (l) => ne(e.column.id, l),
324
+ onApply: (l) => oe(e.column.id),
325
+ onClear: (l) => le(e.column.id)
318
326
  }, null, 8, ["value", "type", "options", "onUpdate:value", "onApply", "onClear"])) : u("", !0),
319
- e.column.getCanResize?.() ? (s(), i("div", {
327
+ e.column.getCanResize?.() ? (i(), s("div", {
320
328
  key: 1,
321
329
  class: "absolute right-0 top-0 h-full w-2 cursor-col-resize",
322
330
  onMousedown: k((l) => e.getResizeHandler?.()(l), ["prevent"])
323
331
  }, null, 40, vt)) : u("", !0)
324
- ], 44, ut))), 128))
332
+ ], 44, at))), 128))
325
333
  ]))), 128))
326
334
  ])
327
335
  ]),
328
336
  c("div", {
329
337
  class: "overflow-auto",
330
338
  style: p({ height: `${f.height}px` }),
331
- onScroll: $e
339
+ onScroll: ze
332
340
  }, [
333
341
  c("div", {
334
- style: p({ height: `${Ie.value}px` })
342
+ style: p({ height: `${Ve.value}px` })
335
343
  }, null, 4),
336
344
  c("table", yt, [
337
345
  c("tbody", null, [
338
- (s(!0), i(h, null, b(me.value, (o) => (s(), i("tr", {
346
+ (i(!0), s(x, null, b(fe.value, (o) => (i(), s("tr", {
339
347
  key: o.id,
340
348
  class: "gsc-tr",
341
349
  style: p({ height: `${f.rowHeight}px` })
342
350
  }, [
343
- f.enableRowSelection ? (s(), i("td", {
351
+ f.enableRowSelection ? (i(), s("td", {
344
352
  key: 0,
345
353
  class: "gsc-td text-center",
346
- style: p(j.value)
354
+ style: p(J.value)
347
355
  }, [
348
356
  c("input", {
349
357
  type: "checkbox",
@@ -352,182 +360,197 @@ const Ae = { class: "w-full" }, He = {
352
360
  onChange: (e) => o.toggleSelected?.(!!e.target.checked)
353
361
  }, null, 40, ht)
354
362
  ], 4)) : u("", !0),
355
- (s(!0), i(h, null, b(o.getVisibleCells(), (e) => (s(), i("td", {
363
+ (i(!0), s(x, null, b(o.getVisibleCells(), (e) => (i(), s("td", {
356
364
  key: e.id,
357
365
  class: "gsc-td align-top",
358
- style: p(J(e)),
366
+ style: p(X(e)),
359
367
  onDblclick: (l) => F(o, e.column)
360
368
  }, [
361
- O(o, e.column) ? (s(), w(De, {
369
+ T(o, e.column) ? (i(), h($e, {
362
370
  key: 0,
363
- "model-value": ce(o, e.column),
364
- type: se(e.column),
365
- options: ie(e.column),
366
- onUpdateModelValue: (l) => re(o, e.column, l),
367
- onCommit: (l) => ae(o, e.column, l),
368
- onCancel: (l) => ue(o, e.column)
369
- }, null, 8, ["model-value", "type", "options", "onUpdateModelValue", "onCommit", "onCancel"])) : (s(), i("span", kt, [
370
- _e(d(V), {
371
+ "model-value": ue(o, e.column),
372
+ type: ce(e.column),
373
+ options: re(e.column),
374
+ onUpdateModelValue: (l) => ae(o, e.column, l),
375
+ onCommit: (l) => ge(o, e.column, l),
376
+ onCancel: (l) => de(o, e.column)
377
+ }, null, 8, ["model-value", "type", "options", "onUpdateModelValue", "onCommit", "onCancel"])) : (i(), s("span", bt, [
378
+ we(a(V), {
371
379
  render: e.column.columnDef.cell,
372
380
  props: e.getContext()
373
381
  }, null, 8, ["render", "props"])
374
382
  ]))
375
- ], 44, bt))), 128))
383
+ ], 44, xt))), 128))
376
384
  ], 4))), 128)),
377
- me.value.length === 0 ? (s(), i("tr", xt, [
385
+ fe.value.length === 0 ? (i(), s("tr", kt, [
378
386
  c("td", {
379
- colspan: B.value,
387
+ colspan: U.value,
380
388
  class: "px-3 py-10 text-center text-sm text-[rgba(0,0,0,0.45)]"
381
- }, M(f.loading ? d(v)("gsc.grid.table.loading") : d(v)("gsc.grid.table.empty")), 9, Ct)
389
+ }, M(f.loading ? a(v)("gsc.grid.table.loading") : a(v)("gsc.grid.table.empty")), 9, Ct)
382
390
  ])) : u("", !0)
383
391
  ])
384
392
  ]),
385
393
  c("div", {
386
- style: p({ height: `${ze.value}px` })
394
+ style: p({ height: `${Ee.value}px` })
387
395
  }, null, 4)
388
396
  ], 36)
389
- ])) : (s(), i("div", He, [
390
- c("table", Be, [
391
- c("thead", Le, [
392
- (s(!0), i(h, null, b(H.value, (o) => (s(), i("tr", {
397
+ ])) : (i(), s("div", {
398
+ key: 0,
399
+ class: "overflow-auto",
400
+ style: p(Ie.value)
401
+ }, [
402
+ c("table", Ge, [
403
+ c("thead", Ne, [
404
+ (i(!0), s(x, null, b(L.value, (o) => (i(), s("tr", {
393
405
  key: o.id
394
406
  }, [
395
- f.enableRowSelection ? (s(), i("th", {
407
+ f.enableRowSelection ? (i(), s("th", {
396
408
  key: 0,
397
409
  class: "gsc-th text-center",
398
- style: p(K.value)
410
+ style: p(q.value)
399
411
  }, [
400
412
  c("input", {
401
413
  type: "checkbox",
402
414
  class: "gsc-checkbox",
403
- checked: a.value.getIsAllPageRowsSelected?.(),
404
- ".indeterminate": a.value.getIsSomePageRowsSelected?.(),
405
- onChange: n[0] || (n[0] = (e) => a.value.toggleAllPageRowsSelected?.(!!e.target.checked))
406
- }, null, 40, Ue)
415
+ checked: g.value.getIsAllPageRowsSelected?.(),
416
+ ".indeterminate": g.value.getIsSomePageRowsSelected?.(),
417
+ onChange: n[0] || (n[0] = (e) => g.value.toggleAllPageRowsSelected?.(!!e.target.checked))
418
+ }, null, 40, We)
407
419
  ], 4)) : u("", !0),
408
- (s(!0), i(h, null, b(o.headers, (e) => (s(), i("th", {
420
+ (i(!0), s(x, null, b(o.headers, (e) => (i(), s("th", {
409
421
  key: e.id,
410
422
  class: "gsc-th",
411
- style: p(q(e)),
423
+ style: p(Q(e)),
412
424
  onDragover: n[1] || (n[1] = k(() => {
413
425
  }, ["prevent"])),
414
- onDrop: (l) => N(l, e.column)
426
+ onDrop: (l) => K(l, e.column)
415
427
  }, [
416
- c("div", Ne, [
428
+ c("div", je, [
417
429
  c("div", {
418
- class: Ce(["flex items-center gap-1 min-w-0", e.column.getCanSort?.() ? "cursor-pointer" : ""]),
419
- onClick: (l) => U(l, e)
430
+ class: _e(["flex items-center gap-1 min-w-0", e.column.getCanSort?.() ? "cursor-pointer" : ""]),
431
+ onClick: (l) => N(l, e)
420
432
  }, [
421
433
  c("span", {
422
434
  class: "text-[rgba(0,0,0,0.25)] hover:text-[rgba(0,0,0,0.45)] cursor-grab select-none",
423
- title: d(v)("gsc.grid.table.dragReorder"),
435
+ title: a(v)("gsc.grid.table.dragReorder"),
424
436
  draggable: "true",
425
- onDragstart: (l) => G(l, e.column)
426
- }, " ⋮⋮ ", 40, Ke),
427
- c("span", je, [
428
- e.isPlaceholder ? u("", !0) : (s(), w(d(V), {
437
+ onDragstart: (l) => W(l, e.column)
438
+ }, " ⋮⋮ ", 40, Je),
439
+ c("span", Qe, [
440
+ e.isPlaceholder ? u("", !0) : (i(), h(a(V), {
429
441
  key: 0,
430
442
  render: e.column.columnDef.header,
431
443
  props: e.getContext()
432
444
  }, null, 8, ["render", "props"]))
433
445
  ]),
434
- e.column.getCanSort?.() ? (s(), i("span", qe, M(L(e.column)), 1)) : u("", !0)
435
- ], 10, We),
436
- Q(e.column) ? (s(), i("button", {
446
+ e.column.getCanSort?.() ? (i(), s("span", Xe, M(G(e.column)), 1)) : u("", !0)
447
+ ], 10, qe),
448
+ Y(e.column) ? (i(), h(a(B), {
437
449
  key: 0,
438
450
  type: "button",
439
- class: "ml-auto gsc-btn gsc-btn-text gsc-btn-icon-sm",
440
- title: d(v)("gsc.grid.table.filter"),
441
- "aria-label": d(v)("gsc.grid.table.filter"),
442
- onClick: k((l) => Z(e.column.id), ["stop"])
443
- }, [...n[4] || (n[4] = [
444
- c("i", {
445
- class: "i-material-symbols:filter-alt-outline",
446
- "aria-hidden": "true"
447
- }, null, -1)
448
- ])], 8, Je)) : u("", !0)
451
+ variant: "text",
452
+ size: "icon",
453
+ class: "ml-auto gsc-btn-icon-sm",
454
+ title: a(v)("gsc.grid.table.filter"),
455
+ "aria-label": a(v)("gsc.grid.table.filter"),
456
+ onClick: k((l) => te(e.column.id), ["stop"])
457
+ }, {
458
+ default: H(() => [...n[4] || (n[4] = [
459
+ c("i", {
460
+ class: "i-material-symbols:filter-alt-outline",
461
+ "aria-hidden": "true"
462
+ }, null, -1)
463
+ ])]),
464
+ _: 1
465
+ }, 8, ["title", "aria-label", "onClick"])) : u("", !0)
449
466
  ]),
450
- y.value === e.column.id ? (s(), w(Se, {
467
+ y.value === e.column.id ? (i(), h(De, {
451
468
  key: 0,
452
- value: C[e.column.id],
453
- type: X(e.column),
454
- options: Y(e.column),
455
- "onUpdate:value": (l) => ee(e.column.id, l),
456
- onApply: (l) => te(e.column.id),
457
- onClear: (l) => ne(e.column.id)
469
+ value: S[e.column.id],
470
+ type: Z(e.column),
471
+ options: ee(e.column),
472
+ "onUpdate:value": (l) => ne(e.column.id, l),
473
+ onApply: (l) => oe(e.column.id),
474
+ onClear: (l) => le(e.column.id)
458
475
  }, null, 8, ["value", "type", "options", "onUpdate:value", "onApply", "onClear"])) : u("", !0),
459
- e.column.getCanResize?.() ? (s(), i("div", {
476
+ e.column.getCanResize?.() ? (i(), s("div", {
460
477
  key: 1,
461
478
  class: "absolute right-0 top-0 h-full w-2 cursor-col-resize",
462
479
  onMousedown: k((l) => e.getResizeHandler?.()(l), ["prevent"])
463
- }, null, 40, Qe)) : u("", !0)
464
- ], 44, Ge))), 128))
480
+ }, null, 40, Ye)) : u("", !0)
481
+ ], 44, Ke))), 128))
465
482
  ]))), 128))
466
483
  ]),
467
484
  c("tbody", null, [
468
- (s(!0), i(h, null, b(z.value, (o) => (s(), i("tr", {
485
+ (i(!0), s(x, null, b(z.value, (o) => (i(), s("tr", {
469
486
  key: o.id,
470
487
  class: "gsc-tr"
471
488
  }, [
472
- f.enableRowSelection ? (s(), i("td", {
489
+ f.enableRowSelection ? (i(), s("td", {
473
490
  key: 0,
474
491
  class: "gsc-td text-center",
475
- style: p(j.value)
492
+ style: p(J.value)
476
493
  }, [
477
494
  c("input", {
478
495
  type: "checkbox",
479
496
  class: "gsc-checkbox",
480
497
  checked: o.getIsSelected?.(),
481
498
  onChange: (e) => o.toggleSelected?.(!!e.target.checked)
482
- }, null, 40, Xe)
499
+ }, null, 40, Ze)
483
500
  ], 4)) : u("", !0),
484
- (s(!0), i(h, null, b(o.getVisibleCells(), (e) => (s(), i("td", {
501
+ (i(!0), s(x, null, b(o.getVisibleCells(), (e) => (i(), s("td", {
485
502
  key: e.id,
486
503
  class: "gsc-td align-top",
487
- style: p(J(e)),
504
+ style: p(X(e)),
488
505
  onDblclick: (l) => F(o, e.column)
489
506
  }, [
490
- t.$slots[`cell-${e.column.id}`] ? Oe(t.$slots, `cell-${e.column.id}`, {
507
+ t.$slots[`cell-${e.column.id}`] ? Ae(t.$slots, `cell-${e.column.id}`, {
491
508
  key: 0,
492
509
  value: e.getValue(),
493
510
  row: o.original
494
- }, void 0, !0) : (s(), i("div", Ze, [
495
- c("div", et, [
496
- O(o, e.column) ? (s(), w(De, {
511
+ }, void 0, !0) : (i(), s("div", tt, [
512
+ c("div", nt, [
513
+ T(o, e.column) ? (i(), h($e, {
497
514
  key: 0,
498
- "model-value": ce(o, e.column),
499
- type: se(e.column),
500
- options: ie(e.column),
501
- onUpdateModelValue: (l) => re(o, e.column, l),
502
- onCommit: (l) => ae(o, e.column, l),
503
- onCancel: (l) => ue(o, e.column)
504
- }, null, 8, ["model-value", "type", "options", "onUpdateModelValue", "onCommit", "onCancel"])) : (s(), i("span", tt, [
505
- _e(d(V), {
515
+ "model-value": ue(o, e.column),
516
+ type: ce(e.column),
517
+ options: re(e.column),
518
+ onUpdateModelValue: (l) => ae(o, e.column, l),
519
+ onCommit: (l) => ge(o, e.column, l),
520
+ onCancel: (l) => de(o, e.column)
521
+ }, null, 8, ["model-value", "type", "options", "onUpdateModelValue", "onCommit", "onCancel"])) : (i(), s("span", ot, [
522
+ we(a(V), {
506
523
  render: e.column.columnDef.cell,
507
524
  props: e.getContext()
508
525
  }, null, 8, ["render", "props"])
509
526
  ]))
510
527
  ]),
511
- le(e.column) && !O(o, e.column) ? (s(), i("button", {
528
+ se(e.column) && !T(o, e.column) ? (i(), h(a(B), {
512
529
  key: 0,
513
- class: "shrink-0 mt-0.5 gsc-btn gsc-btn-default px-2 h-6 text-xs",
530
+ variant: "default",
531
+ class: "shrink-0 mt-0.5 px-2 h-6 text-xs",
514
532
  onClick: k((l) => F(o, e.column), ["stop"])
515
- }, " ✎ ", 8, nt)) : u("", !0)
533
+ }, {
534
+ default: H(() => [...n[5] || (n[5] = [
535
+ He(" ✎ ", -1)
536
+ ])]),
537
+ _: 1
538
+ }, 8, ["onClick"])) : u("", !0)
516
539
  ]))
517
- ], 44, Ye))), 128))
540
+ ], 44, et))), 128))
518
541
  ]))), 128)),
519
- z.value.length === 0 ? (s(), i("tr", ot, [
542
+ z.value.length === 0 ? (i(), s("tr", lt, [
520
543
  c("td", {
521
- colspan: B.value,
544
+ colspan: U.value,
522
545
  class: "px-3 py-10 text-center text-sm text-[rgba(0,0,0,0.45)]"
523
- }, M(f.loading ? d(v)("gsc.grid.table.loading") : d(v)("gsc.grid.table.empty")), 9, lt)
546
+ }, M(f.loading ? a(v)("gsc.grid.table.loading") : a(v)("gsc.grid.table.empty")), 9, it)
524
547
  ])) : u("", !0)
525
548
  ])
526
549
  ])
527
- ]))
550
+ ], 4))
528
551
  ]));
529
552
  }
530
- }, Vt = /* @__PURE__ */ Te(St, [["__scopeId", "data-v-94c3d799"]]);
553
+ }, Et = /* @__PURE__ */ Le(_t, [["__scopeId", "data-v-506c5c98"]]);
531
554
  export {
532
- Vt as default
555
+ Et as default
533
556
  };