golden-logic-ui 1.0.328 → 1.0.330
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 +398 -398
- package/dist/golden-logic-ui.umd.cjs +17 -17
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as ve, createElementBlock as we, createElementVNode as P, createCommentVNode as ht, createStaticVNode as Aq, reactive as Dq, resolveComponent as ky, Fragment as go, createVNode as cb, normalizeClass as an, toDisplayString as
|
|
1
|
+
import { openBlock as ve, createElementBlock as we, createElementVNode as P, createCommentVNode as ht, createStaticVNode as Aq, reactive as Dq, resolveComponent as ky, Fragment as go, createVNode as cb, normalizeClass as an, toDisplayString as mt, withModifiers as oc, withDirectives as Qa, vModelText as vm, renderList as hr, normalizeStyle as Dj, computed as vc, renderSlot as vf, ref as Do, onMounted as Oh, watch as Gx, createTextVNode as ko, vShow as n5, nextTick as Oj, createBlock as Ty, resolveDynamicComponent as o5, mergeProps as t5, withCtx as U8, vModelDynamic as XG, useSlots as Oq, provide as JG, inject as QG, pushScopeId as Rq, popScopeId as $q, vModelCheckbox as eq, onBeforeUnmount as Mq, toHandlers as Ej, onUnmounted as Pq, TransitionGroup as Bq, unref as Nq, resolveDirective as tq, markRaw as Iq } from "vue";
|
|
2
2
|
const Jr = (R, me) => {
|
|
3
3
|
const se = R.__vccOpts || R;
|
|
4
4
|
for (const [Ee, ce] of me)
|
|
@@ -265,7 +265,7 @@ function _K(R, me, se, Ee, ce, q) {
|
|
|
265
265
|
"gl-label-form-invalid": ce.error_message_data !== "",
|
|
266
266
|
required: se.is_required
|
|
267
267
|
})
|
|
268
|
-
},
|
|
268
|
+
}, mt(se.label_name), 3),
|
|
269
269
|
P("div", {
|
|
270
270
|
onDragover: me[3] || (me[3] = oc((...Q) => q.onDragOver && q.onDragOver(...Q), ["prevent"])),
|
|
271
271
|
onDragleave: me[4] || (me[4] = oc((...Q) => q.onDragLeave && q.onDragLeave(...Q), ["prevent"])),
|
|
@@ -294,15 +294,15 @@ function _K(R, me, se, Ee, ce, q) {
|
|
|
294
294
|
}, eK))
|
|
295
295
|
])
|
|
296
296
|
], 32),
|
|
297
|
-
P("span", sK,
|
|
298
|
-
P("small", rK,
|
|
297
|
+
P("span", sK, mt(ce.error_message_data), 1),
|
|
298
|
+
P("small", rK, mt(se.description), 1),
|
|
299
299
|
ce.files.length > 0 ? (ve(), we("section", aK, [
|
|
300
300
|
(ve(!0), we(go, null, hr(ce.files, (Q, Be) => (ve(), we("li", lK, [
|
|
301
301
|
cK,
|
|
302
302
|
P("div", iK, [
|
|
303
303
|
P("div", uK, [
|
|
304
|
-
P("span", dK,
|
|
305
|
-
P("span", mK,
|
|
304
|
+
P("span", dK, mt(q.getFileName(Q.file_name)), 1),
|
|
305
|
+
P("span", mK, mt(Q.loading), 1)
|
|
306
306
|
]),
|
|
307
307
|
P("div", fK, [
|
|
308
308
|
P("div", {
|
|
@@ -318,8 +318,8 @@ function _K(R, me, se, Ee, ce, q) {
|
|
|
318
318
|
P("div", pK, [
|
|
319
319
|
bK,
|
|
320
320
|
P("div", vK, [
|
|
321
|
-
P("span", yK,
|
|
322
|
-
P("span", wK,
|
|
321
|
+
P("span", yK, mt(q.getFileName(Q.file_name)), 1),
|
|
322
|
+
P("span", wK, mt(q.formatFileSize(Q.size)), 1)
|
|
323
323
|
])
|
|
324
324
|
]),
|
|
325
325
|
P("div", xK, [
|
|
@@ -330,7 +330,7 @@ function _K(R, me, se, Ee, ce, q) {
|
|
|
330
330
|
}, null, 8, CK),
|
|
331
331
|
se.is_enable_delete ? (ve(), we("i", {
|
|
332
332
|
key: 0,
|
|
333
|
-
onClick: (
|
|
333
|
+
onClick: (dt) => {
|
|
334
334
|
ce.media_id = Q.id, ce.open_delete_modal = !0;
|
|
335
335
|
},
|
|
336
336
|
class: "text-lg text-red-600 cursor-pointer dark:text-red-400 fas fa-x"
|
|
@@ -396,7 +396,7 @@ function DK(R, me, se, Ee, ce, q) {
|
|
|
396
396
|
"border md:!rounded-e-lg": Q === ce.locals.length - 1,
|
|
397
397
|
"border-t border-b": Q !== 0 && Q !== ce.locals.length - 1
|
|
398
398
|
}, "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"])
|
|
399
|
-
},
|
|
399
|
+
}, mt(Ae), 11, AK)
|
|
400
400
|
]))), 256))
|
|
401
401
|
]);
|
|
402
402
|
}
|
|
@@ -514,7 +514,7 @@ const Rae = /* @__PURE__ */ Jr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
514
514
|
},
|
|
515
515
|
emits: ["update:modelValue", "selected", "selectionChanged"],
|
|
516
516
|
setup(R, { emit: me }) {
|
|
517
|
-
const se = R, Ee = me, ce = Do(null), q = Do([]), Ae = Do([]), Q = Do(0), Be = Do(!1),
|
|
517
|
+
const se = R, Ee = me, ce = Do(null), q = Do([]), Ae = Do([]), Q = Do(0), Be = Do(!1), dt = Do(""), $t = Do(""), Pn = Do(null), Yn = Do(0), Fo = () => {
|
|
518
518
|
Pn.value && (Yn.value = Pn.value.offsetWidth);
|
|
519
519
|
};
|
|
520
520
|
Oh(() => {
|
|
@@ -524,11 +524,11 @@ const Rae = /* @__PURE__ */ Jr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
524
524
|
Oe.key === "Enter" && Oe.target.form && Oe.preventDefault();
|
|
525
525
|
}));
|
|
526
526
|
});
|
|
527
|
-
const hs = vc(() =>
|
|
528
|
-
const Oe = [], tn = new RegExp(
|
|
527
|
+
const hs = vc(() => Wt()), Po = vc(() => wn()), Mt = vc(() => {
|
|
528
|
+
const Oe = [], tn = new RegExp(dt.value, "ig");
|
|
529
529
|
for (const Ct of hs.value) {
|
|
530
530
|
const qe = String(Ct.name);
|
|
531
|
-
(
|
|
531
|
+
(dt.value.length < 1 || qe.match(tn)) && Oe.length < se.maxItem && Oe.push(Ct);
|
|
532
532
|
}
|
|
533
533
|
return Oe;
|
|
534
534
|
});
|
|
@@ -565,7 +565,7 @@ const Rae = /* @__PURE__ */ Jr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
565
565
|
return q.value.findIndex((tn) => tn.id === Oe) !== -1;
|
|
566
566
|
}
|
|
567
567
|
function Qn() {
|
|
568
|
-
q.value =
|
|
568
|
+
q.value = Wt();
|
|
569
569
|
}
|
|
570
570
|
function oe() {
|
|
571
571
|
q.value = [], Ee("update:modelValue", []), Ee("selected", []), Ee("selectionChanged", []);
|
|
@@ -588,7 +588,7 @@ const Rae = /* @__PURE__ */ Jr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
588
588
|
function ge(Oe) {
|
|
589
589
|
Oe === "ArrowDown" && Q.value < Mt.value.length && (Q.value++, Bn(Q.value)), Oe === "ArrowUp" && Q.value > 1 && (Q.value--, Bn(Q.value)), Oe === "Enter" && Ge(Q.value);
|
|
590
590
|
}
|
|
591
|
-
function
|
|
591
|
+
function Wt() {
|
|
592
592
|
return se.options.map((Oe, tn) => typeof Oe == "object" ? Oe : { id: Oe, name: Oe });
|
|
593
593
|
}
|
|
594
594
|
function wn() {
|
|
@@ -623,7 +623,7 @@ const Rae = /* @__PURE__ */ Jr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
623
623
|
Be.value = !1;
|
|
624
624
|
return;
|
|
625
625
|
}
|
|
626
|
-
|
|
626
|
+
dt.value = "", Be.value = !0, Oj(() => {
|
|
627
627
|
Fo();
|
|
628
628
|
var Oe = document.getElementById(
|
|
629
629
|
`${se.field_name}search${$t.value}`
|
|
@@ -633,9 +633,9 @@ const Rae = /* @__PURE__ */ Jr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
633
633
|
}
|
|
634
634
|
}
|
|
635
635
|
function ao() {
|
|
636
|
-
|
|
636
|
+
dt.value = "", Ee("selected", q.value);
|
|
637
637
|
}
|
|
638
|
-
return Gx(
|
|
638
|
+
return Gx(dt, () => {
|
|
639
639
|
Mt.value.length === 0 && (q.value = []);
|
|
640
640
|
}), Gx(q, (Oe) => {
|
|
641
641
|
fe(q.value) && (Ae.value = q.value.map((tn) => tn.id), Ee("update:modelValue", Ae.value));
|
|
@@ -644,9 +644,9 @@ const Rae = /* @__PURE__ */ Jr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
644
644
|
key: 0,
|
|
645
645
|
class: an(R.field_name)
|
|
646
646
|
}, [
|
|
647
|
-
P("h3", MK,
|
|
647
|
+
P("h3", MK, mt(R.label_name), 1),
|
|
648
648
|
P("p", PK, [
|
|
649
|
-
(ve(!0), we(go, null, hr(Po.value, (Ct, qe) => (ve(), we("span", BK,
|
|
649
|
+
(ve(!0), we(go, null, hr(Po.value, (Ct, qe) => (ve(), we("span", BK, mt(Ct == null ? void 0 : Ct.name), 1))), 256))
|
|
650
650
|
]),
|
|
651
651
|
NK
|
|
652
652
|
], 2)) : ht("", !0),
|
|
@@ -669,7 +669,7 @@ const Rae = /* @__PURE__ */ Jr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
669
669
|
"gl-label-form-invalid": R.error_message !== "",
|
|
670
670
|
required: R.is_required
|
|
671
671
|
})
|
|
672
|
-
},
|
|
672
|
+
}, mt(R.label_name), 3),
|
|
673
673
|
P("div", {
|
|
674
674
|
class: "inline-flex ml-2 rounded-md shadow-sm",
|
|
675
675
|
role: "group"
|
|
@@ -695,7 +695,7 @@ const Rae = /* @__PURE__ */ Jr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
695
695
|
key: qe,
|
|
696
696
|
class: "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"
|
|
697
697
|
}, [
|
|
698
|
-
ko(
|
|
698
|
+
ko(mt(Ct == null ? void 0 : Ct.name) + " ", 1),
|
|
699
699
|
P("i", {
|
|
700
700
|
onClick: oc((Bo) => Nn(Ct), ["stop"]),
|
|
701
701
|
class: "cursor-pointer pointer-events-auto hover:text-red-600 dark:hover:text-red-400 fas fa-times"
|
|
@@ -717,7 +717,7 @@ const Rae = /* @__PURE__ */ Jr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
717
717
|
ZK,
|
|
718
718
|
Qa(P("input", {
|
|
719
719
|
type: "search",
|
|
720
|
-
"onUpdate:modelValue": tn[2] || (tn[2] = (Ct) =>
|
|
720
|
+
"onUpdate:modelValue": tn[2] || (tn[2] = (Ct) => dt.value = Ct),
|
|
721
721
|
ref: ce.value,
|
|
722
722
|
id: `${R.field_name}search${$t.value}`,
|
|
723
723
|
onKeydown: kr,
|
|
@@ -726,7 +726,7 @@ const Rae = /* @__PURE__ */ Jr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
726
726
|
class: "block w-full p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
|
|
727
727
|
placeholder: "Search ..."
|
|
728
728
|
}, null, 40, jK), [
|
|
729
|
-
[vm,
|
|
729
|
+
[vm, dt.value]
|
|
730
730
|
])
|
|
731
731
|
])
|
|
732
732
|
]),
|
|
@@ -740,7 +740,7 @@ const Rae = /* @__PURE__ */ Jr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
740
740
|
onMousedown: (Bo) => Bt(Ct),
|
|
741
741
|
key: qe,
|
|
742
742
|
id: `${qe + 1}${$t.value}`
|
|
743
|
-
},
|
|
743
|
+
}, mt(Ct.name || Ct.id || "-"), 43, qK))), 128))
|
|
744
744
|
])
|
|
745
745
|
], 4), [
|
|
746
746
|
[n5, Be.value]
|
|
@@ -918,12 +918,12 @@ const Pae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
918
918
|
}).catch((Be) => {
|
|
919
919
|
console.log(Be);
|
|
920
920
|
});
|
|
921
|
-
}), me({ focus: () => q.value.focus() }), (Be,
|
|
921
|
+
}), me({ focus: () => q.value.focus() }), (Be, dt) => (ve(), we(go, null, [
|
|
922
922
|
R.show ? (ve(), we("div", {
|
|
923
923
|
key: 0,
|
|
924
924
|
class: an(R.field_name)
|
|
925
925
|
}, [
|
|
926
|
-
P("h3", JK,
|
|
926
|
+
P("h3", JK, mt(R.label_name), 1),
|
|
927
927
|
Qa(P("input", {
|
|
928
928
|
type: "hidden",
|
|
929
929
|
"data-i18n": "true",
|
|
@@ -931,14 +931,14 @@ const Pae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
931
931
|
id: R.field_name + "_i18n",
|
|
932
932
|
ref_key: "input_translate",
|
|
933
933
|
ref: Ae,
|
|
934
|
-
"onUpdate:modelValue":
|
|
934
|
+
"onUpdate:modelValue": dt[0] || (dt[0] = ($t) => Be.inputTranslateValue = $t)
|
|
935
935
|
}, null, 8, QK), [
|
|
936
936
|
[vm, Be.inputTranslateValue]
|
|
937
937
|
]),
|
|
938
938
|
P("p", {
|
|
939
939
|
id: R.field_name,
|
|
940
940
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
941
|
-
},
|
|
941
|
+
}, mt(Be.model_value), 9, eY),
|
|
942
942
|
tY
|
|
943
943
|
], 2)) : ht("", !0),
|
|
944
944
|
R.show ? ht("", !0) : (ve(), we("div", {
|
|
@@ -952,7 +952,7 @@ const Pae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
952
952
|
required: R.is_required
|
|
953
953
|
}),
|
|
954
954
|
for: R.field_name
|
|
955
|
-
},
|
|
955
|
+
}, mt(R.label_name), 11, nY),
|
|
956
956
|
oY,
|
|
957
957
|
P("input", {
|
|
958
958
|
class: "mb-4",
|
|
@@ -973,15 +973,15 @@ const Pae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
973
973
|
" gl-textarea-form-invalid form-input-translation mt-4 ": R.error_message !== ""
|
|
974
974
|
}),
|
|
975
975
|
type: R.type,
|
|
976
|
-
onInput:
|
|
977
|
-
onKeydown:
|
|
976
|
+
onInput: dt[1] || (dt[1] = ($t) => Be.$emit("update:modelValue", $t.target.value)),
|
|
977
|
+
onKeydown: dt[2] || (dt[2] = ($t) => Be.$emit("keydown", $t)),
|
|
978
978
|
ref_key: "input",
|
|
979
979
|
ref: q,
|
|
980
980
|
rows: "4"
|
|
981
981
|
}, `
|
|
982
982
|
`, 42, rY),
|
|
983
|
-
P("span", aY,
|
|
984
|
-
P("small", lY,
|
|
983
|
+
P("span", aY, mt(R.error_message), 1),
|
|
984
|
+
P("small", lY, mt(R.description), 1)
|
|
985
985
|
], 2))
|
|
986
986
|
], 64));
|
|
987
987
|
}
|
|
@@ -1062,12 +1062,12 @@ const Pae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1062
1062
|
}).catch((Be) => {
|
|
1063
1063
|
console.log(Be);
|
|
1064
1064
|
});
|
|
1065
|
-
}), me({ focus: () => q.value.focus() }), (Be,
|
|
1065
|
+
}), me({ focus: () => q.value.focus() }), (Be, dt) => (ve(), we(go, null, [
|
|
1066
1066
|
R.show ? (ve(), we("div", {
|
|
1067
1067
|
key: 0,
|
|
1068
1068
|
class: an(R.field_name)
|
|
1069
1069
|
}, [
|
|
1070
|
-
P("h3", cY,
|
|
1070
|
+
P("h3", cY, mt(R.label_name), 1),
|
|
1071
1071
|
Qa(P("input", {
|
|
1072
1072
|
type: "hidden",
|
|
1073
1073
|
"data-i18n": "true",
|
|
@@ -1075,14 +1075,14 @@ const Pae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1075
1075
|
id: R.field_name + "_i18n",
|
|
1076
1076
|
ref_key: "input_translate",
|
|
1077
1077
|
ref: Ae,
|
|
1078
|
-
"onUpdate:modelValue":
|
|
1078
|
+
"onUpdate:modelValue": dt[0] || (dt[0] = ($t) => Be.inputTranslateValue = $t)
|
|
1079
1079
|
}, null, 8, iY), [
|
|
1080
1080
|
[vm, Be.inputTranslateValue]
|
|
1081
1081
|
]),
|
|
1082
1082
|
P("p", {
|
|
1083
1083
|
id: R.field_name,
|
|
1084
1084
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
1085
|
-
},
|
|
1085
|
+
}, mt(R.model_value), 9, uY),
|
|
1086
1086
|
dY
|
|
1087
1087
|
], 2)) : ht("", !0),
|
|
1088
1088
|
R.show ? ht("", !0) : (ve(), we("div", {
|
|
@@ -1096,7 +1096,7 @@ const Pae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1096
1096
|
required: R.is_required
|
|
1097
1097
|
}),
|
|
1098
1098
|
for: R.field_name
|
|
1099
|
-
},
|
|
1099
|
+
}, mt(R.label_name), 11, mY),
|
|
1100
1100
|
fY,
|
|
1101
1101
|
P("input", {
|
|
1102
1102
|
class: "mb-4",
|
|
@@ -1116,15 +1116,15 @@ const Pae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1116
1116
|
" gl-textarea-form-invalid form-input-translation mt-4 ": R.error_message !== ""
|
|
1117
1117
|
}]),
|
|
1118
1118
|
type: R.type,
|
|
1119
|
-
onInput:
|
|
1120
|
-
onKeydown:
|
|
1119
|
+
onInput: dt[1] || (dt[1] = ($t) => Be.$emit("update:modelValue", $t.target.value)),
|
|
1120
|
+
onKeydown: dt[2] || (dt[2] = ($t) => Be.$emit("keydown", $t)),
|
|
1121
1121
|
ref_key: "input",
|
|
1122
1122
|
ref: q,
|
|
1123
1123
|
rows: "4"
|
|
1124
1124
|
}, `
|
|
1125
1125
|
`, 42, hY),
|
|
1126
|
-
P("span", pY,
|
|
1127
|
-
P("small", bY,
|
|
1126
|
+
P("span", pY, mt(R.error_message), 1),
|
|
1127
|
+
P("small", bY, mt(R.description), 1)
|
|
1128
1128
|
], 2))
|
|
1129
1129
|
], 64));
|
|
1130
1130
|
}
|
|
@@ -1193,26 +1193,26 @@ const Pae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1193
1193
|
}).catch((Be) => {
|
|
1194
1194
|
console.log(Be);
|
|
1195
1195
|
});
|
|
1196
|
-
}), me({ focus: () => q.value.focus() }), (Be,
|
|
1196
|
+
}), me({ focus: () => q.value.focus() }), (Be, dt) => (ve(), we(go, null, [
|
|
1197
1197
|
R.show ? (ve(), we("div", {
|
|
1198
1198
|
key: 0,
|
|
1199
1199
|
class: an(R.field_name)
|
|
1200
1200
|
}, [
|
|
1201
|
-
P("h3", vY,
|
|
1201
|
+
P("h3", vY, mt(R.label_name), 1),
|
|
1202
1202
|
Qa(P("input", {
|
|
1203
1203
|
type: "hidden",
|
|
1204
1204
|
"data-i18n": "true",
|
|
1205
1205
|
name: R.field_name + "_i18n",
|
|
1206
1206
|
id: R.field_name + "_i18n",
|
|
1207
1207
|
ref: "input_translate_s",
|
|
1208
|
-
"onUpdate:modelValue":
|
|
1208
|
+
"onUpdate:modelValue": dt[0] || (dt[0] = ($t) => Be.inputTranslateValue = $t)
|
|
1209
1209
|
}, null, 8, yY), [
|
|
1210
1210
|
[vm, Be.inputTranslateValue]
|
|
1211
1211
|
]),
|
|
1212
1212
|
P("p", {
|
|
1213
1213
|
id: R.field_name,
|
|
1214
1214
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
1215
|
-
},
|
|
1215
|
+
}, mt(Be.model_value), 9, wY),
|
|
1216
1216
|
xY
|
|
1217
1217
|
], 2)) : ht("", !0),
|
|
1218
1218
|
R.show ? ht("", !0) : (ve(), we("div", {
|
|
@@ -1226,7 +1226,7 @@ const Pae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1226
1226
|
required: R.is_required
|
|
1227
1227
|
}),
|
|
1228
1228
|
for: R.field_name
|
|
1229
|
-
},
|
|
1229
|
+
}, mt(R.label_name), 11, CY),
|
|
1230
1230
|
SY,
|
|
1231
1231
|
P("input", {
|
|
1232
1232
|
class: "mb-4",
|
|
@@ -1247,13 +1247,13 @@ const Pae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1247
1247
|
" gl-input-form-invalid form-input-translation mt-2 ": R.error_message !== ""
|
|
1248
1248
|
}),
|
|
1249
1249
|
type: R.type,
|
|
1250
|
-
onInput:
|
|
1251
|
-
onKeydown:
|
|
1250
|
+
onInput: dt[1] || (dt[1] = ($t) => Be.$emit("update:modelValue", $t.target.value)),
|
|
1251
|
+
onKeydown: dt[2] || (dt[2] = ($t) => Be.$emit("keydown", $t)),
|
|
1252
1252
|
ref_key: "input",
|
|
1253
1253
|
ref: q
|
|
1254
1254
|
}, null, 42, kY),
|
|
1255
|
-
P("span", TY,
|
|
1256
|
-
P("small", EY,
|
|
1255
|
+
P("span", TY, mt(R.error_message), 1),
|
|
1256
|
+
P("small", EY, mt(R.description), 1)
|
|
1257
1257
|
], 2))
|
|
1258
1258
|
], 64));
|
|
1259
1259
|
}
|
|
@@ -1320,8 +1320,8 @@ const Pae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1320
1320
|
key: 0,
|
|
1321
1321
|
class: an(R.field_name)
|
|
1322
1322
|
}, [
|
|
1323
|
-
P("h3", AY,
|
|
1324
|
-
P("p", DY,
|
|
1323
|
+
P("h3", AY, mt(R.label_name), 1),
|
|
1324
|
+
P("p", DY, mt(R.type == "password" ? R.modelValue.replace(/./g, "*") : R.modelValue), 1),
|
|
1325
1325
|
OY
|
|
1326
1326
|
], 2)) : ht("", !0),
|
|
1327
1327
|
R.show ? ht("", !0) : (ve(), we("div", {
|
|
@@ -1336,7 +1336,7 @@ const Pae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1336
1336
|
required: R.is_required
|
|
1337
1337
|
}),
|
|
1338
1338
|
for: R.field_name
|
|
1339
|
-
},
|
|
1339
|
+
}, mt(R.label_name), 11, RY)) : ht("", !0),
|
|
1340
1340
|
Qa(P("input", {
|
|
1341
1341
|
required: R.is_required,
|
|
1342
1342
|
name: R.field_name,
|
|
@@ -1346,16 +1346,16 @@ const Pae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1346
1346
|
"gl-input-form-invalid": R.error_message !== ""
|
|
1347
1347
|
}),
|
|
1348
1348
|
type: R.type,
|
|
1349
|
-
"onUpdate:modelValue": Be[0] || (Be[0] = (
|
|
1350
|
-
onKeydown: Be[1] || (Be[1] = (
|
|
1349
|
+
"onUpdate:modelValue": Be[0] || (Be[0] = (dt) => Ae.value = dt),
|
|
1350
|
+
onKeydown: Be[1] || (Be[1] = (dt) => Q.$emit("keydown", dt)),
|
|
1351
1351
|
ref_key: "input",
|
|
1352
1352
|
ref: q,
|
|
1353
1353
|
placeholder: R.placeholder
|
|
1354
1354
|
}, null, 42, $Y), [
|
|
1355
1355
|
[XG, Ae.value]
|
|
1356
1356
|
]),
|
|
1357
|
-
P("span", MY,
|
|
1358
|
-
P("small", PY,
|
|
1357
|
+
P("span", MY, mt(R.error_message), 1),
|
|
1358
|
+
P("small", PY, mt(R.description), 1)
|
|
1359
1359
|
], 2))
|
|
1360
1360
|
], 64));
|
|
1361
1361
|
}
|
|
@@ -1426,8 +1426,8 @@ const Pae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1426
1426
|
key: 0,
|
|
1427
1427
|
class: an(R.field_name)
|
|
1428
1428
|
}, [
|
|
1429
|
-
P("h3", BY,
|
|
1430
|
-
P("p", NY,
|
|
1429
|
+
P("h3", BY, mt(R.label_name), 1),
|
|
1430
|
+
P("p", NY, mt(R.type == "password" ? R.modelValue.replace(/./g, "*") : R.modelValue), 1),
|
|
1431
1431
|
IY
|
|
1432
1432
|
], 2)) : ht("", !0),
|
|
1433
1433
|
R.show ? ht("", !0) : (ve(), we("div", {
|
|
@@ -1442,7 +1442,7 @@ const Pae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1442
1442
|
required: R.is_required
|
|
1443
1443
|
}),
|
|
1444
1444
|
for: R.field_name
|
|
1445
|
-
},
|
|
1445
|
+
}, mt(R.label_name), 11, LY)) : ht("", !0),
|
|
1446
1446
|
P("div", FY, [
|
|
1447
1447
|
P("div", HY, [
|
|
1448
1448
|
Qa(P("input", {
|
|
@@ -1454,8 +1454,8 @@ const Pae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1454
1454
|
"gl-input-form-invalid-text": R.error_message !== ""
|
|
1455
1455
|
}, "!border-e-0 !rounded-s-lg"]),
|
|
1456
1456
|
type: R.type,
|
|
1457
|
-
"onUpdate:modelValue": Be[0] || (Be[0] = (
|
|
1458
|
-
onKeydown: Be[1] || (Be[1] = (
|
|
1457
|
+
"onUpdate:modelValue": Be[0] || (Be[0] = (dt) => Ae.value = dt),
|
|
1458
|
+
onKeydown: Be[1] || (Be[1] = (dt) => Q.$emit("keydown", dt)),
|
|
1459
1459
|
ref_key: "input",
|
|
1460
1460
|
ref: q,
|
|
1461
1461
|
placeholder: R.placeholder
|
|
@@ -1463,10 +1463,10 @@ const Pae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1463
1463
|
[XG, Ae.value]
|
|
1464
1464
|
])
|
|
1465
1465
|
]),
|
|
1466
|
-
P("label", zY,
|
|
1466
|
+
P("label", zY, mt(R.input_text), 1)
|
|
1467
1467
|
]),
|
|
1468
|
-
P("span", UY,
|
|
1469
|
-
P("small", WY,
|
|
1468
|
+
P("span", UY, mt(R.error_message), 1),
|
|
1469
|
+
P("small", WY, mt(R.description), 1)
|
|
1470
1470
|
], 2))
|
|
1471
1471
|
], 64));
|
|
1472
1472
|
}
|
|
@@ -1517,26 +1517,26 @@ const Pae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1517
1517
|
get() {
|
|
1518
1518
|
return se.modelValue.start;
|
|
1519
1519
|
},
|
|
1520
|
-
set(
|
|
1521
|
-
q.value.start =
|
|
1520
|
+
set(dt) {
|
|
1521
|
+
q.value.start = dt, Be(q.value.start, q.value.end), Ee("update:modelValue", { start: q.value.start, end: q.value.end }), Ee("keydown", { start: q.value.start, end: q.value.end });
|
|
1522
1522
|
}
|
|
1523
1523
|
}), Q = vc({
|
|
1524
1524
|
get() {
|
|
1525
1525
|
return se.modelValue.end;
|
|
1526
1526
|
},
|
|
1527
|
-
set(
|
|
1528
|
-
q.value.end =
|
|
1527
|
+
set(dt) {
|
|
1528
|
+
q.value.end = dt, Be(q.value.start, q.value.end), Ee("update:modelValue", { start: q.value.start, end: q.value.end }), Ee("keydown", { start: q.value.start, end: q.value.end });
|
|
1529
1529
|
}
|
|
1530
|
-
}), Be = (
|
|
1531
|
-
|
|
1530
|
+
}), Be = (dt, $t) => {
|
|
1531
|
+
dt && $t && new Date(dt) > new Date($t) ? (ce.value = "Start date cannot be after end date.", q.value.start = "", q.value.end = "", Ee("update:modelValue", { start: q.value.start, end: q.value.end }), Ee("keydown", { start: q.value.start, end: q.value.end })) : dt && $t && new Date($t) < new Date(dt) ? (ce.value = "End date cannot be before start date.", q.value.start = "", q.value.end = "", Ee("update:modelValue", { start: q.value.start, end: q.value.end }), Ee("keydown", { start: q.value.start, end: q.value.end })) : ce.value = "";
|
|
1532
1532
|
};
|
|
1533
|
-
return (
|
|
1533
|
+
return (dt, $t) => (ve(), we(go, null, [
|
|
1534
1534
|
R.show ? (ve(), we("div", {
|
|
1535
1535
|
key: 0,
|
|
1536
1536
|
class: an(R.field_name)
|
|
1537
1537
|
}, [
|
|
1538
|
-
P("h3", ZY,
|
|
1539
|
-
P("p", jY,
|
|
1538
|
+
P("h3", ZY, mt(R.label_name), 1),
|
|
1539
|
+
P("p", jY, mt(R.modelValue.start) + " to " + mt(R.modelValue.end), 1),
|
|
1540
1540
|
GY
|
|
1541
1541
|
], 2)) : ht("", !0),
|
|
1542
1542
|
R.show ? ht("", !0) : (ve(), we("div", {
|
|
@@ -1550,7 +1550,7 @@ const Pae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1550
1550
|
required: R.is_required
|
|
1551
1551
|
}),
|
|
1552
1552
|
for: R.field_name
|
|
1553
|
-
},
|
|
1553
|
+
}, mt(R.label_name), 11, qY),
|
|
1554
1554
|
P("div", KY, [
|
|
1555
1555
|
Qa(P("input", {
|
|
1556
1556
|
required: R.is_required,
|
|
@@ -1583,9 +1583,9 @@ const Pae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1583
1583
|
])
|
|
1584
1584
|
]),
|
|
1585
1585
|
P("div", QY, [
|
|
1586
|
-
P("span", eX,
|
|
1586
|
+
P("span", eX, mt(R.error_message || ce.value), 1)
|
|
1587
1587
|
]),
|
|
1588
|
-
P("small", tX,
|
|
1588
|
+
P("small", tX, mt(R.description), 1)
|
|
1589
1589
|
], 2))
|
|
1590
1590
|
], 64));
|
|
1591
1591
|
}
|
|
@@ -1644,8 +1644,8 @@ const Pae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1644
1644
|
key: 0,
|
|
1645
1645
|
class: an(R.field_name)
|
|
1646
1646
|
}, [
|
|
1647
|
-
P("h3", nX,
|
|
1648
|
-
P("p", oX,
|
|
1647
|
+
P("h3", nX, mt(R.label_name), 1),
|
|
1648
|
+
P("p", oX, mt(R.type == "password" ? R.modelValue.replace(/./g, "*") : R.modelValue), 1),
|
|
1649
1649
|
sX
|
|
1650
1650
|
], 2)) : ht("", !0),
|
|
1651
1651
|
R.show ? ht("", !0) : (ve(), we("div", {
|
|
@@ -1659,7 +1659,7 @@ const Pae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1659
1659
|
required: R.is_required
|
|
1660
1660
|
}),
|
|
1661
1661
|
for: R.field_name
|
|
1662
|
-
},
|
|
1662
|
+
}, mt(R.label_name), 11, rX),
|
|
1663
1663
|
P("input", {
|
|
1664
1664
|
required: R.is_required,
|
|
1665
1665
|
name: R.field_name,
|
|
@@ -1674,8 +1674,8 @@ const Pae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1674
1674
|
ref: Ee,
|
|
1675
1675
|
placeholder: R.placeholder
|
|
1676
1676
|
}, null, 42, aX),
|
|
1677
|
-
P("span", lX,
|
|
1678
|
-
P("small", cX,
|
|
1677
|
+
P("span", lX, mt(R.error_message), 1),
|
|
1678
|
+
P("small", cX, mt(R.description), 1)
|
|
1679
1679
|
], 2))
|
|
1680
1680
|
], 64));
|
|
1681
1681
|
}
|
|
@@ -1695,18 +1695,18 @@ const Pae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1695
1695
|
P("div", iX, [
|
|
1696
1696
|
P("div", uX, [
|
|
1697
1697
|
P("ul", dX, [
|
|
1698
|
-
(ve(!0), we(go, null, hr(ce.value, (
|
|
1699
|
-
key:
|
|
1700
|
-
onClick: ($t) => q.value =
|
|
1698
|
+
(ve(!0), we(go, null, hr(ce.value, (dt) => (ve(), we("li", {
|
|
1699
|
+
key: dt.title,
|
|
1700
|
+
onClick: ($t) => q.value = dt.title,
|
|
1701
1701
|
class: "flex-auto -mb-px text-center"
|
|
1702
1702
|
}, [
|
|
1703
1703
|
P("a", {
|
|
1704
|
-
class: an([{ "text-slate-600 bg-white dark:bg-meta-4": q.value !=
|
|
1704
|
+
class: an([{ "text-slate-600 bg-white dark:bg-meta-4": q.value != dt.title, "text-white bg-slate-600 dark:bg-primary": q.value === dt.title }, "block px-5 py-3 text-xs font-bold leading-normal rounded shadow-lg hover:text-white tex hover:bg-slate-600 dark:hover:bg-primary dark:text-white tabs_buttons"])
|
|
1705
1705
|
}, [
|
|
1706
1706
|
P("i", {
|
|
1707
|
-
class: an([
|
|
1707
|
+
class: an([dt.icon, "mr-1 text-base"])
|
|
1708
1708
|
}, null, 2),
|
|
1709
|
-
ko(" " + dt
|
|
1709
|
+
ko(" " + mt(dt.title), 1)
|
|
1710
1710
|
], 2)
|
|
1711
1711
|
], 8, mX))), 128))
|
|
1712
1712
|
])
|
|
@@ -1799,7 +1799,7 @@ const Uae = /* @__PURE__ */ Jr(pX, [["render", vX]]), yX = {
|
|
|
1799
1799
|
const se = (ce) => {
|
|
1800
1800
|
me.style.cursor = "grabbing";
|
|
1801
1801
|
const q = (Q) => {
|
|
1802
|
-
const Be = Q.clientX || Q.touches && Q.touches[0] && Q.touches[0].clientX,
|
|
1802
|
+
const Be = Q.clientX || Q.touches && Q.touches[0] && Q.touches[0].clientX, dt = Q.clientY || Q.touches && Q.touches[0] && Q.touches[0].clientY, $t = Be - R.initialX, Pn = dt - R.initialY;
|
|
1803
1803
|
Math.abs($t) > Math.abs(Pn) ? (Q.preventDefault(), Math.abs($t) >= 70 && ($t < 0 ? R.next() : R.prev(), R.initialX = Be)) : me.style.cursor = "grab", Math.abs(Pn) > Math.abs($t) && (me.style.cursor = "grab");
|
|
1804
1804
|
}, Ae = () => {
|
|
1805
1805
|
document.removeEventListener("mousemove", q), document.removeEventListener("touchmove", q), document.removeEventListener("mouseup", Ae), document.removeEventListener("touchend", Ae), me.style.cursor = "grab";
|
|
@@ -2204,7 +2204,7 @@ const Wae = /* @__PURE__ */ Jr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2204
2204
|
}, [
|
|
2205
2205
|
P("div", _J, [
|
|
2206
2206
|
P("div", kJ, [
|
|
2207
|
-
P("h5", TJ,
|
|
2207
|
+
P("h5", TJ, mt(R.title), 1),
|
|
2208
2208
|
P("button", {
|
|
2209
2209
|
type: "button",
|
|
2210
2210
|
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",
|
|
@@ -2293,7 +2293,7 @@ const Wae = /* @__PURE__ */ Jr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2293
2293
|
}, [
|
|
2294
2294
|
P("div", null, [
|
|
2295
2295
|
P("li", OJ, [
|
|
2296
|
-
ko(
|
|
2296
|
+
ko(mt(R.label_name) + " ", 1),
|
|
2297
2297
|
P("label", RJ, [
|
|
2298
2298
|
P("input", {
|
|
2299
2299
|
type: "checkbox",
|
|
@@ -2318,10 +2318,10 @@ const Wae = /* @__PURE__ */ Jr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2318
2318
|
class: an(R.field_name)
|
|
2319
2319
|
}, [
|
|
2320
2320
|
R.has_label_up ? (ve(), we("div", BJ, [
|
|
2321
|
-
P("label", NJ,
|
|
2321
|
+
P("label", NJ, mt(R.label_name), 1)
|
|
2322
2322
|
])) : ht("", !0),
|
|
2323
2323
|
P("li", IJ, [
|
|
2324
|
-
ko(
|
|
2324
|
+
ko(mt(R.label_name) + " ", 1),
|
|
2325
2325
|
P("label", LJ, [
|
|
2326
2326
|
Qa(P("input", {
|
|
2327
2327
|
type: "checkbox",
|
|
@@ -2339,8 +2339,8 @@ const Wae = /* @__PURE__ */ Jr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2339
2339
|
HJ
|
|
2340
2340
|
])
|
|
2341
2341
|
]),
|
|
2342
|
-
P("span", VJ,
|
|
2343
|
-
P("small", zJ,
|
|
2342
|
+
P("span", VJ, mt(R.error_message), 1),
|
|
2343
|
+
P("small", zJ, mt(R.description), 1)
|
|
2344
2344
|
], 2))
|
|
2345
2345
|
], 64));
|
|
2346
2346
|
}
|
|
@@ -2404,7 +2404,7 @@ const Wae = /* @__PURE__ */ Jr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2404
2404
|
}, [
|
|
2405
2405
|
P("div", null, [
|
|
2406
2406
|
P("li", UJ, [
|
|
2407
|
-
ko(
|
|
2407
|
+
ko(mt(R.label_name) + " ", 1),
|
|
2408
2408
|
P("label", WJ, [
|
|
2409
2409
|
P("input", {
|
|
2410
2410
|
type: "checkbox",
|
|
@@ -2427,10 +2427,10 @@ const Wae = /* @__PURE__ */ Jr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2427
2427
|
class: an(R.field_name)
|
|
2428
2428
|
}, [
|
|
2429
2429
|
R.has_label_up ? (ve(), we("div", qJ, [
|
|
2430
|
-
P("label", KJ,
|
|
2430
|
+
P("label", KJ, mt(R.label_name), 1)
|
|
2431
2431
|
])) : ht("", !0),
|
|
2432
2432
|
P("li", YJ, [
|
|
2433
|
-
ko(
|
|
2433
|
+
ko(mt(R.label_name) + " ", 1),
|
|
2434
2434
|
P("label", XJ, [
|
|
2435
2435
|
Qa(P("input", {
|
|
2436
2436
|
type: "checkbox",
|
|
@@ -2446,8 +2446,8 @@ const Wae = /* @__PURE__ */ Jr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2446
2446
|
QJ
|
|
2447
2447
|
])
|
|
2448
2448
|
]),
|
|
2449
|
-
P("span", eQ,
|
|
2450
|
-
P("small", tQ,
|
|
2449
|
+
P("span", eQ, mt(R.error_message), 1),
|
|
2450
|
+
P("small", tQ, mt(R.description), 1)
|
|
2451
2451
|
], 2))
|
|
2452
2452
|
], 64));
|
|
2453
2453
|
}
|
|
@@ -2550,87 +2550,87 @@ const Wae = /* @__PURE__ */ Jr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2550
2550
|
setup(R, { emit: me }) {
|
|
2551
2551
|
const se = R, Ee = me;
|
|
2552
2552
|
Do(null);
|
|
2553
|
-
const ce = Do({}), q = Do(0), Ae = Do(!1), Q = Do(""), Be = Do(""),
|
|
2554
|
-
if (
|
|
2555
|
-
$t.value =
|
|
2556
|
-
var
|
|
2557
|
-
Pn.value =
|
|
2553
|
+
const ce = Do({}), q = Do(0), Ae = Do(!1), Q = Do(""), Be = Do(""), dt = Do(null), $t = Do(0), Pn = Do(0), Yn = () => {
|
|
2554
|
+
if (dt.value) {
|
|
2555
|
+
$t.value = dt.value.offsetWidth;
|
|
2556
|
+
var Wt = dt.value.getBoundingClientRect();
|
|
2557
|
+
Pn.value = Wt.top + 66;
|
|
2558
2558
|
}
|
|
2559
2559
|
};
|
|
2560
2560
|
Oh(() => {
|
|
2561
|
-
Be.value = kr(), se.show || (document.body.addEventListener("click", (
|
|
2562
|
-
fe(
|
|
2563
|
-
}), document.addEventListener("keypress", (
|
|
2564
|
-
|
|
2561
|
+
Be.value = kr(), se.show || (document.body.addEventListener("click", (Wt) => {
|
|
2562
|
+
fe(Wt);
|
|
2563
|
+
}), document.addEventListener("keypress", (Wt) => {
|
|
2564
|
+
Wt.key === "Enter" && Wt.target.form && Wt.preventDefault();
|
|
2565
2565
|
}));
|
|
2566
2566
|
});
|
|
2567
2567
|
const Fo = vc(() => oe()), hs = vc(() => Nn()), Po = vc(() => {
|
|
2568
|
-
const
|
|
2568
|
+
const Wt = [], wn = new RegExp(Q.value, "ig");
|
|
2569
2569
|
for (const Bt of Fo.value) {
|
|
2570
2570
|
const A = String(Bt.name);
|
|
2571
|
-
(Q.value.length < 1 || A.match(wn)) &&
|
|
2571
|
+
(Q.value.length < 1 || A.match(wn)) && Wt.length < se.maxItem && Wt.push(Bt);
|
|
2572
2572
|
}
|
|
2573
|
-
return
|
|
2573
|
+
return Wt;
|
|
2574
2574
|
});
|
|
2575
|
-
function Mt(
|
|
2575
|
+
function Mt(Wt) {
|
|
2576
2576
|
if ([
|
|
2577
2577
|
"ArrowLeft",
|
|
2578
2578
|
"ArrowUp",
|
|
2579
2579
|
"ArrowRight",
|
|
2580
2580
|
"ArrowDown",
|
|
2581
2581
|
"Enter"
|
|
2582
|
-
].includes(
|
|
2583
|
-
if (["ArrowUp", "ArrowDown"].includes(
|
|
2582
|
+
].includes(Wt.key)) {
|
|
2583
|
+
if (["ArrowUp", "ArrowDown"].includes(Wt.key) && Wt.preventDefault(), Wt.key === "ArrowDown" && se.posts === "")
|
|
2584
2584
|
return;
|
|
2585
|
-
Qn(
|
|
2585
|
+
Qn(Wt.key);
|
|
2586
2586
|
}
|
|
2587
2587
|
}
|
|
2588
2588
|
function kr() {
|
|
2589
|
-
let
|
|
2589
|
+
let Wt = (/* @__PURE__ */ new Date()).getTime();
|
|
2590
2590
|
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(
|
|
2591
2591
|
/[xy]/g,
|
|
2592
2592
|
function(Bt) {
|
|
2593
|
-
const A = (
|
|
2594
|
-
return
|
|
2593
|
+
const A = (Wt + Math.random() * 16) % 16 | 0;
|
|
2594
|
+
return Wt = Math.floor(Wt / 16), (Bt === "x" ? A : A & 3 | 8).toString(16);
|
|
2595
2595
|
}
|
|
2596
2596
|
);
|
|
2597
2597
|
}
|
|
2598
|
-
function dn(
|
|
2599
|
-
return
|
|
2598
|
+
function dn(Wt) {
|
|
2599
|
+
return Wt !== null && typeof Wt == "object" && Object.keys(Wt).length > 0;
|
|
2600
2600
|
}
|
|
2601
|
-
function fe(
|
|
2602
|
-
|
|
2601
|
+
function fe(Wt) {
|
|
2602
|
+
Wt.target.id != se.field_name + "search" + Be.value && Wt.target.id != se.field_name && !Wt.target.classList.contains("showOptions") && (ge(), q.value = 0, Ae.value = !1);
|
|
2603
2603
|
}
|
|
2604
|
-
function _t(
|
|
2605
|
-
const wn = `${
|
|
2604
|
+
function _t(Wt) {
|
|
2605
|
+
const wn = `${Wt}${Be.value}`, Bt = document.getElementById(wn);
|
|
2606
2606
|
Bt && Bt.scrollIntoView();
|
|
2607
2607
|
}
|
|
2608
|
-
function Ea(
|
|
2609
|
-
const wn = `${
|
|
2608
|
+
function Ea(Wt) {
|
|
2609
|
+
const wn = `${Wt}${Be.value}`, Bt = document.getElementById(wn);
|
|
2610
2610
|
Bt && Bt.click();
|
|
2611
2611
|
}
|
|
2612
|
-
function Qn(
|
|
2613
|
-
|
|
2612
|
+
function Qn(Wt) {
|
|
2613
|
+
Wt === "ArrowDown" && q.value < Po.value.length && (q.value++, _t(q.value)), Wt === "ArrowUp" && q.value > 1 && (q.value--, _t(q.value)), Wt === "Enter" && Ea(q.value);
|
|
2614
2614
|
}
|
|
2615
2615
|
function oe() {
|
|
2616
|
-
return se.options.map((
|
|
2616
|
+
return se.options.map((Wt, wn) => typeof Wt == "object" ? Wt : { id: Wt, name: Wt });
|
|
2617
2617
|
}
|
|
2618
2618
|
function Nn() {
|
|
2619
2619
|
if (dn(ce.value))
|
|
2620
2620
|
return typeof ce.value == "object" ? Fo.value.find(
|
|
2621
|
-
(
|
|
2621
|
+
(Wt) => String(Wt.id) === String(ce.value.id)
|
|
2622
2622
|
) || {} : Fo.value.find(
|
|
2623
|
-
(
|
|
2623
|
+
(Wt) => String(Wt.id) === String(ce.value)
|
|
2624
2624
|
) || {};
|
|
2625
2625
|
if (se.modelValue)
|
|
2626
2626
|
return typeof se.modelValue == "object" ? Fo.value.find(
|
|
2627
|
-
(
|
|
2627
|
+
(Wt) => String(Wt.id) === String(se.modelValue.id)
|
|
2628
2628
|
) || {} : Fo.value.find(
|
|
2629
|
-
(
|
|
2629
|
+
(Wt) => String(Wt.id) === String(se.modelValue)
|
|
2630
2630
|
) || {};
|
|
2631
2631
|
}
|
|
2632
|
-
function os(
|
|
2633
|
-
ce.value =
|
|
2632
|
+
function os(Wt) {
|
|
2633
|
+
ce.value = Wt, Ae.value = !1, Ee("update:modelValue", ce.value.id), Ee("selected", ce.value), Ee("selectionChanged", ce.value);
|
|
2634
2634
|
}
|
|
2635
2635
|
function Bn() {
|
|
2636
2636
|
if (!se.show) {
|
|
@@ -2640,10 +2640,10 @@ const Wae = /* @__PURE__ */ Jr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2640
2640
|
}
|
|
2641
2641
|
Q.value = "", Ae.value = !0, Oj(() => {
|
|
2642
2642
|
Yn();
|
|
2643
|
-
var
|
|
2643
|
+
var Wt = document.getElementById(
|
|
2644
2644
|
`${se.field_name}search${Be.value}`
|
|
2645
2645
|
);
|
|
2646
|
-
|
|
2646
|
+
Wt && Wt.focus();
|
|
2647
2647
|
});
|
|
2648
2648
|
}
|
|
2649
2649
|
}
|
|
@@ -2655,18 +2655,18 @@ const Wae = /* @__PURE__ */ Jr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2655
2655
|
}
|
|
2656
2656
|
return Gx(Q, () => {
|
|
2657
2657
|
Po.value.length === 0 && (ce.value = {});
|
|
2658
|
-
}), Gx(ce, (
|
|
2659
|
-
dn(
|
|
2660
|
-
}), (
|
|
2658
|
+
}), Gx(ce, (Wt) => {
|
|
2659
|
+
dn(Wt) && Ee("update:modelValue", Wt.id);
|
|
2660
|
+
}), (Wt, wn) => {
|
|
2661
2661
|
var Bt, A, ao;
|
|
2662
2662
|
return ve(), we(go, null, [
|
|
2663
2663
|
R.show ? (ve(), we("div", {
|
|
2664
2664
|
key: 0,
|
|
2665
2665
|
class: an(R.field_name)
|
|
2666
2666
|
}, [
|
|
2667
|
-
P("h3", nQ,
|
|
2667
|
+
P("h3", nQ, mt(R.label_name), 1),
|
|
2668
2668
|
P("p", oQ, [
|
|
2669
|
-
P("span", sQ,
|
|
2669
|
+
P("span", sQ, mt((Bt = hs.value) == null ? void 0 : Bt.name), 1)
|
|
2670
2670
|
]),
|
|
2671
2671
|
rQ
|
|
2672
2672
|
], 2)) : ht("", !0),
|
|
@@ -2674,7 +2674,7 @@ const Wae = /* @__PURE__ */ Jr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2674
2674
|
key: 1,
|
|
2675
2675
|
class: an(R.field_name),
|
|
2676
2676
|
ref_key: "myDivDropDown",
|
|
2677
|
-
ref:
|
|
2677
|
+
ref: dt
|
|
2678
2678
|
}, [
|
|
2679
2679
|
P("input", {
|
|
2680
2680
|
type: "hidden",
|
|
@@ -2690,7 +2690,7 @@ const Wae = /* @__PURE__ */ Jr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2690
2690
|
"gl-label-form-invalid": R.error_message !== "",
|
|
2691
2691
|
required: R.is_required
|
|
2692
2692
|
})
|
|
2693
|
-
},
|
|
2693
|
+
}, mt(R.label_name), 3)) : ht("", !0),
|
|
2694
2694
|
P("div", cQ, [
|
|
2695
2695
|
P("div", iQ, [
|
|
2696
2696
|
P("input", {
|
|
@@ -2763,8 +2763,8 @@ const Wae = /* @__PURE__ */ Jr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2763
2763
|
])
|
|
2764
2764
|
])
|
|
2765
2765
|
])) : ht("", !0),
|
|
2766
|
-
P("span", SQ,
|
|
2767
|
-
P("small", _Q,
|
|
2766
|
+
P("span", SQ, mt(R.error_message), 1),
|
|
2767
|
+
P("small", _Q, mt(R.description), 1)
|
|
2768
2768
|
], 2))
|
|
2769
2769
|
], 64);
|
|
2770
2770
|
};
|
|
@@ -2832,11 +2832,11 @@ const Wae = /* @__PURE__ */ Jr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2832
2832
|
key: 0,
|
|
2833
2833
|
class: an(R.field_name)
|
|
2834
2834
|
}, [
|
|
2835
|
-
P("h3", kQ,
|
|
2835
|
+
P("h3", kQ, mt(R.label_name), 1),
|
|
2836
2836
|
P("p", {
|
|
2837
2837
|
id: R.field_name,
|
|
2838
2838
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
2839
|
-
},
|
|
2839
|
+
}, mt(R.model_value), 9, TQ),
|
|
2840
2840
|
EQ
|
|
2841
2841
|
], 2)) : ht("", !0),
|
|
2842
2842
|
R.show ? ht("", !0) : (ve(), we("div", {
|
|
@@ -2850,7 +2850,7 @@ const Wae = /* @__PURE__ */ Jr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2850
2850
|
required: R.is_required
|
|
2851
2851
|
}),
|
|
2852
2852
|
for: R.field_name
|
|
2853
|
-
},
|
|
2853
|
+
}, mt(R.label_name), 11, AQ),
|
|
2854
2854
|
Qa(P("textarea", {
|
|
2855
2855
|
required: R.is_required,
|
|
2856
2856
|
name: R.field_name,
|
|
@@ -2860,8 +2860,8 @@ const Wae = /* @__PURE__ */ Jr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2860
2860
|
" gl-textarea-form-invalid mt-4 ": R.error_message !== ""
|
|
2861
2861
|
}),
|
|
2862
2862
|
type: R.type,
|
|
2863
|
-
"onUpdate:modelValue": Be[0] || (Be[0] = (
|
|
2864
|
-
onKeydown: Be[1] || (Be[1] = (
|
|
2863
|
+
"onUpdate:modelValue": Be[0] || (Be[0] = (dt) => Ae.value = dt),
|
|
2864
|
+
onKeydown: Be[1] || (Be[1] = (dt) => Q.$emit("keydown", dt)),
|
|
2865
2865
|
ref_key: "input",
|
|
2866
2866
|
ref: q,
|
|
2867
2867
|
rows: "4",
|
|
@@ -2869,8 +2869,8 @@ const Wae = /* @__PURE__ */ Jr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2869
2869
|
}, null, 42, DQ), [
|
|
2870
2870
|
[vm, Ae.value]
|
|
2871
2871
|
]),
|
|
2872
|
-
P("span", OQ,
|
|
2873
|
-
P("small", RQ,
|
|
2872
|
+
P("span", OQ, mt(R.error_message), 1),
|
|
2873
|
+
P("small", RQ, mt(R.description), 1)
|
|
2874
2874
|
], 2))
|
|
2875
2875
|
], 64));
|
|
2876
2876
|
}
|
|
@@ -2918,14 +2918,14 @@ var nq = { exports: {} };
|
|
|
2918
2918
|
return !1;
|
|
2919
2919
|
return !0;
|
|
2920
2920
|
});
|
|
2921
|
-
},
|
|
2921
|
+
}, dt = function(e, n) {
|
|
2922
2922
|
return ce(Be(e), function(o) {
|
|
2923
2923
|
return Ee(o, n);
|
|
2924
2924
|
});
|
|
2925
2925
|
}, $t = function(e) {
|
|
2926
2926
|
return q(function(n, o) {
|
|
2927
2927
|
var r = Object.keys(n), l = Object.keys(o);
|
|
2928
|
-
if (!
|
|
2928
|
+
if (!dt(Q).eq(r, l))
|
|
2929
2929
|
return !1;
|
|
2930
2930
|
for (var u = r.length, f = 0; f < u; f++) {
|
|
2931
2931
|
var b = r[f];
|
|
@@ -2946,7 +2946,7 @@ var nq = { exports: {} };
|
|
|
2946
2946
|
}, hs = (e) => {
|
|
2947
2947
|
const n = typeof e;
|
|
2948
2948
|
return e === null ? "null" : n === "object" && Array.isArray(e) ? "array" : n === "object" && Fo(e, String, (o, r) => r.isPrototypeOf(o)) ? "string" : n;
|
|
2949
|
-
}, Po = (e) => (n) => hs(n) === e, Mt = (e) => (n) => typeof n === e, kr = (e) => (n) => e === n, dn = (e, n) => _t(e) && Fo(e, n, (o, r) => Yn(o) === r), fe = Po("string"), _t = Po("object"), Ea = (e) => dn(e, Object), Qn = Po("array"), oe = kr(null), Nn = Mt("boolean"), os = kr(void 0), Bn = (e) => e == null, Ge = (e) => !Bn(e), ge = Mt("function"),
|
|
2949
|
+
}, Po = (e) => (n) => hs(n) === e, Mt = (e) => (n) => typeof n === e, kr = (e) => (n) => e === n, dn = (e, n) => _t(e) && Fo(e, n, (o, r) => Yn(o) === r), fe = Po("string"), _t = Po("object"), Ea = (e) => dn(e, Object), Qn = Po("array"), oe = kr(null), Nn = Mt("boolean"), os = kr(void 0), Bn = (e) => e == null, Ge = (e) => !Bn(e), ge = Mt("function"), Wt = Mt("number"), wn = (e, n) => {
|
|
2950
2950
|
if (Qn(e)) {
|
|
2951
2951
|
for (let o = 0, r = e.length; o < r; ++o)
|
|
2952
2952
|
if (!n(e[o]))
|
|
@@ -3560,7 +3560,7 @@ var nq = { exports: {} };
|
|
|
3560
3560
|
const n = pi("ownerDocument.defaultView", e);
|
|
3561
3561
|
return _t(e) && ($h(n).prototype.isPrototypeOf(e) || /^HTML\w*Element$/.test(Rh(e).constructor.name));
|
|
3562
3562
|
}, Wc = 8, Qi = 9, xl = 11, ac = 1, xm = 3, io = (e) => e.dom.nodeName.toLowerCase(), zr = (e) => e.dom.nodeType, ma = (e) => (n) => zr(n) === e, Mh = (e) => zr(e) === Wc || io(e) === "#comment", js = (e) => Pa(e) && No(e.dom), Pa = ma(ac), fa = ma(xm), Ph = ma(Qi), Sg = ma(xl), lc = (e) => (n) => Pa(n) && io(n) === e, yf = (e, n, o) => {
|
|
3563
|
-
if (fe(o) || Nn(o) ||
|
|
3563
|
+
if (fe(o) || Nn(o) || Wt(o))
|
|
3564
3564
|
e.setAttribute(n, o + "");
|
|
3565
3565
|
else
|
|
3566
3566
|
throw console.error("Invalid call to Attribute.set. Key ", n, ":: Value ", o, ":: Element ", e), new Error("Attribute value was not simple");
|
|
@@ -5055,7 +5055,7 @@ var nq = { exports: {} };
|
|
|
5055
5055
|
}, Wy = (e, n) => {
|
|
5056
5056
|
const o = Za(n, "style"), r = e.serialize(e.parse(o), io(n));
|
|
5057
5057
|
Rb(n, Ob, r);
|
|
5058
|
-
}, np = (e, n) =>
|
|
5058
|
+
}, np = (e, n) => Wt(e) ? gn(a5, n) ? e + "" : e + "px" : e, $b = (e, n, o) => {
|
|
5059
5059
|
const r = Pf(n);
|
|
5060
5060
|
Bn(o) || o === "" ? Ju(e, r) : Hh(e, r, np(o, r));
|
|
5061
5061
|
}, sC = (e, n, o) => {
|
|
@@ -7396,7 +7396,7 @@ Required: ` + n.join(", "));
|
|
|
7396
7396
|
}, rS = (e, n, o) => {
|
|
7397
7397
|
const r = bC(e, n);
|
|
7398
7398
|
o(r), e.moveToBookmark(r);
|
|
7399
|
-
}, l0 = (e) =>
|
|
7399
|
+
}, l0 = (e) => Wt(e == null ? void 0 : e.nodeType), j2 = (e) => jt(e) && !Oi(e) && !Di(e) && !ru(e), UE = (e, n) => {
|
|
7400
7400
|
if (j2(n) && !/^(TD|TH)$/.test(n.nodeName)) {
|
|
7401
7401
|
const o = e.getAttrib(n, "data-mce-selected"), r = parseInt(o, 10);
|
|
7402
7402
|
return !isNaN(r) && r > 0;
|
|
@@ -8243,7 +8243,7 @@ Required: ` + n.join(", "));
|
|
|
8243
8243
|
Z.compareRanges = nf, Z.getCaretRangeFromPoint = $i, Z.getSelectedNode = qy, Z.getNode = si;
|
|
8244
8244
|
const ue = ((e, n) => {
|
|
8245
8245
|
const o = (b, y) => {
|
|
8246
|
-
if (!
|
|
8246
|
+
if (!Wt(y) && !y.match(/^[0-9]+$/))
|
|
8247
8247
|
throw new Error(e + ".set accepts only positive integer values. Value was " + y);
|
|
8248
8248
|
const k = b.dom;
|
|
8249
8249
|
Cu(k) && (k.style[e] = y + "px");
|
|
@@ -8414,7 +8414,7 @@ Required: ` + n.join(", "));
|
|
|
8414
8414
|
}, _5 = { isEditorUIElement: (e) => {
|
|
8415
8415
|
const n = e.className.toString();
|
|
8416
8416
|
return n.indexOf("tox-") !== -1 || n.indexOf("mce-") !== -1;
|
|
8417
|
-
} }, k5 = (e, n) => (
|
|
8417
|
+
} }, k5 = (e, n) => (Wt(n) || (n = 0), setTimeout(e, n)), T5 = (e, n) => (Wt(n) || (n = 0), setInterval(e, n)), Lu = {
|
|
8418
8418
|
setEditorTimeout: (e, n, o) => k5(() => {
|
|
8419
8419
|
e.removed || n();
|
|
8420
8420
|
}, o),
|
|
@@ -10069,7 +10069,7 @@ Required: ` + n.join(", "));
|
|
|
10069
10069
|
hd(o) && r === u.getRoot() && (!o.list_block || !Uv(n, o.list_block)) && _e(yr(n.childNodes), (b) => {
|
|
10070
10070
|
Ym(e, f, b.nodeName.toLowerCase()) ? l ? l.appendChild(b) : (l = S3(u, b, f), u.setAttribs(l, W1(e))) : l = null;
|
|
10071
10071
|
}), !(bv(o) && !Uv(o.inline, n)) && u.remove(n, !0);
|
|
10072
|
-
}, Wv = (e, n, o) =>
|
|
10072
|
+
}, Wv = (e, n, o) => Wt(e) ? {
|
|
10073
10073
|
name: n,
|
|
10074
10074
|
value: null
|
|
10075
10075
|
} : {
|
|
@@ -15644,7 +15644,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
15644
15644
|
Input object: ` + CD(e.input), kD = (e, n) => OB(e, ho(n, _D)), WB = Oe(HB), pk = (e, n) => SD((o) => {
|
|
15645
15645
|
const r = typeof o;
|
|
15646
15646
|
return e(o) ? tc.svalue(o) : tc.serror(`Expected type: ${n} but got: ${r}`);
|
|
15647
|
-
}), ZB = pk(
|
|
15647
|
+
}), ZB = pk(Wt, "number"), yx = pk(fe, "string"), EV = pk(Nn, "boolean"), TD = pk(ge, "function"), wx = LB, ED = wV, AV = (e) => kV((n) => Ke(e, n) ? Dc.value(n) : Dc.error(`Unsupported value: "${n}", choose one of "${e.join(", ")}".`)), bk = (e, n) => wx(e, e, PB(), n), jB = (e) => bk(e, yx), GB = (e) => bk(e, TD), DV = (e, n) => wx(e, e, PB(), UB(n)), vk = (e, n) => wx(e, e, NB(), n), yk = (e) => vk(e, yx), OV = (e) => vk(e, TD), RV = (e, n) => wx(e, e, BB(n), WB()), uy = (e, n, o) => wx(e, e, BB(n), o), qB = (e, n) => uy(e, n, ZB), Xa = (e, n) => uy(e, n, yx), ff = (e, n, o) => uy(e, n, AV(o)), AD = (e, n) => uy(e, n, EV), KB = (e, n) => uy(e, n, TD), $V = (e, n, o) => uy(e, n, UB(o)), MV = jB("type"), PV = GB("fetch"), DD = GB("onAction"), YB = KB("onSetup", () => Bt), dy = yk("text"), mG = yk("icon"), BV = yk("tooltip"), NV = yk("label"), gf = AD("active", !1), IV = AD("enabled", !0), XB = AD("primary", !1), JB = (e) => RV("columns", e), xx = (e) => Xa("type", e), OD = _D([
|
|
15648
15648
|
MV,
|
|
15649
15649
|
jB("trigger"),
|
|
15650
15650
|
qB("minChars", 1),
|
|
@@ -17646,7 +17646,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, ho(n, _D)), WB = Oe(HB), pk
|
|
|
17646
17646
|
};
|
|
17647
17647
|
}, xO = (e, n) => {
|
|
17648
17648
|
const o = n.slice(), r = o.pop();
|
|
17649
|
-
return
|
|
17649
|
+
return Wt(r) ? Ho(o, (u, f) => u.bind((b) => z.from(b.childNodes[f])), z.some(e)).bind((u) => ct(u) && (r < 0 || r > u.data.length) ? z.none() : z.some({
|
|
17650
17650
|
node: u,
|
|
17651
17651
|
offset: r
|
|
17652
17652
|
})) : z.none();
|
|
@@ -19238,7 +19238,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, ho(n, _D)), WB = Oe(HB), pk
|
|
|
19238
19238
|
case "function":
|
|
19239
19239
|
return ge;
|
|
19240
19240
|
case "number":
|
|
19241
|
-
return
|
|
19241
|
+
return Wt;
|
|
19242
19242
|
case "object":
|
|
19243
19243
|
return _t;
|
|
19244
19244
|
case "string":
|
|
@@ -19817,7 +19817,7 @@ Input object: ` + CD(e.input), kD = (e, n) => OB(e, ho(n, _D)), WB = Oe(HB), pk
|
|
|
19817
19817
|
});
|
|
19818
19818
|
},
|
|
19819
19819
|
get(e) {
|
|
19820
|
-
return arguments.length === 0 ? Hi.slice(0) : fe(e) ? ps(Hi, (n) => n.id === e).getOr(null) :
|
|
19820
|
+
return arguments.length === 0 ? Hi.slice(0) : fe(e) ? ps(Hi, (n) => n.id === e).getOr(null) : Wt(e) && Hi[e] ? Hi[e] : null;
|
|
19821
19821
|
},
|
|
19822
19822
|
add(e) {
|
|
19823
19823
|
const n = this, o = n.get(e.id);
|
|
@@ -20285,7 +20285,7 @@ tinymce.IconManager.add("default", {
|
|
|
20285
20285
|
}, se = (t) => {
|
|
20286
20286
|
const s = typeof t;
|
|
20287
20287
|
return t === null ? "null" : s === "object" && Array.isArray(t) ? "array" : s === "object" && me(t, String, (a, c) => c.isPrototypeOf(a)) ? "string" : s;
|
|
20288
|
-
}, Ee = (t) => (s) => se(s) === t, ce = (t) => (s) => typeof s === t, q = (t) => (s) => t === s, Ae = (t, s) => Be(t) && me(t, s, (a, c) => R(a) === c), Q = Ee("string"), Be = Ee("object"),
|
|
20288
|
+
}, Ee = (t) => (s) => se(s) === t, ce = (t) => (s) => typeof s === t, q = (t) => (s) => t === s, Ae = (t, s) => Be(t) && me(t, s, (a, c) => R(a) === c), Q = Ee("string"), Be = Ee("object"), dt = (t) => Ae(t, Object), $t = Ee("array"), Pn = q(null), Yn = ce("boolean"), Fo = q(void 0), hs = (t) => t == null, Po = (t) => !hs(t), Mt = ce("function"), kr = ce("number"), dn = (t, s) => {
|
|
20289
20289
|
if ($t(t)) {
|
|
20290
20290
|
for (let a = 0, c = t.length; a < c; ++a)
|
|
20291
20291
|
if (!s(t[a]))
|
|
@@ -20303,7 +20303,7 @@ tinymce.IconManager.add("default", {
|
|
|
20303
20303
|
}
|
|
20304
20304
|
const Ge = (t) => (s) => !t(s), ge = (t) => () => {
|
|
20305
20305
|
throw new Error(t);
|
|
20306
|
-
},
|
|
20306
|
+
}, Wt = (t) => t(), wn = oe(!1), Bt = oe(!0);
|
|
20307
20307
|
class A {
|
|
20308
20308
|
constructor(s, a) {
|
|
20309
20309
|
this.tag = s, this.value = a;
|
|
@@ -21175,8 +21175,8 @@ tinymce.IconManager.add("default", {
|
|
|
21175
21175
|
forall: Bt,
|
|
21176
21176
|
getOr: Nn,
|
|
21177
21177
|
or: Nn,
|
|
21178
|
-
getOrThunk:
|
|
21179
|
-
orThunk:
|
|
21178
|
+
getOrThunk: Wt,
|
|
21179
|
+
orThunk: Wt,
|
|
21180
21180
|
getOrDie: ge(String(t)),
|
|
21181
21181
|
each: fe,
|
|
21182
21182
|
toOptional: A.none
|
|
@@ -21239,7 +21239,7 @@ tinymce.IconManager.add("default", {
|
|
|
21239
21239
|
case "custom":
|
|
21240
21240
|
return a(t.newKey, t.instantiator);
|
|
21241
21241
|
}
|
|
21242
|
-
}, Cr = (t, s) => s, Bg = (t, s) =>
|
|
21242
|
+
}, Cr = (t, s) => s, Bg = (t, s) => dt(t) && dt(s) ? jo(t, s) : s, Vh = (t) => (...s) => {
|
|
21243
21243
|
if (s.length === 0)
|
|
21244
21244
|
throw new Error("Can't merge zero objects");
|
|
21245
21245
|
const a = {};
|
|
@@ -23242,7 +23242,7 @@ Receiver: ` + zd(s.element), E, g.data);
|
|
|
23242
23242
|
qt(C, "visibility", "hidden");
|
|
23243
23243
|
const N = s.useFixed() ? ov() : $E(t);
|
|
23244
23244
|
w.placement(t, w, N).each((H) => {
|
|
23245
|
-
const W = g.orThunk(() => s.getBounds.map(
|
|
23245
|
+
const W = g.orThunk(() => s.getBounds.map(Wt)), X = YC(N, H, W, c, E, p.transition);
|
|
23246
23246
|
a.set(c.uid, X);
|
|
23247
23247
|
}), O.fold(() => {
|
|
23248
23248
|
po(C, "visibility");
|
|
@@ -24915,15 +24915,15 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24915
24915
|
c.set(Je), t.set(vt), s.set(je), d.set(Tt);
|
|
24916
24916
|
const Un = G7(Tt, vt);
|
|
24917
24917
|
a.set(Un);
|
|
24918
|
-
}, E = (Je) => Qo(t.get(), (je, vt) => je === Je), O = (Je, je, vt) => ie(Je).bind((Tt) => E(Je).bind((Un) => je(Un).map((
|
|
24918
|
+
}, E = (Je) => Qo(t.get(), (je, vt) => je === Je), O = (Je, je, vt) => ie(Je).bind((Tt) => E(Je).bind((Un) => je(Un).map((Ut) => ({
|
|
24919
24919
|
triggeredMenu: Tt,
|
|
24920
|
-
triggeringItem:
|
|
24920
|
+
triggeringItem: Ut,
|
|
24921
24921
|
triggeringPath: vt
|
|
24922
24922
|
})))), N = (Je, je) => {
|
|
24923
24923
|
const vt = eo(xe(Je).toArray(), (Tt) => ie(Tt).isSome());
|
|
24924
24924
|
return bt(a.get(), Je).bind((Tt) => {
|
|
24925
|
-
const Un = Go(vt.concat(Tt)),
|
|
24926
|
-
return es(
|
|
24925
|
+
const Un = Go(vt.concat(Tt)), Ut = _e(Un, (En, Cn) => O(En, je, Un.slice(0, Cn + 1)).fold(() => Aa(c.get(), En) ? [] : [A.none()], (Ko) => [A.some(Ko)]));
|
|
24926
|
+
return es(Ut);
|
|
24927
24927
|
});
|
|
24928
24928
|
}, H = (Je) => bt(t.get(), Je).map((je) => {
|
|
24929
24929
|
const vt = bt(a.get(), Je).getOr([]);
|
|
@@ -25083,8 +25083,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25083
25083
|
const An = Xt.event.item;
|
|
25084
25084
|
it(Et, An), pe(Et, An, Me.HighlightParent), t.onHover(Et, An);
|
|
25085
25085
|
})] : []
|
|
25086
|
-
]),
|
|
25087
|
-
|
|
25086
|
+
]), Ut = (Et) => Lo.getHighlighted(Et).bind(Lo.getHighlighted), En = (Et) => {
|
|
25087
|
+
Ut(Et).each((Xt) => {
|
|
25088
25088
|
Re(Et, Xt);
|
|
25089
25089
|
});
|
|
25090
25090
|
}, Cn = (Et) => {
|
|
@@ -25095,7 +25095,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25095
25095
|
collapseMenu: En,
|
|
25096
25096
|
highlightPrimary: Cn,
|
|
25097
25097
|
repositionMenus: (Et) => {
|
|
25098
|
-
d.getPrimary().bind((An) =>
|
|
25098
|
+
d.getPrimary().bind((An) => Ut(Et).bind(($n) => {
|
|
25099
25099
|
const bn = p($n), Fn = Gi(d.getMenus()), ks = Da(tt(Fn, iR.extractPreparedMenu));
|
|
25100
25100
|
return d.getTriggeringPath(bn, (Ao) => w(Et, ks, Ao));
|
|
25101
25101
|
}).map(($n) => ({
|
|
@@ -26154,7 +26154,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26154
26154
|
}
|
|
26155
26155
|
let Re, it = "";
|
|
26156
26156
|
const { implementation: Je, createNodeIterator: je, createDocumentFragment: vt, getElementsByTagName: Tt } = d, { importNode: Un } = a;
|
|
26157
|
-
let
|
|
26157
|
+
let Ut = {};
|
|
26158
26158
|
s.isSupported = typeof E4 == "function" && typeof pe == "function" && Je && Je.createHTMLDocument !== void 0;
|
|
26159
26159
|
const { MUSTACHE_EXPR: En, ERB_EXPR: Cn, TMPLIT_EXPR: Ko, DATA_ATTR: hn, ARIA_ATTR: To, IS_SCRIPT_OR_DATA: Et, ATTR_WHITESPACE: Xt } = WS;
|
|
26160
26160
|
let { IS_ALLOWED_URI: An } = WS, $n = null;
|
|
@@ -26367,7 +26367,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26367
26367
|
}, z8 = function(Ue) {
|
|
26368
26368
|
return typeof w == "object" ? Ue instanceof w : Ue && typeof Ue == "object" && typeof Ue.nodeType == "number" && typeof Ue.nodeName == "string";
|
|
26369
26369
|
}, lb = function(Ue, nn, Mn) {
|
|
26370
|
-
|
|
26370
|
+
Ut[Ue] && rI(Ut[Ue], (la) => {
|
|
26371
26371
|
la.call(s, nn, Mn, ST);
|
|
26372
26372
|
});
|
|
26373
26373
|
}, jG = function(Ue) {
|
|
@@ -26525,14 +26525,14 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26525
26525
|
const Mn = Ui(fo), la = Ui(Ue);
|
|
26526
26526
|
return GG(Mn, la, nn);
|
|
26527
26527
|
}, s.addHook = function(fo, Ue) {
|
|
26528
|
-
typeof Ue == "function" && (
|
|
26528
|
+
typeof Ue == "function" && (Ut[fo] = Ut[fo] || [], pw(Ut[fo], Ue));
|
|
26529
26529
|
}, s.removeHook = function(fo) {
|
|
26530
|
-
if (
|
|
26531
|
-
return aI(
|
|
26530
|
+
if (Ut[fo])
|
|
26531
|
+
return aI(Ut[fo]);
|
|
26532
26532
|
}, s.removeHooks = function(fo) {
|
|
26533
|
-
|
|
26533
|
+
Ut[fo] && (Ut[fo] = []);
|
|
26534
26534
|
}, s.removeAllHooks = function() {
|
|
26535
|
-
|
|
26535
|
+
Ut = {};
|
|
26536
26536
|
}, s;
|
|
26537
26537
|
}
|
|
26538
26538
|
var pR = Cw();
|
|
@@ -30704,7 +30704,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
|
|
|
30704
30704
|
}, vt = (Cn) => ({
|
|
30705
30705
|
label: t(oy + Cn + ".label"),
|
|
30706
30706
|
description: t(oy + Cn + ".description")
|
|
30707
|
-
}), Tt = vt("red"), Un = vt("green"),
|
|
30707
|
+
}), Tt = vt("red"), Un = vt("green"), Ut = vt("blue"), En = vt("hex");
|
|
30708
30708
|
return jo(ny.sketch((Cn) => ({
|
|
30709
30709
|
dom: {
|
|
30710
30710
|
tag: "form",
|
|
@@ -30714,7 +30714,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
|
|
|
30714
30714
|
components: [
|
|
30715
30715
|
Cn.field("red", Jo.sketch(g(I3, "red", Tt.label, Tt.description, 255))),
|
|
30716
30716
|
Cn.field("green", Jo.sketch(g(I3, "green", Un.label, Un.description, 255))),
|
|
30717
|
-
Cn.field("blue", Jo.sketch(g(I3, "blue",
|
|
30717
|
+
Cn.field("blue", Jo.sketch(g(I3, "blue", Ut.label, Ut.description, 255))),
|
|
30718
30718
|
Cn.field("hex", Jo.sketch(g(I$, "hex", En.label, En.description, "ffffff"))),
|
|
30719
30719
|
C.asSpec()
|
|
30720
30720
|
],
|
|
@@ -30861,14 +30861,14 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
|
|
|
30861
30861
|
const Tt = Hw(je);
|
|
30862
30862
|
E.paletteRgba.set(Tt), E.paletteHue.set(vt);
|
|
30863
30863
|
}, pe = (je, vt, Tt, Un) => {
|
|
30864
|
-
xe(vt, Tt), pt(Un, (
|
|
30865
|
-
|
|
30864
|
+
xe(vt, Tt), pt(Un, (Ut) => {
|
|
30865
|
+
Ut(je, vt, Tt);
|
|
30866
30866
|
});
|
|
30867
30867
|
}, Re = () => {
|
|
30868
30868
|
const je = [X];
|
|
30869
30869
|
return (vt, Tt) => {
|
|
30870
|
-
const Un = Tt.event.value,
|
|
30871
|
-
pe(vt, Cn,
|
|
30870
|
+
const Un = Tt.event.value, Ut = E.paletteHue.get(), En = zw(Ut, Un.x, 100 - Un.y), Cn = J$(En);
|
|
30871
|
+
pe(vt, Cn, Ut, je);
|
|
30872
30872
|
};
|
|
30873
30873
|
}, it = () => {
|
|
30874
30874
|
const je = [
|
|
@@ -30876,7 +30876,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
|
|
|
30876
30876
|
X
|
|
30877
30877
|
];
|
|
30878
30878
|
return (vt, Tt) => {
|
|
30879
|
-
const Un = w(Tt.event.value),
|
|
30879
|
+
const Un = w(Tt.event.value), Ut = E.paletteRgba.get(), En = S_(Ut), Cn = zw(Un, En.saturation, En.value), Ko = J$(Cn);
|
|
30880
30880
|
pe(vt, Ko, Un, je);
|
|
30881
30881
|
};
|
|
30882
30882
|
}, Je = () => {
|
|
@@ -30886,8 +30886,8 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
|
|
|
30886
30886
|
Me
|
|
30887
30887
|
];
|
|
30888
30888
|
return (vt, Tt) => {
|
|
30889
|
-
const Un = Tt.event.hex,
|
|
30890
|
-
pe(vt, Un,
|
|
30889
|
+
const Un = Tt.event.hex, Ut = xL(Un);
|
|
30890
|
+
pe(vt, Un, Ut.hue, je);
|
|
30891
30891
|
};
|
|
30892
30892
|
};
|
|
30893
30893
|
return {
|
|
@@ -33957,11 +33957,11 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
|
|
|
33957
33957
|
requestAnimationFrame(() => {
|
|
33958
33958
|
const vt = t.getContainer();
|
|
33959
33959
|
if (vt != null) {
|
|
33960
|
-
const Un = Jp(t, s.element).map((
|
|
33961
|
-
|
|
33962
|
-
...
|
|
33960
|
+
const Un = Jp(t, s.element).map((Ut) => [
|
|
33961
|
+
Ut.element,
|
|
33962
|
+
...Ut.others
|
|
33963
33963
|
]).getOr([]);
|
|
33964
|
-
ur(Un, (
|
|
33964
|
+
ur(Un, (Ut) => Vo(Ut, je.target)) && (t.dispatch("ElementScroll", { target: je.target.dom }), c(vb(), je));
|
|
33965
33965
|
}
|
|
33966
33966
|
});
|
|
33967
33967
|
}), Re = () => d(ih(), {}), it = (je) => {
|
|
@@ -36370,14 +36370,14 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
|
|
|
36370
36370
|
const Re = pe.getComponent();
|
|
36371
36371
|
c = A.some(Re), a.updateInputValue(Re), yn.set(Re, !t.selection.isEditable());
|
|
36372
36372
|
}), p = (pe) => ({ getComponent: oe(pe) }), w = fn(fe), C = Zt("custom-number-input-events"), E = (pe, Re, it) => {
|
|
36373
|
-
const Je = d(c), je = a.getNewValue(Je, pe), vt = Je.length - `${je}`.length, Tt = c.map((
|
|
36374
|
-
a.onAction(je, it), c.each((
|
|
36375
|
-
Ft.setValue(
|
|
36373
|
+
const Je = d(c), je = a.getNewValue(Je, pe), vt = Je.length - `${je}`.length, Tt = c.map((Ut) => Ut.element.dom.selectionStart - vt), Un = c.map((Ut) => Ut.element.dom.selectionEnd - vt);
|
|
36374
|
+
a.onAction(je, it), c.each((Ut) => {
|
|
36375
|
+
Ft.setValue(Ut, je), Re && (Tt.each((En) => Ut.element.dom.selectionStart = En), Un.each((En) => Ut.element.dom.selectionEnd = En));
|
|
36376
36376
|
});
|
|
36377
36377
|
}, O = (pe, Re) => E((it, Je) => it - Je, pe, Re), N = (pe, Re) => E((it, Je) => it + Je, pe, Re), H = (pe) => Vl(pe.element).fold(A.none, (Re) => (Rc(Re), A.some(!0))), W = (pe) => U1(pe.element) ? (hi(pe.element).each((Re) => Rc(Re)), A.some(!0)) : A.none(), X = (pe, Re, it, Je) => {
|
|
36378
36378
|
const je = fn(fe), vt = s.shared.providers.translate(it), Tt = Zt("altExecuting"), Un = am(t, "NodeChange SwitchMode", (En) => {
|
|
36379
36379
|
yn.set(En.getComponent(), !t.selection.isEditable());
|
|
36380
|
-
}),
|
|
36380
|
+
}), Ut = (En) => {
|
|
36381
36381
|
yn.isDisabled(En) || pe(!0);
|
|
36382
36382
|
};
|
|
36383
36383
|
return Ya.sketch({
|
|
@@ -36401,8 +36401,8 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
|
|
|
36401
36401
|
Qe(Du(), (En, Cn) => {
|
|
36402
36402
|
(Cn.event.raw.keyCode === l6.space() || Cn.event.raw.keyCode === l6.enter()) && (yn.isDisabled(En) || pe(!1));
|
|
36403
36403
|
}),
|
|
36404
|
-
Qe(Bm(),
|
|
36405
|
-
Qe(Mm(),
|
|
36404
|
+
Qe(Bm(), Ut),
|
|
36405
|
+
Qe(Mm(), Ut)
|
|
36406
36406
|
])
|
|
36407
36407
|
]),
|
|
36408
36408
|
eventOrder: {
|
|
@@ -37301,7 +37301,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
|
|
|
37301
37301
|
C || it();
|
|
37302
37302
|
const To = C ? A.none() : Tt();
|
|
37303
37303
|
X && Os.refreshToolbar(g.outerContainer), C || Je(To), E && d.on(hn), vt();
|
|
37304
|
-
},
|
|
37304
|
+
}, Ut = () => C || !E || !Me() ? !1 : d.get().exists((hn) => {
|
|
37305
37305
|
const To = N.getDockingMode(), Et = pe(hn);
|
|
37306
37306
|
return Et !== To ? (Re(Et), !0) : !1;
|
|
37307
37307
|
});
|
|
@@ -37311,7 +37311,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
|
|
|
37311
37311
|
show: () => {
|
|
37312
37312
|
ie.set(!0), qt(g.outerContainer.element, "display", "flex"), w.addClass(t.getBody(), "mce-edit-focus"), pt(p, (hn) => {
|
|
37313
37313
|
po(hn.element, "display");
|
|
37314
|
-
}),
|
|
37314
|
+
}), Ut(), ng(t) ? Un((hn) => tr.isDocked(hn) ? tr.reset(hn) : tr.refresh(hn)) : Un(tr.refresh);
|
|
37315
37315
|
},
|
|
37316
37316
|
hide: () => {
|
|
37317
37317
|
ie.set(!1), qt(g.outerContainer.element, "display", "none"), w.removeClass(t.getBody(), "mce-edit-focus"), pt(p, (hn) => {
|
|
@@ -37320,7 +37320,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
|
|
|
37320
37320
|
},
|
|
37321
37321
|
update: Un,
|
|
37322
37322
|
updateMode: () => {
|
|
37323
|
-
|
|
37323
|
+
Ut() && Un(tr.reset);
|
|
37324
37324
|
},
|
|
37325
37325
|
repositionPopups: vt
|
|
37326
37326
|
};
|
|
@@ -37758,27 +37758,27 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
|
|
|
37758
37758
|
sink: a,
|
|
37759
37759
|
onEscape: () => (t.focus(), A.some(!0))
|
|
37760
37760
|
})), N = () => {
|
|
37761
|
-
const
|
|
37762
|
-
return CO(t, g,
|
|
37763
|
-
}, H = () => !t.removed && !(p() && d.isContextMenuOpen()), W = (
|
|
37761
|
+
const Ut = E.get().getOr("node"), En = SO(Ut) ? 1 : 0;
|
|
37762
|
+
return CO(t, g, Ut, En);
|
|
37763
|
+
}, H = () => !t.removed && !(p() && d.isContextMenuOpen()), W = (Ut) => Aa(tl(Ut, w.get(), Vo), !0), X = () => {
|
|
37764
37764
|
if (H()) {
|
|
37765
|
-
const
|
|
37766
|
-
return
|
|
37765
|
+
const Ut = N(), En = Aa(E.get(), "node") ? $6(t, w.get()) : Rx(t);
|
|
37766
|
+
return Ut.height <= 0 || !Y0(En, Ut, 0.01);
|
|
37767
37767
|
} else
|
|
37768
37768
|
return !0;
|
|
37769
37769
|
}, ie = () => {
|
|
37770
37770
|
w.clear(), C.clear(), E.clear(), cr.hide(O);
|
|
37771
37771
|
}, Me = () => {
|
|
37772
37772
|
if (cr.isOpen(O)) {
|
|
37773
|
-
const
|
|
37774
|
-
po(
|
|
37773
|
+
const Ut = O.element;
|
|
37774
|
+
po(Ut, "display"), X() ? qt(Ut, "display", "none") : (C.set(0), cr.reposition(O));
|
|
37775
37775
|
}
|
|
37776
|
-
}, xe = (
|
|
37776
|
+
}, xe = (Ut) => ({
|
|
37777
37777
|
dom: {
|
|
37778
37778
|
tag: "div",
|
|
37779
37779
|
classes: ["tox-pop__dialog"]
|
|
37780
37780
|
},
|
|
37781
|
-
components: [
|
|
37781
|
+
components: [Ut],
|
|
37782
37782
|
behaviours: wt([
|
|
37783
37783
|
un.config({ mode: "acyclic" }),
|
|
37784
37784
|
zn("pop-dialog-wrap-events", [
|
|
@@ -37790,18 +37790,18 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
|
|
|
37790
37790
|
})
|
|
37791
37791
|
])
|
|
37792
37792
|
])
|
|
37793
|
-
}), pe = js(() => F6(s, (
|
|
37794
|
-
const En = Je([
|
|
37793
|
+
}), pe = js(() => F6(s, (Ut) => {
|
|
37794
|
+
const En = Je([Ut]);
|
|
37795
37795
|
cn(O, H6, { forwardContents: xe(En) });
|
|
37796
|
-
})), Re = (
|
|
37797
|
-
buttons:
|
|
37796
|
+
})), Re = (Ut, En) => Wk(t, {
|
|
37797
|
+
buttons: Ut,
|
|
37798
37798
|
toolbar: En.items,
|
|
37799
37799
|
allowToolbarGroups: !1
|
|
37800
|
-
}, c.backstage, A.some(["form:"])), it = (
|
|
37800
|
+
}, c.backstage, A.some(["form:"])), it = (Ut, En) => bW.buildInitGroups(Ut, En), Je = (Ut) => {
|
|
37801
37801
|
const { buttons: En } = t.ui.registry.getAll(), Cn = pe(), Ko = {
|
|
37802
37802
|
...En,
|
|
37803
37803
|
...Cn.formNavigators
|
|
37804
|
-
}, hn = Pv(t) === gu.scrolling ? gu.scrolling : gu.default, To = Ye(tt(
|
|
37804
|
+
}, hn = Pv(t) === gu.scrolling ? gu.scrolling : gu.default, To = Ye(tt(Ut, (Et) => Et.type === "contexttoolbar" ? Re(Ko, Et) : it(Et, g.providers)));
|
|
37805
37805
|
return QD({
|
|
37806
37806
|
type: hn,
|
|
37807
37807
|
uid: Zt("context-toolbar"),
|
|
@@ -37810,17 +37810,17 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
|
|
|
37810
37810
|
cyclicKeying: !0,
|
|
37811
37811
|
providers: g.providers
|
|
37812
37812
|
});
|
|
37813
|
-
}, je = (
|
|
37814
|
-
const Cn =
|
|
37813
|
+
}, je = (Ut, En) => {
|
|
37814
|
+
const Cn = Ut === "node" ? g.anchors.node(En) : g.anchors.cursor(), Ko = I6(t, Ut, p(), {
|
|
37815
37815
|
lastElement: w.get,
|
|
37816
37816
|
isReposition: () => Aa(C.get(), 0),
|
|
37817
37817
|
getMode: () => El.getMode(a)
|
|
37818
37818
|
});
|
|
37819
37819
|
return jo(Cn, Ko);
|
|
37820
|
-
}, vt = (
|
|
37820
|
+
}, vt = (Ut, En) => {
|
|
37821
37821
|
if (Un.cancel(), !H())
|
|
37822
37822
|
return;
|
|
37823
|
-
const Cn = Je(
|
|
37823
|
+
const Cn = Je(Ut), Ko = Ut[0].position, hn = je(Ko, En);
|
|
37824
37824
|
E.set(Ko), C.set(1);
|
|
37825
37825
|
const To = O.element;
|
|
37826
37826
|
po(To, "display"), W(En) || (er(To, Jk), El.reset(a, O)), cr.showWithinBounds(O, xe(Cn), {
|
|
@@ -37837,31 +37837,31 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
|
|
|
37837
37837
|
if (sa(O.element, Jk))
|
|
37838
37838
|
Un.throttle();
|
|
37839
37839
|
else {
|
|
37840
|
-
const
|
|
37841
|
-
Xk(
|
|
37840
|
+
const Ut = pe();
|
|
37841
|
+
Xk(Ut, t).fold(ie, (En) => {
|
|
37842
37842
|
vt(En.toolbars, A.some(En.elem));
|
|
37843
37843
|
});
|
|
37844
37844
|
}
|
|
37845
37845
|
}, 17);
|
|
37846
37846
|
t.on("init", () => {
|
|
37847
|
-
t.on("remove", ie), t.on("ScrollContent ScrollWindow ObjectResized ResizeEditor longpress", Me), t.on("click keyup focus SetContent", Un.throttle), t.on(D6, ie), t.on(mW, (
|
|
37847
|
+
t.on("remove", ie), t.on("ScrollContent ScrollWindow ObjectResized ResizeEditor longpress", Me), t.on("click keyup focus SetContent", Un.throttle), t.on(D6, ie), t.on(mW, (Ut) => {
|
|
37848
37848
|
const En = pe();
|
|
37849
|
-
bt(En.lookupTable,
|
|
37850
|
-
vt([Cn], gn(
|
|
37849
|
+
bt(En.lookupTable, Ut.toolbarKey).each((Cn) => {
|
|
37850
|
+
vt([Cn], gn(Ut.target !== t, Ut.target)), cr.getContent(O).each(un.focusIn);
|
|
37851
37851
|
});
|
|
37852
|
-
}), t.on("focusout", (
|
|
37852
|
+
}), t.on("focusout", (Ut) => {
|
|
37853
37853
|
A0.setEditorTimeout(t, () => {
|
|
37854
37854
|
Mu(a.element).isNone() && Mu(O.element).isNone() && ie();
|
|
37855
37855
|
}, 0);
|
|
37856
37856
|
}), t.on("SwitchMode", () => {
|
|
37857
37857
|
t.mode.isReadOnly() && ie();
|
|
37858
|
-
}), t.on("AfterProgressState", (
|
|
37859
|
-
|
|
37858
|
+
}), t.on("AfterProgressState", (Ut) => {
|
|
37859
|
+
Ut.state ? ie() : t.hasFocus() && Un.throttle();
|
|
37860
37860
|
}), t.on("dragstart", () => {
|
|
37861
37861
|
Tt = !0;
|
|
37862
37862
|
}), t.on("dragend drop", () => {
|
|
37863
37863
|
Tt = !1;
|
|
37864
|
-
}), t.on("NodeChange", (
|
|
37864
|
+
}), t.on("NodeChange", (Ut) => {
|
|
37865
37865
|
Mu(O.element).fold(Un.throttle, fe);
|
|
37866
37866
|
});
|
|
37867
37867
|
});
|
|
@@ -39004,14 +39004,14 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
|
|
|
39004
39004
|
finish: vt
|
|
39005
39005
|
});
|
|
39006
39006
|
});
|
|
39007
|
-
}), W = u1(N), X = u1(H), ie = kl(W.asSpec()), Me = kl(X.asSpec()), xe = (vt, Tt, Un,
|
|
39007
|
+
}), W = u1(N), X = u1(H), ie = kl(W.asSpec()), Me = kl(X.asSpec()), xe = (vt, Tt, Un, Ut) => {
|
|
39008
39008
|
const En = Tt.dom.getBoundingClientRect();
|
|
39009
39009
|
po(vt.element, "display");
|
|
39010
|
-
const Cn = Fl(Te.fromDom(t.getBody())).dom.innerHeight, Ko = Un(En), hn =
|
|
39010
|
+
const Cn = Fl(Te.fromDom(t.getBody())).dom.innerHeight, Ko = Un(En), hn = Ut(En, Cn);
|
|
39011
39011
|
(Ko || hn) && qt(vt.element, "display", "none");
|
|
39012
|
-
}, pe = (vt, Tt, Un,
|
|
39012
|
+
}, pe = (vt, Tt, Un, Ut) => {
|
|
39013
39013
|
const En = Un(Tt);
|
|
39014
|
-
Q0.snapTo(vt, En), xe(vt, Tt, (hn) => hn[
|
|
39014
|
+
Q0.snapTo(vt, En), xe(vt, Tt, (hn) => hn[Ut] < 0, (hn, To) => hn[Ut] > To);
|
|
39015
39015
|
}, Re = (vt) => pe(ie, vt, w, "top"), it = () => g.get().each(Re), Je = (vt) => pe(Me, vt, E, "bottom"), je = () => p.get().each(Je);
|
|
39016
39016
|
yi().deviceType.isTouch() && (t.on("TableSelectionChange", (vt) => {
|
|
39017
39017
|
d.get() || (Kf(s, ie), Kf(s, Me), d.set(!0)), g.set(vt.start), p.set(vt.finish), vt.otherCells.each((Tt) => {
|
|
@@ -39336,7 +39336,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
|
|
|
39336
39336
|
t.focus();
|
|
39337
39337
|
},
|
|
39338
39338
|
type: X
|
|
39339
|
-
}), pl = Aw(t), zi = n_(t), Ed = Nv(t), bm = PR(t), b1 =
|
|
39339
|
+
}), pl = Aw(t), zi = n_(t), Ed = Nv(t), bm = PR(t), b1 = Ut(), rb = pl || zi || Ed, bf = () => pl ? [Ao] : zi ? [ks] : [], Dh = bm ? [
|
|
39340
39340
|
b1,
|
|
39341
39341
|
Fn
|
|
39342
39342
|
] : [Fn];
|
|
@@ -39355,7 +39355,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
|
|
|
39355
39355
|
editor: t,
|
|
39356
39356
|
sharedBackstage: Tt.popup.shared
|
|
39357
39357
|
});
|
|
39358
|
-
},
|
|
39358
|
+
}, Ut = () => Os.parts.promotion({
|
|
39359
39359
|
dom: {
|
|
39360
39360
|
tag: "div",
|
|
39361
39361
|
classes: ["tox-promotion"]
|
|
@@ -40999,7 +40999,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
|
|
|
40999
40999
|
}, g, w, a, c)), X = bT(C.buttons), ie = KO(X), Me = gn(X.length !== 0, Xo(Fc({ buttons: X }, g, a))), xe = no(() => Je, {
|
|
41000
41000
|
onBlock: (je) => {
|
|
41001
41001
|
mm.block(Re, (vt, Tt) => {
|
|
41002
|
-
const Un = H.getOpt(Re).map((
|
|
41002
|
+
const Un = H.getOpt(Re).map((Ut) => zs(Ut.element));
|
|
41003
41003
|
return gt(je.message, Tt, a.shared.providers, Un);
|
|
41004
41004
|
});
|
|
41005
41005
|
},
|
|
@@ -41322,14 +41322,14 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
|
|
|
41322
41322
|
dataValidator: Je,
|
|
41323
41323
|
initialData: je,
|
|
41324
41324
|
internalDialog: Re
|
|
41325
|
-
},
|
|
41325
|
+
}, Ut = () => vt.on((hn) => {
|
|
41326
41326
|
cr.reposition(hn), (!a || !Tt) && tr.refresh(hn);
|
|
41327
41327
|
}), En = XO(Un, {
|
|
41328
41328
|
redial: Zn.redial,
|
|
41329
41329
|
closeWindow: () => {
|
|
41330
|
-
vt.on(cr.hide), s.off("ResizeEditor",
|
|
41330
|
+
vt.on(cr.hide), s.off("ResizeEditor", Ut), vt.clear(), Me(En.instanceApi);
|
|
41331
41331
|
}
|
|
41332
|
-
}, t.backstages.popup, xe.ariaAttrs,
|
|
41332
|
+
}, t.backstages.popup, xe.ariaAttrs, Ut), Cn = kl(cr.sketch({
|
|
41333
41333
|
lazySink: t.backstages.popup.shared.getSink,
|
|
41334
41334
|
dom: {
|
|
41335
41335
|
tag: "div",
|
|
@@ -41350,7 +41350,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
|
|
|
41350
41350
|
const hn = s.inline ? Hs() : Te.fromDom(s.getContainer()), To = qs(hn);
|
|
41351
41351
|
return A.some(To);
|
|
41352
41352
|
};
|
|
41353
|
-
return cr.showWithinBounds(Cn, Ti(En.dialog), { anchor: ie }, Ko), (!a || !Tt) && (tr.refresh(Cn), s.on("ResizeEditor",
|
|
41353
|
+
return cr.showWithinBounds(Cn, Ti(En.dialog), { anchor: ie }, Ko), (!a || !Tt) && (tr.refresh(Cn), s.on("ResizeEditor", Ut)), En.instanceApi.setData(je), un.focusIn(En.dialog), En.instanceApi;
|
|
41354
41354
|
};
|
|
41355
41355
|
return Zn.open(pe, X);
|
|
41356
41356
|
}, O = (X, ie, Me, xe) => {
|
|
@@ -41359,14 +41359,14 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
|
|
|
41359
41359
|
dataValidator: Je,
|
|
41360
41360
|
initialData: je,
|
|
41361
41361
|
internalDialog: Re
|
|
41362
|
-
},
|
|
41362
|
+
}, Ut = () => vt.on((hn) => {
|
|
41363
41363
|
cr.reposition(hn), tr.refresh(hn);
|
|
41364
41364
|
}), En = XO(Un, {
|
|
41365
41365
|
redial: Zn.redial,
|
|
41366
41366
|
closeWindow: () => {
|
|
41367
|
-
vt.on(cr.hide), s.off("ResizeEditor ScrollWindow ElementScroll",
|
|
41367
|
+
vt.on(cr.hide), s.off("ResizeEditor ScrollWindow ElementScroll", Ut), vt.clear(), Me(En.instanceApi);
|
|
41368
41368
|
}
|
|
41369
|
-
}, t.backstages.popup, xe.ariaAttrs,
|
|
41369
|
+
}, t.backstages.popup, xe.ariaAttrs, Ut), Cn = kl(cr.sketch({
|
|
41370
41370
|
lazySink: t.backstages.popup.shared.getSink,
|
|
41371
41371
|
dom: {
|
|
41372
41372
|
tag: "div",
|
|
@@ -41408,7 +41408,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
|
|
|
41408
41408
|
const To = Jp(s, hn.element), Et = 15, Xt = To.map((bn) => Yv(bn)).getOr(ta()), An = qs(Te.fromDom(s.getContentAreaContainer())), $n = Pg(An, Xt);
|
|
41409
41409
|
return A.some(Bs($n.x, $n.y, $n.width, $n.height - Et));
|
|
41410
41410
|
});
|
|
41411
|
-
return cr.showWithinBounds(Cn, Ti(En.dialog), { anchor: ie }, Ko), tr.refresh(Cn), s.on("ResizeEditor ScrollWindow ElementScroll ResizeWindow",
|
|
41411
|
+
return cr.showWithinBounds(Cn, Ti(En.dialog), { anchor: ie }, Ko), tr.refresh(Cn), s.on("ResizeEditor ScrollWindow ElementScroll ResizeWindow", Ut), En.instanceApi.setData(je), un.focusIn(En.dialog), En.instanceApi;
|
|
41412
41412
|
};
|
|
41413
41413
|
return Zn.open(pe, X);
|
|
41414
41414
|
};
|
|
@@ -41467,7 +41467,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
|
|
|
41467
41467
|
}, se = (i) => {
|
|
41468
41468
|
const m = typeof i;
|
|
41469
41469
|
return i === null ? "null" : m === "object" && Array.isArray(i) ? "array" : m === "object" && me(i, String, (h, v) => v.isPrototypeOf(h)) ? "string" : m;
|
|
41470
|
-
}, Ee = (i) => (m) => se(m) === i, ce = (i) => (m) => typeof m === i, q = (i) => (m) => i === m, Ae = Ee("string"), Q = Ee("object"), Be = Ee("array"),
|
|
41470
|
+
}, Ee = (i) => (m) => se(m) === i, ce = (i) => (m) => typeof m === i, q = (i) => (m) => i === m, Ae = Ee("string"), Q = Ee("object"), Be = Ee("array"), dt = q(null), $t = ce("boolean"), Pn = q(void 0), Yn = (i) => i == null, Fo = (i) => !Yn(i), hs = ce("function"), Po = ce("number"), Mt = () => {
|
|
41471
41471
|
}, kr = (i, m) => (...h) => i(m.apply(null, h)), dn = (i, m) => (h) => i(m(h)), fe = (i) => () => i, _t = (i) => i, Ea = (i, m) => i === m;
|
|
41472
41472
|
function Qn(i, ...m) {
|
|
41473
41473
|
return (...h) => {
|
|
@@ -41549,7 +41549,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
|
|
|
41549
41549
|
}
|
|
41550
41550
|
}
|
|
41551
41551
|
ge.singletonNone = new ge(!1);
|
|
41552
|
-
const
|
|
41552
|
+
const Wt = Array.prototype.slice, wn = Array.prototype.indexOf, Bt = Array.prototype.push, A = (i, m) => wn.call(i, m), ao = (i, m) => A(i, m) > -1, Oe = (i, m) => {
|
|
41553
41553
|
for (let h = 0, v = i.length; h < v; h++) {
|
|
41554
41554
|
const _ = i[h];
|
|
41555
41555
|
if (m(_, h))
|
|
@@ -41631,7 +41631,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
|
|
|
41631
41631
|
}
|
|
41632
41632
|
return !0;
|
|
41633
41633
|
}, Zi = (i) => {
|
|
41634
|
-
const m =
|
|
41634
|
+
const m = Wt.call(i, 0);
|
|
41635
41635
|
return m.reverse(), m;
|
|
41636
41636
|
}, Ke = (i, m) => {
|
|
41637
41637
|
const h = {};
|
|
@@ -41641,7 +41641,7 @@ The conflicting element is` + (co(N.element) ? " " : " not ") + "already in the
|
|
|
41641
41641
|
}
|
|
41642
41642
|
return h;
|
|
41643
41643
|
}, At = (i, m) => {
|
|
41644
|
-
const h =
|
|
41644
|
+
const h = Wt.call(i, 0);
|
|
41645
41645
|
return h.sort(m), h;
|
|
41646
41646
|
}, Ye = (i, m) => m >= 0 && m < i.length ? ge.some(i[m]) : ge.none(), _e = (i) => Ye(i, 0), vn = (i) => Ye(i, i.length - 1), Go = (i, m) => {
|
|
41647
41647
|
for (let h = 0; h < i.length; h++) {
|
|
@@ -45181,7 +45181,7 @@ Required: ` + m.join(", "));
|
|
|
45181
45181
|
}, qE = (i, m) => {
|
|
45182
45182
|
let h = null;
|
|
45183
45183
|
const v = () => {
|
|
45184
|
-
|
|
45184
|
+
dt(h) || (clearTimeout(h), h = null);
|
|
45185
45185
|
};
|
|
45186
45186
|
return {
|
|
45187
45187
|
cancel: v,
|
|
@@ -45710,7 +45710,7 @@ Required: ` + m.join(", "));
|
|
|
45710
45710
|
}, se = (S) => {
|
|
45711
45711
|
const $ = typeof S;
|
|
45712
45712
|
return S === null ? "null" : $ === "object" && Array.isArray(S) ? "array" : $ === "object" && me(S, String, (U, ae) => ae.isPrototypeOf(U)) ? "string" : $;
|
|
45713
|
-
}, Ee = (S) => ($) => se($) === S, ce = (S) => ($) => typeof $ === S, q = Ee("string"), Ae = Ee("object"), Q = Ee("array"), Be = ce("boolean"),
|
|
45713
|
+
}, Ee = (S) => ($) => se($) === S, ce = (S) => ($) => typeof $ === S, q = Ee("string"), Ae = Ee("object"), Q = Ee("array"), Be = ce("boolean"), dt = (S) => S == null, $t = (S) => !dt(S), Pn = ce("function"), Yn = ce("number"), Fo = () => {
|
|
45714
45714
|
}, hs = (S, $) => (U) => S($(U)), Po = (S) => () => S, Mt = (S, $) => S === $;
|
|
45715
45715
|
function kr(S, ...$) {
|
|
45716
45716
|
return (...U) => {
|
|
@@ -45809,7 +45809,7 @@ Required: ` + m.join(", "));
|
|
|
45809
45809
|
const he = S[U];
|
|
45810
45810
|
$(he, U);
|
|
45811
45811
|
}
|
|
45812
|
-
},
|
|
45812
|
+
}, Wt = (S, $) => {
|
|
45813
45813
|
const U = [];
|
|
45814
45814
|
for (let ae = 0, he = S.length; ae < he; ae++) {
|
|
45815
45815
|
const lt = S[ae];
|
|
@@ -46089,9 +46089,9 @@ Required: ` + m.join(", "));
|
|
|
46089
46089
|
], Hs = co.join(","), Ma = (S, $) => {
|
|
46090
46090
|
const U = $ || S.selection.getStart(!0);
|
|
46091
46091
|
return S.dom.getParent(U, Hs, Dt(S, U));
|
|
46092
|
-
}, bu = (S, $) => $t(S) && $.length === 1 && $[0] === S, Nt = (S) =>
|
|
46092
|
+
}, bu = (S, $) => $t(S) && $.length === 1 && $[0] === S, Nt = (S) => Wt(S.querySelectorAll(Hs), Ra), Gu = (S) => {
|
|
46093
46093
|
const $ = Ma(S), U = S.selection.getSelectedBlocks();
|
|
46094
|
-
return bu($, U) ? Nt($) :
|
|
46094
|
+
return bu($, U) ? Nt($) : Wt(U, (ae) => Ra(ae) && $ !== ae);
|
|
46095
46095
|
}, Zs = (S, $) => {
|
|
46096
46096
|
const U = ia.map($, (ae) => {
|
|
46097
46097
|
const he = S.dom.getParent(ae, "li,dd,dt", Dt(S, ae));
|
|
@@ -46100,8 +46100,8 @@ Required: ` + m.join(", "));
|
|
|
46100
46100
|
return lo(U);
|
|
46101
46101
|
}, I = (S) => {
|
|
46102
46102
|
const $ = S.selection.getSelectedBlocks();
|
|
46103
|
-
return
|
|
46104
|
-
}, Y = (S) =>
|
|
46103
|
+
return Wt(Zs(S, $), Or);
|
|
46104
|
+
}, Y = (S) => Wt(I(S), da), re = (S, $) => {
|
|
46105
46105
|
const U = S.dom.getParents($, "TD,TH");
|
|
46106
46106
|
return U.length > 0 ? U[0] : S.getBody();
|
|
46107
46107
|
}, Fe = (S, $) => !Ra($) && !Or($) && Bn(co, (U) => S.isValidChild($.nodeName, U)), Dt = (S, $) => {
|
|
@@ -46111,7 +46111,7 @@ Required: ` + m.join(", "));
|
|
|
46111
46111
|
const U = S.dom.getParents($, "ol,ul", Dt(S, $));
|
|
46112
46112
|
return ur(U);
|
|
46113
46113
|
}, Ms = (S) => {
|
|
46114
|
-
const $ = qt(S, S.selection.getStart()), U =
|
|
46114
|
+
const $ = qt(S, S.selection.getStart()), U = Wt(S.selection.getSelectedBlocks(), Xi);
|
|
46115
46115
|
return $.toArray().concat(U);
|
|
46116
46116
|
}, at = (S) => {
|
|
46117
46117
|
const $ = S.selection.getStart();
|
|
@@ -46305,7 +46305,7 @@ Required: ` + m.join(", "));
|
|
|
46305
46305
|
const U = Zc($);
|
|
46306
46306
|
return wf(S.contentDocument, U).toArray();
|
|
46307
46307
|
}, Tg = (S, $) => tn(wn($, Pa), (U) => Bo(U).exists(Pa) ? kg(S, U) : eu(S, U)), Eg = (S, $) => {
|
|
46308
|
-
ge(
|
|
46308
|
+
ge(Wt(S, fa), (U) => Cm($, U));
|
|
46309
46309
|
}, Yu = (S) => {
|
|
46310
46310
|
const $ = Ge(I(S), vn.fromDom);
|
|
46311
46311
|
return pt(ao($, dn(io)), ao(Ct($), dn(io)), (U, ae) => ({
|
|
@@ -46462,7 +46462,7 @@ Required: ` + m.join(", "));
|
|
|
46462
46462
|
if (Kt.getContentEditable(S.selection.getNode()) === "false")
|
|
46463
46463
|
return;
|
|
46464
46464
|
$ = $.toUpperCase(), $ === "DL" && (he = "DT");
|
|
46465
|
-
const Dn = Tc(ae), _n =
|
|
46465
|
+
const Dn = Tc(ae), _n = Wt(xu(S, ae, lt), S.dom.isEditable);
|
|
46466
46466
|
ia.each(_n, (pn) => {
|
|
46467
46467
|
let Us;
|
|
46468
46468
|
const na = pn.previousSibling, Ul = pn.parentNode;
|
|
@@ -46858,7 +46858,7 @@ Required: ` + m.join(", "));
|
|
|
46858
46858
|
}, se = (j) => {
|
|
46859
46859
|
const de = typeof j;
|
|
46860
46860
|
return j === null ? "null" : de === "object" && Array.isArray(j) ? "array" : de === "object" && me(j, String, (ke, Ie) => Ie.isPrototypeOf(ke)) ? "string" : de;
|
|
46861
|
-
}, Ee = (j) => (de) => se(de) === j, ce = (j) => (de) => typeof de === j, q = (j) => (de) => j === de, Ae = Ee("string"), Q = Ee("object"), Be = Ee("array"),
|
|
46861
|
+
}, Ee = (j) => (de) => se(de) === j, ce = (j) => (de) => typeof de === j, q = (j) => (de) => j === de, Ae = Ee("string"), Q = Ee("object"), Be = Ee("array"), dt = q(null), $t = ce("boolean"), Pn = (j) => j == null, Yn = (j) => !Pn(j), Fo = ce("function"), hs = (j, de) => {
|
|
46862
46862
|
if (Be(j)) {
|
|
46863
46863
|
for (let ke = 0, Ie = j.length; ke < Ie; ++ke)
|
|
46864
46864
|
if (!de(j[ke]))
|
|
@@ -46968,7 +46968,7 @@ Required: ` + m.join(", "));
|
|
|
46968
46968
|
return Ie;
|
|
46969
46969
|
}
|
|
46970
46970
|
return dn.none();
|
|
46971
|
-
},
|
|
46971
|
+
}, Wt = (j, de, ke = kr) => j.exists((Ie) => ke(Ie, de)), wn = (j) => {
|
|
46972
46972
|
const de = [], ke = (Ie) => {
|
|
46973
46973
|
de.push(Ie);
|
|
46974
46974
|
};
|
|
@@ -47151,7 +47151,7 @@ Required: ` + m.join(", "));
|
|
|
47151
47151
|
target: ut.getOrNull(),
|
|
47152
47152
|
text: mn.getOrNull(),
|
|
47153
47153
|
title: Wo.getOrNull()
|
|
47154
|
-
}, (rs, Zo) =>
|
|
47154
|
+
}, (rs, Zo) => dt(rs) === !1);
|
|
47155
47155
|
}, Ar = (j, de) => {
|
|
47156
47156
|
const ke = j.options.get, Ie = {
|
|
47157
47157
|
allow_html_data_urls: ke("allow_html_data_urls"),
|
|
@@ -47289,7 +47289,7 @@ Required: ` + m.join(", "));
|
|
|
47289
47289
|
} }, Ad = { getRels: (j, de) => {
|
|
47290
47290
|
const ke = lo(j);
|
|
47291
47291
|
if (ke.length > 0) {
|
|
47292
|
-
const Ie =
|
|
47292
|
+
const Ie = Wt(de, "_blank"), ut = pt(j) === !1, mn = (rs) => qo(Ye.getValue(rs), Ie);
|
|
47293
47293
|
return (ut ? Ye.sanitizeWith(mn) : Ye.sanitize)(ke);
|
|
47294
47294
|
}
|
|
47295
47295
|
return dn.none();
|
|
@@ -47338,7 +47338,7 @@ Required: ` + m.join(", "));
|
|
|
47338
47338
|
Hc(j), ke.close();
|
|
47339
47339
|
return;
|
|
47340
47340
|
}
|
|
47341
|
-
const ut = (rs) => dn.from(Ie[rs]).filter((Zo) => !
|
|
47341
|
+
const ut = (rs) => dn.from(Ie[rs]).filter((Zo) => !Wt(de.anchor[rs], Zo)), mn = {
|
|
47342
47342
|
href: Ie.url.value,
|
|
47343
47343
|
text: ut("text"),
|
|
47344
47344
|
target: ut("target"),
|
|
@@ -47615,7 +47615,7 @@ Required: ` + m.join(", "));
|
|
|
47615
47615
|
}, Ee = (I) => {
|
|
47616
47616
|
const Y = typeof I;
|
|
47617
47617
|
return I === null ? "null" : Y === "object" && Array.isArray(I) ? "array" : Y === "object" && se(I, String, (re, Fe) => Fe.isPrototypeOf(re)) ? "string" : Y;
|
|
47618
|
-
}, ce = (I) => (Y) => Ee(Y) === I, q = (I) => (Y) => typeof Y === I, Ae = (I) => (Y) => I === Y, Q = (I, Y) =>
|
|
47618
|
+
}, ce = (I) => (Y) => Ee(Y) === I, q = (I) => (Y) => typeof Y === I, Ae = (I) => (Y) => I === Y, Q = (I, Y) => dt(I) && se(I, Y, (re, Fe) => me(re) === Fe), Be = ce("string"), dt = ce("object"), $t = (I) => Q(I, Object), Pn = ce("array"), Yn = Ae(null), Fo = q("boolean"), hs = (I) => I == null, Po = (I) => !hs(I), Mt = q("function"), kr = q("number"), dn = (I, Y) => {
|
|
47619
47619
|
if (Pn(I)) {
|
|
47620
47620
|
for (let re = 0, Fe = I.length; re < Fe; ++re)
|
|
47621
47621
|
if (!Y(I[re]))
|
|
@@ -47711,12 +47711,12 @@ Required: ` + m.join(", "));
|
|
|
47711
47711
|
}, Bn = (I, Y) => {
|
|
47712
47712
|
const re = {};
|
|
47713
47713
|
return os(I, Y, Nn(re), fe), re;
|
|
47714
|
-
}, Ge = (I, Y) => Qn.call(I, Y), ge = (I, Y) => Ge(I, Y) && I[Y] !== void 0 && I[Y] !== null,
|
|
47714
|
+
}, Ge = (I, Y) => Qn.call(I, Y), ge = (I, Y) => Ge(I, Y) && I[Y] !== void 0 && I[Y] !== null, Wt = Array.prototype.push, wn = (I) => {
|
|
47715
47715
|
const Y = [];
|
|
47716
47716
|
for (let re = 0, Fe = I.length; re < Fe; ++re) {
|
|
47717
47717
|
if (!Pn(I[re]))
|
|
47718
47718
|
throw new Error("Arr.flatten item " + re + " was not an array, input: " + I);
|
|
47719
|
-
|
|
47719
|
+
Wt.apply(Y, I[re]);
|
|
47720
47720
|
}
|
|
47721
47721
|
return Y;
|
|
47722
47722
|
}, Bt = (I, Y) => Y >= 0 && Y < I.length ? _t.some(I[Y]) : _t.none(), A = (I) => Bt(I, 0), ao = (I, Y) => {
|
|
@@ -47787,7 +47787,7 @@ Required: ` + m.join(", "));
|
|
|
47787
47787
|
default: !1
|
|
47788
47788
|
}), Y("image_list", {
|
|
47789
47789
|
processor: (re) => {
|
|
47790
|
-
const Fe = re === !1 || Be(re) || dn(re,
|
|
47790
|
+
const Fe = re === !1 || Be(re) || dn(re, dt) || Mt(re);
|
|
47791
47791
|
return Fe ? {
|
|
47792
47792
|
value: re,
|
|
47793
47793
|
valid: Fe
|
|
@@ -48484,7 +48484,7 @@ Required: ` + m.join(", "));
|
|
|
48484
48484
|
}, se = (x) => {
|
|
48485
48485
|
const T = typeof x;
|
|
48486
48486
|
return x === null ? "null" : T === "object" && Array.isArray(x) ? "array" : T === "object" && me(x, String, (V, K) => K.isPrototypeOf(V)) ? "string" : T;
|
|
48487
|
-
}, Ee = (x) => (T) => se(T) === x, ce = (x) => (T) => typeof T === x, q = (x) => (T) => x === T, Ae = Ee("string"), Q = Ee("array"), Be = ce("boolean"),
|
|
48487
|
+
}, Ee = (x) => (T) => se(T) === x, ce = (x) => (T) => typeof T === x, q = (x) => (T) => x === T, Ae = Ee("string"), Q = Ee("array"), Be = ce("boolean"), dt = q(void 0), $t = (x) => x == null, Pn = (x) => !$t(x), Yn = ce("function"), Fo = ce("number"), hs = () => {
|
|
48488
48488
|
}, Po = (x, T) => (V) => x(T(V)), Mt = (x) => () => x, kr = (x) => x, dn = (x, T) => x === T;
|
|
48489
48489
|
function fe(x, ...T) {
|
|
48490
48490
|
return (...V) => {
|
|
@@ -48578,7 +48578,7 @@ Required: ` + m.join(", "));
|
|
|
48578
48578
|
Bn(x, (be, Ze) => {
|
|
48579
48579
|
(T(be, Ze) ? V : K)(be, Ze);
|
|
48580
48580
|
});
|
|
48581
|
-
},
|
|
48581
|
+
}, Wt = (x, T) => {
|
|
48582
48582
|
const V = {};
|
|
48583
48583
|
return ge(x, T, Ge(V), hs), V;
|
|
48584
48584
|
}, wn = (x, T) => {
|
|
@@ -48962,7 +48962,7 @@ Required: ` + m.join(", "));
|
|
|
48962
48962
|
let be;
|
|
48963
48963
|
for (let Ze = 0; Ze < K.length; Ze++) {
|
|
48964
48964
|
const ft = x.getStyle(K[Ze], V);
|
|
48965
|
-
if (
|
|
48965
|
+
if (dt(be) && (be = ft), be !== ft)
|
|
48966
48966
|
return "";
|
|
48967
48967
|
}
|
|
48968
48968
|
return be;
|
|
@@ -49667,7 +49667,7 @@ Required: ` + T.join(", "));
|
|
|
49667
49667
|
});
|
|
49668
49668
|
});
|
|
49669
49669
|
}), T;
|
|
49670
|
-
}, Mr = (x, T, V, K) => At(x, (be) => !
|
|
49670
|
+
}, Mr = (x, T, V, K) => At(x, (be) => !dt(V.formatter.matchNode(K, T + be))).getOr(""), td = fe(Mr, [
|
|
49671
49671
|
"left",
|
|
49672
49672
|
"center",
|
|
49673
49673
|
"right"
|
|
@@ -49769,9 +49769,9 @@ Required: ` + T.join(", "));
|
|
|
49769
49769
|
no_events: !0
|
|
49770
49770
|
});
|
|
49771
49771
|
}, Vg = (x, T, V, K) => {
|
|
49772
|
-
const be =
|
|
49772
|
+
const be = Wt(K, (Ze, ft) => V[ft] !== Ze);
|
|
49773
49773
|
A(be) > 0 && T.length >= 1 && Dt(T[0]).each((Ze) => {
|
|
49774
|
-
const ft = Hg(Ze, T), Ot = A(
|
|
49774
|
+
const ft = Hg(Ze, T), Ot = A(Wt(be, (Vn, ar) => ar !== "scope" && ar !== "celltype")) > 0, sn = Oe(be, "celltype");
|
|
49775
49775
|
(Ot || Oe(be, "scope")) && Nd(x, ft, K, fe(Oe, be)), sn && nd(x, K), io(x, Ze.dom, {
|
|
49776
49776
|
structure: sn,
|
|
49777
49777
|
style: Ot
|
|
@@ -49899,7 +49899,7 @@ Required: ` + T.join(", "));
|
|
|
49899
49899
|
no_events: !0
|
|
49900
49900
|
});
|
|
49901
49901
|
}, dc = (x, T, V, K) => {
|
|
49902
|
-
const be =
|
|
49902
|
+
const be = Wt(K, (Ze, ft) => V[ft] !== Ze);
|
|
49903
49903
|
if (A(be) > 0) {
|
|
49904
49904
|
const Ze = Oe(be, "type"), ft = Ze ? A(be) > 1 : !0;
|
|
49905
49905
|
ft && Wh(x, T, K, fe(Oe, be)), Ze && nt(x, K), Dt(Jn.fromDom(T[0])).each((Ot) => io(x, Ot.dom, {
|
|
@@ -50043,7 +50043,7 @@ Required: ` + T.join(", "));
|
|
|
50043
50043
|
fb(x, T.children[be], V, K);
|
|
50044
50044
|
}, lu = (x, T, V, K) => {
|
|
50045
50045
|
const be = x.dom, Ze = {}, ft = {}, Ot = Zc(x), sn = ol(x);
|
|
50046
|
-
if (
|
|
50046
|
+
if (dt(V.class) || (Ze.class = V.class), ft.height = ys(V.height), Ot ? ft.width = ys(V.width) : be.getAttrib(T, "width") && (Ze.width = Yi(V.width)), Ot ? (ft["border-width"] = ys(V.border), ft["border-spacing"] = ys(V.cellspacing)) : (Ze.border = V.border, Ze.cellpadding = V.cellpadding, Ze.cellspacing = V.cellspacing), Ot && T.children) {
|
|
50047
50047
|
const Vn = {};
|
|
50048
50048
|
if (K.border && (Vn["border-width"] = ys(V.border)), K.cellpadding && (Vn.padding = ys(V.cellpadding)), sn && K.bordercolor && (Vn["border-color"] = V.bordercolor), !Ct(Vn))
|
|
50049
50049
|
for (let ar = 0; ar < T.children.length; ar++)
|
|
@@ -50061,7 +50061,7 @@ Required: ` + T.join(", "));
|
|
|
50061
50061
|
...Ze
|
|
50062
50062
|
});
|
|
50063
50063
|
}, w1 = (x, T, V, K) => {
|
|
50064
|
-
const be = x.dom, Ze = K.getData(), ft =
|
|
50064
|
+
const be = x.dom, Ze = K.getData(), ft = Wt(Ze, (Ot, sn) => V[sn] !== Ot);
|
|
50065
50065
|
K.close(), Ze.class === "" && delete Ze.class, x.undoManager.transact(() => {
|
|
50066
50066
|
if (!T) {
|
|
50067
50067
|
const Ot = $a(Ze.cols).getOr(1), sn = $a(Ze.rows).getOr(1);
|
|
@@ -50673,8 +50673,8 @@ Required: ` + T.join(", "));
|
|
|
50673
50673
|
}
|
|
50674
50674
|
],
|
|
50675
50675
|
initialData: { code: Be },
|
|
50676
|
-
onSubmit: (
|
|
50677
|
-
me(Q,
|
|
50676
|
+
onSubmit: (dt) => {
|
|
50677
|
+
me(Q, dt.getData().code), dt.close();
|
|
50678
50678
|
}
|
|
50679
50679
|
});
|
|
50680
50680
|
}, ce = (Q) => {
|
|
@@ -50750,7 +50750,7 @@ Required: ` + T.join(", "));
|
|
|
50750
50750
|
new RegExp(Ae.katakana),
|
|
50751
50751
|
new RegExp(Ae.extendnumlet),
|
|
50752
50752
|
new RegExp("@")
|
|
50753
|
-
],
|
|
50753
|
+
], dt = "", $t = new RegExp("^" + Ae.punctuation + "$"), Pn = /^\s+$/, Yn = Be, Fo = Q.OTHER, hs = (Ke) => {
|
|
50754
50754
|
let At = Fo;
|
|
50755
50755
|
const Ye = Yn.length;
|
|
50756
50756
|
for (let _e = 0; _e < Ye; ++_e) {
|
|
@@ -50783,7 +50783,7 @@ Required: ` + T.join(", "));
|
|
|
50783
50783
|
return !1;
|
|
50784
50784
|
const Go = Ke[At - 1];
|
|
50785
50785
|
return (Ye === Q.MIDLETTER || Ye === Q.MIDNUMLET || _e === Q.AT) && _e === Q.ALETTER && Go === Q.ALETTER || (Ye === Q.NUMERIC || Ye === Q.ALETTER) && (_e === Q.NUMERIC || _e === Q.ALETTER) || (Ye === Q.MIDNUM || Ye === Q.MIDNUMLET) && _e === Q.NUMERIC && Go === Q.NUMERIC || Ye === Q.NUMERIC && (_e === Q.MIDNUM || _e === Q.MIDNUMLET) && vn === Q.NUMERIC || (Ye === Q.EXTEND || Ye === Q.FORMAT) && (_e === Q.ALETTER || _e === Q.NUMERIC || _e === Q.KATAKANA || _e === Q.EXTEND || _e === Q.FORMAT) || (_e === Q.EXTEND || _e === Q.FORMAT && (vn === Q.ALETTER || vn === Q.NUMERIC || vn === Q.KATAKANA || vn === Q.EXTEND || vn === Q.FORMAT)) && (Ye === Q.ALETTER || Ye === Q.NUMERIC || Ye === Q.KATAKANA || Ye === Q.EXTEND || Ye === Q.FORMAT) || Ye === Q.CR && _e === Q.LF ? !1 : Ye === Q.NEWLINE || Ye === Q.CR || Ye === Q.LF || _e === Q.NEWLINE || _e === Q.CR || _e === Q.LF ? !0 : !(Ye === Q.KATAKANA && _e === Q.KATAKANA || _e === Q.EXTENDNUMLET && (Ye === Q.ALETTER || Ye === Q.NUMERIC || Ye === Q.KATAKANA || Ye === Q.EXTENDNUMLET) || Ye === Q.EXTENDNUMLET && (_e === Q.ALETTER || _e === Q.NUMERIC || _e === Q.KATAKANA) || Ye === Q.AT);
|
|
50786
|
-
}, dn =
|
|
50786
|
+
}, dn = dt, fe = Pn, _t = $t, Ea = (Ke) => Ke === "http" || Ke === "https", Qn = (Ke, At) => {
|
|
50787
50787
|
let Ye;
|
|
50788
50788
|
for (Ye = At; Ye < Ke.length && !fe.test(Ke[Ye]); Ye++)
|
|
50789
50789
|
;
|
|
@@ -50824,7 +50824,7 @@ Required: ` + T.join(", "));
|
|
|
50824
50824
|
};
|
|
50825
50825
|
const _e = ce(Ke, At), vn = Mt(_e);
|
|
50826
50826
|
return Nn(Ke, _e, vn, Ye);
|
|
50827
|
-
}, ge = (Ke, At, Ye) => Bn(Ke, At, Ye).words,
|
|
50827
|
+
}, ge = (Ke, At, Ye) => Bn(Ke, At, Ye).words, Wt = (Ke) => Ke.replace(/\uFEFF/g, "");
|
|
50828
50828
|
var wn = tinymce.util.Tools.resolve("tinymce.dom.TreeWalker");
|
|
50829
50829
|
const Bt = (Ke, At) => {
|
|
50830
50830
|
const Ye = At.getBlockElements(), _e = At.getVoidElements(), vn = (Va) => Ye[Va.nodeName] || _e[Va.nodeName], Go = [];
|
|
@@ -50832,7 +50832,7 @@ Required: ` + T.join(", "));
|
|
|
50832
50832
|
const Tr = new wn(Ke, Ke);
|
|
50833
50833
|
let Ho;
|
|
50834
50834
|
for (; Ho = Tr.next(); )
|
|
50835
|
-
Ho.nodeType === 3 ? Ht +=
|
|
50835
|
+
Ho.nodeType === 3 ? Ht += Wt(Ho.data) : vn(Ho) && Ht.length && (Go.push(Ht), Ht = "");
|
|
50836
50836
|
return Ht.length && Go.push(Ht), Go;
|
|
50837
50837
|
}, A = (Ke) => Ke.replace(/\u200B/g, ""), ao = (Ke) => Ke.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g, "_").length, Oe = (Ke, At) => {
|
|
50838
50838
|
const Ye = A(Bt(Ke, At).join(`
|
|
@@ -50979,37 +50979,37 @@ const BQ = { class: "font-bold ptext-lg dark:text-white" }, NQ = ["id"], IQ = /*
|
|
|
50979
50979
|
// disable import of skins
|
|
50980
50980
|
content_css: !1,
|
|
50981
50981
|
// disable import of css
|
|
50982
|
-
setup(
|
|
50983
|
-
Ae =
|
|
50984
|
-
ce("update:modelValue",
|
|
50985
|
-
}),
|
|
50986
|
-
|
|
50982
|
+
setup(dt) {
|
|
50983
|
+
Ae = dt, dt.on("Change", () => {
|
|
50984
|
+
ce("update:modelValue", dt.getContent());
|
|
50985
|
+
}), dt.on("init", () => {
|
|
50986
|
+
dt.setContent(Ee.modelValue);
|
|
50987
50987
|
});
|
|
50988
50988
|
}
|
|
50989
50989
|
});
|
|
50990
50990
|
}), Mq(() => {
|
|
50991
50991
|
Ae && (Ae.destroy(), Ae = null);
|
|
50992
|
-
}), Gx(() => Ee.modelValue, (
|
|
50993
|
-
Ae && Ae.getContent() !==
|
|
50992
|
+
}), Gx(() => Ee.modelValue, (dt) => {
|
|
50993
|
+
Ae && Ae.getContent() !== dt && Ae.setContent(dt);
|
|
50994
50994
|
});
|
|
50995
50995
|
const Be = vc({
|
|
50996
50996
|
get() {
|
|
50997
50997
|
return Ee.modelValue;
|
|
50998
50998
|
},
|
|
50999
|
-
set(
|
|
51000
|
-
ce("update:modelValue",
|
|
50999
|
+
set(dt) {
|
|
51000
|
+
ce("update:modelValue", dt);
|
|
51001
51001
|
}
|
|
51002
51002
|
});
|
|
51003
|
-
return me({ focus: () => q.value.focus() }), (
|
|
51003
|
+
return me({ focus: () => q.value.focus() }), (dt, $t) => (ve(), we(go, null, [
|
|
51004
51004
|
R.show ? (ve(), we("div", {
|
|
51005
51005
|
key: 0,
|
|
51006
51006
|
class: an(R.field_name)
|
|
51007
51007
|
}, [
|
|
51008
|
-
P("h3", BQ,
|
|
51008
|
+
P("h3", BQ, mt(R.label_name), 1),
|
|
51009
51009
|
P("p", {
|
|
51010
51010
|
id: R.field_name,
|
|
51011
51011
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
51012
|
-
},
|
|
51012
|
+
}, mt(R.model_value), 9, NQ),
|
|
51013
51013
|
IQ
|
|
51014
51014
|
], 2)) : ht("", !0),
|
|
51015
51015
|
R.show ? ht("", !0) : (ve(), we("div", {
|
|
@@ -51023,7 +51023,7 @@ const BQ = { class: "font-bold ptext-lg dark:text-white" }, NQ = ["id"], IQ = /*
|
|
|
51023
51023
|
required: R.is_required
|
|
51024
51024
|
}),
|
|
51025
51025
|
for: R.field_name
|
|
51026
|
-
},
|
|
51026
|
+
}, mt(R.label_name), 11, LQ),
|
|
51027
51027
|
Qa(P("textarea", {
|
|
51028
51028
|
name: R.field_name,
|
|
51029
51029
|
id: R.field_name,
|
|
@@ -51033,15 +51033,15 @@ const BQ = { class: "font-bold ptext-lg dark:text-white" }, NQ = ["id"], IQ = /*
|
|
|
51033
51033
|
}]),
|
|
51034
51034
|
type: R.type,
|
|
51035
51035
|
"onUpdate:modelValue": $t[0] || ($t[0] = (Pn) => Be.value = Pn),
|
|
51036
|
-
onKeydown: $t[1] || ($t[1] = (Pn) =>
|
|
51036
|
+
onKeydown: $t[1] || ($t[1] = (Pn) => dt.$emit("keydown", Pn)),
|
|
51037
51037
|
ref_key: "input",
|
|
51038
51038
|
ref: q,
|
|
51039
51039
|
rows: "4"
|
|
51040
51040
|
}, null, 42, FQ), [
|
|
51041
51041
|
[vm, Be.value]
|
|
51042
51042
|
]),
|
|
51043
|
-
P("span", HQ,
|
|
51044
|
-
P("small", VQ,
|
|
51043
|
+
P("span", HQ, mt(R.error_message), 1),
|
|
51044
|
+
P("small", VQ, mt(R.description), 1)
|
|
51045
51045
|
], 2))
|
|
51046
51046
|
], 64));
|
|
51047
51047
|
}
|
|
@@ -51099,8 +51099,8 @@ const BQ = { class: "font-bold ptext-lg dark:text-white" }, NQ = ["id"], IQ = /*
|
|
|
51099
51099
|
return this.lastPage;
|
|
51100
51100
|
for (var R = this.currentPage, me = this.lastPage, se = this.limit, Ee = R - se, ce = R + se + 1, q = [], Ae = [], Q, Be = 1; Be <= me; Be++)
|
|
51101
51101
|
(Be === 1 || Be === me || Be >= Ee && Be < ce) && q.push(Be);
|
|
51102
|
-
return q.forEach(function(
|
|
51103
|
-
Q && (
|
|
51102
|
+
return q.forEach(function(dt) {
|
|
51103
|
+
Q && (dt - Q === 2 ? Ae.push(Q + 1) : dt - Q !== 1 && Ae.push("...")), Ae.push(dt), Q = dt;
|
|
51104
51104
|
}), Ae;
|
|
51105
51105
|
}
|
|
51106
51106
|
},
|
|
@@ -51234,11 +51234,11 @@ function nee(R, me, se, Ee, ce, q) {
|
|
|
51234
51234
|
P("div", WQ, [
|
|
51235
51235
|
Q.computed.total > Q.computed.perPage ? (ve(), we("span", ZQ, [
|
|
51236
51236
|
ko(" Showing "),
|
|
51237
|
-
P("span", jQ,
|
|
51237
|
+
P("span", jQ, mt(Q.computed.from), 1),
|
|
51238
51238
|
ko(" to "),
|
|
51239
|
-
P("span", GQ,
|
|
51239
|
+
P("span", GQ, mt(Q.computed.to), 1),
|
|
51240
51240
|
ko(" of "),
|
|
51241
|
-
P("span", qQ,
|
|
51241
|
+
P("span", qQ, mt(Q.computed.total), 1),
|
|
51242
51242
|
ko(" Entries ")
|
|
51243
51243
|
])) : ht("", !0),
|
|
51244
51244
|
Q.computed.total > Q.computed.perPage ? (ve(), we("ul", t5({ key: 1 }, R.$attrs, {
|
|
@@ -51265,9 +51265,9 @@ function nee(R, me, se, Ee, ce, q) {
|
|
|
51265
51265
|
])
|
|
51266
51266
|
], 16, KQ)
|
|
51267
51267
|
], 2)) : ht("", !0),
|
|
51268
|
-
(ve(!0), we(go, null, hr(Q.computed.pageRange, (Be,
|
|
51268
|
+
(ve(!0), we(go, null, hr(Q.computed.pageRange, (Be, dt) => (ve(), we("li", {
|
|
51269
51269
|
class: an(["", { active: Be == Q.computed.currentPage }]),
|
|
51270
|
-
key:
|
|
51270
|
+
key: dt
|
|
51271
51271
|
}, [
|
|
51272
51272
|
P("a", t5({
|
|
51273
51273
|
class: "",
|
|
@@ -51275,7 +51275,7 @@ function nee(R, me, se, Ee, ce, q) {
|
|
|
51275
51275
|
}, Ej(Q.pageButtonEvents(Be), !0), {
|
|
51276
51276
|
"aria-current": Be == Q.computed.currentPage ? "page" : null,
|
|
51277
51277
|
class: Be == 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"
|
|
51278
|
-
}),
|
|
51278
|
+
}), mt(Be), 17, JQ)
|
|
51279
51279
|
], 2))), 128)),
|
|
51280
51280
|
Q.computed.nextPageUrl || se.showDisabled ? (ve(), we("li", {
|
|
51281
51281
|
key: 1,
|
|
@@ -51491,12 +51491,12 @@ function Eee(R, me, se, Ee, ce, q) {
|
|
|
51491
51491
|
P("table", gee, [
|
|
51492
51492
|
P("thead", hee, [
|
|
51493
51493
|
P("tr", null, [
|
|
51494
|
-
(ve(!0), we(go, null, hr(se.columns, (Be,
|
|
51495
|
-
key:
|
|
51494
|
+
(ve(!0), we(go, null, hr(se.columns, (Be, dt) => (ve(), we("th", {
|
|
51495
|
+
key: dt,
|
|
51496
51496
|
onClick: ($t) => q.updateSortColumn(Be.field_name, Be.sortable),
|
|
51497
51497
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
51498
51498
|
}, [
|
|
51499
|
-
ko(
|
|
51499
|
+
ko(mt(Be.field_label) + " ", 1),
|
|
51500
51500
|
ce.sortField === Be.field_name ? (ve(), we("span", bee, [
|
|
51501
51501
|
ce.sortOrder === "asc" ? (ve(), we("i", vee)) : (ve(), we("i", yee))
|
|
51502
51502
|
])) : ht("", !0)
|
|
@@ -51509,8 +51509,8 @@ function Eee(R, me, se, Ee, ce, q) {
|
|
|
51509
51509
|
colspan: se.columns.length
|
|
51510
51510
|
}, See, 8, xee)
|
|
51511
51511
|
])) : ht("", !0),
|
|
51512
|
-
ce.isLoading ? ht("", !0) : (ve(!0), we(go, { key: 1 }, hr(ce.itemLists.data, (Be,
|
|
51513
|
-
key:
|
|
51512
|
+
ce.isLoading ? ht("", !0) : (ve(!0), we(go, { key: 1 }, hr(ce.itemLists.data, (Be, dt) => (ve(), we("tr", {
|
|
51513
|
+
key: dt,
|
|
51514
51514
|
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"
|
|
51515
51515
|
}, [
|
|
51516
51516
|
(ve(!0), we(go, null, hr(se.columns, ($t, Pn) => (ve(), we("td", {
|
|
@@ -51532,7 +51532,7 @@ function Eee(R, me, se, Ee, ce, q) {
|
|
|
51532
51532
|
onEditAction: (Yn) => q.editAction(Be),
|
|
51533
51533
|
onGeneralAction: (Yn) => q.generalAction(Be)
|
|
51534
51534
|
}, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction", "onGeneralAction"])) : (ve(), we(go, { key: 1 }, [
|
|
51535
|
-
ko(
|
|
51535
|
+
ko(mt(Be[$t.field_name]), 1)
|
|
51536
51536
|
], 64))
|
|
51537
51537
|
])
|
|
51538
51538
|
], 10, _ee))), 128))
|
|
@@ -51807,10 +51807,10 @@ function vte(R, me, se, Ee, ce, q) {
|
|
|
51807
51807
|
P("tr", null, [
|
|
51808
51808
|
(ve(!0), we(go, null, hr(se.columns, (Q, Be) => (ve(), we("th", {
|
|
51809
51809
|
key: Be,
|
|
51810
|
-
onClick: (
|
|
51810
|
+
onClick: (dt) => q.sort(Q.field_name, Q.sortable),
|
|
51811
51811
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
51812
51812
|
}, [
|
|
51813
|
-
ko(
|
|
51813
|
+
ko(mt(Q.field_label) + " ", 1),
|
|
51814
51814
|
ce.sortKey === Q.field_name ? (ve(), we("span", zee, [
|
|
51815
51815
|
ce.sortOrder === 1 ? (ve(), we("i", Uee)) : (ve(), we("i", Wee))
|
|
51816
51816
|
])) : ht("", !0)
|
|
@@ -51827,26 +51827,26 @@ function vte(R, me, se, Ee, ce, q) {
|
|
|
51827
51827
|
key: Be,
|
|
51828
51828
|
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"
|
|
51829
51829
|
}, [
|
|
51830
|
-
(ve(!0), we(go, null, hr(se.columns, (
|
|
51830
|
+
(ve(!0), we(go, null, hr(se.columns, (dt, $t) => (ve(), we("td", {
|
|
51831
51831
|
key: $t,
|
|
51832
|
-
"data-label":
|
|
51832
|
+
"data-label": dt.field_label,
|
|
51833
51833
|
class: an(["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-[0.3px] dark:border-gray-700", {
|
|
51834
51834
|
"rounded-t-lg lg:rounded-t-none": $t === 0,
|
|
51835
51835
|
"rounded-b-lg lg:rounded-b-none": $t === se.columns.length - 1
|
|
51836
51836
|
}])
|
|
51837
51837
|
}, [
|
|
51838
51838
|
P("div", Yee, [
|
|
51839
|
-
|
|
51839
|
+
dt.tdComp ? (ve(), Ty(o5(q.forDynCompIs(dt.tdComp)), {
|
|
51840
51840
|
key: 0,
|
|
51841
51841
|
row: Q,
|
|
51842
|
-
field:
|
|
51842
|
+
field: dt.field_name,
|
|
51843
51843
|
xprops: se.xprops,
|
|
51844
|
-
tdProps:
|
|
51844
|
+
tdProps: dt.tdProps,
|
|
51845
51845
|
onDeleteAction: me[2] || (me[2] = (Pn) => q.GetItemLists()),
|
|
51846
51846
|
onEditAction: (Pn) => q.editAction(Q),
|
|
51847
51847
|
onGeneralAction: (Pn) => q.generalAction(Q)
|
|
51848
51848
|
}, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction", "onGeneralAction"])) : (ve(), we(go, { key: 1 }, [
|
|
51849
|
-
ko(
|
|
51849
|
+
ko(mt(Q[dt.field_name]), 1)
|
|
51850
51850
|
], 64))
|
|
51851
51851
|
])
|
|
51852
51852
|
], 10, Kee))), 128))
|
|
@@ -51873,11 +51873,11 @@ function vte(R, me, se, Ee, ce, q) {
|
|
|
51873
51873
|
P("div", null, [
|
|
51874
51874
|
P("p", nte, [
|
|
51875
51875
|
ko(" Showing "),
|
|
51876
|
-
P("span", ote,
|
|
51876
|
+
P("span", ote, mt(q.firstItemIndex), 1),
|
|
51877
51877
|
ko(" to "),
|
|
51878
|
-
P("span", ste,
|
|
51878
|
+
P("span", ste, mt(q.lastItemIndex), 1),
|
|
51879
51879
|
ko(" of "),
|
|
51880
|
-
P("span", rte,
|
|
51880
|
+
P("span", rte, mt(q.filteredData.length), 1),
|
|
51881
51881
|
ko(" entries ")
|
|
51882
51882
|
])
|
|
51883
51883
|
]),
|
|
@@ -51899,7 +51899,7 @@ function vte(R, me, se, Ee, ce, q) {
|
|
|
51899
51899
|
href: "#",
|
|
51900
51900
|
onClick: oc((Be) => q.goToPage(Q), ["prevent"]),
|
|
51901
51901
|
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"
|
|
51902
|
-
},
|
|
51902
|
+
}, mt(Q), 9, mte)) : ht("", !0)
|
|
51903
51903
|
]),
|
|
51904
51904
|
P("li", null, [
|
|
51905
51905
|
ce.currentPage === Q ? (ve(), we("a", {
|
|
@@ -51908,7 +51908,7 @@ function vte(R, me, se, Ee, ce, q) {
|
|
|
51908
51908
|
onClick: oc((Be) => q.goToPage(Q), ["prevent"]),
|
|
51909
51909
|
"aria-current": "page",
|
|
51910
51910
|
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"
|
|
51911
|
-
},
|
|
51911
|
+
}, mt(Q), 9, fte)) : ht("", !0)
|
|
51912
51912
|
])
|
|
51913
51913
|
], 64))), 128)),
|
|
51914
51914
|
P("li", null, [
|
|
@@ -52127,12 +52127,12 @@ function Zte(R, me, se, Ee, ce, q) {
|
|
|
52127
52127
|
P("table", Ote, [
|
|
52128
52128
|
P("thead", Rte, [
|
|
52129
52129
|
P("tr", null, [
|
|
52130
|
-
(ve(!0), we(go, null, hr(se.columns, (Be,
|
|
52131
|
-
key:
|
|
52130
|
+
(ve(!0), we(go, null, hr(se.columns, (Be, dt) => (ve(), we("th", {
|
|
52131
|
+
key: dt,
|
|
52132
52132
|
onClick: ($t) => q.updateSortColumn(Be.field_name, Be.sortable),
|
|
52133
52133
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
52134
52134
|
}, [
|
|
52135
|
-
ko(
|
|
52135
|
+
ko(mt(Be.field_label) + " ", 1),
|
|
52136
52136
|
ce.sortField === Be.field_name ? (ve(), we("span", Mte, [
|
|
52137
52137
|
ce.sortOrder === "asc" ? (ve(), we("i", Pte)) : (ve(), we("i", Bte))
|
|
52138
52138
|
])) : ht("", !0)
|
|
@@ -52145,12 +52145,12 @@ function Zte(R, me, se, Ee, ce, q) {
|
|
|
52145
52145
|
colspan: se.columns.length
|
|
52146
52146
|
}, Fte, 8, Ite)
|
|
52147
52147
|
])) : ht("", !0),
|
|
52148
|
-
ce.isLoading ? ht("", !0) : (ve(!0), we(go, { key: 1 }, hr(q.groupedItems, (Be,
|
|
52148
|
+
ce.isLoading ? ht("", !0) : (ve(!0), we(go, { key: 1 }, hr(q.groupedItems, (Be, dt) => (ve(), we(go, null, [
|
|
52149
52149
|
P("tr", Hte, [
|
|
52150
52150
|
P("td", {
|
|
52151
52151
|
colspan: se.columns.length,
|
|
52152
52152
|
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"
|
|
52153
|
-
}, dt
|
|
52153
|
+
}, mt(dt), 9, Vte)
|
|
52154
52154
|
]),
|
|
52155
52155
|
(ve(!0), we(go, null, hr(Be, ($t, Pn) => (ve(), we("tr", {
|
|
52156
52156
|
key: Pn,
|
|
@@ -52171,7 +52171,7 @@ function Zte(R, me, se, Ee, ce, q) {
|
|
|
52171
52171
|
onDeleteAction: me[3] || (me[3] = (hs) => q.GetItemLists()),
|
|
52172
52172
|
onEditAction: (hs) => q.editAction($t)
|
|
52173
52173
|
}, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction"])) : (ve(), we(go, { key: 1 }, [
|
|
52174
|
-
ko(
|
|
52174
|
+
ko(mt($t[Yn.field_name]), 1)
|
|
52175
52175
|
], 64))
|
|
52176
52176
|
])
|
|
52177
52177
|
], 8, zte))), 128))
|
|
@@ -52377,10 +52377,10 @@ function $ne(R, me, se, Ee, ce, q) {
|
|
|
52377
52377
|
P("tr", null, [
|
|
52378
52378
|
(ve(!0), we(go, null, hr(se.columns, (Q, Be) => (ve(), we("th", {
|
|
52379
52379
|
key: Be,
|
|
52380
|
-
onClick: oc((
|
|
52380
|
+
onClick: oc((dt) => q.sort(Q), ["prevent"]),
|
|
52381
52381
|
class: "w-full px-4 py-2 lg:w-2/12 capitalize"
|
|
52382
52382
|
}, [
|
|
52383
|
-
ko(
|
|
52383
|
+
ko(mt(Q) + " ", 1),
|
|
52384
52384
|
ce.sortKey === Q ? (ve(), we("span", ane, [
|
|
52385
52385
|
ce.sortOrder === 1 ? (ve(), we("i", lne)) : (ve(), we("i", cne))
|
|
52386
52386
|
])) : ht("", !0)
|
|
@@ -52392,9 +52392,9 @@ function $ne(R, me, se, Ee, ce, q) {
|
|
|
52392
52392
|
key: Be,
|
|
52393
52393
|
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"
|
|
52394
52394
|
}, [
|
|
52395
|
-
(ve(!0), we(go, null, hr(se.columns, (
|
|
52395
|
+
(ve(!0), we(go, null, hr(se.columns, (dt, $t) => (ve(), we("td", {
|
|
52396
52396
|
key: $t,
|
|
52397
|
-
"data-label":
|
|
52397
|
+
"data-label": dt,
|
|
52398
52398
|
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 dark:border-gray-700"
|
|
52399
52399
|
}, [
|
|
52400
52400
|
P("p", {
|
|
@@ -52425,11 +52425,11 @@ function $ne(R, me, se, Ee, ce, q) {
|
|
|
52425
52425
|
P("div", null, [
|
|
52426
52426
|
P("p", pne, [
|
|
52427
52427
|
ko(" Showing "),
|
|
52428
|
-
P("span", bne,
|
|
52428
|
+
P("span", bne, mt(q.firstItemIndex), 1),
|
|
52429
52429
|
ko(" to "),
|
|
52430
|
-
P("span", vne,
|
|
52430
|
+
P("span", vne, mt(q.lastItemIndex), 1),
|
|
52431
52431
|
ko(" of "),
|
|
52432
|
-
P("span", yne,
|
|
52432
|
+
P("span", yne, mt(q.filteredData.length), 1),
|
|
52433
52433
|
ko(" entries ")
|
|
52434
52434
|
])
|
|
52435
52435
|
]),
|
|
@@ -52451,7 +52451,7 @@ function $ne(R, me, se, Ee, ce, q) {
|
|
|
52451
52451
|
href: "#",
|
|
52452
52452
|
onClick: oc((Be) => q.goToPage(Q), ["prevent"]),
|
|
52453
52453
|
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"
|
|
52454
|
-
},
|
|
52454
|
+
}, mt(Q), 9, Tne)) : ht("", !0)
|
|
52455
52455
|
]),
|
|
52456
52456
|
P("li", null, [
|
|
52457
52457
|
ce.currentPage === Q ? (ve(), we("a", {
|
|
@@ -52460,7 +52460,7 @@ function $ne(R, me, se, Ee, ce, q) {
|
|
|
52460
52460
|
onClick: oc((Be) => q.goToPage(Q), ["prevent"]),
|
|
52461
52461
|
"aria-current": "page",
|
|
52462
52462
|
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"
|
|
52463
|
-
},
|
|
52463
|
+
}, mt(Q), 9, Ene)) : ht("", !0)
|
|
52464
52464
|
])
|
|
52465
52465
|
], 64))), 128)),
|
|
52466
52466
|
P("li", null, [
|
|
@@ -52512,11 +52512,11 @@ const tle = /* @__PURE__ */ Jr(Mne, [["render", Pne]]), Bne = {
|
|
|
52512
52512
|
},
|
|
52513
52513
|
setup() {
|
|
52514
52514
|
const R = Do(!1), me = QG("accordionsWrapper"), Ee = (() => {
|
|
52515
|
-
var
|
|
52516
|
-
typeof performance < "u" && typeof performance.now == "function" && (
|
|
52515
|
+
var dt = (/* @__PURE__ */ new Date()).getTime();
|
|
52516
|
+
typeof performance < "u" && typeof performance.now == "function" && (dt += performance.now());
|
|
52517
52517
|
var $t = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(Pn) {
|
|
52518
|
-
var Yn = (
|
|
52519
|
-
return
|
|
52518
|
+
var Yn = (dt + Math.random() * 16) % 16 | 0;
|
|
52519
|
+
return dt = Math.floor(dt / 16), (Pn === "x" ? Yn : Yn & 3 | 8).toString(16);
|
|
52520
52520
|
});
|
|
52521
52521
|
return $t;
|
|
52522
52522
|
})(), ce = { isOpen: R, id: Ee }, q = vc(() => me.accordions.value), Ae = vc(() => q.value.length > 0 && q.value[0].id === Ee), Q = vc(() => q.value.length > 0 && q.value[q.value.length - 1].id === Ee);
|
|
@@ -52572,7 +52572,7 @@ function Une(R, me, se, Ee, ce, q) {
|
|
|
52572
52572
|
}]),
|
|
52573
52573
|
"aria-expanded": "true"
|
|
52574
52574
|
}, [
|
|
52575
|
-
P("span", Nne,
|
|
52575
|
+
P("span", Nne, mt(se.title), 1),
|
|
52576
52576
|
Ee.isOpen ? ht("", !0) : (ve(), we("svg", Ine, Fne)),
|
|
52577
52577
|
Ee.isOpen ? (ve(), we("svg", Hne, zne)) : ht("", !0)
|
|
52578
52578
|
], 2)
|
|
@@ -52672,7 +52672,7 @@ const nle = /* @__PURE__ */ Jr(Bne, [["render", Une]]), Wne = {
|
|
|
52672
52672
|
se.type === "success" ? (ve(), we("div", Zne, qne)) : ht("", !0),
|
|
52673
52673
|
se.type === "error" ? (ve(), we("div", Kne, Jne)) : ht("", !0),
|
|
52674
52674
|
se.type === "warning" ? (ve(), we("div", Qne, noe)) : ht("", !0),
|
|
52675
|
-
P("div", ooe,
|
|
52675
|
+
P("div", ooe, mt(se.message), 1),
|
|
52676
52676
|
P("button", {
|
|
52677
52677
|
onClick: q[0] || (q[0] = (Ae) => Ee("remove")),
|
|
52678
52678
|
type: "button",
|
|
@@ -52758,9 +52758,9 @@ const nle = /* @__PURE__ */ Jr(Bne, [["render", Une]]), Wne = {
|
|
|
52758
52758
|
ce.value = !1;
|
|
52759
52759
|
}, Be = () => {
|
|
52760
52760
|
ce.value = !0;
|
|
52761
|
-
},
|
|
52761
|
+
}, dt = me, $t = () => {
|
|
52762
52762
|
axios.delete(`${se.xprops.route}/${se.row.id}`).then(() => {
|
|
52763
|
-
Q(),
|
|
52763
|
+
Q(), dt("deleteAction"), s5.methods.add({
|
|
52764
52764
|
message: "Item deleted successfully.",
|
|
52765
52765
|
type: "success",
|
|
52766
52766
|
duration: 5e3
|
|
@@ -52864,9 +52864,9 @@ const nle = /* @__PURE__ */ Jr(Bne, [["render", Une]]), Wne = {
|
|
|
52864
52864
|
ce.value = !1;
|
|
52865
52865
|
}, Be = () => {
|
|
52866
52866
|
ce.value = !0;
|
|
52867
|
-
},
|
|
52867
|
+
}, dt = me, $t = () => {
|
|
52868
52868
|
axios.delete(`${se.xprops.route}/${se.row.id}`).then(() => {
|
|
52869
|
-
Q(),
|
|
52869
|
+
Q(), dt("deleteAction"), s5.methods.add({
|
|
52870
52870
|
message: "Item deleted successfully.",
|
|
52871
52871
|
type: "success",
|
|
52872
52872
|
duration: 5e3
|
|
@@ -53103,7 +53103,7 @@ function joe(R, me, se, Ee, ce, q) {
|
|
|
53103
53103
|
q.isArray ? (ve(!0), we(go, { key: 0 }, hr(se.row[q.entry.key], (Ae, Q) => (ve(), we("span", {
|
|
53104
53104
|
key: Q,
|
|
53105
53105
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
53106
|
-
},
|
|
53106
|
+
}, mt(Ae[q.entry.field]), 1))), 128)) : q.isObject ? (ve(), we("span", Zoe, mt(se.row[q.entry.key][q.entry.field]), 1)) : ht("", !0)
|
|
53107
53107
|
])) : ht("", !0);
|
|
53108
53108
|
}
|
|
53109
53109
|
const ile = /* @__PURE__ */ Jr(Uoe, [["render", joe]]), Goe = {
|
|
@@ -53134,7 +53134,7 @@ function Yoe(R, me, se, Ee, ce, q) {
|
|
|
53134
53134
|
q.isArray ? (ve(!0), we(go, { key: 0 }, hr(q.getNestedValue(se.row, q.entry.keys), (Ae, Q) => (ve(), we("span", {
|
|
53135
53135
|
key: Q,
|
|
53136
53136
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
53137
|
-
},
|
|
53137
|
+
}, mt(Ae[q.entry.field]), 1))), 128)) : q.isObject ? (ve(), we("span", Koe, mt(q.getNestedValue(se.row, q.entry.keys)[q.entry.field]), 1)) : ht("", !0)
|
|
53138
53138
|
]);
|
|
53139
53139
|
}
|
|
53140
53140
|
const ule = /* @__PURE__ */ Jr(Goe, [["render", Yoe]]), Xoe = {
|
|
@@ -53248,23 +53248,23 @@ function Ase(R, me, se, Ee, ce, q) {
|
|
|
53248
53248
|
return ve(), we("div", bse, [
|
|
53249
53249
|
q.hasLabelColor == "green" ? (ve(), we("span", vse, [
|
|
53250
53250
|
yse,
|
|
53251
|
-
ko(" " +
|
|
53251
|
+
ko(" " + mt(this.row[this.field]), 1)
|
|
53252
53252
|
])) : ht("", !0),
|
|
53253
53253
|
q.hasLabelColor == "red" ? (ve(), we("span", wse, [
|
|
53254
53254
|
xse,
|
|
53255
|
-
ko(" " +
|
|
53255
|
+
ko(" " + mt(this.row[this.field]), 1)
|
|
53256
53256
|
])) : ht("", !0),
|
|
53257
53257
|
q.hasLabelColor == "yellow" ? (ve(), we("span", Cse, [
|
|
53258
53258
|
Sse,
|
|
53259
|
-
ko(" " +
|
|
53259
|
+
ko(" " + mt(this.row[this.field]), 1)
|
|
53260
53260
|
])) : ht("", !0),
|
|
53261
53261
|
q.hasLabelColor == "default" ? (ve(), we("span", _se, [
|
|
53262
53262
|
kse,
|
|
53263
|
-
ko(" " +
|
|
53263
|
+
ko(" " + mt(this.row[this.field]), 1)
|
|
53264
53264
|
])) : ht("", !0),
|
|
53265
53265
|
q.hasLabelColor == "animate" ? (ve(), we("span", Tse, [
|
|
53266
53266
|
Ese,
|
|
53267
|
-
ko(" " +
|
|
53267
|
+
ko(" " + mt(this.row[this.field]), 1)
|
|
53268
53268
|
])) : ht("", !0)
|
|
53269
53269
|
]);
|
|
53270
53270
|
}
|
|
@@ -53295,35 +53295,35 @@ function Rse(R, me, se, Ee, ce, q) {
|
|
|
53295
53295
|
q.hasLabelColor == "Default" ? (ve(), we("span", {
|
|
53296
53296
|
key: 0,
|
|
53297
53297
|
class: an(["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", q.badgeType])
|
|
53298
|
-
},
|
|
53298
|
+
}, mt(this.row[this.field]), 3)) : ht("", !0),
|
|
53299
53299
|
q.hasLabelColor == "Dark" ? (ve(), we("span", {
|
|
53300
53300
|
key: 1,
|
|
53301
53301
|
class: an(["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", q.badgeType])
|
|
53302
|
-
},
|
|
53302
|
+
}, mt(this.row[this.field]), 3)) : ht("", !0),
|
|
53303
53303
|
q.hasLabelColor == "Red" ? (ve(), we("span", {
|
|
53304
53304
|
key: 2,
|
|
53305
53305
|
class: an(["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", q.badgeType])
|
|
53306
|
-
},
|
|
53306
|
+
}, mt(this.row[this.field]), 3)) : ht("", !0),
|
|
53307
53307
|
q.hasLabelColor == "Green" ? (ve(), we("span", {
|
|
53308
53308
|
key: 3,
|
|
53309
53309
|
class: an(["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", q.badgeType])
|
|
53310
|
-
},
|
|
53310
|
+
}, mt(this.row[this.field]), 3)) : ht("", !0),
|
|
53311
53311
|
q.hasLabelColor == "Yellow" ? (ve(), we("span", {
|
|
53312
53312
|
key: 4,
|
|
53313
53313
|
class: an(["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", q.badgeType])
|
|
53314
|
-
},
|
|
53314
|
+
}, mt(this.row[this.field]), 3)) : ht("", !0),
|
|
53315
53315
|
q.hasLabelColor == "Indigo" ? (ve(), we("span", {
|
|
53316
53316
|
key: 5,
|
|
53317
53317
|
class: an(["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", q.badgeType])
|
|
53318
|
-
},
|
|
53318
|
+
}, mt(this.row[this.field]), 3)) : ht("", !0),
|
|
53319
53319
|
q.hasLabelColor == "Purple" ? (ve(), we("span", {
|
|
53320
53320
|
key: 6,
|
|
53321
53321
|
class: an(["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", q.badgeType])
|
|
53322
|
-
},
|
|
53322
|
+
}, mt(this.row[this.field]), 3)) : ht("", !0),
|
|
53323
53323
|
q.hasLabelColor == "Pink" ? (ve(), we("span", {
|
|
53324
53324
|
key: 7,
|
|
53325
53325
|
class: an(["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", q.badgeType])
|
|
53326
|
-
},
|
|
53326
|
+
}, mt(this.row[this.field]), 3)) : ht("", !0)
|
|
53327
53327
|
]);
|
|
53328
53328
|
}
|
|
53329
53329
|
const hle = /* @__PURE__ */ Jr(Dse, [["render", Rse]]), $se = {
|
|
@@ -53365,23 +53365,23 @@ function Wse(R, me, se, Ee, ce, q) {
|
|
|
53365
53365
|
return ve(), we("div", Mse, [
|
|
53366
53366
|
q.hasLabelColor == "green" ? (ve(), we("span", Pse, [
|
|
53367
53367
|
Bse,
|
|
53368
|
-
ko(" " +
|
|
53368
|
+
ko(" " + mt(q.getLabel), 1)
|
|
53369
53369
|
])) : ht("", !0),
|
|
53370
53370
|
q.hasLabelColor == "red" ? (ve(), we("span", Nse, [
|
|
53371
53371
|
Ise,
|
|
53372
|
-
ko(" " +
|
|
53372
|
+
ko(" " + mt(q.getLabel), 1)
|
|
53373
53373
|
])) : ht("", !0),
|
|
53374
53374
|
q.hasLabelColor == "yellow" ? (ve(), we("span", Lse, [
|
|
53375
53375
|
Fse,
|
|
53376
|
-
ko(" " +
|
|
53376
|
+
ko(" " + mt(q.getLabel), 1)
|
|
53377
53377
|
])) : ht("", !0),
|
|
53378
53378
|
q.hasLabelColor == "default" ? (ve(), we("span", Hse, [
|
|
53379
53379
|
Vse,
|
|
53380
|
-
ko(" " +
|
|
53380
|
+
ko(" " + mt(q.getLabel), 1)
|
|
53381
53381
|
])) : ht("", !0),
|
|
53382
53382
|
q.hasLabelColor == "animate" ? (ve(), we("span", zse, [
|
|
53383
53383
|
Use,
|
|
53384
|
-
ko(" " +
|
|
53384
|
+
ko(" " + mt(q.getLabel), 1)
|
|
53385
53385
|
])) : ht("", !0)
|
|
53386
53386
|
]);
|
|
53387
53387
|
}
|
|
@@ -53399,7 +53399,7 @@ const ple = /* @__PURE__ */ Jr($se, [["render", Wse]]), Zse = {
|
|
|
53399
53399
|
}
|
|
53400
53400
|
}, jse = { class: "w-full" };
|
|
53401
53401
|
function Gse(R, me, se, Ee, ce, q) {
|
|
53402
|
-
return ve(), we("div", jse,
|
|
53402
|
+
return ve(), we("div", jse, mt(q.formattedDate), 1);
|
|
53403
53403
|
}
|
|
53404
53404
|
const ble = /* @__PURE__ */ Jr(Zse, [["render", Gse]]), qse = {
|
|
53405
53405
|
props: ["field", "row", "tdProps"],
|
|
@@ -53413,7 +53413,7 @@ const ble = /* @__PURE__ */ Jr(Zse, [["render", Gse]]), qse = {
|
|
|
53413
53413
|
}
|
|
53414
53414
|
}, Kse = { class: "w-full" };
|
|
53415
53415
|
function Yse(R, me, se, Ee, ce, q) {
|
|
53416
|
-
return ve(), we("div", Kse,
|
|
53416
|
+
return ve(), we("div", Kse, mt(q.formattedDate), 1);
|
|
53417
53417
|
}
|
|
53418
53418
|
const vle = /* @__PURE__ */ Jr(qse, [["render", Yse]]), Xse = {
|
|
53419
53419
|
props: ["field", "row", "tdProps"]
|
|
@@ -53454,7 +53454,7 @@ const yle = /* @__PURE__ */ Jr(Xse, [["render", rre]]), are = {
|
|
|
53454
53454
|
}, cre = { 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" };
|
|
53455
53455
|
function ire(R, me, se, Ee, ce, q) {
|
|
53456
53456
|
return se.row[se.field] ? (ve(), we("div", lre, [
|
|
53457
|
-
P("pre", cre, " " +
|
|
53457
|
+
P("pre", cre, " " + mt(se.row[se.field]) + `
|
|
53458
53458
|
`, 1)
|
|
53459
53459
|
])) : ht("", !0);
|
|
53460
53460
|
}
|
|
@@ -53489,7 +53489,7 @@ function Cre(R, me, se, Ee, ce, q) {
|
|
|
53489
53489
|
P("div", pre, [
|
|
53490
53490
|
P("div", bre, [
|
|
53491
53491
|
P("div", vre, [
|
|
53492
|
-
P("h3", yre,
|
|
53492
|
+
P("h3", yre, mt(se.title), 1),
|
|
53493
53493
|
P("div", wre, [
|
|
53494
53494
|
vf(R.$slots, "default")
|
|
53495
53495
|
])
|
|
@@ -53501,7 +53501,7 @@ function Cre(R, me, se, Ee, ce, q) {
|
|
|
53501
53501
|
onClick: me[0] || (me[0] = (...Ae) => q.confirmAction && q.confirmAction(...Ae)),
|
|
53502
53502
|
type: "button",
|
|
53503
53503
|
class: "inline-flex justify-center w-full px-4 py-2 text-base font-medium text-white bg-red-600 border border-transparent rounded-md shadow-sm hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 sm:ml-3 sm:w-auto sm:text-sm"
|
|
53504
|
-
},
|
|
53504
|
+
}, mt(se.button_text), 1),
|
|
53505
53505
|
P("button", {
|
|
53506
53506
|
onClick: me[1] || (me[1] = (...Ae) => q.cancelAction && q.cancelAction(...Ae)),
|
|
53507
53507
|
type: "button",
|
|
@@ -53532,7 +53532,7 @@ const xle = /* @__PURE__ */ Jr(ure, [["render", Cre]]), Sre = {
|
|
|
53532
53532
|
}
|
|
53533
53533
|
},
|
|
53534
53534
|
setup(R, { expose: me }) {
|
|
53535
|
-
const se = Do(""), Ee = Do(""), ce = Do(""), q = Do("Cancel"), Ae = Do(!1), Q = Do(void 0), Be = Do(void 0),
|
|
53535
|
+
const se = Do(""), Ee = Do(""), ce = Do(""), q = Do("Cancel"), Ae = Do(!1), Q = Do(void 0), Be = Do(void 0), dt = (Yn = {}) => (se.value = Yn.title, Ee.value = Yn.message, ce.value = Yn.okButton, Yn.cancelButton && (q.value = Yn.cancelButton), Ae.value = !0, new Promise((Fo, hs) => {
|
|
53536
53536
|
Q.value = Fo, Be.value = hs;
|
|
53537
53537
|
})), $t = () => {
|
|
53538
53538
|
Ae.value = !1, Q.value(!0);
|
|
@@ -53540,7 +53540,7 @@ const xle = /* @__PURE__ */ Jr(ure, [["render", Cre]]), Sre = {
|
|
|
53540
53540
|
Ae.value = !1, Q.value(!1);
|
|
53541
53541
|
};
|
|
53542
53542
|
return me({
|
|
53543
|
-
show:
|
|
53543
|
+
show: dt
|
|
53544
53544
|
}), (Yn, Fo) => Ae.value ? (ve(), we("div", Sre, [
|
|
53545
53545
|
P("div", _re, [
|
|
53546
53546
|
kre,
|
|
@@ -53549,9 +53549,9 @@ const xle = /* @__PURE__ */ Jr(ure, [["render", Cre]]), Sre = {
|
|
|
53549
53549
|
P("div", Are, [
|
|
53550
53550
|
P("div", Dre, [
|
|
53551
53551
|
P("div", Ore, [
|
|
53552
|
-
P("h3", Rre,
|
|
53552
|
+
P("h3", Rre, mt(se.value), 1),
|
|
53553
53553
|
P("div", $re, [
|
|
53554
|
-
P("p", Mre,
|
|
53554
|
+
P("p", Mre, mt(Ee.value), 1)
|
|
53555
53555
|
])
|
|
53556
53556
|
])
|
|
53557
53557
|
])
|
|
@@ -53561,12 +53561,12 @@ const xle = /* @__PURE__ */ Jr(ure, [["render", Cre]]), Sre = {
|
|
|
53561
53561
|
onClick: $t,
|
|
53562
53562
|
type: "button",
|
|
53563
53563
|
class: "inline-flex justify-center w-full px-4 py-2 text-base font-medium text-white bg-red-600 border border-transparent rounded-md shadow-sm hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 sm:ml-3 sm:w-auto sm:text-sm"
|
|
53564
|
-
},
|
|
53564
|
+
}, mt(ce.value), 1),
|
|
53565
53565
|
P("button", {
|
|
53566
53566
|
onClick: Pn,
|
|
53567
53567
|
type: "button",
|
|
53568
53568
|
class: "inline-flex justify-center w-full px-4 py-2 mt-3 text-base font-medium text-gray-700 bg-white border border-gray-300 rounded-md shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm"
|
|
53569
|
-
},
|
|
53569
|
+
}, mt(q.value), 1)
|
|
53570
53570
|
])
|
|
53571
53571
|
])
|
|
53572
53572
|
])
|
|
@@ -53634,11 +53634,11 @@ const xle = /* @__PURE__ */ Jr(ure, [["render", Cre]]), Sre = {
|
|
|
53634
53634
|
}, ce = vc(() => me.code);
|
|
53635
53635
|
return (q, Ae) => (ve(), we("div", Bre, [
|
|
53636
53636
|
P("div", Nre, [
|
|
53637
|
-
P("p", Ire,
|
|
53637
|
+
P("p", Ire, mt(R.label_name), 1)
|
|
53638
53638
|
]),
|
|
53639
53639
|
P("div", Lre, [
|
|
53640
53640
|
P("div", Fre, [
|
|
53641
|
-
P("code", Hre,
|
|
53641
|
+
P("code", Hre, mt(ce.value), 1)
|
|
53642
53642
|
]),
|
|
53643
53643
|
P("div", Vre, [
|
|
53644
53644
|
P("button", {
|
|
@@ -53650,7 +53650,7 @@ const xle = /* @__PURE__ */ Jr(ure, [["render", Cre]]), Sre = {
|
|
|
53650
53650
|
])
|
|
53651
53651
|
])
|
|
53652
53652
|
]),
|
|
53653
|
-
P("p", Yre,
|
|
53653
|
+
P("p", Yre, mt(R.description), 1)
|
|
53654
53654
|
]));
|
|
53655
53655
|
}
|
|
53656
53656
|
}, Xre = { class: "w-full" }, Jre = { class: "flex justify-between items-center" }, Qre = { class: "gl-label-form" }, eae = { class: "flex items-center" }, tae = { 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" }, nae = { class: "relative w-full" }, oae = ["value"], sae = { key: 0 }, rae = /* @__PURE__ */ P("svg", {
|
|
@@ -53714,10 +53714,10 @@ const xle = /* @__PURE__ */ Jr(ure, [["render", Cre]]), Sre = {
|
|
|
53714
53714
|
}, ce = vc(() => me.code);
|
|
53715
53715
|
return (q, Ae) => (ve(), we("div", Xre, [
|
|
53716
53716
|
P("div", Jre, [
|
|
53717
|
-
P("label", Qre,
|
|
53717
|
+
P("label", Qre, mt(R.label_name), 1)
|
|
53718
53718
|
]),
|
|
53719
53719
|
P("div", eae, [
|
|
53720
|
-
P("span", tae,
|
|
53720
|
+
P("span", tae, mt(R.text_name), 1),
|
|
53721
53721
|
P("div", nae, [
|
|
53722
53722
|
P("input", {
|
|
53723
53723
|
type: "text",
|
|
@@ -53738,7 +53738,7 @@ const xle = /* @__PURE__ */ Jr(ure, [["render", Cre]]), Sre = {
|
|
|
53738
53738
|
se.value ? (ve(), we("span", lae, iae)) : ht("", !0)
|
|
53739
53739
|
])
|
|
53740
53740
|
]),
|
|
53741
|
-
P("p", uae,
|
|
53741
|
+
P("p", uae, mt(R.description), 1)
|
|
53742
53742
|
]));
|
|
53743
53743
|
}
|
|
53744
53744
|
}, dae = { class: "flex flex-wrap gap-2 text-nowrap" }, mae = {
|