golden-logic-ui 1.0.262 → 1.0.264
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 +633 -627
- package/dist/golden-logic-ui.umd.cjs +15 -15
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -267,9 +267,9 @@ function SK(O, me, se, Ee, he, K) {
|
|
|
267
267
|
})
|
|
268
268
|
}, mt(se.label_name), 3),
|
|
269
269
|
P("div", {
|
|
270
|
-
onDragover: me[3] || (me[3] = oc((...
|
|
271
|
-
onDragleave: me[4] || (me[4] = oc((...
|
|
272
|
-
onDrop: me[5] || (me[5] = oc((...
|
|
270
|
+
onDragover: me[3] || (me[3] = oc((...J) => K.onDragOver && K.onDragOver(...J), ["prevent"])),
|
|
271
|
+
onDragleave: me[4] || (me[4] = oc((...J) => K.onDragLeave && K.onDragLeave(...J), ["prevent"])),
|
|
272
|
+
onDrop: me[5] || (me[5] = oc((...J) => K.onDrop && K.onDrop(...J), ["prevent"])),
|
|
273
273
|
class: "flex flex-col items-center justify-center w-full h-40 mt-3 mb-3 border-2 border-gray-300 border-dashed rounded-lg cursor-pointer bg-gray-50 dark:hover:bg-bray-800 dark:bg-gray-700 hover:bg-gray-100 dark:border-gray-600 dark:hover:border-gray-500 dark:hover:bg-gray-600"
|
|
274
274
|
}, [
|
|
275
275
|
P("div", qq, [
|
|
@@ -278,60 +278,60 @@ function SK(O, me, se, Ee, he, K) {
|
|
|
278
278
|
ref: "file_input" + se.field_name,
|
|
279
279
|
hidden: "",
|
|
280
280
|
multiple: se.has_multiple_file,
|
|
281
|
-
onChange: me[0] || (me[0] = (...
|
|
281
|
+
onChange: me[0] || (me[0] = (...J) => K.uploadFiles && K.uploadFiles(...J))
|
|
282
282
|
}, null, 40, Kq),
|
|
283
283
|
Qa(P("input", {
|
|
284
284
|
type: "hidden",
|
|
285
285
|
name: se.field_name,
|
|
286
|
-
"onUpdate:modelValue": me[1] || (me[1] = (
|
|
286
|
+
"onUpdate:modelValue": me[1] || (me[1] = (J) => K.uploadFileListFinal = J)
|
|
287
287
|
}, null, 8, Yq), [
|
|
288
288
|
[vm, K.uploadFileListFinal]
|
|
289
289
|
]),
|
|
290
290
|
he.isDragging ? (ve(), we("div", eK, nK)) : (ve(), we("div", {
|
|
291
291
|
key: 0,
|
|
292
292
|
class: "flex flex-col items-center justify-center",
|
|
293
|
-
onClick: me[2] || (me[2] = (
|
|
293
|
+
onClick: me[2] || (me[2] = (J) => O.$refs["file_input" + this.field_name].click())
|
|
294
294
|
}, Qq))
|
|
295
295
|
])
|
|
296
296
|
], 32),
|
|
297
297
|
P("span", oK, mt(he.error_message_data), 1),
|
|
298
298
|
P("small", sK, mt(se.description), 1),
|
|
299
299
|
he.files.length > 0 ? (ve(), we("section", rK, [
|
|
300
|
-
(ve(!0), we(bo, null, kr(he.files, (
|
|
300
|
+
(ve(!0), we(bo, null, kr(he.files, (J, Be) => (ve(), we("li", aK, [
|
|
301
301
|
lK,
|
|
302
302
|
P("div", cK, [
|
|
303
303
|
P("div", iK, [
|
|
304
|
-
P("span", uK, mt(K.getFileName(
|
|
305
|
-
P("span", dK, mt(
|
|
304
|
+
P("span", uK, mt(K.getFileName(J.file_name)), 1),
|
|
305
|
+
P("span", dK, mt(J.loading), 1)
|
|
306
306
|
]),
|
|
307
307
|
P("div", mK, [
|
|
308
308
|
P("div", {
|
|
309
309
|
class: "h-full bg-gray-500 rounded-full dark:bg-gray-400",
|
|
310
|
-
style: Dq({ width:
|
|
310
|
+
style: Dq({ width: J.loading + "%" })
|
|
311
311
|
}, null, 4)
|
|
312
312
|
])
|
|
313
313
|
])
|
|
314
314
|
]))), 256))
|
|
315
315
|
])) : pt("", !0),
|
|
316
316
|
P("section", fK, [
|
|
317
|
-
(ve(!0), we(bo, null, kr(K.uploadFileListFinal, (
|
|
317
|
+
(ve(!0), we(bo, null, kr(K.uploadFileListFinal, (J, Be) => (ve(), we("li", gK, [
|
|
318
318
|
P("div", hK, [
|
|
319
319
|
pK,
|
|
320
320
|
P("div", bK, [
|
|
321
|
-
P("span", vK, mt(K.getFileName(
|
|
322
|
-
P("span", yK, mt(K.formatFileSize(
|
|
321
|
+
P("span", vK, mt(K.getFileName(J.file_name)), 1),
|
|
322
|
+
P("span", yK, mt(K.formatFileSize(J.size)), 1)
|
|
323
323
|
])
|
|
324
324
|
]),
|
|
325
325
|
P("div", xK, [
|
|
326
326
|
P("a", {
|
|
327
|
-
href:
|
|
327
|
+
href: J.url,
|
|
328
328
|
target: "_blank",
|
|
329
329
|
class: "text-lg text-blue-600 cursor-pointer dark:text-blue-400 fas fa-download"
|
|
330
330
|
}, null, 8, wK),
|
|
331
331
|
se.is_enable_delete ? (ve(), we("i", {
|
|
332
332
|
key: 0,
|
|
333
333
|
onClick: (ft) => {
|
|
334
|
-
he.media_id =
|
|
334
|
+
he.media_id = J.id, he.open_delete_modal = !0;
|
|
335
335
|
},
|
|
336
336
|
class: "text-lg text-red-600 cursor-pointer dark:text-red-400 fas fa-x"
|
|
337
337
|
}, null, 8, CK)) : pt("", !0)
|
|
@@ -379,7 +379,7 @@ const Eae = /* @__PURE__ */ Jr(Gq, [["render", SK]]), _K = {
|
|
|
379
379
|
}, kK = { class: "grid w-full gap-1 mt-5 mb-5 md:gap-0 md:grid-cols-10 language-selector" }, TK = ["name", "value", "id", "checked"], EK = ["for"];
|
|
380
380
|
function AK(O, me, se, Ee, he, K) {
|
|
381
381
|
return ve(), we("ul", kK, [
|
|
382
|
-
(ve(!0), we(bo, null, kr(he.locals, (De,
|
|
382
|
+
(ve(!0), we(bo, null, kr(he.locals, (De, J) => (ve(), we("li", null, [
|
|
383
383
|
P("input", {
|
|
384
384
|
type: "radio",
|
|
385
385
|
name: se.trans_selector_name,
|
|
@@ -392,9 +392,9 @@ function AK(O, me, se, Ee, he, K) {
|
|
|
392
392
|
P("label", {
|
|
393
393
|
for: De + "_" + se.field_name,
|
|
394
394
|
class: rn([{
|
|
395
|
-
"border md:!rounded-s-lg":
|
|
396
|
-
"border md:!rounded-e-lg":
|
|
397
|
-
"border-t border-b":
|
|
395
|
+
"border md:!rounded-s-lg": J === 0,
|
|
396
|
+
"border md:!rounded-e-lg": J === he.locals.length - 1,
|
|
397
|
+
"border-t border-b": J !== 0 && J !== he.locals.length - 1
|
|
398
398
|
}, "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(De), 11, EK)
|
|
400
400
|
]))), 256))
|
|
@@ -435,7 +435,10 @@ const Aae = /* @__PURE__ */ Jr(_K, [["render", AK]]), DK = { class: "bg-white bo
|
|
|
435
435
|
}, $K = { class: "font-bold ptext-lg dark:text-white" }, MK = { class: "mt-3 mb-4" }, PK = { class: "bg-blue-100 text-blue-800 text-sm font-medium mb-2 mt-2 me-2 px-3 py-1 rounded dark:bg-blue-900 dark:text-blue-300" }, NK = /* @__PURE__ */ P("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), BK = ["name", "value"], IK = {
|
|
436
436
|
key: 0,
|
|
437
437
|
class: "dropdown"
|
|
438
|
-
}, LK = { class: "relative border border-gray-200 rounded-lg focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:focus:ring-blue-500 dark:focus:border-blue-500" }, FK = { class: "relative" }, HK = ["onClick"], VK = {
|
|
438
|
+
}, LK = { class: "relative border border-gray-200 rounded-lg focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:focus:ring-blue-500 dark:focus:border-blue-500" }, FK = { class: "relative" }, HK = ["onClick"], VK = {
|
|
439
|
+
class: "text-gray-700 bg-white dark:border-strokedark dark:bg-boxdark dark:text-gray-200 !border-b !border-t-0 !border-r !border-l fixed w-full z-[999999999] showOptions",
|
|
440
|
+
style: { width: "calc(100% - 37px)" }
|
|
441
|
+
}, zK = { class: "p-1" }, UK = /* @__PURE__ */ P("label", {
|
|
439
442
|
for: "default-search",
|
|
440
443
|
class: "mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"
|
|
441
444
|
}, "Search", -1), WK = { class: "relative" }, ZK = /* @__PURE__ */ P("div", { class: "absolute inset-y-0 flex items-center pointer-events-none start-0 ps-3" }, [
|
|
@@ -514,7 +517,7 @@ const Aae = /* @__PURE__ */ Jr(_K, [["render", AK]]), DK = { class: "bg-white bo
|
|
|
514
517
|
},
|
|
515
518
|
emits: ["update:modelValue", "selected", "selectionChanged"],
|
|
516
519
|
setup(O, { emit: me }) {
|
|
517
|
-
const se = O, Ee = me, he = Wo(null), K = Wo([]), De = Wo([]),
|
|
520
|
+
const se = O, Ee = me, he = Wo(null), K = Wo([]), De = Wo([]), J = Wo(0), Be = Wo(!1), ft = Wo(""), jt = Wo("");
|
|
518
521
|
Oh(() => {
|
|
519
522
|
jt.value = No(), se.show || (document.body.addEventListener("click", (Ge) => {
|
|
520
523
|
Xn(Ge);
|
|
@@ -573,7 +576,7 @@ const Aae = /* @__PURE__ */ Jr(_K, [["render", AK]]), DK = { class: "bg-white bo
|
|
|
573
576
|
A !== -1 && K.value.splice(A, 1), De.value = K.value.map((Xt) => Xt.id), Ee("update:modelValue", De.value), Ee("selected", K.value), Ee("selectionChanged", K.value);
|
|
574
577
|
}
|
|
575
578
|
function Xn(Ge) {
|
|
576
|
-
Ge.target.id != se.field_name + "search" + jt.value && Ge.target.id != se.field_name && !Ge.target.classList.contains("showOptions") && (Jn(),
|
|
579
|
+
Ge.target.id != se.field_name + "search" + jt.value && Ge.target.id != se.field_name && !Ge.target.classList.contains("showOptions") && (Jn(), J.value = 0, Be.value = !1);
|
|
577
580
|
}
|
|
578
581
|
function oe(Ge) {
|
|
579
582
|
const A = `${Ge}${jt.value}`, Xt = document.getElementById(A);
|
|
@@ -584,7 +587,7 @@ const Aae = /* @__PURE__ */ Jr(_K, [["render", AK]]), DK = { class: "bg-white bo
|
|
|
584
587
|
Xt && Xt.click();
|
|
585
588
|
}
|
|
586
589
|
function os(Ge) {
|
|
587
|
-
Ge === "ArrowDown" &&
|
|
590
|
+
Ge === "ArrowDown" && J.value < Zo.value.length && (J.value++, oe(J.value)), Ge === "ArrowUp" && J.value > 1 && (J.value--, oe(J.value)), Ge === "Enter" && Pn(J.value);
|
|
588
591
|
}
|
|
589
592
|
function St() {
|
|
590
593
|
return se.options.map((Ge, A) => typeof Ge == "object" ? Ge : { id: Ge, name: Ge });
|
|
@@ -701,42 +704,42 @@ const Aae = /* @__PURE__ */ Jr(_K, [["render", AK]]), DK = { class: "bg-white bo
|
|
|
701
704
|
onClick: A[1] || (A[1] = (Xt) => Ro()),
|
|
702
705
|
class: rn([Be.value ? "fa-angle-up" : "fa-angle-down", "absolute text-xl text-gray-500 cursor-pointer fas right-2 hover:text-gray-700 dark:hover:text-gray-800 showOptions"]),
|
|
703
706
|
style: { top: "11px" }
|
|
704
|
-
}, null, 2)
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
707
|
+
}, null, 2),
|
|
708
|
+
Qa(P("div", VK, [
|
|
709
|
+
P("div", zK, [
|
|
710
|
+
UK,
|
|
711
|
+
P("div", WK, [
|
|
712
|
+
ZK,
|
|
713
|
+
Qa(P("input", {
|
|
714
|
+
type: "search",
|
|
715
|
+
"onUpdate:modelValue": A[2] || (A[2] = (Xt) => ft.value = Xt),
|
|
716
|
+
ref: he.value,
|
|
717
|
+
id: `${O.field_name}search${jt.value}`,
|
|
718
|
+
onKeydown: ir,
|
|
719
|
+
onBlur: A[3] || (A[3] = (Xt) => Jn()),
|
|
720
|
+
autocomplete: "off",
|
|
721
|
+
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",
|
|
722
|
+
placeholder: "Search ..."
|
|
723
|
+
}, null, 40, jK), [
|
|
724
|
+
[vm, ft.value]
|
|
725
|
+
])
|
|
723
726
|
])
|
|
727
|
+
]),
|
|
728
|
+
P("div", GK, [
|
|
729
|
+
(ve(!0), we(bo, null, kr(Zo.value, (Xt, nt) => (ve(), we("div", {
|
|
730
|
+
class: rn([
|
|
731
|
+
"block px-2 py-2 text-xs leading-4 text-gray-700 no-underline cursor-pointer dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white",
|
|
732
|
+
nt + 1 == J.value || mn(Xt.id) ? "bg-gray-100 dark:bg-gray-600" : ""
|
|
733
|
+
]),
|
|
734
|
+
onClick: (Bo) => ie(Xt),
|
|
735
|
+
onMousedown: (Bo) => ie(Xt),
|
|
736
|
+
key: nt,
|
|
737
|
+
id: `${nt + 1}${jt.value}`
|
|
738
|
+
}, mt(Xt.name || Xt.id || "-"), 43, qK))), 128))
|
|
724
739
|
])
|
|
725
|
-
]),
|
|
726
|
-
|
|
727
|
-
(ve(!0), we(bo, null, kr(Zo.value, (Xt, nt) => (ve(), we("div", {
|
|
728
|
-
class: rn([
|
|
729
|
-
"block px-2 py-2 text-xs leading-4 text-gray-700 no-underline cursor-pointer dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white",
|
|
730
|
-
nt + 1 == X.value || mn(Xt.id) ? "bg-gray-100 dark:bg-gray-600" : ""
|
|
731
|
-
]),
|
|
732
|
-
onClick: (Bo) => ie(Xt),
|
|
733
|
-
onMousedown: (Bo) => ie(Xt),
|
|
734
|
-
key: nt,
|
|
735
|
-
id: `${nt + 1}${jt.value}`
|
|
736
|
-
}, mt(Xt.name || Xt.id || "-"), 43, qK))), 128))
|
|
740
|
+
], 512), [
|
|
741
|
+
[n5, Be.value]
|
|
737
742
|
])
|
|
738
|
-
], 512), [
|
|
739
|
-
[n5, Be.value]
|
|
740
743
|
])
|
|
741
744
|
])
|
|
742
745
|
])) : pt("", !0)
|
|
@@ -909,12 +912,12 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
909
912
|
model: Ee.translatable.model,
|
|
910
913
|
row_id: Ee.translatable.row_id,
|
|
911
914
|
field: Ee.translatable.field
|
|
912
|
-
}).then((
|
|
913
|
-
De.value.value = JSON.stringify(
|
|
914
|
-
}).catch((
|
|
915
|
-
console.log(
|
|
915
|
+
}).then((J) => {
|
|
916
|
+
De.value.value = JSON.stringify(J.data), he("update:modelValueTranslate", JSON.stringify(J.data)), console.log("input_translate", De.value.value);
|
|
917
|
+
}).catch((J) => {
|
|
918
|
+
console.log(J);
|
|
916
919
|
});
|
|
917
|
-
}), me({ focus: () => K.value.focus() }), (
|
|
920
|
+
}), me({ focus: () => K.value.focus() }), (J, Be) => (ve(), we(bo, null, [
|
|
918
921
|
O.show ? (ve(), we("div", {
|
|
919
922
|
key: 0,
|
|
920
923
|
class: rn(O.field_name)
|
|
@@ -927,9 +930,9 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
927
930
|
id: O.field_name + "_i18n",
|
|
928
931
|
ref_key: "input_translate",
|
|
929
932
|
ref: De,
|
|
930
|
-
"onUpdate:modelValue": Be[0] || (Be[0] = (ft) =>
|
|
933
|
+
"onUpdate:modelValue": Be[0] || (Be[0] = (ft) => J.inputTranslateValue = ft)
|
|
931
934
|
}, null, 8, QK), [
|
|
932
|
-
[vm,
|
|
935
|
+
[vm, J.inputTranslateValue]
|
|
933
936
|
]),
|
|
934
937
|
P("p", {
|
|
935
938
|
id: O.field_name,
|
|
@@ -956,7 +959,7 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
956
959
|
"data-i18n": "true",
|
|
957
960
|
name: O.field_name + "_i18n",
|
|
958
961
|
id: O.field_name + "_i18n",
|
|
959
|
-
onInput: Be[1] || (Be[1] = (ft) =>
|
|
962
|
+
onInput: Be[1] || (Be[1] = (ft) => J.$emit("update:modelValueTranslate", ft.target.value)),
|
|
960
963
|
ref_key: "input_translate",
|
|
961
964
|
ref: De
|
|
962
965
|
}, null, 40, sY),
|
|
@@ -969,8 +972,8 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
969
972
|
" gl-textarea-form-invalid form-input-translation mt-4 ": O.error_message !== ""
|
|
970
973
|
}),
|
|
971
974
|
type: O.type,
|
|
972
|
-
onInput: Be[2] || (Be[2] = (ft) =>
|
|
973
|
-
onKeydown: Be[3] || (Be[3] = (ft) =>
|
|
975
|
+
onInput: Be[2] || (Be[2] = (ft) => J.$emit("update:modelValue", ft.target.value)),
|
|
976
|
+
onKeydown: Be[3] || (Be[3] = (ft) => J.$emit("keydown", ft)),
|
|
974
977
|
ref_key: "input",
|
|
975
978
|
ref: K,
|
|
976
979
|
rows: "4"
|
|
@@ -1049,12 +1052,12 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1049
1052
|
model: Ee.translatable.model,
|
|
1050
1053
|
row_id: Ee.translatable.row_id,
|
|
1051
1054
|
field: Ee.translatable.field
|
|
1052
|
-
}).then((
|
|
1053
|
-
De.value.value = JSON.stringify(
|
|
1054
|
-
}).catch((
|
|
1055
|
-
console.log(
|
|
1055
|
+
}).then((J) => {
|
|
1056
|
+
De.value.value = JSON.stringify(J.data), he("update:modelValueTranslate", JSON.stringify(J.data));
|
|
1057
|
+
}).catch((J) => {
|
|
1058
|
+
console.log(J);
|
|
1056
1059
|
});
|
|
1057
|
-
}), me({ focus: () => K.value.focus() }), (
|
|
1060
|
+
}), me({ focus: () => K.value.focus() }), (J, Be) => (ve(), we(bo, null, [
|
|
1058
1061
|
O.show ? (ve(), we("div", {
|
|
1059
1062
|
key: 0,
|
|
1060
1063
|
class: rn(O.field_name)
|
|
@@ -1067,9 +1070,9 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1067
1070
|
id: O.field_name + "_i18n",
|
|
1068
1071
|
ref_key: "input_translate",
|
|
1069
1072
|
ref: De,
|
|
1070
|
-
"onUpdate:modelValue": Be[0] || (Be[0] = (ft) =>
|
|
1073
|
+
"onUpdate:modelValue": Be[0] || (Be[0] = (ft) => J.inputTranslateValue = ft)
|
|
1071
1074
|
}, null, 8, iY), [
|
|
1072
|
-
[vm,
|
|
1075
|
+
[vm, J.inputTranslateValue]
|
|
1073
1076
|
]),
|
|
1074
1077
|
P("p", {
|
|
1075
1078
|
id: O.field_name,
|
|
@@ -1096,7 +1099,7 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1096
1099
|
"data-i18n": "true",
|
|
1097
1100
|
name: O.field_name + "_i18n",
|
|
1098
1101
|
id: O.field_name + "_i18n",
|
|
1099
|
-
onInput: Be[1] || (Be[1] = (ft) =>
|
|
1102
|
+
onInput: Be[1] || (Be[1] = (ft) => J.$emit("update:modelValueTranslate", ft.target.value)),
|
|
1100
1103
|
ref_key: "input_translate",
|
|
1101
1104
|
ref: De
|
|
1102
1105
|
}, null, 40, gY),
|
|
@@ -1108,8 +1111,8 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1108
1111
|
" gl-textarea-form-invalid form-input-translation mt-4 ": O.error_message !== ""
|
|
1109
1112
|
}]),
|
|
1110
1113
|
type: O.type,
|
|
1111
|
-
onInput: Be[2] || (Be[2] = (ft) =>
|
|
1112
|
-
onKeydown: Be[3] || (Be[3] = (ft) =>
|
|
1114
|
+
onInput: Be[2] || (Be[2] = (ft) => J.$emit("update:modelValue", ft.target.value)),
|
|
1115
|
+
onKeydown: Be[3] || (Be[3] = (ft) => J.$emit("keydown", ft)),
|
|
1113
1116
|
ref_key: "input",
|
|
1114
1117
|
ref: K,
|
|
1115
1118
|
rows: "4"
|
|
@@ -1184,12 +1187,12 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1184
1187
|
model: Ee.translatable.model,
|
|
1185
1188
|
row_id: Ee.translatable.row_id,
|
|
1186
1189
|
field: Ee.translatable.field
|
|
1187
|
-
}).then((
|
|
1188
|
-
De.value.value = JSON.stringify(
|
|
1189
|
-
}).catch((
|
|
1190
|
-
console.log(
|
|
1190
|
+
}).then((J) => {
|
|
1191
|
+
De.value.value = JSON.stringify(J.data), he("update:modelValueTranslate", JSON.stringify(J.data));
|
|
1192
|
+
}).catch((J) => {
|
|
1193
|
+
console.log(J);
|
|
1191
1194
|
});
|
|
1192
|
-
}), me({ focus: () => K.value.focus() }), (
|
|
1195
|
+
}), me({ focus: () => K.value.focus() }), (J, Be) => (ve(), we(bo, null, [
|
|
1193
1196
|
O.show ? (ve(), we("div", {
|
|
1194
1197
|
key: 0,
|
|
1195
1198
|
class: rn(O.field_name)
|
|
@@ -1201,9 +1204,9 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1201
1204
|
name: O.field_name + "_i18n",
|
|
1202
1205
|
id: O.field_name + "_i18n",
|
|
1203
1206
|
ref: "input_translate_s",
|
|
1204
|
-
"onUpdate:modelValue": Be[0] || (Be[0] = (ft) =>
|
|
1207
|
+
"onUpdate:modelValue": Be[0] || (Be[0] = (ft) => J.inputTranslateValue = ft)
|
|
1205
1208
|
}, null, 8, yY), [
|
|
1206
|
-
[vm,
|
|
1209
|
+
[vm, J.inputTranslateValue]
|
|
1207
1210
|
]),
|
|
1208
1211
|
P("p", {
|
|
1209
1212
|
id: O.field_name,
|
|
@@ -1230,7 +1233,7 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1230
1233
|
"data-i18n": "true",
|
|
1231
1234
|
name: O.field_name + "_i18n",
|
|
1232
1235
|
id: O.field_name + "_i18n",
|
|
1233
|
-
onInput: Be[1] || (Be[1] = (ft) =>
|
|
1236
|
+
onInput: Be[1] || (Be[1] = (ft) => J.$emit("update:modelValueTranslate", ft.target.value)),
|
|
1234
1237
|
ref_key: "input_translate",
|
|
1235
1238
|
ref: De
|
|
1236
1239
|
}, null, 40, _Y),
|
|
@@ -1243,8 +1246,8 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1243
1246
|
" gl-input-form-invalid form-input-translation mt-2 ": O.error_message !== ""
|
|
1244
1247
|
}),
|
|
1245
1248
|
type: O.type,
|
|
1246
|
-
onInput: Be[2] || (Be[2] = (ft) =>
|
|
1247
|
-
onKeydown: Be[3] || (Be[3] = (ft) =>
|
|
1249
|
+
onInput: Be[2] || (Be[2] = (ft) => J.$emit("update:modelValue", ft.target.value)),
|
|
1250
|
+
onKeydown: Be[3] || (Be[3] = (ft) => J.$emit("keydown", ft)),
|
|
1248
1251
|
ref_key: "input",
|
|
1249
1252
|
ref: K
|
|
1250
1253
|
}, null, 42, kY),
|
|
@@ -1307,11 +1310,11 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1307
1310
|
get() {
|
|
1308
1311
|
return Ee.modelValue;
|
|
1309
1312
|
},
|
|
1310
|
-
set(
|
|
1311
|
-
he("update:modelValue",
|
|
1313
|
+
set(J) {
|
|
1314
|
+
he("update:modelValue", J);
|
|
1312
1315
|
}
|
|
1313
1316
|
});
|
|
1314
|
-
return me({ focus: () => K.value.focus() }), (
|
|
1317
|
+
return me({ focus: () => K.value.focus() }), (J, Be) => (ve(), we(bo, null, [
|
|
1315
1318
|
O.show ? (ve(), we("div", {
|
|
1316
1319
|
key: 0,
|
|
1317
1320
|
class: rn(O.field_name)
|
|
@@ -1343,7 +1346,7 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1343
1346
|
}),
|
|
1344
1347
|
type: O.type,
|
|
1345
1348
|
"onUpdate:modelValue": Be[0] || (Be[0] = (ft) => De.value = ft),
|
|
1346
|
-
onKeydown: Be[1] || (Be[1] = (ft) =>
|
|
1349
|
+
onKeydown: Be[1] || (Be[1] = (ft) => J.$emit("keydown", ft)),
|
|
1347
1350
|
ref_key: "input",
|
|
1348
1351
|
ref: K,
|
|
1349
1352
|
placeholder: O.placeholder
|
|
@@ -1413,11 +1416,11 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1413
1416
|
get() {
|
|
1414
1417
|
return Ee.modelValue;
|
|
1415
1418
|
},
|
|
1416
|
-
set(
|
|
1417
|
-
he("update:modelValue",
|
|
1419
|
+
set(J) {
|
|
1420
|
+
he("update:modelValue", J);
|
|
1418
1421
|
}
|
|
1419
1422
|
});
|
|
1420
|
-
return me({ focus: () => K.value.focus() }), (
|
|
1423
|
+
return me({ focus: () => K.value.focus() }), (J, Be) => (ve(), we(bo, null, [
|
|
1421
1424
|
O.show ? (ve(), we("div", {
|
|
1422
1425
|
key: 0,
|
|
1423
1426
|
class: rn(O.field_name)
|
|
@@ -1451,7 +1454,7 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1451
1454
|
}, "!border-e-0 !rounded-s-lg"]),
|
|
1452
1455
|
type: O.type,
|
|
1453
1456
|
"onUpdate:modelValue": Be[0] || (Be[0] = (ft) => De.value = ft),
|
|
1454
|
-
onKeydown: Be[1] || (Be[1] = (ft) =>
|
|
1457
|
+
onKeydown: Be[1] || (Be[1] = (ft) => J.$emit("keydown", ft)),
|
|
1455
1458
|
ref_key: "input",
|
|
1456
1459
|
ref: K,
|
|
1457
1460
|
placeholder: O.placeholder
|
|
@@ -1516,7 +1519,7 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1516
1519
|
set(ft) {
|
|
1517
1520
|
K.value.start = ft, Be(K.value.start, K.value.end), Ee("update:modelValue", { start: K.value.start, end: K.value.end }), Ee("keydown", { start: K.value.start, end: K.value.end });
|
|
1518
1521
|
}
|
|
1519
|
-
}),
|
|
1522
|
+
}), J = vc({
|
|
1520
1523
|
get() {
|
|
1521
1524
|
return se.modelValue.end;
|
|
1522
1525
|
},
|
|
@@ -1572,10 +1575,10 @@ const Rae = /* @__PURE__ */ Jr(KK, [["render", XK]]), JK = { class: "font-bold p
|
|
|
1572
1575
|
"gl-input-form-invalid": O.error_message !== "" || he.value !== ""
|
|
1573
1576
|
}),
|
|
1574
1577
|
type: "date",
|
|
1575
|
-
"onUpdate:modelValue": jt[1] || (jt[1] = (xn) =>
|
|
1578
|
+
"onUpdate:modelValue": jt[1] || (jt[1] = (xn) => J.value = xn),
|
|
1576
1579
|
placeholder: O.placeholder
|
|
1577
1580
|
}, null, 10, JY), [
|
|
1578
|
-
[vm,
|
|
1581
|
+
[vm, J.value]
|
|
1579
1582
|
])
|
|
1580
1583
|
]),
|
|
1581
1584
|
P("div", QY, [
|
|
@@ -1693,7 +1696,7 @@ function bX(O, me, se, Ee, he, K) {
|
|
|
1693
1696
|
P("ul", mX, [
|
|
1694
1697
|
(ve(!0), we(bo, null, kr(Ee.tabs, (De) => (ve(), we("li", {
|
|
1695
1698
|
key: De.title,
|
|
1696
|
-
onClick: (
|
|
1699
|
+
onClick: (J) => Ee.selectedTitle = De.title,
|
|
1697
1700
|
class: "flex-auto -mb-px text-center"
|
|
1698
1701
|
}, [
|
|
1699
1702
|
P("a", {
|
|
@@ -1794,9 +1797,9 @@ const Hae = /* @__PURE__ */ Jr(vX, [["render", xX]]), wX = {
|
|
|
1794
1797
|
let O = this, me = document.getElementById("slider_" + this.Random_string);
|
|
1795
1798
|
const se = (he) => {
|
|
1796
1799
|
me.style.cursor = "grabbing";
|
|
1797
|
-
const K = (
|
|
1798
|
-
const Be =
|
|
1799
|
-
Math.abs(jt) > Math.abs(xn) ? (
|
|
1800
|
+
const K = (J) => {
|
|
1801
|
+
const Be = J.clientX || J.touches && J.touches[0] && J.touches[0].clientX, ft = J.clientY || J.touches && J.touches[0] && J.touches[0].clientY, jt = Be - O.initialX, xn = ft - O.initialY;
|
|
1802
|
+
Math.abs(jt) > Math.abs(xn) ? (J.preventDefault(), Math.abs(jt) >= 70 && (jt < 0 ? O.next() : O.prev(), O.initialX = Be)) : me.style.cursor = "grab", Math.abs(xn) > Math.abs(jt) && (me.style.cursor = "grab");
|
|
1800
1803
|
}, De = () => {
|
|
1801
1804
|
document.removeEventListener("mousemove", K), document.removeEventListener("touchmove", K), document.removeEventListener("mouseup", De), document.removeEventListener("touchend", De), me.style.cursor = "grab";
|
|
1802
1805
|
};
|
|
@@ -1813,17 +1816,17 @@ const Hae = /* @__PURE__ */ Jr(vX, [["render", xX]]), wX = {
|
|
|
1813
1816
|
this.currentDot > 1 && (this.currentDot--, this.setDot(this.currentDot));
|
|
1814
1817
|
},
|
|
1815
1818
|
initSlider() {
|
|
1816
|
-
let O = document.getElementById("sliderContainer_" + this.Random_string), me = document.getElementById("mainSliderContainer_" + this.Random_string), se = document.getElementById("slider_" + this.Random_string), Ee = se.querySelectorAll("li"), he = Array.from(Ee).filter((
|
|
1819
|
+
let O = document.getElementById("sliderContainer_" + this.Random_string), me = document.getElementById("mainSliderContainer_" + this.Random_string), se = document.getElementById("slider_" + this.Random_string), Ee = se.querySelectorAll("li"), he = Array.from(Ee).filter((J) => J.parentNode === se), K = O.clientWidth, De = K / this.elementsToShow;
|
|
1817
1820
|
if (this.elementsToShow > 1 ? document.body.clientWidth < 1e3 ? (this.elementsToShow = 1, De = this.hide_arrow ? me.clientWidth : K) : document.body.clientWidth < 1500 && (this.elementsToShow = 2) : (this.elementsToShow = 1, De = this.hide_arrow ? me.clientWidth : K), he.length > 1) {
|
|
1818
1821
|
this.dotsNum = this.elementsToShow == 1 ? he.length : he.length - this.elementsToShow + 1;
|
|
1819
|
-
let
|
|
1822
|
+
let J = this.elementsToShow == 1 ? De * he.length / this.dotsNum : De * (he.length - this.elementsToShow) / (this.dotsNum - 1);
|
|
1820
1823
|
this.dotsNavigation = [];
|
|
1821
1824
|
for (let Be = 0; Be < this.dotsNum; Be++)
|
|
1822
|
-
this.dotsNavigation.push(
|
|
1825
|
+
this.dotsNavigation.push(J * Be);
|
|
1823
1826
|
}
|
|
1824
1827
|
se.style.width = he.length * De + "px", se.style.transition = "margin", se.style.transitionDuration = "1s";
|
|
1825
|
-
for (let
|
|
1826
|
-
const Be = he[
|
|
1828
|
+
for (let J = 0; J < he.length; J++) {
|
|
1829
|
+
const Be = he[J];
|
|
1827
1830
|
Be.style.width = De + "px";
|
|
1828
1831
|
}
|
|
1829
1832
|
},
|
|
@@ -2080,7 +2083,7 @@ function kJ(O, me, se, Ee, he, K) {
|
|
|
2080
2083
|
role: "button",
|
|
2081
2084
|
class: rn(["gl-dot", { active: O.currentDot == De }]),
|
|
2082
2085
|
key: De,
|
|
2083
|
-
onClick: (
|
|
2086
|
+
onClick: (J) => K.setDot(De)
|
|
2084
2087
|
}, KX, 10, GX))), 128))
|
|
2085
2088
|
], 2)) : pt("", !0),
|
|
2086
2089
|
se.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (ve(), we("div", YX, [
|
|
@@ -2091,7 +2094,7 @@ function kJ(O, me, se, Ee, he, K) {
|
|
|
2091
2094
|
role: "button",
|
|
2092
2095
|
class: rn(["gl-dot", { active: O.currentDot == De }]),
|
|
2093
2096
|
key: De,
|
|
2094
|
-
onClick: (
|
|
2097
|
+
onClick: (J) => K.setDot(De)
|
|
2095
2098
|
}, QX, 10, XX))), 128))
|
|
2096
2099
|
], 2),
|
|
2097
2100
|
O.dotsNum > 0 ? (ve(), we("div", eJ, [
|
|
@@ -2185,11 +2188,11 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
|
|
|
2185
2188
|
};
|
|
2186
2189
|
return ST(
|
|
2187
2190
|
() => se.is_open,
|
|
2188
|
-
(
|
|
2189
|
-
|
|
2191
|
+
(J, Be) => {
|
|
2192
|
+
J ? he() : K();
|
|
2190
2193
|
},
|
|
2191
2194
|
{ immediate: !0, deep: !0 }
|
|
2192
|
-
), (
|
|
2195
|
+
), (J, Be) => O.is_open ? (ve(), we("div", {
|
|
2193
2196
|
key: 0,
|
|
2194
2197
|
class: rn(["fixed left-0 top-13 h-full w-full overflow-y-auto overflow-x-hidden outline-none inset-0 bg-black bg-opacity-80", O.has_large_z_index ? "z-[9999]" : "z-[1055]"]),
|
|
2195
2198
|
tabindex: "-1",
|
|
@@ -2211,10 +2214,10 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
|
|
|
2211
2214
|
P("div", {
|
|
2212
2215
|
class: rn(["relative overflow-y-auto", O.bodyClass])
|
|
2213
2216
|
}, [
|
|
2214
|
-
vf(
|
|
2217
|
+
vf(J.$slots, "body")
|
|
2215
2218
|
], 2),
|
|
2216
2219
|
P("div", RJ, [
|
|
2217
|
-
vf(
|
|
2220
|
+
vf(J.$slots, "buttons"),
|
|
2218
2221
|
P("button", {
|
|
2219
2222
|
onClick: De,
|
|
2220
2223
|
type: "button",
|
|
@@ -2282,7 +2285,7 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
|
|
|
2282
2285
|
Ee("update:modelValue", De);
|
|
2283
2286
|
}
|
|
2284
2287
|
});
|
|
2285
|
-
return (De,
|
|
2288
|
+
return (De, J) => (ve(), we(bo, null, [
|
|
2286
2289
|
O.show ? (ve(), we("div", {
|
|
2287
2290
|
key: 0,
|
|
2288
2291
|
class: rn(O.field_name)
|
|
@@ -2328,7 +2331,7 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
|
|
|
2328
2331
|
"false-value": 0,
|
|
2329
2332
|
ref_key: "input",
|
|
2330
2333
|
ref: he,
|
|
2331
|
-
"onUpdate:modelValue":
|
|
2334
|
+
"onUpdate:modelValue": J[0] || (J[0] = (Be) => K.value = Be)
|
|
2332
2335
|
}, null, 8, VJ), [
|
|
2333
2336
|
[QG, K.value]
|
|
2334
2337
|
]),
|
|
@@ -2393,7 +2396,7 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
|
|
|
2393
2396
|
Ee("update:modelValue", De);
|
|
2394
2397
|
}
|
|
2395
2398
|
});
|
|
2396
|
-
return (De,
|
|
2399
|
+
return (De, J) => (ve(), we(bo, null, [
|
|
2397
2400
|
O.show ? (ve(), we("div", {
|
|
2398
2401
|
key: 0,
|
|
2399
2402
|
class: rn(O.field_name)
|
|
@@ -2435,7 +2438,7 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
|
|
|
2435
2438
|
id: O.field_name,
|
|
2436
2439
|
ref_key: "input",
|
|
2437
2440
|
ref: he,
|
|
2438
|
-
"onUpdate:modelValue":
|
|
2441
|
+
"onUpdate:modelValue": J[0] || (J[0] = (Be) => K.value = Be)
|
|
2439
2442
|
}, null, 8, eQ), [
|
|
2440
2443
|
[QG, K.value]
|
|
2441
2444
|
]),
|
|
@@ -2450,7 +2453,10 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
|
|
|
2450
2453
|
}, sQ = { class: "font-bold ptext-lg dark:text-white" }, rQ = { class: "mt-3 mb-4" }, aQ = { class: "bg-blue-100 text-blue-800 text-sm font-medium mb-2 mt-2 me-2 px-2.5 py-0.5 rounded dark:bg-blue-900 dark:text-blue-300" }, lQ = /* @__PURE__ */ P("hr", { class: "!opacity-100 bg-gray-200 border-0 dark:bg-gray-700" }, null, -1), cQ = ["name", "id", "value"], iQ = {
|
|
2451
2454
|
key: 0,
|
|
2452
2455
|
class: "dropdown"
|
|
2453
|
-
}, uQ = { class: "relative focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:focus:ring-blue-500 dark:focus:border-blue-500" }, dQ = { class: "relative showOptions" }, mQ = ["value", "placeholder"], fQ = {
|
|
2456
|
+
}, uQ = { class: "relative focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:focus:ring-blue-500 dark:focus:border-blue-500" }, dQ = { class: "relative showOptions" }, mQ = ["value", "placeholder"], fQ = {
|
|
2457
|
+
class: "text-gray-700 bg-white dark:border-strokedark dark:bg-boxdark dark:text-gray-200 !border-b !border-t-0 !border-r !border-l fixed w-full z-[999999999]",
|
|
2458
|
+
style: { width: "calc(100% - 37px)" }
|
|
2459
|
+
}, gQ = { class: "p-1" }, hQ = /* @__PURE__ */ P("label", {
|
|
2454
2460
|
for: "default-search",
|
|
2455
2461
|
class: "mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"
|
|
2456
2462
|
}, "Search", -1), pQ = { class: "relative" }, bQ = /* @__PURE__ */ P("div", { class: "absolute inset-y-0 flex items-center pointer-events-none start-0 ps-3" }, [
|
|
@@ -2544,7 +2550,7 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
|
|
|
2544
2550
|
},
|
|
2545
2551
|
emits: ["update:modelValue", "selected", "selectionChanged"],
|
|
2546
2552
|
setup(O, { emit: me }) {
|
|
2547
|
-
const se = O, Ee = me, he = Wo(null), K = Wo({}), De = Wo(0),
|
|
2553
|
+
const se = O, Ee = me, he = Wo(null), K = Wo({}), De = Wo(0), J = Wo(!1), Be = Wo(""), ft = Wo("");
|
|
2548
2554
|
Oh(() => {
|
|
2549
2555
|
ft.value = ir(), se.show || (document.body.addEventListener("click", (St) => {
|
|
2550
2556
|
Pt(St);
|
|
@@ -2587,7 +2593,7 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
|
|
|
2587
2593
|
return St !== null && typeof St == "object" && Object.keys(St).length > 0;
|
|
2588
2594
|
}
|
|
2589
2595
|
function Pt(St) {
|
|
2590
|
-
St.target.id != se.field_name + "search" + ft.value && St.target.id != se.field_name && !St.target.classList.contains("showOptions") && (os(), De.value = 0,
|
|
2596
|
+
St.target.id != se.field_name + "search" + ft.value && St.target.id != se.field_name && !St.target.classList.contains("showOptions") && (os(), De.value = 0, J.value = !1);
|
|
2591
2597
|
}
|
|
2592
2598
|
function ur(St) {
|
|
2593
2599
|
const He = `${St}${ft.value}`, ie = document.getElementById(He);
|
|
@@ -2618,15 +2624,15 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
|
|
|
2618
2624
|
) || {};
|
|
2619
2625
|
}
|
|
2620
2626
|
function Xn(St) {
|
|
2621
|
-
K.value = St,
|
|
2627
|
+
K.value = St, J.value = !1, Ee("update:modelValue", K.value.id), Ee("selected", K.value), Ee("selectionChanged", K.value);
|
|
2622
2628
|
}
|
|
2623
2629
|
function oe() {
|
|
2624
2630
|
if (!se.show) {
|
|
2625
|
-
if (
|
|
2626
|
-
|
|
2631
|
+
if (J.value) {
|
|
2632
|
+
J.value = !1;
|
|
2627
2633
|
return;
|
|
2628
2634
|
}
|
|
2629
|
-
Be.value = "",
|
|
2635
|
+
Be.value = "", J.value = !0, Dj(() => {
|
|
2630
2636
|
var St = document.getElementById(
|
|
2631
2637
|
`${se.field_name}search${ft.value}`
|
|
2632
2638
|
);
|
|
@@ -2699,51 +2705,51 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
|
|
|
2699
2705
|
]),
|
|
2700
2706
|
P("i", {
|
|
2701
2707
|
onClick: He[2] || (He[2] = (Ge) => oe()),
|
|
2702
|
-
class: rn([
|
|
2708
|
+
class: rn([J.value ? "fa-angle-up" : "fa-angle-down", "absolute text-xl text-gray-500 cursor-pointer fas right-2 hover:text-gray-700 dark:hover:text-gray-800 showOptions"]),
|
|
2703
2709
|
style: { top: "11px" }
|
|
2704
|
-
}, null, 2)
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2710
|
+
}, null, 2),
|
|
2711
|
+
Qa(P("div", fQ, [
|
|
2712
|
+
P("div", gQ, [
|
|
2713
|
+
hQ,
|
|
2714
|
+
P("div", pQ, [
|
|
2715
|
+
bQ,
|
|
2716
|
+
Qa(P("input", {
|
|
2717
|
+
type: "search",
|
|
2718
|
+
"onUpdate:modelValue": He[3] || (He[3] = (Ge) => Be.value = Ge),
|
|
2719
|
+
ref: he.value,
|
|
2720
|
+
id: `${O.field_name}search${ft.value}`,
|
|
2721
|
+
onKeydown: Zo,
|
|
2722
|
+
onBlur: He[4] || (He[4] = (Ge) => os()),
|
|
2723
|
+
autocomplete: "off",
|
|
2724
|
+
class: "block w-full p-2 text-sm text-gray-900 border rounded-lg outline-none border-frontend ps-10 bg-gray-50 focus:border-frontend dark:bg-gray-700 dark:border-frontenddark dark:placeholder-frontenddark dark:text-white dark:focus:border-frontenddark",
|
|
2725
|
+
placeholder: "Search ..."
|
|
2726
|
+
}, null, 40, vQ), [
|
|
2727
|
+
[vm, Be.value]
|
|
2728
|
+
])
|
|
2723
2729
|
])
|
|
2730
|
+
]),
|
|
2731
|
+
P("div", yQ, [
|
|
2732
|
+
(ve(!0), we(bo, null, kr(zn.value, (Ge, A) => {
|
|
2733
|
+
var Xt;
|
|
2734
|
+
return ve(), we("div", {
|
|
2735
|
+
class: rn(["relative px-2 py-2 text-xs leading-4 text-gray-700 no-underline cursor-pointer dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white", A + 1 == De.value ? "bg-gray-100 dark:bg-gray-600" : ""]),
|
|
2736
|
+
onClick: (nt) => Xn(Ge),
|
|
2737
|
+
onMousedown: (nt) => Xn(Ge),
|
|
2738
|
+
key: A,
|
|
2739
|
+
id: `${A + 1}${ft.value}`
|
|
2740
|
+
}, [
|
|
2741
|
+
P("div", wQ, [
|
|
2742
|
+
((Xt = xn.value) == null ? void 0 : Xt.id) === Ge.id ? (ve(), we("svg", CQ, _Q)) : pt("", !0),
|
|
2743
|
+
P("span", {
|
|
2744
|
+
innerHTML: Ge.name || Ge.id || "-"
|
|
2745
|
+
}, null, 8, kQ)
|
|
2746
|
+
])
|
|
2747
|
+
], 42, xQ);
|
|
2748
|
+
}), 128))
|
|
2724
2749
|
])
|
|
2725
|
-
]),
|
|
2726
|
-
|
|
2727
|
-
(ve(!0), we(bo, null, kr(zn.value, (Ge, A) => {
|
|
2728
|
-
var Xt;
|
|
2729
|
-
return ve(), we("div", {
|
|
2730
|
-
class: rn(["relative px-2 py-2 text-xs leading-4 text-gray-700 no-underline cursor-pointer dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white", A + 1 == De.value ? "bg-gray-100 dark:bg-gray-600" : ""]),
|
|
2731
|
-
onClick: (nt) => Xn(Ge),
|
|
2732
|
-
onMousedown: (nt) => Xn(Ge),
|
|
2733
|
-
key: A,
|
|
2734
|
-
id: `${A + 1}${ft.value}`
|
|
2735
|
-
}, [
|
|
2736
|
-
P("div", wQ, [
|
|
2737
|
-
((Xt = xn.value) == null ? void 0 : Xt.id) === Ge.id ? (ve(), we("svg", CQ, _Q)) : pt("", !0),
|
|
2738
|
-
P("span", {
|
|
2739
|
-
innerHTML: Ge.name || Ge.id || "-"
|
|
2740
|
-
}, null, 8, kQ)
|
|
2741
|
-
])
|
|
2742
|
-
], 42, xQ);
|
|
2743
|
-
}), 128))
|
|
2750
|
+
], 512), [
|
|
2751
|
+
[n5, J.value]
|
|
2744
2752
|
])
|
|
2745
|
-
], 512), [
|
|
2746
|
-
[n5, X.value]
|
|
2747
2753
|
])
|
|
2748
2754
|
])
|
|
2749
2755
|
])) : pt("", !0),
|
|
@@ -2807,11 +2813,11 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
|
|
|
2807
2813
|
get() {
|
|
2808
2814
|
return Ee.modelValue;
|
|
2809
2815
|
},
|
|
2810
|
-
set(
|
|
2811
|
-
he("update:modelValue",
|
|
2816
|
+
set(J) {
|
|
2817
|
+
he("update:modelValue", J);
|
|
2812
2818
|
}
|
|
2813
2819
|
});
|
|
2814
|
-
return me({ focus: () => K.value.focus() }), (
|
|
2820
|
+
return me({ focus: () => K.value.focus() }), (J, Be) => (ve(), we(bo, null, [
|
|
2815
2821
|
O.show ? (ve(), we("div", {
|
|
2816
2822
|
key: 0,
|
|
2817
2823
|
class: rn(O.field_name)
|
|
@@ -2845,7 +2851,7 @@ const Vae = /* @__PURE__ */ Jr(wX, [["render", kJ], ["__scopeId", "data-v-a94f16
|
|
|
2845
2851
|
}),
|
|
2846
2852
|
type: O.type,
|
|
2847
2853
|
"onUpdate:modelValue": Be[0] || (Be[0] = (ft) => De.value = ft),
|
|
2848
|
-
onKeydown: Be[1] || (Be[1] = (ft) =>
|
|
2854
|
+
onKeydown: Be[1] || (Be[1] = (ft) => J.$emit("keydown", ft)),
|
|
2849
2855
|
ref_key: "input",
|
|
2850
2856
|
ref: K,
|
|
2851
2857
|
rows: "4",
|
|
@@ -2893,7 +2899,7 @@ var tq = { exports: {} };
|
|
|
2893
2899
|
return { eq: e };
|
|
2894
2900
|
}, De = K(function(e, n) {
|
|
2895
2901
|
return e === n;
|
|
2896
|
-
}),
|
|
2902
|
+
}), J = De, Be = function(e) {
|
|
2897
2903
|
return K(function(n, o) {
|
|
2898
2904
|
if (n.length !== o.length)
|
|
2899
2905
|
return !1;
|
|
@@ -2909,7 +2915,7 @@ var tq = { exports: {} };
|
|
|
2909
2915
|
}, jt = function(e) {
|
|
2910
2916
|
return K(function(n, o) {
|
|
2911
2917
|
var r = Object.keys(n), l = Object.keys(o);
|
|
2912
|
-
if (!ft(
|
|
2918
|
+
if (!ft(J).eq(r, l))
|
|
2913
2919
|
return !1;
|
|
2914
2920
|
for (var u = r.length, f = 0; f < u; f++) {
|
|
2915
2921
|
var b = r[f];
|
|
@@ -20269,7 +20275,7 @@ tinymce.IconManager.add("default", {
|
|
|
20269
20275
|
}, se = (t) => {
|
|
20270
20276
|
const s = typeof t;
|
|
20271
20277
|
return t === null ? "null" : s === "object" && Array.isArray(t) ? "array" : s === "object" && me(t, String, (a, c) => c.isPrototypeOf(a)) ? "string" : s;
|
|
20272
|
-
}, Ee = (t) => (s) => se(s) === t, he = (t) => (s) => typeof s === t, K = (t) => (s) => t === s, De = (t, s) => Be(t) && me(t, s, (a, c) => O(a) === c),
|
|
20278
|
+
}, Ee = (t) => (s) => se(s) === t, he = (t) => (s) => typeof s === t, K = (t) => (s) => t === s, De = (t, s) => Be(t) && me(t, s, (a, c) => O(a) === c), J = Ee("string"), Be = Ee("object"), ft = (t) => De(t, Object), jt = Ee("array"), xn = K(null), zn = he("boolean"), Zo = K(void 0), ir = (t) => t == null, No = (t) => !ir(t), Pt = he("function"), ur = he("number"), mn = (t, s) => {
|
|
20273
20279
|
if (jt(t)) {
|
|
20274
20280
|
for (let a = 0, c = t.length; a < c; ++a)
|
|
20275
20281
|
if (!s(t[a]))
|
|
@@ -20642,7 +20648,7 @@ tinymce.IconManager.add("default", {
|
|
|
20642
20648
|
throw new Error("Body is not available yet");
|
|
20643
20649
|
return Te.fromDom(s);
|
|
20644
20650
|
}, bu = (t, s, a) => {
|
|
20645
|
-
if (
|
|
20651
|
+
if (J(a) || zn(a) || ur(a))
|
|
20646
20652
|
t.setAttribute(s, a + "");
|
|
20647
20653
|
else
|
|
20648
20654
|
throw console.error("Invalid call to Attribute.set. Key ", s, ":: Value ", a, ":: Element ", t), new Error("Attribute value was not simple");
|
|
@@ -20662,7 +20668,7 @@ tinymce.IconManager.add("default", {
|
|
|
20662
20668
|
}, re = (t, s) => {
|
|
20663
20669
|
t.dom.removeAttribute(s);
|
|
20664
20670
|
}, Le = (t) => Ho(t.dom.attributes, (s, a) => (s[a.name] = a.value, s), {}), Ot = (t, s, a) => {
|
|
20665
|
-
if (!
|
|
20671
|
+
if (!J(a))
|
|
20666
20672
|
throw console.error("Invalid call to CSS.set. Property ", s, ":: Value ", a, ":: Element ", t), new Error("CSS value must be a string: " + a);
|
|
20667
20673
|
Dr(t) && t.style.setProperty(s, a);
|
|
20668
20674
|
}, Kn = (t, s) => {
|
|
@@ -21372,7 +21378,7 @@ tinymce.IconManager.add("default", {
|
|
|
21372
21378
|
}, ku = Ea(_u, nn), Mr = oe(Dn), td = (t, s) => qt((a) => {
|
|
21373
21379
|
const c = typeof a;
|
|
21374
21380
|
return t(a) ? sr.svalue(a) : sr.serror(`Expected type: ${s} but got: ${c}`);
|
|
21375
|
-
}), Fg = td(ur, "number"), ba = td(
|
|
21381
|
+
}), Fg = td(ur, "number"), ba = td(J, "string"), ru = td(zn, "boolean"), Uh = td(Pt, "function"), Tu = (t) => {
|
|
21376
21382
|
if (Object(t) !== t)
|
|
21377
21383
|
return !0;
|
|
21378
21384
|
switch ({}.toString.call(t).slice(8, -1)) {
|
|
@@ -21448,7 +21454,7 @@ Input object: ` + Lg(t.input), co = (t, s) => it(t, qo(s, nn)), kf = (t, s) => u
|
|
|
21448
21454
|
if (s.length !== H.length)
|
|
21449
21455
|
throw new Error("Wrong number of arguments to match. Expected: " + s.join(",") + `
|
|
21450
21456
|
Actual: ` + H.join(","));
|
|
21451
|
-
if (!vn(s, (
|
|
21457
|
+
if (!vn(s, (X) => jo(H, X)))
|
|
21452
21458
|
throw new Error("Not all branches were specified when using match. Specified: " + H.join(", ") + `
|
|
21453
21459
|
Required: ` + s.join(", "));
|
|
21454
21460
|
return B[p].apply(null, C);
|
|
@@ -21983,8 +21989,8 @@ The behaviours that can trigger it are: ` + JSON.stringify(et(s, (a) => a.name),
|
|
|
21983
21989
|
toRemove: R
|
|
21984
21990
|
} = $u(t.styles, C), B = () => {
|
|
21985
21991
|
bt(R, (Oe) => fo(s, Oe)), $s(s, E);
|
|
21986
|
-
}, H = sp(s), W = Ft(H, t.classes),
|
|
21987
|
-
ar(s,
|
|
21992
|
+
}, H = sp(s), W = Ft(H, t.classes), X = Ft(t.classes, H), ce = () => {
|
|
21993
|
+
ar(s, X), ki(s, W);
|
|
21988
21994
|
}, $e = (Oe) => {
|
|
21989
21995
|
Kg(s, Oe);
|
|
21990
21996
|
}, xe = () => {
|
|
@@ -22032,7 +22038,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(et(s, (a) => a.name),
|
|
|
22032
22038
|
c.set(ut);
|
|
22033
22039
|
}, W = () => {
|
|
22034
22040
|
c.set(Fm(a));
|
|
22035
|
-
},
|
|
22041
|
+
}, X = () => {
|
|
22036
22042
|
const ut = $a(E), Xe = _e(ut, (je) => c.get().getByDom(je).fold(() => [], Io));
|
|
22037
22043
|
B.set(Xe);
|
|
22038
22044
|
}, ce = (ut) => {
|
|
@@ -22051,7 +22057,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(et(s, (a) => a.name),
|
|
|
22051
22057
|
connect: H,
|
|
22052
22058
|
disconnect: W,
|
|
22053
22059
|
element: E,
|
|
22054
|
-
syncComponents:
|
|
22060
|
+
syncComponents: X,
|
|
22055
22061
|
components: B.get,
|
|
22056
22062
|
events: R
|
|
22057
22063
|
};
|
|
@@ -22299,8 +22305,8 @@ The behaviours that can trigger it are: ` + JSON.stringify(et(s, (a) => a.name),
|
|
|
22299
22305
|
"bottom"
|
|
22300
22306
|
], (a) => vt(s, a).map((c) => Qy(t, c))), zb = (t, s, a) => {
|
|
22301
22307
|
const c = (C, E) => s[C].map((R) => {
|
|
22302
|
-
const B = C === "top" || C === "bottom", H = B ? a.top : a.left,
|
|
22303
|
-
return B ? Ei(
|
|
22308
|
+
const B = C === "top" || C === "bottom", H = B ? a.top : a.left, X = (C === "left" || C === "top" ? Math.max : Math.min)(R, E) + H;
|
|
22309
|
+
return B ? Ei(X, t.y, t.bottom) : Ei(X, t.x, t.right);
|
|
22304
22310
|
}).getOr(E), d = c("left", t.x), g = c("top", t.y), p = c("right", t.right), x = c("bottom", t.bottom);
|
|
22305
22311
|
return Ps(d, g, p - d, x - g);
|
|
22306
22312
|
}, Wm = "layout", e2 = (t) => t.x, Ub = (t, s) => t.x + t.width / 2 - s.width / 2, t2 = (t, s) => t.x + t.width - s.width, H1 = (t, s) => t.y - s.height, fp = (t) => t.y + t.height, n2 = (t, s) => t.y + t.height / 2 - s.height / 2, jT = (t) => t.x + t.width, fc = (t, s) => t.x - s.width, xa = (t, s, a) => ya(e2(t), fp(t), a.southeast(), L1(), "southeast", Ks(t, {
|
|
@@ -22420,7 +22426,7 @@ Receiver: ` + zd(s.element), E, g.data);
|
|
|
22420
22426
|
};
|
|
22421
22427
|
},
|
|
22422
22428
|
schema: oe(s),
|
|
22423
|
-
exhibit: (B, H) => tl(x(B), vt(c, "exhibit"), (W,
|
|
22429
|
+
exhibit: (B, H) => tl(x(B), vt(c, "exhibit"), (W, X) => X(H, W.config, W.state)).getOrThunk(() => ti({})),
|
|
22424
22430
|
name: oe(a),
|
|
22425
22431
|
handlers: (B) => x(B).map((H) => vt(c, "events").getOr(() => ({}))(H.config, H.state)).getOr({})
|
|
22426
22432
|
};
|
|
@@ -22504,8 +22510,8 @@ Receiver: ` + zd(s.element), E, g.data);
|
|
|
22504
22510
|
]
|
|
22505
22511
|
}
|
|
22506
22512
|
]), CC = (t, s, a, c, d, g) => {
|
|
22507
|
-
const p = s.rect, x = p.x - a, C = p.y - c, E = p.width, R = p.height, B = d - (x + E), H = g - (C + R), W = A.some(x),
|
|
22508
|
-
return Hf(s.direction, () => Ai(t, W,
|
|
22513
|
+
const p = s.rect, x = p.x - a, C = p.y - c, E = p.width, R = p.height, B = d - (x + E), H = g - (C + R), W = A.some(x), X = A.some(C), ce = A.some(B), $e = A.some(H), xe = A.none();
|
|
22514
|
+
return Hf(s.direction, () => Ai(t, W, X, xe, xe), () => Ai(t, xe, X, ce, xe), () => Ai(t, W, xe, xe, $e), () => Ai(t, xe, xe, ce, $e), () => Ai(t, W, X, xe, xe), () => Ai(t, W, xe, xe, $e), () => Ai(t, W, X, xe, xe), () => Ai(t, xe, X, ce, xe));
|
|
22509
22515
|
}, u2 = (t, s) => t.fold(() => {
|
|
22510
22516
|
const a = s.rect;
|
|
22511
22517
|
return Ai("absolute", A.some(a.x), A.some(a.y), A.none(), A.none());
|
|
@@ -22547,9 +22553,9 @@ Receiver: ` + zd(s.element), E, g.data);
|
|
|
22547
22553
|
y: c,
|
|
22548
22554
|
right: d,
|
|
22549
22555
|
bottom: g
|
|
22550
|
-
} = s, { x: p, y: x, right: C, bottom: E, width: R, height: B } = t, H = p >= a && p <= d, W = x >= c && x <= g,
|
|
22556
|
+
} = s, { x: p, y: x, right: C, bottom: E, width: R, height: B } = t, H = p >= a && p <= d, W = x >= c && x <= g, X = H && W, ce = C <= d && C >= a, $e = E <= g && E >= c, xe = ce && $e, pe = Math.min(R, p >= a ? d - p : C - a), Oe = Math.min(B, x >= c ? g - x : E - c);
|
|
22551
22557
|
return {
|
|
22552
|
-
originInBounds:
|
|
22558
|
+
originInBounds: X,
|
|
22553
22559
|
sizeInBounds: xe,
|
|
22554
22560
|
visibleW: pe,
|
|
22555
22561
|
visibleH: Oe
|
|
@@ -22560,8 +22566,8 @@ Receiver: ` + zd(s.element), E, g.data);
|
|
|
22560
22566
|
y: c,
|
|
22561
22567
|
right: d,
|
|
22562
22568
|
bottom: g
|
|
22563
|
-
} = s, { x: p, y: x, width: C, height: E } = t, R = Math.max(a, d - C), B = Math.max(c, g - E), H = Ei(p, a, R), W = Ei(x, c, B),
|
|
22564
|
-
return Ps(H, W,
|
|
22569
|
+
} = s, { x: p, y: x, width: C, height: E } = t, R = Math.max(a, d - C), B = Math.max(c, g - E), H = Ei(p, a, R), W = Ei(x, c, B), X = Math.min(H + C, d) - H, ce = Math.min(W + E, g) - W;
|
|
22570
|
+
return Ps(H, W, X, ce);
|
|
22565
22571
|
}, sh = (t, s, a) => {
|
|
22566
22572
|
const c = oe(s.bottom - a.y), d = oe(a.bottom - s.y), g = Xy(t, d, d, c), p = oe(s.right - a.x), x = oe(a.right - s.x);
|
|
22567
22573
|
return {
|
|
@@ -22569,7 +22575,7 @@ Receiver: ` + zd(s.element), E, g.data);
|
|
|
22569
22575
|
maxHeight: g
|
|
22570
22576
|
};
|
|
22571
22577
|
}, nE = (t, s, a, c) => {
|
|
22572
|
-
const d = t.bubble, g = d.offset, p = zb(c, t.restriction, g), x = t.x + g.left, C = t.y + g.top, E = Ps(x, C, s, a), { originInBounds: R, sizeInBounds: B, visibleW: H, visibleH: W } = kC(E, p),
|
|
22578
|
+
const d = t.bubble, g = d.offset, p = zb(c, t.restriction, g), x = t.x + g.left, C = t.y + g.top, E = Ps(x, C, s, a), { originInBounds: R, sizeInBounds: B, visibleW: H, visibleH: W } = kC(E, p), X = R && B, ce = X ? E : g2(E, p), $e = ce.width > 0 && ce.height > 0, { maxWidth: xe, maxHeight: pe } = sh(t.direction, ce, c), Oe = {
|
|
22573
22579
|
rect: ce,
|
|
22574
22580
|
maxHeight: pe,
|
|
22575
22581
|
maxWidth: xe,
|
|
@@ -22582,11 +22588,11 @@ Receiver: ` + zd(s.element), E, g.data);
|
|
|
22582
22588
|
layout: t.label,
|
|
22583
22589
|
testY: C
|
|
22584
22590
|
};
|
|
22585
|
-
return
|
|
22591
|
+
return X || t.alwaysFit ? Z1.fit(Oe) : Z1.nofit(Oe, H, W, $e);
|
|
22586
22592
|
}, oE = (t, s, a, c, d, g) => {
|
|
22587
|
-
const p = c.width, x = c.height, C = (R, B, H, W,
|
|
22593
|
+
const p = c.width, x = c.height, C = (R, B, H, W, X) => {
|
|
22588
22594
|
const ce = R(a, c, d, t, g), $e = nE(ce, p, x, g);
|
|
22589
|
-
return $e.fold(oe($e), (xe, pe, Oe, ut) => (
|
|
22595
|
+
return $e.fold(oe($e), (xe, pe, Oe, ut) => (X === ut ? Oe > W || pe > H : !X && ut) ? $e : Z1.nofit(B, H, W, X));
|
|
22590
22596
|
};
|
|
22591
22597
|
return Ho(s, (R, B) => {
|
|
22592
22598
|
const H = St(C, B);
|
|
@@ -22641,7 +22647,7 @@ Receiver: ` + zd(s.element), E, g.data);
|
|
|
22641
22647
|
const x = as(t, g).split(/\s*,\s*/);
|
|
22642
22648
|
return Qn(x, ca);
|
|
22643
22649
|
}, a = (g) => {
|
|
22644
|
-
if (
|
|
22650
|
+
if (J(g) && /^[\d.]+/.test(g)) {
|
|
22645
22651
|
const p = parseFloat(g);
|
|
22646
22652
|
return vl(g, "ms") ? p : p * 1e3;
|
|
22647
22653
|
} else
|
|
@@ -22838,7 +22844,7 @@ Receiver: ` + zd(s.element), E, g.data);
|
|
|
22838
22844
|
Fo("onBottomLtr"),
|
|
22839
22845
|
Fo("onBottomRtl")
|
|
22840
22846
|
]), Yb = (t, s, a, c, d, g, p) => {
|
|
22841
|
-
const x = p.map(K1).getOr(!1), C = s.layouts.map((W) => W.onLtr(t)), E = s.layouts.map((W) => W.onRtl(t)), R = x ? s.layouts.bind((W) => W.onBottomLtr.map((
|
|
22847
|
+
const x = p.map(K1).getOr(!1), C = s.layouts.map((W) => W.onLtr(t)), E = s.layouts.map((W) => W.onRtl(t)), R = x ? s.layouts.bind((W) => W.onBottomLtr.map((X) => X(t))).or(C).getOr(d) : C.getOr(a), B = x ? s.layouts.bind((W) => W.onBottomRtl.map((X) => X(t))).or(E).getOr(g) : E.getOr(c);
|
|
22842
22848
|
return Kb(R, B)(t);
|
|
22843
22849
|
}, dE = (t, s, a) => {
|
|
22844
22850
|
const c = s.hotspot, d = d2(a, c.element), g = Yb(t.element, s, Wb(), a2(), r2(), hC(), A.some(s.hotspot.element));
|
|
@@ -23226,8 +23232,8 @@ Receiver: ` + zd(s.element), E, g.data);
|
|
|
23226
23232
|
Gt(C, "visibility", "hidden");
|
|
23227
23233
|
const B = s.useFixed() ? ov() : $E(t);
|
|
23228
23234
|
x.placement(t, x, B).each((H) => {
|
|
23229
|
-
const W = g.orThunk(() => s.getBounds.map(Ro)),
|
|
23230
|
-
a.set(c.uid,
|
|
23235
|
+
const W = g.orThunk(() => s.getBounds.map(Ro)), X = KC(B, H, W, c, E, p.transition);
|
|
23236
|
+
a.set(c.uid, X);
|
|
23231
23237
|
}), R.fold(() => {
|
|
23232
23238
|
fo(C, "visibility");
|
|
23233
23239
|
}, (H) => {
|
|
@@ -24043,29 +24049,29 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24043
24049
|
cs("state", s),
|
|
24044
24050
|
cs("sendFocusIn", d)
|
|
24045
24051
|
]), p = (E, R, B, H, W) => {
|
|
24046
|
-
const
|
|
24047
|
-
return m4(
|
|
24052
|
+
const X = B(E, R, H, W);
|
|
24053
|
+
return m4(X, R.event).bind((ce) => ce(E, R, H, W));
|
|
24048
24054
|
}, C = {
|
|
24049
24055
|
schema: g,
|
|
24050
24056
|
processKey: p,
|
|
24051
24057
|
toEvents: (E, R) => {
|
|
24052
|
-
const B = E.focusInside !== h.OnFocusMode ? A.none() : d(E).map((
|
|
24053
|
-
|
|
24054
|
-
})), H = (
|
|
24058
|
+
const B = E.focusInside !== h.OnFocusMode ? A.none() : d(E).map((X) => Je(sd(), (ce, $e) => {
|
|
24059
|
+
X(ce, E, R), $e.stop();
|
|
24060
|
+
})), H = (X, ce) => {
|
|
24055
24061
|
const $e = po(Ri.concat(Qd))(ce.event);
|
|
24056
|
-
E.focusInside === h.OnEnterOrSpaceMode && $e && Xc(
|
|
24057
|
-
xe(
|
|
24062
|
+
E.focusInside === h.OnEnterOrSpaceMode && $e && Xc(X, ce) && d(E).each((xe) => {
|
|
24063
|
+
xe(X, E, R), ce.stop();
|
|
24058
24064
|
});
|
|
24059
24065
|
}, W = [
|
|
24060
|
-
Je(Du(), (
|
|
24061
|
-
p(
|
|
24062
|
-
H(
|
|
24066
|
+
Je(Du(), (X, ce) => {
|
|
24067
|
+
p(X, ce, a, E, R).fold(() => {
|
|
24068
|
+
H(X, ce);
|
|
24063
24069
|
}, ($e) => {
|
|
24064
24070
|
ce.stop();
|
|
24065
24071
|
});
|
|
24066
24072
|
}),
|
|
24067
|
-
Je(Af(), (
|
|
24068
|
-
p(
|
|
24073
|
+
Je(Af(), (X, ce) => {
|
|
24074
|
+
p(X, ce, c, E, R).each(($e) => {
|
|
24069
24075
|
ce.stop();
|
|
24070
24076
|
});
|
|
24071
24077
|
})
|
|
@@ -24101,7 +24107,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24101
24107
|
}, R = (xe, pe, Oe) => {
|
|
24102
24108
|
const ut = Oe.cyclic ? cx : u4;
|
|
24103
24109
|
return C(xe, pe, Oe, ut);
|
|
24104
|
-
}, B = (xe) => Hl(xe).bind(hi).exists((pe) => Lo(pe, xe)), H = (xe, pe, Oe) => d(xe, Oe).filter((ut) => !Oe.useTabstopAt(ut)).bind((ut) => (B(ut) ? E : R)(xe, pe, Oe)), W = (xe, pe, Oe) => Oe.onEnter.bind((ut) => ut(xe, pe)),
|
|
24110
|
+
}, B = (xe) => Hl(xe).bind(hi).exists((pe) => Lo(pe, xe)), H = (xe, pe, Oe) => d(xe, Oe).filter((ut) => !Oe.useTabstopAt(ut)).bind((ut) => (B(ut) ? E : R)(xe, pe, Oe)), W = (xe, pe, Oe) => Oe.onEnter.bind((ut) => ut(xe, pe)), X = (xe, pe, Oe) => Oe.onEscape.bind((ut) => ut(xe, pe)), ce = oe([
|
|
24105
24111
|
ko($i([
|
|
24106
24112
|
nf,
|
|
24107
24113
|
po(ef)
|
|
@@ -24112,7 +24118,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24112
24118
|
po(Qd)
|
|
24113
24119
|
]), W)
|
|
24114
24120
|
]), $e = oe([
|
|
24115
|
-
ko(po(_v),
|
|
24121
|
+
ko(po(_v), X),
|
|
24116
24122
|
ko(po(ef), H)
|
|
24117
24123
|
]);
|
|
24118
24124
|
return v(s, Ru.init, ce, $e, () => A.some(p));
|
|
@@ -24912,12 +24918,12 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24912
24918
|
}, H = (Xe) => vt(t.get(), Xe).map((je) => {
|
|
24913
24919
|
const yt = vt(a.get(), Xe).getOr([]);
|
|
24914
24920
|
return [je].concat(yt);
|
|
24915
|
-
}), W = (Xe) => vt(a.get(), Xe).bind((je) => je.length > 1 ? A.some(je.slice(1)) : A.none()),
|
|
24921
|
+
}), W = (Xe) => vt(a.get(), Xe).bind((je) => je.length > 1 ? A.some(je.slice(1)) : A.none()), X = (Xe) => vt(a.get(), Xe), ce = (Xe) => $e(Xe).bind(Ov), $e = (Xe) => vt(s.get(), Xe), xe = (Xe) => vt(t.get(), Xe);
|
|
24916
24922
|
return {
|
|
24917
24923
|
setMenuBuilt: x,
|
|
24918
24924
|
setContents: C,
|
|
24919
24925
|
expand: H,
|
|
24920
|
-
refresh:
|
|
24926
|
+
refresh: X,
|
|
24921
24927
|
collapse: W,
|
|
24922
24928
|
lookupMenu: $e,
|
|
24923
24929
|
lookupItem: xe,
|
|
@@ -24992,7 +24998,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24992
24998
|
Yt[_s] = In;
|
|
24993
24999
|
});
|
|
24994
25000
|
}), a.set(Yt), Yt;
|
|
24995
|
-
}),
|
|
25001
|
+
}), X = (At, Yt) => {
|
|
24996
25002
|
const An = W(At);
|
|
24997
25003
|
us(An, ($n, bn) => {
|
|
24998
25004
|
const In = jo(Yt, bn);
|
|
@@ -25023,17 +25029,17 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25023
25029
|
return A.some(Yt);
|
|
25024
25030
|
{
|
|
25025
25031
|
const $n = p(Yt);
|
|
25026
|
-
return d.expand($n).bind((bn) => (
|
|
25032
|
+
return d.expand($n).bind((bn) => (X(At, bn), A.from(bn[0]).bind((In) => d.lookupMenu(In).bind((_s) => {
|
|
25027
25033
|
const To = xe(At, In, _s);
|
|
25028
25034
|
return ao(To.element) || Bn.append(At, Ti(To)), t.onOpenSubmenu(At, Yt, To, Go(bn)), An === $e.HighlightSubmenu ? (Po.highlightFirst(To), ce(At, d, bn)) : (Po.dehighlightAll(To), A.some(Yt));
|
|
25029
25035
|
}))));
|
|
25030
25036
|
}
|
|
25031
25037
|
}, Oe = (At, Yt) => {
|
|
25032
25038
|
const An = p(Yt);
|
|
25033
|
-
return d.collapse(An).bind(($n) => (
|
|
25039
|
+
return d.collapse(An).bind(($n) => (X(At, $n), ce(At, d, $n).map((bn) => (t.onCollapseMenu(At, Yt, bn), bn))));
|
|
25034
25040
|
}, ut = (At, Yt) => {
|
|
25035
25041
|
const An = p(Yt);
|
|
25036
|
-
return d.refresh(An).bind(($n) => (
|
|
25042
|
+
return d.refresh(An).bind(($n) => (X(At, $n), ce(At, d, $n)));
|
|
25037
25043
|
}, Xe = (At, Yt) => mh(Yt.element) ? A.none() : pe(At, Yt, $e.HighlightSubmenu), je = (At, Yt) => mh(Yt.element) ? A.none() : Oe(At, Yt), yt = (At, Yt) => Oe(At, Yt).orThunk(() => t.onEscape(At, Yt).map(() => At)), Et = (At) => (Yt, An) => cd(An.getSource(), `.${t.markers.item}`).bind(($n) => Yt.getSystem().getByDom($n).toOptional().bind((bn) => At(Yt, bn).map(Ge))), Vn = Es([
|
|
25038
25044
|
Je(rR(), (At, Yt) => {
|
|
25039
25045
|
const An = Yt.event.item;
|
|
@@ -25213,12 +25219,12 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25213
25219
|
onRepositionMenu: (E, R, B) => {
|
|
25214
25220
|
const H = g().getOrDie();
|
|
25215
25221
|
El.positionWithinBounds(H, R, a, d()), bt(B, (W) => {
|
|
25216
|
-
const
|
|
25222
|
+
const X = C(W.triggeringPath);
|
|
25217
25223
|
El.position(H, W.triggeredMenu, {
|
|
25218
25224
|
anchor: {
|
|
25219
25225
|
type: "submenu",
|
|
25220
25226
|
item: W.triggeringItem,
|
|
25221
|
-
...
|
|
25227
|
+
...X
|
|
25222
25228
|
}
|
|
25223
25229
|
});
|
|
25224
25230
|
});
|
|
@@ -25227,20 +25233,20 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25227
25233
|
}, J7 = (t, s) => {
|
|
25228
25234
|
const a = (H, W) => t.getRelated(H).exists((ce) => zm(ce, W)), c = (H, W) => {
|
|
25229
25235
|
ho.setContent(H, W);
|
|
25230
|
-
}, d = (H, W,
|
|
25236
|
+
}, d = (H, W, X) => {
|
|
25231
25237
|
const ce = A.none;
|
|
25232
|
-
g(H, W,
|
|
25233
|
-
}, g = (H, W,
|
|
25238
|
+
g(H, W, X, ce);
|
|
25239
|
+
}, g = (H, W, X, ce) => {
|
|
25234
25240
|
const $e = t.lazySink(H).getOrDie();
|
|
25235
|
-
ho.openWhileCloaked(H, W, () => El.positionWithinBounds($e, H,
|
|
25241
|
+
ho.openWhileCloaked(H, W, () => El.positionWithinBounds($e, H, X, ce())), Lt.setValue(H, A.some({
|
|
25236
25242
|
mode: "position",
|
|
25237
|
-
config:
|
|
25243
|
+
config: X,
|
|
25238
25244
|
getBounds: ce
|
|
25239
25245
|
}));
|
|
25240
|
-
}, p = (H, W,
|
|
25241
|
-
x(H, W,
|
|
25242
|
-
}, x = (H, W,
|
|
25243
|
-
const $e = X7(t, H, W,
|
|
25246
|
+
}, p = (H, W, X) => {
|
|
25247
|
+
x(H, W, X, A.none);
|
|
25248
|
+
}, x = (H, W, X, ce) => {
|
|
25249
|
+
const $e = X7(t, H, W, X, ce);
|
|
25244
25250
|
ho.open(H, $e), Lt.setValue(H, A.some({
|
|
25245
25251
|
mode: "menu",
|
|
25246
25252
|
menu: $e
|
|
@@ -25254,8 +25260,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25254
25260
|
ho.getState(H).each(jp.repositionMenus);
|
|
25255
25261
|
break;
|
|
25256
25262
|
case "position":
|
|
25257
|
-
const
|
|
25258
|
-
El.positionWithinBounds(
|
|
25263
|
+
const X = t.lazySink(H).getOrDie();
|
|
25264
|
+
El.positionWithinBounds(X, H, W.config, W.getBounds());
|
|
25259
25265
|
break;
|
|
25260
25266
|
}
|
|
25261
25267
|
});
|
|
@@ -25275,7 +25281,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25275
25281
|
dom: t.dom,
|
|
25276
25282
|
behaviours: jr(t.inlineBehaviours, [
|
|
25277
25283
|
ho.config({
|
|
25278
|
-
isPartOf: (H, W,
|
|
25284
|
+
isPartOf: (H, W, X) => zm(W, X) || a(H, X),
|
|
25279
25285
|
getAttachPoint: (H) => t.lazySink(H).getOrDie(),
|
|
25280
25286
|
onOpen: (H) => {
|
|
25281
25287
|
t.onShow(H);
|
|
@@ -26131,7 +26137,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26131
26137
|
return s.isSupported = !1, s;
|
|
26132
26138
|
const a = t.document, c = a.currentScript;
|
|
26133
26139
|
let { document: d } = t;
|
|
26134
|
-
const { DocumentFragment: g, HTMLTemplateElement: p, Node: x, Element: C, NodeFilter: E, NamedNodeMap: R = t.NamedNodeMap || t.MozNamedAttrMap, HTMLFormElement: B, DOMParser: H, trustedTypes: W } = t,
|
|
26140
|
+
const { DocumentFragment: g, HTMLTemplateElement: p, Node: x, Element: C, NodeFilter: E, NamedNodeMap: R = t.NamedNodeMap || t.MozNamedAttrMap, HTMLFormElement: B, DOMParser: H, trustedTypes: W } = t, X = C.prototype, ce = bx(X, "cloneNode"), $e = bx(X, "nextSibling"), xe = bx(X, "childNodes"), pe = bx(X, "parentNode");
|
|
26135
26141
|
if (typeof p == "function") {
|
|
26136
26142
|
const uo = d.createElement("template");
|
|
26137
26143
|
uo.content && uo.content.ownerDocument && (d = uo.content.ownerDocument);
|
|
@@ -26611,7 +26617,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26611
26617
|
],
|
|
26612
26618
|
behaviours: wt([Bn.config({})])
|
|
26613
26619
|
}), x = {
|
|
26614
|
-
updateProgress: (W,
|
|
26620
|
+
updateProgress: (W, X) => {
|
|
26615
26621
|
W.getSystem().isConnected() && d.getOpt(W).each((ce) => {
|
|
26616
26622
|
Bn.set(ce, [
|
|
26617
26623
|
{
|
|
@@ -26619,16 +26625,16 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26619
26625
|
tag: "div",
|
|
26620
26626
|
classes: ["tox-bar-container"]
|
|
26621
26627
|
},
|
|
26622
|
-
components: [a(
|
|
26628
|
+
components: [a(X)]
|
|
26623
26629
|
},
|
|
26624
|
-
c(
|
|
26630
|
+
c(X)
|
|
26625
26631
|
]);
|
|
26626
26632
|
});
|
|
26627
26633
|
},
|
|
26628
|
-
updateText: (W,
|
|
26634
|
+
updateText: (W, X) => {
|
|
26629
26635
|
if (W.getSystem().isConnected()) {
|
|
26630
26636
|
const ce = s.get(W);
|
|
26631
|
-
Bn.set(ce, [Sr(
|
|
26637
|
+
Bn.set(ce, [Sr(X)]);
|
|
26632
26638
|
}
|
|
26633
26639
|
}
|
|
26634
26640
|
}, C = Ke([
|
|
@@ -26746,18 +26752,18 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26746
26752
|
a.add(H), ur(C.timeout) && C.timeout > 0 && A0.setEditorTimeout(t, () => {
|
|
26747
26753
|
R();
|
|
26748
26754
|
}, C.timeout);
|
|
26749
|
-
const
|
|
26755
|
+
const X = {
|
|
26750
26756
|
close: R,
|
|
26751
26757
|
reposition: () => {
|
|
26752
26758
|
const ce = Ti(B), $e = { maxHeightFunction: vp() }, xe = t.notificationManager.getNotifications();
|
|
26753
|
-
if (xe[0] ===
|
|
26759
|
+
if (xe[0] === X) {
|
|
26754
26760
|
const pe = {
|
|
26755
26761
|
...c.anchors.banner(),
|
|
26756
26762
|
overrides: $e
|
|
26757
26763
|
};
|
|
26758
26764
|
lr.showWithinBounds(H, ce, { anchor: pe }, d);
|
|
26759
26765
|
} else
|
|
26760
|
-
ot(xe,
|
|
26766
|
+
ot(xe, X).each((pe) => {
|
|
26761
26767
|
const Oe = xe[pe - 1].getEl(), ut = {
|
|
26762
26768
|
type: "node",
|
|
26763
26769
|
root: Fs(),
|
|
@@ -26782,7 +26788,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26782
26788
|
}
|
|
26783
26789
|
}
|
|
26784
26790
|
};
|
|
26785
|
-
return
|
|
26791
|
+
return X;
|
|
26786
26792
|
},
|
|
26787
26793
|
close: (C) => {
|
|
26788
26794
|
C.close();
|
|
@@ -26798,9 +26804,9 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26798
26804
|
t.auto = "auto", t.top = "top", t.bottom = "bottom";
|
|
26799
26805
|
})(_x || (_x = {}));
|
|
26800
26806
|
const As = (t) => (s) => s.options.get(t), kx = (t) => (s) => A.from(t(s)), wR = (t) => {
|
|
26801
|
-
const s = $v.deviceType.isPhone(), a = $v.deviceType.isTablet() || s, c = t.options.register, d = (p) =>
|
|
26807
|
+
const s = $v.deviceType.isPhone(), a = $v.deviceType.isTablet() || s, c = t.options.register, d = (p) => J(p) || p === !1, g = (p) => J(p) || ur(p);
|
|
26802
26808
|
c("skin", {
|
|
26803
|
-
processor: (p) =>
|
|
26809
|
+
processor: (p) => J(p) || p === !1,
|
|
26804
26810
|
default: "oxide"
|
|
26805
26811
|
}), c("skin_url", { processor: "string" }), c("height", {
|
|
26806
26812
|
processor: g,
|
|
@@ -26836,13 +26842,13 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26836
26842
|
processor: "string",
|
|
26837
26843
|
default: ""
|
|
26838
26844
|
}), c("menubar", {
|
|
26839
|
-
processor: (p) =>
|
|
26845
|
+
processor: (p) => J(p) || zn(p),
|
|
26840
26846
|
default: !s
|
|
26841
26847
|
}), c("menu", {
|
|
26842
26848
|
processor: "object",
|
|
26843
26849
|
default: {}
|
|
26844
26850
|
}), c("toolbar", {
|
|
26845
|
-
processor: (p) => zn(p) ||
|
|
26851
|
+
processor: (p) => zn(p) || J(p) || jt(p) ? {
|
|
26846
26852
|
value: p,
|
|
26847
26853
|
valid: !0
|
|
26848
26854
|
} : {
|
|
@@ -26921,14 +26927,14 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26921
26927
|
return xR.baseURL + "/skins/ui/" + a;
|
|
26922
26928
|
}
|
|
26923
26929
|
}, e_ = (t) => A.from(t.options.get("skin_url")), BR = (t) => t.options.get("line_height_formats").split(" "), t_ = (t) => {
|
|
26924
|
-
const s = qS(t), a =
|
|
26930
|
+
const s = qS(t), a = J(s), c = jt(s) && s.length > 0;
|
|
26925
26931
|
return !Ax(t) && (c || a || s === !0);
|
|
26926
26932
|
}, Q4 = (t) => {
|
|
26927
|
-
const s = ro(9, (c) => t.options.get("toolbar" + (c + 1))), a = Qn(s,
|
|
26933
|
+
const s = ro(9, (c) => t.options.get("toolbar" + (c + 1))), a = Qn(s, J);
|
|
26928
26934
|
return gn(a.length > 0, a);
|
|
26929
26935
|
}, Ax = (t) => Q4(t).fold(() => {
|
|
26930
26936
|
const s = qS(t);
|
|
26931
|
-
return mn(s,
|
|
26937
|
+
return mn(s, J) && s.length > 0;
|
|
26932
26938
|
}, Ge), e3 = (t) => Ex(t) === _x.bottom, IR = (t) => {
|
|
26933
26939
|
var s;
|
|
26934
26940
|
if (!t.inline)
|
|
@@ -28128,7 +28134,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
28128
28134
|
}, Pi = (t, s) => () => t.execCommand(s);
|
|
28129
28135
|
var Yp = tinymce.util.Tools.resolve("tinymce.util.LocalStorage");
|
|
28130
28136
|
const z3 = {}, U3 = (t, s = 10) => {
|
|
28131
|
-
const a = Yp.getItem(t), c =
|
|
28137
|
+
const a = Yp.getItem(t), c = J(a) ? JSON.parse(a) : [], g = ((E) => s - E.length < 0 ? E.slice(0, s) : E)(c), p = (E) => {
|
|
28132
28138
|
ot(g, E).each(x), g.unshift(E), g.length > s && g.pop(), Yp.setItem(t, JSON.stringify(g));
|
|
28133
28139
|
}, x = (E) => {
|
|
28134
28140
|
g.splice(E, 1);
|
|
@@ -28181,7 +28187,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
28181
28187
|
});
|
|
28182
28188
|
return s;
|
|
28183
28189
|
}, ig = (t) => (s) => s.options.get(t), j3 = "#000000", _L = (t) => {
|
|
28184
|
-
const s = t.options.register, a = (d) => mn(d,
|
|
28190
|
+
const s = t.options.register, a = (d) => mn(d, J) ? {
|
|
28185
28191
|
value: SL(d),
|
|
28186
28192
|
valid: !0
|
|
28187
28193
|
} : {
|
|
@@ -28806,8 +28812,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
28806
28812
|
El.position(W, H, { anchor: a }), ho.decloak(d);
|
|
28807
28813
|
},
|
|
28808
28814
|
onOpenSubmenu: (B, H, W) => {
|
|
28809
|
-
const
|
|
28810
|
-
El.position(
|
|
28815
|
+
const X = C().getOrDie();
|
|
28816
|
+
El.position(X, W, {
|
|
28811
28817
|
anchor: {
|
|
28812
28818
|
type: "submenu",
|
|
28813
28819
|
item: H
|
|
@@ -28815,9 +28821,9 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
28815
28821
|
}), ho.decloak(d);
|
|
28816
28822
|
},
|
|
28817
28823
|
onRepositionMenu: (B, H, W) => {
|
|
28818
|
-
const
|
|
28819
|
-
El.position(
|
|
28820
|
-
El.position(
|
|
28824
|
+
const X = C().getOrDie();
|
|
28825
|
+
El.position(X, H, { anchor: a }), bt(W, (ce) => {
|
|
28826
|
+
El.position(X, ce.triggeredMenu, {
|
|
28821
28827
|
anchor: {
|
|
28822
28828
|
type: "submenu",
|
|
28823
28829
|
item: ce.triggeringItem
|
|
@@ -29174,8 +29180,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29174
29180
|
}), E().each(Po.highlightFirst);
|
|
29175
29181
|
}, W = ($e) => {
|
|
29176
29182
|
const xe = B($e);
|
|
29177
|
-
xe.length > 0 ? (H($e, xe), Nt(Te.fromDom(t.getBody()), "aria-owns", a), t.inline ||
|
|
29178
|
-
},
|
|
29183
|
+
xe.length > 0 ? (H($e, xe), Nt(Te.fromDom(t.getBody()), "aria-owns", a), t.inline || X()) : C();
|
|
29184
|
+
}, X = () => {
|
|
29179
29185
|
t.dom.get(a) && t.dom.remove(a, !1);
|
|
29180
29186
|
const $e = t.getDoc().documentElement, xe = t.selection.getNode(), pe = DT(g.element);
|
|
29181
29187
|
$s(pe, {
|
|
@@ -29314,10 +29320,10 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29314
29320
|
"dragover",
|
|
29315
29321
|
"drop",
|
|
29316
29322
|
"keyup"
|
|
29317
|
-
]), (W) => Xl(t, W, (
|
|
29318
|
-
d.fireIfReady(
|
|
29319
|
-
$e &&
|
|
29320
|
-
}), a.triggerEvent(W,
|
|
29323
|
+
]), (W) => Xl(t, W, (X) => {
|
|
29324
|
+
d.fireIfReady(X, W).each(($e) => {
|
|
29325
|
+
$e && X.kill();
|
|
29326
|
+
}), a.triggerEvent(W, X) && X.kill();
|
|
29321
29327
|
})), p = eo(), x = Xl(t, "paste", (W) => {
|
|
29322
29328
|
d.fireIfReady(W, "paste").each((ce) => {
|
|
29323
29329
|
ce && W.kill();
|
|
@@ -29517,7 +29523,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
29517
29523
|
W(xe, pe);
|
|
29518
29524
|
},
|
|
29519
29525
|
broadcastEvent: (xe, pe) => {
|
|
29520
|
-
|
|
29526
|
+
X(xe, pe);
|
|
29521
29527
|
},
|
|
29522
29528
|
isConnected: Ge
|
|
29523
29529
|
}, p = (xe) => {
|
|
@@ -29547,7 +29553,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
29547
29553
|
channels: xe,
|
|
29548
29554
|
data: pe
|
|
29549
29555
|
});
|
|
29550
|
-
},
|
|
29556
|
+
}, X = (xe, pe) => {
|
|
29551
29557
|
const Oe = a.filter(xe);
|
|
29552
29558
|
return SF(Oe, pe);
|
|
29553
29559
|
}, ce = (xe) => a.getById(xe).fold(() => Ln.error(new Error('Could not find component with uid: "' + xe + '" in system.')), Ln.value), $e = (xe) => {
|
|
@@ -29566,7 +29572,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
29566
29572
|
removeFromWorld: x,
|
|
29567
29573
|
broadcast: H,
|
|
29568
29574
|
broadcastOn: W,
|
|
29569
|
-
broadcastEvent:
|
|
29575
|
+
broadcastEvent: X
|
|
29570
29576
|
};
|
|
29571
29577
|
}, TF = (t, s) => ({
|
|
29572
29578
|
dom: {
|
|
@@ -29699,14 +29705,14 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
29699
29705
|
components: [Sr(s.translate(t))]
|
|
29700
29706
|
}), Ni = Ut("form-component-change"), Xv = Ut("form-close"), Qp = Ut("form-cancel"), ug = Ut("form-action"), Kx = Ut("form-submit"), fA = Ut("form-block"), gA = Ut("form-unblock"), PM = Ut("form-tabchange"), NM = Ut("form-resize"), PF = (t, s, a) => {
|
|
29701
29707
|
const c = t.label.map((W) => wd(W, s)), d = s.icons(), g = (W) => {
|
|
29702
|
-
var
|
|
29703
|
-
return (
|
|
29704
|
-
}, p = (W) => (
|
|
29708
|
+
var X;
|
|
29709
|
+
return (X = d[W]) !== null && X !== void 0 ? X : W;
|
|
29710
|
+
}, p = (W) => (X, ce) => {
|
|
29705
29711
|
cd(ce.event.target, "[data-collection-item-value]").each(($e) => {
|
|
29706
|
-
W(
|
|
29712
|
+
W(X, ce, $e, Ws($e, "data-collection-item-value"));
|
|
29707
29713
|
});
|
|
29708
|
-
}, x = (W,
|
|
29709
|
-
const ce = et(
|
|
29714
|
+
}, x = (W, X) => {
|
|
29715
|
+
const ce = et(X, (pe) => {
|
|
29710
29716
|
const Oe = Fu.translate(pe.text), ut = t.columns === 1 ? `<div class="tox-collection__item-label">${Oe}</div>` : "", Xe = `<div class="tox-collection__item-icon">${g(pe.icon)}</div>`, je = {
|
|
29711
29717
|
_: " ",
|
|
29712
29718
|
" - ": " ",
|
|
@@ -29715,34 +29721,34 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
29715
29721
|
return `<div class="tox-collection__item${s.isDisabled() ? " tox-collection__item--state-disabled" : ""}" tabindex="-1" data-collection-item-value="${RF.encodeAllRaw(pe.value)}" title="${yt}" aria-label="${yt}">${Xe}${ut}</div>`;
|
|
29716
29722
|
}), $e = t.columns !== "auto" && t.columns > 1 ? pr(ce, t.columns) : [ce], xe = et($e, (pe) => `<div class="tox-collection__group">${pe.join("")}</div>`);
|
|
29717
29723
|
Kg(W.element, xe.join(""));
|
|
29718
|
-
}, C = p((W,
|
|
29719
|
-
|
|
29724
|
+
}, C = p((W, X, ce, $e) => {
|
|
29725
|
+
X.stop(), s.isDisabled() || ln(W, ug, {
|
|
29720
29726
|
name: t.name,
|
|
29721
29727
|
value: $e
|
|
29722
29728
|
});
|
|
29723
29729
|
}), E = [
|
|
29724
|
-
Je(od(), p((W,
|
|
29730
|
+
Je(od(), p((W, X, ce) => {
|
|
29725
29731
|
Rc(ce);
|
|
29726
29732
|
})),
|
|
29727
29733
|
Je(Nm(), C),
|
|
29728
29734
|
Je(rd(), C),
|
|
29729
|
-
Je(ul(), p((W,
|
|
29735
|
+
Je(ul(), p((W, X, ce) => {
|
|
29730
29736
|
Br(W.element, "." + Ox).each(($e) => {
|
|
29731
29737
|
Qs($e, Ox);
|
|
29732
29738
|
}), Nr(ce, Ox);
|
|
29733
29739
|
})),
|
|
29734
29740
|
Je(Pm(), p((W) => {
|
|
29735
|
-
Br(W.element, "." + Ox).each((
|
|
29736
|
-
Qs(
|
|
29741
|
+
Br(W.element, "." + Ox).each((X) => {
|
|
29742
|
+
Qs(X, Ox);
|
|
29737
29743
|
});
|
|
29738
29744
|
})),
|
|
29739
|
-
Ou(p((W,
|
|
29745
|
+
Ou(p((W, X, ce, $e) => {
|
|
29740
29746
|
ln(W, ug, {
|
|
29741
29747
|
name: t.name,
|
|
29742
29748
|
value: $e
|
|
29743
29749
|
});
|
|
29744
29750
|
}))
|
|
29745
|
-
], R = (W,
|
|
29751
|
+
], R = (W, X) => et(Sa(W.element, ".tox-collection__item"), X), B = Jo.parts.field({
|
|
29746
29752
|
dom: {
|
|
29747
29753
|
tag: "div",
|
|
29748
29754
|
classes: ["tox-collection"].concat(t.columns !== 1 ? ["tox-collection--grid"] : ["tox-collection--list"])
|
|
@@ -29753,13 +29759,13 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
29753
29759
|
yn.config({
|
|
29754
29760
|
disabled: s.isDisabled,
|
|
29755
29761
|
onDisabled: (W) => {
|
|
29756
|
-
R(W, (
|
|
29757
|
-
Nr(
|
|
29762
|
+
R(W, (X) => {
|
|
29763
|
+
Nr(X, "tox-collection__item--state-disabled"), Nt(X, "aria-disabled", !0);
|
|
29758
29764
|
});
|
|
29759
29765
|
},
|
|
29760
29766
|
onEnabled: (W) => {
|
|
29761
|
-
R(W, (
|
|
29762
|
-
Qs(
|
|
29767
|
+
R(W, (X) => {
|
|
29768
|
+
Qs(X, "tox-collection__item--state-disabled"), re(X, "aria-disabled");
|
|
29763
29769
|
});
|
|
29764
29770
|
}
|
|
29765
29771
|
}),
|
|
@@ -29770,8 +29776,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
29770
29776
|
mode: "memory",
|
|
29771
29777
|
initialValue: a.getOr([])
|
|
29772
29778
|
},
|
|
29773
|
-
onSetValue: (W,
|
|
29774
|
-
x(W,
|
|
29779
|
+
onSetValue: (W, X) => {
|
|
29780
|
+
x(W, X), t.columns === "auto" && E3(W, 5, "tox-collection__item").each(({ numRows: ce, numColumns: $e }) => {
|
|
29775
29781
|
cn.setGridSize(W, ce, $e);
|
|
29776
29782
|
}), go(W, NM);
|
|
29777
29783
|
}
|
|
@@ -30107,13 +30113,13 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
30107
30113
|
const p = (t - g) % c, x = Math.round(p / c), C = Math.floor((t - g) / c), E = Math.floor((a - g) / c), R = Math.min(E, C + x), B = g + R * c;
|
|
30108
30114
|
return Math.max(g, B);
|
|
30109
30115
|
}), m9 = (t, s, a) => Math.min(a, Math.max(t, s)) - s, XM = (t) => {
|
|
30110
|
-
const { min: s, max: a, range: c, value: d, step: g, snap: p, snapStart: x, rounded: C, hasMinEdge: E, hasMaxEdge: R, minBound: B, maxBound: H, screenRange: W } = t,
|
|
30116
|
+
const { min: s, max: a, range: c, value: d, step: g, snap: p, snapStart: x, rounded: C, hasMinEdge: E, hasMaxEdge: R, minBound: B, maxBound: H, screenRange: W } = t, X = E ? s - 1 : s, ce = R ? a + 1 : a;
|
|
30111
30117
|
if (d < B)
|
|
30112
|
-
return
|
|
30118
|
+
return X;
|
|
30113
30119
|
if (d > H)
|
|
30114
30120
|
return ce;
|
|
30115
30121
|
{
|
|
30116
|
-
const $e = m9(d, B, H), xe = YM($e / W * c + s,
|
|
30122
|
+
const $e = m9(d, B, H), xe = YM($e / W * c + s, X, ce);
|
|
30117
30123
|
return p && xe >= s && xe <= a ? d9(xe, s, a, g, x) : C ? Math.round(xe) : xe;
|
|
30118
30124
|
}
|
|
30119
30125
|
}, JM = (t) => {
|
|
@@ -30403,7 +30409,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
30403
30409
|
R.value.set(je);
|
|
30404
30410
|
const yt = d(Xe);
|
|
30405
30411
|
H(Xe, yt);
|
|
30406
|
-
},
|
|
30412
|
+
}, X = (Xe, je) => {
|
|
30407
30413
|
W(Xe, je);
|
|
30408
30414
|
const yt = d(Xe);
|
|
30409
30415
|
return t.onChange(Xe, yt, je), A.some(!0);
|
|
@@ -30446,7 +30452,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
30446
30452
|
]),
|
|
30447
30453
|
events: Es([
|
|
30448
30454
|
Je(Jv(), (Xe, je) => {
|
|
30449
|
-
|
|
30455
|
+
X(Xe, je.event.value);
|
|
30450
30456
|
}),
|
|
30451
30457
|
ws((Xe, je) => {
|
|
30452
30458
|
const yt = R.getInitialValue();
|
|
@@ -30572,36 +30578,36 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
30572
30578
|
const d = (H, W) => zu.config({
|
|
30573
30579
|
invalidClass: s("invalid"),
|
|
30574
30580
|
notify: {
|
|
30575
|
-
onValidate: (
|
|
30576
|
-
ln(
|
|
30581
|
+
onValidate: (X) => {
|
|
30582
|
+
ln(X, uf, { type: H });
|
|
30577
30583
|
},
|
|
30578
|
-
onValid: (
|
|
30579
|
-
ln(
|
|
30584
|
+
onValid: (X) => {
|
|
30585
|
+
ln(X, LA, {
|
|
30580
30586
|
type: H,
|
|
30581
|
-
value: Lt.getValue(
|
|
30587
|
+
value: Lt.getValue(X)
|
|
30582
30588
|
});
|
|
30583
30589
|
},
|
|
30584
|
-
onInvalid: (
|
|
30585
|
-
ln(
|
|
30590
|
+
onInvalid: (X) => {
|
|
30591
|
+
ln(X, bP, {
|
|
30586
30592
|
type: H,
|
|
30587
|
-
value: Lt.getValue(
|
|
30593
|
+
value: Lt.getValue(X)
|
|
30588
30594
|
});
|
|
30589
30595
|
}
|
|
30590
30596
|
},
|
|
30591
30597
|
validator: {
|
|
30592
|
-
validate: (
|
|
30593
|
-
const ce = Lt.getValue(
|
|
30598
|
+
validate: (X) => {
|
|
30599
|
+
const ce = Lt.getValue(X), $e = W(ce) ? Ln.value(!0) : Ln.error(t("aria.input.invalid"));
|
|
30594
30600
|
return ec.pure($e);
|
|
30595
30601
|
},
|
|
30596
30602
|
validateOnLoad: !1
|
|
30597
30603
|
}
|
|
30598
|
-
}), g = (H, W,
|
|
30604
|
+
}), g = (H, W, X, ce, $e) => {
|
|
30599
30605
|
const xe = t(oy + "range"), pe = Jo.parts.label({
|
|
30600
30606
|
dom: {
|
|
30601
30607
|
tag: "label",
|
|
30602
30608
|
attributes: { "aria-label": ce }
|
|
30603
30609
|
},
|
|
30604
|
-
components: [Sr(
|
|
30610
|
+
components: [Sr(X)]
|
|
30605
30611
|
}), Oe = Jo.parts.field({
|
|
30606
30612
|
data: $e,
|
|
30607
30613
|
factory: M0,
|
|
@@ -30629,14 +30635,14 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
30629
30635
|
components: je
|
|
30630
30636
|
};
|
|
30631
30637
|
}, p = (H, W) => {
|
|
30632
|
-
const
|
|
30638
|
+
const X = Kv(W);
|
|
30633
30639
|
return ny.getField(H, "hex").each((ce) => {
|
|
30634
|
-
wn.isFocused(ce) || Lt.setValue(H, { hex:
|
|
30635
|
-
}),
|
|
30640
|
+
wn.isFocused(ce) || Lt.setValue(H, { hex: X.value });
|
|
30641
|
+
}), X;
|
|
30636
30642
|
}, x = (H, W) => {
|
|
30637
|
-
const
|
|
30643
|
+
const X = W.red, ce = W.green, $e = W.blue;
|
|
30638
30644
|
Lt.setValue(H, {
|
|
30639
|
-
red:
|
|
30645
|
+
red: X,
|
|
30640
30646
|
green: ce,
|
|
30641
30647
|
blue: $e
|
|
30642
30648
|
});
|
|
@@ -30648,8 +30654,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
30648
30654
|
attributes: { role: "presentation" }
|
|
30649
30655
|
}
|
|
30650
30656
|
}), E = (H, W) => {
|
|
30651
|
-
C.getOpt(H).each((
|
|
30652
|
-
Gt(
|
|
30657
|
+
C.getOpt(H).each((X) => {
|
|
30658
|
+
Gt(X.element, "background-color", "#" + W.value);
|
|
30653
30659
|
});
|
|
30654
30660
|
};
|
|
30655
30661
|
return ai({
|
|
@@ -30662,9 +30668,9 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
30662
30668
|
}, W = (Cn, Ko) => {
|
|
30663
30669
|
const hn = Hx(Ko);
|
|
30664
30670
|
x(Cn, hn), xe(hn);
|
|
30665
|
-
},
|
|
30671
|
+
}, X = (Cn) => H[Cn].get(), ce = (Cn, Ko) => {
|
|
30666
30672
|
H[Cn].set(Ko);
|
|
30667
|
-
}, $e = () =>
|
|
30673
|
+
}, $e = () => X("red").bind((Cn) => X("green").bind((Ko) => X("blue").map((hn) => Kp(Cn, Ko, hn, 1)))), xe = (Cn) => {
|
|
30668
30674
|
const Ko = Cn.red, hn = Cn.green, _o = Cn.blue;
|
|
30669
30675
|
ce("red", A.some(Ko)), ce("green", A.some(hn)), ce("blue", A.some(_o));
|
|
30670
30676
|
}, pe = (Cn, Ko) => {
|
|
@@ -30721,8 +30727,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
30721
30727
|
name: "RgbForm",
|
|
30722
30728
|
configFields: [],
|
|
30723
30729
|
apis: {
|
|
30724
|
-
updateHex: (H, W,
|
|
30725
|
-
H.updateHex(W,
|
|
30730
|
+
updateHex: (H, W, X) => {
|
|
30731
|
+
H.updateHex(W, X);
|
|
30726
30732
|
}
|
|
30727
30733
|
},
|
|
30728
30734
|
extraApis: {}
|
|
@@ -30746,8 +30752,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
30746
30752
|
if (W === null)
|
|
30747
30753
|
return;
|
|
30748
30754
|
W.fillStyle = R, W.fillRect(0, 0, B, H);
|
|
30749
|
-
const
|
|
30750
|
-
|
|
30755
|
+
const X = W.createLinearGradient(0, 0, B, 0);
|
|
30756
|
+
X.addColorStop(0, "rgba(255,255,255,1)"), X.addColorStop(1, "rgba(255,255,255,0)"), W.fillStyle = X, W.fillRect(0, 0, B, H);
|
|
30751
30757
|
const ce = W.createLinearGradient(0, 0, 0, H);
|
|
30752
30758
|
ce.addColorStop(0, "rgba(0,0,0,0)"), ce.addColorStop(1, "rgba(0,0,0,1)"), W.fillStyle = ce, W.fillRect(0, 0, B, H);
|
|
30753
30759
|
}, g = (E, R) => {
|
|
@@ -30769,13 +30775,13 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
30769
30775
|
const R = oe({
|
|
30770
30776
|
x: 0,
|
|
30771
30777
|
y: 0
|
|
30772
|
-
}), B = (
|
|
30773
|
-
ur($e) || Nt(
|
|
30778
|
+
}), B = (X, ce, $e) => {
|
|
30779
|
+
ur($e) || Nt(X.element, "aria-valuetext", t([
|
|
30774
30780
|
"Saturation {0}%, Brightness {1}%",
|
|
30775
30781
|
Math.floor($e.x),
|
|
30776
30782
|
Math.floor(100 - $e.y)
|
|
30777
|
-
])), ln(
|
|
30778
|
-
}, H = (
|
|
30783
|
+
])), ln(X, nw, { value: $e });
|
|
30784
|
+
}, H = (X, ce, $e, xe) => {
|
|
30779
30785
|
d($e.element.dom, F3(yd));
|
|
30780
30786
|
}, W = wt([
|
|
30781
30787
|
io.config({ find: A.some }),
|
|
@@ -30829,7 +30835,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
30829
30835
|
B.getOpt(je).each((Vn) => {
|
|
30830
30836
|
p.setHue(Vn, Et);
|
|
30831
30837
|
});
|
|
30832
|
-
},
|
|
30838
|
+
}, X = (je, yt) => {
|
|
30833
30839
|
H.getOpt(je).each((Et) => {
|
|
30834
30840
|
g.updateHex(Et, yt);
|
|
30835
30841
|
});
|
|
@@ -30849,7 +30855,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
30849
30855
|
zt(je, yt, Et);
|
|
30850
30856
|
});
|
|
30851
30857
|
}, Oe = () => {
|
|
30852
|
-
const je = [
|
|
30858
|
+
const je = [X];
|
|
30853
30859
|
return (yt, Et) => {
|
|
30854
30860
|
const Vn = Et.event.value, zt = E.paletteHue.get(), En = zx(zt, Vn.x, 100 - Vn.y), Cn = J$(En);
|
|
30855
30861
|
pe(yt, Cn, zt, je);
|
|
@@ -30857,7 +30863,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
30857
30863
|
}, ut = () => {
|
|
30858
30864
|
const je = [
|
|
30859
30865
|
W,
|
|
30860
|
-
|
|
30866
|
+
X
|
|
30861
30867
|
];
|
|
30862
30868
|
return (yt, Et) => {
|
|
30863
30869
|
const Vn = x(Et.event.value), zt = E.paletteRgba.get(), En = C_(zt), Cn = zx(Vn, En.saturation, En.value), Ko = J$(Cn);
|
|
@@ -30948,7 +30954,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
30948
30954
|
"colorcustom.rgb.range": "Range 0 to 255",
|
|
30949
30955
|
"aria.color.picker": "Color Picker",
|
|
30950
30956
|
"aria.input.invalid": "Invalid input"
|
|
30951
|
-
}, W9 = (t) => (s) =>
|
|
30957
|
+
}, W9 = (t) => (s) => J(s) ? t.translate(U9[s]) : t.translate(s), Z9 = (t, s, a) => {
|
|
30952
30958
|
const c = (C) => "tox-" + C, d = vP(W9(s), c), g = (C) => {
|
|
30953
30959
|
ln(C, ug, {
|
|
30954
30960
|
name: "hex-valid",
|
|
@@ -30976,11 +30982,11 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
30976
30982
|
const E = x.get(C);
|
|
30977
30983
|
return io.getCurrent(E).bind((H) => Lt.getValue(H).hex).map((H) => "#" + mi(H, "#")).getOr("");
|
|
30978
30984
|
}, (C, E) => {
|
|
30979
|
-
const R = /^#([a-fA-F0-9]{3}(?:[a-fA-F0-9]{3})?)/, B = A.from(R.exec(E)).bind((
|
|
30985
|
+
const R = /^#([a-fA-F0-9]{3}(?:[a-fA-F0-9]{3})?)/, B = A.from(R.exec(E)).bind((X) => hs(X, 1)), H = x.get(C);
|
|
30980
30986
|
io.getCurrent(H).fold(() => {
|
|
30981
30987
|
console.log("Can not find form");
|
|
30982
|
-
}, (
|
|
30983
|
-
Lt.setValue(
|
|
30988
|
+
}, (X) => {
|
|
30989
|
+
Lt.setValue(X, { hex: B.getOr("") }), ny.getField(X, "hex").each((ce) => {
|
|
30984
30990
|
go(ce, Zg());
|
|
30985
30991
|
});
|
|
30986
30992
|
});
|
|
@@ -31022,19 +31028,19 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
31022
31028
|
}, G9 = (t, s, a) => {
|
|
31023
31029
|
const c = (H, W) => {
|
|
31024
31030
|
W.stop();
|
|
31025
|
-
}, d = (H) => (W,
|
|
31031
|
+
}, d = (H) => (W, X) => {
|
|
31026
31032
|
bt(H, (ce) => {
|
|
31027
|
-
ce(W,
|
|
31033
|
+
ce(W, X);
|
|
31028
31034
|
});
|
|
31029
31035
|
}, g = (H, W) => {
|
|
31030
|
-
var
|
|
31036
|
+
var X;
|
|
31031
31037
|
if (!yn.isDisabled(H)) {
|
|
31032
31038
|
const ce = W.event.raw;
|
|
31033
|
-
x(H, (
|
|
31039
|
+
x(H, (X = ce.dataTransfer) === null || X === void 0 ? void 0 : X.files);
|
|
31034
31040
|
}
|
|
31035
31041
|
}, p = (H, W) => {
|
|
31036
|
-
const
|
|
31037
|
-
x(H,
|
|
31042
|
+
const X = W.event.raw.target;
|
|
31043
|
+
x(H, X.files);
|
|
31038
31044
|
}, x = (H, W) => {
|
|
31039
31045
|
W && (Lt.setValue(H, _P(W, s)), ln(H, Ni, { name: t.name }));
|
|
31040
31046
|
}, C = Xo({
|
|
@@ -31255,9 +31261,9 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
31255
31261
|
channels: {
|
|
31256
31262
|
[ay]: {
|
|
31257
31263
|
onReceive: (H, W) => {
|
|
31258
|
-
W.newFocus.each((
|
|
31264
|
+
W.newFocus.each((X) => {
|
|
31259
31265
|
Vl(H.element).each((ce) => {
|
|
31260
|
-
(Lo(H.element,
|
|
31266
|
+
(Lo(H.element, X) ? Nr : Qs)(ce, "tox-navobj-bordered-focus");
|
|
31261
31267
|
});
|
|
31262
31268
|
});
|
|
31263
31269
|
}
|
|
@@ -31306,9 +31312,9 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
31306
31312
|
const R = { url: E.url };
|
|
31307
31313
|
E.zoom.each((H) => R.zoom = H), E.cachedWidth.each((H) => R.cachedWidth = H), E.cachedHeight.each((H) => R.cachedHeight = H), a.set(R);
|
|
31308
31314
|
const B = () => {
|
|
31309
|
-
const { cachedWidth: H, cachedHeight: W, zoom:
|
|
31315
|
+
const { cachedWidth: H, cachedHeight: W, zoom: X } = R;
|
|
31310
31316
|
if (!Zo(H) && !Zo(W)) {
|
|
31311
|
-
if (Zo(
|
|
31317
|
+
if (Zo(X)) {
|
|
31312
31318
|
const $e = oH(C.element, H, W);
|
|
31313
31319
|
R.zoom = $e;
|
|
31314
31320
|
}
|
|
@@ -31320,8 +31326,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
31320
31326
|
};
|
|
31321
31327
|
c.getOpt(C).each((H) => {
|
|
31322
31328
|
const W = H.element;
|
|
31323
|
-
E.url !== Ws(W, "src") && (Nt(W, "src", E.url), Qs(C.element, "tox-imagepreview__loaded")), B(), nH(W).then((
|
|
31324
|
-
C.getSystem().isConnected() && (Nr(C.element, "tox-imagepreview__loaded"), R.cachedWidth =
|
|
31329
|
+
E.url !== Ws(W, "src") && (Nt(W, "src", E.url), Qs(C.element, "tox-imagepreview__loaded")), B(), nH(W).then((X) => {
|
|
31330
|
+
C.getSystem().isConnected() && (Nr(C.element, "tox-imagepreview__loaded"), R.cachedWidth = X.dom.naturalWidth, R.cachedHeight = X.dom.naturalHeight, B());
|
|
31325
31331
|
});
|
|
31326
31332
|
});
|
|
31327
31333
|
}, p = {};
|
|
@@ -31409,8 +31415,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
31409
31415
|
behaviours: wt([Bn.config({})])
|
|
31410
31416
|
}), Uu = Ut("update-menu-text"), r1 = Ut("update-menu-icon"), XA = (t, s, a) => {
|
|
31411
31417
|
const c = dn(fe), d = t.text.map((H) => Xo(MP(H, s, a.providers))), g = t.icon.map((H) => Xo(s1(H, a.providers.icons))), p = (H, W) => {
|
|
31412
|
-
const
|
|
31413
|
-
return wn.focus(
|
|
31418
|
+
const X = Lt.getValue(H);
|
|
31419
|
+
return wn.focus(X), ln(X, "keydown", { raw: W.event.raw }), xd.close(X), A.some(!0);
|
|
31414
31420
|
}, x = t.role.fold(() => ({}), (H) => ({ role: H })), C = t.tooltip.fold(() => ({}), (H) => {
|
|
31415
31421
|
const W = a.providers.translate(H);
|
|
31416
31422
|
return {
|
|
@@ -31439,8 +31445,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
31439
31445
|
]),
|
|
31440
31446
|
matchWidth: !0,
|
|
31441
31447
|
useMinWidth: !0,
|
|
31442
|
-
onOpen: (H, W,
|
|
31443
|
-
t.searchable && cF(
|
|
31448
|
+
onOpen: (H, W, X) => {
|
|
31449
|
+
t.searchable && cF(X);
|
|
31444
31450
|
},
|
|
31445
31451
|
dropdownBehaviours: wt([
|
|
31446
31452
|
...t.dropdownBehaviours,
|
|
@@ -31455,13 +31461,13 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
31455
31461
|
Hn(R, [ws((H, W) => qA(H))]),
|
|
31456
31462
|
Hn("menubutton-update-display-text", [
|
|
31457
31463
|
Je(Uu, (H, W) => {
|
|
31458
|
-
d.bind((
|
|
31459
|
-
Bn.set(
|
|
31464
|
+
d.bind((X) => X.getOpt(H)).each((X) => {
|
|
31465
|
+
Bn.set(X, [Sr(a.providers.translate(W.event.text))]);
|
|
31460
31466
|
});
|
|
31461
31467
|
}),
|
|
31462
31468
|
Je(r1, (H, W) => {
|
|
31463
|
-
g.bind((
|
|
31464
|
-
Bn.set(
|
|
31469
|
+
g.bind((X) => X.getOpt(H)).each((X) => {
|
|
31470
|
+
Bn.set(X, [s1(W.event.icon, a.providers.icons)]);
|
|
31465
31471
|
});
|
|
31466
31472
|
})
|
|
31467
31473
|
])
|
|
@@ -31501,9 +31507,9 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
31501
31507
|
...Fv(!1, t.columns, t.presets),
|
|
31502
31508
|
fakeFocus: t.searchable,
|
|
31503
31509
|
onHighlightItem: uA,
|
|
31504
|
-
onCollapseMenu: (H, W,
|
|
31505
|
-
Po.getHighlighted(
|
|
31506
|
-
uA(H,
|
|
31510
|
+
onCollapseMenu: (H, W, X) => {
|
|
31511
|
+
Po.getHighlighted(X).each((ce) => {
|
|
31512
|
+
uA(H, X, ce);
|
|
31507
31513
|
});
|
|
31508
31514
|
},
|
|
31509
31515
|
onDehighlightItem: lF
|
|
@@ -31516,7 +31522,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
31516
31522
|
}),
|
|
31517
31523
|
fetch: (H) => ec.nu(St(t.fetch, H))
|
|
31518
31524
|
})).asSpec();
|
|
31519
|
-
}, aH = (t) =>
|
|
31525
|
+
}, aH = (t) => J(t), PP = (t) => t.type === "separator", lH = (t) => mo(t, "getSubmenuItems"), NP = { type: "separator" }, cH = (t, s) => {
|
|
31520
31526
|
const a = Ho(t, (c, d) => aH(d) ? d === "" ? c : d === "|" ? c.length > 0 && !PP(c[c.length - 1]) ? c.concat([NP]) : c : mo(s, d.toLowerCase()) ? c.concat([s[d.toLowerCase()]]) : c : c.concat([d]), []);
|
|
31521
31527
|
return a.length > 0 && PP(a[a.length - 1]) && a.pop(), a;
|
|
31522
31528
|
}, BP = (t, s) => {
|
|
@@ -31530,7 +31536,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
31530
31536
|
const s = vt(t, "value").getOrThunk(() => Ut("generated-menu-item"));
|
|
31531
31537
|
return Uo({ value: s }, t);
|
|
31532
31538
|
}, IP = (t, s) => {
|
|
31533
|
-
const a = cH(
|
|
31539
|
+
const a = cH(J(t) ? t.split(" ") : t, s);
|
|
31534
31540
|
return ss(a, (c, d) => {
|
|
31535
31541
|
if (lH(d)) {
|
|
31536
31542
|
const g = iH(d), p = BP(g, s);
|
|
@@ -31949,8 +31955,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
31949
31955
|
locked: !0,
|
|
31950
31956
|
markers: { lockClass: "tox-locked" },
|
|
31951
31957
|
onLockedChange: (B, H, W) => {
|
|
31952
|
-
oD(Lt.getValue(B)).each((
|
|
31953
|
-
a(
|
|
31958
|
+
oD(Lt.getValue(B)).each((X) => {
|
|
31959
|
+
a(X).each((ce) => {
|
|
31954
31960
|
Lt.setValue(H, VP(ce));
|
|
31955
31961
|
});
|
|
31956
31962
|
});
|
|
@@ -31967,7 +31973,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
31967
31973
|
}),
|
|
31968
31974
|
ka(),
|
|
31969
31975
|
Hn("size-input-events2", [Je(c, (B, H) => {
|
|
31970
|
-
const W = H.event.isField1,
|
|
31976
|
+
const W = H.event.isField1, X = W ? Li.getField1(B) : Li.getField2(B), ce = W ? Li.getField2(B) : Li.getField1(B), $e = X.map(Lt.getValue).getOr(""), xe = ce.map(Lt.getValue).getOr("");
|
|
31971
31977
|
a = bH($e, xe);
|
|
31972
31978
|
})])
|
|
31973
31979
|
])
|
|
@@ -32069,20 +32075,20 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
32069
32075
|
execute: (W) => (go(W, Kx), A.some(!0))
|
|
32070
32076
|
}),
|
|
32071
32077
|
Hn("textfield-change", [
|
|
32072
|
-
Je(Zg(), (W,
|
|
32078
|
+
Je(Zg(), (W, X) => {
|
|
32073
32079
|
ln(W, Ni, { name: t.name });
|
|
32074
32080
|
}),
|
|
32075
|
-
Je(Gg(), (W,
|
|
32081
|
+
Je(Gg(), (W, X) => {
|
|
32076
32082
|
ln(W, Ni, { name: t.name });
|
|
32077
32083
|
})
|
|
32078
32084
|
]),
|
|
32079
32085
|
Ys.config({})
|
|
32080
32086
|
], d = t.validation.map((W) => zu.config({
|
|
32081
|
-
getRoot: (
|
|
32087
|
+
getRoot: (X) => Vl(X.element),
|
|
32082
32088
|
invalidClass: "tox-invalid",
|
|
32083
32089
|
validator: {
|
|
32084
|
-
validate: (
|
|
32085
|
-
const ce = Lt.getValue(
|
|
32090
|
+
validate: (X) => {
|
|
32091
|
+
const ce = Lt.getValue(X), $e = W.validator(ce);
|
|
32086
32092
|
return ec.pure($e === !0 ? Ln.value(ce) : Ln.error($e));
|
|
32087
32093
|
},
|
|
32088
32094
|
validateOnLoad: W.validateOnLoad
|
|
@@ -32381,8 +32387,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
32381
32387
|
const R = E.event.raw.code === "ArrowLeft", B = E.event.raw.code === "ArrowRight";
|
|
32382
32388
|
R ? (oi(C.element, ".tox-tree--directory").each((H) => {
|
|
32383
32389
|
C.getSystem().getByDom(H).each((W) => {
|
|
32384
|
-
Ib(H, ".tox-tree--directory__label").each((
|
|
32385
|
-
W.getSystem().getByDom(
|
|
32390
|
+
Ib(H, ".tox-tree--directory__label").each((X) => {
|
|
32391
|
+
W.getSystem().getByDom(X).each(wn.focus);
|
|
32386
32392
|
});
|
|
32387
32393
|
});
|
|
32388
32394
|
}), E.stop()) : B && E.stop();
|
|
@@ -32445,8 +32451,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
32445
32451
|
E && a && C.stop(), (E || R) && oi(x.element, ".tox-tree--directory").each((B) => {
|
|
32446
32452
|
x.getSystem().getByDom(B).each((H) => {
|
|
32447
32453
|
!Gn.isOn(H) && E || Gn.isOn(H) && R ? (p(x), C.stop()) : R && !Gn.isOn(H) && (oi(H.element, ".tox-tree--directory").each((W) => {
|
|
32448
|
-
Ib(W, ".tox-tree--directory__label").each((
|
|
32449
|
-
H.getSystem().getByDom(
|
|
32454
|
+
Ib(W, ".tox-tree--directory__label").each((X) => {
|
|
32455
|
+
H.getSystem().getByDom(X).each(wn.focus);
|
|
32450
32456
|
});
|
|
32451
32457
|
}), C.stop());
|
|
32452
32458
|
});
|
|
@@ -32532,19 +32538,19 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
32532
32538
|
Gn.set(B, R);
|
|
32533
32539
|
}),
|
|
32534
32540
|
Je("expand-tree-node", (B, H) => {
|
|
32535
|
-
const { expanded: W, node:
|
|
32541
|
+
const { expanded: W, node: X } = H.event;
|
|
32536
32542
|
C.set(W ? [
|
|
32537
32543
|
...C.get(),
|
|
32538
|
-
|
|
32539
|
-
] : C.get().filter((ce) => ce !==
|
|
32544
|
+
X
|
|
32545
|
+
] : C.get().filter((ce) => ce !== X));
|
|
32540
32546
|
})
|
|
32541
32547
|
]),
|
|
32542
32548
|
Gn.config({
|
|
32543
32549
|
...t.children.length > 0 ? { aria: { mode: "expanded" } } : {},
|
|
32544
32550
|
toggleClass: "tox-tree--directory--expanded",
|
|
32545
32551
|
onToggled: (B, H) => {
|
|
32546
|
-
const W = B.components()[1],
|
|
32547
|
-
H ? Fi.grow(W) : Fi.shrink(W), Bn.set(W,
|
|
32552
|
+
const W = B.components()[1], X = E(H);
|
|
32553
|
+
H ? Fi.grow(W) : Fi.shrink(W), Bn.set(W, X);
|
|
32548
32554
|
}
|
|
32549
32555
|
})
|
|
32550
32556
|
])
|
|
@@ -32677,23 +32683,23 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
32677
32683
|
}, ck = oe("alloy.typeahead.itemexecute"), rG = (t, s, a, c) => {
|
|
32678
32684
|
const d = (B, H, W) => {
|
|
32679
32685
|
t.previewing.set(!1);
|
|
32680
|
-
const
|
|
32681
|
-
if (ho.isOpen(
|
|
32682
|
-
io.getCurrent(
|
|
32686
|
+
const X = Lr.getCoupled(B, "sandbox");
|
|
32687
|
+
if (ho.isOpen(X))
|
|
32688
|
+
io.getCurrent(X).each((ce) => {
|
|
32683
32689
|
Po.getHighlighted(ce).fold(() => {
|
|
32684
32690
|
W(ce);
|
|
32685
32691
|
}, () => {
|
|
32686
|
-
Oy(
|
|
32692
|
+
Oy(X, ce.element, "keydown", H);
|
|
32687
32693
|
});
|
|
32688
32694
|
});
|
|
32689
32695
|
else {
|
|
32690
32696
|
const ce = ($e) => {
|
|
32691
32697
|
io.getCurrent($e).each(W);
|
|
32692
32698
|
};
|
|
32693
|
-
O_(t, p(B), B,
|
|
32699
|
+
O_(t, p(B), B, X, c, ce, Bc.HighlightMenuAndItem).get(fe);
|
|
32694
32700
|
}
|
|
32695
32701
|
}, g = d3(t), p = (B) => (H) => H.map((W) => {
|
|
32696
|
-
const
|
|
32702
|
+
const X = Gi(W.menus), ce = _e(X, (xe) => Qn(xe.items, (pe) => pe.type === "item"));
|
|
32697
32703
|
return Lt.getState(B).update(et(ce, (xe) => xe.data)), W;
|
|
32698
32704
|
}), x = (B) => io.getCurrent(B), C = "typeaheadevents", E = [
|
|
32699
32705
|
wn.config({}),
|
|
@@ -32748,10 +32754,10 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
32748
32754
|
onEnter: (B) => {
|
|
32749
32755
|
const H = Lr.getCoupled(B, "sandbox"), W = ho.isOpen(H);
|
|
32750
32756
|
if (W && !t.previewing.get())
|
|
32751
|
-
return x(H).bind((
|
|
32757
|
+
return x(H).bind((X) => Po.getHighlighted(X)).map((X) => (ln(B, ck(), { item: X }), !0));
|
|
32752
32758
|
{
|
|
32753
|
-
const
|
|
32754
|
-
return go(B, hb()), t.onExecute(H, B,
|
|
32759
|
+
const X = Lt.getValue(B);
|
|
32760
|
+
return go(B, hb()), t.onExecute(H, B, X), W && ho.close(H), A.some(!0);
|
|
32755
32761
|
}
|
|
32756
32762
|
}
|
|
32757
32763
|
}),
|
|
@@ -33005,9 +33011,9 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
33005
33011
|
...R ? ["tox-button--icon-and-text"] : []
|
|
33006
33012
|
],
|
|
33007
33013
|
attributes: C
|
|
33008
|
-
}, H = [], W = s.translate(t.text.getOr("")),
|
|
33014
|
+
}, H = [], W = s.translate(t.text.getOr("")), X = Sr(W), $e = [
|
|
33009
33015
|
...jv([d.map((pe) => pe.asSpec())]),
|
|
33010
|
-
...t.text.isSome() ? [
|
|
33016
|
+
...t.text.isSome() ? [X] : []
|
|
33011
33017
|
], xe = ik(x, A.some(g), H, B, $e, s);
|
|
33012
33018
|
return Ya.sketch(xe);
|
|
33013
33019
|
}, uk = (t, s, a) => {
|
|
@@ -33096,7 +33102,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
33096
33102
|
});
|
|
33097
33103
|
return ec.pure(ut);
|
|
33098
33104
|
},
|
|
33099
|
-
getHotspot: (pe) =>
|
|
33105
|
+
getHotspot: (pe) => X.getOpt(pe),
|
|
33100
33106
|
onSetValue: (pe, Oe) => {
|
|
33101
33107
|
pe.hasConfigured(zu) && zu.run(pe).get(fe);
|
|
33102
33108
|
},
|
|
@@ -33188,7 +33194,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
33188
33194
|
classes: ["tox-control-wrap__status-icon-wrap"]
|
|
33189
33195
|
},
|
|
33190
33196
|
components: [R.asSpec()]
|
|
33191
|
-
}), H = a.getUrlPicker(t.filetype), W = Ut("browser.url.event"),
|
|
33197
|
+
}), H = a.getUrlPicker(t.filetype), W = Ut("browser.url.event"), X = Xo({
|
|
33192
33198
|
dom: {
|
|
33193
33199
|
tag: "div",
|
|
33194
33200
|
classes: ["tox-control-wrap"]
|
|
@@ -33212,7 +33218,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
33212
33218
|
classes: ["tox-form__controls-h-stack"]
|
|
33213
33219
|
},
|
|
33214
33220
|
components: Ke([
|
|
33215
|
-
[
|
|
33221
|
+
[X.asSpec()],
|
|
33216
33222
|
H.map(() => ce.asSpec()).toArray()
|
|
33217
33223
|
])
|
|
33218
33224
|
}), xe = (pe) => {
|
|
@@ -33710,7 +33716,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
33710
33716
|
}])
|
|
33711
33717
|
};
|
|
33712
33718
|
} else if (fV(a) || mV(a) || gV(a)) {
|
|
33713
|
-
const d = `custom-${
|
|
33719
|
+
const d = `custom-${J(a.name) ? a.name : a.title.toLowerCase()}`;
|
|
33714
33720
|
return {
|
|
33715
33721
|
customFormats: s.customFormats.concat([{
|
|
33716
33722
|
name: d,
|
|
@@ -33759,7 +33765,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
33759
33765
|
getStyleItems: oe(E)
|
|
33760
33766
|
};
|
|
33761
33767
|
}, p = (C) => {
|
|
33762
|
-
const E =
|
|
33768
|
+
const E = J(C.name) ? C.name : Ut(C.title), R = `custom-${E}`, B = {
|
|
33763
33769
|
...C,
|
|
33764
33770
|
type: "formatter",
|
|
33765
33771
|
format: R,
|
|
@@ -33816,7 +33822,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
33816
33822
|
}, _V = (t) => et(Qn(t, zN), CV), _D = (t) => et(Qn(t, SD), SV), UN = (t) => yV("h1,h2,h3,h4,h5,h6,a:not([href])", t), kV = (t) => NN(t.title).length > 0, TV = { find: (t) => {
|
|
33817
33823
|
const s = UN(t);
|
|
33818
33824
|
return Qn(_V(s).concat(_D(s)), kV);
|
|
33819
|
-
} }, gk = "tinymce-url-history", kD = 5, WN = (t) =>
|
|
33825
|
+
} }, gk = "tinymce-url-history", kD = 5, WN = (t) => J(t) && /^https?/.test(t), hk = (t) => jt(t) && t.length <= kD && vn(t, WN), ZN = (t) => Be(t) && Qo(t, (s) => !hk(s)).isNone(), yw = () => {
|
|
33820
33826
|
const t = Yp.getItem(gk);
|
|
33821
33827
|
if (t === null)
|
|
33822
33828
|
return {};
|
|
@@ -33850,7 +33856,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
33850
33856
|
return zn(a) ? a ? pk(t) : A.none() : a[s] ? pk(t) : A.none();
|
|
33851
33857
|
}, DV = (t, s) => GN(t, s).map((a) => (c) => ec.nu((d) => {
|
|
33852
33858
|
const g = (x, C) => {
|
|
33853
|
-
if (!
|
|
33859
|
+
if (!J(x))
|
|
33854
33860
|
throw new Error("Expected value to be string");
|
|
33855
33861
|
if (C !== void 0 && !Be(C))
|
|
33856
33862
|
throw new Error("Expected meta to be a object");
|
|
@@ -33864,7 +33870,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
33864
33870
|
...A.from(c.meta).getOr({})
|
|
33865
33871
|
};
|
|
33866
33872
|
a.call(t, g, c.value, p);
|
|
33867
|
-
})), bk = (t) => A.from(t).filter(
|
|
33873
|
+
})), bk = (t) => A.from(t).filter(J).getOrUndefined(), vk = (t) => K4(t) ? A.some({
|
|
33868
33874
|
targets: TV.find(t.getBody()),
|
|
33869
33875
|
anchorTop: bk(KS(t)),
|
|
33870
33876
|
anchorBottom: bk(RR(t))
|
|
@@ -33893,11 +33899,11 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
33893
33899
|
dialog: R,
|
|
33894
33900
|
isContextMenuOpen: B,
|
|
33895
33901
|
setContextMenuState: H
|
|
33896
|
-
},
|
|
33902
|
+
}, X = {
|
|
33897
33903
|
...W,
|
|
33898
33904
|
shared: {
|
|
33899
33905
|
...W.shared,
|
|
33900
|
-
interpreter: ($e) => wN($e, {},
|
|
33906
|
+
interpreter: ($e) => wN($e, {}, X),
|
|
33901
33907
|
getSink: t.popup
|
|
33902
33908
|
}
|
|
33903
33909
|
}, ce = {
|
|
@@ -33909,7 +33915,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
33909
33915
|
}
|
|
33910
33916
|
};
|
|
33911
33917
|
return {
|
|
33912
|
-
popup:
|
|
33918
|
+
popup: X,
|
|
33913
33919
|
dialog: ce
|
|
33914
33920
|
};
|
|
33915
33921
|
}, qN = (t, s, a) => {
|
|
@@ -33931,7 +33937,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
33931
33937
|
je.raw.button === 0 && d(z2(), { target: je.target });
|
|
33932
33938
|
}), H = (je) => d(fd(), { target: Te.fromDom(je.target) }), W = (je) => {
|
|
33933
33939
|
je.button === 0 && d(z2(), { target: Te.fromDom(je.target) });
|
|
33934
|
-
},
|
|
33940
|
+
}, X = () => {
|
|
33935
33941
|
bt(t.editorManager.get(), (je) => {
|
|
33936
33942
|
t !== je && je.dispatch("DismissPopups", { relatedTarget: t });
|
|
33937
33943
|
});
|
|
@@ -33954,9 +33960,9 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
33954
33960
|
d(fd(), { target: Te.fromDom(je.relatedTarget.getContainer()) });
|
|
33955
33961
|
};
|
|
33956
33962
|
t.on("PostRender", () => {
|
|
33957
|
-
t.on("click", H), t.on("tap", H), t.on("mouseup", W), t.on("mousedown",
|
|
33963
|
+
t.on("click", H), t.on("tap", H), t.on("mouseup", W), t.on("mousedown", X), t.on("ScrollWindow", ce), t.on("ResizeWindow", $e), t.on("ResizeEditor", Oe), t.on("AfterProgressState", ut), t.on("DismissPopups", Xe);
|
|
33958
33964
|
}), t.on("remove", () => {
|
|
33959
|
-
t.off("click", H), t.off("tap", H), t.off("mouseup", W), t.off("mousedown",
|
|
33965
|
+
t.off("click", H), t.off("tap", H), t.off("mouseup", W), t.off("mousedown", X), t.off("ScrollWindow", ce), t.off("ResizeWindow", $e), t.off("ResizeEditor", Oe), t.off("AfterProgressState", ut), t.off("DismissPopups", Xe), R.unbind(), x.unbind(), C.unbind(), E.unbind(), B.unbind(), pe.unbind();
|
|
33960
33966
|
}), t.on("detach", () => {
|
|
33961
33967
|
bt([
|
|
33962
33968
|
s,
|
|
@@ -33979,8 +33985,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
33979
33985
|
p(x).fold(() => {
|
|
33980
33986
|
throw console.error("Custom List was defined to not be a shell, but no item container was specified in components"), new Error("Custom List was defined to not be a shell, but no item container was specified in components");
|
|
33981
33987
|
}, (E) => {
|
|
33982
|
-
const R = Bn.contents(E), B = C.length, H = B - R.length, W = H > 0 ? ro(H, () => t.makeItem()) : [],
|
|
33983
|
-
bt(
|
|
33988
|
+
const R = Bn.contents(E), B = C.length, H = B - R.length, W = H > 0 ? ro(H, () => t.makeItem()) : [], X = R.slice(B);
|
|
33989
|
+
bt(X, ($e) => Bn.remove(E, $e)), bt(W, ($e) => Bn.append(E, $e));
|
|
33984
33990
|
const ce = Bn.contents(E);
|
|
33985
33991
|
bt(ce, ($e, xe) => {
|
|
33986
33992
|
t.setupItem(x, $e, C[xe], xe);
|
|
@@ -34320,8 +34326,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
34320
34326
|
fadeOutClass: "tox-editor-dock-fadeout",
|
|
34321
34327
|
transitionClass: "tox-editor-dock-transition"
|
|
34322
34328
|
}, cB = "tox-tinymce--toolbar-sticky-on", iB = "tox-tinymce--toolbar-sticky-off", HD = (t, s) => {
|
|
34323
|
-
const a = da(s), d = Fl(s).dom.innerHeight, g = Ga(a), p = Te.fromDom(t.elm), x = rl(p), C = Vs(p), E = x.y, R = E + C, B = wl(s), H = Vs(s), W = B.top,
|
|
34324
|
-
if (ce && E <
|
|
34329
|
+
const a = da(s), d = Fl(s).dom.innerHeight, g = Ga(a), p = Te.fromDom(t.elm), x = rl(p), C = Vs(p), E = x.y, R = E + C, B = wl(s), H = Vs(s), W = B.top, X = W + H, ce = Math.abs(W - g.top) < 2, $e = Math.abs(X - (g.top + d)) < 2;
|
|
34330
|
+
if (ce && E < X)
|
|
34325
34331
|
Rg(g.left, E - H, a);
|
|
34326
34332
|
else if ($e && R > W) {
|
|
34327
34333
|
const xe = E - d + C + H;
|
|
@@ -34386,11 +34392,11 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
34386
34392
|
return A.from(E).map((R) => {
|
|
34387
34393
|
const B = Gs(Te.fromDom(R));
|
|
34388
34394
|
return Jp(t, x.element).fold(() => {
|
|
34389
|
-
const W = B.height - C,
|
|
34390
|
-
return Ps(B.x,
|
|
34395
|
+
const W = B.height - C, X = B.y + (Ck(x, "top") ? 0 : C);
|
|
34396
|
+
return Ps(B.x, X, B.width, W);
|
|
34391
34397
|
}, (W) => {
|
|
34392
|
-
const
|
|
34393
|
-
return Ps(
|
|
34398
|
+
const X = Pg(B, Yv(W)), ce = Ck(x, "top") ? X.y : X.y + C;
|
|
34399
|
+
return Ps(X.x, ce, X.width, X.height - C);
|
|
34394
34400
|
});
|
|
34395
34401
|
});
|
|
34396
34402
|
},
|
|
@@ -34608,7 +34614,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
34608
34614
|
visible: !1
|
|
34609
34615
|
});
|
|
34610
34616
|
}
|
|
34611
|
-
}, E = d(p, !1), R = d(C), B = g(R), H = (ce) => B(ce, a()), W = d(x),
|
|
34617
|
+
}, E = d(p, !1), R = d(C), B = g(R), H = (ce) => B(ce, a()), W = d(x), X = {
|
|
34612
34618
|
getSlotNames: a,
|
|
34613
34619
|
getSlot: c,
|
|
34614
34620
|
isShowing: E,
|
|
@@ -34621,7 +34627,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
34621
34627
|
dom: t.dom,
|
|
34622
34628
|
components: s,
|
|
34623
34629
|
behaviours: Ym(t.slotBehaviours),
|
|
34624
|
-
apis:
|
|
34630
|
+
apis: X
|
|
34625
34631
|
};
|
|
34626
34632
|
}, Lc = {
|
|
34627
34633
|
...qo({
|
|
@@ -34699,7 +34705,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
34699
34705
|
io.getCurrent(t).each((d) => {
|
|
34700
34706
|
Bn.set(d, [pz(s)]);
|
|
34701
34707
|
const g = a == null ? void 0 : a.toLowerCase();
|
|
34702
|
-
|
|
34708
|
+
J(g) && mo(s, g) && io.getCurrent(d).each((p) => {
|
|
34703
34709
|
Lc.showSlot(p, g), Fi.immediateGrow(d), fo(d.element, "width"), kk(t.element, "region");
|
|
34704
34710
|
});
|
|
34705
34711
|
});
|
|
@@ -35519,14 +35525,14 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
35519
35525
|
}, E = mD((c = t.buttonType) !== null && c !== void 0 ? c : "secondary"), R = d ? t.text.map(s.translate) : A.some(s.translate(t.text)), B = R.map(Sr), H = C.tooltip.or(R).map((Oe) => ({
|
|
35520
35526
|
"aria-label": s.translate(Oe),
|
|
35521
35527
|
title: s.translate(Oe)
|
|
35522
|
-
})).getOr({}), W = g.map((Oe) => Oe.asSpec()),
|
|
35528
|
+
})).getOr({}), W = g.map((Oe) => Oe.asSpec()), X = jv([
|
|
35523
35529
|
W,
|
|
35524
35530
|
B
|
|
35525
35531
|
]), ce = t.icon.isSome() && B.isSome(), $e = {
|
|
35526
35532
|
tag: "button",
|
|
35527
35533
|
classes: E.concat(...t.icon.isSome() && !ce ? ["tox-button--icon"] : []).concat(...ce ? ["tox-button--icon-and-text"] : []).concat(...t.borderless ? ["tox-button--naked"] : []).concat(...t.type === "togglebutton" && t.active ? ["tox-button--enabled"] : []),
|
|
35528
35534
|
attributes: H
|
|
35529
|
-
}, xe = [], pe = ik(C, A.some(x), xe, $e,
|
|
35535
|
+
}, xe = [], pe = ik(C, A.some(x), xe, $e, X, s);
|
|
35530
35536
|
return Ya.sketch(pe);
|
|
35531
35537
|
}, nO = (t, s) => Zz(t, s), my = (t, s) => ({
|
|
35532
35538
|
dom: {
|
|
@@ -35662,8 +35668,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
35662
35668
|
},
|
|
35663
35669
|
whichView: (p) => io.getCurrent(p).bind(Ew),
|
|
35664
35670
|
toggleView: (p, x, C, E) => io.getCurrent(p).exists((R) => {
|
|
35665
|
-
const B = Ew(R), H = B.exists((
|
|
35666
|
-
return W && (Lc.hideAllSlots(R), H ? (rO(p), x()) : (C(), Yz(p), Lc.showSlot(R, E), Jz(R, E)), B.each((
|
|
35671
|
+
const B = Ew(R), H = B.exists((X) => E === X), W = Lc.getSlot(R, E).isSome();
|
|
35672
|
+
return W && (Lc.hideAllSlots(R), H ? (rO(p), x()) : (C(), Yz(p), Lc.showSlot(R, E), Jz(R, E)), B.each((X) => Qz(R, X))), W;
|
|
35667
35673
|
})
|
|
35668
35674
|
};
|
|
35669
35675
|
return {
|
|
@@ -35990,7 +35996,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
35990
35996
|
}, s, t);
|
|
35991
35997
|
});
|
|
35992
35998
|
return Qn(p, (x) => {
|
|
35993
|
-
const C = (E) =>
|
|
35999
|
+
const C = (E) => J(E) || E.type !== "separator";
|
|
35994
36000
|
return x.getItems().length > 0 && dr(x.getItems(), C);
|
|
35995
36001
|
});
|
|
35996
36002
|
}, dU = (t) => {
|
|
@@ -36002,7 +36008,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
36002
36008
|
};
|
|
36003
36009
|
}, mU = (t, s) => () => H3(t, { message: s }), ZB = (t, s, a) => (t.on("remove", () => a.unload(s)), a.load(s)), cO = (t, s, a, c) => (t.on("remove", () => c.unloadRawCss(s)), c.loadRawCss(s, a)), fU = async (t, s) => {
|
|
36004
36010
|
const c = "ui/" + e_(t).getOr("default") + "/skin.css", d = tinymce.Resource.get(c);
|
|
36005
|
-
if (
|
|
36011
|
+
if (J(d))
|
|
36006
36012
|
return Promise.resolve(cO(t, c, d, t.ui.styleSheetLoader));
|
|
36007
36013
|
{
|
|
36008
36014
|
const g = s + "/skin.min.css";
|
|
@@ -36011,7 +36017,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
36011
36017
|
}, gU = async (t, s) => {
|
|
36012
36018
|
if (un(Te.fromDom(t.getElement()))) {
|
|
36013
36019
|
const d = "ui/" + e_(t).getOr("default") + "/skin.shadowdom.css", g = tinymce.Resource.get(d);
|
|
36014
|
-
if (
|
|
36020
|
+
if (J(g))
|
|
36015
36021
|
return cO(t, d, g, R0.DOM.styleSheetLoader), Promise.resolve();
|
|
36016
36022
|
{
|
|
36017
36023
|
const p = s + "/skin.shadowdom.min.css";
|
|
@@ -36024,7 +36030,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
36024
36030
|
c && s.contentCSS.push(c + (t ? "/content.inline" : "/content") + ".min.css");
|
|
36025
36031
|
}, (c) => {
|
|
36026
36032
|
const d = "ui/" + c + (t ? "/content.inline" : "/content") + ".css", g = tinymce.Resource.get(d);
|
|
36027
|
-
if (
|
|
36033
|
+
if (J(g))
|
|
36028
36034
|
cO(s, d, g, s.ui.styleSheetLoader);
|
|
36029
36035
|
else {
|
|
36030
36036
|
const p = QS(s);
|
|
@@ -36032,7 +36038,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
36032
36038
|
}
|
|
36033
36039
|
});
|
|
36034
36040
|
const a = QS(s);
|
|
36035
|
-
if (!J4(s) &&
|
|
36041
|
+
if (!J4(s) && J(a))
|
|
36036
36042
|
return Promise.all([
|
|
36037
36043
|
fU(s, a),
|
|
36038
36044
|
gU(s, a)
|
|
@@ -36244,10 +36250,10 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
36244
36250
|
return !1;
|
|
36245
36251
|
}, hO = (t) => {
|
|
36246
36252
|
const s = () => {
|
|
36247
|
-
const C = (
|
|
36253
|
+
const C = (X) => X ? s6(X)[0] : "", E = t.queryCommandValue("FontName"), R = x.data, B = E ? E.toLowerCase() : "", H = NR(t);
|
|
36248
36254
|
return {
|
|
36249
|
-
matchOpt: qe(R, (
|
|
36250
|
-
const ce =
|
|
36255
|
+
matchOpt: qe(R, (X) => {
|
|
36256
|
+
const ce = X.format;
|
|
36251
36257
|
return ce.toLowerCase() === B || C(ce).toLowerCase() === C(B).toLowerCase();
|
|
36252
36258
|
}).orThunk(() => gn(SU(B, H), {
|
|
36253
36259
|
title: gO,
|
|
@@ -36358,7 +36364,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
36358
36364
|
a.onAction(je, ut), c.each((zt) => {
|
|
36359
36365
|
Lt.setValue(zt, je), Oe && (Et.each((En) => zt.element.dom.selectionStart = En), Vn.each((En) => zt.element.dom.selectionEnd = En));
|
|
36360
36366
|
});
|
|
36361
|
-
}, R = (pe, Oe) => E((ut, Xe) => ut - Xe, pe, Oe), B = (pe, Oe) => E((ut, Xe) => ut + Xe, pe, Oe), H = (pe) => Vl(pe.element).fold(A.none, (Oe) => (Rc(Oe), A.some(!0))), W = (pe) => U1(pe.element) ? (hi(pe.element).each((Oe) => Rc(Oe)), A.some(!0)) : A.none(),
|
|
36367
|
+
}, R = (pe, Oe) => E((ut, Xe) => ut - Xe, pe, Oe), B = (pe, Oe) => E((ut, Xe) => ut + Xe, pe, Oe), H = (pe) => Vl(pe.element).fold(A.none, (Oe) => (Rc(Oe), A.some(!0))), W = (pe) => U1(pe.element) ? (hi(pe.element).each((Oe) => Rc(Oe)), A.some(!0)) : A.none(), X = (pe, Oe, ut, Xe) => {
|
|
36362
36368
|
const je = dn(fe), yt = s.shared.providers.translate(ut), Et = Ut("altExecuting"), Vn = am(t, "NodeChange SwitchMode", (En) => {
|
|
36363
36369
|
yn.set(En.getComponent(), !t.selection.isEditable());
|
|
36364
36370
|
}), zt = (En) => {
|
|
@@ -36404,7 +36410,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
36404
36410
|
]
|
|
36405
36411
|
}
|
|
36406
36412
|
});
|
|
36407
|
-
}, ce = Xo(
|
|
36413
|
+
}, ce = Xo(X((pe) => R(!1, pe), "minus", "Decrease font size", [])), $e = Xo(X((pe) => B(!1, pe), "plus", "Increase font size", [])), xe = Xo({
|
|
36408
36414
|
dom: {
|
|
36409
36415
|
tag: "div",
|
|
36410
36416
|
classes: ["tox-input-wrapper"]
|
|
@@ -36507,7 +36513,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
36507
36513
|
if (R)
|
|
36508
36514
|
for (let B = 3; C.isNone() && B >= 0; B--) {
|
|
36509
36515
|
const H = MU(R, B), W = PU(H);
|
|
36510
|
-
C = qe(E, (
|
|
36516
|
+
C = qe(E, (X) => X.format === R || X.format === H || X.format === W);
|
|
36511
36517
|
}
|
|
36512
36518
|
return {
|
|
36513
36519
|
matchOpt: C,
|
|
@@ -36715,8 +36721,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
36715
36721
|
}, C = {
|
|
36716
36722
|
...Es([ws((R, B) => {
|
|
36717
36723
|
Cs(R, t, "aria-descriptor").each((W) => {
|
|
36718
|
-
const
|
|
36719
|
-
Nt(W.element, "id",
|
|
36724
|
+
const X = Ut("aria");
|
|
36725
|
+
Nt(W.element, "id", X), Nt(R.element, "aria-describedby", X);
|
|
36720
36726
|
});
|
|
36721
36727
|
})]),
|
|
36722
36728
|
...of(A.some(g))
|
|
@@ -37093,7 +37099,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
37093
37099
|
return et(s, (a) => ({ items: a.trim().split(" ") }));
|
|
37094
37100
|
}, w6 = (t) => mn(t, (s) => mo(s, "name") && mo(s, "items")), eW = (t) => {
|
|
37095
37101
|
const s = t.toolbar, a = t.buttons;
|
|
37096
|
-
return s === !1 ? [] : s === void 0 || s === !0 ? Vk(a) :
|
|
37102
|
+
return s === !1 ? [] : s === void 0 || s === !0 ? Vk(a) : J(s) ? zk(s) : w6(s) ? s : (console.error("Toolbar type should be string, string[], boolean or ToolbarGroup[]"), []);
|
|
37097
37103
|
}, tW = (t, s, a, c, d, g) => vt(s, a.toLowerCase()).orThunk(() => g.bind((p) => Js(p, (x) => vt(s, x + a.toLowerCase())))).fold(() => vt(x6, a.toLowerCase()).map((p) => p(t, d)), (p) => p.type === "grouptoolbarbutton" && !c ? (console.warn(`Ignoring the '${a}' toolbar button. Group toolbar buttons are only supported when using floating toolbar mode and cannot be nested.`), A.none()) : Hk(p, d, t)), Uk = (t, s, a, c) => {
|
|
37098
37104
|
const d = eW(s), g = et(d, (p) => {
|
|
37099
37105
|
const x = _e(p.items, (C) => C.trim().length === 0 ? [] : tW(t, s.buttons, C, s.allowToolbarGroups, a, c).toArray());
|
|
@@ -37105,7 +37111,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
37105
37111
|
return Qn(g, (p) => p.items.length > 0);
|
|
37106
37112
|
}, C6 = (t, s, a, c) => {
|
|
37107
37113
|
const d = s.mainUi.outerContainer, g = a.toolbar, p = a.buttons;
|
|
37108
|
-
if (mn(g,
|
|
37114
|
+
if (mn(g, J)) {
|
|
37109
37115
|
const x = g.map((C) => {
|
|
37110
37116
|
const E = {
|
|
37111
37117
|
toolbar: C,
|
|
@@ -37188,7 +37194,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
37188
37194
|
const ce = t.getWin().innerWidth;
|
|
37189
37195
|
ce !== x.get() && (W(), x.set(ce));
|
|
37190
37196
|
});
|
|
37191
|
-
const
|
|
37197
|
+
const X = {
|
|
37192
37198
|
setEnabled: (ce) => {
|
|
37193
37199
|
h_(s, !ce);
|
|
37194
37200
|
},
|
|
@@ -37197,7 +37203,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
37197
37203
|
return {
|
|
37198
37204
|
iframeContainer: B.element.dom,
|
|
37199
37205
|
editorContainer: C.element.dom,
|
|
37200
|
-
api:
|
|
37206
|
+
api: X
|
|
37201
37207
|
};
|
|
37202
37208
|
}
|
|
37203
37209
|
});
|
|
@@ -37211,7 +37217,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
37211
37217
|
const s = Tx(t), a = U4(t), c = jS(t);
|
|
37212
37218
|
return vO(s).map((d) => jk(d, a, c));
|
|
37213
37219
|
}, rW = (t) => E6(t).getOr(Tx(t)), { ToolbarLocation: K0, ToolbarMode: A6 } = wI, aW = 40, lW = (t, s, a, c, d) => {
|
|
37214
|
-
const { mainUi: g, uiMotherships: p } = a, x = R0.DOM, C = Iv(t), E = Dx(t), R = jS(t).or(E6(t)), B = c.shared.header, H = B.isPositionedAtTop, W = Pv(t),
|
|
37220
|
+
const { mainUi: g, uiMotherships: p } = a, x = R0.DOM, C = Iv(t), E = Dx(t), R = jS(t).or(E6(t)), B = c.shared.header, H = B.isPositionedAtTop, W = Pv(t), X = W === A6.sliding || W === A6.floating, ce = dn(!1), $e = () => ce.get() && !t.removed, xe = (hn) => X ? hn.fold(oe(0), (_o) => _o.components().length > 1 ? Vs(_o.components()[1].element) : 0) : 0, pe = (hn) => {
|
|
37215
37221
|
switch (Ex(t)) {
|
|
37216
37222
|
case K0.auto:
|
|
37217
37223
|
const _o = Ds.getToolbar(g.outerContainer), At = xe(_o), Yt = Vs(hn.element) - At, An = Gs(s);
|
|
@@ -37284,7 +37290,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
37284
37290
|
return;
|
|
37285
37291
|
C || ut();
|
|
37286
37292
|
const _o = C ? A.none() : Et();
|
|
37287
|
-
|
|
37293
|
+
X && Ds.refreshToolbar(g.outerContainer), C || Xe(_o), E && d.on(hn), yt();
|
|
37288
37294
|
}, zt = () => C || !E || !$e() ? !1 : d.get().exists((hn) => {
|
|
37289
37295
|
const _o = B.getDockingMode(), At = pe(hn);
|
|
37290
37296
|
return At !== _o ? (Oe(At), !0) : !1;
|
|
@@ -37319,11 +37325,11 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
37319
37325
|
const { pos: R, bounds: B } = yO(s, a.isPositionedAtTop()), {
|
|
37320
37326
|
pos: H,
|
|
37321
37327
|
bounds: W
|
|
37322
|
-
} = d.get(),
|
|
37328
|
+
} = d.get(), X = B.height !== W.height || B.width !== W.width;
|
|
37323
37329
|
d.set({
|
|
37324
37330
|
pos: R,
|
|
37325
37331
|
bounds: B
|
|
37326
|
-
}),
|
|
37332
|
+
}), X && y_(t, E), a.isVisible() && (H !== R ? a.update(er.reset) : X && (a.updateMode(), a.repositionPopups()));
|
|
37327
37333
|
};
|
|
37328
37334
|
c || (t.on("activate", a.show), t.on("deactivate", a.hide)), t.on("SkinLoaded ResizeWindow", () => a.update(er.reset)), t.on("NodeChange keydown", (E) => {
|
|
37329
37335
|
requestAnimationFrame(() => g(E));
|
|
@@ -37532,13 +37538,13 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
37532
37538
|
}
|
|
37533
37539
|
}, B6 = (t, s, a, c) => {
|
|
37534
37540
|
const d = (C) => (E, R, B, H, W) => {
|
|
37535
|
-
const
|
|
37541
|
+
const X = Kk(t, H, C, a, W), ce = {
|
|
37536
37542
|
...E,
|
|
37537
37543
|
y: W.y,
|
|
37538
37544
|
height: W.height
|
|
37539
37545
|
};
|
|
37540
37546
|
return {
|
|
37541
|
-
...
|
|
37547
|
+
...X(ce, R, B, H, W),
|
|
37542
37548
|
alwaysFit: !0
|
|
37543
37549
|
};
|
|
37544
37550
|
}, g = (C) => SO(c) ? [d(C)] : [];
|
|
@@ -37744,7 +37750,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
37744
37750
|
})), B = () => {
|
|
37745
37751
|
const zt = E.get().getOr("node"), En = SO(zt) ? 1 : 0;
|
|
37746
37752
|
return CO(t, g, zt, En);
|
|
37747
|
-
}, H = () => !t.removed && !(p() && d.isContextMenuOpen()), W = (zt) => Aa(tl(zt, x.get(), Lo), !0),
|
|
37753
|
+
}, H = () => !t.removed && !(p() && d.isContextMenuOpen()), W = (zt) => Aa(tl(zt, x.get(), Lo), !0), X = () => {
|
|
37748
37754
|
if (H()) {
|
|
37749
37755
|
const zt = B(), En = Aa(E.get(), "node") ? $6(t, x.get()) : Rw(t);
|
|
37750
37756
|
return zt.height <= 0 || !Y0(En, zt, 0.01);
|
|
@@ -37755,7 +37761,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
37755
37761
|
}, $e = () => {
|
|
37756
37762
|
if (lr.isOpen(R)) {
|
|
37757
37763
|
const zt = R.element;
|
|
37758
|
-
fo(zt, "display"),
|
|
37764
|
+
fo(zt, "display"), X() ? Gt(zt, "display", "none") : (C.set(0), lr.reposition(R));
|
|
37759
37765
|
}
|
|
37760
37766
|
}, xe = (zt) => ({
|
|
37761
37767
|
dom: {
|
|
@@ -37813,7 +37819,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
37813
37819
|
classes: [Xk],
|
|
37814
37820
|
mode: "placement"
|
|
37815
37821
|
}
|
|
37816
|
-
}, () => A.some(B())), En.fold(x.clear, x.set),
|
|
37822
|
+
}, () => A.some(B())), En.fold(x.clear, x.set), X() && Gt(_o, "display", "none");
|
|
37817
37823
|
};
|
|
37818
37824
|
let Et = !1;
|
|
37819
37825
|
const Vn = J_(() => {
|
|
@@ -38317,7 +38323,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
38317
38323
|
AO(t), LW(t);
|
|
38318
38324
|
}, K6 = (t, s) => {
|
|
38319
38325
|
kW(t), NW(t), AW(t, s), q6(t), iM(t), FW(t), TO(t), EW(t), RW(t);
|
|
38320
|
-
}, HW = (t) =>
|
|
38326
|
+
}, HW = (t) => J(t) ? t.split(/[ ,]/) : t, Y6 = (t) => (s) => s.options.get(t), DO = (t) => {
|
|
38321
38327
|
const s = t.options.register;
|
|
38322
38328
|
s("contextmenu_avoid_overlap", {
|
|
38323
38329
|
processor: "string",
|
|
@@ -38329,7 +38335,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
38329
38335
|
processor: (a) => a === !1 ? {
|
|
38330
38336
|
value: [],
|
|
38331
38337
|
valid: !0
|
|
38332
|
-
} :
|
|
38338
|
+
} : J(a) || mn(a, J) ? {
|
|
38333
38339
|
value: HW(a),
|
|
38334
38340
|
valid: !0
|
|
38335
38341
|
} : {
|
|
@@ -38489,14 +38495,14 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
38489
38495
|
YW(t, s) ? W() : (t.once("selectionchange", W), t.once("touchend", () => t.off("selectionchange", W)));
|
|
38490
38496
|
} else
|
|
38491
38497
|
H();
|
|
38492
|
-
}, a8 = (t) =>
|
|
38498
|
+
}, a8 = (t) => J(t) ? t === "|" : t.type === "separator", OO = { type: "separator" }, l8 = (t) => {
|
|
38493
38499
|
const s = (a) => ({
|
|
38494
38500
|
text: a.text,
|
|
38495
38501
|
icon: a.icon,
|
|
38496
38502
|
enabled: a.enabled,
|
|
38497
38503
|
shortcut: a.shortcut
|
|
38498
38504
|
});
|
|
38499
|
-
if (
|
|
38505
|
+
if (J(t))
|
|
38500
38506
|
return t;
|
|
38501
38507
|
switch (t.type) {
|
|
38502
38508
|
case "separator":
|
|
@@ -38507,7 +38513,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
38507
38513
|
...s(t),
|
|
38508
38514
|
getSubmenuItems: () => {
|
|
38509
38515
|
const c = t.getSubmenuItems();
|
|
38510
|
-
return
|
|
38516
|
+
return J(c) ? c : et(c, l8);
|
|
38511
38517
|
}
|
|
38512
38518
|
};
|
|
38513
38519
|
default:
|
|
@@ -38526,7 +38532,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
38526
38532
|
}, QW = (t, s, a) => {
|
|
38527
38533
|
const c = Ho(s, (d, g) => vt(t, g.toLowerCase()).map((p) => {
|
|
38528
38534
|
const x = p.update(a);
|
|
38529
|
-
if (
|
|
38535
|
+
if (J(x) && ca(Vr(x)))
|
|
38530
38536
|
return RO(d, x.split(" "));
|
|
38531
38537
|
if (jt(x) && x.length > 0) {
|
|
38532
38538
|
const C = et(x, l8);
|
|
@@ -38557,8 +38563,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
38557
38563
|
if (X6(t) && C.preventDefault(), eZ(t, C) || zW(t))
|
|
38558
38564
|
return;
|
|
38559
38565
|
const E = nZ(t, C), R = () => {
|
|
38560
|
-
const H = i8(t, C), W = t.ui.registry.getAll(),
|
|
38561
|
-
return QW(W.contextMenus,
|
|
38566
|
+
const H = i8(t, C), W = t.ui.registry.getAll(), X = J6(t);
|
|
38567
|
+
return QW(W.contextMenus, X, H);
|
|
38562
38568
|
};
|
|
38563
38569
|
(d() ? JW : o8)(t, C, R, a, g, E);
|
|
38564
38570
|
};
|
|
@@ -38659,8 +38665,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
38659
38665
|
deltas: A.some(B),
|
|
38660
38666
|
snap: A.some(E)
|
|
38661
38667
|
}), (H) => {
|
|
38662
|
-
const W = (B.left + B.top) / 2,
|
|
38663
|
-
return W <=
|
|
38668
|
+
const W = (B.left + B.top) / 2, X = (H.left + H.top) / 2;
|
|
38669
|
+
return W <= X ? {
|
|
38664
38670
|
deltas: A.some(B),
|
|
38665
38671
|
snap: A.some(E)
|
|
38666
38672
|
} : C;
|
|
@@ -38973,7 +38979,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
38973
38979
|
return LO(W.getOpt(s), yt, Et.x, Et.y, Et.width, Et.height);
|
|
38974
38980
|
}, C = () => et(a.get(), (yt) => x(yt)), E = (yt) => {
|
|
38975
38981
|
const Et = rl(yt);
|
|
38976
|
-
return LO(
|
|
38982
|
+
return LO(X.getOpt(s), yt, Et.right, Et.bottom, Et.width, Et.height);
|
|
38977
38983
|
}, R = () => et(c.get(), (yt) => E(yt)), B = FO(C, g, (yt) => {
|
|
38978
38984
|
p.get().each((Et) => {
|
|
38979
38985
|
t.dispatch("TableSelectorChange", {
|
|
@@ -38988,7 +38994,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
38988
38994
|
finish: yt
|
|
38989
38995
|
});
|
|
38990
38996
|
});
|
|
38991
|
-
}), W = u1(B),
|
|
38997
|
+
}), W = u1(B), X = u1(H), ce = kl(W.asSpec()), $e = kl(X.asSpec()), xe = (yt, Et, Vn, zt) => {
|
|
38992
38998
|
const En = Et.dom.getBoundingClientRect();
|
|
38993
38999
|
fo(yt.element, "display");
|
|
38994
39000
|
const Cn = Fl(Te.fromDom(t.getBody())).dom.innerHeight, Ko = Vn(En), hn = zt(En, Cn);
|
|
@@ -39232,12 +39238,12 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
39232
39238
|
};
|
|
39233
39239
|
}, g = () => {
|
|
39234
39240
|
const x = [], C = JS(t), E = Nv(t), R = X4(t) || t.hasPlugin("wordcount"), B = () => {
|
|
39235
|
-
const H = "tox-statusbar__text-container--flex-start", W = "tox-statusbar__text-container--flex-end",
|
|
39241
|
+
const H = "tox-statusbar__text-container--flex-start", W = "tox-statusbar__text-container--flex-end", X = "tox-statusbar__text-container--space-around";
|
|
39236
39242
|
if (C) {
|
|
39237
39243
|
const ce = "tox-statusbar__text-container-3-cols";
|
|
39238
39244
|
return !R && !E ? [
|
|
39239
39245
|
ce,
|
|
39240
|
-
|
|
39246
|
+
X
|
|
39241
39247
|
] : R && !E ? [
|
|
39242
39248
|
ce,
|
|
39243
39249
|
W
|
|
@@ -39270,7 +39276,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
39270
39276
|
})()
|
|
39271
39277
|
};
|
|
39272
39278
|
}, w8 = (t, s) => s.get().getOrDie(`UI for ${t} has not been rendered`), HZ = (t, s) => {
|
|
39273
|
-
const a = t.inline, c = a ? uW : T6, d = Dx(t) ? dB : ww, g = dW(), p = eo(), x = eo(), C = eo(), H = yi().deviceType.isTouch() ? ["tox-platform-touch"] : [], W = e3(t),
|
|
39279
|
+
const a = t.inline, c = a ? uW : T6, d = Dx(t) ? dB : ww, g = dW(), p = eo(), x = eo(), C = eo(), H = yi().deviceType.isTouch() ? ["tox-platform-touch"] : [], W = e3(t), X = Pv(t), ce = Xo({
|
|
39274
39280
|
dom: {
|
|
39275
39281
|
tag: "div",
|
|
39276
39282
|
classes: ["tox-anchorbar"]
|
|
@@ -39306,7 +39312,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
39306
39312
|
onToolbarToggled: (Ww) => {
|
|
39307
39313
|
hL(t, Ww);
|
|
39308
39314
|
},
|
|
39309
|
-
type:
|
|
39315
|
+
type: X,
|
|
39310
39316
|
lazyToolbar: je,
|
|
39311
39317
|
lazyHeader: () => xe().getOrDie("Could not find header element"),
|
|
39312
39318
|
...bn
|
|
@@ -39319,7 +39325,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
39319
39325
|
onEscape: () => {
|
|
39320
39326
|
t.focus();
|
|
39321
39327
|
},
|
|
39322
|
-
type:
|
|
39328
|
+
type: X
|
|
39323
39329
|
}), pl = Ax(t), zi = t_(t), Ed = Bv(t), bm = PR(t), b1 = zt(), rb = pl || zi || Ed, bf = () => pl ? [To] : zi ? [_s] : [], Dh = bm ? [
|
|
39324
39330
|
b1,
|
|
39325
39331
|
In
|
|
@@ -39487,7 +39493,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
39487
39493
|
menus: LR(t),
|
|
39488
39494
|
menubar: j4(t),
|
|
39489
39495
|
toolbar: rb.getOrThunk(() => qS(t)),
|
|
39490
|
-
allowToolbarGroups:
|
|
39496
|
+
allowToolbarGroups: X === gu.floating,
|
|
39491
39497
|
buttons: pl,
|
|
39492
39498
|
sidebar: bm,
|
|
39493
39499
|
views: b1
|
|
@@ -39594,7 +39600,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
39594
39600
|
]), zO = (t, s, a, c) => {
|
|
39595
39601
|
const d = eo(), g = (W) => {
|
|
39596
39602
|
d.set(W);
|
|
39597
|
-
const
|
|
39603
|
+
const X = t.lazySink(W).getOrDie(), ce = c.blocker(), $e = X.getSystem().build({
|
|
39598
39604
|
...ce,
|
|
39599
39605
|
components: ce.components.concat([Ti(W)]),
|
|
39600
39606
|
behaviours: wt([
|
|
@@ -39604,15 +39610,15 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
39604
39610
|
})])
|
|
39605
39611
|
])
|
|
39606
39612
|
});
|
|
39607
|
-
Kf(
|
|
39613
|
+
Kf(X, $e), cn.focusIn(W);
|
|
39608
39614
|
}, p = (W) => {
|
|
39609
|
-
d.clear(), ea(W.element).each((
|
|
39610
|
-
W.getSystem().getByDom(
|
|
39615
|
+
d.clear(), ea(W.element).each((X) => {
|
|
39616
|
+
W.getSystem().getByDom(X).each((ce) => {
|
|
39611
39617
|
Xd(ce);
|
|
39612
39618
|
});
|
|
39613
39619
|
});
|
|
39614
|
-
}, x = (W) => Jm(W, t, "body"), C = (W) => Cs(W, t, "footer"), E = (W,
|
|
39615
|
-
mm.block(W,
|
|
39620
|
+
}, x = (W) => Jm(W, t, "body"), C = (W) => Cs(W, t, "footer"), E = (W, X) => {
|
|
39621
|
+
mm.block(W, X);
|
|
39616
39622
|
}, R = (W) => {
|
|
39617
39623
|
mm.unblock(W);
|
|
39618
39624
|
}, B = Ut("modal-events"), H = {
|
|
@@ -39936,7 +39942,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
39936
39942
|
oa("onCancel", fe),
|
|
39937
39943
|
oa("onClose", fe),
|
|
39938
39944
|
oa("onMessage", fe)
|
|
39939
|
-
]), xt = (t) => qs("dialog", rt, t), It = (t) => Be(t) ? [t].concat(_e(Gi(t), It)) : jt(t) ? _e(t, It) : [], We = (t) =>
|
|
39945
|
+
]), xt = (t) => qs("dialog", rt, t), It = (t) => Be(t) ? [t].concat(_e(Gi(t), It)) : jt(t) ? _e(t, It) : [], We = (t) => J(t.type) && J(t.name), Ve = {
|
|
39940
39946
|
checkbox: E8,
|
|
39941
39947
|
colorinput: JZ,
|
|
39942
39948
|
colorpicker: tj,
|
|
@@ -40809,12 +40815,12 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
40809
40815
|
p.onChange(g, { name: x.name });
|
|
40810
40816
|
}),
|
|
40811
40817
|
c(ug, (g, p, x, C) => {
|
|
40812
|
-
const E = () => C.getSystem().isConnected() ? cn.focusIn(C) : void 0, R = (W) => Y(W, "disabled") || I(W, "aria-disabled").exists((
|
|
40818
|
+
const E = () => C.getSystem().isConnected() ? cn.focusIn(C) : void 0, R = (W) => Y(W, "disabled") || I(W, "aria-disabled").exists((X) => X === "true"), B = Ne(C.element), H = qd(B);
|
|
40813
40819
|
p.onAction(g, {
|
|
40814
40820
|
name: x.name,
|
|
40815
40821
|
value: x.value
|
|
40816
40822
|
}), qd(B).fold(E, (W) => {
|
|
40817
|
-
R(W) || H.exists((
|
|
40823
|
+
R(W) || H.exists((X) => Or(W, X) && R(X)) ? E() : a().toOptional().filter((X) => !Or(X.element, W)).each(E);
|
|
40818
40824
|
});
|
|
40819
40825
|
}),
|
|
40820
40826
|
c(PM, (g, p, x) => {
|
|
@@ -40875,54 +40881,54 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
40875
40881
|
const a = t.getRoot();
|
|
40876
40882
|
return Zn.getState(a).get().map((c) => ls(qs("data", c.dataValidator, s))).getOr(s);
|
|
40877
40883
|
}, bT = (t, s, a) => {
|
|
40878
|
-
const c = (
|
|
40884
|
+
const c = (X) => {
|
|
40879
40885
|
const ce = t.getRoot();
|
|
40880
|
-
ce.getSystem().isConnected() &&
|
|
40886
|
+
ce.getSystem().isConnected() && X(ce);
|
|
40881
40887
|
}, W = {
|
|
40882
40888
|
getData: () => {
|
|
40883
|
-
const
|
|
40889
|
+
const X = t.getRoot(), ce = X.getSystem().isConnected() ? t.getFormWrapper() : X, $e = Lt.getValue(ce), xe = qo(a, (pe) => pe.get());
|
|
40884
40890
|
return {
|
|
40885
40891
|
...$e,
|
|
40886
40892
|
...xe
|
|
40887
40893
|
};
|
|
40888
40894
|
},
|
|
40889
|
-
setData: (
|
|
40895
|
+
setData: (X) => {
|
|
40890
40896
|
c((ce) => {
|
|
40891
|
-
const $e = W.getData(), xe = Uo($e,
|
|
40897
|
+
const $e = W.getData(), xe = Uo($e, X), pe = pm(t, xe), Oe = t.getFormWrapper();
|
|
40892
40898
|
Lt.setValue(Oe, pe), us(a, (ut, Xe) => {
|
|
40893
40899
|
mo(xe, Xe) && ut.set(xe[Xe]);
|
|
40894
40900
|
});
|
|
40895
40901
|
});
|
|
40896
40902
|
},
|
|
40897
|
-
setEnabled: (
|
|
40898
|
-
Ha(t,
|
|
40903
|
+
setEnabled: (X, ce) => {
|
|
40904
|
+
Ha(t, X).each(ce ? yn.enable : yn.disable);
|
|
40899
40905
|
},
|
|
40900
|
-
focus: (
|
|
40901
|
-
Ha(t,
|
|
40906
|
+
focus: (X) => {
|
|
40907
|
+
Ha(t, X).each(wn.focus);
|
|
40902
40908
|
},
|
|
40903
|
-
block: (
|
|
40904
|
-
if (!X
|
|
40909
|
+
block: (X) => {
|
|
40910
|
+
if (!J(X))
|
|
40905
40911
|
throw new Error("The dialogInstanceAPI.block function should be passed a blocking message of type string as an argument");
|
|
40906
40912
|
c((ce) => {
|
|
40907
|
-
ln(ce, fA, { message:
|
|
40913
|
+
ln(ce, fA, { message: X });
|
|
40908
40914
|
});
|
|
40909
40915
|
},
|
|
40910
40916
|
unblock: () => {
|
|
40911
|
-
c((
|
|
40912
|
-
go(
|
|
40917
|
+
c((X) => {
|
|
40918
|
+
go(X, gA);
|
|
40913
40919
|
});
|
|
40914
40920
|
},
|
|
40915
|
-
showTab: (
|
|
40921
|
+
showTab: (X) => {
|
|
40916
40922
|
c((ce) => {
|
|
40917
40923
|
const $e = t.getBody();
|
|
40918
40924
|
Zn.getState($e).get().exists((pe) => pe.isTabPanel()) && io.getCurrent($e).each((pe) => {
|
|
40919
|
-
Xs.showTab(pe,
|
|
40925
|
+
Xs.showTab(pe, X);
|
|
40920
40926
|
});
|
|
40921
40927
|
});
|
|
40922
40928
|
},
|
|
40923
|
-
redial: (
|
|
40929
|
+
redial: (X) => {
|
|
40924
40930
|
c((ce) => {
|
|
40925
|
-
const $e = t.getId(), xe = s(
|
|
40931
|
+
const $e = t.getId(), xe = s(X), pe = pT(xe.internalDialog.buttons, a);
|
|
40926
40932
|
ce.getSystem().broadcastOn([`${ry}-${$e}`], xe), ce.getSystem().broadcastOn([`${fg}-${$e}`], xe.internalDialog), ce.getSystem().broadcastOn([`${Q_}-${$e}`], xe.internalDialog), ce.getSystem().broadcastOn([`${WA}-${$e}`], {
|
|
40927
40933
|
...xe.internalDialog,
|
|
40928
40934
|
buttons: pe
|
|
@@ -40930,8 +40936,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
40930
40936
|
});
|
|
40931
40937
|
},
|
|
40932
40938
|
close: () => {
|
|
40933
|
-
c((
|
|
40934
|
-
go(
|
|
40939
|
+
c((X) => {
|
|
40940
|
+
go(X, Xv);
|
|
40935
40941
|
});
|
|
40936
40942
|
},
|
|
40937
40943
|
toggleFullscreen: t.toggleFullscreen
|
|
@@ -40941,7 +40947,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
40941
40947
|
const c = Ut("dialog"), d = t.internalDialog, g = _t(d.title, c, a), p = dn(d.size), x = Ja(p.get()).toArray(), C = (pe, Oe) => (p.set(Oe.internalDialog.size), p1(Oe.internalDialog.size, pe), A.some(Oe)), E = Hw({
|
|
40942
40948
|
body: d.body,
|
|
40943
40949
|
initialData: d.initialData
|
|
40944
|
-
}, c, a), R = pT(d.buttons), B = KO(R), H = gn(R.length !== 0, Td({ buttons: R }, c, a)), W = to(() => xe, sn(() => ce, a.shared.providers, s), a.shared.getSink),
|
|
40950
|
+
}, c, a), R = pT(d.buttons), B = KO(R), H = gn(R.length !== 0, Td({ buttons: R }, c, a)), W = to(() => xe, sn(() => ce, a.shared.providers, s), a.shared.getSink), X = {
|
|
40945
40951
|
id: c,
|
|
40946
40952
|
header: g,
|
|
40947
40953
|
body: E,
|
|
@@ -40953,7 +40959,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
40953
40959
|
initialData: t
|
|
40954
40960
|
})],
|
|
40955
40961
|
extraStyles: {}
|
|
40956
|
-
}, ce = qO(
|
|
40962
|
+
}, ce = qO(X, W, a), $e = (() => {
|
|
40957
40963
|
const pe = () => {
|
|
40958
40964
|
const ut = Gr.getBody(ce);
|
|
40959
40965
|
return io.getCurrent(ut).getOr(ut);
|
|
@@ -40980,7 +40986,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
40980
40986
|
}, g, p, a.shared.providers)), W = Xo(vg({
|
|
40981
40987
|
body: C.body,
|
|
40982
40988
|
initialData: C.initialData
|
|
40983
|
-
}, g, x, a, c)),
|
|
40989
|
+
}, g, x, a, c)), X = pT(C.buttons), ce = KO(X), $e = gn(X.length !== 0, Xo(Fc({ buttons: X }, g, a))), xe = to(() => Xe, {
|
|
40984
40990
|
onBlock: (je) => {
|
|
40985
40991
|
mm.block(Oe, (yt, Et) => {
|
|
40986
40992
|
const Vn = H.getOpt(Oe).map((zt) => Vs(zt.element));
|
|
@@ -41070,7 +41076,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
41070
41076
|
};
|
|
41071
41077
|
return {
|
|
41072
41078
|
block: (p) => {
|
|
41073
|
-
if (!
|
|
41079
|
+
if (!J(p))
|
|
41074
41080
|
throw new Error("The urlDialogInstanceAPI.block function should be passed a blocking message of type string as an argument");
|
|
41075
41081
|
s((x) => {
|
|
41076
41082
|
ln(x, fA, { message: p });
|
|
@@ -41131,10 +41137,10 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
41131
41137
|
width: Oe + "px",
|
|
41132
41138
|
"max-width": Oe + "px"
|
|
41133
41139
|
}))
|
|
41134
|
-
}, R = t.width.isNone() && t.height.isNone() ? ["tox-dialog--width-lg"] : [], B = new I8(t.url, { base_uri: new I8(window.location.href) }), H = `${B.protocol}://${B.host}${B.port ? ":" + B.port : ""}`, W = Zm(),
|
|
41140
|
+
}, R = t.width.isNone() && t.height.isNone() ? ["tox-dialog--width-lg"] : [], B = new I8(t.url, { base_uri: new I8(window.location.href) }), H = `${B.protocol}://${B.host}${B.port ? ":" + B.port : ""}`, W = Zm(), X = (Oe, ut) => A.some(ut), ce = [
|
|
41135
41141
|
Zn.config({
|
|
41136
41142
|
channel: `${ry}-${d}`,
|
|
41137
|
-
updateState:
|
|
41143
|
+
updateState: X,
|
|
41138
41144
|
initialData: t
|
|
41139
41145
|
}),
|
|
41140
41146
|
Hn("messages", [
|
|
@@ -41265,17 +41271,17 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
41265
41271
|
optScrollEnv: A.none()
|
|
41266
41272
|
}))
|
|
41267
41273
|
})], gq = (t) => {
|
|
41268
|
-
const s = t.editor, a = Dx(s), c = dq(t.backstages.dialog), d = mq(t.backstages.dialog), g = (
|
|
41274
|
+
const s = t.editor, a = Dx(s), c = dq(t.backstages.dialog), d = mq(t.backstages.dialog), g = (X, ce, $e) => {
|
|
41269
41275
|
if (!Zo(ce)) {
|
|
41270
41276
|
if (ce.inline === "toolbar")
|
|
41271
|
-
return E(
|
|
41277
|
+
return E(X, t.backstages.popup.shared.anchors.inlineDialog(), $e, ce);
|
|
41272
41278
|
if (ce.inline === "bottom")
|
|
41273
|
-
return R(
|
|
41279
|
+
return R(X, t.backstages.popup.shared.anchors.inlineBottomDialog(), $e, ce);
|
|
41274
41280
|
if (ce.inline === "cursor")
|
|
41275
|
-
return E(
|
|
41281
|
+
return E(X, t.backstages.popup.shared.anchors.cursor(), $e, ce);
|
|
41276
41282
|
}
|
|
41277
|
-
return C(
|
|
41278
|
-
}, p = (
|
|
41283
|
+
return C(X, $e);
|
|
41284
|
+
}, p = (X, ce) => x(X, ce), x = (X, ce) => {
|
|
41279
41285
|
const $e = (xe) => {
|
|
41280
41286
|
const pe = uq(xe, {
|
|
41281
41287
|
closeWindow: () => {
|
|
@@ -41284,8 +41290,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
41284
41290
|
}, s, t.backstages.dialog);
|
|
41285
41291
|
return Gr.show(pe.dialog), pe.instanceApi;
|
|
41286
41292
|
};
|
|
41287
|
-
return Wn.openUrl($e,
|
|
41288
|
-
}, C = (
|
|
41293
|
+
return Wn.openUrl($e, X);
|
|
41294
|
+
}, C = (X, ce) => {
|
|
41289
41295
|
const $e = (xe, pe, Oe) => {
|
|
41290
41296
|
const ut = pe, je = yj({
|
|
41291
41297
|
dataValidator: Oe,
|
|
@@ -41299,8 +41305,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
41299
41305
|
}, t.backstages.dialog);
|
|
41300
41306
|
return Gr.show(je.dialog), je.instanceApi.setData(ut), je.instanceApi;
|
|
41301
41307
|
};
|
|
41302
|
-
return Wn.open($e,
|
|
41303
|
-
}, E = (
|
|
41308
|
+
return Wn.open($e, X);
|
|
41309
|
+
}, E = (X, ce, $e, xe) => {
|
|
41304
41310
|
const pe = (Oe, ut, Xe) => {
|
|
41305
41311
|
const je = $G(ut, Xe), yt = eo(), Et = t.backstages.popup.shared.header.isPositionedAtTop(), Vn = {
|
|
41306
41312
|
dataValidator: Xe,
|
|
@@ -41336,8 +41342,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
41336
41342
|
};
|
|
41337
41343
|
return lr.showWithinBounds(Cn, Ti(En.dialog), { anchor: ce }, Ko), (!a || !Et) && (er.refresh(Cn), s.on("ResizeEditor", zt)), En.instanceApi.setData(je), cn.focusIn(En.dialog), En.instanceApi;
|
|
41338
41344
|
};
|
|
41339
|
-
return Wn.open(pe,
|
|
41340
|
-
}, R = (
|
|
41345
|
+
return Wn.open(pe, X);
|
|
41346
|
+
}, R = (X, ce, $e, xe) => {
|
|
41341
41347
|
const pe = (Oe, ut, Xe) => {
|
|
41342
41348
|
const je = $G(ut, Xe), yt = eo(), Et = t.backstages.popup.shared.header.isPositionedAtTop(), Vn = {
|
|
41343
41349
|
dataValidator: Xe,
|
|
@@ -41394,19 +41400,19 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
41394
41400
|
});
|
|
41395
41401
|
return lr.showWithinBounds(Cn, Ti(En.dialog), { anchor: ce }, Ko), er.refresh(Cn), s.on("ResizeEditor ScrollWindow ElementScroll ResizeWindow", zt), En.instanceApi.setData(je), cn.focusIn(En.dialog), En.instanceApi;
|
|
41396
41402
|
};
|
|
41397
|
-
return Wn.open(pe,
|
|
41403
|
+
return Wn.open(pe, X);
|
|
41398
41404
|
};
|
|
41399
41405
|
return {
|
|
41400
41406
|
open: g,
|
|
41401
41407
|
openUrl: p,
|
|
41402
|
-
alert: (
|
|
41403
|
-
c.open(
|
|
41408
|
+
alert: (X, ce) => {
|
|
41409
|
+
c.open(X, ce);
|
|
41404
41410
|
},
|
|
41405
|
-
close: (
|
|
41406
|
-
|
|
41411
|
+
close: (X) => {
|
|
41412
|
+
X.close();
|
|
41407
41413
|
},
|
|
41408
|
-
confirm: (
|
|
41409
|
-
d.open(
|
|
41414
|
+
confirm: (X, ce) => {
|
|
41415
|
+
d.open(X, ce);
|
|
41410
41416
|
}
|
|
41411
41417
|
};
|
|
41412
41418
|
}, hq = (t) => {
|
|
@@ -41451,7 +41457,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
41451
41457
|
}, se = (i) => {
|
|
41452
41458
|
const m = typeof i;
|
|
41453
41459
|
return i === null ? "null" : m === "object" && Array.isArray(i) ? "array" : m === "object" && me(i, String, (h, v) => v.isPrototypeOf(h)) ? "string" : m;
|
|
41454
|
-
}, Ee = (i) => (m) => se(m) === i, he = (i) => (m) => typeof m === i, K = (i) => (m) => i === m, De = Ee("string"),
|
|
41460
|
+
}, Ee = (i) => (m) => se(m) === i, he = (i) => (m) => typeof m === i, K = (i) => (m) => i === m, De = Ee("string"), J = Ee("object"), Be = Ee("array"), ft = K(null), jt = he("boolean"), xn = K(void 0), zn = (i) => i == null, Zo = (i) => !zn(i), ir = he("function"), No = he("number"), Pt = () => {
|
|
41455
41461
|
}, ur = (i, m) => (...h) => i(m.apply(null, h)), mn = (i, m) => (h) => i(m(h)), fe = (i) => () => i, Tt = (i) => i, Ea = (i, m) => i === m;
|
|
41456
41462
|
function Xn(i, ...m) {
|
|
41457
41463
|
return (...h) => {
|
|
@@ -41683,7 +41689,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
41683
41689
|
return h;
|
|
41684
41690
|
}, Qo = Object.getPrototypeOf, Gi = (i) => di("HTMLElement", i), vt = (i) => {
|
|
41685
41691
|
const m = yr("ownerDocument.defaultView", i);
|
|
41686
|
-
return
|
|
41692
|
+
return J(i) && (Gi(m).prototype.isPrototypeOf(i) || /^HTML\w*Element$/.test(Qo(i).constructor.name));
|
|
41687
41693
|
}, mo = 8, Er = 9, Aa = 11, Nl = 1, Da = 3, es = (i) => i.dom.nodeName.toLowerCase(), tl = (i) => i.dom.nodeType, bl = (i) => (m) => tl(m) === i, Yo = (i) => tl(i) === mo || es(i) === "#comment", gn = (i) => Ar(i) && vt(i.dom), Ar = bl(Nl), Bl = bl(Da), Hc = bl(Er), mi = bl(Aa), xr = (i) => (m) => Ar(m) && es(m) === i, mr = (i, m, h) => {
|
|
41688
41694
|
if (De(h) || jt(h) || No(h))
|
|
41689
41695
|
i.setAttribute(m, h + "");
|
|
@@ -44403,7 +44409,7 @@ Required: ` + m.join(", "));
|
|
|
44403
44409
|
BC(i, Jt.rows, Jt.columns, Jt.options);
|
|
44404
44410
|
}), i.addCommand("mceTableApplyCellStyle", (Ye, Jt) => {
|
|
44405
44411
|
const kn = (_a) => "tablecell" + _a.toLowerCase().replace("-", "");
|
|
44406
|
-
if (!
|
|
44412
|
+
if (!J(Jt))
|
|
44407
44413
|
return;
|
|
44408
44414
|
const Un = ro(iu(i), vb);
|
|
44409
44415
|
if (Un.length === 0)
|
|
@@ -45694,7 +45700,7 @@ Required: ` + m.join(", "));
|
|
|
45694
45700
|
}, se = (S) => {
|
|
45695
45701
|
const $ = typeof S;
|
|
45696
45702
|
return S === null ? "null" : $ === "object" && Array.isArray(S) ? "array" : $ === "object" && me(S, String, (U, ae) => ae.isPrototypeOf(U)) ? "string" : $;
|
|
45697
|
-
}, Ee = (S) => ($) => se($) === S, he = (S) => ($) => typeof $ === S, K = Ee("string"), De = Ee("object"),
|
|
45703
|
+
}, Ee = (S) => ($) => se($) === S, he = (S) => ($) => typeof $ === S, K = Ee("string"), De = Ee("object"), J = Ee("array"), Be = he("boolean"), ft = (S) => S == null, jt = (S) => !ft(S), xn = he("function"), zn = he("number"), Zo = () => {
|
|
45698
45704
|
}, ir = (S, $) => (U) => S($(U)), No = (S) => () => S, Pt = (S, $) => S === $;
|
|
45699
45705
|
function ur(S, ...$) {
|
|
45700
45706
|
return (...U) => {
|
|
@@ -45827,7 +45833,7 @@ Required: ` + m.join(", "));
|
|
|
45827
45833
|
}, Xt = (S, $) => A(S, $, fe), nt = (S) => {
|
|
45828
45834
|
const $ = [];
|
|
45829
45835
|
for (let U = 0, ae = S.length; U < ae; ++U) {
|
|
45830
|
-
if (!
|
|
45836
|
+
if (!J(S[U]))
|
|
45831
45837
|
throw new Error("Arr.flatten item " + U + " was not an array, input: " + S);
|
|
45832
45838
|
oe.apply($, S[U]);
|
|
45833
45839
|
}
|
|
@@ -46842,7 +46848,7 @@ Required: ` + m.join(", "));
|
|
|
46842
46848
|
}, se = (j) => {
|
|
46843
46849
|
const de = typeof j;
|
|
46844
46850
|
return j === null ? "null" : de === "object" && Array.isArray(j) ? "array" : de === "object" && me(j, String, (ke, Ne) => Ne.isPrototypeOf(ke)) ? "string" : de;
|
|
46845
|
-
}, Ee = (j) => (de) => se(de) === j, he = (j) => (de) => typeof de === j, K = (j) => (de) => j === de, De = Ee("string"),
|
|
46851
|
+
}, Ee = (j) => (de) => se(de) === j, he = (j) => (de) => typeof de === j, K = (j) => (de) => j === de, De = Ee("string"), J = Ee("object"), Be = Ee("array"), ft = K(null), jt = he("boolean"), xn = (j) => j == null, zn = (j) => !xn(j), Zo = he("function"), ir = (j, de) => {
|
|
46846
46852
|
if (Be(j)) {
|
|
46847
46853
|
for (let ke = 0, Ne = j.length; ke < Ne; ++ke)
|
|
46848
46854
|
if (!de(j[ke]))
|
|
@@ -46982,11 +46988,11 @@ Required: ` + m.join(", "));
|
|
|
46982
46988
|
}), de("link_context_toolbar", {
|
|
46983
46989
|
processor: "boolean",
|
|
46984
46990
|
default: !1
|
|
46985
|
-
}), de("link_list", { processor: (ke) => De(ke) || Zo(ke) || ir(ke,
|
|
46991
|
+
}), de("link_list", { processor: (ke) => De(ke) || Zo(ke) || ir(ke, J) }), de("link_default_target", { processor: "string" }), de("link_default_protocol", {
|
|
46986
46992
|
processor: "string",
|
|
46987
46993
|
default: "https"
|
|
46988
46994
|
}), de("link_target_list", {
|
|
46989
|
-
processor: (ke) => jt(ke) || ir(ke,
|
|
46995
|
+
processor: (ke) => jt(ke) || ir(ke, J),
|
|
46990
46996
|
default: !0
|
|
46991
46997
|
}), de("link_rel_list", {
|
|
46992
46998
|
processor: "object[]",
|
|
@@ -47599,7 +47605,7 @@ Required: ` + m.join(", "));
|
|
|
47599
47605
|
}, Ee = (I) => {
|
|
47600
47606
|
const Y = typeof I;
|
|
47601
47607
|
return I === null ? "null" : Y === "object" && Array.isArray(I) ? "array" : Y === "object" && se(I, String, (re, Le) => Le.isPrototypeOf(re)) ? "string" : Y;
|
|
47602
|
-
}, he = (I) => (Y) => Ee(Y) === I, K = (I) => (Y) => typeof Y === I, De = (I) => (Y) => I === Y,
|
|
47608
|
+
}, he = (I) => (Y) => Ee(Y) === I, K = (I) => (Y) => typeof Y === I, De = (I) => (Y) => I === Y, J = (I, Y) => ft(I) && se(I, Y, (re, Le) => me(re) === Le), Be = he("string"), ft = he("object"), jt = (I) => J(I, Object), xn = he("array"), zn = De(null), Zo = K("boolean"), ir = (I) => I == null, No = (I) => !ir(I), Pt = K("function"), ur = K("number"), mn = (I, Y) => {
|
|
47603
47609
|
if (xn(I)) {
|
|
47604
47610
|
for (let re = 0, Le = I.length; re < Le; ++re)
|
|
47605
47611
|
if (!Y(I[re]))
|
|
@@ -48468,7 +48474,7 @@ Required: ` + m.join(", "));
|
|
|
48468
48474
|
}, se = (w) => {
|
|
48469
48475
|
const T = typeof w;
|
|
48470
48476
|
return w === null ? "null" : T === "object" && Array.isArray(w) ? "array" : T === "object" && me(w, String, (V, q) => q.isPrototypeOf(V)) ? "string" : T;
|
|
48471
|
-
}, Ee = (w) => (T) => se(T) === w, he = (w) => (T) => typeof T === w, K = (w) => (T) => w === T, De = Ee("string"),
|
|
48477
|
+
}, Ee = (w) => (T) => se(T) === w, he = (w) => (T) => typeof T === w, K = (w) => (T) => w === T, De = Ee("string"), J = Ee("array"), Be = he("boolean"), ft = K(void 0), jt = (w) => w == null, xn = (w) => !jt(w), zn = he("function"), Zo = he("number"), ir = () => {
|
|
48472
48478
|
}, No = (w, T) => (V) => w(T(V)), Pt = (w) => () => w, ur = (w) => w, mn = (w, T) => w === T;
|
|
48473
48479
|
function fe(w, ...T) {
|
|
48474
48480
|
return (...V) => {
|
|
@@ -48637,7 +48643,7 @@ Required: ` + m.join(", "));
|
|
|
48637
48643
|
}, Dt = (w, T) => qe(w, T, Ea), Ke = (w) => {
|
|
48638
48644
|
const T = [];
|
|
48639
48645
|
for (let V = 0, q = w.length; V < q; ++V) {
|
|
48640
|
-
if (!
|
|
48646
|
+
if (!J(w[V]))
|
|
48641
48647
|
throw new Error("Arr.flatten item " + V + " was not an array, input: " + w);
|
|
48642
48648
|
jo.apply(T, w[V]);
|
|
48643
48649
|
}
|
|
@@ -49558,7 +49564,7 @@ Required: ` + m.join(", "));
|
|
|
49558
49564
|
return nr(be.length > 0, be);
|
|
49559
49565
|
}, _n = (w, T) => T.mergable, pn = (w, T) => T.unmergable, zs = (w, T) => Dn(w, T, Xn), na = (w, T) => qt(w, T).exists((V) => !V.isLocked), Ul = (w, T) => vn(T, (V) => na(w, V)), ou = (w, T) => _n(w, T).filter((V) => Ul(w, V.cells)), pa = (w, T) => pn(w, T).filter((V) => Ul(w, V));
|
|
49560
49566
|
({ ...{ generate: (w) => {
|
|
49561
|
-
if (!
|
|
49567
|
+
if (!J(w))
|
|
49562
49568
|
throw new Error("cases must be an array");
|
|
49563
49569
|
if (w.length === 0)
|
|
49564
49570
|
throw new Error("there must be at least one case");
|
|
@@ -49572,7 +49578,7 @@ Required: ` + m.join(", "));
|
|
|
49572
49578
|
throw new Error("duplicate key detected:" + gt);
|
|
49573
49579
|
if (gt === "cata")
|
|
49574
49580
|
throw new Error("cannot have a case named cata (sorry)");
|
|
49575
|
-
if (!
|
|
49581
|
+
if (!J(Rt))
|
|
49576
49582
|
throw new Error("case arguments must be an array");
|
|
49577
49583
|
T.push(gt), V[gt] = (...on) => {
|
|
49578
49584
|
const Fn = on.length;
|
|
@@ -50627,13 +50633,13 @@ Required: ` + T.join(", "));
|
|
|
50627
50633
|
})();
|
|
50628
50634
|
(function() {
|
|
50629
50635
|
var O = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
|
50630
|
-
const me = (
|
|
50631
|
-
|
|
50632
|
-
|
|
50633
|
-
}),
|
|
50634
|
-
}, se = (
|
|
50635
|
-
const Be = se(
|
|
50636
|
-
|
|
50636
|
+
const me = (J, Be) => {
|
|
50637
|
+
J.focus(), J.undoManager.transact(() => {
|
|
50638
|
+
J.setContent(Be);
|
|
50639
|
+
}), J.selection.setCursorLocation(), J.nodeChanged();
|
|
50640
|
+
}, se = (J) => J.getContent({ source_view: !0 }), Ee = (J) => {
|
|
50641
|
+
const Be = se(J);
|
|
50642
|
+
J.windowManager.open({
|
|
50637
50643
|
title: "Source Code",
|
|
50638
50644
|
size: "large",
|
|
50639
50645
|
body: {
|
|
@@ -50658,27 +50664,27 @@ Required: ` + T.join(", "));
|
|
|
50658
50664
|
],
|
|
50659
50665
|
initialData: { code: Be },
|
|
50660
50666
|
onSubmit: (ft) => {
|
|
50661
|
-
me(
|
|
50667
|
+
me(J, ft.getData().code), ft.close();
|
|
50662
50668
|
}
|
|
50663
50669
|
});
|
|
50664
|
-
}, he = (
|
|
50665
|
-
|
|
50666
|
-
Ee(
|
|
50670
|
+
}, he = (J) => {
|
|
50671
|
+
J.addCommand("mceCodeEditor", () => {
|
|
50672
|
+
Ee(J);
|
|
50667
50673
|
});
|
|
50668
|
-
}, K = (
|
|
50669
|
-
const Be = () =>
|
|
50670
|
-
|
|
50674
|
+
}, K = (J) => {
|
|
50675
|
+
const Be = () => J.execCommand("mceCodeEditor");
|
|
50676
|
+
J.ui.registry.addButton("code", {
|
|
50671
50677
|
icon: "sourcecode",
|
|
50672
50678
|
tooltip: "Source code",
|
|
50673
50679
|
onAction: Be
|
|
50674
|
-
}),
|
|
50680
|
+
}), J.ui.registry.addMenuItem("code", {
|
|
50675
50681
|
icon: "sourcecode",
|
|
50676
50682
|
text: "Source code",
|
|
50677
50683
|
onAction: Be
|
|
50678
50684
|
});
|
|
50679
50685
|
};
|
|
50680
50686
|
var De = () => {
|
|
50681
|
-
O.add("code", (
|
|
50687
|
+
O.add("code", (J) => (he(J), K(J), {}));
|
|
50682
50688
|
};
|
|
50683
50689
|
De();
|
|
50684
50690
|
})();
|
|
@@ -50705,7 +50711,7 @@ Required: ` + T.join(", "));
|
|
|
50705
50711
|
katakana: "[〱-〵゛゜゠-ヺー-ヿㇰ-ㇿ㋐-㋾㌀-㍗ヲ-ン]",
|
|
50706
50712
|
extendnumlet: "[=_‿⁀⁔︳︴﹍-﹏_∀-⋿<>]",
|
|
50707
50713
|
punctuation: "[~№|!-*+-\\/:;?@\\[-`{}¡«·»¿;·՚-՟։֊־׀׃׆׳״؉؊،؍؛؞؟٪-٭۔܀-܍߷-߹࠰-࠾࡞।॥॰෴๏๚๛༄-༒༺-༽྅࿐-࿔࿙࿚၊-၏჻፡-፨᐀᙭᙮᚛᚜᛫-᛭᜵᜶។-៖៘-៚᠀-᠊᥄᥅᨞᨟᪠-᪦᪨-᪭᭚-᭠᯼-᯿᰻-᰿᱾᱿᳓‐-‧‰-⁃⁅-⁑⁓-⁞⁽⁾₍₎〈〉❨-❵⟅⟆⟦-⟯⦃-⦘⧘-⧛⧼⧽⳹-⳼⳾⳿⵰⸀-⸮⸰⸱、-〃〈-】〔-〟〰〽゠・꓾꓿꘍-꘏꙳꙾꛲-꛷꡴-꡷꣎꣏꣸-꣺꤮꤯꥟꧁-꧍꧞꧟꩜-꩟꫞꫟꯫﴾﴿︐-︙︰-﹒﹔-﹡﹣﹨﹪﹫!-#%-*,-/:;?@[-]_{}⦅-・]"
|
|
50708
|
-
},
|
|
50714
|
+
}, J = {
|
|
50709
50715
|
ALETTER: 0,
|
|
50710
50716
|
MIDNUMLET: 1,
|
|
50711
50717
|
MIDLETTER: 2,
|
|
@@ -50734,7 +50740,7 @@ Required: ` + T.join(", "));
|
|
|
50734
50740
|
new RegExp(De.katakana),
|
|
50735
50741
|
new RegExp(De.extendnumlet),
|
|
50736
50742
|
new RegExp("@")
|
|
50737
|
-
], ft = "", jt = new RegExp("^" + De.punctuation + "$"), xn = /^\s+$/, zn = Be, Zo =
|
|
50743
|
+
], ft = "", jt = new RegExp("^" + De.punctuation + "$"), xn = /^\s+$/, zn = Be, Zo = J.OTHER, ir = (qe) => {
|
|
50738
50744
|
let Dt = Zo;
|
|
50739
50745
|
const Ke = zn.length;
|
|
50740
50746
|
for (let _e = 0; _e < Ke; ++_e) {
|
|
@@ -50760,13 +50766,13 @@ Required: ` + T.join(", "));
|
|
|
50760
50766
|
return he(qe, Dt);
|
|
50761
50767
|
}, ur = (qe, Dt) => {
|
|
50762
50768
|
const Ke = qe[Dt], _e = qe[Dt + 1];
|
|
50763
|
-
if (Dt < 0 || Dt > qe.length - 1 && Dt !== 0 || Ke ===
|
|
50769
|
+
if (Dt < 0 || Dt > qe.length - 1 && Dt !== 0 || Ke === J.ALETTER && _e === J.ALETTER)
|
|
50764
50770
|
return !1;
|
|
50765
50771
|
const vn = qe[Dt + 2];
|
|
50766
|
-
if (Ke ===
|
|
50772
|
+
if (Ke === J.ALETTER && (_e === J.MIDLETTER || _e === J.MIDNUMLET || _e === J.AT) && vn === J.ALETTER)
|
|
50767
50773
|
return !1;
|
|
50768
50774
|
const Go = qe[Dt - 1];
|
|
50769
|
-
return (Ke ===
|
|
50775
|
+
return (Ke === J.MIDLETTER || Ke === J.MIDNUMLET || _e === J.AT) && _e === J.ALETTER && Go === J.ALETTER || (Ke === J.NUMERIC || Ke === J.ALETTER) && (_e === J.NUMERIC || _e === J.ALETTER) || (Ke === J.MIDNUM || Ke === J.MIDNUMLET) && _e === J.NUMERIC && Go === J.NUMERIC || Ke === J.NUMERIC && (_e === J.MIDNUM || _e === J.MIDNUMLET) && vn === J.NUMERIC || (Ke === J.EXTEND || Ke === J.FORMAT) && (_e === J.ALETTER || _e === J.NUMERIC || _e === J.KATAKANA || _e === J.EXTEND || _e === J.FORMAT) || (_e === J.EXTEND || _e === J.FORMAT && (vn === J.ALETTER || vn === J.NUMERIC || vn === J.KATAKANA || vn === J.EXTEND || vn === J.FORMAT)) && (Ke === J.ALETTER || Ke === J.NUMERIC || Ke === J.KATAKANA || Ke === J.EXTEND || Ke === J.FORMAT) || Ke === J.CR && _e === J.LF ? !1 : Ke === J.NEWLINE || Ke === J.CR || Ke === J.LF || _e === J.NEWLINE || _e === J.CR || _e === J.LF ? !0 : !(Ke === J.KATAKANA && _e === J.KATAKANA || _e === J.EXTENDNUMLET && (Ke === J.ALETTER || Ke === J.NUMERIC || Ke === J.KATAKANA || Ke === J.EXTENDNUMLET) || Ke === J.EXTENDNUMLET && (_e === J.ALETTER || _e === J.NUMERIC || _e === J.KATAKANA) || Ke === J.AT);
|
|
50770
50776
|
}, mn = ft, fe = xn, Tt = jt, Ea = (qe) => qe === "http" || qe === "https", Xn = (qe, Dt) => {
|
|
50771
50777
|
let Ke;
|
|
50772
50778
|
for (Ke = Dt; Ke < qe.length && !fe.test(qe[Ke]); Ke++)
|
|
@@ -51081,10 +51087,10 @@ const LQ = { class: "font-bold ptext-lg dark:text-white" }, FQ = ["id"], HQ = /*
|
|
|
51081
51087
|
return 0;
|
|
51082
51088
|
if (this.limit === 0)
|
|
51083
51089
|
return this.lastPage;
|
|
51084
|
-
for (var O = this.currentPage, me = this.lastPage, se = this.limit, Ee = O - se, he = O + se + 1, K = [], De = [],
|
|
51090
|
+
for (var O = this.currentPage, me = this.lastPage, se = this.limit, Ee = O - se, he = O + se + 1, K = [], De = [], J, Be = 1; Be <= me; Be++)
|
|
51085
51091
|
(Be === 1 || Be === me || Be >= Ee && Be < he) && K.push(Be);
|
|
51086
51092
|
return K.forEach(function(ft) {
|
|
51087
|
-
|
|
51093
|
+
J && (ft - J === 2 ? De.push(J + 1) : ft - J !== 1 && De.push("...")), De.push(ft), J = ft;
|
|
51088
51094
|
}), De;
|
|
51089
51095
|
}
|
|
51090
51096
|
},
|
|
@@ -51214,18 +51220,18 @@ function ree(O, me, se, Ee, he, K) {
|
|
|
51214
51220
|
limit: se.limit,
|
|
51215
51221
|
onPaginationChangePage: K.onPaginationChangePage
|
|
51216
51222
|
}, {
|
|
51217
|
-
default: U8((
|
|
51223
|
+
default: U8((J) => [
|
|
51218
51224
|
P("div", GQ, [
|
|
51219
|
-
|
|
51225
|
+
J.computed.total > J.computed.perPage ? (ve(), we("span", qQ, [
|
|
51220
51226
|
So(" Showing "),
|
|
51221
|
-
P("span", KQ, mt(
|
|
51227
|
+
P("span", KQ, mt(J.computed.from), 1),
|
|
51222
51228
|
So(" to "),
|
|
51223
|
-
P("span", YQ, mt(
|
|
51229
|
+
P("span", YQ, mt(J.computed.to), 1),
|
|
51224
51230
|
So(" of "),
|
|
51225
|
-
P("span", XQ, mt(
|
|
51231
|
+
P("span", XQ, mt(J.computed.total), 1),
|
|
51226
51232
|
So(" Entries ")
|
|
51227
51233
|
])) : pt("", !0),
|
|
51228
|
-
|
|
51234
|
+
J.computed.total > J.computed.perPage ? (ve(), we("ul", t5({ key: 1 }, O.$attrs, {
|
|
51229
51235
|
class: ["flex items-center h-8 -space-x-px text-sm", {
|
|
51230
51236
|
"pagination-sm": se.size == "small",
|
|
51231
51237
|
"pagination-lg": se.size == "large",
|
|
@@ -51233,44 +51239,44 @@ function ree(O, me, se, Ee, he, K) {
|
|
|
51233
51239
|
"justify-content-end": se.align == "right"
|
|
51234
51240
|
}]
|
|
51235
51241
|
}), [
|
|
51236
|
-
|
|
51242
|
+
J.computed.prevPageUrl || se.showDisabled ? (ve(), we("li", {
|
|
51237
51243
|
key: 0,
|
|
51238
|
-
class: rn(["flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 ms-0 border-e-0 rounded-s-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white", { disabled: !
|
|
51244
|
+
class: rn(["flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 ms-0 border-e-0 rounded-s-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white", { disabled: !J.computed.prevPageUrl }])
|
|
51239
51245
|
}, [
|
|
51240
51246
|
P("a", t5({
|
|
51241
51247
|
class: "page-link",
|
|
51242
51248
|
href: "#",
|
|
51243
51249
|
"aria-label": "Previous",
|
|
51244
|
-
tabindex: !
|
|
51245
|
-
}, Ej(
|
|
51250
|
+
tabindex: !J.computed.prevPageUrl && -1
|
|
51251
|
+
}, Ej(J.prevButtonEvents, !0)), [
|
|
51246
51252
|
vf(O.$slots, "prev-nav", {}, () => [
|
|
51247
51253
|
QQ,
|
|
51248
51254
|
eee
|
|
51249
51255
|
])
|
|
51250
51256
|
], 16, JQ)
|
|
51251
51257
|
], 2)) : pt("", !0),
|
|
51252
|
-
(ve(!0), we(bo, null, kr(
|
|
51253
|
-
class: rn(["", { active: Be ==
|
|
51258
|
+
(ve(!0), we(bo, null, kr(J.computed.pageRange, (Be, ft) => (ve(), we("li", {
|
|
51259
|
+
class: rn(["", { active: Be == J.computed.currentPage }]),
|
|
51254
51260
|
key: ft
|
|
51255
51261
|
}, [
|
|
51256
51262
|
P("a", t5({
|
|
51257
51263
|
class: "",
|
|
51258
51264
|
href: "#"
|
|
51259
|
-
}, Ej(
|
|
51260
|
-
"aria-current": Be ==
|
|
51261
|
-
class: Be ==
|
|
51265
|
+
}, Ej(J.pageButtonEvents(Be), !0), {
|
|
51266
|
+
"aria-current": Be == J.computed.currentPage ? "page" : null,
|
|
51267
|
+
class: Be == J.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"
|
|
51262
51268
|
}), mt(Be), 17, tee)
|
|
51263
51269
|
], 2))), 128)),
|
|
51264
|
-
|
|
51270
|
+
J.computed.nextPageUrl || se.showDisabled ? (ve(), we("li", {
|
|
51265
51271
|
key: 1,
|
|
51266
|
-
class: rn(["flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 rounded-e-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white", { disabled: !
|
|
51272
|
+
class: rn(["flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 rounded-e-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white", { disabled: !J.computed.nextPageUrl }])
|
|
51267
51273
|
}, [
|
|
51268
51274
|
P("a", t5({
|
|
51269
51275
|
class: "",
|
|
51270
51276
|
href: "#",
|
|
51271
51277
|
"aria-label": "Next",
|
|
51272
|
-
tabindex: !
|
|
51273
|
-
}, Ej(
|
|
51278
|
+
tabindex: !J.computed.nextPageUrl && -1
|
|
51279
|
+
}, Ej(J.nextButtonEvents, !0)), [
|
|
51274
51280
|
vf(O.$slots, "next-nav", {}, () => [
|
|
51275
51281
|
oee,
|
|
51276
51282
|
see
|
|
@@ -51436,7 +51442,7 @@ const nq = /* @__PURE__ */ Jr(jQ, [["render", ree]]), aee = {
|
|
|
51436
51442
|
kee
|
|
51437
51443
|
], Eee = ["data-label"], Aee = { class: "overflow-auto max-h-40" }, Dee = { class: "flex items-center justify-between px-4 py-3 bg-white border-gray-200 sm:px-6 dark:text-gray-400 dark:bg-gray-800" };
|
|
51438
51444
|
function Oee(O, me, se, Ee, he, K) {
|
|
51439
|
-
const De = ky("dropdown"),
|
|
51445
|
+
const De = ky("dropdown"), J = ky("TailwindPagination");
|
|
51440
51446
|
return ve(), we("div", lee, [
|
|
51441
51447
|
P("div", cee, [
|
|
51442
51448
|
P("div", iee, [
|
|
@@ -51525,7 +51531,7 @@ function Oee(O, me, se, Ee, he, K) {
|
|
|
51525
51531
|
])
|
|
51526
51532
|
]),
|
|
51527
51533
|
P("div", Dee, [
|
|
51528
|
-
cb(
|
|
51534
|
+
cb(J, {
|
|
51529
51535
|
class: "mt-3 mb-0",
|
|
51530
51536
|
data: he.itemLists,
|
|
51531
51537
|
limit: he.limit,
|
|
@@ -51761,7 +51767,7 @@ function wte(O, me, se, Ee, he, K) {
|
|
|
51761
51767
|
has_cancel: !1,
|
|
51762
51768
|
options: he.showNoOfEntries,
|
|
51763
51769
|
modelValue: he.itemsPerPage,
|
|
51764
|
-
"onUpdate:modelValue": me[0] || (me[0] = (
|
|
51770
|
+
"onUpdate:modelValue": me[0] || (me[0] = (J) => he.itemsPerPage = J),
|
|
51765
51771
|
is_required: !1,
|
|
51766
51772
|
field_name: "NoOfEntries",
|
|
51767
51773
|
label_name: "",
|
|
@@ -51777,7 +51783,7 @@ function wte(O, me, se, Ee, he, K) {
|
|
|
51777
51783
|
Hee,
|
|
51778
51784
|
Qa(P("input", {
|
|
51779
51785
|
type: "text",
|
|
51780
|
-
"onUpdate:modelValue": me[1] || (me[1] = (
|
|
51786
|
+
"onUpdate:modelValue": me[1] || (me[1] = (J) => he.search = J),
|
|
51781
51787
|
class: "block p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 w-80 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
|
|
51782
51788
|
placeholder: "Search ..."
|
|
51783
51789
|
}, null, 512), [
|
|
@@ -51789,13 +51795,13 @@ function wte(O, me, se, Ee, he, K) {
|
|
|
51789
51795
|
P("table", zee, [
|
|
51790
51796
|
P("thead", Uee, [
|
|
51791
51797
|
P("tr", null, [
|
|
51792
|
-
(ve(!0), we(bo, null, kr(se.columns, (
|
|
51798
|
+
(ve(!0), we(bo, null, kr(se.columns, (J, Be) => (ve(), we("th", {
|
|
51793
51799
|
key: Be,
|
|
51794
|
-
onClick: (ft) => K.sort(
|
|
51800
|
+
onClick: (ft) => K.sort(J.field_name, J.sortable),
|
|
51795
51801
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
51796
51802
|
}, [
|
|
51797
|
-
So(mt(
|
|
51798
|
-
he.sortKey ===
|
|
51803
|
+
So(mt(J.field_label) + " ", 1),
|
|
51804
|
+
he.sortKey === J.field_name ? (ve(), we("span", Zee, [
|
|
51799
51805
|
he.sortOrder === 1 ? (ve(), we("i", jee)) : (ve(), we("i", Gee))
|
|
51800
51806
|
])) : pt("", !0)
|
|
51801
51807
|
], 8, Wee))), 128))
|
|
@@ -51807,7 +51813,7 @@ function wte(O, me, se, Ee, he, K) {
|
|
|
51807
51813
|
colspan: se.columns.length
|
|
51808
51814
|
}, Xee, 8, Kee)
|
|
51809
51815
|
])) : pt("", !0),
|
|
51810
|
-
he.isLoading ? pt("", !0) : (ve(!0), we(bo, { key: 1 }, kr(K.paginatedData, (
|
|
51816
|
+
he.isLoading ? pt("", !0) : (ve(!0), we(bo, { key: 1 }, kr(K.paginatedData, (J, Be) => (ve(), we("tr", {
|
|
51811
51817
|
key: Be,
|
|
51812
51818
|
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"
|
|
51813
51819
|
}, [
|
|
@@ -51822,15 +51828,15 @@ function wte(O, me, se, Ee, he, K) {
|
|
|
51822
51828
|
P("div", Qee, [
|
|
51823
51829
|
ft.tdComp ? (ve(), Ty(o5(K.forDynCompIs(ft.tdComp)), {
|
|
51824
51830
|
key: 0,
|
|
51825
|
-
row:
|
|
51831
|
+
row: J,
|
|
51826
51832
|
field: ft.field_name,
|
|
51827
51833
|
xprops: se.xprops,
|
|
51828
51834
|
tdProps: ft.tdProps,
|
|
51829
51835
|
onDeleteAction: me[2] || (me[2] = (xn) => K.GetItemLists()),
|
|
51830
|
-
onEditAction: (xn) => K.editAction(
|
|
51831
|
-
onGeneralAction: (xn) => K.generalAction(
|
|
51836
|
+
onEditAction: (xn) => K.editAction(J),
|
|
51837
|
+
onGeneralAction: (xn) => K.generalAction(J)
|
|
51832
51838
|
}, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction", "onGeneralAction"])) : (ve(), we(bo, { key: 1 }, [
|
|
51833
|
-
So(mt(
|
|
51839
|
+
So(mt(J[ft.field_name]), 1)
|
|
51834
51840
|
], 64))
|
|
51835
51841
|
])
|
|
51836
51842
|
], 10, Jee))), 128))
|
|
@@ -51842,13 +51848,13 @@ function wte(O, me, se, Ee, he, K) {
|
|
|
51842
51848
|
P("div", tte, [
|
|
51843
51849
|
P("a", {
|
|
51844
51850
|
href: "#",
|
|
51845
|
-
onClick: me[3] || (me[3] = oc((...
|
|
51851
|
+
onClick: me[3] || (me[3] = oc((...J) => K.previousPage && K.previousPage(...J), ["prevent"])),
|
|
51846
51852
|
disabled: he.currentPage === 1,
|
|
51847
51853
|
class: "relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
|
|
51848
51854
|
}, "Previous", 8, nte),
|
|
51849
51855
|
P("a", {
|
|
51850
51856
|
href: "#",
|
|
51851
|
-
onClick: me[4] || (me[4] = oc((...
|
|
51857
|
+
onClick: me[4] || (me[4] = oc((...J) => K.nextPage && K.nextPage(...J), ["prevent"])),
|
|
51852
51858
|
disabled: he.currentPage === K.totalPages,
|
|
51853
51859
|
class: "relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
|
|
51854
51860
|
}, "Next", 8, ote)
|
|
@@ -51871,34 +51877,34 @@ function wte(O, me, se, Ee, he, K) {
|
|
|
51871
51877
|
P("li", null, [
|
|
51872
51878
|
P("a", {
|
|
51873
51879
|
href: "#",
|
|
51874
|
-
onClick: me[5] || (me[5] = oc((...
|
|
51880
|
+
onClick: me[5] || (me[5] = oc((...J) => K.previousPage && K.previousPage(...J), ["prevent"])),
|
|
51875
51881
|
disabled: he.currentPage === 1,
|
|
51876
51882
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 ms-0 border-e-0 rounded-s-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
51877
51883
|
}, gte, 8, dte)
|
|
51878
51884
|
]),
|
|
51879
|
-
(ve(!0), we(bo, null, kr(K.displayedPageNumbers, (
|
|
51885
|
+
(ve(!0), we(bo, null, kr(K.displayedPageNumbers, (J) => (ve(), we(bo, { key: J }, [
|
|
51880
51886
|
P("li", null, [
|
|
51881
|
-
he.currentPage !==
|
|
51887
|
+
he.currentPage !== J ? (ve(), we("a", {
|
|
51882
51888
|
key: 0,
|
|
51883
51889
|
href: "#",
|
|
51884
|
-
onClick: oc((Be) => K.goToPage(
|
|
51890
|
+
onClick: oc((Be) => K.goToPage(J), ["prevent"]),
|
|
51885
51891
|
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"
|
|
51886
|
-
}, mt(
|
|
51892
|
+
}, mt(J), 9, hte)) : pt("", !0)
|
|
51887
51893
|
]),
|
|
51888
51894
|
P("li", null, [
|
|
51889
|
-
he.currentPage ===
|
|
51895
|
+
he.currentPage === J ? (ve(), we("a", {
|
|
51890
51896
|
key: 0,
|
|
51891
51897
|
href: "#",
|
|
51892
|
-
onClick: oc((Be) => K.goToPage(
|
|
51898
|
+
onClick: oc((Be) => K.goToPage(J), ["prevent"]),
|
|
51893
51899
|
"aria-current": "page",
|
|
51894
51900
|
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"
|
|
51895
|
-
}, mt(
|
|
51901
|
+
}, mt(J), 9, pte)) : pt("", !0)
|
|
51896
51902
|
])
|
|
51897
51903
|
], 64))), 128)),
|
|
51898
51904
|
P("li", null, [
|
|
51899
51905
|
P("a", {
|
|
51900
51906
|
href: "#",
|
|
51901
|
-
onClick: me[6] || (me[6] = oc((...
|
|
51907
|
+
onClick: me[6] || (me[6] = oc((...J) => K.nextPage && K.nextPage(...J), ["prevent"])),
|
|
51902
51908
|
disabled: he.currentPage === K.totalPages,
|
|
51903
51909
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 rounded-e-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
51904
51910
|
}, xte, 8, bte)
|
|
@@ -52072,7 +52078,7 @@ const Kae = /* @__PURE__ */ Jr(Ree, [["render", wte]]), Cte = {
|
|
|
52072
52078
|
Vte
|
|
52073
52079
|
], Ute = { 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" }, Wte = ["colspan"], Zte = ["data-label"], jte = { class: "overflow-auto max-h-40" }, Gte = { class: "flex items-center justify-between px-4 py-3 bg-white border-gray-200 sm:px-6 dark:text-gray-400 dark:bg-gray-800" };
|
|
52074
52080
|
function qte(O, me, se, Ee, he, K) {
|
|
52075
|
-
const De = ky("dropdown"),
|
|
52081
|
+
const De = ky("dropdown"), J = ky("TailwindPagination");
|
|
52076
52082
|
return ve(), we("div", Ste, [
|
|
52077
52083
|
P("div", _te, [
|
|
52078
52084
|
P("div", kte, [
|
|
@@ -52165,7 +52171,7 @@ function qte(O, me, se, Ee, he, K) {
|
|
|
52165
52171
|
])
|
|
52166
52172
|
]),
|
|
52167
52173
|
P("div", Gte, [
|
|
52168
|
-
cb(
|
|
52174
|
+
cb(J, {
|
|
52169
52175
|
class: "mt-3 mb-0",
|
|
52170
52176
|
data: he.itemLists,
|
|
52171
52177
|
limit: he.limit,
|
|
@@ -52331,7 +52337,7 @@ function Nne(O, me, se, Ee, he, K) {
|
|
|
52331
52337
|
has_cancel: !1,
|
|
52332
52338
|
options: he.showNoOfEntries,
|
|
52333
52339
|
modelValue: he.itemsPerPage,
|
|
52334
|
-
"onUpdate:modelValue": me[0] || (me[0] = (
|
|
52340
|
+
"onUpdate:modelValue": me[0] || (me[0] = (J) => he.itemsPerPage = J),
|
|
52335
52341
|
is_required: !1,
|
|
52336
52342
|
field_name: "NoOfEntries",
|
|
52337
52343
|
label_name: "",
|
|
@@ -52347,7 +52353,7 @@ function Nne(O, me, se, Ee, he, K) {
|
|
|
52347
52353
|
sne,
|
|
52348
52354
|
Qa(P("input", {
|
|
52349
52355
|
type: "text",
|
|
52350
|
-
"onUpdate:modelValue": me[1] || (me[1] = (
|
|
52356
|
+
"onUpdate:modelValue": me[1] || (me[1] = (J) => he.search = J),
|
|
52351
52357
|
class: "block p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 w-80 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
|
|
52352
52358
|
placeholder: "Search ..."
|
|
52353
52359
|
}, null, 512), [
|
|
@@ -52359,20 +52365,20 @@ function Nne(O, me, se, Ee, he, K) {
|
|
|
52359
52365
|
P("table", ane, [
|
|
52360
52366
|
P("thead", lne, [
|
|
52361
52367
|
P("tr", null, [
|
|
52362
|
-
(ve(!0), we(bo, null, kr(se.columns, (
|
|
52368
|
+
(ve(!0), we(bo, null, kr(se.columns, (J, Be) => (ve(), we("th", {
|
|
52363
52369
|
key: Be,
|
|
52364
|
-
onClick: oc((ft) => K.sort(
|
|
52370
|
+
onClick: oc((ft) => K.sort(J), ["prevent"]),
|
|
52365
52371
|
class: "w-full px-4 py-2 lg:w-2/12 capitalize"
|
|
52366
52372
|
}, [
|
|
52367
|
-
So(mt(
|
|
52368
|
-
he.sortKey ===
|
|
52373
|
+
So(mt(J) + " ", 1),
|
|
52374
|
+
he.sortKey === J ? (ve(), we("span", ine, [
|
|
52369
52375
|
he.sortOrder === 1 ? (ve(), we("i", une)) : (ve(), we("i", dne))
|
|
52370
52376
|
])) : pt("", !0)
|
|
52371
52377
|
], 8, cne))), 128))
|
|
52372
52378
|
])
|
|
52373
52379
|
]),
|
|
52374
52380
|
P("tbody", null, [
|
|
52375
|
-
(ve(!0), we(bo, null, kr(K.paginatedData, (
|
|
52381
|
+
(ve(!0), we(bo, null, kr(K.paginatedData, (J, Be) => (ve(), we("tr", {
|
|
52376
52382
|
key: Be,
|
|
52377
52383
|
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"
|
|
52378
52384
|
}, [
|
|
@@ -52383,7 +52389,7 @@ function Nne(O, me, se, Ee, he, K) {
|
|
|
52383
52389
|
}, [
|
|
52384
52390
|
P("p", {
|
|
52385
52391
|
class: "text-pretty",
|
|
52386
|
-
innerHTML:
|
|
52392
|
+
innerHTML: J[jt]
|
|
52387
52393
|
}, null, 8, fne)
|
|
52388
52394
|
], 8, mne))), 128))
|
|
52389
52395
|
]))), 128))
|
|
@@ -52394,13 +52400,13 @@ function Nne(O, me, se, Ee, he, K) {
|
|
|
52394
52400
|
P("div", hne, [
|
|
52395
52401
|
P("a", {
|
|
52396
52402
|
href: "#",
|
|
52397
|
-
onClick: me[2] || (me[2] = oc((...
|
|
52403
|
+
onClick: me[2] || (me[2] = oc((...J) => K.previousPage && K.previousPage(...J), ["prevent"])),
|
|
52398
52404
|
disabled: he.currentPage === 1,
|
|
52399
52405
|
class: "relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
|
|
52400
52406
|
}, "Previous", 8, pne),
|
|
52401
52407
|
P("a", {
|
|
52402
52408
|
href: "#",
|
|
52403
|
-
onClick: me[3] || (me[3] = oc((...
|
|
52409
|
+
onClick: me[3] || (me[3] = oc((...J) => K.nextPage && K.nextPage(...J), ["prevent"])),
|
|
52404
52410
|
disabled: he.currentPage === K.totalPages,
|
|
52405
52411
|
class: "relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
|
|
52406
52412
|
}, "Next", 8, bne)
|
|
@@ -52423,34 +52429,34 @@ function Nne(O, me, se, Ee, he, K) {
|
|
|
52423
52429
|
P("li", null, [
|
|
52424
52430
|
P("a", {
|
|
52425
52431
|
href: "#",
|
|
52426
|
-
onClick: me[4] || (me[4] = oc((...
|
|
52432
|
+
onClick: me[4] || (me[4] = oc((...J) => K.previousPage && K.previousPage(...J), ["prevent"])),
|
|
52427
52433
|
disabled: he.currentPage === 1,
|
|
52428
52434
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 ms-0 border-e-0 rounded-s-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
52429
52435
|
}, Ane, 8, kne)
|
|
52430
52436
|
]),
|
|
52431
|
-
(ve(!0), we(bo, null, kr(K.displayedPageNumbers, (
|
|
52437
|
+
(ve(!0), we(bo, null, kr(K.displayedPageNumbers, (J) => (ve(), we(bo, { key: J }, [
|
|
52432
52438
|
P("li", null, [
|
|
52433
|
-
he.currentPage !==
|
|
52439
|
+
he.currentPage !== J ? (ve(), we("a", {
|
|
52434
52440
|
key: 0,
|
|
52435
52441
|
href: "#",
|
|
52436
|
-
onClick: oc((Be) => K.goToPage(
|
|
52442
|
+
onClick: oc((Be) => K.goToPage(J), ["prevent"]),
|
|
52437
52443
|
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"
|
|
52438
|
-
}, mt(
|
|
52444
|
+
}, mt(J), 9, Dne)) : pt("", !0)
|
|
52439
52445
|
]),
|
|
52440
52446
|
P("li", null, [
|
|
52441
|
-
he.currentPage ===
|
|
52447
|
+
he.currentPage === J ? (ve(), we("a", {
|
|
52442
52448
|
key: 0,
|
|
52443
52449
|
href: "#",
|
|
52444
|
-
onClick: oc((Be) => K.goToPage(
|
|
52450
|
+
onClick: oc((Be) => K.goToPage(J), ["prevent"]),
|
|
52445
52451
|
"aria-current": "page",
|
|
52446
52452
|
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"
|
|
52447
|
-
}, mt(
|
|
52453
|
+
}, mt(J), 9, One)) : pt("", !0)
|
|
52448
52454
|
])
|
|
52449
52455
|
], 64))), 128)),
|
|
52450
52456
|
P("li", null, [
|
|
52451
52457
|
P("a", {
|
|
52452
52458
|
href: "#",
|
|
52453
|
-
onClick: me[5] || (me[5] = oc((...
|
|
52459
|
+
onClick: me[5] || (me[5] = oc((...J) => K.nextPage && K.nextPage(...J), ["prevent"])),
|
|
52454
52460
|
disabled: he.currentPage === K.totalPages,
|
|
52455
52461
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 rounded-e-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
52456
52462
|
}, Pne, 8, Rne)
|
|
@@ -52503,12 +52509,12 @@ const Jae = /* @__PURE__ */ Jr(Bne, [["render", Ine]]), Lne = {
|
|
|
52503
52509
|
return ft = Math.floor(ft / 16), (xn === "x" ? zn : zn & 3 | 8).toString(16);
|
|
52504
52510
|
});
|
|
52505
52511
|
return jt;
|
|
52506
|
-
})(), he = { isOpen: O, id: Ee }, K = vc(() => me.accordions.value), De = vc(() => K.value.length > 0 && K.value[0].id === Ee),
|
|
52512
|
+
})(), he = { isOpen: O, id: Ee }, K = vc(() => me.accordions.value), De = vc(() => K.value.length > 0 && K.value[0].id === Ee), J = vc(() => K.value.length > 0 && K.value[K.value.length - 1].id === Ee);
|
|
52507
52513
|
return Oh(() => {
|
|
52508
52514
|
me.registerAccordion(he);
|
|
52509
52515
|
}), Mq(() => {
|
|
52510
52516
|
me.unregisterAccordion(he);
|
|
52511
|
-
}), { isOpen: O, isFirstAccordion: De, isLastAccordion:
|
|
52517
|
+
}), { isOpen: O, isFirstAccordion: De, isLastAccordion: J, toggle: () => {
|
|
52512
52518
|
me.toggleAccordion(he);
|
|
52513
52519
|
} };
|
|
52514
52520
|
}
|
|
@@ -52738,13 +52744,13 @@ const Qae = /* @__PURE__ */ Jr(Lne, [["render", jne]]), Gne = {
|
|
|
52738
52744
|
Ee.value = !1;
|
|
52739
52745
|
}, De = () => {
|
|
52740
52746
|
Ee.value = !0;
|
|
52741
|
-
},
|
|
52747
|
+
}, J = () => {
|
|
52742
52748
|
he.value = !1;
|
|
52743
52749
|
}, Be = () => {
|
|
52744
52750
|
he.value = !0;
|
|
52745
52751
|
}, ft = me, jt = () => {
|
|
52746
52752
|
axios.delete(`${se.xprops.route}/${se.row.id}`).then(() => {
|
|
52747
|
-
|
|
52753
|
+
J(), ft("deleteAction"), s5.methods.add({
|
|
52748
52754
|
message: "Item deleted successfully.",
|
|
52749
52755
|
type: "success",
|
|
52750
52756
|
duration: 5e3
|
|
@@ -52759,7 +52765,7 @@ const Qae = /* @__PURE__ */ Jr(Lne, [["render", jne]]), Gne = {
|
|
|
52759
52765
|
cb(Oj, {
|
|
52760
52766
|
isOpen: he.value,
|
|
52761
52767
|
onConfirmDelete: jt,
|
|
52762
|
-
onCancelDelete:
|
|
52768
|
+
onCancelDelete: J
|
|
52763
52769
|
}, null, 8, ["isOpen"]),
|
|
52764
52770
|
O.row && xn.can(`edit_${O.xprops.permission} || delete_${O.xprops.permission}`) ? Qa((ve(), we("div", doe, [
|
|
52765
52771
|
P("button", {
|
|
@@ -52844,13 +52850,13 @@ const Qae = /* @__PURE__ */ Jr(Lne, [["render", jne]]), Gne = {
|
|
|
52844
52850
|
Ee.value = !1;
|
|
52845
52851
|
}, De = () => {
|
|
52846
52852
|
Ee.value = !0;
|
|
52847
|
-
},
|
|
52853
|
+
}, J = () => {
|
|
52848
52854
|
he.value = !1;
|
|
52849
52855
|
}, Be = () => {
|
|
52850
52856
|
he.value = !0;
|
|
52851
52857
|
}, ft = me, jt = () => {
|
|
52852
52858
|
axios.delete(`${se.xprops.route}/${se.row.id}`).then(() => {
|
|
52853
|
-
|
|
52859
|
+
J(), ft("deleteAction"), s5.methods.add({
|
|
52854
52860
|
message: "Item deleted successfully.",
|
|
52855
52861
|
type: "success",
|
|
52856
52862
|
duration: 5e3
|
|
@@ -52865,7 +52871,7 @@ const Qae = /* @__PURE__ */ Jr(Lne, [["render", jne]]), Gne = {
|
|
|
52865
52871
|
cb(Oj, {
|
|
52866
52872
|
isOpen: he.value,
|
|
52867
52873
|
onConfirmDelete: jt,
|
|
52868
|
-
onCancelDelete:
|
|
52874
|
+
onCancelDelete: J
|
|
52869
52875
|
}, null, 8, ["isOpen"]),
|
|
52870
52876
|
O.row && xn.can(`delete_${O.xprops.permission}`) ? Qa((ve(), we("div", woe, [
|
|
52871
52877
|
P("button", {
|
|
@@ -52950,8 +52956,8 @@ const Qae = /* @__PURE__ */ Jr(Lne, [["render", jne]]), Gne = {
|
|
|
52950
52956
|
], -1);
|
|
52951
52957
|
function Poe(O, me, se, Ee, he, K) {
|
|
52952
52958
|
return ve(), we("div", null, [
|
|
52953
|
-
K.isArray ? (ve(!0), we(bo, { key: 0 }, kr(se.row, (De,
|
|
52954
|
-
key:
|
|
52959
|
+
K.isArray ? (ve(!0), we(bo, { key: 0 }, kr(se.row, (De, J) => (ve(), we("div", {
|
|
52960
|
+
key: J,
|
|
52955
52961
|
class: "m-1 d-inline-block"
|
|
52956
52962
|
}, [
|
|
52957
52963
|
P("a", {
|
|
@@ -53086,8 +53092,8 @@ const rle = /* @__PURE__ */ Jr(zoe, [["render", Zoe]]), joe = {
|
|
|
53086
53092
|
};
|
|
53087
53093
|
function Koe(O, me, se, Ee, he, K) {
|
|
53088
53094
|
return this.row[this.entry.key] ? (ve(), we("div", Goe, [
|
|
53089
|
-
K.isArray ? (ve(!0), we(bo, { key: 0 }, kr(se.row[K.entry.key], (De,
|
|
53090
|
-
key:
|
|
53095
|
+
K.isArray ? (ve(!0), we(bo, { key: 0 }, kr(se.row[K.entry.key], (De, J) => (ve(), we("span", {
|
|
53096
|
+
key: J,
|
|
53091
53097
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
53092
53098
|
}, mt(De[K.entry.field]), 1))), 128)) : K.isObject ? (ve(), we("span", qoe, mt(se.row[K.entry.key][K.entry.field]), 1)) : pt("", !0)
|
|
53093
53099
|
])) : pt("", !0);
|
|
@@ -53117,8 +53123,8 @@ const ale = /* @__PURE__ */ Jr(joe, [["render", Koe]]), Yoe = {
|
|
|
53117
53123
|
};
|
|
53118
53124
|
function Qoe(O, me, se, Ee, he, K) {
|
|
53119
53125
|
return ve(), we("div", Xoe, [
|
|
53120
|
-
K.isArray ? (ve(!0), we(bo, { key: 0 }, kr(K.getNestedValue(se.row, K.entry.keys), (De,
|
|
53121
|
-
key:
|
|
53126
|
+
K.isArray ? (ve(!0), we(bo, { key: 0 }, kr(K.getNestedValue(se.row, K.entry.keys), (De, J) => (ve(), we("span", {
|
|
53127
|
+
key: J,
|
|
53122
53128
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
53123
53129
|
}, mt(De[K.entry.field]), 1))), 128)) : K.isObject ? (ve(), we("span", Joe, mt(K.getNestedValue(se.row, K.entry.keys)[K.entry.field]), 1)) : pt("", !0)
|
|
53124
53130
|
]);
|
|
@@ -53346,8 +53352,8 @@ const mle = /* @__PURE__ */ Jr(Dse, [["render", Vse]]), zse = {
|
|
|
53346
53352
|
return "";
|
|
53347
53353
|
const O = new Date(this.row[this.field]), me = O.getFullYear(), se = O.toLocaleString("default", { month: "long" }), Ee = O.getDate();
|
|
53348
53354
|
let he = O.getHours();
|
|
53349
|
-
const K = O.getMinutes(), De = O.getSeconds(),
|
|
53350
|
-
return he = he % 12, he = he || 12, `${se} ${Ee}, ${me}, ${he}:${K}:${De} ${
|
|
53355
|
+
const K = O.getMinutes(), De = O.getSeconds(), J = he >= 12 ? "pm" : "am";
|
|
53356
|
+
return he = he % 12, he = he || 12, `${se} ${Ee}, ${me}, ${he}:${K}:${De} ${J}`;
|
|
53351
53357
|
}
|
|
53352
53358
|
}
|
|
53353
53359
|
}, Use = { class: "w-full" };
|
|
@@ -53488,12 +53494,12 @@ const ble = /* @__PURE__ */ Jr(lre, [["render", yre]]), xre = {
|
|
|
53488
53494
|
}
|
|
53489
53495
|
},
|
|
53490
53496
|
setup(O, { expose: me }) {
|
|
53491
|
-
const se = Wo(""), Ee = Wo(""), he = Wo(""), K = Wo("Cancel"), De = Wo(!1),
|
|
53492
|
-
|
|
53497
|
+
const se = Wo(""), Ee = Wo(""), he = Wo(""), K = Wo("Cancel"), De = Wo(!1), J = Wo(void 0), Be = Wo(void 0), ft = (zn = {}) => (se.value = zn.title, Ee.value = zn.message, he.value = zn.okButton, zn.cancelButton && (K.value = zn.cancelButton), De.value = !0, new Promise((Zo, ir) => {
|
|
53498
|
+
J.value = Zo, Be.value = ir;
|
|
53493
53499
|
})), jt = () => {
|
|
53494
|
-
De.value = !1,
|
|
53500
|
+
De.value = !1, J.value(!0);
|
|
53495
53501
|
}, xn = () => {
|
|
53496
|
-
De.value = !1,
|
|
53502
|
+
De.value = !1, J.value(!1);
|
|
53497
53503
|
};
|
|
53498
53504
|
return me({
|
|
53499
53505
|
show: ft
|
|
@@ -53598,7 +53604,7 @@ const ble = /* @__PURE__ */ Jr(lre, [["render", yre]]), xre = {
|
|
|
53598
53604
|
]),
|
|
53599
53605
|
P("div", Lre, [
|
|
53600
53606
|
P("button", {
|
|
53601
|
-
onClick: De[0] || (De[0] = (
|
|
53607
|
+
onClick: De[0] || (De[0] = (J) => Ee(he.value)),
|
|
53602
53608
|
class: "text-gray-900 dark:text-gray-400 m-1 hover:bg-gray-100 dark:bg-gray-800 dark:border-gray-600 dark:hover:bg-gray-700 rounded-lg py-2 px-3 inline-flex items-center justify-center bg-white border-gray-200 border"
|
|
53603
53609
|
}, [
|
|
53604
53610
|
se.value ? pt("", !0) : (ve(), we("span", Fre, zre)),
|
|
@@ -53686,7 +53692,7 @@ const ble = /* @__PURE__ */ Jr(lre, [["render", yre]]), xre = {
|
|
|
53686
53692
|
]),
|
|
53687
53693
|
P("button", {
|
|
53688
53694
|
style: { padding: ".61rem" },
|
|
53689
|
-
onClick: De[0] || (De[0] = (
|
|
53695
|
+
onClick: De[0] || (De[0] = (J) => Ee(he.value)),
|
|
53690
53696
|
class: "flex-shrink-0 z-10 inline-flex items-center px-4 text-sm font-medium text-center text-white bg-blue-700 rounded-e-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 border border-blue-700 dark:border-blue-600 hover:border-blue-800 dark:hover:border-blue-700",
|
|
53691
53697
|
type: "button"
|
|
53692
53698
|
}, [
|