golden-logic-ui 1.0.443 → 1.0.445
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 +398 -398
- 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, ee) => (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": ee === 0,
|
|
530
530
|
"border md:!rounded-e-lg": ee === ne.locals.length - 1,
|
|
531
531
|
"border-t border-b": ee !== 0 && ee !== 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([]), ee = co([]), $e = co(0), at = 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), ee = () => {
|
|
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, at) => (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": at[0] || (at[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: ee,
|
|
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), ee = () => {
|
|
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": at[0] || (at[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: ee,
|
|
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), ee = () => {
|
|
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, at) => (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": at[0] || (at[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: ee,
|
|
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] = (at) =>
|
|
1395
|
+
"onUpdate:modelValue": $e[0] || ($e[0] = (at) => xe.value = at),
|
|
1396
1396
|
onKeydown: $e[1] || ($e[1] = (at) => ee.$emit("keydown", at)),
|
|
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] = (at) =>
|
|
1503
|
+
"onUpdate:modelValue": $e[0] || ($e[0] = (at) => xe.value = at),
|
|
1504
1504
|
onKeydown: $e[1] || ($e[1] = (at) => ee.$emit("keydown", at)),
|
|
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
|
}, ee = () => {
|
|
1738
1738
|
const $e = decodeURIComponent(window.location.hash.replace("#", "")), at = ne.value.find((yt) => yt.title === $e);
|
|
1739
1739
|
at && (Z.value = at.title);
|
|
1740
1740
|
};
|
|
1741
1741
|
return Ag(Z, ($e) => {
|
|
1742
|
-
|
|
1742
|
+
xe($e);
|
|
1743
1743
|
}), Dg(() => {
|
|
1744
1744
|
ee(), window.addEventListener("hashchange", ee);
|
|
1745
1745
|
}), Z7(() => {
|
|
@@ -1854,10 +1854,10 @@ const Oce = /* @__PURE__ */ zr(wX, [["render", CX]]), _X = {
|
|
|
1854
1854
|
const Z = (ee) => {
|
|
1855
1855
|
const $e = ee.clientX || ee.touches && ee.touches[0] && ee.touches[0].clientX, at = ee.clientY || ee.touches && ee.touches[0] && ee.touches[0].clientY, yt = $e - A.initialX, hn = at - A.initialY;
|
|
1856
1856
|
Math.abs(yt) > Math.abs(hn) ? (ee.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((ee) => ee.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((ee) => ee.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 ee = this.elementsToShow == 1 ?
|
|
1876
|
+
let ee = 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(ee * $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 ee = 0; ee < ne.length; ee++) {
|
|
1883
1883
|
const $e = ne[ee];
|
|
1884
|
-
$e.style.width =
|
|
1884
|
+
$e.style.width = xe + "px";
|
|
1885
1885
|
}
|
|
1886
1886
|
},
|
|
1887
1887
|
setDot(A) {
|
|
@@ -2084,7 +2084,7 @@ function EJ(A, re, G, _e, ne, Z) {
|
|
|
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: (ee) => Z.setDot(
|
|
2138
|
+
class: Zt(["gl-dot", { active: A.currentDot == xe }]),
|
|
2139
|
+
key: xe,
|
|
2140
|
+
onClick: (ee) => 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: (ee) => Z.setDot(
|
|
2149
|
+
class: Zt(["gl-dot", { active: A.currentDot == xe }]),
|
|
2150
|
+
key: xe,
|
|
2151
|
+
onClick: (ee) => 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)
|
|
@@ -2256,10 +2256,10 @@ const Rce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-37dd4e
|
|
|
2256
2256
|
const Z = (ee) => {
|
|
2257
2257
|
const $e = ee.clientX || ee.touches && ee.touches[0] && ee.touches[0].clientX, at = ee.clientY || ee.touches && ee.touches[0] && ee.touches[0].clientY, yt = $e - A.initialX, hn = at - A.initialY;
|
|
2258
2258
|
Math.abs(yt) > Math.abs(hn) ? (ee.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");
|
|
2259
|
-
},
|
|
2260
|
-
document.removeEventListener("mousemove", Z), document.removeEventListener("touchmove", Z), document.removeEventListener("mouseup",
|
|
2259
|
+
}, xe = () => {
|
|
2260
|
+
document.removeEventListener("mousemove", Z), document.removeEventListener("touchmove", Z), document.removeEventListener("mouseup", xe), document.removeEventListener("touchend", xe), re.style.cursor = "grab";
|
|
2261
2261
|
};
|
|
2262
|
-
document.addEventListener("mousemove", Z), document.addEventListener("touchmove", Z, { passive: !1 }), document.addEventListener("mouseup",
|
|
2262
|
+
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;
|
|
2263
2263
|
}, _e = (ne) => {
|
|
2264
2264
|
ne.key === "ArrowLeft" ? A.prev() : ne.key === "ArrowRight" && A.next();
|
|
2265
2265
|
};
|
|
@@ -2272,12 +2272,12 @@ const Rce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-37dd4e
|
|
|
2272
2272
|
this.currentDot > 1 && (this.currentDot--, this.setDot(this.currentDot));
|
|
2273
2273
|
},
|
|
2274
2274
|
initSlider() {
|
|
2275
|
-
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(($e) => $e.parentNode === G),
|
|
2276
|
-
console.log("cardwidth",
|
|
2275
|
+
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(($e) => $e.parentNode === G), xe = ne[0].clientWidth + 28;
|
|
2276
|
+
console.log("cardwidth", xe);
|
|
2277
2277
|
let ee = A.clientWidth;
|
|
2278
|
-
if (this.elementsToShow = Math.floor(this.hide_arrow ? re.clientWidth : ee /
|
|
2279
|
-
this.dotsNum = Math.
|
|
2280
|
-
let $e = this.elementsToShow *
|
|
2278
|
+
if (this.elementsToShow = Math.floor(this.hide_arrow ? re.clientWidth / xe : ee / xe), console.log("elementsToShow", this.elementsToShow), this.elementsToShow = this.elementsToShow > 1 ? this.elementsToShow - 1 : this.elementsToShow, console.log("elementsToShow new", this.elementsToShow), ne.length > 1) {
|
|
2279
|
+
this.dotsNum = Math.ceil(ne.length / this.elementsToShow), console.log("dotsNum", this.dotsNum);
|
|
2280
|
+
let $e = this.elementsToShow * xe;
|
|
2281
2281
|
console.log("navigation_no_between_slides", $e), this.dotsNavigation = [];
|
|
2282
2282
|
for (let at = 0; at < this.dotsNum; at++)
|
|
2283
2283
|
this.dotsNavigation.push($e * at);
|
|
@@ -2292,7 +2292,7 @@ const Rce = /* @__PURE__ */ zr(_X, [["render", EJ], ["__scopeId", "data-v-37dd4e
|
|
|
2292
2292
|
this.direction_property == "rtl" ? re.style.marginRight = -this.dotsNavigation[A - 1] + "px" : re.style.marginLeft = -this.dotsNavigation[A - 1] + "px", this.currentDot = A;
|
|
2293
2293
|
}
|
|
2294
2294
|
}
|
|
2295
|
-
}, km = (A) => (rq("data-v-
|
|
2295
|
+
}, km = (A) => (rq("data-v-8b9d0191"), A = A(), aq(), A), DJ = ["id"], OJ = {
|
|
2296
2296
|
key: 0,
|
|
2297
2297
|
class: "items-center hidden w-2/12 xl:flex xxl:flex md:flex sm:flex arrow_button"
|
|
2298
2298
|
}, RJ = { class: "w-full" }, $J = {
|
|
@@ -2487,7 +2487,7 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2487
2487
|
R("div", RJ, [
|
|
2488
2488
|
R("button", {
|
|
2489
2489
|
class: "p-3 mr-5 rounded-full shadow-lg arrow_button_styles",
|
|
2490
|
-
onClick: re[0] || (re[0] = (
|
|
2490
|
+
onClick: re[0] || (re[0] = (xe) => Z.prev())
|
|
2491
2491
|
}, [
|
|
2492
2492
|
G.direction_property == "ltr" ? (ue(), fe("svg", $J, PJ)) : Ye("", !0),
|
|
2493
2493
|
G.direction_property == "rtl" ? (ue(), fe("svg", BJ, IJ)) : Ye("", !0)
|
|
@@ -2509,7 +2509,7 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2509
2509
|
R("div", HJ, [
|
|
2510
2510
|
R("button", {
|
|
2511
2511
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2512
|
-
onClick: re[1] || (re[1] = za((
|
|
2512
|
+
onClick: re[1] || (re[1] = za((xe) => Z.prev(), ["stop"]))
|
|
2513
2513
|
}, [
|
|
2514
2514
|
G.direction_property == "ltr" ? (ue(), fe("svg", VJ, UJ)) : Ye("", !0),
|
|
2515
2515
|
G.direction_property == "rtl" ? (ue(), fe("svg", WJ, jJ)) : Ye("", !0)
|
|
@@ -2524,7 +2524,7 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2524
2524
|
R("div", GJ, [
|
|
2525
2525
|
R("button", {
|
|
2526
2526
|
class: "p-3 rounded-full shadow-lg arrow_button_styles",
|
|
2527
|
-
onClick: re[2] || (re[2] = za((
|
|
2527
|
+
onClick: re[2] || (re[2] = za((xe) => Z.next(), ["stop"]))
|
|
2528
2528
|
}, [
|
|
2529
2529
|
G.direction_property == "ltr" ? (ue(), fe("svg", qJ, YJ)) : Ye("", !0),
|
|
2530
2530
|
G.direction_property == "rtl" ? (ue(), fe("svg", XJ, QJ)) : Ye("", !0)
|
|
@@ -2536,22 +2536,22 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2536
2536
|
key: 0,
|
|
2537
2537
|
class: Zt(["flex justify-center mb-1 space-x-1", Z.sliderIndicatorsAction()])
|
|
2538
2538
|
}, [
|
|
2539
|
-
(ue(!0), fe(jn, null, Ks(A.dotsNum, (
|
|
2539
|
+
(ue(!0), fe(jn, null, Ks(A.dotsNum, (xe) => (ue(), fe("button", {
|
|
2540
2540
|
role: "button",
|
|
2541
|
-
class: Zt(["gl-dot", { active: A.currentDot ==
|
|
2542
|
-
key:
|
|
2543
|
-
onClick: (ee) => Z.setDot(
|
|
2541
|
+
class: Zt(["gl-dot", { active: A.currentDot == xe }]),
|
|
2542
|
+
key: xe,
|
|
2543
|
+
onClick: (ee) => Z.setDot(xe)
|
|
2544
2544
|
}, nQ, 10, eQ))), 128))
|
|
2545
2545
|
], 2)) : Ye("", !0),
|
|
2546
2546
|
G.slider_arrows_indicators_position == "arrows_indicators_below_slider" ? (ue(), fe("div", oQ, [
|
|
2547
2547
|
R("div", {
|
|
2548
2548
|
class: Zt(["flex justify-center mb-1 space-x-1", Z.sliderIndicatorsAction()])
|
|
2549
2549
|
}, [
|
|
2550
|
-
(ue(!0), fe(jn, null, Ks(A.dotsNum, (
|
|
2550
|
+
(ue(!0), fe(jn, null, Ks(A.dotsNum, (xe) => (ue(), fe("button", {
|
|
2551
2551
|
role: "button",
|
|
2552
|
-
class: Zt(["gl-dot", { active: A.currentDot ==
|
|
2553
|
-
key:
|
|
2554
|
-
onClick: (ee) => Z.setDot(
|
|
2552
|
+
class: Zt(["gl-dot", { active: A.currentDot == xe }]),
|
|
2553
|
+
key: xe,
|
|
2554
|
+
onClick: (ee) => Z.setDot(xe)
|
|
2555
2555
|
}, aQ, 10, sQ))), 128))
|
|
2556
2556
|
], 2),
|
|
2557
2557
|
A.dotsNum > 0 ? (ue(), fe("div", lQ, [
|
|
@@ -2559,7 +2559,7 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2559
2559
|
R("div", iQ, [
|
|
2560
2560
|
R("button", {
|
|
2561
2561
|
class: Zt(["p-3 rounded-full arrow_button_styles", G.direction_property == "rtl" ? "ml-3" : "mr-3"]),
|
|
2562
|
-
onClick: re[3] || (re[3] = (
|
|
2562
|
+
onClick: re[3] || (re[3] = (xe) => Z.prev())
|
|
2563
2563
|
}, [
|
|
2564
2564
|
G.direction_property == "ltr" ? (ue(), fe("svg", uQ, mQ)) : Ye("", !0),
|
|
2565
2565
|
G.direction_property == "rtl" ? (ue(), fe("svg", fQ, hQ)) : Ye("", !0)
|
|
@@ -2570,7 +2570,7 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2570
2570
|
R("div", bQ, [
|
|
2571
2571
|
R("button", {
|
|
2572
2572
|
class: "p-3 rounded-full arrow_button_styles",
|
|
2573
|
-
onClick: re[4] || (re[4] = (
|
|
2573
|
+
onClick: re[4] || (re[4] = (xe) => Z.next())
|
|
2574
2574
|
}, [
|
|
2575
2575
|
G.direction_property == "ltr" ? (ue(), fe("svg", vQ, wQ)) : Ye("", !0),
|
|
2576
2576
|
G.direction_property == "rtl" ? (ue(), fe("svg", xQ, _Q)) : Ye("", !0)
|
|
@@ -2584,7 +2584,7 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2584
2584
|
R("div", kQ, [
|
|
2585
2585
|
R("button", {
|
|
2586
2586
|
class: "p-3 ml-5 rounded-full shadow-lg arrow_button_styles",
|
|
2587
|
-
onClick: re[5] || (re[5] = (
|
|
2587
|
+
onClick: re[5] || (re[5] = (xe) => Z.next())
|
|
2588
2588
|
}, [
|
|
2589
2589
|
G.direction_property == "ltr" ? (ue(), fe("svg", TQ, AQ)) : Ye("", !0),
|
|
2590
2590
|
G.direction_property == "rtl" ? (ue(), fe("svg", DQ, RQ)) : Ye("", !0)
|
|
@@ -2594,7 +2594,7 @@ function $Q(A, re, G, _e, ne, Z) {
|
|
|
2594
2594
|
], 10, DJ)
|
|
2595
2595
|
]);
|
|
2596
2596
|
}
|
|
2597
|
-
const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-
|
|
2597
|
+
const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-8b9d0191"]]), 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" }, [
|
|
2598
2598
|
/* @__PURE__ */ R("svg", {
|
|
2599
2599
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2600
2600
|
fill: "currentColor",
|
|
@@ -2650,7 +2650,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-de9946
|
|
|
2650
2650
|
document.documentElement.style.overflow = "hidden", document.documentElement.style.paddingRight = "0px";
|
|
2651
2651
|
}, Z = () => {
|
|
2652
2652
|
document.documentElement.style.overflow = "", document.documentElement.style.paddingRight = "";
|
|
2653
|
-
},
|
|
2653
|
+
}, xe = () => {
|
|
2654
2654
|
_e("closeModal"), Z();
|
|
2655
2655
|
};
|
|
2656
2656
|
return Ag(
|
|
@@ -2674,7 +2674,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-de9946
|
|
|
2674
2674
|
R("button", {
|
|
2675
2675
|
type: "button",
|
|
2676
2676
|
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",
|
|
2677
|
-
onClick:
|
|
2677
|
+
onClick: xe,
|
|
2678
2678
|
"aria-label": "Close"
|
|
2679
2679
|
}, IQ)
|
|
2680
2680
|
]),
|
|
@@ -2689,7 +2689,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-de9946
|
|
|
2689
2689
|
Tr(R("div", VQ, [
|
|
2690
2690
|
ju(ee.$slots, "buttons"),
|
|
2691
2691
|
R("button", {
|
|
2692
|
-
onClick:
|
|
2692
|
+
onClick: xe,
|
|
2693
2693
|
type: "button",
|
|
2694
2694
|
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"
|
|
2695
2695
|
}, " Close ")
|
|
@@ -2756,7 +2756,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-de9946
|
|
|
2756
2756
|
document.documentElement.style.overflow = "hidden", document.documentElement.style.paddingRight = "0px";
|
|
2757
2757
|
}, Z = () => {
|
|
2758
2758
|
document.documentElement.style.overflow = "", document.documentElement.style.paddingRight = "";
|
|
2759
|
-
},
|
|
2759
|
+
}, xe = () => {
|
|
2760
2760
|
_e("closeModal"), Z();
|
|
2761
2761
|
};
|
|
2762
2762
|
return Ag(
|
|
@@ -2779,7 +2779,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-de9946
|
|
|
2779
2779
|
R("button", {
|
|
2780
2780
|
type: "button",
|
|
2781
2781
|
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",
|
|
2782
|
-
onClick:
|
|
2782
|
+
onClick: xe,
|
|
2783
2783
|
"aria-label": "Close"
|
|
2784
2784
|
}, jQ)
|
|
2785
2785
|
]),
|
|
@@ -2794,7 +2794,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-de9946
|
|
|
2794
2794
|
Tr(R("div", YQ, [
|
|
2795
2795
|
ju(ee.$slots, "buttons"),
|
|
2796
2796
|
R("button", {
|
|
2797
|
-
onClick:
|
|
2797
|
+
onClick: xe,
|
|
2798
2798
|
type: "button",
|
|
2799
2799
|
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"
|
|
2800
2800
|
}, " Close ")
|
|
@@ -2860,11 +2860,11 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-de9946
|
|
|
2860
2860
|
get() {
|
|
2861
2861
|
return G.modelValue;
|
|
2862
2862
|
},
|
|
2863
|
-
set(
|
|
2864
|
-
_e("update:modelValue",
|
|
2863
|
+
set(xe) {
|
|
2864
|
+
_e("update:modelValue", xe);
|
|
2865
2865
|
}
|
|
2866
2866
|
});
|
|
2867
|
-
return (
|
|
2867
|
+
return (xe, ee) => (ue(), fe(jn, null, [
|
|
2868
2868
|
A.show ? (ue(), fe("div", {
|
|
2869
2869
|
key: 0,
|
|
2870
2870
|
class: Zt(A.field_name)
|
|
@@ -2971,11 +2971,11 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-de9946
|
|
|
2971
2971
|
get() {
|
|
2972
2972
|
return G.modelValue;
|
|
2973
2973
|
},
|
|
2974
|
-
set(
|
|
2975
|
-
_e("update:modelValue",
|
|
2974
|
+
set(xe) {
|
|
2975
|
+
_e("update:modelValue", xe);
|
|
2976
2976
|
}
|
|
2977
2977
|
});
|
|
2978
|
-
return (
|
|
2978
|
+
return (xe, ee) => (ue(), fe(jn, null, [
|
|
2979
2979
|
A.show ? (ue(), fe("div", {
|
|
2980
2980
|
key: 0,
|
|
2981
2981
|
class: Zt(A.field_name)
|
|
@@ -3144,7 +3144,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-de9946
|
|
|
3144
3144
|
setup(A, { emit: re }) {
|
|
3145
3145
|
const G = A, _e = re;
|
|
3146
3146
|
co(null);
|
|
3147
|
-
const ne = co({}), Z = co([]),
|
|
3147
|
+
const ne = co({}), Z = co([]), xe = co(0), ee = co(!1), $e = co(""), at = co(""), yt = co(null), hn = co(0), Et = co(0), io = () => {
|
|
3148
3148
|
if (yt.value) {
|
|
3149
3149
|
hn.value = yt.value.offsetWidth;
|
|
3150
3150
|
var Xt = yt.value.getBoundingClientRect();
|
|
@@ -3193,7 +3193,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-de9946
|
|
|
3193
3193
|
return Xt !== null && typeof Xt == "object" && Object.keys(Xt).length > 0;
|
|
3194
3194
|
}
|
|
3195
3195
|
function he(Xt) {
|
|
3196
|
-
Xt.target.id != G.field_name + "search" + at.value && Xt.target.id != G.field_name && !Xt.target.classList.contains("showOptions") && (pe(),
|
|
3196
|
+
Xt.target.id != G.field_name + "search" + at.value && Xt.target.id != G.field_name && !Xt.target.classList.contains("showOptions") && (pe(), xe.value = 0, ee.value = !1);
|
|
3197
3197
|
}
|
|
3198
3198
|
function kt(Xt) {
|
|
3199
3199
|
const Cn = `${Xt}${at.value}`, Nt = document.getElementById(Cn);
|
|
@@ -3204,7 +3204,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-de9946
|
|
|
3204
3204
|
Nt && Nt.click();
|
|
3205
3205
|
}
|
|
3206
3206
|
function oo(Xt) {
|
|
3207
|
-
Xt === "ArrowDown" &&
|
|
3207
|
+
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);
|
|
3208
3208
|
}
|
|
3209
3209
|
function ae() {
|
|
3210
3210
|
return G.options.map((Xt, Cn) => typeof Xt == "object" ? Xt : { id: Xt, name: Xt });
|
|
@@ -3355,7 +3355,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-de9946
|
|
|
3355
3355
|
return ue(), fe("div", {
|
|
3356
3356
|
class: Zt([
|
|
3357
3357
|
"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",
|
|
3358
|
-
Ht + 1 ==
|
|
3358
|
+
Ht + 1 == xe.value ? "bg-gray-100 dark:bg-gray-600" : ""
|
|
3359
3359
|
]),
|
|
3360
3360
|
onClick: (Pe) => ss(ot),
|
|
3361
3361
|
onMousedown: (Pe) => ss(ot),
|
|
@@ -3433,7 +3433,7 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-de9946
|
|
|
3433
3433
|
Dg(() => {
|
|
3434
3434
|
Z.value !== null && Z.value.hasAttribute("autofocus") && Z.value.focus();
|
|
3435
3435
|
});
|
|
3436
|
-
const
|
|
3436
|
+
const xe = pu({
|
|
3437
3437
|
get() {
|
|
3438
3438
|
return _e.modelValue;
|
|
3439
3439
|
},
|
|
@@ -3474,14 +3474,14 @@ const $ce = /* @__PURE__ */ zr(AJ, [["render", $Q], ["__scopeId", "data-v-de9946
|
|
|
3474
3474
|
" gl-textarea-form-invalid mt-4 ": A.error_message !== ""
|
|
3475
3475
|
}),
|
|
3476
3476
|
type: A.type,
|
|
3477
|
-
"onUpdate:modelValue": $e[0] || ($e[0] = (at) =>
|
|
3477
|
+
"onUpdate:modelValue": $e[0] || ($e[0] = (at) => xe.value = at),
|
|
3478
3478
|
onKeydown: $e[1] || ($e[1] = (at) => ee.$emit("keydown", at)),
|
|
3479
3479
|
ref_key: "input",
|
|
3480
3480
|
ref: Z,
|
|
3481
3481
|
rows: "4",
|
|
3482
3482
|
placeholder: A.placeholder
|
|
3483
3483
|
}, null, 42, Jee), [
|
|
3484
|
-
[_m,
|
|
3484
|
+
[_m, xe.value]
|
|
3485
3485
|
]),
|
|
3486
3486
|
R("span", Qee, mt(A.error_message), 1),
|
|
3487
3487
|
R("small", ete, mt(A.description), 1)
|
|
@@ -3521,9 +3521,9 @@ var cq = { exports: {} };
|
|
|
3521
3521
|
});
|
|
3522
3522
|
}, Z = function(e) {
|
|
3523
3523
|
return { eq: e };
|
|
3524
|
-
},
|
|
3524
|
+
}, xe = Z(function(e, n) {
|
|
3525
3525
|
return e === n;
|
|
3526
|
-
}), ee =
|
|
3526
|
+
}), ee = xe, $e = function(e) {
|
|
3527
3527
|
return Z(function(n, o) {
|
|
3528
3528
|
if (n.length !== o.length)
|
|
3529
3529
|
return !1;
|
|
@@ -20899,7 +20899,7 @@ tinymce.IconManager.add("default", {
|
|
|
20899
20899
|
}, G = (t) => {
|
|
20900
20900
|
const s = typeof t;
|
|
20901
20901
|
return t === null ? "null" : s === "object" && Array.isArray(t) ? "array" : s === "object" && re(t, String, (a, c) => c.isPrototypeOf(a)) ? "string" : s;
|
|
20902
|
-
}, _e = (t) => (s) => G(s) === t, ne = (t) => (s) => typeof s === t, Z = (t) => (s) => t === s,
|
|
20902
|
+
}, _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), ee = _e("string"), $e = _e("object"), at = (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) => {
|
|
20903
20903
|
if (yt(t)) {
|
|
20904
20904
|
for (let a = 0, c = t.length; a < c; ++a)
|
|
20905
20905
|
if (!s(t[a]))
|
|
@@ -22617,14 +22617,14 @@ The behaviours that can trigger it are: ` + JSON.stringify(tt(s, (a) => a.name),
|
|
|
22617
22617
|
ur(s, J), ki(s, W);
|
|
22618
22618
|
}, Me = (Oe) => {
|
|
22619
22619
|
nh(s, Oe);
|
|
22620
|
-
},
|
|
22620
|
+
}, Ce = () => {
|
|
22621
22621
|
const Oe = t.domChildren;
|
|
22622
22622
|
uO(s, Oe);
|
|
22623
22623
|
}, ve = () => {
|
|
22624
22624
|
const Oe = s, dt = t.value.getOrUndefined();
|
|
22625
22625
|
dt !== qd(Oe) && mp(Oe, dt ?? "");
|
|
22626
22626
|
};
|
|
22627
|
-
return w(), de(), N(), t.innerHtml.fold(
|
|
22627
|
+
return w(), de(), N(), t.innerHtml.fold(Ce, Me), ve(), s;
|
|
22628
22628
|
}, W4 = (t) => {
|
|
22629
22629
|
const s = Ae.fromTag(t.tag);
|
|
22630
22630
|
Yu(s, t.attributes), ur(s, t.classes), Ms(s, t.styles), t.innerHtml.each((c) => nh(s, c));
|
|
@@ -22670,14 +22670,14 @@ The behaviours that can trigger it are: ` + JSON.stringify(tt(s, (a) => a.name),
|
|
|
22670
22670
|
return (Ot(Je[dt.name()]) ? Je[dt.name()] : () => {
|
|
22671
22671
|
throw new Error("Could not find " + dt.name() + " in " + JSON.stringify(t, null, 2));
|
|
22672
22672
|
})();
|
|
22673
|
-
}, Me = (dt) => Ot(w[dt.name()]),
|
|
22673
|
+
}, Me = (dt) => Ot(w[dt.name()]), Ce = () => d.apis, ve = (dt) => w[dt]().map((Je) => Je.state.readState()).getOr("not enabled"), Oe = {
|
|
22674
22674
|
uid: t.uid,
|
|
22675
22675
|
getSystem: c.get,
|
|
22676
22676
|
config: de,
|
|
22677
22677
|
hasConfigured: Me,
|
|
22678
22678
|
spec: t,
|
|
22679
22679
|
readState: ve,
|
|
22680
|
-
getApis:
|
|
22680
|
+
getApis: Ce,
|
|
22681
22681
|
connect: H,
|
|
22682
22682
|
disconnect: W,
|
|
22683
22683
|
element: E,
|
|
@@ -23134,8 +23134,8 @@ Receiver: ` + jd(s.element), E, g.data);
|
|
|
23134
23134
|
]
|
|
23135
23135
|
}
|
|
23136
23136
|
]), EC = (t, s, a, c, d, g) => {
|
|
23137
|
-
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), J = D.some(C), de = D.some(N), Me = D.some(H),
|
|
23138
|
-
return Zf(s.direction, () => Ai(t, W, J,
|
|
23137
|
+
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), J = D.some(C), de = D.some(N), Me = D.some(H), Ce = D.none();
|
|
23138
|
+
return Zf(s.direction, () => Ai(t, W, J, Ce, Ce), () => Ai(t, Ce, J, de, Ce), () => Ai(t, W, Ce, Ce, Me), () => Ai(t, Ce, Ce, de, Me), () => Ai(t, W, J, Ce, Ce), () => Ai(t, W, Ce, Ce, Me), () => Ai(t, W, J, Ce, Ce), () => Ai(t, Ce, J, de, Ce));
|
|
23139
23139
|
}, h2 = (t, s) => t.fold(() => {
|
|
23140
23140
|
const a = s.rect;
|
|
23141
23141
|
return Ai("absolute", D.some(a.x), D.some(a.y), D.none(), D.none());
|
|
@@ -23177,10 +23177,10 @@ Receiver: ` + jd(s.element), E, g.data);
|
|
|
23177
23177
|
y: c,
|
|
23178
23178
|
right: d,
|
|
23179
23179
|
bottom: g
|
|
23180
|
-
} = s, { x: p, y: w, right: C, bottom: E, width: $, height: N } = t, H = p >= a && p <= d, W = w >= c && w <= g, J = H && W, de = C <= d && C >= a, Me = E <= g && E >= c,
|
|
23180
|
+
} = s, { x: p, y: w, right: C, bottom: E, width: $, height: N } = t, H = p >= a && p <= d, W = w >= c && w <= g, J = 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);
|
|
23181
23181
|
return {
|
|
23182
23182
|
originInBounds: J,
|
|
23183
|
-
sizeInBounds:
|
|
23183
|
+
sizeInBounds: Ce,
|
|
23184
23184
|
visibleW: ve,
|
|
23185
23185
|
visibleH: Oe
|
|
23186
23186
|
};
|
|
@@ -23199,10 +23199,10 @@ Receiver: ` + jd(s.element), E, g.data);
|
|
|
23199
23199
|
maxHeight: g
|
|
23200
23200
|
};
|
|
23201
23201
|
}, l3 = (t, s, a, c) => {
|
|
23202
|
-
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), J = $ && N, de = J ? E : y2(E, p), Me = de.width > 0 && de.height > 0, { maxWidth:
|
|
23202
|
+
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), J = $ && N, de = J ? E : y2(E, p), Me = de.width > 0 && de.height > 0, { maxWidth: Ce, maxHeight: ve } = dh(t.direction, de, c), Oe = {
|
|
23203
23203
|
rect: de,
|
|
23204
23204
|
maxHeight: ve,
|
|
23205
|
-
maxWidth:
|
|
23205
|
+
maxWidth: Ce,
|
|
23206
23206
|
direction: t.direction,
|
|
23207
23207
|
placement: t.placement,
|
|
23208
23208
|
classes: {
|
|
@@ -23216,7 +23216,7 @@ Receiver: ` + jd(s.element), E, g.data);
|
|
|
23216
23216
|
}, c3 = (t, s, a, c, d, g) => {
|
|
23217
23217
|
const p = c.width, w = c.height, C = ($, N, H, W, J) => {
|
|
23218
23218
|
const de = $(a, c, d, t, g), Me = l3(de, p, w, g);
|
|
23219
|
-
return Me.fold(ae(Me), (
|
|
23219
|
+
return Me.fold(ae(Me), (Ce, ve, Oe, dt) => (J === dt ? Oe > W || ve > H : !J && dt) ? Me : J0.nofit(N, H, W, J));
|
|
23220
23220
|
};
|
|
23221
23221
|
return Wo(s, ($, N) => {
|
|
23222
23222
|
const H = In(C, N);
|
|
@@ -24683,8 +24683,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24683
24683
|
J(de, E, $), Me.stop();
|
|
24684
24684
|
})), H = (J, de) => {
|
|
24685
24685
|
const Me = ko(Ri.concat(om))(de.event);
|
|
24686
|
-
E.focusInside === h.OnEnterOrSpaceMode && Me && Yc(J, de) && d(E).each((
|
|
24687
|
-
|
|
24686
|
+
E.focusInside === h.OnEnterOrSpaceMode && Me && Yc(J, de) && d(E).each((Ce) => {
|
|
24687
|
+
Ce(J, E, $), de.stop();
|
|
24688
24688
|
});
|
|
24689
24689
|
}, W = [
|
|
24690
24690
|
Qe(Ou(), (J, de) => {
|
|
@@ -24712,26 +24712,26 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
24712
24712
|
Re("firstTabstop", 0),
|
|
24713
24713
|
Re("useTabstopAt", Nt),
|
|
24714
24714
|
Uo("visibilitySelector")
|
|
24715
|
-
].concat([t]), a = (
|
|
24716
|
-
const Oe =
|
|
24715
|
+
].concat([t]), a = (Ce, ve) => {
|
|
24716
|
+
const Oe = Ce.visibilitySelector.bind((dt) => dd(ve, dt)).getOr(ve);
|
|
24717
24717
|
return Us(Oe) > 0;
|
|
24718
|
-
}, c = (
|
|
24719
|
-
const Oe = ka(
|
|
24718
|
+
}, c = (Ce, ve) => {
|
|
24719
|
+
const Oe = ka(Ce.element, ve.selector), dt = so(Oe, (Je) => a(ve, Je));
|
|
24720
24720
|
return D.from(dt[ve.firstTabstop]);
|
|
24721
|
-
}, d = (
|
|
24722
|
-
c(
|
|
24723
|
-
ve.focusManager.set(
|
|
24724
|
-
});
|
|
24725
|
-
}, w = (
|
|
24726
|
-
const Je = ka(
|
|
24727
|
-
return d(
|
|
24728
|
-
}, E = (
|
|
24721
|
+
}, 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) => {
|
|
24722
|
+
c(Ce, ve).each((dt) => {
|
|
24723
|
+
ve.focusManager.set(Ce, dt);
|
|
24724
|
+
});
|
|
24725
|
+
}, 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) => {
|
|
24726
|
+
const Je = ka(Ce.element, Oe.selector);
|
|
24727
|
+
return d(Ce, Oe).bind((Ge) => Rt(Je, In(zo, Ge)).bind((At) => w(Ce, Je, At, Oe, dt)));
|
|
24728
|
+
}, E = (Ce, ve, Oe) => {
|
|
24729
24729
|
const dt = Oe.cyclic ? mw : gT;
|
|
24730
|
-
return C(
|
|
24731
|
-
}, $ = (
|
|
24730
|
+
return C(Ce, ve, Oe, dt);
|
|
24731
|
+
}, $ = (Ce, ve, Oe) => {
|
|
24732
24732
|
const dt = Oe.cyclic ? fw : hT;
|
|
24733
|
-
return C(
|
|
24734
|
-
}, N = (
|
|
24733
|
+
return C(Ce, ve, Oe, dt);
|
|
24734
|
+
}, 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)), J = (Ce, ve, Oe) => Oe.onEscape.bind((dt) => dt(Ce, ve)), de = ae([
|
|
24735
24735
|
$o($i([
|
|
24736
24736
|
cf,
|
|
24737
24737
|
ko(af)
|
|
@@ -25534,7 +25534,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25534
25534
|
triggeringItem: jt,
|
|
25535
25535
|
triggeringPath: vt
|
|
25536
25536
|
})))), N = (Je, Ge) => {
|
|
25537
|
-
const vt = so(
|
|
25537
|
+
const vt = so(Ce(Je).toArray(), (At) => de(At).isSome());
|
|
25538
25538
|
return bt(a.get(), Je).bind((At) => {
|
|
25539
25539
|
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)]));
|
|
25540
25540
|
return ts(jt);
|
|
@@ -25542,7 +25542,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25542
25542
|
}, H = (Je) => bt(t.get(), Je).map((Ge) => {
|
|
25543
25543
|
const vt = bt(a.get(), Je).getOr([]);
|
|
25544
25544
|
return [Ge].concat(vt);
|
|
25545
|
-
}), W = (Je) => bt(a.get(), Je).bind((Ge) => Ge.length > 1 ? D.some(Ge.slice(1)) : D.none()), J = (Je) => bt(a.get(), Je), de = (Je) => Me(Je).bind(Nv), Me = (Je) => bt(s.get(), Je),
|
|
25545
|
+
}), W = (Je) => bt(a.get(), Je).bind((Ge) => Ge.length > 1 ? D.some(Ge.slice(1)) : D.none()), J = (Je) => bt(a.get(), Je), de = (Je) => Me(Je).bind(Nv), Me = (Je) => bt(s.get(), Je), Ce = (Je) => bt(t.get(), Je);
|
|
25546
25546
|
return {
|
|
25547
25547
|
setMenuBuilt: w,
|
|
25548
25548
|
setContents: C,
|
|
@@ -25550,7 +25550,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25550
25550
|
refresh: J,
|
|
25551
25551
|
collapse: W,
|
|
25552
25552
|
lookupMenu: Me,
|
|
25553
|
-
lookupItem:
|
|
25553
|
+
lookupItem: Ce,
|
|
25554
25554
|
otherMenus: (Je) => {
|
|
25555
25555
|
const Ge = d.get();
|
|
25556
25556
|
return zt(bs(Ge), Je);
|
|
@@ -25642,7 +25642,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25642
25642
|
(function(Dt) {
|
|
25643
25643
|
Dt[Dt.HighlightSubmenu = 0] = "HighlightSubmenu", Dt[Dt.HighlightParent = 1] = "HighlightParent";
|
|
25644
25644
|
})(Me || (Me = {}));
|
|
25645
|
-
const
|
|
25645
|
+
const Ce = (Dt, en, On) => {
|
|
25646
25646
|
if (On.type === "notbuilt") {
|
|
25647
25647
|
const Pn = Dt.getSystem().build(On.nbMenu());
|
|
25648
25648
|
return d.setMenuBuilt(en, Pn), Pn;
|
|
@@ -25654,7 +25654,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
25654
25654
|
{
|
|
25655
25655
|
const Pn = p(en);
|
|
25656
25656
|
return d.expand(Pn).bind((yn) => (J(Dt, yn), D.from(yn[0]).bind((Hn) => d.lookupMenu(Hn).bind((ks) => {
|
|
25657
|
-
const Mo =
|
|
25657
|
+
const Mo = Ce(Dt, Hn, ks);
|
|
25658
25658
|
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));
|
|
25659
25659
|
}))));
|
|
25660
25660
|
}
|
|
@@ -26761,7 +26761,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26761
26761
|
return s.isSupported = !1, s;
|
|
26762
26762
|
const a = t.document, c = a.currentScript;
|
|
26763
26763
|
let { document: d } = t;
|
|
26764
|
-
const { DocumentFragment: g, HTMLTemplateElement: p, Node: w, Element: C, NodeFilter: E, NamedNodeMap: $ = t.NamedNodeMap || t.MozNamedAttrMap, HTMLFormElement: N, DOMParser: H, trustedTypes: W } = t, J = C.prototype, de = Cw(J, "cloneNode"), Me = Cw(J, "nextSibling"),
|
|
26764
|
+
const { DocumentFragment: g, HTMLTemplateElement: p, Node: w, Element: C, NodeFilter: E, NamedNodeMap: $ = t.NamedNodeMap || t.MozNamedAttrMap, HTMLFormElement: N, DOMParser: H, trustedTypes: W } = t, J = C.prototype, de = Cw(J, "cloneNode"), Me = Cw(J, "nextSibling"), Ce = Cw(J, "childNodes"), ve = Cw(J, "parentNode");
|
|
26765
26765
|
if (typeof p == "function") {
|
|
26766
26766
|
const wo = d.createElement("template");
|
|
26767
26767
|
wo.content && wo.content.ownerDocument && (d = wo.content.ownerDocument);
|
|
@@ -26998,7 +26998,7 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
26998
26998
|
if (!bl[Bn] && QG(Bn) && (Mo.tagNameCheck instanceof RegExp && yd(Mo.tagNameCheck, Bn) || Mo.tagNameCheck instanceof Function && Mo.tagNameCheck(Bn)))
|
|
26999
26999
|
return !1;
|
|
27000
27000
|
if (_j && !k4[Bn]) {
|
|
27001
|
-
const ca = ve(Ue) || Ue.parentNode, Wi =
|
|
27001
|
+
const ca = ve(Ue) || Ue.parentNode, Wi = Ce(Ue) || Ue.childNodes;
|
|
27002
27002
|
if (Wi && ca) {
|
|
27003
27003
|
const Tg = Wi.length;
|
|
27004
27004
|
for (let Pl = Tg - 1; Pl >= 0; --Pl)
|
|
@@ -27379,16 +27379,16 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
27379
27379
|
const J = {
|
|
27380
27380
|
close: $,
|
|
27381
27381
|
reposition: () => {
|
|
27382
|
-
const de = Ti(N), Me = { maxHeightFunction: kp() },
|
|
27383
|
-
if (
|
|
27382
|
+
const de = Ti(N), Me = { maxHeightFunction: kp() }, Ce = t.notificationManager.getNotifications();
|
|
27383
|
+
if (Ce[0] === J) {
|
|
27384
27384
|
const ve = {
|
|
27385
27385
|
...c.anchors.banner(),
|
|
27386
27386
|
overrides: Me
|
|
27387
27387
|
};
|
|
27388
27388
|
dr.showWithinBounds(H, de, { anchor: ve }, d);
|
|
27389
27389
|
} else
|
|
27390
|
-
Pe(
|
|
27391
|
-
const Oe =
|
|
27390
|
+
Pe(Ce, J).each((ve) => {
|
|
27391
|
+
const Oe = Ce[ve - 1].getEl(), dt = {
|
|
27392
27392
|
type: "node",
|
|
27393
27393
|
root: Vs(),
|
|
27394
27394
|
node: D.some(Ae.fromDom(Oe)),
|
|
@@ -29761,8 +29761,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29761
29761
|
fireDismissalEventInstead: {},
|
|
29762
29762
|
inlineBehaviours: xt([Un("dismissAutocompleter", [
|
|
29763
29763
|
Qe(If(), () => $()),
|
|
29764
|
-
Qe(P0(), (Me,
|
|
29765
|
-
I(
|
|
29764
|
+
Qe(P0(), (Me, Ce) => {
|
|
29765
|
+
I(Ce.event.target, "id").each((ve) => It(Ae.fromDom(t.getBody()), "aria-activedescendant", ve));
|
|
29766
29766
|
})
|
|
29767
29767
|
])]),
|
|
29768
29768
|
lazySink: s.getSink
|
|
@@ -29770,12 +29770,12 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29770
29770
|
if (p()) {
|
|
29771
29771
|
dr.hide(g), t.dom.remove(a, !1);
|
|
29772
29772
|
const Me = Ae.fromDom(t.getBody());
|
|
29773
|
-
I(Me, "aria-owns").filter((
|
|
29773
|
+
I(Me, "aria-owns").filter((Ce) => Ce === a).each(() => {
|
|
29774
29774
|
le(Me, "aria-owns"), le(Me, "aria-activedescendant");
|
|
29775
29775
|
});
|
|
29776
29776
|
}
|
|
29777
29777
|
}, E = () => dr.getContent(g).bind((Me) => ps(Me.components(), 0)), $ = () => t.execCommand("mceAutocompleterClose"), N = (Me) => {
|
|
29778
|
-
const
|
|
29778
|
+
const Ce = nr(Me, (ve) => D.from(ve.columns)).getOr(1);
|
|
29779
29779
|
return Te(Me, (ve) => {
|
|
29780
29780
|
const Oe = ve.items;
|
|
29781
29781
|
return gF(Oe, ve.matchText, (dt, Je) => {
|
|
@@ -29789,9 +29789,9 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29789
29789
|
};
|
|
29790
29790
|
c.set(!0), ve.onAction(At, vt, dt, Je), c.set(!1);
|
|
29791
29791
|
});
|
|
29792
|
-
},
|
|
29792
|
+
}, Ce, ff.BUBBLE_TO_SANDBOX, s, ve.highlightOn);
|
|
29793
29793
|
});
|
|
29794
|
-
}, H = (Me,
|
|
29794
|
+
}, H = (Me, Ce) => {
|
|
29795
29795
|
kI(Ae.fromDom(t.getBody())).each((ve) => {
|
|
29796
29796
|
const Oe = nr(Me, (dt) => D.from(dt.columns)).getOr(1);
|
|
29797
29797
|
dr.showMenuAt(g, {
|
|
@@ -29800,14 +29800,14 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29800
29800
|
root: Ae.fromDom(t.getBody()),
|
|
29801
29801
|
node: D.from(ve)
|
|
29802
29802
|
}
|
|
29803
|
-
}, hF(fS("autocompleter-value", !0,
|
|
29803
|
+
}, hF(fS("autocompleter-value", !0, Ce, Oe, { menuType: "normal" }), Oe, Kw.ContentFocus, "normal"));
|
|
29804
29804
|
}), E().each(Ho.highlightFirst);
|
|
29805
29805
|
}, W = (Me) => {
|
|
29806
|
-
const
|
|
29807
|
-
|
|
29806
|
+
const Ce = N(Me);
|
|
29807
|
+
Ce.length > 0 ? (H(Me, Ce), It(Ae.fromDom(t.getBody()), "aria-owns", a), t.inline || J()) : C();
|
|
29808
29808
|
}, J = () => {
|
|
29809
29809
|
t.dom.get(a) && t.dom.remove(a, !1);
|
|
29810
|
-
const Me = t.getDoc().documentElement,
|
|
29810
|
+
const Me = t.getDoc().documentElement, Ce = t.selection.getNode(), ve = P4(g.element);
|
|
29811
29811
|
Ms(ve, {
|
|
29812
29812
|
border: "0",
|
|
29813
29813
|
clip: "rect(0 0 0 0)",
|
|
@@ -29817,8 +29817,8 @@ Components: ` + JSON.stringify(s.components, null, 2));
|
|
|
29817
29817
|
padding: "0",
|
|
29818
29818
|
position: "absolute",
|
|
29819
29819
|
width: "1px",
|
|
29820
|
-
top: `${
|
|
29821
|
-
left: `${
|
|
29820
|
+
top: `${Ce.offsetTop}px`,
|
|
29821
|
+
left: `${Ce.offsetLeft}px`
|
|
29822
29822
|
}), t.dom.add(Me, ve.dom), Ir(ve, '[role="menu"]').each((Oe) => {
|
|
29823
29823
|
Co(Oe, "position"), Co(Oe, "max-height");
|
|
29824
29824
|
});
|
|
@@ -30102,86 +30102,86 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
30102
30102
|
Re("eventOrder", {})
|
|
30103
30103
|
]
|
|
30104
30104
|
}), IS = (t) => {
|
|
30105
|
-
const s = (
|
|
30106
|
-
triggerEvent: (
|
|
30105
|
+
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, {
|
|
30106
|
+
triggerEvent: (Ce, ve) => Wb(Ce, ve.target, (Oe) => b5(c, Ce, ve, Oe))
|
|
30107
30107
|
}), g = {
|
|
30108
30108
|
debugInfo: ae("real"),
|
|
30109
|
-
triggerEvent: (
|
|
30110
|
-
Wb(
|
|
30109
|
+
triggerEvent: (Ce, ve, Oe) => {
|
|
30110
|
+
Wb(Ce, ve, (dt) => M6(c, Ce, Oe, ve, dt));
|
|
30111
30111
|
},
|
|
30112
|
-
triggerFocus: (
|
|
30113
|
-
L0(
|
|
30114
|
-
Oc(
|
|
30112
|
+
triggerFocus: (Ce, ve) => {
|
|
30113
|
+
L0(Ce).fold(() => {
|
|
30114
|
+
Oc(Ce);
|
|
30115
30115
|
}, (Oe) => {
|
|
30116
|
-
Wb(ld(),
|
|
30116
|
+
Wb(ld(), Ce, (dt) => (kF(c, ld(), {
|
|
30117
30117
|
originator: ve,
|
|
30118
30118
|
kill: he,
|
|
30119
30119
|
prevent: he,
|
|
30120
|
-
target:
|
|
30121
|
-
},
|
|
30120
|
+
target: Ce
|
|
30121
|
+
}, Ce, dt), !1));
|
|
30122
30122
|
});
|
|
30123
30123
|
},
|
|
30124
|
-
triggerEscape: (
|
|
30125
|
-
g.triggerEvent("keydown",
|
|
30124
|
+
triggerEscape: (Ce, ve) => {
|
|
30125
|
+
g.triggerEvent("keydown", Ce.element, ve.event);
|
|
30126
30126
|
},
|
|
30127
|
-
getByUid: (
|
|
30128
|
-
getByDom: (
|
|
30127
|
+
getByUid: (Ce) => de(Ce),
|
|
30128
|
+
getByDom: (Ce) => Me(Ce),
|
|
30129
30129
|
build: Tl,
|
|
30130
30130
|
buildOrPatch: Vb,
|
|
30131
|
-
addToGui: (
|
|
30132
|
-
C(
|
|
30131
|
+
addToGui: (Ce) => {
|
|
30132
|
+
C(Ce);
|
|
30133
30133
|
},
|
|
30134
|
-
removeFromGui: (
|
|
30135
|
-
E(
|
|
30134
|
+
removeFromGui: (Ce) => {
|
|
30135
|
+
E(Ce);
|
|
30136
30136
|
},
|
|
30137
|
-
addToWorld: (
|
|
30138
|
-
p(
|
|
30137
|
+
addToWorld: (Ce) => {
|
|
30138
|
+
p(Ce);
|
|
30139
30139
|
},
|
|
30140
|
-
removeFromWorld: (
|
|
30141
|
-
w(
|
|
30140
|
+
removeFromWorld: (Ce) => {
|
|
30141
|
+
w(Ce);
|
|
30142
30142
|
},
|
|
30143
|
-
broadcast: (
|
|
30144
|
-
H(
|
|
30143
|
+
broadcast: (Ce) => {
|
|
30144
|
+
H(Ce);
|
|
30145
30145
|
},
|
|
30146
|
-
broadcastOn: (
|
|
30147
|
-
W(
|
|
30146
|
+
broadcastOn: (Ce, ve) => {
|
|
30147
|
+
W(Ce, ve);
|
|
30148
30148
|
},
|
|
30149
|
-
broadcastEvent: (
|
|
30150
|
-
J(
|
|
30149
|
+
broadcastEvent: (Ce, ve) => {
|
|
30150
|
+
J(Ce, ve);
|
|
30151
30151
|
},
|
|
30152
30152
|
isConnected: Nt
|
|
30153
|
-
}, p = (
|
|
30154
|
-
|
|
30155
|
-
}, w = (
|
|
30156
|
-
ea(
|
|
30157
|
-
}, C = (
|
|
30158
|
-
eg(t,
|
|
30159
|
-
}, E = (
|
|
30160
|
-
tm(
|
|
30153
|
+
}, p = (Ce) => {
|
|
30154
|
+
Ce.connect(g), ea(Ce.element) || (a.register(Ce), pt(Ce.components(), p), g.triggerEvent(Bf(), Ce.element, { target: Ce.element }));
|
|
30155
|
+
}, w = (Ce) => {
|
|
30156
|
+
ea(Ce.element) || (pt(Ce.components(), w), a.unregister(Ce)), Ce.disconnect();
|
|
30157
|
+
}, C = (Ce) => {
|
|
30158
|
+
eg(t, Ce);
|
|
30159
|
+
}, E = (Ce) => {
|
|
30160
|
+
tm(Ce);
|
|
30161
30161
|
}, $ = () => {
|
|
30162
30162
|
d.unbind(), Tc(t.element);
|
|
30163
|
-
}, N = (
|
|
30163
|
+
}, N = (Ce) => {
|
|
30164
30164
|
const ve = a.filter(th());
|
|
30165
30165
|
pt(ve, (Oe) => {
|
|
30166
30166
|
const dt = Oe.descHandler;
|
|
30167
|
-
ap(dt)(
|
|
30167
|
+
ap(dt)(Ce);
|
|
30168
30168
|
});
|
|
30169
|
-
}, H = (
|
|
30169
|
+
}, H = (Ce) => {
|
|
30170
30170
|
N({
|
|
30171
30171
|
universal: !0,
|
|
30172
|
-
data:
|
|
30172
|
+
data: Ce
|
|
30173
30173
|
});
|
|
30174
|
-
}, W = (
|
|
30174
|
+
}, W = (Ce, ve) => {
|
|
30175
30175
|
N({
|
|
30176
30176
|
universal: !1,
|
|
30177
|
-
channels:
|
|
30177
|
+
channels: Ce,
|
|
30178
30178
|
data: ve
|
|
30179
30179
|
});
|
|
30180
|
-
}, J = (
|
|
30181
|
-
const Oe = a.filter(
|
|
30180
|
+
}, J = (Ce, ve) => {
|
|
30181
|
+
const Oe = a.filter(Ce);
|
|
30182
30182
|
return TF(Oe, ve);
|
|
30183
|
-
}, de = (
|
|
30184
|
-
const ve = L0(
|
|
30183
|
+
}, de = (Ce) => a.getById(Ce).fold(() => Vn.error(new Error('Could not find component with uid: "' + Ce + '" in system.')), Vn.value), Me = (Ce) => {
|
|
30184
|
+
const ve = L0(Ce).getOr("not found");
|
|
30185
30185
|
return de(ve);
|
|
30186
30186
|
};
|
|
30187
30187
|
return p(t), {
|
|
@@ -30343,8 +30343,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
30343
30343
|
"-": " "
|
|
30344
30344
|
}, vt = Oe.replace(/\_| \- |\-/g, (Wn) => Ge[Wn]);
|
|
30345
30345
|
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>`;
|
|
30346
|
-
}), Me = t.columns !== "auto" && t.columns > 1 ? br(de, t.columns) : [de],
|
|
30347
|
-
nh(W.element,
|
|
30346
|
+
}), Me = t.columns !== "auto" && t.columns > 1 ? br(de, t.columns) : [de], Ce = tt(Me, (ve) => `<div class="tox-collection__group">${ve.join("")}</div>`);
|
|
30347
|
+
nh(W.element, Ce.join(""));
|
|
30348
30348
|
}, C = p((W, J, de, Me) => {
|
|
30349
30349
|
J.stop(), s.isDisabled() || dn(W, hg, {
|
|
30350
30350
|
name: t.name,
|
|
@@ -30743,8 +30743,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
30743
30743
|
if (d > H)
|
|
30744
30744
|
return de;
|
|
30745
30745
|
{
|
|
30746
|
-
const Me = h9(d, N, H),
|
|
30747
|
-
return p &&
|
|
30746
|
+
const Me = h9(d, N, H), Ce = J6(Me / W * c + s, J, de);
|
|
30747
|
+
return p && Ce >= s && Ce <= a ? g9(Ce, s, a, g, w) : C ? Math.round(Ce) : Ce;
|
|
30748
30748
|
}
|
|
30749
30749
|
}, eM = (t) => {
|
|
30750
30750
|
const { min: s, max: a, range: c, value: d, hasMinEdge: g, hasMaxEdge: p, maxBound: w, maxOffset: C, centerMinEdge: E, centerMaxEdge: $ } = t;
|
|
@@ -31041,7 +31041,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31041
31041
|
N.setToMin(Je, t);
|
|
31042
31042
|
}, Me = (Je) => {
|
|
31043
31043
|
N.setToMax(Je, t);
|
|
31044
|
-
},
|
|
31044
|
+
}, Ce = (Je) => {
|
|
31045
31045
|
const Ge = () => {
|
|
31046
31046
|
_s(Je, t, "thumb").each((At) => {
|
|
31047
31047
|
const Wn = $.value.get();
|
|
@@ -31052,7 +31052,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31052
31052
|
}, ve = (Je, Ge) => {
|
|
31053
31053
|
Ge.stop(), t.mouseIsDown.set(!0), t.onDragStart(Je, d(Je));
|
|
31054
31054
|
}, Oe = (Je, Ge) => {
|
|
31055
|
-
Ge.stop(), t.onDragEnd(Je, d(Je)),
|
|
31055
|
+
Ge.stop(), t.onDragEnd(Je, d(Je)), Ce(Je);
|
|
31056
31056
|
}, dt = (Je) => {
|
|
31057
31057
|
_s(Je, t, "spectrum").map(mn.focusIn);
|
|
31058
31058
|
};
|
|
@@ -31072,7 +31072,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31072
31072
|
setValue: W
|
|
31073
31073
|
}
|
|
31074
31074
|
}),
|
|
31075
|
-
Dc.config({ channels: { [G2()]: { onReceive:
|
|
31075
|
+
Dc.config({ channels: { [G2()]: { onReceive: Ce } } })
|
|
31076
31076
|
]),
|
|
31077
31077
|
events: As([
|
|
31078
31078
|
Qe(sy(), (Je, Ge) => {
|
|
@@ -31226,7 +31226,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31226
31226
|
validateOnLoad: !1
|
|
31227
31227
|
}
|
|
31228
31228
|
}), g = (H, W, J, de, Me) => {
|
|
31229
|
-
const
|
|
31229
|
+
const Ce = t(iy + "range"), ve = Qo.parts.label({
|
|
31230
31230
|
dom: {
|
|
31231
31231
|
tag: "label",
|
|
31232
31232
|
attributes: { "aria-label": de }
|
|
@@ -31250,7 +31250,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31250
31250
|
}), dt = [
|
|
31251
31251
|
ve,
|
|
31252
31252
|
Oe
|
|
31253
|
-
], Je = W !== "hex" ? [Qo.parts["aria-descriptor"]({ text:
|
|
31253
|
+
], Je = W !== "hex" ? [Qo.parts["aria-descriptor"]({ text: Ce })] : [], Ge = dt.concat(Je);
|
|
31254
31254
|
return {
|
|
31255
31255
|
dom: {
|
|
31256
31256
|
tag: "div",
|
|
@@ -31291,10 +31291,10 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31291
31291
|
hex: gn(D.some("ffffff"))
|
|
31292
31292
|
}, W = (Sn, Yo) => {
|
|
31293
31293
|
const bn = Zw(Yo);
|
|
31294
|
-
w(Sn, bn),
|
|
31294
|
+
w(Sn, bn), Ce(bn);
|
|
31295
31295
|
}, J = (Sn) => H[Sn].get(), de = (Sn, Yo) => {
|
|
31296
31296
|
H[Sn].set(Yo);
|
|
31297
|
-
}, Me = () => J("red").bind((Sn) => J("green").bind((Yo) => J("blue").map((bn) => n0(Sn, Yo, bn, 1)))),
|
|
31297
|
+
}, Me = () => J("red").bind((Sn) => J("green").bind((Yo) => J("blue").map((bn) => n0(Sn, Yo, bn, 1)))), Ce = (Sn) => {
|
|
31298
31298
|
const Yo = Sn.red, bn = Sn.green, Ro = Sn.blue;
|
|
31299
31299
|
de("red", D.some(Yo)), de("green", D.some(bn)), de("blue", D.some(Ro));
|
|
31300
31300
|
}, ve = (Sn, Yo) => {
|
|
@@ -31305,7 +31305,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31305
31305
|
const bn = N$(Yo);
|
|
31306
31306
|
de("hex", D.some(bn.value));
|
|
31307
31307
|
const Ro = Zw(bn);
|
|
31308
|
-
w(Sn, Ro),
|
|
31308
|
+
w(Sn, Ro), Ce(Ro), dn(Sn, ax, { hex: bn }), E(Sn, bn);
|
|
31309
31309
|
}, dt = (Sn, Yo, bn) => {
|
|
31310
31310
|
const Ro = parseInt(bn, 10);
|
|
31311
31311
|
de(Yo, D.some(Ro)), Me().each((Dt) => {
|
|
@@ -31405,7 +31405,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31405
31405
|
Math.floor(Me.x),
|
|
31406
31406
|
Math.floor(100 - Me.y)
|
|
31407
31407
|
])), dn(J, lx, { value: Me });
|
|
31408
|
-
}, H = (J, de, Me,
|
|
31408
|
+
}, H = (J, de, Me, Ce) => {
|
|
31409
31409
|
d(Me.element.dom, WE(Cd));
|
|
31410
31410
|
}, W = xt([
|
|
31411
31411
|
yo.config({ find: D.some }),
|
|
@@ -31471,11 +31471,11 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
31471
31471
|
N.getOpt(Ge).each((At) => {
|
|
31472
31472
|
p.setThumb(At, vt);
|
|
31473
31473
|
});
|
|
31474
|
-
},
|
|
31474
|
+
}, Ce = (Ge, vt) => {
|
|
31475
31475
|
const At = Zw(Ge);
|
|
31476
31476
|
E.paletteRgba.set(At), E.paletteHue.set(vt);
|
|
31477
31477
|
}, ve = (Ge, vt, At, Wn) => {
|
|
31478
|
-
|
|
31478
|
+
Ce(vt, At), pt(Wn, (jt) => {
|
|
31479
31479
|
jt(Ge, vt, At);
|
|
31480
31480
|
});
|
|
31481
31481
|
}, Oe = () => {
|
|
@@ -32597,8 +32597,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
32597
32597
|
}),
|
|
32598
32598
|
Ea(),
|
|
32599
32599
|
Un("size-input-events2", [Qe(c, (N, H) => {
|
|
32600
|
-
const W = H.event.isField1, J = W ? Li.getField1(N) : Li.getField2(N), de = W ? Li.getField2(N) : Li.getField1(N), Me = J.map(Vt.getValue).getOr(""),
|
|
32601
|
-
a = wH(Me,
|
|
32600
|
+
const W = H.event.isField1, J = W ? Li.getField1(N) : Li.getField2(N), de = W ? Li.getField2(N) : Li.getField1(N), Me = J.map(Vt.getValue).getOr(""), Ce = de.map(Vt.getValue).getOr("");
|
|
32601
|
+
a = wH(Me, Ce);
|
|
32602
32602
|
})])
|
|
32603
32603
|
])
|
|
32604
32604
|
});
|
|
@@ -33323,8 +33323,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
33323
33323
|
BS(t, p(N), N, J, c, de, Bc.HighlightMenuAndItem).get(he);
|
|
33324
33324
|
}
|
|
33325
33325
|
}, g = pE(t), p = (N) => (H) => H.map((W) => {
|
|
33326
|
-
const J = Gi(W.menus), de = Te(J, (
|
|
33327
|
-
return Vt.getState(N).update(tt(de, (
|
|
33326
|
+
const J = Gi(W.menus), de = Te(J, (Ce) => so(Ce.items, (ve) => ve.type === "item"));
|
|
33327
|
+
return Vt.getState(N).update(tt(de, (Ce) => Ce.data)), W;
|
|
33328
33328
|
}), w = (N) => yo.getCurrent(N), C = "typeaheadevents", E = [
|
|
33329
33329
|
_n.config({}),
|
|
33330
33330
|
Vt.config({
|
|
@@ -33351,9 +33351,9 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
33351
33351
|
onStream: (N, H) => {
|
|
33352
33352
|
const W = Fr.getCoupled(N, "sandbox");
|
|
33353
33353
|
if (_n.isFocused(N) && qd(N.element).length >= t.minChars) {
|
|
33354
|
-
const de = w(W).bind((
|
|
33354
|
+
const de = w(W).bind((Ce) => Ho.getHighlighted(Ce).map(Vt.getValue));
|
|
33355
33355
|
t.previewing.set(!0);
|
|
33356
|
-
const Me = (
|
|
33356
|
+
const Me = (Ce) => {
|
|
33357
33357
|
w(W).each((ve) => {
|
|
33358
33358
|
de.fold(() => {
|
|
33359
33359
|
t.model.selectsOver && Ho.highlightFirst(ve);
|
|
@@ -33638,8 +33638,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
33638
33638
|
}, H = [], W = s.translate(t.text.getOr("")), J = Sr(W), Me = [
|
|
33639
33639
|
...Jv([d.map((ve) => ve.asSpec())]),
|
|
33640
33640
|
...t.text.isSome() ? [J] : []
|
|
33641
|
-
],
|
|
33642
|
-
return Ja.sketch(
|
|
33641
|
+
], Ce = gk(w, D.some(g), H, N, Me, s);
|
|
33642
|
+
return Ja.sketch(Ce);
|
|
33643
33643
|
}, hk = (t, s, a) => {
|
|
33644
33644
|
if (UH(t, s)) {
|
|
33645
33645
|
const c = () => p, d = t, g = {
|
|
@@ -33845,7 +33845,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
33845
33845
|
[J.asSpec()],
|
|
33846
33846
|
H.map(() => de.asSpec()).toArray()
|
|
33847
33847
|
])
|
|
33848
|
-
}),
|
|
33848
|
+
}), Ce = (ve) => {
|
|
33849
33849
|
yo.getCurrent(ve).each((Oe) => {
|
|
33850
33850
|
const dt = Vt.getValue(Oe), Je = {
|
|
33851
33851
|
fieldname: t.name,
|
|
@@ -33872,7 +33872,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
33872
33872
|
}
|
|
33873
33873
|
}),
|
|
33874
33874
|
Ea(),
|
|
33875
|
-
Un("url-input-events", [Qe(W,
|
|
33875
|
+
Un("url-input-events", [Qe(W, Ce)])
|
|
33876
33876
|
])
|
|
33877
33877
|
});
|
|
33878
33878
|
}, xA = (t, s) => {
|
|
@@ -34567,7 +34567,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
34567
34567
|
});
|
|
34568
34568
|
}, de = (Ge) => c(Ud(), C2(Ge)), Me = (Ge) => {
|
|
34569
34569
|
d(ph(), {}), c(id(), C2(Ge));
|
|
34570
|
-
},
|
|
34570
|
+
}, Ce = Ie(Ae.fromDom(t.getElement())), ve = Qb(Ce, "scroll", (Ge) => {
|
|
34571
34571
|
requestAnimationFrame(() => {
|
|
34572
34572
|
const vt = t.getContainer();
|
|
34573
34573
|
if (vt != null) {
|
|
@@ -34612,8 +34612,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
34612
34612
|
const $ = Fn.contents(E), N = C.length, H = N - $.length, W = H > 0 ? ho(H, () => t.makeItem()) : [], J = $.slice(N);
|
|
34613
34613
|
pt(J, (Me) => Fn.remove(E, Me)), pt(W, (Me) => Fn.append(E, Me));
|
|
34614
34614
|
const de = Fn.contents(E);
|
|
34615
|
-
pt(de, (Me,
|
|
34616
|
-
t.setupItem(w, Me, C[
|
|
34615
|
+
pt(de, (Me, Ce) => {
|
|
34616
|
+
t.setupItem(w, Me, C[Ce], Ce);
|
|
34617
34617
|
});
|
|
34618
34618
|
});
|
|
34619
34619
|
}, g = t.shell ? {
|
|
@@ -34954,8 +34954,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
34954
34954
|
if (de && E < J)
|
|
34955
34955
|
Lg(g.left, E - H, a);
|
|
34956
34956
|
else if (Me && $ > W) {
|
|
34957
|
-
const
|
|
34958
|
-
Lg(g.left,
|
|
34957
|
+
const Ce = E - d + C + H;
|
|
34958
|
+
Lg(g.left, Ce, a);
|
|
34959
34959
|
}
|
|
34960
34960
|
}, Ek = (t, s) => no(sr.getModes(t), s), X1 = (t) => {
|
|
34961
34961
|
const s = (c) => Md(c) + (parseInt(ls(c, "margin-top"), 10) || 0) + (parseInt(ls(c, "margin-bottom"), 10) || 0), a = t.element;
|
|
@@ -35220,20 +35220,20 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
35220
35220
|
}));
|
|
35221
35221
|
return lw(hP, fz, d, hz, a);
|
|
35222
35222
|
}, hz = (t, s) => {
|
|
35223
|
-
const a = (de) => ow(t), c = (de, Me) => _s(de, t, Me), d = (de, Me) => (
|
|
35224
|
-
pt(
|
|
35223
|
+
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) => {
|
|
35224
|
+
pt(Ce, (ve) => de(Me, ve));
|
|
35225
35225
|
}, p = (de, Me) => js(de.element, "aria-hidden") !== "true", w = (de, Me) => {
|
|
35226
35226
|
if (!p(de)) {
|
|
35227
|
-
const
|
|
35228
|
-
Co(
|
|
35227
|
+
const Ce = de.element;
|
|
35228
|
+
Co(Ce, "display"), le(Ce, "aria-hidden"), dn(de, M0(), {
|
|
35229
35229
|
name: Me,
|
|
35230
35230
|
visible: !0
|
|
35231
35231
|
});
|
|
35232
35232
|
}
|
|
35233
35233
|
}, C = (de, Me) => {
|
|
35234
35234
|
if (p(de)) {
|
|
35235
|
-
const
|
|
35236
|
-
Yt(
|
|
35235
|
+
const Ce = de.element;
|
|
35236
|
+
Yt(Ce, "display", "none"), It(Ce, "aria-hidden", "true"), dn(de, M0(), {
|
|
35237
35237
|
name: Me,
|
|
35238
35238
|
visible: !1
|
|
35239
35239
|
});
|
|
@@ -36156,7 +36156,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
36156
36156
|
tag: "button",
|
|
36157
36157
|
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"] : []),
|
|
36158
36158
|
attributes: H
|
|
36159
|
-
},
|
|
36159
|
+
}, Ce = [], ve = gk(C, D.some(w), Ce, Me, J, s);
|
|
36160
36160
|
return Ja.sketch(ve);
|
|
36161
36161
|
}, lD = (t, s) => qz(t, s), vy = (t, s) => ({
|
|
36162
36162
|
dom: {
|
|
@@ -37034,7 +37034,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
37034
37034
|
]
|
|
37035
37035
|
}
|
|
37036
37036
|
});
|
|
37037
|
-
}, de = Jo(J((ve) => $(!1, ve), "minus", "Decrease font size", [])), Me = Jo(J((ve) => N(!1, ve), "plus", "Increase font size", [])),
|
|
37037
|
+
}, de = Jo(J((ve) => $(!1, ve), "minus", "Decrease font size", [])), Me = Jo(J((ve) => N(!1, ve), "plus", "Increase font size", [])), Ce = Jo({
|
|
37038
37038
|
dom: {
|
|
37039
37039
|
tag: "div",
|
|
37040
37040
|
classes: ["tox-input-wrapper"]
|
|
@@ -37097,7 +37097,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
37097
37097
|
},
|
|
37098
37098
|
components: [
|
|
37099
37099
|
de.asSpec(),
|
|
37100
|
-
|
|
37100
|
+
Ce.asSpec(),
|
|
37101
37101
|
Me.asSpec()
|
|
37102
37102
|
],
|
|
37103
37103
|
behaviours: xt([
|
|
@@ -37802,9 +37802,9 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
37802
37802
|
return (de = Os.whichSidebar(C)) !== null && de !== void 0 ? de : "";
|
|
37803
37803
|
}), t.addCommand("ToggleView", (de, Me) => {
|
|
37804
37804
|
if (Os.toggleView(C, Me)) {
|
|
37805
|
-
const
|
|
37806
|
-
g.mothership.broadcastOn([pd()], { target:
|
|
37807
|
-
ve.broadcastOn([pd()], { target:
|
|
37805
|
+
const Ce = C.element;
|
|
37806
|
+
g.mothership.broadcastOn([pd()], { target: Ce }), pt(p, (ve) => {
|
|
37807
|
+
ve.broadcastOn([pd()], { target: Ce });
|
|
37808
37808
|
}), hn(Os.whichView(C)) && (t.focus(), t.nodeChanged(), Os.refreshToolbar(C));
|
|
37809
37809
|
}
|
|
37810
37810
|
}), t.addQueryValueHandler("ToggleView", () => {
|
|
@@ -37841,10 +37841,10 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
37841
37841
|
const s = Rw(t), a = qT(t), c = X_(t);
|
|
37842
37842
|
return _D(s).map((d) => Xk(d, a, c));
|
|
37843
37843
|
}, cW = (t) => DB(t).getOr(Rw(t)), { ToolbarLocation: nb, ToolbarMode: OB } = SI, iW = 40, uW = (t, s, a, c, d) => {
|
|
37844
|
-
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), J = W === OB.sliding || W === OB.floating, de = gn(!1), Me = () => de.get() && !t.removed,
|
|
37844
|
+
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), J = W === OB.sliding || W === OB.floating, de = gn(!1), Me = () => de.get() && !t.removed, Ce = (bn) => J ? bn.fold(ae(0), (Ro) => Ro.components().length > 1 ? Us(Ro.components()[1].element) : 0) : 0, ve = (bn) => {
|
|
37845
37845
|
switch ($w(t)) {
|
|
37846
37846
|
case nb.auto:
|
|
37847
|
-
const Ro = Os.getToolbar(g.outerContainer), Dt =
|
|
37847
|
+
const Ro = Os.getToolbar(g.outerContainer), Dt = Ce(Ro), en = Us(bn.element) - Dt, On = Xs(s);
|
|
37848
37848
|
if (On.y > en)
|
|
37849
37849
|
return "top";
|
|
37850
37850
|
{
|
|
@@ -37873,7 +37873,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
37873
37873
|
});
|
|
37874
37874
|
}, Je = (bn) => {
|
|
37875
37875
|
d.on((Ro) => {
|
|
37876
|
-
const Dt = Os.getToolbar(g.outerContainer), en =
|
|
37876
|
+
const Dt = Os.getToolbar(g.outerContainer), en = Ce(Dt), On = Xs(s), { top: Pn, left: yn } = Ge(t, g.outerContainer.element).fold(() => ({
|
|
37877
37877
|
top: H() ? Math.max(On.y - Us(Ro.element) + en, 0) : On.bottom,
|
|
37878
37878
|
left: On.x
|
|
37879
37879
|
}), (Mo) => {
|
|
@@ -38387,7 +38387,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
38387
38387
|
const jt = $.element;
|
|
38388
38388
|
Co(jt, "display"), J() ? Yt(jt, "display", "none") : (C.set(0), dr.reposition($));
|
|
38389
38389
|
}
|
|
38390
|
-
},
|
|
38390
|
+
}, Ce = (jt) => ({
|
|
38391
38391
|
dom: {
|
|
38392
38392
|
tag: "div",
|
|
38393
38393
|
classes: ["tox-pop__dialog"]
|
|
@@ -38406,7 +38406,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
38406
38406
|
])
|
|
38407
38407
|
}), ve = Gs(() => VB(s, (jt) => {
|
|
38408
38408
|
const Dn = Je([jt]);
|
|
38409
|
-
dn($, zB, { forwardContents:
|
|
38409
|
+
dn($, zB, { forwardContents: Ce(Dn) });
|
|
38410
38410
|
})), Oe = (jt, Dn) => qk(t, {
|
|
38411
38411
|
buttons: jt,
|
|
38412
38412
|
toolbar: Dn.items,
|
|
@@ -38437,7 +38437,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
38437
38437
|
const Sn = Je(jt), Yo = jt[0].position, bn = Ge(Yo, Dn);
|
|
38438
38438
|
E.set(Yo), C.set(1);
|
|
38439
38439
|
const Ro = $.element;
|
|
38440
|
-
Co(Ro, "display"), W(Dn) || (or(Ro, n4), Al.reset(a, $)), dr.showWithinBounds($,
|
|
38440
|
+
Co(Ro, "display"), W(Dn) || (or(Ro, n4), Al.reset(a, $)), dr.showWithinBounds($, Ce(Sn), {
|
|
38441
38441
|
anchor: bn,
|
|
38442
38442
|
transition: {
|
|
38443
38443
|
classes: [n4],
|
|
@@ -39618,14 +39618,14 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39618
39618
|
finish: vt
|
|
39619
39619
|
});
|
|
39620
39620
|
});
|
|
39621
|
-
}), W = b0(N), J = b0(H), de = Tl(W.asSpec()), Me = Tl(J.asSpec()),
|
|
39621
|
+
}), W = b0(N), J = b0(H), de = Tl(W.asSpec()), Me = Tl(J.asSpec()), Ce = (vt, At, Wn, jt) => {
|
|
39622
39622
|
const Dn = At.dom.getBoundingClientRect();
|
|
39623
39623
|
Co(vt.element, "display");
|
|
39624
39624
|
const Sn = Hl(Ae.fromDom(t.getBody())).dom.innerHeight, Yo = Wn(Dn), bn = jt(Dn, Sn);
|
|
39625
39625
|
(Yo || bn) && Yt(vt.element, "display", "none");
|
|
39626
39626
|
}, ve = (vt, At, Wn, jt) => {
|
|
39627
39627
|
const Dn = Wn(At);
|
|
39628
|
-
ab.snapTo(vt, Dn),
|
|
39628
|
+
ab.snapTo(vt, Dn), Ce(vt, At, (bn) => bn[jt] < 0, (bn, Ro) => bn[jt] > Ro);
|
|
39629
39629
|
}, Oe = (vt) => ve(de, vt, w, "top"), dt = () => g.get().each(Oe), Je = (vt) => ve(Me, vt, E, "bottom"), Ge = () => p.get().each(Je);
|
|
39630
39630
|
yi().deviceType.isTouch() && (t.on("TableSelectionChange", (vt) => {
|
|
39631
39631
|
d.get() || (eg(s, de), eg(s, Me), d.set(!0)), g.set(vt.start), p.set(vt.finish), vt.otherCells.each((At) => {
|
|
@@ -39910,7 +39910,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39910
39910
|
tag: "div",
|
|
39911
39911
|
classes: ["tox-bottom-anchorbar"]
|
|
39912
39912
|
}
|
|
39913
|
-
}),
|
|
39913
|
+
}), 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({
|
|
39914
39914
|
popup: Oe,
|
|
39915
39915
|
dialog: ve
|
|
39916
39916
|
}, t, dt, Je), Wn = () => {
|
|
@@ -39938,7 +39938,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
39938
39938
|
},
|
|
39939
39939
|
type: J,
|
|
39940
39940
|
lazyToolbar: Ge,
|
|
39941
|
-
lazyHeader: () =>
|
|
39941
|
+
lazyHeader: () => Ce().getOrDie("Could not find header element"),
|
|
39942
39942
|
...yn
|
|
39943
39943
|
}), Mo = Os.parts["multiple-toolbar"]({
|
|
39944
39944
|
dom: {
|
|
@@ -40007,7 +40007,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40007
40007
|
].concat(H),
|
|
40008
40008
|
attributes: { ...Hu.isRtl() ? { dir: "rtl" } : {} }
|
|
40009
40009
|
},
|
|
40010
|
-
behaviours: xt([Al.config({ useFixed: () => d.isDocked(
|
|
40010
|
+
behaviours: xt([Al.config({ useFixed: () => d.isDocked(Ce) })])
|
|
40011
40011
|
}, Mo = {
|
|
40012
40012
|
dom: { styles: { width: document.body.clientWidth + "px" } },
|
|
40013
40013
|
events: As([Qe(id(), (Od) => {
|
|
@@ -40031,7 +40031,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40031
40031
|
attributes: { ...Hu.isRtl() ? { dir: "rtl" } : {} }
|
|
40032
40032
|
},
|
|
40033
40033
|
behaviours: xt([Al.config({
|
|
40034
|
-
useFixed: () => d.isDocked(
|
|
40034
|
+
useFixed: () => d.isDocked(Ce),
|
|
40035
40035
|
getBounds: () => s.getPopupSinkBounds()
|
|
40036
40036
|
})])
|
|
40037
40037
|
}, Hn = Tl(yn), ks = IS(Hn);
|
|
@@ -40122,7 +40122,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
40122
40122
|
sidebar: xm,
|
|
40123
40123
|
views: S0
|
|
40124
40124
|
};
|
|
40125
|
-
Dt(Hn.outerContainer), Y8(t, Hn.mothership, Mo), d.setup(t, At.popup.shared,
|
|
40125
|
+
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);
|
|
40126
40126
|
const Nh = t.getElement(), Kx = Ro(Hn.outerContainer), oO = {
|
|
40127
40127
|
targetNode: Nh,
|
|
40128
40128
|
height: Kx
|
|
@@ -41510,17 +41510,17 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41510
41510
|
de.getSystem().isConnected() && J(de);
|
|
41511
41511
|
}, W = {
|
|
41512
41512
|
getData: () => {
|
|
41513
|
-
const J = t.getRoot(), de = J.getSystem().isConnected() ? t.getFormWrapper() : J, Me = Vt.getValue(de),
|
|
41513
|
+
const J = t.getRoot(), de = J.getSystem().isConnected() ? t.getFormWrapper() : J, Me = Vt.getValue(de), Ce = Ko(a, (ve) => ve.get());
|
|
41514
41514
|
return {
|
|
41515
41515
|
...Me,
|
|
41516
|
-
...
|
|
41516
|
+
...Ce
|
|
41517
41517
|
};
|
|
41518
41518
|
},
|
|
41519
41519
|
setData: (J) => {
|
|
41520
41520
|
c((de) => {
|
|
41521
|
-
const Me = W.getData(),
|
|
41521
|
+
const Me = W.getData(), Ce = Go(Me, J), ve = wm(t, Ce), Oe = t.getFormWrapper();
|
|
41522
41522
|
Vt.setValue(Oe, ve), ds(a, (dt, Je) => {
|
|
41523
|
-
xo(
|
|
41523
|
+
xo(Ce, Je) && dt.set(Ce[Je]);
|
|
41524
41524
|
});
|
|
41525
41525
|
});
|
|
41526
41526
|
},
|
|
@@ -41552,11 +41552,11 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41552
41552
|
},
|
|
41553
41553
|
redial: (J) => {
|
|
41554
41554
|
c((de) => {
|
|
41555
|
-
const Me = t.getId(),
|
|
41556
|
-
de.getSystem().broadcastOn([`${dy}-${Me}`],
|
|
41557
|
-
...
|
|
41555
|
+
const Me = t.getId(), Ce = s(J), ve = x4(Ce.internalDialog.buttons, a);
|
|
41556
|
+
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}`], {
|
|
41557
|
+
...Ce.internalDialog,
|
|
41558
41558
|
buttons: ve
|
|
41559
|
-
}), W.setData(
|
|
41559
|
+
}), W.setData(Ce.initialData);
|
|
41560
41560
|
});
|
|
41561
41561
|
},
|
|
41562
41562
|
close: () => {
|
|
@@ -41571,7 +41571,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41571
41571
|
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({
|
|
41572
41572
|
body: d.body,
|
|
41573
41573
|
initialData: d.initialData
|
|
41574
|
-
}, c, a), $ = x4(d.buttons), N = eO($), H = pn($.length !== 0, Dd({ buttons: $ }, c, a)), W = ao(() =>
|
|
41574
|
+
}, 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), J = {
|
|
41575
41575
|
id: c,
|
|
41576
41576
|
header: g,
|
|
41577
41577
|
body: E,
|
|
@@ -41598,10 +41598,10 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41598
41598
|
getFormWrapper: ve,
|
|
41599
41599
|
toggleFullscreen: Oe
|
|
41600
41600
|
};
|
|
41601
|
-
})(),
|
|
41601
|
+
})(), Ce = C4(Me, s.redial, N);
|
|
41602
41602
|
return {
|
|
41603
41603
|
dialog: de,
|
|
41604
|
-
instanceApi:
|
|
41604
|
+
instanceApi: Ce
|
|
41605
41605
|
};
|
|
41606
41606
|
}, nO = (t, s, a, c = !1, d) => {
|
|
41607
41607
|
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({
|
|
@@ -41610,7 +41610,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41610
41610
|
}, g, p, a.shared.providers)), W = Jo(_g({
|
|
41611
41611
|
body: C.body,
|
|
41612
41612
|
initialData: C.initialData
|
|
41613
|
-
}, g, w, a, c)), J = x4(C.buttons), de = eO(J), Me = pn(J.length !== 0, Jo(Lc({ buttons: J }, g, a))),
|
|
41613
|
+
}, g, w, a, c)), J = x4(C.buttons), de = eO(J), Me = pn(J.length !== 0, Jo(Lc({ buttons: J }, g, a))), Ce = ao(() => Je, {
|
|
41614
41614
|
onBlock: (Ge) => {
|
|
41615
41615
|
pm.block(Oe, (vt, At) => {
|
|
41616
41616
|
const Wn = H.getOpt(Oe).map((jt) => Us(jt.element));
|
|
@@ -41658,7 +41658,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41658
41658
|
initialData: t
|
|
41659
41659
|
}),
|
|
41660
41660
|
_n.config({}),
|
|
41661
|
-
Un("execute-on-form",
|
|
41661
|
+
Un("execute-on-form", Ce.concat([
|
|
41662
41662
|
Wd(dl(), (Ge, vt) => {
|
|
41663
41663
|
mn.focusIn(Ge);
|
|
41664
41664
|
}),
|
|
@@ -41752,7 +41752,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41752
41752
|
break;
|
|
41753
41753
|
}
|
|
41754
41754
|
}, bq = (t, s, a, c) => {
|
|
41755
|
-
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(() =>
|
|
41755
|
+
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 = {
|
|
41756
41756
|
...t.height.fold(() => ({}), (Oe) => ({
|
|
41757
41757
|
height: Oe + "px",
|
|
41758
41758
|
"max-height": Oe + "px"
|
|
@@ -41791,7 +41791,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41791
41791
|
}
|
|
41792
41792
|
}
|
|
41793
41793
|
})
|
|
41794
|
-
],
|
|
41794
|
+
], Ce = QD({
|
|
41795
41795
|
id: d,
|
|
41796
41796
|
header: g,
|
|
41797
41797
|
body: p,
|
|
@@ -41799,9 +41799,9 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41799
41799
|
extraClasses: $,
|
|
41800
41800
|
extraBehaviours: de,
|
|
41801
41801
|
extraStyles: E
|
|
41802
|
-
}, C, c), ve = fq(
|
|
41802
|
+
}, C, c), ve = fq(Ce);
|
|
41803
41803
|
return {
|
|
41804
|
-
dialog:
|
|
41804
|
+
dialog: Ce,
|
|
41805
41805
|
instanceApi: ve
|
|
41806
41806
|
};
|
|
41807
41807
|
}, vq = (t) => {
|
|
@@ -41906,8 +41906,8 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41906
41906
|
}
|
|
41907
41907
|
return C(J, Me);
|
|
41908
41908
|
}, p = (J, de) => w(J, de), w = (J, de) => {
|
|
41909
|
-
const Me = (
|
|
41910
|
-
const ve = bq(
|
|
41909
|
+
const Me = (Ce) => {
|
|
41910
|
+
const ve = bq(Ce, {
|
|
41911
41911
|
closeWindow: () => {
|
|
41912
41912
|
Kr.hide(ve.dialog), de(ve.instanceApi);
|
|
41913
41913
|
}
|
|
@@ -41916,11 +41916,11 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41916
41916
|
};
|
|
41917
41917
|
return qn.openUrl(Me, J);
|
|
41918
41918
|
}, C = (J, de) => {
|
|
41919
|
-
const Me = (
|
|
41919
|
+
const Me = (Ce, ve, Oe) => {
|
|
41920
41920
|
const dt = ve, Ge = Cj({
|
|
41921
41921
|
dataValidator: Oe,
|
|
41922
41922
|
initialData: dt,
|
|
41923
|
-
internalDialog:
|
|
41923
|
+
internalDialog: Ce
|
|
41924
41924
|
}, {
|
|
41925
41925
|
redial: qn.redial,
|
|
41926
41926
|
closeWindow: () => {
|
|
@@ -41930,7 +41930,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41930
41930
|
return Kr.show(Ge.dialog), Ge.instanceApi.setData(dt), Ge.instanceApi;
|
|
41931
41931
|
};
|
|
41932
41932
|
return qn.open(Me, J);
|
|
41933
|
-
}, E = (J, de, Me,
|
|
41933
|
+
}, E = (J, de, Me, Ce) => {
|
|
41934
41934
|
const ve = (Oe, dt, Je) => {
|
|
41935
41935
|
const Ge = LG(dt, Je), vt = ro(), At = t.backstages.popup.shared.header.isPositionedAtTop(), Wn = {
|
|
41936
41936
|
dataValidator: Je,
|
|
@@ -41943,13 +41943,13 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41943
41943
|
closeWindow: () => {
|
|
41944
41944
|
vt.on(dr.hide), s.off("ResizeEditor", jt), vt.clear(), Me(Dn.instanceApi);
|
|
41945
41945
|
}
|
|
41946
|
-
}, t.backstages.popup,
|
|
41946
|
+
}, t.backstages.popup, Ce.ariaAttrs, jt), Sn = Tl(dr.sketch({
|
|
41947
41947
|
lazySink: t.backstages.popup.shared.getSink,
|
|
41948
41948
|
dom: {
|
|
41949
41949
|
tag: "div",
|
|
41950
41950
|
classes: []
|
|
41951
41951
|
},
|
|
41952
|
-
fireDismissalEventInstead:
|
|
41952
|
+
fireDismissalEventInstead: Ce.persistent ? { event: "doNotDismissYet" } : {},
|
|
41953
41953
|
...At ? {} : { fireRepositionEventInstead: {} },
|
|
41954
41954
|
inlineBehaviours: xt([
|
|
41955
41955
|
Un("window-manager-inline-events", [Qe(If(), (bn, Ro) => {
|
|
@@ -41967,7 +41967,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41967
41967
|
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;
|
|
41968
41968
|
};
|
|
41969
41969
|
return qn.open(ve, J);
|
|
41970
|
-
}, $ = (J, de, Me,
|
|
41970
|
+
}, $ = (J, de, Me, Ce) => {
|
|
41971
41971
|
const ve = (Oe, dt, Je) => {
|
|
41972
41972
|
const Ge = LG(dt, Je), vt = ro(), At = t.backstages.popup.shared.header.isPositionedAtTop(), Wn = {
|
|
41973
41973
|
dataValidator: Je,
|
|
@@ -41980,13 +41980,13 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
41980
41980
|
closeWindow: () => {
|
|
41981
41981
|
vt.on(dr.hide), s.off("ResizeEditor ScrollWindow ElementScroll", jt), vt.clear(), Me(Dn.instanceApi);
|
|
41982
41982
|
}
|
|
41983
|
-
}, t.backstages.popup,
|
|
41983
|
+
}, t.backstages.popup, Ce.ariaAttrs, jt), Sn = Tl(dr.sketch({
|
|
41984
41984
|
lazySink: t.backstages.popup.shared.getSink,
|
|
41985
41985
|
dom: {
|
|
41986
41986
|
tag: "div",
|
|
41987
41987
|
classes: []
|
|
41988
41988
|
},
|
|
41989
|
-
fireDismissalEventInstead:
|
|
41989
|
+
fireDismissalEventInstead: Ce.persistent ? { event: "doNotDismissYet" } : {},
|
|
41990
41990
|
...At ? {} : { fireRepositionEventInstead: {} },
|
|
41991
41991
|
inlineBehaviours: xt([
|
|
41992
41992
|
Un("window-manager-inline-events", [Qe(If(), (bn, Ro) => {
|
|
@@ -42081,7 +42081,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
42081
42081
|
}, G = (i) => {
|
|
42082
42082
|
const m = typeof i;
|
|
42083
42083
|
return i === null ? "null" : m === "object" && Array.isArray(i) ? "array" : m === "object" && re(i, String, (h, v) => v.isPrototypeOf(h)) ? "string" : m;
|
|
42084
|
-
}, _e = (i) => (m) => G(m) === i, ne = (i) => (m) => typeof m === i, Z = (i) => (m) => i === m,
|
|
42084
|
+
}, _e = (i) => (m) => G(m) === i, ne = (i) => (m) => typeof m === i, Z = (i) => (m) => i === m, xe = _e("string"), ee = _e("object"), $e = _e("array"), at = Z(null), yt = ne("boolean"), hn = Z(void 0), Et = (i) => i == null, io = (i) => !Et(i), lo = ne("function"), eo = ne("number"), Ot = () => {
|
|
42085
42085
|
}, 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;
|
|
42086
42086
|
function oo(i, ...m) {
|
|
42087
42087
|
return (...h) => {
|
|
@@ -42315,7 +42315,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
42315
42315
|
const m = wr("ownerDocument.defaultView", i);
|
|
42316
42316
|
return ee(i) && (Gi(m).prototype.isPrototypeOf(i) || /^HTML\w*Element$/.test(es(i).constructor.name));
|
|
42317
42317
|
}, 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) => {
|
|
42318
|
-
if (
|
|
42318
|
+
if (xe(h) || yt(h) || eo(h))
|
|
42319
42319
|
i.setAttribute(m, h + "");
|
|
42320
42320
|
else
|
|
42321
42321
|
throw console.error("Invalid call to Attribute.set. Key ", m, ":: Value ", h, ":: Element ", i), new Error("Attribute value was not simple");
|
|
@@ -42589,7 +42589,7 @@ The conflicting element is` + (po(N.element) ? " " : " not ") + "already in the
|
|
|
42589
42589
|
const m = parseFloat(i);
|
|
42590
42590
|
return isNaN(m) ? pe.none() : pe.some(m);
|
|
42591
42591
|
}, Wr = (i) => i.style !== void 0 && lo(i.style.getPropertyValue), ga = (i, m, h) => {
|
|
42592
|
-
if (!
|
|
42592
|
+
if (!xe(h))
|
|
42593
42593
|
throw console.error("Invalid call to CSS.set. Property ", m, ":: Value ", h, ":: Element ", i), new Error("CSS value must be a string: " + h);
|
|
42594
42594
|
Wr(i) && i.style.setProperty(m, h);
|
|
42595
42595
|
}, Hh = (i, m) => {
|
|
@@ -44902,7 +44902,7 @@ Required: ` + m.join(", "));
|
|
|
44902
44902
|
y2(i, v.dom);
|
|
44903
44903
|
});
|
|
44904
44904
|
});
|
|
44905
|
-
}, ov = (i) =>
|
|
44905
|
+
}, ov = (i) => xe(i) && i.indexOf("%") !== -1, _3 = (i, m, h, v, S) => {
|
|
44906
44906
|
const O = Py(i), L = {
|
|
44907
44907
|
styles: O,
|
|
44908
44908
|
attributes: cd(i),
|
|
@@ -45038,7 +45038,7 @@ Required: ` + m.join(", "));
|
|
|
45038
45038
|
const Gn = ho(iu(i), Sb);
|
|
45039
45039
|
if (Gn.length === 0)
|
|
45040
45040
|
return;
|
|
45041
|
-
const qs = yr(tn, (Ta, kr) => i.formatter.has(En(kr)) &&
|
|
45041
|
+
const qs = yr(tn, (Ta, kr) => i.formatter.has(En(kr)) && xe(Ta));
|
|
45042
45042
|
yc(qs) || (Vo(qs, (Ta, kr) => {
|
|
45043
45043
|
const Mc = En(kr);
|
|
45044
45044
|
Pe(Gn, (wh) => {
|
|
@@ -45813,7 +45813,7 @@ Required: ` + m.join(", "));
|
|
|
45813
45813
|
if (!$e(m))
|
|
45814
45814
|
throw new Error("The " + i + " fields must be an array. Was: " + m + ".");
|
|
45815
45815
|
Pe(m, (h) => {
|
|
45816
|
-
if (!
|
|
45816
|
+
if (!xe(h))
|
|
45817
45817
|
throw new Error("The value " + h + " in the " + i + " fields was not a string.");
|
|
45818
45818
|
});
|
|
45819
45819
|
}, yh = (i, m) => {
|
|
@@ -46324,7 +46324,7 @@ Required: ` + m.join(", "));
|
|
|
46324
46324
|
}, G = (_) => {
|
|
46325
46325
|
const M = typeof _;
|
|
46326
46326
|
return _ === null ? "null" : M === "object" && Array.isArray(_) ? "array" : M === "object" && re(_, String, (U, ce) => ce.isPrototypeOf(U)) ? "string" : M;
|
|
46327
|
-
}, _e = (_) => (M) => G(M) === _, ne = (_) => (M) => typeof M === _, Z = _e("string"),
|
|
46327
|
+
}, _e = (_) => (M) => G(M) === _, ne = (_) => (M) => typeof M === _, Z = _e("string"), xe = _e("object"), ee = _e("array"), $e = ne("boolean"), at = (_) => _ == null, yt = (_) => !at(_), hn = ne("function"), Et = ne("number"), io = () => {
|
|
46328
46328
|
}, lo = (_, M) => (U) => _(M(U)), eo = (_) => () => _, Ot = (_, M) => _ === M;
|
|
46329
46329
|
function Ls(_, ...M) {
|
|
46330
46330
|
return (...U) => {
|
|
@@ -46529,7 +46529,7 @@ Required: ` + m.join(", "));
|
|
|
46529
46529
|
return U;
|
|
46530
46530
|
}, nr = Object.getPrototypeOf, bs = (_) => yr("HTMLElement", _), ji = (_) => {
|
|
46531
46531
|
const M = vr("ownerDocument.defaultView", _);
|
|
46532
|
-
return
|
|
46532
|
+
return xe(_) && (bs(M).prototype.isPrototypeOf(_) || /^HTML\w*Element$/.test(nr(_).constructor.name));
|
|
46533
46533
|
}, 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) => {
|
|
46534
46534
|
const U = _.dom.childNodes;
|
|
46535
46535
|
return kt.from(U[M]).map(wn.fromDom);
|
|
@@ -47157,7 +47157,7 @@ Required: ` + m.join(", "));
|
|
|
47157
47157
|
const ce = Pa(_);
|
|
47158
47158
|
if (ja(_, ce))
|
|
47159
47159
|
return;
|
|
47160
|
-
const be = Yu(_), it =
|
|
47160
|
+
const be = Yu(_), it = xe(U) ? U : {};
|
|
47161
47161
|
be.length > 0 ? hb(_, ce, be, M, it) : Hg(_, ce, M, it);
|
|
47162
47162
|
}, Mm = ea.DOM, Id = (_, M) => {
|
|
47163
47163
|
const U = M.parentElement;
|
|
@@ -47294,7 +47294,7 @@ Required: ` + m.join(", "));
|
|
|
47294
47294
|
}), Mr = (_, M) => {
|
|
47295
47295
|
const U = Pa(_);
|
|
47296
47296
|
U === null || ja(_, U) || _.undoManager.transact(() => {
|
|
47297
|
-
|
|
47297
|
+
xe(M.styles) && _.dom.setStyles(U, M.styles), xe(M.attrs) && $d(M.attrs, (ce, be) => _.dom.setAttrib(U, be, ce));
|
|
47298
47298
|
});
|
|
47299
47299
|
}, Fd = (_) => {
|
|
47300
47300
|
const M = _t(Lh(_).split("")), U = Ze(M, (ce, be) => {
|
|
@@ -47399,7 +47399,7 @@ Required: ` + m.join(", "));
|
|
|
47399
47399
|
}), _.addCommand("RemoveList", () => {
|
|
47400
47400
|
Bg(_);
|
|
47401
47401
|
}), Gc(_), _.addCommand("mceListUpdate", (M, U) => {
|
|
47402
|
-
|
|
47402
|
+
xe(U) && Mr(_, U);
|
|
47403
47403
|
}), _.addQueryStateHandler("InsertUnorderedList", Go(_, "UL")), _.addQueryStateHandler("InsertOrderedList", Go(_, "OL")), _.addQueryStateHandler("InsertDefinitionList", Go(_, "DL"));
|
|
47404
47404
|
};
|
|
47405
47405
|
var cl = tinymce.util.Tools.resolve("tinymce.html.Node");
|
|
@@ -47472,7 +47472,7 @@ Required: ` + m.join(", "));
|
|
|
47472
47472
|
}, G = (q) => {
|
|
47473
47473
|
const ge = typeof q;
|
|
47474
47474
|
return q === null ? "null" : ge === "object" && Array.isArray(q) ? "array" : ge === "object" && re(q, String, (Ee, Ie) => Ie.isPrototypeOf(Ee)) ? "string" : ge;
|
|
47475
|
-
}, _e = (q) => (ge) => G(ge) === q, ne = (q) => (ge) => typeof ge === q, Z = (q) => (ge) => q === ge,
|
|
47475
|
+
}, _e = (q) => (ge) => G(ge) === q, ne = (q) => (ge) => typeof ge === q, Z = (q) => (ge) => q === ge, xe = _e("string"), ee = _e("object"), $e = _e("array"), at = Z(null), yt = ne("boolean"), hn = (q) => q == null, Et = (q) => !hn(q), io = ne("function"), lo = (q, ge) => {
|
|
47476
47476
|
if ($e(q)) {
|
|
47477
47477
|
for (let Ee = 0, Ie = q.length; Ee < Ie; ++Ee)
|
|
47478
47478
|
if (!ge(q[Ee]))
|
|
@@ -47593,7 +47593,7 @@ Required: ` + m.join(", "));
|
|
|
47593
47593
|
const ge = q.options.register;
|
|
47594
47594
|
ge("link_assume_external_targets", {
|
|
47595
47595
|
processor: (Ee) => {
|
|
47596
|
-
const Ie =
|
|
47596
|
+
const Ie = xe(Ee) || yt(Ee);
|
|
47597
47597
|
return Ie ? Ee === !0 ? {
|
|
47598
47598
|
value: 1,
|
|
47599
47599
|
valid: Ie
|
|
@@ -47612,7 +47612,7 @@ Required: ` + m.join(", "));
|
|
|
47612
47612
|
}), ge("link_context_toolbar", {
|
|
47613
47613
|
processor: "boolean",
|
|
47614
47614
|
default: !1
|
|
47615
|
-
}), ge("link_list", { processor: (Ee) =>
|
|
47615
|
+
}), ge("link_list", { processor: (Ee) => xe(Ee) || io(Ee) || lo(Ee, ee) }), ge("link_default_target", { processor: "string" }), ge("link_default_protocol", {
|
|
47616
47616
|
processor: "string",
|
|
47617
47617
|
default: "https"
|
|
47618
47618
|
}), ge("link_target_list", {
|
|
@@ -47636,7 +47636,7 @@ Required: ` + m.join(", "));
|
|
|
47636
47636
|
});
|
|
47637
47637
|
}, 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");
|
|
47638
47638
|
var tl = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
|
47639
|
-
const so = (q) =>
|
|
47639
|
+
const so = (q) => xe(q.value) ? q.value : "", rs = (q) => xe(q.text) ? q.text : xe(q.title) ? q.title : "", Wo = (q, ge) => {
|
|
47640
47640
|
const Ee = [];
|
|
47641
47641
|
return tl.each(q, (Ie) => {
|
|
47642
47642
|
const ft = rs(Ie);
|
|
@@ -47895,7 +47895,7 @@ Required: ` + m.join(", "));
|
|
|
47895
47895
|
}, ns = { getLinks: (q) => {
|
|
47896
47896
|
const ge = (Ie) => q.convertURL(Ie.value || Ie.url || "", "href"), Ee = _t(q);
|
|
47897
47897
|
return new Promise((Ie) => {
|
|
47898
|
-
|
|
47898
|
+
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));
|
|
47899
47899
|
}).then((Ie) => Ie.bind(Ke.sanitizeWith(ge)).map((ft) => ft.length > 0 ? [{
|
|
47900
47900
|
text: "None",
|
|
47901
47901
|
value: ""
|
|
@@ -48229,7 +48229,7 @@ Required: ` + m.join(", "));
|
|
|
48229
48229
|
}, _e = (I) => {
|
|
48230
48230
|
const X = typeof I;
|
|
48231
48231
|
return I === null ? "null" : X === "object" && Array.isArray(I) ? "array" : X === "object" && G(I, String, (le, Fe) => Fe.isPrototypeOf(le)) ? "string" : X;
|
|
48232
|
-
}, ne = (I) => (X) => _e(X) === I, Z = (I) => (X) => typeof X === I,
|
|
48232
|
+
}, ne = (I) => (X) => _e(X) === I, Z = (I) => (X) => typeof X === I, xe = (I) => (X) => I === X, ee = (I, X) => at(I) && G(I, X, (le, Fe) => re(le) === Fe), $e = ne("string"), at = ne("object"), yt = (I) => ee(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, X) => {
|
|
48233
48233
|
if (hn(I)) {
|
|
48234
48234
|
for (let le = 0, Fe = I.length; le < Fe; ++le)
|
|
48235
48235
|
if (!X(I[le]))
|
|
@@ -49098,7 +49098,7 @@ Required: ` + m.join(", "));
|
|
|
49098
49098
|
}, G = (x) => {
|
|
49099
49099
|
const T = typeof x;
|
|
49100
49100
|
return x === null ? "null" : T === "object" && Array.isArray(x) ? "array" : T === "object" && re(x, String, (V, Y) => Y.isPrototypeOf(V)) ? "string" : T;
|
|
49101
|
-
}, _e = (x) => (T) => G(T) === x, ne = (x) => (T) => typeof T === x, Z = (x) => (T) => x === T,
|
|
49101
|
+
}, _e = (x) => (T) => G(T) === x, ne = (x) => (T) => typeof T === x, Z = (x) => (T) => x === T, xe = _e("string"), ee = _e("array"), $e = ne("boolean"), at = Z(void 0), yt = (x) => x == null, hn = (x) => !yt(x), Et = ne("function"), io = ne("number"), lo = () => {
|
|
49102
49102
|
}, eo = (x, T) => (V) => x(T(V)), Ot = (x) => () => x, Ls = (x) => x, un = (x, T) => x === T;
|
|
49103
49103
|
function he(x, ...T) {
|
|
49104
49104
|
return (...V) => {
|
|
@@ -49386,7 +49386,7 @@ Required: ` + m.join(", "));
|
|
|
49386
49386
|
T(Y) && (V = V.concat([Y])), V = V.concat(gi(Y, T));
|
|
49387
49387
|
}), V;
|
|
49388
49388
|
}, xc = (x, T) => wc(x, (V) => vs(V, T)), Po = (x, T) => Bl(T, x), ea = (x, T, V) => {
|
|
49389
|
-
if (
|
|
49389
|
+
if (xe(V) || $e(V) || io(V))
|
|
49390
49390
|
x.setAttribute(T, V + "");
|
|
49391
49391
|
else
|
|
49392
49392
|
throw console.error("Invalid call to Attribute.set. Key ", T, ":: Value ", V, ":: Element ", x), new Error("Attribute value was not simple");
|
|
@@ -49416,7 +49416,7 @@ Required: ` + m.join(", "));
|
|
|
49416
49416
|
const T = parseFloat(x);
|
|
49417
49417
|
return isNaN(T) ? ae.none() : ae.some(T);
|
|
49418
49418
|
}, hi = (x) => x.style !== void 0 && Et(x.style.getPropertyValue), bu = (x, T, V) => {
|
|
49419
|
-
if (!
|
|
49419
|
+
if (!xe(V))
|
|
49420
49420
|
throw console.error("Invalid call to CSS.set. Property ", T, ":: Value ", V, ":: Element ", x), new Error("CSS value must be a string: " + V);
|
|
49421
49421
|
hi(x) && x.style.setProperty(T, V);
|
|
49422
49422
|
}, Ku = (x, T) => {
|
|
@@ -50651,7 +50651,7 @@ Required: ` + T.join(", "));
|
|
|
50651
50651
|
return Y.concat(ye).concat(je).concat(gt).concat(Mt);
|
|
50652
50652
|
}, yb = (x, T, V, Y) => {
|
|
50653
50653
|
if (T.tagName === "TD" || T.tagName === "TH")
|
|
50654
|
-
|
|
50654
|
+
xe(V) && hn(Y) ? x.setStyle(T, V, Y) : x.setStyles(T, V);
|
|
50655
50655
|
else if (T.children)
|
|
50656
50656
|
for (let ye = 0; ye < T.children.length; ye++)
|
|
50657
50657
|
yb(x, T.children[ye], V, Y);
|
|
@@ -51307,10 +51307,10 @@ Required: ` + T.join(", "));
|
|
|
51307
51307
|
onAction: $e
|
|
51308
51308
|
});
|
|
51309
51309
|
};
|
|
51310
|
-
var
|
|
51310
|
+
var xe = () => {
|
|
51311
51311
|
A.add("code", (ee) => (ne(ee), Z(ee), {}));
|
|
51312
51312
|
};
|
|
51313
|
-
|
|
51313
|
+
xe();
|
|
51314
51314
|
})();
|
|
51315
51315
|
(function() {
|
|
51316
51316
|
var A = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
|
@@ -51321,7 +51321,7 @@ Required: ` + T.join(", "));
|
|
|
51321
51321
|
Te[wn] = Rt(qo, wn);
|
|
51322
51322
|
}
|
|
51323
51323
|
return Te;
|
|
51324
|
-
},
|
|
51324
|
+
}, xe = {
|
|
51325
51325
|
aletter: "[A-Za-zªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-׳ؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆༀཀ-ཇཉ-ཬྈ-ྌႠ-Ⴥა-ჺჼᄀ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᨀ-ᨖᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᯀ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⒶ-ⓩⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⴀ-ⴥⴰ-ⵥⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々〻〼ㄅ-ㄭㄱ-ㆎㆠ-ㆺꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐꞑꞠ-ꞩꟺ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]",
|
|
51326
51326
|
midnumlet: "[-'\\.‘’․﹒'.]",
|
|
51327
51327
|
midletter: "[:··״‧︓﹕:]",
|
|
@@ -51351,20 +51351,20 @@ Required: ` + T.join(", "));
|
|
|
51351
51351
|
AT: 12,
|
|
51352
51352
|
OTHER: 13
|
|
51353
51353
|
}, $e = [
|
|
51354
|
-
new RegExp(
|
|
51355
|
-
new RegExp(
|
|
51356
|
-
new RegExp(
|
|
51357
|
-
new RegExp(
|
|
51358
|
-
new RegExp(
|
|
51359
|
-
new RegExp(
|
|
51360
|
-
new RegExp(
|
|
51361
|
-
new RegExp(
|
|
51362
|
-
new RegExp(
|
|
51363
|
-
new RegExp(
|
|
51364
|
-
new RegExp(
|
|
51365
|
-
new RegExp(
|
|
51354
|
+
new RegExp(xe.aletter),
|
|
51355
|
+
new RegExp(xe.midnumlet),
|
|
51356
|
+
new RegExp(xe.midletter),
|
|
51357
|
+
new RegExp(xe.midnum),
|
|
51358
|
+
new RegExp(xe.numeric),
|
|
51359
|
+
new RegExp(xe.cr),
|
|
51360
|
+
new RegExp(xe.lf),
|
|
51361
|
+
new RegExp(xe.newline),
|
|
51362
|
+
new RegExp(xe.extend),
|
|
51363
|
+
new RegExp(xe.format),
|
|
51364
|
+
new RegExp(xe.katakana),
|
|
51365
|
+
new RegExp(xe.extendnumlet),
|
|
51366
51366
|
new RegExp("@")
|
|
51367
|
-
], at = "", yt = new RegExp("^" +
|
|
51367
|
+
], at = "", yt = new RegExp("^" + xe.punctuation + "$"), hn = /^\s+$/, Et = $e, io = ee.OTHER, lo = (qe) => {
|
|
51368
51368
|
let Rt = io;
|
|
51369
51369
|
const Ke = Et.length;
|
|
51370
51370
|
for (let Te = 0; Te < Ke; ++Te) {
|
|
@@ -51577,9 +51577,9 @@ const ste = { class: "font-bold ptext-lg dark:text-white" }, rte = ["id"], ate =
|
|
|
51577
51577
|
emits: ["update:modelValue", "keydown"],
|
|
51578
51578
|
setup(A, { expose: re, emit: G }) {
|
|
51579
51579
|
const _e = A, ne = G, Z = co(null);
|
|
51580
|
-
let
|
|
51580
|
+
let xe = null;
|
|
51581
51581
|
Dg(async () => {
|
|
51582
|
-
await Pj(),
|
|
51582
|
+
await Pj(), xe && (xe.destroy(), xe = null), ote.init({
|
|
51583
51583
|
selector: "#" + _e.field_name,
|
|
51584
51584
|
height: 300,
|
|
51585
51585
|
plugins: [
|
|
@@ -51594,7 +51594,7 @@ const ste = { class: "font-bold ptext-lg dark:text-white" }, rte = ["id"], ate =
|
|
|
51594
51594
|
content_css: !1,
|
|
51595
51595
|
// disable import of css
|
|
51596
51596
|
setup(at) {
|
|
51597
|
-
|
|
51597
|
+
xe = at, at.on("Change", () => {
|
|
51598
51598
|
ne("update:modelValue", at.getContent());
|
|
51599
51599
|
}), at.on("init", () => {
|
|
51600
51600
|
at.setContent(_e.modelValue);
|
|
@@ -51602,9 +51602,9 @@ const ste = { class: "font-bold ptext-lg dark:text-white" }, rte = ["id"], ate =
|
|
|
51602
51602
|
}
|
|
51603
51603
|
});
|
|
51604
51604
|
}), Z7(() => {
|
|
51605
|
-
|
|
51605
|
+
xe && (xe.destroy(), xe = null);
|
|
51606
51606
|
}), Ag(() => _e.modelValue, (at) => {
|
|
51607
|
-
|
|
51607
|
+
xe && xe.getContent() !== at && xe.setContent(at);
|
|
51608
51608
|
});
|
|
51609
51609
|
const $e = pu({
|
|
51610
51610
|
get() {
|
|
@@ -51711,11 +51711,11 @@ const ste = { class: "font-bold ptext-lg dark:text-white" }, rte = ["id"], ate =
|
|
|
51711
51711
|
return 0;
|
|
51712
51712
|
if (this.limit === 0)
|
|
51713
51713
|
return this.lastPage;
|
|
51714
|
-
for (var A = this.currentPage, re = this.lastPage, G = this.limit, _e = A - G, ne = A + G + 1, Z = [],
|
|
51714
|
+
for (var A = this.currentPage, re = this.lastPage, G = this.limit, _e = A - G, ne = A + G + 1, Z = [], xe = [], ee, $e = 1; $e <= re; $e++)
|
|
51715
51715
|
($e === 1 || $e === re || $e >= _e && $e < ne) && Z.push($e);
|
|
51716
51716
|
return Z.forEach(function(at) {
|
|
51717
|
-
ee && (at - ee === 2 ?
|
|
51718
|
-
}),
|
|
51717
|
+
ee && (at - ee === 2 ? xe.push(ee + 1) : at - ee !== 1 && xe.push("...")), xe.push(at), ee = at;
|
|
51718
|
+
}), xe;
|
|
51719
51719
|
}
|
|
51720
51720
|
},
|
|
51721
51721
|
methods: {
|
|
@@ -51838,8 +51838,8 @@ const ste = { class: "font-bold ptext-lg dark:text-white" }, rte = ["id"], ate =
|
|
|
51838
51838
|
})
|
|
51839
51839
|
], -1);
|
|
51840
51840
|
function kte(A, re, G, _e, ne, Z) {
|
|
51841
|
-
const
|
|
51842
|
-
return ue(), Zu(
|
|
51841
|
+
const xe = Rd("RenderlessPagination");
|
|
51842
|
+
return ue(), Zu(xe, {
|
|
51843
51843
|
data: G.data,
|
|
51844
51844
|
limit: G.limit,
|
|
51845
51845
|
onPaginationChangePage: Z.onPaginationChangePage
|
|
@@ -51949,16 +51949,16 @@ const iq = /* @__PURE__ */ zr(mte, [["render", kte]]), Tte = {
|
|
|
51949
51949
|
}
|
|
51950
51950
|
},
|
|
51951
51951
|
setup(A, { expose: re }) {
|
|
51952
|
-
const G = co(""), _e = co(""), ne = co(""), Z = co("Cancel"),
|
|
51952
|
+
const G = co(""), _e = co(""), ne = co(""), Z = co("Cancel"), xe = co(!1), ee = co(!1), $e = co(void 0), at = 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) => {
|
|
51953
51953
|
$e.value = Ot, at.value = Ls;
|
|
51954
51954
|
})), hn = () => {
|
|
51955
51955
|
ee.value = !0;
|
|
51956
51956
|
}, Et = () => {
|
|
51957
51957
|
ee.value = !1;
|
|
51958
51958
|
}, io = () => {
|
|
51959
|
-
|
|
51959
|
+
xe.value = !1, $e.value(!0);
|
|
51960
51960
|
}, lo = () => {
|
|
51961
|
-
|
|
51961
|
+
xe.value = !1, $e.value(!1);
|
|
51962
51962
|
};
|
|
51963
51963
|
return re({
|
|
51964
51964
|
show: yt,
|
|
@@ -51966,7 +51966,7 @@ const iq = /* @__PURE__ */ zr(mte, [["render", kte]]), Tte = {
|
|
|
51966
51966
|
hideLoading: Et
|
|
51967
51967
|
}), (eo, Ot) => {
|
|
51968
51968
|
const Ls = Rd("gl-button");
|
|
51969
|
-
return
|
|
51969
|
+
return xe.value ? (ue(), fe("div", Tte, [
|
|
51970
51970
|
R("div", Ete, [
|
|
51971
51971
|
Ate,
|
|
51972
51972
|
Dte,
|
|
@@ -52229,9 +52229,9 @@ const iq = /* @__PURE__ */ zr(mte, [["render", kte]]), Tte = {
|
|
|
52229
52229
|
"data-label": ""
|
|
52230
52230
|
}, 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" };
|
|
52231
52231
|
function hne(A, re, G, _e, ne, Z) {
|
|
52232
|
-
const
|
|
52232
|
+
const xe = Rd("DynamicConfirmation"), ee = Rd("dropdown"), $e = Rd("GlDropdown"), at = Rd("GlTextInput"), yt = Rd("gl-button"), hn = Rd("TailwindPagination");
|
|
52233
52233
|
return ue(), fe(jn, null, [
|
|
52234
|
-
ui(
|
|
52234
|
+
ui(xe, { ref: "ConfirmationDelete" }, null, 512),
|
|
52235
52235
|
R("div", Vte, [
|
|
52236
52236
|
R("div", zte, [
|
|
52237
52237
|
R("div", Ute, [
|
|
@@ -52665,13 +52665,13 @@ const Fce = /* @__PURE__ */ zr(Hte, [["render", hne]]), pne = {
|
|
|
52665
52665
|
soe
|
|
52666
52666
|
];
|
|
52667
52667
|
function aoe(A, re, G, _e, ne, Z) {
|
|
52668
|
-
const
|
|
52668
|
+
const xe = Rd("dropdown");
|
|
52669
52669
|
return ue(), fe("div", bne, [
|
|
52670
52670
|
R("div", vne, [
|
|
52671
52671
|
R("div", yne, [
|
|
52672
52672
|
wne,
|
|
52673
52673
|
R("div", xne, [
|
|
52674
|
-
ui(
|
|
52674
|
+
ui(xe, {
|
|
52675
52675
|
has_cancel: !1,
|
|
52676
52676
|
options: ne.showNoOfEntries,
|
|
52677
52677
|
modelValue: ne.itemsPerPage,
|
|
@@ -52986,13 +52986,13 @@ const Hce = /* @__PURE__ */ zr(pne, [["render", aoe]]), loe = {
|
|
|
52986
52986
|
Toe
|
|
52987
52987
|
], 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" };
|
|
52988
52988
|
function Moe(A, re, G, _e, ne, Z) {
|
|
52989
|
-
const
|
|
52989
|
+
const xe = Rd("dropdown"), ee = Rd("TailwindPagination");
|
|
52990
52990
|
return ue(), fe("div", coe, [
|
|
52991
52991
|
R("div", ioe, [
|
|
52992
52992
|
R("div", uoe, [
|
|
52993
52993
|
doe,
|
|
52994
52994
|
R("div", moe, [
|
|
52995
|
-
ui(
|
|
52995
|
+
ui(xe, {
|
|
52996
52996
|
has_cancel: !1,
|
|
52997
52997
|
options: ne.pageOptions,
|
|
52998
52998
|
modelValue: ne.perPage,
|
|
@@ -53235,13 +53235,13 @@ const Vce = /* @__PURE__ */ zr(loe, [["render", Moe]]), Poe = {
|
|
|
53235
53235
|
vse
|
|
53236
53236
|
];
|
|
53237
53237
|
function wse(A, re, G, _e, ne, Z) {
|
|
53238
|
-
const
|
|
53238
|
+
const xe = Rd("dropdown");
|
|
53239
53239
|
return ue(), fe("div", Boe, [
|
|
53240
53240
|
R("div", Noe, [
|
|
53241
53241
|
R("div", Ioe, [
|
|
53242
53242
|
Loe,
|
|
53243
53243
|
R("div", Foe, [
|
|
53244
|
-
ui(
|
|
53244
|
+
ui(xe, {
|
|
53245
53245
|
has_cancel: !1,
|
|
53246
53246
|
options: ne.showNoOfEntries,
|
|
53247
53247
|
modelValue: ne.itemsPerPage,
|
|
@@ -53385,7 +53385,7 @@ const zce = /* @__PURE__ */ zr(Poe, [["render", wse]]), xse = {
|
|
|
53385
53385
|
return "Runs every minute.";
|
|
53386
53386
|
if (re === "0" && G === "0" && _e === "*" && ne === "*" && Z !== "*")
|
|
53387
53387
|
return `Runs at 12:00 AM every ${this.convertDayOfWeek(Z)}.`;
|
|
53388
|
-
const
|
|
53388
|
+
const xe = {
|
|
53389
53389
|
0: "Sunday",
|
|
53390
53390
|
1: "Monday",
|
|
53391
53391
|
2: "Tuesday",
|
|
@@ -53408,7 +53408,7 @@ const zce = /* @__PURE__ */ zr(Poe, [["render", wse]]), xse = {
|
|
|
53408
53408
|
11: "November",
|
|
53409
53409
|
12: "December",
|
|
53410
53410
|
"*": "every month"
|
|
53411
|
-
}, $e = this.convertField(re, "minute", 59), at = this.convertField(G, "hour", 23), yt = this.convertField(_e, "day of the month", 31), hn = this.convertField(ne, "month", 12, ee), Et = this.convertField(Z, "day", 6,
|
|
53411
|
+
}, $e = this.convertField(re, "minute", 59), at = this.convertField(G, "hour", 23), yt = this.convertField(_e, "day of the month", 31), hn = this.convertField(ne, "month", 12, ee), Et = this.convertField(Z, "day", 6, xe);
|
|
53412
53412
|
return `Runs ${$e} ${at} ${yt} ${hn} on ${Et}.`;
|
|
53413
53413
|
},
|
|
53414
53414
|
convertField(A, re, G, _e = {}) {
|
|
@@ -53493,12 +53493,12 @@ const Wce = /* @__PURE__ */ zr(kse, [["render", Tse]]), Ese = {
|
|
|
53493
53493
|
return at = Math.floor(at / 16), (hn === "x" ? Et : Et & 3 | 8).toString(16);
|
|
53494
53494
|
});
|
|
53495
53495
|
return yt;
|
|
53496
|
-
})(), ne = { isOpen: A, id: _e }, Z = pu(() => re.accordions.value),
|
|
53496
|
+
})(), ne = { isOpen: A, id: _e }, Z = pu(() => re.accordions.value), xe = pu(() => Z.value.length > 0 && Z.value[0].id === _e), ee = pu(() => Z.value.length > 0 && Z.value[Z.value.length - 1].id === _e);
|
|
53497
53497
|
return Dg(() => {
|
|
53498
53498
|
re.registerAccordion(ne);
|
|
53499
53499
|
}), Nq(() => {
|
|
53500
53500
|
re.unregisterAccordion(ne);
|
|
53501
|
-
}), { isOpen: A, isFirstAccordion:
|
|
53501
|
+
}), { isOpen: A, isFirstAccordion: xe, isLastAccordion: ee, toggle: () => {
|
|
53502
53502
|
re.toggleAccordion(ne);
|
|
53503
53503
|
} };
|
|
53504
53504
|
}
|
|
@@ -53537,7 +53537,7 @@ function Bse(A, re, G, _e, ne, Z) {
|
|
|
53537
53537
|
return ue(), fe("div", null, [
|
|
53538
53538
|
R("h2", null, [
|
|
53539
53539
|
R("button", {
|
|
53540
|
-
onClick: re[0] || (re[0] = (...
|
|
53540
|
+
onClick: re[0] || (re[0] = (...xe) => _e.toggle && _e.toggle(...xe)),
|
|
53541
53541
|
type: "button",
|
|
53542
53542
|
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", {
|
|
53543
53543
|
"rounded-t-xl": _e.isFirstAccordion,
|
|
@@ -53648,7 +53648,7 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53648
53648
|
G.type === "warning" ? (ue(), fe("div", Zse, qse)) : Ye("", !0),
|
|
53649
53649
|
R("div", Kse, mt(G.message), 1),
|
|
53650
53650
|
R("button", {
|
|
53651
|
-
onClick: Z[0] || (Z[0] = (
|
|
53651
|
+
onClick: Z[0] || (Z[0] = (xe) => _e("remove")),
|
|
53652
53652
|
type: "button",
|
|
53653
53653
|
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",
|
|
53654
53654
|
"data-dismiss-target": "#toast-default",
|
|
@@ -53676,7 +53676,7 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53676
53676
|
message: ne.message,
|
|
53677
53677
|
type: ne.type,
|
|
53678
53678
|
duration: ne.duration,
|
|
53679
|
-
onRemove: (
|
|
53679
|
+
onRemove: (xe) => re(Z)
|
|
53680
53680
|
}, null, 8, ["message", "type", "duration", "onRemove"]))), 128))
|
|
53681
53681
|
]),
|
|
53682
53682
|
_: 1
|
|
@@ -53726,7 +53726,7 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53726
53726
|
setup(A, { emit: re }) {
|
|
53727
53727
|
const G = A, _e = co(!1), ne = co(!1), Z = () => {
|
|
53728
53728
|
_e.value = !1;
|
|
53729
|
-
},
|
|
53729
|
+
}, xe = () => {
|
|
53730
53730
|
_e.value = !0;
|
|
53731
53731
|
}, ee = () => {
|
|
53732
53732
|
ne.value = !1;
|
|
@@ -53753,7 +53753,7 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53753
53753
|
}, null, 8, ["isOpen"]),
|
|
53754
53754
|
A.row && hn.can(`edit_${A.xprops.permission} || delete_${A.xprops.permission}`) ? Tr((ue(), fe("div", ere, [
|
|
53755
53755
|
R("button", {
|
|
53756
|
-
onClick:
|
|
53756
|
+
onClick: xe,
|
|
53757
53757
|
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",
|
|
53758
53758
|
type: "button"
|
|
53759
53759
|
}, nre),
|
|
@@ -53832,7 +53832,7 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53832
53832
|
setup(A, { emit: re }) {
|
|
53833
53833
|
const G = A, _e = co(!1), ne = co(!1), Z = () => {
|
|
53834
53834
|
_e.value = !1;
|
|
53835
|
-
},
|
|
53835
|
+
}, xe = () => {
|
|
53836
53836
|
_e.value = !0;
|
|
53837
53837
|
}, ee = () => {
|
|
53838
53838
|
ne.value = !1;
|
|
@@ -53859,7 +53859,7 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53859
53859
|
}, null, 8, ["isOpen"]),
|
|
53860
53860
|
A.row && hn.can(`delete_${A.xprops.permission}`) ? Tr((ue(), fe("div", ure, [
|
|
53861
53861
|
R("button", {
|
|
53862
|
-
onClick:
|
|
53862
|
+
onClick: xe,
|
|
53863
53863
|
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",
|
|
53864
53864
|
type: "button"
|
|
53865
53865
|
}, mre),
|
|
@@ -53929,7 +53929,7 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53929
53929
|
setup(A, { emit: re }) {
|
|
53930
53930
|
const G = A, _e = co(!1), ne = co(!1), Z = () => {
|
|
53931
53931
|
ne.value = !1;
|
|
53932
|
-
},
|
|
53932
|
+
}, xe = () => {
|
|
53933
53933
|
ne.value = !0;
|
|
53934
53934
|
}, ee = () => {
|
|
53935
53935
|
_e.value = !1;
|
|
@@ -53977,7 +53977,7 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
53977
53977
|
Et.can(`delete_${A.xprops.permission}`) ? (ue(), fe("li", Sre, [
|
|
53978
53978
|
R("a", {
|
|
53979
53979
|
href: "#",
|
|
53980
|
-
onClick: za(
|
|
53980
|
+
onClick: za(xe, ["prevent"]),
|
|
53981
53981
|
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"
|
|
53982
53982
|
}, [
|
|
53983
53983
|
kre,
|
|
@@ -54049,13 +54049,13 @@ const Zce = /* @__PURE__ */ zr(Ese, [["render", Bse]]), Nse = {
|
|
|
54049
54049
|
], -1);
|
|
54050
54050
|
function $re(A, re, G, _e, ne, Z) {
|
|
54051
54051
|
return ue(), fe("div", null, [
|
|
54052
|
-
Z.isArray ? (ue(!0), fe(jn, { key: 0 }, Ks(G.row, (
|
|
54052
|
+
Z.isArray ? (ue(!0), fe(jn, { key: 0 }, Ks(G.row, (xe, ee) => (ue(), fe("div", {
|
|
54053
54053
|
key: ee,
|
|
54054
54054
|
class: "m-1 d-inline-block"
|
|
54055
54055
|
}, [
|
|
54056
54056
|
R("a", {
|
|
54057
|
-
href:
|
|
54058
|
-
title:
|
|
54057
|
+
href: xe,
|
|
54058
|
+
title: xe,
|
|
54059
54059
|
target: "_blank",
|
|
54060
54060
|
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"
|
|
54061
54061
|
}, [
|
|
@@ -54124,13 +54124,13 @@ const Yce = /* @__PURE__ */ zr(Tre, [["render", $re]]), Mre = {
|
|
|
54124
54124
|
})
|
|
54125
54125
|
], -1);
|
|
54126
54126
|
function Fre(A, re, G, _e, ne, Z) {
|
|
54127
|
-
return Z.isArray ? (ue(!0), fe(jn, { key: 0 }, Ks(G.row[G.field], (
|
|
54128
|
-
key:
|
|
54127
|
+
return Z.isArray ? (ue(!0), fe(jn, { key: 0 }, Ks(G.row[G.field], (xe) => (ue(), fe("div", {
|
|
54128
|
+
key: xe.id,
|
|
54129
54129
|
class: "m-1 d-inline-block"
|
|
54130
54130
|
}, [
|
|
54131
54131
|
R("a", {
|
|
54132
|
-
href:
|
|
54133
|
-
title:
|
|
54132
|
+
href: xe.url,
|
|
54133
|
+
title: xe.name,
|
|
54134
54134
|
target: "_blank",
|
|
54135
54135
|
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"
|
|
54136
54136
|
}, [
|
|
@@ -54183,10 +54183,10 @@ const Jce = /* @__PURE__ */ zr(Hre, [["render", Ure]]), Wre = {
|
|
|
54183
54183
|
};
|
|
54184
54184
|
function Gre(A, re, G, _e, ne, Z) {
|
|
54185
54185
|
return this.row[this.entry.key] ? (ue(), fe("div", Zre, [
|
|
54186
|
-
Z.isArray ? (ue(!0), fe(jn, { key: 0 }, Ks(G.row[Z.entry.key], (
|
|
54186
|
+
Z.isArray ? (ue(!0), fe(jn, { key: 0 }, Ks(G.row[Z.entry.key], (xe, ee) => (ue(), fe("span", {
|
|
54187
54187
|
key: ee,
|
|
54188
54188
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
54189
|
-
}, mt(
|
|
54189
|
+
}, 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)
|
|
54190
54190
|
])) : Ye("", !0);
|
|
54191
54191
|
}
|
|
54192
54192
|
const Qce = /* @__PURE__ */ zr(Wre, [["render", Gre]]), qre = {
|
|
@@ -54214,10 +54214,10 @@ const Qce = /* @__PURE__ */ zr(Wre, [["render", Gre]]), qre = {
|
|
|
54214
54214
|
};
|
|
54215
54215
|
function Xre(A, re, G, _e, ne, Z) {
|
|
54216
54216
|
return ue(), fe("div", Kre, [
|
|
54217
|
-
Z.isArray ? (ue(!0), fe(jn, { key: 0 }, Ks(Z.getNestedValue(G.row, Z.entry.keys), (
|
|
54217
|
+
Z.isArray ? (ue(!0), fe(jn, { key: 0 }, Ks(Z.getNestedValue(G.row, Z.entry.keys), (xe, ee) => (ue(), fe("span", {
|
|
54218
54218
|
key: ee,
|
|
54219
54219
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
54220
|
-
}, mt(
|
|
54220
|
+
}, 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)
|
|
54221
54221
|
]);
|
|
54222
54222
|
}
|
|
54223
54223
|
const eie = /* @__PURE__ */ zr(qre, [["render", Xre]]), Jre = {
|
|
@@ -54256,13 +54256,13 @@ const tie = /* @__PURE__ */ zr(Jre, [["render", oae], ["__scopeId", "data-v-3a28
|
|
|
54256
54256
|
}, aae = ["src", "alt"], lae = { key: 1 }, cae = ["src", "alt"];
|
|
54257
54257
|
function iae(A, re, G, _e, ne, Z) {
|
|
54258
54258
|
return Z.isArray ? (ue(), fe("div", rae, [
|
|
54259
|
-
(ue(!0), fe(jn, null, Ks(G.row[G.field], (
|
|
54260
|
-
key:
|
|
54259
|
+
(ue(!0), fe(jn, null, Ks(G.row[G.field], (xe) => (ue(), fe("div", {
|
|
54260
|
+
key: xe.id
|
|
54261
54261
|
}, [
|
|
54262
54262
|
R("img", {
|
|
54263
54263
|
class: "h-auto max-w-full rounded-lg",
|
|
54264
|
-
src:
|
|
54265
|
-
alt:
|
|
54264
|
+
src: xe.thumbnail,
|
|
54265
|
+
alt: xe.file_name
|
|
54266
54266
|
}, null, 8, aae)
|
|
54267
54267
|
]))), 128))
|
|
54268
54268
|
])) : Z.isObject ? (ue(), fe("div", lae, [
|
|
@@ -54494,8 +54494,8 @@ const aie = /* @__PURE__ */ zr(Mae, [["render", Zae]]), jae = {
|
|
|
54494
54494
|
return "";
|
|
54495
54495
|
const A = new Date(this.row[this.field]), re = A.getFullYear(), G = A.toLocaleString("default", { month: "long" }), _e = A.getDate();
|
|
54496
54496
|
let ne = A.getHours();
|
|
54497
|
-
const Z = A.getMinutes(),
|
|
54498
|
-
return ne = ne % 12, ne = ne || 12, `${G} ${_e}, ${re}, ${ne}:${Z}:${
|
|
54497
|
+
const Z = A.getMinutes(), xe = A.getSeconds(), ee = ne >= 12 ? "pm" : "am";
|
|
54498
|
+
return ne = ne % 12, ne = ne || 12, `${G} ${_e}, ${re}, ${ne}:${Z}:${xe} ${ee}`;
|
|
54499
54499
|
}
|
|
54500
54500
|
}
|
|
54501
54501
|
}, Gae = { class: "w-full" };
|
|
@@ -54585,7 +54585,7 @@ const uie = /* @__PURE__ */ zr(lle, [["render", ule]]), dle = {
|
|
|
54585
54585
|
"aria-hidden": "true"
|
|
54586
54586
|
}, "", -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" };
|
|
54587
54587
|
function _le(A, re, G, _e, ne, Z) {
|
|
54588
|
-
const
|
|
54588
|
+
const xe = Rd("gl-button");
|
|
54589
54589
|
return G.isOpen ? (ue(), fe("div", mle, [
|
|
54590
54590
|
R("div", fle, [
|
|
54591
54591
|
gle,
|
|
@@ -54602,7 +54602,7 @@ function _le(A, re, G, _e, ne, Z) {
|
|
|
54602
54602
|
])
|
|
54603
54603
|
]),
|
|
54604
54604
|
R("div", Cle, [
|
|
54605
|
-
ui(
|
|
54605
|
+
ui(xe, {
|
|
54606
54606
|
onClick: Z.confirmAction,
|
|
54607
54607
|
tag: "button",
|
|
54608
54608
|
button_type: "red"
|
|
@@ -54612,7 +54612,7 @@ function _le(A, re, G, _e, ne, Z) {
|
|
|
54612
54612
|
]),
|
|
54613
54613
|
_: 1
|
|
54614
54614
|
}, 8, ["onClick"]),
|
|
54615
|
-
ui(
|
|
54615
|
+
ui(xe, {
|
|
54616
54616
|
onClick: Z.cancelAction,
|
|
54617
54617
|
tag: "button",
|
|
54618
54618
|
button_type: "light"
|
|
@@ -54683,11 +54683,11 @@ const die = /* @__PURE__ */ zr(dle, [["render", _le]]), Sle = { class: "w-full"
|
|
|
54683
54683
|
G.value = !0, setTimeout(() => {
|
|
54684
54684
|
G.value = !1;
|
|
54685
54685
|
}, 2e3);
|
|
54686
|
-
}).catch(function(
|
|
54687
|
-
console.error("Error copying to clipboard: ",
|
|
54686
|
+
}).catch(function(xe) {
|
|
54687
|
+
console.error("Error copying to clipboard: ", xe);
|
|
54688
54688
|
});
|
|
54689
54689
|
}, ne = pu(() => re.code);
|
|
54690
|
-
return (Z,
|
|
54690
|
+
return (Z, xe) => (ue(), fe("div", Sle, [
|
|
54691
54691
|
R("div", kle, [
|
|
54692
54692
|
R("p", Tle, mt(A.label_name), 1)
|
|
54693
54693
|
]),
|
|
@@ -54697,7 +54697,7 @@ const die = /* @__PURE__ */ zr(dle, [["render", _le]]), Sle = { class: "w-full"
|
|
|
54697
54697
|
]),
|
|
54698
54698
|
R("div", Ole, [
|
|
54699
54699
|
R("button", {
|
|
54700
|
-
onClick:
|
|
54700
|
+
onClick: xe[0] || (xe[0] = (ee) => _e(ne.value)),
|
|
54701
54701
|
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"
|
|
54702
54702
|
}, [
|
|
54703
54703
|
G.value ? Ye("", !0) : (ue(), fe("span", Rle, Ple)),
|
|
@@ -54763,11 +54763,11 @@ const die = /* @__PURE__ */ zr(dle, [["render", _le]]), Sle = { class: "w-full"
|
|
|
54763
54763
|
G.value = !0, setTimeout(() => {
|
|
54764
54764
|
G.value = !1;
|
|
54765
54765
|
}, 2e3);
|
|
54766
|
-
}).catch(function(
|
|
54767
|
-
console.error("Error copying to clipboard: ",
|
|
54766
|
+
}).catch(function(xe) {
|
|
54767
|
+
console.error("Error copying to clipboard: ", xe);
|
|
54768
54768
|
});
|
|
54769
54769
|
}, ne = pu(() => re.code);
|
|
54770
|
-
return (Z,
|
|
54770
|
+
return (Z, xe) => (ue(), fe("div", Hle, [
|
|
54771
54771
|
R("div", Vle, [
|
|
54772
54772
|
R("label", zle, mt(A.label_name), 1)
|
|
54773
54773
|
]),
|
|
@@ -54785,7 +54785,7 @@ const die = /* @__PURE__ */ zr(dle, [["render", _le]]), Sle = { class: "w-full"
|
|
|
54785
54785
|
]),
|
|
54786
54786
|
R("button", {
|
|
54787
54787
|
style: { padding: ".61rem" },
|
|
54788
|
-
onClick:
|
|
54788
|
+
onClick: xe[0] || (xe[0] = (ee) => _e(ne.value)),
|
|
54789
54789
|
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",
|
|
54790
54790
|
type: "button"
|
|
54791
54791
|
}, [
|