golden-logic-ui 1.3.27 → 1.3.28
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/dist/components/GeneralComponents/DataTable/GLDataTable.vue.js +52 -49
- package/dist/components/GeneralComponents/DataTable/GLDataTableServerSide.vue.js +74 -74
- package/dist/components/GeneralComponents/DataTable/GlDataTableComponent.vue.js +30 -27
- package/dist/components/GeneralComponents/GlTabsWrapper.vue.js +69 -62
- package/dist/golden-logic-ui.css +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import L from "../../../node_modules/vue3-print-nb/dist/vue3-print-nb.es.js";
|
|
2
|
-
import { resolveComponent as
|
|
2
|
+
import { resolveComponent as D, resolveDirective as E, createElementBlock as l, openBlock as i, withDirectives as T, createElementVNode as r, createCommentVNode as j, createVNode as v, vModelText as O, withCtx as M, createTextVNode as u, Fragment as m, renderList as w, withModifiers as k, toDisplayString as p, normalizeClass as P } from "vue";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import A from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
5
5
|
const H = {
|
|
@@ -52,7 +52,7 @@ const H = {
|
|
|
52
52
|
computed: {
|
|
53
53
|
filteredData() {
|
|
54
54
|
const t = this.search.toLowerCase();
|
|
55
|
-
return this.sortData(this.data).filter((
|
|
55
|
+
return this.sortData(this.data).filter((o) => Object.values(o).some(
|
|
56
56
|
(d) => d != null && d.toString().toLowerCase().includes(t)
|
|
57
57
|
));
|
|
58
58
|
},
|
|
@@ -70,7 +70,7 @@ const H = {
|
|
|
70
70
|
), e = t + this.maxDisplayedPages - 1;
|
|
71
71
|
return e > this.totalPages && (e = this.totalPages, t = Math.max(e - this.maxDisplayedPages + 1, 1)), Array.from(
|
|
72
72
|
{ length: e - t + 1 },
|
|
73
|
-
(
|
|
73
|
+
(o, d) => t + d
|
|
74
74
|
);
|
|
75
75
|
},
|
|
76
76
|
firstItemIndex() {
|
|
@@ -83,14 +83,14 @@ const H = {
|
|
|
83
83
|
},
|
|
84
84
|
methods: {
|
|
85
85
|
async exportToExcel() {
|
|
86
|
-
const t = await import("xlsx"), e = t.default || t,
|
|
86
|
+
const t = await import("xlsx"), e = t.default || t, o = document.querySelector("#table" + this.Random_string), d = Array.from(o.querySelectorAll("thead th")).map((g) => g.innerText), n = ["", ...["action"]], x = d.map((g, b) => n.includes(g) ? b : -1).filter((g) => g !== -1), y = Array.from(o.querySelectorAll("tbody tr")).map((g) => Array.from(g.querySelectorAll("td")).map((C) => C.innerText).filter((C, S) => !x.includes(S))), s = [d.filter((g, b) => !x.includes(b)), ...y], h = e.utils.aoa_to_sheet(s), f = e.utils.book_new();
|
|
87
87
|
e.utils.book_append_sheet(f, h, "Sheet1"), e.writeFile(f, "exported-file.xlsx");
|
|
88
88
|
},
|
|
89
89
|
generateRandomString(t) {
|
|
90
90
|
let e = "";
|
|
91
|
-
const
|
|
92
|
-
for (let
|
|
93
|
-
e +=
|
|
91
|
+
const o = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", d = o.length;
|
|
92
|
+
for (let a = 0; a < t; a++)
|
|
93
|
+
e += o.charAt(
|
|
94
94
|
Math.floor(Math.random() * d)
|
|
95
95
|
);
|
|
96
96
|
return e;
|
|
@@ -110,7 +110,7 @@ const H = {
|
|
|
110
110
|
t === this.sortKey ? this.sortOrder *= -1 : (this.sortKey = t, this.sortOrder = 1);
|
|
111
111
|
},
|
|
112
112
|
sortData(t) {
|
|
113
|
-
return this.sortKey ? t.slice().sort((e,
|
|
113
|
+
return this.sortKey ? t.slice().sort((e, o) => (e[this.sortKey] < o[this.sortKey] ? -1 : 1) * this.sortOrder) : t;
|
|
114
114
|
},
|
|
115
115
|
previousPage() {
|
|
116
116
|
this.currentPage > 1 && this.currentPage--;
|
|
@@ -144,21 +144,21 @@ const H = {
|
|
|
144
144
|
key: 0,
|
|
145
145
|
class: "flex items-center justify-between px-4 py-3 bg-white border-gray-200 sm:px-6 dark:text-gray-400 dark:bg-gray-800"
|
|
146
146
|
}, ee = { class: "flex flex-col items-center w-full gap-2" }, te = { class: "text-sm text-gray-700 dark:text-gray-400" }, re = { class: "font-semibold text-gray-900 dark:text-white" }, se = { class: "font-semibold text-gray-900 dark:text-white" }, ae = { class: "font-semibold text-gray-900 dark:text-white" }, ne = { "aria-label": "Page navigation" }, oe = { class: "flex items-center h-8 -space-x-px text-sm" }, le = ["onClick", "aria-current"];
|
|
147
|
-
function ie(t, e,
|
|
148
|
-
const x =
|
|
147
|
+
function ie(t, e, o, d, a, n) {
|
|
148
|
+
const x = D("dropdown"), y = D("gl-button"), _ = E("print");
|
|
149
149
|
return i(), l("div", V, [
|
|
150
|
-
|
|
151
|
-
[
|
|
150
|
+
T(r("button", B, null, 512), [
|
|
151
|
+
[_, a.printObj]
|
|
152
152
|
]),
|
|
153
153
|
r("div", I, [
|
|
154
154
|
r("div", K, [
|
|
155
155
|
e[4] || (e[4] = r("span", { class: "font-medium" }, " Show ", -1)),
|
|
156
156
|
r("div", q, [
|
|
157
|
-
|
|
157
|
+
v(x, {
|
|
158
158
|
has_cancel: !1,
|
|
159
|
-
options:
|
|
160
|
-
modelValue:
|
|
161
|
-
"onUpdate:modelValue": e[0] || (e[0] = (s) =>
|
|
159
|
+
options: a.showNoOfEntries,
|
|
160
|
+
modelValue: a.itemsPerPage,
|
|
161
|
+
"onUpdate:modelValue": e[0] || (e[0] = (s) => a.itemsPerPage = s),
|
|
162
162
|
is_required: !1,
|
|
163
163
|
field_name: "NoOfEntries",
|
|
164
164
|
label_name: "",
|
|
@@ -175,19 +175,19 @@ function ie(t, e, n, d, o, a) {
|
|
|
175
175
|
}, "Search", -1)),
|
|
176
176
|
r("div", R, [
|
|
177
177
|
e[6] || (e[6] = r("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, null, -1)),
|
|
178
|
-
|
|
178
|
+
T(r("input", {
|
|
179
179
|
type: "text",
|
|
180
|
-
"onUpdate:modelValue": e[1] || (e[1] = (s) =>
|
|
180
|
+
"onUpdate:modelValue": e[1] || (e[1] = (s) => a.search = s),
|
|
181
181
|
class: "gl-input-form",
|
|
182
182
|
placeholder: "Search ..."
|
|
183
183
|
}, null, 512), [
|
|
184
|
-
[O,
|
|
184
|
+
[O, a.search]
|
|
185
185
|
])
|
|
186
186
|
])
|
|
187
187
|
]),
|
|
188
188
|
r("div", N, [
|
|
189
|
-
|
|
190
|
-
onClick:
|
|
189
|
+
v(y, {
|
|
190
|
+
onClick: n.delayedPrint,
|
|
191
191
|
tag: "button",
|
|
192
192
|
is_loading: t.isLoadingPrint,
|
|
193
193
|
button_type: "light",
|
|
@@ -197,13 +197,13 @@ function ie(t, e, n, d, o, a) {
|
|
|
197
197
|
<path stroke="currentColor" stroke-linejoin="round" stroke-width="2" d="M16.444 18H19a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h2.556M17 11V5a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v6h10ZM7 15h10v4a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-4Z"/>\r
|
|
198
198
|
</svg>`
|
|
199
199
|
}, {
|
|
200
|
-
default:
|
|
200
|
+
default: M(() => e[8] || (e[8] = [
|
|
201
201
|
u(" Print ")
|
|
202
202
|
])),
|
|
203
203
|
_: 1
|
|
204
204
|
}, 8, ["onClick", "is_loading"]),
|
|
205
|
-
|
|
206
|
-
onClick:
|
|
205
|
+
v(y, {
|
|
206
|
+
onClick: n.exportToExcel,
|
|
207
207
|
tag: "button",
|
|
208
208
|
button_type: "light",
|
|
209
209
|
has_border_reduced: !1,
|
|
@@ -213,30 +213,30 @@ function ie(t, e, n, d, o, a) {
|
|
|
213
213
|
</svg>\r
|
|
214
214
|
`
|
|
215
215
|
}, {
|
|
216
|
-
default:
|
|
216
|
+
default: M(() => e[9] || (e[9] = [
|
|
217
217
|
u(" Excel ")
|
|
218
218
|
])),
|
|
219
219
|
_: 1
|
|
220
220
|
}, 8, ["onClick"])
|
|
221
221
|
]),
|
|
222
222
|
r("div", {
|
|
223
|
-
id: "print_" +
|
|
223
|
+
id: "print_" + a.Random_string,
|
|
224
224
|
class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800"
|
|
225
225
|
}, [
|
|
226
226
|
r("table", {
|
|
227
|
-
id: "table" +
|
|
227
|
+
id: "table" + a.Random_string,
|
|
228
228
|
class: "w-full h-full max-w-full overflow-hidden bg-white border-separate xl:overflow-auto lg:border-collapse print:border-collapse! border-spacing-y-5 lg:border-spacing-y-0 print:border-spacing-y-0! dark:border-gray-800 dark:bg-gray-900"
|
|
229
229
|
}, [
|
|
230
230
|
r("thead", z, [
|
|
231
231
|
r("tr", null, [
|
|
232
|
-
(i(!0), l(m, null,
|
|
232
|
+
(i(!0), l(m, null, w(o.columns, (s, h) => (i(), l("th", {
|
|
233
233
|
key: h,
|
|
234
|
-
onClick:
|
|
234
|
+
onClick: k((f) => n.sort(s), ["prevent"]),
|
|
235
235
|
class: "w-full px-4 py-2 lg:w-2/12 print:w-2/12! print:border!"
|
|
236
236
|
}, [
|
|
237
237
|
r("div", X, [
|
|
238
238
|
r("span", null, p(s), 1),
|
|
239
|
-
|
|
239
|
+
a.sortKey === s ? (i(), l("span", G, e[10] || (e[10] = [
|
|
240
240
|
r("svg", {
|
|
241
241
|
class: "w-4 h-4",
|
|
242
242
|
"aria-hidden": "true",
|
|
@@ -252,25 +252,25 @@ function ie(t, e, n, d, o, a) {
|
|
|
252
252
|
d: "M8 20V7m0 13-4-4m4 4 4-4m4-12v13m0-13 4 4m-4-4-4 4"
|
|
253
253
|
})
|
|
254
254
|
], -1)
|
|
255
|
-
]))) :
|
|
255
|
+
]))) : j("", !0)
|
|
256
256
|
])
|
|
257
257
|
], 8, U))), 128))
|
|
258
258
|
])
|
|
259
259
|
]),
|
|
260
260
|
r("tbody", W, [
|
|
261
|
-
(i(!0), l(m, null,
|
|
261
|
+
(i(!0), l(m, null, w(n.paginatedData, (s, h) => (i(), l("tr", {
|
|
262
262
|
key: h,
|
|
263
263
|
class: "text-gray-500 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-800 dark:hover:text-gray-200"
|
|
264
264
|
}, [
|
|
265
|
-
(i(!0), l(m, null,
|
|
265
|
+
(i(!0), l(m, null, w(o.columns, (f, c) => (i(), l("td", {
|
|
266
266
|
key: c,
|
|
267
267
|
"data-label": f,
|
|
268
|
-
class:
|
|
268
|
+
class: P(["text-pretty before:content-[attr(data-label)] before:font-bold dark:before:text-gray-400 lg:before:content-[''] print:before:content-['']! flex flex-row flex-wrap items-center justify-between gap-x-4 gap-y-1 wrap-anywhere lg:wrap-normal lg:table-cell print:table-cell! py-2.5 px-4 lg:py-3 lg:px-4 print:py-3! print:px-4! border-[1px]! dark:border-gray-700", {
|
|
269
269
|
"rounded-t-lg lg:rounded-t-none!": c === 0,
|
|
270
|
-
"rounded-b-lg lg:rounded-b-none!": c ===
|
|
270
|
+
"rounded-b-lg lg:rounded-b-none!": c === o.columns.length - 1
|
|
271
271
|
}])
|
|
272
272
|
}, [
|
|
273
|
-
|
|
273
|
+
o.escape_html ? (i(), l("p", Q, p(s[c]), 1)) : (i(), l("p", {
|
|
274
274
|
key: 1,
|
|
275
275
|
class: "text-pretty",
|
|
276
276
|
innerHTML: s[c]
|
|
@@ -280,15 +280,15 @@ function ie(t, e, n, d, o, a) {
|
|
|
280
280
|
])
|
|
281
281
|
], 8, Z)
|
|
282
282
|
], 8, F),
|
|
283
|
-
|
|
283
|
+
n.paginatedData.length > 0 ? (i(), l("div", $, [
|
|
284
284
|
r("div", ee, [
|
|
285
285
|
r("p", te, [
|
|
286
286
|
e[11] || (e[11] = u(" Showing ")),
|
|
287
|
-
r("span", re, p(
|
|
287
|
+
r("span", re, p(n.firstItemIndex), 1),
|
|
288
288
|
e[12] || (e[12] = u(" to ")),
|
|
289
|
-
r("span", se, p(
|
|
289
|
+
r("span", se, p(n.lastItemIndex), 1),
|
|
290
290
|
e[13] || (e[13] = u(" of ")),
|
|
291
|
-
r("span", ae, p(
|
|
291
|
+
r("span", ae, p(n.filteredData.length), 1),
|
|
292
292
|
e[14] || (e[14] = u(" entries "))
|
|
293
293
|
]),
|
|
294
294
|
r("nav", ne, [
|
|
@@ -296,7 +296,7 @@ function ie(t, e, n, d, o, a) {
|
|
|
296
296
|
r("li", null, [
|
|
297
297
|
r("a", {
|
|
298
298
|
href: "#",
|
|
299
|
-
onClick: e[2] || (e[2] =
|
|
299
|
+
onClick: e[2] || (e[2] = k((...s) => n.previousPage && n.previousPage(...s), ["prevent"])),
|
|
300
300
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 ms-0 border-e-0 rounded-s-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
301
301
|
}, e[15] || (e[15] = [
|
|
302
302
|
r("span", { class: "sr-only" }, "Previous", -1),
|
|
@@ -317,18 +317,21 @@ function ie(t, e, n, d, o, a) {
|
|
|
317
317
|
], -1)
|
|
318
318
|
]))
|
|
319
319
|
]),
|
|
320
|
-
(i(!0), l(m, null,
|
|
320
|
+
(i(!0), l(m, null, w(n.displayedPageNumbers, (s) => (i(), l("li", {
|
|
321
|
+
key: s,
|
|
322
|
+
class: P(Math.abs(s - a.currentPage) > 2 ? "hidden sm:block" : "")
|
|
323
|
+
}, [
|
|
321
324
|
r("a", {
|
|
322
325
|
href: "#",
|
|
323
|
-
onClick:
|
|
324
|
-
class:
|
|
325
|
-
"aria-current":
|
|
326
|
+
onClick: k((h) => n.goToPage(s), ["prevent"]),
|
|
327
|
+
class: P(a.currentPage === s ? "z-10 flex items-center justify-center h-8 px-3 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white" : "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"),
|
|
328
|
+
"aria-current": a.currentPage === s ? "page" : void 0
|
|
326
329
|
}, p(s), 11, le)
|
|
327
|
-
]))), 128)),
|
|
330
|
+
], 2))), 128)),
|
|
328
331
|
r("li", null, [
|
|
329
332
|
r("a", {
|
|
330
333
|
href: "#",
|
|
331
|
-
onClick: e[3] || (e[3] =
|
|
334
|
+
onClick: e[3] || (e[3] = k((...s) => n.nextPage && n.nextPage(...s), ["prevent"])),
|
|
332
335
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 rounded-e-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
333
336
|
}, e[16] || (e[16] = [
|
|
334
337
|
r("span", { class: "sr-only" }, "Next", -1),
|
|
@@ -352,10 +355,10 @@ function ie(t, e, n, d, o, a) {
|
|
|
352
355
|
])
|
|
353
356
|
])
|
|
354
357
|
])
|
|
355
|
-
])) :
|
|
358
|
+
])) : j("", !0)
|
|
356
359
|
]);
|
|
357
360
|
}
|
|
358
|
-
const ue = /* @__PURE__ */ A(H, [["render", ie], ["__scopeId", "data-v-
|
|
361
|
+
const ue = /* @__PURE__ */ A(H, [["render", ie], ["__scopeId", "data-v-40c29557"]]);
|
|
359
362
|
export {
|
|
360
363
|
ue as default
|
|
361
364
|
};
|
|
@@ -130,7 +130,7 @@ const X = {
|
|
|
130
130
|
generateRandomString(t) {
|
|
131
131
|
let s = "";
|
|
132
132
|
const i = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", o = i.length;
|
|
133
|
-
for (let
|
|
133
|
+
for (let a = 0; a < t; a++)
|
|
134
134
|
s += i.charAt(
|
|
135
135
|
Math.floor(Math.random() * o)
|
|
136
136
|
);
|
|
@@ -155,7 +155,7 @@ const X = {
|
|
|
155
155
|
this.$refs.ConfirmationDelete.showLoading(), this.isLoading = !0;
|
|
156
156
|
const s = await Promise.allSettled(
|
|
157
157
|
this.checkedIds.map((o) => axios.delete(`${this.xprops.route}/${o}`))
|
|
158
|
-
), i = s.map((o,
|
|
158
|
+
), i = s.map((o, a) => ({ result: o, id: this.checkedIds[a] })).filter(({ result: o }) => o.status === "rejected");
|
|
159
159
|
if (this.checkedIds = [], this.$refs.ConfirmationDelete.hideLoading(), i.length === 0)
|
|
160
160
|
L.methods.add({
|
|
161
161
|
message: this.language?.selected_items_deleted_successfully ?? "Selected items deleted successfully.",
|
|
@@ -163,9 +163,9 @@ const X = {
|
|
|
163
163
|
duration: 5e3
|
|
164
164
|
});
|
|
165
165
|
else {
|
|
166
|
-
const o = i[0].result.reason?.response?.data?.message,
|
|
166
|
+
const o = i[0].result.reason?.response?.data?.message, a = s.length - i.length;
|
|
167
167
|
L.methods.add({
|
|
168
|
-
message: `${
|
|
168
|
+
message: `${a} of ${s.length} deleted. Not deleted: #${i.map(({ id: d }) => d).join(", #")}.` + (o ? ` ${o}` : ""),
|
|
169
169
|
type: "error",
|
|
170
170
|
duration: 1e4
|
|
171
171
|
});
|
|
@@ -268,7 +268,7 @@ const X = {
|
|
|
268
268
|
this.sortField = this.columns && this.columns.length > 0 ? this.columns[0].field_name : "", this.sortOrder = "asc", this.page = 1, this.GetItemLists(this.page);
|
|
269
269
|
},
|
|
270
270
|
async exportToExcel() {
|
|
271
|
-
const t = await import("xlsx"), s = t.default || t, i = document.querySelector("#table" + this.Random_string), o = Array.from(i.querySelectorAll("thead th")).map((p) => p.innerText), d = ["", ...["action"]], A = o.map((p, e) => d.includes(p) ? e : -1).filter((p) => p !== -1), F = Array.from(i.querySelectorAll("tbody tr")).map((p) => Array.from(p.querySelectorAll("td")).map((h) => h.innerText).filter((h,
|
|
271
|
+
const t = await import("xlsx"), s = t.default || t, i = document.querySelector("#table" + this.Random_string), o = Array.from(i.querySelectorAll("thead th")).map((p) => p.innerText), d = ["", ...["action"]], A = o.map((p, e) => d.includes(p) ? e : -1).filter((p) => p !== -1), F = Array.from(i.querySelectorAll("tbody tr")).map((p) => Array.from(p.querySelectorAll("td")).map((h) => h.innerText).filter((h, r) => !A.includes(r))), w = [o.filter((p, e) => !A.includes(e)), ...F], I = s.utils.aoa_to_sheet(w), y = s.utils.book_new();
|
|
272
272
|
s.utils.book_append_sheet(y, I, "Sheet1"), s.writeFile(y, "exported-file.xlsx");
|
|
273
273
|
}
|
|
274
274
|
},
|
|
@@ -300,7 +300,7 @@ const X = {
|
|
|
300
300
|
directives: {
|
|
301
301
|
print: B
|
|
302
302
|
}
|
|
303
|
-
}, W = { class: "p-0" }, K = { class: "flex flex-col flex-wrap gap-4 pb-4 xl:flex-row xl:items-center xl:justify-between" }, $ = { class: "flex items-center gap-2" }, ee = { class: "font-medium" }, te = { class: "mt-[3px]" }, le = { class: "font-medium" }, ie = { class: "relative" }, se = ["placeholder"],
|
|
303
|
+
}, W = { class: "p-0" }, K = { class: "flex flex-col flex-wrap gap-4 pb-4 xl:flex-row xl:items-center xl:justify-between" }, $ = { class: "flex items-center gap-2" }, ee = { class: "font-medium" }, te = { class: "mt-[3px]" }, le = { class: "font-medium" }, ie = { class: "relative" }, se = ["placeholder"], ae = { class: "flex flex-wrap mb-3 gap-1 lg:gap-0!" }, re = ["id"], ne = ["aria-labelledby"], de = { class: "flex items-center p-2 rounded-sm hover:bg-gray-100 dark:hover:bg-gray-600" }, oe = ["id", "onUpdate:modelValue"], ce = ["for"], ge = ["id"], ue = ["id"], he = { class: "hidden text-sm font-normal text-center text-gray-600 print:table-header-group! lg:table-header-group dark:border-gray-600 bg-gray-50 dark:bg-gray-800 dark:text-gray-400 print:border-[1px]!" }, me = {
|
|
304
304
|
key: 0,
|
|
305
305
|
class: "w-full px-4 py-2 lg:w-[3%]! print:hidden!"
|
|
306
306
|
}, fe = ["onClick"], _e = { class: "inline-flex items-center justify-center gap-1" }, pe = {
|
|
@@ -314,10 +314,10 @@ const X = {
|
|
|
314
314
|
class: "text-xs text-gray-500 dark:text-gray-400"
|
|
315
315
|
}, Ve = {
|
|
316
316
|
key: 0,
|
|
317
|
-
class: "print:hidden! text-center rounded-t-lg lg:rounded-t-none! print:rounded-t-none! text-pretty before:content-[attr(data-label)] before:font-bold dark:before:text-gray-400 lg:before:content-[''] print:before:content-['']! flex flex-col justify-between gap-2 lg:table-cell py-
|
|
317
|
+
class: "print:hidden! text-center rounded-t-lg lg:rounded-t-none! print:rounded-t-none! text-pretty before:content-[attr(data-label)] before:font-bold dark:before:text-gray-400 lg:before:content-[''] print:before:content-['']! flex flex-col justify-between gap-2 lg:table-cell py-2 px-4 lg:py-3 lg:px-4 print:py-3! print:px-4! border! dark:border-gray-700",
|
|
318
318
|
"data-label": ""
|
|
319
319
|
}, Se = ["checked", "onChange"], Fe = ["data-label"], De = { class: "flex items-center justify-between bg-white border-gray-200 dark:text-gray-400 dark:bg-gray-800" };
|
|
320
|
-
function Ie(t, s, i, o,
|
|
320
|
+
function Ie(t, s, i, o, a, d) {
|
|
321
321
|
const A = k("DynamicConfirmation"), F = k("dropdown"), D = k("GlDropdown"), w = k("GlTextInput"), I = k("GlDateRangePicker"), y = k("gl-button"), P = k("TailwindPagination"), p = H("click-outside");
|
|
322
322
|
return n(), c(f, null, [
|
|
323
323
|
x(A, { ref: "ConfirmationDelete" }, null, 512),
|
|
@@ -329,9 +329,9 @@ function Ie(t, s, i, o, r, d) {
|
|
|
329
329
|
x(F, {
|
|
330
330
|
options_top_size: 0,
|
|
331
331
|
has_cancel: !1,
|
|
332
|
-
options:
|
|
333
|
-
modelValue:
|
|
334
|
-
"onUpdate:modelValue": s[0] || (s[0] = (e) =>
|
|
332
|
+
options: a.pageOptions,
|
|
333
|
+
modelValue: a.perPage,
|
|
334
|
+
"onUpdate:modelValue": s[0] || (s[0] = (e) => a.perPage = e),
|
|
335
335
|
is_required: !1,
|
|
336
336
|
field_name: "perPage",
|
|
337
337
|
label_name: "",
|
|
@@ -350,12 +350,12 @@ function Ie(t, s, i, o, r, d) {
|
|
|
350
350
|
s[4] || (s[4] = l("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, null, -1)),
|
|
351
351
|
V(l("input", {
|
|
352
352
|
type: "text",
|
|
353
|
-
"onUpdate:modelValue": s[1] || (s[1] = (e) =>
|
|
353
|
+
"onUpdate:modelValue": s[1] || (s[1] = (e) => a.search = e),
|
|
354
354
|
onInput: s[2] || (s[2] = (e) => d.handleSearch()),
|
|
355
355
|
class: "gl-input-form",
|
|
356
356
|
placeholder: i.language?.search ? i.language?.search + " ..." : "Search ..."
|
|
357
357
|
}, null, 40, se), [
|
|
358
|
-
[R,
|
|
358
|
+
[R, a.search]
|
|
359
359
|
])
|
|
360
360
|
])
|
|
361
361
|
]),
|
|
@@ -367,8 +367,8 @@ function Ie(t, s, i, o, r, d) {
|
|
|
367
367
|
key: 0,
|
|
368
368
|
has_cancel: !0,
|
|
369
369
|
options: e.options,
|
|
370
|
-
modelValue:
|
|
371
|
-
"onUpdate:modelValue": (
|
|
370
|
+
modelValue: a.dynamicFilters[e.field_name],
|
|
371
|
+
"onUpdate:modelValue": (r) => a.dynamicFilters[e.field_name] = r,
|
|
372
372
|
is_required: !1,
|
|
373
373
|
field_name: e.field_name,
|
|
374
374
|
label_name: e.field_label,
|
|
@@ -380,8 +380,8 @@ function Ie(t, s, i, o, r, d) {
|
|
|
380
380
|
type: "text",
|
|
381
381
|
is_required: !1,
|
|
382
382
|
show: !1,
|
|
383
|
-
modelValue:
|
|
384
|
-
"onUpdate:modelValue": (
|
|
383
|
+
modelValue: a.dynamicFilters[e.field_name],
|
|
384
|
+
"onUpdate:modelValue": (r) => a.dynamicFilters[e.field_name] = r,
|
|
385
385
|
field_name: e.field_name,
|
|
386
386
|
label_name: e.field_label
|
|
387
387
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : g("", !0),
|
|
@@ -390,8 +390,8 @@ function Ie(t, s, i, o, r, d) {
|
|
|
390
390
|
type: "date",
|
|
391
391
|
is_required: !1,
|
|
392
392
|
show: !1,
|
|
393
|
-
modelValue:
|
|
394
|
-
"onUpdate:modelValue": (
|
|
393
|
+
modelValue: a.dynamicFilters[e.field_name],
|
|
394
|
+
"onUpdate:modelValue": (r) => a.dynamicFilters[e.field_name] = r,
|
|
395
395
|
field_name: e.field_name,
|
|
396
396
|
label_name: e.field_label
|
|
397
397
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : g("", !0),
|
|
@@ -399,8 +399,8 @@ function Ie(t, s, i, o, r, d) {
|
|
|
399
399
|
key: 3,
|
|
400
400
|
is_required: !1,
|
|
401
401
|
show: !1,
|
|
402
|
-
modelValue:
|
|
403
|
-
"onUpdate:modelValue": (
|
|
402
|
+
modelValue: a.dynamicFilters[e.field_name],
|
|
403
|
+
"onUpdate:modelValue": (r) => a.dynamicFilters[e.field_name] = r,
|
|
404
404
|
field_name: e.field_name,
|
|
405
405
|
label_name: e.field_label,
|
|
406
406
|
date_format: e.date_format || "YYYY-MM-DD"
|
|
@@ -412,8 +412,8 @@ function Ie(t, s, i, o, r, d) {
|
|
|
412
412
|
key: 0,
|
|
413
413
|
has_cancel: !0,
|
|
414
414
|
options: e.hasOwnFilter.options,
|
|
415
|
-
modelValue:
|
|
416
|
-
"onUpdate:modelValue": (
|
|
415
|
+
modelValue: a.dynamicFilters[e.field_name],
|
|
416
|
+
"onUpdate:modelValue": (r) => a.dynamicFilters[e.field_name] = r,
|
|
417
417
|
is_required: !1,
|
|
418
418
|
field_name: e.field_name,
|
|
419
419
|
label_name: e.field_label,
|
|
@@ -425,8 +425,8 @@ function Ie(t, s, i, o, r, d) {
|
|
|
425
425
|
type: "text",
|
|
426
426
|
is_required: !1,
|
|
427
427
|
show: !1,
|
|
428
|
-
modelValue:
|
|
429
|
-
"onUpdate:modelValue": (
|
|
428
|
+
modelValue: a.dynamicFilters[e.field_name],
|
|
429
|
+
"onUpdate:modelValue": (r) => a.dynamicFilters[e.field_name] = r,
|
|
430
430
|
field_name: e.field_name,
|
|
431
431
|
label_name: e.field_label
|
|
432
432
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : g("", !0),
|
|
@@ -435,15 +435,15 @@ function Ie(t, s, i, o, r, d) {
|
|
|
435
435
|
type: "date",
|
|
436
436
|
is_required: !1,
|
|
437
437
|
show: !1,
|
|
438
|
-
modelValue:
|
|
439
|
-
"onUpdate:modelValue": (
|
|
438
|
+
modelValue: a.dynamicFilters[e.field_name],
|
|
439
|
+
"onUpdate:modelValue": (r) => a.dynamicFilters[e.field_name] = r,
|
|
440
440
|
field_name: e.field_name,
|
|
441
441
|
label_name: e.field_label
|
|
442
442
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : g("", !0)
|
|
443
443
|
], 64)) : g("", !0)
|
|
444
444
|
], 64))), 128))
|
|
445
445
|
], 2),
|
|
446
|
-
l("div",
|
|
446
|
+
l("div", ae, [
|
|
447
447
|
i.enable_select_deselect_delete ? (n(), _(y, {
|
|
448
448
|
key: 0,
|
|
449
449
|
onClick: d.toggleSelectAll,
|
|
@@ -473,12 +473,12 @@ function Ie(t, s, i, o, r, d) {
|
|
|
473
473
|
x(y, {
|
|
474
474
|
onClick: d.delayedPrint,
|
|
475
475
|
tag: "button",
|
|
476
|
-
is_loading:
|
|
476
|
+
is_loading: a.isLoadinPrint,
|
|
477
477
|
button_type: "light",
|
|
478
478
|
has_border_reduced: !1,
|
|
479
479
|
classes: "rounded-lg lg:rounded-none",
|
|
480
|
-
svg_icon: `<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
|
|
481
|
-
<path stroke="currentColor" stroke-linejoin="round" stroke-width="2" d="M16.444 18H19a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h2.556M17 11V5a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v6h10ZM7 15h10v4a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-4Z"
|
|
480
|
+
svg_icon: `<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
|
|
481
|
+
<path stroke="currentColor" stroke-linejoin="round" stroke-width="2" d="M16.444 18H19a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h2.556M17 11V5a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v6h10ZM7 15h10v4a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-4Z"/>
|
|
482
482
|
</svg>`
|
|
483
483
|
}, {
|
|
484
484
|
default: C(() => [
|
|
@@ -492,9 +492,9 @@ function Ie(t, s, i, o, r, d) {
|
|
|
492
492
|
button_type: "light",
|
|
493
493
|
has_border_reduced: !1,
|
|
494
494
|
classes: "rounded-lg lg:rounded-none",
|
|
495
|
-
svg_icon: `<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
|
|
496
|
-
<path stroke="currentColor" stroke-linejoin="round" stroke-width="2" d="M10 3v4a1 1 0 0 1-1 1H5m14-4v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z"
|
|
497
|
-
</svg
|
|
495
|
+
svg_icon: `<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
|
|
496
|
+
<path stroke="currentColor" stroke-linejoin="round" stroke-width="2" d="M10 3v4a1 1 0 0 1-1 1H5m14-4v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z"/>
|
|
497
|
+
</svg>
|
|
498
498
|
`
|
|
499
499
|
}, {
|
|
500
500
|
default: C(() => [
|
|
@@ -544,22 +544,22 @@ function Ie(t, s, i, o, r, d) {
|
|
|
544
544
|
], -1))
|
|
545
545
|
], 2),
|
|
546
546
|
V(l("div", {
|
|
547
|
-
id: "db_" +
|
|
547
|
+
id: "db_" + a.Random_string,
|
|
548
548
|
class: "z-10 absolute w-42 bg-white rounded-lg shadow-sm dark:bg-gray-700"
|
|
549
549
|
}, [
|
|
550
550
|
l("ul", {
|
|
551
551
|
class: "p-3 space-y-1 text-sm text-gray-700 dark:text-gray-200",
|
|
552
|
-
"aria-labelledby": "db_" +
|
|
552
|
+
"aria-labelledby": "db_" + a.Random_string
|
|
553
553
|
}, [
|
|
554
554
|
(n(!0), c(f, null, v(i.columns, (e, h) => (n(), c("li", null, [
|
|
555
555
|
l("div", de, [
|
|
556
556
|
V(l("input", {
|
|
557
557
|
id: "cb_" + e.field_name,
|
|
558
558
|
type: "checkbox",
|
|
559
|
-
"onUpdate:modelValue": (
|
|
559
|
+
"onUpdate:modelValue": (r) => a.columnVisibility[e.field_name] = r,
|
|
560
560
|
class: "w-4 h-4 rounded-sm"
|
|
561
561
|
}, null, 8, oe), [
|
|
562
|
-
[z,
|
|
562
|
+
[z, a.columnVisibility[e.field_name]]
|
|
563
563
|
]),
|
|
564
564
|
l("label", {
|
|
565
565
|
for: "cb_" + e.field_name,
|
|
@@ -568,8 +568,8 @@ function Ie(t, s, i, o, r, d) {
|
|
|
568
568
|
])
|
|
569
569
|
]))), 256))
|
|
570
570
|
], 8, ne)
|
|
571
|
-
], 8,
|
|
572
|
-
[Z,
|
|
571
|
+
], 8, re), [
|
|
572
|
+
[Z, a.isOpenColumnVisibility]
|
|
573
573
|
])
|
|
574
574
|
])), [
|
|
575
575
|
[p, d.closeColumnVisibilityDropdown]
|
|
@@ -581,23 +581,23 @@ function Ie(t, s, i, o, r, d) {
|
|
|
581
581
|
button_type: "red",
|
|
582
582
|
has_border_reduced: !1,
|
|
583
583
|
classes: "rounded-lg lg:rounded-none lg:rounded-e-lg!",
|
|
584
|
-
is_disabled:
|
|
585
|
-
svg_icon: `<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
|
|
586
|
-
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 7h14m-9 3v8m4-8v8M10 3h4a1 1 0 0 1 1 1v3H9V4a1 1 0 0 1 1-1ZM6 7h12v13a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V7Z"
|
|
584
|
+
is_disabled: a.checkedIds.length <= 0,
|
|
585
|
+
svg_icon: `<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
|
|
586
|
+
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 7h14m-9 3v8m4-8v8M10 3h4a1 1 0 0 1 1 1v3H9V4a1 1 0 0 1 1-1ZM6 7h12v13a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V7Z"/>
|
|
587
587
|
</svg>`
|
|
588
588
|
}, {
|
|
589
589
|
default: C(() => [
|
|
590
|
-
b(u(i.language?.delete_selected ?? "Delete selected") + " " + u(
|
|
590
|
+
b(u(i.language?.delete_selected ?? "Delete selected") + " " + u(a.checkedIds.length > 0 ? `(${a.checkedIds.length})` : ""), 1)
|
|
591
591
|
]),
|
|
592
592
|
_: 1
|
|
593
593
|
}, 8, ["onClick", "is_disabled"])) : g("", !0)
|
|
594
594
|
]),
|
|
595
595
|
l("div", {
|
|
596
|
-
id: "print_" +
|
|
596
|
+
id: "print_" + a.Random_string,
|
|
597
597
|
class: "overflow-auto rounded-lg dark:text-gray-400 dark:bg-gray-800"
|
|
598
598
|
}, [
|
|
599
599
|
l("table", {
|
|
600
|
-
id: "table" +
|
|
600
|
+
id: "table" + a.Random_string,
|
|
601
601
|
class: "w-full h-full max-w-full overflow-hidden bg-white border-separate xl:overflow-auto lg:border-collapse print:border-collapse! border-spacing-y-5 lg:border-spacing-y-0 print:border-spacing-y-0! dark:border-gray-800 dark:bg-gray-900"
|
|
602
602
|
}, [
|
|
603
603
|
l("thead", he, [
|
|
@@ -605,12 +605,12 @@ function Ie(t, s, i, o, r, d) {
|
|
|
605
605
|
i.enable_select_deselect_delete ? (n(), c("th", me)) : g("", !0),
|
|
606
606
|
(n(!0), c(f, null, v(d.visibleColumns, (e, h) => (n(), c("th", {
|
|
607
607
|
key: h,
|
|
608
|
-
onClick: (
|
|
608
|
+
onClick: (r) => d.updateSortColumn(e.field_name, e.sortable),
|
|
609
609
|
class: "w-full px-4 py-2 lg:w-2/12 print:w-2/12! print:border!"
|
|
610
610
|
}, [
|
|
611
611
|
l("div", _e, [
|
|
612
612
|
l("span", null, u(e.field_label), 1),
|
|
613
|
-
|
|
613
|
+
a.sortField === e.field_name ? (n(), c("span", pe, s[8] || (s[8] = [
|
|
614
614
|
l("svg", {
|
|
615
615
|
class: "w-4 h-4",
|
|
616
616
|
"aria-hidden": "true",
|
|
@@ -632,7 +632,7 @@ function Ie(t, s, i, o, r, d) {
|
|
|
632
632
|
])
|
|
633
633
|
]),
|
|
634
634
|
l("tbody", ye, [
|
|
635
|
-
|
|
635
|
+
a.isLoading ? (n(), c("tr", be, [
|
|
636
636
|
l("td", {
|
|
637
637
|
colspan: i.columns.length + (i.enable_select_deselect_delete ? 1 : 0)
|
|
638
638
|
}, s[9] || (s[9] = [
|
|
@@ -679,14 +679,14 @@ function Ie(t, s, i, o, r, d) {
|
|
|
679
679
|
], -1)
|
|
680
680
|
]), 8, ke)
|
|
681
681
|
])) : g("", !0),
|
|
682
|
-
!
|
|
682
|
+
!a.isLoading && a.error ? (n(), c("tr", we, [
|
|
683
683
|
l("td", {
|
|
684
684
|
colspan: i.columns.length + (i.enable_select_deselect_delete ? 1 : 0),
|
|
685
685
|
class: "px-5 py-6 border! dark:border-gray-700"
|
|
686
686
|
}, [
|
|
687
687
|
l("div", ve, [
|
|
688
688
|
l("p", Ce, u(i.language?.failed_to_load_data ?? "Could not load the data."), 1),
|
|
689
|
-
|
|
689
|
+
a.errorMessage ? (n(), c("p", Ae, u(a.errorMessage), 1)) : g("", !0),
|
|
690
690
|
x(y, {
|
|
691
691
|
tag: "button",
|
|
692
692
|
button_type: "light",
|
|
@@ -700,56 +700,56 @@ function Ie(t, s, i, o, r, d) {
|
|
|
700
700
|
])
|
|
701
701
|
], 8, xe)
|
|
702
702
|
])) : g("", !0),
|
|
703
|
-
!
|
|
703
|
+
!a.isLoading && !a.error ? (n(!0), c(f, { key: 2 }, v(a.itemLists.data, (e, h) => (n(), c("tr", {
|
|
704
704
|
key: h,
|
|
705
705
|
class: "text-gray-500 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-800 dark:hover:text-gray-200"
|
|
706
706
|
}, [
|
|
707
707
|
i.enable_select_deselect_delete ? (n(), c("td", Ve, [
|
|
708
708
|
l("input", {
|
|
709
|
-
checked:
|
|
710
|
-
onChange: (
|
|
709
|
+
checked: a.checkedIds.includes(e.id),
|
|
710
|
+
onChange: (r) => d.toggleCheck(e.id),
|
|
711
711
|
type: "checkbox",
|
|
712
712
|
value: "",
|
|
713
713
|
class: "w-4 h-4 rounded-sm"
|
|
714
714
|
}, null, 40, Se)
|
|
715
715
|
])) : g("", !0),
|
|
716
|
-
(n(!0), c(f, null, v(d.visibleColumns, (
|
|
717
|
-
style: Y(
|
|
716
|
+
(n(!0), c(f, null, v(d.visibleColumns, (r, O) => (n(), c("td", {
|
|
717
|
+
style: Y(r?.style),
|
|
718
718
|
key: O,
|
|
719
|
-
"data-label":
|
|
720
|
-
class: S(["text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none print:before:content-none! flex flex-
|
|
719
|
+
"data-label": r.field_label,
|
|
720
|
+
class: S(["text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none print:before:content-none! flex flex-row flex-wrap items-center justify-between gap-x-4 gap-y-1 wrap-anywhere lg:wrap-normal lg:table-cell print:table-cell! py-2.5 px-4 lg:py-3 lg:px-4 print:py-3! print:px-4! border! dark:border-gray-700", {
|
|
721
721
|
/* 'rounded-t-lg lg:rounded-t-none': colIndex === 0,*/
|
|
722
722
|
"rounded-b-lg lg:rounded-b-none!": O === i.columns.length - 1
|
|
723
723
|
}])
|
|
724
724
|
}, [
|
|
725
725
|
l("div", {
|
|
726
|
-
class: S([
|
|
726
|
+
class: S([r.field_name === "action" ? "" : "overflow-auto", "td_overflow_auto max-h-40 max-w-100"])
|
|
727
727
|
}, [
|
|
728
|
-
|
|
728
|
+
r.tdComp ? (n(), _(Q(d.forDynCompIs(r.tdComp)), {
|
|
729
729
|
key: 0,
|
|
730
730
|
language: i.language,
|
|
731
731
|
row: e,
|
|
732
|
-
field:
|
|
732
|
+
field: r.field_name,
|
|
733
733
|
xprops: i.xprops,
|
|
734
|
-
tdProps:
|
|
734
|
+
tdProps: r.tdProps,
|
|
735
735
|
onDeleteAction: (m) => {
|
|
736
|
-
d.GetItemLists(), d.cellAction("deleteAction", e, m,
|
|
736
|
+
d.GetItemLists(), d.cellAction("deleteAction", e, m, r);
|
|
737
737
|
},
|
|
738
738
|
onEditAction: (m) => {
|
|
739
|
-
d.editAction(e), d.cellAction("editAction", e, m,
|
|
739
|
+
d.editAction(e), d.cellAction("editAction", e, m, r);
|
|
740
740
|
},
|
|
741
741
|
onGeneralAction: (m) => {
|
|
742
|
-
d.generalAction(e), d.cellAction("generalAction", e, m,
|
|
742
|
+
d.generalAction(e), d.cellAction("generalAction", e, m, r);
|
|
743
743
|
},
|
|
744
744
|
onGeneralAction1: (m) => {
|
|
745
|
-
d.generalAction1(e), d.cellAction("generalAction1", e, m,
|
|
745
|
+
d.generalAction1(e), d.cellAction("generalAction1", e, m, r);
|
|
746
746
|
},
|
|
747
747
|
onGeneralAction2: (m) => {
|
|
748
|
-
d.generalAction2(e), d.cellAction("generalAction2", e, m,
|
|
748
|
+
d.generalAction2(e), d.cellAction("generalAction2", e, m, r);
|
|
749
749
|
},
|
|
750
|
-
onCellAction: (m, G) => d.cellAction(m, e, G,
|
|
750
|
+
onCellAction: (m, G) => d.cellAction(m, e, G, r)
|
|
751
751
|
}, null, 40, ["language", "row", "field", "xprops", "tdProps", "onDeleteAction", "onEditAction", "onGeneralAction", "onGeneralAction1", "onGeneralAction2", "onCellAction"])) : (n(), c(f, { key: 1 }, [
|
|
752
|
-
b(u(e[
|
|
752
|
+
b(u(e[r.field_name]), 1)
|
|
753
753
|
], 64))
|
|
754
754
|
], 2)
|
|
755
755
|
], 14, Fe))), 128))
|
|
@@ -761,17 +761,17 @@ function Ie(t, s, i, o, r, d) {
|
|
|
761
761
|
x(P, {
|
|
762
762
|
class: "mt-3 mb-0",
|
|
763
763
|
classes: "px-4 py-3 sm:px-6",
|
|
764
|
-
data:
|
|
765
|
-
limit:
|
|
766
|
-
size:
|
|
767
|
-
align:
|
|
764
|
+
data: a.itemLists,
|
|
765
|
+
limit: a.limit,
|
|
766
|
+
size: a.size,
|
|
767
|
+
align: a.align,
|
|
768
768
|
onPaginationChangePage: d.GetItemLists
|
|
769
769
|
}, null, 8, ["data", "limit", "size", "align", "onPaginationChangePage"])
|
|
770
770
|
])
|
|
771
771
|
])
|
|
772
772
|
], 64);
|
|
773
773
|
}
|
|
774
|
-
const Ee = /* @__PURE__ */ J(X, [["render", Ie], ["__scopeId", "data-v-
|
|
774
|
+
const Ee = /* @__PURE__ */ J(X, [["render", Ie], ["__scopeId", "data-v-cd37a6ae"]]);
|
|
775
775
|
export {
|
|
776
776
|
Ee as default
|
|
777
777
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import M from "../../../node_modules/vue3-print-nb/dist/vue3-print-nb.es.js";
|
|
2
|
-
import { resolveComponent as D, resolveDirective as E, createElementBlock as g, openBlock as d, withDirectives as j, createElementVNode as e, createCommentVNode as v, createVNode as
|
|
2
|
+
import { resolveComponent as D, resolveDirective as E, createElementBlock as g, openBlock as d, withDirectives as j, createElementVNode as e, createCommentVNode as v, createVNode as _, vModelText as S, withCtx as L, createTextVNode as f, Fragment as b, renderList as w, toDisplayString as y, normalizeClass as k, createBlock as I, resolveDynamicComponent as O, withModifiers as P } from "vue";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import B from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
5
5
|
const H = {
|
|
@@ -93,8 +93,8 @@ const H = {
|
|
|
93
93
|
},
|
|
94
94
|
methods: {
|
|
95
95
|
async exportToExcel() {
|
|
96
|
-
const r = await import("xlsx"), t = r.default || r, n = document.querySelector("#table" + this.Random_string), c = Array.from(n.querySelectorAll("thead th")).map((o) => o.innerText), a = ["", ...["action"]], p = c.map((o,
|
|
97
|
-
t.utils.book_append_sheet(i,
|
|
96
|
+
const r = await import("xlsx"), t = r.default || r, n = document.querySelector("#table" + this.Random_string), c = Array.from(n.querySelectorAll("thead th")).map((o) => o.innerText), a = ["", ...["action"]], p = c.map((o, u) => a.includes(o) ? u : -1).filter((o) => o !== -1), x = Array.from(n.querySelectorAll("tbody tr")).map((o) => Array.from(o.querySelectorAll("td")).map((C) => C.innerText).filter((C, T) => !p.includes(T))), s = [c.filter((o, u) => !p.includes(u)), ...x], h = t.utils.aoa_to_sheet(s), i = t.utils.book_new();
|
|
97
|
+
t.utils.book_append_sheet(i, h, "Sheet1"), t.writeFile(i, "exported-file.xlsx");
|
|
98
98
|
},
|
|
99
99
|
generateRandomString(r) {
|
|
100
100
|
let t = "";
|
|
@@ -173,7 +173,7 @@ const H = {
|
|
|
173
173
|
}, V = { class: "p-0" }, K = {
|
|
174
174
|
ref: "hiddenPrintBtn",
|
|
175
175
|
style: { display: "none" }
|
|
176
|
-
}, q = { class: "flex flex-col flex-wrap gap-4 pb-4 xl:flex-row xl:items-center xl:justify-between" }, R = { class: "flex items-center gap-2" },
|
|
176
|
+
}, q = { class: "flex flex-col flex-wrap gap-4 pb-4 xl:flex-row xl:items-center xl:justify-between" }, R = { class: "flex items-center gap-2" }, G = { class: "mt-[9px]" }, N = { class: "relative" }, F = { class: "flex flex-wrap mb-3" }, Z = ["id"], z = ["id"], U = { class: "hidden text-sm font-normal text-center text-gray-600 print:table-header-group! lg:table-header-group dark:border-gray-600 bg-gray-50 dark:bg-gray-800 dark:text-gray-400 print:border-[1px]!" }, X = ["onClick"], W = { class: "inline-flex items-center justify-center gap-1" }, J = {
|
|
177
177
|
key: 0,
|
|
178
178
|
class: "print:hidden!"
|
|
179
179
|
}, Q = { class: "bg-white dark:bg-gray-900" }, Y = { key: 0 }, $ = ["colspan"], ee = ["data-label"], te = {
|
|
@@ -183,7 +183,7 @@ const H = {
|
|
|
183
183
|
key: 0,
|
|
184
184
|
class: "flex items-center justify-between px-4 py-3 bg-white border-gray-200 sm:px-6 dark:text-gray-400 dark:bg-gray-800"
|
|
185
185
|
}, ae = { class: "flex flex-col items-center w-full gap-2" }, le = { class: "text-sm text-gray-700 dark:text-gray-400" }, ne = { class: "font-semibold text-gray-900 dark:text-white" }, ie = { class: "font-semibold text-gray-900 dark:text-white" }, oe = { class: "font-semibold text-gray-900 dark:text-white" }, de = { "aria-label": "Page navigation" }, ge = { class: "flex items-center h-8 -space-x-px text-sm" }, ce = ["onClick", "aria-current"];
|
|
186
|
-
function
|
|
186
|
+
function he(r, t, n, c, l, a) {
|
|
187
187
|
const p = D("dropdown"), x = D("gl-button"), A = E("print");
|
|
188
188
|
return d(), g("div", V, [
|
|
189
189
|
j(e("button", K, null, 512), [
|
|
@@ -192,8 +192,8 @@ function ue(r, t, n, c, l, a) {
|
|
|
192
192
|
e("div", q, [
|
|
193
193
|
e("div", R, [
|
|
194
194
|
t[4] || (t[4] = e("span", { class: "font-medium" }, " Show ", -1)),
|
|
195
|
-
e("div",
|
|
196
|
-
|
|
195
|
+
e("div", G, [
|
|
196
|
+
_(p, {
|
|
197
197
|
has_cancel: !1,
|
|
198
198
|
options: l.showNoOfEntries,
|
|
199
199
|
modelValue: l.itemsPerPage,
|
|
@@ -212,7 +212,7 @@ function ue(r, t, n, c, l, a) {
|
|
|
212
212
|
for: "table-search",
|
|
213
213
|
class: "sr-only"
|
|
214
214
|
}, "Search", -1)),
|
|
215
|
-
e("div",
|
|
215
|
+
e("div", N, [
|
|
216
216
|
t[6] || (t[6] = e("div", { class: "absolute inset-y-0 left-0 flex items-center pointer-events-none rtl:inset-r-0 rtl:right-0 ps-3" }, null, -1)),
|
|
217
217
|
j(e("input", {
|
|
218
218
|
type: "text",
|
|
@@ -225,15 +225,15 @@ function ue(r, t, n, c, l, a) {
|
|
|
225
225
|
])
|
|
226
226
|
]),
|
|
227
227
|
e("div", F, [
|
|
228
|
-
|
|
228
|
+
_(x, {
|
|
229
229
|
onClick: a.delayedPrint,
|
|
230
230
|
tag: "button",
|
|
231
231
|
is_loading: r.isLoadingPrint,
|
|
232
232
|
button_type: "light",
|
|
233
233
|
has_border_reduced: !1,
|
|
234
234
|
classes: "rounded-s-lg",
|
|
235
|
-
svg_icon: `<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
|
|
236
|
-
<path stroke="currentColor" stroke-linejoin="round" stroke-width="2" d="M16.444 18H19a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h2.556M17 11V5a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v6h10ZM7 15h10v4a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-4Z"
|
|
235
|
+
svg_icon: `<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
|
|
236
|
+
<path stroke="currentColor" stroke-linejoin="round" stroke-width="2" d="M16.444 18H19a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h2.556M17 11V5a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v6h10ZM7 15h10v4a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-4Z"/>
|
|
237
237
|
</svg>`
|
|
238
238
|
}, {
|
|
239
239
|
default: L(() => t[8] || (t[8] = [
|
|
@@ -241,15 +241,15 @@ function ue(r, t, n, c, l, a) {
|
|
|
241
241
|
])),
|
|
242
242
|
_: 1
|
|
243
243
|
}, 8, ["onClick", "is_loading"]),
|
|
244
|
-
|
|
244
|
+
_(x, {
|
|
245
245
|
onClick: a.exportToExcel,
|
|
246
246
|
tag: "button",
|
|
247
247
|
button_type: "light",
|
|
248
248
|
has_border_reduced: !1,
|
|
249
249
|
classes: "rounded-e-lg",
|
|
250
|
-
svg_icon: `<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
|
|
251
|
-
<path stroke="currentColor" stroke-linejoin="round" stroke-width="2" d="M10 3v4a1 1 0 0 1-1 1H5m14-4v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z"
|
|
252
|
-
</svg
|
|
250
|
+
svg_icon: `<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
|
|
251
|
+
<path stroke="currentColor" stroke-linejoin="round" stroke-width="2" d="M10 3v4a1 1 0 0 1-1 1H5m14-4v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V7.914a1 1 0 0 1 .293-.707l3.914-3.914A1 1 0 0 1 9.914 3H18a1 1 0 0 1 1 1Z"/>
|
|
252
|
+
</svg>
|
|
253
253
|
`
|
|
254
254
|
}, {
|
|
255
255
|
default: L(() => t[9] || (t[9] = [
|
|
@@ -268,8 +268,8 @@ function ue(r, t, n, c, l, a) {
|
|
|
268
268
|
}, [
|
|
269
269
|
e("thead", U, [
|
|
270
270
|
e("tr", null, [
|
|
271
|
-
(d(!0), g(b, null, w(n.columns, (s,
|
|
272
|
-
key:
|
|
271
|
+
(d(!0), g(b, null, w(n.columns, (s, h) => (d(), g("th", {
|
|
272
|
+
key: h,
|
|
273
273
|
onClick: (i) => a.sort(s.field_name, s.sortable),
|
|
274
274
|
class: "w-full px-4 py-2 lg:w-2/12 print:w-2/12! print:border!"
|
|
275
275
|
}, [
|
|
@@ -344,20 +344,20 @@ function ue(r, t, n, c, l, a) {
|
|
|
344
344
|
], -1)
|
|
345
345
|
]), 8, $)
|
|
346
346
|
])) : v("", !0),
|
|
347
|
-
l.isLoading ? v("", !0) : (d(!0), g(b, { key: 1 }, w(a.paginatedData, (s,
|
|
348
|
-
key:
|
|
347
|
+
l.isLoading ? v("", !0) : (d(!0), g(b, { key: 1 }, w(a.paginatedData, (s, h) => (d(), g("tr", {
|
|
348
|
+
key: h,
|
|
349
349
|
class: "text-gray-500 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-800 dark:hover:text-gray-200"
|
|
350
350
|
}, [
|
|
351
351
|
(d(!0), g(b, null, w(n.columns, (i, m) => (d(), g("td", {
|
|
352
352
|
key: m,
|
|
353
353
|
"data-label": i.field_label,
|
|
354
|
-
class:
|
|
354
|
+
class: k(["text-pretty before:content-[attr(data-label)] before:font-bold dark:before:text-gray-400 lg:before:content-[''] print:before:content-['']! flex flex-row flex-wrap items-center justify-between gap-x-4 gap-y-1 wrap-anywhere lg:wrap-normal lg:table-cell print:table-cell! py-2.5 px-4 lg:py-3 lg:px-4 print:py-3! print:px-4! border-[1px]! dark:border-gray-700", {
|
|
355
355
|
"rounded-t-lg lg:rounded-t-none!": m === 0,
|
|
356
356
|
"rounded-b-lg lg:rounded-b-none!": m === n.columns.length - 1
|
|
357
357
|
}])
|
|
358
358
|
}, [
|
|
359
359
|
e("div", {
|
|
360
|
-
class:
|
|
360
|
+
class: k([i.field_name === "action" ? "" : "overflow-auto", "td_overflow_auto max-h-40 max-w-100"])
|
|
361
361
|
}, [
|
|
362
362
|
i.tdComp ? (d(), I(O(a.forDynCompIs(i.tdComp)), {
|
|
363
363
|
key: 0,
|
|
@@ -372,7 +372,7 @@ function ue(r, t, n, c, l, a) {
|
|
|
372
372
|
a.generalAction(s), a.cellAction("generalAction", s, o, i);
|
|
373
373
|
},
|
|
374
374
|
onDeleteAction: (o) => a.cellAction("deleteAction", s, o, i),
|
|
375
|
-
onCellAction: (o,
|
|
375
|
+
onCellAction: (o, u) => a.cellAction(o, s, u, i)
|
|
376
376
|
}, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction", "onGeneralAction", "onDeleteAction", "onCellAction"])) : (d(), g(b, { key: 1 }, [
|
|
377
377
|
a.isEscapedColumn(i) ? (d(), g("p", te, y(s[i.field_name]), 1)) : (d(), g("p", {
|
|
378
378
|
key: 1,
|
|
@@ -423,14 +423,17 @@ function ue(r, t, n, c, l, a) {
|
|
|
423
423
|
], -1)
|
|
424
424
|
]))
|
|
425
425
|
]),
|
|
426
|
-
(d(!0), g(b, null, w(a.displayedPageNumbers, (s) => (d(), g("li", {
|
|
426
|
+
(d(!0), g(b, null, w(a.displayedPageNumbers, (s) => (d(), g("li", {
|
|
427
|
+
key: s,
|
|
428
|
+
class: k(Math.abs(s - l.currentPage) > 2 ? "hidden sm:block" : "")
|
|
429
|
+
}, [
|
|
427
430
|
e("a", {
|
|
428
431
|
href: "#",
|
|
429
|
-
onClick: P((
|
|
430
|
-
class:
|
|
432
|
+
onClick: P((h) => a.goToPage(s), ["prevent"]),
|
|
433
|
+
class: k(l.currentPage === s ? "z-10 flex items-center justify-center h-8 px-3 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white" : "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"),
|
|
431
434
|
"aria-current": l.currentPage === s ? "page" : void 0
|
|
432
435
|
}, y(s), 11, ce)
|
|
433
|
-
]))), 128)),
|
|
436
|
+
], 2))), 128)),
|
|
434
437
|
e("li", null, [
|
|
435
438
|
e("a", {
|
|
436
439
|
href: "#",
|
|
@@ -461,7 +464,7 @@ function ue(r, t, n, c, l, a) {
|
|
|
461
464
|
])) : v("", !0)
|
|
462
465
|
]);
|
|
463
466
|
}
|
|
464
|
-
const pe = /* @__PURE__ */ B(H, [["render",
|
|
467
|
+
const pe = /* @__PURE__ */ B(H, [["render", he], ["__scopeId", "data-v-d7a78d8a"]]);
|
|
465
468
|
export {
|
|
466
469
|
pe as default
|
|
467
470
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { useSlots as
|
|
2
|
-
import { nextGlId as
|
|
3
|
-
const
|
|
1
|
+
import { useSlots as G, ref as k, Comment as j, provide as L, computed as w, watch as S, nextTick as q, onMounted as z, onBeforeUnmount as J, createElementBlock as s, openBlock as i, Fragment as B, createElementVNode as u, withDirectives as O, normalizeClass as p, renderList as P, createCommentVNode as I, createTextVNode as Q, toDisplayString as A, renderSlot as X, vShow as Y } from "vue";
|
|
2
|
+
import { nextGlId as Z } from "./useGlFocusTrap.js";
|
|
3
|
+
const ee = ["onClick"], te = ["id", "aria-selected", "tabindex", "onKeydown"], re = ["innerHTML"], ae = { class: "relative flex flex-col w-full min-w-0 mb-6 wrap-break-word rounded-[20px] border border-gray-200 dark:border-gray-700" }, le = { class: "flex-auto px-4 py-5" }, oe = ["aria-labelledby"], ie = {
|
|
4
4
|
__name: "GlTabsWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
autoFlexTabs: {
|
|
@@ -29,115 +29,122 @@ const Y = ["onClick"], Z = ["id", "aria-selected", "tabindex", "onKeydown"], ee
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
emits: ["TabChange"],
|
|
32
|
-
setup(g, { expose:
|
|
33
|
-
const d = g,
|
|
34
|
-
(
|
|
35
|
-
),
|
|
32
|
+
setup(g, { expose: E, emit: R }) {
|
|
33
|
+
const d = g, D = R, H = G(), n = k(
|
|
34
|
+
(H.default?.() ?? []).filter((e) => e.type !== j && e.props !== null).map((e) => e.props)
|
|
35
|
+
), F = (e) => typeof e == "string" && /<\s*(svg|path|g|circle|rect)\b/i.test(e), a = k("");
|
|
36
36
|
L("selectedTitle", a), L("glTabsKeepAlive", w(() => d.keepAlive));
|
|
37
|
-
const
|
|
37
|
+
const c = w(() => d.variant === "underline"), W = (e) => {
|
|
38
38
|
const r = a.value === e.title;
|
|
39
|
-
return
|
|
39
|
+
return c.value ? [
|
|
40
40
|
"px-3 pt-3.5 pb-3 text-sm border-b-[3px] cursor-pointer",
|
|
41
41
|
r ? "font-bold text-gray-900 border-primary dark:text-white dark:border-primaryDark" : "font-medium border-transparent hover:text-gray-900 hover:border-gray-300 dark:hover:text-white dark:hover:border-gray-600"
|
|
42
42
|
] : [
|
|
43
43
|
"px-5 py-3 text-xs font-bold rounded-xl",
|
|
44
44
|
r ? "text-white bg-primary dark:bg-primaryDark" : " bg-gray-50 dark:bg-gray-900 hover:text-gray-900 hover:bg-gray-100 dark:hover:bg-gray-800 dark:hover:text-white border border-gray-300 dark:border-gray-700 hover:border-primary dark:hover:border-primaryDark"
|
|
45
45
|
];
|
|
46
|
-
}, T =
|
|
47
|
-
const r =
|
|
48
|
-
r && (a.value = r.title, document.getElementById(
|
|
49
|
-
},
|
|
50
|
-
const t =
|
|
46
|
+
}, T = Z("gl-tabs"), C = `${T}-panel`, y = (e) => `${T}-tab-${e}`, b = k(null), h = w(() => n.value.findIndex((e) => e.title === a.value)), $ = (e, r) => h.value >= 0 ? e.title === a.value : r === 0, K = (e) => {
|
|
47
|
+
const r = n.value[e];
|
|
48
|
+
r && (a.value = r.title, document.getElementById(y(e))?.focus());
|
|
49
|
+
}, U = (e, r) => {
|
|
50
|
+
const t = n.value.length;
|
|
51
51
|
if (t === 0) return;
|
|
52
|
-
const
|
|
52
|
+
const l = b.value ? getComputedStyle(b.value).direction === "rtl" : !1, f = l ? "ArrowLeft" : "ArrowRight", V = l ? "ArrowRight" : "ArrowLeft";
|
|
53
53
|
let o = null;
|
|
54
|
-
e.key ===
|
|
54
|
+
e.key === f ? o = (r + 1) % t : e.key === V ? o = (r - 1 + t) % t : e.key === "Home" ? o = 0 : e.key === "End" ? o = t - 1 : (e.key === "Enter" || e.key === " ") && (o = r), o !== null && (e.preventDefault(), K(o));
|
|
55
55
|
}, _ = (e) => e.trim().toLowerCase().replace(/\s+/g, "-");
|
|
56
|
-
let
|
|
57
|
-
const
|
|
56
|
+
let v = !1;
|
|
57
|
+
const M = (e) => {
|
|
58
58
|
const r = _(e), t = encodeURIComponent(r);
|
|
59
|
-
window.location.hash.replace("#", "") !== t && (
|
|
60
|
-
},
|
|
59
|
+
window.location.hash.replace("#", "") !== t && (v = !0, window.location.hash = t), D("TabChange", e);
|
|
60
|
+
}, m = (e) => {
|
|
61
61
|
if (typeof e != "string") return;
|
|
62
|
-
|
|
62
|
+
n.value.find((t) => t.title === e) && (a.value = e);
|
|
63
63
|
};
|
|
64
|
-
|
|
65
|
-
setActiveTab:
|
|
64
|
+
E({
|
|
65
|
+
setActiveTab: m
|
|
66
66
|
});
|
|
67
67
|
const x = () => {
|
|
68
|
-
if (
|
|
69
|
-
|
|
68
|
+
if (v) {
|
|
69
|
+
v = !1;
|
|
70
70
|
return;
|
|
71
71
|
}
|
|
72
|
-
const e = decodeURIComponent(window.location.hash.replace("#", "")), r =
|
|
72
|
+
const e = decodeURIComponent(window.location.hash.replace("#", "")), r = n.value.find((t) => _(t.title) === e);
|
|
73
73
|
r && (a.value = r.title);
|
|
74
|
+
}, N = () => {
|
|
75
|
+
const e = b.value, r = e?.querySelector('[aria-selected="true"]');
|
|
76
|
+
if (!r || e.scrollWidth <= e.clientWidth)
|
|
77
|
+
return;
|
|
78
|
+
const t = e.getBoundingClientRect(), l = r.getBoundingClientRect();
|
|
79
|
+
(l.left < t.left || l.right > t.right) && (e.scrollLeft += l.left - t.left - 16);
|
|
74
80
|
};
|
|
75
|
-
return
|
|
76
|
-
|
|
77
|
-
}),
|
|
78
|
-
e && e !== a.value &&
|
|
79
|
-
}), j(() => {
|
|
80
|
-
x(), !a.value && d.activeTab && h(d.activeTab), window.addEventListener("hashchange", x);
|
|
81
|
+
return S(a, (e) => {
|
|
82
|
+
M(e), q(N);
|
|
83
|
+
}), S(() => d.activeTab, (e) => {
|
|
84
|
+
e && e !== a.value && m(e);
|
|
81
85
|
}), z(() => {
|
|
86
|
+
x(), !a.value && d.activeTab && m(d.activeTab), window.addEventListener("hashchange", x);
|
|
87
|
+
}), J(() => {
|
|
82
88
|
window.removeEventListener("hashchange", x);
|
|
83
|
-
}), (e, r) => (i(), s(
|
|
84
|
-
|
|
89
|
+
}), (e, r) => (i(), s(B, null, [
|
|
90
|
+
u("ul", {
|
|
85
91
|
ref_key: "tabList",
|
|
86
|
-
ref:
|
|
92
|
+
ref: b,
|
|
87
93
|
role: "tablist",
|
|
88
|
-
class:
|
|
94
|
+
class: p(["flex flex-row mb-0 list-none text-gray-500 dark:text-gray-400", [c.value ? "flex-nowrap overflow-x-auto overflow-y-hidden [scrollbar-width:none] lg:flex-wrap gap-1 px-2 mb-4 bg-white border border-gray-200 rounded-xl dark:bg-gray-900 dark:border-gray-700" : "flex-wrap gap-2 pt-3 pb-4", g.tabsWrapperClass]])
|
|
89
95
|
}, [
|
|
90
|
-
(i(!0), s(
|
|
96
|
+
(i(!0), s(B, null, P(n.value, (t, l) => (i(), s("li", {
|
|
91
97
|
key: t.title,
|
|
92
98
|
role: "presentation",
|
|
93
|
-
onClick: (
|
|
94
|
-
class:
|
|
95
|
-
"flex-auto ": g.autoFlexTabs && !
|
|
99
|
+
onClick: (f) => a.value = t.title,
|
|
100
|
+
class: p(["-mb-px text-center", {
|
|
101
|
+
"flex-auto ": g.autoFlexTabs && !c.value,
|
|
102
|
+
"shrink-0 whitespace-nowrap": c.value
|
|
96
103
|
}])
|
|
97
104
|
}, [
|
|
98
|
-
|
|
99
|
-
id:
|
|
105
|
+
u("a", {
|
|
106
|
+
id: y(l),
|
|
100
107
|
role: "tab",
|
|
101
108
|
"aria-selected": a.value === t.title ? "true" : "false",
|
|
102
109
|
"aria-controls": C,
|
|
103
|
-
tabindex:
|
|
104
|
-
onKeydown: (
|
|
105
|
-
class:
|
|
110
|
+
tabindex: $(t, l) ? 0 : -1,
|
|
111
|
+
onKeydown: (f) => U(f, l),
|
|
112
|
+
class: p([W(t), "block leading-normal tabs_buttons"])
|
|
106
113
|
}, [
|
|
107
|
-
t.icon &&
|
|
114
|
+
t.icon && F(t.icon) ? (i(), s("span", {
|
|
108
115
|
key: 0,
|
|
109
116
|
class: "inline-flex items-center justify-center me-2 align-middle",
|
|
110
117
|
innerHTML: t.icon
|
|
111
|
-
}, null, 8,
|
|
118
|
+
}, null, 8, re)) : t.icon ? (i(), s("i", {
|
|
112
119
|
key: 1,
|
|
113
|
-
class:
|
|
114
|
-
}, null, 2)) :
|
|
115
|
-
|
|
120
|
+
class: p([t.icon, "me-2 text-sm"])
|
|
121
|
+
}, null, 2)) : I("", !0),
|
|
122
|
+
Q(A(t.title) + " ", 1),
|
|
116
123
|
t.badge !== void 0 && t.badge !== null && t.badge !== "" ? (i(), s("span", {
|
|
117
124
|
key: 2,
|
|
118
|
-
class:
|
|
119
|
-
},
|
|
120
|
-
], 42,
|
|
121
|
-
], 10,
|
|
125
|
+
class: p(["inline-flex items-center px-2 py-0.5 ms-2 text-[11px] font-semibold rounded-full align-middle", a.value === t.title && !c.value ? "bg-white/20 text-white" : "bg-gray-100 text-gray-700 dark:bg-gray-700 dark:text-gray-200"])
|
|
126
|
+
}, A(t.badge), 3)) : I("", !0)
|
|
127
|
+
], 42, te)
|
|
128
|
+
], 10, ee))), 128))
|
|
122
129
|
], 2),
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
130
|
+
O(u("div", ae, [
|
|
131
|
+
u("div", le, [
|
|
132
|
+
u("div", {
|
|
126
133
|
id: C,
|
|
127
134
|
role: "tabpanel",
|
|
128
|
-
"aria-labelledby":
|
|
135
|
+
"aria-labelledby": h.value >= 0 ? y(h.value) : void 0,
|
|
129
136
|
tabindex: "0",
|
|
130
137
|
class: "tab-content tab-space"
|
|
131
138
|
}, [
|
|
132
|
-
|
|
133
|
-
], 8,
|
|
139
|
+
X(e.$slots, "default")
|
|
140
|
+
], 8, oe)
|
|
134
141
|
])
|
|
135
142
|
], 512), [
|
|
136
|
-
[
|
|
143
|
+
[Y, a.value]
|
|
137
144
|
])
|
|
138
145
|
], 64));
|
|
139
146
|
}
|
|
140
147
|
};
|
|
141
148
|
export {
|
|
142
|
-
|
|
149
|
+
ie as default
|
|
143
150
|
};
|
package/dist/golden-logic-ui.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-blue-600:oklch(54.6% .245 262.881);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-gray-950:oklch(13% .028 261.692);--color-white:#fff;--spacing:.25rem;--container-lg:32rem;--container-2xl:42rem;--container-4xl:56rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--font-weight-medium:500;--radius-md:.375rem;--radius-lg:.5rem;--ease-in-out:cubic-bezier(.4,0,.2,1);--blur-sm:8px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-primary:var(--theme-color);--color-primaryDark:var(--theme-dark-color)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*,:after,:before,::backdrop{border-color:var(--color-gray-200,currentcolor)}::file-selector-button{border-color:var(--color-gray-200,currentcolor)}.no-tailwindcss-base h1,.no-tailwindcss-base h2,.no-tailwindcss-base h3,.no-tailwindcss-base h4,.no-tailwindcss-base h5,.no-tailwindcss-base h6{font-size:revert;font-weight:revert}.no-tailwindcss-base ol,.no-tailwindcss-base ul{list-style:revert;margin:revert;padding:revert}}@layer components;@layer utilities{.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.container{width:100%}@media(min-width:0){.container{max-width:0}}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-6{margin-top:calc(var(--spacing)*6)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.block{display:block}.flex{display:flex}.hidden{display:none}.inline{display:inline}.table{display:table}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-lg{max-width:var(--container-lg)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.justify-between{justify-content:space-between}.\!rounded-md{border-radius:var(--radius-md)!important}.border{border-style:var(--tw-border-style);border-width:1px}.p-4{padding:calc(var(--spacing)*4)}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.text-gray-500{color:var(--color-gray-500)}.text-gray-900{color:var(--color-gray-900)}.capitalize{text-transform:capitalize}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.blur-sm{--tw-blur:blur(var(--blur-sm));filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.dark\:text-gray-300:where(.dark,.dark *){color:var(--color-gray-300)}.dark\:text-gray-400:where(.dark,.dark *){color:var(--color-gray-400)}}@media(min-width:48rem){.main.active{margin-left:calc(var(--spacing)*0);width:100%}}.btn-dark{border-radius:var(--radius-md);background-color:var(--color-gray-700);color:var(--color-white)}@media(hover:hover){.btn-dark:hover{background-color:var(--color-gray-900);color:var(--color-white)}}.gl-label-form-invalid{margin-bottom:calc(var(--spacing)*2);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--color-red-700);display:block}.gl-label-form-invalid:where(.dark,.dark *){color:var(--color-red-500)}.gl-label-form{margin-bottom:calc(var(--spacing)*2);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--color-gray-900);display:block}.gl-label-form:where(.dark,.dark *){color:var(--color-white)}.gl-label-translation-form-invalid{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--color-red-700)}.gl-label-translation-form-invalid:where(.dark,.dark *){color:var(--color-red-500)}.gl-label-translation-form{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--color-gray-900)}.gl-label-translation-form:where(.dark,.dark *){color:var(--color-white)}.gl-input-form-invalid{height:calc(var(--spacing)*10);border-radius:var(--radius-lg);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-red-500);background-color:var(--color-red-50);width:100%;padding:calc(var(--spacing)*3);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));color:var(--color-red-900);display:block}.gl-input-form-invalid::placeholder{color:var(--color-red-700)}.gl-input-form-invalid{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.gl-input-form-invalid{outline-offset:2px;outline:2px solid #0000}}.gl-input-form-invalid:focus,.gl-input-form-invalid:where(.dark,.dark *){border-color:var(--color-red-500)}.gl-input-form-invalid:where(.dark,.dark *){background-color:var(--color-gray-800);color:var(--color-red-500)}.gl-input-form-invalid:where(.dark,.dark *)::placeholder{color:var(--color-red-500)}.gl-input-form{height:calc(var(--spacing)*10);border-radius:var(--radius-lg);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-gray-200);background-color:var(--color-gray-50);width:100%;padding:calc(var(--spacing)*3);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));color:var(--color-gray-900);--tw-outline-style:none;outline-style:none;display:block}@media(forced-colors:active){.gl-input-form{outline-offset:2px;outline:2px solid #0000}}.gl-input-form:focus{border-color:var(--color-primary)}.gl-input-form:where(.dark,.dark *){border-color:var(--color-gray-700);background-color:var(--color-gray-800);color:var(--color-white)}.gl-input-form:where(.dark,.dark *)::placeholder{color:var(--color-gray-400)}.gl-input-form:where(.dark,.dark *):focus{border-color:var(--color-primaryDark)}.gl-input-form-invalid-text{height:calc(var(--spacing)*10);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-red-500);background-color:var(--color-red-50);width:100%;padding:calc(var(--spacing)*3);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));color:var(--color-red-900);display:block}.gl-input-form-invalid-text::placeholder{color:var(--color-red-700)}.gl-input-form-invalid-text{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.gl-input-form-invalid-text{outline-offset:2px;outline:2px solid #0000}}.gl-input-form-invalid-text:focus,.gl-input-form-invalid-text:where(.dark,.dark *){border-color:var(--color-red-500)}.gl-input-form-invalid-text:where(.dark,.dark *){background-color:var(--color-gray-800);color:var(--color-red-500)}.gl-input-form-invalid-text:where(.dark,.dark *)::placeholder{color:var(--color-red-500)}.gl-input-form-text{height:calc(var(--spacing)*10);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-gray-200);background-color:var(--color-gray-50);width:100%;padding:calc(var(--spacing)*3);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));color:var(--color-gray-900);--tw-outline-style:none;outline-style:none;display:block}@media(forced-colors:active){.gl-input-form-text{outline-offset:2px;outline:2px solid #0000}}.gl-input-form-text:focus{border-color:var(--color-primary)}.gl-input-form-text:where(.dark,.dark *){border-color:var(--color-gray-700);background-color:var(--color-gray-800);color:var(--color-white)}.gl-input-form-text:where(.dark,.dark *)::placeholder{color:var(--color-gray-400)}.gl-input-form-text:where(.dark,.dark *):focus{border-color:var(--color-primaryDark)}.gl-textarea-form-invalid{border-radius:var(--radius-lg);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-red-500);background-color:var(--color-red-50);width:100%;padding:calc(var(--spacing)*3);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));color:var(--color-red-900);display:block}.gl-textarea-form-invalid::placeholder{color:var(--color-red-700)}.gl-textarea-form-invalid{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.gl-textarea-form-invalid{outline-offset:2px;outline:2px solid #0000}}.gl-textarea-form-invalid:focus,.gl-textarea-form-invalid:where(.dark,.dark *){border-color:var(--color-red-500)}.gl-textarea-form-invalid:where(.dark,.dark *){background-color:var(--color-gray-800);color:var(--color-red-500)}.gl-textarea-form-invalid:where(.dark,.dark *)::placeholder{color:var(--color-red-500)}.gl-textarea-form{border-radius:var(--radius-lg);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-gray-200);background-color:var(--color-gray-50);width:100%;padding:calc(var(--spacing)*3);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));color:var(--color-gray-900);--tw-outline-style:none;outline-style:none;display:block}@media(forced-colors:active){.gl-textarea-form{outline-offset:2px;outline:2px solid #0000}}.gl-textarea-form:focus{border-color:var(--color-primary)}.gl-textarea-form:where(.dark,.dark *){border-color:var(--color-gray-700);background-color:var(--color-gray-800);color:var(--color-white)}.gl-textarea-form:where(.dark,.dark *)::placeholder{color:var(--color-gray-400)}.gl-textarea-form:where(.dark,.dark *):focus{border-color:var(--color-primaryDark)}.gl-multi-dropdown{min-height:calc(var(--spacing)*10);border-radius:var(--radius-lg);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-gray-200);background-color:var(--color-gray-50);width:100%;padding:calc(var(--spacing)*2);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));color:var(--color-gray-900);--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.gl-multi-dropdown{outline-offset:2px;outline:2px solid #0000}}.gl-multi-dropdown:focus{border-color:var(--color-primary)}.gl-multi-dropdown:where(.dark,.dark *){border-color:var(--color-gray-700);background-color:var(--color-gray-800);color:var(--color-white)}.gl-multi-dropdown:where(.dark,.dark *)::placeholder{color:var(--color-gray-400)}.gl-multi-dropdown:where(.dark,.dark *):focus{border-color:var(--color-primaryDark)}.gl-span-form-error{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));color:var(--color-red-600)}.gl-span-form-error:where(.dark,.dark *){color:var(--color-red-500)}.console_styles{border-radius:var(--radius-lg);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-gray-900);background-color:var(--color-gray-950);width:100%;font-family:var(--font-mono);color:var(--color-white)}input::-webkit-calendar-picker-indicator{filter:invert()hue-rotate(180deg)}.gl-btn-primary{z-index:10;cursor:pointer;border-radius:var(--radius-md);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-primary);background-color:var(--color-primary);color:var(--color-white);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.3s;--tw-ease:linear;transition-duration:.3s;transition-timing-function:linear;position:relative}.gl-btn-primary:where(.dark,.dark *){border-color:var(--color-primaryDark);background-color:var(--color-primaryDark)}.gl-btn-primary:hover{color:var(--color-white);--tw-brightness:brightness(110%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.5s;--tw-ease:var(--ease-in-out);transition-duration:.5s;transition-timing-function:var(--ease-in-out)}*{scrollbar-color:#cbd5e1 transparent;scrollbar-width:auto!important}.dark *{scrollbar-color:#4b5563 transparent}::-webkit-scrollbar{width:16px;height:16px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background-color:#cbd5e1;background-clip:content-box;border:2px solid #0000;border-radius:8px}::-webkit-scrollbar-thumb:hover{background-color:#94a3b8}::-webkit-scrollbar-corner{background:0 0}.dark ::-webkit-scrollbar-thumb{background-color:#4b5563}.dark ::-webkit-scrollbar-thumb:hover{background-color:#6b7280}[type=date],[type=time],[type=datetime-local],[type=month]{color-scheme:dark}[type=checkbox],[type=radio]{appearance:none;-webkit-print-color-adjust:exact;print-color-adjust:exact;vertical-align:middle;-webkit-user-select:none;user-select:none;width:1.3rem;height:1.3rem;color:var(--color-primary);border-color:--color-gray-500;--tw-shadow:0 0 #0000;background-color:#fff;background-origin:border-box;border-width:1px;flex-shrink:0;padding:0;display:inline-block}:is([type=checkbox],[type=radio]):where(.dark,.dark *){color:var(--color-primaryDark)}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline-offset:2px;--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:var(--theme-color);--tw-ring-offset-shadow:var(--tw-ring-inset)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000}[type=checkbox]:checked,[type=radio]:checked,.dark [type=checkbox]:checked,.dark [type=radio]:checked{background-position:50%;background-repeat:no-repeat;background-size:.55em .55em;background-color:currentColor!important;border-color:#0000!important}[type=checkbox]:checked{-webkit-print-color-adjust:exact;print-color-adjust:exact;background-image:url("data:image/svg+xml,%3csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 12'%3e %3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M1 5.917 5.724 10.5 15 1.5'/%3e %3c/svg%3e");background-repeat:no-repeat;background-size:.55em .55em}[type=radio]:checked,.dark [type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");background-size:1em 1em}[type=checkbox]:indeterminate{-webkit-print-color-adjust:exact;print-color-adjust:exact;background-image:url("data:image/svg+xml,%3csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 12'%3e %3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M0.5 6h14'/%3e %3c/svg%3e");background-position:50%;background-repeat:no-repeat;background-size:.55em .55em;background-color:currentColor!important;border-color:#0000!important}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{background-color:currentColor!important;border-color:#0000!important}.required:after{content:" *";color:red}select:not([size]){-webkit-print-color-adjust:exact;print-color-adjust:exact;background-image:url("data:image/svg+xml,%3csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 10 6'%3e %3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 1 4 4 4-4'/%3e %3c/svg%3e");background-position:right .75rem center;background-repeat:no-repeat;background-size:.75em .75em;padding-right:2.5rem}.gl-dot span{background-color:var(--color-primary)}.gl-dot span:where(.dark,.dark *){background-color:var(--color-primaryDark)}.arrow_button_styles{border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-primary);color:var(--color-primary)}.arrow_button_styles:where(.dark,.dark *){border-color:var(--color-primaryDark);color:var(--color-primaryDark)}.arrow_button_styles:hover{background-color:var(--color-primary);color:var(--color-white)}.arrow_button_styles:hover:where(.dark,.dark *){background-color:var(--color-primaryDark)}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}.gl-dot.active span[data-v-fb90ef75],.gl-dot:hover span[data-v-fb90ef75]{opacity:.9;height:1.56rem;width:1.56rem;max-width:1.56rem}.gl-dot span[data-v-fb90ef75]{cursor:pointer;display:inline-block;border-radius:100%;opacity:.2;height:1.25rem;width:1.25rem;max-width:1.25rem}.arrow_button_prev[data-v-fb90ef75]{position:absolute;top:0;left:0;bottom:0;z-index:10;align-items:center;justify-content:center;padding:10px;text-align:center;transition:opacity .15s ease}.arrow_button_next[data-v-fb90ef75]{position:absolute;top:0;right:0;bottom:0;z-index:10;align-items:center;justify-content:center;padding:10px;text-align:center;transition:opacity .15s ease}.slider_indicators[data-v-fb90ef75]{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%}.gl-dot.active span[data-v-07601527],.gl-dot:hover span[data-v-07601527]{opacity:.9;height:1.56rem;width:1.56rem;max-width:1.56rem}.gl-dot span[data-v-07601527]{cursor:pointer;display:inline-block;border-radius:100%;opacity:.2;height:1.25rem;width:1.25rem;max-width:1.25rem}.arrow_button_prev[data-v-07601527]{position:absolute;top:0;left:0;bottom:0;z-index:10;display:flex;align-items:center;justify-content:center;padding:10px;text-align:center;transition:opacity .15s ease}.arrow_button_next[data-v-07601527]{position:absolute;top:0;right:0;bottom:0;z-index:10;display:flex;align-items:center;justify-content:center;padding:10px;text-align:center;transition:opacity .15s ease}.slider_indicators[data-v-07601527]{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%}.CodeEditor{height:100%;padding:0}@media print{@page{size:auto!important;margin:20px}table tr[data-v-2547d2e1],table tr td[data-v-2547d2e1]{page-break-inside:avoid}.td_overflow_auto[data-v-2547d2e1]{overflow:visible!important;max-height:none!important}tfoot[data-v-2547d2e1]{display:table-footer-group}.no-print[data-v-2547d2e1]{display:none!important}html[data-v-2547d2e1],body[data-v-2547d2e1]{width:210mm;height:297mm}.page[data-v-2547d2e1]{page-break-after:always}td[data-v-2547d2e1]{white-space:normal!important;word-wrap:break-word}table[data-v-2547d2e1]{table-layout:fixed}td>div>div[data-v-2547d2e1]{white-space:normal!important;word-wrap:break-word!important}}@media print{@page{size:auto;margin:20px}table tr[data-v-84b2e0a5],table tr td[data-v-84b2e0a5]{page-break-inside:avoid}.td_overflow_auto[data-v-84b2e0a5]{overflow:visible!important;max-height:none!important}}@media print{@page{size:auto;margin:20px}table tr[data-v-5dea3705],table tr td[data-v-5dea3705]{page-break-inside:avoid}.td_overflow_auto[data-v-5dea3705]{overflow:visible!important;max-height:none!important}}@media print{@page{size:auto;margin:20px}table tr[data-v-fe0a5c64],table tr td[data-v-fe0a5c64]{page-break-inside:avoid}.td_overflow_auto[data-v-fe0a5c64]{overflow:visible!important;max-height:none!important}}a[data-v-18c4893e]{font-size:13px;font-weight:500;color:#202124}a[data-v-18c4893e]:hover{color:#9c27b0;text-decoration:underline}.gl-log-viewer-body[data-v-77640db5]{scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.25) transparent}
|
|
1
|
+
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-blue-600:oklch(54.6% .245 262.881);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-gray-900:oklch(21% .034 264.665);--color-gray-950:oklch(13% .028 261.692);--color-white:#fff;--spacing:.25rem;--container-lg:32rem;--container-2xl:42rem;--container-4xl:56rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--font-weight-medium:500;--radius-md:.375rem;--radius-lg:.5rem;--ease-in-out:cubic-bezier(.4,0,.2,1);--blur-sm:8px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-primary:var(--theme-color);--color-primaryDark:var(--theme-dark-color)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*,:after,:before,::backdrop{border-color:var(--color-gray-200,currentcolor)}::file-selector-button{border-color:var(--color-gray-200,currentcolor)}.no-tailwindcss-base h1,.no-tailwindcss-base h2,.no-tailwindcss-base h3,.no-tailwindcss-base h4,.no-tailwindcss-base h5,.no-tailwindcss-base h6{font-size:revert;font-weight:revert}.no-tailwindcss-base ol,.no-tailwindcss-base ul{list-style:revert;margin:revert;padding:revert}}@layer components;@layer utilities{.visible{visibility:visible}.absolute{position:absolute}.relative{position:relative}.container{width:100%}@media(min-width:0){.container{max-width:0}}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-6{margin-top:calc(var(--spacing)*6)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.block{display:block}.flex{display:flex}.hidden{display:none}.inline{display:inline}.table{display:table}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-lg{max-width:var(--container-lg)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.justify-between{justify-content:space-between}.\!rounded-md{border-radius:var(--radius-md)!important}.border{border-style:var(--tw-border-style);border-width:1px}.p-4{padding:calc(var(--spacing)*4)}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.text-gray-500{color:var(--color-gray-500)}.text-gray-900{color:var(--color-gray-900)}.capitalize{text-transform:capitalize}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.blur-sm{--tw-blur:blur(var(--blur-sm));filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.dark\:text-gray-300:where(.dark,.dark *){color:var(--color-gray-300)}.dark\:text-gray-400:where(.dark,.dark *){color:var(--color-gray-400)}}@media(min-width:48rem){.main.active{margin-left:calc(var(--spacing)*0);width:100%}}.btn-dark{border-radius:var(--radius-md);background-color:var(--color-gray-700);color:var(--color-white)}@media(hover:hover){.btn-dark:hover{background-color:var(--color-gray-900);color:var(--color-white)}}.gl-label-form-invalid{margin-bottom:calc(var(--spacing)*2);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--color-red-700);display:block}.gl-label-form-invalid:where(.dark,.dark *){color:var(--color-red-500)}.gl-label-form{margin-bottom:calc(var(--spacing)*2);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--color-gray-900);display:block}.gl-label-form:where(.dark,.dark *){color:var(--color-white)}.gl-label-translation-form-invalid{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--color-red-700)}.gl-label-translation-form-invalid:where(.dark,.dark *){color:var(--color-red-500)}.gl-label-translation-form{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--color-gray-900)}.gl-label-translation-form:where(.dark,.dark *){color:var(--color-white)}.gl-input-form-invalid{height:calc(var(--spacing)*10);border-radius:var(--radius-lg);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-red-500);background-color:var(--color-red-50);width:100%;padding:calc(var(--spacing)*3);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));color:var(--color-red-900);display:block}.gl-input-form-invalid::placeholder{color:var(--color-red-700)}.gl-input-form-invalid{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.gl-input-form-invalid{outline-offset:2px;outline:2px solid #0000}}.gl-input-form-invalid:focus,.gl-input-form-invalid:where(.dark,.dark *){border-color:var(--color-red-500)}.gl-input-form-invalid:where(.dark,.dark *){background-color:var(--color-gray-800);color:var(--color-red-500)}.gl-input-form-invalid:where(.dark,.dark *)::placeholder{color:var(--color-red-500)}.gl-input-form{height:calc(var(--spacing)*10);border-radius:var(--radius-lg);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-gray-200);background-color:var(--color-gray-50);width:100%;padding:calc(var(--spacing)*3);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));color:var(--color-gray-900);--tw-outline-style:none;outline-style:none;display:block}@media(forced-colors:active){.gl-input-form{outline-offset:2px;outline:2px solid #0000}}.gl-input-form:focus{border-color:var(--color-primary)}.gl-input-form:where(.dark,.dark *){border-color:var(--color-gray-700);background-color:var(--color-gray-800);color:var(--color-white)}.gl-input-form:where(.dark,.dark *)::placeholder{color:var(--color-gray-400)}.gl-input-form:where(.dark,.dark *):focus{border-color:var(--color-primaryDark)}.gl-input-form-invalid-text{height:calc(var(--spacing)*10);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-red-500);background-color:var(--color-red-50);width:100%;padding:calc(var(--spacing)*3);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));color:var(--color-red-900);display:block}.gl-input-form-invalid-text::placeholder{color:var(--color-red-700)}.gl-input-form-invalid-text{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.gl-input-form-invalid-text{outline-offset:2px;outline:2px solid #0000}}.gl-input-form-invalid-text:focus,.gl-input-form-invalid-text:where(.dark,.dark *){border-color:var(--color-red-500)}.gl-input-form-invalid-text:where(.dark,.dark *){background-color:var(--color-gray-800);color:var(--color-red-500)}.gl-input-form-invalid-text:where(.dark,.dark *)::placeholder{color:var(--color-red-500)}.gl-input-form-text{height:calc(var(--spacing)*10);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-gray-200);background-color:var(--color-gray-50);width:100%;padding:calc(var(--spacing)*3);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));color:var(--color-gray-900);--tw-outline-style:none;outline-style:none;display:block}@media(forced-colors:active){.gl-input-form-text{outline-offset:2px;outline:2px solid #0000}}.gl-input-form-text:focus{border-color:var(--color-primary)}.gl-input-form-text:where(.dark,.dark *){border-color:var(--color-gray-700);background-color:var(--color-gray-800);color:var(--color-white)}.gl-input-form-text:where(.dark,.dark *)::placeholder{color:var(--color-gray-400)}.gl-input-form-text:where(.dark,.dark *):focus{border-color:var(--color-primaryDark)}.gl-textarea-form-invalid{border-radius:var(--radius-lg);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-red-500);background-color:var(--color-red-50);width:100%;padding:calc(var(--spacing)*3);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));color:var(--color-red-900);display:block}.gl-textarea-form-invalid::placeholder{color:var(--color-red-700)}.gl-textarea-form-invalid{--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.gl-textarea-form-invalid{outline-offset:2px;outline:2px solid #0000}}.gl-textarea-form-invalid:focus,.gl-textarea-form-invalid:where(.dark,.dark *){border-color:var(--color-red-500)}.gl-textarea-form-invalid:where(.dark,.dark *){background-color:var(--color-gray-800);color:var(--color-red-500)}.gl-textarea-form-invalid:where(.dark,.dark *)::placeholder{color:var(--color-red-500)}.gl-textarea-form{border-radius:var(--radius-lg);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-gray-200);background-color:var(--color-gray-50);width:100%;padding:calc(var(--spacing)*3);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));color:var(--color-gray-900);--tw-outline-style:none;outline-style:none;display:block}@media(forced-colors:active){.gl-textarea-form{outline-offset:2px;outline:2px solid #0000}}.gl-textarea-form:focus{border-color:var(--color-primary)}.gl-textarea-form:where(.dark,.dark *){border-color:var(--color-gray-700);background-color:var(--color-gray-800);color:var(--color-white)}.gl-textarea-form:where(.dark,.dark *)::placeholder{color:var(--color-gray-400)}.gl-textarea-form:where(.dark,.dark *):focus{border-color:var(--color-primaryDark)}.gl-multi-dropdown{min-height:calc(var(--spacing)*10);border-radius:var(--radius-lg);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-gray-200);background-color:var(--color-gray-50);width:100%;padding:calc(var(--spacing)*2);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));color:var(--color-gray-900);--tw-outline-style:none;outline-style:none}@media(forced-colors:active){.gl-multi-dropdown{outline-offset:2px;outline:2px solid #0000}}.gl-multi-dropdown:focus{border-color:var(--color-primary)}.gl-multi-dropdown:where(.dark,.dark *){border-color:var(--color-gray-700);background-color:var(--color-gray-800);color:var(--color-white)}.gl-multi-dropdown:where(.dark,.dark *)::placeholder{color:var(--color-gray-400)}.gl-multi-dropdown:where(.dark,.dark *):focus{border-color:var(--color-primaryDark)}.gl-span-form-error{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));color:var(--color-red-600)}.gl-span-form-error:where(.dark,.dark *){color:var(--color-red-500)}.console_styles{border-radius:var(--radius-lg);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-gray-900);background-color:var(--color-gray-950);width:100%;font-family:var(--font-mono);color:var(--color-white)}input::-webkit-calendar-picker-indicator{filter:invert()hue-rotate(180deg)}.gl-btn-primary{z-index:10;cursor:pointer;border-radius:var(--radius-md);border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-primary);background-color:var(--color-primary);color:var(--color-white);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.3s;--tw-ease:linear;transition-duration:.3s;transition-timing-function:linear;position:relative}.gl-btn-primary:where(.dark,.dark *){border-color:var(--color-primaryDark);background-color:var(--color-primaryDark)}.gl-btn-primary:hover{color:var(--color-white);--tw-brightness:brightness(110%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.5s;--tw-ease:var(--ease-in-out);transition-duration:.5s;transition-timing-function:var(--ease-in-out)}*{scrollbar-color:#cbd5e1 transparent;scrollbar-width:auto!important}.dark *{scrollbar-color:#4b5563 transparent}::-webkit-scrollbar{width:16px;height:16px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background-color:#cbd5e1;background-clip:content-box;border:2px solid #0000;border-radius:8px}::-webkit-scrollbar-thumb:hover{background-color:#94a3b8}::-webkit-scrollbar-corner{background:0 0}.dark ::-webkit-scrollbar-thumb{background-color:#4b5563}.dark ::-webkit-scrollbar-thumb:hover{background-color:#6b7280}[type=date],[type=time],[type=datetime-local],[type=month]{color-scheme:dark}[type=checkbox],[type=radio]{appearance:none;-webkit-print-color-adjust:exact;print-color-adjust:exact;vertical-align:middle;-webkit-user-select:none;user-select:none;width:1.3rem;height:1.3rem;color:var(--color-primary);border-color:--color-gray-500;--tw-shadow:0 0 #0000;background-color:#fff;background-origin:border-box;border-width:1px;flex-shrink:0;padding:0;display:inline-block}:is([type=checkbox],[type=radio]):where(.dark,.dark *){color:var(--color-primaryDark)}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline-offset:2px;--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:var(--theme-color);--tw-ring-offset-shadow:var(--tw-ring-inset)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000}[type=checkbox]:checked,[type=radio]:checked,.dark [type=checkbox]:checked,.dark [type=radio]:checked{background-position:50%;background-repeat:no-repeat;background-size:.55em .55em;background-color:currentColor!important;border-color:#0000!important}[type=checkbox]:checked{-webkit-print-color-adjust:exact;print-color-adjust:exact;background-image:url("data:image/svg+xml,%3csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 12'%3e %3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M1 5.917 5.724 10.5 15 1.5'/%3e %3c/svg%3e");background-repeat:no-repeat;background-size:.55em .55em}[type=radio]:checked,.dark [type=radio]:checked{background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");background-size:1em 1em}[type=checkbox]:indeterminate{-webkit-print-color-adjust:exact;print-color-adjust:exact;background-image:url("data:image/svg+xml,%3csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 12'%3e %3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M0.5 6h14'/%3e %3c/svg%3e");background-position:50%;background-repeat:no-repeat;background-size:.55em .55em;background-color:currentColor!important;border-color:#0000!important}[type=checkbox]:indeterminate:hover,[type=checkbox]:indeterminate:focus{background-color:currentColor!important;border-color:#0000!important}.required:after{content:" *";color:red}select:not([size]){-webkit-print-color-adjust:exact;print-color-adjust:exact;background-image:url("data:image/svg+xml,%3csvg aria-hidden='true' xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 10 6'%3e %3cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 1 4 4 4-4'/%3e %3c/svg%3e");background-position:right .75rem center;background-repeat:no-repeat;background-size:.75em .75em;padding-right:2.5rem}.gl-dot span{background-color:var(--color-primary)}.gl-dot span:where(.dark,.dark *){background-color:var(--color-primaryDark)}.arrow_button_styles{border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-primary);color:var(--color-primary)}.arrow_button_styles:where(.dark,.dark *){border-color:var(--color-primaryDark);color:var(--color-primaryDark)}.arrow_button_styles:hover{background-color:var(--color-primary);color:var(--color-white)}.arrow_button_styles:hover:where(.dark,.dark *){background-color:var(--color-primaryDark)}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}.gl-dot.active span[data-v-fb90ef75],.gl-dot:hover span[data-v-fb90ef75]{opacity:.9;height:1.56rem;width:1.56rem;max-width:1.56rem}.gl-dot span[data-v-fb90ef75]{cursor:pointer;display:inline-block;border-radius:100%;opacity:.2;height:1.25rem;width:1.25rem;max-width:1.25rem}.arrow_button_prev[data-v-fb90ef75]{position:absolute;top:0;left:0;bottom:0;z-index:10;align-items:center;justify-content:center;padding:10px;text-align:center;transition:opacity .15s ease}.arrow_button_next[data-v-fb90ef75]{position:absolute;top:0;right:0;bottom:0;z-index:10;align-items:center;justify-content:center;padding:10px;text-align:center;transition:opacity .15s ease}.slider_indicators[data-v-fb90ef75]{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%}.gl-dot.active span[data-v-07601527],.gl-dot:hover span[data-v-07601527]{opacity:.9;height:1.56rem;width:1.56rem;max-width:1.56rem}.gl-dot span[data-v-07601527]{cursor:pointer;display:inline-block;border-radius:100%;opacity:.2;height:1.25rem;width:1.25rem;max-width:1.25rem}.arrow_button_prev[data-v-07601527]{position:absolute;top:0;left:0;bottom:0;z-index:10;display:flex;align-items:center;justify-content:center;padding:10px;text-align:center;transition:opacity .15s ease}.arrow_button_next[data-v-07601527]{position:absolute;top:0;right:0;bottom:0;z-index:10;display:flex;align-items:center;justify-content:center;padding:10px;text-align:center;transition:opacity .15s ease}.slider_indicators[data-v-07601527]{position:absolute;right:0;bottom:0;left:0;z-index:2;display:flex;justify-content:center;padding:0;margin-right:15%;margin-bottom:1rem;margin-left:15%}.CodeEditor{height:100%;padding:0}@media print{@page{size:auto!important;margin:20px}table tr[data-v-cd37a6ae],table tr td[data-v-cd37a6ae]{page-break-inside:avoid}.td_overflow_auto[data-v-cd37a6ae]{overflow:visible!important;max-height:none!important}tfoot[data-v-cd37a6ae]{display:table-footer-group}.no-print[data-v-cd37a6ae]{display:none!important}html[data-v-cd37a6ae],body[data-v-cd37a6ae]{width:210mm;height:297mm}.page[data-v-cd37a6ae]{page-break-after:always}td[data-v-cd37a6ae]{white-space:normal!important;word-wrap:break-word}table[data-v-cd37a6ae]{table-layout:fixed}td>div>div[data-v-cd37a6ae]{white-space:normal!important;word-wrap:break-word!important}}@media print{@page{size:auto;margin:20px}table tr[data-v-d7a78d8a],table tr td[data-v-d7a78d8a]{page-break-inside:avoid}.td_overflow_auto[data-v-d7a78d8a]{overflow:visible!important;max-height:none!important}}@media print{@page{size:auto;margin:20px}table tr[data-v-5dea3705],table tr td[data-v-5dea3705]{page-break-inside:avoid}.td_overflow_auto[data-v-5dea3705]{overflow:visible!important;max-height:none!important}}@media print{@page{size:auto;margin:20px}table tr[data-v-40c29557],table tr td[data-v-40c29557]{page-break-inside:avoid}.td_overflow_auto[data-v-40c29557]{overflow:visible!important;max-height:none!important}}a[data-v-18c4893e]{font-size:13px;font-weight:500;color:#202124}a[data-v-18c4893e]:hover{color:#9c27b0;text-decoration:underline}.gl-log-viewer-body[data-v-77640db5]{scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.25) transparent}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "The most popular library of interactive components built with Vuejs && Tailwind CSS",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
|
-
"version": "1.3.
|
|
6
|
+
"version": "1.3.28",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
9
|
"url": "git+https://github.com/mrgiant/GoldenLogicUi.git"
|