@bagelink/vue 0.0.787 → 0.0.789
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/RangeInput.vue.d.ts +16 -0
- package/dist/components/form/inputs/RangeInput.vue.d.ts.map +1 -0
- package/dist/components/form/inputs/TelInput.vue.d.ts +2 -2
- package/dist/components/form/inputs/index.d.ts +1 -0
- package/dist/components/form/inputs/index.d.ts.map +1 -1
- package/dist/index.cjs +217 -174
- package/dist/index.mjs +217 -174
- package/dist/style.css +44 -0
- package/package.json +1 -1
- package/src/components/form/inputs/RangeInput.vue +75 -0
- package/src/components/form/inputs/index.ts +1 -0
package/dist/index.mjs
CHANGED
|
@@ -38,7 +38,7 @@ const bagelFormUtils = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defi
|
|
|
38
38
|
return txtField;
|
|
39
39
|
}
|
|
40
40
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
41
|
-
const _sfc_main$
|
|
41
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
42
42
|
__name: "Accordion",
|
|
43
43
|
setup(__props) {
|
|
44
44
|
const state2 = reactive({
|
|
@@ -52,11 +52,11 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
54
|
});
|
|
55
|
-
const _hoisted_1$
|
|
56
|
-
const _hoisted_2$
|
|
57
|
-
const _hoisted_3$
|
|
58
|
-
const _hoisted_4$
|
|
59
|
-
const _sfc_main$
|
|
55
|
+
const _hoisted_1$L = { class: "accordion-item" };
|
|
56
|
+
const _hoisted_2$w = ["aria-expanded", "aria-controls"];
|
|
57
|
+
const _hoisted_3$m = { class: "accordion-label" };
|
|
58
|
+
const _hoisted_4$g = ["id", "aria-hidden"];
|
|
59
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
60
60
|
__name: "AccordionItem",
|
|
61
61
|
props: {
|
|
62
62
|
label: {},
|
|
@@ -93,7 +93,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
93
93
|
else if (accordionState.openItem === id) accordionState.openItem = null;
|
|
94
94
|
}
|
|
95
95
|
return (_ctx, _cache) => {
|
|
96
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
96
|
+
return openBlock(), createElementBlock("div", _hoisted_1$L, [
|
|
97
97
|
createElementVNode("button", {
|
|
98
98
|
"aria-expanded": unref(isOpen) ? "true" : "false",
|
|
99
99
|
class: "accordion-head",
|
|
@@ -101,14 +101,14 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
101
101
|
onClick: _cache[0] || (_cache[0] = ($event) => toggle())
|
|
102
102
|
}, [
|
|
103
103
|
renderSlot(_ctx.$slots, "head", {}, () => [
|
|
104
|
-
createElementVNode("span", _hoisted_3$
|
|
104
|
+
createElementVNode("span", _hoisted_3$m, toDisplayString(_ctx.label), 1)
|
|
105
105
|
], true),
|
|
106
106
|
createElementVNode("div", {
|
|
107
107
|
class: normalizeClass(["accordion-icon", { open: unref(isOpen) }])
|
|
108
108
|
}, [
|
|
109
109
|
createVNode(unref(_sfc_main$c), { icon: "expand_more" })
|
|
110
110
|
], 2)
|
|
111
|
-
], 8, _hoisted_2$
|
|
111
|
+
], 8, _hoisted_2$w),
|
|
112
112
|
createVNode(Transition, { name: "expand" }, {
|
|
113
113
|
default: withCtx(() => [
|
|
114
114
|
unref(isOpen) ? (openBlock(), createElementBlock("div", {
|
|
@@ -118,7 +118,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
118
118
|
"aria-hidden": unref(isOpen) ? "false" : "true"
|
|
119
119
|
}, [
|
|
120
120
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
121
|
-
], 8, _hoisted_4$
|
|
121
|
+
], 8, _hoisted_4$g)) : createCommentVNode("", true)
|
|
122
122
|
]),
|
|
123
123
|
_: 3
|
|
124
124
|
})
|
|
@@ -133,9 +133,9 @@ const _export_sfc = (sfc, props2) => {
|
|
|
133
133
|
}
|
|
134
134
|
return target;
|
|
135
135
|
};
|
|
136
|
-
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
137
|
-
const _hoisted_1$
|
|
138
|
-
const _sfc_main$
|
|
136
|
+
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-f87b579d"]]);
|
|
137
|
+
const _hoisted_1$K = { class: "relative" };
|
|
138
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
139
139
|
__name: "AddressSearch",
|
|
140
140
|
emits: ["addressSelected"],
|
|
141
141
|
setup(__props, { emit: __emit }) {
|
|
@@ -157,8 +157,8 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
157
157
|
(_a2 = suggestion.value) == null ? void 0 : _a2.show();
|
|
158
158
|
}
|
|
159
159
|
return (_ctx, _cache) => {
|
|
160
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
161
|
-
createVNode(unref(_sfc_main$
|
|
160
|
+
return openBlock(), createElementBlock("div", _hoisted_1$K, [
|
|
161
|
+
createVNode(unref(_sfc_main$L), {
|
|
162
162
|
ref_key: "suggestion",
|
|
163
163
|
ref: suggestion,
|
|
164
164
|
noAutoFocus: true,
|
|
@@ -193,15 +193,15 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
193
193
|
};
|
|
194
194
|
}
|
|
195
195
|
});
|
|
196
|
-
const _hoisted_1$
|
|
196
|
+
const _hoisted_1$J = {
|
|
197
197
|
key: 0,
|
|
198
198
|
class: "loading"
|
|
199
199
|
};
|
|
200
|
-
const _hoisted_2$
|
|
200
|
+
const _hoisted_2$v = {
|
|
201
201
|
key: 1,
|
|
202
202
|
class: "bgl_btn-flex"
|
|
203
203
|
};
|
|
204
|
-
const _sfc_main$
|
|
204
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
205
205
|
__name: "Btn",
|
|
206
206
|
props: {
|
|
207
207
|
disabled: { type: Boolean, default: false },
|
|
@@ -295,7 +295,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
295
295
|
onClick: withModifiers(_ctx.onClick, ["stop"])
|
|
296
296
|
}, {
|
|
297
297
|
default: withCtx(() => [
|
|
298
|
-
_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
298
|
+
_ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_1$J)) : (openBlock(), createElementBlock("div", _hoisted_2$v, [
|
|
299
299
|
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$c), {
|
|
300
300
|
key: 0,
|
|
301
301
|
icon: _ctx.icon
|
|
@@ -315,10 +315,10 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
315
315
|
};
|
|
316
316
|
}
|
|
317
317
|
});
|
|
318
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
319
|
-
const _hoisted_1$
|
|
320
|
-
const _hoisted_2$
|
|
321
|
-
const _sfc_main$
|
|
318
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-047c9778"]]);
|
|
319
|
+
const _hoisted_1$I = ["dismissable"];
|
|
320
|
+
const _hoisted_2$u = { class: "m-0" };
|
|
321
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
322
322
|
__name: "Alert",
|
|
323
323
|
props: {
|
|
324
324
|
message: {},
|
|
@@ -346,7 +346,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
346
346
|
size: 2,
|
|
347
347
|
color: color2[_ctx.type]
|
|
348
348
|
}, null, 8, ["icon", "color"])) : createCommentVNode("", true),
|
|
349
|
-
createElementVNode("p", _hoisted_2$
|
|
349
|
+
createElementVNode("p", _hoisted_2$u, toDisplayString(_ctx.message), 1),
|
|
350
350
|
createVNode(Btn, {
|
|
351
351
|
flat: "",
|
|
352
352
|
thin: "",
|
|
@@ -354,13 +354,13 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
354
354
|
icon: "close",
|
|
355
355
|
onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
|
|
356
356
|
})
|
|
357
|
-
], 10, _hoisted_1$
|
|
357
|
+
], 10, _hoisted_1$I)) : createCommentVNode("", true);
|
|
358
358
|
};
|
|
359
359
|
}
|
|
360
360
|
});
|
|
361
|
-
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
362
|
-
const _hoisted_1$
|
|
363
|
-
const _sfc_main$
|
|
361
|
+
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-57141c32"]]);
|
|
362
|
+
const _hoisted_1$H = ["src", "alt"];
|
|
363
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
364
364
|
__name: "Avatar",
|
|
365
365
|
props: {
|
|
366
366
|
fallback: {},
|
|
@@ -378,7 +378,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
378
378
|
key: 0,
|
|
379
379
|
src: _ctx.src,
|
|
380
380
|
alt: _ctx.name
|
|
381
|
-
}, null, 8, _hoisted_1$
|
|
381
|
+
}, null, 8, _hoisted_1$H)) : (openBlock(), createElementBlock("p", {
|
|
382
382
|
key: 1,
|
|
383
383
|
style: normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
|
|
384
384
|
}, toDisplayString((_ctx.fallback || unref(initials)(_ctx.name || "")).toUpperCase()), 5))
|
|
@@ -386,8 +386,8 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
386
386
|
};
|
|
387
387
|
}
|
|
388
388
|
});
|
|
389
|
-
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
390
|
-
const _sfc_main$
|
|
389
|
+
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-46ad8c25"]]);
|
|
390
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
391
391
|
__name: "Badge",
|
|
392
392
|
props: {
|
|
393
393
|
color: {},
|
|
@@ -418,10 +418,10 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
418
418
|
};
|
|
419
419
|
}
|
|
420
420
|
});
|
|
421
|
-
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
422
|
-
const _hoisted_1$
|
|
423
|
-
const _hoisted_2$
|
|
424
|
-
const _sfc_main$
|
|
421
|
+
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-40a0b03a"]]);
|
|
422
|
+
const _hoisted_1$G = ["src"];
|
|
423
|
+
const _hoisted_2$t = ["src", "autoplay", "muted", "loop", "controls"];
|
|
424
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
425
425
|
__name: "BglVideo",
|
|
426
426
|
props: {
|
|
427
427
|
src: {},
|
|
@@ -476,7 +476,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
476
476
|
allowfullscreen: "",
|
|
477
477
|
title: "Video",
|
|
478
478
|
allow: "autoplay"
|
|
479
|
-
}, null, 12, _hoisted_1$
|
|
479
|
+
}, null, 12, _hoisted_1$G)) : _ctx.src ? (openBlock(), createElementBlock("video", {
|
|
480
480
|
key: 1,
|
|
481
481
|
src: _ctx.src,
|
|
482
482
|
autoplay: _ctx.autoplay,
|
|
@@ -485,17 +485,17 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
485
485
|
style: normalizeStyle({ aspectRatio: aspectRatio.value }),
|
|
486
486
|
controls: _ctx.controls,
|
|
487
487
|
playsinline: ""
|
|
488
|
-
}, null, 12, _hoisted_2$
|
|
488
|
+
}, null, 12, _hoisted_2$t)) : createCommentVNode("", true)
|
|
489
489
|
], 2);
|
|
490
490
|
};
|
|
491
491
|
}
|
|
492
492
|
});
|
|
493
|
-
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
494
|
-
const _hoisted_1$
|
|
493
|
+
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-8495afe2"]]);
|
|
494
|
+
const _hoisted_1$F = {
|
|
495
495
|
key: 0,
|
|
496
496
|
class: "card_label"
|
|
497
497
|
};
|
|
498
|
-
const _sfc_main$
|
|
498
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
499
499
|
__name: "Card",
|
|
500
500
|
props: {
|
|
501
501
|
label: {},
|
|
@@ -523,7 +523,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
523
523
|
}])
|
|
524
524
|
}, {
|
|
525
525
|
default: withCtx(() => [
|
|
526
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
526
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$F, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
|
|
527
527
|
renderSlot(_ctx.$slots, "default")
|
|
528
528
|
]),
|
|
529
529
|
_: 3
|
|
@@ -531,12 +531,12 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
531
531
|
};
|
|
532
532
|
}
|
|
533
533
|
});
|
|
534
|
-
const _hoisted_1$
|
|
534
|
+
const _hoisted_1$E = {
|
|
535
535
|
key: 0,
|
|
536
536
|
class: "blocker"
|
|
537
537
|
};
|
|
538
|
-
const _hoisted_2$
|
|
539
|
-
const _sfc_main$
|
|
538
|
+
const _hoisted_2$s = { class: "Handlers" };
|
|
539
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
540
540
|
__name: "Carousel",
|
|
541
541
|
props: {
|
|
542
542
|
autoHeight: {
|
|
@@ -684,10 +684,10 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
684
684
|
onScrollend: scrollEnd,
|
|
685
685
|
onMousedown: startDragging
|
|
686
686
|
}, [
|
|
687
|
-
unref(isDragging) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
687
|
+
unref(isDragging) ? (openBlock(), createElementBlock("div", _hoisted_1$E)) : createCommentVNode("", true),
|
|
688
688
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
689
689
|
], 34),
|
|
690
|
-
createElementVNode("div", _hoisted_2$
|
|
690
|
+
createElementVNode("div", _hoisted_2$s, [
|
|
691
691
|
createElementVNode("span", { onClick: prev }, [
|
|
692
692
|
renderSlot(_ctx.$slots, "prev", {
|
|
693
693
|
prev,
|
|
@@ -705,7 +705,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
705
705
|
};
|
|
706
706
|
}
|
|
707
707
|
});
|
|
708
|
-
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
708
|
+
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-1f9c6644"]]);
|
|
709
709
|
function _isPlaceholder(a2) {
|
|
710
710
|
return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
|
|
711
711
|
}
|
|
@@ -6536,8 +6536,8 @@ const _hoisted_1$1$1 = {
|
|
|
6536
6536
|
style: { display: "flex", position: "relative" }
|
|
6537
6537
|
};
|
|
6538
6538
|
const _hoisted_2$1$1 = ["width", "height", "viewBox"];
|
|
6539
|
-
const _hoisted_3$
|
|
6540
|
-
const _hoisted_4$
|
|
6539
|
+
const _hoisted_3$l = { class: "layer-rectangles" };
|
|
6540
|
+
const _hoisted_4$f = ["transform", "onMouseover"];
|
|
6541
6541
|
const _hoisted_5$d = ["width", "height"];
|
|
6542
6542
|
const _hoisted_6$a = {
|
|
6543
6543
|
x: 0 + 10,
|
|
@@ -6554,7 +6554,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6554
6554
|
viewBox: `0 0 ${_ctx.size.width} ${_ctx.size.height}`,
|
|
6555
6555
|
ref: "el"
|
|
6556
6556
|
}, [
|
|
6557
|
-
createElementVNode("g", _hoisted_3$
|
|
6557
|
+
createElementVNode("g", _hoisted_3$l, [
|
|
6558
6558
|
(openBlock(true), createElementBlock(
|
|
6559
6559
|
Fragment$1,
|
|
6560
6560
|
null,
|
|
@@ -6589,7 +6589,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6589
6589
|
)
|
|
6590
6590
|
])
|
|
6591
6591
|
])
|
|
6592
|
-
], 42, _hoisted_4$
|
|
6592
|
+
], 42, _hoisted_4$f);
|
|
6593
6593
|
}),
|
|
6594
6594
|
128
|
|
6595
6595
|
/* KEYED_FRAGMENT */
|
|
@@ -6646,25 +6646,25 @@ var script = defineComponent({
|
|
|
6646
6646
|
return { bar, canvas, direction, mouse };
|
|
6647
6647
|
}
|
|
6648
6648
|
});
|
|
6649
|
-
const _hoisted_1$
|
|
6649
|
+
const _hoisted_1$D = {
|
|
6650
6650
|
key: 0,
|
|
6651
6651
|
class: "layer-hover-bar"
|
|
6652
6652
|
};
|
|
6653
|
-
const _hoisted_2$
|
|
6653
|
+
const _hoisted_2$r = ["x", "y", "width", "height"];
|
|
6654
6654
|
function render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6655
|
-
return _ctx.mouse.hover ? (openBlock(), createElementBlock("g", _hoisted_1$
|
|
6655
|
+
return _ctx.mouse.hover ? (openBlock(), createElementBlock("g", _hoisted_1$D, [
|
|
6656
6656
|
createElementVNode("rect", mergeProps({ class: "hover-bar" }, _ctx.barStyle, {
|
|
6657
6657
|
x: _ctx.bar.x,
|
|
6658
6658
|
y: _ctx.bar.y,
|
|
6659
6659
|
width: _ctx.bar.width > 0 ? _ctx.bar.width : 0,
|
|
6660
6660
|
height: _ctx.bar.height > 0 ? _ctx.bar.height : 0
|
|
6661
|
-
}), null, 16, _hoisted_2$
|
|
6661
|
+
}), null, 16, _hoisted_2$r)
|
|
6662
6662
|
])) : createCommentVNode("v-if", true);
|
|
6663
6663
|
}
|
|
6664
6664
|
script.render = render$e;
|
|
6665
6665
|
script.__file = "src/components/HoverBar/index.vue";
|
|
6666
6666
|
const BRAND_COLOR = "var(--bgl-primary)";
|
|
6667
|
-
const _sfc_main$
|
|
6667
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
6668
6668
|
__name: "Lineart",
|
|
6669
6669
|
props: {
|
|
6670
6670
|
data: {},
|
|
@@ -6804,16 +6804,16 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
6804
6804
|
};
|
|
6805
6805
|
}
|
|
6806
6806
|
});
|
|
6807
|
-
const _hoisted_1$
|
|
6807
|
+
const _hoisted_1$C = {
|
|
6808
6808
|
key: 0,
|
|
6809
6809
|
class: "data"
|
|
6810
6810
|
};
|
|
6811
|
-
const _hoisted_2$
|
|
6811
|
+
const _hoisted_2$q = {
|
|
6812
6812
|
key: 0,
|
|
6813
6813
|
class: "data-row m_py-05"
|
|
6814
6814
|
};
|
|
6815
|
-
const _hoisted_3$
|
|
6816
|
-
const _hoisted_4$
|
|
6815
|
+
const _hoisted_3$k = { class: "key" };
|
|
6816
|
+
const _hoisted_4$e = { class: "m-0" };
|
|
6817
6817
|
const _hoisted_5$c = { key: 1 };
|
|
6818
6818
|
const _hoisted_6$9 = {
|
|
6819
6819
|
key: 0,
|
|
@@ -6825,7 +6825,7 @@ const _hoisted_9$3 = {
|
|
|
6825
6825
|
key: 0,
|
|
6826
6826
|
class: "m-0"
|
|
6827
6827
|
};
|
|
6828
|
-
const _sfc_main$
|
|
6828
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
6829
6829
|
__name: "DataPreview",
|
|
6830
6830
|
props: /* @__PURE__ */ mergeModels({
|
|
6831
6831
|
showFields: {},
|
|
@@ -6861,7 +6861,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
6861
6861
|
const computedSchema = computed(() => getFallbackSchema([itemData.value], props2.showFields));
|
|
6862
6862
|
return (_ctx, _cache) => {
|
|
6863
6863
|
var _a2;
|
|
6864
|
-
return __props.data ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
6864
|
+
return __props.data ? (openBlock(), createElementBlock("div", _hoisted_1$C, [
|
|
6865
6865
|
_ctx.title ? (openBlock(), createBlock(unref(_sfc_main$3), {
|
|
6866
6866
|
key: 0,
|
|
6867
6867
|
label: _ctx.title
|
|
@@ -6870,11 +6870,11 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
6870
6870
|
return openBlock(), createElementBlock(Fragment$1, {
|
|
6871
6871
|
key: field.id
|
|
6872
6872
|
}, [
|
|
6873
|
-
unref(iffer)(field, itemData.value) ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
6874
|
-
createElementVNode("div", _hoisted_3$
|
|
6875
|
-
createElementVNode("p", _hoisted_4$
|
|
6873
|
+
unref(iffer)(field, itemData.value) ? (openBlock(), createElementBlock("div", _hoisted_2$q, [
|
|
6874
|
+
createElementVNode("div", _hoisted_3$k, [
|
|
6875
|
+
createElementVNode("p", _hoisted_4$e, toDisplayString((field == null ? void 0 : field.label) || unref(keyToLabel)(field.id)), 1)
|
|
6876
6876
|
]),
|
|
6877
|
-
createVNode(unref(_sfc_main$
|
|
6877
|
+
createVNode(unref(_sfc_main$J), {
|
|
6878
6878
|
modelValue: itemData.value,
|
|
6879
6879
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => itemData.value = $event),
|
|
6880
6880
|
label: "",
|
|
@@ -6903,7 +6903,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
6903
6903
|
};
|
|
6904
6904
|
}
|
|
6905
6905
|
});
|
|
6906
|
-
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
6906
|
+
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-5f91f598"]]);
|
|
6907
6907
|
const sides = ["top", "right", "bottom", "left"];
|
|
6908
6908
|
const alignments = ["start", "end"];
|
|
6909
6909
|
const placements$1 = /* @__PURE__ */ sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
|
|
@@ -9445,7 +9445,7 @@ const Gt$1 = {
|
|
|
9445
9445
|
install: Ct$1,
|
|
9446
9446
|
options: h
|
|
9447
9447
|
};
|
|
9448
|
-
const _sfc_main$
|
|
9448
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
9449
9449
|
__name: "Dropdown",
|
|
9450
9450
|
props: {
|
|
9451
9451
|
value: {},
|
|
@@ -9502,7 +9502,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
9502
9502
|
};
|
|
9503
9503
|
}
|
|
9504
9504
|
});
|
|
9505
|
-
const _sfc_main$
|
|
9505
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
9506
9506
|
__name: "Flag",
|
|
9507
9507
|
props: {
|
|
9508
9508
|
country: {},
|
|
@@ -9532,8 +9532,8 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
9532
9532
|
};
|
|
9533
9533
|
}
|
|
9534
9534
|
});
|
|
9535
|
-
const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9536
|
-
const _sfc_main$
|
|
9535
|
+
const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-f99f1900"]]);
|
|
9536
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
9537
9537
|
__name: "BglField",
|
|
9538
9538
|
props: {
|
|
9539
9539
|
field: {},
|
|
@@ -9549,7 +9549,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
9549
9549
|
if (props2.field.$el === "toggle") return ToggleInput;
|
|
9550
9550
|
if (props2.field.$el === "check") return CheckInput;
|
|
9551
9551
|
if (props2.field.$el === "richtext") return _sfc_main$v;
|
|
9552
|
-
if (props2.field.$el === "date") return _sfc_main$
|
|
9552
|
+
if (props2.field.$el === "date") return _sfc_main$D;
|
|
9553
9553
|
return props2.field.$el ?? "div";
|
|
9554
9554
|
});
|
|
9555
9555
|
const formData = computed({
|
|
@@ -9633,7 +9633,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
9633
9633
|
};
|
|
9634
9634
|
}
|
|
9635
9635
|
});
|
|
9636
|
-
const _sfc_main$
|
|
9636
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
9637
9637
|
__name: "BglForm",
|
|
9638
9638
|
props: {
|
|
9639
9639
|
label: {},
|
|
@@ -9731,7 +9731,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
9731
9731
|
label: _ctx.label
|
|
9732
9732
|
}, null, 8, ["label"])) : createCommentVNode("", true),
|
|
9733
9733
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(computedSchema.value, (field, i2) => {
|
|
9734
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
9734
|
+
return openBlock(), createBlock(unref(_sfc_main$J), {
|
|
9735
9735
|
key: field.id || `${i2}p`,
|
|
9736
9736
|
modelValue: unref(data2),
|
|
9737
9737
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(data2) ? data2.value = $event : data2 = $event),
|
|
@@ -9755,7 +9755,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
9755
9755
|
label: _ctx.label
|
|
9756
9756
|
}, null, 8, ["label"])) : createCommentVNode("", true),
|
|
9757
9757
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(computedSchema.value, (field, i2) => {
|
|
9758
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
9758
|
+
return openBlock(), createBlock(unref(_sfc_main$J), {
|
|
9759
9759
|
key: field.id || `${i2}p`,
|
|
9760
9760
|
modelValue: unref(data2),
|
|
9761
9761
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(data2) ? data2.value = $event : data2 = $event),
|
|
@@ -9774,8 +9774,8 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
9774
9774
|
};
|
|
9775
9775
|
}
|
|
9776
9776
|
});
|
|
9777
|
-
const _hoisted_1$
|
|
9778
|
-
const _sfc_main$
|
|
9777
|
+
const _hoisted_1$B = { key: 0 };
|
|
9778
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
9779
9779
|
__name: "BglMultiStepForm",
|
|
9780
9780
|
props: /* @__PURE__ */ mergeModels({
|
|
9781
9781
|
bagelFormProps: { default: () => ({}) },
|
|
@@ -9842,8 +9842,8 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
9842
9842
|
mode: "out-in"
|
|
9843
9843
|
}, {
|
|
9844
9844
|
default: withCtx(() => [
|
|
9845
|
-
!unref(isStepping) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
9846
|
-
createVNode(unref(_sfc_main$
|
|
9845
|
+
!unref(isStepping) ? (openBlock(), createElementBlock("div", _hoisted_1$B, [
|
|
9846
|
+
createVNode(unref(_sfc_main$I), mergeProps({
|
|
9847
9847
|
ref_key: "formRef",
|
|
9848
9848
|
ref: formRef,
|
|
9849
9849
|
modelValue: formData.value,
|
|
@@ -9882,8 +9882,8 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
9882
9882
|
};
|
|
9883
9883
|
}
|
|
9884
9884
|
});
|
|
9885
|
-
const _hoisted_1$
|
|
9886
|
-
const _sfc_main$
|
|
9885
|
+
const _hoisted_1$A = { class: "primary-checkbox" };
|
|
9886
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
9887
9887
|
__name: "Checkbox",
|
|
9888
9888
|
props: {
|
|
9889
9889
|
"modelValue": { type: Boolean, ...{ default: false } },
|
|
@@ -9893,7 +9893,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
9893
9893
|
setup(__props) {
|
|
9894
9894
|
const val = useModel(__props, "modelValue");
|
|
9895
9895
|
return (_ctx, _cache) => {
|
|
9896
|
-
return openBlock(), createElementBlock("label", _hoisted_1$
|
|
9896
|
+
return openBlock(), createElementBlock("label", _hoisted_1$A, [
|
|
9897
9897
|
renderSlot(_ctx.$slots, "label", {}, void 0, true),
|
|
9898
9898
|
withDirectives(createElementVNode("input", {
|
|
9899
9899
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
|
|
@@ -9905,11 +9905,11 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
9905
9905
|
};
|
|
9906
9906
|
}
|
|
9907
9907
|
});
|
|
9908
|
-
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9909
|
-
const _hoisted_1$
|
|
9910
|
-
const _hoisted_2$
|
|
9911
|
-
const _hoisted_3$
|
|
9912
|
-
const _sfc_main$
|
|
9908
|
+
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-73f1d9ad"]]);
|
|
9909
|
+
const _hoisted_1$z = ["title"];
|
|
9910
|
+
const _hoisted_2$p = ["id", "value", "required"];
|
|
9911
|
+
const _hoisted_3$j = ["for"];
|
|
9912
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
9913
9913
|
__name: "CheckInput",
|
|
9914
9914
|
props: /* @__PURE__ */ mergeModels({
|
|
9915
9915
|
label: {},
|
|
@@ -9943,22 +9943,22 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
9943
9943
|
required: _ctx.required,
|
|
9944
9944
|
type: "checkbox",
|
|
9945
9945
|
class: "me-05"
|
|
9946
|
-
}, null, 8, _hoisted_2$
|
|
9946
|
+
}, null, 8, _hoisted_2$p), [
|
|
9947
9947
|
[vModelCheckbox, checked.value]
|
|
9948
9948
|
]),
|
|
9949
9949
|
createElementVNode("label", { for: inputId.value }, [
|
|
9950
9950
|
renderSlot(_ctx.$slots, "label", {}, () => [
|
|
9951
9951
|
createTextVNode(toDisplayString(_ctx.label), 1)
|
|
9952
9952
|
], true)
|
|
9953
|
-
], 8, _hoisted_3$
|
|
9954
|
-
], 10, _hoisted_1$
|
|
9953
|
+
], 8, _hoisted_3$j)
|
|
9954
|
+
], 10, _hoisted_1$z);
|
|
9955
9955
|
};
|
|
9956
9956
|
}
|
|
9957
9957
|
});
|
|
9958
|
-
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9959
|
-
const _hoisted_1$
|
|
9960
|
-
const _hoisted_2$
|
|
9961
|
-
const _sfc_main$
|
|
9958
|
+
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-1b4d18c6"]]);
|
|
9959
|
+
const _hoisted_1$y = ["title"];
|
|
9960
|
+
const _hoisted_2$o = ["id", "placeholder", "required"];
|
|
9961
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
9962
9962
|
__name: "ColorPicker",
|
|
9963
9963
|
props: {
|
|
9964
9964
|
label: {},
|
|
@@ -9996,11 +9996,11 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
9996
9996
|
placeholder: _ctx.placeholder || _ctx.label,
|
|
9997
9997
|
class: { "no-edit": !_ctx.editMode },
|
|
9998
9998
|
required: _ctx.required
|
|
9999
|
-
}, _ctx.nativeInputAttrs), null, 16, _hoisted_2$
|
|
9999
|
+
}, _ctx.nativeInputAttrs), null, 16, _hoisted_2$o), [
|
|
10000
10000
|
[vModelText, inputVal.value]
|
|
10001
10001
|
])
|
|
10002
10002
|
])
|
|
10003
|
-
], 10, _hoisted_1$
|
|
10003
|
+
], 10, _hoisted_1$y)) : createCommentVNode("", true);
|
|
10004
10004
|
};
|
|
10005
10005
|
}
|
|
10006
10006
|
});
|
|
@@ -18443,9 +18443,9 @@ const eo = ({
|
|
|
18443
18443
|
Object.entries(go).forEach(([e, t]) => {
|
|
18444
18444
|
e !== "default" && (Hn[e] = t);
|
|
18445
18445
|
});
|
|
18446
|
-
const _hoisted_1$
|
|
18447
|
-
const _hoisted_2$
|
|
18448
|
-
const _sfc_main$
|
|
18446
|
+
const _hoisted_1$x = ["title"];
|
|
18447
|
+
const _hoisted_2$n = { key: 0 };
|
|
18448
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
18449
18449
|
__name: "DateInput",
|
|
18450
18450
|
props: {
|
|
18451
18451
|
required: { type: Boolean },
|
|
@@ -18487,7 +18487,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
18487
18487
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
18488
18488
|
title: _ctx.label
|
|
18489
18489
|
}, [
|
|
18490
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
18490
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$n, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
|
|
18491
18491
|
createVNode(unref(Hn), mergeProps({
|
|
18492
18492
|
ref_key: "datePicker",
|
|
18493
18493
|
ref: datePicker,
|
|
@@ -18503,19 +18503,19 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
18503
18503
|
"minutes-grid-increment": _ctx.minutesGridIncrement,
|
|
18504
18504
|
"start-time": { hours: 8, minutes: 0 }
|
|
18505
18505
|
}), null, 16, ["modelValue", "required", "enable-time-picker", "allowed-dates", "time-picker-inline", "minutes-increment", "minutes-grid-increment"])
|
|
18506
|
-
], 10, _hoisted_1$
|
|
18506
|
+
], 10, _hoisted_1$x);
|
|
18507
18507
|
};
|
|
18508
18508
|
}
|
|
18509
18509
|
});
|
|
18510
|
-
const _hoisted_1$
|
|
18511
|
-
const _hoisted_2$
|
|
18512
|
-
const _hoisted_3$
|
|
18510
|
+
const _hoisted_1$w = { class: "datetime-wrap" };
|
|
18511
|
+
const _hoisted_2$m = { class: "date-wrap" };
|
|
18512
|
+
const _hoisted_3$i = {
|
|
18513
18513
|
key: 0,
|
|
18514
18514
|
class: "time-wrap"
|
|
18515
18515
|
};
|
|
18516
|
-
const _hoisted_4$
|
|
18516
|
+
const _hoisted_4$d = ["id", "name", "value"];
|
|
18517
18517
|
const _hoisted_5$b = ["for"];
|
|
18518
|
-
const _sfc_main$
|
|
18518
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
18519
18519
|
__name: "DatePicker",
|
|
18520
18520
|
props: {
|
|
18521
18521
|
label: {},
|
|
@@ -18543,8 +18543,8 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
18543
18543
|
return `${hour}:${minute}`;
|
|
18544
18544
|
});
|
|
18545
18545
|
return (_ctx, _cache) => {
|
|
18546
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
18547
|
-
createElementVNode("div", _hoisted_2$
|
|
18546
|
+
return openBlock(), createElementBlock("div", _hoisted_1$w, [
|
|
18547
|
+
createElementVNode("div", _hoisted_2$m, [
|
|
18548
18548
|
createVNode(unref(Hn), mergeProps({
|
|
18549
18549
|
modelValue: selectedDate.value,
|
|
18550
18550
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectedDate.value = $event),
|
|
@@ -18562,7 +18562,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
18562
18562
|
_: 1
|
|
18563
18563
|
}, 16, ["modelValue", "allowed-dates", "disabled-dates"])
|
|
18564
18564
|
]),
|
|
18565
|
-
_ctx.showTimeWrap ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
18565
|
+
_ctx.showTimeWrap ? (openBlock(), createElementBlock("div", _hoisted_3$i, [
|
|
18566
18566
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(hours), (hr2) => {
|
|
18567
18567
|
return openBlock(), createElementBlock(Fragment$1, { key: hr2 }, [
|
|
18568
18568
|
withDirectives(createElementVNode("input", {
|
|
@@ -18571,7 +18571,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
18571
18571
|
type: "radio",
|
|
18572
18572
|
name: _ctx.label,
|
|
18573
18573
|
value: hr2
|
|
18574
|
-
}, null, 8, _hoisted_4$
|
|
18574
|
+
}, null, 8, _hoisted_4$d), [
|
|
18575
18575
|
[vModelRadio, selectedHour.value]
|
|
18576
18576
|
]),
|
|
18577
18577
|
createElementVNode("label", {
|
|
@@ -18584,13 +18584,13 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
18584
18584
|
};
|
|
18585
18585
|
}
|
|
18586
18586
|
});
|
|
18587
|
-
const _hoisted_1$
|
|
18588
|
-
const _hoisted_2$
|
|
18587
|
+
const _hoisted_1$v = { class: "bagel-input" };
|
|
18588
|
+
const _hoisted_2$l = {
|
|
18589
18589
|
key: 0,
|
|
18590
18590
|
class: "bgl-multi-preview"
|
|
18591
18591
|
};
|
|
18592
|
-
const _hoisted_3$
|
|
18593
|
-
const _hoisted_4$
|
|
18592
|
+
const _hoisted_3$h = ["src"];
|
|
18593
|
+
const _hoisted_4$c = { class: "m-0" };
|
|
18594
18594
|
const _hoisted_5$a = ["width", "src"];
|
|
18595
18595
|
const _hoisted_6$8 = { class: "no-margin multi-preview-txt" };
|
|
18596
18596
|
const _hoisted_7$5 = {
|
|
@@ -18608,7 +18608,7 @@ const _hoisted_10$2 = {
|
|
|
18608
18608
|
};
|
|
18609
18609
|
const _hoisted_11$1 = ["src"];
|
|
18610
18610
|
const _hoisted_12 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
|
|
18611
|
-
const _sfc_main$
|
|
18611
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
18612
18612
|
__name: "FileUpload",
|
|
18613
18613
|
props: {
|
|
18614
18614
|
label: {},
|
|
@@ -18757,7 +18757,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
18757
18757
|
}
|
|
18758
18758
|
return (_ctx, _cache) => {
|
|
18759
18759
|
const _directive_lightbox = resolveDirective("lightbox");
|
|
18760
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
18760
|
+
return openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
18761
18761
|
createElementVNode("label", null, toDisplayString(_ctx.label), 1),
|
|
18762
18762
|
createElementVNode("div", {
|
|
18763
18763
|
class: normalizeClass(["fileUploadWrap", {
|
|
@@ -18775,7 +18775,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
18775
18775
|
files: storageFiles.value,
|
|
18776
18776
|
fileQueue: fileQueue.value
|
|
18777
18777
|
}, () => [
|
|
18778
|
-
_ctx.multiple ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
18778
|
+
_ctx.multiple ? (openBlock(), createElementBlock("div", _hoisted_2$l, [
|
|
18779
18779
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(storageFiles.value, (file) => {
|
|
18780
18780
|
return openBlock(), createElementBlock("div", {
|
|
18781
18781
|
key: file.id,
|
|
@@ -18786,14 +18786,14 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
18786
18786
|
class: "multi-preview",
|
|
18787
18787
|
src: file.url,
|
|
18788
18788
|
alt: ""
|
|
18789
|
-
}, null, 8, _hoisted_3$
|
|
18789
|
+
}, null, 8, _hoisted_3$h)), [
|
|
18790
18790
|
[_directive_lightbox]
|
|
18791
18791
|
]) : (openBlock(), createBlock(unref(_sfc_main$c), {
|
|
18792
18792
|
key: 1,
|
|
18793
18793
|
icon: "draft",
|
|
18794
18794
|
class: "multi-preview"
|
|
18795
18795
|
})),
|
|
18796
|
-
createElementVNode("p", _hoisted_4$
|
|
18796
|
+
createElementVNode("p", _hoisted_4$c, toDisplayString(file.name), 1),
|
|
18797
18797
|
createVNode(unref(Btn), {
|
|
18798
18798
|
thin: "",
|
|
18799
18799
|
flat: "",
|
|
@@ -18898,11 +18898,11 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
18898
18898
|
};
|
|
18899
18899
|
}
|
|
18900
18900
|
});
|
|
18901
|
-
const $el = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18902
|
-
const _hoisted_1$
|
|
18903
|
-
const _hoisted_2$
|
|
18904
|
-
const _hoisted_3$
|
|
18905
|
-
const _sfc_main$
|
|
18901
|
+
const $el = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-be593d04"]]);
|
|
18902
|
+
const _hoisted_1$u = ["title"];
|
|
18903
|
+
const _hoisted_2$k = { key: 0 };
|
|
18904
|
+
const _hoisted_3$g = ["value", "placeholder"];
|
|
18905
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
18906
18906
|
__name: "JSONInput",
|
|
18907
18907
|
props: {
|
|
18908
18908
|
description: { default: "" },
|
|
@@ -18925,7 +18925,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
18925
18925
|
class: normalizeClass(["bagel-input", { small: _ctx.small }]),
|
|
18926
18926
|
title: _ctx.description
|
|
18927
18927
|
}, [
|
|
18928
|
-
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
18928
|
+
_ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$k, [
|
|
18929
18929
|
createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
|
|
18930
18930
|
])) : createCommentVNode("", true),
|
|
18931
18931
|
createElementVNode("textarea", {
|
|
@@ -18933,14 +18933,14 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
18933
18933
|
class: normalizeClass({ "no-edit": !_ctx.editMode }),
|
|
18934
18934
|
placeholder: _ctx.placeholder,
|
|
18935
18935
|
onInput: handleInput
|
|
18936
|
-
}, null, 42, _hoisted_3$
|
|
18937
|
-
], 10, _hoisted_1$
|
|
18936
|
+
}, null, 42, _hoisted_3$g)
|
|
18937
|
+
], 10, _hoisted_1$u);
|
|
18938
18938
|
};
|
|
18939
18939
|
}
|
|
18940
18940
|
});
|
|
18941
|
-
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18942
|
-
const _hoisted_1$
|
|
18943
|
-
const _sfc_main$
|
|
18941
|
+
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-1cbaeab2"]]);
|
|
18942
|
+
const _hoisted_1$t = { class: "relative" };
|
|
18943
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
18944
18944
|
__name: "PasswordInput",
|
|
18945
18945
|
props: /* @__PURE__ */ mergeModels({
|
|
18946
18946
|
id: {},
|
|
@@ -18980,7 +18980,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
18980
18980
|
);
|
|
18981
18981
|
const inputType = computed(() => showPwd.value ? "text" : "password");
|
|
18982
18982
|
return (_ctx, _cache) => {
|
|
18983
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
18983
|
+
return openBlock(), createElementBlock("div", _hoisted_1$t, [
|
|
18984
18984
|
createVNode(unref(TextInput), mergeProps({
|
|
18985
18985
|
modelValue: password.value,
|
|
18986
18986
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => password.value = $event)
|
|
@@ -19000,10 +19000,10 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
19000
19000
|
};
|
|
19001
19001
|
}
|
|
19002
19002
|
});
|
|
19003
|
-
const _hoisted_1$
|
|
19004
|
-
const _hoisted_2$
|
|
19005
|
-
const _hoisted_3$
|
|
19006
|
-
const _hoisted_4$
|
|
19003
|
+
const _hoisted_1$s = ["for"];
|
|
19004
|
+
const _hoisted_2$j = ["id", "name", "value"];
|
|
19005
|
+
const _hoisted_3$f = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
|
|
19006
|
+
const _hoisted_4$b = ["src", "alt"];
|
|
19007
19007
|
const _hoisted_5$9 = { class: "" };
|
|
19008
19008
|
const _hoisted_6$7 = {
|
|
19009
19009
|
key: 0,
|
|
@@ -19013,7 +19013,7 @@ const _hoisted_7$4 = {
|
|
|
19013
19013
|
key: 1,
|
|
19014
19014
|
class: "txt-gray txt-12 m-0"
|
|
19015
19015
|
};
|
|
19016
|
-
const _sfc_main$
|
|
19016
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
19017
19017
|
__name: "RadioGroup",
|
|
19018
19018
|
props: /* @__PURE__ */ mergeModels({
|
|
19019
19019
|
groupName: {},
|
|
@@ -19041,17 +19041,17 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
19041
19041
|
type: "radio",
|
|
19042
19042
|
name: _ctx.groupName,
|
|
19043
19043
|
value: opt.value
|
|
19044
|
-
}, null, 8, _hoisted_2$
|
|
19044
|
+
}, null, 8, _hoisted_2$j), [
|
|
19045
19045
|
[vModelRadio, selectedOption.value]
|
|
19046
19046
|
]),
|
|
19047
|
-
createElementVNode("div", _hoisted_3$
|
|
19047
|
+
createElementVNode("div", _hoisted_3$f, [
|
|
19048
19048
|
opt.imgSrc ? (openBlock(), createElementBlock("img", {
|
|
19049
19049
|
key: 0,
|
|
19050
19050
|
class: "bg-popup shadow-light py-025 radius-05 m_w40",
|
|
19051
19051
|
width: "60",
|
|
19052
19052
|
src: opt.imgSrc,
|
|
19053
19053
|
alt: opt.imgAlt
|
|
19054
|
-
}, null, 8, _hoisted_4$
|
|
19054
|
+
}, null, 8, _hoisted_4$b)) : createCommentVNode("", true),
|
|
19055
19055
|
createElementVNode("div", _hoisted_5$9, [
|
|
19056
19056
|
opt.label ? (openBlock(), createElementBlock("p", _hoisted_6$7, toDisplayString(opt.label), 1)) : createCommentVNode("", true),
|
|
19057
19057
|
opt.subLabel ? (openBlock(), createElementBlock("p", _hoisted_7$4, toDisplayString(opt.subLabel), 1)) : createCommentVNode("", true)
|
|
@@ -19066,19 +19066,19 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
19066
19066
|
icon: "delete",
|
|
19067
19067
|
onClick: ($event) => _ctx.$emit("delete", opt)
|
|
19068
19068
|
}, null, 8, ["onClick"])) : createCommentVNode("", true)
|
|
19069
|
-
], 8, _hoisted_1$
|
|
19069
|
+
], 8, _hoisted_1$s);
|
|
19070
19070
|
}), 128))
|
|
19071
19071
|
]);
|
|
19072
19072
|
};
|
|
19073
19073
|
}
|
|
19074
19074
|
});
|
|
19075
|
-
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19076
|
-
const _hoisted_1$
|
|
19077
|
-
const _hoisted_2$
|
|
19078
|
-
const _hoisted_3$
|
|
19079
|
-
const _hoisted_4$
|
|
19075
|
+
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-3e9e030f"]]);
|
|
19076
|
+
const _hoisted_1$r = { class: "bagel-input" };
|
|
19077
|
+
const _hoisted_2$i = { class: "pb-025" };
|
|
19078
|
+
const _hoisted_3$e = { class: "flex gap-05 flex-wrap" };
|
|
19079
|
+
const _hoisted_4$a = ["id", "name", "value", "checked"];
|
|
19080
19080
|
const _hoisted_5$8 = ["for"];
|
|
19081
|
-
const _sfc_main$
|
|
19081
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
19082
19082
|
__name: "RadioPillsInput",
|
|
19083
19083
|
props: {
|
|
19084
19084
|
options: {},
|
|
@@ -19119,9 +19119,9 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
19119
19119
|
selectedValue.value = props2.modelValue;
|
|
19120
19120
|
});
|
|
19121
19121
|
return (_ctx, _cache) => {
|
|
19122
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
19123
|
-
createElementVNode("label", _hoisted_2$
|
|
19124
|
-
createElementVNode("div", _hoisted_3$
|
|
19122
|
+
return openBlock(), createElementBlock("div", _hoisted_1$r, [
|
|
19123
|
+
createElementVNode("label", _hoisted_2$i, toDisplayString(_ctx.label), 1),
|
|
19124
|
+
createElementVNode("div", _hoisted_3$e, [
|
|
19125
19125
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.options, (option2, index2) => {
|
|
19126
19126
|
return openBlock(), createElementBlock("div", {
|
|
19127
19127
|
key: index2,
|
|
@@ -19134,7 +19134,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
19134
19134
|
value: getValue(option2),
|
|
19135
19135
|
checked: unref(selectedValue) === getValue(option2),
|
|
19136
19136
|
onChange: handleSelect
|
|
19137
|
-
}, null, 40, _hoisted_4$
|
|
19137
|
+
}, null, 40, _hoisted_4$a),
|
|
19138
19138
|
createElementVNode("label", {
|
|
19139
19139
|
for: `${_ctx.id}-${getValue(option2)}`
|
|
19140
19140
|
}, toDisplayString(getLabel(option2)), 9, _hoisted_5$8)
|
|
@@ -19145,7 +19145,49 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
19145
19145
|
};
|
|
19146
19146
|
}
|
|
19147
19147
|
});
|
|
19148
|
-
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
19148
|
+
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-f2912ed8"]]);
|
|
19149
|
+
const _hoisted_1$q = { class: "flex gap-1 align-center range-slide" };
|
|
19150
|
+
const _hoisted_2$h = { key: 0 };
|
|
19151
|
+
const _hoisted_3$d = ["max", "min", "step"];
|
|
19152
|
+
const _hoisted_4$9 = { key: 1 };
|
|
19153
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
19154
|
+
__name: "RangeInput",
|
|
19155
|
+
props: /* @__PURE__ */ mergeModels({
|
|
19156
|
+
min: {},
|
|
19157
|
+
max: {},
|
|
19158
|
+
step: {}
|
|
19159
|
+
}, {
|
|
19160
|
+
"modelValue": { default: 0 },
|
|
19161
|
+
"modelModifiers": {}
|
|
19162
|
+
}),
|
|
19163
|
+
emits: ["update:modelValue"],
|
|
19164
|
+
setup(__props) {
|
|
19165
|
+
const val = useModel(__props, "modelValue");
|
|
19166
|
+
const background = computed(() => {
|
|
19167
|
+
const minVal = __props.min ?? 0;
|
|
19168
|
+
const maxVal = __props.max ?? 100;
|
|
19169
|
+
const percentage = (val.value - minVal) / (maxVal - minVal) * 100;
|
|
19170
|
+
return `linear-gradient(to right, var(--bgl-primary) ${percentage}%, var(--input-bg) ${percentage}%)`;
|
|
19171
|
+
});
|
|
19172
|
+
return (_ctx, _cache) => {
|
|
19173
|
+
return openBlock(), createElementBlock("div", _hoisted_1$q, [
|
|
19174
|
+
_ctx.min !== void 0 ? (openBlock(), createElementBlock("p", _hoisted_2$h, toDisplayString(_ctx.min), 1)) : createCommentVNode("", true),
|
|
19175
|
+
withDirectives(createElementVNode("input", {
|
|
19176
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
|
|
19177
|
+
style: normalizeStyle({ background: background.value }),
|
|
19178
|
+
max: _ctx.max,
|
|
19179
|
+
min: _ctx.min,
|
|
19180
|
+
step: _ctx.step,
|
|
19181
|
+
type: "range"
|
|
19182
|
+
}, null, 12, _hoisted_3$d), [
|
|
19183
|
+
[vModelText, val.value]
|
|
19184
|
+
]),
|
|
19185
|
+
_ctx.max !== void 0 ? (openBlock(), createElementBlock("p", _hoisted_4$9, toDisplayString(_ctx.max), 1)) : createCommentVNode("", true)
|
|
19186
|
+
]);
|
|
19187
|
+
};
|
|
19188
|
+
}
|
|
19189
|
+
});
|
|
19190
|
+
const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-d653c76a"]]);
|
|
19149
19191
|
function OrderedMap(content) {
|
|
19150
19192
|
this.content = content;
|
|
19151
19193
|
}
|
|
@@ -43537,7 +43579,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
43537
43579
|
}
|
|
43538
43580
|
});
|
|
43539
43581
|
return (_ctx, _cache) => {
|
|
43540
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
43582
|
+
return openBlock(), createBlock(unref(_sfc_main$L), {
|
|
43541
43583
|
ref_key: "dropdown",
|
|
43542
43584
|
ref: dropdown,
|
|
43543
43585
|
placement: "bottom-start",
|
|
@@ -43589,7 +43631,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
43589
43631
|
])
|
|
43590
43632
|
]),
|
|
43591
43633
|
default: withCtx(() => [
|
|
43592
|
-
createVNode(unref(_sfc_main$
|
|
43634
|
+
createVNode(unref(_sfc_main$P), {
|
|
43593
43635
|
class: "p-05",
|
|
43594
43636
|
style: normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" })
|
|
43595
43637
|
}, {
|
|
@@ -51998,7 +52040,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
51998
52040
|
withKeys(reset, ["tab"])
|
|
51999
52041
|
]
|
|
52000
52042
|
}, [
|
|
52001
|
-
!computedDropDownOptions.value.hide ? (openBlock(), createBlock(unref(_sfc_main$
|
|
52043
|
+
!computedDropDownOptions.value.hide ? (openBlock(), createBlock(unref(_sfc_main$L), {
|
|
52002
52044
|
key: 0,
|
|
52003
52045
|
ref_key: "phoneDropdown",
|
|
52004
52046
|
ref: phoneDropdown,
|
|
@@ -52293,7 +52335,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
52293
52335
|
},
|
|
52294
52336
|
setup(__props) {
|
|
52295
52337
|
return (_ctx, _cache) => {
|
|
52296
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
52338
|
+
return openBlock(), createBlock(unref(_sfc_main$P), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
|
|
52297
52339
|
default: withCtx(() => [
|
|
52298
52340
|
renderSlot(_ctx.$slots, "brand", {}, void 0, true),
|
|
52299
52341
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.navLinks, (nav2, i2) => {
|
|
@@ -52393,7 +52435,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
52393
52435
|
icon: "keyboard_arrow_right",
|
|
52394
52436
|
onClick: toggleMenu
|
|
52395
52437
|
}),
|
|
52396
|
-
createVNode(unref(_sfc_main$
|
|
52438
|
+
createVNode(unref(_sfc_main$P), { class: "py-1 px-05 h-100 flex column gap-05 rounded relative bg-primary font-light overflow-y" }, {
|
|
52397
52439
|
default: withCtx(() => [
|
|
52398
52440
|
!unref(isOpen) || !unref(slots)["brand-open"] ? renderSlot(_ctx.$slots, "brand", { key: 0 }, void 0, true) : createCommentVNode("", true),
|
|
52399
52441
|
unref(isOpen) ? renderSlot(_ctx.$slots, "brand-open", { key: 1 }, void 0, true) : createCommentVNode("", true),
|
|
@@ -52900,7 +52942,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
52900
52942
|
onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
|
|
52901
52943
|
onKeydown: withKeys(closeModal, ["esc"])
|
|
52902
52944
|
}, [
|
|
52903
|
-
createVNode(unref(_sfc_main$
|
|
52945
|
+
createVNode(unref(_sfc_main$P), {
|
|
52904
52946
|
class: "modal",
|
|
52905
52947
|
style: normalizeStyle({ ...maxWidth.value }),
|
|
52906
52948
|
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
@@ -53068,7 +53110,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
53068
53110
|
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => emit2("update:visible", $event))
|
|
53069
53111
|
}, createSlots({
|
|
53070
53112
|
default: withCtx(() => [
|
|
53071
|
-
createVNode(unref(_sfc_main$
|
|
53113
|
+
createVNode(unref(_sfc_main$I), {
|
|
53072
53114
|
ref_key: "form",
|
|
53073
53115
|
ref: form,
|
|
53074
53116
|
modelValue: formData.value,
|
|
@@ -53918,7 +53960,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
53918
53960
|
row,
|
|
53919
53961
|
field
|
|
53920
53962
|
}, void 0, true) : (openBlock(), createElementBlock("div", _hoisted_10$1, [
|
|
53921
|
-
createVNode(unref(_sfc_main$
|
|
53963
|
+
createVNode(unref(_sfc_main$J), {
|
|
53922
53964
|
class: "embedded-field",
|
|
53923
53965
|
field,
|
|
53924
53966
|
modelValue: row,
|
|
@@ -55069,7 +55111,7 @@ function frmRow(...children2) {
|
|
|
55069
55111
|
function bglForm(idOrField, ...schema) {
|
|
55070
55112
|
if (typeof idOrField === "string") {
|
|
55071
55113
|
return {
|
|
55072
|
-
$el: markRaw(_sfc_main$
|
|
55114
|
+
$el: markRaw(_sfc_main$I),
|
|
55073
55115
|
id: idOrField,
|
|
55074
55116
|
attrs: {
|
|
55075
55117
|
schema: [idOrField, ...schema]
|
|
@@ -55077,7 +55119,7 @@ function bglForm(idOrField, ...schema) {
|
|
|
55077
55119
|
};
|
|
55078
55120
|
}
|
|
55079
55121
|
return {
|
|
55080
|
-
$el: markRaw(_sfc_main$
|
|
55122
|
+
$el: markRaw(_sfc_main$I),
|
|
55081
55123
|
attrs: {
|
|
55082
55124
|
schema: [idOrField, ...schema]
|
|
55083
55125
|
}
|
|
@@ -55679,29 +55721,29 @@ const IMAGE_FORMATS_REGEXP = new RegExp(`(${IMAGE_FORMATS.join("|")})$`, "i");
|
|
|
55679
55721
|
const VIDEO_FORMATS = ["mp4", "webm", "ogg", "mov", "avi", "flv", "wmv", "mkv", "ts", "m3u8"];
|
|
55680
55722
|
const VIDEO_FORMATS_REGEXP = new RegExp(`(${VIDEO_FORMATS.join("|")})$`, "i");
|
|
55681
55723
|
export {
|
|
55682
|
-
_sfc_main$
|
|
55724
|
+
_sfc_main$X as Accordion,
|
|
55683
55725
|
AccordionItem,
|
|
55684
|
-
_sfc_main$
|
|
55726
|
+
_sfc_main$V as AddressSearch,
|
|
55685
55727
|
Alert,
|
|
55686
55728
|
Avatar,
|
|
55687
55729
|
Badge,
|
|
55688
|
-
_sfc_main$
|
|
55730
|
+
_sfc_main$I as BagelForm,
|
|
55689
55731
|
BagelVue,
|
|
55690
|
-
_sfc_main$
|
|
55691
|
-
_sfc_main$
|
|
55692
|
-
_sfc_main$
|
|
55732
|
+
_sfc_main$J as BglField,
|
|
55733
|
+
_sfc_main$I as BglForm,
|
|
55734
|
+
_sfc_main$H as BglMultiStepForm,
|
|
55693
55735
|
BglVideo,
|
|
55694
55736
|
BottomMenu,
|
|
55695
55737
|
Btn,
|
|
55696
|
-
_sfc_main$
|
|
55738
|
+
_sfc_main$P as Card,
|
|
55697
55739
|
Carousel,
|
|
55698
55740
|
CheckInput,
|
|
55699
55741
|
Checkbox,
|
|
55700
|
-
_sfc_main$
|
|
55742
|
+
_sfc_main$E as ColorPicker,
|
|
55701
55743
|
DataPreview,
|
|
55702
|
-
_sfc_main$
|
|
55703
|
-
_sfc_main$
|
|
55704
|
-
_sfc_main$
|
|
55744
|
+
_sfc_main$D as DateInput,
|
|
55745
|
+
_sfc_main$C as DatePicker,
|
|
55746
|
+
_sfc_main$L as Dropdown,
|
|
55705
55747
|
$el as FileUpload,
|
|
55706
55748
|
Flag,
|
|
55707
55749
|
IMAGE_FORMATS,
|
|
@@ -55709,7 +55751,7 @@ export {
|
|
|
55709
55751
|
_sfc_main$c as Icon,
|
|
55710
55752
|
JSONInput,
|
|
55711
55753
|
Layout,
|
|
55712
|
-
_sfc_main$
|
|
55754
|
+
_sfc_main$N as Lineart,
|
|
55713
55755
|
_sfc_main$f as ListItem,
|
|
55714
55756
|
ListView,
|
|
55715
55757
|
_sfc_main$d as MapEmbed,
|
|
@@ -55720,10 +55762,11 @@ export {
|
|
|
55720
55762
|
ModalPlugin,
|
|
55721
55763
|
NavBar,
|
|
55722
55764
|
_sfc_main$7 as PageTitle,
|
|
55723
|
-
_sfc_main$
|
|
55765
|
+
_sfc_main$z as PasswordInput,
|
|
55724
55766
|
Pill,
|
|
55725
55767
|
RadioGroup,
|
|
55726
55768
|
RadioPillsInput,
|
|
55769
|
+
RangeInput,
|
|
55727
55770
|
_sfc_main$v as RichText,
|
|
55728
55771
|
index$1 as RichText2,
|
|
55729
55772
|
RouterWrapper,
|