@gsc-basic/components 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +59 -0
- package/dist/es/index.js +34 -30
- package/dist/es/node_modules/@codemirror/commands/dist/index.js +26 -20
- package/dist/es/node_modules/@codemirror/language/dist/index.js +77 -77
- package/dist/es/node_modules/@codemirror/search/dist/index.js +432 -465
- package/dist/es/node_modules/@codemirror/state/dist/index.js +272 -268
- package/dist/es/node_modules/@codemirror/view/dist/index.js +1732 -1647
- package/dist/es/node_modules/@lezer/common/dist/index.js +191 -190
- package/dist/es/node_modules/@lezer/lr/dist/index.js +3 -3
- package/dist/es/node_modules/@tanstack/devtools-event-client/dist/esm/plugin.js +178 -0
- package/dist/es/node_modules/@tanstack/form-core/dist/esm/EventClient.js +13 -0
- package/dist/es/node_modules/@tanstack/form-core/dist/esm/FieldApi.js +406 -0
- package/dist/es/node_modules/@tanstack/form-core/dist/esm/FormApi.js +768 -0
- package/dist/es/node_modules/@tanstack/form-core/dist/esm/ValidationLogic.js +55 -0
- package/dist/es/node_modules/@tanstack/form-core/dist/esm/metaHelper.js +109 -0
- package/dist/es/node_modules/@tanstack/form-core/dist/esm/standardSchemaValidator.js +45 -0
- package/dist/es/node_modules/@tanstack/form-core/dist/esm/utils.js +213 -0
- package/dist/es/node_modules/@tanstack/pacer-lite/dist/lite-throttler.js +29 -0
- package/dist/es/node_modules/@tanstack/store/dist/esm/derived.js +74 -0
- package/dist/es/node_modules/@tanstack/store/dist/esm/scheduler.js +79 -0
- package/dist/es/node_modules/@tanstack/store/dist/esm/store.js +21 -0
- package/dist/es/node_modules/@tanstack/store/dist/esm/types.js +6 -0
- package/dist/es/node_modules/@tanstack/table-core/build/lib/index.js +1885 -0
- package/dist/es/node_modules/@tanstack/vue-form/dist/esm/useField.js +38 -0
- package/dist/es/node_modules/@tanstack/vue-form/dist/esm/useForm.js +33 -0
- package/dist/es/node_modules/@tanstack/vue-store/dist/esm/index.js +48 -0
- package/dist/es/node_modules/@tanstack/vue-table/build/lib/index.js +159 -0
- package/dist/es/src/Grid/index.js +6 -0
- package/dist/es/src/Grid/src/Grid.css +1 -0
- package/dist/es/src/Grid/src/Grid.vue.js +186 -0
- package/dist/es/src/Grid/src/components/ActionBar.css +1 -0
- package/dist/es/src/Grid/src/components/ActionBar.vue.js +58 -0
- package/dist/es/src/Grid/src/components/CellEditor.css +1 -0
- package/dist/es/src/Grid/src/components/CellEditor.vue.js +121 -0
- package/dist/es/src/Grid/src/components/CellEditor2.css +1 -0
- package/dist/es/src/Grid/src/components/ColumnFilter.css +1 -0
- package/dist/es/src/Grid/src/components/ColumnFilter.vue.js +61 -0
- package/dist/es/src/Grid/src/components/ColumnSettings.css +1 -0
- package/dist/es/src/Grid/src/components/ColumnSettings.vue.js +86 -0
- package/dist/es/src/Grid/src/components/DataTable.css +1 -0
- package/dist/es/src/Grid/src/components/DataTable.vue.js +533 -0
- package/dist/es/src/Grid/src/components/Pager.css +1 -0
- package/dist/es/src/Grid/src/components/Pager.vue.js +55 -0
- package/dist/es/src/Grid/src/components/QueryBar.css +1 -0
- package/dist/es/src/Grid/src/components/QueryBar.vue.js +184 -0
- package/dist/es/src/Grid/src/composables/useCellEditor.js +20 -0
- package/dist/es/src/Grid/src/composables/useGridTable.js +212 -0
- package/dist/es/src/Grid/src/styles/antd.css +1 -0
- package/dist/es/src/Grid/src/utils/exportCsv.js +15 -0
- package/dist/es/src/index.js +23 -21
- package/dist/es/src/locale/lang/en-US.js +40 -0
- package/dist/es/src/locale/lang/ja-JP.js +42 -2
- package/dist/es/src/locale/lang/zh-CN.js +42 -2
- package/dist/es/src/styles/tokens.css +1 -1
- package/dist/lib/index.js +1 -1
- package/dist/lib/node_modules/@codemirror/commands/dist/index.js +1 -1
- package/dist/lib/node_modules/@codemirror/language/dist/index.js +1 -1
- package/dist/lib/node_modules/@codemirror/search/dist/index.js +2 -2
- package/dist/lib/node_modules/@codemirror/state/dist/index.js +4 -4
- package/dist/lib/node_modules/@codemirror/view/dist/index.js +5 -5
- package/dist/lib/node_modules/@lezer/common/dist/index.js +1 -1
- package/dist/lib/node_modules/@lezer/lr/dist/index.js +1 -1
- package/dist/lib/node_modules/@tanstack/devtools-event-client/dist/esm/plugin.js +1 -0
- package/dist/lib/node_modules/@tanstack/form-core/dist/esm/EventClient.js +1 -0
- package/dist/lib/node_modules/@tanstack/form-core/dist/esm/FieldApi.js +1 -0
- package/dist/lib/node_modules/@tanstack/form-core/dist/esm/FormApi.js +1 -0
- package/dist/lib/node_modules/@tanstack/form-core/dist/esm/ValidationLogic.js +1 -0
- package/dist/lib/node_modules/@tanstack/form-core/dist/esm/metaHelper.js +1 -0
- package/dist/lib/node_modules/@tanstack/form-core/dist/esm/standardSchemaValidator.js +1 -0
- package/dist/lib/node_modules/@tanstack/form-core/dist/esm/utils.js +1 -0
- package/dist/lib/node_modules/@tanstack/pacer-lite/dist/lite-throttler.js +1 -0
- package/dist/lib/node_modules/@tanstack/store/dist/esm/derived.js +1 -0
- package/dist/lib/node_modules/@tanstack/store/dist/esm/scheduler.js +1 -0
- package/dist/lib/node_modules/@tanstack/store/dist/esm/store.js +1 -0
- package/dist/lib/node_modules/@tanstack/store/dist/esm/types.js +1 -0
- package/dist/lib/node_modules/@tanstack/table-core/build/lib/index.js +4 -0
- package/dist/lib/node_modules/@tanstack/vue-form/dist/esm/useField.js +1 -0
- package/dist/lib/node_modules/@tanstack/vue-form/dist/esm/useForm.js +1 -0
- package/dist/lib/node_modules/@tanstack/vue-store/dist/esm/index.js +1 -0
- package/dist/lib/node_modules/@tanstack/vue-table/build/lib/index.js +1 -0
- package/dist/lib/src/Grid/index.js +1 -0
- package/dist/lib/src/Grid/src/Grid.css +1 -0
- package/dist/lib/src/Grid/src/Grid.vue.js +1 -0
- package/dist/lib/src/Grid/src/components/ActionBar.css +1 -0
- package/dist/lib/src/Grid/src/components/ActionBar.vue.js +1 -0
- package/dist/lib/src/Grid/src/components/CellEditor.css +1 -0
- package/dist/lib/src/Grid/src/components/CellEditor.vue.js +1 -0
- package/dist/lib/src/Grid/src/components/CellEditor2.css +1 -0
- package/dist/lib/src/Grid/src/components/ColumnFilter.css +1 -0
- package/dist/lib/src/Grid/src/components/ColumnFilter.vue.js +1 -0
- package/dist/lib/src/Grid/src/components/ColumnSettings.css +1 -0
- package/dist/lib/src/Grid/src/components/ColumnSettings.vue.js +1 -0
- package/dist/lib/src/Grid/src/components/DataTable.css +1 -0
- package/dist/lib/src/Grid/src/components/DataTable.vue.js +1 -0
- package/dist/lib/src/Grid/src/components/Pager.css +1 -0
- package/dist/lib/src/Grid/src/components/Pager.vue.js +1 -0
- package/dist/lib/src/Grid/src/components/QueryBar.css +1 -0
- package/dist/lib/src/Grid/src/components/QueryBar.vue.js +1 -0
- package/dist/lib/src/Grid/src/composables/useCellEditor.js +1 -0
- package/dist/lib/src/Grid/src/composables/useGridTable.js +1 -0
- package/dist/lib/src/Grid/src/styles/antd.css +1 -0
- package/dist/lib/src/Grid/src/utils/exportCsv.js +3 -0
- package/dist/lib/src/index.js +1 -1
- package/dist/lib/src/locale/lang/en-US.js +1 -1
- package/dist/lib/src/locale/lang/ja-JP.js +1 -1
- package/dist/lib/src/locale/lang/zh-CN.js +1 -1
- package/dist/lib/src/styles/tokens.css +1 -1
- package/package.json +6 -3
|
@@ -0,0 +1,533 @@
|
|
|
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";
|
|
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";
|
|
6
|
+
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 = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "text-[rgba(0,0,0,0.45)] text-xs"
|
|
14
|
+
}, Je = ["title", "aria-label", "onClick"], Qe = ["onMousedown"], Xe = ["checked", "onChange"], Ye = ["onDblclick"], Ze = {
|
|
15
|
+
key: 1,
|
|
16
|
+
class: "flex items-start gap-2"
|
|
17
|
+
}, et = { class: "min-w-0 flex-1" }, tt = {
|
|
18
|
+
key: 1,
|
|
19
|
+
class: "break-words"
|
|
20
|
+
}, nt = ["onClick"], ot = { key: 0 }, lt = ["colspan"], st = {
|
|
21
|
+
key: 1,
|
|
22
|
+
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 = {
|
|
24
|
+
key: 0,
|
|
25
|
+
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 = {
|
|
27
|
+
key: 1,
|
|
28
|
+
class: "break-words"
|
|
29
|
+
}, xt = { key: 0 }, Ct = ["colspan"], R = 44, _t = 6, St = {
|
|
30
|
+
__name: "DataTable",
|
|
31
|
+
props: {
|
|
32
|
+
table: { type: Object, required: !0 },
|
|
33
|
+
mode: { type: String, default: "server" },
|
|
34
|
+
loading: { type: Boolean, default: !1 },
|
|
35
|
+
virtual: { type: Boolean, default: !1 },
|
|
36
|
+
height: { type: Number, default: 400 },
|
|
37
|
+
rowHeight: { type: Number, default: 40 },
|
|
38
|
+
enableRowSelection: { type: Boolean, default: !1 }
|
|
39
|
+
},
|
|
40
|
+
emits: [
|
|
41
|
+
"selection-change",
|
|
42
|
+
"cell-change",
|
|
43
|
+
"server-filter-change"
|
|
44
|
+
],
|
|
45
|
+
setup(f, { emit: we }) {
|
|
46
|
+
const g = f, I = we, { t: v } = Pe(), a = m(() => g.table), H = m(() => {
|
|
47
|
+
try {
|
|
48
|
+
return a.value.getHeaderGroups?.() || [];
|
|
49
|
+
} catch {
|
|
50
|
+
return [];
|
|
51
|
+
}
|
|
52
|
+
}), z = m(() => {
|
|
53
|
+
try {
|
|
54
|
+
return a.value.getRowModel?.().rows || [];
|
|
55
|
+
} catch {
|
|
56
|
+
return [];
|
|
57
|
+
}
|
|
58
|
+
}), B = m(() => (a.value.getVisibleLeafColumns?.() || []).length + (g.enableRowSelection ? 1 : 0));
|
|
59
|
+
function L(t) {
|
|
60
|
+
const n = t.getIsSorted?.();
|
|
61
|
+
return n === "asc" ? "↑" : n === "desc" ? "↓" : "";
|
|
62
|
+
}
|
|
63
|
+
function U(t, n) {
|
|
64
|
+
const o = n.column;
|
|
65
|
+
if (!o.getCanSort?.())
|
|
66
|
+
return;
|
|
67
|
+
const e = !!t?.shiftKey;
|
|
68
|
+
o.toggleSorting?.(void 0, e);
|
|
69
|
+
}
|
|
70
|
+
const x = A(null);
|
|
71
|
+
function G(t, n) {
|
|
72
|
+
x.value = n?.id ?? null;
|
|
73
|
+
try {
|
|
74
|
+
t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", String(n?.id ?? ""));
|
|
75
|
+
} catch {
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
function $(t) {
|
|
79
|
+
const n = t?.getIsPinned?.();
|
|
80
|
+
return n === "left" ? "left" : n === "right" ? "right" : "center";
|
|
81
|
+
}
|
|
82
|
+
function E(t, n, o) {
|
|
83
|
+
const e = t.indexOf(n), l = t.indexOf(o);
|
|
84
|
+
if (e === -1 || l === -1 || e === l)
|
|
85
|
+
return t;
|
|
86
|
+
const D = t.slice();
|
|
87
|
+
return D.splice(e, 1), D.splice(l, 0, n), D;
|
|
88
|
+
}
|
|
89
|
+
function N(t, n) {
|
|
90
|
+
const o = n?.id;
|
|
91
|
+
let e = x.value;
|
|
92
|
+
try {
|
|
93
|
+
const r = t.dataTransfer.getData("text/plain");
|
|
94
|
+
r && (e = r);
|
|
95
|
+
} catch {
|
|
96
|
+
}
|
|
97
|
+
if (!e || !o || e === o) {
|
|
98
|
+
x.value = null;
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
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;
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
const T = $(D), Me = $(pe);
|
|
107
|
+
if (T !== Me) {
|
|
108
|
+
x.value = null;
|
|
109
|
+
return;
|
|
110
|
+
}
|
|
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;
|
|
114
|
+
}
|
|
115
|
+
function W(t) {
|
|
116
|
+
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 } : {};
|
|
118
|
+
}
|
|
119
|
+
const K = m(() => g.enableRowSelection ? {
|
|
120
|
+
width: `${R}px`,
|
|
121
|
+
minWidth: `${R}px`,
|
|
122
|
+
position: "sticky",
|
|
123
|
+
left: "0px",
|
|
124
|
+
zIndex: 4
|
|
125
|
+
} : {}), j = m(() => g.enableRowSelection ? {
|
|
126
|
+
width: `${R}px`,
|
|
127
|
+
minWidth: `${R}px`,
|
|
128
|
+
position: "sticky",
|
|
129
|
+
left: "0px",
|
|
130
|
+
zIndex: 3
|
|
131
|
+
} : {});
|
|
132
|
+
function q(t) {
|
|
133
|
+
const n = t.column, o = t.getSize?.();
|
|
134
|
+
return {
|
|
135
|
+
width: o ? `${o}px` : void 0,
|
|
136
|
+
minWidth: n.columnDef?.minSize ? `${n.columnDef.minSize}px` : void 0,
|
|
137
|
+
position: "relative",
|
|
138
|
+
...W(n)
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
function J(t) {
|
|
142
|
+
const n = t.column, o = n.getSize?.();
|
|
143
|
+
return {
|
|
144
|
+
width: o ? `${o}px` : void 0,
|
|
145
|
+
minWidth: n.columnDef?.minSize ? `${n.columnDef.minSize}px` : void 0,
|
|
146
|
+
...W(n)
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
const y = A(null), C = xe({});
|
|
150
|
+
function Q(t) {
|
|
151
|
+
const n = t?.columnDef?.meta?.col;
|
|
152
|
+
return !!(n?.filterable || n?.filterType || n?.filterOptions);
|
|
153
|
+
}
|
|
154
|
+
function X(t) {
|
|
155
|
+
return t?.columnDef?.meta?.col?.filterType || "text";
|
|
156
|
+
}
|
|
157
|
+
function Y(t) {
|
|
158
|
+
return t?.columnDef?.meta?.col?.filterOptions || [];
|
|
159
|
+
}
|
|
160
|
+
function Z(t) {
|
|
161
|
+
y.value = y.value === t ? null : t;
|
|
162
|
+
}
|
|
163
|
+
function ee(t, n) {
|
|
164
|
+
C[t] = n;
|
|
165
|
+
}
|
|
166
|
+
function te(t) {
|
|
167
|
+
if (g.mode === "server") {
|
|
168
|
+
I("server-filter-change", { key: t, value: C[t] }), y.value = null;
|
|
169
|
+
return;
|
|
170
|
+
}
|
|
171
|
+
a.value.getColumn?.(t)?.setFilterValue?.(C[t]), y.value = null;
|
|
172
|
+
}
|
|
173
|
+
function ne(t) {
|
|
174
|
+
if (C[t] = "", g.mode === "server") {
|
|
175
|
+
I("server-filter-change", { key: t, value: "" }), y.value = null;
|
|
176
|
+
return;
|
|
177
|
+
}
|
|
178
|
+
a.value.getColumn?.(t)?.setFilterValue?.(""), y.value = null;
|
|
179
|
+
}
|
|
180
|
+
function oe() {
|
|
181
|
+
y.value = null;
|
|
182
|
+
}
|
|
183
|
+
Ve(() => {
|
|
184
|
+
document.addEventListener("click", oe);
|
|
185
|
+
}), Ee(() => {
|
|
186
|
+
document.removeEventListener("click", oe);
|
|
187
|
+
}), Fe(
|
|
188
|
+
() => a.value.getState?.().rowSelection,
|
|
189
|
+
() => {
|
|
190
|
+
if (g.enableRowSelection)
|
|
191
|
+
try {
|
|
192
|
+
const t = a.value.getSelectedRowModel?.().rows || [];
|
|
193
|
+
I("selection-change", t.map((n) => n.original));
|
|
194
|
+
} catch {
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
{ deep: !0 }
|
|
198
|
+
);
|
|
199
|
+
const _ = xe({});
|
|
200
|
+
function S(t, n) {
|
|
201
|
+
return `${t.id}::${n.id}`;
|
|
202
|
+
}
|
|
203
|
+
function le(t) {
|
|
204
|
+
return !!t?.columnDef?.meta?.col?.editor;
|
|
205
|
+
}
|
|
206
|
+
function se(t) {
|
|
207
|
+
const n = t?.columnDef?.meta?.col;
|
|
208
|
+
return !n?.editor || n.editor === "input" ? "text" : n.editor;
|
|
209
|
+
}
|
|
210
|
+
function ie(t) {
|
|
211
|
+
return t?.columnDef?.meta?.col?.options || [];
|
|
212
|
+
}
|
|
213
|
+
function F(t, n) {
|
|
214
|
+
if (!le(n))
|
|
215
|
+
return;
|
|
216
|
+
const o = S(t, n);
|
|
217
|
+
_[o] = t.original?.[n.id];
|
|
218
|
+
}
|
|
219
|
+
function O(t, n) {
|
|
220
|
+
const o = S(t, n);
|
|
221
|
+
return Object.prototype.hasOwnProperty.call(_, o);
|
|
222
|
+
}
|
|
223
|
+
function ce(t, n) {
|
|
224
|
+
const o = S(t, n);
|
|
225
|
+
return _[o];
|
|
226
|
+
}
|
|
227
|
+
function re(t, n, o) {
|
|
228
|
+
const e = S(t, n);
|
|
229
|
+
_[e] = o;
|
|
230
|
+
}
|
|
231
|
+
function ue(t, n) {
|
|
232
|
+
const o = S(t, n);
|
|
233
|
+
delete _[o];
|
|
234
|
+
}
|
|
235
|
+
function ae(t, n, o) {
|
|
236
|
+
const e = S(t, n);
|
|
237
|
+
try {
|
|
238
|
+
t.original[n.id] = o;
|
|
239
|
+
} catch {
|
|
240
|
+
}
|
|
241
|
+
I("cell-change", { row: t.original, rowId: t.id, column: n.id, value: o }), delete _[e];
|
|
242
|
+
}
|
|
243
|
+
const de = A(0);
|
|
244
|
+
function $e(t) {
|
|
245
|
+
de.value = t.target.scrollTop || 0;
|
|
246
|
+
}
|
|
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", {
|
|
253
|
+
key: o.id
|
|
254
|
+
}, [
|
|
255
|
+
f.enableRowSelection ? (s(), i("th", {
|
|
256
|
+
key: 0,
|
|
257
|
+
class: "gsc-th text-center",
|
|
258
|
+
style: p(K.value)
|
|
259
|
+
}, [
|
|
260
|
+
c("input", {
|
|
261
|
+
type: "checkbox",
|
|
262
|
+
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)
|
|
267
|
+
], 4)) : u("", !0),
|
|
268
|
+
(s(!0), i(h, null, b(o.headers, (e) => (s(), i("th", {
|
|
269
|
+
key: e.id,
|
|
270
|
+
class: "gsc-th",
|
|
271
|
+
style: p(q(e)),
|
|
272
|
+
onDragover: n[3] || (n[3] = k(() => {
|
|
273
|
+
}, ["prevent"])),
|
|
274
|
+
onDrop: (l) => N(l, e.column)
|
|
275
|
+
}, [
|
|
276
|
+
c("div", at, [
|
|
277
|
+
c("div", {
|
|
278
|
+
class: Ce(["flex items-center gap-1 min-w-0", e.column.getCanSort?.() ? "cursor-pointer" : ""]),
|
|
279
|
+
onClick: (l) => U(l, e)
|
|
280
|
+
}, [
|
|
281
|
+
c("span", {
|
|
282
|
+
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"),
|
|
284
|
+
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), {
|
|
289
|
+
key: 0,
|
|
290
|
+
render: e.column.columnDef.header,
|
|
291
|
+
props: e.getContext()
|
|
292
|
+
}, null, 8, ["render", "props"]))
|
|
293
|
+
]),
|
|
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
|
+
key: 0,
|
|
298
|
+
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)
|
|
309
|
+
]),
|
|
310
|
+
y.value === e.column.id ? (s(), w(Se, {
|
|
311
|
+
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)
|
|
318
|
+
}, null, 8, ["value", "type", "options", "onUpdate:value", "onApply", "onClear"])) : u("", !0),
|
|
319
|
+
e.column.getCanResize?.() ? (s(), i("div", {
|
|
320
|
+
key: 1,
|
|
321
|
+
class: "absolute right-0 top-0 h-full w-2 cursor-col-resize",
|
|
322
|
+
onMousedown: k((l) => e.getResizeHandler?.()(l), ["prevent"])
|
|
323
|
+
}, null, 40, vt)) : u("", !0)
|
|
324
|
+
], 44, ut))), 128))
|
|
325
|
+
]))), 128))
|
|
326
|
+
])
|
|
327
|
+
]),
|
|
328
|
+
c("div", {
|
|
329
|
+
class: "overflow-auto",
|
|
330
|
+
style: p({ height: `${f.height}px` }),
|
|
331
|
+
onScroll: $e
|
|
332
|
+
}, [
|
|
333
|
+
c("div", {
|
|
334
|
+
style: p({ height: `${Ie.value}px` })
|
|
335
|
+
}, null, 4),
|
|
336
|
+
c("table", yt, [
|
|
337
|
+
c("tbody", null, [
|
|
338
|
+
(s(!0), i(h, null, b(me.value, (o) => (s(), i("tr", {
|
|
339
|
+
key: o.id,
|
|
340
|
+
class: "gsc-tr",
|
|
341
|
+
style: p({ height: `${f.rowHeight}px` })
|
|
342
|
+
}, [
|
|
343
|
+
f.enableRowSelection ? (s(), i("td", {
|
|
344
|
+
key: 0,
|
|
345
|
+
class: "gsc-td text-center",
|
|
346
|
+
style: p(j.value)
|
|
347
|
+
}, [
|
|
348
|
+
c("input", {
|
|
349
|
+
type: "checkbox",
|
|
350
|
+
class: "gsc-checkbox",
|
|
351
|
+
checked: o.getIsSelected?.(),
|
|
352
|
+
onChange: (e) => o.toggleSelected?.(!!e.target.checked)
|
|
353
|
+
}, null, 40, ht)
|
|
354
|
+
], 4)) : u("", !0),
|
|
355
|
+
(s(!0), i(h, null, b(o.getVisibleCells(), (e) => (s(), i("td", {
|
|
356
|
+
key: e.id,
|
|
357
|
+
class: "gsc-td align-top",
|
|
358
|
+
style: p(J(e)),
|
|
359
|
+
onDblclick: (l) => F(o, e.column)
|
|
360
|
+
}, [
|
|
361
|
+
O(o, e.column) ? (s(), w(De, {
|
|
362
|
+
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
|
+
render: e.column.columnDef.cell,
|
|
372
|
+
props: e.getContext()
|
|
373
|
+
}, null, 8, ["render", "props"])
|
|
374
|
+
]))
|
|
375
|
+
], 44, bt))), 128))
|
|
376
|
+
], 4))), 128)),
|
|
377
|
+
me.value.length === 0 ? (s(), i("tr", xt, [
|
|
378
|
+
c("td", {
|
|
379
|
+
colspan: B.value,
|
|
380
|
+
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)
|
|
382
|
+
])) : u("", !0)
|
|
383
|
+
])
|
|
384
|
+
]),
|
|
385
|
+
c("div", {
|
|
386
|
+
style: p({ height: `${ze.value}px` })
|
|
387
|
+
}, null, 4)
|
|
388
|
+
], 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", {
|
|
393
|
+
key: o.id
|
|
394
|
+
}, [
|
|
395
|
+
f.enableRowSelection ? (s(), i("th", {
|
|
396
|
+
key: 0,
|
|
397
|
+
class: "gsc-th text-center",
|
|
398
|
+
style: p(K.value)
|
|
399
|
+
}, [
|
|
400
|
+
c("input", {
|
|
401
|
+
type: "checkbox",
|
|
402
|
+
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)
|
|
407
|
+
], 4)) : u("", !0),
|
|
408
|
+
(s(!0), i(h, null, b(o.headers, (e) => (s(), i("th", {
|
|
409
|
+
key: e.id,
|
|
410
|
+
class: "gsc-th",
|
|
411
|
+
style: p(q(e)),
|
|
412
|
+
onDragover: n[1] || (n[1] = k(() => {
|
|
413
|
+
}, ["prevent"])),
|
|
414
|
+
onDrop: (l) => N(l, e.column)
|
|
415
|
+
}, [
|
|
416
|
+
c("div", Ne, [
|
|
417
|
+
c("div", {
|
|
418
|
+
class: Ce(["flex items-center gap-1 min-w-0", e.column.getCanSort?.() ? "cursor-pointer" : ""]),
|
|
419
|
+
onClick: (l) => U(l, e)
|
|
420
|
+
}, [
|
|
421
|
+
c("span", {
|
|
422
|
+
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"),
|
|
424
|
+
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), {
|
|
429
|
+
key: 0,
|
|
430
|
+
render: e.column.columnDef.header,
|
|
431
|
+
props: e.getContext()
|
|
432
|
+
}, null, 8, ["render", "props"]))
|
|
433
|
+
]),
|
|
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", {
|
|
437
|
+
key: 0,
|
|
438
|
+
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)
|
|
449
|
+
]),
|
|
450
|
+
y.value === e.column.id ? (s(), w(Se, {
|
|
451
|
+
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)
|
|
458
|
+
}, null, 8, ["value", "type", "options", "onUpdate:value", "onApply", "onClear"])) : u("", !0),
|
|
459
|
+
e.column.getCanResize?.() ? (s(), i("div", {
|
|
460
|
+
key: 1,
|
|
461
|
+
class: "absolute right-0 top-0 h-full w-2 cursor-col-resize",
|
|
462
|
+
onMousedown: k((l) => e.getResizeHandler?.()(l), ["prevent"])
|
|
463
|
+
}, null, 40, Qe)) : u("", !0)
|
|
464
|
+
], 44, Ge))), 128))
|
|
465
|
+
]))), 128))
|
|
466
|
+
]),
|
|
467
|
+
c("tbody", null, [
|
|
468
|
+
(s(!0), i(h, null, b(z.value, (o) => (s(), i("tr", {
|
|
469
|
+
key: o.id,
|
|
470
|
+
class: "gsc-tr"
|
|
471
|
+
}, [
|
|
472
|
+
f.enableRowSelection ? (s(), i("td", {
|
|
473
|
+
key: 0,
|
|
474
|
+
class: "gsc-td text-center",
|
|
475
|
+
style: p(j.value)
|
|
476
|
+
}, [
|
|
477
|
+
c("input", {
|
|
478
|
+
type: "checkbox",
|
|
479
|
+
class: "gsc-checkbox",
|
|
480
|
+
checked: o.getIsSelected?.(),
|
|
481
|
+
onChange: (e) => o.toggleSelected?.(!!e.target.checked)
|
|
482
|
+
}, null, 40, Xe)
|
|
483
|
+
], 4)) : u("", !0),
|
|
484
|
+
(s(!0), i(h, null, b(o.getVisibleCells(), (e) => (s(), i("td", {
|
|
485
|
+
key: e.id,
|
|
486
|
+
class: "gsc-td align-top",
|
|
487
|
+
style: p(J(e)),
|
|
488
|
+
onDblclick: (l) => F(o, e.column)
|
|
489
|
+
}, [
|
|
490
|
+
t.$slots[`cell-${e.column.id}`] ? Oe(t.$slots, `cell-${e.column.id}`, {
|
|
491
|
+
key: 0,
|
|
492
|
+
value: e.getValue(),
|
|
493
|
+
row: o.original
|
|
494
|
+
}, void 0, !0) : (s(), i("div", Ze, [
|
|
495
|
+
c("div", et, [
|
|
496
|
+
O(o, e.column) ? (s(), w(De, {
|
|
497
|
+
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), {
|
|
506
|
+
render: e.column.columnDef.cell,
|
|
507
|
+
props: e.getContext()
|
|
508
|
+
}, null, 8, ["render", "props"])
|
|
509
|
+
]))
|
|
510
|
+
]),
|
|
511
|
+
le(e.column) && !O(o, e.column) ? (s(), i("button", {
|
|
512
|
+
key: 0,
|
|
513
|
+
class: "shrink-0 mt-0.5 gsc-btn gsc-btn-default px-2 h-6 text-xs",
|
|
514
|
+
onClick: k((l) => F(o, e.column), ["stop"])
|
|
515
|
+
}, " ✎ ", 8, nt)) : u("", !0)
|
|
516
|
+
]))
|
|
517
|
+
], 44, Ye))), 128))
|
|
518
|
+
]))), 128)),
|
|
519
|
+
z.value.length === 0 ? (s(), i("tr", ot, [
|
|
520
|
+
c("td", {
|
|
521
|
+
colspan: B.value,
|
|
522
|
+
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)
|
|
524
|
+
])) : u("", !0)
|
|
525
|
+
])
|
|
526
|
+
])
|
|
527
|
+
]))
|
|
528
|
+
]));
|
|
529
|
+
}
|
|
530
|
+
}, Vt = /* @__PURE__ */ Te(St, [["__scopeId", "data-v-94c3d799"]]);
|
|
531
|
+
export {
|
|
532
|
+
Vt as default
|
|
533
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[data-v-8a0548c7],[data-v-8a0548c7]:before,[data-v-8a0548c7]:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }[data-v-8a0548c7]::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.text-sm[data-v-8a0548c7]{font-size:.875rem;line-height:1.25rem}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { computed as p, createElementBlock as n, openBlock as l, createElementVNode as s, toDisplayString as i, unref as u, Fragment as c, renderList as m } from "vue";
|
|
2
|
+
import { useLocale as b } from "../../../hooks/useLocale.js";
|
|
3
|
+
import './Pager.css';/* empty css */
|
|
4
|
+
import v from "../../../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
const f = { class: "gsc-pager" }, y = { class: "text-sm gsc-text-secondary" }, z = ["value"], S = ["value"], N = ["disabled"], $ = { class: "gsc-pager-jumper text-sm" }, k = ["value"], h = { class: "gsc-text-secondary" }, x = ["disabled"], C = {
|
|
6
|
+
__name: "Pager",
|
|
7
|
+
props: {
|
|
8
|
+
page: { type: Number, default: 1 },
|
|
9
|
+
pageSize: { type: Number, default: 10 },
|
|
10
|
+
total: { type: Number, default: 0 },
|
|
11
|
+
pageSizeOptions: { type: Array, default: () => [10, 20, 50, 100] }
|
|
12
|
+
},
|
|
13
|
+
emits: ["update:page", "update:pageSize"],
|
|
14
|
+
setup(t) {
|
|
15
|
+
const g = t, { t: r } = b(), d = p(() => Math.max(1, Math.ceil((g.total || 0) / (g.pageSize || 1))));
|
|
16
|
+
return (o, e) => (l(), n("div", f, [
|
|
17
|
+
s("div", y, i(u(r)("gsc.grid.pager.total", { total: t.total })), 1),
|
|
18
|
+
s("select", {
|
|
19
|
+
class: "gsc-control gsc-control-auto",
|
|
20
|
+
value: t.pageSize,
|
|
21
|
+
onChange: e[0] || (e[0] = (a) => o.$emit("update:pageSize", Number(a.target.value)))
|
|
22
|
+
}, [
|
|
23
|
+
(l(!0), n(c, null, m(t.pageSizeOptions, (a) => (l(), n("option", {
|
|
24
|
+
key: a,
|
|
25
|
+
value: a
|
|
26
|
+
}, i(u(r)("gsc.grid.pager.pageSize", { size: a })), 9, S))), 128))
|
|
27
|
+
], 40, z),
|
|
28
|
+
s("button", {
|
|
29
|
+
class: "gsc-btn gsc-btn-default gsc-btn-icon",
|
|
30
|
+
disabled: t.page <= 1,
|
|
31
|
+
onClick: e[1] || (e[1] = (a) => o.$emit("update:page", t.page - 1))
|
|
32
|
+
}, [...e[4] || (e[4] = [
|
|
33
|
+
s("span", { "aria-hidden": "true" }, "‹", -1)
|
|
34
|
+
])], 8, N),
|
|
35
|
+
s("div", $, [
|
|
36
|
+
s("input", {
|
|
37
|
+
class: "gsc-control gsc-control-page gsc-control-center",
|
|
38
|
+
value: t.page,
|
|
39
|
+
onChange: e[2] || (e[2] = (a) => o.$emit("update:page", Number(a.target.value || 1)))
|
|
40
|
+
}, null, 40, k),
|
|
41
|
+
s("span", h, "/ " + i(d.value), 1)
|
|
42
|
+
]),
|
|
43
|
+
s("button", {
|
|
44
|
+
class: "gsc-btn gsc-btn-default gsc-btn-icon",
|
|
45
|
+
disabled: t.page >= d.value,
|
|
46
|
+
onClick: e[3] || (e[3] = (a) => o.$emit("update:page", t.page + 1))
|
|
47
|
+
}, [...e[5] || (e[5] = [
|
|
48
|
+
s("span", { "aria-hidden": "true" }, "›", -1)
|
|
49
|
+
])], 8, x)
|
|
50
|
+
]));
|
|
51
|
+
}
|
|
52
|
+
}, M = /* @__PURE__ */ v(C, [["__scopeId", "data-v-8a0548c7"]]);
|
|
53
|
+
export {
|
|
54
|
+
M as default
|
|
55
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[data-v-e3036b77],[data-v-e3036b77]:before,[data-v-e3036b77]:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }[data-v-e3036b77]::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.grid-cols-1[data-v-e3036b77]{grid-template-columns:repeat(1,minmax(0,1fr))}@media(min-width:768px){.md\:grid-cols-2[data-v-e3036b77]{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(min-width:992px){.lg\:col-span-2[data-v-e3036b77]{grid-column:span 2/span 2}.lg\:col-span-3[data-v-e3036b77]{grid-column:span 3/span 3}.lg\:col-span-4[data-v-e3036b77]{grid-column:span 4/span 4}.lg\:grid-cols-3[data-v-e3036b77]{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(min-width:1200px){.xl\:col-span-4[data-v-e3036b77]{grid-column:span 4/span 4}.xl\:grid-cols-4[data-v-e3036b77]{grid-template-columns:repeat(4,minmax(0,1fr))}}
|