golden-logic-ui 1.0.280 → 1.0.281
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 +317 -317
- package/dist/golden-logic-ui.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { openBlock as ve, createElementBlock as we, createElementVNode as P, createCommentVNode as pt, createStaticVNode as Eq, reactive as Aq, resolveComponent as ky, Fragment as bo, createVNode as cb, normalizeClass as rn, toDisplayString as ft, withModifiers as oc, withDirectives as Qa, vModelText as vm, renderList as kr, normalizeStyle as Dq, computed as vc, renderSlot as vf, ref as Wo, onMounted as Oh, watch as Gw, createTextVNode as So, vShow as n5, nextTick as Dj, createBlock as Ty, resolveDynamicComponent as o5, mergeProps as t5, withCtx as U8, vModelDynamic as YG, useSlots as Oq, provide as XG, inject as JG, pushScopeId as Rq, popScopeId as $q, vModelCheckbox as QG, onBeforeUnmount as Mq, toHandlers as Ej, onUnmounted as Pq, TransitionGroup as Nq, unref as Bq, resolveDirective as eq, markRaw as Iq } from "vue";
|
|
2
2
|
const la = (O, me) => {
|
|
3
3
|
const se = O.__vccOpts || O;
|
|
4
|
-
for (const [
|
|
5
|
-
se[
|
|
4
|
+
for (const [Ae, he] of me)
|
|
5
|
+
se[Ae] = he;
|
|
6
6
|
return se;
|
|
7
7
|
}, Lq = {
|
|
8
8
|
props: ["isOpen"],
|
|
@@ -27,7 +27,7 @@ const la = (O, me) => {
|
|
|
27
27
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
28
28
|
"aria-hidden": "true"
|
|
29
29
|
}, "", -1), Uq = { class: "inline-block overflow-hidden text-left align-bottom transition-all transform bg-white dark:bg-gray-800 rounded-lg shadow-xl sm:my-8 sm:align-middle sm:max-w-lg sm:w-full" }, Wq = /* @__PURE__ */ Eq('<div class="px-4 pt-5 pb-4 sm:p-6 sm:pb-4"><div class="sm:flex sm:items-start"><div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"><h3 class="text-lg font-medium leading-6" id="modal-title"> Confirm Deletion </h3><div class="mt-2"><p class="text-sm"> Are you sure you want to delete this item? This action cannot be undone. </p></div></div></div></div>', 1), Zq = { class: "border-t border-gray-200 rounded-b dark:border-gray-600 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse" };
|
|
30
|
-
function jq(O, me, se,
|
|
30
|
+
function jq(O, me, se, Ae, he, G) {
|
|
31
31
|
return se.isOpen ? (ve(), we("div", Fq, [
|
|
32
32
|
P("div", Hq, [
|
|
33
33
|
Vq,
|
|
@@ -151,8 +151,8 @@ const Oj = /* @__PURE__ */ la(Lq, [["render", jq]]), Aj = Aq({
|
|
|
151
151
|
},
|
|
152
152
|
formatFileSize(O) {
|
|
153
153
|
if (O === 0) return "0 Bytes";
|
|
154
|
-
const me = 1024, se = ["Bytes", "KB", "MB", "GB", "TB"],
|
|
155
|
-
return parseFloat((O / Math.pow(me,
|
|
154
|
+
const me = 1024, se = ["Bytes", "KB", "MB", "GB", "TB"], Ae = Math.floor(Math.log(O) / Math.log(me));
|
|
155
|
+
return parseFloat((O / Math.pow(me, Ae)).toFixed(2)) + " " + se[Ae];
|
|
156
156
|
},
|
|
157
157
|
onDragOver(O) {
|
|
158
158
|
O.preventDefault(), this.isDragging = !0, O.dataTransfer.dropEffect = "copy";
|
|
@@ -169,7 +169,7 @@ const Oj = /* @__PURE__ */ la(Lq, [["render", jq]]), Aj = Aq({
|
|
|
169
169
|
},
|
|
170
170
|
async uploadFiles(O) {
|
|
171
171
|
const me = O.target.files, se = Array.from(me).map(
|
|
172
|
-
(
|
|
172
|
+
(Ae) => this.uploadFile(Ae)
|
|
173
173
|
);
|
|
174
174
|
await Promise.all(se), this.$emit("uploaded"), this.$emit("update:modelValue", this.uploadFileList), console.log("uploadFileList", this.uploadFileList);
|
|
175
175
|
},
|
|
@@ -179,10 +179,10 @@ const Oj = /* @__PURE__ */ la(Lq, [["render", jq]]), Aj = Aq({
|
|
|
179
179
|
async uploadFile(O) {
|
|
180
180
|
return new Promise((me, se) => {
|
|
181
181
|
O || me();
|
|
182
|
-
const
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
}), this.files.push({ file_name: O.name, loading: 0 }), axios.post(this.route_url + "/media",
|
|
182
|
+
const Ae = new FormData();
|
|
183
|
+
Ae.append("file", O), Object.entries(this.file_config).forEach(([he, G]) => {
|
|
184
|
+
Ae.append(he, G);
|
|
185
|
+
}), this.files.push({ file_name: O.name, loading: 0 }), axios.post(this.route_url + "/media", Ae, {
|
|
186
186
|
onUploadProgress: (he) => {
|
|
187
187
|
this.files[this.files.length - 1].loading = Math.floor(
|
|
188
188
|
he.loaded / he.total * 100
|
|
@@ -245,7 +245,7 @@ const Oj = /* @__PURE__ */ la(Lq, [["render", jq]]), Aj = Aq({
|
|
|
245
245
|
class: "text-3xl fas fa-file-alt",
|
|
246
246
|
"aria-hidden": "true"
|
|
247
247
|
}, null, -1), vK = { class: "flex flex-col ml-3" }, yK = { class: "text-xs" }, xK = { class: "text-xs" }, wK = { class: "flex gap-2" }, CK = ["href"], SK = ["onClick"];
|
|
248
|
-
function _K(O, me, se,
|
|
248
|
+
function _K(O, me, se, Ae, he, G) {
|
|
249
249
|
const Oe = ky("DeleteConfirmationModal");
|
|
250
250
|
return ve(), we(bo, null, [
|
|
251
251
|
cb(Oe, {
|
|
@@ -377,7 +377,7 @@ const Tae = /* @__PURE__ */ la(qq, [["render", _K]]), kK = {
|
|
|
377
377
|
mounted() {
|
|
378
378
|
}
|
|
379
379
|
}, TK = { class: "grid w-full gap-1 mt-5 mb-5 md:gap-0 md:grid-cols-10 language-selector" }, EK = ["name", "value", "id", "checked"], AK = ["for"];
|
|
380
|
-
function DK(O, me, se,
|
|
380
|
+
function DK(O, me, se, Ae, he, G) {
|
|
381
381
|
return ve(), we("ul", TK, [
|
|
382
382
|
(ve(!0), we(bo, null, kr(he.locals, (Oe, K) => (ve(), we("li", null, [
|
|
383
383
|
P("input", {
|
|
@@ -413,7 +413,7 @@ const Eae = /* @__PURE__ */ la(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
413
413
|
}
|
|
414
414
|
},
|
|
415
415
|
setup(O) {
|
|
416
|
-
const me = O, se = vc(() => me.class),
|
|
416
|
+
const me = O, se = vc(() => me.class), Ae = vc(() => me.body_class);
|
|
417
417
|
return (he, G) => (ve(), we("div", {
|
|
418
418
|
class: rn(["flex flex-col gap-9", se.value])
|
|
419
419
|
}, [
|
|
@@ -425,7 +425,7 @@ const Eae = /* @__PURE__ */ la(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
425
425
|
]),
|
|
426
426
|
he.$slots.body ? (ve(), we("div", {
|
|
427
427
|
key: 0,
|
|
428
|
-
class: rn(["p-6",
|
|
428
|
+
class: rn(["p-6", Ae.value])
|
|
429
429
|
}, [
|
|
430
430
|
vf(he.$slots, "body")
|
|
431
431
|
], 2)) : pt("", !0)
|
|
@@ -514,7 +514,7 @@ const Eae = /* @__PURE__ */ la(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
514
514
|
},
|
|
515
515
|
emits: ["update:modelValue", "selected", "selectionChanged"],
|
|
516
516
|
setup(O, { emit: me }) {
|
|
517
|
-
const se = O,
|
|
517
|
+
const se = O, Ae = me, he = Wo(null), G = Wo([]), Oe = Wo([]), K = Wo(0), Ne = Wo(!1), lt = Wo(""), Wt = Wo("");
|
|
518
518
|
Oh(() => {
|
|
519
519
|
Wt.value = No(), se.show || (document.body.addEventListener("click", (Ge) => {
|
|
520
520
|
Xn(Ge);
|
|
@@ -566,11 +566,11 @@ const Eae = /* @__PURE__ */ la(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
566
566
|
G.value = St();
|
|
567
567
|
}
|
|
568
568
|
function Tt() {
|
|
569
|
-
G.value = [],
|
|
569
|
+
G.value = [], Ae("update:modelValue", []), Ae("selected", []), Ae("selectionChanged", []);
|
|
570
570
|
}
|
|
571
571
|
function Ea(Ge) {
|
|
572
572
|
let A = G.value.findIndex((Xt) => Xt.id === Ge.id);
|
|
573
|
-
A !== -1 && G.value.splice(A, 1), Oe.value = G.value.map((Xt) => Xt.id),
|
|
573
|
+
A !== -1 && G.value.splice(A, 1), Oe.value = G.value.map((Xt) => Xt.id), Ae("update:modelValue", Oe.value), Ae("selected", G.value), Ae("selectionChanged", G.value);
|
|
574
574
|
}
|
|
575
575
|
function Xn(Ge) {
|
|
576
576
|
Ge.target.id != se.field_name + "search" + Wt.value && Ge.target.id != se.field_name && !Ge.target.classList.contains("showOptions") && (Jn(), K.value = 0, Ne.value = !1);
|
|
@@ -613,7 +613,7 @@ const Eae = /* @__PURE__ */ la(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
613
613
|
}
|
|
614
614
|
function ie(Ge) {
|
|
615
615
|
let A = G.value.findIndex((Xt) => Xt.id === Ge.id);
|
|
616
|
-
A !== -1 ? G.value.splice(A, 1) : G.value.push(Ge), Ne.value = !1, Oe.value = G.value.map((Xt) => Xt.id),
|
|
616
|
+
A !== -1 ? G.value.splice(A, 1) : G.value.push(Ge), Ne.value = !1, Oe.value = G.value.map((Xt) => Xt.id), Ae("update:modelValue", Oe.value), Ae("selected", G.value), Ae("selectionChanged", G.value);
|
|
617
617
|
}
|
|
618
618
|
function Ro() {
|
|
619
619
|
if (!se.show) {
|
|
@@ -630,12 +630,12 @@ const Eae = /* @__PURE__ */ la(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
630
630
|
}
|
|
631
631
|
}
|
|
632
632
|
function Jn() {
|
|
633
|
-
lt.value = "",
|
|
633
|
+
lt.value = "", Ae("selected", G.value);
|
|
634
634
|
}
|
|
635
635
|
return Gw(lt, () => {
|
|
636
636
|
Zo.value.length === 0 && (G.value = []);
|
|
637
637
|
}), Gw(G, (Ge) => {
|
|
638
|
-
Pt(G.value) && (Oe.value = G.value.map((A) => A.id),
|
|
638
|
+
Pt(G.value) && (Oe.value = G.value.map((A) => A.id), Ae("update:modelValue", Oe.value));
|
|
639
639
|
}), (Ge, A) => (ve(), we(bo, null, [
|
|
640
640
|
O.show ? (ve(), we("div", {
|
|
641
641
|
key: 0,
|
|
@@ -816,7 +816,7 @@ const Eae = /* @__PURE__ */ la(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
816
816
|
fill: "#1C64F2"
|
|
817
817
|
})
|
|
818
818
|
], -1);
|
|
819
|
-
function JK(O, me, se,
|
|
819
|
+
function JK(O, me, se, Ae, he, G) {
|
|
820
820
|
return se.is_loading ? (ve(), Ty(o5("button"), {
|
|
821
821
|
key: 1,
|
|
822
822
|
disabled: "",
|
|
@@ -903,13 +903,13 @@ const Oae = /* @__PURE__ */ la(YK, [["render", JK]]), QK = { class: "font-bold p
|
|
|
903
903
|
},
|
|
904
904
|
emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
|
|
905
905
|
setup(O, { expose: me, emit: se }) {
|
|
906
|
-
const
|
|
906
|
+
const Ae = O, he = se, G = Wo(null), Oe = Wo(null);
|
|
907
907
|
return Oh(() => {
|
|
908
|
-
G.value !== null && G.value.hasAttribute("autofocus") && G.value.focus(),
|
|
908
|
+
G.value !== null && G.value.hasAttribute("autofocus") && G.value.focus(), Ae.model_value && (he("update:modelValue", Ae.model_value), G.value.value = Ae.model_value), Ae.model_value_translate, Ae.translatable && axios.get("/admin/get_field_translations", {
|
|
909
909
|
params: {
|
|
910
|
-
model:
|
|
911
|
-
row_id:
|
|
912
|
-
field:
|
|
910
|
+
model: Ae.translatable.model,
|
|
911
|
+
row_id: Ae.translatable.row_id,
|
|
912
|
+
field: Ae.translatable.field
|
|
913
913
|
}
|
|
914
914
|
}).then((K) => {
|
|
915
915
|
Oe.value.value = JSON.stringify(K.data), he("update:modelValueTranslate", JSON.stringify(K.data));
|
|
@@ -1041,17 +1041,17 @@ const Oae = /* @__PURE__ */ la(YK, [["render", JK]]), QK = { class: "font-bold p
|
|
|
1041
1041
|
},
|
|
1042
1042
|
emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
|
|
1043
1043
|
setup(O, { expose: me, emit: se }) {
|
|
1044
|
-
const
|
|
1044
|
+
const Ae = O, he = se, G = Wo(null), Oe = Wo(null);
|
|
1045
1045
|
return Oh(() => {
|
|
1046
1046
|
tinymce.init({
|
|
1047
|
-
selector: "#" +
|
|
1047
|
+
selector: "#" + Ae.field_name,
|
|
1048
1048
|
width: "100%",
|
|
1049
1049
|
height: 300
|
|
1050
|
-
}), console.log("tinymce ",
|
|
1050
|
+
}), console.log("tinymce ", Ae.model_value), G.value !== null && G.value.hasAttribute("autofocus") && G.value.focus(), Ae.model_value && (he("update:modelValue", Ae.model_value), G.value.value = Ae.model_value), Ae.model_value_translate, Ae.translatable && axios.get("/admin/get_field_translations", {
|
|
1051
1051
|
params: {
|
|
1052
|
-
model:
|
|
1053
|
-
row_id:
|
|
1054
|
-
field:
|
|
1052
|
+
model: Ae.translatable.model,
|
|
1053
|
+
row_id: Ae.translatable.row_id,
|
|
1054
|
+
field: Ae.translatable.field
|
|
1055
1055
|
}
|
|
1056
1056
|
}).then((K) => {
|
|
1057
1057
|
Oe.value.value = JSON.stringify(K.data), he("update:modelValueTranslate", JSON.stringify(K.data));
|
|
@@ -1182,13 +1182,13 @@ const Oae = /* @__PURE__ */ la(YK, [["render", JK]]), QK = { class: "font-bold p
|
|
|
1182
1182
|
},
|
|
1183
1183
|
emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
|
|
1184
1184
|
setup(O, { expose: me, emit: se }) {
|
|
1185
|
-
const
|
|
1185
|
+
const Ae = O, he = se, G = Wo(null), Oe = Wo(null);
|
|
1186
1186
|
return Oh(() => {
|
|
1187
|
-
G.value !== null && G.value.hasAttribute("autofocus") && G.value.focus(),
|
|
1187
|
+
G.value !== null && G.value.hasAttribute("autofocus") && G.value.focus(), Ae.model_value && (he("update:modelValue", Ae.model_value), G.value.value = Ae.model_value), Ae.modelValueTranslate && console.log("modelValueTranslate", Ae.modelValueTranslate), Ae.translatable && axios.get("/admin/get_field_translations", {
|
|
1188
1188
|
params: {
|
|
1189
|
-
model:
|
|
1190
|
-
row_id:
|
|
1191
|
-
field:
|
|
1189
|
+
model: Ae.translatable.model,
|
|
1190
|
+
row_id: Ae.translatable.row_id,
|
|
1191
|
+
field: Ae.translatable.field
|
|
1192
1192
|
}
|
|
1193
1193
|
}).then((K) => {
|
|
1194
1194
|
Oe.value.value = JSON.stringify(K.data), he("update:modelValueTranslate", JSON.stringify(K.data));
|
|
@@ -1305,13 +1305,13 @@ const Oae = /* @__PURE__ */ la(YK, [["render", JK]]), QK = { class: "font-bold p
|
|
|
1305
1305
|
},
|
|
1306
1306
|
emits: ["update:modelValue", "keydown"],
|
|
1307
1307
|
setup(O, { expose: me, emit: se }) {
|
|
1308
|
-
const
|
|
1308
|
+
const Ae = O, he = se, G = Wo(null);
|
|
1309
1309
|
Oh(() => {
|
|
1310
1310
|
G.value !== null && G.value.hasAttribute("autofocus") && G.value.focus();
|
|
1311
1311
|
});
|
|
1312
1312
|
const Oe = vc({
|
|
1313
1313
|
get() {
|
|
1314
|
-
return
|
|
1314
|
+
return Ae.modelValue;
|
|
1315
1315
|
},
|
|
1316
1316
|
set(K) {
|
|
1317
1317
|
he("update:modelValue", K);
|
|
@@ -1411,13 +1411,13 @@ const Oae = /* @__PURE__ */ la(YK, [["render", JK]]), QK = { class: "font-bold p
|
|
|
1411
1411
|
},
|
|
1412
1412
|
emits: ["update:modelValue", "keydown"],
|
|
1413
1413
|
setup(O, { expose: me, emit: se }) {
|
|
1414
|
-
const
|
|
1414
|
+
const Ae = O, he = se, G = Wo(null);
|
|
1415
1415
|
Oh(() => {
|
|
1416
1416
|
G.value !== null && G.value.hasAttribute("autofocus") && G.value.focus();
|
|
1417
1417
|
});
|
|
1418
1418
|
const Oe = vc({
|
|
1419
1419
|
get() {
|
|
1420
|
-
return
|
|
1420
|
+
return Ae.modelValue;
|
|
1421
1421
|
},
|
|
1422
1422
|
set(K) {
|
|
1423
1423
|
he("update:modelValue", K);
|
|
@@ -1510,7 +1510,7 @@ const Oae = /* @__PURE__ */ la(YK, [["render", JK]]), QK = { class: "font-bold p
|
|
|
1510
1510
|
},
|
|
1511
1511
|
emits: ["update:modelValue", "keydown"],
|
|
1512
1512
|
setup(O, { emit: me }) {
|
|
1513
|
-
const se = O,
|
|
1513
|
+
const se = O, Ae = me, he = Wo(""), G = Wo({
|
|
1514
1514
|
start: se.modelValue.start,
|
|
1515
1515
|
end: se.modelValue.end
|
|
1516
1516
|
});
|
|
@@ -1520,17 +1520,17 @@ const Oae = /* @__PURE__ */ la(YK, [["render", JK]]), QK = { class: "font-bold p
|
|
|
1520
1520
|
return se.modelValue.start;
|
|
1521
1521
|
},
|
|
1522
1522
|
set(lt) {
|
|
1523
|
-
G.value.start = lt, Ne(G.value.start, G.value.end),
|
|
1523
|
+
G.value.start = lt, Ne(G.value.start, G.value.end), Ae("update:modelValue", { start: G.value.start, end: G.value.end }), Ae("keydown", { start: G.value.start, end: G.value.end });
|
|
1524
1524
|
}
|
|
1525
1525
|
}), K = vc({
|
|
1526
1526
|
get() {
|
|
1527
1527
|
return se.modelValue.end;
|
|
1528
1528
|
},
|
|
1529
1529
|
set(lt) {
|
|
1530
|
-
G.value.end = lt, Ne(G.value.start, G.value.end),
|
|
1530
|
+
G.value.end = lt, Ne(G.value.start, G.value.end), Ae("update:modelValue", { start: G.value.start, end: G.value.end }), Ae("keydown", { start: G.value.start, end: G.value.end });
|
|
1531
1531
|
}
|
|
1532
1532
|
}), Ne = (lt, Wt) => {
|
|
1533
|
-
lt && Wt && new Date(lt) > new Date(Wt) ? (he.value = "Start date cannot be after end date.", G.value.start = "", G.value.end = "",
|
|
1533
|
+
lt && Wt && new Date(lt) > new Date(Wt) ? (he.value = "Start date cannot be after end date.", G.value.start = "", G.value.end = "", Ae("update:modelValue", { start: G.value.start, end: G.value.end }), Ae("keydown", { start: G.value.start, end: G.value.end })) : lt && Wt && new Date(Wt) < new Date(lt) ? (he.value = "End date cannot be before start date.", G.value.start = "", G.value.end = "", Ae("update:modelValue", { start: G.value.start, end: G.value.end }), Ae("keydown", { start: G.value.start, end: G.value.end })) : he.value = "";
|
|
1534
1534
|
};
|
|
1535
1535
|
return (lt, Wt) => (ve(), we(bo, null, [
|
|
1536
1536
|
O.show ? (ve(), we("div", {
|
|
@@ -1637,7 +1637,7 @@ const Oae = /* @__PURE__ */ la(YK, [["render", JK]]), QK = { class: "font-bold p
|
|
|
1637
1637
|
},
|
|
1638
1638
|
emits: ["update:modelValue", "keydown"],
|
|
1639
1639
|
setup(O, { emit: me }) {
|
|
1640
|
-
const se = me,
|
|
1640
|
+
const se = me, Ae = Wo(null), he = (G) => {
|
|
1641
1641
|
const Oe = G.target.files[0];
|
|
1642
1642
|
console.log(Oe), se("keydown", G), Oe && se("update:modelValue", Oe);
|
|
1643
1643
|
};
|
|
@@ -1673,7 +1673,7 @@ const Oae = /* @__PURE__ */ la(YK, [["render", JK]]), QK = { class: "font-bold p
|
|
|
1673
1673
|
type: "file",
|
|
1674
1674
|
onChange: he,
|
|
1675
1675
|
ref_key: "input",
|
|
1676
|
-
ref:
|
|
1676
|
+
ref: Ae,
|
|
1677
1677
|
placeholder: O.placeholder
|
|
1678
1678
|
}, null, 42, lX),
|
|
1679
1679
|
P("span", cX, ft(O.error_message), 1),
|
|
@@ -1686,7 +1686,7 @@ const Oae = /* @__PURE__ */ la(YK, [["render", JK]]), QK = { class: "font-bold p
|
|
|
1686
1686
|
props: {},
|
|
1687
1687
|
emits: ["TabChange"],
|
|
1688
1688
|
setup(O, { emit: me }) {
|
|
1689
|
-
const se = me,
|
|
1689
|
+
const se = me, Ae = Oq(), he = Wo(Ae.default().map((K) => K.props)), G = Wo(he.value[0].title);
|
|
1690
1690
|
XG("selectedTitle", G), se("TabChange", he.value[0].title);
|
|
1691
1691
|
const Oe = (K) => {
|
|
1692
1692
|
se("TabChange", K);
|
|
@@ -1734,8 +1734,8 @@ const Oae = /* @__PURE__ */ la(YK, [["render", JK]]), QK = { class: "font-bold p
|
|
|
1734
1734
|
key: 0,
|
|
1735
1735
|
class: "block"
|
|
1736
1736
|
};
|
|
1737
|
-
function yX(O, me, se,
|
|
1738
|
-
return se.title ==
|
|
1737
|
+
function yX(O, me, se, Ae, he, G) {
|
|
1738
|
+
return se.title == Ae.selectedTitle ? (ve(), we("div", vX, [
|
|
1739
1739
|
vf(O.$slots, "default")
|
|
1740
1740
|
])) : pt("", !0);
|
|
1741
1741
|
}
|
|
@@ -1791,9 +1791,9 @@ const Fae = /* @__PURE__ */ la(bX, [["render", yX]]), xX = {
|
|
|
1791
1791
|
},
|
|
1792
1792
|
generateRandomString(O) {
|
|
1793
1793
|
let me = "";
|
|
1794
|
-
const se = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
|
|
1794
|
+
const se = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", Ae = se.length;
|
|
1795
1795
|
for (let he = 0; he < O; he++)
|
|
1796
|
-
me += se.charAt(Math.floor(Math.random() *
|
|
1796
|
+
me += se.charAt(Math.floor(Math.random() * Ae));
|
|
1797
1797
|
return me;
|
|
1798
1798
|
},
|
|
1799
1799
|
movingActions() {
|
|
@@ -1807,10 +1807,10 @@ const Fae = /* @__PURE__ */ la(bX, [["render", yX]]), xX = {
|
|
|
1807
1807
|
document.removeEventListener("mousemove", G), document.removeEventListener("touchmove", G), document.removeEventListener("mouseup", Oe), document.removeEventListener("touchend", Oe), me.style.cursor = "grab";
|
|
1808
1808
|
};
|
|
1809
1809
|
document.addEventListener("mousemove", G), document.addEventListener("touchmove", G, { passive: !1 }), document.addEventListener("mouseup", Oe), document.addEventListener("touchend", Oe), O.initialX = he.clientX || he.touches && he.touches[0] && he.touches[0].clientX, O.initialY = he.clientY || he.touches && he.touches[0] && he.touches[0].clientY;
|
|
1810
|
-
},
|
|
1810
|
+
}, Ae = (he) => {
|
|
1811
1811
|
he.key === "ArrowLeft" ? O.prev() : he.key === "ArrowRight" && O.next();
|
|
1812
1812
|
};
|
|
1813
|
-
me.addEventListener("mousedown", se), me.addEventListener("touchstart", se), document.addEventListener("keydown",
|
|
1813
|
+
me.addEventListener("mousedown", se), me.addEventListener("touchstart", se), document.addEventListener("keydown", Ae);
|
|
1814
1814
|
},
|
|
1815
1815
|
next() {
|
|
1816
1816
|
this.currentDot < this.dotsNavigation.length && (this.currentDot++, this.setDot(this.currentDot));
|
|
@@ -1819,7 +1819,7 @@ const Fae = /* @__PURE__ */ la(bX, [["render", yX]]), xX = {
|
|
|
1819
1819
|
this.currentDot > 1 && (this.currentDot--, this.setDot(this.currentDot));
|
|
1820
1820
|
},
|
|
1821
1821
|
initSlider() {
|
|
1822
|
-
let O = document.getElementById("sliderContainer_" + this.Random_string), me = document.getElementById("mainSliderContainer_" + this.Random_string), se = document.getElementById("slider_" + this.Random_string),
|
|
1822
|
+
let O = document.getElementById("sliderContainer_" + this.Random_string), me = document.getElementById("mainSliderContainer_" + this.Random_string), se = document.getElementById("slider_" + this.Random_string), Ae = se.querySelectorAll("li"), he = Array.from(Ae).filter((K) => K.parentNode === se), G = O.clientWidth, Oe = G / this.elementsToShow;
|
|
1823
1823
|
if (this.elementsToShow > 1 ? document.body.clientWidth < 1e3 ? (this.elementsToShow = 1, Oe = this.hide_arrow ? me.clientWidth : G) : document.body.clientWidth < 1500 && (this.elementsToShow = 2) : (this.elementsToShow = 1, Oe = this.hide_arrow ? me.clientWidth : G), he.length > 1) {
|
|
1824
1824
|
this.dotsNum = this.elementsToShow == 1 ? he.length : he.length - this.elementsToShow + 1;
|
|
1825
1825
|
let K = this.elementsToShow == 1 ? Oe * he.length / this.dotsNum : Oe * (he.length - this.elementsToShow) / (this.dotsNum - 1);
|
|
@@ -2023,7 +2023,7 @@ const Fae = /* @__PURE__ */ la(bX, [["render", yX]]), xX = {
|
|
|
2023
2023
|
}, null, -1)), SJ = [
|
|
2024
2024
|
CJ
|
|
2025
2025
|
];
|
|
2026
|
-
function _J(O, me, se,
|
|
2026
|
+
function _J(O, me, se, Ae, he, G) {
|
|
2027
2027
|
return ve(), we("div", null, [
|
|
2028
2028
|
P("div", {
|
|
2029
2029
|
class: rn(["", !se.hide_arrow && se.slider_arrows_indicators_position == "arrows_outside_slide" ? "flex" : "relative block"]),
|
|
@@ -2182,12 +2182,12 @@ const Hae = /* @__PURE__ */ la(xX, [["render", _J], ["__scopeId", "data-v-a94f16
|
|
|
2182
2182
|
},
|
|
2183
2183
|
emits: ["closeModal"],
|
|
2184
2184
|
setup(O, { emit: me }) {
|
|
2185
|
-
const se = O,
|
|
2185
|
+
const se = O, Ae = me, he = () => {
|
|
2186
2186
|
document.documentElement.style.overflow = "hidden", document.documentElement.style.paddingRight = "0px";
|
|
2187
2187
|
}, G = () => {
|
|
2188
2188
|
document.documentElement.style.overflow = "", document.documentElement.style.paddingRight = "";
|
|
2189
2189
|
}, Oe = () => {
|
|
2190
|
-
|
|
2190
|
+
Ae("closeModal"), G();
|
|
2191
2191
|
};
|
|
2192
2192
|
return Gw(
|
|
2193
2193
|
() => se.is_open,
|
|
@@ -2280,12 +2280,12 @@ const Hae = /* @__PURE__ */ la(xX, [["render", _J], ["__scopeId", "data-v-a94f16
|
|
|
2280
2280
|
},
|
|
2281
2281
|
emits: ["update:modelValue"],
|
|
2282
2282
|
setup(O, { emit: me }) {
|
|
2283
|
-
const se = O,
|
|
2283
|
+
const se = O, Ae = me, he = Wo(null), G = vc({
|
|
2284
2284
|
get() {
|
|
2285
2285
|
return se.modelValue;
|
|
2286
2286
|
},
|
|
2287
2287
|
set(Oe) {
|
|
2288
|
-
|
|
2288
|
+
Ae("update:modelValue", Oe);
|
|
2289
2289
|
}
|
|
2290
2290
|
});
|
|
2291
2291
|
return (Oe, K) => (ve(), we(bo, null, [
|
|
@@ -2391,12 +2391,12 @@ const Hae = /* @__PURE__ */ la(xX, [["render", _J], ["__scopeId", "data-v-a94f16
|
|
|
2391
2391
|
},
|
|
2392
2392
|
emits: ["update:modelValue"],
|
|
2393
2393
|
setup(O, { emit: me }) {
|
|
2394
|
-
const se = O,
|
|
2394
|
+
const se = O, Ae = me, he = Wo(null), G = vc({
|
|
2395
2395
|
get() {
|
|
2396
2396
|
return se.modelValue;
|
|
2397
2397
|
},
|
|
2398
2398
|
set(Oe) {
|
|
2399
|
-
|
|
2399
|
+
Ae("update:modelValue", Oe);
|
|
2400
2400
|
}
|
|
2401
2401
|
});
|
|
2402
2402
|
return (Oe, K) => (ve(), we(bo, null, [
|
|
@@ -2550,7 +2550,7 @@ const Hae = /* @__PURE__ */ la(xX, [["render", _J], ["__scopeId", "data-v-a94f16
|
|
|
2550
2550
|
},
|
|
2551
2551
|
emits: ["update:modelValue", "selected", "selectionChanged"],
|
|
2552
2552
|
setup(O, { emit: me }) {
|
|
2553
|
-
const se = O,
|
|
2553
|
+
const se = O, Ae = me, he = Wo(null), G = Wo({}), Oe = Wo(0), K = Wo(!1), Ne = Wo(""), lt = Wo("");
|
|
2554
2554
|
Oh(() => {
|
|
2555
2555
|
lt.value = ir(), se.show || (document.body.addEventListener("click", (St) => {
|
|
2556
2556
|
Pt(St);
|
|
@@ -2624,7 +2624,7 @@ const Hae = /* @__PURE__ */ la(xX, [["render", _J], ["__scopeId", "data-v-a94f16
|
|
|
2624
2624
|
) || {};
|
|
2625
2625
|
}
|
|
2626
2626
|
function Xn(St) {
|
|
2627
|
-
G.value = St, K.value = !1,
|
|
2627
|
+
G.value = St, K.value = !1, Ae("update:modelValue", G.value.id), Ae("selected", G.value), Ae("selectionChanged", G.value);
|
|
2628
2628
|
}
|
|
2629
2629
|
function oe() {
|
|
2630
2630
|
if (!se.show) {
|
|
@@ -2641,15 +2641,15 @@ const Hae = /* @__PURE__ */ la(xX, [["render", _J], ["__scopeId", "data-v-a94f16
|
|
|
2641
2641
|
}
|
|
2642
2642
|
}
|
|
2643
2643
|
function Pn() {
|
|
2644
|
-
se.show || (G.value = {}, Ne.value = "",
|
|
2644
|
+
se.show || (G.value = {}, Ne.value = "", Ae("update:modelValue", ""), oe());
|
|
2645
2645
|
}
|
|
2646
2646
|
function os() {
|
|
2647
|
-
G.value.id || (G.value = {}, Ne.value = ""),
|
|
2647
|
+
G.value.id || (G.value = {}, Ne.value = ""), Ae("selected", G.value);
|
|
2648
2648
|
}
|
|
2649
2649
|
return Gw(Ne, () => {
|
|
2650
2650
|
zn.value.length === 0 && (G.value = {});
|
|
2651
2651
|
}), Gw(G, (St) => {
|
|
2652
|
-
No(St) &&
|
|
2652
|
+
No(St) && Ae("update:modelValue", St.id);
|
|
2653
2653
|
}), (St, He) => {
|
|
2654
2654
|
var ie, Ro, Jn;
|
|
2655
2655
|
return ve(), we(bo, null, [
|
|
@@ -2805,13 +2805,13 @@ const Hae = /* @__PURE__ */ la(xX, [["render", _J], ["__scopeId", "data-v-a94f16
|
|
|
2805
2805
|
},
|
|
2806
2806
|
emits: ["update:modelValue", "keydown"],
|
|
2807
2807
|
setup(O, { expose: me, emit: se }) {
|
|
2808
|
-
const
|
|
2808
|
+
const Ae = O, he = se, G = Wo(null);
|
|
2809
2809
|
Oh(() => {
|
|
2810
2810
|
G.value !== null && G.value.hasAttribute("autofocus") && G.value.focus();
|
|
2811
2811
|
});
|
|
2812
2812
|
const Oe = vc({
|
|
2813
2813
|
get() {
|
|
2814
|
-
return
|
|
2814
|
+
return Ae.modelValue;
|
|
2815
2815
|
},
|
|
2816
2816
|
set(K) {
|
|
2817
2817
|
he("update:modelValue", K);
|
|
@@ -2888,7 +2888,7 @@ var tq = { exports: {} };
|
|
|
2888
2888
|
"xml",
|
|
2889
2889
|
"null"
|
|
2890
2890
|
].indexOf(e) !== -1;
|
|
2891
|
-
},
|
|
2891
|
+
}, Ae = function(e, n) {
|
|
2892
2892
|
var o = Array.prototype.slice.call(e);
|
|
2893
2893
|
return o.sort(n);
|
|
2894
2894
|
}, he = function(e, n) {
|
|
@@ -2910,7 +2910,7 @@ var tq = { exports: {} };
|
|
|
2910
2910
|
});
|
|
2911
2911
|
}, lt = function(e, n) {
|
|
2912
2912
|
return he(Ne(e), function(o) {
|
|
2913
|
-
return
|
|
2913
|
+
return Ae(o, n);
|
|
2914
2914
|
});
|
|
2915
2915
|
}, Wt = function(e) {
|
|
2916
2916
|
return G(function(n, o) {
|
|
@@ -20275,7 +20275,7 @@ tinymce.IconManager.add("default", {
|
|
|
20275
20275
|
}, se = (t) => {
|
|
20276
20276
|
const s = typeof t;
|
|
20277
20277
|
return t === null ? "null" : s === "object" && Array.isArray(t) ? "array" : s === "object" && me(t, String, (a, c) => c.isPrototypeOf(a)) ? "string" : s;
|
|
20278
|
-
},
|
|
20278
|
+
}, Ae = (t) => (s) => se(s) === t, he = (t) => (s) => typeof s === t, G = (t) => (s) => t === s, Oe = (t, s) => Ne(t) && me(t, s, (a, c) => O(a) === c), K = Ae("string"), Ne = Ae("object"), lt = (t) => Oe(t, Object), Wt = Ae("array"), xn = G(null), zn = he("boolean"), Zo = G(void 0), ir = (t) => t == null, No = (t) => !ir(t), Pt = he("function"), ur = he("number"), mn = (t, s) => {
|
|
20279
20279
|
if (Wt(t)) {
|
|
20280
20280
|
for (let a = 0, c = t.length; a < c; ++a)
|
|
20281
20281
|
if (!s(t[a]))
|
|
@@ -21983,22 +21983,22 @@ The behaviours that can trigger it are: ` + JSON.stringify(et(s, (a) => a.name),
|
|
|
21983
21983
|
toSet: g,
|
|
21984
21984
|
toRemove: p
|
|
21985
21985
|
} = $u(t.attributes, d), x = () => {
|
|
21986
|
-
bt(p, (
|
|
21986
|
+
bt(p, (De) => re(s, De)), Gu(s, g);
|
|
21987
21987
|
}, C = wr(s), {
|
|
21988
21988
|
toSet: E,
|
|
21989
21989
|
toRemove: R
|
|
21990
21990
|
} = $u(t.styles, C), B = () => {
|
|
21991
|
-
bt(R, (
|
|
21991
|
+
bt(R, (De) => fo(s, De)), $s(s, E);
|
|
21992
21992
|
}, H = sp(s), W = Ft(H, t.classes), J = Ft(t.classes, H), ce = () => {
|
|
21993
21993
|
ar(s, J), ki(s, W);
|
|
21994
|
-
}, $e = (
|
|
21995
|
-
Kg(s,
|
|
21994
|
+
}, $e = (De) => {
|
|
21995
|
+
Kg(s, De);
|
|
21996
21996
|
}, xe = () => {
|
|
21997
|
-
const
|
|
21998
|
-
c5(s,
|
|
21997
|
+
const De = t.domChildren;
|
|
21998
|
+
c5(s, De);
|
|
21999
21999
|
}, pe = () => {
|
|
22000
|
-
const
|
|
22001
|
-
dt !== Wd(
|
|
22000
|
+
const De = s, dt = t.value.getOrUndefined();
|
|
22001
|
+
dt !== Wd(De) && rp(De, dt ?? "");
|
|
22002
22002
|
};
|
|
22003
22003
|
return x(), ce(), B(), t.innerHtml.fold(xe, $e), pe(), s;
|
|
22004
22004
|
}, FT = (t) => {
|
|
@@ -22034,7 +22034,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(et(s, (a) => a.name),
|
|
|
22034
22034
|
const c = { "alloy.base.behaviour": Rb(t) };
|
|
22035
22035
|
return Ab(a, t.eventOrder, s, c).getOrDie();
|
|
22036
22036
|
}, cp = (t, s) => {
|
|
22037
|
-
const a = () =>
|
|
22037
|
+
const a = () => De, c = dn(ld), d = ls(oC(t)), g = Zd(t), p = eC(g), x = tC(g), C = ap(d, p, x), E = N1(C, s), R = lp(d, p, x), B = dn(d.components), H = (dt) => {
|
|
22038
22038
|
c.set(dt);
|
|
22039
22039
|
}, W = () => {
|
|
22040
22040
|
c.set(Fm(a));
|
|
@@ -22046,7 +22046,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(et(s, (a) => a.name),
|
|
|
22046
22046
|
return (Pt(Xe[dt.name()]) ? Xe[dt.name()] : () => {
|
|
22047
22047
|
throw new Error("Could not find " + dt.name() + " in " + JSON.stringify(t, null, 2));
|
|
22048
22048
|
})();
|
|
22049
|
-
}, $e = (dt) => Pt(x[dt.name()]), xe = () => d.apis, pe = (dt) => x[dt]().map((Xe) => Xe.state.readState()).getOr("not enabled"),
|
|
22049
|
+
}, $e = (dt) => Pt(x[dt.name()]), xe = () => d.apis, pe = (dt) => x[dt]().map((Xe) => Xe.state.readState()).getOr("not enabled"), De = {
|
|
22050
22050
|
uid: t.uid,
|
|
22051
22051
|
getSystem: c.get,
|
|
22052
22052
|
config: ce,
|
|
@@ -22061,7 +22061,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(et(s, (a) => a.name),
|
|
|
22061
22061
|
components: B.get,
|
|
22062
22062
|
events: R
|
|
22063
22063
|
};
|
|
22064
|
-
return
|
|
22064
|
+
return De;
|
|
22065
22065
|
}, Jg = (t, s) => {
|
|
22066
22066
|
const a = vt(t, "components").getOr([]);
|
|
22067
22067
|
return s.fold(() => et(a, kl), (c) => et(a, (d, g) => Nb(d, Sc(c, g))));
|
|
@@ -22553,12 +22553,12 @@ Receiver: ` + zd(s.element), E, g.data);
|
|
|
22553
22553
|
y: c,
|
|
22554
22554
|
right: d,
|
|
22555
22555
|
bottom: 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, J = 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),
|
|
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, J = 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), De = Math.min(B, x >= c ? g - x : E - c);
|
|
22557
22557
|
return {
|
|
22558
22558
|
originInBounds: J,
|
|
22559
22559
|
sizeInBounds: xe,
|
|
22560
22560
|
visibleW: pe,
|
|
22561
|
-
visibleH:
|
|
22561
|
+
visibleH: De
|
|
22562
22562
|
};
|
|
22563
22563
|
}, g2 = (t, s) => {
|
|
22564
22564
|
const {
|
|
@@ -22575,7 +22575,7 @@ Receiver: ` + zd(s.element), E, g.data);
|
|
|
22575
22575
|
maxHeight: g
|
|
22576
22576
|
};
|
|
22577
22577
|
}, nE = (t, s, a, c) => {
|
|
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 } = TC(E, p), J = R && B, ce = J ? E : g2(E, p), $e = ce.width > 0 && ce.height > 0, { maxWidth: xe, maxHeight: pe } = sh(t.direction, ce, c),
|
|
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 } = TC(E, p), J = R && B, ce = J ? E : g2(E, p), $e = ce.width > 0 && ce.height > 0, { maxWidth: xe, maxHeight: pe } = sh(t.direction, ce, c), De = {
|
|
22579
22579
|
rect: ce,
|
|
22580
22580
|
maxHeight: pe,
|
|
22581
22581
|
maxWidth: xe,
|
|
@@ -22588,11 +22588,11 @@ Receiver: ` + zd(s.element), E, g.data);
|
|
|
22588
22588
|
layout: t.label,
|
|
22589
22589
|
testY: C
|
|
22590
22590
|
};
|
|
22591
|
-
return J || t.alwaysFit ? Z1.fit(
|
|
22591
|
+
return J || t.alwaysFit ? Z1.fit(De) : Z1.nofit(De, H, W, $e);
|
|
22592
22592
|
}, oE = (t, s, a, c, d, g) => {
|
|
22593
22593
|
const p = c.width, x = c.height, C = (R, B, H, W, J) => {
|
|
22594
22594
|
const ce = R(a, c, d, t, g), $e = nE(ce, p, x, g);
|
|
22595
|
-
return $e.fold(oe($e), (xe, pe,
|
|
22595
|
+
return $e.fold(oe($e), (xe, pe, De, dt) => (J === dt ? De > W || pe > H : !J && dt) ? $e : Z1.nofit(B, H, W, J));
|
|
22596
22596
|
};
|
|
22597
22597
|
return Ho(s, (R, B) => {
|
|
22598
22598
|
const H = St(C, B);
|
|
@@ -24089,25 +24089,25 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24089
24089
|
Re("useTabstopAt", Ge),
|
|
24090
24090
|
Fo("visibilitySelector")
|
|
24091
24091
|
].concat([t]), a = (xe, pe) => {
|
|
24092
|
-
const
|
|
24093
|
-
return Vs(
|
|
24092
|
+
const De = xe.visibilitySelector.bind((dt) => cd(pe, dt)).getOr(pe);
|
|
24093
|
+
return Vs(De) > 0;
|
|
24094
24094
|
}, c = (xe, pe) => {
|
|
24095
|
-
const
|
|
24095
|
+
const De = Sa(xe.element, pe.selector), dt = Qn(De, (Xe) => a(pe, Xe));
|
|
24096
24096
|
return A.from(dt[pe.firstTabstop]);
|
|
24097
|
-
}, d = (xe, pe) => pe.focusManager.get(xe).bind((
|
|
24097
|
+
}, d = (xe, pe) => pe.focusManager.get(xe).bind((De) => cd(De, pe.selector)), g = (xe, pe) => a(xe, pe) && xe.useTabstopAt(pe), p = (xe, pe, De) => {
|
|
24098
24098
|
c(xe, pe).each((dt) => {
|
|
24099
24099
|
pe.focusManager.set(xe, dt);
|
|
24100
24100
|
});
|
|
24101
|
-
}, x = (xe, pe,
|
|
24102
|
-
const Xe = Sa(xe.element,
|
|
24103
|
-
return d(xe,
|
|
24104
|
-
}, E = (xe, pe,
|
|
24105
|
-
const dt =
|
|
24106
|
-
return C(xe, pe,
|
|
24107
|
-
}, R = (xe, pe,
|
|
24108
|
-
const dt =
|
|
24109
|
-
return C(xe, pe,
|
|
24110
|
-
}, B = (xe) => Hl(xe).bind(hi).exists((pe) => Lo(pe, xe)), H = (xe, pe,
|
|
24101
|
+
}, x = (xe, pe, De, dt, Xe) => Xe(pe, De, (je) => g(dt, je)).fold(() => dt.cyclic ? A.some(!0) : A.none(), (je) => (dt.focusManager.set(xe, je), A.some(!0))), C = (xe, pe, De, dt) => {
|
|
24102
|
+
const Xe = Sa(xe.element, De.selector);
|
|
24103
|
+
return d(xe, De).bind((je) => Dt(Xe, St(Lo, je)).bind((Et) => x(xe, Xe, Et, De, dt)));
|
|
24104
|
+
}, E = (xe, pe, De) => {
|
|
24105
|
+
const dt = De.cyclic ? lx : i4;
|
|
24106
|
+
return C(xe, pe, De, dt);
|
|
24107
|
+
}, R = (xe, pe, De) => {
|
|
24108
|
+
const dt = De.cyclic ? cx : u4;
|
|
24109
|
+
return C(xe, pe, De, dt);
|
|
24110
|
+
}, B = (xe) => Hl(xe).bind(hi).exists((pe) => Lo(pe, xe)), H = (xe, pe, De) => d(xe, De).filter((dt) => !De.useTabstopAt(dt)).bind((dt) => (B(dt) ? E : R)(xe, pe, De)), W = (xe, pe, De) => De.onEnter.bind((dt) => dt(xe, pe)), J = (xe, pe, De) => De.onEscape.bind((dt) => dt(xe, pe)), ce = oe([
|
|
24111
24111
|
ko($i([
|
|
24112
24112
|
nf,
|
|
24113
24113
|
po(ef)
|
|
@@ -25034,13 +25034,13 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25034
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));
|
|
25035
25035
|
}))));
|
|
25036
25036
|
}
|
|
25037
|
-
},
|
|
25037
|
+
}, De = (At, Yt) => {
|
|
25038
25038
|
const An = p(Yt);
|
|
25039
25039
|
return d.collapse(An).bind(($n) => (J(At, $n), ce(At, d, $n).map((bn) => (t.onCollapseMenu(At, Yt, bn), bn))));
|
|
25040
25040
|
}, dt = (At, Yt) => {
|
|
25041
25041
|
const An = p(Yt);
|
|
25042
25042
|
return d.refresh(An).bind(($n) => (J(At, $n), ce(At, d, $n)));
|
|
25043
|
-
}, Xe = (At, Yt) => mh(Yt.element) ? A.none() : pe(At, Yt, $e.HighlightSubmenu), je = (At, Yt) => mh(Yt.element) ? A.none() :
|
|
25043
|
+
}, Xe = (At, Yt) => mh(Yt.element) ? A.none() : pe(At, Yt, $e.HighlightSubmenu), je = (At, Yt) => mh(Yt.element) ? A.none() : De(At, Yt), yt = (At, Yt) => De(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([
|
|
25044
25044
|
Je(rR(), (At, Yt) => {
|
|
25045
25045
|
const An = Yt.event.item;
|
|
25046
25046
|
d.lookupItem(p(An)).each(() => {
|
|
@@ -25053,7 +25053,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25053
25053
|
Ou((At, Yt) => {
|
|
25054
25054
|
const An = Yt.event.target;
|
|
25055
25055
|
At.getSystem().getByDom(An).each(($n) => {
|
|
25056
|
-
p($n).indexOf("collapse-item") === 0 &&
|
|
25056
|
+
p($n).indexOf("collapse-item") === 0 && De(At, $n), pe(At, $n, $e.HighlightSubmenu).fold(() => {
|
|
25057
25057
|
t.onExecute(At, $n);
|
|
25058
25058
|
}, fe);
|
|
25059
25059
|
});
|
|
@@ -25075,7 +25075,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25075
25075
|
})] : []
|
|
25076
25076
|
]), zt = (At) => Po.getHighlighted(At).bind(Po.getHighlighted), En = (At) => {
|
|
25077
25077
|
zt(At).each((Yt) => {
|
|
25078
|
-
|
|
25078
|
+
De(At, Yt);
|
|
25079
25079
|
});
|
|
25080
25080
|
}, Cn = (At) => {
|
|
25081
25081
|
d.getPrimary().each((Yt) => {
|
|
@@ -26142,7 +26142,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26142
26142
|
const uo = d.createElement("template");
|
|
26143
26143
|
uo.content && uo.content.ownerDocument && (d = uo.content.ownerDocument);
|
|
26144
26144
|
}
|
|
26145
|
-
let
|
|
26145
|
+
let De, dt = "";
|
|
26146
26146
|
const { implementation: Xe, createNodeIterator: je, createDocumentFragment: yt, getElementsByTagName: Et } = d, { importNode: Vn } = a;
|
|
26147
26147
|
let zt = {};
|
|
26148
26148
|
s.isSupported = typeof E4 == "function" && typeof pe == "function" && Xe && Xe.createHTMLDocument !== void 0;
|
|
@@ -26262,9 +26262,9 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26262
26262
|
throw tm('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
26263
26263
|
if (typeof Ue.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
26264
26264
|
throw tm('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
26265
|
-
|
|
26265
|
+
De = Ue.TRUSTED_TYPES_POLICY, dt = De.createHTML("");
|
|
26266
26266
|
} else
|
|
26267
|
-
|
|
26267
|
+
De === void 0 && (De = wx(W, c)), De !== null && typeof dt == "string" && (dt = De.createHTML(""));
|
|
26268
26268
|
fu && fu(Ue), ST = Ue;
|
|
26269
26269
|
}
|
|
26270
26270
|
}, VG = wo({}, [
|
|
@@ -26335,7 +26335,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26335
26335
|
Mn = wg && wg[0];
|
|
26336
26336
|
}
|
|
26337
26337
|
Zw === "application/xhtml+xml" && CT === ab && (Ue = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + Ue + "</body></html>");
|
|
26338
|
-
const aa =
|
|
26338
|
+
const aa = De ? De.createHTML(Ue) : Ue;
|
|
26339
26339
|
if (CT === ab)
|
|
26340
26340
|
try {
|
|
26341
26341
|
tn = new H().parseFromString(aa, Zw);
|
|
@@ -26439,14 +26439,14 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26439
26439
|
e5(Cg, Ue);
|
|
26440
26440
|
continue;
|
|
26441
26441
|
}
|
|
26442
|
-
if (NG && (aa === "id" || aa === "name") && (e5(Cg, Ue), Mn = bq + Mn),
|
|
26442
|
+
if (NG && (aa === "id" || aa === "name") && (e5(Cg, Ue), Mn = bq + Mn), De && typeof W == "object" && typeof W.getAttributeType == "function" && !Tj)
|
|
26443
26443
|
switch (W.getAttributeType(KG, aa)) {
|
|
26444
26444
|
case "TrustedHTML": {
|
|
26445
|
-
Mn =
|
|
26445
|
+
Mn = De.createHTML(Mn);
|
|
26446
26446
|
break;
|
|
26447
26447
|
}
|
|
26448
26448
|
case "TrustedScriptURL": {
|
|
26449
|
-
Mn =
|
|
26449
|
+
Mn = De.createScriptURL(Mn);
|
|
26450
26450
|
break;
|
|
26451
26451
|
}
|
|
26452
26452
|
}
|
|
@@ -26485,7 +26485,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26485
26485
|
tn = UG("<!---->"), Mn = tn.ownerDocument.importNode(uo, !0), Mn.nodeType === 1 && Mn.nodeName === "BODY" || Mn.nodeName === "HTML" ? tn = Mn : tn.appendChild(Mn);
|
|
26486
26486
|
else {
|
|
26487
26487
|
if (!_y && !bf && !Dh && uo.indexOf("<") === -1)
|
|
26488
|
-
return
|
|
26488
|
+
return De && L8 ? De.createHTML(uo) : uo;
|
|
26489
26489
|
if (tn = UG(uo), !tn)
|
|
26490
26490
|
return _y ? null : L8 ? dt : "";
|
|
26491
26491
|
}
|
|
@@ -26505,7 +26505,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26505
26505
|
}
|
|
26506
26506
|
let Ml = Dh ? tn.outerHTML : tn.innerHTML;
|
|
26507
26507
|
return Dh && $n["!doctype"] && tn.ownerDocument && tn.ownerDocument.doctype && tn.ownerDocument.doctype.name && pd(hR, tn.ownerDocument.doctype.name) && (Ml = "<!DOCTYPE " + tn.ownerDocument.doctype.name + `>
|
|
26508
|
-
` + Ml), bf && (Ml = rf(Ml, En, " "), Ml = rf(Ml, Cn, " "), Ml = rf(Ml, Ko, " ")),
|
|
26508
|
+
` + Ml), bf && (Ml = rf(Ml, En, " "), Ml = rf(Ml, Cn, " "), Ml = rf(Ml, Ko, " ")), De && L8 ? De.createHTML(Ml) : Ml;
|
|
26509
26509
|
}, s.setConfig = function(uo) {
|
|
26510
26510
|
_j(uo), Ww = !0;
|
|
26511
26511
|
}, s.clearConfig = function() {
|
|
@@ -26764,10 +26764,10 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26764
26764
|
lr.showWithinBounds(H, ce, { anchor: pe }, d);
|
|
26765
26765
|
} else
|
|
26766
26766
|
ot(xe, J).each((pe) => {
|
|
26767
|
-
const
|
|
26767
|
+
const De = xe[pe - 1].getEl(), dt = {
|
|
26768
26768
|
type: "node",
|
|
26769
26769
|
root: Fs(),
|
|
26770
|
-
node: A.some(Te.fromDom(
|
|
26770
|
+
node: A.some(Te.fromDom(De)),
|
|
26771
26771
|
overrides: $e,
|
|
26772
26772
|
layouts: {
|
|
26773
26773
|
onRtl: () => [wa],
|
|
@@ -29153,8 +29153,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29153
29153
|
}, E = () => lr.getContent(g).bind(($e) => hs($e.components(), 0)), R = () => t.execCommand("mceAutocompleterClose"), B = ($e) => {
|
|
29154
29154
|
const xe = Js($e, (pe) => A.from(pe.columns)).getOr(1);
|
|
29155
29155
|
return _e($e, (pe) => {
|
|
29156
|
-
const
|
|
29157
|
-
return dF(
|
|
29156
|
+
const De = pe.items;
|
|
29157
|
+
return dF(De, pe.matchText, (dt, Xe) => {
|
|
29158
29158
|
const je = t.selection.getRng();
|
|
29159
29159
|
fF(t.dom, je).each((yt) => {
|
|
29160
29160
|
const Et = {
|
|
@@ -29169,14 +29169,14 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29169
29169
|
});
|
|
29170
29170
|
}, H = ($e, xe) => {
|
|
29171
29171
|
CI(Te.fromDom(t.getBody())).each((pe) => {
|
|
29172
|
-
const
|
|
29172
|
+
const De = Js($e, (dt) => A.from(dt.columns)).getOr(1);
|
|
29173
29173
|
lr.showMenuAt(g, {
|
|
29174
29174
|
anchor: {
|
|
29175
29175
|
type: "node",
|
|
29176
29176
|
root: Te.fromDom(t.getBody()),
|
|
29177
29177
|
node: A.from(pe)
|
|
29178
29178
|
}
|
|
29179
|
-
}, mF(i_("autocompleter-value", !0, xe,
|
|
29179
|
+
}, mF(i_("autocompleter-value", !0, xe, De, { menuType: "normal" }), De, Wx.ContentFocus, "normal"));
|
|
29180
29180
|
}), E().each(Po.highlightFirst);
|
|
29181
29181
|
}, W = ($e) => {
|
|
29182
29182
|
const xe = B($e);
|
|
@@ -29195,8 +29195,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29195
29195
|
width: "1px",
|
|
29196
29196
|
top: `${xe.offsetTop}px`,
|
|
29197
29197
|
left: `${xe.offsetLeft}px`
|
|
29198
|
-
}), t.dom.add($e, pe.dom), Br(pe, '[role="menu"]').each((
|
|
29199
|
-
fo(
|
|
29198
|
+
}), t.dom.add($e, pe.dom), Br(pe, '[role="menu"]').each((De) => {
|
|
29199
|
+
fo(De, "position"), fo(De, "max-height");
|
|
29200
29200
|
});
|
|
29201
29201
|
};
|
|
29202
29202
|
t.on("AutocompleterStart", ({ lookupData: $e }) => {
|
|
@@ -29479,16 +29479,16 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
29479
29479
|
]
|
|
29480
29480
|
}), M_ = (t) => {
|
|
29481
29481
|
const s = (xe) => Qr(t.element).fold(Ge, (pe) => Lo(xe, pe)), a = MM(), c = (xe, pe) => a.find(s, xe, pe), d = xF(t.element, {
|
|
29482
|
-
triggerEvent: (xe, pe) => Lb(xe, pe.target, (
|
|
29482
|
+
triggerEvent: (xe, pe) => Lb(xe, pe.target, (De) => mA(c, xe, pe, De))
|
|
29483
29483
|
}), g = {
|
|
29484
29484
|
debugInfo: oe("real"),
|
|
29485
|
-
triggerEvent: (xe, pe,
|
|
29486
|
-
Lb(xe, pe, (dt) => RM(c, xe,
|
|
29485
|
+
triggerEvent: (xe, pe, De) => {
|
|
29486
|
+
Lb(xe, pe, (dt) => RM(c, xe, De, pe, dt));
|
|
29487
29487
|
},
|
|
29488
29488
|
triggerFocus: (xe, pe) => {
|
|
29489
29489
|
R1(xe).fold(() => {
|
|
29490
29490
|
Rc(xe);
|
|
29491
|
-
}, (
|
|
29491
|
+
}, (De) => {
|
|
29492
29492
|
Lb(sd(), xe, (dt) => (CF(c, sd(), {
|
|
29493
29493
|
originator: pe,
|
|
29494
29494
|
kill: fe,
|
|
@@ -29538,8 +29538,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
29538
29538
|
d.unbind(), Ec(t.element);
|
|
29539
29539
|
}, B = (xe) => {
|
|
29540
29540
|
const pe = a.filter(qg());
|
|
29541
|
-
bt(pe, (
|
|
29542
|
-
const dt =
|
|
29541
|
+
bt(pe, (De) => {
|
|
29542
|
+
const dt = De.descHandler;
|
|
29543
29543
|
Qh(dt)(xe);
|
|
29544
29544
|
});
|
|
29545
29545
|
}, H = (xe) => {
|
|
@@ -29554,8 +29554,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
29554
29554
|
data: pe
|
|
29555
29555
|
});
|
|
29556
29556
|
}, J = (xe, pe) => {
|
|
29557
|
-
const
|
|
29558
|
-
return SF(
|
|
29557
|
+
const De = a.filter(xe);
|
|
29558
|
+
return SF(De, pe);
|
|
29559
29559
|
}, ce = (xe) => a.getById(xe).fold(() => Ln.error(new Error('Could not find component with uid: "' + xe + '" in system.')), Ln.value), $e = (xe) => {
|
|
29560
29560
|
const pe = R1(xe).getOr("not found");
|
|
29561
29561
|
return ce(pe);
|
|
@@ -29713,11 +29713,11 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
29713
29713
|
});
|
|
29714
29714
|
}, x = (W, J) => {
|
|
29715
29715
|
const ce = et(J, (pe) => {
|
|
29716
|
-
const
|
|
29716
|
+
const De = Fu.translate(pe.text), dt = t.columns === 1 ? `<div class="tox-collection__item-label">${De}</div>` : "", Xe = `<div class="tox-collection__item-icon">${g(pe.icon)}</div>`, je = {
|
|
29717
29717
|
_: " ",
|
|
29718
29718
|
" - ": " ",
|
|
29719
29719
|
"-": " "
|
|
29720
|
-
}, yt =
|
|
29720
|
+
}, yt = De.replace(/\_| \- |\-/g, (Vn) => je[Vn]);
|
|
29721
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}${dt}</div>`;
|
|
29722
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>`);
|
|
29723
29723
|
Kg(W.element, xe.join(""));
|
|
@@ -30427,7 +30427,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
30427
30427
|
t.mouseIsDown.set(!1), yt && je();
|
|
30428
30428
|
}, pe = (Xe, je) => {
|
|
30429
30429
|
je.stop(), t.mouseIsDown.set(!0), t.onDragStart(Xe, d(Xe));
|
|
30430
|
-
},
|
|
30430
|
+
}, De = (Xe, je) => {
|
|
30431
30431
|
je.stop(), t.onDragEnd(Xe, d(Xe)), xe(Xe);
|
|
30432
30432
|
}, dt = (Xe) => {
|
|
30433
30433
|
Cs(Xe, t, "spectrum").map(cn.focusIn);
|
|
@@ -30463,11 +30463,11 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
30463
30463
|
t.onInit(Xe, Et, Vn, R.value.get());
|
|
30464
30464
|
}),
|
|
30465
30465
|
Je(Jc(), pe),
|
|
30466
|
-
Je(Mm(),
|
|
30466
|
+
Je(Mm(), De),
|
|
30467
30467
|
Je(no(), (Xe, je) => {
|
|
30468
30468
|
dt(Xe), pe(Xe, je);
|
|
30469
30469
|
}),
|
|
30470
|
-
Je(S1(),
|
|
30470
|
+
Je(S1(), De)
|
|
30471
30471
|
]),
|
|
30472
30472
|
apis: {
|
|
30473
30473
|
resetToMin: ce,
|
|
@@ -30608,7 +30608,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
30608
30608
|
attributes: { "aria-label": ce }
|
|
30609
30609
|
},
|
|
30610
30610
|
components: [Sr(J)]
|
|
30611
|
-
}),
|
|
30611
|
+
}), De = Jo.parts.field({
|
|
30612
30612
|
data: $e,
|
|
30613
30613
|
factory: M0,
|
|
30614
30614
|
inputAttributes: {
|
|
@@ -30625,7 +30625,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
30625
30625
|
}
|
|
30626
30626
|
}), dt = [
|
|
30627
30627
|
pe,
|
|
30628
|
-
|
|
30628
|
+
De
|
|
30629
30629
|
], Xe = W !== "hex" ? [Jo.parts["aria-descriptor"]({ text: xe })] : [], je = dt.concat(Xe);
|
|
30630
30630
|
return {
|
|
30631
30631
|
dom: {
|
|
@@ -30676,7 +30676,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
30676
30676
|
}, pe = (Cn, Ko) => {
|
|
30677
30677
|
const hn = Ko.event;
|
|
30678
30678
|
hn.type !== "hex" ? ce(hn.type, A.none()) : c(Cn);
|
|
30679
|
-
},
|
|
30679
|
+
}, De = (Cn, Ko) => {
|
|
30680
30680
|
a(Cn);
|
|
30681
30681
|
const hn = P$(Ko);
|
|
30682
30682
|
ce("hex", A.some(hn.value));
|
|
@@ -30690,7 +30690,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
30690
30690
|
});
|
|
30691
30691
|
}, Xe = (Cn) => Cn.type === "hex", je = (Cn, Ko) => {
|
|
30692
30692
|
const hn = Ko.event;
|
|
30693
|
-
Xe(hn) ?
|
|
30693
|
+
Xe(hn) ? De(Cn, hn.value) : dt(Cn, hn.type, hn.value);
|
|
30694
30694
|
}, yt = (Cn) => ({
|
|
30695
30695
|
label: t(oy + Cn + ".label"),
|
|
30696
30696
|
description: t(oy + Cn + ".description")
|
|
@@ -30854,7 +30854,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
30854
30854
|
xe(yt, Et), bt(Vn, (zt) => {
|
|
30855
30855
|
zt(je, yt, Et);
|
|
30856
30856
|
});
|
|
30857
|
-
},
|
|
30857
|
+
}, De = () => {
|
|
30858
30858
|
const je = [J];
|
|
30859
30859
|
return (yt, Et) => {
|
|
30860
30860
|
const Vn = Et.event.value, zt = E.paletteHue.get(), En = zx(zt, Vn.x, 100 - Vn.y), Cn = J$(En);
|
|
@@ -30891,7 +30891,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
30891
30891
|
behaviours: wt([
|
|
30892
30892
|
Hn("colour-picker-events", [
|
|
30893
30893
|
Je(tw, Xe()),
|
|
30894
|
-
Je(nw,
|
|
30894
|
+
Je(nw, De()),
|
|
30895
30895
|
Je(BA, dt())
|
|
30896
30896
|
]),
|
|
30897
30897
|
io.config({ find: (je) => H.getOpt(je) }),
|
|
@@ -32733,8 +32733,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
32733
32733
|
x(W).each((pe) => {
|
|
32734
32734
|
ce.fold(() => {
|
|
32735
32735
|
t.model.selectsOver && Po.highlightFirst(pe);
|
|
32736
|
-
}, (
|
|
32737
|
-
Po.highlightBy(pe, (dt) => Lt.getValue(dt).value ===
|
|
32736
|
+
}, (De) => {
|
|
32737
|
+
Po.highlightBy(pe, (dt) => Lt.getValue(dt).value === De.value), Po.getHighlighted(pe).orThunk(() => (Po.highlightFirst(pe), A.none()));
|
|
32738
32738
|
});
|
|
32739
32739
|
});
|
|
32740
32740
|
};
|
|
@@ -32986,9 +32986,9 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
32986
32986
|
ln(pe, ug, {
|
|
32987
32987
|
name: t.name,
|
|
32988
32988
|
value: {
|
|
32989
|
-
setIcon: (
|
|
32989
|
+
setIcon: (De) => {
|
|
32990
32990
|
d.map((dt) => dt.getOpt(pe).each((Xe) => {
|
|
32991
|
-
Bn.set(Xe, [s1(
|
|
32991
|
+
Bn.set(Xe, [s1(De, s.icons)]);
|
|
32992
32992
|
}));
|
|
32993
32993
|
}
|
|
32994
32994
|
}
|
|
@@ -33082,8 +33082,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
33082
33082
|
});
|
|
33083
33083
|
}, hD = Ut("aria-invalid"), vN = (t, s, a, c) => {
|
|
33084
33084
|
const d = s.shared.providers, g = (pe) => {
|
|
33085
|
-
const
|
|
33086
|
-
a.addToHistory(
|
|
33085
|
+
const De = Lt.getValue(pe);
|
|
33086
|
+
a.addToHistory(De.value, t.filetype);
|
|
33087
33087
|
}, p = {
|
|
33088
33088
|
...c.map((pe) => ({ initialData: pe })).getOr({}),
|
|
33089
33089
|
dismissOnBlur: !0,
|
|
@@ -33096,30 +33096,30 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
33096
33096
|
minChars: 0,
|
|
33097
33097
|
responseTime: 0,
|
|
33098
33098
|
fetch: (pe) => {
|
|
33099
|
-
const
|
|
33099
|
+
const De = QH(t.filetype, pe, a), dt = ly(De, af.BUBBLE_TO_SANDBOX, s, {
|
|
33100
33100
|
isHorizontalMenu: !1,
|
|
33101
33101
|
search: A.none()
|
|
33102
33102
|
});
|
|
33103
33103
|
return ec.pure(dt);
|
|
33104
33104
|
},
|
|
33105
33105
|
getHotspot: (pe) => J.getOpt(pe),
|
|
33106
|
-
onSetValue: (pe,
|
|
33106
|
+
onSetValue: (pe, De) => {
|
|
33107
33107
|
pe.hasConfigured(zu) && zu.run(pe).get(fe);
|
|
33108
33108
|
},
|
|
33109
33109
|
typeaheadBehaviours: wt([
|
|
33110
33110
|
...a.getValidationHandler().map((pe) => zu.config({
|
|
33111
|
-
getRoot: (
|
|
33111
|
+
getRoot: (De) => Vl(De.element),
|
|
33112
33112
|
invalidClass: "tox-control-wrap--status-invalid",
|
|
33113
33113
|
notify: {
|
|
33114
|
-
onInvalid: (
|
|
33115
|
-
R.getOpt(
|
|
33114
|
+
onInvalid: (De, dt) => {
|
|
33115
|
+
R.getOpt(De).each((Xe) => {
|
|
33116
33116
|
Nt(Xe.element, "title", d.translate(dt));
|
|
33117
33117
|
});
|
|
33118
33118
|
}
|
|
33119
33119
|
},
|
|
33120
33120
|
validator: {
|
|
33121
|
-
validate: (
|
|
33122
|
-
const dt = Lt.getValue(
|
|
33121
|
+
validate: (De) => {
|
|
33122
|
+
const dt = Lt.getValue(De);
|
|
33123
33123
|
return LH.nu((Xe) => {
|
|
33124
33124
|
pe({
|
|
33125
33125
|
type: t.filetype,
|
|
@@ -33142,8 +33142,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
33142
33142
|
Ys.config({}),
|
|
33143
33143
|
Hn("urlinput-events", [
|
|
33144
33144
|
Je(Zg(), (pe) => {
|
|
33145
|
-
const
|
|
33146
|
-
dt !==
|
|
33145
|
+
const De = Wd(pe.element), dt = De.trim();
|
|
33146
|
+
dt !== De && rp(pe.element, dt), t.filetype === "file" && ln(pe, Ni, { name: t.name });
|
|
33147
33147
|
}),
|
|
33148
33148
|
Je(Zh(), (pe) => {
|
|
33149
33149
|
ln(pe, Ni, { name: t.name }), g(pe);
|
|
@@ -33168,16 +33168,16 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
33168
33168
|
markers: { openClass: "tox-textfield--popup-open" },
|
|
33169
33169
|
lazySink: s.shared.getSink,
|
|
33170
33170
|
parts: { menu: Fv(!1, 1, "normal") },
|
|
33171
|
-
onExecute: (pe,
|
|
33172
|
-
ln(
|
|
33171
|
+
onExecute: (pe, De, dt) => {
|
|
33172
|
+
ln(De, Kx, {});
|
|
33173
33173
|
},
|
|
33174
|
-
onItemExecute: (pe,
|
|
33174
|
+
onItemExecute: (pe, De, dt, Xe) => {
|
|
33175
33175
|
g(pe), ln(pe, Ni, { name: t.name });
|
|
33176
33176
|
}
|
|
33177
33177
|
}, x = Jo.parts.field({
|
|
33178
33178
|
...p,
|
|
33179
33179
|
factory: iN
|
|
33180
|
-
}), C = t.label.map((pe) => wd(pe, d)), R = Xo(((pe,
|
|
33180
|
+
}), C = t.label.map((pe) => wd(pe, d)), R = Xo(((pe, De, dt = pe, Xe = pe) => om(dt, {
|
|
33181
33181
|
tag: "div",
|
|
33182
33182
|
classes: [
|
|
33183
33183
|
"tox-icon",
|
|
@@ -33186,7 +33186,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
33186
33186
|
attributes: {
|
|
33187
33187
|
title: d.translate(Xe),
|
|
33188
33188
|
"aria-live": "polite",
|
|
33189
|
-
...
|
|
33189
|
+
...De.fold(() => ({}), (je) => ({ id: je }))
|
|
33190
33190
|
}
|
|
33191
33191
|
}, d.icons))("invalid", A.some(hD), "warning")), B = Xo({
|
|
33192
33192
|
dom: {
|
|
@@ -33222,14 +33222,14 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
33222
33222
|
H.map(() => ce.asSpec()).toArray()
|
|
33223
33223
|
])
|
|
33224
33224
|
}), xe = (pe) => {
|
|
33225
|
-
io.getCurrent(pe).each((
|
|
33226
|
-
const dt = Lt.getValue(
|
|
33225
|
+
io.getCurrent(pe).each((De) => {
|
|
33226
|
+
const dt = Lt.getValue(De), Xe = {
|
|
33227
33227
|
fieldname: t.name,
|
|
33228
33228
|
...dt
|
|
33229
33229
|
};
|
|
33230
33230
|
H.each((je) => {
|
|
33231
33231
|
je(Xe).get((yt) => {
|
|
33232
|
-
Lt.setValue(
|
|
33232
|
+
Lt.setValue(De, yt), ln(pe, Ni, { name: t.name });
|
|
33233
33233
|
});
|
|
33234
33234
|
});
|
|
33235
33235
|
});
|
|
@@ -33954,15 +33954,15 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
33954
33954
|
dr(Vn, (zt) => Lo(zt, je.target)) && (t.dispatch("ElementScroll", { target: je.target.dom }), c(vb(), je));
|
|
33955
33955
|
}
|
|
33956
33956
|
});
|
|
33957
|
-
}),
|
|
33957
|
+
}), De = () => d(ih(), {}), dt = (je) => {
|
|
33958
33958
|
je.state && d(fd(), { target: Te.fromDom(t.getContainer()) });
|
|
33959
33959
|
}, Xe = (je) => {
|
|
33960
33960
|
d(fd(), { target: Te.fromDom(je.relatedTarget.getContainer()) });
|
|
33961
33961
|
};
|
|
33962
33962
|
t.on("PostRender", () => {
|
|
33963
|
-
t.on("click", H), t.on("tap", H), t.on("mouseup", W), t.on("mousedown", J), t.on("ScrollWindow", ce), t.on("ResizeWindow", $e), t.on("ResizeEditor",
|
|
33963
|
+
t.on("click", H), t.on("tap", H), t.on("mouseup", W), t.on("mousedown", J), t.on("ScrollWindow", ce), t.on("ResizeWindow", $e), t.on("ResizeEditor", De), t.on("AfterProgressState", dt), t.on("DismissPopups", Xe);
|
|
33964
33964
|
}), t.on("remove", () => {
|
|
33965
|
-
t.off("click", H), t.off("tap", H), t.off("mouseup", W), t.off("mousedown", J), t.off("ScrollWindow", ce), t.off("ResizeWindow", $e), t.off("ResizeEditor",
|
|
33965
|
+
t.off("click", H), t.off("tap", H), t.off("mouseup", W), t.off("mousedown", J), t.off("ScrollWindow", ce), t.off("ResizeWindow", $e), t.off("ResizeEditor", De), t.off("AfterProgressState", dt), t.off("DismissPopups", Xe), R.unbind(), x.unbind(), C.unbind(), E.unbind(), B.unbind(), pe.unbind();
|
|
33966
33966
|
}), t.on("detach", () => {
|
|
33967
33967
|
bt([
|
|
33968
33968
|
s,
|
|
@@ -34596,7 +34596,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
34596
34596
|
}));
|
|
34597
34597
|
return nx(fB, uz, d, mz, a);
|
|
34598
34598
|
}, mz = (t, s) => {
|
|
34599
|
-
const a = (ce) => J2(t), c = (ce, $e) => Cs(ce, t, $e), d = (ce, $e) => (xe, pe) => Cs(xe, t, pe).map((
|
|
34599
|
+
const a = (ce) => J2(t), c = (ce, $e) => Cs(ce, t, $e), d = (ce, $e) => (xe, pe) => Cs(xe, t, pe).map((De) => ce(De, pe)).getOr($e), g = (ce) => ($e, xe) => {
|
|
34600
34600
|
bt(xe, (pe) => ce($e, pe));
|
|
34601
34601
|
}, p = (ce, $e) => Ws(ce.element, "aria-hidden") !== "true", x = (ce, $e) => {
|
|
34602
34602
|
if (!p(ce)) {
|
|
@@ -35496,15 +35496,15 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
35496
35496
|
lu("onHide")
|
|
35497
35497
|
]), tO = (t) => qs("view", LB, t), Zz = (t, s) => {
|
|
35498
35498
|
var a, c;
|
|
35499
|
-
const d = t.type === "togglebutton", g = t.icon.map((
|
|
35499
|
+
const d = t.type === "togglebutton", g = t.icon.map((De) => s1(De, s.icons)).map(Xo), x = (De) => {
|
|
35500
35500
|
const dt = (yt) => {
|
|
35501
|
-
g.map((Et) => Et.getOpt(
|
|
35501
|
+
g.map((Et) => Et.getOpt(De).each((Vn) => {
|
|
35502
35502
|
Bn.set(Vn, [s1(yt, s.icons)]);
|
|
35503
35503
|
}));
|
|
35504
35504
|
}, Xe = (yt) => {
|
|
35505
|
-
const Et =
|
|
35505
|
+
const Et = De.element;
|
|
35506
35506
|
yt ? (Nr(Et, "tox-button--enabled"), Nt(Et, "aria-pressed", !0)) : (Qs(Et, "tox-button--enabled"), re(Et, "aria-pressed"));
|
|
35507
|
-
}, je = () => oa(
|
|
35507
|
+
}, je = () => oa(De.element, "tox-button--enabled");
|
|
35508
35508
|
if (d)
|
|
35509
35509
|
return t.onAction({
|
|
35510
35510
|
setIcon: dt,
|
|
@@ -35522,10 +35522,10 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
35522
35522
|
icon: t.icon,
|
|
35523
35523
|
enabled: !0,
|
|
35524
35524
|
borderless: t.borderless
|
|
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((
|
|
35526
|
-
"aria-label": s.translate(
|
|
35527
|
-
title: s.translate(
|
|
35528
|
-
})).getOr({}), W = g.map((
|
|
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((De) => ({
|
|
35526
|
+
"aria-label": s.translate(De),
|
|
35527
|
+
title: s.translate(De)
|
|
35528
|
+
})).getOr({}), W = g.map((De) => De.asSpec()), J = jv([
|
|
35529
35529
|
W,
|
|
35530
35530
|
B
|
|
35531
35531
|
]), ce = t.icon.isSome() && B.isSome(), $e = {
|
|
@@ -36356,15 +36356,15 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
36356
36356
|
pageDown: oe(34)
|
|
36357
36357
|
}, DU = (t, s, a) => {
|
|
36358
36358
|
let c = A.none();
|
|
36359
|
-
const d = (pe) => pe.map((
|
|
36360
|
-
const
|
|
36361
|
-
c = A.some(
|
|
36362
|
-
}), p = (pe) => ({ getComponent: oe(pe) }), x = dn(fe), C = Ut("custom-number-input-events"), E = (pe,
|
|
36359
|
+
const d = (pe) => pe.map((De) => Lt.getValue(De)).getOr(""), g = am(t, "NodeChange SwitchMode", (pe) => {
|
|
36360
|
+
const De = pe.getComponent();
|
|
36361
|
+
c = A.some(De), a.updateInputValue(De), yn.set(De, !t.selection.isEditable());
|
|
36362
|
+
}), p = (pe) => ({ getComponent: oe(pe) }), x = dn(fe), C = Ut("custom-number-input-events"), E = (pe, De, dt) => {
|
|
36363
36363
|
const Xe = d(c), je = a.getNewValue(Xe, pe), yt = Xe.length - `${je}`.length, Et = c.map((zt) => zt.element.dom.selectionStart - yt), Vn = c.map((zt) => zt.element.dom.selectionEnd - yt);
|
|
36364
36364
|
a.onAction(je, dt), c.each((zt) => {
|
|
36365
|
-
Lt.setValue(zt, je),
|
|
36365
|
+
Lt.setValue(zt, je), De && (Et.each((En) => zt.element.dom.selectionStart = En), Vn.each((En) => zt.element.dom.selectionEnd = En));
|
|
36366
36366
|
});
|
|
36367
|
-
}, R = (pe,
|
|
36367
|
+
}, R = (pe, De) => E((dt, Xe) => dt - Xe, pe, De), B = (pe, De) => E((dt, Xe) => dt + Xe, pe, De), H = (pe) => Vl(pe.element).fold(A.none, (De) => (Rc(De), A.some(!0))), W = (pe) => U1(pe.element) ? (hi(pe.element).each((De) => Rc(De)), A.some(!0)) : A.none(), J = (pe, De, dt, Xe) => {
|
|
36368
36368
|
const je = dn(fe), yt = s.shared.providers.translate(dt), Et = Ut("altExecuting"), Vn = am(t, "NodeChange SwitchMode", (En) => {
|
|
36369
36369
|
yn.set(En.getComponent(), !t.selection.isEditable());
|
|
36370
36370
|
}), zt = (En) => {
|
|
@@ -36377,9 +36377,9 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
36377
36377
|
title: yt,
|
|
36378
36378
|
"aria-label": yt
|
|
36379
36379
|
},
|
|
36380
|
-
classes: Xe.concat(
|
|
36380
|
+
classes: Xe.concat(De)
|
|
36381
36381
|
},
|
|
36382
|
-
components: [YA(
|
|
36382
|
+
components: [YA(De, s.shared.providers.icons)],
|
|
36383
36383
|
buttonBehaviours: wt([
|
|
36384
36384
|
yn.config({}),
|
|
36385
36385
|
Hn(Et, [
|
|
@@ -36426,8 +36426,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
36426
36426
|
lg({ getApi: p }, x)
|
|
36427
36427
|
]),
|
|
36428
36428
|
Hn("input-update-display-text", [
|
|
36429
|
-
Je(Uu, (pe,
|
|
36430
|
-
Lt.setValue(pe,
|
|
36429
|
+
Je(Uu, (pe, De) => {
|
|
36430
|
+
Lt.setValue(pe, De.event.text);
|
|
36431
36431
|
}),
|
|
36432
36432
|
Je(Pm(), (pe) => {
|
|
36433
36433
|
a.onAction(Lt.getValue(pe));
|
|
@@ -36442,8 +36442,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
36442
36442
|
onEscape: H,
|
|
36443
36443
|
onUp: (pe) => (B(!0, !1), A.some(!0)),
|
|
36444
36444
|
onDown: (pe) => (R(!0, !1), A.some(!0)),
|
|
36445
|
-
onLeft: (pe,
|
|
36446
|
-
onRight: (pe,
|
|
36445
|
+
onLeft: (pe, De) => (De.cut(), A.none()),
|
|
36446
|
+
onRight: (pe, De) => (De.cut(), A.none())
|
|
36447
36447
|
})
|
|
36448
36448
|
])
|
|
36449
36449
|
})],
|
|
@@ -36459,8 +36459,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
36459
36459
|
bt([
|
|
36460
36460
|
ce,
|
|
36461
36461
|
$e
|
|
36462
|
-
], (
|
|
36463
|
-
const dt = Te.fromDom(
|
|
36462
|
+
], (De) => {
|
|
36463
|
+
const dt = Te.fromDom(De.get(pe).element.dom);
|
|
36464
36464
|
U1(dt) && hp(dt);
|
|
36465
36465
|
});
|
|
36466
36466
|
})])
|
|
@@ -37233,7 +37233,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
37233
37233
|
default:
|
|
37234
37234
|
return "top";
|
|
37235
37235
|
}
|
|
37236
|
-
},
|
|
37236
|
+
}, De = (hn) => {
|
|
37237
37237
|
d.on((_o) => {
|
|
37238
37238
|
er.setModes(_o, [hn]), B.setDockingMode(hn);
|
|
37239
37239
|
const At = H() ? uu.TopToBottom : uu.BottomToTop;
|
|
@@ -37293,7 +37293,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
37293
37293
|
J && Ds.refreshToolbar(g.outerContainer), C || Xe(_o), E && d.on(hn), yt();
|
|
37294
37294
|
}, zt = () => C || !E || !$e() ? !1 : d.get().exists((hn) => {
|
|
37295
37295
|
const _o = B.getDockingMode(), At = pe(hn);
|
|
37296
|
-
return At !== _o ? (
|
|
37296
|
+
return At !== _o ? (De(At), !0) : !1;
|
|
37297
37297
|
});
|
|
37298
37298
|
return {
|
|
37299
37299
|
isVisible: $e,
|
|
@@ -37783,7 +37783,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
37783
37783
|
}), pe = Zs(() => F6(s, (zt) => {
|
|
37784
37784
|
const En = Xe([zt]);
|
|
37785
37785
|
ln(R, H6, { forwardContents: xe(En) });
|
|
37786
|
-
})),
|
|
37786
|
+
})), De = (zt, En) => Wk(t, {
|
|
37787
37787
|
buttons: zt,
|
|
37788
37788
|
toolbar: En.items,
|
|
37789
37789
|
allowToolbarGroups: !1
|
|
@@ -37791,7 +37791,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
37791
37791
|
const { buttons: En } = t.ui.registry.getAll(), Cn = pe(), Ko = {
|
|
37792
37792
|
...En,
|
|
37793
37793
|
...Cn.formNavigators
|
|
37794
|
-
}, hn = Pv(t) === gu.scrolling ? gu.scrolling : gu.default, _o = Ke(et(zt, (At) => At.type === "contexttoolbar" ?
|
|
37794
|
+
}, hn = Pv(t) === gu.scrolling ? gu.scrolling : gu.default, _o = Ke(et(zt, (At) => At.type === "contexttoolbar" ? De(Ko, At) : dt(At, g.providers)));
|
|
37795
37795
|
return QD({
|
|
37796
37796
|
type: hn,
|
|
37797
37797
|
uid: Ut("context-toolbar"),
|
|
@@ -39002,10 +39002,10 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
39002
39002
|
}, pe = (yt, Et, Vn, zt) => {
|
|
39003
39003
|
const En = Vn(Et);
|
|
39004
39004
|
Q0.snapTo(yt, En), xe(yt, Et, (hn) => hn[zt] < 0, (hn, _o) => hn[zt] > _o);
|
|
39005
|
-
},
|
|
39005
|
+
}, De = (yt) => pe(ce, yt, x, "top"), dt = () => g.get().each(De), Xe = (yt) => pe($e, yt, E, "bottom"), je = () => p.get().each(Xe);
|
|
39006
39006
|
yi().deviceType.isTouch() && (t.on("TableSelectionChange", (yt) => {
|
|
39007
39007
|
d.get() || (Kf(s, ce), Kf(s, $e), d.set(!0)), g.set(yt.start), p.set(yt.finish), yt.otherCells.each((Et) => {
|
|
39008
|
-
a.set(Et.upOrLeftCells), c.set(Et.downOrRightCells),
|
|
39008
|
+
a.set(Et.upOrLeftCells), c.set(Et.downOrRightCells), De(yt.start), Xe(yt.finish);
|
|
39009
39009
|
});
|
|
39010
39010
|
}), t.on("ResizeEditor ResizeWindow ScrollContent", () => {
|
|
39011
39011
|
dt(), je();
|
|
@@ -39286,8 +39286,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
39286
39286
|
tag: "div",
|
|
39287
39287
|
classes: ["tox-bottom-anchorbar"]
|
|
39288
39288
|
}
|
|
39289
|
-
}), xe = () => g.mainUi.get().map((bn) => bn.outerContainer).bind(Ds.getHeader), pe = () => Ln.fromOption(g.dialogUi.get().map((bn) => bn.sink), "UI has not been rendered"),
|
|
39290
|
-
popup:
|
|
39289
|
+
}), xe = () => g.mainUi.get().map((bn) => bn.outerContainer).bind(Ds.getHeader), pe = () => Ln.fromOption(g.dialogUi.get().map((bn) => bn.sink), "UI has not been rendered"), De = () => Ln.fromOption(g.popupUi.get().map((bn) => bn.sink), "(popup) UI has not been rendered"), dt = g.lazyGetInOuterOrDie("anchor bar", ce.getOpt), Xe = g.lazyGetInOuterOrDie("bottom anchor bar", $e.getOpt), je = g.lazyGetInOuterOrDie("toolbar", Ds.getToolbar), yt = g.lazyGetInOuterOrDie("throbber", Ds.getThrobber), Et = uy({
|
|
39290
|
+
popup: De,
|
|
39291
39291
|
dialog: pe
|
|
39292
39292
|
}, t, dt, Xe), Vn = () => {
|
|
39293
39293
|
const bn = { attributes: { [yp]: W ? uu.BottomToTop : uu.TopToBottom } }, In = Ds.parts.menubar({
|
|
@@ -40894,8 +40894,8 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
40894
40894
|
},
|
|
40895
40895
|
setData: (J) => {
|
|
40896
40896
|
c((ce) => {
|
|
40897
|
-
const $e = W.getData(), xe = Uo($e, J), pe = pm(t, xe),
|
|
40898
|
-
Lt.setValue(
|
|
40897
|
+
const $e = W.getData(), xe = Uo($e, J), pe = pm(t, xe), De = t.getFormWrapper();
|
|
40898
|
+
Lt.setValue(De, pe), us(a, (dt, Xe) => {
|
|
40899
40899
|
mo(xe, Xe) && dt.set(xe[Xe]);
|
|
40900
40900
|
});
|
|
40901
40901
|
});
|
|
@@ -40944,7 +40944,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
40944
40944
|
};
|
|
40945
40945
|
return W;
|
|
40946
40946
|
}, yj = (t, s, a) => {
|
|
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,
|
|
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, De) => (p.set(De.internalDialog.size), p1(De.internalDialog.size, pe), A.some(De)), E = Hw({
|
|
40948
40948
|
body: d.body,
|
|
40949
40949
|
initialData: d.initialData
|
|
40950
40950
|
}, c, a), R = bT(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), J = {
|
|
@@ -40963,7 +40963,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
40963
40963
|
const pe = () => {
|
|
40964
40964
|
const dt = Gr.getBody(ce);
|
|
40965
40965
|
return io.getCurrent(dt).getOr(dt);
|
|
40966
|
-
},
|
|
40966
|
+
}, De = () => {
|
|
40967
40967
|
kd(ce, p.get());
|
|
40968
40968
|
};
|
|
40969
40969
|
return {
|
|
@@ -40972,7 +40972,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
40972
40972
|
getBody: () => Gr.getBody(ce),
|
|
40973
40973
|
getFooter: () => Gr.getFooter(ce),
|
|
40974
40974
|
getFormWrapper: pe,
|
|
40975
|
-
toggleFullscreen:
|
|
40975
|
+
toggleFullscreen: De
|
|
40976
40976
|
};
|
|
40977
40977
|
})(), xe = vT($e, s.redial, B);
|
|
40978
40978
|
return {
|
|
@@ -40988,16 +40988,16 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
40988
40988
|
initialData: C.initialData
|
|
40989
40989
|
}, g, x, a, c)), J = bT(C.buttons), ce = KO(J), $e = gn(J.length !== 0, Xo(Fc({ buttons: J }, g, a))), xe = to(() => Xe, {
|
|
40990
40990
|
onBlock: (je) => {
|
|
40991
|
-
mm.block(
|
|
40992
|
-
const Vn = H.getOpt(
|
|
40991
|
+
mm.block(De, (yt, Et) => {
|
|
40992
|
+
const Vn = H.getOpt(De).map((zt) => Vs(zt.element));
|
|
40993
40993
|
return ht(je.message, Et, a.shared.providers, Vn);
|
|
40994
40994
|
});
|
|
40995
40995
|
},
|
|
40996
40996
|
onUnblock: () => {
|
|
40997
|
-
mm.unblock(
|
|
40997
|
+
mm.unblock(De);
|
|
40998
40998
|
},
|
|
40999
40999
|
onClose: () => s.closeWindow()
|
|
41000
|
-
}, a.shared.getSink),
|
|
41000
|
+
}, a.shared.getSink), De = kl({
|
|
41001
41001
|
dom: {
|
|
41002
41002
|
tag: "div",
|
|
41003
41003
|
classes: [
|
|
@@ -41042,7 +41042,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
41042
41042
|
je.getSystem().broadcastOn([ay], { newFocus: yt.event.newFocus });
|
|
41043
41043
|
})
|
|
41044
41044
|
])),
|
|
41045
|
-
mm.config({ getRoot: () => A.some(
|
|
41045
|
+
mm.config({ getRoot: () => A.some(De) }),
|
|
41046
41046
|
Bn.config({}),
|
|
41047
41047
|
J_({})
|
|
41048
41048
|
]),
|
|
@@ -41052,20 +41052,20 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
41052
41052
|
...$e.map((je) => je.asSpec()).toArray()
|
|
41053
41053
|
]
|
|
41054
41054
|
}), dt = () => {
|
|
41055
|
-
kd(
|
|
41055
|
+
kd(De, E.get());
|
|
41056
41056
|
}, Xe = vT({
|
|
41057
41057
|
getId: oe(g),
|
|
41058
|
-
getRoot: oe(
|
|
41059
|
-
getFooter: () => $e.map((je) => je.get(
|
|
41060
|
-
getBody: () => W.get(
|
|
41058
|
+
getRoot: oe(De),
|
|
41059
|
+
getFooter: () => $e.map((je) => je.get(De)),
|
|
41060
|
+
getBody: () => W.get(De),
|
|
41061
41061
|
getFormWrapper: () => {
|
|
41062
|
-
const je = W.get(
|
|
41062
|
+
const je = W.get(De);
|
|
41063
41063
|
return io.getCurrent(je).getOr(je);
|
|
41064
41064
|
},
|
|
41065
41065
|
toggleFullscreen: dt
|
|
41066
41066
|
}, s.redial, ce);
|
|
41067
41067
|
return {
|
|
41068
|
-
dialog:
|
|
41068
|
+
dialog: De,
|
|
41069
41069
|
instanceApi: Xe
|
|
41070
41070
|
};
|
|
41071
41071
|
};
|
|
@@ -41128,16 +41128,16 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
41128
41128
|
break;
|
|
41129
41129
|
}
|
|
41130
41130
|
}, uq = (t, s, a, c) => {
|
|
41131
|
-
const d = Ut("dialog"), g = _t(t.title, d, c), p = Cy(t), x = t.buttons.bind((
|
|
41132
|
-
...t.height.fold(() => ({}), (
|
|
41133
|
-
height:
|
|
41134
|
-
"max-height":
|
|
41131
|
+
const d = Ut("dialog"), g = _t(t.title, d, c), p = Cy(t), x = t.buttons.bind((De) => De.length === 0 ? A.none() : A.some(Td({ buttons: De }, d, c))), C = vj(() => pe, sn(() => xe, c.shared.providers, s)), E = {
|
|
41132
|
+
...t.height.fold(() => ({}), (De) => ({
|
|
41133
|
+
height: De + "px",
|
|
41134
|
+
"max-height": De + "px"
|
|
41135
41135
|
})),
|
|
41136
|
-
...t.width.fold(() => ({}), (
|
|
41137
|
-
width:
|
|
41138
|
-
"max-width":
|
|
41136
|
+
...t.width.fold(() => ({}), (De) => ({
|
|
41137
|
+
width: De + "px",
|
|
41138
|
+
"max-width": De + "px"
|
|
41139
41139
|
}))
|
|
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(), J = (
|
|
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(), J = (De, dt) => A.some(dt), ce = [
|
|
41141
41141
|
Zn.config({
|
|
41142
41142
|
channel: `${ry}-${d}`,
|
|
41143
41143
|
updateState: J,
|
|
@@ -41145,21 +41145,21 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
41145
41145
|
}),
|
|
41146
41146
|
Hn("messages", [
|
|
41147
41147
|
ws(() => {
|
|
41148
|
-
const
|
|
41148
|
+
const De = Xl(Te.fromDom(window), "message", (dt) => {
|
|
41149
41149
|
if (B.isSameOrigin(new I8(dt.raw.origin))) {
|
|
41150
41150
|
const Xe = dt.raw.data;
|
|
41151
41151
|
RG(Xe) ? iq(a, pe, Xe) : cq(Xe) && t.onMessage(pe, Xe);
|
|
41152
41152
|
}
|
|
41153
41153
|
});
|
|
41154
|
-
W.set(
|
|
41154
|
+
W.set(De);
|
|
41155
41155
|
}),
|
|
41156
41156
|
Vd(W.clear)
|
|
41157
41157
|
]),
|
|
41158
41158
|
Oc.config({
|
|
41159
41159
|
channels: {
|
|
41160
41160
|
[ZA]: {
|
|
41161
|
-
onReceive: (
|
|
41162
|
-
Br(
|
|
41161
|
+
onReceive: (De, dt) => {
|
|
41162
|
+
Br(De.element, "iframe").each((Xe) => {
|
|
41163
41163
|
const je = Xe.dom.contentWindow;
|
|
41164
41164
|
No(je) && je.postMessage(dt, H);
|
|
41165
41165
|
});
|
|
@@ -41292,9 +41292,9 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
41292
41292
|
};
|
|
41293
41293
|
return Wn.openUrl($e, J);
|
|
41294
41294
|
}, C = (J, ce) => {
|
|
41295
|
-
const $e = (xe, pe,
|
|
41295
|
+
const $e = (xe, pe, De) => {
|
|
41296
41296
|
const dt = pe, je = yj({
|
|
41297
|
-
dataValidator:
|
|
41297
|
+
dataValidator: De,
|
|
41298
41298
|
initialData: dt,
|
|
41299
41299
|
internalDialog: xe
|
|
41300
41300
|
}, {
|
|
@@ -41307,11 +41307,11 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
41307
41307
|
};
|
|
41308
41308
|
return Wn.open($e, J);
|
|
41309
41309
|
}, E = (J, ce, $e, xe) => {
|
|
41310
|
-
const pe = (
|
|
41310
|
+
const pe = (De, dt, Xe) => {
|
|
41311
41311
|
const je = $G(dt, Xe), yt = eo(), Et = t.backstages.popup.shared.header.isPositionedAtTop(), Vn = {
|
|
41312
41312
|
dataValidator: Xe,
|
|
41313
41313
|
initialData: je,
|
|
41314
|
-
internalDialog:
|
|
41314
|
+
internalDialog: De
|
|
41315
41315
|
}, zt = () => yt.on((hn) => {
|
|
41316
41316
|
lr.reposition(hn), (!a || !Et) && er.refresh(hn);
|
|
41317
41317
|
}), En = XO(Vn, {
|
|
@@ -41344,11 +41344,11 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
41344
41344
|
};
|
|
41345
41345
|
return Wn.open(pe, J);
|
|
41346
41346
|
}, R = (J, ce, $e, xe) => {
|
|
41347
|
-
const pe = (
|
|
41347
|
+
const pe = (De, dt, Xe) => {
|
|
41348
41348
|
const je = $G(dt, Xe), yt = eo(), Et = t.backstages.popup.shared.header.isPositionedAtTop(), Vn = {
|
|
41349
41349
|
dataValidator: Xe,
|
|
41350
41350
|
initialData: je,
|
|
41351
|
-
internalDialog:
|
|
41351
|
+
internalDialog: De
|
|
41352
41352
|
}, zt = () => yt.on((hn) => {
|
|
41353
41353
|
lr.reposition(hn), er.refresh(hn);
|
|
41354
41354
|
}), En = XO(Vn, {
|
|
@@ -41457,7 +41457,7 @@ The conflicting element is` + (ao(B.element) ? " " : " not ") + "already in the
|
|
|
41457
41457
|
}, se = (i) => {
|
|
41458
41458
|
const m = typeof i;
|
|
41459
41459
|
return i === null ? "null" : m === "object" && Array.isArray(i) ? "array" : m === "object" && me(i, String, (h, v) => v.isPrototypeOf(h)) ? "string" : m;
|
|
41460
|
-
},
|
|
41460
|
+
}, Ae = (i) => (m) => se(m) === i, he = (i) => (m) => typeof m === i, G = (i) => (m) => i === m, Oe = Ae("string"), K = Ae("object"), Ne = Ae("array"), lt = G(null), Wt = he("boolean"), xn = G(void 0), zn = (i) => i == null, Zo = (i) => !zn(i), ir = he("function"), No = he("number"), Pt = () => {
|
|
41461
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;
|
|
41462
41462
|
function Xn(i, ...m) {
|
|
41463
41463
|
return (...h) => {
|
|
@@ -45700,7 +45700,7 @@ Required: ` + m.join(", "));
|
|
|
45700
45700
|
}, se = (S) => {
|
|
45701
45701
|
const $ = typeof S;
|
|
45702
45702
|
return S === null ? "null" : $ === "object" && Array.isArray(S) ? "array" : $ === "object" && me(S, String, (U, ae) => ae.isPrototypeOf(U)) ? "string" : $;
|
|
45703
|
-
},
|
|
45703
|
+
}, Ae = (S) => ($) => se($) === S, he = (S) => ($) => typeof $ === S, G = Ae("string"), Oe = Ae("object"), K = Ae("array"), Ne = he("boolean"), lt = (S) => S == null, Wt = (S) => !lt(S), xn = he("function"), zn = he("number"), Zo = () => {
|
|
45704
45704
|
}, ir = (S, $) => (U) => S($(U)), No = (S) => () => S, Pt = (S, $) => S === $;
|
|
45705
45705
|
function ur(S, ...$) {
|
|
45706
45706
|
return (...U) => {
|
|
@@ -46848,7 +46848,7 @@ Required: ` + m.join(", "));
|
|
|
46848
46848
|
}, se = (j) => {
|
|
46849
46849
|
const de = typeof j;
|
|
46850
46850
|
return j === null ? "null" : de === "object" && Array.isArray(j) ? "array" : de === "object" && me(j, String, (ke, Be) => Be.isPrototypeOf(ke)) ? "string" : de;
|
|
46851
|
-
},
|
|
46851
|
+
}, Ae = (j) => (de) => se(de) === j, he = (j) => (de) => typeof de === j, G = (j) => (de) => j === de, Oe = Ae("string"), K = Ae("object"), Ne = Ae("array"), lt = G(null), Wt = he("boolean"), xn = (j) => j == null, zn = (j) => !xn(j), Zo = he("function"), ir = (j, de) => {
|
|
46852
46852
|
if (Ne(j)) {
|
|
46853
46853
|
for (let ke = 0, Be = j.length; ke < Be; ++ke)
|
|
46854
46854
|
if (!de(j[ke]))
|
|
@@ -47602,10 +47602,10 @@ Required: ` + m.join(", "));
|
|
|
47602
47602
|
const me = Object.getPrototypeOf, se = (I, X, re) => {
|
|
47603
47603
|
var Le;
|
|
47604
47604
|
return re(I, X.prototype) ? !0 : ((Le = I.constructor) === null || Le === void 0 ? void 0 : Le.name) === X.name;
|
|
47605
|
-
},
|
|
47605
|
+
}, Ae = (I) => {
|
|
47606
47606
|
const X = typeof I;
|
|
47607
47607
|
return I === null ? "null" : X === "object" && Array.isArray(I) ? "array" : X === "object" && se(I, String, (re, Le) => Le.isPrototypeOf(re)) ? "string" : X;
|
|
47608
|
-
}, he = (I) => (X) =>
|
|
47608
|
+
}, he = (I) => (X) => Ae(X) === I, G = (I) => (X) => typeof X === I, Oe = (I) => (X) => I === X, K = (I, X) => lt(I) && se(I, X, (re, Le) => me(re) === Le), Ne = he("string"), lt = he("object"), Wt = (I) => K(I, Object), xn = he("array"), zn = Oe(null), Zo = G("boolean"), ir = (I) => I == null, No = (I) => !ir(I), Pt = G("function"), ur = G("number"), mn = (I, X) => {
|
|
47609
47609
|
if (xn(I)) {
|
|
47610
47610
|
for (let re = 0, Le = I.length; re < Le; ++re)
|
|
47611
47611
|
if (!X(I[re]))
|
|
@@ -48474,7 +48474,7 @@ Required: ` + m.join(", "));
|
|
|
48474
48474
|
}, se = (w) => {
|
|
48475
48475
|
const T = typeof w;
|
|
48476
48476
|
return w === null ? "null" : T === "object" && Array.isArray(w) ? "array" : T === "object" && me(w, String, (V, Y) => Y.isPrototypeOf(V)) ? "string" : T;
|
|
48477
|
-
},
|
|
48477
|
+
}, Ae = (w) => (T) => se(T) === w, he = (w) => (T) => typeof T === w, G = (w) => (T) => w === T, Oe = Ae("string"), K = Ae("array"), Ne = he("boolean"), lt = G(void 0), Wt = (w) => w == null, xn = (w) => !Wt(w), zn = he("function"), Zo = he("number"), ir = () => {
|
|
48478
48478
|
}, No = (w, T) => (V) => w(T(V)), Pt = (w) => () => w, ur = (w) => w, mn = (w, T) => w === T;
|
|
48479
48479
|
function fe(w, ...T) {
|
|
48480
48480
|
return (...V) => {
|
|
@@ -50637,7 +50637,7 @@ Required: ` + T.join(", "));
|
|
|
50637
50637
|
K.focus(), K.undoManager.transact(() => {
|
|
50638
50638
|
K.setContent(Ne);
|
|
50639
50639
|
}), K.selection.setCursorLocation(), K.nodeChanged();
|
|
50640
|
-
}, se = (K) => K.getContent({ source_view: !0 }),
|
|
50640
|
+
}, se = (K) => K.getContent({ source_view: !0 }), Ae = (K) => {
|
|
50641
50641
|
const Ne = se(K);
|
|
50642
50642
|
K.windowManager.open({
|
|
50643
50643
|
title: "Source Code",
|
|
@@ -50669,7 +50669,7 @@ Required: ` + T.join(", "));
|
|
|
50669
50669
|
});
|
|
50670
50670
|
}, he = (K) => {
|
|
50671
50671
|
K.addCommand("mceCodeEditor", () => {
|
|
50672
|
-
|
|
50672
|
+
Ae(K);
|
|
50673
50673
|
});
|
|
50674
50674
|
}, G = (K) => {
|
|
50675
50675
|
const Ne = () => K.execCommand("mceCodeEditor");
|
|
@@ -50690,7 +50690,7 @@ Required: ` + T.join(", "));
|
|
|
50690
50690
|
})();
|
|
50691
50691
|
(function() {
|
|
50692
50692
|
var O = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
|
50693
|
-
const se = ((qe) => (Dt) => qe === Dt)(null),
|
|
50693
|
+
const se = ((qe) => (Dt) => qe === Dt)(null), Ae = (qe) => qe, he = (qe, Dt) => {
|
|
50694
50694
|
const Ke = qe.length, _e = new Array(Ke);
|
|
50695
50695
|
for (let vn = 0; vn < Ke; vn++) {
|
|
50696
50696
|
const Go = qe[vn];
|
|
@@ -50827,7 +50827,7 @@ Required: ` + T.join(", "));
|
|
|
50827
50827
|
}, A = (qe) => qe.replace(/\u200B/g, ""), Xt = (qe) => qe.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g, "_").length, nt = (qe, Dt) => {
|
|
50828
50828
|
const Ke = A(Ge(qe, Dt).join(`
|
|
50829
50829
|
`));
|
|
50830
|
-
return ie(Ke.split(""),
|
|
50830
|
+
return ie(Ke.split(""), Ae).length;
|
|
50831
50831
|
}, Bo = (qe, Dt) => {
|
|
50832
50832
|
const Ke = Ge(qe, Dt).join("");
|
|
50833
50833
|
return Xt(Ke);
|
|
@@ -50952,11 +50952,11 @@ const IQ = { class: "font-bold ptext-lg dark:text-white" }, LQ = ["id"], FQ = /*
|
|
|
50952
50952
|
},
|
|
50953
50953
|
emits: ["update:modelValue", "keydown"],
|
|
50954
50954
|
setup(O, { expose: me, emit: se }) {
|
|
50955
|
-
const
|
|
50955
|
+
const Ae = O, he = se, G = Wo(null);
|
|
50956
50956
|
let Oe = null;
|
|
50957
50957
|
Oh(async () => {
|
|
50958
50958
|
await Dj(), Oe && (Oe.destroy(), Oe = null), BQ.init({
|
|
50959
|
-
selector: "#" +
|
|
50959
|
+
selector: "#" + Ae.field_name,
|
|
50960
50960
|
height: 300,
|
|
50961
50961
|
plugins: [
|
|
50962
50962
|
"link",
|
|
@@ -50973,18 +50973,18 @@ const IQ = { class: "font-bold ptext-lg dark:text-white" }, LQ = ["id"], FQ = /*
|
|
|
50973
50973
|
Oe = lt, lt.on("Change", () => {
|
|
50974
50974
|
he("update:modelValue", lt.getContent());
|
|
50975
50975
|
}), lt.on("init", () => {
|
|
50976
|
-
lt.setContent(
|
|
50976
|
+
lt.setContent(Ae.modelValue);
|
|
50977
50977
|
});
|
|
50978
50978
|
}
|
|
50979
50979
|
});
|
|
50980
50980
|
}), Mq(() => {
|
|
50981
50981
|
Oe && (Oe.destroy(), Oe = null);
|
|
50982
|
-
}), Gw(() =>
|
|
50982
|
+
}), Gw(() => Ae.modelValue, (lt) => {
|
|
50983
50983
|
Oe && Oe.getContent() !== lt && Oe.setContent(lt);
|
|
50984
50984
|
});
|
|
50985
50985
|
const Ne = vc({
|
|
50986
50986
|
get() {
|
|
50987
|
-
return
|
|
50987
|
+
return Ae.modelValue;
|
|
50988
50988
|
},
|
|
50989
50989
|
set(lt) {
|
|
50990
50990
|
he("update:modelValue", lt);
|
|
@@ -51087,8 +51087,8 @@ const IQ = { class: "font-bold ptext-lg dark:text-white" }, LQ = ["id"], FQ = /*
|
|
|
51087
51087
|
return 0;
|
|
51088
51088
|
if (this.limit === 0)
|
|
51089
51089
|
return this.lastPage;
|
|
51090
|
-
for (var O = this.currentPage, me = this.lastPage, se = this.limit,
|
|
51091
|
-
(Ne === 1 || Ne === me || Ne >=
|
|
51090
|
+
for (var O = this.currentPage, me = this.lastPage, se = this.limit, Ae = O - se, he = O + se + 1, G = [], Oe = [], K, Ne = 1; Ne <= me; Ne++)
|
|
51091
|
+
(Ne === 1 || Ne === me || Ne >= Ae && Ne < he) && G.push(Ne);
|
|
51092
51092
|
return G.forEach(function(lt) {
|
|
51093
51093
|
K && (lt - K === 2 ? Oe.push(K + 1) : lt - K !== 1 && Oe.push("...")), Oe.push(lt), K = lt;
|
|
51094
51094
|
}), Oe;
|
|
@@ -51213,7 +51213,7 @@ const IQ = { class: "font-bold ptext-lg dark:text-white" }, LQ = ["id"], FQ = /*
|
|
|
51213
51213
|
d: "m1 9 4-4-4-4"
|
|
51214
51214
|
})
|
|
51215
51215
|
], -1);
|
|
51216
|
-
function see(O, me, se,
|
|
51216
|
+
function see(O, me, se, Ae, he, G) {
|
|
51217
51217
|
const Oe = ky("RenderlessPagination");
|
|
51218
51218
|
return ve(), Ty(Oe, {
|
|
51219
51219
|
data: se.data,
|
|
@@ -51322,7 +51322,7 @@ const nq = /* @__PURE__ */ la(ZQ, [["render", see]]), ree = {
|
|
|
51322
51322
|
filteredData() {
|
|
51323
51323
|
const O = this.search.toLowerCase();
|
|
51324
51324
|
return this.sortData(this.data).filter((se) => Object.values(se).some(
|
|
51325
|
-
(
|
|
51325
|
+
(Ae) => Ae.toString().toLowerCase().includes(O)
|
|
51326
51326
|
));
|
|
51327
51327
|
}
|
|
51328
51328
|
},
|
|
@@ -51441,7 +51441,7 @@ const nq = /* @__PURE__ */ la(ZQ, [["render", see]]), ree = {
|
|
|
51441
51441
|
], -1), kee = [
|
|
51442
51442
|
_ee
|
|
51443
51443
|
], Tee = ["data-label"], Eee = { class: "overflow-auto max-h-40" }, Aee = { 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" };
|
|
51444
|
-
function Dee(O, me, se,
|
|
51444
|
+
function Dee(O, me, se, Ae, he, G) {
|
|
51445
51445
|
const Oe = ky("dropdown"), K = ky("TailwindPagination");
|
|
51446
51446
|
return ve(), we("div", aee, [
|
|
51447
51447
|
P("div", lee, [
|
|
@@ -51571,7 +51571,7 @@ const Gae = /* @__PURE__ */ la(ree, [["render", Dee]]), Oee = {
|
|
|
51571
51571
|
filteredData() {
|
|
51572
51572
|
const O = this.search.toLowerCase();
|
|
51573
51573
|
return this.sortData(this.itemLists).filter((se) => Object.values(se).some(
|
|
51574
|
-
(
|
|
51574
|
+
(Ae) => Ae != null && Ae.toString().toLowerCase().includes(O)
|
|
51575
51575
|
));
|
|
51576
51576
|
},
|
|
51577
51577
|
totalPages() {
|
|
@@ -51588,7 +51588,7 @@ const Gae = /* @__PURE__ */ la(ree, [["render", Dee]]), Oee = {
|
|
|
51588
51588
|
), me = O + this.maxDisplayedPages - 1;
|
|
51589
51589
|
return me > this.totalPages && (me = this.totalPages, O = Math.max(me - this.maxDisplayedPages + 1, 1)), Array.from(
|
|
51590
51590
|
{ length: me - O + 1 },
|
|
51591
|
-
(se,
|
|
51591
|
+
(se, Ae) => O + Ae
|
|
51592
51592
|
);
|
|
51593
51593
|
},
|
|
51594
51594
|
firstItemIndex() {
|
|
@@ -51756,7 +51756,7 @@ const Gae = /* @__PURE__ */ la(ree, [["render", Dee]]), Oee = {
|
|
|
51756
51756
|
bte,
|
|
51757
51757
|
vte
|
|
51758
51758
|
];
|
|
51759
|
-
function xte(O, me, se,
|
|
51759
|
+
function xte(O, me, se, Ae, he, G) {
|
|
51760
51760
|
const Oe = ky("dropdown");
|
|
51761
51761
|
return ve(), we("div", Ree, [
|
|
51762
51762
|
P("div", $ee, [
|
|
@@ -51950,7 +51950,7 @@ const qae = /* @__PURE__ */ la(Oee, [["render", xte]]), wte = {
|
|
|
51950
51950
|
filteredData() {
|
|
51951
51951
|
const O = this.search.toLowerCase();
|
|
51952
51952
|
return this.sortData(this.data).filter((se) => Object.values(se).some(
|
|
51953
|
-
(
|
|
51953
|
+
(Ae) => Ae.toString().toLowerCase().includes(O)
|
|
51954
51954
|
));
|
|
51955
51955
|
},
|
|
51956
51956
|
groupedItems() {
|
|
@@ -51960,10 +51960,10 @@ const qae = /* @__PURE__ */ la(Oee, [["render", xte]]), wte = {
|
|
|
51960
51960
|
methods: {
|
|
51961
51961
|
groupBy(O) {
|
|
51962
51962
|
return this.itemLists.data ? this.itemLists.data.reduce((me, se) => {
|
|
51963
|
-
const
|
|
51964
|
-
me[
|
|
51963
|
+
const Ae = se[O];
|
|
51964
|
+
me[Ae] || (me[Ae] = []);
|
|
51965
51965
|
const he = { ...se };
|
|
51966
|
-
return delete he[O], me[
|
|
51966
|
+
return delete he[O], me[Ae].push(he), me;
|
|
51967
51967
|
}, {}) : [];
|
|
51968
51968
|
},
|
|
51969
51969
|
editAction(O) {
|
|
@@ -52077,7 +52077,7 @@ const qae = /* @__PURE__ */ la(Oee, [["render", xte]]), wte = {
|
|
|
52077
52077
|
], -1), Vte = [
|
|
52078
52078
|
Hte
|
|
52079
52079
|
], zte = { 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" }, Ute = ["colspan"], Wte = ["data-label"], Zte = { class: "overflow-auto max-h-40" }, jte = { 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" };
|
|
52080
|
-
function Gte(O, me, se,
|
|
52080
|
+
function Gte(O, me, se, Ae, he, G) {
|
|
52081
52081
|
const Oe = ky("dropdown"), K = ky("TailwindPagination");
|
|
52082
52082
|
return ve(), we("div", Cte, [
|
|
52083
52083
|
P("div", Ste, [
|
|
@@ -52205,7 +52205,7 @@ const Kae = /* @__PURE__ */ la(wte, [["render", Gte]]), qte = {
|
|
|
52205
52205
|
filteredData() {
|
|
52206
52206
|
const O = this.search.toLowerCase();
|
|
52207
52207
|
return this.sortData(this.data).filter((se) => Object.values(se).some(
|
|
52208
|
-
(
|
|
52208
|
+
(Ae) => Ae != null && Ae.toString().toLowerCase().includes(O)
|
|
52209
52209
|
));
|
|
52210
52210
|
},
|
|
52211
52211
|
totalPages() {
|
|
@@ -52222,7 +52222,7 @@ const Kae = /* @__PURE__ */ la(wte, [["render", Gte]]), qte = {
|
|
|
52222
52222
|
), me = O + this.maxDisplayedPages - 1;
|
|
52223
52223
|
return me > this.totalPages && (me = this.totalPages, O = Math.max(me - this.maxDisplayedPages + 1, 1)), Array.from(
|
|
52224
52224
|
{ length: me - O + 1 },
|
|
52225
|
-
(se,
|
|
52225
|
+
(se, Ae) => O + Ae
|
|
52226
52226
|
);
|
|
52227
52227
|
},
|
|
52228
52228
|
firstItemIndex() {
|
|
@@ -52326,7 +52326,7 @@ const Kae = /* @__PURE__ */ la(wte, [["render", Gte]]), qte = {
|
|
|
52326
52326
|
Rne,
|
|
52327
52327
|
$ne
|
|
52328
52328
|
];
|
|
52329
|
-
function Pne(O, me, se,
|
|
52329
|
+
function Pne(O, me, se, Ae, he, G) {
|
|
52330
52330
|
const Oe = ky("dropdown");
|
|
52331
52331
|
return ve(), we("div", Kte, [
|
|
52332
52332
|
P("div", Yte, [
|
|
@@ -52488,7 +52488,7 @@ const Yae = /* @__PURE__ */ la(qte, [["render", Pne]]), Nne = {
|
|
|
52488
52488
|
}), {};
|
|
52489
52489
|
}
|
|
52490
52490
|
};
|
|
52491
|
-
function Bne(O, me, se,
|
|
52491
|
+
function Bne(O, me, se, Ae, he, G) {
|
|
52492
52492
|
return ve(), we("div", null, [
|
|
52493
52493
|
vf(O.$slots, "default")
|
|
52494
52494
|
]);
|
|
@@ -52501,7 +52501,7 @@ const Xae = /* @__PURE__ */ la(Nne, [["render", Bne]]), Ine = {
|
|
|
52501
52501
|
}
|
|
52502
52502
|
},
|
|
52503
52503
|
setup() {
|
|
52504
|
-
const O = Wo(!1), me = JG("accordionsWrapper"),
|
|
52504
|
+
const O = Wo(!1), me = JG("accordionsWrapper"), Ae = (() => {
|
|
52505
52505
|
var lt = (/* @__PURE__ */ new Date()).getTime();
|
|
52506
52506
|
typeof performance < "u" && typeof performance.now == "function" && (lt += performance.now());
|
|
52507
52507
|
var Wt = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(xn) {
|
|
@@ -52509,7 +52509,7 @@ const Xae = /* @__PURE__ */ la(Nne, [["render", Bne]]), Ine = {
|
|
|
52509
52509
|
return lt = Math.floor(lt / 16), (xn === "x" ? zn : zn & 3 | 8).toString(16);
|
|
52510
52510
|
});
|
|
52511
52511
|
return Wt;
|
|
52512
|
-
})(), he = { isOpen: O, id:
|
|
52512
|
+
})(), he = { isOpen: O, id: Ae }, G = vc(() => me.accordions.value), Oe = vc(() => G.value.length > 0 && G.value[0].id === Ae), K = vc(() => G.value.length > 0 && G.value[G.value.length - 1].id === Ae);
|
|
52513
52513
|
return Oh(() => {
|
|
52514
52514
|
me.registerAccordion(he);
|
|
52515
52515
|
}), Pq(() => {
|
|
@@ -52549,29 +52549,29 @@ const Xae = /* @__PURE__ */ la(Nne, [["render", Bne]]), Ine = {
|
|
|
52549
52549
|
}, null, -1), Wne = [
|
|
52550
52550
|
Une
|
|
52551
52551
|
];
|
|
52552
|
-
function Zne(O, me, se,
|
|
52552
|
+
function Zne(O, me, se, Ae, he, G) {
|
|
52553
52553
|
return ve(), we("div", null, [
|
|
52554
52554
|
P("h2", null, [
|
|
52555
52555
|
P("button", {
|
|
52556
|
-
onClick: me[0] || (me[0] = (...Oe) =>
|
|
52556
|
+
onClick: me[0] || (me[0] = (...Oe) => Ae.toggle && Ae.toggle(...Oe)),
|
|
52557
52557
|
type: "button",
|
|
52558
52558
|
class: rn(["flex items-center justify-between w-full gap-3 p-5 font-medium text-gray-500 border border-gray-200 rtl:text-right dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800", {
|
|
52559
|
-
"rounded-t-xl":
|
|
52560
|
-
"border-b-0": !
|
|
52561
|
-
"bg-gray-100 dark:bg-gray-800":
|
|
52559
|
+
"rounded-t-xl": Ae.isFirstAccordion,
|
|
52560
|
+
"border-b-0": !Ae.isLastAccordion,
|
|
52561
|
+
"bg-gray-100 dark:bg-gray-800": Ae.isOpen
|
|
52562
52562
|
}]),
|
|
52563
52563
|
"aria-expanded": "true"
|
|
52564
52564
|
}, [
|
|
52565
52565
|
P("span", Lne, ft(se.title), 1),
|
|
52566
|
-
|
|
52567
|
-
|
|
52566
|
+
Ae.isOpen ? pt("", !0) : (ve(), we("svg", Fne, Vne)),
|
|
52567
|
+
Ae.isOpen ? (ve(), we("svg", zne, Wne)) : pt("", !0)
|
|
52568
52568
|
], 2)
|
|
52569
52569
|
]),
|
|
52570
|
-
|
|
52570
|
+
Ae.isOpen ? (ve(), we("div", {
|
|
52571
52571
|
key: 0,
|
|
52572
52572
|
class: rn([{
|
|
52573
|
-
"border-b-0": !
|
|
52574
|
-
"border-t-0":
|
|
52573
|
+
"border-b-0": !Ae.isLastAccordion,
|
|
52574
|
+
"border-t-0": Ae.isLastAccordion
|
|
52575
52575
|
}, "p-5 border border-gray-200 dark:border-gray-700 dark:bg-gray-900"])
|
|
52576
52576
|
}, [
|
|
52577
52577
|
vf(O.$slots, "default")
|
|
@@ -52655,16 +52655,16 @@ const Jae = /* @__PURE__ */ la(Ine, [["render", Zne]]), jne = {
|
|
|
52655
52655
|
setup(O, { emit: me }) {
|
|
52656
52656
|
const se = O;
|
|
52657
52657
|
Oh(() => {
|
|
52658
|
-
setTimeout(() =>
|
|
52658
|
+
setTimeout(() => Ae("remove"), se.duration);
|
|
52659
52659
|
});
|
|
52660
|
-
const
|
|
52660
|
+
const Ae = me;
|
|
52661
52661
|
return (he, G) => (ve(), we("div", jne, [
|
|
52662
52662
|
se.type === "success" ? (ve(), we("div", Gne, Yne)) : pt("", !0),
|
|
52663
52663
|
se.type === "error" ? (ve(), we("div", Xne, eoe)) : pt("", !0),
|
|
52664
52664
|
se.type === "warning" ? (ve(), we("div", toe, soe)) : pt("", !0),
|
|
52665
52665
|
P("div", roe, ft(se.message), 1),
|
|
52666
52666
|
P("button", {
|
|
52667
|
-
onClick: G[0] || (G[0] = (Oe) =>
|
|
52667
|
+
onClick: G[0] || (G[0] = (Oe) => Ae("remove")),
|
|
52668
52668
|
type: "button",
|
|
52669
52669
|
class: "-mx-1.5 -my-1.5 ml-auto inline-flex h-8 w-8 rounded-lg bg-white p-1.5 text-gray-400 hover:bg-gray-100 hover:text-gray-900 focus:ring-2 focus:ring-gray-300 dark:bg-gray-800 dark:text-gray-500 dark:hover:bg-gray-700 dark:hover:text-white",
|
|
52670
52670
|
"data-dismiss-target": "#toast-default",
|
|
@@ -52678,7 +52678,7 @@ const Jae = /* @__PURE__ */ la(Ine, [["render", Zne]]), jne = {
|
|
|
52678
52678
|
function me(se) {
|
|
52679
52679
|
s5.methods.remove(se);
|
|
52680
52680
|
}
|
|
52681
|
-
return (se,
|
|
52681
|
+
return (se, Ae) => (ve(), Ty(Nq, {
|
|
52682
52682
|
tag: "div",
|
|
52683
52683
|
"enter-from-class": "translate-x-full opacity-0",
|
|
52684
52684
|
"enter-active-class": "duration-500",
|
|
@@ -52740,10 +52740,10 @@ const Jae = /* @__PURE__ */ la(Ine, [["render", Zne]]), jne = {
|
|
|
52740
52740
|
},
|
|
52741
52741
|
emits: ["deleteAction"],
|
|
52742
52742
|
setup(O, { emit: me }) {
|
|
52743
|
-
const se = O,
|
|
52744
|
-
|
|
52743
|
+
const se = O, Ae = Wo(!1), he = Wo(!1), G = () => {
|
|
52744
|
+
Ae.value = !1;
|
|
52745
52745
|
}, Oe = () => {
|
|
52746
|
-
|
|
52746
|
+
Ae.value = !0;
|
|
52747
52747
|
}, K = () => {
|
|
52748
52748
|
he.value = !1;
|
|
52749
52749
|
}, Ne = () => {
|
|
@@ -52796,7 +52796,7 @@ const Jae = /* @__PURE__ */ la(Ine, [["render", Zne]]), jne = {
|
|
|
52796
52796
|
])) : pt("", !0)
|
|
52797
52797
|
])
|
|
52798
52798
|
], 512), [
|
|
52799
|
-
[n5,
|
|
52799
|
+
[n5, Ae.value]
|
|
52800
52800
|
])
|
|
52801
52801
|
])), [
|
|
52802
52802
|
[Zo, G]
|
|
@@ -52846,10 +52846,10 @@ const Jae = /* @__PURE__ */ la(Ine, [["render", Zne]]), jne = {
|
|
|
52846
52846
|
},
|
|
52847
52847
|
emits: ["deleteAction"],
|
|
52848
52848
|
setup(O, { emit: me }) {
|
|
52849
|
-
const se = O,
|
|
52850
|
-
|
|
52849
|
+
const se = O, Ae = Wo(!1), he = Wo(!1), G = () => {
|
|
52850
|
+
Ae.value = !1;
|
|
52851
52851
|
}, Oe = () => {
|
|
52852
|
-
|
|
52852
|
+
Ae.value = !0;
|
|
52853
52853
|
}, K = () => {
|
|
52854
52854
|
he.value = !1;
|
|
52855
52855
|
}, Ne = () => {
|
|
@@ -52893,7 +52893,7 @@ const Jae = /* @__PURE__ */ la(Ine, [["render", Zne]]), jne = {
|
|
|
52893
52893
|
])) : pt("", !0)
|
|
52894
52894
|
])
|
|
52895
52895
|
], 512), [
|
|
52896
|
-
[n5,
|
|
52896
|
+
[n5, Ae.value]
|
|
52897
52897
|
])
|
|
52898
52898
|
])), [
|
|
52899
52899
|
[Zo, G]
|
|
@@ -52954,7 +52954,7 @@ const Jae = /* @__PURE__ */ la(Ine, [["render", Zne]]), jne = {
|
|
|
52954
52954
|
"clip-rule": "evenodd"
|
|
52955
52955
|
})
|
|
52956
52956
|
], -1);
|
|
52957
|
-
function Moe(O, me, se,
|
|
52957
|
+
function Moe(O, me, se, Ae, he, G) {
|
|
52958
52958
|
return ve(), we("div", null, [
|
|
52959
52959
|
G.isArray ? (ve(!0), we(bo, { key: 0 }, kr(se.row, (Oe, K) => (ve(), we("div", {
|
|
52960
52960
|
key: K,
|
|
@@ -53030,7 +53030,7 @@ const nle = /* @__PURE__ */ la(Eoe, [["render", Moe]]), Poe = {
|
|
|
53030
53030
|
"clip-rule": "evenodd"
|
|
53031
53031
|
})
|
|
53032
53032
|
], -1);
|
|
53033
|
-
function Hoe(O, me, se,
|
|
53033
|
+
function Hoe(O, me, se, Ae, he, G) {
|
|
53034
53034
|
return ve(), we("div", null, [
|
|
53035
53035
|
G.isArray ? (ve(!0), we(bo, { key: 0 }, kr(se.row[se.field], (Oe) => (ve(), we("div", {
|
|
53036
53036
|
key: Oe.id,
|
|
@@ -53061,7 +53061,7 @@ function Hoe(O, me, se, De, he, G) {
|
|
|
53061
53061
|
const ole = /* @__PURE__ */ la(Poe, [["render", Hoe]]), Voe = {
|
|
53062
53062
|
props: ["field", "row", "tdProps"]
|
|
53063
53063
|
}, zoe = { key: 0 }, Uoe = ["innerHTML"];
|
|
53064
|
-
function Woe(O, me, se,
|
|
53064
|
+
function Woe(O, me, se, Ae, he, G) {
|
|
53065
53065
|
return se.row[se.field] ? (ve(), we("div", zoe, [
|
|
53066
53066
|
P("div", {
|
|
53067
53067
|
class: "w-full",
|
|
@@ -53090,7 +53090,7 @@ const sle = /* @__PURE__ */ la(Voe, [["render", Woe]]), Zoe = {
|
|
|
53090
53090
|
key: 1,
|
|
53091
53091
|
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
53092
|
};
|
|
53093
|
-
function qoe(O, me, se,
|
|
53093
|
+
function qoe(O, me, se, Ae, he, G) {
|
|
53094
53094
|
return this.row[this.entry.key] ? (ve(), we("div", joe, [
|
|
53095
53095
|
G.isArray ? (ve(!0), we(bo, { key: 0 }, kr(se.row[G.entry.key], (Oe, K) => (ve(), we("span", {
|
|
53096
53096
|
key: K,
|
|
@@ -53114,14 +53114,14 @@ const rle = /* @__PURE__ */ la(Zoe, [["render", qoe]]), Koe = {
|
|
|
53114
53114
|
},
|
|
53115
53115
|
methods: {
|
|
53116
53116
|
getNestedValue(O, me) {
|
|
53117
|
-
return me.reduce((se,
|
|
53117
|
+
return me.reduce((se, Ae) => (se || {})[Ae], O);
|
|
53118
53118
|
}
|
|
53119
53119
|
}
|
|
53120
53120
|
}, Yoe = { class: "flex flex-wrap gap-2" }, Xoe = {
|
|
53121
53121
|
key: 1,
|
|
53122
53122
|
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
53123
|
};
|
|
53124
|
-
function Joe(O, me, se,
|
|
53124
|
+
function Joe(O, me, se, Ae, he, G) {
|
|
53125
53125
|
return ve(), we("div", Yoe, [
|
|
53126
53126
|
G.isArray ? (ve(!0), we(bo, { key: 0 }, kr(G.getNestedValue(se.row, G.entry.keys), (Oe, K) => (ve(), we("span", {
|
|
53127
53127
|
key: K,
|
|
@@ -53132,7 +53132,7 @@ function Joe(O, me, se, De, he, G) {
|
|
|
53132
53132
|
const ale = /* @__PURE__ */ la(Koe, [["render", Joe]]), Qoe = {
|
|
53133
53133
|
props: ["field", "row", "tdProps"]
|
|
53134
53134
|
}, ese = { key: 0 }, tse = { class: "m-1 d-inline-block" }, nse = ["href", "title"], ose = ["src", "alt", "title"];
|
|
53135
|
-
function sse(O, me, se,
|
|
53135
|
+
function sse(O, me, se, Ae, he, G) {
|
|
53136
53136
|
return se.row[se.field] ? (ve(), we("div", ese, [
|
|
53137
53137
|
P("div", tse, [
|
|
53138
53138
|
P("a", {
|
|
@@ -53163,7 +53163,7 @@ const lle = /* @__PURE__ */ la(Qoe, [["render", sse], ["__scopeId", "data-v-3a28
|
|
|
53163
53163
|
key: 1,
|
|
53164
53164
|
class: "inline-flex items-center px-2 py-1 bg-red-100 text-red-800 text-xs font-medium rounded-full dark:bg-red-900 dark:text-red-300"
|
|
53165
53165
|
}, use = /* @__PURE__ */ P("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1);
|
|
53166
|
-
function dse(O, me, se,
|
|
53166
|
+
function dse(O, me, se, Ae, he, G) {
|
|
53167
53167
|
return ve(), we("div", ase, [
|
|
53168
53168
|
G.isActive ? (ve(), we("span", lse, [
|
|
53169
53169
|
cse,
|
|
@@ -53203,7 +53203,7 @@ const cle = /* @__PURE__ */ la(rse, [["render", dse]]), mse = {
|
|
|
53203
53203
|
/* @__PURE__ */ P("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
53204
53204
|
/* @__PURE__ */ P("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
53205
53205
|
], -1);
|
|
53206
|
-
function _se(O, me, se,
|
|
53206
|
+
function _se(O, me, se, Ae, he, G) {
|
|
53207
53207
|
return ve(), we("div", fse, [
|
|
53208
53208
|
G.hasLabelColor == "green" ? (ve(), we("span", gse, [
|
|
53209
53209
|
hse,
|
|
@@ -53249,7 +53249,7 @@ const ile = /* @__PURE__ */ la(mse, [["render", _se]]), kse = {
|
|
|
53249
53249
|
}
|
|
53250
53250
|
}
|
|
53251
53251
|
}, Tse = { class: "flex flex-wrap gap-2 text-nowrap lg:justify-center" };
|
|
53252
|
-
function Ese(O, me, se,
|
|
53252
|
+
function Ese(O, me, se, Ae, he, G) {
|
|
53253
53253
|
return ve(), we("div", Tse, [
|
|
53254
53254
|
G.hasLabelColor == "Default" ? (ve(), we("span", {
|
|
53255
53255
|
key: 0,
|
|
@@ -53320,7 +53320,7 @@ const ule = /* @__PURE__ */ la(kse, [["render", Ese]]), Ase = {
|
|
|
53320
53320
|
/* @__PURE__ */ P("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
53321
53321
|
/* @__PURE__ */ P("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
53322
53322
|
], -1);
|
|
53323
|
-
function Hse(O, me, se,
|
|
53323
|
+
function Hse(O, me, se, Ae, he, G) {
|
|
53324
53324
|
return ve(), we("div", Dse, [
|
|
53325
53325
|
G.hasLabelColor == "green" ? (ve(), we("span", Ose, [
|
|
53326
53326
|
Rse,
|
|
@@ -53350,14 +53350,14 @@ const dle = /* @__PURE__ */ la(Ase, [["render", Hse]]), Vse = {
|
|
|
53350
53350
|
formattedDate() {
|
|
53351
53351
|
if (!this.row[this.field])
|
|
53352
53352
|
return "";
|
|
53353
|
-
const O = new Date(this.row[this.field]), me = O.getFullYear(), se = O.toLocaleString("default", { month: "long" }),
|
|
53353
|
+
const O = new Date(this.row[this.field]), me = O.getFullYear(), se = O.toLocaleString("default", { month: "long" }), Ae = O.getDate();
|
|
53354
53354
|
let he = O.getHours();
|
|
53355
53355
|
const G = O.getMinutes(), Oe = O.getSeconds(), K = he >= 12 ? "pm" : "am";
|
|
53356
|
-
return he = he % 12, he = he || 12, `${se} ${
|
|
53356
|
+
return he = he % 12, he = he || 12, `${se} ${Ae}, ${me}, ${he}:${G}:${Oe} ${K}`;
|
|
53357
53357
|
}
|
|
53358
53358
|
}
|
|
53359
53359
|
}, zse = { class: "w-full" };
|
|
53360
|
-
function Use(O, me, se,
|
|
53360
|
+
function Use(O, me, se, Ae, he, G) {
|
|
53361
53361
|
return ve(), we("div", zse, ft(G.formattedDate), 1);
|
|
53362
53362
|
}
|
|
53363
53363
|
const mle = /* @__PURE__ */ la(Vse, [["render", Use]]), Wse = {
|
|
@@ -53366,12 +53366,12 @@ const mle = /* @__PURE__ */ la(Vse, [["render", Use]]), Wse = {
|
|
|
53366
53366
|
formattedDate() {
|
|
53367
53367
|
if (!this.row[this.field])
|
|
53368
53368
|
return "";
|
|
53369
|
-
const O = new Date(this.row[this.field]), me = O.getFullYear(), se = O.toLocaleString("default", { month: "long" }),
|
|
53370
|
-
return `${se} ${
|
|
53369
|
+
const O = new Date(this.row[this.field]), me = O.getFullYear(), se = O.toLocaleString("default", { month: "long" }), Ae = O.getDate();
|
|
53370
|
+
return `${se} ${Ae}, ${me}`;
|
|
53371
53371
|
}
|
|
53372
53372
|
}
|
|
53373
53373
|
}, Zse = { class: "w-full" };
|
|
53374
|
-
function jse(O, me, se,
|
|
53374
|
+
function jse(O, me, se, Ae, he, G) {
|
|
53375
53375
|
return ve(), we("div", Zse, ft(G.formattedDate), 1);
|
|
53376
53376
|
}
|
|
53377
53377
|
const fle = /* @__PURE__ */ la(Wse, [["render", jse]]), Gse = {
|
|
@@ -53389,7 +53389,7 @@ const fle = /* @__PURE__ */ la(Wse, [["render", jse]]), Gse = {
|
|
|
53389
53389
|
key: 2,
|
|
53390
53390
|
class: "inline-flex items-center px-2 py-1 text-xs font-medium text-green-800 bg-green-100 rounded-full dark:bg-green-900 dark:text-green-300"
|
|
53391
53391
|
}, ere = /* @__PURE__ */ P("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1);
|
|
53392
|
-
function tre(O, me, se,
|
|
53392
|
+
function tre(O, me, se, Ae, he, G) {
|
|
53393
53393
|
return ve(), we("div", qse, [
|
|
53394
53394
|
se.row[se.field] === 0 ? (ve(), we("span", Kse, [
|
|
53395
53395
|
Yse,
|
|
@@ -53414,7 +53414,7 @@ const gle = /* @__PURE__ */ la(Gse, [["render", tre]]), nre = {
|
|
|
53414
53414
|
style: { "max-width": "200px" },
|
|
53415
53415
|
class: "w-full h-full p-3 mx-0 mt-0 overflow-auto font-mono text-left break-words rounded cursor-default whitespace-nowrap console_styles"
|
|
53416
53416
|
};
|
|
53417
|
-
function rre(O, me, se,
|
|
53417
|
+
function rre(O, me, se, Ae, he, G) {
|
|
53418
53418
|
return se.row[se.field] ? (ve(), we("div", ore, [
|
|
53419
53419
|
P("pre", sre, " " + ft(se.row[se.field]) + `
|
|
53420
53420
|
`, 1)
|
|
@@ -53442,7 +53442,7 @@ const hle = /* @__PURE__ */ la(nre, [["render", rre]]), are = {
|
|
|
53442
53442
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
53443
53443
|
"aria-hidden": "true"
|
|
53444
53444
|
}, "", -1), dre = { class: "inline-block overflow-hidden text-left align-bottom transition-all transform bg-white dark:bg-gray-800 rounded-lg shadow-xl sm:my-8 sm:align-middle sm:max-w-lg sm:w-full" }, mre = { class: "px-4 pt-5 pb-4 sm:p-6 sm:pb-4" }, fre = { class: "sm:flex sm:items-start" }, gre = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, hre = { class: "text-lg font-medium leading-6" }, pre = { class: "mt-2" }, bre = { class: "border-t border-gray-200 rounded-b dark:border-gray-600 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse" };
|
|
53445
|
-
function vre(O, me, se,
|
|
53445
|
+
function vre(O, me, se, Ae, he, G) {
|
|
53446
53446
|
return se.isOpen ? (ve(), we("div", lre, [
|
|
53447
53447
|
P("div", cre, [
|
|
53448
53448
|
ire,
|
|
@@ -53494,7 +53494,7 @@ const ple = /* @__PURE__ */ la(are, [["render", vre]]), yre = {
|
|
|
53494
53494
|
}
|
|
53495
53495
|
},
|
|
53496
53496
|
setup(O, { expose: me }) {
|
|
53497
|
-
const se = Wo(""),
|
|
53497
|
+
const se = Wo(""), Ae = Wo(""), he = Wo(""), G = Wo("Cancel"), Oe = Wo(!1), K = Wo(void 0), Ne = Wo(void 0), lt = (zn = {}) => (se.value = zn.title, Ae.value = zn.message, he.value = zn.okButton, zn.cancelButton && (G.value = zn.cancelButton), Oe.value = !0, new Promise((Zo, ir) => {
|
|
53498
53498
|
K.value = Zo, Ne.value = ir;
|
|
53499
53499
|
})), Wt = () => {
|
|
53500
53500
|
Oe.value = !1, K.value(!0);
|
|
@@ -53513,7 +53513,7 @@ const ple = /* @__PURE__ */ la(are, [["render", vre]]), yre = {
|
|
|
53513
53513
|
P("div", Tre, [
|
|
53514
53514
|
P("h3", Ere, ft(se.value), 1),
|
|
53515
53515
|
P("div", Are, [
|
|
53516
|
-
P("p", Dre, ft(
|
|
53516
|
+
P("p", Dre, ft(Ae.value), 1)
|
|
53517
53517
|
])
|
|
53518
53518
|
])
|
|
53519
53519
|
])
|
|
@@ -53585,7 +53585,7 @@ const ple = /* @__PURE__ */ la(are, [["render", vre]]), yre = {
|
|
|
53585
53585
|
}
|
|
53586
53586
|
},
|
|
53587
53587
|
setup(O) {
|
|
53588
|
-
const me = O, se = Wo(!1),
|
|
53588
|
+
const me = O, se = Wo(!1), Ae = (G) => {
|
|
53589
53589
|
navigator.clipboard.writeText(G).then(function() {
|
|
53590
53590
|
se.value = !0, setTimeout(() => {
|
|
53591
53591
|
se.value = !1;
|
|
@@ -53604,7 +53604,7 @@ const ple = /* @__PURE__ */ la(are, [["render", vre]]), yre = {
|
|
|
53604
53604
|
]),
|
|
53605
53605
|
P("div", Ire, [
|
|
53606
53606
|
P("button", {
|
|
53607
|
-
onClick: Oe[0] || (Oe[0] = (K) =>
|
|
53607
|
+
onClick: Oe[0] || (Oe[0] = (K) => Ae(he.value)),
|
|
53608
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"
|
|
53609
53609
|
}, [
|
|
53610
53610
|
se.value ? pt("", !0) : (ve(), we("span", Lre, Vre)),
|
|
@@ -53665,7 +53665,7 @@ const ple = /* @__PURE__ */ la(are, [["render", vre]]), yre = {
|
|
|
53665
53665
|
}
|
|
53666
53666
|
},
|
|
53667
53667
|
setup(O) {
|
|
53668
|
-
const me = O, se = Wo(!1),
|
|
53668
|
+
const me = O, se = Wo(!1), Ae = (G) => {
|
|
53669
53669
|
navigator.clipboard.writeText(G).then(function() {
|
|
53670
53670
|
se.value = !0, setTimeout(() => {
|
|
53671
53671
|
se.value = !1;
|
|
@@ -53692,7 +53692,7 @@ const ple = /* @__PURE__ */ la(are, [["render", vre]]), yre = {
|
|
|
53692
53692
|
]),
|
|
53693
53693
|
P("button", {
|
|
53694
53694
|
style: { padding: ".61rem" },
|
|
53695
|
-
onClick: Oe[0] || (Oe[0] = (K) =>
|
|
53695
|
+
onClick: Oe[0] || (Oe[0] = (K) => Ae(he.value)),
|
|
53696
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",
|
|
53697
53697
|
type: "button"
|
|
53698
53698
|
}, [
|
|
@@ -53773,7 +53773,7 @@ const ple = /* @__PURE__ */ la(are, [["render", vre]]), yre = {
|
|
|
53773
53773
|
},
|
|
53774
53774
|
emits: ["reconnect"],
|
|
53775
53775
|
setup(O, { emit: me }) {
|
|
53776
|
-
const se = me,
|
|
53776
|
+
const se = me, Ae = () => {
|
|
53777
53777
|
se("reconnect");
|
|
53778
53778
|
};
|
|
53779
53779
|
return (he, G) => (ve(), we("div", gae, [
|
|
@@ -53790,7 +53790,7 @@ const ple = /* @__PURE__ */ la(are, [["render", vre]]), yre = {
|
|
|
53790
53790
|
So(" Disconnected ")
|
|
53791
53791
|
])) : pt("", !0),
|
|
53792
53792
|
P("button", {
|
|
53793
|
-
onClick:
|
|
53793
|
+
onClick: Ae,
|
|
53794
53794
|
class: "ml-1"
|
|
53795
53795
|
}, [
|
|
53796
53796
|
(ve(), we("svg", wae, Sae))
|