golden-logic-ui 1.0.364 → 1.0.366
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 +498 -498
- package/dist/golden-logic-ui.umd.cjs +11 -11
- package/package.json +1 -1
package/dist/golden-logic-ui.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { openBlock as pe, createElementBlock as ye, createElementVNode as P, createCommentVNode as ut, createStaticVNode as Dq, reactive as Oq, resolveComponent as y1, Fragment as Qn, createVNode as ub, normalizeClass as an, toDisplayString as gt, withModifiers as oc, withDirectives as Qa, vModelText as ym, renderList as sr, normalizeStyle as Oj, computed as vc, renderSlot as yf, ref as Eo, onMounted as _g, onBeforeUnmount as W8, watch as Gx, createTextVNode as ko, vShow as n5, nextTick as Rj, createBlock as vm, resolveDynamicComponent as o5, mergeProps as t5, withCtx as U8, vModelDynamic as JG, useSlots as Rq, provide as QG, inject as eq, pushScopeId as $q, popScopeId as Mq, vModelCheckbox as tq, toHandlers as Aj, onUnmounted as Pq, TransitionGroup as Nq, unref as Bq, resolveDirective as nq, markRaw as Iq } from "vue";
|
|
2
2
|
const qr = (O, ie) => {
|
|
3
3
|
const te = O.__vccOpts || O;
|
|
4
|
-
for (const [_e,
|
|
5
|
-
te[_e] =
|
|
4
|
+
for (const [_e, le] of ie)
|
|
5
|
+
te[_e] = le;
|
|
6
6
|
return te;
|
|
7
7
|
}, Lq = {
|
|
8
8
|
props: ["isOpen"],
|
|
@@ -27,7 +27,7 @@ const qr = (O, ie) => {
|
|
|
27
27
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
28
28
|
"aria-hidden": "true"
|
|
29
29
|
}, "", -1), Uq = { class: "inline-block overflow-hidden text-left align-bottom transition-all transform bg-white dark:bg-gray-800 rounded-lg shadow-xl sm:my-8 sm:align-middle sm:max-w-lg sm:w-full" }, Wq = /* @__PURE__ */ Dq('<div class="px-4 pt-5 pb-4 sm:p-6 sm:pb-4"><div class="sm:flex sm:items-start"><div class="mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left"><h3 class="text-lg font-medium leading-6" id="modal-title"> Confirm Deletion </h3><div class="mt-2"><p class="text-sm"> Are you sure you want to delete this item? This action cannot be undone. </p></div></div></div></div>', 1), Zq = { class: "border-t border-gray-200 rounded-b dark:border-gray-600 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse" };
|
|
30
|
-
function jq(O, ie, te, _e,
|
|
30
|
+
function jq(O, ie, te, _e, le, G) {
|
|
31
31
|
return te.isOpen ? (pe(), ye("div", Fq, [
|
|
32
32
|
P("div", Hq, [
|
|
33
33
|
Vq,
|
|
@@ -180,33 +180,33 @@ const $j = /* @__PURE__ */ qr(Lq, [["render", jq]]), Dj = Oq({
|
|
|
180
180
|
return new Promise((ie, te) => {
|
|
181
181
|
O || ie();
|
|
182
182
|
const _e = new FormData();
|
|
183
|
-
_e.append("file", O), Object.entries(this.file_config).forEach(([
|
|
184
|
-
_e.append(
|
|
183
|
+
_e.append("file", O), Object.entries(this.file_config).forEach(([le, G]) => {
|
|
184
|
+
_e.append(le, G);
|
|
185
185
|
}), this.files.push({ file_name: O.name, loading: 0 }), axios.post(this.route_url + "/media", _e, {
|
|
186
|
-
onUploadProgress: (
|
|
186
|
+
onUploadProgress: (le) => {
|
|
187
187
|
this.files[this.files.length - 1].loading = Math.floor(
|
|
188
|
-
|
|
188
|
+
le.loaded / le.total * 100
|
|
189
189
|
);
|
|
190
190
|
}
|
|
191
|
-
}).then((
|
|
191
|
+
}).then((le) => {
|
|
192
192
|
let G = this.files.findIndex(
|
|
193
193
|
(Ae) => Ae.file_name === O.name
|
|
194
194
|
);
|
|
195
195
|
G !== -1 && this.files.splice(G, 1), this.has_multiple_file || (this.uploadFileList = []), this.uploadFileList.push({
|
|
196
|
-
file_name:
|
|
197
|
-
size:
|
|
198
|
-
id:
|
|
199
|
-
url:
|
|
196
|
+
file_name: le.data.file_name,
|
|
197
|
+
size: le.data.size,
|
|
198
|
+
id: le.data.id,
|
|
199
|
+
url: le.data.url
|
|
200
200
|
}), this.error_message_data = "", ie();
|
|
201
|
-
}).catch((
|
|
202
|
-
|
|
203
|
-
|
|
201
|
+
}).catch((le) => {
|
|
202
|
+
le.response.status === 422 ? this.error_message_data = this.getFirstError(
|
|
203
|
+
le.response.data.errors,
|
|
204
204
|
"file"
|
|
205
|
-
) : console.error("An error occurred:",
|
|
205
|
+
) : console.error("An error occurred:", le);
|
|
206
206
|
let G = this.files.findIndex(
|
|
207
207
|
(Ae) => Ae.file_name === O.name
|
|
208
208
|
);
|
|
209
|
-
G !== -1 && this.files.splice(G, 1), console.log(
|
|
209
|
+
G !== -1 && this.files.splice(G, 1), console.log(le), ie();
|
|
210
210
|
});
|
|
211
211
|
});
|
|
212
212
|
}
|
|
@@ -245,24 +245,24 @@ const $j = /* @__PURE__ */ qr(Lq, [["render", jq]]), Dj = Oq({
|
|
|
245
245
|
class: "text-3xl fas fa-file-alt",
|
|
246
246
|
"aria-hidden": "true"
|
|
247
247
|
}, null, -1), vK = { class: "flex flex-col ml-3" }, yK = { class: "text-xs" }, wK = { class: "text-xs" }, xK = { class: "flex gap-2" }, CK = ["href"], SK = ["onClick"];
|
|
248
|
-
function _K(O, ie, te, _e,
|
|
248
|
+
function _K(O, ie, te, _e, le, G) {
|
|
249
249
|
const Ae = y1("DeleteConfirmationModal");
|
|
250
250
|
return pe(), ye(Qn, null, [
|
|
251
251
|
ub(Ae, {
|
|
252
|
-
isOpen:
|
|
252
|
+
isOpen: le.open_delete_modal,
|
|
253
253
|
onConfirmDelete: G.deleteAction,
|
|
254
254
|
onCancelDelete: G.closeDeleteModal
|
|
255
255
|
}, null, 8, ["isOpen", "onConfirmDelete", "onCancelDelete"]),
|
|
256
256
|
P("div", {
|
|
257
257
|
class: an([{
|
|
258
|
-
"border-red-500 dark:border-red-500":
|
|
259
|
-
"border-gray-200 dark:border-gray-700":
|
|
258
|
+
"border-red-500 dark:border-red-500": le.error_message_data !== "",
|
|
259
|
+
"border-gray-200 dark:border-gray-700": le.error_message_data == ""
|
|
260
260
|
}, "w-full p-4 bg-white border rounded-lg shadow dark:bg-gray-800"])
|
|
261
261
|
}, [
|
|
262
262
|
P("label", {
|
|
263
263
|
class: an({
|
|
264
|
-
"gl-label-form":
|
|
265
|
-
"gl-label-form-invalid":
|
|
264
|
+
"gl-label-form": le.error_message_data == "",
|
|
265
|
+
"gl-label-form-invalid": le.error_message_data !== "",
|
|
266
266
|
required: te.is_required
|
|
267
267
|
})
|
|
268
268
|
}, gt(te.label_name), 3),
|
|
@@ -287,17 +287,17 @@ function _K(O, ie, te, _e, ae, G) {
|
|
|
287
287
|
}, null, 8, Xq), [
|
|
288
288
|
[ym, G.uploadFileListFinal]
|
|
289
289
|
]),
|
|
290
|
-
|
|
290
|
+
le.isDragging ? (pe(), ye("div", tK, oK)) : (pe(), ye("div", {
|
|
291
291
|
key: 0,
|
|
292
292
|
class: "flex flex-col items-center justify-center",
|
|
293
293
|
onClick: ie[2] || (ie[2] = (Q) => O.$refs["file_input" + this.field_name].click())
|
|
294
294
|
}, eK))
|
|
295
295
|
])
|
|
296
296
|
], 32),
|
|
297
|
-
P("span", sK, gt(
|
|
297
|
+
P("span", sK, gt(le.error_message_data), 1),
|
|
298
298
|
P("small", rK, gt(te.description), 1),
|
|
299
|
-
|
|
300
|
-
(pe(!0), ye(Qn, null, sr(
|
|
299
|
+
le.files.length > 0 ? (pe(), ye("section", aK, [
|
|
300
|
+
(pe(!0), ye(Qn, null, sr(le.files, (Q, Pe) => (pe(), ye("li", lK, [
|
|
301
301
|
cK,
|
|
302
302
|
P("div", iK, [
|
|
303
303
|
P("div", uK, [
|
|
@@ -331,7 +331,7 @@ function _K(O, ie, te, _e, ae, G) {
|
|
|
331
331
|
te.is_enable_delete ? (pe(), ye("i", {
|
|
332
332
|
key: 0,
|
|
333
333
|
onClick: (pt) => {
|
|
334
|
-
|
|
334
|
+
le.media_id = Q.id, le.open_delete_modal = !0;
|
|
335
335
|
},
|
|
336
336
|
class: "text-lg text-red-600 cursor-pointer dark:text-red-400 fas fa-x"
|
|
337
337
|
}, null, 8, SK)) : ut("", !0)
|
|
@@ -377,9 +377,9 @@ const Nae = /* @__PURE__ */ qr(qq, [["render", _K]]), kK = {
|
|
|
377
377
|
mounted() {
|
|
378
378
|
}
|
|
379
379
|
}, TK = { class: "grid w-full gap-1 mt-5 mb-5 md:gap-0 md:grid-cols-10 language-selector" }, EK = ["name", "value", "id", "checked"], AK = ["for"];
|
|
380
|
-
function DK(O, ie, te, _e,
|
|
380
|
+
function DK(O, ie, te, _e, le, G) {
|
|
381
381
|
return pe(), ye("ul", TK, [
|
|
382
|
-
(pe(!0), ye(Qn, null, sr(
|
|
382
|
+
(pe(!0), ye(Qn, null, sr(le.locals, (Ae, Q) => (pe(), ye("li", null, [
|
|
383
383
|
P("input", {
|
|
384
384
|
type: "radio",
|
|
385
385
|
name: te.trans_selector_name,
|
|
@@ -387,14 +387,14 @@ function DK(O, ie, te, _e, ae, G) {
|
|
|
387
387
|
class: "hidden peer",
|
|
388
388
|
id: Ae + "_" + te.field_name,
|
|
389
389
|
autocomplete: "off",
|
|
390
|
-
checked: Ae ===
|
|
390
|
+
checked: Ae === le.default_language
|
|
391
391
|
}, null, 8, EK),
|
|
392
392
|
P("label", {
|
|
393
393
|
for: Ae + "_" + te.field_name,
|
|
394
394
|
class: an([{
|
|
395
395
|
"border md:!rounded-s-lg": Q === 0,
|
|
396
|
-
"border md:!rounded-e-lg": Q ===
|
|
397
|
-
"border-t border-b": Q !== 0 && Q !==
|
|
396
|
+
"border md:!rounded-e-lg": Q === le.locals.length - 1,
|
|
397
|
+
"border-t border-b": Q !== 0 && Q !== le.locals.length - 1
|
|
398
398
|
}, "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"])
|
|
399
399
|
}, gt(Ae), 11, AK)
|
|
400
400
|
]))), 256))
|
|
@@ -414,20 +414,20 @@ const Bae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
414
414
|
},
|
|
415
415
|
setup(O) {
|
|
416
416
|
const ie = O, te = vc(() => ie.class), _e = vc(() => ie.body_class);
|
|
417
|
-
return (
|
|
417
|
+
return (le, G) => (pe(), ye("div", {
|
|
418
418
|
class: an(["flex flex-col gap-9", te.value])
|
|
419
419
|
}, [
|
|
420
420
|
P("div", OK, [
|
|
421
421
|
P("div", RK, [
|
|
422
422
|
P("h3", $K, [
|
|
423
|
-
yf(
|
|
423
|
+
yf(le.$slots, "header")
|
|
424
424
|
])
|
|
425
425
|
]),
|
|
426
|
-
|
|
426
|
+
le.$slots.body ? (pe(), ye("div", {
|
|
427
427
|
key: 0,
|
|
428
428
|
class: an(["p-6", _e.value])
|
|
429
429
|
}, [
|
|
430
|
-
yf(
|
|
430
|
+
yf(le.$slots, "body")
|
|
431
431
|
], 2)) : ut("", !0)
|
|
432
432
|
])
|
|
433
433
|
], 2));
|
|
@@ -514,7 +514,7 @@ const Bae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
514
514
|
},
|
|
515
515
|
emits: ["update:modelValue", "selected", "selectionChanged"],
|
|
516
516
|
setup(O, { emit: ie }) {
|
|
517
|
-
const te = O, _e = ie,
|
|
517
|
+
const te = O, _e = ie, le = Eo(null), G = Eo([]), Ae = Eo([]), Q = Eo(0), Pe = Eo(!1), pt = Eo(""), qe = Eo(""), bn = Eo(null), mn = Eo(0), No = Eo(0), us = () => {
|
|
518
518
|
if (bn.value) {
|
|
519
519
|
mn.value = bn.value.offsetWidth;
|
|
520
520
|
var rt = bn.value.getBoundingClientRect();
|
|
@@ -724,7 +724,7 @@ const Bae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
724
724
|
Qa(P("input", {
|
|
725
725
|
type: "search",
|
|
726
726
|
"onUpdate:modelValue": Me[2] || (Me[2] = (nn) => pt.value = nn),
|
|
727
|
-
ref:
|
|
727
|
+
ref: le.value,
|
|
728
728
|
id: `${O.field_name}search${qe.value}`,
|
|
729
729
|
onKeydown: fe,
|
|
730
730
|
onBlur: Me[3] || (Me[3] = (nn) => to()),
|
|
@@ -830,7 +830,7 @@ const Bae = /* @__PURE__ */ qr(kK, [["render", DK]]), OK = { class: "bg-white bo
|
|
|
830
830
|
fill: "#1C64F2"
|
|
831
831
|
})
|
|
832
832
|
], -1);
|
|
833
|
-
function YK(O, ie, te, _e,
|
|
833
|
+
function YK(O, ie, te, _e, le, G) {
|
|
834
834
|
return te.is_loading ? (pe(), vm(o5("button"), {
|
|
835
835
|
key: 1,
|
|
836
836
|
disabled: "",
|
|
@@ -909,18 +909,18 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
|
|
|
909
909
|
},
|
|
910
910
|
emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
|
|
911
911
|
setup(O, { expose: ie, emit: te }) {
|
|
912
|
-
const _e = O,
|
|
913
|
-
Ae.value &&
|
|
912
|
+
const _e = O, le = te, G = Eo(null), Ae = Eo(null), Q = () => {
|
|
913
|
+
Ae.value && le("update:modelValueTranslate", Ae.value.value);
|
|
914
914
|
};
|
|
915
915
|
return _g(() => {
|
|
916
|
-
G.value !== null && G.value.hasAttribute("autofocus") && G.value.focus(), _e.modelValue && (
|
|
916
|
+
G.value !== null && G.value.hasAttribute("autofocus") && G.value.focus(), _e.modelValue && (le("update:modelValue", _e.modelValue), G.value.value = _e.modelValue), _e.modelValueTranslate && (le("update:modelValueTranslate", _e.modelValueTranslate), Ae.value.value = _e.modelValueTranslate), _e.translatable && !_e.modelValueTranslate && axios.get("/admin/get_field_translations", {
|
|
917
917
|
params: {
|
|
918
918
|
model: _e.translatable.model,
|
|
919
919
|
row_id: _e.translatable.row_id,
|
|
920
920
|
field: _e.translatable.field
|
|
921
921
|
}
|
|
922
922
|
}).then((Pe) => {
|
|
923
|
-
Ae.value.value = JSON.stringify(Pe.data),
|
|
923
|
+
Ae.value.value = JSON.stringify(Pe.data), le("update:modelValueTranslate", JSON.stringify(Pe.data));
|
|
924
924
|
}).catch((Pe) => {
|
|
925
925
|
console.log(Pe);
|
|
926
926
|
});
|
|
@@ -1049,22 +1049,22 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
|
|
|
1049
1049
|
},
|
|
1050
1050
|
emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
|
|
1051
1051
|
setup(O, { expose: ie, emit: te }) {
|
|
1052
|
-
const _e = O,
|
|
1053
|
-
Ae.value &&
|
|
1052
|
+
const _e = O, le = te, G = Eo(null), Ae = Eo(null), Q = () => {
|
|
1053
|
+
Ae.value && le("update:modelValueTranslate", Ae.value.value);
|
|
1054
1054
|
};
|
|
1055
1055
|
return _g(() => {
|
|
1056
1056
|
tinymce.init({
|
|
1057
1057
|
selector: "#" + _e.field_name,
|
|
1058
1058
|
width: "100%",
|
|
1059
1059
|
height: 300
|
|
1060
|
-
}), G.value !== null && G.value.hasAttribute("autofocus") && G.value.focus(), _e.modelValue && (
|
|
1060
|
+
}), G.value !== null && G.value.hasAttribute("autofocus") && G.value.focus(), _e.modelValue && (le("update:modelValue", _e.modelValue), G.value.value = _e.modelValue), _e.modelValueTranslate && (le("update:modelValueTranslate", _e.modelValueTranslate), Ae.value.value = _e.modelValueTranslate), _e.translatable && !_e.modelValueTranslate && axios.get("/admin/get_field_translations", {
|
|
1061
1061
|
params: {
|
|
1062
1062
|
model: _e.translatable.model,
|
|
1063
1063
|
row_id: _e.translatable.row_id,
|
|
1064
1064
|
field: _e.translatable.field
|
|
1065
1065
|
}
|
|
1066
1066
|
}).then((Pe) => {
|
|
1067
|
-
Ae.value.value = JSON.stringify(Pe.data),
|
|
1067
|
+
Ae.value.value = JSON.stringify(Pe.data), le("update:modelValueTranslate", JSON.stringify(Pe.data));
|
|
1068
1068
|
}).catch((Pe) => {
|
|
1069
1069
|
console.log(Pe);
|
|
1070
1070
|
});
|
|
@@ -1184,18 +1184,18 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
|
|
|
1184
1184
|
},
|
|
1185
1185
|
emits: ["update:modelValue", "update:modelValueTranslate", "keydown"],
|
|
1186
1186
|
setup(O, { expose: ie, emit: te }) {
|
|
1187
|
-
const _e = O,
|
|
1188
|
-
Ae.value &&
|
|
1187
|
+
const _e = O, le = te, G = Eo(null), Ae = Eo(null), Q = () => {
|
|
1188
|
+
Ae.value && le("update:modelValueTranslate", Ae.value.value);
|
|
1189
1189
|
};
|
|
1190
1190
|
return _g(() => {
|
|
1191
|
-
G.value !== null && G.value.hasAttribute("autofocus") && G.value.focus(), _e.modelValue && (
|
|
1191
|
+
G.value !== null && G.value.hasAttribute("autofocus") && G.value.focus(), _e.modelValue && (le("update:modelValue", _e.modelValue), G.value.value = _e.modelValue), _e.modelValueTranslate && (le("update:modelValueTranslate", _e.modelValueTranslate), Ae.value.value = _e.modelValueTranslate), _e.translatable && !_e.modelValueTranslate && axios.get("/admin/get_field_translations", {
|
|
1192
1192
|
params: {
|
|
1193
1193
|
model: _e.translatable.model,
|
|
1194
1194
|
row_id: _e.translatable.row_id,
|
|
1195
1195
|
field: _e.translatable.field
|
|
1196
1196
|
}
|
|
1197
1197
|
}).then((Pe) => {
|
|
1198
|
-
Ae.value.value = JSON.stringify(Pe.data),
|
|
1198
|
+
Ae.value.value = JSON.stringify(Pe.data), le("update:modelValueTranslate", JSON.stringify(Pe.data));
|
|
1199
1199
|
}).catch((Pe) => {
|
|
1200
1200
|
console.log(Pe);
|
|
1201
1201
|
});
|
|
@@ -1309,7 +1309,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
|
|
|
1309
1309
|
},
|
|
1310
1310
|
emits: ["update:modelValue", "keydown"],
|
|
1311
1311
|
setup(O, { expose: ie, emit: te }) {
|
|
1312
|
-
const _e = O,
|
|
1312
|
+
const _e = O, le = te, G = Eo(null);
|
|
1313
1313
|
_g(() => {
|
|
1314
1314
|
G.value !== null && G.value.hasAttribute("autofocus") && G.value.focus();
|
|
1315
1315
|
});
|
|
@@ -1318,7 +1318,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
|
|
|
1318
1318
|
return _e.modelValue;
|
|
1319
1319
|
},
|
|
1320
1320
|
set(Q) {
|
|
1321
|
-
|
|
1321
|
+
le("update:modelValue", Q);
|
|
1322
1322
|
}
|
|
1323
1323
|
});
|
|
1324
1324
|
return ie({ focus: () => G.value.focus() }), (Q, Pe) => (pe(), ye(Qn, null, [
|
|
@@ -1415,7 +1415,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
|
|
|
1415
1415
|
},
|
|
1416
1416
|
emits: ["update:modelValue", "keydown"],
|
|
1417
1417
|
setup(O, { expose: ie, emit: te }) {
|
|
1418
|
-
const _e = O,
|
|
1418
|
+
const _e = O, le = te, G = Eo(null);
|
|
1419
1419
|
_g(() => {
|
|
1420
1420
|
G.value !== null && G.value.hasAttribute("autofocus") && G.value.focus();
|
|
1421
1421
|
});
|
|
@@ -1424,7 +1424,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
|
|
|
1424
1424
|
return _e.modelValue;
|
|
1425
1425
|
},
|
|
1426
1426
|
set(Q) {
|
|
1427
|
-
|
|
1427
|
+
le("update:modelValue", Q);
|
|
1428
1428
|
}
|
|
1429
1429
|
});
|
|
1430
1430
|
return ie({ focus: () => G.value.focus() }), (Q, Pe) => (pe(), ye(Qn, null, [
|
|
@@ -1514,7 +1514,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
|
|
|
1514
1514
|
},
|
|
1515
1515
|
emits: ["update:modelValue", "keydown"],
|
|
1516
1516
|
setup(O, { emit: ie }) {
|
|
1517
|
-
const te = O, _e = ie,
|
|
1517
|
+
const te = O, _e = ie, le = Eo(""), G = Eo({
|
|
1518
1518
|
start: te.modelValue.start,
|
|
1519
1519
|
end: te.modelValue.end
|
|
1520
1520
|
});
|
|
@@ -1534,7 +1534,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
|
|
|
1534
1534
|
G.value.end = pt, Pe(G.value.start, G.value.end), _e("update:modelValue", { start: G.value.start, end: G.value.end }), _e("keydown", { start: G.value.start, end: G.value.end });
|
|
1535
1535
|
}
|
|
1536
1536
|
}), Pe = (pt, qe) => {
|
|
1537
|
-
pt && qe && new Date(pt) > new Date(qe) ? (
|
|
1537
|
+
pt && qe && new Date(pt) > new Date(qe) ? (le.value = "Start date cannot be after end date.", G.value.start = "", G.value.end = "", _e("update:modelValue", { start: G.value.start, end: G.value.end }), _e("keydown", { start: G.value.start, end: G.value.end })) : pt && qe && new Date(qe) < new Date(pt) ? (le.value = "End date cannot be before start date.", G.value.start = "", G.value.end = "", _e("update:modelValue", { start: G.value.start, end: G.value.end }), _e("keydown", { start: G.value.start, end: G.value.end })) : le.value = "";
|
|
1538
1538
|
};
|
|
1539
1539
|
return (pt, qe) => (pe(), ye(Qn, null, [
|
|
1540
1540
|
O.show ? (pe(), ye("div", {
|
|
@@ -1551,8 +1551,8 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
|
|
|
1551
1551
|
}, [
|
|
1552
1552
|
P("label", {
|
|
1553
1553
|
class: an({
|
|
1554
|
-
"gl-label-form": O.error_message == "" &&
|
|
1555
|
-
"gl-label-form-invalid": O.error_message !== "" ||
|
|
1554
|
+
"gl-label-form": O.error_message == "" && le.value == "",
|
|
1555
|
+
"gl-label-form-invalid": O.error_message !== "" || le.value !== "",
|
|
1556
1556
|
required: O.is_required
|
|
1557
1557
|
}),
|
|
1558
1558
|
for: O.field_name
|
|
@@ -1563,8 +1563,8 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
|
|
|
1563
1563
|
name: O.field_name + "Start",
|
|
1564
1564
|
id: O.field_name + "Start",
|
|
1565
1565
|
class: an({
|
|
1566
|
-
"gl-input-form": O.error_message == "" &&
|
|
1567
|
-
"gl-input-form-invalid": O.error_message !== "" ||
|
|
1566
|
+
"gl-input-form": O.error_message == "" && le.value == "",
|
|
1567
|
+
"gl-input-form-invalid": O.error_message !== "" || le.value !== ""
|
|
1568
1568
|
}),
|
|
1569
1569
|
type: "date",
|
|
1570
1570
|
"onUpdate:modelValue": qe[0] || (qe[0] = (bn) => Ae.value = bn),
|
|
@@ -1578,8 +1578,8 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
|
|
|
1578
1578
|
name: O.field_name + "End",
|
|
1579
1579
|
id: O.field_name + "End",
|
|
1580
1580
|
class: an({
|
|
1581
|
-
"gl-input-form": O.error_message == "" &&
|
|
1582
|
-
"gl-input-form-invalid": O.error_message !== "" ||
|
|
1581
|
+
"gl-input-form": O.error_message == "" && le.value == "",
|
|
1582
|
+
"gl-input-form-invalid": O.error_message !== "" || le.value !== ""
|
|
1583
1583
|
}),
|
|
1584
1584
|
type: "date",
|
|
1585
1585
|
"onUpdate:modelValue": qe[1] || (qe[1] = (bn) => Q.value = bn),
|
|
@@ -1589,7 +1589,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
|
|
|
1589
1589
|
])
|
|
1590
1590
|
]),
|
|
1591
1591
|
P("div", QY, [
|
|
1592
|
-
P("span", eX, gt(O.error_message ||
|
|
1592
|
+
P("span", eX, gt(O.error_message || le.value), 1)
|
|
1593
1593
|
]),
|
|
1594
1594
|
P("small", tX, gt(O.description), 1)
|
|
1595
1595
|
], 2))
|
|
@@ -1641,7 +1641,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
|
|
|
1641
1641
|
},
|
|
1642
1642
|
emits: ["update:modelValue", "keydown"],
|
|
1643
1643
|
setup(O, { emit: ie }) {
|
|
1644
|
-
const te = ie, _e = Eo(null),
|
|
1644
|
+
const te = ie, _e = Eo(null), le = (G) => {
|
|
1645
1645
|
const Ae = G.target.files[0];
|
|
1646
1646
|
console.log(Ae), te("keydown", G), Ae && te("update:modelValue", Ae);
|
|
1647
1647
|
};
|
|
@@ -1675,7 +1675,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
|
|
|
1675
1675
|
"gl-input-form-invalid": O.error_message !== ""
|
|
1676
1676
|
}),
|
|
1677
1677
|
type: "file",
|
|
1678
|
-
onChange:
|
|
1678
|
+
onChange: le,
|
|
1679
1679
|
ref_key: "input",
|
|
1680
1680
|
ref: _e,
|
|
1681
1681
|
placeholder: O.placeholder
|
|
@@ -1690,12 +1690,12 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
|
|
|
1690
1690
|
props: {},
|
|
1691
1691
|
emits: ["TabChange"],
|
|
1692
1692
|
setup(O, { emit: ie }) {
|
|
1693
|
-
const te = ie, _e = Rq(),
|
|
1694
|
-
QG("selectedTitle", G)
|
|
1693
|
+
const te = ie, _e = Rq(), le = Eo(_e.default().map((Pe) => Pe.props)), G = Eo("");
|
|
1694
|
+
QG("selectedTitle", G);
|
|
1695
1695
|
const Ae = (Pe) => {
|
|
1696
1696
|
window.location.hash = encodeURIComponent(Pe), te("TabChange", Pe);
|
|
1697
1697
|
}, Q = () => {
|
|
1698
|
-
const Pe = decodeURIComponent(window.location.hash.replace("#", "")), pt =
|
|
1698
|
+
const Pe = decodeURIComponent(window.location.hash.replace("#", "")), pt = le.value.find((qe) => qe.title === Pe);
|
|
1699
1699
|
pt && (G.value = pt.title);
|
|
1700
1700
|
};
|
|
1701
1701
|
return Gx(G, (Pe) => {
|
|
@@ -1708,7 +1708,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
|
|
|
1708
1708
|
P("div", iX, [
|
|
1709
1709
|
P("div", uX, [
|
|
1710
1710
|
P("ul", dX, [
|
|
1711
|
-
(pe(!0), ye(Qn, null, sr(
|
|
1711
|
+
(pe(!0), ye(Qn, null, sr(le.value, (qe) => (pe(), ye("li", {
|
|
1712
1712
|
key: qe.title,
|
|
1713
1713
|
onClick: (bn) => G.value = qe.title,
|
|
1714
1714
|
class: "flex-auto -mb-px text-center"
|
|
@@ -1745,7 +1745,7 @@ const Fae = /* @__PURE__ */ qr(qK, [["render", YK]]), XK = { class: "font-bold p
|
|
|
1745
1745
|
key: 0,
|
|
1746
1746
|
class: "block"
|
|
1747
1747
|
};
|
|
1748
|
-
function vX(O, ie, te, _e,
|
|
1748
|
+
function vX(O, ie, te, _e, le, G) {
|
|
1749
1749
|
return te.title == _e.selectedTitle ? (pe(), ye("div", bX, [
|
|
1750
1750
|
yf(O.$slots, "default")
|
|
1751
1751
|
])) : ut("", !0);
|
|
@@ -1803,13 +1803,13 @@ const Gae = /* @__PURE__ */ qr(pX, [["render", vX]]), yX = {
|
|
|
1803
1803
|
generateRandomString(O) {
|
|
1804
1804
|
let ie = "";
|
|
1805
1805
|
const te = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", _e = te.length;
|
|
1806
|
-
for (let
|
|
1806
|
+
for (let le = 0; le < O; le++)
|
|
1807
1807
|
ie += te.charAt(Math.floor(Math.random() * _e));
|
|
1808
1808
|
return ie;
|
|
1809
1809
|
},
|
|
1810
1810
|
movingActions() {
|
|
1811
1811
|
let O = this, ie = document.getElementById("slider_" + this.Random_string);
|
|
1812
|
-
const te = (
|
|
1812
|
+
const te = (le) => {
|
|
1813
1813
|
ie.style.cursor = "grabbing";
|
|
1814
1814
|
const G = (Q) => {
|
|
1815
1815
|
const Pe = Q.clientX || Q.touches && Q.touches[0] && Q.touches[0].clientX, pt = Q.clientY || Q.touches && Q.touches[0] && Q.touches[0].clientY, qe = Pe - O.initialX, bn = pt - O.initialY;
|
|
@@ -1817,9 +1817,9 @@ const Gae = /* @__PURE__ */ qr(pX, [["render", vX]]), yX = {
|
|
|
1817
1817
|
}, Ae = () => {
|
|
1818
1818
|
document.removeEventListener("mousemove", G), document.removeEventListener("touchmove", G), document.removeEventListener("mouseup", Ae), document.removeEventListener("touchend", Ae), ie.style.cursor = "grab";
|
|
1819
1819
|
};
|
|
1820
|
-
document.addEventListener("mousemove", G), document.addEventListener("touchmove", G, { passive: !1 }), document.addEventListener("mouseup", Ae), document.addEventListener("touchend", Ae), O.initialX =
|
|
1821
|
-
}, _e = (
|
|
1822
|
-
|
|
1820
|
+
document.addEventListener("mousemove", G), document.addEventListener("touchmove", G, { passive: !1 }), document.addEventListener("mouseup", Ae), document.addEventListener("touchend", Ae), O.initialX = le.clientX || le.touches && le.touches[0] && le.touches[0].clientX, O.initialY = le.clientY || le.touches && le.touches[0] && le.touches[0].clientY;
|
|
1821
|
+
}, _e = (le) => {
|
|
1822
|
+
le.key === "ArrowLeft" ? O.prev() : le.key === "ArrowRight" && O.next();
|
|
1823
1823
|
};
|
|
1824
1824
|
ie.addEventListener("mousedown", te), ie.addEventListener("touchstart", te), document.addEventListener("keydown", _e);
|
|
1825
1825
|
},
|
|
@@ -1830,17 +1830,17 @@ const Gae = /* @__PURE__ */ qr(pX, [["render", vX]]), yX = {
|
|
|
1830
1830
|
this.currentDot > 1 && (this.currentDot--, this.setDot(this.currentDot));
|
|
1831
1831
|
},
|
|
1832
1832
|
initSlider() {
|
|
1833
|
-
let O = document.getElementById("sliderContainer_" + this.Random_string), ie = document.getElementById("mainSliderContainer_" + this.Random_string), te = document.getElementById("slider_" + this.Random_string), _e = te.querySelectorAll("li"),
|
|
1834
|
-
if (this.elementsToShow > 1 ? document.body.clientWidth < 1e3 ? (this.elementsToShow = 1, Ae = this.hide_arrow ? ie.clientWidth : G) : document.body.clientWidth < 1500 && (this.elementsToShow = 2) : (this.elementsToShow = 1, Ae = this.hide_arrow ? ie.clientWidth : G),
|
|
1835
|
-
this.dotsNum = this.elementsToShow == 1 ?
|
|
1836
|
-
let Q = this.elementsToShow == 1 ? Ae *
|
|
1833
|
+
let O = document.getElementById("sliderContainer_" + this.Random_string), ie = document.getElementById("mainSliderContainer_" + this.Random_string), te = document.getElementById("slider_" + this.Random_string), _e = te.querySelectorAll("li"), le = Array.from(_e).filter((Q) => Q.parentNode === te), G = O.clientWidth, Ae = G / this.elementsToShow;
|
|
1834
|
+
if (this.elementsToShow > 1 ? document.body.clientWidth < 1e3 ? (this.elementsToShow = 1, Ae = this.hide_arrow ? ie.clientWidth : G) : document.body.clientWidth < 1500 && (this.elementsToShow = 2) : (this.elementsToShow = 1, Ae = this.hide_arrow ? ie.clientWidth : G), le.length > 1) {
|
|
1835
|
+
this.dotsNum = this.elementsToShow == 1 ? le.length : le.length - this.elementsToShow + 1;
|
|
1836
|
+
let Q = this.elementsToShow == 1 ? Ae * le.length / this.dotsNum : Ae * (le.length - this.elementsToShow) / (this.dotsNum - 1);
|
|
1837
1837
|
this.dotsNavigation = [];
|
|
1838
1838
|
for (let Pe = 0; Pe < this.dotsNum; Pe++)
|
|
1839
1839
|
this.dotsNavigation.push(Q * Pe);
|
|
1840
1840
|
}
|
|
1841
|
-
te.style.width =
|
|
1842
|
-
for (let Q = 0; Q <
|
|
1843
|
-
const Pe =
|
|
1841
|
+
te.style.width = le.length * Ae + "px", te.style.transition = "margin", te.style.transitionDuration = "1s";
|
|
1842
|
+
for (let Q = 0; Q < le.length; Q++) {
|
|
1843
|
+
const Pe = le[Q];
|
|
1844
1844
|
Pe.style.width = Ae + "px";
|
|
1845
1845
|
}
|
|
1846
1846
|
},
|
|
@@ -2034,7 +2034,7 @@ const Gae = /* @__PURE__ */ qr(pX, [["render", vX]]), yX = {
|
|
|
2034
2034
|
}, null, -1)), CJ = [
|
|
2035
2035
|
xJ
|
|
2036
2036
|
];
|
|
2037
|
-
function SJ(O, ie, te, _e,
|
|
2037
|
+
function SJ(O, ie, te, _e, le, G) {
|
|
2038
2038
|
return pe(), ye("div", null, [
|
|
2039
2039
|
P("div", {
|
|
2040
2040
|
class: an(["", !te.hide_arrow && te.slider_arrows_indicators_position == "arrows_outside_slide" ? "flex" : "relative block"]),
|
|
@@ -2193,7 +2193,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2193
2193
|
},
|
|
2194
2194
|
emits: ["closeModal"],
|
|
2195
2195
|
setup(O, { emit: ie }) {
|
|
2196
|
-
const te = O, _e = ie,
|
|
2196
|
+
const te = O, _e = ie, le = () => {
|
|
2197
2197
|
document.documentElement.style.overflow = "hidden", document.documentElement.style.paddingRight = "0px";
|
|
2198
2198
|
}, G = () => {
|
|
2199
2199
|
document.documentElement.style.overflow = "", document.documentElement.style.paddingRight = "";
|
|
@@ -2203,7 +2203,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2203
2203
|
return Gx(
|
|
2204
2204
|
() => te.is_open,
|
|
2205
2205
|
(Q, Pe) => {
|
|
2206
|
-
Q ?
|
|
2206
|
+
Q ? le() : G();
|
|
2207
2207
|
},
|
|
2208
2208
|
{ immediate: !0, deep: !0 }
|
|
2209
2209
|
), (Q, Pe) => O.is_open ? (pe(), ye("div", {
|
|
@@ -2291,7 +2291,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2291
2291
|
},
|
|
2292
2292
|
emits: ["update:modelValue"],
|
|
2293
2293
|
setup(O, { emit: ie }) {
|
|
2294
|
-
const te = O, _e = ie,
|
|
2294
|
+
const te = O, _e = ie, le = Eo(null), G = vc({
|
|
2295
2295
|
get() {
|
|
2296
2296
|
return te.modelValue;
|
|
2297
2297
|
},
|
|
@@ -2317,7 +2317,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2317
2317
|
"true-value": 1,
|
|
2318
2318
|
"false-value": 0,
|
|
2319
2319
|
ref_key: "input",
|
|
2320
|
-
ref:
|
|
2320
|
+
ref: le,
|
|
2321
2321
|
disabled: ""
|
|
2322
2322
|
}, null, 8, $J),
|
|
2323
2323
|
MJ
|
|
@@ -2344,7 +2344,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2344
2344
|
"true-value": 1,
|
|
2345
2345
|
"false-value": 0,
|
|
2346
2346
|
ref_key: "input",
|
|
2347
|
-
ref:
|
|
2347
|
+
ref: le,
|
|
2348
2348
|
"onUpdate:modelValue": Q[0] || (Q[0] = (Pe) => G.value = Pe)
|
|
2349
2349
|
}, null, 8, FJ), [
|
|
2350
2350
|
[tq, G.value]
|
|
@@ -2402,7 +2402,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2402
2402
|
},
|
|
2403
2403
|
emits: ["update:modelValue"],
|
|
2404
2404
|
setup(O, { emit: ie }) {
|
|
2405
|
-
const te = O, _e = ie,
|
|
2405
|
+
const te = O, _e = ie, le = Eo(null), G = vc({
|
|
2406
2406
|
get() {
|
|
2407
2407
|
return te.modelValue;
|
|
2408
2408
|
},
|
|
@@ -2426,7 +2426,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2426
2426
|
id: O.field_name,
|
|
2427
2427
|
checked: O.modelValue,
|
|
2428
2428
|
ref_key: "input",
|
|
2429
|
-
ref:
|
|
2429
|
+
ref: le,
|
|
2430
2430
|
disabled: ""
|
|
2431
2431
|
}, null, 8, ZJ),
|
|
2432
2432
|
jJ
|
|
@@ -2451,7 +2451,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2451
2451
|
name: O.field_name,
|
|
2452
2452
|
id: O.field_name,
|
|
2453
2453
|
ref_key: "input",
|
|
2454
|
-
ref:
|
|
2454
|
+
ref: le,
|
|
2455
2455
|
"onUpdate:modelValue": Q[0] || (Q[0] = (Pe) => G.value = Pe)
|
|
2456
2456
|
}, null, 8, JJ), [
|
|
2457
2457
|
[tq, G.value]
|
|
@@ -2563,7 +2563,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2563
2563
|
setup(O, { emit: ie }) {
|
|
2564
2564
|
const te = O, _e = ie;
|
|
2565
2565
|
Eo(null);
|
|
2566
|
-
const
|
|
2566
|
+
const le = Eo({}), G = Eo(0), Ae = Eo(!1), Q = Eo(""), Pe = Eo(""), pt = Eo(null), qe = Eo(0), bn = Eo(0), mn = () => {
|
|
2567
2567
|
if (pt.value) {
|
|
2568
2568
|
qe.value = pt.value.offsetWidth;
|
|
2569
2569
|
var Bt = pt.value.getBoundingClientRect();
|
|
@@ -2629,11 +2629,11 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2629
2629
|
return te.options.map((Bt, Dt) => typeof Bt == "object" ? Bt : { id: Bt, name: Bt });
|
|
2630
2630
|
}
|
|
2631
2631
|
function ds() {
|
|
2632
|
-
if (fe(
|
|
2633
|
-
return typeof
|
|
2634
|
-
(Bt) => String(Bt.id) === String(
|
|
2632
|
+
if (fe(le.value))
|
|
2633
|
+
return typeof le.value == "object" ? us.value.find(
|
|
2634
|
+
(Bt) => String(Bt.id) === String(le.value.id)
|
|
2635
2635
|
) || {} : us.value.find(
|
|
2636
|
-
(Bt) => String(Bt.id) === String(
|
|
2636
|
+
(Bt) => String(Bt.id) === String(le.value)
|
|
2637
2637
|
) || {};
|
|
2638
2638
|
if (te.modelValue)
|
|
2639
2639
|
return typeof te.modelValue == "object" ? us.value.find(
|
|
@@ -2643,7 +2643,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2643
2643
|
) || {};
|
|
2644
2644
|
}
|
|
2645
2645
|
function In(Bt) {
|
|
2646
|
-
|
|
2646
|
+
le.value = Bt, Ae.value = !1, _e("update:modelValue", le.value.id), _e("selected", le.value), _e("selectionChanged", le.value);
|
|
2647
2647
|
}
|
|
2648
2648
|
function We() {
|
|
2649
2649
|
if (!te.show) {
|
|
@@ -2661,14 +2661,14 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2661
2661
|
}
|
|
2662
2662
|
}
|
|
2663
2663
|
function ge() {
|
|
2664
|
-
te.show || (
|
|
2664
|
+
te.show || (le.value = {}, Q.value = "", _e("update:modelValue", ""), We());
|
|
2665
2665
|
}
|
|
2666
2666
|
function os() {
|
|
2667
|
-
|
|
2667
|
+
le.value.id || (le.value = {}, Q.value = ""), _e("selected", le.value);
|
|
2668
2668
|
}
|
|
2669
2669
|
return Gx(Q, () => {
|
|
2670
|
-
Rt.value.length === 0 && (
|
|
2671
|
-
}), Gx(
|
|
2670
|
+
Rt.value.length === 0 && (le.value = {});
|
|
2671
|
+
}), Gx(le, (Bt) => {
|
|
2672
2672
|
fe(Bt) && _e("update:modelValue", Bt.id);
|
|
2673
2673
|
}), (Bt, Dt) => {
|
|
2674
2674
|
var A, Xn, at;
|
|
@@ -2836,7 +2836,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2836
2836
|
},
|
|
2837
2837
|
emits: ["update:modelValue", "keydown"],
|
|
2838
2838
|
setup(O, { expose: ie, emit: te }) {
|
|
2839
|
-
const _e = O,
|
|
2839
|
+
const _e = O, le = te, G = Eo(null);
|
|
2840
2840
|
_g(() => {
|
|
2841
2841
|
G.value !== null && G.value.hasAttribute("autofocus") && G.value.focus();
|
|
2842
2842
|
});
|
|
@@ -2845,7 +2845,7 @@ const qae = /* @__PURE__ */ qr(yX, [["render", SJ], ["__scopeId", "data-v-a94f16
|
|
|
2845
2845
|
return _e.modelValue;
|
|
2846
2846
|
},
|
|
2847
2847
|
set(Q) {
|
|
2848
|
-
|
|
2848
|
+
le("update:modelValue", Q);
|
|
2849
2849
|
}
|
|
2850
2850
|
});
|
|
2851
2851
|
return ie({ focus: () => G.value.focus() }), (Q, Pe) => (pe(), ye(Qn, null, [
|
|
@@ -2922,7 +2922,7 @@ var oq = { exports: {} };
|
|
|
2922
2922
|
}, _e = function(e, n) {
|
|
2923
2923
|
var o = Array.prototype.slice.call(e);
|
|
2924
2924
|
return o.sort(n);
|
|
2925
|
-
},
|
|
2925
|
+
}, le = function(e, n) {
|
|
2926
2926
|
return G(function(o, r) {
|
|
2927
2927
|
return e.eq(n(o), n(r));
|
|
2928
2928
|
});
|
|
@@ -2940,7 +2940,7 @@ var oq = { exports: {} };
|
|
|
2940
2940
|
return !0;
|
|
2941
2941
|
});
|
|
2942
2942
|
}, pt = function(e, n) {
|
|
2943
|
-
return
|
|
2943
|
+
return le(Pe(e), function(o) {
|
|
2944
2944
|
return _e(o, n);
|
|
2945
2945
|
});
|
|
2946
2946
|
}, qe = function(e) {
|
|
@@ -3856,11 +3856,11 @@ var oq = { exports: {} };
|
|
|
3856
3856
|
}), $ = S, U = (e) => {
|
|
3857
3857
|
const n = e.getBoundingClientRect();
|
|
3858
3858
|
return $(n.left, n.top);
|
|
3859
|
-
},
|
|
3859
|
+
}, ae = (e, n) => e !== void 0 ? e : n !== void 0 ? n : 0, he = (e) => {
|
|
3860
3860
|
const n = e.dom.ownerDocument, o = n.body, r = n.defaultView, l = n.documentElement;
|
|
3861
3861
|
if (o === e.dom)
|
|
3862
3862
|
return $(o.offsetLeft, o.offsetTop);
|
|
3863
|
-
const u =
|
|
3863
|
+
const u = ae(r == null ? void 0 : r.pageYOffset, l.scrollTop), f = ae(r == null ? void 0 : r.pageXOffset, l.scrollLeft), b = ae(l.clientTop, o.clientTop), y = ae(l.clientLeft, o.clientLeft);
|
|
3864
3864
|
return it(e).translate(f - y, u - b);
|
|
3865
3865
|
}, it = (e) => {
|
|
3866
3866
|
const n = e.dom, r = n.ownerDocument.body;
|
|
@@ -20306,7 +20306,7 @@ tinymce.IconManager.add("default", {
|
|
|
20306
20306
|
}, te = (t) => {
|
|
20307
20307
|
const s = typeof t;
|
|
20308
20308
|
return t === null ? "null" : s === "object" && Array.isArray(t) ? "array" : s === "object" && ie(t, String, (a, c) => c.isPrototypeOf(a)) ? "string" : s;
|
|
20309
|
-
}, _e = (t) => (s) => te(s) === t,
|
|
20309
|
+
}, _e = (t) => (s) => te(s) === t, le = (t) => (s) => typeof s === t, G = (t) => (s) => t === s, Ae = (t, s) => Pe(t) && ie(t, s, (a, c) => O(a) === c), Q = _e("string"), Pe = _e("object"), pt = (t) => Ae(t, Object), qe = _e("array"), bn = G(null), mn = le("boolean"), No = G(void 0), us = (t) => t == null, Oo = (t) => !us(t), Rt = le("function"), pr = le("number"), dn = (t, s) => {
|
|
20310
20310
|
if (qe(t)) {
|
|
20311
20311
|
for (let a = 0, c = t.length; a < c; ++a)
|
|
20312
20312
|
if (!s(t[a]))
|
|
@@ -21301,7 +21301,7 @@ tinymce.IconManager.add("default", {
|
|
|
21301
21301
|
}, S = (t, s) => lr.serror([{
|
|
21302
21302
|
path: t,
|
|
21303
21303
|
getErrorInfo: s
|
|
21304
|
-
}]), $ = (t, s, a) => S(t, () => 'Could not find valid *required* value for "' + s + '" in ' + Hg(a)), U = (t, s) => S(t, () => 'Choice schema did not contain choice key: "' + s + '"'),
|
|
21304
|
+
}]), $ = (t, s, a) => S(t, () => 'Could not find valid *required* value for "' + s + '" in ' + Hg(a)), U = (t, s) => S(t, () => 'Choice schema did not contain choice key: "' + s + '"'), ae = (t, s, a) => S(t, () => 'The chosen schema: "' + a + '" did not exist in branches: ' + Hg(s)), he = (t, s) => S(t, () => "There are unsupported fields: [" + s.join(", ") + "] specified"), it = (t, s) => S(t, se(s)), Kt = (t) => {
|
|
21305
21305
|
const s = (c, d) => lr.bindError(t(d), (g) => it(c, g)), a = se("val");
|
|
21306
21306
|
return {
|
|
21307
21307
|
extract: s,
|
|
@@ -21430,7 +21430,7 @@ tinymce.IconManager.add("default", {
|
|
|
21430
21430
|
default:
|
|
21431
21431
|
return !1;
|
|
21432
21432
|
}
|
|
21433
|
-
}, fb = Kt((t) => Tu(t) ? lr.svalue(t) : lr.serror("Expected value to be acceptable for sending via postMessage")), zg = (t, s, a, c) => yt(a, c).fold(() =>
|
|
21433
|
+
}, fb = Kt((t) => Tu(t) ? lr.svalue(t) : lr.serror("Expected value to be acceptable for sending via postMessage")), zg = (t, s, a, c) => yt(a, c).fold(() => ae(t, a, c), (g) => g.extract(t.concat(["branch: " + c]), s)), dt = (t, s) => ({
|
|
21434
21434
|
extract: (d, g) => yt(g, t).fold(() => U(d, t), (w) => zg(d, g, s, w)),
|
|
21435
21435
|
toString: () => "chooseOn(" + t + "). Possible values: " + vs(s)
|
|
21436
21436
|
}), gb = () => _u(On), Bd = (t) => Kt((s) => t(s).fold(lr.serror, lr.svalue)), nd = (t, s) => su((a) => lr.fromResult(t(a)), s), Ug = (t, s, a) => {
|
|
@@ -41488,7 +41488,7 @@ The conflicting element is` + (io(B.element) ? " " : " not ") + "already in the
|
|
|
41488
41488
|
}, te = (i) => {
|
|
41489
41489
|
const m = typeof i;
|
|
41490
41490
|
return i === null ? "null" : m === "object" && Array.isArray(i) ? "array" : m === "object" && ie(i, String, (h, v) => v.isPrototypeOf(h)) ? "string" : m;
|
|
41491
|
-
}, _e = (i) => (m) => te(m) === i,
|
|
41491
|
+
}, _e = (i) => (m) => te(m) === i, le = (i) => (m) => typeof m === i, G = (i) => (m) => i === m, Ae = _e("string"), Q = _e("object"), Pe = _e("array"), pt = G(null), qe = le("boolean"), bn = G(void 0), mn = (i) => i == null, No = (i) => !mn(i), us = le("function"), Oo = le("number"), Rt = () => {
|
|
41492
41492
|
}, pr = (i, m) => (...h) => i(m.apply(null, h)), dn = (i, m) => (h) => i(m(h)), fe = (i) => () => i, kt = (i) => i, Qr = (i, m) => i === m;
|
|
41493
41493
|
function eo(i, ...m) {
|
|
41494
41494
|
return (...h) => {
|
|
@@ -42438,18 +42438,18 @@ The conflicting element is` + (io(B.element) ? " " : " not ") + "already in the
|
|
|
42438
42438
|
left: i,
|
|
42439
42439
|
top: m,
|
|
42440
42440
|
translate: (v, _) => U(i + v, m + _)
|
|
42441
|
-
}),
|
|
42441
|
+
}), ae = U, he = (i) => {
|
|
42442
42442
|
const m = i.getBoundingClientRect();
|
|
42443
|
-
return
|
|
42443
|
+
return ae(m.left, m.top);
|
|
42444
42444
|
}, it = (i, m) => i !== void 0 ? i : m !== void 0 ? m : 0, Kt = (i) => {
|
|
42445
42445
|
const m = i.dom.ownerDocument, h = m.body, v = m.defaultView, _ = m.documentElement;
|
|
42446
42446
|
if (h === i.dom)
|
|
42447
|
-
return
|
|
42447
|
+
return ae(h.offsetLeft, h.offsetTop);
|
|
42448
42448
|
const D = it(v == null ? void 0 : v.pageYOffset, _.scrollTop), L = it(v == null ? void 0 : v.pageXOffset, _.scrollLeft), Z = it(_.clientTop, h.clientTop), ee = it(_.clientLeft, h.clientLeft);
|
|
42449
42449
|
return On(i).translate(L - ee, D - Z);
|
|
42450
42450
|
}, On = (i) => {
|
|
42451
42451
|
const m = i.dom, v = m.ownerDocument.body;
|
|
42452
|
-
return v === m ?
|
|
42452
|
+
return v === m ? ae(v.offsetLeft, v.offsetTop) : js(i) ? he(m) : ae(0, 0);
|
|
42453
42453
|
}, kn = (i, m) => ({
|
|
42454
42454
|
row: i,
|
|
42455
42455
|
y: m
|
|
@@ -44783,7 +44783,7 @@ Required: ` + m.join(", "));
|
|
|
44783
44783
|
isForward: Xf(37)
|
|
44784
44784
|
}, HE = (i) => {
|
|
44785
44785
|
const m = i !== void 0 ? i.dom : document, h = m.body.scrollLeft || m.documentElement.scrollLeft, v = m.body.scrollTop || m.documentElement.scrollTop;
|
|
44786
|
-
return
|
|
44786
|
+
return ae(h, v);
|
|
44787
44787
|
}, Np = (i, m, h) => {
|
|
44788
44788
|
const _ = (h !== void 0 ? h.dom : document).defaultView;
|
|
44789
44789
|
_ && _.scrollBy(i, m);
|
|
@@ -45362,8 +45362,8 @@ Required: ` + m.join(", "));
|
|
|
45362
45362
|
};
|
|
45363
45363
|
};
|
|
45364
45364
|
var t4 = pS({
|
|
45365
|
-
compare: (i, m) =>
|
|
45366
|
-
extract: (i) => ge.some(
|
|
45365
|
+
compare: (i, m) => ae(m.left - i.left, m.top - i.top),
|
|
45366
|
+
extract: (i) => ge.some(ae(i.x, i.y)),
|
|
45367
45367
|
sink: (i, m) => {
|
|
45368
45368
|
const h = C0(m), v = Fp(h.element(), "mousedown", i.forceDrop), _ = Fp(h.element(), "mouseup", i.drop), D = Fp(h.element(), "mousemove", i.move), L = Fp(h.element(), "mouseout", i.delayDrop), Z = () => {
|
|
45369
45369
|
h.destroy(), _.unbind(), D.unbind(), L.unbind(), v.unbind();
|
|
@@ -45601,7 +45601,7 @@ Required: ` + m.join(", "));
|
|
|
45601
45601
|
return {
|
|
45602
45602
|
parent: fe(h),
|
|
45603
45603
|
view: fe(i),
|
|
45604
|
-
origin: fe(
|
|
45604
|
+
origin: fe(ae(0, 0)),
|
|
45605
45605
|
isResizable: m
|
|
45606
45606
|
};
|
|
45607
45607
|
},
|
|
@@ -45617,7 +45617,7 @@ Required: ` + m.join(", "));
|
|
|
45617
45617
|
body: (i, m, h) => ({
|
|
45618
45618
|
parent: fe(m),
|
|
45619
45619
|
view: fe(i),
|
|
45620
|
-
origin: fe(
|
|
45620
|
+
origin: fe(ae(0, 0)),
|
|
45621
45621
|
isResizable: h
|
|
45622
45622
|
})
|
|
45623
45623
|
}, i4 = () => {
|
|
@@ -45726,17 +45726,17 @@ Required: ` + m.join(", "));
|
|
|
45726
45726
|
(function() {
|
|
45727
45727
|
var O = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
|
45728
45728
|
const ie = (S, $, U) => {
|
|
45729
|
-
var
|
|
45730
|
-
return U(S, $.prototype) ? !0 : ((
|
|
45729
|
+
var ae;
|
|
45730
|
+
return U(S, $.prototype) ? !0 : ((ae = S.constructor) === null || ae === void 0 ? void 0 : ae.name) === $.name;
|
|
45731
45731
|
}, te = (S) => {
|
|
45732
45732
|
const $ = typeof S;
|
|
45733
|
-
return S === null ? "null" : $ === "object" && Array.isArray(S) ? "array" : $ === "object" && ie(S, String, (U,
|
|
45734
|
-
}, _e = (S) => ($) => te($) === S,
|
|
45733
|
+
return S === null ? "null" : $ === "object" && Array.isArray(S) ? "array" : $ === "object" && ie(S, String, (U, ae) => ae.isPrototypeOf(U)) ? "string" : $;
|
|
45734
|
+
}, _e = (S) => ($) => te($) === S, le = (S) => ($) => typeof $ === S, G = _e("string"), Ae = _e("object"), Q = _e("array"), Pe = le("boolean"), pt = (S) => S == null, qe = (S) => !pt(S), bn = le("function"), mn = le("number"), No = () => {
|
|
45735
45735
|
}, us = (S, $) => (U) => S($(U)), Oo = (S) => () => S, Rt = (S, $) => S === $;
|
|
45736
45736
|
function pr(S, ...$) {
|
|
45737
45737
|
return (...U) => {
|
|
45738
|
-
const
|
|
45739
|
-
return S.apply(null,
|
|
45738
|
+
const ae = $.concat(U);
|
|
45739
|
+
return S.apply(null, ae);
|
|
45740
45740
|
};
|
|
45741
45741
|
}
|
|
45742
45742
|
const dn = (S) => ($) => !S($), fe = Oo(!1);
|
|
@@ -45812,29 +45812,29 @@ Required: ` + m.join(", "));
|
|
|
45812
45812
|
}
|
|
45813
45813
|
kt.singletonNone = new kt(!1);
|
|
45814
45814
|
const Qr = Array.prototype.slice, eo = Array.prototype.indexOf, se = Array.prototype.push, Nn = (S, $) => eo.call(S, $), ds = (S, $) => Nn(S, $) > -1, In = (S, $) => {
|
|
45815
|
-
for (let U = 0,
|
|
45815
|
+
for (let U = 0, ae = S.length; U < ae; U++) {
|
|
45816
45816
|
const he = S[U];
|
|
45817
45817
|
if ($(he, U))
|
|
45818
45818
|
return !0;
|
|
45819
45819
|
}
|
|
45820
45820
|
return !1;
|
|
45821
45821
|
}, We = (S, $) => {
|
|
45822
|
-
const U = S.length,
|
|
45822
|
+
const U = S.length, ae = new Array(U);
|
|
45823
45823
|
for (let he = 0; he < U; he++) {
|
|
45824
45824
|
const it = S[he];
|
|
45825
|
-
|
|
45825
|
+
ae[he] = $(it, he);
|
|
45826
45826
|
}
|
|
45827
|
-
return
|
|
45827
|
+
return ae;
|
|
45828
45828
|
}, ge = (S, $) => {
|
|
45829
|
-
for (let U = 0,
|
|
45829
|
+
for (let U = 0, ae = S.length; U < ae; U++) {
|
|
45830
45830
|
const he = S[U];
|
|
45831
45831
|
$(he, U);
|
|
45832
45832
|
}
|
|
45833
45833
|
}, os = (S, $) => {
|
|
45834
45834
|
const U = [];
|
|
45835
|
-
for (let
|
|
45836
|
-
const it = S[
|
|
45837
|
-
$(it,
|
|
45835
|
+
for (let ae = 0, he = S.length; ae < he; ae++) {
|
|
45836
|
+
const it = S[ae];
|
|
45837
|
+
$(it, ae) && U.push(it);
|
|
45838
45838
|
}
|
|
45839
45839
|
return U;
|
|
45840
45840
|
}, Bt = (S, $) => {
|
|
@@ -45842,28 +45842,28 @@ Required: ` + m.join(", "));
|
|
|
45842
45842
|
return [];
|
|
45843
45843
|
{
|
|
45844
45844
|
let U = $(S[0]);
|
|
45845
|
-
const
|
|
45845
|
+
const ae = [];
|
|
45846
45846
|
let he = [];
|
|
45847
45847
|
for (let it = 0, Kt = S.length; it < Kt; it++) {
|
|
45848
45848
|
const On = S[it], kn = $(On);
|
|
45849
|
-
kn !== U && (
|
|
45849
|
+
kn !== U && (ae.push(he), he = []), U = kn, he.push(On);
|
|
45850
45850
|
}
|
|
45851
|
-
return he.length !== 0 &&
|
|
45851
|
+
return he.length !== 0 && ae.push(he), ae;
|
|
45852
45852
|
}
|
|
45853
|
-
}, Dt = (S, $, U) => (ge(S, (
|
|
45854
|
-
U = $(U,
|
|
45853
|
+
}, Dt = (S, $, U) => (ge(S, (ae, he) => {
|
|
45854
|
+
U = $(U, ae, he);
|
|
45855
45855
|
}), U), A = (S, $, U) => {
|
|
45856
|
-
for (let
|
|
45857
|
-
const it = S[
|
|
45858
|
-
if ($(it,
|
|
45856
|
+
for (let ae = 0, he = S.length; ae < he; ae++) {
|
|
45857
|
+
const it = S[ae];
|
|
45858
|
+
if ($(it, ae))
|
|
45859
45859
|
return kt.some(it);
|
|
45860
|
-
if (U(it,
|
|
45860
|
+
if (U(it, ae))
|
|
45861
45861
|
break;
|
|
45862
45862
|
}
|
|
45863
45863
|
return kt.none();
|
|
45864
45864
|
}, Xn = (S, $) => A(S, $, fe), at = (S) => {
|
|
45865
45865
|
const $ = [];
|
|
45866
|
-
for (let U = 0,
|
|
45866
|
+
for (let U = 0, ae = S.length; U < ae; ++U) {
|
|
45867
45867
|
if (!Q(S[U]))
|
|
45868
45868
|
throw new Error("Arr.flatten item " + U + " was not an array, input: " + S);
|
|
45869
45869
|
se.apply($, S[U]);
|
|
@@ -45873,25 +45873,25 @@ Required: ` + m.join(", "));
|
|
|
45873
45873
|
const $ = Qr.call(S, 0);
|
|
45874
45874
|
return $.reverse(), $;
|
|
45875
45875
|
}, Me = (S, $) => $ >= 0 && $ < S.length ? kt.some(S[$]) : kt.none(), nn = (S) => Me(S, 0), zo = (S) => Me(S, S.length - 1), no = (S, $) => {
|
|
45876
|
-
const U = [],
|
|
45876
|
+
const U = [], ae = bn($) ? (he) => In(U, (it) => $(it, he)) : (he) => ds(U, he);
|
|
45877
45877
|
for (let he = 0, it = S.length; he < it; he++) {
|
|
45878
45878
|
const Kt = S[he];
|
|
45879
|
-
|
|
45879
|
+
ae(Kt) || U.push(Kt);
|
|
45880
45880
|
}
|
|
45881
45881
|
return U;
|
|
45882
|
-
}, br = (S, $, U = Rt) => S.exists((
|
|
45883
|
-
const
|
|
45884
|
-
if (
|
|
45882
|
+
}, br = (S, $, U = Rt) => S.exists((ae) => U(ae, $)), tt = (S, $, U = Rt) => vt(S, $, U).getOr(S.isNone() && $.isNone()), vt = (S, $, U) => S.isSome() && $.isSome() ? kt.some(U(S.getOrDie(), $.getOrDie())) : kt.none(), z = 8, el = 9, oo = 11, ss = 1, Uo = 3, Zi = (S, $) => {
|
|
45883
|
+
const ae = ($ || document).createElement("div");
|
|
45884
|
+
if (ae.innerHTML = S, !ae.hasChildNodes() || ae.childNodes.length > 1) {
|
|
45885
45885
|
const he = "HTML does not have a single root node";
|
|
45886
45886
|
throw console.error(he, S), new Error(he);
|
|
45887
45887
|
}
|
|
45888
|
-
return Ye(
|
|
45888
|
+
return Ye(ae.childNodes[0]);
|
|
45889
45889
|
}, Ke = (S, $) => {
|
|
45890
|
-
const
|
|
45891
|
-
return Ye(
|
|
45890
|
+
const ae = ($ || document).createElement(S);
|
|
45891
|
+
return Ye(ae);
|
|
45892
45892
|
}, Ot = (S, $) => {
|
|
45893
|
-
const
|
|
45894
|
-
return Ye(
|
|
45893
|
+
const ae = ($ || document).createTextNode(S);
|
|
45894
|
+
return Ye(ae);
|
|
45895
45895
|
}, Ye = (S) => {
|
|
45896
45896
|
if (S == null)
|
|
45897
45897
|
throw new Error("Node cannot be null or undefined");
|
|
@@ -45907,24 +45907,24 @@ Required: ` + m.join(", "));
|
|
|
45907
45907
|
if (U.nodeType !== ss)
|
|
45908
45908
|
return !1;
|
|
45909
45909
|
{
|
|
45910
|
-
const
|
|
45911
|
-
if (
|
|
45912
|
-
return
|
|
45913
|
-
if (
|
|
45914
|
-
return
|
|
45915
|
-
if (
|
|
45916
|
-
return
|
|
45917
|
-
if (
|
|
45918
|
-
return
|
|
45910
|
+
const ae = U;
|
|
45911
|
+
if (ae.matches !== void 0)
|
|
45912
|
+
return ae.matches($);
|
|
45913
|
+
if (ae.msMatchesSelector !== void 0)
|
|
45914
|
+
return ae.msMatchesSelector($);
|
|
45915
|
+
if (ae.webkitMatchesSelector !== void 0)
|
|
45916
|
+
return ae.webkitMatchesSelector($);
|
|
45917
|
+
if (ae.mozMatchesSelector !== void 0)
|
|
45918
|
+
return ae.mozMatchesSelector($);
|
|
45919
45919
|
throw new Error("Browser lacks native selectors");
|
|
45920
45920
|
}
|
|
45921
45921
|
}, Vt = (S, $) => S.dom === $.dom, Tr = (S, $) => {
|
|
45922
|
-
const U = S.dom,
|
|
45923
|
-
return U ===
|
|
45922
|
+
const U = S.dom, ae = $.dom;
|
|
45923
|
+
return U === ae ? !1 : U.contains(ae);
|
|
45924
45924
|
}, Fo = Go, Va = typeof window < "u" ? window : Function("return this;")(), bs = (S, $) => {
|
|
45925
45925
|
let U = $ ?? Va;
|
|
45926
|
-
for (let
|
|
45927
|
-
U = U[S[
|
|
45926
|
+
for (let ae = 0; ae < S.length && U !== void 0 && U !== null; ++ae)
|
|
45927
|
+
U = U[S[ae]];
|
|
45928
45928
|
return U;
|
|
45929
45929
|
}, vr = (S, $) => {
|
|
45930
45930
|
const U = S.split(".");
|
|
@@ -45950,36 +45950,36 @@ Required: ` + m.join(", "));
|
|
|
45950
45950
|
const U = $.ownerDocument;
|
|
45951
45951
|
return Bl(wn.fromDom($)).fold(() => U.body.contains($), us(mi, Hc));
|
|
45952
45952
|
};
|
|
45953
|
-
var xr = (S, $, U,
|
|
45953
|
+
var xr = (S, $, U, ae, he) => S(U, ae) ? kt.some(U) : bn(he) && he(U) ? kt.none() : $(U, ae, he);
|
|
45954
45954
|
const mr = (S, $, U) => {
|
|
45955
|
-
let
|
|
45955
|
+
let ae = S.dom;
|
|
45956
45956
|
const he = bn(U) ? U : fe;
|
|
45957
|
-
for (;
|
|
45958
|
-
|
|
45959
|
-
const it = wn.fromDom(
|
|
45957
|
+
for (; ae.parentNode; ) {
|
|
45958
|
+
ae = ae.parentNode;
|
|
45959
|
+
const it = wn.fromDom(ae);
|
|
45960
45960
|
if ($(it))
|
|
45961
45961
|
return kt.some(it);
|
|
45962
45962
|
if (he(it))
|
|
45963
45963
|
break;
|
|
45964
45964
|
}
|
|
45965
45965
|
return kt.none();
|
|
45966
|
-
}, Zs = (S, $, U) => xr((he, it) => it(he), mr, S, $, U), vl = (S, $, U) => mr(S, (
|
|
45967
|
-
Er(S).each((
|
|
45968
|
-
|
|
45966
|
+
}, Zs = (S, $, U) => xr((he, it) => it(he), mr, S, $, U), vl = (S, $, U) => mr(S, (ae) => Go(ae, $), U), qi = (S, $, U) => xr((he, it) => Go(he, it), vl, S, $, U), Vr = (S) => qi(S, "[contenteditable]"), ia = (S, $ = !1) => mi(S) ? S.dom.isContentEditable : Vr(S).fold(Oo($), (U) => Fs(U) === "true"), Fs = (S) => S.dom.contentEditable, Dr = (S, $) => {
|
|
45967
|
+
Er(S).each((ae) => {
|
|
45968
|
+
ae.dom.insertBefore($.dom, S.dom);
|
|
45969
45969
|
});
|
|
45970
45970
|
}, sc = (S, $) => {
|
|
45971
45971
|
Nl(S).fold(() => {
|
|
45972
45972
|
Er(S).each((he) => {
|
|
45973
45973
|
rc(he, $);
|
|
45974
45974
|
});
|
|
45975
|
-
}, (
|
|
45976
|
-
Dr(
|
|
45975
|
+
}, (ae) => {
|
|
45976
|
+
Dr(ae, $);
|
|
45977
45977
|
});
|
|
45978
45978
|
}, Vc = (S, $) => {
|
|
45979
45979
|
tl(S).fold(() => {
|
|
45980
45980
|
rc(S, $);
|
|
45981
|
-
}, (
|
|
45982
|
-
S.dom.insertBefore($.dom,
|
|
45981
|
+
}, (ae) => {
|
|
45982
|
+
S.dom.insertBefore($.dom, ae.dom);
|
|
45983
45983
|
});
|
|
45984
45984
|
}, rc = (S, $) => {
|
|
45985
45985
|
S.dom.appendChild($.dom);
|
|
@@ -46002,15 +46002,15 @@ Required: ` + m.join(", "));
|
|
|
46002
46002
|
var Ll = tinymce.util.Tools.resolve("tinymce.dom.RangeUtils"), Wu = tinymce.util.Tools.resolve("tinymce.dom.TreeWalker"), Ki = tinymce.util.Tools.resolve("tinymce.util.VK");
|
|
46003
46003
|
const ts = (S) => We(S, wn.fromDom), xm = Object.keys, Ad = (S, $) => {
|
|
46004
46004
|
const U = xm(S);
|
|
46005
|
-
for (let
|
|
46006
|
-
const it = U[
|
|
46005
|
+
for (let ae = 0, he = U.length; ae < he; ae++) {
|
|
46006
|
+
const it = U[ae], Kt = S[it];
|
|
46007
46007
|
$(Kt, it);
|
|
46008
46008
|
}
|
|
46009
46009
|
}, nl = (S) => ($, U) => {
|
|
46010
46010
|
S[U] = $;
|
|
46011
|
-
}, Yi = (S, $, U,
|
|
46011
|
+
}, Yi = (S, $, U, ae) => {
|
|
46012
46012
|
Ad(S, (he, it) => {
|
|
46013
|
-
($(he, it) ? U :
|
|
46013
|
+
($(he, it) ? U : ae)(he, it);
|
|
46014
46014
|
});
|
|
46015
46015
|
}, ws = (S, $) => {
|
|
46016
46016
|
const U = {};
|
|
@@ -46022,25 +46022,25 @@ Required: ` + m.join(", "));
|
|
|
46022
46022
|
throw console.error("Invalid call to Attribute.set. Key ", $, ":: Value ", U, ":: Element ", S), new Error("Attribute value was not simple");
|
|
46023
46023
|
}, za = (S, $) => {
|
|
46024
46024
|
const U = S.dom;
|
|
46025
|
-
Ad($, (
|
|
46026
|
-
Es(U, he,
|
|
46025
|
+
Ad($, (ae, he) => {
|
|
46026
|
+
Es(U, he, ae);
|
|
46027
46027
|
});
|
|
46028
46028
|
}, Oa = (S) => Dt(S.dom.attributes, ($, U) => ($[U.name] = U.value, $), {}), xc = (S, $) => wn.fromDom(S.dom.cloneNode($)), gi = (S) => xc(S, !0), Cc = (S, $) => {
|
|
46029
|
-
const U = wn.fromTag($),
|
|
46030
|
-
return za(U,
|
|
46029
|
+
const U = wn.fromTag($), ae = Oa(S);
|
|
46030
|
+
return za(U, ae), U;
|
|
46031
46031
|
}, Ro = (S, $) => {
|
|
46032
46032
|
const U = Cc(S, $);
|
|
46033
46033
|
sc(S, U);
|
|
46034
|
-
const
|
|
46035
|
-
return fi(U,
|
|
46034
|
+
const ae = Da(S);
|
|
46035
|
+
return fi(U, ae), Kr(S), U;
|
|
46036
46036
|
};
|
|
46037
46037
|
var ea = tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"), ua = tinymce.util.Tools.resolve("tinymce.util.Tools");
|
|
46038
46038
|
const zc = (S) => ($) => qe($) && $.nodeName.toLowerCase() === S, da = (S) => ($) => qe($) && S.test($.nodeName), Hs = (S) => qe(S) && S.nodeType === 3, ns = (S) => qe(S) && S.nodeType === 1, Ra = da(/^(OL|UL|DL)$/), Xi = da(/^(OL|UL)$/), Ho = zc("ol"), Or = da(/^(LI|DT|DD)$/), ma = da(/^(DT|DD)$/), rr = da(/^(TH|TD)$/), yl = zc("br"), Fl = (S) => {
|
|
46039
46039
|
var $;
|
|
46040
46040
|
return (($ = S.parentNode) === null || $ === void 0 ? void 0 : $.firstChild) === S;
|
|
46041
46041
|
}, ta = (S, $) => qe($) && $.nodeName in S.schema.getTextBlockElements(), Hl = (S, $) => qe(S) && S.nodeName in $, Vl = (S, $) => qe($) && $.nodeName in S.schema.getVoidElements(), Zu = (S, $) => yl($) ? S.isBlock($.nextSibling) && !yl($.previousSibling) : !1, wl = (S, $, U) => {
|
|
46042
|
-
const
|
|
46043
|
-
return U && S.select("span[data-mce-type=bookmark]", $).length > 0 ? !1 :
|
|
46042
|
+
const ae = S.isEmpty($);
|
|
46043
|
+
return U && S.select("span[data-mce-type=bookmark]", $).length > 0 ? !1 : ae;
|
|
46044
46044
|
}, Ji = (S, $) => S.isChildOf($, S.getRoot()), $a = (S) => ($) => $.options.get(S), Sc = (S) => {
|
|
46045
46045
|
const $ = S.options.register;
|
|
46046
46046
|
$("lists_indent_on_tab", {
|
|
@@ -46048,15 +46048,15 @@ Required: ` + m.join(", "));
|
|
|
46048
46048
|
default: !0
|
|
46049
46049
|
});
|
|
46050
46050
|
}, hi = $a("lists_indent_on_tab"), pu = $a("forced_root_block"), ju = $a("forced_root_block_attrs"), j = (S, $) => {
|
|
46051
|
-
const U = S.dom,
|
|
46051
|
+
const U = S.dom, ae = S.schema.getBlockElements(), he = U.createFragment(), it = pu(S), Kt = ju(S);
|
|
46052
46052
|
let On, kn, vn = !1;
|
|
46053
|
-
for (kn = U.create(it, Kt), Hl($.firstChild,
|
|
46053
|
+
for (kn = U.create(it, Kt), Hl($.firstChild, ae) || he.appendChild(kn); On = $.firstChild; ) {
|
|
46054
46054
|
const Ws = On.nodeName;
|
|
46055
|
-
!vn && (Ws !== "SPAN" || On.getAttribute("data-mce-type") !== "bookmark") && (vn = !0), Hl(On,
|
|
46055
|
+
!vn && (Ws !== "SPAN" || On.getAttribute("data-mce-type") !== "bookmark") && (vn = !0), Hl(On, ae) ? (he.appendChild(On), kn = null) : (kn || (kn = U.create(it, Kt), he.appendChild(kn)), kn.appendChild(On));
|
|
46056
46056
|
}
|
|
46057
46057
|
return !vn && kn && kn.appendChild(U.create("br", { "data-mce-bogus": "1" })), he;
|
|
46058
46058
|
}, me = ea.DOM, Te = (S, $, U) => {
|
|
46059
|
-
const
|
|
46059
|
+
const ae = (vn) => {
|
|
46060
46060
|
const Ws = vn.parentNode;
|
|
46061
46061
|
Ws && ua.each(he, (oa) => {
|
|
46062
46062
|
Ws.insertBefore(oa, U.parentNode);
|
|
@@ -46071,13 +46071,13 @@ Required: ` + m.join(", "));
|
|
|
46071
46071
|
}
|
|
46072
46072
|
S.dom.isEmpty(On) || me.insertAfter(On, $), me.insertAfter(it, $);
|
|
46073
46073
|
const kn = U.parentElement;
|
|
46074
|
-
kn && wl(S.dom, kn) &&
|
|
46074
|
+
kn && wl(S.dom, kn) && ae(kn), me.remove(U), wl(S.dom, $) && me.remove($);
|
|
46075
46075
|
}, Ie = Gi("dd"), ft = Gi("dt"), fn = (S, $) => {
|
|
46076
46076
|
Ie($) ? Ro($, "dt") : ft($) && Aa($).each((U) => Te(S, U.dom, $.dom));
|
|
46077
46077
|
}, Wo = (S) => {
|
|
46078
46078
|
ft(S) && Ro(S, "dd");
|
|
46079
46079
|
}, rs = (S, $, U) => {
|
|
46080
|
-
$ === "Indent" ? ge(U, Wo) : ge(U, (
|
|
46080
|
+
$ === "Indent" ? ge(U, Wo) : ge(U, (ae) => fn(S, ae));
|
|
46081
46081
|
}, Zo = (S, $) => {
|
|
46082
46082
|
if (Hs(S))
|
|
46083
46083
|
return {
|
|
@@ -46101,8 +46101,8 @@ Required: ` + m.join(", "));
|
|
|
46101
46101
|
}, xs = (S) => {
|
|
46102
46102
|
const $ = S.cloneRange(), U = Zo(S.startContainer, S.startOffset);
|
|
46103
46103
|
$.setStart(U.container, U.offset);
|
|
46104
|
-
const
|
|
46105
|
-
return $.setEnd(
|
|
46104
|
+
const ae = Zo(S.endContainer, S.endOffset);
|
|
46105
|
+
return $.setEnd(ae.container, ae.offset), $;
|
|
46106
46106
|
}, io = [
|
|
46107
46107
|
"OL",
|
|
46108
46108
|
"UL",
|
|
@@ -46112,11 +46112,11 @@ Required: ` + m.join(", "));
|
|
|
46112
46112
|
return S.dom.getParent(U, Vs, $t(S, U));
|
|
46113
46113
|
}, bu = (S, $) => qe(S) && $.length === 1 && $[0] === S, It = (S) => os(S.querySelectorAll(Vs), Ra), Gu = (S) => {
|
|
46114
46114
|
const $ = Ma(S), U = S.selection.getSelectedBlocks();
|
|
46115
|
-
return bu($, U) ? It($) : os(U, (
|
|
46115
|
+
return bu($, U) ? It($) : os(U, (ae) => Ra(ae) && $ !== ae);
|
|
46116
46116
|
}, js = (S, $) => {
|
|
46117
|
-
const U = ua.map($, (
|
|
46118
|
-
const he = S.dom.getParent(
|
|
46119
|
-
return he ||
|
|
46117
|
+
const U = ua.map($, (ae) => {
|
|
46118
|
+
const he = S.dom.getParent(ae, "li,dd,dt", $t(S, ae));
|
|
46119
|
+
return he || ae;
|
|
46120
46120
|
});
|
|
46121
46121
|
return no(U);
|
|
46122
46122
|
}, I = (S) => {
|
|
@@ -46139,9 +46139,9 @@ Required: ` + m.join(", "));
|
|
|
46139
46139
|
return S.dom.getParents($, "ol,ul", $t(S, $));
|
|
46140
46140
|
}, as = (S) => {
|
|
46141
46141
|
const $ = Ps(S), U = ct(S);
|
|
46142
|
-
return Xn(U, (
|
|
46142
|
+
return Xn(U, (ae) => Yn(wn.fromDom(ae))).fold(() => Ua(S, $), (ae) => [ae]);
|
|
46143
46143
|
}, Ua = (S, $) => {
|
|
46144
|
-
const U = We($, (
|
|
46144
|
+
const U = We($, (ae) => qt(S, ae).getOr(ae));
|
|
46145
46145
|
return no(U);
|
|
46146
46146
|
}, zs = (S) => /\btox\-/.test(S.className), Cr = (S, $) => A(S, Ra, rr).exists((U) => U.nodeName === $ && !zs(U)), Uc = (S, $) => $ !== null && !S.dom.isEditable($), po = (S) => {
|
|
46147
46147
|
const $ = Ma(S);
|
|
@@ -46156,10 +46156,10 @@ Required: ` + m.join(", "));
|
|
|
46156
46156
|
element: U
|
|
46157
46157
|
}), S.on("NodeChange", $), () => S.off("NodeChange", $);
|
|
46158
46158
|
}, pi = (S, $) => {
|
|
46159
|
-
const
|
|
46159
|
+
const ae = document.createDocumentFragment();
|
|
46160
46160
|
return ge(S, (he) => {
|
|
46161
|
-
|
|
46162
|
-
}), wn.fromDom(
|
|
46161
|
+
ae.appendChild(he.dom);
|
|
46162
|
+
}), wn.fromDom(ae);
|
|
46163
46163
|
}, Us = (S, $, U) => S.dispatch("ListMutation", {
|
|
46164
46164
|
action: $,
|
|
46165
46165
|
element: U
|
|
@@ -46168,19 +46168,19 @@ Required: ` + m.join(", "));
|
|
|
46168
46168
|
throw console.error("Invalid call to CSS.set. Property ", $, ":: Value ", U, ":: Element ", S), new Error("CSS value must be a string: " + U);
|
|
46169
46169
|
Wc(S) && S.style.setProperty($, U);
|
|
46170
46170
|
}, xl = (S, $, U) => {
|
|
46171
|
-
const
|
|
46172
|
-
Qi(
|
|
46171
|
+
const ae = S.dom;
|
|
46172
|
+
Qi(ae, $, U);
|
|
46173
46173
|
}, ac = (S) => Fo(S, "OL,UL"), Cm = (S) => Fo(S, "LI"), uo = (S) => tl(S).exists(ac), zr = (S) => bl(S).exists(ac), fa = (S) => "listAttributes" in S, Ph = (S) => "isComment" in S, Gs = (S) => "isFragment" in S, Pa = (S) => S.depth > 0, ga = (S) => S.isSelected, Nh = (S) => {
|
|
46174
46174
|
const $ = Da(S), U = zr(S) ? $.slice(0, -1) : $;
|
|
46175
46175
|
return We(U, gi);
|
|
46176
|
-
}, kg = (S, $, U) => Er(S).filter(wr).map((
|
|
46176
|
+
}, kg = (S, $, U) => Er(S).filter(wr).map((ae) => ({
|
|
46177
46177
|
depth: $,
|
|
46178
46178
|
dirty: !1,
|
|
46179
46179
|
isSelected: U,
|
|
46180
46180
|
content: Nh(S),
|
|
46181
46181
|
itemAttributes: Oa(S),
|
|
46182
|
-
listAttributes: Oa(
|
|
46183
|
-
listType: ms(
|
|
46182
|
+
listAttributes: Oa(ae),
|
|
46183
|
+
listType: ms(ae),
|
|
46184
46184
|
isInPreviousLi: !1
|
|
46185
46185
|
})), lc = (S, $) => {
|
|
46186
46186
|
rc(S.item, $.list);
|
|
@@ -46196,10 +46196,10 @@ Required: ` + m.join(", "));
|
|
|
46196
46196
|
};
|
|
46197
46197
|
return rc(U.list, U.item), U;
|
|
46198
46198
|
}, Za = (S, $, U) => {
|
|
46199
|
-
const
|
|
46199
|
+
const ae = [];
|
|
46200
46200
|
for (let he = 0; he < U; he++)
|
|
46201
|
-
|
|
46202
|
-
return
|
|
46201
|
+
ae.push(_c(S, fa($) ? $.listType : $.parentListType));
|
|
46202
|
+
return ae;
|
|
46203
46203
|
}, bi = (S, $) => {
|
|
46204
46204
|
for (let U = 0; U < S.length - 1; U++)
|
|
46205
46205
|
xl(S[U].item, "list-style-type", "none");
|
|
@@ -46209,13 +46209,13 @@ Required: ` + m.join(", "));
|
|
|
46209
46209
|
}, Ur = (S, $) => {
|
|
46210
46210
|
ms(S.list) !== $.listType && (S.list = Ro(S.list, $.listType)), za(S.list, $.listAttributes);
|
|
46211
46211
|
}, ar = (S, $, U) => {
|
|
46212
|
-
const
|
|
46213
|
-
return za(
|
|
46212
|
+
const ae = wn.fromTag("li", S);
|
|
46213
|
+
return za(ae, $), fi(ae, U), ae;
|
|
46214
46214
|
}, kc = (S, $) => {
|
|
46215
46215
|
rc(S.list, $), S.item = $;
|
|
46216
46216
|
}, qu = (S, $, U) => {
|
|
46217
|
-
const
|
|
46218
|
-
return zo(
|
|
46217
|
+
const ae = $.slice(0, U.depth);
|
|
46218
|
+
return zo(ae).each((he) => {
|
|
46219
46219
|
if (fa(U)) {
|
|
46220
46220
|
const it = ar(S, U.itemAttributes, U.content);
|
|
46221
46221
|
kc(he, it), Ur(he, U);
|
|
@@ -46225,19 +46225,19 @@ Required: ` + m.join(", "));
|
|
|
46225
46225
|
const it = wn.fromHtml(`<!--${U.content}-->`);
|
|
46226
46226
|
rc(he.list, it);
|
|
46227
46227
|
}
|
|
46228
|
-
}),
|
|
46228
|
+
}), ae;
|
|
46229
46229
|
}, Ku = (S, $, U) => {
|
|
46230
|
-
const
|
|
46231
|
-
return wf(
|
|
46230
|
+
const ae = Za(S, U, U.depth - $.length);
|
|
46231
|
+
return wf(ae), bi(ae, U), Cs($, ae), $.concat(ae);
|
|
46232
46232
|
}, xf = (S, $) => {
|
|
46233
46233
|
let U = kt.none();
|
|
46234
|
-
const
|
|
46234
|
+
const ae = Dt($, (he, it, Kt) => Ph(it) ? Kt === 0 ? (U = kt.some(it), he) : qu(S, he, it) : it.depth > he.length ? Ku(S, he, it) : qu(S, he, it), []);
|
|
46235
46235
|
return U.each((he) => {
|
|
46236
46236
|
const it = wn.fromHtml(`<!--${he.content}-->`);
|
|
46237
|
-
nn(
|
|
46237
|
+
nn(ae).each((Kt) => {
|
|
46238
46238
|
Vc(Kt.list, it);
|
|
46239
46239
|
});
|
|
46240
|
-
}), nn(
|
|
46240
|
+
}), nn(ae).map((he) => he.list);
|
|
46241
46241
|
}, Sm = (S, $) => {
|
|
46242
46242
|
switch (S) {
|
|
46243
46243
|
case "Indent":
|
|
@@ -46255,12 +46255,12 @@ Required: ` + m.join(", "));
|
|
|
46255
46255
|
}, _m = (S) => {
|
|
46256
46256
|
S.listAttributes = ws(S.listAttributes, ($, U) => U !== "start");
|
|
46257
46257
|
}, sl = (S, $) => {
|
|
46258
|
-
const U = S[$].depth,
|
|
46259
|
-
return A(rt(S.slice(0, $)),
|
|
46258
|
+
const U = S[$].depth, ae = (it) => it.depth === U && !it.dirty, he = (it) => it.depth < U;
|
|
46259
|
+
return A(rt(S.slice(0, $)), ae, he).orThunk(() => A(S.slice($ + 1), ae, he));
|
|
46260
46260
|
}, Zc = (S) => (ge(S, ($, U) => {
|
|
46261
46261
|
sl(S, U).fold(() => {
|
|
46262
46262
|
$.dirty && fa($) && _m($);
|
|
46263
|
-
}, (
|
|
46263
|
+
}, (ae) => ol($, ae));
|
|
46264
46264
|
}), S), km = (S) => {
|
|
46265
46265
|
let $ = S;
|
|
46266
46266
|
return {
|
|
@@ -46269,27 +46269,27 @@ Required: ` + m.join(", "));
|
|
|
46269
46269
|
$ = he;
|
|
46270
46270
|
}
|
|
46271
46271
|
};
|
|
46272
|
-
}, vu = (S, $, U,
|
|
46272
|
+
}, vu = (S, $, U, ae) => {
|
|
46273
46273
|
var he;
|
|
46274
|
-
if (Jn(
|
|
46274
|
+
if (Jn(ae))
|
|
46275
46275
|
return [{
|
|
46276
46276
|
depth: S + 1,
|
|
46277
|
-
content: (he =
|
|
46277
|
+
content: (he = ae.dom.nodeValue) !== null && he !== void 0 ? he : "",
|
|
46278
46278
|
dirty: !1,
|
|
46279
46279
|
isSelected: !1,
|
|
46280
46280
|
isComment: !0
|
|
46281
46281
|
}];
|
|
46282
46282
|
$.each((On) => {
|
|
46283
|
-
Vt(On.start,
|
|
46283
|
+
Vt(On.start, ae) && U.set(!0);
|
|
46284
46284
|
});
|
|
46285
|
-
const it = kg(
|
|
46285
|
+
const it = kg(ae, S, U.get());
|
|
46286
46286
|
$.each((On) => {
|
|
46287
|
-
Vt(On.end,
|
|
46287
|
+
Vt(On.end, ae) && U.set(!1);
|
|
46288
46288
|
});
|
|
46289
|
-
const Kt = bl(
|
|
46289
|
+
const Kt = bl(ae).filter(ac).map((On) => vi(S, $, U, On)).getOr([]);
|
|
46290
46290
|
return it.toArray().concat(Kt);
|
|
46291
|
-
}, Tm = (S, $, U,
|
|
46292
|
-
const it = Dt(Da(
|
|
46291
|
+
}, Tm = (S, $, U, ae) => tl(ae).filter(ac).fold(() => vu(S, $, U, ae), (he) => {
|
|
46292
|
+
const it = Dt(Da(ae), (Kt, On, kn) => {
|
|
46293
46293
|
if (kn === 0)
|
|
46294
46294
|
return Kt;
|
|
46295
46295
|
if (Cm(On))
|
|
@@ -46307,19 +46307,19 @@ Required: ` + m.join(", "));
|
|
|
46307
46307
|
}
|
|
46308
46308
|
}, []);
|
|
46309
46309
|
return vi(S, $, U, he).concat(it);
|
|
46310
|
-
}), vi = (S, $, U,
|
|
46310
|
+
}), vi = (S, $, U, ae) => to(Da(ae), (he) => {
|
|
46311
46311
|
const it = ac(he) ? vi : Tm, Kt = S + 1;
|
|
46312
46312
|
return it(Kt, $, U, he);
|
|
46313
46313
|
}), Tg = (S, $) => {
|
|
46314
|
-
const U = km(!1),
|
|
46314
|
+
const U = km(!1), ae = 0;
|
|
46315
46315
|
return We(S, (he) => ({
|
|
46316
46316
|
sourceList: he,
|
|
46317
|
-
entries: vi(
|
|
46317
|
+
entries: vi(ae, $, U, he)
|
|
46318
46318
|
}));
|
|
46319
46319
|
}, eu = (S, $) => {
|
|
46320
46320
|
const U = Zc($);
|
|
46321
|
-
return We(U, (
|
|
46322
|
-
const he = Ph(
|
|
46321
|
+
return We(U, (ae) => {
|
|
46322
|
+
const he = Ph(ae) ? pi([wn.fromHtml(`<!--${ae.content}-->`)]) : pi(ae.content);
|
|
46323
46323
|
return wn.fromDom(j(S, he.dom));
|
|
46324
46324
|
});
|
|
46325
46325
|
}, Eg = (S, $) => {
|
|
@@ -46329,13 +46329,13 @@ Required: ` + m.join(", "));
|
|
|
46329
46329
|
ge(os(S, ga), (U) => Sm($, U));
|
|
46330
46330
|
}, Yu = (S) => {
|
|
46331
46331
|
const $ = We(I(S), wn.fromDom);
|
|
46332
|
-
return vt(Xn($, dn(uo)), Xn(rt($), dn(uo)), (U,
|
|
46332
|
+
return vt(Xn($, dn(uo)), Xn(rt($), dn(uo)), (U, ae) => ({
|
|
46333
46333
|
start: U,
|
|
46334
|
-
end:
|
|
46334
|
+
end: ae
|
|
46335
46335
|
}));
|
|
46336
46336
|
}, Bh = (S, $, U) => {
|
|
46337
|
-
const
|
|
46338
|
-
ge(
|
|
46337
|
+
const ae = Tg($, Yu(S));
|
|
46338
|
+
ge(ae, (he) => {
|
|
46339
46339
|
Dg(he.entries, U);
|
|
46340
46340
|
const it = Ag(S, he.entries);
|
|
46341
46341
|
ge(it, (Kt) => {
|
|
@@ -46343,27 +46343,27 @@ Required: ` + m.join(", "));
|
|
|
46343
46343
|
}), Il(he.sourceList, it), Kr(he.sourceList);
|
|
46344
46344
|
});
|
|
46345
46345
|
}, ce = (S, $) => {
|
|
46346
|
-
const U = ts(as(S)),
|
|
46346
|
+
const U = ts(as(S)), ae = ts(Y(S));
|
|
46347
46347
|
let he = !1;
|
|
46348
|
-
if (U.length ||
|
|
46348
|
+
if (U.length || ae.length) {
|
|
46349
46349
|
const it = S.selection.getBookmark();
|
|
46350
|
-
Bh(S, U, $), rs(S, $,
|
|
46350
|
+
Bh(S, U, $), rs(S, $, ae), S.selection.moveToBookmark(it), S.selection.setRng(xs(S.selection.getRng())), S.nodeChanged(), he = !0;
|
|
46351
46351
|
}
|
|
46352
46352
|
return he;
|
|
46353
46353
|
}, yu = (S, $) => !po(S) && ce(S, $), cc = (S) => yu(S, "Indent"), Od = (S) => yu(S, "Outdent"), Og = (S) => yu(S, "Flatten"), w1 = "\uFEFF", wo = (S) => S === w1, Na = (S, $, U) => mr(S, $, U).isSome(), yi = (S, $) => Na(S, pr(Vt, $));
|
|
46354
46354
|
var ic = tinymce.util.Tools.resolve("tinymce.dom.BookmarkManager");
|
|
46355
46355
|
const wu = ea.DOM, Tc = (S) => {
|
|
46356
|
-
const $ = {}, U = (
|
|
46357
|
-
let he = S[
|
|
46356
|
+
const $ = {}, U = (ae) => {
|
|
46357
|
+
let he = S[ae ? "startContainer" : "endContainer"], it = S[ae ? "startOffset" : "endOffset"];
|
|
46358
46358
|
if (ns(he)) {
|
|
46359
46359
|
const Kt = wu.create("span", { "data-mce-type": "bookmark" });
|
|
46360
|
-
he.hasChildNodes() ? (it = Math.min(it, he.childNodes.length - 1),
|
|
46360
|
+
he.hasChildNodes() ? (it = Math.min(it, he.childNodes.length - 1), ae ? he.insertBefore(Kt, he.childNodes[it]) : wu.insertAfter(Kt, he.childNodes[it])) : he.appendChild(Kt), he = Kt, it = 0;
|
|
46361
46361
|
}
|
|
46362
|
-
$[
|
|
46362
|
+
$[ae ? "startContainer" : "endContainer"] = he, $[ae ? "startOffset" : "endOffset"] = it;
|
|
46363
46363
|
};
|
|
46364
46364
|
return U(!0), S.collapsed || U(), $;
|
|
46365
46365
|
}, ha = (S) => {
|
|
46366
|
-
const $ = (
|
|
46366
|
+
const $ = (ae) => {
|
|
46367
46367
|
const he = (On) => {
|
|
46368
46368
|
var kn;
|
|
46369
46369
|
let vn = (kn = On.parentNode) === null || kn === void 0 ? void 0 : kn.firstChild, Ws = 0;
|
|
@@ -46374,13 +46374,13 @@ Required: ` + m.join(", "));
|
|
|
46374
46374
|
}
|
|
46375
46375
|
return -1;
|
|
46376
46376
|
};
|
|
46377
|
-
let it = S[
|
|
46377
|
+
let it = S[ae ? "startContainer" : "endContainer"], Kt = S[ae ? "startOffset" : "endOffset"];
|
|
46378
46378
|
if (it) {
|
|
46379
46379
|
if (ns(it) && it.parentNode) {
|
|
46380
46380
|
const On = it;
|
|
46381
46381
|
Kt = he(it), it = it.parentNode, wu.remove(On), !it.hasChildNodes() && wu.isBlock(it) && it.appendChild(wu.create("br"));
|
|
46382
46382
|
}
|
|
46383
|
-
S[
|
|
46383
|
+
S[ae ? "startContainer" : "endContainer"] = it, S[ae ? "startOffset" : "endOffset"] = Kt;
|
|
46384
46384
|
}
|
|
46385
46385
|
};
|
|
46386
46386
|
$(!0), $();
|
|
@@ -46396,26 +46396,26 @@ Required: ` + m.join(", "));
|
|
|
46396
46396
|
return "ToggleDLList";
|
|
46397
46397
|
}
|
|
46398
46398
|
}, Rg = (S, $, U) => {
|
|
46399
|
-
const
|
|
46400
|
-
S.setStyle($, "list-style-type",
|
|
46399
|
+
const ae = U["list-style-type"] ? U["list-style-type"] : null;
|
|
46400
|
+
S.setStyle($, "list-style-type", ae);
|
|
46401
46401
|
}, Ih = (S, $) => {
|
|
46402
|
-
ua.each($, (U,
|
|
46403
|
-
S.setAttribute(
|
|
46402
|
+
ua.each($, (U, ae) => {
|
|
46403
|
+
S.setAttribute(ae, U);
|
|
46404
46404
|
});
|
|
46405
46405
|
}, uc = (S, $, U) => {
|
|
46406
|
-
Ih($, U["list-attributes"]), ua.each(S.select("li", $), (
|
|
46407
|
-
Ih(
|
|
46406
|
+
Ih($, U["list-attributes"]), ua.each(S.select("li", $), (ae) => {
|
|
46407
|
+
Ih(ae, U["list-item-attributes"]);
|
|
46408
46408
|
});
|
|
46409
46409
|
}, wi = (S, $, U) => {
|
|
46410
46410
|
Rg(S, $, U), uc(S, $, U);
|
|
46411
46411
|
}, $g = (S, $, U) => {
|
|
46412
|
-
ua.each(U, (
|
|
46413
|
-
}, ja = (S, $) => qe($) && !Hl($, S.schema.getBlockElements()), Rr = (S, $, U,
|
|
46412
|
+
ua.each(U, (ae) => S.setStyle($, ae, ""));
|
|
46413
|
+
}, ja = (S, $) => qe($) && !Hl($, S.schema.getBlockElements()), Rr = (S, $, U, ae) => {
|
|
46414
46414
|
let he = $[U ? "startContainer" : "endContainer"];
|
|
46415
46415
|
const it = $[U ? "startOffset" : "endOffset"];
|
|
46416
46416
|
ns(he) && (he = he.childNodes[Math.min(it, he.childNodes.length - 1)] || he), !U && yl(he.nextSibling) && (he = he.nextSibling);
|
|
46417
46417
|
const Kt = (kn) => {
|
|
46418
|
-
for (; !S.dom.isBlock(kn) && kn.parentNode &&
|
|
46418
|
+
for (; !S.dom.isBlock(kn) && kn.parentNode && ae !== kn; )
|
|
46419
46419
|
kn = kn.parentNode;
|
|
46420
46420
|
return kn;
|
|
46421
46421
|
}, On = (kn, vn) => {
|
|
@@ -46439,7 +46439,7 @@ Required: ` + m.join(", "));
|
|
|
46439
46439
|
else
|
|
46440
46440
|
for (he.parentNode !== null && ja(S, he.parentNode) && (he = he.parentNode); he.nextSibling !== null && (ja(S, he.nextSibling) || Hs(he.nextSibling)); )
|
|
46441
46441
|
he = he.nextSibling;
|
|
46442
|
-
for (; he.parentNode !==
|
|
46442
|
+
for (; he.parentNode !== ae; ) {
|
|
46443
46443
|
const kn = he.parentNode;
|
|
46444
46444
|
if (ta(S, he) || /^(TD|TH)$/.test(kn.nodeName))
|
|
46445
46445
|
return he;
|
|
@@ -46447,7 +46447,7 @@ Required: ` + m.join(", "));
|
|
|
46447
46447
|
}
|
|
46448
46448
|
return he;
|
|
46449
46449
|
}, xu = (S, $, U) => {
|
|
46450
|
-
const
|
|
46450
|
+
const ae = [], he = S.dom, it = Rr(S, $, !0, U), Kt = Rr(S, $, !1, U);
|
|
46451
46451
|
let On;
|
|
46452
46452
|
const kn = [];
|
|
46453
46453
|
for (let vn = it; vn && (kn.push(vn), vn !== Kt); vn = vn.nextSibling)
|
|
@@ -46455,7 +46455,7 @@ Required: ` + m.join(", "));
|
|
|
46455
46455
|
return ua.each(kn, (vn) => {
|
|
46456
46456
|
var Ws;
|
|
46457
46457
|
if (ta(S, vn)) {
|
|
46458
|
-
|
|
46458
|
+
ae.push(vn), On = null;
|
|
46459
46459
|
return;
|
|
46460
46460
|
}
|
|
46461
46461
|
if (he.isBlock(vn) || yl(vn)) {
|
|
@@ -46467,23 +46467,23 @@ Required: ` + m.join(", "));
|
|
|
46467
46467
|
On = null;
|
|
46468
46468
|
return;
|
|
46469
46469
|
}
|
|
46470
|
-
On || (On = he.create("p"), (Ws = vn.parentNode) === null || Ws === void 0 || Ws.insertBefore(On, vn),
|
|
46471
|
-
}),
|
|
46470
|
+
On || (On = he.create("p"), (Ws = vn.parentNode) === null || Ws === void 0 || Ws.insertBefore(On, vn), ae.push(On)), On.appendChild(vn);
|
|
46471
|
+
}), ae;
|
|
46472
46472
|
}, Rd = (S, $, U) => {
|
|
46473
|
-
const
|
|
46473
|
+
const ae = S.getStyle($, "list-style-type");
|
|
46474
46474
|
let he = U ? U["list-style-type"] : "";
|
|
46475
|
-
return he = he === null ? "" : he,
|
|
46475
|
+
return he = he === null ? "" : he, ae === he;
|
|
46476
46476
|
}, Ec = (S, $) => {
|
|
46477
|
-
const U = S.selection.getStart(!0),
|
|
46478
|
-
return yi(wn.fromDom(
|
|
46477
|
+
const U = S.selection.getStart(!0), ae = Rr(S, $, !0, S.getBody());
|
|
46478
|
+
return yi(wn.fromDom(ae), wn.fromDom($.commonAncestorContainer)) ? $.commonAncestorContainer : U;
|
|
46479
46479
|
}, Ga = (S, $, U) => {
|
|
46480
|
-
const
|
|
46480
|
+
const ae = S.selection.getRng();
|
|
46481
46481
|
let he = "LI";
|
|
46482
|
-
const it = $t(S, Ec(S,
|
|
46482
|
+
const it = $t(S, Ec(S, ae)), Kt = S.dom;
|
|
46483
46483
|
if (Kt.getContentEditable(S.selection.getNode()) === "false")
|
|
46484
46484
|
return;
|
|
46485
46485
|
$ = $.toUpperCase(), $ === "DL" && (he = "DT");
|
|
46486
|
-
const On = Tc(
|
|
46486
|
+
const On = Tc(ae), kn = os(xu(S, ae, it), S.dom.isEditable);
|
|
46487
46487
|
ua.each(kn, (vn) => {
|
|
46488
46488
|
let Ws;
|
|
46489
46489
|
const oa = vn.previousSibling, Ul = vn.parentNode;
|
|
@@ -46501,94 +46501,94 @@ Required: ` + m.join(", "));
|
|
|
46501
46501
|
]), wi(Kt, Ws, U), $d(S.dom, Ws));
|
|
46502
46502
|
}), S.selection.setRng(ha(On));
|
|
46503
46503
|
}, Mg = (S, $) => Ra(S) && S.nodeName === ($ == null ? void 0 : $.nodeName), Lh = (S, $, U) => {
|
|
46504
|
-
const
|
|
46505
|
-
return
|
|
46504
|
+
const ae = S.getStyle($, "list-style-type", !0), he = S.getStyle(U, "list-style-type", !0);
|
|
46505
|
+
return ae === he;
|
|
46506
46506
|
}, Em = (S, $) => S.className === $.className, Cf = (S, $, U) => Mg($, U) && Lh(S, $, U) && Em($, U), $d = (S, $) => {
|
|
46507
|
-
let U,
|
|
46508
|
-
if (Cf(S, $,
|
|
46509
|
-
const he =
|
|
46507
|
+
let U, ae = $.nextSibling;
|
|
46508
|
+
if (Cf(S, $, ae)) {
|
|
46509
|
+
const he = ae;
|
|
46510
46510
|
for (; U = he.firstChild; )
|
|
46511
46511
|
$.appendChild(U);
|
|
46512
46512
|
S.remove(he);
|
|
46513
46513
|
}
|
|
46514
|
-
if (
|
|
46515
|
-
const he =
|
|
46514
|
+
if (ae = $.previousSibling, Cf(S, $, ae)) {
|
|
46515
|
+
const he = ae;
|
|
46516
46516
|
for (; U = he.lastChild; )
|
|
46517
46517
|
$.insertBefore(U, $.firstChild);
|
|
46518
46518
|
S.remove(he);
|
|
46519
46519
|
}
|
|
46520
|
-
}, xi = (S, $, U,
|
|
46520
|
+
}, xi = (S, $, U, ae) => {
|
|
46521
46521
|
if ($.nodeName !== U) {
|
|
46522
46522
|
const he = S.dom.rename($, U);
|
|
46523
|
-
wi(S.dom, he,
|
|
46523
|
+
wi(S.dom, he, ae), Us(S, jc(U), he);
|
|
46524
46524
|
} else
|
|
46525
|
-
wi(S.dom, $,
|
|
46526
|
-
}, Fh = (S, $, U,
|
|
46525
|
+
wi(S.dom, $, ae), Us(S, jc(U), $);
|
|
46526
|
+
}, Fh = (S, $, U, ae) => {
|
|
46527
46527
|
if ($.classList.forEach((he, it, Kt) => {
|
|
46528
46528
|
he.startsWith("tox-") && (Kt.remove(he), Kt.length === 0 && $.removeAttribute("class"));
|
|
46529
46529
|
}), $.nodeName !== U) {
|
|
46530
46530
|
const he = S.dom.rename($, U);
|
|
46531
|
-
wi(S.dom, he,
|
|
46531
|
+
wi(S.dom, he, ae), Us(S, jc(U), he);
|
|
46532
46532
|
} else
|
|
46533
|
-
wi(S.dom, $,
|
|
46534
|
-
}, db = (S, $, U,
|
|
46533
|
+
wi(S.dom, $, ae), Us(S, jc(U), $);
|
|
46534
|
+
}, db = (S, $, U, ae, he) => {
|
|
46535
46535
|
const it = Ra($);
|
|
46536
|
-
if (it && $.nodeName ===
|
|
46536
|
+
if (it && $.nodeName === ae && !Pg(he) && !zs($))
|
|
46537
46537
|
Og(S);
|
|
46538
46538
|
else {
|
|
46539
|
-
Ga(S,
|
|
46539
|
+
Ga(S, ae, he);
|
|
46540
46540
|
const Kt = Tc(S.selection.getRng()), On = it ? [
|
|
46541
46541
|
$,
|
|
46542
46542
|
...U
|
|
46543
46543
|
] : U, kn = it && zs($) ? Fh : xi;
|
|
46544
46544
|
ua.each(On, (vn) => {
|
|
46545
|
-
kn(S, vn,
|
|
46545
|
+
kn(S, vn, ae, he);
|
|
46546
46546
|
}), S.selection.setRng(ha(Kt));
|
|
46547
46547
|
}
|
|
46548
|
-
}, Pg = (S) => "list-style-type" in S, Ng = (S, $, U,
|
|
46548
|
+
}, Pg = (S) => "list-style-type" in S, Ng = (S, $, U, ae) => {
|
|
46549
46549
|
if ($ !== S.getBody())
|
|
46550
46550
|
if ($)
|
|
46551
|
-
if ($.nodeName === U && !Pg(
|
|
46551
|
+
if ($.nodeName === U && !Pg(ae) && !zs($))
|
|
46552
46552
|
Og(S);
|
|
46553
46553
|
else {
|
|
46554
46554
|
const he = Tc(S.selection.getRng());
|
|
46555
46555
|
zs($) && $.classList.forEach((Kt, On, kn) => {
|
|
46556
46556
|
Kt.startsWith("tox-") && (kn.remove(Kt), kn.length === 0 && $.removeAttribute("class"));
|
|
46557
|
-
}), wi(S.dom, $,
|
|
46557
|
+
}), wi(S.dom, $, ae);
|
|
46558
46558
|
const it = S.dom.rename($, U);
|
|
46559
|
-
$d(S.dom, it), S.selection.setRng(ha(he)), Ga(S, U,
|
|
46559
|
+
$d(S.dom, it), S.selection.setRng(ha(he)), Ga(S, U, ae), Us(S, jc(U), it);
|
|
46560
46560
|
}
|
|
46561
46561
|
else
|
|
46562
|
-
Ga(S, U,
|
|
46562
|
+
Ga(S, U, ae), Us(S, jc(U), $);
|
|
46563
46563
|
}, Xu = (S, $, U) => {
|
|
46564
|
-
const
|
|
46565
|
-
if (Wa(S,
|
|
46564
|
+
const ae = Ma(S);
|
|
46565
|
+
if (Wa(S, ae))
|
|
46566
46566
|
return;
|
|
46567
46567
|
const he = Gu(S), it = Ae(U) ? U : {};
|
|
46568
|
-
he.length > 0 ? db(S,
|
|
46568
|
+
he.length > 0 ? db(S, ae, he, $, it) : Ng(S, ae, $, it);
|
|
46569
46569
|
}, Am = ea.DOM, Md = (S, $) => {
|
|
46570
46570
|
const U = $.parentElement;
|
|
46571
46571
|
if (U && U.nodeName === "LI" && U.firstChild === $) {
|
|
46572
|
-
const
|
|
46573
|
-
|
|
46572
|
+
const ae = U.previousSibling;
|
|
46573
|
+
ae && ae.nodeName === "LI" ? (ae.appendChild($), wl(S, U) && Am.remove(U)) : Am.setStyle(U, "listStyleType", "none");
|
|
46574
46574
|
}
|
|
46575
46575
|
if (Ra(U)) {
|
|
46576
|
-
const
|
|
46577
|
-
|
|
46576
|
+
const ae = U.previousSibling;
|
|
46577
|
+
ae && ae.nodeName === "LI" && ae.appendChild($);
|
|
46578
46578
|
}
|
|
46579
46579
|
}, Bs = (S, $) => {
|
|
46580
46580
|
const U = ua.grep(S.select("ol,ul", $));
|
|
46581
|
-
ua.each(U, (
|
|
46582
|
-
Md(S,
|
|
46581
|
+
ua.each(U, (ae) => {
|
|
46582
|
+
Md(S, ae);
|
|
46583
46583
|
});
|
|
46584
|
-
}, Ks = (S, $, U,
|
|
46584
|
+
}, Ks = (S, $, U, ae) => {
|
|
46585
46585
|
let he = $.startContainer;
|
|
46586
46586
|
const it = $.startOffset;
|
|
46587
46587
|
if (Hs(he) && (U ? it < he.data.length : it > 0))
|
|
46588
46588
|
return he;
|
|
46589
46589
|
const Kt = S.schema.getNonEmptyElements();
|
|
46590
46590
|
ns(he) && (he = Ll.getNode(he, it));
|
|
46591
|
-
const On = new Wu(he,
|
|
46591
|
+
const On = new Wu(he, ae);
|
|
46592
46592
|
U && Zu(S.dom, he) && On.next();
|
|
46593
46593
|
const kn = U ? On.next.bind(On) : On.prev2.bind(On);
|
|
46594
46594
|
for (; he = kn(); )
|
|
@@ -46601,45 +46601,45 @@ Required: ` + m.join(", "));
|
|
|
46601
46601
|
}, Bg = (S) => kt.from(S).map(wn.fromDom).filter(ys).exists(($) => ia($) && !ds(["details"], ms($))), Hh = (S, $) => {
|
|
46602
46602
|
rl(S, $) && Bg($.firstChild) && S.remove($.firstChild, !0);
|
|
46603
46603
|
}, na = (S, $, U) => {
|
|
46604
|
-
let
|
|
46604
|
+
let ae;
|
|
46605
46605
|
const he = rl(S, U) ? U.firstChild : U;
|
|
46606
46606
|
if (Hh(S, $), !wl(S, $, !0))
|
|
46607
|
-
for (;
|
|
46608
|
-
he.appendChild(
|
|
46607
|
+
for (; ae = $.firstChild; )
|
|
46608
|
+
he.appendChild(ae);
|
|
46609
46609
|
}, tu = (S, $, U) => {
|
|
46610
|
-
let
|
|
46610
|
+
let ae;
|
|
46611
46611
|
const he = $.parentNode;
|
|
46612
46612
|
if (!Ji(S, $) || !Ji(S, U))
|
|
46613
46613
|
return;
|
|
46614
|
-
Ra(U.lastChild) && (
|
|
46614
|
+
Ra(U.lastChild) && (ae = U.lastChild), he === U.lastChild && yl(he.previousSibling) && S.remove(he.previousSibling);
|
|
46615
46615
|
const it = U.lastChild;
|
|
46616
|
-
it && yl(it) && $.hasChildNodes() && S.remove(it), wl(S, U, !0) && Ee(wn.fromDom(U)), na(S, $, U),
|
|
46616
|
+
it && yl(it) && $.hasChildNodes() && S.remove(it), wl(S, U, !0) && Ee(wn.fromDom(U)), na(S, $, U), ae && U.appendChild(ae);
|
|
46617
46617
|
const On = Tr(wn.fromDom(U), wn.fromDom($)) ? S.getParents($, Ra, U) : [];
|
|
46618
46618
|
S.remove($), ge(On, (kn) => {
|
|
46619
46619
|
wl(S, kn) && kn !== S.getRoot() && S.remove(kn);
|
|
46620
46620
|
});
|
|
46621
46621
|
}, al = (S, $, U) => {
|
|
46622
46622
|
Ee(wn.fromDom(U)), tu(S.dom, $, U), S.selection.setCursorLocation(U, 0);
|
|
46623
|
-
}, Ci = (S, $, U,
|
|
46623
|
+
}, Ci = (S, $, U, ae) => {
|
|
46624
46624
|
const he = S.dom;
|
|
46625
|
-
if (he.isEmpty(
|
|
46626
|
-
al(S, U,
|
|
46625
|
+
if (he.isEmpty(ae))
|
|
46626
|
+
al(S, U, ae);
|
|
46627
46627
|
else {
|
|
46628
46628
|
const it = Tc($);
|
|
46629
|
-
tu(he, U,
|
|
46629
|
+
tu(he, U, ae), S.selection.setRng(ha(it));
|
|
46630
46630
|
}
|
|
46631
|
-
}, Sf = (S, $, U,
|
|
46631
|
+
}, Sf = (S, $, U, ae) => {
|
|
46632
46632
|
const he = Tc($);
|
|
46633
|
-
tu(S.dom, U,
|
|
46633
|
+
tu(S.dom, U, ae);
|
|
46634
46634
|
const it = ha(he);
|
|
46635
46635
|
S.selection.setRng(it);
|
|
46636
46636
|
}, Hn = (S, $) => {
|
|
46637
|
-
const U = S.dom,
|
|
46637
|
+
const U = S.dom, ae = S.selection, he = ae.getStart(), it = re(S, he), Kt = U.getParent(ae.getStart(), "LI", it);
|
|
46638
46638
|
if (Kt) {
|
|
46639
46639
|
const On = Kt.parentElement;
|
|
46640
46640
|
if (On === S.getBody() && wl(U, On))
|
|
46641
46641
|
return !0;
|
|
46642
|
-
const kn = xs(
|
|
46642
|
+
const kn = xs(ae.getRng()), vn = U.getParent(Ks(S, kn, $, it), "LI", it), Ws = vn && ($ ? U.isChildOf(Kt, vn) : U.isChildOf(vn, Kt));
|
|
46643
46643
|
if (vn && vn !== Kt && !Ws)
|
|
46644
46644
|
return S.undoManager.transact(() => {
|
|
46645
46645
|
$ ? Ci(S, kn, vn, Kt) : Fl(Kt) ? Od(S) : Sf(S, kn, Kt, vn);
|
|
@@ -46660,10 +46660,10 @@ Required: ` + m.join(", "));
|
|
|
46660
46660
|
}
|
|
46661
46661
|
return !1;
|
|
46662
46662
|
}, Cl = (S, $, U) => {
|
|
46663
|
-
const
|
|
46664
|
-
S.remove($),
|
|
46663
|
+
const ae = S.getParent($.parentNode, S.isBlock, U);
|
|
46664
|
+
S.remove($), ae && S.isEmpty(ae) && S.remove(ae);
|
|
46665
46665
|
}, Cu = (S, $) => {
|
|
46666
|
-
const U = S.dom,
|
|
46666
|
+
const U = S.dom, ae = S.selection.getStart(), he = re(S, ae), it = U.getParent(ae, U.isBlock, he);
|
|
46667
46667
|
if (it && U.isEmpty(it)) {
|
|
46668
46668
|
const Kt = xs(S.selection.getRng()), On = U.getParent(Ks(S, Kt, $, he), "LI", he);
|
|
46669
46669
|
if (On) {
|
|
@@ -46701,20 +46701,20 @@ Required: ` + m.join(", "));
|
|
|
46701
46701
|
}), $r = (S, $) => {
|
|
46702
46702
|
const U = Ma(S);
|
|
46703
46703
|
U === null || Wa(S, U) || S.undoManager.transact(() => {
|
|
46704
|
-
Ae($.styles) && S.dom.setStyles(U, $.styles), Ae($.attrs) && Ad($.attrs, (
|
|
46704
|
+
Ae($.styles) && S.dom.setStyles(U, $.styles), Ae($.attrs) && Ad($.attrs, (ae, he) => S.dom.setAttrib(U, he, ae));
|
|
46705
46705
|
});
|
|
46706
46706
|
}, Nd = (S) => {
|
|
46707
|
-
const $ = rt($h(S).split("")), U = We($, (
|
|
46708
|
-
const it =
|
|
46707
|
+
const $ = rt($h(S).split("")), U = We($, (ae, he) => {
|
|
46708
|
+
const it = ae.toUpperCase().charCodeAt(0) - 65 + 1;
|
|
46709
46709
|
return Math.pow(26, he) * it;
|
|
46710
46710
|
});
|
|
46711
|
-
return Dt(U, (
|
|
46711
|
+
return Dt(U, (ae, he) => ae + he, 0);
|
|
46712
46712
|
}, Ju = (S) => {
|
|
46713
46713
|
if (S--, S < 0)
|
|
46714
46714
|
return "";
|
|
46715
46715
|
{
|
|
46716
|
-
const $ = S % 26, U = Math.floor(S / 26),
|
|
46717
|
-
return
|
|
46716
|
+
const $ = S % 26, U = Math.floor(S / 26), ae = Ju(U), he = String.fromCharCode(65 + $);
|
|
46717
|
+
return ae + he;
|
|
46718
46718
|
}
|
|
46719
46719
|
}, lr = (S) => /^[A-Z]+$/.test(S), Wr = (S) => /^[a-z]+$/.test(S), Gc = (S) => /^[0-9]+$/.test(S), Qu = (S) => Gc(S) ? 2 : lr(S) ? 0 : Wr(S) ? 1 : Bo(S) ? 3 : 4, Sr = (S) => {
|
|
46720
46720
|
switch (Qu(S)) {
|
|
@@ -46777,8 +46777,8 @@ Required: ` + m.join(", "));
|
|
|
46777
46777
|
}
|
|
46778
46778
|
],
|
|
46779
46779
|
onSubmit: (U) => {
|
|
46780
|
-
const
|
|
46781
|
-
Sr(
|
|
46780
|
+
const ae = U.getData();
|
|
46781
|
+
Sr(ae.start).each((he) => {
|
|
46782
46782
|
S.execCommand("mceListUpdate", !1, {
|
|
46783
46783
|
attrs: { start: he.start === "1" ? "" : he.start },
|
|
46784
46784
|
styles: { "list-style-type": he.listStyleType.getOr("") }
|
|
@@ -46817,8 +46817,8 @@ Required: ` + m.join(", "));
|
|
|
46817
46817
|
}, U = (he, it) => Su(it) ? [
|
|
46818
46818
|
...he,
|
|
46819
46819
|
it
|
|
46820
|
-
] : !nu(he) && !Su(it) ? ($(he, it), []) : he,
|
|
46821
|
-
nu(
|
|
46820
|
+
] : !nu(he) && !Su(it) ? ($(he, it), []) : he, ae = Dt(S.children(), U, []);
|
|
46821
|
+
nu(ae) || $(ae);
|
|
46822
46822
|
}, ed = (S) => {
|
|
46823
46823
|
S.on("PreInit", () => {
|
|
46824
46824
|
const { parser: $ } = S;
|
|
@@ -46833,10 +46833,10 @@ Required: ` + m.join(", "));
|
|
|
46833
46833
|
}, Fg = (S) => {
|
|
46834
46834
|
hi(S) && Lg(S), fr(S);
|
|
46835
46835
|
}, x1 = (S, $) => (U) => {
|
|
46836
|
-
const
|
|
46836
|
+
const ae = (he) => {
|
|
46837
46837
|
U.setActive(Cr(he.parents, $)), U.setEnabled(!Wa(S, he.element) && S.selection.isEditable());
|
|
46838
46838
|
};
|
|
46839
|
-
return U.setEnabled(S.selection.isEditable()), Ns(S,
|
|
46839
|
+
return U.setEnabled(S.selection.isEditable()), Ns(S, ae);
|
|
46840
46840
|
}, Uh = (S) => {
|
|
46841
46841
|
const $ = (U) => () => S.execCommand(U);
|
|
46842
46842
|
S.hasPlugin("advlist") || (S.ui.registry.addToggleButton("numlist", {
|
|
@@ -46861,8 +46861,8 @@ Required: ` + m.join(", "));
|
|
|
46861
46861
|
};
|
|
46862
46862
|
S.ui.registry.addMenuItem("listprops", $), S.ui.registry.addContextMenu("lists", {
|
|
46863
46863
|
update: (U) => {
|
|
46864
|
-
const
|
|
46865
|
-
return Ho(
|
|
46864
|
+
const ae = Ma(S, U);
|
|
46865
|
+
return Ho(ae) ? ["listprops"] : [];
|
|
46866
46866
|
}
|
|
46867
46867
|
});
|
|
46868
46868
|
};
|
|
@@ -46879,7 +46879,7 @@ Required: ` + m.join(", "));
|
|
|
46879
46879
|
}, te = (j) => {
|
|
46880
46880
|
const me = typeof j;
|
|
46881
46881
|
return j === null ? "null" : me === "object" && Array.isArray(j) ? "array" : me === "object" && ie(j, String, (Te, Ie) => Ie.isPrototypeOf(Te)) ? "string" : me;
|
|
46882
|
-
}, _e = (j) => (me) => te(me) === j,
|
|
46882
|
+
}, _e = (j) => (me) => te(me) === j, le = (j) => (me) => typeof me === j, G = (j) => (me) => j === me, Ae = _e("string"), Q = _e("object"), Pe = _e("array"), pt = G(null), qe = le("boolean"), bn = (j) => j == null, mn = (j) => !bn(j), No = le("function"), us = (j, me) => {
|
|
46883
46883
|
if (Pe(j)) {
|
|
46884
46884
|
for (let Te = 0, Ie = j.length; Te < Ie; ++Te)
|
|
46885
46885
|
if (!me(j[Te]))
|
|
@@ -47636,7 +47636,7 @@ Required: ` + m.join(", "));
|
|
|
47636
47636
|
}, _e = (I) => {
|
|
47637
47637
|
const Y = typeof I;
|
|
47638
47638
|
return I === null ? "null" : Y === "object" && Array.isArray(I) ? "array" : Y === "object" && te(I, String, (re, Fe) => Fe.isPrototypeOf(re)) ? "string" : Y;
|
|
47639
|
-
},
|
|
47639
|
+
}, le = (I) => (Y) => _e(Y) === I, G = (I) => (Y) => typeof Y === I, Ae = (I) => (Y) => I === Y, Q = (I, Y) => pt(I) && te(I, Y, (re, Fe) => ie(re) === Fe), Pe = le("string"), pt = le("object"), qe = (I) => Q(I, Object), bn = le("array"), mn = Ae(null), No = G("boolean"), us = (I) => I == null, Oo = (I) => !us(I), Rt = G("function"), pr = G("number"), dn = (I, Y) => {
|
|
47640
47640
|
if (bn(I)) {
|
|
47641
47641
|
for (let re = 0, Fe = I.length; re < Fe; ++re)
|
|
47642
47642
|
if (!Y(I[re]))
|
|
@@ -48505,7 +48505,7 @@ Required: ` + m.join(", "));
|
|
|
48505
48505
|
}, te = (x) => {
|
|
48506
48506
|
const T = typeof x;
|
|
48507
48507
|
return x === null ? "null" : T === "object" && Array.isArray(x) ? "array" : T === "object" && ie(x, String, (V, K) => K.isPrototypeOf(V)) ? "string" : T;
|
|
48508
|
-
}, _e = (x) => (T) => te(T) === x,
|
|
48508
|
+
}, _e = (x) => (T) => te(T) === x, le = (x) => (T) => typeof T === x, G = (x) => (T) => x === T, Ae = _e("string"), Q = _e("array"), Pe = le("boolean"), pt = G(void 0), qe = (x) => x == null, bn = (x) => !qe(x), mn = le("function"), No = le("number"), us = () => {
|
|
48509
48509
|
}, Oo = (x, T) => (V) => x(T(V)), Rt = (x) => () => x, pr = (x) => x, dn = (x, T) => x === T;
|
|
48510
48510
|
function fe(x, ...T) {
|
|
48511
48511
|
return (...V) => {
|
|
@@ -49571,12 +49571,12 @@ Required: ` + m.join(", "));
|
|
|
49571
49571
|
}
|
|
49572
49572
|
};
|
|
49573
49573
|
} }, S = bl("th"), $ = (x, T) => x && T ? "sectionCells" : x ? "section" : "cells", U = (x) => {
|
|
49574
|
-
const T = x.section === "thead", V = Xi(
|
|
49574
|
+
const T = x.section === "thead", V = Xi(ae(x.cells), "th");
|
|
49575
49575
|
return x.section === "tfoot" ? { type: "footer" } : T || V ? {
|
|
49576
49576
|
type: "header",
|
|
49577
49577
|
subType: $(T, V)
|
|
49578
49578
|
} : { type: "body" };
|
|
49579
|
-
},
|
|
49579
|
+
}, ae = (x) => {
|
|
49580
49580
|
const T = ss(x, (V) => S(V.element));
|
|
49581
49581
|
return T.length === 0 ? se.some("td") : T.length === x.length ? se.some("th") : se.none();
|
|
49582
49582
|
}, he = (x) => {
|
|
@@ -50698,7 +50698,7 @@ Required: ` + T.join(", "));
|
|
|
50698
50698
|
ie(Q, pt.getData().code), pt.close();
|
|
50699
50699
|
}
|
|
50700
50700
|
});
|
|
50701
|
-
},
|
|
50701
|
+
}, le = (Q) => {
|
|
50702
50702
|
Q.addCommand("mceCodeEditor", () => {
|
|
50703
50703
|
_e(Q);
|
|
50704
50704
|
});
|
|
@@ -50715,13 +50715,13 @@ Required: ` + T.join(", "));
|
|
|
50715
50715
|
});
|
|
50716
50716
|
};
|
|
50717
50717
|
var Ae = () => {
|
|
50718
|
-
O.add("code", (Q) => (
|
|
50718
|
+
O.add("code", (Q) => (le(Q), G(Q), {}));
|
|
50719
50719
|
};
|
|
50720
50720
|
Ae();
|
|
50721
50721
|
})();
|
|
50722
50722
|
(function() {
|
|
50723
50723
|
var O = tinymce.util.Tools.resolve("tinymce.PluginManager");
|
|
50724
|
-
const te = ((Ke) => (Ot) => Ke === Ot)(null), _e = (Ke) => Ke,
|
|
50724
|
+
const te = ((Ke) => (Ot) => Ke === Ot)(null), _e = (Ke) => Ke, le = (Ke, Ot) => {
|
|
50725
50725
|
const Ye = Ke.length, ke = new Array(Ye);
|
|
50726
50726
|
for (let wn = 0; wn < Ye; wn++) {
|
|
50727
50727
|
const Go = Ke[wn];
|
|
@@ -50794,7 +50794,7 @@ Required: ` + T.join(", "));
|
|
|
50794
50794
|
};
|
|
50795
50795
|
}, Rt = (Ke) => {
|
|
50796
50796
|
const Ot = Oo(us);
|
|
50797
|
-
return
|
|
50797
|
+
return le(Ke, Ot);
|
|
50798
50798
|
}, pr = (Ke, Ot) => {
|
|
50799
50799
|
const Ye = Ke[Ot], ke = Ke[Ot + 1];
|
|
50800
50800
|
if (Ot < 0 || Ot > Ke.length - 1 && Ot !== 0 || Ye === Q.ALETTER && ke === Q.ALETTER)
|
|
@@ -50843,7 +50843,7 @@ Required: ` + T.join(", "));
|
|
|
50843
50843
|
...ds(),
|
|
50844
50844
|
...Ye
|
|
50845
50845
|
};
|
|
50846
|
-
const ke =
|
|
50846
|
+
const ke = le(Ke, Ot), wn = Rt(ke);
|
|
50847
50847
|
return Nn(Ke, ke, wn, Ye);
|
|
50848
50848
|
}, ge = (Ke, Ot, Ye) => In(Ke, Ot, Ye).words, os = (Ke) => Ke.replace(/\uFEFF/g, "");
|
|
50849
50849
|
var Bt = tinymce.util.Tools.resolve("tinymce.dom.TreeWalker");
|
|
@@ -50983,7 +50983,7 @@ const NQ = { class: "font-bold ptext-lg dark:text-white" }, BQ = ["id"], IQ = /*
|
|
|
50983
50983
|
},
|
|
50984
50984
|
emits: ["update:modelValue", "keydown"],
|
|
50985
50985
|
setup(O, { expose: ie, emit: te }) {
|
|
50986
|
-
const _e = O,
|
|
50986
|
+
const _e = O, le = te, G = Eo(null);
|
|
50987
50987
|
let Ae = null;
|
|
50988
50988
|
_g(async () => {
|
|
50989
50989
|
await Rj(), Ae && (Ae.destroy(), Ae = null), PQ.init({
|
|
@@ -51002,7 +51002,7 @@ const NQ = { class: "font-bold ptext-lg dark:text-white" }, BQ = ["id"], IQ = /*
|
|
|
51002
51002
|
// disable import of css
|
|
51003
51003
|
setup(pt) {
|
|
51004
51004
|
Ae = pt, pt.on("Change", () => {
|
|
51005
|
-
|
|
51005
|
+
le("update:modelValue", pt.getContent());
|
|
51006
51006
|
}), pt.on("init", () => {
|
|
51007
51007
|
pt.setContent(_e.modelValue);
|
|
51008
51008
|
});
|
|
@@ -51018,7 +51018,7 @@ const NQ = { class: "font-bold ptext-lg dark:text-white" }, BQ = ["id"], IQ = /*
|
|
|
51018
51018
|
return _e.modelValue;
|
|
51019
51019
|
},
|
|
51020
51020
|
set(pt) {
|
|
51021
|
-
|
|
51021
|
+
le("update:modelValue", pt);
|
|
51022
51022
|
}
|
|
51023
51023
|
});
|
|
51024
51024
|
return ie({ focus: () => G.value.focus() }), (pt, qe) => (pe(), ye(Qn, null, [
|
|
@@ -51118,8 +51118,8 @@ const NQ = { class: "font-bold ptext-lg dark:text-white" }, BQ = ["id"], IQ = /*
|
|
|
51118
51118
|
return 0;
|
|
51119
51119
|
if (this.limit === 0)
|
|
51120
51120
|
return this.lastPage;
|
|
51121
|
-
for (var O = this.currentPage, ie = this.lastPage, te = this.limit, _e = O - te,
|
|
51122
|
-
(Pe === 1 || Pe === ie || Pe >= _e && Pe <
|
|
51121
|
+
for (var O = this.currentPage, ie = this.lastPage, te = this.limit, _e = O - te, le = O + te + 1, G = [], Ae = [], Q, Pe = 1; Pe <= ie; Pe++)
|
|
51122
|
+
(Pe === 1 || Pe === ie || Pe >= _e && Pe < le) && G.push(Pe);
|
|
51123
51123
|
return G.forEach(function(pt) {
|
|
51124
51124
|
Q && (pt - Q === 2 ? Ae.push(Q + 1) : pt - Q !== 1 && Ae.push("...")), Ae.push(pt), Q = pt;
|
|
51125
51125
|
}), Ae;
|
|
@@ -51244,7 +51244,7 @@ const NQ = { class: "font-bold ptext-lg dark:text-white" }, BQ = ["id"], IQ = /*
|
|
|
51244
51244
|
d: "m1 9 4-4-4-4"
|
|
51245
51245
|
})
|
|
51246
51246
|
], -1);
|
|
51247
|
-
function nee(O, ie, te, _e,
|
|
51247
|
+
function nee(O, ie, te, _e, le, G) {
|
|
51248
51248
|
const Ae = y1("RenderlessPagination");
|
|
51249
51249
|
return pe(), vm(Ae, {
|
|
51250
51250
|
data: te.data,
|
|
@@ -51483,7 +51483,7 @@ const sq = /* @__PURE__ */ qr(UQ, [["render", nee]]), oee = {
|
|
|
51483
51483
|
], -1), _ee = [
|
|
51484
51484
|
See
|
|
51485
51485
|
], kee = ["data-label"], Tee = { class: "overflow-auto max-h-40" }, Eee = { 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" };
|
|
51486
|
-
function Aee(O, ie, te, _e,
|
|
51486
|
+
function Aee(O, ie, te, _e, le, G) {
|
|
51487
51487
|
const Ae = y1("dropdown"), Q = y1("GlDropdown"), Pe = y1("GlTextInput"), pt = y1("TailwindPagination");
|
|
51488
51488
|
return pe(), ye("div", see, [
|
|
51489
51489
|
P("div", ree, [
|
|
@@ -51492,9 +51492,9 @@ function Aee(O, ie, te, _e, ae, G) {
|
|
|
51492
51492
|
P("div", cee, [
|
|
51493
51493
|
ub(Ae, {
|
|
51494
51494
|
has_cancel: !1,
|
|
51495
|
-
options:
|
|
51496
|
-
modelValue:
|
|
51497
|
-
"onUpdate:modelValue": ie[0] || (ie[0] = (qe) =>
|
|
51495
|
+
options: le.pageOptions,
|
|
51496
|
+
modelValue: le.perPage,
|
|
51497
|
+
"onUpdate:modelValue": ie[0] || (ie[0] = (qe) => le.perPage = qe),
|
|
51498
51498
|
is_required: !1,
|
|
51499
51499
|
field_name: "perPage",
|
|
51500
51500
|
label_name: "",
|
|
@@ -51510,12 +51510,12 @@ function Aee(O, ie, te, _e, ae, G) {
|
|
|
51510
51510
|
mee,
|
|
51511
51511
|
Qa(P("input", {
|
|
51512
51512
|
type: "text",
|
|
51513
|
-
"onUpdate:modelValue": ie[1] || (ie[1] = (qe) =>
|
|
51513
|
+
"onUpdate:modelValue": ie[1] || (ie[1] = (qe) => le.search = qe),
|
|
51514
51514
|
onInput: ie[2] || (ie[2] = (qe) => G.handleSearch()),
|
|
51515
51515
|
class: "block w-full p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
|
|
51516
51516
|
placeholder: "Search ..."
|
|
51517
51517
|
}, null, 544), [
|
|
51518
|
-
[ym,
|
|
51518
|
+
[ym, le.search]
|
|
51519
51519
|
])
|
|
51520
51520
|
])
|
|
51521
51521
|
]),
|
|
@@ -51525,8 +51525,8 @@ function Aee(O, ie, te, _e, ae, G) {
|
|
|
51525
51525
|
key: 0,
|
|
51526
51526
|
has_cancel: !0,
|
|
51527
51527
|
options: qe.options,
|
|
51528
|
-
modelValue:
|
|
51529
|
-
"onUpdate:modelValue": (mn) =>
|
|
51528
|
+
modelValue: le.dynamicFilters[qe.field_name],
|
|
51529
|
+
"onUpdate:modelValue": (mn) => le.dynamicFilters[qe.field_name] = mn,
|
|
51530
51530
|
is_required: !1,
|
|
51531
51531
|
field_name: qe.field_name,
|
|
51532
51532
|
label_name: qe.field_label,
|
|
@@ -51538,8 +51538,8 @@ function Aee(O, ie, te, _e, ae, G) {
|
|
|
51538
51538
|
type: "text",
|
|
51539
51539
|
is_required: !1,
|
|
51540
51540
|
show: !1,
|
|
51541
|
-
modelValue:
|
|
51542
|
-
"onUpdate:modelValue": (mn) =>
|
|
51541
|
+
modelValue: le.dynamicFilters[qe.field_name],
|
|
51542
|
+
"onUpdate:modelValue": (mn) => le.dynamicFilters[qe.field_name] = mn,
|
|
51543
51543
|
field_name: qe.field_name,
|
|
51544
51544
|
label_name: qe.field_label
|
|
51545
51545
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : ut("", !0),
|
|
@@ -51548,8 +51548,8 @@ function Aee(O, ie, te, _e, ae, G) {
|
|
|
51548
51548
|
type: "date",
|
|
51549
51549
|
is_required: !1,
|
|
51550
51550
|
show: !1,
|
|
51551
|
-
modelValue:
|
|
51552
|
-
"onUpdate:modelValue": (mn) =>
|
|
51551
|
+
modelValue: le.dynamicFilters[qe.field_name],
|
|
51552
|
+
"onUpdate:modelValue": (mn) => le.dynamicFilters[qe.field_name] = mn,
|
|
51553
51553
|
field_name: qe.field_name,
|
|
51554
51554
|
label_name: qe.field_label
|
|
51555
51555
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : ut("", !0)
|
|
@@ -51560,8 +51560,8 @@ function Aee(O, ie, te, _e, ae, G) {
|
|
|
51560
51560
|
key: 0,
|
|
51561
51561
|
has_cancel: !0,
|
|
51562
51562
|
options: qe.hasOwnFilter.options,
|
|
51563
|
-
modelValue:
|
|
51564
|
-
"onUpdate:modelValue": (mn) =>
|
|
51563
|
+
modelValue: le.dynamicFilters[qe.field_name],
|
|
51564
|
+
"onUpdate:modelValue": (mn) => le.dynamicFilters[qe.field_name] = mn,
|
|
51565
51565
|
is_required: !1,
|
|
51566
51566
|
field_name: qe.field_name,
|
|
51567
51567
|
label_name: qe.field_label,
|
|
@@ -51573,8 +51573,8 @@ function Aee(O, ie, te, _e, ae, G) {
|
|
|
51573
51573
|
type: "text",
|
|
51574
51574
|
is_required: !1,
|
|
51575
51575
|
show: !1,
|
|
51576
|
-
modelValue:
|
|
51577
|
-
"onUpdate:modelValue": (mn) =>
|
|
51576
|
+
modelValue: le.dynamicFilters[qe.field_name],
|
|
51577
|
+
"onUpdate:modelValue": (mn) => le.dynamicFilters[qe.field_name] = mn,
|
|
51578
51578
|
field_name: qe.field_name,
|
|
51579
51579
|
label_name: qe.field_label
|
|
51580
51580
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : ut("", !0),
|
|
@@ -51583,8 +51583,8 @@ function Aee(O, ie, te, _e, ae, G) {
|
|
|
51583
51583
|
type: "date",
|
|
51584
51584
|
is_required: !1,
|
|
51585
51585
|
show: !1,
|
|
51586
|
-
modelValue:
|
|
51587
|
-
"onUpdate:modelValue": (mn) =>
|
|
51586
|
+
modelValue: le.dynamicFilters[qe.field_name],
|
|
51587
|
+
"onUpdate:modelValue": (mn) => le.dynamicFilters[qe.field_name] = mn,
|
|
51588
51588
|
field_name: qe.field_name,
|
|
51589
51589
|
label_name: qe.field_label
|
|
51590
51590
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "field_name", "label_name"])) : ut("", !0)
|
|
@@ -51601,19 +51601,19 @@ function Aee(O, ie, te, _e, ae, G) {
|
|
|
51601
51601
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
51602
51602
|
}, [
|
|
51603
51603
|
ko(gt(qe.field_label) + " ", 1),
|
|
51604
|
-
|
|
51605
|
-
|
|
51604
|
+
le.sortField === qe.field_name ? (pe(), ye("span", vee, [
|
|
51605
|
+
le.sortOrder === "asc" ? (pe(), ye("i", yee)) : (pe(), ye("i", wee))
|
|
51606
51606
|
])) : ut("", !0)
|
|
51607
51607
|
], 8, bee))), 128))
|
|
51608
51608
|
])
|
|
51609
51609
|
]),
|
|
51610
51610
|
P("tbody", null, [
|
|
51611
|
-
|
|
51611
|
+
le.isLoading ? (pe(), ye("tr", xee, [
|
|
51612
51612
|
P("td", {
|
|
51613
51613
|
colspan: te.columns.length
|
|
51614
51614
|
}, _ee, 8, Cee)
|
|
51615
51615
|
])) : ut("", !0),
|
|
51616
|
-
|
|
51616
|
+
le.isLoading ? ut("", !0) : (pe(!0), ye(Qn, { key: 1 }, sr(le.itemLists.data, (qe, bn) => (pe(), ye("tr", {
|
|
51617
51617
|
key: bn,
|
|
51618
51618
|
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"
|
|
51619
51619
|
}, [
|
|
@@ -51647,10 +51647,10 @@ function Aee(O, ie, te, _e, ae, G) {
|
|
|
51647
51647
|
P("div", Eee, [
|
|
51648
51648
|
ub(pt, {
|
|
51649
51649
|
class: "mt-3 mb-0",
|
|
51650
|
-
data:
|
|
51651
|
-
limit:
|
|
51652
|
-
size:
|
|
51653
|
-
align:
|
|
51650
|
+
data: le.itemLists,
|
|
51651
|
+
limit: le.limit,
|
|
51652
|
+
size: le.size,
|
|
51653
|
+
align: le.align,
|
|
51654
51654
|
onPaginationChangePage: G.GetItemLists
|
|
51655
51655
|
}, null, 8, ["data", "limit", "size", "align", "onPaginationChangePage"])
|
|
51656
51656
|
])
|
|
@@ -51870,7 +51870,7 @@ const ele = /* @__PURE__ */ qr(oee, [["render", Aee]]), Dee = {
|
|
|
51870
51870
|
pte,
|
|
51871
51871
|
bte
|
|
51872
51872
|
];
|
|
51873
|
-
function yte(O, ie, te, _e,
|
|
51873
|
+
function yte(O, ie, te, _e, le, G) {
|
|
51874
51874
|
const Ae = y1("dropdown");
|
|
51875
51875
|
return pe(), ye("div", Oee, [
|
|
51876
51876
|
P("div", Ree, [
|
|
@@ -51879,9 +51879,9 @@ function yte(O, ie, te, _e, ae, G) {
|
|
|
51879
51879
|
P("div", Pee, [
|
|
51880
51880
|
ub(Ae, {
|
|
51881
51881
|
has_cancel: !1,
|
|
51882
|
-
options:
|
|
51883
|
-
modelValue:
|
|
51884
|
-
"onUpdate:modelValue": ie[0] || (ie[0] = (Q) =>
|
|
51882
|
+
options: le.showNoOfEntries,
|
|
51883
|
+
modelValue: le.itemsPerPage,
|
|
51884
|
+
"onUpdate:modelValue": ie[0] || (ie[0] = (Q) => le.itemsPerPage = Q),
|
|
51885
51885
|
is_required: !1,
|
|
51886
51886
|
field_name: "NoOfEntries",
|
|
51887
51887
|
label_name: "",
|
|
@@ -51897,11 +51897,11 @@ function yte(O, ie, te, _e, ae, G) {
|
|
|
51897
51897
|
Lee,
|
|
51898
51898
|
Qa(P("input", {
|
|
51899
51899
|
type: "text",
|
|
51900
|
-
"onUpdate:modelValue": ie[1] || (ie[1] = (Q) =>
|
|
51900
|
+
"onUpdate:modelValue": ie[1] || (ie[1] = (Q) => le.search = Q),
|
|
51901
51901
|
class: "block p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 w-80 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
|
|
51902
51902
|
placeholder: "Search ..."
|
|
51903
51903
|
}, null, 512), [
|
|
51904
|
-
[ym,
|
|
51904
|
+
[ym, le.search]
|
|
51905
51905
|
])
|
|
51906
51906
|
])
|
|
51907
51907
|
]),
|
|
@@ -51915,19 +51915,19 @@ function yte(O, ie, te, _e, ae, G) {
|
|
|
51915
51915
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
51916
51916
|
}, [
|
|
51917
51917
|
ko(gt(Q.field_label) + " ", 1),
|
|
51918
|
-
|
|
51919
|
-
|
|
51918
|
+
le.sortKey === Q.field_name ? (pe(), ye("span", Uee, [
|
|
51919
|
+
le.sortOrder === 1 ? (pe(), ye("i", Wee)) : (pe(), ye("i", Zee))
|
|
51920
51920
|
])) : ut("", !0)
|
|
51921
51921
|
], 8, zee))), 128))
|
|
51922
51922
|
])
|
|
51923
51923
|
]),
|
|
51924
51924
|
P("tbody", null, [
|
|
51925
|
-
|
|
51925
|
+
le.isLoading ? (pe(), ye("tr", jee, [
|
|
51926
51926
|
P("td", {
|
|
51927
51927
|
colspan: te.columns.length
|
|
51928
51928
|
}, Kee, 8, Gee)
|
|
51929
51929
|
])) : ut("", !0),
|
|
51930
|
-
|
|
51930
|
+
le.isLoading ? ut("", !0) : (pe(!0), ye(Qn, { key: 1 }, sr(G.paginatedData, (Q, Pe) => (pe(), ye("tr", {
|
|
51931
51931
|
key: Pe,
|
|
51932
51932
|
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"
|
|
51933
51933
|
}, [
|
|
@@ -51963,13 +51963,13 @@ function yte(O, ie, te, _e, ae, G) {
|
|
|
51963
51963
|
P("a", {
|
|
51964
51964
|
href: "#",
|
|
51965
51965
|
onClick: ie[3] || (ie[3] = oc((...Q) => G.previousPage && G.previousPage(...Q), ["prevent"])),
|
|
51966
|
-
disabled:
|
|
51966
|
+
disabled: le.currentPage === 1,
|
|
51967
51967
|
class: "relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
|
|
51968
51968
|
}, "Previous", 8, ete),
|
|
51969
51969
|
P("a", {
|
|
51970
51970
|
href: "#",
|
|
51971
51971
|
onClick: ie[4] || (ie[4] = oc((...Q) => G.nextPage && G.nextPage(...Q), ["prevent"])),
|
|
51972
|
-
disabled:
|
|
51972
|
+
disabled: le.currentPage === G.totalPages,
|
|
51973
51973
|
class: "relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
|
|
51974
51974
|
}, "Next", 8, tte)
|
|
51975
51975
|
]),
|
|
@@ -51992,13 +51992,13 @@ function yte(O, ie, te, _e, ae, G) {
|
|
|
51992
51992
|
P("a", {
|
|
51993
51993
|
href: "#",
|
|
51994
51994
|
onClick: ie[5] || (ie[5] = oc((...Q) => G.previousPage && G.previousPage(...Q), ["prevent"])),
|
|
51995
|
-
disabled:
|
|
51995
|
+
disabled: le.currentPage === 1,
|
|
51996
51996
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 ms-0 border-e-0 rounded-s-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
51997
51997
|
}, mte, 8, ite)
|
|
51998
51998
|
]),
|
|
51999
51999
|
(pe(!0), ye(Qn, null, sr(G.displayedPageNumbers, (Q) => (pe(), ye(Qn, { key: Q }, [
|
|
52000
52000
|
P("li", null, [
|
|
52001
|
-
|
|
52001
|
+
le.currentPage !== Q ? (pe(), ye("a", {
|
|
52002
52002
|
key: 0,
|
|
52003
52003
|
href: "#",
|
|
52004
52004
|
onClick: oc((Pe) => G.goToPage(Q), ["prevent"]),
|
|
@@ -52006,7 +52006,7 @@ function yte(O, ie, te, _e, ae, G) {
|
|
|
52006
52006
|
}, gt(Q), 9, fte)) : ut("", !0)
|
|
52007
52007
|
]),
|
|
52008
52008
|
P("li", null, [
|
|
52009
|
-
|
|
52009
|
+
le.currentPage === Q ? (pe(), ye("a", {
|
|
52010
52010
|
key: 0,
|
|
52011
52011
|
href: "#",
|
|
52012
52012
|
onClick: oc((Pe) => G.goToPage(Q), ["prevent"]),
|
|
@@ -52019,7 +52019,7 @@ function yte(O, ie, te, _e, ae, G) {
|
|
|
52019
52019
|
P("a", {
|
|
52020
52020
|
href: "#",
|
|
52021
52021
|
onClick: ie[6] || (ie[6] = oc((...Q) => G.nextPage && G.nextPage(...Q), ["prevent"])),
|
|
52022
|
-
disabled:
|
|
52022
|
+
disabled: le.currentPage === G.totalPages,
|
|
52023
52023
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 rounded-e-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
52024
52024
|
}, vte, 8, hte)
|
|
52025
52025
|
])
|
|
@@ -52076,8 +52076,8 @@ const tle = /* @__PURE__ */ qr(Dee, [["render", yte]]), wte = {
|
|
|
52076
52076
|
return this.itemLists.data ? this.itemLists.data.reduce((ie, te) => {
|
|
52077
52077
|
const _e = te[O];
|
|
52078
52078
|
ie[_e] || (ie[_e] = []);
|
|
52079
|
-
const
|
|
52080
|
-
return delete
|
|
52079
|
+
const le = { ...te };
|
|
52080
|
+
return delete le[O], ie[_e].push(le), ie;
|
|
52081
52081
|
}, {}) : [];
|
|
52082
52082
|
},
|
|
52083
52083
|
editAction(O) {
|
|
@@ -52191,7 +52191,7 @@ const tle = /* @__PURE__ */ qr(Dee, [["render", yte]]), wte = {
|
|
|
52191
52191
|
], -1), Hte = [
|
|
52192
52192
|
Fte
|
|
52193
52193
|
], Vte = { 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" }, zte = ["colspan"], Ute = ["data-label"], Wte = { class: "overflow-auto max-h-40" }, Zte = { 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" };
|
|
52194
|
-
function jte(O, ie, te, _e,
|
|
52194
|
+
function jte(O, ie, te, _e, le, G) {
|
|
52195
52195
|
const Ae = y1("dropdown"), Q = y1("TailwindPagination");
|
|
52196
52196
|
return pe(), ye("div", xte, [
|
|
52197
52197
|
P("div", Cte, [
|
|
@@ -52200,9 +52200,9 @@ function jte(O, ie, te, _e, ae, G) {
|
|
|
52200
52200
|
P("div", kte, [
|
|
52201
52201
|
ub(Ae, {
|
|
52202
52202
|
has_cancel: !1,
|
|
52203
|
-
options:
|
|
52204
|
-
modelValue:
|
|
52205
|
-
"onUpdate:modelValue": ie[0] || (ie[0] = (Pe) =>
|
|
52203
|
+
options: le.pageOptions,
|
|
52204
|
+
modelValue: le.perPage,
|
|
52205
|
+
"onUpdate:modelValue": ie[0] || (ie[0] = (Pe) => le.perPage = Pe),
|
|
52206
52206
|
is_required: !1,
|
|
52207
52207
|
field_name: "perPage",
|
|
52208
52208
|
label_name: "",
|
|
@@ -52218,12 +52218,12 @@ function jte(O, ie, te, _e, ae, G) {
|
|
|
52218
52218
|
Dte,
|
|
52219
52219
|
Qa(P("input", {
|
|
52220
52220
|
type: "text",
|
|
52221
|
-
"onUpdate:modelValue": ie[1] || (ie[1] = (Pe) =>
|
|
52221
|
+
"onUpdate:modelValue": ie[1] || (ie[1] = (Pe) => le.search = Pe),
|
|
52222
52222
|
onInput: ie[2] || (ie[2] = (Pe) => G.handleSearch()),
|
|
52223
52223
|
class: "block w-full p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
|
|
52224
52224
|
placeholder: "Search ..."
|
|
52225
52225
|
}, null, 544), [
|
|
52226
|
-
[ym,
|
|
52226
|
+
[ym, le.search]
|
|
52227
52227
|
])
|
|
52228
52228
|
])
|
|
52229
52229
|
]),
|
|
@@ -52237,19 +52237,19 @@ function jte(O, ie, te, _e, ae, G) {
|
|
|
52237
52237
|
class: "w-full px-4 py-2 lg:w-2/12"
|
|
52238
52238
|
}, [
|
|
52239
52239
|
ko(gt(Pe.field_label) + " ", 1),
|
|
52240
|
-
|
|
52241
|
-
|
|
52240
|
+
le.sortField === Pe.field_name ? (pe(), ye("span", Pte, [
|
|
52241
|
+
le.sortOrder === "asc" ? (pe(), ye("i", Nte)) : (pe(), ye("i", Bte))
|
|
52242
52242
|
])) : ut("", !0)
|
|
52243
52243
|
], 8, Mte))), 128))
|
|
52244
52244
|
])
|
|
52245
52245
|
]),
|
|
52246
52246
|
P("tbody", null, [
|
|
52247
|
-
|
|
52247
|
+
le.isLoading ? (pe(), ye("tr", Ite, [
|
|
52248
52248
|
P("td", {
|
|
52249
52249
|
colspan: te.columns.length
|
|
52250
52250
|
}, Hte, 8, Lte)
|
|
52251
52251
|
])) : ut("", !0),
|
|
52252
|
-
|
|
52252
|
+
le.isLoading ? ut("", !0) : (pe(!0), ye(Qn, { key: 1 }, sr(G.groupedItems, (Pe, pt) => (pe(), ye(Qn, null, [
|
|
52253
52253
|
P("tr", Vte, [
|
|
52254
52254
|
P("td", {
|
|
52255
52255
|
colspan: te.columns.length,
|
|
@@ -52287,10 +52287,10 @@ function jte(O, ie, te, _e, ae, G) {
|
|
|
52287
52287
|
P("div", Zte, [
|
|
52288
52288
|
ub(Q, {
|
|
52289
52289
|
class: "mt-3 mb-0",
|
|
52290
|
-
data:
|
|
52291
|
-
limit:
|
|
52292
|
-
size:
|
|
52293
|
-
align:
|
|
52290
|
+
data: le.itemLists,
|
|
52291
|
+
limit: le.limit,
|
|
52292
|
+
size: le.size,
|
|
52293
|
+
align: le.align,
|
|
52294
52294
|
onPaginationChangePage: G.GetItemLists
|
|
52295
52295
|
}, null, 8, ["data", "limit", "size", "align", "onPaginationChangePage"])
|
|
52296
52296
|
])
|
|
@@ -52440,7 +52440,7 @@ const nle = /* @__PURE__ */ qr(wte, [["render", jte]]), Gte = {
|
|
|
52440
52440
|
One,
|
|
52441
52441
|
Rne
|
|
52442
52442
|
];
|
|
52443
|
-
function Mne(O, ie, te, _e,
|
|
52443
|
+
function Mne(O, ie, te, _e, le, G) {
|
|
52444
52444
|
const Ae = y1("dropdown");
|
|
52445
52445
|
return pe(), ye("div", qte, [
|
|
52446
52446
|
P("div", Kte, [
|
|
@@ -52449,9 +52449,9 @@ function Mne(O, ie, te, _e, ae, G) {
|
|
|
52449
52449
|
P("div", Jte, [
|
|
52450
52450
|
ub(Ae, {
|
|
52451
52451
|
has_cancel: !1,
|
|
52452
|
-
options:
|
|
52453
|
-
modelValue:
|
|
52454
|
-
"onUpdate:modelValue": ie[0] || (ie[0] = (Q) =>
|
|
52452
|
+
options: le.showNoOfEntries,
|
|
52453
|
+
modelValue: le.itemsPerPage,
|
|
52454
|
+
"onUpdate:modelValue": ie[0] || (ie[0] = (Q) => le.itemsPerPage = Q),
|
|
52455
52455
|
is_required: !1,
|
|
52456
52456
|
field_name: "NoOfEntries",
|
|
52457
52457
|
label_name: "",
|
|
@@ -52467,11 +52467,11 @@ function Mne(O, ie, te, _e, ae, G) {
|
|
|
52467
52467
|
nne,
|
|
52468
52468
|
Qa(P("input", {
|
|
52469
52469
|
type: "text",
|
|
52470
|
-
"onUpdate:modelValue": ie[1] || (ie[1] = (Q) =>
|
|
52470
|
+
"onUpdate:modelValue": ie[1] || (ie[1] = (Q) => le.search = Q),
|
|
52471
52471
|
class: "block p-2 text-sm text-gray-900 border border-gray-300 rounded-lg ps-10 w-80 bg-gray-50 focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",
|
|
52472
52472
|
placeholder: "Search ..."
|
|
52473
52473
|
}, null, 512), [
|
|
52474
|
-
[ym,
|
|
52474
|
+
[ym, le.search]
|
|
52475
52475
|
])
|
|
52476
52476
|
])
|
|
52477
52477
|
]),
|
|
@@ -52485,8 +52485,8 @@ function Mne(O, ie, te, _e, ae, G) {
|
|
|
52485
52485
|
class: "w-full px-4 py-2 lg:w-2/12 capitalize"
|
|
52486
52486
|
}, [
|
|
52487
52487
|
ko(gt(Q) + " ", 1),
|
|
52488
|
-
|
|
52489
|
-
|
|
52488
|
+
le.sortKey === Q ? (pe(), ye("span", lne, [
|
|
52489
|
+
le.sortOrder === 1 ? (pe(), ye("i", cne)) : (pe(), ye("i", ine))
|
|
52490
52490
|
])) : ut("", !0)
|
|
52491
52491
|
], 8, ane))), 128))
|
|
52492
52492
|
])
|
|
@@ -52515,13 +52515,13 @@ function Mne(O, ie, te, _e, ae, G) {
|
|
|
52515
52515
|
P("a", {
|
|
52516
52516
|
href: "#",
|
|
52517
52517
|
onClick: ie[2] || (ie[2] = oc((...Q) => G.previousPage && G.previousPage(...Q), ["prevent"])),
|
|
52518
|
-
disabled:
|
|
52518
|
+
disabled: le.currentPage === 1,
|
|
52519
52519
|
class: "relative inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
|
|
52520
52520
|
}, "Previous", 8, gne),
|
|
52521
52521
|
P("a", {
|
|
52522
52522
|
href: "#",
|
|
52523
52523
|
onClick: ie[3] || (ie[3] = oc((...Q) => G.nextPage && G.nextPage(...Q), ["prevent"])),
|
|
52524
|
-
disabled:
|
|
52524
|
+
disabled: le.currentPage === G.totalPages,
|
|
52525
52525
|
class: "relative inline-flex items-center px-4 py-2 ml-3 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50"
|
|
52526
52526
|
}, "Next", 8, hne)
|
|
52527
52527
|
]),
|
|
@@ -52544,13 +52544,13 @@ function Mne(O, ie, te, _e, ae, G) {
|
|
|
52544
52544
|
P("a", {
|
|
52545
52545
|
href: "#",
|
|
52546
52546
|
onClick: ie[4] || (ie[4] = oc((...Q) => G.previousPage && G.previousPage(...Q), ["prevent"])),
|
|
52547
|
-
disabled:
|
|
52547
|
+
disabled: le.currentPage === 1,
|
|
52548
52548
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 ms-0 border-e-0 rounded-s-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
52549
52549
|
}, Tne, 8, Sne)
|
|
52550
52550
|
]),
|
|
52551
52551
|
(pe(!0), ye(Qn, null, sr(G.displayedPageNumbers, (Q) => (pe(), ye(Qn, { key: Q }, [
|
|
52552
52552
|
P("li", null, [
|
|
52553
|
-
|
|
52553
|
+
le.currentPage !== Q ? (pe(), ye("a", {
|
|
52554
52554
|
key: 0,
|
|
52555
52555
|
href: "#",
|
|
52556
52556
|
onClick: oc((Pe) => G.goToPage(Q), ["prevent"]),
|
|
@@ -52558,7 +52558,7 @@ function Mne(O, ie, te, _e, ae, G) {
|
|
|
52558
52558
|
}, gt(Q), 9, Ene)) : ut("", !0)
|
|
52559
52559
|
]),
|
|
52560
52560
|
P("li", null, [
|
|
52561
|
-
|
|
52561
|
+
le.currentPage === Q ? (pe(), ye("a", {
|
|
52562
52562
|
key: 0,
|
|
52563
52563
|
href: "#",
|
|
52564
52564
|
onClick: oc((Pe) => G.goToPage(Q), ["prevent"]),
|
|
@@ -52571,7 +52571,7 @@ function Mne(O, ie, te, _e, ae, G) {
|
|
|
52571
52571
|
P("a", {
|
|
52572
52572
|
href: "#",
|
|
52573
52573
|
onClick: ie[5] || (ie[5] = oc((...Q) => G.nextPage && G.nextPage(...Q), ["prevent"])),
|
|
52574
|
-
disabled:
|
|
52574
|
+
disabled: le.currentPage === G.totalPages,
|
|
52575
52575
|
class: "flex items-center justify-center h-8 px-3 leading-tight text-gray-500 bg-white border border-gray-300 rounded-e-lg hover:bg-gray-100 hover:text-gray-700 dark:bg-gray-800 dark:border-gray-700 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white"
|
|
52576
52576
|
}, $ne, 8, Dne)
|
|
52577
52577
|
])
|
|
@@ -52586,10 +52586,10 @@ const ole = /* @__PURE__ */ qr(Gte, [["render", Mne]]), Pne = {
|
|
|
52586
52586
|
props: ["field", "row", "tdProps"],
|
|
52587
52587
|
methods: {
|
|
52588
52588
|
convertCronToHuman(O) {
|
|
52589
|
-
const [ie, te, _e,
|
|
52590
|
-
if (ie === "*" && te === "*" && _e === "*" &&
|
|
52589
|
+
const [ie, te, _e, le, G] = O.split(" ");
|
|
52590
|
+
if (ie === "*" && te === "*" && _e === "*" && le === "*" && G === "*")
|
|
52591
52591
|
return "Runs every minute.";
|
|
52592
|
-
if (ie === "0" && te === "0" && _e === "*" &&
|
|
52592
|
+
if (ie === "0" && te === "0" && _e === "*" && le === "*" && G !== "*")
|
|
52593
52593
|
return `Runs at 12:00 AM every ${this.convertDayOfWeek(G)}.`;
|
|
52594
52594
|
const Ae = {
|
|
52595
52595
|
0: "Sunday",
|
|
@@ -52614,22 +52614,22 @@ const ole = /* @__PURE__ */ qr(Gte, [["render", Mne]]), Pne = {
|
|
|
52614
52614
|
11: "November",
|
|
52615
52615
|
12: "December",
|
|
52616
52616
|
"*": "every month"
|
|
52617
|
-
}, Pe = this.convertField(ie, "minute", 59), pt = this.convertField(te, "hour", 23), qe = this.convertField(_e, "day of the month", 31), bn = this.convertField(
|
|
52617
|
+
}, Pe = this.convertField(ie, "minute", 59), pt = this.convertField(te, "hour", 23), qe = this.convertField(_e, "day of the month", 31), bn = this.convertField(le, "month", 12, Q), mn = this.convertField(G, "day", 6, Ae);
|
|
52618
52618
|
return `Runs ${Pe} ${pt} ${qe} ${bn} on ${mn}.`;
|
|
52619
52619
|
},
|
|
52620
52620
|
convertField(O, ie, te, _e = {}) {
|
|
52621
52621
|
if (O === "*") return `every ${ie}`;
|
|
52622
52622
|
if (O.includes("/")) {
|
|
52623
|
-
const [
|
|
52624
|
-
return `every ${G} ${ie}${G > 1 ? "s" : ""} starting at ${
|
|
52623
|
+
const [le, G] = O.split("/");
|
|
52624
|
+
return `every ${G} ${ie}${G > 1 ? "s" : ""} starting at ${le}`;
|
|
52625
52625
|
}
|
|
52626
52626
|
if (O.includes("-")) {
|
|
52627
|
-
const [
|
|
52628
|
-
return `${ie}s from ${
|
|
52627
|
+
const [le, G] = O.split("-");
|
|
52628
|
+
return `${ie}s from ${le} to ${G}`;
|
|
52629
52629
|
}
|
|
52630
52630
|
if (O.includes(",")) {
|
|
52631
|
-
const
|
|
52632
|
-
return `${ie}s on ${
|
|
52631
|
+
const le = O.split(",").map((G) => _e[G] || G);
|
|
52632
|
+
return `${ie}s on ${le.join(", ")}`;
|
|
52633
52633
|
}
|
|
52634
52634
|
return _e[O] || `${ie} ${O}`;
|
|
52635
52635
|
},
|
|
@@ -52653,7 +52653,7 @@ const ole = /* @__PURE__ */ qr(Gte, [["render", Mne]]), Pne = {
|
|
|
52653
52653
|
key: 0,
|
|
52654
52654
|
class: "flex flex-wrap gap-2"
|
|
52655
52655
|
}, Bne = { class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300" };
|
|
52656
|
-
function Ine(O, ie, te, _e,
|
|
52656
|
+
function Ine(O, ie, te, _e, le, G) {
|
|
52657
52657
|
return te.row[te.field] ? (pe(), ye("div", Nne, [
|
|
52658
52658
|
P("span", Bne, gt(G.convertCronToHuman(te.row[te.field])), 1)
|
|
52659
52659
|
])) : ut("", !0);
|
|
@@ -52662,23 +52662,23 @@ const sle = /* @__PURE__ */ qr(Pne, [["render", Ine]]), Lne = {
|
|
|
52662
52662
|
setup() {
|
|
52663
52663
|
const O = Eo([]);
|
|
52664
52664
|
return QG("accordionsWrapper", {
|
|
52665
|
-
registerAccordion: (
|
|
52666
|
-
O.value.push(
|
|
52665
|
+
registerAccordion: (le) => {
|
|
52666
|
+
O.value.push(le);
|
|
52667
52667
|
},
|
|
52668
|
-
unregisterAccordion: (
|
|
52669
|
-
const G = O.value.indexOf(
|
|
52668
|
+
unregisterAccordion: (le) => {
|
|
52669
|
+
const G = O.value.indexOf(le);
|
|
52670
52670
|
G > -1 && O.value.splice(G, 1);
|
|
52671
52671
|
},
|
|
52672
|
-
toggleAccordion: (
|
|
52672
|
+
toggleAccordion: (le) => {
|
|
52673
52673
|
O.value.forEach((G) => {
|
|
52674
|
-
G !==
|
|
52675
|
-
}),
|
|
52674
|
+
G !== le && G.isOpen && G.isOpen.value !== void 0 && (G.isOpen.value = !1);
|
|
52675
|
+
}), le.isOpen && le.isOpen.value !== void 0 && (le.isOpen.value = !le.isOpen.value);
|
|
52676
52676
|
},
|
|
52677
52677
|
accordions: O
|
|
52678
52678
|
}), {};
|
|
52679
52679
|
}
|
|
52680
52680
|
};
|
|
52681
|
-
function Fne(O, ie, te, _e,
|
|
52681
|
+
function Fne(O, ie, te, _e, le, G) {
|
|
52682
52682
|
return pe(), ye("div", null, [
|
|
52683
52683
|
yf(O.$slots, "default")
|
|
52684
52684
|
]);
|
|
@@ -52699,13 +52699,13 @@ const rle = /* @__PURE__ */ qr(Lne, [["render", Fne]]), Hne = {
|
|
|
52699
52699
|
return pt = Math.floor(pt / 16), (bn === "x" ? mn : mn & 3 | 8).toString(16);
|
|
52700
52700
|
});
|
|
52701
52701
|
return qe;
|
|
52702
|
-
})(),
|
|
52702
|
+
})(), le = { isOpen: O, id: _e }, G = vc(() => ie.accordions.value), Ae = vc(() => G.value.length > 0 && G.value[0].id === _e), Q = vc(() => G.value.length > 0 && G.value[G.value.length - 1].id === _e);
|
|
52703
52703
|
return _g(() => {
|
|
52704
|
-
ie.registerAccordion(
|
|
52704
|
+
ie.registerAccordion(le);
|
|
52705
52705
|
}), Pq(() => {
|
|
52706
|
-
ie.unregisterAccordion(
|
|
52706
|
+
ie.unregisterAccordion(le);
|
|
52707
52707
|
}), { isOpen: O, isFirstAccordion: Ae, isLastAccordion: Q, toggle: () => {
|
|
52708
|
-
ie.toggleAccordion(
|
|
52708
|
+
ie.toggleAccordion(le);
|
|
52709
52709
|
} };
|
|
52710
52710
|
}
|
|
52711
52711
|
}, Vne = { class: "flex items-center" }, zne = {
|
|
@@ -52739,7 +52739,7 @@ const rle = /* @__PURE__ */ qr(Lne, [["render", Fne]]), Hne = {
|
|
|
52739
52739
|
}, null, -1), Gne = [
|
|
52740
52740
|
jne
|
|
52741
52741
|
];
|
|
52742
|
-
function qne(O, ie, te, _e,
|
|
52742
|
+
function qne(O, ie, te, _e, le, G) {
|
|
52743
52743
|
return pe(), ye("div", null, [
|
|
52744
52744
|
P("h2", null, [
|
|
52745
52745
|
P("button", {
|
|
@@ -52848,7 +52848,7 @@ const ale = /* @__PURE__ */ qr(Hne, [["render", qne]]), Kne = {
|
|
|
52848
52848
|
setTimeout(() => _e("remove"), te.duration);
|
|
52849
52849
|
});
|
|
52850
52850
|
const _e = ie;
|
|
52851
|
-
return (
|
|
52851
|
+
return (le, G) => (pe(), ye("div", Kne, [
|
|
52852
52852
|
te.type === "success" ? (pe(), ye("div", Yne, Qne)) : ut("", !0),
|
|
52853
52853
|
te.type === "error" ? (pe(), ye("div", eoe, ooe)) : ut("", !0),
|
|
52854
52854
|
te.type === "warning" ? (pe(), ye("div", soe, loe)) : ut("", !0),
|
|
@@ -52877,11 +52877,11 @@ const ale = /* @__PURE__ */ qr(Hne, [["render", qne]]), Kne = {
|
|
|
52877
52877
|
class: "fixed z-[1060] w-full max-w-xs space-y-4 top-4 right-4"
|
|
52878
52878
|
}, {
|
|
52879
52879
|
default: U8(() => [
|
|
52880
|
-
(pe(!0), ye(Qn, null, sr(Bq(s5).state.items, (
|
|
52881
|
-
key:
|
|
52882
|
-
message:
|
|
52883
|
-
type:
|
|
52884
|
-
duration:
|
|
52880
|
+
(pe(!0), ye(Qn, null, sr(Bq(s5).state.items, (le, G) => (pe(), vm(moe, {
|
|
52881
|
+
key: le.key,
|
|
52882
|
+
message: le.message,
|
|
52883
|
+
type: le.type,
|
|
52884
|
+
duration: le.duration,
|
|
52885
52885
|
onRemove: (Ae) => ie(G)
|
|
52886
52886
|
}, null, 8, ["message", "type", "duration", "onRemove"]))), 128))
|
|
52887
52887
|
]),
|
|
@@ -52930,14 +52930,14 @@ const ale = /* @__PURE__ */ qr(Hne, [["render", qne]]), Kne = {
|
|
|
52930
52930
|
},
|
|
52931
52931
|
emits: ["deleteAction"],
|
|
52932
52932
|
setup(O, { emit: ie }) {
|
|
52933
|
-
const te = O, _e = Eo(!1),
|
|
52933
|
+
const te = O, _e = Eo(!1), le = Eo(!1), G = () => {
|
|
52934
52934
|
_e.value = !1;
|
|
52935
52935
|
}, Ae = () => {
|
|
52936
52936
|
_e.value = !0;
|
|
52937
52937
|
}, Q = () => {
|
|
52938
|
-
|
|
52938
|
+
le.value = !1;
|
|
52939
52939
|
}, Pe = () => {
|
|
52940
|
-
|
|
52940
|
+
le.value = !0;
|
|
52941
52941
|
}, pt = ie, qe = () => {
|
|
52942
52942
|
axios.delete(`${te.xprops.route}/${te.row.id}`).then(() => {
|
|
52943
52943
|
Q(), pt("deleteAction"), s5.methods.add({
|
|
@@ -52953,7 +52953,7 @@ const ale = /* @__PURE__ */ qr(Hne, [["render", qne]]), Kne = {
|
|
|
52953
52953
|
const No = nq("click-outside");
|
|
52954
52954
|
return pe(), ye(Qn, null, [
|
|
52955
52955
|
ub($j, {
|
|
52956
|
-
isOpen:
|
|
52956
|
+
isOpen: le.value,
|
|
52957
52957
|
onConfirmDelete: qe,
|
|
52958
52958
|
onCancelDelete: Q
|
|
52959
52959
|
}, null, 8, ["isOpen"]),
|
|
@@ -53036,14 +53036,14 @@ const ale = /* @__PURE__ */ qr(Hne, [["render", qne]]), Kne = {
|
|
|
53036
53036
|
},
|
|
53037
53037
|
emits: ["deleteAction"],
|
|
53038
53038
|
setup(O, { emit: ie }) {
|
|
53039
|
-
const te = O, _e = Eo(!1),
|
|
53039
|
+
const te = O, _e = Eo(!1), le = Eo(!1), G = () => {
|
|
53040
53040
|
_e.value = !1;
|
|
53041
53041
|
}, Ae = () => {
|
|
53042
53042
|
_e.value = !0;
|
|
53043
53043
|
}, Q = () => {
|
|
53044
|
-
|
|
53044
|
+
le.value = !1;
|
|
53045
53045
|
}, Pe = () => {
|
|
53046
|
-
|
|
53046
|
+
le.value = !0;
|
|
53047
53047
|
}, pt = ie, qe = () => {
|
|
53048
53048
|
axios.delete(`${te.xprops.route}/${te.row.id}`).then(() => {
|
|
53049
53049
|
Q(), pt("deleteAction"), s5.methods.add({
|
|
@@ -53059,7 +53059,7 @@ const ale = /* @__PURE__ */ qr(Hne, [["render", qne]]), Kne = {
|
|
|
53059
53059
|
const No = nq("click-outside");
|
|
53060
53060
|
return pe(), ye(Qn, null, [
|
|
53061
53061
|
ub($j, {
|
|
53062
|
-
isOpen:
|
|
53062
|
+
isOpen: le.value,
|
|
53063
53063
|
onConfirmDelete: qe,
|
|
53064
53064
|
onCancelDelete: Q
|
|
53065
53065
|
}, null, 8, ["isOpen"]),
|
|
@@ -53144,7 +53144,7 @@ const ale = /* @__PURE__ */ qr(Hne, [["render", qne]]), Kne = {
|
|
|
53144
53144
|
"clip-rule": "evenodd"
|
|
53145
53145
|
})
|
|
53146
53146
|
], -1);
|
|
53147
|
-
function Boe(O, ie, te, _e,
|
|
53147
|
+
function Boe(O, ie, te, _e, le, G) {
|
|
53148
53148
|
return pe(), ye("div", null, [
|
|
53149
53149
|
G.isArray ? (pe(!0), ye(Qn, { key: 0 }, sr(te.row, (Ae, Q) => (pe(), ye("div", {
|
|
53150
53150
|
key: Q,
|
|
@@ -53220,7 +53220,7 @@ const ule = /* @__PURE__ */ qr(Ooe, [["render", Boe]]), Ioe = {
|
|
|
53220
53220
|
"clip-rule": "evenodd"
|
|
53221
53221
|
})
|
|
53222
53222
|
], -1);
|
|
53223
|
-
function Uoe(O, ie, te, _e,
|
|
53223
|
+
function Uoe(O, ie, te, _e, le, G) {
|
|
53224
53224
|
return G.isArray ? (pe(!0), ye(Qn, { key: 0 }, sr(te.row[te.field], (Ae) => (pe(), ye("div", {
|
|
53225
53225
|
key: Ae.id,
|
|
53226
53226
|
class: "m-1 d-inline-block"
|
|
@@ -53249,7 +53249,7 @@ function Uoe(O, ie, te, _e, ae, G) {
|
|
|
53249
53249
|
const dle = /* @__PURE__ */ qr(Ioe, [["render", Uoe]]), Woe = {
|
|
53250
53250
|
props: ["field", "row", "tdProps"]
|
|
53251
53251
|
}, Zoe = { key: 0 }, joe = ["innerHTML"];
|
|
53252
|
-
function Goe(O, ie, te, _e,
|
|
53252
|
+
function Goe(O, ie, te, _e, le, G) {
|
|
53253
53253
|
return te.row[te.field] ? (pe(), ye("div", Zoe, [
|
|
53254
53254
|
P("div", {
|
|
53255
53255
|
class: "w-full",
|
|
@@ -53278,7 +53278,7 @@ const mle = /* @__PURE__ */ qr(Woe, [["render", Goe]]), qoe = {
|
|
|
53278
53278
|
key: 1,
|
|
53279
53279
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
53280
53280
|
};
|
|
53281
|
-
function Xoe(O, ie, te, _e,
|
|
53281
|
+
function Xoe(O, ie, te, _e, le, G) {
|
|
53282
53282
|
return this.row[this.entry.key] ? (pe(), ye("div", Koe, [
|
|
53283
53283
|
G.isArray ? (pe(!0), ye(Qn, { key: 0 }, sr(te.row[G.entry.key], (Ae, Q) => (pe(), ye("span", {
|
|
53284
53284
|
key: Q,
|
|
@@ -53309,7 +53309,7 @@ const fle = /* @__PURE__ */ qr(qoe, [["render", Xoe]]), Joe = {
|
|
|
53309
53309
|
key: 1,
|
|
53310
53310
|
class: "px-2 py-1 text-xs font-medium text-blue-800 bg-blue-100 rounded dark:bg-blue-900 dark:text-blue-300"
|
|
53311
53311
|
};
|
|
53312
|
-
function tse(O, ie, te, _e,
|
|
53312
|
+
function tse(O, ie, te, _e, le, G) {
|
|
53313
53313
|
return pe(), ye("div", Qoe, [
|
|
53314
53314
|
G.isArray ? (pe(!0), ye(Qn, { key: 0 }, sr(G.getNestedValue(te.row, G.entry.keys), (Ae, Q) => (pe(), ye("span", {
|
|
53315
53315
|
key: Q,
|
|
@@ -53320,7 +53320,7 @@ function tse(O, ie, te, _e, ae, G) {
|
|
|
53320
53320
|
const gle = /* @__PURE__ */ qr(Joe, [["render", tse]]), nse = {
|
|
53321
53321
|
props: ["field", "row", "tdProps"]
|
|
53322
53322
|
}, ose = { key: 0 }, sse = { class: "m-1 d-inline-block" }, rse = ["href", "title"], ase = ["src", "alt", "title"];
|
|
53323
|
-
function lse(O, ie, te, _e,
|
|
53323
|
+
function lse(O, ie, te, _e, le, G) {
|
|
53324
53324
|
return te.row[te.field] ? (pe(), ye("div", ose, [
|
|
53325
53325
|
P("div", sse, [
|
|
53326
53326
|
P("a", {
|
|
@@ -53351,7 +53351,7 @@ const hle = /* @__PURE__ */ qr(nse, [["render", lse], ["__scopeId", "data-v-3a28
|
|
|
53351
53351
|
key: 0,
|
|
53352
53352
|
class: "grid grid-cols-2 gap-4"
|
|
53353
53353
|
}, use = ["src", "alt"], dse = { key: 1 }, mse = ["src", "alt"];
|
|
53354
|
-
function fse(O, ie, te, _e,
|
|
53354
|
+
function fse(O, ie, te, _e, le, G) {
|
|
53355
53355
|
return G.isArray ? (pe(), ye("div", ise, [
|
|
53356
53356
|
(pe(!0), ye(Qn, null, sr(te.row[te.field], (Ae) => (pe(), ye("div", {
|
|
53357
53357
|
key: Ae.id
|
|
@@ -53384,7 +53384,7 @@ const ple = /* @__PURE__ */ qr(cse, [["render", fse]]), gse = {
|
|
|
53384
53384
|
key: 1,
|
|
53385
53385
|
class: "inline-flex items-center px-2 py-1 bg-red-100 text-red-800 text-xs font-medium rounded-full dark:bg-red-900 dark:text-red-300"
|
|
53386
53386
|
}, yse = /* @__PURE__ */ P("span", { class: "w-2 h-2 bg-red-500 rounded-full me-1" }, null, -1);
|
|
53387
|
-
function wse(O, ie, te, _e,
|
|
53387
|
+
function wse(O, ie, te, _e, le, G) {
|
|
53388
53388
|
return pe(), ye("div", hse, [
|
|
53389
53389
|
G.isActive ? (pe(), ye("span", pse, [
|
|
53390
53390
|
bse,
|
|
@@ -53424,7 +53424,7 @@ const ble = /* @__PURE__ */ qr(gse, [["render", wse]]), xse = {
|
|
|
53424
53424
|
/* @__PURE__ */ P("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
53425
53425
|
/* @__PURE__ */ P("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
53426
53426
|
], -1);
|
|
53427
|
-
function Mse(O, ie, te, _e,
|
|
53427
|
+
function Mse(O, ie, te, _e, le, G) {
|
|
53428
53428
|
return pe(), ye("div", Cse, [
|
|
53429
53429
|
G.hasLabelColor == "green" ? (pe(), ye("span", Sse, [
|
|
53430
53430
|
_se,
|
|
@@ -53470,7 +53470,7 @@ const vle = /* @__PURE__ */ qr(xse, [["render", Mse]]), Pse = {
|
|
|
53470
53470
|
}
|
|
53471
53471
|
}
|
|
53472
53472
|
}, Nse = { class: "flex flex-wrap gap-2 text-nowrap lg:justify-center" };
|
|
53473
|
-
function Bse(O, ie, te, _e,
|
|
53473
|
+
function Bse(O, ie, te, _e, le, G) {
|
|
53474
53474
|
return pe(), ye("div", Nse, [
|
|
53475
53475
|
G.hasLabelColor == "Default" ? (pe(), ye("span", {
|
|
53476
53476
|
key: 0,
|
|
@@ -53559,7 +53559,7 @@ const yle = /* @__PURE__ */ qr(Pse, [["render", Bse]]), Ise = {
|
|
|
53559
53559
|
/* @__PURE__ */ P("span", { class: "absolute inline-flex w-full h-full bg-blue-500 rounded-full animate-ping" }),
|
|
53560
53560
|
/* @__PURE__ */ P("span", { class: "relative inline-flex w-2 h-2 bg-blue-500 rounded-full" })
|
|
53561
53561
|
], -1);
|
|
53562
|
-
function Kse(O, ie, te, _e,
|
|
53562
|
+
function Kse(O, ie, te, _e, le, G) {
|
|
53563
53563
|
return pe(), ye("div", Lse, [
|
|
53564
53564
|
G.hasLabelColor == "green" ? (pe(), ye("span", Fse, [
|
|
53565
53565
|
Hse,
|
|
@@ -53590,13 +53590,13 @@ const wle = /* @__PURE__ */ qr(Ise, [["render", Kse]]), Yse = {
|
|
|
53590
53590
|
if (!this.row[this.field])
|
|
53591
53591
|
return "";
|
|
53592
53592
|
const O = new Date(this.row[this.field]), ie = O.getFullYear(), te = O.toLocaleString("default", { month: "long" }), _e = O.getDate();
|
|
53593
|
-
let
|
|
53594
|
-
const G = O.getMinutes(), Ae = O.getSeconds(), Q =
|
|
53595
|
-
return
|
|
53593
|
+
let le = O.getHours();
|
|
53594
|
+
const G = O.getMinutes(), Ae = O.getSeconds(), Q = le >= 12 ? "pm" : "am";
|
|
53595
|
+
return le = le % 12, le = le || 12, `${te} ${_e}, ${ie}, ${le}:${G}:${Ae} ${Q}`;
|
|
53596
53596
|
}
|
|
53597
53597
|
}
|
|
53598
53598
|
}, Xse = { class: "w-full" };
|
|
53599
|
-
function Jse(O, ie, te, _e,
|
|
53599
|
+
function Jse(O, ie, te, _e, le, G) {
|
|
53600
53600
|
return pe(), ye("div", Xse, gt(G.formattedDate), 1);
|
|
53601
53601
|
}
|
|
53602
53602
|
const xle = /* @__PURE__ */ qr(Yse, [["render", Jse]]), Qse = {
|
|
@@ -53610,7 +53610,7 @@ const xle = /* @__PURE__ */ qr(Yse, [["render", Jse]]), Qse = {
|
|
|
53610
53610
|
}
|
|
53611
53611
|
}
|
|
53612
53612
|
}, ere = { class: "w-full" };
|
|
53613
|
-
function tre(O, ie, te, _e,
|
|
53613
|
+
function tre(O, ie, te, _e, le, G) {
|
|
53614
53614
|
return pe(), ye("div", ere, gt(G.formattedDate), 1);
|
|
53615
53615
|
}
|
|
53616
53616
|
const Cle = /* @__PURE__ */ qr(Qse, [["render", tre]]), nre = {
|
|
@@ -53628,7 +53628,7 @@ const Cle = /* @__PURE__ */ qr(Qse, [["render", tre]]), nre = {
|
|
|
53628
53628
|
key: 2,
|
|
53629
53629
|
class: "inline-flex items-center px-2 py-1 text-xs font-medium text-green-800 bg-green-100 rounded-full dark:bg-green-900 dark:text-green-300"
|
|
53630
53630
|
}, ire = /* @__PURE__ */ P("span", { class: "w-2 h-2 bg-green-500 rounded-full me-1" }, null, -1);
|
|
53631
|
-
function ure(O, ie, te, _e,
|
|
53631
|
+
function ure(O, ie, te, _e, le, G) {
|
|
53632
53632
|
return pe(), ye("div", ore, [
|
|
53633
53633
|
te.row[te.field] === 0 ? (pe(), ye("span", sre, [
|
|
53634
53634
|
rre,
|
|
@@ -53650,7 +53650,7 @@ const Sle = /* @__PURE__ */ qr(nre, [["render", ure]]), dre = {
|
|
|
53650
53650
|
key: 0,
|
|
53651
53651
|
class: "text-nowrap w-full"
|
|
53652
53652
|
}, fre = { class: "w-full h-full p-3 mx-0 mt-0 overflow-auto font-mono text-left break-words rounded cursor-default whitespace-nowrap console_styles" };
|
|
53653
|
-
function gre(O, ie, te, _e,
|
|
53653
|
+
function gre(O, ie, te, _e, le, G) {
|
|
53654
53654
|
return te.row[te.field] ? (pe(), ye("div", mre, [
|
|
53655
53655
|
P("pre", fre, " " + gt(te.row[te.field]) + `
|
|
53656
53656
|
`, 1)
|
|
@@ -53678,7 +53678,7 @@ const _le = /* @__PURE__ */ qr(dre, [["render", gre]]), hre = {
|
|
|
53678
53678
|
class: "hidden sm:inline-block sm:align-middle sm:h-screen",
|
|
53679
53679
|
"aria-hidden": "true"
|
|
53680
53680
|
}, "", -1), wre = { 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" }, xre = { class: "px-4 pt-5 pb-4 sm:p-6 sm:pb-4" }, Cre = { class: "sm:flex sm:items-start" }, Sre = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left" }, _re = { class: "text-lg font-medium leading-6" }, kre = { class: "mt-2" }, Tre = { 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" };
|
|
53681
|
-
function Ere(O, ie, te, _e,
|
|
53681
|
+
function Ere(O, ie, te, _e, le, G) {
|
|
53682
53682
|
return te.isOpen ? (pe(), ye("div", pre, [
|
|
53683
53683
|
P("div", bre, [
|
|
53684
53684
|
vre,
|
|
@@ -53730,7 +53730,7 @@ const kle = /* @__PURE__ */ qr(hre, [["render", Ere]]), Are = {
|
|
|
53730
53730
|
}
|
|
53731
53731
|
},
|
|
53732
53732
|
setup(O, { expose: ie }) {
|
|
53733
|
-
const te = Eo(""), _e = Eo(""),
|
|
53733
|
+
const te = Eo(""), _e = Eo(""), le = Eo(""), G = Eo("Cancel"), Ae = Eo(!1), Q = Eo(void 0), Pe = Eo(void 0), pt = (mn = {}) => (te.value = mn.title, _e.value = mn.message, le.value = mn.okButton, mn.cancelButton && (G.value = mn.cancelButton), Ae.value = !0, new Promise((No, us) => {
|
|
53734
53734
|
Q.value = No, Pe.value = us;
|
|
53735
53735
|
})), qe = () => {
|
|
53736
53736
|
Ae.value = !1, Q.value(!0);
|
|
@@ -53759,7 +53759,7 @@ const kle = /* @__PURE__ */ qr(hre, [["render", Ere]]), Are = {
|
|
|
53759
53759
|
onClick: qe,
|
|
53760
53760
|
type: "button",
|
|
53761
53761
|
class: "inline-flex justify-center w-full px-4 py-2 text-base font-medium text-white bg-red-600 border border-transparent rounded-md shadow-sm hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 sm:ml-3 sm:w-auto sm:text-sm"
|
|
53762
|
-
}, gt(
|
|
53762
|
+
}, gt(le.value), 1),
|
|
53763
53763
|
P("button", {
|
|
53764
53764
|
onClick: bn,
|
|
53765
53765
|
type: "button",
|
|
@@ -53829,18 +53829,18 @@ const kle = /* @__PURE__ */ qr(hre, [["render", Ere]]), Are = {
|
|
|
53829
53829
|
}).catch(function(Ae) {
|
|
53830
53830
|
console.error("Error copying to clipboard: ", Ae);
|
|
53831
53831
|
});
|
|
53832
|
-
},
|
|
53832
|
+
}, le = vc(() => ie.code);
|
|
53833
53833
|
return (G, Ae) => (pe(), ye("div", Hre, [
|
|
53834
53834
|
P("div", Vre, [
|
|
53835
53835
|
P("p", zre, gt(O.label_name), 1)
|
|
53836
53836
|
]),
|
|
53837
53837
|
P("div", Ure, [
|
|
53838
53838
|
P("div", Wre, [
|
|
53839
|
-
P("code", Zre, gt(
|
|
53839
|
+
P("code", Zre, gt(le.value), 1)
|
|
53840
53840
|
]),
|
|
53841
53841
|
P("div", jre, [
|
|
53842
53842
|
P("button", {
|
|
53843
|
-
onClick: Ae[0] || (Ae[0] = (Q) => _e(
|
|
53843
|
+
onClick: Ae[0] || (Ae[0] = (Q) => _e(le.value)),
|
|
53844
53844
|
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"
|
|
53845
53845
|
}, [
|
|
53846
53846
|
te.value ? ut("", !0) : (pe(), ye("span", Gre, Yre)),
|
|
@@ -53909,7 +53909,7 @@ const kle = /* @__PURE__ */ qr(hre, [["render", Ere]]), Are = {
|
|
|
53909
53909
|
}).catch(function(Ae) {
|
|
53910
53910
|
console.error("Error copying to clipboard: ", Ae);
|
|
53911
53911
|
});
|
|
53912
|
-
},
|
|
53912
|
+
}, le = vc(() => ie.code);
|
|
53913
53913
|
return (G, Ae) => (pe(), ye("div", nae, [
|
|
53914
53914
|
P("div", oae, [
|
|
53915
53915
|
P("label", sae, gt(O.label_name), 1)
|
|
@@ -53921,14 +53921,14 @@ const kle = /* @__PURE__ */ qr(hre, [["render", Ere]]), Are = {
|
|
|
53921
53921
|
type: "text",
|
|
53922
53922
|
"aria-describedby": "helper-text-explanation",
|
|
53923
53923
|
class: "bg-gray-50 border border-e-0 border-gray-300 text-gray-500 dark:text-gray-400 text-sm border-s-0 focus:ring-blue-500 focus:border-blue-500 block w-full p-2 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500",
|
|
53924
|
-
value:
|
|
53924
|
+
value: le.value,
|
|
53925
53925
|
readonly: "",
|
|
53926
53926
|
disabled: ""
|
|
53927
53927
|
}, null, 8, cae)
|
|
53928
53928
|
]),
|
|
53929
53929
|
P("button", {
|
|
53930
53930
|
style: { padding: ".61rem" },
|
|
53931
|
-
onClick: Ae[0] || (Ae[0] = (Q) => _e(
|
|
53931
|
+
onClick: Ae[0] || (Ae[0] = (Q) => _e(le.value)),
|
|
53932
53932
|
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",
|
|
53933
53933
|
type: "button"
|
|
53934
53934
|
}, [
|
|
@@ -54012,7 +54012,7 @@ const kle = /* @__PURE__ */ qr(hre, [["render", Ere]]), Are = {
|
|
|
54012
54012
|
const te = ie, _e = () => {
|
|
54013
54013
|
te("reconnect");
|
|
54014
54014
|
};
|
|
54015
|
-
return (
|
|
54015
|
+
return (le, G) => (pe(), ye("div", Sae, [
|
|
54016
54016
|
O.status === 0 ? (pe(), ye("span", _ae, [
|
|
54017
54017
|
kae,
|
|
54018
54018
|
ko(" Connecting")
|