@bagelink/vue 1.2.89 → 1.2.97
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/components/Pagination.vue.d.ts +35 -0
- package/dist/components/Pagination.vue.d.ts.map +1 -0
- package/dist/components/Pill.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/Upload/UploadInput.vue.d.ts +7 -8
- package/dist/components/form/inputs/Upload/UploadInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/Upload/useFileUpload.d.ts +76 -0
- package/dist/components/form/inputs/Upload/useFileUpload.d.ts.map +1 -0
- package/dist/components/form/inputs/index.d.ts +1 -0
- package/dist/components/form/inputs/index.d.ts.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/lightbox/Lightbox.vue.d.ts.map +1 -1
- package/dist/index.cjs +850 -599
- package/dist/index.mjs +850 -599
- package/dist/style.css +88 -67
- package/package.json +1 -1
- package/src/components/Pagination.vue +252 -0
- package/src/components/Pill.vue +1 -1
- package/src/components/form/inputs/Upload/UploadInput.vue +26 -101
- package/src/components/form/inputs/Upload/useFileUpload.ts +144 -0
- package/src/components/form/inputs/index.ts +2 -0
- package/src/components/index.ts +1 -0
- package/src/components/lightbox/Lightbox.vue +41 -26
package/dist/index.cjs
CHANGED
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5
5
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
6
6
|
const vue = require("vue");
|
|
7
7
|
const vueRouter = require("vue-router");
|
|
8
|
-
const _sfc_main$
|
|
8
|
+
const _sfc_main$1h = /* @__PURE__ */ vue.defineComponent({
|
|
9
9
|
__name: "Accordion",
|
|
10
10
|
setup(__props) {
|
|
11
11
|
const state2 = vue.reactive({
|
|
@@ -19,10 +19,10 @@ const _sfc_main$1g = /* @__PURE__ */ vue.defineComponent({
|
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
|
-
const _hoisted_1$
|
|
23
|
-
const _hoisted_2$
|
|
22
|
+
const _hoisted_1$13 = ["aria-expanded", "aria-controls"];
|
|
23
|
+
const _hoisted_2$O = { class: "accordion-label" };
|
|
24
24
|
const _hoisted_3$G = ["id", "aria-hidden"];
|
|
25
|
-
const _sfc_main$
|
|
25
|
+
const _sfc_main$1g = /* @__PURE__ */ vue.defineComponent({
|
|
26
26
|
__name: "AccordionItem",
|
|
27
27
|
props: {
|
|
28
28
|
label: {},
|
|
@@ -85,18 +85,18 @@ const _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
|
|
|
85
85
|
key: 0,
|
|
86
86
|
class: vue.normalizeClass(["accordion-icon", [_ctx.iconClass, { open: vue.unref(isOpen) && _ctx.iconType === "expand_more" }]])
|
|
87
87
|
}, [
|
|
88
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
88
|
+
vue.createVNode(vue.unref(_sfc_main$u), { icon: computedIcon.value }, null, 8, ["icon"])
|
|
89
89
|
], 2)) : vue.createCommentVNode("", true),
|
|
90
90
|
vue.renderSlot(_ctx.$slots, "head", {}, () => [
|
|
91
|
-
vue.createElementVNode("span", _hoisted_2$
|
|
91
|
+
vue.createElementVNode("span", _hoisted_2$O, vue.toDisplayString(_ctx.label), 1)
|
|
92
92
|
], true),
|
|
93
93
|
iconPosition.value === "end" ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
94
94
|
key: 1,
|
|
95
95
|
class: vue.normalizeClass(["accordion-icon", [_ctx.iconClass, { open: vue.unref(isOpen) && _ctx.iconType === "expand_more" }]])
|
|
96
96
|
}, [
|
|
97
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
97
|
+
vue.createVNode(vue.unref(_sfc_main$u), { icon: computedIcon.value }, null, 8, ["icon"])
|
|
98
98
|
], 2)) : vue.createCommentVNode("", true)
|
|
99
|
-
], 8, _hoisted_1$
|
|
99
|
+
], 8, _hoisted_1$13),
|
|
100
100
|
vue.createVNode(vue.Transition, { name: "expand" }, {
|
|
101
101
|
default: vue.withCtx(() => [
|
|
102
102
|
vue.unref(isOpen) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -121,9 +121,9 @@ const _export_sfc = (sfc, props2) => {
|
|
|
121
121
|
}
|
|
122
122
|
return target;
|
|
123
123
|
};
|
|
124
|
-
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
125
|
-
const _hoisted_1$
|
|
126
|
-
const _sfc_main$
|
|
124
|
+
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-3334f637"]]);
|
|
125
|
+
const _hoisted_1$12 = { class: "relative" };
|
|
126
|
+
const _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
|
|
127
127
|
__name: "AddressSearch",
|
|
128
128
|
emits: ["addressSelected"],
|
|
129
129
|
setup(__props, { emit: __emit }) {
|
|
@@ -145,8 +145,8 @@ const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
|
|
|
145
145
|
(_a = suggestion.value) == null ? void 0 : _a.show();
|
|
146
146
|
}
|
|
147
147
|
return (_ctx, _cache) => {
|
|
148
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
149
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
148
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$12, [
|
|
149
|
+
vue.createVNode(vue.unref(_sfc_main$Z), {
|
|
150
150
|
ref_key: "suggestion",
|
|
151
151
|
ref: suggestion,
|
|
152
152
|
noAutoFocus: true,
|
|
@@ -164,7 +164,7 @@ const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
|
|
|
164
164
|
vue.createVNode(vue.unref(ListView), { class: "-mt-2 hm-300px" }, {
|
|
165
165
|
default: vue.withCtx(() => [
|
|
166
166
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(searchResults), (result2, index2) => {
|
|
167
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
167
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$j), {
|
|
168
168
|
key: index2,
|
|
169
169
|
icon: "location_on",
|
|
170
170
|
title: result2.display_name,
|
|
@@ -181,11 +181,11 @@ const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
|
|
|
181
181
|
};
|
|
182
182
|
}
|
|
183
183
|
});
|
|
184
|
-
const _hoisted_1$
|
|
184
|
+
const _hoisted_1$11 = {
|
|
185
185
|
key: 1,
|
|
186
186
|
class: "bgl_btn-flex"
|
|
187
187
|
};
|
|
188
|
-
const _sfc_main$
|
|
188
|
+
const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
|
|
189
189
|
__name: "Btn",
|
|
190
190
|
props: {
|
|
191
191
|
disabled: { type: Boolean, default: false },
|
|
@@ -254,8 +254,8 @@ const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
|
|
|
254
254
|
key: 0,
|
|
255
255
|
class: "h-100p",
|
|
256
256
|
size: "15"
|
|
257
|
-
})) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
258
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
257
|
+
})) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$11, [
|
|
258
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$u), {
|
|
259
259
|
key: 0,
|
|
260
260
|
icon: _ctx.icon,
|
|
261
261
|
class: "transition-400"
|
|
@@ -264,7 +264,7 @@ const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
|
|
|
264
264
|
!vue.unref(slots).default && _ctx.value ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
265
265
|
vue.createTextVNode(vue.toDisplayString(_ctx.value), 1)
|
|
266
266
|
], 64)) : vue.createCommentVNode("", true),
|
|
267
|
-
_ctx.iconEnd ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
267
|
+
_ctx.iconEnd ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$u), {
|
|
268
268
|
key: 2,
|
|
269
269
|
icon: _ctx.iconEnd,
|
|
270
270
|
class: "transition-400"
|
|
@@ -278,10 +278,10 @@ const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
|
|
|
278
278
|
};
|
|
279
279
|
}
|
|
280
280
|
});
|
|
281
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
282
|
-
const _hoisted_1
|
|
283
|
-
const _hoisted_2$
|
|
284
|
-
const _sfc_main$
|
|
281
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-99c4aa53"]]);
|
|
282
|
+
const _hoisted_1$10 = ["dismissable"];
|
|
283
|
+
const _hoisted_2$N = { class: "m-0" };
|
|
284
|
+
const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
|
|
285
285
|
__name: "Alert",
|
|
286
286
|
props: {
|
|
287
287
|
message: {},
|
|
@@ -304,14 +304,14 @@ const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
|
|
|
304
304
|
class: vue.normalizeClass(["alert", [_ctx.type, { thin: _ctx.thin, outline: _ctx.outline }]]),
|
|
305
305
|
dismissable: _ctx.dismissable
|
|
306
306
|
}, [
|
|
307
|
-
_ctx.icon !== "none" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
307
|
+
_ctx.icon !== "none" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$u), {
|
|
308
308
|
key: 0,
|
|
309
309
|
class: "alert_icon",
|
|
310
310
|
icon: _ctx.icon || _ctx.type,
|
|
311
311
|
size: 1.7,
|
|
312
312
|
color: color2[_ctx.type]
|
|
313
313
|
}, null, 8, ["icon", "color"])) : vue.createCommentVNode("", true),
|
|
314
|
-
vue.createElementVNode("p", _hoisted_2$
|
|
314
|
+
vue.createElementVNode("p", _hoisted_2$N, vue.toDisplayString(_ctx.message), 1),
|
|
315
315
|
vue.createVNode(Btn, {
|
|
316
316
|
flat: "",
|
|
317
317
|
thin: "",
|
|
@@ -319,13 +319,13 @@ const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
|
|
|
319
319
|
icon: "close",
|
|
320
320
|
onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
|
|
321
321
|
})
|
|
322
|
-
], 10, _hoisted_1
|
|
322
|
+
], 10, _hoisted_1$10)) : vue.createCommentVNode("", true);
|
|
323
323
|
};
|
|
324
324
|
}
|
|
325
325
|
});
|
|
326
|
-
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
327
|
-
const _hoisted_1
|
|
328
|
-
const _sfc_main$
|
|
326
|
+
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-15c4ee95"]]);
|
|
327
|
+
const _hoisted_1$$ = ["src", "alt"];
|
|
328
|
+
const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
|
|
329
329
|
__name: "Avatar",
|
|
330
330
|
props: {
|
|
331
331
|
fallback: {},
|
|
@@ -343,7 +343,7 @@ const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
|
|
|
343
343
|
key: 0,
|
|
344
344
|
src: _ctx.src,
|
|
345
345
|
alt: _ctx.name
|
|
346
|
-
}, null, 8, _hoisted_1
|
|
346
|
+
}, null, 8, _hoisted_1$$)) : (vue.openBlock(), vue.createElementBlock("p", {
|
|
347
347
|
key: 1,
|
|
348
348
|
style: vue.normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
|
|
349
349
|
}, vue.toDisplayString((_ctx.fallback || vue.unref(initials)(_ctx.name || "")).toUpperCase()), 5))
|
|
@@ -351,8 +351,8 @@ const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
|
|
|
351
351
|
};
|
|
352
352
|
}
|
|
353
353
|
});
|
|
354
|
-
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
355
|
-
const _sfc_main$
|
|
354
|
+
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-b73b9e30"]]);
|
|
355
|
+
const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
|
|
356
356
|
__name: "Badge",
|
|
357
357
|
props: {
|
|
358
358
|
color: {},
|
|
@@ -366,13 +366,13 @@ const _sfc_main$1a = /* @__PURE__ */ vue.defineComponent({
|
|
|
366
366
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
367
367
|
class: vue.normalizeClass(["pill", [_ctx.color]])
|
|
368
368
|
}, [
|
|
369
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
369
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$u), {
|
|
370
370
|
key: 0,
|
|
371
371
|
class: "inline",
|
|
372
372
|
icon: _ctx.icon
|
|
373
373
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
374
374
|
vue.createTextVNode(" " + vue.toDisplayString(_ctx.text) + " ", 1),
|
|
375
|
-
_ctx.iconEnd ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
375
|
+
_ctx.iconEnd ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$u), {
|
|
376
376
|
key: 1,
|
|
377
377
|
class: "inline",
|
|
378
378
|
icon: _ctx.iconEnd
|
|
@@ -381,11 +381,11 @@ const _sfc_main$1a = /* @__PURE__ */ vue.defineComponent({
|
|
|
381
381
|
};
|
|
382
382
|
}
|
|
383
383
|
});
|
|
384
|
-
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
385
|
-
const _hoisted_1$
|
|
386
|
-
const _hoisted_2$
|
|
384
|
+
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-689f051f"]]);
|
|
385
|
+
const _hoisted_1$_ = ["src"];
|
|
386
|
+
const _hoisted_2$M = ["autoplay", "muted", "loop", "controls", "playsinline"];
|
|
387
387
|
const _hoisted_3$F = ["src", "type"];
|
|
388
|
-
const _sfc_main$
|
|
388
|
+
const _sfc_main$1a = /* @__PURE__ */ vue.defineComponent({
|
|
389
389
|
__name: "BglVideo",
|
|
390
390
|
props: {
|
|
391
391
|
src: {},
|
|
@@ -462,7 +462,7 @@ const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
|
|
|
462
462
|
allowfullscreen: "",
|
|
463
463
|
title: "Video",
|
|
464
464
|
allow: "autoplay"
|
|
465
|
-
}, null, 12, _hoisted_1$
|
|
465
|
+
}, null, 12, _hoisted_1$_)) : _ctx.src ? (vue.openBlock(), vue.createElementBlock("video", {
|
|
466
466
|
key: 1,
|
|
467
467
|
ref_key: "video",
|
|
468
468
|
ref: video,
|
|
@@ -477,13 +477,13 @@ const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
|
|
|
477
477
|
src: _ctx.src,
|
|
478
478
|
type: `video/${videoFormat.value}`
|
|
479
479
|
}, null, 8, _hoisted_3$F)
|
|
480
|
-
], 12, _hoisted_2$
|
|
480
|
+
], 12, _hoisted_2$M)) : vue.createCommentVNode("", true)
|
|
481
481
|
], 2);
|
|
482
482
|
};
|
|
483
483
|
}
|
|
484
484
|
});
|
|
485
|
-
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
486
|
-
const _sfc_main$
|
|
485
|
+
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-006552f6"]]);
|
|
486
|
+
const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
|
|
487
487
|
__name: "CalendarPopover",
|
|
488
488
|
props: {
|
|
489
489
|
event: {},
|
|
@@ -526,7 +526,7 @@ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
|
|
|
526
526
|
}
|
|
527
527
|
return (_ctx, _cache) => {
|
|
528
528
|
const _directive_click_outside = vue.resolveDirective("click-outside");
|
|
529
|
-
return _ctx.show && _ctx.event ? vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
529
|
+
return _ctx.show && _ctx.event ? vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$13), {
|
|
530
530
|
key: 0,
|
|
531
531
|
ref_key: "popoverRef",
|
|
532
532
|
ref: popoverRef,
|
|
@@ -548,14 +548,14 @@ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
|
|
|
548
548
|
};
|
|
549
549
|
}
|
|
550
550
|
});
|
|
551
|
-
const CalendarPopover = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
552
|
-
const _hoisted_1$
|
|
553
|
-
const _hoisted_2$
|
|
551
|
+
const CalendarPopover = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-6f51f6b3"]]);
|
|
552
|
+
const _hoisted_1$Z = { class: "agenda-view" };
|
|
553
|
+
const _hoisted_2$L = ["data-date", "onClick"];
|
|
554
554
|
const _hoisted_3$E = { class: "event-content" };
|
|
555
555
|
const _hoisted_4$r = { class: "event-time" };
|
|
556
556
|
const _hoisted_5$q = { class: "event-details" };
|
|
557
557
|
const _hoisted_6$m = { class: "event-title" };
|
|
558
|
-
const _sfc_main$
|
|
558
|
+
const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
|
|
559
559
|
__name: "AgendaView",
|
|
560
560
|
props: {
|
|
561
561
|
events: {},
|
|
@@ -653,7 +653,7 @@ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
|
|
|
653
653
|
}
|
|
654
654
|
});
|
|
655
655
|
return (_ctx, _cache) => {
|
|
656
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
656
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$Z, [
|
|
657
657
|
_cache[0] || (_cache[0] = vue.createElementVNode("div", { class: "agenda-header" }, [
|
|
658
658
|
vue.createElementVNode("div", { class: "time-column" }, " Time "),
|
|
659
659
|
vue.createElementVNode("div", { class: "event-column" }, " Event ")
|
|
@@ -683,16 +683,16 @@ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
|
|
|
683
683
|
}, vue.toDisplayString(event.dayLabel), 3)
|
|
684
684
|
])
|
|
685
685
|
])
|
|
686
|
-
], 12, _hoisted_2$
|
|
686
|
+
], 12, _hoisted_2$L);
|
|
687
687
|
}), 128))
|
|
688
688
|
], 512)
|
|
689
689
|
]);
|
|
690
690
|
};
|
|
691
691
|
}
|
|
692
692
|
});
|
|
693
|
-
const AgendaView = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
694
|
-
const _hoisted_1$
|
|
695
|
-
const _hoisted_2$
|
|
693
|
+
const AgendaView = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-1e2b483b"]]);
|
|
694
|
+
const _hoisted_1$Y = { class: "w-100p overflow-hidden m_overflow h-100p grid" };
|
|
695
|
+
const _hoisted_2$K = { class: "border-bottom me-1 txt-center p-05 dayGrid" };
|
|
696
696
|
const _hoisted_3$D = { class: "overflow h-100p pe-05" };
|
|
697
697
|
const _hoisted_4$q = { class: "time-column" };
|
|
698
698
|
const _hoisted_5$p = { class: "events-column" };
|
|
@@ -703,7 +703,7 @@ const _hoisted_9$7 = { class: "event-time opacity-8" };
|
|
|
703
703
|
const _hoisted_10$6 = { class: "color-primary txt-12 p-025" };
|
|
704
704
|
const slotHeight$1 = 60;
|
|
705
705
|
const slotDuration$1 = 60;
|
|
706
|
-
const _sfc_main$
|
|
706
|
+
const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
|
|
707
707
|
__name: "DayView",
|
|
708
708
|
props: {
|
|
709
709
|
events: {},
|
|
@@ -837,8 +837,8 @@ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
|
|
|
837
837
|
}
|
|
838
838
|
});
|
|
839
839
|
return (_ctx, _cache) => {
|
|
840
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
841
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
840
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$Y, [
|
|
841
|
+
vue.createElementVNode("div", _hoisted_2$K, [
|
|
842
842
|
_cache[0] || (_cache[0] = vue.createElementVNode("div", null, null, -1)),
|
|
843
843
|
vue.createElementVNode("div", null, vue.toDisplayString(vue.unref(formatDate)(_ctx.startDate)), 1)
|
|
844
844
|
]),
|
|
@@ -902,9 +902,9 @@ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
|
|
|
902
902
|
};
|
|
903
903
|
}
|
|
904
904
|
});
|
|
905
|
-
const DayView = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
906
|
-
const _hoisted_1$
|
|
907
|
-
const _hoisted_2$
|
|
905
|
+
const DayView = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-8b1a770f"]]);
|
|
906
|
+
const _hoisted_1$X = { class: "month-view" };
|
|
907
|
+
const _hoisted_2$J = { class: "month-header" };
|
|
908
908
|
const _hoisted_3$C = { class: "month-grid" };
|
|
909
909
|
const _hoisted_4$p = { class: "day-number" };
|
|
910
910
|
const _hoisted_5$o = { class: "day-events" };
|
|
@@ -915,7 +915,7 @@ const _hoisted_6$k = {
|
|
|
915
915
|
const _hoisted_7$g = ["onClick"];
|
|
916
916
|
const _hoisted_8$a = { class: "event-title" };
|
|
917
917
|
const _hoisted_9$6 = { class: "event-time" };
|
|
918
|
-
const _sfc_main$
|
|
918
|
+
const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
|
|
919
919
|
__name: "MonthView",
|
|
920
920
|
props: {
|
|
921
921
|
events: {},
|
|
@@ -989,8 +989,8 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
|
|
|
989
989
|
}
|
|
990
990
|
}
|
|
991
991
|
return (_ctx, _cache) => {
|
|
992
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
993
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
992
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$X, [
|
|
993
|
+
vue.createElementVNode("div", _hoisted_2$J, [
|
|
994
994
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(weekDays.value, (day) => {
|
|
995
995
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
996
996
|
key: day,
|
|
@@ -1031,9 +1031,9 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1031
1031
|
};
|
|
1032
1032
|
}
|
|
1033
1033
|
});
|
|
1034
|
-
const MonthView = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1035
|
-
const _hoisted_1$
|
|
1036
|
-
const _hoisted_2$
|
|
1034
|
+
const MonthView = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-0b1117c4"]]);
|
|
1035
|
+
const _hoisted_1$W = { class: "w-100p overflow-hidden m_overflow h-100p grid" };
|
|
1036
|
+
const _hoisted_2$I = { class: "overflow h-100p pe-05" };
|
|
1037
1037
|
const _hoisted_3$B = ["onMousedown"];
|
|
1038
1038
|
const _hoisted_4$o = ["onClick"];
|
|
1039
1039
|
const _hoisted_5$n = { class: "overflow-hidden color-white p-025 txt12 h-100p" };
|
|
@@ -1042,7 +1042,7 @@ const _hoisted_7$f = { class: "txt10 opacity-8 user-select-none" };
|
|
|
1042
1042
|
const _hoisted_8$9 = { class: "color-primary txt-12 p-025" };
|
|
1043
1043
|
const slotHeight = 60;
|
|
1044
1044
|
const slotDuration = 60;
|
|
1045
|
-
const _sfc_main$
|
|
1045
|
+
const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
|
|
1046
1046
|
__name: "WeekView",
|
|
1047
1047
|
props: {
|
|
1048
1048
|
events: { default: () => [] },
|
|
@@ -1296,7 +1296,7 @@ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1296
1296
|
}
|
|
1297
1297
|
});
|
|
1298
1298
|
return (_ctx, _cache) => {
|
|
1299
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
1299
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$W, [
|
|
1300
1300
|
vue.createElementVNode("div", {
|
|
1301
1301
|
ref_key: "calendarGrid",
|
|
1302
1302
|
ref: calendarGrid,
|
|
@@ -1318,7 +1318,7 @@ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1318
1318
|
]);
|
|
1319
1319
|
}), 128))
|
|
1320
1320
|
], 512),
|
|
1321
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
1321
|
+
vue.createElementVNode("div", _hoisted_2$I, [
|
|
1322
1322
|
vue.createElementVNode("div", {
|
|
1323
1323
|
ref_key: "dayColumnsContainer",
|
|
1324
1324
|
ref: dayColumnsContainer,
|
|
@@ -1394,12 +1394,12 @@ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1394
1394
|
};
|
|
1395
1395
|
}
|
|
1396
1396
|
});
|
|
1397
|
-
const WeekView = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1398
|
-
const _hoisted_1$
|
|
1399
|
-
const _hoisted_2$
|
|
1397
|
+
const WeekView = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-2d5bca17"]]);
|
|
1398
|
+
const _hoisted_1$V = { class: "calendar" };
|
|
1399
|
+
const _hoisted_2$H = { class: "flex m_block m_pb-1" };
|
|
1400
1400
|
const _hoisted_3$A = { class: "txt-light my-0" };
|
|
1401
1401
|
const _hoisted_4$n = { class: "ms-auto flex gap-025" };
|
|
1402
|
-
const _sfc_main$
|
|
1402
|
+
const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
|
|
1403
1403
|
__name: "Index",
|
|
1404
1404
|
props: {
|
|
1405
1405
|
events: { default: () => [] },
|
|
@@ -1491,14 +1491,14 @@ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1491
1491
|
emit2("ready", state2.value);
|
|
1492
1492
|
});
|
|
1493
1493
|
return (_ctx, _cache) => {
|
|
1494
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
1495
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
1494
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$V, [
|
|
1495
|
+
vue.createElementVNode("div", _hoisted_2$H, [
|
|
1496
1496
|
vue.createElementVNode("h3", _hoisted_3$A, [
|
|
1497
1497
|
vue.createElementVNode("b", null, vue.toDisplayString(vue.unref(fmtDate)(currentDate.value, { fmt: "MMMM" })), 1),
|
|
1498
1498
|
vue.createTextVNode(" " + vue.toDisplayString(vue.unref(fmtDate)(currentDate.value, { fmt: "YYYY" })), 1)
|
|
1499
1499
|
]),
|
|
1500
1500
|
vue.createElementVNode("div", _hoisted_4$n, [
|
|
1501
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
1501
|
+
vue.createVNode(vue.unref(_sfc_main$Z), {
|
|
1502
1502
|
thin: "",
|
|
1503
1503
|
value: currentView.value,
|
|
1504
1504
|
iconEnd: "keyboard_arrow_down",
|
|
@@ -1506,7 +1506,7 @@ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1506
1506
|
}, {
|
|
1507
1507
|
default: vue.withCtx(() => [
|
|
1508
1508
|
(vue.openBlock(), vue.createElementBlock(vue.Fragment, null, vue.renderList(views, (_2, key) => {
|
|
1509
|
-
return vue.createVNode(vue.unref(_sfc_main$
|
|
1509
|
+
return vue.createVNode(vue.unref(_sfc_main$j), {
|
|
1510
1510
|
key,
|
|
1511
1511
|
title: key,
|
|
1512
1512
|
onClick: ($event) => handleViewChange(key)
|
|
@@ -1569,12 +1569,12 @@ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1569
1569
|
};
|
|
1570
1570
|
}
|
|
1571
1571
|
});
|
|
1572
|
-
const Index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1573
|
-
const _hoisted_1$
|
|
1572
|
+
const Index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-840b6594"]]);
|
|
1573
|
+
const _hoisted_1$U = {
|
|
1574
1574
|
key: 0,
|
|
1575
1575
|
class: "card_label"
|
|
1576
1576
|
};
|
|
1577
|
-
const _sfc_main$
|
|
1577
|
+
const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
|
|
1578
1578
|
__name: "Card",
|
|
1579
1579
|
props: {
|
|
1580
1580
|
label: {},
|
|
@@ -1603,7 +1603,7 @@ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1603
1603
|
}])
|
|
1604
1604
|
}, {
|
|
1605
1605
|
default: vue.withCtx(() => [
|
|
1606
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
1606
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$U, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
|
|
1607
1607
|
vue.renderSlot(_ctx.$slots, "default")
|
|
1608
1608
|
]),
|
|
1609
1609
|
_: 3
|
|
@@ -1613,15 +1613,15 @@ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1613
1613
|
};
|
|
1614
1614
|
}
|
|
1615
1615
|
});
|
|
1616
|
-
const _hoisted_1$
|
|
1617
|
-
const _hoisted_2$
|
|
1616
|
+
const _hoisted_1$T = ["dir"];
|
|
1617
|
+
const _hoisted_2$G = {
|
|
1618
1618
|
key: 0,
|
|
1619
1619
|
class: "dots"
|
|
1620
1620
|
};
|
|
1621
1621
|
const _hoisted_3$z = ["onClick"];
|
|
1622
1622
|
const GAP_PERCENT = 1;
|
|
1623
1623
|
const VELOCITY_SAMPLE_DURATION = 100;
|
|
1624
|
-
const _sfc_main$
|
|
1624
|
+
const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
|
|
1625
1625
|
__name: "Carousel",
|
|
1626
1626
|
props: {
|
|
1627
1627
|
autoHeight: { type: Boolean, default: false },
|
|
@@ -2055,7 +2055,7 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2055
2055
|
}, [
|
|
2056
2056
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
2057
2057
|
], 38),
|
|
2058
|
-
props2.dots && vue.unref(slideCount) > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
2058
|
+
props2.dots && vue.unref(slideCount) > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$G, [
|
|
2059
2059
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(slideCount), (i2) => {
|
|
2060
2060
|
return vue.openBlock(), vue.createElementBlock("span", {
|
|
2061
2061
|
key: i2,
|
|
@@ -2086,11 +2086,11 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2086
2086
|
}, void 0, true)
|
|
2087
2087
|
])
|
|
2088
2088
|
], 2)
|
|
2089
|
-
], 8, _hoisted_1$
|
|
2089
|
+
], 8, _hoisted_1$T);
|
|
2090
2090
|
};
|
|
2091
2091
|
}
|
|
2092
2092
|
});
|
|
2093
|
-
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2093
|
+
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-406c405d"]]);
|
|
2094
2094
|
function _isPlaceholder(a2) {
|
|
2095
2095
|
return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
|
|
2096
2096
|
}
|
|
@@ -8034,25 +8034,25 @@ var script = vue.defineComponent({
|
|
|
8034
8034
|
return { bar, canvas, direction, mouse };
|
|
8035
8035
|
}
|
|
8036
8036
|
});
|
|
8037
|
-
const _hoisted_1$
|
|
8037
|
+
const _hoisted_1$S = {
|
|
8038
8038
|
key: 0,
|
|
8039
8039
|
class: "layer-hover-bar"
|
|
8040
8040
|
};
|
|
8041
|
-
const _hoisted_2$
|
|
8041
|
+
const _hoisted_2$F = ["x", "y", "width", "height"];
|
|
8042
8042
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8043
|
-
return _ctx.mouse.hover ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$
|
|
8043
|
+
return _ctx.mouse.hover ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$S, [
|
|
8044
8044
|
vue.createElementVNode("rect", vue.mergeProps({ class: "hover-bar" }, _ctx.barStyle, {
|
|
8045
8045
|
x: _ctx.bar.x,
|
|
8046
8046
|
y: _ctx.bar.y,
|
|
8047
8047
|
width: _ctx.bar.width > 0 ? _ctx.bar.width : 0,
|
|
8048
8048
|
height: _ctx.bar.height > 0 ? _ctx.bar.height : 0
|
|
8049
|
-
}), null, 16, _hoisted_2$
|
|
8049
|
+
}), null, 16, _hoisted_2$F)
|
|
8050
8050
|
])) : vue.createCommentVNode("v-if", true);
|
|
8051
8051
|
}
|
|
8052
8052
|
script.render = render;
|
|
8053
8053
|
script.__file = "src/components/HoverBar/index.vue";
|
|
8054
8054
|
const BRAND_COLOR = "var(--bgl-primary)";
|
|
8055
|
-
const _sfc_main$
|
|
8055
|
+
const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
|
|
8056
8056
|
__name: "Lineart",
|
|
8057
8057
|
props: {
|
|
8058
8058
|
data: {},
|
|
@@ -8220,8 +8220,8 @@ ${indent}}`;
|
|
|
8220
8220
|
text: TextInput,
|
|
8221
8221
|
textarea: TextInput,
|
|
8222
8222
|
number: NumberInput,
|
|
8223
|
-
array: _sfc_main$
|
|
8224
|
-
color: _sfc_main$
|
|
8223
|
+
array: _sfc_main$U,
|
|
8224
|
+
color: _sfc_main$Q,
|
|
8225
8225
|
tel: TelInput,
|
|
8226
8226
|
select: SelectInput,
|
|
8227
8227
|
toggle: ToggleInput,
|
|
@@ -8229,9 +8229,9 @@ ${indent}}`;
|
|
|
8229
8229
|
richtext: RichText,
|
|
8230
8230
|
upload: UploadInput,
|
|
8231
8231
|
file: UploadInput,
|
|
8232
|
-
date: _sfc_main$
|
|
8232
|
+
date: _sfc_main$O,
|
|
8233
8233
|
tabs: TabsNav,
|
|
8234
|
-
form: _sfc_main$
|
|
8234
|
+
form: _sfc_main$W,
|
|
8235
8235
|
range: RangeInput,
|
|
8236
8236
|
email: EmailInput
|
|
8237
8237
|
};
|
|
@@ -8514,12 +8514,12 @@ function useTableData(options) {
|
|
|
8514
8514
|
schemaState: vue.computed(() => schemaState.value)
|
|
8515
8515
|
};
|
|
8516
8516
|
}
|
|
8517
|
-
const _hoisted_1$
|
|
8518
|
-
const _hoisted_2$
|
|
8517
|
+
const _hoisted_1$R = { class: "data-preview" };
|
|
8518
|
+
const _hoisted_2$E = {
|
|
8519
8519
|
key: 1,
|
|
8520
8520
|
class: "empty-preview"
|
|
8521
8521
|
};
|
|
8522
|
-
const _sfc_main
|
|
8522
|
+
const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
8523
8523
|
__name: "DataPreview",
|
|
8524
8524
|
props: {
|
|
8525
8525
|
modelValue: {},
|
|
@@ -8561,17 +8561,17 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
|
8561
8561
|
onUpdateModelValue: void 0
|
|
8562
8562
|
});
|
|
8563
8563
|
return (_ctx, _cache) => {
|
|
8564
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
8564
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$R, [
|
|
8565
8565
|
vue.unref(computedSchema) && vue.unref(computedSchema).length > 0 ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(vue.unref(computedSchema), (field) => {
|
|
8566
8566
|
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(renderField)(field, vue.unref(slots))), {
|
|
8567
8567
|
key: field.id
|
|
8568
8568
|
});
|
|
8569
|
-
}), 128)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
8569
|
+
}), 128)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$E, " No data to display "))
|
|
8570
8570
|
]);
|
|
8571
8571
|
};
|
|
8572
8572
|
}
|
|
8573
8573
|
});
|
|
8574
|
-
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
8574
|
+
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-d084907a"]]);
|
|
8575
8575
|
function useTableSelection(options) {
|
|
8576
8576
|
const allSelectorEl = vue.ref();
|
|
8577
8577
|
const computedSelectedItems = vue.computed(() => options.selectedItems.value);
|
|
@@ -9503,11 +9503,11 @@ function useTableVirtualization(options) {
|
|
|
9503
9503
|
registerLastItemObserver
|
|
9504
9504
|
};
|
|
9505
9505
|
}
|
|
9506
|
-
const _hoisted_1$
|
|
9506
|
+
const _hoisted_1$Q = {
|
|
9507
9507
|
key: 0,
|
|
9508
9508
|
class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
|
|
9509
9509
|
};
|
|
9510
|
-
const _hoisted_2$
|
|
9510
|
+
const _hoisted_2$D = { class: "infinite-wrapper" };
|
|
9511
9511
|
const _hoisted_3$x = { class: "row first-row" };
|
|
9512
9512
|
const _hoisted_4$l = { key: 0 };
|
|
9513
9513
|
const _hoisted_5$l = ["onClick"];
|
|
@@ -9516,7 +9516,7 @@ const _hoisted_7$d = ["onClick"];
|
|
|
9516
9516
|
const _hoisted_8$8 = { key: 0 };
|
|
9517
9517
|
const _hoisted_9$5 = ["value"];
|
|
9518
9518
|
const _hoisted_10$5 = { key: 1 };
|
|
9519
|
-
const _sfc_main
|
|
9519
|
+
const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
9520
9520
|
__name: "DataTable",
|
|
9521
9521
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
9522
9522
|
data: {},
|
|
@@ -9636,13 +9636,13 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
|
9636
9636
|
return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({ class: "table-list-wrap h-100" }, vue.unref(containerProps), {
|
|
9637
9637
|
class: { "loading-table": showLoading.value }
|
|
9638
9638
|
}), [
|
|
9639
|
-
showLoading.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
9639
|
+
showLoading.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$Q, _cache[4] || (_cache[4] = [
|
|
9640
9640
|
vue.createElementVNode("div", { class: "loading-table-animation fixed oval top-7" }, null, -1)
|
|
9641
9641
|
]))) : vue.createCommentVNode("", true),
|
|
9642
9642
|
vue.createElementVNode("div", vue.mergeProps(vue.unref(wrapperProps), {
|
|
9643
9643
|
class: { "pointer-events-none": showLoading.value }
|
|
9644
9644
|
}), [
|
|
9645
|
-
vue.createElementVNode("table", _hoisted_2$
|
|
9645
|
+
vue.createElementVNode("table", _hoisted_2$D, [
|
|
9646
9646
|
vue.createElementVNode("thead", _hoisted_3$x, [
|
|
9647
9647
|
vue.unref(isSelectable) ? (vue.openBlock(), vue.createElementBlock("th", _hoisted_4$l, [
|
|
9648
9648
|
vue.createElementVNode("input", {
|
|
@@ -9665,7 +9665,7 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
|
9665
9665
|
vue.createElementVNode("div", {
|
|
9666
9666
|
class: vue.normalizeClass(["list-arrows", { sorted: vue.unref(sortField) === (field == null ? void 0 : field.id) }])
|
|
9667
9667
|
}, [
|
|
9668
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
9668
|
+
vue.createVNode(vue.unref(_sfc_main$u), {
|
|
9669
9669
|
class: vue.normalizeClass({ desc: vue.unref(sortDirection) === "DESC" }),
|
|
9670
9670
|
icon: "keyboard_arrow_up"
|
|
9671
9671
|
}, null, 8, ["class"])
|
|
@@ -9725,7 +9725,7 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
|
9725
9725
|
};
|
|
9726
9726
|
}
|
|
9727
9727
|
});
|
|
9728
|
-
const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
9728
|
+
const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-979bbdcd"]]);
|
|
9729
9729
|
function useDraggable(options = {}) {
|
|
9730
9730
|
const isDragging = vue.ref(false);
|
|
9731
9731
|
const dragElement = vue.ref(null);
|
|
@@ -10200,7 +10200,7 @@ function useDraggable(options = {}) {
|
|
|
10200
10200
|
initDraggableContainer
|
|
10201
10201
|
};
|
|
10202
10202
|
}
|
|
10203
|
-
const _sfc_main$
|
|
10203
|
+
const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
10204
10204
|
__name: "Draggable",
|
|
10205
10205
|
props: {
|
|
10206
10206
|
modelValue: {},
|
|
@@ -12820,7 +12820,7 @@ const Gt = {
|
|
|
12820
12820
|
install: Ct,
|
|
12821
12821
|
options: h
|
|
12822
12822
|
};
|
|
12823
|
-
const _sfc_main$
|
|
12823
|
+
const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
12824
12824
|
__name: "Dropdown",
|
|
12825
12825
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
12826
12826
|
value: {},
|
|
@@ -12914,9 +12914,9 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
|
|
|
12914
12914
|
};
|
|
12915
12915
|
}
|
|
12916
12916
|
});
|
|
12917
|
-
const _hoisted_1$
|
|
12918
|
-
const _hoisted_2$
|
|
12919
|
-
const _sfc_main$
|
|
12917
|
+
const _hoisted_1$P = { class: "px-1 pt-025 pb-1" };
|
|
12918
|
+
const _hoisted_2$C = { class: "ms-1" };
|
|
12919
|
+
const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
|
|
12920
12920
|
__name: "FieldSetVue",
|
|
12921
12921
|
props: {
|
|
12922
12922
|
label: {},
|
|
@@ -12924,15 +12924,15 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
|
|
|
12924
12924
|
},
|
|
12925
12925
|
setup(__props) {
|
|
12926
12926
|
return (_ctx, _cache) => {
|
|
12927
|
-
return vue.openBlock(), vue.createElementBlock("fieldset", _hoisted_1$
|
|
12928
|
-
vue.createElementVNode("legend", _hoisted_2$
|
|
12927
|
+
return vue.openBlock(), vue.createElementBlock("fieldset", _hoisted_1$P, [
|
|
12928
|
+
vue.createElementVNode("legend", _hoisted_2$C, vue.toDisplayString(_ctx.legend || _ctx.label), 1),
|
|
12929
12929
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
12930
12930
|
]);
|
|
12931
12931
|
};
|
|
12932
12932
|
}
|
|
12933
12933
|
});
|
|
12934
|
-
const FieldSetVue = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12935
|
-
const _sfc_main$
|
|
12934
|
+
const FieldSetVue = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-f7e758e5"]]);
|
|
12935
|
+
const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
|
|
12936
12936
|
__name: "Flag",
|
|
12937
12937
|
props: {
|
|
12938
12938
|
country: {},
|
|
@@ -12962,7 +12962,7 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
|
|
|
12962
12962
|
};
|
|
12963
12963
|
}
|
|
12964
12964
|
});
|
|
12965
|
-
const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12965
|
+
const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-f99f1900"]]);
|
|
12966
12966
|
function getBaseField(id, labelOrRest = {}, rest = {}) {
|
|
12967
12967
|
if (typeof labelOrRest === "object") return { id, ...labelOrRest };
|
|
12968
12968
|
return { id, label: labelOrRest, ...rest };
|
|
@@ -13452,7 +13452,7 @@ function getNestedValue(obj, path, defaultValue = void 0) {
|
|
|
13452
13452
|
}
|
|
13453
13453
|
return current ?? defaultValue;
|
|
13454
13454
|
}
|
|
13455
|
-
const _sfc_main$
|
|
13455
|
+
const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
|
|
13456
13456
|
__name: "BagelForm",
|
|
13457
13457
|
props: {
|
|
13458
13458
|
modelValue: { default: void 0 },
|
|
@@ -13585,8 +13585,8 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
|
|
|
13585
13585
|
};
|
|
13586
13586
|
}
|
|
13587
13587
|
});
|
|
13588
|
-
const _hoisted_1$
|
|
13589
|
-
const _hoisted_2$
|
|
13588
|
+
const _hoisted_1$O = { class: "bgl-multi-step-form" };
|
|
13589
|
+
const _hoisted_2$B = {
|
|
13590
13590
|
key: 0,
|
|
13591
13591
|
class: "bgl-step-progress"
|
|
13592
13592
|
};
|
|
@@ -13598,7 +13598,7 @@ const _hoisted_5$k = {
|
|
|
13598
13598
|
};
|
|
13599
13599
|
const _hoisted_6$g = { class: "bgl-form-wrapper" };
|
|
13600
13600
|
const _hoisted_7$c = { class: "bgl-step-controls" };
|
|
13601
|
-
const _sfc_main$
|
|
13601
|
+
const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
|
|
13602
13602
|
__name: "BglMultiStepForm",
|
|
13603
13603
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
13604
13604
|
bagelFormProps: { default: () => ({}) },
|
|
@@ -13763,8 +13763,8 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
|
|
|
13763
13763
|
prevStep
|
|
13764
13764
|
});
|
|
13765
13765
|
return (_ctx, _cache) => {
|
|
13766
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
13767
|
-
_ctx.showProgress ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
13766
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$O, [
|
|
13767
|
+
_ctx.showProgress ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$B, [
|
|
13768
13768
|
vue.renderSlot(_ctx.$slots, "progress", vue.normalizeProps(vue.guardReactiveProps({
|
|
13769
13769
|
currentStep: currentStep.value,
|
|
13770
13770
|
totalSteps: numberOfSteps.value,
|
|
@@ -13803,7 +13803,7 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
|
|
|
13803
13803
|
ref: formContainer,
|
|
13804
13804
|
class: "bgl-form-container"
|
|
13805
13805
|
}, [
|
|
13806
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
13806
|
+
vue.createVNode(vue.unref(_sfc_main$W), vue.mergeProps({
|
|
13807
13807
|
ref_key: "formRef",
|
|
13808
13808
|
ref: formRef,
|
|
13809
13809
|
modelValue: formData.value,
|
|
@@ -13862,12 +13862,12 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
|
|
|
13862
13862
|
};
|
|
13863
13863
|
}
|
|
13864
13864
|
});
|
|
13865
|
-
const BglMultiStepForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13866
|
-
const _hoisted_1$
|
|
13865
|
+
const BglMultiStepForm = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-2b84dfc5"]]);
|
|
13866
|
+
const _hoisted_1$N = {
|
|
13867
13867
|
key: 0,
|
|
13868
13868
|
class: "label mb-05"
|
|
13869
13869
|
};
|
|
13870
|
-
const _hoisted_2$
|
|
13870
|
+
const _hoisted_2$A = { class: "ps-025 border-start mb-05" };
|
|
13871
13871
|
const _hoisted_3$v = {
|
|
13872
13872
|
key: 0,
|
|
13873
13873
|
class: "flex-center h-300px"
|
|
@@ -13881,7 +13881,7 @@ const _hoisted_5$j = {
|
|
|
13881
13881
|
class: "minimizedText txt14 p-025 opacity-7"
|
|
13882
13882
|
};
|
|
13883
13883
|
const _hoisted_6$f = { class: "bg-gray-80 -my-05 px-025 pt-065 pb-05 txt-center space-between flex column" };
|
|
13884
|
-
const _sfc_main$
|
|
13884
|
+
const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
|
|
13885
13885
|
__name: "FieldArray",
|
|
13886
13886
|
props: {
|
|
13887
13887
|
el: { default: "div" },
|
|
@@ -13967,10 +13967,10 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
|
13967
13967
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
13968
13968
|
class: vue.normalizeClass(props2.class)
|
|
13969
13969
|
}, [
|
|
13970
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_1$
|
|
13971
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
13970
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_1$N, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
|
|
13971
|
+
vue.createElementVNode("div", _hoisted_2$A, [
|
|
13972
13972
|
schemaState.value !== "loaded" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$v, [
|
|
13973
|
-
schemaState.value === "loading" ? (vue.openBlock(), vue.createBlock(vue.unref(Loading), { key: 0 })) : schemaState.value === "error" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
13973
|
+
schemaState.value === "loading" ? (vue.openBlock(), vue.createBlock(vue.unref(Loading), { key: 0 })) : schemaState.value === "error" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$u), {
|
|
13974
13974
|
key: 1,
|
|
13975
13975
|
icon: "error",
|
|
13976
13976
|
color: "red"
|
|
@@ -13985,7 +13985,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
|
13985
13985
|
thin: "",
|
|
13986
13986
|
class: vue.normalizeClass(["mb-05 itemBox transition ps-05 pb-025 pt-025 radius-05 gap-05 overflow-hidden", { minimized: minimizedItems.value[i2] }])
|
|
13987
13987
|
}, [
|
|
13988
|
-
minimizedItems.value[i2] ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_5$j, vue.toDisplayString(_ctx.label) + " " + vue.toDisplayString(i2 + 1), 1)) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
13988
|
+
minimizedItems.value[i2] ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_5$j, vue.toDisplayString(_ctx.label) + " " + vue.toDisplayString(i2 + 1), 1)) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$W), {
|
|
13989
13989
|
key: 1,
|
|
13990
13990
|
"model-value": isPrimitiveType.value ? { value: item } : item,
|
|
13991
13991
|
schema: vue.unref(resolvedSchemaData),
|
|
@@ -14030,8 +14030,8 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
|
14030
14030
|
};
|
|
14031
14031
|
}
|
|
14032
14032
|
});
|
|
14033
|
-
const _hoisted_1$
|
|
14034
|
-
const _sfc_main$
|
|
14033
|
+
const _hoisted_1$M = { class: "primary-checkbox" };
|
|
14034
|
+
const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
14035
14035
|
__name: "Checkbox",
|
|
14036
14036
|
props: {
|
|
14037
14037
|
"modelValue": { type: Boolean, ...{ default: false } },
|
|
@@ -14041,7 +14041,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
|
14041
14041
|
setup(__props) {
|
|
14042
14042
|
const val = vue.useModel(__props, "modelValue");
|
|
14043
14043
|
return (_ctx, _cache) => {
|
|
14044
|
-
return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$
|
|
14044
|
+
return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$M, [
|
|
14045
14045
|
vue.renderSlot(_ctx.$slots, "label", {}, void 0, true),
|
|
14046
14046
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
14047
14047
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
|
|
@@ -14053,11 +14053,11 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
|
14053
14053
|
};
|
|
14054
14054
|
}
|
|
14055
14055
|
});
|
|
14056
|
-
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14057
|
-
const _hoisted_1$
|
|
14058
|
-
const _hoisted_2$
|
|
14056
|
+
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-73f1d9ad"]]);
|
|
14057
|
+
const _hoisted_1$L = ["title"];
|
|
14058
|
+
const _hoisted_2$z = ["id", "value", "required"];
|
|
14059
14059
|
const _hoisted_3$u = ["for"];
|
|
14060
|
-
const _sfc_main$
|
|
14060
|
+
const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
14061
14061
|
__name: "CheckInput",
|
|
14062
14062
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
14063
14063
|
label: {},
|
|
@@ -14090,7 +14090,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
14090
14090
|
required: _ctx.required,
|
|
14091
14091
|
type: "checkbox",
|
|
14092
14092
|
class: "me-05"
|
|
14093
|
-
}, null, 8, _hoisted_2$
|
|
14093
|
+
}, null, 8, _hoisted_2$z), [
|
|
14094
14094
|
[vue.vModelCheckbox, checked.value]
|
|
14095
14095
|
]),
|
|
14096
14096
|
vue.createElementVNode("label", {
|
|
@@ -14100,23 +14100,23 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
14100
14100
|
vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
|
|
14101
14101
|
], true)
|
|
14102
14102
|
], 8, _hoisted_3$u)
|
|
14103
|
-
], 10, _hoisted_1$
|
|
14103
|
+
], 10, _hoisted_1$L);
|
|
14104
14104
|
};
|
|
14105
14105
|
}
|
|
14106
14106
|
});
|
|
14107
|
-
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14108
|
-
const _hoisted_1$
|
|
14107
|
+
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-722373de"]]);
|
|
14108
|
+
const _hoisted_1$K = {
|
|
14109
14109
|
key: 0,
|
|
14110
14110
|
class: "label"
|
|
14111
14111
|
};
|
|
14112
|
-
const _hoisted_2$
|
|
14112
|
+
const _hoisted_2$y = { class: "editor-content-papa relative" };
|
|
14113
14113
|
const _hoisted_3$t = {
|
|
14114
14114
|
class: "code-display",
|
|
14115
14115
|
wrap: ""
|
|
14116
14116
|
};
|
|
14117
14117
|
const _hoisted_4$i = ["innerHTML"];
|
|
14118
14118
|
const _hoisted_5$i = ["value"];
|
|
14119
|
-
const _sfc_main$
|
|
14119
|
+
const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
14120
14120
|
__name: "Index",
|
|
14121
14121
|
props: {
|
|
14122
14122
|
language: { default: "html" },
|
|
@@ -14208,14 +14208,14 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
|
14208
14208
|
class: "code-editor-container ltr",
|
|
14209
14209
|
style: vue.normalizeStyle({ maxHeight: maxHeight.value })
|
|
14210
14210
|
}, [
|
|
14211
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_1$
|
|
14211
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_1$K, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
|
|
14212
14212
|
loaded.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
14213
14213
|
key: 1,
|
|
14214
14214
|
ref_key: "editorRef",
|
|
14215
14215
|
ref: editorRef,
|
|
14216
14216
|
class: "code-editor-grandpa"
|
|
14217
14217
|
}, [
|
|
14218
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
14218
|
+
vue.createElementVNode("div", _hoisted_2$y, [
|
|
14219
14219
|
vue.createElementVNode("pre", _hoisted_3$t, [
|
|
14220
14220
|
vue.createElementVNode("code", { innerHTML: formattedCode.value }, null, 8, _hoisted_4$i)
|
|
14221
14221
|
]),
|
|
@@ -14236,11 +14236,11 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
|
14236
14236
|
};
|
|
14237
14237
|
}
|
|
14238
14238
|
});
|
|
14239
|
-
const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14240
|
-
const _hoisted_1$
|
|
14241
|
-
const _hoisted_2$
|
|
14239
|
+
const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-6ab9613f"]]);
|
|
14240
|
+
const _hoisted_1$J = ["title"];
|
|
14241
|
+
const _hoisted_2$x = { class: "flex bg-input rounded px-025 colorInputPickWrap" };
|
|
14242
14242
|
const _hoisted_3$s = ["id", "placeholder", "required"];
|
|
14243
|
-
const _sfc_main$
|
|
14243
|
+
const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
14244
14244
|
__name: "ColorInput",
|
|
14245
14245
|
props: {
|
|
14246
14246
|
label: {},
|
|
@@ -14270,7 +14270,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
14270
14270
|
}, [
|
|
14271
14271
|
vue.createElementVNode("label", null, [
|
|
14272
14272
|
vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
|
|
14273
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
14273
|
+
vue.createElementVNode("div", _hoisted_2$x, [
|
|
14274
14274
|
vue.withDirectives(vue.createElementVNode("input", vue.mergeProps({
|
|
14275
14275
|
id: _ctx.id,
|
|
14276
14276
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputVal.value = $event),
|
|
@@ -14300,7 +14300,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
14300
14300
|
}, null, 8, ["class"])
|
|
14301
14301
|
])
|
|
14302
14302
|
])
|
|
14303
|
-
], 10, _hoisted_1$
|
|
14303
|
+
], 10, _hoisted_1$J);
|
|
14304
14304
|
};
|
|
14305
14305
|
}
|
|
14306
14306
|
});
|
|
@@ -14821,8 +14821,8 @@ class Time {
|
|
|
14821
14821
|
return number2 < 10 ? `0${number2}` : String(number2);
|
|
14822
14822
|
}
|
|
14823
14823
|
}
|
|
14824
|
-
const _hoisted_1$
|
|
14825
|
-
const _hoisted_2$
|
|
14824
|
+
const _hoisted_1$I = { class: "ltr flex gap-075 m_flex-wrap calendar-container justify-content-center h-100p" };
|
|
14825
|
+
const _hoisted_2$w = { class: "calendar-section m_border-none pe-05 m_p-0" };
|
|
14826
14826
|
const _hoisted_3$r = { class: "flex space-between pb-1" };
|
|
14827
14827
|
const _hoisted_4$h = { class: "flex gap-05" };
|
|
14828
14828
|
const _hoisted_5$h = { class: "month-year" };
|
|
@@ -14844,7 +14844,7 @@ const _hoisted_10$4 = {
|
|
|
14844
14844
|
class: "time-picker border-start flex column gap-1 w-120px px-025"
|
|
14845
14845
|
};
|
|
14846
14846
|
const _hoisted_11$4 = { class: "flex gap-025" };
|
|
14847
|
-
const _sfc_main$
|
|
14847
|
+
const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
14848
14848
|
__name: "DatePicker",
|
|
14849
14849
|
props: {
|
|
14850
14850
|
modelValue: {},
|
|
@@ -15054,8 +15054,8 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
|
15054
15054
|
}
|
|
15055
15055
|
}
|
|
15056
15056
|
return (_ctx, _cache) => {
|
|
15057
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
15058
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
15057
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$I, [
|
|
15058
|
+
vue.createElementVNode("div", _hoisted_2$w, [
|
|
15059
15059
|
vue.createElementVNode("div", _hoisted_3$r, [
|
|
15060
15060
|
currentView.value === "days" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
15061
15061
|
vue.createVNode(vue.unref(Btn), {
|
|
@@ -15184,14 +15184,14 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
|
15184
15184
|
};
|
|
15185
15185
|
}
|
|
15186
15186
|
});
|
|
15187
|
-
const DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15188
|
-
const _hoisted_1$
|
|
15189
|
-
const _hoisted_2$
|
|
15187
|
+
const DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-8b7bd9b8"]]);
|
|
15188
|
+
const _hoisted_1$H = ["title"];
|
|
15189
|
+
const _hoisted_2$v = { key: 0 };
|
|
15190
15190
|
const _hoisted_3$q = {
|
|
15191
15191
|
key: 0,
|
|
15192
15192
|
class: "required"
|
|
15193
15193
|
};
|
|
15194
|
-
const _sfc_main$
|
|
15194
|
+
const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
15195
15195
|
__name: "DateInput",
|
|
15196
15196
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
15197
15197
|
required: { type: Boolean },
|
|
@@ -15307,11 +15307,11 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
15307
15307
|
onFocusin: _cache[4] || (_cache[4] = //@ts-ignore
|
|
15308
15308
|
(...args) => vue.unref(handleFocus) && vue.unref(handleFocus)(...args))
|
|
15309
15309
|
}, [
|
|
15310
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
15310
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$v, [
|
|
15311
15311
|
vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
|
|
15312
15312
|
_ctx.required ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$q, "*")) : vue.createCommentVNode("", true)
|
|
15313
15313
|
])) : vue.createCommentVNode("", true),
|
|
15314
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
15314
|
+
vue.createVNode(vue.unref(_sfc_main$Z), {
|
|
15315
15315
|
shown: isOpen.value,
|
|
15316
15316
|
placement: "bottom-start",
|
|
15317
15317
|
autoHide: false,
|
|
@@ -15366,7 +15366,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
15366
15366
|
]),
|
|
15367
15367
|
_: 1
|
|
15368
15368
|
}, 8, ["shown"])
|
|
15369
|
-
], 42, _hoisted_1$
|
|
15369
|
+
], 42, _hoisted_1$H);
|
|
15370
15370
|
};
|
|
15371
15371
|
}
|
|
15372
15372
|
});
|
|
@@ -15375,8 +15375,8 @@ const IMAGE_FORMATS_REGEXP = new RegExp(`(${IMAGE_FORMATS.join("|")})$`, "i");
|
|
|
15375
15375
|
const VIDEO_FORMATS = ["mp4", "webm", "ogg", "mov", "avi", "flv", "wmv", "mkv", "ts", "m3u8"];
|
|
15376
15376
|
const VIDEO_FORMATS_REGEXP = new RegExp(`(${VIDEO_FORMATS.join("|")})$`, "i");
|
|
15377
15377
|
const EMAIL_REGEX = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\])|(([a-z\-0-9]+\.)+[a-z]{2,}))$/i;
|
|
15378
|
-
const _hoisted_1$
|
|
15379
|
-
const _hoisted_2$
|
|
15378
|
+
const _hoisted_1$G = ["title"];
|
|
15379
|
+
const _hoisted_2$u = ["for"];
|
|
15380
15380
|
const _hoisted_3$p = { class: "flex" };
|
|
15381
15381
|
const _hoisted_4$g = { key: 0 };
|
|
15382
15382
|
const _hoisted_5$g = {
|
|
@@ -15388,7 +15388,7 @@ const _hoisted_6$d = {
|
|
|
15388
15388
|
class: "validating"
|
|
15389
15389
|
};
|
|
15390
15390
|
const _hoisted_7$a = ["id", "name", "title", "placeholder", "disabled", "required"];
|
|
15391
|
-
const _sfc_main$
|
|
15391
|
+
const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
15392
15392
|
__name: "EmailInput",
|
|
15393
15393
|
props: {
|
|
15394
15394
|
id: {},
|
|
@@ -15685,23 +15685,23 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
15685
15685
|
[vue.vModelText, vue.unref(inputVal)],
|
|
15686
15686
|
[_directive_pattern, void 0, "lower"]
|
|
15687
15687
|
]),
|
|
15688
|
-
_ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
15688
|
+
_ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$u), {
|
|
15689
15689
|
key: 0,
|
|
15690
15690
|
class: "iconStart",
|
|
15691
15691
|
icon: _ctx.iconStart
|
|
15692
15692
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
15693
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
15693
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$u), {
|
|
15694
15694
|
key: 1,
|
|
15695
15695
|
icon: _ctx.icon
|
|
15696
15696
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true)
|
|
15697
|
-
], 8, _hoisted_2$
|
|
15698
|
-
], 10, _hoisted_1$
|
|
15697
|
+
], 8, _hoisted_2$u)
|
|
15698
|
+
], 10, _hoisted_1$G);
|
|
15699
15699
|
};
|
|
15700
15700
|
}
|
|
15701
15701
|
});
|
|
15702
|
-
const EmailInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15703
|
-
const _hoisted_1$
|
|
15704
|
-
const _hoisted_2$
|
|
15702
|
+
const EmailInput = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-e3d13caa"]]);
|
|
15703
|
+
const _hoisted_1$F = { class: "bagel-input" };
|
|
15704
|
+
const _hoisted_2$t = {
|
|
15705
15705
|
key: 0,
|
|
15706
15706
|
placeholder: "required",
|
|
15707
15707
|
type: "text",
|
|
@@ -15730,8 +15730,8 @@ const _hoisted_12$3 = {
|
|
|
15730
15730
|
key: 1,
|
|
15731
15731
|
class: "bgl-single-preview"
|
|
15732
15732
|
};
|
|
15733
|
-
const _hoisted_13$
|
|
15734
|
-
const _hoisted_14$
|
|
15733
|
+
const _hoisted_13$2 = { class: "position-start m-05 flex opacity-7 z-99 gap-025" };
|
|
15734
|
+
const _hoisted_14$2 = {
|
|
15735
15735
|
key: 0,
|
|
15736
15736
|
class: "h-100"
|
|
15737
15737
|
};
|
|
@@ -15741,7 +15741,7 @@ const _hoisted_15$1 = {
|
|
|
15741
15741
|
};
|
|
15742
15742
|
const _hoisted_16$1 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
|
|
15743
15743
|
const _hoisted_17$1 = { class: "pretty balance" };
|
|
15744
|
-
const _sfc_main$
|
|
15744
|
+
const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
15745
15745
|
__name: "FileUpload",
|
|
15746
15746
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
15747
15747
|
label: {},
|
|
@@ -15916,10 +15916,10 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
15916
15916
|
return (_ctx, _cache) => {
|
|
15917
15917
|
const _directive_tooltip = vue.resolveDirective("tooltip");
|
|
15918
15918
|
const _directive_lightbox = vue.resolveDirective("lightbox");
|
|
15919
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
15919
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$F, [
|
|
15920
15920
|
vue.createElementVNode("label", null, vue.toDisplayString(_ctx.label), 1),
|
|
15921
|
-
_ctx.required && !storageFiles.value.length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$
|
|
15922
|
-
_ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
15921
|
+
_ctx.required && !storageFiles.value.length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$t)) : vue.createCommentVNode("", true),
|
|
15922
|
+
_ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$13), {
|
|
15923
15923
|
key: 1,
|
|
15924
15924
|
outline: "",
|
|
15925
15925
|
class: "flex p-05 gap-1",
|
|
@@ -15975,7 +15975,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
15975
15975
|
[_directive_lightbox, { src: file.url, download: true }]
|
|
15976
15976
|
]),
|
|
15977
15977
|
vue.createElementVNode("div", _hoisted_5$f, [
|
|
15978
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
15978
|
+
vue.createVNode(vue.unref(_sfc_main$u), {
|
|
15979
15979
|
icon: "draft",
|
|
15980
15980
|
size: 1.5
|
|
15981
15981
|
}),
|
|
@@ -16026,7 +16026,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
16026
16026
|
class: "multi-preview",
|
|
16027
16027
|
src: file.url,
|
|
16028
16028
|
alt: ""
|
|
16029
|
-
}, null, 8, ["src"])) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
16029
|
+
}, null, 8, ["src"])) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$u), {
|
|
16030
16030
|
key: 1,
|
|
16031
16031
|
icon: "draft",
|
|
16032
16032
|
class: "multi-preview"
|
|
@@ -16056,7 +16056,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
16056
16056
|
src: fileToUrl(fileQ.file),
|
|
16057
16057
|
alt: ""
|
|
16058
16058
|
}, null, 8, ["width", "src"])) : vue.createCommentVNode("", true)
|
|
16059
|
-
], 64)) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
16059
|
+
], 64)) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$u), {
|
|
16060
16060
|
key: 1,
|
|
16061
16061
|
icon: "draft",
|
|
16062
16062
|
class: "multi-preview"
|
|
@@ -16067,7 +16067,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
16067
16067
|
style: vue.normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
|
|
16068
16068
|
}, [
|
|
16069
16069
|
fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_11$3, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
|
|
16070
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
16070
|
+
vue.createVNode(vue.unref(_sfc_main$u), {
|
|
16071
16071
|
class: "success",
|
|
16072
16072
|
icon: "check"
|
|
16073
16073
|
})
|
|
@@ -16081,7 +16081,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
16081
16081
|
key: file.id,
|
|
16082
16082
|
class: vue.normalizeClass(["single-image-item-preview", { "bgl_fill-image": _ctx.fill }])
|
|
16083
16083
|
}, [
|
|
16084
|
-
vue.createElementVNode("div", _hoisted_13$
|
|
16084
|
+
vue.createElementVNode("div", _hoisted_13$2, [
|
|
16085
16085
|
vue.withDirectives(vue.createVNode(vue.unref(Btn), {
|
|
16086
16086
|
color: "gray",
|
|
16087
16087
|
thin: "",
|
|
@@ -16111,7 +16111,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
16111
16111
|
[_directive_tooltip, "Download"]
|
|
16112
16112
|
])
|
|
16113
16113
|
]),
|
|
16114
|
-
isImage(file.extension || file.url) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14$
|
|
16114
|
+
isImage(file.extension || file.url) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14$2, [
|
|
16115
16115
|
vue.withDirectives(vue.createVNode(vue.unref(Image$1), {
|
|
16116
16116
|
class: "single-preview",
|
|
16117
16117
|
src: file.url,
|
|
@@ -16119,7 +16119,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
16119
16119
|
}, null, 8, ["src"]), [
|
|
16120
16120
|
[_directive_lightbox, { src: file.url, download: true }]
|
|
16121
16121
|
])
|
|
16122
|
-
])) : vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
16122
|
+
])) : vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$u), {
|
|
16123
16123
|
key: 1,
|
|
16124
16124
|
size: 4,
|
|
16125
16125
|
weight: "2",
|
|
@@ -16140,7 +16140,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
16140
16140
|
style: vue.normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
|
|
16141
16141
|
}, [
|
|
16142
16142
|
fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_15$1, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
|
|
16143
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
16143
|
+
vue.createVNode(vue.unref(_sfc_main$u), {
|
|
16144
16144
|
class: "success",
|
|
16145
16145
|
icon: "check"
|
|
16146
16146
|
})
|
|
@@ -16164,7 +16164,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
16164
16164
|
browse
|
|
16165
16165
|
}, () => [
|
|
16166
16166
|
vue.createElementVNode("p", _hoisted_16$1, [
|
|
16167
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
16167
|
+
vue.createVNode(vue.unref(_sfc_main$u), { icon: "upload_2" }),
|
|
16168
16168
|
vue.createElementVNode("span", _hoisted_17$1, vue.toDisplayString(_ctx.dropPlaceholder || "Drag and Drop files here or click to upload"), 1)
|
|
16169
16169
|
])
|
|
16170
16170
|
], true) : vue.createCommentVNode("", true)
|
|
@@ -16173,11 +16173,11 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
16173
16173
|
};
|
|
16174
16174
|
}
|
|
16175
16175
|
});
|
|
16176
|
-
const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16177
|
-
const _hoisted_1$
|
|
16178
|
-
const _hoisted_2$
|
|
16176
|
+
const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-50fd0597"]]);
|
|
16177
|
+
const _hoisted_1$E = ["title"];
|
|
16178
|
+
const _hoisted_2$s = { key: 0 };
|
|
16179
16179
|
const _hoisted_3$n = ["value", "placeholder"];
|
|
16180
|
-
const _sfc_main$
|
|
16180
|
+
const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
16181
16181
|
__name: "JSONInput",
|
|
16182
16182
|
props: {
|
|
16183
16183
|
description: { default: "" },
|
|
@@ -16200,7 +16200,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
16200
16200
|
class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
16201
16201
|
title: _ctx.description
|
|
16202
16202
|
}, [
|
|
16203
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
16203
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$s, [
|
|
16204
16204
|
vue.createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
16205
16205
|
])) : vue.createCommentVNode("", true),
|
|
16206
16206
|
vue.createElementVNode("textarea", {
|
|
@@ -16209,13 +16209,13 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
16209
16209
|
placeholder: _ctx.placeholder,
|
|
16210
16210
|
onInput: handleInput
|
|
16211
16211
|
}, null, 42, _hoisted_3$n)
|
|
16212
|
-
], 10, _hoisted_1$
|
|
16212
|
+
], 10, _hoisted_1$E);
|
|
16213
16213
|
};
|
|
16214
16214
|
}
|
|
16215
16215
|
});
|
|
16216
|
-
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16217
|
-
const _hoisted_1$
|
|
16218
|
-
const _hoisted_2$
|
|
16216
|
+
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-1cbaeab2"]]);
|
|
16217
|
+
const _hoisted_1$D = ["for"];
|
|
16218
|
+
const _hoisted_2$r = {
|
|
16219
16219
|
key: 0,
|
|
16220
16220
|
class: "block"
|
|
16221
16221
|
};
|
|
@@ -16228,7 +16228,7 @@ const _hoisted_5$e = {
|
|
|
16228
16228
|
key: 5,
|
|
16229
16229
|
class: "flex column spinner"
|
|
16230
16230
|
};
|
|
16231
|
-
const _sfc_main$
|
|
16231
|
+
const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
16232
16232
|
__name: "NumberInput",
|
|
16233
16233
|
props: {
|
|
16234
16234
|
modelValue: {},
|
|
@@ -16333,7 +16333,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
16333
16333
|
}])
|
|
16334
16334
|
}, [
|
|
16335
16335
|
vue.createElementVNode("div", { for: _ctx.id }, [
|
|
16336
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
16336
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$r, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
|
|
16337
16337
|
vue.createElementVNode("div", {
|
|
16338
16338
|
class: vue.normalizeClass(["gap-025", { "column flex": _ctx.layout === "vertical", "flex": _ctx.layout === "horizontal" }])
|
|
16339
16339
|
}, [
|
|
@@ -16383,12 +16383,12 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
16383
16383
|
]
|
|
16384
16384
|
]),
|
|
16385
16385
|
_ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_4$e, vue.toDisplayString(_ctx.helptext), 1)) : vue.createCommentVNode("", true),
|
|
16386
|
-
_ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
16386
|
+
_ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$u), {
|
|
16387
16387
|
key: 2,
|
|
16388
16388
|
class: "iconStart",
|
|
16389
16389
|
icon: _ctx.iconStart
|
|
16390
16390
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
16391
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
16391
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$u), {
|
|
16392
16392
|
key: 3,
|
|
16393
16393
|
icon: _ctx.icon
|
|
16394
16394
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
@@ -16421,14 +16421,14 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
16421
16421
|
}, null, 8, ["disabled"])
|
|
16422
16422
|
])) : vue.createCommentVNode("", true)
|
|
16423
16423
|
], 2)
|
|
16424
|
-
], 8, _hoisted_1$
|
|
16424
|
+
], 8, _hoisted_1$D)
|
|
16425
16425
|
], 2);
|
|
16426
16426
|
};
|
|
16427
16427
|
}
|
|
16428
16428
|
});
|
|
16429
|
-
const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16430
|
-
const _hoisted_1$
|
|
16431
|
-
const _sfc_main$
|
|
16429
|
+
const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-78609eff"]]);
|
|
16430
|
+
const _hoisted_1$C = ["value", "autofocus", "onKeydown", "onPaste"];
|
|
16431
|
+
const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
16432
16432
|
__name: "OTP",
|
|
16433
16433
|
props: {
|
|
16434
16434
|
digitCount: {},
|
|
@@ -16532,16 +16532,16 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
|
16532
16532
|
onPaste: ($event) => handlePaste($event, ind),
|
|
16533
16533
|
onKeyup: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
16534
16534
|
}, ["prevent"]))
|
|
16535
|
-
}, null, 40, _hoisted_1$
|
|
16535
|
+
}, null, 40, _hoisted_1$C);
|
|
16536
16536
|
}), 128))
|
|
16537
16537
|
], 512);
|
|
16538
16538
|
};
|
|
16539
16539
|
}
|
|
16540
16540
|
});
|
|
16541
|
-
const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16542
|
-
const _hoisted_1$
|
|
16543
|
-
const _hoisted_2$
|
|
16544
|
-
const _sfc_main$
|
|
16541
|
+
const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-ab0a46bf"]]);
|
|
16542
|
+
const _hoisted_1$B = { class: "relative passwordInput" };
|
|
16543
|
+
const _hoisted_2$q = { class: "m-password position-bottom-end flex column justify-content-center" };
|
|
16544
|
+
const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
16545
16545
|
__name: "PasswordInput",
|
|
16546
16546
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
16547
16547
|
id: {},
|
|
@@ -16581,7 +16581,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
16581
16581
|
const toggleShowPwdIcon = vue.computed(() => showPwd.value ? "visibility_off" : "visibility");
|
|
16582
16582
|
const inputType = vue.computed(() => showPwd.value ? "text" : "password");
|
|
16583
16583
|
return (_ctx, _cache) => {
|
|
16584
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
16584
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
|
|
16585
16585
|
vue.createVNode(vue.unref(TextInput), vue.mergeProps({
|
|
16586
16586
|
modelValue: password.value,
|
|
16587
16587
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => password.value = $event)
|
|
@@ -16590,7 +16590,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
16590
16590
|
class: "mb-0",
|
|
16591
16591
|
name: props2.name
|
|
16592
16592
|
}), null, 16, ["modelValue", "type", "name"]),
|
|
16593
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
16593
|
+
vue.createElementVNode("div", _hoisted_2$q, [
|
|
16594
16594
|
vue.createVNode(vue.unref(Btn), {
|
|
16595
16595
|
flat: "",
|
|
16596
16596
|
thin: "",
|
|
@@ -16603,8 +16603,8 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
16603
16603
|
};
|
|
16604
16604
|
}
|
|
16605
16605
|
});
|
|
16606
|
-
const _hoisted_1$
|
|
16607
|
-
const _hoisted_2$
|
|
16606
|
+
const _hoisted_1$A = ["for"];
|
|
16607
|
+
const _hoisted_2$p = ["id", "disabled", "name", "value", "required"];
|
|
16608
16608
|
const _hoisted_3$l = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
|
|
16609
16609
|
const _hoisted_4$d = ["src", "alt"];
|
|
16610
16610
|
const _hoisted_5$d = { class: "" };
|
|
@@ -16616,7 +16616,7 @@ const _hoisted_7$8 = {
|
|
|
16616
16616
|
key: 1,
|
|
16617
16617
|
class: "txt-gray txt-12 m-0"
|
|
16618
16618
|
};
|
|
16619
|
-
const _sfc_main$
|
|
16619
|
+
const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
16620
16620
|
__name: "RadioGroup",
|
|
16621
16621
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
16622
16622
|
id: {},
|
|
@@ -16677,7 +16677,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
16677
16677
|
onFocus: handleFocus,
|
|
16678
16678
|
onBlur: handleBlur,
|
|
16679
16679
|
onChange: handleChange
|
|
16680
|
-
}, null, 40, _hoisted_2$
|
|
16680
|
+
}, null, 40, _hoisted_2$p), [
|
|
16681
16681
|
[vue.vModelRadio, selectedOption.value]
|
|
16682
16682
|
]),
|
|
16683
16683
|
vue.createElementVNode("div", _hoisted_3$l, [
|
|
@@ -16702,19 +16702,19 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
16702
16702
|
icon: "delete",
|
|
16703
16703
|
onClick: ($event) => _ctx.$emit("delete", opt)
|
|
16704
16704
|
}, null, 8, ["onClick"])) : vue.createCommentVNode("", true)
|
|
16705
|
-
], 8, _hoisted_1$
|
|
16705
|
+
], 8, _hoisted_1$A);
|
|
16706
16706
|
}), 128))
|
|
16707
16707
|
], 2);
|
|
16708
16708
|
};
|
|
16709
16709
|
}
|
|
16710
16710
|
});
|
|
16711
|
-
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16712
|
-
const _hoisted_1$
|
|
16713
|
-
const _hoisted_2$
|
|
16711
|
+
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-adc49780"]]);
|
|
16712
|
+
const _hoisted_1$z = { class: "bagel-input" };
|
|
16713
|
+
const _hoisted_2$o = { class: "pb-025" };
|
|
16714
16714
|
const _hoisted_3$k = { class: "flex gap-05 flex-wrap" };
|
|
16715
16715
|
const _hoisted_4$c = ["id", "name", "value", "checked"];
|
|
16716
16716
|
const _hoisted_5$c = ["for"];
|
|
16717
|
-
const _sfc_main$
|
|
16717
|
+
const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
16718
16718
|
__name: "RadioPillsInput",
|
|
16719
16719
|
props: {
|
|
16720
16720
|
options: {},
|
|
@@ -16757,8 +16757,8 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
16757
16757
|
selectedValue.value = props2.modelValue;
|
|
16758
16758
|
});
|
|
16759
16759
|
return (_ctx, _cache) => {
|
|
16760
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
16761
|
-
vue.createElementVNode("label", _hoisted_2$
|
|
16760
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$z, [
|
|
16761
|
+
vue.createElementVNode("label", _hoisted_2$o, vue.toDisplayString(_ctx.label), 1),
|
|
16762
16762
|
vue.createElementVNode("div", _hoisted_3$k, [
|
|
16763
16763
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.options, (option2, index2) => {
|
|
16764
16764
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -16783,9 +16783,9 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
16783
16783
|
};
|
|
16784
16784
|
}
|
|
16785
16785
|
});
|
|
16786
|
-
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16787
|
-
const _hoisted_1$
|
|
16788
|
-
const _hoisted_2$
|
|
16786
|
+
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-68b4cdd0"]]);
|
|
16787
|
+
const _hoisted_1$y = ["dir"];
|
|
16788
|
+
const _hoisted_2$n = {
|
|
16789
16789
|
key: 0,
|
|
16790
16790
|
class: "label"
|
|
16791
16791
|
};
|
|
@@ -16794,7 +16794,7 @@ const _hoisted_4$b = ["id", "value", "min", "max", "step", "required", "disabled
|
|
|
16794
16794
|
const _hoisted_5$b = ["value", "min", "max", "step", "required", "disabled"];
|
|
16795
16795
|
const _hoisted_6$a = { class: "track absolute pointer-events-none overflow-hidden round" };
|
|
16796
16796
|
const _hoisted_7$7 = { class: "txt-center txt-14 user-select-none range-slider-txt flex space-between opacity-4 mx-05" };
|
|
16797
|
-
const _sfc_main$
|
|
16797
|
+
const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
16798
16798
|
__name: "RangeInput",
|
|
16799
16799
|
props: {
|
|
16800
16800
|
modelValue: {},
|
|
@@ -16858,7 +16858,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
16858
16858
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
16859
16859
|
dir: _ctx.rtl ? "rtl" : "ltr"
|
|
16860
16860
|
}, [
|
|
16861
|
-
props2.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
16861
|
+
props2.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$n, vue.toDisplayString(props2.label), 1)) : vue.createCommentVNode("", true),
|
|
16862
16862
|
vue.createElementVNode("div", _hoisted_3$j, [
|
|
16863
16863
|
vue.createElementVNode("input", {
|
|
16864
16864
|
id: _ctx.id,
|
|
@@ -16950,11 +16950,11 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
16950
16950
|
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(formatValue)(vue.unref(max2))), 1)
|
|
16951
16951
|
], true)
|
|
16952
16952
|
])
|
|
16953
|
-
], 8, _hoisted_1$
|
|
16953
|
+
], 8, _hoisted_1$y);
|
|
16954
16954
|
};
|
|
16955
16955
|
}
|
|
16956
16956
|
});
|
|
16957
|
-
const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16957
|
+
const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-46e22f3e"]]);
|
|
16958
16958
|
const basicToolbarConfig = [
|
|
16959
16959
|
"h2",
|
|
16960
16960
|
"h3",
|
|
@@ -17020,11 +17020,11 @@ const toolbarOptions = [
|
|
|
17020
17020
|
{ name: "separator" },
|
|
17021
17021
|
{ name: "fullScreen", label: "Full Screen", icon: "fullscreen", class: "ms-auto" }
|
|
17022
17022
|
];
|
|
17023
|
-
const _hoisted_1$
|
|
17024
|
-
const _hoisted_2$
|
|
17023
|
+
const _hoisted_1$x = { class: "grid grid-wrap p-05" };
|
|
17024
|
+
const _hoisted_2$m = ["onMousemove", "onClick"];
|
|
17025
17025
|
const _hoisted_3$i = { class: "txt-center txt-12 color-gray" };
|
|
17026
17026
|
const fb = 1;
|
|
17027
|
-
const _sfc_main$
|
|
17027
|
+
const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
17028
17028
|
__name: "gridBox",
|
|
17029
17029
|
props: {
|
|
17030
17030
|
gridSize: {}
|
|
@@ -17045,7 +17045,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
17045
17045
|
return hoveredCol.value > base - 1 ? enlarge : base;
|
|
17046
17046
|
});
|
|
17047
17047
|
return (_ctx, _cache) => {
|
|
17048
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17048
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$x, [
|
|
17049
17049
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(rowSize.value, (row) => {
|
|
17050
17050
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
17051
17051
|
key: `row-${row}`,
|
|
@@ -17072,7 +17072,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
17072
17072
|
hoveredCol.value = col;
|
|
17073
17073
|
},
|
|
17074
17074
|
onClick: ($event) => emit2("select", `${row}x${col}`)
|
|
17075
|
-
}, null, 42, _hoisted_2$
|
|
17075
|
+
}, null, 42, _hoisted_2$m);
|
|
17076
17076
|
}), 128))
|
|
17077
17077
|
], 32);
|
|
17078
17078
|
}), 128)),
|
|
@@ -17081,12 +17081,12 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
17081
17081
|
};
|
|
17082
17082
|
}
|
|
17083
17083
|
});
|
|
17084
|
-
const GridBox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17085
|
-
const _hoisted_1$
|
|
17084
|
+
const GridBox = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-2f424c9c"]]);
|
|
17085
|
+
const _hoisted_1$w = {
|
|
17086
17086
|
class: "toolbar flex gap-025 pb-05 flex-wrap",
|
|
17087
17087
|
role: "toolbar"
|
|
17088
17088
|
};
|
|
17089
|
-
const _sfc_main$
|
|
17089
|
+
const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
17090
17090
|
__name: "EditorToolbar",
|
|
17091
17091
|
props: {
|
|
17092
17092
|
config: { default: basicToolbarConfig },
|
|
@@ -17101,10 +17101,10 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
17101
17101
|
}
|
|
17102
17102
|
return (_ctx, _cache) => {
|
|
17103
17103
|
const _directive_tooltip = vue.resolveDirective("tooltip");
|
|
17104
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
17104
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [
|
|
17105
17105
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.config.map(configToOption).filter(Boolean), (action, index2) => {
|
|
17106
17106
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
|
|
17107
|
-
action.name === "insertTable" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
17107
|
+
action.name === "insertTable" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$Z), {
|
|
17108
17108
|
key: 0,
|
|
17109
17109
|
placement: "bottom-start",
|
|
17110
17110
|
thin: "",
|
|
@@ -17142,7 +17142,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
17142
17142
|
};
|
|
17143
17143
|
}
|
|
17144
17144
|
});
|
|
17145
|
-
const EditorToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17145
|
+
const EditorToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-7e9466dc"]]);
|
|
17146
17146
|
function isStyleActive(style, doc) {
|
|
17147
17147
|
const selection = doc.getSelection();
|
|
17148
17148
|
if (!selection || !selection.rangeCount) return false;
|
|
@@ -18709,13 +18709,13 @@ function isNodeEmpty(node) {
|
|
|
18709
18709
|
if (brElements.length === 0) return true;
|
|
18710
18710
|
return brElements.length === 1 && node.childNodes.length <= 2;
|
|
18711
18711
|
}
|
|
18712
|
-
const _hoisted_1$
|
|
18713
|
-
const _hoisted_2$
|
|
18712
|
+
const _hoisted_1$v = { class: "bagel-input" };
|
|
18713
|
+
const _hoisted_2$l = { class: "content-area radius-05" };
|
|
18714
18714
|
const _hoisted_3$h = {
|
|
18715
18715
|
key: 1,
|
|
18716
18716
|
class: "flex"
|
|
18717
18717
|
};
|
|
18718
|
-
const _sfc_main$
|
|
18718
|
+
const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
18719
18719
|
__name: "index",
|
|
18720
18720
|
props: {
|
|
18721
18721
|
modelValue: {},
|
|
@@ -18836,7 +18836,7 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
18836
18836
|
});
|
|
18837
18837
|
return (_ctx, _cache) => {
|
|
18838
18838
|
var _a, _b;
|
|
18839
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
18839
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$v, [
|
|
18840
18840
|
vue.createElementVNode("label", null, vue.toDisplayString(_ctx.label), 1),
|
|
18841
18841
|
vue.createElementVNode("div", {
|
|
18842
18842
|
class: vue.normalizeClass(["rich-text-editor rounded pt-05 px-05 pb-075", { "fullscreen-mode": vue.unref(editor).state.isFullscreen }])
|
|
@@ -18850,7 +18850,7 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
18850
18850
|
vue.createElementVNode("div", {
|
|
18851
18851
|
class: vue.normalizeClass(["editor-container", { "split-view": vue.unref(editor).state.isSplitView }])
|
|
18852
18852
|
}, [
|
|
18853
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
18853
|
+
vue.createElementVNode("div", _hoisted_2$l, [
|
|
18854
18854
|
vue.createElementVNode("iframe", {
|
|
18855
18855
|
id: "rich-text-iframe",
|
|
18856
18856
|
ref_key: "iframe",
|
|
@@ -18917,9 +18917,9 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
18917
18917
|
};
|
|
18918
18918
|
}
|
|
18919
18919
|
});
|
|
18920
|
-
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18921
|
-
const _hoisted_1$
|
|
18922
|
-
const _hoisted_2$
|
|
18920
|
+
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-d643f2ae"]]);
|
|
18921
|
+
const _hoisted_1$u = { key: 0 };
|
|
18922
|
+
const _hoisted_2$k = { class: "flex gap-05" };
|
|
18923
18923
|
const _hoisted_3$g = ["disabled"];
|
|
18924
18924
|
const _hoisted_4$a = { key: 1 };
|
|
18925
18925
|
const _hoisted_5$a = {
|
|
@@ -18929,7 +18929,7 @@ const _hoisted_5$a = {
|
|
|
18929
18929
|
const _hoisted_6$9 = ["value"];
|
|
18930
18930
|
const _hoisted_7$6 = ["aria-selected", "onClick", "onKeydown"];
|
|
18931
18931
|
const _hoisted_8$5 = { class: "block" };
|
|
18932
|
-
const _sfc_main$
|
|
18932
|
+
const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
18933
18933
|
__name: "SelectInput",
|
|
18934
18934
|
props: {
|
|
18935
18935
|
options: {},
|
|
@@ -19089,7 +19089,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
19089
19089
|
}
|
|
19090
19090
|
});
|
|
19091
19091
|
return (_ctx, _cache) => {
|
|
19092
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
19092
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$Z), {
|
|
19093
19093
|
ref_key: "dropdown",
|
|
19094
19094
|
ref: dropdown,
|
|
19095
19095
|
shown: vue.unref(open),
|
|
@@ -19103,8 +19103,8 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
19103
19103
|
trigger: vue.withCtx(() => [
|
|
19104
19104
|
vue.createElementVNode("label", null, [
|
|
19105
19105
|
vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
|
|
19106
|
-
_ctx.required ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
19107
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
19106
|
+
_ctx.required ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$u, "*")) : vue.createCommentVNode("", true),
|
|
19107
|
+
vue.createElementVNode("div", _hoisted_2$k, [
|
|
19108
19108
|
_ctx.searchable && vue.unref(open) ? (vue.openBlock(), vue.createBlock(vue.unref(TextInput), {
|
|
19109
19109
|
key: 0,
|
|
19110
19110
|
ref_key: "searchInput",
|
|
@@ -19130,7 +19130,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
19130
19130
|
_cache[6] || (_cache[6] = vue.withKeys(vue.withModifiers(($event) => navigate("up"), ["prevent"]), ["up"]))
|
|
19131
19131
|
]
|
|
19132
19132
|
}, [
|
|
19133
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
19133
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$u), {
|
|
19134
19134
|
key: 0,
|
|
19135
19135
|
icon: _ctx.icon
|
|
19136
19136
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
@@ -19147,7 +19147,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
19147
19147
|
})
|
|
19148
19148
|
})
|
|
19149
19149
|
])) : vue.createCommentVNode("", true),
|
|
19150
|
-
!_ctx.disabled ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
19150
|
+
!_ctx.disabled ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$u), vue.mergeProps({
|
|
19151
19151
|
key: 3,
|
|
19152
19152
|
thin: ""
|
|
19153
19153
|
}, { icon: vue.unref(open) ? "unfold_less" : "unfold_more" }), null, 16)) : vue.createCommentVNode("", true)
|
|
@@ -19170,7 +19170,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
19170
19170
|
height: "25px",
|
|
19171
19171
|
class: "mx-1 my-1"
|
|
19172
19172
|
})) : vue.createCommentVNode("", true),
|
|
19173
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
19173
|
+
vue.createVNode(vue.unref(_sfc_main$13), {
|
|
19174
19174
|
class: "p-05",
|
|
19175
19175
|
style: vue.normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" }),
|
|
19176
19176
|
onClick: _cache[9] || (_cache[9] = vue.withModifiers(() => {
|
|
@@ -19197,12 +19197,12 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
19197
19197
|
]
|
|
19198
19198
|
}, [
|
|
19199
19199
|
_ctx.multiselect ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
19200
|
-
isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
19200
|
+
isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$u), {
|
|
19201
19201
|
key: 0,
|
|
19202
19202
|
size: 1.1,
|
|
19203
19203
|
icon: "select_check_box"
|
|
19204
19204
|
})) : vue.createCommentVNode("", true),
|
|
19205
|
-
!isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
19205
|
+
!isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$u), {
|
|
19206
19206
|
key: 1,
|
|
19207
19207
|
class: "opacity-3",
|
|
19208
19208
|
icon: "check_box_outline_blank",
|
|
@@ -19223,7 +19223,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
19223
19223
|
};
|
|
19224
19224
|
}
|
|
19225
19225
|
});
|
|
19226
|
-
const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19226
|
+
const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-c16650b4"]]);
|
|
19227
19227
|
/*!
|
|
19228
19228
|
* Signature Pad v5.0.7 | https://github.com/szimek/signature_pad
|
|
19229
19229
|
* (c) 2025 Szymon Nowak | Released under the MIT license
|
|
@@ -19820,15 +19820,15 @@ class SignaturePad extends SignatureEventTarget {
|
|
|
19820
19820
|
return svg.outerHTML;
|
|
19821
19821
|
}
|
|
19822
19822
|
}
|
|
19823
|
-
const _hoisted_1$
|
|
19824
|
-
const _hoisted_2$
|
|
19823
|
+
const _hoisted_1$t = ["disabled"];
|
|
19824
|
+
const _hoisted_2$j = {
|
|
19825
19825
|
key: 1,
|
|
19826
19826
|
placeholder: "required",
|
|
19827
19827
|
type: "text",
|
|
19828
19828
|
required: "",
|
|
19829
19829
|
class: "pixel opacity-0"
|
|
19830
19830
|
};
|
|
19831
|
-
const _sfc_main$
|
|
19831
|
+
const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
19832
19832
|
__name: "SignaturePad",
|
|
19833
19833
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
19834
19834
|
sigOption: {},
|
|
@@ -20024,8 +20024,8 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
20024
20024
|
ref: vCanvas,
|
|
20025
20025
|
class: "canvas",
|
|
20026
20026
|
disabled: _ctx.disabled
|
|
20027
|
-
}, null, 8, _hoisted_1$
|
|
20028
|
-
_ctx.required && vue.unref(_isEmpty) ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$
|
|
20027
|
+
}, null, 8, _hoisted_1$t),
|
|
20028
|
+
_ctx.required && vue.unref(_isEmpty) ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$j)) : vue.createCommentVNode("", true)
|
|
20029
20029
|
], 34);
|
|
20030
20030
|
};
|
|
20031
20031
|
}
|
|
@@ -22509,13 +22509,13 @@ const VueDraggableNext = vue.defineComponent({
|
|
|
22509
22509
|
}
|
|
22510
22510
|
}
|
|
22511
22511
|
});
|
|
22512
|
-
const _hoisted_1$
|
|
22513
|
-
const _hoisted_2$
|
|
22512
|
+
const _hoisted_1$s = ["title"];
|
|
22513
|
+
const _hoisted_2$i = { class: "bagel-input" };
|
|
22514
22514
|
const _hoisted_3$f = { class: "table-side-scroll" };
|
|
22515
22515
|
const _hoisted_4$9 = { class: "table-header" };
|
|
22516
22516
|
const _hoisted_5$9 = { class: "table-reorder" };
|
|
22517
22517
|
const _hoisted_6$8 = { class: "table-action" };
|
|
22518
|
-
const _sfc_main$
|
|
22518
|
+
const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
22519
22519
|
__name: "TableField",
|
|
22520
22520
|
props: {
|
|
22521
22521
|
description: { default: "" },
|
|
@@ -22580,7 +22580,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
22580
22580
|
class: "table-field-wrap",
|
|
22581
22581
|
title: _ctx.description
|
|
22582
22582
|
}, [
|
|
22583
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
22583
|
+
vue.createElementVNode("div", _hoisted_2$i, [
|
|
22584
22584
|
vue.createElementVNode("label", null, vue.toDisplayString((_a = vue.unref(fieldMeta)) == null ? void 0 : _a.label), 1)
|
|
22585
22585
|
]),
|
|
22586
22586
|
vue.createElementVNode("div", _hoisted_3$f, [
|
|
@@ -22612,7 +22612,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
22612
22612
|
class: "flex table-row"
|
|
22613
22613
|
}, [
|
|
22614
22614
|
vue.createElementVNode("div", _hoisted_5$9, [
|
|
22615
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
22615
|
+
vue.createVNode(vue.unref(_sfc_main$u), { icon: "more_vert" })
|
|
22616
22616
|
]),
|
|
22617
22617
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_a2 = vue.unref(entityMeta)) == null ? void 0 : _a2.fields, (field) => {
|
|
22618
22618
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -22629,7 +22629,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
22629
22629
|
], 2);
|
|
22630
22630
|
}), 128)),
|
|
22631
22631
|
vue.createElementVNode("div", _hoisted_6$8, [
|
|
22632
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
22632
|
+
vue.createVNode(vue.unref(_sfc_main$u), {
|
|
22633
22633
|
icon: "delete",
|
|
22634
22634
|
onClick: ($event) => removeRow(index2)
|
|
22635
22635
|
}, null, 8, ["onClick"])
|
|
@@ -22655,11 +22655,11 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
22655
22655
|
])),
|
|
22656
22656
|
_: 1
|
|
22657
22657
|
})
|
|
22658
|
-
], 8, _hoisted_1$
|
|
22658
|
+
], 8, _hoisted_1$s);
|
|
22659
22659
|
};
|
|
22660
22660
|
}
|
|
22661
22661
|
});
|
|
22662
|
-
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22662
|
+
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-e9632f79"]]);
|
|
22663
22663
|
function bind(fn, thisArg) {
|
|
22664
22664
|
return function wrap() {
|
|
22665
22665
|
return fn.apply(thisArg, arguments);
|
|
@@ -27133,8 +27133,8 @@ function parsePhoneNumber$1() {
|
|
|
27133
27133
|
function parsePhoneNumber() {
|
|
27134
27134
|
return withMetadataArgument(parsePhoneNumber$1, arguments);
|
|
27135
27135
|
}
|
|
27136
|
-
const _hoisted_1$
|
|
27137
|
-
const _hoisted_2$
|
|
27136
|
+
const _hoisted_1$r = { key: 0 };
|
|
27137
|
+
const _hoisted_2$h = ["aria-expanded"];
|
|
27138
27138
|
const _hoisted_3$e = { class: "flex gap-05 country-code-display" };
|
|
27139
27139
|
const _hoisted_4$8 = { class: "p-075 tel-countryp-dropdown" };
|
|
27140
27140
|
const _hoisted_5$8 = {
|
|
@@ -27144,7 +27144,7 @@ const _hoisted_5$8 = {
|
|
|
27144
27144
|
const _hoisted_6$7 = ["aria-selected", "onClick"];
|
|
27145
27145
|
const _hoisted_7$5 = { class: "tel-country" };
|
|
27146
27146
|
const _hoisted_8$4 = ["id", "required", "placeholder", "disabled", "name"];
|
|
27147
|
-
const _sfc_main$
|
|
27147
|
+
const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
27148
27148
|
__name: "TelInput",
|
|
27149
27149
|
props: {
|
|
27150
27150
|
id: {},
|
|
@@ -27314,7 +27314,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
27314
27314
|
}, [
|
|
27315
27315
|
vue.createElementVNode("label", null, [
|
|
27316
27316
|
vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
|
|
27317
|
-
_ctx.required && _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
27317
|
+
_ctx.required && _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$r, "*")) : vue.createCommentVNode("", true),
|
|
27318
27318
|
vue.createElementVNode("div", {
|
|
27319
27319
|
dir: "ltr",
|
|
27320
27320
|
class: "flex gap-05 tel-input",
|
|
@@ -27323,7 +27323,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
27323
27323
|
"aria-haspopup": "listbox",
|
|
27324
27324
|
"aria-expanded": vue.unref(open)
|
|
27325
27325
|
}, [
|
|
27326
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
27326
|
+
vue.createVNode(vue.unref(_sfc_main$Z), {
|
|
27327
27327
|
shown: vue.unref(open),
|
|
27328
27328
|
"onUpdate:shown": _cache[1] || (_cache[1] = ($event) => vue.isRef(open) ? open.value = $event : open = $event),
|
|
27329
27329
|
placement: "bottom-start",
|
|
@@ -27332,7 +27332,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
27332
27332
|
}, {
|
|
27333
27333
|
trigger: vue.withCtx(() => [
|
|
27334
27334
|
vue.createElementVNode("span", _hoisted_3$e, [
|
|
27335
|
-
!disableDropdown.value ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
27335
|
+
!disableDropdown.value ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$u), {
|
|
27336
27336
|
key: 0,
|
|
27337
27337
|
icon: vue.unref(open) ? "collapse_all" : "expand_all"
|
|
27338
27338
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
@@ -27403,15 +27403,15 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
27403
27403
|
{ tel: true }
|
|
27404
27404
|
]
|
|
27405
27405
|
])
|
|
27406
|
-
], 8, _hoisted_2$
|
|
27406
|
+
], 8, _hoisted_2$h)
|
|
27407
27407
|
])
|
|
27408
27408
|
], 2);
|
|
27409
27409
|
};
|
|
27410
27410
|
}
|
|
27411
27411
|
});
|
|
27412
|
-
const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27413
|
-
const _hoisted_1$
|
|
27414
|
-
const _hoisted_2$
|
|
27412
|
+
const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-24f599bf"]]);
|
|
27413
|
+
const _hoisted_1$q = ["title"];
|
|
27414
|
+
const _hoisted_2$g = ["for"];
|
|
27415
27415
|
const _hoisted_3$d = { key: 0 };
|
|
27416
27416
|
const _hoisted_4$7 = ["id", "name", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
|
|
27417
27417
|
const _hoisted_5$7 = ["id", "name", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
|
|
@@ -27419,7 +27419,7 @@ const _hoisted_6$6 = {
|
|
|
27419
27419
|
key: 3,
|
|
27420
27420
|
class: "opacity-7 light"
|
|
27421
27421
|
};
|
|
27422
|
-
const _sfc_main$
|
|
27422
|
+
const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
27423
27423
|
__name: "TextInput",
|
|
27424
27424
|
props: {
|
|
27425
27425
|
id: {},
|
|
@@ -27562,25 +27562,25 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
27562
27562
|
[vue.vModelText, vue.unref(inputVal)]
|
|
27563
27563
|
]),
|
|
27564
27564
|
_ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_6$6, vue.toDisplayString(_ctx.helptext), 1)) : vue.createCommentVNode("", true),
|
|
27565
|
-
_ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
27565
|
+
_ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$u), {
|
|
27566
27566
|
key: 4,
|
|
27567
27567
|
class: "iconStart",
|
|
27568
27568
|
icon: _ctx.iconStart
|
|
27569
27569
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
27570
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
27570
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$u), {
|
|
27571
27571
|
key: 5,
|
|
27572
27572
|
icon: _ctx.icon
|
|
27573
27573
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true)
|
|
27574
|
-
], 8, _hoisted_2$
|
|
27575
|
-
], 10, _hoisted_1$
|
|
27574
|
+
], 8, _hoisted_2$g)
|
|
27575
|
+
], 10, _hoisted_1$q);
|
|
27576
27576
|
};
|
|
27577
27577
|
}
|
|
27578
27578
|
});
|
|
27579
|
-
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27580
|
-
const _hoisted_1$
|
|
27581
|
-
const _hoisted_2$
|
|
27579
|
+
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-84ff4b81"]]);
|
|
27580
|
+
const _hoisted_1$p = ["title"];
|
|
27581
|
+
const _hoisted_2$f = ["id", "required"];
|
|
27582
27582
|
const _hoisted_3$c = ["for"];
|
|
27583
|
-
const _sfc_main$
|
|
27583
|
+
const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
27584
27584
|
__name: "ToggleInput",
|
|
27585
27585
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
27586
27586
|
label: {},
|
|
@@ -27616,7 +27616,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
27616
27616
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => checked.value = $event),
|
|
27617
27617
|
type: "checkbox",
|
|
27618
27618
|
required: _ctx.required
|
|
27619
|
-
}, null, 8, _hoisted_2$
|
|
27619
|
+
}, null, 8, _hoisted_2$f), [
|
|
27620
27620
|
[vue.vModelCheckbox, checked.value]
|
|
27621
27621
|
]),
|
|
27622
27622
|
vue.createElementVNode("label", { for: inputId.value }, [
|
|
@@ -27624,11 +27624,11 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
27624
27624
|
vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
|
|
27625
27625
|
], true)
|
|
27626
27626
|
], 8, _hoisted_3$c)
|
|
27627
|
-
], 10, _hoisted_1$
|
|
27627
|
+
], 10, _hoisted_1$p);
|
|
27628
27628
|
};
|
|
27629
27629
|
}
|
|
27630
27630
|
});
|
|
27631
|
-
const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27631
|
+
const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-c5e45931"]]);
|
|
27632
27632
|
const files = {
|
|
27633
27633
|
setBaseUrl: (baseUrl) => {
|
|
27634
27634
|
if (!baseUrl) return;
|
|
@@ -27657,8 +27657,110 @@ const files = {
|
|
|
27657
27657
|
return axios$1.get("/files_v2/list", { params: { dir_path: dirPath } });
|
|
27658
27658
|
}
|
|
27659
27659
|
};
|
|
27660
|
-
|
|
27661
|
-
|
|
27660
|
+
function useFileUpload(props2 = {}) {
|
|
27661
|
+
files.setBaseUrl(useBagel().host);
|
|
27662
|
+
const fileQueue = vue.ref([]);
|
|
27663
|
+
const storageFiles = vue.ref([]);
|
|
27664
|
+
const pk = vue.ref([]);
|
|
27665
|
+
const pathKeys = vue.computed(() => {
|
|
27666
|
+
const storagePathKeys = storageFiles.value.map((file) => file.path_key);
|
|
27667
|
+
return [...pk.value, ...storagePathKeys];
|
|
27668
|
+
});
|
|
27669
|
+
const fileToUrl = (file) => URL.createObjectURL(file);
|
|
27670
|
+
const addFile = (file) => {
|
|
27671
|
+
if (!file) return;
|
|
27672
|
+
let filesToAdd = [];
|
|
27673
|
+
if (file instanceof File) {
|
|
27674
|
+
filesToAdd = [file];
|
|
27675
|
+
} else if (file instanceof FileList) {
|
|
27676
|
+
filesToAdd = Array.from(file);
|
|
27677
|
+
} else if (Array.isArray(file)) {
|
|
27678
|
+
filesToAdd = file;
|
|
27679
|
+
}
|
|
27680
|
+
const newQueueFiles = filesToAdd.map((f2) => ({
|
|
27681
|
+
name: f2.name,
|
|
27682
|
+
file: f2,
|
|
27683
|
+
progress: 0
|
|
27684
|
+
}));
|
|
27685
|
+
fileQueue.value.push(...newQueueFiles);
|
|
27686
|
+
};
|
|
27687
|
+
const removeFile = async (pathKeyOrFile) => {
|
|
27688
|
+
if (typeof pathKeyOrFile === "string") {
|
|
27689
|
+
storageFiles.value = storageFiles.value.filter((file) => file.path_key !== pathKeyOrFile);
|
|
27690
|
+
const pathKeyIndex = pk.value.indexOf(pathKeyOrFile);
|
|
27691
|
+
if (pathKeyIndex !== -1) {
|
|
27692
|
+
pk.value.splice(pathKeyIndex, 1);
|
|
27693
|
+
}
|
|
27694
|
+
try {
|
|
27695
|
+
await files.delete(pathKeyOrFile);
|
|
27696
|
+
} catch (error) {
|
|
27697
|
+
console.error("Error deleting file:", error);
|
|
27698
|
+
}
|
|
27699
|
+
} else if (pathKeyOrFile) {
|
|
27700
|
+
const index2 = fileQueue.value.findIndex(({ file }) => file.name === pathKeyOrFile.name);
|
|
27701
|
+
if (index2 !== -1) {
|
|
27702
|
+
fileQueue.value.splice(index2, 1);
|
|
27703
|
+
}
|
|
27704
|
+
}
|
|
27705
|
+
};
|
|
27706
|
+
const flushQueue = async () => {
|
|
27707
|
+
for (const file of fileQueue.value) {
|
|
27708
|
+
file.uploading = true;
|
|
27709
|
+
if (!props2.multiple) {
|
|
27710
|
+
pk.value.splice(0, 1);
|
|
27711
|
+
}
|
|
27712
|
+
try {
|
|
27713
|
+
const { data: data2 } = await files.upload(file.file, {
|
|
27714
|
+
onUploadProgress: (e) => {
|
|
27715
|
+
file.progress = e.loaded / e.total * 100 - 1;
|
|
27716
|
+
},
|
|
27717
|
+
dirPath: props2.dirPath
|
|
27718
|
+
});
|
|
27719
|
+
pk.value.push(data2.path_key);
|
|
27720
|
+
} catch (error) {
|
|
27721
|
+
console.error("Error uploading file:", error);
|
|
27722
|
+
}
|
|
27723
|
+
}
|
|
27724
|
+
fileQueue.value = [];
|
|
27725
|
+
};
|
|
27726
|
+
const browse = (upload = false) => {
|
|
27727
|
+
if (props2.disabled) return;
|
|
27728
|
+
const input = document.createElement("input");
|
|
27729
|
+
input.type = "file";
|
|
27730
|
+
input.multiple = !!props2.multiple;
|
|
27731
|
+
input.accept = props2.accept || "";
|
|
27732
|
+
input.onchange = (e) => {
|
|
27733
|
+
addFile(e.target.files);
|
|
27734
|
+
if (upload) {
|
|
27735
|
+
flushQueue();
|
|
27736
|
+
}
|
|
27737
|
+
};
|
|
27738
|
+
input.click();
|
|
27739
|
+
};
|
|
27740
|
+
vue.onMounted(() => {
|
|
27741
|
+
if (props2.dirPath) {
|
|
27742
|
+
files.list(props2.dirPath).then((response) => {
|
|
27743
|
+
const responseData = Array.isArray(response.data) ? response.data : [response.data];
|
|
27744
|
+
storageFiles.value.push(...responseData);
|
|
27745
|
+
}).catch((error) => {
|
|
27746
|
+
console.error("Error loading files:", error);
|
|
27747
|
+
});
|
|
27748
|
+
}
|
|
27749
|
+
});
|
|
27750
|
+
return {
|
|
27751
|
+
fileQueue,
|
|
27752
|
+
storageFiles,
|
|
27753
|
+
pk,
|
|
27754
|
+
pathKeys,
|
|
27755
|
+
fileToUrl,
|
|
27756
|
+
removeFile,
|
|
27757
|
+
flushQueue,
|
|
27758
|
+
addFile,
|
|
27759
|
+
browse
|
|
27760
|
+
};
|
|
27761
|
+
}
|
|
27762
|
+
const _hoisted_1$o = { class: "bagel-input" };
|
|
27763
|
+
const _hoisted_2$e = { key: 0 };
|
|
27662
27764
|
const _hoisted_3$b = {
|
|
27663
27765
|
key: 1,
|
|
27664
27766
|
placeholder: "required",
|
|
@@ -27687,8 +27789,8 @@ const _hoisted_12$2 = {
|
|
|
27687
27789
|
key: 1,
|
|
27688
27790
|
class: "bgl-single-preview"
|
|
27689
27791
|
};
|
|
27690
|
-
const _hoisted_13 = { class: "position-start m-05 flex opacity-7 z-99 gap-025" };
|
|
27691
|
-
const _hoisted_14 = {
|
|
27792
|
+
const _hoisted_13$1 = { class: "position-start m-05 flex opacity-7 z-99 gap-025" };
|
|
27793
|
+
const _hoisted_14$1 = {
|
|
27692
27794
|
key: 0,
|
|
27693
27795
|
class: "h-100"
|
|
27694
27796
|
};
|
|
@@ -27698,7 +27800,7 @@ const _hoisted_15 = {
|
|
|
27698
27800
|
};
|
|
27699
27801
|
const _hoisted_16 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
|
|
27700
27802
|
const _hoisted_17 = { class: "pretty balance" };
|
|
27701
|
-
const _sfc_main$
|
|
27803
|
+
const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
27702
27804
|
__name: "UploadInput",
|
|
27703
27805
|
props: {
|
|
27704
27806
|
label: {},
|
|
@@ -27722,111 +27824,61 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
27722
27824
|
setup(__props, { emit: __emit }) {
|
|
27723
27825
|
const props2 = __props;
|
|
27724
27826
|
const emit2 = __emit;
|
|
27725
|
-
const
|
|
27726
|
-
|
|
27727
|
-
|
|
27728
|
-
|
|
27729
|
-
|
|
27730
|
-
|
|
27731
|
-
|
|
27732
|
-
|
|
27733
|
-
}
|
|
27734
|
-
|
|
27735
|
-
|
|
27736
|
-
|
|
27737
|
-
|
|
27827
|
+
const {
|
|
27828
|
+
fileQueue,
|
|
27829
|
+
pathKeys,
|
|
27830
|
+
removeFile,
|
|
27831
|
+
flushQueue,
|
|
27832
|
+
fileToUrl,
|
|
27833
|
+
addFile,
|
|
27834
|
+
browse
|
|
27835
|
+
} = useFileUpload({
|
|
27836
|
+
disabled: props2.disabled,
|
|
27837
|
+
dirPath: props2.dirPath,
|
|
27838
|
+
multiple: props2.multiple,
|
|
27839
|
+
accept: props2.accept
|
|
27840
|
+
});
|
|
27738
27841
|
const isImage = (str) => IMAGE_FORMATS_REGEXP.test(str);
|
|
27739
|
-
const fileToUrl = (file) => URL.createObjectURL(file);
|
|
27740
27842
|
let isDragOver = vue.ref(false);
|
|
27741
|
-
async function removeFile(path_key) {
|
|
27742
|
-
storageFiles.value = storageFiles.value.filter((file) => file.path_key !== path_key);
|
|
27743
|
-
const pki = pk.value.indexOf(path_key);
|
|
27744
|
-
if (pki !== -1) pk.value.splice(pki, 1);
|
|
27745
|
-
try {
|
|
27746
|
-
await files.delete(path_key);
|
|
27747
|
-
} catch (error) {
|
|
27748
|
-
console.error(error);
|
|
27749
|
-
}
|
|
27750
|
-
}
|
|
27751
|
-
async function flushQueue() {
|
|
27752
|
-
emit2("addFileStart");
|
|
27753
|
-
for (const file of fileQueue.value) {
|
|
27754
|
-
file.uploading = true;
|
|
27755
|
-
if (!props2.multiple) pk.value.splice(0, 1);
|
|
27756
|
-
try {
|
|
27757
|
-
const { data: data2 } = await files.upload(file.file, {
|
|
27758
|
-
onUploadProgress: (e) => {
|
|
27759
|
-
file.progress = e.loaded / e.total * 100 - 1;
|
|
27760
|
-
},
|
|
27761
|
-
dirPath: props2.dirPath
|
|
27762
|
-
});
|
|
27763
|
-
pk.value.push(data2.path_key);
|
|
27764
|
-
} catch (error) {
|
|
27765
|
-
console.error("error flushing queue", error);
|
|
27766
|
-
}
|
|
27767
|
-
}
|
|
27768
|
-
fileQueue.value.splice(0, fileQueue.value.length);
|
|
27769
|
-
}
|
|
27770
|
-
function browse() {
|
|
27771
|
-
if (props2.disabled) return;
|
|
27772
|
-
const input = document.createElement("input");
|
|
27773
|
-
input.type = "file";
|
|
27774
|
-
input.multiple = props2.multiple;
|
|
27775
|
-
input.accept = props2.accept;
|
|
27776
|
-
input.onchange = (e) => {
|
|
27777
|
-
const files2 = Array.from(e.target.files || []);
|
|
27778
|
-
fileQueue.value.push(...files2.map((file) => ({ name: file.name, file, progress: 0 })));
|
|
27779
|
-
flushQueue();
|
|
27780
|
-
};
|
|
27781
|
-
input.click();
|
|
27782
|
-
}
|
|
27783
27843
|
function handleDrag(e, isDragging = false) {
|
|
27784
27844
|
e.preventDefault();
|
|
27785
27845
|
e.stopPropagation();
|
|
27786
27846
|
if (!props2.disabled) isDragOver.value = isDragging;
|
|
27787
27847
|
}
|
|
27788
|
-
function handleDrop(e) {
|
|
27848
|
+
async function handleDrop(e) {
|
|
27789
27849
|
var _a;
|
|
27790
27850
|
if (props2.disabled) return;
|
|
27791
27851
|
e.preventDefault();
|
|
27792
27852
|
e.stopPropagation();
|
|
27793
|
-
|
|
27794
|
-
|
|
27795
|
-
|
|
27796
|
-
|
|
27853
|
+
emit2("addFileStart");
|
|
27854
|
+
addFile((_a = e.dataTransfer) == null ? void 0 : _a.files);
|
|
27855
|
+
await flushQueue();
|
|
27856
|
+
emit2("update:modelValue", pathKeys.value);
|
|
27797
27857
|
isDragOver.value = false;
|
|
27798
27858
|
}
|
|
27799
|
-
if (props2.dirPath) {
|
|
27800
|
-
files.list(props2.dirPath).then((response) => storageFiles.value.push(...[response.data].flat())).catch(console.error);
|
|
27801
|
-
}
|
|
27802
|
-
vue.watch(() => props2.dirPath, () => {
|
|
27803
|
-
if (props2.dirPath) {
|
|
27804
|
-
files.list(props2.dirPath).then((response) => storageFiles.value.push(...[response.data].flat())).catch(console.error);
|
|
27805
|
-
}
|
|
27806
|
-
});
|
|
27807
27859
|
return (_ctx, _cache) => {
|
|
27808
27860
|
const _directive_tooltip = vue.resolveDirective("tooltip");
|
|
27809
27861
|
const _directive_lightbox = vue.resolveDirective("lightbox");
|
|
27810
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
27811
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
27812
|
-
_ctx.required && !pathKeys.
|
|
27813
|
-
_ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
27862
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$o, [
|
|
27863
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$e, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
|
|
27864
|
+
_ctx.required && !vue.unref(pathKeys).length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_3$b)) : vue.createCommentVNode("", true),
|
|
27865
|
+
_ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$13), {
|
|
27814
27866
|
key: 2,
|
|
27815
27867
|
outline: "",
|
|
27816
27868
|
class: "flex p-05 gap-1",
|
|
27817
|
-
onDragover: _cache[
|
|
27869
|
+
onDragover: _cache[2] || (_cache[2] = (e) => handleDrag(e, true)),
|
|
27818
27870
|
onDrop: handleDrop
|
|
27819
27871
|
}, {
|
|
27820
27872
|
default: vue.withCtx(() => [
|
|
27821
|
-
!pathKeys.
|
|
27873
|
+
!vue.unref(pathKeys).length && !vue.unref(fileQueue).length ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
|
|
27822
27874
|
key: 0,
|
|
27823
27875
|
class: "px-1-5",
|
|
27824
27876
|
icon: "upload",
|
|
27825
27877
|
outline: "",
|
|
27826
27878
|
value: _ctx.btnPlaceholder || "Upload",
|
|
27827
|
-
onClick: browse
|
|
27879
|
+
onClick: _cache[0] || (_cache[0] = ($event) => vue.unref(browse)(true))
|
|
27828
27880
|
}, null, 8, ["value"])) : vue.createCommentVNode("", true),
|
|
27829
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(pathKeys
|
|
27881
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(pathKeys), (path_key) => {
|
|
27830
27882
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
27831
27883
|
key: path_key,
|
|
27832
27884
|
class: "txt-gray txt-12 flex"
|
|
@@ -27836,7 +27888,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
27836
27888
|
color: "gray",
|
|
27837
27889
|
thin: "",
|
|
27838
27890
|
icon: "delete",
|
|
27839
|
-
onClick: ($event) => removeFile(path_key)
|
|
27891
|
+
onClick: ($event) => vue.unref(removeFile)(path_key)
|
|
27840
27892
|
}, null, 8, ["onClick"]), [
|
|
27841
27893
|
[_directive_tooltip, "Delete"]
|
|
27842
27894
|
]),
|
|
@@ -27844,7 +27896,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
27844
27896
|
color: "gray",
|
|
27845
27897
|
thin: "",
|
|
27846
27898
|
icon: "autorenew",
|
|
27847
|
-
onClick: browse
|
|
27899
|
+
onClick: _cache[1] || (_cache[1] = ($event) => vue.unref(browse)(true))
|
|
27848
27900
|
}, null, 512), [
|
|
27849
27901
|
[_directive_tooltip, "Replace"]
|
|
27850
27902
|
]),
|
|
@@ -27856,7 +27908,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
27856
27908
|
download: path_key.split("/").pop()
|
|
27857
27909
|
}, null, 8, ["href", "download"]),
|
|
27858
27910
|
vue.createElementVNode("div", _hoisted_5$6, [
|
|
27859
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
27911
|
+
vue.createVNode(vue.unref(_sfc_main$u), {
|
|
27860
27912
|
icon: "draft",
|
|
27861
27913
|
size: 1.5
|
|
27862
27914
|
}),
|
|
@@ -27869,28 +27921,28 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
27869
27921
|
])
|
|
27870
27922
|
]);
|
|
27871
27923
|
}), 128)),
|
|
27872
|
-
!pathKeys.
|
|
27924
|
+
!vue.unref(pathKeys).length && !vue.unref(fileQueue).length ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$4, vue.toDisplayString(_ctx.noFilePlaceholder || "No file selected"), 1)) : vue.createCommentVNode("", true)
|
|
27873
27925
|
]),
|
|
27874
27926
|
_: 1
|
|
27875
27927
|
})) : (vue.openBlock(), vue.createElementBlock("div", {
|
|
27876
27928
|
key: 3,
|
|
27877
27929
|
class: vue.normalizeClass(["fileUploadWrap", {
|
|
27878
|
-
"fileDropZone": !pathKeys.
|
|
27930
|
+
"fileDropZone": !vue.unref(pathKeys).length && !vue.unref(fileQueue).length,
|
|
27879
27931
|
"dragover": vue.unref(isDragOver),
|
|
27880
27932
|
"bgl_oval-upload": _ctx.oval
|
|
27881
27933
|
}]),
|
|
27882
27934
|
style: vue.normalizeStyle({ width: _ctx.width, height: _ctx.height }),
|
|
27883
|
-
onClick: browse,
|
|
27884
|
-
onDragover: _cache[
|
|
27935
|
+
onClick: _cache[4] || (_cache[4] = ($event) => vue.unref(browse)(true)),
|
|
27936
|
+
onDragover: _cache[5] || (_cache[5] = (e) => handleDrag(e, true)),
|
|
27885
27937
|
onDrop: handleDrop,
|
|
27886
|
-
onDragleave: _cache[
|
|
27938
|
+
onDragleave: _cache[6] || (_cache[6] = (e) => handleDrag(e))
|
|
27887
27939
|
}, [
|
|
27888
27940
|
vue.renderSlot(_ctx.$slots, "files", {
|
|
27889
|
-
files: pathKeys
|
|
27890
|
-
fileQueue: fileQueue
|
|
27941
|
+
files: vue.unref(pathKeys),
|
|
27942
|
+
fileQueue: vue.unref(fileQueue)
|
|
27891
27943
|
}, () => [
|
|
27892
27944
|
_ctx.multiple ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$3, [
|
|
27893
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(pathKeys
|
|
27945
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(pathKeys), (path_key) => {
|
|
27894
27946
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
27895
27947
|
key: path_key,
|
|
27896
27948
|
class: vue.normalizeClass(["multi-image-item-preview", { "bgl_fill-image": _ctx.fill }])
|
|
@@ -27899,7 +27951,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
27899
27951
|
key: 0,
|
|
27900
27952
|
pathKey: path_key,
|
|
27901
27953
|
class: "multi-preview"
|
|
27902
|
-
}, null, 8, ["pathKey"])) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
27954
|
+
}, null, 8, ["pathKey"])) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$u), {
|
|
27903
27955
|
key: 1,
|
|
27904
27956
|
icon: "description",
|
|
27905
27957
|
class: "multi-preview"
|
|
@@ -27910,13 +27962,13 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
27910
27962
|
flat: "",
|
|
27911
27963
|
icon: "delete",
|
|
27912
27964
|
color: "red",
|
|
27913
|
-
onClick: ($event) => removeFile(path_key)
|
|
27965
|
+
onClick: ($event) => vue.unref(removeFile)(path_key)
|
|
27914
27966
|
}, null, 8, ["onClick"])
|
|
27915
27967
|
], 2)), [
|
|
27916
27968
|
[_directive_lightbox, { src: vue.unref(pathKeyToURL)(path_key), download: true }]
|
|
27917
27969
|
]);
|
|
27918
27970
|
}), 128)),
|
|
27919
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(fileQueue
|
|
27971
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(fileQueue), (file) => {
|
|
27920
27972
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
27921
27973
|
key: file.name,
|
|
27922
27974
|
class: vue.normalizeClass(["multi-image-item-preview", { "bgl_fill-image": _ctx.fill }])
|
|
@@ -27924,9 +27976,9 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
27924
27976
|
isImage(file.file.type) ? (vue.openBlock(), vue.createBlock(vue.unref(Image$1), {
|
|
27925
27977
|
key: 0,
|
|
27926
27978
|
class: "multi-preview",
|
|
27927
|
-
src: fileToUrl(file.file),
|
|
27979
|
+
src: vue.unref(fileToUrl)(file.file),
|
|
27928
27980
|
alt: ""
|
|
27929
|
-
}, null, 8, ["src"])) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
27981
|
+
}, null, 8, ["src"])) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$u), {
|
|
27930
27982
|
key: 1,
|
|
27931
27983
|
icon: "description",
|
|
27932
27984
|
class: "multi-preview"
|
|
@@ -27937,25 +27989,25 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
27937
27989
|
style: vue.normalizeStyle([{ "--p": file.progress }, { "--b": "2px" }])
|
|
27938
27990
|
}, [
|
|
27939
27991
|
file.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_11$2, vue.toDisplayString(file.progress.toFixed(0)), 1)) : vue.createCommentVNode("", true),
|
|
27940
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
27992
|
+
vue.createVNode(vue.unref(_sfc_main$u), {
|
|
27941
27993
|
class: "success",
|
|
27942
27994
|
icon: "check_circle"
|
|
27943
27995
|
})
|
|
27944
27996
|
], 6)
|
|
27945
27997
|
], 2);
|
|
27946
27998
|
}), 128))
|
|
27947
|
-
])) : pathKeys.
|
|
27948
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(pathKeys
|
|
27999
|
+
])) : vue.unref(pathKeys).length > 0 || vue.unref(fileQueue).length > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$2, [
|
|
28000
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(pathKeys), (path_key) => {
|
|
27949
28001
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
27950
28002
|
key: path_key,
|
|
27951
28003
|
class: vue.normalizeClass(["single-image-item-preview", { "bgl_fill-image": _ctx.fill }])
|
|
27952
28004
|
}, [
|
|
27953
|
-
vue.createElementVNode("div", _hoisted_13, [
|
|
28005
|
+
vue.createElementVNode("div", _hoisted_13$1, [
|
|
27954
28006
|
vue.withDirectives(vue.createVNode(vue.unref(Btn), {
|
|
27955
28007
|
color: "gray",
|
|
27956
28008
|
thin: "",
|
|
27957
28009
|
icon: "delete",
|
|
27958
|
-
onClick: ($event) => removeFile(path_key)
|
|
28010
|
+
onClick: ($event) => vue.unref(removeFile)(path_key)
|
|
27959
28011
|
}, null, 8, ["onClick"]), [
|
|
27960
28012
|
[_directive_tooltip, "Delete"]
|
|
27961
28013
|
]),
|
|
@@ -27963,7 +28015,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
27963
28015
|
color: "gray",
|
|
27964
28016
|
thin: "",
|
|
27965
28017
|
icon: "autorenew",
|
|
27966
|
-
onClick: browse
|
|
28018
|
+
onClick: _cache[3] || (_cache[3] = ($event) => vue.unref(browse)(true))
|
|
27967
28019
|
}, null, 512), [
|
|
27968
28020
|
[_directive_tooltip, "Replace"]
|
|
27969
28021
|
]),
|
|
@@ -27977,7 +28029,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
27977
28029
|
[_directive_tooltip, "Download"]
|
|
27978
28030
|
])
|
|
27979
28031
|
]),
|
|
27980
|
-
isImage(path_key) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14, [
|
|
28032
|
+
isImage(path_key) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14$1, [
|
|
27981
28033
|
vue.withDirectives(vue.createVNode(vue.unref(Image$1), {
|
|
27982
28034
|
class: "single-preview",
|
|
27983
28035
|
pathKey: path_key,
|
|
@@ -27985,7 +28037,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
27985
28037
|
}, null, 8, ["pathKey"]), [
|
|
27986
28038
|
[_directive_lightbox, { src: vue.unref(pathKeyToURL)(path_key), download: true }]
|
|
27987
28039
|
])
|
|
27988
|
-
])) : vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
28040
|
+
])) : vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$u), {
|
|
27989
28041
|
key: 1,
|
|
27990
28042
|
size: 4,
|
|
27991
28043
|
weight: "2",
|
|
@@ -27996,7 +28048,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
27996
28048
|
])
|
|
27997
28049
|
], 2);
|
|
27998
28050
|
}), 128)),
|
|
27999
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(fileQueue
|
|
28051
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(fileQueue), (file) => {
|
|
28000
28052
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
28001
28053
|
key: file.name,
|
|
28002
28054
|
class: vue.normalizeClass(["single-image-item-preview", { "bgl_fill-image": _ctx.fill }])
|
|
@@ -28006,7 +28058,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
28006
28058
|
style: vue.normalizeStyle([{ "--p": file.progress }, { "--b": "2px" }])
|
|
28007
28059
|
}, [
|
|
28008
28060
|
file.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_15, vue.toDisplayString(file.progress.toFixed(0)), 1)) : vue.createCommentVNode("", true),
|
|
28009
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
28061
|
+
vue.createVNode(vue.unref(_sfc_main$u), {
|
|
28010
28062
|
class: "success",
|
|
28011
28063
|
icon: "check_circle"
|
|
28012
28064
|
})
|
|
@@ -28014,23 +28066,23 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
28014
28066
|
isImage(file.file.type) ? vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(Image$1), {
|
|
28015
28067
|
key: 0,
|
|
28016
28068
|
class: "single-preview",
|
|
28017
|
-
src: fileToUrl(file.file),
|
|
28069
|
+
src: vue.unref(fileToUrl)(file.file),
|
|
28018
28070
|
alt: ""
|
|
28019
28071
|
}, null, 8, ["src"])), [
|
|
28020
|
-
[_directive_lightbox, { src: fileToUrl(file.file), download: true }]
|
|
28072
|
+
[_directive_lightbox, { src: vue.unref(fileToUrl)(file.file), download: true }]
|
|
28021
28073
|
]) : vue.createCommentVNode("", true)
|
|
28022
28074
|
], 2);
|
|
28023
28075
|
}), 128))
|
|
28024
28076
|
])) : vue.createCommentVNode("", true)
|
|
28025
28077
|
], true),
|
|
28026
|
-
!pathKeys.
|
|
28078
|
+
!vue.unref(pathKeys).length && !vue.unref(fileQueue).length || _ctx.multiple ? vue.renderSlot(_ctx.$slots, "placeholder", {
|
|
28027
28079
|
key: 0,
|
|
28028
|
-
files: pathKeys
|
|
28029
|
-
fileQueue: fileQueue
|
|
28030
|
-
browse
|
|
28080
|
+
files: vue.unref(pathKeys),
|
|
28081
|
+
fileQueue: vue.unref(fileQueue),
|
|
28082
|
+
browse: vue.unref(browse)
|
|
28031
28083
|
}, () => [
|
|
28032
28084
|
vue.createElementVNode("p", _hoisted_16, [
|
|
28033
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
28085
|
+
vue.createVNode(vue.unref(_sfc_main$u), { icon: "upload_2" }),
|
|
28034
28086
|
vue.createElementVNode("span", _hoisted_17, vue.toDisplayString(_ctx.dropPlaceholder || "Drag and Drop files here or click to upload"), 1)
|
|
28035
28087
|
])
|
|
28036
28088
|
], true) : vue.createCommentVNode("", true)
|
|
@@ -28039,7 +28091,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
28039
28091
|
};
|
|
28040
28092
|
}
|
|
28041
28093
|
});
|
|
28042
|
-
const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28094
|
+
const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-38a4d4a9"]]);
|
|
28043
28095
|
const FONT_AWESOME_ICONS = [
|
|
28044
28096
|
"trash-can",
|
|
28045
28097
|
"message",
|
|
@@ -32465,7 +32517,7 @@ const MATERIAL_ICONS = [
|
|
|
32465
32517
|
"zoom_out",
|
|
32466
32518
|
"zoom_out_map"
|
|
32467
32519
|
];
|
|
32468
|
-
const _sfc_main$
|
|
32520
|
+
const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
32469
32521
|
__name: "Icon",
|
|
32470
32522
|
props: {
|
|
32471
32523
|
icon: {},
|
|
@@ -32503,8 +32555,8 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
32503
32555
|
};
|
|
32504
32556
|
}
|
|
32505
32557
|
});
|
|
32506
|
-
const _hoisted_1$
|
|
32507
|
-
const _sfc_main$
|
|
32558
|
+
const _hoisted_1$n = ["src", "title", "width", "height", "marginwidth", "marginheight", "csp", "scrolling", "srcset"];
|
|
32559
|
+
const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
32508
32560
|
__name: "IframeVue",
|
|
32509
32561
|
props: {
|
|
32510
32562
|
src: {},
|
|
@@ -32563,14 +32615,14 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
32563
32615
|
scrolling: _ctx.scrolling,
|
|
32564
32616
|
srcset: _ctx.srcset,
|
|
32565
32617
|
onLoad: _cache[0] || (_cache[0] = ($event) => emit2("load", $event))
|
|
32566
|
-
}, null, 40, _hoisted_1$
|
|
32618
|
+
}, null, 40, _hoisted_1$n);
|
|
32567
32619
|
};
|
|
32568
32620
|
}
|
|
32569
32621
|
});
|
|
32570
|
-
const _hoisted_1$
|
|
32571
|
-
const _hoisted_2$
|
|
32622
|
+
const _hoisted_1$m = { key: 0 };
|
|
32623
|
+
const _hoisted_2$d = ["src", "alt", "width", "height"];
|
|
32572
32624
|
const _hoisted_3$a = ["src", "alt", "width", "height"];
|
|
32573
|
-
const _sfc_main$
|
|
32625
|
+
const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
32574
32626
|
__name: "Image",
|
|
32575
32627
|
props: {
|
|
32576
32628
|
src: {},
|
|
@@ -32646,7 +32698,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
32646
32698
|
}
|
|
32647
32699
|
vue.watch(() => [props2.src, props2.pathKey], loadImage, { immediate: true });
|
|
32648
32700
|
return (_ctx, _cache) => {
|
|
32649
|
-
return _ctx.caption ? (vue.openBlock(), vue.createElementBlock("figcaption", _hoisted_1$
|
|
32701
|
+
return _ctx.caption ? (vue.openBlock(), vue.createElementBlock("figcaption", _hoisted_1$m, [
|
|
32650
32702
|
vue.unref(imageSrc) ? (vue.openBlock(), vue.createElementBlock("img", vue.mergeProps({
|
|
32651
32703
|
key: 0,
|
|
32652
32704
|
src: vue.unref(imageSrc)
|
|
@@ -32654,7 +32706,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
32654
32706
|
alt: _ctx.alt,
|
|
32655
32707
|
width: vue.unref(normalizeDimension)(_ctx.width),
|
|
32656
32708
|
height: vue.unref(normalizeDimension)(_ctx.height)
|
|
32657
|
-
}), null, 16, _hoisted_2$
|
|
32709
|
+
}), null, 16, _hoisted_2$d)) : (vue.openBlock(), vue.createBlock(vue.unref(Skeleton), {
|
|
32658
32710
|
key: 1,
|
|
32659
32711
|
class: "img-web-kit",
|
|
32660
32712
|
width: vue.unref(normalizeDimension)(_ctx.width),
|
|
@@ -32675,7 +32727,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
32675
32727
|
height: vue.unref(normalizeDimension)(_ctx.height)
|
|
32676
32728
|
})
|
|
32677
32729
|
}, [
|
|
32678
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
32730
|
+
vue.createVNode(vue.unref(_sfc_main$u), { name: "broken_image" })
|
|
32679
32731
|
], 4)) : (vue.openBlock(), vue.createBlock(vue.unref(Skeleton), {
|
|
32680
32732
|
key: 3,
|
|
32681
32733
|
class: "img-web-kit",
|
|
@@ -32685,16 +32737,16 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
32685
32737
|
};
|
|
32686
32738
|
}
|
|
32687
32739
|
});
|
|
32688
|
-
const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32689
|
-
const _hoisted_1$
|
|
32690
|
-
const _sfc_main$
|
|
32740
|
+
const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-2f5e271c"]]);
|
|
32741
|
+
const _hoisted_1$l = { class: "m-0 pb-025 txt10 line-height-1 w60 menu-text" };
|
|
32742
|
+
const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
32691
32743
|
__name: "BottomMenu",
|
|
32692
32744
|
props: {
|
|
32693
32745
|
navLinks: {}
|
|
32694
32746
|
},
|
|
32695
32747
|
setup(__props) {
|
|
32696
32748
|
return (_ctx, _cache) => {
|
|
32697
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
32749
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$13), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
|
|
32698
32750
|
default: vue.withCtx(() => [
|
|
32699
32751
|
vue.renderSlot(_ctx.$slots, "brand", {}, void 0, true),
|
|
32700
32752
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.navLinks, (nav, i2) => {
|
|
@@ -32705,12 +32757,12 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
32705
32757
|
onClick: nav.onClick
|
|
32706
32758
|
}, {
|
|
32707
32759
|
default: vue.withCtx(() => [
|
|
32708
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
32760
|
+
vue.createVNode(vue.unref(_sfc_main$u), {
|
|
32709
32761
|
icon: nav.icon,
|
|
32710
32762
|
size: 1.4,
|
|
32711
32763
|
class: "m-0 line-height-14"
|
|
32712
32764
|
}, null, 8, ["icon"]),
|
|
32713
|
-
vue.createElementVNode("p", _hoisted_1$
|
|
32765
|
+
vue.createElementVNode("p", _hoisted_1$l, vue.toDisplayString(nav.label), 1)
|
|
32714
32766
|
]),
|
|
32715
32767
|
_: 2
|
|
32716
32768
|
}, 1032, ["to", "onClick"]);
|
|
@@ -32722,8 +32774,8 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
32722
32774
|
};
|
|
32723
32775
|
}
|
|
32724
32776
|
});
|
|
32725
|
-
const BottomMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32726
|
-
const _sfc_main$
|
|
32777
|
+
const BottomMenu = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-2227f9cc"]]);
|
|
32778
|
+
const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
32727
32779
|
__name: "Layout",
|
|
32728
32780
|
props: {
|
|
32729
32781
|
gap: { default: 1 },
|
|
@@ -32767,9 +32819,9 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
32767
32819
|
};
|
|
32768
32820
|
}
|
|
32769
32821
|
});
|
|
32770
|
-
const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32771
|
-
const _hoisted_1$
|
|
32772
|
-
const _sfc_main$
|
|
32822
|
+
const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-a0f4895c"]]);
|
|
32823
|
+
const _hoisted_1$k = { key: 0 };
|
|
32824
|
+
const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
32773
32825
|
__name: "SidebarMenu",
|
|
32774
32826
|
props: {
|
|
32775
32827
|
navLinks: {},
|
|
@@ -32798,7 +32850,7 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
32798
32850
|
icon: "keyboard_arrow_right",
|
|
32799
32851
|
onClick: vue.unref(toggleMenu)
|
|
32800
32852
|
}, null, 8, ["onClick"]),
|
|
32801
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
32853
|
+
vue.createVNode(vue.unref(_sfc_main$13), { class: "py-1 px-05 h-100 flex column gap-05 rounded relative bg-primary font-light overflow-y" }, {
|
|
32802
32854
|
default: vue.withCtx(() => [
|
|
32803
32855
|
!vue.unref(isOpen) || !vue.unref(slots)["brand-open"] ? vue.renderSlot(_ctx.$slots, "brand", { key: 0 }, void 0, true) : vue.createCommentVNode("", true),
|
|
32804
32856
|
vue.unref(isOpen) ? vue.renderSlot(_ctx.$slots, "brand-open", { key: 1 }, void 0, true) : vue.createCommentVNode("", true),
|
|
@@ -32813,13 +32865,13 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
32813
32865
|
...nav.onClick && { onClick: nav.onClick }
|
|
32814
32866
|
}, { class: "nav-button px-075 me-auto w-100" }), {
|
|
32815
32867
|
default: vue.withCtx(() => [
|
|
32816
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
32868
|
+
vue.createVNode(vue.unref(_sfc_main$u), {
|
|
32817
32869
|
icon: nav.icon,
|
|
32818
32870
|
size: 1.4
|
|
32819
32871
|
}, null, 8, ["icon"]),
|
|
32820
32872
|
vue.createVNode(vue.Transition, { name: "showP" }, {
|
|
32821
32873
|
default: vue.withCtx(() => [
|
|
32822
|
-
_ctx.open ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_1$
|
|
32874
|
+
_ctx.open ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_1$k, vue.toDisplayString(nav.label), 1)) : vue.createCommentVNode("", true)
|
|
32823
32875
|
]),
|
|
32824
32876
|
_: 2
|
|
32825
32877
|
}, 1024)
|
|
@@ -32846,8 +32898,8 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
32846
32898
|
};
|
|
32847
32899
|
}
|
|
32848
32900
|
});
|
|
32849
|
-
const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32850
|
-
const _sfc_main$
|
|
32901
|
+
const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-43939d5b"]]);
|
|
32902
|
+
const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
32851
32903
|
__name: "Skeleton",
|
|
32852
32904
|
props: {
|
|
32853
32905
|
count: { default: 1 },
|
|
@@ -32878,11 +32930,11 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
32878
32930
|
};
|
|
32879
32931
|
}
|
|
32880
32932
|
});
|
|
32881
|
-
const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32882
|
-
const _hoisted_1$
|
|
32883
|
-
const _hoisted_2$
|
|
32933
|
+
const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-8788ed73"]]);
|
|
32934
|
+
const _hoisted_1$j = { class: "bgl_card tabs-top" };
|
|
32935
|
+
const _hoisted_2$c = { class: "tabs grid auto-flow-columns fit-content" };
|
|
32884
32936
|
const _hoisted_3$9 = ["onClick"];
|
|
32885
|
-
const _sfc_main$
|
|
32937
|
+
const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
32886
32938
|
__name: "TabbedLayout",
|
|
32887
32939
|
props: {
|
|
32888
32940
|
title: {},
|
|
@@ -32915,9 +32967,9 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
32915
32967
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
32916
32968
|
class: vue.normalizeClass(["h-100 grid list-view gap-1", { "side-tabs": _ctx.sideTabs }])
|
|
32917
32969
|
}, [
|
|
32918
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
32970
|
+
vue.createElementVNode("div", _hoisted_1$j, [
|
|
32919
32971
|
vue.renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
|
|
32920
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
32972
|
+
vue.createElementVNode("div", _hoisted_2$c, [
|
|
32921
32973
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.tabs, (tab) => {
|
|
32922
32974
|
var _a;
|
|
32923
32975
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -32942,7 +32994,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
32942
32994
|
};
|
|
32943
32995
|
}
|
|
32944
32996
|
});
|
|
32945
|
-
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32997
|
+
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-915732c1"]]);
|
|
32946
32998
|
const state = vue.reactive(/* @__PURE__ */ new Map());
|
|
32947
32999
|
function useTabs(group) {
|
|
32948
33000
|
if (!state.has(group)) {
|
|
@@ -32956,8 +33008,8 @@ function useTabs(group) {
|
|
|
32956
33008
|
});
|
|
32957
33009
|
return { currentTab };
|
|
32958
33010
|
}
|
|
32959
|
-
const _hoisted_1$
|
|
32960
|
-
const _sfc_main$
|
|
33011
|
+
const _hoisted_1$i = { key: 0 };
|
|
33012
|
+
const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
32961
33013
|
__name: "Tabs",
|
|
32962
33014
|
props: {
|
|
32963
33015
|
tabs: {},
|
|
@@ -32999,14 +33051,14 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
32999
33051
|
group: vue.unref(group),
|
|
33000
33052
|
class: "mb-05"
|
|
33001
33053
|
}, null, 8, ["modelValue", "flat", "tabs", "group"]),
|
|
33002
|
-
vue.unref(currentTab) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
33054
|
+
vue.unref(currentTab) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$i, [
|
|
33003
33055
|
vue.unref(slots)[vue.unref(currentTab)] ? vue.renderSlot(_ctx.$slots, vue.unref(currentTab), { key: 0 }) : vue.unref(currentTab) ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(tabComponent)), { key: 1 })) : vue.createCommentVNode("", true)
|
|
33004
33056
|
])) : vue.createCommentVNode("", true)
|
|
33005
33057
|
], 64);
|
|
33006
33058
|
};
|
|
33007
33059
|
}
|
|
33008
33060
|
});
|
|
33009
|
-
const _sfc_main$
|
|
33061
|
+
const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
33010
33062
|
__name: "TabsBody",
|
|
33011
33063
|
props: {
|
|
33012
33064
|
group: {}
|
|
@@ -33019,8 +33071,8 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
33019
33071
|
};
|
|
33020
33072
|
}
|
|
33021
33073
|
});
|
|
33022
|
-
const _hoisted_1$
|
|
33023
|
-
const _sfc_main$
|
|
33074
|
+
const _hoisted_1$h = ["onClick"];
|
|
33075
|
+
const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
33024
33076
|
__name: "TabsNav",
|
|
33025
33077
|
props: {
|
|
33026
33078
|
title: {},
|
|
@@ -33107,21 +33159,21 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
33107
33159
|
class: vue.normalizeClass([{ active: isActive(tab) }, "bgl_tab relative z-1"]),
|
|
33108
33160
|
onClick: ($event) => selectTab(tab)
|
|
33109
33161
|
}, [
|
|
33110
|
-
typeof tab !== "string" && tab.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
33162
|
+
typeof tab !== "string" && tab.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$u), {
|
|
33111
33163
|
key: 0,
|
|
33112
33164
|
icon: tab.icon
|
|
33113
33165
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
33114
33166
|
vue.createTextVNode(" " + vue.toDisplayString(tabLabel(tab)), 1)
|
|
33115
|
-
], 10, _hoisted_1$
|
|
33167
|
+
], 10, _hoisted_1$h);
|
|
33116
33168
|
}), 128))
|
|
33117
33169
|
], true)
|
|
33118
33170
|
], 2);
|
|
33119
33171
|
};
|
|
33120
33172
|
}
|
|
33121
33173
|
});
|
|
33122
|
-
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33123
|
-
const _hoisted_1$
|
|
33124
|
-
const _hoisted_2$
|
|
33174
|
+
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-6ece2018"]]);
|
|
33175
|
+
const _hoisted_1$g = { class: "txt-start" };
|
|
33176
|
+
const _hoisted_2$b = {
|
|
33125
33177
|
key: 0,
|
|
33126
33178
|
class: "txt10 m-0 p-0 txt-gray ellipsis"
|
|
33127
33179
|
};
|
|
@@ -33131,7 +33183,7 @@ const _hoisted_4$5 = {
|
|
|
33131
33183
|
class: "txt12 m-0 p-0 opacity-7 ellipsis-1"
|
|
33132
33184
|
};
|
|
33133
33185
|
const _hoisted_5$5 = ["textContent"];
|
|
33134
|
-
const _sfc_main$
|
|
33186
|
+
const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
33135
33187
|
__name: "ListItem",
|
|
33136
33188
|
props: {
|
|
33137
33189
|
src: {},
|
|
@@ -33193,14 +33245,14 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
33193
33245
|
src: _ctx.src,
|
|
33194
33246
|
size: 40
|
|
33195
33247
|
}, null, 8, ["name", "src"])) : vue.createCommentVNode("", true),
|
|
33196
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
33248
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$u), {
|
|
33197
33249
|
key: 1,
|
|
33198
33250
|
size: "1.2",
|
|
33199
33251
|
class: "color-primary",
|
|
33200
33252
|
icon: _ctx.icon
|
|
33201
33253
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
33202
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
33203
|
-
_ctx.lead ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_2$
|
|
33254
|
+
vue.createElementVNode("div", _hoisted_1$g, [
|
|
33255
|
+
_ctx.lead ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_2$b, [
|
|
33204
33256
|
vue.createTextVNode(vue.toDisplayString(_ctx.lead) + " ", 1),
|
|
33205
33257
|
vue.renderSlot(_ctx.$slots, "lead")
|
|
33206
33258
|
])) : vue.createCommentVNode("", true),
|
|
@@ -33215,7 +33267,7 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
33215
33267
|
]),
|
|
33216
33268
|
_cache[0] || (_cache[0] = vue.createElementVNode("div", { class: "flex-grow-1" }, null, -1)),
|
|
33217
33269
|
vue.renderSlot(_ctx.$slots, "end", {}, () => [
|
|
33218
|
-
_ctx.iconEnd ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
33270
|
+
_ctx.iconEnd ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$u), {
|
|
33219
33271
|
key: 0,
|
|
33220
33272
|
icon: _ctx.iconEnd,
|
|
33221
33273
|
class: "transition-400"
|
|
@@ -33234,13 +33286,13 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
33234
33286
|
};
|
|
33235
33287
|
}
|
|
33236
33288
|
});
|
|
33237
|
-
const _sfc_main$
|
|
33238
|
-
const _hoisted_1$
|
|
33239
|
-
const _hoisted_2$
|
|
33289
|
+
const _sfc_main$i = {};
|
|
33290
|
+
const _hoisted_1$f = { class: "list-wrap bgl_card thin grid overflow-hidden pt-0 pb-05 px-0 m_pb-0" };
|
|
33291
|
+
const _hoisted_2$a = { class: "p-0" };
|
|
33240
33292
|
const _hoisted_3$7 = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
|
|
33241
33293
|
function _sfc_render$3(_ctx, _cache) {
|
|
33242
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
33243
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
33294
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$f, [
|
|
33295
|
+
vue.createElementVNode("div", _hoisted_2$a, [
|
|
33244
33296
|
vue.renderSlot(_ctx.$slots, "header")
|
|
33245
33297
|
]),
|
|
33246
33298
|
vue.createElementVNode("div", _hoisted_3$7, [
|
|
@@ -33248,9 +33300,9 @@ function _sfc_render$3(_ctx, _cache) {
|
|
|
33248
33300
|
])
|
|
33249
33301
|
]);
|
|
33250
33302
|
}
|
|
33251
|
-
const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33252
|
-
const _hoisted_1$
|
|
33253
|
-
const _sfc_main$
|
|
33303
|
+
const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$3]]);
|
|
33304
|
+
const _hoisted_1$e = { class: "flex-center" };
|
|
33305
|
+
const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
33254
33306
|
__name: "Loading",
|
|
33255
33307
|
props: {
|
|
33256
33308
|
size: { default: 50 },
|
|
@@ -33272,7 +33324,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
33272
33324
|
return standardSize(borderValue);
|
|
33273
33325
|
});
|
|
33274
33326
|
return (_ctx, _cache) => {
|
|
33275
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
33327
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$e, [
|
|
33276
33328
|
theme.value === "bar" ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
33277
33329
|
key: 0,
|
|
33278
33330
|
class: "lds-bar",
|
|
@@ -33314,11 +33366,11 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
33314
33366
|
};
|
|
33315
33367
|
}
|
|
33316
33368
|
});
|
|
33317
|
-
const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33318
|
-
const _hoisted_1$
|
|
33369
|
+
const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-2d349a92"]]);
|
|
33370
|
+
const _hoisted_1$d = ["id"];
|
|
33319
33371
|
const defaultMarkerSVG = '<svg width="28" height="38" viewBox="0 0 28 38" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.2263 37.7955C17.0897 37.7955 19.4109 37.0138 19.4109 36.0496C19.4109 35.0854 17.0897 34.3037 14.2263 34.3037C11.363 34.3037 9.04175 35.0854 9.04175 36.0496C9.04175 37.0138 11.363 37.7955 14.2263 37.7955Z" fill="black" fill-opacity="0.1"/><path d="M14.2265 0.549591C21.2842 0.549591 27.0131 6.23786 27.0787 13.28V13.4024C27.0787 19.3328 24.4759 24.4306 21.5627 28.2764C18.6511 32.12 15.4577 34.6754 14.3457 35.5097C14.2748 35.5629 14.1778 35.5629 14.1068 35.5097C12.9947 34.675 9.80135 32.1197 6.88984 28.2762C3.97665 24.4304 1.37378 19.3328 1.37378 13.4024C1.37378 6.30387 7.12806 0.549591 14.2265 0.549591Z" fill="#ED1b3E" stroke="#ED6C6F"/><path d="M14.2263 21.6185C18.7639 21.6185 22.4424 17.94 22.4424 13.4024C22.4424 8.86477 18.7639 5.18631 14.2263 5.18631C9.68872 5.18631 6.01025 8.86477 6.01025 13.4024C6.01025 17.94 9.68872 21.6185 14.2263 21.6185Z" fill="white"/></svg>';
|
|
33320
33372
|
const leafletScriptUrl = "https://unpkg.com/leaflet@1.9.4/dist/leaflet.js";
|
|
33321
|
-
const _sfc_main$
|
|
33373
|
+
const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
33322
33374
|
__name: "Index",
|
|
33323
33375
|
props: {
|
|
33324
33376
|
center: { default: () => [31.7683, 35.2137] },
|
|
@@ -33409,15 +33461,15 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
33409
33461
|
class: "leaflet-map",
|
|
33410
33462
|
style: vue.normalizeStyle({ height: `${props2.height || 400}px` }),
|
|
33411
33463
|
dir: "ltr"
|
|
33412
|
-
}, null, 12, _hoisted_1$
|
|
33464
|
+
}, null, 12, _hoisted_1$d);
|
|
33413
33465
|
};
|
|
33414
33466
|
}
|
|
33415
33467
|
});
|
|
33416
|
-
const _hoisted_1$
|
|
33468
|
+
const _hoisted_1$c = {
|
|
33417
33469
|
key: 0,
|
|
33418
33470
|
class: "tool-bar"
|
|
33419
33471
|
};
|
|
33420
|
-
const _hoisted_2$
|
|
33472
|
+
const _hoisted_2$9 = {
|
|
33421
33473
|
key: 1,
|
|
33422
33474
|
class: "sticky z-index-999 -mt-1 -ms-1 px-025 h-30px pt-025 modal-no-title"
|
|
33423
33475
|
};
|
|
@@ -33425,7 +33477,7 @@ const _hoisted_3$6 = {
|
|
|
33425
33477
|
key: 2,
|
|
33426
33478
|
class: "modal-footer mt-1"
|
|
33427
33479
|
};
|
|
33428
|
-
const _sfc_main$
|
|
33480
|
+
const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
33429
33481
|
__name: "Modal",
|
|
33430
33482
|
props: {
|
|
33431
33483
|
thin: { type: Boolean },
|
|
@@ -33482,7 +33534,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
33482
33534
|
onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
|
|
33483
33535
|
onKeydown: vue.withKeys(closeModal, ["esc"])
|
|
33484
33536
|
}, [
|
|
33485
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
33537
|
+
vue.createVNode(vue.unref(_sfc_main$13), {
|
|
33486
33538
|
class: "modal",
|
|
33487
33539
|
style: vue.normalizeStyle({ ...maxWidth.value }),
|
|
33488
33540
|
thin: _ctx.thin,
|
|
@@ -33492,7 +33544,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
33492
33544
|
default: vue.withCtx(() => {
|
|
33493
33545
|
var _a;
|
|
33494
33546
|
return [
|
|
33495
|
-
vue.unref(slots).toolbar || _ctx.title ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_1$
|
|
33547
|
+
vue.unref(slots).toolbar || _ctx.title ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_1$c, [
|
|
33496
33548
|
vue.renderSlot(_ctx.$slots, "toolbar"),
|
|
33497
33549
|
vue.createVNode(vue.unref(Btn), {
|
|
33498
33550
|
style: vue.normalizeStyle({ float: _ctx.side ? "left" : "right" }),
|
|
@@ -33507,7 +33559,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
33507
33559
|
tag: "h3",
|
|
33508
33560
|
label: _ctx.title
|
|
33509
33561
|
}, null, 8, ["label"])) : vue.createCommentVNode("", true)
|
|
33510
|
-
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
33562
|
+
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$9, [
|
|
33511
33563
|
vue.createVNode(vue.unref(Btn), {
|
|
33512
33564
|
class: "position-start",
|
|
33513
33565
|
icon: "close",
|
|
@@ -33536,8 +33588,8 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
33536
33588
|
};
|
|
33537
33589
|
}
|
|
33538
33590
|
});
|
|
33539
|
-
const _hoisted_1$
|
|
33540
|
-
const _sfc_main$
|
|
33591
|
+
const _hoisted_1$b = { class: "pb-05 pretty" };
|
|
33592
|
+
const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
33541
33593
|
__name: "ModalConfirm",
|
|
33542
33594
|
props: {
|
|
33543
33595
|
title: {},
|
|
@@ -33563,7 +33615,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
33563
33615
|
const confirmBtnColor = props2.confirmBtnColor || "green";
|
|
33564
33616
|
const cancelBtnColor = props2.cancelBtnColor || "gray";
|
|
33565
33617
|
return (_ctx, _cache) => {
|
|
33566
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
33618
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$f), {
|
|
33567
33619
|
title: vue.unref(title),
|
|
33568
33620
|
width: "380px",
|
|
33569
33621
|
dismissable: false,
|
|
@@ -33582,16 +33634,16 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
33582
33634
|
}, null, 8, ["color", "value"])
|
|
33583
33635
|
]),
|
|
33584
33636
|
default: vue.withCtx(() => [
|
|
33585
|
-
vue.createElementVNode("p", _hoisted_1$
|
|
33637
|
+
vue.createElementVNode("p", _hoisted_1$b, vue.toDisplayString(vue.unref(message)), 1)
|
|
33586
33638
|
]),
|
|
33587
33639
|
_: 1
|
|
33588
33640
|
}, 8, ["title"]);
|
|
33589
33641
|
};
|
|
33590
33642
|
}
|
|
33591
33643
|
});
|
|
33592
|
-
const _hoisted_1$
|
|
33593
|
-
const _hoisted_2$
|
|
33594
|
-
const _sfc_main$
|
|
33644
|
+
const _hoisted_1$a = { class: "flex gap-0" };
|
|
33645
|
+
const _hoisted_2$8 = { class: "flex gap-05" };
|
|
33646
|
+
const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
33595
33647
|
__name: "ModalForm",
|
|
33596
33648
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
33597
33649
|
schema: {},
|
|
@@ -33655,7 +33707,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
33655
33707
|
}
|
|
33656
33708
|
__expose({ setFormValues });
|
|
33657
33709
|
return (_ctx, _cache) => {
|
|
33658
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
33710
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$f), {
|
|
33659
33711
|
ref_key: "modal",
|
|
33660
33712
|
ref: modal,
|
|
33661
33713
|
side: _ctx.side,
|
|
@@ -33666,7 +33718,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
33666
33718
|
"onUpdate:visible": _cache[3] || (_cache[3] = ($event) => emit2("update:visible", $event))
|
|
33667
33719
|
}, vue.createSlots({
|
|
33668
33720
|
default: vue.withCtx(() => [
|
|
33669
|
-
_ctx.visible ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
33721
|
+
_ctx.visible ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$W), {
|
|
33670
33722
|
key: 0,
|
|
33671
33723
|
ref_key: "form",
|
|
33672
33724
|
ref: form,
|
|
@@ -33684,7 +33736,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
33684
33736
|
_ctx.onDelete || _ctx.onSubmit ? {
|
|
33685
33737
|
name: "footer",
|
|
33686
33738
|
fn: vue.withCtx(() => [
|
|
33687
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
33739
|
+
vue.createElementVNode("div", _hoisted_1$a, [
|
|
33688
33740
|
vue.createVNode(vue.unref(Btn), {
|
|
33689
33741
|
thin: "",
|
|
33690
33742
|
flat: "",
|
|
@@ -33701,7 +33753,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
33701
33753
|
onClick: runDelete
|
|
33702
33754
|
}, null, 8, ["value"])) : vue.createCommentVNode("", true)
|
|
33703
33755
|
]),
|
|
33704
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
33756
|
+
vue.createElementVNode("div", _hoisted_2$8, [
|
|
33705
33757
|
_ctx.onDuplicate ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
|
|
33706
33758
|
key: 0,
|
|
33707
33759
|
outline: "",
|
|
@@ -33727,14 +33779,14 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
33727
33779
|
};
|
|
33728
33780
|
}
|
|
33729
33781
|
});
|
|
33730
|
-
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33731
|
-
const _hoisted_1$
|
|
33732
|
-
const _hoisted_2$
|
|
33782
|
+
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-c62c6888"]]);
|
|
33783
|
+
const _hoisted_1$9 = { class: "full-nav" };
|
|
33784
|
+
const _hoisted_2$7 = { class: "nav-scroll" };
|
|
33733
33785
|
const _hoisted_3$5 = { class: "nav-links-wrapper" };
|
|
33734
33786
|
const _hoisted_4$4 = { class: "tooltip" };
|
|
33735
33787
|
const _hoisted_5$4 = { class: "bot-buttons-wrapper" };
|
|
33736
33788
|
const _hoisted_6$4 = { class: "tooltip" };
|
|
33737
|
-
const _sfc_main$
|
|
33789
|
+
const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
33738
33790
|
__name: "NavBar",
|
|
33739
33791
|
props: {
|
|
33740
33792
|
footerLinks: { default: () => [] },
|
|
@@ -33768,13 +33820,13 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
33768
33820
|
onClick: toggleMenu,
|
|
33769
33821
|
onKeypress: vue.withKeys(toggleMenu, ["enter"])
|
|
33770
33822
|
}, [
|
|
33771
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
33823
|
+
vue.createVNode(vue.unref(_sfc_main$u), {
|
|
33772
33824
|
icon: "chevron_right",
|
|
33773
33825
|
class: "top-arrow"
|
|
33774
33826
|
})
|
|
33775
33827
|
], 32),
|
|
33776
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
33777
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
33828
|
+
vue.createElementVNode("div", _hoisted_1$9, [
|
|
33829
|
+
vue.createElementVNode("div", _hoisted_2$7, [
|
|
33778
33830
|
vue.createElementVNode("div", _hoisted_3$5, [
|
|
33779
33831
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.links, (link) => {
|
|
33780
33832
|
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(link.to ? "router-link" : "div"), {
|
|
@@ -33787,7 +33839,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
33787
33839
|
}
|
|
33788
33840
|
}, {
|
|
33789
33841
|
default: vue.withCtx(() => [
|
|
33790
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
33842
|
+
vue.createVNode(vue.unref(_sfc_main$u), {
|
|
33791
33843
|
icon: link.icon
|
|
33792
33844
|
}, null, 8, ["icon"]),
|
|
33793
33845
|
vue.createElementVNode("div", _hoisted_4$4, vue.toDisplayString(link.label), 1)
|
|
@@ -33809,7 +33861,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
33809
33861
|
}
|
|
33810
33862
|
}, {
|
|
33811
33863
|
default: vue.withCtx(() => [
|
|
33812
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
33864
|
+
vue.createVNode(vue.unref(_sfc_main$u), {
|
|
33813
33865
|
icon: link.icon
|
|
33814
33866
|
}, null, 8, ["icon"]),
|
|
33815
33867
|
vue.createElementVNode("div", _hoisted_6$4, vue.toDisplayString(link.label), 1)
|
|
@@ -33824,10 +33876,10 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
33824
33876
|
};
|
|
33825
33877
|
}
|
|
33826
33878
|
});
|
|
33827
|
-
const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33828
|
-
const _hoisted_1$
|
|
33829
|
-
const _hoisted_2$
|
|
33830
|
-
const _sfc_main$
|
|
33879
|
+
const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-f3df1ee7"]]);
|
|
33880
|
+
const _hoisted_1$8 = { class: "page-top" };
|
|
33881
|
+
const _hoisted_2$6 = { class: "top-title m-0" };
|
|
33882
|
+
const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
33831
33883
|
__name: "PageTitle",
|
|
33832
33884
|
props: {
|
|
33833
33885
|
value: {
|
|
@@ -33837,8 +33889,8 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
33837
33889
|
},
|
|
33838
33890
|
setup(__props) {
|
|
33839
33891
|
return (_ctx, _cache) => {
|
|
33840
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
33841
|
-
vue.createElementVNode("h1", _hoisted_2$
|
|
33892
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$8, [
|
|
33893
|
+
vue.createElementVNode("h1", _hoisted_2$6, [
|
|
33842
33894
|
vue.renderSlot(_ctx.$slots, "default"),
|
|
33843
33895
|
vue.createTextVNode(" " + vue.toDisplayString(__props.value), 1)
|
|
33844
33896
|
])
|
|
@@ -33846,6 +33898,185 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
33846
33898
|
};
|
|
33847
33899
|
}
|
|
33848
33900
|
});
|
|
33901
|
+
const _hoisted_1$7 = {
|
|
33902
|
+
key: 1,
|
|
33903
|
+
class: "pagination-ellipsis"
|
|
33904
|
+
};
|
|
33905
|
+
const _hoisted_2$5 = { class: "pagination-info" };
|
|
33906
|
+
const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
33907
|
+
__name: "Pagination",
|
|
33908
|
+
props: /* @__PURE__ */ vue.mergeModels({
|
|
33909
|
+
totalItems: { default: 0 },
|
|
33910
|
+
perPage: { default: 25 },
|
|
33911
|
+
totalPages: { default: void 0 },
|
|
33912
|
+
variant: { default: "default" },
|
|
33913
|
+
rtl: { type: Boolean, default: false },
|
|
33914
|
+
maxVisiblePages: { default: 3 }
|
|
33915
|
+
}, {
|
|
33916
|
+
"page": { default: 1 },
|
|
33917
|
+
"pageModifiers": {},
|
|
33918
|
+
"range": {},
|
|
33919
|
+
"rangeModifiers": {}
|
|
33920
|
+
}),
|
|
33921
|
+
emits: ["update:page", "update:range"],
|
|
33922
|
+
setup(__props) {
|
|
33923
|
+
const props2 = __props;
|
|
33924
|
+
const page = vue.useModel(__props, "page");
|
|
33925
|
+
const range2 = vue.useModel(__props, "range");
|
|
33926
|
+
const paginationContainer = vue.ref();
|
|
33927
|
+
let indicatorPosition = vue.ref(0);
|
|
33928
|
+
let indicatorWidth = vue.ref(0);
|
|
33929
|
+
const computedTotalPages = vue.computed(() => {
|
|
33930
|
+
if (props2.totalPages !== void 0) return props2.totalPages;
|
|
33931
|
+
const { perPage } = props2;
|
|
33932
|
+
return Math.max(1, Math.ceil(props2.totalItems / perPage));
|
|
33933
|
+
});
|
|
33934
|
+
vue.watch(
|
|
33935
|
+
[() => page.value, () => props2.perPage, () => props2.totalItems],
|
|
33936
|
+
() => {
|
|
33937
|
+
if (range2.value) {
|
|
33938
|
+
const { perPage } = props2;
|
|
33939
|
+
const start = (page.value - 1) * perPage;
|
|
33940
|
+
const end = Math.min(start + perPage - 1, props2.totalItems - 1);
|
|
33941
|
+
range2.value = { start, end };
|
|
33942
|
+
}
|
|
33943
|
+
vue.nextTick(() => {
|
|
33944
|
+
updateIndicatorPosition();
|
|
33945
|
+
});
|
|
33946
|
+
},
|
|
33947
|
+
{ immediate: true }
|
|
33948
|
+
);
|
|
33949
|
+
vue.watch(() => props2.rtl, updateIndicatorPosition);
|
|
33950
|
+
const visiblePages = vue.computed(() => {
|
|
33951
|
+
const { maxVisiblePages } = props2;
|
|
33952
|
+
if (computedTotalPages.value <= maxVisiblePages * 2) {
|
|
33953
|
+
return Array.from({ length: computedTotalPages.value }, (_2, i2) => i2 + 1);
|
|
33954
|
+
}
|
|
33955
|
+
const mustInclude = /* @__PURE__ */ new Set();
|
|
33956
|
+
mustInclude.add(page.value);
|
|
33957
|
+
if (page.value > 1) mustInclude.add(page.value - 1);
|
|
33958
|
+
if (page.value < computedTotalPages.value) mustInclude.add(page.value + 1);
|
|
33959
|
+
mustInclude.add(1);
|
|
33960
|
+
mustInclude.add(computedTotalPages.value);
|
|
33961
|
+
const pageArray = Array.from(mustInclude).sort((a2, b2) => a2 - b2);
|
|
33962
|
+
if (pageArray.length < maxVisiblePages + 2) {
|
|
33963
|
+
for (let i2 = 0; i2 < pageArray.length - 1; i2++) {
|
|
33964
|
+
const current = pageArray[i2];
|
|
33965
|
+
const next2 = pageArray[i2 + 1];
|
|
33966
|
+
if (next2 - current > 1) {
|
|
33967
|
+
const pagesToAdd = Math.min(next2 - current - 1, maxVisiblePages + 2 - pageArray.length);
|
|
33968
|
+
const newPages = Array.from(
|
|
33969
|
+
{ length: pagesToAdd },
|
|
33970
|
+
(_2, idx) => current + idx + 1
|
|
33971
|
+
);
|
|
33972
|
+
pageArray.splice(i2 + 1, 0, ...newPages);
|
|
33973
|
+
i2 += newPages.length;
|
|
33974
|
+
}
|
|
33975
|
+
}
|
|
33976
|
+
}
|
|
33977
|
+
return pageArray;
|
|
33978
|
+
});
|
|
33979
|
+
function updateIndicatorPosition() {
|
|
33980
|
+
if (!paginationContainer.value) return;
|
|
33981
|
+
const selectedButton = paginationContainer.value.querySelector(".selected");
|
|
33982
|
+
if (!selectedButton) return;
|
|
33983
|
+
const containerRect = paginationContainer.value.getBoundingClientRect();
|
|
33984
|
+
const buttonRect = selectedButton.getBoundingClientRect();
|
|
33985
|
+
indicatorWidth.value = buttonRect.width;
|
|
33986
|
+
if (props2.rtl) {
|
|
33987
|
+
const rightOffset = containerRect.right - buttonRect.right;
|
|
33988
|
+
indicatorPosition.value = rightOffset;
|
|
33989
|
+
} else {
|
|
33990
|
+
const leftOffset = buttonRect.left - containerRect.left;
|
|
33991
|
+
indicatorPosition.value = leftOffset;
|
|
33992
|
+
}
|
|
33993
|
+
}
|
|
33994
|
+
function handleClick(p2) {
|
|
33995
|
+
if (p2 < 1 || p2 > computedTotalPages.value) return;
|
|
33996
|
+
page.value = p2;
|
|
33997
|
+
}
|
|
33998
|
+
function next() {
|
|
33999
|
+
handleClick(page.value + 1);
|
|
34000
|
+
}
|
|
34001
|
+
function prev() {
|
|
34002
|
+
handleClick(page.value - 1);
|
|
34003
|
+
}
|
|
34004
|
+
function displayIndex(index2) {
|
|
34005
|
+
return index2 === void 0 ? "-" : (index2 + 1).toString();
|
|
34006
|
+
}
|
|
34007
|
+
const renderPageButtons = vue.computed(() => {
|
|
34008
|
+
const items = [];
|
|
34009
|
+
for (let i2 = 0; i2 < visiblePages.value.length; i2++) {
|
|
34010
|
+
const pageNum = visiblePages.value[i2];
|
|
34011
|
+
if (i2 > 0) {
|
|
34012
|
+
const prevPage = visiblePages.value[i2 - 1];
|
|
34013
|
+
if (pageNum - prevPage > 1) {
|
|
34014
|
+
items.push({
|
|
34015
|
+
type: "ellipsis",
|
|
34016
|
+
key: `ellipsis-${i2}`
|
|
34017
|
+
});
|
|
34018
|
+
}
|
|
34019
|
+
}
|
|
34020
|
+
items.push({
|
|
34021
|
+
type: "page",
|
|
34022
|
+
number: pageNum,
|
|
34023
|
+
key: pageNum
|
|
34024
|
+
});
|
|
34025
|
+
}
|
|
34026
|
+
return items;
|
|
34027
|
+
});
|
|
34028
|
+
return (_ctx, _cache) => {
|
|
34029
|
+
var _a, _b;
|
|
34030
|
+
return computedTotalPages.value > 1 ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
34031
|
+
key: 0,
|
|
34032
|
+
ref_key: "paginationContainer",
|
|
34033
|
+
ref: paginationContainer,
|
|
34034
|
+
class: "relative flex gap-1 justify-content"
|
|
34035
|
+
}, [
|
|
34036
|
+
_ctx.variant !== "simple" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
34037
|
+
vue.createElementVNode("div", {
|
|
34038
|
+
class: "indicator radius-1",
|
|
34039
|
+
style: vue.normalizeStyle({
|
|
34040
|
+
[_ctx.rtl ? "right" : "left"]: `${vue.unref(indicatorPosition)}px`,
|
|
34041
|
+
width: `${vue.unref(indicatorWidth)}px`
|
|
34042
|
+
})
|
|
34043
|
+
}, null, 4),
|
|
34044
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(renderPageButtons.value, (item) => {
|
|
34045
|
+
return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
34046
|
+
key: item.key
|
|
34047
|
+
}, [
|
|
34048
|
+
item.type === "page" ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
|
|
34049
|
+
key: 0,
|
|
34050
|
+
flat: "",
|
|
34051
|
+
thin: "",
|
|
34052
|
+
class: vue.normalizeClass({ selected: item.number === page.value }),
|
|
34053
|
+
value: item.number ? item.number.toString() : "",
|
|
34054
|
+
onClick: ($event) => item.number ? handleClick(item.number) : null
|
|
34055
|
+
}, null, 8, ["class", "value", "onClick"])) : item.type === "ellipsis" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$7, " ... ")) : vue.createCommentVNode("", true)
|
|
34056
|
+
], 64);
|
|
34057
|
+
}), 128))
|
|
34058
|
+
], 64)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
34059
|
+
vue.createVNode(vue.unref(Btn), {
|
|
34060
|
+
flat: "",
|
|
34061
|
+
thin: "",
|
|
34062
|
+
disabled: page.value <= 1,
|
|
34063
|
+
icon: "chevron_left",
|
|
34064
|
+
onClick: prev
|
|
34065
|
+
}, null, 8, ["disabled"]),
|
|
34066
|
+
vue.createElementVNode("span", _hoisted_2$5, vue.toDisplayString(displayIndex((_a = range2.value) == null ? void 0 : _a.start)) + "-" + vue.toDisplayString(displayIndex((_b = range2.value) == null ? void 0 : _b.end)) + " / " + vue.toDisplayString(props2.totalItems), 1),
|
|
34067
|
+
vue.createVNode(vue.unref(Btn), {
|
|
34068
|
+
flat: "",
|
|
34069
|
+
thin: "",
|
|
34070
|
+
disabled: page.value >= computedTotalPages.value,
|
|
34071
|
+
icon: "chevron_right",
|
|
34072
|
+
onClick: next
|
|
34073
|
+
}, null, 8, ["disabled"])
|
|
34074
|
+
], 64))
|
|
34075
|
+
], 512)) : vue.createCommentVNode("", true);
|
|
34076
|
+
};
|
|
34077
|
+
}
|
|
34078
|
+
});
|
|
34079
|
+
const Pagination = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-0443aea2"]]);
|
|
33849
34080
|
const _hoisted_1$6 = ["disabled"];
|
|
33850
34081
|
const _hoisted_2$4 = { class: "bgl_pill-flex" };
|
|
33851
34082
|
const _hoisted_3$4 = {
|
|
@@ -33886,8 +34117,8 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
33886
34117
|
},
|
|
33887
34118
|
setup(__props) {
|
|
33888
34119
|
vue.useCssVars((_ctx) => ({
|
|
33889
|
-
"
|
|
33890
|
-
"
|
|
34120
|
+
"09d70b6a": computedBackgroundColor.value,
|
|
34121
|
+
"69df9534": cumputedTextColor.value
|
|
33891
34122
|
}));
|
|
33892
34123
|
const props2 = __props;
|
|
33893
34124
|
const slots = vue.useSlots();
|
|
@@ -33954,7 +34185,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
33954
34185
|
}, _ctx.btn), null, 16)
|
|
33955
34186
|
])) : vue.createCommentVNode("", true)
|
|
33956
34187
|
])),
|
|
33957
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
34188
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$u), {
|
|
33958
34189
|
key: 2,
|
|
33959
34190
|
icon: _ctx.icon
|
|
33960
34191
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
@@ -33962,7 +34193,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
33962
34193
|
!vue.unref(slots).default ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 3 }, [
|
|
33963
34194
|
vue.createTextVNode(vue.toDisplayString(_ctx.value || _ctx.modelValue), 1)
|
|
33964
34195
|
], 64)) : vue.createCommentVNode("", true),
|
|
33965
|
-
_ctx.iconEnd ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
34196
|
+
_ctx.iconEnd ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$u), {
|
|
33966
34197
|
key: 4,
|
|
33967
34198
|
icon: _ctx.iconEnd
|
|
33968
34199
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
@@ -33971,7 +34202,8 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
33971
34202
|
vue.createVNode(vue.unref(Btn), vue.mergeProps({
|
|
33972
34203
|
class: "bgl_pill-btn",
|
|
33973
34204
|
round: "",
|
|
33974
|
-
thin: ""
|
|
34205
|
+
thin: "",
|
|
34206
|
+
flat: ""
|
|
33975
34207
|
}, _ctx.btnEnd), null, 16)
|
|
33976
34208
|
])) : vue.createCommentVNode("", true)
|
|
33977
34209
|
]))
|
|
@@ -33980,7 +34212,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
33980
34212
|
};
|
|
33981
34213
|
}
|
|
33982
34214
|
});
|
|
33983
|
-
const Pill = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
34215
|
+
const Pill = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-ae730ec5"]]);
|
|
33984
34216
|
const _sfc_main$8 = {};
|
|
33985
34217
|
function _sfc_render$2(_ctx, _cache) {
|
|
33986
34218
|
const _component_router_view = vue.resolveComponent("router-view");
|
|
@@ -34779,7 +35011,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
|
34779
35011
|
vue.createElementVNode("span", {
|
|
34780
35012
|
onClick: ($event) => col.sortable && _ctx.$emit("sortColumn", col.key)
|
|
34781
35013
|
}, vue.toDisplayString(col.label || col.key), 9, _hoisted_4$2),
|
|
34782
|
-
_ctx.sortColumn === col.key ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
35014
|
+
_ctx.sortColumn === col.key ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$u), {
|
|
34783
35015
|
key: 0,
|
|
34784
35016
|
class: vue.normalizeClass(["line-height-0 transition-400", { "rotate-180": _ctx.sortDirection === "desc" }]),
|
|
34785
35017
|
name: "keyboard_arrow_down"
|
|
@@ -35356,29 +35588,29 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
35356
35588
|
placeholder: "Search",
|
|
35357
35589
|
class: "m-0 max-w200px"
|
|
35358
35590
|
}, null, 8, ["modelValue"]),
|
|
35359
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
35591
|
+
vue.createVNode(vue.unref(_sfc_main$Z), {
|
|
35360
35592
|
flat: "",
|
|
35361
35593
|
thin: "",
|
|
35362
35594
|
icon: "more_vert"
|
|
35363
35595
|
}, {
|
|
35364
35596
|
default: vue.withCtx(() => [
|
|
35365
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
35597
|
+
vue.createVNode(vue.unref(_sfc_main$j), {
|
|
35366
35598
|
title: "Paste",
|
|
35367
35599
|
icon: "paste",
|
|
35368
35600
|
onClick: pasteSelection
|
|
35369
35601
|
}),
|
|
35370
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
35602
|
+
vue.createVNode(vue.unref(_sfc_main$j), {
|
|
35371
35603
|
title: "copy",
|
|
35372
35604
|
icon: "copy",
|
|
35373
35605
|
onClick: copySelection
|
|
35374
35606
|
}),
|
|
35375
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
35607
|
+
vue.createVNode(vue.unref(_sfc_main$j), {
|
|
35376
35608
|
title: "Undo",
|
|
35377
35609
|
icon: "undo",
|
|
35378
35610
|
disabled: !canUndo.value,
|
|
35379
35611
|
onClick: undo
|
|
35380
35612
|
}, null, 8, ["disabled"]),
|
|
35381
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
35613
|
+
vue.createVNode(vue.unref(_sfc_main$j), {
|
|
35382
35614
|
title: "Redo",
|
|
35383
35615
|
icon: "redo",
|
|
35384
35616
|
disabled: !canRedo.value,
|
|
@@ -35389,9 +35621,9 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
|
35389
35621
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(wrapText) ? wrapText.value = $event : null),
|
|
35390
35622
|
label: "Wrap Text"
|
|
35391
35623
|
}, null, 8, ["modelValue"]),
|
|
35392
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
35624
|
+
vue.createVNode(vue.unref(_sfc_main$Z), { placement: "auto-end" }, {
|
|
35393
35625
|
trigger: vue.withCtx(({ show }) => [
|
|
35394
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
35626
|
+
vue.createVNode(vue.unref(_sfc_main$j), {
|
|
35395
35627
|
title: "Column Visibility",
|
|
35396
35628
|
icon: "view_column",
|
|
35397
35629
|
onClick: ($event) => show()
|
|
@@ -36410,17 +36642,22 @@ const _hoisted_3 = {
|
|
|
36410
36642
|
class: "center"
|
|
36411
36643
|
};
|
|
36412
36644
|
const _hoisted_4 = { key: 3 };
|
|
36413
|
-
const _hoisted_5 =
|
|
36414
|
-
|
|
36645
|
+
const _hoisted_5 = {
|
|
36646
|
+
key: 2,
|
|
36647
|
+
class: "vw90"
|
|
36648
|
+
};
|
|
36649
|
+
const _hoisted_6 = ["src", "title"];
|
|
36650
|
+
const _hoisted_7 = {
|
|
36415
36651
|
key: 3,
|
|
36416
|
-
class: "
|
|
36652
|
+
class: "vw90"
|
|
36417
36653
|
};
|
|
36418
|
-
const
|
|
36419
|
-
const
|
|
36420
|
-
const
|
|
36421
|
-
const
|
|
36422
|
-
const
|
|
36423
|
-
const
|
|
36654
|
+
const _hoisted_8 = { class: "file-info txt-white flex m_block align-items-start gap-025" };
|
|
36655
|
+
const _hoisted_9 = { class: "txt-start" };
|
|
36656
|
+
const _hoisted_10 = { class: "mx-0 light" };
|
|
36657
|
+
const _hoisted_11 = { class: "semi word-break-all" };
|
|
36658
|
+
const _hoisted_12 = { class: "mx-0" };
|
|
36659
|
+
const _hoisted_13 = { class: "semi" };
|
|
36660
|
+
const _hoisted_14 = {
|
|
36424
36661
|
key: 0,
|
|
36425
36662
|
class: "flex justify-content-center mt-2 overflow p-1 fixed bottom start end gap-1 m_justify-content-start"
|
|
36426
36663
|
};
|
|
@@ -36475,11 +36712,21 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
36475
36712
|
if (zoom.value === 1) close();
|
|
36476
36713
|
}
|
|
36477
36714
|
const upgradeHeaders = (url) => url.replace(/http:\/\//, "//");
|
|
36715
|
+
function downloadFile() {
|
|
36716
|
+
const link = document.createElement("a");
|
|
36717
|
+
const src = currentItem.value.src || "";
|
|
36718
|
+
link.target = "_blank";
|
|
36719
|
+
link.href = upgradeHeaders(src);
|
|
36720
|
+
link.download = src ? src.split("/").pop() || "download" : "download";
|
|
36721
|
+
document.body.appendChild(link);
|
|
36722
|
+
link.click();
|
|
36723
|
+
document.body.removeChild(link);
|
|
36724
|
+
}
|
|
36478
36725
|
__expose({ open, close });
|
|
36479
36726
|
return (_ctx, _cache) => {
|
|
36480
36727
|
return vue.openBlock(), vue.createBlock(vue.Transition, { name: "fade" }, {
|
|
36481
36728
|
default: vue.withCtx(() => {
|
|
36482
|
-
var _a, _b, _c, _d, _e2, _f, _g, _h, _i
|
|
36729
|
+
var _a, _b, _c, _d, _e2, _f, _g, _h, _i;
|
|
36483
36730
|
return [
|
|
36484
36731
|
vue.unref(isOpen) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
36485
36732
|
key: 0,
|
|
@@ -36559,10 +36806,9 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
36559
36806
|
flat: "",
|
|
36560
36807
|
icon: "download",
|
|
36561
36808
|
value: "Download File",
|
|
36562
|
-
|
|
36563
|
-
|
|
36564
|
-
|
|
36565
|
-
!((_i = vue.unref(currentItem)) == null ? void 0 : _i.openFile) && !((_j = vue.unref(currentItem)) == null ? void 0 : _j.download) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4)) : vue.createCommentVNode("", true)
|
|
36809
|
+
onClick: downloadFile
|
|
36810
|
+
})) : vue.createCommentVNode("", true),
|
|
36811
|
+
!((_h = vue.unref(currentItem)) == null ? void 0 : _h.openFile) && !((_i = vue.unref(currentItem)) == null ? void 0 : _i.download) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4)) : vue.createCommentVNode("", true)
|
|
36566
36812
|
]),
|
|
36567
36813
|
vue.createVNode(vue.unref(Carousel), {
|
|
36568
36814
|
index: vue.unref(currentIndex),
|
|
@@ -36598,44 +36844,47 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
36598
36844
|
autoplay: "",
|
|
36599
36845
|
controls: "",
|
|
36600
36846
|
class: "vw90"
|
|
36601
|
-
}, null, 8, ["src"])) : (item == null ? void 0 : item.type) === "pdf" && (item == null ? void 0 : item.src) ? (vue.openBlock(), vue.createElementBlock("
|
|
36602
|
-
|
|
36603
|
-
|
|
36604
|
-
|
|
36605
|
-
|
|
36606
|
-
|
|
36607
|
-
|
|
36608
|
-
|
|
36609
|
-
|
|
36610
|
-
|
|
36611
|
-
|
|
36612
|
-
|
|
36613
|
-
|
|
36614
|
-
|
|
36615
|
-
|
|
36616
|
-
|
|
36617
|
-
|
|
36618
|
-
|
|
36619
|
-
|
|
36620
|
-
|
|
36621
|
-
|
|
36622
|
-
|
|
36623
|
-
|
|
36624
|
-
|
|
36625
|
-
vue.createElementVNode("
|
|
36626
|
-
|
|
36627
|
-
|
|
36628
|
-
|
|
36629
|
-
vue.createElementVNode("
|
|
36630
|
-
|
|
36631
|
-
|
|
36632
|
-
|
|
36633
|
-
|
|
36634
|
-
|
|
36635
|
-
|
|
36636
|
-
|
|
36637
|
-
|
|
36638
|
-
|
|
36847
|
+
}, null, 8, ["src"])) : (item == null ? void 0 : item.type) === "pdf" && (item == null ? void 0 : item.src) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [
|
|
36848
|
+
vue.createElementVNode("embed", {
|
|
36849
|
+
src: vue.unref(normalizeURL)(item == null ? void 0 : item.src),
|
|
36850
|
+
type: "application/pdf",
|
|
36851
|
+
width: "100%",
|
|
36852
|
+
height: "1080",
|
|
36853
|
+
title: item == null ? void 0 : item.name,
|
|
36854
|
+
class: "vw90"
|
|
36855
|
+
}, null, 8, _hoisted_6)
|
|
36856
|
+
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, [
|
|
36857
|
+
vue.createElementVNode("div", _hoisted_8, [
|
|
36858
|
+
vue.createVNode(vue.unref(_sfc_main$u), {
|
|
36859
|
+
class: "m-0 m_none",
|
|
36860
|
+
icon: "draft",
|
|
36861
|
+
size: 10,
|
|
36862
|
+
weight: "12"
|
|
36863
|
+
}),
|
|
36864
|
+
vue.createVNode(vue.unref(_sfc_main$u), {
|
|
36865
|
+
class: "m-0 none m_block m_-mb-1",
|
|
36866
|
+
icon: "draft",
|
|
36867
|
+
size: 4,
|
|
36868
|
+
weight: "2"
|
|
36869
|
+
}),
|
|
36870
|
+
vue.createElementVNode("div", _hoisted_9, [
|
|
36871
|
+
vue.createElementVNode("p", _hoisted_10, [
|
|
36872
|
+
_cache[6] || (_cache[6] = vue.createTextVNode(" File: ")),
|
|
36873
|
+
vue.createElementVNode("span", _hoisted_11, vue.toDisplayString(item == null ? void 0 : item.name), 1)
|
|
36874
|
+
]),
|
|
36875
|
+
vue.createElementVNode("p", _hoisted_12, [
|
|
36876
|
+
_cache[7] || (_cache[7] = vue.createTextVNode(" Type: ")),
|
|
36877
|
+
vue.createElementVNode("span", _hoisted_13, vue.toDisplayString(item == null ? void 0 : item.type), 1)
|
|
36878
|
+
]),
|
|
36879
|
+
vue.createVNode(vue.unref(Btn), {
|
|
36880
|
+
href: item == null ? void 0 : item.src,
|
|
36881
|
+
target: "_blank",
|
|
36882
|
+
round: "",
|
|
36883
|
+
thin: "",
|
|
36884
|
+
class: "mt-1",
|
|
36885
|
+
value: "Open file"
|
|
36886
|
+
}, null, 8, ["href"])
|
|
36887
|
+
])
|
|
36639
36888
|
])
|
|
36640
36889
|
]))
|
|
36641
36890
|
], 64);
|
|
@@ -36643,7 +36892,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
36643
36892
|
]),
|
|
36644
36893
|
_: 1
|
|
36645
36894
|
}, 8, ["index", "class", "freeDrag"]),
|
|
36646
|
-
vue.unref(group) && vue.unref(group).length > 1 ? (vue.openBlock(), vue.createElementBlock("div",
|
|
36895
|
+
vue.unref(group) && vue.unref(group).length > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14, [
|
|
36647
36896
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(group), (item, index2) => {
|
|
36648
36897
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
|
|
36649
36898
|
item.type === "image" ? (vue.openBlock(), vue.createBlock(vue.unref(Image$1), {
|
|
@@ -36652,7 +36901,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
36652
36901
|
src: item.src,
|
|
36653
36902
|
alt: "",
|
|
36654
36903
|
onClick: ($event) => selectItem(index2)
|
|
36655
|
-
}, null, 8, ["src", "class", "onClick"])) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
36904
|
+
}, null, 8, ["src", "class", "onClick"])) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$u), {
|
|
36656
36905
|
key: 1,
|
|
36657
36906
|
class: vue.normalizeClass(["thumbnail object-fit-cover hover opacity-5 ed flex bg-popup justify-content-center align-items-center flex-shrink-0", { active: vue.unref(currentIndex) === index2 }]),
|
|
36658
36907
|
icon: "description",
|
|
@@ -36670,7 +36919,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
36670
36919
|
};
|
|
36671
36920
|
}
|
|
36672
36921
|
});
|
|
36673
|
-
const Lightbox = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
36922
|
+
const Lightbox = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4789af69"]]);
|
|
36674
36923
|
const groups = {};
|
|
36675
36924
|
let clickHandler = (_e2) => void 0;
|
|
36676
36925
|
const lightboxDirective = {
|
|
@@ -37033,9 +37282,9 @@ const ModalPlugin = {
|
|
|
37033
37282
|
case "modalForm":
|
|
37034
37283
|
return vue.h(ModalForm, props2, modal.componentSlots);
|
|
37035
37284
|
case "confirmModal":
|
|
37036
|
-
return vue.h(_sfc_main$
|
|
37285
|
+
return vue.h(_sfc_main$e, props2, {});
|
|
37037
37286
|
default:
|
|
37038
|
-
return vue.h(_sfc_main$
|
|
37287
|
+
return vue.h(_sfc_main$f, props2, modal.componentSlots);
|
|
37039
37288
|
}
|
|
37040
37289
|
});
|
|
37041
37290
|
}
|
|
@@ -37808,60 +38057,61 @@ function useSearch(params) {
|
|
|
37808
38057
|
isLoading: vue.computed(() => isLoading.value)
|
|
37809
38058
|
};
|
|
37810
38059
|
}
|
|
37811
|
-
exports.Accordion = _sfc_main$
|
|
38060
|
+
exports.Accordion = _sfc_main$1h;
|
|
37812
38061
|
exports.AccordionItem = AccordionItem;
|
|
37813
|
-
exports.AddressSearch = _sfc_main$
|
|
38062
|
+
exports.AddressSearch = _sfc_main$1f;
|
|
37814
38063
|
exports.Alert = Alert;
|
|
37815
38064
|
exports.Avatar = Avatar;
|
|
37816
38065
|
exports.Badge = Badge;
|
|
37817
|
-
exports.BagelForm = _sfc_main$
|
|
38066
|
+
exports.BagelForm = _sfc_main$W;
|
|
37818
38067
|
exports.BagelMultiStepForm = BglMultiStepForm;
|
|
37819
38068
|
exports.BagelVue = BagelVue;
|
|
37820
|
-
exports.BglForm = _sfc_main$
|
|
38069
|
+
exports.BglForm = _sfc_main$W;
|
|
37821
38070
|
exports.BglVideo = BglVideo;
|
|
37822
38071
|
exports.BottomMenu = BottomMenu;
|
|
37823
38072
|
exports.Btn = Btn;
|
|
37824
38073
|
exports.Calendar = Index$1;
|
|
37825
|
-
exports.Card = _sfc_main$
|
|
38074
|
+
exports.Card = _sfc_main$13;
|
|
37826
38075
|
exports.Carousel = Carousel;
|
|
37827
38076
|
exports.CheckInput = CheckInput;
|
|
37828
38077
|
exports.Checkbox = Checkbox;
|
|
37829
38078
|
exports.CodeEditor = CodeEditor;
|
|
37830
|
-
exports.ColorInput = _sfc_main$
|
|
38079
|
+
exports.ColorInput = _sfc_main$Q;
|
|
37831
38080
|
exports.DataPreview = DataPreview;
|
|
37832
38081
|
exports.DataTable = DataTable;
|
|
37833
|
-
exports.DateInput = _sfc_main$
|
|
38082
|
+
exports.DateInput = _sfc_main$O;
|
|
37834
38083
|
exports.DatePicker = DatePicker;
|
|
37835
|
-
exports.Draggable = _sfc_main$
|
|
37836
|
-
exports.Dropdown = _sfc_main$
|
|
38084
|
+
exports.Draggable = _sfc_main$_;
|
|
38085
|
+
exports.Dropdown = _sfc_main$Z;
|
|
37837
38086
|
exports.EMAIL_REGEX = EMAIL_REGEX;
|
|
37838
38087
|
exports.EmailInput = EmailInput;
|
|
37839
38088
|
exports.FORM_STATE_KEY = FORM_STATE_KEY;
|
|
37840
|
-
exports.FieldArray = _sfc_main$
|
|
38089
|
+
exports.FieldArray = _sfc_main$U;
|
|
37841
38090
|
exports.FieldSetVue = FieldSetVue;
|
|
37842
38091
|
exports.FileUpload = FileUpload;
|
|
37843
38092
|
exports.Flag = Flag;
|
|
37844
38093
|
exports.IMAGE_FORMATS = IMAGE_FORMATS;
|
|
37845
38094
|
exports.IMAGE_FORMATS_REGEXP = IMAGE_FORMATS_REGEXP;
|
|
37846
|
-
exports.Icon = _sfc_main$
|
|
37847
|
-
exports.IframeVue = _sfc_main$
|
|
38095
|
+
exports.Icon = _sfc_main$u;
|
|
38096
|
+
exports.IframeVue = _sfc_main$t;
|
|
37848
38097
|
exports.Image = Image$1;
|
|
37849
38098
|
exports.JSONInput = JSONInput;
|
|
37850
38099
|
exports.Layout = Layout;
|
|
37851
|
-
exports.Lineart = _sfc_main$
|
|
37852
|
-
exports.ListItem = _sfc_main$
|
|
38100
|
+
exports.Lineart = _sfc_main$11;
|
|
38101
|
+
exports.ListItem = _sfc_main$j;
|
|
37853
38102
|
exports.ListView = ListView;
|
|
37854
38103
|
exports.Loading = Loading;
|
|
37855
|
-
exports.MapEmbed = _sfc_main$
|
|
37856
|
-
exports.Modal = _sfc_main$
|
|
37857
|
-
exports.ModalConfirm = _sfc_main$
|
|
38104
|
+
exports.MapEmbed = _sfc_main$g;
|
|
38105
|
+
exports.Modal = _sfc_main$f;
|
|
38106
|
+
exports.ModalConfirm = _sfc_main$e;
|
|
37858
38107
|
exports.ModalForm = ModalForm;
|
|
37859
38108
|
exports.ModalPlugin = ModalPlugin;
|
|
37860
38109
|
exports.NavBar = NavBar;
|
|
37861
38110
|
exports.NumberInput = NumberInput;
|
|
37862
38111
|
exports.OTP = OTP;
|
|
37863
|
-
exports.PageTitle = _sfc_main$
|
|
37864
|
-
exports.
|
|
38112
|
+
exports.PageTitle = _sfc_main$b;
|
|
38113
|
+
exports.Pagination = Pagination;
|
|
38114
|
+
exports.PasswordInput = _sfc_main$I;
|
|
37865
38115
|
exports.Pill = Pill;
|
|
37866
38116
|
exports.RadioGroup = RadioGroup;
|
|
37867
38117
|
exports.RadioPillsInput = RadioPillsInput;
|
|
@@ -37870,15 +38120,15 @@ exports.RichText = RichText;
|
|
|
37870
38120
|
exports.RouterWrapper = RouterWrapper;
|
|
37871
38121
|
exports.SelectInput = SelectInput;
|
|
37872
38122
|
exports.SidebarMenu = SidebarMenu;
|
|
37873
|
-
exports.SignaturePad = _sfc_main$
|
|
38123
|
+
exports.SignaturePad = _sfc_main$A;
|
|
37874
38124
|
exports.Skeleton = Skeleton;
|
|
37875
38125
|
exports.Slider = Slider;
|
|
37876
38126
|
exports.Spreadsheet = Index;
|
|
37877
38127
|
exports.TabbedLayout = TabbedLayout;
|
|
37878
38128
|
exports.TableField = TableField;
|
|
37879
38129
|
exports.TableSchema = DataTable;
|
|
37880
|
-
exports.Tabs = _sfc_main$
|
|
37881
|
-
exports.TabsBody = _sfc_main$
|
|
38130
|
+
exports.Tabs = _sfc_main$m;
|
|
38131
|
+
exports.TabsBody = _sfc_main$l;
|
|
37882
38132
|
exports.TabsNav = TabsNav;
|
|
37883
38133
|
exports.TelInput = TelInput;
|
|
37884
38134
|
exports.TextInput = TextInput;
|
|
@@ -37931,6 +38181,7 @@ exports.useDebounceFn = useDebounceFn;
|
|
|
37931
38181
|
exports.useDevice = useDevice;
|
|
37932
38182
|
exports.useDraggable = useDraggable;
|
|
37933
38183
|
exports.useEscape = useEscape;
|
|
38184
|
+
exports.useFileUpload = useFileUpload;
|
|
37934
38185
|
exports.useForm = useForm;
|
|
37935
38186
|
exports.useI18nT = useI18nT;
|
|
37936
38187
|
exports.useLang = useLang;
|