golden-logic-ui 1.0.456 → 1.0.458
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 +400 -400
- package/dist/golden-logic-ui.umd.cjs +16 -16
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -143,7 +143,7 @@ const Nj = /* @__PURE__ */ zr(Hq, [["render", zq]]), Uq = {
|
|
|
143
143
|
"aria-hidden": "true"
|
|
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__ */ $j('<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, re, G, _e, ne, Z) {
|
|
146
|
-
const
|
|
146
|
+
const xe = Rd("gl-button");
|
|
147
147
|
return G.isOpen ? (ue(), fe("div", Wq, [
|
|
148
148
|
R("div", Zq, [
|
|
149
149
|
jq,
|
|
@@ -151,7 +151,7 @@ function Xq(A, re, G, _e, ne, Z) {
|
|
|
151
151
|
R("div", qq, [
|
|
152
152
|
Kq,
|
|
153
153
|
R("div", Yq, [
|
|
154
|
-
ui(
|
|
154
|
+
ui(xe, {
|
|
155
155
|
onClick: Z.confirmDeletion,
|
|
156
156
|
tag: "button",
|
|
157
157
|
button_type: "red"
|
|
@@ -161,7 +161,7 @@ function Xq(A, re, G, _e, ne, Z) {
|
|
|
161
161
|
]),
|
|
162
162
|
_: 1
|
|
163
163
|
}, 8, ["onClick"]),
|
|
164
|
-
ui(
|
|
164
|
+
ui(xe, {
|
|
165
165
|
onClick: Z.cancelDeletion,
|
|
166
166
|
tag: "button",
|
|
167
167
|
button_type: "light"
|
|
@@ -324,7 +324,7 @@ const j7 = /* @__PURE__ */ zr(Uq, [["render", Xq]]), Rj = Pq({
|
|
|
324
324
|
}
|
|
325
325
|
}).then((ne) => {
|
|
326
326
|
let Z = this.files.findIndex(
|
|
327
|
-
(
|
|
327
|
+
(xe) => xe.file_name === A.name
|
|
328
328
|
);
|
|
329
329
|
Z !== -1 && this.files.splice(Z, 1), this.has_multiple_file || (this.uploadFileList = []), this.uploadFileList.push({
|
|
330
330
|
file_name: ne.data.file_name,
|
|
@@ -338,7 +338,7 @@ const j7 = /* @__PURE__ */ zr(Uq, [["render", Xq]]), Rj = Pq({
|
|
|
338
338
|
this.field_name
|
|
339
339
|
) : console.error("An error occurred:", ne);
|
|
340
340
|
let Z = this.files.findIndex(
|
|
341
|
-
(
|
|
341
|
+
(xe) => xe.file_name === A.name
|
|
342
342
|
);
|
|
343
343
|
Z !== -1 && this.files.splice(Z, 1), console.log(ne), re();
|
|
344
344
|
});
|
|
@@ -380,9 +380,9 @@ const j7 = /* @__PURE__ */ zr(Uq, [["render", Xq]]), Rj = Pq({
|
|
|
380
380
|
"aria-hidden": "true"
|
|
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, re, G, _e, ne, Z) {
|
|
383
|
-
const
|
|
383
|
+
const xe = Rd("DeleteConfirmationModal");
|
|
384
384
|
return ue(), fe(jn, null, [
|
|
385
|
-
ui(
|
|
385
|
+
ui(xe, {
|
|
386
386
|
isOpen: ne.open_delete_modal,
|
|
387
387
|
onConfirmDelete: Z.deleteAction,
|
|
388
388
|
onCancelDelete: Z.closeDeleteModal
|
|
@@ -513,24 +513,24 @@ const yce = /* @__PURE__ */ zr(Qq, [["render", DK]]), OK = {
|
|
|
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, re, G, _e, ne, Z) {
|
|
515
515
|
return ue(), fe("ul", RK, [
|
|
516
|
-
(ue(!0), fe(jn, null, Ks(ne.locals, (
|
|
516
|
+
(ue(!0), fe(jn, null, Ks(ne.locals, (xe, X) => (ue(), fe("li", null, [
|
|
517
517
|
R("input", {
|
|
518
518
|
type: "radio",
|
|
519
519
|
name: G.trans_selector_name,
|
|
520
|
-
value:
|
|
520
|
+
value: xe,
|
|
521
521
|
class: "hidden peer",
|
|
522
|
-
id:
|
|
522
|
+
id: xe + "_" + G.field_name,
|
|
523
523
|
autocomplete: "off",
|
|
524
|
-
checked:
|
|
524
|
+
checked: xe === ne.default_language
|
|
525
525
|
}, null, 8, $K),
|
|
526
526
|
R("label", {
|
|
527
|
-
for:
|
|
527
|
+
for: xe + "_" + G.field_name,
|
|
528
528
|
class: Zt([{
|
|
529
529
|
"border md:!rounded-s-lg": X === 0,
|
|
530
530
|
"border md:!rounded-e-lg": X === ne.locals.length - 1,
|
|
531
531
|
"border-t border-b": X !== 0 && X !== ne.locals.length - 1
|
|
532
532
|
}, "block w-full p-1 font-bold text-center text-gray-500 uppercase bg-white border-gray-200 rounded-lg cursor-pointer md:rounded-none dark:hover:text-gray-300 dark:border-gray-700 dark:peer-checked:text-blue-500 peer-checked:border-blue-600 peer-checked:text-blue-600 hover:text-gray-600 hover:bg-gray-100 dark:text-gray-400 dark:bg-gray-800 dark:hover:bg-gray-700"])
|
|
533
|
-
}, mt(
|
|
533
|
+
}, mt(xe), 11, MK)
|
|
534
534
|
]))), 256))
|
|
535
535
|
]);
|
|
536
536
|
}
|
|
@@ -664,7 +664,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
664
664
|
},
|
|
665
665
|
emits: ["update:modelValue", "selected", "selectionChanged"],
|
|
666
666
|
setup(A, { emit: re }) {
|
|
667
|
-
const G = A, _e = re, ne = co(null), Z = co([]),
|
|
667
|
+
const G = A, _e = re, ne = co(null), Z = co([]), xe = co([]), X = co([]), $e = co(0), lt = co(!1), yt = co(""), hn = co(""), Et = co(null), io = co(0), lo = co(0), eo = () => {
|
|
668
668
|
if (Et.value) {
|
|
669
669
|
io.value = Et.value.offsetWidth;
|
|
670
670
|
var Ht = Et.value.getBoundingClientRect();
|
|
@@ -680,7 +680,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
680
680
|
});
|
|
681
681
|
const Ls = pu(() => {
|
|
682
682
|
const Ht = [], _t = new RegExp(yt.value, "ig");
|
|
683
|
-
for (const Pe of
|
|
683
|
+
for (const Pe of xe.value) {
|
|
684
684
|
const no = String(Pe.name);
|
|
685
685
|
(yt.value.length < 1 || no.match(_t)) && Ht.length < G.maxItem && Ht.push(Pe);
|
|
686
686
|
}
|
|
@@ -747,21 +747,21 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
747
747
|
}
|
|
748
748
|
function Nt() {
|
|
749
749
|
if (kt(Z.value))
|
|
750
|
-
return ia(Z.value) ?
|
|
750
|
+
return ia(Z.value) ? xe.value.filter(
|
|
751
751
|
(Ht) => Z.value.some(
|
|
752
752
|
(_t) => String(_t.id) === String(Ht.id)
|
|
753
753
|
)
|
|
754
|
-
) || [] :
|
|
754
|
+
) || [] : xe.value.filter(
|
|
755
755
|
(Ht) => Z.value.some(
|
|
756
756
|
(_t) => String(_t) === String(Ht.id)
|
|
757
757
|
)
|
|
758
758
|
) || [];
|
|
759
759
|
if (G.modelValue)
|
|
760
|
-
return ia(G.modelValue) ?
|
|
760
|
+
return ia(G.modelValue) ? xe.value.filter(
|
|
761
761
|
(Ht) => G.modelValue.some(
|
|
762
762
|
(_t) => String(_t.id) === String(Ht.id)
|
|
763
763
|
)
|
|
764
|
-
) || [] :
|
|
764
|
+
) || [] : xe.value.filter(
|
|
765
765
|
(Ht) => G.modelValue.some(
|
|
766
766
|
(_t) => String(_t) === String(Ht.id)
|
|
767
767
|
)
|
|
@@ -802,7 +802,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
802
802
|
), Ag(
|
|
803
803
|
() => G.options,
|
|
804
804
|
() => {
|
|
805
|
-
|
|
805
|
+
xe.value = Cn(), Z.value = Nt();
|
|
806
806
|
},
|
|
807
807
|
{ immediate: !0, deep: !0 }
|
|
808
808
|
), (Ht, _t) => (ue(), fe(jn, null, [
|
|
@@ -972,11 +972,11 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
972
972
|
},
|
|
973
973
|
emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
|
|
974
974
|
setup(A, { expose: re, emit: G }) {
|
|
975
|
-
const _e = A, ne = G, Z = co(null),
|
|
976
|
-
|
|
975
|
+
const _e = A, ne = G, Z = co(null), xe = co(null), X = () => {
|
|
976
|
+
xe.value && ne("update:modelValueTranslate", xe.value.value);
|
|
977
977
|
};
|
|
978
978
|
return Dg(() => {
|
|
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),
|
|
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
980
|
}), re({ focus: () => Z.value.focus() }), ($e, lt) => (ue(), fe(jn, null, [
|
|
981
981
|
A.show ? (ue(), fe("div", {
|
|
982
982
|
key: 0,
|
|
@@ -989,7 +989,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
989
989
|
name: A.field_name + "_i18n",
|
|
990
990
|
id: A.field_name + "_i18n",
|
|
991
991
|
ref_key: "input_translate",
|
|
992
|
-
ref:
|
|
992
|
+
ref: xe,
|
|
993
993
|
"onUpdate:modelValue": lt[0] || (lt[0] = (yt) => $e.inputTranslateValue = yt)
|
|
994
994
|
}, null, 8, nY), [
|
|
995
995
|
[_m, $e.inputTranslateValue]
|
|
@@ -1021,7 +1021,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1021
1021
|
id: A.field_name + "_i18n",
|
|
1022
1022
|
onChange: X,
|
|
1023
1023
|
ref_key: "input_translate",
|
|
1024
|
-
ref:
|
|
1024
|
+
ref: xe
|
|
1025
1025
|
}, null, 40, lY),
|
|
1026
1026
|
R("textarea", {
|
|
1027
1027
|
required: A.is_required,
|
|
@@ -1102,22 +1102,22 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1102
1102
|
},
|
|
1103
1103
|
emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
|
|
1104
1104
|
setup(A, { expose: re, emit: G }) {
|
|
1105
|
-
const _e = A, ne = G, Z = co(null),
|
|
1106
|
-
|
|
1105
|
+
const _e = A, ne = G, Z = co(null), xe = co(null), X = () => {
|
|
1106
|
+
xe.value && ne("update:modelValueTranslate", xe.value.value);
|
|
1107
1107
|
};
|
|
1108
1108
|
return Dg(() => {
|
|
1109
1109
|
tinymce.init({
|
|
1110
1110
|
selector: "#" + _e.field_name,
|
|
1111
1111
|
width: "100%",
|
|
1112
1112
|
height: 300
|
|
1113
|
-
}), 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),
|
|
1113
|
+
}), 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), _e.translatable && !_e.modelValueTranslate && axios.get("/admin/get_field_translations", {
|
|
1114
1114
|
params: {
|
|
1115
1115
|
model: _e.translatable.model,
|
|
1116
1116
|
row_id: _e.translatable.row_id,
|
|
1117
1117
|
field: _e.translatable.field
|
|
1118
1118
|
}
|
|
1119
1119
|
}).then(($e) => {
|
|
1120
|
-
|
|
1120
|
+
xe.value.value = JSON.stringify($e.data), ne("update:modelValueTranslate", JSON.stringify($e.data));
|
|
1121
1121
|
}).catch(($e) => {
|
|
1122
1122
|
console.log($e);
|
|
1123
1123
|
});
|
|
@@ -1133,7 +1133,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1133
1133
|
name: A.field_name + "_i18n",
|
|
1134
1134
|
id: A.field_name + "_i18n",
|
|
1135
1135
|
ref_key: "input_translate",
|
|
1136
|
-
ref:
|
|
1136
|
+
ref: xe,
|
|
1137
1137
|
"onUpdate:modelValue": lt[0] || (lt[0] = (yt) => $e.inputTranslateValue = yt)
|
|
1138
1138
|
}, null, 8, mY), [
|
|
1139
1139
|
[_m, $e.inputTranslateValue]
|
|
@@ -1165,7 +1165,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1165
1165
|
id: A.field_name + "_i18n",
|
|
1166
1166
|
onChange: X,
|
|
1167
1167
|
ref_key: "input_translate",
|
|
1168
|
-
ref:
|
|
1168
|
+
ref: xe
|
|
1169
1169
|
}, null, 40, bY),
|
|
1170
1170
|
R("textarea", {
|
|
1171
1171
|
name: A.field_name,
|
|
@@ -1237,11 +1237,11 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1237
1237
|
},
|
|
1238
1238
|
emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
|
|
1239
1239
|
setup(A, { expose: re, emit: G }) {
|
|
1240
|
-
const _e = A, ne = G, Z = co(null),
|
|
1241
|
-
|
|
1240
|
+
const _e = A, ne = G, Z = co(null), xe = co(null), X = () => {
|
|
1241
|
+
xe.value && ne("update:modelValueTranslate", xe.value.value);
|
|
1242
1242
|
};
|
|
1243
1243
|
return Dg(() => {
|
|
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),
|
|
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
1245
|
}), re({ focus: () => Z.value.focus() }), ($e, lt) => (ue(), fe(jn, null, [
|
|
1246
1246
|
A.show ? (ue(), fe("div", {
|
|
1247
1247
|
key: 0,
|
|
@@ -1254,7 +1254,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1254
1254
|
name: A.field_name + "_i18n",
|
|
1255
1255
|
id: A.field_name + "_i18n",
|
|
1256
1256
|
ref_key: "input_translate",
|
|
1257
|
-
ref:
|
|
1257
|
+
ref: xe,
|
|
1258
1258
|
"onUpdate:modelValue": lt[0] || (lt[0] = (yt) => $e.inputTranslateValue = yt)
|
|
1259
1259
|
}, null, 8, CY), [
|
|
1260
1260
|
[_m, $e.inputTranslateValue]
|
|
@@ -1286,7 +1286,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1286
1286
|
id: A.field_name + "_i18n",
|
|
1287
1287
|
onChange: X,
|
|
1288
1288
|
ref_key: "input_translate",
|
|
1289
|
-
ref:
|
|
1289
|
+
ref: xe
|
|
1290
1290
|
}, null, 40, EY),
|
|
1291
1291
|
R("input", {
|
|
1292
1292
|
required: A.is_required,
|
|
@@ -1353,7 +1353,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1353
1353
|
Dg(() => {
|
|
1354
1354
|
Z.value !== null && Z.value.hasAttribute("autofocus") && Z.value.focus();
|
|
1355
1355
|
});
|
|
1356
|
-
const
|
|
1356
|
+
const xe = pu({
|
|
1357
1357
|
get() {
|
|
1358
1358
|
return _e.modelValue;
|
|
1359
1359
|
},
|
|
@@ -1392,13 +1392,13 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1392
1392
|
"gl-input-form-invalid": A.error_message !== ""
|
|
1393
1393
|
}),
|
|
1394
1394
|
type: A.type,
|
|
1395
|
-
"onUpdate:modelValue": $e[0] || ($e[0] = (lt) =>
|
|
1395
|
+
"onUpdate:modelValue": $e[0] || ($e[0] = (lt) => xe.value = lt),
|
|
1396
1396
|
onKeydown: $e[1] || ($e[1] = (lt) => X.$emit("keydown", lt)),
|
|
1397
1397
|
ref_key: "input",
|
|
1398
1398
|
ref: Z,
|
|
1399
1399
|
placeholder: A.placeholder
|
|
1400
1400
|
}, null, 42, BY), [
|
|
1401
|
-
[nq,
|
|
1401
|
+
[nq, xe.value]
|
|
1402
1402
|
]),
|
|
1403
1403
|
R("span", NY, mt(A.error_message), 1),
|
|
1404
1404
|
R("small", IY, mt(A.description), 1)
|
|
@@ -1459,7 +1459,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1459
1459
|
Dg(() => {
|
|
1460
1460
|
Z.value !== null && Z.value.hasAttribute("autofocus") && Z.value.focus();
|
|
1461
1461
|
});
|
|
1462
|
-
const
|
|
1462
|
+
const xe = pu({
|
|
1463
1463
|
get() {
|
|
1464
1464
|
return _e.modelValue;
|
|
1465
1465
|
},
|
|
@@ -1500,13 +1500,13 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1500
1500
|
"gl-input-form-invalid-text": A.error_message !== ""
|
|
1501
1501
|
}, "!border-e-0 !rounded-s-lg"]),
|
|
1502
1502
|
type: A.type,
|
|
1503
|
-
"onUpdate:modelValue": $e[0] || ($e[0] = (lt) =>
|
|
1503
|
+
"onUpdate:modelValue": $e[0] || ($e[0] = (lt) => xe.value = lt),
|
|
1504
1504
|
onKeydown: $e[1] || ($e[1] = (lt) => X.$emit("keydown", lt)),
|
|
1505
1505
|
ref_key: "input",
|
|
1506
1506
|
ref: Z,
|
|
1507
1507
|
placeholder: A.placeholder
|
|
1508
1508
|
}, null, 42, ZY), [
|
|
1509
|
-
[nq,
|
|
1509
|
+
[nq, xe.value]
|
|
1510
1510
|
])
|
|
1511
1511
|
]),
|
|
1512
1512
|
R("label", jY, mt(A.input_text), 1)
|
|
@@ -1559,7 +1559,7 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1559
1559
|
end: G.modelValue.end
|
|
1560
1560
|
});
|
|
1561
1561
|
co(""), co("");
|
|
1562
|
-
const
|
|
1562
|
+
const xe = pu({
|
|
1563
1563
|
get() {
|
|
1564
1564
|
return G.modelValue.start;
|
|
1565
1565
|
},
|
|
@@ -1607,10 +1607,10 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1607
1607
|
"gl-input-form-invalid": A.error_message !== "" || ne.value !== ""
|
|
1608
1608
|
}),
|
|
1609
1609
|
type: "date",
|
|
1610
|
-
"onUpdate:modelValue": yt[0] || (yt[0] = (hn) =>
|
|
1610
|
+
"onUpdate:modelValue": yt[0] || (yt[0] = (hn) => xe.value = hn),
|
|
1611
1611
|
placeholder: A.placeholder
|
|
1612
1612
|
}, null, 10, eX), [
|
|
1613
|
-
[_m,
|
|
1613
|
+
[_m, xe.value]
|
|
1614
1614
|
]),
|
|
1615
1615
|
tX,
|
|
1616
1616
|
Tr(R("input", {
|
|
@@ -1682,10 +1682,10 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1682
1682
|
emits: ["update:modelValue", "keydown"],
|
|
1683
1683
|
setup(A, { emit: re }) {
|
|
1684
1684
|
const G = re, _e = co(null), ne = (Z) => {
|
|
1685
|
-
const
|
|
1686
|
-
console.log(
|
|
1685
|
+
const xe = Z.target.files[0];
|
|
1686
|
+
console.log(xe), G("keydown", Z), xe && G("update:modelValue", xe);
|
|
1687
1687
|
};
|
|
1688
|
-
return (Z,
|
|
1688
|
+
return (Z, xe) => (ue(), fe(jn, null, [
|
|
1689
1689
|
A.show ? (ue(), fe("div", {
|
|
1690
1690
|
key: 0,
|
|
1691
1691
|
class: Zt(A.field_name)
|
|
@@ -1732,14 +1732,14 @@ const wce = /* @__PURE__ */ zr(OK, [["render", PK]]), BK = { class: "bg-white bo
|
|
|
1732
1732
|
setup(A, { emit: re }) {
|
|
1733
1733
|
const G = re, _e = Bq(), ne = co(_e.default().map(($e) => $e.props)), Z = co("");
|
|
1734
1734
|
oq("selectedTitle", Z);
|
|
1735
|
-
const
|
|
1735
|
+
const xe = ($e) => {
|
|
1736
1736
|
window.location.hash = encodeURIComponent($e), G("TabChange", $e);
|
|
1737
1737
|
}, X = () => {
|
|
1738
1738
|
const $e = decodeURIComponent(window.location.hash.replace("#", "")), lt = ne.value.find((yt) => yt.title === $e);
|
|
1739
1739
|
lt && (Z.value = lt.title);
|
|
1740
1740
|
};
|
|
1741
1741
|
return Ag(Z, ($e) => {
|
|
1742
|
-
|
|
1742
|
+
xe($e);
|
|
1743
1743
|
}), Dg(() => {
|
|
1744
1744
|
X(), window.addEventListener("hashchange", X);
|
|
1745
1745
|
}), Z7(() => {
|
|
@@ -1854,10 +1854,10 @@ const Oce = /* @__PURE__ */ zr(wX, [["render", CX]]), _X = {
|
|
|
1854
1854
|
const Z = (X) => {
|
|
1855
1855
|
const $e = X.clientX || X.touches && X.touches[0] && X.touches[0].clientX, lt = X.clientY || X.touches && X.touches[0] && X.touches[0].clientY, yt = $e - A.initialX, hn = lt - A.initialY;
|
|
1856
1856
|
Math.abs(yt) > Math.abs(hn) ? (X.preventDefault(), Math.abs(yt) >= 70 && (yt < 0 ? A.next() : A.prev(), A.initialX = $e)) : re.style.cursor = "grab", Math.abs(hn) > Math.abs(yt) && (re.style.cursor = "grab");
|
|
1857
|
-
},
|
|
1858
|
-
document.removeEventListener("mousemove", Z), document.removeEventListener("touchmove", Z), document.removeEventListener("mouseup",
|
|
1857
|
+
}, xe = () => {
|
|
1858
|
+
document.removeEventListener("mousemove", Z), document.removeEventListener("touchmove", Z), document.removeEventListener("mouseup", xe), document.removeEventListener("touchend", xe), re.style.cursor = "grab";
|
|
1859
1859
|
};
|
|
1860
|
-
document.addEventListener("mousemove", Z), document.addEventListener("touchmove", Z, { passive: !1 }), document.addEventListener("mouseup",
|
|
1860
|
+
document.addEventListener("mousemove", Z), document.addEventListener("touchmove", Z, { passive: !1 }), document.addEventListener("mouseup", xe), document.addEventListener("touchend", xe), A.initialX = ne.clientX || ne.touches && ne.touches[0] && ne.touches[0].clientX, A.initialY = ne.clientY || ne.touches && ne.touches[0] && ne.touches[0].clientY;
|
|
1861
1861
|
}, _e = (ne) => {
|
|
1862
1862
|
ne.key === "ArrowLeft" ? A.prev() : ne.key === "ArrowRight" && A.next();
|
|
1863
1863
|
};
|
|
@@ -1870,18 +1870,18 @@ const Oce = /* @__PURE__ */ zr(wX, [["render", CX]]), _X = {
|
|
|
1870
1870
|
this.currentDot > 1 && (this.currentDot--, this.setDot(this.currentDot));
|
|
1871
1871
|
},
|
|
1872
1872
|
initSlider() {
|
|
1873
|
-
let A = document.getElementById("sliderContainer_" + this.Random_string), re = document.getElementById("mainSliderContainer_" + this.Random_string), G = document.getElementById("slider_" + this.Random_string), _e = G.querySelectorAll("li"), ne = Array.from(_e).filter((X) => X.parentNode === G), Z = A.clientWidth,
|
|
1874
|
-
if (this.elementsToShow > 1 ? document.body.clientWidth < 1e3 ? (this.elementsToShow = 1,
|
|
1873
|
+
let A = document.getElementById("sliderContainer_" + this.Random_string), re = document.getElementById("mainSliderContainer_" + this.Random_string), G = document.getElementById("slider_" + this.Random_string), _e = G.querySelectorAll("li"), ne = Array.from(_e).filter((X) => X.parentNode === G), Z = A.clientWidth, xe = Z / this.elementsToShow;
|
|
1874
|
+
if (this.elementsToShow > 1 ? document.body.clientWidth < 1e3 ? (this.elementsToShow = 1, xe = this.hide_arrow ? re.clientWidth : Z) : document.body.clientWidth < 1500 && (this.elementsToShow = 2) : (this.elementsToShow = 1, xe = this.hide_arrow ? re.clientWidth : Z), ne.length > 1) {
|
|
1875
1875
|
this.dotsNum = this.elementsToShow == 1 ? ne.length : ne.length - this.elementsToShow + 1;
|
|
1876
|
-
let X = this.elementsToShow == 1 ?
|
|
1876
|
+
let X = this.elementsToShow == 1 ? xe * ne.length / this.dotsNum : xe * (ne.length - this.elementsToShow) / (this.dotsNum - 1);
|
|
1877
1877
|
this.dotsNavigation = [];
|
|
1878
1878
|
for (let $e = 0; $e < this.dotsNum; $e++)
|
|
1879
1879
|
this.dotsNavigation.push(X * $e);
|
|
1880
1880
|
}
|
|
1881
|
-
G.style.width = ne.length *
|
|
1881
|
+
G.style.width = ne.length * xe + "px", G.style.transition = "margin", G.style.transitionDuration = "1s";
|
|
1882
1882
|
for (let X = 0; X < ne.length; X++) {
|
|
1883
1883
|
const $e = ne[X];
|
|
1884
|
-
$e.style.width =
|
|
1884
|
+
$e.style.width = xe + "px";
|
|
1885
1885
|
}
|
|
1886
1886
|
},
|
|
1887
1887
|
setDot(A) {
|
|
@@ -1889,7 +1889,7 @@ const Oce = /* @__PURE__ */ zr(wX, [["render", CX]]), _X = {
|
|
|
1889
1889
|
this.direction_property == "rtl" ? re.style.marginRight = -this.dotsNavigation[A - 1] + "px" : re.style.marginLeft = -this.dotsNavigation[A - 1] + "px", this.currentDot = A;
|
|
1890
1890
|
}
|
|
1891
1891
|
}
|
|
1892
|
-
}, Sm = (A) => (rq("data-v-
|
|
1892
|
+
}, Sm = (A) => (rq("data-v-205c6327"), A = A(), aq(), A), SX = ["id"], kX = {
|
|
1893
1893
|
key: 0,
|
|
1894
1894
|
class: "items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"
|
|
1895
1895
|
}, TX = { class: "w-full" }, EX = {
|
|
@@ -2077,14 +2077,14 @@ const Oce = /* @__PURE__ */ zr(wX, [["render", CX]]), _X = {
|
|
|
2077
2077
|
function EJ(A, re, G, _e, ne, Z) {
|
|
2078
2078
|
return ue(), fe("div", null, [
|
|
2079
2079
|
R("div", {
|
|
2080
|
-
class: Zt(["", !G.hide_arrow && G.slider_arrows_indicators_position == "
|
|
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
2083
|
A.dotsNum > 0 && !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_outside_slider" ? (ue(), fe("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
|
-
onClick: re[0] || (re[0] = (
|
|
2087
|
+
onClick: re[0] || (re[0] = (xe) => Z.prev())
|
|
2088
2088
|
}, [
|
|
2089
2089
|
G.direction_property == "ltr" ? (ue(), fe("svg", EX, DX)) : Ye("", !0),
|
|
2090
2090
|
G.direction_property == "rtl" ? (ue(), fe("svg", OX, $X)) : Ye("", !0)
|
|
@@ -2106,7 +2106,7 @@ function EJ(A, re, G, _e, ne, Z) {
|
|
|
2106
2106
|
R("div", BX, [
|
|
2107
2107
|
R("button", {
|
|
2108
2108
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2109
|
-
onClick: re[1] || (re[1] = za((
|
|
2109
|
+
onClick: re[1] || (re[1] = za((xe) => Z.prev(), ["stop"]))
|
|
2110
2110
|
}, [
|
|
2111
2111
|
G.direction_property == "ltr" ? (ue(), fe("svg", NX, LX)) : Ye("", !0),
|
|
2112
2112
|
G.direction_property == "rtl" ? (ue(), fe("svg", FX, VX)) : Ye("", !0)
|
|
@@ -2121,7 +2121,7 @@ function EJ(A, re, G, _e, ne, Z) {
|
|
|
2121
2121
|
R("div", zX, [
|
|
2122
2122
|
R("button", {
|
|
2123
2123
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2124
|
-
onClick: re[2] || (re[2] = za((
|
|
2124
|
+
onClick: re[2] || (re[2] = za((xe) => Z.next(), ["stop"]))
|
|
2125
2125
|
}, [
|
|
2126
2126
|
G.direction_property == "ltr" ? (ue(), fe("svg", UX, ZX)) : Ye("", !0),
|
|
2127
2127
|
G.direction_property == "rtl" ? (ue(), fe("svg", jX, qX)) : Ye("", !0)
|
|
@@ -2133,22 +2133,22 @@ function EJ(A, re, G, _e, ne, Z) {
|
|
|
2133
2133
|
key: 0,
|
|
2134
2134
|
class: Zt(["flex justify-center mb-1 space-x-1", Z.sliderIndicatorsAction()])
|
|
2135
2135
|
}, [
|
|
2136
|
-
(ue(!0), fe(jn, null, Ks(A.dotsNum, (
|
|
2136
|
+
(ue(!0), fe(jn, null, Ks(A.dotsNum, (xe) => (ue(), fe("button", {
|
|
2137
2137
|
role: "button",
|
|
2138
|
-
class: Zt(["gl-dot", { active: A.currentDot ==
|
|
2139
|
-
key:
|
|
2140
|
-
onClick: (X) => Z.setDot(
|
|
2138
|
+
class: Zt(["gl-dot", { active: A.currentDot == xe }]),
|
|
2139
|
+
key: xe,
|
|
2140
|
+
onClick: (X) => Z.setDot(xe)
|
|
2141
2141
|
}, XX, 10, KX))), 128))
|
|
2142
2142
|
], 2)) : Ye("", !0),
|
|
2143
2143
|
G.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (ue(), fe("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), fe(jn, null, Ks(A.dotsNum, (
|
|
2147
|
+
(ue(!0), fe(jn, null, Ks(A.dotsNum, (xe) => (ue(), fe("button", {
|
|
2148
2148
|
role: "button",
|
|
2149
|
-
class: Zt(["gl-dot", { active: A.currentDot ==
|
|
2150
|
-
key:
|
|
2151
|
-
onClick: (X) => Z.setDot(
|
|
2149
|
+
class: Zt(["gl-dot", { active: A.currentDot == xe }]),
|
|
2150
|
+
key: xe,
|
|
2151
|
+
onClick: (X) => Z.setDot(xe)
|
|
2152
2152
|
}, tJ, 10, QX))), 128))
|
|
2153
2153
|
], 2),
|
|
2154
2154
|
A.dotsNum > 0 ? (ue(), fe("div", nJ, [
|
|
@@ -2156,7 +2156,7 @@ function EJ(A, re, G, _e, ne, Z) {
|
|
|
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
|
-
onClick: re[3] || (re[3] = (
|
|
2159
|
+
onClick: re[3] || (re[3] = (xe) => Z.prev())
|
|
2160
2160
|
}, [
|
|
2161
2161
|
G.direction_property == "ltr" ? (ue(), fe("svg", rJ, lJ)) : Ye("", !0),
|
|
2162
2162
|
G.direction_property == "rtl" ? (ue(), fe("svg", cJ, uJ)) : Ye("", !0)
|
|
@@ -2167,7 +2167,7 @@ function EJ(A, re, G, _e, ne, Z) {
|
|
|
2167
2167
|
R("div", mJ, [
|
|
2168
2168
|
R("button", {
|
|
2169
2169
|
class: "p-3 rounded-full arrow_button_styles",
|
|
2170
|
-
onClick: re[4] || (re[4] = (
|
|
2170
|
+
onClick: re[4] || (re[4] = (xe) => Z.next())
|
|
2171
2171
|
}, [
|
|
2172
2172
|
G.direction_property == "ltr" ? (ue(), fe("svg", fJ, hJ)) : Ye("", !0),
|
|
2173
2173
|
G.direction_property == "rtl" ? (ue(), fe("svg", pJ, vJ)) : Ye("", !0)
|
|
@@ -2181,7 +2181,7 @@ function EJ(A, re, G, _e, ne, Z) {
|
|
|
2181
2181
|
R("div", wJ, [
|
|
2182
2182
|
R("button", {
|
|
2183
2183
|
class: "p-3 ml-5 rounded-full shadow-lg arrow_button_styles",
|
|
2184
|
-
onClick: re[5] || (re[5] = (
|
|
2184
|
+
onClick: re[5] || (re[5] = (xe) => Z.next())
|
|
2185
2185
|
}, [
|
|
2186
2186
|
G.direction_property == "ltr" ? (ue(), fe("svg", xJ, _J)) : Ye("", !0),
|
|
2187
2187
|
G.direction_property == "rtl" ? (ue(), fe("svg", SJ, TJ)) : Ye("", !0)
|
|
@@ -2191,7 +2191,7 @@ function EJ(A, re, G, _e, ne, Z) {
|
|
|
2191
2191
|
], 10, SX)
|
|
2192
2192
|
]);
|
|
2193
2193
|
}
|
|
2194
|
-
const Rce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-
|
|
2194
|
+
const Rce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-205c6327"]]), AJ = {
|
|
2195
2195
|
props: {
|
|
2196
2196
|
elements_to_show_prop: {
|
|
2197
2197
|
type: Number,
|
|
@@ -2260,10 +2260,10 @@ const Rce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-37dd4e
|
|
|
2260
2260
|
const Z = (X) => {
|
|
2261
2261
|
const $e = X.clientX || X.touches && X.touches[0] && X.touches[0].clientX, lt = X.clientY || X.touches && X.touches[0] && X.touches[0].clientY, yt = $e - A.initialX, hn = lt - A.initialY;
|
|
2262
2262
|
Math.abs(yt) > Math.abs(hn) ? (X.preventDefault(), Math.abs(yt) >= 70 && (yt < 0 ? A.next() : A.prev(), A.initialX = $e)) : re.style.cursor = "grab", Math.abs(hn) > Math.abs(yt) && (re.style.cursor = "grab");
|
|
2263
|
-
},
|
|
2264
|
-
document.removeEventListener("mousemove", Z), document.removeEventListener("touchmove", Z), document.removeEventListener("mouseup",
|
|
2263
|
+
}, xe = () => {
|
|
2264
|
+
document.removeEventListener("mousemove", Z), document.removeEventListener("touchmove", Z), document.removeEventListener("mouseup", xe), document.removeEventListener("touchend", xe), re.style.cursor = "grab";
|
|
2265
2265
|
};
|
|
2266
|
-
document.addEventListener("mousemove", Z), document.addEventListener("touchmove", Z, { passive: !1 }), document.addEventListener("mouseup",
|
|
2266
|
+
document.addEventListener("mousemove", Z), document.addEventListener("touchmove", Z, { passive: !1 }), document.addEventListener("mouseup", xe), document.addEventListener("touchend", xe), A.initialX = ne.clientX || ne.touches && ne.touches[0] && ne.touches[0].clientX, A.initialY = ne.clientY || ne.touches && ne.touches[0] && ne.touches[0].clientY;
|
|
2267
2267
|
}, _e = (ne) => {
|
|
2268
2268
|
ne.key === "ArrowLeft" ? A.prev() : ne.key === "ArrowRight" && A.next();
|
|
2269
2269
|
};
|
|
@@ -2280,10 +2280,10 @@ const Rce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-37dd4e
|
|
|
2280
2280
|
ne[0];
|
|
2281
2281
|
let Z = this.element_size + 28;
|
|
2282
2282
|
console.log("cardwidth", Z);
|
|
2283
|
-
let
|
|
2284
|
-
if (console.log("sliderContainerWidth ",
|
|
2283
|
+
let xe = A.clientWidth;
|
|
2284
|
+
if (console.log("sliderContainerWidth ", xe), this.elementsToShow = Math.floor(this.hide_arrow ? re.clientWidth / Z : xe / Z), console.log("elementsToShow", this.elementsToShow), console.log("elementsToShow new", this.elementsToShow), Z = (this.hide_arrow ? re.clientWidth : xe) / this.elementsToShow - 28, console.log("cardwidth new last ", Z), ne.length > 1) {
|
|
2285
2285
|
this.dotsNum = Math.ceil(ne.length / this.elementsToShow), console.log("dotsNum", this.dotsNum);
|
|
2286
|
-
let X = this.
|
|
2286
|
+
let X = this.hide_arrow ? re.clientWidth : xe;
|
|
2287
2287
|
console.log("navigation_no_between_slides", X), this.dotsNavigation = [];
|
|
2288
2288
|
for (let $e = 0; $e < this.dotsNum; $e++)
|
|
2289
2289
|
this.dotsNavigation.push(X * $e);
|
|
@@ -2300,7 +2300,7 @@ const Rce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-37dd4e
|
|
|
2300
2300
|
this.direction_property == "rtl" ? re.style.marginRight = -this.dotsNavigation[A - 1] + "px" : re.style.marginLeft = -this.dotsNavigation[A - 1] + "px", this.currentDot = A;
|
|
2301
2301
|
}
|
|
2302
2302
|
}
|
|
2303
|
-
}, km = (A) => (rq("data-v-
|
|
2303
|
+
}, km = (A) => (rq("data-v-e3d161c4"), A = A(), aq(), A), DJ = ["id"], OJ = {
|
|
2304
2304
|
key: 0,
|
|
2305
2305
|
class: "items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"
|
|
2306
2306
|
}, RJ = { class: "w-full" }, $J = {
|
|
@@ -2488,14 +2488,14 @@ const Rce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-37dd4e
|
|
|
2488
2488
|
function $Q(A, re, G, _e, ne, Z) {
|
|
2489
2489
|
return ue(), fe("div", null, [
|
|
2490
2490
|
R("div", {
|
|
2491
|
-
class: Zt(["", !G.hide_arrow && G.slider_arrows_indicators_position == "
|
|
2491
|
+
class: Zt(["", !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_outside_slider" ? "flex" : "relative block"]),
|
|
2492
2492
|
id: "mainSliderContainer_" + A.Random_string
|
|
2493
2493
|
}, [
|
|
2494
2494
|
A.dotsNum > 0 && !G.hide_arrow && G.slider_arrows_indicators_position == "arrows_outside_slider" ? (ue(), fe("div", OJ, [
|
|
2495
2495
|
R("div", RJ, [
|
|
2496
2496
|
R("button", {
|
|
2497
2497
|
class: "p-3 mr-5 rounded-full shadow-lg arrow_button_styles",
|
|
2498
|
-
onClick: re[0] || (re[0] = (
|
|
2498
|
+
onClick: re[0] || (re[0] = (xe) => Z.prev())
|
|
2499
2499
|
}, [
|
|
2500
2500
|
G.direction_property == "ltr" ? (ue(), fe("svg", $J, PJ)) : Ye("", !0),
|
|
2501
2501
|
G.direction_property == "rtl" ? (ue(), fe("svg", BJ, IJ)) : Ye("", !0)
|
|
@@ -2517,7 +2517,7 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2517
2517
|
R("div", HJ, [
|
|
2518
2518
|
R("button", {
|
|
2519
2519
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2520
|
-
onClick: re[1] || (re[1] = za((
|
|
2520
|
+
onClick: re[1] || (re[1] = za((xe) => Z.prev(), ["stop"]))
|
|
2521
2521
|
}, [
|
|
2522
2522
|
G.direction_property == "ltr" ? (ue(), fe("svg", VJ, UJ)) : Ye("", !0),
|
|
2523
2523
|
G.direction_property == "rtl" ? (ue(), fe("svg", WJ, jJ)) : Ye("", !0)
|
|
@@ -2532,7 +2532,7 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2532
2532
|
R("div", GJ, [
|
|
2533
2533
|
R("button", {
|
|
2534
2534
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2535
|
-
onClick: re[2] || (re[2] = za((
|
|
2535
|
+
onClick: re[2] || (re[2] = za((xe) => Z.next(), ["stop"]))
|
|
2536
2536
|
}, [
|
|
2537
2537
|
G.direction_property == "ltr" ? (ue(), fe("svg", qJ, YJ)) : Ye("", !0),
|
|
2538
2538
|
G.direction_property == "rtl" ? (ue(), fe("svg", XJ, QJ)) : Ye("", !0)
|
|
@@ -2544,22 +2544,22 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2544
2544
|
key: 0,
|
|
2545
2545
|
class: Zt(["flex justify-center mb-1 space-x-1", Z.sliderIndicatorsAction()])
|
|
2546
2546
|
}, [
|
|
2547
|
-
(ue(!0), fe(jn, null, Ks(A.dotsNum, (
|
|
2547
|
+
(ue(!0), fe(jn, null, Ks(A.dotsNum, (xe) => (ue(), fe("button", {
|
|
2548
2548
|
role: "button",
|
|
2549
|
-
class: Zt(["gl-dot", { active: A.currentDot ==
|
|
2550
|
-
key:
|
|
2551
|
-
onClick: (X) => Z.setDot(
|
|
2549
|
+
class: Zt(["gl-dot", { active: A.currentDot == xe }]),
|
|
2550
|
+
key: xe,
|
|
2551
|
+
onClick: (X) => Z.setDot(xe)
|
|
2552
2552
|
}, nQ, 10, eQ))), 128))
|
|
2553
2553
|
], 2)) : Ye("", !0),
|
|
2554
2554
|
G.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (ue(), fe("div", oQ, [
|
|
2555
2555
|
R("div", {
|
|
2556
2556
|
class: Zt(["flex justify-center mb-1 space-x-1", Z.sliderIndicatorsAction()])
|
|
2557
2557
|
}, [
|
|
2558
|
-
(ue(!0), fe(jn, null, Ks(A.dotsNum, (
|
|
2558
|
+
(ue(!0), fe(jn, null, Ks(A.dotsNum, (xe) => (ue(), fe("button", {
|
|
2559
2559
|
role: "button",
|
|
2560
|
-
class: Zt(["gl-dot", { active: A.currentDot ==
|
|
2561
|
-
key:
|
|
2562
|
-
onClick: (X) => Z.setDot(
|
|
2560
|
+
class: Zt(["gl-dot", { active: A.currentDot == xe }]),
|
|
2561
|
+
key: xe,
|
|
2562
|
+
onClick: (X) => Z.setDot(xe)
|
|
2563
2563
|
}, aQ, 10, sQ))), 128))
|
|
2564
2564
|
], 2),
|
|
2565
2565
|
A.dotsNum > 0 ? (ue(), fe("div", lQ, [
|
|
@@ -2567,7 +2567,7 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2567
2567
|
R("div", iQ, [
|
|
2568
2568
|
R("button", {
|
|
2569
2569
|
class: Zt(["p-3 rounded-full arrow_button_styles", G.direction_property == "rtl" ? "ml-3" : "mr-3"]),
|
|
2570
|
-
onClick: re[3] || (re[3] = (
|
|
2570
|
+
onClick: re[3] || (re[3] = (xe) => Z.prev())
|
|
2571
2571
|
}, [
|
|
2572
2572
|
G.direction_property == "ltr" ? (ue(), fe("svg", uQ, mQ)) : Ye("", !0),
|
|
2573
2573
|
G.direction_property == "rtl" ? (ue(), fe("svg", fQ, hQ)) : Ye("", !0)
|
|
@@ -2578,7 +2578,7 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2578
2578
|
R("div", bQ, [
|
|
2579
2579
|
R("button", {
|
|
2580
2580
|
class: "p-3 rounded-full arrow_button_styles",
|
|
2581
|
-
onClick: re[4] || (re[4] = (
|
|
2581
|
+
onClick: re[4] || (re[4] = (xe) => Z.next())
|
|
2582
2582
|
}, [
|
|
2583
2583
|
G.direction_property == "ltr" ? (ue(), fe("svg", vQ, wQ)) : Ye("", !0),
|
|
2584
2584
|
G.direction_property == "rtl" ? (ue(), fe("svg", xQ, _Q)) : Ye("", !0)
|
|
@@ -2592,7 +2592,7 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2592
2592
|
R("div", kQ, [
|
|
2593
2593
|
R("button", {
|
|
2594
2594
|
class: "p-3 ml-5 rounded-full shadow-lg arrow_button_styles",
|
|
2595
|
-
onClick: re[5] || (re[5] = (
|
|
2595
|
+
onClick: re[5] || (re[5] = (xe) => Z.next())
|
|
2596
2596
|
}, [
|
|
2597
2597
|
G.direction_property == "ltr" ? (ue(), fe("svg", TQ, AQ)) : Ye("", !0),
|
|
2598
2598
|
G.direction_property == "rtl" ? (ue(), fe("svg", DQ, RQ)) : Ye("", !0)
|
|
@@ -2602,7 +2602,7 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2602
2602
|
], 10, DJ)
|
|
2603
2603
|
]);
|
|
2604
2604
|
}
|
|
2605
|
-
const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-
|
|
2605
|
+
const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-e3d161c4"]]), MQ = { 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" }, PQ = { class: "flex items-center justify-between flex-shrink-0 pt-10 pb-3 pl-3 pr-3 border-b-2 dark:border-gray-600" }, BQ = { class: "text-xl font-medium leading-normal text-surface dark:text-white" }, NQ = /* @__PURE__ */ R("span", { class: "[&>svg]:h-6 [&>svg]:w-6" }, [
|
|
2606
2606
|
/* @__PURE__ */ R("svg", {
|
|
2607
2607
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2608
2608
|
fill: "currentColor",
|
|
@@ -2658,7 +2658,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-88503d
|
|
|
2658
2658
|
document.documentElement.style.overflow = "hidden", document.documentElement.style.paddingRight = "0px";
|
|
2659
2659
|
}, Z = () => {
|
|
2660
2660
|
document.documentElement.style.overflow = "", document.documentElement.style.paddingRight = "";
|
|
2661
|
-
},
|
|
2661
|
+
}, xe = () => {
|
|
2662
2662
|
_e("closeModal"), Z();
|
|
2663
2663
|
};
|
|
2664
2664
|
return Ag(
|
|
@@ -2682,7 +2682,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-88503d
|
|
|
2682
2682
|
R("button", {
|
|
2683
2683
|
type: "button",
|
|
2684
2684
|
class: "box-content border-none rounded-none text-neutral-500 hover:text-neutral-800 hover:no-underline focus:text-neutral-800 focus:opacity-100 focus:shadow-none focus:outline-none dark:text-neutral-400 dark:hover:text-neutral-300 dark:focus:text-neutral-300",
|
|
2685
|
-
onClick:
|
|
2685
|
+
onClick: xe,
|
|
2686
2686
|
"aria-label": "Close"
|
|
2687
2687
|
}, IQ)
|
|
2688
2688
|
]),
|
|
@@ -2697,7 +2697,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-88503d
|
|
|
2697
2697
|
Tr(R("div", VQ, [
|
|
2698
2698
|
ju(X.$slots, "buttons"),
|
|
2699
2699
|
R("button", {
|
|
2700
|
-
onClick:
|
|
2700
|
+
onClick: xe,
|
|
2701
2701
|
type: "button",
|
|
2702
2702
|
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"
|
|
2703
2703
|
}, " Close ")
|
|
@@ -2764,7 +2764,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-88503d
|
|
|
2764
2764
|
document.documentElement.style.overflow = "hidden", document.documentElement.style.paddingRight = "0px";
|
|
2765
2765
|
}, Z = () => {
|
|
2766
2766
|
document.documentElement.style.overflow = "", document.documentElement.style.paddingRight = "";
|
|
2767
|
-
},
|
|
2767
|
+
}, xe = () => {
|
|
2768
2768
|
_e("closeModal"), Z();
|
|
2769
2769
|
};
|
|
2770
2770
|
return Ag(
|
|
@@ -2787,7 +2787,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-88503d
|
|
|
2787
2787
|
R("button", {
|
|
2788
2788
|
type: "button",
|
|
2789
2789
|
class: "box-content border-none rounded-none text-neutral-500 hover:text-neutral-800 hover:no-underline focus:text-neutral-800 focus:opacity-100 focus:shadow-none focus:outline-none dark:text-neutral-400 dark:hover:text-neutral-300 dark:focus:text-neutral-300",
|
|
2790
|
-
onClick:
|
|
2790
|
+
onClick: xe,
|
|
2791
2791
|
"aria-label": "Close"
|
|
2792
2792
|
}, jQ)
|
|
2793
2793
|
]),
|
|
@@ -2802,7 +2802,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-88503d
|
|
|
2802
2802
|
Tr(R("div", YQ, [
|
|
2803
2803
|
ju(X.$slots, "buttons"),
|
|
2804
2804
|
R("button", {
|
|
2805
|
-
onClick:
|
|
2805
|
+
onClick: xe,
|
|
2806
2806
|
type: "button",
|
|
2807
2807
|
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"
|
|
2808
2808
|
}, " Close ")
|
|
@@ -2868,11 +2868,11 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-88503d
|
|
|
2868
2868
|
get() {
|
|
2869
2869
|
return G.modelValue;
|
|
2870
2870
|
},
|
|
2871
|
-
set(
|
|
2872
|
-
_e("update:modelValue",
|
|
2871
|
+
set(xe) {
|
|
2872
|
+
_e("update:modelValue", xe);
|
|
2873
2873
|
}
|
|
2874
2874
|
});
|
|
2875
|
-
return (
|
|
2875
|
+
return (xe, X) => (ue(), fe(jn, null, [
|
|
2876
2876
|
A.show ? (ue(), fe("div", {
|
|
2877
2877
|
key: 0,
|
|
2878
2878
|
class: Zt(A.field_name)
|
|
@@ -2979,11 +2979,11 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-88503d
|
|
|
2979
2979
|
get() {
|
|
2980
2980
|
return G.modelValue;
|
|
2981
2981
|
},
|
|
2982
|
-
set(
|
|
2983
|
-
_e("update:modelValue",
|
|
2982
|
+
set(xe) {
|
|
2983
|
+
_e("update:modelValue", xe);
|
|
2984
2984
|
}
|
|
2985
2985
|
});
|
|
2986
|
-
return (
|
|
2986
|
+
return (xe, X) => (ue(), fe(jn, null, [
|
|
2987
2987
|
A.show ? (ue(), fe("div", {
|
|
2988
2988
|
key: 0,
|
|
2989
2989
|
class: Zt(A.field_name)
|
|
@@ -3152,7 +3152,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-88503d
|
|
|
3152
3152
|
setup(A, { emit: re }) {
|
|
3153
3153
|
const G = A, _e = re;
|
|
3154
3154
|
co(null);
|
|
3155
|
-
const ne = co({}), Z = co([]),
|
|
3155
|
+
const ne = co({}), Z = co([]), xe = co(0), X = co(!1), $e = co(""), lt = co(""), yt = co(null), hn = co(0), Et = co(0), io = () => {
|
|
3156
3156
|
if (yt.value) {
|
|
3157
3157
|
hn.value = yt.value.offsetWidth;
|
|
3158
3158
|
var Xt = yt.value.getBoundingClientRect();
|
|
@@ -3201,7 +3201,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-88503d
|
|
|
3201
3201
|
return Xt !== null && typeof Xt == "object" && Object.keys(Xt).length > 0;
|
|
3202
3202
|
}
|
|
3203
3203
|
function he(Xt) {
|
|
3204
|
-
Xt.target.id != G.field_name + "search" + lt.value && Xt.target.id != G.field_name && !Xt.target.classList.contains("showOptions") && (pe(),
|
|
3204
|
+
Xt.target.id != G.field_name + "search" + lt.value && Xt.target.id != G.field_name && !Xt.target.classList.contains("showOptions") && (pe(), xe.value = 0, X.value = !1);
|
|
3205
3205
|
}
|
|
3206
3206
|
function kt(Xt) {
|
|
3207
3207
|
const Cn = `${Xt}${lt.value}`, Nt = document.getElementById(Cn);
|
|
@@ -3212,7 +3212,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-88503d
|
|
|
3212
3212
|
Nt && Nt.click();
|
|
3213
3213
|
}
|
|
3214
3214
|
function oo(Xt) {
|
|
3215
|
-
Xt === "ArrowDown" &&
|
|
3215
|
+
Xt === "ArrowDown" && xe.value < eo.value.length && (xe.value++, kt(xe.value)), Xt === "ArrowUp" && xe.value > 1 && (xe.value--, kt(xe.value)), Xt === "Enter" && ia(xe.value);
|
|
3216
3216
|
}
|
|
3217
3217
|
function ae() {
|
|
3218
3218
|
return G.options.map((Xt, Cn) => typeof Xt == "object" ? Xt : { id: Xt, name: Xt });
|
|
@@ -3363,7 +3363,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-88503d
|
|
|
3363
3363
|
return ue(), fe("div", {
|
|
3364
3364
|
class: Zt([
|
|
3365
3365
|
"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",
|
|
3366
|
-
Ht + 1 ==
|
|
3366
|
+
Ht + 1 == xe.value ? "bg-gray-100 dark:bg-gray-600" : ""
|
|
3367
3367
|
]),
|
|
3368
3368
|
onClick: (Pe) => ss(ot),
|
|
3369
3369
|
onMousedown: (Pe) => ss(ot),
|
|
@@ -3441,7 +3441,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-88503d
|
|
|
3441
3441
|
Dg(() => {
|
|
3442
3442
|
Z.value !== null && Z.value.hasAttribute("autofocus") && Z.value.focus();
|
|
3443
3443
|
});
|
|
3444
|
-
const
|
|
3444
|
+
const xe = pu({
|
|
3445
3445
|
get() {
|
|
3446
3446
|
return _e.modelValue;
|
|
3447
3447
|
},
|
|
@@ -3482,14 +3482,14 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-88503d
|
|
|
3482
3482
|
" gl-textarea-form-invalid mt-4 ": A.error_message !== ""
|
|
3483
3483
|
}),
|
|
3484
3484
|
type: A.type,
|
|
3485
|
-
"onUpdate:modelValue": $e[0] || ($e[0] = (lt) =>
|
|
3485
|
+
"onUpdate:modelValue": $e[0] || ($e[0] = (lt) => xe.value = lt),
|
|
3486
3486
|
onKeydown: $e[1] || ($e[1] = (lt) => X.$emit("keydown", lt)),
|
|
3487
3487
|
ref_key: "input",
|
|
3488
3488
|
ref: Z,
|
|
3489
3489
|
rows: "4",
|
|
3490
3490
|
placeholder: A.placeholder
|
|
3491
3491
|
}, null, 42, Jee), [
|
|
3492
|
-
[_m,
|
|
3492
|
+
[_m, xe.value]
|
|
3493
3493
|
]),
|
|
3494
3494
|
R("span", Qee, mt(A.error_message), 1),
|
|
3495
3495
|
R("small", ete, mt(A.description), 1)
|
|
@@ -3529,9 +3529,9 @@ var cq = { exports: {} };
|
|
|
3529
3529
|
});
|
|
3530
3530
|
}, Z = function(e) {
|
|
3531
3531
|
return { eq: e };
|
|
3532
|
-
},
|
|
3532
|
+
}, xe = Z(function(e, n) {
|
|
3533
3533
|
return e === n;
|
|
3534
|
-
}), X =
|
|
3534
|
+
}), X = xe, $e = function(e) {
|
|
3535
3535
|
return Z(function(n, o) {
|
|
3536
3536
|
if (n.length !== o.length)
|
|
3537
3537
|
return !1;
|
|
@@ -20907,7 +20907,7 @@ tinymce.IconManager.add("default", {
|
|
|
20907
20907
|
}, G = (t) => {
|
|
20908
20908
|
const s = typeof t;
|
|
20909
20909
|
return t === null ? "null" : s === "object" && Array.isArray(t) ? "array" : s === "object" && re(t, String, (a, c) => c.isPrototypeOf(a)) ? "string" : s;
|
|
20910
|
-
}, _e = (t) => (s) => G(s) === t, ne = (t) => (s) => typeof s === t, Z = (t) => (s) => t === s,
|
|
20910
|
+
}, _e = (t) => (s) => G(s) === t, ne = (t) => (s) => typeof s === t, Z = (t) => (s) => t === s, xe = (t, s) => $e(t) && re(t, s, (a, c) => A(a) === c), X = _e("string"), $e = _e("object"), lt = (t) => xe(t, Object), yt = _e("array"), hn = Z(null), Et = ne("boolean"), io = Z(void 0), lo = (t) => t == null, eo = (t) => !lo(t), Ot = ne("function"), Ls = ne("number"), un = (t, s) => {
|
|
20911
20911
|
if (yt(t)) {
|
|
20912
20912
|
for (let a = 0, c = t.length; a < c; ++a)
|
|
20913
20913
|
if (!s(t[a]))
|
|
@@ -22625,14 +22625,14 @@ The behaviours that can trigger it are: ` + JSON.stringify(tt(s, (a) => a.name),
|
|
|
22625
22625
|
ur(s, Q), ki(s, W);
|
|
22626
22626
|
}, Me = (Oe) => {
|
|
22627
22627
|
nh(s, Oe);
|
|
22628
|
-
},
|
|
22628
|
+
}, Ce = () => {
|
|
22629
22629
|
const Oe = t.domChildren;
|
|
22630
22630
|
uO(s, Oe);
|
|
22631
22631
|
}, ve = () => {
|
|
22632
22632
|
const Oe = s, dt = t.value.getOrUndefined();
|
|
22633
22633
|
dt !== qd(Oe) && mp(Oe, dt ?? "");
|
|
22634
22634
|
};
|
|
22635
|
-
return w(), de(), N(), t.innerHtml.fold(
|
|
22635
|
+
return w(), de(), N(), t.innerHtml.fold(Ce, Me), ve(), s;
|
|
22636
22636
|
}, W4 = (t) => {
|
|
22637
22637
|
const s = Ae.fromTag(t.tag);
|
|
22638
22638
|
Yu(s, t.attributes), ur(s, t.classes), Ms(s, t.styles), t.innerHtml.each((c) => nh(s, c));
|
|
@@ -22678,14 +22678,14 @@ The behaviours that can trigger it are: ` + JSON.stringify(tt(s, (a) => a.name),
|
|
|
22678
22678
|
return (Ot(Je[dt.name()]) ? Je[dt.name()] : () => {
|
|
22679
22679
|
throw new Error("Could not find " + dt.name() + " in " + JSON.stringify(t, null, 2));
|
|
22680
22680
|
})();
|
|
22681
|
-
}, Me = (dt) => Ot(w[dt.name()]),
|
|
22681
|
+
}, Me = (dt) => Ot(w[dt.name()]), Ce = () => d.apis, ve = (dt) => w[dt]().map((Je) => Je.state.readState()).getOr("not enabled"), Oe = {
|
|
22682
22682
|
uid: t.uid,
|
|
22683
22683
|
getSystem: c.get,
|
|
22684
22684
|
config: de,
|
|
22685
22685
|
hasConfigured: Me,
|
|
22686
22686
|
spec: t,
|
|
22687
22687
|
readState: ve,
|
|
22688
|
-
getApis:
|
|
22688
|
+
getApis: Ce,
|
|
22689
22689
|
connect: H,
|
|
22690
22690
|
disconnect: W,
|
|
22691
22691
|
element: E,
|
|
@@ -23142,8 +23142,8 @@ Receiver: ` + jd(s.element), E, g.data);
|
|
|
23142
23142
|
]
|
|
23143
23143
|
}
|
|
23144
23144
|
]), EC = (t, s, a, c, d, g) => {
|
|
23145
|
-
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), de = D.some(N), Me = D.some(H),
|
|
23146
|
-
return Zf(s.direction, () => Ai(t, W, Q,
|
|
23145
|
+
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), de = D.some(N), Me = D.some(H), Ce = D.none();
|
|
23146
|
+
return Zf(s.direction, () => Ai(t, W, Q, Ce, Ce), () => Ai(t, Ce, Q, de, Ce), () => Ai(t, W, Ce, Ce, Me), () => Ai(t, Ce, Ce, de, Me), () => Ai(t, W, Q, Ce, Ce), () => Ai(t, W, Ce, Ce, Me), () => Ai(t, W, Q, Ce, Ce), () => Ai(t, Ce, Q, de, Ce));
|
|
23147
23147
|
}, h2 = (t, s) => t.fold(() => {
|
|
23148
23148
|
const a = s.rect;
|
|
23149
23149
|
return Ai("absolute", D.some(a.x), D.some(a.y), D.none(), D.none());
|
|
@@ -23185,10 +23185,10 @@ Receiver: ` + jd(s.element), E, g.data);
|
|
|
23185
23185
|
y: c,
|
|
23186
23186
|
right: d,
|
|
23187
23187
|
bottom: g
|
|
23188
|
-
} = 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, de = C <= d && C >= a, Me = E <= g && E >= c,
|
|
23188
|
+
} = 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, de = C <= d && C >= a, Me = E <= g && E >= c, Ce = de && Me, ve = Math.min($, p >= a ? d - p : C - a), Oe = Math.min(N, w >= c ? g - w : E - c);
|
|
23189
23189
|
return {
|
|
23190
23190
|
originInBounds: Q,
|
|
23191
|
-
sizeInBounds:
|
|
23191
|
+
sizeInBounds: Ce,
|
|
23192
23192
|
visibleW: ve,
|
|
23193
23193
|
visibleH: Oe
|
|
23194
23194
|
};
|
|
@@ -23207,10 +23207,10 @@ Receiver: ` + jd(s.element), E, g.data);
|
|
|
23207
23207
|
maxHeight: g
|
|
23208
23208
|
};
|
|
23209
23209
|
}, l3 = (t, s, a, c) => {
|
|
23210
|
-
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, de = Q ? E : y2(E, p), Me = de.width > 0 && de.height > 0, { maxWidth:
|
|
23210
|
+
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, de = Q ? E : y2(E, p), Me = de.width > 0 && de.height > 0, { maxWidth: Ce, maxHeight: ve } = dh(t.direction, de, c), Oe = {
|
|
23211
23211
|
rect: de,
|
|
23212
23212
|
maxHeight: ve,
|
|
23213
|
-
maxWidth:
|
|
23213
|
+
maxWidth: Ce,
|
|
23214
23214
|
direction: t.direction,
|
|
23215
23215
|
placement: t.placement,
|
|
23216
23216
|
classes: {
|
|
@@ -23224,7 +23224,7 @@ Receiver: ` + jd(s.element), E, g.data);
|
|
|
23224
23224
|
}, c3 = (t, s, a, c, d, g) => {
|
|
23225
23225
|
const p = c.width, w = c.height, C = ($, N, H, W, Q) => {
|
|
23226
23226
|
const de = $(a, c, d, t, g), Me = l3(de, p, w, g);
|
|
23227
|
-
return Me.fold(ae(Me), (
|
|
23227
|
+
return Me.fold(ae(Me), (Ce, ve, Oe, dt) => (Q === dt ? Oe > W || ve > H : !Q && dt) ? Me : J0.nofit(N, H, W, Q));
|
|
23228
23228
|
};
|
|
23229
23229
|
return Wo(s, ($, N) => {
|
|
23230
23230
|
const H = In(C, N);
|
|
@@ -24691,8 +24691,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24691
24691
|
Q(de, E, $), Me.stop();
|
|
24692
24692
|
})), H = (Q, de) => {
|
|
24693
24693
|
const Me = ko(Ri.concat(om))(de.event);
|
|
24694
|
-
E.focusInside === h.OnEnterOrSpaceMode && Me && Yc(Q, de) && d(E).each((
|
|
24695
|
-
|
|
24694
|
+
E.focusInside === h.OnEnterOrSpaceMode && Me && Yc(Q, de) && d(E).each((Ce) => {
|
|
24695
|
+
Ce(Q, E, $), de.stop();
|
|
24696
24696
|
});
|
|
24697
24697
|
}, W = [
|
|
24698
24698
|
Qe(Ou(), (Q, de) => {
|
|
@@ -24720,26 +24720,26 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24720
24720
|
Re("firstTabstop", 0),
|
|
24721
24721
|
Re("useTabstopAt", Nt),
|
|
24722
24722
|
Uo("visibilitySelector")
|
|
24723
|
-
].concat([t]), a = (
|
|
24724
|
-
const Oe =
|
|
24723
|
+
].concat([t]), a = (Ce, ve) => {
|
|
24724
|
+
const Oe = Ce.visibilitySelector.bind((dt) => dd(ve, dt)).getOr(ve);
|
|
24725
24725
|
return Us(Oe) > 0;
|
|
24726
|
-
}, c = (
|
|
24727
|
-
const Oe = ka(
|
|
24726
|
+
}, c = (Ce, ve) => {
|
|
24727
|
+
const Oe = ka(Ce.element, ve.selector), dt = so(Oe, (Je) => a(ve, Je));
|
|
24728
24728
|
return D.from(dt[ve.firstTabstop]);
|
|
24729
|
-
}, d = (
|
|
24730
|
-
c(
|
|
24731
|
-
ve.focusManager.set(
|
|
24732
|
-
});
|
|
24733
|
-
}, w = (
|
|
24734
|
-
const Je = ka(
|
|
24735
|
-
return d(
|
|
24736
|
-
}, E = (
|
|
24729
|
+
}, d = (Ce, ve) => ve.focusManager.get(Ce).bind((Oe) => dd(Oe, ve.selector)), g = (Ce, ve) => a(Ce, ve) && Ce.useTabstopAt(ve), p = (Ce, ve, Oe) => {
|
|
24730
|
+
c(Ce, ve).each((dt) => {
|
|
24731
|
+
ve.focusManager.set(Ce, dt);
|
|
24732
|
+
});
|
|
24733
|
+
}, w = (Ce, ve, Oe, dt, Je) => Je(ve, Oe, (Ge) => g(dt, Ge)).fold(() => dt.cyclic ? D.some(!0) : D.none(), (Ge) => (dt.focusManager.set(Ce, Ge), D.some(!0))), C = (Ce, ve, Oe, dt) => {
|
|
24734
|
+
const Je = ka(Ce.element, Oe.selector);
|
|
24735
|
+
return d(Ce, Oe).bind((Ge) => Rt(Je, In(zo, Ge)).bind((At) => w(Ce, Je, At, Oe, dt)));
|
|
24736
|
+
}, E = (Ce, ve, Oe) => {
|
|
24737
24737
|
const dt = Oe.cyclic ? mw : gT;
|
|
24738
|
-
return C(
|
|
24739
|
-
}, $ = (
|
|
24738
|
+
return C(Ce, ve, Oe, dt);
|
|
24739
|
+
}, $ = (Ce, ve, Oe) => {
|
|
24740
24740
|
const dt = Oe.cyclic ? fw : hT;
|
|
24741
|
-
return C(
|
|
24742
|
-
}, N = (
|
|
24741
|
+
return C(Ce, ve, Oe, dt);
|
|
24742
|
+
}, N = (Ce) => Vl(Ce).bind(hi).exists((ve) => zo(ve, Ce)), H = (Ce, ve, Oe) => d(Ce, Oe).filter((dt) => !Oe.useTabstopAt(dt)).bind((dt) => (N(dt) ? E : $)(Ce, ve, Oe)), W = (Ce, ve, Oe) => Oe.onEnter.bind((dt) => dt(Ce, ve)), Q = (Ce, ve, Oe) => Oe.onEscape.bind((dt) => dt(Ce, ve)), de = ae([
|
|
24743
24743
|
$o($i([
|
|
24744
24744
|
cf,
|
|
24745
24745
|
ko(af)
|
|
@@ -25542,7 +25542,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25542
25542
|
triggeringItem: jt,
|
|
25543
25543
|
triggeringPath: vt
|
|
25544
25544
|
})))), N = (Je, Ge) => {
|
|
25545
|
-
const vt = so(
|
|
25545
|
+
const vt = so(Ce(Je).toArray(), (At) => de(At).isSome());
|
|
25546
25546
|
return bt(a.get(), Je).bind((At) => {
|
|
25547
25547
|
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)]));
|
|
25548
25548
|
return ts(jt);
|
|
@@ -25550,7 +25550,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25550
25550
|
}, H = (Je) => bt(t.get(), Je).map((Ge) => {
|
|
25551
25551
|
const vt = bt(a.get(), Je).getOr([]);
|
|
25552
25552
|
return [Ge].concat(vt);
|
|
25553
|
-
}), W = (Je) => bt(a.get(), Je).bind((Ge) => Ge.length > 1 ? D.some(Ge.slice(1)) : D.none()), Q = (Je) => bt(a.get(), Je), de = (Je) => Me(Je).bind(Nv), Me = (Je) => bt(s.get(), Je),
|
|
25553
|
+
}), W = (Je) => bt(a.get(), Je).bind((Ge) => Ge.length > 1 ? D.some(Ge.slice(1)) : D.none()), Q = (Je) => bt(a.get(), Je), de = (Je) => Me(Je).bind(Nv), Me = (Je) => bt(s.get(), Je), Ce = (Je) => bt(t.get(), Je);
|
|
25554
25554
|
return {
|
|
25555
25555
|
setMenuBuilt: w,
|
|
25556
25556
|
setContents: C,
|
|
@@ -25558,7 +25558,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25558
25558
|
refresh: Q,
|
|
25559
25559
|
collapse: W,
|
|
25560
25560
|
lookupMenu: Me,
|
|
25561
|
-
lookupItem:
|
|
25561
|
+
lookupItem: Ce,
|
|
25562
25562
|
otherMenus: (Je) => {
|
|
25563
25563
|
const Ge = d.get();
|
|
25564
25564
|
return zt(bs(Ge), Je);
|
|
@@ -25650,7 +25650,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25650
25650
|
(function(Dt) {
|
|
25651
25651
|
Dt[Dt.HighlightSubmenu = 0] = "HighlightSubmenu", Dt[Dt.HighlightParent = 1] = "HighlightParent";
|
|
25652
25652
|
})(Me || (Me = {}));
|
|
25653
|
-
const
|
|
25653
|
+
const Ce = (Dt, en, On) => {
|
|
25654
25654
|
if (On.type === "notbuilt") {
|
|
25655
25655
|
const Pn = Dt.getSystem().build(On.nbMenu());
|
|
25656
25656
|
return d.setMenuBuilt(en, Pn), Pn;
|
|
@@ -25662,7 +25662,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25662
25662
|
{
|
|
25663
25663
|
const Pn = p(en);
|
|
25664
25664
|
return d.expand(Pn).bind((yn) => (Q(Dt, yn), D.from(yn[0]).bind((Hn) => d.lookupMenu(Hn).bind((ks) => {
|
|
25665
|
-
const Mo =
|
|
25665
|
+
const Mo = Ce(Dt, Hn, ks);
|
|
25666
25666
|
return po(Mo.element) || Fn.append(Dt, Ti(Mo)), t.onOpenSubmenu(Dt, en, Mo, qo(yn)), On === Me.HighlightSubmenu ? (Ho.highlightFirst(Mo), de(Dt, d, yn)) : (Ho.dehighlightAll(Mo), D.some(en));
|
|
25667
25667
|
}))));
|
|
25668
25668
|
}
|
|
@@ -26769,7 +26769,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26769
26769
|
return s.isSupported = !1, s;
|
|
26770
26770
|
const a = t.document, c = a.currentScript;
|
|
26771
26771
|
let { document: d } = t;
|
|
26772
|
-
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, de = Cw(Q, "cloneNode"), Me = Cw(Q, "nextSibling"),
|
|
26772
|
+
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, de = Cw(Q, "cloneNode"), Me = Cw(Q, "nextSibling"), Ce = Cw(Q, "childNodes"), ve = Cw(Q, "parentNode");
|
|
26773
26773
|
if (typeof p == "function") {
|
|
26774
26774
|
const wo = d.createElement("template");
|
|
26775
26775
|
wo.content && wo.content.ownerDocument && (d = wo.content.ownerDocument);
|
|
@@ -27006,7 +27006,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
27006
27006
|
if (!bl[Bn] && QG(Bn) && (Mo.tagNameCheck instanceof RegExp && yd(Mo.tagNameCheck, Bn) || Mo.tagNameCheck instanceof Function && Mo.tagNameCheck(Bn)))
|
|
27007
27007
|
return !1;
|
|
27008
27008
|
if (_j && !k4[Bn]) {
|
|
27009
|
-
const ca = ve(Ue) || Ue.parentNode, Wi =
|
|
27009
|
+
const ca = ve(Ue) || Ue.parentNode, Wi = Ce(Ue) || Ue.childNodes;
|
|
27010
27010
|
if (Wi && ca) {
|
|
27011
27011
|
const Tg = Wi.length;
|
|
27012
27012
|
for (let Pl = Tg - 1; Pl >= 0; --Pl)
|
|
@@ -27387,16 +27387,16 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
27387
27387
|
const Q = {
|
|
27388
27388
|
close: $,
|
|
27389
27389
|
reposition: () => {
|
|
27390
|
-
const de = Ti(N), Me = { maxHeightFunction: kp() },
|
|
27391
|
-
if (
|
|
27390
|
+
const de = Ti(N), Me = { maxHeightFunction: kp() }, Ce = t.notificationManager.getNotifications();
|
|
27391
|
+
if (Ce[0] === Q) {
|
|
27392
27392
|
const ve = {
|
|
27393
27393
|
...c.anchors.banner(),
|
|
27394
27394
|
overrides: Me
|
|
27395
27395
|
};
|
|
27396
27396
|
dr.showWithinBounds(H, de, { anchor: ve }, d);
|
|
27397
27397
|
} else
|
|
27398
|
-
Pe(
|
|
27399
|
-
const Oe =
|
|
27398
|
+
Pe(Ce, Q).each((ve) => {
|
|
27399
|
+
const Oe = Ce[ve - 1].getEl(), dt = {
|
|
27400
27400
|
type: "node",
|
|
27401
27401
|
root: Vs(),
|
|
27402
27402
|
node: D.some(Ae.fromDom(Oe)),
|
|
@@ -29769,8 +29769,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29769
29769
|
fireDismissalEventInstead: {},
|
|
29770
29770
|
inlineBehaviours: xt([Un("dismissAutocompleter", [
|
|
29771
29771
|
Qe(If(), () => $()),
|
|
29772
|
-
Qe(P0(), (Me,
|
|
29773
|
-
I(
|
|
29772
|
+
Qe(P0(), (Me, Ce) => {
|
|
29773
|
+
I(Ce.event.target, "id").each((ve) => It(Ae.fromDom(t.getBody()), "aria-activedescendant", ve));
|
|
29774
29774
|
})
|
|
29775
29775
|
])]),
|
|
29776
29776
|
lazySink: s.getSink
|
|
@@ -29778,12 +29778,12 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29778
29778
|
if (p()) {
|
|
29779
29779
|
dr.hide(g), t.dom.remove(a, !1);
|
|
29780
29780
|
const Me = Ae.fromDom(t.getBody());
|
|
29781
|
-
I(Me, "aria-owns").filter((
|
|
29781
|
+
I(Me, "aria-owns").filter((Ce) => Ce === a).each(() => {
|
|
29782
29782
|
le(Me, "aria-owns"), le(Me, "aria-activedescendant");
|
|
29783
29783
|
});
|
|
29784
29784
|
}
|
|
29785
29785
|
}, E = () => dr.getContent(g).bind((Me) => ps(Me.components(), 0)), $ = () => t.execCommand("mceAutocompleterClose"), N = (Me) => {
|
|
29786
|
-
const
|
|
29786
|
+
const Ce = nr(Me, (ve) => D.from(ve.columns)).getOr(1);
|
|
29787
29787
|
return Te(Me, (ve) => {
|
|
29788
29788
|
const Oe = ve.items;
|
|
29789
29789
|
return gF(Oe, ve.matchText, (dt, Je) => {
|
|
@@ -29797,9 +29797,9 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29797
29797
|
};
|
|
29798
29798
|
c.set(!0), ve.onAction(At, vt, dt, Je), c.set(!1);
|
|
29799
29799
|
});
|
|
29800
|
-
},
|
|
29800
|
+
}, Ce, ff.BUBBLE_TO_SANDBOX, s, ve.highlightOn);
|
|
29801
29801
|
});
|
|
29802
|
-
}, H = (Me,
|
|
29802
|
+
}, H = (Me, Ce) => {
|
|
29803
29803
|
kI(Ae.fromDom(t.getBody())).each((ve) => {
|
|
29804
29804
|
const Oe = nr(Me, (dt) => D.from(dt.columns)).getOr(1);
|
|
29805
29805
|
dr.showMenuAt(g, {
|
|
@@ -29808,14 +29808,14 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29808
29808
|
root: Ae.fromDom(t.getBody()),
|
|
29809
29809
|
node: D.from(ve)
|
|
29810
29810
|
}
|
|
29811
|
-
}, hF(fS("autocompleter-value", !0,
|
|
29811
|
+
}, hF(fS("autocompleter-value", !0, Ce, Oe, { menuType: "normal" }), Oe, Kw.ContentFocus, "normal"));
|
|
29812
29812
|
}), E().each(Ho.highlightFirst);
|
|
29813
29813
|
}, W = (Me) => {
|
|
29814
|
-
const
|
|
29815
|
-
|
|
29814
|
+
const Ce = N(Me);
|
|
29815
|
+
Ce.length > 0 ? (H(Me, Ce), It(Ae.fromDom(t.getBody()), "aria-owns", a), t.inline || Q()) : C();
|
|
29816
29816
|
}, Q = () => {
|
|
29817
29817
|
t.dom.get(a) && t.dom.remove(a, !1);
|
|
29818
|
-
const Me = t.getDoc().documentElement,
|
|
29818
|
+
const Me = t.getDoc().documentElement, Ce = t.selection.getNode(), ve = P4(g.element);
|
|
29819
29819
|
Ms(ve, {
|
|
29820
29820
|
border: "0",
|
|
29821
29821
|
clip: "rect(0 0 0 0)",
|
|
@@ -29825,8 +29825,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29825
29825
|
padding: "0",
|
|
29826
29826
|
position: "absolute",
|
|
29827
29827
|
width: "1px",
|
|
29828
|
-
top: `${
|
|
29829
|
-
left: `${
|
|
29828
|
+
top: `${Ce.offsetTop}px`,
|
|
29829
|
+
left: `${Ce.offsetLeft}px`
|
|
29830
29830
|
}), t.dom.add(Me, ve.dom), Ir(ve, '[role="menu"]').each((Oe) => {
|
|
29831
29831
|
Co(Oe, "position"), Co(Oe, "max-height");
|
|
29832
29832
|
});
|
|
@@ -30110,86 +30110,86 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
30110
30110
|
Re("eventOrder", {})
|
|
30111
30111
|
]
|
|
30112
30112
|
}), IS = (t) => {
|
|
30113
|
-
const s = (
|
|
30114
|
-
triggerEvent: (
|
|
30113
|
+
const s = (Ce) => ta(t.element).fold(Nt, (ve) => zo(Ce, ve)), a = B6(), c = (Ce, ve) => a.find(s, Ce, ve), d = _F(t.element, {
|
|
30114
|
+
triggerEvent: (Ce, ve) => Wb(Ce, ve.target, (Oe) => b5(c, Ce, ve, Oe))
|
|
30115
30115
|
}), g = {
|
|
30116
30116
|
debugInfo: ae("real"),
|
|
30117
|
-
triggerEvent: (
|
|
30118
|
-
Wb(
|
|
30117
|
+
triggerEvent: (Ce, ve, Oe) => {
|
|
30118
|
+
Wb(Ce, ve, (dt) => M6(c, Ce, Oe, ve, dt));
|
|
30119
30119
|
},
|
|
30120
|
-
triggerFocus: (
|
|
30121
|
-
L0(
|
|
30122
|
-
Oc(
|
|
30120
|
+
triggerFocus: (Ce, ve) => {
|
|
30121
|
+
L0(Ce).fold(() => {
|
|
30122
|
+
Oc(Ce);
|
|
30123
30123
|
}, (Oe) => {
|
|
30124
|
-
Wb(ld(),
|
|
30124
|
+
Wb(ld(), Ce, (dt) => (kF(c, ld(), {
|
|
30125
30125
|
originator: ve,
|
|
30126
30126
|
kill: he,
|
|
30127
30127
|
prevent: he,
|
|
30128
|
-
target:
|
|
30129
|
-
},
|
|
30128
|
+
target: Ce
|
|
30129
|
+
}, Ce, dt), !1));
|
|
30130
30130
|
});
|
|
30131
30131
|
},
|
|
30132
|
-
triggerEscape: (
|
|
30133
|
-
g.triggerEvent("keydown",
|
|
30132
|
+
triggerEscape: (Ce, ve) => {
|
|
30133
|
+
g.triggerEvent("keydown", Ce.element, ve.event);
|
|
30134
30134
|
},
|
|
30135
|
-
getByUid: (
|
|
30136
|
-
getByDom: (
|
|
30135
|
+
getByUid: (Ce) => de(Ce),
|
|
30136
|
+
getByDom: (Ce) => Me(Ce),
|
|
30137
30137
|
build: Tl,
|
|
30138
30138
|
buildOrPatch: Vb,
|
|
30139
|
-
addToGui: (
|
|
30140
|
-
C(
|
|
30139
|
+
addToGui: (Ce) => {
|
|
30140
|
+
C(Ce);
|
|
30141
30141
|
},
|
|
30142
|
-
removeFromGui: (
|
|
30143
|
-
E(
|
|
30142
|
+
removeFromGui: (Ce) => {
|
|
30143
|
+
E(Ce);
|
|
30144
30144
|
},
|
|
30145
|
-
addToWorld: (
|
|
30146
|
-
p(
|
|
30145
|
+
addToWorld: (Ce) => {
|
|
30146
|
+
p(Ce);
|
|
30147
30147
|
},
|
|
30148
|
-
removeFromWorld: (
|
|
30149
|
-
w(
|
|
30148
|
+
removeFromWorld: (Ce) => {
|
|
30149
|
+
w(Ce);
|
|
30150
30150
|
},
|
|
30151
|
-
broadcast: (
|
|
30152
|
-
H(
|
|
30151
|
+
broadcast: (Ce) => {
|
|
30152
|
+
H(Ce);
|
|
30153
30153
|
},
|
|
30154
|
-
broadcastOn: (
|
|
30155
|
-
W(
|
|
30154
|
+
broadcastOn: (Ce, ve) => {
|
|
30155
|
+
W(Ce, ve);
|
|
30156
30156
|
},
|
|
30157
|
-
broadcastEvent: (
|
|
30158
|
-
Q(
|
|
30157
|
+
broadcastEvent: (Ce, ve) => {
|
|
30158
|
+
Q(Ce, ve);
|
|
30159
30159
|
},
|
|
30160
30160
|
isConnected: Nt
|
|
30161
|
-
}, p = (
|
|
30162
|
-
|
|
30163
|
-
}, w = (
|
|
30164
|
-
ea(
|
|
30165
|
-
}, C = (
|
|
30166
|
-
eg(t,
|
|
30167
|
-
}, E = (
|
|
30168
|
-
tm(
|
|
30161
|
+
}, p = (Ce) => {
|
|
30162
|
+
Ce.connect(g), ea(Ce.element) || (a.register(Ce), pt(Ce.components(), p), g.triggerEvent(Bf(), Ce.element, { target: Ce.element }));
|
|
30163
|
+
}, w = (Ce) => {
|
|
30164
|
+
ea(Ce.element) || (pt(Ce.components(), w), a.unregister(Ce)), Ce.disconnect();
|
|
30165
|
+
}, C = (Ce) => {
|
|
30166
|
+
eg(t, Ce);
|
|
30167
|
+
}, E = (Ce) => {
|
|
30168
|
+
tm(Ce);
|
|
30169
30169
|
}, $ = () => {
|
|
30170
30170
|
d.unbind(), Tc(t.element);
|
|
30171
|
-
}, N = (
|
|
30171
|
+
}, N = (Ce) => {
|
|
30172
30172
|
const ve = a.filter(th());
|
|
30173
30173
|
pt(ve, (Oe) => {
|
|
30174
30174
|
const dt = Oe.descHandler;
|
|
30175
|
-
ap(dt)(
|
|
30175
|
+
ap(dt)(Ce);
|
|
30176
30176
|
});
|
|
30177
|
-
}, H = (
|
|
30177
|
+
}, H = (Ce) => {
|
|
30178
30178
|
N({
|
|
30179
30179
|
universal: !0,
|
|
30180
|
-
data:
|
|
30180
|
+
data: Ce
|
|
30181
30181
|
});
|
|
30182
|
-
}, W = (
|
|
30182
|
+
}, W = (Ce, ve) => {
|
|
30183
30183
|
N({
|
|
30184
30184
|
universal: !1,
|
|
30185
|
-
channels:
|
|
30185
|
+
channels: Ce,
|
|
30186
30186
|
data: ve
|
|
30187
30187
|
});
|
|
30188
|
-
}, Q = (
|
|
30189
|
-
const Oe = a.filter(
|
|
30188
|
+
}, Q = (Ce, ve) => {
|
|
30189
|
+
const Oe = a.filter(Ce);
|
|
30190
30190
|
return TF(Oe, ve);
|
|
30191
|
-
}, de = (
|
|
30192
|
-
const ve = L0(
|
|
30191
|
+
}, de = (Ce) => a.getById(Ce).fold(() => Vn.error(new Error('Could not find component with uid: "' + Ce + '" in system.')), Vn.value), Me = (Ce) => {
|
|
30192
|
+
const ve = L0(Ce).getOr("not found");
|
|
30193
30193
|
return de(ve);
|
|
30194
30194
|
};
|
|
30195
30195
|
return p(t), {
|
|
@@ -30351,8 +30351,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
30351
30351
|
"-": " "
|
|
30352
30352
|
}, vt = Oe.replace(/\_| \- |\-/g, (Wn) => Ge[Wn]);
|
|
30353
30353
|
return `<div class="tox-collection__item${s.isDisabled() ? " tox-collection__item--state-disabled" : ""}" tabindex="-1" data-collection-item-value="${PF.encodeAllRaw(ve.value)}" title="${vt}" aria-label="${vt}">${Je}${dt}</div>`;
|
|
30354
|
-
}), Me = t.columns !== "auto" && t.columns > 1 ? br(de, t.columns) : [de],
|
|
30355
|
-
nh(W.element,
|
|
30354
|
+
}), Me = t.columns !== "auto" && t.columns > 1 ? br(de, t.columns) : [de], Ce = tt(Me, (ve) => `<div class="tox-collection__group">${ve.join("")}</div>`);
|
|
30355
|
+
nh(W.element, Ce.join(""));
|
|
30356
30356
|
}, C = p((W, Q, de, Me) => {
|
|
30357
30357
|
Q.stop(), s.isDisabled() || dn(W, hg, {
|
|
30358
30358
|
name: t.name,
|
|
@@ -30751,8 +30751,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
30751
30751
|
if (d > H)
|
|
30752
30752
|
return de;
|
|
30753
30753
|
{
|
|
30754
|
-
const Me = h9(d, N, H),
|
|
30755
|
-
return p &&
|
|
30754
|
+
const Me = h9(d, N, H), Ce = J6(Me / W * c + s, Q, de);
|
|
30755
|
+
return p && Ce >= s && Ce <= a ? g9(Ce, s, a, g, w) : C ? Math.round(Ce) : Ce;
|
|
30756
30756
|
}
|
|
30757
30757
|
}, eM = (t) => {
|
|
30758
30758
|
const { min: s, max: a, range: c, value: d, hasMinEdge: g, hasMaxEdge: p, maxBound: w, maxOffset: C, centerMinEdge: E, centerMaxEdge: $ } = t;
|
|
@@ -31049,7 +31049,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31049
31049
|
N.setToMin(Je, t);
|
|
31050
31050
|
}, Me = (Je) => {
|
|
31051
31051
|
N.setToMax(Je, t);
|
|
31052
|
-
},
|
|
31052
|
+
}, Ce = (Je) => {
|
|
31053
31053
|
const Ge = () => {
|
|
31054
31054
|
_s(Je, t, "thumb").each((At) => {
|
|
31055
31055
|
const Wn = $.value.get();
|
|
@@ -31060,7 +31060,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31060
31060
|
}, ve = (Je, Ge) => {
|
|
31061
31061
|
Ge.stop(), t.mouseIsDown.set(!0), t.onDragStart(Je, d(Je));
|
|
31062
31062
|
}, Oe = (Je, Ge) => {
|
|
31063
|
-
Ge.stop(), t.onDragEnd(Je, d(Je)),
|
|
31063
|
+
Ge.stop(), t.onDragEnd(Je, d(Je)), Ce(Je);
|
|
31064
31064
|
}, dt = (Je) => {
|
|
31065
31065
|
_s(Je, t, "spectrum").map(mn.focusIn);
|
|
31066
31066
|
};
|
|
@@ -31080,7 +31080,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31080
31080
|
setValue: W
|
|
31081
31081
|
}
|
|
31082
31082
|
}),
|
|
31083
|
-
Dc.config({ channels: { [G2()]: { onReceive:
|
|
31083
|
+
Dc.config({ channels: { [G2()]: { onReceive: Ce } } })
|
|
31084
31084
|
]),
|
|
31085
31085
|
events: As([
|
|
31086
31086
|
Qe(sy(), (Je, Ge) => {
|
|
@@ -31234,7 +31234,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31234
31234
|
validateOnLoad: !1
|
|
31235
31235
|
}
|
|
31236
31236
|
}), g = (H, W, Q, de, Me) => {
|
|
31237
|
-
const
|
|
31237
|
+
const Ce = t(iy + "range"), ve = Qo.parts.label({
|
|
31238
31238
|
dom: {
|
|
31239
31239
|
tag: "label",
|
|
31240
31240
|
attributes: { "aria-label": de }
|
|
@@ -31258,7 +31258,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31258
31258
|
}), dt = [
|
|
31259
31259
|
ve,
|
|
31260
31260
|
Oe
|
|
31261
|
-
], Je = W !== "hex" ? [Qo.parts["aria-descriptor"]({ text:
|
|
31261
|
+
], Je = W !== "hex" ? [Qo.parts["aria-descriptor"]({ text: Ce })] : [], Ge = dt.concat(Je);
|
|
31262
31262
|
return {
|
|
31263
31263
|
dom: {
|
|
31264
31264
|
tag: "div",
|
|
@@ -31299,10 +31299,10 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31299
31299
|
hex: gn(D.some("ffffff"))
|
|
31300
31300
|
}, W = (Sn, Yo) => {
|
|
31301
31301
|
const bn = Zw(Yo);
|
|
31302
|
-
w(Sn, bn),
|
|
31302
|
+
w(Sn, bn), Ce(bn);
|
|
31303
31303
|
}, Q = (Sn) => H[Sn].get(), de = (Sn, Yo) => {
|
|
31304
31304
|
H[Sn].set(Yo);
|
|
31305
|
-
}, Me = () => Q("red").bind((Sn) => Q("green").bind((Yo) => Q("blue").map((bn) => n0(Sn, Yo, bn, 1)))),
|
|
31305
|
+
}, Me = () => Q("red").bind((Sn) => Q("green").bind((Yo) => Q("blue").map((bn) => n0(Sn, Yo, bn, 1)))), Ce = (Sn) => {
|
|
31306
31306
|
const Yo = Sn.red, bn = Sn.green, Ro = Sn.blue;
|
|
31307
31307
|
de("red", D.some(Yo)), de("green", D.some(bn)), de("blue", D.some(Ro));
|
|
31308
31308
|
}, ve = (Sn, Yo) => {
|
|
@@ -31313,7 +31313,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31313
31313
|
const bn = N$(Yo);
|
|
31314
31314
|
de("hex", D.some(bn.value));
|
|
31315
31315
|
const Ro = Zw(bn);
|
|
31316
|
-
w(Sn, Ro),
|
|
31316
|
+
w(Sn, Ro), Ce(Ro), dn(Sn, ax, { hex: bn }), E(Sn, bn);
|
|
31317
31317
|
}, dt = (Sn, Yo, bn) => {
|
|
31318
31318
|
const Ro = parseInt(bn, 10);
|
|
31319
31319
|
de(Yo, D.some(Ro)), Me().each((Dt) => {
|
|
@@ -31413,7 +31413,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31413
31413
|
Math.floor(Me.x),
|
|
31414
31414
|
Math.floor(100 - Me.y)
|
|
31415
31415
|
])), dn(Q, lx, { value: Me });
|
|
31416
|
-
}, H = (Q, de, Me,
|
|
31416
|
+
}, H = (Q, de, Me, Ce) => {
|
|
31417
31417
|
d(Me.element.dom, WE(Cd));
|
|
31418
31418
|
}, W = xt([
|
|
31419
31419
|
yo.config({ find: D.some }),
|
|
@@ -31479,11 +31479,11 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31479
31479
|
N.getOpt(Ge).each((At) => {
|
|
31480
31480
|
p.setThumb(At, vt);
|
|
31481
31481
|
});
|
|
31482
|
-
},
|
|
31482
|
+
}, Ce = (Ge, vt) => {
|
|
31483
31483
|
const At = Zw(Ge);
|
|
31484
31484
|
E.paletteRgba.set(At), E.paletteHue.set(vt);
|
|
31485
31485
|
}, ve = (Ge, vt, At, Wn) => {
|
|
31486
|
-
|
|
31486
|
+
Ce(vt, At), pt(Wn, (jt) => {
|
|
31487
31487
|
jt(Ge, vt, At);
|
|
31488
31488
|
});
|
|
31489
31489
|
}, Oe = () => {
|
|
@@ -32605,8 +32605,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
32605
32605
|
}),
|
|
32606
32606
|
Ea(),
|
|
32607
32607
|
Un("size-input-events2", [Qe(c, (N, H) => {
|
|
32608
|
-
const W = H.event.isField1, Q = W ? Li.getField1(N) : Li.getField2(N), de = W ? Li.getField2(N) : Li.getField1(N), Me = Q.map(Vt.getValue).getOr(""),
|
|
32609
|
-
a = wH(Me,
|
|
32608
|
+
const W = H.event.isField1, Q = W ? Li.getField1(N) : Li.getField2(N), de = W ? Li.getField2(N) : Li.getField1(N), Me = Q.map(Vt.getValue).getOr(""), Ce = de.map(Vt.getValue).getOr("");
|
|
32609
|
+
a = wH(Me, Ce);
|
|
32610
32610
|
})])
|
|
32611
32611
|
])
|
|
32612
32612
|
});
|
|
@@ -33331,8 +33331,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
33331
33331
|
BS(t, p(N), N, Q, c, de, Bc.HighlightMenuAndItem).get(he);
|
|
33332
33332
|
}
|
|
33333
33333
|
}, g = pE(t), p = (N) => (H) => H.map((W) => {
|
|
33334
|
-
const Q = Gi(W.menus), de = Te(Q, (
|
|
33335
|
-
return Vt.getState(N).update(tt(de, (
|
|
33334
|
+
const Q = Gi(W.menus), de = Te(Q, (Ce) => so(Ce.items, (ve) => ve.type === "item"));
|
|
33335
|
+
return Vt.getState(N).update(tt(de, (Ce) => Ce.data)), W;
|
|
33336
33336
|
}), w = (N) => yo.getCurrent(N), C = "typeaheadevents", E = [
|
|
33337
33337
|
_n.config({}),
|
|
33338
33338
|
Vt.config({
|
|
@@ -33359,9 +33359,9 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
33359
33359
|
onStream: (N, H) => {
|
|
33360
33360
|
const W = Fr.getCoupled(N, "sandbox");
|
|
33361
33361
|
if (_n.isFocused(N) && qd(N.element).length >= t.minChars) {
|
|
33362
|
-
const de = w(W).bind((
|
|
33362
|
+
const de = w(W).bind((Ce) => Ho.getHighlighted(Ce).map(Vt.getValue));
|
|
33363
33363
|
t.previewing.set(!0);
|
|
33364
|
-
const Me = (
|
|
33364
|
+
const Me = (Ce) => {
|
|
33365
33365
|
w(W).each((ve) => {
|
|
33366
33366
|
de.fold(() => {
|
|
33367
33367
|
t.model.selectsOver && Ho.highlightFirst(ve);
|
|
@@ -33646,8 +33646,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
33646
33646
|
}, H = [], W = s.translate(t.text.getOr("")), Q = Sr(W), Me = [
|
|
33647
33647
|
...Jv([d.map((ve) => ve.asSpec())]),
|
|
33648
33648
|
...t.text.isSome() ? [Q] : []
|
|
33649
|
-
],
|
|
33650
|
-
return Ja.sketch(
|
|
33649
|
+
], Ce = gk(w, D.some(g), H, N, Me, s);
|
|
33650
|
+
return Ja.sketch(Ce);
|
|
33651
33651
|
}, hk = (t, s, a) => {
|
|
33652
33652
|
if (UH(t, s)) {
|
|
33653
33653
|
const c = () => p, d = t, g = {
|
|
@@ -33853,7 +33853,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
33853
33853
|
[Q.asSpec()],
|
|
33854
33854
|
H.map(() => de.asSpec()).toArray()
|
|
33855
33855
|
])
|
|
33856
|
-
}),
|
|
33856
|
+
}), Ce = (ve) => {
|
|
33857
33857
|
yo.getCurrent(ve).each((Oe) => {
|
|
33858
33858
|
const dt = Vt.getValue(Oe), Je = {
|
|
33859
33859
|
fieldname: t.name,
|
|
@@ -33880,7 +33880,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
33880
33880
|
}
|
|
33881
33881
|
}),
|
|
33882
33882
|
Ea(),
|
|
33883
|
-
Un("url-input-events", [Qe(W,
|
|
33883
|
+
Un("url-input-events", [Qe(W, Ce)])
|
|
33884
33884
|
])
|
|
33885
33885
|
});
|
|
33886
33886
|
}, xA = (t, s) => {
|
|
@@ -34575,7 +34575,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
34575
34575
|
});
|
|
34576
34576
|
}, de = (Ge) => c(Ud(), C2(Ge)), Me = (Ge) => {
|
|
34577
34577
|
d(ph(), {}), c(id(), C2(Ge));
|
|
34578
|
-
},
|
|
34578
|
+
}, Ce = Ie(Ae.fromDom(t.getElement())), ve = Qb(Ce, "scroll", (Ge) => {
|
|
34579
34579
|
requestAnimationFrame(() => {
|
|
34580
34580
|
const vt = t.getContainer();
|
|
34581
34581
|
if (vt != null) {
|
|
@@ -34620,8 +34620,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
34620
34620
|
const $ = Fn.contents(E), N = C.length, H = N - $.length, W = H > 0 ? ho(H, () => t.makeItem()) : [], Q = $.slice(N);
|
|
34621
34621
|
pt(Q, (Me) => Fn.remove(E, Me)), pt(W, (Me) => Fn.append(E, Me));
|
|
34622
34622
|
const de = Fn.contents(E);
|
|
34623
|
-
pt(de, (Me,
|
|
34624
|
-
t.setupItem(w, Me, C[
|
|
34623
|
+
pt(de, (Me, Ce) => {
|
|
34624
|
+
t.setupItem(w, Me, C[Ce], Ce);
|
|
34625
34625
|
});
|
|
34626
34626
|
});
|
|
34627
34627
|
}, g = t.shell ? {
|
|
@@ -34962,8 +34962,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
34962
34962
|
if (de && E < Q)
|
|
34963
34963
|
Lg(g.left, E - H, a);
|
|
34964
34964
|
else if (Me && $ > W) {
|
|
34965
|
-
const
|
|
34966
|
-
Lg(g.left,
|
|
34965
|
+
const Ce = E - d + C + H;
|
|
34966
|
+
Lg(g.left, Ce, a);
|
|
34967
34967
|
}
|
|
34968
34968
|
}, Ek = (t, s) => no(sr.getModes(t), s), X1 = (t) => {
|
|
34969
34969
|
const s = (c) => Md(c) + (parseInt(ls(c, "margin-top"), 10) || 0) + (parseInt(ls(c, "margin-bottom"), 10) || 0), a = t.element;
|
|
@@ -35228,20 +35228,20 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
35228
35228
|
}));
|
|
35229
35229
|
return lw(hP, fz, d, hz, a);
|
|
35230
35230
|
}, hz = (t, s) => {
|
|
35231
|
-
const a = (de) => ow(t), c = (de, Me) => _s(de, t, Me), d = (de, Me) => (
|
|
35232
|
-
pt(
|
|
35231
|
+
const a = (de) => ow(t), c = (de, Me) => _s(de, t, Me), d = (de, Me) => (Ce, ve) => _s(Ce, t, ve).map((Oe) => de(Oe, ve)).getOr(Me), g = (de) => (Me, Ce) => {
|
|
35232
|
+
pt(Ce, (ve) => de(Me, ve));
|
|
35233
35233
|
}, p = (de, Me) => js(de.element, "aria-hidden") !== "true", w = (de, Me) => {
|
|
35234
35234
|
if (!p(de)) {
|
|
35235
|
-
const
|
|
35236
|
-
Co(
|
|
35235
|
+
const Ce = de.element;
|
|
35236
|
+
Co(Ce, "display"), le(Ce, "aria-hidden"), dn(de, M0(), {
|
|
35237
35237
|
name: Me,
|
|
35238
35238
|
visible: !0
|
|
35239
35239
|
});
|
|
35240
35240
|
}
|
|
35241
35241
|
}, C = (de, Me) => {
|
|
35242
35242
|
if (p(de)) {
|
|
35243
|
-
const
|
|
35244
|
-
Yt(
|
|
35243
|
+
const Ce = de.element;
|
|
35244
|
+
Yt(Ce, "display", "none"), It(Ce, "aria-hidden", "true"), dn(de, M0(), {
|
|
35245
35245
|
name: Me,
|
|
35246
35246
|
visible: !1
|
|
35247
35247
|
});
|
|
@@ -36164,7 +36164,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
36164
36164
|
tag: "button",
|
|
36165
36165
|
classes: E.concat(...t.icon.isSome() && !de ? ["tox-button--icon"] : []).concat(...de ? ["tox-button--icon-and-text"] : []).concat(...t.borderless ? ["tox-button--naked"] : []).concat(...t.type === "togglebutton" && t.active ? ["tox-button--enabled"] : []),
|
|
36166
36166
|
attributes: H
|
|
36167
|
-
},
|
|
36167
|
+
}, Ce = [], ve = gk(C, D.some(w), Ce, Me, Q, s);
|
|
36168
36168
|
return Ja.sketch(ve);
|
|
36169
36169
|
}, lD = (t, s) => qz(t, s), vy = (t, s) => ({
|
|
36170
36170
|
dom: {
|
|
@@ -37042,7 +37042,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
37042
37042
|
]
|
|
37043
37043
|
}
|
|
37044
37044
|
});
|
|
37045
|
-
}, de = Jo(Q((ve) => $(!1, ve), "minus", "Decrease font size", [])), Me = Jo(Q((ve) => N(!1, ve), "plus", "Increase font size", [])),
|
|
37045
|
+
}, de = Jo(Q((ve) => $(!1, ve), "minus", "Decrease font size", [])), Me = Jo(Q((ve) => N(!1, ve), "plus", "Increase font size", [])), Ce = Jo({
|
|
37046
37046
|
dom: {
|
|
37047
37047
|
tag: "div",
|
|
37048
37048
|
classes: ["tox-input-wrapper"]
|
|
@@ -37105,7 +37105,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
37105
37105
|
},
|
|
37106
37106
|
components: [
|
|
37107
37107
|
de.asSpec(),
|
|
37108
|
-
|
|
37108
|
+
Ce.asSpec(),
|
|
37109
37109
|
Me.asSpec()
|
|
37110
37110
|
],
|
|
37111
37111
|
behaviours: xt([
|
|
@@ -37810,9 +37810,9 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
37810
37810
|
return (de = Os.whichSidebar(C)) !== null && de !== void 0 ? de : "";
|
|
37811
37811
|
}), t.addCommand("ToggleView", (de, Me) => {
|
|
37812
37812
|
if (Os.toggleView(C, Me)) {
|
|
37813
|
-
const
|
|
37814
|
-
g.mothership.broadcastOn([pd()], { target:
|
|
37815
|
-
ve.broadcastOn([pd()], { target:
|
|
37813
|
+
const Ce = C.element;
|
|
37814
|
+
g.mothership.broadcastOn([pd()], { target: Ce }), pt(p, (ve) => {
|
|
37815
|
+
ve.broadcastOn([pd()], { target: Ce });
|
|
37816
37816
|
}), hn(Os.whichView(C)) && (t.focus(), t.nodeChanged(), Os.refreshToolbar(C));
|
|
37817
37817
|
}
|
|
37818
37818
|
}), t.addQueryValueHandler("ToggleView", () => {
|
|
@@ -37849,10 +37849,10 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
37849
37849
|
const s = Rw(t), a = qT(t), c = X_(t);
|
|
37850
37850
|
return _D(s).map((d) => Xk(d, a, c));
|
|
37851
37851
|
}, cW = (t) => DB(t).getOr(Rw(t)), { ToolbarLocation: nb, ToolbarMode: OB } = SI, iW = 40, uW = (t, s, a, c, d) => {
|
|
37852
|
-
const { mainUi: g, uiMotherships: p } = a, w = L1.DOM, C = Uv(t), E = Pw(t), $ = X_(t).or(DB(t)), N = c.shared.header, H = N.isPositionedAtTop, W = Hv(t), Q = W === OB.sliding || W === OB.floating, de = gn(!1), Me = () => de.get() && !t.removed,
|
|
37852
|
+
const { mainUi: g, uiMotherships: p } = a, w = L1.DOM, C = Uv(t), E = Pw(t), $ = X_(t).or(DB(t)), N = c.shared.header, H = N.isPositionedAtTop, W = Hv(t), Q = W === OB.sliding || W === OB.floating, de = gn(!1), Me = () => de.get() && !t.removed, Ce = (bn) => Q ? bn.fold(ae(0), (Ro) => Ro.components().length > 1 ? Us(Ro.components()[1].element) : 0) : 0, ve = (bn) => {
|
|
37853
37853
|
switch ($w(t)) {
|
|
37854
37854
|
case nb.auto:
|
|
37855
|
-
const Ro = Os.getToolbar(g.outerContainer), Dt =
|
|
37855
|
+
const Ro = Os.getToolbar(g.outerContainer), Dt = Ce(Ro), en = Us(bn.element) - Dt, On = Xs(s);
|
|
37856
37856
|
if (On.y > en)
|
|
37857
37857
|
return "top";
|
|
37858
37858
|
{
|
|
@@ -37881,7 +37881,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
37881
37881
|
});
|
|
37882
37882
|
}, Je = (bn) => {
|
|
37883
37883
|
d.on((Ro) => {
|
|
37884
|
-
const Dt = Os.getToolbar(g.outerContainer), en =
|
|
37884
|
+
const Dt = Os.getToolbar(g.outerContainer), en = Ce(Dt), On = Xs(s), { top: Pn, left: yn } = Ge(t, g.outerContainer.element).fold(() => ({
|
|
37885
37885
|
top: H() ? Math.max(On.y - Us(Ro.element) + en, 0) : On.bottom,
|
|
37886
37886
|
left: On.x
|
|
37887
37887
|
}), (Mo) => {
|
|
@@ -38395,7 +38395,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
38395
38395
|
const jt = $.element;
|
|
38396
38396
|
Co(jt, "display"), Q() ? Yt(jt, "display", "none") : (C.set(0), dr.reposition($));
|
|
38397
38397
|
}
|
|
38398
|
-
},
|
|
38398
|
+
}, Ce = (jt) => ({
|
|
38399
38399
|
dom: {
|
|
38400
38400
|
tag: "div",
|
|
38401
38401
|
classes: ["tox-pop__dialog"]
|
|
@@ -38414,7 +38414,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
38414
38414
|
])
|
|
38415
38415
|
}), ve = Gs(() => VB(s, (jt) => {
|
|
38416
38416
|
const Dn = Je([jt]);
|
|
38417
|
-
dn($, zB, { forwardContents:
|
|
38417
|
+
dn($, zB, { forwardContents: Ce(Dn) });
|
|
38418
38418
|
})), Oe = (jt, Dn) => qk(t, {
|
|
38419
38419
|
buttons: jt,
|
|
38420
38420
|
toolbar: Dn.items,
|
|
@@ -38445,7 +38445,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
38445
38445
|
const Sn = Je(jt), Yo = jt[0].position, bn = Ge(Yo, Dn);
|
|
38446
38446
|
E.set(Yo), C.set(1);
|
|
38447
38447
|
const Ro = $.element;
|
|
38448
|
-
Co(Ro, "display"), W(Dn) || (or(Ro, n4), Al.reset(a, $)), dr.showWithinBounds($,
|
|
38448
|
+
Co(Ro, "display"), W(Dn) || (or(Ro, n4), Al.reset(a, $)), dr.showWithinBounds($, Ce(Sn), {
|
|
38449
38449
|
anchor: bn,
|
|
38450
38450
|
transition: {
|
|
38451
38451
|
classes: [n4],
|
|
@@ -39626,14 +39626,14 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39626
39626
|
finish: vt
|
|
39627
39627
|
});
|
|
39628
39628
|
});
|
|
39629
|
-
}), W = b0(N), Q = b0(H), de = Tl(W.asSpec()), Me = Tl(Q.asSpec()),
|
|
39629
|
+
}), W = b0(N), Q = b0(H), de = Tl(W.asSpec()), Me = Tl(Q.asSpec()), Ce = (vt, At, Wn, jt) => {
|
|
39630
39630
|
const Dn = At.dom.getBoundingClientRect();
|
|
39631
39631
|
Co(vt.element, "display");
|
|
39632
39632
|
const Sn = Hl(Ae.fromDom(t.getBody())).dom.innerHeight, Yo = Wn(Dn), bn = jt(Dn, Sn);
|
|
39633
39633
|
(Yo || bn) && Yt(vt.element, "display", "none");
|
|
39634
39634
|
}, ve = (vt, At, Wn, jt) => {
|
|
39635
39635
|
const Dn = Wn(At);
|
|
39636
|
-
ab.snapTo(vt, Dn),
|
|
39636
|
+
ab.snapTo(vt, Dn), Ce(vt, At, (bn) => bn[jt] < 0, (bn, Ro) => bn[jt] > Ro);
|
|
39637
39637
|
}, Oe = (vt) => ve(de, vt, w, "top"), dt = () => g.get().each(Oe), Je = (vt) => ve(Me, vt, E, "bottom"), Ge = () => p.get().each(Je);
|
|
39638
39638
|
yi().deviceType.isTouch() && (t.on("TableSelectionChange", (vt) => {
|
|
39639
39639
|
d.get() || (eg(s, de), eg(s, Me), d.set(!0)), g.set(vt.start), p.set(vt.finish), vt.otherCells.each((At) => {
|
|
@@ -39918,7 +39918,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39918
39918
|
tag: "div",
|
|
39919
39919
|
classes: ["tox-bottom-anchorbar"]
|
|
39920
39920
|
}
|
|
39921
|
-
}),
|
|
39921
|
+
}), 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"), dt = g.lazyGetInOuterOrDie("anchor bar", de.getOpt), Je = g.lazyGetInOuterOrDie("bottom anchor bar", Me.getOpt), Ge = g.lazyGetInOuterOrDie("toolbar", Os.getToolbar), vt = g.lazyGetInOuterOrDie("throbber", Os.getThrobber), At = py({
|
|
39922
39922
|
popup: Oe,
|
|
39923
39923
|
dialog: ve
|
|
39924
39924
|
}, t, dt, Je), Wn = () => {
|
|
@@ -39946,7 +39946,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39946
39946
|
},
|
|
39947
39947
|
type: Q,
|
|
39948
39948
|
lazyToolbar: Ge,
|
|
39949
|
-
lazyHeader: () =>
|
|
39949
|
+
lazyHeader: () => Ce().getOrDie("Could not find header element"),
|
|
39950
39950
|
...yn
|
|
39951
39951
|
}), Mo = Os.parts["multiple-toolbar"]({
|
|
39952
39952
|
dom: {
|
|
@@ -40015,7 +40015,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40015
40015
|
].concat(H),
|
|
40016
40016
|
attributes: { ...Hu.isRtl() ? { dir: "rtl" } : {} }
|
|
40017
40017
|
},
|
|
40018
|
-
behaviours: xt([Al.config({ useFixed: () => d.isDocked(
|
|
40018
|
+
behaviours: xt([Al.config({ useFixed: () => d.isDocked(Ce) })])
|
|
40019
40019
|
}, Mo = {
|
|
40020
40020
|
dom: { styles: { width: document.body.clientWidth + "px" } },
|
|
40021
40021
|
events: As([Qe(id(), (Od) => {
|
|
@@ -40039,7 +40039,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40039
40039
|
attributes: { ...Hu.isRtl() ? { dir: "rtl" } : {} }
|
|
40040
40040
|
},
|
|
40041
40041
|
behaviours: xt([Al.config({
|
|
40042
|
-
useFixed: () => d.isDocked(
|
|
40042
|
+
useFixed: () => d.isDocked(Ce),
|
|
40043
40043
|
getBounds: () => s.getPopupSinkBounds()
|
|
40044
40044
|
})])
|
|
40045
40045
|
}, Hn = Tl(yn), ks = IS(Hn);
|
|
@@ -40130,7 +40130,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40130
40130
|
sidebar: xm,
|
|
40131
40131
|
views: S0
|
|
40132
40132
|
};
|
|
40133
|
-
Dt(Hn.outerContainer), Y8(t, Hn.mothership, Mo), d.setup(t, At.popup.shared,
|
|
40133
|
+
Dt(Hn.outerContainer), Y8(t, Hn.mothership, Mo), d.setup(t, At.popup.shared, Ce), XB(t, At.popup), aZ(t, At.popup.shared.getSink, At.popup), vP(t), Dz(t, vt, At.popup.shared), WB(t, Od, ks.sink, { backstage: At.popup }), IZ(t, ks.sink);
|
|
40134
40134
|
const Nh = t.getElement(), Kx = Ro(Hn.outerContainer), oO = {
|
|
40135
40135
|
targetNode: Nh,
|
|
40136
40136
|
height: Kx
|
|
@@ -41518,17 +41518,17 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41518
41518
|
de.getSystem().isConnected() && Q(de);
|
|
41519
41519
|
}, W = {
|
|
41520
41520
|
getData: () => {
|
|
41521
|
-
const Q = t.getRoot(), de = Q.getSystem().isConnected() ? t.getFormWrapper() : Q, Me = Vt.getValue(de),
|
|
41521
|
+
const Q = t.getRoot(), de = Q.getSystem().isConnected() ? t.getFormWrapper() : Q, Me = Vt.getValue(de), Ce = Ko(a, (ve) => ve.get());
|
|
41522
41522
|
return {
|
|
41523
41523
|
...Me,
|
|
41524
|
-
...
|
|
41524
|
+
...Ce
|
|
41525
41525
|
};
|
|
41526
41526
|
},
|
|
41527
41527
|
setData: (Q) => {
|
|
41528
41528
|
c((de) => {
|
|
41529
|
-
const Me = W.getData(),
|
|
41529
|
+
const Me = W.getData(), Ce = Go(Me, Q), ve = wm(t, Ce), Oe = t.getFormWrapper();
|
|
41530
41530
|
Vt.setValue(Oe, ve), ds(a, (dt, Je) => {
|
|
41531
|
-
xo(
|
|
41531
|
+
xo(Ce, Je) && dt.set(Ce[Je]);
|
|
41532
41532
|
});
|
|
41533
41533
|
});
|
|
41534
41534
|
},
|
|
@@ -41560,11 +41560,11 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41560
41560
|
},
|
|
41561
41561
|
redial: (Q) => {
|
|
41562
41562
|
c((de) => {
|
|
41563
|
-
const Me = t.getId(),
|
|
41564
|
-
de.getSystem().broadcastOn([`${dy}-${Me}`],
|
|
41565
|
-
...
|
|
41563
|
+
const Me = t.getId(), Ce = s(Q), ve = x4(Ce.internalDialog.buttons, a);
|
|
41564
|
+
de.getSystem().broadcastOn([`${dy}-${Me}`], Ce), de.getSystem().broadcastOn([`${vg}-${Me}`], Ce.internalDialog), de.getSystem().broadcastOn([`${sk}-${Me}`], Ce.internalDialog), de.getSystem().broadcastOn([`${K5}-${Me}`], {
|
|
41565
|
+
...Ce.internalDialog,
|
|
41566
41566
|
buttons: ve
|
|
41567
|
-
}), W.setData(
|
|
41567
|
+
}), W.setData(Ce.initialData);
|
|
41568
41568
|
});
|
|
41569
41569
|
},
|
|
41570
41570
|
close: () => {
|
|
@@ -41579,7 +41579,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41579
41579
|
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({
|
|
41580
41580
|
body: d.body,
|
|
41581
41581
|
initialData: d.initialData
|
|
41582
|
-
}, c, a), $ = x4(d.buttons), N = eO($), H = pn($.length !== 0, Dd({ buttons: $ }, c, a)), W = ao(() =>
|
|
41582
|
+
}, c, a), $ = x4(d.buttons), N = eO($), H = pn($.length !== 0, Dd({ buttons: $ }, c, a)), W = ao(() => Ce, ln(() => de, a.shared.providers, s), a.shared.getSink), Q = {
|
|
41583
41583
|
id: c,
|
|
41584
41584
|
header: g,
|
|
41585
41585
|
body: E,
|
|
@@ -41606,10 +41606,10 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41606
41606
|
getFormWrapper: ve,
|
|
41607
41607
|
toggleFullscreen: Oe
|
|
41608
41608
|
};
|
|
41609
|
-
})(),
|
|
41609
|
+
})(), Ce = C4(Me, s.redial, N);
|
|
41610
41610
|
return {
|
|
41611
41611
|
dialog: de,
|
|
41612
|
-
instanceApi:
|
|
41612
|
+
instanceApi: Ce
|
|
41613
41613
|
};
|
|
41614
41614
|
}, nO = (t, s, a, c = !1, d) => {
|
|
41615
41615
|
const g = Gt("dialog"), p = Gt("dialog-label"), w = Gt("dialog-content"), C = t.internalDialog, E = gn(C.size), $ = el(E.get()).toArray(), N = (Ge, vt) => (E.set(vt.internalDialog.size), _0(vt.internalDialog.size, Ge), d(), D.some(vt)), H = Jo(Ne({
|
|
@@ -41618,7 +41618,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41618
41618
|
}, g, p, a.shared.providers)), W = Jo(_g({
|
|
41619
41619
|
body: C.body,
|
|
41620
41620
|
initialData: C.initialData
|
|
41621
|
-
}, g, w, a, c)), Q = x4(C.buttons), de = eO(Q), Me = pn(Q.length !== 0, Jo(Lc({ buttons: Q }, g, a))),
|
|
41621
|
+
}, g, w, a, c)), Q = x4(C.buttons), de = eO(Q), Me = pn(Q.length !== 0, Jo(Lc({ buttons: Q }, g, a))), Ce = ao(() => Je, {
|
|
41622
41622
|
onBlock: (Ge) => {
|
|
41623
41623
|
pm.block(Oe, (vt, At) => {
|
|
41624
41624
|
const Wn = H.getOpt(Oe).map((jt) => Us(jt.element));
|
|
@@ -41666,7 +41666,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41666
41666
|
initialData: t
|
|
41667
41667
|
}),
|
|
41668
41668
|
_n.config({}),
|
|
41669
|
-
Un("execute-on-form",
|
|
41669
|
+
Un("execute-on-form", Ce.concat([
|
|
41670
41670
|
Wd(dl(), (Ge, vt) => {
|
|
41671
41671
|
mn.focusIn(Ge);
|
|
41672
41672
|
}),
|
|
@@ -41760,7 +41760,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41760
41760
|
break;
|
|
41761
41761
|
}
|
|
41762
41762
|
}, bq = (t, s, a, c) => {
|
|
41763
|
-
const d = Gt("dialog"), g = St(t.title, d, c), p = Ay(t), w = t.buttons.bind((Oe) => Oe.length === 0 ? D.none() : D.some(Dd({ buttons: Oe }, d, c))), C = xj(() => ve, ln(() =>
|
|
41763
|
+
const d = Gt("dialog"), g = St(t.title, d, c), p = Ay(t), w = t.buttons.bind((Oe) => Oe.length === 0 ? D.none() : D.some(Dd({ buttons: Oe }, d, c))), C = xj(() => ve, ln(() => Ce, c.shared.providers, s)), E = {
|
|
41764
41764
|
...t.height.fold(() => ({}), (Oe) => ({
|
|
41765
41765
|
height: Oe + "px",
|
|
41766
41766
|
"max-height": Oe + "px"
|
|
@@ -41799,7 +41799,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41799
41799
|
}
|
|
41800
41800
|
}
|
|
41801
41801
|
})
|
|
41802
|
-
],
|
|
41802
|
+
], Ce = QD({
|
|
41803
41803
|
id: d,
|
|
41804
41804
|
header: g,
|
|
41805
41805
|
body: p,
|
|
@@ -41807,9 +41807,9 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41807
41807
|
extraClasses: $,
|
|
41808
41808
|
extraBehaviours: de,
|
|
41809
41809
|
extraStyles: E
|
|
41810
|
-
}, C, c), ve = fq(
|
|
41810
|
+
}, C, c), ve = fq(Ce);
|
|
41811
41811
|
return {
|
|
41812
|
-
dialog:
|
|
41812
|
+
dialog: Ce,
|
|
41813
41813
|
instanceApi: ve
|
|
41814
41814
|
};
|
|
41815
41815
|
}, vq = (t) => {
|
|
@@ -41914,8 +41914,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41914
41914
|
}
|
|
41915
41915
|
return C(Q, Me);
|
|
41916
41916
|
}, p = (Q, de) => w(Q, de), w = (Q, de) => {
|
|
41917
|
-
const Me = (
|
|
41918
|
-
const ve = bq(
|
|
41917
|
+
const Me = (Ce) => {
|
|
41918
|
+
const ve = bq(Ce, {
|
|
41919
41919
|
closeWindow: () => {
|
|
41920
41920
|
Kr.hide(ve.dialog), de(ve.instanceApi);
|
|
41921
41921
|
}
|
|
@@ -41924,11 +41924,11 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41924
41924
|
};
|
|
41925
41925
|
return qn.openUrl(Me, Q);
|
|
41926
41926
|
}, C = (Q, de) => {
|
|
41927
|
-
const Me = (
|
|
41927
|
+
const Me = (Ce, ve, Oe) => {
|
|
41928
41928
|
const dt = ve, Ge = Cj({
|
|
41929
41929
|
dataValidator: Oe,
|
|
41930
41930
|
initialData: dt,
|
|
41931
|
-
internalDialog:
|
|
41931
|
+
internalDialog: Ce
|
|
41932
41932
|
}, {
|
|
41933
41933
|
redial: qn.redial,
|
|
41934
41934
|
closeWindow: () => {
|
|
@@ -41938,7 +41938,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41938
41938
|
return Kr.show(Ge.dialog), Ge.instanceApi.setData(dt), Ge.instanceApi;
|
|
41939
41939
|
};
|
|
41940
41940
|
return qn.open(Me, Q);
|
|
41941
|
-
}, E = (Q, de, Me,
|
|
41941
|
+
}, E = (Q, de, Me, Ce) => {
|
|
41942
41942
|
const ve = (Oe, dt, Je) => {
|
|
41943
41943
|
const Ge = LG(dt, Je), vt = ro(), At = t.backstages.popup.shared.header.isPositionedAtTop(), Wn = {
|
|
41944
41944
|
dataValidator: Je,
|
|
@@ -41951,13 +41951,13 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41951
41951
|
closeWindow: () => {
|
|
41952
41952
|
vt.on(dr.hide), s.off("ResizeEditor", jt), vt.clear(), Me(Dn.instanceApi);
|
|
41953
41953
|
}
|
|
41954
|
-
}, t.backstages.popup,
|
|
41954
|
+
}, t.backstages.popup, Ce.ariaAttrs, jt), Sn = Tl(dr.sketch({
|
|
41955
41955
|
lazySink: t.backstages.popup.shared.getSink,
|
|
41956
41956
|
dom: {
|
|
41957
41957
|
tag: "div",
|
|
41958
41958
|
classes: []
|
|
41959
41959
|
},
|
|
41960
|
-
fireDismissalEventInstead:
|
|
41960
|
+
fireDismissalEventInstead: Ce.persistent ? { event: "doNotDismissYet" } : {},
|
|
41961
41961
|
...At ? {} : { fireRepositionEventInstead: {} },
|
|
41962
41962
|
inlineBehaviours: xt([
|
|
41963
41963
|
Un("window-manager-inline-events", [Qe(If(), (bn, Ro) => {
|
|
@@ -41975,7 +41975,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41975
41975
|
return dr.showWithinBounds(Sn, Ti(Dn.dialog), { anchor: de }, Yo), (!a || !At) && (sr.refresh(Sn), s.on("ResizeEditor", jt)), Dn.instanceApi.setData(Ge), mn.focusIn(Dn.dialog), Dn.instanceApi;
|
|
41976
41976
|
};
|
|
41977
41977
|
return qn.open(ve, Q);
|
|
41978
|
-
}, $ = (Q, de, Me,
|
|
41978
|
+
}, $ = (Q, de, Me, Ce) => {
|
|
41979
41979
|
const ve = (Oe, dt, Je) => {
|
|
41980
41980
|
const Ge = LG(dt, Je), vt = ro(), At = t.backstages.popup.shared.header.isPositionedAtTop(), Wn = {
|
|
41981
41981
|
dataValidator: Je,
|
|
@@ -41988,13 +41988,13 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41988
41988
|
closeWindow: () => {
|
|
41989
41989
|
vt.on(dr.hide), s.off("ResizeEditor ScrollWindow ElementScroll", jt), vt.clear(), Me(Dn.instanceApi);
|
|
41990
41990
|
}
|
|
41991
|
-
}, t.backstages.popup,
|
|
41991
|
+
}, t.backstages.popup, Ce.ariaAttrs, jt), Sn = Tl(dr.sketch({
|
|
41992
41992
|
lazySink: t.backstages.popup.shared.getSink,
|
|
41993
41993
|
dom: {
|
|
41994
41994
|
tag: "div",
|
|
41995
41995
|
classes: []
|
|
41996
41996
|
},
|
|
41997
|
-
fireDismissalEventInstead:
|
|
41997
|
+
fireDismissalEventInstead: Ce.persistent ? { event: "doNotDismissYet" } : {},
|
|
41998
41998
|
...At ? {} : { fireRepositionEventInstead: {} },
|
|
41999
41999
|
inlineBehaviours: xt([
|
|
42000
42000
|
Un("window-manager-inline-events", [Qe(If(), (bn, Ro) => {
|
|
@@ -42089,7 +42089,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
42089
42089
|
}, G = (i) => {
|
|
42090
42090
|
const m = typeof i;
|
|
42091
42091
|
return i === null ? "null" : m === "object" && Array.isArray(i) ? "array" : m === "object" && re(i, String, (h, v) => v.isPrototypeOf(h)) ? "string" : m;
|
|
42092
|
-
}, _e = (i) => (m) => G(m) === i, ne = (i) => (m) => typeof m === i, Z = (i) => (m) => i === m,
|
|
42092
|
+
}, _e = (i) => (m) => G(m) === i, ne = (i) => (m) => typeof m === i, Z = (i) => (m) => i === m, xe = _e("string"), X = _e("object"), $e = _e("array"), lt = Z(null), yt = ne("boolean"), hn = Z(void 0), Et = (i) => i == null, io = (i) => !Et(i), lo = ne("function"), eo = ne("number"), Ot = () => {
|
|
42093
42093
|
}, Ls = (i, m) => (...h) => i(m.apply(null, h)), un = (i, m) => (h) => i(m(h)), he = (i) => () => i, kt = (i) => i, ia = (i, m) => i === m;
|
|
42094
42094
|
function oo(i, ...m) {
|
|
42095
42095
|
return (...h) => {
|
|
@@ -42323,7 +42323,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
42323
42323
|
const m = wr("ownerDocument.defaultView", i);
|
|
42324
42324
|
return X(i) && (Gi(m).prototype.isPrototypeOf(i) || /^HTML\w*Element$/.test(es(i).constructor.name));
|
|
42325
42325
|
}, xo = 8, Ar = 9, Da = 11, Nl = 1, Oa = 3, ts = (i) => i.dom.nodeName.toLowerCase(), nl = (i) => i.dom.nodeType, vl = (i) => (m) => nl(m) === i, Xo = (i) => nl(i) === xo || ts(i) === "#comment", pn = (i) => Dr(i) && bt(i.dom), Dr = vl(Nl), Il = vl(Oa), Fc = vl(Ar), mi = vl(Da), xr = (i) => (m) => Dr(m) && ts(m) === i, fr = (i, m, h) => {
|
|
42326
|
-
if (
|
|
42326
|
+
if (xe(h) || yt(h) || eo(h))
|
|
42327
42327
|
i.setAttribute(m, h + "");
|
|
42328
42328
|
else
|
|
42329
42329
|
throw console.error("Invalid call to Attribute.set. Key ", m, ":: Value ", h, ":: Element ", i), new Error("Attribute value was not simple");
|
|
@@ -42597,7 +42597,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
42597
42597
|
const m = parseFloat(i);
|
|
42598
42598
|
return isNaN(m) ? pe.none() : pe.some(m);
|
|
42599
42599
|
}, Wr = (i) => i.style !== void 0 && lo(i.style.getPropertyValue), ga = (i, m, h) => {
|
|
42600
|
-
if (!
|
|
42600
|
+
if (!xe(h))
|
|
42601
42601
|
throw console.error("Invalid call to CSS.set. Property ", m, ":: Value ", h, ":: Element ", i), new Error("CSS value must be a string: " + h);
|
|
42602
42602
|
Wr(i) && i.style.setProperty(m, h);
|
|
42603
42603
|
}, Hh = (i, m) => {
|
|
@@ -44910,7 +44910,7 @@ Required: ` + m.join(", "));
|
|
|
44910
44910
|
y2(i, v.dom);
|
|
44911
44911
|
});
|
|
44912
44912
|
});
|
|
44913
|
-
}, ov = (i) =>
|
|
44913
|
+
}, ov = (i) => xe(i) && i.indexOf("%") !== -1, _3 = (i, m, h, v, S) => {
|
|
44914
44914
|
const O = Py(i), L = {
|
|
44915
44915
|
styles: O,
|
|
44916
44916
|
attributes: cd(i),
|
|
@@ -45046,7 +45046,7 @@ Required: ` + m.join(", "));
|
|
|
45046
45046
|
const Gn = ho(iu(i), Sb);
|
|
45047
45047
|
if (Gn.length === 0)
|
|
45048
45048
|
return;
|
|
45049
|
-
const qs = yr(tn, (Ta, kr) => i.formatter.has(En(kr)) &&
|
|
45049
|
+
const qs = yr(tn, (Ta, kr) => i.formatter.has(En(kr)) && xe(Ta));
|
|
45050
45050
|
yc(qs) || (Vo(qs, (Ta, kr) => {
|
|
45051
45051
|
const Mc = En(kr);
|
|
45052
45052
|
Pe(Gn, (wh) => {
|
|
@@ -45821,7 +45821,7 @@ Required: ` + m.join(", "));
|
|
|
45821
45821
|
if (!$e(m))
|
|
45822
45822
|
throw new Error("The " + i + " fields must be an array. Was: " + m + ".");
|
|
45823
45823
|
Pe(m, (h) => {
|
|
45824
|
-
if (!
|
|
45824
|
+
if (!xe(h))
|
|
45825
45825
|
throw new Error("The value " + h + " in the " + i + " fields was not a string.");
|
|
45826
45826
|
});
|
|
45827
45827
|
}, yh = (i, m) => {
|
|
@@ -46332,7 +46332,7 @@ Required: ` + m.join(", "));
|
|
|
46332
46332
|
}, G = (_) => {
|
|
46333
46333
|
const M = typeof _;
|
|
46334
46334
|
return _ === null ? "null" : M === "object" && Array.isArray(_) ? "array" : M === "object" && re(_, String, (U, ce) => ce.isPrototypeOf(U)) ? "string" : M;
|
|
46335
|
-
}, _e = (_) => (M) => G(M) === _, ne = (_) => (M) => typeof M === _, Z = _e("string"),
|
|
46335
|
+
}, _e = (_) => (M) => G(M) === _, ne = (_) => (M) => typeof M === _, Z = _e("string"), xe = _e("object"), X = _e("array"), $e = ne("boolean"), lt = (_) => _ == null, yt = (_) => !lt(_), hn = ne("function"), Et = ne("number"), io = () => {
|
|
46336
46336
|
}, lo = (_, M) => (U) => _(M(U)), eo = (_) => () => _, Ot = (_, M) => _ === M;
|
|
46337
46337
|
function Ls(_, ...M) {
|
|
46338
46338
|
return (...U) => {
|
|
@@ -46537,7 +46537,7 @@ Required: ` + m.join(", "));
|
|
|
46537
46537
|
return U;
|
|
46538
46538
|
}, nr = Object.getPrototypeOf, bs = (_) => yr("HTMLElement", _), ji = (_) => {
|
|
46539
46539
|
const M = vr("ownerDocument.defaultView", _);
|
|
46540
|
-
return
|
|
46540
|
+
return xe(_) && (bs(M).prototype.isPrototypeOf(_) || /^HTML\w*Element$/.test(nr(_).constructor.name));
|
|
46541
46541
|
}, ds = (_) => _.dom.nodeName.toLowerCase(), Ko = (_) => _.dom.nodeType, yc = (_) => (M) => Ko(M) === _, to = (_) => Ko(_) === z || ds(_) === "#comment", vs = (_) => wr(_) && ji(_.dom), wr = yc(rs), Bl = yc(Wo), di = yc(tl), es = yc(so), Gi = (_) => (M) => wr(M) && ds(M) === _, bt = (_) => wn.fromDom(_.dom.ownerDocument), xo = (_) => di(_) ? _ : bt(_), Ar = (_) => kt.from(_.dom.parentNode).map(wn.fromDom), Da = (_) => kt.from(_.dom.parentElement).map(wn.fromDom), Nl = (_) => kt.from(_.dom.nextSibling).map(wn.fromDom), Oa = (_) => Ze(_.dom.childNodes, wn.fromDom), ts = (_, M) => {
|
|
46542
46542
|
const U = _.dom.childNodes;
|
|
46543
46543
|
return kt.from(U[M]).map(wn.fromDom);
|
|
@@ -47165,7 +47165,7 @@ Required: ` + m.join(", "));
|
|
|
47165
47165
|
const ce = Pa(_);
|
|
47166
47166
|
if (ja(_, ce))
|
|
47167
47167
|
return;
|
|
47168
|
-
const be = Yu(_), it =
|
|
47168
|
+
const be = Yu(_), it = xe(U) ? U : {};
|
|
47169
47169
|
be.length > 0 ? hb(_, ce, be, M, it) : Hg(_, ce, M, it);
|
|
47170
47170
|
}, Mm = ea.DOM, Id = (_, M) => {
|
|
47171
47171
|
const U = M.parentElement;
|
|
@@ -47302,7 +47302,7 @@ Required: ` + m.join(", "));
|
|
|
47302
47302
|
}), Mr = (_, M) => {
|
|
47303
47303
|
const U = Pa(_);
|
|
47304
47304
|
U === null || ja(_, U) || _.undoManager.transact(() => {
|
|
47305
|
-
|
|
47305
|
+
xe(M.styles) && _.dom.setStyles(U, M.styles), xe(M.attrs) && $d(M.attrs, (ce, be) => _.dom.setAttrib(U, be, ce));
|
|
47306
47306
|
});
|
|
47307
47307
|
}, Fd = (_) => {
|
|
47308
47308
|
const M = _t(Lh(_).split("")), U = Ze(M, (ce, be) => {
|
|
@@ -47407,7 +47407,7 @@ Required: ` + m.join(", "));
|
|
|
47407
47407
|
}), _.addCommand("RemoveList", () => {
|
|
47408
47408
|
Bg(_);
|
|
47409
47409
|
}), Gc(_), _.addCommand("mceListUpdate", (M, U) => {
|
|
47410
|
-
|
|
47410
|
+
xe(U) && Mr(_, U);
|
|
47411
47411
|
}), _.addQueryStateHandler("InsertUnorderedList", Go(_, "UL")), _.addQueryStateHandler("InsertOrderedList", Go(_, "OL")), _.addQueryStateHandler("InsertDefinitionList", Go(_, "DL"));
|
|
47412
47412
|
};
|
|
47413
47413
|
var cl = tinymce.util.Tools.resolve("tinymce.html.Node");
|
|
@@ -47480,7 +47480,7 @@ Required: ` + m.join(", "));
|
|
|
47480
47480
|
}, G = (q) => {
|
|
47481
47481
|
const ge = typeof q;
|
|
47482
47482
|
return q === null ? "null" : ge === "object" && Array.isArray(q) ? "array" : ge === "object" && re(q, String, (Ee, Ie) => Ie.isPrototypeOf(Ee)) ? "string" : ge;
|
|
47483
|
-
}, _e = (q) => (ge) => G(ge) === q, ne = (q) => (ge) => typeof ge === q, Z = (q) => (ge) => q === ge,
|
|
47483
|
+
}, _e = (q) => (ge) => G(ge) === q, ne = (q) => (ge) => typeof ge === q, Z = (q) => (ge) => q === ge, xe = _e("string"), X = _e("object"), $e = _e("array"), lt = Z(null), yt = ne("boolean"), hn = (q) => q == null, Et = (q) => !hn(q), io = ne("function"), lo = (q, ge) => {
|
|
47484
47484
|
if ($e(q)) {
|
|
47485
47485
|
for (let Ee = 0, Ie = q.length; Ee < Ie; ++Ee)
|
|
47486
47486
|
if (!ge(q[Ee]))
|
|
@@ -47601,7 +47601,7 @@ Required: ` + m.join(", "));
|
|
|
47601
47601
|
const ge = q.options.register;
|
|
47602
47602
|
ge("link_assume_external_targets", {
|
|
47603
47603
|
processor: (Ee) => {
|
|
47604
|
-
const Ie =
|
|
47604
|
+
const Ie = xe(Ee) || yt(Ee);
|
|
47605
47605
|
return Ie ? Ee === !0 ? {
|
|
47606
47606
|
value: 1,
|
|
47607
47607
|
valid: Ie
|
|
@@ -47620,7 +47620,7 @@ Required: ` + m.join(", "));
|
|
|
47620
47620
|
}), ge("link_context_toolbar", {
|
|
47621
47621
|
processor: "boolean",
|
|
47622
47622
|
default: !1
|
|
47623
|
-
}), ge("link_list", { processor: (Ee) =>
|
|
47623
|
+
}), ge("link_list", { processor: (Ee) => xe(Ee) || io(Ee) || lo(Ee, X) }), ge("link_default_target", { processor: "string" }), ge("link_default_protocol", {
|
|
47624
47624
|
processor: "string",
|
|
47625
47625
|
default: "https"
|
|
47626
47626
|
}), ge("link_target_list", {
|
|
@@ -47644,7 +47644,7 @@ Required: ` + m.join(", "));
|
|
|
47644
47644
|
});
|
|
47645
47645
|
}, ot = D("link_assume_external_targets"), Ht = D("link_context_toolbar"), _t = D("link_list"), Pe = D("link_default_target"), no = D("link_default_protocol"), Ys = D("link_target_list"), ho = D("link_rel_list"), br = D("link_class_list"), tt = D("link_title"), pt = D("allow_unsafe_link_target"), z = D("link_quicklink");
|
|
47646
47646
|
var tl = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
|
47647
|
-
const so = (q) =>
|
|
47647
|
+
const so = (q) => xe(q.value) ? q.value : "", rs = (q) => xe(q.text) ? q.text : xe(q.title) ? q.title : "", Wo = (q, ge) => {
|
|
47648
47648
|
const Ee = [];
|
|
47649
47649
|
return tl.each(q, (Ie) => {
|
|
47650
47650
|
const ft = rs(Ie);
|
|
@@ -47903,7 +47903,7 @@ Required: ` + m.join(", "));
|
|
|
47903
47903
|
}, ns = { getLinks: (q) => {
|
|
47904
47904
|
const ge = (Ie) => q.convertURL(Ie.value || Ie.url || "", "href"), Ee = _t(q);
|
|
47905
47905
|
return new Promise((Ie) => {
|
|
47906
|
-
|
|
47906
|
+
xe(Ee) ? fetch(Ee).then((ft) => ft.ok ? ft.text().then(Gu) : Promise.reject()).then(Ie, () => Ie(un.none())) : io(Ee) ? Ee((ft) => Ie(un.some(ft))) : Ie(un.from(Ee));
|
|
47907
47907
|
}).then((Ie) => Ie.bind(Ke.sanitizeWith(ge)).map((ft) => ft.length > 0 ? [{
|
|
47908
47908
|
text: "None",
|
|
47909
47909
|
value: ""
|
|
@@ -48237,7 +48237,7 @@ Required: ` + m.join(", "));
|
|
|
48237
48237
|
}, _e = (I) => {
|
|
48238
48238
|
const J = typeof I;
|
|
48239
48239
|
return I === null ? "null" : J === "object" && Array.isArray(I) ? "array" : J === "object" && G(I, String, (le, Fe) => Fe.isPrototypeOf(le)) ? "string" : J;
|
|
48240
|
-
}, ne = (I) => (J) => _e(J) === I, Z = (I) => (J) => typeof J === I,
|
|
48240
|
+
}, ne = (I) => (J) => _e(J) === I, Z = (I) => (J) => typeof J === I, xe = (I) => (J) => I === J, X = (I, J) => lt(I) && G(I, J, (le, Fe) => re(le) === Fe), $e = ne("string"), lt = ne("object"), yt = (I) => X(I, Object), hn = ne("array"), Et = xe(null), io = Z("boolean"), lo = (I) => I == null, eo = (I) => !lo(I), Ot = Z("function"), Ls = Z("number"), un = (I, J) => {
|
|
48241
48241
|
if (hn(I)) {
|
|
48242
48242
|
for (let le = 0, Fe = I.length; le < Fe; ++le)
|
|
48243
48243
|
if (!J(I[le]))
|
|
@@ -49106,7 +49106,7 @@ Required: ` + m.join(", "));
|
|
|
49106
49106
|
}, G = (x) => {
|
|
49107
49107
|
const T = typeof x;
|
|
49108
49108
|
return x === null ? "null" : T === "object" && Array.isArray(x) ? "array" : T === "object" && re(x, String, (V, Y) => Y.isPrototypeOf(V)) ? "string" : T;
|
|
49109
|
-
}, _e = (x) => (T) => G(T) === x, ne = (x) => (T) => typeof T === x, Z = (x) => (T) => x === T,
|
|
49109
|
+
}, _e = (x) => (T) => G(T) === x, ne = (x) => (T) => typeof T === x, Z = (x) => (T) => x === T, xe = _e("string"), X = _e("array"), $e = ne("boolean"), lt = Z(void 0), yt = (x) => x == null, hn = (x) => !yt(x), Et = ne("function"), io = ne("number"), lo = () => {
|
|
49110
49110
|
}, eo = (x, T) => (V) => x(T(V)), Ot = (x) => () => x, Ls = (x) => x, un = (x, T) => x === T;
|
|
49111
49111
|
function he(x, ...T) {
|
|
49112
49112
|
return (...V) => {
|
|
@@ -49394,7 +49394,7 @@ Required: ` + m.join(", "));
|
|
|
49394
49394
|
T(Y) && (V = V.concat([Y])), V = V.concat(gi(Y, T));
|
|
49395
49395
|
}), V;
|
|
49396
49396
|
}, xc = (x, T) => wc(x, (V) => vs(V, T)), Po = (x, T) => Bl(T, x), ea = (x, T, V) => {
|
|
49397
|
-
if (
|
|
49397
|
+
if (xe(V) || $e(V) || io(V))
|
|
49398
49398
|
x.setAttribute(T, V + "");
|
|
49399
49399
|
else
|
|
49400
49400
|
throw console.error("Invalid call to Attribute.set. Key ", T, ":: Value ", V, ":: Element ", x), new Error("Attribute value was not simple");
|
|
@@ -49424,7 +49424,7 @@ Required: ` + m.join(", "));
|
|
|
49424
49424
|
const T = parseFloat(x);
|
|
49425
49425
|
return isNaN(T) ? ae.none() : ae.some(T);
|
|
49426
49426
|
}, hi = (x) => x.style !== void 0 && Et(x.style.getPropertyValue), bu = (x, T, V) => {
|
|
49427
|
-
if (!
|
|
49427
|
+
if (!xe(V))
|
|
49428
49428
|
throw console.error("Invalid call to CSS.set. Property ", T, ":: Value ", V, ":: Element ", x), new Error("CSS value must be a string: " + V);
|
|
49429
49429
|
hi(x) && x.style.setProperty(T, V);
|
|
49430
49430
|
}, Ku = (x, T) => {
|
|
@@ -50659,7 +50659,7 @@ Required: ` + T.join(", "));
|
|
|
50659
50659
|
return Y.concat(ye).concat(je).concat(gt).concat(Mt);
|
|
50660
50660
|
}, yb = (x, T, V, Y) => {
|
|
50661
50661
|
if (T.tagName === "TD" || T.tagName === "TH")
|
|
50662
|
-
|
|
50662
|
+
xe(V) && hn(Y) ? x.setStyle(T, V, Y) : x.setStyles(T, V);
|
|
50663
50663
|
else if (T.children)
|
|
50664
50664
|
for (let ye = 0; ye < T.children.length; ye++)
|
|
50665
50665
|
yb(x, T.children[ye], V, Y);
|
|
@@ -51315,10 +51315,10 @@ Required: ` + T.join(", "));
|
|
|
51315
51315
|
onAction: $e
|
|
51316
51316
|
});
|
|
51317
51317
|
};
|
|
51318
|
-
var
|
|
51318
|
+
var xe = () => {
|
|
51319
51319
|
A.add("code", (X) => (ne(X), Z(X), {}));
|
|
51320
51320
|
};
|
|
51321
|
-
|
|
51321
|
+
xe();
|
|
51322
51322
|
})();
|
|
51323
51323
|
(function() {
|
|
51324
51324
|
var A = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
|
@@ -51329,7 +51329,7 @@ Required: ` + T.join(", "));
|
|
|
51329
51329
|
Te[wn] = Rt(qo, wn);
|
|
51330
51330
|
}
|
|
51331
51331
|
return Te;
|
|
51332
|
-
},
|
|
51332
|
+
}, xe = {
|
|
51333
51333
|
aletter: "[A-Za-zªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-׳ؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆༀཀ-ཇཉ-ཬྈ-ྌႠ-Ⴥა-ჺჼᄀ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᨀ-ᨖᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᯀ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⒶ-ⓩⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⴀ-ⴥⴰ-ⵥⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々〻〼ㄅ-ㄭㄱ-ㆎㆠ-ㆺꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐꞑꞠ-ꞩꟺ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]",
|
|
51334
51334
|
midnumlet: "[-'\\.‘’․﹒'.]",
|
|
51335
51335
|
midletter: "[:··״‧︓﹕:]",
|
|
@@ -51359,20 +51359,20 @@ Required: ` + T.join(", "));
|
|
|
51359
51359
|
AT: 12,
|
|
51360
51360
|
OTHER: 13
|
|
51361
51361
|
}, $e = [
|
|
51362
|
-
new RegExp(
|
|
51363
|
-
new RegExp(
|
|
51364
|
-
new RegExp(
|
|
51365
|
-
new RegExp(
|
|
51366
|
-
new RegExp(
|
|
51367
|
-
new RegExp(
|
|
51368
|
-
new RegExp(
|
|
51369
|
-
new RegExp(
|
|
51370
|
-
new RegExp(
|
|
51371
|
-
new RegExp(
|
|
51372
|
-
new RegExp(
|
|
51373
|
-
new RegExp(
|
|
51362
|
+
new RegExp(xe.aletter),
|
|
51363
|
+
new RegExp(xe.midnumlet),
|
|
51364
|
+
new RegExp(xe.midletter),
|
|
51365
|
+
new RegExp(xe.midnum),
|
|
51366
|
+
new RegExp(xe.numeric),
|
|
51367
|
+
new RegExp(xe.cr),
|
|
51368
|
+
new RegExp(xe.lf),
|
|
51369
|
+
new RegExp(xe.newline),
|
|
51370
|
+
new RegExp(xe.extend),
|
|
51371
|
+
new RegExp(xe.format),
|
|
51372
|
+
new RegExp(xe.katakana),
|
|
51373
|
+
new RegExp(xe.extendnumlet),
|
|
51374
51374
|
new RegExp("@")
|
|
51375
|
-
], lt = "", yt = new RegExp("^" +
|
|
51375
|
+
], lt = "", yt = new RegExp("^" + xe.punctuation + "$"), hn = /^\s+$/, Et = $e, io = X.OTHER, lo = (qe) => {
|
|
51376
51376
|
let Rt = io;
|
|
51377
51377
|
const Ke = Et.length;
|
|
51378
51378
|
for (let Te = 0; Te < Ke; ++Te) {
|
|
@@ -51585,9 +51585,9 @@ const ste = { class: "font-bold ptext-lg dark:text-white" }, rte = ["id"], ate =
|
|
|
51585
51585
|
emits: ["update:modelValue", "keydown"],
|
|
51586
51586
|
setup(A, { expose: re, emit: G }) {
|
|
51587
51587
|
const _e = A, ne = G, Z = co(null);
|
|
51588
|
-
let
|
|
51588
|
+
let xe = null;
|
|
51589
51589
|
Dg(async () => {
|
|
51590
|
-
await Pj(),
|
|
51590
|
+
await Pj(), xe && (xe.destroy(), xe = null), ote.init({
|
|
51591
51591
|
selector: "#" + _e.field_name,
|
|
51592
51592
|
height: 300,
|
|
51593
51593
|
plugins: [
|
|
@@ -51602,7 +51602,7 @@ const ste = { class: "font-bold ptext-lg dark:text-white" }, rte = ["id"], ate =
|
|
|
51602
51602
|
content_css: !1,
|
|
51603
51603
|
// disable import of css
|
|
51604
51604
|
setup(lt) {
|
|
51605
|
-
|
|
51605
|
+
xe = lt, lt.on("Change", () => {
|
|
51606
51606
|
ne("update:modelValue", lt.getContent());
|
|
51607
51607
|
}), lt.on("init", () => {
|
|
51608
51608
|
lt.setContent(_e.modelValue);
|
|
@@ -51610,9 +51610,9 @@ const ste = { class: "font-bold ptext-lg dark:text-white" }, rte = ["id"], ate =
|
|
|
51610
51610
|
}
|
|
51611
51611
|
});
|
|
51612
51612
|
}), Z7(() => {
|
|
51613
|
-
|
|
51613
|
+
xe && (xe.destroy(), xe = null);
|
|
51614
51614
|
}), Ag(() => _e.modelValue, (lt) => {
|
|
51615
|
-
|
|
51615
|
+
xe && xe.getContent() !== lt && xe.setContent(lt);
|
|
51616
51616
|
});
|
|
51617
51617
|
const $e = pu({
|
|
51618
51618
|
get() {
|
|
@@ -51719,11 +51719,11 @@ const ste = { class: "font-bold ptext-lg dark:text-white" }, rte = ["id"], ate =
|
|
|
51719
51719
|
return 0;
|
|
51720
51720
|
if (this.limit === 0)
|
|
51721
51721
|
return this.lastPage;
|
|
51722
|
-
for (var A = this.currentPage, re = this.lastPage, G = this.limit, _e = A - G, ne = A + G + 1, Z = [],
|
|
51722
|
+
for (var A = this.currentPage, re = this.lastPage, G = this.limit, _e = A - G, ne = A + G + 1, Z = [], xe = [], X, $e = 1; $e <= re; $e++)
|
|
51723
51723
|
($e === 1 || $e === re || $e >= _e && $e < ne) && Z.push($e);
|
|
51724
51724
|
return Z.forEach(function(lt) {
|
|
51725
|
-
X && (lt - X === 2 ?
|
|
51726
|
-
}),
|
|
51725
|
+
X && (lt - X === 2 ? xe.push(X + 1) : lt - X !== 1 && xe.push("...")), xe.push(lt), X = lt;
|
|
51726
|
+
}), xe;
|
|
51727
51727
|
}
|
|
51728
51728
|
},
|
|
51729
51729
|
methods: {
|
|
@@ -51846,8 +51846,8 @@ const ste = { class: "font-bold ptext-lg dark:text-white" }, rte = ["id"], ate =
|
|
|
51846
51846
|
})
|
|
51847
51847
|
], -1);
|
|
51848
51848
|
function kte(A, re, G, _e, ne, Z) {
|
|
51849
|
-
const
|
|
51850
|
-
return ue(), Zu(
|
|
51849
|
+
const xe = Rd("RenderlessPagination");
|
|
51850
|
+
return ue(), Zu(xe, {
|
|
51851
51851
|
data: G.data,
|
|
51852
51852
|
limit: G.limit,
|
|
51853
51853
|
onPaginationChangePage: Z.onPaginationChangePage
|
|
@@ -51957,16 +51957,16 @@ const iq = /* @__PURE__ */ zr(mte, [["render", kte]]), Tte = {
|
|
|
51957
51957
|
}
|
|
51958
51958
|
},
|
|
51959
51959
|
setup(A, { expose: re }) {
|
|
51960
|
-
const G = co(""), _e = co(""), ne = co(""), Z = co("Cancel"),
|
|
51960
|
+
const G = co(""), _e = co(""), ne = co(""), Z = co("Cancel"), xe = co(!1), X = co(!1), $e = co(void 0), lt = co(void 0), yt = (eo = {}) => (G.value = eo.title, _e.value = eo.message, ne.value = eo.okButton, eo.cancelButton && (Z.value = eo.cancelButton), xe.value = !0, new Promise((Ot, Ls) => {
|
|
51961
51961
|
$e.value = Ot, lt.value = Ls;
|
|
51962
51962
|
})), hn = () => {
|
|
51963
51963
|
X.value = !0;
|
|
51964
51964
|
}, Et = () => {
|
|
51965
51965
|
X.value = !1;
|
|
51966
51966
|
}, io = () => {
|
|
51967
|
-
|
|
51967
|
+
xe.value = !1, $e.value(!0);
|
|
51968
51968
|
}, lo = () => {
|
|
51969
|
-
|
|
51969
|
+
xe.value = !1, $e.value(!1);
|
|
51970
51970
|
};
|
|
51971
51971
|
return re({
|
|
51972
51972
|
show: yt,
|
|
@@ -51974,7 +51974,7 @@ const iq = /* @__PURE__ */ zr(mte, [["render", kte]]), Tte = {
|
|
|
51974
51974
|
hideLoading: Et
|
|
51975
51975
|
}), (eo, Ot) => {
|
|
51976
51976
|
const Ls = Rd("gl-button");
|
|
51977
|
-
return
|
|
51977
|
+
return xe.value ? (ue(), fe("div", Tte, [
|
|
51978
51978
|
R("div", Ete, [
|
|
51979
51979
|
Ate,
|
|
51980
51980
|
Dte,
|
|
@@ -52237,9 +52237,9 @@ const iq = /* @__PURE__ */ zr(mte, [["render", kte]]), Tte = {
|
|
|
52237
52237
|
"data-label": ""
|
|
52238
52238
|
}, dne = ["checked", "onChange"], mne = ["data-label"], fne = { class: "overflow-auto max-h-40" }, gne = { 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" };
|
|
52239
52239
|
function hne(A, re, G, _e, ne, Z) {
|
|
52240
|
-
const
|
|
52240
|
+
const xe = Rd("DynamicConfirmation"), X = Rd("dropdown"), $e = Rd("GlDropdown"), lt = Rd("GlTextInput"), yt = Rd("gl-button"), hn = Rd("TailwindPagination");
|
|
52241
52241
|
return ue(), fe(jn, null, [
|
|
52242
|
-
ui(
|
|
52242
|
+
ui(xe, { ref: "ConfirmationDelete" }, null, 512),
|
|
52243
52243
|
R("div", Vte, [
|
|
52244
52244
|
R("div", zte, [
|
|
52245
52245
|
R("div", Ute, [
|
|
@@ -52673,13 +52673,13 @@ const Fce = /* @__PURE__ */ zr(Hte, [["render", hne]]), pne = {
|
|
|
52673
52673
|
soe
|
|
52674
52674
|
];
|
|
52675
52675
|
function aoe(A, re, G, _e, ne, Z) {
|
|
52676
|
-
const
|
|
52676
|
+
const xe = Rd("dropdown");
|
|
52677
52677
|
return ue(), fe("div", bne, [
|
|
52678
52678
|
R("div", vne, [
|
|
52679
52679
|
R("div", yne, [
|
|
52680
52680
|
wne,
|
|
52681
52681
|
R("div", xne, [
|
|
52682
|
-
ui(
|
|
52682
|
+
ui(xe, {
|
|
52683
52683
|
has_cancel: !1,
|
|
52684
52684
|
options: ne.showNoOfEntries,
|
|
52685
52685
|
modelValue: ne.itemsPerPage,
|
|
@@ -52994,13 +52994,13 @@ const Hce = /* @__PURE__ */ zr(pne, [["render", aoe]]), loe = {
|
|
|
52994
52994
|
Toe
|
|
52995
52995
|
], Aoe = { 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" }, Doe = ["colspan"], Ooe = ["data-label"], Roe = { class: "overflow-auto max-h-40" }, $oe = { 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" };
|
|
52996
52996
|
function Moe(A, re, G, _e, ne, Z) {
|
|
52997
|
-
const
|
|
52997
|
+
const xe = Rd("dropdown"), X = Rd("TailwindPagination");
|
|
52998
52998
|
return ue(), fe("div", coe, [
|
|
52999
52999
|
R("div", ioe, [
|
|
53000
53000
|
R("div", uoe, [
|
|
53001
53001
|
doe,
|
|
53002
53002
|
R("div", moe, [
|
|
53003
|
-
ui(
|
|
53003
|
+
ui(xe, {
|
|
53004
53004
|
has_cancel: !1,
|
|
53005
53005
|
options: ne.pageOptions,
|
|
53006
53006
|
modelValue: ne.perPage,
|
|
@@ -53243,13 +53243,13 @@ const Vce = /* @__PURE__ */ zr(loe, [["render", Moe]]), Poe = {
|
|
|
53243
53243
|
vse
|
|
53244
53244
|
];
|
|
53245
53245
|
function wse(A, re, G, _e, ne, Z) {
|
|
53246
|
-
const
|
|
53246
|
+
const xe = Rd("dropdown");
|
|
53247
53247
|
return ue(), fe("div", Boe, [
|
|
53248
53248
|
R("div", Noe, [
|
|
53249
53249
|
R("div", Ioe, [
|
|
53250
53250
|
Loe,
|
|
53251
53251
|
R("div", Foe, [
|
|
53252
|
-
ui(
|
|
53252
|
+
ui(xe, {
|
|
53253
53253
|
has_cancel: !1,
|
|
53254
53254
|
options: ne.showNoOfEntries,
|
|
53255
53255
|
modelValue: ne.itemsPerPage,
|
|
@@ -53393,7 +53393,7 @@ const zce = /* @__PURE__ */ zr(Poe, [["render", wse]]), xse = {
|
|
|
53393
53393
|
return "Runs every minute.";
|
|
53394
53394
|
if (re === "0" && G === "0" && _e === "*" && ne === "*" && Z !== "*")
|
|
53395
53395
|
return `Runs at 12:00 AM every ${this.convertDayOfWeek(Z)}.`;
|
|
53396
|
-
const
|
|
53396
|
+
const xe = {
|
|
53397
53397
|
0: "Sunday",
|
|
53398
53398
|
1: "Monday",
|
|
53399
53399
|
2: "Tuesday",
|
|
@@ -53416,7 +53416,7 @@ const zce = /* @__PURE__ */ zr(Poe, [["render", wse]]), xse = {
|
|
|
53416
53416
|
11: "November",
|
|
53417
53417
|
12: "December",
|
|
53418
53418
|
"*": "every month"
|
|
53419
|
-
}, $e = this.convertField(re, "minute", 59), lt = this.convertField(G, "hour", 23), yt = this.convertField(_e, "day of the month", 31), hn = this.convertField(ne, "month", 12, X), Et = this.convertField(Z, "day", 6,
|
|
53419
|
+
}, $e = this.convertField(re, "minute", 59), lt = this.convertField(G, "hour", 23), yt = this.convertField(_e, "day of the month", 31), hn = this.convertField(ne, "month", 12, X), Et = this.convertField(Z, "day", 6, xe);
|
|
53420
53420
|
return `Runs ${$e} ${lt} ${yt} ${hn} on ${Et}.`;
|
|
53421
53421
|
},
|
|
53422
53422
|
convertField(A, re, G, _e = {}) {
|
|
@@ -53501,12 +53501,12 @@ const Wce = /* @__PURE__ */ zr(kse, [["render", Tse]]), Ese = {
|
|
|
53501
53501
|
return lt = Math.floor(lt / 16), (hn === "x" ? Et : Et & 3 | 8).toString(16);
|
|
53502
53502
|
});
|
|
53503
53503
|
return yt;
|
|
53504
|
-
})(), ne = { isOpen: A, id: _e }, Z = pu(() => re.accordions.value),
|
|
53504
|
+
})(), ne = { isOpen: A, id: _e }, Z = pu(() => re.accordions.value), xe = pu(() => Z.value.length > 0 && Z.value[0].id === _e), X = pu(() => Z.value.length > 0 && Z.value[Z.value.length - 1].id === _e);
|
|
53505
53505
|
return Dg(() => {
|
|
53506
53506
|
re.registerAccordion(ne);
|
|
53507
53507
|
}), Nq(() => {
|
|
53508
53508
|
re.unregisterAccordion(ne);
|
|
53509
|
-
}), { isOpen: A, isFirstAccordion:
|
|
53509
|
+
}), { isOpen: A, isFirstAccordion: xe, isLastAccordion: X, toggle: () => {
|
|
53510
53510
|
re.toggleAccordion(ne);
|
|
53511
53511
|
} };
|
|
53512
53512
|
}
|
|
@@ -53545,7 +53545,7 @@ function Bse(A, re, G, _e, ne, Z) {
|
|
|
53545
53545
|
return ue(), fe("div", null, [
|
|
53546
53546
|
R("h2", null, [
|
|
53547
53547
|
R("button", {
|
|
53548
|
-
onClick: re[0] || (re[0] = (...
|
|
53548
|
+
onClick: re[0] || (re[0] = (...xe) => _e.toggle && _e.toggle(...xe)),
|
|
53549
53549
|
type: "button",
|
|
53550
53550
|
class: Zt(["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", {
|
|
53551
53551
|
"rounded-t-xl": _e.isFirstAccordion,
|
|
@@ -53656,7 +53656,7 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53656
53656
|
G.type === "warning" ? (ue(), fe("div", Zse, qse)) : Ye("", !0),
|
|
53657
53657
|
R("div", Kse, mt(G.message), 1),
|
|
53658
53658
|
R("button", {
|
|
53659
|
-
onClick: Z[0] || (Z[0] = (
|
|
53659
|
+
onClick: Z[0] || (Z[0] = (xe) => _e("remove")),
|
|
53660
53660
|
type: "button",
|
|
53661
53661
|
class: "-mx-1.5 -my-1.5 ml-auto inline-flex h-8 w-8 rounded-lg bg-white p-1.5 text-gray-400 hover:bg-gray-100 hover:text-gray-900 focus:ring-2 focus:ring-gray-300 dark:bg-gray-800 dark:text-gray-500 dark:hover:bg-gray-700 dark:hover:text-white",
|
|
53662
53662
|
"data-dismiss-target": "#toast-default",
|
|
@@ -53684,7 +53684,7 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53684
53684
|
message: ne.message,
|
|
53685
53685
|
type: ne.type,
|
|
53686
53686
|
duration: ne.duration,
|
|
53687
|
-
onRemove: (
|
|
53687
|
+
onRemove: (xe) => re(Z)
|
|
53688
53688
|
}, null, 8, ["message", "type", "duration", "onRemove"]))), 128))
|
|
53689
53689
|
]),
|
|
53690
53690
|
_: 1
|
|
@@ -53734,7 +53734,7 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53734
53734
|
setup(A, { emit: re }) {
|
|
53735
53735
|
const G = A, _e = co(!1), ne = co(!1), Z = () => {
|
|
53736
53736
|
_e.value = !1;
|
|
53737
|
-
},
|
|
53737
|
+
}, xe = () => {
|
|
53738
53738
|
_e.value = !0;
|
|
53739
53739
|
}, X = () => {
|
|
53740
53740
|
ne.value = !1;
|
|
@@ -53761,7 +53761,7 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53761
53761
|
}, null, 8, ["isOpen"]),
|
|
53762
53762
|
A.row && hn.can(`edit_${A.xprops.permission} || delete_${A.xprops.permission}`) ? Tr((ue(), fe("div", ere, [
|
|
53763
53763
|
R("button", {
|
|
53764
|
-
onClick:
|
|
53764
|
+
onClick: xe,
|
|
53765
53765
|
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",
|
|
53766
53766
|
type: "button"
|
|
53767
53767
|
}, nre),
|
|
@@ -53840,7 +53840,7 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53840
53840
|
setup(A, { emit: re }) {
|
|
53841
53841
|
const G = A, _e = co(!1), ne = co(!1), Z = () => {
|
|
53842
53842
|
_e.value = !1;
|
|
53843
|
-
},
|
|
53843
|
+
}, xe = () => {
|
|
53844
53844
|
_e.value = !0;
|
|
53845
53845
|
}, X = () => {
|
|
53846
53846
|
ne.value = !1;
|
|
@@ -53867,7 +53867,7 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53867
53867
|
}, null, 8, ["isOpen"]),
|
|
53868
53868
|
A.row && hn.can(`delete_${A.xprops.permission}`) ? Tr((ue(), fe("div", ure, [
|
|
53869
53869
|
R("button", {
|
|
53870
|
-
onClick:
|
|
53870
|
+
onClick: xe,
|
|
53871
53871
|
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",
|
|
53872
53872
|
type: "button"
|
|
53873
53873
|
}, mre),
|
|
@@ -53937,7 +53937,7 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53937
53937
|
setup(A, { emit: re }) {
|
|
53938
53938
|
const G = A, _e = co(!1), ne = co(!1), Z = () => {
|
|
53939
53939
|
ne.value = !1;
|
|
53940
|
-
},
|
|
53940
|
+
}, xe = () => {
|
|
53941
53941
|
ne.value = !0;
|
|
53942
53942
|
}, X = () => {
|
|
53943
53943
|
_e.value = !1;
|
|
@@ -53985,7 +53985,7 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53985
53985
|
Et.can(`delete_${A.xprops.permission}`) ? (ue(), fe("li", Sre, [
|
|
53986
53986
|
R("a", {
|
|
53987
53987
|
href: "#",
|
|
53988
|
-
onClick: za(
|
|
53988
|
+
onClick: za(xe, ["prevent"]),
|
|
53989
53989
|
class: "block px-4 py-2 text-red-600 hover:text-white hover:bg-red-600 dark:text-red-500 dark:hover:text-white dark:hover:bg-red-600"
|
|
53990
53990
|
}, [
|
|
53991
53991
|
kre,
|
|
@@ -54057,13 +54057,13 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
54057
54057
|
], -1);
|
|
54058
54058
|
function $re(A, re, G, _e, ne, Z) {
|
|
54059
54059
|
return ue(), fe("div", null, [
|
|
54060
|
-
Z.isArray ? (ue(!0), fe(jn, { key: 0 }, Ks(G.row, (
|
|
54060
|
+
Z.isArray ? (ue(!0), fe(jn, { key: 0 }, Ks(G.row, (xe, X) => (ue(), fe("div", {
|
|
54061
54061
|
key: X,
|
|
54062
54062
|
class: "m-1 d-inline-block"
|
|
54063
54063
|
}, [
|
|
54064
54064
|
R("a", {
|
|
54065
|
-
href:
|
|
54066
|
-
title:
|
|
54065
|
+
href: xe,
|
|
54066
|
+
title: xe,
|
|
54067
54067
|
target: "_blank",
|
|
54068
54068
|
class: "inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-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"
|
|
54069
54069
|
}, [
|
|
@@ -54132,13 +54132,13 @@ const Yce = /* @__PURE__ */ zr(Tre, [["render", $re]]), Mre = {
|
|
|
54132
54132
|
})
|
|
54133
54133
|
], -1);
|
|
54134
54134
|
function Fre(A, re, G, _e, ne, Z) {
|
|
54135
|
-
return Z.isArray ? (ue(!0), fe(jn, { key: 0 }, Ks(G.row[G.field], (
|
|
54136
|
-
key:
|
|
54135
|
+
return Z.isArray ? (ue(!0), fe(jn, { key: 0 }, Ks(G.row[G.field], (xe) => (ue(), fe("div", {
|
|
54136
|
+
key: xe.id,
|
|
54137
54137
|
class: "m-1 d-inline-block"
|
|
54138
54138
|
}, [
|
|
54139
54139
|
R("a", {
|
|
54140
|
-
href:
|
|
54141
|
-
title:
|
|
54140
|
+
href: xe.url,
|
|
54141
|
+
title: xe.name,
|
|
54142
54142
|
target: "_blank",
|
|
54143
54143
|
class: "inline-flex items-center px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-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"
|
|
54144
54144
|
}, [
|
|
@@ -54191,10 +54191,10 @@ const Jce = /* @__PURE__ */ zr(Hre, [["render", Ure]]), Wre = {
|
|
|
54191
54191
|
};
|
|
54192
54192
|
function Gre(A, re, G, _e, ne, Z) {
|
|
54193
54193
|
return this.row[this.entry.key] ? (ue(), fe("div", Zre, [
|
|
54194
|
-
Z.isArray ? (ue(!0), fe(jn, { key: 0 }, Ks(G.row[Z.entry.key], (
|
|
54194
|
+
Z.isArray ? (ue(!0), fe(jn, { key: 0 }, Ks(G.row[Z.entry.key], (xe, X) => (ue(), fe("span", {
|
|
54195
54195
|
key: X,
|
|
54196
54196
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
54197
|
-
}, mt(
|
|
54197
|
+
}, mt(xe[Z.entry.field]), 1))), 128)) : Z.isObject ? (ue(), fe("span", jre, mt(G.row[Z.entry.key][Z.entry.field]), 1)) : Ye("", !0)
|
|
54198
54198
|
])) : Ye("", !0);
|
|
54199
54199
|
}
|
|
54200
54200
|
const Qce = /* @__PURE__ */ zr(Wre, [["render", Gre]]), qre = {
|
|
@@ -54222,10 +54222,10 @@ const Qce = /* @__PURE__ */ zr(Wre, [["render", Gre]]), qre = {
|
|
|
54222
54222
|
};
|
|
54223
54223
|
function Xre(A, re, G, _e, ne, Z) {
|
|
54224
54224
|
return ue(), fe("div", Kre, [
|
|
54225
|
-
Z.isArray ? (ue(!0), fe(jn, { key: 0 }, Ks(Z.getNestedValue(G.row, Z.entry.keys), (
|
|
54225
|
+
Z.isArray ? (ue(!0), fe(jn, { key: 0 }, Ks(Z.getNestedValue(G.row, Z.entry.keys), (xe, X) => (ue(), fe("span", {
|
|
54226
54226
|
key: X,
|
|
54227
54227
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
54228
|
-
}, mt(
|
|
54228
|
+
}, mt(xe[Z.entry.field]), 1))), 128)) : Z.isObject ? (ue(), fe("span", Yre, mt(Z.getNestedValue(G.row, Z.entry.keys)[Z.entry.field]), 1)) : Ye("", !0)
|
|
54229
54229
|
]);
|
|
54230
54230
|
}
|
|
54231
54231
|
const eie = /* @__PURE__ */ zr(qre, [["render", Xre]]), Jre = {
|
|
@@ -54264,13 +54264,13 @@ const tie = /* @__PURE__ */ zr(Jre, [["render", oae], ["__scopeId", "data-v-3a28
|
|
|
54264
54264
|
}, aae = ["src", "alt"], lae = { key: 1 }, cae = ["src", "alt"];
|
|
54265
54265
|
function iae(A, re, G, _e, ne, Z) {
|
|
54266
54266
|
return Z.isArray ? (ue(), fe("div", rae, [
|
|
54267
|
-
(ue(!0), fe(jn, null, Ks(G.row[G.field], (
|
|
54268
|
-
key:
|
|
54267
|
+
(ue(!0), fe(jn, null, Ks(G.row[G.field], (xe) => (ue(), fe("div", {
|
|
54268
|
+
key: xe.id
|
|
54269
54269
|
}, [
|
|
54270
54270
|
R("img", {
|
|
54271
54271
|
class: "h-auto max-w-full rounded-lg",
|
|
54272
|
-
src:
|
|
54273
|
-
alt:
|
|
54272
|
+
src: xe.thumbnail,
|
|
54273
|
+
alt: xe.file_name
|
|
54274
54274
|
}, null, 8, aae)
|
|
54275
54275
|
]))), 128))
|
|
54276
54276
|
])) : Z.isObject ? (ue(), fe("div", lae, [
|
|
@@ -54502,8 +54502,8 @@ const aie = /* @__PURE__ */ zr(Mae, [["render", Zae]]), jae = {
|
|
|
54502
54502
|
return "";
|
|
54503
54503
|
const A = new Date(this.row[this.field]), re = A.getFullYear(), G = A.toLocaleString("default", { month: "long" }), _e = A.getDate();
|
|
54504
54504
|
let ne = A.getHours();
|
|
54505
|
-
const Z = A.getMinutes(),
|
|
54506
|
-
return ne = ne % 12, ne = ne || 12, `${G} ${_e}, ${re}, ${ne}:${Z}:${
|
|
54505
|
+
const Z = A.getMinutes(), xe = A.getSeconds(), X = ne >= 12 ? "pm" : "am";
|
|
54506
|
+
return ne = ne % 12, ne = ne || 12, `${G} ${_e}, ${re}, ${ne}:${Z}:${xe} ${X}`;
|
|
54507
54507
|
}
|
|
54508
54508
|
}
|
|
54509
54509
|
}, Gae = { class: "w-full" };
|
|
@@ -54593,7 +54593,7 @@ const uie = /* @__PURE__ */ zr(lle, [["render", ule]]), dle = {
|
|
|
54593
54593
|
"aria-hidden": "true"
|
|
54594
54594
|
}, "", -1), ple = { 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" }, ble = { class: "px-4 pt-5 pb-4 sm:p-6 sm:pb-4" }, vle = { class: "sm:flex sm:items-start" }, yle = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, wle = { class: "text-lg font-medium leading-6" }, xle = { class: "mt-2" }, Cle = { 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" };
|
|
54595
54595
|
function _le(A, re, G, _e, ne, Z) {
|
|
54596
|
-
const
|
|
54596
|
+
const xe = Rd("gl-button");
|
|
54597
54597
|
return G.isOpen ? (ue(), fe("div", mle, [
|
|
54598
54598
|
R("div", fle, [
|
|
54599
54599
|
gle,
|
|
@@ -54610,7 +54610,7 @@ function _le(A, re, G, _e, ne, Z) {
|
|
|
54610
54610
|
])
|
|
54611
54611
|
]),
|
|
54612
54612
|
R("div", Cle, [
|
|
54613
|
-
ui(
|
|
54613
|
+
ui(xe, {
|
|
54614
54614
|
onClick: Z.confirmAction,
|
|
54615
54615
|
tag: "button",
|
|
54616
54616
|
button_type: "red"
|
|
@@ -54620,7 +54620,7 @@ function _le(A, re, G, _e, ne, Z) {
|
|
|
54620
54620
|
]),
|
|
54621
54621
|
_: 1
|
|
54622
54622
|
}, 8, ["onClick"]),
|
|
54623
|
-
ui(
|
|
54623
|
+
ui(xe, {
|
|
54624
54624
|
onClick: Z.cancelAction,
|
|
54625
54625
|
tag: "button",
|
|
54626
54626
|
button_type: "light"
|
|
@@ -54691,11 +54691,11 @@ const die = /* @__PURE__ */ zr(dle, [["render", _le]]), Sle = { class: "w-full"
|
|
|
54691
54691
|
G.value = !0, setTimeout(() => {
|
|
54692
54692
|
G.value = !1;
|
|
54693
54693
|
}, 2e3);
|
|
54694
|
-
}).catch(function(
|
|
54695
|
-
console.error("Error copying to clipboard: ",
|
|
54694
|
+
}).catch(function(xe) {
|
|
54695
|
+
console.error("Error copying to clipboard: ", xe);
|
|
54696
54696
|
});
|
|
54697
54697
|
}, ne = pu(() => re.code);
|
|
54698
|
-
return (Z,
|
|
54698
|
+
return (Z, xe) => (ue(), fe("div", Sle, [
|
|
54699
54699
|
R("div", kle, [
|
|
54700
54700
|
R("p", Tle, mt(A.label_name), 1)
|
|
54701
54701
|
]),
|
|
@@ -54705,7 +54705,7 @@ const die = /* @__PURE__ */ zr(dle, [["render", _le]]), Sle = { class: "w-full"
|
|
|
54705
54705
|
]),
|
|
54706
54706
|
R("div", Ole, [
|
|
54707
54707
|
R("button", {
|
|
54708
|
-
onClick:
|
|
54708
|
+
onClick: xe[0] || (xe[0] = (X) => _e(ne.value)),
|
|
54709
54709
|
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"
|
|
54710
54710
|
}, [
|
|
54711
54711
|
G.value ? Ye("", !0) : (ue(), fe("span", Rle, Ple)),
|
|
@@ -54771,11 +54771,11 @@ const die = /* @__PURE__ */ zr(dle, [["render", _le]]), Sle = { class: "w-full"
|
|
|
54771
54771
|
G.value = !0, setTimeout(() => {
|
|
54772
54772
|
G.value = !1;
|
|
54773
54773
|
}, 2e3);
|
|
54774
|
-
}).catch(function(
|
|
54775
|
-
console.error("Error copying to clipboard: ",
|
|
54774
|
+
}).catch(function(xe) {
|
|
54775
|
+
console.error("Error copying to clipboard: ", xe);
|
|
54776
54776
|
});
|
|
54777
54777
|
}, ne = pu(() => re.code);
|
|
54778
|
-
return (Z,
|
|
54778
|
+
return (Z, xe) => (ue(), fe("div", Hle, [
|
|
54779
54779
|
R("div", Vle, [
|
|
54780
54780
|
R("label", zle, mt(A.label_name), 1)
|
|
54781
54781
|
]),
|
|
@@ -54793,7 +54793,7 @@ const die = /* @__PURE__ */ zr(dle, [["render", _le]]), Sle = { class: "w-full"
|
|
|
54793
54793
|
]),
|
|
54794
54794
|
R("button", {
|
|
54795
54795
|
style: { padding: ".61rem" },
|
|
54796
|
-
onClick:
|
|
54796
|
+
onClick: xe[0] || (xe[0] = (X) => _e(ne.value)),
|
|
54797
54797
|
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",
|
|
54798
54798
|
type: "button"
|
|
54799
54799
|
}, [
|