golden-logic-ui 1.0.486 → 1.0.487
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/golden-logic-ui.js +974 -825
- package/dist/golden-logic-ui.umd.cjs +17 -17
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { openBlock as ue, createBlock as ju, resolveDynamicComponent as A4, mergeProps as aO, withCtx as Cm, createElementBlock as de, normalizeClass as zt, createCommentVNode as qe, renderSlot as Zi, createTextVNode as Zn, createElementVNode as R, resolveComponent as Rd, createVNode as ui, createStaticVNode as ZB, reactive as Pq, Fragment as jn, toDisplayString as dt, withModifiers as za, withDirectives as fr, vModelText as _m, renderList as Ks, normalizeStyle as Mj, computed as bu, ref as co, onMounted as Og, onBeforeUnmount as jB, watch as Sf, vShow as kf, nextTick as Pj, vModelDynamic as nq, useSlots as Bq, provide as oq, inject as sq, pushScopeId as rq, popScopeId as aq, vModelCheckbox as lq, toHandlers as Rj, onUnmounted as Nq, TransitionGroup as Iq, unref as Lq, resolveDirective as Bj, markRaw as Fq } from "vue";
|
|
2
|
-
const zr = (A,
|
|
2
|
+
const zr = (A, te) => {
|
|
3
3
|
const G = A.__vccOpts || A;
|
|
4
|
-
for (const [_e,
|
|
5
|
-
G[_e] =
|
|
4
|
+
for (const [_e, oe] of te)
|
|
5
|
+
G[_e] = oe;
|
|
6
6
|
return G;
|
|
7
7
|
}, Hq = {
|
|
8
8
|
props: {
|
|
@@ -87,7 +87,7 @@ const zr = (A, oe) => {
|
|
|
87
87
|
fill: "#1C64F2"
|
|
88
88
|
})
|
|
89
89
|
], -1);
|
|
90
|
-
function zq(A,
|
|
90
|
+
function zq(A, te, G, _e, oe, Z) {
|
|
91
91
|
return G.is_loading ? (ue(), ju(A4("button"), {
|
|
92
92
|
key: 1,
|
|
93
93
|
disabled: "",
|
|
@@ -142,7 +142,7 @@ const Nj = /* @__PURE__ */ zr(Hq, [["render", zq]]), Uq = {
|
|
|
142
142
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
143
143
|
"aria-hidden": "true"
|
|
144
144
|
}, "", -1), qq = { class: "inline-block overflow-hidden text-left align-bottom transition-all transform bg-white dark:bg-gray-800 rounded-lg shadow-xl sm:my-8 sm:align-middle sm:max-w-lg sm:w-full" }, Kq = /* @__PURE__ */ ZB('<div class="px-4 pt-5 pb-4 sm:p-6 sm:pb-4"><div class="sm:flex sm:items-start"><div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"><h3 class="text-lg font-medium leading-6" id="modal-title"> Confirm Deletion </h3><div class="mt-2"><p class="text-sm"> Are you sure you want to delete this item? This action cannot be undone. </p></div></div></div></div>', 1), Yq = { class: "border-t border-gray-200 rounded-b dark:border-gray-600 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse gap-2" };
|
|
145
|
-
function Xq(A,
|
|
145
|
+
function Xq(A, te, G, _e, oe, Z) {
|
|
146
146
|
const xe = Rd("gl-button");
|
|
147
147
|
return G.isOpen ? (ue(), de("div", Wq, [
|
|
148
148
|
R("div", Zq, [
|
|
@@ -268,10 +268,10 @@ const GB = /* @__PURE__ */ zr(Uq, [["render", Xq]]), $j = Pq({
|
|
|
268
268
|
},
|
|
269
269
|
deleteAction() {
|
|
270
270
|
axios.delete(this.route_url + "/destroyMedia/" + this.media_id).then((A) => {
|
|
271
|
-
let
|
|
271
|
+
let te = this.uploadFileList.findIndex(
|
|
272
272
|
(G) => G.id === this.media_id
|
|
273
273
|
);
|
|
274
|
-
|
|
274
|
+
te !== -1 && this.uploadFileList.splice(te, 1), this.closeDeleteModal(), Ry.methods.add({
|
|
275
275
|
message: "Item deleted successfully.",
|
|
276
276
|
type: "success",
|
|
277
277
|
duration: 5e3
|
|
@@ -285,8 +285,8 @@ const GB = /* @__PURE__ */ zr(Uq, [["render", Xq]]), $j = Pq({
|
|
|
285
285
|
},
|
|
286
286
|
formatFileSize(A) {
|
|
287
287
|
if (A === 0) return "0 Bytes";
|
|
288
|
-
const
|
|
289
|
-
return parseFloat((A / Math.pow(
|
|
288
|
+
const te = 1024, G = ["Bytes", "KB", "MB", "GB", "TB"], _e = Math.floor(Math.log(A) / Math.log(te));
|
|
289
|
+
return parseFloat((A / Math.pow(te, _e)).toFixed(2)) + " " + G[_e];
|
|
290
290
|
},
|
|
291
291
|
onDragOver(A) {
|
|
292
292
|
A.preventDefault(), this.isDragging = !0, A.dataTransfer.dropEffect = "copy";
|
|
@@ -296,51 +296,51 @@ const GB = /* @__PURE__ */ zr(Uq, [["render", Xq]]), $j = Pq({
|
|
|
296
296
|
},
|
|
297
297
|
onDrop(A) {
|
|
298
298
|
A.preventDefault(), this.isDragging = !1;
|
|
299
|
-
const
|
|
300
|
-
Array.from(
|
|
299
|
+
const te = A.dataTransfer.files;
|
|
300
|
+
Array.from(te).forEach((G) => {
|
|
301
301
|
this.uploadFile(G);
|
|
302
302
|
});
|
|
303
303
|
},
|
|
304
304
|
async uploadFiles(A) {
|
|
305
|
-
const
|
|
305
|
+
const te = A.target.files, G = Array.from(te).map(
|
|
306
306
|
(_e) => this.uploadFile(_e)
|
|
307
307
|
);
|
|
308
308
|
await Promise.all(G), this.$emit("uploaded"), this.$emit("update:modelValue", this.uploadFileList), console.log("uploadFileList", this.uploadFileList);
|
|
309
309
|
},
|
|
310
|
-
getFirstError(A,
|
|
311
|
-
return A.hasOwnProperty(
|
|
310
|
+
getFirstError(A, te) {
|
|
311
|
+
return A.hasOwnProperty(te) ? A[te][0] : "";
|
|
312
312
|
},
|
|
313
313
|
async uploadFile(A) {
|
|
314
|
-
return new Promise((
|
|
315
|
-
A ||
|
|
314
|
+
return new Promise((te, G) => {
|
|
315
|
+
A || te();
|
|
316
316
|
const _e = new FormData();
|
|
317
|
-
_e.append(this.field_name, A), _e.append("accepts_file_types", this.accepts_file_types), _e.append("max_file_size", this.max_file_size), _e.append("field_name", this.field_name), Object.entries(this.file_config).forEach(([
|
|
318
|
-
_e.append(
|
|
317
|
+
_e.append(this.field_name, A), _e.append("accepts_file_types", this.accepts_file_types), _e.append("max_file_size", this.max_file_size), _e.append("field_name", this.field_name), Object.entries(this.file_config).forEach(([oe, Z]) => {
|
|
318
|
+
_e.append(oe, Z);
|
|
319
319
|
}), this.files.push({ file_name: A.name, loading: 0 }), axios.post(this.route_url + "/media", _e, {
|
|
320
|
-
onUploadProgress: (
|
|
320
|
+
onUploadProgress: (oe) => {
|
|
321
321
|
this.files[this.files.length - 1].loading = Math.floor(
|
|
322
|
-
|
|
322
|
+
oe.loaded / oe.total * 100
|
|
323
323
|
);
|
|
324
324
|
}
|
|
325
|
-
}).then((
|
|
325
|
+
}).then((oe) => {
|
|
326
326
|
let Z = this.files.findIndex(
|
|
327
327
|
(xe) => xe.file_name === A.name
|
|
328
328
|
);
|
|
329
329
|
Z !== -1 && this.files.splice(Z, 1), this.has_multiple_file || (this.uploadFileList = []), this.uploadFileList.push({
|
|
330
|
-
file_name:
|
|
331
|
-
size:
|
|
332
|
-
id:
|
|
333
|
-
url:
|
|
334
|
-
}), this.error_message_data = "",
|
|
335
|
-
}).catch((
|
|
336
|
-
|
|
337
|
-
|
|
330
|
+
file_name: oe.data.file_name,
|
|
331
|
+
size: oe.data.size,
|
|
332
|
+
id: oe.data.id,
|
|
333
|
+
url: oe.data.url
|
|
334
|
+
}), this.error_message_data = "", te();
|
|
335
|
+
}).catch((oe) => {
|
|
336
|
+
oe.response.status === 422 ? this.error_message_data = this.getFirstError(
|
|
337
|
+
oe.response.data.errors,
|
|
338
338
|
this.field_name
|
|
339
|
-
) : console.error("An error occurred:",
|
|
339
|
+
) : console.error("An error occurred:", oe);
|
|
340
340
|
let Z = this.files.findIndex(
|
|
341
341
|
(xe) => xe.file_name === A.name
|
|
342
342
|
);
|
|
343
|
-
Z !== -1 && this.files.splice(Z, 1), console.log(
|
|
343
|
+
Z !== -1 && this.files.splice(Z, 1), console.log(oe), te();
|
|
344
344
|
});
|
|
345
345
|
});
|
|
346
346
|
}
|
|
@@ -379,31 +379,31 @@ const GB = /* @__PURE__ */ zr(Uq, [["render", Xq]]), $j = Pq({
|
|
|
379
379
|
class: "text-3xl fas fa-file-alt",
|
|
380
380
|
"aria-hidden": "true"
|
|
381
381
|
}, null, -1), _K = { class: "flex flex-col ml-3" }, SK = { class: "text-xs" }, kK = { class: "text-xs" }, TK = { class: "flex gap-2" }, EK = ["href"], AK = ["onClick"];
|
|
382
|
-
function DK(A,
|
|
382
|
+
function DK(A, te, G, _e, oe, Z) {
|
|
383
383
|
const xe = Rd("DeleteConfirmationModal");
|
|
384
384
|
return ue(), de(jn, null, [
|
|
385
385
|
ui(xe, {
|
|
386
|
-
isOpen:
|
|
386
|
+
isOpen: oe.open_delete_modal,
|
|
387
387
|
onConfirmDelete: Z.deleteAction,
|
|
388
388
|
onCancelDelete: Z.closeDeleteModal
|
|
389
389
|
}, null, 8, ["isOpen", "onConfirmDelete", "onCancelDelete"]),
|
|
390
390
|
R("div", {
|
|
391
391
|
class: zt([{
|
|
392
|
-
"border-red-500 dark:border-red-500":
|
|
393
|
-
"border-gray-200 dark:border-gray-700":
|
|
392
|
+
"border-red-500 dark:border-red-500": oe.error_message_data !== "",
|
|
393
|
+
"border-gray-200 dark:border-gray-700": oe.error_message_data == ""
|
|
394
394
|
}, "w-full p-4 bg-white border rounded-lg shadow dark:bg-gray-800"])
|
|
395
395
|
}, [
|
|
396
396
|
R("label", {
|
|
397
397
|
class: zt({
|
|
398
|
-
"gl-label-form":
|
|
399
|
-
"gl-label-form-invalid":
|
|
398
|
+
"gl-label-form": oe.error_message_data == "",
|
|
399
|
+
"gl-label-form-invalid": oe.error_message_data !== "",
|
|
400
400
|
required: G.is_required
|
|
401
401
|
})
|
|
402
402
|
}, dt(G.label_name), 3),
|
|
403
403
|
R("div", {
|
|
404
|
-
onDragover:
|
|
405
|
-
onDragleave:
|
|
406
|
-
onDrop:
|
|
404
|
+
onDragover: te[3] || (te[3] = za((...K) => Z.onDragOver && Z.onDragOver(...K), ["prevent"])),
|
|
405
|
+
onDragleave: te[4] || (te[4] = za((...K) => Z.onDragLeave && Z.onDragLeave(...K), ["prevent"])),
|
|
406
|
+
onDrop: te[5] || (te[5] = za((...K) => Z.onDrop && Z.onDrop(...K), ["prevent"])),
|
|
407
407
|
class: "flex flex-col items-center justify-center w-full h-40 mt-3 mb-3 border-2 border-gray-300 border-dashed rounded-lg cursor-pointer bg-gray-50 dark:hover:bg-bray-800 dark:bg-gray-700 hover:bg-gray-100 dark:border-gray-600 dark:hover:border-gray-500 dark:hover:bg-gray-600"
|
|
408
408
|
}, [
|
|
409
409
|
R("div", eK, [
|
|
@@ -412,26 +412,26 @@ function DK(A, oe, G, _e, ne, Z) {
|
|
|
412
412
|
ref: "file_input" + G.field_name,
|
|
413
413
|
hidden: "",
|
|
414
414
|
multiple: G.has_multiple_file,
|
|
415
|
-
onChange:
|
|
415
|
+
onChange: te[0] || (te[0] = (...K) => Z.uploadFiles && Z.uploadFiles(...K))
|
|
416
416
|
}, null, 40, tK),
|
|
417
417
|
fr(R("input", {
|
|
418
418
|
type: "hidden",
|
|
419
419
|
name: G.field_name,
|
|
420
|
-
"onUpdate:modelValue":
|
|
420
|
+
"onUpdate:modelValue": te[1] || (te[1] = (K) => Z.uploadFileListFinal = K)
|
|
421
421
|
}, null, 8, nK), [
|
|
422
422
|
[_m, Z.uploadFileListFinal]
|
|
423
423
|
]),
|
|
424
|
-
|
|
424
|
+
oe.isDragging ? (ue(), de("div", aK, cK)) : (ue(), de("div", {
|
|
425
425
|
key: 0,
|
|
426
426
|
class: "flex flex-col items-center justify-center",
|
|
427
|
-
onClick:
|
|
427
|
+
onClick: te[2] || (te[2] = (K) => A.$refs["file_input" + this.field_name].click())
|
|
428
428
|
}, rK))
|
|
429
429
|
])
|
|
430
430
|
], 32),
|
|
431
|
-
R("span", iK, dt(
|
|
431
|
+
R("span", iK, dt(oe.error_message_data), 1),
|
|
432
432
|
R("small", uK, dt(G.description), 1),
|
|
433
|
-
|
|
434
|
-
(ue(!0), de(jn, null, Ks(
|
|
433
|
+
oe.files.length > 0 ? (ue(), de("section", dK, [
|
|
434
|
+
(ue(!0), de(jn, null, Ks(oe.files, (K, $e) => (ue(), de("li", mK, [
|
|
435
435
|
fK,
|
|
436
436
|
R("div", gK, [
|
|
437
437
|
R("div", hK, [
|
|
@@ -465,7 +465,7 @@ function DK(A, oe, G, _e, ne, Z) {
|
|
|
465
465
|
G.is_enable_delete ? (ue(), de("i", {
|
|
466
466
|
key: 0,
|
|
467
467
|
onClick: (lt) => {
|
|
468
|
-
|
|
468
|
+
oe.media_id = K.id, oe.open_delete_modal = !0;
|
|
469
469
|
},
|
|
470
470
|
class: "text-lg text-red-600 cursor-pointer dark:text-red-400 fas fa-x"
|
|
471
471
|
}, null, 8, AK)) : qe("", !0)
|
|
@@ -475,7 +475,7 @@ function DK(A, oe, G, _e, ne, Z) {
|
|
|
475
475
|
], 2)
|
|
476
476
|
], 64);
|
|
477
477
|
}
|
|
478
|
-
const
|
|
478
|
+
const Dce = /* @__PURE__ */ zr(Qq, [["render", DK]]), OK = {
|
|
479
479
|
components: {},
|
|
480
480
|
props: {
|
|
481
481
|
field_name: {
|
|
@@ -498,10 +498,10 @@ const Ace = /* @__PURE__ */ zr(Qq, [["render", DK]]), OK = {
|
|
|
498
498
|
const A = {
|
|
499
499
|
id: this.menu_id
|
|
500
500
|
};
|
|
501
|
-
axios.get("/admin/get_locals", { params: A }).then((
|
|
502
|
-
this.locals =
|
|
503
|
-
}).catch((
|
|
504
|
-
console.error(
|
|
501
|
+
axios.get("/admin/get_locals", { params: A }).then((te) => {
|
|
502
|
+
this.locals = te.data.locals, this.default_language = te.data.default_language;
|
|
503
|
+
}).catch((te) => {
|
|
504
|
+
console.error(te);
|
|
505
505
|
});
|
|
506
506
|
}
|
|
507
507
|
},
|
|
@@ -511,9 +511,9 @@ const Ace = /* @__PURE__ */ zr(Qq, [["render", DK]]), OK = {
|
|
|
511
511
|
mounted() {
|
|
512
512
|
}
|
|
513
513
|
}, RK = { class: "grid w-full gap-1 mt-5 mb-5 md:gap-0 md:grid-cols-10 language-selector" }, $K = ["name", "value", "id", "checked"], MK = ["for"];
|
|
514
|
-
function PK(A,
|
|
514
|
+
function PK(A, te, G, _e, oe, Z) {
|
|
515
515
|
return ue(), de("ul", RK, [
|
|
516
|
-
(ue(!0), de(jn, null, Ks(
|
|
516
|
+
(ue(!0), de(jn, null, Ks(oe.locals, (xe, K) => (ue(), de("li", null, [
|
|
517
517
|
R("input", {
|
|
518
518
|
type: "radio",
|
|
519
519
|
name: G.trans_selector_name,
|
|
@@ -521,20 +521,20 @@ function PK(A, oe, G, _e, ne, Z) {
|
|
|
521
521
|
class: "hidden peer",
|
|
522
522
|
id: xe + "_" + G.field_name,
|
|
523
523
|
autocomplete: "off",
|
|
524
|
-
checked: xe ===
|
|
524
|
+
checked: xe === oe.default_language
|
|
525
525
|
}, null, 8, $K),
|
|
526
526
|
R("label", {
|
|
527
527
|
for: xe + "_" + G.field_name,
|
|
528
528
|
class: zt([{
|
|
529
529
|
"border md:!rounded-s-lg": K === 0,
|
|
530
|
-
"border md:!rounded-e-lg": K ===
|
|
531
|
-
"border-t border-b": K !== 0 && K !==
|
|
530
|
+
"border md:!rounded-e-lg": K === oe.locals.length - 1,
|
|
531
|
+
"border-t border-b": K !== 0 && K !== oe.locals.length - 1
|
|
532
532
|
}, "block w-full p-1 font-bold text-center text-gray-500 uppercase bg-white border-gray-200 rounded-lg cursor-pointer md:rounded-none dark:hover:text-gray-300 dark:border-gray-700 dark:peer-checked:text-blue-500 peer-checked:border-blue-600 peer-checked:text-blue-600 hover:text-gray-600 hover:bg-gray-100 dark:text-gray-400 dark:bg-gray-800 dark:hover:bg-gray-700"])
|
|
533
533
|
}, dt(xe), 11, MK)
|
|
534
534
|
]))), 256))
|
|
535
535
|
]);
|
|
536
536
|
}
|
|
537
|
-
const
|
|
537
|
+
const Oce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white border rounded-lg border-stroke shadow-default dark:border-strokedark dark:bg-boxdark" }, NK = { class: "px-3 py-4 border-b border-stroke dark:border-strokedark" }, IK = { class: "font-semibold text-black dark:text-white" }, Rce = {
|
|
538
538
|
__name: "GlCard",
|
|
539
539
|
props: {
|
|
540
540
|
class: {
|
|
@@ -547,21 +547,21 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
547
547
|
}
|
|
548
548
|
},
|
|
549
549
|
setup(A) {
|
|
550
|
-
const
|
|
551
|
-
return (
|
|
550
|
+
const te = A, G = bu(() => te.class), _e = bu(() => te.body_class);
|
|
551
|
+
return (oe, Z) => (ue(), de("div", {
|
|
552
552
|
class: zt(["flex flex-col gap-9", G.value])
|
|
553
553
|
}, [
|
|
554
554
|
R("div", BK, [
|
|
555
555
|
R("div", NK, [
|
|
556
556
|
R("h3", IK, [
|
|
557
|
-
Zi(
|
|
557
|
+
Zi(oe.$slots, "header")
|
|
558
558
|
])
|
|
559
559
|
]),
|
|
560
|
-
|
|
560
|
+
oe.$slots.body ? (ue(), de("div", {
|
|
561
561
|
key: 0,
|
|
562
562
|
class: zt(["p-6", _e.value])
|
|
563
563
|
}, [
|
|
564
|
-
Zi(
|
|
564
|
+
Zi(oe.$slots, "body")
|
|
565
565
|
], 2)) : qe("", !0)
|
|
566
566
|
])
|
|
567
567
|
], 2));
|
|
@@ -604,7 +604,7 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
604
604
|
d: "m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z"
|
|
605
605
|
})
|
|
606
606
|
])
|
|
607
|
-
], -1), JK = ["id"], QK = { class: "overflow-y-auto max-h-64" }, eY = ["onClick", "onMousedown", "id"],
|
|
607
|
+
], -1), JK = ["id"], QK = { class: "overflow-y-auto max-h-64" }, eY = ["onClick", "onMousedown", "id"], $ce = {
|
|
608
608
|
__name: "GlMultiSelectDropdown",
|
|
609
609
|
props: {
|
|
610
610
|
modelValue: {
|
|
@@ -663,8 +663,8 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
663
663
|
}
|
|
664
664
|
},
|
|
665
665
|
emits: ["update:modelValue", "selected", "selectionChanged"],
|
|
666
|
-
setup(A, { emit:
|
|
667
|
-
const G = A, _e =
|
|
666
|
+
setup(A, { emit: te }) {
|
|
667
|
+
const G = A, _e = te, oe = co(null), Z = co([]), xe = co([]), K = co([]), $e = co(0), lt = co(!1), yt = co(""), hn = co(""), Et = co(null), io = co(0), lo = co(0), eo = () => {
|
|
668
668
|
if (Et.value) {
|
|
669
669
|
io.value = Et.value.offsetWidth;
|
|
670
670
|
var Ht = Et.value.getBoundingClientRect();
|
|
@@ -889,7 +889,7 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
889
889
|
fr(R("input", {
|
|
890
890
|
type: "search",
|
|
891
891
|
"onUpdate:modelValue": _t[2] || (_t[2] = (Pe) => yt.value = Pe),
|
|
892
|
-
ref:
|
|
892
|
+
ref: oe.value,
|
|
893
893
|
id: `${A.field_name}search${hn.value}`,
|
|
894
894
|
onKeydown: un,
|
|
895
895
|
onBlur: _t[3] || (_t[3] = (Pe) => ot()),
|
|
@@ -922,7 +922,7 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
922
922
|
], 2))
|
|
923
923
|
], 64));
|
|
924
924
|
}
|
|
925
|
-
}, tY = { class: "font-bold ptext-lg dark:text-white" }, nY = ["name", "id"], oY = ["id"], sY = /* @__PURE__ */ R("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), rY = ["for"], aY = /* @__PURE__ */ R("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), lY = ["name", "id"], cY = ["required", "name", "id", "type"], iY = { class: "gl-span-form-error" }, uY = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
925
|
+
}, tY = { class: "font-bold ptext-lg dark:text-white" }, nY = ["name", "id"], oY = ["id"], sY = /* @__PURE__ */ R("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), rY = ["for"], aY = /* @__PURE__ */ R("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), lY = ["name", "id"], cY = ["required", "name", "id", "type"], iY = { class: "gl-span-form-error" }, uY = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Mce = {
|
|
926
926
|
__name: "GlTextareaTranslate",
|
|
927
927
|
props: {
|
|
928
928
|
is_required: {
|
|
@@ -971,13 +971,13 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
971
971
|
}
|
|
972
972
|
},
|
|
973
973
|
emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
|
|
974
|
-
setup(A, { expose:
|
|
975
|
-
const _e = A,
|
|
976
|
-
xe.value &&
|
|
974
|
+
setup(A, { expose: te, emit: G }) {
|
|
975
|
+
const _e = A, oe = G, Z = co(null), xe = co(null), K = () => {
|
|
976
|
+
xe.value && oe("update:modelValueTranslate", xe.value.value);
|
|
977
977
|
};
|
|
978
978
|
return Og(() => {
|
|
979
|
-
Z.value !== null && Z.value.hasAttribute("autofocus") && Z.value.focus(), _e.modelValue && (
|
|
980
|
-
}),
|
|
979
|
+
Z.value !== null && Z.value.hasAttribute("autofocus") && Z.value.focus(), _e.modelValue && (oe("update:modelValue", _e.modelValue), Z.value.value = _e.modelValue), _e.modelValueTranslate && (oe("update:modelValueTranslate", _e.modelValueTranslate), xe.value.value = _e.modelValueTranslate);
|
|
980
|
+
}), te({ focus: () => Z.value.focus() }), ($e, lt) => (ue(), de(jn, null, [
|
|
981
981
|
A.show ? (ue(), de("div", {
|
|
982
982
|
key: 0,
|
|
983
983
|
class: zt(A.field_name)
|
|
@@ -1044,7 +1044,7 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1044
1044
|
], 2))
|
|
1045
1045
|
], 64));
|
|
1046
1046
|
}
|
|
1047
|
-
}, dY = { class: "font-bold ptext-lg dark:text-white" }, mY = ["name", "id"], fY = ["id"], gY = /* @__PURE__ */ R("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), hY = ["for"], pY = /* @__PURE__ */ R("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), bY = ["name", "id"], vY = ["name", "id", "type"], yY = { class: "gl-span-form-error" }, wY = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
1047
|
+
}, dY = { class: "font-bold ptext-lg dark:text-white" }, mY = ["name", "id"], fY = ["id"], gY = /* @__PURE__ */ R("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), hY = ["for"], pY = /* @__PURE__ */ R("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), bY = ["name", "id"], vY = ["name", "id", "type"], yY = { class: "gl-span-form-error" }, wY = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Pce = {
|
|
1048
1048
|
__name: "GlTinymceTranslate",
|
|
1049
1049
|
props: {
|
|
1050
1050
|
is_required: {
|
|
@@ -1101,27 +1101,27 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1101
1101
|
}
|
|
1102
1102
|
},
|
|
1103
1103
|
emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
|
|
1104
|
-
setup(A, { expose:
|
|
1105
|
-
const _e = A,
|
|
1106
|
-
xe.value &&
|
|
1104
|
+
setup(A, { expose: te, emit: G }) {
|
|
1105
|
+
const _e = A, oe = G, Z = co(null), xe = co(null), K = () => {
|
|
1106
|
+
xe.value && oe("update:modelValueTranslate", xe.value.value);
|
|
1107
1107
|
};
|
|
1108
1108
|
return Og(() => {
|
|
1109
1109
|
tinymce.init({
|
|
1110
1110
|
selector: "#" + _e.field_name,
|
|
1111
1111
|
width: "100%",
|
|
1112
1112
|
height: 300
|
|
1113
|
-
}), Z.value !== null && Z.value.hasAttribute("autofocus") && Z.value.focus(), _e.modelValue && (
|
|
1113
|
+
}), Z.value !== null && Z.value.hasAttribute("autofocus") && Z.value.focus(), _e.modelValue && (oe("update:modelValue", _e.modelValue), Z.value.value = _e.modelValue), _e.modelValueTranslate && (oe("update:modelValueTranslate", _e.modelValueTranslate), xe.value.value = _e.modelValueTranslate), _e.translatable && !_e.modelValueTranslate && axios.get("/admin/get_field_translations", {
|
|
1114
1114
|
params: {
|
|
1115
1115
|
model: _e.translatable.model,
|
|
1116
1116
|
row_id: _e.translatable.row_id,
|
|
1117
1117
|
field: _e.translatable.field
|
|
1118
1118
|
}
|
|
1119
1119
|
}).then(($e) => {
|
|
1120
|
-
xe.value.value = JSON.stringify($e.data),
|
|
1120
|
+
xe.value.value = JSON.stringify($e.data), oe("update:modelValueTranslate", JSON.stringify($e.data));
|
|
1121
1121
|
}).catch(($e) => {
|
|
1122
1122
|
console.log($e);
|
|
1123
1123
|
});
|
|
1124
|
-
}),
|
|
1124
|
+
}), te({ focus: () => Z.value.focus() }), ($e, lt) => (ue(), de(jn, null, [
|
|
1125
1125
|
A.show ? (ue(), de("div", {
|
|
1126
1126
|
key: 0,
|
|
1127
1127
|
class: zt(A.field_name)
|
|
@@ -1187,7 +1187,7 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1187
1187
|
], 2))
|
|
1188
1188
|
], 64));
|
|
1189
1189
|
}
|
|
1190
|
-
}, xY = { class: "font-bold ptext-lg dark:text-white" }, CY = ["name", "id"], _Y = ["id"], SY = /* @__PURE__ */ R("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), kY = ["for"], TY = /* @__PURE__ */ R("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), EY = ["name", "id"], AY = ["required", "name", "id", "type"], DY = { class: "gl-span-form-error" }, OY = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
1190
|
+
}, xY = { class: "font-bold ptext-lg dark:text-white" }, CY = ["name", "id"], _Y = ["id"], SY = /* @__PURE__ */ R("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), kY = ["for"], TY = /* @__PURE__ */ R("span", { class: "language-label js-language-label bg-blue-100 text-blue-800 text-xs font-medium me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, null, -1), EY = ["name", "id"], AY = ["required", "name", "id", "type"], DY = { class: "gl-span-form-error" }, OY = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Bce = {
|
|
1191
1191
|
__name: "GlTextTranslate",
|
|
1192
1192
|
props: {
|
|
1193
1193
|
is_required: {
|
|
@@ -1236,13 +1236,13 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1236
1236
|
}
|
|
1237
1237
|
},
|
|
1238
1238
|
emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
|
|
1239
|
-
setup(A, { expose:
|
|
1240
|
-
const _e = A,
|
|
1241
|
-
xe.value &&
|
|
1239
|
+
setup(A, { expose: te, emit: G }) {
|
|
1240
|
+
const _e = A, oe = G, Z = co(null), xe = co(null), K = () => {
|
|
1241
|
+
xe.value && oe("update:modelValueTranslate", xe.value.value);
|
|
1242
1242
|
};
|
|
1243
1243
|
return Og(() => {
|
|
1244
|
-
Z.value !== null && Z.value.hasAttribute("autofocus") && Z.value.focus(), _e.modelValue && (
|
|
1245
|
-
}),
|
|
1244
|
+
Z.value !== null && Z.value.hasAttribute("autofocus") && Z.value.focus(), _e.modelValue && (oe("update:modelValue", _e.modelValue), Z.value.value = _e.modelValue), _e.modelValueTranslate && (oe("update:modelValueTranslate", _e.modelValueTranslate), xe.value.value = _e.modelValueTranslate);
|
|
1245
|
+
}), te({ focus: () => Z.value.focus() }), ($e, lt) => (ue(), de(jn, null, [
|
|
1246
1246
|
A.show ? (ue(), de("div", {
|
|
1247
1247
|
key: 0,
|
|
1248
1248
|
class: zt(A.field_name)
|
|
@@ -1348,8 +1348,8 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1348
1348
|
}
|
|
1349
1349
|
},
|
|
1350
1350
|
emits: ["update:modelValue", "keydown"],
|
|
1351
|
-
setup(A, { expose:
|
|
1352
|
-
const _e = A,
|
|
1351
|
+
setup(A, { expose: te, emit: G }) {
|
|
1352
|
+
const _e = A, oe = G, Z = co(null);
|
|
1353
1353
|
Og(() => {
|
|
1354
1354
|
Z.value !== null && Z.value.hasAttribute("autofocus") && Z.value.focus();
|
|
1355
1355
|
});
|
|
@@ -1358,10 +1358,10 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1358
1358
|
return _e.modelValue;
|
|
1359
1359
|
},
|
|
1360
1360
|
set(K) {
|
|
1361
|
-
|
|
1361
|
+
oe("update:modelValue", K);
|
|
1362
1362
|
}
|
|
1363
1363
|
});
|
|
1364
|
-
return
|
|
1364
|
+
return te({ focus: () => Z.value.focus() }), (K, $e) => (ue(), de(jn, null, [
|
|
1365
1365
|
A.show ? (ue(), de("div", {
|
|
1366
1366
|
key: 0,
|
|
1367
1367
|
class: zt(A.field_name)
|
|
@@ -1405,7 +1405,7 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1405
1405
|
], 2))
|
|
1406
1406
|
], 64));
|
|
1407
1407
|
}
|
|
1408
|
-
}, FY = { class: "font-bold dark:text-white" }, HY = { class: "mt-1 text-gray-900 dark:text-white" }, VY = /* @__PURE__ */ R("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), zY = ["for"], UY = { class: "flex items-center" }, WY = { class: "relative w-full" }, ZY = ["required", "name", "id", "type", "placeholder"], jY = { class: "h-10 z-10 inline-flex items-center flex-shrink-0 px-4 text-sm font-medium text-center text-gray-500 bg-gray-100 border border-gray-300 dark:text-gray-400 rounded-e-lg focus:outline-none dark:bg-gray-700 dark:border-gray-600" }, GY = { class: "gl-span-form-error" }, qY = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
1408
|
+
}, FY = { class: "font-bold dark:text-white" }, HY = { class: "mt-1 text-gray-900 dark:text-white" }, VY = /* @__PURE__ */ R("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), zY = ["for"], UY = { class: "flex items-center" }, WY = { class: "relative w-full" }, ZY = ["required", "name", "id", "type", "placeholder"], jY = { class: "h-10 z-10 inline-flex items-center flex-shrink-0 px-4 text-sm font-medium text-center text-gray-500 bg-gray-100 border border-gray-300 dark:text-gray-400 rounded-e-lg focus:outline-none dark:bg-gray-700 dark:border-gray-600" }, GY = { class: "gl-span-form-error" }, qY = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Nce = {
|
|
1409
1409
|
__name: "GlTextInputWithText",
|
|
1410
1410
|
props: {
|
|
1411
1411
|
is_required: {
|
|
@@ -1454,8 +1454,8 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1454
1454
|
}
|
|
1455
1455
|
},
|
|
1456
1456
|
emits: ["update:modelValue", "keydown"],
|
|
1457
|
-
setup(A, { expose:
|
|
1458
|
-
const _e = A,
|
|
1457
|
+
setup(A, { expose: te, emit: G }) {
|
|
1458
|
+
const _e = A, oe = G, Z = co(null);
|
|
1459
1459
|
Og(() => {
|
|
1460
1460
|
Z.value !== null && Z.value.hasAttribute("autofocus") && Z.value.focus();
|
|
1461
1461
|
});
|
|
@@ -1464,10 +1464,10 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1464
1464
|
return _e.modelValue;
|
|
1465
1465
|
},
|
|
1466
1466
|
set(K) {
|
|
1467
|
-
|
|
1467
|
+
oe("update:modelValue", K);
|
|
1468
1468
|
}
|
|
1469
1469
|
});
|
|
1470
|
-
return
|
|
1470
|
+
return te({ focus: () => Z.value.focus() }), (K, $e) => (ue(), de(jn, null, [
|
|
1471
1471
|
A.show ? (ue(), de("div", {
|
|
1472
1472
|
key: 0,
|
|
1473
1473
|
class: zt(A.field_name)
|
|
@@ -1516,7 +1516,7 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1516
1516
|
], 2))
|
|
1517
1517
|
], 64));
|
|
1518
1518
|
}
|
|
1519
|
-
}, KY = { class: "font-bold dark:text-white" }, YY = { class: "mt-1 text-gray-900 dark:text-white" }, XY = /* @__PURE__ */ R("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), JY = ["for"], QY = { class: "flex justify-between gap-1 flex-col md:flex-row text-center" }, eX = ["required", "name", "id", "placeholder"], tX = /* @__PURE__ */ R("span", { class: "mx-4 text-gray-500 md:mt-2" }, "to", -1), nX = ["required", "name", "id", "placeholder"], oX = { class: "text-center" }, sX = { class: "gl-span-form-error" }, rX = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
1519
|
+
}, KY = { class: "font-bold dark:text-white" }, YY = { class: "mt-1 text-gray-900 dark:text-white" }, XY = /* @__PURE__ */ R("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), JY = ["for"], QY = { class: "flex justify-between gap-1 flex-col md:flex-row text-center" }, eX = ["required", "name", "id", "placeholder"], tX = /* @__PURE__ */ R("span", { class: "mx-4 text-gray-500 md:mt-2" }, "to", -1), nX = ["required", "name", "id", "placeholder"], oX = { class: "text-center" }, sX = { class: "gl-span-form-error" }, rX = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Ice = {
|
|
1520
1520
|
__name: "GlDateRangePicker",
|
|
1521
1521
|
props: {
|
|
1522
1522
|
is_required: {
|
|
@@ -1553,8 +1553,8 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1553
1553
|
}
|
|
1554
1554
|
},
|
|
1555
1555
|
emits: ["update:modelValue", "keydown"],
|
|
1556
|
-
setup(A, { emit:
|
|
1557
|
-
const G = A, _e =
|
|
1556
|
+
setup(A, { emit: te }) {
|
|
1557
|
+
const G = A, _e = te, oe = co(""), Z = co({
|
|
1558
1558
|
start: G.modelValue.start,
|
|
1559
1559
|
end: G.modelValue.end
|
|
1560
1560
|
});
|
|
@@ -1574,7 +1574,7 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1574
1574
|
Z.value.end = lt, $e(Z.value.start, Z.value.end), _e("update:modelValue", { start: Z.value.start, end: Z.value.end }), _e("keydown", { start: Z.value.start, end: Z.value.end });
|
|
1575
1575
|
}
|
|
1576
1576
|
}), $e = (lt, yt) => {
|
|
1577
|
-
lt && yt && new Date(lt) > new Date(yt) ? (
|
|
1577
|
+
lt && yt && new Date(lt) > new Date(yt) ? (oe.value = "Start date cannot be after end date.", Z.value.start = "", Z.value.end = "", _e("update:modelValue", { start: Z.value.start, end: Z.value.end }), _e("keydown", { start: Z.value.start, end: Z.value.end })) : lt && yt && new Date(yt) < new Date(lt) ? (oe.value = "End date cannot be before start date.", Z.value.start = "", Z.value.end = "", _e("update:modelValue", { start: Z.value.start, end: Z.value.end }), _e("keydown", { start: Z.value.start, end: Z.value.end })) : oe.value = "";
|
|
1578
1578
|
};
|
|
1579
1579
|
return (lt, yt) => (ue(), de(jn, null, [
|
|
1580
1580
|
A.show ? (ue(), de("div", {
|
|
@@ -1591,8 +1591,8 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1591
1591
|
}, [
|
|
1592
1592
|
R("label", {
|
|
1593
1593
|
class: zt({
|
|
1594
|
-
"gl-label-form": A.error_message == "" &&
|
|
1595
|
-
"gl-label-form-invalid": A.error_message !== "" ||
|
|
1594
|
+
"gl-label-form": A.error_message == "" && oe.value == "",
|
|
1595
|
+
"gl-label-form-invalid": A.error_message !== "" || oe.value !== "",
|
|
1596
1596
|
required: A.is_required
|
|
1597
1597
|
}),
|
|
1598
1598
|
for: A.field_name
|
|
@@ -1603,8 +1603,8 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1603
1603
|
name: A.field_name + "Start",
|
|
1604
1604
|
id: A.field_name + "Start",
|
|
1605
1605
|
class: zt({
|
|
1606
|
-
"gl-input-form": A.error_message == "" &&
|
|
1607
|
-
"gl-input-form-invalid": A.error_message !== "" ||
|
|
1606
|
+
"gl-input-form": A.error_message == "" && oe.value == "",
|
|
1607
|
+
"gl-input-form-invalid": A.error_message !== "" || oe.value !== ""
|
|
1608
1608
|
}),
|
|
1609
1609
|
type: "date",
|
|
1610
1610
|
"onUpdate:modelValue": yt[0] || (yt[0] = (hn) => xe.value = hn),
|
|
@@ -1618,8 +1618,8 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1618
1618
|
name: A.field_name + "End",
|
|
1619
1619
|
id: A.field_name + "End",
|
|
1620
1620
|
class: zt({
|
|
1621
|
-
"gl-input-form": A.error_message == "" &&
|
|
1622
|
-
"gl-input-form-invalid": A.error_message !== "" ||
|
|
1621
|
+
"gl-input-form": A.error_message == "" && oe.value == "",
|
|
1622
|
+
"gl-input-form-invalid": A.error_message !== "" || oe.value !== ""
|
|
1623
1623
|
}),
|
|
1624
1624
|
type: "date",
|
|
1625
1625
|
"onUpdate:modelValue": yt[1] || (yt[1] = (hn) => K.value = hn),
|
|
@@ -1629,13 +1629,13 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1629
1629
|
])
|
|
1630
1630
|
]),
|
|
1631
1631
|
R("div", oX, [
|
|
1632
|
-
R("span", sX, dt(A.error_message ||
|
|
1632
|
+
R("span", sX, dt(A.error_message || oe.value), 1)
|
|
1633
1633
|
]),
|
|
1634
1634
|
R("small", rX, dt(A.description), 1)
|
|
1635
1635
|
], 2))
|
|
1636
1636
|
], 64));
|
|
1637
1637
|
}
|
|
1638
|
-
}, aX = { class: "font-bold ptext-lg dark:text-white" }, lX = { class: "mb-4 text-base text-gray-900 dark:text-white" }, cX = /* @__PURE__ */ R("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), iX = ["for"], uX = ["required", "name", "id", "placeholder"], dX = { class: "gl-span-form-error" }, mX = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
1638
|
+
}, aX = { class: "font-bold ptext-lg dark:text-white" }, lX = { class: "mb-4 text-base text-gray-900 dark:text-white" }, cX = /* @__PURE__ */ R("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), iX = ["for"], uX = ["required", "name", "id", "placeholder"], dX = { class: "gl-span-form-error" }, mX = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Lce = {
|
|
1639
1639
|
__name: "GlTextInputFile",
|
|
1640
1640
|
props: {
|
|
1641
1641
|
is_required: {
|
|
@@ -1680,8 +1680,8 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1680
1680
|
}
|
|
1681
1681
|
},
|
|
1682
1682
|
emits: ["update:modelValue", "keydown"],
|
|
1683
|
-
setup(A, { emit:
|
|
1684
|
-
const G =
|
|
1683
|
+
setup(A, { emit: te }) {
|
|
1684
|
+
const G = te, _e = co(null), oe = (Z) => {
|
|
1685
1685
|
const xe = Z.target.files[0];
|
|
1686
1686
|
console.log(xe), G("keydown", Z), xe && G("update:modelValue", xe);
|
|
1687
1687
|
};
|
|
@@ -1715,7 +1715,7 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1715
1715
|
"gl-input-form-invalid": A.error_message !== ""
|
|
1716
1716
|
}),
|
|
1717
1717
|
type: "file",
|
|
1718
|
-
onChange:
|
|
1718
|
+
onChange: oe,
|
|
1719
1719
|
ref_key: "input",
|
|
1720
1720
|
ref: _e,
|
|
1721
1721
|
placeholder: A.placeholder
|
|
@@ -1725,17 +1725,17 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1725
1725
|
], 2))
|
|
1726
1726
|
], 64));
|
|
1727
1727
|
}
|
|
1728
|
-
}, fX = { class: "flex flex-wrap" }, gX = { class: "w-full" }, hX = { class: "flex flex-row flex-wrap gap-1 pt-3 pb-4 mb-0 list-none" }, pX = ["onClick"], bX = { class: "relative flex flex-col w-full min-w-0 mb-6 break-words bg-white rounded shadow-lg dark:border-strokedark dark:bg-boxdark" }, vX = { class: "flex-auto px-4 py-5" }, yX = { class: "tab-content tab-space" },
|
|
1728
|
+
}, fX = { class: "flex flex-wrap" }, gX = { class: "w-full" }, hX = { class: "flex flex-row flex-wrap gap-1 pt-3 pb-4 mb-0 list-none" }, pX = ["onClick"], bX = { class: "relative flex flex-col w-full min-w-0 mb-6 break-words bg-white rounded shadow-lg dark:border-strokedark dark:bg-boxdark" }, vX = { class: "flex-auto px-4 py-5" }, yX = { class: "tab-content tab-space" }, Fce = {
|
|
1729
1729
|
__name: "GlTabsWrapper",
|
|
1730
1730
|
props: {},
|
|
1731
1731
|
emits: ["TabChange"],
|
|
1732
|
-
setup(A, { emit:
|
|
1733
|
-
const G =
|
|
1732
|
+
setup(A, { emit: te }) {
|
|
1733
|
+
const G = te, _e = Bq(), oe = co(_e.default().map(($e) => $e.props)), Z = co("");
|
|
1734
1734
|
oq("selectedTitle", Z);
|
|
1735
1735
|
const xe = ($e) => {
|
|
1736
1736
|
window.location.hash = encodeURIComponent($e), G("TabChange", $e);
|
|
1737
1737
|
}, K = () => {
|
|
1738
|
-
const $e = decodeURIComponent(window.location.hash.replace("#", "")), lt =
|
|
1738
|
+
const $e = decodeURIComponent(window.location.hash.replace("#", "")), lt = oe.value.find((yt) => yt.title === $e);
|
|
1739
1739
|
lt && (Z.value = lt.title);
|
|
1740
1740
|
};
|
|
1741
1741
|
return Sf(Z, ($e) => {
|
|
@@ -1748,7 +1748,7 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1748
1748
|
R("div", fX, [
|
|
1749
1749
|
R("div", gX, [
|
|
1750
1750
|
R("ul", hX, [
|
|
1751
|
-
(ue(!0), de(jn, null, Ks(
|
|
1751
|
+
(ue(!0), de(jn, null, Ks(oe.value, (yt) => (ue(), de("li", {
|
|
1752
1752
|
key: yt.title,
|
|
1753
1753
|
onClick: (hn) => Z.value = yt.title,
|
|
1754
1754
|
class: "flex-auto -mb-px text-center"
|
|
@@ -1785,12 +1785,12 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1785
1785
|
key: 0,
|
|
1786
1786
|
class: "block"
|
|
1787
1787
|
};
|
|
1788
|
-
function CX(A,
|
|
1788
|
+
function CX(A, te, G, _e, oe, Z) {
|
|
1789
1789
|
return G.title == _e.selectedTitle ? (ue(), de("div", xX, [
|
|
1790
1790
|
Zi(A.$slots, "default")
|
|
1791
1791
|
])) : qe("", !0);
|
|
1792
1792
|
}
|
|
1793
|
-
const
|
|
1793
|
+
const Hce = /* @__PURE__ */ zr(wX, [["render", CX]]), _X = {
|
|
1794
1794
|
props: {
|
|
1795
1795
|
elements_to_show_prop: {
|
|
1796
1796
|
type: Number,
|
|
@@ -1841,27 +1841,27 @@ const Fce = /* @__PURE__ */ zr(wX, [["render", CX]]), _X = {
|
|
|
1841
1841
|
return !this.hide_arrow && this.slider_arrows_indicators_position == "arrows_outside_slider" ? A += " w-12/12 xl:w-8/12 xxl:w-8/12 md:w-8/12 sm:w-8/12" : this.slider_arrows_indicators_position != "arrows_outside_slider" && (A += " w-12/12 "), A;
|
|
1842
1842
|
},
|
|
1843
1843
|
generateRandomString(A) {
|
|
1844
|
-
let
|
|
1844
|
+
let te = "";
|
|
1845
1845
|
const G = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", _e = G.length;
|
|
1846
|
-
for (let
|
|
1847
|
-
|
|
1848
|
-
return
|
|
1846
|
+
for (let oe = 0; oe < A; oe++)
|
|
1847
|
+
te += G.charAt(Math.floor(Math.random() * _e));
|
|
1848
|
+
return te;
|
|
1849
1849
|
},
|
|
1850
1850
|
movingActions() {
|
|
1851
|
-
let A = this,
|
|
1852
|
-
const G = (
|
|
1853
|
-
|
|
1851
|
+
let A = this, te = document.getElementById("slider_" + this.Random_string);
|
|
1852
|
+
const G = (oe) => {
|
|
1853
|
+
te.style.cursor = "grabbing";
|
|
1854
1854
|
const Z = (K) => {
|
|
1855
1855
|
const $e = K.clientX || K.touches && K.touches[0] && K.touches[0].clientX, lt = K.clientY || K.touches && K.touches[0] && K.touches[0].clientY, yt = $e - A.initialX, hn = lt - A.initialY;
|
|
1856
|
-
Math.abs(yt) > Math.abs(hn) ? (K.preventDefault(), Math.abs(yt) >= 70 && (yt < 0 ? A.next() : A.prev(), A.initialX = $e)) :
|
|
1856
|
+
Math.abs(yt) > Math.abs(hn) ? (K.preventDefault(), Math.abs(yt) >= 70 && (yt < 0 ? A.next() : A.prev(), A.initialX = $e)) : te.style.cursor = "grab", Math.abs(hn) > Math.abs(yt) && (te.style.cursor = "grab");
|
|
1857
1857
|
}, xe = () => {
|
|
1858
|
-
document.removeEventListener("mousemove", Z), document.removeEventListener("touchmove", Z), document.removeEventListener("mouseup", xe), document.removeEventListener("touchend", xe),
|
|
1858
|
+
document.removeEventListener("mousemove", Z), document.removeEventListener("touchmove", Z), document.removeEventListener("mouseup", xe), document.removeEventListener("touchend", xe), te.style.cursor = "grab";
|
|
1859
1859
|
};
|
|
1860
|
-
document.addEventListener("mousemove", Z), document.addEventListener("touchmove", Z, { passive: !1 }), document.addEventListener("mouseup", xe), document.addEventListener("touchend", xe), A.initialX =
|
|
1861
|
-
}, _e = (
|
|
1862
|
-
|
|
1860
|
+
document.addEventListener("mousemove", Z), document.addEventListener("touchmove", Z, { passive: !1 }), document.addEventListener("mouseup", xe), document.addEventListener("touchend", xe), A.initialX = oe.clientX || oe.touches && oe.touches[0] && oe.touches[0].clientX, A.initialY = oe.clientY || oe.touches && oe.touches[0] && oe.touches[0].clientY;
|
|
1861
|
+
}, _e = (oe) => {
|
|
1862
|
+
oe.key === "ArrowLeft" ? A.prev() : oe.key === "ArrowRight" && A.next();
|
|
1863
1863
|
};
|
|
1864
|
-
|
|
1864
|
+
te.addEventListener("mousedown", G), te.addEventListener("touchstart", G), document.addEventListener("keydown", _e);
|
|
1865
1865
|
},
|
|
1866
1866
|
next() {
|
|
1867
1867
|
this.currentDot < this.dotsNavigation.length && (this.currentDot++, this.setDot(this.currentDot));
|
|
@@ -1870,23 +1870,23 @@ const Fce = /* @__PURE__ */ zr(wX, [["render", CX]]), _X = {
|
|
|
1870
1870
|
this.currentDot > 1 && (this.currentDot--, this.setDot(this.currentDot));
|
|
1871
1871
|
},
|
|
1872
1872
|
initSlider() {
|
|
1873
|
-
let A = document.getElementById("sliderContainer_" + this.Random_string),
|
|
1874
|
-
if (this.elementsToShow > 1 ? document.body.clientWidth < 1e3 ? (this.elementsToShow = 1, xe = this.hide_arrow ?
|
|
1875
|
-
this.dotsNum = this.elementsToShow == 1 ?
|
|
1876
|
-
let K = this.elementsToShow == 1 ? xe *
|
|
1873
|
+
let A = document.getElementById("sliderContainer_" + this.Random_string), te = document.getElementById("mainSliderContainer_" + this.Random_string), G = document.getElementById("slider_" + this.Random_string), _e = G.querySelectorAll("li"), oe = Array.from(_e).filter((K) => K.parentNode === G), Z = A.clientWidth, xe = Z / this.elementsToShow;
|
|
1874
|
+
if (this.elementsToShow > 1 ? document.body.clientWidth < 1e3 ? (this.elementsToShow = 1, xe = this.hide_arrow ? te.clientWidth : Z) : document.body.clientWidth < 1500 && (this.elementsToShow = 2) : (this.elementsToShow = 1, xe = this.hide_arrow ? te.clientWidth : Z), oe.length > 1) {
|
|
1875
|
+
this.dotsNum = this.elementsToShow == 1 ? oe.length : oe.length - this.elementsToShow + 1;
|
|
1876
|
+
let K = this.elementsToShow == 1 ? xe * oe.length / this.dotsNum : xe * (oe.length - this.elementsToShow) / (this.dotsNum - 1);
|
|
1877
1877
|
this.dotsNavigation = [];
|
|
1878
1878
|
for (let $e = 0; $e < this.dotsNum; $e++)
|
|
1879
1879
|
this.dotsNavigation.push(K * $e);
|
|
1880
1880
|
}
|
|
1881
|
-
G.style.width =
|
|
1882
|
-
for (let K = 0; K <
|
|
1883
|
-
const $e =
|
|
1881
|
+
G.style.width = oe.length * xe + "px", G.style.transition = "margin", G.style.transitionDuration = "1s";
|
|
1882
|
+
for (let K = 0; K < oe.length; K++) {
|
|
1883
|
+
const $e = oe[K];
|
|
1884
1884
|
$e.style.width = xe + "px";
|
|
1885
1885
|
}
|
|
1886
1886
|
},
|
|
1887
1887
|
setDot(A) {
|
|
1888
|
-
let
|
|
1889
|
-
this.direction_property == "rtl" ?
|
|
1888
|
+
let te = document.getElementById("slider_" + this.Random_string);
|
|
1889
|
+
this.direction_property == "rtl" ? te.style.marginRight = -this.dotsNavigation[A - 1] + "px" : te.style.marginLeft = -this.dotsNavigation[A - 1] + "px", this.currentDot = A;
|
|
1890
1890
|
}
|
|
1891
1891
|
}
|
|
1892
1892
|
}, Sm = (A) => (rq("data-v-205c6327"), A = A(), aq(), A), SX = ["id"], kX = {
|
|
@@ -2074,7 +2074,7 @@ const Fce = /* @__PURE__ */ zr(wX, [["render", CX]]), _X = {
|
|
|
2074
2074
|
}, null, -1)), TJ = [
|
|
2075
2075
|
kJ
|
|
2076
2076
|
];
|
|
2077
|
-
function EJ(A,
|
|
2077
|
+
function EJ(A, te, G, _e, oe, Z) {
|
|
2078
2078
|
return ue(), de("div", null, [
|
|
2079
2079
|
R("div", {
|
|
2080
2080
|
class: zt(["", !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_outside_slider" ? "flex" : "relative block"]),
|
|
@@ -2084,7 +2084,7 @@ function EJ(A, oe, G, _e, ne, Z) {
|
|
|
2084
2084
|
R("div", TX, [
|
|
2085
2085
|
R("button", {
|
|
2086
2086
|
class: "p-3 mr-5 rounded-full shadow-lg arrow_button_styles",
|
|
2087
|
-
onClick:
|
|
2087
|
+
onClick: te[0] || (te[0] = (xe) => Z.prev())
|
|
2088
2088
|
}, [
|
|
2089
2089
|
G.direction_property == "ltr" ? (ue(), de("svg", EX, DX)) : qe("", !0),
|
|
2090
2090
|
G.direction_property == "rtl" ? (ue(), de("svg", OX, $X)) : qe("", !0)
|
|
@@ -2106,7 +2106,7 @@ function EJ(A, oe, G, _e, ne, Z) {
|
|
|
2106
2106
|
R("div", BX, [
|
|
2107
2107
|
R("button", {
|
|
2108
2108
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2109
|
-
onClick:
|
|
2109
|
+
onClick: te[1] || (te[1] = za((xe) => Z.prev(), ["stop"]))
|
|
2110
2110
|
}, [
|
|
2111
2111
|
G.direction_property == "ltr" ? (ue(), de("svg", NX, LX)) : qe("", !0),
|
|
2112
2112
|
G.direction_property == "rtl" ? (ue(), de("svg", FX, VX)) : qe("", !0)
|
|
@@ -2121,7 +2121,7 @@ function EJ(A, oe, G, _e, ne, Z) {
|
|
|
2121
2121
|
R("div", zX, [
|
|
2122
2122
|
R("button", {
|
|
2123
2123
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2124
|
-
onClick:
|
|
2124
|
+
onClick: te[2] || (te[2] = za((xe) => Z.next(), ["stop"]))
|
|
2125
2125
|
}, [
|
|
2126
2126
|
G.direction_property == "ltr" ? (ue(), de("svg", UX, ZX)) : qe("", !0),
|
|
2127
2127
|
G.direction_property == "rtl" ? (ue(), de("svg", jX, qX)) : qe("", !0)
|
|
@@ -2156,7 +2156,7 @@ function EJ(A, oe, G, _e, ne, Z) {
|
|
|
2156
2156
|
R("div", sJ, [
|
|
2157
2157
|
R("button", {
|
|
2158
2158
|
class: zt(["p-3 rounded-full arrow_button_styles", G.direction_property == "rtl" ? "ml-3" : "mr-3"]),
|
|
2159
|
-
onClick:
|
|
2159
|
+
onClick: te[3] || (te[3] = (xe) => Z.prev())
|
|
2160
2160
|
}, [
|
|
2161
2161
|
G.direction_property == "ltr" ? (ue(), de("svg", rJ, lJ)) : qe("", !0),
|
|
2162
2162
|
G.direction_property == "rtl" ? (ue(), de("svg", cJ, uJ)) : qe("", !0)
|
|
@@ -2167,7 +2167,7 @@ function EJ(A, oe, G, _e, ne, Z) {
|
|
|
2167
2167
|
R("div", mJ, [
|
|
2168
2168
|
R("button", {
|
|
2169
2169
|
class: "p-3 rounded-full arrow_button_styles",
|
|
2170
|
-
onClick:
|
|
2170
|
+
onClick: te[4] || (te[4] = (xe) => Z.next())
|
|
2171
2171
|
}, [
|
|
2172
2172
|
G.direction_property == "ltr" ? (ue(), de("svg", fJ, hJ)) : qe("", !0),
|
|
2173
2173
|
G.direction_property == "rtl" ? (ue(), de("svg", pJ, vJ)) : qe("", !0)
|
|
@@ -2181,7 +2181,7 @@ function EJ(A, oe, G, _e, ne, Z) {
|
|
|
2181
2181
|
R("div", wJ, [
|
|
2182
2182
|
R("button", {
|
|
2183
2183
|
class: "p-3 ml-5 rounded-full shadow-lg arrow_button_styles",
|
|
2184
|
-
onClick:
|
|
2184
|
+
onClick: te[5] || (te[5] = (xe) => Z.next())
|
|
2185
2185
|
}, [
|
|
2186
2186
|
G.direction_property == "ltr" ? (ue(), de("svg", xJ, _J)) : qe("", !0),
|
|
2187
2187
|
G.direction_property == "rtl" ? (ue(), de("svg", SJ, TJ)) : qe("", !0)
|
|
@@ -2191,7 +2191,7 @@ function EJ(A, oe, G, _e, ne, Z) {
|
|
|
2191
2191
|
], 10, SX)
|
|
2192
2192
|
]);
|
|
2193
2193
|
}
|
|
2194
|
-
const
|
|
2194
|
+
const Vce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-205c6327"]]), AJ = {
|
|
2195
2195
|
props: {
|
|
2196
2196
|
elements_to_show_prop: {
|
|
2197
2197
|
type: Number,
|
|
@@ -2248,8 +2248,8 @@ const Hce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-205c63
|
|
|
2248
2248
|
methods: {
|
|
2249
2249
|
observeSlotChanges() {
|
|
2250
2250
|
const A = this.$refs.slotContainer;
|
|
2251
|
-
A && (this.mutationObserver = new MutationObserver((
|
|
2252
|
-
|
|
2251
|
+
A && (this.mutationObserver = new MutationObserver((te) => {
|
|
2252
|
+
te.forEach((G) => {
|
|
2253
2253
|
this.initSlider();
|
|
2254
2254
|
});
|
|
2255
2255
|
}), this.mutationObserver.observe(A, {
|
|
@@ -2266,27 +2266,27 @@ const Hce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-205c63
|
|
|
2266
2266
|
return !this.hide_arrow && this.slider_arrows_indicators_position == "arrows_outside_slider" || this.slider_arrows_indicators_position != "arrows_outside_slider", A;
|
|
2267
2267
|
},
|
|
2268
2268
|
generateRandomString(A) {
|
|
2269
|
-
let
|
|
2269
|
+
let te = "";
|
|
2270
2270
|
const G = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", _e = G.length;
|
|
2271
|
-
for (let
|
|
2272
|
-
|
|
2273
|
-
return
|
|
2271
|
+
for (let oe = 0; oe < A; oe++)
|
|
2272
|
+
te += G.charAt(Math.floor(Math.random() * _e));
|
|
2273
|
+
return te;
|
|
2274
2274
|
},
|
|
2275
2275
|
movingActions() {
|
|
2276
|
-
let A = this,
|
|
2277
|
-
const G = (
|
|
2278
|
-
|
|
2276
|
+
let A = this, te = document.getElementById("slider_" + this.Random_string);
|
|
2277
|
+
const G = (oe) => {
|
|
2278
|
+
te.style.cursor = "grabbing";
|
|
2279
2279
|
const Z = (K) => {
|
|
2280
2280
|
const $e = K.clientX || K.touches && K.touches[0] && K.touches[0].clientX, lt = K.clientY || K.touches && K.touches[0] && K.touches[0].clientY, yt = $e - A.initialX, hn = lt - A.initialY;
|
|
2281
|
-
Math.abs(yt) > Math.abs(hn) ? (K.preventDefault(), Math.abs(yt) >= 70 && (yt < 0 ? A.next() : A.prev(), A.initialX = $e)) :
|
|
2281
|
+
Math.abs(yt) > Math.abs(hn) ? (K.preventDefault(), Math.abs(yt) >= 70 && (yt < 0 ? A.next() : A.prev(), A.initialX = $e)) : te.style.cursor = "grab", Math.abs(hn) > Math.abs(yt) && (te.style.cursor = "grab");
|
|
2282
2282
|
}, xe = () => {
|
|
2283
|
-
document.removeEventListener("mousemove", Z), document.removeEventListener("touchmove", Z), document.removeEventListener("mouseup", xe), document.removeEventListener("touchend", xe),
|
|
2283
|
+
document.removeEventListener("mousemove", Z), document.removeEventListener("touchmove", Z), document.removeEventListener("mouseup", xe), document.removeEventListener("touchend", xe), te.style.cursor = "grab";
|
|
2284
2284
|
};
|
|
2285
|
-
document.addEventListener("mousemove", Z), document.addEventListener("touchmove", Z, { passive: !1 }), document.addEventListener("mouseup", xe), document.addEventListener("touchend", xe), A.initialX =
|
|
2286
|
-
}, _e = (
|
|
2287
|
-
|
|
2285
|
+
document.addEventListener("mousemove", Z), document.addEventListener("touchmove", Z, { passive: !1 }), document.addEventListener("mouseup", xe), document.addEventListener("touchend", xe), A.initialX = oe.clientX || oe.touches && oe.touches[0] && oe.touches[0].clientX, A.initialY = oe.clientY || oe.touches && oe.touches[0] && oe.touches[0].clientY;
|
|
2286
|
+
}, _e = (oe) => {
|
|
2287
|
+
oe.key === "ArrowLeft" ? A.prev() : oe.key === "ArrowRight" && A.next();
|
|
2288
2288
|
};
|
|
2289
|
-
|
|
2289
|
+
te.addEventListener("mousedown", G), te.addEventListener("touchstart", G), document.addEventListener("keydown", _e);
|
|
2290
2290
|
},
|
|
2291
2291
|
next() {
|
|
2292
2292
|
this.currentDot < this.dotsNavigation.length && (this.currentDot++, this.setDot(this.currentDot));
|
|
@@ -2295,25 +2295,25 @@ const Hce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-205c63
|
|
|
2295
2295
|
this.currentDot > 1 && (this.currentDot--, this.setDot(this.currentDot));
|
|
2296
2296
|
},
|
|
2297
2297
|
initSlider() {
|
|
2298
|
-
let A = document.getElementById("sliderContainer_" + this.Random_string),
|
|
2299
|
-
|
|
2298
|
+
let A = document.getElementById("sliderContainer_" + this.Random_string), te = document.getElementById("mainSliderContainer_" + this.Random_string), G = document.getElementById("slider_" + this.Random_string), _e = G.querySelectorAll("li"), oe = Array.from(_e).filter((K) => K.parentNode === G);
|
|
2299
|
+
oe[0];
|
|
2300
2300
|
let Z = this.element_size + 28, xe = A.clientWidth;
|
|
2301
|
-
if (this.elementsToShow = Math.floor(this.hide_arrow ?
|
|
2302
|
-
this.dotsNum = Math.ceil(
|
|
2303
|
-
let K = this.hide_arrow ?
|
|
2301
|
+
if (this.elementsToShow = Math.floor(this.hide_arrow ? te.clientWidth / Z : xe / Z), Z = (this.hide_arrow ? te.clientWidth : xe) / this.elementsToShow - 28, oe.length > 1) {
|
|
2302
|
+
this.dotsNum = Math.ceil(oe.length / this.elementsToShow);
|
|
2303
|
+
let K = this.hide_arrow ? te.clientWidth : xe;
|
|
2304
2304
|
this.dotsNavigation = [];
|
|
2305
2305
|
for (let $e = 0; $e < this.dotsNum; $e++)
|
|
2306
2306
|
this.dotsNavigation.push(K * $e);
|
|
2307
2307
|
}
|
|
2308
2308
|
G.style.transition = "margin", G.style.transitionDuration = "1s";
|
|
2309
|
-
for (let K = 0; K <
|
|
2310
|
-
const $e =
|
|
2309
|
+
for (let K = 0; K < oe.length; K++) {
|
|
2310
|
+
const $e = oe[K];
|
|
2311
2311
|
$e.style.width = Z + "px", $e.style.minWidth = Z + "px";
|
|
2312
2312
|
}
|
|
2313
2313
|
},
|
|
2314
2314
|
setDot(A) {
|
|
2315
|
-
let
|
|
2316
|
-
this.direction_property == "rtl" ?
|
|
2315
|
+
let te = document.getElementById("slider_" + this.Random_string);
|
|
2316
|
+
this.direction_property == "rtl" ? te.style.marginRight = -this.dotsNavigation[A - 1] + "px" : te.style.marginLeft = -this.dotsNavigation[A - 1] + "px", this.currentDot = A;
|
|
2317
2317
|
}
|
|
2318
2318
|
}
|
|
2319
2319
|
}, km = (A) => (rq("data-v-bb117eda"), A = A(), aq(), A), DJ = ["id"], OJ = {
|
|
@@ -2501,7 +2501,7 @@ const Hce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-205c63
|
|
|
2501
2501
|
}, null, -1)), RQ = [
|
|
2502
2502
|
OQ
|
|
2503
2503
|
];
|
|
2504
|
-
function $Q(A,
|
|
2504
|
+
function $Q(A, te, G, _e, oe, Z) {
|
|
2505
2505
|
return ue(), de("div", null, [
|
|
2506
2506
|
R("div", {
|
|
2507
2507
|
class: zt(["w-full", !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_outside_slider" ? "flex" : "relative block"]),
|
|
@@ -2511,7 +2511,7 @@ function $Q(A, oe, G, _e, ne, Z) {
|
|
|
2511
2511
|
R("div", RJ, [
|
|
2512
2512
|
R("button", {
|
|
2513
2513
|
class: "p-3 mr-5 rounded-full shadow-lg arrow_button_styles",
|
|
2514
|
-
onClick:
|
|
2514
|
+
onClick: te[0] || (te[0] = (xe) => Z.prev())
|
|
2515
2515
|
}, [
|
|
2516
2516
|
G.direction_property == "ltr" ? (ue(), de("svg", $J, PJ)) : qe("", !0),
|
|
2517
2517
|
G.direction_property == "rtl" ? (ue(), de("svg", BJ, IJ)) : qe("", !0)
|
|
@@ -2534,7 +2534,7 @@ function $Q(A, oe, G, _e, ne, Z) {
|
|
|
2534
2534
|
R("div", HJ, [
|
|
2535
2535
|
R("button", {
|
|
2536
2536
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2537
|
-
onClick:
|
|
2537
|
+
onClick: te[1] || (te[1] = za((xe) => Z.prev(), ["stop"]))
|
|
2538
2538
|
}, [
|
|
2539
2539
|
G.direction_property == "ltr" ? (ue(), de("svg", VJ, UJ)) : qe("", !0),
|
|
2540
2540
|
G.direction_property == "rtl" ? (ue(), de("svg", WJ, jJ)) : qe("", !0)
|
|
@@ -2549,7 +2549,7 @@ function $Q(A, oe, G, _e, ne, Z) {
|
|
|
2549
2549
|
R("div", GJ, [
|
|
2550
2550
|
R("button", {
|
|
2551
2551
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2552
|
-
onClick:
|
|
2552
|
+
onClick: te[2] || (te[2] = za((xe) => Z.next(), ["stop"]))
|
|
2553
2553
|
}, [
|
|
2554
2554
|
G.direction_property == "ltr" ? (ue(), de("svg", qJ, YJ)) : qe("", !0),
|
|
2555
2555
|
G.direction_property == "rtl" ? (ue(), de("svg", XJ, QJ)) : qe("", !0)
|
|
@@ -2584,7 +2584,7 @@ function $Q(A, oe, G, _e, ne, Z) {
|
|
|
2584
2584
|
R("div", iQ, [
|
|
2585
2585
|
R("button", {
|
|
2586
2586
|
class: zt(["p-3 rounded-full arrow_button_styles", G.direction_property == "rtl" ? "ml-3" : "mr-3"]),
|
|
2587
|
-
onClick:
|
|
2587
|
+
onClick: te[3] || (te[3] = (xe) => Z.prev())
|
|
2588
2588
|
}, [
|
|
2589
2589
|
G.direction_property == "ltr" ? (ue(), de("svg", uQ, mQ)) : qe("", !0),
|
|
2590
2590
|
G.direction_property == "rtl" ? (ue(), de("svg", fQ, hQ)) : qe("", !0)
|
|
@@ -2595,7 +2595,7 @@ function $Q(A, oe, G, _e, ne, Z) {
|
|
|
2595
2595
|
R("div", bQ, [
|
|
2596
2596
|
R("button", {
|
|
2597
2597
|
class: "p-3 rounded-full arrow_button_styles",
|
|
2598
|
-
onClick:
|
|
2598
|
+
onClick: te[4] || (te[4] = (xe) => Z.next())
|
|
2599
2599
|
}, [
|
|
2600
2600
|
G.direction_property == "ltr" ? (ue(), de("svg", vQ, wQ)) : qe("", !0),
|
|
2601
2601
|
G.direction_property == "rtl" ? (ue(), de("svg", xQ, _Q)) : qe("", !0)
|
|
@@ -2609,7 +2609,7 @@ function $Q(A, oe, G, _e, ne, Z) {
|
|
|
2609
2609
|
R("div", kQ, [
|
|
2610
2610
|
R("button", {
|
|
2611
2611
|
class: "p-3 ml-5 rounded-full shadow-lg arrow_button_styles",
|
|
2612
|
-
onClick:
|
|
2612
|
+
onClick: te[5] || (te[5] = (xe) => Z.next())
|
|
2613
2613
|
}, [
|
|
2614
2614
|
G.direction_property == "ltr" ? (ue(), de("svg", TQ, AQ)) : qe("", !0),
|
|
2615
2615
|
G.direction_property == "rtl" ? (ue(), de("svg", DQ, RQ)) : qe("", !0)
|
|
@@ -2619,7 +2619,7 @@ function $Q(A, oe, G, _e, ne, Z) {
|
|
|
2619
2619
|
], 10, DJ)
|
|
2620
2620
|
]);
|
|
2621
2621
|
}
|
|
2622
|
-
const
|
|
2622
|
+
const zce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117eda"]]), MQ = { class: "pointer-events-auto relative flex max-h-[100%] w-full flex-col overflow-hidden text-current shadow-4 outline-none bg-white border rounded-lg border-stroke dark:border-strokedark dark:bg-boxdark" }, PQ = { class: "flex items-center justify-between flex-shrink-0 pt-10 pb-3 pl-3 pr-3 border-b-2 dark:border-gray-600" }, BQ = { class: "text-xl font-medium leading-normal text-surface dark:text-white" }, NQ = /* @__PURE__ */ R("span", { class: "[&>svg]:h-6 [&>svg]:w-6" }, [
|
|
2623
2623
|
/* @__PURE__ */ R("svg", {
|
|
2624
2624
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2625
2625
|
fill: "currentColor",
|
|
@@ -2641,7 +2641,7 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
2641
2641
|
class: "max-w-full p-4 border border-gray-200 rounded shadow animate-pulse md:p-6 dark:border-gray-700"
|
|
2642
2642
|
}, FQ = /* @__PURE__ */ ZB('<div class="flex items-center justify-center h-48 mb-4 bg-gray-300 rounded dark:bg-gray-700"><svg class="w-10 h-10 text-gray-200 dark:text-gray-600" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 16 20"><path d="M14.066 0H7v5a2 2 0 0 1-2 2H0v11a1.97 1.97 0 0 0 1.934 2h12.132A1.97 1.97 0 0 0 16 18V2a1.97 1.97 0 0 0-1.934-2ZM10.5 6a1.5 1.5 0 1 1 0 2.999A1.5 1.5 0 0 1 10.5 6Zm2.221 10.515a1 1 0 0 1-.858.485h-8a1 1 0 0 1-.9-1.43L5.6 10.039a.978.978 0 0 1 .936-.57 1 1 0 0 1 .9.632l1.181 2.981.541-1a.945.945 0 0 1 .883-.522 1 1 0 0 1 .879.529l1.832 3.438a1 1 0 0 1-.031.988Z"></path><path d="M5 5V.13a2.96 2.96 0 0 0-1.293.749L.879 3.707A2.98 2.98 0 0 0 .13 5H5Z"></path></svg></div><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-700 w-48 mb-4"></div><div class="h-2 bg-gray-200 rounded-full dark:bg-gray-700 mb-2.5"></div><div class="h-2 bg-gray-200 rounded-full dark:bg-gray-700 mb-2.5"></div><div class="h-2 bg-gray-200 rounded-full dark:bg-gray-700"></div><div class="flex items-center mt-4"><svg class="w-10 h-10 me-3 text-gray-200 dark:text-gray-700" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 20"><path d="M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm0 5a3 3 0 1 1 0 6 3 3 0 0 1 0-6Zm0 13a8.949 8.949 0 0 1-4.951-1.488A3.987 3.987 0 0 1 9 13h2a3.987 3.987 0 0 1 3.951 3.512A8.949 8.949 0 0 1 10 18Z"></path></svg><div><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-700 w-32 mb-2"></div><div class="w-48 h-2 bg-gray-200 rounded-full dark:bg-gray-700"></div></div></div><span class="sr-only">Loading...</span>', 7), HQ = [
|
|
2643
2643
|
FQ
|
|
2644
|
-
], VQ = { class: "flex flex-wrap items-center justify-end flex-shrink-0 p-4 border-t-2 rounded-b-md border-neutral-100 dark:border-gray-600" },
|
|
2644
|
+
], VQ = { class: "flex flex-wrap items-center justify-end flex-shrink-0 p-4 border-t-2 rounded-b-md border-neutral-100 dark:border-gray-600" }, Uce = {
|
|
2645
2645
|
__name: "GlModal",
|
|
2646
2646
|
props: {
|
|
2647
2647
|
is_open: {
|
|
@@ -2670,8 +2670,8 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
2670
2670
|
}
|
|
2671
2671
|
},
|
|
2672
2672
|
emits: ["closeModal"],
|
|
2673
|
-
setup(A, { emit:
|
|
2674
|
-
const G = A, _e =
|
|
2673
|
+
setup(A, { emit: te }) {
|
|
2674
|
+
const G = A, _e = te, oe = () => {
|
|
2675
2675
|
document.documentElement.style.overflow = "hidden", document.documentElement.style.paddingRight = "0px";
|
|
2676
2676
|
}, Z = () => {
|
|
2677
2677
|
document.documentElement.style.overflow = "", document.documentElement.style.paddingRight = "";
|
|
@@ -2681,7 +2681,7 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
2681
2681
|
return Sf(
|
|
2682
2682
|
() => G.is_open,
|
|
2683
2683
|
(K, $e) => {
|
|
2684
|
-
K ?
|
|
2684
|
+
K ? oe() : Z();
|
|
2685
2685
|
},
|
|
2686
2686
|
{ immediate: !0, deep: !0 }
|
|
2687
2687
|
), (K, $e) => A.is_open ? (ue(), de("div", {
|
|
@@ -2753,7 +2753,7 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
2753
2753
|
], YQ = {
|
|
2754
2754
|
key: 2,
|
|
2755
2755
|
class: "flex flex-wrap items-center justify-end flex-shrink-0 p-4 border-t-2 rounded-b-md border-neutral-100 dark:border-gray-600"
|
|
2756
|
-
},
|
|
2756
|
+
}, Wce = {
|
|
2757
2757
|
__name: "GlModalWithoutOverflow",
|
|
2758
2758
|
props: {
|
|
2759
2759
|
is_open: {
|
|
@@ -2790,8 +2790,8 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
2790
2790
|
}
|
|
2791
2791
|
},
|
|
2792
2792
|
emits: ["closeModal"],
|
|
2793
|
-
setup(A, { emit:
|
|
2794
|
-
const G = A, _e =
|
|
2793
|
+
setup(A, { emit: te }) {
|
|
2794
|
+
const G = A, _e = te, oe = () => {
|
|
2795
2795
|
document.documentElement.style.overflow = "hidden", document.documentElement.style.paddingRight = "0px";
|
|
2796
2796
|
}, Z = () => {
|
|
2797
2797
|
document.documentElement.style.overflow = "", document.documentElement.style.paddingRight = "";
|
|
@@ -2801,7 +2801,7 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
2801
2801
|
return Sf(
|
|
2802
2802
|
() => G.is_open,
|
|
2803
2803
|
(K, $e) => {
|
|
2804
|
-
K ?
|
|
2804
|
+
K ? oe() : Z();
|
|
2805
2805
|
},
|
|
2806
2806
|
{ immediate: !0, deep: !0 }
|
|
2807
2807
|
), (K, $e) => A.is_open ? (ue(), de("div", {
|
|
@@ -2867,7 +2867,7 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
2867
2867
|
class: "max-w-full p-4 border border-gray-200 rounded shadow animate-pulse md:p-6 dark:border-gray-700"
|
|
2868
2868
|
}, oee = /* @__PURE__ */ ZB('<div class="flex items-center justify-center h-48 mb-4 bg-gray-300 rounded dark:bg-gray-700"><svg class="w-10 h-10 text-gray-200 dark:text-gray-600" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 16 20"><path d="M14.066 0H7v5a2 2 0 0 1-2 2H0v11a1.97 1.97 0 0 0 1.934 2h12.132A1.97 1.97 0 0 0 16 18V2a1.97 1.97 0 0 0-1.934-2ZM10.5 6a1.5 1.5 0 1 1 0 2.999A1.5 1.5 0 0 1 10.5 6Zm2.221 10.515a1 1 0 0 1-.858.485h-8a1 1 0 0 1-.9-1.43L5.6 10.039a.978.978 0 0 1 .936-.57 1 1 0 0 1 .9.632l1.181 2.981.541-1a.945.945 0 0 1 .883-.522 1 1 0 0 1 .879.529l1.832 3.438a1 1 0 0 1-.031.988Z"></path><path d="M5 5V.13a2.96 2.96 0 0 0-1.293.749L.879 3.707A2.98 2.98 0 0 0 .13 5H5Z"></path></svg></div><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-700 w-48 mb-4"></div><div class="h-2 bg-gray-200 rounded-full dark:bg-gray-700 mb-2.5"></div><div class="h-2 bg-gray-200 rounded-full dark:bg-gray-700 mb-2.5"></div><div class="h-2 bg-gray-200 rounded-full dark:bg-gray-700"></div><div class="flex items-center mt-4"><svg class="w-10 h-10 me-3 text-gray-200 dark:text-gray-700" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 20"><path d="M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm0 5a3 3 0 1 1 0 6 3 3 0 0 1 0-6Zm0 13a8.949 8.949 0 0 1-4.951-1.488A3.987 3.987 0 0 1 9 13h2a3.987 3.987 0 0 1 3.951 3.512A8.949 8.949 0 0 1 10 18Z"></path></svg><div><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-700 w-32 mb-2"></div><div class="w-48 h-2 bg-gray-200 rounded-full dark:bg-gray-700"></div></div></div><span class="sr-only">Loading...</span>', 7), see = [
|
|
2869
2869
|
oee
|
|
2870
|
-
], ree = { class: "flex flex-wrap items-center justify-end flex-shrink-0 p-4 border-t-2 rounded-b-md border-neutral-100 dark:border-gray-600" },
|
|
2870
|
+
], ree = { class: "flex flex-wrap items-center justify-end flex-shrink-0 p-4 border-t-2 rounded-b-md border-neutral-100 dark:border-gray-600" }, Zce = {
|
|
2871
2871
|
__name: "GlModalShow",
|
|
2872
2872
|
props: {
|
|
2873
2873
|
is_open: {
|
|
@@ -2896,8 +2896,8 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
2896
2896
|
}
|
|
2897
2897
|
},
|
|
2898
2898
|
emits: ["closeModal"],
|
|
2899
|
-
setup(A, { emit:
|
|
2900
|
-
const G = A, _e =
|
|
2899
|
+
setup(A, { emit: te }) {
|
|
2900
|
+
const G = A, _e = te, oe = () => {
|
|
2901
2901
|
document.documentElement.style.overflow = "hidden", document.documentElement.style.paddingRight = "0px";
|
|
2902
2902
|
}, Z = () => {
|
|
2903
2903
|
document.documentElement.style.overflow = "", document.documentElement.style.paddingRight = "";
|
|
@@ -2907,7 +2907,7 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
2907
2907
|
return Sf(
|
|
2908
2908
|
() => G.is_open,
|
|
2909
2909
|
(K, $e) => {
|
|
2910
|
-
K ?
|
|
2910
|
+
K ? oe() : Z();
|
|
2911
2911
|
},
|
|
2912
2912
|
{ immediate: !0, deep: !0 }
|
|
2913
2913
|
), (K, $e) => fr((ue(), de("div", {
|
|
@@ -2955,7 +2955,7 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
2955
2955
|
}, aee = { class: "flex justify-between p-2 -mb-px border border-gray-300 no-underlin" }, lee = { class: "relative inline-flex items-center cursor-pointer" }, cee = ["name", "id", "checked"], iee = /* @__PURE__ */ R("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), uee = /* @__PURE__ */ R("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), dee = {
|
|
2956
2956
|
key: 0,
|
|
2957
2957
|
class: "flex justify-between items-center"
|
|
2958
|
-
}, mee = { class: "gl-label-form" }, fee = { class: "flex justify-between p-2 -mb-px border border-gray-200 rounded-lg no-underlin dark:border-gray-600 dark:focus:border-primaryDark" }, gee = { class: "relative inline-flex items-center cursor-pointer" }, hee = ["name", "id"], pee = /* @__PURE__ */ R("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), bee = { class: "gl-span-form-error" }, vee = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
2958
|
+
}, mee = { class: "gl-label-form" }, fee = { class: "flex justify-between p-2 -mb-px border border-gray-200 rounded-lg no-underlin dark:border-gray-600 dark:focus:border-primaryDark" }, gee = { class: "relative inline-flex items-center cursor-pointer" }, hee = ["name", "id"], pee = /* @__PURE__ */ R("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), bee = { class: "gl-span-form-error" }, vee = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, jce = {
|
|
2959
2959
|
__name: "GlToggleBox",
|
|
2960
2960
|
props: {
|
|
2961
2961
|
is_required: {
|
|
@@ -3000,8 +3000,8 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3000
3000
|
}
|
|
3001
3001
|
},
|
|
3002
3002
|
emits: ["update:modelValue"],
|
|
3003
|
-
setup(A, { emit:
|
|
3004
|
-
const G = A, _e =
|
|
3003
|
+
setup(A, { emit: te }) {
|
|
3004
|
+
const G = A, _e = te, oe = co(null), Z = bu({
|
|
3005
3005
|
get() {
|
|
3006
3006
|
return G.modelValue;
|
|
3007
3007
|
},
|
|
@@ -3027,7 +3027,7 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3027
3027
|
"true-value": 1,
|
|
3028
3028
|
"false-value": 0,
|
|
3029
3029
|
ref_key: "input",
|
|
3030
|
-
ref:
|
|
3030
|
+
ref: oe,
|
|
3031
3031
|
disabled: ""
|
|
3032
3032
|
}, null, 8, cee),
|
|
3033
3033
|
iee
|
|
@@ -3054,7 +3054,7 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3054
3054
|
"true-value": 1,
|
|
3055
3055
|
"false-value": 0,
|
|
3056
3056
|
ref_key: "input",
|
|
3057
|
-
ref:
|
|
3057
|
+
ref: oe,
|
|
3058
3058
|
"onUpdate:modelValue": K[0] || (K[0] = ($e) => Z.value = $e)
|
|
3059
3059
|
}, null, 8, hee), [
|
|
3060
3060
|
[lq, Z.value]
|
|
@@ -3070,7 +3070,7 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3070
3070
|
}, yee = { class: "flex justify-between p-2 -mb-px border border-gray-300 no-underlin" }, wee = { class: "relative inline-flex items-center cursor-pointer" }, xee = ["name", "id", "checked"], Cee = /* @__PURE__ */ R("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), _ee = /* @__PURE__ */ R("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), See = {
|
|
3071
3071
|
key: 0,
|
|
3072
3072
|
class: "flex justify-between items-center"
|
|
3073
|
-
}, kee = { class: "gl-label-form" }, Tee = { class: "flex justify-between p-2 -mb-px border border-gray-200 rounded-lg no-underlin dark:border-gray-600 dark:focus:border-primaryDark" }, Eee = { class: "relative inline-flex items-center cursor-pointer" }, Aee = ["name", "id"], Dee = /* @__PURE__ */ R("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), Oee = { class: "gl-span-form-error" }, Ree = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
3073
|
+
}, kee = { class: "gl-label-form" }, Tee = { class: "flex justify-between p-2 -mb-px border border-gray-200 rounded-lg no-underlin dark:border-gray-600 dark:focus:border-primaryDark" }, Eee = { class: "relative inline-flex items-center cursor-pointer" }, Aee = ["name", "id"], Dee = /* @__PURE__ */ R("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), Oee = { class: "gl-span-form-error" }, Ree = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Gce = {
|
|
3074
3074
|
__name: "GlToggleBoxTrueFalse",
|
|
3075
3075
|
props: {
|
|
3076
3076
|
is_required: {
|
|
@@ -3111,8 +3111,8 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3111
3111
|
}
|
|
3112
3112
|
},
|
|
3113
3113
|
emits: ["update:modelValue"],
|
|
3114
|
-
setup(A, { emit:
|
|
3115
|
-
const G = A, _e =
|
|
3114
|
+
setup(A, { emit: te }) {
|
|
3115
|
+
const G = A, _e = te, oe = co(null), Z = bu({
|
|
3116
3116
|
get() {
|
|
3117
3117
|
return G.modelValue;
|
|
3118
3118
|
},
|
|
@@ -3136,7 +3136,7 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3136
3136
|
id: A.field_name,
|
|
3137
3137
|
checked: A.modelValue,
|
|
3138
3138
|
ref_key: "input",
|
|
3139
|
-
ref:
|
|
3139
|
+
ref: oe,
|
|
3140
3140
|
disabled: ""
|
|
3141
3141
|
}, null, 8, xee),
|
|
3142
3142
|
Cee
|
|
@@ -3161,7 +3161,7 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3161
3161
|
name: A.field_name,
|
|
3162
3162
|
id: A.field_name,
|
|
3163
3163
|
ref_key: "input",
|
|
3164
|
-
ref:
|
|
3164
|
+
ref: oe,
|
|
3165
3165
|
"onUpdate:modelValue": K[0] || (K[0] = ($e) => Z.value = $e)
|
|
3166
3166
|
}, null, 8, Aee), [
|
|
3167
3167
|
[lq, Z.value]
|
|
@@ -3286,10 +3286,10 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3286
3286
|
}
|
|
3287
3287
|
},
|
|
3288
3288
|
emits: ["update:modelValue", "selected", "selectionChanged"],
|
|
3289
|
-
setup(A, { emit:
|
|
3290
|
-
const G = A, _e =
|
|
3289
|
+
setup(A, { emit: te }) {
|
|
3290
|
+
const G = A, _e = te;
|
|
3291
3291
|
co(null);
|
|
3292
|
-
const
|
|
3292
|
+
const oe = co({}), Z = co([]), xe = co(0), K = co(!1), $e = co(""), lt = co(""), yt = co(null), hn = co(0), Et = co(0), io = () => {
|
|
3293
3293
|
if (yt.value) {
|
|
3294
3294
|
hn.value = yt.value.offsetWidth;
|
|
3295
3295
|
var Xt = yt.value.getBoundingClientRect();
|
|
@@ -3355,11 +3355,11 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3355
3355
|
return G.options.map((Xt, Cn) => typeof Xt == "object" ? Xt : { id: Xt, name: Xt });
|
|
3356
3356
|
}
|
|
3357
3357
|
function Nn() {
|
|
3358
|
-
if (un(
|
|
3359
|
-
return typeof
|
|
3360
|
-
(Xt) => String(Xt.id) === String(
|
|
3358
|
+
if (un(oe.value))
|
|
3359
|
+
return typeof oe.value == "object" ? Z.value.find(
|
|
3360
|
+
(Xt) => String(Xt.id) === String(oe.value.id)
|
|
3361
3361
|
) || {} : Z.value.find(
|
|
3362
|
-
(Xt) => String(Xt.id) === String(
|
|
3362
|
+
(Xt) => String(Xt.id) === String(oe.value)
|
|
3363
3363
|
) || {};
|
|
3364
3364
|
if (G.modelValue)
|
|
3365
3365
|
return typeof G.modelValue == "object" ? Z.value.find(
|
|
@@ -3369,7 +3369,7 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3369
3369
|
) || {};
|
|
3370
3370
|
}
|
|
3371
3371
|
function ss(Xt) {
|
|
3372
|
-
|
|
3372
|
+
oe.value = Xt, K.value = !1, _e("update:modelValue", oe.value.id), _e("selected", oe.value), _e("selectionChanged", oe.value);
|
|
3373
3373
|
}
|
|
3374
3374
|
function In() {
|
|
3375
3375
|
if (!G.show) {
|
|
@@ -3387,25 +3387,25 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3387
3387
|
}
|
|
3388
3388
|
}
|
|
3389
3389
|
function Ze() {
|
|
3390
|
-
G.show || (
|
|
3390
|
+
G.show || (oe.value = {}, $e.value = "", _e("update:modelValue", ""), In());
|
|
3391
3391
|
}
|
|
3392
3392
|
function pe() {
|
|
3393
|
-
(!
|
|
3393
|
+
(!oe.value || !oe.value.id) && (oe.value = {}, $e.value = ""), _e("selected", oe.value);
|
|
3394
3394
|
}
|
|
3395
3395
|
return Sf($e, () => {
|
|
3396
|
-
eo.value.length === 0 && (
|
|
3397
|
-
}), Sf(
|
|
3396
|
+
eo.value.length === 0 && (oe.value = {});
|
|
3397
|
+
}), Sf(oe, (Xt) => {
|
|
3398
3398
|
un(Xt) && _e("update:modelValue", Xt.id);
|
|
3399
3399
|
}), Sf(
|
|
3400
3400
|
() => G.modelValue,
|
|
3401
3401
|
() => {
|
|
3402
|
-
un(
|
|
3402
|
+
un(oe.value) || (oe.value = G.modelValue, oe.value = Nn());
|
|
3403
3403
|
},
|
|
3404
3404
|
{ immediate: !0, deep: !0 }
|
|
3405
3405
|
), Sf(
|
|
3406
3406
|
() => G.options,
|
|
3407
3407
|
() => {
|
|
3408
|
-
Z.value = ae(),
|
|
3408
|
+
Z.value = ae(), oe.value = Nn();
|
|
3409
3409
|
},
|
|
3410
3410
|
{ immediate: !0, deep: !0 }
|
|
3411
3411
|
), (Xt, Cn) => {
|
|
@@ -3417,7 +3417,7 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3417
3417
|
}, [
|
|
3418
3418
|
R("h3", $ee, dt(A.label_name), 1),
|
|
3419
3419
|
R("p", Mee, [
|
|
3420
|
-
R("span", Pee, dt((Nt =
|
|
3420
|
+
R("span", Pee, dt((Nt = oe.value) == null ? void 0 : Nt.name), 1)
|
|
3421
3421
|
]),
|
|
3422
3422
|
Bee
|
|
3423
3423
|
], 2)) : qe("", !0),
|
|
@@ -3429,7 +3429,7 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3429
3429
|
type: "hidden",
|
|
3430
3430
|
name: A.field_name,
|
|
3431
3431
|
id: A.field_name,
|
|
3432
|
-
value: (D =
|
|
3432
|
+
value: (D = oe.value) == null ? void 0 : D.id
|
|
3433
3433
|
}, null, 8, Nee),
|
|
3434
3434
|
A.options ? (ue(), de("div", Iee, [
|
|
3435
3435
|
A.label_name ? (ue(), de("label", {
|
|
@@ -3452,7 +3452,7 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3452
3452
|
"gl-input-form-invalid": A.error_message !== ""
|
|
3453
3453
|
}, "pr-2 showOptions"]),
|
|
3454
3454
|
onClick: Cn[0] || (Cn[0] = (ot) => In()),
|
|
3455
|
-
value: (go =
|
|
3455
|
+
value: (go = oe.value) == null ? void 0 : go.name,
|
|
3456
3456
|
placeholder: A.placeholder,
|
|
3457
3457
|
autocomplete: "off",
|
|
3458
3458
|
readonly: ""
|
|
@@ -3462,7 +3462,7 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3462
3462
|
class: "absolute text-gray-500 cursor-pointer ltr:right-7 rtl:left-7 pointer-events-auto hover:text-red-600 dark:hover:text-red-400",
|
|
3463
3463
|
style: { top: "13px" }
|
|
3464
3464
|
}, Vee, 512), [
|
|
3465
|
-
[kf, un(
|
|
3465
|
+
[kf, un(oe.value) && A.has_cancel]
|
|
3466
3466
|
]),
|
|
3467
3467
|
R("i", {
|
|
3468
3468
|
onClick: Cn[2] || (Cn[2] = (ot) => In()),
|
|
@@ -3508,7 +3508,7 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3508
3508
|
id: `${Ht + 1}${lt.value}`
|
|
3509
3509
|
}, [
|
|
3510
3510
|
R("div", Kee, [
|
|
3511
|
-
((_t =
|
|
3511
|
+
((_t = oe.value) == null ? void 0 : _t.id) === ot.id ? (ue(), de("svg", Yee, Jee)) : qe("", !0),
|
|
3512
3512
|
R("span", {
|
|
3513
3513
|
innerHTML: ot.name || ot.id || "-"
|
|
3514
3514
|
}, null, 8, Qee)
|
|
@@ -3528,7 +3528,7 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3528
3528
|
], 64);
|
|
3529
3529
|
};
|
|
3530
3530
|
}
|
|
3531
|
-
}, ote = { class: "font-bold ptext-lg dark:text-white" }, ste = ["id"], rte = /* @__PURE__ */ R("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), ate = ["for"], lte = ["required", "name", "id", "type", "placeholder"], cte = { class: "gl-span-form-error" }, ite = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
3531
|
+
}, ote = { class: "font-bold ptext-lg dark:text-white" }, ste = ["id"], rte = /* @__PURE__ */ R("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), ate = ["for"], lte = ["required", "name", "id", "type", "placeholder"], cte = { class: "gl-span-form-error" }, ite = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, qce = {
|
|
3532
3532
|
__name: "GlTextarea",
|
|
3533
3533
|
props: {
|
|
3534
3534
|
is_required: {
|
|
@@ -3573,8 +3573,8 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3573
3573
|
}
|
|
3574
3574
|
},
|
|
3575
3575
|
emits: ["update:modelValue", "keydown"],
|
|
3576
|
-
setup(A, { expose:
|
|
3577
|
-
const _e = A,
|
|
3576
|
+
setup(A, { expose: te, emit: G }) {
|
|
3577
|
+
const _e = A, oe = G, Z = co(null);
|
|
3578
3578
|
Og(() => {
|
|
3579
3579
|
Z.value !== null && Z.value.hasAttribute("autofocus") && Z.value.focus();
|
|
3580
3580
|
});
|
|
@@ -3583,10 +3583,10 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3583
3583
|
return _e.modelValue;
|
|
3584
3584
|
},
|
|
3585
3585
|
set(K) {
|
|
3586
|
-
|
|
3586
|
+
oe("update:modelValue", K);
|
|
3587
3587
|
}
|
|
3588
3588
|
});
|
|
3589
|
-
return
|
|
3589
|
+
return te({ focus: () => Z.value.focus() }), (K, $e) => (ue(), de(jn, null, [
|
|
3590
3590
|
A.show ? (ue(), de("div", {
|
|
3591
3591
|
key: 0,
|
|
3592
3592
|
class: zt(A.field_name)
|
|
@@ -3640,7 +3640,7 @@ function ute(A) {
|
|
|
3640
3640
|
var cq = { exports: {} };
|
|
3641
3641
|
(function(A) {
|
|
3642
3642
|
(function() {
|
|
3643
|
-
var
|
|
3643
|
+
var te = function(e) {
|
|
3644
3644
|
if (e === null)
|
|
3645
3645
|
return "null";
|
|
3646
3646
|
if (e === void 0)
|
|
@@ -3660,7 +3660,7 @@ var cq = { exports: {} };
|
|
|
3660
3660
|
}, _e = function(e, n) {
|
|
3661
3661
|
var o = Array.prototype.slice.call(e);
|
|
3662
3662
|
return o.sort(n);
|
|
3663
|
-
},
|
|
3663
|
+
}, oe = function(e, n) {
|
|
3664
3664
|
return Z(function(o, r) {
|
|
3665
3665
|
return e.eq(n(o), n(r));
|
|
3666
3666
|
});
|
|
@@ -3678,7 +3678,7 @@ var cq = { exports: {} };
|
|
|
3678
3678
|
return !0;
|
|
3679
3679
|
});
|
|
3680
3680
|
}, lt = function(e, n) {
|
|
3681
|
-
return
|
|
3681
|
+
return oe($e(e), function(o) {
|
|
3682
3682
|
return _e(o, n);
|
|
3683
3683
|
});
|
|
3684
3684
|
}, yt = function(e) {
|
|
@@ -3696,7 +3696,7 @@ var cq = { exports: {} };
|
|
|
3696
3696
|
}, hn = Z(function(e, n) {
|
|
3697
3697
|
if (e === n)
|
|
3698
3698
|
return !0;
|
|
3699
|
-
var o =
|
|
3699
|
+
var o = te(e), r = te(n);
|
|
3700
3700
|
return o !== r ? !1 : G(o) ? e === n : o === "array" ? $e(hn).eq(e, n) : o === "object" ? yt(hn).eq(e, n) : !1;
|
|
3701
3701
|
});
|
|
3702
3702
|
const Et = Object.getPrototypeOf, io = (e, n, o) => {
|
|
@@ -21038,13 +21038,13 @@ tinymce.IconManager.add("default", {
|
|
|
21038
21038
|
}
|
|
21039
21039
|
});
|
|
21040
21040
|
(function() {
|
|
21041
|
-
const A = Object.getPrototypeOf,
|
|
21041
|
+
const A = Object.getPrototypeOf, te = (t, s, a) => {
|
|
21042
21042
|
var c;
|
|
21043
21043
|
return a(t, s.prototype) ? !0 : ((c = t.constructor) === null || c === void 0 ? void 0 : c.name) === s.name;
|
|
21044
21044
|
}, G = (t) => {
|
|
21045
21045
|
const s = typeof t;
|
|
21046
|
-
return t === null ? "null" : s === "object" && Array.isArray(t) ? "array" : s === "object" &&
|
|
21047
|
-
}, _e = (t) => (s) => G(s) === t,
|
|
21046
|
+
return t === null ? "null" : s === "object" && Array.isArray(t) ? "array" : s === "object" && te(t, String, (a, c) => c.isPrototypeOf(a)) ? "string" : s;
|
|
21047
|
+
}, _e = (t) => (s) => G(s) === t, oe = (t) => (s) => typeof s === t, Z = (t) => (s) => t === s, xe = (t, s) => $e(t) && te(t, s, (a, c) => A(a) === c), K = _e("string"), $e = _e("object"), lt = (t) => xe(t, Object), yt = _e("array"), hn = Z(null), Et = oe("boolean"), io = Z(void 0), lo = (t) => t == null, eo = (t) => !lo(t), Ot = oe("function"), Ls = oe("number"), un = (t, s) => {
|
|
21048
21048
|
if (yt(t)) {
|
|
21049
21049
|
for (let a = 0, c = t.length; a < c; ++a)
|
|
21050
21050
|
if (!s(t[a]))
|
|
@@ -24893,8 +24893,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24893
24893
|
return v(s, Mu.init, me, Me, () => D.some(p));
|
|
24894
24894
|
};
|
|
24895
24895
|
var O = S(pr("cyclic", Cn)), L = S(pr("cyclic", Nt));
|
|
24896
|
-
const j = (t, s, a) => (Tb(t, a, Jc()), D.some(!0)),
|
|
24897
|
-
Re("execute",
|
|
24896
|
+
const j = (t, s, a) => (Tb(t, a, Jc()), D.some(!0)), ne = (t, s, a) => wh(a) && ko(Ri)(s.event) ? D.none() : j(t, s, a), fe = (t, s) => D.some(!0), De = [
|
|
24897
|
+
Re("execute", ne),
|
|
24898
24898
|
Re("useSpace", !1),
|
|
24899
24899
|
Re("useEnter", !0),
|
|
24900
24900
|
Re("useControlEnter", !1),
|
|
@@ -24967,7 +24967,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24967
24967
|
});
|
|
24968
24968
|
}), pc = (t, s, a, c) => ai(t, s, a, c, 1), pw = (t, s, a, c) => ai(t, s, a, c, -1), O1 = (t, s, a, c) => lg(t, s, a, c, -1), sm = (t, s, a, c) => lg(t, s, a, c, 1), Rl = [
|
|
24969
24969
|
nt("selector"),
|
|
24970
|
-
Re("execute",
|
|
24970
|
+
Re("execute", ne),
|
|
24971
24971
|
si("onEscape"),
|
|
24972
24972
|
Re("captureTab", !1),
|
|
24973
24973
|
t2()
|
|
@@ -25009,7 +25009,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25009
25009
|
}), vT = [
|
|
25010
25010
|
nt("selector"),
|
|
25011
25011
|
Re("getInitial", D.none),
|
|
25012
|
-
Re("execute",
|
|
25012
|
+
Re("execute", ne),
|
|
25013
25013
|
si("onEscape"),
|
|
25014
25014
|
Re("executeOnMove", !1),
|
|
25015
25015
|
Re("allowVertical", !0),
|
|
@@ -25055,7 +25055,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25055
25055
|
]),
|
|
25056
25056
|
Re("cycles", !0),
|
|
25057
25057
|
Re("previousSelector", D.none),
|
|
25058
|
-
Re("execute",
|
|
25058
|
+
Re("execute", ne)
|
|
25059
25059
|
], wT = (t, s, a) => {
|
|
25060
25060
|
s.previousSelector(t).orThunk(() => {
|
|
25061
25061
|
const d = s.selectors;
|
|
@@ -25085,7 +25085,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25085
25085
|
var MO = v(OO, Mu.init, xT, gN, () => D.some(wT));
|
|
25086
25086
|
const PO = [
|
|
25087
25087
|
nt("selector"),
|
|
25088
|
-
Re("execute",
|
|
25088
|
+
Re("execute", ne),
|
|
25089
25089
|
Re("moveOnTab", !1)
|
|
25090
25090
|
], CT = (t, s, a) => a.focusManager.get(t).bind((c) => a.execute(t, s, c)), BO = (t, s, a) => {
|
|
25091
25091
|
Ir(t.element, s.selector).each((c) => {
|
|
@@ -42220,13 +42220,13 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
42220
42220
|
})();
|
|
42221
42221
|
(function() {
|
|
42222
42222
|
var A = tinymce.util.Tools.resolve("tinymce.ModelManager");
|
|
42223
|
-
const
|
|
42223
|
+
const te = (i, m, h) => {
|
|
42224
42224
|
var v;
|
|
42225
42225
|
return h(i, m.prototype) ? !0 : ((v = i.constructor) === null || v === void 0 ? void 0 : v.name) === m.name;
|
|
42226
42226
|
}, G = (i) => {
|
|
42227
42227
|
const m = typeof i;
|
|
42228
|
-
return i === null ? "null" : m === "object" && Array.isArray(i) ? "array" : m === "object" &&
|
|
42229
|
-
}, _e = (i) => (m) => G(m) === i,
|
|
42228
|
+
return i === null ? "null" : m === "object" && Array.isArray(i) ? "array" : m === "object" && te(i, String, (h, v) => v.isPrototypeOf(h)) ? "string" : m;
|
|
42229
|
+
}, _e = (i) => (m) => G(m) === i, oe = (i) => (m) => typeof m === i, Z = (i) => (m) => i === m, xe = _e("string"), K = _e("object"), $e = _e("array"), lt = Z(null), yt = oe("boolean"), hn = Z(void 0), Et = (i) => i == null, io = (i) => !Et(i), lo = oe("function"), eo = oe("number"), Ot = () => {
|
|
42230
42230
|
}, Ls = (i, m) => (...h) => i(m.apply(null, h)), un = (i, m) => (h) => i(m(h)), he = (i) => () => i, kt = (i) => i, ia = (i, m) => i === m;
|
|
42231
42231
|
function oo(i, ...m) {
|
|
42232
42232
|
return (...h) => {
|
|
@@ -42796,11 +42796,11 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
42796
42796
|
let m = !1, h;
|
|
42797
42797
|
return (...v) => (m || (m = !0, h = i.apply(null, v)), h);
|
|
42798
42798
|
}, Mg = (i, m, h, v) => {
|
|
42799
|
-
const S = i.isiOS() && /ipad/i.test(h) === !0, O = i.isiOS() && !S, L = i.isiOS() || i.isAndroid(), j = L || v("(pointer:coarse)"),
|
|
42799
|
+
const S = i.isiOS() && /ipad/i.test(h) === !0, O = i.isiOS() && !S, L = i.isiOS() || i.isAndroid(), j = L || v("(pointer:coarse)"), ne = S || !O && L && v("(min-device-width:768px)"), fe = O || L && !ne, De = m.isSafari() && i.isiOS() && /safari/i.test(h) === !1, at = !fe && !ne && !De;
|
|
42800
42800
|
return {
|
|
42801
42801
|
isiPad: he(S),
|
|
42802
42802
|
isiPhone: he(O),
|
|
42803
|
-
isTablet: he(
|
|
42803
|
+
isTablet: he(ne),
|
|
42804
42804
|
isPhone: he(fe),
|
|
42805
42805
|
isTouch: he(j),
|
|
42806
42806
|
isAndroid: i.isAndroid,
|
|
@@ -43002,7 +43002,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
43002
43002
|
freebsd: he(Wh),
|
|
43003
43003
|
chromeos: he($m)
|
|
43004
43004
|
}, hb = { detect: (i, m, h) => {
|
|
43005
|
-
const v = Cu.browsers(), S = Cu.oses(), O = m.bind((
|
|
43005
|
+
const v = Cu.browsers(), S = Cu.oses(), O = m.bind((ne) => cc(v, ne)).orThunk(() => Ng(v, i)).fold(qa.unknown, qa.nu), L = k0(S, i).fold(xi.unknown, xi.nu), j = Mg(L, O, i, h);
|
|
43006
43006
|
return {
|
|
43007
43007
|
browser: O,
|
|
43008
43008
|
os: L,
|
|
@@ -43011,19 +43011,19 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
43011
43011
|
} }, Hg = (i) => window.matchMedia(i).matches;
|
|
43012
43012
|
let Vg = tu(() => hb.detect(navigator.userAgent, pe.from(navigator.userAgentData), Hg));
|
|
43013
43013
|
const ed = () => Vg(), Mm = (i, m) => {
|
|
43014
|
-
const h = (j,
|
|
43015
|
-
if (!eo(
|
|
43016
|
-
throw new Error(i + ".set accepts only positive integer values. Value was " +
|
|
43014
|
+
const h = (j, ne) => {
|
|
43015
|
+
if (!eo(ne) && !ne.match(/^[0-9]+$/))
|
|
43016
|
+
throw new Error(i + ".set accepts only positive integer values. Value was " + ne);
|
|
43017
43017
|
const fe = j.dom;
|
|
43018
|
-
Wr(fe) && (fe.style[i] =
|
|
43018
|
+
Wr(fe) && (fe.style[i] = ne + "px");
|
|
43019
43019
|
}, v = (j) => {
|
|
43020
|
-
const
|
|
43021
|
-
if (
|
|
43020
|
+
const ne = m(j);
|
|
43021
|
+
if (ne <= 0 || ne === null) {
|
|
43022
43022
|
const fe = ha(j, i);
|
|
43023
43023
|
return parseFloat(fe) || 0;
|
|
43024
43024
|
}
|
|
43025
|
-
return
|
|
43026
|
-
}, S = v, O = (j,
|
|
43025
|
+
return ne;
|
|
43026
|
+
}, S = v, O = (j, ne) => tt(ne, (fe, De) => {
|
|
43027
43027
|
const at = ha(j, De), Bt = at === void 0 ? 0 : parseInt(at, 10);
|
|
43028
43028
|
return isNaN(Bt) ? fe : fe + Bt;
|
|
43029
43029
|
}, 0);
|
|
@@ -43032,9 +43032,9 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
43032
43032
|
get: v,
|
|
43033
43033
|
getOuter: S,
|
|
43034
43034
|
aggregate: O,
|
|
43035
|
-
max: (j,
|
|
43035
|
+
max: (j, ne, fe) => {
|
|
43036
43036
|
const De = O(j, fe);
|
|
43037
|
-
return
|
|
43037
|
+
return ne > De ? ne - De : 0;
|
|
43038
43038
|
}
|
|
43039
43039
|
};
|
|
43040
43040
|
}, Id = (i, m) => bo(i).getOr(m), Bs = (i, m, h) => Id(ha(i, m), h), Xs = (i, m, h, v) => {
|
|
@@ -43086,7 +43086,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
43086
43086
|
const m = {}, h = [], S = Te(i).map((Pt) => Pt.element).bind(rl).bind(cr).getOr({});
|
|
43087
43087
|
let O = 0, L = 0, j = 0;
|
|
43088
43088
|
const {
|
|
43089
|
-
pass:
|
|
43089
|
+
pass: ne,
|
|
43090
43090
|
fail: fe
|
|
43091
43091
|
} = Ys(i, (Pt) => Pt.section === "colgroup");
|
|
43092
43092
|
Pe(fe, (Pt) => {
|
|
@@ -43104,7 +43104,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
43104
43104
|
et.push(En);
|
|
43105
43105
|
}), O++, h.push(ge(Pt.element, et, Pt.section)), j++;
|
|
43106
43106
|
});
|
|
43107
|
-
const { columns: De, colgroups: at } = wn(
|
|
43107
|
+
const { columns: De, colgroups: at } = wn(ne).map((Pt) => {
|
|
43108
43108
|
const et = qh(Pt);
|
|
43109
43109
|
return {
|
|
43110
43110
|
colgroups: [as(Pt.element, bs(et))],
|
|
@@ -43142,7 +43142,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
43142
43142
|
return z(v, m).orThunk(() => pe.from(v[0]).orThunk(h)).map((L) => L.element);
|
|
43143
43143
|
}, Zg = (i) => {
|
|
43144
43144
|
const m = i.grid, h = Ht(m.rows, kt), v = Ht(m.columns, kt);
|
|
43145
|
-
return _t(h, (S) => Wg(() => rs(v, (
|
|
43145
|
+
return _t(h, (S) => Wg(() => rs(v, (ne) => Yn.getAt(i, S, ne).filter((fe) => fe.row === S).fold(he([]), (fe) => [fe])), (ne) => ne.rowspan === 1, () => Yn.getAt(i, S, 0)));
|
|
43146
43146
|
}, T0 = (i, m) => {
|
|
43147
43147
|
if (m < 0 || m >= i.length - 1)
|
|
43148
43148
|
return pe.none();
|
|
@@ -43183,8 +43183,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
43183
43183
|
const m = i.dom.ownerDocument, h = m.body, v = m.defaultView, S = m.documentElement;
|
|
43184
43184
|
if (h === i.dom)
|
|
43185
43185
|
return ce(h.offsetLeft, h.offsetTop);
|
|
43186
|
-
const O = it(v == null ? void 0 : v.pageYOffset, S.scrollTop), L = it(v == null ? void 0 : v.pageXOffset, S.scrollLeft), j = it(S.clientTop, h.clientTop),
|
|
43187
|
-
return Rn(i).translate(L -
|
|
43186
|
+
const O = it(v == null ? void 0 : v.pageYOffset, S.scrollTop), L = it(v == null ? void 0 : v.pageXOffset, S.scrollLeft), j = it(S.clientTop, h.clientTop), ne = it(S.clientLeft, h.clientLeft);
|
|
43187
|
+
return Rn(i).translate(L - ne, O - j);
|
|
43188
43188
|
}, Rn = (i) => {
|
|
43189
43189
|
const m = i.dom, v = m.ownerDocument.body;
|
|
43190
43190
|
return v === m ? ce(v.offsetLeft, v.offsetTop) : js(i) ? be(m) : ce(0, 0);
|
|
@@ -43293,8 +43293,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
43293
43293
|
const m = ed().browser, h = m.isChromium() || m.isFirefox();
|
|
43294
43294
|
return _i(i) ? h : !0;
|
|
43295
43295
|
}, Bm = (i, m, h, v, S, O) => i.filter(v).fold(() => O(T0(h, m)), (L) => S(L)), La = (i, m, h, v) => {
|
|
43296
|
-
const S = od(i), O = Yn.hasColumns(i) ? Uo(i) : S, L = [pe.some(Pr.edge(m))].concat(_t(Pr.positions(S, m), (
|
|
43297
|
-
return _t(O, (
|
|
43296
|
+
const S = od(i), O = Yn.hasColumns(i) ? Uo(i) : S, L = [pe.some(Pr.edge(m))].concat(_t(Pr.positions(S, m), (ne) => ne.map((fe) => fe.x))), j = ae(Ga);
|
|
43297
|
+
return _t(O, (ne, fe) => Bm(ne, fe, L, j, (De) => {
|
|
43298
43298
|
if (Du(De))
|
|
43299
43299
|
return h(De);
|
|
43300
43300
|
{
|
|
@@ -43303,8 +43303,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
43303
43303
|
}
|
|
43304
43304
|
}, v));
|
|
43305
43305
|
}, D0 = (i) => i.map((m) => m + "px").getOr(""), Nm = (i, m) => La(i, m, A0, D0), Im = (i, m, h) => La(i, m, Ia, (v) => v.fold(() => h.minCellWidth(), (S) => S / h.pixelWidth() * 100)), kl = (i, m, h) => La(i, m, pr, (v) => v.getOrThunk(h.minCellWidth)), Vd = (i, m, h, v, S) => {
|
|
43306
|
-
const O = Zg(i), L = [pe.some(h.edge(m))].concat(_t(h.positions(O, m), (j) => j.map((
|
|
43307
|
-
return _t(O, (j,
|
|
43306
|
+
const O = Zg(i), L = [pe.some(h.edge(m))].concat(_t(h.positions(O, m), (j) => j.map((ne) => ne.y)));
|
|
43307
|
+
return _t(O, (j, ne) => Bm(j, ne, L, ae(bi), v, S));
|
|
43308
43308
|
}, Re = (i, m, h) => Vd(i, m, h, Xh, (v) => v.getOrThunk(Sc)), Zl = (i, m, h) => Vd(i, m, h, Ec, D0), qc = (i, m) => () => js(i) ? m(i) : parseFloat(Rg(i, "width").getOr("0")), Kc = (i) => {
|
|
43309
43309
|
const m = qc(i, ll), h = he(0);
|
|
43310
43310
|
return {
|
|
@@ -43320,17 +43320,17 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
43320
43320
|
label: "none"
|
|
43321
43321
|
};
|
|
43322
43322
|
}, jl = (i) => {
|
|
43323
|
-
const m = qc(i, (
|
|
43323
|
+
const m = qc(i, (ne) => parseFloat(Bo(ne))), h = qc(i, ll);
|
|
43324
43324
|
return {
|
|
43325
43325
|
width: m,
|
|
43326
43326
|
pixelWidth: h,
|
|
43327
|
-
getWidths: (
|
|
43328
|
-
getCellDelta: (
|
|
43329
|
-
singleColumnWidth: (
|
|
43327
|
+
getWidths: (ne, fe) => Im(ne, i, fe),
|
|
43328
|
+
getCellDelta: (ne) => ne / h() * 100,
|
|
43329
|
+
singleColumnWidth: (ne, fe) => [100 - ne],
|
|
43330
43330
|
minCellWidth: () => lr() / h() * 100,
|
|
43331
43331
|
setElementWidth: vb,
|
|
43332
|
-
adjustTableWidth: (
|
|
43333
|
-
const fe = m(), De =
|
|
43332
|
+
adjustTableWidth: (ne) => {
|
|
43333
|
+
const fe = m(), De = ne / 100 * fe, at = fe + De;
|
|
43334
43334
|
vb(i, at);
|
|
43335
43335
|
},
|
|
43336
43336
|
isRelative: !0,
|
|
@@ -43368,23 +43368,23 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
43368
43368
|
}), gn = (i, m) => {
|
|
43369
43369
|
const h = i.grid.columns;
|
|
43370
43370
|
let S = i.grid.rows, O = h, L = 0, j = 0;
|
|
43371
|
-
const
|
|
43371
|
+
const ne = [], fe = [];
|
|
43372
43372
|
return Vo(i.access, (De) => {
|
|
43373
|
-
if (
|
|
43373
|
+
if (ne.push(De), m(De)) {
|
|
43374
43374
|
fe.push(De);
|
|
43375
43375
|
const at = De.row, Bt = at + De.rowspan - 1, Pt = De.column, et = Pt + De.colspan - 1;
|
|
43376
43376
|
at < S ? S = at : Bt > L && (L = Bt), Pt < O ? O = Pt : et > j && (j = et);
|
|
43377
43377
|
}
|
|
43378
|
-
}), Ou(S, O, L, j,
|
|
43378
|
+
}), Ou(S, O, L, j, ne, fe);
|
|
43379
43379
|
}, x = (i, m, h) => {
|
|
43380
43380
|
const v = i[h].element, S = Ae.fromTag("td");
|
|
43381
43381
|
os(S, Ae.fromTag("br")), (m ? os : Hs)(v, S);
|
|
43382
43382
|
}, T = (i, m, h, v) => {
|
|
43383
43383
|
const S = ho(i, (j) => j.section !== "colgroup"), O = m.grid.columns, L = m.grid.rows;
|
|
43384
43384
|
for (let j = 0; j < L; j++) {
|
|
43385
|
-
let
|
|
43385
|
+
let ne = !1;
|
|
43386
43386
|
for (let fe = 0; fe < O; fe++)
|
|
43387
|
-
j < h.minRow || j > h.maxRow || fe < h.minCol || fe > h.maxCol || (Yn.getAt(m, j, fe).filter(v).isNone() ? x(S,
|
|
43387
|
+
j < h.minRow || j > h.maxRow || fe < h.minCol || fe > h.maxCol || (Yn.getAt(m, j, fe).filter(v).isNone() ? x(S, ne, j) : ne = !0);
|
|
43388
43388
|
}
|
|
43389
43389
|
}, V = (i, m, h, v) => {
|
|
43390
43390
|
Vo(h.columns, (L) => {
|
|
@@ -43397,10 +43397,10 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
43397
43397
|
}, X = (i, m, h, v) => {
|
|
43398
43398
|
if (v.minCol === 0 && m.grid.columns === v.maxCol + 1)
|
|
43399
43399
|
return 0;
|
|
43400
|
-
const S = kl(m, i, h), O = tt(S, (fe, De) => fe + De, 0),
|
|
43401
|
-
return h.getCellDelta(
|
|
43400
|
+
const S = kl(m, i, h), O = tt(S, (fe, De) => fe + De, 0), ne = tt(S.slice(v.minCol, v.maxCol + 1), (fe, De) => fe + De, 0) / O * h.pixelWidth() - h.pixelWidth();
|
|
43401
|
+
return h.getCellDelta(ne);
|
|
43402
43402
|
}, ye = (i, m) => {
|
|
43403
|
-
const h = (Bt) => Yr(Bt.element, m), v = Vl(i), S = vi(v), O = Gl.getTableSize(i), L = Yn.generate(S), j = gn(L, h),
|
|
43403
|
+
const h = (Bt) => Yr(Bt.element, m), v = Vl(i), S = vi(v), O = Gl.getTableSize(i), L = Yn.generate(S), j = gn(L, h), ne = "th:not(" + m + "),td:not(" + m + ")", fe = Ju(v, "th,td", (Bt) => Yr(Bt, ne));
|
|
43404
43404
|
Pe(fe, ar), T(S, L, j, h);
|
|
43405
43405
|
const De = Yn.fromTable(i), at = X(i, De, O, j);
|
|
43406
43406
|
return V(v, j, L, at), v;
|
|
@@ -43451,8 +43451,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
43451
43451
|
}), v;
|
|
43452
43452
|
}, Fm = (i) => i, No = (i, m, h) => zd(i).map((S) => {
|
|
43453
43453
|
const O = h.join(","), L = Qn(S, O, (j) => ns(j, i));
|
|
43454
|
-
return vr(L, (j,
|
|
43455
|
-
const fe = ta(
|
|
43454
|
+
return vr(L, (j, ne) => {
|
|
43455
|
+
const fe = ta(ne);
|
|
43456
43456
|
return os(j, fe), fe;
|
|
43457
43457
|
}, m);
|
|
43458
43458
|
}).getOr(m), uo = (i, m) => {
|
|
@@ -43461,7 +43461,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
43461
43461
|
const v = (L, j) => {
|
|
43462
43462
|
Tf(L.element, j), lc(j, "height"), L.colspan !== 1 && lc(j, "width");
|
|
43463
43463
|
}, S = (L) => {
|
|
43464
|
-
const j = Ae.fromTag(ts(L.element), m.dom),
|
|
43464
|
+
const j = Ae.fromTag(ts(L.element), m.dom), ne = h.getOr([
|
|
43465
43465
|
"strong",
|
|
43466
43466
|
"em",
|
|
43467
43467
|
"b",
|
|
@@ -43476,7 +43476,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
43476
43476
|
"h6",
|
|
43477
43477
|
"p",
|
|
43478
43478
|
"div"
|
|
43479
|
-
]), fe =
|
|
43479
|
+
]), fe = ne.length > 0 ? No(L.element, j, ne) : j;
|
|
43480
43480
|
return os(fe, Ae.fromTag("br")), v(L, j), uo(L.element, j), i(L.element, j), j;
|
|
43481
43481
|
};
|
|
43482
43482
|
return {
|
|
@@ -43605,7 +43605,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
43605
43605
|
return v.bind((O) => S.map((L) => B0(O, L)));
|
|
43606
43606
|
}, dn = (i, m, h) => _o(i, m, h).bind((v) => P0(i, v)), zm = (i, m, h, v) => Yn.findItem(i, m, ns).bind((S) => {
|
|
43607
43607
|
const O = h > 0 ? S.row + S.rowspan - 1 : S.row, L = v > 0 ? S.column + S.colspan - 1 : S.column;
|
|
43608
|
-
return Yn.getAt(i, O + h, L + v).map((
|
|
43608
|
+
return Yn.getAt(i, O + h, L + v).map((ne) => ne.element);
|
|
43609
43609
|
}), Tb = (i, m, h) => _o(i, m, h).map((v) => {
|
|
43610
43610
|
const S = Yn.filterItems(i, oo(eC, v));
|
|
43611
43611
|
return _t(S, (O) => O.element);
|
|
@@ -43620,7 +43620,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
43620
43620
|
return Tb(v, m, h);
|
|
43621
43621
|
}, As = (i, m, h, v, S) => {
|
|
43622
43622
|
const O = Iy(i), L = ns(i, h) ? pe.some(m) : N0(O, m), j = ns(i, S) ? pe.some(v) : N0(O, v);
|
|
43623
|
-
return L.bind((
|
|
43623
|
+
return L.bind((ne) => j.bind((fe) => Tb(O, ne, fe)));
|
|
43624
43624
|
}, Ny = (i, m, h) => {
|
|
43625
43625
|
const v = Iy(i);
|
|
43626
43626
|
return dn(v, m, h);
|
|
@@ -43679,7 +43679,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
43679
43679
|
"textarea",
|
|
43680
43680
|
"xmp"
|
|
43681
43681
|
], De);
|
|
43682
|
-
},
|
|
43682
|
+
}, ne = (fe) => Dr(fe) ? ua(fe, "lang") : pe.none();
|
|
43683
43683
|
return {
|
|
43684
43684
|
up: he({
|
|
43685
43685
|
selector: zc,
|
|
@@ -43735,7 +43735,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
43735
43735
|
isComment: Xo,
|
|
43736
43736
|
isElement: Dr,
|
|
43737
43737
|
isSpecial: j,
|
|
43738
|
-
getLanguage:
|
|
43738
|
+
getLanguage: ne,
|
|
43739
43739
|
getText: an,
|
|
43740
43740
|
setText: ir,
|
|
43741
43741
|
isBoundary: h,
|
|
@@ -43756,10 +43756,10 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
43756
43756
|
return $4(i, O, j);
|
|
43757
43757
|
}, S);
|
|
43758
43758
|
}, $4 = (i, m, h) => m.bind((v) => h.filter(oo(i.eq, v))), ep = (i, m) => oo(i.eq, m), Fy = (i, m, h, v = In) => {
|
|
43759
|
-
const S = [m].concat(i.up().all(m)), O = [h].concat(i.up().all(h)), L = (De) => tl(De, v).fold(() => De, (Bt) => De.slice(0, Bt + 1)), j = L(S),
|
|
43759
|
+
const S = [m].concat(i.up().all(m)), O = [h].concat(i.up().all(h)), L = (De) => tl(De, v).fold(() => De, (Bt) => De.slice(0, Bt + 1)), j = L(S), ne = L(O), fe = z(j, (De) => ot(ne, ep(i, De)));
|
|
43760
43760
|
return {
|
|
43761
43761
|
firstpath: j,
|
|
43762
|
-
secondpath:
|
|
43762
|
+
secondpath: ne,
|
|
43763
43763
|
shared: fe
|
|
43764
43764
|
};
|
|
43765
43765
|
}, Um = R4, M4 = Fy, Wd = Qe(), Cs = (i, m) => Um(Wd, (h, v) => i(v), m), Zd = (i, m, h) => M4(Wd, i, m, h), Hy = (i) => zc(i, "table"), $u = (i, m, h) => {
|
|
@@ -43791,7 +43791,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
43791
43791
|
});
|
|
43792
43792
|
} else
|
|
43793
43793
|
return Zd(i, m).shared.bind((L) => Ps(L, "table", h).bind((j) => {
|
|
43794
|
-
const
|
|
43794
|
+
const ne = Qn(m, "td,th", v(j)), fe = ne.length > 0 ? ne[ne.length - 1] : m, De = Qn(i, "td,th", v(j)), at = De.length > 0 ? De[De.length - 1] : i;
|
|
43795
43795
|
return pe.some({
|
|
43796
43796
|
boxes: As(j, i, S, m, O),
|
|
43797
43797
|
start: at,
|
|
@@ -43814,8 +43814,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
43814
43814
|
start: S.start,
|
|
43815
43815
|
finish: S.finish
|
|
43816
43816
|
}))))), Ab = (i, m, h, v, S) => Vy(i, S).bind((O) => O4(O, m, h).bind((L) => tC(L, v))), zy = (i, m) => Wm(i, m), P4 = (i, m, h) => oh(i, m, h).bind((v) => {
|
|
43817
|
-
const S = (
|
|
43818
|
-
return L.bind((
|
|
43817
|
+
const S = (ne) => ns(i, ne), O = "thead,tfoot,tbody,table", L = zc(v.first, O, S), j = zc(v.last, O, S);
|
|
43818
|
+
return L.bind((ne) => j.bind((fe) => ns(ne, fe) ? Ny(v.table, v.first, v.last) : pe.none()));
|
|
43819
43819
|
}), Uy = kt, jd = (i) => {
|
|
43820
43820
|
const m = (v, S) => ua(v, S).exists((O) => parseInt(O, 10) > 1), h = (v) => m(v, "rowspan") || m(v, "colspan");
|
|
43821
43821
|
return i.length > 0 && Wo(i, h) ? pe.some(i) : pe.none();
|
|
@@ -43864,10 +43864,10 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
43864
43864
|
const v = uu(i);
|
|
43865
43865
|
Te(v).each((S) => {
|
|
43866
43866
|
rl(S).each((O) => {
|
|
43867
|
-
const L = ho(O0(h.content), (
|
|
43867
|
+
const L = ho(O0(h.content), (ne) => ts(ne) !== "meta"), j = Cr("table");
|
|
43868
43868
|
if (br(i) && L.length === 1 && j(L[0])) {
|
|
43869
43869
|
h.preventDefault();
|
|
43870
|
-
const
|
|
43870
|
+
const ne = Ae.fromDom(i.getDoc()), fe = ul(ne), De = L0(S, L[0], fe);
|
|
43871
43871
|
m.pasteCells(O, De).each(() => {
|
|
43872
43872
|
i.focus();
|
|
43873
43873
|
});
|
|
@@ -43897,22 +43897,22 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
43897
43897
|
} else
|
|
43898
43898
|
return v;
|
|
43899
43899
|
}, $b = Rb((i) => i < 0), F4 = Rb(Ze), aC = () => {
|
|
43900
|
-
const i = (j,
|
|
43901
|
-
const Bt = $b(j,
|
|
43902
|
-
return rp(j,
|
|
43900
|
+
const i = (j, ne, fe, De, at) => {
|
|
43901
|
+
const Bt = $b(j, ne, De, at);
|
|
43902
|
+
return rp(j, ne, fe + 1, [
|
|
43903
43903
|
Bt,
|
|
43904
43904
|
0
|
|
43905
43905
|
], ei);
|
|
43906
|
-
}, m = (j,
|
|
43907
|
-
const at = (100 + fe) / 100, Bt = Math.max(De, (j[
|
|
43908
|
-
return _t(j, (Pt, et) => (et ===
|
|
43909
|
-
}, h = (j,
|
|
43906
|
+
}, m = (j, ne, fe, De) => {
|
|
43907
|
+
const at = (100 + fe) / 100, Bt = Math.max(De, (j[ne] + fe) / at);
|
|
43908
|
+
return _t(j, (Pt, et) => (et === ne ? Bt : Pt / at) - Pt);
|
|
43909
|
+
}, h = (j, ne, fe, De, at, Bt) => Bt ? m(j, ne, De, at) : i(j, ne, fe, De, at);
|
|
43910
43910
|
return {
|
|
43911
|
-
resizeTable: (j,
|
|
43911
|
+
resizeTable: (j, ne) => j(ne),
|
|
43912
43912
|
clampTableDelta: $b,
|
|
43913
43913
|
calcLeftEdgeDeltas: h,
|
|
43914
|
-
calcMiddleDeltas: (j,
|
|
43915
|
-
calcRightEdgeDeltas: (j,
|
|
43914
|
+
calcMiddleDeltas: (j, ne, fe, De, at, Bt, Pt) => h(j, fe, De, at, Bt, Pt),
|
|
43915
|
+
calcRightEdgeDeltas: (j, ne, fe, De, at, Bt) => {
|
|
43916
43916
|
if (Bt)
|
|
43917
43917
|
return m(j, fe, De, at);
|
|
43918
43918
|
{
|
|
@@ -43920,9 +43920,9 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
43920
43920
|
return ei(j.slice(0, fe)).concat([Pt]);
|
|
43921
43921
|
}
|
|
43922
43922
|
},
|
|
43923
|
-
calcRedestributedWidths: (j,
|
|
43923
|
+
calcRedestributedWidths: (j, ne, fe, De) => {
|
|
43924
43924
|
if (De) {
|
|
43925
|
-
const Bt = (
|
|
43925
|
+
const Bt = (ne + fe) / ne, Pt = _t(j, (et) => et / Bt);
|
|
43926
43926
|
return {
|
|
43927
43927
|
delta: Bt * 100 - 100,
|
|
43928
43928
|
newSizes: Pt
|
|
@@ -43935,31 +43935,31 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
43935
43935
|
}
|
|
43936
43936
|
};
|
|
43937
43937
|
}, Gy = () => {
|
|
43938
|
-
const i = (L, j,
|
|
43939
|
-
const at = fe >= 0 ?
|
|
43940
|
-
return rp(L, j,
|
|
43938
|
+
const i = (L, j, ne, fe, De) => {
|
|
43939
|
+
const at = fe >= 0 ? ne : j, Bt = F4(L, at, fe, De);
|
|
43940
|
+
return rp(L, j, ne + 1, [
|
|
43941
43941
|
Bt,
|
|
43942
43942
|
-Bt
|
|
43943
43943
|
], ei);
|
|
43944
43944
|
};
|
|
43945
43945
|
return {
|
|
43946
|
-
resizeTable: (L, j,
|
|
43947
|
-
|
|
43946
|
+
resizeTable: (L, j, ne) => {
|
|
43947
|
+
ne && L(j);
|
|
43948
43948
|
},
|
|
43949
|
-
clampTableDelta: (L, j,
|
|
43949
|
+
clampTableDelta: (L, j, ne, fe, De) => {
|
|
43950
43950
|
if (De) {
|
|
43951
|
-
if (
|
|
43952
|
-
return
|
|
43951
|
+
if (ne >= 0)
|
|
43952
|
+
return ne;
|
|
43953
43953
|
{
|
|
43954
43954
|
const at = tt(L, (Bt, Pt) => Bt + Pt - fe, 0);
|
|
43955
|
-
return Math.max(-at,
|
|
43955
|
+
return Math.max(-at, ne);
|
|
43956
43956
|
}
|
|
43957
43957
|
} else
|
|
43958
|
-
return $b(L, j,
|
|
43958
|
+
return $b(L, j, ne, fe);
|
|
43959
43959
|
},
|
|
43960
43960
|
calcLeftEdgeDeltas: i,
|
|
43961
|
-
calcMiddleDeltas: (L, j,
|
|
43962
|
-
calcRightEdgeDeltas: (L, j,
|
|
43961
|
+
calcMiddleDeltas: (L, j, ne, fe, De, at) => i(L, ne, fe, De, at),
|
|
43962
|
+
calcRightEdgeDeltas: (L, j, ne, fe, De, at) => {
|
|
43963
43963
|
if (at)
|
|
43964
43964
|
return ei(L);
|
|
43965
43965
|
{
|
|
@@ -43967,7 +43967,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
43967
43967
|
return _t(L, he(Bt));
|
|
43968
43968
|
}
|
|
43969
43969
|
},
|
|
43970
|
-
calcRedestributedWidths: (L, j,
|
|
43970
|
+
calcRedestributedWidths: (L, j, ne, fe) => ({
|
|
43971
43971
|
delta: 0,
|
|
43972
43972
|
newSizes: L
|
|
43973
43973
|
})
|
|
@@ -44045,7 +44045,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
44045
44045
|
Rr(Lt, tn);
|
|
44046
44046
|
}, j = (Pt) => {
|
|
44047
44047
|
Co(i, Pt).each(ar);
|
|
44048
|
-
},
|
|
44048
|
+
}, ne = (Pt, et) => {
|
|
44049
44049
|
Pt.length > 0 ? L(Pt, et) : j(et);
|
|
44050
44050
|
}, fe = [], De = [], at = [], Bt = [];
|
|
44051
44051
|
return Pe(m, (Pt) => {
|
|
@@ -44063,7 +44063,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
44063
44063
|
Bt.push(Pt);
|
|
44064
44064
|
break;
|
|
44065
44065
|
}
|
|
44066
|
-
}),
|
|
44066
|
+
}), ne(Bt, "colgroup"), ne(fe, "thead"), ne(De, "tbody"), ne(at, "tfoot"), {
|
|
44067
44067
|
newRows: h,
|
|
44068
44068
|
newCells: v
|
|
44069
44069
|
};
|
|
@@ -44086,15 +44086,15 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
44086
44086
|
};
|
|
44087
44087
|
}, or = (i, m) => {
|
|
44088
44088
|
const h = _t(i, (S) => _t(S.cells, In)), v = (S, O, L, j) => {
|
|
44089
|
-
for (let
|
|
44089
|
+
for (let ne = S; ne < S + L; ne++)
|
|
44090
44090
|
for (let fe = O; fe < O + j; fe++)
|
|
44091
|
-
h[
|
|
44091
|
+
h[ne][fe] = !0;
|
|
44092
44092
|
};
|
|
44093
44093
|
return _t(i, (S, O) => {
|
|
44094
|
-
const L = rs(S.cells, (j,
|
|
44095
|
-
if (h[O][
|
|
44096
|
-
const fe = iC(i, O,
|
|
44097
|
-
return v(O,
|
|
44094
|
+
const L = rs(S.cells, (j, ne) => {
|
|
44095
|
+
if (h[O][ne] === !1) {
|
|
44096
|
+
const fe = iC(i, O, ne, m);
|
|
44097
|
+
return v(O, ne, fe.rowspan, fe.colspan), [Ku(j.element, fe.rowspan, fe.colspan, j.isNew)];
|
|
44098
44098
|
} else
|
|
44099
44099
|
return [];
|
|
44100
44100
|
});
|
|
@@ -44105,15 +44105,15 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
44105
44105
|
Pe(i.colgroups, (S) => {
|
|
44106
44106
|
const O = [];
|
|
44107
44107
|
for (let L = 0; L < i.grid.columns; L++) {
|
|
44108
|
-
const j = Yn.getColumnAt(i, L).map((
|
|
44108
|
+
const j = Yn.getColumnAt(i, L).map((ne) => Ie(ne.element, h, !1)).getOrThunk(() => Ie(m.colGap(), !0, !1));
|
|
44109
44109
|
O.push(j);
|
|
44110
44110
|
}
|
|
44111
44111
|
v.push(ft(S.element, O, "colgroup", h));
|
|
44112
44112
|
});
|
|
44113
44113
|
for (let S = 0; S < i.grid.rows; S++) {
|
|
44114
44114
|
const O = [];
|
|
44115
|
-
for (let
|
|
44116
|
-
const fe = Yn.getAt(i, S,
|
|
44115
|
+
for (let ne = 0; ne < i.grid.columns; ne++) {
|
|
44116
|
+
const fe = Yn.getAt(i, S, ne).map((De) => Ie(De.element, h, De.isLocked)).getOrThunk(() => Ie(m.gap(), !0, !1));
|
|
44117
44117
|
O.push(fe);
|
|
44118
44118
|
}
|
|
44119
44119
|
const L = i.all[S], j = ft(L.element, O, L.section, h);
|
|
@@ -44123,8 +44123,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
44123
44123
|
}, ra = (i, m) => up(i, m, !1), ur = (i) => or(i, ns), ki = (i, m) => qo(i.all, (h) => z(h.cells, (v) => ns(m, v.element))), Yy = (i, m, h) => {
|
|
44124
44124
|
const v = _t(m.selection, (O) => Am(O).bind((L) => ki(i, L)).filter(h)), S = Us(v);
|
|
44125
44125
|
return Lh(S.length > 0, S);
|
|
44126
|
-
}, fl = (i, m, h, v, S) => (O, L, j,
|
|
44127
|
-
const fe = Yn.fromTable(O), De = pe.from(
|
|
44126
|
+
}, fl = (i, m, h, v, S) => (O, L, j, ne) => {
|
|
44127
|
+
const fe = Yn.fromTable(O), De = pe.from(ne == null ? void 0 : ne.section).getOrThunk(Vf.fallback);
|
|
44128
44128
|
return m(fe, L).map((Bt) => {
|
|
44129
44129
|
const Pt = ra(fe, j), et = i(Pt, Bt, ns, S(j), De), Lt = jr(et.grid), Xe = ur(et.grid);
|
|
44130
44130
|
return {
|
|
@@ -44134,7 +44134,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
44134
44134
|
lockedColumns: Lt
|
|
44135
44135
|
};
|
|
44136
44136
|
}).bind((Bt) => {
|
|
44137
|
-
const Pt = Lb(O, Bt.grid), et = pe.from(
|
|
44137
|
+
const Pt = Lb(O, Bt.grid), et = pe.from(ne == null ? void 0 : ne.sizing).getOrThunk(() => Gl.getTableSize(O)), Lt = pe.from(ne == null ? void 0 : ne.resize).getOrThunk(Gy);
|
|
44138
44138
|
return h(O, Bt.grid, Bt.info, {
|
|
44139
44139
|
sizing: et,
|
|
44140
44140
|
resize: Lt,
|
|
@@ -44159,8 +44159,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
44159
44159
|
return i;
|
|
44160
44160
|
for (let O = m.startRow; O <= m.finishRow; O++)
|
|
44161
44161
|
for (let L = m.startCol; L <= m.finishCol; L++) {
|
|
44162
|
-
const j = S[O],
|
|
44163
|
-
Ld(j, L, Ie(v(), !1,
|
|
44162
|
+
const j = S[O], ne = ba(j, L).isLocked;
|
|
44163
|
+
Ld(j, L, Ie(v(), !1, ne));
|
|
44164
44164
|
}
|
|
44165
44165
|
return i;
|
|
44166
44166
|
}, Kl = (i, m, h, v) => {
|
|
@@ -44168,8 +44168,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
44168
44168
|
let O = !0;
|
|
44169
44169
|
for (let L = 0; L < S.length; L++)
|
|
44170
44170
|
for (let j = 0; j < Ul(S[0]); j++) {
|
|
44171
|
-
const
|
|
44172
|
-
at && !O ? Ld(
|
|
44171
|
+
const ne = S[L], fe = ba(ne, j), De = fe.element, at = h(De, m);
|
|
44172
|
+
at && !O ? Ld(ne, j, Ie(v(), !0, fe.isLocked)) : at && (O = !1);
|
|
44173
44173
|
}
|
|
44174
44174
|
return i;
|
|
44175
44175
|
}, W4 = (i, m) => tt(i, (h, v) => ot(h, (S) => m(S.element, v.element)) ? h : h.concat([v]), []), Z4 = (i, m, h, v) => (m > 0 && m < i[0].cells.length && Pe(i, (S) => {
|
|
@@ -44183,11 +44183,11 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
44183
44183
|
if (m > 0 && m < S.length) {
|
|
44184
44184
|
const O = S[m - 1].cells, L = W4(O, h);
|
|
44185
44185
|
Pe(L, (j) => {
|
|
44186
|
-
let
|
|
44186
|
+
let ne = pe.none();
|
|
44187
44187
|
for (let fe = m; fe < S.length; fe++)
|
|
44188
44188
|
for (let De = 0; De < Ul(S[0]); De++) {
|
|
44189
44189
|
const at = S[fe], Bt = ba(at, De);
|
|
44190
|
-
h(Bt.element, j.element) && (
|
|
44190
|
+
h(Bt.element, j.element) && (ne.isNone() && (ne = pe.some(v())), ne.each((et) => {
|
|
44191
44191
|
Ld(at, De, Ie(et, !0, Bt.isLocked));
|
|
44192
44192
|
}));
|
|
44193
44193
|
}
|
|
@@ -44268,7 +44268,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
44268
44268
|
}, dC = (i, m, h, v) => {
|
|
44269
44269
|
const S = i[i.length - 1];
|
|
44270
44270
|
return i.concat(Ht(m, () => {
|
|
44271
|
-
const O = S.section === "colgroup" ? h.colgroup : h.row, L = Fd(S, O, kt), j = ah(L.cells.length, L, h, (
|
|
44271
|
+
const O = S.section === "colgroup" ? h.colgroup : h.row, L = Fd(S, O, kt), j = ah(L.cells.length, L, h, (ne) => ds(v, ne.toString()));
|
|
44272
44272
|
return Of(L, j);
|
|
44273
44273
|
}));
|
|
44274
44274
|
}, kr = (i, m, h, v) => _t(i, (S) => {
|
|
@@ -44278,13 +44278,13 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
44278
44278
|
const L = ah(1, v, m, Ze)[0];
|
|
44279
44279
|
return Su(S, O, L);
|
|
44280
44280
|
}, v)), pp = (i, m, h) => {
|
|
44281
|
-
const v = m.colDelta < 0 ? kr : kt, S = m.rowDelta < 0 ? dC : kt, O = jr(i), L = Ul(i[0]), j = ot(O, (De) => De === L - 1),
|
|
44282
|
-
return S(
|
|
44281
|
+
const v = m.colDelta < 0 ? kr : kt, S = m.rowDelta < 0 ? dC : kt, O = jr(i), L = Ul(i[0]), j = ot(O, (De) => De === L - 1), ne = v(i, Math.abs(m.colDelta), h, j ? L - 1 : L), fe = jr(ne);
|
|
44282
|
+
return S(ne, Math.abs(m.rowDelta), h, Ke(fe, Ze));
|
|
44283
44283
|
}, fC = (i, m, h, v) => {
|
|
44284
44284
|
const S = ba(i[m], h), O = oo(v, S.element), L = i[m];
|
|
44285
44285
|
return i.length > 1 && Ul(L) > 1 && (h > 0 && O(hr(L, h - 1)) || h < L.cells.length - 1 && O(hr(L, h + 1)) || m > 0 && O(hr(i[m - 1], h)) || m < i.length - 1 && O(hr(i[m + 1], h)));
|
|
44286
44286
|
}, Vb = (i, m, h, v, S, O) => {
|
|
44287
|
-
const L = i.row, j = i.column,
|
|
44287
|
+
const L = i.row, j = i.column, ne = h.length, fe = Ul(h[0]), De = L + ne, at = j + fe + O.length, Bt = Ke(O, Ze);
|
|
44288
44288
|
for (let Pt = L; Pt < De; Pt++) {
|
|
44289
44289
|
let et = 0;
|
|
44290
44290
|
for (let Lt = j; Lt < at; Lt++) {
|
|
@@ -44299,33 +44299,33 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
44299
44299
|
}
|
|
44300
44300
|
return m;
|
|
44301
44301
|
}, Tl = (i, m, h) => {
|
|
44302
|
-
const v = Ul(m[0]), S = Mr(m).cols.length + i.row, O = Ht(v - i.column, (j) => j + i.column), L = z(O, (j) => Wo(h, (
|
|
44302
|
+
const v = Ul(m[0]), S = Mr(m).cols.length + i.row, O = Ht(v - i.column, (j) => j + i.column), L = z(O, (j) => Wo(h, (ne) => ne !== j)).getOr(v - 1);
|
|
44303
44303
|
return {
|
|
44304
44304
|
row: S,
|
|
44305
44305
|
column: L
|
|
44306
44306
|
};
|
|
44307
44307
|
}, Ti = (i, m, h) => ho(h, (v) => v >= i.column && v <= Ul(m[0]) + i.column), gC = (i, m, h, v, S) => {
|
|
44308
|
-
const O = jr(m), L = Tl(i, m, O), j = Mr(h).rows,
|
|
44308
|
+
const O = jr(m), L = Tl(i, m, O), j = Mr(h).rows, ne = Ti(L, j, O);
|
|
44309
44309
|
return fp(L, m, j).map((De) => {
|
|
44310
44310
|
const at = {
|
|
44311
44311
|
...De,
|
|
44312
|
-
colDelta: De.colDelta -
|
|
44312
|
+
colDelta: De.colDelta - ne.length
|
|
44313
44313
|
}, Bt = pp(m, at, v), Pt = jr(Bt), et = Ti(L, j, Pt);
|
|
44314
44314
|
return Vb(L, Bt, j, v, S, et);
|
|
44315
44315
|
});
|
|
44316
44316
|
}, zb = (i, m, h, v, S) => {
|
|
44317
44317
|
Z4(m, i, S, v.cell);
|
|
44318
|
-
const O = hp(h, m), L = pp(h, O, v), j = hp(m, L),
|
|
44319
|
-
return _t(
|
|
44318
|
+
const O = hp(h, m), L = pp(h, O, v), j = hp(m, L), ne = pp(m, j, v);
|
|
44319
|
+
return _t(ne, (fe, De) => _l(fe, i, L[De].cells));
|
|
44320
44320
|
}, lh = (i, m, h, v, S) => {
|
|
44321
44321
|
Uf(m, i, S, v.cell);
|
|
44322
44322
|
const O = jr(m), L = gp(m, h), j = {
|
|
44323
44323
|
...L,
|
|
44324
44324
|
colDelta: L.colDelta - O.length
|
|
44325
|
-
},
|
|
44325
|
+
}, ne = pp(m, j, v), {
|
|
44326
44326
|
cols: fe,
|
|
44327
44327
|
rows: De
|
|
44328
|
-
} = Mr(
|
|
44328
|
+
} = Mr(ne), at = jr(ne), Bt = gp(h, m), Pt = {
|
|
44329
44329
|
...Bt,
|
|
44330
44330
|
colDelta: Bt.colDelta + at.length
|
|
44331
44331
|
}, et = mC(h, v, at), Lt = pp(et, Pt, v);
|
|
@@ -44336,12 +44336,12 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
44336
44336
|
...De.slice(i, De.length)
|
|
44337
44337
|
];
|
|
44338
44338
|
}, j4 = (i, m, h, v) => Fd(i, (S) => v(S, h), m), hC = (i, m, h, v, S) => {
|
|
44339
|
-
const { rows: O, cols: L } = Mr(i), j = O.slice(0, m),
|
|
44339
|
+
const { rows: O, cols: L } = Mr(i), j = O.slice(0, m), ne = O.slice(m), fe = j4(O[h], (De, at) => m > 0 && m < O.length && v(hr(O[m - 1], at), hr(O[m], at)) ? ba(O[m], at) : Ie(S(De.element, v), !0, De.isLocked), v, S);
|
|
44340
44340
|
return [
|
|
44341
44341
|
...L,
|
|
44342
44342
|
...j,
|
|
44343
44343
|
fe,
|
|
44344
|
-
...
|
|
44344
|
+
...ne
|
|
44345
44345
|
];
|
|
44346
44346
|
}, Xy = (i, m, h, v, S, O, L) => {
|
|
44347
44347
|
if (h === "colgroup" || !v) {
|
|
@@ -44366,8 +44366,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
44366
44366
|
const S = (L) => L === "row" ? bi(m) : Ga(m), O = (L) => S(L) ? `${L}group` : L;
|
|
44367
44367
|
return i ? lp(m) ? O(h) : null : v && lp(m) ? O(h === "row" ? "col" : "row") : null;
|
|
44368
44368
|
}, pC = (i, m) => (h, v, S) => pe.some(qm(i, h.element, "col", m[S])), uh = (i, m) => (h, v) => pe.some(qm(i, h.element, "row", m[v])), Zf = (i, m, h) => Ie(h(i.element, m), !0, i.isLocked), dh = (i, m, h, v, S, O, L) => {
|
|
44369
|
-
const j = (
|
|
44370
|
-
return _t(i, (
|
|
44369
|
+
const j = (ne) => ot(m, (fe) => h(ne.element, fe.element));
|
|
44370
|
+
return _t(i, (ne, fe) => Gh(ne, (De, at) => {
|
|
44371
44371
|
if (j(De)) {
|
|
44372
44372
|
const Bt = L(De, fe, at) ? S(De, h, v) : De;
|
|
44373
44373
|
return O(Bt, fe, at).each((Pt) => {
|
|
@@ -44380,12 +44380,12 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
44380
44380
|
const v = i[m];
|
|
44381
44381
|
return rs(v.cells, (S, O) => Wf(i, m, O, h) ? [] : [S]);
|
|
44382
44382
|
}, Jy = (i, m, h, v, S) => {
|
|
44383
|
-
const O = Mr(i).rows, L = rs(m, (De) => bC(O, De, v)), j = _t(O, (De) => Mb(De.cells)),
|
|
44384
|
-
return dh(i, L, v, S, Zf, fe,
|
|
44383
|
+
const O = Mr(i).rows, L = rs(m, (De) => bC(O, De, v)), j = _t(O, (De) => Mb(De.cells)), ne = ih(L, j), fe = uh(h, j);
|
|
44384
|
+
return dh(i, L, v, S, Zf, fe, ne);
|
|
44385
44385
|
}, q4 = (i, m, h, v, S, O, L) => {
|
|
44386
|
-
const { cols: j, rows:
|
|
44386
|
+
const { cols: j, rows: ne } = Mr(i), fe = ne[m[0]], De = rs(m, (Xe) => G4(ne, Xe, S)), at = _t(fe.cells, (Xe, tn) => Mb(bC(ne, tn, S))), Bt = [...ne];
|
|
44387
44387
|
Pe(m, (Xe) => {
|
|
44388
|
-
Bt[Xe] = L.transformRow(
|
|
44388
|
+
Bt[Xe] = L.transformRow(ne[Xe], h);
|
|
44389
44389
|
});
|
|
44390
44390
|
const Pt = [
|
|
44391
44391
|
...j,
|
|
@@ -44412,15 +44412,15 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
44412
44412
|
throw new Error("cannot have a case named cata (sorry)");
|
|
44413
44413
|
if (!$e(j))
|
|
44414
44414
|
throw new Error("case arguments must be an array");
|
|
44415
|
-
m.push(L), h[L] = (...
|
|
44416
|
-
const fe =
|
|
44415
|
+
m.push(L), h[L] = (...ne) => {
|
|
44416
|
+
const fe = ne.length;
|
|
44417
44417
|
if (fe !== j.length)
|
|
44418
44418
|
throw new Error("Wrong number of arguments to case " + L + ". Expected " + j.length + " (" + j + "), got " + fe);
|
|
44419
44419
|
return {
|
|
44420
44420
|
fold: (...at) => {
|
|
44421
44421
|
if (at.length !== i.length)
|
|
44422
44422
|
throw new Error("Wrong number of arguments to fold. Expected " + i.length + ", got " + at.length);
|
|
44423
|
-
return at[S].apply(null,
|
|
44423
|
+
return at[S].apply(null, ne);
|
|
44424
44424
|
},
|
|
44425
44425
|
match: (at) => {
|
|
44426
44426
|
const Bt = Ut(at);
|
|
@@ -44430,13 +44430,13 @@ Actual: ` + Bt.join(","));
|
|
|
44430
44430
|
if (!Wo(m, (et) => go(Bt, et)))
|
|
44431
44431
|
throw new Error("Not all branches were specified when using match. Specified: " + Bt.join(", ") + `
|
|
44432
44432
|
Required: ` + m.join(", "));
|
|
44433
|
-
return at[L].apply(null,
|
|
44433
|
+
return at[L].apply(null, ne);
|
|
44434
44434
|
},
|
|
44435
44435
|
log: (at) => {
|
|
44436
44436
|
console.log(at, {
|
|
44437
44437
|
constructors: m,
|
|
44438
44438
|
constructor: L,
|
|
44439
|
-
params:
|
|
44439
|
+
params: ne
|
|
44440
44440
|
});
|
|
44441
44441
|
}
|
|
44442
44442
|
};
|
|
@@ -44465,8 +44465,8 @@ Required: ` + m.join(", "));
|
|
|
44465
44465
|
]
|
|
44466
44466
|
}
|
|
44467
44467
|
]) }, yC = (i, m) => i.length === 0 ? vp.none() : i.length === 1 ? vp.only(0) : m === 0 ? vp.left(0, 1) : m === i.length - 1 ? vp.right(m - 1, m) : m > 0 && m < i.length - 1 ? vp.middle(m - 1, m, m + 1) : vp.none(), K4 = (i, m, h, v, S) => {
|
|
44468
|
-
const O = i.slice(0), L = yC(i, m), j = he(_t(O, he(0))),
|
|
44469
|
-
return L.fold(j,
|
|
44468
|
+
const O = i.slice(0), L = yC(i, m), j = he(_t(O, he(0))), ne = (Bt) => v.singleColumnWidth(O[Bt], h), fe = (Bt, Pt) => S.calcLeftEdgeDeltas(O, Bt, Pt, h, v.minCellWidth(), v.isRelative), De = (Bt, Pt, et) => S.calcMiddleDeltas(O, Bt, Pt, et, h, v.minCellWidth(), v.isRelative), at = (Bt, Pt) => S.calcRightEdgeDeltas(O, Bt, Pt, h, v.minCellWidth(), v.isRelative);
|
|
44469
|
+
return L.fold(j, ne, fe, De, at);
|
|
44470
44470
|
}, U0 = (i, m, h) => {
|
|
44471
44471
|
let v = 0;
|
|
44472
44472
|
for (let S = i; S < m; S++)
|
|
@@ -44508,11 +44508,11 @@ Required: ` + m.join(", "));
|
|
|
44508
44508
|
h.setElementWidth(S.element, S.width);
|
|
44509
44509
|
});
|
|
44510
44510
|
}, W0 = (i, m, h, v, S) => {
|
|
44511
|
-
const O = Yn.fromTable(i), L = S.getCellDelta(m), j = S.getWidths(O, S),
|
|
44512
|
-
is(O, at, S), v.resizeTable(S.adjustTableWidth, fe,
|
|
44511
|
+
const O = Yn.fromTable(i), L = S.getCellDelta(m), j = S.getWidths(O, S), ne = h === O.grid.columns - 1, fe = v.clampTableDelta(j, h, L, S.minCellWidth(), ne), De = K4(j, h, fe, S, v), at = _t(De, (Bt, Pt) => Bt + j[Pt]);
|
|
44512
|
+
is(O, at, S), v.resizeTable(S.adjustTableWidth, fe, ne);
|
|
44513
44513
|
}, t2 = (i, m, h, v) => {
|
|
44514
|
-
const S = Yn.fromTable(i), O = Re(S, i, v), L = _t(O, (De, at) => h === at ? Math.max(m + De, Sc()) : De), j = Ao(S, L),
|
|
44515
|
-
Pe(
|
|
44514
|
+
const S = Yn.fromTable(i), O = Re(S, i, v), L = _t(O, (De, at) => h === at ? Math.max(m + De, Sc()) : De), j = Ao(S, L), ne = si(S, L);
|
|
44515
|
+
Pe(ne, (De) => {
|
|
44516
44516
|
Hd(De.element, De.height);
|
|
44517
44517
|
}), Pe(j, (De) => {
|
|
44518
44518
|
Hd(De.element, De.height);
|
|
@@ -44520,8 +44520,8 @@ Required: ` + m.join(", "));
|
|
|
44520
44520
|
const fe = md(L);
|
|
44521
44521
|
Hd(i, fe);
|
|
44522
44522
|
}, xa = (i, m, h, v, S) => {
|
|
44523
|
-
const O = Yn.generate(m), L = v.getWidths(O, v), j = v.pixelWidth(), { newSizes:
|
|
44524
|
-
is(O,
|
|
44523
|
+
const O = Yn.generate(m), L = v.getWidths(O, v), j = v.pixelWidth(), { newSizes: ne, delta: fe } = S.calcRedestributedWidths(L, j, h.pixelDelta, v.isRelative);
|
|
44524
|
+
is(O, ne, v), v.adjustTableWidth(fe);
|
|
44525
44525
|
}, Yd = (i, m, h, v) => {
|
|
44526
44526
|
const S = Yn.generate(m), O = v.getWidths(S, v);
|
|
44527
44527
|
is(S, O, v);
|
|
@@ -44537,29 +44537,29 @@ Required: ` + m.join(", "));
|
|
|
44537
44537
|
if (Z0(j))
|
|
44538
44538
|
return v({ element: j });
|
|
44539
44539
|
{
|
|
44540
|
-
const
|
|
44540
|
+
const ne = j, fe = h(m(ne));
|
|
44541
44541
|
return O = pe.some({
|
|
44542
|
-
item:
|
|
44542
|
+
item: ne,
|
|
44543
44543
|
replacement: fe
|
|
44544
44544
|
}), fe;
|
|
44545
44545
|
}
|
|
44546
44546
|
};
|
|
44547
44547
|
let O = pe.none();
|
|
44548
|
-
return { getOrInit: (j,
|
|
44548
|
+
return { getOrInit: (j, ne) => O.fold(() => S(j), (fe) => ne(j, fe.item) ? fe.replacement : S(j)) };
|
|
44549
44549
|
}, Xd = (i) => (m) => {
|
|
44550
|
-
const h = [], v = (L, j) => z(h, (
|
|
44551
|
-
const j = i === "td" ? { scope: null } : {},
|
|
44550
|
+
const h = [], v = (L, j) => z(h, (ne) => j(ne.item, L)), S = (L) => {
|
|
44551
|
+
const j = i === "td" ? { scope: null } : {}, ne = m.replace(L, i, j);
|
|
44552
44552
|
return h.push({
|
|
44553
44553
|
item: L,
|
|
44554
|
-
sub:
|
|
44555
|
-
}),
|
|
44554
|
+
sub: ne
|
|
44555
|
+
}), ne;
|
|
44556
44556
|
};
|
|
44557
44557
|
return { replaceOrInit: (L, j) => {
|
|
44558
44558
|
if (Z0(L) || n2(L))
|
|
44559
44559
|
return L;
|
|
44560
44560
|
{
|
|
44561
|
-
const
|
|
44562
|
-
return v(
|
|
44561
|
+
const ne = L;
|
|
44562
|
+
return v(ne, j).fold(() => S(ne), (fe) => j(L, fe.item) ? fe.sub : S(ne));
|
|
44563
44563
|
}
|
|
44564
44564
|
} };
|
|
44565
44565
|
}, Km = (i) => ua(i, "scope").map((m) => m.substr(0, 3)), Le = {
|
|
@@ -44639,15 +44639,15 @@ Required: ` + m.join(", "));
|
|
|
44639
44639
|
"hr",
|
|
44640
44640
|
"input"
|
|
44641
44641
|
], i.property().name(m)), Qs = Qe(), qb = (i) => Ei(Qs, i), Ym = (i) => yp(Qs, i), r2 = (i) => s2(Qs, i), Kb = (i) => {
|
|
44642
|
-
const m = Cr("br"), h = (
|
|
44642
|
+
const m = Cr("br"), h = (ne) => Wo(ne, (fe) => m(fe) || Il(fe) && an(fe).trim().length === 0), v = (ne) => ts(ne) === "li" || ls(ne, Ym).isSome(), S = (ne) => xc(ne).map((fe) => qb(fe) ? !0 : r2(fe) ? ts(fe) !== "img" : !1).getOr(!1), O = (ne) => iu(ne).bind((fe) => {
|
|
44643
44643
|
const De = S(fe);
|
|
44644
|
-
return Wa(fe).map((at) => De === !0 || v(at) || m(fe) || qb(at) && !ns(
|
|
44644
|
+
return Wa(fe).map((at) => De === !0 || v(at) || m(fe) || qb(at) && !ns(ne, at) ? [] : [Ae.fromTag("br")]);
|
|
44645
44645
|
}).getOr([]), j = (() => {
|
|
44646
|
-
const
|
|
44646
|
+
const ne = rs(i, (fe) => {
|
|
44647
44647
|
const De = Po(fe);
|
|
44648
44648
|
return h(De) ? [] : De.concat(O(fe));
|
|
44649
44649
|
});
|
|
44650
|
-
return
|
|
44650
|
+
return ne.length === 0 ? [Ae.fromTag("br")] : ne;
|
|
44651
44651
|
})();
|
|
44652
44652
|
fa(i[0]), Rr(i[0], j);
|
|
44653
44653
|
}, a2 = (i) => If(i, !0), G0 = (i) => {
|
|
@@ -44666,8 +44666,8 @@ Required: ` + m.join(", "));
|
|
|
44666
44666
|
const v = X4(i, m, h);
|
|
44667
44667
|
return wp(i, v);
|
|
44668
44668
|
}, Ca = (i) => tt(i, (h, v) => ot(h, (O) => O.row === v.row) ? h : h.concat([v]), []).sort((h, v) => h.row - v.row), gl = (i, m, h, v) => {
|
|
44669
|
-
const S = m[0].row, O = Ca(m), L = vr(O, (j,
|
|
44670
|
-
grid: hC(j.grid, S,
|
|
44669
|
+
const S = m[0].row, O = Ca(m), L = vr(O, (j, ne) => ({
|
|
44670
|
+
grid: hC(j.grid, S, ne.row + j.delta, h, v.getOrInit),
|
|
44671
44671
|
delta: j.delta + 1
|
|
44672
44672
|
}), {
|
|
44673
44673
|
grid: i,
|
|
@@ -44675,20 +44675,20 @@ Required: ` + m.join(", "));
|
|
|
44675
44675
|
}).grid;
|
|
44676
44676
|
return fc(L, S, m[0].column);
|
|
44677
44677
|
}, gc = (i, m, h, v) => {
|
|
44678
|
-
const S = Ca(m), O = S[S.length - 1], L = O.row + O.rowspan, j = vr(S, (
|
|
44678
|
+
const S = Ca(m), O = S[S.length - 1], L = O.row + O.rowspan, j = vr(S, (ne, fe) => hC(ne, L, fe.row, h, v.getOrInit), i);
|
|
44679
44679
|
return fc(j, L, m[0].column);
|
|
44680
44680
|
}, El = (i, m, h, v) => {
|
|
44681
|
-
const S = m.details, O = Gf(S), L = O[0].column, j = vr(O, (
|
|
44682
|
-
grid: ni(
|
|
44683
|
-
delta:
|
|
44681
|
+
const S = m.details, O = Gf(S), L = O[0].column, j = vr(O, (ne, fe) => ({
|
|
44682
|
+
grid: ni(ne.grid, L, fe.column + ne.delta, h, v.getOrInit),
|
|
44683
|
+
delta: ne.delta + 1
|
|
44684
44684
|
}), {
|
|
44685
44685
|
grid: i,
|
|
44686
44686
|
delta: 0
|
|
44687
44687
|
}).grid;
|
|
44688
44688
|
return fc(j, S[0].row, L);
|
|
44689
44689
|
}, Yl = (i, m, h, v) => {
|
|
44690
|
-
const S = m.details, O = S[S.length - 1], L = O.column + O.colspan, j = Gf(S),
|
|
44691
|
-
return fc(
|
|
44690
|
+
const S = m.details, O = S[S.length - 1], L = O.column + O.colspan, j = Gf(S), ne = vr(j, (fe, De) => ni(fe, L, De.column, h, v.getOrInit), i);
|
|
44691
|
+
return fc(ne, S[0].row, L);
|
|
44692
44692
|
}, _a = (i, m, h, v) => {
|
|
44693
44693
|
const S = Gf(m), O = _t(S, (j) => j.column), L = Jy(i, O, !0, h, v.replaceOrInit);
|
|
44694
44694
|
return fc(L, m[0].row, m[0].column);
|
|
@@ -44702,7 +44702,7 @@ Required: ` + m.join(", "));
|
|
|
44702
44702
|
const S = Wb(i, m, h, v.replaceOrInit);
|
|
44703
44703
|
return fc(S, m[0].row, m[0].column);
|
|
44704
44704
|
}, K0 = (i, m) => (h, v, S, O, L) => {
|
|
44705
|
-
const j = Ca(v),
|
|
44705
|
+
const j = Ca(v), ne = _t(j, (De) => De.row), fe = q4(h, ne, i, m, S, O.replaceOrInit, L);
|
|
44706
44706
|
return fc(fe, v[0].row, v[0].column);
|
|
44707
44707
|
}, u2 = K0("thead", !0), wC = K0("tbody", !1), Yb = K0("tfoot", !1), d2 = (i, m, h, v) => {
|
|
44708
44708
|
const S = Gf(m.details), O = Ub(i, _t(S, (j) => j.column)), L = O.length > 0 ? O[0].cells.length - 1 : 0;
|
|
@@ -44719,31 +44719,31 @@ Required: ` + m.join(", "));
|
|
|
44719
44719
|
const O = vr(m, (L, j) => Kl(L, j, h, v.unmerge(j)), i);
|
|
44720
44720
|
return wp(O, pe.from(m[0]));
|
|
44721
44721
|
}, e3 = (i, m, h, v) => {
|
|
44722
|
-
const O = ((
|
|
44723
|
-
const De = Yn.fromTable(
|
|
44722
|
+
const O = ((ne, fe) => {
|
|
44723
|
+
const De = Yn.fromTable(ne);
|
|
44724
44724
|
return up(De, fe, !0);
|
|
44725
44725
|
})(m.clipboard, m.generators), L = hi(m.row, m.column);
|
|
44726
|
-
return gC(L, i, O, m.generators, h).fold(() => wp(i, pe.some(m.element)), (
|
|
44726
|
+
return gC(L, i, O, m.generators, h).fold(() => wp(i, pe.some(m.element)), (ne) => fc(ne, m.row, m.column));
|
|
44727
44727
|
}, xp = (i, m, h) => {
|
|
44728
44728
|
const v = $g(i, h.section), S = Yn.generate(v);
|
|
44729
44729
|
return up(S, m, !0);
|
|
44730
44730
|
}, Xb = (i, m, h, v) => {
|
|
44731
|
-
const S = Mr(i).rows, O = m.cells[0].column, L = S[m.cells[0].row], j = xp(m.clipboard, m.generators, L),
|
|
44732
|
-
return fc(
|
|
44731
|
+
const S = Mr(i).rows, O = m.cells[0].column, L = S[m.cells[0].row], j = xp(m.clipboard, m.generators, L), ne = zb(O, i, j, m.generators, h);
|
|
44732
|
+
return fc(ne, m.cells[0].row, m.cells[0].column);
|
|
44733
44733
|
}, CC = (i, m, h, v) => {
|
|
44734
|
-
const S = Mr(i).rows, O = m.cells[m.cells.length - 1].column + m.cells[m.cells.length - 1].colspan, L = S[m.cells[0].row], j = xp(m.clipboard, m.generators, L),
|
|
44735
|
-
return fc(
|
|
44734
|
+
const S = Mr(i).rows, O = m.cells[m.cells.length - 1].column + m.cells[m.cells.length - 1].colspan, L = S[m.cells[0].row], j = xp(m.clipboard, m.generators, L), ne = zb(O, i, j, m.generators, h);
|
|
44735
|
+
return fc(ne, m.cells[0].row, m.cells[0].column);
|
|
44736
44736
|
}, dO = (i, m, h, v) => {
|
|
44737
|
-
const S = Mr(i).rows, O = m.cells[0].row, L = S[O], j = xp(m.clipboard, m.generators, L),
|
|
44738
|
-
return fc(
|
|
44737
|
+
const S = Mr(i).rows, O = m.cells[0].row, L = S[O], j = xp(m.clipboard, m.generators, L), ne = lh(O, i, j, m.generators, h);
|
|
44738
|
+
return fc(ne, m.cells[0].row, m.cells[0].column);
|
|
44739
44739
|
}, Ac = (i, m, h, v) => {
|
|
44740
|
-
const S = Mr(i).rows, O = m.cells[m.cells.length - 1].row + m.cells[m.cells.length - 1].rowspan, L = S[m.cells[0].row], j = xp(m.clipboard, m.generators, L),
|
|
44741
|
-
return fc(
|
|
44740
|
+
const S = Mr(i).rows, O = m.cells[m.cells.length - 1].row + m.cells[m.cells.length - 1].rowspan, L = S[m.cells[0].row], j = xp(m.clipboard, m.generators, L), ne = lh(O, i, j, m.generators, h);
|
|
44741
|
+
return fc(ne, m.cells[0].row, m.cells[0].column);
|
|
44742
44742
|
}, mO = (i, m) => {
|
|
44743
44743
|
const h = Yn.fromTable(i);
|
|
44744
44744
|
return zf(h, m).bind((S) => {
|
|
44745
|
-
const O = S[S.length - 1], L = S[0].column, j = O.column + O.colspan,
|
|
44746
|
-
return cp(
|
|
44745
|
+
const O = S[S.length - 1], L = S[0].column, j = O.column + O.colspan, ne = so(_t(h.all, (fe) => ho(fe.cells, (De) => De.column >= L && De.column < j)));
|
|
44746
|
+
return cp(ne);
|
|
44747
44747
|
}).getOr("");
|
|
44748
44748
|
}, fd = (i, m) => {
|
|
44749
44749
|
const h = Yn.fromTable(i);
|
|
@@ -44751,8 +44751,8 @@ Required: ` + m.join(", "));
|
|
|
44751
44751
|
}, xt = (i, m) => {
|
|
44752
44752
|
const h = Yn.fromTable(i);
|
|
44753
44753
|
return zf(h, m).bind((S) => {
|
|
44754
|
-
const O = S[S.length - 1], L = S[0].row, j = O.row + O.rowspan,
|
|
44755
|
-
return V4(
|
|
44754
|
+
const O = S[S.length - 1], L = S[0].row, j = O.row + O.rowspan, ne = h.all.slice(L, j);
|
|
44755
|
+
return V4(ne);
|
|
44756
44756
|
}).getOr("");
|
|
44757
44757
|
}, m2 = (i, m, h, v) => Yd(i, m, h, v.sizing), Sa = (i, m, h, v) => xa(i, m, h, v.sizing, v.resize), _C = (i, m) => ot(m, (h) => h.column === 0 && h.isLocked), Jb = (i, m) => ot(m, (h) => h.column + h.colspan >= i.grid.columns && h.isLocked), f2 = (i, m) => {
|
|
44758
44758
|
const h = od(i), v = Gf(m);
|
|
@@ -44804,7 +44804,7 @@ Required: ` + m.join(", "));
|
|
|
44804
44804
|
structure: !0,
|
|
44805
44805
|
style: !0
|
|
44806
44806
|
}, Jl = (i, m) => ld(i) ? Gl.percentageSize(m) : Nf(i) ? Gl.pixelSize(m) : Gl.getTableSize(m), Qb = (i, m, h) => {
|
|
44807
|
-
const v = (pc) => ts(Cb(pc)) === "table", S = (pc) => !v(i) || ap(pc).rows > 1, O = (pc) => !v(i) || ap(pc).columns > 1, L = Vm(i), j = Br(i) ? Ot : jy,
|
|
44807
|
+
const v = (pc) => ts(Cb(pc)) === "table", S = (pc) => !v(i) || ap(pc).rows > 1, O = (pc) => !v(i) || ap(pc).columns > 1, L = Vm(i), j = Br(i) ? Ot : jy, ne = (pc) => {
|
|
44808
44808
|
switch (eh(i)) {
|
|
44809
44809
|
case "section":
|
|
44810
44810
|
return Vf.section();
|
|
@@ -44830,7 +44830,7 @@ Required: ` + m.join(", "));
|
|
|
44830
44830
|
const D_ = Ae.fromDom(i.getDoc()), Yp = wa(O1, D_, L), O_ = {
|
|
44831
44831
|
sizing: Jl(i, Rl),
|
|
44832
44832
|
resize: Br(i) ? aC() : Gy(),
|
|
44833
|
-
section:
|
|
44833
|
+
section: ne(Rl)
|
|
44834
44834
|
};
|
|
44835
44835
|
return pw(Rl) ? pc(Rl, R1, Yp, O_).bind((Mv) => {
|
|
44836
44836
|
m.refresh(Rl.dom), Pe(Mv.newRows, (_h) => {
|
|
@@ -44887,23 +44887,23 @@ Required: ` + m.join(", "));
|
|
|
44887
44887
|
return [];
|
|
44888
44888
|
}, RC = (i, m, h) => _t(i.all, (v) => {
|
|
44889
44889
|
const S = ho(v.cells, _2(m, h)), O = _t(S, (j) => {
|
|
44890
|
-
const
|
|
44891
|
-
return C2(
|
|
44890
|
+
const ne = Vl(j.element);
|
|
44891
|
+
return C2(ne, "colspan", h - m), ne;
|
|
44892
44892
|
}), L = Ae.fromTag("tr");
|
|
44893
44893
|
return Rr(L, O), L;
|
|
44894
44894
|
}), u3 = (i, m) => {
|
|
44895
44895
|
const h = Yn.fromTable(i);
|
|
44896
44896
|
return Gm(h, m).map((S) => {
|
|
44897
|
-
const O = S[S.length - 1], L = S[0].column, j = O.column + O.colspan,
|
|
44897
|
+
const O = S[S.length - 1], L = S[0].column, j = O.column + O.colspan, ne = ev(h, L, j), fe = RC(h, L, j);
|
|
44898
44898
|
return [
|
|
44899
|
-
...
|
|
44899
|
+
...ne,
|
|
44900
44900
|
...fe
|
|
44901
44901
|
];
|
|
44902
44902
|
});
|
|
44903
44903
|
}, d3 = (i, m, h) => {
|
|
44904
44904
|
const v = Yn.fromTable(i);
|
|
44905
44905
|
return zf(v, m).bind((O) => {
|
|
44906
|
-
const L = up(v, h, !1),
|
|
44906
|
+
const L = up(v, h, !1), ne = Mr(L).rows.slice(O[0].row, O[O.length - 1].row + O[O.length - 1].rowspan), fe = rs(ne, (at) => {
|
|
44907
44907
|
const Bt = ho(at.cells, (Pt) => !Pt.isLocked);
|
|
44908
44908
|
return Bt.length > 0 ? [{
|
|
44909
44909
|
...at,
|
|
@@ -44983,11 +44983,11 @@ Required: ` + m.join(", "));
|
|
|
44983
44983
|
}, IC = (i) => kp(i).fold(he("px"), he("px"), he("%")), Qd = (i, m, h) => {
|
|
44984
44984
|
const v = Yn.fromTable(i), S = v.all, O = Yn.justCells(v), L = Yn.justColumns(v);
|
|
44985
44985
|
m.each((j) => {
|
|
44986
|
-
const
|
|
44987
|
-
Yn.hasColumns(v) ? k2(at, L,
|
|
44986
|
+
const ne = IC(j), fe = ll(i), De = Nm(v, i), at = MC(De, fe, j);
|
|
44987
|
+
Yn.hasColumns(v) ? k2(at, L, ne) : NC(at, O, ne), Gs(i, "width", j);
|
|
44988
44988
|
}), h.each((j) => {
|
|
44989
|
-
const
|
|
44990
|
-
h3(at, S, O,
|
|
44989
|
+
const ne = IC(j), fe = Pm(i), De = Zl(v, i, qt), at = MC(De, fe, j);
|
|
44990
|
+
h3(at, S, O, ne), Gs(i, "height", j);
|
|
44991
44991
|
});
|
|
44992
44992
|
}, Q0 = lu, e1 = yb, tv = cu, t1 = (i) => {
|
|
44993
44993
|
Fs(i, "width");
|
|
@@ -45023,16 +45023,16 @@ Required: ` + m.join(", "));
|
|
|
45023
45023
|
}, T2 = (i, m, h, v) => Ht(i, (S) => LC(m, h, v, S)), y3 = (i, m, h, v, S, O = Kf) => {
|
|
45024
45024
|
const L = Ae.fromTag("table"), j = S !== "cells";
|
|
45025
45025
|
Ba(L, O.styles), yl(L, O.attributes), O.colGroups && os(L, v3(m));
|
|
45026
|
-
const
|
|
45026
|
+
const ne = Math.min(i, h);
|
|
45027
45027
|
if (j && h > 0) {
|
|
45028
45028
|
const Pt = Ae.fromTag("thead");
|
|
45029
45029
|
os(L, Pt);
|
|
45030
|
-
const Lt = T2(h, m, S === "sectionCells" ?
|
|
45030
|
+
const Lt = T2(h, m, S === "sectionCells" ? ne : 0, v);
|
|
45031
45031
|
Rr(Pt, Lt);
|
|
45032
45032
|
}
|
|
45033
45033
|
const fe = Ae.fromTag("tbody");
|
|
45034
45034
|
os(L, fe);
|
|
45035
|
-
const De = j ? i -
|
|
45035
|
+
const De = j ? i - ne : i, Bt = T2(De, m, j ? 0 : h, v);
|
|
45036
45036
|
return Rr(fe, Bt), L;
|
|
45037
45037
|
}, w3 = (i) => i.dom.innerHTML, FC = (i) => {
|
|
45038
45038
|
const m = Ae.fromTag("div"), h = Ae.fromDom(i.dom.cloneNode(!0));
|
|
@@ -45056,8 +45056,8 @@ Required: ` + m.join(", "));
|
|
|
45056
45056
|
return i.undoManager.ignore(() => {
|
|
45057
45057
|
const j = y3(h, m, S, v, eh(i), L);
|
|
45058
45058
|
Zs(j, "data-mce-id", "__mce");
|
|
45059
|
-
const
|
|
45060
|
-
i.insertContent(
|
|
45059
|
+
const ne = FC(j);
|
|
45060
|
+
i.insertContent(ne), i.addVisual();
|
|
45061
45061
|
}), ja(Cb(i), 'table[data-mce-id="__mce"]').map((j) => (Nf(i) ? Tp(j) : th(i) ? n1(j) : (ld(i) || ov(O.width)) && du(j), id(j), Fs(j, "data-mce-id"), C3(i, j), HC(i, j), j.dom)).getOrNull();
|
|
45062
45062
|
}, VC = (i, m, h, v = {}) => {
|
|
45063
45063
|
const S = (O) => eo(O) && O > 0;
|
|
@@ -45100,7 +45100,7 @@ Required: ` + m.join(", "));
|
|
|
45100
45100
|
L((En) => {
|
|
45101
45101
|
i.formatter.toggle("tableclass", { value: tn }, En.dom), mh(i, En.dom, Xm);
|
|
45102
45102
|
});
|
|
45103
|
-
},
|
|
45103
|
+
}, ne = (Xe, tn) => {
|
|
45104
45104
|
L((En) => {
|
|
45105
45105
|
const Gn = uu(i), Ta = Wo(Gn, (Tr) => i.formatter.match("tablecellclass", { value: tn }, Tr.dom)) ? i.formatter.remove : i.formatter.apply;
|
|
45106
45106
|
Pe(Gn, (Tr) => Ta("tablecellclass", { value: tn }, Tr.dom)), mh(i, En.dom, Xm);
|
|
@@ -45158,7 +45158,7 @@ Required: ` + m.join(", "));
|
|
|
45158
45158
|
mceTablePasteRowBefore: () => et(m.pasteRowsBefore, rv),
|
|
45159
45159
|
mceTablePasteRowAfter: () => et(m.pasteRowsAfter, rv),
|
|
45160
45160
|
mceTableDelete: v,
|
|
45161
|
-
mceTableCellToggleClass:
|
|
45161
|
+
mceTableCellToggleClass: ne,
|
|
45162
45162
|
mceTableToggleClass: j,
|
|
45163
45163
|
mceTableToggleCaption: fe,
|
|
45164
45164
|
mceTableSizingMode: (Xe, tn) => S(tn),
|
|
@@ -45315,7 +45315,7 @@ Required: ` + m.join(", "));
|
|
|
45315
45315
|
}) }, I2 = (i, m) => {
|
|
45316
45316
|
const h = N2(i, m);
|
|
45317
45317
|
return Op.create(Ae.fromDom(h.startContainer), h.startOffset, Ae.fromDom(h.endContainer), h.endOffset);
|
|
45318
|
-
}, r1 = YC.create, lv = (i, m, h, v, S, O, L) => ns(h, S) && v === O ? pe.none() : Ps(h, "td,th", m).bind((j) => Ps(S, "td,th", m).bind((
|
|
45318
|
+
}, r1 = YC.create, lv = (i, m, h, v, S, O, L) => ns(h, S) && v === O ? pe.none() : Ps(h, "td,th", m).bind((j) => Ps(S, "td,th", m).bind((ne) => Rp(i, m, j, ne, L))), Rp = (i, m, h, v, S) => ns(h, v) ? pe.none() : $u(h, v, m).bind((O) => {
|
|
45319
45319
|
const L = O.boxes.getOr([]);
|
|
45320
45320
|
return L.length > 1 ? (S(i, L, O.start, O.finish), pe.some(Dp.create(pe.some(r1(h, 0, h, Fo(h))), !0))) : pe.none();
|
|
45321
45321
|
}), N3 = (i, m, h, v, S) => {
|
|
@@ -45362,10 +45362,10 @@ Required: ` + m.join(", "));
|
|
|
45362
45362
|
return S.right > v.left && S.left < v.right;
|
|
45363
45363
|
}, I3 = (i) => Ps(i, "tr"), Lr = {
|
|
45364
45364
|
...eg,
|
|
45365
|
-
verify: (i, m, h, v, S, O, L) => Ps(v, "td,th", L).bind((j) => Ps(m, "td,th", L).map((
|
|
45365
|
+
verify: (i, m, h, v, S, O, L) => Ps(v, "td,th", L).bind((j) => Ps(m, "td,th", L).map((ne) => ns(j, ne) ? ns(v, j) && Fo(j) === S ? O(ne) : eg.none("in same cell") : Cs(I3, [
|
|
45366
45366
|
j,
|
|
45367
|
-
|
|
45368
|
-
]).fold(() => iv(i,
|
|
45367
|
+
ne
|
|
45368
|
+
]).fold(() => iv(i, ne, j) ? eg.success() : O(ne), (fe) => O(ne)))).getOr(eg.none("default")),
|
|
45369
45369
|
cata: (i, m, h, v, S) => i.fold(m, h, v, S)
|
|
45370
45370
|
}, bO = (i, m, h, v) => ({
|
|
45371
45371
|
parent: i,
|
|
@@ -45417,7 +45417,7 @@ Required: ` + m.join(", "));
|
|
|
45417
45417
|
adjuster: Rc,
|
|
45418
45418
|
move: Np,
|
|
45419
45419
|
gather: Mp
|
|
45420
|
-
}, Di = (i, m, h) => i.elementFromPoint(m, h).filter((v) => ts(v) === "table").isSome(), ph = (i, m, h, v, S) => j2(i, m, h, m.move(v, Xa), S), j2 = (i, m, h, v, S) => S === 0 ? pe.some(v) : Di(i, v.left, m.point(v)) ? ph(i, m, h, v, S - 1) : i.situsFromPoint(v.left, m.point(v)).bind((O) => O.start.fold(pe.none, (L) => Z2(i, L).bind((j) => m.adjuster(i, L, j, h, v).fold(pe.none, (
|
|
45420
|
+
}, Di = (i, m, h) => i.elementFromPoint(m, h).filter((v) => ts(v) === "table").isSome(), ph = (i, m, h, v, S) => j2(i, m, h, m.move(v, Xa), S), j2 = (i, m, h, v, S) => S === 0 ? pe.some(v) : Di(i, v.left, m.point(v)) ? ph(i, m, h, v, S - 1) : i.situsFromPoint(v.left, m.point(v)).bind((O) => O.start.fold(pe.none, (L) => Z2(i, L).bind((j) => m.adjuster(i, L, j, h, v).fold(pe.none, (ne) => j2(i, m, h, ne, S - 1))).orThunk(() => pe.some(v)), pe.none)), H3 = (i, m, h) => i.point(m) > h.getInnerHeight() ? pe.some(i.point(m) - h.getInnerHeight()) : i.point(m) < 0 ? pe.some(-i.point(m)) : pe.none(), n_ = (i, m, h) => {
|
|
45421
45421
|
const v = i.move(h, Xa), S = j2(m, i, h, v, ef).getOr(v);
|
|
45422
45422
|
return H3(i, S, m).fold(() => m.situsFromPoint(S.left, i.point(S)), (O) => (m.scrollBy(0, O), m.situsFromPoint(S.left, i.point(S) - O)));
|
|
45423
45423
|
}, d1 = {
|
|
@@ -45428,14 +45428,14 @@ Required: ` + m.join(", "));
|
|
|
45428
45428
|
const O = i.fromSitus(S), L = Lr.verify(i, v.finish, v.foffset, O.finish, O.foffset, h.failure, m);
|
|
45429
45429
|
return W2(L);
|
|
45430
45430
|
})), fv = (i, m, h, v, S, O) => O === 0 ? pe.none() : z3(i, m, h, v, S).bind((L) => {
|
|
45431
|
-
const j = i.fromSitus(L),
|
|
45432
|
-
return Lr.cata(
|
|
45431
|
+
const j = i.fromSitus(L), ne = Lr.verify(i, h, v, j.finish, j.foffset, S.failure, m);
|
|
45432
|
+
return Lr.cata(ne, () => pe.none(), () => pe.some(L), (fe) => ns(h, fe) && v === 0 ? V3(i, h, v, hh, S) : fv(i, m, fe, 0, S, O - 1), (fe) => ns(h, fe) && v === Fo(fe) ? V3(i, h, v, Np, S) : fv(i, m, fe, Fo(fe), S, O - 1));
|
|
45433
45433
|
}), V3 = (i, m, h, v, S) => tm(i, m, h).bind((O) => s_(i, S, v(O, d1.getJumpSize()))), s_ = (i, m, h) => {
|
|
45434
45434
|
const v = ed().browser;
|
|
45435
45435
|
return v.isChromium() || v.isSafari() || v.isFirefox() ? m.retry(i, h) : pe.none();
|
|
45436
|
-
}, z3 = (i, m, h, v, S) => tm(i, h, v).bind((O) => s_(i, S, O)), vO = (i, m, h) => m1(i, m, h).bind((v) => fv(i, m, v.element, v.offset, h, o_).map(i.fromSitus)), r_ = (i, m) => QC(i, (h) => Wa(h).exists((v) => ns(v, m))), So = (i, m, h, v, S) => Ps(v, "td,th", m).bind((O) => Ps(O, "table", m).bind((L) => r_(S, L) ? vO(i, m, h).bind((j) => Ps(j.finish, "td,th", m).map((
|
|
45436
|
+
}, z3 = (i, m, h, v, S) => tm(i, h, v).bind((O) => s_(i, S, O)), vO = (i, m, h) => m1(i, m, h).bind((v) => fv(i, m, v.element, v.offset, h, o_).map(i.fromSitus)), r_ = (i, m) => QC(i, (h) => Wa(h).exists((v) => ns(v, m))), So = (i, m, h, v, S) => Ps(v, "td,th", m).bind((O) => Ps(O, "table", m).bind((L) => r_(S, L) ? vO(i, m, h).bind((j) => Ps(j.finish, "td,th", m).map((ne) => ({
|
|
45437
45437
|
start: O,
|
|
45438
|
-
finish:
|
|
45438
|
+
finish: ne,
|
|
45439
45439
|
range: j
|
|
45440
45440
|
}))) : pe.none())), pd = (i, m, h, v, S, O) => O(v, m).orThunk(() => So(i, m, h, v, S).map((L) => {
|
|
45441
45441
|
const j = L.range;
|
|
@@ -45697,8 +45697,8 @@ Required: ` + m.join(", "));
|
|
|
45697
45697
|
}, _v = (i) => Za(i, pn).exists(If), v1 = (i, m) => _v(i) || _v(m), Sv = (i, m, h, v) => {
|
|
45698
45698
|
const S = Up(i), O = () => (v.clear(m), pe.none());
|
|
45699
45699
|
return {
|
|
45700
|
-
keydown: (
|
|
45701
|
-
const et =
|
|
45700
|
+
keydown: (ne, fe, De, at, Bt, Pt) => {
|
|
45701
|
+
const et = ne.raw, Lt = et.which, Xe = et.shiftKey === !0;
|
|
45702
45702
|
return Wm(m, v.selectedSelector).fold(() => (vh(Lt) && !Xe && v.clearBeforeUpdate(m), vh(Lt) && Xe && !v1(fe, at) ? pe.none : bv(Lt) && Xe ? oo(a_, S, m, h, hv, at, fe, v.selectRange) : pv(Lt) && Xe ? oo(a_, S, m, h, Hp, at, fe, v.selectRange) : bv(Lt) ? oo(pd, S, h, hv, at, fe, G2) : pv(Lt) ? oo(pd, S, h, Hp, at, fe, bh) : pe.none), (En) => {
|
|
45703
45703
|
const Gn = (qs) => () => qo(qs, (Tr) => N3(Tr.rows, Tr.cols, m, En, v)).fold(() => oh(m, v.firstSelectedSelector, v.lastSelectedSelector).map((Tr) => {
|
|
45704
45704
|
const Mc = bv(Lt) || Pt.isForward(Lt) ? Ya.after : Ya.before;
|
|
@@ -45713,8 +45713,8 @@ Required: ` + m.join(", "));
|
|
|
45713
45713
|
]) : vh(Lt) && !Xe ? O : pe.none;
|
|
45714
45714
|
})();
|
|
45715
45715
|
},
|
|
45716
|
-
keyup: (
|
|
45717
|
-
const Pt =
|
|
45716
|
+
keyup: (ne, fe, De, at, Bt) => Wm(m, v.selectedSelector).fold(() => {
|
|
45717
|
+
const Pt = ne.raw, et = Pt.which;
|
|
45718
45718
|
return Pt.shiftKey === !0 && vh(et) && v1(fe, at) ? lv(m, h, fe, De, at, Bt, v.selectRange) : pe.none();
|
|
45719
45719
|
}, pe.none)
|
|
45720
45720
|
};
|
|
@@ -45722,8 +45722,8 @@ Required: ` + m.join(", "));
|
|
|
45722
45722
|
const S = Up(i);
|
|
45723
45723
|
return (O, L) => {
|
|
45724
45724
|
v.clearBeforeUpdate(m), $u(O, L, h).each((j) => {
|
|
45725
|
-
const
|
|
45726
|
-
v.selectRange(m,
|
|
45725
|
+
const ne = j.boxes.getOr([]);
|
|
45726
|
+
v.selectRange(m, ne, j.start, j.finish), S.selectContents(L), S.collapseSelection();
|
|
45727
45727
|
});
|
|
45728
45728
|
};
|
|
45729
45729
|
}, w1 = (i, m) => {
|
|
@@ -45762,8 +45762,8 @@ Required: ` + m.join(", "));
|
|
|
45762
45762
|
return {
|
|
45763
45763
|
clearBeforeUpdate: v,
|
|
45764
45764
|
clear: v,
|
|
45765
|
-
selectRange: (O, L, j,
|
|
45766
|
-
v(O), Pe(L, m), fu(j, i.firstSelected), fu(
|
|
45765
|
+
selectRange: (O, L, j, ne) => {
|
|
45766
|
+
v(O), Pe(L, m), fu(j, i.firstSelected), fu(ne, i.lastSelected);
|
|
45767
45767
|
},
|
|
45768
45768
|
selectedSelector: i.selectedSelector,
|
|
45769
45769
|
firstSelectedSelector: i.firstSelectedSelector,
|
|
@@ -45771,21 +45771,21 @@ Required: ` + m.join(", "));
|
|
|
45771
45771
|
};
|
|
45772
45772
|
},
|
|
45773
45773
|
byAttr: (i, m, h) => {
|
|
45774
|
-
const v = (
|
|
45775
|
-
Fs(
|
|
45776
|
-
}, S = (
|
|
45777
|
-
Zs(
|
|
45778
|
-
}, O = (
|
|
45779
|
-
L(
|
|
45780
|
-
}, L = (
|
|
45781
|
-
const fe = Ms(
|
|
45774
|
+
const v = (ne) => {
|
|
45775
|
+
Fs(ne, i.selected), Fs(ne, i.firstSelected), Fs(ne, i.lastSelected);
|
|
45776
|
+
}, S = (ne) => {
|
|
45777
|
+
Zs(ne, i.selected, "1");
|
|
45778
|
+
}, O = (ne) => {
|
|
45779
|
+
L(ne), h();
|
|
45780
|
+
}, L = (ne) => {
|
|
45781
|
+
const fe = Ms(ne, `${i.selectedSelector},${i.firstSelectedSelector},${i.lastSelectedSelector}`);
|
|
45782
45782
|
Pe(fe, v);
|
|
45783
45783
|
};
|
|
45784
45784
|
return {
|
|
45785
45785
|
clearBeforeUpdate: L,
|
|
45786
45786
|
clear: O,
|
|
45787
|
-
selectRange: (
|
|
45788
|
-
O(
|
|
45787
|
+
selectRange: (ne, fe, De, at) => {
|
|
45788
|
+
O(ne), Pe(fe, S), Zs(De, i.firstSelected, "1"), Zs(at, i.lastSelected, "1"), m(fe, De, at);
|
|
45789
45789
|
},
|
|
45790
45790
|
selectedSelector: i.selectedSelector,
|
|
45791
45791
|
firstSelectedSelector: i.firstSelectedSelector,
|
|
@@ -45822,9 +45822,9 @@ Required: ` + m.join(", "));
|
|
|
45822
45822
|
}, sf = (i, m, h) => {
|
|
45823
45823
|
const v = Yn.fromTable(i);
|
|
45824
45824
|
return zf(v, m).map((O) => {
|
|
45825
|
-
const L = up(v, h, !1), { rows: j } = Mr(L),
|
|
45825
|
+
const L = up(v, h, !1), { rows: j } = Mr(L), ne = Tv(j, O), fe = _s(j, O);
|
|
45826
45826
|
return {
|
|
45827
|
-
upOrLeftCells:
|
|
45827
|
+
upOrLeftCells: ne,
|
|
45828
45828
|
downOrRightCells: fe
|
|
45829
45829
|
};
|
|
45830
45830
|
});
|
|
@@ -45847,13 +45847,13 @@ Required: ` + m.join(", "));
|
|
|
45847
45847
|
}, sw = (i, m, h, v) => yh(i, m, h, v, !1), rw = (i, m, h, v) => {
|
|
45848
45848
|
i.dom.removeEventListener(m, h, v);
|
|
45849
45849
|
}, J3 = Ze, Zp = (i, m, h) => sw(i, m, J3, h), jp = nw, aw = (i) => !$c(Ae.fromDom(i.target), "ephox-snooker-resizer-bar"), lw = (i, m) => {
|
|
45850
|
-
const h = tw(() => Ae.fromDom(i.getBody()), () => F0(Si(i), Ud(i)), sh.selectedSelector), v = (
|
|
45850
|
+
const h = tw(() => Ae.fromDom(i.getBody()), () => F0(Si(i), Ud(i)), sh.selectedSelector), v = (ne, fe, De) => {
|
|
45851
45851
|
rl(fe).each((Bt) => {
|
|
45852
45852
|
const Pt = Vm(i), et = wa(Ot, Ae.fromDom(i.getDoc()), Pt), Lt = uu(i), Xe = sf(Bt, { selection: Lt }, et);
|
|
45853
|
-
l3(i,
|
|
45853
|
+
l3(i, ne, fe, De, Xe);
|
|
45854
45854
|
});
|
|
45855
45855
|
}, S = () => c3(i), O = of.byAttr(sh, v, S);
|
|
45856
|
-
return i.on("init", (
|
|
45856
|
+
return i.on("init", (ne) => {
|
|
45857
45857
|
const fe = i.getWin(), De = Cb(i), at = Ud(i), Bt = () => {
|
|
45858
45858
|
const ms = i.selection, ec = Ae.fromDom(ms.getStart()), pl = Ae.fromDom(ms.getEnd());
|
|
45859
45859
|
Cs(rl, [
|
|
@@ -45905,8 +45905,8 @@ Required: ` + m.join(", "));
|
|
|
45905
45905
|
}), i.on("PreInit", () => {
|
|
45906
45906
|
i.serializer.addTempAttr(sh.firstSelected), i.serializer.addTempAttr(sh.lastSelected);
|
|
45907
45907
|
}), {
|
|
45908
|
-
getSelectedCells: () => S1(h.get(), he([]), (
|
|
45909
|
-
clearSelectedCells: (
|
|
45908
|
+
getSelectedCells: () => S1(h.get(), he([]), (ne) => _t(ne, (fe) => fe.dom), (ne) => [ne.dom]),
|
|
45909
|
+
clearSelectedCells: (ne) => O.clear(Ae.fromDom(ne))
|
|
45910
45910
|
};
|
|
45911
45911
|
}, Fu = (i) => {
|
|
45912
45912
|
let m = [];
|
|
@@ -45921,8 +45921,8 @@ Required: ` + m.join(", "));
|
|
|
45921
45921
|
},
|
|
45922
45922
|
trigger: (...O) => {
|
|
45923
45923
|
const L = {};
|
|
45924
|
-
Pe(i, (j,
|
|
45925
|
-
L[j] = O[
|
|
45924
|
+
Pe(i, (j, ne) => {
|
|
45925
|
+
L[j] = O[ne];
|
|
45926
45926
|
}), Pe(m, (j) => {
|
|
45927
45927
|
j(L);
|
|
45928
45928
|
});
|
|
@@ -46003,11 +46003,11 @@ Required: ` + m.join(", "));
|
|
|
46003
46003
|
const m = () => {
|
|
46004
46004
|
i = pe.none();
|
|
46005
46005
|
}, h = (O, L) => {
|
|
46006
|
-
const j = i.map((
|
|
46006
|
+
const j = i.map((ne) => O.compare(ne, L));
|
|
46007
46007
|
return i = pe.some(L), j;
|
|
46008
46008
|
}, v = (O, L) => {
|
|
46009
|
-
L.extract(O).each((
|
|
46010
|
-
h(L,
|
|
46009
|
+
L.extract(O).each((ne) => {
|
|
46010
|
+
h(L, ne).each((De) => {
|
|
46011
46011
|
S.trigger.move(De);
|
|
46012
46012
|
});
|
|
46013
46013
|
});
|
|
@@ -46035,8 +46035,8 @@ Required: ` + m.join(", "));
|
|
|
46035
46035
|
h.reset(), h = i;
|
|
46036
46036
|
},
|
|
46037
46037
|
isOn: () => h === m,
|
|
46038
|
-
onEvent: (j,
|
|
46039
|
-
h.onEvent(j,
|
|
46038
|
+
onEvent: (j, ne) => {
|
|
46039
|
+
h.onEvent(j, ne);
|
|
46040
46040
|
},
|
|
46041
46041
|
events: m.events
|
|
46042
46042
|
};
|
|
@@ -46047,7 +46047,7 @@ Required: ` + m.join(", "));
|
|
|
46047
46047
|
stop: Fu([])
|
|
46048
46048
|
}), O = sT(), L = () => {
|
|
46049
46049
|
et.stop(), O.isOn() && (O.off(), S.trigger.stop());
|
|
46050
|
-
}, j = Q3(L, 200),
|
|
46050
|
+
}, j = Q3(L, 200), ne = (Xe) => {
|
|
46051
46051
|
et.start(Xe), O.on(), S.trigger.start();
|
|
46052
46052
|
}, fe = (Xe) => {
|
|
46053
46053
|
j.cancel(), O.onEvent(Xe, m);
|
|
@@ -46071,7 +46071,7 @@ Required: ` + m.join(", "));
|
|
|
46071
46071
|
};
|
|
46072
46072
|
return {
|
|
46073
46073
|
element: et.element,
|
|
46074
|
-
go:
|
|
46074
|
+
go: ne,
|
|
46075
46075
|
on: De,
|
|
46076
46076
|
off: at,
|
|
46077
46077
|
isActive: Bt,
|
|
@@ -46105,14 +46105,14 @@ Required: ` + m.join(", "));
|
|
|
46105
46105
|
sink: (i, m) => {
|
|
46106
46106
|
const h = E1(m), v = Zp(h.element(), "mousedown", i.forceDrop), S = Zp(h.element(), "mouseup", i.drop), O = Zp(h.element(), "mousemove", i.move), L = Zp(h.element(), "mouseout", i.delayDrop), j = () => {
|
|
46107
46107
|
h.destroy(), S.unbind(), O.unbind(), L.unbind(), v.unbind();
|
|
46108
|
-
},
|
|
46108
|
+
}, ne = (De) => {
|
|
46109
46109
|
os(De, h.element());
|
|
46110
46110
|
}, fe = () => {
|
|
46111
46111
|
ar(h.element());
|
|
46112
46112
|
};
|
|
46113
46113
|
return iw({
|
|
46114
46114
|
element: h.element,
|
|
46115
|
-
start:
|
|
46115
|
+
start: ne,
|
|
46116
46116
|
stop: fe,
|
|
46117
46117
|
destroy: j
|
|
46118
46118
|
});
|
|
@@ -46214,7 +46214,7 @@ Required: ` + m.join(", "));
|
|
|
46214
46214
|
return fu(L, uw), L;
|
|
46215
46215
|
});
|
|
46216
46216
|
}, mT = (i, m, h, v, S) => {
|
|
46217
|
-
const O = Jt(h), L = m.isResizable, j = v.length > 0 ? qt.positions(v, h) : [],
|
|
46217
|
+
const O = Jt(h), L = m.isResizable, j = v.length > 0 ? qt.positions(v, h) : [], ne = j.length > 0 ? iT(i, L) : [], fe = ho(j, (Pt, et) => ot(ne, (Lt) => et === Lt));
|
|
46218
46218
|
dT(m, fe, O, Ci(h));
|
|
46219
46219
|
const De = S.length > 0 ? Pr.positions(S, h) : [], at = De.length > 0 ? uT(i, L) : [], Bt = ho(De, (Pt, et) => ot(at, (Lt) => et === Lt));
|
|
46220
46220
|
E_(m, Bt, O, _(h));
|
|
@@ -46268,7 +46268,7 @@ Required: ` + m.join(", "));
|
|
|
46268
46268
|
Pt.trigger.startAdjust(), m.assign(et), Zs(et, "data-initial-" + Lt, Zr(et, Lt)), fu(et, om), Gs(et, "opacity", "0.2"), h.go(i.parent());
|
|
46269
46269
|
}, j = Zp(i.parent(), "mousedown", (et) => {
|
|
46270
46270
|
fT(et.target) && L(et.target, "top"), af(et.target) && L(et.target, "left");
|
|
46271
|
-
}),
|
|
46271
|
+
}), ne = (et) => ns(et, i.view()), fe = (et) => Ps(et, "table", ne).filter(If), De = Zp(i.view(), "mouseover", (et) => {
|
|
46272
46272
|
fe(et.target).fold(() => {
|
|
46273
46273
|
js(et.target) && Gp(i);
|
|
46274
46274
|
}, (Lt) => {
|
|
@@ -46313,17 +46313,17 @@ Required: ` + m.join(", "));
|
|
|
46313
46313
|
startDrag: Fu([])
|
|
46314
46314
|
});
|
|
46315
46315
|
return O.events.adjustHeight.bind((j) => {
|
|
46316
|
-
const
|
|
46317
|
-
L.trigger.beforeResize(
|
|
46318
|
-
const fe = v.delta(j.delta,
|
|
46319
|
-
t2(
|
|
46316
|
+
const ne = j.table;
|
|
46317
|
+
L.trigger.beforeResize(ne, "row");
|
|
46318
|
+
const fe = v.delta(j.delta, ne);
|
|
46319
|
+
t2(ne, fe, j.row, v), L.trigger.afterResize(ne, "row");
|
|
46320
46320
|
}), O.events.startAdjust.bind((j) => {
|
|
46321
46321
|
L.trigger.startDrag();
|
|
46322
46322
|
}), O.events.adjustWidth.bind((j) => {
|
|
46323
|
-
const
|
|
46324
|
-
L.trigger.beforeResize(
|
|
46325
|
-
const fe = S.delta(j.delta,
|
|
46326
|
-
W0(
|
|
46323
|
+
const ne = j.table;
|
|
46324
|
+
L.trigger.beforeResize(ne, "col");
|
|
46325
|
+
const fe = S.delta(j.delta, ne), De = h(ne);
|
|
46326
|
+
W0(ne, fe, j.column, m, De), L.trigger.afterResize(ne, "col");
|
|
46327
46327
|
}), {
|
|
46328
46328
|
on: O.on,
|
|
46329
46329
|
off: O.off,
|
|
@@ -46379,11 +46379,11 @@ Required: ` + m.join(", "));
|
|
|
46379
46379
|
}, Kp = (i) => {
|
|
46380
46380
|
const m = Fp(), h = Fp(), v = Fp();
|
|
46381
46381
|
let S, O;
|
|
46382
|
-
const L = (et) => Jl(i, et), j = () => Jx(i) ? Gy() : aC(),
|
|
46382
|
+
const L = (et) => Jl(i, et), j = () => Jx(i) ? Gy() : aC(), ne = (et) => ap(et).columns, fe = (et, Lt, Xe) => {
|
|
46383
46383
|
const tn = eu(Lt, "e");
|
|
46384
46384
|
if (O === "" && du(et), Xe !== S && O !== "") {
|
|
46385
46385
|
Gs(et, "width", O);
|
|
46386
|
-
const En = j(), Gn = L(et), qs = Jx(i) || tn ?
|
|
46386
|
+
const En = j(), Gn = L(et), qs = Jx(i) || tn ? ne(et) - 1 : 0;
|
|
46387
46387
|
W0(et, Xe - S, qs, En, Gn);
|
|
46388
46388
|
} else if (_b(O)) {
|
|
46389
46389
|
const En = parseFloat(O.replace("%", "")), Gn = Xe * En / S;
|
|
@@ -46463,13 +46463,13 @@ Required: ` + m.join(", "));
|
|
|
46463
46463
|
})();
|
|
46464
46464
|
(function() {
|
|
46465
46465
|
var A = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
|
46466
|
-
const
|
|
46466
|
+
const te = (_, M, U) => {
|
|
46467
46467
|
var ce;
|
|
46468
46468
|
return U(_, M.prototype) ? !0 : ((ce = _.constructor) === null || ce === void 0 ? void 0 : ce.name) === M.name;
|
|
46469
46469
|
}, G = (_) => {
|
|
46470
46470
|
const M = typeof _;
|
|
46471
|
-
return _ === null ? "null" : M === "object" && Array.isArray(_) ? "array" : M === "object" &&
|
|
46472
|
-
}, _e = (_) => (M) => G(M) === _,
|
|
46471
|
+
return _ === null ? "null" : M === "object" && Array.isArray(_) ? "array" : M === "object" && te(_, String, (U, ce) => ce.isPrototypeOf(U)) ? "string" : M;
|
|
46472
|
+
}, _e = (_) => (M) => G(M) === _, oe = (_) => (M) => typeof M === _, Z = _e("string"), xe = _e("object"), K = _e("array"), $e = oe("boolean"), lt = (_) => _ == null, yt = (_) => !lt(_), hn = oe("function"), Et = oe("number"), io = () => {
|
|
46473
46473
|
}, lo = (_, M) => (U) => _(M(U)), eo = (_) => () => _, Ot = (_, M) => _ === M;
|
|
46474
46474
|
function Ls(_, ...M) {
|
|
46475
46475
|
return (...U) => {
|
|
@@ -47611,13 +47611,13 @@ Required: ` + m.join(", "));
|
|
|
47611
47611
|
})();
|
|
47612
47612
|
(function() {
|
|
47613
47613
|
var A = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
|
47614
|
-
const
|
|
47614
|
+
const te = (q, ge, Ee) => {
|
|
47615
47615
|
var Ie;
|
|
47616
47616
|
return Ee(q, ge.prototype) ? !0 : ((Ie = q.constructor) === null || Ie === void 0 ? void 0 : Ie.name) === ge.name;
|
|
47617
47617
|
}, G = (q) => {
|
|
47618
47618
|
const ge = typeof q;
|
|
47619
|
-
return q === null ? "null" : ge === "object" && Array.isArray(q) ? "array" : ge === "object" &&
|
|
47620
|
-
}, _e = (q) => (ge) => G(ge) === q,
|
|
47619
|
+
return q === null ? "null" : ge === "object" && Array.isArray(q) ? "array" : ge === "object" && te(q, String, (Ee, Ie) => Ie.isPrototypeOf(Ee)) ? "string" : ge;
|
|
47620
|
+
}, _e = (q) => (ge) => G(ge) === q, oe = (q) => (ge) => typeof ge === q, Z = (q) => (ge) => q === ge, xe = _e("string"), K = _e("object"), $e = _e("array"), lt = Z(null), yt = oe("boolean"), hn = (q) => q == null, Et = (q) => !hn(q), io = oe("function"), lo = (q, ge) => {
|
|
47621
47621
|
if ($e(q)) {
|
|
47622
47622
|
for (let Ee = 0, Ie = q.length; Ee < Ie; ++Ee)
|
|
47623
47623
|
if (!ge(q[Ee]))
|
|
@@ -48368,13 +48368,13 @@ Required: ` + m.join(", "));
|
|
|
48368
48368
|
})();
|
|
48369
48369
|
(function() {
|
|
48370
48370
|
var A = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
|
48371
|
-
const
|
|
48371
|
+
const te = Object.getPrototypeOf, G = (I, J, le) => {
|
|
48372
48372
|
var Fe;
|
|
48373
48373
|
return le(I, J.prototype) ? !0 : ((Fe = I.constructor) === null || Fe === void 0 ? void 0 : Fe.name) === J.name;
|
|
48374
48374
|
}, _e = (I) => {
|
|
48375
48375
|
const J = typeof I;
|
|
48376
48376
|
return I === null ? "null" : J === "object" && Array.isArray(I) ? "array" : J === "object" && G(I, String, (le, Fe) => Fe.isPrototypeOf(le)) ? "string" : J;
|
|
48377
|
-
},
|
|
48377
|
+
}, oe = (I) => (J) => _e(J) === I, Z = (I) => (J) => typeof J === I, xe = (I) => (J) => I === J, K = (I, J) => lt(I) && G(I, J, (le, Fe) => te(le) === Fe), $e = oe("string"), lt = oe("object"), yt = (I) => K(I, Object), hn = oe("array"), Et = xe(null), io = Z("boolean"), lo = (I) => I == null, eo = (I) => !lo(I), Ot = Z("function"), Ls = Z("number"), un = (I, J) => {
|
|
48378
48378
|
if (hn(I)) {
|
|
48379
48379
|
for (let le = 0, Fe = I.length; le < Fe; ++le)
|
|
48380
48380
|
if (!J(I[le]))
|
|
@@ -49237,13 +49237,13 @@ Required: ` + m.join(", "));
|
|
|
49237
49237
|
})();
|
|
49238
49238
|
(function() {
|
|
49239
49239
|
var A = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
|
49240
|
-
const
|
|
49240
|
+
const te = (x, T, V) => {
|
|
49241
49241
|
var X;
|
|
49242
49242
|
return V(x, T.prototype) ? !0 : ((X = x.constructor) === null || X === void 0 ? void 0 : X.name) === T.name;
|
|
49243
49243
|
}, G = (x) => {
|
|
49244
49244
|
const T = typeof x;
|
|
49245
|
-
return x === null ? "null" : T === "object" && Array.isArray(x) ? "array" : T === "object" &&
|
|
49246
|
-
}, _e = (x) => (T) => G(T) === x,
|
|
49245
|
+
return x === null ? "null" : T === "object" && Array.isArray(x) ? "array" : T === "object" && te(x, String, (V, X) => X.isPrototypeOf(V)) ? "string" : T;
|
|
49246
|
+
}, _e = (x) => (T) => G(T) === x, oe = (x) => (T) => typeof T === x, Z = (x) => (T) => x === T, xe = _e("string"), K = _e("array"), $e = oe("boolean"), lt = Z(void 0), yt = (x) => x == null, hn = (x) => !yt(x), Et = oe("function"), io = oe("number"), lo = () => {
|
|
49247
49247
|
}, eo = (x, T) => (V) => x(T(V)), Ot = (x) => () => x, Ls = (x) => x, un = (x, T) => x === T;
|
|
49248
49248
|
function he(x, ...T) {
|
|
49249
49249
|
return (...V) => {
|
|
@@ -51402,7 +51402,7 @@ Required: ` + T.join(", "));
|
|
|
51402
51402
|
})();
|
|
51403
51403
|
(function() {
|
|
51404
51404
|
var A = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
|
51405
|
-
const
|
|
51405
|
+
const te = (K, $e) => {
|
|
51406
51406
|
K.focus(), K.undoManager.transact(() => {
|
|
51407
51407
|
K.setContent($e);
|
|
51408
51408
|
}), K.selection.setCursorLocation(), K.nodeChanged();
|
|
@@ -51433,10 +51433,10 @@ Required: ` + T.join(", "));
|
|
|
51433
51433
|
],
|
|
51434
51434
|
initialData: { code: $e },
|
|
51435
51435
|
onSubmit: (lt) => {
|
|
51436
|
-
|
|
51436
|
+
te(K, lt.getData().code), lt.close();
|
|
51437
51437
|
}
|
|
51438
51438
|
});
|
|
51439
|
-
},
|
|
51439
|
+
}, oe = (K) => {
|
|
51440
51440
|
K.addCommand("mceCodeEditor", () => {
|
|
51441
51441
|
_e(K);
|
|
51442
51442
|
});
|
|
@@ -51453,13 +51453,13 @@ Required: ` + T.join(", "));
|
|
|
51453
51453
|
});
|
|
51454
51454
|
};
|
|
51455
51455
|
var xe = () => {
|
|
51456
|
-
A.add("code", (K) => (
|
|
51456
|
+
A.add("code", (K) => (oe(K), Z(K), {}));
|
|
51457
51457
|
};
|
|
51458
51458
|
xe();
|
|
51459
51459
|
})();
|
|
51460
51460
|
(function() {
|
|
51461
51461
|
var A = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
|
51462
|
-
const G = ((Ke) => (Rt) => Ke === Rt)(null), _e = (Ke) => Ke,
|
|
51462
|
+
const G = ((Ke) => (Rt) => Ke === Rt)(null), _e = (Ke) => Ke, oe = (Ke, Rt) => {
|
|
51463
51463
|
const Ye = Ke.length, Te = new Array(Ye);
|
|
51464
51464
|
for (let wn = 0; wn < Ye; wn++) {
|
|
51465
51465
|
const qo = Ke[wn];
|
|
@@ -51532,7 +51532,7 @@ Required: ` + T.join(", "));
|
|
|
51532
51532
|
};
|
|
51533
51533
|
}, Ot = (Ke) => {
|
|
51534
51534
|
const Rt = eo(lo);
|
|
51535
|
-
return
|
|
51535
|
+
return oe(Ke, Rt);
|
|
51536
51536
|
}, Ls = (Ke, Rt) => {
|
|
51537
51537
|
const Ye = Ke[Rt], Te = Ke[Rt + 1];
|
|
51538
51538
|
if (Rt < 0 || Rt > Ke.length - 1 && Rt !== 0 || Ye === K.ALETTER && Te === K.ALETTER)
|
|
@@ -51581,7 +51581,7 @@ Required: ` + T.join(", "));
|
|
|
51581
51581
|
...ss(),
|
|
51582
51582
|
...Ye
|
|
51583
51583
|
};
|
|
51584
|
-
const Te =
|
|
51584
|
+
const Te = oe(Ke, Rt), wn = Ot(Te);
|
|
51585
51585
|
return Nn(Ke, Te, wn, Ye);
|
|
51586
51586
|
}, pe = (Ke, Rt, Ye) => In(Ke, Rt, Ye).words, Xt = (Ke) => Ke.replace(/\uFEFF/g, "");
|
|
51587
51587
|
var Cn = tinymce.util.Tools.resolve("tinymce.dom.TreeWalker");
|
|
@@ -51706,7 +51706,7 @@ Required: ` + T.join(", "));
|
|
|
51706
51706
|
};
|
|
51707
51707
|
ji();
|
|
51708
51708
|
})();
|
|
51709
|
-
const fte = { class: "font-bold ptext-lg dark:text-white" }, gte = ["id"], hte = /* @__PURE__ */ R("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), pte = ["for"], bte = ["name", "id", "type"], vte = { class: "gl-span-form-error" }, yte = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" },
|
|
51709
|
+
const fte = { class: "font-bold ptext-lg dark:text-white" }, gte = ["id"], hte = /* @__PURE__ */ R("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), pte = ["for"], bte = ["name", "id", "type"], vte = { class: "gl-span-form-error" }, yte = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, Kce = {
|
|
51710
51710
|
__name: "GlTinymce",
|
|
51711
51711
|
props: {
|
|
51712
51712
|
is_required: { type: Boolean, default: !1 },
|
|
@@ -51720,8 +51720,8 @@ const fte = { class: "font-bold ptext-lg dark:text-white" }, gte = ["id"], hte =
|
|
|
51720
51720
|
description: { type: String, default: "" }
|
|
51721
51721
|
},
|
|
51722
51722
|
emits: ["update:modelValue", "keydown"],
|
|
51723
|
-
setup(A, { expose:
|
|
51724
|
-
const _e = A,
|
|
51723
|
+
setup(A, { expose: te, emit: G }) {
|
|
51724
|
+
const _e = A, oe = G, Z = co(null);
|
|
51725
51725
|
let xe = null;
|
|
51726
51726
|
Og(async () => {
|
|
51727
51727
|
await Pj(), xe && (xe.destroy(), xe = null), mte.init({
|
|
@@ -51740,7 +51740,7 @@ const fte = { class: "font-bold ptext-lg dark:text-white" }, gte = ["id"], hte =
|
|
|
51740
51740
|
// disable import of css
|
|
51741
51741
|
setup(lt) {
|
|
51742
51742
|
xe = lt, lt.on("Change", () => {
|
|
51743
|
-
|
|
51743
|
+
oe("update:modelValue", lt.getContent());
|
|
51744
51744
|
}), lt.on("init", () => {
|
|
51745
51745
|
lt.setContent(_e.modelValue);
|
|
51746
51746
|
});
|
|
@@ -51756,10 +51756,10 @@ const fte = { class: "font-bold ptext-lg dark:text-white" }, gte = ["id"], hte =
|
|
|
51756
51756
|
return _e.modelValue;
|
|
51757
51757
|
},
|
|
51758
51758
|
set(lt) {
|
|
51759
|
-
|
|
51759
|
+
oe("update:modelValue", lt);
|
|
51760
51760
|
}
|
|
51761
51761
|
});
|
|
51762
|
-
return
|
|
51762
|
+
return te({ focus: () => Z.value.focus() }), (lt, yt) => (ue(), de(jn, null, [
|
|
51763
51763
|
A.show ? (ue(), de("div", {
|
|
51764
51764
|
key: 0,
|
|
51765
51765
|
class: zt(A.field_name)
|
|
@@ -51856,8 +51856,8 @@ const fte = { class: "font-bold ptext-lg dark:text-white" }, gte = ["id"], hte =
|
|
|
51856
51856
|
return 0;
|
|
51857
51857
|
if (this.limit === 0)
|
|
51858
51858
|
return this.lastPage;
|
|
51859
|
-
for (var A = this.currentPage,
|
|
51860
|
-
($e === 1 || $e ===
|
|
51859
|
+
for (var A = this.currentPage, te = this.lastPage, G = this.limit, _e = A - G, oe = A + G + 1, Z = [], xe = [], K, $e = 1; $e <= te; $e++)
|
|
51860
|
+
($e === 1 || $e === te || $e >= _e && $e < oe) && Z.push($e);
|
|
51861
51861
|
return Z.forEach(function(lt) {
|
|
51862
51862
|
K && (lt - K === 2 ? xe.push(K + 1) : lt - K !== 1 && xe.push("...")), xe.push(lt), K = lt;
|
|
51863
51863
|
}), xe;
|
|
@@ -51903,8 +51903,8 @@ const fte = { class: "font-bold ptext-lg dark:text-white" }, gte = ["id"], hte =
|
|
|
51903
51903
|
}
|
|
51904
51904
|
},
|
|
51905
51905
|
pageButtonEvents: (A) => ({
|
|
51906
|
-
click: (
|
|
51907
|
-
|
|
51906
|
+
click: (te) => {
|
|
51907
|
+
te.preventDefault(), this.selectPage(A);
|
|
51908
51908
|
}
|
|
51909
51909
|
})
|
|
51910
51910
|
});
|
|
@@ -51982,7 +51982,7 @@ const fte = { class: "font-bold ptext-lg dark:text-white" }, gte = ["id"], hte =
|
|
|
51982
51982
|
d: "m1 9 4-4-4-4"
|
|
51983
51983
|
})
|
|
51984
51984
|
], -1);
|
|
51985
|
-
function Pte(A,
|
|
51985
|
+
function Pte(A, te, G, _e, oe, Z) {
|
|
51986
51986
|
const xe = Rd("RenderlessPagination");
|
|
51987
51987
|
return ue(), ju(xe, {
|
|
51988
51988
|
data: G.data,
|
|
@@ -52093,8 +52093,8 @@ const iq = /* @__PURE__ */ zr(xte, [["render", Pte]]), Bte = {
|
|
|
52093
52093
|
default: !1
|
|
52094
52094
|
}
|
|
52095
52095
|
},
|
|
52096
|
-
setup(A, { expose:
|
|
52097
|
-
const G = co(""), _e = co(""),
|
|
52096
|
+
setup(A, { expose: te }) {
|
|
52097
|
+
const G = co(""), _e = co(""), oe = co(""), Z = co("Cancel"), xe = co(!1), K = co(!1), $e = co(void 0), lt = co(void 0), yt = (eo = {}) => (G.value = eo.title, _e.value = eo.message, oe.value = eo.okButton, eo.cancelButton && (Z.value = eo.cancelButton), xe.value = !0, new Promise((Ot, Ls) => {
|
|
52098
52098
|
$e.value = Ot, lt.value = Ls;
|
|
52099
52099
|
})), hn = () => {
|
|
52100
52100
|
K.value = !0;
|
|
@@ -52105,7 +52105,7 @@ const iq = /* @__PURE__ */ zr(xte, [["render", Pte]]), Bte = {
|
|
|
52105
52105
|
}, lo = () => {
|
|
52106
52106
|
xe.value = !1, $e.value(!1);
|
|
52107
52107
|
};
|
|
52108
|
-
return
|
|
52108
|
+
return te({
|
|
52109
52109
|
show: yt,
|
|
52110
52110
|
showLoading: hn,
|
|
52111
52111
|
hideLoading: Et
|
|
@@ -52144,7 +52144,7 @@ const iq = /* @__PURE__ */ zr(xte, [["render", Pte]]), Bte = {
|
|
|
52144
52144
|
button_type: "red"
|
|
52145
52145
|
}, {
|
|
52146
52146
|
default: Cm(() => [
|
|
52147
|
-
Zn(dt(
|
|
52147
|
+
Zn(dt(oe.value), 1)
|
|
52148
52148
|
]),
|
|
52149
52149
|
_: 1
|
|
52150
52150
|
})),
|
|
@@ -52227,8 +52227,8 @@ const iq = /* @__PURE__ */ zr(xte, [["render", Pte]]), Bte = {
|
|
|
52227
52227
|
message: "Are you sure you want to delete the selected items?",
|
|
52228
52228
|
okButton: "Yes, delete it"
|
|
52229
52229
|
}))
|
|
52230
|
-
this.$refs.ConfirmationDelete.showLoading(), this.checkedIds.forEach((
|
|
52231
|
-
axios.delete(`${this.xprops.route}/${
|
|
52230
|
+
this.$refs.ConfirmationDelete.showLoading(), this.checkedIds.forEach((te) => {
|
|
52231
|
+
axios.delete(`${this.xprops.route}/${te}`).then(() => {
|
|
52232
52232
|
}).catch((G) => {
|
|
52233
52233
|
console.log(G);
|
|
52234
52234
|
});
|
|
@@ -52247,7 +52247,7 @@ const iq = /* @__PURE__ */ zr(xte, [["render", Pte]]), Bte = {
|
|
|
52247
52247
|
this.checkedIds = [];
|
|
52248
52248
|
},
|
|
52249
52249
|
toggleCheck(A) {
|
|
52250
|
-
this.checkedIds.includes(A) ? this.checkedIds = this.checkedIds.filter((
|
|
52250
|
+
this.checkedIds.includes(A) ? this.checkedIds = this.checkedIds.filter((te) => te !== A) : this.checkedIds.push(A);
|
|
52251
52251
|
},
|
|
52252
52252
|
editAction(A) {
|
|
52253
52253
|
this.$emit("editAction", A);
|
|
@@ -52260,7 +52260,7 @@ const iq = /* @__PURE__ */ zr(xte, [["render", Pte]]), Bte = {
|
|
|
52260
52260
|
},
|
|
52261
52261
|
GetItemLists(A = 1) {
|
|
52262
52262
|
this.isLoading = !0, this.page = A;
|
|
52263
|
-
const
|
|
52263
|
+
const te = {
|
|
52264
52264
|
sort: this.sortField,
|
|
52265
52265
|
order: this.sortOrder,
|
|
52266
52266
|
s: this.search,
|
|
@@ -52268,14 +52268,14 @@ const iq = /* @__PURE__ */ zr(xte, [["render", Pte]]), Bte = {
|
|
|
52268
52268
|
page: this.page,
|
|
52269
52269
|
...this.dynamicFilters
|
|
52270
52270
|
};
|
|
52271
|
-
axios.get(this.xprops.route_get_data, { params:
|
|
52271
|
+
axios.get(this.xprops.route_get_data, { params: te }).then((G) => {
|
|
52272
52272
|
this.itemLists = G.data, this.isLoading = !1;
|
|
52273
52273
|
}).catch((G) => {
|
|
52274
52274
|
console.error(G), this.isLoading = !1;
|
|
52275
52275
|
});
|
|
52276
52276
|
},
|
|
52277
|
-
updateSortColumn(A,
|
|
52278
|
-
|
|
52277
|
+
updateSortColumn(A, te) {
|
|
52278
|
+
te && (A === this.sortField ? this.sortOrder = this.sortOrder === "asc" ? "desc" : "asc" : (this.sortField = A, this.sortOrder = "asc"), this.GetItemLists(this.page));
|
|
52279
52279
|
},
|
|
52280
52280
|
handleSearch() {
|
|
52281
52281
|
this.sortField = this.columns[0].field_name, this.sortOrder = "asc", this.page = 1, this.GetItemLists(this.page);
|
|
@@ -52291,8 +52291,8 @@ const iq = /* @__PURE__ */ zr(xte, [["render", Pte]]), Bte = {
|
|
|
52291
52291
|
perPage(A) {
|
|
52292
52292
|
this.page = 1, this.perPage = A, this.GetItemLists(this.page);
|
|
52293
52293
|
},
|
|
52294
|
-
refreshData(A,
|
|
52295
|
-
this.isMounted && A !==
|
|
52294
|
+
refreshData(A, te) {
|
|
52295
|
+
this.isMounted && A !== te && this.GetItemLists();
|
|
52296
52296
|
},
|
|
52297
52297
|
dynamicFilters: {
|
|
52298
52298
|
handler(A) {
|
|
@@ -52373,7 +52373,7 @@ const iq = /* @__PURE__ */ zr(xte, [["render", Pte]]), Bte = {
|
|
|
52373
52373
|
class: "text-center rounded-t-lg lg:rounded-t-none text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 border-[1px] dark:border-gray-700",
|
|
52374
52374
|
"data-label": ""
|
|
52375
52375
|
}, wne = ["checked", "onChange"], xne = ["data-label"], Cne = { class: "overflow-auto max-h-40" }, _ne = { 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" };
|
|
52376
|
-
function Sne(A,
|
|
52376
|
+
function Sne(A, te, G, _e, oe, Z) {
|
|
52377
52377
|
const xe = Rd("DynamicConfirmation"), K = Rd("dropdown"), $e = Rd("GlDropdown"), lt = Rd("GlTextInput"), yt = Rd("gl-button"), hn = Rd("TailwindPagination");
|
|
52378
52378
|
return ue(), de(jn, null, [
|
|
52379
52379
|
ui(xe, { ref: "ConfirmationDelete" }, null, 512),
|
|
@@ -52384,9 +52384,9 @@ function Sne(A, oe, G, _e, ne, Z) {
|
|
|
52384
52384
|
R("div", ene, [
|
|
52385
52385
|
ui(K, {
|
|
52386
52386
|
has_cancel: !1,
|
|
52387
|
-
options:
|
|
52388
|
-
modelValue:
|
|
52389
|
-
"onUpdate:modelValue":
|
|
52387
|
+
options: oe.pageOptions,
|
|
52388
|
+
modelValue: oe.perPage,
|
|
52389
|
+
"onUpdate:modelValue": te[0] || (te[0] = (Et) => oe.perPage = Et),
|
|
52390
52390
|
is_required: !1,
|
|
52391
52391
|
field_name: "perPage",
|
|
52392
52392
|
label_name: "",
|
|
@@ -52402,12 +52402,12 @@ function Sne(A, oe, G, _e, ne, Z) {
|
|
|
52402
52402
|
sne,
|
|
52403
52403
|
fr(R("input", {
|
|
52404
52404
|
type: "text",
|
|
52405
|
-
"onUpdate:modelValue":
|
|
52406
|
-
onInput:
|
|
52405
|
+
"onUpdate:modelValue": te[1] || (te[1] = (Et) => oe.search = Et),
|
|
52406
|
+
onInput: te[2] || (te[2] = (Et) => Z.handleSearch()),
|
|
52407
52407
|
class: "block w-full p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
|
|
52408
52408
|
placeholder: "Search ..."
|
|
52409
52409
|
}, null, 544), [
|
|
52410
|
-
[_m,
|
|
52410
|
+
[_m, oe.search]
|
|
52411
52411
|
])
|
|
52412
52412
|
])
|
|
52413
52413
|
]),
|
|
@@ -52417,8 +52417,8 @@ function Sne(A, oe, G, _e, ne, Z) {
|
|
|
52417
52417
|
key: 0,
|
|
52418
52418
|
has_cancel: !0,
|
|
52419
52419
|
options: Et.options,
|
|
52420
|
-
modelValue:
|
|
52421
|
-
"onUpdate:modelValue": (lo) =>
|
|
52420
|
+
modelValue: oe.dynamicFilters[Et.field_name],
|
|
52421
|
+
"onUpdate:modelValue": (lo) => oe.dynamicFilters[Et.field_name] = lo,
|
|
52422
52422
|
is_required: !1,
|
|
52423
52423
|
field_name: Et.field_name,
|
|
52424
52424
|
label_name: Et.field_label,
|
|
@@ -52430,8 +52430,8 @@ function Sne(A, oe, G, _e, ne, Z) {
|
|
|
52430
52430
|
type: "text",
|
|
52431
52431
|
is_required: !1,
|
|
52432
52432
|
show: !1,
|
|
52433
|
-
modelValue:
|
|
52434
|
-
"onUpdate:modelValue": (lo) =>
|
|
52433
|
+
modelValue: oe.dynamicFilters[Et.field_name],
|
|
52434
|
+
"onUpdate:modelValue": (lo) => oe.dynamicFilters[Et.field_name] = lo,
|
|
52435
52435
|
field_name: Et.field_name,
|
|
52436
52436
|
label_name: Et.field_label
|
|
52437
52437
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : qe("", !0),
|
|
@@ -52440,8 +52440,8 @@ function Sne(A, oe, G, _e, ne, Z) {
|
|
|
52440
52440
|
type: "date",
|
|
52441
52441
|
is_required: !1,
|
|
52442
52442
|
show: !1,
|
|
52443
|
-
modelValue:
|
|
52444
|
-
"onUpdate:modelValue": (lo) =>
|
|
52443
|
+
modelValue: oe.dynamicFilters[Et.field_name],
|
|
52444
|
+
"onUpdate:modelValue": (lo) => oe.dynamicFilters[Et.field_name] = lo,
|
|
52445
52445
|
field_name: Et.field_name,
|
|
52446
52446
|
label_name: Et.field_label
|
|
52447
52447
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : qe("", !0)
|
|
@@ -52452,8 +52452,8 @@ function Sne(A, oe, G, _e, ne, Z) {
|
|
|
52452
52452
|
key: 0,
|
|
52453
52453
|
has_cancel: !0,
|
|
52454
52454
|
options: Et.hasOwnFilter.options,
|
|
52455
|
-
modelValue:
|
|
52456
|
-
"onUpdate:modelValue": (lo) =>
|
|
52455
|
+
modelValue: oe.dynamicFilters[Et.field_name],
|
|
52456
|
+
"onUpdate:modelValue": (lo) => oe.dynamicFilters[Et.field_name] = lo,
|
|
52457
52457
|
is_required: !1,
|
|
52458
52458
|
field_name: Et.field_name,
|
|
52459
52459
|
label_name: Et.field_label,
|
|
@@ -52465,8 +52465,8 @@ function Sne(A, oe, G, _e, ne, Z) {
|
|
|
52465
52465
|
type: "text",
|
|
52466
52466
|
is_required: !1,
|
|
52467
52467
|
show: !1,
|
|
52468
|
-
modelValue:
|
|
52469
|
-
"onUpdate:modelValue": (lo) =>
|
|
52468
|
+
modelValue: oe.dynamicFilters[Et.field_name],
|
|
52469
|
+
"onUpdate:modelValue": (lo) => oe.dynamicFilters[Et.field_name] = lo,
|
|
52470
52470
|
field_name: Et.field_name,
|
|
52471
52471
|
label_name: Et.field_label
|
|
52472
52472
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : qe("", !0),
|
|
@@ -52475,8 +52475,8 @@ function Sne(A, oe, G, _e, ne, Z) {
|
|
|
52475
52475
|
type: "date",
|
|
52476
52476
|
is_required: !1,
|
|
52477
52477
|
show: !1,
|
|
52478
|
-
modelValue:
|
|
52479
|
-
"onUpdate:modelValue": (lo) =>
|
|
52478
|
+
modelValue: oe.dynamicFilters[Et.field_name],
|
|
52479
|
+
"onUpdate:modelValue": (lo) => oe.dynamicFilters[Et.field_name] = lo,
|
|
52480
52480
|
field_name: Et.field_name,
|
|
52481
52481
|
label_name: Et.field_label
|
|
52482
52482
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : qe("", !0)
|
|
@@ -52530,25 +52530,25 @@ function Sne(A, oe, G, _e, ne, Z) {
|
|
|
52530
52530
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
52531
52531
|
}, [
|
|
52532
52532
|
Zn(dt(Et.field_label) + " ", 1),
|
|
52533
|
-
|
|
52534
|
-
|
|
52533
|
+
oe.sortField === Et.field_name ? (ue(), de("span", mne, [
|
|
52534
|
+
oe.sortOrder === "asc" ? (ue(), de("i", fne)) : (ue(), de("i", gne))
|
|
52535
52535
|
])) : qe("", !0)
|
|
52536
52536
|
], 8, dne))), 128))
|
|
52537
52537
|
])
|
|
52538
52538
|
]),
|
|
52539
52539
|
R("tbody", null, [
|
|
52540
|
-
|
|
52540
|
+
oe.isLoading ? (ue(), de("tr", hne, [
|
|
52541
52541
|
R("td", {
|
|
52542
52542
|
colspan: G.columns.length
|
|
52543
52543
|
}, vne, 8, pne)
|
|
52544
52544
|
])) : qe("", !0),
|
|
52545
|
-
|
|
52545
|
+
oe.isLoading ? qe("", !0) : (ue(!0), de(jn, { key: 1 }, Ks(oe.itemLists.data, (Et, io) => (ue(), de("tr", {
|
|
52546
52546
|
key: io,
|
|
52547
52547
|
class: "bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 hover:dark:text-gray-200 text-gray-500"
|
|
52548
52548
|
}, [
|
|
52549
52549
|
R("td", yne, [
|
|
52550
52550
|
R("input", {
|
|
52551
|
-
checked:
|
|
52551
|
+
checked: oe.checkedIds.includes(Et.id),
|
|
52552
52552
|
onChange: (lo) => Z.toggleCheck(Et.id),
|
|
52553
52553
|
type: "checkbox",
|
|
52554
52554
|
value: "",
|
|
@@ -52570,7 +52570,7 @@ function Sne(A, oe, G, _e, ne, Z) {
|
|
|
52570
52570
|
field: lo.field_name,
|
|
52571
52571
|
xprops: G.xprops,
|
|
52572
52572
|
tdProps: lo.tdProps,
|
|
52573
|
-
onDeleteAction:
|
|
52573
|
+
onDeleteAction: te[3] || (te[3] = (Ot) => Z.GetItemLists()),
|
|
52574
52574
|
onEditAction: (Ot) => Z.editAction(Et),
|
|
52575
52575
|
onGeneralAction: (Ot) => Z.generalAction(Et)
|
|
52576
52576
|
}, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction", "onGeneralAction"])) : (ue(), de(jn, { key: 1 }, [
|
|
@@ -52585,17 +52585,17 @@ function Sne(A, oe, G, _e, ne, Z) {
|
|
|
52585
52585
|
R("div", _ne, [
|
|
52586
52586
|
ui(hn, {
|
|
52587
52587
|
class: "mt-3 mb-0",
|
|
52588
|
-
data:
|
|
52589
|
-
limit:
|
|
52590
|
-
size:
|
|
52591
|
-
align:
|
|
52588
|
+
data: oe.itemLists,
|
|
52589
|
+
limit: oe.limit,
|
|
52590
|
+
size: oe.size,
|
|
52591
|
+
align: oe.align,
|
|
52592
52592
|
onPaginationChangePage: Z.GetItemLists
|
|
52593
52593
|
}, null, 8, ["data", "limit", "size", "align", "onPaginationChangePage"])
|
|
52594
52594
|
])
|
|
52595
52595
|
])
|
|
52596
52596
|
], 64);
|
|
52597
52597
|
}
|
|
52598
|
-
const
|
|
52598
|
+
const Yce = /* @__PURE__ */ zr(Kte, [["render", Sne]]), kne = {
|
|
52599
52599
|
components: {},
|
|
52600
52600
|
props: {
|
|
52601
52601
|
data: Array,
|
|
@@ -52631,16 +52631,16 @@ const Kce = /* @__PURE__ */ zr(Kte, [["render", Sne]]), kne = {
|
|
|
52631
52631
|
return Math.ceil(this.filteredData.length / this.itemsPerPage);
|
|
52632
52632
|
},
|
|
52633
52633
|
paginatedData() {
|
|
52634
|
-
const A = (this.currentPage - 1) * this.itemsPerPage,
|
|
52635
|
-
return this.filteredData.slice(A,
|
|
52634
|
+
const A = (this.currentPage - 1) * this.itemsPerPage, te = A + this.itemsPerPage;
|
|
52635
|
+
return this.filteredData.slice(A, te);
|
|
52636
52636
|
},
|
|
52637
52637
|
displayedPageNumbers() {
|
|
52638
52638
|
let A = Math.max(
|
|
52639
52639
|
this.currentPage - Math.floor(this.maxDisplayedPages / 2),
|
|
52640
52640
|
1
|
|
52641
|
-
),
|
|
52642
|
-
return
|
|
52643
|
-
{ length:
|
|
52641
|
+
), te = A + this.maxDisplayedPages - 1;
|
|
52642
|
+
return te > this.totalPages && (te = this.totalPages, A = Math.max(te - this.maxDisplayedPages + 1, 1)), Array.from(
|
|
52643
|
+
{ length: te - A + 1 },
|
|
52644
52644
|
(G, _e) => A + _e
|
|
52645
52645
|
);
|
|
52646
52646
|
},
|
|
@@ -52675,7 +52675,7 @@ const Kce = /* @__PURE__ */ zr(Kte, [["render", Sne]]), kne = {
|
|
|
52675
52675
|
A === this.sortKey ? this.sortOrder *= -1 : (this.sortKey = A, this.sortOrder = 1);
|
|
52676
52676
|
},
|
|
52677
52677
|
sortData(A) {
|
|
52678
|
-
return this.sortKey ? A.slice().sort((
|
|
52678
|
+
return this.sortKey ? A.slice().sort((te, G) => (te[this.sortKey] < G[this.sortKey] ? -1 : 1) * this.sortOrder) : A;
|
|
52679
52679
|
},
|
|
52680
52680
|
previousPage() {
|
|
52681
52681
|
this.currentPage > 1 && this.currentPage--;
|
|
@@ -52809,7 +52809,7 @@ const Kce = /* @__PURE__ */ zr(Kte, [["render", Sne]]), kne = {
|
|
|
52809
52809
|
moe,
|
|
52810
52810
|
foe
|
|
52811
52811
|
];
|
|
52812
|
-
function hoe(A,
|
|
52812
|
+
function hoe(A, te, G, _e, oe, Z) {
|
|
52813
52813
|
const xe = Rd("dropdown");
|
|
52814
52814
|
return ue(), de("div", Tne, [
|
|
52815
52815
|
R("div", Ene, [
|
|
@@ -52818,9 +52818,9 @@ function hoe(A, oe, G, _e, ne, Z) {
|
|
|
52818
52818
|
R("div", One, [
|
|
52819
52819
|
ui(xe, {
|
|
52820
52820
|
has_cancel: !1,
|
|
52821
|
-
options:
|
|
52822
|
-
modelValue:
|
|
52823
|
-
"onUpdate:modelValue":
|
|
52821
|
+
options: oe.showNoOfEntries,
|
|
52822
|
+
modelValue: oe.itemsPerPage,
|
|
52823
|
+
"onUpdate:modelValue": te[0] || (te[0] = (K) => oe.itemsPerPage = K),
|
|
52824
52824
|
is_required: !1,
|
|
52825
52825
|
field_name: "NoOfEntries",
|
|
52826
52826
|
label_name: "",
|
|
@@ -52836,11 +52836,11 @@ function hoe(A, oe, G, _e, ne, Z) {
|
|
|
52836
52836
|
Pne,
|
|
52837
52837
|
fr(R("input", {
|
|
52838
52838
|
type: "text",
|
|
52839
|
-
"onUpdate:modelValue":
|
|
52839
|
+
"onUpdate:modelValue": te[1] || (te[1] = (K) => oe.search = K),
|
|
52840
52840
|
class: "block p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 w-80 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
|
|
52841
52841
|
placeholder: "Search ..."
|
|
52842
52842
|
}, null, 512), [
|
|
52843
|
-
[_m,
|
|
52843
|
+
[_m, oe.search]
|
|
52844
52844
|
])
|
|
52845
52845
|
])
|
|
52846
52846
|
]),
|
|
@@ -52854,19 +52854,19 @@ function hoe(A, oe, G, _e, ne, Z) {
|
|
|
52854
52854
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
52855
52855
|
}, [
|
|
52856
52856
|
Zn(dt(K.field_label) + " ", 1),
|
|
52857
|
-
|
|
52858
|
-
|
|
52857
|
+
oe.sortKey === K.field_name ? (ue(), de("span", Fne, [
|
|
52858
|
+
oe.sortOrder === 1 ? (ue(), de("i", Hne)) : (ue(), de("i", Vne))
|
|
52859
52859
|
])) : qe("", !0)
|
|
52860
52860
|
], 8, Lne))), 128))
|
|
52861
52861
|
])
|
|
52862
52862
|
]),
|
|
52863
52863
|
R("tbody", null, [
|
|
52864
|
-
|
|
52864
|
+
oe.isLoading ? (ue(), de("tr", zne, [
|
|
52865
52865
|
R("td", {
|
|
52866
52866
|
colspan: G.columns.length
|
|
52867
52867
|
}, Zne, 8, Une)
|
|
52868
52868
|
])) : qe("", !0),
|
|
52869
|
-
|
|
52869
|
+
oe.isLoading ? qe("", !0) : (ue(!0), de(jn, { key: 1 }, Ks(Z.paginatedData, (K, $e) => (ue(), de("tr", {
|
|
52870
52870
|
key: $e,
|
|
52871
52871
|
class: "bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 hover:dark:text-gray-200 text-gray-500"
|
|
52872
52872
|
}, [
|
|
@@ -52885,7 +52885,7 @@ function hoe(A, oe, G, _e, ne, Z) {
|
|
|
52885
52885
|
field: lt.field_name,
|
|
52886
52886
|
xprops: G.xprops,
|
|
52887
52887
|
tdProps: lt.tdProps,
|
|
52888
|
-
onDeleteAction:
|
|
52888
|
+
onDeleteAction: te[2] || (te[2] = (hn) => Z.GetItemLists()),
|
|
52889
52889
|
onEditAction: (hn) => Z.editAction(K),
|
|
52890
52890
|
onGeneralAction: (hn) => Z.generalAction(K)
|
|
52891
52891
|
}, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction", "onGeneralAction"])) : (ue(), de(jn, { key: 1 }, [
|
|
@@ -52901,14 +52901,14 @@ function hoe(A, oe, G, _e, ne, Z) {
|
|
|
52901
52901
|
R("div", Kne, [
|
|
52902
52902
|
R("a", {
|
|
52903
52903
|
href: "#",
|
|
52904
|
-
onClick:
|
|
52905
|
-
disabled:
|
|
52904
|
+
onClick: te[3] || (te[3] = za((...K) => Z.previousPage && Z.previousPage(...K), ["prevent"])),
|
|
52905
|
+
disabled: oe.currentPage === 1,
|
|
52906
52906
|
class: "relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
|
|
52907
52907
|
}, "Previous", 8, Yne),
|
|
52908
52908
|
R("a", {
|
|
52909
52909
|
href: "#",
|
|
52910
|
-
onClick:
|
|
52911
|
-
disabled:
|
|
52910
|
+
onClick: te[4] || (te[4] = za((...K) => Z.nextPage && Z.nextPage(...K), ["prevent"])),
|
|
52911
|
+
disabled: oe.currentPage === Z.totalPages,
|
|
52912
52912
|
class: "relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
|
|
52913
52913
|
}, "Next", 8, Xne)
|
|
52914
52914
|
]),
|
|
@@ -52930,14 +52930,14 @@ function hoe(A, oe, G, _e, ne, Z) {
|
|
|
52930
52930
|
R("li", null, [
|
|
52931
52931
|
R("a", {
|
|
52932
52932
|
href: "#",
|
|
52933
|
-
onClick:
|
|
52934
|
-
disabled:
|
|
52933
|
+
onClick: te[5] || (te[5] = za((...K) => Z.previousPage && Z.previousPage(...K), ["prevent"])),
|
|
52934
|
+
disabled: oe.currentPage === 1,
|
|
52935
52935
|
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"
|
|
52936
52936
|
}, coe, 8, roe)
|
|
52937
52937
|
]),
|
|
52938
52938
|
(ue(!0), de(jn, null, Ks(Z.displayedPageNumbers, (K) => (ue(), de(jn, { key: K }, [
|
|
52939
52939
|
R("li", null, [
|
|
52940
|
-
|
|
52940
|
+
oe.currentPage !== K ? (ue(), de("a", {
|
|
52941
52941
|
key: 0,
|
|
52942
52942
|
href: "#",
|
|
52943
52943
|
onClick: za(($e) => Z.goToPage(K), ["prevent"]),
|
|
@@ -52945,7 +52945,7 @@ function hoe(A, oe, G, _e, ne, Z) {
|
|
|
52945
52945
|
}, dt(K), 9, ioe)) : qe("", !0)
|
|
52946
52946
|
]),
|
|
52947
52947
|
R("li", null, [
|
|
52948
|
-
|
|
52948
|
+
oe.currentPage === K ? (ue(), de("a", {
|
|
52949
52949
|
key: 0,
|
|
52950
52950
|
href: "#",
|
|
52951
52951
|
onClick: za(($e) => Z.goToPage(K), ["prevent"]),
|
|
@@ -52957,8 +52957,8 @@ function hoe(A, oe, G, _e, ne, Z) {
|
|
|
52957
52957
|
R("li", null, [
|
|
52958
52958
|
R("a", {
|
|
52959
52959
|
href: "#",
|
|
52960
|
-
onClick:
|
|
52961
|
-
disabled:
|
|
52960
|
+
onClick: te[6] || (te[6] = za((...K) => Z.nextPage && Z.nextPage(...K), ["prevent"])),
|
|
52961
|
+
disabled: oe.currentPage === Z.totalPages,
|
|
52962
52962
|
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"
|
|
52963
52963
|
}, goe, 8, doe)
|
|
52964
52964
|
])
|
|
@@ -52969,7 +52969,7 @@ function hoe(A, oe, G, _e, ne, Z) {
|
|
|
52969
52969
|
])) : qe("", !0)
|
|
52970
52970
|
]);
|
|
52971
52971
|
}
|
|
52972
|
-
const
|
|
52972
|
+
const Xce = /* @__PURE__ */ zr(kne, [["render", hoe]]), poe = {
|
|
52973
52973
|
components: { TailwindPagination: iq },
|
|
52974
52974
|
props: {
|
|
52975
52975
|
data: Array,
|
|
@@ -53012,11 +53012,11 @@ const Yce = /* @__PURE__ */ zr(kne, [["render", hoe]]), poe = {
|
|
|
53012
53012
|
},
|
|
53013
53013
|
methods: {
|
|
53014
53014
|
groupBy(A) {
|
|
53015
|
-
return this.itemLists.data ? this.itemLists.data.reduce((
|
|
53015
|
+
return this.itemLists.data ? this.itemLists.data.reduce((te, G) => {
|
|
53016
53016
|
const _e = G[A];
|
|
53017
|
-
|
|
53018
|
-
const
|
|
53019
|
-
return delete
|
|
53017
|
+
te[_e] || (te[_e] = []);
|
|
53018
|
+
const oe = { ...G };
|
|
53019
|
+
return delete oe[A], te[_e].push(oe), te;
|
|
53020
53020
|
}, {}) : [];
|
|
53021
53021
|
},
|
|
53022
53022
|
editAction(A) {
|
|
@@ -53027,21 +53027,21 @@ const Yce = /* @__PURE__ */ zr(kne, [["render", hoe]]), poe = {
|
|
|
53027
53027
|
},
|
|
53028
53028
|
GetItemLists(A = 1) {
|
|
53029
53029
|
this.isLoading = !0, this.page = A;
|
|
53030
|
-
const
|
|
53030
|
+
const te = {
|
|
53031
53031
|
sort: this.sortField,
|
|
53032
53032
|
order: this.sortOrder,
|
|
53033
53033
|
s: this.search,
|
|
53034
53034
|
limit: this.perPage,
|
|
53035
53035
|
page: this.page
|
|
53036
53036
|
};
|
|
53037
|
-
axios.get(this.xprops.route_get_data, { params:
|
|
53037
|
+
axios.get(this.xprops.route_get_data, { params: te }).then((G) => {
|
|
53038
53038
|
this.itemLists = G.data, this.isLoading = !1;
|
|
53039
53039
|
}).catch((G) => {
|
|
53040
53040
|
console.error(G), this.isLoading = !1;
|
|
53041
53041
|
});
|
|
53042
53042
|
},
|
|
53043
|
-
updateSortColumn(A,
|
|
53044
|
-
|
|
53043
|
+
updateSortColumn(A, te) {
|
|
53044
|
+
te && (A === this.sortField ? this.sortOrder = this.sortOrder === "asc" ? "desc" : "asc" : (this.sortField = A, this.sortOrder = "asc"), this.GetItemLists(this.page));
|
|
53045
53045
|
},
|
|
53046
53046
|
handleSearch() {
|
|
53047
53047
|
this.sortField = this.columns[0].field_name, this.sortOrder = "asc", this.page = 1, this.GetItemLists(this.page);
|
|
@@ -53057,8 +53057,8 @@ const Yce = /* @__PURE__ */ zr(kne, [["render", hoe]]), poe = {
|
|
|
53057
53057
|
perPage(A) {
|
|
53058
53058
|
this.page = 1, this.perPage = A, this.GetItemLists(this.page);
|
|
53059
53059
|
},
|
|
53060
|
-
refreshData(A,
|
|
53061
|
-
this.isMounted && A !==
|
|
53060
|
+
refreshData(A, te) {
|
|
53061
|
+
this.isMounted && A !== te && this.GetItemLists();
|
|
53062
53062
|
}
|
|
53063
53063
|
}
|
|
53064
53064
|
}, boe = { class: "p-2" }, voe = { class: "flex flex-col flex-wrap pb-4 space-y-4 xl:flex-row xl:items-center xl:justify-between flex-column sm:space-y-0" }, yoe = { class: "flex items-center gap-2" }, woe = /* @__PURE__ */ R("span", { class: "font-medium" }, " Show ", -1), xoe = { style: { "margin-top": "9px" } }, Coe = /* @__PURE__ */ R("span", { class: "font-medium" }, " Entries ", -1), _oe = /* @__PURE__ */ R("label", {
|
|
@@ -53130,7 +53130,7 @@ const Yce = /* @__PURE__ */ zr(kne, [["render", hoe]]), poe = {
|
|
|
53130
53130
|
], -1), Noe = [
|
|
53131
53131
|
Boe
|
|
53132
53132
|
], Ioe = { class: "bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 hover:dark:text-gray-200 text-gray-500" }, Loe = ["colspan"], Foe = ["data-label"], Hoe = { class: "overflow-auto max-h-40" }, Voe = { 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" };
|
|
53133
|
-
function zoe(A,
|
|
53133
|
+
function zoe(A, te, G, _e, oe, Z) {
|
|
53134
53134
|
const xe = Rd("dropdown"), K = Rd("TailwindPagination");
|
|
53135
53135
|
return ue(), de("div", boe, [
|
|
53136
53136
|
R("div", voe, [
|
|
@@ -53139,9 +53139,9 @@ function zoe(A, oe, G, _e, ne, Z) {
|
|
|
53139
53139
|
R("div", xoe, [
|
|
53140
53140
|
ui(xe, {
|
|
53141
53141
|
has_cancel: !1,
|
|
53142
|
-
options:
|
|
53143
|
-
modelValue:
|
|
53144
|
-
"onUpdate:modelValue":
|
|
53142
|
+
options: oe.pageOptions,
|
|
53143
|
+
modelValue: oe.perPage,
|
|
53144
|
+
"onUpdate:modelValue": te[0] || (te[0] = ($e) => oe.perPage = $e),
|
|
53145
53145
|
is_required: !1,
|
|
53146
53146
|
field_name: "perPage",
|
|
53147
53147
|
label_name: "",
|
|
@@ -53157,12 +53157,12 @@ function zoe(A, oe, G, _e, ne, Z) {
|
|
|
53157
53157
|
koe,
|
|
53158
53158
|
fr(R("input", {
|
|
53159
53159
|
type: "text",
|
|
53160
|
-
"onUpdate:modelValue":
|
|
53161
|
-
onInput:
|
|
53160
|
+
"onUpdate:modelValue": te[1] || (te[1] = ($e) => oe.search = $e),
|
|
53161
|
+
onInput: te[2] || (te[2] = ($e) => Z.handleSearch()),
|
|
53162
53162
|
class: "block w-full p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
|
|
53163
53163
|
placeholder: "Search ..."
|
|
53164
53164
|
}, null, 544), [
|
|
53165
|
-
[_m,
|
|
53165
|
+
[_m, oe.search]
|
|
53166
53166
|
])
|
|
53167
53167
|
])
|
|
53168
53168
|
]),
|
|
@@ -53176,19 +53176,19 @@ function zoe(A, oe, G, _e, ne, Z) {
|
|
|
53176
53176
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
53177
53177
|
}, [
|
|
53178
53178
|
Zn(dt($e.field_label) + " ", 1),
|
|
53179
|
-
|
|
53180
|
-
|
|
53179
|
+
oe.sortField === $e.field_name ? (ue(), de("span", Ooe, [
|
|
53180
|
+
oe.sortOrder === "asc" ? (ue(), de("i", Roe)) : (ue(), de("i", $oe))
|
|
53181
53181
|
])) : qe("", !0)
|
|
53182
53182
|
], 8, Doe))), 128))
|
|
53183
53183
|
])
|
|
53184
53184
|
]),
|
|
53185
53185
|
R("tbody", null, [
|
|
53186
|
-
|
|
53186
|
+
oe.isLoading ? (ue(), de("tr", Moe, [
|
|
53187
53187
|
R("td", {
|
|
53188
53188
|
colspan: G.columns.length
|
|
53189
53189
|
}, Noe, 8, Poe)
|
|
53190
53190
|
])) : qe("", !0),
|
|
53191
|
-
|
|
53191
|
+
oe.isLoading ? qe("", !0) : (ue(!0), de(jn, { key: 1 }, Ks(Z.groupedItems, ($e, lt) => (ue(), de(jn, null, [
|
|
53192
53192
|
R("tr", Ioe, [
|
|
53193
53193
|
R("td", {
|
|
53194
53194
|
colspan: G.columns.length,
|
|
@@ -53211,7 +53211,7 @@ function zoe(A, oe, G, _e, ne, Z) {
|
|
|
53211
53211
|
field: Et.field_name,
|
|
53212
53212
|
xprops: G.xprops,
|
|
53213
53213
|
tdProps: Et.tdProps,
|
|
53214
|
-
onDeleteAction:
|
|
53214
|
+
onDeleteAction: te[3] || (te[3] = (lo) => Z.GetItemLists()),
|
|
53215
53215
|
onEditAction: (lo) => Z.editAction(yt)
|
|
53216
53216
|
}, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction"])) : (ue(), de(jn, { key: 1 }, [
|
|
53217
53217
|
Zn(dt(yt[Et.field_name]), 1)
|
|
@@ -53226,16 +53226,16 @@ function zoe(A, oe, G, _e, ne, Z) {
|
|
|
53226
53226
|
R("div", Voe, [
|
|
53227
53227
|
ui(K, {
|
|
53228
53228
|
class: "mt-3 mb-0",
|
|
53229
|
-
data:
|
|
53230
|
-
limit:
|
|
53231
|
-
size:
|
|
53232
|
-
align:
|
|
53229
|
+
data: oe.itemLists,
|
|
53230
|
+
limit: oe.limit,
|
|
53231
|
+
size: oe.size,
|
|
53232
|
+
align: oe.align,
|
|
53233
53233
|
onPaginationChangePage: Z.GetItemLists
|
|
53234
53234
|
}, null, 8, ["data", "limit", "size", "align", "onPaginationChangePage"])
|
|
53235
53235
|
])
|
|
53236
53236
|
]);
|
|
53237
53237
|
}
|
|
53238
|
-
const
|
|
53238
|
+
const Jce = /* @__PURE__ */ zr(poe, [["render", zoe]]), Uoe = {
|
|
53239
53239
|
components: {},
|
|
53240
53240
|
props: {
|
|
53241
53241
|
data: Array,
|
|
@@ -53265,16 +53265,16 @@ const Xce = /* @__PURE__ */ zr(poe, [["render", zoe]]), Uoe = {
|
|
|
53265
53265
|
return Math.ceil(this.filteredData.length / this.itemsPerPage);
|
|
53266
53266
|
},
|
|
53267
53267
|
paginatedData() {
|
|
53268
|
-
const A = (this.currentPage - 1) * this.itemsPerPage,
|
|
53269
|
-
return this.filteredData.slice(A,
|
|
53268
|
+
const A = (this.currentPage - 1) * this.itemsPerPage, te = A + this.itemsPerPage;
|
|
53269
|
+
return this.filteredData.slice(A, te);
|
|
53270
53270
|
},
|
|
53271
53271
|
displayedPageNumbers() {
|
|
53272
53272
|
let A = Math.max(
|
|
53273
53273
|
this.currentPage - Math.floor(this.maxDisplayedPages / 2),
|
|
53274
53274
|
1
|
|
53275
|
-
),
|
|
53276
|
-
return
|
|
53277
|
-
{ length:
|
|
53275
|
+
), te = A + this.maxDisplayedPages - 1;
|
|
53276
|
+
return te > this.totalPages && (te = this.totalPages, A = Math.max(te - this.maxDisplayedPages + 1, 1)), Array.from(
|
|
53277
|
+
{ length: te - A + 1 },
|
|
53278
53278
|
(G, _e) => A + _e
|
|
53279
53279
|
);
|
|
53280
53280
|
},
|
|
@@ -53297,7 +53297,7 @@ const Xce = /* @__PURE__ */ zr(poe, [["render", zoe]]), Uoe = {
|
|
|
53297
53297
|
A === this.sortKey ? this.sortOrder *= -1 : (this.sortKey = A, this.sortOrder = 1);
|
|
53298
53298
|
},
|
|
53299
53299
|
sortData(A) {
|
|
53300
|
-
return this.sortKey ? A.slice().sort((
|
|
53300
|
+
return this.sortKey ? A.slice().sort((te, G) => (te[this.sortKey] < G[this.sortKey] ? -1 : 1) * this.sortOrder) : A;
|
|
53301
53301
|
},
|
|
53302
53302
|
previousPage() {
|
|
53303
53303
|
this.currentPage > 1 && this.currentPage--;
|
|
@@ -53379,7 +53379,7 @@ const Xce = /* @__PURE__ */ zr(poe, [["render", zoe]]), Uoe = {
|
|
|
53379
53379
|
Tse,
|
|
53380
53380
|
Ese
|
|
53381
53381
|
];
|
|
53382
|
-
function Dse(A,
|
|
53382
|
+
function Dse(A, te, G, _e, oe, Z) {
|
|
53383
53383
|
const xe = Rd("dropdown");
|
|
53384
53384
|
return ue(), de("div", Woe, [
|
|
53385
53385
|
R("div", Zoe, [
|
|
@@ -53388,9 +53388,9 @@ function Dse(A, oe, G, _e, ne, Z) {
|
|
|
53388
53388
|
R("div", qoe, [
|
|
53389
53389
|
ui(xe, {
|
|
53390
53390
|
has_cancel: !1,
|
|
53391
|
-
options:
|
|
53392
|
-
modelValue:
|
|
53393
|
-
"onUpdate:modelValue":
|
|
53391
|
+
options: oe.showNoOfEntries,
|
|
53392
|
+
modelValue: oe.itemsPerPage,
|
|
53393
|
+
"onUpdate:modelValue": te[0] || (te[0] = (K) => oe.itemsPerPage = K),
|
|
53394
53394
|
is_required: !1,
|
|
53395
53395
|
field_name: "NoOfEntries",
|
|
53396
53396
|
label_name: "",
|
|
@@ -53406,11 +53406,11 @@ function Dse(A, oe, G, _e, ne, Z) {
|
|
|
53406
53406
|
Joe,
|
|
53407
53407
|
fr(R("input", {
|
|
53408
53408
|
type: "text",
|
|
53409
|
-
"onUpdate:modelValue":
|
|
53409
|
+
"onUpdate:modelValue": te[1] || (te[1] = (K) => oe.search = K),
|
|
53410
53410
|
class: "block p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 w-80 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
|
|
53411
53411
|
placeholder: "Search ..."
|
|
53412
53412
|
}, null, 512), [
|
|
53413
|
-
[_m,
|
|
53413
|
+
[_m, oe.search]
|
|
53414
53414
|
])
|
|
53415
53415
|
])
|
|
53416
53416
|
]),
|
|
@@ -53424,8 +53424,8 @@ function Dse(A, oe, G, _e, ne, Z) {
|
|
|
53424
53424
|
class: "w-full px-4 py-2 lg:w-2/12 capitalize"
|
|
53425
53425
|
}, [
|
|
53426
53426
|
Zn(dt(K) + " ", 1),
|
|
53427
|
-
|
|
53428
|
-
|
|
53427
|
+
oe.sortKey === K ? (ue(), de("span", ose, [
|
|
53428
|
+
oe.sortOrder === 1 ? (ue(), de("i", sse)) : (ue(), de("i", rse))
|
|
53429
53429
|
])) : qe("", !0)
|
|
53430
53430
|
], 8, nse))), 128))
|
|
53431
53431
|
])
|
|
@@ -53453,14 +53453,14 @@ function Dse(A, oe, G, _e, ne, Z) {
|
|
|
53453
53453
|
R("div", ise, [
|
|
53454
53454
|
R("a", {
|
|
53455
53455
|
href: "#",
|
|
53456
|
-
onClick:
|
|
53457
|
-
disabled:
|
|
53456
|
+
onClick: te[2] || (te[2] = za((...K) => Z.previousPage && Z.previousPage(...K), ["prevent"])),
|
|
53457
|
+
disabled: oe.currentPage === 1,
|
|
53458
53458
|
class: "relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
|
|
53459
53459
|
}, "Previous", 8, use),
|
|
53460
53460
|
R("a", {
|
|
53461
53461
|
href: "#",
|
|
53462
|
-
onClick:
|
|
53463
|
-
disabled:
|
|
53462
|
+
onClick: te[3] || (te[3] = za((...K) => Z.nextPage && Z.nextPage(...K), ["prevent"])),
|
|
53463
|
+
disabled: oe.currentPage === Z.totalPages,
|
|
53464
53464
|
class: "relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
|
|
53465
53465
|
}, "Next", 8, dse)
|
|
53466
53466
|
]),
|
|
@@ -53482,14 +53482,14 @@ function Dse(A, oe, G, _e, ne, Z) {
|
|
|
53482
53482
|
R("li", null, [
|
|
53483
53483
|
R("a", {
|
|
53484
53484
|
href: "#",
|
|
53485
|
-
onClick:
|
|
53486
|
-
disabled:
|
|
53485
|
+
onClick: te[4] || (te[4] = za((...K) => Z.previousPage && Z.previousPage(...K), ["prevent"])),
|
|
53486
|
+
disabled: oe.currentPage === 1,
|
|
53487
53487
|
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"
|
|
53488
53488
|
}, Cse, 8, yse)
|
|
53489
53489
|
]),
|
|
53490
53490
|
(ue(!0), de(jn, null, Ks(Z.displayedPageNumbers, (K) => (ue(), de(jn, { key: K }, [
|
|
53491
53491
|
R("li", null, [
|
|
53492
|
-
|
|
53492
|
+
oe.currentPage !== K ? (ue(), de("a", {
|
|
53493
53493
|
key: 0,
|
|
53494
53494
|
href: "#",
|
|
53495
53495
|
onClick: za(($e) => Z.goToPage(K), ["prevent"]),
|
|
@@ -53497,7 +53497,7 @@ function Dse(A, oe, G, _e, ne, Z) {
|
|
|
53497
53497
|
}, dt(K), 9, _se)) : qe("", !0)
|
|
53498
53498
|
]),
|
|
53499
53499
|
R("li", null, [
|
|
53500
|
-
|
|
53500
|
+
oe.currentPage === K ? (ue(), de("a", {
|
|
53501
53501
|
key: 0,
|
|
53502
53502
|
href: "#",
|
|
53503
53503
|
onClick: za(($e) => Z.goToPage(K), ["prevent"]),
|
|
@@ -53509,8 +53509,8 @@ function Dse(A, oe, G, _e, ne, Z) {
|
|
|
53509
53509
|
R("li", null, [
|
|
53510
53510
|
R("a", {
|
|
53511
53511
|
href: "#",
|
|
53512
|
-
onClick:
|
|
53513
|
-
disabled:
|
|
53512
|
+
onClick: te[5] || (te[5] = za((...K) => Z.nextPage && Z.nextPage(...K), ["prevent"])),
|
|
53513
|
+
disabled: oe.currentPage === Z.totalPages,
|
|
53514
53514
|
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"
|
|
53515
53515
|
}, Ase, 8, kse)
|
|
53516
53516
|
])
|
|
@@ -53521,14 +53521,14 @@ function Dse(A, oe, G, _e, ne, Z) {
|
|
|
53521
53521
|
])) : qe("", !0)
|
|
53522
53522
|
]);
|
|
53523
53523
|
}
|
|
53524
|
-
const
|
|
53524
|
+
const Qce = /* @__PURE__ */ zr(Uoe, [["render", Dse]]), Ose = {
|
|
53525
53525
|
props: ["field", "row", "tdProps"],
|
|
53526
53526
|
methods: {
|
|
53527
53527
|
convertCronToHuman(A) {
|
|
53528
|
-
const [
|
|
53529
|
-
if (
|
|
53528
|
+
const [te, G, _e, oe, Z] = A.split(" ");
|
|
53529
|
+
if (te === "*" && G === "*" && _e === "*" && oe === "*" && Z === "*")
|
|
53530
53530
|
return "Runs every minute.";
|
|
53531
|
-
if (
|
|
53531
|
+
if (te === "0" && G === "0" && _e === "*" && oe === "*" && Z !== "*")
|
|
53532
53532
|
return `Runs at 12:00 AM every ${this.convertDayOfWeek(Z)}.`;
|
|
53533
53533
|
const xe = {
|
|
53534
53534
|
0: "Sunday",
|
|
@@ -53553,24 +53553,24 @@ const Jce = /* @__PURE__ */ zr(Uoe, [["render", Dse]]), Ose = {
|
|
|
53553
53553
|
11: "November",
|
|
53554
53554
|
12: "December",
|
|
53555
53555
|
"*": "every month"
|
|
53556
|
-
}, $e = this.convertField(
|
|
53556
|
+
}, $e = this.convertField(te, "minute", 59), lt = this.convertField(G, "hour", 23), yt = this.convertField(_e, "day of the month", 31), hn = this.convertField(oe, "month", 12, K), Et = this.convertField(Z, "day", 6, xe);
|
|
53557
53557
|
return `Runs ${$e} ${lt} ${yt} ${hn} on ${Et}.`;
|
|
53558
53558
|
},
|
|
53559
|
-
convertField(A,
|
|
53560
|
-
if (A === "*") return `every ${
|
|
53559
|
+
convertField(A, te, G, _e = {}) {
|
|
53560
|
+
if (A === "*") return `every ${te}`;
|
|
53561
53561
|
if (A.includes("/")) {
|
|
53562
|
-
const [
|
|
53563
|
-
return `every ${Z} ${
|
|
53562
|
+
const [oe, Z] = A.split("/");
|
|
53563
|
+
return `every ${Z} ${te}${Z > 1 ? "s" : ""} starting at ${oe}`;
|
|
53564
53564
|
}
|
|
53565
53565
|
if (A.includes("-")) {
|
|
53566
|
-
const [
|
|
53567
|
-
return `${
|
|
53566
|
+
const [oe, Z] = A.split("-");
|
|
53567
|
+
return `${te}s from ${oe} to ${Z}`;
|
|
53568
53568
|
}
|
|
53569
53569
|
if (A.includes(",")) {
|
|
53570
|
-
const
|
|
53571
|
-
return `${
|
|
53570
|
+
const oe = A.split(",").map((Z) => _e[Z] || Z);
|
|
53571
|
+
return `${te}s on ${oe.join(", ")}`;
|
|
53572
53572
|
}
|
|
53573
|
-
return _e[A] || `${
|
|
53573
|
+
return _e[A] || `${te} ${A}`;
|
|
53574
53574
|
},
|
|
53575
53575
|
convertDayOfWeek(A) {
|
|
53576
53576
|
return {
|
|
@@ -53584,45 +53584,45 @@ const Jce = /* @__PURE__ */ zr(Uoe, [["render", Dse]]), Ose = {
|
|
|
53584
53584
|
}[A] || "Invalid day";
|
|
53585
53585
|
},
|
|
53586
53586
|
formatHour(A) {
|
|
53587
|
-
const
|
|
53588
|
-
return `${(
|
|
53587
|
+
const te = parseInt(A, 10), G = te >= 12 ? "PM" : "AM";
|
|
53588
|
+
return `${(te % 12 || 12).toString().padStart(2, "0")}:00 ${G}`;
|
|
53589
53589
|
}
|
|
53590
53590
|
}
|
|
53591
53591
|
}, Rse = {
|
|
53592
53592
|
key: 0,
|
|
53593
53593
|
class: "flex flex-wrap gap-2"
|
|
53594
53594
|
}, $se = { class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300" };
|
|
53595
|
-
function Mse(A,
|
|
53595
|
+
function Mse(A, te, G, _e, oe, Z) {
|
|
53596
53596
|
return G.row[G.field] ? (ue(), de("div", Rse, [
|
|
53597
53597
|
R("span", $se, dt(Z.convertCronToHuman(G.row[G.field])), 1)
|
|
53598
53598
|
])) : qe("", !0);
|
|
53599
53599
|
}
|
|
53600
|
-
const
|
|
53600
|
+
const eie = /* @__PURE__ */ zr(Ose, [["render", Mse]]), Pse = {
|
|
53601
53601
|
setup() {
|
|
53602
53602
|
const A = co([]);
|
|
53603
53603
|
return oq("accordionsWrapper", {
|
|
53604
|
-
registerAccordion: (
|
|
53605
|
-
A.value.push(
|
|
53604
|
+
registerAccordion: (oe) => {
|
|
53605
|
+
A.value.push(oe);
|
|
53606
53606
|
},
|
|
53607
|
-
unregisterAccordion: (
|
|
53608
|
-
const Z = A.value.indexOf(
|
|
53607
|
+
unregisterAccordion: (oe) => {
|
|
53608
|
+
const Z = A.value.indexOf(oe);
|
|
53609
53609
|
Z > -1 && A.value.splice(Z, 1);
|
|
53610
53610
|
},
|
|
53611
|
-
toggleAccordion: (
|
|
53611
|
+
toggleAccordion: (oe) => {
|
|
53612
53612
|
A.value.forEach((Z) => {
|
|
53613
|
-
Z !==
|
|
53614
|
-
}),
|
|
53613
|
+
Z !== oe && Z.isOpen && Z.isOpen.value !== void 0 && (Z.isOpen.value = !1);
|
|
53614
|
+
}), oe.isOpen && oe.isOpen.value !== void 0 && (oe.isOpen.value = !oe.isOpen.value);
|
|
53615
53615
|
},
|
|
53616
53616
|
accordions: A
|
|
53617
53617
|
}), {};
|
|
53618
53618
|
}
|
|
53619
53619
|
};
|
|
53620
|
-
function Bse(A,
|
|
53620
|
+
function Bse(A, te, G, _e, oe, Z) {
|
|
53621
53621
|
return ue(), de("div", null, [
|
|
53622
53622
|
Zi(A.$slots, "default")
|
|
53623
53623
|
]);
|
|
53624
53624
|
}
|
|
53625
|
-
const
|
|
53625
|
+
const tie = /* @__PURE__ */ zr(Pse, [["render", Bse]]), Nse = {
|
|
53626
53626
|
props: {
|
|
53627
53627
|
title: {
|
|
53628
53628
|
type: String,
|
|
@@ -53630,7 +53630,7 @@ const eie = /* @__PURE__ */ zr(Pse, [["render", Bse]]), Nse = {
|
|
|
53630
53630
|
}
|
|
53631
53631
|
},
|
|
53632
53632
|
setup() {
|
|
53633
|
-
const A = co(!1),
|
|
53633
|
+
const A = co(!1), te = sq("accordionsWrapper"), _e = (() => {
|
|
53634
53634
|
var lt = (/* @__PURE__ */ new Date()).getTime();
|
|
53635
53635
|
typeof performance < "u" && typeof performance.now == "function" && (lt += performance.now());
|
|
53636
53636
|
var yt = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(hn) {
|
|
@@ -53638,13 +53638,13 @@ const eie = /* @__PURE__ */ zr(Pse, [["render", Bse]]), Nse = {
|
|
|
53638
53638
|
return lt = Math.floor(lt / 16), (hn === "x" ? Et : Et & 3 | 8).toString(16);
|
|
53639
53639
|
});
|
|
53640
53640
|
return yt;
|
|
53641
|
-
})(),
|
|
53641
|
+
})(), oe = { isOpen: A, id: _e }, Z = bu(() => te.accordions.value), xe = bu(() => Z.value.length > 0 && Z.value[0].id === _e), K = bu(() => Z.value.length > 0 && Z.value[Z.value.length - 1].id === _e);
|
|
53642
53642
|
return Og(() => {
|
|
53643
|
-
|
|
53643
|
+
te.registerAccordion(oe);
|
|
53644
53644
|
}), Nq(() => {
|
|
53645
|
-
|
|
53645
|
+
te.unregisterAccordion(oe);
|
|
53646
53646
|
}), { isOpen: A, isFirstAccordion: xe, isLastAccordion: K, toggle: () => {
|
|
53647
|
-
|
|
53647
|
+
te.toggleAccordion(oe);
|
|
53648
53648
|
} };
|
|
53649
53649
|
}
|
|
53650
53650
|
}, Ise = { class: "flex items-center" }, Lse = {
|
|
@@ -53678,11 +53678,11 @@ const eie = /* @__PURE__ */ zr(Pse, [["render", Bse]]), Nse = {
|
|
|
53678
53678
|
}, null, -1), Use = [
|
|
53679
53679
|
zse
|
|
53680
53680
|
];
|
|
53681
|
-
function Wse(A,
|
|
53681
|
+
function Wse(A, te, G, _e, oe, Z) {
|
|
53682
53682
|
return ue(), de("div", null, [
|
|
53683
53683
|
R("h2", null, [
|
|
53684
53684
|
R("button", {
|
|
53685
|
-
onClick:
|
|
53685
|
+
onClick: te[0] || (te[0] = (...xe) => _e.toggle && _e.toggle(...xe)),
|
|
53686
53686
|
type: "button",
|
|
53687
53687
|
class: zt(["flex items-center justify-between w-full gap-3 p-5 font-medium text-gray-500 border border-gray-200 rtl:text-right dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800", {
|
|
53688
53688
|
"rounded-t-xl": _e.isFirstAccordion,
|
|
@@ -53707,7 +53707,7 @@ function Wse(A, oe, G, _e, ne, Z) {
|
|
|
53707
53707
|
], 2)) : qe("", !0)
|
|
53708
53708
|
]);
|
|
53709
53709
|
}
|
|
53710
|
-
const
|
|
53710
|
+
const nie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
|
|
53711
53711
|
class: "flex items-center p-4 text-gray-500 bg-white rounded-lg shadow dark:bg-gray-800 dark:text-gray-400",
|
|
53712
53712
|
role: "alert"
|
|
53713
53713
|
}, jse = {
|
|
@@ -53781,13 +53781,13 @@ const tie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
|
|
|
53781
53781
|
}
|
|
53782
53782
|
},
|
|
53783
53783
|
emits: ["remove"],
|
|
53784
|
-
setup(A, { emit:
|
|
53784
|
+
setup(A, { emit: te }) {
|
|
53785
53785
|
const G = A;
|
|
53786
53786
|
Og(() => {
|
|
53787
53787
|
setTimeout(() => _e("remove"), G.duration);
|
|
53788
53788
|
});
|
|
53789
|
-
const _e =
|
|
53790
|
-
return (
|
|
53789
|
+
const _e = te;
|
|
53790
|
+
return (oe, Z) => (ue(), de("div", Zse, [
|
|
53791
53791
|
G.type === "success" ? (ue(), de("div", jse, Kse)) : qe("", !0),
|
|
53792
53792
|
G.type === "error" ? (ue(), de("div", Yse, Qse)) : qe("", !0),
|
|
53793
53793
|
G.type === "warning" ? (ue(), de("div", ere, ore)) : qe("", !0),
|
|
@@ -53801,10 +53801,10 @@ const tie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
|
|
|
53801
53801
|
}, lre)
|
|
53802
53802
|
]));
|
|
53803
53803
|
}
|
|
53804
|
-
},
|
|
53804
|
+
}, oie = {
|
|
53805
53805
|
__name: "GlToastList",
|
|
53806
53806
|
setup(A) {
|
|
53807
|
-
function
|
|
53807
|
+
function te(G) {
|
|
53808
53808
|
Ry.methods.remove(G);
|
|
53809
53809
|
}
|
|
53810
53810
|
return (G, _e) => (ue(), ju(Iq, {
|
|
@@ -53816,12 +53816,12 @@ const tie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
|
|
|
53816
53816
|
class: "fixed z-[1060] w-full max-w-xs space-y-4 top-4 right-4"
|
|
53817
53817
|
}, {
|
|
53818
53818
|
default: Cm(() => [
|
|
53819
|
-
(ue(!0), de(jn, null, Ks(Lq(Ry).state.items, (
|
|
53820
|
-
key:
|
|
53821
|
-
message:
|
|
53822
|
-
type:
|
|
53823
|
-
duration:
|
|
53824
|
-
onRemove: (xe) =>
|
|
53819
|
+
(ue(!0), de(jn, null, Ks(Lq(Ry).state.items, (oe, Z) => (ue(), ju(cre, {
|
|
53820
|
+
key: oe.key,
|
|
53821
|
+
message: oe.message,
|
|
53822
|
+
type: oe.type,
|
|
53823
|
+
duration: oe.duration,
|
|
53824
|
+
onRemove: (xe) => te(Z)
|
|
53825
53825
|
}, null, 8, ["message", "type", "duration", "onRemove"]))), 128))
|
|
53826
53826
|
]),
|
|
53827
53827
|
_: 1
|
|
@@ -53843,7 +53843,7 @@ const tie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
|
|
|
53843
53843
|
], mre = { class: "absolute z-10 mt-6 origin-top-right bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600" }, fre = {
|
|
53844
53844
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
53845
53845
|
"aria-labelledby": "dropdownDividerButton"
|
|
53846
|
-
}, gre = { key: 0 }, hre = ["href"], pre = /* @__PURE__ */ R("i", { class: "mr-2 fa-solid fa-list-ul opacity-80" }, null, -1), bre = { key: 1 }, vre = /* @__PURE__ */ R("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1),
|
|
53846
|
+
}, gre = { key: 0 }, hre = ["href"], pre = /* @__PURE__ */ R("i", { class: "mr-2 fa-solid fa-list-ul opacity-80" }, null, -1), bre = { key: 1 }, vre = /* @__PURE__ */ R("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), sie = {
|
|
53847
53847
|
__name: "DatatableAction",
|
|
53848
53848
|
props: {
|
|
53849
53849
|
field: {
|
|
@@ -53868,16 +53868,16 @@ const tie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
|
|
|
53868
53868
|
}
|
|
53869
53869
|
},
|
|
53870
53870
|
emits: ["deleteAction"],
|
|
53871
|
-
setup(A, { emit:
|
|
53872
|
-
const G = A, _e = co(!1),
|
|
53871
|
+
setup(A, { emit: te }) {
|
|
53872
|
+
const G = A, _e = co(!1), oe = co(!1), Z = () => {
|
|
53873
53873
|
_e.value = !1;
|
|
53874
53874
|
}, xe = () => {
|
|
53875
53875
|
_e.value = !0;
|
|
53876
53876
|
}, K = () => {
|
|
53877
|
-
|
|
53877
|
+
oe.value = !1;
|
|
53878
53878
|
}, $e = () => {
|
|
53879
|
-
|
|
53880
|
-
}, lt =
|
|
53879
|
+
oe.value = !0;
|
|
53880
|
+
}, lt = te, yt = () => {
|
|
53881
53881
|
axios.delete(`${G.xprops.route}/${G.row.id}`).then(() => {
|
|
53882
53882
|
K(), lt("deleteAction"), Ry.methods.add({
|
|
53883
53883
|
message: "Item deleted successfully.",
|
|
@@ -53892,7 +53892,7 @@ const tie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
|
|
|
53892
53892
|
const io = Bj("click-outside");
|
|
53893
53893
|
return ue(), de(jn, null, [
|
|
53894
53894
|
ui(GB, {
|
|
53895
|
-
isOpen:
|
|
53895
|
+
isOpen: oe.value,
|
|
53896
53896
|
onConfirmDelete: yt,
|
|
53897
53897
|
onCancelDelete: K
|
|
53898
53898
|
}, null, 8, ["isOpen"]),
|
|
@@ -53949,7 +53949,7 @@ const tie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
|
|
|
53949
53949
|
], Cre = { class: "absolute z-10 mt-5 origin-top-right bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600" }, _re = {
|
|
53950
53950
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
53951
53951
|
"aria-labelledby": "dropdownDividerButton"
|
|
53952
|
-
}, Sre = { key: 0 }, kre = /* @__PURE__ */ R("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1),
|
|
53952
|
+
}, Sre = { key: 0 }, kre = /* @__PURE__ */ R("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1), rie = {
|
|
53953
53953
|
__name: "DatatableDeleteAction",
|
|
53954
53954
|
props: {
|
|
53955
53955
|
field: {
|
|
@@ -53974,16 +53974,16 @@ const tie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
|
|
|
53974
53974
|
}
|
|
53975
53975
|
},
|
|
53976
53976
|
emits: ["deleteAction"],
|
|
53977
|
-
setup(A, { emit:
|
|
53978
|
-
const G = A, _e = co(!1),
|
|
53977
|
+
setup(A, { emit: te }) {
|
|
53978
|
+
const G = A, _e = co(!1), oe = co(!1), Z = () => {
|
|
53979
53979
|
_e.value = !1;
|
|
53980
53980
|
}, xe = () => {
|
|
53981
53981
|
_e.value = !0;
|
|
53982
53982
|
}, K = () => {
|
|
53983
|
-
|
|
53983
|
+
oe.value = !1;
|
|
53984
53984
|
}, $e = () => {
|
|
53985
|
-
|
|
53986
|
-
}, lt =
|
|
53985
|
+
oe.value = !0;
|
|
53986
|
+
}, lt = te, yt = () => {
|
|
53987
53987
|
axios.delete(`${G.xprops.route}/${G.row.id}`).then(() => {
|
|
53988
53988
|
K(), lt("deleteAction"), Ry.methods.add({
|
|
53989
53989
|
message: "Item deleted successfully.",
|
|
@@ -53998,7 +53998,7 @@ const tie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
|
|
|
53998
53998
|
const io = Bj("click-outside");
|
|
53999
53999
|
return ue(), de(jn, null, [
|
|
54000
54000
|
ui(GB, {
|
|
54001
|
-
isOpen:
|
|
54001
|
+
isOpen: oe.value,
|
|
54002
54002
|
onConfirmDelete: yt,
|
|
54003
54003
|
onCancelDelete: K
|
|
54004
54004
|
}, null, 8, ["isOpen"]),
|
|
@@ -54046,7 +54046,7 @@ const tie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
|
|
|
54046
54046
|
], Dre = { class: "absolute z-10 mt-6 origin-top-right bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600" }, Ore = {
|
|
54047
54047
|
class: "py-2 text-sm text-gray-700 dark:text-gray-200",
|
|
54048
54048
|
"aria-labelledby": "dropdownDividerButton"
|
|
54049
|
-
}, Rre = { key: 0 }, $re = /* @__PURE__ */ R("i", { class: "mr-1 fa-solid fa-pen-to-square opacity-80" }, null, -1), Mre = { key: 1 }, Pre = /* @__PURE__ */ R("i", { class: "mr-1 fa-solid fa-trash-can opacity-80" }, null, -1),
|
|
54049
|
+
}, Rre = { key: 0 }, $re = /* @__PURE__ */ R("i", { class: "mr-1 fa-solid fa-pen-to-square opacity-80" }, null, -1), Mre = { key: 1 }, Pre = /* @__PURE__ */ R("i", { class: "mr-1 fa-solid fa-trash-can opacity-80" }, null, -1), aie = {
|
|
54050
54050
|
__name: "DatatableDeleteEditAction",
|
|
54051
54051
|
props: {
|
|
54052
54052
|
field: {
|
|
@@ -54071,16 +54071,16 @@ const tie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
|
|
|
54071
54071
|
}
|
|
54072
54072
|
},
|
|
54073
54073
|
emits: ["deleteAction", "editAction"],
|
|
54074
|
-
setup(A, { emit:
|
|
54075
|
-
const G = A, _e = co(!1),
|
|
54076
|
-
|
|
54074
|
+
setup(A, { emit: te }) {
|
|
54075
|
+
const G = A, _e = co(!1), oe = co(!1), Z = () => {
|
|
54076
|
+
oe.value = !1;
|
|
54077
54077
|
}, xe = () => {
|
|
54078
|
-
|
|
54078
|
+
oe.value = !0;
|
|
54079
54079
|
}, K = () => {
|
|
54080
54080
|
_e.value = !1;
|
|
54081
54081
|
}, $e = () => {
|
|
54082
54082
|
_e.value = !0;
|
|
54083
|
-
}, lt =
|
|
54083
|
+
}, lt = te, yt = (Et) => {
|
|
54084
54084
|
lt("editAction", Et);
|
|
54085
54085
|
}, hn = () => {
|
|
54086
54086
|
axios.delete(`${G.xprops.route}/${G.row.id}`).then(() => {
|
|
@@ -54097,7 +54097,7 @@ const tie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
|
|
|
54097
54097
|
const lo = Bj("click-outside");
|
|
54098
54098
|
return ue(), de(jn, null, [
|
|
54099
54099
|
ui(GB, {
|
|
54100
|
-
isOpen:
|
|
54100
|
+
isOpen: oe.value,
|
|
54101
54101
|
onConfirmDelete: hn,
|
|
54102
54102
|
onCancelDelete: Z
|
|
54103
54103
|
}, null, 8, ["isOpen"]),
|
|
@@ -54192,7 +54192,7 @@ const tie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
|
|
|
54192
54192
|
"clip-rule": "evenodd"
|
|
54193
54193
|
})
|
|
54194
54194
|
], -1);
|
|
54195
|
-
function Vre(A,
|
|
54195
|
+
function Vre(A, te, G, _e, oe, Z) {
|
|
54196
54196
|
return ue(), de("div", null, [
|
|
54197
54197
|
Z.isArray ? (ue(!0), de(jn, { key: 0 }, Ks(G.row, (xe, K) => (ue(), de("div", {
|
|
54198
54198
|
key: K,
|
|
@@ -54220,7 +54220,7 @@ function Vre(A, oe, G, _e, ne, Z) {
|
|
|
54220
54220
|
])) : qe("", !0)
|
|
54221
54221
|
]);
|
|
54222
54222
|
}
|
|
54223
|
-
const
|
|
54223
|
+
const lie = /* @__PURE__ */ zr(Bre, [["render", Vre]]), zre = {
|
|
54224
54224
|
props: ["field", "row"],
|
|
54225
54225
|
computed: {
|
|
54226
54226
|
isArray() {
|
|
@@ -54268,7 +54268,7 @@ const aie = /* @__PURE__ */ zr(Bre, [["render", Vre]]), zre = {
|
|
|
54268
54268
|
"clip-rule": "evenodd"
|
|
54269
54269
|
})
|
|
54270
54270
|
], -1);
|
|
54271
|
-
function qre(A,
|
|
54271
|
+
function qre(A, te, G, _e, oe, Z) {
|
|
54272
54272
|
return Z.isArray ? (ue(!0), de(jn, { key: 0 }, Ks(G.row[G.field], (xe) => (ue(), de("div", {
|
|
54273
54273
|
key: xe.id,
|
|
54274
54274
|
class: "m-1 d-inline-block"
|
|
@@ -54294,10 +54294,10 @@ function qre(A, oe, G, _e, ne, Z) {
|
|
|
54294
54294
|
], 8, jre)
|
|
54295
54295
|
])) : qe("", !0);
|
|
54296
54296
|
}
|
|
54297
|
-
const
|
|
54297
|
+
const cie = /* @__PURE__ */ zr(zre, [["render", qre]]), Kre = {
|
|
54298
54298
|
props: ["field", "row", "tdProps"]
|
|
54299
54299
|
}, Yre = { key: 0 }, Xre = ["innerHTML"];
|
|
54300
|
-
function Jre(A,
|
|
54300
|
+
function Jre(A, te, G, _e, oe, Z) {
|
|
54301
54301
|
return G.row[G.field] ? (ue(), de("div", Yre, [
|
|
54302
54302
|
R("div", {
|
|
54303
54303
|
class: "w-full",
|
|
@@ -54305,12 +54305,12 @@ function Jre(A, oe, G, _e, ne, Z) {
|
|
|
54305
54305
|
}, null, 8, Xre)
|
|
54306
54306
|
])) : qe("", !0);
|
|
54307
54307
|
}
|
|
54308
|
-
const
|
|
54308
|
+
const iie = /* @__PURE__ */ zr(Kre, [["render", Jre]]), Qre = {
|
|
54309
54309
|
props: ["field", "row", "tdProps"],
|
|
54310
54310
|
computed: {
|
|
54311
54311
|
entry() {
|
|
54312
|
-
const [A,
|
|
54313
|
-
return Fq({ key: A, field:
|
|
54312
|
+
const [A, te] = this.field.split(".");
|
|
54313
|
+
return Fq({ key: A, field: te });
|
|
54314
54314
|
},
|
|
54315
54315
|
isArray() {
|
|
54316
54316
|
return Array.isArray(this.row[this.entry.key]);
|
|
@@ -54326,7 +54326,7 @@ const cie = /* @__PURE__ */ zr(Kre, [["render", Jre]]), Qre = {
|
|
|
54326
54326
|
key: 1,
|
|
54327
54327
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
54328
54328
|
};
|
|
54329
|
-
function nae(A,
|
|
54329
|
+
function nae(A, te, G, _e, oe, Z) {
|
|
54330
54330
|
return this.row[this.entry.key] ? (ue(), de("div", eae, [
|
|
54331
54331
|
Z.isArray ? (ue(!0), de(jn, { key: 0 }, Ks(G.row[Z.entry.key], (xe, K) => (ue(), de("span", {
|
|
54332
54332
|
key: K,
|
|
@@ -54334,12 +54334,12 @@ function nae(A, oe, G, _e, ne, Z) {
|
|
|
54334
54334
|
}, dt(xe[Z.entry.field]), 1))), 128)) : Z.isObject ? (ue(), de("span", tae, dt(G.row[Z.entry.key][Z.entry.field]), 1)) : qe("", !0)
|
|
54335
54335
|
])) : qe("", !0);
|
|
54336
54336
|
}
|
|
54337
|
-
const
|
|
54337
|
+
const uie = /* @__PURE__ */ zr(Qre, [["render", nae]]), oae = {
|
|
54338
54338
|
props: ["field", "row", "tdProps"],
|
|
54339
54339
|
computed: {
|
|
54340
54340
|
entry() {
|
|
54341
|
-
const A = this.field.split("."),
|
|
54342
|
-
return { keys: A, field:
|
|
54341
|
+
const A = this.field.split("."), te = A.pop();
|
|
54342
|
+
return { keys: A, field: te };
|
|
54343
54343
|
},
|
|
54344
54344
|
isArray() {
|
|
54345
54345
|
return Array.isArray(this.getNestedValue(this.row, this.entry.keys));
|
|
@@ -54349,15 +54349,15 @@ const iie = /* @__PURE__ */ zr(Qre, [["render", nae]]), oae = {
|
|
|
54349
54349
|
}
|
|
54350
54350
|
},
|
|
54351
54351
|
methods: {
|
|
54352
|
-
getNestedValue(A,
|
|
54353
|
-
return
|
|
54352
|
+
getNestedValue(A, te) {
|
|
54353
|
+
return te.reduce((G, _e) => (G || {})[_e], A);
|
|
54354
54354
|
}
|
|
54355
54355
|
}
|
|
54356
54356
|
}, sae = { class: "flex flex-wrap gap-2" }, rae = {
|
|
54357
54357
|
key: 1,
|
|
54358
54358
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
54359
54359
|
};
|
|
54360
|
-
function aae(A,
|
|
54360
|
+
function aae(A, te, G, _e, oe, Z) {
|
|
54361
54361
|
return ue(), de("div", sae, [
|
|
54362
54362
|
Z.isArray ? (ue(!0), de(jn, { key: 0 }, Ks(Z.getNestedValue(G.row, Z.entry.keys), (xe, K) => (ue(), de("span", {
|
|
54363
54363
|
key: K,
|
|
@@ -54365,10 +54365,10 @@ function aae(A, oe, G, _e, ne, Z) {
|
|
|
54365
54365
|
}, dt(xe[Z.entry.field]), 1))), 128)) : Z.isObject ? (ue(), de("span", rae, dt(Z.getNestedValue(G.row, Z.entry.keys)[Z.entry.field]), 1)) : qe("", !0)
|
|
54366
54366
|
]);
|
|
54367
54367
|
}
|
|
54368
|
-
const
|
|
54368
|
+
const die = /* @__PURE__ */ zr(oae, [["render", aae]]), lae = {
|
|
54369
54369
|
props: ["field", "row", "tdProps"]
|
|
54370
54370
|
}, cae = { key: 0 }, iae = { class: "m-1 d-inline-block" }, uae = ["href", "title"], dae = ["src", "alt", "title"];
|
|
54371
|
-
function mae(A,
|
|
54371
|
+
function mae(A, te, G, _e, oe, Z) {
|
|
54372
54372
|
return G.row[G.field] ? (ue(), de("div", cae, [
|
|
54373
54373
|
R("div", iae, [
|
|
54374
54374
|
R("a", {
|
|
@@ -54385,7 +54385,7 @@ function mae(A, oe, G, _e, ne, Z) {
|
|
|
54385
54385
|
])
|
|
54386
54386
|
])) : qe("", !0);
|
|
54387
54387
|
}
|
|
54388
|
-
const
|
|
54388
|
+
const mie = /* @__PURE__ */ zr(lae, [["render", mae], ["__scopeId", "data-v-3a28c02c"]]), fae = {
|
|
54389
54389
|
props: ["field", "row", "tdProps"],
|
|
54390
54390
|
computed: {
|
|
54391
54391
|
isArray() {
|
|
@@ -54399,7 +54399,7 @@ const die = /* @__PURE__ */ zr(lae, [["render", mae], ["__scopeId", "data-v-3a28
|
|
|
54399
54399
|
key: 0,
|
|
54400
54400
|
class: "grid grid-cols-2 gap-4"
|
|
54401
54401
|
}, hae = ["src", "alt"], pae = { key: 1 }, bae = ["src", "alt"];
|
|
54402
|
-
function vae(A,
|
|
54402
|
+
function vae(A, te, G, _e, oe, Z) {
|
|
54403
54403
|
return Z.isArray ? (ue(), de("div", gae, [
|
|
54404
54404
|
(ue(!0), de(jn, null, Ks(G.row[G.field], (xe) => (ue(), de("div", {
|
|
54405
54405
|
key: xe.id
|
|
@@ -54418,7 +54418,7 @@ function vae(A, oe, G, _e, ne, Z) {
|
|
|
54418
54418
|
}, null, 8, bae)
|
|
54419
54419
|
])) : qe("", !0);
|
|
54420
54420
|
}
|
|
54421
|
-
const
|
|
54421
|
+
const fie = /* @__PURE__ */ zr(fae, [["render", vae]]), yae = {
|
|
54422
54422
|
props: ["field", "row", "tdProps"],
|
|
54423
54423
|
computed: {
|
|
54424
54424
|
isActive() {
|
|
@@ -54432,7 +54432,7 @@ const mie = /* @__PURE__ */ zr(fae, [["render", vae]]), yae = {
|
|
|
54432
54432
|
key: 1,
|
|
54433
54433
|
class: "inline-flex items-center px-2 py-1 bg-red-100 text-red-800 text-xs font-medium rounded-full dark:bg-red-900 dark:text-red-300"
|
|
54434
54434
|
}, Sae = /* @__PURE__ */ R("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1);
|
|
54435
|
-
function kae(A,
|
|
54435
|
+
function kae(A, te, G, _e, oe, Z) {
|
|
54436
54436
|
return ue(), de("div", wae, [
|
|
54437
54437
|
Z.isActive ? (ue(), de("span", xae, [
|
|
54438
54438
|
Cae,
|
|
@@ -54443,14 +54443,14 @@ function kae(A, oe, G, _e, ne, Z) {
|
|
|
54443
54443
|
]))
|
|
54444
54444
|
]);
|
|
54445
54445
|
}
|
|
54446
|
-
const
|
|
54446
|
+
const gie = /* @__PURE__ */ zr(yae, [["render", kae]]), Tae = {
|
|
54447
54447
|
props: ["field", "row", "tdProps"],
|
|
54448
54448
|
computed: {
|
|
54449
54449
|
hasLabelColor(A) {
|
|
54450
|
-
const
|
|
54450
|
+
const te = this.tdProps.status_general_labels_color.find(
|
|
54451
54451
|
(G) => G.label === this.row[this.field]
|
|
54452
54452
|
);
|
|
54453
|
-
return
|
|
54453
|
+
return te ? te.class : "";
|
|
54454
54454
|
}
|
|
54455
54455
|
}
|
|
54456
54456
|
}, Eae = { class: "flex flex-wrap gap-2 text-nowrap" }, Aae = {
|
|
@@ -54472,7 +54472,7 @@ const fie = /* @__PURE__ */ zr(yae, [["render", kae]]), Tae = {
|
|
|
54472
54472
|
/* @__PURE__ */ R("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
54473
54473
|
/* @__PURE__ */ R("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
54474
54474
|
], -1);
|
|
54475
|
-
function Lae(A,
|
|
54475
|
+
function Lae(A, te, G, _e, oe, Z) {
|
|
54476
54476
|
return ue(), de("div", Eae, [
|
|
54477
54477
|
Z.hasLabelColor == "green" ? (ue(), de("span", Aae, [
|
|
54478
54478
|
Dae,
|
|
@@ -54496,7 +54496,7 @@ function Lae(A, oe, G, _e, ne, Z) {
|
|
|
54496
54496
|
])) : qe("", !0)
|
|
54497
54497
|
]);
|
|
54498
54498
|
}
|
|
54499
|
-
const
|
|
54499
|
+
const hie = /* @__PURE__ */ zr(Tae, [["render", Lae]]), Fae = {
|
|
54500
54500
|
props: ["field", "row", "tdProps"],
|
|
54501
54501
|
computed: {
|
|
54502
54502
|
hasLabelColor() {
|
|
@@ -54518,7 +54518,7 @@ const gie = /* @__PURE__ */ zr(Tae, [["render", Lae]]), Fae = {
|
|
|
54518
54518
|
}
|
|
54519
54519
|
}
|
|
54520
54520
|
}, Hae = { class: "flex flex-wrap gap-2 text-nowrap lg:justify-center" };
|
|
54521
|
-
function Vae(A,
|
|
54521
|
+
function Vae(A, te, G, _e, oe, Z) {
|
|
54522
54522
|
return ue(), de("div", Hae, [
|
|
54523
54523
|
Z.hasLabelColor == "Default" ? (ue(), de("span", {
|
|
54524
54524
|
key: 0,
|
|
@@ -54554,12 +54554,12 @@ function Vae(A, oe, G, _e, ne, Z) {
|
|
|
54554
54554
|
}, dt(this.row[this.field]), 3)) : qe("", !0)
|
|
54555
54555
|
]);
|
|
54556
54556
|
}
|
|
54557
|
-
const
|
|
54557
|
+
const pie = /* @__PURE__ */ zr(Fae, [["render", Vae]]), zae = {
|
|
54558
54558
|
props: ["field", "row", "tdProps"],
|
|
54559
54559
|
computed: {
|
|
54560
54560
|
entry() {
|
|
54561
|
-
const A = this.field.split("."),
|
|
54562
|
-
return { keys: A, field:
|
|
54561
|
+
const A = this.field.split("."), te = A.pop();
|
|
54562
|
+
return { keys: A, field: te };
|
|
54563
54563
|
},
|
|
54564
54564
|
isArray() {
|
|
54565
54565
|
return Array.isArray(this.getNestedValue(this.row, this.entry.keys));
|
|
@@ -54568,14 +54568,14 @@ const hie = /* @__PURE__ */ zr(Fae, [["render", Vae]]), zae = {
|
|
|
54568
54568
|
return typeof this.getNestedValue(this.row, this.entry.keys) == "object";
|
|
54569
54569
|
},
|
|
54570
54570
|
hasLabelColor(A) {
|
|
54571
|
-
const
|
|
54571
|
+
const te = this.tdProps.status_general_labels_color.find(
|
|
54572
54572
|
(G) => G.text === this.getValue()
|
|
54573
54573
|
);
|
|
54574
|
-
return
|
|
54574
|
+
return te ? te.class : "";
|
|
54575
54575
|
},
|
|
54576
54576
|
getLabel() {
|
|
54577
54577
|
const A = this.tdProps.status_general_labels_color.find(
|
|
54578
|
-
(
|
|
54578
|
+
(te) => te.text === this.getValue()
|
|
54579
54579
|
);
|
|
54580
54580
|
return A ? A.label : "";
|
|
54581
54581
|
}
|
|
@@ -54584,8 +54584,8 @@ const hie = /* @__PURE__ */ zr(Fae, [["render", Vae]]), zae = {
|
|
|
54584
54584
|
getValue() {
|
|
54585
54585
|
return this.isObject ? this.getNestedValue(this.row, this.entry.keys)[this.entry.field] : this.row[this.field];
|
|
54586
54586
|
},
|
|
54587
|
-
getNestedValue(A,
|
|
54588
|
-
return
|
|
54587
|
+
getNestedValue(A, te) {
|
|
54588
|
+
return te.reduce((G, _e) => (G || {})[_e], A);
|
|
54589
54589
|
}
|
|
54590
54590
|
}
|
|
54591
54591
|
}, Uae = { class: "flex flex-wrap gap-2 text-nowrap" }, Wae = {
|
|
@@ -54607,7 +54607,7 @@ const hie = /* @__PURE__ */ zr(Fae, [["render", Vae]]), zae = {
|
|
|
54607
54607
|
/* @__PURE__ */ R("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
54608
54608
|
/* @__PURE__ */ R("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
54609
54609
|
], -1);
|
|
54610
|
-
function ele(A,
|
|
54610
|
+
function ele(A, te, G, _e, oe, Z) {
|
|
54611
54611
|
return ue(), de("div", Uae, [
|
|
54612
54612
|
Z.hasLabelColor == "green" ? (ue(), de("span", Wae, [
|
|
54613
54613
|
Zae,
|
|
@@ -54631,37 +54631,37 @@ function ele(A, oe, G, _e, ne, Z) {
|
|
|
54631
54631
|
])) : qe("", !0)
|
|
54632
54632
|
]);
|
|
54633
54633
|
}
|
|
54634
|
-
const
|
|
54634
|
+
const bie = /* @__PURE__ */ zr(zae, [["render", ele]]), tle = {
|
|
54635
54635
|
props: ["field", "row", "tdProps"],
|
|
54636
54636
|
computed: {
|
|
54637
54637
|
formattedDate() {
|
|
54638
54638
|
if (!this.row[this.field])
|
|
54639
54639
|
return "";
|
|
54640
|
-
const A = new Date(this.row[this.field]),
|
|
54641
|
-
let
|
|
54642
|
-
const Z = A.getMinutes(), xe = A.getSeconds(), K =
|
|
54643
|
-
return
|
|
54640
|
+
const A = new Date(this.row[this.field]), te = A.getFullYear(), G = A.toLocaleString("default", { month: "long" }), _e = A.getDate();
|
|
54641
|
+
let oe = A.getHours();
|
|
54642
|
+
const Z = A.getMinutes(), xe = A.getSeconds(), K = oe >= 12 ? "pm" : "am";
|
|
54643
|
+
return oe = oe % 12, oe = oe || 12, `${G} ${_e}, ${te}, ${oe}:${Z}:${xe} ${K}`;
|
|
54644
54644
|
}
|
|
54645
54645
|
}
|
|
54646
54646
|
}, nle = { class: "w-full" };
|
|
54647
|
-
function ole(A,
|
|
54647
|
+
function ole(A, te, G, _e, oe, Z) {
|
|
54648
54648
|
return ue(), de("div", nle, dt(Z.formattedDate), 1);
|
|
54649
54649
|
}
|
|
54650
|
-
const
|
|
54650
|
+
const vie = /* @__PURE__ */ zr(tle, [["render", ole]]), sle = {
|
|
54651
54651
|
props: ["field", "row", "tdProps"],
|
|
54652
54652
|
computed: {
|
|
54653
54653
|
formattedDate() {
|
|
54654
54654
|
if (!this.row[this.field])
|
|
54655
54655
|
return "";
|
|
54656
|
-
const A = new Date(this.row[this.field]),
|
|
54657
|
-
return `${G} ${_e}, ${
|
|
54656
|
+
const A = new Date(this.row[this.field]), te = A.getFullYear(), G = A.toLocaleString("default", { month: "long" }), _e = A.getDate();
|
|
54657
|
+
return `${G} ${_e}, ${te}`;
|
|
54658
54658
|
}
|
|
54659
54659
|
}
|
|
54660
54660
|
}, rle = { class: "w-full" };
|
|
54661
|
-
function ale(A,
|
|
54661
|
+
function ale(A, te, G, _e, oe, Z) {
|
|
54662
54662
|
return ue(), de("div", rle, dt(Z.formattedDate), 1);
|
|
54663
54663
|
}
|
|
54664
|
-
const
|
|
54664
|
+
const yie = /* @__PURE__ */ zr(sle, [["render", ale]]), lle = {
|
|
54665
54665
|
props: ["field", "row", "tdProps"]
|
|
54666
54666
|
}, cle = { class: "flex flex-wrap gap-2 text-nowrap" }, ile = {
|
|
54667
54667
|
key: 0,
|
|
@@ -54676,7 +54676,7 @@ const vie = /* @__PURE__ */ zr(sle, [["render", ale]]), lle = {
|
|
|
54676
54676
|
key: 2,
|
|
54677
54677
|
class: "inline-flex items-center px-2 py-1 text-xs font-medium text-green-800 bg-green-100 rounded-full dark:bg-green-900 dark:text-green-300"
|
|
54678
54678
|
}, gle = /* @__PURE__ */ R("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1);
|
|
54679
|
-
function hle(A,
|
|
54679
|
+
function hle(A, te, G, _e, oe, Z) {
|
|
54680
54680
|
return ue(), de("div", cle, [
|
|
54681
54681
|
G.row[G.field] === 0 ? (ue(), de("span", ile, [
|
|
54682
54682
|
ule,
|
|
@@ -54692,19 +54692,19 @@ function hle(A, oe, G, _e, ne, Z) {
|
|
|
54692
54692
|
])) : qe("", !0)
|
|
54693
54693
|
]);
|
|
54694
54694
|
}
|
|
54695
|
-
const
|
|
54695
|
+
const wie = /* @__PURE__ */ zr(lle, [["render", hle]]), ple = {
|
|
54696
54696
|
props: ["field", "row", "tdProps"]
|
|
54697
54697
|
}, ble = {
|
|
54698
54698
|
key: 0,
|
|
54699
54699
|
class: "text-nowrap w-full"
|
|
54700
54700
|
}, vle = { class: "w-full h-full p-3 mx-0 mt-0 overflow-auto font-mono text-left break-words rounded cursor-default whitespace-nowrap console_styles" };
|
|
54701
|
-
function yle(A,
|
|
54701
|
+
function yle(A, te, G, _e, oe, Z) {
|
|
54702
54702
|
return G.row[G.field] ? (ue(), de("div", ble, [
|
|
54703
54703
|
R("pre", vle, " " + dt(G.row[G.field]) + `
|
|
54704
54704
|
`, 1)
|
|
54705
54705
|
])) : qe("", !0);
|
|
54706
54706
|
}
|
|
54707
|
-
const
|
|
54707
|
+
const xie = /* @__PURE__ */ zr(ple, [["render", yle]]), wle = {
|
|
54708
54708
|
components: {
|
|
54709
54709
|
GlButton: Nj
|
|
54710
54710
|
},
|
|
@@ -54729,7 +54729,7 @@ const wie = /* @__PURE__ */ zr(ple, [["render", yle]]), wle = {
|
|
|
54729
54729
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
54730
54730
|
"aria-hidden": "true"
|
|
54731
54731
|
}, "", -1), kle = { class: "inline-block overflow-hidden text-left align-bottom transition-all transform bg-white dark:bg-gray-800 rounded-lg shadow-xl sm:my-8 sm:align-middle sm:max-w-lg sm:w-full" }, Tle = { class: "px-4 pt-5 pb-4 sm:p-6 sm:pb-4" }, Ele = { class: "sm:flex sm:items-start" }, Ale = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, Dle = { class: "text-lg font-medium leading-6" }, Ole = { class: "mt-2" }, Rle = { class: "border-t border-gray-200 rounded-b dark:border-gray-600 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse gap-2" };
|
|
54732
|
-
function $le(A,
|
|
54732
|
+
function $le(A, te, G, _e, oe, Z) {
|
|
54733
54733
|
const xe = Rd("gl-button");
|
|
54734
54734
|
return G.isOpen ? (ue(), de("div", xle, [
|
|
54735
54735
|
R("div", Cle, [
|
|
@@ -54772,7 +54772,7 @@ function $le(A, oe, G, _e, ne, Z) {
|
|
|
54772
54772
|
])
|
|
54773
54773
|
])) : qe("", !0);
|
|
54774
54774
|
}
|
|
54775
|
-
const
|
|
54775
|
+
const Cie = /* @__PURE__ */ zr(wle, [["render", $le]]), Mle = { class: "w-full" }, Ple = { class: "mb-2 flex justify-between items-center" }, Ble = { class: "text-sm font-medium text-gray-900 dark:text-white" }, Nle = { class: "relative bg-gray-50 rounded-lg dark:bg-gray-700 p-4 h-auto" }, Ile = { class: "overflow-auto max-h-32" }, Lle = { class: "text-sm text-gray-500 dark:text-gray-400" }, Fle = { class: "absolute top-2 end-2 bg-gray-50 dark:bg-gray-700" }, Hle = {
|
|
54776
54776
|
key: 0,
|
|
54777
54777
|
class: "inline-flex items-center"
|
|
54778
54778
|
}, Vle = /* @__PURE__ */ R("svg", {
|
|
@@ -54806,7 +54806,7 @@ const xie = /* @__PURE__ */ zr(wle, [["render", $le]]), Mle = { class: "w-full"
|
|
|
54806
54806
|
], -1), jle = /* @__PURE__ */ R("span", { class: "text-xs font-semibold text-blue-700 dark:text-blue-500" }, "Copied", -1), Gle = [
|
|
54807
54807
|
Zle,
|
|
54808
54808
|
jle
|
|
54809
|
-
], qle = { class: "mt-2 text-sm text-gray-500 dark:text-gray-400" },
|
|
54809
|
+
], qle = { class: "mt-2 text-sm text-gray-500 dark:text-gray-400" }, _ie = {
|
|
54810
54810
|
__name: "GlCodeCopy",
|
|
54811
54811
|
props: {
|
|
54812
54812
|
label_name: {
|
|
@@ -54823,7 +54823,7 @@ const xie = /* @__PURE__ */ zr(wle, [["render", $le]]), Mle = { class: "w-full"
|
|
|
54823
54823
|
}
|
|
54824
54824
|
},
|
|
54825
54825
|
setup(A) {
|
|
54826
|
-
const
|
|
54826
|
+
const te = A, G = co(!1), _e = (Z) => {
|
|
54827
54827
|
navigator.clipboard.writeText(Z).then(function() {
|
|
54828
54828
|
G.value = !0, setTimeout(() => {
|
|
54829
54829
|
G.value = !1;
|
|
@@ -54831,18 +54831,18 @@ const xie = /* @__PURE__ */ zr(wle, [["render", $le]]), Mle = { class: "w-full"
|
|
|
54831
54831
|
}).catch(function(xe) {
|
|
54832
54832
|
console.error("Error copying to clipboard: ", xe);
|
|
54833
54833
|
});
|
|
54834
|
-
},
|
|
54834
|
+
}, oe = bu(() => te.code);
|
|
54835
54835
|
return (Z, xe) => (ue(), de("div", Mle, [
|
|
54836
54836
|
R("div", Ple, [
|
|
54837
54837
|
R("p", Ble, dt(A.label_name), 1)
|
|
54838
54838
|
]),
|
|
54839
54839
|
R("div", Nle, [
|
|
54840
54840
|
R("div", Ile, [
|
|
54841
|
-
R("code", Lle, dt(
|
|
54841
|
+
R("code", Lle, dt(oe.value), 1)
|
|
54842
54842
|
]),
|
|
54843
54843
|
R("div", Fle, [
|
|
54844
54844
|
R("button", {
|
|
54845
|
-
onClick: xe[0] || (xe[0] = (K) => _e(
|
|
54845
|
+
onClick: xe[0] || (xe[0] = (K) => _e(oe.value)),
|
|
54846
54846
|
class: "text-gray-900 dark:text-gray-400 m-1 hover:bg-gray-100 dark:bg-gray-800 dark:border-gray-600 dark:hover:bg-gray-700 rounded-lg py-2 px-3 inline-flex items-center justify-center bg-white border-gray-200 border"
|
|
54847
54847
|
}, [
|
|
54848
54848
|
G.value ? qe("", !0) : (ue(), de("span", Hle, Ule)),
|
|
@@ -54882,7 +54882,7 @@ const xie = /* @__PURE__ */ zr(wle, [["render", $le]]), Mle = { class: "w-full"
|
|
|
54882
54882
|
})
|
|
54883
54883
|
], -1), lce = [
|
|
54884
54884
|
ace
|
|
54885
|
-
], cce = { class: "mt-2 text-sm text-gray-500 dark:text-gray-400" },
|
|
54885
|
+
], cce = { class: "mt-2 text-sm text-gray-500 dark:text-gray-400" }, Sie = {
|
|
54886
54886
|
__name: "GlTextCopy",
|
|
54887
54887
|
props: {
|
|
54888
54888
|
label_name: {
|
|
@@ -54903,7 +54903,7 @@ const xie = /* @__PURE__ */ zr(wle, [["render", $le]]), Mle = { class: "w-full"
|
|
|
54903
54903
|
}
|
|
54904
54904
|
},
|
|
54905
54905
|
setup(A) {
|
|
54906
|
-
const
|
|
54906
|
+
const te = A, G = co(!1), _e = (Z) => {
|
|
54907
54907
|
navigator.clipboard.writeText(Z).then(function() {
|
|
54908
54908
|
G.value = !0, setTimeout(() => {
|
|
54909
54909
|
G.value = !1;
|
|
@@ -54911,7 +54911,7 @@ const xie = /* @__PURE__ */ zr(wle, [["render", $le]]), Mle = { class: "w-full"
|
|
|
54911
54911
|
}).catch(function(xe) {
|
|
54912
54912
|
console.error("Error copying to clipboard: ", xe);
|
|
54913
54913
|
});
|
|
54914
|
-
},
|
|
54914
|
+
}, oe = bu(() => te.code);
|
|
54915
54915
|
return (Z, xe) => (ue(), de("div", Kle, [
|
|
54916
54916
|
R("div", Yle, [
|
|
54917
54917
|
R("label", Xle, dt(A.label_name), 1)
|
|
@@ -54923,14 +54923,14 @@ const xie = /* @__PURE__ */ zr(wle, [["render", $le]]), Mle = { class: "w-full"
|
|
|
54923
54923
|
type: "text",
|
|
54924
54924
|
"aria-describedby": "helper-text-explanation",
|
|
54925
54925
|
class: "bg-gray-50 border border-e-0 border-gray-300 text-gray-500 dark:text-gray-400 text-sm border-s-0 focus:ring-blue-500 focus:border-blue-500 block w-full p-2 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500",
|
|
54926
|
-
value:
|
|
54926
|
+
value: oe.value,
|
|
54927
54927
|
readonly: "",
|
|
54928
54928
|
disabled: ""
|
|
54929
54929
|
}, null, 8, tce)
|
|
54930
54930
|
]),
|
|
54931
54931
|
R("button", {
|
|
54932
54932
|
style: { padding: ".61rem" },
|
|
54933
|
-
onClick: xe[0] || (xe[0] = (K) => _e(
|
|
54933
|
+
onClick: xe[0] || (xe[0] = (K) => _e(oe.value)),
|
|
54934
54934
|
class: "flex-shrink-0 z-10 inline-flex items-center px-4 text-sm font-medium text-center text-white bg-blue-700 rounded-e-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 border border-blue-700 dark:border-blue-600 hover:border-blue-800 dark:hover:border-blue-700",
|
|
54935
54935
|
type: "button"
|
|
54936
54936
|
}, [
|
|
@@ -54953,7 +54953,7 @@ const xie = /* @__PURE__ */ zr(wle, [["render", $le]]), Mle = { class: "w-full"
|
|
|
54953
54953
|
}, fce = /* @__PURE__ */ R("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1), gce = {
|
|
54954
54954
|
key: 2,
|
|
54955
54955
|
class: "inline-flex items-center px-2 py-1 bg-red-100 text-red-800 text-xs font-medium rounded-full dark:bg-red-900 dark:text-red-300"
|
|
54956
|
-
}, hce = /* @__PURE__ */ R("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1),
|
|
54956
|
+
}, hce = /* @__PURE__ */ R("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1), kie = {
|
|
54957
54957
|
__name: "StatusRunningSuccessFailed",
|
|
54958
54958
|
props: {
|
|
54959
54959
|
status: {
|
|
@@ -54962,7 +54962,7 @@ const xie = /* @__PURE__ */ zr(wle, [["render", $le]]), Mle = { class: "w-full"
|
|
|
54962
54962
|
}
|
|
54963
54963
|
},
|
|
54964
54964
|
setup(A) {
|
|
54965
|
-
return (
|
|
54965
|
+
return (te, G) => (ue(), de("div", ice, [
|
|
54966
54966
|
A.status === 0 ? (ue(), de("span", uce, [
|
|
54967
54967
|
dce,
|
|
54968
54968
|
Zn(" Running")
|
|
@@ -55001,7 +55001,7 @@ const xie = /* @__PURE__ */ zr(wle, [["render", $le]]), Mle = { class: "w-full"
|
|
|
55001
55001
|
fill: "currentColor"
|
|
55002
55002
|
}, null, -1), kce = [
|
|
55003
55003
|
Sce
|
|
55004
|
-
],
|
|
55004
|
+
], Tie = {
|
|
55005
55005
|
__name: "StatusConnectingConnectedDisconnected",
|
|
55006
55006
|
props: {
|
|
55007
55007
|
status: {
|
|
@@ -55010,11 +55010,11 @@ const xie = /* @__PURE__ */ zr(wle, [["render", $le]]), Mle = { class: "w-full"
|
|
|
55010
55010
|
}
|
|
55011
55011
|
},
|
|
55012
55012
|
emits: ["reconnect"],
|
|
55013
|
-
setup(A, { emit:
|
|
55014
|
-
const G =
|
|
55013
|
+
setup(A, { emit: te }) {
|
|
55014
|
+
const G = te, _e = () => {
|
|
55015
55015
|
G("reconnect");
|
|
55016
55016
|
};
|
|
55017
|
-
return (
|
|
55017
|
+
return (oe, Z) => (ue(), de("div", pce, [
|
|
55018
55018
|
A.status === 0 ? (ue(), de("span", bce, [
|
|
55019
55019
|
vce,
|
|
55020
55020
|
Zn(" Connecting")
|
|
@@ -55035,75 +55035,224 @@ const xie = /* @__PURE__ */ zr(wle, [["render", $le]]), Mle = { class: "w-full"
|
|
|
55035
55035
|
])
|
|
55036
55036
|
]));
|
|
55037
55037
|
}
|
|
55038
|
-
},
|
|
55039
|
-
beforeMount: (A,
|
|
55038
|
+
}, Eie = {
|
|
55039
|
+
beforeMount: (A, te) => {
|
|
55040
55040
|
A.clickOutsideEvent = (G) => {
|
|
55041
|
-
A == G.target || A.contains(G.target) ||
|
|
55041
|
+
A == G.target || A.contains(G.target) || te.value(G, A);
|
|
55042
55042
|
}, document.addEventListener("click", A.clickOutsideEvent);
|
|
55043
55043
|
},
|
|
55044
55044
|
unmounted: (A) => {
|
|
55045
55045
|
document.removeEventListener("click", A.clickOutsideEvent);
|
|
55046
55046
|
}
|
|
55047
55047
|
};
|
|
55048
|
+
class Tce {
|
|
55049
|
+
/**
|
|
55050
|
+
* Create a new Errors instance.
|
|
55051
|
+
*/
|
|
55052
|
+
constructor() {
|
|
55053
|
+
this.errors = {};
|
|
55054
|
+
}
|
|
55055
|
+
// to get all errors
|
|
55056
|
+
all() {
|
|
55057
|
+
return this.errors;
|
|
55058
|
+
}
|
|
55059
|
+
/**
|
|
55060
|
+
* Determine if an errors exists for the given field.
|
|
55061
|
+
*
|
|
55062
|
+
* @param {string} field
|
|
55063
|
+
*/
|
|
55064
|
+
has(te) {
|
|
55065
|
+
return this.errors.hasOwnProperty(te);
|
|
55066
|
+
}
|
|
55067
|
+
/**
|
|
55068
|
+
* Determine if we have any errors.
|
|
55069
|
+
*/
|
|
55070
|
+
any() {
|
|
55071
|
+
return Object.keys(this.errors).length > 0;
|
|
55072
|
+
}
|
|
55073
|
+
/**
|
|
55074
|
+
* Retrieve the error message for a field.
|
|
55075
|
+
*
|
|
55076
|
+
* @param {string} field
|
|
55077
|
+
*/
|
|
55078
|
+
get(te) {
|
|
55079
|
+
if (this.errors[te])
|
|
55080
|
+
return this.errors[te][0];
|
|
55081
|
+
}
|
|
55082
|
+
/**
|
|
55083
|
+
* Record the new errors.
|
|
55084
|
+
*
|
|
55085
|
+
* @param {object} errors
|
|
55086
|
+
*/
|
|
55087
|
+
record(te) {
|
|
55088
|
+
this.errors = te;
|
|
55089
|
+
}
|
|
55090
|
+
/**
|
|
55091
|
+
* Clear one or all error fields.
|
|
55092
|
+
*
|
|
55093
|
+
* @param {string|null} field
|
|
55094
|
+
*/
|
|
55095
|
+
clear(te) {
|
|
55096
|
+
if (te) {
|
|
55097
|
+
delete this.errors[te];
|
|
55098
|
+
return;
|
|
55099
|
+
}
|
|
55100
|
+
this.errors = {};
|
|
55101
|
+
}
|
|
55102
|
+
}
|
|
55103
|
+
class Aie {
|
|
55104
|
+
/**
|
|
55105
|
+
* Create a new Form instance.
|
|
55106
|
+
*
|
|
55107
|
+
* @param {object} data
|
|
55108
|
+
*/
|
|
55109
|
+
constructor(te) {
|
|
55110
|
+
this.originalData = te;
|
|
55111
|
+
for (let G in te)
|
|
55112
|
+
this[G] = te[G];
|
|
55113
|
+
this.errors = new Tce();
|
|
55114
|
+
}
|
|
55115
|
+
/**
|
|
55116
|
+
* Fetch all relevant data for the form.
|
|
55117
|
+
*/
|
|
55118
|
+
data() {
|
|
55119
|
+
let te = {};
|
|
55120
|
+
for (let G in this.originalData)
|
|
55121
|
+
te[G] = this[G];
|
|
55122
|
+
return te;
|
|
55123
|
+
}
|
|
55124
|
+
/**
|
|
55125
|
+
* Reset the form fields.
|
|
55126
|
+
*/
|
|
55127
|
+
reset() {
|
|
55128
|
+
for (let te in this.originalData)
|
|
55129
|
+
this[te] = "";
|
|
55130
|
+
this.errors.clear();
|
|
55131
|
+
}
|
|
55132
|
+
/**
|
|
55133
|
+
* Send a POST request to the given URL.
|
|
55134
|
+
* .
|
|
55135
|
+
* @param {string} url
|
|
55136
|
+
*/
|
|
55137
|
+
post(te) {
|
|
55138
|
+
return this.submit("post", te);
|
|
55139
|
+
}
|
|
55140
|
+
/**
|
|
55141
|
+
* Send a PUT request to the given URL.
|
|
55142
|
+
* .
|
|
55143
|
+
* @param {string} url
|
|
55144
|
+
*/
|
|
55145
|
+
put(te) {
|
|
55146
|
+
return this.submit("put", te);
|
|
55147
|
+
}
|
|
55148
|
+
/**
|
|
55149
|
+
* Send a PATCH request to the given URL.
|
|
55150
|
+
* .
|
|
55151
|
+
* @param {string} url
|
|
55152
|
+
*/
|
|
55153
|
+
patch(te) {
|
|
55154
|
+
return this.submit("patch", te);
|
|
55155
|
+
}
|
|
55156
|
+
/**
|
|
55157
|
+
* Send a DELETE request to the given URL.
|
|
55158
|
+
* .
|
|
55159
|
+
* @param {string} url
|
|
55160
|
+
*/
|
|
55161
|
+
delete(te) {
|
|
55162
|
+
return this.submit("delete", te);
|
|
55163
|
+
}
|
|
55164
|
+
/**
|
|
55165
|
+
* Submit the form.
|
|
55166
|
+
*
|
|
55167
|
+
* @param {string} requestType
|
|
55168
|
+
* @param {string} url
|
|
55169
|
+
*/
|
|
55170
|
+
submit(te, G) {
|
|
55171
|
+
return new Promise((_e, oe) => {
|
|
55172
|
+
axios[te](G, this.data()).then((Z) => {
|
|
55173
|
+
this.onSuccess(Z.data), _e(Z.data);
|
|
55174
|
+
}).catch((Z) => {
|
|
55175
|
+
this.onFail(Z.response.data), oe(Z.response.data);
|
|
55176
|
+
});
|
|
55177
|
+
});
|
|
55178
|
+
}
|
|
55179
|
+
/**
|
|
55180
|
+
* Handle a successful form submission.
|
|
55181
|
+
*
|
|
55182
|
+
* @param {object} data
|
|
55183
|
+
*/
|
|
55184
|
+
onSuccess(te) {
|
|
55185
|
+
alert(te.message), this.reset();
|
|
55186
|
+
}
|
|
55187
|
+
/**
|
|
55188
|
+
* Handle a failed form submission.
|
|
55189
|
+
*
|
|
55190
|
+
* @param {object} errors
|
|
55191
|
+
*/
|
|
55192
|
+
onFail(te) {
|
|
55193
|
+
this.errors.record(te);
|
|
55194
|
+
}
|
|
55195
|
+
}
|
|
55048
55196
|
export {
|
|
55049
|
-
|
|
55050
|
-
|
|
55051
|
-
|
|
55052
|
-
|
|
55053
|
-
|
|
55054
|
-
|
|
55055
|
-
|
|
55056
|
-
|
|
55197
|
+
Eie as ClickOutsideDirective,
|
|
55198
|
+
bie as DatatableStatusTextLabelGeneral,
|
|
55199
|
+
Aie as Form,
|
|
55200
|
+
xie as GLDatatableCommand,
|
|
55201
|
+
yie as GLDatatableDate,
|
|
55202
|
+
vie as GLDatatableDateTime,
|
|
55203
|
+
wie as GLDatatableStatusServer,
|
|
55204
|
+
nie as GlAccordion,
|
|
55205
|
+
tie as GlAccordionsWrapper,
|
|
55057
55206
|
Nj as GlButton,
|
|
55058
|
-
|
|
55059
|
-
|
|
55060
|
-
|
|
55061
|
-
|
|
55062
|
-
|
|
55063
|
-
|
|
55064
|
-
|
|
55065
|
-
|
|
55066
|
-
|
|
55067
|
-
|
|
55068
|
-
|
|
55069
|
-
|
|
55070
|
-
|
|
55071
|
-
|
|
55072
|
-
|
|
55073
|
-
|
|
55074
|
-
|
|
55075
|
-
|
|
55076
|
-
|
|
55077
|
-
|
|
55078
|
-
|
|
55079
|
-
|
|
55207
|
+
Rce as GlCard,
|
|
55208
|
+
_ie as GlCodeCopy,
|
|
55209
|
+
Cie as GlConfirmationModal,
|
|
55210
|
+
Qce as GlDataTable,
|
|
55211
|
+
Xce as GlDataTableComponent,
|
|
55212
|
+
Yce as GlDataTableServerSide,
|
|
55213
|
+
Jce as GlDataTableServerSideGroupBy,
|
|
55214
|
+
sie as GlDatatableAction,
|
|
55215
|
+
eie as GlDatatableConvertCronToHuman,
|
|
55216
|
+
rie as GlDatatableDeleteAction,
|
|
55217
|
+
aie as GlDatatableDeleteEditAction,
|
|
55218
|
+
lie as GlDatatableFileDownload,
|
|
55219
|
+
cie as GlDatatableFiles,
|
|
55220
|
+
iie as GlDatatableHtml,
|
|
55221
|
+
uie as GlDatatableList,
|
|
55222
|
+
die as GlDatatableListNested,
|
|
55223
|
+
mie as GlDatatablePicture,
|
|
55224
|
+
fie as GlDatatablePictures,
|
|
55225
|
+
gie as GlDatatableStatus,
|
|
55226
|
+
hie as GlDatatableStatusGeneral,
|
|
55227
|
+
pie as GlDatatableStatusSpecficColor,
|
|
55228
|
+
Ice as GlDateRangePicker,
|
|
55080
55229
|
GB as GlDeleteConfirmationModal,
|
|
55081
55230
|
nte as GlDropdown,
|
|
55082
55231
|
qte as GlDynamicConfirmation,
|
|
55083
|
-
|
|
55084
|
-
|
|
55085
|
-
|
|
55086
|
-
|
|
55087
|
-
|
|
55088
|
-
|
|
55089
|
-
|
|
55090
|
-
|
|
55091
|
-
|
|
55092
|
-
|
|
55093
|
-
|
|
55094
|
-
|
|
55232
|
+
Dce as GlFilesUpload,
|
|
55233
|
+
Oce as GlLanguageSelector,
|
|
55234
|
+
Uce as GlModal,
|
|
55235
|
+
Zce as GlModalShow,
|
|
55236
|
+
Wce as GlModalWithoutOverflow,
|
|
55237
|
+
Vce as GlMultiItemSlide,
|
|
55238
|
+
zce as GlMultiItemSlideDynamic,
|
|
55239
|
+
$ce as GlMultiSelectDropdown,
|
|
55240
|
+
Tie as GlStatusConnectingConnectedDisconnected,
|
|
55241
|
+
kie as GlStatusRunningSuccessFailed,
|
|
55242
|
+
Hce as GlTab,
|
|
55243
|
+
Fce as GlTabsWrapper,
|
|
55095
55244
|
iq as GlTailwindPagination,
|
|
55096
|
-
|
|
55245
|
+
Sie as GlTextCopy,
|
|
55097
55246
|
LY as GlTextInput,
|
|
55098
|
-
|
|
55099
|
-
|
|
55100
|
-
|
|
55101
|
-
|
|
55102
|
-
|
|
55103
|
-
|
|
55104
|
-
|
|
55247
|
+
Lce as GlTextInputFile,
|
|
55248
|
+
Nce as GlTextInputWithText,
|
|
55249
|
+
Bce as GlTextTranslate,
|
|
55250
|
+
qce as GlTextarea,
|
|
55251
|
+
Mce as GlTextareaTranslate,
|
|
55252
|
+
Kce as GlTinymce,
|
|
55253
|
+
Pce as GlTinymceTranslate,
|
|
55105
55254
|
Ry as GlToast,
|
|
55106
|
-
|
|
55107
|
-
|
|
55108
|
-
|
|
55255
|
+
oie as GlToastList,
|
|
55256
|
+
jce as GlToggleBox,
|
|
55257
|
+
Gce as GlToggleBoxTrueFalse
|
|
55109
55258
|
};
|