golden-logic-ui 1.2.113 → 1.2.115
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 +817 -814
- package/dist/golden-logic-ui.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createBlock as Jc, openBlock as
|
|
1
|
+
import { createBlock as Jc, openBlock as Le, resolveDynamicComponent as uA, mergeProps as M6, withCtx as od, createElementBlock as Xe, createCommentVNode as Qt, renderSlot as Pu, normalizeClass as Nn, createElementVNode as W, createTextVNode as to, resolveComponent as Rd, toDisplayString as Gt, createVNode as tu, reactive as $he, Fragment as so, withModifiers as Pa, renderList as jr, normalizeStyle as $le, computed as Id, ref as fo, onMounted as am, onBeforeUnmount as SA, watch as ad, withDirectives as Er, vModelText as lh, vShow as Cf, nextTick as pz, vModelDynamic as tre, useSlots as Dhe, provide as Dle, inject as fne, createStaticVNode as hne, vModelCheckbox as mne, onUnmounted as gne, toHandlers as $ee, resolveDirective as dA, TransitionGroup as Rhe, unref as Mhe, markRaw as Nhe } from "vue";
|
|
2
2
|
const Ii = (r, t) => {
|
|
3
3
|
const s = r.__vccOpts || r;
|
|
4
4
|
for (const [l, c] of t)
|
|
@@ -72,7 +72,7 @@ const Ii = (r, t) => {
|
|
|
72
72
|
methods: {}
|
|
73
73
|
};
|
|
74
74
|
function Bhe(r, t, s, l, c, f) {
|
|
75
|
-
return s.is_loading ? (
|
|
75
|
+
return s.is_loading ? (Le(), Jc(uA("button"), {
|
|
76
76
|
key: 1,
|
|
77
77
|
disabled: "",
|
|
78
78
|
class: Nn(` h-[2.5rem] flex items-center gap-2 focus:outline-hidden text-sm px-2 py-2 font-medium ${s.has_border_reduced ? "rounded-lg" : ""} ${f.buttonTypeClass} ${s.classes}`)
|
|
@@ -98,7 +98,7 @@ function Bhe(r, t, s, l, c, f) {
|
|
|
98
98
|
to(" Loading... ")
|
|
99
99
|
])),
|
|
100
100
|
_: 1
|
|
101
|
-
}, 8, ["class"])) : (
|
|
101
|
+
}, 8, ["class"])) : (Le(), Jc(uA(s.tag), M6({
|
|
102
102
|
key: 0,
|
|
103
103
|
type: s.is_submit,
|
|
104
104
|
disabled: s.is_disabled
|
|
@@ -107,10 +107,10 @@ function Bhe(r, t, s, l, c, f) {
|
|
|
107
107
|
class: ` ${s.is_disabled ? "cursor-not-allowed opacity-50" : ""} ${s.icon ? "flex" : ""} h-[2.5rem] items-center gap-2 focus:outline-hidden text-sm px-3 py-2 font-medium ${s.has_border_reduced ? "rounded-lg" : ""} ${f.buttonTypeClass} ${s.classes}`
|
|
108
108
|
}), {
|
|
109
109
|
default: od(() => [
|
|
110
|
-
s.icon ? (
|
|
110
|
+
s.icon ? (Le(), Xe("i", {
|
|
111
111
|
key: 0,
|
|
112
112
|
class: Nn([s.icon, "text-base"])
|
|
113
|
-
}, null, 2)) :
|
|
113
|
+
}, null, 2)) : Qt("", !0),
|
|
114
114
|
Pu(r.$slots, "default")
|
|
115
115
|
]),
|
|
116
116
|
_: 3
|
|
@@ -152,7 +152,7 @@ const pne = /* @__PURE__ */ Ii(Fhe, [["render", Bhe]]), Ihe = {
|
|
|
152
152
|
function qhe(r, t, s, l, c, f) {
|
|
153
153
|
var b, x;
|
|
154
154
|
const h = Rd("gl-button");
|
|
155
|
-
return s.isOpen ? (
|
|
155
|
+
return s.isOpen ? (Le(), Xe("div", Lhe, [
|
|
156
156
|
W("div", Qhe, [
|
|
157
157
|
t[0] || (t[0] = W("div", {
|
|
158
158
|
class: "fixed inset-0 transition-opacity bg-gray-500/75",
|
|
@@ -203,7 +203,7 @@ function qhe(r, t, s, l, c, f) {
|
|
|
203
203
|
])
|
|
204
204
|
])
|
|
205
205
|
])
|
|
206
|
-
])) :
|
|
206
|
+
])) : Qt("", !0);
|
|
207
207
|
}
|
|
208
208
|
const bz = /* @__PURE__ */ Ii(Ihe, [["render", qhe]]), pte = $he({
|
|
209
209
|
items: []
|
|
@@ -398,7 +398,7 @@ const bz = /* @__PURE__ */ Ii(Ihe, [["render", qhe]]), pte = $he({
|
|
|
398
398
|
}, rme = { class: "flex items-center justify-between p-2 mb-2 text-gray-900 rounded-lg bg-gray-50 hover:bg-gray-100 hover:shadow-sm dark:bg-gray-600 dark:hover:bg-gray-500 dark:text-white" }, ime = { class: "w-full ml-3" }, ame = { class: "flex items-center justify-between mb-1" }, lme = { class: "text-xs text-black dark:text-white" }, cme = { class: "text-xs text-black dark:text-white" }, ume = { class: "w-full h-1 mb-1 bg-white rounded-full dark:bg-gray-800" }, dme = { class: "overflow-x-scroll max-h-56" }, fme = { class: "flex items-center justify-between p-2 mb-2 text-gray-900 rounded-lg bg-gray-50 hover:bg-gray-100 hover:shadow-sm dark:bg-gray-600 dark:hover:bg-gray-500 dark:text-white" }, hme = { class: "flex items-center" }, mme = { class: "flex flex-col ml-3" }, gme = { class: "text-xs" }, pme = { class: "text-xs" }, bme = { class: "flex gap-2" }, vme = ["href"], yme = ["onClick"];
|
|
399
399
|
function Ome(r, t, s, l, c, f) {
|
|
400
400
|
const h = Rd("DeleteConfirmationModal");
|
|
401
|
-
return
|
|
401
|
+
return Le(), Xe(so, null, [
|
|
402
402
|
tu(h, {
|
|
403
403
|
isOpen: c.open_delete_modal,
|
|
404
404
|
onConfirmDelete: f.deleteAction,
|
|
@@ -431,15 +431,15 @@ function Ome(r, t, s, l, c, f) {
|
|
|
431
431
|
multiple: s.has_multiple_file,
|
|
432
432
|
onChange: t[0] || (t[0] = (...b) => f.uploadFiles && f.uploadFiles(...b))
|
|
433
433
|
}, null, 40, Jhe),
|
|
434
|
-
(
|
|
434
|
+
(Le(!0), Xe(so, null, jr(f.uploadFileListFinal, (b, x) => (Le(), Xe("input", {
|
|
435
435
|
type: "hidden",
|
|
436
436
|
name: s.field_name + "[]",
|
|
437
437
|
key: x,
|
|
438
438
|
value: b.id
|
|
439
439
|
}, null, 8, eme))), 128)),
|
|
440
|
-
c.isDragging ? (
|
|
440
|
+
c.isDragging ? (Le(), Xe("div", tme, t[6] || (t[6] = [
|
|
441
441
|
W("p", { class: "text-sm text-gray-500 dark:text-gray-400" }, " Drop files here ", -1)
|
|
442
|
-
]))) : (
|
|
442
|
+
]))) : (Le(), Xe("div", {
|
|
443
443
|
key: 0,
|
|
444
444
|
class: "flex flex-col items-center justify-center",
|
|
445
445
|
onClick: t[1] || (t[1] = (b) => r.$refs["file_input" + this.field_name].click())
|
|
@@ -465,8 +465,8 @@ function Ome(r, t, s, l, c, f) {
|
|
|
465
465
|
], 32),
|
|
466
466
|
W("span", nme, Gt(c.error_message_data), 1),
|
|
467
467
|
W("small", sme, Gt(s.description), 1),
|
|
468
|
-
c.files.length > 0 ? (
|
|
469
|
-
(
|
|
468
|
+
c.files.length > 0 ? (Le(), Xe("section", ome, [
|
|
469
|
+
(Le(!0), Xe(so, null, jr(c.files, (b, x) => (Le(), Xe("li", rme, [
|
|
470
470
|
t[7] || (t[7] = W("i", { class: "text-3xl fas fa-file-alt" }, null, -1)),
|
|
471
471
|
W("div", ime, [
|
|
472
472
|
W("div", ame, [
|
|
@@ -481,9 +481,9 @@ function Ome(r, t, s, l, c, f) {
|
|
|
481
481
|
])
|
|
482
482
|
])
|
|
483
483
|
]))), 256))
|
|
484
|
-
])) :
|
|
484
|
+
])) : Qt("", !0),
|
|
485
485
|
W("section", dme, [
|
|
486
|
-
(
|
|
486
|
+
(Le(!0), Xe(so, null, jr(f.uploadFileListFinal, (b, x) => (Le(), Xe("li", fme, [
|
|
487
487
|
W("div", hme, [
|
|
488
488
|
t[8] || (t[8] = W("i", {
|
|
489
489
|
class: "text-3xl fas fa-file-alt",
|
|
@@ -500,13 +500,13 @@ function Ome(r, t, s, l, c, f) {
|
|
|
500
500
|
target: "_blank",
|
|
501
501
|
class: "text-lg text-blue-600 cursor-pointer dark:text-blue-400 fas fa-download"
|
|
502
502
|
}, null, 8, vme),
|
|
503
|
-
s.is_enable_delete ? (
|
|
503
|
+
s.is_enable_delete ? (Le(), Xe("i", {
|
|
504
504
|
key: 0,
|
|
505
505
|
onClick: (C) => {
|
|
506
506
|
c.media_id = b.id, c.open_delete_modal = !0;
|
|
507
507
|
},
|
|
508
508
|
class: "text-lg text-red-600 cursor-pointer dark:text-red-400 fas fa-x"
|
|
509
|
-
}, null, 8, yme)) :
|
|
509
|
+
}, null, 8, yme)) : Qt("", !0)
|
|
510
510
|
])
|
|
511
511
|
]))), 256))
|
|
512
512
|
])
|
|
@@ -553,8 +553,8 @@ const SRe = /* @__PURE__ */ Ii(Yhe, [["render", Ome]]), xme = {
|
|
|
553
553
|
ref: "language_selector"
|
|
554
554
|
}, Sme = ["name", "value", "id", "checked"], Cme = ["for"];
|
|
555
555
|
function kme(r, t, s, l, c, f) {
|
|
556
|
-
return
|
|
557
|
-
(
|
|
556
|
+
return Le(), Xe("ul", wme, [
|
|
557
|
+
(Le(!0), Xe(so, null, jr(c.locals, (h, b) => (Le(), Xe("li", null, [
|
|
558
558
|
W("input", {
|
|
559
559
|
type: "radio",
|
|
560
560
|
name: s.trans_selector_name,
|
|
@@ -589,7 +589,7 @@ const CRe = /* @__PURE__ */ Ii(xme, [["render", kme]]), _me = { class: "bg-white
|
|
|
589
589
|
},
|
|
590
590
|
setup(r) {
|
|
591
591
|
const t = r, s = Id(() => t.class), l = Id(() => t.body_class);
|
|
592
|
-
return (c, f) => (
|
|
592
|
+
return (c, f) => (Le(), Xe("div", {
|
|
593
593
|
class: Nn(["flex flex-col gap-9", s.value])
|
|
594
594
|
}, [
|
|
595
595
|
W("div", _me, [
|
|
@@ -598,12 +598,12 @@ const CRe = /* @__PURE__ */ Ii(xme, [["render", kme]]), _me = { class: "bg-white
|
|
|
598
598
|
Pu(c.$slots, "header")
|
|
599
599
|
])
|
|
600
600
|
]),
|
|
601
|
-
c.$slots.body ? (
|
|
601
|
+
c.$slots.body ? (Le(), Xe("div", {
|
|
602
602
|
key: 0,
|
|
603
603
|
class: Nn(["p-6", l.value])
|
|
604
604
|
}, [
|
|
605
605
|
Pu(c.$slots, "body")
|
|
606
|
-
], 2)) :
|
|
606
|
+
], 2)) : Qt("", !0)
|
|
607
607
|
])
|
|
608
608
|
], 2));
|
|
609
609
|
}
|
|
@@ -828,28 +828,28 @@ const CRe = /* @__PURE__ */ Ii(xme, [["render", kme]]), _me = { class: "bg-white
|
|
|
828
828
|
{ immediate: !0, deep: !0 }
|
|
829
829
|
), (B, tn) => {
|
|
830
830
|
var Nt, os;
|
|
831
|
-
return
|
|
832
|
-
r.show ? (
|
|
831
|
+
return Le(), Xe(so, null, [
|
|
832
|
+
r.show ? (Le(), Xe("div", {
|
|
833
833
|
key: 0,
|
|
834
834
|
class: Nn(r.field_name)
|
|
835
835
|
}, [
|
|
836
836
|
W("h3", Ame, Gt(r.label_name), 1),
|
|
837
837
|
W("p", Pme, [
|
|
838
|
-
(
|
|
838
|
+
(Le(!0), Xe(so, null, jr(f.value, (Et, Qe) => (Le(), Xe("span", $me, Gt(Et == null ? void 0 : Et.name), 1))), 256))
|
|
839
839
|
]),
|
|
840
840
|
tn[4] || (tn[4] = W("hr", { class: "opacity-100! bg-gray-200 border-0 dark:bg-gray-700" }, null, -1))
|
|
841
|
-
], 2)) :
|
|
842
|
-
r.show ?
|
|
841
|
+
], 2)) : Qt("", !0),
|
|
842
|
+
r.show ? Qt("", !0) : (Le(), Xe("div", {
|
|
843
843
|
key: 1,
|
|
844
844
|
class: Nn(r.field_name)
|
|
845
845
|
}, [
|
|
846
|
-
(
|
|
846
|
+
(Le(!0), Xe(so, null, jr(b.value, (Et, Qe) => (Le(), Xe("input", {
|
|
847
847
|
type: "hidden",
|
|
848
848
|
name: r.field_name + "[]",
|
|
849
|
-
key:
|
|
849
|
+
key: Qe,
|
|
850
850
|
value: Et
|
|
851
851
|
}, null, 8, Dme))), 128)),
|
|
852
|
-
r.options ? (
|
|
852
|
+
r.options ? (Le(), Xe("div", Rme, [
|
|
853
853
|
W("label", {
|
|
854
854
|
class: Nn({
|
|
855
855
|
"gl-label-form": r.error_message == "",
|
|
@@ -879,8 +879,8 @@ const CRe = /* @__PURE__ */ Ii(xme, [["render", kme]]), _me = { class: "bg-white
|
|
|
879
879
|
class: "flex flex-wrap gap-2 pr-2 gl-multi-dropdown showOptions",
|
|
880
880
|
onClick: tn[0] || (tn[0] = (Et) => xt())
|
|
881
881
|
}, [
|
|
882
|
-
(
|
|
883
|
-
key:
|
|
882
|
+
(Le(!0), Xe(so, null, jr(f.value, (Et, Qe) => (Le(), Xe("span", {
|
|
883
|
+
key: Qe,
|
|
884
884
|
class: "flex gap-2 px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded-sm pointer-events-none dark:bg-blue-900 dark:text-blue-300"
|
|
885
885
|
}, [
|
|
886
886
|
to(Gt(Et == null ? void 0 : Et.name) + " ", 1),
|
|
@@ -911,7 +911,7 @@ const CRe = /* @__PURE__ */ Ii(xme, [["render", kme]]), _me = { class: "bg-white
|
|
|
911
911
|
class: "absolute text-xl text-gray-500 cursor-pointer fas ltr:right-2 rtl:left-2 hover:text-gray-700 dark:hover:text-gray-800 showOptions",
|
|
912
912
|
style: { top: "13px" }
|
|
913
913
|
}, [
|
|
914
|
-
(
|
|
914
|
+
(Le(), Xe("svg", {
|
|
915
915
|
class: Nn([C.value ? "" : "rotate-180", "w-4 h-4 shrink-0"]),
|
|
916
916
|
"aria-hidden": "true",
|
|
917
917
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -951,15 +951,15 @@ const CRe = /* @__PURE__ */ Ii(xme, [["render", kme]]), _me = { class: "bg-white
|
|
|
951
951
|
])
|
|
952
952
|
]),
|
|
953
953
|
W("div", Vme, [
|
|
954
|
-
(
|
|
954
|
+
(Le(!0), Xe(so, null, jr(q.value, (Et, Qe) => (Le(), Xe("div", {
|
|
955
955
|
class: Nn([
|
|
956
956
|
"block px-2 py-2 text-xs leading-4 text-gray-700 no-underline cursor-pointer dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white",
|
|
957
|
-
|
|
957
|
+
Qe + 1 == x.value || ne(Et.id) ? "bg-gray-100 dark:bg-gray-600" : ""
|
|
958
958
|
]),
|
|
959
959
|
onClick: (_e) => Jt(Et),
|
|
960
960
|
onMousedown: (_e) => Jt(Et),
|
|
961
|
-
key:
|
|
962
|
-
id: `${
|
|
961
|
+
key: Qe,
|
|
962
|
+
id: `${Qe + 1}${R.value}`
|
|
963
963
|
}, Gt(Et.name || Et.id || "-"), 43, Hme))), 128))
|
|
964
964
|
])
|
|
965
965
|
], 512), [
|
|
@@ -967,7 +967,7 @@ const CRe = /* @__PURE__ */ Ii(xme, [["render", kme]]), _me = { class: "bg-white
|
|
|
967
967
|
])
|
|
968
968
|
])
|
|
969
969
|
], 512)
|
|
970
|
-
])) :
|
|
970
|
+
])) : Qt("", !0)
|
|
971
971
|
], 2))
|
|
972
972
|
], 64);
|
|
973
973
|
};
|
|
@@ -1027,8 +1027,8 @@ const CRe = /* @__PURE__ */ Ii(xme, [["render", kme]]), _me = { class: "bg-white
|
|
|
1027
1027
|
};
|
|
1028
1028
|
return am(() => {
|
|
1029
1029
|
f.value !== null && f.value.hasAttribute("autofocus") && f.value.focus(), l.modelValue && (c("update:modelValue", l.modelValue), f.value.value = l.modelValue), l.modelValueTranslate && (c("update:modelValueTranslate", l.modelValueTranslate), h.value.value = l.modelValueTranslate), f.value.classList.add("gl-multilanguage");
|
|
1030
|
-
}), t({ focus: () => f.value.focus() }), (x, C) => (
|
|
1031
|
-
r.show ? (
|
|
1030
|
+
}), t({ focus: () => f.value.focus() }), (x, C) => (Le(), Xe(so, null, [
|
|
1031
|
+
r.show ? (Le(), Xe("div", {
|
|
1032
1032
|
key: 0,
|
|
1033
1033
|
class: Nn(r.field_name)
|
|
1034
1034
|
}, [
|
|
@@ -1049,8 +1049,8 @@ const CRe = /* @__PURE__ */ Ii(xme, [["render", kme]]), _me = { class: "bg-white
|
|
|
1049
1049
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
1050
1050
|
}, Gt(x.model_value), 9, Ume),
|
|
1051
1051
|
C[3] || (C[3] = W("hr", { class: "opacity-100! bg-gray-200 border-0 dark:bg-gray-700" }, null, -1))
|
|
1052
|
-
], 2)) :
|
|
1053
|
-
r.show ?
|
|
1052
|
+
], 2)) : Qt("", !0),
|
|
1053
|
+
r.show ? Qt("", !0) : (Le(), Xe("div", {
|
|
1054
1054
|
key: 1,
|
|
1055
1055
|
class: Nn(["mb-4", r.field_name])
|
|
1056
1056
|
}, [
|
|
@@ -1148,8 +1148,8 @@ const CRe = /* @__PURE__ */ Ii(xme, [["render", kme]]), _me = { class: "bg-white
|
|
|
1148
1148
|
};
|
|
1149
1149
|
return am(() => {
|
|
1150
1150
|
f.value !== null && f.value.hasAttribute("autofocus") && f.value.focus(), l.modelValue && (c("update:modelValue", l.modelValue), f.value.value = l.modelValue), l.modelValueTranslate && (c("update:modelValueTranslate", l.modelValueTranslate), h.value.value = l.modelValueTranslate), f.value.classList.add("gl-multilanguage");
|
|
1151
|
-
}), t({ focus: () => f.value.focus() }), (x, C) => (
|
|
1152
|
-
r.show ? (
|
|
1151
|
+
}), t({ focus: () => f.value.focus() }), (x, C) => (Le(), Xe(so, null, [
|
|
1152
|
+
r.show ? (Le(), Xe("div", {
|
|
1153
1153
|
key: 0,
|
|
1154
1154
|
class: Nn(r.field_name)
|
|
1155
1155
|
}, [
|
|
@@ -1170,8 +1170,8 @@ const CRe = /* @__PURE__ */ Ii(xme, [["render", kme]]), _me = { class: "bg-white
|
|
|
1170
1170
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
1171
1171
|
}, Gt(x.model_value), 9, Jme),
|
|
1172
1172
|
C[3] || (C[3] = W("hr", { class: "opacity-100! bg-gray-200 border-0 dark:bg-gray-700" }, null, -1))
|
|
1173
|
-
], 2)) :
|
|
1174
|
-
r.show ?
|
|
1173
|
+
], 2)) : Qt("", !0),
|
|
1174
|
+
r.show ? Qt("", !0) : (Le(), Xe("div", {
|
|
1175
1175
|
key: 1,
|
|
1176
1176
|
class: Nn(["mb-4", r.field_name])
|
|
1177
1177
|
}, [
|
|
@@ -1213,7 +1213,10 @@ const CRe = /* @__PURE__ */ Ii(xme, [["render", kme]]), _me = { class: "bg-white
|
|
|
1213
1213
|
], 2))
|
|
1214
1214
|
], 64));
|
|
1215
1215
|
}
|
|
1216
|
-
}, rge = {
|
|
1216
|
+
}, rge = {
|
|
1217
|
+
key: 0,
|
|
1218
|
+
class: "gl-label-form"
|
|
1219
|
+
}, ige = { class: "mt-1 text-gray-900 dark:text-white" }, age = ["for"], lge = {
|
|
1217
1220
|
key: 1,
|
|
1218
1221
|
class: "flex items-center"
|
|
1219
1222
|
}, cge = ["innerHTML"], uge = { class: "relative w-full" }, dge = ["minlength", "maxlength", "required", "name", "id", "type", "placeholder"], fge = ["innerHTML"], hge = ["minlength", "maxlength", "required", "name", "id", "type", "placeholder"], mge = { class: "gl-span-form-error" }, gge = { class: "block mt-1 text-sm font-normal leading-5 text-gray-500" }, pge = {
|
|
@@ -1294,23 +1297,23 @@ const CRe = /* @__PURE__ */ Ii(xme, [["render", kme]]), _me = { class: "bg-white
|
|
|
1294
1297
|
c("update:modelValue", b);
|
|
1295
1298
|
}
|
|
1296
1299
|
});
|
|
1297
|
-
return t({ focus: () => f.value.focus() }), (b, x) => (
|
|
1298
|
-
r.show ? (
|
|
1300
|
+
return t({ focus: () => f.value.focus() }), (b, x) => (Le(), Xe(so, null, [
|
|
1301
|
+
r.show ? (Le(), Xe("div", {
|
|
1299
1302
|
key: 0,
|
|
1300
1303
|
class: Nn(r.field_name)
|
|
1301
1304
|
}, [
|
|
1302
|
-
|
|
1305
|
+
r.label_name ? (Le(), Xe("label", rge, Gt(r.label_name), 1)) : Qt("", !0),
|
|
1303
1306
|
W("p", ige, Gt(r.type == "password" ? r.modelValue.replace(/./g, "*") : r.modelValue), 1),
|
|
1304
1307
|
x[6] || (x[6] = W("hr", { class: "opacity-100! bg-gray-200 border-0 dark:bg-gray-700" }, null, -1))
|
|
1305
|
-
], 2)) :
|
|
1306
|
-
r.show ?
|
|
1308
|
+
], 2)) : Qt("", !0),
|
|
1309
|
+
r.show ? Qt("", !0) : (Le(), Xe("div", {
|
|
1307
1310
|
key: 1,
|
|
1308
1311
|
class: Nn({
|
|
1309
1312
|
[r.field_name]: r.field_name && r.field_name !== "",
|
|
1310
1313
|
[r.container_class]: r.container_class && r.container_class !== ""
|
|
1311
1314
|
})
|
|
1312
1315
|
}, [
|
|
1313
|
-
r.label_name ? (
|
|
1316
|
+
r.label_name ? (Le(), Xe("label", {
|
|
1314
1317
|
key: 0,
|
|
1315
1318
|
class: Nn({
|
|
1316
1319
|
"gl-label-form": r.error_message == "",
|
|
@@ -1318,13 +1321,13 @@ const CRe = /* @__PURE__ */ Ii(xme, [["render", kme]]), _me = { class: "bg-white
|
|
|
1318
1321
|
required: r.is_required
|
|
1319
1322
|
}),
|
|
1320
1323
|
for: r.field_name
|
|
1321
|
-
}, Gt(r.label_name), 11, age)) :
|
|
1322
|
-
r.inputGroupType ? (
|
|
1323
|
-
r.inputGroupType == "prepend" ? (
|
|
1324
|
+
}, Gt(r.label_name), 11, age)) : Qt("", !0),
|
|
1325
|
+
r.inputGroupType ? (Le(), Xe("div", lge, [
|
|
1326
|
+
r.inputGroupType == "prepend" ? (Le(), Xe("label", {
|
|
1324
1327
|
key: 0,
|
|
1325
1328
|
innerHTML: r.inputGroupText,
|
|
1326
1329
|
class: "h-10 z-10 inline-flex items-center 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-s-lg focus:outline-hidden dark:bg-gray-700 dark:border-gray-600"
|
|
1327
|
-
}, null, 8, cge)) :
|
|
1330
|
+
}, null, 8, cge)) : Qt("", !0),
|
|
1328
1331
|
W("div", uge, [
|
|
1329
1332
|
Er(W("input", {
|
|
1330
1333
|
minlength: r.minlength,
|
|
@@ -1350,13 +1353,13 @@ const CRe = /* @__PURE__ */ Ii(xme, [["render", kme]]), _me = { class: "bg-white
|
|
|
1350
1353
|
[tre, h.value]
|
|
1351
1354
|
])
|
|
1352
1355
|
]),
|
|
1353
|
-
r.inputGroupType == "append" ? (
|
|
1356
|
+
r.inputGroupType == "append" ? (Le(), Xe("label", {
|
|
1354
1357
|
key: 1,
|
|
1355
1358
|
innerHTML: r.inputGroupText,
|
|
1356
1359
|
class: "h-10 z-10 inline-flex items-center 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-hidden dark:bg-gray-700 dark:border-gray-600"
|
|
1357
|
-
}, null, 8, fge)) :
|
|
1358
|
-
])) :
|
|
1359
|
-
r.inputGroupType == "" ? Er((
|
|
1360
|
+
}, null, 8, fge)) : Qt("", !0)
|
|
1361
|
+
])) : Qt("", !0),
|
|
1362
|
+
r.inputGroupType == "" ? Er((Le(), Xe("input", {
|
|
1360
1363
|
key: 2,
|
|
1361
1364
|
minlength: r.minlength,
|
|
1362
1365
|
maxlength: r.maxlength,
|
|
@@ -1377,7 +1380,7 @@ const CRe = /* @__PURE__ */ Ii(xme, [["render", kme]]), _me = { class: "bg-white
|
|
|
1377
1380
|
placeholder: r.placeholder
|
|
1378
1381
|
}, null, 42, hge)), [
|
|
1379
1382
|
[tre, h.value]
|
|
1380
|
-
]) :
|
|
1383
|
+
]) : Qt("", !0),
|
|
1381
1384
|
W("span", mge, Gt(r.error_message), 1),
|
|
1382
1385
|
W("small", gge, Gt(r.description), 1)
|
|
1383
1386
|
], 2))
|
|
@@ -1443,16 +1446,16 @@ const CRe = /* @__PURE__ */ Ii(xme, [["render", kme]]), _me = { class: "bg-white
|
|
|
1443
1446
|
}), x = (C, T) => {
|
|
1444
1447
|
C && T && new Date(C) > new Date(T) ? (c.value = "Start date cannot be after end date.", f.value.start = "", f.value.end = "", l("update:modelValue", { start: f.value.start, end: f.value.end }), l("keydown", { start: f.value.start, end: f.value.end })) : C && T && new Date(T) < new Date(C) ? (c.value = "End date cannot be before start date.", f.value.start = "", f.value.end = "", l("update:modelValue", { start: f.value.start, end: f.value.end }), l("keydown", { start: f.value.start, end: f.value.end })) : c.value = "";
|
|
1445
1448
|
};
|
|
1446
|
-
return (C, T) => (
|
|
1447
|
-
r.show ? (
|
|
1449
|
+
return (C, T) => (Le(), Xe(so, null, [
|
|
1450
|
+
r.show ? (Le(), Xe("div", {
|
|
1448
1451
|
key: 0,
|
|
1449
1452
|
class: Nn(r.field_name)
|
|
1450
1453
|
}, [
|
|
1451
1454
|
W("h3", bge, Gt(r.label_name), 1),
|
|
1452
1455
|
W("p", vge, Gt(r.modelValue.start) + " to " + Gt(r.modelValue.end), 1),
|
|
1453
1456
|
T[2] || (T[2] = W("hr", { class: "opacity-100! bg-gray-200 border-0 dark:bg-gray-700" }, null, -1))
|
|
1454
|
-
], 2)) :
|
|
1455
|
-
r.show ?
|
|
1457
|
+
], 2)) : Qt("", !0),
|
|
1458
|
+
r.show ? Qt("", !0) : (Le(), Xe("div", {
|
|
1456
1459
|
key: 1,
|
|
1457
1460
|
class: Nn(r.field_name)
|
|
1458
1461
|
}, [
|
|
@@ -1552,16 +1555,16 @@ const CRe = /* @__PURE__ */ Ii(xme, [["render", kme]]), _me = { class: "bg-white
|
|
|
1552
1555
|
const h = f.target.files[0];
|
|
1553
1556
|
console.log(h), s("keydown", f), h && s("update:modelValue", h);
|
|
1554
1557
|
};
|
|
1555
|
-
return (f, h) => (
|
|
1556
|
-
r.show ? (
|
|
1558
|
+
return (f, h) => (Le(), Xe(so, null, [
|
|
1559
|
+
r.show ? (Le(), Xe("div", {
|
|
1557
1560
|
key: 0,
|
|
1558
1561
|
class: Nn(r.field_name)
|
|
1559
1562
|
}, [
|
|
1560
1563
|
W("h3", Tge, Gt(r.label_name), 1),
|
|
1561
1564
|
W("p", Ege, Gt(r.type == "password" ? r.modelValue.replace(/./g, "*") : r.modelValue), 1),
|
|
1562
1565
|
h[0] || (h[0] = W("hr", { class: "opacity-100! bg-gray-200 border-0 dark:bg-gray-700" }, null, -1))
|
|
1563
|
-
], 2)) :
|
|
1564
|
-
r.show ?
|
|
1566
|
+
], 2)) : Qt("", !0),
|
|
1567
|
+
r.show ? Qt("", !0) : (Le(), Xe("div", {
|
|
1565
1568
|
key: 1,
|
|
1566
1569
|
class: Nn(r.field_name)
|
|
1567
1570
|
}, [
|
|
@@ -1621,11 +1624,11 @@ const CRe = /* @__PURE__ */ Ii(xme, [["render", kme]]), _me = { class: "bg-white
|
|
|
1621
1624
|
x(), window.addEventListener("hashchange", x);
|
|
1622
1625
|
}), SA(() => {
|
|
1623
1626
|
window.removeEventListener("hashchange", x);
|
|
1624
|
-
}), (C, T) => (
|
|
1627
|
+
}), (C, T) => (Le(), Xe(so, null, [
|
|
1625
1628
|
W("ul", {
|
|
1626
1629
|
class: Nn(["flex flex-row flex-wrap gap-2 pt-3 pb-4 mb-0 list-none text-gray-500 dark:text-gray-400", r.tabsWrapperClass])
|
|
1627
1630
|
}, [
|
|
1628
|
-
(
|
|
1631
|
+
(Le(!0), Xe(so, null, jr(c.value, (R) => (Le(), Xe("li", {
|
|
1629
1632
|
key: R.title,
|
|
1630
1633
|
onClick: (M) => f.value = R.title,
|
|
1631
1634
|
class: Nn(["-mb-px text-center", {
|
|
@@ -1633,12 +1636,12 @@ const CRe = /* @__PURE__ */ Ii(xme, [["render", kme]]), _me = { class: "bg-white
|
|
|
1633
1636
|
}])
|
|
1634
1637
|
}, [
|
|
1635
1638
|
W("a", {
|
|
1636
|
-
class: Nn([{ " bg-gray-50 dark:bg-gray-800 hover:text-gray-900 hover:bg-gray-100 dark:hover:bg-gray-700 dark:hover:text-white border border-gray-300": f.value != R.title, "text-white bg-primary dark:bg-primaryDark": f.value === R.title }, "block px-5 py-3 text-xs font-bold leading-normal rounded-lg tabs_buttons"])
|
|
1639
|
+
class: Nn([{ " bg-gray-50 dark:bg-gray-800 hover:text-gray-900 hover:bg-gray-100 dark:hover:bg-gray-700 dark:hover:text-white border border-gray-300 dark:border-gray-700": f.value != R.title, "text-white bg-primary dark:bg-primaryDark": f.value === R.title }, "block px-5 py-3 text-xs font-bold leading-normal rounded-lg tabs_buttons"])
|
|
1637
1640
|
}, [
|
|
1638
|
-
R.icon ? (
|
|
1641
|
+
R.icon ? (Le(), Xe("i", {
|
|
1639
1642
|
key: 0,
|
|
1640
1643
|
class: Nn([R.icon, "me-2 text-sm"])
|
|
1641
|
-
}, null, 2)) :
|
|
1644
|
+
}, null, 2)) : Qt("", !0),
|
|
1642
1645
|
to(Gt(R.title), 1)
|
|
1643
1646
|
], 2)
|
|
1644
1647
|
], 10, Rge))), 128))
|
|
@@ -1666,9 +1669,9 @@ const CRe = /* @__PURE__ */ Ii(xme, [["render", kme]]), _me = { class: "bg-white
|
|
|
1666
1669
|
class: "block"
|
|
1667
1670
|
};
|
|
1668
1671
|
function Lge(r, t, s, l, c, f) {
|
|
1669
|
-
return s.title == l.selectedTitle ? (
|
|
1672
|
+
return s.title == l.selectedTitle ? (Le(), Xe("div", Ige, [
|
|
1670
1673
|
Pu(r.$slots, "default")
|
|
1671
|
-
])) :
|
|
1674
|
+
])) : Qt("", !0);
|
|
1672
1675
|
}
|
|
1673
1676
|
const $Re = /* @__PURE__ */ Ii(Bge, [["render", Lge]]), Qge = {
|
|
1674
1677
|
props: ["title"],
|
|
@@ -1679,7 +1682,7 @@ const $Re = /* @__PURE__ */ Ii(Bge, [["render", Lge]]), Qge = {
|
|
|
1679
1682
|
}
|
|
1680
1683
|
}, Vge = { class: "block" };
|
|
1681
1684
|
function Hge(r, t, s, l, c, f) {
|
|
1682
|
-
return Er((
|
|
1685
|
+
return Er((Le(), Xe("div", Vge, [
|
|
1683
1686
|
Pu(r.$slots, "default")
|
|
1684
1687
|
], 512)), [
|
|
1685
1688
|
[Cf, s.title == l.selectedTitle]
|
|
@@ -1895,34 +1898,34 @@ const DRe = /* @__PURE__ */ Ii(Qge, [["render", Hge]]), zge = {
|
|
|
1895
1898
|
"stroke-width": "2"
|
|
1896
1899
|
};
|
|
1897
1900
|
function y0e(r, t, s, l, c, f) {
|
|
1898
|
-
return
|
|
1901
|
+
return Le(), Xe("div", null, [
|
|
1899
1902
|
W("div", {
|
|
1900
1903
|
class: Nn(["", !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_outside_slider" ? "flex" : "relative block"]),
|
|
1901
1904
|
id: "mainSliderContainer_" + c.Random_string
|
|
1902
1905
|
}, [
|
|
1903
|
-
c.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_outside_slider" ? (
|
|
1906
|
+
c.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_outside_slider" ? (Le(), Xe("div", Uge, [
|
|
1904
1907
|
W("div", Wge, [
|
|
1905
1908
|
W("button", {
|
|
1906
1909
|
class: "p-3 mr-5 rounded-full shadow-lg arrow_button_styles",
|
|
1907
1910
|
onClick: t[0] || (t[0] = (h) => f.prev())
|
|
1908
1911
|
}, [
|
|
1909
|
-
s.direction_property == "ltr" ? (
|
|
1912
|
+
s.direction_property == "ltr" ? (Le(), Xe("svg", Xge, t[6] || (t[6] = [
|
|
1910
1913
|
W("path", {
|
|
1911
1914
|
"stroke-linecap": "round",
|
|
1912
1915
|
"stroke-linejoin": "round",
|
|
1913
1916
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
1914
1917
|
}, null, -1)
|
|
1915
|
-
]))) :
|
|
1916
|
-
s.direction_property == "rtl" ? (
|
|
1918
|
+
]))) : Qt("", !0),
|
|
1919
|
+
s.direction_property == "rtl" ? (Le(), Xe("svg", jge, t[7] || (t[7] = [
|
|
1917
1920
|
W("path", {
|
|
1918
1921
|
"stroke-linecap": "round",
|
|
1919
1922
|
"stroke-linejoin": "round",
|
|
1920
1923
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
1921
1924
|
}, null, -1)
|
|
1922
|
-
]))) :
|
|
1925
|
+
]))) : Qt("", !0)
|
|
1923
1926
|
])
|
|
1924
1927
|
])
|
|
1925
|
-
])) :
|
|
1928
|
+
])) : Qt("", !0),
|
|
1926
1929
|
W("div", {
|
|
1927
1930
|
ref: "slotContainer",
|
|
1928
1931
|
class: Nn(["overflow-hidden flex flex-col gap-3", f.sliderContainerAction()]),
|
|
@@ -1932,7 +1935,7 @@ function y0e(r, t, s, l, c, f) {
|
|
|
1932
1935
|
class: Nn(["flex", s.elements_to_show_prop == 1 || this.elementsToShow == 1 ? "" : "gap-7"]),
|
|
1933
1936
|
id: "slider_" + c.Random_string
|
|
1934
1937
|
}, [
|
|
1935
|
-
c.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (
|
|
1938
|
+
c.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (Le(), Xe("div", {
|
|
1936
1939
|
key: 0,
|
|
1937
1940
|
class: Nn(["items-center justify-center hidden arrow_button xl:flex xxl:flex md:flex sm:flex", s.direction_property == "rtl" ? "arrow_button_next" : "arrow_button_prev"])
|
|
1938
1941
|
}, [
|
|
@@ -1941,25 +1944,25 @@ function y0e(r, t, s, l, c, f) {
|
|
|
1941
1944
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
1942
1945
|
onClick: t[1] || (t[1] = Pa((h) => f.prev(), ["stop"]))
|
|
1943
1946
|
}, [
|
|
1944
|
-
s.direction_property == "ltr" ? (
|
|
1947
|
+
s.direction_property == "ltr" ? (Le(), Xe("svg", Kge, t[8] || (t[8] = [
|
|
1945
1948
|
W("path", {
|
|
1946
1949
|
"stroke-linecap": "round",
|
|
1947
1950
|
"stroke-linejoin": "round",
|
|
1948
1951
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
1949
1952
|
}, null, -1)
|
|
1950
|
-
]))) :
|
|
1951
|
-
s.direction_property == "rtl" ? (
|
|
1953
|
+
]))) : Qt("", !0),
|
|
1954
|
+
s.direction_property == "rtl" ? (Le(), Xe("svg", Jge, t[9] || (t[9] = [
|
|
1952
1955
|
W("path", {
|
|
1953
1956
|
"stroke-linecap": "round",
|
|
1954
1957
|
"stroke-linejoin": "round",
|
|
1955
1958
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
1956
1959
|
}, null, -1)
|
|
1957
|
-
]))) :
|
|
1960
|
+
]))) : Qt("", !0)
|
|
1958
1961
|
])
|
|
1959
1962
|
])
|
|
1960
|
-
], 2)) :
|
|
1963
|
+
], 2)) : Qt("", !0),
|
|
1961
1964
|
Pu(r.$slots, "default", {}, void 0, !0),
|
|
1962
|
-
c.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (
|
|
1965
|
+
c.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (Le(), Xe("div", {
|
|
1963
1966
|
key: 1,
|
|
1964
1967
|
class: Nn(["items-center justify-center hidden xl:flex xxl:flex md:flex sm:flex arrow_button", s.direction_property == "rtl" ? "arrow_button_prev" : "arrow_button_next"])
|
|
1965
1968
|
}, [
|
|
@@ -1968,29 +1971,29 @@ function y0e(r, t, s, l, c, f) {
|
|
|
1968
1971
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
1969
1972
|
onClick: t[2] || (t[2] = Pa((h) => f.next(), ["stop"]))
|
|
1970
1973
|
}, [
|
|
1971
|
-
s.direction_property == "ltr" ? (
|
|
1974
|
+
s.direction_property == "ltr" ? (Le(), Xe("svg", t0e, t[10] || (t[10] = [
|
|
1972
1975
|
W("path", {
|
|
1973
1976
|
"stroke-linecap": "round",
|
|
1974
1977
|
"stroke-linejoin": "round",
|
|
1975
1978
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
1976
1979
|
}, null, -1)
|
|
1977
|
-
]))) :
|
|
1978
|
-
s.direction_property == "rtl" ? (
|
|
1980
|
+
]))) : Qt("", !0),
|
|
1981
|
+
s.direction_property == "rtl" ? (Le(), Xe("svg", n0e, t[11] || (t[11] = [
|
|
1979
1982
|
W("path", {
|
|
1980
1983
|
"stroke-linecap": "round",
|
|
1981
1984
|
"stroke-linejoin": "round",
|
|
1982
1985
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
1983
1986
|
}, null, -1)
|
|
1984
|
-
]))) :
|
|
1987
|
+
]))) : Qt("", !0)
|
|
1985
1988
|
])
|
|
1986
1989
|
])
|
|
1987
|
-
], 2)) :
|
|
1990
|
+
], 2)) : Qt("", !0)
|
|
1988
1991
|
], 10, Gge),
|
|
1989
|
-
s.slider_arrows_indicators_position != "arrows_indicators_below_slider" ? (
|
|
1992
|
+
s.slider_arrows_indicators_position != "arrows_indicators_below_slider" ? (Le(), Xe("div", {
|
|
1990
1993
|
key: 0,
|
|
1991
1994
|
class: Nn(["flex justify-center mb-1 space-x-1", f.sliderIndicatorsAction()])
|
|
1992
1995
|
}, [
|
|
1993
|
-
(
|
|
1996
|
+
(Le(!0), Xe(so, null, jr(c.dotsNum, (h) => (Le(), Xe("button", {
|
|
1994
1997
|
role: "button",
|
|
1995
1998
|
class: Nn(["gl-dot", { active: c.currentDot == h }]),
|
|
1996
1999
|
key: h,
|
|
@@ -1998,12 +2001,12 @@ function y0e(r, t, s, l, c, f) {
|
|
|
1998
2001
|
}, t[12] || (t[12] = [
|
|
1999
2002
|
W("span", null, null, -1)
|
|
2000
2003
|
]), 10, s0e))), 128))
|
|
2001
|
-
], 2)) :
|
|
2002
|
-
s.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (
|
|
2004
|
+
], 2)) : Qt("", !0),
|
|
2005
|
+
s.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (Le(), Xe("div", o0e, [
|
|
2003
2006
|
W("div", {
|
|
2004
2007
|
class: Nn(["flex justify-center mb-1 space-x-1", f.sliderIndicatorsAction()])
|
|
2005
2008
|
}, [
|
|
2006
|
-
(
|
|
2009
|
+
(Le(!0), Xe(so, null, jr(c.dotsNum, (h) => (Le(), Xe("button", {
|
|
2007
2010
|
role: "button",
|
|
2008
2011
|
class: Nn(["gl-dot", { active: c.currentDot == h }]),
|
|
2009
2012
|
key: h,
|
|
@@ -2012,27 +2015,27 @@ function y0e(r, t, s, l, c, f) {
|
|
|
2012
2015
|
W("span", null, null, -1)
|
|
2013
2016
|
]), 10, r0e))), 128))
|
|
2014
2017
|
], 2),
|
|
2015
|
-
c.dotsNum > 0 ? (
|
|
2018
|
+
c.dotsNum > 0 ? (Le(), Xe("div", i0e, [
|
|
2016
2019
|
W("div", a0e, [
|
|
2017
2020
|
W("div", l0e, [
|
|
2018
2021
|
W("button", {
|
|
2019
2022
|
class: Nn(["p-3 rounded-full arrow_button_styles", s.direction_property == "rtl" ? "ml-3" : "mr-3"]),
|
|
2020
2023
|
onClick: t[3] || (t[3] = (h) => f.prev())
|
|
2021
2024
|
}, [
|
|
2022
|
-
s.direction_property == "ltr" ? (
|
|
2025
|
+
s.direction_property == "ltr" ? (Le(), Xe("svg", c0e, t[14] || (t[14] = [
|
|
2023
2026
|
W("path", {
|
|
2024
2027
|
"stroke-linecap": "round",
|
|
2025
2028
|
"stroke-linejoin": "round",
|
|
2026
2029
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2027
2030
|
}, null, -1)
|
|
2028
|
-
]))) :
|
|
2029
|
-
s.direction_property == "rtl" ? (
|
|
2031
|
+
]))) : Qt("", !0),
|
|
2032
|
+
s.direction_property == "rtl" ? (Le(), Xe("svg", u0e, t[15] || (t[15] = [
|
|
2030
2033
|
W("path", {
|
|
2031
2034
|
"stroke-linecap": "round",
|
|
2032
2035
|
"stroke-linejoin": "round",
|
|
2033
2036
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2034
2037
|
}, null, -1)
|
|
2035
|
-
]))) :
|
|
2038
|
+
]))) : Qt("", !0)
|
|
2036
2039
|
], 2)
|
|
2037
2040
|
])
|
|
2038
2041
|
]),
|
|
@@ -2042,49 +2045,49 @@ function y0e(r, t, s, l, c, f) {
|
|
|
2042
2045
|
class: "p-3 rounded-full arrow_button_styles",
|
|
2043
2046
|
onClick: t[4] || (t[4] = (h) => f.next())
|
|
2044
2047
|
}, [
|
|
2045
|
-
s.direction_property == "ltr" ? (
|
|
2048
|
+
s.direction_property == "ltr" ? (Le(), Xe("svg", h0e, t[16] || (t[16] = [
|
|
2046
2049
|
W("path", {
|
|
2047
2050
|
"stroke-linecap": "round",
|
|
2048
2051
|
"stroke-linejoin": "round",
|
|
2049
2052
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2050
2053
|
}, null, -1)
|
|
2051
|
-
]))) :
|
|
2052
|
-
s.direction_property == "rtl" ? (
|
|
2054
|
+
]))) : Qt("", !0),
|
|
2055
|
+
s.direction_property == "rtl" ? (Le(), Xe("svg", m0e, t[17] || (t[17] = [
|
|
2053
2056
|
W("path", {
|
|
2054
2057
|
"stroke-linecap": "round",
|
|
2055
2058
|
"stroke-linejoin": "round",
|
|
2056
2059
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2057
2060
|
}, null, -1)
|
|
2058
|
-
]))) :
|
|
2061
|
+
]))) : Qt("", !0)
|
|
2059
2062
|
])
|
|
2060
2063
|
])
|
|
2061
2064
|
])
|
|
2062
|
-
])) :
|
|
2063
|
-
])) :
|
|
2065
|
+
])) : Qt("", !0)
|
|
2066
|
+
])) : Qt("", !0)
|
|
2064
2067
|
], 10, qge),
|
|
2065
|
-
c.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_outside_slider" ? (
|
|
2068
|
+
c.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_outside_slider" ? (Le(), Xe("div", g0e, [
|
|
2066
2069
|
W("div", p0e, [
|
|
2067
2070
|
W("button", {
|
|
2068
2071
|
class: "p-3 ml-5 rounded-full shadow-lg arrow_button_styles",
|
|
2069
2072
|
onClick: t[5] || (t[5] = (h) => f.next())
|
|
2070
2073
|
}, [
|
|
2071
|
-
s.direction_property == "ltr" ? (
|
|
2074
|
+
s.direction_property == "ltr" ? (Le(), Xe("svg", b0e, t[18] || (t[18] = [
|
|
2072
2075
|
W("path", {
|
|
2073
2076
|
"stroke-linecap": "round",
|
|
2074
2077
|
"stroke-linejoin": "round",
|
|
2075
2078
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2076
2079
|
}, null, -1)
|
|
2077
|
-
]))) :
|
|
2078
|
-
s.direction_property == "rtl" ? (
|
|
2080
|
+
]))) : Qt("", !0),
|
|
2081
|
+
s.direction_property == "rtl" ? (Le(), Xe("svg", v0e, t[19] || (t[19] = [
|
|
2079
2082
|
W("path", {
|
|
2080
2083
|
"stroke-linecap": "round",
|
|
2081
2084
|
"stroke-linejoin": "round",
|
|
2082
2085
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2083
2086
|
}, null, -1)
|
|
2084
|
-
]))) :
|
|
2087
|
+
]))) : Qt("", !0)
|
|
2085
2088
|
])
|
|
2086
2089
|
])
|
|
2087
|
-
])) :
|
|
2090
|
+
])) : Qt("", !0)
|
|
2088
2091
|
], 10, Zge)
|
|
2089
2092
|
]);
|
|
2090
2093
|
}
|
|
@@ -2323,34 +2326,34 @@ const RRe = /* @__PURE__ */ Ii(zge, [["render", y0e], ["__scopeId", "data-v-9a92
|
|
|
2323
2326
|
"stroke-width": "2"
|
|
2324
2327
|
};
|
|
2325
2328
|
function G0e(r, t, s, l, c, f) {
|
|
2326
|
-
return
|
|
2329
|
+
return Le(), Xe("div", null, [
|
|
2327
2330
|
W("div", {
|
|
2328
2331
|
class: Nn(["w-full", !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_outside_slider" ? "flex" : "relative block"]),
|
|
2329
2332
|
id: "mainSliderContainer_" + r.Random_string
|
|
2330
2333
|
}, [
|
|
2331
|
-
r.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_outside_slider" ? (
|
|
2334
|
+
r.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_outside_slider" ? (Le(), Xe("div", w0e, [
|
|
2332
2335
|
W("div", S0e, [
|
|
2333
2336
|
W("button", {
|
|
2334
2337
|
class: "p-3 mr-5 rounded-full shadow-lg arrow_button_styles",
|
|
2335
2338
|
onClick: t[0] || (t[0] = (h) => f.prev())
|
|
2336
2339
|
}, [
|
|
2337
|
-
s.direction_property == "ltr" ? (
|
|
2340
|
+
s.direction_property == "ltr" ? (Le(), Xe("svg", C0e, t[6] || (t[6] = [
|
|
2338
2341
|
W("path", {
|
|
2339
2342
|
"stroke-linecap": "round",
|
|
2340
2343
|
"stroke-linejoin": "round",
|
|
2341
2344
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2342
2345
|
}, null, -1)
|
|
2343
|
-
]))) :
|
|
2344
|
-
s.direction_property == "rtl" ? (
|
|
2346
|
+
]))) : Qt("", !0),
|
|
2347
|
+
s.direction_property == "rtl" ? (Le(), Xe("svg", k0e, t[7] || (t[7] = [
|
|
2345
2348
|
W("path", {
|
|
2346
2349
|
"stroke-linecap": "round",
|
|
2347
2350
|
"stroke-linejoin": "round",
|
|
2348
2351
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2349
2352
|
}, null, -1)
|
|
2350
|
-
]))) :
|
|
2353
|
+
]))) : Qt("", !0)
|
|
2351
2354
|
])
|
|
2352
2355
|
])
|
|
2353
|
-
])) :
|
|
2356
|
+
])) : Qt("", !0),
|
|
2354
2357
|
W("div", {
|
|
2355
2358
|
class: Nn(["overflow-hidden flex flex-col gap-3 w-full w-12/12", f.sliderContainerAction()]),
|
|
2356
2359
|
id: "sliderContainer_" + r.Random_string
|
|
@@ -2360,7 +2363,7 @@ function G0e(r, t, s, l, c, f) {
|
|
|
2360
2363
|
class: Nn(["flex w-full", s.elements_to_show_prop == 1 ? "" : "gap-7"]),
|
|
2361
2364
|
id: "slider_" + r.Random_string
|
|
2362
2365
|
}, [
|
|
2363
|
-
r.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (
|
|
2366
|
+
r.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (Le(), Xe("div", {
|
|
2364
2367
|
key: 0,
|
|
2365
2368
|
class: Nn(["items-center justify-center hidden arrow_button xl:flex xxl:flex md:flex sm:flex", s.direction_property == "rtl" ? "arrow_button_next" : "arrow_button_prev"])
|
|
2366
2369
|
}, [
|
|
@@ -2369,25 +2372,25 @@ function G0e(r, t, s, l, c, f) {
|
|
|
2369
2372
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2370
2373
|
onClick: t[1] || (t[1] = Pa((h) => f.prev(), ["stop"]))
|
|
2371
2374
|
}, [
|
|
2372
|
-
s.direction_property == "ltr" ? (
|
|
2375
|
+
s.direction_property == "ltr" ? (Le(), Xe("svg", A0e, t[8] || (t[8] = [
|
|
2373
2376
|
W("path", {
|
|
2374
2377
|
"stroke-linecap": "round",
|
|
2375
2378
|
"stroke-linejoin": "round",
|
|
2376
2379
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2377
2380
|
}, null, -1)
|
|
2378
|
-
]))) :
|
|
2379
|
-
s.direction_property == "rtl" ? (
|
|
2381
|
+
]))) : Qt("", !0),
|
|
2382
|
+
s.direction_property == "rtl" ? (Le(), Xe("svg", P0e, t[9] || (t[9] = [
|
|
2380
2383
|
W("path", {
|
|
2381
2384
|
"stroke-linecap": "round",
|
|
2382
2385
|
"stroke-linejoin": "round",
|
|
2383
2386
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2384
2387
|
}, null, -1)
|
|
2385
|
-
]))) :
|
|
2388
|
+
]))) : Qt("", !0)
|
|
2386
2389
|
])
|
|
2387
2390
|
])
|
|
2388
|
-
], 2)) :
|
|
2391
|
+
], 2)) : Qt("", !0),
|
|
2389
2392
|
Pu(r.$slots, "default", {}, void 0, !0),
|
|
2390
|
-
r.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (
|
|
2393
|
+
r.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (Le(), Xe("div", {
|
|
2391
2394
|
key: 1,
|
|
2392
2395
|
class: Nn(["items-center justify-center hidden xl:flex xxl:flex md:flex sm:flex arrow_button", s.direction_property == "rtl" ? "arrow_button_prev" : "arrow_button_next"])
|
|
2393
2396
|
}, [
|
|
@@ -2396,29 +2399,29 @@ function G0e(r, t, s, l, c, f) {
|
|
|
2396
2399
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2397
2400
|
onClick: t[2] || (t[2] = Pa((h) => f.next(), ["stop"]))
|
|
2398
2401
|
}, [
|
|
2399
|
-
s.direction_property == "ltr" ? (
|
|
2402
|
+
s.direction_property == "ltr" ? (Le(), Xe("svg", D0e, t[10] || (t[10] = [
|
|
2400
2403
|
W("path", {
|
|
2401
2404
|
"stroke-linecap": "round",
|
|
2402
2405
|
"stroke-linejoin": "round",
|
|
2403
2406
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2404
2407
|
}, null, -1)
|
|
2405
|
-
]))) :
|
|
2406
|
-
s.direction_property == "rtl" ? (
|
|
2408
|
+
]))) : Qt("", !0),
|
|
2409
|
+
s.direction_property == "rtl" ? (Le(), Xe("svg", R0e, t[11] || (t[11] = [
|
|
2407
2410
|
W("path", {
|
|
2408
2411
|
"stroke-linecap": "round",
|
|
2409
2412
|
"stroke-linejoin": "round",
|
|
2410
2413
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2411
2414
|
}, null, -1)
|
|
2412
|
-
]))) :
|
|
2415
|
+
]))) : Qt("", !0)
|
|
2413
2416
|
])
|
|
2414
2417
|
])
|
|
2415
|
-
], 2)) :
|
|
2418
|
+
], 2)) : Qt("", !0)
|
|
2416
2419
|
], 10, T0e),
|
|
2417
|
-
!s.hide_indicators && s.slider_arrows_indicators_position != "arrows_indicators_below_slider" ? (
|
|
2420
|
+
!s.hide_indicators && s.slider_arrows_indicators_position != "arrows_indicators_below_slider" ? (Le(), Xe("div", {
|
|
2418
2421
|
key: 0,
|
|
2419
2422
|
class: Nn(["flex justify-center mb-1 space-x-1", f.sliderIndicatorsAction()])
|
|
2420
2423
|
}, [
|
|
2421
|
-
(
|
|
2424
|
+
(Le(!0), Xe(so, null, jr(r.dotsNum, (h) => (Le(), Xe("button", {
|
|
2422
2425
|
role: "button",
|
|
2423
2426
|
class: Nn(["gl-dot", { active: r.currentDot == h }]),
|
|
2424
2427
|
key: h,
|
|
@@ -2426,12 +2429,12 @@ function G0e(r, t, s, l, c, f) {
|
|
|
2426
2429
|
}, t[12] || (t[12] = [
|
|
2427
2430
|
W("span", null, null, -1)
|
|
2428
2431
|
]), 10, M0e))), 128))
|
|
2429
|
-
], 2)) :
|
|
2430
|
-
!s.hide_indicators && s.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (
|
|
2432
|
+
], 2)) : Qt("", !0),
|
|
2433
|
+
!s.hide_indicators && s.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (Le(), Xe("div", N0e, [
|
|
2431
2434
|
W("div", {
|
|
2432
2435
|
class: Nn(["flex justify-center mb-1 space-x-1", f.sliderIndicatorsAction()])
|
|
2433
2436
|
}, [
|
|
2434
|
-
(
|
|
2437
|
+
(Le(!0), Xe(so, null, jr(r.dotsNum, (h) => (Le(), Xe("button", {
|
|
2435
2438
|
role: "button",
|
|
2436
2439
|
class: Nn(["gl-dot", { active: r.currentDot == h }]),
|
|
2437
2440
|
key: h,
|
|
@@ -2440,27 +2443,27 @@ function G0e(r, t, s, l, c, f) {
|
|
|
2440
2443
|
W("span", null, null, -1)
|
|
2441
2444
|
]), 10, F0e))), 128))
|
|
2442
2445
|
], 2),
|
|
2443
|
-
r.dotsNum > 0 ? (
|
|
2446
|
+
r.dotsNum > 0 ? (Le(), Xe("div", B0e, [
|
|
2444
2447
|
W("div", I0e, [
|
|
2445
2448
|
W("div", L0e, [
|
|
2446
2449
|
W("button", {
|
|
2447
2450
|
class: Nn(["p-3 rounded-full arrow_button_styles", s.direction_property == "rtl" ? "ml-3" : "mr-3"]),
|
|
2448
2451
|
onClick: t[3] || (t[3] = (h) => f.prev())
|
|
2449
2452
|
}, [
|
|
2450
|
-
s.direction_property == "ltr" ? (
|
|
2453
|
+
s.direction_property == "ltr" ? (Le(), Xe("svg", Q0e, t[14] || (t[14] = [
|
|
2451
2454
|
W("path", {
|
|
2452
2455
|
"stroke-linecap": "round",
|
|
2453
2456
|
"stroke-linejoin": "round",
|
|
2454
2457
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2455
2458
|
}, null, -1)
|
|
2456
|
-
]))) :
|
|
2457
|
-
s.direction_property == "rtl" ? (
|
|
2459
|
+
]))) : Qt("", !0),
|
|
2460
|
+
s.direction_property == "rtl" ? (Le(), Xe("svg", V0e, t[15] || (t[15] = [
|
|
2458
2461
|
W("path", {
|
|
2459
2462
|
"stroke-linecap": "round",
|
|
2460
2463
|
"stroke-linejoin": "round",
|
|
2461
2464
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2462
2465
|
}, null, -1)
|
|
2463
|
-
]))) :
|
|
2466
|
+
]))) : Qt("", !0)
|
|
2464
2467
|
], 2)
|
|
2465
2468
|
])
|
|
2466
2469
|
]),
|
|
@@ -2470,49 +2473,49 @@ function G0e(r, t, s, l, c, f) {
|
|
|
2470
2473
|
class: "p-3 rounded-full arrow_button_styles",
|
|
2471
2474
|
onClick: t[4] || (t[4] = (h) => f.next())
|
|
2472
2475
|
}, [
|
|
2473
|
-
s.direction_property == "ltr" ? (
|
|
2476
|
+
s.direction_property == "ltr" ? (Le(), Xe("svg", Z0e, t[16] || (t[16] = [
|
|
2474
2477
|
W("path", {
|
|
2475
2478
|
"stroke-linecap": "round",
|
|
2476
2479
|
"stroke-linejoin": "round",
|
|
2477
2480
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2478
2481
|
}, null, -1)
|
|
2479
|
-
]))) :
|
|
2480
|
-
s.direction_property == "rtl" ? (
|
|
2482
|
+
]))) : Qt("", !0),
|
|
2483
|
+
s.direction_property == "rtl" ? (Le(), Xe("svg", U0e, t[17] || (t[17] = [
|
|
2481
2484
|
W("path", {
|
|
2482
2485
|
"stroke-linecap": "round",
|
|
2483
2486
|
"stroke-linejoin": "round",
|
|
2484
2487
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2485
2488
|
}, null, -1)
|
|
2486
|
-
]))) :
|
|
2489
|
+
]))) : Qt("", !0)
|
|
2487
2490
|
])
|
|
2488
2491
|
])
|
|
2489
2492
|
])
|
|
2490
|
-
])) :
|
|
2491
|
-
])) :
|
|
2493
|
+
])) : Qt("", !0)
|
|
2494
|
+
])) : Qt("", !0)
|
|
2492
2495
|
], 10, _0e),
|
|
2493
|
-
r.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_outside_slider" ? (
|
|
2496
|
+
r.dotsNum > 0 && !s.hide_arrow && s.slider_arrows_indicators_position == "arrows_outside_slider" ? (Le(), Xe("div", W0e, [
|
|
2494
2497
|
W("div", X0e, [
|
|
2495
2498
|
W("button", {
|
|
2496
2499
|
class: "p-3 ml-5 rounded-full shadow-lg arrow_button_styles",
|
|
2497
2500
|
onClick: t[5] || (t[5] = (h) => f.next())
|
|
2498
2501
|
}, [
|
|
2499
|
-
s.direction_property == "ltr" ? (
|
|
2502
|
+
s.direction_property == "ltr" ? (Le(), Xe("svg", j0e, t[18] || (t[18] = [
|
|
2500
2503
|
W("path", {
|
|
2501
2504
|
"stroke-linecap": "round",
|
|
2502
2505
|
"stroke-linejoin": "round",
|
|
2503
2506
|
d: "M13 7l5 5m0 0l-5 5m5-5H6"
|
|
2504
2507
|
}, null, -1)
|
|
2505
|
-
]))) :
|
|
2506
|
-
s.direction_property == "rtl" ? (
|
|
2508
|
+
]))) : Qt("", !0),
|
|
2509
|
+
s.direction_property == "rtl" ? (Le(), Xe("svg", q0e, t[19] || (t[19] = [
|
|
2507
2510
|
W("path", {
|
|
2508
2511
|
"stroke-linecap": "round",
|
|
2509
2512
|
"stroke-linejoin": "round",
|
|
2510
2513
|
d: "M11 17l-5-5m0 0l5-5m-5 5h12"
|
|
2511
2514
|
}, null, -1)
|
|
2512
|
-
]))) :
|
|
2515
|
+
]))) : Qt("", !0)
|
|
2513
2516
|
])
|
|
2514
2517
|
])
|
|
2515
|
-
])) :
|
|
2518
|
+
])) : Qt("", !0)
|
|
2516
2519
|
], 10, x0e)
|
|
2517
2520
|
]);
|
|
2518
2521
|
}
|
|
@@ -2575,7 +2578,7 @@ const MRe = /* @__PURE__ */ Ii(O0e, [["render", G0e], ["__scopeId", "data-v-4c7f
|
|
|
2575
2578
|
{ immediate: !0, deep: !0 }
|
|
2576
2579
|
), (x, C) => {
|
|
2577
2580
|
var T;
|
|
2578
|
-
return r.is_open ? (
|
|
2581
|
+
return r.is_open ? (Le(), Xe("div", {
|
|
2579
2582
|
key: 0,
|
|
2580
2583
|
class: Nn(["fixed h-full w-full overflow-y-auto overflow-x-hidden outline-hidden inset-0 bg-black/80! min-w-full", r.has_large_z_index ? "z-9999" : "z-1055"]),
|
|
2581
2584
|
tabindex: "-1"
|
|
@@ -2609,9 +2612,9 @@ const MRe = /* @__PURE__ */ Ii(O0e, [["render", G0e], ["__scopeId", "data-v-4c7f
|
|
|
2609
2612
|
], -1)
|
|
2610
2613
|
]))
|
|
2611
2614
|
]),
|
|
2612
|
-
b.value ? (
|
|
2615
|
+
b.value ? (Le(), Xe("div", epe, C[1] || (C[1] = [
|
|
2613
2616
|
hne('<div class="flex items-center justify-center h-48 mb-4 bg-gray-300 rounded-sm 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 text-gray-200 me-3 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)
|
|
2614
|
-
]))) :
|
|
2617
|
+
]))) : Qt("", !0),
|
|
2615
2618
|
Er(W("div", {
|
|
2616
2619
|
class: Nn(["relative gl_modal_body", r.bodyClass])
|
|
2617
2620
|
}, [
|
|
@@ -2631,7 +2634,7 @@ const MRe = /* @__PURE__ */ Ii(O0e, [["render", G0e], ["__scopeId", "data-v-4c7f
|
|
|
2631
2634
|
])
|
|
2632
2635
|
])
|
|
2633
2636
|
], 2)
|
|
2634
|
-
], 2)) :
|
|
2637
|
+
], 2)) : Qt("", !0);
|
|
2635
2638
|
};
|
|
2636
2639
|
}
|
|
2637
2640
|
}, npe = { class: "relative flex flex-col w-full text-current bg-white border rounded-lg outline-hidden pointer-events-auto shadow-4 border-stroke dark:border-strokeDark dark:bg-boxDark" }, spe = {
|
|
@@ -2697,7 +2700,7 @@ const MRe = /* @__PURE__ */ Ii(O0e, [["render", G0e], ["__scopeId", "data-v-4c7f
|
|
|
2697
2700
|
{ immediate: !0, deep: !0 }
|
|
2698
2701
|
), SA(() => {
|
|
2699
2702
|
f();
|
|
2700
|
-
}), (b, x) => r.is_open ? (
|
|
2703
|
+
}), (b, x) => r.is_open ? (Le(), Xe("div", {
|
|
2701
2704
|
key: 0,
|
|
2702
2705
|
class: Nn(["fixed h-full w-full overflow-y-auto outline-hidden inset-0 bg-black/80!", r.has_large_z_index ? "z-9999" : "z-1055"]),
|
|
2703
2706
|
tabindex: "-1",
|
|
@@ -2707,7 +2710,7 @@ const MRe = /* @__PURE__ */ Ii(O0e, [["render", G0e], ["__scopeId", "data-v-4c7f
|
|
|
2707
2710
|
class: Nn(["pointer-events-none relative w-auto translate-y-[-50px] transition-all duration-300 ease-in-out min-[576px]:mx-auto mt-7", r.max_width])
|
|
2708
2711
|
}, [
|
|
2709
2712
|
W("div", npe, [
|
|
2710
|
-
r.has_header ? (
|
|
2713
|
+
r.has_header ? (Le(), Xe("div", spe, [
|
|
2711
2714
|
W("h5", ope, Gt(r.title), 1),
|
|
2712
2715
|
W("button", {
|
|
2713
2716
|
type: "button",
|
|
@@ -2731,10 +2734,10 @@ const MRe = /* @__PURE__ */ Ii(O0e, [["render", G0e], ["__scopeId", "data-v-4c7f
|
|
|
2731
2734
|
])
|
|
2732
2735
|
], -1)
|
|
2733
2736
|
]))
|
|
2734
|
-
])) :
|
|
2735
|
-
r.is_loading ? (
|
|
2737
|
+
])) : Qt("", !0),
|
|
2738
|
+
r.is_loading ? (Le(), Xe("div", rpe, x[1] || (x[1] = [
|
|
2736
2739
|
hne('<div class="flex items-center justify-center h-48 mb-4 bg-gray-300 rounded-sm 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 text-gray-200 me-3 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)
|
|
2737
|
-
]))) :
|
|
2740
|
+
]))) : Qt("", !0),
|
|
2738
2741
|
Er(W("div", {
|
|
2739
2742
|
class: Nn(["relative gl_modal_body", r.bodyClass])
|
|
2740
2743
|
}, [
|
|
@@ -2742,7 +2745,7 @@ const MRe = /* @__PURE__ */ Ii(O0e, [["render", G0e], ["__scopeId", "data-v-4c7f
|
|
|
2742
2745
|
], 2), [
|
|
2743
2746
|
[Cf, !r.is_loading]
|
|
2744
2747
|
]),
|
|
2745
|
-
r.has_footer ? Er((
|
|
2748
|
+
r.has_footer ? Er((Le(), Xe("div", ipe, [
|
|
2746
2749
|
Pu(b.$slots, "buttons"),
|
|
2747
2750
|
W("button", {
|
|
2748
2751
|
onClick: h,
|
|
@@ -2751,10 +2754,10 @@ const MRe = /* @__PURE__ */ Ii(O0e, [["render", G0e], ["__scopeId", "data-v-4c7f
|
|
|
2751
2754
|
}, " Close ")
|
|
2752
2755
|
], 512)), [
|
|
2753
2756
|
[Cf, !r.is_loading]
|
|
2754
|
-
]) :
|
|
2757
|
+
]) : Qt("", !0)
|
|
2755
2758
|
])
|
|
2756
2759
|
], 2)
|
|
2757
|
-
], 2)) :
|
|
2760
|
+
], 2)) : Qt("", !0);
|
|
2758
2761
|
}
|
|
2759
2762
|
}, ape = { class: "pointer-events-auto relative flex max-h-[100%] w-full flex-col overflow-hidden text-current shadow-4 outline-hidden bg-white border rounded-lg border-stroke dark:border-strokeDark dark:bg-boxDark" }, lpe = { class: "flex items-center justify-between shrink-0 pt-10 pb-3 pl-3 pr-3 border-b-2 dark:border-gray-600" }, cpe = { class: "text-xl font-medium leading-normal text-surface dark:text-white" }, upe = {
|
|
2760
2763
|
key: 0,
|
|
@@ -2811,7 +2814,7 @@ const MRe = /* @__PURE__ */ Ii(O0e, [["render", G0e], ["__scopeId", "data-v-4c7f
|
|
|
2811
2814
|
{ immediate: !0, deep: !0 }
|
|
2812
2815
|
), (b, x) => {
|
|
2813
2816
|
var C;
|
|
2814
|
-
return Er((
|
|
2817
|
+
return Er((Le(), Xe("div", {
|
|
2815
2818
|
class: Nn(["fixed h-full w-full overflow-y-auto overflow-x-hidden outline-hidden inset-0 bg-black/80!", r.has_large_z_index ? "z-9999" : "z-1055"]),
|
|
2816
2819
|
tabindex: "-1"
|
|
2817
2820
|
}, [
|
|
@@ -2844,9 +2847,9 @@ const MRe = /* @__PURE__ */ Ii(O0e, [["render", G0e], ["__scopeId", "data-v-4c7f
|
|
|
2844
2847
|
], -1)
|
|
2845
2848
|
]))
|
|
2846
2849
|
]),
|
|
2847
|
-
r.is_loading ? (
|
|
2850
|
+
r.is_loading ? (Le(), Xe("div", upe, x[1] || (x[1] = [
|
|
2848
2851
|
hne('<div class="flex items-center justify-center h-48 mb-4 bg-gray-300 rounded-sm 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 text-gray-200 me-3 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)
|
|
2849
|
-
]))) :
|
|
2852
|
+
]))) : Qt("", !0),
|
|
2850
2853
|
Er(W("div", {
|
|
2851
2854
|
class: Nn(["relative overflow-y-auto gl_modal_body", r.bodyClass])
|
|
2852
2855
|
}, [
|
|
@@ -2928,8 +2931,8 @@ const MRe = /* @__PURE__ */ Ii(O0e, [["render", G0e], ["__scopeId", "data-v-4c7f
|
|
|
2928
2931
|
l("update:modelValue", h);
|
|
2929
2932
|
}
|
|
2930
2933
|
});
|
|
2931
|
-
return (h, b) => (
|
|
2932
|
-
r.show ? (
|
|
2934
|
+
return (h, b) => (Le(), Xe(so, null, [
|
|
2935
|
+
r.show ? (Le(), Xe("div", {
|
|
2933
2936
|
key: 0,
|
|
2934
2937
|
class: Nn(r.field_name)
|
|
2935
2938
|
}, [
|
|
@@ -2954,14 +2957,14 @@ const MRe = /* @__PURE__ */ Ii(O0e, [["render", G0e], ["__scopeId", "data-v-4c7f
|
|
|
2954
2957
|
])
|
|
2955
2958
|
]),
|
|
2956
2959
|
b[2] || (b[2] = W("hr", { class: "opacity-100! bg-gray-200 border-0 dark:bg-gray-700" }, null, -1))
|
|
2957
|
-
], 2)) :
|
|
2958
|
-
r.show ?
|
|
2960
|
+
], 2)) : Qt("", !0),
|
|
2961
|
+
r.show ? Qt("", !0) : (Le(), Xe("div", {
|
|
2959
2962
|
key: 1,
|
|
2960
2963
|
class: Nn(r.field_name)
|
|
2961
2964
|
}, [
|
|
2962
|
-
r.has_label_up ? (
|
|
2965
|
+
r.has_label_up ? (Le(), Xe("div", gpe, [
|
|
2963
2966
|
W("label", ppe, Gt(r.label_name), 1)
|
|
2964
|
-
])) :
|
|
2967
|
+
])) : Qt("", !0),
|
|
2965
2968
|
W("li", bpe, [
|
|
2966
2969
|
to(Gt(r.label_name) + " ", 1),
|
|
2967
2970
|
W("label", vpe, [
|
|
@@ -3039,8 +3042,8 @@ const MRe = /* @__PURE__ */ Ii(O0e, [["render", G0e], ["__scopeId", "data-v-4c7f
|
|
|
3039
3042
|
l("update:modelValue", h);
|
|
3040
3043
|
}
|
|
3041
3044
|
});
|
|
3042
|
-
return (h, b) => (
|
|
3043
|
-
r.show ? (
|
|
3045
|
+
return (h, b) => (Le(), Xe(so, null, [
|
|
3046
|
+
r.show ? (Le(), Xe("div", {
|
|
3044
3047
|
key: 0,
|
|
3045
3048
|
class: Nn(r.field_name)
|
|
3046
3049
|
}, [
|
|
@@ -3063,14 +3066,14 @@ const MRe = /* @__PURE__ */ Ii(O0e, [["render", G0e], ["__scopeId", "data-v-4c7f
|
|
|
3063
3066
|
])
|
|
3064
3067
|
]),
|
|
3065
3068
|
b[2] || (b[2] = W("hr", { class: "opacity-100! bg-gray-200 border-0 dark:bg-gray-700" }, null, -1))
|
|
3066
|
-
], 2)) :
|
|
3067
|
-
r.show ?
|
|
3069
|
+
], 2)) : Qt("", !0),
|
|
3070
|
+
r.show ? Qt("", !0) : (Le(), Xe("div", {
|
|
3068
3071
|
key: 1,
|
|
3069
3072
|
class: Nn(r.field_name)
|
|
3070
3073
|
}, [
|
|
3071
|
-
r.has_label_up ? (
|
|
3074
|
+
r.has_label_up ? (Le(), Xe("div", kpe, [
|
|
3072
3075
|
W("label", _pe, Gt(r.label_name), 1)
|
|
3073
|
-
])) :
|
|
3076
|
+
])) : Qt("", !0),
|
|
3074
3077
|
W("li", Tpe, [
|
|
3075
3078
|
to(Gt(r.label_name) + " ", 1),
|
|
3076
3079
|
W("label", Epe, [
|
|
@@ -3195,7 +3198,7 @@ const MRe = /* @__PURE__ */ Ii(O0e, [["render", G0e], ["__scopeId", "data-v-4c7f
|
|
|
3195
3198
|
setup(r, { emit: t }) {
|
|
3196
3199
|
const s = r, l = t;
|
|
3197
3200
|
fo(null);
|
|
3198
|
-
const c = fo({}), f = fo(!1), h = fo(0), b = fo(!1), x = fo(""), C = fo(""), T = fo(!1), R = fo(1), M = fo(null), H = fo(1), q = fo([]), G = fo([]), ee = fo(null), ve = fo(null), ke = async (Et = "down",
|
|
3201
|
+
const c = fo({}), f = fo(!1), h = fo(0), b = fo(!1), x = fo(""), C = fo(""), T = fo(!1), R = fo(1), M = fo(null), H = fo(1), q = fo([]), G = fo([]), ee = fo(null), ve = fo(null), ke = async (Et = "down", Qe = !1) => {
|
|
3199
3202
|
if (!T.value) {
|
|
3200
3203
|
T.value = !0;
|
|
3201
3204
|
try {
|
|
@@ -3203,7 +3206,7 @@ const MRe = /* @__PURE__ */ Ii(O0e, [["render", G0e], ["__scopeId", "data-v-4c7f
|
|
|
3203
3206
|
params: { search: x.value, page: _e, per_page: 20 }
|
|
3204
3207
|
});
|
|
3205
3208
|
let $e = St(ht.data);
|
|
3206
|
-
Et === "down" && (q.value.push(...$e), R.value++, M.value = ht.last_page), M.value || (M.value = ht.last_page), H.value || (H.value = 1), c.value = Ye(),
|
|
3209
|
+
Et === "down" && (q.value.push(...$e), R.value++, M.value = ht.last_page), M.value || (M.value = ht.last_page), H.value || (H.value = 1), c.value = Ye(), Qe && (x.value = "", q.value = []);
|
|
3207
3210
|
} catch (_e) {
|
|
3208
3211
|
console.error("Error fetching data:", _e);
|
|
3209
3212
|
}
|
|
@@ -3211,7 +3214,7 @@ const MRe = /* @__PURE__ */ Ii(O0e, [["render", G0e], ["__scopeId", "data-v-4c7f
|
|
|
3211
3214
|
}
|
|
3212
3215
|
}, ne = (Et) => {
|
|
3213
3216
|
if (!Et.target) return;
|
|
3214
|
-
const
|
|
3217
|
+
const Qe = Et.target.scrollTop, _e = Et.target.scrollHeight - Et.target.clientHeight <= Qe + 10, ht = Qe <= 10;
|
|
3215
3218
|
_e && R.value <= M.value && ke("down"), ht && R.value > H.value;
|
|
3216
3219
|
}, fe = (Et) => {
|
|
3217
3220
|
Et.target && (document.activeElement.classList.contains("showOptions" + C.value) ? b.value || Ot() : Et.target.id != s.field_name + "search" + C.value && Et.target.id != s.field_name && !Et.target.classList.contains("showOptions" + C.value) && (os(), h.value = 0, b.value = !1));
|
|
@@ -3243,7 +3246,7 @@ const MRe = /* @__PURE__ */ Ii(O0e, [["render", G0e], ["__scopeId", "data-v-4c7f
|
|
|
3243
3246
|
document.body.removeEventListener("click", Me), document.removeEventListener("focusin", fe);
|
|
3244
3247
|
});
|
|
3245
3248
|
function X() {
|
|
3246
|
-
const Et = [],
|
|
3249
|
+
const Et = [], Qe = x.value.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), _e = new RegExp(Qe, "ig");
|
|
3247
3250
|
for (const ht of G.value) {
|
|
3248
3251
|
const $e = String(ht.name);
|
|
3249
3252
|
(x.value.length < 1 || $e.match(_e)) && Et.length < s.maxItem && Et.push(ht);
|
|
@@ -3280,21 +3283,21 @@ const MRe = /* @__PURE__ */ Ii(O0e, [["render", G0e], ["__scopeId", "data-v-4c7f
|
|
|
3280
3283
|
Et.target.id != s.field_name + "search" + C.value && Et.target.id != s.field_name && !Et.target.classList.contains("showOptions" + C.value) && (os(), h.value = 0, b.value = !1);
|
|
3281
3284
|
}
|
|
3282
3285
|
function ue(Et) {
|
|
3283
|
-
const
|
|
3286
|
+
const Qe = `${Et}${C.value}`, _e = document.getElementById(Qe);
|
|
3284
3287
|
_e && _e.scrollIntoView();
|
|
3285
3288
|
}
|
|
3286
3289
|
function Jt(Et) {
|
|
3287
|
-
const
|
|
3290
|
+
const Qe = `${Et}${C.value}`, _e = document.getElementById(Qe);
|
|
3288
3291
|
_e && _e.click();
|
|
3289
3292
|
}
|
|
3290
3293
|
function xt(Et) {
|
|
3291
3294
|
Et === "ArrowDown" && h.value < q.value.length && (h.value++, ue(h.value)), Et === "ArrowUp" && h.value > 1 && (h.value--, ue(h.value)), Et === "Enter" && Jt(h.value);
|
|
3292
3295
|
}
|
|
3293
3296
|
function St(Et) {
|
|
3294
|
-
return Et.map((
|
|
3297
|
+
return Et.map((Qe, _e) => typeof Qe == "object" ? Qe : { id: Qe, name: Qe });
|
|
3295
3298
|
}
|
|
3296
3299
|
function B() {
|
|
3297
|
-
return s.options.map((Et,
|
|
3300
|
+
return s.options.map((Et, Qe) => typeof Et == "object" ? Et : { id: Et, name: Et });
|
|
3298
3301
|
}
|
|
3299
3302
|
function tn(Et) {
|
|
3300
3303
|
f.value = !0, c.value = Et, b.value = !1, l("update:modelValue", c.value.id), l("selected", c.value), l("selectionChanged", c.value);
|
|
@@ -3321,10 +3324,10 @@ const MRe = /* @__PURE__ */ Ii(O0e, [["render", G0e], ["__scopeId", "data-v-4c7f
|
|
|
3321
3324
|
s.api_url || (q.value = G.value = B()), c.value = Ye();
|
|
3322
3325
|
},
|
|
3323
3326
|
{ immediate: !0, deep: !0 }
|
|
3324
|
-
), (Et,
|
|
3327
|
+
), (Et, Qe) => {
|
|
3325
3328
|
var _e, ht, $e;
|
|
3326
|
-
return
|
|
3327
|
-
r.show ? (
|
|
3329
|
+
return Le(), Xe(so, null, [
|
|
3330
|
+
r.show ? (Le(), Xe("div", {
|
|
3328
3331
|
key: 0,
|
|
3329
3332
|
class: Nn(r.field_name)
|
|
3330
3333
|
}, [
|
|
@@ -3332,9 +3335,9 @@ const MRe = /* @__PURE__ */ Ii(O0e, [["render", G0e], ["__scopeId", "data-v-4c7f
|
|
|
3332
3335
|
W("p", Rpe, [
|
|
3333
3336
|
W("span", Mpe, Gt((_e = c.value) == null ? void 0 : _e.name), 1)
|
|
3334
3337
|
]),
|
|
3335
|
-
|
|
3336
|
-
], 2)) :
|
|
3337
|
-
r.show ?
|
|
3338
|
+
Qe[4] || (Qe[4] = W("hr", { class: "opacity-100! bg-gray-200 border-0 dark:bg-gray-700" }, null, -1))
|
|
3339
|
+
], 2)) : Qt("", !0),
|
|
3340
|
+
r.show ? Qt("", !0) : (Le(), Xe("div", {
|
|
3338
3341
|
key: 1,
|
|
3339
3342
|
class: Nn(r.field_name)
|
|
3340
3343
|
}, [
|
|
@@ -3344,15 +3347,15 @@ const MRe = /* @__PURE__ */ Ii(O0e, [["render", G0e], ["__scopeId", "data-v-4c7f
|
|
|
3344
3347
|
id: r.field_name,
|
|
3345
3348
|
value: (ht = c.value) == null ? void 0 : ht.id
|
|
3346
3349
|
}, null, 8, Npe),
|
|
3347
|
-
r.options ? (
|
|
3348
|
-
r.label_name ? (
|
|
3350
|
+
r.options ? (Le(), Xe("div", Fpe, [
|
|
3351
|
+
r.label_name ? (Le(), Xe("label", {
|
|
3349
3352
|
key: 0,
|
|
3350
3353
|
class: Nn({
|
|
3351
3354
|
"gl-label-form": r.error_message == "",
|
|
3352
3355
|
"gl-label-form-invalid": r.error_message !== "",
|
|
3353
3356
|
required: r.is_required
|
|
3354
3357
|
})
|
|
3355
|
-
}, Gt(r.label_name), 3)) :
|
|
3358
|
+
}, Gt(r.label_name), 3)) : Qt("", !0),
|
|
3356
3359
|
W("div", Bpe, [
|
|
3357
3360
|
W("div", Ipe, [
|
|
3358
3361
|
W("input", {
|
|
@@ -3369,10 +3372,10 @@ const MRe = /* @__PURE__ */ Ii(O0e, [["render", G0e], ["__scopeId", "data-v-4c7f
|
|
|
3369
3372
|
readonly: ""
|
|
3370
3373
|
}, null, 10, Lpe),
|
|
3371
3374
|
Er(W("i", {
|
|
3372
|
-
onClick:
|
|
3375
|
+
onClick: Qe[0] || (Qe[0] = Pa((qe) => Nt(), ["stop"])),
|
|
3373
3376
|
class: "absolute text-gray-500 cursor-pointer pointer-events-auto ltr:right-8 rtl:left-8 hover:text-red-600 dark:hover:text-red-400",
|
|
3374
3377
|
style: { top: "13px" }
|
|
3375
|
-
},
|
|
3378
|
+
}, Qe[5] || (Qe[5] = [
|
|
3376
3379
|
W("svg", {
|
|
3377
3380
|
class: "w-[10px] h-[16px]",
|
|
3378
3381
|
"aria-hidden": "true",
|
|
@@ -3392,17 +3395,17 @@ const MRe = /* @__PURE__ */ Ii(O0e, [["render", G0e], ["__scopeId", "data-v-4c7f
|
|
|
3392
3395
|
[Cf, wt(c.value) && r.has_cancel]
|
|
3393
3396
|
]),
|
|
3394
3397
|
W("i", {
|
|
3395
|
-
onClick:
|
|
3398
|
+
onClick: Qe[1] || (Qe[1] = Pa((qe) => Ot(), ["stop"])),
|
|
3396
3399
|
class: "absolute text-xl text-gray-500 cursor-pointer ltr:right-2 rtl:left-2 hover:text-gray-700 dark:hover:text-gray-800 showOptions",
|
|
3397
3400
|
style: { top: "13px" }
|
|
3398
3401
|
}, [
|
|
3399
|
-
(
|
|
3402
|
+
(Le(), Xe("svg", {
|
|
3400
3403
|
class: Nn([b.value ? "" : "rotate-180", "w-4 h-4 shrink-0"]),
|
|
3401
3404
|
"aria-hidden": "true",
|
|
3402
3405
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3403
3406
|
fill: "none",
|
|
3404
3407
|
viewBox: "0 0 10 6"
|
|
3405
|
-
},
|
|
3408
|
+
}, Qe[6] || (Qe[6] = [
|
|
3406
3409
|
W("path", {
|
|
3407
3410
|
stroke: "currentColor",
|
|
3408
3411
|
"stroke-linecap": "round",
|
|
@@ -3413,19 +3416,19 @@ const MRe = /* @__PURE__ */ Ii(O0e, [["render", G0e], ["__scopeId", "data-v-4c7f
|
|
|
3413
3416
|
]), 2))
|
|
3414
3417
|
]),
|
|
3415
3418
|
Er(W("div", Qpe, [
|
|
3416
|
-
r.hide_search ?
|
|
3417
|
-
|
|
3419
|
+
r.hide_search ? Qt("", !0) : (Le(), Xe("div", Vpe, [
|
|
3420
|
+
Qe[8] || (Qe[8] = W("label", {
|
|
3418
3421
|
for: "default-search",
|
|
3419
3422
|
class: "mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"
|
|
3420
3423
|
}, "Search", -1)),
|
|
3421
3424
|
W("div", Hpe, [
|
|
3422
|
-
|
|
3425
|
+
Qe[7] || (Qe[7] = W("div", { class: "absolute inset-y-0 flex items-center pointer-events-none start-0 ps-3" }, null, -1)),
|
|
3423
3426
|
Er(W("input", {
|
|
3424
3427
|
type: "search",
|
|
3425
|
-
"onUpdate:modelValue":
|
|
3428
|
+
"onUpdate:modelValue": Qe[2] || (Qe[2] = (qe) => x.value = qe),
|
|
3426
3429
|
id: `${r.field_name}search${C.value}`,
|
|
3427
3430
|
onKeydown: ot,
|
|
3428
|
-
onBlur:
|
|
3431
|
+
onBlur: Qe[3] || (Qe[3] = (qe) => os()),
|
|
3429
3432
|
autocomplete: "off",
|
|
3430
3433
|
class: "block w-full p-2 text-sm text-gray-900 border rounded-lg outline-hidden border-primary bg-gray-50 focus:border-primary dark:bg-gray-700 dark:border-primaryDark dark:placeholder-primaryDark dark:text-white dark:focus:border-primaryDark",
|
|
3431
3434
|
placeholder: r.search_input_placeholder
|
|
@@ -3440,9 +3443,9 @@ const MRe = /* @__PURE__ */ Ii(O0e, [["render", G0e], ["__scopeId", "data-v-4c7f
|
|
|
3440
3443
|
ref_key: "dropdownRef",
|
|
3441
3444
|
ref: ve
|
|
3442
3445
|
}, [
|
|
3443
|
-
q.value.length ? (
|
|
3446
|
+
q.value.length ? (Le(!0), Xe(so, { key: 0 }, jr(q.value, (qe, Fe) => {
|
|
3444
3447
|
var bt;
|
|
3445
|
-
return
|
|
3448
|
+
return Le(), Xe("div", {
|
|
3446
3449
|
class: Nn([
|
|
3447
3450
|
"relative px-2 py-2 text-xs leading-4 text-gray-700 no-underline cursor-pointer dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white",
|
|
3448
3451
|
Fe + 1 == h.value ? "bg-gray-100 dark:bg-gray-600" : ""
|
|
@@ -3453,7 +3456,7 @@ const MRe = /* @__PURE__ */ Ii(O0e, [["render", G0e], ["__scopeId", "data-v-4c7f
|
|
|
3453
3456
|
id: `${Fe + 1}${C.value}`
|
|
3454
3457
|
}, [
|
|
3455
3458
|
W("div", Upe, [
|
|
3456
|
-
((bt = c.value) == null ? void 0 : bt.id) === qe.id ? (
|
|
3459
|
+
((bt = c.value) == null ? void 0 : bt.id) === qe.id ? (Le(), Xe("svg", Wpe, Qe[9] || (Qe[9] = [
|
|
3457
3460
|
W("path", {
|
|
3458
3461
|
stroke: "currentColor",
|
|
3459
3462
|
"stroke-linecap": "round",
|
|
@@ -3461,22 +3464,22 @@ const MRe = /* @__PURE__ */ Ii(O0e, [["render", G0e], ["__scopeId", "data-v-4c7f
|
|
|
3461
3464
|
"stroke-width": "2",
|
|
3462
3465
|
d: "M1 5.917 5.724 10.5 15 1.5"
|
|
3463
3466
|
}, null, -1)
|
|
3464
|
-
]))) :
|
|
3467
|
+
]))) : Qt("", !0),
|
|
3465
3468
|
W("span", {
|
|
3466
3469
|
innerHTML: qe.name || qe.id || "-"
|
|
3467
3470
|
}, null, 8, Xpe)
|
|
3468
3471
|
])
|
|
3469
3472
|
], 42, Zpe);
|
|
3470
|
-
}), 128)) :
|
|
3471
|
-
T.value ? (
|
|
3472
|
-
!T.value && q.value.length === 0 ? (
|
|
3473
|
+
}), 128)) : Qt("", !0),
|
|
3474
|
+
T.value ? (Le(), Xe("div", jpe, " Loading... ")) : Qt("", !0),
|
|
3475
|
+
!T.value && q.value.length === 0 ? (Le(), Xe("div", qpe, Gt(r.no_results_found_placeholder), 1)) : Qt("", !0)
|
|
3473
3476
|
], 544)
|
|
3474
3477
|
], 512), [
|
|
3475
3478
|
[Cf, b.value]
|
|
3476
3479
|
])
|
|
3477
3480
|
])
|
|
3478
3481
|
])
|
|
3479
|
-
])) :
|
|
3482
|
+
])) : Qt("", !0),
|
|
3480
3483
|
W("span", Gpe, Gt(r.error_message), 1),
|
|
3481
3484
|
W("small", Ype, Gt(r.description), 1)
|
|
3482
3485
|
], 2))
|
|
@@ -3541,8 +3544,8 @@ const MRe = /* @__PURE__ */ Ii(O0e, [["render", G0e], ["__scopeId", "data-v-4c7f
|
|
|
3541
3544
|
c("update:modelValue", b);
|
|
3542
3545
|
}
|
|
3543
3546
|
});
|
|
3544
|
-
return t({ focus: () => f.value.focus() }), (b, x) => (
|
|
3545
|
-
r.show ? (
|
|
3547
|
+
return t({ focus: () => f.value.focus() }), (b, x) => (Le(), Xe(so, null, [
|
|
3548
|
+
r.show ? (Le(), Xe("div", {
|
|
3546
3549
|
key: 0,
|
|
3547
3550
|
class: Nn(r.field_name)
|
|
3548
3551
|
}, [
|
|
@@ -3552,8 +3555,8 @@ const MRe = /* @__PURE__ */ Ii(O0e, [["render", G0e], ["__scopeId", "data-v-4c7f
|
|
|
3552
3555
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
3553
3556
|
}, Gt(r.model_value), 9, e1e),
|
|
3554
3557
|
x[2] || (x[2] = W("hr", { class: "opacity-100! bg-gray-200 border-0 dark:bg-gray-700" }, null, -1))
|
|
3555
|
-
], 2)) :
|
|
3556
|
-
r.show ?
|
|
3558
|
+
], 2)) : Qt("", !0),
|
|
3559
|
+
r.show ? Qt("", !0) : (Le(), Xe("div", {
|
|
3557
3560
|
key: 1,
|
|
3558
3561
|
class: Nn(["mb-4", r.field_name])
|
|
3559
3562
|
}, [
|
|
@@ -3671,7 +3674,7 @@ function i1e() {
|
|
|
3671
3674
|
return !1;
|
|
3672
3675
|
}, St = () => {
|
|
3673
3676
|
}, B = (e, o) => (...i) => e(o.apply(null, i)), tn = (e, o) => (i) => e(o(i)), Nt = (e) => () => e, os = (e) => e, Et = (e, o) => e === o;
|
|
3674
|
-
function
|
|
3677
|
+
function Qe(e, ...o) {
|
|
3675
3678
|
return (...i) => {
|
|
3676
3679
|
const u = o.concat(i);
|
|
3677
3680
|
return e.apply(null, u);
|
|
@@ -3997,16 +4000,16 @@ function i1e() {
|
|
|
3997
4000
|
current: m.name,
|
|
3998
4001
|
version: Be.nu(parseInt(i.version, 10), 0)
|
|
3999
4002
|
}));
|
|
4000
|
-
}),
|
|
4003
|
+
}), Vt = (e, o) => {
|
|
4001
4004
|
const i = String(o).toLowerCase();
|
|
4002
4005
|
return qs(e, (u) => u.search(i));
|
|
4003
|
-
}, Yt = (e, o) =>
|
|
4006
|
+
}, Yt = (e, o) => Vt(e, o).map((i) => {
|
|
4004
4007
|
const u = Be.detect(i.versionRegexes, o);
|
|
4005
4008
|
return {
|
|
4006
4009
|
current: i.name,
|
|
4007
4010
|
version: u
|
|
4008
4011
|
};
|
|
4009
|
-
}), _n = (e, o) =>
|
|
4012
|
+
}), _n = (e, o) => Vt(e, o).map((i) => {
|
|
4010
4013
|
const u = Be.detect(i.versionRegexes, o);
|
|
4011
4014
|
return {
|
|
4012
4015
|
current: i.name,
|
|
@@ -4528,7 +4531,7 @@ function i1e() {
|
|
|
4528
4531
|
e(i) && o(Np(i));
|
|
4529
4532
|
}, L = (e, o, i, u, m) => {
|
|
4530
4533
|
const v = bi(i, u);
|
|
4531
|
-
return e.dom.addEventListener(o, v, m), { unbind:
|
|
4534
|
+
return e.dom.addEventListener(o, v, m), { unbind: Qe(le, e, o, v, m) };
|
|
4532
4535
|
}, Y = (e, o, i, u) => L(e, o, i, u, !1), le = (e, o, i, u) => {
|
|
4533
4536
|
e.dom.removeEventListener(o, i, u);
|
|
4534
4537
|
}, je = (e, o) => ({
|
|
@@ -4694,7 +4697,7 @@ function i1e() {
|
|
|
4694
4697
|
checkRootAsContent: !1
|
|
4695
4698
|
}, zl = (e, o, i) => {
|
|
4696
4699
|
const u = Je.fromDom(o), m = Je.fromDom(e), v = i.getWhitespaceElements();
|
|
4697
|
-
return Bp(m, (E) => us(v, Pe(E)),
|
|
4700
|
+
return Bp(m, (E) => us(v, Pe(E)), Qe(Zo, u));
|
|
4698
4701
|
}, Rb = (e) => ds(e) && e.nodeName === "A" && !e.hasAttribute("href") && (e.hasAttribute("name") || e.hasAttribute("id")), sn = (e, o) => ds(e) && us(o.getNonEmptyElements(), e.nodeName), Zl = $b("data-mce-bookmark"), zp = (e) => fm(Je.fromDom(e)).exists((o) => !hu(o)), ca = (e, o, i) => fd(e.data) && !zl(e, o, i), gu = (e, o, i, u) => nn(e) && !ca(e, o, i) && (!u.includeZwsp || !yg(e.data)), Ul = (e, o, i, u) => ue(u.isContent) && u.isContent(o) || sn(o, e) || Zl(o) || Rb(o) || gu(o, i, e, u) || Zr(o) || Tl(o) && zp(o), Bc = (e, o, i) => {
|
|
4699
4702
|
const u = {
|
|
4700
4703
|
...La,
|
|
@@ -6984,7 +6987,7 @@ function i1e() {
|
|
|
6984
6987
|
id: m,
|
|
6985
6988
|
forward: P
|
|
6986
6989
|
};
|
|
6987
|
-
}, r5 = (e, o, i = !1) => o === 2 ? A_(xu, i, e) : o === 3 ? s5(e) : o ? o5(e) : lv(e, !1), Qr =
|
|
6990
|
+
}, r5 = (e, o, i = !1) => o === 2 ? A_(xu, i, e) : o === 3 ? s5(e) : o ? o5(e) : lv(e, !1), Qr = Qe(A_, os, !0), hw = (e) => {
|
|
6988
6991
|
const o = (v) => v(e), i = Nt(e), u = () => m, m = {
|
|
6989
6992
|
tag: !0,
|
|
6990
6993
|
inner: e,
|
|
@@ -8000,9 +8003,9 @@ Required: ` + o.join(", "));
|
|
|
8000
8003
|
m = m.parentNode;
|
|
8001
8004
|
}
|
|
8002
8005
|
return null;
|
|
8003
|
-
}, j0 =
|
|
8006
|
+
}, j0 = Qe(Gw, !0), v1 = Qe(Gw, !1), gT = (e, o, i) => {
|
|
8004
8007
|
let u;
|
|
8005
|
-
const m =
|
|
8008
|
+
const m = Qe(Yw, !0, o), v = Qe(Yw, !1, o), w = i.startContainer, E = i.startOffset;
|
|
8006
8009
|
if (ef(w)) {
|
|
8007
8010
|
const P = p1(w) ? w.parentNode : w, I = P.getAttribute("data-mce-caret");
|
|
8008
8011
|
if (I === "before" && (u = P.nextSibling, Bg(u)))
|
|
@@ -8120,7 +8123,7 @@ Required: ` + o.join(", "));
|
|
|
8120
8123
|
}, Lg = (e, o, i) => Wu(e, o, i).bind((u) => sf(i, u, o) && G0(e, i, u) ? Wu(e, o, u) : te.some(u)), Vf = (e, o, i, u) => Lg(e, o, i).bind((m) => u(m) ? Vf(e, o, m, u) : te.some(m)), rf = (e, o) => {
|
|
8121
8124
|
const i = e ? o.firstChild : o.lastChild;
|
|
8122
8125
|
return nn(i) ? te.some(zt(i, e ? 0 : i.data.length)) : i ? wc(i) ? te.some(e ? zt.before(i) : QO(i)) : xT(e, o, i) : te.none();
|
|
8123
|
-
}, Rl =
|
|
8126
|
+
}, Rl = Qe(Wu, !0), ml = Qe(Wu, !1), Ea = Qe(rf, !0), af = Qe(rf, !1), VO = "_mce_caret", Xu = (e) => ds(e) && e.id === VO, Y0 = (e, o) => {
|
|
8124
8127
|
let i = o;
|
|
8125
8128
|
for (; i && i !== e; ) {
|
|
8126
8129
|
if (Xu(i))
|
|
@@ -8239,7 +8242,7 @@ Required: ` + o.join(", "));
|
|
|
8239
8242
|
const o = e.endContainer, i = e.endOffset;
|
|
8240
8243
|
return nn(o) ? i === o.data.length ? te.some(Je.fromDom(o)) : te.none() : te.from(o.childNodes[i - 1]).map(Je.fromDom);
|
|
8241
8244
|
}, Jw = (e) => Rc(e).fold(Nt([e]), (o) => [e].concat(Jw(o))), x1 = (e) => ll(e).fold(Nt([e]), (o) => Pe(o) === "br" ? Wd(o).map((i) => [e].concat(x1(i))).getOr([]) : [e].concat(x1(o))), eS = (e, o) => qr(tp(o), HM(o), (i, u) => {
|
|
8242
|
-
const m = qs(Jw(e),
|
|
8245
|
+
const m = qs(Jw(e), Qe(Zo, i)), v = qs(x1(e), Qe(Zo, u));
|
|
8243
8246
|
return m.isSome() && v.isSome();
|
|
8244
8247
|
}).getOr(!1), tS = (e, o, i, u) => {
|
|
8245
8248
|
const m = i, v = new aa(i, m), w = Uo(e.schema.getMoveCaretBeforeOnEnterElements(), (P, I) => !ze([
|
|
@@ -8606,8 +8609,8 @@ Required: ` + o.join(", "));
|
|
|
8606
8609
|
}
|
|
8607
8610
|
};
|
|
8608
8611
|
}, Hf = (e) => ({
|
|
8609
|
-
getBookmark:
|
|
8610
|
-
moveToBookmark:
|
|
8612
|
+
getBookmark: Qe(ZO, e),
|
|
8613
|
+
moveToBookmark: Qe(Kw, e)
|
|
8611
8614
|
});
|
|
8612
8615
|
Hf.isBookmarkNode = wu;
|
|
8613
8616
|
const ZT = (e, o, i) => i.collapsed ? !1 : lt(i.getClientRects(), (u) => Hc(u, e, o)), UT = () => Je.fromDom(document), hS = (e, o = !1) => e.dom.focus({ preventScroll: o }), KO = (e) => {
|
|
@@ -8763,7 +8766,7 @@ Required: ` + o.join(", "));
|
|
|
8763
8766
|
}, O = (e, o) => {
|
|
8764
8767
|
e.focusedEditor === o.editor && (e.focusedEditor = null), !e.activeEditor && E1 && (wS.unbind(document, "focusin", E1), E1 = null);
|
|
8765
8768
|
}, _ = (e) => {
|
|
8766
|
-
e.on("AddEditor",
|
|
8769
|
+
e.on("AddEditor", Qe(p, e)), e.on("RemoveEditor", Qe(O, e));
|
|
8767
8770
|
}, A = (e, o) => e.dom.getParent(o, (i) => e.dom.getContentEditable(i) === "true"), Q = (e, o) => e.dom.getParent(o, (i) => e.dom.getContentEditable(i) === "false") !== null, U = (e) => e.collapsed ? te.from($h(e.startContainer, e.startOffset)).map(Je.fromDom) : te.none(), re = (e, o) => U(o).bind((i) => AM(i) ? te.some(i) : ii(e, i) ? te.none() : te.some(e)), be = (e, o) => {
|
|
8768
8771
|
re(Je.fromDom(e.getBody()), o).bind((i) => Ea(i.dom)).fold(() => {
|
|
8769
8772
|
e.selection.normalize();
|
|
@@ -9591,8 +9594,8 @@ Required: ` + o.join(", "));
|
|
|
9591
9594
|
}, tZ = B(C7, O7), nZ = B(C7, x7), k7 = (e, o) => {
|
|
9592
9595
|
const i = [
|
|
9593
9596
|
{
|
|
9594
|
-
condition:
|
|
9595
|
-
action:
|
|
9597
|
+
condition: Qe(w7, o),
|
|
9598
|
+
action: Qe(S7, o)
|
|
9596
9599
|
},
|
|
9597
9600
|
{
|
|
9598
9601
|
condition: eZ,
|
|
@@ -9851,13 +9854,13 @@ Required: ` + o.join(", "));
|
|
|
9851
9854
|
}, B7 = (e, o, i) => te.from(i.container()).filter(nn).exists((u) => {
|
|
9852
9855
|
const m = e ? 0 : -1;
|
|
9853
9856
|
return o(u.data.charAt(i.offset() + m));
|
|
9854
|
-
}), gP =
|
|
9857
|
+
}), gP = Qe(B7, !0, Bh), pP = Qe(B7, !1, Bh), uZ = (e) => {
|
|
9855
9858
|
const o = e.container();
|
|
9856
9859
|
return nn(o) && (o.data.length === 0 || sO(o.data) && Hf.isBookmarkNode(o.parentNode));
|
|
9857
|
-
}, $1 = (e, o) => (i) => Fh(e ? 0 : -1, i).filter(o).isSome(), gs = (e) => Ly(e) && oc(Je.fromDom(e), "display") === "block", bP = (e) => Zr(e) && !Vp(e), I7 = $1(!0, gs), dZ = $1(!1, gs), Iv = $1(!0, Qi), DS = $1(!1, Qi), L7 = $1(!0, Ia), vP = $1(!1, Ia), D1 = $1(!0, bP), R1 = $1(!1, bP), a4 = (e) => e.slice(0, -1), Q7 = (e, o, i) => ii(o, e) ? a4(fg(e, (u) => i(u) || Zo(u, o))) : [], fZ = (e, o) => Q7(e, o, Fe), rp = (e, o) => [e].concat(fZ(e, o)), Zs = (e, o, i) => Vf(e, o, i, uZ), hZ = (e) => (o) => e.isBlock(Pe(o)), Us = (e, o, i) => qs(rp(Je.fromDom(o.container()), e), hZ(i)), yP = (e, o, i, u) => Zs(e, o.dom, i).forall((m) => Us(o, i, u).fold(() => !sf(m, i, o.dom), (v) => !sf(m, i, o.dom) && ii(v, Je.fromDom(m.container())))), mZ = (e, o, i, u) => Us(o, i, u).fold(() => Zs(e, o.dom, i).forall((m) => !sf(m, i, o.dom)), (m) => Zs(e, m.dom, i).isNone()), V7 =
|
|
9860
|
+
}, $1 = (e, o) => (i) => Fh(e ? 0 : -1, i).filter(o).isSome(), gs = (e) => Ly(e) && oc(Je.fromDom(e), "display") === "block", bP = (e) => Zr(e) && !Vp(e), I7 = $1(!0, gs), dZ = $1(!1, gs), Iv = $1(!0, Qi), DS = $1(!1, Qi), L7 = $1(!0, Ia), vP = $1(!1, Ia), D1 = $1(!0, bP), R1 = $1(!1, bP), a4 = (e) => e.slice(0, -1), Q7 = (e, o, i) => ii(o, e) ? a4(fg(e, (u) => i(u) || Zo(u, o))) : [], fZ = (e, o) => Q7(e, o, Fe), rp = (e, o) => [e].concat(fZ(e, o)), Zs = (e, o, i) => Vf(e, o, i, uZ), hZ = (e) => (o) => e.isBlock(Pe(o)), Us = (e, o, i) => qs(rp(Je.fromDom(o.container()), e), hZ(i)), yP = (e, o, i, u) => Zs(e, o.dom, i).forall((m) => Us(o, i, u).fold(() => !sf(m, i, o.dom), (v) => !sf(m, i, o.dom) && ii(v, Je.fromDom(m.container())))), mZ = (e, o, i, u) => Us(o, i, u).fold(() => Zs(e, o.dom, i).forall((m) => !sf(m, i, o.dom)), (m) => Zs(e, m.dom, i).isNone()), V7 = Qe(mZ, !1), H7 = Qe(mZ, !0), wse = Qe(yP, !1), Sse = Qe(yP, !0), gZ = (e) => FO(e).exists(Zi), l4 = (e, o, i, u) => {
|
|
9858
9861
|
const m = Cn(rp(Je.fromDom(i.container()), o), (w) => u.isBlock(Pe(w))), v = En(m).getOr(o);
|
|
9859
9862
|
return Wu(e, v.dom, i).filter(gZ);
|
|
9860
|
-
}, Is = (e, o, i) => FO(o).exists(Zi) || l4(!0, e, o, i).isSome(), c4 = (e, o, i) => B5(o).exists(Zi) || l4(!1, e, o, i).isSome(), z7 =
|
|
9863
|
+
}, Is = (e, o, i) => FO(o).exists(Zi) || l4(!0, e, o, i).isSome(), c4 = (e, o, i) => B5(o).exists(Zi) || l4(!1, e, o, i).isSome(), z7 = Qe(l4, !1), pZ = Qe(l4, !0), ax = (e) => zt.isTextPosition(e) && !e.isAtStart() && !e.isAtEnd(), OP = (e, o, i) => {
|
|
9861
9864
|
const u = Cn(rp(Je.fromDom(o.container()), e), (m) => i.isBlock(Pe(m)));
|
|
9862
9865
|
return En(u).getOr(e);
|
|
9863
9866
|
}, Z7 = (e, o, i) => ax(o) ? pP(o) : pP(o) || ml(OP(e, o, i).dom, o).exists(pP), U7 = (e, o, i) => ax(o) ? gP(o) : gP(o) || Rl(OP(e, o, i).dom, o).exists(gP), bZ = (e) => ze([
|
|
@@ -9921,7 +9924,7 @@ Required: ` + o.join(", "));
|
|
|
9921
9924
|
}, kZ = (e, o) => {
|
|
9922
9925
|
const i = e.container(), u = e.offset();
|
|
9923
9926
|
return !zt.isTextPosition(e) && i === o.parentNode && u > zt.before(o).offset();
|
|
9924
|
-
}, _Z = (e, o) => kZ(o, e) ? zt(o.container(), o.offset() - 1) : o, EP = (e) => nn(e) ? zt(e, 0) : zt.before(e), AP = (e) => nn(e) ? zt(e, e.data.length) : zt.after(e), G7 = (e) => wc(e.previousSibling) ? te.some(AP(e.previousSibling)) : e.previousSibling ? af(e.previousSibling) : te.none(), Y7 = (e) => wc(e.nextSibling) ? te.some(EP(e.nextSibling)) : e.nextSibling ? Ea(e.nextSibling) : te.none(), TZ = (e, o) => te.from(o.previousSibling ? o.previousSibling : o.parentNode).bind((i) => ml(e, zt.before(i))).orThunk(() => Rl(e, zt.after(o))), EZ = (e, o) => Rl(e, zt.after(o)).orThunk(() => ml(e, zt.before(o))), AZ = (e, o) => G7(o).orThunk(() => Y7(o)).orThunk(() => TZ(e, o)), PZ = (e, o) => Y7(o).orThunk(() => G7(o)).orThunk(() => EZ(e, o)), $Z = (e, o, i) => e ? PZ(o, i) : AZ(o, i), DZ = (e, o, i) => $Z(e, o, i).map(
|
|
9927
|
+
}, _Z = (e, o) => kZ(o, e) ? zt(o.container(), o.offset() - 1) : o, EP = (e) => nn(e) ? zt(e, 0) : zt.before(e), AP = (e) => nn(e) ? zt(e, e.data.length) : zt.after(e), G7 = (e) => wc(e.previousSibling) ? te.some(AP(e.previousSibling)) : e.previousSibling ? af(e.previousSibling) : te.none(), Y7 = (e) => wc(e.nextSibling) ? te.some(EP(e.nextSibling)) : e.nextSibling ? Ea(e.nextSibling) : te.none(), TZ = (e, o) => te.from(o.previousSibling ? o.previousSibling : o.parentNode).bind((i) => ml(e, zt.before(i))).orThunk(() => Rl(e, zt.after(o))), EZ = (e, o) => Rl(e, zt.after(o)).orThunk(() => ml(e, zt.before(o))), AZ = (e, o) => G7(o).orThunk(() => Y7(o)).orThunk(() => TZ(e, o)), PZ = (e, o) => Y7(o).orThunk(() => G7(o)).orThunk(() => EZ(e, o)), $Z = (e, o, i) => e ? PZ(o, i) : AZ(o, i), DZ = (e, o, i) => $Z(e, o, i).map(Qe(_Z, i)), PP = (e, o, i) => {
|
|
9925
9928
|
i.fold(() => {
|
|
9926
9929
|
e.focus();
|
|
9927
9930
|
}, (u) => {
|
|
@@ -9942,7 +9945,7 @@ Required: ` + o.join(", "));
|
|
|
9942
9945
|
return TP(I, j, i, u), P.container() === j ? zt(I, J) : P;
|
|
9943
9946
|
}).orThunk(() => (u && (m.each((w) => _P(w.dom, w.dom.length, i)), v.each((w) => d4(w.dom, 0, i))), o));
|
|
9944
9947
|
}, K7 = (e, o) => us(e.schema.getTextInlineElements(), Pe(o)), Lv = (e, o, i, u = !0, m = !1) => {
|
|
9945
|
-
const v = DZ(o, e.getBody(), i.dom), w = fu(i,
|
|
9948
|
+
const v = DZ(o, e.getBody(), i.dom), w = fu(i, Qe(MZ, e), RZ(e.getBody())), E = NZ(i, v, e.schema, K7(e, i));
|
|
9946
9949
|
e.dom.isEmpty(e.getBody()) ? (e.setContent(""), e.selection.setCursorLocation()) : w.bind((P) => ip(e.schema, P, m)).fold(() => {
|
|
9947
9950
|
u && PP(e, o, E);
|
|
9948
9951
|
}, (P) => {
|
|
@@ -9960,7 +9963,7 @@ Required: ` + o.join(", "));
|
|
|
9960
9963
|
}, IZ = (e) => tv(e) || ew(e), zf = (e, o) => {
|
|
9961
9964
|
const i = o.container(), u = o.offset();
|
|
9962
9965
|
return e ? tf(i) ? nn(i.nextSibling) ? zt(i.nextSibling, 0) : zt.after(i) : tv(o) ? zt(i, u + 1) : o : tf(i) ? nn(i.previousSibling) ? zt(i.previousSibling, i.previousSibling.data.length) : zt.before(i) : ew(o) ? zt(i, u - 1) : o;
|
|
9963
|
-
}, tN =
|
|
9966
|
+
}, tN = Qe(zf, !0), nN = Qe(zf, !1), N1 = (e, o) => {
|
|
9964
9967
|
const i = (u) => u.stopImmediatePropagation();
|
|
9965
9968
|
e.on("beforeinput input", i, !0), e.getDoc().execCommand(o), e.off("beforeinput input", i);
|
|
9966
9969
|
}, LZ = (e) => {
|
|
@@ -10093,7 +10096,7 @@ Required: ` + o.join(", "));
|
|
|
10093
10096
|
}, HP = (e, o, i) => te.some(() => {
|
|
10094
10097
|
const u = e.selection.getRng(), m = i.bind(({ rng: v, isStartInTable: w }) => {
|
|
10095
10098
|
const E = uN(e, w ? v.endContainer : v.startContainer);
|
|
10096
|
-
v.deleteContents(), dN(e, w, E.filter(
|
|
10099
|
+
v.deleteContents(), dN(e, w, E.filter(Qe(vi, e.schema)));
|
|
10097
10100
|
const P = w ? o[0] : o[o.length - 1];
|
|
10098
10101
|
return O4(e, P, u, w), vi(e.schema, P) ? te.none() : te.some(w ? o.slice(1) : o.slice(0, -1));
|
|
10099
10102
|
}).getOr(o);
|
|
@@ -10105,7 +10108,7 @@ Required: ` + o.join(", "));
|
|
|
10105
10108
|
QP(E.concat(P)), u.deleteContents(), VP(e);
|
|
10106
10109
|
}), x4 = (e, o, i, u = !0) => te.some(() => {
|
|
10107
10110
|
xr(e, o, i, u);
|
|
10108
|
-
}), hN = (e, o) => te.some(() => Lv(e, !1, o)), zP = (e, o, i) => cN(o, i).bind((u) => u.fold(
|
|
10111
|
+
}), hN = (e, o) => te.some(() => Lv(e, !1, o)), zP = (e, o, i) => cN(o, i).bind((u) => u.fold(Qe(x4, e), Qe(hN, e), Qe(HP, e), Qe(fN, e))), mN = (e, o) => BS(e, o), gN = (e, o, i, u) => w4(o, u).fold(() => zP(e, o, i), (m) => mN(e, m)), pN = (e, o, i) => {
|
|
10109
10112
|
const u = Je.fromDom(e.getBody()), m = e.selection.getRng();
|
|
10110
10113
|
return i.length !== 0 ? HP(e, i, te.none()) : gN(e, u, m, o);
|
|
10111
10114
|
}, ZP = (e, o) => qs(rp(o, e), Ou), w4 = (e, o) => qs(rp(o, e), Fa("caption")), bN = (e, o, i, u, m) => Lg(i, e.getBody(), m).bind((v) => ZP(o, Je.fromDom(v.getNode())).bind((w) => Zo(w, u) ? te.none() : te.some(St))), BS = (e, o) => te.some(() => {
|
|
@@ -10678,7 +10681,7 @@ Required: ` + o.join(", "));
|
|
|
10678
10681
|
a$(e, o, i);
|
|
10679
10682
|
}, $N = (e, o, i) => {
|
|
10680
10683
|
var u, m;
|
|
10681
|
-
const v = e.dom, w = v.getParent(i,
|
|
10684
|
+
const v = e.dom, w = v.getParent(i, Qe(oS, e.schema));
|
|
10682
10685
|
w && v.isEmpty(w) ? (u = i.parentNode) === null || u === void 0 || u.replaceChild(o, i) : (ZA(Je.fromDom(i)), v.isEmpty(i) ? (m = i.parentNode) === null || m === void 0 || m.replaceChild(o, i) : v.insertAfter(o, i));
|
|
10683
10686
|
}, DN = (e, o) => (e.appendChild(o), o), c$ = (e, o) => {
|
|
10684
10687
|
var i;
|
|
@@ -12599,7 +12602,7 @@ Required: ` + o.join(", "));
|
|
|
12599
12602
|
]) : Jb(e) ? [e] : [], aW = (e, o, i) => {
|
|
12600
12603
|
const u = Je.fromDom(o.commonAncestorContainer), m = rp(u, e), v = Cn(m, (P) => i.isWrapper(Pe(P))), w = NF(m, o), E = v.concat(w.length ? w : FF(u));
|
|
12601
12604
|
return gt(E, Eh);
|
|
12602
|
-
}, W$ = () => _S([]), X$ = (e, o, i) => iW(Je.fromDom(o.cloneContents()), aW(e, o, i)), BF = (e, o) => ph(o, "table",
|
|
12605
|
+
}, W$ = () => _S([]), X$ = (e, o, i) => iW(Je.fromDom(o.cloneContents()), aW(e, o, i)), BF = (e, o) => ph(o, "table", Qe(Zo, e)), IF = (e, o) => BF(e, o[0]).bind((i) => {
|
|
12603
12606
|
const u = o[0], m = o[o.length - 1], v = oW(i);
|
|
12604
12607
|
return MF(v, u, m).map((w) => _S([Sx(w)]));
|
|
12605
12608
|
}).getOrThunk(W$), LF = (e, o, i) => o.length > 0 && o[0].collapsed ? W$() : X$(e, o[0], i), QF = (e, o, i) => {
|
|
@@ -13359,7 +13362,7 @@ Required: ` + o.join(", "));
|
|
|
13359
13362
|
serialize: E,
|
|
13360
13363
|
addRules: v.addValidElements,
|
|
13361
13364
|
setRules: v.setValidElements,
|
|
13362
|
-
addTempAttr:
|
|
13365
|
+
addTempAttr: Qe(IW, w, i),
|
|
13363
13366
|
getTempAttrs: Nt(i),
|
|
13364
13367
|
getNodeFilters: w.getNodeFilters,
|
|
13365
13368
|
getAttributeFilters: w.getAttributeFilters,
|
|
@@ -13475,7 +13478,7 @@ Options:${w}${i.join(w)}` : "";
|
|
|
13475
13478
|
get: (m) => e[m] ? e[m] : { icons: {} },
|
|
13476
13479
|
has: (m) => us(e, m)
|
|
13477
13480
|
};
|
|
13478
|
-
})(), kx = Jo.ModelManager, kB = (e, o) => o.dom[e], xC = (e, o) => parseInt(oc(o, e), 10), tX =
|
|
13481
|
+
})(), kx = Jo.ModelManager, kB = (e, o) => o.dom[e], xC = (e, o) => parseInt(oc(o, e), 10), tX = Qe(kB, "clientWidth"), cD = Qe(kB, "clientHeight"), nX = Qe(xC, "margin-top"), _B = Qe(xC, "margin-left"), TB = (e) => e.dom.getBoundingClientRect(), uD = (e, o, i) => {
|
|
13479
13482
|
const u = tX(e), m = cD(e);
|
|
13480
13483
|
return o >= 0 && i >= 0 && o <= u && i <= m;
|
|
13481
13484
|
}, EB = (e, o, i, u) => {
|
|
@@ -14550,7 +14553,7 @@ Options:${w}${i.join(w)}` : "";
|
|
|
14550
14553
|
matchNode: (u, m, v, w) => rB(e, u, m, v, w),
|
|
14551
14554
|
canApply: (u) => iB(e, u),
|
|
14552
14555
|
formatChanged: (u, m, v, w) => AW(e, i, u, m, v, w),
|
|
14553
|
-
getCssText:
|
|
14556
|
+
getCssText: Qe(WB, e)
|
|
14554
14557
|
};
|
|
14555
14558
|
}, kX = (e) => {
|
|
14556
14559
|
switch (e.toLowerCase()) {
|
|
@@ -14748,7 +14751,7 @@ Options:${w}${i.join(w)}` : "";
|
|
|
14748
14751
|
return te.from(i[i.length - 1]);
|
|
14749
14752
|
}, SD = (e, o) => ii(o, e) ? HX(o, e) : te.none(), eI = (e, o) => {
|
|
14750
14753
|
rf(e, o.dom).bind((i) => te.from(i.getNode())).map(Je.fromDom).filter(Zi).each(_r);
|
|
14751
|
-
}, tI = (e, o, i, u) => (eI(!0, o), eI(!1, i), SD(o, i).fold(
|
|
14754
|
+
}, tI = (e, o, i, u) => (eI(!0, o), eI(!1, i), SD(o, i).fold(Qe(RC, e, o, i, u), Qe(VX, e, o, i, u))), nI = (e, o, i, u, m) => o ? tI(e, u, i, m) : tI(e, i, u, m), CD = (e, o) => {
|
|
14752
14755
|
const i = Je.fromDom(e.getBody());
|
|
14753
14756
|
return IX(e.schema, i.dom, o, e.selection.getRng()).map((m) => () => {
|
|
14754
14757
|
nI(i, o, m.from.block, m.to.block, e.schema).each((v) => {
|
|
@@ -14763,7 +14766,7 @@ Options:${w}${i.join(w)}` : "";
|
|
|
14763
14766
|
});
|
|
14764
14767
|
})).getOr(te.none());
|
|
14765
14768
|
}, G1 = (e, o) => {
|
|
14766
|
-
const i = Je.fromDom(o), u =
|
|
14769
|
+
const i = Je.fromDom(o), u = Qe(Zo, e);
|
|
14767
14770
|
return fu(i, Ou, u).isSome();
|
|
14768
14771
|
}, l3 = (e, o) => G1(e, o.startContainer) || G1(e, o.endContainer), c3 = (e, o) => {
|
|
14769
14772
|
const i = ml(e.dom, zt.fromRangeStart(o)).isNone(), u = Rl(e.dom, zt.fromRangeEnd(o)).isNone();
|
|
@@ -14800,7 +14803,7 @@ Options:${w}${i.join(w)}` : "";
|
|
|
14800
14803
|
const i = e.selection.getRng();
|
|
14801
14804
|
if (!nn(i.commonAncestorContainer))
|
|
14802
14805
|
return te.none();
|
|
14803
|
-
const u = o ? 1 : -1, m = Uu(e.getBody()), v =
|
|
14806
|
+
const u = o ? 1 : -1, m = Uu(e.getBody()), v = Qe(kv, o ? m.next : m.prev), w = o ? oI : Ex, E = Cv(u, e.getBody(), i), P = v(E), I = P && zf(o, P);
|
|
14804
14807
|
if (!I || !BO(E, I))
|
|
14805
14808
|
return te.none();
|
|
14806
14809
|
if (w(I))
|
|
@@ -14916,7 +14919,7 @@ Options:${w}${i.join(w)}` : "";
|
|
|
14916
14919
|
const u = hI(e);
|
|
14917
14920
|
return e.nextSibling ? (o = e.parentNode) === null || o === void 0 || o.insertBefore(u, e.nextSibling) : (i = e.parentNode) === null || i === void 0 || i.appendChild(u), u;
|
|
14918
14921
|
}
|
|
14919
|
-
}, ny = (e, o) => e ? Xg(o) : Wh(o), mI =
|
|
14922
|
+
}, ny = (e, o) => e ? Xg(o) : Wh(o), mI = Qe(ny, !0), b3 = Qe(ny, !1), PD = (e, o) => nn(e.container()) ? ny(o, e.container()) : ny(o, e.getNode()), $D = (e, o) => {
|
|
14920
14923
|
const i = o.get();
|
|
14921
14924
|
return i && e.container() === i && tf(i);
|
|
14922
14925
|
}, v3 = (e, o) => o.fold((i) => {
|
|
@@ -14962,8 +14965,8 @@ Options:${w}${i.join(w)}` : "";
|
|
|
14962
14965
|
return i || e;
|
|
14963
14966
|
}, y3 = (e, o, i) => {
|
|
14964
14967
|
const u = tN(i), m = RD(o, u.container());
|
|
14965
|
-
return nl(e, m, u).fold(() => Rl(m, u).bind(
|
|
14966
|
-
}, MD = (e, o) => Y0(e, o) === null, gI = (e, o, i) => nl(e, o, i).filter(
|
|
14968
|
+
return nl(e, m, u).fold(() => Rl(m, u).bind(Qe(nl, e, m)).map((v) => qc.before(v)), te.none);
|
|
14969
|
+
}, MD = (e, o) => Y0(e, o) === null, gI = (e, o, i) => nl(e, o, i).filter(Qe(MD, o)), JX = (e, o, i) => {
|
|
14967
14970
|
const u = nN(i);
|
|
14968
14971
|
return gI(e, o, u).bind((m) => ml(m, u).isNone() ? te.some(qc.start(m)) : te.none());
|
|
14969
14972
|
}, ej = (e, o, i) => {
|
|
@@ -14971,7 +14974,7 @@ Options:${w}${i.join(w)}` : "";
|
|
|
14971
14974
|
return gI(e, o, u).bind((m) => Rl(m, u).isNone() ? te.some(qc.end(m)) : te.none());
|
|
14972
14975
|
}, tj = (e, o, i) => {
|
|
14973
14976
|
const u = nN(i), m = RD(o, u.container());
|
|
14974
|
-
return nl(e, m, u).fold(() => ml(m, u).bind(
|
|
14977
|
+
return nl(e, m, u).fold(() => ml(m, u).bind(Qe(nl, e, m)).map((v) => qc.after(v)), te.none);
|
|
14975
14978
|
}, ND = (e) => !$P(FD(e)), jg = (e, o, i) => DD([
|
|
14976
14979
|
y3,
|
|
14977
14980
|
JX,
|
|
@@ -14983,10 +14986,10 @@ Options:${w}${i.join(w)}` : "";
|
|
|
14983
14986
|
i
|
|
14984
14987
|
]).filter(ND), FD = (e) => e.fold(os, os, os, os), O3 = (e) => e.fold(Nt("before"), Nt("start"), Nt("end"), Nt("after")), x3 = (e) => e.fold(qc.before, qc.before, qc.after, qc.after), BD = (e) => e.fold(qc.start, qc.start, qc.end, qc.end), nj = (e, o) => O3(e) === O3(o) && FD(e) === FD(o), sj = (e, o, i, u, m, v) => qr(nl(o, i, u), nl(o, i, m), (w, E) => w !== E && BZ(i, w, E) ? qc.after(e ? w : E) : v).getOr(v), oj = (e, o) => e.fold(bt, (i) => !nj(i, o)), rj = (e, o, i, u, m) => {
|
|
14985
14988
|
const v = zf(e, m);
|
|
14986
|
-
return Wu(e, i, v).map(
|
|
14989
|
+
return Wu(e, i, v).map(Qe(zf, e)).fold(() => u.map(x3), (P) => jg(o, i, P).map(Qe(sj, e, o, i, v, P)).filter(Qe(oj, u))).filter(ND);
|
|
14987
14990
|
}, ij = (e, o) => e ? o.fold(B(te.some, qc.start), te.none, B(te.some, qc.after), te.none) : o.fold(te.none, B(te.some, qc.before), te.none, B(te.some, qc.end)), w3 = (e, o, i, u) => {
|
|
14988
14991
|
const m = zf(e, u), v = jg(o, i, m);
|
|
14989
|
-
return jg(o, i, m).bind(
|
|
14992
|
+
return jg(o, i, m).bind(Qe(ij, e)).orThunk(() => rj(e, o, i, v, u));
|
|
14990
14993
|
}, ID = (e) => ue(e.selection.getSel().modify), pI = (e, o, i) => {
|
|
14991
14994
|
const u = e ? 1 : -1;
|
|
14992
14995
|
return o.setRng(zt(i.container(), i.offset() + u).toRange()), o.getSel().modify("move", e ? "forward" : "backward", "word"), !0;
|
|
@@ -15041,7 +15044,7 @@ Options:${w}${i.join(w)}` : "";
|
|
|
15041
15044
|
}).getOr([]), LD = (e, o) => Fs(e, (i, u) => i.fold(() => te.some(u), (m) => qr(En(m.getClientRects()), En(u.getClientRects()), (v, w) => {
|
|
15042
15045
|
const E = Math.abs(o - v.left);
|
|
15043
15046
|
return Math.abs(o - w.left) <= E ? u : m;
|
|
15044
|
-
}).or(i)), te.none()), k3 = (e, o) => En(o.getClientRects()).bind((i) => LD(e, i.left)), NC =
|
|
15047
|
+
}).or(i)), te.none()), k3 = (e, o) => En(o.getClientRects()).bind((i) => LD(e, i.left)), NC = Qe(vI, zt.isAbove, -1), FC = Qe(vI, zt.isBelow, 1), yI = Qe(C3, -1, NC), OI = Qe(C3, 1, FC), xI = (e, o) => NC(e, o).breakAt.isNone(), BC = (e, o) => FC(e, o).breakAt.isNone(), _3 = (e) => Ea(e).map((o) => [o].concat(FC(e, o).positions)).getOr([]), cj = (e) => af(e).map((o) => NC(e, o).positions.concat(o)).getOr([]), uj = (e, o) => k3(yI(e, o), o), T3 = (e, o) => k3(OI(e, o), o), dj = Zr, wI = (e, o) => Math.abs(e.left - o), SI = (e, o) => Math.abs(e.right - o), fj = (e) => ar(e, "node"), CI = (e, o) => ce(e, (i, u) => {
|
|
15045
15048
|
const m = Math.min(wI(i, o), SI(i, o)), v = Math.min(wI(u, o), SI(u, o));
|
|
15046
15049
|
return v === m && fj(u) && dj(u.node) || v < m ? u : i;
|
|
15047
15050
|
}), hj = (e) => {
|
|
@@ -15085,7 +15088,7 @@ Options:${w}${i.join(w)}` : "";
|
|
|
15085
15088
|
return E;
|
|
15086
15089
|
const j = v.getNode();
|
|
15087
15090
|
return j && (P(j), mj(e, u, P, j)), E;
|
|
15088
|
-
}, gj = (e, o) => o.line > e, jse = (e, o) => o.line === e, Xh =
|
|
15091
|
+
}, gj = (e, o) => o.line > e, jse = (e, o) => o.line === e, Xh = Qe(_I, sy.Up, Em, Ro), QD = Qe(_I, sy.Down, Ro, Em), VD = (e) => Re(e.getClientRects()), TI = (e, o, i, u) => {
|
|
15089
15092
|
const m = Uu(o);
|
|
15090
15093
|
let v, w, E, P;
|
|
15091
15094
|
const I = [];
|
|
@@ -15108,7 +15111,7 @@ Options:${w}${i.join(w)}` : "";
|
|
|
15108
15111
|
}, EI = (e) => (o) => gj(e, o), E3 = (e) => (o) => jse(e, o), hp = (e, o) => {
|
|
15109
15112
|
e.selection.setRng(o), rx(e, e.selection.getRng());
|
|
15110
15113
|
}, A3 = (e, o, i) => te.some(u3(e, o, i)), AI = (e, o, i, u, m, v) => {
|
|
15111
|
-
const w = o === 1, E = Uu(e.getBody()), P =
|
|
15114
|
+
const w = o === 1, E = Uu(e.getBody()), P = Qe(kv, w ? E.next : E.prev), I = w ? u : m;
|
|
15112
15115
|
if (!i.collapsed) {
|
|
15113
15116
|
const Te = sv(i);
|
|
15114
15117
|
if (v(Te))
|
|
@@ -15175,11 +15178,11 @@ Options:${w}${i.join(w)}` : "";
|
|
|
15175
15178
|
return i ? ml(o, m).getOr(m) : Rl(o, u).getOr(u);
|
|
15176
15179
|
}
|
|
15177
15180
|
}, pj = (e, o, i) => {
|
|
15178
|
-
const u = e.getBody(), m = UD(e.selection.getRng(), u, i), v =
|
|
15181
|
+
const u = e.getBody(), m = UD(e.selection.getRng(), u, i), v = Qe(M1, e);
|
|
15179
15182
|
return w3(i, v, u, m).bind((E) => ZD(e, o, E));
|
|
15180
15183
|
}, bj = (e, o, i) => {
|
|
15181
15184
|
const u = gt(_l(Je.fromDom(o.getRoot()), '*[data-mce-selected="inline-boundary"]'), (w) => w.dom), m = Cn(u, e), v = Cn(i, e);
|
|
15182
|
-
Se(Cr(m, v),
|
|
15185
|
+
Se(Cr(m, v), Qe(zD, !1)), Se(Cr(v, m), Qe(zD, !0));
|
|
15183
15186
|
}, vj = (e, o) => {
|
|
15184
15187
|
const i = o.get();
|
|
15185
15188
|
if (e.selection.isCollapsed() && !e.composing && i) {
|
|
@@ -15195,17 +15198,17 @@ Options:${w}${i.join(w)}` : "";
|
|
|
15195
15198
|
});
|
|
15196
15199
|
}
|
|
15197
15200
|
}, Oj = (e, o, i) => hv(e) ? pj(e, o, i).isSome() : !1, xj = (e, o, i) => hv(o) ? aj(e, o) : !1, qse = (e) => {
|
|
15198
|
-
const o = Dr(null), i =
|
|
15201
|
+
const o = Dr(null), i = Qe(M1, e);
|
|
15199
15202
|
return e.on("NodeChange", (u) => {
|
|
15200
15203
|
hv(e) && (bj(i, e.dom, u.parents), vj(e, o), yj(i, e, o, u.parents));
|
|
15201
15204
|
}), o;
|
|
15202
|
-
}, jh =
|
|
15205
|
+
}, jh = Qe(xj, !0), wj = Qe(xj, !1), P3 = (e, o, i) => {
|
|
15203
15206
|
if (hv(e)) {
|
|
15204
15207
|
const u = HD(e, o).getOrThunk(() => {
|
|
15205
15208
|
const m = e.selection.getRng();
|
|
15206
15209
|
return o ? zt.fromRangeEnd(m) : zt.fromRangeStart(m);
|
|
15207
15210
|
});
|
|
15208
|
-
return jg(
|
|
15211
|
+
return jg(Qe(M1, e), e.getBody(), u).exists((m) => {
|
|
15209
15212
|
const v = x3(m);
|
|
15210
15213
|
return v3(i, v).exists((w) => (IC(e, w), !0));
|
|
15211
15214
|
});
|
|
@@ -15218,7 +15221,7 @@ Options:${w}${i.join(w)}` : "";
|
|
|
15218
15221
|
const u = zf(!0, o), m = zf(!1, i);
|
|
15219
15222
|
return Rl(e, u).forall((v) => v.isEqual(m));
|
|
15220
15223
|
}).getOr(!0), DI = (e, o) => (i) => v3(o, i).map((u) => () => IC(e, u)), LC = (e, o, i, u) => {
|
|
15221
|
-
const m = e.getBody(), v =
|
|
15224
|
+
const m = e.getBody(), v = Qe(M1, e);
|
|
15222
15225
|
e.undoManager.ignore(() => {
|
|
15223
15226
|
e.selection.setRng(ry(i, u)), f4(e), jg(v, m, zt.fromRangeStart(e.selection.getRng())).map(BD).bind(DI(e, o)).each(qe);
|
|
15224
15227
|
}), e.nodeChanged();
|
|
@@ -15226,7 +15229,7 @@ Options:${w}${i.join(w)}` : "";
|
|
|
15226
15229
|
const i = Nh(o, e);
|
|
15227
15230
|
return i || e;
|
|
15228
15231
|
}, Cj = (e, o, i, u) => {
|
|
15229
|
-
const m = Sj(e.getBody(), u.container()), v =
|
|
15232
|
+
const m = Sj(e.getBody(), u.container()), v = Qe(M1, e), w = jg(v, m, u);
|
|
15230
15233
|
return w.bind((P) => i ? P.fold(Nt(te.some(BD(P))), te.none, Nt(te.some(x3(P))), te.none) : P.fold(te.none, Nt(te.some(x3(P))), te.none, Nt(te.some(BD(P))))).map(DI(e, o)).getOrThunk(() => {
|
|
15231
15234
|
const P = Lg(i, m, u), I = P.bind((j) => jg(v, m, j));
|
|
15232
15235
|
return qr(w, I, () => nl(v, m, u).bind((j) => $I(j) ? te.some(() => {
|
|
@@ -15245,7 +15248,7 @@ Options:${w}${i.join(w)}` : "";
|
|
|
15245
15248
|
const i = Je.fromDom(e.getBody()), u = Je.fromDom(e.selection.getStart()), m = rp(u, i);
|
|
15246
15249
|
return Lo(m, o).fold(Nt(m), (v) => m.slice(0, v));
|
|
15247
15250
|
}, _j = (e) => Mf(e) === 1, mp = (e) => XD(e, (o) => e.schema.isBlock(Pe(o)) || kj(o)), jD = (e) => XD(e, (o) => e.schema.isBlock(Pe(o))), RI = (e, o) => {
|
|
15248
|
-
const i =
|
|
15251
|
+
const i = Qe(N4, e);
|
|
15249
15252
|
return ur(o, (u) => i(u) ? [u.dom] : []);
|
|
15250
15253
|
}, MI = (e) => {
|
|
15251
15254
|
const o = jD(e);
|
|
@@ -15495,12 +15498,12 @@ Options:${w}${i.join(w)}` : "";
|
|
|
15495
15498
|
ev(i) && (F3(e, i), e.undoManager.add());
|
|
15496
15499
|
}
|
|
15497
15500
|
}, Hj = (e) => {
|
|
15498
|
-
e.on("keyup compositionstart",
|
|
15501
|
+
e.on("keyup compositionstart", Qe(Vj, e));
|
|
15499
15502
|
}, nL = Zr, zj = (e, o, i) => AI(o, e, i, D1, R1, nL), Zj = (e, o, i) => PI(o, e, i, (v) => D1(v) || L7(v), (v) => R1(v) || vP(v), nL), Uj = (e) => {
|
|
15500
15503
|
const o = e.dom.create(Ha(e));
|
|
15501
15504
|
return o.innerHTML = '<br data-mce-bogus="1">', o;
|
|
15502
15505
|
}, sL = (e, o, i) => {
|
|
15503
|
-
const u = Uu(e.getBody()), m =
|
|
15506
|
+
const u = Uu(e.getBody()), m = Qe(kv, o === 1 ? u.next : u.prev);
|
|
15504
15507
|
if (i.collapsed) {
|
|
15505
15508
|
const v = e.dom.getParent(i.startContainer, "PRE");
|
|
15506
15509
|
if (!v)
|
|
@@ -15523,7 +15526,7 @@ Options:${w}${i.join(w)}` : "";
|
|
|
15523
15526
|
const u = i.toRange(), m = e.selection.getRng();
|
|
15524
15527
|
return o ? u.setStart(m.startContainer, m.startOffset) : u.setEnd(m.endContainer, m.endOffset), u;
|
|
15525
15528
|
}).exists((i) => (hp(e, i), !0)), B3 = (e) => ze(["figcaption"], Pe(e)), jj = (e, o, i) => {
|
|
15526
|
-
const u =
|
|
15529
|
+
const u = Qe(Zo, o);
|
|
15527
15530
|
return ei(Je.fromDom(e.container()), (m) => i.isBlock(Pe(m)), u).filter(B3);
|
|
15528
15531
|
}, rL = (e, o, i) => o ? BC(e.dom, i) : xI(e.dom, i), qj = (e, o) => {
|
|
15529
15532
|
const i = Je.fromDom(e.getBody()), u = zt.fromRangeStart(e.selection.getRng());
|
|
@@ -15627,10 +15630,10 @@ Options:${w}${i.join(w)}` : "";
|
|
|
15627
15630
|
}), te.none()), mR = (e, o, i, u, m) => {
|
|
15628
15631
|
const v = _l(Je.fromDom(i), "td,th,caption").map((E) => E.dom), w = Cn(oq(e, v), (E) => o(E, m));
|
|
15629
15632
|
return mL(w, u, m).map((E) => E.cell);
|
|
15630
|
-
}, gL = (e) => e.bottom, gR = (e) => e.top, pL = (e, o) => e.y < o, rq = (e, o) => e.y > o, bL =
|
|
15633
|
+
}, gL = (e) => e.bottom, gR = (e) => e.top, pL = (e, o) => e.y < o, rq = (e, o) => e.y > o, bL = Qe(mR, gL, pL), iq = Qe(mR, gR, rq), aq = (e, o) => En(o.getClientRects()).bind((i) => bL(e, i.left, i.top)).bind((i) => k3(cj(i), o)), lq = (e, o) => In(o.getClientRects()).bind((i) => iq(e, i.left, i.top)).bind((i) => k3(_3(i), o)), pR = (e, o, i) => i.breakAt.exists((u) => e(o, u).breakAt.isSome()), cq = (e) => e.breakType === qg.Wrap && e.positions.length === 0, uq = (e) => e.breakType === qg.Br && e.positions.length === 1, dq = (e, o, i) => {
|
|
15631
15634
|
const u = e(o, i);
|
|
15632
15635
|
return cq(u) || !Pr(i.getNode()) && uq(u) ? !pR(e, o, u) : u.breakAt.isNone();
|
|
15633
|
-
}, fq =
|
|
15636
|
+
}, fq = Qe(dq, NC), vL = Qe(dq, FC), toe = (e, o, i) => {
|
|
15634
15637
|
const u = zt.fromRangeStart(o);
|
|
15635
15638
|
return rf(!e, i).exists((m) => m.isEqual(u));
|
|
15636
15639
|
}, hq = (e, o, i, u) => {
|
|
@@ -16819,14 +16822,14 @@ Input object: ` + kR(e.input), U3 = (e, o) => FL(e, Js(o, ek)), Zq = Nt(Mq), W3
|
|
|
16819
16822
|
const i = Je.fromTag("br");
|
|
16820
16823
|
Mc(Je.fromDom(o), i), u9(e, i.dom, !1), e.undoManager.add();
|
|
16821
16824
|
}, BG = (e) => Pr(e.getNode()), IG = (e, o) => BG(zt.after(o)) ? !0 : Rl(e, zt.after(o)).map((i) => Pr(i.getNode())).getOr(!1), f9 = (e) => e && e.nodeName === "A" && "href" in e, LG = (e) => e.fold(Fe, f9, f9, Fe), QG = (e) => {
|
|
16822
|
-
const o =
|
|
16825
|
+
const o = Qe(M1, e), i = zt.fromRangeStart(e.selection.getRng());
|
|
16823
16826
|
return jg(o, e.getBody(), i).filter(LG);
|
|
16824
16827
|
}, VG = (e, o) => {
|
|
16825
|
-
o.fold(St,
|
|
16828
|
+
o.fold(St, Qe(FG, e), Qe(d9, e), St);
|
|
16826
16829
|
}, n8 = {
|
|
16827
16830
|
insert: (e, o) => {
|
|
16828
16831
|
const i = QG(e);
|
|
16829
|
-
i.isSome() ? i.each(
|
|
16832
|
+
i.isSome() ? i.each(Qe(VG, e)) : Ym(e, o);
|
|
16830
16833
|
},
|
|
16831
16834
|
fakeEventName: "insertLineBreak"
|
|
16832
16835
|
}, ak = (e, o) => XR(e).filter((i) => o.length > 0 && Sl(Je.fromDom(i), o)).isSome(), HG = (e) => ak(e, Cw(e)), zG = (e) => ak(e, xO(e)), pf = ba.generate([
|
|
@@ -17008,12 +17011,12 @@ Input object: ` + kR(e.input), U3 = (e, o) => FL(e, Js(o, ek)), Zq = Nt(Mq), W3
|
|
|
17008
17011
|
const v = Je.fromText(e);
|
|
17009
17012
|
return o.isAtEnd() ? Mc(m, v) : _i(m, v), zt(v.dom, e.length);
|
|
17010
17013
|
});
|
|
17011
|
-
}, nE =
|
|
17014
|
+
}, nE = Qe(x9, la), l8 = Qe(x9, " "), sE = (e, o, i) => xP(e, o, i) ? nE(o) : l8(o), w9 = (e) => (o) => o.fold((i) => ml(e.dom, zt.before(i)), (i) => Ea(i), (i) => af(i), (i) => Rl(e.dom, zt.after(i))), S9 = (e, o, i) => (u) => xP(e, u, i) ? nE(o) : l8(o), C9 = (e) => (o) => {
|
|
17012
17015
|
e.selection.setRng(o.toRange()), e.nodeChanged();
|
|
17013
17016
|
}, nY = (e, o) => e.isEditable(e.getParent(o, "summary")), oE = (e) => {
|
|
17014
17017
|
const o = zt.fromRangeStart(e.selection.getRng()), i = Je.fromDom(e.getBody());
|
|
17015
17018
|
if (e.selection.isCollapsed()) {
|
|
17016
|
-
const u =
|
|
17019
|
+
const u = Qe(M1, e), m = zt.fromRangeStart(e.selection.getRng());
|
|
17017
17020
|
return jg(u, e.getBody(), m).bind(w9(i)).map((v) => () => S9(i, o, e.schema)(v).each(C9(e)));
|
|
17018
17021
|
} else
|
|
17019
17022
|
return te.none();
|
|
@@ -19239,7 +19242,7 @@ Input object: ` + kR(e.input), U3 = (e, o) => FL(e, Js(o, ek)), Zq = Nt(Mq), W3
|
|
|
19239
19242
|
}), gV = (e) => te.from(e.selection.getRng()).bind((o) => {
|
|
19240
19243
|
const i = e.getBody();
|
|
19241
19244
|
return o.startContainer === i && o.startOffset === 0 ? te.none() : te.from(e.selection.getStart(!0));
|
|
19242
|
-
}), pV = (e, o) => gV(e).orThunk(
|
|
19245
|
+
}), pV = (e, o) => gV(e).orThunk(Qe(Coe, e)).map(Je.fromDom).filter(io).bind(o), s6 = (e, o) => pV(e, tn(te.some, o)), bV = (e, o) => {
|
|
19243
19246
|
if (/^[0-9.]+$/.test(o)) {
|
|
19244
19247
|
const i = parseInt(o, 10);
|
|
19245
19248
|
if (i >= 1 && i <= 7) {
|
|
@@ -19258,7 +19261,7 @@ Input object: ` + kR(e.input), U3 = (e, o) => FL(e, Js(o, ek)), Zq = Nt(Mq), W3
|
|
|
19258
19261
|
}, _oe = (e) => s6(e, (o) => Soe(e.getBody(), o.dom)).getOr(""), Toe = (e, o) => {
|
|
19259
19262
|
e.formatter.toggle("fontsize", { value: bV(e, o) }), e.nodeChanged();
|
|
19260
19263
|
}, QJ = (e) => s6(e, (o) => IJ(e.getBody(), o.dom)).getOr(""), Eoe = (e) => s6(e, (o) => {
|
|
19261
|
-
const i = Je.fromDom(e.getBody()), u = $4(o, (v) => ki(v, "line-height"),
|
|
19264
|
+
const i = Je.fromDom(e.getBody()), u = $4(o, (v) => ki(v, "line-height"), Qe(Zo, i)), m = () => {
|
|
19262
19265
|
const v = parseFloat(oc(o, "line-height")), w = parseFloat(oc(o, "font-size"));
|
|
19263
19266
|
return String(v / w);
|
|
19264
19267
|
};
|
|
@@ -20900,7 +20903,7 @@ function l1e() {
|
|
|
20900
20903
|
}
|
|
20901
20904
|
}
|
|
20902
20905
|
B.singletonNone = new B(!1);
|
|
20903
|
-
const tn = Array.prototype.slice, Nt = Array.prototype.indexOf, os = Array.prototype.push, Et = (n, a) => Nt.call(n, a),
|
|
20906
|
+
const tn = Array.prototype.slice, Nt = Array.prototype.indexOf, os = Array.prototype.push, Et = (n, a) => Nt.call(n, a), Qe = (n, a) => {
|
|
20904
20907
|
const d = Et(n, a);
|
|
20905
20908
|
return d === -1 ? B.none() : B.some(d);
|
|
20906
20909
|
}, _e = (n, a) => Et(n, a) > -1, ht = (n, a) => {
|
|
@@ -21105,16 +21108,16 @@ function l1e() {
|
|
|
21105
21108
|
for (let g = 0; g < n.length && d !== void 0 && d !== null; ++g)
|
|
21106
21109
|
d = d[n[g]];
|
|
21107
21110
|
return d;
|
|
21108
|
-
},
|
|
21111
|
+
}, Vt = (n, a) => {
|
|
21109
21112
|
const d = n.split(".");
|
|
21110
21113
|
return Ge(d, a);
|
|
21111
|
-
}, Yt = (n, a) =>
|
|
21114
|
+
}, Yt = (n, a) => Vt(n, a), _n = (n, a) => {
|
|
21112
21115
|
const d = Yt(n, a);
|
|
21113
21116
|
if (d == null)
|
|
21114
21117
|
throw new Error(n + " not available on this browser");
|
|
21115
21118
|
return d;
|
|
21116
21119
|
}, Jn = Object.getPrototypeOf, ss = (n) => _n("HTMLElement", n), Ln = (n) => {
|
|
21117
|
-
const a =
|
|
21120
|
+
const a = Vt("ownerDocument.defaultView", n);
|
|
21118
21121
|
return x(n) && (ss(a).prototype.isPrototypeOf(n) || /^HTML\w*Element$/.test(Jn(n).constructor.name));
|
|
21119
21122
|
}, ps = 9, bs = 11, Oo = 1, pr = 3, Wo = (n) => n.dom.nodeName.toLowerCase(), Ya = (n) => n.dom.nodeType, ta = (n) => (a) => Ya(a) === n, Xs = (n) => co(n) && Ln(n.dom), co = ta(Oo), mo = ta(pr), Pi = ta(ps), $i = ta(bs), na = (n) => (a) => co(a) && Wo(a) === n, dr = (n, a) => {
|
|
21120
21123
|
const d = n.dom;
|
|
@@ -28721,7 +28724,7 @@ Components: ` + JSON.stringify(a.components, null, 2));
|
|
|
28721
28724
|
var jv = tinymce.util.Tools.resolve("tinymce.util.LocalStorage");
|
|
28722
28725
|
const eD = {}, OW = (n, a = 10) => {
|
|
28723
28726
|
const d = jv.getItem(n), g = b(d) ? JSON.parse(d) : [], S = ((V) => a - V.length < 0 ? V.slice(0, a) : V)(g), k = (V) => {
|
|
28724
|
-
|
|
28727
|
+
Qe(S, V).each(D), S.unshift(V), S.length > a && S.pop(), jv.setItem(n, JSON.stringify(S));
|
|
28725
28728
|
}, D = (V) => {
|
|
28726
28729
|
S.splice(V, 1);
|
|
28727
28730
|
};
|
|
@@ -42752,7 +42755,7 @@ function c1e() {
|
|
|
42752
42755
|
A[Q] = O(U, Q);
|
|
42753
42756
|
}
|
|
42754
42757
|
return A;
|
|
42755
|
-
},
|
|
42758
|
+
}, Qe = (p, O) => {
|
|
42756
42759
|
for (let _ = 0, A = p.length; _ < A; _++) {
|
|
42757
42760
|
const Q = p[_];
|
|
42758
42761
|
O(Q, _);
|
|
@@ -42781,7 +42784,7 @@ function c1e() {
|
|
|
42781
42784
|
return _;
|
|
42782
42785
|
}, qe = (p, O, _) => (_e(p, (A, Q) => {
|
|
42783
42786
|
_ = O(_, A, Q);
|
|
42784
|
-
}), _), Fe = (p, O, _) => (
|
|
42787
|
+
}), _), Fe = (p, O, _) => (Qe(p, (A, Q) => {
|
|
42785
42788
|
_ = O(_, A, Q);
|
|
42786
42789
|
}), _), bt = (p, O, _) => {
|
|
42787
42790
|
for (let A = 0, Q = p.length; A < Q; A++) {
|
|
@@ -42951,7 +42954,7 @@ function c1e() {
|
|
|
42951
42954
|
}, Be = (p) => p.nodeType !== wi && p.nodeType !== gr && p.nodeType !== Br || p.childElementCount === 0, Ge = (p, O) => {
|
|
42952
42955
|
const _ = O === void 0 ? document : O.dom;
|
|
42953
42956
|
return Be(_) ? [] : Et(_.querySelectorAll(p), pt.fromDom);
|
|
42954
|
-
},
|
|
42957
|
+
}, Vt = (p, O) => {
|
|
42955
42958
|
const _ = O === void 0 ? document : O.dom;
|
|
42956
42959
|
return Be(_) ? ue.none() : ue.from(_.querySelector(p)).map(pt.fromDom);
|
|
42957
42960
|
}, Yt = (p, O) => p.dom === O.dom, _n = (p, O) => {
|
|
@@ -43000,16 +43003,16 @@ function c1e() {
|
|
|
43000
43003
|
}, yl = (p, O) => {
|
|
43001
43004
|
Pi(p, O), dr(O, p);
|
|
43002
43005
|
}, $u = (p, O) => {
|
|
43003
|
-
|
|
43006
|
+
Qe(O, (_, A) => {
|
|
43004
43007
|
const Q = A === 0 ? p : O[A - 1];
|
|
43005
43008
|
$i(Q, _);
|
|
43006
43009
|
});
|
|
43007
43010
|
}, bo = (p, O) => {
|
|
43008
|
-
|
|
43011
|
+
Qe(O, (_) => {
|
|
43009
43012
|
dr(p, _);
|
|
43010
43013
|
});
|
|
43011
43014
|
}, Kl = (p) => {
|
|
43012
|
-
p.dom.textContent = "",
|
|
43015
|
+
p.dom.textContent = "", Qe(Xs(p), (O) => {
|
|
43013
43016
|
Ar(O);
|
|
43014
43017
|
});
|
|
43015
43018
|
}, Ar = (p) => {
|
|
@@ -43112,7 +43115,7 @@ function c1e() {
|
|
|
43112
43115
|
return pt.fromDom(O);
|
|
43113
43116
|
}, me = (p, O, _) => $e(Wo(p, _), O), Ke = (p, O) => $e(Xs(p), O), Tt = (p, O) => {
|
|
43114
43117
|
let _ = [];
|
|
43115
|
-
return
|
|
43118
|
+
return Qe(Xs(p), (A) => {
|
|
43116
43119
|
O(A) && (_ = _.concat([A])), _ = _.concat(Tt(A, O));
|
|
43117
43120
|
}), _;
|
|
43118
43121
|
}, jn = (p, O, _) => me(p, (A) => ut(A, O), _), kn = (p, O) => Ke(p, (_) => ut(_, O)), Qo = (p, O) => Ge(O, p);
|
|
@@ -43145,7 +43148,7 @@ function c1e() {
|
|
|
43145
43148
|
return ue.none();
|
|
43146
43149
|
};
|
|
43147
43150
|
return _(p.dom);
|
|
43148
|
-
}, qr = (p, O, _) => en(p, (A) => ut(A, O), _), ho = (p, O) => nr(p, (_) => ut(_, O)), Ma = (p, O) =>
|
|
43151
|
+
}, qr = (p, O, _) => en(p, (A) => ut(A, O), _), ho = (p, O) => nr(p, (_) => ut(_, O)), Ma = (p, O) => Vt(O, p), Ri = (p, O, _) => gi((Q, U) => ut(Q, U), qr, p, O, _), Na = (p, O, _ = Ot) => p.exists((A) => _(A, O)), fi = (p) => {
|
|
43149
43152
|
const O = [], _ = (A) => {
|
|
43150
43153
|
O.push(A);
|
|
43151
43154
|
};
|
|
@@ -43473,7 +43476,7 @@ function c1e() {
|
|
|
43473
43476
|
const A = Et(p.cells, _);
|
|
43474
43477
|
return Ra(O(p.element), A, p.section, !0);
|
|
43475
43478
|
}, Mc = "data-snooker-locked-cols", bh = (p) => ce(p, Mc).bind((O) => ue.from(O.match(/\d+/g))).map((O) => ze(O, Me)), Lr = (p) => {
|
|
43476
|
-
const O = Fe(uo(p).rows, (A, Q) => (
|
|
43479
|
+
const O = Fe(uo(p).rows, (A, Q) => (Qe(Q.cells, (U, re) => {
|
|
43477
43480
|
U.isLocked && (A[re] = !0);
|
|
43478
43481
|
}), A), {}), _ = Ys(O, (A, Q) => parseInt(Q, 10));
|
|
43479
43482
|
return lt(_);
|
|
@@ -43486,7 +43489,7 @@ function c1e() {
|
|
|
43486
43489
|
}, _r = (p) => {
|
|
43487
43490
|
const O = {};
|
|
43488
43491
|
let _ = 0;
|
|
43489
|
-
return
|
|
43492
|
+
return Qe(p.cells, (A) => {
|
|
43490
43493
|
const Q = A.colspan;
|
|
43491
43494
|
os(Q, (U) => {
|
|
43492
43495
|
const re = _ + U;
|
|
@@ -43500,9 +43503,9 @@ function c1e() {
|
|
|
43500
43503
|
pass: Oe,
|
|
43501
43504
|
fail: st
|
|
43502
43505
|
} = ht(p, (yn) => yn.section === "colgroup");
|
|
43503
|
-
|
|
43506
|
+
Qe(st, (yn) => {
|
|
43504
43507
|
const On = [];
|
|
43505
|
-
|
|
43508
|
+
Qe(yn.cells, (is) => {
|
|
43506
43509
|
let dn = 0;
|
|
43507
43510
|
for (; O[pg(be, dn)] !== void 0; )
|
|
43508
43511
|
dn++;
|
|
@@ -43804,7 +43807,7 @@ function c1e() {
|
|
|
43804
43807
|
(re.column < O.minCol || re.column > O.maxCol) && Ar(re.element);
|
|
43805
43808
|
});
|
|
43806
43809
|
const Q = $e(ud(p, "tr"), (re) => re.dom.childElementCount === 0);
|
|
43807
|
-
|
|
43810
|
+
Qe(Q, Ar), (O.minCol === O.maxCol || O.minRow === O.maxRow) && Qe(ud(p, "th,td"), (re) => {
|
|
43808
43811
|
de(re, "rowspan"), de(re, "colspan");
|
|
43809
43812
|
}), de(p, Mc), de(p, "data-snooker-col-series"), ie.getTableSize(p).adjustTableWidth(A);
|
|
43810
43813
|
}, rs = (p, O, _, A) => {
|
|
@@ -43814,7 +43817,7 @@ function c1e() {
|
|
|
43814
43817
|
return _.getCellDelta(Oe);
|
|
43815
43818
|
}, js = (p, O) => {
|
|
43816
43819
|
const _ = (Mn) => ut(Mn.element, O), A = Di(p), Q = p0(A), U = ie.getTableSize(p), re = Do.generate(Q), be = ct(re, _), Oe = "th:not(" + O + "),td:not(" + O + ")", st = uh(A, "th,td", (Mn) => ut(Mn, Oe));
|
|
43817
|
-
|
|
43820
|
+
Qe(st, Ar), bn(Q, re, be, _);
|
|
43818
43821
|
const _t = Do.fromTable(p), un = rs(p, _t, U, be);
|
|
43819
43822
|
return ts(A, be, re, un), A;
|
|
43820
43823
|
}, Co = " ", Gr = ((p, O) => {
|
|
@@ -44008,7 +44011,7 @@ function c1e() {
|
|
|
44008
44011
|
}, Uy = (p) => p.inline && Qb(p).isSome(), Cg = Ti("ui_mode"), Lc = (p) => !Uy(p) && Cg(p) === "split", Wp = (p) => Ri(p, "[contenteditable]"), Sh = (p, O = !1) => ro(p) ? p.dom.isContentEditable : Wp(p).fold(ne(O), (_) => Yk(_) === "true"), Yk = (p) => p.dom.contentEditable, A0 = (p) => pt.fromDom(p.getBody()), Ch = (p) => (O) => Yt(O, A0(p)), kh = (p) => {
|
|
44009
44012
|
de(p, "data-mce-style");
|
|
44010
44013
|
const O = (_) => de(_, "data-mce-style");
|
|
44011
|
-
|
|
44014
|
+
Qe(Pf(p), O), Qe(bc(p), O), Qe(Ep(p), O);
|
|
44012
44015
|
}, Wy = (p) => pt.fromDom(p.selection.getStart()), Kk = (p) => p.getBoundingClientRect().width, Xy = (p) => p.getBoundingClientRect().height, km = (p) => (O, _) => {
|
|
44013
44016
|
const A = O.dom.getStyle(_, p) || O.dom.getAttrib(_, p);
|
|
44014
44017
|
return ue.from(A).filter(Pe);
|
|
@@ -44473,7 +44476,7 @@ function c1e() {
|
|
|
44473
44476
|
const _ = [], A = [], Q = (yn) => Et(yn, (On) => {
|
|
44474
44477
|
On.isNew && _.push(On.element);
|
|
44475
44478
|
const is = On.element;
|
|
44476
|
-
return Kl(is),
|
|
44479
|
+
return Kl(is), Qe(On.cells, (dn) => {
|
|
44477
44480
|
dn.isNew && A.push(dn.element), n1(dn.element, "colspan", dn.colspan, 1), n1(dn.element, "rowspan", dn.rowspan, 1), dr(is, dn.element);
|
|
44478
44481
|
}), is;
|
|
44479
44482
|
}), U = (yn) => ns(yn, (On) => Et(On.cells, (is) => (n1(is.element, "span", is.colspan, 1), is.element))), re = (yn, On) => {
|
|
@@ -44484,7 +44487,7 @@ function c1e() {
|
|
|
44484
44487
|
}, Oe = (yn, On) => {
|
|
44485
44488
|
yn.length > 0 ? re(yn, On) : be(On);
|
|
44486
44489
|
}, st = [], _t = [], un = [], Mn = [];
|
|
44487
|
-
return
|
|
44490
|
+
return Qe(O, (yn) => {
|
|
44488
44491
|
switch (yn.section) {
|
|
44489
44492
|
case "thead":
|
|
44490
44493
|
st.push(yn);
|
|
@@ -44505,7 +44508,7 @@ function c1e() {
|
|
|
44505
44508
|
};
|
|
44506
44509
|
}, Kb = (p) => Et(p, (O) => {
|
|
44507
44510
|
const _ = Jl(O.element);
|
|
44508
|
-
return
|
|
44511
|
+
return Qe(O.cells, (A) => {
|
|
44509
44512
|
const Q = Di(A.element);
|
|
44510
44513
|
n1(Q, "colspan", A.colspan, 1), n1(Q, "rowspan", A.rowspan, 1), dr(_, Q);
|
|
44511
44514
|
}), _;
|
|
@@ -44538,7 +44541,7 @@ function c1e() {
|
|
|
44538
44541
|
});
|
|
44539
44542
|
}, s1 = (p, O, _) => {
|
|
44540
44543
|
const A = [];
|
|
44541
|
-
|
|
44544
|
+
Qe(p.colgroups, (Q) => {
|
|
44542
44545
|
const U = [];
|
|
44543
44546
|
for (let re = 0; re < p.grid.columns; re++) {
|
|
44544
44547
|
const be = Do.getColumnAt(p, re).map((Oe) => oi(Oe.element, _, !1)).getOrThunk(() => oi(O.colGap(), !0, !1));
|
|
@@ -44608,7 +44611,7 @@ function c1e() {
|
|
|
44608
44611
|
un && !U ? mu(Oe, be, oi(A(), !0, st.isLocked)) : un && (U = !1);
|
|
44609
44612
|
}
|
|
44610
44613
|
return p;
|
|
44611
|
-
}, sO = (p, O) => Fe(p, (_, A) => Nt(_, (Q) => O(Q.element, A.element)) ? _ : _.concat([A]), []), xu = (p, O, _, A) => (O > 0 && O < p[0].cells.length &&
|
|
44614
|
+
}, sO = (p, O) => Fe(p, (_, A) => Nt(_, (Q) => O(Q.element, A.element)) ? _ : _.concat([A]), []), xu = (p, O, _, A) => (O > 0 && O < p[0].cells.length && Qe(p, (Q) => {
|
|
44612
44615
|
const U = Q.cells[O - 1];
|
|
44613
44616
|
let re = 0;
|
|
44614
44617
|
const be = A();
|
|
@@ -44618,7 +44621,7 @@ function c1e() {
|
|
|
44618
44621
|
const Q = uo(p).rows;
|
|
44619
44622
|
if (O > 0 && O < Q.length) {
|
|
44620
44623
|
const U = Q[O - 1].cells, re = sO(U, _);
|
|
44621
|
-
|
|
44624
|
+
Qe(re, (be) => {
|
|
44622
44625
|
let Oe = ue.none();
|
|
44623
44626
|
for (let st = O; st < Q.length; st++)
|
|
44624
44627
|
for (let _t = 0; _t < kl(Q[0]); _t++) {
|
|
@@ -44820,7 +44823,7 @@ function c1e() {
|
|
|
44820
44823
|
return ow(p, re, A, Q, sw, st, Oe);
|
|
44821
44824
|
}, rw = (p, O, _, A, Q, U, re) => {
|
|
44822
44825
|
const { cols: be, rows: Oe } = uo(p), st = Oe[O[0]], _t = ns(O, (dn) => nf(Oe, dn, Q)), un = Et(st.cells, (dn, Ts) => Jy(Q0(Oe, Ts, Q))), Mn = [...Oe];
|
|
44823
|
-
|
|
44826
|
+
Qe(O, (dn) => {
|
|
44824
44827
|
Mn[dn] = re.transformRow(Oe[dn], _);
|
|
44825
44828
|
});
|
|
44826
44829
|
const yn = [
|
|
@@ -44837,7 +44840,7 @@ function c1e() {
|
|
|
44837
44840
|
if (p.length === 0)
|
|
44838
44841
|
throw new Error("there must be at least one case");
|
|
44839
44842
|
const O = [], _ = {};
|
|
44840
|
-
return
|
|
44843
|
+
return Qe(p, (A, Q) => {
|
|
44841
44844
|
const U = Cn(A);
|
|
44842
44845
|
if (U.length !== 1)
|
|
44843
44846
|
throw new Error("one and only one name per case");
|
|
@@ -44930,7 +44933,7 @@ Required: ` + O.join(", "));
|
|
|
44930
44933
|
height: O[A]
|
|
44931
44934
|
})), p_ = (p) => qe(p, (O, _) => O + _, 0), cO = (p, O) => Do.hasColumns(p) ? g_(p, O) : V0(p, O), $g = (p, O, _) => {
|
|
44932
44935
|
const A = cO(p, O);
|
|
44933
|
-
|
|
44936
|
+
Qe(A, (Q) => {
|
|
44934
44937
|
_.setElementWidth(Q.element, Q.width);
|
|
44935
44938
|
});
|
|
44936
44939
|
}, b_ = (p, O, _, A, Q) => {
|
|
@@ -44938,9 +44941,9 @@ Required: ` + O.join(", "));
|
|
|
44938
44941
|
$g(U, un, Q), A.resizeTable(Q.adjustTableWidth, st, Oe);
|
|
44939
44942
|
}, H0 = (p, O, _) => {
|
|
44940
44943
|
const A = Do.fromTable(p), Q = Mb(A, p), U = Et(Q, (Oe, st) => _ === st ? Math.max(O + Oe, dm()) : Oe), re = lO(A, U);
|
|
44941
|
-
|
|
44944
|
+
Qe(re, (Oe) => {
|
|
44942
44945
|
$b(Oe.element, Oe.height);
|
|
44943
|
-
}),
|
|
44946
|
+
}), Qe(Do.justCells(A), (Oe) => {
|
|
44944
44947
|
Om(Oe.element);
|
|
44945
44948
|
});
|
|
44946
44949
|
const be = p_(U);
|
|
@@ -45259,9 +45262,9 @@ Required: ` + O.join(", "));
|
|
|
45259
45262
|
section: Oe(Ua)
|
|
45260
45263
|
};
|
|
45261
45264
|
return CS(Ua) ? dc(Ua, Hm, aP, _S).bind((TS) => {
|
|
45262
|
-
O.refresh(Ua.dom),
|
|
45265
|
+
O.refresh(Ua.dom), Qe(TS.newRows, (Bv) => {
|
|
45263
45266
|
va(p, Bv.dom);
|
|
45264
|
-
}),
|
|
45267
|
+
}), Qe(TS.newCells, (Bv) => {
|
|
45265
45268
|
hl(p, Bv.dom);
|
|
45266
45269
|
});
|
|
45267
45270
|
const JT = st(Ua, TS);
|
|
@@ -45390,19 +45393,19 @@ Required: ` + O.join(", "));
|
|
|
45390
45393
|
}), _ = O.output;
|
|
45391
45394
|
return _.slice(0, _.length - 1).concat([wO(_[_.length - 1], Math.round(O.remainder))]);
|
|
45392
45395
|
}, Z_ = Rh.from, U_ = (p, O, _) => {
|
|
45393
|
-
|
|
45396
|
+
Qe(O, (A) => {
|
|
45394
45397
|
const Q = p.slice(A.column, A.colspan + A.column), U = kw(Q, du());
|
|
45395
45398
|
io(A.element, "width", U + _);
|
|
45396
45399
|
});
|
|
45397
45400
|
}, h5 = (p, O, _) => {
|
|
45398
|
-
|
|
45401
|
+
Qe(O, (A, Q) => {
|
|
45399
45402
|
const U = kw([p[Q]], du());
|
|
45400
45403
|
io(A.element, "width", U + _);
|
|
45401
45404
|
});
|
|
45402
45405
|
}, m5 = (p, O, _) => {
|
|
45403
|
-
|
|
45406
|
+
Qe(_, (A) => {
|
|
45404
45407
|
Ir(A.element, "height");
|
|
45405
|
-
}),
|
|
45408
|
+
}), Qe(O, (A, Q) => {
|
|
45406
45409
|
io(A.element, "height", p[Q]);
|
|
45407
45410
|
});
|
|
45408
45411
|
}, g5 = (p) => Z_(p).fold(ne("px"), ne("px"), ne("%")), _w = (p, O, _) => {
|
|
@@ -45428,7 +45431,7 @@ Required: ` + O.join(", "));
|
|
|
45428
45431
|
}, X_ = (p) => {
|
|
45429
45432
|
Ir(p, "width");
|
|
45430
45433
|
const O = bc(p), _ = O.length > 0 ? O : Pf(p);
|
|
45431
|
-
|
|
45434
|
+
Qe(_, (A) => {
|
|
45432
45435
|
Ir(A, "width"), u1(A);
|
|
45433
45436
|
}), u1(p);
|
|
45434
45437
|
}, b5 = {
|
|
@@ -45470,8 +45473,8 @@ Required: ` + O.join(", "));
|
|
|
45470
45473
|
}, Ew = (p, O) => {
|
|
45471
45474
|
Ma(O, "td,th").each(Ye(y5, p));
|
|
45472
45475
|
}, O5 = (p, O) => {
|
|
45473
|
-
|
|
45474
|
-
va(p, _.dom),
|
|
45476
|
+
Qe(Qo(O, "tr"), (_) => {
|
|
45477
|
+
va(p, _.dom), Qe(Qo(_, "th,td"), (A) => {
|
|
45475
45478
|
hl(p, A.dom);
|
|
45476
45479
|
});
|
|
45477
45480
|
});
|
|
@@ -45531,7 +45534,7 @@ Required: ` + O.join(", "));
|
|
|
45531
45534
|
}, Oe = (dn, Ts) => {
|
|
45532
45535
|
re((Kt) => {
|
|
45533
45536
|
const Un = zu(p), cr = cs(Un, (ms) => p.formatter.match("tablecellclass", { value: Ts }, ms.dom)) ? p.formatter.remove : p.formatter.apply;
|
|
45534
|
-
|
|
45537
|
+
Qe(Un, (ms) => cr("tablecellclass", { value: Ts }, ms.dom)), da(p, Kt.dom, uv);
|
|
45535
45538
|
});
|
|
45536
45539
|
}, st = () => {
|
|
45537
45540
|
Cc(p).each((dn) => {
|
|
@@ -45540,7 +45543,7 @@ Required: ` + O.join(", "));
|
|
|
45540
45543
|
const Kt = pt.fromTag("caption");
|
|
45541
45544
|
dr(Kt, pt.fromText("Caption")), Hd(Ts, Kt, 0), p.selection.setCursorLocation(Kt.dom, 0);
|
|
45542
45545
|
}, (Kt) => {
|
|
45543
|
-
xe("caption")(dn) &&
|
|
45546
|
+
xe("caption")(dn) && Vt("td", Ts).each((Un) => p.selection.setCursorLocation(Un.dom, 0)), Ar(Kt);
|
|
45544
45547
|
}), da(p, Ts.dom, el);
|
|
45545
45548
|
});
|
|
45546
45549
|
});
|
|
@@ -45614,7 +45617,7 @@ Required: ` + O.join(", "));
|
|
|
45614
45617
|
const lr = ur(Ts, (cr, ms) => p.formatter.has(Kt(ms)) && h(cr));
|
|
45615
45618
|
Rn(lr) || (Fs(lr, (cr, ms) => {
|
|
45616
45619
|
const Nr = Kt(ms);
|
|
45617
|
-
|
|
45620
|
+
Qe(Un, (uc) => {
|
|
45618
45621
|
cr === "" ? p.formatter.remove(Nr, { value: null }, uc.dom, !0) : p.formatter.apply(Nr, { value: cr }, uc.dom);
|
|
45619
45622
|
});
|
|
45620
45623
|
}), U(Un[0]).each((cr) => da(p, cr.dom, uv)));
|
|
@@ -46170,7 +46173,7 @@ Required: ` + O.join(", "));
|
|
|
46170
46173
|
}, oS = (p, O) => {
|
|
46171
46174
|
Qg(p) ? p.dom.classList.remove(O) : FT(p, O), BT(p);
|
|
46172
46175
|
}, Vg = (p, O) => Qg(p) && p.dom.classList.contains(O), rS = (p, O) => {
|
|
46173
|
-
|
|
46176
|
+
Qe(O, (_) => {
|
|
46174
46177
|
oS(p, _);
|
|
46175
46178
|
});
|
|
46176
46179
|
}, Bn = (p) => (O) => {
|
|
@@ -46185,13 +46188,13 @@ Required: ` + O.join(", "));
|
|
|
46185
46188
|
p.firstSelected
|
|
46186
46189
|
]), A = (U) => {
|
|
46187
46190
|
const re = Qo(U, p.selectedSelector);
|
|
46188
|
-
|
|
46191
|
+
Qe(re, _);
|
|
46189
46192
|
};
|
|
46190
46193
|
return {
|
|
46191
46194
|
clearBeforeUpdate: A,
|
|
46192
46195
|
clear: A,
|
|
46193
46196
|
selectRange: (U, re, be, Oe) => {
|
|
46194
|
-
A(U),
|
|
46197
|
+
A(U), Qe(re, O), Im(be, p.firstSelected), Im(Oe, p.lastSelected);
|
|
46195
46198
|
},
|
|
46196
46199
|
selectedSelector: p.selectedSelector,
|
|
46197
46200
|
firstSelectedSelector: p.firstSelectedSelector,
|
|
@@ -46207,13 +46210,13 @@ Required: ` + O.join(", "));
|
|
|
46207
46210
|
re(Oe), _();
|
|
46208
46211
|
}, re = (Oe) => {
|
|
46209
46212
|
const st = Qo(Oe, `${p.selectedSelector},${p.firstSelectedSelector},${p.lastSelectedSelector}`);
|
|
46210
|
-
|
|
46213
|
+
Qe(st, A);
|
|
46211
46214
|
};
|
|
46212
46215
|
return {
|
|
46213
46216
|
clearBeforeUpdate: re,
|
|
46214
46217
|
clear: U,
|
|
46215
46218
|
selectRange: (Oe, st, _t, un) => {
|
|
46216
|
-
U(Oe),
|
|
46219
|
+
U(Oe), Qe(st, Q), Ne(_t, p.firstSelected, "1"), Ne(un, p.lastSelected, "1"), O(st, _t, un);
|
|
46217
46220
|
},
|
|
46218
46221
|
selectedSelector: p.selectedSelector,
|
|
46219
46222
|
firstSelectedSelector: p.firstSelectedSelector,
|
|
@@ -46349,9 +46352,9 @@ Required: ` + O.join(", "));
|
|
|
46349
46352
|
},
|
|
46350
46353
|
trigger: (...U) => {
|
|
46351
46354
|
const re = {};
|
|
46352
|
-
|
|
46355
|
+
Qe(p, (be, Oe) => {
|
|
46353
46356
|
re[be] = U[Oe];
|
|
46354
|
-
}),
|
|
46357
|
+
}), Qe(O, (be) => {
|
|
46355
46358
|
be(re);
|
|
46356
46359
|
});
|
|
46357
46360
|
}
|
|
@@ -46385,7 +46388,7 @@ Required: ` + O.join(", "));
|
|
|
46385
46388
|
}, VT = (p, O) => {
|
|
46386
46389
|
if (!x(O))
|
|
46387
46390
|
throw new Error("The " + p + " fields must be an array. Was: " + O + ".");
|
|
46388
|
-
|
|
46391
|
+
Qe(O, (_) => {
|
|
46389
46392
|
if (!h(_))
|
|
46390
46393
|
throw new Error("The value " + _ + " in the " + p + " fields was not a string.");
|
|
46391
46394
|
});
|
|
@@ -46622,10 +46625,10 @@ Required: ` + O.join(", "));
|
|
|
46622
46625
|
});
|
|
46623
46626
|
}, Wc = (p) => {
|
|
46624
46627
|
const O = Qo(p.parent(), "." + Rv);
|
|
46625
|
-
|
|
46628
|
+
Qe(O, Ar);
|
|
46626
46629
|
}, jl = (p, O, _) => {
|
|
46627
46630
|
const A = p.origin();
|
|
46628
|
-
|
|
46631
|
+
Qe(O, (Q) => {
|
|
46629
46632
|
Q.each((U) => {
|
|
46630
46633
|
const re = _(A, U);
|
|
46631
46634
|
Im(re, Rv), dr(p.parent(), re);
|
|
@@ -46653,7 +46656,7 @@ Required: ` + O.join(", "));
|
|
|
46653
46656
|
}
|
|
46654
46657
|
}, Bo = (p, O) => {
|
|
46655
46658
|
const _ = Qo(p.parent(), "." + Rv);
|
|
46656
|
-
|
|
46659
|
+
Qe(_, O);
|
|
46657
46660
|
}, T1 = (p) => {
|
|
46658
46661
|
Bo(p, (O) => {
|
|
46659
46662
|
io(O, "display", "none");
|
|
@@ -46818,7 +46821,7 @@ Required: ` + O.join(", "));
|
|
|
46818
46821
|
p.inline && Ar(O.parent());
|
|
46819
46822
|
}, KT = (p) => H(p) && p.nodeName === "TABLE", xS = "bar-", Mv = (p) => et(p, "data-mce-resize") !== "false", oP = (p) => {
|
|
46820
46823
|
const O = Do.fromTable(p);
|
|
46821
|
-
Do.hasColumns(O) ||
|
|
46824
|
+
Do.hasColumns(O) || Qe(Pf(p), (_) => {
|
|
46822
46825
|
const A = pi(_, "width");
|
|
46823
46826
|
io(_, "width", A), de(_, "width");
|
|
46824
46827
|
});
|
|
@@ -46867,7 +46870,7 @@ Required: ` + O.join(", "));
|
|
|
46867
46870
|
const lr = Un.target;
|
|
46868
46871
|
if (KT(lr) && !p.mode.isReadOnly()) {
|
|
46869
46872
|
const cr = pt.fromDom(lr);
|
|
46870
|
-
|
|
46873
|
+
Qe(p.dom.select(".mce-clonedresizable"), (ms) => {
|
|
46871
46874
|
p.dom.addClass(ms, "mce-" + Jd(p) + "-columns");
|
|
46872
46875
|
}), !W_(cr) && Vu(p) ? CO(cr) : !SO(cr) && Lb(p) && Mg(cr), dv(cr) && oa(Un.origin, xS) && Mg(cr), Q = Un.width, U = Bf(p) ? "" : vu(p, lr).getOr(""), re = Un.height, be = Al(p, lr).getOr("");
|
|
46873
46876
|
}
|
|
@@ -47072,7 +47075,7 @@ function u1e() {
|
|
|
47072
47075
|
}, os = (L, Y) => Nt(Me(L, Y)), Et = (L) => {
|
|
47073
47076
|
const Y = Ot.call(L, 0);
|
|
47074
47077
|
return Y.reverse(), Y;
|
|
47075
|
-
},
|
|
47078
|
+
}, Qe = (L, Y) => Y >= 0 && Y < L.length ? fe.some(L[Y]) : fe.none(), _e = (L) => Qe(L, 0), ht = (L) => Qe(L, L.length - 1), $e = (L, Y) => {
|
|
47076
47079
|
const le = [], je = R(Y) ? (it) => wt(le, (ln) => Y(ln, it)) : (it) => at(le, it);
|
|
47077
47080
|
for (let it = 0, ln = L.length; it < ln; it++) {
|
|
47078
47081
|
const Qn = L[it];
|
|
@@ -47208,13 +47211,13 @@ function u1e() {
|
|
|
47208
47211
|
}
|
|
47209
47212
|
}, Ge = (L) => (Y, le) => {
|
|
47210
47213
|
L[le] = Y;
|
|
47211
|
-
},
|
|
47214
|
+
}, Vt = (L, Y, le, je) => {
|
|
47212
47215
|
Be(L, (it, ln) => {
|
|
47213
47216
|
(Y(it, ln) ? le : je)(it, ln);
|
|
47214
47217
|
});
|
|
47215
47218
|
}, Yt = (L, Y) => {
|
|
47216
47219
|
const le = {};
|
|
47217
|
-
return
|
|
47220
|
+
return Vt(L, Y, Ge(le), H), le;
|
|
47218
47221
|
}, _n = (L, Y, le) => {
|
|
47219
47222
|
if (f(le) || x(le) || M(le))
|
|
47220
47223
|
L.setAttribute(Y, le + "");
|
|
@@ -48249,7 +48252,7 @@ function d1e() {
|
|
|
48249
48252
|
processor: "boolean",
|
|
48250
48253
|
default: !1
|
|
48251
48254
|
}), Ve("link_attributes_postprocess", { processor: "function" });
|
|
48252
|
-
}, Nt = B("link_assume_external_targets"), os = B("link_context_toolbar"), Et = B("link_list"),
|
|
48255
|
+
}, Nt = B("link_assume_external_targets"), os = B("link_context_toolbar"), Et = B("link_list"), Qe = B("link_default_target"), _e = B("link_default_protocol"), ht = B("link_target_list"), $e = B("link_rel_list"), qe = B("link_class_list"), Fe = B("link_title"), bt = B("allow_unsafe_link_target"), te = B("link_quicklink"), Pn = B("link_attributes_postprocess"), rn = Object.keys, ns = Object.hasOwnProperty, cs = (ge, Ve) => {
|
|
48253
48256
|
const ft = rn(ge);
|
|
48254
48257
|
for (let Ut = 0, pn = ft.length; Ut < pn; Ut++) {
|
|
48255
48258
|
const jt = ft[Ut], es = ge[jt];
|
|
@@ -48305,7 +48308,7 @@ function d1e() {
|
|
|
48305
48308
|
const Ut = ci(ft.rel, ft.target === "_blank");
|
|
48306
48309
|
ft.rel = Ut || null;
|
|
48307
48310
|
}
|
|
48308
|
-
return ke.from(ft.target).isNone() && ht(ge) === !1 && (ft.target =
|
|
48311
|
+
return ke.from(ft.target).isNone() && ht(ge) === !1 && (ft.target = Qe(ge)), ft.href = kr(ft.href, Nt(ge)), ft;
|
|
48309
48312
|
}, Fr = (ge, Ve, ft, Ut) => {
|
|
48310
48313
|
ft.each((jt) => {
|
|
48311
48314
|
gt(Ve, "innerText") ? Ve.innerText = jt : Ve.textContent = jt;
|
|
@@ -48503,7 +48506,7 @@ function d1e() {
|
|
|
48503
48506
|
} }, Ge = { getClasses: (ge) => {
|
|
48504
48507
|
const Ve = qe(ge);
|
|
48505
48508
|
return Ve.length > 0 ? We.sanitize(Ve) : ke.none();
|
|
48506
|
-
} },
|
|
48509
|
+
} }, Vt = (ge) => {
|
|
48507
48510
|
try {
|
|
48508
48511
|
return ke.some(JSON.parse(ge));
|
|
48509
48512
|
} catch {
|
|
@@ -48512,7 +48515,7 @@ function d1e() {
|
|
|
48512
48515
|
}, _n = { getLinks: (ge) => {
|
|
48513
48516
|
const Ve = (Ut) => ge.convertURL(Ut.value || Ut.url || "", "href"), ft = Et(ge);
|
|
48514
48517
|
return new Promise((Ut) => {
|
|
48515
|
-
h(ft) ? fetch(ft).then((pn) => pn.ok ? pn.text().then(
|
|
48518
|
+
h(ft) ? fetch(ft).then((pn) => pn.ok ? pn.text().then(Vt) : Promise.reject()).then(Ut, () => Ut(ke.none())) : H(ft) ? ft((pn) => Ut(ke.some(pn))) : Ut(ke.from(ft));
|
|
48516
48519
|
}).then((Ut) => Ut.bind(We.sanitizeWith(Ve)).map((pn) => pn.length > 0 ? [{
|
|
48517
48520
|
text: "None",
|
|
48518
48521
|
value: ""
|
|
@@ -48616,7 +48619,7 @@ function d1e() {
|
|
|
48616
48619
|
name: "title",
|
|
48617
48620
|
type: "input",
|
|
48618
48621
|
label: "Title"
|
|
48619
|
-
}] : [], es = ke.from(
|
|
48622
|
+
}] : [], es = ke.from(Qe(ft)), ro = co(ge, es), zs = ge.catalogs, oe = de.init(ro, zs);
|
|
48620
48623
|
return {
|
|
48621
48624
|
title: "Insert/Edit Link",
|
|
48622
48625
|
size: "normal",
|
|
@@ -48845,7 +48848,7 @@ function d1e() {
|
|
|
48845
48848
|
text: ro,
|
|
48846
48849
|
title: ke.none(),
|
|
48847
48850
|
rel: ke.none(),
|
|
48848
|
-
target: ke.from(
|
|
48851
|
+
target: ke.from(Qe(ge)),
|
|
48849
48852
|
class: ke.none()
|
|
48850
48853
|
}), ft(ge), jt.hide();
|
|
48851
48854
|
}
|
|
@@ -49015,7 +49018,7 @@ function f1e() {
|
|
|
49015
49018
|
Nt(oe.dom, me, Ke);
|
|
49016
49019
|
}, Et = (oe, me) => {
|
|
49017
49020
|
oe.dom.removeAttribute(me);
|
|
49018
|
-
},
|
|
49021
|
+
}, Qe = (oe, me) => {
|
|
49019
49022
|
const Tt = (me || document).createElement("div");
|
|
49020
49023
|
if (Tt.innerHTML = oe, !Tt.hasChildNodes() || Tt.childNodes.length > 1) {
|
|
49021
49024
|
const jn = "HTML does not have a single root node";
|
|
@@ -49033,7 +49036,7 @@ function f1e() {
|
|
|
49033
49036
|
throw new Error("Node cannot be null or undefined");
|
|
49034
49037
|
return { dom: oe };
|
|
49035
49038
|
}, Fe = {
|
|
49036
|
-
fromHtml:
|
|
49039
|
+
fromHtml: Qe,
|
|
49037
49040
|
fromTag: _e,
|
|
49038
49041
|
fromText: ht,
|
|
49039
49042
|
fromDom: $e,
|
|
@@ -49277,7 +49280,7 @@ function f1e() {
|
|
|
49277
49280
|
cn(oe, Tt), oe.selection.select(Ke.parentNode);
|
|
49278
49281
|
} else
|
|
49279
49282
|
oe.selection.select(Ke), Ho(oe, me, Ke);
|
|
49280
|
-
},
|
|
49283
|
+
}, Vt = (oe, me) => {
|
|
49281
49284
|
const Ke = me.src;
|
|
49282
49285
|
return {
|
|
49283
49286
|
...me,
|
|
@@ -49289,7 +49292,7 @@ function f1e() {
|
|
|
49289
49292
|
const jn = {
|
|
49290
49293
|
...tt((Qo) => yt(oe, Qo), Ke),
|
|
49291
49294
|
...me
|
|
49292
|
-
}, kn =
|
|
49295
|
+
}, kn = Vt(oe, jn);
|
|
49293
49296
|
jn.src ? Ge(oe, kn) : Be(oe, Ke);
|
|
49294
49297
|
} else me.src && pt(oe, {
|
|
49295
49298
|
...We(),
|
|
@@ -49914,7 +49917,7 @@ function h1e() {
|
|
|
49914
49917
|
!Re.source && cn === "param" && (Re.source = Ht.attr("movie")), (cn === "iframe" || cn === "object" || cn === "embed" || cn === "video" || cn === "audio") && (Re.type || (Re.type = cn), Re = xt.extend(Ht.attributes.map, Re)), cn === "source" && (Re.source ? Re.altsource || (Re.altsource = Ht.attr("src")) : Re.source = Ht.attr("src")), cn === "img" && !Re.poster && (Re.poster = Ht.attr("src"));
|
|
49915
49918
|
}
|
|
49916
49919
|
return Re.source = Re.source || Re.src || "", Re.altsource = Re.altsource || "", Re.poster = Re.poster || "", Re;
|
|
49917
|
-
},
|
|
49920
|
+
}, Qe = (ce) => {
|
|
49918
49921
|
var de;
|
|
49919
49922
|
const Re = {
|
|
49920
49923
|
mp3: "audio/mpeg",
|
|
@@ -49966,8 +49969,8 @@ function h1e() {
|
|
|
49966
49969
|
pt.attr("poster", de.poster), pt.attr("src", null);
|
|
49967
49970
|
for (let Ge = yt; Ge < 2; Ge++)
|
|
49968
49971
|
if (de[te[Ge]]) {
|
|
49969
|
-
const
|
|
49970
|
-
|
|
49972
|
+
const Vt = new _e("source", 1);
|
|
49973
|
+
Vt.attr("src", de[te[Ge]]), Vt.attr("type", de[te[Ge] + "mime"] || null), pt.append(Vt);
|
|
49971
49974
|
}
|
|
49972
49975
|
break;
|
|
49973
49976
|
case "iframe":
|
|
@@ -50109,7 +50112,7 @@ function h1e() {
|
|
|
50109
50112
|
const Ie = xt.extend({}, de);
|
|
50110
50113
|
if (!Ie.source && (xt.extend(Ie, Et((Re = Ie.embed) !== null && Re !== void 0 ? Re : "", ce.schema)), !Ie.source))
|
|
50111
50114
|
return "";
|
|
50112
|
-
Ie.altsource || (Ie.altsource = ""), Ie.poster || (Ie.poster = ""), Ie.source = ce.convertURL(Ie.source, "source"), Ie.altsource = ce.convertURL(Ie.altsource, "source"), Ie.sourcemime =
|
|
50115
|
+
Ie.altsource || (Ie.altsource = ""), Ie.poster || (Ie.poster = ""), Ie.source = ce.convertURL(Ie.source, "source"), Ie.altsource = ce.convertURL(Ie.altsource, "source"), Ie.sourcemime = Qe(Ie.source), Ie.altsourcemime = Qe(Ie.altsource), Ie.poster = ce.convertURL(Ie.poster, "poster");
|
|
50113
50116
|
const yt = rr(Ie.source);
|
|
50114
50117
|
if (yt && (Ie.source = yt.url, Ie.type = yt.type, Ie.allowfullscreen = yt.allowFullscreen, Ie.width = Ie.width || String(yt.w), Ie.height = Ie.height || String(yt.h)), Ie.embed)
|
|
50115
50118
|
return Pn(Ie.embed, Ie, !0, ce.schema);
|
|
@@ -50279,13 +50282,13 @@ function h1e() {
|
|
|
50279
50282
|
name: "embed",
|
|
50280
50283
|
label: "Paste your embed code below:"
|
|
50281
50284
|
}]
|
|
50282
|
-
},
|
|
50283
|
-
Me(ce) &&
|
|
50285
|
+
}, Vt = [];
|
|
50286
|
+
Me(ce) && Vt.push({
|
|
50284
50287
|
name: "altsource",
|
|
50285
50288
|
type: "urlinput",
|
|
50286
50289
|
filetype: "media",
|
|
50287
50290
|
label: "Alternative source URL"
|
|
50288
|
-
}), ue(ce) &&
|
|
50291
|
+
}), ue(ce) && Vt.push({
|
|
50289
50292
|
name: "poster",
|
|
50290
50293
|
type: "urlinput",
|
|
50291
50294
|
filetype: "image",
|
|
@@ -50294,12 +50297,12 @@ function h1e() {
|
|
|
50294
50297
|
const Yt = {
|
|
50295
50298
|
title: "Advanced",
|
|
50296
50299
|
name: "advanced",
|
|
50297
|
-
items:
|
|
50300
|
+
items: Vt
|
|
50298
50301
|
}, _n = [
|
|
50299
50302
|
ut,
|
|
50300
50303
|
Ge
|
|
50301
50304
|
];
|
|
50302
|
-
|
|
50305
|
+
Vt.length > 0 && _n.push(Yt);
|
|
50303
50306
|
const Jn = {
|
|
50304
50307
|
type: "tabpanel",
|
|
50305
50308
|
tabs: _n
|
|
@@ -50474,11 +50477,11 @@ function h1e() {
|
|
|
50474
50477
|
});
|
|
50475
50478
|
}
|
|
50476
50479
|
Ge.attr({ style: ut.attr("style") });
|
|
50477
|
-
const
|
|
50478
|
-
let Yt =
|
|
50480
|
+
const Vt = (Fn = ut.attributes) !== null && Fn !== void 0 ? Fn : [];
|
|
50481
|
+
let Yt = Vt.length;
|
|
50479
50482
|
for (; Yt--; ) {
|
|
50480
|
-
const Jn =
|
|
50481
|
-
Jn.indexOf("data-mce-p-") === 0 && Ge.attr(Jn.substr(11),
|
|
50483
|
+
const Jn = Vt[Yt].name;
|
|
50484
|
+
Jn.indexOf("data-mce-p-") === 0 && Ge.attr(Jn.substr(11), Vt[Yt].value);
|
|
50482
50485
|
}
|
|
50483
50486
|
const _n = ut.attr("data-mce-html");
|
|
50484
50487
|
if (_n) {
|
|
@@ -50651,7 +50654,7 @@ function m1e() {
|
|
|
50651
50654
|
if (at.call(F, z))
|
|
50652
50655
|
return !1;
|
|
50653
50656
|
return !0;
|
|
50654
|
-
},
|
|
50657
|
+
}, Qe = Array.prototype.indexOf, _e = Array.prototype.push, ht = (F, z) => Qe.call(F, z), $e = (F, z) => ht(F, z) > -1, qe = (F, z) => {
|
|
50655
50658
|
for (let ie = 0, we = F.length; ie < we; ie++) {
|
|
50656
50659
|
const ct = F[ie];
|
|
50657
50660
|
if (z(ct, ie))
|
|
@@ -50826,7 +50829,7 @@ function m1e() {
|
|
|
50826
50829
|
}, yt = (F, z, ie) => Re((ct, Ee) => Ee(ct), Ie, F, z, ie), Ht = (F, z) => {
|
|
50827
50830
|
const ie = (ct) => z(En.fromDom(ct));
|
|
50828
50831
|
return lt(F.dom.childNodes, ie).map(En.fromDom);
|
|
50829
|
-
}, cn = (F, z, ie) => Ie(F, (we) => In(we, z), ie), Fn = (F, z) => Ht(F, (ie) => In(ie, z)), pt = (F, z) => kr(z, F), ut = (F, z, ie) => Re((ct, Ee) => In(ct, Ee), cn, F, z, ie), Be = (F) => ut(F, "[contenteditable]"), Ge = (F, z = !1) => de(F) ? F.dom.isContentEditable : Be(F).fold(ee(z), (ie) =>
|
|
50832
|
+
}, cn = (F, z, ie) => Ie(F, (we) => In(we, z), ie), Fn = (F, z) => Ht(F, (ie) => In(ie, z)), pt = (F, z) => kr(z, F), ut = (F, z, ie) => Re((ct, Ee) => In(ct, Ee), cn, F, z, ie), Be = (F) => ut(F, "[contenteditable]"), Ge = (F, z = !1) => de(F) ? F.dom.isContentEditable : Be(F).fold(ee(z), (ie) => Vt(ie) === "true"), Vt = (F) => F.dom.contentEditable, Yt = (F) => F.nodeName.toLowerCase(), _n = (F) => En.fromDom(F.getBody()), Jn = (F) => (z) => Qs(z, _n(F)), ss = (F) => F ? F.replace(/px$/, "") : "", Ln = (F) => /^\d+(\.\d+)?$/.test(F) ? F + "px" : F, ps = (F) => En.fromDom(F.selection.getStart()), bs = (F) => En.fromDom(F.selection.getEnd()), Oo = (F) => yt(F, Si("table")).forall(Ge), pr = (F, z) => ns(xe(F), z), Wo = (F, z) => {
|
|
50830
50833
|
let ie = [];
|
|
50831
50834
|
return te(xe(F), (we) => {
|
|
50832
50835
|
z(we) && (ie = ie.concat([we])), ie = ie.concat(Wo(we, z));
|
|
@@ -52906,11 +52909,11 @@ function p1e() {
|
|
|
52906
52909
|
}, Et = (ze, lt) => {
|
|
52907
52910
|
const gt = St(ze, lt).join("").replace(/\s/g, "");
|
|
52908
52911
|
return tn(gt);
|
|
52909
|
-
},
|
|
52912
|
+
}, Qe = (ze, lt) => () => lt(ze.getBody(), ze.schema), _e = (ze, lt) => () => lt(ze.selection.getRng().cloneContents(), ze.schema), ht = (ze) => Qe(ze, Nt), $e = (ze) => ({
|
|
52910
52913
|
body: {
|
|
52911
52914
|
getWordCount: ht(ze),
|
|
52912
|
-
getCharacterCount:
|
|
52913
|
-
getCharacterCountWithoutSpaces:
|
|
52915
|
+
getCharacterCount: Qe(ze, os),
|
|
52916
|
+
getCharacterCountWithoutSpaces: Qe(ze, Et)
|
|
52914
52917
|
},
|
|
52915
52918
|
selection: {
|
|
52916
52919
|
getWordCount: _e(ze, Nt),
|
|
@@ -53155,7 +53158,7 @@ function b1e() {
|
|
|
53155
53158
|
return qt;
|
|
53156
53159
|
}
|
|
53157
53160
|
return at.none();
|
|
53158
|
-
},
|
|
53161
|
+
}, Qe = (Ce, Pe, kt) => Ce.isSome() && Pe.isSome() ? at.some(kt(Ce.getOrDie(), Pe.getOrDie())) : at.none(), _e = (Ce) => {
|
|
53159
53162
|
const Pe = r(at.none()), kt = () => Pe.get().each(Ce);
|
|
53160
53163
|
return {
|
|
53161
53164
|
clear: () => {
|
|
@@ -53357,7 +53360,7 @@ function b1e() {
|
|
|
53357
53360
|
if (qt.test(Pe))
|
|
53358
53361
|
return qt;
|
|
53359
53362
|
}
|
|
53360
|
-
},
|
|
53363
|
+
}, Vt = (Ce, Pe) => {
|
|
53361
53364
|
const kt = Ge(Ce, Pe);
|
|
53362
53365
|
if (!kt)
|
|
53363
53366
|
return {
|
|
@@ -53368,7 +53371,7 @@ function b1e() {
|
|
|
53368
53371
|
return Jn(qt(1), qt(2));
|
|
53369
53372
|
}, Yt = (Ce, Pe) => {
|
|
53370
53373
|
const kt = String(Pe).toLowerCase();
|
|
53371
|
-
return Ce.length === 0 ? _n() :
|
|
53374
|
+
return Ce.length === 0 ? _n() : Vt(Ce, kt);
|
|
53372
53375
|
}, _n = () => Jn(0, 0), Jn = (Ce, Pe) => ({
|
|
53373
53376
|
major: Ce,
|
|
53374
53377
|
minor: Pe
|
|
@@ -53636,7 +53639,7 @@ function b1e() {
|
|
|
53636
53639
|
Fa && Ri(Ce.dom), Ca(Na.removeClass), um.unbind(), at.from(Pe.get()).each((ra) => ra.fullscreenChangeHandler.unbind());
|
|
53637
53640
|
};
|
|
53638
53641
|
if (pi)
|
|
53639
|
-
pi.fullscreenChangeHandler.unbind(), pn(Ce) && me(fr) && oe(Br(fr)), Ci.width = pi.iframeWidth, Ci.height = pi.iframeHeight, Ir.width = pi.containerWidth, Ir.height = pi.containerHeight, Ir.top = pi.containerTop, Ir.left = pi.containerLeft,
|
|
53642
|
+
pi.fullscreenChangeHandler.unbind(), pn(Ce) && me(fr) && oe(Br(fr)), Ci.width = pi.iframeWidth, Ci.height = pi.iframeHeight, Ir.width = pi.containerWidth, Ir.height = pi.containerHeight, Ir.top = pi.containerTop, Ir.left = pi.containerLeft, Qe(io, pi.sinkCssPosition, (ra, sr) => {
|
|
53640
53643
|
Ze(ra, "position", sr);
|
|
53641
53644
|
}), Jr(), cu(pi.scrollPos), Pe.set(null), Ve(Ce, !1), Ce.off("remove", Jr);
|
|
53642
53645
|
else {
|
|
@@ -53970,7 +53973,7 @@ function v1e() {
|
|
|
53970
53973
|
isFirefox: In(tn),
|
|
53971
53974
|
isSafari: In(Nt)
|
|
53972
53975
|
};
|
|
53973
|
-
},
|
|
53976
|
+
}, Qe = {
|
|
53974
53977
|
unknown: os,
|
|
53975
53978
|
nu: Et
|
|
53976
53979
|
}, _e = "Windows", ht = "iOS", $e = "Android", qe = "Linux", Fe = "macOS", bt = "Solaris", te = "FreeBSD", Pn = "ChromeOS", rn = () => ns({
|
|
@@ -53994,7 +53997,7 @@ function v1e() {
|
|
|
53994
53997
|
unknown: rn,
|
|
53995
53998
|
nu: ns
|
|
53996
53999
|
}, ze = { detect: (Zt, Rn, En) => {
|
|
53997
|
-
const In = ue.browsers(), Ks = ue.oses(), qo = Rn.bind((Fr) => ne(In, Fr)).orThunk(() => Ot(In, Zt)).fold(
|
|
54000
|
+
const In = ue.browsers(), Ks = ue.oses(), qo = Rn.bind((Fr) => ne(In, Fr)).orThunk(() => Ot(In, Zt)).fold(Qe.unknown, Qe.nu), kr = Ye(Ks, Zt).fold(cs.unknown, cs.nu), Qs = M(kr, qo, Zt, En);
|
|
53998
54001
|
return {
|
|
53999
54002
|
browser: qo,
|
|
54000
54003
|
os: kr,
|
|
@@ -54085,17 +54088,17 @@ var kre = {}, _re;
|
|
|
54085
54088
|
function y1e() {
|
|
54086
54089
|
return _re || (_re = 1, function() {
|
|
54087
54090
|
var r = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
|
54088
|
-
const t = (
|
|
54091
|
+
const t = (Qe, _e, ht) => {
|
|
54089
54092
|
const $e = _e === "UL" ? "InsertUnorderedList" : "InsertOrderedList";
|
|
54090
|
-
|
|
54091
|
-
}, s = (
|
|
54092
|
-
|
|
54093
|
-
t(
|
|
54094
|
-
}),
|
|
54095
|
-
t(
|
|
54093
|
+
Qe.execCommand($e, !1, ht === !1 ? null : { "list-style-type": ht });
|
|
54094
|
+
}, s = (Qe) => {
|
|
54095
|
+
Qe.addCommand("ApplyUnorderedListStyle", (_e, ht) => {
|
|
54096
|
+
t(Qe, "UL", ht["list-style-type"]);
|
|
54097
|
+
}), Qe.addCommand("ApplyOrderedListStyle", (_e, ht) => {
|
|
54098
|
+
t(Qe, "OL", ht["list-style-type"]);
|
|
54096
54099
|
});
|
|
54097
|
-
}, l = (
|
|
54098
|
-
const _e =
|
|
54100
|
+
}, l = (Qe) => (_e) => _e.options.get(Qe), c = (Qe) => {
|
|
54101
|
+
const _e = Qe.options.register;
|
|
54099
54102
|
_e("advlist_number_styles", {
|
|
54100
54103
|
processor: "string[]",
|
|
54101
54104
|
default: "default,lower-alpha,lower-greek,lower-roman,upper-alpha,upper-roman".split(",")
|
|
@@ -54103,7 +54106,7 @@ function y1e() {
|
|
|
54103
54106
|
processor: "string[]",
|
|
54104
54107
|
default: "default,circle,square".split(",")
|
|
54105
54108
|
});
|
|
54106
|
-
}, f = l("advlist_number_styles"), h = l("advlist_bullet_styles"), b = (
|
|
54109
|
+
}, f = l("advlist_number_styles"), h = l("advlist_bullet_styles"), b = (Qe) => Qe == null, x = (Qe) => !b(Qe);
|
|
54107
54110
|
class C {
|
|
54108
54111
|
constructor(_e, ht) {
|
|
54109
54112
|
this.tag = _e, this.value = ht;
|
|
@@ -54175,58 +54178,58 @@ function y1e() {
|
|
|
54175
54178
|
}
|
|
54176
54179
|
}
|
|
54177
54180
|
C.singletonNone = new C(!1);
|
|
54178
|
-
const T = Array.prototype.indexOf, R = (
|
|
54179
|
-
for (let $e = 0, qe =
|
|
54180
|
-
const Fe =
|
|
54181
|
+
const T = Array.prototype.indexOf, R = (Qe, _e) => T.call(Qe, _e), M = (Qe, _e) => R(Qe, _e) > -1, H = (Qe, _e, ht) => {
|
|
54182
|
+
for (let $e = 0, qe = Qe.length; $e < qe; $e++) {
|
|
54183
|
+
const Fe = Qe[$e];
|
|
54181
54184
|
if (_e(Fe, $e))
|
|
54182
54185
|
return C.some(Fe);
|
|
54183
54186
|
if (ht(Fe, $e))
|
|
54184
54187
|
break;
|
|
54185
54188
|
}
|
|
54186
54189
|
return C.none();
|
|
54187
|
-
}, q = Object.keys, G = (
|
|
54188
|
-
const ht = q(
|
|
54190
|
+
}, q = Object.keys, G = (Qe, _e) => {
|
|
54191
|
+
const ht = q(Qe);
|
|
54189
54192
|
for (let $e = 0, qe = ht.length; $e < qe; $e++) {
|
|
54190
|
-
const Fe = ht[$e], bt =
|
|
54193
|
+
const Fe = ht[$e], bt = Qe[Fe];
|
|
54191
54194
|
_e(bt, Fe);
|
|
54192
54195
|
}
|
|
54193
|
-
}, ee = (
|
|
54196
|
+
}, ee = (Qe, _e) => ve(Qe, (ht, $e) => ({
|
|
54194
54197
|
k: $e,
|
|
54195
54198
|
v: _e(ht, $e)
|
|
54196
|
-
})), ve = (
|
|
54199
|
+
})), ve = (Qe, _e) => {
|
|
54197
54200
|
const ht = {};
|
|
54198
|
-
return G(
|
|
54201
|
+
return G(Qe, ($e, qe) => {
|
|
54199
54202
|
const Fe = _e($e, qe);
|
|
54200
54203
|
ht[Fe.k] = Fe.v;
|
|
54201
54204
|
}), ht;
|
|
54202
54205
|
};
|
|
54203
54206
|
var ke = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
|
54204
|
-
const ne = (
|
|
54205
|
-
const _e =
|
|
54207
|
+
const ne = (Qe) => /\btox\-/.test(Qe.className), fe = (Qe, _e) => Qe.dom.isChildOf(_e, Qe.getBody()), Ot = (Qe) => (_e) => x(_e) && Qe.test(_e.nodeName), Ye = Ot(/^(OL|UL|DL)$/), X = Ot(/^(TH|TD)$/), ot = (Qe, _e, ht) => H(_e, ($e) => Ye($e) && !ne($e), X).exists(($e) => $e.nodeName === ht && fe(Qe, $e)), at = (Qe) => {
|
|
54208
|
+
const _e = Qe.dom.getParent(Qe.selection.getNode(), "ol,ul"), ht = Qe.dom.getStyle(_e, "listStyleType");
|
|
54206
54209
|
return C.from(ht);
|
|
54207
|
-
}, wt = (
|
|
54208
|
-
const ht =
|
|
54209
|
-
return wt(
|
|
54210
|
-
}, ue = (
|
|
54211
|
-
const ht =
|
|
54210
|
+
}, wt = (Qe, _e) => _e !== null && !Qe.dom.isEditable(_e), Me = (Qe, _e) => {
|
|
54211
|
+
const ht = Qe.dom.getParent(_e, "ol,ul,dl");
|
|
54212
|
+
return wt(Qe, ht) || !Qe.selection.isEditable();
|
|
54213
|
+
}, ue = (Qe, _e) => {
|
|
54214
|
+
const ht = Qe.selection.getNode();
|
|
54212
54215
|
return _e({
|
|
54213
|
-
parents:
|
|
54216
|
+
parents: Qe.dom.getParents(ht),
|
|
54214
54217
|
element: ht
|
|
54215
|
-
}),
|
|
54216
|
-
}, Jt = (
|
|
54218
|
+
}), Qe.on("NodeChange", _e), () => Qe.off("NodeChange", _e);
|
|
54219
|
+
}, Jt = (Qe) => Qe.replace(/\-/g, " ").replace(/\b\w/g, (_e) => _e.toUpperCase()), xt = (Qe) => b(Qe) || Qe === "default" ? "" : Qe, St = (Qe, _e) => (ht) => {
|
|
54217
54220
|
const $e = (Fe, bt) => {
|
|
54218
54221
|
const te = Fe.selection.getStart(!0);
|
|
54219
54222
|
ht.setActive(ot(Fe, bt, _e)), ht.setEnabled(!Me(Fe, te));
|
|
54220
54223
|
};
|
|
54221
|
-
return ue(
|
|
54222
|
-
}, B = (
|
|
54224
|
+
return ue(Qe, (Fe) => $e(Qe, Fe.parents));
|
|
54225
|
+
}, B = (Qe, _e, ht, $e, qe, Fe) => {
|
|
54223
54226
|
const bt = {
|
|
54224
54227
|
"lower-latin": "lower-alpha",
|
|
54225
54228
|
"upper-latin": "upper-alpha",
|
|
54226
54229
|
"lower-alpha": "lower-latin",
|
|
54227
54230
|
"upper-alpha": "upper-latin"
|
|
54228
54231
|
}, te = ee(bt, (Pn) => M(Fe, Pn));
|
|
54229
|
-
|
|
54232
|
+
Qe.ui.registry.addSplitButton(_e, {
|
|
54230
54233
|
tooltip: ht,
|
|
54231
54234
|
icon: qe === "OL" ? "ordered-list" : "unordered-list",
|
|
54232
54235
|
presets: "listpreview",
|
|
@@ -54243,29 +54246,29 @@ function y1e() {
|
|
|
54243
54246
|
});
|
|
54244
54247
|
Pn(rn);
|
|
54245
54248
|
},
|
|
54246
|
-
onAction: () =>
|
|
54249
|
+
onAction: () => Qe.execCommand($e),
|
|
54247
54250
|
onItemAction: (Pn, rn) => {
|
|
54248
|
-
t(
|
|
54251
|
+
t(Qe, qe, rn);
|
|
54249
54252
|
},
|
|
54250
|
-
select: (Pn) => at(
|
|
54251
|
-
onSetup: St(
|
|
54253
|
+
select: (Pn) => at(Qe).exists((ns) => Pn === ns || bt[ns] === Pn && !te[Pn]),
|
|
54254
|
+
onSetup: St(Qe, qe)
|
|
54252
54255
|
});
|
|
54253
|
-
}, tn = (
|
|
54254
|
-
|
|
54256
|
+
}, tn = (Qe, _e, ht, $e, qe, Fe) => {
|
|
54257
|
+
Qe.ui.registry.addToggleButton(_e, {
|
|
54255
54258
|
active: !1,
|
|
54256
54259
|
tooltip: ht,
|
|
54257
54260
|
icon: qe === "OL" ? "ordered-list" : "unordered-list",
|
|
54258
|
-
onSetup: St(
|
|
54259
|
-
onAction: () =>
|
|
54261
|
+
onSetup: St(Qe, qe),
|
|
54262
|
+
onAction: () => Qe.queryCommandState($e) || Fe === "" ? Qe.execCommand($e) : t(Qe, qe, Fe)
|
|
54260
54263
|
});
|
|
54261
|
-
}, Nt = (
|
|
54262
|
-
Fe.length > 1 ? B(
|
|
54263
|
-
}, os = (
|
|
54264
|
-
Nt(
|
|
54264
|
+
}, Nt = (Qe, _e, ht, $e, qe, Fe) => {
|
|
54265
|
+
Fe.length > 1 ? B(Qe, _e, ht, $e, qe, Fe) : tn(Qe, _e, ht, $e, qe, xt(Fe[0]));
|
|
54266
|
+
}, os = (Qe) => {
|
|
54267
|
+
Nt(Qe, "numlist", "Numbered list", "InsertOrderedList", "OL", f(Qe)), Nt(Qe, "bullist", "Bullet list", "InsertUnorderedList", "UL", h(Qe));
|
|
54265
54268
|
};
|
|
54266
54269
|
var Et = () => {
|
|
54267
|
-
r.add("advlist", (
|
|
54268
|
-
|
|
54270
|
+
r.add("advlist", (Qe) => {
|
|
54271
|
+
Qe.hasPlugin("lists") ? (c(Qe), os(Qe), s(Qe)) : console.error("Please use the Lists plugin together with the List Styles plugin.");
|
|
54269
54272
|
});
|
|
54270
54273
|
};
|
|
54271
54274
|
Et();
|
|
@@ -54285,17 +54288,17 @@ function O1e() {
|
|
|
54285
54288
|
};
|
|
54286
54289
|
};
|
|
54287
54290
|
var t = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
|
54288
|
-
const s = (Be, Ge,
|
|
54291
|
+
const s = (Be, Ge, Vt) => {
|
|
54289
54292
|
var Yt;
|
|
54290
|
-
return
|
|
54293
|
+
return Vt(Be, Ge.prototype) ? !0 : ((Yt = Be.constructor) === null || Yt === void 0 ? void 0 : Yt.name) === Ge.name;
|
|
54291
54294
|
}, l = (Be) => {
|
|
54292
54295
|
const Ge = typeof Be;
|
|
54293
|
-
return Be === null ? "null" : Ge === "object" && Array.isArray(Be) ? "array" : Ge === "object" && s(Be, String, (
|
|
54296
|
+
return Be === null ? "null" : Ge === "object" && Array.isArray(Be) ? "array" : Ge === "object" && s(Be, String, (Vt, Yt) => Yt.isPrototypeOf(Vt)) ? "string" : Ge;
|
|
54294
54297
|
}, c = (Be) => (Ge) => l(Ge) === Be, f = (Be) => (Ge) => typeof Ge === Be, h = c("string"), b = c("array"), x = f("boolean"), C = (Be) => Be == null, T = (Be) => !C(Be), R = f("number"), M = () => {
|
|
54295
54298
|
}, H = (Be) => () => Be, q = H(!0), ee = H("[~№|!-*+-\\/:;?@\\[-`{}¡«·»¿;·՚-՟։֊־׀׃׆׳״؉؊،؍؛؞؟٪-٭۔܀-܍߷-߹࠰-࠾࡞।॥॰෴๏๚๛༄-༒༺-༽྅࿐-࿔࿙࿚၊-၏჻፡-፨᐀᙭᙮᚛᚜᛫-᛭᜵᜶។-៖៘-៚᠀-᠊᥄᥅᨞᨟᪠-᪦᪨-᪭᭚-᭠᯼-᯿᰻-᰿᱾᱿᳓‐-‧‰-⁃⁅-⁑⁓-⁞⁽⁾₍₎〈〉❨-❵⟅⟆⟦-⟯⦃-⦘⧘-⧛⧼⧽⳹-⳼⳾⳿⵰⸀-⸮⸰⸱、-〃〈-】〔-〟〰〽゠・꓾꓿꘍-꘏꙳꙾꛲-꛷꡴-꡷꣎꣏꣸-꣺꤮꤯꥟꧁-꧍꧞꧟꩜-꩟꫞꫟꯫﴾﴿︐-︙︰-﹒﹔-﹡﹣﹨﹪﹫!-#%-*,-/:;?@[-]_{}⦅-・]");
|
|
54296
54299
|
class ve {
|
|
54297
|
-
constructor(Ge,
|
|
54298
|
-
this.tag = Ge, this.value =
|
|
54300
|
+
constructor(Ge, Vt) {
|
|
54301
|
+
this.tag = Ge, this.value = Vt;
|
|
54299
54302
|
}
|
|
54300
54303
|
static some(Ge) {
|
|
54301
54304
|
return new ve(!0, Ge);
|
|
@@ -54303,8 +54306,8 @@ function O1e() {
|
|
|
54303
54306
|
static none() {
|
|
54304
54307
|
return ve.singletonNone;
|
|
54305
54308
|
}
|
|
54306
|
-
fold(Ge,
|
|
54307
|
-
return this.tag ?
|
|
54309
|
+
fold(Ge, Vt) {
|
|
54310
|
+
return this.tag ? Vt(this.value) : Ge();
|
|
54308
54311
|
}
|
|
54309
54312
|
isSome() {
|
|
54310
54313
|
return this.tag;
|
|
@@ -54367,57 +54370,57 @@ function O1e() {
|
|
|
54367
54370
|
const ke = ee;
|
|
54368
54371
|
var ne = tinymce.util.Tools.resolve("tinymce.Env"), fe = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
|
54369
54372
|
const Ot = Array.prototype.slice, Ye = Array.prototype.push, X = (Be, Ge) => {
|
|
54370
|
-
const
|
|
54371
|
-
for (let _n = 0; _n <
|
|
54373
|
+
const Vt = Be.length, Yt = new Array(Vt);
|
|
54374
|
+
for (let _n = 0; _n < Vt; _n++) {
|
|
54372
54375
|
const Jn = Be[_n];
|
|
54373
54376
|
Yt[_n] = Ge(Jn, _n);
|
|
54374
54377
|
}
|
|
54375
54378
|
return Yt;
|
|
54376
54379
|
}, ot = (Be, Ge) => {
|
|
54377
|
-
for (let
|
|
54378
|
-
const _n = Be[
|
|
54379
|
-
Ge(_n,
|
|
54380
|
+
for (let Vt = 0, Yt = Be.length; Vt < Yt; Vt++) {
|
|
54381
|
+
const _n = Be[Vt];
|
|
54382
|
+
Ge(_n, Vt);
|
|
54380
54383
|
}
|
|
54381
54384
|
}, at = (Be, Ge) => {
|
|
54382
|
-
for (let
|
|
54383
|
-
const Yt = Be[
|
|
54384
|
-
Ge(Yt,
|
|
54385
|
+
for (let Vt = Be.length - 1; Vt >= 0; Vt--) {
|
|
54386
|
+
const Yt = Be[Vt];
|
|
54387
|
+
Ge(Yt, Vt);
|
|
54385
54388
|
}
|
|
54386
54389
|
}, wt = (Be, Ge) => {
|
|
54387
54390
|
if (Be.length === 0)
|
|
54388
54391
|
return [];
|
|
54389
54392
|
{
|
|
54390
|
-
let
|
|
54393
|
+
let Vt = Ge(Be[0]);
|
|
54391
54394
|
const Yt = [];
|
|
54392
54395
|
let _n = [];
|
|
54393
54396
|
for (let Jn = 0, ss = Be.length; Jn < ss; Jn++) {
|
|
54394
54397
|
const Ln = Be[Jn], ps = Ge(Ln);
|
|
54395
|
-
ps !==
|
|
54398
|
+
ps !== Vt && (Yt.push(_n), _n = []), Vt = ps, _n.push(Ln);
|
|
54396
54399
|
}
|
|
54397
54400
|
return _n.length !== 0 && Yt.push(_n), Yt;
|
|
54398
54401
|
}
|
|
54399
|
-
}, Me = (Be, Ge,
|
|
54400
|
-
|
|
54401
|
-
}),
|
|
54402
|
+
}, Me = (Be, Ge, Vt) => (ot(Be, (Yt, _n) => {
|
|
54403
|
+
Vt = Ge(Vt, Yt, _n);
|
|
54404
|
+
}), Vt), ue = (Be) => {
|
|
54402
54405
|
const Ge = [];
|
|
54403
|
-
for (let
|
|
54404
|
-
if (!b(Be[
|
|
54405
|
-
throw new Error("Arr.flatten item " +
|
|
54406
|
-
Ye.apply(Ge, Be[
|
|
54406
|
+
for (let Vt = 0, Yt = Be.length; Vt < Yt; ++Vt) {
|
|
54407
|
+
if (!b(Be[Vt]))
|
|
54408
|
+
throw new Error("Arr.flatten item " + Vt + " was not an array, input: " + Be);
|
|
54409
|
+
Ye.apply(Ge, Be[Vt]);
|
|
54407
54410
|
}
|
|
54408
54411
|
return Ge;
|
|
54409
54412
|
}, Jt = (Be, Ge) => ue(X(Be, Ge)), xt = (Be, Ge) => {
|
|
54410
|
-
const
|
|
54411
|
-
return
|
|
54413
|
+
const Vt = Ot.call(Be, 0);
|
|
54414
|
+
return Vt.sort(Ge), Vt;
|
|
54412
54415
|
}, St = Object.hasOwnProperty, B = (Be, Ge) => St.call(Be, Ge);
|
|
54413
54416
|
typeof window < "u" || Function("return this;")();
|
|
54414
|
-
const tn = 9, Nt = 11, os = 1, Et = 3,
|
|
54415
|
-
if (h(
|
|
54416
|
-
Be.setAttribute(Ge,
|
|
54417
|
+
const tn = 9, Nt = 11, os = 1, Et = 3, Qe = (Be) => Be.dom.nodeType, ht = ((Be) => (Ge) => Qe(Ge) === Be)(Et), $e = (Be, Ge, Vt) => {
|
|
54418
|
+
if (h(Vt) || x(Vt) || R(Vt))
|
|
54419
|
+
Be.setAttribute(Ge, Vt + "");
|
|
54417
54420
|
else
|
|
54418
|
-
throw console.error("Invalid call to Attribute.set. Key ", Ge, ":: Value ",
|
|
54419
|
-
}, qe = (Be, Ge,
|
|
54420
|
-
$e(Be.dom, Ge,
|
|
54421
|
+
throw console.error("Invalid call to Attribute.set. Key ", Ge, ":: Value ", Vt, ":: Element ", Be), new Error("Attribute value was not simple");
|
|
54422
|
+
}, qe = (Be, Ge, Vt) => {
|
|
54423
|
+
$e(Be.dom, Ge, Vt);
|
|
54421
54424
|
}, Fe = (Be, Ge) => {
|
|
54422
54425
|
const Yt = (Ge || document).createElement("div");
|
|
54423
54426
|
if (Yt.innerHTML = Be, !Yt.hasChildNodes() || Yt.childNodes.length > 1) {
|
|
@@ -54440,16 +54443,16 @@ function O1e() {
|
|
|
54440
54443
|
fromTag: bt,
|
|
54441
54444
|
fromText: te,
|
|
54442
54445
|
fromDom: Pn,
|
|
54443
|
-
fromPoint: (Be, Ge,
|
|
54446
|
+
fromPoint: (Be, Ge, Vt) => ve.from(Be.dom.elementFromPoint(Ge, Vt)).map(Pn)
|
|
54444
54447
|
}, cs = (Be) => Be.nodeType !== os && Be.nodeType !== tn && Be.nodeType !== Nt || Be.childElementCount === 0, rr = (Be, Ge) => {
|
|
54445
|
-
const
|
|
54446
|
-
return cs(
|
|
54448
|
+
const Vt = Ge === void 0 ? document : Ge.dom;
|
|
54449
|
+
return cs(Vt) ? [] : X(Vt.querySelectorAll(Be), ns.fromDom);
|
|
54447
54450
|
}, ze = (Be) => ve.from(Be.dom.parentNode).map(ns.fromDom), lt = (Be) => X(Be.dom.childNodes, ns.fromDom), gt = (Be, Ge) => ({
|
|
54448
54451
|
element: Be,
|
|
54449
54452
|
offset: Ge
|
|
54450
54453
|
}), Se = (Be, Ge) => {
|
|
54451
|
-
const
|
|
54452
|
-
return
|
|
54454
|
+
const Vt = lt(Be);
|
|
54455
|
+
return Vt.length > 0 && Ge < Vt.length ? gt(Vt[Ge], 0) : gt(Be, Ge);
|
|
54453
54456
|
}, Zn = (Be, Ge) => {
|
|
54454
54457
|
ze(Be).each((Yt) => {
|
|
54455
54458
|
Yt.dom.insertBefore(Ge.dom, Be.dom);
|
|
@@ -54459,13 +54462,13 @@ function O1e() {
|
|
|
54459
54462
|
}, Cn = (Be, Ge) => {
|
|
54460
54463
|
Zn(Be, Ge), $s(Ge, Be);
|
|
54461
54464
|
}, Fs = ((Be, Ge) => {
|
|
54462
|
-
const
|
|
54465
|
+
const Vt = (Jn) => {
|
|
54463
54466
|
if (!Be(Jn))
|
|
54464
54467
|
throw new Error("Can only get " + Ge + " value of a " + Ge + " node");
|
|
54465
54468
|
return Yt(Jn).getOr("");
|
|
54466
54469
|
}, Yt = (Jn) => Be(Jn) ? ve.from(Jn.dom.nodeValue) : ve.none();
|
|
54467
54470
|
return {
|
|
54468
|
-
get:
|
|
54471
|
+
get: Vt,
|
|
54469
54472
|
getOption: Yt,
|
|
54470
54473
|
set: (Jn, ss) => {
|
|
54471
54474
|
if (!Be(Jn))
|
|
@@ -54473,14 +54476,14 @@ function O1e() {
|
|
|
54473
54476
|
Jn.dom.nodeValue = ss;
|
|
54474
54477
|
}
|
|
54475
54478
|
};
|
|
54476
|
-
})(ht, "text"), ir = (Be) => Fs.get(Be), qs = (Be, Ge,
|
|
54479
|
+
})(ht, "text"), ir = (Be) => Fs.get(Be), qs = (Be, Ge, Vt) => (Be.compareDocumentPosition(Ge) & Vt) !== 0, Lo = (Be, Ge) => qs(Be, Ge, Node.DOCUMENT_POSITION_PRECEDING), ci = (Be, Ge) => rr(Ge, Be);
|
|
54477
54480
|
var ur = tinymce.util.Tools.resolve("tinymce.dom.TreeWalker");
|
|
54478
54481
|
const Ys = (Be, Ge) => Be.isBlock(Ge) || B(Be.schema.getVoidElements(), Ge.nodeName), lo = (Be, Ge) => !Be.isEditable(Ge), Cr = (Be, Ge) => Be.getContentEditable(Ge) === "true" && Ge.parentNode && !Be.isEditable(Ge.parentNode), Ho = (Be, Ge) => !Be.isBlock(Ge) && B(Be.schema.getWhitespaceElements(), Ge.nodeName), Zt = (Be, Ge) => Ys(Be, Ge) || lo(Be, Ge) || Ho(Be, Ge) || Cr(Be, Ge), Rn = (Be) => Be.nodeType === 3, En = () => ({
|
|
54479
54482
|
sOffset: 0,
|
|
54480
54483
|
fOffset: 0,
|
|
54481
54484
|
elements: []
|
|
54482
|
-
}), In = (Be, Ge) => Se(ns.fromDom(Be), Ge), Ks = (Be, Ge,
|
|
54483
|
-
let ss = Jn ? Ge(!1) :
|
|
54485
|
+
}), In = (Be, Ge) => Se(ns.fromDom(Be), Ge), Ks = (Be, Ge, Vt, Yt, _n, Jn = !0) => {
|
|
54486
|
+
let ss = Jn ? Ge(!1) : Vt;
|
|
54484
54487
|
for (; ss; ) {
|
|
54485
54488
|
const Ln = lo(Be, ss);
|
|
54486
54489
|
if (Ln || Ho(Be, ss)) {
|
|
@@ -54496,24 +54499,24 @@ function O1e() {
|
|
|
54496
54499
|
break;
|
|
54497
54500
|
ss = Ge(!1);
|
|
54498
54501
|
}
|
|
54499
|
-
}, qo = (Be, Ge,
|
|
54502
|
+
}, qo = (Be, Ge, Vt, Yt, _n) => {
|
|
54500
54503
|
var Jn;
|
|
54501
|
-
if (Zt(Be,
|
|
54504
|
+
if (Zt(Be, Vt))
|
|
54502
54505
|
return;
|
|
54503
|
-
const ss = (Jn = Be.getParent(Yt, Be.isBlock)) !== null && Jn !== void 0 ? Jn : Be.getRoot(), Ln = new ur(
|
|
54504
|
-
Ks(Be, ps,
|
|
54506
|
+
const ss = (Jn = Be.getParent(Yt, Be.isBlock)) !== null && Jn !== void 0 ? Jn : Be.getRoot(), Ln = new ur(Vt, ss), ps = _n ? Ln.next.bind(Ln) : Ln.prev.bind(Ln);
|
|
54507
|
+
Ks(Be, ps, Vt, {
|
|
54505
54508
|
boundary: q,
|
|
54506
54509
|
cef: q,
|
|
54507
54510
|
text: (bs) => {
|
|
54508
54511
|
_n ? Ge.fOffset += bs.length : Ge.sOffset += bs.length, Ge.elements.push(ns.fromDom(bs));
|
|
54509
54512
|
}
|
|
54510
54513
|
});
|
|
54511
|
-
}, kr = (Be, Ge,
|
|
54512
|
-
const ss = new ur(
|
|
54514
|
+
}, kr = (Be, Ge, Vt, Yt, _n, Jn = !0) => {
|
|
54515
|
+
const ss = new ur(Vt, Ge), Ln = [];
|
|
54513
54516
|
let ps = En();
|
|
54514
|
-
qo(Be, ps,
|
|
54517
|
+
qo(Be, ps, Vt, Ge, !1);
|
|
54515
54518
|
const bs = () => (ps.elements.length > 0 && (Ln.push(ps), ps = En()), !1);
|
|
54516
|
-
return Ks(Be, ss.next.bind(ss),
|
|
54519
|
+
return Ks(Be, ss.next.bind(ss), Vt, {
|
|
54517
54520
|
boundary: bs,
|
|
54518
54521
|
cef: (Oo) => (bs(), _n && Ln.push(..._n.cef(Oo)), !1),
|
|
54519
54522
|
text: (Oo) => {
|
|
@@ -54521,10 +54524,10 @@ function O1e() {
|
|
|
54521
54524
|
}
|
|
54522
54525
|
}, Yt, Jn), Yt && qo(Be, ps, Yt, Ge, !0), bs(), Ln;
|
|
54523
54526
|
}, Qs = (Be, Ge) => {
|
|
54524
|
-
const
|
|
54527
|
+
const Vt = In(Ge.startContainer, Ge.startOffset), Yt = Vt.element.dom, _n = In(Ge.endContainer, Ge.endOffset), Jn = _n.element.dom;
|
|
54525
54528
|
return kr(Be, Ge.commonAncestorContainer, Yt, Jn, {
|
|
54526
54529
|
text: (ss, Ln) => {
|
|
54527
|
-
ss === Jn ? Ln.fOffset += ss.length - _n.offset : ss === Yt && (Ln.sOffset +=
|
|
54530
|
+
ss === Jn ? Ln.fOffset += ss.length - _n.offset : ss === Yt && (Ln.sOffset += Vt.offset);
|
|
54528
54531
|
},
|
|
54529
54532
|
cef: (ss) => {
|
|
54530
54533
|
const Ln = Jt(ci(ns.fromDom(ss), "*[contenteditable=true]"), (ps) => {
|
|
@@ -54535,11 +54538,11 @@ function O1e() {
|
|
|
54535
54538
|
}
|
|
54536
54539
|
}, !1);
|
|
54537
54540
|
}, Fr = (Be, Ge) => Ge.collapsed ? [] : Qs(Be, Ge), gn = (Be, Ge) => {
|
|
54538
|
-
const
|
|
54539
|
-
return
|
|
54540
|
-
}, Js = (Be, Ge) => Jt(Ge, (
|
|
54541
|
+
const Vt = Be.createRng();
|
|
54542
|
+
return Vt.selectNode(Ge), Fr(Be, Vt);
|
|
54543
|
+
}, Js = (Be, Ge) => Jt(Ge, (Vt) => gn(Be, Vt)), gr = (Be, Ge, Vt = 0, Yt = Be.length) => {
|
|
54541
54544
|
const _n = Ge.regex;
|
|
54542
|
-
_n.lastIndex =
|
|
54545
|
+
_n.lastIndex = Vt;
|
|
54543
54546
|
const Jn = [];
|
|
54544
54547
|
let ss;
|
|
54545
54548
|
for (; ss = _n.exec(Be); ) {
|
|
@@ -54553,7 +54556,7 @@ function O1e() {
|
|
|
54553
54556
|
}
|
|
54554
54557
|
return Jn;
|
|
54555
54558
|
}, Br = (Be, Ge) => {
|
|
54556
|
-
const
|
|
54559
|
+
const Vt = Me(Be, (Yt, _n) => {
|
|
54557
54560
|
const Jn = ir(_n), ss = Yt.last, Ln = ss + Jn.length, ps = Jt(Ge, (bs, Oo) => bs.start < Ln && bs.finish > ss ? [{
|
|
54558
54561
|
element: _n,
|
|
54559
54562
|
start: Math.max(ss, bs.start) - ss,
|
|
@@ -54568,13 +54571,13 @@ function O1e() {
|
|
|
54568
54571
|
results: [],
|
|
54569
54572
|
last: 0
|
|
54570
54573
|
}).results;
|
|
54571
|
-
return wt(
|
|
54572
|
-
}, wi = (Be, Ge) => Jt(Ge, (
|
|
54573
|
-
const Yt =
|
|
54574
|
+
return wt(Vt, (Yt) => Yt.matchId);
|
|
54575
|
+
}, wi = (Be, Ge) => Jt(Ge, (Vt) => {
|
|
54576
|
+
const Yt = Vt.elements, _n = X(Yt, ir).join(""), Jn = gr(_n, Be, Vt.sOffset, _n.length - Vt.fOffset);
|
|
54574
54577
|
return Br(Yt, Jn);
|
|
54575
54578
|
}), Li = (Be, Ge) => {
|
|
54576
|
-
at(Be, (
|
|
54577
|
-
at(
|
|
54579
|
+
at(Be, (Vt, Yt) => {
|
|
54580
|
+
at(Vt, (_n) => {
|
|
54578
54581
|
const Jn = ns.fromDom(Ge.cloneNode(!1));
|
|
54579
54582
|
qe(Jn, "data-mce-index", Yt);
|
|
54580
54583
|
const ss = _n.element.dom;
|
|
@@ -54587,44 +54590,44 @@ function O1e() {
|
|
|
54587
54590
|
}
|
|
54588
54591
|
});
|
|
54589
54592
|
});
|
|
54590
|
-
}, Uo = (Be, Ge,
|
|
54591
|
-
const _n = gn(Be,
|
|
54593
|
+
}, Uo = (Be, Ge, Vt, Yt) => {
|
|
54594
|
+
const _n = gn(Be, Vt), Jn = wi(Ge, _n);
|
|
54592
54595
|
return Li(Jn, Yt), Jn.length;
|
|
54593
|
-
}, ui = (Be, Ge,
|
|
54594
|
-
const _n =
|
|
54595
|
-
return Li(Ln, Yt),
|
|
54596
|
-
}, Si = (Be) => Be.getAttribute("data-mce-index"), zo = (Be, Ge,
|
|
54596
|
+
}, ui = (Be, Ge, Vt, Yt) => {
|
|
54597
|
+
const _n = Vt.getBookmark(), Jn = Be.select("td[data-mce-selected],th[data-mce-selected]"), ss = Jn.length > 0 ? Js(Be, Jn) : Fr(Be, Vt.getRng()), Ln = wi(Ge, ss);
|
|
54598
|
+
return Li(Ln, Yt), Vt.moveToBookmark(_n), Ln.length;
|
|
54599
|
+
}, Si = (Be) => Be.getAttribute("data-mce-index"), zo = (Be, Ge, Vt, Yt) => {
|
|
54597
54600
|
const _n = Be.dom.create("span", { "data-mce-bogus": 1 });
|
|
54598
54601
|
_n.className = "mce-match-marker";
|
|
54599
54602
|
const Jn = Be.getBody();
|
|
54600
|
-
return et(Be, Ge, !1), Yt ? ui(Be.dom,
|
|
54603
|
+
return et(Be, Ge, !1), Yt ? ui(Be.dom, Vt, Be.selection, _n) : Uo(Be.dom, Vt, Jn, _n);
|
|
54601
54604
|
}, us = (Be) => {
|
|
54602
54605
|
var Ge;
|
|
54603
|
-
const
|
|
54604
|
-
Be.firstChild &&
|
|
54606
|
+
const Vt = Be.parentNode;
|
|
54607
|
+
Be.firstChild && Vt.insertBefore(Be.firstChild, Be), (Ge = Be.parentNode) === null || Ge === void 0 || Ge.removeChild(Be);
|
|
54605
54608
|
}, ar = (Be, Ge) => {
|
|
54606
|
-
const
|
|
54609
|
+
const Vt = [], Yt = fe.toArray(Be.getBody().getElementsByTagName("span"));
|
|
54607
54610
|
if (Yt.length)
|
|
54608
54611
|
for (let _n = 0; _n < Yt.length; _n++) {
|
|
54609
54612
|
const Jn = Si(Yt[_n]);
|
|
54610
|
-
Jn === null || !Jn.length || Jn === Ge.toString() &&
|
|
54613
|
+
Jn === null || !Jn.length || Jn === Ge.toString() && Vt.push(Yt[_n]);
|
|
54611
54614
|
}
|
|
54612
|
-
return
|
|
54613
|
-
}, di = (Be, Ge,
|
|
54615
|
+
return Vt;
|
|
54616
|
+
}, di = (Be, Ge, Vt) => {
|
|
54614
54617
|
const Yt = Ge.get();
|
|
54615
54618
|
let _n = Yt.index;
|
|
54616
54619
|
const Jn = Be.dom;
|
|
54617
|
-
|
|
54620
|
+
Vt ? _n + 1 === Yt.count ? _n = 0 : _n++ : _n - 1 === -1 ? _n = Yt.count - 1 : _n--, Jn.removeClass(ar(Be, Yt.index), "mce-match-marker-selected");
|
|
54618
54621
|
const ss = ar(Be, _n);
|
|
54619
54622
|
return ss.length ? (Jn.addClass(ar(Be, _n), "mce-match-marker-selected"), Be.selection.scrollIntoView(ss[0]), _n) : -1;
|
|
54620
54623
|
}, Da = (Be, Ge) => {
|
|
54621
|
-
const
|
|
54622
|
-
Be.remove(Ge),
|
|
54624
|
+
const Vt = Ge.parentNode;
|
|
54625
|
+
Be.remove(Ge), Vt && Be.isEmpty(Vt) && Be.remove(Vt);
|
|
54623
54626
|
}, vl = (Be, Ge) => {
|
|
54624
54627
|
const Yt = "(" + Be.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&").replace(/\s/g, "[^\\S\\r\\n\\uFEFF]") + ")";
|
|
54625
54628
|
return Ge ? `(?:^|\\s|${ke()})` + Yt + `(?=$|\\s|${ke()})` : Yt;
|
|
54626
|
-
}, xe = (Be, Ge,
|
|
54627
|
-
const ss = Be.selection, Ln = vl(
|
|
54629
|
+
}, xe = (Be, Ge, Vt, Yt, _n, Jn) => {
|
|
54630
|
+
const ss = Be.selection, Ln = vl(Vt, _n), ps = ss.isForward(), bs = {
|
|
54628
54631
|
regex: new RegExp(Ln, Yt ? "g" : "gi"),
|
|
54629
54632
|
matchIndex: 1
|
|
54630
54633
|
}, Oo = zo(Be, Ge, bs, Jn);
|
|
@@ -54633,7 +54636,7 @@ function O1e() {
|
|
|
54633
54636
|
Ge.set({
|
|
54634
54637
|
index: pr,
|
|
54635
54638
|
count: Oo,
|
|
54636
|
-
text:
|
|
54639
|
+
text: Vt,
|
|
54637
54640
|
matchCase: Yt,
|
|
54638
54641
|
wholeWord: _n,
|
|
54639
54642
|
inSelection: Jn
|
|
@@ -54641,21 +54644,21 @@ function O1e() {
|
|
|
54641
54644
|
}
|
|
54642
54645
|
return Oo;
|
|
54643
54646
|
}, We = (Be, Ge) => {
|
|
54644
|
-
const
|
|
54647
|
+
const Vt = di(Be, Ge, !0);
|
|
54645
54648
|
Ge.set({
|
|
54646
54649
|
...Ge.get(),
|
|
54647
|
-
index:
|
|
54650
|
+
index: Vt
|
|
54648
54651
|
});
|
|
54649
54652
|
}, Ne = (Be, Ge) => {
|
|
54650
|
-
const
|
|
54653
|
+
const Vt = di(Be, Ge, !1);
|
|
54651
54654
|
Ge.set({
|
|
54652
54655
|
...Ge.get(),
|
|
54653
|
-
index:
|
|
54656
|
+
index: Vt
|
|
54654
54657
|
});
|
|
54655
54658
|
}, Ze = (Be) => {
|
|
54656
54659
|
const Ge = Si(Be);
|
|
54657
54660
|
return Ge !== null && Ge.length > 0;
|
|
54658
|
-
}, tt = (Be, Ge,
|
|
54661
|
+
}, tt = (Be, Ge, Vt, Yt, _n) => {
|
|
54659
54662
|
const Jn = Ge.get(), ss = Jn.index;
|
|
54660
54663
|
let Ln, ps = ss;
|
|
54661
54664
|
Yt = Yt !== !1;
|
|
@@ -54664,7 +54667,7 @@ function O1e() {
|
|
|
54664
54667
|
const Wo = Si(Oo[pr]);
|
|
54665
54668
|
let Ya = Ln = parseInt(Wo, 10);
|
|
54666
54669
|
if (_n || Ya === Jn.index) {
|
|
54667
|
-
for (
|
|
54670
|
+
for (Vt.length ? (Oo[pr].innerText = Vt, us(Oo[pr])) : Da(Be.dom, Oo[pr]); Oo[++pr]; )
|
|
54668
54671
|
if (Ya = parseInt(Si(Oo[pr]), 10), Ya === Ln)
|
|
54669
54672
|
Da(Be.dom, Oo[pr]);
|
|
54670
54673
|
else {
|
|
@@ -54679,7 +54682,7 @@ function O1e() {
|
|
|
54679
54682
|
count: _n ? 0 : Jn.count - 1,
|
|
54680
54683
|
index: ps
|
|
54681
54684
|
}), Yt ? We(Be, Ge) : Ne(Be, Ge), !_n && Ge.get().count > 0;
|
|
54682
|
-
}, et = (Be, Ge,
|
|
54685
|
+
}, et = (Be, Ge, Vt) => {
|
|
54683
54686
|
let Yt, _n;
|
|
54684
54687
|
const Jn = Ge.get(), ss = fe.toArray(Be.getBody().getElementsByTagName("span"));
|
|
54685
54688
|
for (let Ln = 0; Ln < ss.length; Ln++) {
|
|
@@ -54693,7 +54696,7 @@ function O1e() {
|
|
|
54693
54696
|
text: ""
|
|
54694
54697
|
}), Yt && _n) {
|
|
54695
54698
|
const Ln = Be.dom.createRng();
|
|
54696
|
-
return Ln.setStart(Yt, 0), Ln.setEnd(_n, _n.data.length),
|
|
54699
|
+
return Ln.setStart(Yt, 0), Ln.setEnd(_n, _n.data.length), Vt !== !1 && Be.selection.setRng(Ln), Ln;
|
|
54697
54700
|
} else
|
|
54698
54701
|
return;
|
|
54699
54702
|
}, ce = (Be, Ge) => Ge.get().count > 1, de = (Be, Ge) => Ge.get().count > 1, Re = (Be, Ge) => ({
|
|
@@ -54703,25 +54706,25 @@ function O1e() {
|
|
|
54703
54706
|
prev: () => Ne(Be, Ge),
|
|
54704
54707
|
replace: (Ln, ps, bs) => tt(Be, Ge, Ln, ps, bs)
|
|
54705
54708
|
}), Ie = (Be) => {
|
|
54706
|
-
const Ge = r(ve.none()),
|
|
54709
|
+
const Ge = r(ve.none()), Vt = () => Ge.get().each(Be);
|
|
54707
54710
|
return {
|
|
54708
54711
|
clear: () => {
|
|
54709
|
-
|
|
54712
|
+
Vt(), Ge.set(ve.none());
|
|
54710
54713
|
},
|
|
54711
54714
|
isSet: () => Ge.get().isSome(),
|
|
54712
54715
|
get: () => Ge.get(),
|
|
54713
54716
|
set: (Ln) => {
|
|
54714
|
-
|
|
54717
|
+
Vt(), Ge.set(ve.some(Ln));
|
|
54715
54718
|
}
|
|
54716
54719
|
};
|
|
54717
54720
|
}, yt = () => {
|
|
54718
54721
|
const Be = Ie(M);
|
|
54719
54722
|
return {
|
|
54720
54723
|
...Be,
|
|
54721
|
-
on: (
|
|
54724
|
+
on: (Vt) => Be.get().each(Vt)
|
|
54722
54725
|
};
|
|
54723
54726
|
}, Ht = (Be, Ge) => {
|
|
54724
|
-
const
|
|
54727
|
+
const Vt = yt();
|
|
54725
54728
|
Be.undoManager.add();
|
|
54726
54729
|
const Yt = fe.trim(Be.selection.getContent({ format: "text" })), _n = (Xs) => {
|
|
54727
54730
|
Xs.setEnabled("next", ce(Be, Ge)), Xs.setEnabled("prev", de(Be, Ge));
|
|
@@ -54900,7 +54903,7 @@ function O1e() {
|
|
|
54900
54903
|
Be.focus(), et(Be, Ge), Be.undoManager.add();
|
|
54901
54904
|
}
|
|
54902
54905
|
});
|
|
54903
|
-
|
|
54906
|
+
Vt.set(Be.windowManager.open(ta(!1, Wo), { inline: "toolbar" }));
|
|
54904
54907
|
}, cn = (Be, Ge) => {
|
|
54905
54908
|
Be.addCommand("SearchReplace", () => {
|
|
54906
54909
|
Ht(Be, Ge);
|
|
@@ -55147,12 +55150,12 @@ function w1e() {
|
|
|
55147
55150
|
}, os = ($e) => {
|
|
55148
55151
|
const qe = tn($e, -1);
|
|
55149
55152
|
G(qe) && Nt($e, qe);
|
|
55150
|
-
}, Et = os,
|
|
55153
|
+
}, Et = os, Qe = ($e) => {
|
|
55151
55154
|
const qe = tn($e, 0);
|
|
55152
55155
|
G(qe) && Nt($e, qe);
|
|
55153
55156
|
}, _e = ($e) => {
|
|
55154
55157
|
$e.on("keydown", (qe) => {
|
|
55155
|
-
qe.keyCode === 13 && !qe.isDefaultPrevented() &&
|
|
55158
|
+
qe.keyCode === 13 && !qe.isDefaultPrevented() && Qe($e);
|
|
55156
55159
|
}), $e.on("keyup", (qe) => {
|
|
55157
55160
|
qe.keyCode === 32 ? os($e) : (qe.keyCode === 48 && qe.shiftKey || qe.keyCode === 221) && Et($e);
|
|
55158
55161
|
});
|
|
@@ -56502,7 +56505,7 @@ function S1e() {
|
|
|
56502
56505
|
insertChar: (Se) => {
|
|
56503
56506
|
s(ze, Se);
|
|
56504
56507
|
}
|
|
56505
|
-
}),
|
|
56508
|
+
}), Qe = (ze) => {
|
|
56506
56509
|
let lt = ze;
|
|
56507
56510
|
return {
|
|
56508
56511
|
get: () => lt,
|
|
@@ -56556,7 +56559,7 @@ function S1e() {
|
|
|
56556
56559
|
}), $s = () => ({
|
|
56557
56560
|
type: "tabpanel",
|
|
56558
56561
|
tabs: Se()
|
|
56559
|
-
}), Cn = lt.length === 1 ?
|
|
56562
|
+
}), Cn = lt.length === 1 ? Qe(xt) : Qe("All"), To = (Ys, lo) => {
|
|
56560
56563
|
Ot(lt, (Cr) => Cr.name === Cn.get()).each((Cr) => {
|
|
56561
56564
|
const Ho = Fe(Cr, lo);
|
|
56562
56565
|
Ys.setData({ results: Ho });
|
|
@@ -56879,8 +56882,8 @@ const _1e = { class: "font-bold ptext-lg dark:text-white" }, T1e = ["id"], E1e =
|
|
|
56879
56882
|
c("update:modelValue", C);
|
|
56880
56883
|
}
|
|
56881
56884
|
});
|
|
56882
|
-
return t({ focus: () => f.value.focus() }), (C, T) => (
|
|
56883
|
-
r.show ? (
|
|
56885
|
+
return t({ focus: () => f.value.focus() }), (C, T) => (Le(), Xe(so, null, [
|
|
56886
|
+
r.show ? (Le(), Xe("div", {
|
|
56884
56887
|
key: 0,
|
|
56885
56888
|
class: Nn(r.field_name)
|
|
56886
56889
|
}, [
|
|
@@ -56890,8 +56893,8 @@ const _1e = { class: "font-bold ptext-lg dark:text-white" }, T1e = ["id"], E1e =
|
|
|
56890
56893
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
56891
56894
|
}, Gt(r.model_value), 9, T1e),
|
|
56892
56895
|
T[2] || (T[2] = W("hr", { class: "opacity-100! bg-gray-200 border-0 dark:bg-gray-700" }, null, -1))
|
|
56893
|
-
], 2)) :
|
|
56894
|
-
r.show ?
|
|
56896
|
+
], 2)) : Qt("", !0),
|
|
56897
|
+
r.show ? Qt("", !0) : (Le(), Xe("div", {
|
|
56895
56898
|
key: 1,
|
|
56896
56899
|
class: Nn(["mb-4", r.field_name])
|
|
56897
56900
|
}, [
|
|
@@ -67003,8 +67006,8 @@ function sye(r) {
|
|
|
67003
67006
|
let { id: Me, start: ue, end: Jt, size: xt } = b, St = T, B = C;
|
|
67004
67007
|
for (; xt < 0; )
|
|
67005
67008
|
if (b.next(), xt == -1) {
|
|
67006
|
-
let
|
|
67007
|
-
X.push(
|
|
67009
|
+
let Qe = f[Me];
|
|
67010
|
+
X.push(Qe), ot.push(ue - Ot);
|
|
67008
67011
|
return;
|
|
67009
67012
|
} else if (xt == -3) {
|
|
67010
67013
|
C = Me;
|
|
@@ -67016,16 +67019,16 @@ function sye(r) {
|
|
|
67016
67019
|
throw new RangeError(`Unrecognized record size: ${xt}`);
|
|
67017
67020
|
let tn = x[Me], Nt, os, Et = ue - Ot;
|
|
67018
67021
|
if (Jt - ue <= c && (os = ee(b.pos - Ye, at))) {
|
|
67019
|
-
let
|
|
67022
|
+
let Qe = new Uint16Array(os.size - os.skip), _e = b.pos - os.size, ht = Qe.length;
|
|
67020
67023
|
for (; b.pos > _e; )
|
|
67021
|
-
ht = ve(os.start,
|
|
67022
|
-
Nt = new k2(
|
|
67024
|
+
ht = ve(os.start, Qe, ht);
|
|
67025
|
+
Nt = new k2(Qe, Jt - os.start, l), Et = os.start - Ot;
|
|
67023
67026
|
} else {
|
|
67024
|
-
let
|
|
67027
|
+
let Qe = b.pos - xt;
|
|
67025
67028
|
b.next();
|
|
67026
67029
|
let _e = [], ht = [], $e = Me >= h ? Me : -1, qe = 0, Fe = Jt;
|
|
67027
|
-
for (; b.pos >
|
|
67028
|
-
$e >= 0 && b.id == $e && b.size >= 0 ? (b.end <= Fe - c && (q(_e, ht, ue, qe, b.end, Fe, $e, St, B), qe = _e.length, Fe = b.end), b.next()) : wt > 2500 ? M(ue,
|
|
67030
|
+
for (; b.pos > Qe; )
|
|
67031
|
+
$e >= 0 && b.id == $e && b.size >= 0 ? (b.end <= Fe - c && (q(_e, ht, ue, qe, b.end, Fe, $e, St, B), qe = _e.length, Fe = b.end), b.next()) : wt > 2500 ? M(ue, Qe, _e, ht) : R(ue, Qe, _e, ht, $e, wt + 1);
|
|
67029
67032
|
if ($e >= 0 && qe > 0 && qe < _e.length && q(_e, ht, ue, qe, ue, Fe, $e, St, B), _e.reverse(), ht.reverse(), $e > -1 && qe > 0) {
|
|
67030
67033
|
let bt = H(tn, B);
|
|
67031
67034
|
Nt = Rne(tn, _e, ht, 0, _e.length, 0, Jt - ue, bt, bt);
|
|
@@ -72675,8 +72678,8 @@ const b2e = typeof navigator == "object" && /* @__PURE__ */ /Android\b/.test(nav
|
|
|
72675
72678
|
}
|
|
72676
72679
|
), gne(() => {
|
|
72677
72680
|
f && f.destroy();
|
|
72678
|
-
}), (T, R) => (
|
|
72679
|
-
r.show ? (
|
|
72681
|
+
}), (T, R) => (Le(), Xe(so, null, [
|
|
72682
|
+
r.show ? (Le(), Xe("div", {
|
|
72680
72683
|
key: 0,
|
|
72681
72684
|
class: Nn(r.field_name)
|
|
72682
72685
|
}, [
|
|
@@ -72686,8 +72689,8 @@ const b2e = typeof navigator == "object" && /* @__PURE__ */ /Android\b/.test(nav
|
|
|
72686
72689
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
72687
72690
|
}, Gt(r.model_value), 9, P2e),
|
|
72688
72691
|
R[0] || (R[0] = W("hr", { class: "opacity-100! bg-gray-200 border-0 dark:bg-gray-700" }, null, -1))
|
|
72689
|
-
], 2)) :
|
|
72690
|
-
r.show ?
|
|
72692
|
+
], 2)) : Qt("", !0),
|
|
72693
|
+
r.show ? Qt("", !0) : (Le(), Xe("div", {
|
|
72691
72694
|
key: 1,
|
|
72692
72695
|
class: Nn(["mb-4", r.field_name])
|
|
72693
72696
|
}, [
|
|
@@ -74713,8 +74716,8 @@ const zae = /* @__PURE__ */ new Set(/* @__PURE__ */ "area base br col command em
|
|
|
74713
74716
|
}
|
|
74714
74717
|
), gne(() => {
|
|
74715
74718
|
h && h.destroy();
|
|
74716
|
-
}), (M, H) => (
|
|
74717
|
-
r.show ? (
|
|
74719
|
+
}), (M, H) => (Le(), Xe(so, null, [
|
|
74720
|
+
r.show ? (Le(), Xe("div", {
|
|
74718
74721
|
key: 0,
|
|
74719
74722
|
class: Nn(r.field_name)
|
|
74720
74723
|
}, [
|
|
@@ -74735,8 +74738,8 @@ const zae = /* @__PURE__ */ new Set(/* @__PURE__ */ "area base br col command em
|
|
|
74735
74738
|
[lh, M.inputTranslateValue]
|
|
74736
74739
|
]),
|
|
74737
74740
|
H[1] || (H[1] = W("hr", { class: "opacity-100! bg-gray-200 border-0 dark:bg-gray-700" }, null, -1))
|
|
74738
|
-
], 2)) :
|
|
74739
|
-
r.show ?
|
|
74741
|
+
], 2)) : Qt("", !0),
|
|
74742
|
+
r.show ? Qt("", !0) : (Le(), Xe("div", {
|
|
74740
74743
|
key: 1,
|
|
74741
74744
|
class: Nn(["mb-4", r.field_name])
|
|
74742
74745
|
}, [
|
|
@@ -74889,8 +74892,8 @@ const zae = /* @__PURE__ */ new Set(/* @__PURE__ */ "area base br col command em
|
|
|
74889
74892
|
c("update:modelValue", R);
|
|
74890
74893
|
}
|
|
74891
74894
|
});
|
|
74892
|
-
return t({ focus: () => f.value.focus() }), (R, M) => (
|
|
74893
|
-
r.show ? (
|
|
74895
|
+
return t({ focus: () => f.value.focus() }), (R, M) => (Le(), Xe(so, null, [
|
|
74896
|
+
r.show ? (Le(), Xe("div", {
|
|
74894
74897
|
key: 0,
|
|
74895
74898
|
class: Nn(r.field_name)
|
|
74896
74899
|
}, [
|
|
@@ -74911,8 +74914,8 @@ const zae = /* @__PURE__ */ new Set(/* @__PURE__ */ "area base br col command em
|
|
|
74911
74914
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
74912
74915
|
}, Gt(r.model_value), 9, dSe),
|
|
74913
74916
|
M[3] || (M[3] = W("hr", { class: "opacity-100! bg-gray-200 border-0 dark:bg-gray-700" }, null, -1))
|
|
74914
|
-
], 2)) :
|
|
74915
|
-
r.show ?
|
|
74917
|
+
], 2)) : Qt("", !0),
|
|
74918
|
+
r.show ? Qt("", !0) : (Le(), Xe("div", {
|
|
74916
74919
|
key: 1,
|
|
74917
74920
|
class: Nn(["mb-4", r.field_name])
|
|
74918
74921
|
}, [
|
|
@@ -75121,17 +75124,17 @@ const zae = /* @__PURE__ */ new Set(/* @__PURE__ */ "area base br col command em
|
|
|
75121
75124
|
}, OSe = { class: "font-semibold text-gray-900 dark:text-white" }, xSe = { class: "font-semibold text-gray-900 dark:text-white" }, wSe = { class: "font-semibold text-gray-900 dark:text-white" }, SSe = ["tabindex"], CSe = ["aria-current"], kSe = ["tabindex"];
|
|
75122
75125
|
function _Se(r, t, s, l, c, f) {
|
|
75123
75126
|
const h = Rd("RenderlessPagination");
|
|
75124
|
-
return
|
|
75127
|
+
return Le(), Jc(h, {
|
|
75125
75128
|
data: s.data,
|
|
75126
75129
|
limit: s.limit,
|
|
75127
75130
|
onPaginationChangePage: f.onPaginationChangePage
|
|
75128
75131
|
}, {
|
|
75129
75132
|
default: od((b) => [
|
|
75130
|
-
b.computed.total > b.computed.perPage ? (
|
|
75133
|
+
b.computed.total > b.computed.perPage ? (Le(), Xe("div", {
|
|
75131
75134
|
key: 0,
|
|
75132
75135
|
class: Nn(["flex flex-col items-center w-full", s.classes])
|
|
75133
75136
|
}, [
|
|
75134
|
-
b.computed.total > b.computed.perPage ? (
|
|
75137
|
+
b.computed.total > b.computed.perPage ? (Le(), Xe("span", ySe, [
|
|
75135
75138
|
to(Gt(s.translation.showing) + " ", 1),
|
|
75136
75139
|
W("span", OSe, Gt(b.computed.from), 1),
|
|
75137
75140
|
to(" " + Gt(s.translation.to) + " ", 1),
|
|
@@ -75139,8 +75142,8 @@ function _Se(r, t, s, l, c, f) {
|
|
|
75139
75142
|
to(" " + Gt(s.translation.of) + " ", 1),
|
|
75140
75143
|
W("span", wSe, Gt(b.computed.total), 1),
|
|
75141
75144
|
to(" " + Gt(s.translation.entries), 1)
|
|
75142
|
-
])) :
|
|
75143
|
-
b.computed.total > b.computed.perPage ? (
|
|
75145
|
+
])) : Qt("", !0),
|
|
75146
|
+
b.computed.total > b.computed.perPage ? (Le(), Xe("ul", M6({ key: 1 }, r.$attrs, {
|
|
75144
75147
|
class: ["flex flex-wrap items-center h-8 -space-x-px text-sm", {
|
|
75145
75148
|
"pagination-sm": s.size == "small",
|
|
75146
75149
|
"pagination-lg": s.size == "large",
|
|
@@ -75148,7 +75151,7 @@ function _Se(r, t, s, l, c, f) {
|
|
|
75148
75151
|
"justify-content-end": s.align == "right"
|
|
75149
75152
|
}]
|
|
75150
75153
|
}), [
|
|
75151
|
-
b.computed.prevPageUrl || s.showDisabled ? (
|
|
75154
|
+
b.computed.prevPageUrl || s.showDisabled ? (Le(), Xe("li", {
|
|
75152
75155
|
key: 0,
|
|
75153
75156
|
class: Nn(["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", { disabled: !b.computed.prevPageUrl }])
|
|
75154
75157
|
}, [
|
|
@@ -75177,8 +75180,8 @@ function _Se(r, t, s, l, c, f) {
|
|
|
75177
75180
|
], -1))
|
|
75178
75181
|
])
|
|
75179
75182
|
], 16, SSe)
|
|
75180
|
-
], 2)) :
|
|
75181
|
-
(
|
|
75183
|
+
], 2)) : Qt("", !0),
|
|
75184
|
+
(Le(!0), Xe(so, null, jr(b.computed.pageRange, (x, C) => (Le(), Xe("li", {
|
|
75182
75185
|
class: Nn(["", { active: x == b.computed.currentPage }]),
|
|
75183
75186
|
key: C
|
|
75184
75187
|
}, [
|
|
@@ -75190,7 +75193,7 @@ function _Se(r, t, s, l, c, f) {
|
|
|
75190
75193
|
class: x == b.computed.currentPage ? "z-10 flex items-center justify-center px-3 h-8 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white" : "flex items-center justify-center px-3 h-8 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
75191
75194
|
}), Gt(x), 17, CSe)
|
|
75192
75195
|
], 2))), 128)),
|
|
75193
|
-
b.computed.nextPageUrl || s.showDisabled ? (
|
|
75196
|
+
b.computed.nextPageUrl || s.showDisabled ? (Le(), Xe("li", {
|
|
75194
75197
|
key: 1,
|
|
75195
75198
|
class: Nn(["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", { disabled: !b.computed.nextPageUrl }])
|
|
75196
75199
|
}, [
|
|
@@ -75219,9 +75222,9 @@ function _Se(r, t, s, l, c, f) {
|
|
|
75219
75222
|
], -1))
|
|
75220
75223
|
])
|
|
75221
75224
|
], 16, kSe)
|
|
75222
|
-
], 2)) :
|
|
75223
|
-
], 16)) :
|
|
75224
|
-
], 2)) :
|
|
75225
|
+
], 2)) : Qt("", !0)
|
|
75226
|
+
], 16)) : Qt("", !0)
|
|
75227
|
+
], 2)) : Qt("", !0)
|
|
75225
75228
|
]),
|
|
75226
75229
|
_: 3
|
|
75227
75230
|
}, 8, ["data", "limit", "onPaginationChangePage"]);
|
|
@@ -75261,7 +75264,7 @@ const Ede = /* @__PURE__ */ Ii(vSe, [["render", _Se]]), TSe = {
|
|
|
75261
75264
|
hideLoading: H
|
|
75262
75265
|
}), (ee, ve) => {
|
|
75263
75266
|
const ke = Rd("gl-button");
|
|
75264
|
-
return h.value ? (
|
|
75267
|
+
return h.value ? (Le(), Xe("div", TSe, [
|
|
75265
75268
|
W("div", ESe, [
|
|
75266
75269
|
ve[1] || (ve[1] = W("div", {
|
|
75267
75270
|
class: "fixed inset-0 transition-opacity bg-gray-500/75",
|
|
@@ -75283,7 +75286,7 @@ const Ede = /* @__PURE__ */ Ii(vSe, [["render", _Se]]), TSe = {
|
|
|
75283
75286
|
])
|
|
75284
75287
|
]),
|
|
75285
75288
|
W("div", FSe, [
|
|
75286
|
-
b.value ? (
|
|
75289
|
+
b.value ? (Le(), Jc(uA("button"), {
|
|
75287
75290
|
key: 1,
|
|
75288
75291
|
disabled: "",
|
|
75289
75292
|
class: Nn("inline-flex justify-center w-full px-4 py-2 text-base font-medium text-white bg-red-600 border border-transparent rounded-md shadow-xs hover:bg-red-700 focus:outline-hidden focus:ring-2 focus:ring-offset-2 focus:ring-red-500 sm:ml-3 sm:w-auto sm:text-sm")
|
|
@@ -75309,7 +75312,7 @@ const Ede = /* @__PURE__ */ Ii(vSe, [["render", _Se]]), TSe = {
|
|
|
75309
75312
|
to(" Loading... ")
|
|
75310
75313
|
])),
|
|
75311
75314
|
_: 1
|
|
75312
|
-
})) : (
|
|
75315
|
+
})) : (Le(), Jc(ke, {
|
|
75313
75316
|
key: 0,
|
|
75314
75317
|
onClick: q,
|
|
75315
75318
|
tag: "button",
|
|
@@ -75333,7 +75336,7 @@ const Ede = /* @__PURE__ */ Ii(vSe, [["render", _Se]]), TSe = {
|
|
|
75333
75336
|
])
|
|
75334
75337
|
])
|
|
75335
75338
|
])
|
|
75336
|
-
])) :
|
|
75339
|
+
])) : Qt("", !0);
|
|
75337
75340
|
};
|
|
75338
75341
|
}
|
|
75339
75342
|
};
|
|
@@ -76806,8 +76809,8 @@ var gCe = /* @__PURE__ */ function() {
|
|
|
76806
76809
|
ee(Re, et, Be, Ze, Ie);
|
|
76807
76810
|
var Ge = ke(Be, ce, Ie, Ze);
|
|
76808
76811
|
Ge[ce].name = "!Directory", tt > 0 && de !== Jt && (Ge[de].name = "!MiniFAT"), Ge[Ie[0]].name = "!FAT", Ge.fat_addrs = Ie, Ge.ssz = Ze;
|
|
76809
|
-
var
|
|
76810
|
-
ne(ce, Ge, Be, Yt, tt,
|
|
76812
|
+
var Vt = {}, Yt = [], _n = [], Jn = [];
|
|
76813
|
+
ne(ce, Ge, Be, Yt, tt, Vt, _n, de), q(_n, Jn, Yt), Yt.shift();
|
|
76811
76814
|
var ss = {
|
|
76812
76815
|
FileIndex: _n,
|
|
76813
76816
|
FullPaths: Jn
|
|
@@ -77019,8 +77022,8 @@ var gCe = /* @__PURE__ */ function() {
|
|
|
77019
77022
|
for (var pt = 0, ut = 0, Be = 0; Be < Fn.FileIndex.length; ++Be) {
|
|
77020
77023
|
var Ge = Fn.FileIndex[Be];
|
|
77021
77024
|
if (Ge.content) {
|
|
77022
|
-
var
|
|
77023
|
-
|
|
77025
|
+
var Vt = Ge.content.length;
|
|
77026
|
+
Vt > 0 && (Vt < 4096 ? pt += Vt + 63 >> 6 : ut += Vt + 511 >> 9);
|
|
77024
77027
|
}
|
|
77025
77028
|
}
|
|
77026
77029
|
for (var Yt = Fn.FullPaths.length + 3 >> 2, _n = pt + 7 >> 3, Jn = pt + 127 >> 7, ss = _n + ut + Yt + Jn, Ln = ss + 127 >> 7, ps = Ln <= 109 ? 0 : Math.ceil((Ln - 109) / 127); ss + Ln + ps + 127 >> 7 > Ln; ) ps = ++Ln <= 109 ? 0 : Math.ceil((Ln - 109) / 127);
|
|
@@ -77144,23 +77147,23 @@ var gCe = /* @__PURE__ */ function() {
|
|
|
77144
77147
|
}
|
|
77145
77148
|
return Ne;
|
|
77146
77149
|
}
|
|
77147
|
-
var
|
|
77150
|
+
var Qe;
|
|
77148
77151
|
function _e(xe) {
|
|
77149
77152
|
try {
|
|
77150
77153
|
var We = xe.InflateRaw, Ne = new We();
|
|
77151
|
-
if (Ne._processChunk(new Uint8Array([3, 0]), Ne._finishFlushFlag), Ne.bytesRead)
|
|
77154
|
+
if (Ne._processChunk(new Uint8Array([3, 0]), Ne._finishFlushFlag), Ne.bytesRead) Qe = xe;
|
|
77152
77155
|
else throw new Error("zlib does not expose bytesRead");
|
|
77153
77156
|
} catch (Ze) {
|
|
77154
77157
|
console.error("cannot use native zlib: " + (Ze.message || Ze));
|
|
77155
77158
|
}
|
|
77156
77159
|
}
|
|
77157
77160
|
function ht(xe, We) {
|
|
77158
|
-
if (!
|
|
77159
|
-
var Ne =
|
|
77161
|
+
if (!Qe) return kr(xe, We);
|
|
77162
|
+
var Ne = Qe.InflateRaw, Ze = new Ne(), tt = Ze._processChunk(xe.slice(xe.l), Ze._finishFlushFlag);
|
|
77160
77163
|
return xe.l += Ze.bytesRead, tt;
|
|
77161
77164
|
}
|
|
77162
77165
|
function $e(xe) {
|
|
77163
|
-
return
|
|
77166
|
+
return Qe ? Qe.deflateRawSync(xe) : Cr(xe);
|
|
77164
77167
|
}
|
|
77165
77168
|
var qe = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], Fe = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258], bt = [1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577];
|
|
77166
77169
|
function te(xe) {
|
|
@@ -77301,8 +77304,8 @@ var gCe = /* @__PURE__ */ function() {
|
|
|
77301
77304
|
pt = tt[Be], pt <= 22 ? Ie = To(Re, Ie, rn[pt + 1] >> 1) - 1 : (To(Re, Ie, 3), Ie += 5, To(Re, Ie, rn[pt - 23] >> 5), Ie += 3);
|
|
77302
77305
|
var Ge = pt < 8 ? 0 : pt - 4 >> 2;
|
|
77303
77306
|
Ge > 0 && (Fs(Re, Ie, Be - Fe[pt]), Ie += Ge), pt = We[yt - ut], Ie = To(Re, Ie, rn[pt] >> 3), Ie -= 3;
|
|
77304
|
-
var
|
|
77305
|
-
|
|
77307
|
+
var Vt = pt < 4 ? 0 : pt - 2 >> 1;
|
|
77308
|
+
Vt > 0 && (Fs(Re, Ie, yt - ut - bt[pt]), Ie += Vt);
|
|
77306
77309
|
for (var Yt = 0; Yt < Be; ++Yt)
|
|
77307
77310
|
Ht[Fn] = yt & 32767, Fn = (Fn << 5 ^ de[yt]) & 32767, ++yt;
|
|
77308
77311
|
cn -= Be - 1;
|
|
@@ -77356,10 +77359,10 @@ var gCe = /* @__PURE__ */ function() {
|
|
|
77356
77359
|
Be.push(Fn), Re < Fn && (Re = Fn);
|
|
77357
77360
|
break;
|
|
77358
77361
|
}
|
|
77359
|
-
var Ge = Be.slice(0, Ne),
|
|
77362
|
+
var Ge = Be.slice(0, Ne), Vt = Be.slice(Ne);
|
|
77360
77363
|
for (cn = Ne; cn < 286; ++cn) Ge[cn] = 0;
|
|
77361
|
-
for (cn = Ze; cn < 30; ++cn)
|
|
77362
|
-
return En = Lo(Ge, Ho, 286), In = Lo(
|
|
77364
|
+
for (cn = Ze; cn < 30; ++cn) Vt[cn] = 0;
|
|
77365
|
+
return En = Lo(Ge, Ho, 286), In = Lo(Vt, Zt, 30), We;
|
|
77363
77366
|
}
|
|
77364
77367
|
function qo(xe, We) {
|
|
77365
77368
|
if (xe[0] == 3 && !(xe[1] & 3))
|
|
@@ -77466,9 +77469,9 @@ var gCe = /* @__PURE__ */ function() {
|
|
|
77466
77469
|
var Ne = We || {}, Ze = [], tt = [], et = Sn(1), ce = Ne.compression ? 8 : 0, de = 0, Re = 0, Ie = 0, yt = 0, Ht = 0, cn = xe.FullPaths[0], Fn = cn, pt = xe.FileIndex[0], ut = [], Be = 0;
|
|
77467
77470
|
for (Re = 1; Re < xe.FullPaths.length; ++Re)
|
|
77468
77471
|
if (Fn = xe.FullPaths[Re].slice(cn.length), pt = xe.FileIndex[Re], !(!pt.size || !pt.content || Fn == "Sh33tJ5")) {
|
|
77469
|
-
var Ge = yt,
|
|
77470
|
-
for (Ie = 0; Ie < Fn.length; ++Ie)
|
|
77471
|
-
|
|
77472
|
+
var Ge = yt, Vt = Sn(Fn.length);
|
|
77473
|
+
for (Ie = 0; Ie < Fn.length; ++Ie) Vt.write_shift(1, Fn.charCodeAt(Ie) & 127);
|
|
77474
|
+
Vt = Vt.slice(0, Vt.l), ut[Ht] = gCe.buf(
|
|
77472
77475
|
/*::((*/
|
|
77473
77476
|
pt.content,
|
|
77474
77477
|
0
|
|
@@ -77478,11 +77481,11 @@ var gCe = /* @__PURE__ */ function() {
|
|
|
77478
77481
|
4,
|
|
77479
77482
|
/*::(*/
|
|
77480
77483
|
pt.content.length
|
|
77481
|
-
), et.write_shift(2,
|
|
77484
|
+
), et.write_shift(2, Vt.length), et.write_shift(2, 0), yt += et.length, Ze.push(et), yt += Vt.length, Ze.push(Vt), yt += Yt.length, Ze.push(Yt), et = Sn(46), et.write_shift(4, 33639248), et.write_shift(2, 0), et.write_shift(2, 20), et.write_shift(2, de), et.write_shift(2, ce), et.write_shift(4, 0), et.write_shift(-4, ut[Ht]), et.write_shift(4, Yt.length), et.write_shift(
|
|
77482
77485
|
4,
|
|
77483
77486
|
/*::(*/
|
|
77484
77487
|
pt.content.length
|
|
77485
|
-
), et.write_shift(2,
|
|
77488
|
+
), et.write_shift(2, Vt.length), et.write_shift(2, 0), et.write_shift(2, 0), et.write_shift(2, 0), et.write_shift(2, 0), et.write_shift(4, 0), et.write_shift(4, Ge), Be += et.l, tt.push(et), Be += Vt.length, tt.push(Vt), ++Ht;
|
|
77486
77489
|
}
|
|
77487
77490
|
return et = Sn(22), et.write_shift(4, 101010256), et.write_shift(2, 0), et.write_shift(2, 0), et.write_shift(2, Ht), et.write_shift(2, Ht), et.write_shift(4, Be), et.write_shift(4, yt), et.write_shift(2, 0), Nd([Nd(Ze), Nd(tt), et]);
|
|
77488
77491
|
}
|
|
@@ -80320,7 +80323,7 @@ var jke = /* @__PURE__ */ function() {
|
|
|
80320
80323
|
Jt[1].charAt(0) == "P" && fe.push(ue.slice(3).replace(/;;/g, ";"));
|
|
80321
80324
|
break;
|
|
80322
80325
|
case "C":
|
|
80323
|
-
var B = !1, tn = !1, Nt = !1, os = !1, Et = -1,
|
|
80326
|
+
var B = !1, tn = !1, Nt = !1, os = !1, Et = -1, Qe = -1;
|
|
80324
80327
|
for (ke = 1; ke < Jt.length; ++ke) switch (Jt[ke].charAt(0)) {
|
|
80325
80328
|
case "A":
|
|
80326
80329
|
break;
|
|
@@ -80349,16 +80352,16 @@ var jke = /* @__PURE__ */ function() {
|
|
|
80349
80352
|
Et = parseInt(Jt[ke].slice(1)) - 1;
|
|
80350
80353
|
break;
|
|
80351
80354
|
case "C":
|
|
80352
|
-
|
|
80355
|
+
Qe = parseInt(Jt[ke].slice(1)) - 1;
|
|
80353
80356
|
break;
|
|
80354
80357
|
default:
|
|
80355
80358
|
if (H && H.WTF) throw new Error("SYLK bad record " + ue);
|
|
80356
80359
|
}
|
|
80357
80360
|
if (B && (ne[G][ee] && ne[G][ee].length == 2 ? ne[G][ee][0] = St : ne[G][ee] = St, Ot = null), Nt) {
|
|
80358
80361
|
if (os) throw new Error("SYLK shared formula cannot have own formula");
|
|
80359
|
-
var ht = Et > -1 && ne[Et][
|
|
80362
|
+
var ht = Et > -1 && ne[Et][Qe];
|
|
80360
80363
|
if (!ht || !ht[1]) throw new Error("SYLK shared formula cannot find base");
|
|
80361
|
-
ne[G][ee][1] = j_e(ht[1], { r: G - Et, c: ee -
|
|
80364
|
+
ne[G][ee][1] = j_e(ht[1], { r: G - Et, c: ee - Qe });
|
|
80362
80365
|
}
|
|
80363
80366
|
break;
|
|
80364
80367
|
case "F":
|
|
@@ -80875,7 +80878,7 @@ var jke = /* @__PURE__ */ function() {
|
|
|
80875
80878
|
}
|
|
80876
80879
|
}, $e);
|
|
80877
80880
|
else if (_e[2] == 26 || _e[2] == 14)
|
|
80878
|
-
$e.Enum =
|
|
80881
|
+
$e.Enum = Qe, _e[2] == 14 && ($e.qpro = !0, _e.l = 0), r(_e, function(Se, Zn, $s) {
|
|
80879
80882
|
switch ($s) {
|
|
80880
80883
|
case 204:
|
|
80881
80884
|
Fe = Se;
|
|
@@ -81390,7 +81393,7 @@ var jke = /* @__PURE__ */ function() {
|
|
|
81390
81393
|
222: { n: "SHEETNAMELP", f: B },
|
|
81391
81394
|
/*::[*/
|
|
81392
81395
|
65535: { n: "" }
|
|
81393
|
-
},
|
|
81396
|
+
}, Qe = {
|
|
81394
81397
|
/*::[*/
|
|
81395
81398
|
0: { n: "BOF" },
|
|
81396
81399
|
/*::[*/
|
|
@@ -90531,7 +90534,7 @@ function oAe(r, t) {
|
|
|
90531
90534
|
ve[4][0].data = Pd(wt);
|
|
90532
90535
|
}
|
|
90533
90536
|
H.messages[0].data = Pd(ve);
|
|
90534
|
-
var
|
|
90537
|
+
var Qe = ZE(M), _e = UE(Qe);
|
|
90535
90538
|
return R.content = _e, R.size = R.content.length, C;
|
|
90536
90539
|
}
|
|
90537
90540
|
function rAe(r) {
|
|
@@ -91365,7 +91368,7 @@ const TAe = {
|
|
|
91365
91368
|
function s5e(r, t, s, l, c, f) {
|
|
91366
91369
|
var G, ee, ve, ke, ne;
|
|
91367
91370
|
const h = Rd("DynamicConfirmation"), b = Rd("dropdown"), x = Rd("GlDropdown"), C = Rd("GlTextInput"), T = Rd("GlDateRangePicker"), R = Rd("gl-button"), M = Rd("TailwindPagination"), H = dA("print"), q = dA("click-outside");
|
|
91368
|
-
return
|
|
91371
|
+
return Le(), Xe(so, null, [
|
|
91369
91372
|
tu(h, { ref: "ConfirmationDelete" }, null, 512),
|
|
91370
91373
|
Er(W("button", EAe, null, 512), [
|
|
91371
91374
|
[H, c.printObj]
|
|
@@ -91411,10 +91414,10 @@ function s5e(r, t, s, l, c, f) {
|
|
|
91411
91414
|
W("div", {
|
|
91412
91415
|
class: Nn(["grid gap-4 mb-3 xs:grid-cols-1 xl:grid-cols-2", (ne = s.xprops) == null ? void 0 : ne.customFiltersMainClass])
|
|
91413
91416
|
}, [
|
|
91414
|
-
(
|
|
91417
|
+
(Le(!0), Xe(so, null, jr(f.customFilters, (fe, Ot) => {
|
|
91415
91418
|
var Ye;
|
|
91416
|
-
return
|
|
91417
|
-
fe.type == "dropdown" ? (
|
|
91419
|
+
return Le(), Xe(so, { key: Ot }, [
|
|
91420
|
+
fe.type == "dropdown" ? (Le(), Jc(x, {
|
|
91418
91421
|
key: 0,
|
|
91419
91422
|
has_cancel: !0,
|
|
91420
91423
|
options: fe.options,
|
|
@@ -91425,8 +91428,8 @@ function s5e(r, t, s, l, c, f) {
|
|
|
91425
91428
|
label_name: fe.field_label,
|
|
91426
91429
|
show: !1,
|
|
91427
91430
|
placeholder: ((Ye = s.language) == null ? void 0 : Ye.please_select_an_option) ?? "Please select an option"
|
|
91428
|
-
}, null, 8, ["options", "modelValue", "onUpdate:modelValue", "field_name", "label_name", "placeholder"])) :
|
|
91429
|
-
fe.type == "text" ? (
|
|
91431
|
+
}, null, 8, ["options", "modelValue", "onUpdate:modelValue", "field_name", "label_name", "placeholder"])) : Qt("", !0),
|
|
91432
|
+
fe.type == "text" ? (Le(), Jc(C, {
|
|
91430
91433
|
key: 1,
|
|
91431
91434
|
type: "text",
|
|
91432
91435
|
is_required: !1,
|
|
@@ -91435,8 +91438,8 @@ function s5e(r, t, s, l, c, f) {
|
|
|
91435
91438
|
"onUpdate:modelValue": (X) => c.dynamicFilters[fe.field_name] = X,
|
|
91436
91439
|
field_name: fe.field_name,
|
|
91437
91440
|
label_name: fe.field_label
|
|
91438
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) :
|
|
91439
|
-
fe.type == "date" ? (
|
|
91441
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : Qt("", !0),
|
|
91442
|
+
fe.type == "date" ? (Le(), Jc(C, {
|
|
91440
91443
|
key: 2,
|
|
91441
91444
|
type: "date",
|
|
91442
91445
|
is_required: !1,
|
|
@@ -91445,8 +91448,8 @@ function s5e(r, t, s, l, c, f) {
|
|
|
91445
91448
|
"onUpdate:modelValue": (X) => c.dynamicFilters[fe.field_name] = X,
|
|
91446
91449
|
field_name: fe.field_name,
|
|
91447
91450
|
label_name: fe.field_label
|
|
91448
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) :
|
|
91449
|
-
fe.type == "date_range" ? (
|
|
91451
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : Qt("", !0),
|
|
91452
|
+
fe.type == "date_range" ? (Le(), Jc(T, {
|
|
91450
91453
|
key: 3,
|
|
91451
91454
|
is_required: !1,
|
|
91452
91455
|
show: !1,
|
|
@@ -91454,14 +91457,14 @@ function s5e(r, t, s, l, c, f) {
|
|
|
91454
91457
|
"onUpdate:modelValue": (X) => c.dynamicFilters[fe.field_name] = X,
|
|
91455
91458
|
field_name: fe.field_name,
|
|
91456
91459
|
label_name: fe.field_label
|
|
91457
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) :
|
|
91460
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : Qt("", !0)
|
|
91458
91461
|
], 64);
|
|
91459
91462
|
}), 128)),
|
|
91460
|
-
(
|
|
91463
|
+
(Le(!0), Xe(so, null, jr(s.columns, (fe, Ot) => {
|
|
91461
91464
|
var Ye;
|
|
91462
|
-
return
|
|
91463
|
-
fe.hasOwnFilter && Object.keys(fe.hasOwnFilter).length > 0 ? (
|
|
91464
|
-
fe.hasOwnFilter.type == "dropdown" ? (
|
|
91465
|
+
return Le(), Xe(so, { key: Ot }, [
|
|
91466
|
+
fe.hasOwnFilter && Object.keys(fe.hasOwnFilter).length > 0 ? (Le(), Xe(so, { key: 0 }, [
|
|
91467
|
+
fe.hasOwnFilter.type == "dropdown" ? (Le(), Jc(x, {
|
|
91465
91468
|
key: 0,
|
|
91466
91469
|
has_cancel: !0,
|
|
91467
91470
|
options: fe.hasOwnFilter.options,
|
|
@@ -91472,8 +91475,8 @@ function s5e(r, t, s, l, c, f) {
|
|
|
91472
91475
|
label_name: fe.field_label,
|
|
91473
91476
|
show: !1,
|
|
91474
91477
|
placeholder: ((Ye = s.language) == null ? void 0 : Ye.please_select_an_option) ?? "Please select an option"
|
|
91475
|
-
}, null, 8, ["options", "modelValue", "onUpdate:modelValue", "field_name", "label_name", "placeholder"])) :
|
|
91476
|
-
fe.hasOwnFilter.type == "text" ? (
|
|
91478
|
+
}, null, 8, ["options", "modelValue", "onUpdate:modelValue", "field_name", "label_name", "placeholder"])) : Qt("", !0),
|
|
91479
|
+
fe.hasOwnFilter.type == "text" ? (Le(), Jc(C, {
|
|
91477
91480
|
key: 1,
|
|
91478
91481
|
type: "text",
|
|
91479
91482
|
is_required: !1,
|
|
@@ -91482,8 +91485,8 @@ function s5e(r, t, s, l, c, f) {
|
|
|
91482
91485
|
"onUpdate:modelValue": (X) => c.dynamicFilters[fe.field_name] = X,
|
|
91483
91486
|
field_name: fe.field_name,
|
|
91484
91487
|
label_name: fe.field_label
|
|
91485
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) :
|
|
91486
|
-
fe.hasOwnFilter.type == "date" ? (
|
|
91488
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : Qt("", !0),
|
|
91489
|
+
fe.hasOwnFilter.type == "date" ? (Le(), Jc(C, {
|
|
91487
91490
|
key: 2,
|
|
91488
91491
|
type: "date",
|
|
91489
91492
|
is_required: !1,
|
|
@@ -91492,8 +91495,8 @@ function s5e(r, t, s, l, c, f) {
|
|
|
91492
91495
|
"onUpdate:modelValue": (X) => c.dynamicFilters[fe.field_name] = X,
|
|
91493
91496
|
field_name: fe.field_name,
|
|
91494
91497
|
label_name: fe.field_label
|
|
91495
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) :
|
|
91496
|
-
], 64)) :
|
|
91498
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : Qt("", !0)
|
|
91499
|
+
], 64)) : Qt("", !0)
|
|
91497
91500
|
], 64);
|
|
91498
91501
|
}), 128))
|
|
91499
91502
|
], 2),
|
|
@@ -91529,7 +91532,7 @@ function s5e(r, t, s, l, c, f) {
|
|
|
91529
91532
|
}),
|
|
91530
91533
|
_: 1
|
|
91531
91534
|
}, 8, ["onClick", "classes"]),
|
|
91532
|
-
s.enable_select_deselect_delete ? (
|
|
91535
|
+
s.enable_select_deselect_delete ? (Le(), Jc(R, {
|
|
91533
91536
|
key: 0,
|
|
91534
91537
|
onClick: f.toggleSelectAll,
|
|
91535
91538
|
tag: "button",
|
|
@@ -91544,8 +91547,8 @@ function s5e(r, t, s, l, c, f) {
|
|
|
91544
91547
|
];
|
|
91545
91548
|
}),
|
|
91546
91549
|
_: 1
|
|
91547
|
-
}, 8, ["onClick"])) :
|
|
91548
|
-
s.enable_select_deselect_delete ? (
|
|
91550
|
+
}, 8, ["onClick"])) : Qt("", !0),
|
|
91551
|
+
s.enable_select_deselect_delete ? (Le(), Jc(R, {
|
|
91549
91552
|
key: 1,
|
|
91550
91553
|
onClick: f.toggleDeselectAll,
|
|
91551
91554
|
tag: "button",
|
|
@@ -91560,8 +91563,8 @@ function s5e(r, t, s, l, c, f) {
|
|
|
91560
91563
|
];
|
|
91561
91564
|
}),
|
|
91562
91565
|
_: 1
|
|
91563
|
-
}, 8, ["onClick"])) :
|
|
91564
|
-
Er((
|
|
91566
|
+
}, 8, ["onClick"])) : Qt("", !0),
|
|
91567
|
+
Er((Le(), Xe("div", null, [
|
|
91565
91568
|
W("button", {
|
|
91566
91569
|
onClick: t[3] || (t[3] = (...fe) => f.toggleColumnVisibilityDropdown && f.toggleColumnVisibilityDropdown(...fe)),
|
|
91567
91570
|
class: "h-[2.5rem] text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium text-sm px-3 py-2 text-center inline-flex items-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 rounded-lg lg:rounded-none!",
|
|
@@ -91592,7 +91595,7 @@ function s5e(r, t, s, l, c, f) {
|
|
|
91592
91595
|
class: "p-3 space-y-1 text-sm text-gray-700 dark:text-gray-200",
|
|
91593
91596
|
"aria-labelledby": "db_" + c.Random_string
|
|
91594
91597
|
}, [
|
|
91595
|
-
(
|
|
91598
|
+
(Le(!0), Xe(so, null, jr(s.columns, (fe, Ot) => (Le(), Xe("li", null, [
|
|
91596
91599
|
W("div", QAe, [
|
|
91597
91600
|
Er(W("input", {
|
|
91598
91601
|
id: "cb_" + fe.field_name,
|
|
@@ -91615,7 +91618,7 @@ function s5e(r, t, s, l, c, f) {
|
|
|
91615
91618
|
])), [
|
|
91616
91619
|
[q, f.closeColumnVisibilityDropdown]
|
|
91617
91620
|
]),
|
|
91618
|
-
s.enable_select_deselect_delete ? (
|
|
91621
|
+
s.enable_select_deselect_delete ? (Le(), Jc(R, {
|
|
91619
91622
|
key: 2,
|
|
91620
91623
|
tag: "button",
|
|
91621
91624
|
onClick: f.deleteSelected,
|
|
@@ -91630,7 +91633,7 @@ function s5e(r, t, s, l, c, f) {
|
|
|
91630
91633
|
];
|
|
91631
91634
|
}),
|
|
91632
91635
|
_: 1
|
|
91633
|
-
}, 8, ["onClick"])) :
|
|
91636
|
+
}, 8, ["onClick"])) : Qt("", !0)
|
|
91634
91637
|
]),
|
|
91635
91638
|
W("div", {
|
|
91636
91639
|
id: "print_" + c.Random_string,
|
|
@@ -91642,21 +91645,21 @@ function s5e(r, t, s, l, c, f) {
|
|
|
91642
91645
|
}, [
|
|
91643
91646
|
W("thead", UAe, [
|
|
91644
91647
|
W("tr", null, [
|
|
91645
|
-
s.enable_select_deselect_delete ? (
|
|
91646
|
-
(
|
|
91648
|
+
s.enable_select_deselect_delete ? (Le(), Xe("th", WAe)) : Qt("", !0),
|
|
91649
|
+
(Le(!0), Xe(so, null, jr(f.visibleColumns, (fe, Ot) => (Le(), Xe("th", {
|
|
91647
91650
|
key: Ot,
|
|
91648
91651
|
onClick: (Ye) => f.updateSortColumn(fe.field_name, fe.sortable),
|
|
91649
91652
|
class: "w-full px-4 py-2 lg:w-2/12 print:w-2/12! print:border-[1px]!"
|
|
91650
91653
|
}, [
|
|
91651
91654
|
to(Gt(fe.field_label) + " ", 1),
|
|
91652
|
-
c.sortField === fe.field_name ? (
|
|
91653
|
-
c.sortOrder === "asc" ? (
|
|
91654
|
-
])) :
|
|
91655
|
+
c.sortField === fe.field_name ? (Le(), Xe("span", jAe, [
|
|
91656
|
+
c.sortOrder === "asc" ? (Le(), Xe("i", qAe)) : (Le(), Xe("i", GAe))
|
|
91657
|
+
])) : Qt("", !0)
|
|
91655
91658
|
], 8, XAe))), 128))
|
|
91656
91659
|
])
|
|
91657
91660
|
]),
|
|
91658
91661
|
W("tbody", null, [
|
|
91659
|
-
c.isLoading ? (
|
|
91662
|
+
c.isLoading ? (Le(), Xe("tr", YAe, [
|
|
91660
91663
|
W("td", {
|
|
91661
91664
|
colspan: s.columns.length + (s.enable_select_deselect_delete ? 1 : 0)
|
|
91662
91665
|
}, t[8] || (t[8] = [
|
|
@@ -91702,12 +91705,12 @@ function s5e(r, t, s, l, c, f) {
|
|
|
91702
91705
|
W("span", { class: "sr-only" }, "Loading...")
|
|
91703
91706
|
], -1)
|
|
91704
91707
|
]), 8, KAe)
|
|
91705
|
-
])) :
|
|
91706
|
-
c.isLoading ?
|
|
91708
|
+
])) : Qt("", !0),
|
|
91709
|
+
c.isLoading ? Qt("", !0) : (Le(!0), Xe(so, { key: 1 }, jr(c.itemLists.data, (fe, Ot) => (Le(), Xe("tr", {
|
|
91707
91710
|
key: Ot,
|
|
91708
91711
|
class: "text-gray-500 bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 dark:hover:text-gray-200"
|
|
91709
91712
|
}, [
|
|
91710
|
-
s.enable_select_deselect_delete ? (
|
|
91713
|
+
s.enable_select_deselect_delete ? (Le(), Xe("td", JAe, [
|
|
91711
91714
|
W("input", {
|
|
91712
91715
|
checked: c.checkedIds.includes(fe.id),
|
|
91713
91716
|
onChange: (Ye) => f.toggleCheck(fe.id),
|
|
@@ -91715,8 +91718,8 @@ function s5e(r, t, s, l, c, f) {
|
|
|
91715
91718
|
value: "",
|
|
91716
91719
|
class: "w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded-sm focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600"
|
|
91717
91720
|
}, null, 40, e5e)
|
|
91718
|
-
])) :
|
|
91719
|
-
(
|
|
91721
|
+
])) : Qt("", !0),
|
|
91722
|
+
(Le(!0), Xe(so, null, jr(f.visibleColumns, (Ye, X) => (Le(), Xe("td", {
|
|
91720
91723
|
style: $le(Ye == null ? void 0 : Ye.style),
|
|
91721
91724
|
key: X,
|
|
91722
91725
|
"data-label": Ye.field_label,
|
|
@@ -91728,7 +91731,7 @@ function s5e(r, t, s, l, c, f) {
|
|
|
91728
91731
|
W("div", {
|
|
91729
91732
|
class: Nn([Ye.field_name === "action" ? "" : "overflow-auto", "td_overflow_auto max-h-40"])
|
|
91730
91733
|
}, [
|
|
91731
|
-
Ye.tdComp ? (
|
|
91734
|
+
Ye.tdComp ? (Le(), Jc(uA(f.forDynCompIs(Ye.tdComp)), {
|
|
91732
91735
|
key: 0,
|
|
91733
91736
|
language: s.language,
|
|
91734
91737
|
row: fe,
|
|
@@ -91738,7 +91741,7 @@ function s5e(r, t, s, l, c, f) {
|
|
|
91738
91741
|
onDeleteAction: t[4] || (t[4] = (ot) => f.GetItemLists()),
|
|
91739
91742
|
onEditAction: (ot) => f.editAction(fe),
|
|
91740
91743
|
onGeneralAction: (ot) => f.generalAction(fe)
|
|
91741
|
-
}, null, 40, ["language", "row", "field", "xprops", "tdProps", "onEditAction", "onGeneralAction"])) : (
|
|
91744
|
+
}, null, 40, ["language", "row", "field", "xprops", "tdProps", "onEditAction", "onGeneralAction"])) : (Le(), Xe(so, { key: 1 }, [
|
|
91742
91745
|
to(Gt(fe[Ye.field_name]), 1)
|
|
91743
91746
|
], 64))
|
|
91744
91747
|
], 2)
|
|
@@ -91884,7 +91887,7 @@ const qRe = /* @__PURE__ */ Ii(TAe, [["render", s5e], ["__scopeId", "data-v-5c7c
|
|
|
91884
91887
|
}, w5e = { class: "flex justify-between flex-1 sm:hidden" }, S5e = ["disabled"], C5e = ["disabled"], k5e = { class: "hidden sm:flex sm:flex-1 sm:items-center sm:justify-between" }, _5e = { class: "text-sm text-gray-700 dark:text-gray-400" }, T5e = { class: "font-medium" }, E5e = { class: "font-medium" }, A5e = { class: "font-medium" }, P5e = { "aria-label": "Page navigation" }, $5e = { class: "flex items-center h-8 -space-x-px text-sm" }, D5e = ["disabled"], R5e = ["onClick"], M5e = ["onClick"], N5e = ["disabled"];
|
|
91885
91888
|
function F5e(r, t, s, l, c, f) {
|
|
91886
91889
|
const h = Rd("dropdown");
|
|
91887
|
-
return
|
|
91890
|
+
return Le(), Xe("div", r5e, [
|
|
91888
91891
|
W("div", i5e, [
|
|
91889
91892
|
W("div", a5e, [
|
|
91890
91893
|
t[7] || (t[7] = W("span", { class: "font-medium" }, " Show ", -1)),
|
|
@@ -91924,20 +91927,20 @@ function F5e(r, t, s, l, c, f) {
|
|
|
91924
91927
|
W("table", d5e, [
|
|
91925
91928
|
W("thead", f5e, [
|
|
91926
91929
|
W("tr", null, [
|
|
91927
|
-
(
|
|
91930
|
+
(Le(!0), Xe(so, null, jr(s.columns, (b, x) => (Le(), Xe("th", {
|
|
91928
91931
|
key: x,
|
|
91929
91932
|
onClick: (C) => f.sort(b.field_name, b.sortable),
|
|
91930
91933
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
91931
91934
|
}, [
|
|
91932
91935
|
to(Gt(b.field_label) + " ", 1),
|
|
91933
|
-
c.sortKey === b.field_name ? (
|
|
91934
|
-
c.sortOrder === 1 ? (
|
|
91935
|
-
])) :
|
|
91936
|
+
c.sortKey === b.field_name ? (Le(), Xe("span", m5e, [
|
|
91937
|
+
c.sortOrder === 1 ? (Le(), Xe("i", g5e)) : (Le(), Xe("i", p5e))
|
|
91938
|
+
])) : Qt("", !0)
|
|
91936
91939
|
], 8, h5e))), 128))
|
|
91937
91940
|
])
|
|
91938
91941
|
]),
|
|
91939
91942
|
W("tbody", null, [
|
|
91940
|
-
c.isLoading ? (
|
|
91943
|
+
c.isLoading ? (Le(), Xe("tr", b5e, [
|
|
91941
91944
|
W("td", {
|
|
91942
91945
|
colspan: s.columns.length
|
|
91943
91946
|
}, t[11] || (t[11] = [
|
|
@@ -91983,12 +91986,12 @@ function F5e(r, t, s, l, c, f) {
|
|
|
91983
91986
|
W("span", { class: "sr-only" }, "Loading...")
|
|
91984
91987
|
], -1)
|
|
91985
91988
|
]), 8, v5e)
|
|
91986
|
-
])) :
|
|
91987
|
-
c.isLoading ?
|
|
91989
|
+
])) : Qt("", !0),
|
|
91990
|
+
c.isLoading ? Qt("", !0) : (Le(!0), Xe(so, { key: 1 }, jr(f.paginatedData, (b, x) => (Le(), Xe("tr", {
|
|
91988
91991
|
key: x,
|
|
91989
91992
|
class: "bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 dark:hover:text-gray-200 text-gray-500"
|
|
91990
91993
|
}, [
|
|
91991
|
-
(
|
|
91994
|
+
(Le(!0), Xe(so, null, jr(s.columns, (C, T) => (Le(), Xe("td", {
|
|
91992
91995
|
key: T,
|
|
91993
91996
|
"data-label": C.field_label,
|
|
91994
91997
|
class: Nn(["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", {
|
|
@@ -91997,7 +92000,7 @@ function F5e(r, t, s, l, c, f) {
|
|
|
91997
92000
|
}])
|
|
91998
92001
|
}, [
|
|
91999
92002
|
W("div", O5e, [
|
|
92000
|
-
C.tdComp ? (
|
|
92003
|
+
C.tdComp ? (Le(), Jc(uA(f.forDynCompIs(C.tdComp)), {
|
|
92001
92004
|
key: 0,
|
|
92002
92005
|
row: b,
|
|
92003
92006
|
field: C.field_name,
|
|
@@ -92006,7 +92009,7 @@ function F5e(r, t, s, l, c, f) {
|
|
|
92006
92009
|
onDeleteAction: t[2] || (t[2] = (R) => f.GetItemLists()),
|
|
92007
92010
|
onEditAction: (R) => f.editAction(b),
|
|
92008
92011
|
onGeneralAction: (R) => f.generalAction(b)
|
|
92009
|
-
}, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction", "onGeneralAction"])) : (
|
|
92012
|
+
}, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction", "onGeneralAction"])) : (Le(), Xe(so, { key: 1 }, [
|
|
92010
92013
|
to(Gt(b[C.field_name]), 1)
|
|
92011
92014
|
], 64))
|
|
92012
92015
|
])
|
|
@@ -92015,7 +92018,7 @@ function F5e(r, t, s, l, c, f) {
|
|
|
92015
92018
|
])
|
|
92016
92019
|
])
|
|
92017
92020
|
]),
|
|
92018
|
-
f.paginatedData.length > 0 ? (
|
|
92021
|
+
f.paginatedData.length > 0 ? (Le(), Xe("div", x5e, [
|
|
92019
92022
|
W("div", w5e, [
|
|
92020
92023
|
W("a", {
|
|
92021
92024
|
href: "#",
|
|
@@ -92070,23 +92073,23 @@ function F5e(r, t, s, l, c, f) {
|
|
|
92070
92073
|
], -1)
|
|
92071
92074
|
]), 8, D5e)
|
|
92072
92075
|
]),
|
|
92073
|
-
(
|
|
92076
|
+
(Le(!0), Xe(so, null, jr(f.displayedPageNumbers, (b) => (Le(), Xe(so, { key: b }, [
|
|
92074
92077
|
W("li", null, [
|
|
92075
|
-
c.currentPage !== b ? (
|
|
92078
|
+
c.currentPage !== b ? (Le(), Xe("a", {
|
|
92076
92079
|
key: 0,
|
|
92077
92080
|
href: "#",
|
|
92078
92081
|
onClick: Pa((x) => f.goToPage(b), ["prevent"]),
|
|
92079
92082
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
92080
|
-
}, Gt(b), 9, R5e)) :
|
|
92083
|
+
}, Gt(b), 9, R5e)) : Qt("", !0)
|
|
92081
92084
|
]),
|
|
92082
92085
|
W("li", null, [
|
|
92083
|
-
c.currentPage === b ? (
|
|
92086
|
+
c.currentPage === b ? (Le(), Xe("a", {
|
|
92084
92087
|
key: 0,
|
|
92085
92088
|
href: "#",
|
|
92086
92089
|
onClick: Pa((x) => f.goToPage(b), ["prevent"]),
|
|
92087
92090
|
"aria-current": "page",
|
|
92088
92091
|
class: "z-10 flex items-center justify-center h-8 px-3 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white"
|
|
92089
|
-
}, Gt(b), 9, M5e)) :
|
|
92092
|
+
}, Gt(b), 9, M5e)) : Qt("", !0)
|
|
92090
92093
|
])
|
|
92091
92094
|
], 64))), 128)),
|
|
92092
92095
|
W("li", null, [
|
|
@@ -92118,7 +92121,7 @@ function F5e(r, t, s, l, c, f) {
|
|
|
92118
92121
|
])
|
|
92119
92122
|
])
|
|
92120
92123
|
])
|
|
92121
|
-
])) :
|
|
92124
|
+
])) : Qt("", !0)
|
|
92122
92125
|
]);
|
|
92123
92126
|
}
|
|
92124
92127
|
const GRe = /* @__PURE__ */ Ii(o5e, [["render", F5e]]), B5e = {
|
|
@@ -92225,7 +92228,7 @@ const GRe = /* @__PURE__ */ Ii(o5e, [["render", F5e]]), B5e = {
|
|
|
92225
92228
|
}, G5e = { key: 0 }, Y5e = ["colspan"], K5e = { class: "text-gray-500 bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 dark:hover:text-gray-200" }, J5e = ["colspan"], ePe = ["data-label"], tPe = { class: "overflow-auto max-h-40" }, nPe = { 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" };
|
|
92226
92229
|
function sPe(r, t, s, l, c, f) {
|
|
92227
92230
|
const h = Rd("dropdown"), b = Rd("TailwindPagination");
|
|
92228
|
-
return
|
|
92231
|
+
return Le(), Xe("div", I5e, [
|
|
92229
92232
|
W("div", L5e, [
|
|
92230
92233
|
W("div", Q5e, [
|
|
92231
92234
|
t[4] || (t[4] = W("span", { class: "font-medium" }, " Show ", -1)),
|
|
@@ -92267,20 +92270,20 @@ function sPe(r, t, s, l, c, f) {
|
|
|
92267
92270
|
W("table", Z5e, [
|
|
92268
92271
|
W("thead", U5e, [
|
|
92269
92272
|
W("tr", null, [
|
|
92270
|
-
(
|
|
92273
|
+
(Le(!0), Xe(so, null, jr(s.columns, (x, C) => (Le(), Xe("th", {
|
|
92271
92274
|
key: C,
|
|
92272
92275
|
onClick: (T) => f.updateSortColumn(x.field_name, x.sortable),
|
|
92273
92276
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
92274
92277
|
}, [
|
|
92275
92278
|
to(Gt(x.field_label) + " ", 1),
|
|
92276
|
-
c.sortField === x.field_name ? (
|
|
92277
|
-
c.sortOrder === "asc" ? (
|
|
92278
|
-
])) :
|
|
92279
|
+
c.sortField === x.field_name ? (Le(), Xe("span", X5e, [
|
|
92280
|
+
c.sortOrder === "asc" ? (Le(), Xe("i", j5e)) : (Le(), Xe("i", q5e))
|
|
92281
|
+
])) : Qt("", !0)
|
|
92279
92282
|
], 8, W5e))), 128))
|
|
92280
92283
|
])
|
|
92281
92284
|
]),
|
|
92282
92285
|
W("tbody", null, [
|
|
92283
|
-
c.isLoading ? (
|
|
92286
|
+
c.isLoading ? (Le(), Xe("tr", G5e, [
|
|
92284
92287
|
W("td", {
|
|
92285
92288
|
colspan: s.columns.length
|
|
92286
92289
|
}, t[8] || (t[8] = [
|
|
@@ -92326,25 +92329,25 @@ function sPe(r, t, s, l, c, f) {
|
|
|
92326
92329
|
W("span", { class: "sr-only" }, "Loading...")
|
|
92327
92330
|
], -1)
|
|
92328
92331
|
]), 8, Y5e)
|
|
92329
|
-
])) :
|
|
92330
|
-
c.isLoading ?
|
|
92332
|
+
])) : Qt("", !0),
|
|
92333
|
+
c.isLoading ? Qt("", !0) : (Le(!0), Xe(so, { key: 1 }, jr(f.groupedItems, (x, C) => (Le(), Xe(so, null, [
|
|
92331
92334
|
W("tr", K5e, [
|
|
92332
92335
|
W("td", {
|
|
92333
92336
|
colspan: s.columns.length,
|
|
92334
92337
|
class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 border dark:border-gray-700"
|
|
92335
92338
|
}, Gt(C), 9, J5e)
|
|
92336
92339
|
]),
|
|
92337
|
-
(
|
|
92340
|
+
(Le(!0), Xe(so, null, jr(x, (T, R) => (Le(), Xe("tr", {
|
|
92338
92341
|
key: R,
|
|
92339
92342
|
class: "text-gray-500 bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 dark:hover:text-gray-200"
|
|
92340
92343
|
}, [
|
|
92341
|
-
(
|
|
92344
|
+
(Le(!0), Xe(so, null, jr(s.columns, (M, H) => (Le(), Xe("td", {
|
|
92342
92345
|
key: H,
|
|
92343
92346
|
"data-label": M.field_label,
|
|
92344
92347
|
class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row 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"
|
|
92345
92348
|
}, [
|
|
92346
92349
|
W("div", tPe, [
|
|
92347
|
-
M.tdComp ? (
|
|
92350
|
+
M.tdComp ? (Le(), Jc(uA(f.forDynCompIs(M.tdComp)), {
|
|
92348
92351
|
key: 0,
|
|
92349
92352
|
row: T,
|
|
92350
92353
|
field: M.field_name,
|
|
@@ -92352,7 +92355,7 @@ function sPe(r, t, s, l, c, f) {
|
|
|
92352
92355
|
tdProps: M.tdProps,
|
|
92353
92356
|
onDeleteAction: t[3] || (t[3] = (q) => f.GetItemLists()),
|
|
92354
92357
|
onEditAction: (q) => f.editAction(T)
|
|
92355
|
-
}, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction"])) : (
|
|
92358
|
+
}, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction"])) : (Le(), Xe(so, { key: 1 }, [
|
|
92356
92359
|
to(Gt(T[M.field_name]), 1)
|
|
92357
92360
|
], 64))
|
|
92358
92361
|
])
|
|
@@ -92516,7 +92519,7 @@ const YRe = /* @__PURE__ */ Ii(B5e, [["render", sPe]]), oPe = {
|
|
|
92516
92519
|
}, wPe = { class: "flex justify-between flex-1 sm:hidden" }, SPe = ["disabled"], CPe = ["disabled"], kPe = { class: "hidden sm:flex sm:flex-1 sm:items-center sm:justify-between" }, _Pe = { class: "text-sm text-gray-700 dark:text-gray-400" }, TPe = { class: "font-medium" }, EPe = { class: "font-medium" }, APe = { class: "font-medium" }, PPe = { "aria-label": "Page navigation" }, $Pe = { class: "flex items-center h-8 -space-x-px text-sm" }, DPe = ["disabled"], RPe = ["onClick"], MPe = ["onClick"], NPe = ["disabled"];
|
|
92517
92520
|
function FPe(r, t, s, l, c, f) {
|
|
92518
92521
|
const h = Rd("dropdown"), b = Rd("gl-button"), x = dA("print");
|
|
92519
|
-
return
|
|
92522
|
+
return Le(), Xe("div", rPe, [
|
|
92520
92523
|
Er(W("button", iPe, null, 512), [
|
|
92521
92524
|
[x, c.printObj]
|
|
92522
92525
|
]),
|
|
@@ -92598,24 +92601,24 @@ function FPe(r, t, s, l, c, f) {
|
|
|
92598
92601
|
}, [
|
|
92599
92602
|
W("thead", mPe, [
|
|
92600
92603
|
W("tr", null, [
|
|
92601
|
-
(
|
|
92604
|
+
(Le(!0), Xe(so, null, jr(s.columns, (C, T) => (Le(), Xe("th", {
|
|
92602
92605
|
key: T,
|
|
92603
92606
|
onClick: Pa((R) => f.sort(C), ["prevent"]),
|
|
92604
92607
|
class: "w-full px-4 py-2 lg:w-2/12 print:w-2/12! print:border-[1px]!"
|
|
92605
92608
|
}, [
|
|
92606
92609
|
to(Gt(C) + " ", 1),
|
|
92607
|
-
c.sortKey === C ? (
|
|
92608
|
-
c.sortOrder === 1 ? (
|
|
92609
|
-
])) :
|
|
92610
|
+
c.sortKey === C ? (Le(), Xe("span", pPe, [
|
|
92611
|
+
c.sortOrder === 1 ? (Le(), Xe("i", bPe)) : (Le(), Xe("i", vPe))
|
|
92612
|
+
])) : Qt("", !0)
|
|
92610
92613
|
], 8, gPe))), 128))
|
|
92611
92614
|
])
|
|
92612
92615
|
]),
|
|
92613
92616
|
W("tbody", null, [
|
|
92614
|
-
(
|
|
92617
|
+
(Le(!0), Xe(so, null, jr(f.paginatedData, (C, T) => (Le(), Xe("tr", {
|
|
92615
92618
|
key: T,
|
|
92616
92619
|
class: "text-gray-500 bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 dark:hover:text-gray-200"
|
|
92617
92620
|
}, [
|
|
92618
|
-
(
|
|
92621
|
+
(Le(!0), Xe(so, null, jr(s.columns, (R, M) => (Le(), Xe("td", {
|
|
92619
92622
|
key: M,
|
|
92620
92623
|
"data-label": R,
|
|
92621
92624
|
class: Nn(["text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none print:before:content-none! flex flex-col justify-between gap-2 lg:table-cell print:table-cell! py-4 px-5 lg:py-3 lg:px-4 print:py-3! print:px-4! border-[1px]! dark:border-gray-700", {
|
|
@@ -92632,7 +92635,7 @@ function FPe(r, t, s, l, c, f) {
|
|
|
92632
92635
|
])
|
|
92633
92636
|
], 8, hPe)
|
|
92634
92637
|
], 8, fPe),
|
|
92635
|
-
f.paginatedData.length > 0 ? (
|
|
92638
|
+
f.paginatedData.length > 0 ? (Le(), Xe("div", xPe, [
|
|
92636
92639
|
W("div", wPe, [
|
|
92637
92640
|
W("a", {
|
|
92638
92641
|
href: "#",
|
|
@@ -92687,23 +92690,23 @@ function FPe(r, t, s, l, c, f) {
|
|
|
92687
92690
|
], -1)
|
|
92688
92691
|
]), 8, DPe)
|
|
92689
92692
|
]),
|
|
92690
|
-
(
|
|
92693
|
+
(Le(!0), Xe(so, null, jr(f.displayedPageNumbers, (C) => (Le(), Xe(so, { key: C }, [
|
|
92691
92694
|
W("li", null, [
|
|
92692
|
-
c.currentPage !== C ? (
|
|
92695
|
+
c.currentPage !== C ? (Le(), Xe("a", {
|
|
92693
92696
|
key: 0,
|
|
92694
92697
|
href: "#",
|
|
92695
92698
|
onClick: Pa((T) => f.goToPage(C), ["prevent"]),
|
|
92696
92699
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
92697
|
-
}, Gt(C), 9, RPe)) :
|
|
92700
|
+
}, Gt(C), 9, RPe)) : Qt("", !0)
|
|
92698
92701
|
]),
|
|
92699
92702
|
W("li", null, [
|
|
92700
|
-
c.currentPage === C ? (
|
|
92703
|
+
c.currentPage === C ? (Le(), Xe("a", {
|
|
92701
92704
|
key: 0,
|
|
92702
92705
|
href: "#",
|
|
92703
92706
|
onClick: Pa((T) => f.goToPage(C), ["prevent"]),
|
|
92704
92707
|
"aria-current": "page",
|
|
92705
92708
|
class: "z-10 flex items-center justify-center h-8 px-3 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white"
|
|
92706
|
-
}, Gt(C), 9, MPe)) :
|
|
92709
|
+
}, Gt(C), 9, MPe)) : Qt("", !0)
|
|
92707
92710
|
])
|
|
92708
92711
|
], 64))), 128)),
|
|
92709
92712
|
W("li", null, [
|
|
@@ -92735,7 +92738,7 @@ function FPe(r, t, s, l, c, f) {
|
|
|
92735
92738
|
])
|
|
92736
92739
|
])
|
|
92737
92740
|
])
|
|
92738
|
-
])) :
|
|
92741
|
+
])) : Qt("", !0)
|
|
92739
92742
|
]);
|
|
92740
92743
|
}
|
|
92741
92744
|
const KRe = /* @__PURE__ */ Ii(oPe, [["render", FPe], ["__scopeId", "data-v-4cf58ff3"]]), BPe = {
|
|
@@ -92810,9 +92813,9 @@ const KRe = /* @__PURE__ */ Ii(oPe, [["render", FPe], ["__scopeId", "data-v-4cf5
|
|
|
92810
92813
|
class: "flex flex-wrap gap-2"
|
|
92811
92814
|
}, LPe = { class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded-sm dark:bg-blue-900 dark:text-blue-300" };
|
|
92812
92815
|
function QPe(r, t, s, l, c, f) {
|
|
92813
|
-
return s.row[s.field] ? (
|
|
92816
|
+
return s.row[s.field] ? (Le(), Xe("div", IPe, [
|
|
92814
92817
|
W("span", LPe, Gt(f.convertCronToHuman(s.row[s.field])), 1)
|
|
92815
|
-
])) :
|
|
92818
|
+
])) : Qt("", !0);
|
|
92816
92819
|
}
|
|
92817
92820
|
const JRe = /* @__PURE__ */ Ii(BPe, [["render", QPe]]), VPe = {
|
|
92818
92821
|
setup() {
|
|
@@ -92835,7 +92838,7 @@ const JRe = /* @__PURE__ */ Ii(BPe, [["render", QPe]]), VPe = {
|
|
|
92835
92838
|
}
|
|
92836
92839
|
};
|
|
92837
92840
|
function HPe(r, t, s, l, c, f) {
|
|
92838
|
-
return
|
|
92841
|
+
return Le(), Xe("div", null, [
|
|
92839
92842
|
Pu(r.$slots, "default")
|
|
92840
92843
|
]);
|
|
92841
92844
|
}
|
|
@@ -92880,7 +92883,7 @@ const e8e = /* @__PURE__ */ Ii(VPe, [["render", HPe]]), zPe = {
|
|
|
92880
92883
|
viewBox: "0 0 10 6"
|
|
92881
92884
|
};
|
|
92882
92885
|
function XPe(r, t, s, l, c, f) {
|
|
92883
|
-
return
|
|
92886
|
+
return Le(), Xe("div", null, [
|
|
92884
92887
|
W("h2", null, [
|
|
92885
92888
|
W("button", {
|
|
92886
92889
|
onClick: t[0] || (t[0] = (...h) => l.toggle && l.toggle(...h)),
|
|
@@ -92893,7 +92896,7 @@ function XPe(r, t, s, l, c, f) {
|
|
|
92893
92896
|
"aria-expanded": "true"
|
|
92894
92897
|
}, [
|
|
92895
92898
|
W("span", ZPe, Gt(s.title), 1),
|
|
92896
|
-
l.isOpen ?
|
|
92899
|
+
l.isOpen ? Qt("", !0) : (Le(), Xe("svg", UPe, t[1] || (t[1] = [
|
|
92897
92900
|
W("path", {
|
|
92898
92901
|
stroke: "currentColor",
|
|
92899
92902
|
"stroke-linecap": "round",
|
|
@@ -92902,7 +92905,7 @@ function XPe(r, t, s, l, c, f) {
|
|
|
92902
92905
|
d: "M9 5 5 1 1 5"
|
|
92903
92906
|
}, null, -1)
|
|
92904
92907
|
]))),
|
|
92905
|
-
l.isOpen ? (
|
|
92908
|
+
l.isOpen ? (Le(), Xe("svg", WPe, t[2] || (t[2] = [
|
|
92906
92909
|
W("path", {
|
|
92907
92910
|
stroke: "currentColor",
|
|
92908
92911
|
"stroke-linecap": "round",
|
|
@@ -92910,10 +92913,10 @@ function XPe(r, t, s, l, c, f) {
|
|
|
92910
92913
|
"stroke-width": "2",
|
|
92911
92914
|
d: "M9 5 5 1 1 5"
|
|
92912
92915
|
}, null, -1)
|
|
92913
|
-
]))) :
|
|
92916
|
+
]))) : Qt("", !0)
|
|
92914
92917
|
], 2)
|
|
92915
92918
|
]),
|
|
92916
|
-
l.isOpen ? (
|
|
92919
|
+
l.isOpen ? (Le(), Xe("div", {
|
|
92917
92920
|
key: 0,
|
|
92918
92921
|
class: Nn([{
|
|
92919
92922
|
"border-b-0": !l.isLastAccordion,
|
|
@@ -92921,7 +92924,7 @@ function XPe(r, t, s, l, c, f) {
|
|
|
92921
92924
|
}, "p-5 border border-gray-200 dark:border-gray-700 dark:bg-gray-900"])
|
|
92922
92925
|
}, [
|
|
92923
92926
|
Pu(r.$slots, "default")
|
|
92924
|
-
], 2)) :
|
|
92927
|
+
], 2)) : Qt("", !0)
|
|
92925
92928
|
]);
|
|
92926
92929
|
}
|
|
92927
92930
|
const t8e = /* @__PURE__ */ Ii(zPe, [["render", XPe]]), jPe = {
|
|
@@ -92956,8 +92959,8 @@ const t8e = /* @__PURE__ */ Ii(zPe, [["render", XPe]]), jPe = {
|
|
|
92956
92959
|
setTimeout(() => l("remove"), s.duration);
|
|
92957
92960
|
});
|
|
92958
92961
|
const l = t;
|
|
92959
|
-
return (c, f) => (
|
|
92960
|
-
s.type === "success" ? (
|
|
92962
|
+
return (c, f) => (Le(), Xe("div", jPe, [
|
|
92963
|
+
s.type === "success" ? (Le(), Xe("div", qPe, f[1] || (f[1] = [
|
|
92961
92964
|
W("svg", {
|
|
92962
92965
|
class: "w-5 h-5",
|
|
92963
92966
|
"aria-hidden": "true",
|
|
@@ -92968,8 +92971,8 @@ const t8e = /* @__PURE__ */ Ii(zPe, [["render", XPe]]), jPe = {
|
|
|
92968
92971
|
W("path", { d: "M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 8.207-4 4a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L9 10.586l3.293-3.293a1 1 0 0 1 1.414 1.414Z" })
|
|
92969
92972
|
], -1),
|
|
92970
92973
|
W("span", { class: "sr-only" }, "Check icon", -1)
|
|
92971
|
-
]))) :
|
|
92972
|
-
s.type === "error" ? (
|
|
92974
|
+
]))) : Qt("", !0),
|
|
92975
|
+
s.type === "error" ? (Le(), Xe("div", GPe, f[2] || (f[2] = [
|
|
92973
92976
|
W("svg", {
|
|
92974
92977
|
class: "w-5 h-5",
|
|
92975
92978
|
"aria-hidden": "true",
|
|
@@ -92980,8 +92983,8 @@ const t8e = /* @__PURE__ */ Ii(zPe, [["render", XPe]]), jPe = {
|
|
|
92980
92983
|
W("path", { d: "M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5Zm3.707 11.793a1 1 0 1 1-1.414 1.414L10 11.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L8.586 10 6.293 7.707a1 1 0 0 1 1.414-1.414L10 8.586l2.293-2.293a1 1 0 0 1 1.414 1.414L11.414 10l2.293 2.293Z" })
|
|
92981
92984
|
], -1),
|
|
92982
92985
|
W("span", { class: "sr-only" }, "Error icon", -1)
|
|
92983
|
-
]))) :
|
|
92984
|
-
s.type === "warning" ? (
|
|
92986
|
+
]))) : Qt("", !0),
|
|
92987
|
+
s.type === "warning" ? (Le(), Xe("div", YPe, f[3] || (f[3] = [
|
|
92985
92988
|
W("svg", {
|
|
92986
92989
|
class: "w-5 h-5",
|
|
92987
92990
|
"aria-hidden": "true",
|
|
@@ -92992,7 +92995,7 @@ const t8e = /* @__PURE__ */ Ii(zPe, [["render", XPe]]), jPe = {
|
|
|
92992
92995
|
W("path", { d: "M10 .5a9.5 9.5 0 1 0 9.5 9.5A9.51 9.51 0 0 0 10 .5ZM10 15a1 1 0 1 1 0-2 1 1 0 0 1 0 2Zm1-4a1 1 0 0 1-2 0V6a1 1 0 0 1 2 0v5Z" })
|
|
92993
92996
|
], -1),
|
|
92994
92997
|
W("span", { class: "sr-only" }, "Warning icon", -1)
|
|
92995
|
-
]))) :
|
|
92998
|
+
]))) : Qt("", !0),
|
|
92996
92999
|
W("div", KPe, Gt(s.message), 1),
|
|
92997
93000
|
W("button", {
|
|
92998
93001
|
onClick: f[0] || (f[0] = (h) => l("remove")),
|
|
@@ -93024,7 +93027,7 @@ const t8e = /* @__PURE__ */ Ii(zPe, [["render", XPe]]), jPe = {
|
|
|
93024
93027
|
function t(s) {
|
|
93025
93028
|
O2.methods.remove(s);
|
|
93026
93029
|
}
|
|
93027
|
-
return (s, l) => (
|
|
93030
|
+
return (s, l) => (Le(), Jc(Rhe, {
|
|
93028
93031
|
tag: "div",
|
|
93029
93032
|
"enter-from-class": "translate-x-full opacity-0",
|
|
93030
93033
|
"enter-active-class": "duration-500",
|
|
@@ -93033,7 +93036,7 @@ const t8e = /* @__PURE__ */ Ii(zPe, [["render", XPe]]), jPe = {
|
|
|
93033
93036
|
class: "fixed z-1060 w-full max-w-xs space-y-4 top-4 right-4"
|
|
93034
93037
|
}, {
|
|
93035
93038
|
default: od(() => [
|
|
93036
|
-
(
|
|
93039
|
+
(Le(!0), Xe(so, null, jr(Mhe(O2).state.items, (c, f) => (Le(), Jc(JPe, {
|
|
93037
93040
|
key: c.key,
|
|
93038
93041
|
message: c.message,
|
|
93039
93042
|
type: c.type,
|
|
@@ -93097,13 +93100,13 @@ const t8e = /* @__PURE__ */ Ii(zPe, [["render", XPe]]), jPe = {
|
|
|
93097
93100
|
};
|
|
93098
93101
|
return (R, M) => {
|
|
93099
93102
|
const H = dA("click-outside");
|
|
93100
|
-
return
|
|
93103
|
+
return Le(), Xe(so, null, [
|
|
93101
93104
|
tu(bz, {
|
|
93102
93105
|
isOpen: c.value,
|
|
93103
93106
|
onConfirmDelete: T,
|
|
93104
93107
|
onCancelDelete: b
|
|
93105
93108
|
}, null, 8, ["isOpen"]),
|
|
93106
|
-
r.row && R.can(`edit_${r.xprops.permission} || delete_${r.xprops.permission}`) ? Er((
|
|
93109
|
+
r.row && R.can(`edit_${r.xprops.permission} || delete_${r.xprops.permission}`) ? Er((Le(), Xe("div", e$e, [
|
|
93107
93110
|
W("button", {
|
|
93108
93111
|
onClick: h,
|
|
93109
93112
|
class: "inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-hidden dark:text-white focus:ring-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-600",
|
|
@@ -93121,7 +93124,7 @@ const t8e = /* @__PURE__ */ Ii(zPe, [["render", XPe]]), jPe = {
|
|
|
93121
93124
|
])),
|
|
93122
93125
|
Er(W("div", t$e, [
|
|
93123
93126
|
W("ul", n$e, [
|
|
93124
|
-
R.can(`edit_${r.xprops.permission}`) ? (
|
|
93127
|
+
R.can(`edit_${r.xprops.permission}`) ? (Le(), Xe("li", s$e, [
|
|
93125
93128
|
W("a", {
|
|
93126
93129
|
href: r.xprops.route + "/" + r.row.id + "/edit",
|
|
93127
93130
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
@@ -93129,8 +93132,8 @@ const t8e = /* @__PURE__ */ Ii(zPe, [["render", XPe]]), jPe = {
|
|
|
93129
93132
|
W("i", { class: "mr-2 fa-solid fa-list-ul opacity-80" }, null, -1),
|
|
93130
93133
|
to(" Edit")
|
|
93131
93134
|
]), 8, o$e)
|
|
93132
|
-
])) :
|
|
93133
|
-
R.can(`delete_${r.xprops.permission}`) ? (
|
|
93135
|
+
])) : Qt("", !0),
|
|
93136
|
+
R.can(`delete_${r.xprops.permission}`) ? (Le(), Xe("li", r$e, [
|
|
93134
93137
|
W("a", {
|
|
93135
93138
|
href: "#",
|
|
93136
93139
|
onClick: Pa(x, ["prevent"]),
|
|
@@ -93139,14 +93142,14 @@ const t8e = /* @__PURE__ */ Ii(zPe, [["render", XPe]]), jPe = {
|
|
|
93139
93142
|
W("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1),
|
|
93140
93143
|
to(" Remove")
|
|
93141
93144
|
]))
|
|
93142
|
-
])) :
|
|
93145
|
+
])) : Qt("", !0)
|
|
93143
93146
|
])
|
|
93144
93147
|
], 512), [
|
|
93145
93148
|
[Cf, l.value]
|
|
93146
93149
|
])
|
|
93147
93150
|
])), [
|
|
93148
93151
|
[H, f]
|
|
93149
|
-
]) :
|
|
93152
|
+
]) : Qt("", !0)
|
|
93150
93153
|
], 64);
|
|
93151
93154
|
};
|
|
93152
93155
|
}
|
|
@@ -93203,13 +93206,13 @@ const t8e = /* @__PURE__ */ Ii(zPe, [["render", XPe]]), jPe = {
|
|
|
93203
93206
|
};
|
|
93204
93207
|
return (R, M) => {
|
|
93205
93208
|
const H = dA("click-outside");
|
|
93206
|
-
return
|
|
93209
|
+
return Le(), Xe(so, null, [
|
|
93207
93210
|
tu(bz, {
|
|
93208
93211
|
isOpen: c.value,
|
|
93209
93212
|
onConfirmDelete: T,
|
|
93210
93213
|
onCancelDelete: b
|
|
93211
93214
|
}, null, 8, ["isOpen"]),
|
|
93212
|
-
r.row && R.can(`delete_${r.xprops.permission}`) ? Er((
|
|
93215
|
+
r.row && R.can(`delete_${r.xprops.permission}`) ? Er((Le(), Xe("div", i$e, [
|
|
93213
93216
|
W("button", {
|
|
93214
93217
|
onClick: h,
|
|
93215
93218
|
class: "inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-hidden dark:text-white focus:ring-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-600",
|
|
@@ -93227,7 +93230,7 @@ const t8e = /* @__PURE__ */ Ii(zPe, [["render", XPe]]), jPe = {
|
|
|
93227
93230
|
])),
|
|
93228
93231
|
Er(W("div", a$e, [
|
|
93229
93232
|
W("ul", l$e, [
|
|
93230
|
-
R.can(`delete_${r.xprops.permission}`) ? (
|
|
93233
|
+
R.can(`delete_${r.xprops.permission}`) ? (Le(), Xe("li", c$e, [
|
|
93231
93234
|
W("a", {
|
|
93232
93235
|
href: "#",
|
|
93233
93236
|
onClick: Pa(x, ["prevent"]),
|
|
@@ -93236,14 +93239,14 @@ const t8e = /* @__PURE__ */ Ii(zPe, [["render", XPe]]), jPe = {
|
|
|
93236
93239
|
W("i", { class: "mr-2 fa-solid fa-trash-can opacity-80" }, null, -1),
|
|
93237
93240
|
to(" Remove")
|
|
93238
93241
|
]))
|
|
93239
|
-
])) :
|
|
93242
|
+
])) : Qt("", !0)
|
|
93240
93243
|
])
|
|
93241
93244
|
], 512), [
|
|
93242
93245
|
[Cf, l.value]
|
|
93243
93246
|
])
|
|
93244
93247
|
])), [
|
|
93245
93248
|
[H, f]
|
|
93246
|
-
]) :
|
|
93249
|
+
]) : Qt("", !0)
|
|
93247
93250
|
], 64);
|
|
93248
93251
|
};
|
|
93249
93252
|
}
|
|
@@ -93310,14 +93313,14 @@ const t8e = /* @__PURE__ */ Ii(zPe, [["render", XPe]]), jPe = {
|
|
|
93310
93313
|
return (M, H) => {
|
|
93311
93314
|
var G, ee;
|
|
93312
93315
|
const q = dA("click-outside");
|
|
93313
|
-
return
|
|
93316
|
+
return Le(), Xe(so, null, [
|
|
93314
93317
|
tu(bz, {
|
|
93315
93318
|
language: r.language,
|
|
93316
93319
|
isOpen: c.value,
|
|
93317
93320
|
onConfirmDelete: R,
|
|
93318
93321
|
onCancelDelete: f
|
|
93319
93322
|
}, null, 8, ["language", "isOpen"]),
|
|
93320
|
-
r.row && (M.can(`delete_${r.xprops.permission}`) || M.can(`access_${r.xprops.permission}`)) ? Er((
|
|
93323
|
+
r.row && (M.can(`delete_${r.xprops.permission}`) || M.can(`access_${r.xprops.permission}`)) ? Er((Le(), Xe("div", u$e, [
|
|
93321
93324
|
W("button", {
|
|
93322
93325
|
onClick: x,
|
|
93323
93326
|
class: "inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-hidden dark:text-white focus:ring-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-600",
|
|
@@ -93335,7 +93338,7 @@ const t8e = /* @__PURE__ */ Ii(zPe, [["render", XPe]]), jPe = {
|
|
|
93335
93338
|
])),
|
|
93336
93339
|
Er(W("div", d$e, [
|
|
93337
93340
|
W("ul", f$e, [
|
|
93338
|
-
M.can(`access_${r.xprops.permission}`) ? (
|
|
93341
|
+
M.can(`access_${r.xprops.permission}`) ? (Le(), Xe("li", h$e, [
|
|
93339
93342
|
W("a", {
|
|
93340
93343
|
href: "#",
|
|
93341
93344
|
onClick: H[0] || (H[0] = Pa((ve) => T(r.row), ["prevent"])),
|
|
@@ -93344,8 +93347,8 @@ const t8e = /* @__PURE__ */ Ii(zPe, [["render", XPe]]), jPe = {
|
|
|
93344
93347
|
H[2] || (H[2] = W("i", { class: "mr-1 fa-solid fa-pen-to-square opacity-80" }, null, -1)),
|
|
93345
93348
|
to(" " + Gt(((G = r.language) == null ? void 0 : G.edit) ?? "Edit"), 1)
|
|
93346
93349
|
])
|
|
93347
|
-
])) :
|
|
93348
|
-
M.can(`delete_${r.xprops.permission}`) ? (
|
|
93350
|
+
])) : Qt("", !0),
|
|
93351
|
+
M.can(`delete_${r.xprops.permission}`) ? (Le(), Xe("li", m$e, [
|
|
93349
93352
|
W("a", {
|
|
93350
93353
|
href: "#",
|
|
93351
93354
|
onClick: Pa(h, ["prevent"]),
|
|
@@ -93354,14 +93357,14 @@ const t8e = /* @__PURE__ */ Ii(zPe, [["render", XPe]]), jPe = {
|
|
|
93354
93357
|
H[3] || (H[3] = W("i", { class: "mr-1 fa-solid fa-trash-can opacity-80" }, null, -1)),
|
|
93355
93358
|
to(" " + Gt(((ee = r.language) == null ? void 0 : ee.remove) ?? "Remove"), 1)
|
|
93356
93359
|
])
|
|
93357
|
-
])) :
|
|
93360
|
+
])) : Qt("", !0)
|
|
93358
93361
|
])
|
|
93359
93362
|
], 512), [
|
|
93360
93363
|
[Cf, l.value]
|
|
93361
93364
|
])
|
|
93362
93365
|
])), [
|
|
93363
93366
|
[q, b]
|
|
93364
|
-
]) :
|
|
93367
|
+
]) : Qt("", !0)
|
|
93365
93368
|
], 64);
|
|
93366
93369
|
};
|
|
93367
93370
|
}
|
|
@@ -93385,8 +93388,8 @@ const t8e = /* @__PURE__ */ Ii(zPe, [["render", XPe]]), jPe = {
|
|
|
93385
93388
|
class: "m-1 d-inline-block"
|
|
93386
93389
|
}, v$e = ["href", "title"];
|
|
93387
93390
|
function y$e(r, t, s, l, c, f) {
|
|
93388
|
-
return
|
|
93389
|
-
f.isArray ? (
|
|
93391
|
+
return Le(), Xe("div", null, [
|
|
93392
|
+
f.isArray ? (Le(!0), Xe(so, { key: 0 }, jr(s.row, (h, b) => (Le(), Xe("div", {
|
|
93390
93393
|
key: b,
|
|
93391
93394
|
class: "m-1 d-inline-block"
|
|
93392
93395
|
}, [
|
|
@@ -93416,7 +93419,7 @@ function y$e(r, t, s, l, c, f) {
|
|
|
93416
93419
|
], -1),
|
|
93417
93420
|
to(" Download ")
|
|
93418
93421
|
]), 8, p$e)
|
|
93419
|
-
]))), 128)) : f.isString ? (
|
|
93422
|
+
]))), 128)) : f.isString ? (Le(), Xe("div", b$e, [
|
|
93420
93423
|
W("a", {
|
|
93421
93424
|
href: s.row,
|
|
93422
93425
|
title: s.row,
|
|
@@ -93443,7 +93446,7 @@ function y$e(r, t, s, l, c, f) {
|
|
|
93443
93446
|
], -1),
|
|
93444
93447
|
to(" Download ")
|
|
93445
93448
|
]), 8, v$e)
|
|
93446
|
-
])) :
|
|
93449
|
+
])) : Qt("", !0)
|
|
93447
93450
|
]);
|
|
93448
93451
|
}
|
|
93449
93452
|
const i8e = /* @__PURE__ */ Ii(g$e, [["render", y$e]]), O$e = {
|
|
@@ -93461,7 +93464,7 @@ const i8e = /* @__PURE__ */ Ii(g$e, [["render", y$e]]), O$e = {
|
|
|
93461
93464
|
class: "m-1 d-inline-block"
|
|
93462
93465
|
}, S$e = ["href", "title"];
|
|
93463
93466
|
function C$e(r, t, s, l, c, f) {
|
|
93464
|
-
return f.isArray ? (
|
|
93467
|
+
return f.isArray ? (Le(!0), Xe(so, { key: 0 }, jr(s.row[s.field], (h) => (Le(), Xe("div", {
|
|
93465
93468
|
key: h.id,
|
|
93466
93469
|
class: "m-1 d-inline-block"
|
|
93467
93470
|
}, [
|
|
@@ -93491,7 +93494,7 @@ function C$e(r, t, s, l, c, f) {
|
|
|
93491
93494
|
], -1),
|
|
93492
93495
|
to(" Download ")
|
|
93493
93496
|
]), 8, x$e)
|
|
93494
|
-
]))), 128)) : f.isObject ? (
|
|
93497
|
+
]))), 128)) : f.isObject ? (Le(), Xe("div", w$e, [
|
|
93495
93498
|
W("a", {
|
|
93496
93499
|
href: s.row[s.field].url,
|
|
93497
93500
|
title: s.row[s.field].name,
|
|
@@ -93518,18 +93521,18 @@ function C$e(r, t, s, l, c, f) {
|
|
|
93518
93521
|
], -1),
|
|
93519
93522
|
to(" Download ")
|
|
93520
93523
|
]), 8, S$e)
|
|
93521
|
-
])) :
|
|
93524
|
+
])) : Qt("", !0);
|
|
93522
93525
|
}
|
|
93523
93526
|
const a8e = /* @__PURE__ */ Ii(O$e, [["render", C$e]]), k$e = {
|
|
93524
93527
|
props: ["field", "row", "tdProps"]
|
|
93525
93528
|
}, _$e = { key: 0 }, T$e = ["innerHTML"];
|
|
93526
93529
|
function E$e(r, t, s, l, c, f) {
|
|
93527
|
-
return s.row[s.field] ? (
|
|
93530
|
+
return s.row[s.field] ? (Le(), Xe("div", _$e, [
|
|
93528
93531
|
W("div", {
|
|
93529
93532
|
class: "w-full",
|
|
93530
93533
|
innerHTML: s.row[s.field]
|
|
93531
93534
|
}, null, 8, T$e)
|
|
93532
|
-
])) :
|
|
93535
|
+
])) : Qt("", !0);
|
|
93533
93536
|
}
|
|
93534
93537
|
const l8e = /* @__PURE__ */ Ii(k$e, [["render", E$e]]), A$e = {
|
|
93535
93538
|
props: ["field", "row", "tdProps"],
|
|
@@ -93553,12 +93556,12 @@ const l8e = /* @__PURE__ */ Ii(k$e, [["render", E$e]]), A$e = {
|
|
|
93553
93556
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded-sm dark:bg-blue-900 dark:text-blue-300"
|
|
93554
93557
|
};
|
|
93555
93558
|
function D$e(r, t, s, l, c, f) {
|
|
93556
|
-
return this.row[this.entry.key] ? (
|
|
93557
|
-
f.isArray ? (
|
|
93559
|
+
return this.row[this.entry.key] ? (Le(), Xe("div", P$e, [
|
|
93560
|
+
f.isArray ? (Le(!0), Xe(so, { key: 0 }, jr(s.row[f.entry.key], (h, b) => (Le(), Xe("span", {
|
|
93558
93561
|
key: b,
|
|
93559
93562
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded-sm dark:bg-blue-900 dark:text-blue-300"
|
|
93560
|
-
}, Gt(h[f.entry.field]), 1))), 128)) : f.isObject ? (
|
|
93561
|
-
])) :
|
|
93563
|
+
}, Gt(h[f.entry.field]), 1))), 128)) : f.isObject ? (Le(), Xe("span", $$e, Gt(s.row[f.entry.key][f.entry.field]), 1)) : Qt("", !0)
|
|
93564
|
+
])) : Qt("", !0);
|
|
93562
93565
|
}
|
|
93563
93566
|
const c8e = /* @__PURE__ */ Ii(A$e, [["render", D$e]]), R$e = {
|
|
93564
93567
|
props: ["field", "row", "tdProps"],
|
|
@@ -93584,18 +93587,18 @@ const c8e = /* @__PURE__ */ Ii(A$e, [["render", D$e]]), R$e = {
|
|
|
93584
93587
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded-sm dark:bg-blue-900 dark:text-blue-300"
|
|
93585
93588
|
};
|
|
93586
93589
|
function F$e(r, t, s, l, c, f) {
|
|
93587
|
-
return
|
|
93588
|
-
f.isArray ? (
|
|
93590
|
+
return Le(), Xe("div", M$e, [
|
|
93591
|
+
f.isArray ? (Le(!0), Xe(so, { key: 0 }, jr(f.getNestedValue(s.row, f.entry.keys), (h, b) => (Le(), Xe("span", {
|
|
93589
93592
|
key: b,
|
|
93590
93593
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded-sm dark:bg-blue-900 dark:text-blue-300"
|
|
93591
|
-
}, Gt(h[f.entry.field]), 1))), 128)) : f.isObject ? (
|
|
93594
|
+
}, Gt(h[f.entry.field]), 1))), 128)) : f.isObject ? (Le(), Xe("span", N$e, Gt(f.getNestedValue(s.row, f.entry.keys)[f.entry.field]), 1)) : Qt("", !0)
|
|
93592
93595
|
]);
|
|
93593
93596
|
}
|
|
93594
93597
|
const u8e = /* @__PURE__ */ Ii(R$e, [["render", F$e]]), B$e = {
|
|
93595
93598
|
props: ["field", "row", "tdProps"]
|
|
93596
93599
|
}, I$e = { key: 0 }, L$e = { class: "m-1 d-inline-block" }, Q$e = ["href", "title"], V$e = ["src", "alt", "title"];
|
|
93597
93600
|
function H$e(r, t, s, l, c, f) {
|
|
93598
|
-
return s.row[s.field] ? (
|
|
93601
|
+
return s.row[s.field] ? (Le(), Xe("div", I$e, [
|
|
93599
93602
|
W("div", L$e, [
|
|
93600
93603
|
W("a", {
|
|
93601
93604
|
href: s.row[s.field].url,
|
|
@@ -93609,7 +93612,7 @@ function H$e(r, t, s, l, c, f) {
|
|
|
93609
93612
|
}, null, 8, V$e)
|
|
93610
93613
|
], 8, Q$e)
|
|
93611
93614
|
])
|
|
93612
|
-
])) :
|
|
93615
|
+
])) : Qt("", !0);
|
|
93613
93616
|
}
|
|
93614
93617
|
const d8e = /* @__PURE__ */ Ii(B$e, [["render", H$e], ["__scopeId", "data-v-18c4893e"]]), z$e = {
|
|
93615
93618
|
props: ["field", "row", "tdProps"],
|
|
@@ -93626,8 +93629,8 @@ const d8e = /* @__PURE__ */ Ii(B$e, [["render", H$e], ["__scopeId", "data-v-18c4
|
|
|
93626
93629
|
class: "grid grid-cols-2 gap-4"
|
|
93627
93630
|
}, U$e = ["src", "alt"], W$e = { key: 1 }, X$e = ["src", "alt"];
|
|
93628
93631
|
function j$e(r, t, s, l, c, f) {
|
|
93629
|
-
return f.isArray ? (
|
|
93630
|
-
(
|
|
93632
|
+
return f.isArray ? (Le(), Xe("div", Z$e, [
|
|
93633
|
+
(Le(!0), Xe(so, null, jr(s.row[s.field], (h) => (Le(), Xe("div", {
|
|
93631
93634
|
key: h.id
|
|
93632
93635
|
}, [
|
|
93633
93636
|
W("img", {
|
|
@@ -93636,13 +93639,13 @@ function j$e(r, t, s, l, c, f) {
|
|
|
93636
93639
|
alt: h.file_name
|
|
93637
93640
|
}, null, 8, U$e)
|
|
93638
93641
|
]))), 128))
|
|
93639
|
-
])) : f.isObject ? (
|
|
93642
|
+
])) : f.isObject ? (Le(), Xe("div", W$e, [
|
|
93640
93643
|
W("img", {
|
|
93641
93644
|
class: "h-auto max-w-full rounded-lg",
|
|
93642
93645
|
src: s.row[s.field].thumbnail,
|
|
93643
93646
|
alt: s.row[s.field].file_name
|
|
93644
93647
|
}, null, 8, X$e)
|
|
93645
|
-
])) :
|
|
93648
|
+
])) : Qt("", !0);
|
|
93646
93649
|
}
|
|
93647
93650
|
const f8e = /* @__PURE__ */ Ii(z$e, [["render", j$e]]), q$e = {
|
|
93648
93651
|
props: ["field", "row", "tdProps"],
|
|
@@ -93659,11 +93662,11 @@ const f8e = /* @__PURE__ */ Ii(z$e, [["render", j$e]]), q$e = {
|
|
|
93659
93662
|
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"
|
|
93660
93663
|
};
|
|
93661
93664
|
function J$e(r, t, s, l, c, f) {
|
|
93662
|
-
return
|
|
93663
|
-
f.isActive ? (
|
|
93665
|
+
return Le(), Xe("div", G$e, [
|
|
93666
|
+
f.isActive ? (Le(), Xe("span", Y$e, t[0] || (t[0] = [
|
|
93664
93667
|
W("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1),
|
|
93665
93668
|
to(" Active ")
|
|
93666
|
-
]))) : f.isActive ?
|
|
93669
|
+
]))) : f.isActive ? Qt("", !0) : (Le(), Xe("span", K$e, t[1] || (t[1] = [
|
|
93667
93670
|
W("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1),
|
|
93668
93671
|
to(" Inactive ")
|
|
93669
93672
|
])))
|
|
@@ -93696,30 +93699,30 @@ const h8e = /* @__PURE__ */ Ii(q$e, [["render", J$e]]), eDe = {
|
|
|
93696
93699
|
class: "inline-flex items-center px-2 py-1 text-sm text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300"
|
|
93697
93700
|
};
|
|
93698
93701
|
function aDe(r, t, s, l, c, f) {
|
|
93699
|
-
return
|
|
93700
|
-
f.hasLabelColor == "green" ? (
|
|
93702
|
+
return Le(), Xe("div", tDe, [
|
|
93703
|
+
f.hasLabelColor == "green" ? (Le(), Xe("span", nDe, [
|
|
93701
93704
|
t[0] || (t[0] = W("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1)),
|
|
93702
93705
|
to(" " + Gt(this.row[this.field]), 1)
|
|
93703
|
-
])) :
|
|
93704
|
-
f.hasLabelColor == "red" ? (
|
|
93706
|
+
])) : Qt("", !0),
|
|
93707
|
+
f.hasLabelColor == "red" ? (Le(), Xe("span", sDe, [
|
|
93705
93708
|
t[1] || (t[1] = W("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1)),
|
|
93706
93709
|
to(" " + Gt(this.row[this.field]), 1)
|
|
93707
|
-
])) :
|
|
93708
|
-
f.hasLabelColor == "yellow" ? (
|
|
93710
|
+
])) : Qt("", !0),
|
|
93711
|
+
f.hasLabelColor == "yellow" ? (Le(), Xe("span", oDe, [
|
|
93709
93712
|
t[2] || (t[2] = W("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1)),
|
|
93710
93713
|
to(" " + Gt(this.row[this.field]), 1)
|
|
93711
|
-
])) :
|
|
93712
|
-
f.hasLabelColor == "default" ? (
|
|
93714
|
+
])) : Qt("", !0),
|
|
93715
|
+
f.hasLabelColor == "default" ? (Le(), Xe("span", rDe, [
|
|
93713
93716
|
t[3] || (t[3] = W("span", { class: "w-2 h-2 bg-blue-500 rounded-full me-1" }, null, -1)),
|
|
93714
93717
|
to(" " + Gt(this.row[this.field]), 1)
|
|
93715
|
-
])) :
|
|
93716
|
-
f.hasLabelColor == "animate" ? (
|
|
93718
|
+
])) : Qt("", !0),
|
|
93719
|
+
f.hasLabelColor == "animate" ? (Le(), Xe("span", iDe, [
|
|
93717
93720
|
t[4] || (t[4] = W("span", { class: "relative flex w-2 h-2 mr-1" }, [
|
|
93718
93721
|
W("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
93719
93722
|
W("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
93720
93723
|
], -1)),
|
|
93721
93724
|
to(" " + Gt(this.row[this.field]), 1)
|
|
93722
|
-
])) :
|
|
93725
|
+
])) : Qt("", !0)
|
|
93723
93726
|
]);
|
|
93724
93727
|
}
|
|
93725
93728
|
const m8e = /* @__PURE__ */ Ii(eDe, [["render", aDe]]), lDe = {
|
|
@@ -93745,39 +93748,39 @@ const m8e = /* @__PURE__ */ Ii(eDe, [["render", aDe]]), lDe = {
|
|
|
93745
93748
|
}
|
|
93746
93749
|
}, cDe = { class: "flex flex-wrap gap-2 text-nowrap lg:justify-center" };
|
|
93747
93750
|
function uDe(r, t, s, l, c, f) {
|
|
93748
|
-
return
|
|
93749
|
-
f.hasLabelColor == "Default" ? (
|
|
93751
|
+
return Le(), Xe("div", cDe, [
|
|
93752
|
+
f.hasLabelColor == "Default" ? (Le(), Xe("span", {
|
|
93750
93753
|
key: 0,
|
|
93751
93754
|
class: Nn(["bg-blue-100 text-blue-800 font-medium me-2 px-2.5 py-0.5 dark:bg-blue-900 dark:text-blue-300 border-blue-400", f.badgeType])
|
|
93752
|
-
}, Gt(this.row[this.field]), 3)) :
|
|
93753
|
-
f.hasLabelColor == "Dark" ? (
|
|
93755
|
+
}, Gt(this.row[this.field]), 3)) : Qt("", !0),
|
|
93756
|
+
f.hasLabelColor == "Dark" ? (Le(), Xe("span", {
|
|
93754
93757
|
key: 1,
|
|
93755
93758
|
class: Nn(["bg-gray-100 text-gray-800 font-medium me-2 px-2.5 py-0.5 dark:bg-gray-700 dark:text-gray-300 border-gray-500", f.badgeType])
|
|
93756
|
-
}, Gt(this.row[this.field]), 3)) :
|
|
93757
|
-
f.hasLabelColor == "Red" ? (
|
|
93759
|
+
}, Gt(this.row[this.field]), 3)) : Qt("", !0),
|
|
93760
|
+
f.hasLabelColor == "Red" ? (Le(), Xe("span", {
|
|
93758
93761
|
key: 2,
|
|
93759
93762
|
class: Nn(["bg-red-100 text-red-800 font-medium me-2 px-2.5 py-0.5 dark:bg-red-900 dark:text-red-300 border-red-400", f.badgeType])
|
|
93760
|
-
}, Gt(this.row[this.field]), 3)) :
|
|
93761
|
-
f.hasLabelColor == "Green" ? (
|
|
93763
|
+
}, Gt(this.row[this.field]), 3)) : Qt("", !0),
|
|
93764
|
+
f.hasLabelColor == "Green" ? (Le(), Xe("span", {
|
|
93762
93765
|
key: 3,
|
|
93763
93766
|
class: Nn(["bg-green-100 text-green-800 font-medium me-2 px-2.5 py-0.5 dark:bg-green-900 dark:text-green-300 border-green-400", f.badgeType])
|
|
93764
|
-
}, Gt(this.row[this.field]), 3)) :
|
|
93765
|
-
f.hasLabelColor == "Yellow" ? (
|
|
93767
|
+
}, Gt(this.row[this.field]), 3)) : Qt("", !0),
|
|
93768
|
+
f.hasLabelColor == "Yellow" ? (Le(), Xe("span", {
|
|
93766
93769
|
key: 4,
|
|
93767
93770
|
class: Nn(["bg-yellow-100 text-yellow-800 font-medium me-2 px-2.5 py-0.5 dark:bg-yellow-900 dark:text-yellow-300 border-yellow-300", f.badgeType])
|
|
93768
|
-
}, Gt(this.row[this.field]), 3)) :
|
|
93769
|
-
f.hasLabelColor == "Indigo" ? (
|
|
93771
|
+
}, Gt(this.row[this.field]), 3)) : Qt("", !0),
|
|
93772
|
+
f.hasLabelColor == "Indigo" ? (Le(), Xe("span", {
|
|
93770
93773
|
key: 5,
|
|
93771
93774
|
class: Nn(["bg-indigo-100 text-indigo-800 font-medium me-2 px-2.5 py-0.5 dark:bg-indigo-900 dark:text-indigo-300 border-indigo-400", f.badgeType])
|
|
93772
|
-
}, Gt(this.row[this.field]), 3)) :
|
|
93773
|
-
f.hasLabelColor == "Purple" ? (
|
|
93775
|
+
}, Gt(this.row[this.field]), 3)) : Qt("", !0),
|
|
93776
|
+
f.hasLabelColor == "Purple" ? (Le(), Xe("span", {
|
|
93774
93777
|
key: 6,
|
|
93775
93778
|
class: Nn(["bg-purple-100 text-purple-800 font-medium me-2 px-2.5 py-0.5 dark:bg-purple-900 dark:text-purple-300 border-purple-400", f.badgeType])
|
|
93776
|
-
}, Gt(this.row[this.field]), 3)) :
|
|
93777
|
-
f.hasLabelColor == "Pink" ? (
|
|
93779
|
+
}, Gt(this.row[this.field]), 3)) : Qt("", !0),
|
|
93780
|
+
f.hasLabelColor == "Pink" ? (Le(), Xe("span", {
|
|
93778
93781
|
key: 7,
|
|
93779
93782
|
class: Nn(["bg-pink-100 text-pink-800 font-medium me-2 px-2.5 py-0.5 dark:bg-pink-900 dark:text-pink-300 border-pink-400", f.badgeType])
|
|
93780
|
-
}, Gt(this.row[this.field]), 3)) :
|
|
93783
|
+
}, Gt(this.row[this.field]), 3)) : Qt("", !0)
|
|
93781
93784
|
]);
|
|
93782
93785
|
}
|
|
93783
93786
|
const g8e = /* @__PURE__ */ Ii(lDe, [["render", uDe]]), dDe = {
|
|
@@ -93831,30 +93834,30 @@ const g8e = /* @__PURE__ */ Ii(lDe, [["render", uDe]]), dDe = {
|
|
|
93831
93834
|
class: "inline-flex items-center px-2 py-1 text-sm text-blue-800 bg-blue-100 rounded-full dark:bg-blue-900 dark:text-blue-300"
|
|
93832
93835
|
};
|
|
93833
93836
|
function vDe(r, t, s, l, c, f) {
|
|
93834
|
-
return
|
|
93835
|
-
f.hasLabelColor == "green" ? (
|
|
93837
|
+
return Le(), Xe("div", fDe, [
|
|
93838
|
+
f.hasLabelColor == "green" ? (Le(), Xe("span", hDe, [
|
|
93836
93839
|
t[0] || (t[0] = W("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1)),
|
|
93837
93840
|
to(" " + Gt(f.getLabel), 1)
|
|
93838
|
-
])) :
|
|
93839
|
-
f.hasLabelColor == "red" ? (
|
|
93841
|
+
])) : Qt("", !0),
|
|
93842
|
+
f.hasLabelColor == "red" ? (Le(), Xe("span", mDe, [
|
|
93840
93843
|
t[1] || (t[1] = W("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1)),
|
|
93841
93844
|
to(" " + Gt(f.getLabel), 1)
|
|
93842
|
-
])) :
|
|
93843
|
-
f.hasLabelColor == "yellow" ? (
|
|
93845
|
+
])) : Qt("", !0),
|
|
93846
|
+
f.hasLabelColor == "yellow" ? (Le(), Xe("span", gDe, [
|
|
93844
93847
|
t[2] || (t[2] = W("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1)),
|
|
93845
93848
|
to(" " + Gt(f.getLabel), 1)
|
|
93846
|
-
])) :
|
|
93847
|
-
f.hasLabelColor == "default" ? (
|
|
93849
|
+
])) : Qt("", !0),
|
|
93850
|
+
f.hasLabelColor == "default" ? (Le(), Xe("span", pDe, [
|
|
93848
93851
|
t[3] || (t[3] = W("span", { class: "w-2 h-2 bg-blue-500 rounded-full me-1" }, null, -1)),
|
|
93849
93852
|
to(" " + Gt(f.getLabel), 1)
|
|
93850
|
-
])) :
|
|
93851
|
-
f.hasLabelColor == "animate" ? (
|
|
93853
|
+
])) : Qt("", !0),
|
|
93854
|
+
f.hasLabelColor == "animate" ? (Le(), Xe("span", bDe, [
|
|
93852
93855
|
t[4] || (t[4] = W("span", { class: "relative flex w-2 h-2 mr-1" }, [
|
|
93853
93856
|
W("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
93854
93857
|
W("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
93855
93858
|
], -1)),
|
|
93856
93859
|
to(" " + Gt(f.getLabel), 1)
|
|
93857
|
-
])) :
|
|
93860
|
+
])) : Qt("", !0)
|
|
93858
93861
|
]);
|
|
93859
93862
|
}
|
|
93860
93863
|
const p8e = /* @__PURE__ */ Ii(dDe, [["render", vDe]]), yDe = {
|
|
@@ -93871,7 +93874,7 @@ const p8e = /* @__PURE__ */ Ii(dDe, [["render", vDe]]), yDe = {
|
|
|
93871
93874
|
}
|
|
93872
93875
|
}, ODe = { class: "w-full" };
|
|
93873
93876
|
function xDe(r, t, s, l, c, f) {
|
|
93874
|
-
return
|
|
93877
|
+
return Le(), Xe("div", ODe, Gt(f.formattedDate), 1);
|
|
93875
93878
|
}
|
|
93876
93879
|
const b8e = /* @__PURE__ */ Ii(yDe, [["render", xDe]]), wDe = {
|
|
93877
93880
|
props: ["field", "row", "tdProps"],
|
|
@@ -93885,7 +93888,7 @@ const b8e = /* @__PURE__ */ Ii(yDe, [["render", xDe]]), wDe = {
|
|
|
93885
93888
|
}
|
|
93886
93889
|
}, SDe = { class: "w-full" };
|
|
93887
93890
|
function CDe(r, t, s, l, c, f) {
|
|
93888
|
-
return
|
|
93891
|
+
return Le(), Xe("div", SDe, Gt(f.formattedDate), 1);
|
|
93889
93892
|
}
|
|
93890
93893
|
const v8e = /* @__PURE__ */ Ii(wDe, [["render", CDe]]), kDe = {
|
|
93891
93894
|
props: ["field", "row", "tdProps"]
|
|
@@ -93900,22 +93903,22 @@ const v8e = /* @__PURE__ */ Ii(wDe, [["render", CDe]]), kDe = {
|
|
|
93900
93903
|
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"
|
|
93901
93904
|
};
|
|
93902
93905
|
function PDe(r, t, s, l, c, f) {
|
|
93903
|
-
return
|
|
93904
|
-
s.row[s.field] === 0 ? (
|
|
93906
|
+
return Le(), Xe("div", _De, [
|
|
93907
|
+
s.row[s.field] === 0 ? (Le(), Xe("span", TDe, t[0] || (t[0] = [
|
|
93905
93908
|
W("span", { class: "relative flex w-2 h-2 mr-1" }, [
|
|
93906
93909
|
W("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
93907
93910
|
W("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
93908
93911
|
], -1),
|
|
93909
93912
|
to(" Provisioning")
|
|
93910
|
-
]))) :
|
|
93911
|
-
s.row[s.field] === 2 ? (
|
|
93913
|
+
]))) : Qt("", !0),
|
|
93914
|
+
s.row[s.field] === 2 ? (Le(), Xe("span", EDe, t[1] || (t[1] = [
|
|
93912
93915
|
W("span", { class: "w-2 h-2 bg-yellow-500 rounded-full me-1" }, null, -1),
|
|
93913
93916
|
to(" Paused ")
|
|
93914
|
-
]))) :
|
|
93915
|
-
s.row[s.field] === 1 ? (
|
|
93917
|
+
]))) : Qt("", !0),
|
|
93918
|
+
s.row[s.field] === 1 ? (Le(), Xe("span", ADe, t[2] || (t[2] = [
|
|
93916
93919
|
W("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1),
|
|
93917
93920
|
to(" Active ")
|
|
93918
|
-
]))) :
|
|
93921
|
+
]))) : Qt("", !0)
|
|
93919
93922
|
]);
|
|
93920
93923
|
}
|
|
93921
93924
|
const y8e = /* @__PURE__ */ Ii(kDe, [["render", PDe]]), $De = {
|
|
@@ -93925,10 +93928,10 @@ const y8e = /* @__PURE__ */ Ii(kDe, [["render", PDe]]), $De = {
|
|
|
93925
93928
|
class: "text-nowrap w-full"
|
|
93926
93929
|
}, RDe = { class: "w-full h-full p-3 mx-0 mt-0 overflow-auto font-mono text-left break-words rounded-sm cursor-default whitespace-nowrap console_styles" };
|
|
93927
93930
|
function MDe(r, t, s, l, c, f) {
|
|
93928
|
-
return s.row[s.field] ? (
|
|
93931
|
+
return s.row[s.field] ? (Le(), Xe("div", DDe, [
|
|
93929
93932
|
W("pre", RDe, " " + Gt(s.row[s.field]) + `
|
|
93930
93933
|
`, 1)
|
|
93931
|
-
])) :
|
|
93934
|
+
])) : Qt("", !0);
|
|
93932
93935
|
}
|
|
93933
93936
|
const O8e = /* @__PURE__ */ Ii($De, [["render", MDe]]), NDe = {
|
|
93934
93937
|
components: {
|
|
@@ -93951,7 +93954,7 @@ const O8e = /* @__PURE__ */ Ii($De, [["render", MDe]]), NDe = {
|
|
|
93951
93954
|
}, BDe = { class: "flex items-center justify-center min-h-screen px-4 pt-4 pb-20 text-center sm:p-0" }, IDe = { class: "inline-block relative 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" }, LDe = { class: "px-4 pt-5 pb-4 sm:p-6 sm:pb-4" }, QDe = { class: "sm:flex sm:items-start" }, VDe = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, HDe = { class: "text-lg font-medium leading-6" }, zDe = { class: "mt-2" }, ZDe = { 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" };
|
|
93952
93955
|
function UDe(r, t, s, l, c, f) {
|
|
93953
93956
|
const h = Rd("gl-button");
|
|
93954
|
-
return s.isOpen ? (
|
|
93957
|
+
return s.isOpen ? (Le(), Xe("div", FDe, [
|
|
93955
93958
|
W("div", BDe, [
|
|
93956
93959
|
t[1] || (t[1] = W("div", {
|
|
93957
93960
|
class: "fixed inset-0 transition-opacity bg-gray-500/75",
|
|
@@ -93996,7 +93999,7 @@ function UDe(r, t, s, l, c, f) {
|
|
|
93996
93999
|
])
|
|
93997
94000
|
])
|
|
93998
94001
|
])
|
|
93999
|
-
])) :
|
|
94002
|
+
])) : Qt("", !0);
|
|
94000
94003
|
}
|
|
94001
94004
|
const x8e = /* @__PURE__ */ Ii(NDe, [["render", UDe]]), WDe = { class: "w-full" }, XDe = { class: "mb-2 flex justify-between items-center" }, jDe = { class: "text-sm font-medium text-gray-900 dark:text-white" }, qDe = { class: "relative bg-gray-50 rounded-lg dark:bg-gray-700 p-4 h-auto" }, GDe = { class: "overflow-auto max-h-32" }, YDe = { class: "text-sm text-gray-500 dark:text-gray-400" }, KDe = { class: "absolute top-2 end-2 bg-gray-50 dark:bg-gray-700" }, JDe = {
|
|
94002
94005
|
key: 0,
|
|
@@ -94030,7 +94033,7 @@ const x8e = /* @__PURE__ */ Ii(NDe, [["render", UDe]]), WDe = { class: "w-full"
|
|
|
94030
94033
|
console.error("Error copying to clipboard: ", h);
|
|
94031
94034
|
});
|
|
94032
94035
|
}, c = Id(() => t.code);
|
|
94033
|
-
return (f, h) => (
|
|
94036
|
+
return (f, h) => (Le(), Xe("div", WDe, [
|
|
94034
94037
|
W("div", XDe, [
|
|
94035
94038
|
W("p", jDe, Gt(r.label_name), 1)
|
|
94036
94039
|
]),
|
|
@@ -94043,7 +94046,7 @@ const x8e = /* @__PURE__ */ Ii(NDe, [["render", UDe]]), WDe = { class: "w-full"
|
|
|
94043
94046
|
onClick: h[0] || (h[0] = (b) => l(c.value)),
|
|
94044
94047
|
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"
|
|
94045
94048
|
}, [
|
|
94046
|
-
s.value ?
|
|
94049
|
+
s.value ? Qt("", !0) : (Le(), Xe("span", JDe, h[1] || (h[1] = [
|
|
94047
94050
|
W("svg", {
|
|
94048
94051
|
class: "w-3 h-3 me-2",
|
|
94049
94052
|
"aria-hidden": "true",
|
|
@@ -94055,7 +94058,7 @@ const x8e = /* @__PURE__ */ Ii(NDe, [["render", UDe]]), WDe = { class: "w-full"
|
|
|
94055
94058
|
], -1),
|
|
94056
94059
|
W("span", { class: "text-xs font-semibold" }, "Copy", -1)
|
|
94057
94060
|
]))),
|
|
94058
|
-
s.value ? (
|
|
94061
|
+
s.value ? (Le(), Xe("span", eRe, h[2] || (h[2] = [
|
|
94059
94062
|
W("svg", {
|
|
94060
94063
|
class: "w-3 h-3 text-blue-700 dark:text-blue-500 me-2",
|
|
94061
94064
|
"aria-hidden": "true",
|
|
@@ -94072,7 +94075,7 @@ const x8e = /* @__PURE__ */ Ii(NDe, [["render", UDe]]), WDe = { class: "w-full"
|
|
|
94072
94075
|
})
|
|
94073
94076
|
], -1),
|
|
94074
94077
|
W("span", { class: "text-xs font-semibold text-blue-700 dark:text-blue-500" }, "Copied", -1)
|
|
94075
|
-
]))) :
|
|
94078
|
+
]))) : Qt("", !0)
|
|
94076
94079
|
])
|
|
94077
94080
|
])
|
|
94078
94081
|
]),
|
|
@@ -94112,7 +94115,7 @@ const x8e = /* @__PURE__ */ Ii(NDe, [["render", UDe]]), WDe = { class: "w-full"
|
|
|
94112
94115
|
console.error("Error copying to clipboard: ", h);
|
|
94113
94116
|
});
|
|
94114
94117
|
}, c = Id(() => t.code);
|
|
94115
|
-
return (f, h) => (
|
|
94118
|
+
return (f, h) => (Le(), Xe("div", nRe, [
|
|
94116
94119
|
W("div", sRe, [
|
|
94117
94120
|
W("label", oRe, Gt(r.label_name), 1)
|
|
94118
94121
|
]),
|
|
@@ -94134,7 +94137,7 @@ const x8e = /* @__PURE__ */ Ii(NDe, [["render", UDe]]), WDe = { class: "w-full"
|
|
|
94134
94137
|
class: "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-hidden 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",
|
|
94135
94138
|
type: "button"
|
|
94136
94139
|
}, [
|
|
94137
|
-
s.value ?
|
|
94140
|
+
s.value ? Qt("", !0) : (Le(), Xe("span", cRe, h[1] || (h[1] = [
|
|
94138
94141
|
W("svg", {
|
|
94139
94142
|
class: "w-4 h-4",
|
|
94140
94143
|
"aria-hidden": "true",
|
|
@@ -94145,7 +94148,7 @@ const x8e = /* @__PURE__ */ Ii(NDe, [["render", UDe]]), WDe = { class: "w-full"
|
|
|
94145
94148
|
W("path", { d: "M16 1h-3.278A1.992 1.992 0 0 0 11 0H7a1.993 1.993 0 0 0-1.722 1H2a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V3a2 2 0 0 0-2-2Zm-3 14H5a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2Zm0-4H5a1 1 0 0 1 0-2h8a1 1 0 1 1 0 2Zm0-5H5a1 1 0 0 1 0-2h2V2h4v2h2a1 1 0 1 1 0 2Z" })
|
|
94146
94149
|
], -1)
|
|
94147
94150
|
]))),
|
|
94148
|
-
s.value ? (
|
|
94151
|
+
s.value ? (Le(), Xe("span", uRe, h[2] || (h[2] = [
|
|
94149
94152
|
W("svg", {
|
|
94150
94153
|
class: "w-4 h-4",
|
|
94151
94154
|
"aria-hidden": "true",
|
|
@@ -94161,7 +94164,7 @@ const x8e = /* @__PURE__ */ Ii(NDe, [["render", UDe]]), WDe = { class: "w-full"
|
|
|
94161
94164
|
d: "M1 5.917 5.724 10.5 15 1.5"
|
|
94162
94165
|
})
|
|
94163
94166
|
], -1)
|
|
94164
|
-
]))) :
|
|
94167
|
+
]))) : Qt("", !0)
|
|
94165
94168
|
])
|
|
94166
94169
|
]),
|
|
94167
94170
|
W("p", dRe, Gt(r.description), 1)
|
|
@@ -94185,22 +94188,22 @@ const x8e = /* @__PURE__ */ Ii(NDe, [["render", UDe]]), WDe = { class: "w-full"
|
|
|
94185
94188
|
}
|
|
94186
94189
|
},
|
|
94187
94190
|
setup(r) {
|
|
94188
|
-
return (t, s) => (
|
|
94189
|
-
r.status === 0 ? (
|
|
94191
|
+
return (t, s) => (Le(), Xe("div", fRe, [
|
|
94192
|
+
r.status === 0 ? (Le(), Xe("span", hRe, s[0] || (s[0] = [
|
|
94190
94193
|
W("span", { class: "relative flex w-2 h-2 mr-1" }, [
|
|
94191
94194
|
W("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
94192
94195
|
W("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
94193
94196
|
], -1),
|
|
94194
94197
|
to(" Running")
|
|
94195
|
-
]))) :
|
|
94196
|
-
r.status === 1 ? (
|
|
94198
|
+
]))) : Qt("", !0),
|
|
94199
|
+
r.status === 1 ? (Le(), Xe("span", mRe, s[1] || (s[1] = [
|
|
94197
94200
|
W("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1),
|
|
94198
94201
|
to(" Success ")
|
|
94199
|
-
]))) :
|
|
94200
|
-
r.status === 2 ? (
|
|
94202
|
+
]))) : Qt("", !0),
|
|
94203
|
+
r.status === 2 ? (Le(), Xe("span", gRe, s[2] || (s[2] = [
|
|
94201
94204
|
W("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1),
|
|
94202
94205
|
to(" Failed ")
|
|
94203
|
-
]))) :
|
|
94206
|
+
]))) : Qt("", !0)
|
|
94204
94207
|
]));
|
|
94205
94208
|
}
|
|
94206
94209
|
}, pRe = { class: "flex flex-wrap text-nowrap" }, bRe = {
|
|
@@ -94231,27 +94234,27 @@ const x8e = /* @__PURE__ */ Ii(NDe, [["render", UDe]]), WDe = { class: "w-full"
|
|
|
94231
94234
|
const s = t, l = () => {
|
|
94232
94235
|
s("reconnect");
|
|
94233
94236
|
};
|
|
94234
|
-
return (c, f) => (
|
|
94235
|
-
r.status === 0 ? (
|
|
94237
|
+
return (c, f) => (Le(), Xe("div", pRe, [
|
|
94238
|
+
r.status === 0 ? (Le(), Xe("span", bRe, f[0] || (f[0] = [
|
|
94236
94239
|
W("span", { class: "relative flex w-2 h-2 mr-1" }, [
|
|
94237
94240
|
W("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
94238
94241
|
W("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
94239
94242
|
], -1),
|
|
94240
94243
|
to(" Connecting")
|
|
94241
|
-
]))) :
|
|
94242
|
-
r.status === 1 ? (
|
|
94244
|
+
]))) : Qt("", !0),
|
|
94245
|
+
r.status === 1 ? (Le(), Xe("span", vRe, f[1] || (f[1] = [
|
|
94243
94246
|
W("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1),
|
|
94244
94247
|
to(" Connected ")
|
|
94245
|
-
]))) :
|
|
94246
|
-
r.status === 2 ? (
|
|
94248
|
+
]))) : Qt("", !0),
|
|
94249
|
+
r.status === 2 ? (Le(), Xe("span", yRe, f[2] || (f[2] = [
|
|
94247
94250
|
W("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1),
|
|
94248
94251
|
to(" Disconnected ")
|
|
94249
|
-
]))) :
|
|
94252
|
+
]))) : Qt("", !0),
|
|
94250
94253
|
W("button", {
|
|
94251
94254
|
onClick: l,
|
|
94252
94255
|
class: "ml-1"
|
|
94253
94256
|
}, [
|
|
94254
|
-
(
|
|
94257
|
+
(Le(), Xe("svg", ORe, f[3] || (f[3] = [
|
|
94255
94258
|
W("path", {
|
|
94256
94259
|
"fill-rule": "evenodd",
|
|
94257
94260
|
d: "M10 1.425c.002-.113-.044-.222-.125-.3L9.708.958C9.63.879 9.523.835 9.412.835s-.218.044-.296.123L6.163 3.9c-.16.165-.16.427 0 .592l2.953 2.942c.078.079.185.123.296.123s.218-.044.296-.123l.167-.167c.081-.078.127-.187.125-.3V5c2.764 0 5.005 2.239 5.005 5 0 .808-.197 1.603-.575 2.317-.086.162-.056.362.075.492l.609.608c.092.091.222.134.35.117s.241-.091.309-.2a6.66 6.66 0 0 0 .002-6.664C14.584 4.607 12.383 3.336 10 3.333V1.425zm.588 11.018c.111 0 .218.044.296.123l2.953 2.942c.16.165.16.427 0 .592l-2.953 2.942c-.078.079-.185.123-.296.123s-.218-.044-.296-.123l-.167-.167c-.082-.078-.127-.187-.125-.3v-1.908c-2.383-.002-4.584-1.274-5.774-3.336a6.66 6.66 0 0 1 .002-6.664c.064-.115.178-.195.309-.217s.258.025.35.117l.617.617c.128.131.159.329.075.492-.386.714-.587 1.513-.584 2.325 0 2.761 2.241 5 5.005 5v-1.967c-.002-.113.044-.222.125-.3l.167-.167c.078-.079.185-.123.296-.123z",
|