@bagelink/vue 0.0.1102 → 0.0.1109
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/form/inputs/DatePick.vue.d.ts +23 -0
- package/dist/components/form/inputs/DatePick.vue.d.ts.map +1 -0
- package/dist/components/form/inputs/NumberInput.vue.d.ts +1 -0
- package/dist/components/form/inputs/NumberInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/index.d.ts +1 -0
- package/dist/components/form/inputs/index.d.ts.map +1 -1
- package/dist/composables/useFormField.d.ts +11 -0
- package/dist/composables/useFormField.d.ts.map +1 -0
- package/dist/index.cjs +564 -190
- package/dist/index.mjs +564 -190
- package/dist/style.css +187 -6
- package/package.json +1 -1
- package/src/components/form/BglForm.vue +1 -1
- package/src/components/form/inputs/DatePick.vue +344 -250
- package/src/components/form/inputs/NumberInput.vue +17 -5
- package/src/components/form/inputs/index.ts +1 -1
- package/src/composables/useFormField.ts +35 -0
package/dist/index.mjs
CHANGED
|
@@ -45,7 +45,7 @@ const bagelFormUtils = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defi
|
|
|
45
45
|
return uploadField;
|
|
46
46
|
}
|
|
47
47
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
48
|
-
const _sfc_main$
|
|
48
|
+
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
49
49
|
__name: "Accordion",
|
|
50
50
|
setup(__props) {
|
|
51
51
|
const state2 = reactive({
|
|
@@ -59,10 +59,10 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
});
|
|
62
|
-
const _hoisted_1$
|
|
63
|
-
const _hoisted_2$
|
|
64
|
-
const _hoisted_3$
|
|
65
|
-
const _sfc_main$
|
|
62
|
+
const _hoisted_1$X = ["aria-expanded", "aria-controls"];
|
|
63
|
+
const _hoisted_2$D = { class: "accordion-label" };
|
|
64
|
+
const _hoisted_3$t = ["id", "aria-hidden"];
|
|
65
|
+
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
66
66
|
__name: "AccordionItem",
|
|
67
67
|
props: {
|
|
68
68
|
label: {},
|
|
@@ -128,7 +128,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
128
128
|
createVNode(unref(_sfc_main$d), { icon: computedIcon.value }, null, 8, ["icon"])
|
|
129
129
|
], 2)) : createCommentVNode("", true),
|
|
130
130
|
renderSlot(_ctx.$slots, "head", {}, () => [
|
|
131
|
-
createElementVNode("span", _hoisted_2$
|
|
131
|
+
createElementVNode("span", _hoisted_2$D, toDisplayString(_ctx.label), 1)
|
|
132
132
|
], true),
|
|
133
133
|
iconPosition.value === "end" ? (openBlock(), createElementBlock("span", {
|
|
134
134
|
key: 1,
|
|
@@ -136,7 +136,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
136
136
|
}, [
|
|
137
137
|
createVNode(unref(_sfc_main$d), { icon: computedIcon.value }, null, 8, ["icon"])
|
|
138
138
|
], 2)) : createCommentVNode("", true)
|
|
139
|
-
], 8, _hoisted_1$
|
|
139
|
+
], 8, _hoisted_1$X),
|
|
140
140
|
createVNode(Transition, { name: "expand" }, {
|
|
141
141
|
default: withCtx(() => [
|
|
142
142
|
unref(isOpen) ? (openBlock(), createElementBlock("div", {
|
|
@@ -146,7 +146,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
146
146
|
"aria-hidden": unref(isOpen) ? "false" : "true"
|
|
147
147
|
}, [
|
|
148
148
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
149
|
-
], 8, _hoisted_3$
|
|
149
|
+
], 8, _hoisted_3$t)) : createCommentVNode("", true)
|
|
150
150
|
]),
|
|
151
151
|
_: 3
|
|
152
152
|
})
|
|
@@ -161,9 +161,9 @@ const _export_sfc = (sfc, props2) => {
|
|
|
161
161
|
}
|
|
162
162
|
return target;
|
|
163
163
|
};
|
|
164
|
-
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
165
|
-
const _hoisted_1$
|
|
166
|
-
const _sfc_main$
|
|
164
|
+
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-1e73ca3e"]]);
|
|
165
|
+
const _hoisted_1$W = { class: "relative" };
|
|
166
|
+
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
167
167
|
__name: "AddressSearch",
|
|
168
168
|
emits: ["addressSelected"],
|
|
169
169
|
setup(__props, { emit: __emit }) {
|
|
@@ -185,8 +185,8 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
185
185
|
(_a2 = suggestion.value) == null ? void 0 : _a2.show();
|
|
186
186
|
}
|
|
187
187
|
return (_ctx, _cache) => {
|
|
188
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
189
|
-
createVNode(unref(_sfc_main$
|
|
188
|
+
return openBlock(), createElementBlock("div", _hoisted_1$W, [
|
|
189
|
+
createVNode(unref(_sfc_main$X), {
|
|
190
190
|
ref_key: "suggestion",
|
|
191
191
|
ref: suggestion,
|
|
192
192
|
noAutoFocus: true,
|
|
@@ -221,11 +221,11 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
221
221
|
};
|
|
222
222
|
}
|
|
223
223
|
});
|
|
224
|
-
const _hoisted_1$
|
|
224
|
+
const _hoisted_1$V = {
|
|
225
225
|
key: 1,
|
|
226
226
|
class: "bgl_btn-flex"
|
|
227
227
|
};
|
|
228
|
-
const _sfc_main$
|
|
228
|
+
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
229
229
|
__name: "Btn",
|
|
230
230
|
props: {
|
|
231
231
|
disabled: { type: Boolean, default: false },
|
|
@@ -290,7 +290,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
290
290
|
_ctx.loading ? (openBlock(), createBlock(unref(Loading), {
|
|
291
291
|
key: 0,
|
|
292
292
|
size: "15"
|
|
293
|
-
})) : (openBlock(), createElementBlock("div", _hoisted_1$
|
|
293
|
+
})) : (openBlock(), createElementBlock("div", _hoisted_1$V, [
|
|
294
294
|
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$d), {
|
|
295
295
|
key: 0,
|
|
296
296
|
icon: _ctx.icon
|
|
@@ -312,10 +312,10 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
312
312
|
};
|
|
313
313
|
}
|
|
314
314
|
});
|
|
315
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
316
|
-
const _hoisted_1$
|
|
317
|
-
const _hoisted_2$
|
|
318
|
-
const _sfc_main$
|
|
315
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-c23a3626"]]);
|
|
316
|
+
const _hoisted_1$U = ["dismissable"];
|
|
317
|
+
const _hoisted_2$C = { class: "m-0" };
|
|
318
|
+
const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
319
319
|
__name: "Alert",
|
|
320
320
|
props: {
|
|
321
321
|
message: {},
|
|
@@ -343,7 +343,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
343
343
|
size: 2,
|
|
344
344
|
color: color2[_ctx.type]
|
|
345
345
|
}, null, 8, ["icon", "color"])) : createCommentVNode("", true),
|
|
346
|
-
createElementVNode("p", _hoisted_2$
|
|
346
|
+
createElementVNode("p", _hoisted_2$C, toDisplayString(_ctx.message), 1),
|
|
347
347
|
createVNode(Btn, {
|
|
348
348
|
flat: "",
|
|
349
349
|
thin: "",
|
|
@@ -351,13 +351,13 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
351
351
|
icon: "close",
|
|
352
352
|
onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
|
|
353
353
|
})
|
|
354
|
-
], 10, _hoisted_1$
|
|
354
|
+
], 10, _hoisted_1$U)) : createCommentVNode("", true);
|
|
355
355
|
};
|
|
356
356
|
}
|
|
357
357
|
});
|
|
358
|
-
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
359
|
-
const _hoisted_1$
|
|
360
|
-
const _sfc_main$
|
|
358
|
+
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-57141c32"]]);
|
|
359
|
+
const _hoisted_1$T = ["src", "alt"];
|
|
360
|
+
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
361
361
|
__name: "Avatar",
|
|
362
362
|
props: {
|
|
363
363
|
fallback: {},
|
|
@@ -375,7 +375,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
375
375
|
key: 0,
|
|
376
376
|
src: _ctx.src,
|
|
377
377
|
alt: _ctx.name
|
|
378
|
-
}, null, 8, _hoisted_1$
|
|
378
|
+
}, null, 8, _hoisted_1$T)) : (openBlock(), createElementBlock("p", {
|
|
379
379
|
key: 1,
|
|
380
380
|
style: normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
|
|
381
381
|
}, toDisplayString((_ctx.fallback || unref(initials)(_ctx.name || "")).toUpperCase()), 5))
|
|
@@ -383,8 +383,8 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
383
383
|
};
|
|
384
384
|
}
|
|
385
385
|
});
|
|
386
|
-
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
387
|
-
const _sfc_main$
|
|
386
|
+
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-46ad8c25"]]);
|
|
387
|
+
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
388
388
|
__name: "Badge",
|
|
389
389
|
props: {
|
|
390
390
|
color: {},
|
|
@@ -413,9 +413,9 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
413
413
|
};
|
|
414
414
|
}
|
|
415
415
|
});
|
|
416
|
-
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
417
|
-
const _hoisted_1$
|
|
418
|
-
const _sfc_main$
|
|
416
|
+
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-2f3caf93"]]);
|
|
417
|
+
const _hoisted_1$S = { key: 1 };
|
|
418
|
+
const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
419
419
|
__name: "BglComponent",
|
|
420
420
|
props: {
|
|
421
421
|
field: {},
|
|
@@ -435,16 +435,16 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
435
435
|
return TextInput;
|
|
436
436
|
}
|
|
437
437
|
if (props2.field.$el === "number") return NumberInput;
|
|
438
|
-
if (props2.field.$el === "array") return _sfc_main$
|
|
438
|
+
if (props2.field.$el === "array") return _sfc_main$Q;
|
|
439
439
|
if (props2.field.$el === "select") return SelectInput;
|
|
440
440
|
if (props2.field.$el === "toggle") return ToggleInput;
|
|
441
441
|
if (props2.field.$el === "check") return CheckInput;
|
|
442
442
|
if (props2.field.$el === "richtext") return RichText;
|
|
443
443
|
if (props2.field.$el === "upload") return UploadInput;
|
|
444
444
|
if (props2.field.$el === "file") return FileUpload;
|
|
445
|
-
if (props2.field.$el === "date") return _sfc_main$
|
|
445
|
+
if (props2.field.$el === "date") return _sfc_main$L;
|
|
446
446
|
if (props2.field.$el === "tabs") return TabsNav;
|
|
447
|
-
if (props2.field.$el === "form") return _sfc_main$
|
|
447
|
+
if (props2.field.$el === "form") return _sfc_main$S;
|
|
448
448
|
return props2.field.$el ?? "div";
|
|
449
449
|
});
|
|
450
450
|
function getFieldData(path) {
|
|
@@ -561,7 +561,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
561
561
|
id: [props2.id, child.id].filter(Boolean).join("."),
|
|
562
562
|
field: child,
|
|
563
563
|
"parent-path": props2.id
|
|
564
|
-
}, null, 8, ["id", "field", "parent-path"])) : (openBlock(), createElementBlock("span", _hoisted_1$
|
|
564
|
+
}, null, 8, ["id", "field", "parent-path"])) : (openBlock(), createElementBlock("span", _hoisted_1$S, toDisplayString(child), 1))
|
|
565
565
|
], 64);
|
|
566
566
|
}), 128))
|
|
567
567
|
], 64))
|
|
@@ -571,10 +571,10 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
571
571
|
};
|
|
572
572
|
}
|
|
573
573
|
});
|
|
574
|
-
const _hoisted_1$
|
|
575
|
-
const _hoisted_2$
|
|
576
|
-
const _hoisted_3$
|
|
577
|
-
const _sfc_main
|
|
574
|
+
const _hoisted_1$R = ["src"];
|
|
575
|
+
const _hoisted_2$B = ["autoplay", "muted", "loop", "controls", "playsinline"];
|
|
576
|
+
const _hoisted_3$s = ["src", "type"];
|
|
577
|
+
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
578
578
|
__name: "BglVideo",
|
|
579
579
|
props: {
|
|
580
580
|
src: {},
|
|
@@ -651,7 +651,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
651
651
|
allowfullscreen: "",
|
|
652
652
|
title: "Video",
|
|
653
653
|
allow: "autoplay"
|
|
654
|
-
}, null, 12, _hoisted_1$
|
|
654
|
+
}, null, 12, _hoisted_1$R)) : _ctx.src ? (openBlock(), createElementBlock("video", {
|
|
655
655
|
key: 1,
|
|
656
656
|
ref_key: "video",
|
|
657
657
|
ref: video,
|
|
@@ -665,18 +665,18 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
665
665
|
createElementVNode("source", {
|
|
666
666
|
src: _ctx.src,
|
|
667
667
|
type: `video/${videoFormat.value}`
|
|
668
|
-
}, null, 8, _hoisted_3$
|
|
669
|
-
], 12, _hoisted_2$
|
|
668
|
+
}, null, 8, _hoisted_3$s)
|
|
669
|
+
], 12, _hoisted_2$B)) : createCommentVNode("", true)
|
|
670
670
|
], 2);
|
|
671
671
|
};
|
|
672
672
|
}
|
|
673
673
|
});
|
|
674
|
-
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main
|
|
675
|
-
const _hoisted_1$
|
|
674
|
+
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-006552f6"]]);
|
|
675
|
+
const _hoisted_1$Q = {
|
|
676
676
|
key: 0,
|
|
677
677
|
class: "card_label"
|
|
678
678
|
};
|
|
679
|
-
const _sfc_main
|
|
679
|
+
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
680
680
|
__name: "Card",
|
|
681
681
|
props: {
|
|
682
682
|
label: {},
|
|
@@ -705,7 +705,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
705
705
|
}])
|
|
706
706
|
}, {
|
|
707
707
|
default: withCtx(() => [
|
|
708
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
708
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$Q, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
|
|
709
709
|
renderSlot(_ctx.$slots, "default")
|
|
710
710
|
]),
|
|
711
711
|
_: 3
|
|
@@ -715,18 +715,18 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
715
715
|
};
|
|
716
716
|
}
|
|
717
717
|
});
|
|
718
|
-
const _hoisted_1$
|
|
719
|
-
const _hoisted_2$
|
|
718
|
+
const _hoisted_1$P = ["dir"];
|
|
719
|
+
const _hoisted_2$A = {
|
|
720
720
|
key: 0,
|
|
721
721
|
class: "blocker"
|
|
722
722
|
};
|
|
723
|
-
const _hoisted_3$
|
|
723
|
+
const _hoisted_3$r = {
|
|
724
724
|
key: 0,
|
|
725
725
|
class: "dots flex-center gap-05 mt-1"
|
|
726
726
|
};
|
|
727
|
-
const _hoisted_4$
|
|
728
|
-
const _hoisted_5$
|
|
729
|
-
const _sfc_main$
|
|
727
|
+
const _hoisted_4$j = ["onClick"];
|
|
728
|
+
const _hoisted_5$i = { class: "Handlers" };
|
|
729
|
+
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
730
730
|
__name: "Carousel",
|
|
731
731
|
props: {
|
|
732
732
|
autoHeight: { type: Boolean, default: false },
|
|
@@ -904,19 +904,19 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
904
904
|
onMouseover: clearAutoplay,
|
|
905
905
|
onFocusin: clearAutoplay
|
|
906
906
|
}, [
|
|
907
|
-
unref(isDragging) ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
907
|
+
unref(isDragging) ? (openBlock(), createElementBlock("div", _hoisted_2$A)) : createCommentVNode("", true),
|
|
908
908
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
909
909
|
], 38),
|
|
910
|
-
__props.dots && unref(slideCount) > 1 ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
910
|
+
__props.dots && unref(slideCount) > 1 ? (openBlock(), createElementBlock("div", _hoisted_3$r, [
|
|
911
911
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(slideCount), (i2) => {
|
|
912
912
|
return openBlock(), createElementBlock("span", {
|
|
913
913
|
key: i2,
|
|
914
914
|
class: normalizeClass(["dot cursor", { current: unref(activeSlideIndex) === i2 - 1 }]),
|
|
915
915
|
onClick: ($event) => goToSlide(i2 - 1)
|
|
916
|
-
}, null, 10, _hoisted_4$
|
|
916
|
+
}, null, 10, _hoisted_4$j);
|
|
917
917
|
}), 128))
|
|
918
918
|
])) : createCommentVNode("", true),
|
|
919
|
-
createElementVNode("div", _hoisted_5$
|
|
919
|
+
createElementVNode("div", _hoisted_5$i, [
|
|
920
920
|
createElementVNode("span", { onClick: prev }, [
|
|
921
921
|
renderSlot(_ctx.$slots, "prev", {
|
|
922
922
|
index: unref(activeSlideIndex),
|
|
@@ -930,11 +930,11 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
930
930
|
}, void 0, true)
|
|
931
931
|
])
|
|
932
932
|
])
|
|
933
|
-
], 14, _hoisted_1$
|
|
933
|
+
], 14, _hoisted_1$P);
|
|
934
934
|
};
|
|
935
935
|
}
|
|
936
936
|
});
|
|
937
|
-
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
937
|
+
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-063b5ad9"]]);
|
|
938
938
|
function _isPlaceholder(a2) {
|
|
939
939
|
return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
|
|
940
940
|
}
|
|
@@ -5845,7 +5845,7 @@ const _hoisted_4$2$1 = {
|
|
|
5845
5845
|
};
|
|
5846
5846
|
const _hoisted_5$2$1 = ["x1", "y1", "x2", "y2"];
|
|
5847
5847
|
const _hoisted_6$2$1 = ["x1", "y1", "x2", "y2"];
|
|
5848
|
-
const _hoisted_7$
|
|
5848
|
+
const _hoisted_7$a = ["x1", "y1", "x2", "y2"];
|
|
5849
5849
|
function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5850
5850
|
return _ctx.data.length ? (openBlock(), createElementBlock("g", {
|
|
5851
5851
|
key: 0,
|
|
@@ -5901,7 +5901,7 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5901
5901
|
y1: _ctx.canvas.y,
|
|
5902
5902
|
x2: _ctx.canvas.width - 1,
|
|
5903
5903
|
y2: _ctx.canvas.height
|
|
5904
|
-
}, null, 8, _hoisted_7$
|
|
5904
|
+
}, null, 8, _hoisted_7$a)
|
|
5905
5905
|
])
|
|
5906
5906
|
], 8, _hoisted_1$4$1)) : createCommentVNode("v-if", true);
|
|
5907
5907
|
}
|
|
@@ -6768,10 +6768,10 @@ const _hoisted_1$1$1 = {
|
|
|
6768
6768
|
style: { display: "flex", position: "relative" }
|
|
6769
6769
|
};
|
|
6770
6770
|
const _hoisted_2$1$1 = ["width", "height", "viewBox"];
|
|
6771
|
-
const _hoisted_3$
|
|
6772
|
-
const _hoisted_4$
|
|
6773
|
-
const _hoisted_5$
|
|
6774
|
-
const _hoisted_6$
|
|
6771
|
+
const _hoisted_3$q = { class: "layer-rectangles" };
|
|
6772
|
+
const _hoisted_4$i = ["transform", "onMouseover"];
|
|
6773
|
+
const _hoisted_5$h = ["width", "height"];
|
|
6774
|
+
const _hoisted_6$e = {
|
|
6775
6775
|
x: 0 + 10,
|
|
6776
6776
|
y: 0 + 20,
|
|
6777
6777
|
"font-size": `15px`,
|
|
@@ -6786,7 +6786,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6786
6786
|
viewBox: `0 0 ${_ctx.size.width} ${_ctx.size.height}`,
|
|
6787
6787
|
ref: "el"
|
|
6788
6788
|
}, [
|
|
6789
|
-
createElementVNode("g", _hoisted_3$
|
|
6789
|
+
createElementVNode("g", _hoisted_3$q, [
|
|
6790
6790
|
(openBlock(true), createElementBlock(
|
|
6791
6791
|
Fragment,
|
|
6792
6792
|
null,
|
|
@@ -6807,21 +6807,21 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6807
6807
|
y: 0,
|
|
6808
6808
|
width: r2.width,
|
|
6809
6809
|
height: r2.height
|
|
6810
|
-
}), null, 16, _hoisted_5$
|
|
6810
|
+
}), null, 16, _hoisted_5$h),
|
|
6811
6811
|
renderSlot(_ctx.$slots, "text", {
|
|
6812
6812
|
r: r2,
|
|
6813
6813
|
selected: _ctx.selected === i2
|
|
6814
6814
|
}, () => [
|
|
6815
6815
|
createElementVNode(
|
|
6816
6816
|
"text",
|
|
6817
|
-
_hoisted_6$
|
|
6817
|
+
_hoisted_6$e,
|
|
6818
6818
|
toDisplayString(r2.data.name),
|
|
6819
6819
|
1
|
|
6820
6820
|
/* TEXT */
|
|
6821
6821
|
)
|
|
6822
6822
|
])
|
|
6823
6823
|
])
|
|
6824
|
-
], 42, _hoisted_4$
|
|
6824
|
+
], 42, _hoisted_4$i);
|
|
6825
6825
|
}),
|
|
6826
6826
|
128
|
|
6827
6827
|
/* KEYED_FRAGMENT */
|
|
@@ -6878,25 +6878,25 @@ var script = defineComponent({
|
|
|
6878
6878
|
return { bar, canvas, direction, mouse };
|
|
6879
6879
|
}
|
|
6880
6880
|
});
|
|
6881
|
-
const _hoisted_1$
|
|
6881
|
+
const _hoisted_1$O = {
|
|
6882
6882
|
key: 0,
|
|
6883
6883
|
class: "layer-hover-bar"
|
|
6884
6884
|
};
|
|
6885
|
-
const _hoisted_2$
|
|
6885
|
+
const _hoisted_2$z = ["x", "y", "width", "height"];
|
|
6886
6886
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6887
|
-
return _ctx.mouse.hover ? (openBlock(), createElementBlock("g", _hoisted_1$
|
|
6887
|
+
return _ctx.mouse.hover ? (openBlock(), createElementBlock("g", _hoisted_1$O, [
|
|
6888
6888
|
createElementVNode("rect", mergeProps({ class: "hover-bar" }, _ctx.barStyle, {
|
|
6889
6889
|
x: _ctx.bar.x,
|
|
6890
6890
|
y: _ctx.bar.y,
|
|
6891
6891
|
width: _ctx.bar.width > 0 ? _ctx.bar.width : 0,
|
|
6892
6892
|
height: _ctx.bar.height > 0 ? _ctx.bar.height : 0
|
|
6893
|
-
}), null, 16, _hoisted_2$
|
|
6893
|
+
}), null, 16, _hoisted_2$z)
|
|
6894
6894
|
])) : createCommentVNode("v-if", true);
|
|
6895
6895
|
}
|
|
6896
6896
|
script.render = render;
|
|
6897
6897
|
script.__file = "src/components/HoverBar/index.vue";
|
|
6898
6898
|
const BRAND_COLOR = "var(--bgl-primary)";
|
|
6899
|
-
const _sfc_main$
|
|
6899
|
+
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
6900
6900
|
__name: "Lineart",
|
|
6901
6901
|
props: {
|
|
6902
6902
|
data: {},
|
|
@@ -7036,28 +7036,28 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
7036
7036
|
};
|
|
7037
7037
|
}
|
|
7038
7038
|
});
|
|
7039
|
-
const _hoisted_1$
|
|
7039
|
+
const _hoisted_1$N = {
|
|
7040
7040
|
key: 0,
|
|
7041
7041
|
class: "data"
|
|
7042
7042
|
};
|
|
7043
|
-
const _hoisted_2$
|
|
7043
|
+
const _hoisted_2$y = {
|
|
7044
7044
|
key: 0,
|
|
7045
7045
|
class: "data-row m_py-05"
|
|
7046
7046
|
};
|
|
7047
|
-
const _hoisted_3$
|
|
7048
|
-
const _hoisted_4$
|
|
7049
|
-
const _hoisted_5$
|
|
7050
|
-
const _hoisted_6$
|
|
7047
|
+
const _hoisted_3$p = { class: "key" };
|
|
7048
|
+
const _hoisted_4$h = { class: "m-0" };
|
|
7049
|
+
const _hoisted_5$g = { key: 1 };
|
|
7050
|
+
const _hoisted_6$d = {
|
|
7051
7051
|
key: 0,
|
|
7052
7052
|
class: "data-row"
|
|
7053
7053
|
};
|
|
7054
|
-
const _hoisted_7$
|
|
7055
|
-
const _hoisted_8$
|
|
7056
|
-
const _hoisted_9$
|
|
7054
|
+
const _hoisted_7$9 = { class: "key" };
|
|
7055
|
+
const _hoisted_8$6 = { class: "m-0" };
|
|
7056
|
+
const _hoisted_9$5 = {
|
|
7057
7057
|
key: 0,
|
|
7058
7058
|
class: "m-0"
|
|
7059
7059
|
};
|
|
7060
|
-
const _sfc_main$
|
|
7060
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
7061
7061
|
__name: "DataPreview",
|
|
7062
7062
|
props: /* @__PURE__ */ mergeModels({
|
|
7063
7063
|
showFields: {},
|
|
@@ -7093,7 +7093,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
7093
7093
|
const computedSchema = computed(() => getFallbackSchema([itemData.value], props2.showFields));
|
|
7094
7094
|
return (_ctx, _cache) => {
|
|
7095
7095
|
var _a2;
|
|
7096
|
-
return __props.data ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
7096
|
+
return __props.data ? (openBlock(), createElementBlock("div", _hoisted_1$N, [
|
|
7097
7097
|
_ctx.title ? (openBlock(), createBlock(unref(_sfc_main$4), {
|
|
7098
7098
|
key: 0,
|
|
7099
7099
|
label: _ctx.title
|
|
@@ -7102,11 +7102,11 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
7102
7102
|
return openBlock(), createElementBlock(Fragment, {
|
|
7103
7103
|
key: field.id
|
|
7104
7104
|
}, [
|
|
7105
|
-
unref(iffer)(field, itemData.value) ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
7106
|
-
createElementVNode("div", _hoisted_3$
|
|
7107
|
-
createElementVNode("p", _hoisted_4$
|
|
7105
|
+
unref(iffer)(field, itemData.value) ? (openBlock(), createElementBlock("div", _hoisted_2$y, [
|
|
7106
|
+
createElementVNode("div", _hoisted_3$p, [
|
|
7107
|
+
createElementVNode("p", _hoisted_4$h, toDisplayString((field == null ? void 0 : field.label) || unref(keyToLabel)(field.id)), 1)
|
|
7108
7108
|
]),
|
|
7109
|
-
createVNode(unref(_sfc_main$
|
|
7109
|
+
createVNode(unref(_sfc_main$T), {
|
|
7110
7110
|
modelValue: itemData.value,
|
|
7111
7111
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => itemData.value = $event),
|
|
7112
7112
|
label: "",
|
|
@@ -7116,15 +7116,15 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
7116
7116
|
])) : createCommentVNode("", true)
|
|
7117
7117
|
], 64);
|
|
7118
7118
|
}), 128)),
|
|
7119
|
-
!((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
7119
|
+
!((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (openBlock(), createElementBlock("div", _hoisted_5$g, [
|
|
7120
7120
|
(openBlock(true), createElementBlock(Fragment, null, renderList(computedSchema.value, ({ id, label }) => {
|
|
7121
7121
|
return openBlock(), createElementBlock(Fragment, { key: id }, [
|
|
7122
|
-
!isUnset(itemData.value[id]) ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
7123
|
-
createElementVNode("div", _hoisted_7$
|
|
7124
|
-
createElementVNode("p", _hoisted_8$
|
|
7122
|
+
!isUnset(itemData.value[id]) ? (openBlock(), createElementBlock("div", _hoisted_6$d, [
|
|
7123
|
+
createElementVNode("div", _hoisted_7$9, [
|
|
7124
|
+
createElementVNode("p", _hoisted_8$6, toDisplayString(label), 1)
|
|
7125
7125
|
]),
|
|
7126
7126
|
createElementVNode("div", null, [
|
|
7127
|
-
id ? (openBlock(), createElementBlock("p", _hoisted_9$
|
|
7127
|
+
id ? (openBlock(), createElementBlock("p", _hoisted_9$5, toDisplayString(dataTransform(itemData.value[id])), 1)) : createCommentVNode("", true)
|
|
7128
7128
|
])
|
|
7129
7129
|
])) : createCommentVNode("", true)
|
|
7130
7130
|
], 64);
|
|
@@ -7135,7 +7135,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
7135
7135
|
};
|
|
7136
7136
|
}
|
|
7137
7137
|
});
|
|
7138
|
-
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7138
|
+
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-6c27f163"]]);
|
|
7139
7139
|
const sides = ["top", "right", "bottom", "left"];
|
|
7140
7140
|
const alignments = ["start", "end"];
|
|
7141
7141
|
const placements = /* @__PURE__ */ sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
|
|
@@ -9682,7 +9682,7 @@ const Gt$1 = {
|
|
|
9682
9682
|
install: Ct$1,
|
|
9683
9683
|
options: h
|
|
9684
9684
|
};
|
|
9685
|
-
const _sfc_main$
|
|
9685
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
9686
9686
|
__name: "Dropdown",
|
|
9687
9687
|
props: /* @__PURE__ */ mergeModels({
|
|
9688
9688
|
value: {},
|
|
@@ -9760,9 +9760,9 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
9760
9760
|
};
|
|
9761
9761
|
}
|
|
9762
9762
|
});
|
|
9763
|
-
const _hoisted_1$
|
|
9764
|
-
const _hoisted_2$
|
|
9765
|
-
const _sfc_main$
|
|
9763
|
+
const _hoisted_1$M = { class: "px-1 pt-025 pb-1" };
|
|
9764
|
+
const _hoisted_2$x = { class: "ms-1" };
|
|
9765
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
9766
9766
|
__name: "FieldSetVue",
|
|
9767
9767
|
props: {
|
|
9768
9768
|
label: {},
|
|
@@ -9770,15 +9770,15 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
9770
9770
|
},
|
|
9771
9771
|
setup(__props) {
|
|
9772
9772
|
return (_ctx, _cache) => {
|
|
9773
|
-
return openBlock(), createElementBlock("fieldset", _hoisted_1$
|
|
9774
|
-
createElementVNode("legend", _hoisted_2$
|
|
9773
|
+
return openBlock(), createElementBlock("fieldset", _hoisted_1$M, [
|
|
9774
|
+
createElementVNode("legend", _hoisted_2$x, toDisplayString(_ctx.legend || _ctx.label), 1),
|
|
9775
9775
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
9776
9776
|
]);
|
|
9777
9777
|
};
|
|
9778
9778
|
}
|
|
9779
9779
|
});
|
|
9780
|
-
const FieldSetVue = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9781
|
-
const _sfc_main$
|
|
9780
|
+
const FieldSetVue = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-f7e758e5"]]);
|
|
9781
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
9782
9782
|
__name: "Flag",
|
|
9783
9783
|
props: {
|
|
9784
9784
|
country: {},
|
|
@@ -9808,7 +9808,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
9808
9808
|
};
|
|
9809
9809
|
}
|
|
9810
9810
|
});
|
|
9811
|
-
const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9811
|
+
const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-f99f1900"]]);
|
|
9812
9812
|
const state$1 = reactive(/* @__PURE__ */ new Map());
|
|
9813
9813
|
function useTabs(group) {
|
|
9814
9814
|
if (!state$1.has(group)) {
|
|
@@ -9822,8 +9822,8 @@ function useTabs(group) {
|
|
|
9822
9822
|
});
|
|
9823
9823
|
return { currentTab };
|
|
9824
9824
|
}
|
|
9825
|
-
const _hoisted_1$
|
|
9826
|
-
const _sfc_main$
|
|
9825
|
+
const _hoisted_1$L = ["onClick"];
|
|
9826
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
9827
9827
|
__name: "TabsNav",
|
|
9828
9828
|
props: {
|
|
9829
9829
|
title: {},
|
|
@@ -9905,14 +9905,14 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
9905
9905
|
icon: tab.icon
|
|
9906
9906
|
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
9907
9907
|
createTextVNode(" " + toDisplayString(tabLabel(tab)), 1)
|
|
9908
|
-
], 10, _hoisted_1$
|
|
9908
|
+
], 10, _hoisted_1$L);
|
|
9909
9909
|
}), 128))
|
|
9910
9910
|
], true)
|
|
9911
9911
|
], 2);
|
|
9912
9912
|
};
|
|
9913
9913
|
}
|
|
9914
9914
|
});
|
|
9915
|
-
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9915
|
+
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-307612a9"]]);
|
|
9916
9916
|
const FORM_STATE_KEY = Symbol("bagelFormState");
|
|
9917
9917
|
function safeClone(obj) {
|
|
9918
9918
|
if (obj === null || typeof obj !== "object") return obj;
|
|
@@ -9974,8 +9974,8 @@ function useBagelFormState() {
|
|
|
9974
9974
|
if (!state2) throw new Error("BagelFormState must be provided");
|
|
9975
9975
|
return state2;
|
|
9976
9976
|
}
|
|
9977
|
-
const _hoisted_1$
|
|
9978
|
-
const _sfc_main$
|
|
9977
|
+
const _hoisted_1$K = { key: 1 };
|
|
9978
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
9979
9979
|
__name: "BglField",
|
|
9980
9980
|
props: {
|
|
9981
9981
|
field: {},
|
|
@@ -9996,16 +9996,16 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
9996
9996
|
return TextInput;
|
|
9997
9997
|
}
|
|
9998
9998
|
if (props2.field.$el === "number") return NumberInput;
|
|
9999
|
-
if (props2.field.$el === "array") return _sfc_main$
|
|
9999
|
+
if (props2.field.$el === "array") return _sfc_main$Q;
|
|
10000
10000
|
if (props2.field.$el === "select") return SelectInput;
|
|
10001
10001
|
if (props2.field.$el === "toggle") return ToggleInput;
|
|
10002
10002
|
if (props2.field.$el === "check") return CheckInput;
|
|
10003
10003
|
if (props2.field.$el === "richtext") return RichText;
|
|
10004
10004
|
if (props2.field.$el === "upload") return UploadInput;
|
|
10005
10005
|
if (props2.field.$el === "file") return FileUpload;
|
|
10006
|
-
if (props2.field.$el === "date") return _sfc_main$
|
|
10006
|
+
if (props2.field.$el === "date") return _sfc_main$L;
|
|
10007
10007
|
if (props2.field.$el === "tabs") return TabsNav;
|
|
10008
|
-
if (props2.field.$el === "bglform") return _sfc_main$
|
|
10008
|
+
if (props2.field.$el === "bglform") return _sfc_main$S;
|
|
10009
10009
|
return props2.field.$el ?? "div";
|
|
10010
10010
|
});
|
|
10011
10011
|
const fieldData = computed({
|
|
@@ -10070,7 +10070,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
10070
10070
|
fieldID: [props2.fieldID, child.id].filter(Boolean).join("."),
|
|
10071
10071
|
field: child,
|
|
10072
10072
|
"parent-path": props2.fieldID
|
|
10073
|
-
}, null, 8, ["fieldID", "field", "parent-path"])) : (openBlock(), createElementBlock("span", _hoisted_1$
|
|
10073
|
+
}, null, 8, ["fieldID", "field", "parent-path"])) : (openBlock(), createElementBlock("span", _hoisted_1$K, toDisplayString(child), 1))
|
|
10074
10074
|
], 64);
|
|
10075
10075
|
}), 128))
|
|
10076
10076
|
]),
|
|
@@ -10079,7 +10079,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
10079
10079
|
};
|
|
10080
10080
|
}
|
|
10081
10081
|
});
|
|
10082
|
-
const _sfc_main$
|
|
10082
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
10083
10083
|
__name: "BglForm",
|
|
10084
10084
|
props: {
|
|
10085
10085
|
label: {},
|
|
@@ -10109,7 +10109,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
10109
10109
|
}
|
|
10110
10110
|
data2.value = newVal;
|
|
10111
10111
|
}, { deep: true, immediate: true });
|
|
10112
|
-
watch(() => data2, (newVal) => {
|
|
10112
|
+
watch(() => data2.value, (newVal) => {
|
|
10113
10113
|
if (emitDirty.value) return;
|
|
10114
10114
|
emitDirty.value = true;
|
|
10115
10115
|
emit2("dirty");
|
|
@@ -10181,7 +10181,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
10181
10181
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
10182
10182
|
_ctx.tag === "template" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
10183
10183
|
(openBlock(true), createElementBlock(Fragment, null, renderList(computedSchema.value, (field, i2) => {
|
|
10184
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
10184
|
+
return openBlock(), createBlock(unref(_sfc_main$T), {
|
|
10185
10185
|
key: field.id || `${i2}p`,
|
|
10186
10186
|
fieldID: field.id,
|
|
10187
10187
|
field
|
|
@@ -10204,7 +10204,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
10204
10204
|
label: _ctx.label
|
|
10205
10205
|
}, null, 8, ["label"])) : createCommentVNode("", true),
|
|
10206
10206
|
(openBlock(true), createElementBlock(Fragment, null, renderList(computedSchema.value, (field, i2) => {
|
|
10207
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
10207
|
+
return openBlock(), createBlock(unref(_sfc_main$T), {
|
|
10208
10208
|
key: field.id || `${i2}p`,
|
|
10209
10209
|
fieldID: field.id,
|
|
10210
10210
|
field
|
|
@@ -10222,8 +10222,8 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
10222
10222
|
};
|
|
10223
10223
|
}
|
|
10224
10224
|
});
|
|
10225
|
-
const _hoisted_1$
|
|
10226
|
-
const _sfc_main$
|
|
10225
|
+
const _hoisted_1$J = { key: 0 };
|
|
10226
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
10227
10227
|
__name: "BglMultiStepForm",
|
|
10228
10228
|
props: /* @__PURE__ */ mergeModels({
|
|
10229
10229
|
bagelFormProps: { default: () => ({}) },
|
|
@@ -10290,8 +10290,8 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
10290
10290
|
mode: "out-in"
|
|
10291
10291
|
}, {
|
|
10292
10292
|
default: withCtx(() => [
|
|
10293
|
-
!unref(isStepping) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
10294
|
-
createVNode(unref(_sfc_main$
|
|
10293
|
+
!unref(isStepping) ? (openBlock(), createElementBlock("div", _hoisted_1$J, [
|
|
10294
|
+
createVNode(unref(_sfc_main$S), mergeProps({
|
|
10295
10295
|
ref_key: "formRef",
|
|
10296
10296
|
ref: formRef,
|
|
10297
10297
|
modelValue: formData.value,
|
|
@@ -10330,12 +10330,12 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
10330
10330
|
};
|
|
10331
10331
|
}
|
|
10332
10332
|
});
|
|
10333
|
-
const _hoisted_1$
|
|
10334
|
-
const _hoisted_2$
|
|
10333
|
+
const _hoisted_1$I = { class: "label mb-05" };
|
|
10334
|
+
const _hoisted_2$w = {
|
|
10335
10335
|
key: 0,
|
|
10336
10336
|
class: "-ms-05 ps-05 border-start"
|
|
10337
10337
|
};
|
|
10338
|
-
const _sfc_main$
|
|
10338
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
10339
10339
|
__name: "FieldArray",
|
|
10340
10340
|
props: {
|
|
10341
10341
|
el: { default: "div" },
|
|
@@ -10392,8 +10392,8 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
10392
10392
|
return openBlock(), createElementBlock("div", {
|
|
10393
10393
|
class: normalizeClass(props2.class)
|
|
10394
10394
|
}, [
|
|
10395
|
-
createElementVNode("p", _hoisted_1$
|
|
10396
|
-
_ctx.schema ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
10395
|
+
createElementVNode("p", _hoisted_1$I, toDisplayString(_ctx.label), 1),
|
|
10396
|
+
_ctx.schema ? (openBlock(), createElementBlock("div", _hoisted_2$w, [
|
|
10397
10397
|
(openBlock(true), createElementBlock(Fragment, null, renderList(data2.value, (_2, i2) => {
|
|
10398
10398
|
return openBlock(), createElementBlock("div", {
|
|
10399
10399
|
key: i2,
|
|
@@ -10401,7 +10401,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
10401
10401
|
thin: "",
|
|
10402
10402
|
class: "mb-05 itemBox transition p-05"
|
|
10403
10403
|
}, [
|
|
10404
|
-
createVNode(unref(_sfc_main$
|
|
10404
|
+
createVNode(unref(_sfc_main$S), {
|
|
10405
10405
|
modelValue: data2.value[i2],
|
|
10406
10406
|
"onUpdate:modelValue": [($event) => data2.value[i2] = $event, emitValue],
|
|
10407
10407
|
schema: _ctx.schema
|
|
@@ -10431,7 +10431,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
10431
10431
|
_: 1
|
|
10432
10432
|
})) : createCommentVNode("", true)
|
|
10433
10433
|
])) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(data2.value, (_2, i2) => {
|
|
10434
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
10434
|
+
return openBlock(), createBlock(unref(_sfc_main$T), {
|
|
10435
10435
|
key: i2,
|
|
10436
10436
|
modelValue: data2.value[i2],
|
|
10437
10437
|
"onUpdate:modelValue": [($event) => data2.value[i2] = $event, emitValue],
|
|
@@ -10442,8 +10442,8 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
10442
10442
|
};
|
|
10443
10443
|
}
|
|
10444
10444
|
});
|
|
10445
|
-
const _hoisted_1$
|
|
10446
|
-
const _sfc_main$
|
|
10445
|
+
const _hoisted_1$H = { class: "primary-checkbox" };
|
|
10446
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
10447
10447
|
__name: "Checkbox",
|
|
10448
10448
|
props: {
|
|
10449
10449
|
"modelValue": { type: Boolean, ...{ default: false } },
|
|
@@ -10453,7 +10453,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
10453
10453
|
setup(__props) {
|
|
10454
10454
|
const val = useModel(__props, "modelValue");
|
|
10455
10455
|
return (_ctx, _cache) => {
|
|
10456
|
-
return openBlock(), createElementBlock("label", _hoisted_1$
|
|
10456
|
+
return openBlock(), createElementBlock("label", _hoisted_1$H, [
|
|
10457
10457
|
renderSlot(_ctx.$slots, "label", {}, void 0, true),
|
|
10458
10458
|
withDirectives(createElementVNode("input", {
|
|
10459
10459
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
|
|
@@ -10465,11 +10465,11 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
10465
10465
|
};
|
|
10466
10466
|
}
|
|
10467
10467
|
});
|
|
10468
|
-
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10469
|
-
const _hoisted_1$
|
|
10470
|
-
const _hoisted_2$
|
|
10471
|
-
const _hoisted_3$
|
|
10472
|
-
const _sfc_main$
|
|
10468
|
+
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-73f1d9ad"]]);
|
|
10469
|
+
const _hoisted_1$G = ["title"];
|
|
10470
|
+
const _hoisted_2$v = ["id", "value", "required"];
|
|
10471
|
+
const _hoisted_3$o = ["for"];
|
|
10472
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
10473
10473
|
__name: "CheckInput",
|
|
10474
10474
|
props: /* @__PURE__ */ mergeModels({
|
|
10475
10475
|
label: {},
|
|
@@ -10503,32 +10503,32 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
10503
10503
|
required: _ctx.required,
|
|
10504
10504
|
type: "checkbox",
|
|
10505
10505
|
class: "me-05"
|
|
10506
|
-
}, null, 8, _hoisted_2$
|
|
10506
|
+
}, null, 8, _hoisted_2$v), [
|
|
10507
10507
|
[vModelCheckbox, checked.value]
|
|
10508
10508
|
]),
|
|
10509
10509
|
createElementVNode("label", { for: inputId.value }, [
|
|
10510
10510
|
renderSlot(_ctx.$slots, "label", {}, () => [
|
|
10511
10511
|
createTextVNode(toDisplayString(_ctx.label), 1)
|
|
10512
10512
|
], true)
|
|
10513
|
-
], 8, _hoisted_3$
|
|
10514
|
-
], 10, _hoisted_1$
|
|
10513
|
+
], 8, _hoisted_3$o)
|
|
10514
|
+
], 10, _hoisted_1$G);
|
|
10515
10515
|
};
|
|
10516
10516
|
}
|
|
10517
10517
|
});
|
|
10518
|
-
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10519
|
-
const _hoisted_1$
|
|
10520
|
-
const _hoisted_2$
|
|
10518
|
+
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-03ed2982"]]);
|
|
10519
|
+
const _hoisted_1$F = { class: "mb-05" };
|
|
10520
|
+
const _hoisted_2$u = {
|
|
10521
10521
|
key: 0,
|
|
10522
10522
|
class: "label txt-start"
|
|
10523
10523
|
};
|
|
10524
|
-
const _hoisted_3$
|
|
10524
|
+
const _hoisted_3$n = {
|
|
10525
10525
|
key: 1,
|
|
10526
10526
|
class: "code-editor-wrap grid rounded p-1 overflow hm-300px ltr txt-start relative h-100p"
|
|
10527
10527
|
};
|
|
10528
|
-
const _hoisted_4$
|
|
10529
|
-
const _hoisted_5$
|
|
10530
|
-
const _hoisted_6$
|
|
10531
|
-
const _sfc_main$
|
|
10528
|
+
const _hoisted_4$g = { class: "overflow-hidden absolute inset-0 p-0 m-0 h-100 codeText" };
|
|
10529
|
+
const _hoisted_5$f = ["innerHTML"];
|
|
10530
|
+
const _hoisted_6$c = ["onKeydown"];
|
|
10531
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
10532
10532
|
__name: "Index",
|
|
10533
10533
|
props: {
|
|
10534
10534
|
language: {},
|
|
@@ -10610,19 +10610,19 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
10610
10610
|
}
|
|
10611
10611
|
}, { immediate: true });
|
|
10612
10612
|
return (_ctx, _cache) => {
|
|
10613
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
10614
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
10615
|
-
unref(loaded) ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
10613
|
+
return openBlock(), createElementBlock("div", _hoisted_1$F, [
|
|
10614
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$u, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
|
|
10615
|
+
unref(loaded) ? (openBlock(), createElementBlock("div", _hoisted_3$n, [
|
|
10616
10616
|
createElementVNode("div", {
|
|
10617
10617
|
class: "relative block h-100",
|
|
10618
10618
|
style: normalizeStyle({ height: `calc(${unref(elHeight)} - 2rem)` })
|
|
10619
10619
|
}, [
|
|
10620
|
-
createElementVNode("pre", _hoisted_4$
|
|
10620
|
+
createElementVNode("pre", _hoisted_4$g, [
|
|
10621
10621
|
_cache[2] || (_cache[2] = createTextVNode(" ")),
|
|
10622
10622
|
createElementVNode("code", {
|
|
10623
10623
|
class: normalizeClass(["absolute inset-0", className.value]),
|
|
10624
10624
|
innerHTML: highlightedCode.value
|
|
10625
|
-
}, null, 10, _hoisted_5$
|
|
10625
|
+
}, null, 10, _hoisted_5$f),
|
|
10626
10626
|
_cache[3] || (_cache[3] = createTextVNode("\n "))
|
|
10627
10627
|
]),
|
|
10628
10628
|
!_ctx.readonly ? withDirectives((openBlock(), createElementBlock("textarea", {
|
|
@@ -10637,7 +10637,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
10637
10637
|
"data-gramm": "false",
|
|
10638
10638
|
onKeydown: withKeys(withModifiers(handleTab, ["prevent"]), ["tab"]),
|
|
10639
10639
|
onInput: _cache[1] || (_cache[1] = ($event) => emit2("update:modelValue", unref(code)))
|
|
10640
|
-
}, null, 40, _hoisted_6$
|
|
10640
|
+
}, null, 40, _hoisted_6$c)), [
|
|
10641
10641
|
[vModelText, unref(code)]
|
|
10642
10642
|
]) : createCommentVNode("", true)
|
|
10643
10643
|
], 4)
|
|
@@ -10646,10 +10646,10 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
10646
10646
|
};
|
|
10647
10647
|
}
|
|
10648
10648
|
});
|
|
10649
|
-
const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10650
|
-
const _hoisted_1$
|
|
10651
|
-
const _hoisted_2$
|
|
10652
|
-
const _sfc_main$
|
|
10649
|
+
const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-1fbc9b61"]]);
|
|
10650
|
+
const _hoisted_1$E = ["title"];
|
|
10651
|
+
const _hoisted_2$t = ["id", "placeholder", "required"];
|
|
10652
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
10653
10653
|
__name: "ColorPicker",
|
|
10654
10654
|
props: {
|
|
10655
10655
|
label: {},
|
|
@@ -10687,11 +10687,11 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
10687
10687
|
placeholder: _ctx.placeholder || _ctx.label,
|
|
10688
10688
|
class: { "no-edit": !_ctx.editMode },
|
|
10689
10689
|
required: _ctx.required
|
|
10690
|
-
}, _ctx.nativeInputAttrs), null, 16, _hoisted_2$
|
|
10690
|
+
}, _ctx.nativeInputAttrs), null, 16, _hoisted_2$t), [
|
|
10691
10691
|
[vModelText, inputVal.value]
|
|
10692
10692
|
])
|
|
10693
10693
|
])
|
|
10694
|
-
], 10, _hoisted_1$
|
|
10694
|
+
], 10, _hoisted_1$E)) : createCommentVNode("", true);
|
|
10695
10695
|
};
|
|
10696
10696
|
}
|
|
10697
10697
|
});
|
|
@@ -19249,9 +19249,9 @@ const eo = ({
|
|
|
19249
19249
|
Object.entries(go).forEach(([e, t]) => {
|
|
19250
19250
|
e !== "default" && (Hn[e] = t);
|
|
19251
19251
|
});
|
|
19252
|
-
const _hoisted_1$
|
|
19253
|
-
const _hoisted_2$
|
|
19254
|
-
const _sfc_main$
|
|
19252
|
+
const _hoisted_1$D = ["title"];
|
|
19253
|
+
const _hoisted_2$s = { key: 0 };
|
|
19254
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
19255
19255
|
__name: "DateInput",
|
|
19256
19256
|
props: {
|
|
19257
19257
|
required: { type: Boolean },
|
|
@@ -19293,7 +19293,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
19293
19293
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
19294
19294
|
title: _ctx.label
|
|
19295
19295
|
}, [
|
|
19296
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
19296
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$s, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
|
|
19297
19297
|
createVNode(unref(Hn), mergeProps({
|
|
19298
19298
|
ref_key: "datePicker",
|
|
19299
19299
|
ref: datePicker,
|
|
@@ -19309,10 +19309,374 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
19309
19309
|
"minutes-grid-increment": _ctx.minutesGridIncrement,
|
|
19310
19310
|
"start-time": { hours: 8, minutes: 0 }
|
|
19311
19311
|
}), null, 16, ["modelValue", "required", "enable-time-picker", "allowed-dates", "time-picker-inline", "minutes-increment", "minutes-grid-increment"])
|
|
19312
|
+
], 10, _hoisted_1$D);
|
|
19313
|
+
};
|
|
19314
|
+
}
|
|
19315
|
+
});
|
|
19316
|
+
const _hoisted_1$C = ["title"];
|
|
19317
|
+
const _hoisted_2$r = { key: 0 };
|
|
19318
|
+
const _hoisted_3$m = {
|
|
19319
|
+
key: 0,
|
|
19320
|
+
class: "required"
|
|
19321
|
+
};
|
|
19322
|
+
const _hoisted_4$f = { class: "date-picker-container" };
|
|
19323
|
+
const _hoisted_5$e = ["type", "value", "min", "max", "required", "disabled"];
|
|
19324
|
+
const _hoisted_6$b = { class: "calendar-container" };
|
|
19325
|
+
const _hoisted_7$8 = { class: "calendar-section" };
|
|
19326
|
+
const _hoisted_8$5 = { class: "calendar-header" };
|
|
19327
|
+
const _hoisted_9$4 = { class: "month-year-selector" };
|
|
19328
|
+
const _hoisted_10$4 = { class: "month-year" };
|
|
19329
|
+
const _hoisted_11$3 = {
|
|
19330
|
+
key: 0,
|
|
19331
|
+
class: "calendar-grid"
|
|
19332
|
+
};
|
|
19333
|
+
const _hoisted_12$3 = ["disabled", "onClick"];
|
|
19334
|
+
const _hoisted_13$3 = {
|
|
19335
|
+
key: 1,
|
|
19336
|
+
class: "month-grid"
|
|
19337
|
+
};
|
|
19338
|
+
const _hoisted_14$2 = ["disabled", "onClick"];
|
|
19339
|
+
const _hoisted_15$1 = {
|
|
19340
|
+
key: 2,
|
|
19341
|
+
class: "year-grid"
|
|
19342
|
+
};
|
|
19343
|
+
const _hoisted_16 = ["disabled", "onClick"];
|
|
19344
|
+
const _hoisted_17 = {
|
|
19345
|
+
key: 0,
|
|
19346
|
+
class: "time-picker"
|
|
19347
|
+
};
|
|
19348
|
+
const _hoisted_18 = { class: "time-input-group" };
|
|
19349
|
+
const _hoisted_19 = { class: "timezone-display" };
|
|
19350
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
19351
|
+
__name: "DatePick",
|
|
19352
|
+
props: {
|
|
19353
|
+
required: { type: Boolean },
|
|
19354
|
+
label: {},
|
|
19355
|
+
editMode: { type: Boolean, default: true },
|
|
19356
|
+
small: { type: Boolean, default: false },
|
|
19357
|
+
enableTime: { type: Boolean, default: false },
|
|
19358
|
+
modelValue: {},
|
|
19359
|
+
min: {},
|
|
19360
|
+
max: {},
|
|
19361
|
+
timezone: { default: "UTC" }
|
|
19362
|
+
},
|
|
19363
|
+
emits: ["update:modelValue"],
|
|
19364
|
+
setup(__props, { emit: __emit }) {
|
|
19365
|
+
const props2 = __props;
|
|
19366
|
+
const emit2 = __emit;
|
|
19367
|
+
let isOpen = ref(false);
|
|
19368
|
+
let currentMonth = ref(/* @__PURE__ */ new Date());
|
|
19369
|
+
let currentView = ref("days");
|
|
19370
|
+
const inputType = computed(() => props2.enableTime ? "datetime-local" : "date");
|
|
19371
|
+
function formatDate(date2) {
|
|
19372
|
+
if (!date2) return "";
|
|
19373
|
+
const dateObj = typeof date2 === "string" ? new Date(date2) : date2;
|
|
19374
|
+
return props2.enableTime ? dateObj.toISOString().slice(0, 16) : dateObj.toISOString().split("T")[0];
|
|
19375
|
+
}
|
|
19376
|
+
const formattedValue = computed(() => formatDate(props2.modelValue));
|
|
19377
|
+
const formattedMin = computed(() => formatDate(props2.min));
|
|
19378
|
+
const formattedMax = computed(() => formatDate(props2.max));
|
|
19379
|
+
const selectedDate = computed(() => {
|
|
19380
|
+
if (!props2.modelValue) return null;
|
|
19381
|
+
return typeof props2.modelValue === "string" ? new Date(props2.modelValue) : props2.modelValue;
|
|
19382
|
+
});
|
|
19383
|
+
const currentMonthDays = computed(() => {
|
|
19384
|
+
const year = currentMonth.value.getFullYear();
|
|
19385
|
+
const month = currentMonth.value.getMonth();
|
|
19386
|
+
const firstDay = new Date(year, month, 1);
|
|
19387
|
+
const lastDay = new Date(year, month + 1, 0);
|
|
19388
|
+
const days = [];
|
|
19389
|
+
for (let i2 = 0; i2 < firstDay.getDay(); i2++) days.push(null);
|
|
19390
|
+
for (let i2 = 1; i2 <= lastDay.getDate(); i2++) days.push(new Date(year, month, i2));
|
|
19391
|
+
return days;
|
|
19392
|
+
});
|
|
19393
|
+
const currentMonthValue = computed(() => ({
|
|
19394
|
+
month: currentMonth.value.getMonth(),
|
|
19395
|
+
year: currentMonth.value.getFullYear(),
|
|
19396
|
+
formatted: {
|
|
19397
|
+
month: currentMonth.value.toLocaleString("default", { month: "long", timeZone: props2.timezone }),
|
|
19398
|
+
year: currentMonth.value.toLocaleString("default", { year: "numeric", timeZone: props2.timezone })
|
|
19399
|
+
}
|
|
19400
|
+
}));
|
|
19401
|
+
const months = computed(
|
|
19402
|
+
() => Array.from({ length: 12 }, (_2, i2) => {
|
|
19403
|
+
const date2 = new Date(currentMonthValue.value.year, i2, 1);
|
|
19404
|
+
return {
|
|
19405
|
+
name: date2.toLocaleString("default", { month: "short" }),
|
|
19406
|
+
value: i2,
|
|
19407
|
+
disabled: isDateDisabled(date2)
|
|
19408
|
+
};
|
|
19409
|
+
})
|
|
19410
|
+
);
|
|
19411
|
+
const years = computed(() => {
|
|
19412
|
+
const startYear = currentMonthValue.value.year - 10;
|
|
19413
|
+
return Array.from({ length: 21 }, (_2, i2) => ({
|
|
19414
|
+
value: startYear + i2,
|
|
19415
|
+
disabled: isYearDisabled(startYear + i2)
|
|
19416
|
+
}));
|
|
19417
|
+
});
|
|
19418
|
+
function isDateDisabled(date2) {
|
|
19419
|
+
if (!date2) return true;
|
|
19420
|
+
const minDate = props2.min ? new Date(props2.min) : null;
|
|
19421
|
+
const maxDate = props2.max ? new Date(props2.max) : null;
|
|
19422
|
+
if (minDate && date2 < minDate) return true;
|
|
19423
|
+
if (maxDate && date2 > maxDate) return true;
|
|
19424
|
+
return false;
|
|
19425
|
+
}
|
|
19426
|
+
function isYearDisabled(year) {
|
|
19427
|
+
const minDate = props2.min ? new Date(props2.min) : null;
|
|
19428
|
+
const maxDate = props2.max ? new Date(props2.max) : null;
|
|
19429
|
+
if (minDate && year < minDate.getFullYear()) return true;
|
|
19430
|
+
if (maxDate && year > maxDate.getFullYear()) return true;
|
|
19431
|
+
return false;
|
|
19432
|
+
}
|
|
19433
|
+
function selectMonth(monthIndex) {
|
|
19434
|
+
currentMonth.value = new Date(currentMonth.value.getFullYear(), monthIndex, 1);
|
|
19435
|
+
currentView.value = "days";
|
|
19436
|
+
}
|
|
19437
|
+
function selectYear(year) {
|
|
19438
|
+
currentMonth.value = new Date(year, currentMonth.value.getMonth(), 1);
|
|
19439
|
+
currentView.value = "months";
|
|
19440
|
+
}
|
|
19441
|
+
function previousMonth() {
|
|
19442
|
+
currentMonth.value = new Date(currentMonth.value.getFullYear(), currentMonth.value.getMonth() - 1, 1);
|
|
19443
|
+
}
|
|
19444
|
+
function nextMonth() {
|
|
19445
|
+
currentMonth.value = new Date(currentMonth.value.getFullYear(), currentMonth.value.getMonth() + 1, 1);
|
|
19446
|
+
}
|
|
19447
|
+
function previousYear() {
|
|
19448
|
+
const offset2 = currentView.value === "months" ? 1 : 21;
|
|
19449
|
+
currentMonth.value = new Date(currentMonth.value.getFullYear() - offset2, currentMonth.value.getMonth(), 1);
|
|
19450
|
+
}
|
|
19451
|
+
function nextYear() {
|
|
19452
|
+
const offset2 = currentView.value === "months" ? 1 : 21;
|
|
19453
|
+
currentMonth.value = new Date(currentMonth.value.getFullYear() + offset2, currentMonth.value.getMonth(), 1);
|
|
19454
|
+
}
|
|
19455
|
+
function selectDate(date2) {
|
|
19456
|
+
var _a2, _b;
|
|
19457
|
+
if (!date2 || !props2.editMode) return;
|
|
19458
|
+
const newDate = new Date(date2.getFullYear(), date2.getMonth(), date2.getDate(), 0, 0, 0);
|
|
19459
|
+
if (props2.enableTime) {
|
|
19460
|
+
const currentHours = ((_a2 = selectedDate.value) == null ? void 0 : _a2.getHours()) ?? (/* @__PURE__ */ new Date()).getHours();
|
|
19461
|
+
const currentMinutes = ((_b = selectedDate.value) == null ? void 0 : _b.getMinutes()) ?? (/* @__PURE__ */ new Date()).getMinutes();
|
|
19462
|
+
newDate.setHours(currentHours);
|
|
19463
|
+
newDate.setMinutes(currentMinutes);
|
|
19464
|
+
emit2("update:modelValue", newDate.toISOString());
|
|
19465
|
+
} else {
|
|
19466
|
+
emit2("update:modelValue", newDate.toISOString().split("T")[0]);
|
|
19467
|
+
isOpen.value = false;
|
|
19468
|
+
}
|
|
19469
|
+
}
|
|
19470
|
+
function handleInput(event) {
|
|
19471
|
+
const input = event.target;
|
|
19472
|
+
if (!input.value) {
|
|
19473
|
+
emit2("update:modelValue", "");
|
|
19474
|
+
return;
|
|
19475
|
+
}
|
|
19476
|
+
const date2 = new Date(input.value);
|
|
19477
|
+
emit2("update:modelValue", props2.enableTime ? date2.toISOString() : date2.toISOString().split("T")[0]);
|
|
19478
|
+
}
|
|
19479
|
+
const hours = computed(() => {
|
|
19480
|
+
var _a2;
|
|
19481
|
+
return ((_a2 = selectedDate.value) == null ? void 0 : _a2.getHours()) ?? 0;
|
|
19482
|
+
});
|
|
19483
|
+
const minutes = computed(() => {
|
|
19484
|
+
var _a2;
|
|
19485
|
+
return ((_a2 = selectedDate.value) == null ? void 0 : _a2.getMinutes()) ?? 0;
|
|
19486
|
+
});
|
|
19487
|
+
function handleHourInput(value) {
|
|
19488
|
+
if (!selectedDate.value) return;
|
|
19489
|
+
const newDate = new Date(selectedDate.value);
|
|
19490
|
+
newDate.setHours(value);
|
|
19491
|
+
emit2("update:modelValue", newDate.toISOString());
|
|
19492
|
+
}
|
|
19493
|
+
function handleMinuteInput(value) {
|
|
19494
|
+
if (!selectedDate.value) return;
|
|
19495
|
+
const newDate = new Date(selectedDate.value);
|
|
19496
|
+
newDate.setMinutes(value);
|
|
19497
|
+
emit2("update:modelValue", newDate.toISOString());
|
|
19498
|
+
}
|
|
19499
|
+
function isSelected(date2) {
|
|
19500
|
+
if (!date2 || !selectedDate.value) return false;
|
|
19501
|
+
return date2.toISOString().split("T")[0] === selectedDate.value.toISOString().split("T")[0];
|
|
19502
|
+
}
|
|
19503
|
+
function isToday(date2) {
|
|
19504
|
+
if (!date2) return false;
|
|
19505
|
+
return date2.toISOString().split("T")[0] === (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
|
|
19506
|
+
}
|
|
19507
|
+
const timezoneDisplay = computed(() => {
|
|
19508
|
+
if (!props2.enableTime) return "";
|
|
19509
|
+
try {
|
|
19510
|
+
return (/* @__PURE__ */ new Date()).toLocaleString("en-US", {
|
|
19511
|
+
timeZoneName: "short",
|
|
19512
|
+
timeZone: props2.timezone
|
|
19513
|
+
}).split(" ").pop();
|
|
19514
|
+
} catch {
|
|
19515
|
+
return "UTC";
|
|
19516
|
+
}
|
|
19517
|
+
});
|
|
19518
|
+
return (_ctx, _cache) => {
|
|
19519
|
+
return openBlock(), createElementBlock("div", {
|
|
19520
|
+
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
19521
|
+
title: _ctx.label
|
|
19522
|
+
}, [
|
|
19523
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$r, [
|
|
19524
|
+
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
19525
|
+
_ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$m, "*")) : createCommentVNode("", true)
|
|
19526
|
+
])) : createCommentVNode("", true),
|
|
19527
|
+
createVNode(unref(kt$1), {
|
|
19528
|
+
shown: unref(isOpen),
|
|
19529
|
+
triggers: [],
|
|
19530
|
+
placement: "bottom-start",
|
|
19531
|
+
distance: 4,
|
|
19532
|
+
onApplyShow: _cache[4] || (_cache[4] = ($event) => isRef(isOpen) ? isOpen.value = true : isOpen = true),
|
|
19533
|
+
onApplyHide: _cache[5] || (_cache[5] = ($event) => isRef(isOpen) ? isOpen.value = false : isOpen = false)
|
|
19534
|
+
}, {
|
|
19535
|
+
popper: withCtx(() => [
|
|
19536
|
+
createElementVNode("div", _hoisted_6$b, [
|
|
19537
|
+
createElementVNode("div", _hoisted_7$8, [
|
|
19538
|
+
createElementVNode("div", _hoisted_8$5, [
|
|
19539
|
+
unref(currentView) === "days" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
19540
|
+
createVNode(unref(Btn), {
|
|
19541
|
+
flat: "",
|
|
19542
|
+
icon: "chevron_left",
|
|
19543
|
+
onClick: previousMonth
|
|
19544
|
+
}),
|
|
19545
|
+
createElementVNode("div", _hoisted_9$4, [
|
|
19546
|
+
createElementVNode("button", {
|
|
19547
|
+
class: "month-btn",
|
|
19548
|
+
onClick: _cache[1] || (_cache[1] = ($event) => isRef(currentView) ? currentView.value = "months" : currentView = "months")
|
|
19549
|
+
}, toDisplayString(currentMonthValue.value.formatted.month), 1),
|
|
19550
|
+
createElementVNode("button", {
|
|
19551
|
+
class: "year-btn",
|
|
19552
|
+
onClick: _cache[2] || (_cache[2] = ($event) => isRef(currentView) ? currentView.value = "years" : currentView = "years")
|
|
19553
|
+
}, toDisplayString(currentMonthValue.value.formatted.year), 1)
|
|
19554
|
+
]),
|
|
19555
|
+
createVNode(unref(Btn), {
|
|
19556
|
+
flat: "",
|
|
19557
|
+
icon: "chevron_right",
|
|
19558
|
+
onClick: nextMonth
|
|
19559
|
+
})
|
|
19560
|
+
], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
19561
|
+
createVNode(unref(Btn), {
|
|
19562
|
+
flat: "",
|
|
19563
|
+
icon: "chevron_left",
|
|
19564
|
+
onClick: previousYear
|
|
19565
|
+
}),
|
|
19566
|
+
createElementVNode("span", _hoisted_10$4, toDisplayString(currentMonthValue.value.formatted.year), 1),
|
|
19567
|
+
createVNode(unref(Btn), {
|
|
19568
|
+
flat: "",
|
|
19569
|
+
icon: "chevron_right",
|
|
19570
|
+
onClick: nextYear
|
|
19571
|
+
})
|
|
19572
|
+
], 64))
|
|
19573
|
+
]),
|
|
19574
|
+
unref(currentView) === "days" ? (openBlock(), createElementBlock("div", _hoisted_11$3, [
|
|
19575
|
+
(openBlock(), createElementBlock(Fragment, null, renderList(["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], (day) => {
|
|
19576
|
+
return createElementVNode("div", {
|
|
19577
|
+
key: day,
|
|
19578
|
+
class: "weekday"
|
|
19579
|
+
}, toDisplayString(day), 1);
|
|
19580
|
+
}), 64)),
|
|
19581
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(currentMonthDays.value, (date2, index2) => {
|
|
19582
|
+
return openBlock(), createElementBlock("button", {
|
|
19583
|
+
key: index2,
|
|
19584
|
+
type: "button",
|
|
19585
|
+
class: normalizeClass(["day", {
|
|
19586
|
+
selected: isSelected(date2),
|
|
19587
|
+
today: isToday(date2),
|
|
19588
|
+
disabled: isDateDisabled(date2)
|
|
19589
|
+
}]),
|
|
19590
|
+
disabled: isDateDisabled(date2),
|
|
19591
|
+
onClick: ($event) => selectDate(date2)
|
|
19592
|
+
}, toDisplayString(date2 == null ? void 0 : date2.getDate()), 11, _hoisted_12$3);
|
|
19593
|
+
}), 128))
|
|
19594
|
+
])) : unref(currentView) === "months" ? (openBlock(), createElementBlock("div", _hoisted_13$3, [
|
|
19595
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(months.value, (month) => {
|
|
19596
|
+
return openBlock(), createElementBlock("button", {
|
|
19597
|
+
key: month.value,
|
|
19598
|
+
class: normalizeClass(["month-item", {
|
|
19599
|
+
selected: month.value === currentMonthValue.value.month,
|
|
19600
|
+
disabled: month.disabled
|
|
19601
|
+
}]),
|
|
19602
|
+
disabled: month.disabled,
|
|
19603
|
+
onClick: ($event) => selectMonth(month.value)
|
|
19604
|
+
}, toDisplayString(month.name), 11, _hoisted_14$2);
|
|
19605
|
+
}), 128))
|
|
19606
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_15$1, [
|
|
19607
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(years.value, (year) => {
|
|
19608
|
+
return openBlock(), createElementBlock("button", {
|
|
19609
|
+
key: year.value,
|
|
19610
|
+
class: normalizeClass(["year-item", {
|
|
19611
|
+
selected: year.value === currentMonthValue.value.year,
|
|
19612
|
+
disabled: year.disabled
|
|
19613
|
+
}]),
|
|
19614
|
+
disabled: year.disabled,
|
|
19615
|
+
onClick: ($event) => selectYear(year.value)
|
|
19616
|
+
}, toDisplayString(year.value), 11, _hoisted_16);
|
|
19617
|
+
}), 128))
|
|
19618
|
+
]))
|
|
19619
|
+
]),
|
|
19620
|
+
_ctx.enableTime && unref(currentView) === "days" ? (openBlock(), createElementBlock("div", _hoisted_17, [
|
|
19621
|
+
createElementVNode("div", _hoisted_18, [
|
|
19622
|
+
createVNode(unref(NumberInput), {
|
|
19623
|
+
center: "",
|
|
19624
|
+
"model-value": hours.value,
|
|
19625
|
+
disabled: !selectedDate.value,
|
|
19626
|
+
min: 0,
|
|
19627
|
+
max: 23,
|
|
19628
|
+
layout: "vertical",
|
|
19629
|
+
padZero: 2,
|
|
19630
|
+
"onUpdate:modelValue": handleHourInput
|
|
19631
|
+
}, null, 8, ["model-value", "disabled"]),
|
|
19632
|
+
_cache[6] || (_cache[6] = createElementVNode("span", null, ":", -1)),
|
|
19633
|
+
createVNode(unref(NumberInput), {
|
|
19634
|
+
center: "",
|
|
19635
|
+
"model-value": minutes.value,
|
|
19636
|
+
disabled: !selectedDate.value,
|
|
19637
|
+
min: 0,
|
|
19638
|
+
max: 59,
|
|
19639
|
+
padZero: 2,
|
|
19640
|
+
layout: "vertical",
|
|
19641
|
+
"onUpdate:modelValue": handleMinuteInput
|
|
19642
|
+
}, null, 8, ["model-value", "disabled"])
|
|
19643
|
+
]),
|
|
19644
|
+
createElementVNode("span", _hoisted_19, toDisplayString(timezoneDisplay.value), 1),
|
|
19645
|
+
selectedDate.value ? (openBlock(), createBlock(unref(Btn), {
|
|
19646
|
+
key: 0,
|
|
19647
|
+
flat: "",
|
|
19648
|
+
onClick: _cache[3] || (_cache[3] = ($event) => isRef(isOpen) ? isOpen.value = false : isOpen = false)
|
|
19649
|
+
}, {
|
|
19650
|
+
default: withCtx(() => _cache[7] || (_cache[7] = [
|
|
19651
|
+
createTextVNode(" Done ")
|
|
19652
|
+
])),
|
|
19653
|
+
_: 1
|
|
19654
|
+
})) : createCommentVNode("", true)
|
|
19655
|
+
])) : createCommentVNode("", true)
|
|
19656
|
+
])
|
|
19657
|
+
]),
|
|
19658
|
+
default: withCtx(() => [
|
|
19659
|
+
createElementVNode("div", _hoisted_4$f, [
|
|
19660
|
+
createElementVNode("input", {
|
|
19661
|
+
type: inputType.value,
|
|
19662
|
+
value: formattedValue.value,
|
|
19663
|
+
min: formattedMin.value,
|
|
19664
|
+
max: formattedMax.value,
|
|
19665
|
+
required: _ctx.required,
|
|
19666
|
+
disabled: !_ctx.editMode,
|
|
19667
|
+
class: "date-input",
|
|
19668
|
+
onInput: handleInput,
|
|
19669
|
+
onClick: _cache[0] || (_cache[0] = ($event) => isRef(isOpen) ? isOpen.value = true : isOpen = true)
|
|
19670
|
+
}, null, 40, _hoisted_5$e)
|
|
19671
|
+
])
|
|
19672
|
+
]),
|
|
19673
|
+
_: 1
|
|
19674
|
+
}, 8, ["shown"])
|
|
19312
19675
|
], 10, _hoisted_1$C);
|
|
19313
19676
|
};
|
|
19314
19677
|
}
|
|
19315
19678
|
});
|
|
19679
|
+
const DatePick = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-e36ecd8c"]]);
|
|
19316
19680
|
const _hoisted_1$B = { class: "datetime-wrap" };
|
|
19317
19681
|
const _hoisted_2$q = { class: "date-wrap" };
|
|
19318
19682
|
const _hoisted_3$l = {
|
|
@@ -19702,7 +20066,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
19702
20066
|
return openBlock(), createElementBlock("div", _hoisted_1$z, [
|
|
19703
20067
|
createElementVNode("label", null, toDisplayString(_ctx.label), 1),
|
|
19704
20068
|
_ctx.required && !storageFiles.value.length ? (openBlock(), createElementBlock("input", _hoisted_2$o)) : createCommentVNode("", true),
|
|
19705
|
-
_ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main
|
|
20069
|
+
_ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main$$), {
|
|
19706
20070
|
key: 1,
|
|
19707
20071
|
outline: "",
|
|
19708
20072
|
class: "flex p-05 gap-1",
|
|
@@ -20012,7 +20376,8 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
20012
20376
|
id: {},
|
|
20013
20377
|
helptext: {},
|
|
20014
20378
|
layout: {},
|
|
20015
|
-
center: { type: Boolean }
|
|
20379
|
+
center: { type: Boolean },
|
|
20380
|
+
padZero: {}
|
|
20016
20381
|
},
|
|
20017
20382
|
emits: ["update:modelValue"],
|
|
20018
20383
|
setup(__props, { emit: __emit }) {
|
|
@@ -20032,7 +20397,11 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
20032
20397
|
emit2("update:modelValue", numberValue.value);
|
|
20033
20398
|
}
|
|
20034
20399
|
function formatNumber2(num) {
|
|
20035
|
-
|
|
20400
|
+
let formatted = num.toString();
|
|
20401
|
+
if (__props.padZero && __props.padZero > 0) {
|
|
20402
|
+
formatted = formatted.padStart(__props.padZero, "0");
|
|
20403
|
+
}
|
|
20404
|
+
return formatted.replace(/\B(?=(\d{3})+(?!\d))/g, ",");
|
|
20036
20405
|
}
|
|
20037
20406
|
let formattedValue = ref("");
|
|
20038
20407
|
function inputHandler() {
|
|
@@ -20068,6 +20437,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
20068
20437
|
flat: "",
|
|
20069
20438
|
icon: "add",
|
|
20070
20439
|
class: normalizeClass(["radius", [{ "bgl-big-ctrl-num-btn": _ctx.layout === "vertical" }]]),
|
|
20440
|
+
tabindex: "-1",
|
|
20071
20441
|
onClick: increment
|
|
20072
20442
|
}, null, 8, ["class"])) : createCommentVNode("", true),
|
|
20073
20443
|
withDirectives(createElementVNode("input", {
|
|
@@ -20121,6 +20491,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
20121
20491
|
flat: "",
|
|
20122
20492
|
icon: "remove",
|
|
20123
20493
|
class: normalizeClass(["radius", [{ "bgl-big-ctrl-num-btn": _ctx.layout === "vertical" }]]),
|
|
20494
|
+
tabindex: "-1",
|
|
20124
20495
|
onClick: decrement
|
|
20125
20496
|
}, null, 8, ["class"])) : createCommentVNode("", true),
|
|
20126
20497
|
_ctx.spinner && (!_ctx.layout || !btnLayouts.includes(_ctx.layout)) ? (openBlock(), createElementBlock("div", _hoisted_4$c, [
|
|
@@ -20130,6 +20501,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
20130
20501
|
thin: "",
|
|
20131
20502
|
class: "bgl-ctrl-num-btn ctrl-add color-gray top-bgl-ctrl-num-btn",
|
|
20132
20503
|
disabled: !canAdd.value,
|
|
20504
|
+
tabindex: "-1",
|
|
20133
20505
|
onClick: increment
|
|
20134
20506
|
}, null, 8, ["disabled"]),
|
|
20135
20507
|
createVNode(unref(Btn), {
|
|
@@ -20138,6 +20510,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
20138
20510
|
thin: "",
|
|
20139
20511
|
class: "bgl-ctrl-num-btn ctrl-remove color-gray",
|
|
20140
20512
|
disabled: !canDecrement.value,
|
|
20513
|
+
tabindex: "-1",
|
|
20141
20514
|
onClick: decrement
|
|
20142
20515
|
}, null, 8, ["disabled"])
|
|
20143
20516
|
])) : createCommentVNode("", true)
|
|
@@ -20147,7 +20520,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
20147
20520
|
};
|
|
20148
20521
|
}
|
|
20149
20522
|
});
|
|
20150
|
-
const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-
|
|
20523
|
+
const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-f265687e"]]);
|
|
20151
20524
|
const _hoisted_1$w = ["value", "autofocus", "onKeydown", "onPaste"];
|
|
20152
20525
|
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
20153
20526
|
__name: "OTP",
|
|
@@ -20810,7 +21183,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
20810
21183
|
return openBlock(), createElementBlock("div", _hoisted_1$q, [
|
|
20811
21184
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.config.map(configToOption).filter(Boolean), (action, index2) => {
|
|
20812
21185
|
return openBlock(), createElementBlock(Fragment, { key: index2 }, [
|
|
20813
|
-
action.name === "insertTable" ? (openBlock(), createBlock(unref(_sfc_main$
|
|
21186
|
+
action.name === "insertTable" ? (openBlock(), createBlock(unref(_sfc_main$X), {
|
|
20814
21187
|
key: 0,
|
|
20815
21188
|
placement: "bottom-start",
|
|
20816
21189
|
thin: "",
|
|
@@ -22108,7 +22481,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
22108
22481
|
}
|
|
22109
22482
|
});
|
|
22110
22483
|
return (_ctx, _cache) => {
|
|
22111
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
22484
|
+
return openBlock(), createBlock(unref(_sfc_main$X), {
|
|
22112
22485
|
ref_key: "dropdown",
|
|
22113
22486
|
ref: dropdown,
|
|
22114
22487
|
shown: unref(open),
|
|
@@ -22187,7 +22560,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
22187
22560
|
height: "25px",
|
|
22188
22561
|
class: "mx-1 my-1"
|
|
22189
22562
|
})) : createCommentVNode("", true),
|
|
22190
|
-
createVNode(unref(_sfc_main
|
|
22563
|
+
createVNode(unref(_sfc_main$$), {
|
|
22191
22564
|
class: "p-05",
|
|
22192
22565
|
style: normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" })
|
|
22193
22566
|
}, {
|
|
@@ -30346,7 +30719,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
30346
30719
|
withKeys(reset, ["tab"])
|
|
30347
30720
|
]
|
|
30348
30721
|
}, [
|
|
30349
|
-
!computedDropDownOptions.value.hide ? (openBlock(), createBlock(unref(_sfc_main$
|
|
30722
|
+
!computedDropDownOptions.value.hide ? (openBlock(), createBlock(unref(_sfc_main$X), {
|
|
30350
30723
|
key: 0,
|
|
30351
30724
|
ref_key: "phoneDropdown",
|
|
30352
30725
|
ref: phoneDropdown,
|
|
@@ -30813,7 +31186,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
30813
31186
|
return openBlock(), createElementBlock("div", _hoisted_1$i, [
|
|
30814
31187
|
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$9, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
|
|
30815
31188
|
_ctx.required && !pathKeys.value.length ? (openBlock(), createElementBlock("input", _hoisted_3$7)) : createCommentVNode("", true),
|
|
30816
|
-
_ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main
|
|
31189
|
+
_ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main$$), {
|
|
30817
31190
|
key: 2,
|
|
30818
31191
|
outline: "",
|
|
30819
31192
|
class: "flex p-05 gap-1",
|
|
@@ -31109,7 +31482,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
31109
31482
|
},
|
|
31110
31483
|
setup(__props) {
|
|
31111
31484
|
return (_ctx, _cache) => {
|
|
31112
|
-
return openBlock(), createBlock(unref(_sfc_main
|
|
31485
|
+
return openBlock(), createBlock(unref(_sfc_main$$), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
|
|
31113
31486
|
default: withCtx(() => [
|
|
31114
31487
|
renderSlot(_ctx.$slots, "brand", {}, void 0, true),
|
|
31115
31488
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.navLinks, (nav, i2) => {
|
|
@@ -31210,7 +31583,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
31210
31583
|
icon: "keyboard_arrow_right",
|
|
31211
31584
|
onClick: unref(toggleMenu)
|
|
31212
31585
|
}, null, 8, ["onClick"]),
|
|
31213
|
-
createVNode(unref(_sfc_main
|
|
31586
|
+
createVNode(unref(_sfc_main$$), { class: "py-1 px-05 h-100 flex column gap-05 rounded relative bg-primary font-light overflow-y" }, {
|
|
31214
31587
|
default: withCtx(() => [
|
|
31215
31588
|
!unref(isOpen) || !unref(slots)["brand-open"] ? renderSlot(_ctx.$slots, "brand", { key: 0 }, void 0, true) : createCommentVNode("", true),
|
|
31216
31589
|
unref(isOpen) ? renderSlot(_ctx.$slots, "brand-open", { key: 1 }, void 0, true) : createCommentVNode("", true),
|
|
@@ -31731,7 +32104,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
31731
32104
|
onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
|
|
31732
32105
|
onKeydown: withKeys(closeModal, ["esc"])
|
|
31733
32106
|
}, [
|
|
31734
|
-
createVNode(unref(_sfc_main
|
|
32107
|
+
createVNode(unref(_sfc_main$$), {
|
|
31735
32108
|
class: "modal",
|
|
31736
32109
|
style: normalizeStyle({ ...maxWidth.value }),
|
|
31737
32110
|
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
@@ -31908,7 +32281,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
31908
32281
|
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => emit2("update:visible", $event))
|
|
31909
32282
|
}, createSlots({
|
|
31910
32283
|
default: withCtx(() => [
|
|
31911
|
-
_ctx.visible ? (openBlock(), createBlock(unref(_sfc_main$
|
|
32284
|
+
_ctx.visible ? (openBlock(), createBlock(unref(_sfc_main$S), {
|
|
31912
32285
|
key: 0,
|
|
31913
32286
|
ref_key: "form",
|
|
31914
32287
|
ref: form,
|
|
@@ -33027,7 +33400,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
33027
33400
|
row,
|
|
33028
33401
|
field
|
|
33029
33402
|
}, void 0, true) : (openBlock(), createElementBlock("div", _hoisted_10$1, [
|
|
33030
|
-
createVNode(unref(_sfc_main$
|
|
33403
|
+
createVNode(unref(_sfc_main$11), {
|
|
33031
33404
|
id: field.id,
|
|
33032
33405
|
class: "embedded-field",
|
|
33033
33406
|
field,
|
|
@@ -35154,33 +35527,34 @@ function timeAgo(date2, lang = "en") {
|
|
|
35154
35527
|
return selectedLang.justNow;
|
|
35155
35528
|
}
|
|
35156
35529
|
export {
|
|
35157
|
-
_sfc_main$
|
|
35530
|
+
_sfc_main$18 as Accordion,
|
|
35158
35531
|
AccordionItem,
|
|
35159
|
-
_sfc_main$
|
|
35532
|
+
_sfc_main$16 as AddressSearch,
|
|
35160
35533
|
Alert,
|
|
35161
35534
|
Avatar,
|
|
35162
35535
|
Badge,
|
|
35163
|
-
_sfc_main$
|
|
35536
|
+
_sfc_main$S as BagelForm,
|
|
35164
35537
|
BagelVue,
|
|
35165
|
-
_sfc_main$
|
|
35166
|
-
_sfc_main$
|
|
35167
|
-
_sfc_main$
|
|
35168
|
-
_sfc_main$
|
|
35538
|
+
_sfc_main$11 as BglComponent,
|
|
35539
|
+
_sfc_main$T as BglField,
|
|
35540
|
+
_sfc_main$S as BglForm,
|
|
35541
|
+
_sfc_main$R as BglMultiStepForm,
|
|
35169
35542
|
BglVideo,
|
|
35170
35543
|
BottomMenu,
|
|
35171
35544
|
Btn,
|
|
35172
|
-
_sfc_main
|
|
35545
|
+
_sfc_main$$ as Card,
|
|
35173
35546
|
Carousel,
|
|
35174
35547
|
CheckInput,
|
|
35175
35548
|
Checkbox,
|
|
35176
35549
|
CodeEditor,
|
|
35177
|
-
_sfc_main$
|
|
35550
|
+
_sfc_main$M as ColorPicker,
|
|
35178
35551
|
DataPreview,
|
|
35179
|
-
_sfc_main$
|
|
35552
|
+
_sfc_main$L as DateInput,
|
|
35553
|
+
DatePick,
|
|
35180
35554
|
_sfc_main$J as DatePicker,
|
|
35181
|
-
_sfc_main$
|
|
35555
|
+
_sfc_main$X as Dropdown,
|
|
35182
35556
|
FORM_STATE_KEY,
|
|
35183
|
-
_sfc_main$
|
|
35557
|
+
_sfc_main$Q as FieldArray,
|
|
35184
35558
|
FieldSetVue,
|
|
35185
35559
|
FileUpload,
|
|
35186
35560
|
Flag,
|
|
@@ -35191,7 +35565,7 @@ export {
|
|
|
35191
35565
|
Image$1 as Image,
|
|
35192
35566
|
JSONInput,
|
|
35193
35567
|
Layout,
|
|
35194
|
-
_sfc_main$
|
|
35568
|
+
_sfc_main$Z as Lineart,
|
|
35195
35569
|
_sfc_main$h as ListItem,
|
|
35196
35570
|
ListView,
|
|
35197
35571
|
Loading,
|