@bagelink/vue 0.0.1016 → 0.0.1023
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/Btn.vue.d.ts +3 -0
- package/dist/components/Btn.vue.d.ts.map +1 -1
- package/dist/components/form/BglField.vue.d.ts.map +1 -1
- package/dist/components/form/FieldArray.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RangeInput.vue.d.ts +11 -14
- package/dist/components/form/inputs/RangeInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/RichText/index.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/TelInput.vue.d.ts +2 -2
- package/dist/components/layout/TabsBody.vue.d.ts.map +1 -1
- package/dist/components/layout/TabsNav.vue.d.ts +25 -1
- package/dist/components/layout/TabsNav.vue.d.ts.map +1 -1
- package/dist/components/lightbox/index.d.ts.map +1 -1
- package/dist/index.cjs +273 -246
- package/dist/index.mjs +273 -246
- package/dist/style.css +373 -338
- package/package.json +1 -1
- package/src/components/Btn.vue +5 -3
- package/src/components/form/BglField.vue +9 -0
- package/src/components/form/FieldArray.vue +31 -23
- package/src/components/form/inputs/RangeInput.vue +142 -77
- package/src/components/form/inputs/RichText/index.vue +2 -2
- package/src/components/layout/TabsBody.vue +2 -2
- package/src/components/layout/TabsNav.vue +14 -12
- package/src/components/lightbox/index.ts +0 -1
- package/src/styles/appearance.css +8 -0
- package/src/styles/theme.css +258 -256
package/dist/index.mjs
CHANGED
|
@@ -53,8 +53,8 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
55
|
});
|
|
56
|
-
const _hoisted_1$
|
|
57
|
-
const _hoisted_2$
|
|
56
|
+
const _hoisted_1$P = ["aria-expanded", "aria-controls"];
|
|
57
|
+
const _hoisted_2$w = { class: "accordion-label" };
|
|
58
58
|
const _hoisted_3$p = ["id", "aria-hidden"];
|
|
59
59
|
const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
60
60
|
__name: "AccordionItem",
|
|
@@ -122,7 +122,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
122
122
|
createVNode(unref(_sfc_main$c), { icon: computedIcon.value }, null, 8, ["icon"])
|
|
123
123
|
], 2)) : createCommentVNode("", true),
|
|
124
124
|
renderSlot(_ctx.$slots, "head", {}, () => [
|
|
125
|
-
createElementVNode("span", _hoisted_2$
|
|
125
|
+
createElementVNode("span", _hoisted_2$w, toDisplayString(_ctx.label), 1)
|
|
126
126
|
], true),
|
|
127
127
|
iconPosition.value === "end" ? (openBlock(), createElementBlock("span", {
|
|
128
128
|
key: 1,
|
|
@@ -130,7 +130,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
130
130
|
}, [
|
|
131
131
|
createVNode(unref(_sfc_main$c), { icon: computedIcon.value }, null, 8, ["icon"])
|
|
132
132
|
], 2)) : createCommentVNode("", true)
|
|
133
|
-
], 8, _hoisted_1$
|
|
133
|
+
], 8, _hoisted_1$P),
|
|
134
134
|
createVNode(Transition, { name: "expand" }, {
|
|
135
135
|
default: withCtx(() => [
|
|
136
136
|
unref(isOpen) ? (openBlock(), createElementBlock("div", {
|
|
@@ -156,7 +156,7 @@ const _export_sfc = (sfc, props2) => {
|
|
|
156
156
|
return target;
|
|
157
157
|
};
|
|
158
158
|
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-1e73ca3e"]]);
|
|
159
|
-
const _hoisted_1$
|
|
159
|
+
const _hoisted_1$O = { class: "relative" };
|
|
160
160
|
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
161
161
|
__name: "AddressSearch",
|
|
162
162
|
emits: ["addressSelected"],
|
|
@@ -179,7 +179,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
179
179
|
(_a2 = suggestion.value) == null ? void 0 : _a2.show();
|
|
180
180
|
}
|
|
181
181
|
return (_ctx, _cache) => {
|
|
182
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
182
|
+
return openBlock(), createElementBlock("div", _hoisted_1$O, [
|
|
183
183
|
createVNode(unref(_sfc_main$S), {
|
|
184
184
|
ref_key: "suggestion",
|
|
185
185
|
ref: suggestion,
|
|
@@ -215,7 +215,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
215
215
|
};
|
|
216
216
|
}
|
|
217
217
|
});
|
|
218
|
-
const _hoisted_1$
|
|
218
|
+
const _hoisted_1$N = {
|
|
219
219
|
key: 1,
|
|
220
220
|
class: "bgl_btn-flex"
|
|
221
221
|
};
|
|
@@ -239,6 +239,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
239
239
|
href: {},
|
|
240
240
|
round: { type: Boolean, default: false },
|
|
241
241
|
is: { default: "button" },
|
|
242
|
+
ripple: { type: Boolean, default: true },
|
|
242
243
|
onClick: { type: Function, default: () => "" }
|
|
243
244
|
},
|
|
244
245
|
setup(__props) {
|
|
@@ -283,7 +284,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
283
284
|
_ctx.loading ? (openBlock(), createBlock(unref(Loading), {
|
|
284
285
|
key: 0,
|
|
285
286
|
size: "15"
|
|
286
|
-
})) : (openBlock(), createElementBlock("div", _hoisted_1$
|
|
287
|
+
})) : (openBlock(), createElementBlock("div", _hoisted_1$N, [
|
|
287
288
|
_ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$c), {
|
|
288
289
|
key: 0,
|
|
289
290
|
icon: _ctx.icon
|
|
@@ -300,14 +301,14 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
|
300
301
|
]),
|
|
301
302
|
_: 3
|
|
302
303
|
}, 16, ["disabled", "class", "tabindex", "onClick", "onKeydown"])), [
|
|
303
|
-
[_directive_ripple]
|
|
304
|
+
[_directive_ripple, _ctx.ripple]
|
|
304
305
|
]);
|
|
305
306
|
};
|
|
306
307
|
}
|
|
307
308
|
});
|
|
308
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-
|
|
309
|
-
const _hoisted_1$
|
|
310
|
-
const _hoisted_2$
|
|
309
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-c23a3626"]]);
|
|
310
|
+
const _hoisted_1$M = ["dismissable"];
|
|
311
|
+
const _hoisted_2$v = { class: "m-0" };
|
|
311
312
|
const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
312
313
|
__name: "Alert",
|
|
313
314
|
props: {
|
|
@@ -336,7 +337,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
336
337
|
size: 2,
|
|
337
338
|
color: color2[_ctx.type]
|
|
338
339
|
}, null, 8, ["icon", "color"])) : createCommentVNode("", true),
|
|
339
|
-
createElementVNode("p", _hoisted_2$
|
|
340
|
+
createElementVNode("p", _hoisted_2$v, toDisplayString(_ctx.message), 1),
|
|
340
341
|
createVNode(Btn, {
|
|
341
342
|
flat: "",
|
|
342
343
|
thin: "",
|
|
@@ -344,12 +345,12 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
|
|
|
344
345
|
icon: "close",
|
|
345
346
|
onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
|
|
346
347
|
})
|
|
347
|
-
], 10, _hoisted_1$
|
|
348
|
+
], 10, _hoisted_1$M)) : createCommentVNode("", true);
|
|
348
349
|
};
|
|
349
350
|
}
|
|
350
351
|
});
|
|
351
352
|
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-57141c32"]]);
|
|
352
|
-
const _hoisted_1$
|
|
353
|
+
const _hoisted_1$L = ["src", "alt"];
|
|
353
354
|
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
354
355
|
__name: "Avatar",
|
|
355
356
|
props: {
|
|
@@ -368,7 +369,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
368
369
|
key: 0,
|
|
369
370
|
src: _ctx.src,
|
|
370
371
|
alt: _ctx.name
|
|
371
|
-
}, null, 8, _hoisted_1$
|
|
372
|
+
}, null, 8, _hoisted_1$L)) : (openBlock(), createElementBlock("p", {
|
|
372
373
|
key: 1,
|
|
373
374
|
style: normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
|
|
374
375
|
}, toDisplayString((_ctx.fallback || unref(initials)(_ctx.name || "")).toUpperCase()), 5))
|
|
@@ -407,8 +408,8 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
407
408
|
}
|
|
408
409
|
});
|
|
409
410
|
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-2f3caf93"]]);
|
|
410
|
-
const _hoisted_1$
|
|
411
|
-
const _hoisted_2$
|
|
411
|
+
const _hoisted_1$K = ["src"];
|
|
412
|
+
const _hoisted_2$u = ["autoplay", "muted", "loop", "controls", "playsinline"];
|
|
412
413
|
const _hoisted_3$o = ["src", "type"];
|
|
413
414
|
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
414
415
|
__name: "BglVideo",
|
|
@@ -487,7 +488,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
487
488
|
allowfullscreen: "",
|
|
488
489
|
title: "Video",
|
|
489
490
|
allow: "autoplay"
|
|
490
|
-
}, null, 12, _hoisted_1$
|
|
491
|
+
}, null, 12, _hoisted_1$K)) : _ctx.src ? (openBlock(), createElementBlock("video", {
|
|
491
492
|
key: 1,
|
|
492
493
|
ref_key: "video",
|
|
493
494
|
ref: video,
|
|
@@ -502,13 +503,13 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
|
502
503
|
src: _ctx.src,
|
|
503
504
|
type: `video/${videoFormat.value}`
|
|
504
505
|
}, null, 8, _hoisted_3$o)
|
|
505
|
-
], 12, _hoisted_2$
|
|
506
|
+
], 12, _hoisted_2$u)) : createCommentVNode("", true)
|
|
506
507
|
], 2);
|
|
507
508
|
};
|
|
508
509
|
}
|
|
509
510
|
});
|
|
510
511
|
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-006552f6"]]);
|
|
511
|
-
const _hoisted_1$
|
|
512
|
+
const _hoisted_1$J = {
|
|
512
513
|
key: 0,
|
|
513
514
|
class: "card_label"
|
|
514
515
|
};
|
|
@@ -541,7 +542,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
541
542
|
}])
|
|
542
543
|
}, {
|
|
543
544
|
default: withCtx(() => [
|
|
544
|
-
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
545
|
+
_ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$J, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
|
|
545
546
|
renderSlot(_ctx.$slots, "default")
|
|
546
547
|
]),
|
|
547
548
|
_: 3
|
|
@@ -551,8 +552,8 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
|
551
552
|
};
|
|
552
553
|
}
|
|
553
554
|
});
|
|
554
|
-
const _hoisted_1$
|
|
555
|
-
const _hoisted_2$
|
|
555
|
+
const _hoisted_1$I = ["dir"];
|
|
556
|
+
const _hoisted_2$t = {
|
|
556
557
|
key: 0,
|
|
557
558
|
class: "blocker"
|
|
558
559
|
};
|
|
@@ -725,7 +726,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
725
726
|
onMouseover: clearAutoplay,
|
|
726
727
|
onFocusin: clearAutoplay
|
|
727
728
|
}, [
|
|
728
|
-
unref(isDragging) ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
729
|
+
unref(isDragging) ? (openBlock(), createElementBlock("div", _hoisted_2$t)) : createCommentVNode("", true),
|
|
729
730
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
730
731
|
], 38),
|
|
731
732
|
createElementVNode("div", _hoisted_3$n, [
|
|
@@ -742,7 +743,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
|
742
743
|
}, void 0, true)
|
|
743
744
|
])
|
|
744
745
|
])
|
|
745
|
-
], 14, _hoisted_1$
|
|
746
|
+
], 14, _hoisted_1$I);
|
|
746
747
|
};
|
|
747
748
|
}
|
|
748
749
|
});
|
|
@@ -6581,9 +6582,9 @@ const _hoisted_1$1$1 = {
|
|
|
6581
6582
|
};
|
|
6582
6583
|
const _hoisted_2$1$1 = ["width", "height", "viewBox"];
|
|
6583
6584
|
const _hoisted_3$m = { class: "layer-rectangles" };
|
|
6584
|
-
const _hoisted_4$
|
|
6585
|
-
const _hoisted_5$
|
|
6586
|
-
const _hoisted_6$
|
|
6585
|
+
const _hoisted_4$f = ["transform", "onMouseover"];
|
|
6586
|
+
const _hoisted_5$e = ["width", "height"];
|
|
6587
|
+
const _hoisted_6$b = {
|
|
6587
6588
|
x: 0 + 10,
|
|
6588
6589
|
y: 0 + 20,
|
|
6589
6590
|
"font-size": `15px`,
|
|
@@ -6619,21 +6620,21 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6619
6620
|
y: 0,
|
|
6620
6621
|
width: r2.width,
|
|
6621
6622
|
height: r2.height
|
|
6622
|
-
}), null, 16, _hoisted_5$
|
|
6623
|
+
}), null, 16, _hoisted_5$e),
|
|
6623
6624
|
renderSlot(_ctx.$slots, "text", {
|
|
6624
6625
|
r: r2,
|
|
6625
6626
|
selected: _ctx.selected === i2
|
|
6626
6627
|
}, () => [
|
|
6627
6628
|
createElementVNode(
|
|
6628
6629
|
"text",
|
|
6629
|
-
_hoisted_6$
|
|
6630
|
+
_hoisted_6$b,
|
|
6630
6631
|
toDisplayString(r2.data.name),
|
|
6631
6632
|
1
|
|
6632
6633
|
/* TEXT */
|
|
6633
6634
|
)
|
|
6634
6635
|
])
|
|
6635
6636
|
])
|
|
6636
|
-
], 42, _hoisted_4$
|
|
6637
|
+
], 42, _hoisted_4$f);
|
|
6637
6638
|
}),
|
|
6638
6639
|
128
|
|
6639
6640
|
/* KEYED_FRAGMENT */
|
|
@@ -6690,19 +6691,19 @@ var script = defineComponent({
|
|
|
6690
6691
|
return { bar, canvas, direction, mouse };
|
|
6691
6692
|
}
|
|
6692
6693
|
});
|
|
6693
|
-
const _hoisted_1$
|
|
6694
|
+
const _hoisted_1$H = {
|
|
6694
6695
|
key: 0,
|
|
6695
6696
|
class: "layer-hover-bar"
|
|
6696
6697
|
};
|
|
6697
|
-
const _hoisted_2$
|
|
6698
|
+
const _hoisted_2$s = ["x", "y", "width", "height"];
|
|
6698
6699
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6699
|
-
return _ctx.mouse.hover ? (openBlock(), createElementBlock("g", _hoisted_1$
|
|
6700
|
+
return _ctx.mouse.hover ? (openBlock(), createElementBlock("g", _hoisted_1$H, [
|
|
6700
6701
|
createElementVNode("rect", mergeProps({ class: "hover-bar" }, _ctx.barStyle, {
|
|
6701
6702
|
x: _ctx.bar.x,
|
|
6702
6703
|
y: _ctx.bar.y,
|
|
6703
6704
|
width: _ctx.bar.width > 0 ? _ctx.bar.width : 0,
|
|
6704
6705
|
height: _ctx.bar.height > 0 ? _ctx.bar.height : 0
|
|
6705
|
-
}), null, 16, _hoisted_2$
|
|
6706
|
+
}), null, 16, _hoisted_2$s)
|
|
6706
6707
|
])) : createCommentVNode("v-if", true);
|
|
6707
6708
|
}
|
|
6708
6709
|
script.render = render;
|
|
@@ -6848,18 +6849,18 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
6848
6849
|
};
|
|
6849
6850
|
}
|
|
6850
6851
|
});
|
|
6851
|
-
const _hoisted_1$
|
|
6852
|
+
const _hoisted_1$G = {
|
|
6852
6853
|
key: 0,
|
|
6853
6854
|
class: "data"
|
|
6854
6855
|
};
|
|
6855
|
-
const _hoisted_2$
|
|
6856
|
+
const _hoisted_2$r = {
|
|
6856
6857
|
key: 0,
|
|
6857
6858
|
class: "data-row m_py-05"
|
|
6858
6859
|
};
|
|
6859
6860
|
const _hoisted_3$l = { class: "key" };
|
|
6860
|
-
const _hoisted_4$
|
|
6861
|
-
const _hoisted_5$
|
|
6862
|
-
const _hoisted_6$
|
|
6861
|
+
const _hoisted_4$e = { class: "m-0" };
|
|
6862
|
+
const _hoisted_5$d = { key: 1 };
|
|
6863
|
+
const _hoisted_6$a = {
|
|
6863
6864
|
key: 0,
|
|
6864
6865
|
class: "data-row"
|
|
6865
6866
|
};
|
|
@@ -6905,7 +6906,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
6905
6906
|
const computedSchema = computed(() => getFallbackSchema([itemData.value], props2.showFields));
|
|
6906
6907
|
return (_ctx, _cache) => {
|
|
6907
6908
|
var _a2;
|
|
6908
|
-
return __props.data ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
6909
|
+
return __props.data ? (openBlock(), createElementBlock("div", _hoisted_1$G, [
|
|
6909
6910
|
_ctx.title ? (openBlock(), createBlock(unref(_sfc_main$3), {
|
|
6910
6911
|
key: 0,
|
|
6911
6912
|
label: _ctx.title
|
|
@@ -6914,9 +6915,9 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
6914
6915
|
return openBlock(), createElementBlock(Fragment, {
|
|
6915
6916
|
key: field.id
|
|
6916
6917
|
}, [
|
|
6917
|
-
unref(iffer)(field, itemData.value) ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
6918
|
+
unref(iffer)(field, itemData.value) ? (openBlock(), createElementBlock("div", _hoisted_2$r, [
|
|
6918
6919
|
createElementVNode("div", _hoisted_3$l, [
|
|
6919
|
-
createElementVNode("p", _hoisted_4$
|
|
6920
|
+
createElementVNode("p", _hoisted_4$e, toDisplayString((field == null ? void 0 : field.label) || unref(keyToLabel)(field.id)), 1)
|
|
6920
6921
|
]),
|
|
6921
6922
|
createVNode(unref(_sfc_main$P), {
|
|
6922
6923
|
modelValue: itemData.value,
|
|
@@ -6928,10 +6929,10 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
6928
6929
|
])) : createCommentVNode("", true)
|
|
6929
6930
|
], 64);
|
|
6930
6931
|
}), 128)),
|
|
6931
|
-
!((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
6932
|
+
!((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (openBlock(), createElementBlock("div", _hoisted_5$d, [
|
|
6932
6933
|
(openBlock(true), createElementBlock(Fragment, null, renderList(computedSchema.value, ({ id, label }) => {
|
|
6933
6934
|
return openBlock(), createElementBlock(Fragment, { key: id }, [
|
|
6934
|
-
!isUnset(itemData.value[id]) ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
6935
|
+
!isUnset(itemData.value[id]) ? (openBlock(), createElementBlock("div", _hoisted_6$a, [
|
|
6935
6936
|
createElementVNode("div", _hoisted_7$6, [
|
|
6936
6937
|
createElementVNode("p", _hoisted_8$4, toDisplayString(label), 1)
|
|
6937
6938
|
]),
|
|
@@ -9604,7 +9605,7 @@ function useTabs(group) {
|
|
|
9604
9605
|
});
|
|
9605
9606
|
return { currentTab };
|
|
9606
9607
|
}
|
|
9607
|
-
const _hoisted_1$
|
|
9608
|
+
const _hoisted_1$F = ["onClick"];
|
|
9608
9609
|
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
9609
9610
|
__name: "TabsNav",
|
|
9610
9611
|
props: {
|
|
@@ -9669,30 +9670,33 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
9669
9670
|
window.removeEventListener("resize", updateIndicator);
|
|
9670
9671
|
});
|
|
9671
9672
|
return (_ctx, _cache) => {
|
|
9673
|
+
const _component_Icon = resolveComponent("Icon");
|
|
9672
9674
|
return openBlock(), createElementBlock("div", {
|
|
9673
9675
|
ref_key: "tabsWrap",
|
|
9674
9676
|
ref: tabsWrap,
|
|
9675
9677
|
class: normalizeClass(["grid auto-flow-columns relative fit-content bgl_tabs_wrap overflow-hidden", { "bgl_flat-tabs": _ctx.flat, "bgl_vertical-tabs": _ctx.vertical }])
|
|
9676
9678
|
}, [
|
|
9677
|
-
(
|
|
9678
|
-
|
|
9679
|
-
|
|
9680
|
-
|
|
9681
|
-
|
|
9682
|
-
|
|
9683
|
-
|
|
9684
|
-
|
|
9685
|
-
|
|
9686
|
-
|
|
9687
|
-
|
|
9688
|
-
|
|
9689
|
-
|
|
9690
|
-
|
|
9679
|
+
renderSlot(_ctx.$slots, "tabs", normalizeProps(guardReactiveProps({ selectTab, isActive, tabLabel, tabs: tabs.value })), () => [
|
|
9680
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(props2.tabs, (tab, i2) => {
|
|
9681
|
+
return openBlock(), createElementBlock("button", {
|
|
9682
|
+
key: i2,
|
|
9683
|
+
type: "button",
|
|
9684
|
+
class: normalizeClass([{ active: isActive(tab) }, "bgl_tab relative z-1"]),
|
|
9685
|
+
onClick: ($event) => selectTab(tab)
|
|
9686
|
+
}, [
|
|
9687
|
+
typeof tab !== "string" && tab.icon ? (openBlock(), createBlock(_component_Icon, {
|
|
9688
|
+
key: 0,
|
|
9689
|
+
icon: tab.icon
|
|
9690
|
+
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
9691
|
+
createTextVNode(" " + toDisplayString(tabLabel(tab)), 1)
|
|
9692
|
+
], 10, _hoisted_1$F);
|
|
9693
|
+
}), 128))
|
|
9694
|
+
], true)
|
|
9691
9695
|
], 2);
|
|
9692
9696
|
};
|
|
9693
9697
|
}
|
|
9694
9698
|
});
|
|
9695
|
-
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-
|
|
9699
|
+
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-bbb66a44"]]);
|
|
9696
9700
|
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
9697
9701
|
__name: "BglField",
|
|
9698
9702
|
props: {
|
|
@@ -9710,7 +9714,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
9710
9714
|
customAttrs.value.multiline = true;
|
|
9711
9715
|
return TextInput;
|
|
9712
9716
|
}
|
|
9713
|
-
if (props2.field.$el === "array") return
|
|
9717
|
+
if (props2.field.$el === "array") return _sfc_main$M;
|
|
9714
9718
|
if (props2.field.$el === "select") return SelectInput;
|
|
9715
9719
|
if (props2.field.$el === "toggle") return ToggleInput;
|
|
9716
9720
|
if (props2.field.$el === "check") return CheckInput;
|
|
@@ -9718,6 +9722,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
9718
9722
|
if (props2.field.$el === "file") return FileUpload;
|
|
9719
9723
|
if (props2.field.$el === "date") return _sfc_main$H;
|
|
9720
9724
|
if (props2.field.$el === "tabs") return TabsNav;
|
|
9725
|
+
if (props2.field.$el === "form") return _sfc_main$O;
|
|
9721
9726
|
return props2.field.$el ?? "div";
|
|
9722
9727
|
});
|
|
9723
9728
|
const formData = computed({
|
|
@@ -9740,6 +9745,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
9740
9745
|
temp[keys4[keys4.length - 1]] = val;
|
|
9741
9746
|
return data2;
|
|
9742
9747
|
}
|
|
9748
|
+
const isForm = computed(() => props2.field.$el === "form" || props2.field.$el === _sfc_main$O);
|
|
9743
9749
|
function getFieldData(obj, key) {
|
|
9744
9750
|
if (typeof obj !== "object" || obj === null) return obj;
|
|
9745
9751
|
const keys4 = key.split(objPathRegex);
|
|
@@ -9755,12 +9761,17 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
9755
9761
|
}
|
|
9756
9762
|
const fieldData = computed({
|
|
9757
9763
|
set: (val) => {
|
|
9764
|
+
if (isForm.value) {
|
|
9765
|
+
emit2("update:modelValue", val);
|
|
9766
|
+
return;
|
|
9767
|
+
}
|
|
9758
9768
|
if (!props2.field.id) return;
|
|
9759
9769
|
const data2 = setFieldData(props2.field.id, val);
|
|
9760
9770
|
emit2("update:modelValue", data2);
|
|
9761
9771
|
},
|
|
9762
9772
|
get: () => {
|
|
9763
9773
|
if (props2.field.id) return getFieldData(props2.modelValue, props2.field.id);
|
|
9774
|
+
if (isForm.value) return props2.modelValue;
|
|
9764
9775
|
return props2.field.defaultValue ?? "";
|
|
9765
9776
|
}
|
|
9766
9777
|
});
|
|
@@ -9969,7 +9980,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
9969
9980
|
};
|
|
9970
9981
|
}
|
|
9971
9982
|
});
|
|
9972
|
-
const _hoisted_1$
|
|
9983
|
+
const _hoisted_1$E = { key: 0 };
|
|
9973
9984
|
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
9974
9985
|
__name: "BglMultiStepForm",
|
|
9975
9986
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -10037,7 +10048,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
10037
10048
|
mode: "out-in"
|
|
10038
10049
|
}, {
|
|
10039
10050
|
default: withCtx(() => [
|
|
10040
|
-
!unref(isStepping) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
10051
|
+
!unref(isStepping) ? (openBlock(), createElementBlock("div", _hoisted_1$E, [
|
|
10041
10052
|
createVNode(unref(_sfc_main$O), mergeProps({
|
|
10042
10053
|
ref_key: "formRef",
|
|
10043
10054
|
ref: formRef,
|
|
@@ -10077,7 +10088,8 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
10077
10088
|
};
|
|
10078
10089
|
}
|
|
10079
10090
|
});
|
|
10080
|
-
const _hoisted_1$
|
|
10091
|
+
const _hoisted_1$D = { class: "label mb-05" };
|
|
10092
|
+
const _hoisted_2$q = { class: "-ms-05 ps-05 border-start" };
|
|
10081
10093
|
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
10082
10094
|
__name: "FieldArray",
|
|
10083
10095
|
props: {
|
|
@@ -10114,57 +10126,40 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
10114
10126
|
data2.value.push({});
|
|
10115
10127
|
emitValue();
|
|
10116
10128
|
}
|
|
10117
|
-
computed(
|
|
10118
|
-
() => ({
|
|
10119
|
-
label: props2.label,
|
|
10120
|
-
placeholder: props2.placeholder,
|
|
10121
|
-
children: props2.children,
|
|
10122
|
-
class: props2.class,
|
|
10123
|
-
attrs: props2.attrs,
|
|
10124
|
-
required: props2.required,
|
|
10125
|
-
disabled: props2.disabled,
|
|
10126
|
-
helptext: props2.helptext,
|
|
10127
|
-
options: props2.options,
|
|
10128
|
-
defaultValue: props2.defaultValue,
|
|
10129
|
-
$el: props2.el
|
|
10130
|
-
})
|
|
10131
|
-
);
|
|
10132
10129
|
return (_ctx, _cache) => {
|
|
10133
10130
|
return openBlock(), createElementBlock("div", null, [
|
|
10134
|
-
createElementVNode("p", _hoisted_1$
|
|
10135
|
-
createElementVNode("div",
|
|
10131
|
+
createElementVNode("p", _hoisted_1$D, toDisplayString(_ctx.label), 1),
|
|
10132
|
+
createElementVNode("div", _hoisted_2$q, [
|
|
10136
10133
|
(openBlock(true), createElementBlock(Fragment, null, renderList(data2.value, (_2, i2) => {
|
|
10137
|
-
return openBlock(),
|
|
10134
|
+
return openBlock(), createElementBlock("div", {
|
|
10138
10135
|
key: i2,
|
|
10139
10136
|
outline: "",
|
|
10140
10137
|
thin: "",
|
|
10141
|
-
class: "mb-05 itemBox
|
|
10142
|
-
},
|
|
10143
|
-
|
|
10144
|
-
|
|
10145
|
-
|
|
10146
|
-
|
|
10147
|
-
|
|
10148
|
-
|
|
10149
|
-
|
|
10150
|
-
|
|
10151
|
-
|
|
10152
|
-
|
|
10153
|
-
|
|
10154
|
-
|
|
10155
|
-
|
|
10156
|
-
|
|
10157
|
-
|
|
10158
|
-
|
|
10159
|
-
]),
|
|
10160
|
-
_: 2
|
|
10161
|
-
}, 1024);
|
|
10138
|
+
class: "mb-05 itemBox transition p-05"
|
|
10139
|
+
}, [
|
|
10140
|
+
_ctx.schema ? (openBlock(), createBlock(unref(_sfc_main$O), {
|
|
10141
|
+
key: 0,
|
|
10142
|
+
modelValue: data2.value[i2],
|
|
10143
|
+
"onUpdate:modelValue": [($event) => data2.value[i2] = $event, emitValue],
|
|
10144
|
+
schema: _ctx.schema
|
|
10145
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "schema"])) : createCommentVNode("", true),
|
|
10146
|
+
props2.delete ? (openBlock(), createBlock(unref(Btn), {
|
|
10147
|
+
key: 1,
|
|
10148
|
+
icon: "delete",
|
|
10149
|
+
value: "Delete",
|
|
10150
|
+
class: "txt10 opacity-7 color-red",
|
|
10151
|
+
thin: "",
|
|
10152
|
+
flat: "",
|
|
10153
|
+
onClick: ($event) => deleteItem(i2)
|
|
10154
|
+
}, null, 8, ["onClick"])) : createCommentVNode("", true)
|
|
10155
|
+
]);
|
|
10162
10156
|
}), 128)),
|
|
10163
10157
|
_ctx.add ? (openBlock(), createBlock(unref(Btn), {
|
|
10164
10158
|
key: 0,
|
|
10159
|
+
thin: "",
|
|
10165
10160
|
icon: "add",
|
|
10166
10161
|
color: "gray",
|
|
10167
|
-
class: "
|
|
10162
|
+
class: "txt12",
|
|
10168
10163
|
onClick: addItem
|
|
10169
10164
|
}, {
|
|
10170
10165
|
default: withCtx(() => [
|
|
@@ -10177,8 +10172,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
10177
10172
|
};
|
|
10178
10173
|
}
|
|
10179
10174
|
});
|
|
10180
|
-
const
|
|
10181
|
-
const _hoisted_1$D = { class: "primary-checkbox" };
|
|
10175
|
+
const _hoisted_1$C = { class: "primary-checkbox" };
|
|
10182
10176
|
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
10183
10177
|
__name: "Checkbox",
|
|
10184
10178
|
props: {
|
|
@@ -10189,7 +10183,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
10189
10183
|
setup(__props) {
|
|
10190
10184
|
const val = useModel(__props, "modelValue");
|
|
10191
10185
|
return (_ctx, _cache) => {
|
|
10192
|
-
return openBlock(), createElementBlock("label", _hoisted_1$
|
|
10186
|
+
return openBlock(), createElementBlock("label", _hoisted_1$C, [
|
|
10193
10187
|
renderSlot(_ctx.$slots, "label", {}, void 0, true),
|
|
10194
10188
|
withDirectives(createElementVNode("input", {
|
|
10195
10189
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
|
|
@@ -10202,7 +10196,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
10202
10196
|
}
|
|
10203
10197
|
});
|
|
10204
10198
|
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-73f1d9ad"]]);
|
|
10205
|
-
const _hoisted_1$
|
|
10199
|
+
const _hoisted_1$B = ["title"];
|
|
10206
10200
|
const _hoisted_2$p = ["id", "value", "required"];
|
|
10207
10201
|
const _hoisted_3$k = ["for"];
|
|
10208
10202
|
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
@@ -10247,18 +10241,18 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
10247
10241
|
createTextVNode(toDisplayString(_ctx.label), 1)
|
|
10248
10242
|
], true)
|
|
10249
10243
|
], 8, _hoisted_3$k)
|
|
10250
|
-
], 10, _hoisted_1$
|
|
10244
|
+
], 10, _hoisted_1$B);
|
|
10251
10245
|
};
|
|
10252
10246
|
}
|
|
10253
10247
|
});
|
|
10254
10248
|
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-03ed2982"]]);
|
|
10255
|
-
const _hoisted_1$
|
|
10249
|
+
const _hoisted_1$A = {
|
|
10256
10250
|
key: 0,
|
|
10257
10251
|
class: "code-editor-wrap grid rounded p-1 overflow hm-300px"
|
|
10258
10252
|
};
|
|
10259
10253
|
const _hoisted_2$o = { class: "overflow-hidden absolute inset-0 p-0 m-0 h-100 codeText" };
|
|
10260
10254
|
const _hoisted_3$j = ["innerHTML"];
|
|
10261
|
-
const _hoisted_4$
|
|
10255
|
+
const _hoisted_4$d = ["onKeydown"];
|
|
10262
10256
|
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
10263
10257
|
__name: "Index",
|
|
10264
10258
|
props: {
|
|
@@ -10339,7 +10333,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
10339
10333
|
}
|
|
10340
10334
|
}, { immediate: true });
|
|
10341
10335
|
return (_ctx, _cache) => {
|
|
10342
|
-
return unref(loaded) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
10336
|
+
return unref(loaded) ? (openBlock(), createElementBlock("div", _hoisted_1$A, [
|
|
10343
10337
|
createElementVNode("div", {
|
|
10344
10338
|
class: "relative block h-100",
|
|
10345
10339
|
style: normalizeStyle({ height: unref(height) })
|
|
@@ -10364,7 +10358,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
10364
10358
|
"data-gramm": "false",
|
|
10365
10359
|
onKeydown: withKeys(withModifiers(handleTab, ["prevent"]), ["tab"]),
|
|
10366
10360
|
onInput: _cache[1] || (_cache[1] = ($event) => emit2("update:modelValue", unref(code)))
|
|
10367
|
-
}, null, 40, _hoisted_4$
|
|
10361
|
+
}, null, 40, _hoisted_4$d)), [
|
|
10368
10362
|
[vModelText, unref(code)]
|
|
10369
10363
|
]) : createCommentVNode("", true)
|
|
10370
10364
|
], 4)
|
|
@@ -10373,7 +10367,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
10373
10367
|
}
|
|
10374
10368
|
});
|
|
10375
10369
|
const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-4f1dc18a"]]);
|
|
10376
|
-
const _hoisted_1$
|
|
10370
|
+
const _hoisted_1$z = ["title"];
|
|
10377
10371
|
const _hoisted_2$n = ["id", "placeholder", "required"];
|
|
10378
10372
|
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
10379
10373
|
__name: "ColorPicker",
|
|
@@ -10417,7 +10411,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
10417
10411
|
[vModelText, inputVal.value]
|
|
10418
10412
|
])
|
|
10419
10413
|
])
|
|
10420
|
-
], 10, _hoisted_1$
|
|
10414
|
+
], 10, _hoisted_1$z)) : createCommentVNode("", true);
|
|
10421
10415
|
};
|
|
10422
10416
|
}
|
|
10423
10417
|
});
|
|
@@ -18975,7 +18969,7 @@ const eo = ({
|
|
|
18975
18969
|
Object.entries(go).forEach(([e, t]) => {
|
|
18976
18970
|
e !== "default" && (Hn[e] = t);
|
|
18977
18971
|
});
|
|
18978
|
-
const _hoisted_1$
|
|
18972
|
+
const _hoisted_1$y = ["title"];
|
|
18979
18973
|
const _hoisted_2$m = { key: 0 };
|
|
18980
18974
|
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
18981
18975
|
__name: "DateInput",
|
|
@@ -19035,18 +19029,18 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
19035
19029
|
"minutes-grid-increment": _ctx.minutesGridIncrement,
|
|
19036
19030
|
"start-time": { hours: 8, minutes: 0 }
|
|
19037
19031
|
}), null, 16, ["modelValue", "required", "enable-time-picker", "allowed-dates", "time-picker-inline", "minutes-increment", "minutes-grid-increment"])
|
|
19038
|
-
], 10, _hoisted_1$
|
|
19032
|
+
], 10, _hoisted_1$y);
|
|
19039
19033
|
};
|
|
19040
19034
|
}
|
|
19041
19035
|
});
|
|
19042
|
-
const _hoisted_1$
|
|
19036
|
+
const _hoisted_1$x = { class: "datetime-wrap" };
|
|
19043
19037
|
const _hoisted_2$l = { class: "date-wrap" };
|
|
19044
19038
|
const _hoisted_3$i = {
|
|
19045
19039
|
key: 0,
|
|
19046
19040
|
class: "time-wrap"
|
|
19047
19041
|
};
|
|
19048
|
-
const _hoisted_4$
|
|
19049
|
-
const _hoisted_5$
|
|
19042
|
+
const _hoisted_4$c = ["id", "name", "value"];
|
|
19043
|
+
const _hoisted_5$c = ["for"];
|
|
19050
19044
|
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
19051
19045
|
__name: "DatePicker",
|
|
19052
19046
|
props: {
|
|
@@ -19075,7 +19069,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
19075
19069
|
return `${hour}:${minute}`;
|
|
19076
19070
|
});
|
|
19077
19071
|
return (_ctx, _cache) => {
|
|
19078
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
19072
|
+
return openBlock(), createElementBlock("div", _hoisted_1$x, [
|
|
19079
19073
|
createElementVNode("div", _hoisted_2$l, [
|
|
19080
19074
|
createVNode(unref(Hn), mergeProps({
|
|
19081
19075
|
modelValue: selectedDate.value,
|
|
@@ -19103,12 +19097,12 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
19103
19097
|
type: "radio",
|
|
19104
19098
|
name: _ctx.label,
|
|
19105
19099
|
value: hr2
|
|
19106
|
-
}, null, 8, _hoisted_4$
|
|
19100
|
+
}, null, 8, _hoisted_4$c), [
|
|
19107
19101
|
[vModelRadio, selectedHour.value]
|
|
19108
19102
|
]),
|
|
19109
19103
|
createElementVNode("label", {
|
|
19110
19104
|
for: `${hr2}_${_ctx.id}`
|
|
19111
|
-
}, toDisplayString(hr2), 9, _hoisted_5$
|
|
19105
|
+
}, toDisplayString(hr2), 9, _hoisted_5$c)
|
|
19112
19106
|
], 64);
|
|
19113
19107
|
}), 128))
|
|
19114
19108
|
])) : createCommentVNode("", true)
|
|
@@ -19116,7 +19110,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
19116
19110
|
};
|
|
19117
19111
|
}
|
|
19118
19112
|
});
|
|
19119
|
-
const _hoisted_1$
|
|
19113
|
+
const _hoisted_1$w = ["src", "alt", "width", "height"];
|
|
19120
19114
|
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
19121
19115
|
__name: "Image",
|
|
19122
19116
|
props: {
|
|
@@ -19180,7 +19174,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
19180
19174
|
alt: _ctx.alt,
|
|
19181
19175
|
width: unref(normalizeDimension)(_ctx.width),
|
|
19182
19176
|
height: unref(normalizeDimension)(_ctx.height)
|
|
19183
|
-
}), null, 16, _hoisted_1$
|
|
19177
|
+
}), null, 16, _hoisted_1$w)) : (openBlock(), createBlock(unref(Skeleton), {
|
|
19184
19178
|
key: 1,
|
|
19185
19179
|
class: "img-web-kit",
|
|
19186
19180
|
width: unref(normalizeDimension)(_ctx.width),
|
|
@@ -19190,7 +19184,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
19190
19184
|
}
|
|
19191
19185
|
});
|
|
19192
19186
|
const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-a96b25a8"]]);
|
|
19193
|
-
const _hoisted_1$
|
|
19187
|
+
const _hoisted_1$v = { class: "bagel-input" };
|
|
19194
19188
|
const _hoisted_2$k = {
|
|
19195
19189
|
key: 0,
|
|
19196
19190
|
placeholder: "required",
|
|
@@ -19199,12 +19193,12 @@ const _hoisted_2$k = {
|
|
|
19199
19193
|
class: "pixel"
|
|
19200
19194
|
};
|
|
19201
19195
|
const _hoisted_3$h = { class: "m-05 flex opacity-7 z-99" };
|
|
19202
|
-
const _hoisted_4$
|
|
19203
|
-
const _hoisted_5$
|
|
19196
|
+
const _hoisted_4$b = { class: "ellipsis-1 word-break-all h-20 m-0" };
|
|
19197
|
+
const _hoisted_5$b = {
|
|
19204
19198
|
key: 1,
|
|
19205
19199
|
class: "txt-gray txt-12"
|
|
19206
19200
|
};
|
|
19207
|
-
const _hoisted_6$
|
|
19201
|
+
const _hoisted_6$9 = {
|
|
19208
19202
|
key: 0,
|
|
19209
19203
|
class: "bgl-multi-preview"
|
|
19210
19204
|
};
|
|
@@ -19402,7 +19396,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
19402
19396
|
return (_ctx, _cache) => {
|
|
19403
19397
|
const _directive_tooltip = resolveDirective("tooltip");
|
|
19404
19398
|
const _directive_lightbox = resolveDirective("lightbox");
|
|
19405
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
19399
|
+
return openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
19406
19400
|
createElementVNode("label", null, toDisplayString(_ctx.label), 1),
|
|
19407
19401
|
_ctx.required && !storageFiles.value.length ? (openBlock(), createElementBlock("input", _hoisted_2$k)) : createCommentVNode("", true),
|
|
19408
19402
|
_ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main$W), {
|
|
@@ -19459,7 +19453,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
19459
19453
|
}, null, 8, ["href", "download"]), [
|
|
19460
19454
|
[_directive_tooltip, "Download"]
|
|
19461
19455
|
]),
|
|
19462
|
-
withDirectives((openBlock(), createElementBlock("p", _hoisted_4$
|
|
19456
|
+
withDirectives((openBlock(), createElementBlock("p", _hoisted_4$b, [
|
|
19463
19457
|
createTextVNode(toDisplayString(file.name), 1)
|
|
19464
19458
|
])), [
|
|
19465
19459
|
[_directive_lightbox, { src: file.url, download: true }]
|
|
@@ -19474,7 +19468,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
19474
19468
|
])
|
|
19475
19469
|
]);
|
|
19476
19470
|
}), 128)),
|
|
19477
|
-
!storageFiles.value.length && !fileQueue.value.length ? (openBlock(), createElementBlock("span", _hoisted_5$
|
|
19471
|
+
!storageFiles.value.length && !fileQueue.value.length ? (openBlock(), createElementBlock("span", _hoisted_5$b, " No file selected ")) : createCommentVNode("", true)
|
|
19478
19472
|
]),
|
|
19479
19473
|
_: 1
|
|
19480
19474
|
})) : (openBlock(), createElementBlock("div", {
|
|
@@ -19494,7 +19488,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
19494
19488
|
files: storageFiles.value,
|
|
19495
19489
|
fileQueue: fileQueue.value
|
|
19496
19490
|
}, () => [
|
|
19497
|
-
_ctx.multiple ? (openBlock(), createElementBlock("div", _hoisted_6$
|
|
19491
|
+
_ctx.multiple ? (openBlock(), createElementBlock("div", _hoisted_6$9, [
|
|
19498
19492
|
(openBlock(true), createElementBlock(Fragment, null, renderList(storageFiles.value, (file) => {
|
|
19499
19493
|
return withDirectives((openBlock(), createElementBlock("div", {
|
|
19500
19494
|
key: file.id,
|
|
@@ -19651,7 +19645,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
19651
19645
|
}
|
|
19652
19646
|
});
|
|
19653
19647
|
const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-6bfdaea2"]]);
|
|
19654
|
-
const _hoisted_1$
|
|
19648
|
+
const _hoisted_1$u = ["title"];
|
|
19655
19649
|
const _hoisted_2$j = { key: 0 };
|
|
19656
19650
|
const _hoisted_3$g = ["value", "placeholder"];
|
|
19657
19651
|
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
@@ -19686,12 +19680,12 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
19686
19680
|
placeholder: _ctx.placeholder,
|
|
19687
19681
|
onInput: handleInput
|
|
19688
19682
|
}, null, 42, _hoisted_3$g)
|
|
19689
|
-
], 10, _hoisted_1$
|
|
19683
|
+
], 10, _hoisted_1$u);
|
|
19690
19684
|
};
|
|
19691
19685
|
}
|
|
19692
19686
|
});
|
|
19693
19687
|
const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-1cbaeab2"]]);
|
|
19694
|
-
const _hoisted_1$
|
|
19688
|
+
const _hoisted_1$t = ["value", "autofocus", "onKeydown", "onPaste"];
|
|
19695
19689
|
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
19696
19690
|
__name: "OTP",
|
|
19697
19691
|
props: {
|
|
@@ -19790,7 +19784,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
19790
19784
|
oninput: "this.value = this.value.slice(0, 1);",
|
|
19791
19785
|
onKeydown: ($event) => handleKeyDown($event, ind),
|
|
19792
19786
|
onPaste: ($event) => handlePaste($event, ind)
|
|
19793
|
-
}, null, 40, _hoisted_1$
|
|
19787
|
+
}, null, 40, _hoisted_1$t);
|
|
19794
19788
|
}), 128))
|
|
19795
19789
|
], 512);
|
|
19796
19790
|
};
|
|
@@ -19860,12 +19854,12 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
19860
19854
|
};
|
|
19861
19855
|
}
|
|
19862
19856
|
});
|
|
19863
|
-
const _hoisted_1$
|
|
19857
|
+
const _hoisted_1$s = ["for"];
|
|
19864
19858
|
const _hoisted_2$i = ["id", "name", "value"];
|
|
19865
19859
|
const _hoisted_3$f = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
|
|
19866
|
-
const _hoisted_4$
|
|
19867
|
-
const _hoisted_5$
|
|
19868
|
-
const _hoisted_6$
|
|
19860
|
+
const _hoisted_4$a = ["src", "alt"];
|
|
19861
|
+
const _hoisted_5$a = { class: "" };
|
|
19862
|
+
const _hoisted_6$8 = {
|
|
19869
19863
|
key: 0,
|
|
19870
19864
|
class: "m-0 m_txt-14"
|
|
19871
19865
|
};
|
|
@@ -19911,9 +19905,9 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
19911
19905
|
width: "60",
|
|
19912
19906
|
src: opt.imgSrc,
|
|
19913
19907
|
alt: opt.imgAlt
|
|
19914
|
-
}, null, 8, _hoisted_4$
|
|
19915
|
-
createElementVNode("div", _hoisted_5$
|
|
19916
|
-
opt.label ? (openBlock(), createElementBlock("p", _hoisted_6$
|
|
19908
|
+
}, null, 8, _hoisted_4$a)) : createCommentVNode("", true),
|
|
19909
|
+
createElementVNode("div", _hoisted_5$a, [
|
|
19910
|
+
opt.label ? (openBlock(), createElementBlock("p", _hoisted_6$8, toDisplayString(opt.label), 1)) : createCommentVNode("", true),
|
|
19917
19911
|
opt.subLabel ? (openBlock(), createElementBlock("p", _hoisted_7$4, toDisplayString(opt.subLabel), 1)) : createCommentVNode("", true)
|
|
19918
19912
|
]),
|
|
19919
19913
|
renderSlot(_ctx.$slots, "radioItem", mergeProps({ ref_for: true }, opt), void 0, true)
|
|
@@ -19926,18 +19920,18 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
19926
19920
|
icon: "delete",
|
|
19927
19921
|
onClick: ($event) => _ctx.$emit("delete", opt)
|
|
19928
19922
|
}, null, 8, ["onClick"])) : createCommentVNode("", true)
|
|
19929
|
-
], 8, _hoisted_1$
|
|
19923
|
+
], 8, _hoisted_1$s);
|
|
19930
19924
|
}), 128))
|
|
19931
19925
|
]);
|
|
19932
19926
|
};
|
|
19933
19927
|
}
|
|
19934
19928
|
});
|
|
19935
19929
|
const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-3e9e030f"]]);
|
|
19936
|
-
const _hoisted_1$
|
|
19930
|
+
const _hoisted_1$r = { class: "bagel-input" };
|
|
19937
19931
|
const _hoisted_2$h = { class: "pb-025" };
|
|
19938
19932
|
const _hoisted_3$e = { class: "flex gap-05 flex-wrap" };
|
|
19939
|
-
const _hoisted_4$
|
|
19940
|
-
const _hoisted_5$
|
|
19933
|
+
const _hoisted_4$9 = ["id", "name", "value", "checked"];
|
|
19934
|
+
const _hoisted_5$9 = ["for"];
|
|
19941
19935
|
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
19942
19936
|
__name: "RadioPillsInput",
|
|
19943
19937
|
props: {
|
|
@@ -19979,7 +19973,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
19979
19973
|
selectedValue.value = props2.modelValue;
|
|
19980
19974
|
});
|
|
19981
19975
|
return (_ctx, _cache) => {
|
|
19982
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
19976
|
+
return openBlock(), createElementBlock("div", _hoisted_1$r, [
|
|
19983
19977
|
createElementVNode("label", _hoisted_2$h, toDisplayString(_ctx.label), 1),
|
|
19984
19978
|
createElementVNode("div", _hoisted_3$e, [
|
|
19985
19979
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, (option2, index2) => {
|
|
@@ -19994,10 +19988,10 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
19994
19988
|
value: getValue(option2),
|
|
19995
19989
|
checked: unref(selectedValue) === getValue(option2),
|
|
19996
19990
|
onChange: handleSelect
|
|
19997
|
-
}, null, 40, _hoisted_4$
|
|
19991
|
+
}, null, 40, _hoisted_4$9),
|
|
19998
19992
|
createElementVNode("label", {
|
|
19999
19993
|
for: `${_ctx.id}-${getValue(option2)}`
|
|
20000
|
-
}, toDisplayString(getLabel(option2)), 9, _hoisted_5$
|
|
19994
|
+
}, toDisplayString(getLabel(option2)), 9, _hoisted_5$9)
|
|
20001
19995
|
]);
|
|
20002
19996
|
}), 128))
|
|
20003
19997
|
])
|
|
@@ -20006,76 +20000,113 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
20006
20000
|
}
|
|
20007
20001
|
});
|
|
20008
20002
|
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-cf892d71"]]);
|
|
20009
|
-
const _hoisted_1$
|
|
20010
|
-
const _hoisted_2$g =
|
|
20011
|
-
const _hoisted_3$d =
|
|
20003
|
+
const _hoisted_1$q = { class: "label" };
|
|
20004
|
+
const _hoisted_2$g = { class: "range-slider relative w-100" };
|
|
20005
|
+
const _hoisted_3$d = ["id", "min", "max", "step", "required", "disabled"];
|
|
20006
|
+
const _hoisted_4$8 = ["min", "max", "step", "required", "disabled"];
|
|
20007
|
+
const _hoisted_5$8 = { class: "track absolute pointer-events-none overflow-hidden round" };
|
|
20008
|
+
const _hoisted_6$7 = { class: "txt-center txt-14 range-slider-txt flex space-between opacity-4 mx-05" };
|
|
20012
20009
|
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
20013
20010
|
__name: "RangeInput",
|
|
20014
|
-
props:
|
|
20015
|
-
min: {},
|
|
20016
|
-
max: {},
|
|
20017
|
-
|
|
20011
|
+
props: {
|
|
20012
|
+
min: { default: 0 },
|
|
20013
|
+
max: { default: 100 },
|
|
20014
|
+
modelValue: {},
|
|
20015
|
+
step: { default: 1 },
|
|
20016
|
+
required: { type: Boolean },
|
|
20017
|
+
label: {},
|
|
20018
20018
|
disabled: { type: Boolean },
|
|
20019
20019
|
id: {},
|
|
20020
|
-
|
|
20021
|
-
|
|
20022
|
-
thickness: { default: "8px" }
|
|
20023
|
-
}, {
|
|
20024
|
-
"modelValue": { default: 0 },
|
|
20025
|
-
"modelModifiers": {}
|
|
20026
|
-
}),
|
|
20020
|
+
rtl: { type: Boolean }
|
|
20021
|
+
},
|
|
20027
20022
|
emits: ["update:modelValue"],
|
|
20028
|
-
setup(__props) {
|
|
20029
|
-
const
|
|
20030
|
-
const
|
|
20031
|
-
|
|
20032
|
-
|
|
20033
|
-
|
|
20034
|
-
|
|
20035
|
-
|
|
20036
|
-
|
|
20037
|
-
|
|
20038
|
-
|
|
20039
|
-
|
|
20040
|
-
if (direction.value === "rtl") {
|
|
20041
|
-
return `linear-gradient(to left, var(--bgl-primary) ${percentage}%, var(--input-bg) ${percentage}%)`;
|
|
20042
|
-
}
|
|
20043
|
-
return `linear-gradient(to right, var(--bgl-primary) ${percentage}%, var(--input-bg) ${percentage}%)`;
|
|
20023
|
+
setup(__props, { emit: __emit }) {
|
|
20024
|
+
const emit2 = __emit;
|
|
20025
|
+
const isRange = computed(() => Array.isArray(__props.modelValue));
|
|
20026
|
+
let from = ref(__props.min);
|
|
20027
|
+
let to2 = ref(__props.max);
|
|
20028
|
+
const validFrom = computed(() => Math.min(Math.max(from.value, __props.min), to2.value));
|
|
20029
|
+
const validTo = computed(() => Math.max(Math.min(to2.value, __props.max), from.value));
|
|
20030
|
+
function emitValue() {
|
|
20031
|
+
emit2("update:modelValue", isRange.value ? [validFrom.value, validTo.value] : validFrom.value);
|
|
20032
|
+
}
|
|
20033
|
+
watch(() => validFrom.value, (newVal) => {
|
|
20034
|
+
if (from.value !== newVal) from.value = newVal;
|
|
20044
20035
|
});
|
|
20045
|
-
watch(() =>
|
|
20046
|
-
if (
|
|
20047
|
-
if (__props.max !== void 0 && newValue > __props.max) val.value = __props.max;
|
|
20036
|
+
watch(() => validTo.value, (newVal) => {
|
|
20037
|
+
if (to2.value !== newVal) to2.value = newVal;
|
|
20048
20038
|
});
|
|
20049
|
-
const
|
|
20050
|
-
|
|
20039
|
+
const fromPercentage = computed(() => (validFrom.value - __props.min) / (__props.max - __props.min) * 100);
|
|
20040
|
+
const toPercentage = computed(() => (validTo.value - __props.min) / (__props.max - __props.min) * 100);
|
|
20041
|
+
const rangeStyle = computed(() => {
|
|
20042
|
+
const width = (validTo.value - validFrom.value) / (__props.max - __props.min) * 100;
|
|
20043
|
+
if (__props.rtl || isRange.value) return { left: `${fromPercentage.value}%`, width: `${width}%` };
|
|
20044
|
+
return { right: `${width}%`, width: `${fromPercentage.value}%` };
|
|
20051
20045
|
});
|
|
20052
20046
|
return (_ctx, _cache) => {
|
|
20053
|
-
return openBlock(), createElementBlock("div",
|
|
20054
|
-
|
|
20055
|
-
|
|
20056
|
-
|
|
20057
|
-
|
|
20058
|
-
|
|
20059
|
-
|
|
20060
|
-
|
|
20061
|
-
|
|
20062
|
-
|
|
20063
|
-
|
|
20064
|
-
|
|
20065
|
-
|
|
20066
|
-
|
|
20067
|
-
|
|
20068
|
-
|
|
20069
|
-
|
|
20070
|
-
|
|
20071
|
-
|
|
20047
|
+
return openBlock(), createElementBlock("div", null, [
|
|
20048
|
+
createElementVNode("label", _hoisted_1$q, toDisplayString(_ctx.label), 1),
|
|
20049
|
+
createElementVNode("div", _hoisted_2$g, [
|
|
20050
|
+
withDirectives(createElementVNode("input", {
|
|
20051
|
+
id: _ctx.id,
|
|
20052
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(from) ? from.value = $event : from = $event),
|
|
20053
|
+
class: "from",
|
|
20054
|
+
type: "range",
|
|
20055
|
+
min: _ctx.min,
|
|
20056
|
+
max: _ctx.max,
|
|
20057
|
+
step: _ctx.step,
|
|
20058
|
+
required: _ctx.required,
|
|
20059
|
+
disabled: _ctx.disabled,
|
|
20060
|
+
"aria-label": "Minimum value",
|
|
20061
|
+
onChange: emitValue
|
|
20062
|
+
}, null, 40, _hoisted_3$d), [
|
|
20063
|
+
[vModelText, unref(from)]
|
|
20064
|
+
]),
|
|
20065
|
+
isRange.value ? withDirectives((openBlock(), createElementBlock("input", {
|
|
20066
|
+
key: 0,
|
|
20067
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(to2) ? to2.value = $event : to2 = $event),
|
|
20068
|
+
class: "to",
|
|
20069
|
+
type: "range",
|
|
20070
|
+
min: _ctx.min,
|
|
20071
|
+
max: _ctx.max,
|
|
20072
|
+
step: _ctx.step,
|
|
20073
|
+
required: _ctx.required,
|
|
20074
|
+
disabled: _ctx.disabled,
|
|
20075
|
+
"aria-label": "Maximum value",
|
|
20076
|
+
onChange: emitValue
|
|
20077
|
+
}, null, 40, _hoisted_4$8)), [
|
|
20078
|
+
[vModelText, unref(to2)]
|
|
20079
|
+
]) : createCommentVNode("", true),
|
|
20080
|
+
createElementVNode("div", _hoisted_5$8, [
|
|
20081
|
+
createElementVNode("div", {
|
|
20082
|
+
class: "active-range absolute h-100 pointer-events-none bg-primary",
|
|
20083
|
+
style: normalizeStyle(rangeStyle.value)
|
|
20084
|
+
}, null, 4)
|
|
20085
|
+
]),
|
|
20086
|
+
unref(from) !== _ctx.min ? (openBlock(), createElementBlock("p", {
|
|
20087
|
+
key: 1,
|
|
20088
|
+
class: "txt-center txt-12 range-slider-position-txt absolute line-height-1 opacity-0",
|
|
20089
|
+
style: normalizeStyle({ marginInlineStart: `calc(${fromPercentage.value}% - 4px)` })
|
|
20090
|
+
}, [
|
|
20091
|
+
createElementVNode("span", null, toDisplayString(unref(from)), 1)
|
|
20092
|
+
], 4)) : createCommentVNode("", true),
|
|
20093
|
+
isRange.value && unref(to2) !== _ctx.max ? (openBlock(), createElementBlock("p", {
|
|
20094
|
+
key: 2,
|
|
20095
|
+
class: "txt-center txt-12 range-slider-position-txt opacity-0 line-height-1 absolute",
|
|
20096
|
+
style: normalizeStyle({ marginInlineStart: `calc(${toPercentage.value}% - 12px)` })
|
|
20097
|
+
}, [
|
|
20098
|
+
createElementVNode("span", null, toDisplayString(unref(to2)), 1)
|
|
20099
|
+
], 4)) : createCommentVNode("", true)
|
|
20072
20100
|
]),
|
|
20073
|
-
|
|
20074
|
-
|
|
20101
|
+
createElementVNode("p", _hoisted_6$7, [
|
|
20102
|
+
createElementVNode("span", null, toDisplayString(_ctx.min), 1),
|
|
20103
|
+
createElementVNode("span", null, toDisplayString(_ctx.max), 1)
|
|
20104
|
+
])
|
|
20105
|
+
]);
|
|
20075
20106
|
};
|
|
20076
20107
|
}
|
|
20077
20108
|
});
|
|
20078
|
-
const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-
|
|
20109
|
+
const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-dae624bd"]]);
|
|
20079
20110
|
const defaultToolbarConfig = [
|
|
20080
20111
|
"h2",
|
|
20081
20112
|
"h3",
|
|
@@ -20142,7 +20173,7 @@ const toolbarOptions = [
|
|
|
20142
20173
|
{ name: "separator" },
|
|
20143
20174
|
{ name: "fullScreen", label: "Full Screen", icon: "fullscreen", class: "ms-auto" }
|
|
20144
20175
|
];
|
|
20145
|
-
const _hoisted_1$
|
|
20176
|
+
const _hoisted_1$p = { class: "grid grid-wrap p-05" };
|
|
20146
20177
|
const _hoisted_2$f = ["onMousemove", "onClick"];
|
|
20147
20178
|
const _hoisted_3$c = { class: "txt-center txt-12 color-gray" };
|
|
20148
20179
|
const fb = 1;
|
|
@@ -20163,7 +20194,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
20163
20194
|
return hoveredCol.value > base - 1 ? enlarge : base;
|
|
20164
20195
|
});
|
|
20165
20196
|
return (_ctx, _cache) => {
|
|
20166
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
20197
|
+
return openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
20167
20198
|
(openBlock(true), createElementBlock(Fragment, null, renderList(rowSize.value, (row) => {
|
|
20168
20199
|
return openBlock(), createElementBlock("div", {
|
|
20169
20200
|
key: `row-${row}`,
|
|
@@ -20200,7 +20231,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
20200
20231
|
}
|
|
20201
20232
|
});
|
|
20202
20233
|
const GridBox = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-4548b70f"]]);
|
|
20203
|
-
const _hoisted_1$
|
|
20234
|
+
const _hoisted_1$o = {
|
|
20204
20235
|
class: "toolbar flex gap-025 pb-05 flex-wrap",
|
|
20205
20236
|
role: "toolbar"
|
|
20206
20237
|
};
|
|
@@ -20219,7 +20250,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
20219
20250
|
}
|
|
20220
20251
|
return (_ctx, _cache) => {
|
|
20221
20252
|
const _directive_tooltip = resolveDirective("tooltip");
|
|
20222
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
20253
|
+
return openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
20223
20254
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.config.map(configToOption).filter(Boolean), (action, index2) => {
|
|
20224
20255
|
return openBlock(), createElementBlock(Fragment, { key: index2 }, [
|
|
20225
20256
|
action.name === "insertTable" ? (openBlock(), createBlock(unref(_sfc_main$S), {
|
|
@@ -20896,7 +20927,7 @@ function useEditorKeyboard(doc, handleToolbarAction) {
|
|
|
20896
20927
|
}
|
|
20897
20928
|
});
|
|
20898
20929
|
}
|
|
20899
|
-
const _hoisted_1$
|
|
20930
|
+
const _hoisted_1$n = { class: "content-area radius-05" };
|
|
20900
20931
|
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
20901
20932
|
__name: "index",
|
|
20902
20933
|
props: {
|
|
@@ -20942,7 +20973,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
20942
20973
|
return (_ctx, _cache) => {
|
|
20943
20974
|
var _a2, _b;
|
|
20944
20975
|
return openBlock(), createElementBlock("div", {
|
|
20945
|
-
class: normalizeClass(["rich-text-editor rounded pt-05 px-05 pb-075", { "fullscreen-mode": unref(editor).state.isFullscreen }])
|
|
20976
|
+
class: normalizeClass(["rich-text-editor rounded pt-05 px-05 pb-075 mb-05", { "fullscreen-mode": unref(editor).state.isFullscreen }])
|
|
20946
20977
|
}, [
|
|
20947
20978
|
unref(editor).state.hasInit ? (openBlock(), createBlock(Toolbar, {
|
|
20948
20979
|
key: 0,
|
|
@@ -20953,7 +20984,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
20953
20984
|
createElementVNode("div", {
|
|
20954
20985
|
class: normalizeClass(["editor-container", { "split-view": (_a2 = unref(editor)) == null ? void 0 : _a2.state.isSplitView }])
|
|
20955
20986
|
}, [
|
|
20956
|
-
createElementVNode("div", _hoisted_1$
|
|
20987
|
+
createElementVNode("div", _hoisted_1$n, [
|
|
20957
20988
|
createElementVNode("iframe", {
|
|
20958
20989
|
id: "rich-text-iframe",
|
|
20959
20990
|
ref_key: "iframe",
|
|
@@ -20977,8 +21008,8 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
20977
21008
|
};
|
|
20978
21009
|
}
|
|
20979
21010
|
});
|
|
20980
|
-
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-
|
|
20981
|
-
const _hoisted_1$
|
|
21011
|
+
const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-8d91c8f8"]]);
|
|
21012
|
+
const _hoisted_1$m = { class: "flex gap-05" };
|
|
20982
21013
|
const _hoisted_2$e = ["disabled"];
|
|
20983
21014
|
const _hoisted_3$b = { key: 1 };
|
|
20984
21015
|
const _hoisted_4$7 = {
|
|
@@ -21174,7 +21205,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
21174
21205
|
trigger: withCtx(() => [
|
|
21175
21206
|
createElementVNode("label", null, [
|
|
21176
21207
|
createTextVNode(toDisplayString(_ctx.label) + " ", 1),
|
|
21177
|
-
createElementVNode("div", _hoisted_1$
|
|
21208
|
+
createElementVNode("div", _hoisted_1$m, [
|
|
21178
21209
|
_ctx.searchable && unref(open) ? (openBlock(), createBlock(unref(TextInput), {
|
|
21179
21210
|
key: 0,
|
|
21180
21211
|
ref_key: "searchInput",
|
|
@@ -21889,7 +21920,7 @@ class SignaturePad extends SignatureEventTarget {
|
|
|
21889
21920
|
return svg.outerHTML;
|
|
21890
21921
|
}
|
|
21891
21922
|
}
|
|
21892
|
-
const _hoisted_1$
|
|
21923
|
+
const _hoisted_1$l = ["disabled"];
|
|
21893
21924
|
const _hoisted_2$d = {
|
|
21894
21925
|
key: 1,
|
|
21895
21926
|
placeholder: "required",
|
|
@@ -22050,7 +22081,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
22050
22081
|
ref: vCanvas,
|
|
22051
22082
|
class: "canvas",
|
|
22052
22083
|
disabled: _ctx.disabled
|
|
22053
|
-
}, null, 8, _hoisted_1$
|
|
22084
|
+
}, null, 8, _hoisted_1$l),
|
|
22054
22085
|
_ctx.required && unref(_isEmpty) ? (openBlock(), createElementBlock("input", _hoisted_2$d)) : createCommentVNode("", true)
|
|
22055
22086
|
], 34);
|
|
22056
22087
|
};
|
|
@@ -24535,7 +24566,7 @@ const VueDraggableNext = defineComponent({
|
|
|
24535
24566
|
}
|
|
24536
24567
|
}
|
|
24537
24568
|
});
|
|
24538
|
-
const _hoisted_1$
|
|
24569
|
+
const _hoisted_1$k = ["title"];
|
|
24539
24570
|
const _hoisted_2$c = { class: "bagel-input" };
|
|
24540
24571
|
const _hoisted_3$a = { class: "table-side-scroll" };
|
|
24541
24572
|
const _hoisted_4$6 = { class: "table-header" };
|
|
@@ -24681,7 +24712,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
24681
24712
|
])),
|
|
24682
24713
|
_: 1
|
|
24683
24714
|
})
|
|
24684
|
-
], 8, _hoisted_1$
|
|
24715
|
+
], 8, _hoisted_1$k);
|
|
24685
24716
|
};
|
|
24686
24717
|
}
|
|
24687
24718
|
});
|
|
@@ -29132,7 +29163,7 @@ function parsePhoneNumber$1() {
|
|
|
29132
29163
|
function parsePhoneNumber() {
|
|
29133
29164
|
return withMetadataArgument(parsePhoneNumber$1, arguments);
|
|
29134
29165
|
}
|
|
29135
|
-
const _hoisted_1$
|
|
29166
|
+
const _hoisted_1$j = ["aria-expanded"];
|
|
29136
29167
|
const _hoisted_2$b = { class: "p-075 tel-countryp-dropdown" };
|
|
29137
29168
|
const _hoisted_3$9 = ["aria-selected", "onClick", "onMousemove"];
|
|
29138
29169
|
const _hoisted_4$5 = { class: "tel-country" };
|
|
@@ -29486,14 +29517,14 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
29486
29517
|
}, null, 44, _hoisted_6$4), [
|
|
29487
29518
|
[vModelText, phone.value]
|
|
29488
29519
|
])
|
|
29489
|
-
], 40, _hoisted_1$
|
|
29520
|
+
], 40, _hoisted_1$j)
|
|
29490
29521
|
])
|
|
29491
29522
|
], 2);
|
|
29492
29523
|
};
|
|
29493
29524
|
}
|
|
29494
29525
|
});
|
|
29495
29526
|
const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-627af458"]]);
|
|
29496
|
-
const _hoisted_1$
|
|
29527
|
+
const _hoisted_1$i = ["title"];
|
|
29497
29528
|
const _hoisted_2$a = ["for"];
|
|
29498
29529
|
const _hoisted_3$8 = ["id", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
|
|
29499
29530
|
const _hoisted_4$4 = ["id", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
|
|
@@ -29635,12 +29666,12 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
29635
29666
|
icon: _ctx.icon
|
|
29636
29667
|
}, null, 8, ["icon"])) : createCommentVNode("", true)
|
|
29637
29668
|
], 8, _hoisted_2$a)
|
|
29638
|
-
], 10, _hoisted_1$
|
|
29669
|
+
], 10, _hoisted_1$i);
|
|
29639
29670
|
};
|
|
29640
29671
|
}
|
|
29641
29672
|
});
|
|
29642
29673
|
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-0e10a3b5"]]);
|
|
29643
|
-
const _hoisted_1$
|
|
29674
|
+
const _hoisted_1$h = ["title"];
|
|
29644
29675
|
const _hoisted_2$9 = ["id", "required"];
|
|
29645
29676
|
const _hoisted_3$7 = ["for"];
|
|
29646
29677
|
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
@@ -29687,12 +29718,12 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
29687
29718
|
createTextVNode(toDisplayString(_ctx.label), 1)
|
|
29688
29719
|
], true)
|
|
29689
29720
|
], 8, _hoisted_3$7)
|
|
29690
|
-
], 10, _hoisted_1$
|
|
29721
|
+
], 10, _hoisted_1$h);
|
|
29691
29722
|
};
|
|
29692
29723
|
}
|
|
29693
29724
|
});
|
|
29694
29725
|
const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-486451e5"]]);
|
|
29695
|
-
const _hoisted_1$
|
|
29726
|
+
const _hoisted_1$g = ["src", "title", "width", "height", "marginwidth", "marginheight", "csp", "scrolling", "srcset"];
|
|
29696
29727
|
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
29697
29728
|
__name: "IframeVue",
|
|
29698
29729
|
props: {
|
|
@@ -29752,11 +29783,11 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
29752
29783
|
scrolling: _ctx.scrolling,
|
|
29753
29784
|
srcset: _ctx.srcset,
|
|
29754
29785
|
onLoad: _cache[0] || (_cache[0] = ($event) => emit2("load", $event))
|
|
29755
|
-
}, null, 40, _hoisted_1$
|
|
29786
|
+
}, null, 40, _hoisted_1$g);
|
|
29756
29787
|
};
|
|
29757
29788
|
}
|
|
29758
29789
|
});
|
|
29759
|
-
const _hoisted_1$
|
|
29790
|
+
const _hoisted_1$f = { class: "m-0 pb-025 txt14 line-height-1 w60 menu-text" };
|
|
29760
29791
|
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
29761
29792
|
__name: "BottomMenu",
|
|
29762
29793
|
props: {
|
|
@@ -29780,7 +29811,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
29780
29811
|
size: 1.4,
|
|
29781
29812
|
class: "m-0 line-height-14"
|
|
29782
29813
|
}, null, 8, ["icon"]),
|
|
29783
|
-
createElementVNode("p", _hoisted_1$
|
|
29814
|
+
createElementVNode("p", _hoisted_1$f, toDisplayString(nav.label), 1)
|
|
29784
29815
|
]),
|
|
29785
29816
|
_: 2
|
|
29786
29817
|
}, 1032, ["to", "onClick"]);
|
|
@@ -29835,7 +29866,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
29835
29866
|
}
|
|
29836
29867
|
});
|
|
29837
29868
|
const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-1814129a"]]);
|
|
29838
|
-
const _hoisted_1$
|
|
29869
|
+
const _hoisted_1$e = { key: 0 };
|
|
29839
29870
|
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
29840
29871
|
__name: "SidebarMenu",
|
|
29841
29872
|
props: {
|
|
@@ -29883,7 +29914,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
29883
29914
|
}, null, 8, ["icon"]),
|
|
29884
29915
|
createVNode(Transition, { name: "showP" }, {
|
|
29885
29916
|
default: withCtx(() => [
|
|
29886
|
-
_ctx.open ? (openBlock(), createElementBlock("p", _hoisted_1$
|
|
29917
|
+
_ctx.open ? (openBlock(), createElementBlock("p", _hoisted_1$e, toDisplayString(nav.label), 1)) : createCommentVNode("", true)
|
|
29887
29918
|
]),
|
|
29888
29919
|
_: 2
|
|
29889
29920
|
}, 1024)
|
|
@@ -29943,7 +29974,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
29943
29974
|
}
|
|
29944
29975
|
});
|
|
29945
29976
|
const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-4da8c0d1"]]);
|
|
29946
|
-
const _hoisted_1$
|
|
29977
|
+
const _hoisted_1$d = { class: "bgl_card tabs-top" };
|
|
29947
29978
|
const _hoisted_2$8 = { class: "tabs grid auto-flow-columns fit-content" };
|
|
29948
29979
|
const _hoisted_3$6 = ["onClick"];
|
|
29949
29980
|
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
@@ -29979,7 +30010,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
29979
30010
|
return openBlock(), createElementBlock("div", {
|
|
29980
30011
|
class: normalizeClass(["h-100 grid list-view gap-1", { "side-tabs": _ctx.sideTabs }])
|
|
29981
30012
|
}, [
|
|
29982
|
-
createElementVNode("div", _hoisted_1$
|
|
30013
|
+
createElementVNode("div", _hoisted_1$d, [
|
|
29983
30014
|
renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
|
|
29984
30015
|
createElementVNode("div", _hoisted_2$8, [
|
|
29985
30016
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.tabs, (tab) => {
|
|
@@ -30007,7 +30038,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
30007
30038
|
}
|
|
30008
30039
|
});
|
|
30009
30040
|
const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-0a54cdeb"]]);
|
|
30010
|
-
const _hoisted_1$
|
|
30041
|
+
const _hoisted_1$c = { key: 0 };
|
|
30011
30042
|
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
30012
30043
|
__name: "Tabs",
|
|
30013
30044
|
props: {
|
|
@@ -30050,14 +30081,13 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
30050
30081
|
group: unref(group),
|
|
30051
30082
|
class: "mb-05"
|
|
30052
30083
|
}, null, 8, ["modelValue", "flat", "tabs", "group"]),
|
|
30053
|
-
unref(currentTab) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
30084
|
+
unref(currentTab) ? (openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
30054
30085
|
unref(slots)[unref(currentTab)] ? renderSlot(_ctx.$slots, unref(currentTab), { key: 0 }) : unref(currentTab) ? (openBlock(), createBlock(resolveDynamicComponent(unref(tabComponent)), { key: 1 })) : createCommentVNode("", true)
|
|
30055
30086
|
])) : createCommentVNode("", true)
|
|
30056
30087
|
], 64);
|
|
30057
30088
|
};
|
|
30058
30089
|
}
|
|
30059
30090
|
});
|
|
30060
|
-
const _hoisted_1$c = { key: 0 };
|
|
30061
30091
|
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
30062
30092
|
__name: "TabsBody",
|
|
30063
30093
|
props: {
|
|
@@ -30067,9 +30097,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
30067
30097
|
const props2 = __props;
|
|
30068
30098
|
const { currentTab } = useTabs(props2.group);
|
|
30069
30099
|
return (_ctx, _cache) => {
|
|
30070
|
-
return unref(currentTab) ? (
|
|
30071
|
-
renderSlot(_ctx.$slots, unref(currentTab))
|
|
30072
|
-
])) : createCommentVNode("", true);
|
|
30100
|
+
return unref(currentTab) ? renderSlot(_ctx.$slots, unref(currentTab), { key: 0 }) : createCommentVNode("", true);
|
|
30073
30101
|
};
|
|
30074
30102
|
}
|
|
30075
30103
|
});
|
|
@@ -32687,7 +32715,6 @@ const groups = {};
|
|
|
32687
32715
|
let clickHandler = (_e2) => void 0;
|
|
32688
32716
|
const lightboxDirective = {
|
|
32689
32717
|
mounted(el, binding) {
|
|
32690
|
-
el.classList.add("hover");
|
|
32691
32718
|
const item = bindingToItem(binding, el);
|
|
32692
32719
|
groupHandler(item);
|
|
32693
32720
|
clickHandler = (e) => {
|
|
@@ -33671,7 +33698,7 @@ export {
|
|
|
33671
33698
|
_sfc_main$H as DateInput,
|
|
33672
33699
|
_sfc_main$G as DatePicker,
|
|
33673
33700
|
_sfc_main$S as Dropdown,
|
|
33674
|
-
FieldArray,
|
|
33701
|
+
_sfc_main$M as FieldArray,
|
|
33675
33702
|
FileUpload,
|
|
33676
33703
|
Flag,
|
|
33677
33704
|
IMAGE_FORMATS,
|