@bagelink/vue 0.0.1143 → 0.0.1145
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/Carousel.vue.d.ts.map +1 -1
- package/dist/components/Modal.vue.d.ts.map +1 -1
- package/dist/components/Zoomer.vue.d.ts.map +1 -1
- package/dist/components/form/index.d.ts +2 -3
- package/dist/components/form/index.d.ts.map +1 -1
- package/dist/components/form/inputs/FileUpload.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText/composables/useEditor.d.ts.map +1 -1
- package/dist/components/form/inputs/Upload/UploadInput.vue.d.ts.map +1 -1
- package/dist/components/lightbox/Lightbox.vue.d.ts.map +1 -1
- package/dist/index.cjs +467 -548
- package/dist/index.mjs +467 -548
- package/dist/plugins/modal.d.ts +5 -0
- package/dist/plugins/modal.d.ts.map +1 -1
- package/dist/style.css +121 -115
- package/package.json +1 -1
- package/src/components/Carousel.vue +1 -0
- package/src/components/Icon/Icon.vue +1 -1
- package/src/components/Modal.vue +0 -1
- package/src/components/ModalForm.vue +24 -19
- package/src/components/Zoomer.vue +24 -4
- package/src/components/form/index.ts +2 -3
- package/src/components/form/inputs/FileUpload.vue +12 -1
- package/src/components/form/inputs/NumberInput.vue +6 -6
- package/src/components/form/inputs/Upload/UploadInput.vue +9 -6
- package/src/components/lightbox/Lightbox.vue +32 -33
- package/src/plugins/modal.ts +5 -0
package/dist/index.cjs
CHANGED
|
@@ -47,7 +47,7 @@ const bagelFormUtils = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defi
|
|
|
47
47
|
return uploadField;
|
|
48
48
|
}
|
|
49
49
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
50
|
-
const _sfc_main$
|
|
50
|
+
const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
|
|
51
51
|
__name: "Accordion",
|
|
52
52
|
setup(__props) {
|
|
53
53
|
const state2 = vue.reactive({
|
|
@@ -61,10 +61,10 @@ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
|
|
|
61
61
|
};
|
|
62
62
|
}
|
|
63
63
|
});
|
|
64
|
-
const _hoisted_1$
|
|
65
|
-
const _hoisted_2$
|
|
64
|
+
const _hoisted_1$X = ["aria-expanded", "aria-controls"];
|
|
65
|
+
const _hoisted_2$E = { class: "accordion-label" };
|
|
66
66
|
const _hoisted_3$u = ["id", "aria-hidden"];
|
|
67
|
-
const _sfc_main$
|
|
67
|
+
const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
|
|
68
68
|
__name: "AccordionItem",
|
|
69
69
|
props: {
|
|
70
70
|
label: {},
|
|
@@ -130,7 +130,7 @@ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
|
|
|
130
130
|
vue.createVNode(vue.unref(_sfc_main$p), { icon: computedIcon.value }, null, 8, ["icon"])
|
|
131
131
|
], 2)) : vue.createCommentVNode("", true),
|
|
132
132
|
vue.renderSlot(_ctx.$slots, "head", {}, () => [
|
|
133
|
-
vue.createElementVNode("span", _hoisted_2$
|
|
133
|
+
vue.createElementVNode("span", _hoisted_2$E, vue.toDisplayString(_ctx.label), 1)
|
|
134
134
|
], true),
|
|
135
135
|
iconPosition.value === "end" ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
136
136
|
key: 1,
|
|
@@ -138,7 +138,7 @@ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
|
|
|
138
138
|
}, [
|
|
139
139
|
vue.createVNode(vue.unref(_sfc_main$p), { icon: computedIcon.value }, null, 8, ["icon"])
|
|
140
140
|
], 2)) : vue.createCommentVNode("", true)
|
|
141
|
-
], 8, _hoisted_1$
|
|
141
|
+
], 8, _hoisted_1$X),
|
|
142
142
|
vue.createVNode(vue.Transition, { name: "expand" }, {
|
|
143
143
|
default: vue.withCtx(() => [
|
|
144
144
|
vue.unref(isOpen) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -163,9 +163,9 @@ const _export_sfc = (sfc, props2) => {
|
|
|
163
163
|
}
|
|
164
164
|
return target;
|
|
165
165
|
};
|
|
166
|
-
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
167
|
-
const _hoisted_1$
|
|
168
|
-
const _sfc_main$
|
|
166
|
+
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-3334f637"]]);
|
|
167
|
+
const _hoisted_1$W = { class: "relative" };
|
|
168
|
+
const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
|
|
169
169
|
__name: "AddressSearch",
|
|
170
170
|
emits: ["addressSelected"],
|
|
171
171
|
setup(__props, { emit: __emit }) {
|
|
@@ -187,8 +187,8 @@ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
|
|
|
187
187
|
(_a2 = suggestion.value) == null ? void 0 : _a2.show();
|
|
188
188
|
}
|
|
189
189
|
return (_ctx, _cache) => {
|
|
190
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
191
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
190
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$W, [
|
|
191
|
+
vue.createVNode(vue.unref(_sfc_main$V), {
|
|
192
192
|
ref_key: "suggestion",
|
|
193
193
|
ref: suggestion,
|
|
194
194
|
noAutoFocus: true,
|
|
@@ -223,11 +223,11 @@ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
|
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
225
|
});
|
|
226
|
-
const _hoisted_1$
|
|
226
|
+
const _hoisted_1$V = {
|
|
227
227
|
key: 1,
|
|
228
228
|
class: "bgl_btn-flex"
|
|
229
229
|
};
|
|
230
|
-
const _sfc_main$
|
|
230
|
+
const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
|
|
231
231
|
__name: "Btn",
|
|
232
232
|
props: {
|
|
233
233
|
disabled: { type: Boolean, default: false },
|
|
@@ -293,7 +293,7 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
|
|
|
293
293
|
key: 0,
|
|
294
294
|
class: "h-100p",
|
|
295
295
|
size: "15"
|
|
296
|
-
})) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
296
|
+
})) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$V, [
|
|
297
297
|
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$p), {
|
|
298
298
|
key: 0,
|
|
299
299
|
icon: _ctx.icon,
|
|
@@ -317,10 +317,10 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
|
|
|
317
317
|
};
|
|
318
318
|
}
|
|
319
319
|
});
|
|
320
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
321
|
-
const _hoisted_1$
|
|
322
|
-
const _hoisted_2$
|
|
323
|
-
const _sfc_main$
|
|
320
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-7b18a02c"]]);
|
|
321
|
+
const _hoisted_1$U = ["dismissable"];
|
|
322
|
+
const _hoisted_2$D = { class: "m-0" };
|
|
323
|
+
const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
|
|
324
324
|
__name: "Alert",
|
|
325
325
|
props: {
|
|
326
326
|
message: {},
|
|
@@ -348,7 +348,7 @@ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
|
|
|
348
348
|
size: 2,
|
|
349
349
|
color: color2[_ctx.type]
|
|
350
350
|
}, null, 8, ["icon", "color"])) : vue.createCommentVNode("", true),
|
|
351
|
-
vue.createElementVNode("p", _hoisted_2$
|
|
351
|
+
vue.createElementVNode("p", _hoisted_2$D, vue.toDisplayString(_ctx.message), 1),
|
|
352
352
|
vue.createVNode(Btn, {
|
|
353
353
|
flat: "",
|
|
354
354
|
thin: "",
|
|
@@ -356,13 +356,13 @@ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
|
|
|
356
356
|
icon: "close",
|
|
357
357
|
onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
|
|
358
358
|
})
|
|
359
|
-
], 10, _hoisted_1$
|
|
359
|
+
], 10, _hoisted_1$U)) : vue.createCommentVNode("", true);
|
|
360
360
|
};
|
|
361
361
|
}
|
|
362
362
|
});
|
|
363
|
-
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
364
|
-
const _hoisted_1$
|
|
365
|
-
const _sfc_main$
|
|
363
|
+
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-064bdd20"]]);
|
|
364
|
+
const _hoisted_1$T = ["src", "alt"];
|
|
365
|
+
const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
|
|
366
366
|
__name: "Avatar",
|
|
367
367
|
props: {
|
|
368
368
|
fallback: {},
|
|
@@ -380,7 +380,7 @@ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
|
|
|
380
380
|
key: 0,
|
|
381
381
|
src: _ctx.src,
|
|
382
382
|
alt: _ctx.name
|
|
383
|
-
}, null, 8, _hoisted_1$
|
|
383
|
+
}, null, 8, _hoisted_1$T)) : (vue.openBlock(), vue.createElementBlock("p", {
|
|
384
384
|
key: 1,
|
|
385
385
|
style: vue.normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
|
|
386
386
|
}, vue.toDisplayString((_ctx.fallback || vue.unref(initials)(_ctx.name || "")).toUpperCase()), 5))
|
|
@@ -388,8 +388,8 @@ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
|
|
|
388
388
|
};
|
|
389
389
|
}
|
|
390
390
|
});
|
|
391
|
-
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
392
|
-
const _sfc_main$
|
|
391
|
+
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-46ad8c25"]]);
|
|
392
|
+
const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
|
|
393
393
|
__name: "Badge",
|
|
394
394
|
props: {
|
|
395
395
|
color: {},
|
|
@@ -418,9 +418,9 @@ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
|
|
|
418
418
|
};
|
|
419
419
|
}
|
|
420
420
|
});
|
|
421
|
-
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
422
|
-
const _hoisted_1$
|
|
423
|
-
const _sfc_main$
|
|
421
|
+
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-689f051f"]]);
|
|
422
|
+
const _hoisted_1$S = { key: 1 };
|
|
423
|
+
const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
424
424
|
__name: "BglComponent",
|
|
425
425
|
props: {
|
|
426
426
|
field: {},
|
|
@@ -449,7 +449,7 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
|
|
|
449
449
|
if (props2.field.$el === "file") return FileUpload;
|
|
450
450
|
if (props2.field.$el === "date") return _sfc_main$K;
|
|
451
451
|
if (props2.field.$el === "tabs") return TabsNav;
|
|
452
|
-
if (props2.field.$el === "form") return _sfc_main$
|
|
452
|
+
if (props2.field.$el === "form") return _sfc_main$S;
|
|
453
453
|
return props2.field.$el ?? "div";
|
|
454
454
|
});
|
|
455
455
|
function getFieldData(path) {
|
|
@@ -566,7 +566,7 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
|
|
|
566
566
|
id: [props2.id, child.id].filter(Boolean).join("."),
|
|
567
567
|
field: child,
|
|
568
568
|
"parent-path": props2.id
|
|
569
|
-
}, null, 8, ["id", "field", "parent-path"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
569
|
+
}, null, 8, ["id", "field", "parent-path"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$S, vue.toDisplayString(child), 1))
|
|
570
570
|
], 64);
|
|
571
571
|
}), 128))
|
|
572
572
|
], 64))
|
|
@@ -576,10 +576,10 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
|
|
|
576
576
|
};
|
|
577
577
|
}
|
|
578
578
|
});
|
|
579
|
-
const _hoisted_1$
|
|
580
|
-
const _hoisted_2$
|
|
579
|
+
const _hoisted_1$R = ["src"];
|
|
580
|
+
const _hoisted_2$C = ["autoplay", "muted", "loop", "controls", "playsinline"];
|
|
581
581
|
const _hoisted_3$t = ["src", "type"];
|
|
582
|
-
const _sfc_main
|
|
582
|
+
const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
583
583
|
__name: "BglVideo",
|
|
584
584
|
props: {
|
|
585
585
|
src: {},
|
|
@@ -656,7 +656,7 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
|
656
656
|
allowfullscreen: "",
|
|
657
657
|
title: "Video",
|
|
658
658
|
allow: "autoplay"
|
|
659
|
-
}, null, 12, _hoisted_1$
|
|
659
|
+
}, null, 12, _hoisted_1$R)) : _ctx.src ? (vue.openBlock(), vue.createElementBlock("video", {
|
|
660
660
|
key: 1,
|
|
661
661
|
ref_key: "video",
|
|
662
662
|
ref: video,
|
|
@@ -671,17 +671,17 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
|
671
671
|
src: _ctx.src,
|
|
672
672
|
type: `video/${videoFormat.value}`
|
|
673
673
|
}, null, 8, _hoisted_3$t)
|
|
674
|
-
], 12, _hoisted_2$
|
|
674
|
+
], 12, _hoisted_2$C)) : vue.createCommentVNode("", true)
|
|
675
675
|
], 2);
|
|
676
676
|
};
|
|
677
677
|
}
|
|
678
678
|
});
|
|
679
|
-
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
680
|
-
const _hoisted_1$
|
|
679
|
+
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-006552f6"]]);
|
|
680
|
+
const _hoisted_1$Q = {
|
|
681
681
|
key: 0,
|
|
682
682
|
class: "card_label"
|
|
683
683
|
};
|
|
684
|
-
const _sfc_main
|
|
684
|
+
const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
685
685
|
__name: "Card",
|
|
686
686
|
props: {
|
|
687
687
|
label: {},
|
|
@@ -710,7 +710,7 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
|
710
710
|
}])
|
|
711
711
|
}, {
|
|
712
712
|
default: vue.withCtx(() => [
|
|
713
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
713
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$Q, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
|
|
714
714
|
vue.renderSlot(_ctx.$slots, "default")
|
|
715
715
|
]),
|
|
716
716
|
_: 3
|
|
@@ -720,8 +720,8 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
|
720
720
|
};
|
|
721
721
|
}
|
|
722
722
|
});
|
|
723
|
-
const _hoisted_1$
|
|
724
|
-
const _hoisted_2$
|
|
723
|
+
const _hoisted_1$P = ["dir"];
|
|
724
|
+
const _hoisted_2$B = {
|
|
725
725
|
key: 0,
|
|
726
726
|
class: "dots"
|
|
727
727
|
};
|
|
@@ -729,7 +729,7 @@ const _hoisted_3$s = ["onClick"];
|
|
|
729
729
|
const _hoisted_4$j = { class: "Handlers" };
|
|
730
730
|
const GAP_PERCENT = 1;
|
|
731
731
|
const VELOCITY_SAMPLE_DURATION = 100;
|
|
732
|
-
const _sfc_main$
|
|
732
|
+
const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
733
733
|
__name: "Carousel",
|
|
734
734
|
props: {
|
|
735
735
|
autoHeight: { type: Boolean, default: false },
|
|
@@ -900,6 +900,7 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
|
900
900
|
});
|
|
901
901
|
}
|
|
902
902
|
function startDrag(e) {
|
|
903
|
+
e.stopPropagation();
|
|
903
904
|
if (e.button !== 0 || !props2.freeDrag || !isSliderAvailable.value) return;
|
|
904
905
|
clearAutoplay();
|
|
905
906
|
startX.value = e.pageX;
|
|
@@ -1148,7 +1149,7 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
|
1148
1149
|
}, [
|
|
1149
1150
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
1150
1151
|
], 38),
|
|
1151
|
-
props2.dots && vue.unref(slideCount) > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
1152
|
+
props2.dots && vue.unref(slideCount) > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$B, [
|
|
1152
1153
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(slideCount), (i2) => {
|
|
1153
1154
|
return vue.openBlock(), vue.createElementBlock("span", {
|
|
1154
1155
|
key: i2,
|
|
@@ -1171,11 +1172,11 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
|
1171
1172
|
}, void 0, true)
|
|
1172
1173
|
])
|
|
1173
1174
|
])
|
|
1174
|
-
], 14, _hoisted_1$
|
|
1175
|
+
], 14, _hoisted_1$P);
|
|
1175
1176
|
};
|
|
1176
1177
|
}
|
|
1177
1178
|
});
|
|
1178
|
-
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1179
|
+
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-1ae4b9ae"]]);
|
|
1179
1180
|
function _isPlaceholder(a2) {
|
|
1180
1181
|
return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
|
|
1181
1182
|
}
|
|
@@ -7119,25 +7120,25 @@ var script = vue.defineComponent({
|
|
|
7119
7120
|
return { bar, canvas, direction, mouse };
|
|
7120
7121
|
}
|
|
7121
7122
|
});
|
|
7122
|
-
const _hoisted_1$
|
|
7123
|
+
const _hoisted_1$O = {
|
|
7123
7124
|
key: 0,
|
|
7124
7125
|
class: "layer-hover-bar"
|
|
7125
7126
|
};
|
|
7126
|
-
const _hoisted_2$
|
|
7127
|
+
const _hoisted_2$A = ["x", "y", "width", "height"];
|
|
7127
7128
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7128
|
-
return _ctx.mouse.hover ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$
|
|
7129
|
+
return _ctx.mouse.hover ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$O, [
|
|
7129
7130
|
vue.createElementVNode("rect", vue.mergeProps({ class: "hover-bar" }, _ctx.barStyle, {
|
|
7130
7131
|
x: _ctx.bar.x,
|
|
7131
7132
|
y: _ctx.bar.y,
|
|
7132
7133
|
width: _ctx.bar.width > 0 ? _ctx.bar.width : 0,
|
|
7133
7134
|
height: _ctx.bar.height > 0 ? _ctx.bar.height : 0
|
|
7134
|
-
}), null, 16, _hoisted_2$
|
|
7135
|
+
}), null, 16, _hoisted_2$A)
|
|
7135
7136
|
])) : vue.createCommentVNode("v-if", true);
|
|
7136
7137
|
}
|
|
7137
7138
|
script.render = render;
|
|
7138
7139
|
script.__file = "src/components/HoverBar/index.vue";
|
|
7139
7140
|
const BRAND_COLOR = "var(--bgl-primary)";
|
|
7140
|
-
const _sfc_main$
|
|
7141
|
+
const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
|
|
7141
7142
|
__name: "Lineart",
|
|
7142
7143
|
props: {
|
|
7143
7144
|
data: {},
|
|
@@ -7277,11 +7278,11 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
|
7277
7278
|
};
|
|
7278
7279
|
}
|
|
7279
7280
|
});
|
|
7280
|
-
const _hoisted_1$
|
|
7281
|
+
const _hoisted_1$N = {
|
|
7281
7282
|
key: 0,
|
|
7282
7283
|
class: "data"
|
|
7283
7284
|
};
|
|
7284
|
-
const _hoisted_2$
|
|
7285
|
+
const _hoisted_2$z = {
|
|
7285
7286
|
key: 0,
|
|
7286
7287
|
class: "data-row m_py-05"
|
|
7287
7288
|
};
|
|
@@ -7298,7 +7299,7 @@ const _hoisted_9$5 = {
|
|
|
7298
7299
|
key: 0,
|
|
7299
7300
|
class: "m-0"
|
|
7300
7301
|
};
|
|
7301
|
-
const _sfc_main$
|
|
7302
|
+
const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
|
|
7302
7303
|
__name: "DataPreview",
|
|
7303
7304
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
7304
7305
|
showFields: {},
|
|
@@ -7334,7 +7335,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
|
|
|
7334
7335
|
const computedSchema = vue.computed(() => getFallbackSchema([itemData.value], props2.showFields));
|
|
7335
7336
|
return (_ctx, _cache) => {
|
|
7336
7337
|
var _a2;
|
|
7337
|
-
return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
7338
|
+
return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$N, [
|
|
7338
7339
|
_ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$4), {
|
|
7339
7340
|
key: 0,
|
|
7340
7341
|
label: _ctx.title
|
|
@@ -7343,11 +7344,11 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
|
|
|
7343
7344
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
7344
7345
|
key: field.id
|
|
7345
7346
|
}, [
|
|
7346
|
-
vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
7347
|
+
vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$z, [
|
|
7347
7348
|
vue.createElementVNode("div", _hoisted_3$q, [
|
|
7348
7349
|
vue.createElementVNode("p", _hoisted_4$h, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1)
|
|
7349
7350
|
]),
|
|
7350
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
7351
|
+
vue.createVNode(vue.unref(_sfc_main$Q), {
|
|
7351
7352
|
modelValue: itemData.value,
|
|
7352
7353
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => itemData.value = $event),
|
|
7353
7354
|
label: "",
|
|
@@ -7376,7 +7377,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
|
|
|
7376
7377
|
};
|
|
7377
7378
|
}
|
|
7378
7379
|
});
|
|
7379
|
-
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7380
|
+
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-6c27f163"]]);
|
|
7380
7381
|
const NON_DIGIT_REGEX = /[^\d.-]/g;
|
|
7381
7382
|
function useTableData(options) {
|
|
7382
7383
|
const sortField = vue.ref("");
|
|
@@ -8075,11 +8076,11 @@ function useTableVirtualization(options) {
|
|
|
8075
8076
|
registerLastItemObserver
|
|
8076
8077
|
};
|
|
8077
8078
|
}
|
|
8078
|
-
const _hoisted_1$
|
|
8079
|
+
const _hoisted_1$M = {
|
|
8079
8080
|
key: 0,
|
|
8080
8081
|
class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
|
|
8081
8082
|
};
|
|
8082
|
-
const _hoisted_2$
|
|
8083
|
+
const _hoisted_2$y = { class: "infinite-wrapper" };
|
|
8083
8084
|
const _hoisted_3$p = { class: "row first-row" };
|
|
8084
8085
|
const _hoisted_4$g = { key: 0 };
|
|
8085
8086
|
const _hoisted_5$f = ["onClick"];
|
|
@@ -8088,7 +8089,7 @@ const _hoisted_7$8 = ["onClick"];
|
|
|
8088
8089
|
const _hoisted_8$5 = { key: 0 };
|
|
8089
8090
|
const _hoisted_9$4 = ["value"];
|
|
8090
8091
|
const _hoisted_10$4 = { key: 1 };
|
|
8091
|
-
const _sfc_main$
|
|
8092
|
+
const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
|
|
8092
8093
|
__name: "DataTable",
|
|
8093
8094
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
8094
8095
|
data: {},
|
|
@@ -8196,10 +8197,10 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
|
|
|
8196
8197
|
return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({ class: "table-list-wrap h-100" }, vue.unref(containerProps), {
|
|
8197
8198
|
class: { "loading-table": loading.value }
|
|
8198
8199
|
}), [
|
|
8199
|
-
loading.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
8200
|
+
loading.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$M, _cache[4] || (_cache[4] = [
|
|
8200
8201
|
vue.createElementVNode("div", { class: "loading-table-animation absolute oval" }, null, -1)
|
|
8201
8202
|
]))) : (vue.openBlock(), vue.createElementBlock("div", vue.normalizeProps(vue.mergeProps({ key: 1 }, vue.unref(wrapperProps))), [
|
|
8202
|
-
vue.createElementVNode("table", _hoisted_2$
|
|
8203
|
+
vue.createElementVNode("table", _hoisted_2$y, [
|
|
8203
8204
|
vue.createElementVNode("thead", _hoisted_3$p, [
|
|
8204
8205
|
vue.unref(isSelectable) ? (vue.openBlock(), vue.createElementBlock("th", _hoisted_4$g, [
|
|
8205
8206
|
vue.createElementVNode("input", {
|
|
@@ -8263,7 +8264,7 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
|
|
|
8263
8264
|
row,
|
|
8264
8265
|
field
|
|
8265
8266
|
}, void 0, true) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_10$4, [
|
|
8266
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
8267
|
+
vue.createVNode(vue.unref(_sfc_main$10), {
|
|
8267
8268
|
id: field.id,
|
|
8268
8269
|
class: "embedded-field",
|
|
8269
8270
|
field,
|
|
@@ -8288,7 +8289,7 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
|
|
|
8288
8289
|
};
|
|
8289
8290
|
}
|
|
8290
8291
|
});
|
|
8291
|
-
const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8292
|
+
const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-cf461a0e"]]);
|
|
8292
8293
|
const sides = ["top", "right", "bottom", "left"];
|
|
8293
8294
|
const alignments = ["start", "end"];
|
|
8294
8295
|
const placements = /* @__PURE__ */ sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
|
|
@@ -10835,7 +10836,7 @@ const Gt$1 = {
|
|
|
10835
10836
|
install: Ct$1,
|
|
10836
10837
|
options: h
|
|
10837
10838
|
};
|
|
10838
|
-
const _sfc_main$
|
|
10839
|
+
const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
|
|
10839
10840
|
__name: "Dropdown",
|
|
10840
10841
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
10841
10842
|
value: {},
|
|
@@ -10913,9 +10914,9 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
|
|
|
10913
10914
|
};
|
|
10914
10915
|
}
|
|
10915
10916
|
});
|
|
10916
|
-
const _hoisted_1$
|
|
10917
|
-
const _hoisted_2$
|
|
10918
|
-
const _sfc_main$
|
|
10917
|
+
const _hoisted_1$L = { class: "px-1 pt-025 pb-1" };
|
|
10918
|
+
const _hoisted_2$x = { class: "ms-1" };
|
|
10919
|
+
const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
|
|
10919
10920
|
__name: "FieldSetVue",
|
|
10920
10921
|
props: {
|
|
10921
10922
|
label: {},
|
|
@@ -10923,15 +10924,15 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
|
|
|
10923
10924
|
},
|
|
10924
10925
|
setup(__props) {
|
|
10925
10926
|
return (_ctx, _cache) => {
|
|
10926
|
-
return vue.openBlock(), vue.createElementBlock("fieldset", _hoisted_1$
|
|
10927
|
-
vue.createElementVNode("legend", _hoisted_2$
|
|
10927
|
+
return vue.openBlock(), vue.createElementBlock("fieldset", _hoisted_1$L, [
|
|
10928
|
+
vue.createElementVNode("legend", _hoisted_2$x, vue.toDisplayString(_ctx.legend || _ctx.label), 1),
|
|
10928
10929
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
10929
10930
|
]);
|
|
10930
10931
|
};
|
|
10931
10932
|
}
|
|
10932
10933
|
});
|
|
10933
|
-
const FieldSetVue = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10934
|
-
const _sfc_main$
|
|
10934
|
+
const FieldSetVue = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-f7e758e5"]]);
|
|
10935
|
+
const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
10935
10936
|
__name: "Flag",
|
|
10936
10937
|
props: {
|
|
10937
10938
|
country: {},
|
|
@@ -10961,8 +10962,8 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
|
|
|
10961
10962
|
};
|
|
10962
10963
|
}
|
|
10963
10964
|
});
|
|
10964
|
-
const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10965
|
-
const _sfc_main$
|
|
10965
|
+
const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-f99f1900"]]);
|
|
10966
|
+
const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
10966
10967
|
__name: "BagelForm",
|
|
10967
10968
|
props: {
|
|
10968
10969
|
modelValue: { default: () => ({}) },
|
|
@@ -11002,7 +11003,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
|
|
|
11002
11003
|
file: FileUpload,
|
|
11003
11004
|
date: _sfc_main$K,
|
|
11004
11005
|
tabs: TabsNav,
|
|
11005
|
-
bglform: _sfc_main$
|
|
11006
|
+
bglform: _sfc_main$S
|
|
11006
11007
|
};
|
|
11007
11008
|
if (field.$el === "textarea" && !((_a2 = field.attrs) == null ? void 0 : _a2.multiline)) {
|
|
11008
11009
|
field.attrs = { ...field.attrs, multiline: true };
|
|
@@ -11118,8 +11119,8 @@ function useTabs(group) {
|
|
|
11118
11119
|
});
|
|
11119
11120
|
return { currentTab };
|
|
11120
11121
|
}
|
|
11121
|
-
const _hoisted_1$
|
|
11122
|
-
const _sfc_main$
|
|
11122
|
+
const _hoisted_1$K = ["onClick"];
|
|
11123
|
+
const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
11123
11124
|
__name: "TabsNav",
|
|
11124
11125
|
props: {
|
|
11125
11126
|
title: {},
|
|
@@ -11201,14 +11202,14 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
|
|
|
11201
11202
|
icon: tab.icon
|
|
11202
11203
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
11203
11204
|
vue.createTextVNode(" " + vue.toDisplayString(tabLabel(tab)), 1)
|
|
11204
|
-
], 10, _hoisted_1$
|
|
11205
|
+
], 10, _hoisted_1$K);
|
|
11205
11206
|
}), 128))
|
|
11206
11207
|
], true)
|
|
11207
11208
|
], 2);
|
|
11208
11209
|
};
|
|
11209
11210
|
}
|
|
11210
11211
|
});
|
|
11211
|
-
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11212
|
+
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-e680c2a4"]]);
|
|
11212
11213
|
const FORM_STATE_KEY = Symbol("bagelFormState");
|
|
11213
11214
|
function safeClone(obj) {
|
|
11214
11215
|
if (obj === null || typeof obj !== "object") return obj;
|
|
@@ -11270,8 +11271,8 @@ function useBagelFormState() {
|
|
|
11270
11271
|
if (!state2) throw new Error("BagelFormState must be provided");
|
|
11271
11272
|
return state2;
|
|
11272
11273
|
}
|
|
11273
|
-
const _hoisted_1$
|
|
11274
|
-
const _sfc_main$
|
|
11274
|
+
const _hoisted_1$J = { key: 1 };
|
|
11275
|
+
const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
11275
11276
|
__name: "BglField",
|
|
11276
11277
|
props: {
|
|
11277
11278
|
field: {},
|
|
@@ -11301,7 +11302,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
11301
11302
|
if (props2.field.$el === "file") return FileUpload;
|
|
11302
11303
|
if (props2.field.$el === "date") return _sfc_main$K;
|
|
11303
11304
|
if (props2.field.$el === "tabs") return TabsNav;
|
|
11304
|
-
if (props2.field.$el === "bglform") return _sfc_main$
|
|
11305
|
+
if (props2.field.$el === "bglform") return _sfc_main$S;
|
|
11305
11306
|
return props2.field.$el ?? "div";
|
|
11306
11307
|
});
|
|
11307
11308
|
const fieldData = vue.computed({
|
|
@@ -11366,7 +11367,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
11366
11367
|
fieldID: [props2.fieldID, child.id].filter(Boolean).join("."),
|
|
11367
11368
|
field: child,
|
|
11368
11369
|
"parent-path": props2.fieldID
|
|
11369
|
-
}, null, 8, ["fieldID", "field", "parent-path"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
11370
|
+
}, null, 8, ["fieldID", "field", "parent-path"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$J, vue.toDisplayString(child), 1))
|
|
11370
11371
|
], 64);
|
|
11371
11372
|
}), 128))
|
|
11372
11373
|
]),
|
|
@@ -11375,151 +11376,8 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
11375
11376
|
};
|
|
11376
11377
|
}
|
|
11377
11378
|
});
|
|
11378
|
-
const
|
|
11379
|
-
|
|
11380
|
-
props: {
|
|
11381
|
-
label: {},
|
|
11382
|
-
fieldID: {},
|
|
11383
|
-
schema: {},
|
|
11384
|
-
modelValue: { default: () => ({}) },
|
|
11385
|
-
onDelete: {},
|
|
11386
|
-
onSubmit: {},
|
|
11387
|
-
status: {},
|
|
11388
|
-
tag: { default: "form" }
|
|
11389
|
-
},
|
|
11390
|
-
emits: ["update:modelValue", "submit", "dirty"],
|
|
11391
|
-
setup(__props, { expose: __expose, emit: __emit }) {
|
|
11392
|
-
const props2 = __props;
|
|
11393
|
-
const emit2 = __emit;
|
|
11394
|
-
const slots = vue.useSlots();
|
|
11395
|
-
const { showModal } = useModal();
|
|
11396
|
-
const existingFormState = vue.inject(FORM_STATE_KEY);
|
|
11397
|
-
const isNested = Boolean(existingFormState && props2.fieldID);
|
|
11398
|
-
const { data: data2, isDirty } = isNested ? existingFormState : provideBagelFormState(props2.modelValue);
|
|
11399
|
-
let emitDirty = vue.ref(false);
|
|
11400
|
-
if (!isNested) {
|
|
11401
|
-
vue.watch(() => props2.modelValue, (newVal) => {
|
|
11402
|
-
if (emitDirty.value) {
|
|
11403
|
-
emitDirty.value = false;
|
|
11404
|
-
return;
|
|
11405
|
-
}
|
|
11406
|
-
data2.value = newVal;
|
|
11407
|
-
}, { deep: true, immediate: true });
|
|
11408
|
-
vue.watch(() => data2.value, (newVal) => {
|
|
11409
|
-
if (emitDirty.value) return;
|
|
11410
|
-
emitDirty.value = true;
|
|
11411
|
-
emit2("dirty");
|
|
11412
|
-
emit2("update:modelValue", newVal);
|
|
11413
|
-
}, { deep: true });
|
|
11414
|
-
}
|
|
11415
|
-
const form = vue.ref();
|
|
11416
|
-
function validateForm() {
|
|
11417
|
-
setTimeout(() => {
|
|
11418
|
-
var _a2;
|
|
11419
|
-
return (_a2 = form.value) == null ? void 0 : _a2.reportValidity();
|
|
11420
|
-
}, 300);
|
|
11421
|
-
if (!form.value) return false;
|
|
11422
|
-
return form.value.reportValidity();
|
|
11423
|
-
}
|
|
11424
|
-
function clearForm() {
|
|
11425
|
-
if (!isNested) {
|
|
11426
|
-
data2.value = {};
|
|
11427
|
-
}
|
|
11428
|
-
}
|
|
11429
|
-
vue.watch(
|
|
11430
|
-
() => props2.status,
|
|
11431
|
-
(status) => {
|
|
11432
|
-
if (status === "success" && !isNested) {
|
|
11433
|
-
isDirty.value = false;
|
|
11434
|
-
clearForm();
|
|
11435
|
-
}
|
|
11436
|
-
},
|
|
11437
|
-
{ immediate: true }
|
|
11438
|
-
);
|
|
11439
|
-
function runSubmit() {
|
|
11440
|
-
const isValid2 = validateForm();
|
|
11441
|
-
if (!isValid2) return;
|
|
11442
|
-
emit2("submit", { ...data2.value });
|
|
11443
|
-
if (!isNested) {
|
|
11444
|
-
isDirty.value = false;
|
|
11445
|
-
}
|
|
11446
|
-
}
|
|
11447
|
-
const i18nT = (val) => val;
|
|
11448
|
-
function deleteItem() {
|
|
11449
|
-
showModal(
|
|
11450
|
-
{
|
|
11451
|
-
class: "small-modal",
|
|
11452
|
-
title: i18nT("Are you sure?"),
|
|
11453
|
-
actions: [
|
|
11454
|
-
{
|
|
11455
|
-
value: "Confirm",
|
|
11456
|
-
color: "red",
|
|
11457
|
-
onClick: () => {
|
|
11458
|
-
var _a2;
|
|
11459
|
-
return (_a2 = props2.onDelete) == null ? void 0 : _a2.call(props2, data2.value.id);
|
|
11460
|
-
}
|
|
11461
|
-
},
|
|
11462
|
-
{ value: "Cancel", color: "gray" }
|
|
11463
|
-
]
|
|
11464
|
-
},
|
|
11465
|
-
{ default: i18nT("form.deleteMessage") }
|
|
11466
|
-
);
|
|
11467
|
-
}
|
|
11468
|
-
const computedSchema = vue.computed(() => useBglSchema({ schema: props2.schema }));
|
|
11469
|
-
__expose({
|
|
11470
|
-
submit: runSubmit,
|
|
11471
|
-
validateForm,
|
|
11472
|
-
deleteItem,
|
|
11473
|
-
isDirty,
|
|
11474
|
-
clearForm
|
|
11475
|
-
});
|
|
11476
|
-
return (_ctx, _cache) => {
|
|
11477
|
-
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
11478
|
-
_ctx.tag === "template" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
11479
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, (field, i2) => {
|
|
11480
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), {
|
|
11481
|
-
key: field.id || `${i2}p`,
|
|
11482
|
-
fieldID: field.id,
|
|
11483
|
-
field
|
|
11484
|
-
}, null, 8, ["fieldID", "field"]);
|
|
11485
|
-
}), 128)),
|
|
11486
|
-
vue.renderSlot(_ctx.$slots, "submit", {
|
|
11487
|
-
submit: runSubmit,
|
|
11488
|
-
isDirty: vue.unref(isDirty),
|
|
11489
|
-
validateForm
|
|
11490
|
-
})
|
|
11491
|
-
], 64)) : !vue.unref(slots).success || _ctx.status !== "success" ? (vue.openBlock(), vue.createElementBlock("form", {
|
|
11492
|
-
key: 1,
|
|
11493
|
-
ref_key: "form",
|
|
11494
|
-
ref: form,
|
|
11495
|
-
onSubmit: vue.withModifiers(runSubmit, ["prevent"])
|
|
11496
|
-
}, [
|
|
11497
|
-
_ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$4), {
|
|
11498
|
-
key: 0,
|
|
11499
|
-
tag: "h4",
|
|
11500
|
-
label: _ctx.label
|
|
11501
|
-
}, null, 8, ["label"])) : vue.createCommentVNode("", true),
|
|
11502
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, (field, i2) => {
|
|
11503
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), {
|
|
11504
|
-
key: field.id || `${i2}p`,
|
|
11505
|
-
fieldID: field.id,
|
|
11506
|
-
field
|
|
11507
|
-
}, null, 8, ["fieldID", "field"]);
|
|
11508
|
-
}), 128)),
|
|
11509
|
-
vue.renderSlot(_ctx.$slots, "submit", {
|
|
11510
|
-
submit: runSubmit,
|
|
11511
|
-
isDirty: vue.unref(isDirty),
|
|
11512
|
-
validateForm
|
|
11513
|
-
})
|
|
11514
|
-
], 544)) : vue.createCommentVNode("", true),
|
|
11515
|
-
_ctx.status === "success" ? vue.renderSlot(_ctx.$slots, "success", { key: 2 }) : vue.createCommentVNode("", true),
|
|
11516
|
-
_ctx.status === "error" ? vue.renderSlot(_ctx.$slots, "error", { key: 3 }) : vue.createCommentVNode("", true)
|
|
11517
|
-
], 64);
|
|
11518
|
-
};
|
|
11519
|
-
}
|
|
11520
|
-
});
|
|
11521
|
-
const _hoisted_1$H = { class: "label mb-05" };
|
|
11522
|
-
const _hoisted_2$v = {
|
|
11379
|
+
const _hoisted_1$I = { class: "label mb-05" };
|
|
11380
|
+
const _hoisted_2$w = {
|
|
11523
11381
|
key: 0,
|
|
11524
11382
|
class: "-ms-05 ps-05 border-start"
|
|
11525
11383
|
};
|
|
@@ -11580,8 +11438,8 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
11580
11438
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
11581
11439
|
class: vue.normalizeClass(props2.class)
|
|
11582
11440
|
}, [
|
|
11583
|
-
vue.createElementVNode("p", _hoisted_1$
|
|
11584
|
-
_ctx.schema ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
11441
|
+
vue.createElementVNode("p", _hoisted_1$I, vue.toDisplayString(_ctx.label), 1),
|
|
11442
|
+
_ctx.schema ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$w, [
|
|
11585
11443
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(data2.value, (_2, i2) => {
|
|
11586
11444
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
11587
11445
|
key: i2,
|
|
@@ -11589,7 +11447,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
11589
11447
|
thin: "",
|
|
11590
11448
|
class: "mb-05 itemBox transition p-05"
|
|
11591
11449
|
}, [
|
|
11592
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
11450
|
+
vue.createVNode(vue.unref(_sfc_main$S), {
|
|
11593
11451
|
modelValue: data2.value[i2],
|
|
11594
11452
|
"onUpdate:modelValue": [($event) => data2.value[i2] = $event, emitValue],
|
|
11595
11453
|
schema: _ctx.schema
|
|
@@ -11619,7 +11477,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
11619
11477
|
_: 1
|
|
11620
11478
|
})) : vue.createCommentVNode("", true)
|
|
11621
11479
|
])) : (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 1 }, vue.renderList(data2.value, (_2, i2) => {
|
|
11622
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
11480
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$Q), {
|
|
11623
11481
|
key: i2,
|
|
11624
11482
|
modelValue: data2.value[i2],
|
|
11625
11483
|
"onUpdate:modelValue": [($event) => data2.value[i2] = $event, emitValue],
|
|
@@ -11630,7 +11488,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
|
11630
11488
|
};
|
|
11631
11489
|
}
|
|
11632
11490
|
});
|
|
11633
|
-
const _hoisted_1$
|
|
11491
|
+
const _hoisted_1$H = { class: "primary-checkbox" };
|
|
11634
11492
|
const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
11635
11493
|
__name: "Checkbox",
|
|
11636
11494
|
props: {
|
|
@@ -11641,7 +11499,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
|
11641
11499
|
setup(__props) {
|
|
11642
11500
|
const val = vue.useModel(__props, "modelValue");
|
|
11643
11501
|
return (_ctx, _cache) => {
|
|
11644
|
-
return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$
|
|
11502
|
+
return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$H, [
|
|
11645
11503
|
vue.renderSlot(_ctx.$slots, "label", {}, void 0, true),
|
|
11646
11504
|
vue.withDirectives(vue.createElementVNode("input", {
|
|
11647
11505
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
|
|
@@ -11654,8 +11512,8 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
|
11654
11512
|
}
|
|
11655
11513
|
});
|
|
11656
11514
|
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-73f1d9ad"]]);
|
|
11657
|
-
const _hoisted_1$
|
|
11658
|
-
const _hoisted_2$
|
|
11515
|
+
const _hoisted_1$G = ["title"];
|
|
11516
|
+
const _hoisted_2$v = ["id", "value", "required"];
|
|
11659
11517
|
const _hoisted_3$o = ["for"];
|
|
11660
11518
|
const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
11661
11519
|
__name: "CheckInput",
|
|
@@ -11691,7 +11549,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
11691
11549
|
required: _ctx.required,
|
|
11692
11550
|
type: "checkbox",
|
|
11693
11551
|
class: "me-05"
|
|
11694
|
-
}, null, 8, _hoisted_2$
|
|
11552
|
+
}, null, 8, _hoisted_2$v), [
|
|
11695
11553
|
[vue.vModelCheckbox, checked.value]
|
|
11696
11554
|
]),
|
|
11697
11555
|
vue.createElementVNode("label", { for: inputId.value }, [
|
|
@@ -11699,13 +11557,13 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
|
11699
11557
|
vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
|
|
11700
11558
|
], true)
|
|
11701
11559
|
], 8, _hoisted_3$o)
|
|
11702
|
-
], 10, _hoisted_1$
|
|
11560
|
+
], 10, _hoisted_1$G);
|
|
11703
11561
|
};
|
|
11704
11562
|
}
|
|
11705
11563
|
});
|
|
11706
11564
|
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-03ed2982"]]);
|
|
11707
|
-
const _hoisted_1$
|
|
11708
|
-
const _hoisted_2$
|
|
11565
|
+
const _hoisted_1$F = { class: "mb-05" };
|
|
11566
|
+
const _hoisted_2$u = {
|
|
11709
11567
|
key: 0,
|
|
11710
11568
|
class: "label txt-start"
|
|
11711
11569
|
};
|
|
@@ -11798,8 +11656,8 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
11798
11656
|
}
|
|
11799
11657
|
}, { immediate: true });
|
|
11800
11658
|
return (_ctx, _cache) => {
|
|
11801
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
11802
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
11659
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$F, [
|
|
11660
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$u, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
|
|
11803
11661
|
vue.unref(loaded) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$n, [
|
|
11804
11662
|
vue.createElementVNode("div", {
|
|
11805
11663
|
class: "relative block h-100",
|
|
@@ -11835,8 +11693,8 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
11835
11693
|
}
|
|
11836
11694
|
});
|
|
11837
11695
|
const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-1fbc9b61"]]);
|
|
11838
|
-
const _hoisted_1$
|
|
11839
|
-
const _hoisted_2$
|
|
11696
|
+
const _hoisted_1$E = ["title"];
|
|
11697
|
+
const _hoisted_2$t = ["id", "placeholder", "required"];
|
|
11840
11698
|
const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
11841
11699
|
__name: "ColorPicker",
|
|
11842
11700
|
props: {
|
|
@@ -11875,11 +11733,11 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
|
11875
11733
|
placeholder: _ctx.placeholder || _ctx.label,
|
|
11876
11734
|
class: { "no-edit": !_ctx.editMode },
|
|
11877
11735
|
required: _ctx.required
|
|
11878
|
-
}, _ctx.nativeInputAttrs), null, 16, _hoisted_2$
|
|
11736
|
+
}, _ctx.nativeInputAttrs), null, 16, _hoisted_2$t), [
|
|
11879
11737
|
[vue.vModelText, inputVal.value]
|
|
11880
11738
|
])
|
|
11881
11739
|
])
|
|
11882
|
-
], 10, _hoisted_1$
|
|
11740
|
+
], 10, _hoisted_1$E)) : vue.createCommentVNode("", true);
|
|
11883
11741
|
};
|
|
11884
11742
|
}
|
|
11885
11743
|
});
|
|
@@ -20437,8 +20295,8 @@ const eo = ({
|
|
|
20437
20295
|
Object.entries(go).forEach(([e, t]) => {
|
|
20438
20296
|
e !== "default" && (Hn[e] = t);
|
|
20439
20297
|
});
|
|
20440
|
-
const _hoisted_1$
|
|
20441
|
-
const _hoisted_2$
|
|
20298
|
+
const _hoisted_1$D = ["title"];
|
|
20299
|
+
const _hoisted_2$s = { key: 0 };
|
|
20442
20300
|
const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
20443
20301
|
__name: "DateInput",
|
|
20444
20302
|
props: {
|
|
@@ -20481,7 +20339,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
20481
20339
|
class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
20482
20340
|
title: _ctx.label
|
|
20483
20341
|
}, [
|
|
20484
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
20342
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$s, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
|
|
20485
20343
|
vue.createVNode(vue.unref(Hn), vue.mergeProps({
|
|
20486
20344
|
ref_key: "datePicker",
|
|
20487
20345
|
ref: datePicker,
|
|
@@ -20497,12 +20355,12 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
20497
20355
|
"minutes-grid-increment": _ctx.minutesGridIncrement,
|
|
20498
20356
|
"start-time": { hours: 8, minutes: 0 }
|
|
20499
20357
|
}), null, 16, ["modelValue", "required", "enable-time-picker", "allowed-dates", "time-picker-inline", "minutes-increment", "minutes-grid-increment"])
|
|
20500
|
-
], 10, _hoisted_1$
|
|
20358
|
+
], 10, _hoisted_1$D);
|
|
20501
20359
|
};
|
|
20502
20360
|
}
|
|
20503
20361
|
});
|
|
20504
|
-
const _hoisted_1$
|
|
20505
|
-
const _hoisted_2$
|
|
20362
|
+
const _hoisted_1$C = ["title"];
|
|
20363
|
+
const _hoisted_2$r = { key: 0 };
|
|
20506
20364
|
const _hoisted_3$m = {
|
|
20507
20365
|
key: 0,
|
|
20508
20366
|
class: "required"
|
|
@@ -20519,16 +20377,16 @@ const _hoisted_11$3 = {
|
|
|
20519
20377
|
class: "calendar-grid grid gap-025"
|
|
20520
20378
|
};
|
|
20521
20379
|
const _hoisted_12$3 = ["disabled", "onClick"];
|
|
20522
|
-
const _hoisted_13$
|
|
20380
|
+
const _hoisted_13$2 = {
|
|
20523
20381
|
key: 1,
|
|
20524
20382
|
class: "month-grid grid gap-05 p-05"
|
|
20525
20383
|
};
|
|
20526
20384
|
const _hoisted_14$2 = ["disabled", "onClick"];
|
|
20527
|
-
const _hoisted_15$
|
|
20385
|
+
const _hoisted_15$2 = {
|
|
20528
20386
|
key: 2,
|
|
20529
20387
|
class: "year-grid grid gap-05 p-0"
|
|
20530
20388
|
};
|
|
20531
|
-
const _hoisted_16 = ["disabled", "onClick"];
|
|
20389
|
+
const _hoisted_16$2 = ["disabled", "onClick"];
|
|
20532
20390
|
const _hoisted_17 = {
|
|
20533
20391
|
key: 0,
|
|
20534
20392
|
class: "time-picker flex column gap-1 w-120px"
|
|
@@ -20708,7 +20566,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
20708
20566
|
class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
20709
20567
|
title: _ctx.label
|
|
20710
20568
|
}, [
|
|
20711
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
20569
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$r, [
|
|
20712
20570
|
vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
|
|
20713
20571
|
_ctx.required ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$m, "*")) : vue.createCommentVNode("", true)
|
|
20714
20572
|
])) : vue.createCommentVNode("", true),
|
|
@@ -20791,7 +20649,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
20791
20649
|
onClick: ($event) => selectDate(date2)
|
|
20792
20650
|
}, vue.toDisplayString(date2 == null ? void 0 : date2.getDate()), 11, _hoisted_12$3);
|
|
20793
20651
|
}), 128))
|
|
20794
|
-
])) : vue.unref(currentView) === "months" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_13$
|
|
20652
|
+
])) : vue.unref(currentView) === "months" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_13$2, [
|
|
20795
20653
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(months.value, (month) => {
|
|
20796
20654
|
return vue.openBlock(), vue.createElementBlock("button", {
|
|
20797
20655
|
key: month.value,
|
|
@@ -20803,7 +20661,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
20803
20661
|
onClick: ($event) => selectMonth(month.value)
|
|
20804
20662
|
}, vue.toDisplayString(month.name), 11, _hoisted_14$2);
|
|
20805
20663
|
}), 128))
|
|
20806
|
-
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_15$
|
|
20664
|
+
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_15$2, [
|
|
20807
20665
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(years.value, (year) => {
|
|
20808
20666
|
return vue.openBlock(), vue.createElementBlock("button", {
|
|
20809
20667
|
key: year.value,
|
|
@@ -20813,7 +20671,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
20813
20671
|
}]),
|
|
20814
20672
|
disabled: year.disabled,
|
|
20815
20673
|
onClick: ($event) => selectYear(year.value)
|
|
20816
|
-
}, vue.toDisplayString(year.value), 11, _hoisted_16);
|
|
20674
|
+
}, vue.toDisplayString(year.value), 11, _hoisted_16$2);
|
|
20817
20675
|
}), 128))
|
|
20818
20676
|
]))
|
|
20819
20677
|
]),
|
|
@@ -20872,13 +20730,13 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
|
20872
20730
|
]),
|
|
20873
20731
|
_: 1
|
|
20874
20732
|
}, 8, ["shown"])
|
|
20875
|
-
], 10, _hoisted_1$
|
|
20733
|
+
], 10, _hoisted_1$C);
|
|
20876
20734
|
};
|
|
20877
20735
|
}
|
|
20878
20736
|
});
|
|
20879
20737
|
const DatePick = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-8de3f3c6"]]);
|
|
20880
|
-
const _hoisted_1$
|
|
20881
|
-
const _hoisted_2$
|
|
20738
|
+
const _hoisted_1$B = { class: "datetime-wrap" };
|
|
20739
|
+
const _hoisted_2$q = { class: "date-wrap" };
|
|
20882
20740
|
const _hoisted_3$l = {
|
|
20883
20741
|
key: 0,
|
|
20884
20742
|
class: "time-wrap"
|
|
@@ -20913,8 +20771,8 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
|
20913
20771
|
return `${hour}:${minute}`;
|
|
20914
20772
|
});
|
|
20915
20773
|
return (_ctx, _cache) => {
|
|
20916
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
20917
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
20774
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
|
|
20775
|
+
vue.createElementVNode("div", _hoisted_2$q, [
|
|
20918
20776
|
vue.createVNode(vue.unref(Hn), vue.mergeProps({
|
|
20919
20777
|
modelValue: selectedDate.value,
|
|
20920
20778
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectedDate.value = $event),
|
|
@@ -20954,8 +20812,8 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
|
20954
20812
|
};
|
|
20955
20813
|
}
|
|
20956
20814
|
});
|
|
20957
|
-
const _hoisted_1$
|
|
20958
|
-
const _hoisted_2$
|
|
20815
|
+
const _hoisted_1$A = { class: "bagel-input" };
|
|
20816
|
+
const _hoisted_2$p = {
|
|
20959
20817
|
key: 0,
|
|
20960
20818
|
placeholder: "required",
|
|
20961
20819
|
type: "text",
|
|
@@ -20963,35 +20821,37 @@ const _hoisted_2$o = {
|
|
|
20963
20821
|
class: "pixel"
|
|
20964
20822
|
};
|
|
20965
20823
|
const _hoisted_3$k = { class: "m-05 flex opacity-7 z-99" };
|
|
20966
|
-
const _hoisted_4$c = { class: "ellipsis-1 word-break-all h-20 m-0" };
|
|
20967
|
-
const _hoisted_5$b = {
|
|
20824
|
+
const _hoisted_4$c = { class: "ellipsis-1 word-break-all h-20 m-0 color-black" };
|
|
20825
|
+
const _hoisted_5$b = { class: "flex gap-025 rounded pe-1 ps-05 py-025 bg-gray-80 -my-1" };
|
|
20826
|
+
const _hoisted_6$9 = { class: "ellipsis-1 word-break-all h-20 m-0 color-black txt18" };
|
|
20827
|
+
const _hoisted_7$6 = {
|
|
20968
20828
|
key: 1,
|
|
20969
20829
|
class: "txt-gray txt-12"
|
|
20970
20830
|
};
|
|
20971
|
-
const
|
|
20831
|
+
const _hoisted_8$3 = {
|
|
20972
20832
|
key: 0,
|
|
20973
20833
|
class: "bgl-multi-preview"
|
|
20974
20834
|
};
|
|
20975
|
-
const
|
|
20976
|
-
const
|
|
20977
|
-
const
|
|
20835
|
+
const _hoisted_9$2 = { class: "m-0" };
|
|
20836
|
+
const _hoisted_10$2 = { class: "no-margin multi-preview-txt" };
|
|
20837
|
+
const _hoisted_11$2 = {
|
|
20978
20838
|
key: 0,
|
|
20979
20839
|
class: "progress"
|
|
20980
20840
|
};
|
|
20981
|
-
const
|
|
20841
|
+
const _hoisted_12$2 = {
|
|
20982
20842
|
key: 1,
|
|
20983
20843
|
class: "bgl-single-preview"
|
|
20984
20844
|
};
|
|
20985
|
-
const
|
|
20986
|
-
const
|
|
20845
|
+
const _hoisted_13$1 = { class: "position-start m-05 flex opacity-7 z-99 gap-025" };
|
|
20846
|
+
const _hoisted_14$1 = {
|
|
20987
20847
|
key: 0,
|
|
20988
20848
|
class: "h-100"
|
|
20989
20849
|
};
|
|
20990
|
-
const
|
|
20850
|
+
const _hoisted_15$1 = {
|
|
20991
20851
|
key: 0,
|
|
20992
20852
|
class: "progress"
|
|
20993
20853
|
};
|
|
20994
|
-
const
|
|
20854
|
+
const _hoisted_16$1 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
|
|
20995
20855
|
const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
20996
20856
|
__name: "FileUpload",
|
|
20997
20857
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
@@ -21164,10 +21024,10 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
21164
21024
|
return (_ctx, _cache) => {
|
|
21165
21025
|
const _directive_tooltip = vue.resolveDirective("tooltip");
|
|
21166
21026
|
const _directive_lightbox = vue.resolveDirective("lightbox");
|
|
21167
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
21027
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$A, [
|
|
21168
21028
|
vue.createElementVNode("label", null, vue.toDisplayString(_ctx.label), 1),
|
|
21169
|
-
_ctx.required && !storageFiles.value.length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$
|
|
21170
|
-
_ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main
|
|
21029
|
+
_ctx.required && !storageFiles.value.length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$p)) : vue.createCommentVNode("", true),
|
|
21030
|
+
_ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$_), {
|
|
21171
21031
|
key: 1,
|
|
21172
21032
|
outline: "",
|
|
21173
21033
|
class: "flex p-05 gap-1",
|
|
@@ -21226,6 +21086,17 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
21226
21086
|
])), [
|
|
21227
21087
|
[_directive_lightbox, { src: file.url, download: true }]
|
|
21228
21088
|
]),
|
|
21089
|
+
vue.createElementVNode("div", _hoisted_5$b, [
|
|
21090
|
+
vue.createVNode(vue.unref(_sfc_main$p), {
|
|
21091
|
+
icon: "draft",
|
|
21092
|
+
size: 1.5
|
|
21093
|
+
}),
|
|
21094
|
+
vue.withDirectives((vue.openBlock(), vue.createElementBlock("p", _hoisted_6$9, [
|
|
21095
|
+
vue.createTextVNode(vue.toDisplayString(file.name), 1)
|
|
21096
|
+
])), [
|
|
21097
|
+
[_directive_lightbox, { src: file.url, download: true }]
|
|
21098
|
+
])
|
|
21099
|
+
]),
|
|
21229
21100
|
vue.createVNode(vue.unref(Btn), {
|
|
21230
21101
|
thin: "",
|
|
21231
21102
|
flat: "",
|
|
@@ -21236,7 +21107,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
21236
21107
|
])
|
|
21237
21108
|
]);
|
|
21238
21109
|
}), 128)),
|
|
21239
|
-
!storageFiles.value.length && !fileQueue.value.length ? (vue.openBlock(), vue.createElementBlock("span",
|
|
21110
|
+
!storageFiles.value.length && !fileQueue.value.length ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$6, " No file selected ")) : vue.createCommentVNode("", true)
|
|
21240
21111
|
]),
|
|
21241
21112
|
_: 1
|
|
21242
21113
|
})) : (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -21256,7 +21127,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
21256
21127
|
files: storageFiles.value,
|
|
21257
21128
|
fileQueue: fileQueue.value
|
|
21258
21129
|
}, () => [
|
|
21259
|
-
_ctx.multiple ? (vue.openBlock(), vue.createElementBlock("div",
|
|
21130
|
+
_ctx.multiple ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$3, [
|
|
21260
21131
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(storageFiles.value, (file) => {
|
|
21261
21132
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
21262
21133
|
key: file.id,
|
|
@@ -21272,7 +21143,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
21272
21143
|
icon: "draft",
|
|
21273
21144
|
class: "multi-preview"
|
|
21274
21145
|
})),
|
|
21275
|
-
vue.createElementVNode("p",
|
|
21146
|
+
vue.createElementVNode("p", _hoisted_9$2, vue.toDisplayString(file.name), 1),
|
|
21276
21147
|
vue.createVNode(vue.unref(Btn), {
|
|
21277
21148
|
thin: "",
|
|
21278
21149
|
flat: "",
|
|
@@ -21302,12 +21173,12 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
21302
21173
|
icon: "draft",
|
|
21303
21174
|
class: "multi-preview"
|
|
21304
21175
|
})),
|
|
21305
|
-
vue.createElementVNode("p",
|
|
21176
|
+
vue.createElementVNode("p", _hoisted_10$2, vue.toDisplayString(fileQ.name), 1),
|
|
21306
21177
|
vue.createElementVNode("div", {
|
|
21307
21178
|
class: vue.normalizeClass(["pie", { complete: fileQ.progress === 100 }]),
|
|
21308
21179
|
style: vue.normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
|
|
21309
21180
|
}, [
|
|
21310
|
-
fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span",
|
|
21181
|
+
fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_11$2, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
|
|
21311
21182
|
vue.createVNode(vue.unref(_sfc_main$p), {
|
|
21312
21183
|
class: "success",
|
|
21313
21184
|
icon: "check"
|
|
@@ -21316,13 +21187,13 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
21316
21187
|
]);
|
|
21317
21188
|
}), 128))
|
|
21318
21189
|
])) : vue.createCommentVNode("", true),
|
|
21319
|
-
!_ctx.multiple && (storageFiles.value.length > 0 || fileQueue.value.length > 0) ? (vue.openBlock(), vue.createElementBlock("div",
|
|
21190
|
+
!_ctx.multiple && (storageFiles.value.length > 0 || fileQueue.value.length > 0) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$2, [
|
|
21320
21191
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(storageFiles.value, (file) => {
|
|
21321
21192
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
21322
21193
|
key: file.id,
|
|
21323
21194
|
class: vue.normalizeClass(["single-image-item-preview", { "bgl_fill-image": _ctx.fill }])
|
|
21324
21195
|
}, [
|
|
21325
|
-
vue.createElementVNode("div",
|
|
21196
|
+
vue.createElementVNode("div", _hoisted_13$1, [
|
|
21326
21197
|
vue.withDirectives(vue.createVNode(vue.unref(Btn), {
|
|
21327
21198
|
color: "gray",
|
|
21328
21199
|
thin: "",
|
|
@@ -21352,7 +21223,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
21352
21223
|
[_directive_tooltip, "Download"]
|
|
21353
21224
|
])
|
|
21354
21225
|
]),
|
|
21355
|
-
isImage(file.extension || file.url) ? (vue.openBlock(), vue.createElementBlock("div",
|
|
21226
|
+
isImage(file.extension || file.url) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14$1, [
|
|
21356
21227
|
vue.withDirectives(vue.createVNode(vue.unref(Image$1), {
|
|
21357
21228
|
class: "single-preview",
|
|
21358
21229
|
src: file.url,
|
|
@@ -21380,7 +21251,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
21380
21251
|
class: vue.normalizeClass(["pie", { complete: fileQ.progress === 100 }]),
|
|
21381
21252
|
style: vue.normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
|
|
21382
21253
|
}, [
|
|
21383
|
-
fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span",
|
|
21254
|
+
fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_15$1, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
|
|
21384
21255
|
vue.createVNode(vue.unref(_sfc_main$p), {
|
|
21385
21256
|
class: "success",
|
|
21386
21257
|
icon: "check"
|
|
@@ -21404,7 +21275,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
21404
21275
|
fileQueue: fileQueue.value,
|
|
21405
21276
|
browse
|
|
21406
21277
|
}, () => [
|
|
21407
|
-
vue.createElementVNode("p",
|
|
21278
|
+
vue.createElementVNode("p", _hoisted_16$1, [
|
|
21408
21279
|
vue.createVNode(vue.unref(_sfc_main$p), { icon: "upload_2" }),
|
|
21409
21280
|
_cache[3] || (_cache[3] = vue.createTextVNode(" Drop files here or click to upload "))
|
|
21410
21281
|
])
|
|
@@ -21414,9 +21285,9 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
|
21414
21285
|
};
|
|
21415
21286
|
}
|
|
21416
21287
|
});
|
|
21417
|
-
const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-
|
|
21418
|
-
const _hoisted_1$
|
|
21419
|
-
const _hoisted_2$
|
|
21288
|
+
const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-9d12086d"]]);
|
|
21289
|
+
const _hoisted_1$z = ["title"];
|
|
21290
|
+
const _hoisted_2$o = { key: 0 };
|
|
21420
21291
|
const _hoisted_3$j = ["value", "placeholder"];
|
|
21421
21292
|
const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
21422
21293
|
__name: "JSONInput",
|
|
@@ -21441,7 +21312,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
21441
21312
|
class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
21442
21313
|
title: _ctx.description
|
|
21443
21314
|
}, [
|
|
21444
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
21315
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$o, [
|
|
21445
21316
|
vue.createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
21446
21317
|
])) : vue.createCommentVNode("", true),
|
|
21447
21318
|
vue.createElementVNode("textarea", {
|
|
@@ -21450,13 +21321,13 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
|
21450
21321
|
placeholder: _ctx.placeholder,
|
|
21451
21322
|
onInput: handleInput
|
|
21452
21323
|
}, null, 42, _hoisted_3$j)
|
|
21453
|
-
], 10, _hoisted_1$
|
|
21324
|
+
], 10, _hoisted_1$z);
|
|
21454
21325
|
};
|
|
21455
21326
|
}
|
|
21456
21327
|
});
|
|
21457
21328
|
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-1cbaeab2"]]);
|
|
21458
|
-
const _hoisted_1$
|
|
21459
|
-
const _hoisted_2$
|
|
21329
|
+
const _hoisted_1$y = ["for"];
|
|
21330
|
+
const _hoisted_2$n = ["id", "placeholder", "disabled", "required", "readonly", "onKeydown"];
|
|
21460
21331
|
const _hoisted_3$i = { key: 1 };
|
|
21461
21332
|
const _hoisted_4$b = {
|
|
21462
21333
|
key: 5,
|
|
@@ -21485,18 +21356,18 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
21485
21356
|
emits: ["update:modelValue"],
|
|
21486
21357
|
setup(__props, { emit: __emit }) {
|
|
21487
21358
|
const emit2 = __emit;
|
|
21488
|
-
let numberValue = vue.ref(Number.parseFloat(`${__props.modelValue}`) || 0);
|
|
21359
|
+
let numberValue = vue.ref(Number.parseFloat(`${__props.modelValue}`) || void 0);
|
|
21489
21360
|
const btnLayouts = ["horizontal", "vertical"];
|
|
21490
|
-
const canAdd = vue.computed(() => !(__props.max !== void 0 && numberValue.value + __props.step > __props.max));
|
|
21491
|
-
const canDecrement = vue.computed(() => !(__props.min !== void 0 && numberValue.value - __props.step < __props.min));
|
|
21361
|
+
const canAdd = vue.computed(() => !(__props.max !== void 0 && (numberValue.value || 0 + __props.step) > __props.max));
|
|
21362
|
+
const canDecrement = vue.computed(() => !(__props.min !== void 0 && (numberValue.value || 0 - __props.step) < __props.min));
|
|
21492
21363
|
function increment() {
|
|
21493
21364
|
if (!canAdd.value) return;
|
|
21494
|
-
numberValue.value
|
|
21365
|
+
numberValue.value = (numberValue.value || 0) + __props.step;
|
|
21495
21366
|
emit2("update:modelValue", numberValue.value);
|
|
21496
21367
|
}
|
|
21497
21368
|
function decrement() {
|
|
21498
21369
|
if (!canDecrement.value) return;
|
|
21499
|
-
numberValue.value
|
|
21370
|
+
numberValue.value = (numberValue.value || 0) - __props.step;
|
|
21500
21371
|
emit2("update:modelValue", numberValue.value);
|
|
21501
21372
|
}
|
|
21502
21373
|
function formatNumber2(num) {
|
|
@@ -21515,7 +21386,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
21515
21386
|
emit2("update:modelValue", numberValue.value);
|
|
21516
21387
|
}
|
|
21517
21388
|
vue.watch(() => numberValue.value, () => {
|
|
21518
|
-
formattedValue.value = formatNumber2(numberValue.value);
|
|
21389
|
+
formattedValue.value = numberValue.value !== void 0 ? formatNumber2(numberValue.value) : "";
|
|
21519
21390
|
}, { immediate: true });
|
|
21520
21391
|
vue.watch(() => __props.modelValue, (newVal) => {
|
|
21521
21392
|
if (newVal !== numberValue.value) {
|
|
@@ -21565,7 +21436,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
21565
21436
|
vue.withKeys(vue.withModifiers(increment, ["prevent"]), ["up"]),
|
|
21566
21437
|
vue.withKeys(vue.withModifiers(decrement, ["prevent"]), ["down"])
|
|
21567
21438
|
]
|
|
21568
|
-
}, null, 42, _hoisted_2$
|
|
21439
|
+
}, null, 42, _hoisted_2$n), [
|
|
21569
21440
|
[
|
|
21570
21441
|
vue.vModelText,
|
|
21571
21442
|
vue.unref(formattedValue),
|
|
@@ -21618,13 +21489,13 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
21618
21489
|
}, null, 8, ["disabled"])
|
|
21619
21490
|
])) : vue.createCommentVNode("", true)
|
|
21620
21491
|
], 2)
|
|
21621
|
-
], 8, _hoisted_1$
|
|
21492
|
+
], 8, _hoisted_1$y)
|
|
21622
21493
|
], 2);
|
|
21623
21494
|
};
|
|
21624
21495
|
}
|
|
21625
21496
|
});
|
|
21626
|
-
const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-
|
|
21627
|
-
const _hoisted_1$
|
|
21497
|
+
const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-cacbf10f"]]);
|
|
21498
|
+
const _hoisted_1$x = ["value", "autofocus", "onKeydown", "onPaste"];
|
|
21628
21499
|
const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
21629
21500
|
__name: "OTP",
|
|
21630
21501
|
props: {
|
|
@@ -21723,15 +21594,15 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
|
21723
21594
|
oninput: "this.value = this.value.slice(0, 1);",
|
|
21724
21595
|
onKeydown: ($event) => handleKeyDown($event, ind),
|
|
21725
21596
|
onPaste: ($event) => handlePaste($event, ind)
|
|
21726
|
-
}, null, 40, _hoisted_1$
|
|
21597
|
+
}, null, 40, _hoisted_1$x);
|
|
21727
21598
|
}), 128))
|
|
21728
21599
|
], 512);
|
|
21729
21600
|
};
|
|
21730
21601
|
}
|
|
21731
21602
|
});
|
|
21732
21603
|
const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-5c22c199"]]);
|
|
21733
|
-
const _hoisted_1$
|
|
21734
|
-
const _hoisted_2$
|
|
21604
|
+
const _hoisted_1$w = { class: "relative" };
|
|
21605
|
+
const _hoisted_2$m = { class: "m-password position-bottom-end flex column justify-content-center" };
|
|
21735
21606
|
const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
21736
21607
|
__name: "PasswordInput",
|
|
21737
21608
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
@@ -21773,7 +21644,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
21773
21644
|
);
|
|
21774
21645
|
const inputType = vue.computed(() => showPwd.value ? "text" : "password");
|
|
21775
21646
|
return (_ctx, _cache) => {
|
|
21776
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
21647
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [
|
|
21777
21648
|
vue.createVNode(vue.unref(TextInput), vue.mergeProps({
|
|
21778
21649
|
modelValue: password.value,
|
|
21779
21650
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => password.value = $event)
|
|
@@ -21781,7 +21652,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
21781
21652
|
type: inputType.value,
|
|
21782
21653
|
class: "mb-0"
|
|
21783
21654
|
}), null, 16, ["modelValue", "type"]),
|
|
21784
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
21655
|
+
vue.createElementVNode("div", _hoisted_2$m, [
|
|
21785
21656
|
vue.createVNode(vue.unref(Btn), {
|
|
21786
21657
|
flat: "",
|
|
21787
21658
|
thin: "",
|
|
@@ -21794,8 +21665,8 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
|
21794
21665
|
};
|
|
21795
21666
|
}
|
|
21796
21667
|
});
|
|
21797
|
-
const _hoisted_1$
|
|
21798
|
-
const _hoisted_2$
|
|
21668
|
+
const _hoisted_1$v = ["for"];
|
|
21669
|
+
const _hoisted_2$l = ["id", "name", "value", "required"];
|
|
21799
21670
|
const _hoisted_3$h = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
|
|
21800
21671
|
const _hoisted_4$a = ["src", "alt"];
|
|
21801
21672
|
const _hoisted_5$a = { class: "" };
|
|
@@ -21837,7 +21708,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
21837
21708
|
name: _ctx.groupName,
|
|
21838
21709
|
value: opt.value,
|
|
21839
21710
|
required: _ctx.required
|
|
21840
|
-
}, null, 8, _hoisted_2$
|
|
21711
|
+
}, null, 8, _hoisted_2$l), [
|
|
21841
21712
|
[vue.vModelRadio, selectedOption.value]
|
|
21842
21713
|
]),
|
|
21843
21714
|
vue.createElementVNode("div", _hoisted_3$h, [
|
|
@@ -21862,15 +21733,15 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
21862
21733
|
icon: "delete",
|
|
21863
21734
|
onClick: ($event) => _ctx.$emit("delete", opt)
|
|
21864
21735
|
}, null, 8, ["onClick"])) : vue.createCommentVNode("", true)
|
|
21865
|
-
], 8, _hoisted_1$
|
|
21736
|
+
], 8, _hoisted_1$v);
|
|
21866
21737
|
}), 128))
|
|
21867
21738
|
]);
|
|
21868
21739
|
};
|
|
21869
21740
|
}
|
|
21870
21741
|
});
|
|
21871
21742
|
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-3c77be46"]]);
|
|
21872
|
-
const _hoisted_1$
|
|
21873
|
-
const _hoisted_2$
|
|
21743
|
+
const _hoisted_1$u = { class: "bagel-input" };
|
|
21744
|
+
const _hoisted_2$k = { class: "pb-025" };
|
|
21874
21745
|
const _hoisted_3$g = { class: "flex gap-05 flex-wrap" };
|
|
21875
21746
|
const _hoisted_4$9 = ["id", "name", "value", "checked"];
|
|
21876
21747
|
const _hoisted_5$9 = ["for"];
|
|
@@ -21915,8 +21786,8 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
21915
21786
|
selectedValue.value = props2.modelValue;
|
|
21916
21787
|
});
|
|
21917
21788
|
return (_ctx, _cache) => {
|
|
21918
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
21919
|
-
vue.createElementVNode("label", _hoisted_2$
|
|
21789
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$u, [
|
|
21790
|
+
vue.createElementVNode("label", _hoisted_2$k, vue.toDisplayString(_ctx.label), 1),
|
|
21920
21791
|
vue.createElementVNode("div", _hoisted_3$g, [
|
|
21921
21792
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.options, (option2, index2) => {
|
|
21922
21793
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -21942,8 +21813,8 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
|
21942
21813
|
}
|
|
21943
21814
|
});
|
|
21944
21815
|
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-cf892d71"]]);
|
|
21945
|
-
const _hoisted_1$
|
|
21946
|
-
const _hoisted_2$
|
|
21816
|
+
const _hoisted_1$t = ["dir"];
|
|
21817
|
+
const _hoisted_2$j = {
|
|
21947
21818
|
key: 0,
|
|
21948
21819
|
class: "label"
|
|
21949
21820
|
};
|
|
@@ -22020,7 +21891,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
22020
21891
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
22021
21892
|
dir: vue.unref(rtl) ? "rtl" : "ltr"
|
|
22022
21893
|
}, [
|
|
22023
|
-
vue.unref(label) ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
21894
|
+
vue.unref(label) ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$j, vue.toDisplayString(vue.unref(label)), 1)) : vue.createCommentVNode("", true),
|
|
22024
21895
|
vue.createElementVNode("div", _hoisted_3$f, [
|
|
22025
21896
|
vue.createElementVNode("input", {
|
|
22026
21897
|
id: vue.unref(id),
|
|
@@ -22112,7 +21983,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
|
22112
21983
|
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(formatValue)(vue.unref(max2))), 1)
|
|
22113
21984
|
], true)
|
|
22114
21985
|
])
|
|
22115
|
-
], 8, _hoisted_1$
|
|
21986
|
+
], 8, _hoisted_1$t);
|
|
22116
21987
|
};
|
|
22117
21988
|
}
|
|
22118
21989
|
});
|
|
@@ -22206,8 +22077,8 @@ const toolbarOptions = [
|
|
|
22206
22077
|
{ name: "separator" },
|
|
22207
22078
|
{ name: "fullScreen", label: "Full Screen", icon: "fullscreen", class: "ms-auto" }
|
|
22208
22079
|
];
|
|
22209
|
-
const _hoisted_1$
|
|
22210
|
-
const _hoisted_2$
|
|
22080
|
+
const _hoisted_1$s = { class: "grid grid-wrap p-05" };
|
|
22081
|
+
const _hoisted_2$i = ["onMousemove", "onClick"];
|
|
22211
22082
|
const _hoisted_3$e = { class: "txt-center txt-12 color-gray" };
|
|
22212
22083
|
const fb = 1;
|
|
22213
22084
|
const base = 5;
|
|
@@ -22227,7 +22098,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
22227
22098
|
return hoveredCol.value > base - 1 ? enlarge : base;
|
|
22228
22099
|
});
|
|
22229
22100
|
return (_ctx, _cache) => {
|
|
22230
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
22101
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$s, [
|
|
22231
22102
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(rowSize.value, (row) => {
|
|
22232
22103
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
22233
22104
|
key: `row-${row}`,
|
|
@@ -22254,7 +22125,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
22254
22125
|
hoveredCol.value = col;
|
|
22255
22126
|
},
|
|
22256
22127
|
onClick: ($event) => emit2("select", `${row}x${col}`)
|
|
22257
|
-
}, null, 42, _hoisted_2$
|
|
22128
|
+
}, null, 42, _hoisted_2$i);
|
|
22258
22129
|
}), 128))
|
|
22259
22130
|
], 32);
|
|
22260
22131
|
}), 128)),
|
|
@@ -22264,7 +22135,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
22264
22135
|
}
|
|
22265
22136
|
});
|
|
22266
22137
|
const GridBox = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-4548b70f"]]);
|
|
22267
|
-
const _hoisted_1$
|
|
22138
|
+
const _hoisted_1$r = {
|
|
22268
22139
|
class: "toolbar flex gap-025 pb-05 flex-wrap",
|
|
22269
22140
|
role: "toolbar"
|
|
22270
22141
|
};
|
|
@@ -22283,10 +22154,10 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
|
22283
22154
|
}
|
|
22284
22155
|
return (_ctx, _cache) => {
|
|
22285
22156
|
const _directive_tooltip = vue.resolveDirective("tooltip");
|
|
22286
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
22157
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$r, [
|
|
22287
22158
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.config.map(configToOption).filter(Boolean), (action, index2) => {
|
|
22288
22159
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
|
|
22289
|
-
action.name === "insertTable" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
22160
|
+
action.name === "insertTable" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$V), {
|
|
22290
22161
|
key: 0,
|
|
22291
22162
|
placement: "bottom-start",
|
|
22292
22163
|
thin: "",
|
|
@@ -23246,8 +23117,8 @@ function useEditorKeyboard(doc, handleToolbarAction) {
|
|
|
23246
23117
|
}
|
|
23247
23118
|
});
|
|
23248
23119
|
}
|
|
23249
|
-
const _hoisted_1$
|
|
23250
|
-
const _hoisted_2$
|
|
23120
|
+
const _hoisted_1$q = { class: "bagel-input" };
|
|
23121
|
+
const _hoisted_2$h = { class: "content-area radius-05" };
|
|
23251
23122
|
const _hoisted_3$d = {
|
|
23252
23123
|
key: 1,
|
|
23253
23124
|
class: "flex"
|
|
@@ -23329,7 +23200,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
23329
23200
|
});
|
|
23330
23201
|
return (_ctx, _cache) => {
|
|
23331
23202
|
var _a2, _b;
|
|
23332
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
23203
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$q, [
|
|
23333
23204
|
vue.createElementVNode("label", null, vue.toDisplayString(_ctx.label), 1),
|
|
23334
23205
|
vue.createElementVNode("div", {
|
|
23335
23206
|
class: vue.normalizeClass(["rich-text-editor rounded pt-05 px-05 pb-075 mb-05", { "fullscreen-mode": vue.unref(editor).state.isFullscreen }])
|
|
@@ -23343,7 +23214,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
23343
23214
|
vue.createElementVNode("div", {
|
|
23344
23215
|
class: vue.normalizeClass(["editor-container", { "split-view": vue.unref(editor).state.isSplitView }])
|
|
23345
23216
|
}, [
|
|
23346
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
23217
|
+
vue.createElementVNode("div", _hoisted_2$h, [
|
|
23347
23218
|
vue.createElementVNode("iframe", {
|
|
23348
23219
|
id: "rich-text-iframe",
|
|
23349
23220
|
ref_key: "iframe",
|
|
@@ -23408,8 +23279,8 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
|
23408
23279
|
}
|
|
23409
23280
|
});
|
|
23410
23281
|
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-59d7c73f"]]);
|
|
23411
|
-
const _hoisted_1$
|
|
23412
|
-
const _hoisted_2$
|
|
23282
|
+
const _hoisted_1$p = { class: "flex gap-05" };
|
|
23283
|
+
const _hoisted_2$g = ["disabled"];
|
|
23413
23284
|
const _hoisted_3$c = { key: 1 };
|
|
23414
23285
|
const _hoisted_4$7 = {
|
|
23415
23286
|
key: 2,
|
|
@@ -23594,7 +23465,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
23594
23465
|
}
|
|
23595
23466
|
});
|
|
23596
23467
|
return (_ctx, _cache) => {
|
|
23597
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
23468
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$V), {
|
|
23598
23469
|
ref_key: "dropdown",
|
|
23599
23470
|
ref: dropdown,
|
|
23600
23471
|
shown: vue.unref(open),
|
|
@@ -23606,7 +23477,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
23606
23477
|
trigger: vue.withCtx(() => [
|
|
23607
23478
|
vue.createElementVNode("label", null, [
|
|
23608
23479
|
vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
|
|
23609
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
23480
|
+
vue.createElementVNode("div", _hoisted_1$p, [
|
|
23610
23481
|
_ctx.searchable && vue.unref(open) ? (vue.openBlock(), vue.createBlock(vue.unref(TextInput), {
|
|
23611
23482
|
key: 0,
|
|
23612
23483
|
ref_key: "searchInput",
|
|
@@ -23654,7 +23525,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
23654
23525
|
key: 3,
|
|
23655
23526
|
thin: ""
|
|
23656
23527
|
}, { icon: vue.unref(open) ? "unfold_less" : "unfold_more" }), null, 16)) : vue.createCommentVNode("", true)
|
|
23657
|
-
], 42, _hoisted_2$
|
|
23528
|
+
], 42, _hoisted_2$g)),
|
|
23658
23529
|
_ctx.required ? (vue.openBlock(), vue.createElementBlock("input", {
|
|
23659
23530
|
key: 2,
|
|
23660
23531
|
tabindex: "-1",
|
|
@@ -23673,7 +23544,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
|
23673
23544
|
height: "25px",
|
|
23674
23545
|
class: "mx-1 my-1"
|
|
23675
23546
|
})) : vue.createCommentVNode("", true),
|
|
23676
|
-
vue.createVNode(vue.unref(_sfc_main
|
|
23547
|
+
vue.createVNode(vue.unref(_sfc_main$_), {
|
|
23677
23548
|
class: "p-05",
|
|
23678
23549
|
style: vue.normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" })
|
|
23679
23550
|
}, {
|
|
@@ -24321,8 +24192,8 @@ class SignaturePad extends SignatureEventTarget {
|
|
|
24321
24192
|
return svg.outerHTML;
|
|
24322
24193
|
}
|
|
24323
24194
|
}
|
|
24324
|
-
const _hoisted_1$
|
|
24325
|
-
const _hoisted_2$
|
|
24195
|
+
const _hoisted_1$o = ["disabled"];
|
|
24196
|
+
const _hoisted_2$f = {
|
|
24326
24197
|
key: 1,
|
|
24327
24198
|
placeholder: "required",
|
|
24328
24199
|
type: "text",
|
|
@@ -24482,8 +24353,8 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
|
24482
24353
|
ref: vCanvas,
|
|
24483
24354
|
class: "canvas",
|
|
24484
24355
|
disabled: _ctx.disabled
|
|
24485
|
-
}, null, 8, _hoisted_1$
|
|
24486
|
-
_ctx.required && vue.unref(_isEmpty) ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$
|
|
24356
|
+
}, null, 8, _hoisted_1$o),
|
|
24357
|
+
_ctx.required && vue.unref(_isEmpty) ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$f)) : vue.createCommentVNode("", true)
|
|
24487
24358
|
], 34);
|
|
24488
24359
|
};
|
|
24489
24360
|
}
|
|
@@ -26967,8 +26838,8 @@ const VueDraggableNext = vue.defineComponent({
|
|
|
26967
26838
|
}
|
|
26968
26839
|
}
|
|
26969
26840
|
});
|
|
26970
|
-
const _hoisted_1$
|
|
26971
|
-
const _hoisted_2$
|
|
26841
|
+
const _hoisted_1$n = ["title"];
|
|
26842
|
+
const _hoisted_2$e = { class: "bagel-input" };
|
|
26972
26843
|
const _hoisted_3$b = { class: "table-side-scroll" };
|
|
26973
26844
|
const _hoisted_4$6 = { class: "table-header" };
|
|
26974
26845
|
const _hoisted_5$6 = { class: "table-reorder" };
|
|
@@ -27038,7 +26909,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
27038
26909
|
class: "table-field-wrap",
|
|
27039
26910
|
title: _ctx.description
|
|
27040
26911
|
}, [
|
|
27041
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
26912
|
+
vue.createElementVNode("div", _hoisted_2$e, [
|
|
27042
26913
|
vue.createElementVNode("label", null, vue.toDisplayString((_a2 = vue.unref(fieldMeta)) == null ? void 0 : _a2.label), 1)
|
|
27043
26914
|
]),
|
|
27044
26915
|
vue.createElementVNode("div", _hoisted_3$b, [
|
|
@@ -27113,7 +26984,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
|
27113
26984
|
])),
|
|
27114
26985
|
_: 1
|
|
27115
26986
|
})
|
|
27116
|
-
], 8, _hoisted_1$
|
|
26987
|
+
], 8, _hoisted_1$n);
|
|
27117
26988
|
};
|
|
27118
26989
|
}
|
|
27119
26990
|
});
|
|
@@ -31564,8 +31435,8 @@ function parsePhoneNumber$1() {
|
|
|
31564
31435
|
function parsePhoneNumber() {
|
|
31565
31436
|
return withMetadataArgument(parsePhoneNumber$1, arguments);
|
|
31566
31437
|
}
|
|
31567
|
-
const _hoisted_1$
|
|
31568
|
-
const _hoisted_2$
|
|
31438
|
+
const _hoisted_1$m = ["aria-expanded"];
|
|
31439
|
+
const _hoisted_2$d = { class: "p-075 tel-countryp-dropdown" };
|
|
31569
31440
|
const _hoisted_3$a = ["aria-selected", "onClick", "onMousemove"];
|
|
31570
31441
|
const _hoisted_4$5 = { class: "tel-country" };
|
|
31571
31442
|
const _hoisted_5$5 = { key: 1 };
|
|
@@ -31832,7 +31703,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
31832
31703
|
vue.withKeys(reset, ["tab"])
|
|
31833
31704
|
]
|
|
31834
31705
|
}, [
|
|
31835
|
-
!computedDropDownOptions.value.hide ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
31706
|
+
!computedDropDownOptions.value.hide ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$V), {
|
|
31836
31707
|
key: 0,
|
|
31837
31708
|
ref_key: "phoneDropdown",
|
|
31838
31709
|
ref: phoneDropdown,
|
|
@@ -31855,7 +31726,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
31855
31726
|
])
|
|
31856
31727
|
]),
|
|
31857
31728
|
default: vue.withCtx(() => [
|
|
31858
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
31729
|
+
vue.createElementVNode("div", _hoisted_2$d, [
|
|
31859
31730
|
_ctx.searchable ? (vue.openBlock(), vue.createBlock(vue.unref(TextInput), {
|
|
31860
31731
|
key: 0,
|
|
31861
31732
|
modelValue: searchQuery.value,
|
|
@@ -31919,15 +31790,15 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
31919
31790
|
}, null, 44, _hoisted_6$4), [
|
|
31920
31791
|
[vue.vModelText, phone.value]
|
|
31921
31792
|
])
|
|
31922
|
-
], 40, _hoisted_1$
|
|
31793
|
+
], 40, _hoisted_1$m)
|
|
31923
31794
|
])
|
|
31924
31795
|
], 2);
|
|
31925
31796
|
};
|
|
31926
31797
|
}
|
|
31927
31798
|
});
|
|
31928
31799
|
const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-492fcc54"]]);
|
|
31929
|
-
const _hoisted_1$
|
|
31930
|
-
const _hoisted_2$
|
|
31800
|
+
const _hoisted_1$l = ["title"];
|
|
31801
|
+
const _hoisted_2$c = ["for"];
|
|
31931
31802
|
const _hoisted_3$9 = ["id", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
|
|
31932
31803
|
const _hoisted_4$4 = ["id", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
|
|
31933
31804
|
const _hoisted_5$4 = { key: 2 };
|
|
@@ -32066,14 +31937,14 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
|
32066
31937
|
key: 4,
|
|
32067
31938
|
icon: _ctx.icon
|
|
32068
31939
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true)
|
|
32069
|
-
], 8, _hoisted_2$
|
|
32070
|
-
], 10, _hoisted_1$
|
|
31940
|
+
], 8, _hoisted_2$c)
|
|
31941
|
+
], 10, _hoisted_1$l);
|
|
32071
31942
|
};
|
|
32072
31943
|
}
|
|
32073
31944
|
});
|
|
32074
31945
|
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-cc17f96e"]]);
|
|
32075
|
-
const _hoisted_1$
|
|
32076
|
-
const _hoisted_2$
|
|
31946
|
+
const _hoisted_1$k = ["title"];
|
|
31947
|
+
const _hoisted_2$b = ["id", "required"];
|
|
32077
31948
|
const _hoisted_3$8 = ["for"];
|
|
32078
31949
|
const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
32079
31950
|
__name: "ToggleInput",
|
|
@@ -32111,7 +31982,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
32111
31982
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => checked.value = $event),
|
|
32112
31983
|
type: "checkbox",
|
|
32113
31984
|
required: _ctx.required
|
|
32114
|
-
}, null, 8, _hoisted_2$
|
|
31985
|
+
}, null, 8, _hoisted_2$b), [
|
|
32115
31986
|
[vue.vModelCheckbox, checked.value]
|
|
32116
31987
|
]),
|
|
32117
31988
|
vue.createElementVNode("label", { for: inputId.value }, [
|
|
@@ -32119,7 +31990,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
|
32119
31990
|
vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
|
|
32120
31991
|
], true)
|
|
32121
31992
|
], 8, _hoisted_3$8)
|
|
32122
|
-
], 10, _hoisted_1$
|
|
31993
|
+
], 10, _hoisted_1$k);
|
|
32123
31994
|
};
|
|
32124
31995
|
}
|
|
32125
31996
|
});
|
|
@@ -32149,8 +32020,8 @@ const files = {
|
|
|
32149
32020
|
});
|
|
32150
32021
|
}
|
|
32151
32022
|
};
|
|
32152
|
-
const _hoisted_1$
|
|
32153
|
-
const _hoisted_2$
|
|
32023
|
+
const _hoisted_1$j = { class: "bagel-input" };
|
|
32024
|
+
const _hoisted_2$a = { key: 0 };
|
|
32154
32025
|
const _hoisted_3$7 = {
|
|
32155
32026
|
key: 1,
|
|
32156
32027
|
placeholder: "required",
|
|
@@ -32159,35 +32030,36 @@ const _hoisted_3$7 = {
|
|
|
32159
32030
|
class: "pixel"
|
|
32160
32031
|
};
|
|
32161
32032
|
const _hoisted_4$3 = { class: "m-05 flex opacity-7 z-99" };
|
|
32162
|
-
const _hoisted_5$3 = { class: "
|
|
32163
|
-
const _hoisted_6$3 = {
|
|
32033
|
+
const _hoisted_5$3 = { class: "flex gap-025 rounded pe-1 ps-05 py-025 bg-gray-80 -my-1" };
|
|
32034
|
+
const _hoisted_6$3 = { class: "ellipsis-1 word-break-all h-20 m-0 color-black txt18" };
|
|
32035
|
+
const _hoisted_7$2 = {
|
|
32164
32036
|
key: 1,
|
|
32165
32037
|
class: "txt-gray txt-12"
|
|
32166
32038
|
};
|
|
32167
|
-
const
|
|
32039
|
+
const _hoisted_8$2 = {
|
|
32168
32040
|
key: 0,
|
|
32169
32041
|
class: "bgl-multi-preview"
|
|
32170
32042
|
};
|
|
32171
|
-
const
|
|
32172
|
-
const
|
|
32173
|
-
const
|
|
32043
|
+
const _hoisted_9$1 = { class: "m-0" };
|
|
32044
|
+
const _hoisted_10$1 = { class: "no-margin multi-preview-txt" };
|
|
32045
|
+
const _hoisted_11$1 = {
|
|
32174
32046
|
key: 0,
|
|
32175
32047
|
class: "progress"
|
|
32176
32048
|
};
|
|
32177
|
-
const
|
|
32049
|
+
const _hoisted_12$1 = {
|
|
32178
32050
|
key: 1,
|
|
32179
32051
|
class: "bgl-single-preview"
|
|
32180
32052
|
};
|
|
32181
|
-
const
|
|
32182
|
-
const
|
|
32053
|
+
const _hoisted_13 = { class: "position-start m-05 flex opacity-7 z-99 gap-025" };
|
|
32054
|
+
const _hoisted_14 = {
|
|
32183
32055
|
key: 0,
|
|
32184
32056
|
class: "h-100"
|
|
32185
32057
|
};
|
|
32186
|
-
const
|
|
32058
|
+
const _hoisted_15 = {
|
|
32187
32059
|
key: 0,
|
|
32188
32060
|
class: "progress"
|
|
32189
32061
|
};
|
|
32190
|
-
const
|
|
32062
|
+
const _hoisted_16 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
|
|
32191
32063
|
const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
32192
32064
|
__name: "UploadInput",
|
|
32193
32065
|
props: {
|
|
@@ -32296,10 +32168,10 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
32296
32168
|
return (_ctx, _cache) => {
|
|
32297
32169
|
const _directive_tooltip = vue.resolveDirective("tooltip");
|
|
32298
32170
|
const _directive_lightbox = vue.resolveDirective("lightbox");
|
|
32299
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
32300
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$
|
|
32171
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$j, [
|
|
32172
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$a, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
|
|
32301
32173
|
_ctx.required && !pathKeys.value.length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_3$7)) : vue.createCommentVNode("", true),
|
|
32302
|
-
_ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main
|
|
32174
|
+
_ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$_), {
|
|
32303
32175
|
key: 2,
|
|
32304
32176
|
outline: "",
|
|
32305
32177
|
class: "flex p-05 gap-1",
|
|
@@ -32348,15 +32220,21 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
32348
32220
|
href: pathToUrl(path_key),
|
|
32349
32221
|
download: path_key.split("/").pop()
|
|
32350
32222
|
}, null, 8, ["href", "download"]),
|
|
32351
|
-
vue.
|
|
32352
|
-
vue.
|
|
32353
|
-
|
|
32354
|
-
|
|
32223
|
+
vue.createElementVNode("div", _hoisted_5$3, [
|
|
32224
|
+
vue.createVNode(vue.unref(_sfc_main$p), {
|
|
32225
|
+
icon: "draft",
|
|
32226
|
+
size: 1.5
|
|
32227
|
+
}),
|
|
32228
|
+
vue.withDirectives((vue.openBlock(), vue.createElementBlock("p", _hoisted_6$3, [
|
|
32229
|
+
vue.createTextVNode(vue.toDisplayString(path_key.split("/").pop()), 1)
|
|
32230
|
+
])), [
|
|
32231
|
+
[_directive_lightbox, { src: pathToUrl(path_key), download: true }]
|
|
32232
|
+
])
|
|
32355
32233
|
])
|
|
32356
32234
|
])
|
|
32357
32235
|
]);
|
|
32358
32236
|
}), 128)),
|
|
32359
|
-
!pathKeys.value.length && !fileQueue.value.length ? (vue.openBlock(), vue.createElementBlock("span",
|
|
32237
|
+
!pathKeys.value.length && !fileQueue.value.length ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$2, " No file selected ")) : vue.createCommentVNode("", true)
|
|
32360
32238
|
]),
|
|
32361
32239
|
_: 1
|
|
32362
32240
|
})) : (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -32376,7 +32254,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
32376
32254
|
files: pathKeys.value,
|
|
32377
32255
|
fileQueue: fileQueue.value
|
|
32378
32256
|
}, () => [
|
|
32379
|
-
_ctx.multiple ? (vue.openBlock(), vue.createElementBlock("div",
|
|
32257
|
+
_ctx.multiple ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$2, [
|
|
32380
32258
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(pathKeys.value, (path_key) => {
|
|
32381
32259
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
32382
32260
|
key: path_key,
|
|
@@ -32391,7 +32269,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
32391
32269
|
icon: "description",
|
|
32392
32270
|
class: "multi-preview"
|
|
32393
32271
|
})),
|
|
32394
|
-
vue.createElementVNode("p",
|
|
32272
|
+
vue.createElementVNode("p", _hoisted_9$1, vue.toDisplayString(path_key.split("/").pop()), 1),
|
|
32395
32273
|
vue.createVNode(vue.unref(Btn), {
|
|
32396
32274
|
thin: "",
|
|
32397
32275
|
flat: "",
|
|
@@ -32418,12 +32296,12 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
32418
32296
|
icon: "description",
|
|
32419
32297
|
class: "multi-preview"
|
|
32420
32298
|
})),
|
|
32421
|
-
vue.createElementVNode("p",
|
|
32299
|
+
vue.createElementVNode("p", _hoisted_10$1, vue.toDisplayString(file.name), 1),
|
|
32422
32300
|
vue.createElementVNode("div", {
|
|
32423
32301
|
class: vue.normalizeClass(["pie", { complete: file.progress === 100 }]),
|
|
32424
32302
|
style: vue.normalizeStyle([{ "--p": file.progress }, { "--b": "2px" }])
|
|
32425
32303
|
}, [
|
|
32426
|
-
file.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span",
|
|
32304
|
+
file.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_11$1, vue.toDisplayString(file.progress.toFixed(0)), 1)) : vue.createCommentVNode("", true),
|
|
32427
32305
|
vue.createVNode(vue.unref(_sfc_main$p), {
|
|
32428
32306
|
class: "success",
|
|
32429
32307
|
icon: "check_circle"
|
|
@@ -32431,13 +32309,13 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
32431
32309
|
], 6)
|
|
32432
32310
|
], 2);
|
|
32433
32311
|
}), 128))
|
|
32434
|
-
])) : pathKeys.value.length > 0 || fileQueue.value.length > 0 ? (vue.openBlock(), vue.createElementBlock("div",
|
|
32312
|
+
])) : pathKeys.value.length > 0 || fileQueue.value.length > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$1, [
|
|
32435
32313
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(pathKeys.value, (path_key) => {
|
|
32436
32314
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
32437
32315
|
key: path_key,
|
|
32438
32316
|
class: vue.normalizeClass(["single-image-item-preview", { "bgl_fill-image": _ctx.fill }])
|
|
32439
32317
|
}, [
|
|
32440
|
-
vue.createElementVNode("div",
|
|
32318
|
+
vue.createElementVNode("div", _hoisted_13, [
|
|
32441
32319
|
vue.withDirectives(vue.createVNode(vue.unref(Btn), {
|
|
32442
32320
|
color: "gray",
|
|
32443
32321
|
thin: "",
|
|
@@ -32464,7 +32342,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
32464
32342
|
[_directive_tooltip, "Download"]
|
|
32465
32343
|
])
|
|
32466
32344
|
]),
|
|
32467
|
-
isImage(path_key) ? (vue.openBlock(), vue.createElementBlock("div",
|
|
32345
|
+
isImage(path_key) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14, [
|
|
32468
32346
|
vue.withDirectives(vue.createVNode(vue.unref(Image$1), {
|
|
32469
32347
|
class: "single-preview",
|
|
32470
32348
|
pathKey: path_key,
|
|
@@ -32492,7 +32370,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
32492
32370
|
class: vue.normalizeClass(["pie", { complete: file.progress === 100 }]),
|
|
32493
32371
|
style: vue.normalizeStyle([{ "--p": file.progress }, { "--b": "2px" }])
|
|
32494
32372
|
}, [
|
|
32495
|
-
file.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span",
|
|
32373
|
+
file.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_15, vue.toDisplayString(file.progress.toFixed(0)), 1)) : vue.createCommentVNode("", true),
|
|
32496
32374
|
vue.createVNode(vue.unref(_sfc_main$p), {
|
|
32497
32375
|
class: "success",
|
|
32498
32376
|
icon: "check_circle"
|
|
@@ -32516,7 +32394,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
32516
32394
|
fileQueue: fileQueue.value,
|
|
32517
32395
|
browse
|
|
32518
32396
|
}, () => [
|
|
32519
|
-
vue.createElementVNode("p",
|
|
32397
|
+
vue.createElementVNode("p", _hoisted_16, [
|
|
32520
32398
|
vue.createVNode(vue.unref(_sfc_main$p), { icon: "upload_2" }),
|
|
32521
32399
|
_cache[4] || (_cache[4] = vue.createTextVNode(" Drop files here or click to upload "))
|
|
32522
32400
|
])
|
|
@@ -32526,7 +32404,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
|
32526
32404
|
};
|
|
32527
32405
|
}
|
|
32528
32406
|
});
|
|
32529
|
-
const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-
|
|
32407
|
+
const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-33f11d1f"]]);
|
|
32530
32408
|
const FONT_AWESOME_ICONS = [
|
|
32531
32409
|
"trash-can",
|
|
32532
32410
|
"message",
|
|
@@ -36977,13 +36855,13 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
36977
36855
|
style: vue.normalizeStyle({ "fontSize": `${_ctx.size}rem`, color: _ctx.color, "font-variation-settings": `'wght' ${_ctx.weight || 400}` })
|
|
36978
36856
|
}, vue.toDisplayString(iconRender.value), 5)) : iconRenderType.value === "font-awesome" ? (vue.openBlock(), vue.createElementBlock("i", {
|
|
36979
36857
|
key: 1,
|
|
36980
|
-
class: vue.normalizeClass(["fa", [`fa-${iconRender.value}`, { "fa-brands": isFaBrand.value }]]),
|
|
36858
|
+
class: vue.normalizeClass(["fa far", [`fa-${iconRender.value}`, { "fa-brands": isFaBrand.value }]]),
|
|
36981
36859
|
style: vue.normalizeStyle({ "fontSize": `${_ctx.size}rem`, color: _ctx.color, "font-variation-settings": `'wght' ${_ctx.weight || 400}` })
|
|
36982
36860
|
}, null, 6)) : vue.createCommentVNode("", true);
|
|
36983
36861
|
};
|
|
36984
36862
|
}
|
|
36985
36863
|
});
|
|
36986
|
-
const _hoisted_1$
|
|
36864
|
+
const _hoisted_1$i = ["src", "title", "width", "height", "marginwidth", "marginheight", "csp", "scrolling", "srcset"];
|
|
36987
36865
|
const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
36988
36866
|
__name: "IframeVue",
|
|
36989
36867
|
props: {
|
|
@@ -37043,12 +36921,12 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
|
37043
36921
|
scrolling: _ctx.scrolling,
|
|
37044
36922
|
srcset: _ctx.srcset,
|
|
37045
36923
|
onLoad: _cache[0] || (_cache[0] = ($event) => emit2("load", $event))
|
|
37046
|
-
}, null, 40, _hoisted_1$
|
|
36924
|
+
}, null, 40, _hoisted_1$i);
|
|
37047
36925
|
};
|
|
37048
36926
|
}
|
|
37049
36927
|
});
|
|
37050
|
-
const _hoisted_1$
|
|
37051
|
-
const _hoisted_2$
|
|
36928
|
+
const _hoisted_1$h = { key: 0 };
|
|
36929
|
+
const _hoisted_2$9 = ["src", "alt", "width", "height"];
|
|
37052
36930
|
const _hoisted_3$6 = ["src", "alt", "width", "height"];
|
|
37053
36931
|
const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
37054
36932
|
__name: "Image",
|
|
@@ -37132,7 +37010,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
37132
37010
|
}
|
|
37133
37011
|
vue.watch(() => [props2.src, props2.pathKey], loadImage, { immediate: true });
|
|
37134
37012
|
return (_ctx, _cache) => {
|
|
37135
|
-
return _ctx.caption ? (vue.openBlock(), vue.createElementBlock("figcaption", _hoisted_1$
|
|
37013
|
+
return _ctx.caption ? (vue.openBlock(), vue.createElementBlock("figcaption", _hoisted_1$h, [
|
|
37136
37014
|
vue.unref(imageSrc) ? (vue.openBlock(), vue.createElementBlock("img", vue.mergeProps({
|
|
37137
37015
|
key: 0,
|
|
37138
37016
|
src: vue.unref(imageSrc)
|
|
@@ -37140,7 +37018,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
37140
37018
|
alt: _ctx.alt,
|
|
37141
37019
|
width: vue.unref(normalizeDimension)(_ctx.width),
|
|
37142
37020
|
height: vue.unref(normalizeDimension)(_ctx.height)
|
|
37143
|
-
}), null, 16, _hoisted_2$
|
|
37021
|
+
}), null, 16, _hoisted_2$9)) : (vue.openBlock(), vue.createBlock(vue.unref(Skeleton), {
|
|
37144
37022
|
key: 1,
|
|
37145
37023
|
class: "img-web-kit",
|
|
37146
37024
|
width: vue.unref(normalizeDimension)(_ctx.width),
|
|
@@ -37172,7 +37050,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
37172
37050
|
}
|
|
37173
37051
|
});
|
|
37174
37052
|
const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-6f277b5b"]]);
|
|
37175
|
-
const _hoisted_1$
|
|
37053
|
+
const _hoisted_1$g = { class: "m-0 pb-025 txt14 line-height-1 w60 menu-text" };
|
|
37176
37054
|
const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
37177
37055
|
__name: "BottomMenu",
|
|
37178
37056
|
props: {
|
|
@@ -37180,7 +37058,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
37180
37058
|
},
|
|
37181
37059
|
setup(__props) {
|
|
37182
37060
|
return (_ctx, _cache) => {
|
|
37183
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main
|
|
37061
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$_), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
|
|
37184
37062
|
default: vue.withCtx(() => [
|
|
37185
37063
|
vue.renderSlot(_ctx.$slots, "brand", {}, void 0, true),
|
|
37186
37064
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.navLinks, (nav, i2) => {
|
|
@@ -37196,7 +37074,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
|
37196
37074
|
size: 1.4,
|
|
37197
37075
|
class: "m-0 line-height-14"
|
|
37198
37076
|
}, null, 8, ["icon"]),
|
|
37199
|
-
vue.createElementVNode("p", _hoisted_1$
|
|
37077
|
+
vue.createElementVNode("p", _hoisted_1$g, vue.toDisplayString(nav.label), 1)
|
|
37200
37078
|
]),
|
|
37201
37079
|
_: 2
|
|
37202
37080
|
}, 1032, ["to", "onClick"]);
|
|
@@ -37251,7 +37129,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
|
37251
37129
|
}
|
|
37252
37130
|
});
|
|
37253
37131
|
const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-1814129a"]]);
|
|
37254
|
-
const _hoisted_1$
|
|
37132
|
+
const _hoisted_1$f = { key: 0 };
|
|
37255
37133
|
const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
37256
37134
|
__name: "SidebarMenu",
|
|
37257
37135
|
props: {
|
|
@@ -37281,7 +37159,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
37281
37159
|
icon: "keyboard_arrow_right",
|
|
37282
37160
|
onClick: vue.unref(toggleMenu)
|
|
37283
37161
|
}, null, 8, ["onClick"]),
|
|
37284
|
-
vue.createVNode(vue.unref(_sfc_main
|
|
37162
|
+
vue.createVNode(vue.unref(_sfc_main$_), { class: "py-1 px-05 h-100 flex column gap-05 rounded relative bg-primary font-light overflow-y" }, {
|
|
37285
37163
|
default: vue.withCtx(() => [
|
|
37286
37164
|
!vue.unref(isOpen) || !vue.unref(slots)["brand-open"] ? vue.renderSlot(_ctx.$slots, "brand", { key: 0 }, void 0, true) : vue.createCommentVNode("", true),
|
|
37287
37165
|
vue.unref(isOpen) ? vue.renderSlot(_ctx.$slots, "brand-open", { key: 1 }, void 0, true) : vue.createCommentVNode("", true),
|
|
@@ -37299,7 +37177,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
|
37299
37177
|
}, null, 8, ["icon"]),
|
|
37300
37178
|
vue.createVNode(vue.Transition, { name: "showP" }, {
|
|
37301
37179
|
default: vue.withCtx(() => [
|
|
37302
|
-
_ctx.open ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_1$
|
|
37180
|
+
_ctx.open ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_1$f, vue.toDisplayString(nav.label), 1)) : vue.createCommentVNode("", true)
|
|
37303
37181
|
]),
|
|
37304
37182
|
_: 2
|
|
37305
37183
|
}, 1024)
|
|
@@ -37359,8 +37237,8 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
37359
37237
|
}
|
|
37360
37238
|
});
|
|
37361
37239
|
const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-4da8c0d1"]]);
|
|
37362
|
-
const _hoisted_1$
|
|
37363
|
-
const _hoisted_2$
|
|
37240
|
+
const _hoisted_1$e = { class: "bgl_card tabs-top" };
|
|
37241
|
+
const _hoisted_2$8 = { class: "tabs grid auto-flow-columns fit-content" };
|
|
37364
37242
|
const _hoisted_3$5 = ["onClick"];
|
|
37365
37243
|
const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
37366
37244
|
__name: "TabbedLayout",
|
|
@@ -37395,9 +37273,9 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
37395
37273
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
37396
37274
|
class: vue.normalizeClass(["h-100 grid list-view gap-1", { "side-tabs": _ctx.sideTabs }])
|
|
37397
37275
|
}, [
|
|
37398
|
-
vue.createElementVNode("div", _hoisted_1$
|
|
37276
|
+
vue.createElementVNode("div", _hoisted_1$e, [
|
|
37399
37277
|
vue.renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
|
|
37400
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
37278
|
+
vue.createElementVNode("div", _hoisted_2$8, [
|
|
37401
37279
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.tabs, (tab) => {
|
|
37402
37280
|
var _a2;
|
|
37403
37281
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -37423,7 +37301,7 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
37423
37301
|
}
|
|
37424
37302
|
});
|
|
37425
37303
|
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-915732c1"]]);
|
|
37426
|
-
const _hoisted_1$
|
|
37304
|
+
const _hoisted_1$d = { key: 0 };
|
|
37427
37305
|
const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
37428
37306
|
__name: "Tabs",
|
|
37429
37307
|
props: {
|
|
@@ -37466,7 +37344,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
|
37466
37344
|
group: vue.unref(group),
|
|
37467
37345
|
class: "mb-05"
|
|
37468
37346
|
}, null, 8, ["modelValue", "flat", "tabs", "group"]),
|
|
37469
|
-
vue.unref(currentTab) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
37347
|
+
vue.unref(currentTab) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$d, [
|
|
37470
37348
|
vue.unref(slots)[vue.unref(currentTab)] ? vue.renderSlot(_ctx.$slots, vue.unref(currentTab), { key: 0 }) : vue.unref(currentTab) ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(tabComponent)), { key: 1 })) : vue.createCommentVNode("", true)
|
|
37471
37349
|
])) : vue.createCommentVNode("", true)
|
|
37472
37350
|
], 64);
|
|
@@ -37486,8 +37364,8 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
|
37486
37364
|
};
|
|
37487
37365
|
}
|
|
37488
37366
|
});
|
|
37489
|
-
const _hoisted_1$
|
|
37490
|
-
const _hoisted_2$
|
|
37367
|
+
const _hoisted_1$c = { class: "no-margin ellipsis line-height-14 pb-025" };
|
|
37368
|
+
const _hoisted_2$7 = { class: "txt12 no-margin txt-gray ellipsis" };
|
|
37491
37369
|
const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
37492
37370
|
__name: "ListItem",
|
|
37493
37371
|
props: {
|
|
@@ -37522,11 +37400,11 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
37522
37400
|
icon: _ctx.icon
|
|
37523
37401
|
}, null, 8, ["icon"])) : vue.createCommentVNode("", true),
|
|
37524
37402
|
vue.createElementVNode("div", null, [
|
|
37525
|
-
vue.createElementVNode("p", _hoisted_1$
|
|
37403
|
+
vue.createElementVNode("p", _hoisted_1$c, [
|
|
37526
37404
|
vue.createTextVNode(vue.toDisplayString(_ctx.title) + " ", 1),
|
|
37527
37405
|
vue.renderSlot(_ctx.$slots, "default")
|
|
37528
37406
|
]),
|
|
37529
|
-
vue.createElementVNode("p", _hoisted_2$
|
|
37407
|
+
vue.createElementVNode("p", _hoisted_2$7, [
|
|
37530
37408
|
vue.createTextVNode(vue.toDisplayString(_ctx.subtitle) + " ", 1),
|
|
37531
37409
|
vue.renderSlot(_ctx.$slots, "subtitle")
|
|
37532
37410
|
])
|
|
@@ -37538,12 +37416,12 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
37538
37416
|
}
|
|
37539
37417
|
});
|
|
37540
37418
|
const _sfc_main$e = {};
|
|
37541
|
-
const _hoisted_1$
|
|
37542
|
-
const _hoisted_2$
|
|
37419
|
+
const _hoisted_1$b = { class: "list-wrap bgl_card thin grid overflow-hidden h-100 pt-0 pb-05 px-0 m_pb-0" };
|
|
37420
|
+
const _hoisted_2$6 = { class: "p-1" };
|
|
37543
37421
|
const _hoisted_3$4 = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
|
|
37544
37422
|
function _sfc_render$3(_ctx, _cache) {
|
|
37545
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
37546
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
37423
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$b, [
|
|
37424
|
+
vue.createElementVNode("div", _hoisted_2$6, [
|
|
37547
37425
|
vue.renderSlot(_ctx.$slots, "header")
|
|
37548
37426
|
]),
|
|
37549
37427
|
vue.createElementVNode("div", _hoisted_3$4, [
|
|
@@ -37552,7 +37430,7 @@ function _sfc_render$3(_ctx, _cache) {
|
|
|
37552
37430
|
]);
|
|
37553
37431
|
}
|
|
37554
37432
|
const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$3]]);
|
|
37555
|
-
const _hoisted_1$
|
|
37433
|
+
const _hoisted_1$a = { class: "flex-center" };
|
|
37556
37434
|
const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
37557
37435
|
__name: "Loading",
|
|
37558
37436
|
props: {
|
|
@@ -37575,7 +37453,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
37575
37453
|
return standardSize(borderValue);
|
|
37576
37454
|
});
|
|
37577
37455
|
return (_ctx, _cache) => {
|
|
37578
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
37456
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, [
|
|
37579
37457
|
theme.value === "bar" ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
37580
37458
|
key: 0,
|
|
37581
37459
|
class: "lds-bar",
|
|
@@ -37618,7 +37496,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
37618
37496
|
}
|
|
37619
37497
|
});
|
|
37620
37498
|
const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-2e27b3c1"]]);
|
|
37621
|
-
const _hoisted_1$
|
|
37499
|
+
const _hoisted_1$9 = ["id"];
|
|
37622
37500
|
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>';
|
|
37623
37501
|
const leafletScriptUrl = "https://unpkg.com/leaflet@1.9.4/dist/leaflet.js";
|
|
37624
37502
|
const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -37712,15 +37590,15 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
|
|
|
37712
37590
|
class: "leaflet-map",
|
|
37713
37591
|
style: vue.normalizeStyle({ height: `${props2.height || 400}px` }),
|
|
37714
37592
|
dir: "ltr"
|
|
37715
|
-
}, null, 12, _hoisted_1$
|
|
37593
|
+
}, null, 12, _hoisted_1$9);
|
|
37716
37594
|
};
|
|
37717
37595
|
}
|
|
37718
37596
|
});
|
|
37719
|
-
const _hoisted_1$
|
|
37597
|
+
const _hoisted_1$8 = {
|
|
37720
37598
|
key: 0,
|
|
37721
37599
|
class: "tool-bar"
|
|
37722
37600
|
};
|
|
37723
|
-
const _hoisted_2$
|
|
37601
|
+
const _hoisted_2$5 = {
|
|
37724
37602
|
key: 1,
|
|
37725
37603
|
class: "sticky bg-popup z-index-999 -mt-1 -ms-1 px-025 h-30px pt-025 modal-no-title"
|
|
37726
37604
|
};
|
|
@@ -37784,7 +37662,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
37784
37662
|
onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
|
|
37785
37663
|
onKeydown: vue.withKeys(closeModal, ["esc"])
|
|
37786
37664
|
}, [
|
|
37787
|
-
vue.createVNode(vue.unref(_sfc_main
|
|
37665
|
+
vue.createVNode(vue.unref(_sfc_main$_), {
|
|
37788
37666
|
class: "modal",
|
|
37789
37667
|
style: vue.normalizeStyle({ ...maxWidth.value }),
|
|
37790
37668
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
@@ -37793,7 +37671,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
37793
37671
|
default: vue.withCtx(() => {
|
|
37794
37672
|
var _a2;
|
|
37795
37673
|
return [
|
|
37796
|
-
vue.unref(slots).toolbar || _ctx.title ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_1$
|
|
37674
|
+
vue.unref(slots).toolbar || _ctx.title ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_1$8, [
|
|
37797
37675
|
vue.renderSlot(_ctx.$slots, "toolbar"),
|
|
37798
37676
|
vue.createVNode(vue.unref(Btn), {
|
|
37799
37677
|
style: vue.normalizeStyle({ float: _ctx.side ? "left" : "right" }),
|
|
@@ -37808,7 +37686,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
37808
37686
|
tag: "h3",
|
|
37809
37687
|
label: _ctx.title
|
|
37810
37688
|
}, null, 8, ["label"])) : vue.createCommentVNode("", true)
|
|
37811
|
-
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
37689
|
+
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$5, [
|
|
37812
37690
|
vue.createVNode(vue.unref(Btn), {
|
|
37813
37691
|
class: "position-start",
|
|
37814
37692
|
icon: "close",
|
|
@@ -37836,7 +37714,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
|
|
|
37836
37714
|
};
|
|
37837
37715
|
}
|
|
37838
37716
|
});
|
|
37839
|
-
const _hoisted_1$
|
|
37717
|
+
const _hoisted_1$7 = { class: "pb-05 pretty" };
|
|
37840
37718
|
const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
37841
37719
|
__name: "ModalConfirm",
|
|
37842
37720
|
props: {
|
|
@@ -37882,13 +37760,15 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
37882
37760
|
}, null, 8, ["color", "value"])
|
|
37883
37761
|
]),
|
|
37884
37762
|
default: vue.withCtx(() => [
|
|
37885
|
-
vue.createElementVNode("p", _hoisted_1$
|
|
37763
|
+
vue.createElementVNode("p", _hoisted_1$7, vue.toDisplayString(vue.unref(message2)), 1)
|
|
37886
37764
|
]),
|
|
37887
37765
|
_: 1
|
|
37888
37766
|
}, 8, ["title"]);
|
|
37889
37767
|
};
|
|
37890
37768
|
}
|
|
37891
37769
|
});
|
|
37770
|
+
const _hoisted_1$6 = { class: "flex gap-0" };
|
|
37771
|
+
const _hoisted_2$4 = { class: "flex gap-05" };
|
|
37892
37772
|
const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
37893
37773
|
__name: "ModalForm",
|
|
37894
37774
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
@@ -37899,6 +37779,11 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
37899
37779
|
actions: {},
|
|
37900
37780
|
schema: {},
|
|
37901
37781
|
onSubmit: { type: Function },
|
|
37782
|
+
onDuplicate: { type: Function },
|
|
37783
|
+
submitText: {},
|
|
37784
|
+
cancelText: {},
|
|
37785
|
+
deleteText: {},
|
|
37786
|
+
duplicateText: {},
|
|
37902
37787
|
onDelete: { type: Function },
|
|
37903
37788
|
visible: { type: Boolean },
|
|
37904
37789
|
onError: { type: Function },
|
|
@@ -37961,7 +37846,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
37961
37846
|
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => emit2("update:visible", $event))
|
|
37962
37847
|
}, vue.createSlots({
|
|
37963
37848
|
default: vue.withCtx(() => [
|
|
37964
|
-
_ctx.visible ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
37849
|
+
_ctx.visible ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
|
|
37965
37850
|
key: 0,
|
|
37966
37851
|
ref_key: "form",
|
|
37967
37852
|
ref: form,
|
|
@@ -37976,27 +37861,39 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
37976
37861
|
_ctx.onDelete || _ctx.onSubmit ? {
|
|
37977
37862
|
name: "footer",
|
|
37978
37863
|
fn: vue.withCtx(() => [
|
|
37979
|
-
vue.createElementVNode("div",
|
|
37864
|
+
vue.createElementVNode("div", _hoisted_1$6, [
|
|
37980
37865
|
vue.createVNode(vue.unref(Btn), {
|
|
37981
37866
|
thin: "",
|
|
37982
37867
|
flat: "",
|
|
37983
|
-
value: "Cancel",
|
|
37868
|
+
value: _ctx.cancelText || "Cancel",
|
|
37984
37869
|
onClick: closeModal
|
|
37985
|
-
}),
|
|
37986
|
-
_ctx.onDelete ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
|
|
37870
|
+
}, null, 8, ["value"]),
|
|
37871
|
+
_ctx.onDelete && formData.value.id ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
|
|
37987
37872
|
key: 0,
|
|
37988
37873
|
thin: "",
|
|
37989
37874
|
icon: "delete",
|
|
37990
37875
|
flat: "",
|
|
37991
|
-
value: "Delete",
|
|
37876
|
+
value: _ctx.deleteText || "Delete",
|
|
37992
37877
|
color: "red",
|
|
37993
37878
|
onClick: runDelete
|
|
37994
|
-
})) : vue.createCommentVNode("", true)
|
|
37879
|
+
}, null, 8, ["value"])) : vue.createCommentVNode("", true)
|
|
37995
37880
|
]),
|
|
37996
|
-
vue.
|
|
37997
|
-
|
|
37998
|
-
|
|
37999
|
-
|
|
37881
|
+
vue.createElementVNode("div", _hoisted_2$4, [
|
|
37882
|
+
_ctx.onDuplicate ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
|
|
37883
|
+
key: 0,
|
|
37884
|
+
outline: "",
|
|
37885
|
+
class: "px-1",
|
|
37886
|
+
icon: "copy_all",
|
|
37887
|
+
flat: "",
|
|
37888
|
+
value: _ctx.duplicateText || "Duplicate",
|
|
37889
|
+
onClick: _ctx.onDuplicate
|
|
37890
|
+
}, null, 8, ["value", "onClick"])) : vue.createCommentVNode("", true),
|
|
37891
|
+
_ctx.onSubmit ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
|
|
37892
|
+
key: 1,
|
|
37893
|
+
value: _ctx.submitText || "Submit",
|
|
37894
|
+
onClick: runSubmit
|
|
37895
|
+
}, null, 8, ["value"])) : vue.createCommentVNode("", true)
|
|
37896
|
+
])
|
|
38000
37897
|
]),
|
|
38001
37898
|
key: "0"
|
|
38002
37899
|
} : void 0
|
|
@@ -38004,7 +37901,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
|
|
|
38004
37901
|
};
|
|
38005
37902
|
}
|
|
38006
37903
|
});
|
|
38007
|
-
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-
|
|
37904
|
+
const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-f8e6d41e"]]);
|
|
38008
37905
|
const _hoisted_1$5 = { class: "full-nav" };
|
|
38009
37906
|
const _hoisted_2$3 = { class: "nav-scroll" };
|
|
38010
37907
|
const _hoisted_3$2 = { class: "nav-links-wrapper" };
|
|
@@ -38474,12 +38371,14 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
38474
38371
|
let panLocked = vue.ref(true);
|
|
38475
38372
|
let raf = vue.ref();
|
|
38476
38373
|
let tapDetector = vue.ref();
|
|
38374
|
+
let translateXValue = vue.ref(0);
|
|
38375
|
+
let translateYValue = vue.ref(0);
|
|
38477
38376
|
const wrapperStyle = vue.computed(() => {
|
|
38478
|
-
|
|
38479
|
-
|
|
38377
|
+
translateXValue.value = containerWidth.value * animTranslateX.value;
|
|
38378
|
+
translateYValue.value = containerHeight.value * animTranslateY.value;
|
|
38480
38379
|
return {
|
|
38481
38380
|
transform: [
|
|
38482
|
-
`translate(${translateXValue}px, ${translateYValue}px)`,
|
|
38381
|
+
`translate(${translateXValue.value}px, ${translateYValue.value}px)`,
|
|
38483
38382
|
`scale(${animScale.value})`
|
|
38484
38383
|
].join(" ")
|
|
38485
38384
|
};
|
|
@@ -38568,12 +38467,22 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
38568
38467
|
const imageToContainerRatio2 = containerWidth.value / __props.aspectRatio / containerHeight.value;
|
|
38569
38468
|
let translateLimitY = (scale.value * imageToContainerRatio2 - 1) / 2;
|
|
38570
38469
|
if (translateLimitY < 0) translateLimitY = 0;
|
|
38571
|
-
return {
|
|
38470
|
+
return {
|
|
38471
|
+
x: scale.value - 1,
|
|
38472
|
+
// Allow full movement to edges horizontally
|
|
38473
|
+
y: translateLimitY * 2
|
|
38474
|
+
// Allow full movement to edges vertically
|
|
38475
|
+
};
|
|
38572
38476
|
}
|
|
38573
38477
|
const imageToContainerRatio = containerHeight.value * __props.aspectRatio / containerWidth.value;
|
|
38574
38478
|
let translateLimitX = (scale.value * imageToContainerRatio - 1) / 2;
|
|
38575
38479
|
if (translateLimitX < 0) translateLimitX = 0;
|
|
38576
|
-
return {
|
|
38480
|
+
return {
|
|
38481
|
+
x: translateLimitX * 2,
|
|
38482
|
+
// Allow full movement to edges horizontally
|
|
38483
|
+
y: scale.value - 1
|
|
38484
|
+
// Allow full movement to edges vertically
|
|
38485
|
+
};
|
|
38577
38486
|
}
|
|
38578
38487
|
function getMarginDirection() {
|
|
38579
38488
|
const containerRatio = containerWidth.value / containerHeight.value;
|
|
@@ -38736,7 +38645,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
|
38736
38645
|
};
|
|
38737
38646
|
}
|
|
38738
38647
|
});
|
|
38739
|
-
const Zoomer = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
38648
|
+
const Zoomer = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-379819e1"]]);
|
|
38740
38649
|
function useBglSchema({ schema, showFields, data: data2 } = {}) {
|
|
38741
38650
|
let _schema = schema;
|
|
38742
38651
|
if (typeof _schema === "function") {
|
|
@@ -38998,7 +38907,7 @@ class Bagel {
|
|
|
38998
38907
|
}
|
|
38999
38908
|
const _hoisted_1 = {
|
|
39000
38909
|
key: 0,
|
|
39001
|
-
class: "navigation flex space-between px-3 w-100 absolute m_px-1"
|
|
38910
|
+
class: "navigation flex space-between px-3 w-100 absolute m_px-1 m_none z-9"
|
|
39002
38911
|
};
|
|
39003
38912
|
const _hoisted_2 = { class: "flex start fixed top-1 w-100 space-between px-1" };
|
|
39004
38913
|
const _hoisted_3 = {
|
|
@@ -39006,18 +38915,17 @@ const _hoisted_3 = {
|
|
|
39006
38915
|
class: "center"
|
|
39007
38916
|
};
|
|
39008
38917
|
const _hoisted_4 = { key: 3 };
|
|
39009
|
-
const _hoisted_5 =
|
|
39010
|
-
const _hoisted_6 =
|
|
39011
|
-
const _hoisted_7 = {
|
|
38918
|
+
const _hoisted_5 = ["src", "title"];
|
|
38919
|
+
const _hoisted_6 = {
|
|
39012
38920
|
key: 3,
|
|
39013
38921
|
class: "file-info txt-white flex m_block align-items-start gap-025"
|
|
39014
38922
|
};
|
|
39015
|
-
const
|
|
39016
|
-
const
|
|
39017
|
-
const
|
|
39018
|
-
const
|
|
39019
|
-
const
|
|
39020
|
-
const
|
|
38923
|
+
const _hoisted_7 = { class: "txt-start" };
|
|
38924
|
+
const _hoisted_8 = { class: "mx-0 light" };
|
|
38925
|
+
const _hoisted_9 = { class: "semi word-break-all" };
|
|
38926
|
+
const _hoisted_10 = { class: "mx-0" };
|
|
38927
|
+
const _hoisted_11 = { class: "semi" };
|
|
38928
|
+
const _hoisted_12 = {
|
|
39021
38929
|
key: 0,
|
|
39022
38930
|
class: "flex justify-content-center mt-2 overflow p-1 fixed bottom start end gap-1 m_justify-content-start"
|
|
39023
38931
|
};
|
|
@@ -39025,15 +38933,13 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
39025
38933
|
__name: "Lightbox",
|
|
39026
38934
|
setup(__props, { expose: __expose }) {
|
|
39027
38935
|
let isOpen = vue.ref(false);
|
|
39028
|
-
let currentItem = vue.ref();
|
|
39029
38936
|
let group = vue.ref([]);
|
|
39030
38937
|
let currentIndex = vue.ref(0);
|
|
38938
|
+
let currentItem = vue.computed(() => group.value[currentIndex.value]);
|
|
39031
38939
|
function open(item, groupItems) {
|
|
39032
38940
|
isOpen.value = true;
|
|
39033
|
-
|
|
39034
|
-
|
|
39035
|
-
group.value = groupItems;
|
|
39036
|
-
currentIndex.value = groupItems.findIndex(({ src }) => item.src === src);
|
|
38941
|
+
group.value = groupItems || [item];
|
|
38942
|
+
currentIndex.value = group.value.findIndex(({ src }) => item.src === src);
|
|
39037
38943
|
document.addEventListener("keydown", handleKeydown);
|
|
39038
38944
|
}
|
|
39039
38945
|
function close() {
|
|
@@ -39078,7 +38984,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
39078
38984
|
return (_ctx, _cache) => {
|
|
39079
38985
|
return vue.openBlock(), vue.createBlock(vue.Transition, { name: "fade" }, {
|
|
39080
38986
|
default: vue.withCtx(() => {
|
|
39081
|
-
var _a2, _b, _c, _d, _e2, _f, _g, _h
|
|
38987
|
+
var _a2, _b, _c, _d, _e2, _f, _g, _h;
|
|
39082
38988
|
return [
|
|
39083
38989
|
vue.unref(isOpen) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
39084
38990
|
key: 0,
|
|
@@ -39092,19 +38998,21 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
39092
38998
|
}, [
|
|
39093
38999
|
vue.unref(group) && vue.unref(group).length > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
39094
39000
|
vue.createVNode(vue.unref(Btn), {
|
|
39095
|
-
class: "
|
|
39001
|
+
class: "oval opacity-8",
|
|
39096
39002
|
icon: "arrow_back",
|
|
39003
|
+
color: "black",
|
|
39097
39004
|
onClick: prev
|
|
39098
39005
|
}),
|
|
39099
39006
|
vue.createVNode(vue.unref(Btn), {
|
|
39100
|
-
class: "
|
|
39007
|
+
class: "oval opacity-8",
|
|
39101
39008
|
icon: "arrow_forward",
|
|
39009
|
+
color: "black",
|
|
39102
39010
|
onClick: next
|
|
39103
39011
|
})
|
|
39104
39012
|
])) : vue.createCommentVNode("", true),
|
|
39105
39013
|
vue.createElementVNode("div", {
|
|
39106
39014
|
class: "bgl-lightbox relative txt-center",
|
|
39107
|
-
onClick: _cache[
|
|
39015
|
+
onClick: _cache[5] || (_cache[5] = vue.withModifiers(() => {
|
|
39108
39016
|
}, ["stop"]))
|
|
39109
39017
|
}, [
|
|
39110
39018
|
vue.createElementVNode("div", _hoisted_2, [
|
|
@@ -39161,74 +39069,86 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
39161
39069
|
}, null, 8, ["href"])) : vue.createCommentVNode("", true),
|
|
39162
39070
|
!((_g = vue.unref(currentItem)) == null ? void 0 : _g.openFile) && !((_h = vue.unref(currentItem)) == null ? void 0 : _h.download) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4)) : vue.createCommentVNode("", true)
|
|
39163
39071
|
]),
|
|
39164
|
-
vue.
|
|
39165
|
-
|
|
39166
|
-
|
|
39167
|
-
|
|
39168
|
-
|
|
39169
|
-
|
|
39170
|
-
|
|
39171
|
-
|
|
39172
|
-
|
|
39173
|
-
|
|
39174
|
-
|
|
39175
|
-
|
|
39176
|
-
|
|
39177
|
-
|
|
39178
|
-
|
|
39179
|
-
|
|
39180
|
-
|
|
39181
|
-
|
|
39182
|
-
|
|
39183
|
-
|
|
39184
|
-
|
|
39185
|
-
|
|
39186
|
-
|
|
39187
|
-
|
|
39188
|
-
|
|
39189
|
-
|
|
39190
|
-
|
|
39191
|
-
|
|
39192
|
-
|
|
39193
|
-
|
|
39194
|
-
|
|
39195
|
-
|
|
39196
|
-
|
|
39197
|
-
|
|
39198
|
-
|
|
39199
|
-
|
|
39200
|
-
|
|
39201
|
-
|
|
39202
|
-
|
|
39203
|
-
|
|
39204
|
-
|
|
39205
|
-
|
|
39206
|
-
|
|
39207
|
-
|
|
39208
|
-
|
|
39209
|
-
|
|
39210
|
-
|
|
39211
|
-
|
|
39212
|
-
|
|
39213
|
-
|
|
39214
|
-
|
|
39215
|
-
|
|
39216
|
-
|
|
39217
|
-
|
|
39218
|
-
|
|
39219
|
-
|
|
39220
|
-
|
|
39221
|
-
|
|
39222
|
-
|
|
39223
|
-
|
|
39224
|
-
|
|
39225
|
-
|
|
39226
|
-
|
|
39227
|
-
|
|
39228
|
-
|
|
39229
|
-
|
|
39230
|
-
|
|
39231
|
-
|
|
39072
|
+
vue.createVNode(vue.unref(Carousel), {
|
|
39073
|
+
index: vue.unref(currentIndex),
|
|
39074
|
+
"onUpdate:index": _cache[4] || (_cache[4] = ($event) => vue.isRef(currentIndex) ? currentIndex.value = $event : currentIndex = $event),
|
|
39075
|
+
items: 1,
|
|
39076
|
+
class: vue.normalizeClass(["bgl-lightbox-item", { zoomed: zoom.value > 1 }]),
|
|
39077
|
+
freeDrag: zoom.value === 1
|
|
39078
|
+
}, {
|
|
39079
|
+
default: vue.withCtx(() => [
|
|
39080
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(group), (item) => {
|
|
39081
|
+
return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
39082
|
+
key: item.src
|
|
39083
|
+
}, [
|
|
39084
|
+
item.type === "image" ? (vue.openBlock(), vue.createBlock(vue.unref(Zoomer), {
|
|
39085
|
+
key: 0,
|
|
39086
|
+
zoom: zoom.value,
|
|
39087
|
+
"onUpdate:zoom": _cache[3] || (_cache[3] = ($event) => zoom.value = $event),
|
|
39088
|
+
disabled: !(item == null ? void 0 : item.enableZoom),
|
|
39089
|
+
"mouse-wheel-to-zoom": false
|
|
39090
|
+
}, {
|
|
39091
|
+
default: vue.withCtx(() => [
|
|
39092
|
+
vue.createVNode(vue.unref(Image$1), {
|
|
39093
|
+
draggable: false,
|
|
39094
|
+
src: item == null ? void 0 : item.src,
|
|
39095
|
+
alt: "Preview",
|
|
39096
|
+
class: "vw90 lightbox-image"
|
|
39097
|
+
}, null, 8, ["src"])
|
|
39098
|
+
]),
|
|
39099
|
+
_: 2
|
|
39100
|
+
}, 1032, ["zoom", "disabled"])) : (item == null ? void 0 : item.type) === "video" ? (vue.openBlock(), vue.createBlock(vue.unref(BglVideo), {
|
|
39101
|
+
key: 1,
|
|
39102
|
+
src: item == null ? void 0 : item.src,
|
|
39103
|
+
autoplay: "",
|
|
39104
|
+
controls: "",
|
|
39105
|
+
class: "vw90"
|
|
39106
|
+
}, null, 8, ["src"])) : (item == null ? void 0 : item.type) === "pdf" ? (vue.openBlock(), vue.createElementBlock("embed", {
|
|
39107
|
+
key: 2,
|
|
39108
|
+
src: vue.unref(normalizeURL)(item == null ? void 0 : item.src),
|
|
39109
|
+
type: "application/pdf",
|
|
39110
|
+
width: "100%",
|
|
39111
|
+
height: "1080",
|
|
39112
|
+
title: item == null ? void 0 : item.name,
|
|
39113
|
+
class: "vw90"
|
|
39114
|
+
}, null, 8, _hoisted_5)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, [
|
|
39115
|
+
vue.createVNode(vue.unref(_sfc_main$p), {
|
|
39116
|
+
class: "m-0 m_none",
|
|
39117
|
+
icon: "draft",
|
|
39118
|
+
size: 10,
|
|
39119
|
+
weight: "12"
|
|
39120
|
+
}),
|
|
39121
|
+
vue.createVNode(vue.unref(_sfc_main$p), {
|
|
39122
|
+
class: "m-0 none m_block m_-mb-1",
|
|
39123
|
+
icon: "draft",
|
|
39124
|
+
size: 4,
|
|
39125
|
+
weight: "2"
|
|
39126
|
+
}),
|
|
39127
|
+
vue.createElementVNode("div", _hoisted_7, [
|
|
39128
|
+
vue.createElementVNode("p", _hoisted_8, [
|
|
39129
|
+
_cache[6] || (_cache[6] = vue.createTextVNode(" File: ")),
|
|
39130
|
+
vue.createElementVNode("span", _hoisted_9, vue.toDisplayString(item == null ? void 0 : item.name), 1)
|
|
39131
|
+
]),
|
|
39132
|
+
vue.createElementVNode("p", _hoisted_10, [
|
|
39133
|
+
_cache[7] || (_cache[7] = vue.createTextVNode(" Type: ")),
|
|
39134
|
+
vue.createElementVNode("span", _hoisted_11, vue.toDisplayString(item == null ? void 0 : item.type), 1)
|
|
39135
|
+
]),
|
|
39136
|
+
vue.createVNode(vue.unref(Btn), {
|
|
39137
|
+
href: item == null ? void 0 : item.src,
|
|
39138
|
+
target: "_blank",
|
|
39139
|
+
round: "",
|
|
39140
|
+
thin: "",
|
|
39141
|
+
class: "mt-1",
|
|
39142
|
+
value: "Open file"
|
|
39143
|
+
}, null, 8, ["href"])
|
|
39144
|
+
])
|
|
39145
|
+
]))
|
|
39146
|
+
], 64);
|
|
39147
|
+
}), 128))
|
|
39148
|
+
]),
|
|
39149
|
+
_: 1
|
|
39150
|
+
}, 8, ["index", "class", "freeDrag"]),
|
|
39151
|
+
vue.unref(group) && vue.unref(group).length > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12, [
|
|
39232
39152
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(group), (item, index2) => {
|
|
39233
39153
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
|
|
39234
39154
|
item.type === "image" ? (vue.openBlock(), vue.createBlock(vue.unref(Image$1), {
|
|
@@ -39255,7 +39175,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
39255
39175
|
};
|
|
39256
39176
|
}
|
|
39257
39177
|
});
|
|
39258
|
-
const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
39178
|
+
const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f833758f"]]);
|
|
39259
39179
|
const groups = {};
|
|
39260
39180
|
let clickHandler = (_e2) => void 0;
|
|
39261
39181
|
const lightboxDirective = {
|
|
@@ -40370,22 +40290,21 @@ function timeAgo(date2, lang = "en") {
|
|
|
40370
40290
|
}
|
|
40371
40291
|
return selectedLang.justNow;
|
|
40372
40292
|
}
|
|
40373
|
-
exports.Accordion = _sfc_main$
|
|
40293
|
+
exports.Accordion = _sfc_main$17;
|
|
40374
40294
|
exports.AccordionItem = AccordionItem;
|
|
40375
|
-
exports.AddressSearch = _sfc_main$
|
|
40295
|
+
exports.AddressSearch = _sfc_main$15;
|
|
40376
40296
|
exports.Alert = Alert;
|
|
40377
40297
|
exports.Avatar = Avatar;
|
|
40378
40298
|
exports.Badge = Badge;
|
|
40379
|
-
exports.BagelForm = _sfc_main$
|
|
40380
|
-
exports.BagelForm2 = _sfc_main$T;
|
|
40299
|
+
exports.BagelForm = _sfc_main$S;
|
|
40381
40300
|
exports.BagelVue = BagelVue;
|
|
40382
|
-
exports.BglComponent = _sfc_main$
|
|
40383
|
-
exports.BglField = _sfc_main$
|
|
40384
|
-
exports.BglForm = _sfc_main$
|
|
40301
|
+
exports.BglComponent = _sfc_main$10;
|
|
40302
|
+
exports.BglField = _sfc_main$Q;
|
|
40303
|
+
exports.BglForm = _sfc_main$S;
|
|
40385
40304
|
exports.BglVideo = BglVideo;
|
|
40386
40305
|
exports.BottomMenu = BottomMenu;
|
|
40387
40306
|
exports.Btn = Btn;
|
|
40388
|
-
exports.Card = _sfc_main
|
|
40307
|
+
exports.Card = _sfc_main$_;
|
|
40389
40308
|
exports.Carousel = Carousel;
|
|
40390
40309
|
exports.CheckInput = CheckInput;
|
|
40391
40310
|
exports.Checkbox = Checkbox;
|
|
@@ -40396,7 +40315,7 @@ exports.DataTable = DataTable;
|
|
|
40396
40315
|
exports.DateInput = _sfc_main$K;
|
|
40397
40316
|
exports.DatePick = DatePick;
|
|
40398
40317
|
exports.DatePicker = _sfc_main$I;
|
|
40399
|
-
exports.Dropdown = _sfc_main$
|
|
40318
|
+
exports.Dropdown = _sfc_main$V;
|
|
40400
40319
|
exports.FORM_STATE_KEY = FORM_STATE_KEY;
|
|
40401
40320
|
exports.FieldArray = _sfc_main$P;
|
|
40402
40321
|
exports.FieldSetVue = FieldSetVue;
|
|
@@ -40409,7 +40328,7 @@ exports.IframeVue = _sfc_main$o;
|
|
|
40409
40328
|
exports.Image = Image$1;
|
|
40410
40329
|
exports.JSONInput = JSONInput;
|
|
40411
40330
|
exports.Layout = Layout;
|
|
40412
|
-
exports.Lineart = _sfc_main$
|
|
40331
|
+
exports.Lineart = _sfc_main$Y;
|
|
40413
40332
|
exports.ListItem = _sfc_main$f;
|
|
40414
40333
|
exports.ListView = ListView;
|
|
40415
40334
|
exports.Loading = Loading;
|