golden-logic-ui 1.0.399 → 1.0.400
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 +158 -158
- package/dist/golden-logic-ui.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as pe, createElementBlock as ye, createElementVNode as M, createCommentVNode as ct, createStaticVNode as Dq, reactive as Oq, resolveComponent as kg, Fragment as Jn, createVNode as wf, normalizeClass as
|
|
1
|
+
import { openBlock as pe, createElementBlock as ye, createElementVNode as M, createCommentVNode as ct, createStaticVNode as Dq, reactive as Oq, resolveComponent as kg, Fragment as Jn, createVNode as wf, normalizeClass as nn, toDisplayString as mt, withModifiers as oc, withDirectives as Va, vModelText as wm, renderList as rr, normalizeStyle as Oj, computed as hu, renderSlot as Dd, ref as vo, onMounted as Eg, onBeforeUnmount as WN, watch as Tg, createTextVNode as ao, vShow as TT, nextTick as Rj, createBlock as Ad, resolveDynamicComponent as ET, mergeProps as rO, withCtx as Ay, vModelDynamic as JG, useSlots as Rq, provide as QG, inject as eq, pushScopeId as $q, popScopeId as Mq, vModelCheckbox as tq, toHandlers as Aj, onUnmounted as Pq, TransitionGroup as Bq, unref as Nq, resolveDirective as nq, markRaw as Iq } from "vue";
|
|
2
2
|
const qr = (D, ie) => {
|
|
3
3
|
const Q = D.__vccOpts || D;
|
|
4
4
|
for (const [_e, re] of ie)
|
|
@@ -262,13 +262,13 @@ function _K(D, ie, Q, _e, re, j) {
|
|
|
262
262
|
onCancelDelete: j.closeDeleteModal
|
|
263
263
|
}, null, 8, ["isOpen", "onConfirmDelete", "onCancelDelete"]),
|
|
264
264
|
M("div", {
|
|
265
|
-
class:
|
|
265
|
+
class: nn([{
|
|
266
266
|
"border-red-500 dark:border-red-500": re.error_message_data !== "",
|
|
267
267
|
"border-gray-200 dark:border-gray-700": re.error_message_data == ""
|
|
268
268
|
}, "w-full p-4 bg-white border rounded-lg shadow dark:bg-gray-800"])
|
|
269
269
|
}, [
|
|
270
270
|
M("label", {
|
|
271
|
-
class:
|
|
271
|
+
class: nn({
|
|
272
272
|
"gl-label-form": re.error_message_data == "",
|
|
273
273
|
"gl-label-form-invalid": re.error_message_data !== "",
|
|
274
274
|
required: Q.is_required
|
|
@@ -399,7 +399,7 @@ function DK(D, ie, Q, _e, re, j) {
|
|
|
399
399
|
}, null, 8, EK),
|
|
400
400
|
M("label", {
|
|
401
401
|
for: Ae + "_" + Q.field_name,
|
|
402
|
-
class:
|
|
402
|
+
class: nn([{
|
|
403
403
|
"border md:!rounded-s-lg": ee === 0,
|
|
404
404
|
"border md:!rounded-e-lg": ee === re.locals.length - 1,
|
|
405
405
|
"border-t border-b": ee !== 0 && ee !== re.locals.length - 1
|
|
@@ -423,7 +423,7 @@ const Qae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
423
423
|
setup(D) {
|
|
424
424
|
const ie = D, Q = hu(() => ie.class), _e = hu(() => ie.body_class);
|
|
425
425
|
return (re, j) => (pe(), ye("div", {
|
|
426
|
-
class:
|
|
426
|
+
class: nn(["flex flex-col gap-9", Q.value])
|
|
427
427
|
}, [
|
|
428
428
|
M("div", OK, [
|
|
429
429
|
M("div", RK, [
|
|
@@ -433,7 +433,7 @@ const Qae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
433
433
|
]),
|
|
434
434
|
re.$slots.body ? (pe(), ye("div", {
|
|
435
435
|
key: 0,
|
|
436
|
-
class:
|
|
436
|
+
class: nn(["p-6", _e.value])
|
|
437
437
|
}, [
|
|
438
438
|
Dd(re.$slots, "body")
|
|
439
439
|
], 2)) : ct("", !0)
|
|
@@ -682,7 +682,7 @@ const Qae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
682
682
|
), (Ht, Ct) => (pe(), ye(Jn, null, [
|
|
683
683
|
D.show ? (pe(), ye("div", {
|
|
684
684
|
key: 0,
|
|
685
|
-
class:
|
|
685
|
+
class: nn(D.field_name)
|
|
686
686
|
}, [
|
|
687
687
|
M("h3", MK, mt(D.label_name), 1),
|
|
688
688
|
M("p", PK, [
|
|
@@ -692,7 +692,7 @@ const Qae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
692
692
|
], 2)) : ct("", !0),
|
|
693
693
|
D.show ? ct("", !0) : (pe(), ye("div", {
|
|
694
694
|
key: 1,
|
|
695
|
-
class:
|
|
695
|
+
class: nn(D.field_name)
|
|
696
696
|
}, [
|
|
697
697
|
(pe(!0), ye(Jn, null, rr(ee.value, (Pe, to) => (pe(), ye("input", {
|
|
698
698
|
type: "hidden",
|
|
@@ -702,7 +702,7 @@ const Qae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
702
702
|
}, null, 8, IK))), 128)),
|
|
703
703
|
D.options ? (pe(), ye("div", LK, [
|
|
704
704
|
M("label", {
|
|
705
|
-
class:
|
|
705
|
+
class: nn({
|
|
706
706
|
"gl-label-form": D.error_message == "",
|
|
707
707
|
"gl-label-form-invalid": D.error_message !== "",
|
|
708
708
|
required: D.is_required
|
|
@@ -746,7 +746,7 @@ const Qae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
746
746
|
]),
|
|
747
747
|
M("i", {
|
|
748
748
|
onClick: Ct[1] || (Ct[1] = (Pe) => uo()),
|
|
749
|
-
class:
|
|
749
|
+
class: nn([it.value ? "fa-angle-up" : "fa-angle-down", "absolute text-xl text-gray-500 cursor-pointer fas right-2 hover:text-gray-700 dark:hover:text-gray-800 showOptions"]),
|
|
750
750
|
style: { top: "11px" }
|
|
751
751
|
}, null, 2),
|
|
752
752
|
Va(M("div", {
|
|
@@ -774,7 +774,7 @@ const Qae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
774
774
|
]),
|
|
775
775
|
M("div", qK, [
|
|
776
776
|
(pe(!0), ye(Jn, null, rr(er.value, (Pe, to) => (pe(), ye("div", {
|
|
777
|
-
class:
|
|
777
|
+
class: nn([
|
|
778
778
|
"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",
|
|
779
779
|
to + 1 == Me.value || no(Pe.id) ? "bg-gray-100 dark:bg-gray-600" : ""
|
|
780
780
|
]),
|
|
@@ -880,7 +880,7 @@ function JK(D, ie, Q, _e, re, j) {
|
|
|
880
880
|
return Q.is_loading ? (pe(), Ad(ET("button"), {
|
|
881
881
|
key: 1,
|
|
882
882
|
disabled: "",
|
|
883
|
-
class:
|
|
883
|
+
class: nn(` h-[2.5rem] flex items-center gap-2 focus:outline-none text-sm px-2 py-2 font-medium ${Q.has_border_reduced ? "rounded-lg" : ""} ${j.buttonTypeClass} ${Q.classes}`)
|
|
884
884
|
}, {
|
|
885
885
|
default: Ay(() => [
|
|
886
886
|
XK,
|
|
@@ -898,7 +898,7 @@ function JK(D, ie, Q, _e, re, j) {
|
|
|
898
898
|
default: Ay(() => [
|
|
899
899
|
Q.icon ? (pe(), ye("i", {
|
|
900
900
|
key: 0,
|
|
901
|
-
class:
|
|
901
|
+
class: nn([Q.icon, "text-base"])
|
|
902
902
|
}, null, 2)) : ct("", !0),
|
|
903
903
|
Dd(D.$slots, "default")
|
|
904
904
|
]),
|
|
@@ -973,7 +973,7 @@ const QK = /* @__PURE__ */ qr(YK, [["render", JK]]), eY = { class: "font-bold pt
|
|
|
973
973
|
}), ie({ focus: () => j.value.focus() }), (Me, it) => (pe(), ye(Jn, null, [
|
|
974
974
|
D.show ? (pe(), ye("div", {
|
|
975
975
|
key: 0,
|
|
976
|
-
class:
|
|
976
|
+
class: nn(D.field_name)
|
|
977
977
|
}, [
|
|
978
978
|
M("h3", eY, mt(D.label_name), 1),
|
|
979
979
|
Va(M("input", {
|
|
@@ -995,10 +995,10 @@ const QK = /* @__PURE__ */ qr(YK, [["render", JK]]), eY = { class: "font-bold pt
|
|
|
995
995
|
], 2)) : ct("", !0),
|
|
996
996
|
D.show ? ct("", !0) : (pe(), ye("div", {
|
|
997
997
|
key: 1,
|
|
998
|
-
class:
|
|
998
|
+
class: nn(["mb-4", D.field_name])
|
|
999
999
|
}, [
|
|
1000
1000
|
M("label", {
|
|
1001
|
-
class:
|
|
1001
|
+
class: nn({
|
|
1002
1002
|
"gl-label-translation-form": D.error_message == "",
|
|
1003
1003
|
"gl-label-translation-form-invalid": D.error_message !== "",
|
|
1004
1004
|
required: D.is_required
|
|
@@ -1020,7 +1020,7 @@ const QK = /* @__PURE__ */ qr(YK, [["render", JK]]), eY = { class: "font-bold pt
|
|
|
1020
1020
|
required: D.is_required,
|
|
1021
1021
|
name: D.field_name,
|
|
1022
1022
|
id: D.field_name,
|
|
1023
|
-
class:
|
|
1023
|
+
class: nn({
|
|
1024
1024
|
" gl-textarea-form form-input-translation mt-4 ": D.error_message == "",
|
|
1025
1025
|
" gl-textarea-form-invalid form-input-translation mt-4 ": D.error_message !== ""
|
|
1026
1026
|
}),
|
|
@@ -1117,7 +1117,7 @@ const QK = /* @__PURE__ */ qr(YK, [["render", JK]]), eY = { class: "font-bold pt
|
|
|
1117
1117
|
}), ie({ focus: () => j.value.focus() }), (Me, it) => (pe(), ye(Jn, null, [
|
|
1118
1118
|
D.show ? (pe(), ye("div", {
|
|
1119
1119
|
key: 0,
|
|
1120
|
-
class:
|
|
1120
|
+
class: nn(D.field_name)
|
|
1121
1121
|
}, [
|
|
1122
1122
|
M("h3", uY, mt(D.label_name), 1),
|
|
1123
1123
|
Va(M("input", {
|
|
@@ -1139,10 +1139,10 @@ const QK = /* @__PURE__ */ qr(YK, [["render", JK]]), eY = { class: "font-bold pt
|
|
|
1139
1139
|
], 2)) : ct("", !0),
|
|
1140
1140
|
D.show ? ct("", !0) : (pe(), ye("div", {
|
|
1141
1141
|
key: 1,
|
|
1142
|
-
class:
|
|
1142
|
+
class: nn(["mb-4", D.field_name])
|
|
1143
1143
|
}, [
|
|
1144
1144
|
M("label", {
|
|
1145
|
-
class:
|
|
1145
|
+
class: nn({
|
|
1146
1146
|
"gl-label-translation-form": D.error_message == "",
|
|
1147
1147
|
"gl-label-translation-form-invalid": D.error_message !== "",
|
|
1148
1148
|
required: D.is_required
|
|
@@ -1163,7 +1163,7 @@ const QK = /* @__PURE__ */ qr(YK, [["render", JK]]), eY = { class: "font-bold pt
|
|
|
1163
1163
|
M("textarea", {
|
|
1164
1164
|
name: D.field_name,
|
|
1165
1165
|
id: D.field_name,
|
|
1166
|
-
class:
|
|
1166
|
+
class: nn(["tiny", {
|
|
1167
1167
|
" gl-textarea-form form-input-translation mt-4 ": D.error_message == "",
|
|
1168
1168
|
" gl-textarea-form-invalid form-input-translation mt-4 ": D.error_message !== ""
|
|
1169
1169
|
}]),
|
|
@@ -1238,7 +1238,7 @@ const QK = /* @__PURE__ */ qr(YK, [["render", JK]]), eY = { class: "font-bold pt
|
|
|
1238
1238
|
}), ie({ focus: () => j.value.focus() }), (Me, it) => (pe(), ye(Jn, null, [
|
|
1239
1239
|
D.show ? (pe(), ye("div", {
|
|
1240
1240
|
key: 0,
|
|
1241
|
-
class:
|
|
1241
|
+
class: nn(D.field_name)
|
|
1242
1242
|
}, [
|
|
1243
1243
|
M("h3", wY, mt(D.label_name), 1),
|
|
1244
1244
|
Va(M("input", {
|
|
@@ -1259,10 +1259,10 @@ const QK = /* @__PURE__ */ qr(YK, [["render", JK]]), eY = { class: "font-bold pt
|
|
|
1259
1259
|
], 2)) : ct("", !0),
|
|
1260
1260
|
D.show ? ct("", !0) : (pe(), ye("div", {
|
|
1261
1261
|
key: 1,
|
|
1262
|
-
class:
|
|
1262
|
+
class: nn(["mb-4", D.field_name])
|
|
1263
1263
|
}, [
|
|
1264
1264
|
M("label", {
|
|
1265
|
-
class:
|
|
1265
|
+
class: nn({
|
|
1266
1266
|
"gl-label-translation-form": D.error_message == "",
|
|
1267
1267
|
"gl-label-translation-form-invalid": D.error_message !== "",
|
|
1268
1268
|
required: D.is_required
|
|
@@ -1284,7 +1284,7 @@ const QK = /* @__PURE__ */ qr(YK, [["render", JK]]), eY = { class: "font-bold pt
|
|
|
1284
1284
|
required: D.is_required,
|
|
1285
1285
|
name: D.field_name,
|
|
1286
1286
|
id: D.field_name,
|
|
1287
|
-
class:
|
|
1287
|
+
class: nn({
|
|
1288
1288
|
" gl-input-form form-input-translation mt-2 ": D.error_message == "",
|
|
1289
1289
|
" gl-input-form-invalid form-input-translation mt-2 ": D.error_message !== ""
|
|
1290
1290
|
}),
|
|
@@ -1356,7 +1356,7 @@ const QK = /* @__PURE__ */ qr(YK, [["render", JK]]), eY = { class: "font-bold pt
|
|
|
1356
1356
|
return ie({ focus: () => j.value.focus() }), (ee, Me) => (pe(), ye(Jn, null, [
|
|
1357
1357
|
D.show ? (pe(), ye("div", {
|
|
1358
1358
|
key: 0,
|
|
1359
|
-
class:
|
|
1359
|
+
class: nn(D.field_name)
|
|
1360
1360
|
}, [
|
|
1361
1361
|
M("h3", OY, mt(D.label_name), 1),
|
|
1362
1362
|
M("p", RY, mt(D.type == "password" ? D.modelValue.replace(/./g, "*") : D.modelValue), 1),
|
|
@@ -1364,11 +1364,11 @@ const QK = /* @__PURE__ */ qr(YK, [["render", JK]]), eY = { class: "font-bold pt
|
|
|
1364
1364
|
], 2)) : ct("", !0),
|
|
1365
1365
|
D.show ? ct("", !0) : (pe(), ye("div", {
|
|
1366
1366
|
key: 1,
|
|
1367
|
-
class:
|
|
1367
|
+
class: nn(D.field_name)
|
|
1368
1368
|
}, [
|
|
1369
1369
|
D.label_name ? (pe(), ye("label", {
|
|
1370
1370
|
key: 0,
|
|
1371
|
-
class:
|
|
1371
|
+
class: nn({
|
|
1372
1372
|
"gl-label-form": D.error_message == "",
|
|
1373
1373
|
"gl-label-form-invalid": D.error_message !== "",
|
|
1374
1374
|
required: D.is_required
|
|
@@ -1379,7 +1379,7 @@ const QK = /* @__PURE__ */ qr(YK, [["render", JK]]), eY = { class: "font-bold pt
|
|
|
1379
1379
|
required: D.is_required,
|
|
1380
1380
|
name: D.field_name,
|
|
1381
1381
|
id: D.field_name,
|
|
1382
|
-
class:
|
|
1382
|
+
class: nn({
|
|
1383
1383
|
"gl-input-form": D.error_message == "",
|
|
1384
1384
|
"gl-input-form-invalid": D.error_message !== ""
|
|
1385
1385
|
}),
|
|
@@ -1462,7 +1462,7 @@ const QK = /* @__PURE__ */ qr(YK, [["render", JK]]), eY = { class: "font-bold pt
|
|
|
1462
1462
|
return ie({ focus: () => j.value.focus() }), (ee, Me) => (pe(), ye(Jn, null, [
|
|
1463
1463
|
D.show ? (pe(), ye("div", {
|
|
1464
1464
|
key: 0,
|
|
1465
|
-
class:
|
|
1465
|
+
class: nn(D.field_name)
|
|
1466
1466
|
}, [
|
|
1467
1467
|
M("h3", LY, mt(D.label_name), 1),
|
|
1468
1468
|
M("p", FY, mt(D.type == "password" ? D.modelValue.replace(/./g, "*") : D.modelValue), 1),
|
|
@@ -1470,11 +1470,11 @@ const QK = /* @__PURE__ */ qr(YK, [["render", JK]]), eY = { class: "font-bold pt
|
|
|
1470
1470
|
], 2)) : ct("", !0),
|
|
1471
1471
|
D.show ? ct("", !0) : (pe(), ye("div", {
|
|
1472
1472
|
key: 1,
|
|
1473
|
-
class:
|
|
1473
|
+
class: nn(D.field_name)
|
|
1474
1474
|
}, [
|
|
1475
1475
|
D.label_name ? (pe(), ye("label", {
|
|
1476
1476
|
key: 0,
|
|
1477
|
-
class:
|
|
1477
|
+
class: nn({
|
|
1478
1478
|
"gl-label-form": D.error_message == "",
|
|
1479
1479
|
"gl-label-form-invalid": D.error_message !== "",
|
|
1480
1480
|
required: D.is_required
|
|
@@ -1487,7 +1487,7 @@ const QK = /* @__PURE__ */ qr(YK, [["render", JK]]), eY = { class: "font-bold pt
|
|
|
1487
1487
|
required: D.is_required,
|
|
1488
1488
|
name: D.field_name,
|
|
1489
1489
|
id: D.field_name,
|
|
1490
|
-
class:
|
|
1490
|
+
class: nn([{
|
|
1491
1491
|
"gl-input-form-text": D.error_message == "",
|
|
1492
1492
|
"gl-input-form-invalid-text": D.error_message !== ""
|
|
1493
1493
|
}, "!border-e-0 !rounded-s-lg"]),
|
|
@@ -1571,7 +1571,7 @@ const QK = /* @__PURE__ */ qr(YK, [["render", JK]]), eY = { class: "font-bold pt
|
|
|
1571
1571
|
return (it, kt) => (pe(), ye(Jn, null, [
|
|
1572
1572
|
D.show ? (pe(), ye("div", {
|
|
1573
1573
|
key: 0,
|
|
1574
|
-
class:
|
|
1574
|
+
class: nn(D.field_name)
|
|
1575
1575
|
}, [
|
|
1576
1576
|
M("h3", qY, mt(D.label_name), 1),
|
|
1577
1577
|
M("p", KY, mt(D.modelValue.start) + " to " + mt(D.modelValue.end), 1),
|
|
@@ -1579,10 +1579,10 @@ const QK = /* @__PURE__ */ qr(YK, [["render", JK]]), eY = { class: "font-bold pt
|
|
|
1579
1579
|
], 2)) : ct("", !0),
|
|
1580
1580
|
D.show ? ct("", !0) : (pe(), ye("div", {
|
|
1581
1581
|
key: 1,
|
|
1582
|
-
class:
|
|
1582
|
+
class: nn(D.field_name)
|
|
1583
1583
|
}, [
|
|
1584
1584
|
M("label", {
|
|
1585
|
-
class:
|
|
1585
|
+
class: nn({
|
|
1586
1586
|
"gl-label-form": D.error_message == "" && re.value == "",
|
|
1587
1587
|
"gl-label-form-invalid": D.error_message !== "" || re.value !== "",
|
|
1588
1588
|
required: D.is_required
|
|
@@ -1594,7 +1594,7 @@ const QK = /* @__PURE__ */ qr(YK, [["render", JK]]), eY = { class: "font-bold pt
|
|
|
1594
1594
|
required: D.is_required,
|
|
1595
1595
|
name: D.field_name + "Start",
|
|
1596
1596
|
id: D.field_name + "Start",
|
|
1597
|
-
class:
|
|
1597
|
+
class: nn({
|
|
1598
1598
|
"gl-input-form": D.error_message == "" && re.value == "",
|
|
1599
1599
|
"gl-input-form-invalid": D.error_message !== "" || re.value !== ""
|
|
1600
1600
|
}),
|
|
@@ -1609,7 +1609,7 @@ const QK = /* @__PURE__ */ qr(YK, [["render", JK]]), eY = { class: "font-bold pt
|
|
|
1609
1609
|
required: D.is_required,
|
|
1610
1610
|
name: D.field_name + "End",
|
|
1611
1611
|
id: D.field_name + "End",
|
|
1612
|
-
class:
|
|
1612
|
+
class: nn({
|
|
1613
1613
|
"gl-input-form": D.error_message == "" && re.value == "",
|
|
1614
1614
|
"gl-input-form-invalid": D.error_message !== "" || re.value !== ""
|
|
1615
1615
|
}),
|
|
@@ -1680,7 +1680,7 @@ const QK = /* @__PURE__ */ qr(YK, [["render", JK]]), eY = { class: "font-bold pt
|
|
|
1680
1680
|
return (j, Ae) => (pe(), ye(Jn, null, [
|
|
1681
1681
|
D.show ? (pe(), ye("div", {
|
|
1682
1682
|
key: 0,
|
|
1683
|
-
class:
|
|
1683
|
+
class: nn(D.field_name)
|
|
1684
1684
|
}, [
|
|
1685
1685
|
M("h3", rX, mt(D.label_name), 1),
|
|
1686
1686
|
M("p", aX, mt(D.type == "password" ? D.modelValue.replace(/./g, "*") : D.modelValue), 1),
|
|
@@ -1688,10 +1688,10 @@ const QK = /* @__PURE__ */ qr(YK, [["render", JK]]), eY = { class: "font-bold pt
|
|
|
1688
1688
|
], 2)) : ct("", !0),
|
|
1689
1689
|
D.show ? ct("", !0) : (pe(), ye("div", {
|
|
1690
1690
|
key: 1,
|
|
1691
|
-
class:
|
|
1691
|
+
class: nn(D.field_name)
|
|
1692
1692
|
}, [
|
|
1693
1693
|
M("label", {
|
|
1694
|
-
class:
|
|
1694
|
+
class: nn({
|
|
1695
1695
|
"gl-label-form": D.error_message == "",
|
|
1696
1696
|
"gl-label-form-invalid": D.error_message !== "",
|
|
1697
1697
|
required: D.is_required
|
|
@@ -1702,7 +1702,7 @@ const QK = /* @__PURE__ */ qr(YK, [["render", JK]]), eY = { class: "font-bold pt
|
|
|
1702
1702
|
required: D.is_required,
|
|
1703
1703
|
name: D.field_name,
|
|
1704
1704
|
id: D.field_name,
|
|
1705
|
-
class:
|
|
1705
|
+
class: nn({
|
|
1706
1706
|
"gl-input-form": D.error_message == "",
|
|
1707
1707
|
"gl-input-form-invalid": D.error_message !== ""
|
|
1708
1708
|
}),
|
|
@@ -1746,10 +1746,10 @@ const QK = /* @__PURE__ */ qr(YK, [["render", JK]]), eY = { class: "font-bold pt
|
|
|
1746
1746
|
class: "flex-auto -mb-px text-center"
|
|
1747
1747
|
}, [
|
|
1748
1748
|
M("a", {
|
|
1749
|
-
class:
|
|
1749
|
+
class: nn([{ "text-slate-600 bg-white dark:bg-meta": j.value != kt.title, "text-white bg-slate-600 dark:bg-primary": j.value === kt.title }, "block px-5 py-3 text-xs font-bold leading-normal rounded shadow-lg hover:text-white tex hover:bg-slate-600 dark:hover:bg-primary dark:text-white tabs_buttons"])
|
|
1750
1750
|
}, [
|
|
1751
1751
|
M("i", {
|
|
1752
|
-
class:
|
|
1752
|
+
class: nn([kt.icon, "mr-1 text-base"])
|
|
1753
1753
|
}, null, 2),
|
|
1754
1754
|
ao(" " + mt(kt.title), 1)
|
|
1755
1755
|
], 2)
|
|
@@ -1881,7 +1881,7 @@ const ile = /* @__PURE__ */ qr(yX, [["render", xX]]), CX = {
|
|
|
1881
1881
|
this.direction_property == "rtl" ? ie.style.marginRight = -this.dotsNavigation[D - 1] + "px" : ie.style.marginLeft = -this.dotsNavigation[D - 1] + "px", this.currentDot = D;
|
|
1882
1882
|
}
|
|
1883
1883
|
}
|
|
1884
|
-
}, xm = (D) => ($q("data-v-
|
|
1884
|
+
}, xm = (D) => ($q("data-v-8ee113e2"), D = D(), Mq(), D), SX = ["id"], _X = {
|
|
1885
1885
|
key: 0,
|
|
1886
1886
|
class: "items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"
|
|
1887
1887
|
}, kX = { class: "w-full" }, TX = {
|
|
@@ -2069,7 +2069,7 @@ const ile = /* @__PURE__ */ qr(yX, [["render", xX]]), CX = {
|
|
|
2069
2069
|
function TJ(D, ie, Q, _e, re, j) {
|
|
2070
2070
|
return pe(), ye("div", null, [
|
|
2071
2071
|
M("div", {
|
|
2072
|
-
class:
|
|
2072
|
+
class: nn(["", !Q.hide_arrow && Q.slider_arrows_indicators_position == "arrows_outside_slide" ? "flex" : "relative block"]),
|
|
2073
2073
|
id: "mainSliderContainer_" + D.Random_string
|
|
2074
2074
|
}, [
|
|
2075
2075
|
D.dotsNum > 0 && !Q.hide_arrow && Q.slider_arrows_indicators_position == "arrows_outside_slider" ? (pe(), ye("div", _X, [
|
|
@@ -2084,16 +2084,16 @@ function TJ(D, ie, Q, _e, re, j) {
|
|
|
2084
2084
|
])
|
|
2085
2085
|
])) : ct("", !0),
|
|
2086
2086
|
M("div", {
|
|
2087
|
-
class:
|
|
2087
|
+
class: nn(["overflow-hidden", j.sliderContainerAction()]),
|
|
2088
2088
|
id: "sliderContainer_" + D.Random_string
|
|
2089
2089
|
}, [
|
|
2090
2090
|
M("ul", {
|
|
2091
|
-
class: "flex gap-7",
|
|
2091
|
+
class: nn(["flex", Q.elements_to_show_prop == 1 ? "" : "gap-7"]),
|
|
2092
2092
|
id: "slider_" + D.Random_string
|
|
2093
2093
|
}, [
|
|
2094
2094
|
D.dotsNum > 0 && !Q.hide_arrow && Q.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (pe(), ye("div", {
|
|
2095
2095
|
key: 0,
|
|
2096
|
-
class:
|
|
2096
|
+
class: nn(["items-center justify-center hidden arrow_button xl:flex xxl:flex md:flex sm:flex", Q.direction_property == "rtl" ? "arrow_button_next" : "arrow_button_prev"])
|
|
2097
2097
|
}, [
|
|
2098
2098
|
M("div", PX, [
|
|
2099
2099
|
M("button", {
|
|
@@ -2108,7 +2108,7 @@ function TJ(D, ie, Q, _e, re, j) {
|
|
|
2108
2108
|
Dd(D.$slots, "default", {}, void 0, !0),
|
|
2109
2109
|
D.dotsNum > 0 && !Q.hide_arrow && Q.slider_arrows_indicators_position == "arrows_indicators_inside_slider" ? (pe(), ye("div", {
|
|
2110
2110
|
key: 1,
|
|
2111
|
-
class:
|
|
2111
|
+
class: nn(["items-center justify-center hidden xl:flex xxl:flex md:flex sm:flex arrow_button", Q.direction_property == "rtl" ? "arrow_button_prev" : "arrow_button_next"])
|
|
2112
2112
|
}, [
|
|
2113
2113
|
M("div", VX, [
|
|
2114
2114
|
M("button", {
|
|
@@ -2120,25 +2120,25 @@ function TJ(D, ie, Q, _e, re, j) {
|
|
|
2120
2120
|
])
|
|
2121
2121
|
])
|
|
2122
2122
|
], 2)) : ct("", !0)
|
|
2123
|
-
],
|
|
2123
|
+
], 10, MX),
|
|
2124
2124
|
Q.slider_arrows_indicators_position != "arrows_indicators_below_slider" ? (pe(), ye("div", {
|
|
2125
2125
|
key: 0,
|
|
2126
|
-
class:
|
|
2126
|
+
class: nn(["flex justify-center mb-1 space-x-1", j.sliderIndicatorsAction()])
|
|
2127
2127
|
}, [
|
|
2128
2128
|
(pe(!0), ye(Jn, null, rr(D.dotsNum, (Ae) => (pe(), ye("button", {
|
|
2129
2129
|
role: "button",
|
|
2130
|
-
class:
|
|
2130
|
+
class: nn(["gl-dot", { active: D.currentDot == Ae }]),
|
|
2131
2131
|
key: Ae,
|
|
2132
2132
|
onClick: (ee) => j.setDot(Ae)
|
|
2133
2133
|
}, YX, 10, qX))), 128))
|
|
2134
2134
|
], 2)) : ct("", !0),
|
|
2135
2135
|
Q.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (pe(), ye("div", XX, [
|
|
2136
2136
|
M("div", {
|
|
2137
|
-
class:
|
|
2137
|
+
class: nn(["flex justify-center mb-1 space-x-1", j.sliderIndicatorsAction()])
|
|
2138
2138
|
}, [
|
|
2139
2139
|
(pe(!0), ye(Jn, null, rr(D.dotsNum, (Ae) => (pe(), ye("button", {
|
|
2140
2140
|
role: "button",
|
|
2141
|
-
class:
|
|
2141
|
+
class: nn(["gl-dot", { active: D.currentDot == Ae }]),
|
|
2142
2142
|
key: Ae,
|
|
2143
2143
|
onClick: (ee) => j.setDot(Ae)
|
|
2144
2144
|
}, eJ, 10, JX))), 128))
|
|
@@ -2147,7 +2147,7 @@ function TJ(D, ie, Q, _e, re, j) {
|
|
|
2147
2147
|
M("div", nJ, [
|
|
2148
2148
|
M("div", oJ, [
|
|
2149
2149
|
M("button", {
|
|
2150
|
-
class:
|
|
2150
|
+
class: nn(["p-3 rounded-full arrow_button_styles", Q.direction_property == "rtl" ? "ml-3" : "mr-3"]),
|
|
2151
2151
|
onClick: ie[3] || (ie[3] = (Ae) => j.prev())
|
|
2152
2152
|
}, [
|
|
2153
2153
|
Q.direction_property == "ltr" ? (pe(), ye("svg", sJ, aJ)) : ct("", !0),
|
|
@@ -2183,7 +2183,7 @@ function TJ(D, ie, Q, _e, re, j) {
|
|
|
2183
2183
|
], 10, SX)
|
|
2184
2184
|
]);
|
|
2185
2185
|
}
|
|
2186
|
-
const ule = /* @__PURE__ */ qr(CX, [["render", TJ], ["__scopeId", "data-v-
|
|
2186
|
+
const ule = /* @__PURE__ */ qr(CX, [["render", TJ], ["__scopeId", "data-v-8ee113e2"]]), EJ = { 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" }, AJ = { class: "flex items-center justify-between flex-shrink-0 pt-10 pb-3 pl-3 pr-3 border-b-2 dark:border-gray-600" }, DJ = { class: "text-xl font-medium leading-normal text-surface dark:text-white" }, OJ = /* @__PURE__ */ M("span", { class: "[&>svg]:h-6 [&>svg]:w-6" }, [
|
|
2187
2187
|
/* @__PURE__ */ M("svg", {
|
|
2188
2188
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2189
2189
|
fill: "currentColor",
|
|
@@ -2240,12 +2240,12 @@ const ule = /* @__PURE__ */ qr(CX, [["render", TJ], ["__scopeId", "data-v-73eb50
|
|
|
2240
2240
|
{ immediate: !0, deep: !0 }
|
|
2241
2241
|
), (ee, Me) => D.is_open ? (pe(), ye("div", {
|
|
2242
2242
|
key: 0,
|
|
2243
|
-
class:
|
|
2243
|
+
class: nn(["fixed left-0 top-13 h-full w-full overflow-y-auto overflow-x-hidden outline-none inset-0 bg-black !bg-opacity-80", D.has_large_z_index ? "z-[9999]" : "z-[1055]"]),
|
|
2244
2244
|
tabindex: "-1",
|
|
2245
2245
|
"aria-hidden": "true"
|
|
2246
2246
|
}, [
|
|
2247
2247
|
M("div", {
|
|
2248
|
-
class:
|
|
2248
|
+
class: nn(["pointer-events-none relative h-[calc(100%-1rem)] w-auto translate-y-[-50px] transition-all duration-300 ease-in-out min-[576px]:mx-auto min-[576px]:mt-7 min-[576px]:h-[calc(100%-3.5rem)]", D.max_width])
|
|
2249
2249
|
}, [
|
|
2250
2250
|
M("div", EJ, [
|
|
2251
2251
|
M("div", AJ, [
|
|
@@ -2258,7 +2258,7 @@ const ule = /* @__PURE__ */ qr(CX, [["render", TJ], ["__scopeId", "data-v-73eb50
|
|
|
2258
2258
|
}, RJ)
|
|
2259
2259
|
]),
|
|
2260
2260
|
M("div", {
|
|
2261
|
-
class:
|
|
2261
|
+
class: nn(["relative overflow-y-auto", D.bodyClass])
|
|
2262
2262
|
}, [
|
|
2263
2263
|
Dd(ee.$slots, "body")
|
|
2264
2264
|
], 2),
|
|
@@ -2330,12 +2330,12 @@ const ule = /* @__PURE__ */ qr(CX, [["render", TJ], ["__scopeId", "data-v-73eb50
|
|
|
2330
2330
|
},
|
|
2331
2331
|
{ immediate: !0, deep: !0 }
|
|
2332
2332
|
), (ee, Me) => Va((pe(), ye("div", {
|
|
2333
|
-
class:
|
|
2333
|
+
class: nn(["fixed left-0 top-13 h-full w-full overflow-y-auto overflow-x-hidden outline-none inset-0 bg-black bg-opacity-80", D.has_large_z_index ? "z-[9999]" : "z-[1055]"]),
|
|
2334
2334
|
tabindex: "-1",
|
|
2335
2335
|
"aria-hidden": "true"
|
|
2336
2336
|
}, [
|
|
2337
2337
|
M("div", {
|
|
2338
|
-
class:
|
|
2338
|
+
class: nn(["pointer-events-none relative h-[calc(100%-1rem)] w-auto translate-y-[-50px] transition-all duration-300 ease-in-out min-[576px]:mx-auto min-[576px]:mt-7 min-[576px]:h-[calc(100%-3.5rem)]", D.max_width])
|
|
2339
2339
|
}, [
|
|
2340
2340
|
M("div", MJ, [
|
|
2341
2341
|
M("div", PJ, [
|
|
@@ -2348,7 +2348,7 @@ const ule = /* @__PURE__ */ qr(CX, [["render", TJ], ["__scopeId", "data-v-73eb50
|
|
|
2348
2348
|
}, IJ)
|
|
2349
2349
|
]),
|
|
2350
2350
|
M("div", {
|
|
2351
|
-
class:
|
|
2351
|
+
class: nn(["relative overflow-y-auto", D.bodyClass])
|
|
2352
2352
|
}, [
|
|
2353
2353
|
Dd(ee.$slots, "body")
|
|
2354
2354
|
], 2),
|
|
@@ -2426,7 +2426,7 @@ const ule = /* @__PURE__ */ qr(CX, [["render", TJ], ["__scopeId", "data-v-73eb50
|
|
|
2426
2426
|
return (Ae, ee) => (pe(), ye(Jn, null, [
|
|
2427
2427
|
D.show ? (pe(), ye("div", {
|
|
2428
2428
|
key: 0,
|
|
2429
|
-
class:
|
|
2429
|
+
class: nn(D.field_name)
|
|
2430
2430
|
}, [
|
|
2431
2431
|
M("div", null, [
|
|
2432
2432
|
M("li", FJ, [
|
|
@@ -2452,7 +2452,7 @@ const ule = /* @__PURE__ */ qr(CX, [["render", TJ], ["__scopeId", "data-v-73eb50
|
|
|
2452
2452
|
], 2)) : ct("", !0),
|
|
2453
2453
|
D.show ? ct("", !0) : (pe(), ye("div", {
|
|
2454
2454
|
key: 1,
|
|
2455
|
-
class:
|
|
2455
|
+
class: nn(D.field_name)
|
|
2456
2456
|
}, [
|
|
2457
2457
|
D.has_label_up ? (pe(), ye("div", WJ, [
|
|
2458
2458
|
M("label", ZJ, mt(D.label_name), 1)
|
|
@@ -2537,7 +2537,7 @@ const ule = /* @__PURE__ */ qr(CX, [["render", TJ], ["__scopeId", "data-v-73eb50
|
|
|
2537
2537
|
return (Ae, ee) => (pe(), ye(Jn, null, [
|
|
2538
2538
|
D.show ? (pe(), ye("div", {
|
|
2539
2539
|
key: 0,
|
|
2540
|
-
class:
|
|
2540
|
+
class: nn(D.field_name)
|
|
2541
2541
|
}, [
|
|
2542
2542
|
M("div", null, [
|
|
2543
2543
|
M("li", JJ, [
|
|
@@ -2561,7 +2561,7 @@ const ule = /* @__PURE__ */ qr(CX, [["render", TJ], ["__scopeId", "data-v-73eb50
|
|
|
2561
2561
|
], 2)) : ct("", !0),
|
|
2562
2562
|
D.show ? ct("", !0) : (pe(), ye("div", {
|
|
2563
2563
|
key: 1,
|
|
2564
|
-
class:
|
|
2564
|
+
class: nn(D.field_name)
|
|
2565
2565
|
}, [
|
|
2566
2566
|
D.has_label_up ? (pe(), ye("div", oQ, [
|
|
2567
2567
|
M("label", sQ, mt(D.label_name), 1)
|
|
@@ -2827,7 +2827,7 @@ const ule = /* @__PURE__ */ qr(CX, [["render", TJ], ["__scopeId", "data-v-73eb50
|
|
|
2827
2827
|
return pe(), ye(Jn, null, [
|
|
2828
2828
|
D.show ? (pe(), ye("div", {
|
|
2829
2829
|
key: 0,
|
|
2830
|
-
class:
|
|
2830
|
+
class: nn(D.field_name)
|
|
2831
2831
|
}, [
|
|
2832
2832
|
M("h3", dQ, mt(D.label_name), 1),
|
|
2833
2833
|
M("p", mQ, [
|
|
@@ -2837,7 +2837,7 @@ const ule = /* @__PURE__ */ qr(CX, [["render", TJ], ["__scopeId", "data-v-73eb50
|
|
|
2837
2837
|
], 2)) : ct("", !0),
|
|
2838
2838
|
D.show ? ct("", !0) : (pe(), ye("div", {
|
|
2839
2839
|
key: 1,
|
|
2840
|
-
class:
|
|
2840
|
+
class: nn(D.field_name)
|
|
2841
2841
|
}, [
|
|
2842
2842
|
M("input", {
|
|
2843
2843
|
type: "hidden",
|
|
@@ -2848,7 +2848,7 @@ const ule = /* @__PURE__ */ qr(CX, [["render", TJ], ["__scopeId", "data-v-73eb50
|
|
|
2848
2848
|
D.options ? (pe(), ye("div", pQ, [
|
|
2849
2849
|
D.label_name ? (pe(), ye("label", {
|
|
2850
2850
|
key: 0,
|
|
2851
|
-
class:
|
|
2851
|
+
class: nn({
|
|
2852
2852
|
"gl-label-form": D.error_message == "",
|
|
2853
2853
|
"gl-label-form-invalid": D.error_message !== "",
|
|
2854
2854
|
required: D.is_required
|
|
@@ -2861,7 +2861,7 @@ const ule = /* @__PURE__ */ qr(CX, [["render", TJ], ["__scopeId", "data-v-73eb50
|
|
|
2861
2861
|
}, [
|
|
2862
2862
|
M("div", bQ, [
|
|
2863
2863
|
M("input", {
|
|
2864
|
-
class:
|
|
2864
|
+
class: nn([{
|
|
2865
2865
|
"gl-input-form": D.error_message == "",
|
|
2866
2866
|
"gl-input-form-invalid": D.error_message !== ""
|
|
2867
2867
|
}, "pl-8 pr-2 showOptions"]),
|
|
@@ -2880,7 +2880,7 @@ const ule = /* @__PURE__ */ qr(CX, [["render", TJ], ["__scopeId", "data-v-73eb50
|
|
|
2880
2880
|
]),
|
|
2881
2881
|
M("i", {
|
|
2882
2882
|
onClick: Cn[2] || (Cn[2] = (nt) => In()),
|
|
2883
|
-
class:
|
|
2883
|
+
class: nn([ee.value ? "fa-angle-up" : "fa-angle-down", "absolute text-xl text-gray-500 cursor-pointer fas right-2 hover:text-gray-700 dark:hover:text-gray-800 showOptions"]),
|
|
2884
2884
|
style: { top: "11px" }
|
|
2885
2885
|
}, null, 2),
|
|
2886
2886
|
Va(M("div", {
|
|
@@ -2912,7 +2912,7 @@ const ule = /* @__PURE__ */ qr(CX, [["render", TJ], ["__scopeId", "data-v-73eb50
|
|
|
2912
2912
|
(pe(!0), ye(Jn, null, rr(eo.value, (nt, Ht) => {
|
|
2913
2913
|
var Ct;
|
|
2914
2914
|
return pe(), ye("div", {
|
|
2915
|
-
class:
|
|
2915
|
+
class: nn([
|
|
2916
2916
|
"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",
|
|
2917
2917
|
Ht + 1 == Ae.value ? "bg-gray-100 dark:bg-gray-600" : ""
|
|
2918
2918
|
]),
|
|
@@ -3003,7 +3003,7 @@ const ule = /* @__PURE__ */ qr(CX, [["render", TJ], ["__scopeId", "data-v-73eb50
|
|
|
3003
3003
|
return ie({ focus: () => j.value.focus() }), (ee, Me) => (pe(), ye(Jn, null, [
|
|
3004
3004
|
D.show ? (pe(), ye("div", {
|
|
3005
3005
|
key: 0,
|
|
3006
|
-
class:
|
|
3006
|
+
class: nn(D.field_name)
|
|
3007
3007
|
}, [
|
|
3008
3008
|
M("h3", NQ, mt(D.label_name), 1),
|
|
3009
3009
|
M("p", {
|
|
@@ -3014,10 +3014,10 @@ const ule = /* @__PURE__ */ qr(CX, [["render", TJ], ["__scopeId", "data-v-73eb50
|
|
|
3014
3014
|
], 2)) : ct("", !0),
|
|
3015
3015
|
D.show ? ct("", !0) : (pe(), ye("div", {
|
|
3016
3016
|
key: 1,
|
|
3017
|
-
class:
|
|
3017
|
+
class: nn(["mb-4", D.field_name])
|
|
3018
3018
|
}, [
|
|
3019
3019
|
M("label", {
|
|
3020
|
-
class:
|
|
3020
|
+
class: nn({
|
|
3021
3021
|
"gl-label-form": D.error_message == "",
|
|
3022
3022
|
"gl-label-form-invalid": D.error_message !== "",
|
|
3023
3023
|
required: D.is_required
|
|
@@ -3028,7 +3028,7 @@ const ule = /* @__PURE__ */ qr(CX, [["render", TJ], ["__scopeId", "data-v-73eb50
|
|
|
3028
3028
|
required: D.is_required,
|
|
3029
3029
|
name: D.field_name,
|
|
3030
3030
|
id: D.field_name,
|
|
3031
|
-
class:
|
|
3031
|
+
class: nn({
|
|
3032
3032
|
" gl-textarea-form mt-4 ": D.error_message == "",
|
|
3033
3033
|
" gl-textarea-form-invalid mt-4 ": D.error_message !== ""
|
|
3034
3034
|
}),
|
|
@@ -4882,7 +4882,7 @@ var oq = { exports: {} };
|
|
|
4882
4882
|
}), e.invalid_elements && ld(cu(e.invalid_elements), (Ln) => {
|
|
4883
4883
|
o[Ln] && delete o[Ln];
|
|
4884
4884
|
}), jn("span") || ot("span[!data-mce-type|*]");
|
|
4885
|
-
const gs = nt(P), Rs = nt(B), Fr = nt(F), $l = nt(oe), us = nt(yt), Tt = nt(st),
|
|
4885
|
+
const gs = nt(P), Rs = nt(B), Fr = nt(F), $l = nt(oe), us = nt(yt), Tt = nt(st), on = nt(Lt), Gn = nt(Object.seal(q)), co = nt(ne), Jt = nt(Se), $n = nt(Ce), xt = nt(J), Mn = nt(We), Oo = nt(Ve), _s = nt(Object.seal(f)), hs = (Ln, Io) => {
|
|
4886
4886
|
const $s = r[Ln.toLowerCase()];
|
|
4887
4887
|
return !!($s && $s[Io.toLowerCase()]);
|
|
4888
4888
|
}, Fa = (Ln, Io) => {
|
|
@@ -4912,7 +4912,7 @@ var oq = { exports: {} };
|
|
|
4912
4912
|
getInvalidStyles: Rs,
|
|
4913
4913
|
getVoidElements: Gn,
|
|
4914
4914
|
getTextBlockElements: Tt,
|
|
4915
|
-
getTextInlineElements:
|
|
4915
|
+
getTextInlineElements: on,
|
|
4916
4916
|
getBoolAttrs: $l,
|
|
4917
4917
|
getElementRule: jn,
|
|
4918
4918
|
getSelfClosingElements: co,
|
|
@@ -5281,7 +5281,7 @@ var oq = { exports: {} };
|
|
|
5281
5281
|
const He = q(Ne);
|
|
5282
5282
|
return In(He) ? [] : He.attributes;
|
|
5283
5283
|
}, Ce = (Ne, He, St) => {
|
|
5284
|
-
|
|
5284
|
+
on(Ne, (ht) => {
|
|
5285
5285
|
if (Gt(ht)) {
|
|
5286
5286
|
const ln = ce.fromDom(ht), io = St === "" ? null : St, sr = ja(ln, He), ii = Ty[He];
|
|
5287
5287
|
ii && ii.set ? ii.set(ln.dom, io, He) : Pb(ln, He, io), sr !== io && n.onSetAttrib && n.onSetAttrib({
|
|
@@ -5300,12 +5300,12 @@ var oq = { exports: {} };
|
|
|
5300
5300
|
h: He.height
|
|
5301
5301
|
};
|
|
5302
5302
|
}, Lt = (Ne, He) => As(e.body, q(Ne), He), We = (Ne, He, St) => {
|
|
5303
|
-
|
|
5303
|
+
on(Ne, (ht) => {
|
|
5304
5304
|
const ln = ce.fromDom(ht);
|
|
5305
5305
|
Bb(ln, He, St), n.update_styles && jy(B, ln);
|
|
5306
5306
|
});
|
|
5307
5307
|
}, Ve = (Ne, He) => {
|
|
5308
|
-
|
|
5308
|
+
on(Ne, (St) => {
|
|
5309
5309
|
const ht = ce.fromDom(St);
|
|
5310
5310
|
bt(He, (ln, io) => {
|
|
5311
5311
|
Bb(ht, io, ln);
|
|
@@ -5377,7 +5377,7 @@ var oq = { exports: {} };
|
|
|
5377
5377
|
var St, ht;
|
|
5378
5378
|
const ln = (ht = (St = q(He)) !== null && St !== void 0 ? St : n.root_element) !== null && ht !== void 0 ? ht : e;
|
|
5379
5379
|
return us(ln) ? wr(ln.querySelectorAll(Ne)) : [];
|
|
5380
|
-
},
|
|
5380
|
+
}, on = function(Ne, He, St) {
|
|
5381
5381
|
const ht = St ?? this;
|
|
5382
5382
|
if (no(Ne)) {
|
|
5383
5383
|
const ln = [];
|
|
@@ -5390,17 +5390,17 @@ var oq = { exports: {} };
|
|
|
5390
5390
|
return ln ? He.call(ht, ln) : !1;
|
|
5391
5391
|
}
|
|
5392
5392
|
}, Gn = (Ne, He) => {
|
|
5393
|
-
|
|
5393
|
+
on(Ne, (St) => {
|
|
5394
5394
|
bt(He, (ht, ln) => {
|
|
5395
5395
|
Ce(St, ln, ht);
|
|
5396
5396
|
});
|
|
5397
5397
|
});
|
|
5398
5398
|
}, co = (Ne, He) => {
|
|
5399
|
-
|
|
5399
|
+
on(Ne, (St) => {
|
|
5400
5400
|
const ht = ce.fromDom(St);
|
|
5401
5401
|
ed(ht, He);
|
|
5402
5402
|
});
|
|
5403
|
-
}, Jt = (Ne, He, St, ht, ln) =>
|
|
5403
|
+
}, Jt = (Ne, He, St, ht, ln) => on(Ne, (io) => {
|
|
5404
5404
|
const sr = fe(He) ? e.createElement(He) : He;
|
|
5405
5405
|
return Ze(St) && Gn(sr, St), ht && (!fe(ht) && ht.nodeType ? sr.appendChild(ht) : fe(ht) && co(sr, ht)), ln ? sr : io.appendChild(sr);
|
|
5406
5406
|
}), $n = (Ne, He, St) => Jt(e.createElement(Ne), Ne, He, St, !0), xt = Bf.decode, Mn = Bf.encodeAllRaw, Oo = (Ne, He, St = "") => {
|
|
@@ -5415,12 +5415,12 @@ var oq = { exports: {} };
|
|
|
5415
5415
|
for (; ht = He.firstChild; )
|
|
5416
5416
|
St.appendChild(ht);
|
|
5417
5417
|
return St.removeChild(He), St;
|
|
5418
|
-
}, hs = (Ne, He) =>
|
|
5418
|
+
}, hs = (Ne, He) => on(Ne, (St) => {
|
|
5419
5419
|
const ht = ce.fromDom(St);
|
|
5420
5420
|
return He && ke(Rr(ht), (ln) => {
|
|
5421
5421
|
ga(ln) && ln.dom.length === 0 ? Eo(ln) : Wr(ht, ln);
|
|
5422
5422
|
}), Eo(ht), ht.dom;
|
|
5423
|
-
}), Fa = (Ne) =>
|
|
5423
|
+
}), Fa = (Ne) => on(Ne, (He) => {
|
|
5424
5424
|
const St = He.attributes;
|
|
5425
5425
|
for (let ht = St.length - 1; ht >= 0; ht--)
|
|
5426
5426
|
He.removeAttributeNode(St.item(ht));
|
|
@@ -5442,7 +5442,7 @@ var oq = { exports: {} };
|
|
|
5442
5442
|
l[He] = !0, y.load(He).catch(Bt);
|
|
5443
5443
|
});
|
|
5444
5444
|
}, Ln = (Ne, He, St) => {
|
|
5445
|
-
|
|
5445
|
+
on(Ne, (ht) => {
|
|
5446
5446
|
if (Gt(ht)) {
|
|
5447
5447
|
const ln = ce.fromDom(ht), io = He.split(" ");
|
|
5448
5448
|
ke(io, (sr) => {
|
|
@@ -5458,9 +5458,9 @@ var oq = { exports: {} };
|
|
|
5458
5458
|
const St = oe(Ne), ht = He.split(" ");
|
|
5459
5459
|
return Ze(St) && tr(ht, (ln) => Qi(St, ln));
|
|
5460
5460
|
}, mr = (Ne) => {
|
|
5461
|
-
|
|
5461
|
+
on(Ne, (He) => Ju(ce.fromDom(He), "display"));
|
|
5462
5462
|
}, Hi = (Ne) => {
|
|
5463
|
-
|
|
5463
|
+
on(Ne, (He) => Wh(ce.fromDom(He), "display", "none"));
|
|
5464
5464
|
}, vf = (Ne) => {
|
|
5465
5465
|
const He = oe(Ne);
|
|
5466
5466
|
return Ze(He) && ls($r(He, "display"), "none");
|
|
@@ -5468,16 +5468,16 @@ var oq = { exports: {} };
|
|
|
5468
5468
|
const He = oe(Ne);
|
|
5469
5469
|
return Ze(He) ? Gt(He.dom) ? He.dom.outerHTML : Vg(He) : "";
|
|
5470
5470
|
}, ab = (Ne, He) => {
|
|
5471
|
-
|
|
5471
|
+
on(Ne, (St) => {
|
|
5472
5472
|
Gt(St) && (St.outerHTML = He);
|
|
5473
5473
|
});
|
|
5474
5474
|
}, Sy = (Ne, He) => {
|
|
5475
5475
|
const St = q(He);
|
|
5476
|
-
return
|
|
5476
|
+
return on(Ne, (ht) => {
|
|
5477
5477
|
const ln = St == null ? void 0 : St.parentNode, io = St == null ? void 0 : St.nextSibling;
|
|
5478
5478
|
return ln && (io ? ln.insertBefore(ht, io) : ln.appendChild(ht)), ht;
|
|
5479
5479
|
});
|
|
5480
|
-
}, _y = (Ne, He, St) =>
|
|
5480
|
+
}, _y = (Ne, He, St) => on(He, (ht) => {
|
|
5481
5481
|
var ln;
|
|
5482
5482
|
const io = no(He) ? Ne.cloneNode(!0) : Ne;
|
|
5483
5483
|
return St && $b(rC(ht.childNodes), (sr) => {
|
|
@@ -5645,7 +5645,7 @@ var oq = { exports: {} };
|
|
|
5645
5645
|
replace: _y,
|
|
5646
5646
|
rename: Vx,
|
|
5647
5647
|
findCommonAncestor: lb,
|
|
5648
|
-
run:
|
|
5648
|
+
run: on,
|
|
5649
5649
|
getAttribs: Se,
|
|
5650
5650
|
isEmpty: bm,
|
|
5651
5651
|
createRng: wg,
|
|
@@ -8088,16 +8088,16 @@ Required: ` + n.join(", "));
|
|
|
8088
8088
|
const _s = o.get("mceResizeHandle" + Oo);
|
|
8089
8089
|
_s && (o.unbind(_s), o.remove(_s));
|
|
8090
8090
|
});
|
|
8091
|
-
},
|
|
8091
|
+
}, on = (xt, Mn) => o.isChildOf(xt, Mn), Gn = (xt) => {
|
|
8092
8092
|
if (Se || n.removed || n.composing)
|
|
8093
8093
|
return;
|
|
8094
8094
|
const Mn = xt.type === "mousedown" ? xt.target : e.getNode(), Oo = xi(ce.fromDom(Mn), wS).map((hs) => hs.dom).filter((hs) => o.isEditable(hs.parentElement) || hs.nodeName === "IMG" && o.isEditable(hs)).getOrUndefined(), _s = Ze(Oo) ? o.getAttrib(Oo, tg, "1") : "1";
|
|
8095
8095
|
if (ke(o.select(`img[${tg}],hr[${tg}]`), (hs) => {
|
|
8096
8096
|
hs.removeAttribute(tg);
|
|
8097
|
-
}), Ze(Oo) &&
|
|
8097
|
+
}), Ze(Oo) && on(Oo, u) && n.hasFocus()) {
|
|
8098
8098
|
Jt();
|
|
8099
8099
|
const hs = e.getStart(!0);
|
|
8100
|
-
if (
|
|
8100
|
+
if (on(hs, Oo) && on(e.getEnd(!0), Oo)) {
|
|
8101
8101
|
o.setAttrib(Oo, tg, _s), us.throttle(Oo);
|
|
8102
8102
|
return;
|
|
8103
8103
|
}
|
|
@@ -11598,7 +11598,7 @@ Required: ` + n.join(", "));
|
|
|
11598
11598
|
...L3,
|
|
11599
11599
|
...M$
|
|
11600
11600
|
]);
|
|
11601
|
-
let
|
|
11601
|
+
let on = null;
|
|
11602
11602
|
const Gn = fs({}, [
|
|
11603
11603
|
...F3,
|
|
11604
11604
|
...H3,
|
|
@@ -11696,7 +11696,7 @@ Required: ` + n.join(", "));
|
|
|
11696
11696
|
return ze instanceof RegExp || ze instanceof Function;
|
|
11697
11697
|
}, Zx = function(ze) {
|
|
11698
11698
|
if (!(y1 && y1 === ze)) {
|
|
11699
|
-
if ((!ze || typeof ze != "object") && (ze = {}), ze = Xv(ze), xg = vT.indexOf(ze.PARSER_MEDIA_TYPE) === -1 ? xg = Ux : xg = ze.PARSER_MEDIA_TYPE, nc = xg === "application/xhtml+xml" ? y_ : Th, us = "ALLOWED_TAGS" in ze ? fs({}, ze.ALLOWED_TAGS, nc) : Tt,
|
|
11699
|
+
if ((!ze || typeof ze != "object") && (ze = {}), ze = Xv(ze), xg = vT.indexOf(ze.PARSER_MEDIA_TYPE) === -1 ? xg = Ux : xg = ze.PARSER_MEDIA_TYPE, nc = xg === "application/xhtml+xml" ? y_ : Th, us = "ALLOWED_TAGS" in ze ? fs({}, ze.ALLOWED_TAGS, nc) : Tt, on = "ALLOWED_ATTR" in ze ? fs({}, ze.ALLOWED_ATTR, nc) : Gn, ky = "ALLOWED_NAMESPACES" in ze ? fs({}, ze.ALLOWED_NAMESPACES, y_) : bT, _y = "ADD_URI_SAFE_ATTR" in ze ? fs(Xv(Vx), ze.ADD_URI_SAFE_ATTR, nc) : Vx, ab = "ADD_DATA_URI_TAGS" in ze ? fs(Xv(Sy), ze.ADD_DATA_URI_TAGS, nc) : Sy, v1 = "FORBID_CONTENTS" in ze ? fs({}, ze.FORBID_CONTENTS, nc) : Hx, Jt = "FORBID_TAGS" in ze ? fs({}, ze.FORBID_TAGS, nc) : {}, $n = "FORBID_ATTR" in ze ? fs({}, ze.FORBID_ATTR, nc) : {}, vf = "USE_PROFILES" in ze ? ze.USE_PROFILES : !1, xt = ze.ALLOW_ARIA_ATTR !== !1, Mn = ze.ALLOW_DATA_ATTR !== !1, Oo = ze.ALLOW_UNKNOWN_PROTOCOLS || !1, _s = ze.ALLOW_SELF_CLOSE_IN_ATTR !== !1, hs = ze.SAFE_FOR_TEMPLATES || !1, Fa = ze.WHOLE_DOCUMENT || !1, ci = ze.RETURN_DOM || !1, _d = ze.RETURN_DOM_FRAGMENT || !1, Ln = ze.RETURN_TRUSTED_TYPE || !1, yg = ze.FORCE_BODY || !1, Io = ze.SANITIZE_DOM !== !1, $s = ze.SANITIZE_NAMED_PROPS || !1, mr = ze.KEEP_CONTENT !== !1, Hi = ze.IN_PLACE || !1, $l = ze.ALLOWED_URI_REGEXP || H$, wg = ze.NAMESPACE || bm, co = ze.CUSTOM_ELEMENT_HANDLING || {}, ze.CUSTOM_ELEMENT_HANDLING && Wx(ze.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (co.tagNameCheck = ze.CUSTOM_ELEMENT_HANDLING.tagNameCheck), ze.CUSTOM_ELEMENT_HANDLING && Wx(ze.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (co.attributeNameCheck = ze.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), ze.CUSTOM_ELEMENT_HANDLING && typeof ze.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (co.allowCustomizedBuiltInElements = ze.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), hs && (Mn = !1), _d && (ci = !0), vf && (us = fs({}, [...M$]), on = [], vf.html === !0 && (fs(us, N3), fs(on, F3)), vf.svg === !0 && (fs(us, I3), fs(on, H3), fs(on, Hw)), vf.svgFilters === !0 && (fs(us, H0), fs(on, H3), fs(on, Hw)), vf.mathMl === !0 && (fs(us, L3), fs(on, P$), fs(on, Hw))), ze.ADD_TAGS && (us === Tt && (us = Xv(us)), fs(us, ze.ADD_TAGS, nc)), ze.ADD_ATTR && (on === Gn && (on = Xv(on)), fs(on, ze.ADD_ATTR, nc)), ze.ADD_URI_SAFE_ATTR && fs(_y, ze.ADD_URI_SAFE_ATTR, nc), ze.FORBID_CONTENTS && (v1 === Hx && (v1 = Xv(v1)), fs(v1, ze.FORBID_CONTENTS, nc)), mr && (us["#text"] = !0), Fa && fs(us, [
|
|
11700
11700
|
"html",
|
|
11701
11701
|
"head",
|
|
11702
11702
|
"body"
|
|
@@ -11758,7 +11758,7 @@ Required: ` + n.join(", "));
|
|
|
11758
11758
|
from: tn
|
|
11759
11759
|
});
|
|
11760
11760
|
}
|
|
11761
|
-
if (tn.removeAttribute(ze), ze === "is" && !
|
|
11761
|
+
if (tn.removeAttribute(ze), ze === "is" && !on[ze])
|
|
11762
11762
|
if (ci || _d)
|
|
11763
11763
|
try {
|
|
11764
11764
|
ln(tn);
|
|
@@ -11832,7 +11832,7 @@ Required: ` + n.join(", "));
|
|
|
11832
11832
|
return !1;
|
|
11833
11833
|
if (!(Mn && !$n[tn] && vd(jn, tn))) {
|
|
11834
11834
|
if (!(xt && vd(gs, tn))) {
|
|
11835
|
-
if (!
|
|
11835
|
+
if (!on[tn] || $n[tn]) {
|
|
11836
11836
|
if (!(QD(ze) && (co.tagNameCheck instanceof RegExp && vd(co.tagNameCheck, ze) || co.tagNameCheck instanceof Function && co.tagNameCheck(ze)) && (co.attributeNameCheck instanceof RegExp && vd(co.attributeNameCheck, tn) || co.attributeNameCheck instanceof Function && co.attributeNameCheck(tn)) || tn === "is" && co.allowCustomizedBuiltInElements && (co.tagNameCheck instanceof RegExp && vd(co.tagNameCheck, kn) || co.tagNameCheck instanceof Function && co.tagNameCheck(kn)))) return !1;
|
|
11837
11837
|
} else if (!_y[tn]) {
|
|
11838
11838
|
if (!vd($l, am(kn, Fr, ""))) {
|
|
@@ -11859,7 +11859,7 @@ Required: ` + n.join(", "));
|
|
|
11859
11859
|
attrName: "",
|
|
11860
11860
|
attrValue: "",
|
|
11861
11861
|
keepAttr: !0,
|
|
11862
|
-
allowedAttributes:
|
|
11862
|
+
allowedAttributes: on
|
|
11863
11863
|
};
|
|
11864
11864
|
for (Lc = Td.length; Lc--; ) {
|
|
11865
11865
|
tn = Td[Lc];
|
|
@@ -11944,7 +11944,7 @@ Required: ` + n.join(", "));
|
|
|
11944
11944
|
Lc.appendChild(tn.firstChild);
|
|
11945
11945
|
else
|
|
11946
11946
|
Lc = tn;
|
|
11947
|
-
return (
|
|
11947
|
+
return (on.shadowroot || on.shadowrootmode) && (Lc = Ve.call(o, Lc, !0)), Lc;
|
|
11948
11948
|
}
|
|
11949
11949
|
let Ha = Fa ? tn.outerHTML : tn.innerHTML;
|
|
11950
11950
|
return Fa && us["!doctype"] && tn.ownerDocument && tn.ownerDocument.doctype && tn.ownerDocument.doctype.name && vd(x_, tn.ownerDocument.doctype.name) && (Ha = "<!DOCTYPE " + tn.ownerDocument.doctype.name + `>
|
|
@@ -12975,21 +12975,21 @@ Required: ` + n.join(", "));
|
|
|
12975
12975
|
};
|
|
12976
12976
|
const hA = (e) => !!(e && e.ownerDocument) && Ba(ce.fromDom(e.ownerDocument), ce.fromDom(e)), pF = (e) => e ? hA(e.startContainer) && hA(e.endContainer) : !1, n1 = (e, n, o, r) => {
|
|
12977
12977
|
let l, u;
|
|
12978
|
-
const { selectorChangedWithUnbind: f } = _M(e, r), b = (Tt,
|
|
12978
|
+
const { selectorChangedWithUnbind: f } = _M(e, r), b = (Tt, on) => {
|
|
12979
12979
|
const Gn = e.createRng();
|
|
12980
|
-
Ze(Tt) && Ze(
|
|
12981
|
-
}, y = (Tt) => uF(r, Tt), k = (Tt,
|
|
12982
|
-
const Tt = Ce(),
|
|
12983
|
-
return !Tt || Tt.item ? !1 : Tt.compareEndPoints ? Tt.compareEndPoints("StartToEnd", Tt) === 0 : !
|
|
12980
|
+
Ze(Tt) && Ze(on) ? (Gn.setStart(Tt, on), Gn.setEnd(Tt, on), Be(Gn), we(!1)) : (G2(e, Gn, r.getBody(), !0), Be(Gn));
|
|
12981
|
+
}, y = (Tt) => uF(r, Tt), k = (Tt, on) => hF(r, Tt, on), P = (Tt) => xE(r.getBody(), Ce(), Tt), B = (Tt) => PO(r.getBody(), Ce(), Tt), F = (Tt, on) => $l.getBookmark(Tt, on), J = (Tt) => $l.moveToBookmark(Tt), ne = (Tt, on) => (f7(e, Tt, on).each(Be), Tt), q = () => {
|
|
12982
|
+
const Tt = Ce(), on = Se();
|
|
12983
|
+
return !Tt || Tt.item ? !1 : Tt.compareEndPoints ? Tt.compareEndPoints("StartToEnd", Tt) === 0 : !on || Tt.collapsed;
|
|
12984
12984
|
}, oe = () => {
|
|
12985
|
-
const Tt = Ce(),
|
|
12986
|
-
return
|
|
12985
|
+
const Tt = Ce(), on = r.getBody().querySelectorAll('[data-mce-selected="1"]');
|
|
12986
|
+
return on.length > 0 ? tr(on, (Gn) => e.isEditable(Gn.parentElement)) : $O(e, Tt);
|
|
12987
12987
|
}, we = (Tt) => {
|
|
12988
|
-
const
|
|
12989
|
-
|
|
12988
|
+
const on = Ce();
|
|
12989
|
+
on.collapse(!!Tt), Be(on);
|
|
12990
12990
|
}, Se = () => n.getSelection ? n.getSelection() : n.document.selection, Ce = () => {
|
|
12991
12991
|
let Tt;
|
|
12992
|
-
const
|
|
12992
|
+
const on = (co, Jt, $n) => {
|
|
12993
12993
|
try {
|
|
12994
12994
|
return Jt.compareBoundaryPoints(co, $n);
|
|
12995
12995
|
} catch {
|
|
@@ -13010,21 +13010,21 @@ Required: ` + n.join(", "));
|
|
|
13010
13010
|
const co = e.getRoot();
|
|
13011
13011
|
Tt.setStart(co, 0), Tt.setEnd(co, 0);
|
|
13012
13012
|
}
|
|
13013
|
-
return l && u && (
|
|
13014
|
-
}, Be = (Tt,
|
|
13013
|
+
return l && u && (on(Tt.START_TO_START, Tt, l) === 0 && on(Tt.END_TO_END, Tt, l) === 0 ? Tt = u : (l = null, u = null)), Tt;
|
|
13014
|
+
}, Be = (Tt, on) => {
|
|
13015
13015
|
if (!pF(Tt))
|
|
13016
13016
|
return;
|
|
13017
13017
|
const Gn = Se();
|
|
13018
13018
|
if (Tt = r.dispatch("SetSelectionRange", {
|
|
13019
13019
|
range: Tt,
|
|
13020
|
-
forward:
|
|
13020
|
+
forward: on
|
|
13021
13021
|
}).range, Gn) {
|
|
13022
13022
|
u = Tt;
|
|
13023
13023
|
try {
|
|
13024
13024
|
Gn.removeAllRanges(), Gn.addRange(Tt);
|
|
13025
13025
|
} catch {
|
|
13026
13026
|
}
|
|
13027
|
-
|
|
13027
|
+
on === !1 && Gn.extend && (Gn.collapse(Tt.endContainer, Tt.endOffset), Gn.extend(Tt.startContainer, Tt.startOffset)), l = Gn.rangeCount > 0 ? Gn.getRangeAt(0) : null;
|
|
13028
13028
|
}
|
|
13029
13029
|
if (!Tt.collapsed && Tt.startContainer === Tt.endContainer && (Gn != null && Gn.setBaseAndExtent) && Tt.endOffset - Tt.startOffset < 2 && Tt.startContainer.hasChildNodes()) {
|
|
13030
13030
|
const Jt = Tt.startContainer.childNodes[Tt.startOffset];
|
|
@@ -13032,15 +13032,15 @@ Required: ` + n.join(", "));
|
|
|
13032
13032
|
}
|
|
13033
13033
|
r.dispatch("AfterSetSelectionRange", {
|
|
13034
13034
|
range: Tt,
|
|
13035
|
-
forward:
|
|
13035
|
+
forward: on
|
|
13036
13036
|
});
|
|
13037
|
-
}, st = (Tt) => (k(e.getOuterHTML(Tt)), Tt), yt = () => BO(r.getBody(), Ce()), Lt = (Tt,
|
|
13038
|
-
const Tt = Se(),
|
|
13039
|
-
if (!Tt || !
|
|
13037
|
+
}, st = (Tt) => (k(e.getOuterHTML(Tt)), Tt), yt = () => BO(r.getBody(), Ce()), Lt = (Tt, on) => m7(e, Ce(), Tt, on), We = () => {
|
|
13038
|
+
const Tt = Se(), on = Tt == null ? void 0 : Tt.anchorNode, Gn = Tt == null ? void 0 : Tt.focusNode;
|
|
13039
|
+
if (!Tt || !on || !Gn || _u(on) || _u(Gn))
|
|
13040
13040
|
return !0;
|
|
13041
13041
|
const co = e.createRng(), Jt = e.createRng();
|
|
13042
13042
|
try {
|
|
13043
|
-
co.setStart(
|
|
13043
|
+
co.setStart(on, Tt.anchorOffset), co.collapse(!0), Jt.setStart(Gn, Tt.focusOffset), Jt.collapse(!0);
|
|
13044
13044
|
} catch {
|
|
13045
13045
|
return !0;
|
|
13046
13046
|
}
|
|
@@ -13070,8 +13070,8 @@ Required: ` + n.join(", "));
|
|
|
13070
13070
|
getEnd: B,
|
|
13071
13071
|
getSelectedBlocks: Lt,
|
|
13072
13072
|
normalize: () => {
|
|
13073
|
-
const Tt = Ce(),
|
|
13074
|
-
if (!hh(
|
|
13073
|
+
const Tt = Ce(), on = Se();
|
|
13074
|
+
if (!hh(on) && hv(r)) {
|
|
13075
13075
|
const Gn = _(e, Tt);
|
|
13076
13076
|
return Gn.each((co) => {
|
|
13077
13077
|
Be(co, We());
|
|
@@ -13079,23 +13079,23 @@ Required: ` + n.join(", "));
|
|
|
13079
13079
|
}
|
|
13080
13080
|
return Tt;
|
|
13081
13081
|
},
|
|
13082
|
-
selectorChanged: (Tt,
|
|
13082
|
+
selectorChanged: (Tt, on) => (f(Tt, on), Fr),
|
|
13083
13083
|
selectorChangedWithUnbind: f,
|
|
13084
13084
|
getScrollContainer: () => {
|
|
13085
|
-
let Tt,
|
|
13086
|
-
for (;
|
|
13087
|
-
if (
|
|
13088
|
-
Tt =
|
|
13085
|
+
let Tt, on = e.getRoot();
|
|
13086
|
+
for (; on && on.nodeName !== "BODY"; ) {
|
|
13087
|
+
if (on.scrollHeight > on.clientHeight) {
|
|
13088
|
+
Tt = on;
|
|
13089
13089
|
break;
|
|
13090
13090
|
}
|
|
13091
|
-
|
|
13091
|
+
on = on.parentNode;
|
|
13092
13092
|
}
|
|
13093
13093
|
return Tt;
|
|
13094
13094
|
},
|
|
13095
|
-
scrollIntoView: (Tt,
|
|
13096
|
-
Ze(Tt) ? Ol(r, Tt,
|
|
13095
|
+
scrollIntoView: (Tt, on) => {
|
|
13096
|
+
Ze(Tt) ? Ol(r, Tt, on) : A0(r, Ce(), on);
|
|
13097
13097
|
},
|
|
13098
|
-
placeCaretAt: (Tt,
|
|
13098
|
+
placeCaretAt: (Tt, on) => Be(Ri(Tt, on, r.getDoc())),
|
|
13099
13099
|
getBoundingClientRect: () => {
|
|
13100
13100
|
const Tt = Ce();
|
|
13101
13101
|
return Tt.collapsed ? Le.fromRangeStart(Tt).getClientRects()[0] : Tt.getBoundingClientRect();
|
|
@@ -18285,7 +18285,7 @@ Input object: ` + T5(e.input), D5 = (e, n) => RP(e, wo(n, A5)), ZP = nt(VP), vk
|
|
|
18285
18285
|
return !1;
|
|
18286
18286
|
const Jt = e.selection.getSel();
|
|
18287
18287
|
return !Jt || !Jt.rangeCount || Jt.rangeCount === 0;
|
|
18288
|
-
},
|
|
18288
|
+
}, on = () => {
|
|
18289
18289
|
k && (oe(), Ce(), Fr(), q(), P && (Yn(), jn(), Rs())), y && (Se(), Lt(), cn(), gs());
|
|
18290
18290
|
}, Gn = () => {
|
|
18291
18291
|
e.on("drop", (Jt) => {
|
|
@@ -18296,7 +18296,7 @@ Input object: ` + T5(e.input), D5 = (e, n) => RP(e, wo(n, A5)), ZP = nt(VP), vk
|
|
|
18296
18296
|
}, co = () => {
|
|
18297
18297
|
yt(), ne(), Nt.windowsPhone || qt(), k && (oe(), Ce(), Ve(), Fr(), st(), $l(), P ? (Yn(), jn(), Rs()) : q()), y && (we(), Se(), Be(), Lt(), We(), cn(), gs(), st(), Gn());
|
|
18298
18298
|
};
|
|
18299
|
-
return Eh(e) ?
|
|
18299
|
+
return Eh(e) ? on() : co(), {
|
|
18300
18300
|
refreshContentEditable: us,
|
|
18301
18301
|
isHidden: Tt
|
|
18302
18302
|
};
|
|
@@ -40201,7 +40201,7 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
40201
40201
|
Uo("updateState"),
|
|
40202
40202
|
Uo("initialData"),
|
|
40203
40203
|
Yr("reuseDom", !0)
|
|
40204
|
-
],
|
|
40204
|
+
], on = /* @__PURE__ */ Object.freeze({
|
|
40205
40205
|
__proto__: null,
|
|
40206
40206
|
init: () => {
|
|
40207
40207
|
const t = gn(A.none()), s = () => t.set(A.none());
|
|
@@ -40218,7 +40218,7 @@ The conflicting element is` + (fo(N.element) ? " " : " not ") + "already in the
|
|
|
40218
40218
|
name: "reflecting",
|
|
40219
40219
|
active: Rs,
|
|
40220
40220
|
apis: $l,
|
|
40221
|
-
state:
|
|
40221
|
+
state: on
|
|
40222
40222
|
}), co = (t) => {
|
|
40223
40223
|
const s = [], a = {};
|
|
40224
40224
|
return ds(t, (c, d) => {
|
|
@@ -51176,7 +51176,7 @@ const jQ = { class: "font-bold ptext-lg dark:text-white" }, GQ = ["id"], qQ = /*
|
|
|
51176
51176
|
return ie({ focus: () => j.value.focus() }), (it, kt) => (pe(), ye(Jn, null, [
|
|
51177
51177
|
D.show ? (pe(), ye("div", {
|
|
51178
51178
|
key: 0,
|
|
51179
|
-
class:
|
|
51179
|
+
class: nn(D.field_name)
|
|
51180
51180
|
}, [
|
|
51181
51181
|
M("h3", jQ, mt(D.label_name), 1),
|
|
51182
51182
|
M("p", {
|
|
@@ -51187,10 +51187,10 @@ const jQ = { class: "font-bold ptext-lg dark:text-white" }, GQ = ["id"], qQ = /*
|
|
|
51187
51187
|
], 2)) : ct("", !0),
|
|
51188
51188
|
D.show ? ct("", !0) : (pe(), ye("div", {
|
|
51189
51189
|
key: 1,
|
|
51190
|
-
class:
|
|
51190
|
+
class: nn(["mb-4", D.field_name])
|
|
51191
51191
|
}, [
|
|
51192
51192
|
M("label", {
|
|
51193
|
-
class:
|
|
51193
|
+
class: nn({
|
|
51194
51194
|
"gl-label-form": D.error_message == "",
|
|
51195
51195
|
"gl-label-form-invalid": D.error_message !== "",
|
|
51196
51196
|
required: D.is_required
|
|
@@ -51200,7 +51200,7 @@ const jQ = { class: "font-bold ptext-lg dark:text-white" }, GQ = ["id"], qQ = /*
|
|
|
51200
51200
|
Va(M("textarea", {
|
|
51201
51201
|
name: D.field_name,
|
|
51202
51202
|
id: D.field_name,
|
|
51203
|
-
class:
|
|
51203
|
+
class: nn(["tiny", {
|
|
51204
51204
|
"gl-textarea-form mt-4": D.error_message == "",
|
|
51205
51205
|
"gl-textarea-form-invalid mt-4": D.error_message !== ""
|
|
51206
51206
|
}]),
|
|
@@ -51424,7 +51424,7 @@ function fee(D, ie, Q, _e, re, j) {
|
|
|
51424
51424
|
}), [
|
|
51425
51425
|
ee.computed.prevPageUrl || Q.showDisabled ? (pe(), ye("li", {
|
|
51426
51426
|
key: 0,
|
|
51427
|
-
class:
|
|
51427
|
+
class: nn(["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: !ee.computed.prevPageUrl }])
|
|
51428
51428
|
}, [
|
|
51429
51429
|
M("a", rO({
|
|
51430
51430
|
class: "page-link",
|
|
@@ -51439,7 +51439,7 @@ function fee(D, ie, Q, _e, re, j) {
|
|
|
51439
51439
|
], 16, aee)
|
|
51440
51440
|
], 2)) : ct("", !0),
|
|
51441
51441
|
(pe(!0), ye(Jn, null, rr(ee.computed.pageRange, (Me, it) => (pe(), ye("li", {
|
|
51442
|
-
class:
|
|
51442
|
+
class: nn(["", { active: Me == ee.computed.currentPage }]),
|
|
51443
51443
|
key: it
|
|
51444
51444
|
}, [
|
|
51445
51445
|
M("a", rO({
|
|
@@ -51452,7 +51452,7 @@ function fee(D, ie, Q, _e, re, j) {
|
|
|
51452
51452
|
], 2))), 128)),
|
|
51453
51453
|
ee.computed.nextPageUrl || Q.showDisabled ? (pe(), ye("li", {
|
|
51454
51454
|
key: 1,
|
|
51455
|
-
class:
|
|
51455
|
+
class: nn(["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: !ee.computed.nextPageUrl }])
|
|
51456
51456
|
}, [
|
|
51457
51457
|
M("a", rO({
|
|
51458
51458
|
class: "",
|
|
@@ -51542,7 +51542,7 @@ const sq = /* @__PURE__ */ qr(eee, [["render", fee]]), gee = {
|
|
|
51542
51542
|
ee.value ? (pe(), Ad(ET("button"), {
|
|
51543
51543
|
key: 1,
|
|
51544
51544
|
disabled: "",
|
|
51545
|
-
class:
|
|
51545
|
+
class: nn("inline-flex justify-center w-full px-4 py-2 text-base font-medium text-white bg-red-600 border border-transparent rounded-md shadow-sm hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 sm:ml-3 sm:w-auto sm:text-sm")
|
|
51546
51546
|
}, {
|
|
51547
51547
|
default: Ay(() => [
|
|
51548
51548
|
Tee,
|
|
@@ -51959,7 +51959,7 @@ function ote(D, ie, Q, _e, re, j) {
|
|
|
51959
51959
|
(pe(!0), ye(Jn, null, rr(Q.columns, (yo, eo) => (pe(), ye("td", {
|
|
51960
51960
|
key: eo,
|
|
51961
51961
|
"data-label": yo.field_label,
|
|
51962
|
-
class:
|
|
51962
|
+
class: nn(["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", {
|
|
51963
51963
|
/* 'rounded-t-lg lg:rounded-t-none': colIndex === 0,*/
|
|
51964
51964
|
"rounded-b-lg lg:rounded-b-none": eo === Q.columns.length - 1
|
|
51965
51965
|
}])
|
|
@@ -52274,7 +52274,7 @@ function qte(D, ie, Q, _e, re, j) {
|
|
|
52274
52274
|
(pe(!0), ye(Jn, null, rr(Q.columns, (it, kt) => (pe(), ye("td", {
|
|
52275
52275
|
key: kt,
|
|
52276
52276
|
"data-label": it.field_label,
|
|
52277
|
-
class:
|
|
52277
|
+
class: nn(["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", {
|
|
52278
52278
|
"rounded-t-lg lg:rounded-t-none": kt === 0,
|
|
52279
52279
|
"rounded-b-lg lg:rounded-b-none": kt === Q.columns.length - 1
|
|
52280
52280
|
}])
|
|
@@ -53085,7 +53085,7 @@ function Soe(D, ie, Q, _e, re, j) {
|
|
|
53085
53085
|
M("button", {
|
|
53086
53086
|
onClick: ie[0] || (ie[0] = (...Ae) => _e.toggle && _e.toggle(...Ae)),
|
|
53087
53087
|
type: "button",
|
|
53088
|
-
class:
|
|
53088
|
+
class: nn(["flex items-center justify-between w-full gap-3 p-5 font-medium text-gray-500 border border-gray-200 rtl:text-right dark:border-gray-700 dark:text-gray-400 hover:bg-gray-100 dark:hover:bg-gray-800", {
|
|
53089
53089
|
"rounded-t-xl": _e.isFirstAccordion,
|
|
53090
53090
|
"border-b-0": !_e.isLastAccordion,
|
|
53091
53091
|
"bg-gray-100 dark:bg-gray-800": _e.isOpen
|
|
@@ -53099,7 +53099,7 @@ function Soe(D, ie, Q, _e, re, j) {
|
|
|
53099
53099
|
]),
|
|
53100
53100
|
_e.isOpen ? (pe(), ye("div", {
|
|
53101
53101
|
key: 0,
|
|
53102
|
-
class:
|
|
53102
|
+
class: nn([{
|
|
53103
53103
|
"border-b-0": !_e.isLastAccordion,
|
|
53104
53104
|
"border-t-0": _e.isLastAccordion
|
|
53105
53105
|
}, "p-5 border border-gray-200 dark:border-gray-700 dark:bg-gray-900"])
|
|
@@ -53814,35 +53814,35 @@ function dre(D, ie, Q, _e, re, j) {
|
|
|
53814
53814
|
return pe(), ye("div", ure, [
|
|
53815
53815
|
j.hasLabelColor == "Default" ? (pe(), ye("span", {
|
|
53816
53816
|
key: 0,
|
|
53817
|
-
class:
|
|
53817
|
+
class: nn(["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", j.badgeType])
|
|
53818
53818
|
}, mt(this.row[this.field]), 3)) : ct("", !0),
|
|
53819
53819
|
j.hasLabelColor == "Dark" ? (pe(), ye("span", {
|
|
53820
53820
|
key: 1,
|
|
53821
|
-
class:
|
|
53821
|
+
class: nn(["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", j.badgeType])
|
|
53822
53822
|
}, mt(this.row[this.field]), 3)) : ct("", !0),
|
|
53823
53823
|
j.hasLabelColor == "Red" ? (pe(), ye("span", {
|
|
53824
53824
|
key: 2,
|
|
53825
|
-
class:
|
|
53825
|
+
class: nn(["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", j.badgeType])
|
|
53826
53826
|
}, mt(this.row[this.field]), 3)) : ct("", !0),
|
|
53827
53827
|
j.hasLabelColor == "Green" ? (pe(), ye("span", {
|
|
53828
53828
|
key: 3,
|
|
53829
|
-
class:
|
|
53829
|
+
class: nn(["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", j.badgeType])
|
|
53830
53830
|
}, mt(this.row[this.field]), 3)) : ct("", !0),
|
|
53831
53831
|
j.hasLabelColor == "Yellow" ? (pe(), ye("span", {
|
|
53832
53832
|
key: 4,
|
|
53833
|
-
class:
|
|
53833
|
+
class: nn(["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", j.badgeType])
|
|
53834
53834
|
}, mt(this.row[this.field]), 3)) : ct("", !0),
|
|
53835
53835
|
j.hasLabelColor == "Indigo" ? (pe(), ye("span", {
|
|
53836
53836
|
key: 5,
|
|
53837
|
-
class:
|
|
53837
|
+
class: nn(["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", j.badgeType])
|
|
53838
53838
|
}, mt(this.row[this.field]), 3)) : ct("", !0),
|
|
53839
53839
|
j.hasLabelColor == "Purple" ? (pe(), ye("span", {
|
|
53840
53840
|
key: 6,
|
|
53841
|
-
class:
|
|
53841
|
+
class: nn(["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", j.badgeType])
|
|
53842
53842
|
}, mt(this.row[this.field]), 3)) : ct("", !0),
|
|
53843
53843
|
j.hasLabelColor == "Pink" ? (pe(), ye("span", {
|
|
53844
53844
|
key: 7,
|
|
53845
|
-
class:
|
|
53845
|
+
class: nn(["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", j.badgeType])
|
|
53846
53846
|
}, mt(this.row[this.field]), 3)) : ct("", !0)
|
|
53847
53847
|
]);
|
|
53848
53848
|
}
|