golden-logic-ui 1.0.528 → 1.0.530
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 +758 -740
- package/dist/golden-logic-ui.umd.cjs +24 -24
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as ue, createBlock as ju, resolveDynamicComponent as A4, mergeProps as aO, withCtx as Cm, createElementBlock as de, normalizeClass as Vt, createCommentVNode as
|
|
1
|
+
import { openBlock as ue, createBlock as ju, resolveDynamicComponent as A4, mergeProps as aO, withCtx as Cm, createElementBlock as de, normalizeClass as Vt, createCommentVNode as Ye, renderSlot as Zi, createTextVNode as Zn, createElementVNode as R, resolveComponent as Rd, toDisplayString as lt, createVNode as ui, reactive as Bq, Fragment as Gn, withModifiers as za, withDirectives as gr, vModelText as _m, renderList as Ys, normalizeStyle as $j, computed as bu, ref as lo, onMounted as Og, onBeforeUnmount as lO, watch as Sf, vShow as kf, nextTick as Mj, vModelDynamic as nq, useSlots as Pq, provide as oq, inject as sq, pushScopeId as rq, popScopeId as aq, createStaticVNode as Bj, vModelCheckbox as lq, toHandlers as Oj, onUnmounted as Nq, TransitionGroup as Iq, unref as Lq, resolveDirective as Pj, markRaw as Fq } from "vue";
|
|
2
2
|
const zr = (A, ee) => {
|
|
3
3
|
const j = A.__vccOpts || A;
|
|
4
4
|
for (const [xe, oe] of ee)
|
|
@@ -110,7 +110,7 @@ function zq(A, ee, j, xe, oe, U) {
|
|
|
110
110
|
j.icon ? (ue(), de("i", {
|
|
111
111
|
key: 0,
|
|
112
112
|
class: Vt([j.icon, "text-base"])
|
|
113
|
-
}, null, 2)) :
|
|
113
|
+
}, null, 2)) : Ye("", !0),
|
|
114
114
|
Zi(A.$slots, "default")
|
|
115
115
|
]),
|
|
116
116
|
_: 3
|
|
@@ -166,9 +166,9 @@ function nK(A, ee, j, xe, oe, U) {
|
|
|
166
166
|
R("div", Kq, [
|
|
167
167
|
R("div", Yq, [
|
|
168
168
|
R("div", Xq, [
|
|
169
|
-
R("h3", Jq,
|
|
169
|
+
R("h3", Jq, lt(((q = j.language) == null ? void 0 : q.title_delete_confirmation) ?? "Confirm Deletion"), 1),
|
|
170
170
|
R("div", Qq, [
|
|
171
|
-
R("p", eK,
|
|
171
|
+
R("p", eK, lt(((Ae = j.language) == null ? void 0 : Ae.message_delete_confirmation) ?? "Are you sure you want to delete this item? This action cannot be undone."), 1)
|
|
172
172
|
])
|
|
173
173
|
])
|
|
174
174
|
])
|
|
@@ -180,9 +180,9 @@ function nK(A, ee, j, xe, oe, U) {
|
|
|
180
180
|
button_type: "red"
|
|
181
181
|
}, {
|
|
182
182
|
default: Cm(() => {
|
|
183
|
-
var
|
|
183
|
+
var Ke;
|
|
184
184
|
return [
|
|
185
|
-
Zn(
|
|
185
|
+
Zn(lt(((Ke = j.language) == null ? void 0 : Ke.okbutton_delete_confirmation) ?? "Delete"), 1)
|
|
186
186
|
];
|
|
187
187
|
}),
|
|
188
188
|
_: 1
|
|
@@ -193,9 +193,9 @@ function nK(A, ee, j, xe, oe, U) {
|
|
|
193
193
|
button_type: "light"
|
|
194
194
|
}, {
|
|
195
195
|
default: Cm(() => {
|
|
196
|
-
var
|
|
196
|
+
var Ke;
|
|
197
197
|
return [
|
|
198
|
-
Zn(
|
|
198
|
+
Zn(lt(((Ke = j.language) == null ? void 0 : Ke.cancelbutton_delete_confirmation) ?? "Cancel"), 1)
|
|
199
199
|
];
|
|
200
200
|
}),
|
|
201
201
|
_: 1
|
|
@@ -203,7 +203,7 @@ function nK(A, ee, j, xe, oe, U) {
|
|
|
203
203
|
])
|
|
204
204
|
])
|
|
205
205
|
])
|
|
206
|
-
])) :
|
|
206
|
+
])) : Ye("", !0);
|
|
207
207
|
}
|
|
208
208
|
const jP = /* @__PURE__ */ zr(Uq, [["render", nK]]), Rj = Bq({
|
|
209
209
|
items: []
|
|
@@ -428,7 +428,7 @@ function BK(A, ee, j, xe, oe, U) {
|
|
|
428
428
|
"gl-label-form-invalid": oe.error_message_data !== "",
|
|
429
429
|
required: j.is_required
|
|
430
430
|
})
|
|
431
|
-
},
|
|
431
|
+
}, lt(j.label_name), 3),
|
|
432
432
|
R("div", {
|
|
433
433
|
onDragover: ee[3] || (ee[3] = za((...q) => U.onDragOver && U.onDragOver(...q), ["prevent"])),
|
|
434
434
|
onDragleave: ee[4] || (ee[4] = za((...q) => U.onDragLeave && U.onDragLeave(...q), ["prevent"])),
|
|
@@ -457,15 +457,15 @@ function BK(A, ee, j, xe, oe, U) {
|
|
|
457
457
|
}, uK))
|
|
458
458
|
])
|
|
459
459
|
], 32),
|
|
460
|
-
R("span", gK,
|
|
461
|
-
R("small", hK,
|
|
460
|
+
R("span", gK, lt(oe.error_message_data), 1),
|
|
461
|
+
R("small", hK, lt(j.description), 1),
|
|
462
462
|
oe.files.length > 0 ? (ue(), de("section", pK, [
|
|
463
463
|
(ue(!0), de(Gn, null, Ys(oe.files, (q, Ae) => (ue(), de("li", bK, [
|
|
464
464
|
vK,
|
|
465
465
|
R("div", yK, [
|
|
466
466
|
R("div", wK, [
|
|
467
|
-
R("span", xK,
|
|
468
|
-
R("span", CK,
|
|
467
|
+
R("span", xK, lt(U.getFileName(q.file_name)), 1),
|
|
468
|
+
R("span", CK, lt(q.loading), 1)
|
|
469
469
|
]),
|
|
470
470
|
R("div", _K, [
|
|
471
471
|
R("div", {
|
|
@@ -475,14 +475,14 @@ function BK(A, ee, j, xe, oe, U) {
|
|
|
475
475
|
])
|
|
476
476
|
])
|
|
477
477
|
]))), 256))
|
|
478
|
-
])) :
|
|
478
|
+
])) : Ye("", !0),
|
|
479
479
|
R("section", SK, [
|
|
480
480
|
(ue(!0), de(Gn, null, Ys(U.uploadFileListFinal, (q, Ae) => (ue(), de("li", kK, [
|
|
481
481
|
R("div", TK, [
|
|
482
482
|
EK,
|
|
483
483
|
R("div", AK, [
|
|
484
|
-
R("span", DK,
|
|
485
|
-
R("span", OK,
|
|
484
|
+
R("span", DK, lt(U.getFileName(q.file_name)), 1),
|
|
485
|
+
R("span", OK, lt(U.formatFileSize(q.size)), 1)
|
|
486
486
|
])
|
|
487
487
|
]),
|
|
488
488
|
R("div", RK, [
|
|
@@ -493,11 +493,11 @@ function BK(A, ee, j, xe, oe, U) {
|
|
|
493
493
|
}, null, 8, $K),
|
|
494
494
|
j.is_enable_delete ? (ue(), de("i", {
|
|
495
495
|
key: 0,
|
|
496
|
-
onClick: (
|
|
496
|
+
onClick: (Ke) => {
|
|
497
497
|
oe.media_id = q.id, oe.open_delete_modal = !0;
|
|
498
498
|
},
|
|
499
499
|
class: "text-lg text-red-600 cursor-pointer dark:text-red-400 fas fa-x"
|
|
500
|
-
}, null, 8, MK)) :
|
|
500
|
+
}, null, 8, MK)) : Ye("", !0)
|
|
501
501
|
])
|
|
502
502
|
]))), 256))
|
|
503
503
|
])
|
|
@@ -559,7 +559,7 @@ function FK(A, ee, j, xe, oe, U) {
|
|
|
559
559
|
"border md:!rounded-e-lg": q === oe.locals.length - 1,
|
|
560
560
|
"border-t border-b": q !== 0 && q !== oe.locals.length - 1
|
|
561
561
|
}, "block w-full p-1 font-bold text-center text-gray-500 uppercase bg-white border-gray-200 rounded-lg cursor-pointer md:rounded-none dark:hover:text-gray-300 dark:border-gray-700 dark:peer-checked:text-blue-500 peer-checked:border-blue-600 peer-checked:text-blue-600 hover:text-gray-600 hover:bg-gray-100 dark:text-gray-400 dark:bg-gray-800 dark:hover:bg-gray-700"])
|
|
562
|
-
},
|
|
562
|
+
}, lt(pe), 11, LK)
|
|
563
563
|
]))), 256))
|
|
564
564
|
]);
|
|
565
565
|
}
|
|
@@ -591,7 +591,7 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
591
591
|
class: Vt(["p-6", xe.value])
|
|
592
592
|
}, [
|
|
593
593
|
Zi(oe.$slots, "body")
|
|
594
|
-
], 2)) :
|
|
594
|
+
], 2)) : Ye("", !0)
|
|
595
595
|
])
|
|
596
596
|
], 2));
|
|
597
597
|
}
|
|
@@ -701,7 +701,7 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
701
701
|
},
|
|
702
702
|
emits: ["update:modelValue", "selected", "selectionChanged"],
|
|
703
703
|
setup(A, { emit: ee }) {
|
|
704
|
-
const j = A, xe = ee, oe = lo(null), U = lo([]), pe = lo([]), q = lo([]), Ae = lo(0),
|
|
704
|
+
const j = A, xe = ee, oe = lo(null), U = lo([]), pe = lo([]), q = lo([]), Ae = lo(0), Ke = lo(!1), bt = lo(""), cn = lo(""), xn = lo(null), Ro = lo(0), Es = lo(0), Xn = () => {
|
|
705
705
|
if (xn.value) {
|
|
706
706
|
Ro.value = xn.value.offsetWidth;
|
|
707
707
|
var Ft = xn.value.getBoundingClientRect();
|
|
@@ -766,7 +766,7 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
766
766
|
kt !== -1 && U.value.splice(kt, 1), q.value = U.value.map((We) => We.id), xe("update:modelValue", q.value), xe("selected", U.value), xe("selectionChanged", U.value);
|
|
767
767
|
}
|
|
768
768
|
function In(Ft) {
|
|
769
|
-
Ft.target.id != j.field_name + "search" + cn.value && Ft.target.id != j.field_name && !Ft.target.classList.contains("showOptions") && (rt(), Ae.value = 0,
|
|
769
|
+
Ft.target.id != j.field_name + "search" + cn.value && Ft.target.id != j.field_name && !Ft.target.classList.contains("showOptions") && (rt(), Ae.value = 0, Ke.value = !1);
|
|
770
770
|
}
|
|
771
771
|
function je(Ft) {
|
|
772
772
|
const kt = `${Ft}${cn.value}`, We = document.getElementById(kt);
|
|
@@ -806,15 +806,15 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
806
806
|
}
|
|
807
807
|
function D(Ft) {
|
|
808
808
|
let kt = U.value.findIndex((We) => We.id === Ft.id);
|
|
809
|
-
kt !== -1 ? U.value.splice(kt, 1) : U.value.push(Ft),
|
|
809
|
+
kt !== -1 ? U.value.splice(kt, 1) : U.value.push(Ft), Ke.value = !1, q.value = U.value.map((We) => We.id), xe("update:modelValue", q.value), xe("selected", U.value), xe("selectionChanged", U.value);
|
|
810
810
|
}
|
|
811
811
|
function mo() {
|
|
812
812
|
if (!j.show) {
|
|
813
|
-
if (
|
|
814
|
-
|
|
813
|
+
if (Ke.value) {
|
|
814
|
+
Ke.value = !1;
|
|
815
815
|
return;
|
|
816
816
|
}
|
|
817
|
-
bt.value = "",
|
|
817
|
+
bt.value = "", Ke.value = !0, Mj(() => {
|
|
818
818
|
Xn();
|
|
819
819
|
var Ft = document.getElementById(
|
|
820
820
|
`${j.field_name}search${cn.value}`
|
|
@@ -849,13 +849,13 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
849
849
|
key: 0,
|
|
850
850
|
class: Vt(A.field_name)
|
|
851
851
|
}, [
|
|
852
|
-
R("h3", UK,
|
|
852
|
+
R("h3", UK, lt(A.label_name), 1),
|
|
853
853
|
R("p", WK, [
|
|
854
|
-
(ue(!0), de(Gn, null, Ys(U.value, (vo, jn) => (ue(), de("span", ZK,
|
|
854
|
+
(ue(!0), de(Gn, null, Ys(U.value, (vo, jn) => (ue(), de("span", ZK, lt(vo == null ? void 0 : vo.name), 1))), 256))
|
|
855
855
|
]),
|
|
856
856
|
jK
|
|
857
|
-
], 2)) :
|
|
858
|
-
A.show ?
|
|
857
|
+
], 2)) : Ye("", !0),
|
|
858
|
+
A.show ? Ye("", !0) : (ue(), de("div", {
|
|
859
859
|
key: 1,
|
|
860
860
|
class: Vt(A.field_name)
|
|
861
861
|
}, [
|
|
@@ -872,18 +872,18 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
872
872
|
"gl-label-form-invalid": A.error_message !== "",
|
|
873
873
|
required: A.is_required
|
|
874
874
|
})
|
|
875
|
-
},
|
|
875
|
+
}, lt(A.label_name), 3),
|
|
876
876
|
R("div", KK, [
|
|
877
877
|
R("button", {
|
|
878
878
|
onClick: ae,
|
|
879
879
|
type: "button",
|
|
880
|
-
class: "rounded-tl-lg rtl
|
|
881
|
-
},
|
|
880
|
+
class: "ltr:rounded-tl-lg rtl:rounded-tr-lg px-4 py-0 text-sm font-medium text-gray-900 bg-transparent border border-gray-900 hover:bg-gray-900 hover:text-white focus:z-10 focus:bg-gray-900 focus:text-white dark:border-white dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:bg-gray-700"
|
|
881
|
+
}, lt(((We = A.language) == null ? void 0 : We.select_all) ?? "Select all"), 1),
|
|
882
882
|
R("button", {
|
|
883
883
|
onClick: Nn,
|
|
884
884
|
type: "button",
|
|
885
|
-
class: "rounded-tr-lg rtl:!rounded-tl-lg px-4 py-0 text-sm font-medium text-gray-900 bg-transparent border border-gray-900 hover:bg-gray-900 hover:text-white focus:z-10 focus:bg-gray-900 focus:text-white dark:border-white dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:bg-gray-700"
|
|
886
|
-
},
|
|
885
|
+
class: "ltr:rounded-tr-lg rtl:!rounded-tl-lg px-4 py-0 text-sm font-medium text-gray-900 bg-transparent border border-gray-900 hover:bg-gray-900 hover:text-white focus:z-10 focus:bg-gray-900 focus:text-white dark:border-white dark:text-white dark:hover:text-white dark:hover:bg-gray-700 dark:focus:bg-gray-700"
|
|
886
|
+
}, lt(((So = A.language) == null ? void 0 : So.deselect_all) ?? "Deselect all"), 1)
|
|
887
887
|
]),
|
|
888
888
|
R("div", {
|
|
889
889
|
ref_key: "myDivDropDown",
|
|
@@ -899,7 +899,7 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
899
899
|
key: jn,
|
|
900
900
|
class: "flex gap-2 px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded pointer-events-none dark:bg-blue-900 dark:text-blue-300"
|
|
901
901
|
}, [
|
|
902
|
-
Zn(
|
|
902
|
+
Zn(lt(vo == null ? void 0 : vo.name) + " ", 1),
|
|
903
903
|
R("i", {
|
|
904
904
|
onClick: za((nr) => rs(vo), ["stop"]),
|
|
905
905
|
class: "cursor-pointer pointer-events-auto hover:text-red-600 dark:hover:text-red-400"
|
|
@@ -908,7 +908,7 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
908
908
|
]),
|
|
909
909
|
R("i", {
|
|
910
910
|
onClick: kt[1] || (kt[1] = (vo) => mo()),
|
|
911
|
-
class: Vt([
|
|
911
|
+
class: Vt([Ke.value ? "fa-angle-up" : "fa-angle-down", "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: "11px" }
|
|
913
913
|
}, null, 2),
|
|
914
914
|
gr(R("div", {
|
|
@@ -947,14 +947,14 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
947
947
|
onMousedown: (nr) => D(vo),
|
|
948
948
|
key: jn,
|
|
949
949
|
id: `${jn + 1}${cn.value}`
|
|
950
|
-
},
|
|
950
|
+
}, lt(vo.name || vo.id || "-"), 43, aY))), 128))
|
|
951
951
|
])
|
|
952
952
|
], 4), [
|
|
953
|
-
[kf,
|
|
953
|
+
[kf, Ke.value]
|
|
954
954
|
])
|
|
955
955
|
])
|
|
956
956
|
], 512)
|
|
957
|
-
])) :
|
|
957
|
+
])) : Ye("", !0)
|
|
958
958
|
], 2))
|
|
959
959
|
], 64);
|
|
960
960
|
};
|
|
@@ -1014,12 +1014,12 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
1014
1014
|
};
|
|
1015
1015
|
return Og(() => {
|
|
1016
1016
|
U.value !== null && U.value.hasAttribute("autofocus") && U.value.focus(), xe.modelValue && (oe("update:modelValue", xe.modelValue), U.value.value = xe.modelValue), xe.modelValueTranslate && (oe("update:modelValueTranslate", xe.modelValueTranslate), pe.value.value = xe.modelValueTranslate);
|
|
1017
|
-
}), ee({ focus: () => U.value.focus() }), (Ae,
|
|
1017
|
+
}), ee({ focus: () => U.value.focus() }), (Ae, Ke) => (ue(), de(Gn, null, [
|
|
1018
1018
|
A.show ? (ue(), de("div", {
|
|
1019
1019
|
key: 0,
|
|
1020
1020
|
class: Vt(A.field_name)
|
|
1021
1021
|
}, [
|
|
1022
|
-
R("h3", lY,
|
|
1022
|
+
R("h3", lY, lt(A.label_name), 1),
|
|
1023
1023
|
gr(R("input", {
|
|
1024
1024
|
type: "hidden",
|
|
1025
1025
|
"data-i18n": "true",
|
|
@@ -1027,17 +1027,17 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
1027
1027
|
id: A.field_name + "_i18n",
|
|
1028
1028
|
ref_key: "input_translate",
|
|
1029
1029
|
ref: pe,
|
|
1030
|
-
"onUpdate:modelValue":
|
|
1030
|
+
"onUpdate:modelValue": Ke[0] || (Ke[0] = (bt) => Ae.inputTranslateValue = bt)
|
|
1031
1031
|
}, null, 8, cY), [
|
|
1032
1032
|
[_m, Ae.inputTranslateValue]
|
|
1033
1033
|
]),
|
|
1034
1034
|
R("p", {
|
|
1035
1035
|
id: A.field_name,
|
|
1036
1036
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
1037
|
-
},
|
|
1037
|
+
}, lt(Ae.model_value), 9, iY),
|
|
1038
1038
|
uY
|
|
1039
|
-
], 2)) :
|
|
1040
|
-
A.show ?
|
|
1039
|
+
], 2)) : Ye("", !0),
|
|
1040
|
+
A.show ? Ye("", !0) : (ue(), de("div", {
|
|
1041
1041
|
key: 1,
|
|
1042
1042
|
class: Vt(["mb-4", A.field_name])
|
|
1043
1043
|
}, [
|
|
@@ -1048,7 +1048,7 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
1048
1048
|
required: A.is_required
|
|
1049
1049
|
}),
|
|
1050
1050
|
for: A.field_name
|
|
1051
|
-
},
|
|
1051
|
+
}, lt(A.label_name), 11, dY),
|
|
1052
1052
|
mY,
|
|
1053
1053
|
R("input", {
|
|
1054
1054
|
class: "mb-4",
|
|
@@ -1069,15 +1069,15 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
1069
1069
|
" gl-textarea-form-invalid form-input-translation mt-4 ": A.error_message !== ""
|
|
1070
1070
|
}),
|
|
1071
1071
|
type: A.type,
|
|
1072
|
-
onInput:
|
|
1073
|
-
onKeydown:
|
|
1072
|
+
onInput: Ke[1] || (Ke[1] = (bt) => Ae.$emit("update:modelValue", bt.target.value)),
|
|
1073
|
+
onKeydown: Ke[2] || (Ke[2] = (bt) => Ae.$emit("keydown", bt)),
|
|
1074
1074
|
ref_key: "input",
|
|
1075
1075
|
ref: U,
|
|
1076
1076
|
rows: "4"
|
|
1077
1077
|
}, `
|
|
1078
1078
|
`, 42, gY),
|
|
1079
|
-
R("span", hY,
|
|
1080
|
-
R("small", pY,
|
|
1079
|
+
R("span", hY, lt(A.error_message), 1),
|
|
1080
|
+
R("small", pY, lt(A.description), 1)
|
|
1081
1081
|
], 2))
|
|
1082
1082
|
], 64));
|
|
1083
1083
|
}
|
|
@@ -1158,12 +1158,12 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
1158
1158
|
}).catch((Ae) => {
|
|
1159
1159
|
console.log(Ae);
|
|
1160
1160
|
});
|
|
1161
|
-
}), ee({ focus: () => U.value.focus() }), (Ae,
|
|
1161
|
+
}), ee({ focus: () => U.value.focus() }), (Ae, Ke) => (ue(), de(Gn, null, [
|
|
1162
1162
|
A.show ? (ue(), de("div", {
|
|
1163
1163
|
key: 0,
|
|
1164
1164
|
class: Vt(A.field_name)
|
|
1165
1165
|
}, [
|
|
1166
|
-
R("h3", bY,
|
|
1166
|
+
R("h3", bY, lt(A.label_name), 1),
|
|
1167
1167
|
gr(R("input", {
|
|
1168
1168
|
type: "hidden",
|
|
1169
1169
|
"data-i18n": "true",
|
|
@@ -1171,17 +1171,17 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
1171
1171
|
id: A.field_name + "_i18n",
|
|
1172
1172
|
ref_key: "input_translate",
|
|
1173
1173
|
ref: pe,
|
|
1174
|
-
"onUpdate:modelValue":
|
|
1174
|
+
"onUpdate:modelValue": Ke[0] || (Ke[0] = (bt) => Ae.inputTranslateValue = bt)
|
|
1175
1175
|
}, null, 8, vY), [
|
|
1176
1176
|
[_m, Ae.inputTranslateValue]
|
|
1177
1177
|
]),
|
|
1178
1178
|
R("p", {
|
|
1179
1179
|
id: A.field_name,
|
|
1180
1180
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
1181
|
-
},
|
|
1181
|
+
}, lt(A.model_value), 9, yY),
|
|
1182
1182
|
wY
|
|
1183
|
-
], 2)) :
|
|
1184
|
-
A.show ?
|
|
1183
|
+
], 2)) : Ye("", !0),
|
|
1184
|
+
A.show ? Ye("", !0) : (ue(), de("div", {
|
|
1185
1185
|
key: 1,
|
|
1186
1186
|
class: Vt(["mb-4", A.field_name])
|
|
1187
1187
|
}, [
|
|
@@ -1192,7 +1192,7 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
1192
1192
|
required: A.is_required
|
|
1193
1193
|
}),
|
|
1194
1194
|
for: A.field_name
|
|
1195
|
-
},
|
|
1195
|
+
}, lt(A.label_name), 11, xY),
|
|
1196
1196
|
CY,
|
|
1197
1197
|
R("input", {
|
|
1198
1198
|
class: "mb-4",
|
|
@@ -1212,15 +1212,15 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
1212
1212
|
" gl-textarea-form-invalid form-input-translation mt-4 ": A.error_message !== ""
|
|
1213
1213
|
}]),
|
|
1214
1214
|
type: A.type,
|
|
1215
|
-
onInput:
|
|
1216
|
-
onKeydown:
|
|
1215
|
+
onInput: Ke[1] || (Ke[1] = (bt) => Ae.$emit("update:modelValue", bt.target.value)),
|
|
1216
|
+
onKeydown: Ke[2] || (Ke[2] = (bt) => Ae.$emit("keydown", bt)),
|
|
1217
1217
|
ref_key: "input",
|
|
1218
1218
|
ref: U,
|
|
1219
1219
|
rows: "4"
|
|
1220
1220
|
}, `
|
|
1221
1221
|
`, 42, SY),
|
|
1222
|
-
R("span", kY,
|
|
1223
|
-
R("small", TY,
|
|
1222
|
+
R("span", kY, lt(A.error_message), 1),
|
|
1223
|
+
R("small", TY, lt(A.description), 1)
|
|
1224
1224
|
], 2))
|
|
1225
1225
|
], 64));
|
|
1226
1226
|
}
|
|
@@ -1279,12 +1279,12 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
1279
1279
|
};
|
|
1280
1280
|
return Og(() => {
|
|
1281
1281
|
U.value !== null && U.value.hasAttribute("autofocus") && U.value.focus(), xe.modelValue && (oe("update:modelValue", xe.modelValue), U.value.value = xe.modelValue), xe.modelValueTranslate && (oe("update:modelValueTranslate", xe.modelValueTranslate), pe.value.value = xe.modelValueTranslate);
|
|
1282
|
-
}), ee({ focus: () => U.value.focus() }), (Ae,
|
|
1282
|
+
}), ee({ focus: () => U.value.focus() }), (Ae, Ke) => (ue(), de(Gn, null, [
|
|
1283
1283
|
A.show ? (ue(), de("div", {
|
|
1284
1284
|
key: 0,
|
|
1285
1285
|
class: Vt(A.field_name)
|
|
1286
1286
|
}, [
|
|
1287
|
-
R("h3", EY,
|
|
1287
|
+
R("h3", EY, lt(A.label_name), 1),
|
|
1288
1288
|
gr(R("input", {
|
|
1289
1289
|
type: "hidden",
|
|
1290
1290
|
"data-i18n": "true",
|
|
@@ -1292,17 +1292,17 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
1292
1292
|
id: A.field_name + "_i18n",
|
|
1293
1293
|
ref_key: "input_translate",
|
|
1294
1294
|
ref: pe,
|
|
1295
|
-
"onUpdate:modelValue":
|
|
1295
|
+
"onUpdate:modelValue": Ke[0] || (Ke[0] = (bt) => Ae.inputTranslateValue = bt)
|
|
1296
1296
|
}, null, 8, AY), [
|
|
1297
1297
|
[_m, Ae.inputTranslateValue]
|
|
1298
1298
|
]),
|
|
1299
1299
|
R("p", {
|
|
1300
1300
|
id: A.field_name,
|
|
1301
1301
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
1302
|
-
},
|
|
1302
|
+
}, lt(Ae.model_value), 9, DY),
|
|
1303
1303
|
OY
|
|
1304
|
-
], 2)) :
|
|
1305
|
-
A.show ?
|
|
1304
|
+
], 2)) : Ye("", !0),
|
|
1305
|
+
A.show ? Ye("", !0) : (ue(), de("div", {
|
|
1306
1306
|
key: 1,
|
|
1307
1307
|
class: Vt(["mb-4", A.field_name])
|
|
1308
1308
|
}, [
|
|
@@ -1313,7 +1313,7 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
1313
1313
|
required: A.is_required
|
|
1314
1314
|
}),
|
|
1315
1315
|
for: A.field_name
|
|
1316
|
-
},
|
|
1316
|
+
}, lt(A.label_name), 11, RY),
|
|
1317
1317
|
$Y,
|
|
1318
1318
|
R("input", {
|
|
1319
1319
|
class: "mb-4",
|
|
@@ -1334,13 +1334,13 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
1334
1334
|
" gl-input-form-invalid form-input-translation mt-2 ": A.error_message !== ""
|
|
1335
1335
|
}),
|
|
1336
1336
|
type: A.type,
|
|
1337
|
-
onInput:
|
|
1338
|
-
onKeydown:
|
|
1337
|
+
onInput: Ke[1] || (Ke[1] = (bt) => Ae.$emit("update:modelValue", bt.target.value)),
|
|
1338
|
+
onKeydown: Ke[2] || (Ke[2] = (bt) => Ae.$emit("keydown", bt)),
|
|
1339
1339
|
ref_key: "input",
|
|
1340
1340
|
ref: U
|
|
1341
1341
|
}, null, 42, BY),
|
|
1342
|
-
R("span", PY,
|
|
1343
|
-
R("small", NY,
|
|
1342
|
+
R("span", PY, lt(A.error_message), 1),
|
|
1343
|
+
R("small", NY, lt(A.description), 1)
|
|
1344
1344
|
], 2))
|
|
1345
1345
|
], 64));
|
|
1346
1346
|
}
|
|
@@ -1403,11 +1403,11 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
1403
1403
|
key: 0,
|
|
1404
1404
|
class: Vt(A.field_name)
|
|
1405
1405
|
}, [
|
|
1406
|
-
R("h3", IY,
|
|
1407
|
-
R("p", LY,
|
|
1406
|
+
R("h3", IY, lt(A.label_name), 1),
|
|
1407
|
+
R("p", LY, lt(A.type == "password" ? A.modelValue.replace(/./g, "*") : A.modelValue), 1),
|
|
1408
1408
|
FY
|
|
1409
|
-
], 2)) :
|
|
1410
|
-
A.show ?
|
|
1409
|
+
], 2)) : Ye("", !0),
|
|
1410
|
+
A.show ? Ye("", !0) : (ue(), de("div", {
|
|
1411
1411
|
key: 1,
|
|
1412
1412
|
class: Vt(A.field_name)
|
|
1413
1413
|
}, [
|
|
@@ -1419,7 +1419,7 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
1419
1419
|
required: A.is_required
|
|
1420
1420
|
}),
|
|
1421
1421
|
for: A.field_name
|
|
1422
|
-
},
|
|
1422
|
+
}, lt(A.label_name), 11, HY)) : Ye("", !0),
|
|
1423
1423
|
gr(R("input", {
|
|
1424
1424
|
required: A.is_required,
|
|
1425
1425
|
name: A.field_name,
|
|
@@ -1429,17 +1429,17 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
1429
1429
|
"gl-input-form-invalid": A.error_message !== ""
|
|
1430
1430
|
}),
|
|
1431
1431
|
type: A.type,
|
|
1432
|
-
"onUpdate:modelValue": Ae[0] || (Ae[0] = (
|
|
1433
|
-
onKeydown: Ae[1] || (Ae[1] = (
|
|
1434
|
-
onBlur: Ae[2] || (Ae[2] = (
|
|
1432
|
+
"onUpdate:modelValue": Ae[0] || (Ae[0] = (Ke) => pe.value = Ke),
|
|
1433
|
+
onKeydown: Ae[1] || (Ae[1] = (Ke) => q.$emit("keydown", Ke)),
|
|
1434
|
+
onBlur: Ae[2] || (Ae[2] = (Ke) => q.$emit("blur", Ke)),
|
|
1435
1435
|
ref_key: "input",
|
|
1436
1436
|
ref: U,
|
|
1437
1437
|
placeholder: A.placeholder
|
|
1438
1438
|
}, null, 42, VY), [
|
|
1439
1439
|
[nq, pe.value]
|
|
1440
1440
|
]),
|
|
1441
|
-
R("span", zY,
|
|
1442
|
-
R("small", UY,
|
|
1441
|
+
R("span", zY, lt(A.error_message), 1),
|
|
1442
|
+
R("small", UY, lt(A.description), 1)
|
|
1443
1443
|
], 2))
|
|
1444
1444
|
], 64));
|
|
1445
1445
|
}
|
|
@@ -1510,11 +1510,11 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
1510
1510
|
key: 0,
|
|
1511
1511
|
class: Vt(A.field_name)
|
|
1512
1512
|
}, [
|
|
1513
|
-
R("h3", ZY,
|
|
1514
|
-
R("p", jY,
|
|
1513
|
+
R("h3", ZY, lt(A.label_name), 1),
|
|
1514
|
+
R("p", jY, lt(A.type == "password" ? A.modelValue.replace(/./g, "*") : A.modelValue), 1),
|
|
1515
1515
|
GY
|
|
1516
|
-
], 2)) :
|
|
1517
|
-
A.show ?
|
|
1516
|
+
], 2)) : Ye("", !0),
|
|
1517
|
+
A.show ? Ye("", !0) : (ue(), de("div", {
|
|
1518
1518
|
key: 1,
|
|
1519
1519
|
class: Vt(A.field_name)
|
|
1520
1520
|
}, [
|
|
@@ -1526,7 +1526,7 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
1526
1526
|
required: A.is_required
|
|
1527
1527
|
}),
|
|
1528
1528
|
for: A.field_name
|
|
1529
|
-
},
|
|
1529
|
+
}, lt(A.label_name), 11, qY)) : Ye("", !0),
|
|
1530
1530
|
R("div", KY, [
|
|
1531
1531
|
R("div", YY, [
|
|
1532
1532
|
gr(R("input", {
|
|
@@ -1538,8 +1538,8 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
1538
1538
|
"gl-input-form-invalid-text": A.error_message !== ""
|
|
1539
1539
|
}, "!border-e-0 !rounded-s-lg"]),
|
|
1540
1540
|
type: A.type,
|
|
1541
|
-
"onUpdate:modelValue": Ae[0] || (Ae[0] = (
|
|
1542
|
-
onKeydown: Ae[1] || (Ae[1] = (
|
|
1541
|
+
"onUpdate:modelValue": Ae[0] || (Ae[0] = (Ke) => pe.value = Ke),
|
|
1542
|
+
onKeydown: Ae[1] || (Ae[1] = (Ke) => q.$emit("keydown", Ke)),
|
|
1543
1543
|
ref_key: "input",
|
|
1544
1544
|
ref: U,
|
|
1545
1545
|
placeholder: A.placeholder
|
|
@@ -1547,10 +1547,10 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
1547
1547
|
[nq, pe.value]
|
|
1548
1548
|
])
|
|
1549
1549
|
]),
|
|
1550
|
-
R("label", JY,
|
|
1550
|
+
R("label", JY, lt(A.input_text), 1)
|
|
1551
1551
|
]),
|
|
1552
|
-
R("span", QY,
|
|
1553
|
-
R("small", eX,
|
|
1552
|
+
R("span", QY, lt(A.error_message), 1),
|
|
1553
|
+
R("small", eX, lt(A.description), 1)
|
|
1554
1554
|
], 2))
|
|
1555
1555
|
], 64));
|
|
1556
1556
|
}
|
|
@@ -1601,29 +1601,29 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
1601
1601
|
get() {
|
|
1602
1602
|
return j.modelValue.start;
|
|
1603
1603
|
},
|
|
1604
|
-
set(
|
|
1605
|
-
U.value.start =
|
|
1604
|
+
set(Ke) {
|
|
1605
|
+
U.value.start = Ke, Ae(U.value.start, U.value.end), xe("update:modelValue", { start: U.value.start, end: U.value.end }), xe("keydown", { start: U.value.start, end: U.value.end });
|
|
1606
1606
|
}
|
|
1607
1607
|
}), q = bu({
|
|
1608
1608
|
get() {
|
|
1609
1609
|
return j.modelValue.end;
|
|
1610
1610
|
},
|
|
1611
|
-
set(
|
|
1612
|
-
U.value.end =
|
|
1611
|
+
set(Ke) {
|
|
1612
|
+
U.value.end = Ke, Ae(U.value.start, U.value.end), xe("update:modelValue", { start: U.value.start, end: U.value.end }), xe("keydown", { start: U.value.start, end: U.value.end });
|
|
1613
1613
|
}
|
|
1614
|
-
}), Ae = (
|
|
1615
|
-
|
|
1614
|
+
}), Ae = (Ke, bt) => {
|
|
1615
|
+
Ke && bt && new Date(Ke) > new Date(bt) ? (oe.value = "Start date cannot be after end date.", U.value.start = "", U.value.end = "", xe("update:modelValue", { start: U.value.start, end: U.value.end }), xe("keydown", { start: U.value.start, end: U.value.end })) : Ke && bt && new Date(bt) < new Date(Ke) ? (oe.value = "End date cannot be before start date.", U.value.start = "", U.value.end = "", xe("update:modelValue", { start: U.value.start, end: U.value.end }), xe("keydown", { start: U.value.start, end: U.value.end })) : oe.value = "";
|
|
1616
1616
|
};
|
|
1617
|
-
return (
|
|
1617
|
+
return (Ke, bt) => (ue(), de(Gn, null, [
|
|
1618
1618
|
A.show ? (ue(), de("div", {
|
|
1619
1619
|
key: 0,
|
|
1620
1620
|
class: Vt(A.field_name)
|
|
1621
1621
|
}, [
|
|
1622
|
-
R("h3", tX,
|
|
1623
|
-
R("p", nX,
|
|
1622
|
+
R("h3", tX, lt(A.label_name), 1),
|
|
1623
|
+
R("p", nX, lt(A.modelValue.start) + " to " + lt(A.modelValue.end), 1),
|
|
1624
1624
|
oX
|
|
1625
|
-
], 2)) :
|
|
1626
|
-
A.show ?
|
|
1625
|
+
], 2)) : Ye("", !0),
|
|
1626
|
+
A.show ? Ye("", !0) : (ue(), de("div", {
|
|
1627
1627
|
key: 1,
|
|
1628
1628
|
class: Vt(A.field_name)
|
|
1629
1629
|
}, [
|
|
@@ -1634,7 +1634,7 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
1634
1634
|
required: A.is_required
|
|
1635
1635
|
}),
|
|
1636
1636
|
for: A.field_name
|
|
1637
|
-
},
|
|
1637
|
+
}, lt(A.label_name), 11, sX),
|
|
1638
1638
|
R("div", rX, [
|
|
1639
1639
|
gr(R("input", {
|
|
1640
1640
|
required: A.is_required,
|
|
@@ -1667,9 +1667,9 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
1667
1667
|
])
|
|
1668
1668
|
]),
|
|
1669
1669
|
R("div", iX, [
|
|
1670
|
-
R("span", uX,
|
|
1670
|
+
R("span", uX, lt(A.error_message || oe.value), 1)
|
|
1671
1671
|
]),
|
|
1672
|
-
R("small", dX,
|
|
1672
|
+
R("small", dX, lt(A.description), 1)
|
|
1673
1673
|
], 2))
|
|
1674
1674
|
], 64));
|
|
1675
1675
|
}
|
|
@@ -1728,11 +1728,11 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
1728
1728
|
key: 0,
|
|
1729
1729
|
class: Vt(A.field_name)
|
|
1730
1730
|
}, [
|
|
1731
|
-
R("h3", mX,
|
|
1732
|
-
R("p", fX,
|
|
1731
|
+
R("h3", mX, lt(A.label_name), 1),
|
|
1732
|
+
R("p", fX, lt(A.type == "password" ? A.modelValue.replace(/./g, "*") : A.modelValue), 1),
|
|
1733
1733
|
gX
|
|
1734
|
-
], 2)) :
|
|
1735
|
-
A.show ?
|
|
1734
|
+
], 2)) : Ye("", !0),
|
|
1735
|
+
A.show ? Ye("", !0) : (ue(), de("div", {
|
|
1736
1736
|
key: 1,
|
|
1737
1737
|
class: Vt(A.field_name)
|
|
1738
1738
|
}, [
|
|
@@ -1743,7 +1743,7 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
1743
1743
|
required: A.is_required
|
|
1744
1744
|
}),
|
|
1745
1745
|
for: A.field_name
|
|
1746
|
-
},
|
|
1746
|
+
}, lt(A.label_name), 11, hX),
|
|
1747
1747
|
R("input", {
|
|
1748
1748
|
required: A.is_required,
|
|
1749
1749
|
name: A.field_name,
|
|
@@ -1758,8 +1758,8 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
1758
1758
|
ref: xe,
|
|
1759
1759
|
placeholder: A.placeholder
|
|
1760
1760
|
}, null, 42, pX),
|
|
1761
|
-
R("span", bX,
|
|
1762
|
-
R("small", vX,
|
|
1761
|
+
R("span", bX, lt(A.error_message), 1),
|
|
1762
|
+
R("small", vX, lt(A.description), 1)
|
|
1763
1763
|
], 2))
|
|
1764
1764
|
], 64));
|
|
1765
1765
|
}
|
|
@@ -1773,8 +1773,8 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
1773
1773
|
const pe = (Ae) => {
|
|
1774
1774
|
window.location.hash = encodeURIComponent(Ae), j("TabChange", Ae);
|
|
1775
1775
|
}, q = () => {
|
|
1776
|
-
const Ae = decodeURIComponent(window.location.hash.replace("#", "")),
|
|
1777
|
-
|
|
1776
|
+
const Ae = decodeURIComponent(window.location.hash.replace("#", "")), Ke = oe.value.find((bt) => bt.title === Ae);
|
|
1777
|
+
Ke && (U.value = Ke.title);
|
|
1778
1778
|
};
|
|
1779
1779
|
return Sf(U, (Ae) => {
|
|
1780
1780
|
pe(Ae);
|
|
@@ -1782,7 +1782,7 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
1782
1782
|
q(), window.addEventListener("hashchange", q);
|
|
1783
1783
|
}), lO(() => {
|
|
1784
1784
|
window.removeEventListener("hashchange", q);
|
|
1785
|
-
}), (Ae,
|
|
1785
|
+
}), (Ae, Ke) => (ue(), de(Gn, null, [
|
|
1786
1786
|
R("div", yX, [
|
|
1787
1787
|
R("div", wX, [
|
|
1788
1788
|
R("ul", xX, [
|
|
@@ -1797,7 +1797,7 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
1797
1797
|
R("i", {
|
|
1798
1798
|
class: Vt([bt.icon, "mr-1 text-base"])
|
|
1799
1799
|
}, null, 2),
|
|
1800
|
-
Zn(" " +
|
|
1800
|
+
Zn(" " + lt(bt.title), 1)
|
|
1801
1801
|
], 2)
|
|
1802
1802
|
], 8, CX))), 128))
|
|
1803
1803
|
])
|
|
@@ -1826,7 +1826,7 @@ const Ice = /* @__PURE__ */ zr(PK, [["render", FK]]), HK = { class: "bg-white bo
|
|
|
1826
1826
|
function AX(A, ee, j, xe, oe, U) {
|
|
1827
1827
|
return j.title == xe.selectedTitle ? (ue(), de("div", EX, [
|
|
1828
1828
|
Zi(A.$slots, "default")
|
|
1829
|
-
])) :
|
|
1829
|
+
])) : Ye("", !0);
|
|
1830
1830
|
}
|
|
1831
1831
|
const Gce = /* @__PURE__ */ zr(TX, [["render", AX]]), DX = {
|
|
1832
1832
|
props: {
|
|
@@ -2125,11 +2125,11 @@ function MJ(A, ee, j, xe, oe, U) {
|
|
|
2125
2125
|
class: "p-3 mr-5 rounded-full shadow-lg arrow_button_styles",
|
|
2126
2126
|
onClick: ee[0] || (ee[0] = (pe) => U.prev())
|
|
2127
2127
|
}, [
|
|
2128
|
-
j.direction_property == "ltr" ? (ue(), de("svg", MX, PX)) :
|
|
2129
|
-
j.direction_property == "rtl" ? (ue(), de("svg", NX, LX)) :
|
|
2128
|
+
j.direction_property == "ltr" ? (ue(), de("svg", MX, PX)) : Ye("", !0),
|
|
2129
|
+
j.direction_property == "rtl" ? (ue(), de("svg", NX, LX)) : Ye("", !0)
|
|
2130
2130
|
])
|
|
2131
2131
|
])
|
|
2132
|
-
])) :
|
|
2132
|
+
])) : Ye("", !0),
|
|
2133
2133
|
R("div", {
|
|
2134
2134
|
ref: "slotContainer",
|
|
2135
2135
|
class: Vt(["overflow-hidden flex flex-col gap-3", U.sliderContainerAction()]),
|
|
@@ -2148,11 +2148,11 @@ function MJ(A, ee, j, xe, oe, U) {
|
|
|
2148
2148
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2149
2149
|
onClick: ee[1] || (ee[1] = za((pe) => U.prev(), ["stop"]))
|
|
2150
2150
|
}, [
|
|
2151
|
-
j.direction_property == "ltr" ? (ue(), de("svg", zX, WX)) :
|
|
2152
|
-
j.direction_property == "rtl" ? (ue(), de("svg", ZX, GX)) :
|
|
2151
|
+
j.direction_property == "ltr" ? (ue(), de("svg", zX, WX)) : Ye("", !0),
|
|
2152
|
+
j.direction_property == "rtl" ? (ue(), de("svg", ZX, GX)) : Ye("", !0)
|
|
2153
2153
|
])
|
|
2154
2154
|
])
|
|
2155
|
-
], 2)) :
|
|
2155
|
+
], 2)) : Ye("", !0),
|
|
2156
2156
|
Zi(A.$slots, "default", {}, void 0, !0),
|
|
2157
2157
|
oe.dotsNum > 0 && !j.hide_arrow && j.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (ue(), de("div", {
|
|
2158
2158
|
key: 1,
|
|
@@ -2163,11 +2163,11 @@ function MJ(A, ee, j, xe, oe, U) {
|
|
|
2163
2163
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2164
2164
|
onClick: ee[2] || (ee[2] = za((pe) => U.next(), ["stop"]))
|
|
2165
2165
|
}, [
|
|
2166
|
-
j.direction_property == "ltr" ? (ue(), de("svg", KX, XX)) :
|
|
2167
|
-
j.direction_property == "rtl" ? (ue(), de("svg", JX, eJ)) :
|
|
2166
|
+
j.direction_property == "ltr" ? (ue(), de("svg", KX, XX)) : Ye("", !0),
|
|
2167
|
+
j.direction_property == "rtl" ? (ue(), de("svg", JX, eJ)) : Ye("", !0)
|
|
2168
2168
|
])
|
|
2169
2169
|
])
|
|
2170
|
-
], 2)) :
|
|
2170
|
+
], 2)) : Ye("", !0)
|
|
2171
2171
|
], 10, HX),
|
|
2172
2172
|
j.slider_arrows_indicators_position != "arrows_indicators_below_slider" ? (ue(), de("div", {
|
|
2173
2173
|
key: 0,
|
|
@@ -2179,7 +2179,7 @@ function MJ(A, ee, j, xe, oe, U) {
|
|
|
2179
2179
|
key: pe,
|
|
2180
2180
|
onClick: (q) => U.setDot(pe)
|
|
2181
2181
|
}, oJ, 10, tJ))), 128))
|
|
2182
|
-
], 2)) :
|
|
2182
|
+
], 2)) : Ye("", !0),
|
|
2183
2183
|
j.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (ue(), de("div", sJ, [
|
|
2184
2184
|
R("div", {
|
|
2185
2185
|
class: Vt(["flex justify-center mb-1 space-x-1", U.sliderIndicatorsAction()])
|
|
@@ -2198,8 +2198,8 @@ function MJ(A, ee, j, xe, oe, U) {
|
|
|
2198
2198
|
class: Vt(["p-3 rounded-full arrow_button_styles", j.direction_property == "rtl" ? "ml-3" : "mr-3"]),
|
|
2199
2199
|
onClick: ee[3] || (ee[3] = (pe) => U.prev())
|
|
2200
2200
|
}, [
|
|
2201
|
-
j.direction_property == "ltr" ? (ue(), de("svg", dJ, fJ)) :
|
|
2202
|
-
j.direction_property == "rtl" ? (ue(), de("svg", gJ, pJ)) :
|
|
2201
|
+
j.direction_property == "ltr" ? (ue(), de("svg", dJ, fJ)) : Ye("", !0),
|
|
2202
|
+
j.direction_property == "rtl" ? (ue(), de("svg", gJ, pJ)) : Ye("", !0)
|
|
2203
2203
|
], 2)
|
|
2204
2204
|
])
|
|
2205
2205
|
]),
|
|
@@ -2209,13 +2209,13 @@ function MJ(A, ee, j, xe, oe, U) {
|
|
|
2209
2209
|
class: "p-3 rounded-full arrow_button_styles",
|
|
2210
2210
|
onClick: ee[4] || (ee[4] = (pe) => U.next())
|
|
2211
2211
|
}, [
|
|
2212
|
-
j.direction_property == "ltr" ? (ue(), de("svg", yJ, xJ)) :
|
|
2213
|
-
j.direction_property == "rtl" ? (ue(), de("svg", CJ, SJ)) :
|
|
2212
|
+
j.direction_property == "ltr" ? (ue(), de("svg", yJ, xJ)) : Ye("", !0),
|
|
2213
|
+
j.direction_property == "rtl" ? (ue(), de("svg", CJ, SJ)) : Ye("", !0)
|
|
2214
2214
|
])
|
|
2215
2215
|
])
|
|
2216
2216
|
])
|
|
2217
|
-
])) :
|
|
2218
|
-
])) :
|
|
2217
|
+
])) : Ye("", !0)
|
|
2218
|
+
])) : Ye("", !0)
|
|
2219
2219
|
], 10, FX),
|
|
2220
2220
|
oe.dotsNum > 0 && !j.hide_arrow && j.slider_arrows_indicators_position == "arrows_outside_slider" ? (ue(), de("div", kJ, [
|
|
2221
2221
|
R("div", TJ, [
|
|
@@ -2223,11 +2223,11 @@ function MJ(A, ee, j, xe, oe, U) {
|
|
|
2223
2223
|
class: "p-3 ml-5 rounded-full shadow-lg arrow_button_styles",
|
|
2224
2224
|
onClick: ee[5] || (ee[5] = (pe) => U.next())
|
|
2225
2225
|
}, [
|
|
2226
|
-
j.direction_property == "ltr" ? (ue(), de("svg", EJ, DJ)) :
|
|
2227
|
-
j.direction_property == "rtl" ? (ue(), de("svg", OJ, $J)) :
|
|
2226
|
+
j.direction_property == "ltr" ? (ue(), de("svg", EJ, DJ)) : Ye("", !0),
|
|
2227
|
+
j.direction_property == "rtl" ? (ue(), de("svg", OJ, $J)) : Ye("", !0)
|
|
2228
2228
|
])
|
|
2229
2229
|
])
|
|
2230
|
-
])) :
|
|
2230
|
+
])) : Ye("", !0)
|
|
2231
2231
|
], 10, OX)
|
|
2232
2232
|
]);
|
|
2233
2233
|
}
|
|
@@ -2317,7 +2317,7 @@ const qce = /* @__PURE__ */ zr(DX, [["render", MJ], ["__scopeId", "data-v-656677
|
|
|
2317
2317
|
const j = (oe) => {
|
|
2318
2318
|
ee.style.cursor = "grabbing";
|
|
2319
2319
|
const U = (q) => {
|
|
2320
|
-
const Ae = q.clientX || q.touches && q.touches[0] && q.touches[0].clientX,
|
|
2320
|
+
const Ae = q.clientX || q.touches && q.touches[0] && q.touches[0].clientX, Ke = q.clientY || q.touches && q.touches[0] && q.touches[0].clientY, bt = Ae - A.initialX, cn = Ke - A.initialY;
|
|
2321
2321
|
Math.abs(bt) > Math.abs(cn) ? (q.preventDefault(), Math.abs(bt) >= 70 && (bt < 0 ? A.next() : A.prev(), A.initialX = Ae)) : ee.style.cursor = "grab", Math.abs(cn) > Math.abs(bt) && (ee.style.cursor = "grab");
|
|
2322
2322
|
}, pe = () => {
|
|
2323
2323
|
document.removeEventListener("mousemove", U), document.removeEventListener("touchmove", U), document.removeEventListener("mouseup", pe), document.removeEventListener("touchend", pe), ee.style.cursor = "grab";
|
|
@@ -2553,11 +2553,11 @@ function LQ(A, ee, j, xe, oe, U) {
|
|
|
2553
2553
|
class: "p-3 mr-5 rounded-full shadow-lg arrow_button_styles",
|
|
2554
2554
|
onClick: ee[0] || (ee[0] = (pe) => U.prev())
|
|
2555
2555
|
}, [
|
|
2556
|
-
j.direction_property == "ltr" ? (ue(), de("svg", LJ, HJ)) :
|
|
2557
|
-
j.direction_property == "rtl" ? (ue(), de("svg", VJ, UJ)) :
|
|
2556
|
+
j.direction_property == "ltr" ? (ue(), de("svg", LJ, HJ)) : Ye("", !0),
|
|
2557
|
+
j.direction_property == "rtl" ? (ue(), de("svg", VJ, UJ)) : Ye("", !0)
|
|
2558
2558
|
])
|
|
2559
2559
|
])
|
|
2560
|
-
])) :
|
|
2560
|
+
])) : Ye("", !0),
|
|
2561
2561
|
R("div", {
|
|
2562
2562
|
class: Vt(["overflow-hidden flex flex-col gap-3 w-full w-12/12", U.sliderContainerAction()]),
|
|
2563
2563
|
id: "sliderContainer_" + A.Random_string
|
|
@@ -2576,11 +2576,11 @@ function LQ(A, ee, j, xe, oe, U) {
|
|
|
2576
2576
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2577
2577
|
onClick: ee[1] || (ee[1] = za((pe) => U.prev(), ["stop"]))
|
|
2578
2578
|
}, [
|
|
2579
|
-
j.direction_property == "ltr" ? (ue(), de("svg", GJ, KJ)) :
|
|
2580
|
-
j.direction_property == "rtl" ? (ue(), de("svg", YJ, JJ)) :
|
|
2579
|
+
j.direction_property == "ltr" ? (ue(), de("svg", GJ, KJ)) : Ye("", !0),
|
|
2580
|
+
j.direction_property == "rtl" ? (ue(), de("svg", YJ, JJ)) : Ye("", !0)
|
|
2581
2581
|
])
|
|
2582
2582
|
])
|
|
2583
|
-
], 2)) :
|
|
2583
|
+
], 2)) : Ye("", !0),
|
|
2584
2584
|
Zi(A.$slots, "default", {}, void 0, !0),
|
|
2585
2585
|
A.dotsNum > 0 && !j.hide_arrow && j.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (ue(), de("div", {
|
|
2586
2586
|
key: 1,
|
|
@@ -2591,11 +2591,11 @@ function LQ(A, ee, j, xe, oe, U) {
|
|
|
2591
2591
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2592
2592
|
onClick: ee[2] || (ee[2] = za((pe) => U.next(), ["stop"]))
|
|
2593
2593
|
}, [
|
|
2594
|
-
j.direction_property == "ltr" ? (ue(), de("svg", eQ, nQ)) :
|
|
2595
|
-
j.direction_property == "rtl" ? (ue(), de("svg", oQ, rQ)) :
|
|
2594
|
+
j.direction_property == "ltr" ? (ue(), de("svg", eQ, nQ)) : Ye("", !0),
|
|
2595
|
+
j.direction_property == "rtl" ? (ue(), de("svg", oQ, rQ)) : Ye("", !0)
|
|
2596
2596
|
])
|
|
2597
2597
|
])
|
|
2598
|
-
], 2)) :
|
|
2598
|
+
], 2)) : Ye("", !0)
|
|
2599
2599
|
], 10, ZJ),
|
|
2600
2600
|
!j.hide_indicators && j.slider_arrows_indicators_position != "arrows_indicators_below_slider" ? (ue(), de("div", {
|
|
2601
2601
|
key: 0,
|
|
@@ -2607,7 +2607,7 @@ function LQ(A, ee, j, xe, oe, U) {
|
|
|
2607
2607
|
key: pe,
|
|
2608
2608
|
onClick: (q) => U.setDot(pe)
|
|
2609
2609
|
}, cQ, 10, aQ))), 128))
|
|
2610
|
-
], 2)) :
|
|
2610
|
+
], 2)) : Ye("", !0),
|
|
2611
2611
|
!j.hide_indicators && j.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (ue(), de("div", iQ, [
|
|
2612
2612
|
R("div", {
|
|
2613
2613
|
class: Vt(["flex justify-center mb-1 space-x-1", U.sliderIndicatorsAction()])
|
|
@@ -2626,8 +2626,8 @@ function LQ(A, ee, j, xe, oe, U) {
|
|
|
2626
2626
|
class: Vt(["p-3 rounded-full arrow_button_styles", j.direction_property == "rtl" ? "ml-3" : "mr-3"]),
|
|
2627
2627
|
onClick: ee[3] || (ee[3] = (pe) => U.prev())
|
|
2628
2628
|
}, [
|
|
2629
|
-
j.direction_property == "ltr" ? (ue(), de("svg", pQ, vQ)) :
|
|
2630
|
-
j.direction_property == "rtl" ? (ue(), de("svg", yQ, xQ)) :
|
|
2629
|
+
j.direction_property == "ltr" ? (ue(), de("svg", pQ, vQ)) : Ye("", !0),
|
|
2630
|
+
j.direction_property == "rtl" ? (ue(), de("svg", yQ, xQ)) : Ye("", !0)
|
|
2631
2631
|
], 2)
|
|
2632
2632
|
])
|
|
2633
2633
|
]),
|
|
@@ -2637,13 +2637,13 @@ function LQ(A, ee, j, xe, oe, U) {
|
|
|
2637
2637
|
class: "p-3 rounded-full arrow_button_styles",
|
|
2638
2638
|
onClick: ee[4] || (ee[4] = (pe) => U.next())
|
|
2639
2639
|
}, [
|
|
2640
|
-
j.direction_property == "ltr" ? (ue(), de("svg", SQ, TQ)) :
|
|
2641
|
-
j.direction_property == "rtl" ? (ue(), de("svg", EQ, DQ)) :
|
|
2640
|
+
j.direction_property == "ltr" ? (ue(), de("svg", SQ, TQ)) : Ye("", !0),
|
|
2641
|
+
j.direction_property == "rtl" ? (ue(), de("svg", EQ, DQ)) : Ye("", !0)
|
|
2642
2642
|
])
|
|
2643
2643
|
])
|
|
2644
2644
|
])
|
|
2645
|
-
])) :
|
|
2646
|
-
])) :
|
|
2645
|
+
])) : Ye("", !0)
|
|
2646
|
+
])) : Ye("", !0)
|
|
2647
2647
|
], 10, WJ),
|
|
2648
2648
|
A.dotsNum > 0 && !j.hide_arrow && j.slider_arrows_indicators_position == "arrows_outside_slider" ? (ue(), de("div", OQ, [
|
|
2649
2649
|
R("div", RQ, [
|
|
@@ -2651,11 +2651,11 @@ function LQ(A, ee, j, xe, oe, U) {
|
|
|
2651
2651
|
class: "p-3 ml-5 rounded-full shadow-lg arrow_button_styles",
|
|
2652
2652
|
onClick: ee[5] || (ee[5] = (pe) => U.next())
|
|
2653
2653
|
}, [
|
|
2654
|
-
j.direction_property == "ltr" ? (ue(), de("svg", $Q, BQ)) :
|
|
2655
|
-
j.direction_property == "rtl" ? (ue(), de("svg", PQ, IQ)) :
|
|
2654
|
+
j.direction_property == "ltr" ? (ue(), de("svg", $Q, BQ)) : Ye("", !0),
|
|
2655
|
+
j.direction_property == "rtl" ? (ue(), de("svg", PQ, IQ)) : Ye("", !0)
|
|
2656
2656
|
])
|
|
2657
2657
|
])
|
|
2658
|
-
])) :
|
|
2658
|
+
])) : Ye("", !0)
|
|
2659
2659
|
], 10, PJ)
|
|
2660
2660
|
]);
|
|
2661
2661
|
}
|
|
@@ -2684,6 +2684,12 @@ const Kce = /* @__PURE__ */ zr(BJ, [["render", LQ], ["__scopeId", "data-v-bb117e
|
|
|
2684
2684
|
], GQ = { class: "flex flex-wrap items-center justify-end flex-shrink-0 p-4 border-t-2 rounded-b-md border-neutral-100 dark:border-gray-600" }, Yce = {
|
|
2685
2685
|
__name: "GlModal",
|
|
2686
2686
|
props: {
|
|
2687
|
+
language: {
|
|
2688
|
+
type: Object,
|
|
2689
|
+
required: !1,
|
|
2690
|
+
default: () => {
|
|
2691
|
+
}
|
|
2692
|
+
},
|
|
2687
2693
|
is_open: {
|
|
2688
2694
|
type: Boolean,
|
|
2689
2695
|
default: !1
|
|
@@ -2728,45 +2734,48 @@ const Kce = /* @__PURE__ */ zr(BJ, [["render", LQ], ["__scopeId", "data-v-bb117e
|
|
|
2728
2734
|
q ? oe() : U();
|
|
2729
2735
|
},
|
|
2730
2736
|
{ immediate: !0, deep: !0 }
|
|
2731
|
-
), (q, Ae) =>
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
class: Vt(["pointer-events-none relative h-[calc(100%-1rem)] w-auto translate-y-[-50px] transition-all duration-300 ease-in-out min-[576px]:mx-auto mt-7 min-[576px]:h-[calc(100%-3.5rem)]", A.max_width])
|
|
2737
|
+
), (q, Ae) => {
|
|
2738
|
+
var Ke;
|
|
2739
|
+
return A.is_open ? (ue(), de("div", {
|
|
2740
|
+
key: 0,
|
|
2741
|
+
class: Vt(["fixed left-0 top-13 h-full w-full overflow-y-auto overflow-x-hidden outline-none inset-0 bg-black !bg-opacity-80", A.has_large_z_index ? "z-[9999]" : "z-[1055]"]),
|
|
2742
|
+
tabindex: "-1"
|
|
2738
2743
|
}, [
|
|
2739
|
-
R("div",
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2744
|
+
R("div", {
|
|
2745
|
+
class: Vt(["pointer-events-none relative h-[calc(100%-1rem)] w-auto translate-y-[-50px] transition-all duration-300 ease-in-out min-[576px]:mx-auto mt-7 min-[576px]:h-[calc(100%-3.5rem)]", A.max_width])
|
|
2746
|
+
}, [
|
|
2747
|
+
R("div", FQ, [
|
|
2748
|
+
R("div", HQ, [
|
|
2749
|
+
R("h5", VQ, lt(A.title), 1),
|
|
2750
|
+
R("button", {
|
|
2751
|
+
type: "button",
|
|
2752
|
+
class: "box-content border-none rounded-none text-neutral-500 hover:text-neutral-800 hover:no-underline focus:text-neutral-800 focus:opacity-100 focus:shadow-none focus:outline-none dark:text-neutral-400 dark:hover:text-neutral-300 dark:focus:text-neutral-300",
|
|
2753
|
+
onClick: pe,
|
|
2754
|
+
"aria-label": "Close"
|
|
2755
|
+
}, UQ)
|
|
2756
|
+
]),
|
|
2757
|
+
A.is_loading ? (ue(), de("div", WQ, jQ)) : Ye("", !0),
|
|
2758
|
+
gr(R("div", {
|
|
2759
|
+
class: Vt(["relative overflow-y-auto", A.bodyClass])
|
|
2760
|
+
}, [
|
|
2761
|
+
Zi(q.$slots, "body")
|
|
2762
|
+
], 2), [
|
|
2763
|
+
[kf, !A.is_loading]
|
|
2764
|
+
]),
|
|
2765
|
+
gr(R("div", GQ, [
|
|
2766
|
+
Zi(q.$slots, "buttons"),
|
|
2767
|
+
R("button", {
|
|
2768
|
+
onClick: pe,
|
|
2769
|
+
type: "button",
|
|
2770
|
+
class: "px-5 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-200 rounded-lg ms-3 hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-blue-300 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"
|
|
2771
|
+
}, lt(((Ke = A.language) == null ? void 0 : Ke.close) ?? "Close"), 1)
|
|
2772
|
+
], 512), [
|
|
2773
|
+
[kf, !A.is_loading && !A.hide_model_footer]
|
|
2774
|
+
])
|
|
2766
2775
|
])
|
|
2767
|
-
])
|
|
2768
|
-
], 2)
|
|
2769
|
-
|
|
2776
|
+
], 2)
|
|
2777
|
+
], 2)) : Ye("", !0);
|
|
2778
|
+
};
|
|
2770
2779
|
}
|
|
2771
2780
|
}, qQ = { class: "pointer-events-auto relative flex w-full flex-col text-current shadow-4 outline-none bg-white border rounded-lg border-stroke dark:border-strokedark dark:bg-boxdark" }, KQ = {
|
|
2772
2781
|
key: 0,
|
|
@@ -2860,15 +2869,15 @@ const Kce = /* @__PURE__ */ zr(BJ, [["render", LQ], ["__scopeId", "data-v-bb117e
|
|
|
2860
2869
|
}, [
|
|
2861
2870
|
R("div", qQ, [
|
|
2862
2871
|
A.has_header ? (ue(), de("div", KQ, [
|
|
2863
|
-
R("h5", YQ,
|
|
2872
|
+
R("h5", YQ, lt(A.title), 1),
|
|
2864
2873
|
R("button", {
|
|
2865
2874
|
type: "button",
|
|
2866
2875
|
class: "box-content border-none rounded-none text-neutral-500 hover:text-neutral-800 hover:no-underline focus:text-neutral-800 focus:opacity-100 focus:shadow-none focus:outline-none dark:text-neutral-400 dark:hover:text-neutral-300 dark:focus:text-neutral-300",
|
|
2867
2876
|
onClick: pe,
|
|
2868
2877
|
"aria-label": "Close"
|
|
2869
2878
|
}, JQ)
|
|
2870
|
-
])) :
|
|
2871
|
-
A.is_loading ? (ue(), de("div", QQ, tee)) :
|
|
2879
|
+
])) : Ye("", !0),
|
|
2880
|
+
A.is_loading ? (ue(), de("div", QQ, tee)) : Ye("", !0),
|
|
2872
2881
|
gr(R("div", {
|
|
2873
2882
|
class: Vt(["relative", A.bodyClass])
|
|
2874
2883
|
}, [
|
|
@@ -2885,10 +2894,10 @@ const Kce = /* @__PURE__ */ zr(BJ, [["render", LQ], ["__scopeId", "data-v-bb117e
|
|
|
2885
2894
|
}, " Close ")
|
|
2886
2895
|
], 512)), [
|
|
2887
2896
|
[kf, !A.is_loading]
|
|
2888
|
-
]) :
|
|
2897
|
+
]) : Ye("", !0)
|
|
2889
2898
|
])
|
|
2890
2899
|
], 2)
|
|
2891
|
-
], 2)) :
|
|
2900
|
+
], 2)) : Ye("", !0);
|
|
2892
2901
|
}
|
|
2893
2902
|
}, oee = { class: "pointer-events-auto relative flex max-h-[100%] w-full flex-col overflow-hidden text-current shadow-4 outline-none bg-white border rounded-lg border-stroke dark:border-strokedark dark:bg-boxdark" }, see = { class: "flex items-center justify-between flex-shrink-0 pt-10 pb-3 pl-3 pr-3 border-b-2 dark:border-gray-600" }, ree = { class: "text-xl font-medium leading-normal text-surface dark:text-white" }, aee = /* @__PURE__ */ R("span", { class: "[&>svg]:h-6 [&>svg]:w-6" }, [
|
|
2894
2903
|
/* @__PURE__ */ R("svg", {
|
|
@@ -2915,6 +2924,12 @@ const Kce = /* @__PURE__ */ zr(BJ, [["render", LQ], ["__scopeId", "data-v-bb117e
|
|
|
2915
2924
|
], dee = { class: "flex flex-wrap items-center justify-end flex-shrink-0 p-4 border-t-2 rounded-b-md border-neutral-100 dark:border-gray-600" }, Jce = {
|
|
2916
2925
|
__name: "GlModalShow",
|
|
2917
2926
|
props: {
|
|
2927
|
+
language: {
|
|
2928
|
+
type: Object,
|
|
2929
|
+
required: !1,
|
|
2930
|
+
default: () => {
|
|
2931
|
+
}
|
|
2932
|
+
},
|
|
2918
2933
|
is_open: {
|
|
2919
2934
|
type: Boolean,
|
|
2920
2935
|
default: !1
|
|
@@ -2955,46 +2970,49 @@ const Kce = /* @__PURE__ */ zr(BJ, [["render", LQ], ["__scopeId", "data-v-bb117e
|
|
|
2955
2970
|
q ? oe() : U();
|
|
2956
2971
|
},
|
|
2957
2972
|
{ immediate: !0, deep: !0 }
|
|
2958
|
-
), (q, Ae) =>
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
class: Vt(["pointer-events-none relative h-[calc(100%-1rem)] w-auto translate-y-[-50px] transition-all duration-300 ease-in-out min-[576px]:mx-auto mt-7 min-[576px]:h-[calc(100%-3.5rem)]", A.max_width])
|
|
2973
|
+
), (q, Ae) => {
|
|
2974
|
+
var Ke;
|
|
2975
|
+
return gr((ue(), de("div", {
|
|
2976
|
+
class: Vt(["fixed left-0 top-13 h-full w-full overflow-y-auto overflow-x-hidden outline-none inset-0 bg-black !bg-opacity-80", A.has_large_z_index ? "z-[9999]" : "z-[1055]"]),
|
|
2977
|
+
tabindex: "-1"
|
|
2964
2978
|
}, [
|
|
2965
|
-
R("div",
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2979
|
+
R("div", {
|
|
2980
|
+
class: Vt(["pointer-events-none relative h-[calc(100%-1rem)] w-auto translate-y-[-50px] transition-all duration-300 ease-in-out min-[576px]:mx-auto mt-7 min-[576px]:h-[calc(100%-3.5rem)]", A.max_width])
|
|
2981
|
+
}, [
|
|
2982
|
+
R("div", oee, [
|
|
2983
|
+
R("div", see, [
|
|
2984
|
+
R("h5", ree, lt(A.title), 1),
|
|
2985
|
+
R("button", {
|
|
2986
|
+
type: "button",
|
|
2987
|
+
class: "box-content border-none rounded-none text-neutral-500 hover:text-neutral-800 hover:no-underline focus:text-neutral-800 focus:opacity-100 focus:shadow-none focus:outline-none dark:text-neutral-400 dark:hover:text-neutral-300 dark:focus:text-neutral-300",
|
|
2988
|
+
onClick: pe,
|
|
2989
|
+
"aria-label": "Close"
|
|
2990
|
+
}, lee)
|
|
2991
|
+
]),
|
|
2992
|
+
A.is_loading ? (ue(), de("div", cee, uee)) : Ye("", !0),
|
|
2993
|
+
gr(R("div", {
|
|
2994
|
+
class: Vt(["relative overflow-y-auto", A.bodyClass])
|
|
2995
|
+
}, [
|
|
2996
|
+
Zi(q.$slots, "body")
|
|
2997
|
+
], 2), [
|
|
2998
|
+
[kf, !A.is_loading]
|
|
2999
|
+
]),
|
|
3000
|
+
gr(R("div", dee, [
|
|
3001
|
+
Zi(q.$slots, "buttons"),
|
|
3002
|
+
R("button", {
|
|
3003
|
+
onClick: pe,
|
|
3004
|
+
type: "button",
|
|
3005
|
+
class: "px-5 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-200 rounded-lg ms-3 hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-blue-300 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"
|
|
3006
|
+
}, lt(((Ke = A.language) == null ? void 0 : Ke.close) ?? "Close"), 1)
|
|
3007
|
+
], 512), [
|
|
3008
|
+
[kf, !A.is_loading]
|
|
3009
|
+
])
|
|
2992
3010
|
])
|
|
2993
|
-
])
|
|
2994
|
-
], 2)
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
3011
|
+
], 2)
|
|
3012
|
+
], 2)), [
|
|
3013
|
+
[kf, A.is_open]
|
|
3014
|
+
]);
|
|
3015
|
+
};
|
|
2998
3016
|
}
|
|
2999
3017
|
}, mee = { class: "flex justify-between p-2 -mb-px border border-gray-300 no-underlin" }, fee = { class: "relative inline-flex items-center cursor-pointer" }, gee = ["name", "id", "checked"], hee = /* @__PURE__ */ R("div", { class: "w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600" }, null, -1), pee = /* @__PURE__ */ R("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), bee = {
|
|
3000
3018
|
key: 0,
|
|
@@ -3060,7 +3078,7 @@ const Kce = /* @__PURE__ */ zr(BJ, [["render", LQ], ["__scopeId", "data-v-bb117e
|
|
|
3060
3078
|
}, [
|
|
3061
3079
|
R("div", null, [
|
|
3062
3080
|
R("li", mee, [
|
|
3063
|
-
Zn(
|
|
3081
|
+
Zn(lt(A.label_name) + " ", 1),
|
|
3064
3082
|
R("label", fee, [
|
|
3065
3083
|
R("input", {
|
|
3066
3084
|
type: "checkbox",
|
|
@@ -3079,16 +3097,16 @@ const Kce = /* @__PURE__ */ zr(BJ, [["render", LQ], ["__scopeId", "data-v-bb117e
|
|
|
3079
3097
|
])
|
|
3080
3098
|
]),
|
|
3081
3099
|
pee
|
|
3082
|
-
], 2)) :
|
|
3083
|
-
A.show ?
|
|
3100
|
+
], 2)) : Ye("", !0),
|
|
3101
|
+
A.show ? Ye("", !0) : (ue(), de("div", {
|
|
3084
3102
|
key: 1,
|
|
3085
3103
|
class: Vt(A.field_name)
|
|
3086
3104
|
}, [
|
|
3087
3105
|
A.has_label_up ? (ue(), de("div", bee, [
|
|
3088
|
-
R("label", vee,
|
|
3089
|
-
])) :
|
|
3106
|
+
R("label", vee, lt(A.label_name), 1)
|
|
3107
|
+
])) : Ye("", !0),
|
|
3090
3108
|
R("li", yee, [
|
|
3091
|
-
Zn(
|
|
3109
|
+
Zn(lt(A.label_name) + " ", 1),
|
|
3092
3110
|
R("label", wee, [
|
|
3093
3111
|
gr(R("input", {
|
|
3094
3112
|
type: "checkbox",
|
|
@@ -3106,8 +3124,8 @@ const Kce = /* @__PURE__ */ zr(BJ, [["render", LQ], ["__scopeId", "data-v-bb117e
|
|
|
3106
3124
|
Cee
|
|
3107
3125
|
])
|
|
3108
3126
|
]),
|
|
3109
|
-
R("span", _ee,
|
|
3110
|
-
R("small", See,
|
|
3127
|
+
R("span", _ee, lt(A.error_message), 1),
|
|
3128
|
+
R("small", See, lt(A.description), 1)
|
|
3111
3129
|
], 2))
|
|
3112
3130
|
], 64));
|
|
3113
3131
|
}
|
|
@@ -3171,7 +3189,7 @@ const Kce = /* @__PURE__ */ zr(BJ, [["render", LQ], ["__scopeId", "data-v-bb117e
|
|
|
3171
3189
|
}, [
|
|
3172
3190
|
R("div", null, [
|
|
3173
3191
|
R("li", kee, [
|
|
3174
|
-
Zn(
|
|
3192
|
+
Zn(lt(A.label_name) + " ", 1),
|
|
3175
3193
|
R("label", Tee, [
|
|
3176
3194
|
R("input", {
|
|
3177
3195
|
type: "checkbox",
|
|
@@ -3188,16 +3206,16 @@ const Kce = /* @__PURE__ */ zr(BJ, [["render", LQ], ["__scopeId", "data-v-bb117e
|
|
|
3188
3206
|
])
|
|
3189
3207
|
]),
|
|
3190
3208
|
Dee
|
|
3191
|
-
], 2)) :
|
|
3192
|
-
A.show ?
|
|
3209
|
+
], 2)) : Ye("", !0),
|
|
3210
|
+
A.show ? Ye("", !0) : (ue(), de("div", {
|
|
3193
3211
|
key: 1,
|
|
3194
3212
|
class: Vt(A.field_name)
|
|
3195
3213
|
}, [
|
|
3196
3214
|
A.has_label_up ? (ue(), de("div", Oee, [
|
|
3197
|
-
R("label", Ree,
|
|
3198
|
-
])) :
|
|
3215
|
+
R("label", Ree, lt(A.label_name), 1)
|
|
3216
|
+
])) : Ye("", !0),
|
|
3199
3217
|
R("li", $ee, [
|
|
3200
|
-
Zn(
|
|
3218
|
+
Zn(lt(A.label_name) + " ", 1),
|
|
3201
3219
|
R("label", Mee, [
|
|
3202
3220
|
gr(R("input", {
|
|
3203
3221
|
type: "checkbox",
|
|
@@ -3213,8 +3231,8 @@ const Kce = /* @__PURE__ */ zr(BJ, [["render", LQ], ["__scopeId", "data-v-bb117e
|
|
|
3213
3231
|
Pee
|
|
3214
3232
|
])
|
|
3215
3233
|
]),
|
|
3216
|
-
R("span", Nee,
|
|
3217
|
-
R("small", Iee,
|
|
3234
|
+
R("span", Nee, lt(A.error_message), 1),
|
|
3235
|
+
R("small", Iee, lt(A.description), 1)
|
|
3218
3236
|
], 2))
|
|
3219
3237
|
], 64));
|
|
3220
3238
|
}
|
|
@@ -3333,7 +3351,7 @@ const Kce = /* @__PURE__ */ zr(BJ, [["render", LQ], ["__scopeId", "data-v-bb117e
|
|
|
3333
3351
|
setup(A, { emit: ee }) {
|
|
3334
3352
|
const j = A, xe = ee;
|
|
3335
3353
|
lo(null);
|
|
3336
|
-
const oe = lo({}), U = lo([]), pe = lo(0), q = lo(!1), Ae = lo(""),
|
|
3354
|
+
const oe = lo({}), U = lo([]), pe = lo(0), q = lo(!1), Ae = lo(""), Ke = lo(""), bt = lo(null), cn = lo(0), xn = lo(0), Ro = () => {
|
|
3337
3355
|
if (bt.value) {
|
|
3338
3356
|
cn.value = bt.value.offsetWidth;
|
|
3339
3357
|
var Xt = bt.value.getBoundingClientRect();
|
|
@@ -3343,7 +3361,7 @@ const Kce = /* @__PURE__ */ zr(BJ, [["render", LQ], ["__scopeId", "data-v-bb117e
|
|
|
3343
3361
|
Xt.key === "Enter" && Xt.target.form && Xt.preventDefault();
|
|
3344
3362
|
};
|
|
3345
3363
|
Og(() => {
|
|
3346
|
-
|
|
3364
|
+
Ke.value = Wo(), j.show || (window.addEventListener("scroll", Ro), document.body.addEventListener("click", fe), document.addEventListener("keypress", Es));
|
|
3347
3365
|
}), lO(() => {
|
|
3348
3366
|
window.removeEventListener("scroll", Ro), document.body.removeEventListener("click", fe), document.removeEventListener("keypress", Es);
|
|
3349
3367
|
});
|
|
@@ -3382,14 +3400,14 @@ const Kce = /* @__PURE__ */ zr(BJ, [["render", LQ], ["__scopeId", "data-v-bb117e
|
|
|
3382
3400
|
return Xt !== null && typeof Xt == "object" && Object.keys(Xt).length > 0;
|
|
3383
3401
|
}
|
|
3384
3402
|
function fe(Xt) {
|
|
3385
|
-
Xt.target.id != j.field_name + "search" +
|
|
3403
|
+
Xt.target.id != j.field_name + "search" + Ke.value && Xt.target.id != j.field_name && !Xt.target.classList.contains("showOptions") && (be(), pe.value = 0, q.value = !1);
|
|
3386
3404
|
}
|
|
3387
3405
|
function St(Xt) {
|
|
3388
|
-
const Cn = `${Xt}${
|
|
3406
|
+
const Cn = `${Xt}${Ke.value}`, Pt = document.getElementById(Cn);
|
|
3389
3407
|
Pt && Pt.scrollIntoView();
|
|
3390
3408
|
}
|
|
3391
3409
|
function ia(Xt) {
|
|
3392
|
-
const Cn = `${Xt}${
|
|
3410
|
+
const Cn = `${Xt}${Ke.value}`, Pt = document.getElementById(Cn);
|
|
3393
3411
|
Pt && Pt.click();
|
|
3394
3412
|
}
|
|
3395
3413
|
function oo(Xt) {
|
|
@@ -3424,7 +3442,7 @@ const Kce = /* @__PURE__ */ zr(BJ, [["render", LQ], ["__scopeId", "data-v-bb117e
|
|
|
3424
3442
|
Ae.value = "", q.value = !0, Mj(() => {
|
|
3425
3443
|
Ro();
|
|
3426
3444
|
var Xt = document.getElementById(
|
|
3427
|
-
`${j.field_name}search${
|
|
3445
|
+
`${j.field_name}search${Ke.value}`
|
|
3428
3446
|
);
|
|
3429
3447
|
Xt && Xt.focus();
|
|
3430
3448
|
});
|
|
@@ -3459,13 +3477,13 @@ const Kce = /* @__PURE__ */ zr(BJ, [["render", LQ], ["__scopeId", "data-v-bb117e
|
|
|
3459
3477
|
key: 0,
|
|
3460
3478
|
class: Vt(A.field_name)
|
|
3461
3479
|
}, [
|
|
3462
|
-
R("h3", Lee,
|
|
3480
|
+
R("h3", Lee, lt(A.label_name), 1),
|
|
3463
3481
|
R("p", Fee, [
|
|
3464
|
-
R("span", Hee,
|
|
3482
|
+
R("span", Hee, lt((Pt = oe.value) == null ? void 0 : Pt.name), 1)
|
|
3465
3483
|
]),
|
|
3466
3484
|
Vee
|
|
3467
|
-
], 2)) :
|
|
3468
|
-
A.show ?
|
|
3485
|
+
], 2)) : Ye("", !0),
|
|
3486
|
+
A.show ? Ye("", !0) : (ue(), de("div", {
|
|
3469
3487
|
key: 1,
|
|
3470
3488
|
class: Vt(A.field_name)
|
|
3471
3489
|
}, [
|
|
@@ -3483,7 +3501,7 @@ const Kce = /* @__PURE__ */ zr(BJ, [["render", LQ], ["__scopeId", "data-v-bb117e
|
|
|
3483
3501
|
"gl-label-form-invalid": A.error_message !== "",
|
|
3484
3502
|
required: A.is_required
|
|
3485
3503
|
})
|
|
3486
|
-
},
|
|
3504
|
+
}, lt(A.label_name), 3)) : Ye("", !0),
|
|
3487
3505
|
R("div", {
|
|
3488
3506
|
ref_key: "myDivDropDown",
|
|
3489
3507
|
ref: bt,
|
|
@@ -3527,7 +3545,7 @@ const Kce = /* @__PURE__ */ zr(BJ, [["render", LQ], ["__scopeId", "data-v-bb117e
|
|
|
3527
3545
|
gr(R("input", {
|
|
3528
3546
|
type: "search",
|
|
3529
3547
|
"onUpdate:modelValue": Cn[3] || (Cn[3] = (rt) => Ae.value = rt),
|
|
3530
|
-
id: `${A.field_name}search${
|
|
3548
|
+
id: `${A.field_name}search${Ke.value}`,
|
|
3531
3549
|
onKeydown: Ue,
|
|
3532
3550
|
onBlur: Cn[4] || (Cn[4] = (rt) => be()),
|
|
3533
3551
|
autocomplete: "off",
|
|
@@ -3549,10 +3567,10 @@ const Kce = /* @__PURE__ */ zr(BJ, [["render", LQ], ["__scopeId", "data-v-bb117e
|
|
|
3549
3567
|
onClick: (We) => rs(rt),
|
|
3550
3568
|
onMousedown: (We) => rs(rt),
|
|
3551
3569
|
key: Ft,
|
|
3552
|
-
id: `${Ft + 1}${
|
|
3570
|
+
id: `${Ft + 1}${Ke.value}`
|
|
3553
3571
|
}, [
|
|
3554
3572
|
R("div", tte, [
|
|
3555
|
-
((kt = oe.value) == null ? void 0 : kt.id) === rt.id ? (ue(), de("svg", nte, ste)) :
|
|
3573
|
+
((kt = oe.value) == null ? void 0 : kt.id) === rt.id ? (ue(), de("svg", nte, ste)) : Ye("", !0),
|
|
3556
3574
|
R("span", {
|
|
3557
3575
|
innerHTML: rt.name || rt.id || "-"
|
|
3558
3576
|
}, null, 8, rte)
|
|
@@ -3565,9 +3583,9 @@ const Kce = /* @__PURE__ */ zr(BJ, [["render", LQ], ["__scopeId", "data-v-bb117e
|
|
|
3565
3583
|
])
|
|
3566
3584
|
])
|
|
3567
3585
|
], 512)
|
|
3568
|
-
])) :
|
|
3569
|
-
R("span", ate,
|
|
3570
|
-
R("small", lte,
|
|
3586
|
+
])) : Ye("", !0),
|
|
3587
|
+
R("span", ate, lt(A.error_message), 1),
|
|
3588
|
+
R("small", lte, lt(A.description), 1)
|
|
3571
3589
|
], 2))
|
|
3572
3590
|
], 64);
|
|
3573
3591
|
};
|
|
@@ -3635,14 +3653,14 @@ const Kce = /* @__PURE__ */ zr(BJ, [["render", LQ], ["__scopeId", "data-v-bb117e
|
|
|
3635
3653
|
key: 0,
|
|
3636
3654
|
class: Vt(A.field_name)
|
|
3637
3655
|
}, [
|
|
3638
|
-
R("h3", ite,
|
|
3656
|
+
R("h3", ite, lt(A.label_name), 1),
|
|
3639
3657
|
R("p", {
|
|
3640
3658
|
id: A.field_name,
|
|
3641
3659
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
3642
|
-
},
|
|
3660
|
+
}, lt(A.model_value), 9, ute),
|
|
3643
3661
|
dte
|
|
3644
|
-
], 2)) :
|
|
3645
|
-
A.show ?
|
|
3662
|
+
], 2)) : Ye("", !0),
|
|
3663
|
+
A.show ? Ye("", !0) : (ue(), de("div", {
|
|
3646
3664
|
key: 1,
|
|
3647
3665
|
class: Vt(["mb-4", A.field_name])
|
|
3648
3666
|
}, [
|
|
@@ -3653,7 +3671,7 @@ const Kce = /* @__PURE__ */ zr(BJ, [["render", LQ], ["__scopeId", "data-v-bb117e
|
|
|
3653
3671
|
required: A.is_required
|
|
3654
3672
|
}),
|
|
3655
3673
|
for: A.field_name
|
|
3656
|
-
},
|
|
3674
|
+
}, lt(A.label_name), 11, mte),
|
|
3657
3675
|
gr(R("textarea", {
|
|
3658
3676
|
required: A.is_required,
|
|
3659
3677
|
name: A.field_name,
|
|
@@ -3663,8 +3681,8 @@ const Kce = /* @__PURE__ */ zr(BJ, [["render", LQ], ["__scopeId", "data-v-bb117e
|
|
|
3663
3681
|
" gl-textarea-form-invalid mt-4 ": A.error_message !== ""
|
|
3664
3682
|
}),
|
|
3665
3683
|
type: A.type,
|
|
3666
|
-
"onUpdate:modelValue": Ae[0] || (Ae[0] = (
|
|
3667
|
-
onKeydown: Ae[1] || (Ae[1] = (
|
|
3684
|
+
"onUpdate:modelValue": Ae[0] || (Ae[0] = (Ke) => pe.value = Ke),
|
|
3685
|
+
onKeydown: Ae[1] || (Ae[1] = (Ke) => q.$emit("keydown", Ke)),
|
|
3668
3686
|
ref_key: "input",
|
|
3669
3687
|
ref: U,
|
|
3670
3688
|
rows: "4",
|
|
@@ -3672,8 +3690,8 @@ const Kce = /* @__PURE__ */ zr(BJ, [["render", LQ], ["__scopeId", "data-v-bb117e
|
|
|
3672
3690
|
}, null, 42, fte), [
|
|
3673
3691
|
[_m, pe.value]
|
|
3674
3692
|
]),
|
|
3675
|
-
R("span", gte,
|
|
3676
|
-
R("small", hte,
|
|
3693
|
+
R("span", gte, lt(A.error_message), 1),
|
|
3694
|
+
R("small", hte, lt(A.description), 1)
|
|
3677
3695
|
], 2))
|
|
3678
3696
|
], 64));
|
|
3679
3697
|
}
|
|
@@ -3721,14 +3739,14 @@ var cq = { exports: {} };
|
|
|
3721
3739
|
return !1;
|
|
3722
3740
|
return !0;
|
|
3723
3741
|
});
|
|
3724
|
-
},
|
|
3742
|
+
}, Ke = function(e, n) {
|
|
3725
3743
|
return oe(Ae(e), function(o) {
|
|
3726
3744
|
return xe(o, n);
|
|
3727
3745
|
});
|
|
3728
3746
|
}, bt = function(e) {
|
|
3729
3747
|
return U(function(n, o) {
|
|
3730
3748
|
var r = Object.keys(n), l = Object.keys(o);
|
|
3731
|
-
if (!
|
|
3749
|
+
if (!Ke(q).eq(r, l))
|
|
3732
3750
|
return !1;
|
|
3733
3751
|
for (var u = r.length, f = 0; f < u; f++) {
|
|
3734
3752
|
var b = r[f];
|
|
@@ -3844,7 +3862,7 @@ var cq = { exports: {} };
|
|
|
3844
3862
|
const tl = Array.prototype.slice, so = Array.prototype.indexOf, as = Array.prototype.push, Zo = (e, n) => so.call(e, n), ji = (e, n) => {
|
|
3845
3863
|
const o = Zo(e, n);
|
|
3846
3864
|
return o === -1 ? z.none() : z.some(o);
|
|
3847
|
-
},
|
|
3865
|
+
}, Xe = (e, n) => Zo(e, n) > -1, Ot = (e, n) => {
|
|
3848
3866
|
for (let o = 0, r = e.length; o < r; o++) {
|
|
3849
3867
|
const l = e[o];
|
|
3850
3868
|
if (n(l, o))
|
|
@@ -3923,7 +3941,7 @@ var cq = { exports: {} };
|
|
|
3923
3941
|
}, vs = (e) => {
|
|
3924
3942
|
const n = tl.call(e, 0);
|
|
3925
3943
|
return n.reverse(), n;
|
|
3926
|
-
}, Gi = (e, n) => zt(e, (o) => !
|
|
3944
|
+
}, Gi = (e, n) => zt(e, (o) => !Xe(n, o)), ms = (e, n) => {
|
|
3927
3945
|
const o = {};
|
|
3928
3946
|
for (let r = 0, l = e.length; r < l; r++) {
|
|
3929
3947
|
const u = e[r];
|
|
@@ -3941,7 +3959,7 @@ var cq = { exports: {} };
|
|
|
3941
3959
|
}
|
|
3942
3960
|
return z.none();
|
|
3943
3961
|
}, di = (e, n) => {
|
|
3944
|
-
const o = [], r = be(n) ? (l) => Ot(o, (u) => n(u, l)) : (l) =>
|
|
3962
|
+
const o = [], r = be(n) ? (l) => Ot(o, (u) => n(u, l)) : (l) => Xe(o, l);
|
|
3945
3963
|
for (let l = 0, u = e.length; l < u; l++) {
|
|
3946
3964
|
const f = e[l];
|
|
3947
3965
|
r(f) || o.push(f);
|
|
@@ -4394,7 +4412,7 @@ var cq = { exports: {} };
|
|
|
4394
4412
|
}, Am = (e, n, o) => {
|
|
4395
4413
|
const r = zt(Ju(e, n), (l) => l !== o);
|
|
4396
4414
|
return r.length > 0 ? Cs(e, n, r.join(" ")) : cr(e, n), !1;
|
|
4397
|
-
}, sl = (e) => e.dom.classList !== void 0, Dm = (e) => Ju(e, "class"), rl = (e, n) => Ef(e, "class", n), Wc = (e, n) => Am(e, "class", n), Om = (e, n) =>
|
|
4415
|
+
}, sl = (e) => e.dom.classList !== void 0, Dm = (e) => Ju(e, "class"), rl = (e, n) => Ef(e, "class", n), Wc = (e, n) => Am(e, "class", n), Om = (e, n) => Xe(Dm(e), n) ? Wc(e, n) : rl(e, n), wu = (e, n) => {
|
|
4398
4416
|
sl(e) ? e.dom.classList.add(n) : rl(e, n);
|
|
4399
4417
|
}, Rm = (e) => {
|
|
4400
4418
|
(sl(e) ? e.dom.classList : Dm(e)).length === 0 && cr(e, "class");
|
|
@@ -4734,7 +4752,7 @@ var cq = { exports: {} };
|
|
|
4734
4752
|
return (o) => {
|
|
4735
4753
|
if (o && o.nodeName) {
|
|
4736
4754
|
const r = o.nodeName.toLowerCase();
|
|
4737
|
-
return
|
|
4755
|
+
return Xe(n, r);
|
|
4738
4756
|
}
|
|
4739
4757
|
return !1;
|
|
4740
4758
|
};
|
|
@@ -5036,7 +5054,7 @@ var cq = { exports: {} };
|
|
|
5036
5054
|
}, kb = (e) => e.hasAttribute($0), B0 = (e, n) => hn(e.getTransparentElements(), n), P0 = (e, n) => qt(n) && B0(e, n.nodeName), xo = (e, n) => P0(e, n) && kb(n), dn = (e, n) => P0(e, n) && !kb(n), zm = (e, n) => n.type === 1 && B0(e, n.name) && fe(n.attr($0)), Tb = ls().browser, N0 = (e) => bs(e, Pa), O4 = (e) => Tb.isFirefox() && go(e) === "table" ? N0($r(e)).filter((n) => go(n) === "caption").bind((n) => N0(qa(n)).map((o) => {
|
|
5037
5055
|
const r = o.dom.offsetTop, l = n.dom.offsetTop, u = n.dom.offsetHeight;
|
|
5038
5056
|
return r <= l ? -u : 0;
|
|
5039
|
-
})).getOr(0) : 0, Py = (e, n) => e.children &&
|
|
5057
|
+
})).getOr(0) : 0, Py = (e, n) => e.children && Xe(e.children, n), Os = (e, n, o) => {
|
|
5040
5058
|
let r = 0, l = 0;
|
|
5041
5059
|
const u = e.ownerDocument;
|
|
5042
5060
|
if (o = o || e, n) {
|
|
@@ -5078,8 +5096,8 @@ var cq = { exports: {} };
|
|
|
5078
5096
|
count: 0
|
|
5079
5097
|
})), P = (Ce) => new Promise((ke, Se) => {
|
|
5080
5098
|
let Be;
|
|
5081
|
-
const
|
|
5082
|
-
r[
|
|
5099
|
+
const ct = ut._addCacheSuffix(Ce), xt = B(ct);
|
|
5100
|
+
r[ct] = xt, xt.count++;
|
|
5083
5101
|
const Lt = (Kt, un) => {
|
|
5084
5102
|
Te(Kt, nr), xt.status = un, xt.passed = [], xt.failed = [], Be && (Be.onload = null, Be.onerror = null, Be = null);
|
|
5085
5103
|
}, Ze = () => Lt(xt.passed, 2), He = () => Lt(xt.failed, 3);
|
|
@@ -5099,7 +5117,7 @@ var cq = { exports: {} };
|
|
|
5099
5117
|
rel: "stylesheet",
|
|
5100
5118
|
type: "text/css",
|
|
5101
5119
|
id: xt.id
|
|
5102
|
-
}), n.contentCssCors && Cs(at, "crossOrigin", "anonymous"), n.referrerPolicy && Cs(at, "referrerpolicy", n.referrerPolicy), Be = at.dom, Be.onload = Ze, Be.onerror = He, y(at), Cs(at, "href",
|
|
5120
|
+
}), n.contentCssCors && Cs(at, "crossOrigin", "anonymous"), n.referrerPolicy && Cs(at, "referrerpolicy", n.referrerPolicy), Be = at.dom, Be.onload = Ze, Be.onerror = He, y(at), Cs(at, "href", ct);
|
|
5103
5121
|
}), F = (Ce, ke) => {
|
|
5104
5122
|
const Se = B(Ce);
|
|
5105
5123
|
r[Ce] = Se, Se.count++;
|
|
@@ -5110,8 +5128,8 @@ var cq = { exports: {} };
|
|
|
5110
5128
|
id: Se.id
|
|
5111
5129
|
}), Be.dom.innerHTML = ke, y(Be);
|
|
5112
5130
|
}, te = (Ce) => Promise.allSettled(Je(Ce, (Se) => P(Se).then(rt(Se)))).then((Se) => {
|
|
5113
|
-
const Be = Ko(Se, (
|
|
5114
|
-
return Be.fail.length > 0 ? Promise.reject(Je(Be.fail, (
|
|
5131
|
+
const Be = Ko(Se, (ct) => ct.status === "fulfilled");
|
|
5132
|
+
return Be.fail.length > 0 ? Promise.reject(Je(Be.fail, (ct) => ct.reason)) : Je(Be.pass, (ct) => ct.value);
|
|
5115
5133
|
}), se = (Ce) => {
|
|
5116
5134
|
const ke = ut._addCacheSuffix(Ce);
|
|
5117
5135
|
Jo(r, ke).each((Se) => {
|
|
@@ -5431,7 +5449,7 @@ var cq = { exports: {} };
|
|
|
5431
5449
|
}
|
|
5432
5450
|
}, y = (n = e.schema) !== null && n !== void 0 ? n : "html5", k = N4(y);
|
|
5433
5451
|
e.verify_html === !1 && (e.valid_elements = "*[*]");
|
|
5434
|
-
const B = op(e.valid_styles), P = op(e.invalid_styles, "map"), F = op(e.valid_classes, "map"), te = b("whitespace_elements", "pre script noscript style textarea video audio iframe object code"), se = b("self_closing_elements", "colgroup dd dt li option p td tfoot th thead tr"), Y = b("void_elements", "area base basefont br col frame hr img input isindex link meta param embed source wbr track"), re = b("boolean_attributes", "checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls allowfullscreen"), Ce = "td th iframe video audio object script code", ke = b("non_empty_elements", Ce + " pre svg", Y), Se = b("move_caret_before_on_enter_elements", Ce + " table", Y), Be = "h1 h2 h3 h4 h5 h6",
|
|
5452
|
+
const B = op(e.valid_styles), P = op(e.invalid_styles, "map"), F = op(e.valid_classes, "map"), te = b("whitespace_elements", "pre script noscript style textarea video audio iframe object code"), se = b("self_closing_elements", "colgroup dd dt li option p td tfoot th thead tr"), Y = b("void_elements", "area base basefont br col frame hr img input isindex link meta param embed source wbr track"), re = b("boolean_attributes", "checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls allowfullscreen"), Ce = "td th iframe video audio object script code", ke = b("non_empty_elements", Ce + " pre svg", Y), Se = b("move_caret_before_on_enter_elements", Ce + " table", Y), Be = "h1 h2 h3 h4 h5 h6", ct = b("text_block_elements", Be + " p div address pre form blockquote center dir fieldset header footer article section hgroup aside main nav figure"), xt = b("block_elements", "hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex option datalist select optgroup figcaption details summary html body multicol listing", ct), Lt = b("text_inline_elements", "span strong b em i font s strike u var cite dfn code mark q sup sub samp"), Ze = b("transparent_elements", "a ins del canvas map"), He = b("wrap_block_elements", "pre " + Be);
|
|
5435
5453
|
ud("script noscript iframe noframes noembed title style textarea xmp plaintext".split(" "), (Ln) => {
|
|
5436
5454
|
f[Ln] = new RegExp("</" + Ln + "[^>]*>", "gi");
|
|
5437
5455
|
});
|
|
@@ -5512,7 +5530,7 @@ var cq = { exports: {} };
|
|
|
5512
5530
|
}), e.invalid_elements && ud(uu(e.invalid_elements), (Ln) => {
|
|
5513
5531
|
o[Ln] && delete o[Ln];
|
|
5514
5532
|
}), Kn("span") || at("span[!data-mce-type|*]");
|
|
5515
|
-
const hs = rt(B), Ms = rt(P), Hr = rt(F), Ml = rt(re), ds = rt(xt), Et = rt(
|
|
5533
|
+
const hs = rt(B), Ms = rt(P), Hr = rt(F), Ml = rt(re), ds = rt(xt), Et = rt(ct), on = rt(Lt), Yn = rt(Object.seal(Y)), io = rt(se), Qt = rt(ke), $n = rt(Se), _t = rt(te), Mn = rt(Ze), Do = rt(He), ks = rt(Object.seal(f)), ps = (Ln, Io) => {
|
|
5516
5534
|
const Bs = r[Ln.toLowerCase()];
|
|
5517
5535
|
return !!(Bs && Bs[Io.toLowerCase()]);
|
|
5518
5536
|
}, Ha = (Ln, Io) => {
|
|
@@ -5631,7 +5649,7 @@ var cq = { exports: {} };
|
|
|
5631
5649
|
return F[Ze] = at[0], !0;
|
|
5632
5650
|
}, ke = (Ze, He, at, Kt) => {
|
|
5633
5651
|
Ce(He) && Ce(at) && Ce(Kt) && (F[Ze] = F[He] + " " + F[at] + " " + F[Kt], delete F[He], delete F[at], delete F[Kt]);
|
|
5634
|
-
}, Se = (Ze) => (te = !0, u[Ze]), Be = (Ze, He) => (te && (Ze = Ze.replace(/\uFEFF[0-9]/g, (at) => u[at])), He || (Ze = Ze.replace(/\\([\'\";:])/g, "$1")), Ze),
|
|
5652
|
+
}, Se = (Ze) => (te = !0, u[Ze]), Be = (Ze, He) => (te && (Ze = Ze.replace(/\uFEFF[0-9]/g, (at) => u[at])), He || (Ze = Ze.replace(/\\([\'\";:])/g, "$1")), Ze), ct = (Ze) => String.fromCharCode(parseInt(Ze.slice(1), 16)), xt = (Ze) => Ze.replace(/\\[0-9a-f]+/gi, ct), Lt = (Ze, He, at, Kt, un, eo) => {
|
|
5635
5653
|
if (un = un || eo, un)
|
|
5636
5654
|
return un = Be(un), "'" + un.replace(/\'/g, "\\'") + "'";
|
|
5637
5655
|
if (He = Be(He || at || Kt || ""), !e.allow_script_urls) {
|
|
@@ -5665,8 +5683,8 @@ var cq = { exports: {} };
|
|
|
5665
5683
|
const ke = Ce[re];
|
|
5666
5684
|
if (ke)
|
|
5667
5685
|
for (let Se = 0, Be = ke.length; Se < Be; Se++) {
|
|
5668
|
-
const
|
|
5669
|
-
xt && (te += (te.length > 0 ? " " : "") +
|
|
5686
|
+
const ct = ke[Se], xt = P[ct];
|
|
5687
|
+
xt && (te += (te.length > 0 ? " " : "") + ct + ": " + xt + ";");
|
|
5670
5688
|
}
|
|
5671
5689
|
}, Y = (re, Ce) => {
|
|
5672
5690
|
if (!b || !Ce)
|
|
@@ -5921,7 +5939,7 @@ var cq = { exports: {} };
|
|
|
5921
5939
|
});
|
|
5922
5940
|
}
|
|
5923
5941
|
});
|
|
5924
|
-
}, Be = (Pe, Fe) => Pe.cloneNode(Fe),
|
|
5942
|
+
}, Be = (Pe, Fe) => Pe.cloneNode(Fe), ct = () => n.root_element || e.body, xt = (Pe) => {
|
|
5925
5943
|
const Fe = oa(Pe);
|
|
5926
5944
|
return {
|
|
5927
5945
|
x: Fe.x,
|
|
@@ -5974,7 +5992,7 @@ var cq = { exports: {} };
|
|
|
5974
5992
|
const ln = [];
|
|
5975
5993
|
let uo = Y(Pe);
|
|
5976
5994
|
pt = pt === void 0;
|
|
5977
|
-
const ar = Tt || (
|
|
5995
|
+
const ar = Tt || (ct().nodeName !== "BODY" ? ct().parentNode : null);
|
|
5978
5996
|
if (fe(Fe))
|
|
5979
5997
|
if (Fe === "*")
|
|
5980
5998
|
Fe = qt;
|
|
@@ -6230,7 +6248,7 @@ var cq = { exports: {} };
|
|
|
6230
6248
|
isBlock: se,
|
|
6231
6249
|
root: null,
|
|
6232
6250
|
clone: Be,
|
|
6233
|
-
getRoot:
|
|
6251
|
+
getRoot: ct,
|
|
6234
6252
|
getViewPort: xt,
|
|
6235
6253
|
getRect: un,
|
|
6236
6254
|
getSize: Kt,
|
|
@@ -6287,7 +6305,7 @@ var cq = { exports: {} };
|
|
|
6287
6305
|
dispatch: Tg,
|
|
6288
6306
|
getContentEditable: jx,
|
|
6289
6307
|
getContentEditableParent: (Pe) => {
|
|
6290
|
-
const Fe =
|
|
6308
|
+
const Fe = ct();
|
|
6291
6309
|
let Tt = null;
|
|
6292
6310
|
for (let pt = Pe; pt && pt !== Fe && (Tt = jx(pt), Tt === null); pt = pt.parentNode)
|
|
6293
6311
|
;
|
|
@@ -7099,7 +7117,7 @@ var cq = { exports: {} };
|
|
|
7099
7117
|
if (n.length !== F.length)
|
|
7100
7118
|
throw new Error("Wrong number of arguments to match. Expected: " + n.join(",") + `
|
|
7101
7119
|
Actual: ` + F.join(","));
|
|
7102
|
-
if (!or(n, (se) =>
|
|
7120
|
+
if (!or(n, (se) => Xe(F, se)))
|
|
7103
7121
|
throw new Error("Not all branches were specified when using match. Specified: " + F.join(", ") + `
|
|
7104
7122
|
Required: ` + n.join(", "));
|
|
7105
7123
|
return P[f].apply(null, y);
|
|
@@ -7296,7 +7314,7 @@ Required: ` + n.join(", "));
|
|
|
7296
7314
|
default: {}
|
|
7297
7315
|
}), n("newline_behavior", {
|
|
7298
7316
|
processor: (o) => {
|
|
7299
|
-
const r =
|
|
7317
|
+
const r = Xe([
|
|
7300
7318
|
"block",
|
|
7301
7319
|
"linebreak",
|
|
7302
7320
|
"invert",
|
|
@@ -7707,7 +7725,7 @@ Required: ` + n.join(", "));
|
|
|
7707
7725
|
default: !0
|
|
7708
7726
|
}), n("details_initial_state", {
|
|
7709
7727
|
processor: (o) => {
|
|
7710
|
-
const r =
|
|
7728
|
+
const r = Xe([
|
|
7711
7729
|
"inherited",
|
|
7712
7730
|
"collapsed",
|
|
7713
7731
|
"expanded"
|
|
@@ -7723,7 +7741,7 @@ Required: ` + n.join(", "));
|
|
|
7723
7741
|
default: "inherited"
|
|
7724
7742
|
}), n("details_serialized_state", {
|
|
7725
7743
|
processor: (o) => {
|
|
7726
|
-
const r =
|
|
7744
|
+
const r = Xe([
|
|
7727
7745
|
"inherited",
|
|
7728
7746
|
"collapsed",
|
|
7729
7747
|
"expanded"
|
|
@@ -7749,7 +7767,7 @@ Required: ` + n.join(", "));
|
|
|
7749
7767
|
"always",
|
|
7750
7768
|
"rgb_only",
|
|
7751
7769
|
"off"
|
|
7752
|
-
], l =
|
|
7770
|
+
], l = Xe(r, o);
|
|
7753
7771
|
return l ? {
|
|
7754
7772
|
value: o,
|
|
7755
7773
|
valid: l
|
|
@@ -8170,7 +8188,7 @@ Required: ` + n.join(", "));
|
|
|
8170
8188
|
const l = bs(c_(e), We(ko, o)), u = bs(q2(e), We(ko, r));
|
|
8171
8189
|
return l.isSome() && u.isSome();
|
|
8172
8190
|
}).getOr(!1), Y2 = (e, n, o, r) => {
|
|
8173
|
-
const l = o, u = new Ds(o, l), f = ns(e.schema.getMoveCaretBeforeOnEnterElements(), (y, k) => !
|
|
8191
|
+
const l = o, u = new Ds(o, l), f = ns(e.schema.getMoveCaretBeforeOnEnterElements(), (y, k) => !Xe([
|
|
8174
8192
|
"td",
|
|
8175
8193
|
"th",
|
|
8176
8194
|
"table"
|
|
@@ -8403,8 +8421,8 @@ Required: ` + n.join(", "));
|
|
|
8403
8421
|
return Se;
|
|
8404
8422
|
}, B = (re, Ce) => e.getParent(re, (ke) => ke.parentNode === Ce, Ce), P = (re, Ce, ke) => {
|
|
8405
8423
|
const Se = ke ? "nextSibling" : "previousSibling";
|
|
8406
|
-
for (let Be = re,
|
|
8407
|
-
|
|
8424
|
+
for (let Be = re, ct = Be.parentNode; Be && Be !== Ce; Be = ct) {
|
|
8425
|
+
ct = Be.parentNode;
|
|
8408
8426
|
const xt = k(Be === re ? Be : Be[Se], Se);
|
|
8409
8427
|
xt.length && (ke || xt.reverse(), o(y(xt)));
|
|
8410
8428
|
}
|
|
@@ -8632,7 +8650,7 @@ Required: ` + n.join(", "));
|
|
|
8632
8650
|
]
|
|
8633
8651
|
}, xO = (e) => e.type === "longpress" || e.type.indexOf("touch") === 0, CO = (e, n) => {
|
|
8634
8652
|
const o = n.dom, r = n.getDoc(), l = document, u = n.getBody();
|
|
8635
|
-
let f, b, y, k, B, P, F, te, se, Y, re, Ce, ke, Se, Be,
|
|
8653
|
+
let f, b, y, k, B, P, F, te, se, Y, re, Ce, ke, Se, Be, ct, xt;
|
|
8636
8654
|
const Lt = (_t) => je(_t) && (Sl(_t) || o.is(_t, "figure.image")), Ze = (_t) => br(_t) || o.hasClass(_t, "mce-preview-object"), He = (_t, Mn) => {
|
|
8637
8655
|
if (xO(_t)) {
|
|
8638
8656
|
const Do = _t.touches[0];
|
|
@@ -8663,7 +8681,7 @@ Required: ` + n.join(", "));
|
|
|
8663
8681
|
left: ps,
|
|
8664
8682
|
top: Ha,
|
|
8665
8683
|
display: "block"
|
|
8666
|
-
}), y.innerHTML = Se + " × " + Be, k[2] < 0 && b.clientWidth <= Se && o.setStyle(b, "left", te + (Y - Se)), k[3] < 0 && b.clientHeight <= Be && o.setStyle(b, "top", se + (re - Be)), Mn = u.scrollWidth -
|
|
8684
|
+
}), y.innerHTML = Se + " × " + Be, k[2] < 0 && b.clientWidth <= Se && o.setStyle(b, "left", te + (Y - Se)), k[3] < 0 && b.clientHeight <= Be && o.setStyle(b, "top", se + (re - Be)), Mn = u.scrollWidth - ct, Do = u.scrollHeight - xt, Mn + Do !== 0 && o.setStyles(y, {
|
|
8667
8685
|
left: ps - Mn,
|
|
8668
8686
|
top: Ha - Do
|
|
8669
8687
|
}), ke || (lw(n, f, Y, re, "corner-" + k.name), ke = !0);
|
|
@@ -8681,7 +8699,7 @@ Required: ` + n.join(", "));
|
|
|
8681
8699
|
P = Bs.screenX, F = Bs.screenY, Y = tr.clientWidth, re = tr.clientHeight, Ce = re / Y, k = ci, k.name = Ed, k.startPos = {
|
|
8682
8700
|
x: Ha * ci[0] + Do,
|
|
8683
8701
|
y: vm * ci[1] + ks
|
|
8684
|
-
},
|
|
8702
|
+
}, ct = u.scrollWidth, xt = u.scrollHeight, B = o.add(u, "div", {
|
|
8685
8703
|
class: "mce-resize-backdrop",
|
|
8686
8704
|
"data-mce-bogus": "all"
|
|
8687
8705
|
}), o.setStyles(B, {
|
|
@@ -8882,7 +8900,7 @@ Required: ` + n.join(", "));
|
|
|
8882
8900
|
range: Rv
|
|
8883
8901
|
}, qp = (e, n) => {
|
|
8884
8902
|
const o = go(e);
|
|
8885
|
-
return o === "input" ? nm.after(e) :
|
|
8903
|
+
return o === "input" ? nm.after(e) : Xe([
|
|
8886
8904
|
"br",
|
|
8887
8905
|
"img"
|
|
8888
8906
|
], o) ? n === 0 ? nm.before(e) : nm.after(e) : nm.on(e, n);
|
|
@@ -9362,7 +9380,7 @@ Required: ` + n.join(", "));
|
|
|
9362
9380
|
}), pN = (e) => go(e) === "img" ? 1 : A0(e).fold(() => $r(e).length, (n) => n.length), bN = (e) => A0(e).filter((n) => n.trim().length !== 0 || n.indexOf(Po) > -1).isSome(), vN = (e) => qs(e) && Ga(e, "contenteditable") === "false", yN = [
|
|
9363
9381
|
"img",
|
|
9364
9382
|
"br"
|
|
9365
|
-
], LO = (e) => bN(e) ||
|
|
9383
|
+
], LO = (e) => bN(e) || Xe(yN, go(e)) || vN(e), wN = (e) => na(e, LO), xN = (e) => CN(e, LO), CN = (e, n) => {
|
|
9366
9384
|
const o = (r) => {
|
|
9367
9385
|
const l = $r(r);
|
|
9368
9386
|
for (let u = l.length - 1; u >= 0; u--) {
|
|
@@ -9844,7 +9862,7 @@ Required: ` + n.join(", "));
|
|
|
9844
9862
|
}, yw = (e, n, o) => iv(n).exists(Vd) || z_(!0, e, n, o).isSome(), ww = (e, n, o) => I3(n).exists(Vd) || z_(!1, e, n, o).isSome(), ZN = We(z_, !1), jN = We(z_, !0), sR = (e) => Ie.isTextPosition(e) && !e.isAtStart() && !e.isAtEnd(), rR = (e, n, o) => {
|
|
9845
9863
|
const r = zt(cg(ie.fromDom(n.container()), e), (l) => o.isBlock(go(l)));
|
|
9846
9864
|
return no(r).getOr(e);
|
|
9847
|
-
}, aR = (e, n, o) => sR(n) ? H_(n) : H_(n) || Rc(rR(e, n, o).dom, n).exists(H_), lR = (e, n, o) => sR(n) ? ET(n) : ET(n) || Ql(rR(e, n, o).dom, n).exists(ET), GN = (e) =>
|
|
9865
|
+
}, aR = (e, n, o) => sR(n) ? H_(n) : H_(n) || Rc(rR(e, n, o).dom, n).exists(H_), lR = (e, n, o) => sR(n) ? ET(n) : ET(n) || Ql(rR(e, n, o).dom, n).exists(ET), GN = (e) => Xe([
|
|
9848
9866
|
"pre",
|
|
9849
9867
|
"pre-wrap"
|
|
9850
9868
|
], e), RT = (e) => iv(e).bind((n) => al(n, Pa)).exists((n) => GN(pr(n, "white-space"))), cR = (e, n) => Rc(e.dom, n).isNone(), qN = (e, n) => Ql(e.dom, n).isNone(), KN = (e, n, o) => cR(e, n) || qN(e, n) || OT(e, n, o) || oR(e, n, o) || ww(e, n, o) || yw(e, n, o), B1 = (e) => je(e) && ho(e) && Xf(e), iR = (e, n) => (o) => B1(new Ds(o, e)[n]()), uR = (e, n) => {
|
|
@@ -10364,7 +10382,7 @@ Required: ` + n.join(", "));
|
|
|
10364
10382
|
return u ? B(b) ? Vj(u, f, k) : B(y) ? TI(u, f, k, n) : kI(u, f, k, o) : null;
|
|
10365
10383
|
}, ff = ["pre"], uE = (e, n, o, r) => {
|
|
10366
10384
|
var l;
|
|
10367
|
-
const u = n.firstChild, f = n.lastChild, b = f.attr("data-mce-type") === "bookmark" ? f.prev : f, y = u === b, k =
|
|
10385
|
+
const u = n.firstChild, f = n.lastChild, b = f.attr("data-mce-type") === "bookmark" ? f.prev : f, y = u === b, k = Xe(ff, u.name);
|
|
10368
10386
|
if (y && k) {
|
|
10369
10387
|
const B = u.attr("contenteditable") !== "false", P = ((l = e.getParent(o, e.isBlock)) === null || l === void 0 ? void 0 : l.nodeName.toLowerCase()) === u.name, F = z.from(F1(r, o)).forall(il);
|
|
10370
10388
|
return B && P && F;
|
|
@@ -10483,12 +10501,12 @@ Required: ` + n.join(", "));
|
|
|
10483
10501
|
for (Kg(ke) ? ke = Se = Be : Se = ke; Se && Se !== Be; )
|
|
10484
10502
|
ke = Se, Se = Se.parentNode;
|
|
10485
10503
|
n = ke === Be ? Be.innerHTML : f.getOuterHTML(ke);
|
|
10486
|
-
const
|
|
10504
|
+
const ct = b.parse(n), xt = jR(ct), Lt = xt.bind(NR).getOr(ct);
|
|
10487
10505
|
xt.each((Kt) => Kt.replace(re));
|
|
10488
|
-
const Ze = re.children(), He = (l = re.parent) !== null && l !== void 0 ? l :
|
|
10506
|
+
const Ze = re.children(), He = (l = re.parent) !== null && l !== void 0 ? l : ct;
|
|
10489
10507
|
re.unwrap();
|
|
10490
10508
|
const at = zt(Ze, (Kt) => oS(e.schema, Kt, He));
|
|
10491
|
-
nS(at, e.schema, Lt), eE(b.getNodeFilters(), b.getAttributeFilters(),
|
|
10509
|
+
nS(at, e.schema, Lt), eE(b.getNodeFilters(), b.getAttributeFilters(), ct), n = k.serialize(ct), ke === Be ? f.setHTML(Be, n) : f.setOuterHTML(ke, n);
|
|
10492
10510
|
}
|
|
10493
10511
|
return AI(e, y), OI(e, f.get("mce_marker")), mE(e.getBody()), UR(f, u.getStart(), e.schema), eC(e.schema, e.getBody(), u.getStart()), n;
|
|
10494
10512
|
}, lS = (e) => e instanceof Bc, $I = (e) => {
|
|
@@ -10763,7 +10781,7 @@ Required: ` + n.join(", "));
|
|
|
10763
10781
|
Qr("pre", (e) => {
|
|
10764
10782
|
const n = e.selection.getRng(), o = (l) => (u) => {
|
|
10765
10783
|
const f = u.previousSibling;
|
|
10766
|
-
return fS(f) &&
|
|
10784
|
+
return fS(f) && Xe(l, f);
|
|
10767
10785
|
}, r = (l, u) => {
|
|
10768
10786
|
const f = ie.fromDom(u), b = ic(f).dom;
|
|
10769
10787
|
To(f), qo(ie.fromDom(l), [
|
|
@@ -10785,7 +10803,7 @@ Required: ` + n.join(", "));
|
|
|
10785
10803
|
"color",
|
|
10786
10804
|
"fontSize",
|
|
10787
10805
|
"fontFamily"
|
|
10788
|
-
], Ah = (e) => St(e.styles) && Ot(ts(e.styles), (n) =>
|
|
10806
|
+
], Ah = (e) => St(e.styles) && Ot(ts(e.styles), (n) => Xe(gS, n)), s$ = (e) => bs(e, (n) => Jr(n) && n.inline === "span" && Ah(n)), SE = (e, n) => {
|
|
10789
10807
|
const o = e.get(n);
|
|
10790
10808
|
return oo(o) ? s$(o) : z.none();
|
|
10791
10809
|
}, Gv = (e, n) => Rc(n, Ie.fromRangeStart(e)).isNone(), r$ = (e, n) => Ql(n, Ie.fromRangeEnd(e)).exists((o) => !is(o.getNode()) || Ql(n, o).isSome()) === !1, a$ = (e) => (n) => Xh(n) && e.isEditable(n), qv = (e) => {
|
|
@@ -10903,7 +10921,7 @@ Required: ` + n.join(", "));
|
|
|
10903
10921
|
return fg.keep();
|
|
10904
10922
|
const y = r, k = n.preserve_attributes;
|
|
10905
10923
|
if (Jr(n) && n.remove === "all" && oo(k)) {
|
|
10906
|
-
const B = zt(u.getAttribs(y), (P) =>
|
|
10924
|
+
const B = zt(u.getAttribs(y), (P) => Xe(k, P.name.toLowerCase()));
|
|
10907
10925
|
if (u.removeAllAttribs(y), Te(B, (P) => u.setAttrib(y, P.name, P.value)), B.length > 0)
|
|
10908
10926
|
return fg.rename("span");
|
|
10909
10927
|
}
|
|
@@ -10971,20 +10989,20 @@ Required: ` + n.join(", "));
|
|
|
10971
10989
|
const re = g$(e, Y, n, o, l);
|
|
10972
10990
|
return zI(e, u, re, Y, Y, !0, f, o);
|
|
10973
10991
|
}, B = (Y) => Oi(Y) && qt(Y) && (Y.id === "_start" || Y.id === "_end"), P = (Y) => Ot(u, (re) => Hw(e, re, o, Y, Y)), F = (Y) => {
|
|
10974
|
-
const re = xr(Y.childNodes), ke = P(Y) || Ot(u, (
|
|
10992
|
+
const re = xr(Y.childNodes), ke = P(Y) || Ot(u, (ct) => Nw(b, Y, ct)), Se = Y.parentNode;
|
|
10975
10993
|
if (!ke && je(Se) && v1(f) && P(Se), f.deep && re.length)
|
|
10976
|
-
for (let
|
|
10977
|
-
F(re[
|
|
10994
|
+
for (let ct = 0; ct < re.length; ct++)
|
|
10995
|
+
F(re[ct]);
|
|
10978
10996
|
Te([
|
|
10979
10997
|
"underline",
|
|
10980
10998
|
"line-through",
|
|
10981
10999
|
"overline"
|
|
10982
|
-
], (
|
|
10983
|
-
qt(Y) && e.dom.getStyle(Y, "text-decoration") ===
|
|
11000
|
+
], (ct) => {
|
|
11001
|
+
qt(Y) && e.dom.getStyle(Y, "text-decoration") === ct && Y.parentNode && u_(b, Y.parentNode) === ct && Hw(e, {
|
|
10984
11002
|
deep: !1,
|
|
10985
11003
|
exact: !0,
|
|
10986
11004
|
inline: "span",
|
|
10987
|
-
styles: { textDecoration:
|
|
11005
|
+
styles: { textDecoration: ct }
|
|
10988
11006
|
}, void 0, Y);
|
|
10989
11007
|
});
|
|
10990
11008
|
}, te = (Y) => {
|
|
@@ -11023,8 +11041,8 @@ Required: ` + n.join(", "));
|
|
|
11023
11041
|
});
|
|
11024
11042
|
const Se = b.createRng();
|
|
11025
11043
|
Se.setStartAfter(re), Se.setEndBefore(Ce), S1(b, Se, (Be) => {
|
|
11026
|
-
Te(Be, (
|
|
11027
|
-
!Oi(
|
|
11044
|
+
Te(Be, (ct) => {
|
|
11045
|
+
!Oi(ct) && !Oi(ct.parentNode) && k(ct);
|
|
11028
11046
|
});
|
|
11029
11047
|
}), k(re), k(Ce), re = te(!0), Ce = te();
|
|
11030
11048
|
} else
|
|
@@ -11109,7 +11127,7 @@ Required: ` + n.join(", "));
|
|
|
11109
11127
|
}, F = (se, Y, re) => {
|
|
11110
11128
|
const Ce = [];
|
|
11111
11129
|
let ke = !0;
|
|
11112
|
-
const Se = u.inline || u.block, Be = P(Se),
|
|
11130
|
+
const Se = u.inline || u.block, Be = P(Se), ct = (Ze) => Cv(u) && ug(e, Ze, n, o), xt = (Ze, He, at) => {
|
|
11113
11131
|
const Kt = Up(u) && aa(e.schema, Ze) && nf(e, He, Se);
|
|
11114
11132
|
return at && Kt;
|
|
11115
11133
|
}, Lt = (Ze, He, at, Kt) => {
|
|
@@ -11127,7 +11145,7 @@ Required: ` + n.join(", "));
|
|
|
11127
11145
|
He = null, vd(u) && se.remove(Kt);
|
|
11128
11146
|
return;
|
|
11129
11147
|
}
|
|
11130
|
-
if (
|
|
11148
|
+
if (ct(Kt)) {
|
|
11131
11149
|
He = null;
|
|
11132
11150
|
return;
|
|
11133
11151
|
}
|
|
@@ -12216,9 +12234,9 @@ Required: ` + n.join(", "));
|
|
|
12216
12234
|
ao.content && ao.content.ownerDocument && (l = ao.content.ownerDocument);
|
|
12217
12235
|
}
|
|
12218
12236
|
let Se, Be = "";
|
|
12219
|
-
const { implementation:
|
|
12237
|
+
const { implementation: ct, createNodeIterator: xt, createDocumentFragment: Lt, getElementsByTagName: Ze } = l, { importNode: He } = o;
|
|
12220
12238
|
let at = {};
|
|
12221
|
-
n.isSupported = typeof Ea == "function" && typeof ke == "function" &&
|
|
12239
|
+
n.isSupported = typeof Ea == "function" && typeof ke == "function" && ct && ct.createHTMLDocument !== void 0;
|
|
12222
12240
|
const { MUSTACHE_EXPR: Kt, ERB_EXPR: un, TMPLIT_EXPR: eo, DATA_ATTR: Kn, ARIA_ATTR: hs, IS_SCRIPT_OR_DATA: Ms, ATTR_WHITESPACE: Hr } = ty;
|
|
12223
12241
|
let { IS_ALLOWED_URI: Ml } = ty, ds = null;
|
|
12224
12242
|
const Et = gs({}, [
|
|
@@ -12415,7 +12433,7 @@ Required: ` + n.join(", "));
|
|
|
12415
12433
|
} catch {
|
|
12416
12434
|
}
|
|
12417
12435
|
if (!nn || !nn.documentElement) {
|
|
12418
|
-
nn =
|
|
12436
|
+
nn = ct.createDocument(kg, "template", null);
|
|
12419
12437
|
try {
|
|
12420
12438
|
nn.documentElement.innerHTML = Zx ? Be : Vr;
|
|
12421
12439
|
} catch {
|
|
@@ -12622,7 +12640,7 @@ Required: ` + n.join(", "));
|
|
|
12622
12640
|
}, Zw = [
|
|
12623
12641
|
"img",
|
|
12624
12642
|
"video"
|
|
12625
|
-
], q$ = (e, n) => je(e) ? !e : je(n) ? !
|
|
12643
|
+
], q$ = (e, n) => je(e) ? !e : je(n) ? !Xe(Zw, n) : !0, UE = (e) => {
|
|
12626
12644
|
try {
|
|
12627
12645
|
return decodeURIComponent(e);
|
|
12628
12646
|
} catch {
|
|
@@ -12931,8 +12949,8 @@ Required: ` + n.join(", "));
|
|
|
12931
12949
|
if (ke.type === 1) {
|
|
12932
12950
|
const Be = n.getElementRule(ke.name);
|
|
12933
12951
|
if (l && Be) {
|
|
12934
|
-
const
|
|
12935
|
-
Be.paddInEmptyBlock &&
|
|
12952
|
+
const ct = Vv(n, u, f, ke);
|
|
12953
|
+
Be.paddInEmptyBlock && ct && te(ke) ? eS(o, r, se, ke) : Be.removeEmpty && ct ? se(ke) ? ke.remove() : ke.unwrap() : Be.paddEmpty && (ct || BR(ke)) && eS(o, r, se, ke);
|
|
12936
12954
|
}
|
|
12937
12955
|
} else if (ke.type === 3 && !F(ke)) {
|
|
12938
12956
|
let Be = (Se = ke.value) !== null && Se !== void 0 ? Se : "";
|
|
@@ -12950,16 +12968,16 @@ Required: ` + n.join(", "));
|
|
|
12950
12968
|
root_name: "body",
|
|
12951
12969
|
sanitize: !0,
|
|
12952
12970
|
...e
|
|
12953
|
-
}, u = new DOMParser(), f = CL(l, n), b = (Se, Be,
|
|
12954
|
-
const xt =
|
|
12971
|
+
}, u = new DOMParser(), f = CL(l, n), b = (Se, Be, ct = "html") => {
|
|
12972
|
+
const xt = ct === "xhtml" ? "application/xhtml+xml" : "text/html", Lt = hn(n.getSpecialElements(), Be.toLowerCase()), Ze = Lt ? `<${Be}>${Se}</${Be}>` : Se, He = ct === "xhtml" ? `<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>${Ze}</body></html>` : `<body>${Ze}</body>`, at = u.parseFromString(He, xt).body;
|
|
12955
12973
|
return f.sanitizeHtmlElement(at, xt), Lt ? at.firstChild : at;
|
|
12956
12974
|
}, y = o.addFilter, k = o.getFilters, B = o.removeFilter, P = r.addFilter, F = r.getFilters, te = r.removeFilter, se = (Se, Be) => {
|
|
12957
12975
|
oS(n, Se) && Be.push(Se);
|
|
12958
12976
|
}, Y = (Se, Be) => {
|
|
12959
|
-
const
|
|
12960
|
-
return Be.type === 3 || xt && !
|
|
12977
|
+
const ct = fe(Be.attr(ZE)), xt = Be.type === 1 && !hn(Se, Be.name) && !zm(n, Be) && !cd(Be.name);
|
|
12978
|
+
return Be.type === 3 || xt && !ct;
|
|
12961
12979
|
}, re = (Se, Be) => {
|
|
12962
|
-
const
|
|
12980
|
+
const ct = Q$(J$("script,style,head,html,body,title,meta,param"), n.getBlockElements()), xt = /^[ \t\r\n]+/, Lt = /[ \t\r\n]+$/;
|
|
12963
12981
|
let Ze = Se.firstChild, He = null;
|
|
12964
12982
|
const at = (Kt) => {
|
|
12965
12983
|
var un, eo;
|
|
@@ -12968,7 +12986,7 @@ Required: ` + n.join(", "));
|
|
|
12968
12986
|
if (n.isValidChild(Se.name, Be.toLowerCase())) {
|
|
12969
12987
|
for (; Ze; ) {
|
|
12970
12988
|
const Kt = Ze.next;
|
|
12971
|
-
Y(
|
|
12989
|
+
Y(ct, Ze) ? (He || (He = new Bc(Be, 1), He.attr(l.forced_root_block_attrs), Se.insert(He, Ze)), He.append(Ze)) : (at(He), He = null), Ze = Kt;
|
|
12972
12990
|
}
|
|
12973
12991
|
at(He);
|
|
12974
12992
|
}
|
|
@@ -12981,8 +12999,8 @@ Required: ` + n.join(", "));
|
|
|
12981
12999
|
getNodeFilters: k,
|
|
12982
13000
|
removeNodeFilter: B,
|
|
12983
13001
|
parse: (Se, Be = {}) => {
|
|
12984
|
-
var
|
|
12985
|
-
const xt = l.validate, Lt = (
|
|
13002
|
+
var ct;
|
|
13003
|
+
const xt = l.validate, Lt = (ct = Be.context) !== null && ct !== void 0 ? ct : l.root_name, Ze = b(Se, Lt, Be.format);
|
|
12986
13004
|
M0(n, Ze);
|
|
12987
13005
|
const He = new Bc(Lt, 11);
|
|
12988
13006
|
jw(He, Ze, n.getSpecialElements(), f.sanitizeNamespaceElement), Ze.innerHTML = "";
|
|
@@ -13228,19 +13246,19 @@ Required: ` + n.join(", "));
|
|
|
13228
13246
|
return null;
|
|
13229
13247
|
const re = se - Y, Ce = Y + se, ke = (Ce % 2 === 0 ? Ce : Ce + 1) / 2;
|
|
13230
13248
|
r[1 + ke] = B, l[1 + ke] = P + 1;
|
|
13231
|
-
let Se, Be,
|
|
13249
|
+
let Se, Be, ct, xt, Lt;
|
|
13232
13250
|
for (Se = 0; Se <= ke; ++Se) {
|
|
13233
13251
|
for (Be = -Se; Be <= Se; Be += 2) {
|
|
13234
|
-
for (
|
|
13235
|
-
r[
|
|
13236
|
-
if (re % 2 !== 0 && re - Se <= Be && Be <= re + Se && l[
|
|
13237
|
-
return b(l[
|
|
13252
|
+
for (ct = Be + ke, Be === -Se || Be !== Se && r[ct - 1] < r[ct + 1] ? r[ct] = r[ct + 1] : r[ct] = r[ct - 1] + 1, xt = r[ct], Lt = xt - B + F - Be; xt < P && Lt < te && e[xt] === n[Lt]; )
|
|
13253
|
+
r[ct] = ++xt, ++Lt;
|
|
13254
|
+
if (re % 2 !== 0 && re - Se <= Be && Be <= re + Se && l[ct - re] <= r[ct])
|
|
13255
|
+
return b(l[ct - re], Be + B - F, P, te);
|
|
13238
13256
|
}
|
|
13239
13257
|
for (Be = re - Se; Be <= re + Se; Be += 2) {
|
|
13240
|
-
for (
|
|
13241
|
-
l[
|
|
13242
|
-
if (re % 2 === 0 && -Se <= Be && Be <= Se && l[
|
|
13243
|
-
return b(l[
|
|
13258
|
+
for (ct = Be + ke - re, Be === re - Se || Be !== re + Se && l[ct + 1] <= l[ct - 1] ? l[ct] = l[ct + 1] - 1 : l[ct] = l[ct - 1], xt = l[ct] - 1, Lt = xt - B + F - Be; xt >= B && Lt >= F && e[xt] === n[Lt]; )
|
|
13259
|
+
l[ct] = xt--, Lt--;
|
|
13260
|
+
if (re % 2 === 0 && -Se <= Be && Be <= Se && l[ct] <= r[ct + re])
|
|
13261
|
+
return b(l[ct], Be + B - F, P, te);
|
|
13244
13262
|
}
|
|
13245
13263
|
}
|
|
13246
13264
|
return null;
|
|
@@ -13664,7 +13682,7 @@ Required: ` + n.join(", "));
|
|
|
13664
13682
|
range: Et,
|
|
13665
13683
|
forward: on
|
|
13666
13684
|
});
|
|
13667
|
-
},
|
|
13685
|
+
}, ct = (Et) => (k(e.getOuterHTML(Et)), Et), xt = () => IO(r.getBody(), Se()), Lt = (Et, on) => gN(e, Se(), Et, on), Ze = () => {
|
|
13668
13686
|
const Et = ke(), on = Et == null ? void 0 : Et.anchorNode, Yn = Et == null ? void 0 : Et.focusNode;
|
|
13669
13687
|
if (!Et || !on || !Yn || Tu(on) || Tu(Yn))
|
|
13670
13688
|
return !0;
|
|
@@ -13691,7 +13709,7 @@ Required: ` + n.join(", "));
|
|
|
13691
13709
|
isCollapsed: Y,
|
|
13692
13710
|
isEditable: re,
|
|
13693
13711
|
isForward: Ze,
|
|
13694
|
-
setNode:
|
|
13712
|
+
setNode: ct,
|
|
13695
13713
|
getNode: xt,
|
|
13696
13714
|
getSel: ke,
|
|
13697
13715
|
setRng: Be,
|
|
@@ -14275,8 +14293,8 @@ Options:${f}${o.join(f)}` : "";
|
|
|
14275
14293
|
}, JF = (e, n) => {
|
|
14276
14294
|
const o = {}, r = (Y, re) => Y ? Y.replace(/\/$/, "") + "/" + re.replace(/^\//, "") : re, l = (Y, re) => new Promise((Ce, ke) => {
|
|
14277
14295
|
const Se = new XMLHttpRequest();
|
|
14278
|
-
Se.open("POST", n.url), Se.withCredentials = n.credentials, Se.upload.onprogress = (
|
|
14279
|
-
re(
|
|
14296
|
+
Se.open("POST", n.url), Se.withCredentials = n.credentials, Se.upload.onprogress = (ct) => {
|
|
14297
|
+
re(ct.loaded / ct.total * 100);
|
|
14280
14298
|
}, Se.onerror = () => {
|
|
14281
14299
|
ke("Image upload failed due to a XHR Transport error. Code: " + Se.status);
|
|
14282
14300
|
}, Se.onload = () => {
|
|
@@ -14284,12 +14302,12 @@ Options:${f}${o.join(f)}` : "";
|
|
|
14284
14302
|
ke("HTTP Error: " + Se.status);
|
|
14285
14303
|
return;
|
|
14286
14304
|
}
|
|
14287
|
-
const
|
|
14288
|
-
if (!
|
|
14305
|
+
const ct = JSON.parse(Se.responseText);
|
|
14306
|
+
if (!ct || !fe(ct.location)) {
|
|
14289
14307
|
ke("Invalid JSON: " + Se.responseText);
|
|
14290
14308
|
return;
|
|
14291
14309
|
}
|
|
14292
|
-
Ce(r(n.basePath,
|
|
14310
|
+
Ce(r(n.basePath, ct.location));
|
|
14293
14311
|
};
|
|
14294
14312
|
const Be = new FormData();
|
|
14295
14313
|
Be.append("file", Y.blob(), Y.filename()), Se.send(Be);
|
|
@@ -14311,12 +14329,12 @@ Options:${f}${o.join(f)}` : "";
|
|
|
14311
14329
|
}, B = (Y, re, Ce) => (e.markPending(Y.blobUri()), new Promise((ke) => {
|
|
14312
14330
|
let Se, Be;
|
|
14313
14331
|
try {
|
|
14314
|
-
const
|
|
14332
|
+
const ct = () => {
|
|
14315
14333
|
Se && (Se.close(), Be = Pt);
|
|
14316
14334
|
}, xt = (Ze) => {
|
|
14317
|
-
|
|
14335
|
+
ct(), e.markUploaded(Y.blobUri(), Ze), k(Y.blobUri(), b(Y, Ze)), ke(b(Y, Ze));
|
|
14318
14336
|
}, Lt = (Ze) => {
|
|
14319
|
-
|
|
14337
|
+
ct(), e.removeFailed(Y.blobUri()), k(Y.blobUri(), y(Y, Ze)), ke(y(Y, Ze));
|
|
14320
14338
|
};
|
|
14321
14339
|
Be = (Ze) => {
|
|
14322
14340
|
Ze < 0 || Ze > 100 || z.from(Se).orThunk(() => z.from(Ce).map(jn)).each((He) => {
|
|
@@ -14325,8 +14343,8 @@ Options:${f}${o.join(f)}` : "";
|
|
|
14325
14343
|
}, re(Y, Be).then(xt, (Ze) => {
|
|
14326
14344
|
Lt(fe(Ze) ? { message: Ze } : Ze);
|
|
14327
14345
|
});
|
|
14328
|
-
} catch (
|
|
14329
|
-
ke(y(Y,
|
|
14346
|
+
} catch (ct) {
|
|
14347
|
+
ke(y(Y, ct));
|
|
14330
14348
|
}
|
|
14331
14349
|
})), P = (Y) => Y === l, F = (Y) => {
|
|
14332
14350
|
const re = Y.blobUri();
|
|
@@ -14353,31 +14371,31 @@ Options:${f}${o.join(f)}` : "";
|
|
|
14353
14371
|
}, n9 = (e) => {
|
|
14354
14372
|
const n = XF();
|
|
14355
14373
|
let o, r;
|
|
14356
|
-
const l = Z6(), u = [], f = (Se) => (Be) => e.selection ? Se(Be) : [], b = (Se) => Se + (Se.indexOf("?") === -1 ? "?" : "&") + (/* @__PURE__ */ new Date()).getTime(), y = (Se, Be,
|
|
14374
|
+
const l = Z6(), u = [], f = (Se) => (Be) => e.selection ? Se(Be) : [], b = (Se) => Se + (Se.indexOf("?") === -1 ? "?" : "&") + (/* @__PURE__ */ new Date()).getTime(), y = (Se, Be, ct) => {
|
|
14357
14375
|
let xt = 0;
|
|
14358
14376
|
do
|
|
14359
|
-
xt = Se.indexOf(Be, xt), xt !== -1 && (Se = Se.substring(0, xt) +
|
|
14377
|
+
xt = Se.indexOf(Be, xt), xt !== -1 && (Se = Se.substring(0, xt) + ct + Se.substr(xt + Be.length), xt += ct.length - Be.length + 1);
|
|
14360
14378
|
while (xt !== -1);
|
|
14361
14379
|
return Se;
|
|
14362
|
-
}, k = (Se, Be,
|
|
14363
|
-
const xt = `src="${
|
|
14364
|
-
return Se = y(Se, `src="${Be}"`, xt), Se = y(Se, 'data-mce-src="' + Be + '"', 'data-mce-src="' +
|
|
14380
|
+
}, k = (Se, Be, ct) => {
|
|
14381
|
+
const xt = `src="${ct}"${ct === Nt.transparentSrc ? ' data-mce-placeholder="1"' : ""}`;
|
|
14382
|
+
return Se = y(Se, `src="${Be}"`, xt), Se = y(Se, 'data-mce-src="' + Be + '"', 'data-mce-src="' + ct + '"'), Se;
|
|
14365
14383
|
}, B = (Se, Be) => {
|
|
14366
|
-
Te(e.undoManager.data, (
|
|
14367
|
-
|
|
14384
|
+
Te(e.undoManager.data, (ct) => {
|
|
14385
|
+
ct.type === "fragmented" ? ct.fragments = Je(ct.fragments, (xt) => k(xt, Se, Be)) : ct.content = k(ct.content, Se, Be);
|
|
14368
14386
|
});
|
|
14369
14387
|
}, P = (Se, Be) => {
|
|
14370
|
-
const
|
|
14388
|
+
const ct = e.convertURL(Be, "src");
|
|
14371
14389
|
B(Se.src, Be), _c(ie.fromDom(Se), {
|
|
14372
14390
|
src: J0(e) ? b(Be) : Be,
|
|
14373
|
-
"data-mce-src":
|
|
14391
|
+
"data-mce-src": ct
|
|
14374
14392
|
});
|
|
14375
14393
|
}, F = () => (o || (o = sy(e, l)), re().then(f((Se) => {
|
|
14376
|
-
const Be = Je(Se, (
|
|
14377
|
-
return o.upload(Be, QF(e)).then(f((
|
|
14394
|
+
const Be = Je(Se, (ct) => ct.blobInfo);
|
|
14395
|
+
return o.upload(Be, QF(e)).then(f((ct) => {
|
|
14378
14396
|
const xt = [];
|
|
14379
14397
|
let Lt = !1;
|
|
14380
|
-
const Ze = Je(
|
|
14398
|
+
const Ze = Je(ct, (He, at) => {
|
|
14381
14399
|
const { blobInfo: Kt, image: un } = Se[at];
|
|
14382
14400
|
let eo = !1;
|
|
14383
14401
|
return He.status && OC(e) ? (He.url && !ws(un.src, He.url) && (Lt = !0), n.removeByUri(un.src), Oh(e) || P(un, He.url)) : He.error && (He.error.remove && (B(un.src, Nt.transparentSrc), xt.push(un), eo = !0), HF(e, He.error.message)), {
|
|
@@ -14398,18 +14416,18 @@ Options:${f}${o.join(f)}` : "";
|
|
|
14398
14416
|
}))), te = () => DC(e) ? F() : Promise.resolve([]), se = (Se) => or(u, (Be) => Be(Se)), Y = (Se) => {
|
|
14399
14417
|
u.push(Se);
|
|
14400
14418
|
}, re = () => (r || (r = qF(l, n)), r.findAll(e.getBody(), se).then(f((Se) => {
|
|
14401
|
-
const Be = zt(Se, (
|
|
14402
|
-
return Oh(e) || Te(Be, (
|
|
14403
|
-
B(
|
|
14419
|
+
const Be = zt(Se, (ct) => fe(ct) ? (FS(e, ct), !1) : ct.uriType !== "blob");
|
|
14420
|
+
return Oh(e) || Te(Be, (ct) => {
|
|
14421
|
+
B(ct.image.src, ct.blobInfo.blobUri()), ct.image.src = ct.blobInfo.blobUri(), ct.image.removeAttribute("data-mce-src");
|
|
14404
14422
|
}), Be;
|
|
14405
14423
|
}))), Ce = () => {
|
|
14406
14424
|
n.destroy(), l.destroy(), r = o = null;
|
|
14407
|
-
}, ke = (Se) => Se.replace(/src="(blob:[^"]+)"/g, (Be,
|
|
14408
|
-
const xt = l.getResultUri(
|
|
14425
|
+
}, ke = (Se) => Se.replace(/src="(blob:[^"]+)"/g, (Be, ct) => {
|
|
14426
|
+
const xt = l.getResultUri(ct);
|
|
14409
14427
|
if (xt)
|
|
14410
14428
|
return 'src="' + xt + '"';
|
|
14411
|
-
let Lt = n.getByUri(
|
|
14412
|
-
return Lt || (Lt = Vo(e.editorManager.get(), (Ze, He) => Ze || He.editorUpload && He.editorUpload.blobCache.getByUri(
|
|
14429
|
+
let Lt = n.getByUri(ct);
|
|
14430
|
+
return Lt || (Lt = Vo(e.editorManager.get(), (Ze, He) => Ze || He.editorUpload && He.editorUpload.blobCache.getByUri(ct), void 0)), Lt ? 'src="data:' + Lt.blob().type + ";base64," + Lt.base64() + '"' : Be;
|
|
14413
14431
|
});
|
|
14414
14432
|
return e.on("SetContent", () => {
|
|
14415
14433
|
DC(e) ? te() : re();
|
|
@@ -14420,10 +14438,10 @@ Options:${f}${o.join(f)}` : "";
|
|
|
14420
14438
|
}), e.on("PostRender", () => {
|
|
14421
14439
|
e.parser.addNodeFilter("img", (Se) => {
|
|
14422
14440
|
Te(Se, (Be) => {
|
|
14423
|
-
const
|
|
14424
|
-
if (!
|
|
14441
|
+
const ct = Be.attr("src");
|
|
14442
|
+
if (!ct || n.getByUri(ct))
|
|
14425
14443
|
return;
|
|
14426
|
-
const xt = l.getResultUri(
|
|
14444
|
+
const xt = l.getResultUri(ct);
|
|
14427
14445
|
xt && Be.attr("src", xt);
|
|
14428
14446
|
});
|
|
14429
14447
|
});
|
|
@@ -14841,7 +14859,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
14841
14859
|
return r(B, k), B;
|
|
14842
14860
|
}, u = (y, k) => {
|
|
14843
14861
|
const B = o.getElementRule(y.nodeName.toLowerCase()), P = B == null ? void 0 : B.parentsRequired;
|
|
14844
|
-
return P && P.length ? k &&
|
|
14862
|
+
return P && P.length ? k && Xe(P, k) ? k : P[0] : !1;
|
|
14845
14863
|
}, f = (y, k, B) => {
|
|
14846
14864
|
let P;
|
|
14847
14865
|
const F = k[0], te = ry(F) ? F.name : void 0, se = u(y, te);
|
|
@@ -15103,7 +15121,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
15103
15121
|
}, X6 = (e) => {
|
|
15104
15122
|
if (A5(e)) {
|
|
15105
15123
|
const n = e.keyCode;
|
|
15106
|
-
return !D5(e) && (Zt.metaKeyPressed(e) || e.altKey || n >= 112 && n <= 123 ||
|
|
15124
|
+
return !D5(e) && (Zt.metaKeyPressed(e) || e.altKey || n >= 112 && n <= 123 || Xe(WS, n));
|
|
15107
15125
|
} else
|
|
15108
15126
|
return !1;
|
|
15109
15127
|
}, $h = (e) => A5(e) && !(D5(e) || e.type === "keyup" && e.keyCode === 229), c0 = (e, n, o) => {
|
|
@@ -15894,7 +15912,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
15894
15912
|
}, mA = (e, n) => s8(e, DH(e.selection, n)).exists((o) => (wg(e, o), !0)), fA = (e, n) => fx(e, n).exists((o) => (wg(e, o), !0)), dk = (e, n) => rk(e, n, n ? uf : Sh), mk = (e, n) => QS(e, !n).map((o) => {
|
|
15895
15913
|
const r = o.toRange(), l = e.selection.getRng();
|
|
15896
15914
|
return n ? r.setStart(l.startContainer, l.startOffset) : r.setEnd(l.endContainer, l.endOffset), r;
|
|
15897
|
-
}).exists((o) => (wg(e, o), !0)), OH = (e) =>
|
|
15915
|
+
}).exists((o) => (wg(e, o), !0)), OH = (e) => Xe(["figcaption"], go(e)), r8 = (e, n, o) => {
|
|
15898
15916
|
const r = We(ko, n);
|
|
15899
15917
|
return al(ie.fromDom(e.container()), (l) => o.isBlock(go(l)), r).filter(OH);
|
|
15900
15918
|
}, RH = (e, n, o) => n ? SM(e.dom, o) : Z5(e.dom, o), $H = (e, n) => {
|
|
@@ -15946,7 +15964,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
15946
15964
|
}, LH = (e, n) => m8(e, n, vt), m8 = (e, n, o) => wr($r(e), (r) => cc(r, n) ? o(r) ? [r] : [] : m8(r, n, o)), gm = (e, n, o = ot) => {
|
|
15947
15965
|
if (o(n))
|
|
15948
15966
|
return z.none();
|
|
15949
|
-
if (
|
|
15967
|
+
if (Xe(e, go(n)))
|
|
15950
15968
|
return z.some(n);
|
|
15951
15969
|
const r = (l) => cc(l, "table") || o(l);
|
|
15952
15970
|
return nu(n, e.join(","), r);
|
|
@@ -16038,7 +16056,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
16038
16056
|
"dl"
|
|
16039
16057
|
], r = ie.fromDom(e.getBody()), l = (b) => {
|
|
16040
16058
|
const y = go(b);
|
|
16041
|
-
return ko(b, r) ||
|
|
16059
|
+
return ko(b, r) || Xe(o, y);
|
|
16042
16060
|
}, u = e.selection.getRng(), f = ie.fromDom(n ? u.endContainer : u.startContainer);
|
|
16043
16061
|
return f8(f, l).map((b) => (FH(b, l).each((B) => {
|
|
16044
16062
|
e.model.table.clearSelectedCells(B.dom);
|
|
@@ -16160,7 +16178,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
16160
16178
|
}, bf = (e, n) => ({
|
|
16161
16179
|
container: e,
|
|
16162
16180
|
offset: n
|
|
16163
|
-
}), hx = Fs.DOM, gy = (e) => (n) => e === n ? -1 : 0, S8 = (e) => (n) => e.isBlock(n) ||
|
|
16181
|
+
}), hx = Fs.DOM, gy = (e) => (n) => e === n ? -1 : 0, S8 = (e) => (n) => e.isBlock(n) || Xe([
|
|
16164
16182
|
"BR",
|
|
16165
16183
|
"IMG",
|
|
16166
16184
|
"HR",
|
|
@@ -16447,7 +16465,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
16447
16465
|
Input object: ` + EA(e.input), OA = (e, n) => M8(e, yo(n, DA)), G8 = rt(U8), wk = (e, n) => AA((o) => {
|
|
16448
16466
|
const r = typeof o;
|
|
16449
16467
|
return e(o) ? nc.svalue(o) : nc.serror(`Expected type: ${n} but got: ${r}`);
|
|
16450
|
-
}), q8 = wk(Xt, "number"), Sx = wk(fe, "string"), OV = wk(Nn, "boolean"), RA = wk(be, "function"), kx = V8, $A = _V, RV = (e) => AV((n) =>
|
|
16468
|
+
}), q8 = wk(Xt, "number"), Sx = wk(fe, "string"), OV = wk(Nn, "boolean"), RA = wk(be, "function"), kx = V8, $A = _V, RV = (e) => AV((n) => Xe(e, n) ? Ac.value(n) : Ac.error(`Unsupported value: "${n}", choose one of "${e.join(", ")}".`)), xk = (e, n) => kx(e, e, I8(), n), K8 = (e) => xk(e, Sx), Y8 = (e) => xk(e, RA), $V = (e, n) => kx(e, e, I8(), j8(n)), Ck = (e, n) => kx(e, e, F8(), n), _k = (e) => Ck(e, Sx), MV = (e) => Ck(e, RA), BV = (e, n) => kx(e, e, L8(n), G8()), py = (e, n, o) => kx(e, e, L8(n), o), X8 = (e, n) => py(e, n, q8), Qa = (e, n) => py(e, n, Sx), yf = (e, n, o) => py(e, n, RV(o)), MA = (e, n) => py(e, n, OV), J8 = (e, n) => py(e, n, RA), PV = (e, n, o) => py(e, n, j8(o)), NV = K8("type"), IV = Y8("fetch"), BA = Y8("onAction"), Q8 = J8("onSetup", () => Pt), by = _k("text"), bG = _k("icon"), LV = _k("tooltip"), FV = _k("label"), wf = MA("active", !1), HV = MA("enabled", !0), e7 = MA("primary", !1), t7 = (e) => BV("columns", e), Tx = (e) => Qa("type", e), PA = DA([
|
|
16451
16469
|
NV,
|
|
16452
16470
|
K8("trigger"),
|
|
16453
16471
|
X8("minChars", 1),
|
|
@@ -16855,7 +16873,7 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, yo(n, DA)), G8 = rt(U8), wk
|
|
|
16855
16873
|
});
|
|
16856
16874
|
const l = z.from(o.class).map((y) => y.split(/\s+/)), u = z.from(n.className).map((y) => zt(y.split(/\s+/), (k) => k !== ""));
|
|
16857
16875
|
_r(l, u, (y, k) => {
|
|
16858
|
-
const B = zt(k, (F) => !
|
|
16876
|
+
const B = zt(k, (F) => !Xe(y, F)), P = [
|
|
16859
16877
|
...y,
|
|
16860
16878
|
...B
|
|
16861
16879
|
];
|
|
@@ -16864,7 +16882,7 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, yo(n, DA)), G8 = rt(U8), wk
|
|
|
16864
16882
|
const f = [
|
|
16865
16883
|
"style",
|
|
16866
16884
|
"class"
|
|
16867
|
-
], b = ns(o, (y, k) => !
|
|
16885
|
+
], b = ns(o, (y, k) => !Xe(f, k));
|
|
16868
16886
|
r.setAttribs(n, b);
|
|
16869
16887
|
}, X1 = (e, n) => {
|
|
16870
16888
|
if (Xl(e).toLowerCase() === n.tagName.toLowerCase()) {
|
|
@@ -17009,11 +17027,11 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, yo(n, DA)), G8 = rt(U8), wk
|
|
|
17009
17027
|
(!o || qt(o) && /^(left|right)$/gi.test(e.getStyle(o, "float", !0))) && e.add(n, "br");
|
|
17010
17028
|
}, hz = (e, n) => {
|
|
17011
17029
|
const o = AC(e);
|
|
17012
|
-
return In(n) ? !1 : fe(o) ?
|
|
17030
|
+
return In(n) ? !1 : fe(o) ? Xe(ut.explode(o), n.nodeName.toLowerCase()) : o;
|
|
17013
17031
|
}, v7 = {
|
|
17014
17032
|
insert: (e, n) => {
|
|
17015
17033
|
let o, r, l, u, f = !1;
|
|
17016
|
-
const b = e.dom, y = e.schema, k = y.getNonEmptyElements(), B = e.selection.getRng(), P = Xl(e), F = ie.fromDom(B.startContainer), te = _u(F, B.startOffset), se = te.exists((at) => qs(at) && !Vn(at)), Y = B.collapsed && se, re = (at, Kt) => jA(e, o, xt,
|
|
17034
|
+
const b = e.dom, y = e.schema, k = y.getNonEmptyElements(), B = e.selection.getRng(), P = Xl(e), F = ie.fromDom(B.startContainer), te = _u(F, B.startOffset), se = te.exists((at) => qs(at) && !Vn(at)), Y = B.collapsed && se, re = (at, Kt) => jA(e, o, xt, ct, a3(e), at, Kt), Ce = (at) => {
|
|
17017
17035
|
const Kt = XA(at, o, r);
|
|
17018
17036
|
if (mt(o) && (at ? Kt > 0 : Kt < o.data.length))
|
|
17019
17037
|
return !1;
|
|
@@ -17045,8 +17063,8 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, yo(n, DA)), G8 = rt(U8), wk
|
|
|
17045
17063
|
}), o = B.startContainer, r = B.startOffset;
|
|
17046
17064
|
const Se = !!(n && n.shiftKey), Be = !!(n && n.ctrlKey);
|
|
17047
17065
|
qt(o) && o.hasChildNodes() && !Y && (f = r > o.childNodes.length - 1, o = o.childNodes[Math.min(r, o.childNodes.length - 1)] || o, f && mt(o) ? r = o.data.length : r = 0);
|
|
17048
|
-
const
|
|
17049
|
-
if (!
|
|
17066
|
+
const ct = Y1(b, o);
|
|
17067
|
+
if (!ct || dz(e, o))
|
|
17050
17068
|
return;
|
|
17051
17069
|
Se || (o = b7(e, P, B, o, r));
|
|
17052
17070
|
let xt = b.getParent(o, b.isBlock) || b.getRoot();
|
|
@@ -17489,13 +17507,13 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, yo(n, DA)), G8 = rt(U8), wk
|
|
|
17489
17507
|
return n;
|
|
17490
17508
|
},
|
|
17491
17509
|
set dropEffect(l) {
|
|
17492
|
-
|
|
17510
|
+
Xe(Yz, l) && (n = l);
|
|
17493
17511
|
},
|
|
17494
17512
|
get effectAllowed() {
|
|
17495
17513
|
return o;
|
|
17496
17514
|
},
|
|
17497
17515
|
set effectAllowed(l) {
|
|
17498
|
-
L7(r) &&
|
|
17516
|
+
L7(r) && Xe(Xz, l) && (o = l);
|
|
17499
17517
|
},
|
|
17500
17518
|
get items() {
|
|
17501
17519
|
return Kz(r, e.items);
|
|
@@ -18257,7 +18275,7 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, yo(n, DA)), G8 = rt(U8), wk
|
|
|
18257
18275
|
const n = (l) => {
|
|
18258
18276
|
if (!l.isDefaultPrevented()) {
|
|
18259
18277
|
const u = l.dataTransfer;
|
|
18260
|
-
u && (
|
|
18278
|
+
u && (Xe(u.types, "Files") || u.files.length > 0) && (l.preventDefault(), l.type === "drop" && FS(e, "Dropped file type is not supported"));
|
|
18261
18279
|
}
|
|
18262
18280
|
}, o = (l) => {
|
|
18263
18281
|
P_(e, l.target) && n(l);
|
|
@@ -18417,7 +18435,7 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, yo(n, DA)), G8 = rt(U8), wk
|
|
|
18417
18435
|
return null;
|
|
18418
18436
|
}, Be = () => {
|
|
18419
18437
|
b && b.removeAttribute(f), ll(ie.fromDom(e.getBody()), "#" + u).each(To), b = null;
|
|
18420
|
-
},
|
|
18438
|
+
}, ct = () => {
|
|
18421
18439
|
l.destroy(), b = null;
|
|
18422
18440
|
}, xt = () => {
|
|
18423
18441
|
l.hide();
|
|
@@ -18426,7 +18444,7 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, yo(n, DA)), G8 = rt(U8), wk
|
|
|
18426
18444
|
showCaret: P,
|
|
18427
18445
|
showBlockCaretContainer: F,
|
|
18428
18446
|
hideFakeCaret: xt,
|
|
18429
|
-
destroy:
|
|
18447
|
+
destroy: ct
|
|
18430
18448
|
};
|
|
18431
18449
|
}, vW = (e, n) => {
|
|
18432
18450
|
let o = n;
|
|
@@ -18816,7 +18834,7 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, yo(n, DA)), G8 = rt(U8), wk
|
|
|
18816
18834
|
});
|
|
18817
18835
|
}
|
|
18818
18836
|
});
|
|
18819
|
-
},
|
|
18837
|
+
}, ct = () => {
|
|
18820
18838
|
e.on("keydown", (Qt) => {
|
|
18821
18839
|
if (!te(Qt) && Qt.keyCode === o && u.isCollapsed() && u.getRng().startOffset === 0) {
|
|
18822
18840
|
const $n = u.getNode().previousSibling;
|
|
@@ -18924,7 +18942,7 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, yo(n, DA)), G8 = rt(U8), wk
|
|
|
18924
18942
|
fe(_t) && /^<img[^>]*>$/.test(_t) && e.dispatch("dragend", new window.DragEvent("dragend", Qt));
|
|
18925
18943
|
});
|
|
18926
18944
|
}, io = () => {
|
|
18927
|
-
xt(), se(), Nt.windowsPhone || Kt(), k && (re(), Se(), He(), Hr(),
|
|
18945
|
+
xt(), se(), Nt.windowsPhone || Kt(), k && (re(), Se(), He(), Hr(), ct(), Ml(), B ? (eo(), Kn(), Ms()) : Y()), y && (Ce(), ke(), Be(), Lt(), Ze(), un(), hs(), ct(), Yn());
|
|
18928
18946
|
};
|
|
18929
18947
|
return Oh(e) ? on() : io(), {
|
|
18930
18948
|
refreshContentEditable: ds,
|
|
@@ -19360,7 +19378,7 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, yo(n, DA)), G8 = rt(U8), wk
|
|
|
19360
19378
|
return zt(o, Bo);
|
|
19361
19379
|
}
|
|
19362
19380
|
}, lZ = (e, n) => {
|
|
19363
|
-
const o = Oa(n, (r, l) =>
|
|
19381
|
+
const o = Oa(n, (r, l) => Xe(e, l));
|
|
19364
19382
|
return r4(o.t, o.f);
|
|
19365
19383
|
}, cZ = (e, n, o = {}) => {
|
|
19366
19384
|
const r = e.sections(), l = Jo(r, n).getOr({});
|
|
@@ -19730,7 +19748,7 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, yo(n, DA)), G8 = rt(U8), wk
|
|
|
19730
19748
|
});
|
|
19731
19749
|
}, zD = (e) => {
|
|
19732
19750
|
gP(e), pZ(e), DG(e), NZ(e), FD(e), wP(e), OG(e), PZ(e), MG(e), $Z(e), OZ(e), ab(e);
|
|
19733
|
-
}, d4 = ["toggleview"], UD = (e) =>
|
|
19751
|
+
}, d4 = ["toggleview"], UD = (e) => Xe(d4, e.toLowerCase());
|
|
19734
19752
|
class WD {
|
|
19735
19753
|
constructor(n) {
|
|
19736
19754
|
this.commands = {
|
|
@@ -19829,7 +19847,7 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, yo(n, DA)), G8 = rt(U8), wk
|
|
|
19829
19847
|
e.serializer ? _P(e) : e.on("PreInit", () => {
|
|
19830
19848
|
_P(e);
|
|
19831
19849
|
});
|
|
19832
|
-
}, zZ = (e) => e.type === "click", SP = ["copy"], UZ = (e) =>
|
|
19850
|
+
}, zZ = (e) => e.type === "click", SP = ["copy"], UZ = (e) => Xe(SP, e.type), WZ = (e, n) => Ci(n, "a", (r) => ko(r, ie.fromDom(e.getBody()))).bind((r) => bi(r, "href")), ZZ = (e, n) => {
|
|
19833
19851
|
if (zZ(n) && !Zt.metaKeyPressed(n)) {
|
|
19834
19852
|
const o = ie.fromDom(n.target);
|
|
19835
19853
|
WZ(e, o).each((r) => {
|
|
@@ -20124,7 +20142,7 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, yo(n, DA)), G8 = rt(U8), wk
|
|
|
20124
20142
|
e.initialized ? OP(e, o, n, r) : e.on("init", () => OP(e, o, n, r));
|
|
20125
20143
|
}
|
|
20126
20144
|
}, QZ = (e, n, o) => {
|
|
20127
|
-
if (
|
|
20145
|
+
if (Xe(XZ, n))
|
|
20128
20146
|
throw new Error(`Cannot override default mode ${n}`);
|
|
20129
20147
|
return {
|
|
20130
20148
|
...e,
|
|
@@ -20343,7 +20361,7 @@ Input object: ` + EA(e.input), OA = (e, n) => M8(e, yo(n, DA)), G8 = rt(U8), wk
|
|
|
20343
20361
|
})), !l.isSet(n) && !rs(o) ? o : l.get(n);
|
|
20344
20362
|
}
|
|
20345
20363
|
hasPlugin(n, o) {
|
|
20346
|
-
return
|
|
20364
|
+
return Xe(n1(this), n) ? o ? W1.get(n) !== void 0 : !0 : !1;
|
|
20347
20365
|
}
|
|
20348
20366
|
nodeChanged(n) {
|
|
20349
20367
|
this._nodeChangeDispatcher.nodeChanged(n);
|
|
@@ -21088,7 +21106,7 @@ tinymce.IconManager.add("default", {
|
|
|
21088
21106
|
}, j = (t) => {
|
|
21089
21107
|
const s = typeof t;
|
|
21090
21108
|
return t === null ? "null" : s === "object" && Array.isArray(t) ? "array" : s === "object" && ee(t, String, (a, c) => c.isPrototypeOf(a)) ? "string" : s;
|
|
21091
|
-
}, xe = (t) => (s) => j(s) === t, oe = (t) => (s) => typeof s === t, U = (t) => (s) => t === s, pe = (t, s) => Ae(t) && ee(t, s, (a, c) => A(a) === c), q = xe("string"), Ae = xe("object"),
|
|
21109
|
+
}, xe = (t) => (s) => j(s) === t, oe = (t) => (s) => typeof s === t, U = (t) => (s) => t === s, pe = (t, s) => Ae(t) && ee(t, s, (a, c) => A(a) === c), q = xe("string"), Ae = xe("object"), Ke = (t) => pe(t, Object), bt = xe("array"), cn = U(null), xn = oe("boolean"), Ro = U(void 0), Es = (t) => t == null, Xn = (t) => !Es(t), Ue = oe("function"), Wo = oe("number"), Wt = (t, s) => {
|
|
21092
21110
|
if (bt(t)) {
|
|
21093
21111
|
for (let a = 0, c = t.length; a < c; ++a)
|
|
21094
21112
|
if (!s(t[a]))
|
|
@@ -21247,7 +21265,7 @@ tinymce.IconManager.add("default", {
|
|
|
21247
21265
|
break;
|
|
21248
21266
|
}
|
|
21249
21267
|
return D.none();
|
|
21250
|
-
},
|
|
21268
|
+
}, Xe = (t, s) => ji(t, s, Cn), Ot = (t, s) => {
|
|
21251
21269
|
for (let a = 0, c = t.length; a < c; a++) {
|
|
21252
21270
|
const d = t[a];
|
|
21253
21271
|
if (s(d, a))
|
|
@@ -21632,7 +21650,7 @@ tinymce.IconManager.add("default", {
|
|
|
21632
21650
|
unknown: lc
|
|
21633
21651
|
}, _c = (t, s) => or(s.brands, (a) => {
|
|
21634
21652
|
const c = a.brand.toLowerCase();
|
|
21635
|
-
return
|
|
21653
|
+
return Xe(t, (d) => {
|
|
21636
21654
|
var g;
|
|
21637
21655
|
return c === ((g = d.brand) === null || g === void 0 ? void 0 : g.toLowerCase());
|
|
21638
21656
|
}).map((d) => ({
|
|
@@ -21641,7 +21659,7 @@ tinymce.IconManager.add("default", {
|
|
|
21641
21659
|
}));
|
|
21642
21660
|
}), Ga = (t, s) => {
|
|
21643
21661
|
const a = String(s).toLowerCase();
|
|
21644
|
-
return
|
|
21662
|
+
return Xe(t, (c) => c.search(a));
|
|
21645
21663
|
}, bi = (t, s) => Ga(t, s).map((a) => {
|
|
21646
21664
|
const c = Cs.detect(a.versionRegexes, s);
|
|
21647
21665
|
return {
|
|
@@ -22042,7 +22060,7 @@ tinymce.IconManager.add("default", {
|
|
|
22042
22060
|
case "custom":
|
|
22043
22061
|
return a(t.newKey, t.instantiator);
|
|
22044
22062
|
}
|
|
22045
|
-
}, Sr = (t, s) => s, Ug = (t, s) =>
|
|
22063
|
+
}, Sr = (t, s) => s, Ug = (t, s) => Ke(t) && Ke(s) ? qo(t, s) : s, qh = (t) => (...s) => {
|
|
22046
22064
|
if (s.length === 0)
|
|
22047
22065
|
throw new Error("Can't merge zero objects");
|
|
22048
22066
|
const a = {};
|
|
@@ -22942,7 +22960,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(ot(s, (a) => a.name),
|
|
|
22942
22960
|
return D.none();
|
|
22943
22961
|
}, lh = (t, s, a) => gC((d, g) => g(d), zb, t, s, a), j4 = (t, s) => {
|
|
22944
22962
|
const a = (d) => s(De.fromDom(d));
|
|
22945
|
-
return
|
|
22963
|
+
return Xe(t.dom.childNodes, a).map(De.fromDom);
|
|
22946
22964
|
}, hC = (t, s) => {
|
|
22947
22965
|
const a = (c) => {
|
|
22948
22966
|
for (let d = 0; d < c.childNodes.length; d++) {
|
|
@@ -23058,7 +23076,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(ot(s, (a) => a.name),
|
|
|
23058
23076
|
if (t.stack !== void 0) {
|
|
23059
23077
|
const s = t.stack.split(`
|
|
23060
23078
|
`);
|
|
23061
|
-
return
|
|
23079
|
+
return Xe(s, (a) => a.indexOf("alloy") > 0 && !vo(G4, (c) => a.indexOf(c) > -1)).getOr(pC);
|
|
23062
23080
|
} else
|
|
23063
23081
|
return pC;
|
|
23064
23082
|
}, q4 = {
|
|
@@ -24753,7 +24771,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24753
24771
|
});
|
|
24754
24772
|
}, T_ = (t, s, a, c) => {
|
|
24755
24773
|
const d = Av(t, s);
|
|
24756
|
-
|
|
24774
|
+
Xe(d, c).each((p) => {
|
|
24757
24775
|
A1(t, s, a, p);
|
|
24758
24776
|
});
|
|
24759
24777
|
}, Ev = (t, s, a, c) => ra(c.element, s.highlightClass), iT = (t, s, a) => Ir(t.element, "." + s.highlightClass).bind((c) => t.getSystem().getByDom(c).toOptional()), uT = (t, s, a, c) => {
|
|
@@ -24800,23 +24818,23 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24800
24818
|
apis: nm
|
|
24801
24819
|
}), fT = [8], af = [9], om = [13], Ov = [27], Ri = [32], Rv = [37], lf = [38], qp = [39], D1 = [40], mw = (t, s, a) => {
|
|
24802
24820
|
const c = Ko(t.slice(0, s)), d = Ko(t.slice(s + 1));
|
|
24803
|
-
return
|
|
24821
|
+
return Xe(c.concat(d), a);
|
|
24804
24822
|
}, gT = (t, s, a) => {
|
|
24805
24823
|
const c = Ko(t.slice(0, s));
|
|
24806
|
-
return
|
|
24824
|
+
return Xe(c, a);
|
|
24807
24825
|
}, fw = (t, s, a) => {
|
|
24808
24826
|
const c = t.slice(0, s), d = t.slice(s + 1);
|
|
24809
|
-
return
|
|
24827
|
+
return Xe(d.concat(c), a);
|
|
24810
24828
|
}, hT = (t, s, a) => {
|
|
24811
24829
|
const c = t.slice(s + 1);
|
|
24812
|
-
return
|
|
24830
|
+
return Xe(c, a);
|
|
24813
24831
|
}, _o = (t) => (s) => {
|
|
24814
24832
|
const a = s.raw;
|
|
24815
24833
|
return So(t, a.which);
|
|
24816
24834
|
}, $i = (t) => (s) => yn(t, (a) => a(s)), cf = (t) => t.raw.shiftKey === !0, pT = (t) => t.raw.ctrlKey === !0, Kp = je(cf), $o = (t, s) => ({
|
|
24817
24835
|
matches: t,
|
|
24818
24836
|
classification: s
|
|
24819
|
-
}), bT = (t, s) =>
|
|
24837
|
+
}), bT = (t, s) => Xe(t, (c) => c.matches(s)).map((c) => c.classification), gw = (t, s, a) => {
|
|
24820
24838
|
s.exists((d) => a.exists((g) => zo(g, d))) || dn(t, _b(), {
|
|
24821
24839
|
prevFocus: s,
|
|
24822
24840
|
newFocus: a
|
|
@@ -25246,7 +25264,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25246
25264
|
L_(t, Lg, c);
|
|
25247
25265
|
}, ON = (t, s, a, c) => {
|
|
25248
25266
|
const d = F_(t);
|
|
25249
|
-
|
|
25267
|
+
Xe(d, (p) => zo(c.element, p.element)).each(tm);
|
|
25250
25268
|
}, F_ = (t, s) => t.components(), ZO = (t, s, a, c, d) => {
|
|
25251
25269
|
const g = F_(t);
|
|
25252
25270
|
return D.from(g[c]).map((p) => (d.fold(() => tm(p), (w) => {
|
|
@@ -25793,7 +25811,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25793
25811
|
if (!Bn.getSystem().isConnected())
|
|
25794
25812
|
return D.none();
|
|
25795
25813
|
const vn = Ho.getCandidates(Bn);
|
|
25796
|
-
return
|
|
25814
|
+
return Xe(vn, (Hn) => p(Hn) === On);
|
|
25797
25815
|
}), C = (Dt) => Yo(t.data.menus, (en, On) => Te(en.items, (Bn) => Bn.type === "separator" ? [] : [Bn.data.value])), E = Ho.highlight, $ = (Dt, en) => {
|
|
25798
25816
|
E(Dt, en), Ho.getHighlighted(en).orThunk(() => Ho.getFirst(en)).each((On) => {
|
|
25799
25817
|
t.fakeFocus ? Ho.highlight(en, On) : Tb(Dt, On.element, vr());
|
|
@@ -27383,7 +27401,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
27383
27401
|
])
|
|
27384
27402
|
};
|
|
27385
27403
|
}, lm = (t, s, a, c = D.none()) => xR(s, t, a(), c), CI = (t, s, a) => {
|
|
27386
|
-
const c = a(), d =
|
|
27404
|
+
const c = a(), d = Xe(t, (g) => yo(c, Aw(g, c)));
|
|
27387
27405
|
return xR(s, d.getOr(wR), c, D.none());
|
|
27388
27406
|
}, CR = {
|
|
27389
27407
|
success: "checkmark",
|
|
@@ -29141,7 +29159,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29141
29159
|
}, qw = (t, s, a) => {
|
|
29142
29160
|
if (Hs(a))
|
|
29143
29161
|
return s === "forecolor" ? "Text color" : "Background color";
|
|
29144
|
-
const c = s === "forecolor" ? "Text color {0}" : "Background color {0}", d = t5(OS(t, s), s, !1), g =
|
|
29162
|
+
const c = s === "forecolor" ? "Text color {0}" : "Background color {0}", d = t5(OS(t, s), s, !1), g = Xe(d, (p) => p.value === a).getOr({ text: "" }).text;
|
|
29145
29163
|
return t.translate([
|
|
29146
29164
|
c,
|
|
29147
29165
|
t.translate(g)
|
|
@@ -32483,7 +32501,7 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
32483
32501
|
getValue: (d) => qd(d.element),
|
|
32484
32502
|
setValue: (d, g) => {
|
|
32485
32503
|
const p = yr(t.options);
|
|
32486
|
-
|
|
32504
|
+
Xe(t.options, (C) => C.value === g).isSome() ? mp(d.element, g) : d.element.dom.selectedIndex === -1 && g === "" && p.each((C) => mp(d.element, C.value));
|
|
32487
32505
|
},
|
|
32488
32506
|
...c
|
|
32489
32507
|
}
|
|
@@ -35500,7 +35518,7 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
35500
35518
|
gg(c, d),
|
|
35501
35519
|
tt(M0(), (g, p) => {
|
|
35502
35520
|
const w = p.event;
|
|
35503
|
-
|
|
35521
|
+
Xe(a, (E) => E.name === w.name).each((E) => {
|
|
35504
35522
|
(w.visible ? E.onShow : E.onHide)(E.getApi(g));
|
|
35505
35523
|
});
|
|
35506
35524
|
})
|
|
@@ -35530,7 +35548,7 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
35530
35548
|
Fi.hasGrown(c) ? Ic.isShowing(g, s) ? (Fi.shrink(c), Ok(t.element, "presentation")) : (Ic.hideAllSlots(g), Ic.showSlot(g, s), Ok(t.element, "region")) : (Ic.hideAllSlots(g), Ic.showSlot(g, s), Fi.grow(c), Ok(t.element, "region"));
|
|
35531
35549
|
});
|
|
35532
35550
|
});
|
|
35533
|
-
}, xz = (t) => po.getCurrent(t).bind((a) => Fi.isGrowing(a) || Fi.hasGrown(a) ? po.getCurrent(a).bind((g) =>
|
|
35551
|
+
}, xz = (t) => po.getCurrent(t).bind((a) => Fi.isGrowing(a) || Fi.hasGrown(a) ? po.getCurrent(a).bind((g) => Xe(Ic.getSlotNames(g), (p) => Ic.isShowing(g, p))) : D.none()), JA = Gt("FixSizeEvent"), QA = Gt("AutoSizeEvent"), _G = (t) => ({
|
|
35534
35552
|
uid: t.uid,
|
|
35535
35553
|
dom: {
|
|
35536
35554
|
tag: "div",
|
|
@@ -36460,7 +36478,7 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
36460
36478
|
},
|
|
36461
36479
|
components: z7(a, t, s),
|
|
36462
36480
|
slotBehaviours: Vw.unnamedEvents([_s((c) => Ic.hideAllSlots(c))])
|
|
36463
|
-
})), $x = (t) =>
|
|
36481
|
+
})), $x = (t) => Xe(Ic.getSlotNames(t), (s) => Ic.isShowing(t, s)), uD = (t) => {
|
|
36464
36482
|
const s = t.element;
|
|
36465
36483
|
Yt(s, "display", "none"), Nt(s, "aria-hidden", "true");
|
|
36466
36484
|
}, Qz = (t) => {
|
|
@@ -36985,10 +37003,10 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
36985
37003
|
command: "JustifyFull"
|
|
36986
37004
|
}
|
|
36987
37005
|
], eB = (t) => {
|
|
36988
|
-
const s = () =>
|
|
37006
|
+
const s = () => Xe(Hk, (w) => t.formatter.match(w.format)), a = (w) => () => t.formatter.match(w), c = (w) => D.none, d = (w) => {
|
|
36989
37007
|
const E = s().fold(ae(Q7), ($) => $.title.toLowerCase());
|
|
36990
37008
|
dn(w, m0, { icon: `align-${E}` }), wL(t, { value: E });
|
|
36991
|
-
}, g = wU(Hk), p = (w) => () =>
|
|
37009
|
+
}, g = wU(Hk), p = (w) => () => Xe(Hk, (C) => C.format === w.format).each((C) => t.execCommand(C.command));
|
|
36992
37010
|
return {
|
|
36993
37011
|
tooltip: Ph(t, J7, Q7),
|
|
36994
37012
|
text: D.none(),
|
|
@@ -37011,7 +37029,7 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
37011
37029
|
});
|
|
37012
37030
|
}, tB = (t, s) => {
|
|
37013
37031
|
const a = s(), c = ot(a, (d) => d.format);
|
|
37014
|
-
return D.from(t.formatter.closest(c)).bind((d) =>
|
|
37032
|
+
return D.from(t.formatter.closest(c)).bind((d) => Xe(a, (g) => g.format === d)).orThunk(() => hn(t.formatter.match("p"), {
|
|
37015
37033
|
title: "Paragraph",
|
|
37016
37034
|
format: "p"
|
|
37017
37035
|
}));
|
|
@@ -37065,7 +37083,7 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
37065
37083
|
const s = () => {
|
|
37066
37084
|
const C = (Q) => Q ? lB(Q)[0] : "", E = t.queryCommandValue("FontName"), $ = w.data, N = E ? E.toLowerCase() : "", H = LR(t);
|
|
37067
37085
|
return {
|
|
37068
|
-
matchOpt:
|
|
37086
|
+
matchOpt: Xe($, (Q) => {
|
|
37069
37087
|
const me = Q.format;
|
|
37070
37088
|
return me.toLowerCase() === N || C(me).toLowerCase() === C(N).toLowerCase();
|
|
37071
37089
|
}).orThunk(() => hn(TU(N, H), {
|
|
@@ -37326,7 +37344,7 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
37326
37344
|
if ($)
|
|
37327
37345
|
for (let N = 3; C.isNone() && N >= 0; N--) {
|
|
37328
37346
|
const H = NU($, N), Z = IU(H);
|
|
37329
|
-
C =
|
|
37347
|
+
C = Xe(E, (Q) => Q.format === $ || Q.format === H || Q.format === Z);
|
|
37330
37348
|
}
|
|
37331
37349
|
return {
|
|
37332
37350
|
matchOpt: C,
|
|
@@ -38434,7 +38452,7 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
38434
38452
|
if (t.length <= 1)
|
|
38435
38453
|
return t;
|
|
38436
38454
|
{
|
|
38437
|
-
const s = (c) =>
|
|
38455
|
+
const s = (c) => Xe(t, (d) => d.position === c);
|
|
38438
38456
|
return s("selection").orThunk(() => s("node")).orThunk(() => s("line")).map((c) => c.position).fold(() => [], (c) => so(t, (d) => d.position === c));
|
|
38439
38457
|
}
|
|
38440
38458
|
}, kW = (t, s, a) => {
|
|
@@ -40745,7 +40763,7 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
40745
40763
|
"custom"
|
|
40746
40764
|
]),
|
|
40747
40765
|
...re
|
|
40748
|
-
]),
|
|
40766
|
+
]), ct = rn([
|
|
40749
40767
|
Po("title"),
|
|
40750
40768
|
Po("url"),
|
|
40751
40769
|
Pm("height"),
|
|
@@ -40755,7 +40773,7 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
40755
40773
|
sa("onCancel", fe),
|
|
40756
40774
|
sa("onClose", fe),
|
|
40757
40775
|
sa("onMessage", fe)
|
|
40758
|
-
]), xt = (t) => Js("dialog",
|
|
40776
|
+
]), xt = (t) => Js("dialog", ct, t), Lt = (t) => Ae(t) ? [t].concat(Te(qi(t), Lt)) : bt(t) ? Te(t, Lt) : [], Ze = (t) => q(t.type) && q(t.name), He = {
|
|
40759
40777
|
checkbox: OP,
|
|
40760
40778
|
colorinput: tj,
|
|
40761
40779
|
colorpicker: sj,
|
|
@@ -41035,7 +41053,7 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
41035
41053
|
const d = (p) => {
|
|
41036
41054
|
const w = Ht.getValue(p);
|
|
41037
41055
|
Ss(p, t, "tabview").each((C) => {
|
|
41038
|
-
|
|
41056
|
+
Xe(t.tabs, ($) => $.value === w).each(($) => {
|
|
41039
41057
|
const N = $.view();
|
|
41040
41058
|
I(p.element, "id").each((H) => {
|
|
41041
41059
|
Nt(C.element, "aria-labelledby", H);
|
|
@@ -41072,7 +41090,7 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
41072
41090
|
showTab: (p, w) => {
|
|
41073
41091
|
g(p, (E) => {
|
|
41074
41092
|
const $ = Ho.getCandidates(E);
|
|
41075
|
-
return
|
|
41093
|
+
return Xe($, (H) => Ht.getValue(H) === w).filter((H) => !Ho.isHighlighted(E, H));
|
|
41076
41094
|
});
|
|
41077
41095
|
}
|
|
41078
41096
|
}
|
|
@@ -41533,7 +41551,7 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
41533
41551
|
ii
|
|
41534
41552
|
]), el(t).each((c) => Nr(a, c)));
|
|
41535
41553
|
}, Ad = (t, s) => {
|
|
41536
|
-
const a = De.fromDom(t.element.dom), c = dp(a), d =
|
|
41554
|
+
const a = De.fromDom(t.element.dom), c = dp(a), d = Xe(c, (g) => g === ar || g === ii).or(el(s));
|
|
41537
41555
|
Yy(a, [
|
|
41538
41556
|
uo,
|
|
41539
41557
|
...d.toArray()
|
|
@@ -41647,7 +41665,7 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
41647
41665
|
Ht.setValue(g, p.getData());
|
|
41648
41666
|
})
|
|
41649
41667
|
];
|
|
41650
|
-
}, Ve = (t, s) => hk(t, t.type, s), nn = (t, s, a) =>
|
|
41668
|
+
}, Ve = (t, s) => hk(t, t.type, s), nn = (t, s, a) => Xe(s, (c) => c.name === a).bind((c) => c.memento.getOpt(t)), kn = (t, s) => {
|
|
41651
41669
|
const a = s.map((w) => w.footerButtons).getOr([]), c = tl(a, (w) => w.align === "start"), d = (w, C) => gf.sketch({
|
|
41652
41670
|
dom: {
|
|
41653
41671
|
tag: "div",
|
|
@@ -42270,7 +42288,7 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
42270
42288
|
}, j = (i) => {
|
|
42271
42289
|
const m = typeof i;
|
|
42272
42290
|
return i === null ? "null" : m === "object" && Array.isArray(i) ? "array" : m === "object" && ee(i, String, (h, v) => v.isPrototypeOf(h)) ? "string" : m;
|
|
42273
|
-
}, xe = (i) => (m) => j(m) === i, oe = (i) => (m) => typeof m === i, U = (i) => (m) => i === m, pe = xe("string"), q = xe("object"), Ae = xe("array"),
|
|
42291
|
+
}, xe = (i) => (m) => j(m) === i, oe = (i) => (m) => typeof m === i, U = (i) => (m) => i === m, pe = xe("string"), q = xe("object"), Ae = xe("array"), Ke = U(null), bt = oe("boolean"), cn = U(void 0), xn = (i) => i == null, Ro = (i) => !xn(i), Es = oe("function"), Xn = oe("number"), Ue = () => {
|
|
42274
42292
|
}, Wo = (i, m) => (...h) => i(m.apply(null, h)), Wt = (i, m) => (h) => i(m(h)), fe = (i) => () => i, St = (i) => i, ia = (i, m) => i === m;
|
|
42275
42293
|
function oo(i, ...m) {
|
|
42276
42294
|
return (...h) => {
|
|
@@ -42436,7 +42454,7 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
42436
42454
|
}, ji = (i) => {
|
|
42437
42455
|
const m = Xt.call(i, 0);
|
|
42438
42456
|
return m.reverse(), m;
|
|
42439
|
-
},
|
|
42457
|
+
}, Xe = (i, m) => {
|
|
42440
42458
|
const h = {};
|
|
42441
42459
|
for (let v = 0, S = i.length; v < S; v++) {
|
|
42442
42460
|
const O = i[v];
|
|
@@ -43105,7 +43123,7 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
43105
43123
|
}, Fd = (i, m, h) => {
|
|
43106
43124
|
const v = kt(i.cells, h);
|
|
43107
43125
|
return gt(m(i.element), v, i.section, !0);
|
|
43108
|
-
}, td = "data-snooker-locked-cols", ir = (i) => ua(i, td).bind((m) => be.from(m.match(/\d+/g))).map((m) =>
|
|
43126
|
+
}, td = "data-snooker-locked-cols", ir = (i) => ua(i, td).bind((m) => be.from(m.match(/\d+/g))).map((m) => Xe(m, je)), jr = (i) => {
|
|
43109
43127
|
const m = ot(Mr(i).rows, (v, S) => (We(S.cells, (O, L) => {
|
|
43110
43128
|
O.isLocked && (v[L] = !0);
|
|
43111
43129
|
}), v), {}), h = or(m, (v, S) => parseInt(S, 10));
|
|
@@ -44323,12 +44341,12 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
44323
44341
|
return Su(S, O, L);
|
|
44324
44342
|
}, v)), pp = (i, m, h) => {
|
|
44325
44343
|
const v = m.colDelta < 0 ? kr : St, S = m.rowDelta < 0 ? dC : St, O = jr(i), L = Ul(i[0]), G = rt(O, (Oe) => Oe === L - 1), ne = v(i, Math.abs(m.colDelta), h, G ? L - 1 : L), ge = jr(ne);
|
|
44326
|
-
return S(ne, Math.abs(m.rowDelta), h,
|
|
44344
|
+
return S(ne, Math.abs(m.rowDelta), h, Xe(ge, je));
|
|
44327
44345
|
}, fC = (i, m, h, v) => {
|
|
44328
44346
|
const S = ba(i[m], h), O = oo(v, S.element), L = i[m];
|
|
44329
44347
|
return i.length > 1 && Ul(L) > 1 && (h > 0 && O(pr(L, h - 1)) || h < L.cells.length - 1 && O(pr(L, h + 1)) || m > 0 && O(pr(i[m - 1], h)) || m < i.length - 1 && O(pr(i[m + 1], h)));
|
|
44330
44348
|
}, Vb = (i, m, h, v, S, O) => {
|
|
44331
|
-
const L = i.row, G = i.column, ne = h.length, ge = Ul(h[0]), Oe = L + ne, it = G + ge + O.length, Bt =
|
|
44349
|
+
const L = i.row, G = i.column, ne = h.length, ge = Ul(h[0]), Oe = L + ne, it = G + ge + O.length, Bt = Xe(O, je);
|
|
44332
44350
|
for (let Mt = L; Mt < Oe; Mt++) {
|
|
44333
44351
|
let nt = 0;
|
|
44334
44352
|
for (let It = G; It < it; It++) {
|
|
@@ -45984,7 +46002,7 @@ Required: ` + m.join(", "));
|
|
|
45984
46002
|
}, Q3 = (i, m) => {
|
|
45985
46003
|
let h = null;
|
|
45986
46004
|
const v = () => {
|
|
45987
|
-
|
|
46005
|
+
Ke(h) || (clearTimeout(h), h = null);
|
|
45988
46006
|
};
|
|
45989
46007
|
return {
|
|
45990
46008
|
cancel: v,
|
|
@@ -46513,7 +46531,7 @@ Required: ` + m.join(", "));
|
|
|
46513
46531
|
}, j = (_) => {
|
|
46514
46532
|
const M = typeof _;
|
|
46515
46533
|
return _ === null ? "null" : M === "object" && Array.isArray(_) ? "array" : M === "object" && ee(_, String, (W, ce) => ce.isPrototypeOf(W)) ? "string" : M;
|
|
46516
|
-
}, xe = (_) => (M) => j(M) === _, oe = (_) => (M) => typeof M === _, U = xe("string"), pe = xe("object"), q = xe("array"), Ae = oe("boolean"),
|
|
46534
|
+
}, xe = (_) => (M) => j(M) === _, oe = (_) => (M) => typeof M === _, U = xe("string"), pe = xe("object"), q = xe("array"), Ae = oe("boolean"), Ke = (_) => _ == null, bt = (_) => !Ke(_), cn = oe("function"), xn = oe("number"), Ro = () => {
|
|
46517
46535
|
}, Es = (_, M) => (W) => _(M(W)), Xn = (_) => () => _, Ue = (_, M) => _ === M;
|
|
46518
46536
|
function Wo(_, ...M) {
|
|
46519
46537
|
return (...W) => {
|
|
@@ -46668,7 +46686,7 @@ Required: ` + m.join(", "));
|
|
|
46668
46686
|
throw console.error(ve, _), new Error(ve);
|
|
46669
46687
|
}
|
|
46670
46688
|
return Je(ce.childNodes[0]);
|
|
46671
|
-
},
|
|
46689
|
+
}, Xe = (_, M) => {
|
|
46672
46690
|
const ce = (M || document).createElement(_);
|
|
46673
46691
|
return Je(ce);
|
|
46674
46692
|
}, Ot = (_, M) => {
|
|
@@ -46680,7 +46698,7 @@ Required: ` + m.join(", "));
|
|
|
46680
46698
|
return { dom: _ };
|
|
46681
46699
|
}, yn = {
|
|
46682
46700
|
fromHtml: ji,
|
|
46683
|
-
fromTag:
|
|
46701
|
+
fromTag: Xe,
|
|
46684
46702
|
fromText: Ot,
|
|
46685
46703
|
fromDom: Je,
|
|
46686
46704
|
fromPoint: (_, M, W) => St.from(_.dom.elementFromPoint(M, W)).map(Je)
|
|
@@ -47661,7 +47679,7 @@ Required: ` + m.join(", "));
|
|
|
47661
47679
|
}, j = (K) => {
|
|
47662
47680
|
const he = typeof K;
|
|
47663
47681
|
return K === null ? "null" : he === "object" && Array.isArray(K) ? "array" : he === "object" && ee(K, String, (Ee, Ne) => Ne.isPrototypeOf(Ee)) ? "string" : he;
|
|
47664
|
-
}, xe = (K) => (he) => j(he) === K, oe = (K) => (he) => typeof he === K, U = (K) => (he) => K === he, pe = xe("string"), q = xe("object"), Ae = xe("array"),
|
|
47682
|
+
}, xe = (K) => (he) => j(he) === K, oe = (K) => (he) => typeof he === K, U = (K) => (he) => K === he, pe = xe("string"), q = xe("object"), Ae = xe("array"), Ke = U(null), bt = oe("boolean"), cn = (K) => K == null, xn = (K) => !cn(K), Ro = oe("function"), Es = (K, he) => {
|
|
47665
47683
|
if (Ae(K)) {
|
|
47666
47684
|
for (let Ee = 0, Ne = K.length; Ee < Ne; ++Ee)
|
|
47667
47685
|
if (!he(K[Ee]))
|
|
@@ -47954,7 +47972,7 @@ Required: ` + m.join(", "));
|
|
|
47954
47972
|
target: gt.getOrNull(),
|
|
47955
47973
|
text: fn.getOrNull(),
|
|
47956
47974
|
title: jo.getOrNull()
|
|
47957
|
-
}, (ls, Go) =>
|
|
47975
|
+
}, (ls, Go) => Ke(ls) === !1);
|
|
47958
47976
|
}, Dr = (K, he) => {
|
|
47959
47977
|
const Ee = K.options.get, Ne = {
|
|
47960
47978
|
allow_html_data_urls: Ee("allow_html_data_urls"),
|
|
@@ -48418,7 +48436,7 @@ Required: ` + m.join(", "));
|
|
|
48418
48436
|
}, xe = (I) => {
|
|
48419
48437
|
const J = typeof I;
|
|
48420
48438
|
return I === null ? "null" : J === "object" && Array.isArray(I) ? "array" : J === "object" && j(I, String, (le, Le) => Le.isPrototypeOf(le)) ? "string" : J;
|
|
48421
|
-
}, oe = (I) => (J) => xe(J) === I, U = (I) => (J) => typeof J === I, pe = (I) => (J) => I === J, q = (I, J) =>
|
|
48439
|
+
}, oe = (I) => (J) => xe(J) === I, U = (I) => (J) => typeof J === I, pe = (I) => (J) => I === J, q = (I, J) => Ke(I) && j(I, J, (le, Le) => ee(le) === Le), Ae = oe("string"), Ke = oe("object"), bt = (I) => q(I, Object), cn = oe("array"), xn = pe(null), Ro = U("boolean"), Es = (I) => I == null, Xn = (I) => !Es(I), Ue = U("function"), Wo = U("number"), Wt = (I, J) => {
|
|
48422
48440
|
if (cn(I)) {
|
|
48423
48441
|
for (let le = 0, Le = I.length; le < Le; ++le)
|
|
48424
48442
|
if (!J(I[le]))
|
|
@@ -48590,7 +48608,7 @@ Required: ` + m.join(", "));
|
|
|
48590
48608
|
default: !1
|
|
48591
48609
|
}), J("image_list", {
|
|
48592
48610
|
processor: (le) => {
|
|
48593
|
-
const Le = le === !1 || Ae(le) || Wt(le,
|
|
48611
|
+
const Le = le === !1 || Ae(le) || Wt(le, Ke) || Ue(le);
|
|
48594
48612
|
return Le ? {
|
|
48595
48613
|
value: le,
|
|
48596
48614
|
valid: Le
|
|
@@ -48601,7 +48619,7 @@ Required: ` + m.join(", "));
|
|
|
48601
48619
|
},
|
|
48602
48620
|
default: !1
|
|
48603
48621
|
});
|
|
48604
|
-
}, Zo = so("image_dimensions"), ji = so("image_advtab"),
|
|
48622
|
+
}, Zo = so("image_dimensions"), ji = so("image_advtab"), Xe = so("image_uploadtab"), Ot = so("image_prepend_url"), Je = so("image_class_list"), Te = so("image_description"), yn = so("image_title"), Ko = so("image_caption"), zt = so("image_list"), Er = so("a11y_advanced_options"), Vo = so("automatic_uploads"), Ua = (I) => tl(I.options.get("images_upload_url")), bs = (I) => Xn(I.options.get("images_upload_handler")), yr = (I, J) => Math.max(parseInt(I, 10), parseInt(J, 10)), vc = (I) => new Promise((J) => {
|
|
48605
48623
|
const le = document.createElement("img"), Le = (to) => {
|
|
48606
48624
|
le.onload = le.onerror = null, le.parentNode && le.parentNode.removeChild(le), J(to);
|
|
48607
48625
|
};
|
|
@@ -48942,7 +48960,7 @@ Required: ` + m.join(", "));
|
|
|
48942
48960
|
Ws
|
|
48943
48961
|
])));
|
|
48944
48962
|
});
|
|
48945
|
-
}), Le = da.sanitize(Je(I)), Rt = ji(I), to =
|
|
48963
|
+
}), Le = da.sanitize(Je(I)), Rt = ji(I), to = Xe(I), Yt = Ua(I), Ps = bs(I), ut = fi(I), cs = Te(I), Za = yn(I), Us = Zo(I), _r = Ko(I), zc = Er(I), wo = Vo(I), ja = St.some(Ot(I)).filter((Ns) => Ae(Ns) && Ns.length > 0);
|
|
48946
48964
|
return le.then((Ns) => ({
|
|
48947
48965
|
image: ut,
|
|
48948
48966
|
imageList: Ns,
|
|
@@ -49287,7 +49305,7 @@ Required: ` + m.join(", "));
|
|
|
49287
49305
|
}, j = (x) => {
|
|
49288
49306
|
const T = typeof x;
|
|
49289
49307
|
return x === null ? "null" : T === "object" && Array.isArray(x) ? "array" : T === "object" && ee(x, String, (V, X) => X.isPrototypeOf(V)) ? "string" : T;
|
|
49290
|
-
}, xe = (x) => (T) => j(T) === x, oe = (x) => (T) => typeof T === x, U = (x) => (T) => x === T, pe = xe("string"), q = xe("array"), Ae = oe("boolean"),
|
|
49308
|
+
}, xe = (x) => (T) => j(T) === x, oe = (x) => (T) => typeof T === x, U = (x) => (T) => x === T, pe = xe("string"), q = xe("array"), Ae = oe("boolean"), Ke = U(void 0), bt = (x) => x == null, cn = (x) => !bt(x), xn = oe("function"), Ro = oe("number"), Es = () => {
|
|
49291
49309
|
}, Xn = (x, T) => (V) => x(T(V)), Ue = (x) => () => x, Wo = (x) => x, Wt = (x, T) => x === T;
|
|
49292
49310
|
function fe(x, ...T) {
|
|
49293
49311
|
return (...V) => {
|
|
@@ -49444,7 +49462,7 @@ Required: ` + m.join(", "));
|
|
|
49444
49462
|
V = T(V, X, we);
|
|
49445
49463
|
}), V), ji = (x, T, V) => (z(x, (X, we) => {
|
|
49446
49464
|
V = T(V, X, we);
|
|
49447
|
-
}), V),
|
|
49465
|
+
}), V), Xe = (x, T, V) => {
|
|
49448
49466
|
for (let X = 0, we = x.length; X < we; X++) {
|
|
49449
49467
|
const Ge = x[X];
|
|
49450
49468
|
if (T(Ge, X))
|
|
@@ -49453,7 +49471,7 @@ Required: ` + m.join(", "));
|
|
|
49453
49471
|
break;
|
|
49454
49472
|
}
|
|
49455
49473
|
return ae.none();
|
|
49456
|
-
}, Ot = (x, T) =>
|
|
49474
|
+
}, Ot = (x, T) => Xe(x, T, ia), Je = (x) => {
|
|
49457
49475
|
const T = [];
|
|
49458
49476
|
for (let V = 0, X = x.length; V < X; ++V) {
|
|
49459
49477
|
if (!q(x[V]))
|
|
@@ -49765,7 +49783,7 @@ Required: ` + m.join(", "));
|
|
|
49765
49783
|
let we;
|
|
49766
49784
|
for (let Ge = 0; Ge < X.length; Ge++) {
|
|
49767
49785
|
const ht = x.getStyle(X[Ge], V);
|
|
49768
|
-
if (
|
|
49786
|
+
if (Ke(we) && (we = ht), we !== ht)
|
|
49769
49787
|
return "";
|
|
49770
49788
|
}
|
|
49771
49789
|
return we;
|
|
@@ -50470,7 +50488,7 @@ Required: ` + T.join(", "));
|
|
|
50470
50488
|
});
|
|
50471
50489
|
});
|
|
50472
50490
|
}), T;
|
|
50473
|
-
}, Br = (x, T, V, X) => Ot(x, (we) => !
|
|
50491
|
+
}, Br = (x, T, V, X) => Ot(x, (we) => !Ke(V.formatter.matchNode(X, T + we))).getOr(""), sd = fe(Br, [
|
|
50474
50492
|
"left",
|
|
50475
50493
|
"center",
|
|
50476
50494
|
"right"
|
|
@@ -50846,7 +50864,7 @@ Required: ` + T.join(", "));
|
|
|
50846
50864
|
yb(x, T.children[we], V, X);
|
|
50847
50865
|
}, cu = (x, T, V, X) => {
|
|
50848
50866
|
const we = x.dom, Ge = {}, ht = {}, $t = Wc(x), an = sl(x);
|
|
50849
|
-
if (
|
|
50867
|
+
if (Ke(V.class) || (Ge.class = V.class), ht.height = ws(V.height), $t ? ht.width = ws(V.width) : we.getAttrib(T, "width") && (Ge.width = Xi(V.width)), $t ? (ht["border-width"] = ws(V.border), ht["border-spacing"] = ws(V.cellspacing)) : (Ge.border = V.border, Ge.cellpadding = V.cellpadding, Ge.cellspacing = V.cellspacing), $t && T.children) {
|
|
50850
50868
|
const zn = {};
|
|
50851
50869
|
if (X.border && (zn["border-width"] = ws(V.border)), X.cellpadding && (zn.padding = ws(V.cellpadding)), an && X.bordercolor && (zn["border-color"] = V.bordercolor), !kt(zn))
|
|
50852
50870
|
for (let ur = 0; ur < T.children.length; ur++)
|
|
@@ -51476,8 +51494,8 @@ Required: ` + T.join(", "));
|
|
|
51476
51494
|
}
|
|
51477
51495
|
],
|
|
51478
51496
|
initialData: { code: Ae },
|
|
51479
|
-
onSubmit: (
|
|
51480
|
-
ee(q,
|
|
51497
|
+
onSubmit: (Ke) => {
|
|
51498
|
+
ee(q, Ke.getData().code), Ke.close();
|
|
51481
51499
|
}
|
|
51482
51500
|
});
|
|
51483
51501
|
}, oe = (q) => {
|
|
@@ -51503,10 +51521,10 @@ Required: ` + T.join(", "));
|
|
|
51503
51521
|
})();
|
|
51504
51522
|
(function() {
|
|
51505
51523
|
var A = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
|
51506
|
-
const j = ((
|
|
51507
|
-
const Je =
|
|
51524
|
+
const j = ((Xe) => (Ot) => Xe === Ot)(null), xe = (Xe) => Xe, oe = (Xe, Ot) => {
|
|
51525
|
+
const Je = Xe.length, Te = new Array(Je);
|
|
51508
51526
|
for (let yn = 0; yn < Je; yn++) {
|
|
51509
|
-
const Ko =
|
|
51527
|
+
const Ko = Xe[yn];
|
|
51510
51528
|
Te[yn] = Ot(Ko, yn);
|
|
51511
51529
|
}
|
|
51512
51530
|
return Te;
|
|
@@ -51553,57 +51571,57 @@ Required: ` + T.join(", "));
|
|
|
51553
51571
|
new RegExp(pe.katakana),
|
|
51554
51572
|
new RegExp(pe.extendnumlet),
|
|
51555
51573
|
new RegExp("@")
|
|
51556
|
-
],
|
|
51574
|
+
], Ke = "", bt = new RegExp("^" + pe.punctuation + "$"), cn = /^\s+$/, xn = Ae, Ro = q.OTHER, Es = (Xe) => {
|
|
51557
51575
|
let Ot = Ro;
|
|
51558
51576
|
const Je = xn.length;
|
|
51559
51577
|
for (let Te = 0; Te < Je; ++Te) {
|
|
51560
51578
|
const yn = xn[Te];
|
|
51561
|
-
if (yn && yn.test(
|
|
51579
|
+
if (yn && yn.test(Xe)) {
|
|
51562
51580
|
Ot = Te;
|
|
51563
51581
|
break;
|
|
51564
51582
|
}
|
|
51565
51583
|
}
|
|
51566
51584
|
return Ot;
|
|
51567
|
-
}, Xn = (
|
|
51585
|
+
}, Xn = (Xe) => {
|
|
51568
51586
|
const Ot = {};
|
|
51569
51587
|
return (Je) => {
|
|
51570
51588
|
if (Ot[Je])
|
|
51571
51589
|
return Ot[Je];
|
|
51572
51590
|
{
|
|
51573
|
-
const Te =
|
|
51591
|
+
const Te = Xe(Je);
|
|
51574
51592
|
return Ot[Je] = Te, Te;
|
|
51575
51593
|
}
|
|
51576
51594
|
};
|
|
51577
|
-
}, Ue = (
|
|
51595
|
+
}, Ue = (Xe) => {
|
|
51578
51596
|
const Ot = Xn(Es);
|
|
51579
|
-
return oe(
|
|
51580
|
-
}, Wo = (
|
|
51581
|
-
const Je =
|
|
51582
|
-
if (Ot < 0 || Ot >
|
|
51597
|
+
return oe(Xe, Ot);
|
|
51598
|
+
}, Wo = (Xe, Ot) => {
|
|
51599
|
+
const Je = Xe[Ot], Te = Xe[Ot + 1];
|
|
51600
|
+
if (Ot < 0 || Ot > Xe.length - 1 && Ot !== 0 || Je === q.ALETTER && Te === q.ALETTER)
|
|
51583
51601
|
return !1;
|
|
51584
|
-
const yn =
|
|
51602
|
+
const yn = Xe[Ot + 2];
|
|
51585
51603
|
if (Je === q.ALETTER && (Te === q.MIDLETTER || Te === q.MIDNUMLET || Te === q.AT) && yn === q.ALETTER)
|
|
51586
51604
|
return !1;
|
|
51587
|
-
const Ko =
|
|
51605
|
+
const Ko = Xe[Ot - 1];
|
|
51588
51606
|
return (Je === q.MIDLETTER || Je === q.MIDNUMLET || Te === q.AT) && Te === q.ALETTER && Ko === q.ALETTER || (Je === q.NUMERIC || Je === q.ALETTER) && (Te === q.NUMERIC || Te === q.ALETTER) || (Je === q.MIDNUM || Je === q.MIDNUMLET) && Te === q.NUMERIC && Ko === q.NUMERIC || Je === q.NUMERIC && (Te === q.MIDNUM || Te === q.MIDNUMLET) && yn === q.NUMERIC || (Je === q.EXTEND || Je === q.FORMAT) && (Te === q.ALETTER || Te === q.NUMERIC || Te === q.KATAKANA || Te === q.EXTEND || Te === q.FORMAT) || (Te === q.EXTEND || Te === q.FORMAT && (yn === q.ALETTER || yn === q.NUMERIC || yn === q.KATAKANA || yn === q.EXTEND || yn === q.FORMAT)) && (Je === q.ALETTER || Je === q.NUMERIC || Je === q.KATAKANA || Je === q.EXTEND || Je === q.FORMAT) || Je === q.CR && Te === q.LF ? !1 : Je === q.NEWLINE || Je === q.CR || Je === q.LF || Te === q.NEWLINE || Te === q.CR || Te === q.LF ? !0 : !(Je === q.KATAKANA && Te === q.KATAKANA || Te === q.EXTENDNUMLET && (Je === q.ALETTER || Je === q.NUMERIC || Je === q.KATAKANA || Je === q.EXTENDNUMLET) || Je === q.EXTENDNUMLET && (Te === q.ALETTER || Te === q.NUMERIC || Te === q.KATAKANA) || Je === q.AT);
|
|
51589
|
-
}, Wt =
|
|
51607
|
+
}, Wt = Ke, fe = cn, St = bt, ia = (Xe) => Xe === "http" || Xe === "https", oo = (Xe, Ot) => {
|
|
51590
51608
|
let Je;
|
|
51591
|
-
for (Je = Ot; Je <
|
|
51609
|
+
for (Je = Ot; Je < Xe.length && !fe.test(Xe[Je]); Je++)
|
|
51592
51610
|
;
|
|
51593
51611
|
return Je;
|
|
51594
|
-
}, ae = (
|
|
51595
|
-
const Je = oo(
|
|
51596
|
-
return
|
|
51597
|
-
}, Nn = (
|
|
51612
|
+
}, ae = (Xe, Ot) => {
|
|
51613
|
+
const Je = oo(Xe, Ot + 1);
|
|
51614
|
+
return Xe.slice(Ot + 1, Je).join(Wt).substr(0, 3) === "://" ? Je : Ot;
|
|
51615
|
+
}, Nn = (Xe, Ot, Je, Te) => {
|
|
51598
51616
|
const yn = [], Ko = [];
|
|
51599
51617
|
let zt = [];
|
|
51600
51618
|
for (let Er = 0; Er < Je.length; ++Er)
|
|
51601
|
-
if (zt.push(
|
|
51619
|
+
if (zt.push(Xe[Er]), Wo(Je, Er)) {
|
|
51602
51620
|
const Vo = Ot[Er];
|
|
51603
51621
|
if ((Te.includeWhitespace || !fe.test(Vo)) && (Te.includePunctuation || !St.test(Vo))) {
|
|
51604
51622
|
const Ua = Er - zt.length + 1, bs = Er + 1, yr = Ot.slice(Ua, bs).join(Wt);
|
|
51605
51623
|
if (ia(yr)) {
|
|
51606
|
-
const vc = ae(Ot, Er), wr =
|
|
51624
|
+
const vc = ae(Ot, Er), wr = Xe.slice(bs, vc);
|
|
51607
51625
|
Array.prototype.push.apply(zt, wr), Er = vc;
|
|
51608
51626
|
}
|
|
51609
51627
|
yn.push(zt), Ko.push({
|
|
@@ -51620,47 +51638,47 @@ Required: ` + T.join(", "));
|
|
|
51620
51638
|
}, rs = () => ({
|
|
51621
51639
|
includeWhitespace: !1,
|
|
51622
51640
|
includePunctuation: !1
|
|
51623
|
-
}), In = (
|
|
51641
|
+
}), In = (Xe, Ot, Je) => {
|
|
51624
51642
|
Je = {
|
|
51625
51643
|
...rs(),
|
|
51626
51644
|
...Je
|
|
51627
51645
|
};
|
|
51628
|
-
const Te = oe(
|
|
51629
|
-
return Nn(
|
|
51630
|
-
}, be = (
|
|
51646
|
+
const Te = oe(Xe, Ot), yn = Ue(Te);
|
|
51647
|
+
return Nn(Xe, Te, yn, Je);
|
|
51648
|
+
}, be = (Xe, Ot, Je) => In(Xe, Ot, Je).words, Xt = (Xe) => Xe.replace(/\uFEFF/g, "");
|
|
51631
51649
|
var Cn = tinymce.util.Tools.resolve("tinymce.dom.TreeWalker");
|
|
51632
|
-
const Pt = (
|
|
51650
|
+
const Pt = (Xe, Ot) => {
|
|
51633
51651
|
const Je = Ot.getBlockElements(), Te = Ot.getVoidElements(), yn = (Ua) => Je[Ua.nodeName] || Te[Ua.nodeName], Ko = [];
|
|
51634
51652
|
let zt = "";
|
|
51635
|
-
const Er = new Cn(
|
|
51653
|
+
const Er = new Cn(Xe, Xe);
|
|
51636
51654
|
let Vo;
|
|
51637
51655
|
for (; Vo = Er.next(); )
|
|
51638
51656
|
Vo.nodeType === 3 ? zt += Xt(Vo.data) : yn(Vo) && zt.length && (Ko.push(zt), zt = "");
|
|
51639
51657
|
return zt.length && Ko.push(zt), Ko;
|
|
51640
|
-
}, D = (
|
|
51641
|
-
const Je = D(Pt(
|
|
51658
|
+
}, D = (Xe) => Xe.replace(/\u200B/g, ""), mo = (Xe) => Xe.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g, "_").length, rt = (Xe, Ot) => {
|
|
51659
|
+
const Je = D(Pt(Xe, Ot).join(`
|
|
51642
51660
|
`));
|
|
51643
51661
|
return be(Je.split(""), xe).length;
|
|
51644
|
-
}, Ft = (
|
|
51645
|
-
const Je = Pt(
|
|
51662
|
+
}, Ft = (Xe, Ot) => {
|
|
51663
|
+
const Je = Pt(Xe, Ot).join("");
|
|
51646
51664
|
return mo(Je);
|
|
51647
|
-
}, kt = (
|
|
51648
|
-
const Je = Pt(
|
|
51665
|
+
}, kt = (Xe, Ot) => {
|
|
51666
|
+
const Je = Pt(Xe, Ot).join("").replace(/\s/g, "");
|
|
51649
51667
|
return mo(Je);
|
|
51650
|
-
}, We = (
|
|
51668
|
+
}, We = (Xe, Ot) => () => Ot(Xe.getBody(), Xe.schema), So = (Xe, Ot) => () => Ot(Xe.selection.getRng().cloneContents(), Xe.schema), vo = (Xe) => We(Xe, rt), jn = (Xe) => ({
|
|
51651
51669
|
body: {
|
|
51652
|
-
getWordCount: vo(
|
|
51653
|
-
getCharacterCount: We(
|
|
51654
|
-
getCharacterCountWithoutSpaces: We(
|
|
51670
|
+
getWordCount: vo(Xe),
|
|
51671
|
+
getCharacterCount: We(Xe, Ft),
|
|
51672
|
+
getCharacterCountWithoutSpaces: We(Xe, kt)
|
|
51655
51673
|
},
|
|
51656
51674
|
selection: {
|
|
51657
|
-
getWordCount: So(
|
|
51658
|
-
getCharacterCount: So(
|
|
51659
|
-
getCharacterCountWithoutSpaces: So(
|
|
51675
|
+
getWordCount: So(Xe, rt),
|
|
51676
|
+
getCharacterCount: So(Xe, Ft),
|
|
51677
|
+
getCharacterCountWithoutSpaces: So(Xe, kt)
|
|
51660
51678
|
},
|
|
51661
|
-
getCount: vo(
|
|
51662
|
-
}), nr = (
|
|
51663
|
-
|
|
51679
|
+
getCount: vo(Xe)
|
|
51680
|
+
}), nr = (Xe, Ot) => {
|
|
51681
|
+
Xe.windowManager.open({
|
|
51664
51682
|
title: "Word Count",
|
|
51665
51683
|
body: {
|
|
51666
51684
|
type: "panel",
|
|
@@ -51697,9 +51715,9 @@ Required: ` + T.join(", "));
|
|
|
51697
51715
|
primary: !0
|
|
51698
51716
|
}]
|
|
51699
51717
|
});
|
|
51700
|
-
}, ot = (
|
|
51701
|
-
|
|
51702
|
-
}, vt = (
|
|
51718
|
+
}, ot = (Xe, Ot) => {
|
|
51719
|
+
Xe.addCommand("mceWordCount", () => nr(Xe, Ot));
|
|
51720
|
+
}, vt = (Xe, Ot) => {
|
|
51703
51721
|
let Je = null;
|
|
51704
51722
|
return {
|
|
51705
51723
|
cancel: () => {
|
|
@@ -51707,45 +51725,45 @@ Required: ` + T.join(", "));
|
|
|
51707
51725
|
},
|
|
51708
51726
|
throttle: (...Ko) => {
|
|
51709
51727
|
j(Je) && (Je = setTimeout(() => {
|
|
51710
|
-
Je = null,
|
|
51728
|
+
Je = null, Xe.apply(null, Ko);
|
|
51711
51729
|
}, Ot));
|
|
51712
51730
|
}
|
|
51713
51731
|
};
|
|
51714
51732
|
};
|
|
51715
51733
|
var z = tinymce.util.Tools.resolve("tinymce.util.Delay");
|
|
51716
|
-
const tl = (
|
|
51717
|
-
|
|
51734
|
+
const tl = (Xe, Ot) => {
|
|
51735
|
+
Xe.dispatch("wordCountUpdate", {
|
|
51718
51736
|
wordCount: {
|
|
51719
51737
|
words: Ot.body.getWordCount(),
|
|
51720
51738
|
characters: Ot.body.getCharacterCount(),
|
|
51721
51739
|
charactersWithoutSpaces: Ot.body.getCharacterCountWithoutSpaces()
|
|
51722
51740
|
}
|
|
51723
51741
|
});
|
|
51724
|
-
}, so = (
|
|
51725
|
-
tl(
|
|
51726
|
-
}, as = (
|
|
51727
|
-
const Te = vt(() => so(
|
|
51728
|
-
|
|
51729
|
-
so(
|
|
51730
|
-
|
|
51731
|
-
}, 0),
|
|
51742
|
+
}, so = (Xe, Ot) => {
|
|
51743
|
+
tl(Xe, Ot);
|
|
51744
|
+
}, as = (Xe, Ot, Je) => {
|
|
51745
|
+
const Te = vt(() => so(Xe, Ot), Je);
|
|
51746
|
+
Xe.on("init", () => {
|
|
51747
|
+
so(Xe, Ot), z.setEditorTimeout(Xe, () => {
|
|
51748
|
+
Xe.on("SetContent BeforeAddUndo Undo Redo ViewUpdate keyup", Te.throttle);
|
|
51749
|
+
}, 0), Xe.on("remove", Te.cancel);
|
|
51732
51750
|
});
|
|
51733
|
-
}, Zo = (
|
|
51734
|
-
const Ot = () =>
|
|
51735
|
-
|
|
51751
|
+
}, Zo = (Xe) => {
|
|
51752
|
+
const Ot = () => Xe.execCommand("mceWordCount");
|
|
51753
|
+
Xe.ui.registry.addButton("wordcount", {
|
|
51736
51754
|
tooltip: "Word count",
|
|
51737
51755
|
icon: "character-count",
|
|
51738
51756
|
onAction: Ot
|
|
51739
|
-
}),
|
|
51757
|
+
}), Xe.ui.registry.addMenuItem("wordcount", {
|
|
51740
51758
|
text: "Word count",
|
|
51741
51759
|
icon: "character-count",
|
|
51742
51760
|
onAction: Ot
|
|
51743
51761
|
});
|
|
51744
51762
|
};
|
|
51745
|
-
var ji = (
|
|
51763
|
+
var ji = (Xe = 300) => {
|
|
51746
51764
|
A.add("wordcount", (Ot) => {
|
|
51747
51765
|
const Je = jn(Ot);
|
|
51748
|
-
return ot(Ot, Je), Zo(Ot), as(Ot, Je,
|
|
51766
|
+
return ot(Ot, Je), Zo(Ot), as(Ot, Je, Xe), Je;
|
|
51749
51767
|
});
|
|
51750
51768
|
};
|
|
51751
51769
|
ji();
|
|
@@ -51782,40 +51800,40 @@ const yte = { class: "font-bold ptext-lg dark:text-white" }, wte = ["id"], xte =
|
|
|
51782
51800
|
// disable import of skins
|
|
51783
51801
|
content_css: !1,
|
|
51784
51802
|
// disable import of css
|
|
51785
|
-
setup(
|
|
51786
|
-
pe =
|
|
51787
|
-
oe("update:modelValue",
|
|
51788
|
-
}),
|
|
51789
|
-
|
|
51803
|
+
setup(Ke) {
|
|
51804
|
+
pe = Ke, Ke.on("Change", () => {
|
|
51805
|
+
oe("update:modelValue", Ke.getContent());
|
|
51806
|
+
}), Ke.on("init", () => {
|
|
51807
|
+
Ke.setContent(xe.modelValue);
|
|
51790
51808
|
});
|
|
51791
51809
|
}
|
|
51792
51810
|
});
|
|
51793
51811
|
}), lO(() => {
|
|
51794
51812
|
pe && (pe.destroy(), pe = null);
|
|
51795
|
-
}), Sf(() => xe.modelValue, (
|
|
51796
|
-
pe && pe.getContent() !==
|
|
51813
|
+
}), Sf(() => xe.modelValue, (Ke) => {
|
|
51814
|
+
pe && pe.getContent() !== Ke && pe.setContent(Ke);
|
|
51797
51815
|
});
|
|
51798
51816
|
const Ae = bu({
|
|
51799
51817
|
get() {
|
|
51800
51818
|
return xe.modelValue;
|
|
51801
51819
|
},
|
|
51802
|
-
set(
|
|
51803
|
-
oe("update:modelValue",
|
|
51820
|
+
set(Ke) {
|
|
51821
|
+
oe("update:modelValue", Ke);
|
|
51804
51822
|
}
|
|
51805
51823
|
});
|
|
51806
|
-
return ee({ focus: () => U.value.focus() }), (
|
|
51824
|
+
return ee({ focus: () => U.value.focus() }), (Ke, bt) => (ue(), de(Gn, null, [
|
|
51807
51825
|
A.show ? (ue(), de("div", {
|
|
51808
51826
|
key: 0,
|
|
51809
51827
|
class: Vt(A.field_name)
|
|
51810
51828
|
}, [
|
|
51811
|
-
R("h3", yte,
|
|
51829
|
+
R("h3", yte, lt(A.label_name), 1),
|
|
51812
51830
|
R("p", {
|
|
51813
51831
|
id: A.field_name,
|
|
51814
51832
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
51815
|
-
},
|
|
51833
|
+
}, lt(A.model_value), 9, wte),
|
|
51816
51834
|
xte
|
|
51817
|
-
], 2)) :
|
|
51818
|
-
A.show ?
|
|
51835
|
+
], 2)) : Ye("", !0),
|
|
51836
|
+
A.show ? Ye("", !0) : (ue(), de("div", {
|
|
51819
51837
|
key: 1,
|
|
51820
51838
|
class: Vt(["mb-4", A.field_name])
|
|
51821
51839
|
}, [
|
|
@@ -51826,7 +51844,7 @@ const yte = { class: "font-bold ptext-lg dark:text-white" }, wte = ["id"], xte =
|
|
|
51826
51844
|
required: A.is_required
|
|
51827
51845
|
}),
|
|
51828
51846
|
for: A.field_name
|
|
51829
|
-
},
|
|
51847
|
+
}, lt(A.label_name), 11, Cte),
|
|
51830
51848
|
gr(R("textarea", {
|
|
51831
51849
|
name: A.field_name,
|
|
51832
51850
|
id: A.field_name,
|
|
@@ -51836,15 +51854,15 @@ const yte = { class: "font-bold ptext-lg dark:text-white" }, wte = ["id"], xte =
|
|
|
51836
51854
|
}]),
|
|
51837
51855
|
type: A.type,
|
|
51838
51856
|
"onUpdate:modelValue": bt[0] || (bt[0] = (cn) => Ae.value = cn),
|
|
51839
|
-
onKeydown: bt[1] || (bt[1] = (cn) =>
|
|
51857
|
+
onKeydown: bt[1] || (bt[1] = (cn) => Ke.$emit("keydown", cn)),
|
|
51840
51858
|
ref_key: "input",
|
|
51841
51859
|
ref: U,
|
|
51842
51860
|
rows: "4"
|
|
51843
51861
|
}, null, 42, _te), [
|
|
51844
51862
|
[_m, Ae.value]
|
|
51845
51863
|
]),
|
|
51846
|
-
R("span", Ste,
|
|
51847
|
-
R("small", kte,
|
|
51864
|
+
R("span", Ste, lt(A.error_message), 1),
|
|
51865
|
+
R("small", kte, lt(A.description), 1)
|
|
51848
51866
|
], 2))
|
|
51849
51867
|
], 64));
|
|
51850
51868
|
}
|
|
@@ -51902,8 +51920,8 @@ const yte = { class: "font-bold ptext-lg dark:text-white" }, wte = ["id"], xte =
|
|
|
51902
51920
|
return this.lastPage;
|
|
51903
51921
|
for (var A = this.currentPage, ee = this.lastPage, j = this.limit, xe = A - j, oe = A + j + 1, U = [], pe = [], q, Ae = 1; Ae <= ee; Ae++)
|
|
51904
51922
|
(Ae === 1 || Ae === ee || Ae >= xe && Ae < oe) && U.push(Ae);
|
|
51905
|
-
return U.forEach(function(
|
|
51906
|
-
q && (
|
|
51923
|
+
return U.forEach(function(Ke) {
|
|
51924
|
+
q && (Ke - q === 2 ? pe.push(q + 1) : Ke - q !== 1 && pe.push("...")), pe.push(Ke), q = Ke;
|
|
51907
51925
|
}), pe;
|
|
51908
51926
|
}
|
|
51909
51927
|
},
|
|
@@ -52037,13 +52055,13 @@ function Hte(A, ee, j, xe, oe, U) {
|
|
|
52037
52055
|
R("div", Ate, [
|
|
52038
52056
|
q.computed.total > q.computed.perPage ? (ue(), de("span", Dte, [
|
|
52039
52057
|
Zn(" Showing "),
|
|
52040
|
-
R("span", Ote,
|
|
52058
|
+
R("span", Ote, lt(q.computed.from), 1),
|
|
52041
52059
|
Zn(" to "),
|
|
52042
|
-
R("span", Rte,
|
|
52060
|
+
R("span", Rte, lt(q.computed.to), 1),
|
|
52043
52061
|
Zn(" of "),
|
|
52044
|
-
R("span", $te,
|
|
52062
|
+
R("span", $te, lt(q.computed.total), 1),
|
|
52045
52063
|
Zn(" Entries ")
|
|
52046
|
-
])) :
|
|
52064
|
+
])) : Ye("", !0),
|
|
52047
52065
|
q.computed.total > q.computed.perPage ? (ue(), de("ul", aO({ key: 1 }, A.$attrs, {
|
|
52048
52066
|
class: ["flex items-center h-8 -space-x-px text-sm", {
|
|
52049
52067
|
"pagination-sm": j.size == "small",
|
|
@@ -52067,10 +52085,10 @@ function Hte(A, ee, j, xe, oe, U) {
|
|
|
52067
52085
|
Pte
|
|
52068
52086
|
])
|
|
52069
52087
|
], 16, Mte)
|
|
52070
|
-
], 2)) :
|
|
52071
|
-
(ue(!0), de(Gn, null, Ys(q.computed.pageRange, (Ae,
|
|
52088
|
+
], 2)) : Ye("", !0),
|
|
52089
|
+
(ue(!0), de(Gn, null, Ys(q.computed.pageRange, (Ae, Ke) => (ue(), de("li", {
|
|
52072
52090
|
class: Vt(["", { active: Ae == q.computed.currentPage }]),
|
|
52073
|
-
key:
|
|
52091
|
+
key: Ke
|
|
52074
52092
|
}, [
|
|
52075
52093
|
R("a", aO({
|
|
52076
52094
|
class: "",
|
|
@@ -52078,7 +52096,7 @@ function Hte(A, ee, j, xe, oe, U) {
|
|
|
52078
52096
|
}, Oj(q.pageButtonEvents(Ae), !0), {
|
|
52079
52097
|
"aria-current": Ae == q.computed.currentPage ? "page" : null,
|
|
52080
52098
|
class: Ae == q.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"
|
|
52081
|
-
}),
|
|
52099
|
+
}), lt(Ae), 17, Nte)
|
|
52082
52100
|
], 2))), 128)),
|
|
52083
52101
|
q.computed.nextPageUrl || j.showDisabled ? (ue(), de("li", {
|
|
52084
52102
|
key: 1,
|
|
@@ -52095,8 +52113,8 @@ function Hte(A, ee, j, xe, oe, U) {
|
|
|
52095
52113
|
Fte
|
|
52096
52114
|
])
|
|
52097
52115
|
], 16, Ite)
|
|
52098
|
-
], 2)) :
|
|
52099
|
-
], 16)) :
|
|
52116
|
+
], 2)) : Ye("", !0)
|
|
52117
|
+
], 16)) : Ye("", !0)
|
|
52100
52118
|
])
|
|
52101
52119
|
]),
|
|
52102
52120
|
_: 3
|
|
@@ -52138,8 +52156,8 @@ const iq = /* @__PURE__ */ zr(Ete, [["render", Hte]]), Vte = {
|
|
|
52138
52156
|
}
|
|
52139
52157
|
},
|
|
52140
52158
|
setup(A, { expose: ee }) {
|
|
52141
|
-
const j = lo(""), xe = lo(""), oe = lo(""), U = lo("Cancel"), pe = lo(!1), q = lo(!1), Ae = lo(void 0),
|
|
52142
|
-
Ae.value = Ue,
|
|
52159
|
+
const j = lo(""), xe = lo(""), oe = lo(""), U = lo("Cancel"), pe = lo(!1), q = lo(!1), Ae = lo(void 0), Ke = lo(void 0), bt = (Xn = {}) => (j.value = Xn.title, xe.value = Xn.message, oe.value = Xn.okButton, Xn.cancelButton && (U.value = Xn.cancelButton), pe.value = !0, new Promise((Ue, Wo) => {
|
|
52160
|
+
Ae.value = Ue, Ke.value = Wo;
|
|
52143
52161
|
})), cn = () => {
|
|
52144
52162
|
q.value = !0;
|
|
52145
52163
|
}, xn = () => {
|
|
@@ -52163,9 +52181,9 @@ const iq = /* @__PURE__ */ zr(Ete, [["render", Hte]]), Vte = {
|
|
|
52163
52181
|
R("div", jte, [
|
|
52164
52182
|
R("div", Gte, [
|
|
52165
52183
|
R("div", qte, [
|
|
52166
|
-
R("h3", Kte,
|
|
52184
|
+
R("h3", Kte, lt(j.value), 1),
|
|
52167
52185
|
R("div", Yte, [
|
|
52168
|
-
R("p", Xte,
|
|
52186
|
+
R("p", Xte, lt(xe.value), 1)
|
|
52169
52187
|
])
|
|
52170
52188
|
])
|
|
52171
52189
|
])
|
|
@@ -52188,7 +52206,7 @@ const iq = /* @__PURE__ */ zr(Ete, [["render", Hte]]), Vte = {
|
|
|
52188
52206
|
button_type: "red"
|
|
52189
52207
|
}, {
|
|
52190
52208
|
default: Cm(() => [
|
|
52191
|
-
Zn(
|
|
52209
|
+
Zn(lt(oe.value), 1)
|
|
52192
52210
|
]),
|
|
52193
52211
|
_: 1
|
|
52194
52212
|
})),
|
|
@@ -52198,14 +52216,14 @@ const iq = /* @__PURE__ */ zr(Ete, [["render", Hte]]), Vte = {
|
|
|
52198
52216
|
button_type: "light"
|
|
52199
52217
|
}, {
|
|
52200
52218
|
default: Cm(() => [
|
|
52201
|
-
Zn(
|
|
52219
|
+
Zn(lt(U.value), 1)
|
|
52202
52220
|
]),
|
|
52203
52221
|
_: 1
|
|
52204
52222
|
})
|
|
52205
52223
|
])
|
|
52206
52224
|
])
|
|
52207
52225
|
])
|
|
52208
|
-
])) :
|
|
52226
|
+
])) : Ye("", !0);
|
|
52209
52227
|
};
|
|
52210
52228
|
}
|
|
52211
52229
|
}, tne = {
|
|
@@ -52434,13 +52452,13 @@ const iq = /* @__PURE__ */ zr(Ete, [["render", Hte]]), Vte = {
|
|
|
52434
52452
|
}, Ene = ["checked", "onChange"], Ane = ["data-label"], Dne = { class: "overflow-auto max-h-40" }, One = { 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" };
|
|
52435
52453
|
function Rne(A, ee, j, xe, oe, U) {
|
|
52436
52454
|
var xn, Ro, Es, Xn;
|
|
52437
|
-
const pe = Rd("DynamicConfirmation"), q = Rd("dropdown"), Ae = Rd("GlDropdown"),
|
|
52455
|
+
const pe = Rd("DynamicConfirmation"), q = Rd("dropdown"), Ae = Rd("GlDropdown"), Ke = Rd("GlTextInput"), bt = Rd("gl-button"), cn = Rd("TailwindPagination");
|
|
52438
52456
|
return ue(), de(Gn, null, [
|
|
52439
52457
|
ui(pe, { ref: "ConfirmationDelete" }, null, 512),
|
|
52440
52458
|
R("div", nne, [
|
|
52441
52459
|
R("div", one, [
|
|
52442
52460
|
R("div", sne, [
|
|
52443
|
-
R("span", rne,
|
|
52461
|
+
R("span", rne, lt(((xn = j.language) == null ? void 0 : xn.show) ?? "Show"), 1),
|
|
52444
52462
|
R("div", ane, [
|
|
52445
52463
|
ui(q, {
|
|
52446
52464
|
has_cancel: !1,
|
|
@@ -52455,7 +52473,7 @@ function Rne(A, ee, j, xe, oe, U) {
|
|
|
52455
52473
|
placeholder: "Please select an option"
|
|
52456
52474
|
}, null, 8, ["options", "modelValue"])
|
|
52457
52475
|
]),
|
|
52458
|
-
R("span", lne,
|
|
52476
|
+
R("span", lne, lt(((Ro = j.language) == null ? void 0 : Ro.entries) ?? "Entries"), 1)
|
|
52459
52477
|
]),
|
|
52460
52478
|
cne,
|
|
52461
52479
|
R("div", ine, [
|
|
@@ -52484,8 +52502,8 @@ function Rne(A, ee, j, xe, oe, U) {
|
|
|
52484
52502
|
label_name: Ue.field_label,
|
|
52485
52503
|
show: !1,
|
|
52486
52504
|
placeholder: "Please select an option"
|
|
52487
|
-
}, null, 8, ["options", "modelValue", "onUpdate:modelValue", "field_name", "label_name"])) :
|
|
52488
|
-
Ue.type == "text" ? (ue(), ju(
|
|
52505
|
+
}, null, 8, ["options", "modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : Ye("", !0),
|
|
52506
|
+
Ue.type == "text" ? (ue(), ju(Ke, {
|
|
52489
52507
|
key: 1,
|
|
52490
52508
|
type: "text",
|
|
52491
52509
|
is_required: !1,
|
|
@@ -52494,8 +52512,8 @@ function Rne(A, ee, j, xe, oe, U) {
|
|
|
52494
52512
|
"onUpdate:modelValue": (Wt) => oe.dynamicFilters[Ue.field_name] = Wt,
|
|
52495
52513
|
field_name: Ue.field_name,
|
|
52496
52514
|
label_name: Ue.field_label
|
|
52497
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) :
|
|
52498
|
-
Ue.type == "date" ? (ue(), ju(
|
|
52515
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : Ye("", !0),
|
|
52516
|
+
Ue.type == "date" ? (ue(), ju(Ke, {
|
|
52499
52517
|
key: 2,
|
|
52500
52518
|
type: "date",
|
|
52501
52519
|
is_required: !1,
|
|
@@ -52504,7 +52522,7 @@ function Rne(A, ee, j, xe, oe, U) {
|
|
|
52504
52522
|
"onUpdate:modelValue": (Wt) => oe.dynamicFilters[Ue.field_name] = Wt,
|
|
52505
52523
|
field_name: Ue.field_name,
|
|
52506
52524
|
label_name: Ue.field_label
|
|
52507
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) :
|
|
52525
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : Ye("", !0)
|
|
52508
52526
|
], 64))), 128)),
|
|
52509
52527
|
(ue(!0), de(Gn, null, Ys(j.columns, (Ue, Wo) => {
|
|
52510
52528
|
var Wt;
|
|
@@ -52521,8 +52539,8 @@ function Rne(A, ee, j, xe, oe, U) {
|
|
|
52521
52539
|
label_name: Ue.field_label,
|
|
52522
52540
|
show: !1,
|
|
52523
52541
|
placeholder: ((Wt = j.language) == null ? void 0 : Wt.please_select_an_option) ?? "Please select an option"
|
|
52524
|
-
}, null, 8, ["options", "modelValue", "onUpdate:modelValue", "field_name", "label_name", "placeholder"])) :
|
|
52525
|
-
Ue.hasOwnFilter.type == "text" ? (ue(), ju(
|
|
52542
|
+
}, null, 8, ["options", "modelValue", "onUpdate:modelValue", "field_name", "label_name", "placeholder"])) : Ye("", !0),
|
|
52543
|
+
Ue.hasOwnFilter.type == "text" ? (ue(), ju(Ke, {
|
|
52526
52544
|
key: 1,
|
|
52527
52545
|
type: "text",
|
|
52528
52546
|
is_required: !1,
|
|
@@ -52531,8 +52549,8 @@ function Rne(A, ee, j, xe, oe, U) {
|
|
|
52531
52549
|
"onUpdate:modelValue": (fe) => oe.dynamicFilters[Ue.field_name] = fe,
|
|
52532
52550
|
field_name: Ue.field_name,
|
|
52533
52551
|
label_name: Ue.field_label
|
|
52534
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) :
|
|
52535
|
-
Ue.hasOwnFilter.type == "date" ? (ue(), ju(
|
|
52552
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : Ye("", !0),
|
|
52553
|
+
Ue.hasOwnFilter.type == "date" ? (ue(), ju(Ke, {
|
|
52536
52554
|
key: 2,
|
|
52537
52555
|
type: "date",
|
|
52538
52556
|
is_required: !1,
|
|
@@ -52541,8 +52559,8 @@ function Rne(A, ee, j, xe, oe, U) {
|
|
|
52541
52559
|
"onUpdate:modelValue": (fe) => oe.dynamicFilters[Ue.field_name] = fe,
|
|
52542
52560
|
field_name: Ue.field_name,
|
|
52543
52561
|
label_name: Ue.field_label
|
|
52544
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) :
|
|
52545
|
-
], 64)) :
|
|
52562
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : Ye("", !0)
|
|
52563
|
+
], 64)) : Ye("", !0)
|
|
52546
52564
|
], 64);
|
|
52547
52565
|
}), 128))
|
|
52548
52566
|
]),
|
|
@@ -52557,7 +52575,7 @@ function Rne(A, ee, j, xe, oe, U) {
|
|
|
52557
52575
|
default: Cm(() => {
|
|
52558
52576
|
var Ue;
|
|
52559
52577
|
return [
|
|
52560
|
-
Zn(
|
|
52578
|
+
Zn(lt(((Ue = j.language) == null ? void 0 : Ue.select_all) ?? "Select all"), 1)
|
|
52561
52579
|
];
|
|
52562
52580
|
}),
|
|
52563
52581
|
_: 1
|
|
@@ -52571,7 +52589,7 @@ function Rne(A, ee, j, xe, oe, U) {
|
|
|
52571
52589
|
default: Cm(() => {
|
|
52572
52590
|
var Ue;
|
|
52573
52591
|
return [
|
|
52574
|
-
Zn(
|
|
52592
|
+
Zn(lt(((Ue = j.language) == null ? void 0 : Ue.deselect_all) ?? "Deselect all"), 1)
|
|
52575
52593
|
];
|
|
52576
52594
|
}),
|
|
52577
52595
|
_: 1
|
|
@@ -52585,7 +52603,7 @@ function Rne(A, ee, j, xe, oe, U) {
|
|
|
52585
52603
|
default: Cm(() => {
|
|
52586
52604
|
var Ue;
|
|
52587
52605
|
return [
|
|
52588
|
-
Zn(
|
|
52606
|
+
Zn(lt(((Ue = j.language) == null ? void 0 : Ue.delete_selected) ?? "Delete selected"), 1)
|
|
52589
52607
|
];
|
|
52590
52608
|
}),
|
|
52591
52609
|
_: 1
|
|
@@ -52601,10 +52619,10 @@ function Rne(A, ee, j, xe, oe, U) {
|
|
|
52601
52619
|
onClick: (Wt) => U.updateSortColumn(Ue.field_name, Ue.sortable),
|
|
52602
52620
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
52603
52621
|
}, [
|
|
52604
|
-
Zn(
|
|
52622
|
+
Zn(lt(Ue.field_label) + " ", 1),
|
|
52605
52623
|
oe.sortField === Ue.field_name ? (ue(), de("span", yne, [
|
|
52606
52624
|
oe.sortOrder === "asc" ? (ue(), de("i", wne)) : (ue(), de("i", xne))
|
|
52607
|
-
])) :
|
|
52625
|
+
])) : Ye("", !0)
|
|
52608
52626
|
], 8, vne))), 128))
|
|
52609
52627
|
])
|
|
52610
52628
|
]),
|
|
@@ -52613,8 +52631,8 @@ function Rne(A, ee, j, xe, oe, U) {
|
|
|
52613
52631
|
R("td", {
|
|
52614
52632
|
colspan: j.columns.length
|
|
52615
52633
|
}, kne, 8, _ne)
|
|
52616
|
-
])) :
|
|
52617
|
-
oe.isLoading ?
|
|
52634
|
+
])) : Ye("", !0),
|
|
52635
|
+
oe.isLoading ? Ye("", !0) : (ue(!0), de(Gn, { key: 1 }, Ys(oe.itemLists.data, (Ue, Wo) => (ue(), de("tr", {
|
|
52618
52636
|
key: Wo,
|
|
52619
52637
|
class: "bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 hover:dark:text-gray-200 text-gray-500"
|
|
52620
52638
|
}, [
|
|
@@ -52647,7 +52665,7 @@ function Rne(A, ee, j, xe, oe, U) {
|
|
|
52647
52665
|
onEditAction: (St) => U.editAction(Ue),
|
|
52648
52666
|
onGeneralAction: (St) => U.generalAction(Ue)
|
|
52649
52667
|
}, null, 40, ["language", "row", "field", "xprops", "tdProps", "onEditAction", "onGeneralAction"])) : (ue(), de(Gn, { key: 1 }, [
|
|
52650
|
-
Zn(
|
|
52668
|
+
Zn(lt(Ue[Wt.field_name]), 1)
|
|
52651
52669
|
], 64))
|
|
52652
52670
|
])
|
|
52653
52671
|
], 10, Ane))), 128))
|
|
@@ -52923,13 +52941,13 @@ function Coe(A, ee, j, xe, oe, U) {
|
|
|
52923
52941
|
R("tr", null, [
|
|
52924
52942
|
(ue(!0), de(Gn, null, Ys(j.columns, (q, Ae) => (ue(), de("th", {
|
|
52925
52943
|
key: Ae,
|
|
52926
|
-
onClick: (
|
|
52944
|
+
onClick: (Ke) => U.sort(q.field_name, q.sortable),
|
|
52927
52945
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
52928
52946
|
}, [
|
|
52929
|
-
Zn(
|
|
52947
|
+
Zn(lt(q.field_label) + " ", 1),
|
|
52930
52948
|
oe.sortKey === q.field_name ? (ue(), de("span", jne, [
|
|
52931
52949
|
oe.sortOrder === 1 ? (ue(), de("i", Gne)) : (ue(), de("i", qne))
|
|
52932
|
-
])) :
|
|
52950
|
+
])) : Ye("", !0)
|
|
52933
52951
|
], 8, Zne))), 128))
|
|
52934
52952
|
])
|
|
52935
52953
|
]),
|
|
@@ -52938,31 +52956,31 @@ function Coe(A, ee, j, xe, oe, U) {
|
|
|
52938
52956
|
R("td", {
|
|
52939
52957
|
colspan: j.columns.length
|
|
52940
52958
|
}, Jne, 8, Yne)
|
|
52941
|
-
])) :
|
|
52942
|
-
oe.isLoading ?
|
|
52959
|
+
])) : Ye("", !0),
|
|
52960
|
+
oe.isLoading ? Ye("", !0) : (ue(!0), de(Gn, { key: 1 }, Ys(U.paginatedData, (q, Ae) => (ue(), de("tr", {
|
|
52943
52961
|
key: Ae,
|
|
52944
52962
|
class: "bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 hover:dark:text-gray-200 text-gray-500"
|
|
52945
52963
|
}, [
|
|
52946
|
-
(ue(!0), de(Gn, null, Ys(j.columns, (
|
|
52964
|
+
(ue(!0), de(Gn, null, Ys(j.columns, (Ke, bt) => (ue(), de("td", {
|
|
52947
52965
|
key: bt,
|
|
52948
|
-
"data-label":
|
|
52966
|
+
"data-label": Ke.field_label,
|
|
52949
52967
|
class: Vt(["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", {
|
|
52950
52968
|
"rounded-t-lg lg:rounded-t-none": bt === 0,
|
|
52951
52969
|
"rounded-b-lg lg:rounded-b-none": bt === j.columns.length - 1
|
|
52952
52970
|
}])
|
|
52953
52971
|
}, [
|
|
52954
52972
|
R("div", eoe, [
|
|
52955
|
-
|
|
52973
|
+
Ke.tdComp ? (ue(), ju(A4(U.forDynCompIs(Ke.tdComp)), {
|
|
52956
52974
|
key: 0,
|
|
52957
52975
|
row: q,
|
|
52958
|
-
field:
|
|
52976
|
+
field: Ke.field_name,
|
|
52959
52977
|
xprops: j.xprops,
|
|
52960
|
-
tdProps:
|
|
52978
|
+
tdProps: Ke.tdProps,
|
|
52961
52979
|
onDeleteAction: ee[2] || (ee[2] = (cn) => U.GetItemLists()),
|
|
52962
52980
|
onEditAction: (cn) => U.editAction(q),
|
|
52963
52981
|
onGeneralAction: (cn) => U.generalAction(q)
|
|
52964
52982
|
}, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction", "onGeneralAction"])) : (ue(), de(Gn, { key: 1 }, [
|
|
52965
|
-
Zn(
|
|
52983
|
+
Zn(lt(q[Ke.field_name]), 1)
|
|
52966
52984
|
], 64))
|
|
52967
52985
|
])
|
|
52968
52986
|
], 10, Qne))), 128))
|
|
@@ -52989,11 +53007,11 @@ function Coe(A, ee, j, xe, oe, U) {
|
|
|
52989
53007
|
R("div", null, [
|
|
52990
53008
|
R("p", aoe, [
|
|
52991
53009
|
Zn(" Showing "),
|
|
52992
|
-
R("span", loe,
|
|
53010
|
+
R("span", loe, lt(U.firstItemIndex), 1),
|
|
52993
53011
|
Zn(" to "),
|
|
52994
|
-
R("span", coe,
|
|
53012
|
+
R("span", coe, lt(U.lastItemIndex), 1),
|
|
52995
53013
|
Zn(" of "),
|
|
52996
|
-
R("span", ioe,
|
|
53014
|
+
R("span", ioe, lt(U.filteredData.length), 1),
|
|
52997
53015
|
Zn(" entries ")
|
|
52998
53016
|
])
|
|
52999
53017
|
]),
|
|
@@ -53015,7 +53033,7 @@ function Coe(A, ee, j, xe, oe, U) {
|
|
|
53015
53033
|
href: "#",
|
|
53016
53034
|
onClick: za((Ae) => U.goToPage(q), ["prevent"]),
|
|
53017
53035
|
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"
|
|
53018
|
-
},
|
|
53036
|
+
}, lt(q), 9, poe)) : Ye("", !0)
|
|
53019
53037
|
]),
|
|
53020
53038
|
R("li", null, [
|
|
53021
53039
|
oe.currentPage === q ? (ue(), de("a", {
|
|
@@ -53024,7 +53042,7 @@ function Coe(A, ee, j, xe, oe, U) {
|
|
|
53024
53042
|
onClick: za((Ae) => U.goToPage(q), ["prevent"]),
|
|
53025
53043
|
"aria-current": "page",
|
|
53026
53044
|
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"
|
|
53027
|
-
},
|
|
53045
|
+
}, lt(q), 9, boe)) : Ye("", !0)
|
|
53028
53046
|
])
|
|
53029
53047
|
], 64))), 128)),
|
|
53030
53048
|
R("li", null, [
|
|
@@ -53039,7 +53057,7 @@ function Coe(A, ee, j, xe, oe, U) {
|
|
|
53039
53057
|
])
|
|
53040
53058
|
])
|
|
53041
53059
|
])
|
|
53042
|
-
])) :
|
|
53060
|
+
])) : Ye("", !0)
|
|
53043
53061
|
]);
|
|
53044
53062
|
}
|
|
53045
53063
|
const sie = /* @__PURE__ */ zr($ne, [["render", Coe]]), _oe = {
|
|
@@ -53243,15 +53261,15 @@ function Koe(A, ee, j, xe, oe, U) {
|
|
|
53243
53261
|
R("table", Boe, [
|
|
53244
53262
|
R("thead", Poe, [
|
|
53245
53263
|
R("tr", null, [
|
|
53246
|
-
(ue(!0), de(Gn, null, Ys(j.columns, (Ae,
|
|
53247
|
-
key:
|
|
53264
|
+
(ue(!0), de(Gn, null, Ys(j.columns, (Ae, Ke) => (ue(), de("th", {
|
|
53265
|
+
key: Ke,
|
|
53248
53266
|
onClick: (bt) => U.updateSortColumn(Ae.field_name, Ae.sortable),
|
|
53249
53267
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
53250
53268
|
}, [
|
|
53251
|
-
Zn(
|
|
53269
|
+
Zn(lt(Ae.field_label) + " ", 1),
|
|
53252
53270
|
oe.sortField === Ae.field_name ? (ue(), de("span", Ioe, [
|
|
53253
53271
|
oe.sortOrder === "asc" ? (ue(), de("i", Loe)) : (ue(), de("i", Foe))
|
|
53254
|
-
])) :
|
|
53272
|
+
])) : Ye("", !0)
|
|
53255
53273
|
], 8, Noe))), 128))
|
|
53256
53274
|
])
|
|
53257
53275
|
]),
|
|
@@ -53260,13 +53278,13 @@ function Koe(A, ee, j, xe, oe, U) {
|
|
|
53260
53278
|
R("td", {
|
|
53261
53279
|
colspan: j.columns.length
|
|
53262
53280
|
}, Uoe, 8, Voe)
|
|
53263
|
-
])) :
|
|
53264
|
-
oe.isLoading ?
|
|
53281
|
+
])) : Ye("", !0),
|
|
53282
|
+
oe.isLoading ? Ye("", !0) : (ue(!0), de(Gn, { key: 1 }, Ys(U.groupedItems, (Ae, Ke) => (ue(), de(Gn, null, [
|
|
53265
53283
|
R("tr", Woe, [
|
|
53266
53284
|
R("td", {
|
|
53267
53285
|
colspan: j.columns.length,
|
|
53268
53286
|
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"
|
|
53269
|
-
},
|
|
53287
|
+
}, lt(Ke), 9, Zoe)
|
|
53270
53288
|
]),
|
|
53271
53289
|
(ue(!0), de(Gn, null, Ys(Ae, (bt, cn) => (ue(), de("tr", {
|
|
53272
53290
|
key: cn,
|
|
@@ -53287,7 +53305,7 @@ function Koe(A, ee, j, xe, oe, U) {
|
|
|
53287
53305
|
onDeleteAction: ee[3] || (ee[3] = (Es) => U.GetItemLists()),
|
|
53288
53306
|
onEditAction: (Es) => U.editAction(bt)
|
|
53289
53307
|
}, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction"])) : (ue(), de(Gn, { key: 1 }, [
|
|
53290
|
-
Zn(
|
|
53308
|
+
Zn(lt(bt[xn.field_name]), 1)
|
|
53291
53309
|
], 64))
|
|
53292
53310
|
])
|
|
53293
53311
|
], 8, joe))), 128))
|
|
@@ -53493,13 +53511,13 @@ function Nse(A, ee, j, xe, oe, U) {
|
|
|
53493
53511
|
R("tr", null, [
|
|
53494
53512
|
(ue(!0), de(Gn, null, Ys(j.columns, (q, Ae) => (ue(), de("th", {
|
|
53495
53513
|
key: Ae,
|
|
53496
|
-
onClick: za((
|
|
53514
|
+
onClick: za((Ke) => U.sort(q), ["prevent"]),
|
|
53497
53515
|
class: "w-full px-4 py-2 lg:w-2/12 capitalize"
|
|
53498
53516
|
}, [
|
|
53499
|
-
Zn(
|
|
53517
|
+
Zn(lt(q) + " ", 1),
|
|
53500
53518
|
oe.sortKey === q ? (ue(), de("span", use, [
|
|
53501
53519
|
oe.sortOrder === 1 ? (ue(), de("i", dse)) : (ue(), de("i", mse))
|
|
53502
|
-
])) :
|
|
53520
|
+
])) : Ye("", !0)
|
|
53503
53521
|
], 8, ise))), 128))
|
|
53504
53522
|
])
|
|
53505
53523
|
]),
|
|
@@ -53508,9 +53526,9 @@ function Nse(A, ee, j, xe, oe, U) {
|
|
|
53508
53526
|
key: Ae,
|
|
53509
53527
|
class: "bg-white dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 hover:dark:text-gray-200 text-gray-500"
|
|
53510
53528
|
}, [
|
|
53511
|
-
(ue(!0), de(Gn, null, Ys(j.columns, (
|
|
53529
|
+
(ue(!0), de(Gn, null, Ys(j.columns, (Ke, bt) => (ue(), de("td", {
|
|
53512
53530
|
key: bt,
|
|
53513
|
-
"data-label":
|
|
53531
|
+
"data-label": Ke,
|
|
53514
53532
|
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-2.5 lg:px-4 border-[1px] dark:border-gray-700"
|
|
53515
53533
|
}, [
|
|
53516
53534
|
R("p", {
|
|
@@ -53541,11 +53559,11 @@ function Nse(A, ee, j, xe, oe, U) {
|
|
|
53541
53559
|
R("div", null, [
|
|
53542
53560
|
R("p", wse, [
|
|
53543
53561
|
Zn(" Showing "),
|
|
53544
|
-
R("span", xse,
|
|
53562
|
+
R("span", xse, lt(U.firstItemIndex), 1),
|
|
53545
53563
|
Zn(" to "),
|
|
53546
|
-
R("span", Cse,
|
|
53564
|
+
R("span", Cse, lt(U.lastItemIndex), 1),
|
|
53547
53565
|
Zn(" of "),
|
|
53548
|
-
R("span", _se,
|
|
53566
|
+
R("span", _se, lt(U.filteredData.length), 1),
|
|
53549
53567
|
Zn(" entries ")
|
|
53550
53568
|
])
|
|
53551
53569
|
]),
|
|
@@ -53567,7 +53585,7 @@ function Nse(A, ee, j, xe, oe, U) {
|
|
|
53567
53585
|
href: "#",
|
|
53568
53586
|
onClick: za((Ae) => U.goToPage(q), ["prevent"]),
|
|
53569
53587
|
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"
|
|
53570
|
-
},
|
|
53588
|
+
}, lt(q), 9, Ose)) : Ye("", !0)
|
|
53571
53589
|
]),
|
|
53572
53590
|
R("li", null, [
|
|
53573
53591
|
oe.currentPage === q ? (ue(), de("a", {
|
|
@@ -53576,7 +53594,7 @@ function Nse(A, ee, j, xe, oe, U) {
|
|
|
53576
53594
|
onClick: za((Ae) => U.goToPage(q), ["prevent"]),
|
|
53577
53595
|
"aria-current": "page",
|
|
53578
53596
|
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"
|
|
53579
|
-
},
|
|
53597
|
+
}, lt(q), 9, Rse)) : Ye("", !0)
|
|
53580
53598
|
])
|
|
53581
53599
|
], 64))), 128)),
|
|
53582
53600
|
R("li", null, [
|
|
@@ -53591,7 +53609,7 @@ function Nse(A, ee, j, xe, oe, U) {
|
|
|
53591
53609
|
])
|
|
53592
53610
|
])
|
|
53593
53611
|
])
|
|
53594
|
-
])) :
|
|
53612
|
+
])) : Ye("", !0)
|
|
53595
53613
|
]);
|
|
53596
53614
|
}
|
|
53597
53615
|
const aie = /* @__PURE__ */ zr(Yoe, [["render", Nse]]), Ise = {
|
|
@@ -53626,8 +53644,8 @@ const aie = /* @__PURE__ */ zr(Yoe, [["render", Nse]]), Ise = {
|
|
|
53626
53644
|
11: "November",
|
|
53627
53645
|
12: "December",
|
|
53628
53646
|
"*": "every month"
|
|
53629
|
-
}, Ae = this.convertField(ee, "minute", 59),
|
|
53630
|
-
return `Runs ${Ae} ${
|
|
53647
|
+
}, Ae = this.convertField(ee, "minute", 59), Ke = this.convertField(j, "hour", 23), bt = this.convertField(xe, "day of the month", 31), cn = this.convertField(oe, "month", 12, q), xn = this.convertField(U, "day", 6, pe);
|
|
53648
|
+
return `Runs ${Ae} ${Ke} ${bt} ${cn} on ${xn}.`;
|
|
53631
53649
|
},
|
|
53632
53650
|
convertField(A, ee, j, xe = {}) {
|
|
53633
53651
|
if (A === "*") return `every ${ee}`;
|
|
@@ -53667,8 +53685,8 @@ const aie = /* @__PURE__ */ zr(Yoe, [["render", Nse]]), Ise = {
|
|
|
53667
53685
|
}, Fse = { class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300" };
|
|
53668
53686
|
function Hse(A, ee, j, xe, oe, U) {
|
|
53669
53687
|
return j.row[j.field] ? (ue(), de("div", Lse, [
|
|
53670
|
-
R("span", Fse,
|
|
53671
|
-
])) :
|
|
53688
|
+
R("span", Fse, lt(U.convertCronToHuman(j.row[j.field])), 1)
|
|
53689
|
+
])) : Ye("", !0);
|
|
53672
53690
|
}
|
|
53673
53691
|
const lie = /* @__PURE__ */ zr(Ise, [["render", Hse]]), Vse = {
|
|
53674
53692
|
setup() {
|
|
@@ -53704,11 +53722,11 @@ const cie = /* @__PURE__ */ zr(Vse, [["render", zse]]), Use = {
|
|
|
53704
53722
|
},
|
|
53705
53723
|
setup() {
|
|
53706
53724
|
const A = lo(!1), ee = sq("accordionsWrapper"), xe = (() => {
|
|
53707
|
-
var
|
|
53708
|
-
typeof performance < "u" && typeof performance.now == "function" && (
|
|
53725
|
+
var Ke = (/* @__PURE__ */ new Date()).getTime();
|
|
53726
|
+
typeof performance < "u" && typeof performance.now == "function" && (Ke += performance.now());
|
|
53709
53727
|
var bt = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(cn) {
|
|
53710
|
-
var xn = (
|
|
53711
|
-
return
|
|
53728
|
+
var xn = (Ke + Math.random() * 16) % 16 | 0;
|
|
53729
|
+
return Ke = Math.floor(Ke / 16), (cn === "x" ? xn : xn & 3 | 8).toString(16);
|
|
53712
53730
|
});
|
|
53713
53731
|
return bt;
|
|
53714
53732
|
})(), oe = { isOpen: A, id: xe }, U = bu(() => ee.accordions.value), pe = bu(() => U.value.length > 0 && U.value[0].id === xe), q = bu(() => U.value.length > 0 && U.value[U.value.length - 1].id === xe);
|
|
@@ -53764,9 +53782,9 @@ function Xse(A, ee, j, xe, oe, U) {
|
|
|
53764
53782
|
}]),
|
|
53765
53783
|
"aria-expanded": "true"
|
|
53766
53784
|
}, [
|
|
53767
|
-
R("span", Wse,
|
|
53768
|
-
xe.isOpen ?
|
|
53769
|
-
xe.isOpen ? (ue(), de("svg", qse, Yse)) :
|
|
53785
|
+
R("span", Wse, lt(j.title), 1),
|
|
53786
|
+
xe.isOpen ? Ye("", !0) : (ue(), de("svg", Zse, Gse)),
|
|
53787
|
+
xe.isOpen ? (ue(), de("svg", qse, Yse)) : Ye("", !0)
|
|
53770
53788
|
], 2)
|
|
53771
53789
|
]),
|
|
53772
53790
|
xe.isOpen ? (ue(), de("div", {
|
|
@@ -53777,7 +53795,7 @@ function Xse(A, ee, j, xe, oe, U) {
|
|
|
53777
53795
|
}, "p-5 border border-gray-200 dark:border-gray-700 dark:bg-gray-900"])
|
|
53778
53796
|
}, [
|
|
53779
53797
|
Zi(A.$slots, "default")
|
|
53780
|
-
], 2)) :
|
|
53798
|
+
], 2)) : Ye("", !0)
|
|
53781
53799
|
]);
|
|
53782
53800
|
}
|
|
53783
53801
|
const iie = /* @__PURE__ */ zr(Use, [["render", Xse]]), Jse = {
|
|
@@ -53861,10 +53879,10 @@ const iie = /* @__PURE__ */ zr(Use, [["render", Xse]]), Jse = {
|
|
|
53861
53879
|
});
|
|
53862
53880
|
const xe = ee;
|
|
53863
53881
|
return (oe, U) => (ue(), de("div", Jse, [
|
|
53864
|
-
j.type === "success" ? (ue(), de("div", Qse, nre)) :
|
|
53865
|
-
j.type === "error" ? (ue(), de("div", ore, are)) :
|
|
53866
|
-
j.type === "warning" ? (ue(), de("div", lre, ure)) :
|
|
53867
|
-
R("div", dre,
|
|
53882
|
+
j.type === "success" ? (ue(), de("div", Qse, nre)) : Ye("", !0),
|
|
53883
|
+
j.type === "error" ? (ue(), de("div", ore, are)) : Ye("", !0),
|
|
53884
|
+
j.type === "warning" ? (ue(), de("div", lre, ure)) : Ye("", !0),
|
|
53885
|
+
R("div", dre, lt(j.message), 1),
|
|
53868
53886
|
R("button", {
|
|
53869
53887
|
onClick: U[0] || (U[0] = (pe) => xe("remove")),
|
|
53870
53888
|
type: "button",
|
|
@@ -53950,9 +53968,9 @@ const iie = /* @__PURE__ */ zr(Use, [["render", Xse]]), Jse = {
|
|
|
53950
53968
|
oe.value = !1;
|
|
53951
53969
|
}, Ae = () => {
|
|
53952
53970
|
oe.value = !0;
|
|
53953
|
-
},
|
|
53971
|
+
}, Ke = ee, bt = () => {
|
|
53954
53972
|
axios.delete(`${j.xprops.route}/${j.row.id}`).then(() => {
|
|
53955
|
-
q(),
|
|
53973
|
+
q(), Ke("deleteAction"), Ry.methods.add({
|
|
53956
53974
|
message: "Item deleted successfully.",
|
|
53957
53975
|
type: "success",
|
|
53958
53976
|
duration: 5e3
|
|
@@ -53985,7 +54003,7 @@ const iie = /* @__PURE__ */ zr(Use, [["render", Xse]]), Jse = {
|
|
|
53985
54003
|
_re,
|
|
53986
54004
|
Zn(" Edit")
|
|
53987
54005
|
], 8, Cre)
|
|
53988
|
-
])) :
|
|
54006
|
+
])) : Ye("", !0),
|
|
53989
54007
|
cn.can(`delete_${A.xprops.permission}`) ? (ue(), de("li", Sre, [
|
|
53990
54008
|
R("a", {
|
|
53991
54009
|
href: "#",
|
|
@@ -53995,14 +54013,14 @@ const iie = /* @__PURE__ */ zr(Use, [["render", Xse]]), Jse = {
|
|
|
53995
54013
|
kre,
|
|
53996
54014
|
Zn(" Remove")
|
|
53997
54015
|
])
|
|
53998
|
-
])) :
|
|
54016
|
+
])) : Ye("", !0)
|
|
53999
54017
|
])
|
|
54000
54018
|
], 512), [
|
|
54001
54019
|
[kf, xe.value]
|
|
54002
54020
|
])
|
|
54003
54021
|
])), [
|
|
54004
54022
|
[Ro, U]
|
|
54005
|
-
]) :
|
|
54023
|
+
]) : Ye("", !0)
|
|
54006
54024
|
], 64);
|
|
54007
54025
|
};
|
|
54008
54026
|
}
|
|
@@ -54056,9 +54074,9 @@ const iie = /* @__PURE__ */ zr(Use, [["render", Xse]]), Jse = {
|
|
|
54056
54074
|
oe.value = !1;
|
|
54057
54075
|
}, Ae = () => {
|
|
54058
54076
|
oe.value = !0;
|
|
54059
|
-
},
|
|
54077
|
+
}, Ke = ee, bt = () => {
|
|
54060
54078
|
axios.delete(`${j.xprops.route}/${j.row.id}`).then(() => {
|
|
54061
|
-
q(),
|
|
54079
|
+
q(), Ke("deleteAction"), Ry.methods.add({
|
|
54062
54080
|
message: "Item deleted successfully.",
|
|
54063
54081
|
type: "success",
|
|
54064
54082
|
duration: 5e3
|
|
@@ -54092,14 +54110,14 @@ const iie = /* @__PURE__ */ zr(Use, [["render", Xse]]), Jse = {
|
|
|
54092
54110
|
$re,
|
|
54093
54111
|
Zn(" Remove")
|
|
54094
54112
|
])
|
|
54095
|
-
])) :
|
|
54113
|
+
])) : Ye("", !0)
|
|
54096
54114
|
])
|
|
54097
54115
|
], 512), [
|
|
54098
54116
|
[kf, xe.value]
|
|
54099
54117
|
])
|
|
54100
54118
|
])), [
|
|
54101
54119
|
[Ro, U]
|
|
54102
|
-
]) :
|
|
54120
|
+
]) : Ye("", !0)
|
|
54103
54121
|
], 64);
|
|
54104
54122
|
};
|
|
54105
54123
|
}
|
|
@@ -54159,12 +54177,12 @@ const iie = /* @__PURE__ */ zr(Use, [["render", Xse]]), Jse = {
|
|
|
54159
54177
|
xe.value = !1;
|
|
54160
54178
|
}, Ae = () => {
|
|
54161
54179
|
xe.value = !0;
|
|
54162
|
-
},
|
|
54163
|
-
|
|
54180
|
+
}, Ke = ee, bt = (xn) => {
|
|
54181
|
+
Ke("editAction", xn);
|
|
54164
54182
|
}, cn = () => {
|
|
54165
54183
|
axios.delete(`${j.xprops.route}/${j.row.id}`).then(() => {
|
|
54166
54184
|
var xn;
|
|
54167
|
-
U(),
|
|
54185
|
+
U(), Ke("deleteAction"), Ry.methods.add({
|
|
54168
54186
|
message: ((xn = j.language) == null ? void 0 : xn.item_deleted_successfully) ?? "Item deleted successfully.",
|
|
54169
54187
|
type: "success",
|
|
54170
54188
|
duration: 5e3
|
|
@@ -54198,9 +54216,9 @@ const iie = /* @__PURE__ */ zr(Use, [["render", Xse]]), Jse = {
|
|
|
54198
54216
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
54199
54217
|
}, [
|
|
54200
54218
|
Fre,
|
|
54201
|
-
Zn(" " +
|
|
54219
|
+
Zn(" " + lt(((Xn = A.language) == null ? void 0 : Xn.edit) ?? "Edit"), 1)
|
|
54202
54220
|
])
|
|
54203
|
-
])) :
|
|
54221
|
+
])) : Ye("", !0),
|
|
54204
54222
|
xn.can(`delete_${A.xprops.permission}`) ? (ue(), de("li", Hre, [
|
|
54205
54223
|
R("a", {
|
|
54206
54224
|
href: "#",
|
|
@@ -54208,16 +54226,16 @@ const iie = /* @__PURE__ */ zr(Use, [["render", Xse]]), Jse = {
|
|
|
54208
54226
|
class: "block px-4 py-2 text-red-600 hover:text-white hover:bg-red-600 dark:text-red-500 dark:hover:text-white dark:hover:bg-red-600"
|
|
54209
54227
|
}, [
|
|
54210
54228
|
Vre,
|
|
54211
|
-
Zn(" " +
|
|
54229
|
+
Zn(" " + lt(((Ue = A.language) == null ? void 0 : Ue.remove) ?? "Remove"), 1)
|
|
54212
54230
|
])
|
|
54213
|
-
])) :
|
|
54231
|
+
])) : Ye("", !0)
|
|
54214
54232
|
])
|
|
54215
54233
|
], 512), [
|
|
54216
54234
|
[kf, xe.value]
|
|
54217
54235
|
])
|
|
54218
54236
|
])), [
|
|
54219
54237
|
[Es, q]
|
|
54220
|
-
]) :
|
|
54238
|
+
]) : Ye("", !0)
|
|
54221
54239
|
], 64);
|
|
54222
54240
|
};
|
|
54223
54241
|
}
|
|
@@ -54299,7 +54317,7 @@ function qre(A, ee, j, xe, oe, U) {
|
|
|
54299
54317
|
Gre,
|
|
54300
54318
|
Zn(" Download ")
|
|
54301
54319
|
], 8, jre)
|
|
54302
|
-
])) :
|
|
54320
|
+
])) : Ye("", !0)
|
|
54303
54321
|
]);
|
|
54304
54322
|
}
|
|
54305
54323
|
const gie = /* @__PURE__ */ zr(zre, [["render", qre]]), Kre = {
|
|
@@ -54374,7 +54392,7 @@ function tae(A, ee, j, xe, oe, U) {
|
|
|
54374
54392
|
eae,
|
|
54375
54393
|
Zn(" Download ")
|
|
54376
54394
|
], 8, Qre)
|
|
54377
|
-
])) :
|
|
54395
|
+
])) : Ye("", !0);
|
|
54378
54396
|
}
|
|
54379
54397
|
const hie = /* @__PURE__ */ zr(Kre, [["render", tae]]), nae = {
|
|
54380
54398
|
props: ["field", "row", "tdProps"]
|
|
@@ -54385,7 +54403,7 @@ function rae(A, ee, j, xe, oe, U) {
|
|
|
54385
54403
|
class: "w-full",
|
|
54386
54404
|
innerHTML: j.row[j.field]
|
|
54387
54405
|
}, null, 8, sae)
|
|
54388
|
-
])) :
|
|
54406
|
+
])) : Ye("", !0);
|
|
54389
54407
|
}
|
|
54390
54408
|
const pie = /* @__PURE__ */ zr(nae, [["render", rae]]), aae = {
|
|
54391
54409
|
props: ["field", "row", "tdProps"],
|
|
@@ -54413,8 +54431,8 @@ function iae(A, ee, j, xe, oe, U) {
|
|
|
54413
54431
|
U.isArray ? (ue(!0), de(Gn, { key: 0 }, Ys(j.row[U.entry.key], (pe, q) => (ue(), de("span", {
|
|
54414
54432
|
key: q,
|
|
54415
54433
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
54416
|
-
},
|
|
54417
|
-
])) :
|
|
54434
|
+
}, lt(pe[U.entry.field]), 1))), 128)) : U.isObject ? (ue(), de("span", cae, lt(j.row[U.entry.key][U.entry.field]), 1)) : Ye("", !0)
|
|
54435
|
+
])) : Ye("", !0);
|
|
54418
54436
|
}
|
|
54419
54437
|
const bie = /* @__PURE__ */ zr(aae, [["render", iae]]), uae = {
|
|
54420
54438
|
props: ["field", "row", "tdProps"],
|
|
@@ -54444,7 +54462,7 @@ function fae(A, ee, j, xe, oe, U) {
|
|
|
54444
54462
|
U.isArray ? (ue(!0), de(Gn, { key: 0 }, Ys(U.getNestedValue(j.row, U.entry.keys), (pe, q) => (ue(), de("span", {
|
|
54445
54463
|
key: q,
|
|
54446
54464
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
54447
|
-
},
|
|
54465
|
+
}, lt(pe[U.entry.field]), 1))), 128)) : U.isObject ? (ue(), de("span", mae, lt(U.getNestedValue(j.row, U.entry.keys)[U.entry.field]), 1)) : Ye("", !0)
|
|
54448
54466
|
]);
|
|
54449
54467
|
}
|
|
54450
54468
|
const vie = /* @__PURE__ */ zr(uae, [["render", fae]]), gae = {
|
|
@@ -54465,7 +54483,7 @@ function yae(A, ee, j, xe, oe, U) {
|
|
|
54465
54483
|
}, null, 8, vae)
|
|
54466
54484
|
], 8, bae)
|
|
54467
54485
|
])
|
|
54468
|
-
])) :
|
|
54486
|
+
])) : Ye("", !0);
|
|
54469
54487
|
}
|
|
54470
54488
|
const yie = /* @__PURE__ */ zr(gae, [["render", yae], ["__scopeId", "data-v-3a28c02c"]]), wae = {
|
|
54471
54489
|
props: ["field", "row", "tdProps"],
|
|
@@ -54498,7 +54516,7 @@ function kae(A, ee, j, xe, oe, U) {
|
|
|
54498
54516
|
src: j.row[j.field].thumbnail,
|
|
54499
54517
|
alt: j.row[j.field].file_name
|
|
54500
54518
|
}, null, 8, Sae)
|
|
54501
|
-
])) :
|
|
54519
|
+
])) : Ye("", !0);
|
|
54502
54520
|
}
|
|
54503
54521
|
const wie = /* @__PURE__ */ zr(wae, [["render", kae]]), Tae = {
|
|
54504
54522
|
props: ["field", "row", "tdProps"],
|
|
@@ -54519,7 +54537,7 @@ function $ae(A, ee, j, xe, oe, U) {
|
|
|
54519
54537
|
U.isActive ? (ue(), de("span", Aae, [
|
|
54520
54538
|
Dae,
|
|
54521
54539
|
Zn(" Active ")
|
|
54522
|
-
])) : U.isActive ?
|
|
54540
|
+
])) : U.isActive ? Ye("", !0) : (ue(), de("span", Oae, [
|
|
54523
54541
|
Rae,
|
|
54524
54542
|
Zn(" Inactive ")
|
|
54525
54543
|
]))
|
|
@@ -54558,24 +54576,24 @@ function Zae(A, ee, j, xe, oe, U) {
|
|
|
54558
54576
|
return ue(), de("div", Bae, [
|
|
54559
54577
|
U.hasLabelColor == "green" ? (ue(), de("span", Pae, [
|
|
54560
54578
|
Nae,
|
|
54561
|
-
Zn(" " +
|
|
54562
|
-
])) :
|
|
54579
|
+
Zn(" " + lt(this.row[this.field]), 1)
|
|
54580
|
+
])) : Ye("", !0),
|
|
54563
54581
|
U.hasLabelColor == "red" ? (ue(), de("span", Iae, [
|
|
54564
54582
|
Lae,
|
|
54565
|
-
Zn(" " +
|
|
54566
|
-
])) :
|
|
54583
|
+
Zn(" " + lt(this.row[this.field]), 1)
|
|
54584
|
+
])) : Ye("", !0),
|
|
54567
54585
|
U.hasLabelColor == "yellow" ? (ue(), de("span", Fae, [
|
|
54568
54586
|
Hae,
|
|
54569
|
-
Zn(" " +
|
|
54570
|
-
])) :
|
|
54587
|
+
Zn(" " + lt(this.row[this.field]), 1)
|
|
54588
|
+
])) : Ye("", !0),
|
|
54571
54589
|
U.hasLabelColor == "default" ? (ue(), de("span", Vae, [
|
|
54572
54590
|
zae,
|
|
54573
|
-
Zn(" " +
|
|
54574
|
-
])) :
|
|
54591
|
+
Zn(" " + lt(this.row[this.field]), 1)
|
|
54592
|
+
])) : Ye("", !0),
|
|
54575
54593
|
U.hasLabelColor == "animate" ? (ue(), de("span", Uae, [
|
|
54576
54594
|
Wae,
|
|
54577
|
-
Zn(" " +
|
|
54578
|
-
])) :
|
|
54595
|
+
Zn(" " + lt(this.row[this.field]), 1)
|
|
54596
|
+
])) : Ye("", !0)
|
|
54579
54597
|
]);
|
|
54580
54598
|
}
|
|
54581
54599
|
const Cie = /* @__PURE__ */ zr(Mae, [["render", Zae]]), jae = {
|
|
@@ -54605,35 +54623,35 @@ function qae(A, ee, j, xe, oe, U) {
|
|
|
54605
54623
|
U.hasLabelColor == "Default" ? (ue(), de("span", {
|
|
54606
54624
|
key: 0,
|
|
54607
54625
|
class: Vt(["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", U.badgeType])
|
|
54608
|
-
},
|
|
54626
|
+
}, lt(this.row[this.field]), 3)) : Ye("", !0),
|
|
54609
54627
|
U.hasLabelColor == "Dark" ? (ue(), de("span", {
|
|
54610
54628
|
key: 1,
|
|
54611
54629
|
class: Vt(["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", U.badgeType])
|
|
54612
|
-
},
|
|
54630
|
+
}, lt(this.row[this.field]), 3)) : Ye("", !0),
|
|
54613
54631
|
U.hasLabelColor == "Red" ? (ue(), de("span", {
|
|
54614
54632
|
key: 2,
|
|
54615
54633
|
class: Vt(["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", U.badgeType])
|
|
54616
|
-
},
|
|
54634
|
+
}, lt(this.row[this.field]), 3)) : Ye("", !0),
|
|
54617
54635
|
U.hasLabelColor == "Green" ? (ue(), de("span", {
|
|
54618
54636
|
key: 3,
|
|
54619
54637
|
class: Vt(["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", U.badgeType])
|
|
54620
|
-
},
|
|
54638
|
+
}, lt(this.row[this.field]), 3)) : Ye("", !0),
|
|
54621
54639
|
U.hasLabelColor == "Yellow" ? (ue(), de("span", {
|
|
54622
54640
|
key: 4,
|
|
54623
54641
|
class: Vt(["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", U.badgeType])
|
|
54624
|
-
},
|
|
54642
|
+
}, lt(this.row[this.field]), 3)) : Ye("", !0),
|
|
54625
54643
|
U.hasLabelColor == "Indigo" ? (ue(), de("span", {
|
|
54626
54644
|
key: 5,
|
|
54627
54645
|
class: Vt(["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", U.badgeType])
|
|
54628
|
-
},
|
|
54646
|
+
}, lt(this.row[this.field]), 3)) : Ye("", !0),
|
|
54629
54647
|
U.hasLabelColor == "Purple" ? (ue(), de("span", {
|
|
54630
54648
|
key: 6,
|
|
54631
54649
|
class: Vt(["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", U.badgeType])
|
|
54632
|
-
},
|
|
54650
|
+
}, lt(this.row[this.field]), 3)) : Ye("", !0),
|
|
54633
54651
|
U.hasLabelColor == "Pink" ? (ue(), de("span", {
|
|
54634
54652
|
key: 7,
|
|
54635
54653
|
class: Vt(["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", U.badgeType])
|
|
54636
|
-
},
|
|
54654
|
+
}, lt(this.row[this.field]), 3)) : Ye("", !0)
|
|
54637
54655
|
]);
|
|
54638
54656
|
}
|
|
54639
54657
|
const _ie = /* @__PURE__ */ zr(jae, [["render", qae]]), Kae = {
|
|
@@ -54693,24 +54711,24 @@ function lle(A, ee, j, xe, oe, U) {
|
|
|
54693
54711
|
return ue(), de("div", Yae, [
|
|
54694
54712
|
U.hasLabelColor == "green" ? (ue(), de("span", Xae, [
|
|
54695
54713
|
Jae,
|
|
54696
|
-
Zn(" " +
|
|
54697
|
-
])) :
|
|
54714
|
+
Zn(" " + lt(U.getLabel), 1)
|
|
54715
|
+
])) : Ye("", !0),
|
|
54698
54716
|
U.hasLabelColor == "red" ? (ue(), de("span", Qae, [
|
|
54699
54717
|
ele,
|
|
54700
|
-
Zn(" " +
|
|
54701
|
-
])) :
|
|
54718
|
+
Zn(" " + lt(U.getLabel), 1)
|
|
54719
|
+
])) : Ye("", !0),
|
|
54702
54720
|
U.hasLabelColor == "yellow" ? (ue(), de("span", tle, [
|
|
54703
54721
|
nle,
|
|
54704
|
-
Zn(" " +
|
|
54705
|
-
])) :
|
|
54722
|
+
Zn(" " + lt(U.getLabel), 1)
|
|
54723
|
+
])) : Ye("", !0),
|
|
54706
54724
|
U.hasLabelColor == "default" ? (ue(), de("span", ole, [
|
|
54707
54725
|
sle,
|
|
54708
|
-
Zn(" " +
|
|
54709
|
-
])) :
|
|
54726
|
+
Zn(" " + lt(U.getLabel), 1)
|
|
54727
|
+
])) : Ye("", !0),
|
|
54710
54728
|
U.hasLabelColor == "animate" ? (ue(), de("span", rle, [
|
|
54711
54729
|
ale,
|
|
54712
|
-
Zn(" " +
|
|
54713
|
-
])) :
|
|
54730
|
+
Zn(" " + lt(U.getLabel), 1)
|
|
54731
|
+
])) : Ye("", !0)
|
|
54714
54732
|
]);
|
|
54715
54733
|
}
|
|
54716
54734
|
const Sie = /* @__PURE__ */ zr(Kae, [["render", lle]]), cle = {
|
|
@@ -54727,7 +54745,7 @@ const Sie = /* @__PURE__ */ zr(Kae, [["render", lle]]), cle = {
|
|
|
54727
54745
|
}
|
|
54728
54746
|
}, ile = { class: "w-full" };
|
|
54729
54747
|
function ule(A, ee, j, xe, oe, U) {
|
|
54730
|
-
return ue(), de("div", ile,
|
|
54748
|
+
return ue(), de("div", ile, lt(U.formattedDate), 1);
|
|
54731
54749
|
}
|
|
54732
54750
|
const kie = /* @__PURE__ */ zr(cle, [["render", ule]]), dle = {
|
|
54733
54751
|
props: ["field", "row", "tdProps"],
|
|
@@ -54741,7 +54759,7 @@ const kie = /* @__PURE__ */ zr(cle, [["render", ule]]), dle = {
|
|
|
54741
54759
|
}
|
|
54742
54760
|
}, mle = { class: "w-full" };
|
|
54743
54761
|
function fle(A, ee, j, xe, oe, U) {
|
|
54744
|
-
return ue(), de("div", mle,
|
|
54762
|
+
return ue(), de("div", mle, lt(U.formattedDate), 1);
|
|
54745
54763
|
}
|
|
54746
54764
|
const Tie = /* @__PURE__ */ zr(dle, [["render", fle]]), gle = {
|
|
54747
54765
|
props: ["field", "row", "tdProps"]
|
|
@@ -54763,15 +54781,15 @@ function Cle(A, ee, j, xe, oe, U) {
|
|
|
54763
54781
|
j.row[j.field] === 0 ? (ue(), de("span", ple, [
|
|
54764
54782
|
ble,
|
|
54765
54783
|
Zn(" Provisioning")
|
|
54766
|
-
])) :
|
|
54784
|
+
])) : Ye("", !0),
|
|
54767
54785
|
j.row[j.field] === 2 ? (ue(), de("span", vle, [
|
|
54768
54786
|
yle,
|
|
54769
54787
|
Zn(" Paused ")
|
|
54770
|
-
])) :
|
|
54788
|
+
])) : Ye("", !0),
|
|
54771
54789
|
j.row[j.field] === 1 ? (ue(), de("span", wle, [
|
|
54772
54790
|
xle,
|
|
54773
54791
|
Zn(" Active ")
|
|
54774
|
-
])) :
|
|
54792
|
+
])) : Ye("", !0)
|
|
54775
54793
|
]);
|
|
54776
54794
|
}
|
|
54777
54795
|
const Eie = /* @__PURE__ */ zr(gle, [["render", Cle]]), _le = {
|
|
@@ -54782,9 +54800,9 @@ const Eie = /* @__PURE__ */ zr(gle, [["render", Cle]]), _le = {
|
|
|
54782
54800
|
}, kle = { class: "w-full h-full p-3 mx-0 mt-0 overflow-auto font-mono text-left break-words rounded cursor-default whitespace-nowrap console_styles" };
|
|
54783
54801
|
function Tle(A, ee, j, xe, oe, U) {
|
|
54784
54802
|
return j.row[j.field] ? (ue(), de("div", Sle, [
|
|
54785
|
-
R("pre", kle, " " +
|
|
54803
|
+
R("pre", kle, " " + lt(j.row[j.field]) + `
|
|
54786
54804
|
`, 1)
|
|
54787
|
-
])) :
|
|
54805
|
+
])) : Ye("", !0);
|
|
54788
54806
|
}
|
|
54789
54807
|
const Aie = /* @__PURE__ */ zr(_le, [["render", Tle]]), Ele = {
|
|
54790
54808
|
components: {
|
|
@@ -54821,7 +54839,7 @@ function Fle(A, ee, j, xe, oe, U) {
|
|
|
54821
54839
|
R("div", Mle, [
|
|
54822
54840
|
R("div", Ble, [
|
|
54823
54841
|
R("div", Ple, [
|
|
54824
|
-
R("h3", Nle,
|
|
54842
|
+
R("h3", Nle, lt(j.title), 1),
|
|
54825
54843
|
R("div", Ile, [
|
|
54826
54844
|
Zi(A.$slots, "default")
|
|
54827
54845
|
])
|
|
@@ -54835,7 +54853,7 @@ function Fle(A, ee, j, xe, oe, U) {
|
|
|
54835
54853
|
button_type: "red"
|
|
54836
54854
|
}, {
|
|
54837
54855
|
default: Cm(() => [
|
|
54838
|
-
Zn(
|
|
54856
|
+
Zn(lt(j.button_text), 1)
|
|
54839
54857
|
]),
|
|
54840
54858
|
_: 1
|
|
54841
54859
|
}, 8, ["onClick"]),
|
|
@@ -54852,7 +54870,7 @@ function Fle(A, ee, j, xe, oe, U) {
|
|
|
54852
54870
|
])
|
|
54853
54871
|
])
|
|
54854
54872
|
])
|
|
54855
|
-
])) :
|
|
54873
|
+
])) : Ye("", !0);
|
|
54856
54874
|
}
|
|
54857
54875
|
const Die = /* @__PURE__ */ zr(Ele, [["render", Fle]]), Hle = { class: "w-full" }, Vle = { class: "mb-2 flex justify-between items-center" }, zle = { class: "text-sm font-medium text-gray-900 dark:text-white" }, Ule = { class: "relative bg-gray-50 rounded-lg dark:bg-gray-700 p-4 h-auto" }, Wle = { class: "overflow-auto max-h-32" }, Zle = { class: "text-sm text-gray-500 dark:text-gray-400" }, jle = { class: "absolute top-2 end-2 bg-gray-50 dark:bg-gray-700" }, Gle = {
|
|
54858
54876
|
key: 0,
|
|
@@ -54916,23 +54934,23 @@ const Die = /* @__PURE__ */ zr(Ele, [["render", Fle]]), Hle = { class: "w-full"
|
|
|
54916
54934
|
}, oe = bu(() => ee.code);
|
|
54917
54935
|
return (U, pe) => (ue(), de("div", Hle, [
|
|
54918
54936
|
R("div", Vle, [
|
|
54919
|
-
R("p", zle,
|
|
54937
|
+
R("p", zle, lt(A.label_name), 1)
|
|
54920
54938
|
]),
|
|
54921
54939
|
R("div", Ule, [
|
|
54922
54940
|
R("div", Wle, [
|
|
54923
|
-
R("code", Zle,
|
|
54941
|
+
R("code", Zle, lt(oe.value), 1)
|
|
54924
54942
|
]),
|
|
54925
54943
|
R("div", jle, [
|
|
54926
54944
|
R("button", {
|
|
54927
54945
|
onClick: pe[0] || (pe[0] = (q) => xe(oe.value)),
|
|
54928
54946
|
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"
|
|
54929
54947
|
}, [
|
|
54930
|
-
j.value ?
|
|
54931
|
-
j.value ? (ue(), de("span", Xle, ece)) :
|
|
54948
|
+
j.value ? Ye("", !0) : (ue(), de("span", Gle, Yle)),
|
|
54949
|
+
j.value ? (ue(), de("span", Xle, ece)) : Ye("", !0)
|
|
54932
54950
|
])
|
|
54933
54951
|
])
|
|
54934
54952
|
]),
|
|
54935
|
-
R("p", tce,
|
|
54953
|
+
R("p", tce, lt(A.description), 1)
|
|
54936
54954
|
]));
|
|
54937
54955
|
}
|
|
54938
54956
|
}, nce = { class: "w-full" }, oce = { class: "flex justify-between items-center" }, sce = { class: "gl-label-form" }, rce = { class: "flex items-center" }, ace = { class: "flex-shrink-0 z-10 inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-gray-100 border border-gray-300 rounded-s-lg dark:bg-gray-600 dark:text-white dark:border-gray-600" }, lce = { class: "relative w-full" }, cce = ["value"], ice = { key: 0 }, uce = /* @__PURE__ */ R("svg", {
|
|
@@ -54996,10 +55014,10 @@ const Die = /* @__PURE__ */ zr(Ele, [["render", Fle]]), Hle = { class: "w-full"
|
|
|
54996
55014
|
}, oe = bu(() => ee.code);
|
|
54997
55015
|
return (U, pe) => (ue(), de("div", nce, [
|
|
54998
55016
|
R("div", oce, [
|
|
54999
|
-
R("label", sce,
|
|
55017
|
+
R("label", sce, lt(A.label_name), 1)
|
|
55000
55018
|
]),
|
|
55001
55019
|
R("div", rce, [
|
|
55002
|
-
R("span", ace,
|
|
55020
|
+
R("span", ace, lt(A.text_name), 1),
|
|
55003
55021
|
R("div", lce, [
|
|
55004
55022
|
R("input", {
|
|
55005
55023
|
type: "text",
|
|
@@ -55016,11 +55034,11 @@ const Die = /* @__PURE__ */ zr(Ele, [["render", Fle]]), Hle = { class: "w-full"
|
|
|
55016
55034
|
class: "flex-shrink-0 z-10 inline-flex items-center px-4 text-sm font-medium text-center text-white bg-blue-700 rounded-e-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 border border-blue-700 dark:border-blue-600 hover:border-blue-800 dark:hover:border-blue-700",
|
|
55017
55035
|
type: "button"
|
|
55018
55036
|
}, [
|
|
55019
|
-
j.value ?
|
|
55020
|
-
j.value ? (ue(), de("span", mce, gce)) :
|
|
55037
|
+
j.value ? Ye("", !0) : (ue(), de("span", ice, dce)),
|
|
55038
|
+
j.value ? (ue(), de("span", mce, gce)) : Ye("", !0)
|
|
55021
55039
|
])
|
|
55022
55040
|
]),
|
|
55023
|
-
R("p", hce,
|
|
55041
|
+
R("p", hce, lt(A.description), 1)
|
|
55024
55042
|
]));
|
|
55025
55043
|
}
|
|
55026
55044
|
}, pce = { class: "flex flex-wrap gap-2 text-nowrap" }, bce = {
|
|
@@ -55048,15 +55066,15 @@ const Die = /* @__PURE__ */ zr(Ele, [["render", Fle]]), Hle = { class: "w-full"
|
|
|
55048
55066
|
A.status === 0 ? (ue(), de("span", bce, [
|
|
55049
55067
|
vce,
|
|
55050
55068
|
Zn(" Running")
|
|
55051
|
-
])) :
|
|
55069
|
+
])) : Ye("", !0),
|
|
55052
55070
|
A.status === 1 ? (ue(), de("span", yce, [
|
|
55053
55071
|
wce,
|
|
55054
55072
|
Zn(" Success ")
|
|
55055
|
-
])) :
|
|
55073
|
+
])) : Ye("", !0),
|
|
55056
55074
|
A.status === 2 ? (ue(), de("span", xce, [
|
|
55057
55075
|
Cce,
|
|
55058
55076
|
Zn(" Failed ")
|
|
55059
|
-
])) :
|
|
55077
|
+
])) : Ye("", !0)
|
|
55060
55078
|
]));
|
|
55061
55079
|
}
|
|
55062
55080
|
}, _ce = { class: "flex flex-wrap text-nowrap" }, Sce = {
|
|
@@ -55100,15 +55118,15 @@ const Die = /* @__PURE__ */ zr(Ele, [["render", Fle]]), Hle = { class: "w-full"
|
|
|
55100
55118
|
A.status === 0 ? (ue(), de("span", Sce, [
|
|
55101
55119
|
kce,
|
|
55102
55120
|
Zn(" Connecting")
|
|
55103
|
-
])) :
|
|
55121
|
+
])) : Ye("", !0),
|
|
55104
55122
|
A.status === 1 ? (ue(), de("span", Tce, [
|
|
55105
55123
|
Ece,
|
|
55106
55124
|
Zn(" Connected ")
|
|
55107
|
-
])) :
|
|
55125
|
+
])) : Ye("", !0),
|
|
55108
55126
|
A.status === 2 ? (ue(), de("span", Ace, [
|
|
55109
55127
|
Dce,
|
|
55110
55128
|
Zn(" Disconnected ")
|
|
55111
|
-
])) :
|
|
55129
|
+
])) : Ye("", !0),
|
|
55112
55130
|
R("button", {
|
|
55113
55131
|
onClick: xe,
|
|
55114
55132
|
class: "ml-1"
|
|
@@ -55319,10 +55337,10 @@ class Pie {
|
|
|
55319
55337
|
) ? q.nextElementSibling : null;
|
|
55320
55338
|
if (Ae && (Ae.dataset.inp = q.id, q.dataset.inpUsr = Ae.id, U.settings.editing))
|
|
55321
55339
|
if (Ae.classList.contains("tiny")) {
|
|
55322
|
-
var
|
|
55340
|
+
var Ke = tinymce.get(
|
|
55323
55341
|
Ae.name
|
|
55324
55342
|
);
|
|
55325
|
-
|
|
55343
|
+
Ke.on("change", function(cn) {
|
|
55326
55344
|
U.prepareData();
|
|
55327
55345
|
});
|
|
55328
55346
|
} else
|
|
@@ -55364,17 +55382,17 @@ class Pie {
|
|
|
55364
55382
|
},
|
|
55365
55383
|
selectLanguage: function(U) {
|
|
55366
55384
|
var pe = this, q = U.target.value;
|
|
55367
|
-
this.transInputs.forEach(function(
|
|
55385
|
+
this.transInputs.forEach(function(Ke) {
|
|
55368
55386
|
if (pe.settings.editing) {
|
|
55369
|
-
pe.updateInputCache(
|
|
55387
|
+
pe.updateInputCache(Ke);
|
|
55370
55388
|
var bt = new Event("change");
|
|
55371
|
-
|
|
55389
|
+
Ke.dispatchEvent(bt);
|
|
55372
55390
|
}
|
|
55373
|
-
pe.loadLang(
|
|
55391
|
+
pe.loadLang(Ke, q);
|
|
55374
55392
|
}), this.locale = q;
|
|
55375
55393
|
var Ae = this.element.querySelectorAll(".js-language-label");
|
|
55376
|
-
Ae && Ae.forEach(function(
|
|
55377
|
-
|
|
55394
|
+
Ae && Ae.forEach(function(Ke) {
|
|
55395
|
+
Ke.textContent = q;
|
|
55378
55396
|
}, this);
|
|
55379
55397
|
},
|
|
55380
55398
|
prepareData: function() {
|
|
@@ -55386,15 +55404,15 @@ class Pie {
|
|
|
55386
55404
|
});
|
|
55387
55405
|
},
|
|
55388
55406
|
updateInputCache: function(U) {
|
|
55389
|
-
var pe = this, q = U.dataset.inpUsr, Ae = ee.getElementById(q).value,
|
|
55407
|
+
var pe = this, q = U.dataset.inpUsr, Ae = ee.getElementById(q).value, Ke = {};
|
|
55390
55408
|
if (ee.getElementById(q).classList.contains("tiny")) {
|
|
55391
55409
|
var bt = tinymce.get(ee.getElementById(q).name);
|
|
55392
55410
|
Ae = bt.getContent();
|
|
55393
55411
|
}
|
|
55394
55412
|
pe.langSelectors.forEach(function(cn) {
|
|
55395
55413
|
var xn = cn.value;
|
|
55396
|
-
|
|
55397
|
-
}), U.value = JSON.stringify(
|
|
55414
|
+
Ke[xn] = pe.locale == xn ? Ae : U.dataset[xn];
|
|
55415
|
+
}), U.value = JSON.stringify(Ke), U.dataset[pe.locale] = Ae;
|
|
55398
55416
|
},
|
|
55399
55417
|
loadLang: function(U, pe) {
|
|
55400
55418
|
var q = U.dataset.inpUsr, Ae = U.dataset[pe];
|
|
@@ -55402,8 +55420,8 @@ class Pie {
|
|
|
55402
55420
|
this.settings.type === "tiny" ? ee.getElementById(q).innerHTML = Ae : ee.getElementById(q).textContent = Ae;
|
|
55403
55421
|
else {
|
|
55404
55422
|
ee.getElementById(q).value = Ae;
|
|
55405
|
-
var
|
|
55406
|
-
ee.getElementById(q).classList.contains("tiny") &&
|
|
55423
|
+
var Ke = tinymce.get(q);
|
|
55424
|
+
ee.getElementById(q).classList.contains("tiny") && Ke && Ke.initialized ? Ke.setContent(Ae) : ee.getElementById(q).value = Ae;
|
|
55407
55425
|
}
|
|
55408
55426
|
}
|
|
55409
55427
|
}), A.multilingual = oe;
|