@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.mjs
CHANGED
|
@@ -3,7 +3,7 @@ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { en
|
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
4
|
import { defineComponent, reactive, provide, createElementBlock, openBlock, renderSlot, ref, computed, inject, watch, normalizeClass, createElementVNode, createVNode, unref, createCommentVNode, toDisplayString, Transition, withCtx, Fragment, renderList, createBlock, isRef, useSlots, resolveDirective, withDirectives, resolveDynamicComponent, mergeProps, withKeys, withModifiers, createTextVNode, normalizeStyle, onMounted, onUnmounted, nextTick, resolveComponent, isVNode, h as h$2, toValue, getCurrentScope, onScopeDispose, getCurrentInstance, shallowRef, mergeModels, useCssVars, useModel, vModelCheckbox, createApp, pushScopeId, popScopeId, withScopeId, normalizeProps, guardReactiveProps, createSlots, vModelText, Comment, Text, vModelRadio, TransitionGroup, vModelDynamic, onBeforeUnmount, toRef } from "vue";
|
|
5
5
|
import { RouterLink } from "vue-router";
|
|
6
|
-
const _sfc_main$
|
|
6
|
+
const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "Accordion",
|
|
8
8
|
setup(__props) {
|
|
9
9
|
const state2 = reactive({
|
|
@@ -17,10 +17,10 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
|
-
const _hoisted_1$
|
|
21
|
-
const _hoisted_2$
|
|
20
|
+
const _hoisted_1$13 = ["aria-expanded", "aria-controls"];
|
|
21
|
+
const _hoisted_2$O = { class: "accordion-label" };
|
|
22
22
|
const _hoisted_3$G = ["id", "aria-hidden"];
|
|
23
|
-
const _sfc_main$
|
|
23
|
+
const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
24
24
|
__name: "AccordionItem",
|
|
25
25
|
props: {
|
|
26
26
|
label: {},
|
|
@@ -83,18 +83,18 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
83
83
|
key: 0,
|
|
84
84
|
class: normalizeClass(["accordion-icon", [_ctx.iconClass, { open: unref(isOpen) && _ctx.iconType === "expand_more" }]])
|
|
85
85
|
}, [
|
|
86
|
-
createVNode(unref(_sfc_main$
|
|
86
|
+
createVNode(unref(_sfc_main$u), { icon: computedIcon.value }, null, 8, ["icon"])
|
|
87
87
|
], 2)) : createCommentVNode("", true),
|
|
88
88
|
renderSlot(_ctx.$slots, "head", {}, () => [
|
|
89
|
-
createElementVNode("span", _hoisted_2$
|
|
89
|
+
createElementVNode("span", _hoisted_2$O, toDisplayString(_ctx.label), 1)
|
|
90
90
|
], true),
|
|
91
91
|
iconPosition.value === "end" ? (openBlock(), createElementBlock("span", {
|
|
92
92
|
key: 1,
|
|
93
93
|
class: normalizeClass(["accordion-icon", [_ctx.iconClass, { open: unref(isOpen) && _ctx.iconType === "expand_more" }]])
|
|
94
94
|
}, [
|
|
95
|
-
createVNode(unref(_sfc_main$
|
|
95
|
+
createVNode(unref(_sfc_main$u), { icon: computedIcon.value }, null, 8, ["icon"])
|
|
96
96
|
], 2)) : createCommentVNode("", true)
|
|
97
|
-
], 8, _hoisted_1$
|
|
97
|
+
], 8, _hoisted_1$13),
|
|
98
98
|
createVNode(Transition, { name: "expand" }, {
|
|
99
99
|
default: withCtx(() => [
|
|
100
100
|
unref(isOpen) ? (openBlock(), createElementBlock("div", {
|
|
@@ -119,9 +119,9 @@ const _export_sfc = (sfc, props2) => {
|
|
|
119
119
|
}
|
|
120
120
|
return target;
|
|
121
121
|
};
|
|
122
|
-
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
123
|
-
const _hoisted_1$
|
|
124
|
-
const _sfc_main$
|
|
122
|
+
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-3334f637"]]);
|
|
123
|
+
const _hoisted_1$12 = { class: "relative" };
|
|
124
|
+
const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
125
125
|
__name: "AddressSearch",
|
|
126
126
|
emits: ["addressSelected"],
|
|
127
127
|
setup(__props, { emit: __emit }) {
|
|
@@ -143,8 +143,8 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
143
143
|
(_a = suggestion.value) == null ? void 0 : _a.show();
|
|
144
144
|
}
|
|
145
145
|
return (_ctx, _cache) => {
|
|
146
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
147
|
-
createVNode(unref(_sfc_main$
|
|
146
|
+
return openBlock(), createElementBlock("div", _hoisted_1$12, [
|
|
147
|
+
createVNode(unref(_sfc_main$Z), {
|
|
148
148
|
ref_key: "suggestion",
|
|
149
149
|
ref: suggestion,
|
|
150
150
|
noAutoFocus: true,
|
|
@@ -162,7 +162,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
162
162
|
createVNode(unref(ListView), { class: "-mt-2 hm-300px" }, {
|
|
163
163
|
default: withCtx(() => [
|
|
164
164
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(searchResults), (result2, index2) => {
|
|
165
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
165
|
+
return openBlock(), createBlock(unref(_sfc_main$j), {
|
|
166
166
|
key: index2,
|
|
167
167
|
icon: "location_on",
|
|
168
168
|
title: result2.display_name,
|
|
@@ -179,11 +179,11 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
|
179
179
|
};
|
|
180
180
|
}
|
|
181
181
|
});
|
|
182
|
-
const _hoisted_1$
|
|
182
|
+
const _hoisted_1$11 = {
|
|
183
183
|
key: 1,
|
|
184
184
|
class: "bgl_btn-flex"
|
|
185
185
|
};
|
|
186
|
-
const _sfc_main$
|
|
186
|
+
const _sfc_main$1e = /* @__PURE__ */ defineComponent({
|
|
187
187
|
__name: "Btn",
|
|
188
188
|
props: {
|
|
189
189
|
disabled: { type: Boolean, default: false },
|
|
@@ -252,8 +252,8 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
252
252
|
key: 0,
|
|
253
253
|
class: "h-100p",
|
|
254
254
|
size: "15"
|
|
255
|
-
})) : (openBlock(), createElementBlock("div", _hoisted_1$
|
|
256
|
-
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$
|
|
255
|
+
})) : (openBlock(), createElementBlock("div", _hoisted_1$11, [
|
|
256
|
+
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$u), {
|
|
257
257
|
key: 0,
|
|
258
258
|
icon: _ctx.icon,
|
|
259
259
|
class: "transition-400"
|
|
@@ -262,7 +262,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
262
262
|
!unref(slots).default && _ctx.value ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
263
263
|
createTextVNode(toDisplayString(_ctx.value), 1)
|
|
264
264
|
], 64)) : createCommentVNode("", true),
|
|
265
|
-
_ctx.iconEnd ? (openBlock(), createBlock(unref(_sfc_main$
|
|
265
|
+
_ctx.iconEnd ? (openBlock(), createBlock(unref(_sfc_main$u), {
|
|
266
266
|
key: 2,
|
|
267
267
|
icon: _ctx.iconEnd,
|
|
268
268
|
class: "transition-400"
|
|
@@ -276,10 +276,10 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
|
276
276
|
};
|
|
277
277
|
}
|
|
278
278
|
});
|
|
279
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
280
|
-
const _hoisted_1
|
|
281
|
-
const _hoisted_2$
|
|
282
|
-
const _sfc_main$
|
|
279
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-99c4aa53"]]);
|
|
280
|
+
const _hoisted_1$10 = ["dismissable"];
|
|
281
|
+
const _hoisted_2$N = { class: "m-0" };
|
|
282
|
+
const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
283
283
|
__name: "Alert",
|
|
284
284
|
props: {
|
|
285
285
|
message: {},
|
|
@@ -302,14 +302,14 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
302
302
|
class: normalizeClass(["alert", [_ctx.type, { thin: _ctx.thin, outline: _ctx.outline }]]),
|
|
303
303
|
dismissable: _ctx.dismissable
|
|
304
304
|
}, [
|
|
305
|
-
_ctx.icon !== "none" ? (openBlock(), createBlock(unref(_sfc_main$
|
|
305
|
+
_ctx.icon !== "none" ? (openBlock(), createBlock(unref(_sfc_main$u), {
|
|
306
306
|
key: 0,
|
|
307
307
|
class: "alert_icon",
|
|
308
308
|
icon: _ctx.icon || _ctx.type,
|
|
309
309
|
size: 1.7,
|
|
310
310
|
color: color2[_ctx.type]
|
|
311
311
|
}, null, 8, ["icon", "color"])) : createCommentVNode("", true),
|
|
312
|
-
createElementVNode("p", _hoisted_2$
|
|
312
|
+
createElementVNode("p", _hoisted_2$N, toDisplayString(_ctx.message), 1),
|
|
313
313
|
createVNode(Btn, {
|
|
314
314
|
flat: "",
|
|
315
315
|
thin: "",
|
|
@@ -317,13 +317,13 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
|
317
317
|
icon: "close",
|
|
318
318
|
onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
|
|
319
319
|
})
|
|
320
|
-
], 10, _hoisted_1
|
|
320
|
+
], 10, _hoisted_1$10)) : createCommentVNode("", true);
|
|
321
321
|
};
|
|
322
322
|
}
|
|
323
323
|
});
|
|
324
|
-
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
325
|
-
const _hoisted_1
|
|
326
|
-
const _sfc_main$
|
|
324
|
+
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-15c4ee95"]]);
|
|
325
|
+
const _hoisted_1$$ = ["src", "alt"];
|
|
326
|
+
const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
327
327
|
__name: "Avatar",
|
|
328
328
|
props: {
|
|
329
329
|
fallback: {},
|
|
@@ -341,7 +341,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
341
341
|
key: 0,
|
|
342
342
|
src: _ctx.src,
|
|
343
343
|
alt: _ctx.name
|
|
344
|
-
}, null, 8, _hoisted_1
|
|
344
|
+
}, null, 8, _hoisted_1$$)) : (openBlock(), createElementBlock("p", {
|
|
345
345
|
key: 1,
|
|
346
346
|
style: normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
|
|
347
347
|
}, toDisplayString((_ctx.fallback || unref(initials)(_ctx.name || "")).toUpperCase()), 5))
|
|
@@ -349,8 +349,8 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
|
349
349
|
};
|
|
350
350
|
}
|
|
351
351
|
});
|
|
352
|
-
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
353
|
-
const _sfc_main$
|
|
352
|
+
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-b73b9e30"]]);
|
|
353
|
+
const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
354
354
|
__name: "Badge",
|
|
355
355
|
props: {
|
|
356
356
|
color: {},
|
|
@@ -364,13 +364,13 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
364
364
|
return openBlock(), createElementBlock("div", {
|
|
365
365
|
class: normalizeClass(["pill", [_ctx.color]])
|
|
366
366
|
}, [
|
|
367
|
-
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$
|
|
367
|
+
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$u), {
|
|
368
368
|
key: 0,
|
|
369
369
|
class: "inline",
|
|
370
370
|
icon: _ctx.icon
|
|
371
371
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
372
372
|
createTextVNode(" " + toDisplayString(_ctx.text) + " ", 1),
|
|
373
|
-
_ctx.iconEnd ? (openBlock(), createBlock(unref(_sfc_main$
|
|
373
|
+
_ctx.iconEnd ? (openBlock(), createBlock(unref(_sfc_main$u), {
|
|
374
374
|
key: 1,
|
|
375
375
|
class: "inline",
|
|
376
376
|
icon: _ctx.iconEnd
|
|
@@ -379,11 +379,11 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
|
379
379
|
};
|
|
380
380
|
}
|
|
381
381
|
});
|
|
382
|
-
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
383
|
-
const _hoisted_1$
|
|
384
|
-
const _hoisted_2$
|
|
382
|
+
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-689f051f"]]);
|
|
383
|
+
const _hoisted_1$_ = ["src"];
|
|
384
|
+
const _hoisted_2$M = ["autoplay", "muted", "loop", "controls", "playsinline"];
|
|
385
385
|
const _hoisted_3$F = ["src", "type"];
|
|
386
|
-
const _sfc_main$
|
|
386
|
+
const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
387
387
|
__name: "BglVideo",
|
|
388
388
|
props: {
|
|
389
389
|
src: {},
|
|
@@ -460,7 +460,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
460
460
|
allowfullscreen: "",
|
|
461
461
|
title: "Video",
|
|
462
462
|
allow: "autoplay"
|
|
463
|
-
}, null, 12, _hoisted_1$
|
|
463
|
+
}, null, 12, _hoisted_1$_)) : _ctx.src ? (openBlock(), createElementBlock("video", {
|
|
464
464
|
key: 1,
|
|
465
465
|
ref_key: "video",
|
|
466
466
|
ref: video,
|
|
@@ -475,13 +475,13 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
475
475
|
src: _ctx.src,
|
|
476
476
|
type: `video/${videoFormat.value}`
|
|
477
477
|
}, null, 8, _hoisted_3$F)
|
|
478
|
-
], 12, _hoisted_2$
|
|
478
|
+
], 12, _hoisted_2$M)) : createCommentVNode("", true)
|
|
479
479
|
], 2);
|
|
480
480
|
};
|
|
481
481
|
}
|
|
482
482
|
});
|
|
483
|
-
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
484
|
-
const _sfc_main$
|
|
483
|
+
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-006552f6"]]);
|
|
484
|
+
const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
485
485
|
__name: "CalendarPopover",
|
|
486
486
|
props: {
|
|
487
487
|
event: {},
|
|
@@ -524,7 +524,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
524
524
|
}
|
|
525
525
|
return (_ctx, _cache) => {
|
|
526
526
|
const _directive_click_outside = resolveDirective("click-outside");
|
|
527
|
-
return _ctx.show && _ctx.event ? withDirectives((openBlock(), createBlock(unref(_sfc_main$
|
|
527
|
+
return _ctx.show && _ctx.event ? withDirectives((openBlock(), createBlock(unref(_sfc_main$13), {
|
|
528
528
|
key: 0,
|
|
529
529
|
ref_key: "popoverRef",
|
|
530
530
|
ref: popoverRef,
|
|
@@ -546,14 +546,14 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
546
546
|
};
|
|
547
547
|
}
|
|
548
548
|
});
|
|
549
|
-
const CalendarPopover = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
550
|
-
const _hoisted_1$
|
|
551
|
-
const _hoisted_2$
|
|
549
|
+
const CalendarPopover = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-6f51f6b3"]]);
|
|
550
|
+
const _hoisted_1$Z = { class: "agenda-view" };
|
|
551
|
+
const _hoisted_2$L = ["data-date", "onClick"];
|
|
552
552
|
const _hoisted_3$E = { class: "event-content" };
|
|
553
553
|
const _hoisted_4$r = { class: "event-time" };
|
|
554
554
|
const _hoisted_5$q = { class: "event-details" };
|
|
555
555
|
const _hoisted_6$m = { class: "event-title" };
|
|
556
|
-
const _sfc_main$
|
|
556
|
+
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
557
557
|
__name: "AgendaView",
|
|
558
558
|
props: {
|
|
559
559
|
events: {},
|
|
@@ -651,7 +651,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
651
651
|
}
|
|
652
652
|
});
|
|
653
653
|
return (_ctx, _cache) => {
|
|
654
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
654
|
+
return openBlock(), createElementBlock("div", _hoisted_1$Z, [
|
|
655
655
|
_cache[0] || (_cache[0] = createElementVNode("div", { class: "agenda-header" }, [
|
|
656
656
|
createElementVNode("div", { class: "time-column" }, " Time "),
|
|
657
657
|
createElementVNode("div", { class: "event-column" }, " Event ")
|
|
@@ -681,16 +681,16 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
681
681
|
}, toDisplayString(event.dayLabel), 3)
|
|
682
682
|
])
|
|
683
683
|
])
|
|
684
|
-
], 12, _hoisted_2$
|
|
684
|
+
], 12, _hoisted_2$L);
|
|
685
685
|
}), 128))
|
|
686
686
|
], 512)
|
|
687
687
|
]);
|
|
688
688
|
};
|
|
689
689
|
}
|
|
690
690
|
});
|
|
691
|
-
const AgendaView = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
692
|
-
const _hoisted_1$
|
|
693
|
-
const _hoisted_2$
|
|
691
|
+
const AgendaView = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-1e2b483b"]]);
|
|
692
|
+
const _hoisted_1$Y = { class: "w-100p overflow-hidden m_overflow h-100p grid" };
|
|
693
|
+
const _hoisted_2$K = { class: "border-bottom me-1 txt-center p-05 dayGrid" };
|
|
694
694
|
const _hoisted_3$D = { class: "overflow h-100p pe-05" };
|
|
695
695
|
const _hoisted_4$q = { class: "time-column" };
|
|
696
696
|
const _hoisted_5$p = { class: "events-column" };
|
|
@@ -701,7 +701,7 @@ const _hoisted_9$7 = { class: "event-time opacity-8" };
|
|
|
701
701
|
const _hoisted_10$6 = { class: "color-primary txt-12 p-025" };
|
|
702
702
|
const slotHeight$1 = 60;
|
|
703
703
|
const slotDuration$1 = 60;
|
|
704
|
-
const _sfc_main$
|
|
704
|
+
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
705
705
|
__name: "DayView",
|
|
706
706
|
props: {
|
|
707
707
|
events: {},
|
|
@@ -835,8 +835,8 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
835
835
|
}
|
|
836
836
|
});
|
|
837
837
|
return (_ctx, _cache) => {
|
|
838
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
839
|
-
createElementVNode("div", _hoisted_2$
|
|
838
|
+
return openBlock(), createElementBlock("div", _hoisted_1$Y, [
|
|
839
|
+
createElementVNode("div", _hoisted_2$K, [
|
|
840
840
|
_cache[0] || (_cache[0] = createElementVNode("div", null, null, -1)),
|
|
841
841
|
createElementVNode("div", null, toDisplayString(unref(formatDate)(_ctx.startDate)), 1)
|
|
842
842
|
]),
|
|
@@ -900,9 +900,9 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
900
900
|
};
|
|
901
901
|
}
|
|
902
902
|
});
|
|
903
|
-
const DayView = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
904
|
-
const _hoisted_1$
|
|
905
|
-
const _hoisted_2$
|
|
903
|
+
const DayView = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-8b1a770f"]]);
|
|
904
|
+
const _hoisted_1$X = { class: "month-view" };
|
|
905
|
+
const _hoisted_2$J = { class: "month-header" };
|
|
906
906
|
const _hoisted_3$C = { class: "month-grid" };
|
|
907
907
|
const _hoisted_4$p = { class: "day-number" };
|
|
908
908
|
const _hoisted_5$o = { class: "day-events" };
|
|
@@ -913,7 +913,7 @@ const _hoisted_6$k = {
|
|
|
913
913
|
const _hoisted_7$g = ["onClick"];
|
|
914
914
|
const _hoisted_8$a = { class: "event-title" };
|
|
915
915
|
const _hoisted_9$6 = { class: "event-time" };
|
|
916
|
-
const _sfc_main$
|
|
916
|
+
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
917
917
|
__name: "MonthView",
|
|
918
918
|
props: {
|
|
919
919
|
events: {},
|
|
@@ -987,8 +987,8 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
987
987
|
}
|
|
988
988
|
}
|
|
989
989
|
return (_ctx, _cache) => {
|
|
990
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
991
|
-
createElementVNode("div", _hoisted_2$
|
|
990
|
+
return openBlock(), createElementBlock("div", _hoisted_1$X, [
|
|
991
|
+
createElementVNode("div", _hoisted_2$J, [
|
|
992
992
|
(openBlock(true), createElementBlock(Fragment, null, renderList(weekDays.value, (day) => {
|
|
993
993
|
return openBlock(), createElementBlock("div", {
|
|
994
994
|
key: day,
|
|
@@ -1029,9 +1029,9 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
1029
1029
|
};
|
|
1030
1030
|
}
|
|
1031
1031
|
});
|
|
1032
|
-
const MonthView = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1033
|
-
const _hoisted_1$
|
|
1034
|
-
const _hoisted_2$
|
|
1032
|
+
const MonthView = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-0b1117c4"]]);
|
|
1033
|
+
const _hoisted_1$W = { class: "w-100p overflow-hidden m_overflow h-100p grid" };
|
|
1034
|
+
const _hoisted_2$I = { class: "overflow h-100p pe-05" };
|
|
1035
1035
|
const _hoisted_3$B = ["onMousedown"];
|
|
1036
1036
|
const _hoisted_4$o = ["onClick"];
|
|
1037
1037
|
const _hoisted_5$n = { class: "overflow-hidden color-white p-025 txt12 h-100p" };
|
|
@@ -1040,7 +1040,7 @@ const _hoisted_7$f = { class: "txt10 opacity-8 user-select-none" };
|
|
|
1040
1040
|
const _hoisted_8$9 = { class: "color-primary txt-12 p-025" };
|
|
1041
1041
|
const slotHeight = 60;
|
|
1042
1042
|
const slotDuration = 60;
|
|
1043
|
-
const _sfc_main$
|
|
1043
|
+
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
1044
1044
|
__name: "WeekView",
|
|
1045
1045
|
props: {
|
|
1046
1046
|
events: { default: () => [] },
|
|
@@ -1294,7 +1294,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
1294
1294
|
}
|
|
1295
1295
|
});
|
|
1296
1296
|
return (_ctx, _cache) => {
|
|
1297
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1297
|
+
return openBlock(), createElementBlock("div", _hoisted_1$W, [
|
|
1298
1298
|
createElementVNode("div", {
|
|
1299
1299
|
ref_key: "calendarGrid",
|
|
1300
1300
|
ref: calendarGrid,
|
|
@@ -1316,7 +1316,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
1316
1316
|
]);
|
|
1317
1317
|
}), 128))
|
|
1318
1318
|
], 512),
|
|
1319
|
-
createElementVNode("div", _hoisted_2$
|
|
1319
|
+
createElementVNode("div", _hoisted_2$I, [
|
|
1320
1320
|
createElementVNode("div", {
|
|
1321
1321
|
ref_key: "dayColumnsContainer",
|
|
1322
1322
|
ref: dayColumnsContainer,
|
|
@@ -1392,12 +1392,12 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
1392
1392
|
};
|
|
1393
1393
|
}
|
|
1394
1394
|
});
|
|
1395
|
-
const WeekView = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1396
|
-
const _hoisted_1$
|
|
1397
|
-
const _hoisted_2$
|
|
1395
|
+
const WeekView = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-2d5bca17"]]);
|
|
1396
|
+
const _hoisted_1$V = { class: "calendar" };
|
|
1397
|
+
const _hoisted_2$H = { class: "flex m_block m_pb-1" };
|
|
1398
1398
|
const _hoisted_3$A = { class: "txt-light my-0" };
|
|
1399
1399
|
const _hoisted_4$n = { class: "ms-auto flex gap-025" };
|
|
1400
|
-
const _sfc_main$
|
|
1400
|
+
const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
1401
1401
|
__name: "Index",
|
|
1402
1402
|
props: {
|
|
1403
1403
|
events: { default: () => [] },
|
|
@@ -1489,14 +1489,14 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
1489
1489
|
emit2("ready", state2.value);
|
|
1490
1490
|
});
|
|
1491
1491
|
return (_ctx, _cache) => {
|
|
1492
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1493
|
-
createElementVNode("div", _hoisted_2$
|
|
1492
|
+
return openBlock(), createElementBlock("div", _hoisted_1$V, [
|
|
1493
|
+
createElementVNode("div", _hoisted_2$H, [
|
|
1494
1494
|
createElementVNode("h3", _hoisted_3$A, [
|
|
1495
1495
|
createElementVNode("b", null, toDisplayString(unref(fmtDate)(currentDate.value, { fmt: "MMMM" })), 1),
|
|
1496
1496
|
createTextVNode(" " + toDisplayString(unref(fmtDate)(currentDate.value, { fmt: "YYYY" })), 1)
|
|
1497
1497
|
]),
|
|
1498
1498
|
createElementVNode("div", _hoisted_4$n, [
|
|
1499
|
-
createVNode(unref(_sfc_main$
|
|
1499
|
+
createVNode(unref(_sfc_main$Z), {
|
|
1500
1500
|
thin: "",
|
|
1501
1501
|
value: currentView.value,
|
|
1502
1502
|
iconEnd: "keyboard_arrow_down",
|
|
@@ -1504,7 +1504,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
1504
1504
|
}, {
|
|
1505
1505
|
default: withCtx(() => [
|
|
1506
1506
|
(openBlock(), createElementBlock(Fragment, null, renderList(views, (_2, key) => {
|
|
1507
|
-
return createVNode(unref(_sfc_main$
|
|
1507
|
+
return createVNode(unref(_sfc_main$j), {
|
|
1508
1508
|
key,
|
|
1509
1509
|
title: key,
|
|
1510
1510
|
onClick: ($event) => handleViewChange(key)
|
|
@@ -1567,12 +1567,12 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
1567
1567
|
};
|
|
1568
1568
|
}
|
|
1569
1569
|
});
|
|
1570
|
-
const Index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1571
|
-
const _hoisted_1$
|
|
1570
|
+
const Index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-840b6594"]]);
|
|
1571
|
+
const _hoisted_1$U = {
|
|
1572
1572
|
key: 0,
|
|
1573
1573
|
class: "card_label"
|
|
1574
1574
|
};
|
|
1575
|
-
const _sfc_main$
|
|
1575
|
+
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
1576
1576
|
__name: "Card",
|
|
1577
1577
|
props: {
|
|
1578
1578
|
label: {},
|
|
@@ -1601,7 +1601,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
1601
1601
|
}])
|
|
1602
1602
|
}, {
|
|
1603
1603
|
default: withCtx(() => [
|
|
1604
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
1604
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$U, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
|
|
1605
1605
|
renderSlot(_ctx.$slots, "default")
|
|
1606
1606
|
]),
|
|
1607
1607
|
_: 3
|
|
@@ -1611,15 +1611,15 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
1611
1611
|
};
|
|
1612
1612
|
}
|
|
1613
1613
|
});
|
|
1614
|
-
const _hoisted_1$
|
|
1615
|
-
const _hoisted_2$
|
|
1614
|
+
const _hoisted_1$T = ["dir"];
|
|
1615
|
+
const _hoisted_2$G = {
|
|
1616
1616
|
key: 0,
|
|
1617
1617
|
class: "dots"
|
|
1618
1618
|
};
|
|
1619
1619
|
const _hoisted_3$z = ["onClick"];
|
|
1620
1620
|
const GAP_PERCENT = 1;
|
|
1621
1621
|
const VELOCITY_SAMPLE_DURATION = 100;
|
|
1622
|
-
const _sfc_main$
|
|
1622
|
+
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
1623
1623
|
__name: "Carousel",
|
|
1624
1624
|
props: {
|
|
1625
1625
|
autoHeight: { type: Boolean, default: false },
|
|
@@ -2053,7 +2053,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
2053
2053
|
}, [
|
|
2054
2054
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
2055
2055
|
], 38),
|
|
2056
|
-
props2.dots && unref(slideCount) > 1 ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
2056
|
+
props2.dots && unref(slideCount) > 1 ? (openBlock(), createElementBlock("div", _hoisted_2$G, [
|
|
2057
2057
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(slideCount), (i2) => {
|
|
2058
2058
|
return openBlock(), createElementBlock("span", {
|
|
2059
2059
|
key: i2,
|
|
@@ -2084,11 +2084,11 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
2084
2084
|
}, void 0, true)
|
|
2085
2085
|
])
|
|
2086
2086
|
], 2)
|
|
2087
|
-
], 8, _hoisted_1$
|
|
2087
|
+
], 8, _hoisted_1$T);
|
|
2088
2088
|
};
|
|
2089
2089
|
}
|
|
2090
2090
|
});
|
|
2091
|
-
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2091
|
+
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-406c405d"]]);
|
|
2092
2092
|
function _isPlaceholder(a2) {
|
|
2093
2093
|
return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
|
|
2094
2094
|
}
|
|
@@ -8032,25 +8032,25 @@ var script = defineComponent({
|
|
|
8032
8032
|
return { bar, canvas, direction, mouse };
|
|
8033
8033
|
}
|
|
8034
8034
|
});
|
|
8035
|
-
const _hoisted_1$
|
|
8035
|
+
const _hoisted_1$S = {
|
|
8036
8036
|
key: 0,
|
|
8037
8037
|
class: "layer-hover-bar"
|
|
8038
8038
|
};
|
|
8039
|
-
const _hoisted_2$
|
|
8039
|
+
const _hoisted_2$F = ["x", "y", "width", "height"];
|
|
8040
8040
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8041
|
-
return _ctx.mouse.hover ? (openBlock(), createElementBlock("g", _hoisted_1$
|
|
8041
|
+
return _ctx.mouse.hover ? (openBlock(), createElementBlock("g", _hoisted_1$S, [
|
|
8042
8042
|
createElementVNode("rect", mergeProps({ class: "hover-bar" }, _ctx.barStyle, {
|
|
8043
8043
|
x: _ctx.bar.x,
|
|
8044
8044
|
y: _ctx.bar.y,
|
|
8045
8045
|
width: _ctx.bar.width > 0 ? _ctx.bar.width : 0,
|
|
8046
8046
|
height: _ctx.bar.height > 0 ? _ctx.bar.height : 0
|
|
8047
|
-
}), null, 16, _hoisted_2$
|
|
8047
|
+
}), null, 16, _hoisted_2$F)
|
|
8048
8048
|
])) : createCommentVNode("v-if", true);
|
|
8049
8049
|
}
|
|
8050
8050
|
script.render = render;
|
|
8051
8051
|
script.__file = "src/components/HoverBar/index.vue";
|
|
8052
8052
|
const BRAND_COLOR = "var(--bgl-primary)";
|
|
8053
|
-
const _sfc_main$
|
|
8053
|
+
const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
8054
8054
|
__name: "Lineart",
|
|
8055
8055
|
props: {
|
|
8056
8056
|
data: {},
|
|
@@ -8218,8 +8218,8 @@ ${indent}}`;
|
|
|
8218
8218
|
text: TextInput,
|
|
8219
8219
|
textarea: TextInput,
|
|
8220
8220
|
number: NumberInput,
|
|
8221
|
-
array: _sfc_main$
|
|
8222
|
-
color: _sfc_main$
|
|
8221
|
+
array: _sfc_main$U,
|
|
8222
|
+
color: _sfc_main$Q,
|
|
8223
8223
|
tel: TelInput,
|
|
8224
8224
|
select: SelectInput,
|
|
8225
8225
|
toggle: ToggleInput,
|
|
@@ -8227,9 +8227,9 @@ ${indent}}`;
|
|
|
8227
8227
|
richtext: RichText,
|
|
8228
8228
|
upload: UploadInput,
|
|
8229
8229
|
file: UploadInput,
|
|
8230
|
-
date: _sfc_main$
|
|
8230
|
+
date: _sfc_main$O,
|
|
8231
8231
|
tabs: TabsNav,
|
|
8232
|
-
form: _sfc_main$
|
|
8232
|
+
form: _sfc_main$W,
|
|
8233
8233
|
range: RangeInput,
|
|
8234
8234
|
email: EmailInput
|
|
8235
8235
|
};
|
|
@@ -8512,12 +8512,12 @@ function useTableData(options) {
|
|
|
8512
8512
|
schemaState: computed(() => schemaState.value)
|
|
8513
8513
|
};
|
|
8514
8514
|
}
|
|
8515
|
-
const _hoisted_1$
|
|
8516
|
-
const _hoisted_2$
|
|
8515
|
+
const _hoisted_1$R = { class: "data-preview" };
|
|
8516
|
+
const _hoisted_2$E = {
|
|
8517
8517
|
key: 1,
|
|
8518
8518
|
class: "empty-preview"
|
|
8519
8519
|
};
|
|
8520
|
-
const _sfc_main
|
|
8520
|
+
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
8521
8521
|
__name: "DataPreview",
|
|
8522
8522
|
props: {
|
|
8523
8523
|
modelValue: {},
|
|
@@ -8559,17 +8559,17 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
8559
8559
|
onUpdateModelValue: void 0
|
|
8560
8560
|
});
|
|
8561
8561
|
return (_ctx, _cache) => {
|
|
8562
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
8562
|
+
return openBlock(), createElementBlock("div", _hoisted_1$R, [
|
|
8563
8563
|
unref(computedSchema) && unref(computedSchema).length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(unref(computedSchema), (field) => {
|
|
8564
8564
|
return openBlock(), createBlock(resolveDynamicComponent(unref(renderField)(field, unref(slots))), {
|
|
8565
8565
|
key: field.id
|
|
8566
8566
|
});
|
|
8567
|
-
}), 128)) : (openBlock(), createElementBlock("div", _hoisted_2$
|
|
8567
|
+
}), 128)) : (openBlock(), createElementBlock("div", _hoisted_2$E, " No data to display "))
|
|
8568
8568
|
]);
|
|
8569
8569
|
};
|
|
8570
8570
|
}
|
|
8571
8571
|
});
|
|
8572
|
-
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
8572
|
+
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-d084907a"]]);
|
|
8573
8573
|
function useTableSelection(options) {
|
|
8574
8574
|
const allSelectorEl = ref();
|
|
8575
8575
|
const computedSelectedItems = computed(() => options.selectedItems.value);
|
|
@@ -9501,11 +9501,11 @@ function useTableVirtualization(options) {
|
|
|
9501
9501
|
registerLastItemObserver
|
|
9502
9502
|
};
|
|
9503
9503
|
}
|
|
9504
|
-
const _hoisted_1$
|
|
9504
|
+
const _hoisted_1$Q = {
|
|
9505
9505
|
key: 0,
|
|
9506
9506
|
class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
|
|
9507
9507
|
};
|
|
9508
|
-
const _hoisted_2$
|
|
9508
|
+
const _hoisted_2$D = { class: "infinite-wrapper" };
|
|
9509
9509
|
const _hoisted_3$x = { class: "row first-row" };
|
|
9510
9510
|
const _hoisted_4$l = { key: 0 };
|
|
9511
9511
|
const _hoisted_5$l = ["onClick"];
|
|
@@ -9514,7 +9514,7 @@ const _hoisted_7$d = ["onClick"];
|
|
|
9514
9514
|
const _hoisted_8$8 = { key: 0 };
|
|
9515
9515
|
const _hoisted_9$5 = ["value"];
|
|
9516
9516
|
const _hoisted_10$5 = { key: 1 };
|
|
9517
|
-
const _sfc_main
|
|
9517
|
+
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
9518
9518
|
__name: "DataTable",
|
|
9519
9519
|
props: /* @__PURE__ */ mergeModels({
|
|
9520
9520
|
data: {},
|
|
@@ -9634,13 +9634,13 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
9634
9634
|
return openBlock(), createElementBlock("div", mergeProps({ class: "table-list-wrap h-100" }, unref(containerProps), {
|
|
9635
9635
|
class: { "loading-table": showLoading.value }
|
|
9636
9636
|
}), [
|
|
9637
|
-
showLoading.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
9637
|
+
showLoading.value ? (openBlock(), createElementBlock("div", _hoisted_1$Q, _cache[4] || (_cache[4] = [
|
|
9638
9638
|
createElementVNode("div", { class: "loading-table-animation fixed oval top-7" }, null, -1)
|
|
9639
9639
|
]))) : createCommentVNode("", true),
|
|
9640
9640
|
createElementVNode("div", mergeProps(unref(wrapperProps), {
|
|
9641
9641
|
class: { "pointer-events-none": showLoading.value }
|
|
9642
9642
|
}), [
|
|
9643
|
-
createElementVNode("table", _hoisted_2$
|
|
9643
|
+
createElementVNode("table", _hoisted_2$D, [
|
|
9644
9644
|
createElementVNode("thead", _hoisted_3$x, [
|
|
9645
9645
|
unref(isSelectable) ? (openBlock(), createElementBlock("th", _hoisted_4$l, [
|
|
9646
9646
|
createElementVNode("input", {
|
|
@@ -9663,7 +9663,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
9663
9663
|
createElementVNode("div", {
|
|
9664
9664
|
class: normalizeClass(["list-arrows", { sorted: unref(sortField) === (field == null ? void 0 : field.id) }])
|
|
9665
9665
|
}, [
|
|
9666
|
-
createVNode(unref(_sfc_main$
|
|
9666
|
+
createVNode(unref(_sfc_main$u), {
|
|
9667
9667
|
class: normalizeClass({ desc: unref(sortDirection) === "DESC" }),
|
|
9668
9668
|
icon: "keyboard_arrow_up"
|
|
9669
9669
|
}, null, 8, ["class"])
|
|
@@ -9723,7 +9723,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
9723
9723
|
};
|
|
9724
9724
|
}
|
|
9725
9725
|
});
|
|
9726
|
-
const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
9726
|
+
const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-979bbdcd"]]);
|
|
9727
9727
|
function useDraggable(options = {}) {
|
|
9728
9728
|
const isDragging = ref(false);
|
|
9729
9729
|
const dragElement = ref(null);
|
|
@@ -10198,7 +10198,7 @@ function useDraggable(options = {}) {
|
|
|
10198
10198
|
initDraggableContainer
|
|
10199
10199
|
};
|
|
10200
10200
|
}
|
|
10201
|
-
const _sfc_main$
|
|
10201
|
+
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
10202
10202
|
__name: "Draggable",
|
|
10203
10203
|
props: {
|
|
10204
10204
|
modelValue: {},
|
|
@@ -12818,7 +12818,7 @@ const Gt = {
|
|
|
12818
12818
|
install: Ct,
|
|
12819
12819
|
options: h
|
|
12820
12820
|
};
|
|
12821
|
-
const _sfc_main$
|
|
12821
|
+
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
12822
12822
|
__name: "Dropdown",
|
|
12823
12823
|
props: /* @__PURE__ */ mergeModels({
|
|
12824
12824
|
value: {},
|
|
@@ -12912,9 +12912,9 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
12912
12912
|
};
|
|
12913
12913
|
}
|
|
12914
12914
|
});
|
|
12915
|
-
const _hoisted_1$
|
|
12916
|
-
const _hoisted_2$
|
|
12917
|
-
const _sfc_main$
|
|
12915
|
+
const _hoisted_1$P = { class: "px-1 pt-025 pb-1" };
|
|
12916
|
+
const _hoisted_2$C = { class: "ms-1" };
|
|
12917
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
12918
12918
|
__name: "FieldSetVue",
|
|
12919
12919
|
props: {
|
|
12920
12920
|
label: {},
|
|
@@ -12922,15 +12922,15 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
12922
12922
|
},
|
|
12923
12923
|
setup(__props) {
|
|
12924
12924
|
return (_ctx, _cache) => {
|
|
12925
|
-
return openBlock(), createElementBlock("fieldset", _hoisted_1$
|
|
12926
|
-
createElementVNode("legend", _hoisted_2$
|
|
12925
|
+
return openBlock(), createElementBlock("fieldset", _hoisted_1$P, [
|
|
12926
|
+
createElementVNode("legend", _hoisted_2$C, toDisplayString(_ctx.legend || _ctx.label), 1),
|
|
12927
12927
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
12928
12928
|
]);
|
|
12929
12929
|
};
|
|
12930
12930
|
}
|
|
12931
12931
|
});
|
|
12932
|
-
const FieldSetVue = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12933
|
-
const _sfc_main$
|
|
12932
|
+
const FieldSetVue = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-f7e758e5"]]);
|
|
12933
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
12934
12934
|
__name: "Flag",
|
|
12935
12935
|
props: {
|
|
12936
12936
|
country: {},
|
|
@@ -12960,7 +12960,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
12960
12960
|
};
|
|
12961
12961
|
}
|
|
12962
12962
|
});
|
|
12963
|
-
const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12963
|
+
const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-f99f1900"]]);
|
|
12964
12964
|
function getBaseField(id, labelOrRest = {}, rest = {}) {
|
|
12965
12965
|
if (typeof labelOrRest === "object") return { id, ...labelOrRest };
|
|
12966
12966
|
return { id, label: labelOrRest, ...rest };
|
|
@@ -13450,7 +13450,7 @@ function getNestedValue(obj, path, defaultValue = void 0) {
|
|
|
13450
13450
|
}
|
|
13451
13451
|
return current ?? defaultValue;
|
|
13452
13452
|
}
|
|
13453
|
-
const _sfc_main$
|
|
13453
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
13454
13454
|
__name: "BagelForm",
|
|
13455
13455
|
props: {
|
|
13456
13456
|
modelValue: { default: void 0 },
|
|
@@ -13583,8 +13583,8 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
13583
13583
|
};
|
|
13584
13584
|
}
|
|
13585
13585
|
});
|
|
13586
|
-
const _hoisted_1$
|
|
13587
|
-
const _hoisted_2$
|
|
13586
|
+
const _hoisted_1$O = { class: "bgl-multi-step-form" };
|
|
13587
|
+
const _hoisted_2$B = {
|
|
13588
13588
|
key: 0,
|
|
13589
13589
|
class: "bgl-step-progress"
|
|
13590
13590
|
};
|
|
@@ -13596,7 +13596,7 @@ const _hoisted_5$k = {
|
|
|
13596
13596
|
};
|
|
13597
13597
|
const _hoisted_6$g = { class: "bgl-form-wrapper" };
|
|
13598
13598
|
const _hoisted_7$c = { class: "bgl-step-controls" };
|
|
13599
|
-
const _sfc_main$
|
|
13599
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
13600
13600
|
__name: "BglMultiStepForm",
|
|
13601
13601
|
props: /* @__PURE__ */ mergeModels({
|
|
13602
13602
|
bagelFormProps: { default: () => ({}) },
|
|
@@ -13761,8 +13761,8 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
13761
13761
|
prevStep
|
|
13762
13762
|
});
|
|
13763
13763
|
return (_ctx, _cache) => {
|
|
13764
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
13765
|
-
_ctx.showProgress ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
13764
|
+
return openBlock(), createElementBlock("div", _hoisted_1$O, [
|
|
13765
|
+
_ctx.showProgress ? (openBlock(), createElementBlock("div", _hoisted_2$B, [
|
|
13766
13766
|
renderSlot(_ctx.$slots, "progress", normalizeProps(guardReactiveProps({
|
|
13767
13767
|
currentStep: currentStep.value,
|
|
13768
13768
|
totalSteps: numberOfSteps.value,
|
|
@@ -13801,7 +13801,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
13801
13801
|
ref: formContainer,
|
|
13802
13802
|
class: "bgl-form-container"
|
|
13803
13803
|
}, [
|
|
13804
|
-
createVNode(unref(_sfc_main$
|
|
13804
|
+
createVNode(unref(_sfc_main$W), mergeProps({
|
|
13805
13805
|
ref_key: "formRef",
|
|
13806
13806
|
ref: formRef,
|
|
13807
13807
|
modelValue: formData.value,
|
|
@@ -13860,12 +13860,12 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
13860
13860
|
};
|
|
13861
13861
|
}
|
|
13862
13862
|
});
|
|
13863
|
-
const BglMultiStepForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13864
|
-
const _hoisted_1$
|
|
13863
|
+
const BglMultiStepForm = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-2b84dfc5"]]);
|
|
13864
|
+
const _hoisted_1$N = {
|
|
13865
13865
|
key: 0,
|
|
13866
13866
|
class: "label mb-05"
|
|
13867
13867
|
};
|
|
13868
|
-
const _hoisted_2$
|
|
13868
|
+
const _hoisted_2$A = { class: "ps-025 border-start mb-05" };
|
|
13869
13869
|
const _hoisted_3$v = {
|
|
13870
13870
|
key: 0,
|
|
13871
13871
|
class: "flex-center h-300px"
|
|
@@ -13879,7 +13879,7 @@ const _hoisted_5$j = {
|
|
|
13879
13879
|
class: "minimizedText txt14 p-025 opacity-7"
|
|
13880
13880
|
};
|
|
13881
13881
|
const _hoisted_6$f = { class: "bg-gray-80 -my-05 px-025 pt-065 pb-05 txt-center space-between flex column" };
|
|
13882
|
-
const _sfc_main$
|
|
13882
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
13883
13883
|
__name: "FieldArray",
|
|
13884
13884
|
props: {
|
|
13885
13885
|
el: { default: "div" },
|
|
@@ -13965,10 +13965,10 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
13965
13965
|
return openBlock(), createElementBlock("div", {
|
|
13966
13966
|
class: normalizeClass(props2.class)
|
|
13967
13967
|
}, [
|
|
13968
|
-
_ctx.label ? (openBlock(), createElementBlock("p", _hoisted_1$
|
|
13969
|
-
createElementVNode("div", _hoisted_2$
|
|
13968
|
+
_ctx.label ? (openBlock(), createElementBlock("p", _hoisted_1$N, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
|
|
13969
|
+
createElementVNode("div", _hoisted_2$A, [
|
|
13970
13970
|
schemaState.value !== "loaded" ? (openBlock(), createElementBlock("div", _hoisted_3$v, [
|
|
13971
|
-
schemaState.value === "loading" ? (openBlock(), createBlock(unref(Loading), { key: 0 })) : schemaState.value === "error" ? (openBlock(), createBlock(unref(_sfc_main$
|
|
13971
|
+
schemaState.value === "loading" ? (openBlock(), createBlock(unref(Loading), { key: 0 })) : schemaState.value === "error" ? (openBlock(), createBlock(unref(_sfc_main$u), {
|
|
13972
13972
|
key: 1,
|
|
13973
13973
|
icon: "error",
|
|
13974
13974
|
color: "red"
|
|
@@ -13983,7 +13983,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
13983
13983
|
thin: "",
|
|
13984
13984
|
class: normalizeClass(["mb-05 itemBox transition ps-05 pb-025 pt-025 radius-05 gap-05 overflow-hidden", { minimized: minimizedItems.value[i2] }])
|
|
13985
13985
|
}, [
|
|
13986
|
-
minimizedItems.value[i2] ? (openBlock(), createElementBlock("p", _hoisted_5$j, toDisplayString(_ctx.label) + " " + toDisplayString(i2 + 1), 1)) : (openBlock(), createBlock(unref(_sfc_main$
|
|
13986
|
+
minimizedItems.value[i2] ? (openBlock(), createElementBlock("p", _hoisted_5$j, toDisplayString(_ctx.label) + " " + toDisplayString(i2 + 1), 1)) : (openBlock(), createBlock(unref(_sfc_main$W), {
|
|
13987
13987
|
key: 1,
|
|
13988
13988
|
"model-value": isPrimitiveType.value ? { value: item } : item,
|
|
13989
13989
|
schema: unref(resolvedSchemaData),
|
|
@@ -14028,8 +14028,8 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
14028
14028
|
};
|
|
14029
14029
|
}
|
|
14030
14030
|
});
|
|
14031
|
-
const _hoisted_1$
|
|
14032
|
-
const _sfc_main$
|
|
14031
|
+
const _hoisted_1$M = { class: "primary-checkbox" };
|
|
14032
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
14033
14033
|
__name: "Checkbox",
|
|
14034
14034
|
props: {
|
|
14035
14035
|
"modelValue": { type: Boolean, ...{ default: false } },
|
|
@@ -14039,7 +14039,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
14039
14039
|
setup(__props) {
|
|
14040
14040
|
const val = useModel(__props, "modelValue");
|
|
14041
14041
|
return (_ctx, _cache) => {
|
|
14042
|
-
return openBlock(), createElementBlock("label", _hoisted_1$
|
|
14042
|
+
return openBlock(), createElementBlock("label", _hoisted_1$M, [
|
|
14043
14043
|
renderSlot(_ctx.$slots, "label", {}, void 0, true),
|
|
14044
14044
|
withDirectives(createElementVNode("input", {
|
|
14045
14045
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
|
|
@@ -14051,11 +14051,11 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
14051
14051
|
};
|
|
14052
14052
|
}
|
|
14053
14053
|
});
|
|
14054
|
-
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14055
|
-
const _hoisted_1$
|
|
14056
|
-
const _hoisted_2$
|
|
14054
|
+
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-73f1d9ad"]]);
|
|
14055
|
+
const _hoisted_1$L = ["title"];
|
|
14056
|
+
const _hoisted_2$z = ["id", "value", "required"];
|
|
14057
14057
|
const _hoisted_3$u = ["for"];
|
|
14058
|
-
const _sfc_main$
|
|
14058
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
14059
14059
|
__name: "CheckInput",
|
|
14060
14060
|
props: /* @__PURE__ */ mergeModels({
|
|
14061
14061
|
label: {},
|
|
@@ -14088,7 +14088,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
14088
14088
|
required: _ctx.required,
|
|
14089
14089
|
type: "checkbox",
|
|
14090
14090
|
class: "me-05"
|
|
14091
|
-
}, null, 8, _hoisted_2$
|
|
14091
|
+
}, null, 8, _hoisted_2$z), [
|
|
14092
14092
|
[vModelCheckbox, checked.value]
|
|
14093
14093
|
]),
|
|
14094
14094
|
createElementVNode("label", {
|
|
@@ -14098,23 +14098,23 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
14098
14098
|
createTextVNode(toDisplayString(_ctx.label), 1)
|
|
14099
14099
|
], true)
|
|
14100
14100
|
], 8, _hoisted_3$u)
|
|
14101
|
-
], 10, _hoisted_1$
|
|
14101
|
+
], 10, _hoisted_1$L);
|
|
14102
14102
|
};
|
|
14103
14103
|
}
|
|
14104
14104
|
});
|
|
14105
|
-
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14106
|
-
const _hoisted_1$
|
|
14105
|
+
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-722373de"]]);
|
|
14106
|
+
const _hoisted_1$K = {
|
|
14107
14107
|
key: 0,
|
|
14108
14108
|
class: "label"
|
|
14109
14109
|
};
|
|
14110
|
-
const _hoisted_2$
|
|
14110
|
+
const _hoisted_2$y = { class: "editor-content-papa relative" };
|
|
14111
14111
|
const _hoisted_3$t = {
|
|
14112
14112
|
class: "code-display",
|
|
14113
14113
|
wrap: ""
|
|
14114
14114
|
};
|
|
14115
14115
|
const _hoisted_4$i = ["innerHTML"];
|
|
14116
14116
|
const _hoisted_5$i = ["value"];
|
|
14117
|
-
const _sfc_main$
|
|
14117
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
14118
14118
|
__name: "Index",
|
|
14119
14119
|
props: {
|
|
14120
14120
|
language: { default: "html" },
|
|
@@ -14206,14 +14206,14 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
14206
14206
|
class: "code-editor-container ltr",
|
|
14207
14207
|
style: normalizeStyle({ maxHeight: maxHeight.value })
|
|
14208
14208
|
}, [
|
|
14209
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_1$
|
|
14209
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_1$K, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
|
|
14210
14210
|
loaded.value ? (openBlock(), createElementBlock("div", {
|
|
14211
14211
|
key: 1,
|
|
14212
14212
|
ref_key: "editorRef",
|
|
14213
14213
|
ref: editorRef,
|
|
14214
14214
|
class: "code-editor-grandpa"
|
|
14215
14215
|
}, [
|
|
14216
|
-
createElementVNode("div", _hoisted_2$
|
|
14216
|
+
createElementVNode("div", _hoisted_2$y, [
|
|
14217
14217
|
createElementVNode("pre", _hoisted_3$t, [
|
|
14218
14218
|
createElementVNode("code", { innerHTML: formattedCode.value }, null, 8, _hoisted_4$i)
|
|
14219
14219
|
]),
|
|
@@ -14234,11 +14234,11 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
14234
14234
|
};
|
|
14235
14235
|
}
|
|
14236
14236
|
});
|
|
14237
|
-
const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14238
|
-
const _hoisted_1$
|
|
14239
|
-
const _hoisted_2$
|
|
14237
|
+
const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-6ab9613f"]]);
|
|
14238
|
+
const _hoisted_1$J = ["title"];
|
|
14239
|
+
const _hoisted_2$x = { class: "flex bg-input rounded px-025 colorInputPickWrap" };
|
|
14240
14240
|
const _hoisted_3$s = ["id", "placeholder", "required"];
|
|
14241
|
-
const _sfc_main$
|
|
14241
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
14242
14242
|
__name: "ColorInput",
|
|
14243
14243
|
props: {
|
|
14244
14244
|
label: {},
|
|
@@ -14268,7 +14268,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
14268
14268
|
}, [
|
|
14269
14269
|
createElementVNode("label", null, [
|
|
14270
14270
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
14271
|
-
createElementVNode("div", _hoisted_2$
|
|
14271
|
+
createElementVNode("div", _hoisted_2$x, [
|
|
14272
14272
|
withDirectives(createElementVNode("input", mergeProps({
|
|
14273
14273
|
id: _ctx.id,
|
|
14274
14274
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputVal.value = $event),
|
|
@@ -14298,7 +14298,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
14298
14298
|
}, null, 8, ["class"])
|
|
14299
14299
|
])
|
|
14300
14300
|
])
|
|
14301
|
-
], 10, _hoisted_1$
|
|
14301
|
+
], 10, _hoisted_1$J);
|
|
14302
14302
|
};
|
|
14303
14303
|
}
|
|
14304
14304
|
});
|
|
@@ -14819,8 +14819,8 @@ class Time {
|
|
|
14819
14819
|
return number2 < 10 ? `0${number2}` : String(number2);
|
|
14820
14820
|
}
|
|
14821
14821
|
}
|
|
14822
|
-
const _hoisted_1$
|
|
14823
|
-
const _hoisted_2$
|
|
14822
|
+
const _hoisted_1$I = { class: "ltr flex gap-075 m_flex-wrap calendar-container justify-content-center h-100p" };
|
|
14823
|
+
const _hoisted_2$w = { class: "calendar-section m_border-none pe-05 m_p-0" };
|
|
14824
14824
|
const _hoisted_3$r = { class: "flex space-between pb-1" };
|
|
14825
14825
|
const _hoisted_4$h = { class: "flex gap-05" };
|
|
14826
14826
|
const _hoisted_5$h = { class: "month-year" };
|
|
@@ -14842,7 +14842,7 @@ const _hoisted_10$4 = {
|
|
|
14842
14842
|
class: "time-picker border-start flex column gap-1 w-120px px-025"
|
|
14843
14843
|
};
|
|
14844
14844
|
const _hoisted_11$4 = { class: "flex gap-025" };
|
|
14845
|
-
const _sfc_main$
|
|
14845
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
14846
14846
|
__name: "DatePicker",
|
|
14847
14847
|
props: {
|
|
14848
14848
|
modelValue: {},
|
|
@@ -15052,8 +15052,8 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
15052
15052
|
}
|
|
15053
15053
|
}
|
|
15054
15054
|
return (_ctx, _cache) => {
|
|
15055
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15056
|
-
createElementVNode("div", _hoisted_2$
|
|
15055
|
+
return openBlock(), createElementBlock("div", _hoisted_1$I, [
|
|
15056
|
+
createElementVNode("div", _hoisted_2$w, [
|
|
15057
15057
|
createElementVNode("div", _hoisted_3$r, [
|
|
15058
15058
|
currentView.value === "days" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
15059
15059
|
createVNode(unref(Btn), {
|
|
@@ -15182,14 +15182,14 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
15182
15182
|
};
|
|
15183
15183
|
}
|
|
15184
15184
|
});
|
|
15185
|
-
const DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15186
|
-
const _hoisted_1$
|
|
15187
|
-
const _hoisted_2$
|
|
15185
|
+
const DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-8b7bd9b8"]]);
|
|
15186
|
+
const _hoisted_1$H = ["title"];
|
|
15187
|
+
const _hoisted_2$v = { key: 0 };
|
|
15188
15188
|
const _hoisted_3$q = {
|
|
15189
15189
|
key: 0,
|
|
15190
15190
|
class: "required"
|
|
15191
15191
|
};
|
|
15192
|
-
const _sfc_main$
|
|
15192
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
15193
15193
|
__name: "DateInput",
|
|
15194
15194
|
props: /* @__PURE__ */ mergeModels({
|
|
15195
15195
|
required: { type: Boolean },
|
|
@@ -15305,11 +15305,11 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
15305
15305
|
onFocusin: _cache[4] || (_cache[4] = //@ts-ignore
|
|
15306
15306
|
(...args) => unref(handleFocus) && unref(handleFocus)(...args))
|
|
15307
15307
|
}, [
|
|
15308
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
15308
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$v, [
|
|
15309
15309
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
15310
15310
|
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$q, "*")) : createCommentVNode("", true)
|
|
15311
15311
|
])) : createCommentVNode("", true),
|
|
15312
|
-
createVNode(unref(_sfc_main$
|
|
15312
|
+
createVNode(unref(_sfc_main$Z), {
|
|
15313
15313
|
shown: isOpen.value,
|
|
15314
15314
|
placement: "bottom-start",
|
|
15315
15315
|
autoHide: false,
|
|
@@ -15364,7 +15364,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
15364
15364
|
]),
|
|
15365
15365
|
_: 1
|
|
15366
15366
|
}, 8, ["shown"])
|
|
15367
|
-
], 42, _hoisted_1$
|
|
15367
|
+
], 42, _hoisted_1$H);
|
|
15368
15368
|
};
|
|
15369
15369
|
}
|
|
15370
15370
|
});
|
|
@@ -15373,8 +15373,8 @@ const IMAGE_FORMATS_REGEXP = new RegExp(`(${IMAGE_FORMATS.join("|")})$`, "i");
|
|
|
15373
15373
|
const VIDEO_FORMATS = ["mp4", "webm", "ogg", "mov", "avi", "flv", "wmv", "mkv", "ts", "m3u8"];
|
|
15374
15374
|
const VIDEO_FORMATS_REGEXP = new RegExp(`(${VIDEO_FORMATS.join("|")})$`, "i");
|
|
15375
15375
|
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;
|
|
15376
|
-
const _hoisted_1$
|
|
15377
|
-
const _hoisted_2$
|
|
15376
|
+
const _hoisted_1$G = ["title"];
|
|
15377
|
+
const _hoisted_2$u = ["for"];
|
|
15378
15378
|
const _hoisted_3$p = { class: "flex" };
|
|
15379
15379
|
const _hoisted_4$g = { key: 0 };
|
|
15380
15380
|
const _hoisted_5$g = {
|
|
@@ -15386,7 +15386,7 @@ const _hoisted_6$d = {
|
|
|
15386
15386
|
class: "validating"
|
|
15387
15387
|
};
|
|
15388
15388
|
const _hoisted_7$a = ["id", "name", "title", "placeholder", "disabled", "required"];
|
|
15389
|
-
const _sfc_main$
|
|
15389
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
15390
15390
|
__name: "EmailInput",
|
|
15391
15391
|
props: {
|
|
15392
15392
|
id: {},
|
|
@@ -15683,23 +15683,23 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
15683
15683
|
[vModelText, unref(inputVal)],
|
|
15684
15684
|
[_directive_pattern, void 0, "lower"]
|
|
15685
15685
|
]),
|
|
15686
|
-
_ctx.iconStart ? (openBlock(), createBlock(unref(_sfc_main$
|
|
15686
|
+
_ctx.iconStart ? (openBlock(), createBlock(unref(_sfc_main$u), {
|
|
15687
15687
|
key: 0,
|
|
15688
15688
|
class: "iconStart",
|
|
15689
15689
|
icon: _ctx.iconStart
|
|
15690
15690
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
15691
|
-
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$
|
|
15691
|
+
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$u), {
|
|
15692
15692
|
key: 1,
|
|
15693
15693
|
icon: _ctx.icon
|
|
15694
15694
|
}, null, 8, ["icon"])) : createCommentVNode("", true)
|
|
15695
|
-
], 8, _hoisted_2$
|
|
15696
|
-
], 10, _hoisted_1$
|
|
15695
|
+
], 8, _hoisted_2$u)
|
|
15696
|
+
], 10, _hoisted_1$G);
|
|
15697
15697
|
};
|
|
15698
15698
|
}
|
|
15699
15699
|
});
|
|
15700
|
-
const EmailInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15701
|
-
const _hoisted_1$
|
|
15702
|
-
const _hoisted_2$
|
|
15700
|
+
const EmailInput = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-e3d13caa"]]);
|
|
15701
|
+
const _hoisted_1$F = { class: "bagel-input" };
|
|
15702
|
+
const _hoisted_2$t = {
|
|
15703
15703
|
key: 0,
|
|
15704
15704
|
placeholder: "required",
|
|
15705
15705
|
type: "text",
|
|
@@ -15728,8 +15728,8 @@ const _hoisted_12$3 = {
|
|
|
15728
15728
|
key: 1,
|
|
15729
15729
|
class: "bgl-single-preview"
|
|
15730
15730
|
};
|
|
15731
|
-
const _hoisted_13$
|
|
15732
|
-
const _hoisted_14$
|
|
15731
|
+
const _hoisted_13$2 = { class: "position-start m-05 flex opacity-7 z-99 gap-025" };
|
|
15732
|
+
const _hoisted_14$2 = {
|
|
15733
15733
|
key: 0,
|
|
15734
15734
|
class: "h-100"
|
|
15735
15735
|
};
|
|
@@ -15739,7 +15739,7 @@ const _hoisted_15$1 = {
|
|
|
15739
15739
|
};
|
|
15740
15740
|
const _hoisted_16$1 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
|
|
15741
15741
|
const _hoisted_17$1 = { class: "pretty balance" };
|
|
15742
|
-
const _sfc_main$
|
|
15742
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
15743
15743
|
__name: "FileUpload",
|
|
15744
15744
|
props: /* @__PURE__ */ mergeModels({
|
|
15745
15745
|
label: {},
|
|
@@ -15914,10 +15914,10 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
15914
15914
|
return (_ctx, _cache) => {
|
|
15915
15915
|
const _directive_tooltip = resolveDirective("tooltip");
|
|
15916
15916
|
const _directive_lightbox = resolveDirective("lightbox");
|
|
15917
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
15917
|
+
return openBlock(), createElementBlock("div", _hoisted_1$F, [
|
|
15918
15918
|
createElementVNode("label", null, toDisplayString(_ctx.label), 1),
|
|
15919
|
-
_ctx.required && !storageFiles.value.length ? (openBlock(), createElementBlock("input", _hoisted_2$
|
|
15920
|
-
_ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main$
|
|
15919
|
+
_ctx.required && !storageFiles.value.length ? (openBlock(), createElementBlock("input", _hoisted_2$t)) : createCommentVNode("", true),
|
|
15920
|
+
_ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main$13), {
|
|
15921
15921
|
key: 1,
|
|
15922
15922
|
outline: "",
|
|
15923
15923
|
class: "flex p-05 gap-1",
|
|
@@ -15973,7 +15973,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
15973
15973
|
[_directive_lightbox, { src: file.url, download: true }]
|
|
15974
15974
|
]),
|
|
15975
15975
|
createElementVNode("div", _hoisted_5$f, [
|
|
15976
|
-
createVNode(unref(_sfc_main$
|
|
15976
|
+
createVNode(unref(_sfc_main$u), {
|
|
15977
15977
|
icon: "draft",
|
|
15978
15978
|
size: 1.5
|
|
15979
15979
|
}),
|
|
@@ -16024,7 +16024,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
16024
16024
|
class: "multi-preview",
|
|
16025
16025
|
src: file.url,
|
|
16026
16026
|
alt: ""
|
|
16027
|
-
}, null, 8, ["src"])) : (openBlock(), createBlock(unref(_sfc_main$
|
|
16027
|
+
}, null, 8, ["src"])) : (openBlock(), createBlock(unref(_sfc_main$u), {
|
|
16028
16028
|
key: 1,
|
|
16029
16029
|
icon: "draft",
|
|
16030
16030
|
class: "multi-preview"
|
|
@@ -16054,7 +16054,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
16054
16054
|
src: fileToUrl(fileQ.file),
|
|
16055
16055
|
alt: ""
|
|
16056
16056
|
}, null, 8, ["width", "src"])) : createCommentVNode("", true)
|
|
16057
|
-
], 64)) : (openBlock(), createBlock(unref(_sfc_main$
|
|
16057
|
+
], 64)) : (openBlock(), createBlock(unref(_sfc_main$u), {
|
|
16058
16058
|
key: 1,
|
|
16059
16059
|
icon: "draft",
|
|
16060
16060
|
class: "multi-preview"
|
|
@@ -16065,7 +16065,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
16065
16065
|
style: normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
|
|
16066
16066
|
}, [
|
|
16067
16067
|
fileQ.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_11$3, toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : createCommentVNode("", true),
|
|
16068
|
-
createVNode(unref(_sfc_main$
|
|
16068
|
+
createVNode(unref(_sfc_main$u), {
|
|
16069
16069
|
class: "success",
|
|
16070
16070
|
icon: "check"
|
|
16071
16071
|
})
|
|
@@ -16079,7 +16079,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
16079
16079
|
key: file.id,
|
|
16080
16080
|
class: normalizeClass(["single-image-item-preview", { "bgl_fill-image": _ctx.fill }])
|
|
16081
16081
|
}, [
|
|
16082
|
-
createElementVNode("div", _hoisted_13$
|
|
16082
|
+
createElementVNode("div", _hoisted_13$2, [
|
|
16083
16083
|
withDirectives(createVNode(unref(Btn), {
|
|
16084
16084
|
color: "gray",
|
|
16085
16085
|
thin: "",
|
|
@@ -16109,7 +16109,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
16109
16109
|
[_directive_tooltip, "Download"]
|
|
16110
16110
|
])
|
|
16111
16111
|
]),
|
|
16112
|
-
isImage(file.extension || file.url) ? (openBlock(), createElementBlock("div", _hoisted_14$
|
|
16112
|
+
isImage(file.extension || file.url) ? (openBlock(), createElementBlock("div", _hoisted_14$2, [
|
|
16113
16113
|
withDirectives(createVNode(unref(Image$1), {
|
|
16114
16114
|
class: "single-preview",
|
|
16115
16115
|
src: file.url,
|
|
@@ -16117,7 +16117,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
16117
16117
|
}, null, 8, ["src"]), [
|
|
16118
16118
|
[_directive_lightbox, { src: file.url, download: true }]
|
|
16119
16119
|
])
|
|
16120
|
-
])) : withDirectives((openBlock(), createBlock(unref(_sfc_main$
|
|
16120
|
+
])) : withDirectives((openBlock(), createBlock(unref(_sfc_main$u), {
|
|
16121
16121
|
key: 1,
|
|
16122
16122
|
size: 4,
|
|
16123
16123
|
weight: "2",
|
|
@@ -16138,7 +16138,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
16138
16138
|
style: normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
|
|
16139
16139
|
}, [
|
|
16140
16140
|
fileQ.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_15$1, toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : createCommentVNode("", true),
|
|
16141
|
-
createVNode(unref(_sfc_main$
|
|
16141
|
+
createVNode(unref(_sfc_main$u), {
|
|
16142
16142
|
class: "success",
|
|
16143
16143
|
icon: "check"
|
|
16144
16144
|
})
|
|
@@ -16162,7 +16162,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
16162
16162
|
browse
|
|
16163
16163
|
}, () => [
|
|
16164
16164
|
createElementVNode("p", _hoisted_16$1, [
|
|
16165
|
-
createVNode(unref(_sfc_main$
|
|
16165
|
+
createVNode(unref(_sfc_main$u), { icon: "upload_2" }),
|
|
16166
16166
|
createElementVNode("span", _hoisted_17$1, toDisplayString(_ctx.dropPlaceholder || "Drag and Drop files here or click to upload"), 1)
|
|
16167
16167
|
])
|
|
16168
16168
|
], true) : createCommentVNode("", true)
|
|
@@ -16171,11 +16171,11 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
16171
16171
|
};
|
|
16172
16172
|
}
|
|
16173
16173
|
});
|
|
16174
|
-
const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16175
|
-
const _hoisted_1$
|
|
16176
|
-
const _hoisted_2$
|
|
16174
|
+
const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-50fd0597"]]);
|
|
16175
|
+
const _hoisted_1$E = ["title"];
|
|
16176
|
+
const _hoisted_2$s = { key: 0 };
|
|
16177
16177
|
const _hoisted_3$n = ["value", "placeholder"];
|
|
16178
|
-
const _sfc_main$
|
|
16178
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
16179
16179
|
__name: "JSONInput",
|
|
16180
16180
|
props: {
|
|
16181
16181
|
description: { default: "" },
|
|
@@ -16198,7 +16198,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
16198
16198
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
16199
16199
|
title: _ctx.description
|
|
16200
16200
|
}, [
|
|
16201
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
16201
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$s, [
|
|
16202
16202
|
createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
16203
16203
|
])) : createCommentVNode("", true),
|
|
16204
16204
|
createElementVNode("textarea", {
|
|
@@ -16207,13 +16207,13 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
16207
16207
|
placeholder: _ctx.placeholder,
|
|
16208
16208
|
onInput: handleInput
|
|
16209
16209
|
}, null, 42, _hoisted_3$n)
|
|
16210
|
-
], 10, _hoisted_1$
|
|
16210
|
+
], 10, _hoisted_1$E);
|
|
16211
16211
|
};
|
|
16212
16212
|
}
|
|
16213
16213
|
});
|
|
16214
|
-
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16215
|
-
const _hoisted_1$
|
|
16216
|
-
const _hoisted_2$
|
|
16214
|
+
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-1cbaeab2"]]);
|
|
16215
|
+
const _hoisted_1$D = ["for"];
|
|
16216
|
+
const _hoisted_2$r = {
|
|
16217
16217
|
key: 0,
|
|
16218
16218
|
class: "block"
|
|
16219
16219
|
};
|
|
@@ -16226,7 +16226,7 @@ const _hoisted_5$e = {
|
|
|
16226
16226
|
key: 5,
|
|
16227
16227
|
class: "flex column spinner"
|
|
16228
16228
|
};
|
|
16229
|
-
const _sfc_main$
|
|
16229
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
16230
16230
|
__name: "NumberInput",
|
|
16231
16231
|
props: {
|
|
16232
16232
|
modelValue: {},
|
|
@@ -16331,7 +16331,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
16331
16331
|
}])
|
|
16332
16332
|
}, [
|
|
16333
16333
|
createElementVNode("div", { for: _ctx.id }, [
|
|
16334
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
16334
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$r, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
|
|
16335
16335
|
createElementVNode("div", {
|
|
16336
16336
|
class: normalizeClass(["gap-025", { "column flex": _ctx.layout === "vertical", "flex": _ctx.layout === "horizontal" }])
|
|
16337
16337
|
}, [
|
|
@@ -16381,12 +16381,12 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
16381
16381
|
]
|
|
16382
16382
|
]),
|
|
16383
16383
|
_ctx.helptext ? (openBlock(), createElementBlock("p", _hoisted_4$e, toDisplayString(_ctx.helptext), 1)) : createCommentVNode("", true),
|
|
16384
|
-
_ctx.iconStart ? (openBlock(), createBlock(unref(_sfc_main$
|
|
16384
|
+
_ctx.iconStart ? (openBlock(), createBlock(unref(_sfc_main$u), {
|
|
16385
16385
|
key: 2,
|
|
16386
16386
|
class: "iconStart",
|
|
16387
16387
|
icon: _ctx.iconStart
|
|
16388
16388
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
16389
|
-
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$
|
|
16389
|
+
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$u), {
|
|
16390
16390
|
key: 3,
|
|
16391
16391
|
icon: _ctx.icon
|
|
16392
16392
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
@@ -16419,14 +16419,14 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
16419
16419
|
}, null, 8, ["disabled"])
|
|
16420
16420
|
])) : createCommentVNode("", true)
|
|
16421
16421
|
], 2)
|
|
16422
|
-
], 8, _hoisted_1$
|
|
16422
|
+
], 8, _hoisted_1$D)
|
|
16423
16423
|
], 2);
|
|
16424
16424
|
};
|
|
16425
16425
|
}
|
|
16426
16426
|
});
|
|
16427
|
-
const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16428
|
-
const _hoisted_1$
|
|
16429
|
-
const _sfc_main$
|
|
16427
|
+
const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-78609eff"]]);
|
|
16428
|
+
const _hoisted_1$C = ["value", "autofocus", "onKeydown", "onPaste"];
|
|
16429
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
16430
16430
|
__name: "OTP",
|
|
16431
16431
|
props: {
|
|
16432
16432
|
digitCount: {},
|
|
@@ -16530,16 +16530,16 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
16530
16530
|
onPaste: ($event) => handlePaste($event, ind),
|
|
16531
16531
|
onKeyup: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
16532
16532
|
}, ["prevent"]))
|
|
16533
|
-
}, null, 40, _hoisted_1$
|
|
16533
|
+
}, null, 40, _hoisted_1$C);
|
|
16534
16534
|
}), 128))
|
|
16535
16535
|
], 512);
|
|
16536
16536
|
};
|
|
16537
16537
|
}
|
|
16538
16538
|
});
|
|
16539
|
-
const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16540
|
-
const _hoisted_1$
|
|
16541
|
-
const _hoisted_2$
|
|
16542
|
-
const _sfc_main$
|
|
16539
|
+
const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-ab0a46bf"]]);
|
|
16540
|
+
const _hoisted_1$B = { class: "relative passwordInput" };
|
|
16541
|
+
const _hoisted_2$q = { class: "m-password position-bottom-end flex column justify-content-center" };
|
|
16542
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
16543
16543
|
__name: "PasswordInput",
|
|
16544
16544
|
props: /* @__PURE__ */ mergeModels({
|
|
16545
16545
|
id: {},
|
|
@@ -16579,7 +16579,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
16579
16579
|
const toggleShowPwdIcon = computed(() => showPwd.value ? "visibility_off" : "visibility");
|
|
16580
16580
|
const inputType = computed(() => showPwd.value ? "text" : "password");
|
|
16581
16581
|
return (_ctx, _cache) => {
|
|
16582
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
16582
|
+
return openBlock(), createElementBlock("div", _hoisted_1$B, [
|
|
16583
16583
|
createVNode(unref(TextInput), mergeProps({
|
|
16584
16584
|
modelValue: password.value,
|
|
16585
16585
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => password.value = $event)
|
|
@@ -16588,7 +16588,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
16588
16588
|
class: "mb-0",
|
|
16589
16589
|
name: props2.name
|
|
16590
16590
|
}), null, 16, ["modelValue", "type", "name"]),
|
|
16591
|
-
createElementVNode("div", _hoisted_2$
|
|
16591
|
+
createElementVNode("div", _hoisted_2$q, [
|
|
16592
16592
|
createVNode(unref(Btn), {
|
|
16593
16593
|
flat: "",
|
|
16594
16594
|
thin: "",
|
|
@@ -16601,8 +16601,8 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
16601
16601
|
};
|
|
16602
16602
|
}
|
|
16603
16603
|
});
|
|
16604
|
-
const _hoisted_1$
|
|
16605
|
-
const _hoisted_2$
|
|
16604
|
+
const _hoisted_1$A = ["for"];
|
|
16605
|
+
const _hoisted_2$p = ["id", "disabled", "name", "value", "required"];
|
|
16606
16606
|
const _hoisted_3$l = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
|
|
16607
16607
|
const _hoisted_4$d = ["src", "alt"];
|
|
16608
16608
|
const _hoisted_5$d = { class: "" };
|
|
@@ -16614,7 +16614,7 @@ const _hoisted_7$8 = {
|
|
|
16614
16614
|
key: 1,
|
|
16615
16615
|
class: "txt-gray txt-12 m-0"
|
|
16616
16616
|
};
|
|
16617
|
-
const _sfc_main$
|
|
16617
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
16618
16618
|
__name: "RadioGroup",
|
|
16619
16619
|
props: /* @__PURE__ */ mergeModels({
|
|
16620
16620
|
id: {},
|
|
@@ -16675,7 +16675,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
16675
16675
|
onFocus: handleFocus,
|
|
16676
16676
|
onBlur: handleBlur,
|
|
16677
16677
|
onChange: handleChange
|
|
16678
|
-
}, null, 40, _hoisted_2$
|
|
16678
|
+
}, null, 40, _hoisted_2$p), [
|
|
16679
16679
|
[vModelRadio, selectedOption.value]
|
|
16680
16680
|
]),
|
|
16681
16681
|
createElementVNode("div", _hoisted_3$l, [
|
|
@@ -16700,19 +16700,19 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
16700
16700
|
icon: "delete",
|
|
16701
16701
|
onClick: ($event) => _ctx.$emit("delete", opt)
|
|
16702
16702
|
}, null, 8, ["onClick"])) : createCommentVNode("", true)
|
|
16703
|
-
], 8, _hoisted_1$
|
|
16703
|
+
], 8, _hoisted_1$A);
|
|
16704
16704
|
}), 128))
|
|
16705
16705
|
], 2);
|
|
16706
16706
|
};
|
|
16707
16707
|
}
|
|
16708
16708
|
});
|
|
16709
|
-
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16710
|
-
const _hoisted_1$
|
|
16711
|
-
const _hoisted_2$
|
|
16709
|
+
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-adc49780"]]);
|
|
16710
|
+
const _hoisted_1$z = { class: "bagel-input" };
|
|
16711
|
+
const _hoisted_2$o = { class: "pb-025" };
|
|
16712
16712
|
const _hoisted_3$k = { class: "flex gap-05 flex-wrap" };
|
|
16713
16713
|
const _hoisted_4$c = ["id", "name", "value", "checked"];
|
|
16714
16714
|
const _hoisted_5$c = ["for"];
|
|
16715
|
-
const _sfc_main$
|
|
16715
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
16716
16716
|
__name: "RadioPillsInput",
|
|
16717
16717
|
props: {
|
|
16718
16718
|
options: {},
|
|
@@ -16755,8 +16755,8 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
16755
16755
|
selectedValue.value = props2.modelValue;
|
|
16756
16756
|
});
|
|
16757
16757
|
return (_ctx, _cache) => {
|
|
16758
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
16759
|
-
createElementVNode("label", _hoisted_2$
|
|
16758
|
+
return openBlock(), createElementBlock("div", _hoisted_1$z, [
|
|
16759
|
+
createElementVNode("label", _hoisted_2$o, toDisplayString(_ctx.label), 1),
|
|
16760
16760
|
createElementVNode("div", _hoisted_3$k, [
|
|
16761
16761
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, (option2, index2) => {
|
|
16762
16762
|
return openBlock(), createElementBlock("div", {
|
|
@@ -16781,9 +16781,9 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
16781
16781
|
};
|
|
16782
16782
|
}
|
|
16783
16783
|
});
|
|
16784
|
-
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16785
|
-
const _hoisted_1$
|
|
16786
|
-
const _hoisted_2$
|
|
16784
|
+
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-68b4cdd0"]]);
|
|
16785
|
+
const _hoisted_1$y = ["dir"];
|
|
16786
|
+
const _hoisted_2$n = {
|
|
16787
16787
|
key: 0,
|
|
16788
16788
|
class: "label"
|
|
16789
16789
|
};
|
|
@@ -16792,7 +16792,7 @@ const _hoisted_4$b = ["id", "value", "min", "max", "step", "required", "disabled
|
|
|
16792
16792
|
const _hoisted_5$b = ["value", "min", "max", "step", "required", "disabled"];
|
|
16793
16793
|
const _hoisted_6$a = { class: "track absolute pointer-events-none overflow-hidden round" };
|
|
16794
16794
|
const _hoisted_7$7 = { class: "txt-center txt-14 user-select-none range-slider-txt flex space-between opacity-4 mx-05" };
|
|
16795
|
-
const _sfc_main$
|
|
16795
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
16796
16796
|
__name: "RangeInput",
|
|
16797
16797
|
props: {
|
|
16798
16798
|
modelValue: {},
|
|
@@ -16856,7 +16856,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
16856
16856
|
return openBlock(), createElementBlock("div", {
|
|
16857
16857
|
dir: _ctx.rtl ? "rtl" : "ltr"
|
|
16858
16858
|
}, [
|
|
16859
|
-
props2.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
16859
|
+
props2.label ? (openBlock(), createElementBlock("label", _hoisted_2$n, toDisplayString(props2.label), 1)) : createCommentVNode("", true),
|
|
16860
16860
|
createElementVNode("div", _hoisted_3$j, [
|
|
16861
16861
|
createElementVNode("input", {
|
|
16862
16862
|
id: _ctx.id,
|
|
@@ -16948,11 +16948,11 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
16948
16948
|
createElementVNode("span", null, toDisplayString(unref(formatValue)(unref(max2))), 1)
|
|
16949
16949
|
], true)
|
|
16950
16950
|
])
|
|
16951
|
-
], 8, _hoisted_1$
|
|
16951
|
+
], 8, _hoisted_1$y);
|
|
16952
16952
|
};
|
|
16953
16953
|
}
|
|
16954
16954
|
});
|
|
16955
|
-
const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16955
|
+
const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-46e22f3e"]]);
|
|
16956
16956
|
const basicToolbarConfig = [
|
|
16957
16957
|
"h2",
|
|
16958
16958
|
"h3",
|
|
@@ -17018,11 +17018,11 @@ const toolbarOptions = [
|
|
|
17018
17018
|
{ name: "separator" },
|
|
17019
17019
|
{ name: "fullScreen", label: "Full Screen", icon: "fullscreen", class: "ms-auto" }
|
|
17020
17020
|
];
|
|
17021
|
-
const _hoisted_1$
|
|
17022
|
-
const _hoisted_2$
|
|
17021
|
+
const _hoisted_1$x = { class: "grid grid-wrap p-05" };
|
|
17022
|
+
const _hoisted_2$m = ["onMousemove", "onClick"];
|
|
17023
17023
|
const _hoisted_3$i = { class: "txt-center txt-12 color-gray" };
|
|
17024
17024
|
const fb = 1;
|
|
17025
|
-
const _sfc_main$
|
|
17025
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
17026
17026
|
__name: "gridBox",
|
|
17027
17027
|
props: {
|
|
17028
17028
|
gridSize: {}
|
|
@@ -17043,7 +17043,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
17043
17043
|
return hoveredCol.value > base - 1 ? enlarge : base;
|
|
17044
17044
|
});
|
|
17045
17045
|
return (_ctx, _cache) => {
|
|
17046
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
17046
|
+
return openBlock(), createElementBlock("div", _hoisted_1$x, [
|
|
17047
17047
|
(openBlock(true), createElementBlock(Fragment, null, renderList(rowSize.value, (row) => {
|
|
17048
17048
|
return openBlock(), createElementBlock("div", {
|
|
17049
17049
|
key: `row-${row}`,
|
|
@@ -17070,7 +17070,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
17070
17070
|
hoveredCol.value = col;
|
|
17071
17071
|
},
|
|
17072
17072
|
onClick: ($event) => emit2("select", `${row}x${col}`)
|
|
17073
|
-
}, null, 42, _hoisted_2$
|
|
17073
|
+
}, null, 42, _hoisted_2$m);
|
|
17074
17074
|
}), 128))
|
|
17075
17075
|
], 32);
|
|
17076
17076
|
}), 128)),
|
|
@@ -17079,12 +17079,12 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
17079
17079
|
};
|
|
17080
17080
|
}
|
|
17081
17081
|
});
|
|
17082
|
-
const GridBox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17083
|
-
const _hoisted_1$
|
|
17082
|
+
const GridBox = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-2f424c9c"]]);
|
|
17083
|
+
const _hoisted_1$w = {
|
|
17084
17084
|
class: "toolbar flex gap-025 pb-05 flex-wrap",
|
|
17085
17085
|
role: "toolbar"
|
|
17086
17086
|
};
|
|
17087
|
-
const _sfc_main$
|
|
17087
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
17088
17088
|
__name: "EditorToolbar",
|
|
17089
17089
|
props: {
|
|
17090
17090
|
config: { default: basicToolbarConfig },
|
|
@@ -17099,10 +17099,10 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
17099
17099
|
}
|
|
17100
17100
|
return (_ctx, _cache) => {
|
|
17101
17101
|
const _directive_tooltip = resolveDirective("tooltip");
|
|
17102
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
17102
|
+
return openBlock(), createElementBlock("div", _hoisted_1$w, [
|
|
17103
17103
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.config.map(configToOption).filter(Boolean), (action, index2) => {
|
|
17104
17104
|
return openBlock(), createElementBlock(Fragment, { key: index2 }, [
|
|
17105
|
-
action.name === "insertTable" ? (openBlock(), createBlock(unref(_sfc_main$
|
|
17105
|
+
action.name === "insertTable" ? (openBlock(), createBlock(unref(_sfc_main$Z), {
|
|
17106
17106
|
key: 0,
|
|
17107
17107
|
placement: "bottom-start",
|
|
17108
17108
|
thin: "",
|
|
@@ -17140,7 +17140,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
17140
17140
|
};
|
|
17141
17141
|
}
|
|
17142
17142
|
});
|
|
17143
|
-
const EditorToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17143
|
+
const EditorToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-7e9466dc"]]);
|
|
17144
17144
|
function isStyleActive(style, doc) {
|
|
17145
17145
|
const selection = doc.getSelection();
|
|
17146
17146
|
if (!selection || !selection.rangeCount) return false;
|
|
@@ -18707,13 +18707,13 @@ function isNodeEmpty(node) {
|
|
|
18707
18707
|
if (brElements.length === 0) return true;
|
|
18708
18708
|
return brElements.length === 1 && node.childNodes.length <= 2;
|
|
18709
18709
|
}
|
|
18710
|
-
const _hoisted_1$
|
|
18711
|
-
const _hoisted_2$
|
|
18710
|
+
const _hoisted_1$v = { class: "bagel-input" };
|
|
18711
|
+
const _hoisted_2$l = { class: "content-area radius-05" };
|
|
18712
18712
|
const _hoisted_3$h = {
|
|
18713
18713
|
key: 1,
|
|
18714
18714
|
class: "flex"
|
|
18715
18715
|
};
|
|
18716
|
-
const _sfc_main$
|
|
18716
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
18717
18717
|
__name: "index",
|
|
18718
18718
|
props: {
|
|
18719
18719
|
modelValue: {},
|
|
@@ -18834,7 +18834,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
18834
18834
|
});
|
|
18835
18835
|
return (_ctx, _cache) => {
|
|
18836
18836
|
var _a, _b;
|
|
18837
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
18837
|
+
return openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
18838
18838
|
createElementVNode("label", null, toDisplayString(_ctx.label), 1),
|
|
18839
18839
|
createElementVNode("div", {
|
|
18840
18840
|
class: normalizeClass(["rich-text-editor rounded pt-05 px-05 pb-075", { "fullscreen-mode": unref(editor).state.isFullscreen }])
|
|
@@ -18848,7 +18848,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
18848
18848
|
createElementVNode("div", {
|
|
18849
18849
|
class: normalizeClass(["editor-container", { "split-view": unref(editor).state.isSplitView }])
|
|
18850
18850
|
}, [
|
|
18851
|
-
createElementVNode("div", _hoisted_2$
|
|
18851
|
+
createElementVNode("div", _hoisted_2$l, [
|
|
18852
18852
|
createElementVNode("iframe", {
|
|
18853
18853
|
id: "rich-text-iframe",
|
|
18854
18854
|
ref_key: "iframe",
|
|
@@ -18915,9 +18915,9 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
18915
18915
|
};
|
|
18916
18916
|
}
|
|
18917
18917
|
});
|
|
18918
|
-
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18919
|
-
const _hoisted_1$
|
|
18920
|
-
const _hoisted_2$
|
|
18918
|
+
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-d643f2ae"]]);
|
|
18919
|
+
const _hoisted_1$u = { key: 0 };
|
|
18920
|
+
const _hoisted_2$k = { class: "flex gap-05" };
|
|
18921
18921
|
const _hoisted_3$g = ["disabled"];
|
|
18922
18922
|
const _hoisted_4$a = { key: 1 };
|
|
18923
18923
|
const _hoisted_5$a = {
|
|
@@ -18927,7 +18927,7 @@ const _hoisted_5$a = {
|
|
|
18927
18927
|
const _hoisted_6$9 = ["value"];
|
|
18928
18928
|
const _hoisted_7$6 = ["aria-selected", "onClick", "onKeydown"];
|
|
18929
18929
|
const _hoisted_8$5 = { class: "block" };
|
|
18930
|
-
const _sfc_main$
|
|
18930
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
18931
18931
|
__name: "SelectInput",
|
|
18932
18932
|
props: {
|
|
18933
18933
|
options: {},
|
|
@@ -19087,7 +19087,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
19087
19087
|
}
|
|
19088
19088
|
});
|
|
19089
19089
|
return (_ctx, _cache) => {
|
|
19090
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
19090
|
+
return openBlock(), createBlock(unref(_sfc_main$Z), {
|
|
19091
19091
|
ref_key: "dropdown",
|
|
19092
19092
|
ref: dropdown,
|
|
19093
19093
|
shown: unref(open),
|
|
@@ -19101,8 +19101,8 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
19101
19101
|
trigger: withCtx(() => [
|
|
19102
19102
|
createElementVNode("label", null, [
|
|
19103
19103
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
19104
|
-
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
19105
|
-
createElementVNode("div", _hoisted_2$
|
|
19104
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_1$u, "*")) : createCommentVNode("", true),
|
|
19105
|
+
createElementVNode("div", _hoisted_2$k, [
|
|
19106
19106
|
_ctx.searchable && unref(open) ? (openBlock(), createBlock(unref(TextInput), {
|
|
19107
19107
|
key: 0,
|
|
19108
19108
|
ref_key: "searchInput",
|
|
@@ -19128,7 +19128,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
19128
19128
|
_cache[6] || (_cache[6] = withKeys(withModifiers(($event) => navigate("up"), ["prevent"]), ["up"]))
|
|
19129
19129
|
]
|
|
19130
19130
|
}, [
|
|
19131
|
-
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$
|
|
19131
|
+
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$u), {
|
|
19132
19132
|
key: 0,
|
|
19133
19133
|
icon: _ctx.icon
|
|
19134
19134
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
@@ -19145,7 +19145,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
19145
19145
|
})
|
|
19146
19146
|
})
|
|
19147
19147
|
])) : createCommentVNode("", true),
|
|
19148
|
-
!_ctx.disabled ? (openBlock(), createBlock(unref(_sfc_main$
|
|
19148
|
+
!_ctx.disabled ? (openBlock(), createBlock(unref(_sfc_main$u), mergeProps({
|
|
19149
19149
|
key: 3,
|
|
19150
19150
|
thin: ""
|
|
19151
19151
|
}, { icon: unref(open) ? "unfold_less" : "unfold_more" }), null, 16)) : createCommentVNode("", true)
|
|
@@ -19168,7 +19168,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
19168
19168
|
height: "25px",
|
|
19169
19169
|
class: "mx-1 my-1"
|
|
19170
19170
|
})) : createCommentVNode("", true),
|
|
19171
|
-
createVNode(unref(_sfc_main$
|
|
19171
|
+
createVNode(unref(_sfc_main$13), {
|
|
19172
19172
|
class: "p-05",
|
|
19173
19173
|
style: normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" }),
|
|
19174
19174
|
onClick: _cache[9] || (_cache[9] = withModifiers(() => {
|
|
@@ -19195,12 +19195,12 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
19195
19195
|
]
|
|
19196
19196
|
}, [
|
|
19197
19197
|
_ctx.multiselect ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
19198
|
-
isSelected(option2) ? (openBlock(), createBlock(unref(_sfc_main$
|
|
19198
|
+
isSelected(option2) ? (openBlock(), createBlock(unref(_sfc_main$u), {
|
|
19199
19199
|
key: 0,
|
|
19200
19200
|
size: 1.1,
|
|
19201
19201
|
icon: "select_check_box"
|
|
19202
19202
|
})) : createCommentVNode("", true),
|
|
19203
|
-
!isSelected(option2) ? (openBlock(), createBlock(unref(_sfc_main$
|
|
19203
|
+
!isSelected(option2) ? (openBlock(), createBlock(unref(_sfc_main$u), {
|
|
19204
19204
|
key: 1,
|
|
19205
19205
|
class: "opacity-3",
|
|
19206
19206
|
icon: "check_box_outline_blank",
|
|
@@ -19221,7 +19221,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
19221
19221
|
};
|
|
19222
19222
|
}
|
|
19223
19223
|
});
|
|
19224
|
-
const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19224
|
+
const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-c16650b4"]]);
|
|
19225
19225
|
/*!
|
|
19226
19226
|
* Signature Pad v5.0.7 | https://github.com/szimek/signature_pad
|
|
19227
19227
|
* (c) 2025 Szymon Nowak | Released under the MIT license
|
|
@@ -19818,15 +19818,15 @@ class SignaturePad extends SignatureEventTarget {
|
|
|
19818
19818
|
return svg.outerHTML;
|
|
19819
19819
|
}
|
|
19820
19820
|
}
|
|
19821
|
-
const _hoisted_1$
|
|
19822
|
-
const _hoisted_2$
|
|
19821
|
+
const _hoisted_1$t = ["disabled"];
|
|
19822
|
+
const _hoisted_2$j = {
|
|
19823
19823
|
key: 1,
|
|
19824
19824
|
placeholder: "required",
|
|
19825
19825
|
type: "text",
|
|
19826
19826
|
required: "",
|
|
19827
19827
|
class: "pixel opacity-0"
|
|
19828
19828
|
};
|
|
19829
|
-
const _sfc_main$
|
|
19829
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
19830
19830
|
__name: "SignaturePad",
|
|
19831
19831
|
props: /* @__PURE__ */ mergeModels({
|
|
19832
19832
|
sigOption: {},
|
|
@@ -20022,8 +20022,8 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
20022
20022
|
ref: vCanvas,
|
|
20023
20023
|
class: "canvas",
|
|
20024
20024
|
disabled: _ctx.disabled
|
|
20025
|
-
}, null, 8, _hoisted_1$
|
|
20026
|
-
_ctx.required && unref(_isEmpty) ? (openBlock(), createElementBlock("input", _hoisted_2$
|
|
20025
|
+
}, null, 8, _hoisted_1$t),
|
|
20026
|
+
_ctx.required && unref(_isEmpty) ? (openBlock(), createElementBlock("input", _hoisted_2$j)) : createCommentVNode("", true)
|
|
20027
20027
|
], 34);
|
|
20028
20028
|
};
|
|
20029
20029
|
}
|
|
@@ -22507,13 +22507,13 @@ const VueDraggableNext = defineComponent({
|
|
|
22507
22507
|
}
|
|
22508
22508
|
}
|
|
22509
22509
|
});
|
|
22510
|
-
const _hoisted_1$
|
|
22511
|
-
const _hoisted_2$
|
|
22510
|
+
const _hoisted_1$s = ["title"];
|
|
22511
|
+
const _hoisted_2$i = { class: "bagel-input" };
|
|
22512
22512
|
const _hoisted_3$f = { class: "table-side-scroll" };
|
|
22513
22513
|
const _hoisted_4$9 = { class: "table-header" };
|
|
22514
22514
|
const _hoisted_5$9 = { class: "table-reorder" };
|
|
22515
22515
|
const _hoisted_6$8 = { class: "table-action" };
|
|
22516
|
-
const _sfc_main$
|
|
22516
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
22517
22517
|
__name: "TableField",
|
|
22518
22518
|
props: {
|
|
22519
22519
|
description: { default: "" },
|
|
@@ -22578,7 +22578,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
22578
22578
|
class: "table-field-wrap",
|
|
22579
22579
|
title: _ctx.description
|
|
22580
22580
|
}, [
|
|
22581
|
-
createElementVNode("div", _hoisted_2$
|
|
22581
|
+
createElementVNode("div", _hoisted_2$i, [
|
|
22582
22582
|
createElementVNode("label", null, toDisplayString((_a = unref(fieldMeta)) == null ? void 0 : _a.label), 1)
|
|
22583
22583
|
]),
|
|
22584
22584
|
createElementVNode("div", _hoisted_3$f, [
|
|
@@ -22610,7 +22610,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
22610
22610
|
class: "flex table-row"
|
|
22611
22611
|
}, [
|
|
22612
22612
|
createElementVNode("div", _hoisted_5$9, [
|
|
22613
|
-
createVNode(unref(_sfc_main$
|
|
22613
|
+
createVNode(unref(_sfc_main$u), { icon: "more_vert" })
|
|
22614
22614
|
]),
|
|
22615
22615
|
(openBlock(true), createElementBlock(Fragment, null, renderList((_a2 = unref(entityMeta)) == null ? void 0 : _a2.fields, (field) => {
|
|
22616
22616
|
return openBlock(), createElementBlock("div", {
|
|
@@ -22627,7 +22627,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
22627
22627
|
], 2);
|
|
22628
22628
|
}), 128)),
|
|
22629
22629
|
createElementVNode("div", _hoisted_6$8, [
|
|
22630
|
-
createVNode(unref(_sfc_main$
|
|
22630
|
+
createVNode(unref(_sfc_main$u), {
|
|
22631
22631
|
icon: "delete",
|
|
22632
22632
|
onClick: ($event) => removeRow(index2)
|
|
22633
22633
|
}, null, 8, ["onClick"])
|
|
@@ -22653,11 +22653,11 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
22653
22653
|
])),
|
|
22654
22654
|
_: 1
|
|
22655
22655
|
})
|
|
22656
|
-
], 8, _hoisted_1$
|
|
22656
|
+
], 8, _hoisted_1$s);
|
|
22657
22657
|
};
|
|
22658
22658
|
}
|
|
22659
22659
|
});
|
|
22660
|
-
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
22660
|
+
const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-e9632f79"]]);
|
|
22661
22661
|
function bind(fn, thisArg) {
|
|
22662
22662
|
return function wrap() {
|
|
22663
22663
|
return fn.apply(thisArg, arguments);
|
|
@@ -27131,8 +27131,8 @@ function parsePhoneNumber$1() {
|
|
|
27131
27131
|
function parsePhoneNumber() {
|
|
27132
27132
|
return withMetadataArgument(parsePhoneNumber$1, arguments);
|
|
27133
27133
|
}
|
|
27134
|
-
const _hoisted_1$
|
|
27135
|
-
const _hoisted_2$
|
|
27134
|
+
const _hoisted_1$r = { key: 0 };
|
|
27135
|
+
const _hoisted_2$h = ["aria-expanded"];
|
|
27136
27136
|
const _hoisted_3$e = { class: "flex gap-05 country-code-display" };
|
|
27137
27137
|
const _hoisted_4$8 = { class: "p-075 tel-countryp-dropdown" };
|
|
27138
27138
|
const _hoisted_5$8 = {
|
|
@@ -27142,7 +27142,7 @@ const _hoisted_5$8 = {
|
|
|
27142
27142
|
const _hoisted_6$7 = ["aria-selected", "onClick"];
|
|
27143
27143
|
const _hoisted_7$5 = { class: "tel-country" };
|
|
27144
27144
|
const _hoisted_8$4 = ["id", "required", "placeholder", "disabled", "name"];
|
|
27145
|
-
const _sfc_main$
|
|
27145
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
27146
27146
|
__name: "TelInput",
|
|
27147
27147
|
props: {
|
|
27148
27148
|
id: {},
|
|
@@ -27312,7 +27312,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
27312
27312
|
}, [
|
|
27313
27313
|
createElementVNode("label", null, [
|
|
27314
27314
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
27315
|
-
_ctx.required && _ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
27315
|
+
_ctx.required && _ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$r, "*")) : createCommentVNode("", true),
|
|
27316
27316
|
createElementVNode("div", {
|
|
27317
27317
|
dir: "ltr",
|
|
27318
27318
|
class: "flex gap-05 tel-input",
|
|
@@ -27321,7 +27321,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
27321
27321
|
"aria-haspopup": "listbox",
|
|
27322
27322
|
"aria-expanded": unref(open)
|
|
27323
27323
|
}, [
|
|
27324
|
-
createVNode(unref(_sfc_main$
|
|
27324
|
+
createVNode(unref(_sfc_main$Z), {
|
|
27325
27325
|
shown: unref(open),
|
|
27326
27326
|
"onUpdate:shown": _cache[1] || (_cache[1] = ($event) => isRef(open) ? open.value = $event : open = $event),
|
|
27327
27327
|
placement: "bottom-start",
|
|
@@ -27330,7 +27330,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
27330
27330
|
}, {
|
|
27331
27331
|
trigger: withCtx(() => [
|
|
27332
27332
|
createElementVNode("span", _hoisted_3$e, [
|
|
27333
|
-
!disableDropdown.value ? (openBlock(), createBlock(unref(_sfc_main$
|
|
27333
|
+
!disableDropdown.value ? (openBlock(), createBlock(unref(_sfc_main$u), {
|
|
27334
27334
|
key: 0,
|
|
27335
27335
|
icon: unref(open) ? "collapse_all" : "expand_all"
|
|
27336
27336
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
@@ -27401,15 +27401,15 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
27401
27401
|
{ tel: true }
|
|
27402
27402
|
]
|
|
27403
27403
|
])
|
|
27404
|
-
], 8, _hoisted_2$
|
|
27404
|
+
], 8, _hoisted_2$h)
|
|
27405
27405
|
])
|
|
27406
27406
|
], 2);
|
|
27407
27407
|
};
|
|
27408
27408
|
}
|
|
27409
27409
|
});
|
|
27410
|
-
const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27411
|
-
const _hoisted_1$
|
|
27412
|
-
const _hoisted_2$
|
|
27410
|
+
const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-24f599bf"]]);
|
|
27411
|
+
const _hoisted_1$q = ["title"];
|
|
27412
|
+
const _hoisted_2$g = ["for"];
|
|
27413
27413
|
const _hoisted_3$d = { key: 0 };
|
|
27414
27414
|
const _hoisted_4$7 = ["id", "name", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
|
|
27415
27415
|
const _hoisted_5$7 = ["id", "name", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
|
|
@@ -27417,7 +27417,7 @@ const _hoisted_6$6 = {
|
|
|
27417
27417
|
key: 3,
|
|
27418
27418
|
class: "opacity-7 light"
|
|
27419
27419
|
};
|
|
27420
|
-
const _sfc_main$
|
|
27420
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
27421
27421
|
__name: "TextInput",
|
|
27422
27422
|
props: {
|
|
27423
27423
|
id: {},
|
|
@@ -27560,25 +27560,25 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
27560
27560
|
[vModelText, unref(inputVal)]
|
|
27561
27561
|
]),
|
|
27562
27562
|
_ctx.helptext ? (openBlock(), createElementBlock("p", _hoisted_6$6, toDisplayString(_ctx.helptext), 1)) : createCommentVNode("", true),
|
|
27563
|
-
_ctx.iconStart ? (openBlock(), createBlock(unref(_sfc_main$
|
|
27563
|
+
_ctx.iconStart ? (openBlock(), createBlock(unref(_sfc_main$u), {
|
|
27564
27564
|
key: 4,
|
|
27565
27565
|
class: "iconStart",
|
|
27566
27566
|
icon: _ctx.iconStart
|
|
27567
27567
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
27568
|
-
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$
|
|
27568
|
+
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$u), {
|
|
27569
27569
|
key: 5,
|
|
27570
27570
|
icon: _ctx.icon
|
|
27571
27571
|
}, null, 8, ["icon"])) : createCommentVNode("", true)
|
|
27572
|
-
], 8, _hoisted_2$
|
|
27573
|
-
], 10, _hoisted_1$
|
|
27572
|
+
], 8, _hoisted_2$g)
|
|
27573
|
+
], 10, _hoisted_1$q);
|
|
27574
27574
|
};
|
|
27575
27575
|
}
|
|
27576
27576
|
});
|
|
27577
|
-
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27578
|
-
const _hoisted_1$
|
|
27579
|
-
const _hoisted_2$
|
|
27577
|
+
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-84ff4b81"]]);
|
|
27578
|
+
const _hoisted_1$p = ["title"];
|
|
27579
|
+
const _hoisted_2$f = ["id", "required"];
|
|
27580
27580
|
const _hoisted_3$c = ["for"];
|
|
27581
|
-
const _sfc_main$
|
|
27581
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
27582
27582
|
__name: "ToggleInput",
|
|
27583
27583
|
props: /* @__PURE__ */ mergeModels({
|
|
27584
27584
|
label: {},
|
|
@@ -27614,7 +27614,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
27614
27614
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => checked.value = $event),
|
|
27615
27615
|
type: "checkbox",
|
|
27616
27616
|
required: _ctx.required
|
|
27617
|
-
}, null, 8, _hoisted_2$
|
|
27617
|
+
}, null, 8, _hoisted_2$f), [
|
|
27618
27618
|
[vModelCheckbox, checked.value]
|
|
27619
27619
|
]),
|
|
27620
27620
|
createElementVNode("label", { for: inputId.value }, [
|
|
@@ -27622,11 +27622,11 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
27622
27622
|
createTextVNode(toDisplayString(_ctx.label), 1)
|
|
27623
27623
|
], true)
|
|
27624
27624
|
], 8, _hoisted_3$c)
|
|
27625
|
-
], 10, _hoisted_1$
|
|
27625
|
+
], 10, _hoisted_1$p);
|
|
27626
27626
|
};
|
|
27627
27627
|
}
|
|
27628
27628
|
});
|
|
27629
|
-
const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
27629
|
+
const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-c5e45931"]]);
|
|
27630
27630
|
const files = {
|
|
27631
27631
|
setBaseUrl: (baseUrl) => {
|
|
27632
27632
|
if (!baseUrl) return;
|
|
@@ -27655,8 +27655,110 @@ const files = {
|
|
|
27655
27655
|
return axios$1.get("/files_v2/list", { params: { dir_path: dirPath } });
|
|
27656
27656
|
}
|
|
27657
27657
|
};
|
|
27658
|
-
|
|
27659
|
-
|
|
27658
|
+
function useFileUpload(props2 = {}) {
|
|
27659
|
+
files.setBaseUrl(useBagel().host);
|
|
27660
|
+
const fileQueue = ref([]);
|
|
27661
|
+
const storageFiles = ref([]);
|
|
27662
|
+
const pk = ref([]);
|
|
27663
|
+
const pathKeys = computed(() => {
|
|
27664
|
+
const storagePathKeys = storageFiles.value.map((file) => file.path_key);
|
|
27665
|
+
return [...pk.value, ...storagePathKeys];
|
|
27666
|
+
});
|
|
27667
|
+
const fileToUrl = (file) => URL.createObjectURL(file);
|
|
27668
|
+
const addFile = (file) => {
|
|
27669
|
+
if (!file) return;
|
|
27670
|
+
let filesToAdd = [];
|
|
27671
|
+
if (file instanceof File) {
|
|
27672
|
+
filesToAdd = [file];
|
|
27673
|
+
} else if (file instanceof FileList) {
|
|
27674
|
+
filesToAdd = Array.from(file);
|
|
27675
|
+
} else if (Array.isArray(file)) {
|
|
27676
|
+
filesToAdd = file;
|
|
27677
|
+
}
|
|
27678
|
+
const newQueueFiles = filesToAdd.map((f2) => ({
|
|
27679
|
+
name: f2.name,
|
|
27680
|
+
file: f2,
|
|
27681
|
+
progress: 0
|
|
27682
|
+
}));
|
|
27683
|
+
fileQueue.value.push(...newQueueFiles);
|
|
27684
|
+
};
|
|
27685
|
+
const removeFile = async (pathKeyOrFile) => {
|
|
27686
|
+
if (typeof pathKeyOrFile === "string") {
|
|
27687
|
+
storageFiles.value = storageFiles.value.filter((file) => file.path_key !== pathKeyOrFile);
|
|
27688
|
+
const pathKeyIndex = pk.value.indexOf(pathKeyOrFile);
|
|
27689
|
+
if (pathKeyIndex !== -1) {
|
|
27690
|
+
pk.value.splice(pathKeyIndex, 1);
|
|
27691
|
+
}
|
|
27692
|
+
try {
|
|
27693
|
+
await files.delete(pathKeyOrFile);
|
|
27694
|
+
} catch (error) {
|
|
27695
|
+
console.error("Error deleting file:", error);
|
|
27696
|
+
}
|
|
27697
|
+
} else if (pathKeyOrFile) {
|
|
27698
|
+
const index2 = fileQueue.value.findIndex(({ file }) => file.name === pathKeyOrFile.name);
|
|
27699
|
+
if (index2 !== -1) {
|
|
27700
|
+
fileQueue.value.splice(index2, 1);
|
|
27701
|
+
}
|
|
27702
|
+
}
|
|
27703
|
+
};
|
|
27704
|
+
const flushQueue = async () => {
|
|
27705
|
+
for (const file of fileQueue.value) {
|
|
27706
|
+
file.uploading = true;
|
|
27707
|
+
if (!props2.multiple) {
|
|
27708
|
+
pk.value.splice(0, 1);
|
|
27709
|
+
}
|
|
27710
|
+
try {
|
|
27711
|
+
const { data: data2 } = await files.upload(file.file, {
|
|
27712
|
+
onUploadProgress: (e) => {
|
|
27713
|
+
file.progress = e.loaded / e.total * 100 - 1;
|
|
27714
|
+
},
|
|
27715
|
+
dirPath: props2.dirPath
|
|
27716
|
+
});
|
|
27717
|
+
pk.value.push(data2.path_key);
|
|
27718
|
+
} catch (error) {
|
|
27719
|
+
console.error("Error uploading file:", error);
|
|
27720
|
+
}
|
|
27721
|
+
}
|
|
27722
|
+
fileQueue.value = [];
|
|
27723
|
+
};
|
|
27724
|
+
const browse = (upload = false) => {
|
|
27725
|
+
if (props2.disabled) return;
|
|
27726
|
+
const input = document.createElement("input");
|
|
27727
|
+
input.type = "file";
|
|
27728
|
+
input.multiple = !!props2.multiple;
|
|
27729
|
+
input.accept = props2.accept || "";
|
|
27730
|
+
input.onchange = (e) => {
|
|
27731
|
+
addFile(e.target.files);
|
|
27732
|
+
if (upload) {
|
|
27733
|
+
flushQueue();
|
|
27734
|
+
}
|
|
27735
|
+
};
|
|
27736
|
+
input.click();
|
|
27737
|
+
};
|
|
27738
|
+
onMounted(() => {
|
|
27739
|
+
if (props2.dirPath) {
|
|
27740
|
+
files.list(props2.dirPath).then((response) => {
|
|
27741
|
+
const responseData = Array.isArray(response.data) ? response.data : [response.data];
|
|
27742
|
+
storageFiles.value.push(...responseData);
|
|
27743
|
+
}).catch((error) => {
|
|
27744
|
+
console.error("Error loading files:", error);
|
|
27745
|
+
});
|
|
27746
|
+
}
|
|
27747
|
+
});
|
|
27748
|
+
return {
|
|
27749
|
+
fileQueue,
|
|
27750
|
+
storageFiles,
|
|
27751
|
+
pk,
|
|
27752
|
+
pathKeys,
|
|
27753
|
+
fileToUrl,
|
|
27754
|
+
removeFile,
|
|
27755
|
+
flushQueue,
|
|
27756
|
+
addFile,
|
|
27757
|
+
browse
|
|
27758
|
+
};
|
|
27759
|
+
}
|
|
27760
|
+
const _hoisted_1$o = { class: "bagel-input" };
|
|
27761
|
+
const _hoisted_2$e = { key: 0 };
|
|
27660
27762
|
const _hoisted_3$b = {
|
|
27661
27763
|
key: 1,
|
|
27662
27764
|
placeholder: "required",
|
|
@@ -27685,8 +27787,8 @@ const _hoisted_12$2 = {
|
|
|
27685
27787
|
key: 1,
|
|
27686
27788
|
class: "bgl-single-preview"
|
|
27687
27789
|
};
|
|
27688
|
-
const _hoisted_13 = { class: "position-start m-05 flex opacity-7 z-99 gap-025" };
|
|
27689
|
-
const _hoisted_14 = {
|
|
27790
|
+
const _hoisted_13$1 = { class: "position-start m-05 flex opacity-7 z-99 gap-025" };
|
|
27791
|
+
const _hoisted_14$1 = {
|
|
27690
27792
|
key: 0,
|
|
27691
27793
|
class: "h-100"
|
|
27692
27794
|
};
|
|
@@ -27696,7 +27798,7 @@ const _hoisted_15 = {
|
|
|
27696
27798
|
};
|
|
27697
27799
|
const _hoisted_16 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
|
|
27698
27800
|
const _hoisted_17 = { class: "pretty balance" };
|
|
27699
|
-
const _sfc_main$
|
|
27801
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
27700
27802
|
__name: "UploadInput",
|
|
27701
27803
|
props: {
|
|
27702
27804
|
label: {},
|
|
@@ -27720,111 +27822,61 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
27720
27822
|
setup(__props, { emit: __emit }) {
|
|
27721
27823
|
const props2 = __props;
|
|
27722
27824
|
const emit2 = __emit;
|
|
27723
|
-
const
|
|
27724
|
-
|
|
27725
|
-
|
|
27726
|
-
|
|
27727
|
-
|
|
27728
|
-
|
|
27729
|
-
|
|
27730
|
-
|
|
27731
|
-
}
|
|
27732
|
-
|
|
27733
|
-
|
|
27734
|
-
|
|
27735
|
-
|
|
27825
|
+
const {
|
|
27826
|
+
fileQueue,
|
|
27827
|
+
pathKeys,
|
|
27828
|
+
removeFile,
|
|
27829
|
+
flushQueue,
|
|
27830
|
+
fileToUrl,
|
|
27831
|
+
addFile,
|
|
27832
|
+
browse
|
|
27833
|
+
} = useFileUpload({
|
|
27834
|
+
disabled: props2.disabled,
|
|
27835
|
+
dirPath: props2.dirPath,
|
|
27836
|
+
multiple: props2.multiple,
|
|
27837
|
+
accept: props2.accept
|
|
27838
|
+
});
|
|
27736
27839
|
const isImage = (str) => IMAGE_FORMATS_REGEXP.test(str);
|
|
27737
|
-
const fileToUrl = (file) => URL.createObjectURL(file);
|
|
27738
27840
|
let isDragOver = ref(false);
|
|
27739
|
-
async function removeFile(path_key) {
|
|
27740
|
-
storageFiles.value = storageFiles.value.filter((file) => file.path_key !== path_key);
|
|
27741
|
-
const pki = pk.value.indexOf(path_key);
|
|
27742
|
-
if (pki !== -1) pk.value.splice(pki, 1);
|
|
27743
|
-
try {
|
|
27744
|
-
await files.delete(path_key);
|
|
27745
|
-
} catch (error) {
|
|
27746
|
-
console.error(error);
|
|
27747
|
-
}
|
|
27748
|
-
}
|
|
27749
|
-
async function flushQueue() {
|
|
27750
|
-
emit2("addFileStart");
|
|
27751
|
-
for (const file of fileQueue.value) {
|
|
27752
|
-
file.uploading = true;
|
|
27753
|
-
if (!props2.multiple) pk.value.splice(0, 1);
|
|
27754
|
-
try {
|
|
27755
|
-
const { data: data2 } = await files.upload(file.file, {
|
|
27756
|
-
onUploadProgress: (e) => {
|
|
27757
|
-
file.progress = e.loaded / e.total * 100 - 1;
|
|
27758
|
-
},
|
|
27759
|
-
dirPath: props2.dirPath
|
|
27760
|
-
});
|
|
27761
|
-
pk.value.push(data2.path_key);
|
|
27762
|
-
} catch (error) {
|
|
27763
|
-
console.error("error flushing queue", error);
|
|
27764
|
-
}
|
|
27765
|
-
}
|
|
27766
|
-
fileQueue.value.splice(0, fileQueue.value.length);
|
|
27767
|
-
}
|
|
27768
|
-
function browse() {
|
|
27769
|
-
if (props2.disabled) return;
|
|
27770
|
-
const input = document.createElement("input");
|
|
27771
|
-
input.type = "file";
|
|
27772
|
-
input.multiple = props2.multiple;
|
|
27773
|
-
input.accept = props2.accept;
|
|
27774
|
-
input.onchange = (e) => {
|
|
27775
|
-
const files2 = Array.from(e.target.files || []);
|
|
27776
|
-
fileQueue.value.push(...files2.map((file) => ({ name: file.name, file, progress: 0 })));
|
|
27777
|
-
flushQueue();
|
|
27778
|
-
};
|
|
27779
|
-
input.click();
|
|
27780
|
-
}
|
|
27781
27841
|
function handleDrag(e, isDragging = false) {
|
|
27782
27842
|
e.preventDefault();
|
|
27783
27843
|
e.stopPropagation();
|
|
27784
27844
|
if (!props2.disabled) isDragOver.value = isDragging;
|
|
27785
27845
|
}
|
|
27786
|
-
function handleDrop(e) {
|
|
27846
|
+
async function handleDrop(e) {
|
|
27787
27847
|
var _a;
|
|
27788
27848
|
if (props2.disabled) return;
|
|
27789
27849
|
e.preventDefault();
|
|
27790
27850
|
e.stopPropagation();
|
|
27791
|
-
|
|
27792
|
-
|
|
27793
|
-
|
|
27794
|
-
|
|
27851
|
+
emit2("addFileStart");
|
|
27852
|
+
addFile((_a = e.dataTransfer) == null ? void 0 : _a.files);
|
|
27853
|
+
await flushQueue();
|
|
27854
|
+
emit2("update:modelValue", pathKeys.value);
|
|
27795
27855
|
isDragOver.value = false;
|
|
27796
27856
|
}
|
|
27797
|
-
if (props2.dirPath) {
|
|
27798
|
-
files.list(props2.dirPath).then((response) => storageFiles.value.push(...[response.data].flat())).catch(console.error);
|
|
27799
|
-
}
|
|
27800
|
-
watch(() => props2.dirPath, () => {
|
|
27801
|
-
if (props2.dirPath) {
|
|
27802
|
-
files.list(props2.dirPath).then((response) => storageFiles.value.push(...[response.data].flat())).catch(console.error);
|
|
27803
|
-
}
|
|
27804
|
-
});
|
|
27805
27857
|
return (_ctx, _cache) => {
|
|
27806
27858
|
const _directive_tooltip = resolveDirective("tooltip");
|
|
27807
27859
|
const _directive_lightbox = resolveDirective("lightbox");
|
|
27808
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
27809
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
27810
|
-
_ctx.required && !pathKeys.
|
|
27811
|
-
_ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main$
|
|
27860
|
+
return openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
27861
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$e, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
|
|
27862
|
+
_ctx.required && !unref(pathKeys).length ? (openBlock(), createElementBlock("input", _hoisted_3$b)) : createCommentVNode("", true),
|
|
27863
|
+
_ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main$13), {
|
|
27812
27864
|
key: 2,
|
|
27813
27865
|
outline: "",
|
|
27814
27866
|
class: "flex p-05 gap-1",
|
|
27815
|
-
onDragover: _cache[
|
|
27867
|
+
onDragover: _cache[2] || (_cache[2] = (e) => handleDrag(e, true)),
|
|
27816
27868
|
onDrop: handleDrop
|
|
27817
27869
|
}, {
|
|
27818
27870
|
default: withCtx(() => [
|
|
27819
|
-
!pathKeys.
|
|
27871
|
+
!unref(pathKeys).length && !unref(fileQueue).length ? (openBlock(), createBlock(unref(Btn), {
|
|
27820
27872
|
key: 0,
|
|
27821
27873
|
class: "px-1-5",
|
|
27822
27874
|
icon: "upload",
|
|
27823
27875
|
outline: "",
|
|
27824
27876
|
value: _ctx.btnPlaceholder || "Upload",
|
|
27825
|
-
onClick: browse
|
|
27877
|
+
onClick: _cache[0] || (_cache[0] = ($event) => unref(browse)(true))
|
|
27826
27878
|
}, null, 8, ["value"])) : createCommentVNode("", true),
|
|
27827
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(pathKeys
|
|
27879
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(pathKeys), (path_key) => {
|
|
27828
27880
|
return openBlock(), createElementBlock("div", {
|
|
27829
27881
|
key: path_key,
|
|
27830
27882
|
class: "txt-gray txt-12 flex"
|
|
@@ -27834,7 +27886,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
27834
27886
|
color: "gray",
|
|
27835
27887
|
thin: "",
|
|
27836
27888
|
icon: "delete",
|
|
27837
|
-
onClick: ($event) => removeFile(path_key)
|
|
27889
|
+
onClick: ($event) => unref(removeFile)(path_key)
|
|
27838
27890
|
}, null, 8, ["onClick"]), [
|
|
27839
27891
|
[_directive_tooltip, "Delete"]
|
|
27840
27892
|
]),
|
|
@@ -27842,7 +27894,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
27842
27894
|
color: "gray",
|
|
27843
27895
|
thin: "",
|
|
27844
27896
|
icon: "autorenew",
|
|
27845
|
-
onClick: browse
|
|
27897
|
+
onClick: _cache[1] || (_cache[1] = ($event) => unref(browse)(true))
|
|
27846
27898
|
}, null, 512), [
|
|
27847
27899
|
[_directive_tooltip, "Replace"]
|
|
27848
27900
|
]),
|
|
@@ -27854,7 +27906,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
27854
27906
|
download: path_key.split("/").pop()
|
|
27855
27907
|
}, null, 8, ["href", "download"]),
|
|
27856
27908
|
createElementVNode("div", _hoisted_5$6, [
|
|
27857
|
-
createVNode(unref(_sfc_main$
|
|
27909
|
+
createVNode(unref(_sfc_main$u), {
|
|
27858
27910
|
icon: "draft",
|
|
27859
27911
|
size: 1.5
|
|
27860
27912
|
}),
|
|
@@ -27867,28 +27919,28 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
27867
27919
|
])
|
|
27868
27920
|
]);
|
|
27869
27921
|
}), 128)),
|
|
27870
|
-
!pathKeys.
|
|
27922
|
+
!unref(pathKeys).length && !unref(fileQueue).length ? (openBlock(), createElementBlock("span", _hoisted_7$4, toDisplayString(_ctx.noFilePlaceholder || "No file selected"), 1)) : createCommentVNode("", true)
|
|
27871
27923
|
]),
|
|
27872
27924
|
_: 1
|
|
27873
27925
|
})) : (openBlock(), createElementBlock("div", {
|
|
27874
27926
|
key: 3,
|
|
27875
27927
|
class: normalizeClass(["fileUploadWrap", {
|
|
27876
|
-
"fileDropZone": !pathKeys.
|
|
27928
|
+
"fileDropZone": !unref(pathKeys).length && !unref(fileQueue).length,
|
|
27877
27929
|
"dragover": unref(isDragOver),
|
|
27878
27930
|
"bgl_oval-upload": _ctx.oval
|
|
27879
27931
|
}]),
|
|
27880
27932
|
style: normalizeStyle({ width: _ctx.width, height: _ctx.height }),
|
|
27881
|
-
onClick: browse,
|
|
27882
|
-
onDragover: _cache[
|
|
27933
|
+
onClick: _cache[4] || (_cache[4] = ($event) => unref(browse)(true)),
|
|
27934
|
+
onDragover: _cache[5] || (_cache[5] = (e) => handleDrag(e, true)),
|
|
27883
27935
|
onDrop: handleDrop,
|
|
27884
|
-
onDragleave: _cache[
|
|
27936
|
+
onDragleave: _cache[6] || (_cache[6] = (e) => handleDrag(e))
|
|
27885
27937
|
}, [
|
|
27886
27938
|
renderSlot(_ctx.$slots, "files", {
|
|
27887
|
-
files: pathKeys
|
|
27888
|
-
fileQueue: fileQueue
|
|
27939
|
+
files: unref(pathKeys),
|
|
27940
|
+
fileQueue: unref(fileQueue)
|
|
27889
27941
|
}, () => [
|
|
27890
27942
|
_ctx.multiple ? (openBlock(), createElementBlock("div", _hoisted_8$3, [
|
|
27891
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(pathKeys
|
|
27943
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(pathKeys), (path_key) => {
|
|
27892
27944
|
return withDirectives((openBlock(), createElementBlock("div", {
|
|
27893
27945
|
key: path_key,
|
|
27894
27946
|
class: normalizeClass(["multi-image-item-preview", { "bgl_fill-image": _ctx.fill }])
|
|
@@ -27897,7 +27949,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
27897
27949
|
key: 0,
|
|
27898
27950
|
pathKey: path_key,
|
|
27899
27951
|
class: "multi-preview"
|
|
27900
|
-
}, null, 8, ["pathKey"])) : (openBlock(), createBlock(unref(_sfc_main$
|
|
27952
|
+
}, null, 8, ["pathKey"])) : (openBlock(), createBlock(unref(_sfc_main$u), {
|
|
27901
27953
|
key: 1,
|
|
27902
27954
|
icon: "description",
|
|
27903
27955
|
class: "multi-preview"
|
|
@@ -27908,13 +27960,13 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
27908
27960
|
flat: "",
|
|
27909
27961
|
icon: "delete",
|
|
27910
27962
|
color: "red",
|
|
27911
|
-
onClick: ($event) => removeFile(path_key)
|
|
27963
|
+
onClick: ($event) => unref(removeFile)(path_key)
|
|
27912
27964
|
}, null, 8, ["onClick"])
|
|
27913
27965
|
], 2)), [
|
|
27914
27966
|
[_directive_lightbox, { src: unref(pathKeyToURL)(path_key), download: true }]
|
|
27915
27967
|
]);
|
|
27916
27968
|
}), 128)),
|
|
27917
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(fileQueue
|
|
27969
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(fileQueue), (file) => {
|
|
27918
27970
|
return openBlock(), createElementBlock("div", {
|
|
27919
27971
|
key: file.name,
|
|
27920
27972
|
class: normalizeClass(["multi-image-item-preview", { "bgl_fill-image": _ctx.fill }])
|
|
@@ -27922,9 +27974,9 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
27922
27974
|
isImage(file.file.type) ? (openBlock(), createBlock(unref(Image$1), {
|
|
27923
27975
|
key: 0,
|
|
27924
27976
|
class: "multi-preview",
|
|
27925
|
-
src: fileToUrl(file.file),
|
|
27977
|
+
src: unref(fileToUrl)(file.file),
|
|
27926
27978
|
alt: ""
|
|
27927
|
-
}, null, 8, ["src"])) : (openBlock(), createBlock(unref(_sfc_main$
|
|
27979
|
+
}, null, 8, ["src"])) : (openBlock(), createBlock(unref(_sfc_main$u), {
|
|
27928
27980
|
key: 1,
|
|
27929
27981
|
icon: "description",
|
|
27930
27982
|
class: "multi-preview"
|
|
@@ -27935,25 +27987,25 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
27935
27987
|
style: normalizeStyle([{ "--p": file.progress }, { "--b": "2px" }])
|
|
27936
27988
|
}, [
|
|
27937
27989
|
file.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_11$2, toDisplayString(file.progress.toFixed(0)), 1)) : createCommentVNode("", true),
|
|
27938
|
-
createVNode(unref(_sfc_main$
|
|
27990
|
+
createVNode(unref(_sfc_main$u), {
|
|
27939
27991
|
class: "success",
|
|
27940
27992
|
icon: "check_circle"
|
|
27941
27993
|
})
|
|
27942
27994
|
], 6)
|
|
27943
27995
|
], 2);
|
|
27944
27996
|
}), 128))
|
|
27945
|
-
])) : pathKeys.
|
|
27946
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(pathKeys
|
|
27997
|
+
])) : unref(pathKeys).length > 0 || unref(fileQueue).length > 0 ? (openBlock(), createElementBlock("div", _hoisted_12$2, [
|
|
27998
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(pathKeys), (path_key) => {
|
|
27947
27999
|
return openBlock(), createElementBlock("div", {
|
|
27948
28000
|
key: path_key,
|
|
27949
28001
|
class: normalizeClass(["single-image-item-preview", { "bgl_fill-image": _ctx.fill }])
|
|
27950
28002
|
}, [
|
|
27951
|
-
createElementVNode("div", _hoisted_13, [
|
|
28003
|
+
createElementVNode("div", _hoisted_13$1, [
|
|
27952
28004
|
withDirectives(createVNode(unref(Btn), {
|
|
27953
28005
|
color: "gray",
|
|
27954
28006
|
thin: "",
|
|
27955
28007
|
icon: "delete",
|
|
27956
|
-
onClick: ($event) => removeFile(path_key)
|
|
28008
|
+
onClick: ($event) => unref(removeFile)(path_key)
|
|
27957
28009
|
}, null, 8, ["onClick"]), [
|
|
27958
28010
|
[_directive_tooltip, "Delete"]
|
|
27959
28011
|
]),
|
|
@@ -27961,7 +28013,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
27961
28013
|
color: "gray",
|
|
27962
28014
|
thin: "",
|
|
27963
28015
|
icon: "autorenew",
|
|
27964
|
-
onClick: browse
|
|
28016
|
+
onClick: _cache[3] || (_cache[3] = ($event) => unref(browse)(true))
|
|
27965
28017
|
}, null, 512), [
|
|
27966
28018
|
[_directive_tooltip, "Replace"]
|
|
27967
28019
|
]),
|
|
@@ -27975,7 +28027,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
27975
28027
|
[_directive_tooltip, "Download"]
|
|
27976
28028
|
])
|
|
27977
28029
|
]),
|
|
27978
|
-
isImage(path_key) ? (openBlock(), createElementBlock("div", _hoisted_14, [
|
|
28030
|
+
isImage(path_key) ? (openBlock(), createElementBlock("div", _hoisted_14$1, [
|
|
27979
28031
|
withDirectives(createVNode(unref(Image$1), {
|
|
27980
28032
|
class: "single-preview",
|
|
27981
28033
|
pathKey: path_key,
|
|
@@ -27983,7 +28035,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
27983
28035
|
}, null, 8, ["pathKey"]), [
|
|
27984
28036
|
[_directive_lightbox, { src: unref(pathKeyToURL)(path_key), download: true }]
|
|
27985
28037
|
])
|
|
27986
|
-
])) : withDirectives((openBlock(), createBlock(unref(_sfc_main$
|
|
28038
|
+
])) : withDirectives((openBlock(), createBlock(unref(_sfc_main$u), {
|
|
27987
28039
|
key: 1,
|
|
27988
28040
|
size: 4,
|
|
27989
28041
|
weight: "2",
|
|
@@ -27994,7 +28046,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
27994
28046
|
])
|
|
27995
28047
|
], 2);
|
|
27996
28048
|
}), 128)),
|
|
27997
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(fileQueue
|
|
28049
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(fileQueue), (file) => {
|
|
27998
28050
|
return openBlock(), createElementBlock("div", {
|
|
27999
28051
|
key: file.name,
|
|
28000
28052
|
class: normalizeClass(["single-image-item-preview", { "bgl_fill-image": _ctx.fill }])
|
|
@@ -28004,7 +28056,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
28004
28056
|
style: normalizeStyle([{ "--p": file.progress }, { "--b": "2px" }])
|
|
28005
28057
|
}, [
|
|
28006
28058
|
file.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_15, toDisplayString(file.progress.toFixed(0)), 1)) : createCommentVNode("", true),
|
|
28007
|
-
createVNode(unref(_sfc_main$
|
|
28059
|
+
createVNode(unref(_sfc_main$u), {
|
|
28008
28060
|
class: "success",
|
|
28009
28061
|
icon: "check_circle"
|
|
28010
28062
|
})
|
|
@@ -28012,23 +28064,23 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
28012
28064
|
isImage(file.file.type) ? withDirectives((openBlock(), createBlock(unref(Image$1), {
|
|
28013
28065
|
key: 0,
|
|
28014
28066
|
class: "single-preview",
|
|
28015
|
-
src: fileToUrl(file.file),
|
|
28067
|
+
src: unref(fileToUrl)(file.file),
|
|
28016
28068
|
alt: ""
|
|
28017
28069
|
}, null, 8, ["src"])), [
|
|
28018
|
-
[_directive_lightbox, { src: fileToUrl(file.file), download: true }]
|
|
28070
|
+
[_directive_lightbox, { src: unref(fileToUrl)(file.file), download: true }]
|
|
28019
28071
|
]) : createCommentVNode("", true)
|
|
28020
28072
|
], 2);
|
|
28021
28073
|
}), 128))
|
|
28022
28074
|
])) : createCommentVNode("", true)
|
|
28023
28075
|
], true),
|
|
28024
|
-
!pathKeys.
|
|
28076
|
+
!unref(pathKeys).length && !unref(fileQueue).length || _ctx.multiple ? renderSlot(_ctx.$slots, "placeholder", {
|
|
28025
28077
|
key: 0,
|
|
28026
|
-
files: pathKeys
|
|
28027
|
-
fileQueue: fileQueue
|
|
28028
|
-
browse
|
|
28078
|
+
files: unref(pathKeys),
|
|
28079
|
+
fileQueue: unref(fileQueue),
|
|
28080
|
+
browse: unref(browse)
|
|
28029
28081
|
}, () => [
|
|
28030
28082
|
createElementVNode("p", _hoisted_16, [
|
|
28031
|
-
createVNode(unref(_sfc_main$
|
|
28083
|
+
createVNode(unref(_sfc_main$u), { icon: "upload_2" }),
|
|
28032
28084
|
createElementVNode("span", _hoisted_17, toDisplayString(_ctx.dropPlaceholder || "Drag and Drop files here or click to upload"), 1)
|
|
28033
28085
|
])
|
|
28034
28086
|
], true) : createCommentVNode("", true)
|
|
@@ -28037,7 +28089,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
28037
28089
|
};
|
|
28038
28090
|
}
|
|
28039
28091
|
});
|
|
28040
|
-
const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
28092
|
+
const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-38a4d4a9"]]);
|
|
28041
28093
|
const FONT_AWESOME_ICONS = [
|
|
28042
28094
|
"trash-can",
|
|
28043
28095
|
"message",
|
|
@@ -32463,7 +32515,7 @@ const MATERIAL_ICONS = [
|
|
|
32463
32515
|
"zoom_out",
|
|
32464
32516
|
"zoom_out_map"
|
|
32465
32517
|
];
|
|
32466
|
-
const _sfc_main$
|
|
32518
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
32467
32519
|
__name: "Icon",
|
|
32468
32520
|
props: {
|
|
32469
32521
|
icon: {},
|
|
@@ -32501,8 +32553,8 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
32501
32553
|
};
|
|
32502
32554
|
}
|
|
32503
32555
|
});
|
|
32504
|
-
const _hoisted_1$
|
|
32505
|
-
const _sfc_main$
|
|
32556
|
+
const _hoisted_1$n = ["src", "title", "width", "height", "marginwidth", "marginheight", "csp", "scrolling", "srcset"];
|
|
32557
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
32506
32558
|
__name: "IframeVue",
|
|
32507
32559
|
props: {
|
|
32508
32560
|
src: {},
|
|
@@ -32561,14 +32613,14 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
32561
32613
|
scrolling: _ctx.scrolling,
|
|
32562
32614
|
srcset: _ctx.srcset,
|
|
32563
32615
|
onLoad: _cache[0] || (_cache[0] = ($event) => emit2("load", $event))
|
|
32564
|
-
}, null, 40, _hoisted_1$
|
|
32616
|
+
}, null, 40, _hoisted_1$n);
|
|
32565
32617
|
};
|
|
32566
32618
|
}
|
|
32567
32619
|
});
|
|
32568
|
-
const _hoisted_1$
|
|
32569
|
-
const _hoisted_2$
|
|
32620
|
+
const _hoisted_1$m = { key: 0 };
|
|
32621
|
+
const _hoisted_2$d = ["src", "alt", "width", "height"];
|
|
32570
32622
|
const _hoisted_3$a = ["src", "alt", "width", "height"];
|
|
32571
|
-
const _sfc_main$
|
|
32623
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
32572
32624
|
__name: "Image",
|
|
32573
32625
|
props: {
|
|
32574
32626
|
src: {},
|
|
@@ -32644,7 +32696,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
32644
32696
|
}
|
|
32645
32697
|
watch(() => [props2.src, props2.pathKey], loadImage, { immediate: true });
|
|
32646
32698
|
return (_ctx, _cache) => {
|
|
32647
|
-
return _ctx.caption ? (openBlock(), createElementBlock("figcaption", _hoisted_1$
|
|
32699
|
+
return _ctx.caption ? (openBlock(), createElementBlock("figcaption", _hoisted_1$m, [
|
|
32648
32700
|
unref(imageSrc) ? (openBlock(), createElementBlock("img", mergeProps({
|
|
32649
32701
|
key: 0,
|
|
32650
32702
|
src: unref(imageSrc)
|
|
@@ -32652,7 +32704,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
32652
32704
|
alt: _ctx.alt,
|
|
32653
32705
|
width: unref(normalizeDimension)(_ctx.width),
|
|
32654
32706
|
height: unref(normalizeDimension)(_ctx.height)
|
|
32655
|
-
}), null, 16, _hoisted_2$
|
|
32707
|
+
}), null, 16, _hoisted_2$d)) : (openBlock(), createBlock(unref(Skeleton), {
|
|
32656
32708
|
key: 1,
|
|
32657
32709
|
class: "img-web-kit",
|
|
32658
32710
|
width: unref(normalizeDimension)(_ctx.width),
|
|
@@ -32673,7 +32725,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
32673
32725
|
height: unref(normalizeDimension)(_ctx.height)
|
|
32674
32726
|
})
|
|
32675
32727
|
}, [
|
|
32676
|
-
createVNode(unref(_sfc_main$
|
|
32728
|
+
createVNode(unref(_sfc_main$u), { name: "broken_image" })
|
|
32677
32729
|
], 4)) : (openBlock(), createBlock(unref(Skeleton), {
|
|
32678
32730
|
key: 3,
|
|
32679
32731
|
class: "img-web-kit",
|
|
@@ -32683,16 +32735,16 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
32683
32735
|
};
|
|
32684
32736
|
}
|
|
32685
32737
|
});
|
|
32686
|
-
const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32687
|
-
const _hoisted_1$
|
|
32688
|
-
const _sfc_main$
|
|
32738
|
+
const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-2f5e271c"]]);
|
|
32739
|
+
const _hoisted_1$l = { class: "m-0 pb-025 txt10 line-height-1 w60 menu-text" };
|
|
32740
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
32689
32741
|
__name: "BottomMenu",
|
|
32690
32742
|
props: {
|
|
32691
32743
|
navLinks: {}
|
|
32692
32744
|
},
|
|
32693
32745
|
setup(__props) {
|
|
32694
32746
|
return (_ctx, _cache) => {
|
|
32695
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
32747
|
+
return openBlock(), createBlock(unref(_sfc_main$13), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
|
|
32696
32748
|
default: withCtx(() => [
|
|
32697
32749
|
renderSlot(_ctx.$slots, "brand", {}, void 0, true),
|
|
32698
32750
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.navLinks, (nav, i2) => {
|
|
@@ -32703,12 +32755,12 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
32703
32755
|
onClick: nav.onClick
|
|
32704
32756
|
}, {
|
|
32705
32757
|
default: withCtx(() => [
|
|
32706
|
-
createVNode(unref(_sfc_main$
|
|
32758
|
+
createVNode(unref(_sfc_main$u), {
|
|
32707
32759
|
icon: nav.icon,
|
|
32708
32760
|
size: 1.4,
|
|
32709
32761
|
class: "m-0 line-height-14"
|
|
32710
32762
|
}, null, 8, ["icon"]),
|
|
32711
|
-
createElementVNode("p", _hoisted_1$
|
|
32763
|
+
createElementVNode("p", _hoisted_1$l, toDisplayString(nav.label), 1)
|
|
32712
32764
|
]),
|
|
32713
32765
|
_: 2
|
|
32714
32766
|
}, 1032, ["to", "onClick"]);
|
|
@@ -32720,8 +32772,8 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
32720
32772
|
};
|
|
32721
32773
|
}
|
|
32722
32774
|
});
|
|
32723
|
-
const BottomMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32724
|
-
const _sfc_main$
|
|
32775
|
+
const BottomMenu = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-2227f9cc"]]);
|
|
32776
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
32725
32777
|
__name: "Layout",
|
|
32726
32778
|
props: {
|
|
32727
32779
|
gap: { default: 1 },
|
|
@@ -32765,9 +32817,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
32765
32817
|
};
|
|
32766
32818
|
}
|
|
32767
32819
|
});
|
|
32768
|
-
const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32769
|
-
const _hoisted_1$
|
|
32770
|
-
const _sfc_main$
|
|
32820
|
+
const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-a0f4895c"]]);
|
|
32821
|
+
const _hoisted_1$k = { key: 0 };
|
|
32822
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
32771
32823
|
__name: "SidebarMenu",
|
|
32772
32824
|
props: {
|
|
32773
32825
|
navLinks: {},
|
|
@@ -32796,7 +32848,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
32796
32848
|
icon: "keyboard_arrow_right",
|
|
32797
32849
|
onClick: unref(toggleMenu)
|
|
32798
32850
|
}, null, 8, ["onClick"]),
|
|
32799
|
-
createVNode(unref(_sfc_main$
|
|
32851
|
+
createVNode(unref(_sfc_main$13), { class: "py-1 px-05 h-100 flex column gap-05 rounded relative bg-primary font-light overflow-y" }, {
|
|
32800
32852
|
default: withCtx(() => [
|
|
32801
32853
|
!unref(isOpen) || !unref(slots)["brand-open"] ? renderSlot(_ctx.$slots, "brand", { key: 0 }, void 0, true) : createCommentVNode("", true),
|
|
32802
32854
|
unref(isOpen) ? renderSlot(_ctx.$slots, "brand-open", { key: 1 }, void 0, true) : createCommentVNode("", true),
|
|
@@ -32811,13 +32863,13 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
32811
32863
|
...nav.onClick && { onClick: nav.onClick }
|
|
32812
32864
|
}, { class: "nav-button px-075 me-auto w-100" }), {
|
|
32813
32865
|
default: withCtx(() => [
|
|
32814
|
-
createVNode(unref(_sfc_main$
|
|
32866
|
+
createVNode(unref(_sfc_main$u), {
|
|
32815
32867
|
icon: nav.icon,
|
|
32816
32868
|
size: 1.4
|
|
32817
32869
|
}, null, 8, ["icon"]),
|
|
32818
32870
|
createVNode(Transition, { name: "showP" }, {
|
|
32819
32871
|
default: withCtx(() => [
|
|
32820
|
-
_ctx.open ? (openBlock(), createElementBlock("p", _hoisted_1$
|
|
32872
|
+
_ctx.open ? (openBlock(), createElementBlock("p", _hoisted_1$k, toDisplayString(nav.label), 1)) : createCommentVNode("", true)
|
|
32821
32873
|
]),
|
|
32822
32874
|
_: 2
|
|
32823
32875
|
}, 1024)
|
|
@@ -32844,8 +32896,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
32844
32896
|
};
|
|
32845
32897
|
}
|
|
32846
32898
|
});
|
|
32847
|
-
const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32848
|
-
const _sfc_main$
|
|
32899
|
+
const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-43939d5b"]]);
|
|
32900
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
32849
32901
|
__name: "Skeleton",
|
|
32850
32902
|
props: {
|
|
32851
32903
|
count: { default: 1 },
|
|
@@ -32876,11 +32928,11 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
32876
32928
|
};
|
|
32877
32929
|
}
|
|
32878
32930
|
});
|
|
32879
|
-
const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32880
|
-
const _hoisted_1$
|
|
32881
|
-
const _hoisted_2$
|
|
32931
|
+
const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-8788ed73"]]);
|
|
32932
|
+
const _hoisted_1$j = { class: "bgl_card tabs-top" };
|
|
32933
|
+
const _hoisted_2$c = { class: "tabs grid auto-flow-columns fit-content" };
|
|
32882
32934
|
const _hoisted_3$9 = ["onClick"];
|
|
32883
|
-
const _sfc_main$
|
|
32935
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
32884
32936
|
__name: "TabbedLayout",
|
|
32885
32937
|
props: {
|
|
32886
32938
|
title: {},
|
|
@@ -32913,9 +32965,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
32913
32965
|
return openBlock(), createElementBlock("div", {
|
|
32914
32966
|
class: normalizeClass(["h-100 grid list-view gap-1", { "side-tabs": _ctx.sideTabs }])
|
|
32915
32967
|
}, [
|
|
32916
|
-
createElementVNode("div", _hoisted_1$
|
|
32968
|
+
createElementVNode("div", _hoisted_1$j, [
|
|
32917
32969
|
renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
|
|
32918
|
-
createElementVNode("div", _hoisted_2$
|
|
32970
|
+
createElementVNode("div", _hoisted_2$c, [
|
|
32919
32971
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.tabs, (tab) => {
|
|
32920
32972
|
var _a;
|
|
32921
32973
|
return openBlock(), createElementBlock("div", {
|
|
@@ -32940,7 +32992,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
32940
32992
|
};
|
|
32941
32993
|
}
|
|
32942
32994
|
});
|
|
32943
|
-
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
32995
|
+
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-915732c1"]]);
|
|
32944
32996
|
const state = reactive(/* @__PURE__ */ new Map());
|
|
32945
32997
|
function useTabs(group) {
|
|
32946
32998
|
if (!state.has(group)) {
|
|
@@ -32954,8 +33006,8 @@ function useTabs(group) {
|
|
|
32954
33006
|
});
|
|
32955
33007
|
return { currentTab };
|
|
32956
33008
|
}
|
|
32957
|
-
const _hoisted_1$
|
|
32958
|
-
const _sfc_main$
|
|
33009
|
+
const _hoisted_1$i = { key: 0 };
|
|
33010
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
32959
33011
|
__name: "Tabs",
|
|
32960
33012
|
props: {
|
|
32961
33013
|
tabs: {},
|
|
@@ -32997,14 +33049,14 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
32997
33049
|
group: unref(group),
|
|
32998
33050
|
class: "mb-05"
|
|
32999
33051
|
}, null, 8, ["modelValue", "flat", "tabs", "group"]),
|
|
33000
|
-
unref(currentTab) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
33052
|
+
unref(currentTab) ? (openBlock(), createElementBlock("div", _hoisted_1$i, [
|
|
33001
33053
|
unref(slots)[unref(currentTab)] ? renderSlot(_ctx.$slots, unref(currentTab), { key: 0 }) : unref(currentTab) ? (openBlock(), createBlock(resolveDynamicComponent(unref(tabComponent)), { key: 1 })) : createCommentVNode("", true)
|
|
33002
33054
|
])) : createCommentVNode("", true)
|
|
33003
33055
|
], 64);
|
|
33004
33056
|
};
|
|
33005
33057
|
}
|
|
33006
33058
|
});
|
|
33007
|
-
const _sfc_main$
|
|
33059
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
33008
33060
|
__name: "TabsBody",
|
|
33009
33061
|
props: {
|
|
33010
33062
|
group: {}
|
|
@@ -33017,8 +33069,8 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
33017
33069
|
};
|
|
33018
33070
|
}
|
|
33019
33071
|
});
|
|
33020
|
-
const _hoisted_1$
|
|
33021
|
-
const _sfc_main$
|
|
33072
|
+
const _hoisted_1$h = ["onClick"];
|
|
33073
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
33022
33074
|
__name: "TabsNav",
|
|
33023
33075
|
props: {
|
|
33024
33076
|
title: {},
|
|
@@ -33105,21 +33157,21 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
33105
33157
|
class: normalizeClass([{ active: isActive(tab) }, "bgl_tab relative z-1"]),
|
|
33106
33158
|
onClick: ($event) => selectTab(tab)
|
|
33107
33159
|
}, [
|
|
33108
|
-
typeof tab !== "string" && tab.icon ? (openBlock(), createBlock(unref(_sfc_main$
|
|
33160
|
+
typeof tab !== "string" && tab.icon ? (openBlock(), createBlock(unref(_sfc_main$u), {
|
|
33109
33161
|
key: 0,
|
|
33110
33162
|
icon: tab.icon
|
|
33111
33163
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
33112
33164
|
createTextVNode(" " + toDisplayString(tabLabel(tab)), 1)
|
|
33113
|
-
], 10, _hoisted_1$
|
|
33165
|
+
], 10, _hoisted_1$h);
|
|
33114
33166
|
}), 128))
|
|
33115
33167
|
], true)
|
|
33116
33168
|
], 2);
|
|
33117
33169
|
};
|
|
33118
33170
|
}
|
|
33119
33171
|
});
|
|
33120
|
-
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33121
|
-
const _hoisted_1$
|
|
33122
|
-
const _hoisted_2$
|
|
33172
|
+
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-6ece2018"]]);
|
|
33173
|
+
const _hoisted_1$g = { class: "txt-start" };
|
|
33174
|
+
const _hoisted_2$b = {
|
|
33123
33175
|
key: 0,
|
|
33124
33176
|
class: "txt10 m-0 p-0 txt-gray ellipsis"
|
|
33125
33177
|
};
|
|
@@ -33129,7 +33181,7 @@ const _hoisted_4$5 = {
|
|
|
33129
33181
|
class: "txt12 m-0 p-0 opacity-7 ellipsis-1"
|
|
33130
33182
|
};
|
|
33131
33183
|
const _hoisted_5$5 = ["textContent"];
|
|
33132
|
-
const _sfc_main$
|
|
33184
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
33133
33185
|
__name: "ListItem",
|
|
33134
33186
|
props: {
|
|
33135
33187
|
src: {},
|
|
@@ -33191,14 +33243,14 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
33191
33243
|
src: _ctx.src,
|
|
33192
33244
|
size: 40
|
|
33193
33245
|
}, null, 8, ["name", "src"])) : createCommentVNode("", true),
|
|
33194
|
-
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$
|
|
33246
|
+
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$u), {
|
|
33195
33247
|
key: 1,
|
|
33196
33248
|
size: "1.2",
|
|
33197
33249
|
class: "color-primary",
|
|
33198
33250
|
icon: _ctx.icon
|
|
33199
33251
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
33200
|
-
createElementVNode("div", _hoisted_1$
|
|
33201
|
-
_ctx.lead ? (openBlock(), createElementBlock("p", _hoisted_2$
|
|
33252
|
+
createElementVNode("div", _hoisted_1$g, [
|
|
33253
|
+
_ctx.lead ? (openBlock(), createElementBlock("p", _hoisted_2$b, [
|
|
33202
33254
|
createTextVNode(toDisplayString(_ctx.lead) + " ", 1),
|
|
33203
33255
|
renderSlot(_ctx.$slots, "lead")
|
|
33204
33256
|
])) : createCommentVNode("", true),
|
|
@@ -33213,7 +33265,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
33213
33265
|
]),
|
|
33214
33266
|
_cache[0] || (_cache[0] = createElementVNode("div", { class: "flex-grow-1" }, null, -1)),
|
|
33215
33267
|
renderSlot(_ctx.$slots, "end", {}, () => [
|
|
33216
|
-
_ctx.iconEnd ? (openBlock(), createBlock(unref(_sfc_main$
|
|
33268
|
+
_ctx.iconEnd ? (openBlock(), createBlock(unref(_sfc_main$u), {
|
|
33217
33269
|
key: 0,
|
|
33218
33270
|
icon: _ctx.iconEnd,
|
|
33219
33271
|
class: "transition-400"
|
|
@@ -33232,13 +33284,13 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
33232
33284
|
};
|
|
33233
33285
|
}
|
|
33234
33286
|
});
|
|
33235
|
-
const _sfc_main$
|
|
33236
|
-
const _hoisted_1$
|
|
33237
|
-
const _hoisted_2$
|
|
33287
|
+
const _sfc_main$i = {};
|
|
33288
|
+
const _hoisted_1$f = { class: "list-wrap bgl_card thin grid overflow-hidden pt-0 pb-05 px-0 m_pb-0" };
|
|
33289
|
+
const _hoisted_2$a = { class: "p-0" };
|
|
33238
33290
|
const _hoisted_3$7 = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
|
|
33239
33291
|
function _sfc_render$3(_ctx, _cache) {
|
|
33240
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
33241
|
-
createElementVNode("div", _hoisted_2$
|
|
33292
|
+
return openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
33293
|
+
createElementVNode("div", _hoisted_2$a, [
|
|
33242
33294
|
renderSlot(_ctx.$slots, "header")
|
|
33243
33295
|
]),
|
|
33244
33296
|
createElementVNode("div", _hoisted_3$7, [
|
|
@@ -33246,9 +33298,9 @@ function _sfc_render$3(_ctx, _cache) {
|
|
|
33246
33298
|
])
|
|
33247
33299
|
]);
|
|
33248
33300
|
}
|
|
33249
|
-
const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33250
|
-
const _hoisted_1$
|
|
33251
|
-
const _sfc_main$
|
|
33301
|
+
const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$3]]);
|
|
33302
|
+
const _hoisted_1$e = { class: "flex-center" };
|
|
33303
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
33252
33304
|
__name: "Loading",
|
|
33253
33305
|
props: {
|
|
33254
33306
|
size: { default: 50 },
|
|
@@ -33270,7 +33322,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
33270
33322
|
return standardSize(borderValue);
|
|
33271
33323
|
});
|
|
33272
33324
|
return (_ctx, _cache) => {
|
|
33273
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
33325
|
+
return openBlock(), createElementBlock("div", _hoisted_1$e, [
|
|
33274
33326
|
theme.value === "bar" ? (openBlock(), createElementBlock("div", {
|
|
33275
33327
|
key: 0,
|
|
33276
33328
|
class: "lds-bar",
|
|
@@ -33312,11 +33364,11 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
33312
33364
|
};
|
|
33313
33365
|
}
|
|
33314
33366
|
});
|
|
33315
|
-
const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33316
|
-
const _hoisted_1$
|
|
33367
|
+
const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-2d349a92"]]);
|
|
33368
|
+
const _hoisted_1$d = ["id"];
|
|
33317
33369
|
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>';
|
|
33318
33370
|
const leafletScriptUrl = "https://unpkg.com/leaflet@1.9.4/dist/leaflet.js";
|
|
33319
|
-
const _sfc_main$
|
|
33371
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
33320
33372
|
__name: "Index",
|
|
33321
33373
|
props: {
|
|
33322
33374
|
center: { default: () => [31.7683, 35.2137] },
|
|
@@ -33407,15 +33459,15 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
33407
33459
|
class: "leaflet-map",
|
|
33408
33460
|
style: normalizeStyle({ height: `${props2.height || 400}px` }),
|
|
33409
33461
|
dir: "ltr"
|
|
33410
|
-
}, null, 12, _hoisted_1$
|
|
33462
|
+
}, null, 12, _hoisted_1$d);
|
|
33411
33463
|
};
|
|
33412
33464
|
}
|
|
33413
33465
|
});
|
|
33414
|
-
const _hoisted_1$
|
|
33466
|
+
const _hoisted_1$c = {
|
|
33415
33467
|
key: 0,
|
|
33416
33468
|
class: "tool-bar"
|
|
33417
33469
|
};
|
|
33418
|
-
const _hoisted_2$
|
|
33470
|
+
const _hoisted_2$9 = {
|
|
33419
33471
|
key: 1,
|
|
33420
33472
|
class: "sticky z-index-999 -mt-1 -ms-1 px-025 h-30px pt-025 modal-no-title"
|
|
33421
33473
|
};
|
|
@@ -33423,7 +33475,7 @@ const _hoisted_3$6 = {
|
|
|
33423
33475
|
key: 2,
|
|
33424
33476
|
class: "modal-footer mt-1"
|
|
33425
33477
|
};
|
|
33426
|
-
const _sfc_main$
|
|
33478
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
33427
33479
|
__name: "Modal",
|
|
33428
33480
|
props: {
|
|
33429
33481
|
thin: { type: Boolean },
|
|
@@ -33480,7 +33532,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
33480
33532
|
onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
|
|
33481
33533
|
onKeydown: withKeys(closeModal, ["esc"])
|
|
33482
33534
|
}, [
|
|
33483
|
-
createVNode(unref(_sfc_main$
|
|
33535
|
+
createVNode(unref(_sfc_main$13), {
|
|
33484
33536
|
class: "modal",
|
|
33485
33537
|
style: normalizeStyle({ ...maxWidth.value }),
|
|
33486
33538
|
thin: _ctx.thin,
|
|
@@ -33490,7 +33542,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
33490
33542
|
default: withCtx(() => {
|
|
33491
33543
|
var _a;
|
|
33492
33544
|
return [
|
|
33493
|
-
unref(slots).toolbar || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_1$
|
|
33545
|
+
unref(slots).toolbar || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_1$c, [
|
|
33494
33546
|
renderSlot(_ctx.$slots, "toolbar"),
|
|
33495
33547
|
createVNode(unref(Btn), {
|
|
33496
33548
|
style: normalizeStyle({ float: _ctx.side ? "left" : "right" }),
|
|
@@ -33505,7 +33557,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
33505
33557
|
tag: "h3",
|
|
33506
33558
|
label: _ctx.title
|
|
33507
33559
|
}, null, 8, ["label"])) : createCommentVNode("", true)
|
|
33508
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_2$
|
|
33560
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_2$9, [
|
|
33509
33561
|
createVNode(unref(Btn), {
|
|
33510
33562
|
class: "position-start",
|
|
33511
33563
|
icon: "close",
|
|
@@ -33534,8 +33586,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
33534
33586
|
};
|
|
33535
33587
|
}
|
|
33536
33588
|
});
|
|
33537
|
-
const _hoisted_1$
|
|
33538
|
-
const _sfc_main$
|
|
33589
|
+
const _hoisted_1$b = { class: "pb-05 pretty" };
|
|
33590
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
33539
33591
|
__name: "ModalConfirm",
|
|
33540
33592
|
props: {
|
|
33541
33593
|
title: {},
|
|
@@ -33561,7 +33613,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
33561
33613
|
const confirmBtnColor = props2.confirmBtnColor || "green";
|
|
33562
33614
|
const cancelBtnColor = props2.cancelBtnColor || "gray";
|
|
33563
33615
|
return (_ctx, _cache) => {
|
|
33564
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
33616
|
+
return openBlock(), createBlock(unref(_sfc_main$f), {
|
|
33565
33617
|
title: unref(title),
|
|
33566
33618
|
width: "380px",
|
|
33567
33619
|
dismissable: false,
|
|
@@ -33580,16 +33632,16 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
33580
33632
|
}, null, 8, ["color", "value"])
|
|
33581
33633
|
]),
|
|
33582
33634
|
default: withCtx(() => [
|
|
33583
|
-
createElementVNode("p", _hoisted_1$
|
|
33635
|
+
createElementVNode("p", _hoisted_1$b, toDisplayString(unref(message)), 1)
|
|
33584
33636
|
]),
|
|
33585
33637
|
_: 1
|
|
33586
33638
|
}, 8, ["title"]);
|
|
33587
33639
|
};
|
|
33588
33640
|
}
|
|
33589
33641
|
});
|
|
33590
|
-
const _hoisted_1$
|
|
33591
|
-
const _hoisted_2$
|
|
33592
|
-
const _sfc_main$
|
|
33642
|
+
const _hoisted_1$a = { class: "flex gap-0" };
|
|
33643
|
+
const _hoisted_2$8 = { class: "flex gap-05" };
|
|
33644
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
33593
33645
|
__name: "ModalForm",
|
|
33594
33646
|
props: /* @__PURE__ */ mergeModels({
|
|
33595
33647
|
schema: {},
|
|
@@ -33653,7 +33705,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
33653
33705
|
}
|
|
33654
33706
|
__expose({ setFormValues });
|
|
33655
33707
|
return (_ctx, _cache) => {
|
|
33656
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
33708
|
+
return openBlock(), createBlock(unref(_sfc_main$f), {
|
|
33657
33709
|
ref_key: "modal",
|
|
33658
33710
|
ref: modal,
|
|
33659
33711
|
side: _ctx.side,
|
|
@@ -33664,7 +33716,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
33664
33716
|
"onUpdate:visible": _cache[3] || (_cache[3] = ($event) => emit2("update:visible", $event))
|
|
33665
33717
|
}, createSlots({
|
|
33666
33718
|
default: withCtx(() => [
|
|
33667
|
-
_ctx.visible ? (openBlock(), createBlock(unref(_sfc_main$
|
|
33719
|
+
_ctx.visible ? (openBlock(), createBlock(unref(_sfc_main$W), {
|
|
33668
33720
|
key: 0,
|
|
33669
33721
|
ref_key: "form",
|
|
33670
33722
|
ref: form,
|
|
@@ -33682,7 +33734,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
33682
33734
|
_ctx.onDelete || _ctx.onSubmit ? {
|
|
33683
33735
|
name: "footer",
|
|
33684
33736
|
fn: withCtx(() => [
|
|
33685
|
-
createElementVNode("div", _hoisted_1$
|
|
33737
|
+
createElementVNode("div", _hoisted_1$a, [
|
|
33686
33738
|
createVNode(unref(Btn), {
|
|
33687
33739
|
thin: "",
|
|
33688
33740
|
flat: "",
|
|
@@ -33699,7 +33751,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
33699
33751
|
onClick: runDelete
|
|
33700
33752
|
}, null, 8, ["value"])) : createCommentVNode("", true)
|
|
33701
33753
|
]),
|
|
33702
|
-
createElementVNode("div", _hoisted_2$
|
|
33754
|
+
createElementVNode("div", _hoisted_2$8, [
|
|
33703
33755
|
_ctx.onDuplicate ? (openBlock(), createBlock(unref(Btn), {
|
|
33704
33756
|
key: 0,
|
|
33705
33757
|
outline: "",
|
|
@@ -33725,14 +33777,14 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
33725
33777
|
};
|
|
33726
33778
|
}
|
|
33727
33779
|
});
|
|
33728
|
-
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33729
|
-
const _hoisted_1$
|
|
33730
|
-
const _hoisted_2$
|
|
33780
|
+
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-c62c6888"]]);
|
|
33781
|
+
const _hoisted_1$9 = { class: "full-nav" };
|
|
33782
|
+
const _hoisted_2$7 = { class: "nav-scroll" };
|
|
33731
33783
|
const _hoisted_3$5 = { class: "nav-links-wrapper" };
|
|
33732
33784
|
const _hoisted_4$4 = { class: "tooltip" };
|
|
33733
33785
|
const _hoisted_5$4 = { class: "bot-buttons-wrapper" };
|
|
33734
33786
|
const _hoisted_6$4 = { class: "tooltip" };
|
|
33735
|
-
const _sfc_main$
|
|
33787
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
33736
33788
|
__name: "NavBar",
|
|
33737
33789
|
props: {
|
|
33738
33790
|
footerLinks: { default: () => [] },
|
|
@@ -33766,13 +33818,13 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
33766
33818
|
onClick: toggleMenu,
|
|
33767
33819
|
onKeypress: withKeys(toggleMenu, ["enter"])
|
|
33768
33820
|
}, [
|
|
33769
|
-
createVNode(unref(_sfc_main$
|
|
33821
|
+
createVNode(unref(_sfc_main$u), {
|
|
33770
33822
|
icon: "chevron_right",
|
|
33771
33823
|
class: "top-arrow"
|
|
33772
33824
|
})
|
|
33773
33825
|
], 32),
|
|
33774
|
-
createElementVNode("div", _hoisted_1$
|
|
33775
|
-
createElementVNode("div", _hoisted_2$
|
|
33826
|
+
createElementVNode("div", _hoisted_1$9, [
|
|
33827
|
+
createElementVNode("div", _hoisted_2$7, [
|
|
33776
33828
|
createElementVNode("div", _hoisted_3$5, [
|
|
33777
33829
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.links, (link) => {
|
|
33778
33830
|
return openBlock(), createBlock(resolveDynamicComponent(link.to ? "router-link" : "div"), {
|
|
@@ -33785,7 +33837,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
33785
33837
|
}
|
|
33786
33838
|
}, {
|
|
33787
33839
|
default: withCtx(() => [
|
|
33788
|
-
createVNode(unref(_sfc_main$
|
|
33840
|
+
createVNode(unref(_sfc_main$u), {
|
|
33789
33841
|
icon: link.icon
|
|
33790
33842
|
}, null, 8, ["icon"]),
|
|
33791
33843
|
createElementVNode("div", _hoisted_4$4, toDisplayString(link.label), 1)
|
|
@@ -33807,7 +33859,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
33807
33859
|
}
|
|
33808
33860
|
}, {
|
|
33809
33861
|
default: withCtx(() => [
|
|
33810
|
-
createVNode(unref(_sfc_main$
|
|
33862
|
+
createVNode(unref(_sfc_main$u), {
|
|
33811
33863
|
icon: link.icon
|
|
33812
33864
|
}, null, 8, ["icon"]),
|
|
33813
33865
|
createElementVNode("div", _hoisted_6$4, toDisplayString(link.label), 1)
|
|
@@ -33822,10 +33874,10 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
33822
33874
|
};
|
|
33823
33875
|
}
|
|
33824
33876
|
});
|
|
33825
|
-
const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
33826
|
-
const _hoisted_1$
|
|
33827
|
-
const _hoisted_2$
|
|
33828
|
-
const _sfc_main$
|
|
33877
|
+
const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-f3df1ee7"]]);
|
|
33878
|
+
const _hoisted_1$8 = { class: "page-top" };
|
|
33879
|
+
const _hoisted_2$6 = { class: "top-title m-0" };
|
|
33880
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
33829
33881
|
__name: "PageTitle",
|
|
33830
33882
|
props: {
|
|
33831
33883
|
value: {
|
|
@@ -33835,8 +33887,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
33835
33887
|
},
|
|
33836
33888
|
setup(__props) {
|
|
33837
33889
|
return (_ctx, _cache) => {
|
|
33838
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
33839
|
-
createElementVNode("h1", _hoisted_2$
|
|
33890
|
+
return openBlock(), createElementBlock("div", _hoisted_1$8, [
|
|
33891
|
+
createElementVNode("h1", _hoisted_2$6, [
|
|
33840
33892
|
renderSlot(_ctx.$slots, "default"),
|
|
33841
33893
|
createTextVNode(" " + toDisplayString(__props.value), 1)
|
|
33842
33894
|
])
|
|
@@ -33844,6 +33896,185 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
33844
33896
|
};
|
|
33845
33897
|
}
|
|
33846
33898
|
});
|
|
33899
|
+
const _hoisted_1$7 = {
|
|
33900
|
+
key: 1,
|
|
33901
|
+
class: "pagination-ellipsis"
|
|
33902
|
+
};
|
|
33903
|
+
const _hoisted_2$5 = { class: "pagination-info" };
|
|
33904
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
33905
|
+
__name: "Pagination",
|
|
33906
|
+
props: /* @__PURE__ */ mergeModels({
|
|
33907
|
+
totalItems: { default: 0 },
|
|
33908
|
+
perPage: { default: 25 },
|
|
33909
|
+
totalPages: { default: void 0 },
|
|
33910
|
+
variant: { default: "default" },
|
|
33911
|
+
rtl: { type: Boolean, default: false },
|
|
33912
|
+
maxVisiblePages: { default: 3 }
|
|
33913
|
+
}, {
|
|
33914
|
+
"page": { default: 1 },
|
|
33915
|
+
"pageModifiers": {},
|
|
33916
|
+
"range": {},
|
|
33917
|
+
"rangeModifiers": {}
|
|
33918
|
+
}),
|
|
33919
|
+
emits: ["update:page", "update:range"],
|
|
33920
|
+
setup(__props) {
|
|
33921
|
+
const props2 = __props;
|
|
33922
|
+
const page = useModel(__props, "page");
|
|
33923
|
+
const range2 = useModel(__props, "range");
|
|
33924
|
+
const paginationContainer = ref();
|
|
33925
|
+
let indicatorPosition = ref(0);
|
|
33926
|
+
let indicatorWidth = ref(0);
|
|
33927
|
+
const computedTotalPages = computed(() => {
|
|
33928
|
+
if (props2.totalPages !== void 0) return props2.totalPages;
|
|
33929
|
+
const { perPage } = props2;
|
|
33930
|
+
return Math.max(1, Math.ceil(props2.totalItems / perPage));
|
|
33931
|
+
});
|
|
33932
|
+
watch(
|
|
33933
|
+
[() => page.value, () => props2.perPage, () => props2.totalItems],
|
|
33934
|
+
() => {
|
|
33935
|
+
if (range2.value) {
|
|
33936
|
+
const { perPage } = props2;
|
|
33937
|
+
const start = (page.value - 1) * perPage;
|
|
33938
|
+
const end = Math.min(start + perPage - 1, props2.totalItems - 1);
|
|
33939
|
+
range2.value = { start, end };
|
|
33940
|
+
}
|
|
33941
|
+
nextTick(() => {
|
|
33942
|
+
updateIndicatorPosition();
|
|
33943
|
+
});
|
|
33944
|
+
},
|
|
33945
|
+
{ immediate: true }
|
|
33946
|
+
);
|
|
33947
|
+
watch(() => props2.rtl, updateIndicatorPosition);
|
|
33948
|
+
const visiblePages = computed(() => {
|
|
33949
|
+
const { maxVisiblePages } = props2;
|
|
33950
|
+
if (computedTotalPages.value <= maxVisiblePages * 2) {
|
|
33951
|
+
return Array.from({ length: computedTotalPages.value }, (_2, i2) => i2 + 1);
|
|
33952
|
+
}
|
|
33953
|
+
const mustInclude = /* @__PURE__ */ new Set();
|
|
33954
|
+
mustInclude.add(page.value);
|
|
33955
|
+
if (page.value > 1) mustInclude.add(page.value - 1);
|
|
33956
|
+
if (page.value < computedTotalPages.value) mustInclude.add(page.value + 1);
|
|
33957
|
+
mustInclude.add(1);
|
|
33958
|
+
mustInclude.add(computedTotalPages.value);
|
|
33959
|
+
const pageArray = Array.from(mustInclude).sort((a2, b2) => a2 - b2);
|
|
33960
|
+
if (pageArray.length < maxVisiblePages + 2) {
|
|
33961
|
+
for (let i2 = 0; i2 < pageArray.length - 1; i2++) {
|
|
33962
|
+
const current = pageArray[i2];
|
|
33963
|
+
const next2 = pageArray[i2 + 1];
|
|
33964
|
+
if (next2 - current > 1) {
|
|
33965
|
+
const pagesToAdd = Math.min(next2 - current - 1, maxVisiblePages + 2 - pageArray.length);
|
|
33966
|
+
const newPages = Array.from(
|
|
33967
|
+
{ length: pagesToAdd },
|
|
33968
|
+
(_2, idx) => current + idx + 1
|
|
33969
|
+
);
|
|
33970
|
+
pageArray.splice(i2 + 1, 0, ...newPages);
|
|
33971
|
+
i2 += newPages.length;
|
|
33972
|
+
}
|
|
33973
|
+
}
|
|
33974
|
+
}
|
|
33975
|
+
return pageArray;
|
|
33976
|
+
});
|
|
33977
|
+
function updateIndicatorPosition() {
|
|
33978
|
+
if (!paginationContainer.value) return;
|
|
33979
|
+
const selectedButton = paginationContainer.value.querySelector(".selected");
|
|
33980
|
+
if (!selectedButton) return;
|
|
33981
|
+
const containerRect = paginationContainer.value.getBoundingClientRect();
|
|
33982
|
+
const buttonRect = selectedButton.getBoundingClientRect();
|
|
33983
|
+
indicatorWidth.value = buttonRect.width;
|
|
33984
|
+
if (props2.rtl) {
|
|
33985
|
+
const rightOffset = containerRect.right - buttonRect.right;
|
|
33986
|
+
indicatorPosition.value = rightOffset;
|
|
33987
|
+
} else {
|
|
33988
|
+
const leftOffset = buttonRect.left - containerRect.left;
|
|
33989
|
+
indicatorPosition.value = leftOffset;
|
|
33990
|
+
}
|
|
33991
|
+
}
|
|
33992
|
+
function handleClick(p2) {
|
|
33993
|
+
if (p2 < 1 || p2 > computedTotalPages.value) return;
|
|
33994
|
+
page.value = p2;
|
|
33995
|
+
}
|
|
33996
|
+
function next() {
|
|
33997
|
+
handleClick(page.value + 1);
|
|
33998
|
+
}
|
|
33999
|
+
function prev() {
|
|
34000
|
+
handleClick(page.value - 1);
|
|
34001
|
+
}
|
|
34002
|
+
function displayIndex(index2) {
|
|
34003
|
+
return index2 === void 0 ? "-" : (index2 + 1).toString();
|
|
34004
|
+
}
|
|
34005
|
+
const renderPageButtons = computed(() => {
|
|
34006
|
+
const items = [];
|
|
34007
|
+
for (let i2 = 0; i2 < visiblePages.value.length; i2++) {
|
|
34008
|
+
const pageNum = visiblePages.value[i2];
|
|
34009
|
+
if (i2 > 0) {
|
|
34010
|
+
const prevPage = visiblePages.value[i2 - 1];
|
|
34011
|
+
if (pageNum - prevPage > 1) {
|
|
34012
|
+
items.push({
|
|
34013
|
+
type: "ellipsis",
|
|
34014
|
+
key: `ellipsis-${i2}`
|
|
34015
|
+
});
|
|
34016
|
+
}
|
|
34017
|
+
}
|
|
34018
|
+
items.push({
|
|
34019
|
+
type: "page",
|
|
34020
|
+
number: pageNum,
|
|
34021
|
+
key: pageNum
|
|
34022
|
+
});
|
|
34023
|
+
}
|
|
34024
|
+
return items;
|
|
34025
|
+
});
|
|
34026
|
+
return (_ctx, _cache) => {
|
|
34027
|
+
var _a, _b;
|
|
34028
|
+
return computedTotalPages.value > 1 ? (openBlock(), createElementBlock("div", {
|
|
34029
|
+
key: 0,
|
|
34030
|
+
ref_key: "paginationContainer",
|
|
34031
|
+
ref: paginationContainer,
|
|
34032
|
+
class: "relative flex gap-1 justify-content"
|
|
34033
|
+
}, [
|
|
34034
|
+
_ctx.variant !== "simple" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
34035
|
+
createElementVNode("div", {
|
|
34036
|
+
class: "indicator radius-1",
|
|
34037
|
+
style: normalizeStyle({
|
|
34038
|
+
[_ctx.rtl ? "right" : "left"]: `${unref(indicatorPosition)}px`,
|
|
34039
|
+
width: `${unref(indicatorWidth)}px`
|
|
34040
|
+
})
|
|
34041
|
+
}, null, 4),
|
|
34042
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(renderPageButtons.value, (item) => {
|
|
34043
|
+
return openBlock(), createElementBlock(Fragment, {
|
|
34044
|
+
key: item.key
|
|
34045
|
+
}, [
|
|
34046
|
+
item.type === "page" ? (openBlock(), createBlock(unref(Btn), {
|
|
34047
|
+
key: 0,
|
|
34048
|
+
flat: "",
|
|
34049
|
+
thin: "",
|
|
34050
|
+
class: normalizeClass({ selected: item.number === page.value }),
|
|
34051
|
+
value: item.number ? item.number.toString() : "",
|
|
34052
|
+
onClick: ($event) => item.number ? handleClick(item.number) : null
|
|
34053
|
+
}, null, 8, ["class", "value", "onClick"])) : item.type === "ellipsis" ? (openBlock(), createElementBlock("div", _hoisted_1$7, " ... ")) : createCommentVNode("", true)
|
|
34054
|
+
], 64);
|
|
34055
|
+
}), 128))
|
|
34056
|
+
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
34057
|
+
createVNode(unref(Btn), {
|
|
34058
|
+
flat: "",
|
|
34059
|
+
thin: "",
|
|
34060
|
+
disabled: page.value <= 1,
|
|
34061
|
+
icon: "chevron_left",
|
|
34062
|
+
onClick: prev
|
|
34063
|
+
}, null, 8, ["disabled"]),
|
|
34064
|
+
createElementVNode("span", _hoisted_2$5, toDisplayString(displayIndex((_a = range2.value) == null ? void 0 : _a.start)) + "-" + toDisplayString(displayIndex((_b = range2.value) == null ? void 0 : _b.end)) + " / " + toDisplayString(props2.totalItems), 1),
|
|
34065
|
+
createVNode(unref(Btn), {
|
|
34066
|
+
flat: "",
|
|
34067
|
+
thin: "",
|
|
34068
|
+
disabled: page.value >= computedTotalPages.value,
|
|
34069
|
+
icon: "chevron_right",
|
|
34070
|
+
onClick: next
|
|
34071
|
+
}, null, 8, ["disabled"])
|
|
34072
|
+
], 64))
|
|
34073
|
+
], 512)) : createCommentVNode("", true);
|
|
34074
|
+
};
|
|
34075
|
+
}
|
|
34076
|
+
});
|
|
34077
|
+
const Pagination = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-0443aea2"]]);
|
|
33847
34078
|
const _hoisted_1$6 = ["disabled"];
|
|
33848
34079
|
const _hoisted_2$4 = { class: "bgl_pill-flex" };
|
|
33849
34080
|
const _hoisted_3$4 = {
|
|
@@ -33884,8 +34115,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
33884
34115
|
},
|
|
33885
34116
|
setup(__props) {
|
|
33886
34117
|
useCssVars((_ctx) => ({
|
|
33887
|
-
"
|
|
33888
|
-
"
|
|
34118
|
+
"09d70b6a": computedBackgroundColor.value,
|
|
34119
|
+
"69df9534": cumputedTextColor.value
|
|
33889
34120
|
}));
|
|
33890
34121
|
const props2 = __props;
|
|
33891
34122
|
const slots = useSlots();
|
|
@@ -33952,7 +34183,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
33952
34183
|
}, _ctx.btn), null, 16)
|
|
33953
34184
|
])) : createCommentVNode("", true)
|
|
33954
34185
|
])),
|
|
33955
|
-
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$
|
|
34186
|
+
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$u), {
|
|
33956
34187
|
key: 2,
|
|
33957
34188
|
icon: _ctx.icon
|
|
33958
34189
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
@@ -33960,7 +34191,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
33960
34191
|
!unref(slots).default ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
|
|
33961
34192
|
createTextVNode(toDisplayString(_ctx.value || _ctx.modelValue), 1)
|
|
33962
34193
|
], 64)) : createCommentVNode("", true),
|
|
33963
|
-
_ctx.iconEnd ? (openBlock(), createBlock(unref(_sfc_main$
|
|
34194
|
+
_ctx.iconEnd ? (openBlock(), createBlock(unref(_sfc_main$u), {
|
|
33964
34195
|
key: 4,
|
|
33965
34196
|
icon: _ctx.iconEnd
|
|
33966
34197
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
@@ -33969,7 +34200,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
33969
34200
|
createVNode(unref(Btn), mergeProps({
|
|
33970
34201
|
class: "bgl_pill-btn",
|
|
33971
34202
|
round: "",
|
|
33972
|
-
thin: ""
|
|
34203
|
+
thin: "",
|
|
34204
|
+
flat: ""
|
|
33973
34205
|
}, _ctx.btnEnd), null, 16)
|
|
33974
34206
|
])) : createCommentVNode("", true)
|
|
33975
34207
|
]))
|
|
@@ -33978,7 +34210,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
33978
34210
|
};
|
|
33979
34211
|
}
|
|
33980
34212
|
});
|
|
33981
|
-
const Pill = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
34213
|
+
const Pill = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-ae730ec5"]]);
|
|
33982
34214
|
const _sfc_main$8 = {};
|
|
33983
34215
|
function _sfc_render$2(_ctx, _cache) {
|
|
33984
34216
|
const _component_router_view = resolveComponent("router-view");
|
|
@@ -34777,7 +35009,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
34777
35009
|
createElementVNode("span", {
|
|
34778
35010
|
onClick: ($event) => col.sortable && _ctx.$emit("sortColumn", col.key)
|
|
34779
35011
|
}, toDisplayString(col.label || col.key), 9, _hoisted_4$2),
|
|
34780
|
-
_ctx.sortColumn === col.key ? (openBlock(), createBlock(unref(_sfc_main$
|
|
35012
|
+
_ctx.sortColumn === col.key ? (openBlock(), createBlock(unref(_sfc_main$u), {
|
|
34781
35013
|
key: 0,
|
|
34782
35014
|
class: normalizeClass(["line-height-0 transition-400", { "rotate-180": _ctx.sortDirection === "desc" }]),
|
|
34783
35015
|
name: "keyboard_arrow_down"
|
|
@@ -35354,29 +35586,29 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
35354
35586
|
placeholder: "Search",
|
|
35355
35587
|
class: "m-0 max-w200px"
|
|
35356
35588
|
}, null, 8, ["modelValue"]),
|
|
35357
|
-
createVNode(unref(_sfc_main$
|
|
35589
|
+
createVNode(unref(_sfc_main$Z), {
|
|
35358
35590
|
flat: "",
|
|
35359
35591
|
thin: "",
|
|
35360
35592
|
icon: "more_vert"
|
|
35361
35593
|
}, {
|
|
35362
35594
|
default: withCtx(() => [
|
|
35363
|
-
createVNode(unref(_sfc_main$
|
|
35595
|
+
createVNode(unref(_sfc_main$j), {
|
|
35364
35596
|
title: "Paste",
|
|
35365
35597
|
icon: "paste",
|
|
35366
35598
|
onClick: pasteSelection
|
|
35367
35599
|
}),
|
|
35368
|
-
createVNode(unref(_sfc_main$
|
|
35600
|
+
createVNode(unref(_sfc_main$j), {
|
|
35369
35601
|
title: "copy",
|
|
35370
35602
|
icon: "copy",
|
|
35371
35603
|
onClick: copySelection
|
|
35372
35604
|
}),
|
|
35373
|
-
createVNode(unref(_sfc_main$
|
|
35605
|
+
createVNode(unref(_sfc_main$j), {
|
|
35374
35606
|
title: "Undo",
|
|
35375
35607
|
icon: "undo",
|
|
35376
35608
|
disabled: !canUndo.value,
|
|
35377
35609
|
onClick: undo
|
|
35378
35610
|
}, null, 8, ["disabled"]),
|
|
35379
|
-
createVNode(unref(_sfc_main$
|
|
35611
|
+
createVNode(unref(_sfc_main$j), {
|
|
35380
35612
|
title: "Redo",
|
|
35381
35613
|
icon: "redo",
|
|
35382
35614
|
disabled: !canRedo.value,
|
|
@@ -35387,9 +35619,9 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
35387
35619
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(wrapText) ? wrapText.value = $event : null),
|
|
35388
35620
|
label: "Wrap Text"
|
|
35389
35621
|
}, null, 8, ["modelValue"]),
|
|
35390
|
-
createVNode(unref(_sfc_main$
|
|
35622
|
+
createVNode(unref(_sfc_main$Z), { placement: "auto-end" }, {
|
|
35391
35623
|
trigger: withCtx(({ show }) => [
|
|
35392
|
-
createVNode(unref(_sfc_main$
|
|
35624
|
+
createVNode(unref(_sfc_main$j), {
|
|
35393
35625
|
title: "Column Visibility",
|
|
35394
35626
|
icon: "view_column",
|
|
35395
35627
|
onClick: ($event) => show()
|
|
@@ -36408,17 +36640,22 @@ const _hoisted_3 = {
|
|
|
36408
36640
|
class: "center"
|
|
36409
36641
|
};
|
|
36410
36642
|
const _hoisted_4 = { key: 3 };
|
|
36411
|
-
const _hoisted_5 =
|
|
36412
|
-
|
|
36643
|
+
const _hoisted_5 = {
|
|
36644
|
+
key: 2,
|
|
36645
|
+
class: "vw90"
|
|
36646
|
+
};
|
|
36647
|
+
const _hoisted_6 = ["src", "title"];
|
|
36648
|
+
const _hoisted_7 = {
|
|
36413
36649
|
key: 3,
|
|
36414
|
-
class: "
|
|
36650
|
+
class: "vw90"
|
|
36415
36651
|
};
|
|
36416
|
-
const
|
|
36417
|
-
const
|
|
36418
|
-
const
|
|
36419
|
-
const
|
|
36420
|
-
const
|
|
36421
|
-
const
|
|
36652
|
+
const _hoisted_8 = { class: "file-info txt-white flex m_block align-items-start gap-025" };
|
|
36653
|
+
const _hoisted_9 = { class: "txt-start" };
|
|
36654
|
+
const _hoisted_10 = { class: "mx-0 light" };
|
|
36655
|
+
const _hoisted_11 = { class: "semi word-break-all" };
|
|
36656
|
+
const _hoisted_12 = { class: "mx-0" };
|
|
36657
|
+
const _hoisted_13 = { class: "semi" };
|
|
36658
|
+
const _hoisted_14 = {
|
|
36422
36659
|
key: 0,
|
|
36423
36660
|
class: "flex justify-content-center mt-2 overflow p-1 fixed bottom start end gap-1 m_justify-content-start"
|
|
36424
36661
|
};
|
|
@@ -36473,11 +36710,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
36473
36710
|
if (zoom.value === 1) close();
|
|
36474
36711
|
}
|
|
36475
36712
|
const upgradeHeaders = (url) => url.replace(/http:\/\//, "//");
|
|
36713
|
+
function downloadFile() {
|
|
36714
|
+
const link = document.createElement("a");
|
|
36715
|
+
const src = currentItem.value.src || "";
|
|
36716
|
+
link.target = "_blank";
|
|
36717
|
+
link.href = upgradeHeaders(src);
|
|
36718
|
+
link.download = src ? src.split("/").pop() || "download" : "download";
|
|
36719
|
+
document.body.appendChild(link);
|
|
36720
|
+
link.click();
|
|
36721
|
+
document.body.removeChild(link);
|
|
36722
|
+
}
|
|
36476
36723
|
__expose({ open, close });
|
|
36477
36724
|
return (_ctx, _cache) => {
|
|
36478
36725
|
return openBlock(), createBlock(Transition, { name: "fade" }, {
|
|
36479
36726
|
default: withCtx(() => {
|
|
36480
|
-
var _a, _b, _c, _d, _e2, _f, _g, _h, _i
|
|
36727
|
+
var _a, _b, _c, _d, _e2, _f, _g, _h, _i;
|
|
36481
36728
|
return [
|
|
36482
36729
|
unref(isOpen) ? (openBlock(), createElementBlock("div", {
|
|
36483
36730
|
key: 0,
|
|
@@ -36557,10 +36804,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
36557
36804
|
flat: "",
|
|
36558
36805
|
icon: "download",
|
|
36559
36806
|
value: "Download File",
|
|
36560
|
-
|
|
36561
|
-
|
|
36562
|
-
|
|
36563
|
-
!((_i = unref(currentItem)) == null ? void 0 : _i.openFile) && !((_j = unref(currentItem)) == null ? void 0 : _j.download) ? (openBlock(), createElementBlock("div", _hoisted_4)) : createCommentVNode("", true)
|
|
36807
|
+
onClick: downloadFile
|
|
36808
|
+
})) : createCommentVNode("", true),
|
|
36809
|
+
!((_h = unref(currentItem)) == null ? void 0 : _h.openFile) && !((_i = unref(currentItem)) == null ? void 0 : _i.download) ? (openBlock(), createElementBlock("div", _hoisted_4)) : createCommentVNode("", true)
|
|
36564
36810
|
]),
|
|
36565
36811
|
createVNode(unref(Carousel), {
|
|
36566
36812
|
index: unref(currentIndex),
|
|
@@ -36596,44 +36842,47 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
36596
36842
|
autoplay: "",
|
|
36597
36843
|
controls: "",
|
|
36598
36844
|
class: "vw90"
|
|
36599
|
-
}, null, 8, ["src"])) : (item == null ? void 0 : item.type) === "pdf" && (item == null ? void 0 : item.src) ? (openBlock(), createElementBlock("
|
|
36600
|
-
|
|
36601
|
-
|
|
36602
|
-
|
|
36603
|
-
|
|
36604
|
-
|
|
36605
|
-
|
|
36606
|
-
|
|
36607
|
-
|
|
36608
|
-
|
|
36609
|
-
|
|
36610
|
-
|
|
36611
|
-
|
|
36612
|
-
|
|
36613
|
-
|
|
36614
|
-
|
|
36615
|
-
|
|
36616
|
-
|
|
36617
|
-
|
|
36618
|
-
|
|
36619
|
-
|
|
36620
|
-
|
|
36621
|
-
|
|
36622
|
-
|
|
36623
|
-
createElementVNode("
|
|
36624
|
-
|
|
36625
|
-
|
|
36626
|
-
|
|
36627
|
-
createElementVNode("
|
|
36628
|
-
|
|
36629
|
-
|
|
36630
|
-
|
|
36631
|
-
|
|
36632
|
-
|
|
36633
|
-
|
|
36634
|
-
|
|
36635
|
-
|
|
36636
|
-
|
|
36845
|
+
}, null, 8, ["src"])) : (item == null ? void 0 : item.type) === "pdf" && (item == null ? void 0 : item.src) ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
36846
|
+
createElementVNode("embed", {
|
|
36847
|
+
src: unref(normalizeURL)(item == null ? void 0 : item.src),
|
|
36848
|
+
type: "application/pdf",
|
|
36849
|
+
width: "100%",
|
|
36850
|
+
height: "1080",
|
|
36851
|
+
title: item == null ? void 0 : item.name,
|
|
36852
|
+
class: "vw90"
|
|
36853
|
+
}, null, 8, _hoisted_6)
|
|
36854
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
36855
|
+
createElementVNode("div", _hoisted_8, [
|
|
36856
|
+
createVNode(unref(_sfc_main$u), {
|
|
36857
|
+
class: "m-0 m_none",
|
|
36858
|
+
icon: "draft",
|
|
36859
|
+
size: 10,
|
|
36860
|
+
weight: "12"
|
|
36861
|
+
}),
|
|
36862
|
+
createVNode(unref(_sfc_main$u), {
|
|
36863
|
+
class: "m-0 none m_block m_-mb-1",
|
|
36864
|
+
icon: "draft",
|
|
36865
|
+
size: 4,
|
|
36866
|
+
weight: "2"
|
|
36867
|
+
}),
|
|
36868
|
+
createElementVNode("div", _hoisted_9, [
|
|
36869
|
+
createElementVNode("p", _hoisted_10, [
|
|
36870
|
+
_cache[6] || (_cache[6] = createTextVNode(" File: ")),
|
|
36871
|
+
createElementVNode("span", _hoisted_11, toDisplayString(item == null ? void 0 : item.name), 1)
|
|
36872
|
+
]),
|
|
36873
|
+
createElementVNode("p", _hoisted_12, [
|
|
36874
|
+
_cache[7] || (_cache[7] = createTextVNode(" Type: ")),
|
|
36875
|
+
createElementVNode("span", _hoisted_13, toDisplayString(item == null ? void 0 : item.type), 1)
|
|
36876
|
+
]),
|
|
36877
|
+
createVNode(unref(Btn), {
|
|
36878
|
+
href: item == null ? void 0 : item.src,
|
|
36879
|
+
target: "_blank",
|
|
36880
|
+
round: "",
|
|
36881
|
+
thin: "",
|
|
36882
|
+
class: "mt-1",
|
|
36883
|
+
value: "Open file"
|
|
36884
|
+
}, null, 8, ["href"])
|
|
36885
|
+
])
|
|
36637
36886
|
])
|
|
36638
36887
|
]))
|
|
36639
36888
|
], 64);
|
|
@@ -36641,7 +36890,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
36641
36890
|
]),
|
|
36642
36891
|
_: 1
|
|
36643
36892
|
}, 8, ["index", "class", "freeDrag"]),
|
|
36644
|
-
unref(group) && unref(group).length > 1 ? (openBlock(), createElementBlock("div",
|
|
36893
|
+
unref(group) && unref(group).length > 1 ? (openBlock(), createElementBlock("div", _hoisted_14, [
|
|
36645
36894
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(group), (item, index2) => {
|
|
36646
36895
|
return openBlock(), createElementBlock(Fragment, { key: index2 }, [
|
|
36647
36896
|
item.type === "image" ? (openBlock(), createBlock(unref(Image$1), {
|
|
@@ -36650,7 +36899,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
36650
36899
|
src: item.src,
|
|
36651
36900
|
alt: "",
|
|
36652
36901
|
onClick: ($event) => selectItem(index2)
|
|
36653
|
-
}, null, 8, ["src", "class", "onClick"])) : (openBlock(), createBlock(unref(_sfc_main$
|
|
36902
|
+
}, null, 8, ["src", "class", "onClick"])) : (openBlock(), createBlock(unref(_sfc_main$u), {
|
|
36654
36903
|
key: 1,
|
|
36655
36904
|
class: normalizeClass(["thumbnail object-fit-cover hover opacity-5 ed flex bg-popup justify-content-center align-items-center flex-shrink-0", { active: unref(currentIndex) === index2 }]),
|
|
36656
36905
|
icon: "description",
|
|
@@ -36668,7 +36917,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
36668
36917
|
};
|
|
36669
36918
|
}
|
|
36670
36919
|
});
|
|
36671
|
-
const Lightbox = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
36920
|
+
const Lightbox = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4789af69"]]);
|
|
36672
36921
|
const groups = {};
|
|
36673
36922
|
let clickHandler = (_e2) => void 0;
|
|
36674
36923
|
const lightboxDirective = {
|
|
@@ -37031,9 +37280,9 @@ const ModalPlugin = {
|
|
|
37031
37280
|
case "modalForm":
|
|
37032
37281
|
return h$2(ModalForm, props2, modal.componentSlots);
|
|
37033
37282
|
case "confirmModal":
|
|
37034
|
-
return h$2(_sfc_main$
|
|
37283
|
+
return h$2(_sfc_main$e, props2, {});
|
|
37035
37284
|
default:
|
|
37036
|
-
return h$2(_sfc_main$
|
|
37285
|
+
return h$2(_sfc_main$f, props2, modal.componentSlots);
|
|
37037
37286
|
}
|
|
37038
37287
|
});
|
|
37039
37288
|
}
|
|
@@ -37807,60 +38056,61 @@ function useSearch(params) {
|
|
|
37807
38056
|
};
|
|
37808
38057
|
}
|
|
37809
38058
|
export {
|
|
37810
|
-
_sfc_main$
|
|
38059
|
+
_sfc_main$1h as Accordion,
|
|
37811
38060
|
AccordionItem,
|
|
37812
|
-
_sfc_main$
|
|
38061
|
+
_sfc_main$1f as AddressSearch,
|
|
37813
38062
|
Alert,
|
|
37814
38063
|
Avatar,
|
|
37815
38064
|
Badge,
|
|
37816
|
-
_sfc_main$
|
|
38065
|
+
_sfc_main$W as BagelForm,
|
|
37817
38066
|
BglMultiStepForm as BagelMultiStepForm,
|
|
37818
38067
|
BagelVue,
|
|
37819
|
-
_sfc_main$
|
|
38068
|
+
_sfc_main$W as BglForm,
|
|
37820
38069
|
BglVideo,
|
|
37821
38070
|
BottomMenu,
|
|
37822
38071
|
Btn,
|
|
37823
38072
|
Index$1 as Calendar,
|
|
37824
|
-
_sfc_main$
|
|
38073
|
+
_sfc_main$13 as Card,
|
|
37825
38074
|
Carousel,
|
|
37826
38075
|
CheckInput,
|
|
37827
38076
|
Checkbox,
|
|
37828
38077
|
CodeEditor,
|
|
37829
|
-
_sfc_main$
|
|
38078
|
+
_sfc_main$Q as ColorInput,
|
|
37830
38079
|
DataPreview,
|
|
37831
38080
|
DataTable,
|
|
37832
|
-
_sfc_main$
|
|
38081
|
+
_sfc_main$O as DateInput,
|
|
37833
38082
|
DatePicker,
|
|
37834
|
-
_sfc_main$
|
|
37835
|
-
_sfc_main$
|
|
38083
|
+
_sfc_main$_ as Draggable,
|
|
38084
|
+
_sfc_main$Z as Dropdown,
|
|
37836
38085
|
EMAIL_REGEX,
|
|
37837
38086
|
EmailInput,
|
|
37838
38087
|
FORM_STATE_KEY,
|
|
37839
|
-
_sfc_main$
|
|
38088
|
+
_sfc_main$U as FieldArray,
|
|
37840
38089
|
FieldSetVue,
|
|
37841
38090
|
FileUpload,
|
|
37842
38091
|
Flag,
|
|
37843
38092
|
IMAGE_FORMATS,
|
|
37844
38093
|
IMAGE_FORMATS_REGEXP,
|
|
37845
|
-
_sfc_main$
|
|
37846
|
-
_sfc_main$
|
|
38094
|
+
_sfc_main$u as Icon,
|
|
38095
|
+
_sfc_main$t as IframeVue,
|
|
37847
38096
|
Image$1 as Image,
|
|
37848
38097
|
JSONInput,
|
|
37849
38098
|
Layout,
|
|
37850
|
-
_sfc_main$
|
|
37851
|
-
_sfc_main$
|
|
38099
|
+
_sfc_main$11 as Lineart,
|
|
38100
|
+
_sfc_main$j as ListItem,
|
|
37852
38101
|
ListView,
|
|
37853
38102
|
Loading,
|
|
37854
|
-
_sfc_main$
|
|
37855
|
-
_sfc_main$
|
|
37856
|
-
_sfc_main$
|
|
38103
|
+
_sfc_main$g as MapEmbed,
|
|
38104
|
+
_sfc_main$f as Modal,
|
|
38105
|
+
_sfc_main$e as ModalConfirm,
|
|
37857
38106
|
ModalForm,
|
|
37858
38107
|
ModalPlugin,
|
|
37859
38108
|
NavBar,
|
|
37860
38109
|
NumberInput,
|
|
37861
38110
|
OTP,
|
|
37862
|
-
_sfc_main$
|
|
37863
|
-
|
|
38111
|
+
_sfc_main$b as PageTitle,
|
|
38112
|
+
Pagination,
|
|
38113
|
+
_sfc_main$I as PasswordInput,
|
|
37864
38114
|
Pill,
|
|
37865
38115
|
RadioGroup,
|
|
37866
38116
|
RadioPillsInput,
|
|
@@ -37869,15 +38119,15 @@ export {
|
|
|
37869
38119
|
RouterWrapper,
|
|
37870
38120
|
SelectInput,
|
|
37871
38121
|
SidebarMenu,
|
|
37872
|
-
_sfc_main$
|
|
38122
|
+
_sfc_main$A as SignaturePad,
|
|
37873
38123
|
Skeleton,
|
|
37874
38124
|
Slider,
|
|
37875
38125
|
Index as Spreadsheet,
|
|
37876
38126
|
TabbedLayout,
|
|
37877
38127
|
TableField,
|
|
37878
38128
|
DataTable as TableSchema,
|
|
37879
|
-
_sfc_main$
|
|
37880
|
-
_sfc_main$
|
|
38129
|
+
_sfc_main$m as Tabs,
|
|
38130
|
+
_sfc_main$l as TabsBody,
|
|
37881
38131
|
TabsNav,
|
|
37882
38132
|
TelInput,
|
|
37883
38133
|
TextInput,
|
|
@@ -37930,6 +38180,7 @@ export {
|
|
|
37930
38180
|
useDevice,
|
|
37931
38181
|
useDraggable,
|
|
37932
38182
|
useEscape,
|
|
38183
|
+
useFileUpload,
|
|
37933
38184
|
useForm,
|
|
37934
38185
|
useI18nT,
|
|
37935
38186
|
useLang,
|