golden-logic-ui 1.0.484 → 1.0.486
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 +777 -763
- package/dist/golden-logic-ui.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as ue, createBlock as ju, resolveDynamicComponent as A4, mergeProps as aO, withCtx as Cm, createElementBlock as
|
|
1
|
+
import { openBlock as ue, createBlock as ju, resolveDynamicComponent as A4, mergeProps as aO, withCtx as Cm, createElementBlock as de, normalizeClass as zt, createCommentVNode as qe, renderSlot as Zi, createTextVNode as Zn, createElementVNode as R, resolveComponent as Rd, createVNode as ui, createStaticVNode as ZB, reactive as Pq, Fragment as jn, toDisplayString as dt, withModifiers as za, withDirectives as fr, vModelText as _m, renderList as Ks, normalizeStyle as Mj, computed as bu, ref as co, onMounted as Og, onBeforeUnmount as jB, watch as Sf, vShow as kf, nextTick as Pj, vModelDynamic as nq, useSlots as Bq, provide as oq, inject as sq, pushScopeId as rq, popScopeId as aq, vModelCheckbox as lq, toHandlers as Rj, onUnmounted as Nq, TransitionGroup as Iq, unref as Lq, resolveDirective as Bj, markRaw as Fq } from "vue";
|
|
2
2
|
const zr = (A, oe) => {
|
|
3
3
|
const G = A.__vccOpts || A;
|
|
4
4
|
for (const [_e, ne] of oe)
|
|
@@ -107,10 +107,10 @@ function zq(A, oe, G, _e, ne, Z) {
|
|
|
107
107
|
class: ` ${G.is_disabled ? "cursor-not-allowed opacity-50" : ""} ${G.icon ? "flex" : ""} h-[2.5rem] items-center gap-2 focus:outline-none text-sm px-3 py-2 font-medium ${G.has_border_reduced ? "rounded-lg" : ""} ${Z.buttonTypeClass} ${G.classes}`
|
|
108
108
|
}), {
|
|
109
109
|
default: Cm(() => [
|
|
110
|
-
G.icon ? (ue(),
|
|
110
|
+
G.icon ? (ue(), de("i", {
|
|
111
111
|
key: 0,
|
|
112
112
|
class: zt([G.icon, "text-base"])
|
|
113
|
-
}, null, 2)) :
|
|
113
|
+
}, null, 2)) : qe("", !0),
|
|
114
114
|
Zi(A.$slots, "default")
|
|
115
115
|
]),
|
|
116
116
|
_: 3
|
|
@@ -144,7 +144,7 @@ const Nj = /* @__PURE__ */ zr(Hq, [["render", zq]]), Uq = {
|
|
|
144
144
|
}, "", -1), qq = { 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" }, Kq = /* @__PURE__ */ ZB('<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), Yq = { class: "border-t border-gray-200 rounded-b dark:border-gray-600 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse gap-2" };
|
|
145
145
|
function Xq(A, oe, G, _e, ne, Z) {
|
|
146
146
|
const xe = Rd("gl-button");
|
|
147
|
-
return G.isOpen ? (ue(),
|
|
147
|
+
return G.isOpen ? (ue(), de("div", Wq, [
|
|
148
148
|
R("div", Zq, [
|
|
149
149
|
jq,
|
|
150
150
|
Gq,
|
|
@@ -174,7 +174,7 @@ function Xq(A, oe, G, _e, ne, Z) {
|
|
|
174
174
|
])
|
|
175
175
|
])
|
|
176
176
|
])
|
|
177
|
-
])) :
|
|
177
|
+
])) : qe("", !0);
|
|
178
178
|
}
|
|
179
179
|
const GB = /* @__PURE__ */ zr(Uq, [["render", Xq]]), $j = Pq({
|
|
180
180
|
items: []
|
|
@@ -381,7 +381,7 @@ const GB = /* @__PURE__ */ zr(Uq, [["render", Xq]]), $j = Pq({
|
|
|
381
381
|
}, null, -1), _K = { class: "flex flex-col ml-3" }, SK = { class: "text-xs" }, kK = { class: "text-xs" }, TK = { class: "flex gap-2" }, EK = ["href"], AK = ["onClick"];
|
|
382
382
|
function DK(A, oe, G, _e, ne, Z) {
|
|
383
383
|
const xe = Rd("DeleteConfirmationModal");
|
|
384
|
-
return ue(),
|
|
384
|
+
return ue(), de(jn, null, [
|
|
385
385
|
ui(xe, {
|
|
386
386
|
isOpen: ne.open_delete_modal,
|
|
387
387
|
onConfirmDelete: Z.deleteAction,
|
|
@@ -421,7 +421,7 @@ function DK(A, oe, G, _e, ne, Z) {
|
|
|
421
421
|
}, null, 8, nK), [
|
|
422
422
|
[_m, Z.uploadFileListFinal]
|
|
423
423
|
]),
|
|
424
|
-
ne.isDragging ? (ue(),
|
|
424
|
+
ne.isDragging ? (ue(), de("div", aK, cK)) : (ue(), de("div", {
|
|
425
425
|
key: 0,
|
|
426
426
|
class: "flex flex-col items-center justify-center",
|
|
427
427
|
onClick: oe[2] || (oe[2] = (K) => A.$refs["file_input" + this.field_name].click())
|
|
@@ -430,8 +430,8 @@ function DK(A, oe, G, _e, ne, Z) {
|
|
|
430
430
|
], 32),
|
|
431
431
|
R("span", iK, dt(ne.error_message_data), 1),
|
|
432
432
|
R("small", uK, dt(G.description), 1),
|
|
433
|
-
ne.files.length > 0 ? (ue(),
|
|
434
|
-
(ue(!0),
|
|
433
|
+
ne.files.length > 0 ? (ue(), de("section", dK, [
|
|
434
|
+
(ue(!0), de(jn, null, Ks(ne.files, (K, $e) => (ue(), de("li", mK, [
|
|
435
435
|
fK,
|
|
436
436
|
R("div", gK, [
|
|
437
437
|
R("div", hK, [
|
|
@@ -446,9 +446,9 @@ function DK(A, oe, G, _e, ne, Z) {
|
|
|
446
446
|
])
|
|
447
447
|
])
|
|
448
448
|
]))), 256))
|
|
449
|
-
])) :
|
|
449
|
+
])) : qe("", !0),
|
|
450
450
|
R("section", yK, [
|
|
451
|
-
(ue(!0),
|
|
451
|
+
(ue(!0), de(jn, null, Ks(Z.uploadFileListFinal, (K, $e) => (ue(), de("li", wK, [
|
|
452
452
|
R("div", xK, [
|
|
453
453
|
CK,
|
|
454
454
|
R("div", _K, [
|
|
@@ -462,13 +462,13 @@ function DK(A, oe, G, _e, ne, Z) {
|
|
|
462
462
|
target: "_blank",
|
|
463
463
|
class: "text-lg text-blue-600 cursor-pointer dark:text-blue-400 fas fa-download"
|
|
464
464
|
}, null, 8, EK),
|
|
465
|
-
G.is_enable_delete ? (ue(),
|
|
465
|
+
G.is_enable_delete ? (ue(), de("i", {
|
|
466
466
|
key: 0,
|
|
467
467
|
onClick: (lt) => {
|
|
468
468
|
ne.media_id = K.id, ne.open_delete_modal = !0;
|
|
469
469
|
},
|
|
470
470
|
class: "text-lg text-red-600 cursor-pointer dark:text-red-400 fas fa-x"
|
|
471
|
-
}, null, 8, AK)) :
|
|
471
|
+
}, null, 8, AK)) : qe("", !0)
|
|
472
472
|
])
|
|
473
473
|
]))), 256))
|
|
474
474
|
])
|
|
@@ -512,8 +512,8 @@ const Ace = /* @__PURE__ */ zr(Qq, [["render", DK]]), OK = {
|
|
|
512
512
|
}
|
|
513
513
|
}, RK = { class: "grid w-full gap-1 mt-5 mb-5 md:gap-0 md:grid-cols-10 language-selector" }, $K = ["name", "value", "id", "checked"], MK = ["for"];
|
|
514
514
|
function PK(A, oe, G, _e, ne, Z) {
|
|
515
|
-
return ue(),
|
|
516
|
-
(ue(!0),
|
|
515
|
+
return ue(), de("ul", RK, [
|
|
516
|
+
(ue(!0), de(jn, null, Ks(ne.locals, (xe, K) => (ue(), de("li", null, [
|
|
517
517
|
R("input", {
|
|
518
518
|
type: "radio",
|
|
519
519
|
name: G.trans_selector_name,
|
|
@@ -548,7 +548,7 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
548
548
|
},
|
|
549
549
|
setup(A) {
|
|
550
550
|
const oe = A, G = bu(() => oe.class), _e = bu(() => oe.body_class);
|
|
551
|
-
return (ne, Z) => (ue(),
|
|
551
|
+
return (ne, Z) => (ue(), de("div", {
|
|
552
552
|
class: zt(["flex flex-col gap-9", G.value])
|
|
553
553
|
}, [
|
|
554
554
|
R("div", BK, [
|
|
@@ -557,12 +557,12 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
557
557
|
Zi(ne.$slots, "header")
|
|
558
558
|
])
|
|
559
559
|
]),
|
|
560
|
-
ne.$slots.body ? (ue(),
|
|
560
|
+
ne.$slots.body ? (ue(), de("div", {
|
|
561
561
|
key: 0,
|
|
562
562
|
class: zt(["p-6", _e.value])
|
|
563
563
|
}, [
|
|
564
564
|
Zi(ne.$slots, "body")
|
|
565
|
-
], 2)) :
|
|
565
|
+
], 2)) : qe("", !0)
|
|
566
566
|
])
|
|
567
567
|
], 2));
|
|
568
568
|
}
|
|
@@ -805,28 +805,28 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
805
805
|
xe.value = Cn(), Z.value = Nt();
|
|
806
806
|
},
|
|
807
807
|
{ immediate: !0, deep: !0 }
|
|
808
|
-
), (Ht, _t) => (ue(),
|
|
809
|
-
A.show ? (ue(),
|
|
808
|
+
), (Ht, _t) => (ue(), de(jn, null, [
|
|
809
|
+
A.show ? (ue(), de("div", {
|
|
810
810
|
key: 0,
|
|
811
811
|
class: zt(A.field_name)
|
|
812
812
|
}, [
|
|
813
813
|
R("h3", LK, dt(A.label_name), 1),
|
|
814
814
|
R("p", FK, [
|
|
815
|
-
(ue(!0),
|
|
815
|
+
(ue(!0), de(jn, null, Ks(Z.value, (Pe, no) => (ue(), de("span", HK, dt(Pe == null ? void 0 : Pe.name), 1))), 256))
|
|
816
816
|
]),
|
|
817
817
|
VK
|
|
818
|
-
], 2)) :
|
|
819
|
-
A.show ?
|
|
818
|
+
], 2)) : qe("", !0),
|
|
819
|
+
A.show ? qe("", !0) : (ue(), de("div", {
|
|
820
820
|
key: 1,
|
|
821
821
|
class: zt(A.field_name)
|
|
822
822
|
}, [
|
|
823
|
-
(ue(!0),
|
|
823
|
+
(ue(!0), de(jn, null, Ks(K.value, (Pe, no) => (ue(), de("input", {
|
|
824
824
|
type: "hidden",
|
|
825
825
|
name: A.field_name + "[]",
|
|
826
826
|
key: no,
|
|
827
827
|
value: Pe
|
|
828
828
|
}, null, 8, zK))), 128)),
|
|
829
|
-
A.options ? (ue(),
|
|
829
|
+
A.options ? (ue(), de("div", UK, [
|
|
830
830
|
R("label", {
|
|
831
831
|
class: zt({
|
|
832
832
|
"gl-label-form": A.error_message == "",
|
|
@@ -859,7 +859,7 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
859
859
|
class: "flex flex-wrap gap-2 pr-2 gl-multi-dropdown showOptions",
|
|
860
860
|
onClick: _t[0] || (_t[0] = (Pe) => go())
|
|
861
861
|
}, [
|
|
862
|
-
(ue(!0),
|
|
862
|
+
(ue(!0), de(jn, null, Ks(Z.value, (Pe, no) => (ue(), de("span", {
|
|
863
863
|
key: no,
|
|
864
864
|
class: "flex gap-2 px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded pointer-events-none dark:bg-blue-900 dark:text-blue-300"
|
|
865
865
|
}, [
|
|
@@ -902,7 +902,7 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
902
902
|
])
|
|
903
903
|
]),
|
|
904
904
|
R("div", QK, [
|
|
905
|
-
(ue(!0),
|
|
905
|
+
(ue(!0), de(jn, null, Ks(Ls.value, (Pe, no) => (ue(), de("div", {
|
|
906
906
|
class: zt([
|
|
907
907
|
"block px-2 py-2 text-xs leading-4 text-gray-700 no-underline cursor-pointer dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white",
|
|
908
908
|
no + 1 == $e.value || oo(Pe.id) ? "bg-gray-100 dark:bg-gray-600" : ""
|
|
@@ -918,7 +918,7 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
918
918
|
])
|
|
919
919
|
])
|
|
920
920
|
], 512)
|
|
921
|
-
])) :
|
|
921
|
+
])) : qe("", !0)
|
|
922
922
|
], 2))
|
|
923
923
|
], 64));
|
|
924
924
|
}
|
|
@@ -977,8 +977,8 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
977
977
|
};
|
|
978
978
|
return Og(() => {
|
|
979
979
|
Z.value !== null && Z.value.hasAttribute("autofocus") && Z.value.focus(), _e.modelValue && (ne("update:modelValue", _e.modelValue), Z.value.value = _e.modelValue), _e.modelValueTranslate && (ne("update:modelValueTranslate", _e.modelValueTranslate), xe.value.value = _e.modelValueTranslate);
|
|
980
|
-
}), oe({ focus: () => Z.value.focus() }), ($e, lt) => (ue(),
|
|
981
|
-
A.show ? (ue(),
|
|
980
|
+
}), oe({ focus: () => Z.value.focus() }), ($e, lt) => (ue(), de(jn, null, [
|
|
981
|
+
A.show ? (ue(), de("div", {
|
|
982
982
|
key: 0,
|
|
983
983
|
class: zt(A.field_name)
|
|
984
984
|
}, [
|
|
@@ -999,8 +999,8 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
999
999
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
1000
1000
|
}, dt($e.model_value), 9, oY),
|
|
1001
1001
|
sY
|
|
1002
|
-
], 2)) :
|
|
1003
|
-
A.show ?
|
|
1002
|
+
], 2)) : qe("", !0),
|
|
1003
|
+
A.show ? qe("", !0) : (ue(), de("div", {
|
|
1004
1004
|
key: 1,
|
|
1005
1005
|
class: zt(["mb-4", A.field_name])
|
|
1006
1006
|
}, [
|
|
@@ -1121,8 +1121,8 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1121
1121
|
}).catch(($e) => {
|
|
1122
1122
|
console.log($e);
|
|
1123
1123
|
});
|
|
1124
|
-
}), oe({ focus: () => Z.value.focus() }), ($e, lt) => (ue(),
|
|
1125
|
-
A.show ? (ue(),
|
|
1124
|
+
}), oe({ focus: () => Z.value.focus() }), ($e, lt) => (ue(), de(jn, null, [
|
|
1125
|
+
A.show ? (ue(), de("div", {
|
|
1126
1126
|
key: 0,
|
|
1127
1127
|
class: zt(A.field_name)
|
|
1128
1128
|
}, [
|
|
@@ -1143,8 +1143,8 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1143
1143
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
1144
1144
|
}, dt(A.model_value), 9, fY),
|
|
1145
1145
|
gY
|
|
1146
|
-
], 2)) :
|
|
1147
|
-
A.show ?
|
|
1146
|
+
], 2)) : qe("", !0),
|
|
1147
|
+
A.show ? qe("", !0) : (ue(), de("div", {
|
|
1148
1148
|
key: 1,
|
|
1149
1149
|
class: zt(["mb-4", A.field_name])
|
|
1150
1150
|
}, [
|
|
@@ -1242,8 +1242,8 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1242
1242
|
};
|
|
1243
1243
|
return Og(() => {
|
|
1244
1244
|
Z.value !== null && Z.value.hasAttribute("autofocus") && Z.value.focus(), _e.modelValue && (ne("update:modelValue", _e.modelValue), Z.value.value = _e.modelValue), _e.modelValueTranslate && (ne("update:modelValueTranslate", _e.modelValueTranslate), xe.value.value = _e.modelValueTranslate);
|
|
1245
|
-
}), oe({ focus: () => Z.value.focus() }), ($e, lt) => (ue(),
|
|
1246
|
-
A.show ? (ue(),
|
|
1245
|
+
}), oe({ focus: () => Z.value.focus() }), ($e, lt) => (ue(), de(jn, null, [
|
|
1246
|
+
A.show ? (ue(), de("div", {
|
|
1247
1247
|
key: 0,
|
|
1248
1248
|
class: zt(A.field_name)
|
|
1249
1249
|
}, [
|
|
@@ -1264,8 +1264,8 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1264
1264
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
1265
1265
|
}, dt($e.model_value), 9, _Y),
|
|
1266
1266
|
SY
|
|
1267
|
-
], 2)) :
|
|
1268
|
-
A.show ?
|
|
1267
|
+
], 2)) : qe("", !0),
|
|
1268
|
+
A.show ? qe("", !0) : (ue(), de("div", {
|
|
1269
1269
|
key: 1,
|
|
1270
1270
|
class: zt(["mb-4", A.field_name])
|
|
1271
1271
|
}, [
|
|
@@ -1361,20 +1361,20 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1361
1361
|
ne("update:modelValue", K);
|
|
1362
1362
|
}
|
|
1363
1363
|
});
|
|
1364
|
-
return oe({ focus: () => Z.value.focus() }), (K, $e) => (ue(),
|
|
1365
|
-
A.show ? (ue(),
|
|
1364
|
+
return oe({ focus: () => Z.value.focus() }), (K, $e) => (ue(), de(jn, null, [
|
|
1365
|
+
A.show ? (ue(), de("div", {
|
|
1366
1366
|
key: 0,
|
|
1367
1367
|
class: zt(A.field_name)
|
|
1368
1368
|
}, [
|
|
1369
1369
|
R("h3", RY, dt(A.label_name), 1),
|
|
1370
1370
|
R("p", $Y, dt(A.type == "password" ? A.modelValue.replace(/./g, "*") : A.modelValue), 1),
|
|
1371
1371
|
MY
|
|
1372
|
-
], 2)) :
|
|
1373
|
-
A.show ?
|
|
1372
|
+
], 2)) : qe("", !0),
|
|
1373
|
+
A.show ? qe("", !0) : (ue(), de("div", {
|
|
1374
1374
|
key: 1,
|
|
1375
1375
|
class: zt(A.field_name)
|
|
1376
1376
|
}, [
|
|
1377
|
-
A.label_name ? (ue(),
|
|
1377
|
+
A.label_name ? (ue(), de("label", {
|
|
1378
1378
|
key: 0,
|
|
1379
1379
|
class: zt({
|
|
1380
1380
|
"gl-label-form": A.error_message == "",
|
|
@@ -1382,7 +1382,7 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1382
1382
|
required: A.is_required
|
|
1383
1383
|
}),
|
|
1384
1384
|
for: A.field_name
|
|
1385
|
-
}, dt(A.label_name), 11, PY)) :
|
|
1385
|
+
}, dt(A.label_name), 11, PY)) : qe("", !0),
|
|
1386
1386
|
fr(R("input", {
|
|
1387
1387
|
required: A.is_required,
|
|
1388
1388
|
name: A.field_name,
|
|
@@ -1467,20 +1467,20 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1467
1467
|
ne("update:modelValue", K);
|
|
1468
1468
|
}
|
|
1469
1469
|
});
|
|
1470
|
-
return oe({ focus: () => Z.value.focus() }), (K, $e) => (ue(),
|
|
1471
|
-
A.show ? (ue(),
|
|
1470
|
+
return oe({ focus: () => Z.value.focus() }), (K, $e) => (ue(), de(jn, null, [
|
|
1471
|
+
A.show ? (ue(), de("div", {
|
|
1472
1472
|
key: 0,
|
|
1473
1473
|
class: zt(A.field_name)
|
|
1474
1474
|
}, [
|
|
1475
1475
|
R("h3", FY, dt(A.label_name), 1),
|
|
1476
1476
|
R("p", HY, dt(A.type == "password" ? A.modelValue.replace(/./g, "*") : A.modelValue), 1),
|
|
1477
1477
|
VY
|
|
1478
|
-
], 2)) :
|
|
1479
|
-
A.show ?
|
|
1478
|
+
], 2)) : qe("", !0),
|
|
1479
|
+
A.show ? qe("", !0) : (ue(), de("div", {
|
|
1480
1480
|
key: 1,
|
|
1481
1481
|
class: zt(A.field_name)
|
|
1482
1482
|
}, [
|
|
1483
|
-
A.label_name ? (ue(),
|
|
1483
|
+
A.label_name ? (ue(), de("label", {
|
|
1484
1484
|
key: 0,
|
|
1485
1485
|
class: zt({
|
|
1486
1486
|
"gl-label-form": A.error_message == "",
|
|
@@ -1488,7 +1488,7 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1488
1488
|
required: A.is_required
|
|
1489
1489
|
}),
|
|
1490
1490
|
for: A.field_name
|
|
1491
|
-
}, dt(A.label_name), 11, zY)) :
|
|
1491
|
+
}, dt(A.label_name), 11, zY)) : qe("", !0),
|
|
1492
1492
|
R("div", UY, [
|
|
1493
1493
|
R("div", WY, [
|
|
1494
1494
|
fr(R("input", {
|
|
@@ -1576,16 +1576,16 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1576
1576
|
}), $e = (lt, yt) => {
|
|
1577
1577
|
lt && yt && new Date(lt) > new Date(yt) ? (ne.value = "Start date cannot be after end date.", Z.value.start = "", Z.value.end = "", _e("update:modelValue", { start: Z.value.start, end: Z.value.end }), _e("keydown", { start: Z.value.start, end: Z.value.end })) : lt && yt && new Date(yt) < new Date(lt) ? (ne.value = "End date cannot be before start date.", Z.value.start = "", Z.value.end = "", _e("update:modelValue", { start: Z.value.start, end: Z.value.end }), _e("keydown", { start: Z.value.start, end: Z.value.end })) : ne.value = "";
|
|
1578
1578
|
};
|
|
1579
|
-
return (lt, yt) => (ue(),
|
|
1580
|
-
A.show ? (ue(),
|
|
1579
|
+
return (lt, yt) => (ue(), de(jn, null, [
|
|
1580
|
+
A.show ? (ue(), de("div", {
|
|
1581
1581
|
key: 0,
|
|
1582
1582
|
class: zt(A.field_name)
|
|
1583
1583
|
}, [
|
|
1584
1584
|
R("h3", KY, dt(A.label_name), 1),
|
|
1585
1585
|
R("p", YY, dt(A.modelValue.start) + " to " + dt(A.modelValue.end), 1),
|
|
1586
1586
|
XY
|
|
1587
|
-
], 2)) :
|
|
1588
|
-
A.show ?
|
|
1587
|
+
], 2)) : qe("", !0),
|
|
1588
|
+
A.show ? qe("", !0) : (ue(), de("div", {
|
|
1589
1589
|
key: 1,
|
|
1590
1590
|
class: zt(A.field_name)
|
|
1591
1591
|
}, [
|
|
@@ -1685,16 +1685,16 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1685
1685
|
const xe = Z.target.files[0];
|
|
1686
1686
|
console.log(xe), G("keydown", Z), xe && G("update:modelValue", xe);
|
|
1687
1687
|
};
|
|
1688
|
-
return (Z, xe) => (ue(),
|
|
1689
|
-
A.show ? (ue(),
|
|
1688
|
+
return (Z, xe) => (ue(), de(jn, null, [
|
|
1689
|
+
A.show ? (ue(), de("div", {
|
|
1690
1690
|
key: 0,
|
|
1691
1691
|
class: zt(A.field_name)
|
|
1692
1692
|
}, [
|
|
1693
1693
|
R("h3", aX, dt(A.label_name), 1),
|
|
1694
1694
|
R("p", lX, dt(A.type == "password" ? A.modelValue.replace(/./g, "*") : A.modelValue), 1),
|
|
1695
1695
|
cX
|
|
1696
|
-
], 2)) :
|
|
1697
|
-
A.show ?
|
|
1696
|
+
], 2)) : qe("", !0),
|
|
1697
|
+
A.show ? qe("", !0) : (ue(), de("div", {
|
|
1698
1698
|
key: 1,
|
|
1699
1699
|
class: zt(A.field_name)
|
|
1700
1700
|
}, [
|
|
@@ -1744,11 +1744,11 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1744
1744
|
K(), window.addEventListener("hashchange", K);
|
|
1745
1745
|
}), jB(() => {
|
|
1746
1746
|
window.removeEventListener("hashchange", K);
|
|
1747
|
-
}), ($e, lt) => (ue(),
|
|
1747
|
+
}), ($e, lt) => (ue(), de(jn, null, [
|
|
1748
1748
|
R("div", fX, [
|
|
1749
1749
|
R("div", gX, [
|
|
1750
1750
|
R("ul", hX, [
|
|
1751
|
-
(ue(!0),
|
|
1751
|
+
(ue(!0), de(jn, null, Ks(ne.value, (yt) => (ue(), de("li", {
|
|
1752
1752
|
key: yt.title,
|
|
1753
1753
|
onClick: (hn) => Z.value = yt.title,
|
|
1754
1754
|
class: "flex-auto -mb-px text-center"
|
|
@@ -1786,9 +1786,9 @@ const Dce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1786
1786
|
class: "block"
|
|
1787
1787
|
};
|
|
1788
1788
|
function CX(A, oe, G, _e, ne, Z) {
|
|
1789
|
-
return G.title == _e.selectedTitle ? (ue(),
|
|
1789
|
+
return G.title == _e.selectedTitle ? (ue(), de("div", xX, [
|
|
1790
1790
|
Zi(A.$slots, "default")
|
|
1791
|
-
])) :
|
|
1791
|
+
])) : qe("", !0);
|
|
1792
1792
|
}
|
|
1793
1793
|
const Fce = /* @__PURE__ */ zr(wX, [["render", CX]]), _X = {
|
|
1794
1794
|
props: {
|
|
@@ -2075,22 +2075,22 @@ const Fce = /* @__PURE__ */ zr(wX, [["render", CX]]), _X = {
|
|
|
2075
2075
|
kJ
|
|
2076
2076
|
];
|
|
2077
2077
|
function EJ(A, oe, G, _e, ne, Z) {
|
|
2078
|
-
return ue(),
|
|
2078
|
+
return ue(), de("div", null, [
|
|
2079
2079
|
R("div", {
|
|
2080
2080
|
class: zt(["", !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_outside_slider" ? "flex" : "relative block"]),
|
|
2081
2081
|
id: "mainSliderContainer_" + A.Random_string
|
|
2082
2082
|
}, [
|
|
2083
|
-
A.dotsNum > 0 && !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_outside_slider" ? (ue(),
|
|
2083
|
+
A.dotsNum > 0 && !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_outside_slider" ? (ue(), de("div", kX, [
|
|
2084
2084
|
R("div", TX, [
|
|
2085
2085
|
R("button", {
|
|
2086
2086
|
class: "p-3 mr-5 rounded-full shadow-lg arrow_button_styles",
|
|
2087
2087
|
onClick: oe[0] || (oe[0] = (xe) => Z.prev())
|
|
2088
2088
|
}, [
|
|
2089
|
-
G.direction_property == "ltr" ? (ue(),
|
|
2090
|
-
G.direction_property == "rtl" ? (ue(),
|
|
2089
|
+
G.direction_property == "ltr" ? (ue(), de("svg", EX, DX)) : qe("", !0),
|
|
2090
|
+
G.direction_property == "rtl" ? (ue(), de("svg", OX, $X)) : qe("", !0)
|
|
2091
2091
|
])
|
|
2092
2092
|
])
|
|
2093
|
-
])) :
|
|
2093
|
+
])) : qe("", !0),
|
|
2094
2094
|
R("div", {
|
|
2095
2095
|
class: zt(["overflow-hidden flex flex-col gap-3", Z.sliderContainerAction()]),
|
|
2096
2096
|
id: "sliderContainer_" + A.Random_string
|
|
@@ -2099,7 +2099,7 @@ function EJ(A, oe, G, _e, ne, Z) {
|
|
|
2099
2099
|
class: zt(["flex", G.elements_to_show_prop == 1 ? "" : "gap-7"]),
|
|
2100
2100
|
id: "slider_" + A.Random_string
|
|
2101
2101
|
}, [
|
|
2102
|
-
A.dotsNum > 0 && !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (ue(),
|
|
2102
|
+
A.dotsNum > 0 && !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (ue(), de("div", {
|
|
2103
2103
|
key: 0,
|
|
2104
2104
|
class: zt(["items-center justify-center hidden arrow_button xl:flex xxl:flex md:flex sm:flex", G.direction_property == "rtl" ? "arrow_button_next" : "arrow_button_prev"])
|
|
2105
2105
|
}, [
|
|
@@ -2108,13 +2108,13 @@ function EJ(A, oe, G, _e, ne, Z) {
|
|
|
2108
2108
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2109
2109
|
onClick: oe[1] || (oe[1] = za((xe) => Z.prev(), ["stop"]))
|
|
2110
2110
|
}, [
|
|
2111
|
-
G.direction_property == "ltr" ? (ue(),
|
|
2112
|
-
G.direction_property == "rtl" ? (ue(),
|
|
2111
|
+
G.direction_property == "ltr" ? (ue(), de("svg", NX, LX)) : qe("", !0),
|
|
2112
|
+
G.direction_property == "rtl" ? (ue(), de("svg", FX, VX)) : qe("", !0)
|
|
2113
2113
|
])
|
|
2114
2114
|
])
|
|
2115
|
-
], 2)) :
|
|
2115
|
+
], 2)) : qe("", !0),
|
|
2116
2116
|
Zi(A.$slots, "default", {}, void 0, !0),
|
|
2117
|
-
A.dotsNum > 0 && !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (ue(),
|
|
2117
|
+
A.dotsNum > 0 && !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (ue(), de("div", {
|
|
2118
2118
|
key: 1,
|
|
2119
2119
|
class: zt(["items-center justify-center hidden xl:flex xxl:flex md:flex sm:flex arrow_button", G.direction_property == "rtl" ? "arrow_button_prev" : "arrow_button_next"])
|
|
2120
2120
|
}, [
|
|
@@ -2123,43 +2123,43 @@ function EJ(A, oe, G, _e, ne, Z) {
|
|
|
2123
2123
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2124
2124
|
onClick: oe[2] || (oe[2] = za((xe) => Z.next(), ["stop"]))
|
|
2125
2125
|
}, [
|
|
2126
|
-
G.direction_property == "ltr" ? (ue(),
|
|
2127
|
-
G.direction_property == "rtl" ? (ue(),
|
|
2126
|
+
G.direction_property == "ltr" ? (ue(), de("svg", UX, ZX)) : qe("", !0),
|
|
2127
|
+
G.direction_property == "rtl" ? (ue(), de("svg", jX, qX)) : qe("", !0)
|
|
2128
2128
|
])
|
|
2129
2129
|
])
|
|
2130
|
-
], 2)) :
|
|
2130
|
+
], 2)) : qe("", !0)
|
|
2131
2131
|
], 10, PX),
|
|
2132
|
-
G.slider_arrows_indicators_position != "arrows_indicators_below_slider" ? (ue(),
|
|
2132
|
+
G.slider_arrows_indicators_position != "arrows_indicators_below_slider" ? (ue(), de("div", {
|
|
2133
2133
|
key: 0,
|
|
2134
2134
|
class: zt(["flex justify-center mb-1 space-x-1", Z.sliderIndicatorsAction()])
|
|
2135
2135
|
}, [
|
|
2136
|
-
(ue(!0),
|
|
2136
|
+
(ue(!0), de(jn, null, Ks(A.dotsNum, (xe) => (ue(), de("button", {
|
|
2137
2137
|
role: "button",
|
|
2138
2138
|
class: zt(["gl-dot", { active: A.currentDot == xe }]),
|
|
2139
2139
|
key: xe,
|
|
2140
2140
|
onClick: (K) => Z.setDot(xe)
|
|
2141
2141
|
}, XX, 10, KX))), 128))
|
|
2142
|
-
], 2)) :
|
|
2143
|
-
G.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (ue(),
|
|
2142
|
+
], 2)) : qe("", !0),
|
|
2143
|
+
G.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (ue(), de("div", JX, [
|
|
2144
2144
|
R("div", {
|
|
2145
2145
|
class: zt(["flex justify-center mb-1 space-x-1", Z.sliderIndicatorsAction()])
|
|
2146
2146
|
}, [
|
|
2147
|
-
(ue(!0),
|
|
2147
|
+
(ue(!0), de(jn, null, Ks(A.dotsNum, (xe) => (ue(), de("button", {
|
|
2148
2148
|
role: "button",
|
|
2149
2149
|
class: zt(["gl-dot", { active: A.currentDot == xe }]),
|
|
2150
2150
|
key: xe,
|
|
2151
2151
|
onClick: (K) => Z.setDot(xe)
|
|
2152
2152
|
}, tJ, 10, QX))), 128))
|
|
2153
2153
|
], 2),
|
|
2154
|
-
A.dotsNum > 0 ? (ue(),
|
|
2154
|
+
A.dotsNum > 0 ? (ue(), de("div", nJ, [
|
|
2155
2155
|
R("div", oJ, [
|
|
2156
2156
|
R("div", sJ, [
|
|
2157
2157
|
R("button", {
|
|
2158
2158
|
class: zt(["p-3 rounded-full arrow_button_styles", G.direction_property == "rtl" ? "ml-3" : "mr-3"]),
|
|
2159
2159
|
onClick: oe[3] || (oe[3] = (xe) => Z.prev())
|
|
2160
2160
|
}, [
|
|
2161
|
-
G.direction_property == "ltr" ? (ue(),
|
|
2162
|
-
G.direction_property == "rtl" ? (ue(),
|
|
2161
|
+
G.direction_property == "ltr" ? (ue(), de("svg", rJ, lJ)) : qe("", !0),
|
|
2162
|
+
G.direction_property == "rtl" ? (ue(), de("svg", cJ, uJ)) : qe("", !0)
|
|
2163
2163
|
], 2)
|
|
2164
2164
|
])
|
|
2165
2165
|
]),
|
|
@@ -2169,25 +2169,25 @@ function EJ(A, oe, G, _e, ne, Z) {
|
|
|
2169
2169
|
class: "p-3 rounded-full arrow_button_styles",
|
|
2170
2170
|
onClick: oe[4] || (oe[4] = (xe) => Z.next())
|
|
2171
2171
|
}, [
|
|
2172
|
-
G.direction_property == "ltr" ? (ue(),
|
|
2173
|
-
G.direction_property == "rtl" ? (ue(),
|
|
2172
|
+
G.direction_property == "ltr" ? (ue(), de("svg", fJ, hJ)) : qe("", !0),
|
|
2173
|
+
G.direction_property == "rtl" ? (ue(), de("svg", pJ, vJ)) : qe("", !0)
|
|
2174
2174
|
])
|
|
2175
2175
|
])
|
|
2176
2176
|
])
|
|
2177
|
-
])) :
|
|
2178
|
-
])) :
|
|
2177
|
+
])) : qe("", !0)
|
|
2178
|
+
])) : qe("", !0)
|
|
2179
2179
|
], 10, MX),
|
|
2180
|
-
A.dotsNum > 0 && !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_outside_slider" ? (ue(),
|
|
2180
|
+
A.dotsNum > 0 && !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_outside_slider" ? (ue(), de("div", yJ, [
|
|
2181
2181
|
R("div", wJ, [
|
|
2182
2182
|
R("button", {
|
|
2183
2183
|
class: "p-3 ml-5 rounded-full shadow-lg arrow_button_styles",
|
|
2184
2184
|
onClick: oe[5] || (oe[5] = (xe) => Z.next())
|
|
2185
2185
|
}, [
|
|
2186
|
-
G.direction_property == "ltr" ? (ue(),
|
|
2187
|
-
G.direction_property == "rtl" ? (ue(),
|
|
2186
|
+
G.direction_property == "ltr" ? (ue(), de("svg", xJ, _J)) : qe("", !0),
|
|
2187
|
+
G.direction_property == "rtl" ? (ue(), de("svg", SJ, TJ)) : qe("", !0)
|
|
2188
2188
|
])
|
|
2189
2189
|
])
|
|
2190
|
-
])) :
|
|
2190
|
+
])) : qe("", !0)
|
|
2191
2191
|
], 10, SX)
|
|
2192
2192
|
]);
|
|
2193
2193
|
}
|
|
@@ -2502,22 +2502,22 @@ const Hce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-205c63
|
|
|
2502
2502
|
OQ
|
|
2503
2503
|
];
|
|
2504
2504
|
function $Q(A, oe, G, _e, ne, Z) {
|
|
2505
|
-
return ue(),
|
|
2505
|
+
return ue(), de("div", null, [
|
|
2506
2506
|
R("div", {
|
|
2507
2507
|
class: zt(["w-full", !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_outside_slider" ? "flex" : "relative block"]),
|
|
2508
2508
|
id: "mainSliderContainer_" + A.Random_string
|
|
2509
2509
|
}, [
|
|
2510
|
-
A.dotsNum > 0 && !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_outside_slider" ? (ue(),
|
|
2510
|
+
A.dotsNum > 0 && !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_outside_slider" ? (ue(), de("div", OJ, [
|
|
2511
2511
|
R("div", RJ, [
|
|
2512
2512
|
R("button", {
|
|
2513
2513
|
class: "p-3 mr-5 rounded-full shadow-lg arrow_button_styles",
|
|
2514
2514
|
onClick: oe[0] || (oe[0] = (xe) => Z.prev())
|
|
2515
2515
|
}, [
|
|
2516
|
-
G.direction_property == "ltr" ? (ue(),
|
|
2517
|
-
G.direction_property == "rtl" ? (ue(),
|
|
2516
|
+
G.direction_property == "ltr" ? (ue(), de("svg", $J, PJ)) : qe("", !0),
|
|
2517
|
+
G.direction_property == "rtl" ? (ue(), de("svg", BJ, IJ)) : qe("", !0)
|
|
2518
2518
|
])
|
|
2519
2519
|
])
|
|
2520
|
-
])) :
|
|
2520
|
+
])) : qe("", !0),
|
|
2521
2521
|
R("div", {
|
|
2522
2522
|
class: zt(["overflow-hidden flex flex-col gap-3 w-full w-12/12", Z.sliderContainerAction()]),
|
|
2523
2523
|
id: "sliderContainer_" + A.Random_string
|
|
@@ -2527,7 +2527,7 @@ function $Q(A, oe, G, _e, ne, Z) {
|
|
|
2527
2527
|
class: zt(["flex w-full", G.elements_to_show_prop == 1 ? "" : "gap-7"]),
|
|
2528
2528
|
id: "slider_" + A.Random_string
|
|
2529
2529
|
}, [
|
|
2530
|
-
A.dotsNum > 0 && !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (ue(),
|
|
2530
|
+
A.dotsNum > 0 && !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (ue(), de("div", {
|
|
2531
2531
|
key: 0,
|
|
2532
2532
|
class: zt(["items-center justify-center hidden arrow_button xl:flex xxl:flex md:flex sm:flex", G.direction_property == "rtl" ? "arrow_button_next" : "arrow_button_prev"])
|
|
2533
2533
|
}, [
|
|
@@ -2536,13 +2536,13 @@ function $Q(A, oe, G, _e, ne, Z) {
|
|
|
2536
2536
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2537
2537
|
onClick: oe[1] || (oe[1] = za((xe) => Z.prev(), ["stop"]))
|
|
2538
2538
|
}, [
|
|
2539
|
-
G.direction_property == "ltr" ? (ue(),
|
|
2540
|
-
G.direction_property == "rtl" ? (ue(),
|
|
2539
|
+
G.direction_property == "ltr" ? (ue(), de("svg", VJ, UJ)) : qe("", !0),
|
|
2540
|
+
G.direction_property == "rtl" ? (ue(), de("svg", WJ, jJ)) : qe("", !0)
|
|
2541
2541
|
])
|
|
2542
2542
|
])
|
|
2543
|
-
], 2)) :
|
|
2543
|
+
], 2)) : qe("", !0),
|
|
2544
2544
|
Zi(A.$slots, "default", {}, void 0, !0),
|
|
2545
|
-
A.dotsNum > 0 && !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (ue(),
|
|
2545
|
+
A.dotsNum > 0 && !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (ue(), de("div", {
|
|
2546
2546
|
key: 1,
|
|
2547
2547
|
class: zt(["items-center justify-center hidden xl:flex xxl:flex md:flex sm:flex arrow_button", G.direction_property == "rtl" ? "arrow_button_prev" : "arrow_button_next"])
|
|
2548
2548
|
}, [
|
|
@@ -2551,43 +2551,43 @@ function $Q(A, oe, G, _e, ne, Z) {
|
|
|
2551
2551
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2552
2552
|
onClick: oe[2] || (oe[2] = za((xe) => Z.next(), ["stop"]))
|
|
2553
2553
|
}, [
|
|
2554
|
-
G.direction_property == "ltr" ? (ue(),
|
|
2555
|
-
G.direction_property == "rtl" ? (ue(),
|
|
2554
|
+
G.direction_property == "ltr" ? (ue(), de("svg", qJ, YJ)) : qe("", !0),
|
|
2555
|
+
G.direction_property == "rtl" ? (ue(), de("svg", XJ, QJ)) : qe("", !0)
|
|
2556
2556
|
])
|
|
2557
2557
|
])
|
|
2558
|
-
], 2)) :
|
|
2558
|
+
], 2)) : qe("", !0)
|
|
2559
2559
|
], 10, FJ),
|
|
2560
|
-
!G.hide_indicators && G.slider_arrows_indicators_position != "arrows_indicators_below_slider" ? (ue(),
|
|
2560
|
+
!G.hide_indicators && G.slider_arrows_indicators_position != "arrows_indicators_below_slider" ? (ue(), de("div", {
|
|
2561
2561
|
key: 0,
|
|
2562
2562
|
class: zt(["flex justify-center mb-1 space-x-1", Z.sliderIndicatorsAction()])
|
|
2563
2563
|
}, [
|
|
2564
|
-
(ue(!0),
|
|
2564
|
+
(ue(!0), de(jn, null, Ks(A.dotsNum, (xe) => (ue(), de("button", {
|
|
2565
2565
|
role: "button",
|
|
2566
2566
|
class: zt(["gl-dot", { active: A.currentDot == xe }]),
|
|
2567
2567
|
key: xe,
|
|
2568
2568
|
onClick: (K) => Z.setDot(xe)
|
|
2569
2569
|
}, nQ, 10, eQ))), 128))
|
|
2570
|
-
], 2)) :
|
|
2571
|
-
!G.hide_indicators && G.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (ue(),
|
|
2570
|
+
], 2)) : qe("", !0),
|
|
2571
|
+
!G.hide_indicators && G.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (ue(), de("div", oQ, [
|
|
2572
2572
|
R("div", {
|
|
2573
2573
|
class: zt(["flex justify-center mb-1 space-x-1", Z.sliderIndicatorsAction()])
|
|
2574
2574
|
}, [
|
|
2575
|
-
(ue(!0),
|
|
2575
|
+
(ue(!0), de(jn, null, Ks(A.dotsNum, (xe) => (ue(), de("button", {
|
|
2576
2576
|
role: "button",
|
|
2577
2577
|
class: zt(["gl-dot", { active: A.currentDot == xe }]),
|
|
2578
2578
|
key: xe,
|
|
2579
2579
|
onClick: (K) => Z.setDot(xe)
|
|
2580
2580
|
}, aQ, 10, sQ))), 128))
|
|
2581
2581
|
], 2),
|
|
2582
|
-
A.dotsNum > 0 ? (ue(),
|
|
2582
|
+
A.dotsNum > 0 ? (ue(), de("div", lQ, [
|
|
2583
2583
|
R("div", cQ, [
|
|
2584
2584
|
R("div", iQ, [
|
|
2585
2585
|
R("button", {
|
|
2586
2586
|
class: zt(["p-3 rounded-full arrow_button_styles", G.direction_property == "rtl" ? "ml-3" : "mr-3"]),
|
|
2587
2587
|
onClick: oe[3] || (oe[3] = (xe) => Z.prev())
|
|
2588
2588
|
}, [
|
|
2589
|
-
G.direction_property == "ltr" ? (ue(),
|
|
2590
|
-
G.direction_property == "rtl" ? (ue(),
|
|
2589
|
+
G.direction_property == "ltr" ? (ue(), de("svg", uQ, mQ)) : qe("", !0),
|
|
2590
|
+
G.direction_property == "rtl" ? (ue(), de("svg", fQ, hQ)) : qe("", !0)
|
|
2591
2591
|
], 2)
|
|
2592
2592
|
])
|
|
2593
2593
|
]),
|
|
@@ -2597,25 +2597,25 @@ function $Q(A, oe, G, _e, ne, Z) {
|
|
|
2597
2597
|
class: "p-3 rounded-full arrow_button_styles",
|
|
2598
2598
|
onClick: oe[4] || (oe[4] = (xe) => Z.next())
|
|
2599
2599
|
}, [
|
|
2600
|
-
G.direction_property == "ltr" ? (ue(),
|
|
2601
|
-
G.direction_property == "rtl" ? (ue(),
|
|
2600
|
+
G.direction_property == "ltr" ? (ue(), de("svg", vQ, wQ)) : qe("", !0),
|
|
2601
|
+
G.direction_property == "rtl" ? (ue(), de("svg", xQ, _Q)) : qe("", !0)
|
|
2602
2602
|
])
|
|
2603
2603
|
])
|
|
2604
2604
|
])
|
|
2605
|
-
])) :
|
|
2606
|
-
])) :
|
|
2605
|
+
])) : qe("", !0)
|
|
2606
|
+
])) : qe("", !0)
|
|
2607
2607
|
], 10, LJ),
|
|
2608
|
-
A.dotsNum > 0 && !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_outside_slider" ? (ue(),
|
|
2608
|
+
A.dotsNum > 0 && !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_outside_slider" ? (ue(), de("div", SQ, [
|
|
2609
2609
|
R("div", kQ, [
|
|
2610
2610
|
R("button", {
|
|
2611
2611
|
class: "p-3 ml-5 rounded-full shadow-lg arrow_button_styles",
|
|
2612
2612
|
onClick: oe[5] || (oe[5] = (xe) => Z.next())
|
|
2613
2613
|
}, [
|
|
2614
|
-
G.direction_property == "ltr" ? (ue(),
|
|
2615
|
-
G.direction_property == "rtl" ? (ue(),
|
|
2614
|
+
G.direction_property == "ltr" ? (ue(), de("svg", TQ, AQ)) : qe("", !0),
|
|
2615
|
+
G.direction_property == "rtl" ? (ue(), de("svg", DQ, RQ)) : qe("", !0)
|
|
2616
2616
|
])
|
|
2617
2617
|
])
|
|
2618
|
-
])) :
|
|
2618
|
+
])) : qe("", !0)
|
|
2619
2619
|
], 10, DJ)
|
|
2620
2620
|
]);
|
|
2621
2621
|
}
|
|
@@ -2684,7 +2684,7 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
2684
2684
|
K ? ne() : Z();
|
|
2685
2685
|
},
|
|
2686
2686
|
{ immediate: !0, deep: !0 }
|
|
2687
|
-
), (K, $e) => A.is_open ? (ue(),
|
|
2687
|
+
), (K, $e) => A.is_open ? (ue(), de("div", {
|
|
2688
2688
|
key: 0,
|
|
2689
2689
|
class: zt(["fixed left-0 top-13 h-full w-full overflow-y-auto overflow-x-hidden outline-none inset-0 bg-black !bg-opacity-80", A.has_large_z_index ? "z-[9999]" : "z-[1055]"]),
|
|
2690
2690
|
tabindex: "-1",
|
|
@@ -2703,7 +2703,7 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
2703
2703
|
"aria-label": "Close"
|
|
2704
2704
|
}, IQ)
|
|
2705
2705
|
]),
|
|
2706
|
-
A.is_loading ? (ue(),
|
|
2706
|
+
A.is_loading ? (ue(), de("div", LQ, HQ)) : qe("", !0),
|
|
2707
2707
|
fr(R("div", {
|
|
2708
2708
|
class: zt(["relative overflow-y-auto", A.bodyClass])
|
|
2709
2709
|
}, [
|
|
@@ -2723,9 +2723,12 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
2723
2723
|
])
|
|
2724
2724
|
])
|
|
2725
2725
|
], 2)
|
|
2726
|
-
], 2)) :
|
|
2726
|
+
], 2)) : qe("", !0);
|
|
2727
2727
|
}
|
|
2728
|
-
}, zQ = { class: "pointer-events-auto relative flex
|
|
2728
|
+
}, zQ = { class: "pointer-events-auto relative flex w-full flex-col text-current shadow-4 outline-none bg-white border rounded-lg border-stroke dark:border-strokedark dark:bg-boxdark" }, UQ = {
|
|
2729
|
+
key: 0,
|
|
2730
|
+
class: "flex items-center justify-between flex-shrink-0 pt-10 pb-3 pl-3 pr-3 border-b-2 dark:border-gray-600"
|
|
2731
|
+
}, WQ = { class: "text-xl font-medium leading-normal text-surface dark:text-white" }, ZQ = /* @__PURE__ */ R("span", { class: "[&>svg]:h-6 [&>svg]:w-6" }, [
|
|
2729
2732
|
/* @__PURE__ */ R("svg", {
|
|
2730
2733
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2731
2734
|
fill: "currentColor",
|
|
@@ -2742,12 +2745,15 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
2742
2745
|
], -1), jQ = [
|
|
2743
2746
|
ZQ
|
|
2744
2747
|
], GQ = {
|
|
2745
|
-
key:
|
|
2748
|
+
key: 1,
|
|
2746
2749
|
role: "status",
|
|
2747
2750
|
class: "max-w-full p-4 border border-gray-200 rounded shadow animate-pulse md:p-6 dark:border-gray-700"
|
|
2748
2751
|
}, qQ = /* @__PURE__ */ ZB('<div class="flex items-center justify-center h-48 mb-4 bg-gray-300 rounded dark:bg-gray-700"><svg class="w-10 h-10 text-gray-200 dark:text-gray-600" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 16 20"><path d="M14.066 0H7v5a2 2 0 0 1-2 2H0v11a1.97 1.97 0 0 0 1.934 2h12.132A1.97 1.97 0 0 0 16 18V2a1.97 1.97 0 0 0-1.934-2ZM10.5 6a1.5 1.5 0 1 1 0 2.999A1.5 1.5 0 0 1 10.5 6Zm2.221 10.515a1 1 0 0 1-.858.485h-8a1 1 0 0 1-.9-1.43L5.6 10.039a.978.978 0 0 1 .936-.57 1 1 0 0 1 .9.632l1.181 2.981.541-1a.945.945 0 0 1 .883-.522 1 1 0 0 1 .879.529l1.832 3.438a1 1 0 0 1-.031.988Z"></path><path d="M5 5V.13a2.96 2.96 0 0 0-1.293.749L.879 3.707A2.98 2.98 0 0 0 .13 5H5Z"></path></svg></div><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-700 w-48 mb-4"></div><div class="h-2 bg-gray-200 rounded-full dark:bg-gray-700 mb-2.5"></div><div class="h-2 bg-gray-200 rounded-full dark:bg-gray-700 mb-2.5"></div><div class="h-2 bg-gray-200 rounded-full dark:bg-gray-700"></div><div class="flex items-center mt-4"><svg class="w-10 h-10 me-3 text-gray-200 dark:text-gray-700" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 20"><path d="M10 0a10 10 0 1 0 10 10A10.011 10.011 0 0 0 10 0Zm0 5a3 3 0 1 1 0 6 3 3 0 0 1 0-6Zm0 13a8.949 8.949 0 0 1-4.951-1.488A3.987 3.987 0 0 1 9 13h2a3.987 3.987 0 0 1 3.951 3.512A8.949 8.949 0 0 1 10 18Z"></path></svg><div><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-700 w-32 mb-2"></div><div class="w-48 h-2 bg-gray-200 rounded-full dark:bg-gray-700"></div></div></div><span class="sr-only">Loading...</span>', 7), KQ = [
|
|
2749
2752
|
qQ
|
|
2750
|
-
], YQ = {
|
|
2753
|
+
], YQ = {
|
|
2754
|
+
key: 2,
|
|
2755
|
+
class: "flex flex-wrap items-center justify-end flex-shrink-0 p-4 border-t-2 rounded-b-md border-neutral-100 dark:border-gray-600"
|
|
2756
|
+
}, Uce = {
|
|
2751
2757
|
__name: "GlModalWithoutOverflow",
|
|
2752
2758
|
props: {
|
|
2753
2759
|
is_open: {
|
|
@@ -2762,6 +2768,14 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
2762
2768
|
type: Boolean,
|
|
2763
2769
|
default: !1
|
|
2764
2770
|
},
|
|
2771
|
+
has_header: {
|
|
2772
|
+
type: Boolean,
|
|
2773
|
+
default: !0
|
|
2774
|
+
},
|
|
2775
|
+
has_footer: {
|
|
2776
|
+
type: Boolean,
|
|
2777
|
+
default: !0
|
|
2778
|
+
},
|
|
2765
2779
|
title: {
|
|
2766
2780
|
type: String,
|
|
2767
2781
|
default: ""
|
|
@@ -2790,17 +2804,17 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
2790
2804
|
K ? ne() : Z();
|
|
2791
2805
|
},
|
|
2792
2806
|
{ immediate: !0, deep: !0 }
|
|
2793
|
-
), (K, $e) => A.is_open ? (ue(),
|
|
2807
|
+
), (K, $e) => A.is_open ? (ue(), de("div", {
|
|
2794
2808
|
key: 0,
|
|
2795
|
-
class: zt(["fixed left-0 top-13 h-full w-full overflow-y-auto
|
|
2809
|
+
class: zt(["fixed left-0 top-13 h-full w-full overflow-y-auto outline-none inset-0 bg-black !bg-opacity-80", A.has_large_z_index ? "z-[9999]" : "z-[1055]"]),
|
|
2796
2810
|
tabindex: "-1",
|
|
2797
2811
|
"aria-hidden": "true"
|
|
2798
2812
|
}, [
|
|
2799
2813
|
R("div", {
|
|
2800
|
-
class: zt(["pointer-events-none relative
|
|
2814
|
+
class: zt(["pointer-events-none relative w-auto translate-y-[-50px] transition-all duration-300 ease-in-out min-[576px]:mx-auto mt-7", A.max_width])
|
|
2801
2815
|
}, [
|
|
2802
2816
|
R("div", zQ, [
|
|
2803
|
-
|
|
2817
|
+
A.has_header ? (ue(), de("div", UQ, [
|
|
2804
2818
|
R("h5", WQ, dt(A.title), 1),
|
|
2805
2819
|
R("button", {
|
|
2806
2820
|
type: "button",
|
|
@@ -2808,8 +2822,8 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
2808
2822
|
onClick: xe,
|
|
2809
2823
|
"aria-label": "Close"
|
|
2810
2824
|
}, jQ)
|
|
2811
|
-
]),
|
|
2812
|
-
A.is_loading ? (ue(),
|
|
2825
|
+
])) : qe("", !0),
|
|
2826
|
+
A.is_loading ? (ue(), de("div", GQ, KQ)) : qe("", !0),
|
|
2813
2827
|
fr(R("div", {
|
|
2814
2828
|
class: zt(["relative", A.bodyClass])
|
|
2815
2829
|
}, [
|
|
@@ -2817,19 +2831,19 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
2817
2831
|
], 2), [
|
|
2818
2832
|
[kf, !A.is_loading]
|
|
2819
2833
|
]),
|
|
2820
|
-
fr(
|
|
2834
|
+
A.has_footer ? fr((ue(), de("div", YQ, [
|
|
2821
2835
|
Zi(K.$slots, "buttons"),
|
|
2822
2836
|
R("button", {
|
|
2823
2837
|
onClick: xe,
|
|
2824
2838
|
type: "button",
|
|
2825
2839
|
class: "px-5 py-2 text-sm font-medium text-gray-500 bg-white border border-gray-200 rounded-lg ms-3 hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-blue-300 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"
|
|
2826
2840
|
}, " Close ")
|
|
2827
|
-
], 512), [
|
|
2841
|
+
], 512)), [
|
|
2828
2842
|
[kf, !A.is_loading]
|
|
2829
|
-
])
|
|
2843
|
+
]) : qe("", !0)
|
|
2830
2844
|
])
|
|
2831
2845
|
], 2)
|
|
2832
|
-
], 2)) :
|
|
2846
|
+
], 2)) : qe("", !0);
|
|
2833
2847
|
}
|
|
2834
2848
|
}, XQ = { class: "pointer-events-auto relative flex max-h-[100%] w-full flex-col overflow-hidden text-current shadow-4 outline-none bg-white border rounded-lg border-stroke dark:border-strokedark dark:bg-boxdark" }, JQ = { class: "flex items-center justify-between flex-shrink-0 pt-10 pb-3 pl-3 pr-3 border-b-2 dark:border-gray-600" }, QQ = { class: "text-xl font-medium leading-normal text-surface dark:text-white" }, eee = /* @__PURE__ */ R("span", { class: "[&>svg]:h-6 [&>svg]:w-6" }, [
|
|
2835
2849
|
/* @__PURE__ */ R("svg", {
|
|
@@ -2896,7 +2910,7 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
2896
2910
|
K ? ne() : Z();
|
|
2897
2911
|
},
|
|
2898
2912
|
{ immediate: !0, deep: !0 }
|
|
2899
|
-
), (K, $e) => fr((ue(),
|
|
2913
|
+
), (K, $e) => fr((ue(), de("div", {
|
|
2900
2914
|
class: zt(["fixed left-0 top-13 h-full w-full overflow-y-auto overflow-x-hidden outline-none inset-0 bg-black !bg-opacity-80", A.has_large_z_index ? "z-[9999]" : "z-[1055]"]),
|
|
2901
2915
|
tabindex: "-1",
|
|
2902
2916
|
"aria-hidden": "true"
|
|
@@ -2914,7 +2928,7 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
2914
2928
|
"aria-label": "Close"
|
|
2915
2929
|
}, tee)
|
|
2916
2930
|
]),
|
|
2917
|
-
A.is_loading ? (ue(),
|
|
2931
|
+
A.is_loading ? (ue(), de("div", nee, see)) : qe("", !0),
|
|
2918
2932
|
fr(R("div", {
|
|
2919
2933
|
class: zt(["relative overflow-y-auto", A.bodyClass])
|
|
2920
2934
|
}, [
|
|
@@ -2995,8 +3009,8 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
2995
3009
|
_e("update:modelValue", xe);
|
|
2996
3010
|
}
|
|
2997
3011
|
});
|
|
2998
|
-
return (xe, K) => (ue(),
|
|
2999
|
-
A.show ? (ue(),
|
|
3012
|
+
return (xe, K) => (ue(), de(jn, null, [
|
|
3013
|
+
A.show ? (ue(), de("div", {
|
|
3000
3014
|
key: 0,
|
|
3001
3015
|
class: zt(A.field_name)
|
|
3002
3016
|
}, [
|
|
@@ -3021,14 +3035,14 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3021
3035
|
])
|
|
3022
3036
|
]),
|
|
3023
3037
|
uee
|
|
3024
|
-
], 2)) :
|
|
3025
|
-
A.show ?
|
|
3038
|
+
], 2)) : qe("", !0),
|
|
3039
|
+
A.show ? qe("", !0) : (ue(), de("div", {
|
|
3026
3040
|
key: 1,
|
|
3027
3041
|
class: zt(A.field_name)
|
|
3028
3042
|
}, [
|
|
3029
|
-
A.has_label_up ? (ue(),
|
|
3043
|
+
A.has_label_up ? (ue(), de("div", dee, [
|
|
3030
3044
|
R("label", mee, dt(A.label_name), 1)
|
|
3031
|
-
])) :
|
|
3045
|
+
])) : qe("", !0),
|
|
3032
3046
|
R("li", fee, [
|
|
3033
3047
|
Zn(dt(A.label_name) + " ", 1),
|
|
3034
3048
|
R("label", gee, [
|
|
@@ -3106,8 +3120,8 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3106
3120
|
_e("update:modelValue", xe);
|
|
3107
3121
|
}
|
|
3108
3122
|
});
|
|
3109
|
-
return (xe, K) => (ue(),
|
|
3110
|
-
A.show ? (ue(),
|
|
3123
|
+
return (xe, K) => (ue(), de(jn, null, [
|
|
3124
|
+
A.show ? (ue(), de("div", {
|
|
3111
3125
|
key: 0,
|
|
3112
3126
|
class: zt(A.field_name)
|
|
3113
3127
|
}, [
|
|
@@ -3130,14 +3144,14 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3130
3144
|
])
|
|
3131
3145
|
]),
|
|
3132
3146
|
_ee
|
|
3133
|
-
], 2)) :
|
|
3134
|
-
A.show ?
|
|
3147
|
+
], 2)) : qe("", !0),
|
|
3148
|
+
A.show ? qe("", !0) : (ue(), de("div", {
|
|
3135
3149
|
key: 1,
|
|
3136
3150
|
class: zt(A.field_name)
|
|
3137
3151
|
}, [
|
|
3138
|
-
A.has_label_up ? (ue(),
|
|
3152
|
+
A.has_label_up ? (ue(), de("div", See, [
|
|
3139
3153
|
R("label", kee, dt(A.label_name), 1)
|
|
3140
|
-
])) :
|
|
3154
|
+
])) : qe("", !0),
|
|
3141
3155
|
R("li", Tee, [
|
|
3142
3156
|
Zn(dt(A.label_name) + " ", 1),
|
|
3143
3157
|
R("label", Eee, [
|
|
@@ -3396,8 +3410,8 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3396
3410
|
{ immediate: !0, deep: !0 }
|
|
3397
3411
|
), (Xt, Cn) => {
|
|
3398
3412
|
var Nt, D, go;
|
|
3399
|
-
return ue(),
|
|
3400
|
-
A.show ? (ue(),
|
|
3413
|
+
return ue(), de(jn, null, [
|
|
3414
|
+
A.show ? (ue(), de("div", {
|
|
3401
3415
|
key: 0,
|
|
3402
3416
|
class: zt(A.field_name)
|
|
3403
3417
|
}, [
|
|
@@ -3406,8 +3420,8 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3406
3420
|
R("span", Pee, dt((Nt = ne.value) == null ? void 0 : Nt.name), 1)
|
|
3407
3421
|
]),
|
|
3408
3422
|
Bee
|
|
3409
|
-
], 2)) :
|
|
3410
|
-
A.show ?
|
|
3423
|
+
], 2)) : qe("", !0),
|
|
3424
|
+
A.show ? qe("", !0) : (ue(), de("div", {
|
|
3411
3425
|
key: 1,
|
|
3412
3426
|
class: zt(A.field_name)
|
|
3413
3427
|
}, [
|
|
@@ -3417,15 +3431,15 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3417
3431
|
id: A.field_name,
|
|
3418
3432
|
value: (D = ne.value) == null ? void 0 : D.id
|
|
3419
3433
|
}, null, 8, Nee),
|
|
3420
|
-
A.options ? (ue(),
|
|
3421
|
-
A.label_name ? (ue(),
|
|
3434
|
+
A.options ? (ue(), de("div", Iee, [
|
|
3435
|
+
A.label_name ? (ue(), de("label", {
|
|
3422
3436
|
key: 0,
|
|
3423
3437
|
class: zt({
|
|
3424
3438
|
"gl-label-form": A.error_message == "",
|
|
3425
3439
|
"gl-label-form-invalid": A.error_message !== "",
|
|
3426
3440
|
required: A.is_required
|
|
3427
3441
|
})
|
|
3428
|
-
}, dt(A.label_name), 3)) :
|
|
3442
|
+
}, dt(A.label_name), 3)) : qe("", !0),
|
|
3429
3443
|
R("div", {
|
|
3430
3444
|
ref_key: "myDivDropDown",
|
|
3431
3445
|
ref: yt,
|
|
@@ -3481,9 +3495,9 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3481
3495
|
])
|
|
3482
3496
|
]),
|
|
3483
3497
|
R("div", Gee, [
|
|
3484
|
-
(ue(!0),
|
|
3498
|
+
(ue(!0), de(jn, null, Ks(eo.value, (ot, Ht) => {
|
|
3485
3499
|
var _t;
|
|
3486
|
-
return ue(),
|
|
3500
|
+
return ue(), de("div", {
|
|
3487
3501
|
class: zt([
|
|
3488
3502
|
"relative px-2 py-2 text-xs leading-4 text-gray-700 no-underline cursor-pointer dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white",
|
|
3489
3503
|
Ht + 1 == xe.value ? "bg-gray-100 dark:bg-gray-600" : ""
|
|
@@ -3494,7 +3508,7 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3494
3508
|
id: `${Ht + 1}${lt.value}`
|
|
3495
3509
|
}, [
|
|
3496
3510
|
R("div", Kee, [
|
|
3497
|
-
((_t = ne.value) == null ? void 0 : _t.id) === ot.id ? (ue(),
|
|
3511
|
+
((_t = ne.value) == null ? void 0 : _t.id) === ot.id ? (ue(), de("svg", Yee, Jee)) : qe("", !0),
|
|
3498
3512
|
R("span", {
|
|
3499
3513
|
innerHTML: ot.name || ot.id || "-"
|
|
3500
3514
|
}, null, 8, Qee)
|
|
@@ -3507,7 +3521,7 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3507
3521
|
])
|
|
3508
3522
|
])
|
|
3509
3523
|
], 512)
|
|
3510
|
-
])) :
|
|
3524
|
+
])) : qe("", !0),
|
|
3511
3525
|
R("span", ete, dt(A.error_message), 1),
|
|
3512
3526
|
R("small", tte, dt(A.description), 1)
|
|
3513
3527
|
], 2))
|
|
@@ -3572,8 +3586,8 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3572
3586
|
ne("update:modelValue", K);
|
|
3573
3587
|
}
|
|
3574
3588
|
});
|
|
3575
|
-
return oe({ focus: () => Z.value.focus() }), (K, $e) => (ue(),
|
|
3576
|
-
A.show ? (ue(),
|
|
3589
|
+
return oe({ focus: () => Z.value.focus() }), (K, $e) => (ue(), de(jn, null, [
|
|
3590
|
+
A.show ? (ue(), de("div", {
|
|
3577
3591
|
key: 0,
|
|
3578
3592
|
class: zt(A.field_name)
|
|
3579
3593
|
}, [
|
|
@@ -3583,8 +3597,8 @@ const Vce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-bb117e
|
|
|
3583
3597
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
3584
3598
|
}, dt(A.model_value), 9, ste),
|
|
3585
3599
|
rte
|
|
3586
|
-
], 2)) :
|
|
3587
|
-
A.show ?
|
|
3600
|
+
], 2)) : qe("", !0),
|
|
3601
|
+
A.show ? qe("", !0) : (ue(), de("div", {
|
|
3588
3602
|
key: 1,
|
|
3589
3603
|
class: zt(["mb-4", A.field_name])
|
|
3590
3604
|
}, [
|
|
@@ -3786,7 +3800,7 @@ var cq = { exports: {} };
|
|
|
3786
3800
|
const tl = Array.prototype.slice, so = Array.prototype.indexOf, rs = Array.prototype.push, Wo = (e, n) => so.call(e, n), ji = (e, n) => {
|
|
3787
3801
|
const o = Wo(e, n);
|
|
3788
3802
|
return o === -1 ? z.none() : z.some(o);
|
|
3789
|
-
},
|
|
3803
|
+
}, Ke = (e, n) => Wo(e, n) > -1, Rt = (e, n) => {
|
|
3790
3804
|
for (let o = 0, r = e.length; o < r; o++) {
|
|
3791
3805
|
const l = e[o];
|
|
3792
3806
|
if (n(l, o))
|
|
@@ -3865,7 +3879,7 @@ var cq = { exports: {} };
|
|
|
3865
3879
|
}, bs = (e) => {
|
|
3866
3880
|
const n = tl.call(e, 0);
|
|
3867
3881
|
return n.reverse(), n;
|
|
3868
|
-
}, Gi = (e, n) => Ut(e, (o) => !
|
|
3882
|
+
}, Gi = (e, n) => Ut(e, (o) => !Ke(n, o)), ds = (e, n) => {
|
|
3869
3883
|
const o = {};
|
|
3870
3884
|
for (let r = 0, l = e.length; r < l; r++) {
|
|
3871
3885
|
const u = e[r];
|
|
@@ -3883,7 +3897,7 @@ var cq = { exports: {} };
|
|
|
3883
3897
|
}
|
|
3884
3898
|
return z.none();
|
|
3885
3899
|
}, di = (e, n) => {
|
|
3886
|
-
const o = [], r = pe(n) ? (l) => Rt(o, (u) => n(u, l)) : (l) =>
|
|
3900
|
+
const o = [], r = pe(n) ? (l) => Rt(o, (u) => n(u, l)) : (l) => Ke(o, l);
|
|
3887
3901
|
for (let l = 0, u = e.length; l < u; l++) {
|
|
3888
3902
|
const f = e[l];
|
|
3889
3903
|
r(f) || o.push(f);
|
|
@@ -4336,7 +4350,7 @@ var cq = { exports: {} };
|
|
|
4336
4350
|
}, Am = (e, n, o) => {
|
|
4337
4351
|
const r = Ut(Ju(e, n), (l) => l !== o);
|
|
4338
4352
|
return r.length > 0 ? xs(e, n, r.join(" ")) : lr(e, n), !1;
|
|
4339
|
-
}, sl = (e) => e.dom.classList !== void 0, Dm = (e) => Ju(e, "class"), rl = (e, n) => Ef(e, "class", n), Wc = (e, n) => Am(e, "class", n), Om = (e, n) =>
|
|
4353
|
+
}, sl = (e) => e.dom.classList !== void 0, Dm = (e) => Ju(e, "class"), rl = (e, n) => Ef(e, "class", n), Wc = (e, n) => Am(e, "class", n), Om = (e, n) => Ke(Dm(e), n) ? Wc(e, n) : rl(e, n), wu = (e, n) => {
|
|
4340
4354
|
sl(e) ? e.dom.classList.add(n) : rl(e, n);
|
|
4341
4355
|
}, Rm = (e) => {
|
|
4342
4356
|
(sl(e) ? e.dom.classList : Dm(e)).length === 0 && lr(e, "class");
|
|
@@ -4676,7 +4690,7 @@ var cq = { exports: {} };
|
|
|
4676
4690
|
return (o) => {
|
|
4677
4691
|
if (o && o.nodeName) {
|
|
4678
4692
|
const r = o.nodeName.toLowerCase();
|
|
4679
|
-
return
|
|
4693
|
+
return Ke(n, r);
|
|
4680
4694
|
}
|
|
4681
4695
|
return !1;
|
|
4682
4696
|
};
|
|
@@ -4978,7 +4992,7 @@ var cq = { exports: {} };
|
|
|
4978
4992
|
}, kb = (e) => e.hasAttribute($0), P0 = (e, n) => pn(e.getTransparentElements(), n), B0 = (e, n) => qt(n) && P0(e, n.nodeName), _o = (e, n) => B0(e, n) && kb(n), dn = (e, n) => B0(e, n) && !kb(n), zm = (e, n) => n.type === 1 && P0(e, n.name) && he(n.attr($0)), Tb = as().browser, N0 = (e) => ps(e, Ba), O4 = (e) => Tb.isFirefox() && bo(e) === "table" ? N0($r(e)).filter((n) => bo(n) === "caption").bind((n) => N0(qa(n)).map((o) => {
|
|
4979
4993
|
const r = o.dom.offsetTop, l = n.dom.offsetTop, u = n.dom.offsetHeight;
|
|
4980
4994
|
return r <= l ? -u : 0;
|
|
4981
|
-
})).getOr(0) : 0, By = (e, n) => e.children &&
|
|
4995
|
+
})).getOr(0) : 0, By = (e, n) => e.children && Ke(e.children, n), As = (e, n, o) => {
|
|
4982
4996
|
let r = 0, l = 0;
|
|
4983
4997
|
const u = e.ownerDocument;
|
|
4984
4998
|
if (o = o || e, n) {
|
|
@@ -7041,7 +7055,7 @@ var cq = { exports: {} };
|
|
|
7041
7055
|
if (n.length !== F.length)
|
|
7042
7056
|
throw new Error("Wrong number of arguments to match. Expected: " + n.join(",") + `
|
|
7043
7057
|
Actual: ` + F.join(","));
|
|
7044
|
-
if (!nr(n, (se) =>
|
|
7058
|
+
if (!nr(n, (se) => Ke(F, se)))
|
|
7045
7059
|
throw new Error("Not all branches were specified when using match. Specified: " + F.join(", ") + `
|
|
7046
7060
|
Required: ` + n.join(", "));
|
|
7047
7061
|
return B[f].apply(null, y);
|
|
@@ -7238,7 +7252,7 @@ Required: ` + n.join(", "));
|
|
|
7238
7252
|
default: {}
|
|
7239
7253
|
}), n("newline_behavior", {
|
|
7240
7254
|
processor: (o) => {
|
|
7241
|
-
const r =
|
|
7255
|
+
const r = Ke([
|
|
7242
7256
|
"block",
|
|
7243
7257
|
"linebreak",
|
|
7244
7258
|
"invert",
|
|
@@ -7649,7 +7663,7 @@ Required: ` + n.join(", "));
|
|
|
7649
7663
|
default: !0
|
|
7650
7664
|
}), n("details_initial_state", {
|
|
7651
7665
|
processor: (o) => {
|
|
7652
|
-
const r =
|
|
7666
|
+
const r = Ke([
|
|
7653
7667
|
"inherited",
|
|
7654
7668
|
"collapsed",
|
|
7655
7669
|
"expanded"
|
|
@@ -7665,7 +7679,7 @@ Required: ` + n.join(", "));
|
|
|
7665
7679
|
default: "inherited"
|
|
7666
7680
|
}), n("details_serialized_state", {
|
|
7667
7681
|
processor: (o) => {
|
|
7668
|
-
const r =
|
|
7682
|
+
const r = Ke([
|
|
7669
7683
|
"inherited",
|
|
7670
7684
|
"collapsed",
|
|
7671
7685
|
"expanded"
|
|
@@ -7691,7 +7705,7 @@ Required: ` + n.join(", "));
|
|
|
7691
7705
|
"always",
|
|
7692
7706
|
"rgb_only",
|
|
7693
7707
|
"off"
|
|
7694
|
-
], l =
|
|
7708
|
+
], l = Ke(r, o);
|
|
7695
7709
|
return l ? {
|
|
7696
7710
|
value: o,
|
|
7697
7711
|
valid: l
|
|
@@ -8112,7 +8126,7 @@ Required: ` + n.join(", "));
|
|
|
8112
8126
|
const l = ps(c_(e), Pe(To, o)), u = ps(q2(e), Pe(To, r));
|
|
8113
8127
|
return l.isSome() && u.isSome();
|
|
8114
8128
|
}).getOr(!1), Y2 = (e, n, o, r) => {
|
|
8115
|
-
const l = o, u = new Es(o, l), f = ts(e.schema.getMoveCaretBeforeOnEnterElements(), (y, k) => !
|
|
8129
|
+
const l = o, u = new Es(o, l), f = ts(e.schema.getMoveCaretBeforeOnEnterElements(), (y, k) => !Ke([
|
|
8116
8130
|
"td",
|
|
8117
8131
|
"th",
|
|
8118
8132
|
"table"
|
|
@@ -8824,7 +8838,7 @@ Required: ` + n.join(", "));
|
|
|
8824
8838
|
range: Rv
|
|
8825
8839
|
}, qp = (e, n) => {
|
|
8826
8840
|
const o = bo(e);
|
|
8827
|
-
return o === "input" ? nm.after(e) :
|
|
8841
|
+
return o === "input" ? nm.after(e) : Ke([
|
|
8828
8842
|
"br",
|
|
8829
8843
|
"img"
|
|
8830
8844
|
], o) ? n === 0 ? nm.before(e) : nm.after(e) : nm.on(e, n);
|
|
@@ -9304,7 +9318,7 @@ Required: ` + n.join(", "));
|
|
|
9304
9318
|
}), bN = (e) => bo(e) === "img" ? 1 : A0(e).fold(() => $r(e).length, (n) => n.length), vN = (e) => A0(e).filter((n) => n.trim().length !== 0 || n.indexOf(Bo) > -1).isSome(), yN = (e) => Gs(e) && Ga(e, "contenteditable") === "false", wN = [
|
|
9305
9319
|
"img",
|
|
9306
9320
|
"br"
|
|
9307
|
-
], IO = (e) => vN(e) ||
|
|
9321
|
+
], IO = (e) => vN(e) || Ke(wN, bo(e)) || yN(e), xN = (e) => na(e, IO), CN = (e) => _N(e, IO), _N = (e, n) => {
|
|
9308
9322
|
const o = (r) => {
|
|
9309
9323
|
const l = $r(r);
|
|
9310
9324
|
for (let u = l.length - 1; u >= 0; u--) {
|
|
@@ -9786,7 +9800,7 @@ Required: ` + n.join(", "));
|
|
|
9786
9800
|
}, yw = (e, n, o) => iv(n).exists(Vd) || z_(!0, e, n, o).isSome(), ww = (e, n, o) => I3(n).exists(Vd) || z_(!1, e, n, o).isSome(), jN = Pe(z_, !1), GN = Pe(z_, !0), oR = (e) => Le.isTextPosition(e) && !e.isAtStart() && !e.isAtEnd(), sR = (e, n, o) => {
|
|
9787
9801
|
const r = Ut(cg(ie.fromDom(n.container()), e), (l) => o.isBlock(bo(l)));
|
|
9788
9802
|
return to(r).getOr(e);
|
|
9789
|
-
}, rR = (e, n, o) => oR(n) ? H_(n) : H_(n) || Rc(sR(e, n, o).dom, n).exists(H_), aR = (e, n, o) => oR(n) ? ET(n) : ET(n) || Ql(sR(e, n, o).dom, n).exists(ET), qN = (e) =>
|
|
9803
|
+
}, rR = (e, n, o) => oR(n) ? H_(n) : H_(n) || Rc(sR(e, n, o).dom, n).exists(H_), aR = (e, n, o) => oR(n) ? ET(n) : ET(n) || Ql(sR(e, n, o).dom, n).exists(ET), qN = (e) => Ke([
|
|
9790
9804
|
"pre",
|
|
9791
9805
|
"pre-wrap"
|
|
9792
9806
|
], e), RT = (e) => iv(e).bind((n) => al(n, Ba)).exists((n) => qN(hr(n, "white-space"))), lR = (e, n) => Rc(e.dom, n).isNone(), KN = (e, n) => Ql(e.dom, n).isNone(), YN = (e, n, o) => lR(e, n) || KN(e, n) || OT(e, n, o) || nR(e, n, o) || ww(e, n, o) || yw(e, n, o), P1 = (e) => Ze(e) && vo(e) && Xf(e), cR = (e, n) => (o) => P1(new Es(o, e)[n]()), iR = (e, n) => {
|
|
@@ -10306,7 +10320,7 @@ Required: ` + n.join(", "));
|
|
|
10306
10320
|
return u ? P(b) ? Vj(u, f, k) : P(y) ? EI(u, f, k, n) : TI(u, f, k, o) : null;
|
|
10307
10321
|
}, ff = ["pre"], uE = (e, n, o, r) => {
|
|
10308
10322
|
var l;
|
|
10309
|
-
const u = n.firstChild, f = n.lastChild, b = f.attr("data-mce-type") === "bookmark" ? f.prev : f, y = u === b, k =
|
|
10323
|
+
const u = n.firstChild, f = n.lastChild, b = f.attr("data-mce-type") === "bookmark" ? f.prev : f, y = u === b, k = Ke(ff, u.name);
|
|
10310
10324
|
if (y && k) {
|
|
10311
10325
|
const P = u.attr("contenteditable") !== "false", B = ((l = e.getParent(o, e.isBlock)) === null || l === void 0 ? void 0 : l.nodeName.toLowerCase()) === u.name, F = z.from(F1(r, o)).forall(il);
|
|
10312
10326
|
return P && B && F;
|
|
@@ -10705,7 +10719,7 @@ Required: ` + n.join(", "));
|
|
|
10705
10719
|
Qr("pre", (e) => {
|
|
10706
10720
|
const n = e.selection.getRng(), o = (l) => (u) => {
|
|
10707
10721
|
const f = u.previousSibling;
|
|
10708
|
-
return fS(f) &&
|
|
10722
|
+
return fS(f) && Ke(l, f);
|
|
10709
10723
|
}, r = (l, u) => {
|
|
10710
10724
|
const f = ie.fromDom(u), b = ic(f).dom;
|
|
10711
10725
|
Eo(f), Go(ie.fromDom(l), [
|
|
@@ -10727,7 +10741,7 @@ Required: ` + n.join(", "));
|
|
|
10727
10741
|
"color",
|
|
10728
10742
|
"fontSize",
|
|
10729
10743
|
"fontFamily"
|
|
10730
|
-
], Ah = (e) => kt(e.styles) && Rt(es(e.styles), (n) =>
|
|
10744
|
+
], Ah = (e) => kt(e.styles) && Rt(es(e.styles), (n) => Ke(gS, n)), o$ = (e) => ps(e, (n) => Jr(n) && n.inline === "span" && Ah(n)), SE = (e, n) => {
|
|
10731
10745
|
const o = e.get(n);
|
|
10732
10746
|
return oo(o) ? o$(o) : z.none();
|
|
10733
10747
|
}, Gv = (e, n) => Rc(n, Le.fromRangeStart(e)).isNone(), s$ = (e, n) => Ql(n, Le.fromRangeEnd(e)).exists((o) => !cs(o.getNode()) || Ql(n, o).isSome()) === !1, r$ = (e) => (n) => Xh(n) && e.isEditable(n), qv = (e) => {
|
|
@@ -10845,7 +10859,7 @@ Required: ` + n.join(", "));
|
|
|
10845
10859
|
return fg.keep();
|
|
10846
10860
|
const y = r, k = n.preserve_attributes;
|
|
10847
10861
|
if (Jr(n) && n.remove === "all" && oo(k)) {
|
|
10848
|
-
const P = Ut(u.getAttribs(y), (B) =>
|
|
10862
|
+
const P = Ut(u.getAttribs(y), (B) => Ke(k, B.name.toLowerCase()));
|
|
10849
10863
|
if (u.removeAllAttribs(y), Te(P, (B) => u.setAttrib(y, B.name, B.value)), P.length > 0)
|
|
10850
10864
|
return fg.rename("span");
|
|
10851
10865
|
}
|
|
@@ -12564,7 +12578,7 @@ Required: ` + n.join(", "));
|
|
|
12564
12578
|
}, Zw = [
|
|
12565
12579
|
"img",
|
|
12566
12580
|
"video"
|
|
12567
|
-
], G$ = (e, n) => Ze(e) ? !e : Ze(n) ? !
|
|
12581
|
+
], G$ = (e, n) => Ze(e) ? !e : Ze(n) ? !Ke(Zw, n) : !0, UE = (e) => {
|
|
12568
12582
|
try {
|
|
12569
12583
|
return decodeURIComponent(e);
|
|
12570
12584
|
} catch {
|
|
@@ -14783,7 +14797,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
14783
14797
|
return r(P, k), P;
|
|
14784
14798
|
}, u = (y, k) => {
|
|
14785
14799
|
const P = o.getElementRule(y.nodeName.toLowerCase()), B = P == null ? void 0 : P.parentsRequired;
|
|
14786
|
-
return B && B.length ? k &&
|
|
14800
|
+
return B && B.length ? k && Ke(B, k) ? k : B[0] : !1;
|
|
14787
14801
|
}, f = (y, k, P) => {
|
|
14788
14802
|
let B;
|
|
14789
14803
|
const F = k[0], ee = ry(F) ? F.name : void 0, se = u(y, ee);
|
|
@@ -15045,7 +15059,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
15045
15059
|
}, Y6 = (e) => {
|
|
15046
15060
|
if (A5(e)) {
|
|
15047
15061
|
const n = e.keyCode;
|
|
15048
|
-
return !D5(e) && (Zt.metaKeyPressed(e) || e.altKey || n >= 112 && n <= 123 ||
|
|
15062
|
+
return !D5(e) && (Zt.metaKeyPressed(e) || e.altKey || n >= 112 && n <= 123 || Ke(WS, n));
|
|
15049
15063
|
} else
|
|
15050
15064
|
return !1;
|
|
15051
15065
|
}, $h = (e) => A5(e) && !(D5(e) || e.type === "keyup" && e.keyCode === 229), c0 = (e, n, o) => {
|
|
@@ -15836,7 +15850,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
15836
15850
|
}, mA = (e, n) => o8(e, OH(e.selection, n)).exists((o) => (wg(e, o), !0)), fA = (e, n) => fx(e, n).exists((o) => (wg(e, o), !0)), dk = (e, n) => rk(e, n, n ? uf : Sh), mk = (e, n) => QS(e, !n).map((o) => {
|
|
15837
15851
|
const r = o.toRange(), l = e.selection.getRng();
|
|
15838
15852
|
return n ? r.setStart(l.startContainer, l.startOffset) : r.setEnd(l.endContainer, l.endOffset), r;
|
|
15839
|
-
}).exists((o) => (wg(e, o), !0)), RH = (e) =>
|
|
15853
|
+
}).exists((o) => (wg(e, o), !0)), RH = (e) => Ke(["figcaption"], bo(e)), s8 = (e, n, o) => {
|
|
15840
15854
|
const r = Pe(To, n);
|
|
15841
15855
|
return al(ie.fromDom(e.container()), (l) => o.isBlock(bo(l)), r).filter(RH);
|
|
15842
15856
|
}, $H = (e, n, o) => n ? _M(e.dom, o) : Z5(e.dom, o), MH = (e, n) => {
|
|
@@ -15888,7 +15902,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
15888
15902
|
}, FH = (e, n) => d8(e, n, pt), d8 = (e, n, o) => wr($r(e), (r) => cc(r, n) ? o(r) ? [r] : [] : d8(r, n, o)), gm = (e, n, o = tt) => {
|
|
15889
15903
|
if (o(n))
|
|
15890
15904
|
return z.none();
|
|
15891
|
-
if (
|
|
15905
|
+
if (Ke(e, bo(n)))
|
|
15892
15906
|
return z.some(n);
|
|
15893
15907
|
const r = (l) => cc(l, "table") || o(l);
|
|
15894
15908
|
return nu(n, e.join(","), r);
|
|
@@ -15980,7 +15994,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
15980
15994
|
"dl"
|
|
15981
15995
|
], r = ie.fromDom(e.getBody()), l = (b) => {
|
|
15982
15996
|
const y = bo(b);
|
|
15983
|
-
return To(b, r) ||
|
|
15997
|
+
return To(b, r) || Ke(o, y);
|
|
15984
15998
|
}, u = e.selection.getRng(), f = ie.fromDom(n ? u.endContainer : u.startContainer);
|
|
15985
15999
|
return m8(f, l).map((b) => (HH(b, l).each((P) => {
|
|
15986
16000
|
e.model.table.clearSelectedCells(P.dom);
|
|
@@ -16102,7 +16116,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
16102
16116
|
}, bf = (e, n) => ({
|
|
16103
16117
|
container: e,
|
|
16104
16118
|
offset: n
|
|
16105
|
-
}), hx = Is.DOM, gy = (e) => (n) => e === n ? -1 : 0, _8 = (e) => (n) => e.isBlock(n) ||
|
|
16119
|
+
}), hx = Is.DOM, gy = (e) => (n) => e === n ? -1 : 0, _8 = (e) => (n) => e.isBlock(n) || Ke([
|
|
16106
16120
|
"BR",
|
|
16107
16121
|
"IMG",
|
|
16108
16122
|
"HR",
|
|
@@ -16389,7 +16403,7 @@ Options:${f}${o.join(f)}` : "";
|
|
|
16389
16403
|
Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk = (e, n) => AA((o) => {
|
|
16390
16404
|
const r = typeof o;
|
|
16391
16405
|
return e(o) ? nc.svalue(o) : nc.serror(`Expected type: ${n} but got: ${r}`);
|
|
16392
|
-
}), G8 = wk(Xt, "number"), Sx = wk(he, "string"), RV = wk(Nn, "boolean"), RA = wk(pe, "function"), kx = H8, $A = SV, $V = (e) => DV((n) =>
|
|
16406
|
+
}), G8 = wk(Xt, "number"), Sx = wk(he, "string"), RV = wk(Nn, "boolean"), RA = wk(pe, "function"), kx = H8, $A = SV, $V = (e) => DV((n) => Ke(e, n) ? Ac.value(n) : Ac.error(`Unsupported value: "${n}", choose one of "${e.join(", ")}".`)), xk = (e, n) => kx(e, e, N8(), n), q8 = (e) => xk(e, Sx), K8 = (e) => xk(e, RA), MV = (e, n) => kx(e, e, N8(), Z8(n)), Ck = (e, n) => kx(e, e, L8(), n), _k = (e) => Ck(e, Sx), PV = (e) => Ck(e, RA), BV = (e, n) => kx(e, e, I8(n), j8()), py = (e, n, o) => kx(e, e, I8(n), o), Y8 = (e, n) => py(e, n, G8), Qa = (e, n) => py(e, n, Sx), yf = (e, n, o) => py(e, n, $V(o)), MA = (e, n) => py(e, n, RV), X8 = (e, n) => py(e, n, RA), NV = (e, n, o) => py(e, n, Z8(o)), IV = q8("type"), LV = K8("fetch"), PA = K8("onAction"), J8 = X8("onSetup", () => Nt), by = _k("text"), bG = _k("icon"), FV = _k("tooltip"), HV = _k("label"), wf = MA("active", !1), VV = MA("enabled", !0), Q8 = MA("primary", !1), e7 = (e) => BV("columns", e), Tx = (e) => Qa("type", e), BA = DA([
|
|
16393
16407
|
IV,
|
|
16394
16408
|
q8("trigger"),
|
|
16395
16409
|
Y8("minChars", 1),
|
|
@@ -16797,7 +16811,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
16797
16811
|
});
|
|
16798
16812
|
const l = z.from(o.class).map((y) => y.split(/\s+/)), u = z.from(n.className).map((y) => Ut(y.split(/\s+/), (k) => k !== ""));
|
|
16799
16813
|
_r(l, u, (y, k) => {
|
|
16800
|
-
const P = Ut(k, (F) => !
|
|
16814
|
+
const P = Ut(k, (F) => !Ke(y, F)), B = [
|
|
16801
16815
|
...y,
|
|
16802
16816
|
...P
|
|
16803
16817
|
];
|
|
@@ -16806,7 +16820,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
16806
16820
|
const f = [
|
|
16807
16821
|
"style",
|
|
16808
16822
|
"class"
|
|
16809
|
-
], b = ts(o, (y, k) => !
|
|
16823
|
+
], b = ts(o, (y, k) => !Ke(f, k));
|
|
16810
16824
|
r.setAttribs(n, b);
|
|
16811
16825
|
}, X1 = (e, n) => {
|
|
16812
16826
|
if (Xl(e).toLowerCase() === n.tagName.toLowerCase()) {
|
|
@@ -16951,7 +16965,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
16951
16965
|
(!o || qt(o) && /^(left|right)$/gi.test(e.getStyle(o, "float", !0))) && e.add(n, "br");
|
|
16952
16966
|
}, pz = (e, n) => {
|
|
16953
16967
|
const o = AC(e);
|
|
16954
|
-
return In(n) ? !1 : he(o) ?
|
|
16968
|
+
return In(n) ? !1 : he(o) ? Ke(ct.explode(o), n.nodeName.toLowerCase()) : o;
|
|
16955
16969
|
}, b7 = {
|
|
16956
16970
|
insert: (e, n) => {
|
|
16957
16971
|
let o, r, l, u, f = !1;
|
|
@@ -17431,13 +17445,13 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
17431
17445
|
return n;
|
|
17432
17446
|
},
|
|
17433
17447
|
set dropEffect(l) {
|
|
17434
|
-
|
|
17448
|
+
Ke(Xz, l) && (n = l);
|
|
17435
17449
|
},
|
|
17436
17450
|
get effectAllowed() {
|
|
17437
17451
|
return o;
|
|
17438
17452
|
},
|
|
17439
17453
|
set effectAllowed(l) {
|
|
17440
|
-
I7(r) &&
|
|
17454
|
+
I7(r) && Ke(Jz, l) && (o = l);
|
|
17441
17455
|
},
|
|
17442
17456
|
get items() {
|
|
17443
17457
|
return Yz(r, e.items);
|
|
@@ -18199,7 +18213,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
18199
18213
|
const n = (l) => {
|
|
18200
18214
|
if (!l.isDefaultPrevented()) {
|
|
18201
18215
|
const u = l.dataTransfer;
|
|
18202
|
-
u && (
|
|
18216
|
+
u && (Ke(u.types, "Files") || u.files.length > 0) && (l.preventDefault(), l.type === "drop" && FS(e, "Dropped file type is not supported"));
|
|
18203
18217
|
}
|
|
18204
18218
|
}, o = (l) => {
|
|
18205
18219
|
B_(e, l.target) && n(l);
|
|
@@ -19302,7 +19316,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19302
19316
|
return Ut(o, Po);
|
|
19303
19317
|
}
|
|
19304
19318
|
}, cZ = (e, n) => {
|
|
19305
|
-
const o = Oa(n, (r, l) =>
|
|
19319
|
+
const o = Oa(n, (r, l) => Ke(e, l));
|
|
19306
19320
|
return r4(o.t, o.f);
|
|
19307
19321
|
}, iZ = (e, n, o = {}) => {
|
|
19308
19322
|
const r = e.sections(), l = Xo(r, n).getOr({});
|
|
@@ -19672,7 +19686,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19672
19686
|
});
|
|
19673
19687
|
}, zD = (e) => {
|
|
19674
19688
|
fB(e), bZ(e), DG(e), IZ(e), FD(e), yB(e), OG(e), NZ(e), MG(e), MZ(e), RZ(e), ab(e);
|
|
19675
|
-
}, d4 = ["toggleview"], UD = (e) =>
|
|
19689
|
+
}, d4 = ["toggleview"], UD = (e) => Ke(d4, e.toLowerCase());
|
|
19676
19690
|
class WD {
|
|
19677
19691
|
constructor(n) {
|
|
19678
19692
|
this.commands = {
|
|
@@ -19771,7 +19785,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
19771
19785
|
e.serializer ? CB(e) : e.on("PreInit", () => {
|
|
19772
19786
|
CB(e);
|
|
19773
19787
|
});
|
|
19774
|
-
}, UZ = (e) => e.type === "click", _B = ["copy"], WZ = (e) =>
|
|
19788
|
+
}, UZ = (e) => e.type === "click", _B = ["copy"], WZ = (e) => Ke(_B, e.type), ZZ = (e, n) => Ci(n, "a", (r) => To(r, ie.fromDom(e.getBody()))).bind((r) => bi(r, "href")), jZ = (e, n) => {
|
|
19775
19789
|
if (UZ(n) && !Zt.metaKeyPressed(n)) {
|
|
19776
19790
|
const o = ie.fromDom(n.target);
|
|
19777
19791
|
ZZ(e, o).each((r) => {
|
|
@@ -20066,7 +20080,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
20066
20080
|
e.initialized ? DB(e, o, n, r) : e.on("init", () => DB(e, o, n, r));
|
|
20067
20081
|
}
|
|
20068
20082
|
}, ej = (e, n, o) => {
|
|
20069
|
-
if (
|
|
20083
|
+
if (Ke(JZ, n))
|
|
20070
20084
|
throw new Error(`Cannot override default mode ${n}`);
|
|
20071
20085
|
return {
|
|
20072
20086
|
...e,
|
|
@@ -20285,7 +20299,7 @@ Input object: ` + EA(e.input), OA = (e, n) => $8(e, xo(n, DA)), j8 = ot(z8), wk
|
|
|
20285
20299
|
})), !l.isSet(n) && !ss(o) ? o : l.get(n);
|
|
20286
20300
|
}
|
|
20287
20301
|
hasPlugin(n, o) {
|
|
20288
|
-
return
|
|
20302
|
+
return Ke(n1(this), n) ? o ? W1.get(n) !== void 0 : !0 : !1;
|
|
20289
20303
|
}
|
|
20290
20304
|
nodeChanged(n) {
|
|
20291
20305
|
this._nodeChangeDispatcher.nodeChanged(n);
|
|
@@ -21189,7 +21203,7 @@ tinymce.IconManager.add("default", {
|
|
|
21189
21203
|
break;
|
|
21190
21204
|
}
|
|
21191
21205
|
return D.none();
|
|
21192
|
-
},
|
|
21206
|
+
}, Ke = (t, s) => ji(t, s, Cn), Rt = (t, s) => {
|
|
21193
21207
|
for (let a = 0, c = t.length; a < c; a++) {
|
|
21194
21208
|
const d = t[a];
|
|
21195
21209
|
if (s(d, a))
|
|
@@ -21574,7 +21588,7 @@ tinymce.IconManager.add("default", {
|
|
|
21574
21588
|
unknown: lc
|
|
21575
21589
|
}, _c = (t, s) => nr(s.brands, (a) => {
|
|
21576
21590
|
const c = a.brand.toLowerCase();
|
|
21577
|
-
return
|
|
21591
|
+
return Ke(t, (d) => {
|
|
21578
21592
|
var g;
|
|
21579
21593
|
return c === ((g = d.brand) === null || g === void 0 ? void 0 : g.toLowerCase());
|
|
21580
21594
|
}).map((d) => ({
|
|
@@ -21583,7 +21597,7 @@ tinymce.IconManager.add("default", {
|
|
|
21583
21597
|
}));
|
|
21584
21598
|
}), Ga = (t, s) => {
|
|
21585
21599
|
const a = String(s).toLowerCase();
|
|
21586
|
-
return
|
|
21600
|
+
return Ke(t, (c) => c.search(a));
|
|
21587
21601
|
}, bi = (t, s) => Ga(t, s).map((a) => {
|
|
21588
21602
|
const c = xs.detect(a.versionRegexes, s);
|
|
21589
21603
|
return {
|
|
@@ -22744,7 +22758,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(tt(s, (a) => a.name),
|
|
|
22744
22758
|
toRemove: $
|
|
22745
22759
|
} = Pu(t.styles, C), N = () => {
|
|
22746
22760
|
pt($, (Oe) => Co(s, Oe)), Ms(s, E);
|
|
22747
|
-
}, H = dp(s), W = Ut(H, t.classes), Q = Ut(t.classes, H),
|
|
22761
|
+
}, H = dp(s), W = Ut(H, t.classes), Q = Ut(t.classes, H), me = () => {
|
|
22748
22762
|
ur(s, Q), ki(s, W);
|
|
22749
22763
|
}, Me = (Oe) => {
|
|
22750
22764
|
oh(s, Oe);
|
|
@@ -22755,7 +22769,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(tt(s, (a) => a.name),
|
|
|
22755
22769
|
const Oe = s, mt = t.value.getOrUndefined();
|
|
22756
22770
|
mt !== qd(Oe) && mp(Oe, mt ?? "");
|
|
22757
22771
|
};
|
|
22758
|
-
return w(),
|
|
22772
|
+
return w(), me(), N(), t.innerHtml.fold(Ce, Me), ve(), s;
|
|
22759
22773
|
}, W4 = (t) => {
|
|
22760
22774
|
const s = Ae.fromTag(t.tag);
|
|
22761
22775
|
Yu(s, t.attributes), ur(s, t.classes), Ms(s, t.styles), t.innerHtml.each((c) => oh(s, c));
|
|
@@ -22796,7 +22810,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(tt(s, (a) => a.name),
|
|
|
22796
22810
|
}, Q = () => {
|
|
22797
22811
|
const mt = Ma(E), Je = Te(mt, (Ge) => c.get().getByDom(Ge).fold(() => [], Vo));
|
|
22798
22812
|
N.set(Je);
|
|
22799
|
-
},
|
|
22813
|
+
}, me = (mt) => {
|
|
22800
22814
|
const Je = w;
|
|
22801
22815
|
return (Ot(Je[mt.name()]) ? Je[mt.name()] : () => {
|
|
22802
22816
|
throw new Error("Could not find " + mt.name() + " in " + JSON.stringify(t, null, 2));
|
|
@@ -22804,7 +22818,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(tt(s, (a) => a.name),
|
|
|
22804
22818
|
}, Me = (mt) => Ot(w[mt.name()]), Ce = () => d.apis, ve = (mt) => w[mt]().map((Je) => Je.state.readState()).getOr("not enabled"), Oe = {
|
|
22805
22819
|
uid: t.uid,
|
|
22806
22820
|
getSystem: c.get,
|
|
22807
|
-
config:
|
|
22821
|
+
config: me,
|
|
22808
22822
|
hasConfigured: Me,
|
|
22809
22823
|
spec: t,
|
|
22810
22824
|
readState: ve,
|
|
@@ -22884,7 +22898,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(tt(s, (a) => a.name),
|
|
|
22884
22898
|
return D.none();
|
|
22885
22899
|
}, lh = (t, s, a) => gC((d, g) => g(d), zb, t, s, a), j4 = (t, s) => {
|
|
22886
22900
|
const a = (d) => s(Ae.fromDom(d));
|
|
22887
|
-
return
|
|
22901
|
+
return Ke(t.dom.childNodes, a).map(Ae.fromDom);
|
|
22888
22902
|
}, hC = (t, s) => {
|
|
22889
22903
|
const a = (c) => {
|
|
22890
22904
|
for (let d = 0; d < c.childNodes.length; d++) {
|
|
@@ -23000,7 +23014,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(tt(s, (a) => a.name),
|
|
|
23000
23014
|
if (t.stack !== void 0) {
|
|
23001
23015
|
const s = t.stack.split(`
|
|
23002
23016
|
`);
|
|
23003
|
-
return
|
|
23017
|
+
return Ke(s, (a) => a.indexOf("alloy") > 0 && !Ys(G4, (c) => a.indexOf(c) > -1)).getOr(pC);
|
|
23004
23018
|
} else
|
|
23005
23019
|
return pC;
|
|
23006
23020
|
}, q4 = {
|
|
@@ -23265,8 +23279,8 @@ Receiver: ` + jd(s.element), E, g.data);
|
|
|
23265
23279
|
]
|
|
23266
23280
|
}
|
|
23267
23281
|
]), EC = (t, s, a, c, d, g) => {
|
|
23268
|
-
const p = s.rect, w = p.x - a, C = p.y - c, E = p.width, $ = p.height, N = d - (w + E), H = g - (C + $), W = D.some(w), Q = D.some(C),
|
|
23269
|
-
return Gf(s.direction, () => Ai(t, W, Q, Ce, Ce), () => Ai(t, Ce, Q,
|
|
23282
|
+
const p = s.rect, w = p.x - a, C = p.y - c, E = p.width, $ = p.height, N = d - (w + E), H = g - (C + $), W = D.some(w), Q = D.some(C), me = D.some(N), Me = D.some(H), Ce = D.none();
|
|
23283
|
+
return Gf(s.direction, () => Ai(t, W, Q, Ce, Ce), () => Ai(t, Ce, Q, me, Ce), () => Ai(t, W, Ce, Ce, Me), () => Ai(t, Ce, Ce, me, Me), () => Ai(t, W, Q, Ce, Ce), () => Ai(t, W, Ce, Ce, Me), () => Ai(t, W, Q, Ce, Ce), () => Ai(t, Ce, Q, me, Ce));
|
|
23270
23284
|
}, h2 = (t, s) => t.fold(() => {
|
|
23271
23285
|
const a = s.rect;
|
|
23272
23286
|
return Ai("absolute", D.some(a.x), D.some(a.y), D.none(), D.none());
|
|
@@ -23308,7 +23322,7 @@ Receiver: ` + jd(s.element), E, g.data);
|
|
|
23308
23322
|
y: c,
|
|
23309
23323
|
right: d,
|
|
23310
23324
|
bottom: g
|
|
23311
|
-
} = s, { x: p, y: w, right: C, bottom: E, width: $, height: N } = t, H = p >= a && p <= d, W = w >= c && w <= g, Q = H && W,
|
|
23325
|
+
} = s, { x: p, y: w, right: C, bottom: E, width: $, height: N } = t, H = p >= a && p <= d, W = w >= c && w <= g, Q = H && W, me = C <= d && C >= a, Me = E <= g && E >= c, Ce = me && Me, ve = Math.min($, p >= a ? d - p : C - a), Oe = Math.min(N, w >= c ? g - w : E - c);
|
|
23312
23326
|
return {
|
|
23313
23327
|
originInBounds: Q,
|
|
23314
23328
|
sizeInBounds: Ce,
|
|
@@ -23321,8 +23335,8 @@ Receiver: ` + jd(s.element), E, g.data);
|
|
|
23321
23335
|
y: c,
|
|
23322
23336
|
right: d,
|
|
23323
23337
|
bottom: g
|
|
23324
|
-
} = s, { x: p, y: w, width: C, height: E } = t, $ = Math.max(a, d - C), N = Math.max(c, g - E), H = Ei(p, a, $), W = Ei(w, c, N), Q = Math.min(H + C, d) - H,
|
|
23325
|
-
return Bs(H, W, Q,
|
|
23338
|
+
} = s, { x: p, y: w, width: C, height: E } = t, $ = Math.max(a, d - C), N = Math.max(c, g - E), H = Ei(p, a, $), W = Ei(w, c, N), Q = Math.min(H + C, d) - H, me = Math.min(W + E, g) - W;
|
|
23339
|
+
return Bs(H, W, Q, me);
|
|
23326
23340
|
}, mh = (t, s, a) => {
|
|
23327
23341
|
const c = ae(s.bottom - a.y), d = ae(a.bottom - s.y), g = n2(t, d, d, c), p = ae(s.right - a.x), w = ae(a.right - s.x);
|
|
23328
23342
|
return {
|
|
@@ -23330,8 +23344,8 @@ Receiver: ` + jd(s.element), E, g.data);
|
|
|
23330
23344
|
maxHeight: g
|
|
23331
23345
|
};
|
|
23332
23346
|
}, l3 = (t, s, a, c) => {
|
|
23333
|
-
const d = t.bubble, g = d.offset, p = qb(c, t.restriction, g), w = t.x + g.left, C = t.y + g.top, E = Bs(w, C, s, a), { originInBounds: $, sizeInBounds: N, visibleW: H, visibleH: W } = OC(E, p), Q = $ && N,
|
|
23334
|
-
rect:
|
|
23347
|
+
const d = t.bubble, g = d.offset, p = qb(c, t.restriction, g), w = t.x + g.left, C = t.y + g.top, E = Bs(w, C, s, a), { originInBounds: $, sizeInBounds: N, visibleW: H, visibleH: W } = OC(E, p), Q = $ && N, me = Q ? E : y2(E, p), Me = me.width > 0 && me.height > 0, { maxWidth: Ce, maxHeight: ve } = mh(t.direction, me, c), Oe = {
|
|
23348
|
+
rect: me,
|
|
23335
23349
|
maxHeight: ve,
|
|
23336
23350
|
maxWidth: Ce,
|
|
23337
23351
|
direction: t.direction,
|
|
@@ -23346,7 +23360,7 @@ Receiver: ` + jd(s.element), E, g.data);
|
|
|
23346
23360
|
return Q || t.alwaysFit ? J0.fit(Oe) : J0.nofit(Oe, H, W, Me);
|
|
23347
23361
|
}, c3 = (t, s, a, c, d, g) => {
|
|
23348
23362
|
const p = c.width, w = c.height, C = ($, N, H, W, Q) => {
|
|
23349
|
-
const
|
|
23363
|
+
const me = $(a, c, d, t, g), Me = l3(me, p, w, g);
|
|
23350
23364
|
return Me.fold(ae(Me), (Ce, ve, Oe, mt) => (Q === mt ? Oe > W || ve > H : !Q && mt) ? Me : J0.nofit(N, H, W, Q));
|
|
23351
23365
|
};
|
|
23352
23366
|
return Wo(s, ($, N) => {
|
|
@@ -24695,7 +24709,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24695
24709
|
});
|
|
24696
24710
|
}, T_ = (t, s, a, c) => {
|
|
24697
24711
|
const d = Av(t, s);
|
|
24698
|
-
|
|
24712
|
+
Ke(d, c).each((p) => {
|
|
24699
24713
|
A1(t, s, a, p);
|
|
24700
24714
|
});
|
|
24701
24715
|
}, Ev = (t, s, a, c) => ra(c.element, s.highlightClass), iT = (t, s, a) => Ir(t.element, "." + s.highlightClass).bind((c) => t.getSystem().getByDom(c).toOptional()), uT = (t, s, a, c) => {
|
|
@@ -24742,23 +24756,23 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24742
24756
|
apis: nm
|
|
24743
24757
|
}), fT = [8], af = [9], om = [13], Ov = [27], Ri = [32], Rv = [37], lf = [38], qp = [39], D1 = [40], mw = (t, s, a) => {
|
|
24744
24758
|
const c = qo(t.slice(0, s)), d = qo(t.slice(s + 1));
|
|
24745
|
-
return
|
|
24759
|
+
return Ke(c.concat(d), a);
|
|
24746
24760
|
}, gT = (t, s, a) => {
|
|
24747
24761
|
const c = qo(t.slice(0, s));
|
|
24748
|
-
return
|
|
24762
|
+
return Ke(c, a);
|
|
24749
24763
|
}, fw = (t, s, a) => {
|
|
24750
24764
|
const c = t.slice(0, s), d = t.slice(s + 1);
|
|
24751
|
-
return
|
|
24765
|
+
return Ke(d.concat(c), a);
|
|
24752
24766
|
}, hT = (t, s, a) => {
|
|
24753
24767
|
const c = t.slice(s + 1);
|
|
24754
|
-
return
|
|
24768
|
+
return Ke(c, a);
|
|
24755
24769
|
}, ko = (t) => (s) => {
|
|
24756
24770
|
const a = s.raw;
|
|
24757
24771
|
return no(t, a.which);
|
|
24758
24772
|
}, $i = (t) => (s) => wn(t, (a) => a(s)), cf = (t) => t.raw.shiftKey === !0, pT = (t) => t.raw.ctrlKey === !0, Kp = Ze(cf), $o = (t, s) => ({
|
|
24759
24773
|
matches: t,
|
|
24760
24774
|
classification: s
|
|
24761
|
-
}), bT = (t, s) =>
|
|
24775
|
+
}), bT = (t, s) => Ke(t, (c) => c.matches(s)).map((c) => c.classification), gw = (t, s, a) => {
|
|
24762
24776
|
s.exists((d) => a.exists((g) => zo(g, d))) || dn(t, _b(), {
|
|
24763
24777
|
prevFocus: s,
|
|
24764
24778
|
newFocus: a
|
|
@@ -24805,29 +24819,29 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24805
24819
|
is("sendFocusIn", d)
|
|
24806
24820
|
]), p = (E, $, N, H, W) => {
|
|
24807
24821
|
const Q = N(E, $, H, W);
|
|
24808
|
-
return bT(Q, $.event).bind((
|
|
24822
|
+
return bT(Q, $.event).bind((me) => me(E, $, H, W));
|
|
24809
24823
|
}, C = {
|
|
24810
24824
|
schema: g,
|
|
24811
24825
|
processKey: p,
|
|
24812
24826
|
toEvents: (E, $) => {
|
|
24813
|
-
const N = E.focusInside !== h.OnFocusMode ? D.none() : d(E).map((Q) => Qe(ld(), (
|
|
24814
|
-
Q(
|
|
24815
|
-
})), H = (Q,
|
|
24816
|
-
const Me = ko(Ri.concat(om))(
|
|
24817
|
-
E.focusInside === h.OnEnterOrSpaceMode && Me && Yc(Q,
|
|
24818
|
-
Ce(Q, E, $),
|
|
24827
|
+
const N = E.focusInside !== h.OnFocusMode ? D.none() : d(E).map((Q) => Qe(ld(), (me, Me) => {
|
|
24828
|
+
Q(me, E, $), Me.stop();
|
|
24829
|
+
})), H = (Q, me) => {
|
|
24830
|
+
const Me = ko(Ri.concat(om))(me.event);
|
|
24831
|
+
E.focusInside === h.OnEnterOrSpaceMode && Me && Yc(Q, me) && d(E).each((Ce) => {
|
|
24832
|
+
Ce(Q, E, $), me.stop();
|
|
24819
24833
|
});
|
|
24820
24834
|
}, W = [
|
|
24821
|
-
Qe(Ru(), (Q,
|
|
24822
|
-
p(Q,
|
|
24823
|
-
H(Q,
|
|
24835
|
+
Qe(Ru(), (Q, me) => {
|
|
24836
|
+
p(Q, me, a, E, $).fold(() => {
|
|
24837
|
+
H(Q, me);
|
|
24824
24838
|
}, (Me) => {
|
|
24825
|
-
|
|
24839
|
+
me.stop();
|
|
24826
24840
|
});
|
|
24827
24841
|
}),
|
|
24828
|
-
Qe(Bf(), (Q,
|
|
24829
|
-
p(Q,
|
|
24830
|
-
|
|
24842
|
+
Qe(Bf(), (Q, me) => {
|
|
24843
|
+
p(Q, me, c, E, $).each((Me) => {
|
|
24844
|
+
me.stop();
|
|
24831
24845
|
});
|
|
24832
24846
|
})
|
|
24833
24847
|
];
|
|
@@ -24862,7 +24876,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24862
24876
|
}, $ = (Ce, ve, Oe) => {
|
|
24863
24877
|
const mt = Oe.cyclic ? fw : hT;
|
|
24864
24878
|
return C(Ce, ve, Oe, mt);
|
|
24865
|
-
}, N = (Ce) => Vl(Ce).bind(hi).exists((ve) => zo(ve, Ce)), H = (Ce, ve, Oe) => d(Ce, Oe).filter((mt) => !Oe.useTabstopAt(mt)).bind((mt) => (N(mt) ? E : $)(Ce, ve, Oe)), W = (Ce, ve, Oe) => Oe.onEnter.bind((mt) => mt(Ce, ve)), Q = (Ce, ve, Oe) => Oe.onEscape.bind((mt) => mt(Ce, ve)),
|
|
24879
|
+
}, N = (Ce) => Vl(Ce).bind(hi).exists((ve) => zo(ve, Ce)), H = (Ce, ve, Oe) => d(Ce, Oe).filter((mt) => !Oe.useTabstopAt(mt)).bind((mt) => (N(mt) ? E : $)(Ce, ve, Oe)), W = (Ce, ve, Oe) => Oe.onEnter.bind((mt) => mt(Ce, ve)), Q = (Ce, ve, Oe) => Oe.onEscape.bind((mt) => mt(Ce, ve)), me = ae([
|
|
24866
24880
|
$o($i([
|
|
24867
24881
|
cf,
|
|
24868
24882
|
ko(af)
|
|
@@ -24876,7 +24890,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24876
24890
|
$o(ko(Ov), Q),
|
|
24877
24891
|
$o(ko(af), H)
|
|
24878
24892
|
]);
|
|
24879
|
-
return v(s, Mu.init,
|
|
24893
|
+
return v(s, Mu.init, me, Me, () => D.some(p));
|
|
24880
24894
|
};
|
|
24881
24895
|
var O = S(pr("cyclic", Cn)), L = S(pr("cyclic", Nt));
|
|
24882
24896
|
const j = (t, s, a) => (Tb(t, a, Jc()), D.some(!0)), te = (t, s, a) => wh(a) && ko(Ri)(s.event) ? D.none() : j(t, s, a), fe = (t, s) => D.some(!0), De = [
|
|
@@ -25188,7 +25202,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25188
25202
|
L_(t, Lg, c);
|
|
25189
25203
|
}, RN = (t, s, a, c) => {
|
|
25190
25204
|
const d = F_(t);
|
|
25191
|
-
|
|
25205
|
+
Ke(d, (p) => zo(c.element, p.element)).each(tm);
|
|
25192
25206
|
}, F_ = (t, s) => t.components(), WO = (t, s, a, c, d) => {
|
|
25193
25207
|
const g = F_(t);
|
|
25194
25208
|
return D.from(g[c]).map((p) => (d.fold(() => tm(p), (w) => {
|
|
@@ -25660,12 +25674,12 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25660
25674
|
c.set(Je), t.set(vt), s.set(Ge), d.set(At);
|
|
25661
25675
|
const Wn = XN(At, vt);
|
|
25662
25676
|
a.set(Wn);
|
|
25663
|
-
}, E = (Je) => es(t.get(), (Ge, vt) => Ge === Je), $ = (Je, Ge, vt) =>
|
|
25677
|
+
}, E = (Je) => es(t.get(), (Ge, vt) => Ge === Je), $ = (Je, Ge, vt) => me(Je).bind((At) => E(Je).bind((Wn) => Ge(Wn).map((jt) => ({
|
|
25664
25678
|
triggeredMenu: At,
|
|
25665
25679
|
triggeringItem: jt,
|
|
25666
25680
|
triggeringPath: vt
|
|
25667
25681
|
})))), N = (Je, Ge) => {
|
|
25668
|
-
const vt = so(Ce(Je).toArray(), (At) =>
|
|
25682
|
+
const vt = so(Ce(Je).toArray(), (At) => me(At).isSome());
|
|
25669
25683
|
return bt(a.get(), Je).bind((At) => {
|
|
25670
25684
|
const Wn = qo(vt.concat(At)), jt = Te(Wn, (Dn, Sn) => $(Dn, Ge, Wn.slice(0, Sn + 1)).fold(() => Da(c.get(), Dn) ? [] : [D.none()], (Yo) => [D.some(Yo)]));
|
|
25671
25685
|
return ts(jt);
|
|
@@ -25673,7 +25687,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25673
25687
|
}, H = (Je) => bt(t.get(), Je).map((Ge) => {
|
|
25674
25688
|
const vt = bt(a.get(), Je).getOr([]);
|
|
25675
25689
|
return [Ge].concat(vt);
|
|
25676
|
-
}), W = (Je) => bt(a.get(), Je).bind((Ge) => Ge.length > 1 ? D.some(Ge.slice(1)) : D.none()), Q = (Je) => bt(a.get(), Je),
|
|
25690
|
+
}), W = (Je) => bt(a.get(), Je).bind((Ge) => Ge.length > 1 ? D.some(Ge.slice(1)) : D.none()), Q = (Je) => bt(a.get(), Je), me = (Je) => Me(Je).bind(Nv), Me = (Je) => bt(s.get(), Je), Ce = (Je) => bt(t.get(), Je);
|
|
25677
25691
|
return {
|
|
25678
25692
|
setMenuBuilt: w,
|
|
25679
25693
|
setContents: C,
|
|
@@ -25686,7 +25700,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25686
25700
|
const Ge = d.get();
|
|
25687
25701
|
return Ut(bs(Ge), Je);
|
|
25688
25702
|
},
|
|
25689
|
-
getPrimary: () => c.get().bind(
|
|
25703
|
+
getPrimary: () => c.get().bind(me),
|
|
25690
25704
|
getMenus: () => s.get(),
|
|
25691
25705
|
clear: g,
|
|
25692
25706
|
isClear: p,
|
|
@@ -25735,7 +25749,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25735
25749
|
if (!Pn.getSystem().isConnected())
|
|
25736
25750
|
return D.none();
|
|
25737
25751
|
const yn = Ho.getCandidates(Pn);
|
|
25738
|
-
return
|
|
25752
|
+
return Ke(yn, (Hn) => p(Hn) === On);
|
|
25739
25753
|
}), C = (Dt) => Ko(t.data.menus, (en, On) => Te(en.items, (Pn) => Pn.type === "separator" ? [] : [Pn.data.value])), E = Ho.highlight, $ = (Dt, en) => {
|
|
25740
25754
|
E(Dt, en), Ho.getHighlighted(en).orThunk(() => Ho.getFirst(en)).each((On) => {
|
|
25741
25755
|
t.fakeFocus ? Ho.highlight(en, On) : Tb(Dt, On.element, br());
|
|
@@ -25759,7 +25773,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25759
25773
|
const Hn = no(en, yn);
|
|
25760
25774
|
It(Pn.element, "aria-expanded", Hn);
|
|
25761
25775
|
});
|
|
25762
|
-
},
|
|
25776
|
+
}, me = (Dt, en, On) => D.from(On[0]).bind((Pn) => en.lookupMenu(Pn).bind((yn) => {
|
|
25763
25777
|
if (yn.type === "notbuilt")
|
|
25764
25778
|
return D.none();
|
|
25765
25779
|
{
|
|
@@ -25786,15 +25800,15 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25786
25800
|
const Pn = p(en);
|
|
25787
25801
|
return d.expand(Pn).bind((yn) => (Q(Dt, yn), D.from(yn[0]).bind((Hn) => d.lookupMenu(Hn).bind((ks) => {
|
|
25788
25802
|
const Mo = Ce(Dt, Hn, ks);
|
|
25789
|
-
return po(Mo.element) || Fn.append(Dt, Ti(Mo)), t.onOpenSubmenu(Dt, en, Mo, qo(yn)), On === Me.HighlightSubmenu ? (Ho.highlightFirst(Mo),
|
|
25803
|
+
return po(Mo.element) || Fn.append(Dt, Ti(Mo)), t.onOpenSubmenu(Dt, en, Mo, qo(yn)), On === Me.HighlightSubmenu ? (Ho.highlightFirst(Mo), me(Dt, d, yn)) : (Ho.dehighlightAll(Mo), D.some(en));
|
|
25790
25804
|
}))));
|
|
25791
25805
|
}
|
|
25792
25806
|
}, Oe = (Dt, en) => {
|
|
25793
25807
|
const On = p(en);
|
|
25794
|
-
return d.collapse(On).bind((Pn) => (Q(Dt, Pn),
|
|
25808
|
+
return d.collapse(On).bind((Pn) => (Q(Dt, Pn), me(Dt, d, Pn).map((yn) => (t.onCollapseMenu(Dt, en, yn), yn))));
|
|
25795
25809
|
}, mt = (Dt, en) => {
|
|
25796
25810
|
const On = p(en);
|
|
25797
|
-
return d.refresh(On).bind((Pn) => (Q(Dt, Pn),
|
|
25811
|
+
return d.refresh(On).bind((Pn) => (Q(Dt, Pn), me(Dt, d, Pn)));
|
|
25798
25812
|
}, Je = (Dt, en) => wh(en.element) ? D.none() : ve(Dt, en, Me.HighlightSubmenu), Ge = (Dt, en) => wh(en.element) ? D.none() : Oe(Dt, en), vt = (Dt, en) => Oe(Dt, en).orThunk(() => t.onEscape(Dt, en).map(() => Dt)), At = (Dt) => (en, On) => dd(On.getSource(), `.${t.markers.item}`).bind((Pn) => en.getSystem().getByDom(Pn).toOptional().bind((yn) => Dt(en, yn).map(Nt))), Wn = As([
|
|
25799
25813
|
Qe(lR(), (Dt, en) => {
|
|
25800
25814
|
const On = en.event.item;
|
|
@@ -25986,22 +26000,22 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25986
26000
|
}
|
|
25987
26001
|
});
|
|
25988
26002
|
}, nI = (t, s) => {
|
|
25989
|
-
const a = (H, W) => t.getRelated(H).exists((
|
|
26003
|
+
const a = (H, W) => t.getRelated(H).exists((me) => qm(me, W)), c = (H, W) => {
|
|
25990
26004
|
So.setContent(H, W);
|
|
25991
26005
|
}, d = (H, W, Q) => {
|
|
25992
|
-
const
|
|
25993
|
-
g(H, W, Q,
|
|
25994
|
-
}, g = (H, W, Q,
|
|
26006
|
+
const me = D.none;
|
|
26007
|
+
g(H, W, Q, me);
|
|
26008
|
+
}, g = (H, W, Q, me) => {
|
|
25995
26009
|
const Me = t.lazySink(H).getOrDie();
|
|
25996
|
-
So.openWhileCloaked(H, W, () => Al.positionWithinBounds(Me, H, Q,
|
|
26010
|
+
So.openWhileCloaked(H, W, () => Al.positionWithinBounds(Me, H, Q, me())), Vt.setValue(H, D.some({
|
|
25997
26011
|
mode: "position",
|
|
25998
26012
|
config: Q,
|
|
25999
|
-
getBounds:
|
|
26013
|
+
getBounds: me
|
|
26000
26014
|
}));
|
|
26001
26015
|
}, p = (H, W, Q) => {
|
|
26002
26016
|
w(H, W, Q, D.none);
|
|
26003
|
-
}, w = (H, W, Q,
|
|
26004
|
-
const Me = tI(t, H, W, Q,
|
|
26017
|
+
}, w = (H, W, Q, me) => {
|
|
26018
|
+
const Me = tI(t, H, W, Q, me);
|
|
26005
26019
|
So.open(H, Me), Vt.setValue(H, D.some({
|
|
26006
26020
|
mode: "menu",
|
|
26007
26021
|
menu: Me
|
|
@@ -26892,7 +26906,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26892
26906
|
return s.isSupported = !1, s;
|
|
26893
26907
|
const a = t.document, c = a.currentScript;
|
|
26894
26908
|
let { document: d } = t;
|
|
26895
|
-
const { DocumentFragment: g, HTMLTemplateElement: p, Node: w, Element: C, NodeFilter: E, NamedNodeMap: $ = t.NamedNodeMap || t.MozNamedAttrMap, HTMLFormElement: N, DOMParser: H, trustedTypes: W } = t, Q = C.prototype,
|
|
26909
|
+
const { DocumentFragment: g, HTMLTemplateElement: p, Node: w, Element: C, NodeFilter: E, NamedNodeMap: $ = t.NamedNodeMap || t.MozNamedAttrMap, HTMLFormElement: N, DOMParser: H, trustedTypes: W } = t, Q = C.prototype, me = Cw(Q, "cloneNode"), Me = Cw(Q, "nextSibling"), Ce = Cw(Q, "childNodes"), ve = Cw(Q, "parentNode");
|
|
26896
26910
|
if (typeof p == "function") {
|
|
26897
26911
|
const wo = d.createElement("template");
|
|
26898
26912
|
wo.content && wo.content.ownerDocument && (d = wo.content.ownerDocument);
|
|
@@ -27133,7 +27147,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
27133
27147
|
if (Wi && ca) {
|
|
27134
27148
|
const Ag = Wi.length;
|
|
27135
27149
|
for (let Pl = Ag - 1; Pl >= 0; --Pl)
|
|
27136
|
-
ca.insertBefore(
|
|
27150
|
+
ca.insertBefore(me(Wi[Pl], !0), Me(Ue));
|
|
27137
27151
|
}
|
|
27138
27152
|
}
|
|
27139
27153
|
return Xx(Ue), !0;
|
|
@@ -27325,7 +27339,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
27325
27339
|
])
|
|
27326
27340
|
};
|
|
27327
27341
|
}, lm = (t, s, a, c = D.none()) => wR(s, t, a(), c), _I = (t, s, a) => {
|
|
27328
|
-
const c = a(), d =
|
|
27342
|
+
const c = a(), d = Ke(t, (g) => xo(c, Aw(g, c)));
|
|
27329
27343
|
return wR(s, d.getOr(yR), c, D.none());
|
|
27330
27344
|
}, xR = {
|
|
27331
27345
|
success: "checkmark",
|
|
@@ -27373,8 +27387,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
27373
27387
|
behaviours: xt([Fn.config({})])
|
|
27374
27388
|
}), w = {
|
|
27375
27389
|
updateProgress: (W, Q) => {
|
|
27376
|
-
W.getSystem().isConnected() && d.getOpt(W).each((
|
|
27377
|
-
Fn.set(
|
|
27390
|
+
W.getSystem().isConnected() && d.getOpt(W).each((me) => {
|
|
27391
|
+
Fn.set(me, [
|
|
27378
27392
|
{
|
|
27379
27393
|
dom: {
|
|
27380
27394
|
tag: "div",
|
|
@@ -27388,8 +27402,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
27388
27402
|
},
|
|
27389
27403
|
updateText: (W, Q) => {
|
|
27390
27404
|
if (W.getSystem().isConnected()) {
|
|
27391
|
-
const
|
|
27392
|
-
Fn.set(
|
|
27405
|
+
const me = s.get(W);
|
|
27406
|
+
Fn.set(me, [kr(Q)]);
|
|
27393
27407
|
}
|
|
27394
27408
|
}
|
|
27395
27409
|
}, C = Ye([
|
|
@@ -27510,13 +27524,13 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
27510
27524
|
const Q = {
|
|
27511
27525
|
close: $,
|
|
27512
27526
|
reposition: () => {
|
|
27513
|
-
const
|
|
27527
|
+
const me = Ti(N), Me = { maxHeightFunction: kp() }, Ce = t.notificationManager.getNotifications();
|
|
27514
27528
|
if (Ce[0] === Q) {
|
|
27515
27529
|
const ve = {
|
|
27516
27530
|
...c.anchors.banner(),
|
|
27517
27531
|
overrides: Me
|
|
27518
27532
|
};
|
|
27519
|
-
dr.showWithinBounds(H,
|
|
27533
|
+
dr.showWithinBounds(H, me, { anchor: ve }, d);
|
|
27520
27534
|
} else
|
|
27521
27535
|
Pe(Ce, Q).each((ve) => {
|
|
27522
27536
|
const Oe = Ce[ve - 1].getEl(), mt = {
|
|
@@ -27529,17 +27543,17 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
27529
27543
|
onLtr: () => [_a]
|
|
27530
27544
|
}
|
|
27531
27545
|
};
|
|
27532
|
-
dr.showWithinBounds(H,
|
|
27546
|
+
dr.showWithinBounds(H, me, { anchor: mt }, d);
|
|
27533
27547
|
});
|
|
27534
27548
|
},
|
|
27535
|
-
text: (
|
|
27536
|
-
jT.updateText(N,
|
|
27549
|
+
text: (me) => {
|
|
27550
|
+
jT.updateText(N, me);
|
|
27537
27551
|
},
|
|
27538
27552
|
settings: C,
|
|
27539
27553
|
getEl: () => N.element.dom,
|
|
27540
27554
|
progressBar: {
|
|
27541
|
-
value: (
|
|
27542
|
-
jT.updateProgress(N,
|
|
27555
|
+
value: (me) => {
|
|
27556
|
+
jT.updateProgress(N, me);
|
|
27543
27557
|
}
|
|
27544
27558
|
}
|
|
27545
27559
|
};
|
|
@@ -29083,7 +29097,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29083
29097
|
}, qw = (t, s, a) => {
|
|
29084
29098
|
if (Fs(a))
|
|
29085
29099
|
return s === "forecolor" ? "Text color" : "Background color";
|
|
29086
|
-
const c = s === "forecolor" ? "Text color {0}" : "Background color {0}", d = t5(OS(t, s), s, !1), g =
|
|
29100
|
+
const c = s === "forecolor" ? "Text color {0}" : "Background color {0}", d = t5(OS(t, s), s, !1), g = Ke(d, (p) => p.value === a).getOr({ text: "" }).text;
|
|
29087
29101
|
return t.translate([
|
|
29088
29102
|
c,
|
|
29089
29103
|
t.translate(g)
|
|
@@ -29577,11 +29591,11 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29577
29591
|
},
|
|
29578
29592
|
onRepositionMenu: (N, H, W) => {
|
|
29579
29593
|
const Q = C().getOrDie();
|
|
29580
|
-
Al.position(Q, H, { anchor: a }), pt(W, (
|
|
29581
|
-
Al.position(Q,
|
|
29594
|
+
Al.position(Q, H, { anchor: a }), pt(W, (me) => {
|
|
29595
|
+
Al.position(Q, me.triggeredMenu, {
|
|
29582
29596
|
anchor: {
|
|
29583
29597
|
type: "submenu",
|
|
29584
|
-
item:
|
|
29598
|
+
item: me.triggeringItem
|
|
29585
29599
|
}
|
|
29586
29600
|
});
|
|
29587
29601
|
});
|
|
@@ -29959,14 +29973,14 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29959
29973
|
}), t.on("AutocompleterUpdate", ({ lookupData: Me }) => W(Me)), t.on("AutocompleterEnd", () => {
|
|
29960
29974
|
C(), d.set(!1), c.set(!1);
|
|
29961
29975
|
});
|
|
29962
|
-
const
|
|
29976
|
+
const me = {
|
|
29963
29977
|
cancelIfNecessary: $,
|
|
29964
29978
|
isMenuOpen: p,
|
|
29965
29979
|
isActive: w,
|
|
29966
29980
|
isProcessingAction: c.get,
|
|
29967
29981
|
getMenu: E
|
|
29968
29982
|
};
|
|
29969
|
-
EI.setup(
|
|
29983
|
+
EI.setup(me, t);
|
|
29970
29984
|
} }, S6 = [
|
|
29971
29985
|
"visible",
|
|
29972
29986
|
"hidden",
|
|
@@ -30080,8 +30094,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
30080
30094
|
Me && Q.kill();
|
|
30081
30095
|
}), a.triggerEvent(W, Q) && Q.kill();
|
|
30082
30096
|
})), p = ro(), w = Jl(t, "paste", (W) => {
|
|
30083
|
-
d.fireIfReady(W, "paste").each((
|
|
30084
|
-
|
|
30097
|
+
d.fireIfReady(W, "paste").each((me) => {
|
|
30098
|
+
me && W.kill();
|
|
30085
30099
|
}), a.triggerEvent("paste", W) && W.kill(), p.set(setTimeout(() => {
|
|
30086
30100
|
a.triggerEvent(th(), W);
|
|
30087
30101
|
}, 0));
|
|
@@ -30255,7 +30269,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
30255
30269
|
triggerEscape: (Ce, ve) => {
|
|
30256
30270
|
g.triggerEvent("keydown", Ce.element, ve.event);
|
|
30257
30271
|
},
|
|
30258
|
-
getByUid: (Ce) =>
|
|
30272
|
+
getByUid: (Ce) => me(Ce),
|
|
30259
30273
|
getByDom: (Ce) => Me(Ce),
|
|
30260
30274
|
build: Tl,
|
|
30261
30275
|
buildOrPatch: Vb,
|
|
@@ -30311,9 +30325,9 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
30311
30325
|
}, Q = (Ce, ve) => {
|
|
30312
30326
|
const Oe = a.filter(Ce);
|
|
30313
30327
|
return EF(Oe, ve);
|
|
30314
|
-
},
|
|
30328
|
+
}, me = (Ce) => a.getById(Ce).fold(() => Vn.error(new Error('Could not find component with uid: "' + Ce + '" in system.')), Vn.value), Me = (Ce) => {
|
|
30315
30329
|
const ve = L0(Ce).getOr("not found");
|
|
30316
|
-
return
|
|
30330
|
+
return me(ve);
|
|
30317
30331
|
};
|
|
30318
30332
|
return p(t), {
|
|
30319
30333
|
root: t,
|
|
@@ -30321,7 +30335,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
30321
30335
|
destroy: $,
|
|
30322
30336
|
add: C,
|
|
30323
30337
|
remove: E,
|
|
30324
|
-
getByUid:
|
|
30338
|
+
getByUid: me,
|
|
30325
30339
|
getByDom: Me,
|
|
30326
30340
|
addToWorld: p,
|
|
30327
30341
|
removeFromWorld: w,
|
|
@@ -30462,42 +30476,42 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
30462
30476
|
const c = t.label.map((W) => Sd(W, s)), d = s.icons(), g = (W) => {
|
|
30463
30477
|
var Q;
|
|
30464
30478
|
return (Q = d[W]) !== null && Q !== void 0 ? Q : W;
|
|
30465
|
-
}, p = (W) => (Q,
|
|
30466
|
-
dd(
|
|
30467
|
-
W(Q,
|
|
30479
|
+
}, p = (W) => (Q, me) => {
|
|
30480
|
+
dd(me.event.target, "[data-collection-item-value]").each((Me) => {
|
|
30481
|
+
W(Q, me, Me, js(Me, "data-collection-item-value"));
|
|
30468
30482
|
});
|
|
30469
30483
|
}, w = (W, Q) => {
|
|
30470
|
-
const
|
|
30484
|
+
const me = tt(Q, (ve) => {
|
|
30471
30485
|
const Oe = Vu.translate(ve.text), mt = t.columns === 1 ? `<div class="tox-collection__item-label">${Oe}</div>` : "", Je = `<div class="tox-collection__item-icon">${g(ve.icon)}</div>`, Ge = {
|
|
30472
30486
|
_: " ",
|
|
30473
30487
|
" - ": " ",
|
|
30474
30488
|
"-": " "
|
|
30475
30489
|
}, vt = Oe.replace(/\_| \- |\-/g, (Wn) => Ge[Wn]);
|
|
30476
30490
|
return `<div class="tox-collection__item${s.isDisabled() ? " tox-collection__item--state-disabled" : ""}" tabindex="-1" data-collection-item-value="${BF.encodeAllRaw(ve.value)}" title="${vt}" aria-label="${vt}">${Je}${mt}</div>`;
|
|
30477
|
-
}), Me = t.columns !== "auto" && t.columns > 1 ? vr(
|
|
30491
|
+
}), Me = t.columns !== "auto" && t.columns > 1 ? vr(me, t.columns) : [me], Ce = tt(Me, (ve) => `<div class="tox-collection__group">${ve.join("")}</div>`);
|
|
30478
30492
|
oh(W.element, Ce.join(""));
|
|
30479
|
-
}, C = p((W, Q,
|
|
30493
|
+
}, C = p((W, Q, me, Me) => {
|
|
30480
30494
|
Q.stop(), s.isDisabled() || dn(W, bg, {
|
|
30481
30495
|
name: t.name,
|
|
30482
30496
|
value: Me
|
|
30483
30497
|
});
|
|
30484
30498
|
}), E = [
|
|
30485
|
-
Qe(ad(), p((W, Q,
|
|
30486
|
-
Oc(
|
|
30499
|
+
Qe(ad(), p((W, Q, me) => {
|
|
30500
|
+
Oc(me);
|
|
30487
30501
|
})),
|
|
30488
30502
|
Qe(Vm(), C),
|
|
30489
30503
|
Qe(cd(), C),
|
|
30490
|
-
Qe(dl(), p((W, Q,
|
|
30504
|
+
Qe(dl(), p((W, Q, me) => {
|
|
30491
30505
|
Ir(W.element, "." + Bw).each((Me) => {
|
|
30492
30506
|
or(Me, Bw);
|
|
30493
|
-
}), Nr(
|
|
30507
|
+
}), Nr(me, Bw);
|
|
30494
30508
|
})),
|
|
30495
30509
|
Qe(Hm(), p((W) => {
|
|
30496
30510
|
Ir(W.element, "." + Bw).each((Q) => {
|
|
30497
30511
|
or(Q, Bw);
|
|
30498
30512
|
});
|
|
30499
30513
|
})),
|
|
30500
|
-
$u(p((W, Q,
|
|
30514
|
+
$u(p((W, Q, me, Me) => {
|
|
30501
30515
|
dn(W, bg, {
|
|
30502
30516
|
name: t.name,
|
|
30503
30517
|
value: Me
|
|
@@ -30532,8 +30546,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
30532
30546
|
initialValue: a.getOr([])
|
|
30533
30547
|
},
|
|
30534
30548
|
onSetValue: (W, Q) => {
|
|
30535
|
-
w(W, Q), t.columns === "auto" && $E(W, 5, "tox-collection__item").each(({ numRows:
|
|
30536
|
-
mn.setGridSize(W,
|
|
30549
|
+
w(W, Q), t.columns === "auto" && $E(W, 5, "tox-collection__item").each(({ numRows: me, numColumns: Me }) => {
|
|
30550
|
+
mn.setGridSize(W, me, Me);
|
|
30537
30551
|
}), _o(W, I6);
|
|
30538
30552
|
}
|
|
30539
30553
|
}),
|
|
@@ -30868,13 +30882,13 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
30868
30882
|
const p = (t - g) % c, w = Math.round(p / c), C = Math.floor((t - g) / c), E = Math.floor((a - g) / c), $ = Math.min(E, C + w), N = g + $ * c;
|
|
30869
30883
|
return Math.max(g, N);
|
|
30870
30884
|
}), p9 = (t, s, a) => Math.min(a, Math.max(t, s)) - s, Q6 = (t) => {
|
|
30871
|
-
const { min: s, max: a, range: c, value: d, step: g, snap: p, snapStart: w, rounded: C, hasMinEdge: E, hasMaxEdge: $, minBound: N, maxBound: H, screenRange: W } = t, Q = E ? s - 1 : s,
|
|
30885
|
+
const { min: s, max: a, range: c, value: d, step: g, snap: p, snapStart: w, rounded: C, hasMinEdge: E, hasMaxEdge: $, minBound: N, maxBound: H, screenRange: W } = t, Q = E ? s - 1 : s, me = $ ? a + 1 : a;
|
|
30872
30886
|
if (d < N)
|
|
30873
30887
|
return Q;
|
|
30874
30888
|
if (d > H)
|
|
30875
|
-
return
|
|
30889
|
+
return me;
|
|
30876
30890
|
{
|
|
30877
|
-
const Me = p9(d, N, H), Ce = J6(Me / W * c + s, Q,
|
|
30891
|
+
const Me = p9(d, N, H), Ce = J6(Me / W * c + s, Q, me);
|
|
30878
30892
|
return p && Ce >= s && Ce <= a ? h9(Ce, s, a, g, w) : C ? Math.round(Ce) : Ce;
|
|
30879
30893
|
}
|
|
30880
30894
|
}, eM = (t) => {
|
|
@@ -31168,7 +31182,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31168
31182
|
W(Je, Ge);
|
|
31169
31183
|
const vt = d(Je);
|
|
31170
31184
|
return t.onChange(Je, vt, Ge), D.some(!0);
|
|
31171
|
-
},
|
|
31185
|
+
}, me = (Je) => {
|
|
31172
31186
|
N.setToMin(Je, t);
|
|
31173
31187
|
}, Me = (Je) => {
|
|
31174
31188
|
N.setToMax(Je, t);
|
|
@@ -31225,7 +31239,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31225
31239
|
Qe(O0(), Oe)
|
|
31226
31240
|
]),
|
|
31227
31241
|
apis: {
|
|
31228
|
-
resetToMin:
|
|
31242
|
+
resetToMin: me,
|
|
31229
31243
|
resetToMax: Me,
|
|
31230
31244
|
setValue: W,
|
|
31231
31245
|
refresh: H
|
|
@@ -31351,16 +31365,16 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31351
31365
|
},
|
|
31352
31366
|
validator: {
|
|
31353
31367
|
validate: (Q) => {
|
|
31354
|
-
const
|
|
31368
|
+
const me = Vt.getValue(Q), Me = W(me) ? Vn.value(!0) : Vn.error(t("aria.input.invalid"));
|
|
31355
31369
|
return tc.pure(Me);
|
|
31356
31370
|
},
|
|
31357
31371
|
validateOnLoad: !1
|
|
31358
31372
|
}
|
|
31359
|
-
}), g = (H, W, Q,
|
|
31373
|
+
}), g = (H, W, Q, me, Me) => {
|
|
31360
31374
|
const Ce = t(iy + "range"), ve = Qo.parts.label({
|
|
31361
31375
|
dom: {
|
|
31362
31376
|
tag: "label",
|
|
31363
|
-
attributes: { "aria-label":
|
|
31377
|
+
attributes: { "aria-label": me }
|
|
31364
31378
|
},
|
|
31365
31379
|
components: [kr(Q)]
|
|
31366
31380
|
}), Oe = Qo.parts.field({
|
|
@@ -31391,14 +31405,14 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31391
31405
|
};
|
|
31392
31406
|
}, p = (H, W) => {
|
|
31393
31407
|
const Q = ty(W);
|
|
31394
|
-
return cy.getField(H, "hex").each((
|
|
31395
|
-
_n.isFocused(
|
|
31408
|
+
return cy.getField(H, "hex").each((me) => {
|
|
31409
|
+
_n.isFocused(me) || Vt.setValue(H, { hex: Q.value });
|
|
31396
31410
|
}), Q;
|
|
31397
31411
|
}, w = (H, W) => {
|
|
31398
|
-
const Q = W.red,
|
|
31412
|
+
const Q = W.red, me = W.green, Me = W.blue;
|
|
31399
31413
|
Vt.setValue(H, {
|
|
31400
31414
|
red: Q,
|
|
31401
|
-
green:
|
|
31415
|
+
green: me,
|
|
31402
31416
|
blue: Me
|
|
31403
31417
|
});
|
|
31404
31418
|
}, C = Jo({
|
|
@@ -31423,23 +31437,23 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31423
31437
|
}, W = (Sn, Yo) => {
|
|
31424
31438
|
const bn = Zw(Yo);
|
|
31425
31439
|
w(Sn, bn), Ce(bn);
|
|
31426
|
-
}, Q = (Sn) => H[Sn].get(),
|
|
31440
|
+
}, Q = (Sn) => H[Sn].get(), me = (Sn, Yo) => {
|
|
31427
31441
|
H[Sn].set(Yo);
|
|
31428
31442
|
}, Me = () => Q("red").bind((Sn) => Q("green").bind((Yo) => Q("blue").map((bn) => n0(Sn, Yo, bn, 1)))), Ce = (Sn) => {
|
|
31429
31443
|
const Yo = Sn.red, bn = Sn.green, Ro = Sn.blue;
|
|
31430
|
-
|
|
31444
|
+
me("red", D.some(Yo)), me("green", D.some(bn)), me("blue", D.some(Ro));
|
|
31431
31445
|
}, ve = (Sn, Yo) => {
|
|
31432
31446
|
const bn = Yo.event;
|
|
31433
|
-
bn.type !== "hex" ?
|
|
31447
|
+
bn.type !== "hex" ? me(bn.type, D.none()) : c(Sn);
|
|
31434
31448
|
}, Oe = (Sn, Yo) => {
|
|
31435
31449
|
a(Sn);
|
|
31436
31450
|
const bn = N$(Yo);
|
|
31437
|
-
|
|
31451
|
+
me("hex", D.some(bn.value));
|
|
31438
31452
|
const Ro = Zw(bn);
|
|
31439
31453
|
w(Sn, Ro), Ce(Ro), dn(Sn, ax, { hex: bn }), E(Sn, bn);
|
|
31440
31454
|
}, mt = (Sn, Yo, bn) => {
|
|
31441
31455
|
const Ro = parseInt(bn, 10);
|
|
31442
|
-
|
|
31456
|
+
me(Yo, D.some(Ro)), Me().each((Dt) => {
|
|
31443
31457
|
const en = p(Sn, Dt);
|
|
31444
31458
|
dn(Sn, ax, { hex: en }), E(Sn, en);
|
|
31445
31459
|
});
|
|
@@ -31509,8 +31523,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31509
31523
|
W.fillStyle = $, W.fillRect(0, 0, N, H);
|
|
31510
31524
|
const Q = W.createLinearGradient(0, 0, N, 0);
|
|
31511
31525
|
Q.addColorStop(0, "rgba(255,255,255,1)"), Q.addColorStop(1, "rgba(255,255,255,0)"), W.fillStyle = Q, W.fillRect(0, 0, N, H);
|
|
31512
|
-
const
|
|
31513
|
-
|
|
31526
|
+
const me = W.createLinearGradient(0, 0, 0, H);
|
|
31527
|
+
me.addColorStop(0, "rgba(0,0,0,0)"), me.addColorStop(1, "rgba(0,0,0,1)"), W.fillStyle = me, W.fillRect(0, 0, N, H);
|
|
31514
31528
|
}, g = (E, $) => {
|
|
31515
31529
|
const N = E.components()[0].element.dom, H = Gw($, 100, 100), W = j$(H);
|
|
31516
31530
|
d(N, WE(W));
|
|
@@ -31530,13 +31544,13 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31530
31544
|
const $ = ae({
|
|
31531
31545
|
x: 0,
|
|
31532
31546
|
y: 0
|
|
31533
|
-
}), N = (Q,
|
|
31547
|
+
}), N = (Q, me, Me) => {
|
|
31534
31548
|
Ls(Me) || It(Q.element, "aria-valuetext", t([
|
|
31535
31549
|
"Saturation {0}%, Brightness {1}%",
|
|
31536
31550
|
Math.floor(Me.x),
|
|
31537
31551
|
Math.floor(100 - Me.y)
|
|
31538
31552
|
])), dn(Q, lx, { value: Me });
|
|
31539
|
-
}, H = (Q,
|
|
31553
|
+
}, H = (Q, me, Me, Ce) => {
|
|
31540
31554
|
d(Me.element.dom, WE(Cd));
|
|
31541
31555
|
}, W = xt([
|
|
31542
31556
|
yo.config({ find: D.some }),
|
|
@@ -31594,7 +31608,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31594
31608
|
H.getOpt(Ge).each((At) => {
|
|
31595
31609
|
g.updateHex(At, vt);
|
|
31596
31610
|
});
|
|
31597
|
-
},
|
|
31611
|
+
}, me = (Ge, vt, At) => {
|
|
31598
31612
|
$.getOpt(Ge).each((Wn) => {
|
|
31599
31613
|
$l.setValue(Wn, C(At));
|
|
31600
31614
|
});
|
|
@@ -31627,7 +31641,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31627
31641
|
}, Je = () => {
|
|
31628
31642
|
const Ge = [
|
|
31629
31643
|
W,
|
|
31630
|
-
|
|
31644
|
+
me,
|
|
31631
31645
|
Me
|
|
31632
31646
|
];
|
|
31633
31647
|
return (vt, At) => {
|
|
@@ -31741,8 +31755,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31741
31755
|
yo.getCurrent(H).fold(() => {
|
|
31742
31756
|
console.log("Can not find form");
|
|
31743
31757
|
}, (Q) => {
|
|
31744
|
-
Vt.setValue(Q, { hex: N.getOr("") }), cy.getField(Q, "hex").each((
|
|
31745
|
-
_o(
|
|
31758
|
+
Vt.setValue(Q, { hex: N.getOr("") }), cy.getField(Q, "hex").each((me) => {
|
|
31759
|
+
_o(me, Qg());
|
|
31746
31760
|
});
|
|
31747
31761
|
});
|
|
31748
31762
|
}),
|
|
@@ -31784,14 +31798,14 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31784
31798
|
const c = (H, W) => {
|
|
31785
31799
|
W.stop();
|
|
31786
31800
|
}, d = (H) => (W, Q) => {
|
|
31787
|
-
pt(H, (
|
|
31788
|
-
|
|
31801
|
+
pt(H, (me) => {
|
|
31802
|
+
me(W, Q);
|
|
31789
31803
|
});
|
|
31790
31804
|
}, g = (H, W) => {
|
|
31791
31805
|
var Q;
|
|
31792
31806
|
if (!xn.isDisabled(H)) {
|
|
31793
|
-
const
|
|
31794
|
-
w(H, (Q =
|
|
31807
|
+
const me = W.event.raw;
|
|
31808
|
+
w(H, (Q = me.dataTransfer) === null || Q === void 0 ? void 0 : Q.files);
|
|
31795
31809
|
}
|
|
31796
31810
|
}, p = (H, W) => {
|
|
31797
31811
|
const Q = W.event.raw.target;
|
|
@@ -32017,8 +32031,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
32017
32031
|
[my]: {
|
|
32018
32032
|
onReceive: (H, W) => {
|
|
32019
32033
|
W.newFocus.each((Q) => {
|
|
32020
|
-
zl(H.element).each((
|
|
32021
|
-
(zo(H.element, Q) ? Nr : or)(
|
|
32034
|
+
zl(H.element).each((me) => {
|
|
32035
|
+
(zo(H.element, Q) ? Nr : or)(me, "tox-navobj-bordered-focus");
|
|
32022
32036
|
});
|
|
32023
32037
|
});
|
|
32024
32038
|
}
|
|
@@ -32073,9 +32087,9 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
32073
32087
|
const Me = lH(C.element, H, W);
|
|
32074
32088
|
$.zoom = Me;
|
|
32075
32089
|
}
|
|
32076
|
-
const
|
|
32090
|
+
const me = ak(Wr(C.element), Us(C.element), H, W, $.zoom);
|
|
32077
32091
|
d.getOpt(C).each((Me) => {
|
|
32078
|
-
Ms(Me.element,
|
|
32092
|
+
Ms(Me.element, me);
|
|
32079
32093
|
});
|
|
32080
32094
|
}
|
|
32081
32095
|
};
|
|
@@ -32263,8 +32277,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
32263
32277
|
fakeFocus: t.searchable,
|
|
32264
32278
|
onHighlightItem: h5,
|
|
32265
32279
|
onCollapseMenu: (H, W, Q) => {
|
|
32266
|
-
Ho.getHighlighted(Q).each((
|
|
32267
|
-
h5(H, Q,
|
|
32280
|
+
Ho.getHighlighted(Q).each((me) => {
|
|
32281
|
+
h5(H, Q, me);
|
|
32268
32282
|
});
|
|
32269
32283
|
},
|
|
32270
32284
|
onDehighlightItem: dF
|
|
@@ -32425,7 +32439,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
32425
32439
|
getValue: (d) => qd(d.element),
|
|
32426
32440
|
setValue: (d, g) => {
|
|
32427
32441
|
const p = yr(t.options);
|
|
32428
|
-
|
|
32442
|
+
Ke(t.options, (C) => C.value === g).isSome() ? mp(d.element, g) : d.element.dom.selectedIndex === -1 && g === "" && p.each((C) => mp(d.element, C.value));
|
|
32429
32443
|
},
|
|
32430
32444
|
...c
|
|
32431
32445
|
}
|
|
@@ -32711,8 +32725,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
32711
32725
|
markers: { lockClass: "tox-locked" },
|
|
32712
32726
|
onLockedChange: (N, H, W) => {
|
|
32713
32727
|
cA(Vt.getValue(N)).each((Q) => {
|
|
32714
|
-
a(Q).each((
|
|
32715
|
-
Vt.setValue(H, UM(
|
|
32728
|
+
a(Q).each((me) => {
|
|
32729
|
+
Vt.setValue(H, UM(me));
|
|
32716
32730
|
});
|
|
32717
32731
|
});
|
|
32718
32732
|
},
|
|
@@ -32728,7 +32742,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
32728
32742
|
}),
|
|
32729
32743
|
Ea(),
|
|
32730
32744
|
Un("size-input-events2", [Qe(c, (N, H) => {
|
|
32731
|
-
const W = H.event.isField1, Q = W ? Li.getField1(N) : Li.getField2(N),
|
|
32745
|
+
const W = H.event.isField1, Q = W ? Li.getField1(N) : Li.getField2(N), me = W ? Li.getField2(N) : Li.getField1(N), Me = Q.map(Vt.getValue).getOr(""), Ce = me.map(Vt.getValue).getOr("");
|
|
32732
32746
|
a = xH(Me, Ce);
|
|
32733
32747
|
})])
|
|
32734
32748
|
])
|
|
@@ -32843,8 +32857,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
32843
32857
|
invalidClass: "tox-invalid",
|
|
32844
32858
|
validator: {
|
|
32845
32859
|
validate: (Q) => {
|
|
32846
|
-
const
|
|
32847
|
-
return tc.pure(Me === !0 ? Vn.value(
|
|
32860
|
+
const me = Vt.getValue(Q), Me = W.validator(me);
|
|
32861
|
+
return tc.pure(Me === !0 ? Vn.value(me) : Vn.error(Me));
|
|
32848
32862
|
},
|
|
32849
32863
|
validateOnLoad: W.validateOnLoad
|
|
32850
32864
|
}
|
|
@@ -33297,7 +33311,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
33297
33311
|
C.set(W ? [
|
|
33298
33312
|
...C.get(),
|
|
33299
33313
|
Q
|
|
33300
|
-
] : C.get().filter((
|
|
33314
|
+
] : C.get().filter((me) => me !== Q));
|
|
33301
33315
|
})
|
|
33302
33316
|
]),
|
|
33303
33317
|
Xn.config({
|
|
@@ -33440,22 +33454,22 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
33440
33454
|
t.previewing.set(!1);
|
|
33441
33455
|
const Q = Fr.getCoupled(N, "sandbox");
|
|
33442
33456
|
if (So.isOpen(Q))
|
|
33443
|
-
yo.getCurrent(Q).each((
|
|
33444
|
-
Ho.getHighlighted(
|
|
33445
|
-
W(
|
|
33457
|
+
yo.getCurrent(Q).each((me) => {
|
|
33458
|
+
Ho.getHighlighted(me).fold(() => {
|
|
33459
|
+
W(me);
|
|
33446
33460
|
}, () => {
|
|
33447
|
-
By(Q,
|
|
33461
|
+
By(Q, me.element, "keydown", H);
|
|
33448
33462
|
});
|
|
33449
33463
|
});
|
|
33450
33464
|
else {
|
|
33451
|
-
const
|
|
33465
|
+
const me = (Me) => {
|
|
33452
33466
|
yo.getCurrent(Me).each(W);
|
|
33453
33467
|
};
|
|
33454
|
-
BS(t, p(N), N, Q, c,
|
|
33468
|
+
BS(t, p(N), N, Q, c, me, Bc.HighlightMenuAndItem).get(he);
|
|
33455
33469
|
}
|
|
33456
33470
|
}, g = pE(t), p = (N) => (H) => H.map((W) => {
|
|
33457
|
-
const Q = qi(W.menus),
|
|
33458
|
-
return Vt.getState(N).update(tt(
|
|
33471
|
+
const Q = qi(W.menus), me = Te(Q, (Ce) => so(Ce.items, (ve) => ve.type === "item"));
|
|
33472
|
+
return Vt.getState(N).update(tt(me, (Ce) => Ce.data)), W;
|
|
33459
33473
|
}), w = (N) => yo.getCurrent(N), C = "typeaheadevents", E = [
|
|
33460
33474
|
_n.config({}),
|
|
33461
33475
|
Vt.config({
|
|
@@ -33482,11 +33496,11 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
33482
33496
|
onStream: (N, H) => {
|
|
33483
33497
|
const W = Fr.getCoupled(N, "sandbox");
|
|
33484
33498
|
if (_n.isFocused(N) && qd(N.element).length >= t.minChars) {
|
|
33485
|
-
const
|
|
33499
|
+
const me = w(W).bind((Ce) => Ho.getHighlighted(Ce).map(Vt.getValue));
|
|
33486
33500
|
t.previewing.set(!0);
|
|
33487
33501
|
const Me = (Ce) => {
|
|
33488
33502
|
w(W).each((ve) => {
|
|
33489
|
-
|
|
33503
|
+
me.fold(() => {
|
|
33490
33504
|
t.model.selectsOver && Ho.highlightFirst(ve);
|
|
33491
33505
|
}, (Oe) => {
|
|
33492
33506
|
Ho.highlightBy(ve, (mt) => Vt.getValue(mt).value === Oe.value), Ho.getHighlighted(ve).orThunk(() => (Ho.highlightFirst(ve), D.none()));
|
|
@@ -33959,7 +33973,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
33959
33973
|
N.asSpec()
|
|
33960
33974
|
],
|
|
33961
33975
|
behaviours: xt([xn.config({ disabled: () => !t.enabled || d.isDisabled() })])
|
|
33962
|
-
}),
|
|
33976
|
+
}), me = Jo(h8({
|
|
33963
33977
|
name: t.name,
|
|
33964
33978
|
icon: D.some("browse"),
|
|
33965
33979
|
text: t.picker_text.or(t.label).getOr(""),
|
|
@@ -33974,7 +33988,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
33974
33988
|
},
|
|
33975
33989
|
components: Ye([
|
|
33976
33990
|
[Q.asSpec()],
|
|
33977
|
-
H.map(() =>
|
|
33991
|
+
H.map(() => me.asSpec()).toArray()
|
|
33978
33992
|
])
|
|
33979
33993
|
}), Ce = (ve) => {
|
|
33980
33994
|
yo.getCurrent(ve).each((Oe) => {
|
|
@@ -33996,10 +34010,10 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
33996
34010
|
xn.config({
|
|
33997
34011
|
disabled: () => !t.enabled || d.isDisabled(),
|
|
33998
34012
|
onDisabled: (ve) => {
|
|
33999
|
-
Qo.getField(ve).each(xn.disable),
|
|
34013
|
+
Qo.getField(ve).each(xn.disable), me.getOpt(ve).each(xn.disable);
|
|
34000
34014
|
},
|
|
34001
34015
|
onEnabled: (ve) => {
|
|
34002
|
-
Qo.getField(ve).each(xn.enable),
|
|
34016
|
+
Qo.getField(ve).each(xn.enable), me.getOpt(ve).each(xn.enable);
|
|
34003
34017
|
}
|
|
34004
34018
|
}),
|
|
34005
34019
|
Ea(),
|
|
@@ -34661,17 +34675,17 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
34661
34675
|
interpreter: (Me) => _8(Me, {}, Q),
|
|
34662
34676
|
getSink: t.popup
|
|
34663
34677
|
}
|
|
34664
|
-
},
|
|
34678
|
+
}, me = {
|
|
34665
34679
|
...W,
|
|
34666
34680
|
shared: {
|
|
34667
34681
|
...W.shared,
|
|
34668
|
-
interpreter: (Me) => _8(Me, {},
|
|
34682
|
+
interpreter: (Me) => _8(Me, {}, me),
|
|
34669
34683
|
getSink: t.dialog
|
|
34670
34684
|
}
|
|
34671
34685
|
};
|
|
34672
34686
|
return {
|
|
34673
34687
|
popup: Q,
|
|
34674
|
-
dialog:
|
|
34688
|
+
dialog: me
|
|
34675
34689
|
};
|
|
34676
34690
|
}, Y8 = (t, s, a) => {
|
|
34677
34691
|
const c = (Ge, vt) => {
|
|
@@ -34696,7 +34710,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
34696
34710
|
pt(t.editorManager.get(), (Ge) => {
|
|
34697
34711
|
t !== Ge && Ge.dispatch("DismissPopups", { relatedTarget: t });
|
|
34698
34712
|
});
|
|
34699
|
-
},
|
|
34713
|
+
}, me = (Ge) => c(Ud(), C2(Ge)), Me = (Ge) => {
|
|
34700
34714
|
d(bh(), {}), c(id(), C2(Ge));
|
|
34701
34715
|
}, Ce = Ie(Ae.fromDom(t.getElement())), ve = Qb(Ce, "scroll", (Ge) => {
|
|
34702
34716
|
requestAnimationFrame(() => {
|
|
@@ -34715,9 +34729,9 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
34715
34729
|
d(pd(), { target: Ae.fromDom(Ge.relatedTarget.getContainer()) });
|
|
34716
34730
|
};
|
|
34717
34731
|
t.on("PostRender", () => {
|
|
34718
|
-
t.on("click", H), t.on("tap", H), t.on("mouseup", W), t.on("mousedown", Q), t.on("ScrollWindow",
|
|
34732
|
+
t.on("click", H), t.on("tap", H), t.on("mouseup", W), t.on("mousedown", Q), t.on("ScrollWindow", me), t.on("ResizeWindow", Me), t.on("ResizeEditor", Oe), t.on("AfterProgressState", mt), t.on("DismissPopups", Je);
|
|
34719
34733
|
}), t.on("remove", () => {
|
|
34720
|
-
t.off("click", H), t.off("tap", H), t.off("mouseup", W), t.off("mousedown", Q), t.off("ScrollWindow",
|
|
34734
|
+
t.off("click", H), t.off("tap", H), t.off("mouseup", W), t.off("mousedown", Q), t.off("ScrollWindow", me), t.off("ResizeWindow", Me), t.off("ResizeEditor", Oe), t.off("AfterProgressState", mt), t.off("DismissPopups", Je), $.unbind(), w.unbind(), C.unbind(), E.unbind(), N.unbind(), ve.unbind();
|
|
34721
34735
|
}), t.on("detach", () => {
|
|
34722
34736
|
pt([
|
|
34723
34737
|
s,
|
|
@@ -34742,8 +34756,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
34742
34756
|
}, (E) => {
|
|
34743
34757
|
const $ = Fn.contents(E), N = C.length, H = N - $.length, W = H > 0 ? ho(H, () => t.makeItem()) : [], Q = $.slice(N);
|
|
34744
34758
|
pt(Q, (Me) => Fn.remove(E, Me)), pt(W, (Me) => Fn.append(E, Me));
|
|
34745
|
-
const
|
|
34746
|
-
pt(
|
|
34759
|
+
const me = Fn.contents(E);
|
|
34760
|
+
pt(me, (Me, Ce) => {
|
|
34747
34761
|
t.setupItem(w, Me, C[Ce], Ce);
|
|
34748
34762
|
});
|
|
34749
34763
|
});
|
|
@@ -35081,8 +35095,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
35081
35095
|
fadeOutClass: "tox-editor-dock-fadeout",
|
|
35082
35096
|
transitionClass: "tox-editor-dock-transition"
|
|
35083
35097
|
}, u7 = "tox-tinymce--toolbar-sticky-on", d7 = "tox-tinymce--toolbar-sticky-off", ZA = (t, s) => {
|
|
35084
|
-
const a = fa(s), d = Hl(s).dom.innerHeight, g = Ka(a), p = Ae.fromDom(t.elm), w = al(p), C = Us(p), E = w.y, $ = E + C, N = Cl(s), H = Us(s), W = N.top, Q = W + H,
|
|
35085
|
-
if (
|
|
35098
|
+
const a = fa(s), d = Hl(s).dom.innerHeight, g = Ka(a), p = Ae.fromDom(t.elm), w = al(p), C = Us(p), E = w.y, $ = E + C, N = Cl(s), H = Us(s), W = N.top, Q = W + H, me = Math.abs(W - g.top) < 2, Me = Math.abs(Q - (g.top + d)) < 2;
|
|
35099
|
+
if (me && E < Q)
|
|
35086
35100
|
Fg(g.left, E - H, a);
|
|
35087
35101
|
else if (Me && $ > W) {
|
|
35088
35102
|
const Ce = E - d + C + H;
|
|
@@ -35150,8 +35164,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
35150
35164
|
const W = N.height - C, Q = N.y + (Ek(w, "top") ? 0 : C);
|
|
35151
35165
|
return Bs(N.x, Q, N.width, W);
|
|
35152
35166
|
}, (W) => {
|
|
35153
|
-
const Q = zg(N, ny(W)),
|
|
35154
|
-
return Bs(Q.x,
|
|
35167
|
+
const Q = zg(N, ny(W)), me = Ek(w, "top") ? Q.y : Q.y + C;
|
|
35168
|
+
return Bs(Q.x, me, Q.width, Q.height - C);
|
|
35155
35169
|
});
|
|
35156
35170
|
});
|
|
35157
35171
|
},
|
|
@@ -35351,25 +35365,25 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
35351
35365
|
}));
|
|
35352
35366
|
return lw(h7, gz, d, pz, a);
|
|
35353
35367
|
}, pz = (t, s) => {
|
|
35354
|
-
const a = (
|
|
35355
|
-
pt(Ce, (ve) =>
|
|
35356
|
-
}, p = (
|
|
35357
|
-
if (!p(
|
|
35358
|
-
const Ce =
|
|
35359
|
-
Co(Ce, "display"), le(Ce, "aria-hidden"), dn(
|
|
35368
|
+
const a = (me) => ow(t), c = (me, Me) => _s(me, t, Me), d = (me, Me) => (Ce, ve) => _s(Ce, t, ve).map((Oe) => me(Oe, ve)).getOr(Me), g = (me) => (Me, Ce) => {
|
|
35369
|
+
pt(Ce, (ve) => me(Me, ve));
|
|
35370
|
+
}, p = (me, Me) => js(me.element, "aria-hidden") !== "true", w = (me, Me) => {
|
|
35371
|
+
if (!p(me)) {
|
|
35372
|
+
const Ce = me.element;
|
|
35373
|
+
Co(Ce, "display"), le(Ce, "aria-hidden"), dn(me, M0(), {
|
|
35360
35374
|
name: Me,
|
|
35361
35375
|
visible: !0
|
|
35362
35376
|
});
|
|
35363
35377
|
}
|
|
35364
|
-
}, C = (
|
|
35365
|
-
if (p(
|
|
35366
|
-
const Ce =
|
|
35367
|
-
Yt(Ce, "display", "none"), It(Ce, "aria-hidden", "true"), dn(
|
|
35378
|
+
}, C = (me, Me) => {
|
|
35379
|
+
if (p(me)) {
|
|
35380
|
+
const Ce = me.element;
|
|
35381
|
+
Yt(Ce, "display", "none"), It(Ce, "aria-hidden", "true"), dn(me, M0(), {
|
|
35368
35382
|
name: Me,
|
|
35369
35383
|
visible: !1
|
|
35370
35384
|
});
|
|
35371
35385
|
}
|
|
35372
|
-
}, E = d(p, !1), $ = d(C), N = g($), H = (
|
|
35386
|
+
}, E = d(p, !1), $ = d(C), N = g($), H = (me) => N(me, a()), W = d(w), Q = {
|
|
35373
35387
|
getSlotNames: a,
|
|
35374
35388
|
getSlot: c,
|
|
35375
35389
|
isShowing: E,
|
|
@@ -35442,7 +35456,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
35442
35456
|
gg(c, d),
|
|
35443
35457
|
Qe(M0(), (g, p) => {
|
|
35444
35458
|
const w = p.event;
|
|
35445
|
-
|
|
35459
|
+
Ke(a, (E) => E.name === w.name).each((E) => {
|
|
35446
35460
|
(w.visible ? E.onShow : E.onHide)(E.getApi(g));
|
|
35447
35461
|
});
|
|
35448
35462
|
})
|
|
@@ -35472,7 +35486,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
35472
35486
|
Fi.hasGrown(c) ? Ic.isShowing(g, s) ? (Fi.shrink(c), Ok(t.element, "presentation")) : (Ic.hideAllSlots(g), Ic.showSlot(g, s), Ok(t.element, "region")) : (Ic.hideAllSlots(g), Ic.showSlot(g, s), Fi.grow(c), Ok(t.element, "region"));
|
|
35473
35487
|
});
|
|
35474
35488
|
});
|
|
35475
|
-
}, Cz = (t) => yo.getCurrent(t).bind((a) => Fi.isGrowing(a) || Fi.hasGrown(a) ? yo.getCurrent(a).bind((g) =>
|
|
35489
|
+
}, Cz = (t) => yo.getCurrent(t).bind((a) => Fi.isGrowing(a) || Fi.hasGrown(a) ? yo.getCurrent(a).bind((g) => Ke(Ic.getSlotNames(g), (p) => Ic.isShowing(g, p))) : D.none()), JA = Gt("FixSizeEvent"), QA = Gt("AutoSizeEvent"), _G = (t) => ({
|
|
35476
35490
|
uid: t.uid,
|
|
35477
35491
|
dom: {
|
|
35478
35492
|
tag: "div",
|
|
@@ -36283,9 +36297,9 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
36283
36297
|
})).getOr({}), W = g.map((Oe) => Oe.asSpec()), Q = Jv([
|
|
36284
36298
|
W,
|
|
36285
36299
|
N
|
|
36286
|
-
]),
|
|
36300
|
+
]), me = t.icon.isSome() && N.isSome(), Me = {
|
|
36287
36301
|
tag: "button",
|
|
36288
|
-
classes: E.concat(...t.icon.isSome() && !
|
|
36302
|
+
classes: E.concat(...t.icon.isSome() && !me ? ["tox-button--icon"] : []).concat(...me ? ["tox-button--icon-and-text"] : []).concat(...t.borderless ? ["tox-button--naked"] : []).concat(...t.type === "togglebutton" && t.active ? ["tox-button--enabled"] : []),
|
|
36289
36303
|
attributes: H
|
|
36290
36304
|
}, Ce = [], ve = gk(C, D.some(w), Ce, Me, Q, s);
|
|
36291
36305
|
return Ja.sketch(ve);
|
|
@@ -36402,7 +36416,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
36402
36416
|
},
|
|
36403
36417
|
components: V7(a, t, s),
|
|
36404
36418
|
slotBehaviours: Vw.unnamedEvents([Cs((c) => Ic.hideAllSlots(c))])
|
|
36405
|
-
})), $x = (t) =>
|
|
36419
|
+
})), $x = (t) => Ke(Ic.getSlotNames(t), (s) => Ic.isShowing(t, s)), uD = (t) => {
|
|
36406
36420
|
const s = t.element;
|
|
36407
36421
|
Yt(s, "display", "none"), It(s, "aria-hidden", "true");
|
|
36408
36422
|
}, eU = (t) => {
|
|
@@ -36927,10 +36941,10 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
36927
36941
|
command: "JustifyFull"
|
|
36928
36942
|
}
|
|
36929
36943
|
], Q7 = (t) => {
|
|
36930
|
-
const s = () =>
|
|
36944
|
+
const s = () => Ke(Hk, (w) => t.formatter.match(w.format)), a = (w) => () => t.formatter.match(w), c = (w) => D.none, d = (w) => {
|
|
36931
36945
|
const E = s().fold(ae(J7), ($) => $.title.toLowerCase());
|
|
36932
36946
|
dn(w, m0, { icon: `align-${E}` }), xL(t, { value: E });
|
|
36933
|
-
}, g = xU(Hk), p = (w) => () =>
|
|
36947
|
+
}, g = xU(Hk), p = (w) => () => Ke(Hk, (C) => C.format === w.format).each((C) => t.execCommand(C.command));
|
|
36934
36948
|
return {
|
|
36935
36949
|
tooltip: Bh(t, X7, J7),
|
|
36936
36950
|
text: D.none(),
|
|
@@ -36953,7 +36967,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
36953
36967
|
});
|
|
36954
36968
|
}, eP = (t, s) => {
|
|
36955
36969
|
const a = s(), c = tt(a, (d) => d.format);
|
|
36956
|
-
return D.from(t.formatter.closest(c)).bind((d) =>
|
|
36970
|
+
return D.from(t.formatter.closest(c)).bind((d) => Ke(a, (g) => g.format === d)).orThunk(() => pn(t.formatter.match("p"), {
|
|
36957
36971
|
title: "Paragraph",
|
|
36958
36972
|
format: "p"
|
|
36959
36973
|
}));
|
|
@@ -37007,9 +37021,9 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
37007
37021
|
const s = () => {
|
|
37008
37022
|
const C = (Q) => Q ? aP(Q)[0] : "", E = t.queryCommandValue("FontName"), $ = w.data, N = E ? E.toLowerCase() : "", H = IR(t);
|
|
37009
37023
|
return {
|
|
37010
|
-
matchOpt:
|
|
37011
|
-
const
|
|
37012
|
-
return
|
|
37024
|
+
matchOpt: Ke($, (Q) => {
|
|
37025
|
+
const me = Q.format;
|
|
37026
|
+
return me.toLowerCase() === N || C(me).toLowerCase() === C(N).toLowerCase();
|
|
37013
37027
|
}).orThunk(() => pn(EU(N, H), {
|
|
37014
37028
|
title: yD,
|
|
37015
37029
|
format: N
|
|
@@ -37165,7 +37179,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
37165
37179
|
]
|
|
37166
37180
|
}
|
|
37167
37181
|
});
|
|
37168
|
-
},
|
|
37182
|
+
}, me = Jo(Q((ve) => $(!1, ve), "minus", "Decrease font size", [])), Me = Jo(Q((ve) => N(!1, ve), "plus", "Increase font size", [])), Ce = Jo({
|
|
37169
37183
|
dom: {
|
|
37170
37184
|
tag: "div",
|
|
37171
37185
|
classes: ["tox-input-wrapper"]
|
|
@@ -37212,7 +37226,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
37212
37226
|
}),
|
|
37213
37227
|
Un("input-wrapper-events", [Qe(ad(), (ve) => {
|
|
37214
37228
|
pt([
|
|
37215
|
-
|
|
37229
|
+
me,
|
|
37216
37230
|
Me
|
|
37217
37231
|
], (Oe) => {
|
|
37218
37232
|
const mt = Ae.fromDom(Oe.get(ve).element.dom);
|
|
@@ -37227,7 +37241,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
37227
37241
|
classes: ["tox-number-input"]
|
|
37228
37242
|
},
|
|
37229
37243
|
components: [
|
|
37230
|
-
|
|
37244
|
+
me.asSpec(),
|
|
37231
37245
|
Ce.asSpec(),
|
|
37232
37246
|
Me.asSpec()
|
|
37233
37247
|
],
|
|
@@ -37268,7 +37282,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
37268
37282
|
if ($)
|
|
37269
37283
|
for (let N = 3; C.isNone() && N >= 0; N--) {
|
|
37270
37284
|
const H = IU($, N), W = LU(H);
|
|
37271
|
-
C =
|
|
37285
|
+
C = Ke(E, (Q) => Q.format === $ || Q.format === H || Q.format === W);
|
|
37272
37286
|
}
|
|
37273
37287
|
return {
|
|
37274
37288
|
matchOpt: C,
|
|
@@ -37921,17 +37935,17 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
37921
37935
|
overflow: "scroll",
|
|
37922
37936
|
"-webkit-overflow-scrolling": "touch"
|
|
37923
37937
|
});
|
|
37924
|
-
const
|
|
37938
|
+
const me = J9(() => {
|
|
37925
37939
|
t.dispatch("ScrollContent");
|
|
37926
|
-
}, 20), Me = Jl(N.element, "scroll",
|
|
37940
|
+
}, 20), Me = Jl(N.element, "scroll", me.throttle);
|
|
37927
37941
|
t.on("remove", Me.unbind);
|
|
37928
37942
|
}
|
|
37929
|
-
O$(t, s), t.addCommand("ToggleSidebar", (
|
|
37943
|
+
O$(t, s), t.addCommand("ToggleSidebar", (me, Me) => {
|
|
37930
37944
|
Os.toggleSidebar(C, Me), t.dispatch("ToggleSidebar");
|
|
37931
37945
|
}), t.addQueryValueHandler("ToggleSidebar", () => {
|
|
37932
|
-
var
|
|
37933
|
-
return (
|
|
37934
|
-
}), t.addCommand("ToggleView", (
|
|
37946
|
+
var me;
|
|
37947
|
+
return (me = Os.whichSidebar(C)) !== null && me !== void 0 ? me : "";
|
|
37948
|
+
}), t.addCommand("ToggleView", (me, Me) => {
|
|
37935
37949
|
if (Os.toggleView(C, Me)) {
|
|
37936
37950
|
const Ce = C.element;
|
|
37937
37951
|
g.mothership.broadcastOn([pd()], { target: Ce }), pt(p, (ve) => {
|
|
@@ -37939,19 +37953,19 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
37939
37953
|
}), hn(Os.whichView(C)) && (t.focus(), t.nodeChanged(), Os.refreshToolbar(C));
|
|
37940
37954
|
}
|
|
37941
37955
|
}), t.addQueryValueHandler("ToggleView", () => {
|
|
37942
|
-
var
|
|
37943
|
-
return (
|
|
37956
|
+
var me;
|
|
37957
|
+
return (me = Os.whichView(C)) !== null && me !== void 0 ? me : "";
|
|
37944
37958
|
});
|
|
37945
37959
|
const H = Hv(t), W = () => {
|
|
37946
37960
|
Os.refreshToolbar(s.mainUi.outerContainer);
|
|
37947
37961
|
};
|
|
37948
37962
|
(H === hu.sliding || H === hu.floating) && t.on("ResizeWindow ResizeEditor ResizeContent", () => {
|
|
37949
|
-
const
|
|
37950
|
-
|
|
37963
|
+
const me = t.getWin().innerWidth;
|
|
37964
|
+
me !== w.get() && (W(), w.set(me));
|
|
37951
37965
|
});
|
|
37952
37966
|
const Q = {
|
|
37953
|
-
setEnabled: (
|
|
37954
|
-
wS(s, !
|
|
37967
|
+
setEnabled: (me) => {
|
|
37968
|
+
wS(s, !me);
|
|
37955
37969
|
},
|
|
37956
37970
|
isEnabled: () => !xn.isDisabled(C)
|
|
37957
37971
|
};
|
|
@@ -37972,7 +37986,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
37972
37986
|
const s = Rw(t), a = qT(t), c = X_(t);
|
|
37973
37987
|
return _D(s).map((d) => Xk(d, a, c));
|
|
37974
37988
|
}, iW = (t) => DP(t).getOr(Rw(t)), { ToolbarLocation: nb, ToolbarMode: OP } = kI, uW = 40, dW = (t, s, a, c, d) => {
|
|
37975
|
-
const { mainUi: g, uiMotherships: p } = a, w = L1.DOM, C = Uv(t), E = Pw(t), $ = X_(t).or(DP(t)), N = c.shared.header, H = N.isPositionedAtTop, W = Hv(t), Q = W === OP.sliding || W === OP.floating,
|
|
37989
|
+
const { mainUi: g, uiMotherships: p } = a, w = L1.DOM, C = Uv(t), E = Pw(t), $ = X_(t).or(DP(t)), N = c.shared.header, H = N.isPositionedAtTop, W = Hv(t), Q = W === OP.sliding || W === OP.floating, me = gn(!1), Me = () => me.get() && !t.removed, Ce = (bn) => Q ? bn.fold(ae(0), (Ro) => Ro.components().length > 1 ? Us(Ro.components()[1].element) : 0) : 0, ve = (bn) => {
|
|
37976
37990
|
switch ($w(t)) {
|
|
37977
37991
|
case nb.auto:
|
|
37978
37992
|
const Ro = Os.getToolbar(g.outerContainer), Dt = Ce(Ro), en = Us(bn.element) - Dt, On = Xs(s);
|
|
@@ -38054,12 +38068,12 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
38054
38068
|
isVisible: Me,
|
|
38055
38069
|
isPositionedAtTop: H,
|
|
38056
38070
|
show: () => {
|
|
38057
|
-
|
|
38071
|
+
me.set(!0), Yt(g.outerContainer.element, "display", "flex"), w.addClass(t.getBody(), "mce-edit-focus"), pt(p, (bn) => {
|
|
38058
38072
|
Co(bn.element, "display");
|
|
38059
38073
|
}), jt(), ig(t) ? Wn((bn) => sr.isDocked(bn) ? sr.reset(bn) : sr.refresh(bn)) : Wn(sr.refresh);
|
|
38060
38074
|
},
|
|
38061
38075
|
hide: () => {
|
|
38062
|
-
|
|
38076
|
+
me.set(!1), Yt(g.outerContainer.element, "display", "none"), w.removeClass(t.getBody(), "mce-edit-focus"), pt(p, (bn) => {
|
|
38063
38077
|
Yt(bn.element, "display", "none");
|
|
38064
38078
|
});
|
|
38065
38079
|
},
|
|
@@ -38293,13 +38307,13 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
38293
38307
|
}
|
|
38294
38308
|
}, LP = (t, s, a, c) => {
|
|
38295
38309
|
const d = (C) => (E, $, N, H, W) => {
|
|
38296
|
-
const Q = e4(t, H, C, a, W),
|
|
38310
|
+
const Q = e4(t, H, C, a, W), me = {
|
|
38297
38311
|
...E,
|
|
38298
38312
|
y: W.y,
|
|
38299
38313
|
height: W.height
|
|
38300
38314
|
};
|
|
38301
38315
|
return {
|
|
38302
|
-
...Q(
|
|
38316
|
+
...Q(me, $, N, H, W),
|
|
38303
38317
|
alwaysFit: !0
|
|
38304
38318
|
};
|
|
38305
38319
|
}, g = (C) => AD(c) ? [d(C)] : [];
|
|
@@ -38376,7 +38390,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
38376
38390
|
if (t.length <= 1)
|
|
38377
38391
|
return t;
|
|
38378
38392
|
{
|
|
38379
|
-
const s = (c) =>
|
|
38393
|
+
const s = (c) => Ke(t, (d) => d.position === c);
|
|
38380
38394
|
return s("selection").orThunk(() => s("node")).orThunk(() => s("line")).map((c) => c.position).fold(() => [], (c) => so(t, (d) => d.position === c));
|
|
38381
38395
|
}
|
|
38382
38396
|
}, TW = (t, s, a) => {
|
|
@@ -38511,7 +38525,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
38511
38525
|
return jt.height <= 0 || !ob(Dn, jt, 0.01);
|
|
38512
38526
|
} else
|
|
38513
38527
|
return !0;
|
|
38514
|
-
},
|
|
38528
|
+
}, me = () => {
|
|
38515
38529
|
w.clear(), C.clear(), E.clear(), dr.hide($);
|
|
38516
38530
|
}, Me = () => {
|
|
38517
38531
|
if (dr.isOpen($)) {
|
|
@@ -38583,25 +38597,25 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
38583
38597
|
Wn.throttle();
|
|
38584
38598
|
else {
|
|
38585
38599
|
const jt = ve();
|
|
38586
|
-
t4(jt, t).fold(
|
|
38600
|
+
t4(jt, t).fold(me, (Dn) => {
|
|
38587
38601
|
vt(Dn.toolbars, D.some(Dn.elem));
|
|
38588
38602
|
});
|
|
38589
38603
|
}
|
|
38590
38604
|
}, 17);
|
|
38591
38605
|
t.on("init", () => {
|
|
38592
|
-
t.on("remove",
|
|
38606
|
+
t.on("remove", me), t.on("ScrollContent ScrollWindow ObjectResized ResizeEditor longpress", Me), t.on("click keyup focus SetContent", Wn.throttle), t.on(RP, me), t.on(pW, (jt) => {
|
|
38593
38607
|
const Dn = ve();
|
|
38594
38608
|
bt(Dn.lookupTable, jt.toolbarKey).each((Sn) => {
|
|
38595
38609
|
vt([Sn], pn(jt.target !== t, jt.target)), dr.getContent($).each(mn.focusIn);
|
|
38596
38610
|
});
|
|
38597
38611
|
}), t.on("focusout", (jt) => {
|
|
38598
38612
|
B1.setEditorTimeout(t, () => {
|
|
38599
|
-
Bu(a.element).isNone() && Bu($.element).isNone() &&
|
|
38613
|
+
Bu(a.element).isNone() && Bu($.element).isNone() && me();
|
|
38600
38614
|
}, 0);
|
|
38601
38615
|
}), t.on("SwitchMode", () => {
|
|
38602
|
-
t.mode.isReadOnly() &&
|
|
38616
|
+
t.mode.isReadOnly() && me();
|
|
38603
38617
|
}), t.on("AfterProgressState", (jt) => {
|
|
38604
|
-
jt.state ?
|
|
38618
|
+
jt.state ? me() : t.hasFocus() && Wn.throttle();
|
|
38605
38619
|
}), t.on("dragstart", () => {
|
|
38606
38620
|
At = !0;
|
|
38607
38621
|
}), t.on("dragend drop", () => {
|
|
@@ -39749,7 +39763,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39749
39763
|
finish: vt
|
|
39750
39764
|
});
|
|
39751
39765
|
});
|
|
39752
|
-
}), W = b0(N), Q = b0(H),
|
|
39766
|
+
}), W = b0(N), Q = b0(H), me = Tl(W.asSpec()), Me = Tl(Q.asSpec()), Ce = (vt, At, Wn, jt) => {
|
|
39753
39767
|
const Dn = At.dom.getBoundingClientRect();
|
|
39754
39768
|
Co(vt.element, "display");
|
|
39755
39769
|
const Sn = Hl(Ae.fromDom(t.getBody())).dom.innerHeight, Yo = Wn(Dn), bn = jt(Dn, Sn);
|
|
@@ -39757,15 +39771,15 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39757
39771
|
}, ve = (vt, At, Wn, jt) => {
|
|
39758
39772
|
const Dn = Wn(At);
|
|
39759
39773
|
ab.snapTo(vt, Dn), Ce(vt, At, (bn) => bn[jt] < 0, (bn, Ro) => bn[jt] > Ro);
|
|
39760
|
-
}, Oe = (vt) => ve(
|
|
39774
|
+
}, Oe = (vt) => ve(me, vt, w, "top"), mt = () => g.get().each(Oe), Je = (vt) => ve(Me, vt, E, "bottom"), Ge = () => p.get().each(Je);
|
|
39761
39775
|
yi().deviceType.isTouch() && (t.on("TableSelectionChange", (vt) => {
|
|
39762
|
-
d.get() || (ng(s,
|
|
39776
|
+
d.get() || (ng(s, me), ng(s, Me), d.set(!0)), g.set(vt.start), p.set(vt.finish), vt.otherCells.each((At) => {
|
|
39763
39777
|
a.set(At.upOrLeftCells), c.set(At.downOrRightCells), Oe(vt.start), Je(vt.finish);
|
|
39764
39778
|
});
|
|
39765
39779
|
}), t.on("ResizeEditor ResizeWindow ScrollContent", () => {
|
|
39766
39780
|
mt(), Ge();
|
|
39767
39781
|
}), t.on("TableSelectionClear", () => {
|
|
39768
|
-
d.get() && (tm(
|
|
39782
|
+
d.get() && (tm(me), tm(Me), d.set(!1)), g.clear(), p.clear();
|
|
39769
39783
|
}));
|
|
39770
39784
|
};
|
|
39771
39785
|
var ZD = `<svg width="50px" height="16px" viewBox="0 0 50 16" xmlns="http://www.w3.org/2000/svg">
|
|
@@ -39995,15 +40009,15 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39995
40009
|
const w = [], C = oS(t), E = Vv(t), $ = nE(t) || t.hasPlugin("wordcount"), N = () => {
|
|
39996
40010
|
const H = "tox-statusbar__text-container--flex-start", W = "tox-statusbar__text-container--flex-end", Q = "tox-statusbar__text-container--space-around";
|
|
39997
40011
|
if (C) {
|
|
39998
|
-
const
|
|
40012
|
+
const me = "tox-statusbar__text-container-3-cols";
|
|
39999
40013
|
return !$ && !E ? [
|
|
40000
|
-
|
|
40014
|
+
me,
|
|
40001
40015
|
Q
|
|
40002
40016
|
] : $ && !E ? [
|
|
40003
|
-
|
|
40017
|
+
me,
|
|
40004
40018
|
W
|
|
40005
40019
|
] : [
|
|
40006
|
-
|
|
40020
|
+
me,
|
|
40007
40021
|
H
|
|
40008
40022
|
];
|
|
40009
40023
|
}
|
|
@@ -40031,7 +40045,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40031
40045
|
})()
|
|
40032
40046
|
};
|
|
40033
40047
|
}, _B = (t, s) => s.get().getOrDie(`UI for ${t} has not been rendered`), WZ = (t, s) => {
|
|
40034
|
-
const a = t.inline, c = a ? gW : AP, d = Pw(t) ? f7 : Tx, g = hW(), p = ro(), w = ro(), C = ro(), H = yi().deviceType.isTouch() ? ["tox-platform-touch"] : [], W = rE(t), Q = Hv(t),
|
|
40048
|
+
const a = t.inline, c = a ? gW : AP, d = Pw(t) ? f7 : Tx, g = hW(), p = ro(), w = ro(), C = ro(), H = yi().deviceType.isTouch() ? ["tox-platform-touch"] : [], W = rE(t), Q = Hv(t), me = Jo({
|
|
40035
40049
|
dom: {
|
|
40036
40050
|
tag: "div",
|
|
40037
40051
|
classes: ["tox-anchorbar"]
|
|
@@ -40041,7 +40055,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40041
40055
|
tag: "div",
|
|
40042
40056
|
classes: ["tox-bottom-anchorbar"]
|
|
40043
40057
|
}
|
|
40044
|
-
}), Ce = () => g.mainUi.get().map((yn) => yn.outerContainer).bind(Os.getHeader), ve = () => Vn.fromOption(g.dialogUi.get().map((yn) => yn.sink), "UI has not been rendered"), Oe = () => Vn.fromOption(g.popupUi.get().map((yn) => yn.sink), "(popup) UI has not been rendered"), mt = g.lazyGetInOuterOrDie("anchor bar",
|
|
40058
|
+
}), Ce = () => g.mainUi.get().map((yn) => yn.outerContainer).bind(Os.getHeader), ve = () => Vn.fromOption(g.dialogUi.get().map((yn) => yn.sink), "UI has not been rendered"), Oe = () => Vn.fromOption(g.popupUi.get().map((yn) => yn.sink), "(popup) UI has not been rendered"), mt = g.lazyGetInOuterOrDie("anchor bar", me.getOpt), Je = g.lazyGetInOuterOrDie("bottom anchor bar", Me.getOpt), Ge = g.lazyGetInOuterOrDie("toolbar", Os.getToolbar), vt = g.lazyGetInOuterOrDie("throbber", Os.getThrobber), At = py({
|
|
40045
40059
|
popup: Oe,
|
|
40046
40060
|
dialog: ve
|
|
40047
40061
|
}, t, mt, Je), Wn = () => {
|
|
@@ -40094,7 +40108,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40094
40108
|
components: Ye([
|
|
40095
40109
|
Od ? Ih : [],
|
|
40096
40110
|
_f(),
|
|
40097
|
-
Uv(t) ? [] : [
|
|
40111
|
+
Uv(t) ? [] : [me.asSpec()]
|
|
40098
40112
|
]),
|
|
40099
40113
|
sticky: Pw(t),
|
|
40100
40114
|
editor: t,
|
|
@@ -40355,9 +40369,9 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40355
40369
|
]), GD = (t, s, a, c) => {
|
|
40356
40370
|
const d = ro(), g = (W) => {
|
|
40357
40371
|
d.set(W);
|
|
40358
|
-
const Q = t.lazySink(W).getOrDie(),
|
|
40359
|
-
...
|
|
40360
|
-
components:
|
|
40372
|
+
const Q = t.lazySink(W).getOrDie(), me = c.blocker(), Me = Q.getSystem().build({
|
|
40373
|
+
...me,
|
|
40374
|
+
components: me.components.concat([Ti(W)]),
|
|
40361
40375
|
behaviours: xt([
|
|
40362
40376
|
_n.config({}),
|
|
40363
40377
|
Un("dialog-blocker-events", [Wd(dl(), () => {
|
|
@@ -40368,8 +40382,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40368
40382
|
ng(Q, Me), mn.focusIn(W);
|
|
40369
40383
|
}, p = (W) => {
|
|
40370
40384
|
d.clear(), ta(W.element).each((Q) => {
|
|
40371
|
-
W.getSystem().getByDom(Q).each((
|
|
40372
|
-
tm(
|
|
40385
|
+
W.getSystem().getByDom(Q).each((me) => {
|
|
40386
|
+
tm(me);
|
|
40373
40387
|
});
|
|
40374
40388
|
});
|
|
40375
40389
|
}, w = (W) => sf(W, t, "body"), C = (W) => _s(W, t, "footer"), E = (W, Q) => {
|
|
@@ -40977,7 +40991,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40977
40991
|
const d = (p) => {
|
|
40978
40992
|
const w = Vt.getValue(p);
|
|
40979
40993
|
_s(p, t, "tabview").each((C) => {
|
|
40980
|
-
|
|
40994
|
+
Ke(t.tabs, ($) => $.value === w).each(($) => {
|
|
40981
40995
|
const N = $.view();
|
|
40982
40996
|
I(p.element, "id").each((H) => {
|
|
40983
40997
|
It(C.element, "aria-labelledby", H);
|
|
@@ -41014,7 +41028,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41014
41028
|
showTab: (p, w) => {
|
|
41015
41029
|
g(p, (E) => {
|
|
41016
41030
|
const $ = Ho.getCandidates(E);
|
|
41017
|
-
return
|
|
41031
|
+
return Ke($, (H) => Vt.getValue(H) === w).filter((H) => !Ho.isHighlighted(E, H));
|
|
41018
41032
|
});
|
|
41019
41033
|
}
|
|
41020
41034
|
}
|
|
@@ -41475,7 +41489,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41475
41489
|
ii
|
|
41476
41490
|
]), el(t).each((c) => Nr(a, c)));
|
|
41477
41491
|
}, Ad = (t, s) => {
|
|
41478
|
-
const a = Ae.fromDom(t.element.dom), c = dp(a), d =
|
|
41492
|
+
const a = Ae.fromDom(t.element.dom), c = dp(a), d = Ke(c, (g) => g === rr || g === ii).or(el(s));
|
|
41479
41493
|
Yy(a, [
|
|
41480
41494
|
fo,
|
|
41481
41495
|
...d.toArray()
|
|
@@ -41589,7 +41603,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41589
41603
|
Vt.setValue(g, p.getData());
|
|
41590
41604
|
})
|
|
41591
41605
|
];
|
|
41592
|
-
}, ze = (t, s) => hk(t, t.type, s), nn = (t, s, a) =>
|
|
41606
|
+
}, ze = (t, s) => hk(t, t.type, s), nn = (t, s, a) => Ke(s, (c) => c.name === a).bind((c) => c.memento.getOpt(t)), kn = (t, s) => {
|
|
41593
41607
|
const a = s.map((w) => w.footerButtons).getOr([]), c = tl(a, (w) => w.align === "start"), d = (w, C) => gf.sketch({
|
|
41594
41608
|
dom: {
|
|
41595
41609
|
tag: "div",
|
|
@@ -41637,26 +41651,26 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41637
41651
|
return Kn.getState(a).get().map((c) => cs(Js("data", c.dataValidator, s))).getOr(s);
|
|
41638
41652
|
}, C4 = (t, s, a) => {
|
|
41639
41653
|
const c = (Q) => {
|
|
41640
|
-
const
|
|
41641
|
-
|
|
41654
|
+
const me = t.getRoot();
|
|
41655
|
+
me.getSystem().isConnected() && Q(me);
|
|
41642
41656
|
}, W = {
|
|
41643
41657
|
getData: () => {
|
|
41644
|
-
const Q = t.getRoot(),
|
|
41658
|
+
const Q = t.getRoot(), me = Q.getSystem().isConnected() ? t.getFormWrapper() : Q, Me = Vt.getValue(me), Ce = Ko(a, (ve) => ve.get());
|
|
41645
41659
|
return {
|
|
41646
41660
|
...Me,
|
|
41647
41661
|
...Ce
|
|
41648
41662
|
};
|
|
41649
41663
|
},
|
|
41650
41664
|
setData: (Q) => {
|
|
41651
|
-
c((
|
|
41665
|
+
c((me) => {
|
|
41652
41666
|
const Me = W.getData(), Ce = Go(Me, Q), ve = wm(t, Ce), Oe = t.getFormWrapper();
|
|
41653
41667
|
Vt.setValue(Oe, ve), ds(a, (mt, Je) => {
|
|
41654
41668
|
xo(Ce, Je) && mt.set(Ce[Je]);
|
|
41655
41669
|
});
|
|
41656
41670
|
});
|
|
41657
41671
|
},
|
|
41658
|
-
setEnabled: (Q,
|
|
41659
|
-
Va(t, Q).each(
|
|
41672
|
+
setEnabled: (Q, me) => {
|
|
41673
|
+
Va(t, Q).each(me ? xn.enable : xn.disable);
|
|
41660
41674
|
},
|
|
41661
41675
|
focus: (Q) => {
|
|
41662
41676
|
Va(t, Q).each(_n.focus);
|
|
@@ -41664,8 +41678,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41664
41678
|
block: (Q) => {
|
|
41665
41679
|
if (!K(Q))
|
|
41666
41680
|
throw new Error("The dialogInstanceAPI.block function should be passed a blocking message of type string as an argument");
|
|
41667
|
-
c((
|
|
41668
|
-
dn(
|
|
41681
|
+
c((me) => {
|
|
41682
|
+
dn(me, v5, { message: Q });
|
|
41669
41683
|
});
|
|
41670
41684
|
},
|
|
41671
41685
|
unblock: () => {
|
|
@@ -41674,7 +41688,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41674
41688
|
});
|
|
41675
41689
|
},
|
|
41676
41690
|
showTab: (Q) => {
|
|
41677
|
-
c((
|
|
41691
|
+
c((me) => {
|
|
41678
41692
|
const Me = t.getBody();
|
|
41679
41693
|
Kn.getState(Me).get().exists((ve) => ve.isTabPanel()) && yo.getCurrent(Me).each((ve) => {
|
|
41680
41694
|
tr.showTab(ve, Q);
|
|
@@ -41682,9 +41696,9 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41682
41696
|
});
|
|
41683
41697
|
},
|
|
41684
41698
|
redial: (Q) => {
|
|
41685
|
-
c((
|
|
41699
|
+
c((me) => {
|
|
41686
41700
|
const Me = t.getId(), Ce = s(Q), ve = x4(Ce.internalDialog.buttons, a);
|
|
41687
|
-
|
|
41701
|
+
me.getSystem().broadcastOn([`${dy}-${Me}`], Ce), me.getSystem().broadcastOn([`${wg}-${Me}`], Ce.internalDialog), me.getSystem().broadcastOn([`${sk}-${Me}`], Ce.internalDialog), me.getSystem().broadcastOn([`${K5}-${Me}`], {
|
|
41688
41702
|
...Ce.internalDialog,
|
|
41689
41703
|
buttons: ve
|
|
41690
41704
|
}), W.setData(Ce.initialData);
|
|
@@ -41702,7 +41716,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41702
41716
|
const c = Gt("dialog"), d = t.internalDialog, g = St(d.title, c, a), p = gn(d.size), w = el(p.get()).toArray(), C = (ve, Oe) => (p.set(Oe.internalDialog.size), _0(Oe.internalDialog.size, ve), D.some(Oe)), E = Zx({
|
|
41703
41717
|
body: d.body,
|
|
41704
41718
|
initialData: d.initialData
|
|
41705
|
-
}, c, a), $ = x4(d.buttons), N = eO($), H = pn($.length !== 0, Dd({ buttons: $ }, c, a)), W = ao(() => Ce, ln(() =>
|
|
41719
|
+
}, c, a), $ = x4(d.buttons), N = eO($), H = pn($.length !== 0, Dd({ buttons: $ }, c, a)), W = ao(() => Ce, ln(() => me, a.shared.providers, s), a.shared.getSink), Q = {
|
|
41706
41720
|
id: c,
|
|
41707
41721
|
header: g,
|
|
41708
41722
|
body: E,
|
|
@@ -41714,24 +41728,24 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41714
41728
|
initialData: t
|
|
41715
41729
|
})],
|
|
41716
41730
|
extraStyles: {}
|
|
41717
|
-
},
|
|
41731
|
+
}, me = QD(Q, W, a), Me = (() => {
|
|
41718
41732
|
const ve = () => {
|
|
41719
|
-
const mt = Kr.getBody(
|
|
41733
|
+
const mt = Kr.getBody(me);
|
|
41720
41734
|
return yo.getCurrent(mt).getOr(mt);
|
|
41721
41735
|
}, Oe = () => {
|
|
41722
|
-
Ad(
|
|
41736
|
+
Ad(me, p.get());
|
|
41723
41737
|
};
|
|
41724
41738
|
return {
|
|
41725
41739
|
getId: ae(c),
|
|
41726
|
-
getRoot: ae(
|
|
41727
|
-
getBody: () => Kr.getBody(
|
|
41728
|
-
getFooter: () => Kr.getFooter(
|
|
41740
|
+
getRoot: ae(me),
|
|
41741
|
+
getBody: () => Kr.getBody(me),
|
|
41742
|
+
getFooter: () => Kr.getFooter(me),
|
|
41729
41743
|
getFormWrapper: ve,
|
|
41730
41744
|
toggleFullscreen: Oe
|
|
41731
41745
|
};
|
|
41732
41746
|
})(), Ce = C4(Me, s.redial, N);
|
|
41733
41747
|
return {
|
|
41734
|
-
dialog:
|
|
41748
|
+
dialog: me,
|
|
41735
41749
|
instanceApi: Ce
|
|
41736
41750
|
};
|
|
41737
41751
|
}, nO = (t, s, a, c = !1, d) => {
|
|
@@ -41741,7 +41755,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41741
41755
|
}, g, p, a.shared.providers)), W = Jo(kg({
|
|
41742
41756
|
body: C.body,
|
|
41743
41757
|
initialData: C.initialData
|
|
41744
|
-
}, g, w, a, c)), Q = x4(C.buttons),
|
|
41758
|
+
}, g, w, a, c)), Q = x4(C.buttons), me = eO(Q), Me = pn(Q.length !== 0, Jo(Lc({ buttons: Q }, g, a))), Ce = ao(() => Je, {
|
|
41745
41759
|
onBlock: (Ge) => {
|
|
41746
41760
|
pm.block(Oe, (vt, At) => {
|
|
41747
41761
|
const Wn = H.getOpt(Oe).map((jt) => Us(jt.element));
|
|
@@ -41818,7 +41832,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41818
41832
|
return yo.getCurrent(Ge).getOr(Ge);
|
|
41819
41833
|
},
|
|
41820
41834
|
toggleFullscreen: mt
|
|
41821
|
-
}, s.redial,
|
|
41835
|
+
}, s.redial, me);
|
|
41822
41836
|
return {
|
|
41823
41837
|
dialog: Oe,
|
|
41824
41838
|
instanceApi: Je
|
|
@@ -41892,7 +41906,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41892
41906
|
width: Oe + "px",
|
|
41893
41907
|
"max-width": Oe + "px"
|
|
41894
41908
|
}))
|
|
41895
|
-
}, $ = t.width.isNone() && t.height.isNone() ? ["tox-dialog--width-lg"] : [], N = new FB(t.url, { base_uri: new FB(window.location.href) }), H = `${N.protocol}://${N.host}${N.port ? ":" + N.port : ""}`, W = Xm(), Q = (Oe, mt) => D.some(mt),
|
|
41909
|
+
}, $ = t.width.isNone() && t.height.isNone() ? ["tox-dialog--width-lg"] : [], N = new FB(t.url, { base_uri: new FB(window.location.href) }), H = `${N.protocol}://${N.host}${N.port ? ":" + N.port : ""}`, W = Xm(), Q = (Oe, mt) => D.some(mt), me = [
|
|
41896
41910
|
Kn.config({
|
|
41897
41911
|
channel: `${dy}-${d}`,
|
|
41898
41912
|
updateState: Q,
|
|
@@ -41928,7 +41942,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41928
41942
|
body: p,
|
|
41929
41943
|
footer: w,
|
|
41930
41944
|
extraClasses: $,
|
|
41931
|
-
extraBehaviours:
|
|
41945
|
+
extraBehaviours: me,
|
|
41932
41946
|
extraStyles: E
|
|
41933
41947
|
}, C, c), ve = fq(Ce);
|
|
41934
41948
|
return {
|
|
@@ -42026,27 +42040,27 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
42026
42040
|
optScrollEnv: D.none()
|
|
42027
42041
|
}))
|
|
42028
42042
|
})], xq = (t) => {
|
|
42029
|
-
const s = t.editor, a = Pw(s), c = vq(t.backstages.dialog), d = yq(t.backstages.dialog), g = (Q,
|
|
42030
|
-
if (!io(
|
|
42031
|
-
if (
|
|
42032
|
-
return E(Q, t.backstages.popup.shared.anchors.inlineDialog(), Me,
|
|
42033
|
-
if (
|
|
42034
|
-
return $(Q, t.backstages.popup.shared.anchors.inlineBottomDialog(), Me,
|
|
42035
|
-
if (
|
|
42036
|
-
return E(Q, t.backstages.popup.shared.anchors.cursor(), Me,
|
|
42043
|
+
const s = t.editor, a = Pw(s), c = vq(t.backstages.dialog), d = yq(t.backstages.dialog), g = (Q, me, Me) => {
|
|
42044
|
+
if (!io(me)) {
|
|
42045
|
+
if (me.inline === "toolbar")
|
|
42046
|
+
return E(Q, t.backstages.popup.shared.anchors.inlineDialog(), Me, me);
|
|
42047
|
+
if (me.inline === "bottom")
|
|
42048
|
+
return $(Q, t.backstages.popup.shared.anchors.inlineBottomDialog(), Me, me);
|
|
42049
|
+
if (me.inline === "cursor")
|
|
42050
|
+
return E(Q, t.backstages.popup.shared.anchors.cursor(), Me, me);
|
|
42037
42051
|
}
|
|
42038
42052
|
return C(Q, Me);
|
|
42039
|
-
}, p = (Q,
|
|
42053
|
+
}, p = (Q, me) => w(Q, me), w = (Q, me) => {
|
|
42040
42054
|
const Me = (Ce) => {
|
|
42041
42055
|
const ve = bq(Ce, {
|
|
42042
42056
|
closeWindow: () => {
|
|
42043
|
-
Kr.hide(ve.dialog),
|
|
42057
|
+
Kr.hide(ve.dialog), me(ve.instanceApi);
|
|
42044
42058
|
}
|
|
42045
42059
|
}, s, t.backstages.dialog);
|
|
42046
42060
|
return Kr.show(ve.dialog), ve.instanceApi;
|
|
42047
42061
|
};
|
|
42048
42062
|
return qn.openUrl(Me, Q);
|
|
42049
|
-
}, C = (Q,
|
|
42063
|
+
}, C = (Q, me) => {
|
|
42050
42064
|
const Me = (Ce, ve, Oe) => {
|
|
42051
42065
|
const mt = ve, Ge = _j({
|
|
42052
42066
|
dataValidator: Oe,
|
|
@@ -42055,13 +42069,13 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
42055
42069
|
}, {
|
|
42056
42070
|
redial: qn.redial,
|
|
42057
42071
|
closeWindow: () => {
|
|
42058
|
-
Kr.hide(Ge.dialog),
|
|
42072
|
+
Kr.hide(Ge.dialog), me(Ge.instanceApi);
|
|
42059
42073
|
}
|
|
42060
42074
|
}, t.backstages.dialog);
|
|
42061
42075
|
return Kr.show(Ge.dialog), Ge.instanceApi.setData(mt), Ge.instanceApi;
|
|
42062
42076
|
};
|
|
42063
42077
|
return qn.open(Me, Q);
|
|
42064
|
-
}, E = (Q,
|
|
42078
|
+
}, E = (Q, me, Me, Ce) => {
|
|
42065
42079
|
const ve = (Oe, mt, Je) => {
|
|
42066
42080
|
const Ge = LG(mt, Je), vt = ro(), At = t.backstages.popup.shared.header.isPositionedAtTop(), Wn = {
|
|
42067
42081
|
dataValidator: Je,
|
|
@@ -42095,10 +42109,10 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
42095
42109
|
const bn = s.inline ? Vs() : Ae.fromDom(s.getContainer()), Ro = Xs(bn);
|
|
42096
42110
|
return D.some(Ro);
|
|
42097
42111
|
};
|
|
42098
|
-
return dr.showWithinBounds(Sn, Ti(Dn.dialog), { anchor:
|
|
42112
|
+
return dr.showWithinBounds(Sn, Ti(Dn.dialog), { anchor: me }, Yo), (!a || !At) && (sr.refresh(Sn), s.on("ResizeEditor", jt)), Dn.instanceApi.setData(Ge), mn.focusIn(Dn.dialog), Dn.instanceApi;
|
|
42099
42113
|
};
|
|
42100
42114
|
return qn.open(ve, Q);
|
|
42101
|
-
}, $ = (Q,
|
|
42115
|
+
}, $ = (Q, me, Me, Ce) => {
|
|
42102
42116
|
const ve = (Oe, mt, Je) => {
|
|
42103
42117
|
const Ge = LG(mt, Je), vt = ro(), At = t.backstages.popup.shared.header.isPositionedAtTop(), Wn = {
|
|
42104
42118
|
dataValidator: Je,
|
|
@@ -42153,21 +42167,21 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
42153
42167
|
const Ro = r0(s, bn.element), Dt = 15, en = Ro.map((yn) => ny(yn)).getOr(na()), On = Xs(Ae.fromDom(s.getContentAreaContainer())), Pn = zg(On, en);
|
|
42154
42168
|
return D.some(Bs(Pn.x, Pn.y, Pn.width, Pn.height - Dt));
|
|
42155
42169
|
});
|
|
42156
|
-
return dr.showWithinBounds(Sn, Ti(Dn.dialog), { anchor:
|
|
42170
|
+
return dr.showWithinBounds(Sn, Ti(Dn.dialog), { anchor: me }, Yo), sr.refresh(Sn), s.on("ResizeEditor ScrollWindow ElementScroll ResizeWindow", jt), Dn.instanceApi.setData(Ge), mn.focusIn(Dn.dialog), Dn.instanceApi;
|
|
42157
42171
|
};
|
|
42158
42172
|
return qn.open(ve, Q);
|
|
42159
42173
|
};
|
|
42160
42174
|
return {
|
|
42161
42175
|
open: g,
|
|
42162
42176
|
openUrl: p,
|
|
42163
|
-
alert: (Q,
|
|
42164
|
-
c.open(Q,
|
|
42177
|
+
alert: (Q, me) => {
|
|
42178
|
+
c.open(Q, me);
|
|
42165
42179
|
},
|
|
42166
42180
|
close: (Q) => {
|
|
42167
42181
|
Q.close();
|
|
42168
42182
|
},
|
|
42169
|
-
confirm: (Q,
|
|
42170
|
-
d.open(Q,
|
|
42183
|
+
confirm: (Q, me) => {
|
|
42184
|
+
d.open(Q, me);
|
|
42171
42185
|
}
|
|
42172
42186
|
};
|
|
42173
42187
|
}, Cq = (t) => {
|
|
@@ -42378,7 +42392,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
42378
42392
|
}, ji = (i) => {
|
|
42379
42393
|
const m = Xt.call(i, 0);
|
|
42380
42394
|
return m.reverse(), m;
|
|
42381
|
-
},
|
|
42395
|
+
}, Ke = (i, m) => {
|
|
42382
42396
|
const h = {};
|
|
42383
42397
|
for (let v = 0, S = i.length; v < S; v++) {
|
|
42384
42398
|
const O = i[v];
|
|
@@ -43047,7 +43061,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
43047
43061
|
}, Fd = (i, m, h) => {
|
|
43048
43062
|
const v = _t(i.cells, h);
|
|
43049
43063
|
return ft(m(i.element), v, i.section, !0);
|
|
43050
|
-
}, td = "data-snooker-locked-cols", cr = (i) => ua(i, td).bind((m) => pe.from(m.match(/\d+/g))).map((m) =>
|
|
43064
|
+
}, td = "data-snooker-locked-cols", cr = (i) => ua(i, td).bind((m) => pe.from(m.match(/\d+/g))).map((m) => Ke(m, Ze)), jr = (i) => {
|
|
43051
43065
|
const m = tt(Mr(i).rows, (v, S) => (Pe(S.cells, (O, L) => {
|
|
43052
43066
|
O.isLocked && (v[L] = !0);
|
|
43053
43067
|
}), v), {}), h = nr(m, (v, S) => parseInt(S, 10));
|
|
@@ -44265,12 +44279,12 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
44265
44279
|
return Su(S, O, L);
|
|
44266
44280
|
}, v)), pp = (i, m, h) => {
|
|
44267
44281
|
const v = m.colDelta < 0 ? kr : kt, S = m.rowDelta < 0 ? dC : kt, O = jr(i), L = Ul(i[0]), j = ot(O, (De) => De === L - 1), te = v(i, Math.abs(m.colDelta), h, j ? L - 1 : L), fe = jr(te);
|
|
44268
|
-
return S(te, Math.abs(m.rowDelta), h,
|
|
44282
|
+
return S(te, Math.abs(m.rowDelta), h, Ke(fe, Ze));
|
|
44269
44283
|
}, fC = (i, m, h, v) => {
|
|
44270
44284
|
const S = ba(i[m], h), O = oo(v, S.element), L = i[m];
|
|
44271
44285
|
return i.length > 1 && Ul(L) > 1 && (h > 0 && O(hr(L, h - 1)) || h < L.cells.length - 1 && O(hr(L, h + 1)) || m > 0 && O(hr(i[m - 1], h)) || m < i.length - 1 && O(hr(i[m + 1], h)));
|
|
44272
44286
|
}, Vb = (i, m, h, v, S, O) => {
|
|
44273
|
-
const L = i.row, j = i.column, te = h.length, fe = Ul(h[0]), De = L + te, at = j + fe + O.length, Bt =
|
|
44287
|
+
const L = i.row, j = i.column, te = h.length, fe = Ul(h[0]), De = L + te, at = j + fe + O.length, Bt = Ke(O, Ze);
|
|
44274
44288
|
for (let Pt = L; Pt < De; Pt++) {
|
|
44275
44289
|
let et = 0;
|
|
44276
44290
|
for (let Lt = j; Lt < at; Lt++) {
|
|
@@ -46610,7 +46624,7 @@ Required: ` + m.join(", "));
|
|
|
46610
46624
|
throw console.error(be, _), new Error(be);
|
|
46611
46625
|
}
|
|
46612
46626
|
return Ye(ce.childNodes[0]);
|
|
46613
|
-
},
|
|
46627
|
+
}, Ke = (_, M) => {
|
|
46614
46628
|
const ce = (M || document).createElement(_);
|
|
46615
46629
|
return Ye(ce);
|
|
46616
46630
|
}, Rt = (_, M) => {
|
|
@@ -46622,7 +46636,7 @@ Required: ` + m.join(", "));
|
|
|
46622
46636
|
return { dom: _ };
|
|
46623
46637
|
}, wn = {
|
|
46624
46638
|
fromHtml: ji,
|
|
46625
|
-
fromTag:
|
|
46639
|
+
fromTag: Ke,
|
|
46626
46640
|
fromText: Rt,
|
|
46627
46641
|
fromDom: Ye,
|
|
46628
46642
|
fromPoint: (_, M, U) => kt.from(_.dom.elementFromPoint(M, U)).map(Ye)
|
|
@@ -48543,7 +48557,7 @@ Required: ` + m.join(", "));
|
|
|
48543
48557
|
},
|
|
48544
48558
|
default: !1
|
|
48545
48559
|
});
|
|
48546
|
-
}, Wo = so("image_dimensions"), ji = so("image_advtab"),
|
|
48560
|
+
}, Wo = so("image_dimensions"), ji = so("image_advtab"), Ke = so("image_uploadtab"), Rt = so("image_prepend_url"), Ye = so("image_class_list"), Te = so("image_description"), wn = so("image_title"), qo = so("image_caption"), Ut = so("image_list"), Er = so("a11y_advanced_options"), Vo = so("automatic_uploads"), Ua = (I) => tl(I.options.get("images_upload_url")), ps = (I) => eo(I.options.get("images_upload_handler")), yr = (I, J) => Math.max(parseInt(I, 10), parseInt(J, 10)), vc = (I) => new Promise((J) => {
|
|
48547
48561
|
const le = document.createElement("img"), Fe = (Qn) => {
|
|
48548
48562
|
le.onload = le.onerror = null, le.parentNode && le.parentNode.removeChild(le), J(Qn);
|
|
48549
48563
|
};
|
|
@@ -48884,7 +48898,7 @@ Required: ` + m.join(", "));
|
|
|
48884
48898
|
Us
|
|
48885
48899
|
])));
|
|
48886
48900
|
});
|
|
48887
|
-
}), Fe = da.sanitize(Ye(I)), $t = ji(I), Qn =
|
|
48901
|
+
}), Fe = da.sanitize(Ye(I)), $t = ji(I), Qn = Ke(I), Yt = Ua(I), Ms = ps(I), ct = fi(I), ls = Te(I), Za = wn(I), zs = Wo(I), _r = qo(I), zc = Er(I), Co = Vo(I), ja = kt.some(Rt(I)).filter((Ps) => $e(Ps) && Ps.length > 0);
|
|
48888
48902
|
return le.then((Ps) => ({
|
|
48889
48903
|
image: ct,
|
|
48890
48904
|
imageList: Ps,
|
|
@@ -49386,7 +49400,7 @@ Required: ` + m.join(", "));
|
|
|
49386
49400
|
V = T(V, X, ye);
|
|
49387
49401
|
}), V), ji = (x, T, V) => (z(x, (X, ye) => {
|
|
49388
49402
|
V = T(V, X, ye);
|
|
49389
|
-
}), V),
|
|
49403
|
+
}), V), Ke = (x, T, V) => {
|
|
49390
49404
|
for (let X = 0, ye = x.length; X < ye; X++) {
|
|
49391
49405
|
const je = x[X];
|
|
49392
49406
|
if (T(je, X))
|
|
@@ -49395,7 +49409,7 @@ Required: ` + m.join(", "));
|
|
|
49395
49409
|
break;
|
|
49396
49410
|
}
|
|
49397
49411
|
return ae.none();
|
|
49398
|
-
}, Rt = (x, T) =>
|
|
49412
|
+
}, Rt = (x, T) => Ke(x, T, ia), Ye = (x) => {
|
|
49399
49413
|
const T = [];
|
|
49400
49414
|
for (let V = 0, X = x.length; V < X; ++V) {
|
|
49401
49415
|
if (!K(x[V]))
|
|
@@ -51445,10 +51459,10 @@ Required: ` + T.join(", "));
|
|
|
51445
51459
|
})();
|
|
51446
51460
|
(function() {
|
|
51447
51461
|
var A = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
|
51448
|
-
const G = ((
|
|
51449
|
-
const Ye =
|
|
51462
|
+
const G = ((Ke) => (Rt) => Ke === Rt)(null), _e = (Ke) => Ke, ne = (Ke, Rt) => {
|
|
51463
|
+
const Ye = Ke.length, Te = new Array(Ye);
|
|
51450
51464
|
for (let wn = 0; wn < Ye; wn++) {
|
|
51451
|
-
const qo =
|
|
51465
|
+
const qo = Ke[wn];
|
|
51452
51466
|
Te[wn] = Rt(qo, wn);
|
|
51453
51467
|
}
|
|
51454
51468
|
return Te;
|
|
@@ -51495,57 +51509,57 @@ Required: ` + T.join(", "));
|
|
|
51495
51509
|
new RegExp(xe.katakana),
|
|
51496
51510
|
new RegExp(xe.extendnumlet),
|
|
51497
51511
|
new RegExp("@")
|
|
51498
|
-
], lt = "", yt = new RegExp("^" + xe.punctuation + "$"), hn = /^\s+$/, Et = $e, io = K.OTHER, lo = (
|
|
51512
|
+
], lt = "", yt = new RegExp("^" + xe.punctuation + "$"), hn = /^\s+$/, Et = $e, io = K.OTHER, lo = (Ke) => {
|
|
51499
51513
|
let Rt = io;
|
|
51500
51514
|
const Ye = Et.length;
|
|
51501
51515
|
for (let Te = 0; Te < Ye; ++Te) {
|
|
51502
51516
|
const wn = Et[Te];
|
|
51503
|
-
if (wn && wn.test(
|
|
51517
|
+
if (wn && wn.test(Ke)) {
|
|
51504
51518
|
Rt = Te;
|
|
51505
51519
|
break;
|
|
51506
51520
|
}
|
|
51507
51521
|
}
|
|
51508
51522
|
return Rt;
|
|
51509
|
-
}, eo = (
|
|
51523
|
+
}, eo = (Ke) => {
|
|
51510
51524
|
const Rt = {};
|
|
51511
51525
|
return (Ye) => {
|
|
51512
51526
|
if (Rt[Ye])
|
|
51513
51527
|
return Rt[Ye];
|
|
51514
51528
|
{
|
|
51515
|
-
const Te =
|
|
51529
|
+
const Te = Ke(Ye);
|
|
51516
51530
|
return Rt[Ye] = Te, Te;
|
|
51517
51531
|
}
|
|
51518
51532
|
};
|
|
51519
|
-
}, Ot = (
|
|
51533
|
+
}, Ot = (Ke) => {
|
|
51520
51534
|
const Rt = eo(lo);
|
|
51521
|
-
return ne(
|
|
51522
|
-
}, Ls = (
|
|
51523
|
-
const Ye =
|
|
51524
|
-
if (Rt < 0 || Rt >
|
|
51535
|
+
return ne(Ke, Rt);
|
|
51536
|
+
}, Ls = (Ke, Rt) => {
|
|
51537
|
+
const Ye = Ke[Rt], Te = Ke[Rt + 1];
|
|
51538
|
+
if (Rt < 0 || Rt > Ke.length - 1 && Rt !== 0 || Ye === K.ALETTER && Te === K.ALETTER)
|
|
51525
51539
|
return !1;
|
|
51526
|
-
const wn =
|
|
51540
|
+
const wn = Ke[Rt + 2];
|
|
51527
51541
|
if (Ye === K.ALETTER && (Te === K.MIDLETTER || Te === K.MIDNUMLET || Te === K.AT) && wn === K.ALETTER)
|
|
51528
51542
|
return !1;
|
|
51529
|
-
const qo =
|
|
51543
|
+
const qo = Ke[Rt - 1];
|
|
51530
51544
|
return (Ye === K.MIDLETTER || Ye === K.MIDNUMLET || Te === K.AT) && Te === K.ALETTER && qo === K.ALETTER || (Ye === K.NUMERIC || Ye === K.ALETTER) && (Te === K.NUMERIC || Te === K.ALETTER) || (Ye === K.MIDNUM || Ye === K.MIDNUMLET) && Te === K.NUMERIC && qo === K.NUMERIC || Ye === K.NUMERIC && (Te === K.MIDNUM || Te === K.MIDNUMLET) && wn === K.NUMERIC || (Ye === K.EXTEND || Ye === K.FORMAT) && (Te === K.ALETTER || Te === K.NUMERIC || Te === K.KATAKANA || Te === K.EXTEND || Te === K.FORMAT) || (Te === K.EXTEND || Te === K.FORMAT && (wn === K.ALETTER || wn === K.NUMERIC || wn === K.KATAKANA || wn === K.EXTEND || wn === K.FORMAT)) && (Ye === K.ALETTER || Ye === K.NUMERIC || Ye === K.KATAKANA || Ye === K.EXTEND || Ye === K.FORMAT) || Ye === K.CR && Te === K.LF ? !1 : Ye === K.NEWLINE || Ye === K.CR || Ye === K.LF || Te === K.NEWLINE || Te === K.CR || Te === K.LF ? !0 : !(Ye === K.KATAKANA && Te === K.KATAKANA || Te === K.EXTENDNUMLET && (Ye === K.ALETTER || Ye === K.NUMERIC || Ye === K.KATAKANA || Ye === K.EXTENDNUMLET) || Ye === K.EXTENDNUMLET && (Te === K.ALETTER || Te === K.NUMERIC || Te === K.KATAKANA) || Ye === K.AT);
|
|
51531
|
-
}, un = lt, he = hn, kt = yt, ia = (
|
|
51545
|
+
}, un = lt, he = hn, kt = yt, ia = (Ke) => Ke === "http" || Ke === "https", oo = (Ke, Rt) => {
|
|
51532
51546
|
let Ye;
|
|
51533
|
-
for (Ye = Rt; Ye <
|
|
51547
|
+
for (Ye = Rt; Ye < Ke.length && !he.test(Ke[Ye]); Ye++)
|
|
51534
51548
|
;
|
|
51535
51549
|
return Ye;
|
|
51536
|
-
}, ae = (
|
|
51537
|
-
const Ye = oo(
|
|
51538
|
-
return
|
|
51539
|
-
}, Nn = (
|
|
51550
|
+
}, ae = (Ke, Rt) => {
|
|
51551
|
+
const Ye = oo(Ke, Rt + 1);
|
|
51552
|
+
return Ke.slice(Rt + 1, Ye).join(un).substr(0, 3) === "://" ? Ye : Rt;
|
|
51553
|
+
}, Nn = (Ke, Rt, Ye, Te) => {
|
|
51540
51554
|
const wn = [], qo = [];
|
|
51541
51555
|
let Ut = [];
|
|
51542
51556
|
for (let Er = 0; Er < Ye.length; ++Er)
|
|
51543
|
-
if (Ut.push(
|
|
51557
|
+
if (Ut.push(Ke[Er]), Ls(Ye, Er)) {
|
|
51544
51558
|
const Vo = Rt[Er];
|
|
51545
51559
|
if ((Te.includeWhitespace || !he.test(Vo)) && (Te.includePunctuation || !kt.test(Vo))) {
|
|
51546
51560
|
const Ua = Er - Ut.length + 1, ps = Er + 1, yr = Rt.slice(Ua, ps).join(un);
|
|
51547
51561
|
if (ia(yr)) {
|
|
51548
|
-
const vc = ae(Rt, Er), wr =
|
|
51562
|
+
const vc = ae(Rt, Er), wr = Ke.slice(ps, vc);
|
|
51549
51563
|
Array.prototype.push.apply(Ut, wr), Er = vc;
|
|
51550
51564
|
}
|
|
51551
51565
|
wn.push(Ut), qo.push({
|
|
@@ -51562,47 +51576,47 @@ Required: ` + T.join(", "));
|
|
|
51562
51576
|
}, ss = () => ({
|
|
51563
51577
|
includeWhitespace: !1,
|
|
51564
51578
|
includePunctuation: !1
|
|
51565
|
-
}), In = (
|
|
51579
|
+
}), In = (Ke, Rt, Ye) => {
|
|
51566
51580
|
Ye = {
|
|
51567
51581
|
...ss(),
|
|
51568
51582
|
...Ye
|
|
51569
51583
|
};
|
|
51570
|
-
const Te = ne(
|
|
51571
|
-
return Nn(
|
|
51572
|
-
}, pe = (
|
|
51584
|
+
const Te = ne(Ke, Rt), wn = Ot(Te);
|
|
51585
|
+
return Nn(Ke, Te, wn, Ye);
|
|
51586
|
+
}, pe = (Ke, Rt, Ye) => In(Ke, Rt, Ye).words, Xt = (Ke) => Ke.replace(/\uFEFF/g, "");
|
|
51573
51587
|
var Cn = tinymce.util.Tools.resolve("tinymce.dom.TreeWalker");
|
|
51574
|
-
const Nt = (
|
|
51588
|
+
const Nt = (Ke, Rt) => {
|
|
51575
51589
|
const Ye = Rt.getBlockElements(), Te = Rt.getVoidElements(), wn = (Ua) => Ye[Ua.nodeName] || Te[Ua.nodeName], qo = [];
|
|
51576
51590
|
let Ut = "";
|
|
51577
|
-
const Er = new Cn(
|
|
51591
|
+
const Er = new Cn(Ke, Ke);
|
|
51578
51592
|
let Vo;
|
|
51579
51593
|
for (; Vo = Er.next(); )
|
|
51580
51594
|
Vo.nodeType === 3 ? Ut += Xt(Vo.data) : wn(Vo) && Ut.length && (qo.push(Ut), Ut = "");
|
|
51581
51595
|
return Ut.length && qo.push(Ut), qo;
|
|
51582
|
-
}, D = (
|
|
51583
|
-
const Ye = D(Nt(
|
|
51596
|
+
}, D = (Ke) => Ke.replace(/\u200B/g, ""), go = (Ke) => Ke.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g, "_").length, ot = (Ke, Rt) => {
|
|
51597
|
+
const Ye = D(Nt(Ke, Rt).join(`
|
|
51584
51598
|
`));
|
|
51585
51599
|
return pe(Ye.split(""), _e).length;
|
|
51586
|
-
}, Ht = (
|
|
51587
|
-
const Ye = Nt(
|
|
51600
|
+
}, Ht = (Ke, Rt) => {
|
|
51601
|
+
const Ye = Nt(Ke, Rt).join("");
|
|
51588
51602
|
return go(Ye);
|
|
51589
|
-
}, _t = (
|
|
51590
|
-
const Ye = Nt(
|
|
51603
|
+
}, _t = (Ke, Rt) => {
|
|
51604
|
+
const Ye = Nt(Ke, Rt).join("").replace(/\s/g, "");
|
|
51591
51605
|
return go(Ye);
|
|
51592
|
-
}, Pe = (
|
|
51606
|
+
}, Pe = (Ke, Rt) => () => Rt(Ke.getBody(), Ke.schema), no = (Ke, Rt) => () => Rt(Ke.selection.getRng().cloneContents(), Ke.schema), Ys = (Ke) => Pe(Ke, ot), ho = (Ke) => ({
|
|
51593
51607
|
body: {
|
|
51594
|
-
getWordCount: Ys(
|
|
51595
|
-
getCharacterCount: Pe(
|
|
51596
|
-
getCharacterCountWithoutSpaces: Pe(
|
|
51608
|
+
getWordCount: Ys(Ke),
|
|
51609
|
+
getCharacterCount: Pe(Ke, Ht),
|
|
51610
|
+
getCharacterCountWithoutSpaces: Pe(Ke, _t)
|
|
51597
51611
|
},
|
|
51598
51612
|
selection: {
|
|
51599
|
-
getWordCount: no(
|
|
51600
|
-
getCharacterCount: no(
|
|
51601
|
-
getCharacterCountWithoutSpaces: no(
|
|
51613
|
+
getWordCount: no(Ke, ot),
|
|
51614
|
+
getCharacterCount: no(Ke, Ht),
|
|
51615
|
+
getCharacterCountWithoutSpaces: no(Ke, _t)
|
|
51602
51616
|
},
|
|
51603
|
-
getCount: Ys(
|
|
51604
|
-
}), vr = (
|
|
51605
|
-
|
|
51617
|
+
getCount: Ys(Ke)
|
|
51618
|
+
}), vr = (Ke, Rt) => {
|
|
51619
|
+
Ke.windowManager.open({
|
|
51606
51620
|
title: "Word Count",
|
|
51607
51621
|
body: {
|
|
51608
51622
|
type: "panel",
|
|
@@ -51639,9 +51653,9 @@ Required: ` + T.join(", "));
|
|
|
51639
51653
|
primary: !0
|
|
51640
51654
|
}]
|
|
51641
51655
|
});
|
|
51642
|
-
}, tt = (
|
|
51643
|
-
|
|
51644
|
-
}, pt = (
|
|
51656
|
+
}, tt = (Ke, Rt) => {
|
|
51657
|
+
Ke.addCommand("mceWordCount", () => vr(Ke, Rt));
|
|
51658
|
+
}, pt = (Ke, Rt) => {
|
|
51645
51659
|
let Ye = null;
|
|
51646
51660
|
return {
|
|
51647
51661
|
cancel: () => {
|
|
@@ -51649,45 +51663,45 @@ Required: ` + T.join(", "));
|
|
|
51649
51663
|
},
|
|
51650
51664
|
throttle: (...qo) => {
|
|
51651
51665
|
G(Ye) && (Ye = setTimeout(() => {
|
|
51652
|
-
Ye = null,
|
|
51666
|
+
Ye = null, Ke.apply(null, qo);
|
|
51653
51667
|
}, Rt));
|
|
51654
51668
|
}
|
|
51655
51669
|
};
|
|
51656
51670
|
};
|
|
51657
51671
|
var z = tinymce.util.Tools.resolve("tinymce.util.Delay");
|
|
51658
|
-
const tl = (
|
|
51659
|
-
|
|
51672
|
+
const tl = (Ke, Rt) => {
|
|
51673
|
+
Ke.dispatch("wordCountUpdate", {
|
|
51660
51674
|
wordCount: {
|
|
51661
51675
|
words: Rt.body.getWordCount(),
|
|
51662
51676
|
characters: Rt.body.getCharacterCount(),
|
|
51663
51677
|
charactersWithoutSpaces: Rt.body.getCharacterCountWithoutSpaces()
|
|
51664
51678
|
}
|
|
51665
51679
|
});
|
|
51666
|
-
}, so = (
|
|
51667
|
-
tl(
|
|
51668
|
-
}, rs = (
|
|
51669
|
-
const Te = pt(() => so(
|
|
51670
|
-
|
|
51671
|
-
so(
|
|
51672
|
-
|
|
51673
|
-
}, 0),
|
|
51680
|
+
}, so = (Ke, Rt) => {
|
|
51681
|
+
tl(Ke, Rt);
|
|
51682
|
+
}, rs = (Ke, Rt, Ye) => {
|
|
51683
|
+
const Te = pt(() => so(Ke, Rt), Ye);
|
|
51684
|
+
Ke.on("init", () => {
|
|
51685
|
+
so(Ke, Rt), z.setEditorTimeout(Ke, () => {
|
|
51686
|
+
Ke.on("SetContent BeforeAddUndo Undo Redo ViewUpdate keyup", Te.throttle);
|
|
51687
|
+
}, 0), Ke.on("remove", Te.cancel);
|
|
51674
51688
|
});
|
|
51675
|
-
}, Wo = (
|
|
51676
|
-
const Rt = () =>
|
|
51677
|
-
|
|
51689
|
+
}, Wo = (Ke) => {
|
|
51690
|
+
const Rt = () => Ke.execCommand("mceWordCount");
|
|
51691
|
+
Ke.ui.registry.addButton("wordcount", {
|
|
51678
51692
|
tooltip: "Word count",
|
|
51679
51693
|
icon: "character-count",
|
|
51680
51694
|
onAction: Rt
|
|
51681
|
-
}),
|
|
51695
|
+
}), Ke.ui.registry.addMenuItem("wordcount", {
|
|
51682
51696
|
text: "Word count",
|
|
51683
51697
|
icon: "character-count",
|
|
51684
51698
|
onAction: Rt
|
|
51685
51699
|
});
|
|
51686
51700
|
};
|
|
51687
|
-
var ji = (
|
|
51701
|
+
var ji = (Ke = 300) => {
|
|
51688
51702
|
A.add("wordcount", (Rt) => {
|
|
51689
51703
|
const Ye = ho(Rt);
|
|
51690
|
-
return tt(Rt, Ye), Wo(Rt), rs(Rt, Ye,
|
|
51704
|
+
return tt(Rt, Ye), Wo(Rt), rs(Rt, Ye, Ke), Ye;
|
|
51691
51705
|
});
|
|
51692
51706
|
};
|
|
51693
51707
|
ji();
|
|
@@ -51745,8 +51759,8 @@ const fte = { class: "font-bold ptext-lg dark:text-white" }, gte = ["id"], hte =
|
|
|
51745
51759
|
ne("update:modelValue", lt);
|
|
51746
51760
|
}
|
|
51747
51761
|
});
|
|
51748
|
-
return oe({ focus: () => Z.value.focus() }), (lt, yt) => (ue(),
|
|
51749
|
-
A.show ? (ue(),
|
|
51762
|
+
return oe({ focus: () => Z.value.focus() }), (lt, yt) => (ue(), de(jn, null, [
|
|
51763
|
+
A.show ? (ue(), de("div", {
|
|
51750
51764
|
key: 0,
|
|
51751
51765
|
class: zt(A.field_name)
|
|
51752
51766
|
}, [
|
|
@@ -51756,8 +51770,8 @@ const fte = { class: "font-bold ptext-lg dark:text-white" }, gte = ["id"], hte =
|
|
|
51756
51770
|
class: "mb-4 text-base text-gray-900 input_tr_show dark:text-white"
|
|
51757
51771
|
}, dt(A.model_value), 9, gte),
|
|
51758
51772
|
hte
|
|
51759
|
-
], 2)) :
|
|
51760
|
-
A.show ?
|
|
51773
|
+
], 2)) : qe("", !0),
|
|
51774
|
+
A.show ? qe("", !0) : (ue(), de("div", {
|
|
51761
51775
|
key: 1,
|
|
51762
51776
|
class: zt(["mb-4", A.field_name])
|
|
51763
51777
|
}, [
|
|
@@ -51977,7 +51991,7 @@ function Pte(A, oe, G, _e, ne, Z) {
|
|
|
51977
51991
|
}, {
|
|
51978
51992
|
default: Cm((K) => [
|
|
51979
51993
|
R("div", Cte, [
|
|
51980
|
-
K.computed.total > K.computed.perPage ? (ue(),
|
|
51994
|
+
K.computed.total > K.computed.perPage ? (ue(), de("span", _te, [
|
|
51981
51995
|
Zn(" Showing "),
|
|
51982
51996
|
R("span", Ste, dt(K.computed.from), 1),
|
|
51983
51997
|
Zn(" to "),
|
|
@@ -51985,8 +51999,8 @@ function Pte(A, oe, G, _e, ne, Z) {
|
|
|
51985
51999
|
Zn(" of "),
|
|
51986
52000
|
R("span", Tte, dt(K.computed.total), 1),
|
|
51987
52001
|
Zn(" Entries ")
|
|
51988
|
-
])) :
|
|
51989
|
-
K.computed.total > K.computed.perPage ? (ue(),
|
|
52002
|
+
])) : qe("", !0),
|
|
52003
|
+
K.computed.total > K.computed.perPage ? (ue(), de("ul", aO({ key: 1 }, A.$attrs, {
|
|
51990
52004
|
class: ["flex items-center h-8 -space-x-px text-sm", {
|
|
51991
52005
|
"pagination-sm": G.size == "small",
|
|
51992
52006
|
"pagination-lg": G.size == "large",
|
|
@@ -51994,7 +52008,7 @@ function Pte(A, oe, G, _e, ne, Z) {
|
|
|
51994
52008
|
"justify-content-end": G.align == "right"
|
|
51995
52009
|
}]
|
|
51996
52010
|
}), [
|
|
51997
|
-
K.computed.prevPageUrl || G.showDisabled ? (ue(),
|
|
52011
|
+
K.computed.prevPageUrl || G.showDisabled ? (ue(), de("li", {
|
|
51998
52012
|
key: 0,
|
|
51999
52013
|
class: zt(["flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 ms-0 border-e-0 rounded-s-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white", { disabled: !K.computed.prevPageUrl }])
|
|
52000
52014
|
}, [
|
|
@@ -52009,8 +52023,8 @@ function Pte(A, oe, G, _e, ne, Z) {
|
|
|
52009
52023
|
Dte
|
|
52010
52024
|
])
|
|
52011
52025
|
], 16, Ete)
|
|
52012
|
-
], 2)) :
|
|
52013
|
-
(ue(!0),
|
|
52026
|
+
], 2)) : qe("", !0),
|
|
52027
|
+
(ue(!0), de(jn, null, Ks(K.computed.pageRange, ($e, lt) => (ue(), de("li", {
|
|
52014
52028
|
class: zt(["", { active: $e == K.computed.currentPage }]),
|
|
52015
52029
|
key: lt
|
|
52016
52030
|
}, [
|
|
@@ -52022,7 +52036,7 @@ function Pte(A, oe, G, _e, ne, Z) {
|
|
|
52022
52036
|
class: $e == K.computed.currentPage ? "z-10 flex items-center justify-center px-3 h-8 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white" : "flex items-center justify-center px-3 h-8 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
52023
52037
|
}), dt($e), 17, Ote)
|
|
52024
52038
|
], 2))), 128)),
|
|
52025
|
-
K.computed.nextPageUrl || G.showDisabled ? (ue(),
|
|
52039
|
+
K.computed.nextPageUrl || G.showDisabled ? (ue(), de("li", {
|
|
52026
52040
|
key: 1,
|
|
52027
52041
|
class: zt(["flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 rounded-e-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white", { disabled: !K.computed.nextPageUrl }])
|
|
52028
52042
|
}, [
|
|
@@ -52037,8 +52051,8 @@ function Pte(A, oe, G, _e, ne, Z) {
|
|
|
52037
52051
|
Mte
|
|
52038
52052
|
])
|
|
52039
52053
|
], 16, Rte)
|
|
52040
|
-
], 2)) :
|
|
52041
|
-
], 16)) :
|
|
52054
|
+
], 2)) : qe("", !0)
|
|
52055
|
+
], 16)) : qe("", !0)
|
|
52042
52056
|
])
|
|
52043
52057
|
]),
|
|
52044
52058
|
_: 3
|
|
@@ -52097,7 +52111,7 @@ const iq = /* @__PURE__ */ zr(xte, [["render", Pte]]), Bte = {
|
|
|
52097
52111
|
hideLoading: Et
|
|
52098
52112
|
}), (eo, Ot) => {
|
|
52099
52113
|
const Ls = Rd("gl-button");
|
|
52100
|
-
return xe.value ? (ue(),
|
|
52114
|
+
return xe.value ? (ue(), de("div", Bte, [
|
|
52101
52115
|
R("div", Nte, [
|
|
52102
52116
|
Ite,
|
|
52103
52117
|
Lte,
|
|
@@ -52147,7 +52161,7 @@ const iq = /* @__PURE__ */ zr(xte, [["render", Pte]]), Bte = {
|
|
|
52147
52161
|
])
|
|
52148
52162
|
])
|
|
52149
52163
|
])
|
|
52150
|
-
])) :
|
|
52164
|
+
])) : qe("", !0);
|
|
52151
52165
|
};
|
|
52152
52166
|
}
|
|
52153
52167
|
}, Kte = {
|
|
@@ -52361,7 +52375,7 @@ const iq = /* @__PURE__ */ zr(xte, [["render", Pte]]), Bte = {
|
|
|
52361
52375
|
}, wne = ["checked", "onChange"], xne = ["data-label"], Cne = { class: "overflow-auto max-h-40" }, _ne = { 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" };
|
|
52362
52376
|
function Sne(A, oe, G, _e, ne, Z) {
|
|
52363
52377
|
const xe = Rd("DynamicConfirmation"), K = Rd("dropdown"), $e = Rd("GlDropdown"), lt = Rd("GlTextInput"), yt = Rd("gl-button"), hn = Rd("TailwindPagination");
|
|
52364
|
-
return ue(),
|
|
52378
|
+
return ue(), de(jn, null, [
|
|
52365
52379
|
ui(xe, { ref: "ConfirmationDelete" }, null, 512),
|
|
52366
52380
|
R("div", Yte, [
|
|
52367
52381
|
R("div", Xte, [
|
|
@@ -52398,7 +52412,7 @@ function Sne(A, oe, G, _e, ne, Z) {
|
|
|
52398
52412
|
])
|
|
52399
52413
|
]),
|
|
52400
52414
|
R("div", rne, [
|
|
52401
|
-
(ue(!0),
|
|
52415
|
+
(ue(!0), de(jn, null, Ks(Z.customFilters, (Et, io) => (ue(), de(jn, { key: io }, [
|
|
52402
52416
|
Et.type == "dropdown" ? (ue(), ju($e, {
|
|
52403
52417
|
key: 0,
|
|
52404
52418
|
has_cancel: !0,
|
|
@@ -52410,7 +52424,7 @@ function Sne(A, oe, G, _e, ne, Z) {
|
|
|
52410
52424
|
label_name: Et.field_label,
|
|
52411
52425
|
show: !1,
|
|
52412
52426
|
placeholder: "Please select an option"
|
|
52413
|
-
}, null, 8, ["options", "modelValue", "onUpdate:modelValue", "field_name", "label_name"])) :
|
|
52427
|
+
}, null, 8, ["options", "modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : qe("", !0),
|
|
52414
52428
|
Et.type == "text" ? (ue(), ju(lt, {
|
|
52415
52429
|
key: 1,
|
|
52416
52430
|
type: "text",
|
|
@@ -52420,7 +52434,7 @@ function Sne(A, oe, G, _e, ne, Z) {
|
|
|
52420
52434
|
"onUpdate:modelValue": (lo) => ne.dynamicFilters[Et.field_name] = lo,
|
|
52421
52435
|
field_name: Et.field_name,
|
|
52422
52436
|
label_name: Et.field_label
|
|
52423
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) :
|
|
52437
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : qe("", !0),
|
|
52424
52438
|
Et.type == "date" ? (ue(), ju(lt, {
|
|
52425
52439
|
key: 2,
|
|
52426
52440
|
type: "date",
|
|
@@ -52430,10 +52444,10 @@ function Sne(A, oe, G, _e, ne, Z) {
|
|
|
52430
52444
|
"onUpdate:modelValue": (lo) => ne.dynamicFilters[Et.field_name] = lo,
|
|
52431
52445
|
field_name: Et.field_name,
|
|
52432
52446
|
label_name: Et.field_label
|
|
52433
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) :
|
|
52447
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : qe("", !0)
|
|
52434
52448
|
], 64))), 128)),
|
|
52435
|
-
(ue(!0),
|
|
52436
|
-
Et.hasOwnFilter && Object.keys(Et.hasOwnFilter).length > 0 ? (ue(),
|
|
52449
|
+
(ue(!0), de(jn, null, Ks(G.columns, (Et, io) => (ue(), de(jn, { key: io }, [
|
|
52450
|
+
Et.hasOwnFilter && Object.keys(Et.hasOwnFilter).length > 0 ? (ue(), de(jn, { key: 0 }, [
|
|
52437
52451
|
Et.hasOwnFilter.type == "dropdown" ? (ue(), ju($e, {
|
|
52438
52452
|
key: 0,
|
|
52439
52453
|
has_cancel: !0,
|
|
@@ -52445,7 +52459,7 @@ function Sne(A, oe, G, _e, ne, Z) {
|
|
|
52445
52459
|
label_name: Et.field_label,
|
|
52446
52460
|
show: !1,
|
|
52447
52461
|
placeholder: "Please select an option"
|
|
52448
|
-
}, null, 8, ["options", "modelValue", "onUpdate:modelValue", "field_name", "label_name"])) :
|
|
52462
|
+
}, null, 8, ["options", "modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : qe("", !0),
|
|
52449
52463
|
Et.hasOwnFilter.type == "text" ? (ue(), ju(lt, {
|
|
52450
52464
|
key: 1,
|
|
52451
52465
|
type: "text",
|
|
@@ -52455,7 +52469,7 @@ function Sne(A, oe, G, _e, ne, Z) {
|
|
|
52455
52469
|
"onUpdate:modelValue": (lo) => ne.dynamicFilters[Et.field_name] = lo,
|
|
52456
52470
|
field_name: Et.field_name,
|
|
52457
52471
|
label_name: Et.field_label
|
|
52458
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) :
|
|
52472
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : qe("", !0),
|
|
52459
52473
|
Et.hasOwnFilter.type == "date" ? (ue(), ju(lt, {
|
|
52460
52474
|
key: 2,
|
|
52461
52475
|
type: "date",
|
|
@@ -52465,8 +52479,8 @@ function Sne(A, oe, G, _e, ne, Z) {
|
|
|
52465
52479
|
"onUpdate:modelValue": (lo) => ne.dynamicFilters[Et.field_name] = lo,
|
|
52466
52480
|
field_name: Et.field_name,
|
|
52467
52481
|
label_name: Et.field_label
|
|
52468
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) :
|
|
52469
|
-
], 64)) :
|
|
52482
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : qe("", !0)
|
|
52483
|
+
], 64)) : qe("", !0)
|
|
52470
52484
|
], 64))), 128))
|
|
52471
52485
|
]),
|
|
52472
52486
|
R("div", ane, [
|
|
@@ -52510,25 +52524,25 @@ function Sne(A, oe, G, _e, ne, Z) {
|
|
|
52510
52524
|
R("thead", ine, [
|
|
52511
52525
|
R("tr", null, [
|
|
52512
52526
|
une,
|
|
52513
|
-
(ue(!0),
|
|
52527
|
+
(ue(!0), de(jn, null, Ks(G.columns, (Et, io) => (ue(), de("th", {
|
|
52514
52528
|
key: io,
|
|
52515
52529
|
onClick: (lo) => Z.updateSortColumn(Et.field_name, Et.sortable),
|
|
52516
52530
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
52517
52531
|
}, [
|
|
52518
52532
|
Zn(dt(Et.field_label) + " ", 1),
|
|
52519
|
-
ne.sortField === Et.field_name ? (ue(),
|
|
52520
|
-
ne.sortOrder === "asc" ? (ue(),
|
|
52521
|
-
])) :
|
|
52533
|
+
ne.sortField === Et.field_name ? (ue(), de("span", mne, [
|
|
52534
|
+
ne.sortOrder === "asc" ? (ue(), de("i", fne)) : (ue(), de("i", gne))
|
|
52535
|
+
])) : qe("", !0)
|
|
52522
52536
|
], 8, dne))), 128))
|
|
52523
52537
|
])
|
|
52524
52538
|
]),
|
|
52525
52539
|
R("tbody", null, [
|
|
52526
|
-
ne.isLoading ? (ue(),
|
|
52540
|
+
ne.isLoading ? (ue(), de("tr", hne, [
|
|
52527
52541
|
R("td", {
|
|
52528
52542
|
colspan: G.columns.length
|
|
52529
52543
|
}, vne, 8, pne)
|
|
52530
|
-
])) :
|
|
52531
|
-
ne.isLoading ?
|
|
52544
|
+
])) : qe("", !0),
|
|
52545
|
+
ne.isLoading ? qe("", !0) : (ue(!0), de(jn, { key: 1 }, Ks(ne.itemLists.data, (Et, io) => (ue(), de("tr", {
|
|
52532
52546
|
key: io,
|
|
52533
52547
|
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"
|
|
52534
52548
|
}, [
|
|
@@ -52541,7 +52555,7 @@ function Sne(A, oe, G, _e, ne, Z) {
|
|
|
52541
52555
|
class: "w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600"
|
|
52542
52556
|
}, null, 40, wne)
|
|
52543
52557
|
]),
|
|
52544
|
-
(ue(!0),
|
|
52558
|
+
(ue(!0), de(jn, null, Ks(G.columns, (lo, eo) => (ue(), de("td", {
|
|
52545
52559
|
key: eo,
|
|
52546
52560
|
"data-label": lo.field_label,
|
|
52547
52561
|
class: zt(["text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 border-[1px] dark:border-gray-700", {
|
|
@@ -52559,7 +52573,7 @@ function Sne(A, oe, G, _e, ne, Z) {
|
|
|
52559
52573
|
onDeleteAction: oe[3] || (oe[3] = (Ot) => Z.GetItemLists()),
|
|
52560
52574
|
onEditAction: (Ot) => Z.editAction(Et),
|
|
52561
52575
|
onGeneralAction: (Ot) => Z.generalAction(Et)
|
|
52562
|
-
}, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction", "onGeneralAction"])) : (ue(),
|
|
52576
|
+
}, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction", "onGeneralAction"])) : (ue(), de(jn, { key: 1 }, [
|
|
52563
52577
|
Zn(dt(Et[lo.field_name]), 1)
|
|
52564
52578
|
], 64))
|
|
52565
52579
|
])
|
|
@@ -52797,7 +52811,7 @@ const Kce = /* @__PURE__ */ zr(Kte, [["render", Sne]]), kne = {
|
|
|
52797
52811
|
];
|
|
52798
52812
|
function hoe(A, oe, G, _e, ne, Z) {
|
|
52799
52813
|
const xe = Rd("dropdown");
|
|
52800
|
-
return ue(),
|
|
52814
|
+
return ue(), de("div", Tne, [
|
|
52801
52815
|
R("div", Ene, [
|
|
52802
52816
|
R("div", Ane, [
|
|
52803
52817
|
Dne,
|
|
@@ -52834,29 +52848,29 @@ function hoe(A, oe, G, _e, ne, Z) {
|
|
|
52834
52848
|
R("table", Nne, [
|
|
52835
52849
|
R("thead", Ine, [
|
|
52836
52850
|
R("tr", null, [
|
|
52837
|
-
(ue(!0),
|
|
52851
|
+
(ue(!0), de(jn, null, Ks(G.columns, (K, $e) => (ue(), de("th", {
|
|
52838
52852
|
key: $e,
|
|
52839
52853
|
onClick: (lt) => Z.sort(K.field_name, K.sortable),
|
|
52840
52854
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
52841
52855
|
}, [
|
|
52842
52856
|
Zn(dt(K.field_label) + " ", 1),
|
|
52843
|
-
ne.sortKey === K.field_name ? (ue(),
|
|
52844
|
-
ne.sortOrder === 1 ? (ue(),
|
|
52845
|
-
])) :
|
|
52857
|
+
ne.sortKey === K.field_name ? (ue(), de("span", Fne, [
|
|
52858
|
+
ne.sortOrder === 1 ? (ue(), de("i", Hne)) : (ue(), de("i", Vne))
|
|
52859
|
+
])) : qe("", !0)
|
|
52846
52860
|
], 8, Lne))), 128))
|
|
52847
52861
|
])
|
|
52848
52862
|
]),
|
|
52849
52863
|
R("tbody", null, [
|
|
52850
|
-
ne.isLoading ? (ue(),
|
|
52864
|
+
ne.isLoading ? (ue(), de("tr", zne, [
|
|
52851
52865
|
R("td", {
|
|
52852
52866
|
colspan: G.columns.length
|
|
52853
52867
|
}, Zne, 8, Une)
|
|
52854
|
-
])) :
|
|
52855
|
-
ne.isLoading ?
|
|
52868
|
+
])) : qe("", !0),
|
|
52869
|
+
ne.isLoading ? qe("", !0) : (ue(!0), de(jn, { key: 1 }, Ks(Z.paginatedData, (K, $e) => (ue(), de("tr", {
|
|
52856
52870
|
key: $e,
|
|
52857
52871
|
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"
|
|
52858
52872
|
}, [
|
|
52859
|
-
(ue(!0),
|
|
52873
|
+
(ue(!0), de(jn, null, Ks(G.columns, (lt, yt) => (ue(), de("td", {
|
|
52860
52874
|
key: yt,
|
|
52861
52875
|
"data-label": lt.field_label,
|
|
52862
52876
|
class: zt(["text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 border-[1px] dark:border-gray-700", {
|
|
@@ -52874,7 +52888,7 @@ function hoe(A, oe, G, _e, ne, Z) {
|
|
|
52874
52888
|
onDeleteAction: oe[2] || (oe[2] = (hn) => Z.GetItemLists()),
|
|
52875
52889
|
onEditAction: (hn) => Z.editAction(K),
|
|
52876
52890
|
onGeneralAction: (hn) => Z.generalAction(K)
|
|
52877
|
-
}, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction", "onGeneralAction"])) : (ue(),
|
|
52891
|
+
}, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction", "onGeneralAction"])) : (ue(), de(jn, { key: 1 }, [
|
|
52878
52892
|
Zn(dt(K[lt.field_name]), 1)
|
|
52879
52893
|
], 64))
|
|
52880
52894
|
])
|
|
@@ -52883,7 +52897,7 @@ function hoe(A, oe, G, _e, ne, Z) {
|
|
|
52883
52897
|
])
|
|
52884
52898
|
])
|
|
52885
52899
|
]),
|
|
52886
|
-
Z.paginatedData.length > 0 ? (ue(),
|
|
52900
|
+
Z.paginatedData.length > 0 ? (ue(), de("div", qne, [
|
|
52887
52901
|
R("div", Kne, [
|
|
52888
52902
|
R("a", {
|
|
52889
52903
|
href: "#",
|
|
@@ -52921,23 +52935,23 @@ function hoe(A, oe, G, _e, ne, Z) {
|
|
|
52921
52935
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 ms-0 border-e-0 rounded-s-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
52922
52936
|
}, coe, 8, roe)
|
|
52923
52937
|
]),
|
|
52924
|
-
(ue(!0),
|
|
52938
|
+
(ue(!0), de(jn, null, Ks(Z.displayedPageNumbers, (K) => (ue(), de(jn, { key: K }, [
|
|
52925
52939
|
R("li", null, [
|
|
52926
|
-
ne.currentPage !== K ? (ue(),
|
|
52940
|
+
ne.currentPage !== K ? (ue(), de("a", {
|
|
52927
52941
|
key: 0,
|
|
52928
52942
|
href: "#",
|
|
52929
52943
|
onClick: za(($e) => Z.goToPage(K), ["prevent"]),
|
|
52930
52944
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
52931
|
-
}, dt(K), 9, ioe)) :
|
|
52945
|
+
}, dt(K), 9, ioe)) : qe("", !0)
|
|
52932
52946
|
]),
|
|
52933
52947
|
R("li", null, [
|
|
52934
|
-
ne.currentPage === K ? (ue(),
|
|
52948
|
+
ne.currentPage === K ? (ue(), de("a", {
|
|
52935
52949
|
key: 0,
|
|
52936
52950
|
href: "#",
|
|
52937
52951
|
onClick: za(($e) => Z.goToPage(K), ["prevent"]),
|
|
52938
52952
|
"aria-current": "page",
|
|
52939
52953
|
class: "z-10 flex items-center justify-center h-8 px-3 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white"
|
|
52940
|
-
}, dt(K), 9, uoe)) :
|
|
52954
|
+
}, dt(K), 9, uoe)) : qe("", !0)
|
|
52941
52955
|
])
|
|
52942
52956
|
], 64))), 128)),
|
|
52943
52957
|
R("li", null, [
|
|
@@ -52952,7 +52966,7 @@ function hoe(A, oe, G, _e, ne, Z) {
|
|
|
52952
52966
|
])
|
|
52953
52967
|
])
|
|
52954
52968
|
])
|
|
52955
|
-
])) :
|
|
52969
|
+
])) : qe("", !0)
|
|
52956
52970
|
]);
|
|
52957
52971
|
}
|
|
52958
52972
|
const Yce = /* @__PURE__ */ zr(kne, [["render", hoe]]), poe = {
|
|
@@ -53118,7 +53132,7 @@ const Yce = /* @__PURE__ */ zr(kne, [["render", hoe]]), poe = {
|
|
|
53118
53132
|
], Ioe = { 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" }, Loe = ["colspan"], Foe = ["data-label"], Hoe = { class: "overflow-auto max-h-40" }, Voe = { 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" };
|
|
53119
53133
|
function zoe(A, oe, G, _e, ne, Z) {
|
|
53120
53134
|
const xe = Rd("dropdown"), K = Rd("TailwindPagination");
|
|
53121
|
-
return ue(),
|
|
53135
|
+
return ue(), de("div", boe, [
|
|
53122
53136
|
R("div", voe, [
|
|
53123
53137
|
R("div", yoe, [
|
|
53124
53138
|
woe,
|
|
@@ -53156,36 +53170,36 @@ function zoe(A, oe, G, _e, ne, Z) {
|
|
|
53156
53170
|
R("table", Eoe, [
|
|
53157
53171
|
R("thead", Aoe, [
|
|
53158
53172
|
R("tr", null, [
|
|
53159
|
-
(ue(!0),
|
|
53173
|
+
(ue(!0), de(jn, null, Ks(G.columns, ($e, lt) => (ue(), de("th", {
|
|
53160
53174
|
key: lt,
|
|
53161
53175
|
onClick: (yt) => Z.updateSortColumn($e.field_name, $e.sortable),
|
|
53162
53176
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
53163
53177
|
}, [
|
|
53164
53178
|
Zn(dt($e.field_label) + " ", 1),
|
|
53165
|
-
ne.sortField === $e.field_name ? (ue(),
|
|
53166
|
-
ne.sortOrder === "asc" ? (ue(),
|
|
53167
|
-
])) :
|
|
53179
|
+
ne.sortField === $e.field_name ? (ue(), de("span", Ooe, [
|
|
53180
|
+
ne.sortOrder === "asc" ? (ue(), de("i", Roe)) : (ue(), de("i", $oe))
|
|
53181
|
+
])) : qe("", !0)
|
|
53168
53182
|
], 8, Doe))), 128))
|
|
53169
53183
|
])
|
|
53170
53184
|
]),
|
|
53171
53185
|
R("tbody", null, [
|
|
53172
|
-
ne.isLoading ? (ue(),
|
|
53186
|
+
ne.isLoading ? (ue(), de("tr", Moe, [
|
|
53173
53187
|
R("td", {
|
|
53174
53188
|
colspan: G.columns.length
|
|
53175
53189
|
}, Noe, 8, Poe)
|
|
53176
|
-
])) :
|
|
53177
|
-
ne.isLoading ?
|
|
53190
|
+
])) : qe("", !0),
|
|
53191
|
+
ne.isLoading ? qe("", !0) : (ue(!0), de(jn, { key: 1 }, Ks(Z.groupedItems, ($e, lt) => (ue(), de(jn, null, [
|
|
53178
53192
|
R("tr", Ioe, [
|
|
53179
53193
|
R("td", {
|
|
53180
53194
|
colspan: G.columns.length,
|
|
53181
53195
|
class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 border dark:border-gray-700"
|
|
53182
53196
|
}, dt(lt), 9, Loe)
|
|
53183
53197
|
]),
|
|
53184
|
-
(ue(!0),
|
|
53198
|
+
(ue(!0), de(jn, null, Ks($e, (yt, hn) => (ue(), de("tr", {
|
|
53185
53199
|
key: hn,
|
|
53186
53200
|
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"
|
|
53187
53201
|
}, [
|
|
53188
|
-
(ue(!0),
|
|
53202
|
+
(ue(!0), de(jn, null, Ks(G.columns, (Et, io) => (ue(), de("td", {
|
|
53189
53203
|
key: io,
|
|
53190
53204
|
"data-label": Et.field_label,
|
|
53191
53205
|
class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-3 lg:px-4 border-[1px] dark:border-gray-700"
|
|
@@ -53199,7 +53213,7 @@ function zoe(A, oe, G, _e, ne, Z) {
|
|
|
53199
53213
|
tdProps: Et.tdProps,
|
|
53200
53214
|
onDeleteAction: oe[3] || (oe[3] = (lo) => Z.GetItemLists()),
|
|
53201
53215
|
onEditAction: (lo) => Z.editAction(yt)
|
|
53202
|
-
}, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction"])) : (ue(),
|
|
53216
|
+
}, null, 40, ["row", "field", "xprops", "tdProps", "onEditAction"])) : (ue(), de(jn, { key: 1 }, [
|
|
53203
53217
|
Zn(dt(yt[Et.field_name]), 1)
|
|
53204
53218
|
], 64))
|
|
53205
53219
|
])
|
|
@@ -53367,7 +53381,7 @@ const Xce = /* @__PURE__ */ zr(poe, [["render", zoe]]), Uoe = {
|
|
|
53367
53381
|
];
|
|
53368
53382
|
function Dse(A, oe, G, _e, ne, Z) {
|
|
53369
53383
|
const xe = Rd("dropdown");
|
|
53370
|
-
return ue(),
|
|
53384
|
+
return ue(), de("div", Woe, [
|
|
53371
53385
|
R("div", Zoe, [
|
|
53372
53386
|
R("div", joe, [
|
|
53373
53387
|
Goe,
|
|
@@ -53404,24 +53418,24 @@ function Dse(A, oe, G, _e, ne, Z) {
|
|
|
53404
53418
|
R("table", ese, [
|
|
53405
53419
|
R("thead", tse, [
|
|
53406
53420
|
R("tr", null, [
|
|
53407
|
-
(ue(!0),
|
|
53421
|
+
(ue(!0), de(jn, null, Ks(G.columns, (K, $e) => (ue(), de("th", {
|
|
53408
53422
|
key: $e,
|
|
53409
53423
|
onClick: za((lt) => Z.sort(K), ["prevent"]),
|
|
53410
53424
|
class: "w-full px-4 py-2 lg:w-2/12 capitalize"
|
|
53411
53425
|
}, [
|
|
53412
53426
|
Zn(dt(K) + " ", 1),
|
|
53413
|
-
ne.sortKey === K ? (ue(),
|
|
53414
|
-
ne.sortOrder === 1 ? (ue(),
|
|
53415
|
-
])) :
|
|
53427
|
+
ne.sortKey === K ? (ue(), de("span", ose, [
|
|
53428
|
+
ne.sortOrder === 1 ? (ue(), de("i", sse)) : (ue(), de("i", rse))
|
|
53429
|
+
])) : qe("", !0)
|
|
53416
53430
|
], 8, nse))), 128))
|
|
53417
53431
|
])
|
|
53418
53432
|
]),
|
|
53419
53433
|
R("tbody", null, [
|
|
53420
|
-
(ue(!0),
|
|
53434
|
+
(ue(!0), de(jn, null, Ks(Z.paginatedData, (K, $e) => (ue(), de("tr", {
|
|
53421
53435
|
key: $e,
|
|
53422
53436
|
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"
|
|
53423
53437
|
}, [
|
|
53424
|
-
(ue(!0),
|
|
53438
|
+
(ue(!0), de(jn, null, Ks(G.columns, (lt, yt) => (ue(), de("td", {
|
|
53425
53439
|
key: yt,
|
|
53426
53440
|
"data-label": lt,
|
|
53427
53441
|
class: "text-pretty before:content-[attr(data-label)] before:font-bold lg:before:content-none flex md:flex-row flex-col justify-between gap-2 lg:table-cell py-4 px-5 lg:py-2.5 lg:px-4 border-[1px] dark:border-gray-700"
|
|
@@ -53435,7 +53449,7 @@ function Dse(A, oe, G, _e, ne, Z) {
|
|
|
53435
53449
|
])
|
|
53436
53450
|
])
|
|
53437
53451
|
]),
|
|
53438
|
-
Z.paginatedData.length > 0 ? (ue(),
|
|
53452
|
+
Z.paginatedData.length > 0 ? (ue(), de("div", cse, [
|
|
53439
53453
|
R("div", ise, [
|
|
53440
53454
|
R("a", {
|
|
53441
53455
|
href: "#",
|
|
@@ -53473,23 +53487,23 @@ function Dse(A, oe, G, _e, ne, Z) {
|
|
|
53473
53487
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 ms-0 border-e-0 rounded-s-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
53474
53488
|
}, Cse, 8, yse)
|
|
53475
53489
|
]),
|
|
53476
|
-
(ue(!0),
|
|
53490
|
+
(ue(!0), de(jn, null, Ks(Z.displayedPageNumbers, (K) => (ue(), de(jn, { key: K }, [
|
|
53477
53491
|
R("li", null, [
|
|
53478
|
-
ne.currentPage !== K ? (ue(),
|
|
53492
|
+
ne.currentPage !== K ? (ue(), de("a", {
|
|
53479
53493
|
key: 0,
|
|
53480
53494
|
href: "#",
|
|
53481
53495
|
onClick: za(($e) => Z.goToPage(K), ["prevent"]),
|
|
53482
53496
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
53483
|
-
}, dt(K), 9, _se)) :
|
|
53497
|
+
}, dt(K), 9, _se)) : qe("", !0)
|
|
53484
53498
|
]),
|
|
53485
53499
|
R("li", null, [
|
|
53486
|
-
ne.currentPage === K ? (ue(),
|
|
53500
|
+
ne.currentPage === K ? (ue(), de("a", {
|
|
53487
53501
|
key: 0,
|
|
53488
53502
|
href: "#",
|
|
53489
53503
|
onClick: za(($e) => Z.goToPage(K), ["prevent"]),
|
|
53490
53504
|
"aria-current": "page",
|
|
53491
53505
|
class: "z-10 flex items-center justify-center h-8 px-3 leading-tight text-blue-600 border border-blue-300 bg-blue-50 hover:bg-blue-100 hover:text-blue-700 dark:border-gray-700 dark:bg-gray-700 dark:text-white"
|
|
53492
|
-
}, dt(K), 9, Sse)) :
|
|
53506
|
+
}, dt(K), 9, Sse)) : qe("", !0)
|
|
53493
53507
|
])
|
|
53494
53508
|
], 64))), 128)),
|
|
53495
53509
|
R("li", null, [
|
|
@@ -53504,7 +53518,7 @@ function Dse(A, oe, G, _e, ne, Z) {
|
|
|
53504
53518
|
])
|
|
53505
53519
|
])
|
|
53506
53520
|
])
|
|
53507
|
-
])) :
|
|
53521
|
+
])) : qe("", !0)
|
|
53508
53522
|
]);
|
|
53509
53523
|
}
|
|
53510
53524
|
const Jce = /* @__PURE__ */ zr(Uoe, [["render", Dse]]), Ose = {
|
|
@@ -53579,9 +53593,9 @@ const Jce = /* @__PURE__ */ zr(Uoe, [["render", Dse]]), Ose = {
|
|
|
53579
53593
|
class: "flex flex-wrap gap-2"
|
|
53580
53594
|
}, $se = { class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300" };
|
|
53581
53595
|
function Mse(A, oe, G, _e, ne, Z) {
|
|
53582
|
-
return G.row[G.field] ? (ue(),
|
|
53596
|
+
return G.row[G.field] ? (ue(), de("div", Rse, [
|
|
53583
53597
|
R("span", $se, dt(Z.convertCronToHuman(G.row[G.field])), 1)
|
|
53584
|
-
])) :
|
|
53598
|
+
])) : qe("", !0);
|
|
53585
53599
|
}
|
|
53586
53600
|
const Qce = /* @__PURE__ */ zr(Ose, [["render", Mse]]), Pse = {
|
|
53587
53601
|
setup() {
|
|
@@ -53604,7 +53618,7 @@ const Qce = /* @__PURE__ */ zr(Ose, [["render", Mse]]), Pse = {
|
|
|
53604
53618
|
}
|
|
53605
53619
|
};
|
|
53606
53620
|
function Bse(A, oe, G, _e, ne, Z) {
|
|
53607
|
-
return ue(),
|
|
53621
|
+
return ue(), de("div", null, [
|
|
53608
53622
|
Zi(A.$slots, "default")
|
|
53609
53623
|
]);
|
|
53610
53624
|
}
|
|
@@ -53665,7 +53679,7 @@ const eie = /* @__PURE__ */ zr(Pse, [["render", Bse]]), Nse = {
|
|
|
53665
53679
|
zse
|
|
53666
53680
|
];
|
|
53667
53681
|
function Wse(A, oe, G, _e, ne, Z) {
|
|
53668
|
-
return ue(),
|
|
53682
|
+
return ue(), de("div", null, [
|
|
53669
53683
|
R("h2", null, [
|
|
53670
53684
|
R("button", {
|
|
53671
53685
|
onClick: oe[0] || (oe[0] = (...xe) => _e.toggle && _e.toggle(...xe)),
|
|
@@ -53678,11 +53692,11 @@ function Wse(A, oe, G, _e, ne, Z) {
|
|
|
53678
53692
|
"aria-expanded": "true"
|
|
53679
53693
|
}, [
|
|
53680
53694
|
R("span", Ise, dt(G.title), 1),
|
|
53681
|
-
_e.isOpen ?
|
|
53682
|
-
_e.isOpen ? (ue(),
|
|
53695
|
+
_e.isOpen ? qe("", !0) : (ue(), de("svg", Lse, Hse)),
|
|
53696
|
+
_e.isOpen ? (ue(), de("svg", Vse, Use)) : qe("", !0)
|
|
53683
53697
|
], 2)
|
|
53684
53698
|
]),
|
|
53685
|
-
_e.isOpen ? (ue(),
|
|
53699
|
+
_e.isOpen ? (ue(), de("div", {
|
|
53686
53700
|
key: 0,
|
|
53687
53701
|
class: zt([{
|
|
53688
53702
|
"border-b-0": !_e.isLastAccordion,
|
|
@@ -53690,7 +53704,7 @@ function Wse(A, oe, G, _e, ne, Z) {
|
|
|
53690
53704
|
}, "p-5 border border-gray-200 dark:border-gray-700 dark:bg-gray-900"])
|
|
53691
53705
|
}, [
|
|
53692
53706
|
Zi(A.$slots, "default")
|
|
53693
|
-
], 2)) :
|
|
53707
|
+
], 2)) : qe("", !0)
|
|
53694
53708
|
]);
|
|
53695
53709
|
}
|
|
53696
53710
|
const tie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
|
|
@@ -53773,10 +53787,10 @@ const tie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
|
|
|
53773
53787
|
setTimeout(() => _e("remove"), G.duration);
|
|
53774
53788
|
});
|
|
53775
53789
|
const _e = oe;
|
|
53776
|
-
return (ne, Z) => (ue(),
|
|
53777
|
-
G.type === "success" ? (ue(),
|
|
53778
|
-
G.type === "error" ? (ue(),
|
|
53779
|
-
G.type === "warning" ? (ue(),
|
|
53790
|
+
return (ne, Z) => (ue(), de("div", Zse, [
|
|
53791
|
+
G.type === "success" ? (ue(), de("div", jse, Kse)) : qe("", !0),
|
|
53792
|
+
G.type === "error" ? (ue(), de("div", Yse, Qse)) : qe("", !0),
|
|
53793
|
+
G.type === "warning" ? (ue(), de("div", ere, ore)) : qe("", !0),
|
|
53780
53794
|
R("div", sre, dt(G.message), 1),
|
|
53781
53795
|
R("button", {
|
|
53782
53796
|
onClick: Z[0] || (Z[0] = (xe) => _e("remove")),
|
|
@@ -53802,7 +53816,7 @@ const tie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
|
|
|
53802
53816
|
class: "fixed z-[1060] w-full max-w-xs space-y-4 top-4 right-4"
|
|
53803
53817
|
}, {
|
|
53804
53818
|
default: Cm(() => [
|
|
53805
|
-
(ue(!0),
|
|
53819
|
+
(ue(!0), de(jn, null, Ks(Lq(Ry).state.items, (ne, Z) => (ue(), ju(cre, {
|
|
53806
53820
|
key: ne.key,
|
|
53807
53821
|
message: ne.message,
|
|
53808
53822
|
type: ne.type,
|
|
@@ -53876,13 +53890,13 @@ const tie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
|
|
|
53876
53890
|
};
|
|
53877
53891
|
return (hn, Et) => {
|
|
53878
53892
|
const io = Bj("click-outside");
|
|
53879
|
-
return ue(),
|
|
53893
|
+
return ue(), de(jn, null, [
|
|
53880
53894
|
ui(GB, {
|
|
53881
53895
|
isOpen: ne.value,
|
|
53882
53896
|
onConfirmDelete: yt,
|
|
53883
53897
|
onCancelDelete: K
|
|
53884
53898
|
}, null, 8, ["isOpen"]),
|
|
53885
|
-
A.row && hn.can(`edit_${A.xprops.permission} || delete_${A.xprops.permission}`) ? fr((ue(),
|
|
53899
|
+
A.row && hn.can(`edit_${A.xprops.permission} || delete_${A.xprops.permission}`) ? fr((ue(), de("div", ire, [
|
|
53886
53900
|
R("button", {
|
|
53887
53901
|
onClick: xe,
|
|
53888
53902
|
class: "inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-600",
|
|
@@ -53890,7 +53904,7 @@ const tie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
|
|
|
53890
53904
|
}, dre),
|
|
53891
53905
|
fr(R("div", mre, [
|
|
53892
53906
|
R("ul", fre, [
|
|
53893
|
-
hn.can(`edit_${A.xprops.permission}`) ? (ue(),
|
|
53907
|
+
hn.can(`edit_${A.xprops.permission}`) ? (ue(), de("li", gre, [
|
|
53894
53908
|
R("a", {
|
|
53895
53909
|
href: A.xprops.route + "/" + A.row.id + "/edit",
|
|
53896
53910
|
class: "block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"
|
|
@@ -53898,8 +53912,8 @@ const tie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
|
|
|
53898
53912
|
pre,
|
|
53899
53913
|
Zn(" Edit")
|
|
53900
53914
|
], 8, hre)
|
|
53901
|
-
])) :
|
|
53902
|
-
hn.can(`delete_${A.xprops.permission}`) ? (ue(),
|
|
53915
|
+
])) : qe("", !0),
|
|
53916
|
+
hn.can(`delete_${A.xprops.permission}`) ? (ue(), de("li", bre, [
|
|
53903
53917
|
R("a", {
|
|
53904
53918
|
href: "#",
|
|
53905
53919
|
onClick: za($e, ["prevent"]),
|
|
@@ -53908,14 +53922,14 @@ const tie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
|
|
|
53908
53922
|
vre,
|
|
53909
53923
|
Zn(" Remove")
|
|
53910
53924
|
])
|
|
53911
|
-
])) :
|
|
53925
|
+
])) : qe("", !0)
|
|
53912
53926
|
])
|
|
53913
53927
|
], 512), [
|
|
53914
53928
|
[kf, _e.value]
|
|
53915
53929
|
])
|
|
53916
53930
|
])), [
|
|
53917
53931
|
[io, Z]
|
|
53918
|
-
]) :
|
|
53932
|
+
]) : qe("", !0)
|
|
53919
53933
|
], 64);
|
|
53920
53934
|
};
|
|
53921
53935
|
}
|
|
@@ -53982,13 +53996,13 @@ const tie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
|
|
|
53982
53996
|
};
|
|
53983
53997
|
return (hn, Et) => {
|
|
53984
53998
|
const io = Bj("click-outside");
|
|
53985
|
-
return ue(),
|
|
53999
|
+
return ue(), de(jn, null, [
|
|
53986
54000
|
ui(GB, {
|
|
53987
54001
|
isOpen: ne.value,
|
|
53988
54002
|
onConfirmDelete: yt,
|
|
53989
54003
|
onCancelDelete: K
|
|
53990
54004
|
}, null, 8, ["isOpen"]),
|
|
53991
|
-
A.row && hn.can(`delete_${A.xprops.permission}`) ? fr((ue(),
|
|
54005
|
+
A.row && hn.can(`delete_${A.xprops.permission}`) ? fr((ue(), de("div", yre, [
|
|
53992
54006
|
R("button", {
|
|
53993
54007
|
onClick: xe,
|
|
53994
54008
|
class: "inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-600",
|
|
@@ -53996,7 +54010,7 @@ const tie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
|
|
|
53996
54010
|
}, xre),
|
|
53997
54011
|
fr(R("div", Cre, [
|
|
53998
54012
|
R("ul", _re, [
|
|
53999
|
-
hn.can(`delete_${A.xprops.permission}`) ? (ue(),
|
|
54013
|
+
hn.can(`delete_${A.xprops.permission}`) ? (ue(), de("li", Sre, [
|
|
54000
54014
|
R("a", {
|
|
54001
54015
|
href: "#",
|
|
54002
54016
|
onClick: za($e, ["prevent"]),
|
|
@@ -54005,14 +54019,14 @@ const tie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
|
|
|
54005
54019
|
kre,
|
|
54006
54020
|
Zn(" Remove")
|
|
54007
54021
|
])
|
|
54008
|
-
])) :
|
|
54022
|
+
])) : qe("", !0)
|
|
54009
54023
|
])
|
|
54010
54024
|
], 512), [
|
|
54011
54025
|
[kf, _e.value]
|
|
54012
54026
|
])
|
|
54013
54027
|
])), [
|
|
54014
54028
|
[io, Z]
|
|
54015
|
-
]) :
|
|
54029
|
+
]) : qe("", !0)
|
|
54016
54030
|
], 64);
|
|
54017
54031
|
};
|
|
54018
54032
|
}
|
|
@@ -54081,13 +54095,13 @@ const tie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
|
|
|
54081
54095
|
};
|
|
54082
54096
|
return (Et, io) => {
|
|
54083
54097
|
const lo = Bj("click-outside");
|
|
54084
|
-
return ue(),
|
|
54098
|
+
return ue(), de(jn, null, [
|
|
54085
54099
|
ui(GB, {
|
|
54086
54100
|
isOpen: ne.value,
|
|
54087
54101
|
onConfirmDelete: hn,
|
|
54088
54102
|
onCancelDelete: Z
|
|
54089
54103
|
}, null, 8, ["isOpen"]),
|
|
54090
|
-
A.row && (Et.can(`delete_${A.xprops.permission}`) || Et.can(`access_${A.xprops.permission}`)) ? fr((ue(),
|
|
54104
|
+
A.row && (Et.can(`delete_${A.xprops.permission}`) || Et.can(`access_${A.xprops.permission}`)) ? fr((ue(), de("div", Tre, [
|
|
54091
54105
|
R("button", {
|
|
54092
54106
|
onClick: $e,
|
|
54093
54107
|
class: "inline-flex items-center p-2 text-sm font-medium text-center text-gray-900 bg-white rounded-lg hover:bg-gray-100 focus:ring-4 focus:outline-none dark:text-white focus:ring-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-600",
|
|
@@ -54095,7 +54109,7 @@ const tie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
|
|
|
54095
54109
|
}, Are),
|
|
54096
54110
|
fr(R("div", Dre, [
|
|
54097
54111
|
R("ul", Ore, [
|
|
54098
|
-
Et.can(`access_${A.xprops.permission}`) ? (ue(),
|
|
54112
|
+
Et.can(`access_${A.xprops.permission}`) ? (ue(), de("li", Rre, [
|
|
54099
54113
|
R("a", {
|
|
54100
54114
|
href: "#",
|
|
54101
54115
|
onClick: io[0] || (io[0] = za((eo) => yt(A.row), ["prevent"])),
|
|
@@ -54104,8 +54118,8 @@ const tie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
|
|
|
54104
54118
|
$re,
|
|
54105
54119
|
Zn(" Edit ")
|
|
54106
54120
|
])
|
|
54107
|
-
])) :
|
|
54108
|
-
Et.can(`delete_${A.xprops.permission}`) ? (ue(),
|
|
54121
|
+
])) : qe("", !0),
|
|
54122
|
+
Et.can(`delete_${A.xprops.permission}`) ? (ue(), de("li", Mre, [
|
|
54109
54123
|
R("a", {
|
|
54110
54124
|
href: "#",
|
|
54111
54125
|
onClick: za(xe, ["prevent"]),
|
|
@@ -54114,14 +54128,14 @@ const tie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
|
|
|
54114
54128
|
Pre,
|
|
54115
54129
|
Zn(" Remove ")
|
|
54116
54130
|
])
|
|
54117
|
-
])) :
|
|
54131
|
+
])) : qe("", !0)
|
|
54118
54132
|
])
|
|
54119
54133
|
], 512), [
|
|
54120
54134
|
[kf, _e.value]
|
|
54121
54135
|
])
|
|
54122
54136
|
])), [
|
|
54123
54137
|
[lo, K]
|
|
54124
|
-
]) :
|
|
54138
|
+
]) : qe("", !0)
|
|
54125
54139
|
], 64);
|
|
54126
54140
|
};
|
|
54127
54141
|
}
|
|
@@ -54179,8 +54193,8 @@ const tie = /* @__PURE__ */ zr(Nse, [["render", Wse]]), Zse = {
|
|
|
54179
54193
|
})
|
|
54180
54194
|
], -1);
|
|
54181
54195
|
function Vre(A, oe, G, _e, ne, Z) {
|
|
54182
|
-
return ue(),
|
|
54183
|
-
Z.isArray ? (ue(!0),
|
|
54196
|
+
return ue(), de("div", null, [
|
|
54197
|
+
Z.isArray ? (ue(!0), de(jn, { key: 0 }, Ks(G.row, (xe, K) => (ue(), de("div", {
|
|
54184
54198
|
key: K,
|
|
54185
54199
|
class: "m-1 d-inline-block"
|
|
54186
54200
|
}, [
|
|
@@ -54193,7 +54207,7 @@ function Vre(A, oe, G, _e, ne, Z) {
|
|
|
54193
54207
|
Ire,
|
|
54194
54208
|
Zn(" Download ")
|
|
54195
54209
|
], 8, Nre)
|
|
54196
|
-
]))), 128)) : Z.isString ? (ue(),
|
|
54210
|
+
]))), 128)) : Z.isString ? (ue(), de("div", Lre, [
|
|
54197
54211
|
R("a", {
|
|
54198
54212
|
href: G.row,
|
|
54199
54213
|
title: G.row,
|
|
@@ -54203,7 +54217,7 @@ function Vre(A, oe, G, _e, ne, Z) {
|
|
|
54203
54217
|
Hre,
|
|
54204
54218
|
Zn(" Download ")
|
|
54205
54219
|
], 8, Fre)
|
|
54206
|
-
])) :
|
|
54220
|
+
])) : qe("", !0)
|
|
54207
54221
|
]);
|
|
54208
54222
|
}
|
|
54209
54223
|
const aie = /* @__PURE__ */ zr(Bre, [["render", Vre]]), zre = {
|
|
@@ -54255,7 +54269,7 @@ const aie = /* @__PURE__ */ zr(Bre, [["render", Vre]]), zre = {
|
|
|
54255
54269
|
})
|
|
54256
54270
|
], -1);
|
|
54257
54271
|
function qre(A, oe, G, _e, ne, Z) {
|
|
54258
|
-
return Z.isArray ? (ue(!0),
|
|
54272
|
+
return Z.isArray ? (ue(!0), de(jn, { key: 0 }, Ks(G.row[G.field], (xe) => (ue(), de("div", {
|
|
54259
54273
|
key: xe.id,
|
|
54260
54274
|
class: "m-1 d-inline-block"
|
|
54261
54275
|
}, [
|
|
@@ -54268,7 +54282,7 @@ function qre(A, oe, G, _e, ne, Z) {
|
|
|
54268
54282
|
Wre,
|
|
54269
54283
|
Zn(" Download ")
|
|
54270
54284
|
], 8, Ure)
|
|
54271
|
-
]))), 128)) : Z.isObject ? (ue(),
|
|
54285
|
+
]))), 128)) : Z.isObject ? (ue(), de("div", Zre, [
|
|
54272
54286
|
R("a", {
|
|
54273
54287
|
href: G.row[G.field].url,
|
|
54274
54288
|
title: G.row[G.field].name,
|
|
@@ -54278,18 +54292,18 @@ function qre(A, oe, G, _e, ne, Z) {
|
|
|
54278
54292
|
Gre,
|
|
54279
54293
|
Zn(" Download ")
|
|
54280
54294
|
], 8, jre)
|
|
54281
|
-
])) :
|
|
54295
|
+
])) : qe("", !0);
|
|
54282
54296
|
}
|
|
54283
54297
|
const lie = /* @__PURE__ */ zr(zre, [["render", qre]]), Kre = {
|
|
54284
54298
|
props: ["field", "row", "tdProps"]
|
|
54285
54299
|
}, Yre = { key: 0 }, Xre = ["innerHTML"];
|
|
54286
54300
|
function Jre(A, oe, G, _e, ne, Z) {
|
|
54287
|
-
return G.row[G.field] ? (ue(),
|
|
54301
|
+
return G.row[G.field] ? (ue(), de("div", Yre, [
|
|
54288
54302
|
R("div", {
|
|
54289
54303
|
class: "w-full",
|
|
54290
54304
|
innerHTML: G.row[G.field]
|
|
54291
54305
|
}, null, 8, Xre)
|
|
54292
|
-
])) :
|
|
54306
|
+
])) : qe("", !0);
|
|
54293
54307
|
}
|
|
54294
54308
|
const cie = /* @__PURE__ */ zr(Kre, [["render", Jre]]), Qre = {
|
|
54295
54309
|
props: ["field", "row", "tdProps"],
|
|
@@ -54313,12 +54327,12 @@ const cie = /* @__PURE__ */ zr(Kre, [["render", Jre]]), Qre = {
|
|
|
54313
54327
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
54314
54328
|
};
|
|
54315
54329
|
function nae(A, oe, G, _e, ne, Z) {
|
|
54316
|
-
return this.row[this.entry.key] ? (ue(),
|
|
54317
|
-
Z.isArray ? (ue(!0),
|
|
54330
|
+
return this.row[this.entry.key] ? (ue(), de("div", eae, [
|
|
54331
|
+
Z.isArray ? (ue(!0), de(jn, { key: 0 }, Ks(G.row[Z.entry.key], (xe, K) => (ue(), de("span", {
|
|
54318
54332
|
key: K,
|
|
54319
54333
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
54320
|
-
}, dt(xe[Z.entry.field]), 1))), 128)) : Z.isObject ? (ue(),
|
|
54321
|
-
])) :
|
|
54334
|
+
}, dt(xe[Z.entry.field]), 1))), 128)) : Z.isObject ? (ue(), de("span", tae, dt(G.row[Z.entry.key][Z.entry.field]), 1)) : qe("", !0)
|
|
54335
|
+
])) : qe("", !0);
|
|
54322
54336
|
}
|
|
54323
54337
|
const iie = /* @__PURE__ */ zr(Qre, [["render", nae]]), oae = {
|
|
54324
54338
|
props: ["field", "row", "tdProps"],
|
|
@@ -54344,18 +54358,18 @@ const iie = /* @__PURE__ */ zr(Qre, [["render", nae]]), oae = {
|
|
|
54344
54358
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
54345
54359
|
};
|
|
54346
54360
|
function aae(A, oe, G, _e, ne, Z) {
|
|
54347
|
-
return ue(),
|
|
54348
|
-
Z.isArray ? (ue(!0),
|
|
54361
|
+
return ue(), de("div", sae, [
|
|
54362
|
+
Z.isArray ? (ue(!0), de(jn, { key: 0 }, Ks(Z.getNestedValue(G.row, Z.entry.keys), (xe, K) => (ue(), de("span", {
|
|
54349
54363
|
key: K,
|
|
54350
54364
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
54351
|
-
}, dt(xe[Z.entry.field]), 1))), 128)) : Z.isObject ? (ue(),
|
|
54365
|
+
}, dt(xe[Z.entry.field]), 1))), 128)) : Z.isObject ? (ue(), de("span", rae, dt(Z.getNestedValue(G.row, Z.entry.keys)[Z.entry.field]), 1)) : qe("", !0)
|
|
54352
54366
|
]);
|
|
54353
54367
|
}
|
|
54354
54368
|
const uie = /* @__PURE__ */ zr(oae, [["render", aae]]), lae = {
|
|
54355
54369
|
props: ["field", "row", "tdProps"]
|
|
54356
54370
|
}, cae = { key: 0 }, iae = { class: "m-1 d-inline-block" }, uae = ["href", "title"], dae = ["src", "alt", "title"];
|
|
54357
54371
|
function mae(A, oe, G, _e, ne, Z) {
|
|
54358
|
-
return G.row[G.field] ? (ue(),
|
|
54372
|
+
return G.row[G.field] ? (ue(), de("div", cae, [
|
|
54359
54373
|
R("div", iae, [
|
|
54360
54374
|
R("a", {
|
|
54361
54375
|
href: G.row[G.field].url,
|
|
@@ -54369,7 +54383,7 @@ function mae(A, oe, G, _e, ne, Z) {
|
|
|
54369
54383
|
}, null, 8, dae)
|
|
54370
54384
|
], 8, uae)
|
|
54371
54385
|
])
|
|
54372
|
-
])) :
|
|
54386
|
+
])) : qe("", !0);
|
|
54373
54387
|
}
|
|
54374
54388
|
const die = /* @__PURE__ */ zr(lae, [["render", mae], ["__scopeId", "data-v-3a28c02c"]]), fae = {
|
|
54375
54389
|
props: ["field", "row", "tdProps"],
|
|
@@ -54386,8 +54400,8 @@ const die = /* @__PURE__ */ zr(lae, [["render", mae], ["__scopeId", "data-v-3a28
|
|
|
54386
54400
|
class: "grid grid-cols-2 gap-4"
|
|
54387
54401
|
}, hae = ["src", "alt"], pae = { key: 1 }, bae = ["src", "alt"];
|
|
54388
54402
|
function vae(A, oe, G, _e, ne, Z) {
|
|
54389
|
-
return Z.isArray ? (ue(),
|
|
54390
|
-
(ue(!0),
|
|
54403
|
+
return Z.isArray ? (ue(), de("div", gae, [
|
|
54404
|
+
(ue(!0), de(jn, null, Ks(G.row[G.field], (xe) => (ue(), de("div", {
|
|
54391
54405
|
key: xe.id
|
|
54392
54406
|
}, [
|
|
54393
54407
|
R("img", {
|
|
@@ -54396,13 +54410,13 @@ function vae(A, oe, G, _e, ne, Z) {
|
|
|
54396
54410
|
alt: xe.file_name
|
|
54397
54411
|
}, null, 8, hae)
|
|
54398
54412
|
]))), 128))
|
|
54399
|
-
])) : Z.isObject ? (ue(),
|
|
54413
|
+
])) : Z.isObject ? (ue(), de("div", pae, [
|
|
54400
54414
|
R("img", {
|
|
54401
54415
|
class: "h-auto max-w-full rounded-lg",
|
|
54402
54416
|
src: G.row[G.field].thumbnail,
|
|
54403
54417
|
alt: G.row[G.field].file_name
|
|
54404
54418
|
}, null, 8, bae)
|
|
54405
|
-
])) :
|
|
54419
|
+
])) : qe("", !0);
|
|
54406
54420
|
}
|
|
54407
54421
|
const mie = /* @__PURE__ */ zr(fae, [["render", vae]]), yae = {
|
|
54408
54422
|
props: ["field", "row", "tdProps"],
|
|
@@ -54419,11 +54433,11 @@ const mie = /* @__PURE__ */ zr(fae, [["render", vae]]), yae = {
|
|
|
54419
54433
|
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"
|
|
54420
54434
|
}, Sae = /* @__PURE__ */ R("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1);
|
|
54421
54435
|
function kae(A, oe, G, _e, ne, Z) {
|
|
54422
|
-
return ue(),
|
|
54423
|
-
Z.isActive ? (ue(),
|
|
54436
|
+
return ue(), de("div", wae, [
|
|
54437
|
+
Z.isActive ? (ue(), de("span", xae, [
|
|
54424
54438
|
Cae,
|
|
54425
54439
|
Zn(" Active ")
|
|
54426
|
-
])) : Z.isActive ?
|
|
54440
|
+
])) : Z.isActive ? qe("", !0) : (ue(), de("span", _ae, [
|
|
54427
54441
|
Sae,
|
|
54428
54442
|
Zn(" Inactive ")
|
|
54429
54443
|
]))
|
|
@@ -54459,27 +54473,27 @@ const fie = /* @__PURE__ */ zr(yae, [["render", kae]]), Tae = {
|
|
|
54459
54473
|
/* @__PURE__ */ R("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
54460
54474
|
], -1);
|
|
54461
54475
|
function Lae(A, oe, G, _e, ne, Z) {
|
|
54462
|
-
return ue(),
|
|
54463
|
-
Z.hasLabelColor == "green" ? (ue(),
|
|
54476
|
+
return ue(), de("div", Eae, [
|
|
54477
|
+
Z.hasLabelColor == "green" ? (ue(), de("span", Aae, [
|
|
54464
54478
|
Dae,
|
|
54465
54479
|
Zn(" " + dt(this.row[this.field]), 1)
|
|
54466
|
-
])) :
|
|
54467
|
-
Z.hasLabelColor == "red" ? (ue(),
|
|
54480
|
+
])) : qe("", !0),
|
|
54481
|
+
Z.hasLabelColor == "red" ? (ue(), de("span", Oae, [
|
|
54468
54482
|
Rae,
|
|
54469
54483
|
Zn(" " + dt(this.row[this.field]), 1)
|
|
54470
|
-
])) :
|
|
54471
|
-
Z.hasLabelColor == "yellow" ? (ue(),
|
|
54484
|
+
])) : qe("", !0),
|
|
54485
|
+
Z.hasLabelColor == "yellow" ? (ue(), de("span", $ae, [
|
|
54472
54486
|
Mae,
|
|
54473
54487
|
Zn(" " + dt(this.row[this.field]), 1)
|
|
54474
|
-
])) :
|
|
54475
|
-
Z.hasLabelColor == "default" ? (ue(),
|
|
54488
|
+
])) : qe("", !0),
|
|
54489
|
+
Z.hasLabelColor == "default" ? (ue(), de("span", Pae, [
|
|
54476
54490
|
Bae,
|
|
54477
54491
|
Zn(" " + dt(this.row[this.field]), 1)
|
|
54478
|
-
])) :
|
|
54479
|
-
Z.hasLabelColor == "animate" ? (ue(),
|
|
54492
|
+
])) : qe("", !0),
|
|
54493
|
+
Z.hasLabelColor == "animate" ? (ue(), de("span", Nae, [
|
|
54480
54494
|
Iae,
|
|
54481
54495
|
Zn(" " + dt(this.row[this.field]), 1)
|
|
54482
|
-
])) :
|
|
54496
|
+
])) : qe("", !0)
|
|
54483
54497
|
]);
|
|
54484
54498
|
}
|
|
54485
54499
|
const gie = /* @__PURE__ */ zr(Tae, [["render", Lae]]), Fae = {
|
|
@@ -54505,39 +54519,39 @@ const gie = /* @__PURE__ */ zr(Tae, [["render", Lae]]), Fae = {
|
|
|
54505
54519
|
}
|
|
54506
54520
|
}, Hae = { class: "flex flex-wrap gap-2 text-nowrap lg:justify-center" };
|
|
54507
54521
|
function Vae(A, oe, G, _e, ne, Z) {
|
|
54508
|
-
return ue(),
|
|
54509
|
-
Z.hasLabelColor == "Default" ? (ue(),
|
|
54522
|
+
return ue(), de("div", Hae, [
|
|
54523
|
+
Z.hasLabelColor == "Default" ? (ue(), de("span", {
|
|
54510
54524
|
key: 0,
|
|
54511
54525
|
class: zt(["bg-blue-100 text-blue-800 font-medium me-2 px-2.5 py-0.5 dark:bg-blue-900 dark:text-blue-300 border-blue-400", Z.badgeType])
|
|
54512
|
-
}, dt(this.row[this.field]), 3)) :
|
|
54513
|
-
Z.hasLabelColor == "Dark" ? (ue(),
|
|
54526
|
+
}, dt(this.row[this.field]), 3)) : qe("", !0),
|
|
54527
|
+
Z.hasLabelColor == "Dark" ? (ue(), de("span", {
|
|
54514
54528
|
key: 1,
|
|
54515
54529
|
class: zt(["bg-gray-100 text-gray-800 font-medium me-2 px-2.5 py-0.5 dark:bg-gray-700 dark:text-gray-300 border-gray-500", Z.badgeType])
|
|
54516
|
-
}, dt(this.row[this.field]), 3)) :
|
|
54517
|
-
Z.hasLabelColor == "Red" ? (ue(),
|
|
54530
|
+
}, dt(this.row[this.field]), 3)) : qe("", !0),
|
|
54531
|
+
Z.hasLabelColor == "Red" ? (ue(), de("span", {
|
|
54518
54532
|
key: 2,
|
|
54519
54533
|
class: zt(["bg-red-100 text-red-800 font-medium me-2 px-2.5 py-0.5 dark:bg-red-900 dark:text-red-300 border-red-400", Z.badgeType])
|
|
54520
|
-
}, dt(this.row[this.field]), 3)) :
|
|
54521
|
-
Z.hasLabelColor == "Green" ? (ue(),
|
|
54534
|
+
}, dt(this.row[this.field]), 3)) : qe("", !0),
|
|
54535
|
+
Z.hasLabelColor == "Green" ? (ue(), de("span", {
|
|
54522
54536
|
key: 3,
|
|
54523
54537
|
class: zt(["bg-green-100 text-green-800 font-medium me-2 px-2.5 py-0.5 dark:bg-green-900 dark:text-green-300 border-green-400", Z.badgeType])
|
|
54524
|
-
}, dt(this.row[this.field]), 3)) :
|
|
54525
|
-
Z.hasLabelColor == "Yellow" ? (ue(),
|
|
54538
|
+
}, dt(this.row[this.field]), 3)) : qe("", !0),
|
|
54539
|
+
Z.hasLabelColor == "Yellow" ? (ue(), de("span", {
|
|
54526
54540
|
key: 4,
|
|
54527
54541
|
class: zt(["bg-yellow-100 text-yellow-800 font-medium me-2 px-2.5 py-0.5 dark:bg-yellow-900 dark:text-yellow-300 border-yellow-300", Z.badgeType])
|
|
54528
|
-
}, dt(this.row[this.field]), 3)) :
|
|
54529
|
-
Z.hasLabelColor == "Indigo" ? (ue(),
|
|
54542
|
+
}, dt(this.row[this.field]), 3)) : qe("", !0),
|
|
54543
|
+
Z.hasLabelColor == "Indigo" ? (ue(), de("span", {
|
|
54530
54544
|
key: 5,
|
|
54531
54545
|
class: zt(["bg-indigo-100 text-indigo-800 font-medium me-2 px-2.5 py-0.5 dark:bg-indigo-900 dark:text-indigo-300 border-indigo-400", Z.badgeType])
|
|
54532
|
-
}, dt(this.row[this.field]), 3)) :
|
|
54533
|
-
Z.hasLabelColor == "Purple" ? (ue(),
|
|
54546
|
+
}, dt(this.row[this.field]), 3)) : qe("", !0),
|
|
54547
|
+
Z.hasLabelColor == "Purple" ? (ue(), de("span", {
|
|
54534
54548
|
key: 6,
|
|
54535
54549
|
class: zt(["bg-purple-100 text-purple-800 font-medium me-2 px-2.5 py-0.5 dark:bg-purple-900 dark:text-purple-300 border-purple-400", Z.badgeType])
|
|
54536
|
-
}, dt(this.row[this.field]), 3)) :
|
|
54537
|
-
Z.hasLabelColor == "Pink" ? (ue(),
|
|
54550
|
+
}, dt(this.row[this.field]), 3)) : qe("", !0),
|
|
54551
|
+
Z.hasLabelColor == "Pink" ? (ue(), de("span", {
|
|
54538
54552
|
key: 7,
|
|
54539
54553
|
class: zt(["bg-pink-100 text-pink-800 font-medium me-2 px-2.5 py-0.5 dark:bg-pink-900 dark:text-pink-300 border-pink-400", Z.badgeType])
|
|
54540
|
-
}, dt(this.row[this.field]), 3)) :
|
|
54554
|
+
}, dt(this.row[this.field]), 3)) : qe("", !0)
|
|
54541
54555
|
]);
|
|
54542
54556
|
}
|
|
54543
54557
|
const hie = /* @__PURE__ */ zr(Fae, [["render", Vae]]), zae = {
|
|
@@ -54594,27 +54608,27 @@ const hie = /* @__PURE__ */ zr(Fae, [["render", Vae]]), zae = {
|
|
|
54594
54608
|
/* @__PURE__ */ R("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
54595
54609
|
], -1);
|
|
54596
54610
|
function ele(A, oe, G, _e, ne, Z) {
|
|
54597
|
-
return ue(),
|
|
54598
|
-
Z.hasLabelColor == "green" ? (ue(),
|
|
54611
|
+
return ue(), de("div", Uae, [
|
|
54612
|
+
Z.hasLabelColor == "green" ? (ue(), de("span", Wae, [
|
|
54599
54613
|
Zae,
|
|
54600
54614
|
Zn(" " + dt(Z.getLabel), 1)
|
|
54601
|
-
])) :
|
|
54602
|
-
Z.hasLabelColor == "red" ? (ue(),
|
|
54615
|
+
])) : qe("", !0),
|
|
54616
|
+
Z.hasLabelColor == "red" ? (ue(), de("span", jae, [
|
|
54603
54617
|
Gae,
|
|
54604
54618
|
Zn(" " + dt(Z.getLabel), 1)
|
|
54605
|
-
])) :
|
|
54606
|
-
Z.hasLabelColor == "yellow" ? (ue(),
|
|
54619
|
+
])) : qe("", !0),
|
|
54620
|
+
Z.hasLabelColor == "yellow" ? (ue(), de("span", qae, [
|
|
54607
54621
|
Kae,
|
|
54608
54622
|
Zn(" " + dt(Z.getLabel), 1)
|
|
54609
|
-
])) :
|
|
54610
|
-
Z.hasLabelColor == "default" ? (ue(),
|
|
54623
|
+
])) : qe("", !0),
|
|
54624
|
+
Z.hasLabelColor == "default" ? (ue(), de("span", Yae, [
|
|
54611
54625
|
Xae,
|
|
54612
54626
|
Zn(" " + dt(Z.getLabel), 1)
|
|
54613
|
-
])) :
|
|
54614
|
-
Z.hasLabelColor == "animate" ? (ue(),
|
|
54627
|
+
])) : qe("", !0),
|
|
54628
|
+
Z.hasLabelColor == "animate" ? (ue(), de("span", Jae, [
|
|
54615
54629
|
Qae,
|
|
54616
54630
|
Zn(" " + dt(Z.getLabel), 1)
|
|
54617
|
-
])) :
|
|
54631
|
+
])) : qe("", !0)
|
|
54618
54632
|
]);
|
|
54619
54633
|
}
|
|
54620
54634
|
const pie = /* @__PURE__ */ zr(zae, [["render", ele]]), tle = {
|
|
@@ -54631,7 +54645,7 @@ const pie = /* @__PURE__ */ zr(zae, [["render", ele]]), tle = {
|
|
|
54631
54645
|
}
|
|
54632
54646
|
}, nle = { class: "w-full" };
|
|
54633
54647
|
function ole(A, oe, G, _e, ne, Z) {
|
|
54634
|
-
return ue(),
|
|
54648
|
+
return ue(), de("div", nle, dt(Z.formattedDate), 1);
|
|
54635
54649
|
}
|
|
54636
54650
|
const bie = /* @__PURE__ */ zr(tle, [["render", ole]]), sle = {
|
|
54637
54651
|
props: ["field", "row", "tdProps"],
|
|
@@ -54645,7 +54659,7 @@ const bie = /* @__PURE__ */ zr(tle, [["render", ole]]), sle = {
|
|
|
54645
54659
|
}
|
|
54646
54660
|
}, rle = { class: "w-full" };
|
|
54647
54661
|
function ale(A, oe, G, _e, ne, Z) {
|
|
54648
|
-
return ue(),
|
|
54662
|
+
return ue(), de("div", rle, dt(Z.formattedDate), 1);
|
|
54649
54663
|
}
|
|
54650
54664
|
const vie = /* @__PURE__ */ zr(sle, [["render", ale]]), lle = {
|
|
54651
54665
|
props: ["field", "row", "tdProps"]
|
|
@@ -54663,19 +54677,19 @@ const vie = /* @__PURE__ */ zr(sle, [["render", ale]]), lle = {
|
|
|
54663
54677
|
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"
|
|
54664
54678
|
}, gle = /* @__PURE__ */ R("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1);
|
|
54665
54679
|
function hle(A, oe, G, _e, ne, Z) {
|
|
54666
|
-
return ue(),
|
|
54667
|
-
G.row[G.field] === 0 ? (ue(),
|
|
54680
|
+
return ue(), de("div", cle, [
|
|
54681
|
+
G.row[G.field] === 0 ? (ue(), de("span", ile, [
|
|
54668
54682
|
ule,
|
|
54669
54683
|
Zn(" Provisioning")
|
|
54670
|
-
])) :
|
|
54671
|
-
G.row[G.field] === 2 ? (ue(),
|
|
54684
|
+
])) : qe("", !0),
|
|
54685
|
+
G.row[G.field] === 2 ? (ue(), de("span", dle, [
|
|
54672
54686
|
mle,
|
|
54673
54687
|
Zn(" Paused ")
|
|
54674
|
-
])) :
|
|
54675
|
-
G.row[G.field] === 1 ? (ue(),
|
|
54688
|
+
])) : qe("", !0),
|
|
54689
|
+
G.row[G.field] === 1 ? (ue(), de("span", fle, [
|
|
54676
54690
|
gle,
|
|
54677
54691
|
Zn(" Active ")
|
|
54678
|
-
])) :
|
|
54692
|
+
])) : qe("", !0)
|
|
54679
54693
|
]);
|
|
54680
54694
|
}
|
|
54681
54695
|
const yie = /* @__PURE__ */ zr(lle, [["render", hle]]), ple = {
|
|
@@ -54685,10 +54699,10 @@ const yie = /* @__PURE__ */ zr(lle, [["render", hle]]), ple = {
|
|
|
54685
54699
|
class: "text-nowrap w-full"
|
|
54686
54700
|
}, vle = { 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" };
|
|
54687
54701
|
function yle(A, oe, G, _e, ne, Z) {
|
|
54688
|
-
return G.row[G.field] ? (ue(),
|
|
54702
|
+
return G.row[G.field] ? (ue(), de("div", ble, [
|
|
54689
54703
|
R("pre", vle, " " + dt(G.row[G.field]) + `
|
|
54690
54704
|
`, 1)
|
|
54691
|
-
])) :
|
|
54705
|
+
])) : qe("", !0);
|
|
54692
54706
|
}
|
|
54693
54707
|
const wie = /* @__PURE__ */ zr(ple, [["render", yle]]), wle = {
|
|
54694
54708
|
components: {
|
|
@@ -54717,7 +54731,7 @@ const wie = /* @__PURE__ */ zr(ple, [["render", yle]]), wle = {
|
|
|
54717
54731
|
}, "", -1), kle = { 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" }, Tle = { class: "px-4 pt-5 pb-4 sm:p-6 sm:pb-4" }, Ele = { class: "sm:flex sm:items-start" }, Ale = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, Dle = { class: "text-lg font-medium leading-6" }, Ole = { class: "mt-2" }, Rle = { class: "border-t border-gray-200 rounded-b dark:border-gray-600 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse gap-2" };
|
|
54718
54732
|
function $le(A, oe, G, _e, ne, Z) {
|
|
54719
54733
|
const xe = Rd("gl-button");
|
|
54720
|
-
return G.isOpen ? (ue(),
|
|
54734
|
+
return G.isOpen ? (ue(), de("div", xle, [
|
|
54721
54735
|
R("div", Cle, [
|
|
54722
54736
|
_le,
|
|
54723
54737
|
Sle,
|
|
@@ -54756,7 +54770,7 @@ function $le(A, oe, G, _e, ne, Z) {
|
|
|
54756
54770
|
])
|
|
54757
54771
|
])
|
|
54758
54772
|
])
|
|
54759
|
-
])) :
|
|
54773
|
+
])) : qe("", !0);
|
|
54760
54774
|
}
|
|
54761
54775
|
const xie = /* @__PURE__ */ zr(wle, [["render", $le]]), Mle = { class: "w-full" }, Ple = { class: "mb-2 flex justify-between items-center" }, Ble = { class: "text-sm font-medium text-gray-900 dark:text-white" }, Nle = { class: "relative bg-gray-50 rounded-lg dark:bg-gray-700 p-4 h-auto" }, Ile = { class: "overflow-auto max-h-32" }, Lle = { class: "text-sm text-gray-500 dark:text-gray-400" }, Fle = { class: "absolute top-2 end-2 bg-gray-50 dark:bg-gray-700" }, Hle = {
|
|
54762
54776
|
key: 0,
|
|
@@ -54818,7 +54832,7 @@ const xie = /* @__PURE__ */ zr(wle, [["render", $le]]), Mle = { class: "w-full"
|
|
|
54818
54832
|
console.error("Error copying to clipboard: ", xe);
|
|
54819
54833
|
});
|
|
54820
54834
|
}, ne = bu(() => oe.code);
|
|
54821
|
-
return (Z, xe) => (ue(),
|
|
54835
|
+
return (Z, xe) => (ue(), de("div", Mle, [
|
|
54822
54836
|
R("div", Ple, [
|
|
54823
54837
|
R("p", Ble, dt(A.label_name), 1)
|
|
54824
54838
|
]),
|
|
@@ -54831,8 +54845,8 @@ const xie = /* @__PURE__ */ zr(wle, [["render", $le]]), Mle = { class: "w-full"
|
|
|
54831
54845
|
onClick: xe[0] || (xe[0] = (K) => _e(ne.value)),
|
|
54832
54846
|
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"
|
|
54833
54847
|
}, [
|
|
54834
|
-
G.value ?
|
|
54835
|
-
G.value ? (ue(),
|
|
54848
|
+
G.value ? qe("", !0) : (ue(), de("span", Hle, Ule)),
|
|
54849
|
+
G.value ? (ue(), de("span", Wle, Gle)) : qe("", !0)
|
|
54836
54850
|
])
|
|
54837
54851
|
])
|
|
54838
54852
|
]),
|
|
@@ -54898,7 +54912,7 @@ const xie = /* @__PURE__ */ zr(wle, [["render", $le]]), Mle = { class: "w-full"
|
|
|
54898
54912
|
console.error("Error copying to clipboard: ", xe);
|
|
54899
54913
|
});
|
|
54900
54914
|
}, ne = bu(() => oe.code);
|
|
54901
|
-
return (Z, xe) => (ue(),
|
|
54915
|
+
return (Z, xe) => (ue(), de("div", Kle, [
|
|
54902
54916
|
R("div", Yle, [
|
|
54903
54917
|
R("label", Xle, dt(A.label_name), 1)
|
|
54904
54918
|
]),
|
|
@@ -54920,8 +54934,8 @@ const xie = /* @__PURE__ */ zr(wle, [["render", $le]]), Mle = { class: "w-full"
|
|
|
54920
54934
|
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",
|
|
54921
54935
|
type: "button"
|
|
54922
54936
|
}, [
|
|
54923
|
-
G.value ?
|
|
54924
|
-
G.value ? (ue(),
|
|
54937
|
+
G.value ? qe("", !0) : (ue(), de("span", nce, sce)),
|
|
54938
|
+
G.value ? (ue(), de("span", rce, lce)) : qe("", !0)
|
|
54925
54939
|
])
|
|
54926
54940
|
]),
|
|
54927
54941
|
R("p", cce, dt(A.description), 1)
|
|
@@ -54948,19 +54962,19 @@ const xie = /* @__PURE__ */ zr(wle, [["render", $le]]), Mle = { class: "w-full"
|
|
|
54948
54962
|
}
|
|
54949
54963
|
},
|
|
54950
54964
|
setup(A) {
|
|
54951
|
-
return (oe, G) => (ue(),
|
|
54952
|
-
A.status === 0 ? (ue(),
|
|
54965
|
+
return (oe, G) => (ue(), de("div", ice, [
|
|
54966
|
+
A.status === 0 ? (ue(), de("span", uce, [
|
|
54953
54967
|
dce,
|
|
54954
54968
|
Zn(" Running")
|
|
54955
|
-
])) :
|
|
54956
|
-
A.status === 1 ? (ue(),
|
|
54969
|
+
])) : qe("", !0),
|
|
54970
|
+
A.status === 1 ? (ue(), de("span", mce, [
|
|
54957
54971
|
fce,
|
|
54958
54972
|
Zn(" Success ")
|
|
54959
|
-
])) :
|
|
54960
|
-
A.status === 2 ? (ue(),
|
|
54973
|
+
])) : qe("", !0),
|
|
54974
|
+
A.status === 2 ? (ue(), de("span", gce, [
|
|
54961
54975
|
hce,
|
|
54962
54976
|
Zn(" Failed ")
|
|
54963
|
-
])) :
|
|
54977
|
+
])) : qe("", !0)
|
|
54964
54978
|
]));
|
|
54965
54979
|
}
|
|
54966
54980
|
}, pce = { class: "flex flex-wrap gap-2 text-nowrap" }, bce = {
|
|
@@ -55000,24 +55014,24 @@ const xie = /* @__PURE__ */ zr(wle, [["render", $le]]), Mle = { class: "w-full"
|
|
|
55000
55014
|
const G = oe, _e = () => {
|
|
55001
55015
|
G("reconnect");
|
|
55002
55016
|
};
|
|
55003
|
-
return (ne, Z) => (ue(),
|
|
55004
|
-
A.status === 0 ? (ue(),
|
|
55017
|
+
return (ne, Z) => (ue(), de("div", pce, [
|
|
55018
|
+
A.status === 0 ? (ue(), de("span", bce, [
|
|
55005
55019
|
vce,
|
|
55006
55020
|
Zn(" Connecting")
|
|
55007
|
-
])) :
|
|
55008
|
-
A.status === 1 ? (ue(),
|
|
55021
|
+
])) : qe("", !0),
|
|
55022
|
+
A.status === 1 ? (ue(), de("span", yce, [
|
|
55009
55023
|
wce,
|
|
55010
55024
|
Zn(" Connected ")
|
|
55011
|
-
])) :
|
|
55012
|
-
A.status === 2 ? (ue(),
|
|
55025
|
+
])) : qe("", !0),
|
|
55026
|
+
A.status === 2 ? (ue(), de("span", xce, [
|
|
55013
55027
|
Cce,
|
|
55014
55028
|
Zn(" Disconnected ")
|
|
55015
|
-
])) :
|
|
55029
|
+
])) : qe("", !0),
|
|
55016
55030
|
R("button", {
|
|
55017
55031
|
onClick: _e,
|
|
55018
55032
|
class: "ml-1"
|
|
55019
55033
|
}, [
|
|
55020
|
-
(ue(),
|
|
55034
|
+
(ue(), de("svg", _ce, kce))
|
|
55021
55035
|
])
|
|
55022
55036
|
]));
|
|
55023
55037
|
}
|