@bagelink/vue 0.0.507 → 0.0.518
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 +2 -0
- package/dist/components/Btn.vue.d.ts.map +1 -1
- package/dist/components/Carousel.vue.d.ts +27 -4
- package/dist/components/Carousel.vue.d.ts.map +1 -1
- package/dist/components/MapEmbed.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/CheckInput.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/DateInput.vue.d.ts +8 -0
- package/dist/components/form/inputs/DateInput.vue.d.ts.map +1 -1
- package/dist/components/layout/TabsNav.vue.d.ts +3 -1
- package/dist/components/layout/TabsNav.vue.d.ts.map +1 -1
- package/dist/index.cjs +141 -128
- package/dist/index.mjs +141 -128
- package/dist/style.css +188 -184
- package/package.json +1 -1
- package/src/components/Btn.vue +8 -1
- package/src/components/Carousel.vue +134 -117
- package/src/components/ListItem.vue +2 -2
- package/src/components/MapEmbed.vue +6 -4
- package/src/components/Modal.vue +1 -2
- package/src/components/TableSchema.vue +1 -1
- package/src/components/form/inputs/CheckInput.vue +46 -70
- package/src/components/form/inputs/DateInput.vue +9 -0
- package/src/components/layout/TabsNav.vue +2 -2
- package/src/styles/bagel.css +1 -1
- package/src/styles/layout.css +14 -0
- package/src/styles/mobilLayout.css +14 -0
- package/src/styles/scrollbar.css +2 -4
package/dist/index.mjs
CHANGED
|
@@ -5379,7 +5379,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
5379
5379
|
const _hoisted_1$H = { class: "full-nav" };
|
|
5380
5380
|
const _hoisted_2$y = { class: "nav-scroll" };
|
|
5381
5381
|
const _hoisted_3$n = { class: "nav-links-wrapper" };
|
|
5382
|
-
const _hoisted_4$
|
|
5382
|
+
const _hoisted_4$f = { class: "tooltip" };
|
|
5383
5383
|
const _hoisted_5$c = { class: "bot-buttons-wrapper" };
|
|
5384
5384
|
const _hoisted_6$8 = { class: "tooltip" };
|
|
5385
5385
|
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
@@ -5428,7 +5428,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
5428
5428
|
createVNode(unref(_sfc_main$M), {
|
|
5429
5429
|
icon: link.icon
|
|
5430
5430
|
}, null, 8, ["icon"]),
|
|
5431
|
-
createElementVNode("div", _hoisted_4$
|
|
5431
|
+
createElementVNode("div", _hoisted_4$f, toDisplayString(link.label), 1)
|
|
5432
5432
|
]),
|
|
5433
5433
|
_: 2
|
|
5434
5434
|
}, 1032, ["to", "onClick"]);
|
|
@@ -5494,16 +5494,22 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
5494
5494
|
role: { default: "button" },
|
|
5495
5495
|
value: {},
|
|
5496
5496
|
to: {},
|
|
5497
|
+
href: {},
|
|
5497
5498
|
round: { type: Boolean, default: false },
|
|
5498
5499
|
is: { default: "button" },
|
|
5499
5500
|
onClick: { type: Function, default: () => "" }
|
|
5500
5501
|
},
|
|
5501
5502
|
setup(__props) {
|
|
5502
5503
|
useCssVars((_ctx) => ({
|
|
5503
|
-
"
|
|
5504
|
-
"
|
|
5504
|
+
"38764c20": computedBackgroundColor.value,
|
|
5505
|
+
"63554afb": cumputedTextColor.value
|
|
5505
5506
|
}));
|
|
5506
5507
|
const props2 = __props;
|
|
5508
|
+
const isComponent = computed(() => {
|
|
5509
|
+
if (props2.to) return "router-link";
|
|
5510
|
+
if (props2.href) return "a";
|
|
5511
|
+
return props2.is;
|
|
5512
|
+
});
|
|
5507
5513
|
const slots = useSlots();
|
|
5508
5514
|
const computedTheme = computed(
|
|
5509
5515
|
() => {
|
|
@@ -5548,7 +5554,8 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
5548
5554
|
}
|
|
5549
5555
|
);
|
|
5550
5556
|
return (_ctx, _cache) => {
|
|
5551
|
-
return openBlock(), createBlock(resolveDynamicComponent(
|
|
5557
|
+
return openBlock(), createBlock(resolveDynamicComponent(isComponent.value), {
|
|
5558
|
+
href: _ctx.href,
|
|
5552
5559
|
to: _ctx.to,
|
|
5553
5560
|
type: _ctx.type,
|
|
5554
5561
|
role: _ctx.role,
|
|
@@ -5580,11 +5587,11 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
5580
5587
|
]))
|
|
5581
5588
|
]),
|
|
5582
5589
|
_: 3
|
|
5583
|
-
}, 8, ["to", "type", "role", "disabled", "class", "onClick"]);
|
|
5590
|
+
}, 8, ["href", "to", "type", "role", "disabled", "class", "onClick"]);
|
|
5584
5591
|
};
|
|
5585
5592
|
}
|
|
5586
5593
|
});
|
|
5587
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-
|
|
5594
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-d5201df6"]]);
|
|
5588
5595
|
const _hoisted_1$F = {
|
|
5589
5596
|
key: 0,
|
|
5590
5597
|
class: "tool-bar"
|
|
@@ -5678,13 +5685,12 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
5678
5685
|
}, null, 8, ["label"])) : createCommentVNode("", true)
|
|
5679
5686
|
])) : (openBlock(), createElementBlock("div", _hoisted_2$w, [
|
|
5680
5687
|
createVNode(unref(Btn), {
|
|
5681
|
-
class: "color-black",
|
|
5682
|
-
style: normalizeStyle({ float: _ctx.side ? "left" : "right" }),
|
|
5688
|
+
class: "color-black position-start",
|
|
5683
5689
|
icon: "close",
|
|
5684
5690
|
thin: "",
|
|
5685
5691
|
color: "white",
|
|
5686
5692
|
onClick: closeModal
|
|
5687
|
-
}
|
|
5693
|
+
})
|
|
5688
5694
|
])),
|
|
5689
5695
|
renderSlot(_ctx.$slots, "default"),
|
|
5690
5696
|
unref(slots).footer || ((_a2 = _ctx.actions) == null ? void 0 : _a2.length) ? (openBlock(), createElementBlock("footer", _hoisted_3$m, [
|
|
@@ -5819,7 +5825,7 @@ const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-
|
|
|
5819
5825
|
const _hoisted_1$E = { class: "accordion-item" };
|
|
5820
5826
|
const _hoisted_2$v = ["aria-expanded", "aria-controls"];
|
|
5821
5827
|
const _hoisted_3$l = { class: "accordion-label" };
|
|
5822
|
-
const _hoisted_4$
|
|
5828
|
+
const _hoisted_4$e = ["id", "aria-hidden"];
|
|
5823
5829
|
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
5824
5830
|
__name: "AccordionItem",
|
|
5825
5831
|
props: {
|
|
@@ -5882,7 +5888,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
5882
5888
|
"aria-hidden": unref(isOpen) ? "false" : "true"
|
|
5883
5889
|
}, [
|
|
5884
5890
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
5885
|
-
], 8, _hoisted_4$
|
|
5891
|
+
], 8, _hoisted_4$e)) : createCommentVNode("", true)
|
|
5886
5892
|
]),
|
|
5887
5893
|
_: 3
|
|
5888
5894
|
})
|
|
@@ -5906,8 +5912,8 @@ function _sfc_render$2(_ctx, _cache) {
|
|
|
5906
5912
|
]);
|
|
5907
5913
|
}
|
|
5908
5914
|
const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["render", _sfc_render$2]]);
|
|
5909
|
-
const _hoisted_1$C = { class: "
|
|
5910
|
-
const _hoisted_2$t = { class: "
|
|
5915
|
+
const _hoisted_1$C = { class: "no-margin ellipsis line-height-14" };
|
|
5916
|
+
const _hoisted_2$t = { class: "txt12 no-margin txt-gray ellipsis" };
|
|
5911
5917
|
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
5912
5918
|
__name: "ListItem",
|
|
5913
5919
|
props: {
|
|
@@ -5971,7 +5977,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
|
5971
5977
|
const _hoisted_1$A = { class: "table-list-wrap h-100" };
|
|
5972
5978
|
const _hoisted_2$r = { class: "infinite-wrapper" };
|
|
5973
5979
|
const _hoisted_3$j = { class: "row first-row" };
|
|
5974
|
-
const _hoisted_4$
|
|
5980
|
+
const _hoisted_4$d = ["onClick"];
|
|
5975
5981
|
const _hoisted_5$b = { class: "flex" };
|
|
5976
5982
|
const _hoisted_6$7 = ["onClick"];
|
|
5977
5983
|
const _hoisted_7$2 = { key: 1 };
|
|
@@ -6094,7 +6100,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
6094
6100
|
}, null, 8, ["class"])
|
|
6095
6101
|
], 2)
|
|
6096
6102
|
])
|
|
6097
|
-
], 8, _hoisted_4$
|
|
6103
|
+
], 8, _hoisted_4$d);
|
|
6098
6104
|
}), 128))
|
|
6099
6105
|
]),
|
|
6100
6106
|
createElementVNode("tbody", {
|
|
@@ -6137,7 +6143,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
6137
6143
|
};
|
|
6138
6144
|
}
|
|
6139
6145
|
});
|
|
6140
|
-
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-
|
|
6146
|
+
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-fd12de23"]]);
|
|
6141
6147
|
const _sfc_main$C = {};
|
|
6142
6148
|
const _hoisted_1$z = { class: "flex space-between" };
|
|
6143
6149
|
function _sfc_render$1(_ctx, _cache) {
|
|
@@ -6178,7 +6184,7 @@ const _hoisted_2$q = {
|
|
|
6178
6184
|
class: "data-row"
|
|
6179
6185
|
};
|
|
6180
6186
|
const _hoisted_3$i = { class: "key" };
|
|
6181
|
-
const _hoisted_4$
|
|
6187
|
+
const _hoisted_4$c = { key: 1 };
|
|
6182
6188
|
const _hoisted_5$a = { class: "key" };
|
|
6183
6189
|
const _hoisted_6$6 = { class: "vlue" };
|
|
6184
6190
|
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
@@ -6230,7 +6236,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
6230
6236
|
])) : createCommentVNode("", true)
|
|
6231
6237
|
], 64);
|
|
6232
6238
|
}), 128)),
|
|
6233
|
-
!((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
6239
|
+
!((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (openBlock(), createElementBlock("div", _hoisted_4$c, [
|
|
6234
6240
|
(openBlock(true), createElementBlock(Fragment$1, null, renderList(computedSchema.value, (key) => {
|
|
6235
6241
|
return openBlock(), createElementBlock("div", {
|
|
6236
6242
|
key,
|
|
@@ -6509,37 +6515,28 @@ const _hoisted_2$n = { class: "Handlers" };
|
|
|
6509
6515
|
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
6510
6516
|
__name: "Carousel",
|
|
6511
6517
|
props: {
|
|
6512
|
-
autoHeight: {
|
|
6513
|
-
|
|
6514
|
-
|
|
6515
|
-
},
|
|
6516
|
-
|
|
6517
|
-
|
|
6518
|
-
|
|
6519
|
-
}
|
|
6520
|
-
freeDrag: {
|
|
6521
|
-
type: Boolean,
|
|
6522
|
-
default: true
|
|
6523
|
-
},
|
|
6524
|
-
items: {
|
|
6525
|
-
type: Number,
|
|
6526
|
-
default: 4
|
|
6527
|
-
},
|
|
6528
|
-
index: {
|
|
6529
|
-
type: Number,
|
|
6530
|
-
default: 0
|
|
6531
|
-
}
|
|
6518
|
+
autoHeight: { type: Boolean, default: false },
|
|
6519
|
+
allowScroll: { type: Boolean, default: true },
|
|
6520
|
+
freeDrag: { type: Boolean, default: true },
|
|
6521
|
+
items: { type: Number, default: 4 },
|
|
6522
|
+
index: { type: Number, default: 0 },
|
|
6523
|
+
autoplay: { type: Boolean, default: false },
|
|
6524
|
+
autoplaySpeed: { type: Number, default: 3e3 },
|
|
6525
|
+
loop: { type: Boolean, default: false }
|
|
6532
6526
|
},
|
|
6533
6527
|
emits: ["update:index"],
|
|
6534
6528
|
setup(__props, { emit: __emit }) {
|
|
6535
6529
|
const props2 = __props;
|
|
6536
6530
|
const emit2 = __emit;
|
|
6537
|
-
const bglSlider = ref();
|
|
6531
|
+
const bglSlider = ref(null);
|
|
6538
6532
|
let activeSlideIndex = ref(0);
|
|
6539
6533
|
let isDragging = ref(false);
|
|
6540
6534
|
let startX = ref(0);
|
|
6541
6535
|
let scrollLeft = ref(0);
|
|
6542
6536
|
let isPressed = ref(false);
|
|
6537
|
+
let yHeight = ref("auto");
|
|
6538
|
+
let autoplayInterval = ref(null);
|
|
6539
|
+
let originalSlideCount = ref(0);
|
|
6543
6540
|
function disableDrag() {
|
|
6544
6541
|
var _a2, _b;
|
|
6545
6542
|
(_a2 = bglSlider.value) == null ? void 0 : _a2.querySelectorAll("img").forEach((e) => {
|
|
@@ -6547,36 +6544,40 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
6547
6544
|
});
|
|
6548
6545
|
for (const e of ((_b = bglSlider.value) == null ? void 0 : _b.children) || []) {
|
|
6549
6546
|
e.setAttribute("draggable", "false");
|
|
6550
|
-
e.addEventListener("click", (
|
|
6547
|
+
e.addEventListener("click", (el) => el.preventDefault());
|
|
6551
6548
|
}
|
|
6552
6549
|
}
|
|
6553
|
-
let yHeight = ref("auto");
|
|
6554
6550
|
function evalHeight() {
|
|
6555
6551
|
if (!props2.autoHeight || !bglSlider.value) return;
|
|
6556
|
-
const
|
|
6557
|
-
const height = Array.from(slidChildren).map((el) => el.clientHeight).reduce((a2, b2) => a2 + b2, 0);
|
|
6552
|
+
const height = Array.from(bglSlider.value.children[activeSlideIndex.value].children).map((el) => el.clientHeight).reduce((a2, b2) => a2 + b2, 0);
|
|
6558
6553
|
yHeight.value = `${height}px`;
|
|
6559
6554
|
}
|
|
6560
|
-
function goToSlide(index2) {
|
|
6561
|
-
if (!bglSlider.value
|
|
6562
|
-
|
|
6555
|
+
function goToSlide(index2, behavior = "smooth") {
|
|
6556
|
+
if (!bglSlider.value) return;
|
|
6557
|
+
if (props2.loop) {
|
|
6558
|
+
if (index2 >= originalSlideCount.value) {
|
|
6559
|
+
index2 = index2 % originalSlideCount.value;
|
|
6560
|
+
behavior = "auto";
|
|
6561
|
+
} else if (index2 < 0) {
|
|
6562
|
+
index2 = originalSlideCount.value - -index2 % originalSlideCount.value;
|
|
6563
|
+
behavior = "auto";
|
|
6564
|
+
}
|
|
6565
|
+
}
|
|
6563
6566
|
const isRTL = getComputedStyle(bglSlider.value).direction === "rtl";
|
|
6564
|
-
const scrollX =
|
|
6565
|
-
|
|
6567
|
+
const scrollX = bglSlider.value.offsetWidth * index2 * (isRTL ? -1 : 1);
|
|
6568
|
+
bglSlider.value.scrollTo({ left: scrollX, behavior });
|
|
6566
6569
|
activeSlideIndex.value = index2;
|
|
6567
6570
|
evalHeight();
|
|
6568
6571
|
}
|
|
6569
|
-
watch(() => props2.index,
|
|
6570
|
-
|
|
6571
|
-
|
|
6572
|
-
|
|
6573
|
-
|
|
6574
|
-
|
|
6575
|
-
);
|
|
6572
|
+
watch(() => props2.index, (index2) => {
|
|
6573
|
+
goToSlide(index2);
|
|
6574
|
+
});
|
|
6575
|
+
watch(() => activeSlideIndex.value, (index2) => {
|
|
6576
|
+
emit2("update:index", index2);
|
|
6577
|
+
});
|
|
6576
6578
|
function scrollEnd() {
|
|
6577
|
-
|
|
6578
|
-
|
|
6579
|
-
const nextSlide = Math.round(slider.scrollLeft / slider.offsetWidth);
|
|
6579
|
+
if (props2.items !== 1 || !bglSlider.value) return;
|
|
6580
|
+
const nextSlide = Math.round(bglSlider.value.scrollLeft / bglSlider.value.offsetWidth);
|
|
6580
6581
|
goToSlide(nextSlide);
|
|
6581
6582
|
}
|
|
6582
6583
|
function stopDragging(e) {
|
|
@@ -6584,11 +6585,8 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
6584
6585
|
const slider = bglSlider.value;
|
|
6585
6586
|
if (!slider) return;
|
|
6586
6587
|
const isDragForward = startX.value > e.pageX + slider.offsetLeft;
|
|
6587
|
-
|
|
6588
|
-
activeSlideIndex.value = Math.ceil(slider.scrollLeft / slider.offsetWidth);
|
|
6589
|
-
else activeSlideIndex.value = Math.floor(slider.scrollLeft / slider.offsetWidth);
|
|
6588
|
+
activeSlideIndex.value = isDragForward ? Math.ceil(slider.scrollLeft / slider.offsetWidth) : Math.floor(slider.scrollLeft / slider.offsetWidth);
|
|
6590
6589
|
if (props2.items === 1) goToSlide(activeSlideIndex.value);
|
|
6591
|
-
startX.value = 0;
|
|
6592
6590
|
document.removeEventListener("mousemove", move);
|
|
6593
6591
|
document.removeEventListener("mouseup", stopDragging);
|
|
6594
6592
|
document.removeEventListener("dragend", stopDragging);
|
|
@@ -6597,11 +6595,9 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
6597
6595
|
function move(e) {
|
|
6598
6596
|
if (!bglSlider.value) return;
|
|
6599
6597
|
const x2 = e.pageX - bglSlider.value.offsetLeft;
|
|
6600
|
-
|
|
6601
|
-
if (walk > 20 || walk < -20) isDragging.value = true;
|
|
6598
|
+
if (Math.abs(x2 - startX.value) > 20) isDragging.value = true;
|
|
6602
6599
|
if (!isDragging.value) return;
|
|
6603
|
-
|
|
6604
|
-
bglSlider.value.scrollLeft = scrollLeft.value - scroll;
|
|
6600
|
+
bglSlider.value.scrollLeft = scrollLeft.value - (x2 - startX.value);
|
|
6605
6601
|
}
|
|
6606
6602
|
function startDragging(e) {
|
|
6607
6603
|
if (e.button !== 0 || !props2.freeDrag || !bglSlider.value) return;
|
|
@@ -6613,69 +6609,87 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
6613
6609
|
document.addEventListener("dragend", stopDragging);
|
|
6614
6610
|
}
|
|
6615
6611
|
function next() {
|
|
6616
|
-
if (
|
|
6617
|
-
|
|
6618
|
-
|
|
6619
|
-
if (isLastSlide) goToSlide(0);
|
|
6620
|
-
else goToSlide(activeSlideIndex.value + 1);
|
|
6612
|
+
if (bglSlider.value) {
|
|
6613
|
+
goToSlide(activeSlideIndex.value + 1);
|
|
6614
|
+
}
|
|
6621
6615
|
}
|
|
6622
6616
|
function prev() {
|
|
6623
|
-
if (
|
|
6624
|
-
|
|
6625
|
-
|
|
6626
|
-
else goToSlide(activeSlideIndex.value - 1);
|
|
6617
|
+
if (bglSlider.value) {
|
|
6618
|
+
goToSlide(activeSlideIndex.value - 1);
|
|
6619
|
+
}
|
|
6627
6620
|
}
|
|
6628
6621
|
function evalWidth() {
|
|
6629
|
-
if (
|
|
6630
|
-
|
|
6622
|
+
if (bglSlider.value) goToSlide(activeSlideIndex.value);
|
|
6623
|
+
}
|
|
6624
|
+
function startAutoplay() {
|
|
6625
|
+
if (props2.autoplay) {
|
|
6626
|
+
autoplayInterval.value = setInterval(next, props2.autoplaySpeed);
|
|
6627
|
+
}
|
|
6628
|
+
}
|
|
6629
|
+
function stopAutoplay() {
|
|
6630
|
+
if (autoplayInterval.value) {
|
|
6631
|
+
clearInterval(autoplayInterval.value);
|
|
6632
|
+
autoplayInterval.value = null;
|
|
6633
|
+
}
|
|
6634
|
+
}
|
|
6635
|
+
function cloneSlides() {
|
|
6636
|
+
if (!bglSlider.value || !props2.loop) return;
|
|
6637
|
+
const slides = Array.from(bglSlider.value.children);
|
|
6638
|
+
originalSlideCount.value = slides.length;
|
|
6639
|
+
slides.forEach((slide) => {
|
|
6640
|
+
const clone2 = slide.cloneNode(true);
|
|
6641
|
+
bglSlider.value.appendChild(clone2);
|
|
6642
|
+
});
|
|
6643
|
+
slides.forEach((slide) => {
|
|
6644
|
+
const clone2 = slide.cloneNode(true);
|
|
6645
|
+
bglSlider.value.insertBefore(clone2, bglSlider.value.firstChild);
|
|
6646
|
+
});
|
|
6631
6647
|
}
|
|
6632
6648
|
onMounted(() => {
|
|
6649
|
+
cloneSlides();
|
|
6633
6650
|
window.addEventListener("resize", evalWidth);
|
|
6634
6651
|
evalHeight();
|
|
6635
6652
|
disableDrag();
|
|
6653
|
+
startAutoplay();
|
|
6636
6654
|
});
|
|
6637
6655
|
onUnmounted(() => {
|
|
6638
6656
|
window.removeEventListener("resize", evalWidth);
|
|
6657
|
+
stopAutoplay();
|
|
6639
6658
|
});
|
|
6640
6659
|
return (_ctx, _cache) => {
|
|
6641
6660
|
return openBlock(), createElementBlock("div", {
|
|
6642
|
-
class: normalizeClass(["BglCarousel", { autoHeight:
|
|
6661
|
+
class: normalizeClass(["BglCarousel", { autoHeight: props2.autoHeight }]),
|
|
6643
6662
|
style: normalizeStyle({ height: unref(yHeight) })
|
|
6644
6663
|
}, [
|
|
6645
6664
|
createElementVNode("div", {
|
|
6646
6665
|
ref_key: "bglSlider",
|
|
6647
6666
|
ref: bglSlider,
|
|
6648
|
-
class: normalizeClass([
|
|
6649
|
-
dragging: unref(isDragging),
|
|
6650
|
-
|
|
6651
|
-
[`slides-${__props.items}`]: true,
|
|
6652
|
-
allowScroll: __props.allowScroll
|
|
6653
|
-
}, "bgl-slider"]),
|
|
6667
|
+
class: normalizeClass(["bgl-slider", [
|
|
6668
|
+
{ dragging: unref(isDragging), clicking: unref(isPressed), [`slides-${props2.items}`]: true, allowScroll: props2.allowScroll }
|
|
6669
|
+
]]),
|
|
6654
6670
|
onScrollend: scrollEnd,
|
|
6655
|
-
onMousedown: startDragging
|
|
6671
|
+
onMousedown: startDragging,
|
|
6672
|
+
onMouseenter: stopAutoplay,
|
|
6673
|
+
onMouseleave: startAutoplay,
|
|
6674
|
+
onFocusin: stopAutoplay,
|
|
6675
|
+
onFocusout: startAutoplay
|
|
6656
6676
|
}, [
|
|
6657
6677
|
unref(isDragging) ? (openBlock(), createElementBlock("div", _hoisted_1$t)) : createCommentVNode("", true),
|
|
6658
6678
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
6659
6679
|
], 34),
|
|
6660
6680
|
createElementVNode("div", _hoisted_2$n, [
|
|
6661
6681
|
createElementVNode("span", { onClick: prev }, [
|
|
6662
|
-
renderSlot(_ctx.$slots, "prev", {
|
|
6663
|
-
prev,
|
|
6664
|
-
index: unref(activeSlideIndex)
|
|
6665
|
-
}, void 0, true)
|
|
6682
|
+
renderSlot(_ctx.$slots, "prev", { index: unref(activeSlideIndex) }, void 0, true)
|
|
6666
6683
|
]),
|
|
6667
6684
|
createElementVNode("span", { onClick: next }, [
|
|
6668
|
-
renderSlot(_ctx.$slots, "next", {
|
|
6669
|
-
next,
|
|
6670
|
-
index: unref(activeSlideIndex)
|
|
6671
|
-
}, void 0, true)
|
|
6685
|
+
renderSlot(_ctx.$slots, "next", { index: unref(activeSlideIndex) }, void 0, true)
|
|
6672
6686
|
])
|
|
6673
6687
|
])
|
|
6674
6688
|
], 6);
|
|
6675
6689
|
};
|
|
6676
6690
|
}
|
|
6677
6691
|
});
|
|
6678
|
-
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-
|
|
6692
|
+
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-da91fb96"]]);
|
|
6679
6693
|
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
6680
6694
|
__name: "ModalConfirm",
|
|
6681
6695
|
props: {
|
|
@@ -16300,6 +16314,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
16300
16314
|
iconUrl: `data:image/svg+xml;utf8,${encodeURIComponent(markerSVG)}`,
|
|
16301
16315
|
iconSize: [32, 32]
|
|
16302
16316
|
});
|
|
16317
|
+
if (!map4.value) initializeMap();
|
|
16303
16318
|
const marker = L$1.marker(latlng, { icon: customIcon }).addTo(map4.value);
|
|
16304
16319
|
markers.value.push(marker);
|
|
16305
16320
|
}
|
|
@@ -16563,20 +16578,9 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
16563
16578
|
};
|
|
16564
16579
|
}
|
|
16565
16580
|
});
|
|
16566
|
-
const _withScopeId$3 = (n2) => (pushScopeId("data-v-62e7637b"), n2 = n2(), popScopeId(), n2);
|
|
16567
16581
|
const _hoisted_1$r = ["title"];
|
|
16568
|
-
const _hoisted_2$m =
|
|
16569
|
-
|
|
16570
|
-
height: "24",
|
|
16571
|
-
viewBox: "0 -960 960 960",
|
|
16572
|
-
width: "24"
|
|
16573
|
-
}, [
|
|
16574
|
-
/* @__PURE__ */ createElementVNode("path", { d: "M382-240 154-468l57-57 171 171 367-367 57 57-424 424Z" })
|
|
16575
|
-
], -1));
|
|
16576
|
-
const _hoisted_3$h = [
|
|
16577
|
-
_hoisted_2$m
|
|
16578
|
-
];
|
|
16579
|
-
const _hoisted_4$c = ["id", "required"];
|
|
16582
|
+
const _hoisted_2$m = ["id", "required"];
|
|
16583
|
+
const _hoisted_3$h = ["for"];
|
|
16580
16584
|
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
16581
16585
|
__name: "CheckInput",
|
|
16582
16586
|
props: /* @__PURE__ */ mergeModels({
|
|
@@ -16591,34 +16595,33 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
16591
16595
|
}),
|
|
16592
16596
|
emits: ["update:modelValue"],
|
|
16593
16597
|
setup(__props) {
|
|
16598
|
+
const props2 = __props;
|
|
16599
|
+
const inputId = ref(props2.id || Math.random().toString(36).substring(7));
|
|
16594
16600
|
const checked = useModel(__props, "modelValue");
|
|
16595
16601
|
return (_ctx, _cache) => {
|
|
16596
16602
|
return openBlock(), createElementBlock("div", {
|
|
16597
|
-
class: normalizeClass(["bagel-input bgl-checkbox", { small: _ctx.small }]),
|
|
16603
|
+
class: normalizeClass(["bagel-input bgl-checkbox align-items-center ps-025", { small: _ctx.small }]),
|
|
16598
16604
|
title: _ctx.title
|
|
16599
16605
|
}, [
|
|
16600
|
-
createElementVNode("
|
|
16601
|
-
|
|
16602
|
-
|
|
16603
|
-
|
|
16604
|
-
|
|
16605
|
-
|
|
16606
|
-
|
|
16607
|
-
|
|
16608
|
-
|
|
16609
|
-
|
|
16610
|
-
}, null, 8, _hoisted_4$c), [
|
|
16611
|
-
[vModelCheckbox, checked.value]
|
|
16612
|
-
]),
|
|
16606
|
+
withDirectives(createElementVNode("input", {
|
|
16607
|
+
id: inputId.value,
|
|
16608
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => checked.value = $event),
|
|
16609
|
+
required: _ctx.required,
|
|
16610
|
+
type: "checkbox",
|
|
16611
|
+
class: "me-05"
|
|
16612
|
+
}, null, 8, _hoisted_2$m), [
|
|
16613
|
+
[vModelCheckbox, checked.value]
|
|
16614
|
+
]),
|
|
16615
|
+
createElementVNode("label", { for: inputId.value }, [
|
|
16613
16616
|
renderSlot(_ctx.$slots, "label", {}, () => [
|
|
16614
16617
|
createTextVNode(toDisplayString(_ctx.label), 1)
|
|
16615
16618
|
], true)
|
|
16616
|
-
])
|
|
16619
|
+
], 8, _hoisted_3$h)
|
|
16617
16620
|
], 10, _hoisted_1$r);
|
|
16618
16621
|
};
|
|
16619
16622
|
}
|
|
16620
16623
|
});
|
|
16621
|
-
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-
|
|
16624
|
+
const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-ac068f18"]]);
|
|
16622
16625
|
function toDate(argument) {
|
|
16623
16626
|
const argStr = Object.prototype.toString.call(argument);
|
|
16624
16627
|
if (argument instanceof Date || typeof argument === "object" && argStr === "[object Date]") {
|
|
@@ -25053,7 +25056,11 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
25053
25056
|
enableTime: { type: Boolean, default: false },
|
|
25054
25057
|
modelValue: {},
|
|
25055
25058
|
defaultValue: {},
|
|
25056
|
-
extraProps: {}
|
|
25059
|
+
extraProps: {},
|
|
25060
|
+
allowedDates: {},
|
|
25061
|
+
timePickerInline: { type: Boolean },
|
|
25062
|
+
minutesIncrement: {},
|
|
25063
|
+
minutesGridIncrement: {}
|
|
25057
25064
|
},
|
|
25058
25065
|
emits: ["update:modelValue"],
|
|
25059
25066
|
setup(__props, { emit: __emit }) {
|
|
@@ -25088,8 +25095,14 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
25088
25095
|
modelValue: date2.value,
|
|
25089
25096
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => date2.value = $event),
|
|
25090
25097
|
"auto-apply": true,
|
|
25091
|
-
"enable-time-picker": _ctx.enableTime
|
|
25092
|
-
|
|
25098
|
+
"enable-time-picker": _ctx.enableTime,
|
|
25099
|
+
"allowed-dates": _ctx.allowedDates
|
|
25100
|
+
}, _ctx.extraProps, {
|
|
25101
|
+
"time-picker-inline": _ctx.timePickerInline,
|
|
25102
|
+
"minutes-increment": _ctx.minutesIncrement,
|
|
25103
|
+
"minutes-grid-increment": _ctx.minutesGridIncrement,
|
|
25104
|
+
"start-time": { hours: 8, minutes: 0 }
|
|
25105
|
+
}), null, 16, ["modelValue", "enable-time-picker", "allowed-dates", "time-picker-inline", "minutes-increment", "minutes-grid-increment"])
|
|
25093
25106
|
], 10, _hoisted_1$q);
|
|
25094
25107
|
};
|
|
25095
25108
|
}
|
|
@@ -61978,7 +61991,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
61978
61991
|
};
|
|
61979
61992
|
}
|
|
61980
61993
|
});
|
|
61981
|
-
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
61994
|
+
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-718e118e"]]);
|
|
61982
61995
|
const _hoisted_1$1 = { key: 0 };
|
|
61983
61996
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
61984
61997
|
__name: "TabsBody",
|