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