@bagelink/vue 0.0.827 → 0.0.833
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/Carousel.vue.d.ts +27 -4
- package/dist/components/Carousel.vue.d.ts.map +1 -1
- package/dist/components/Pill.vue.d.ts +6 -6
- package/dist/components/Pill.vue.d.ts.map +1 -1
- package/dist/index.cjs +108 -144
- package/dist/index.mjs +108 -144
- package/dist/style.css +28 -28
- package/package.json +3 -3
- package/src/components/Carousel.vue +105 -142
- package/src/components/Pill.vue +4 -4
package/dist/index.mjs
CHANGED
|
@@ -54,7 +54,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
54
54
|
});
|
|
55
55
|
const _hoisted_1$M = ["aria-expanded", "aria-controls"];
|
|
56
56
|
const _hoisted_2$w = { class: "accordion-label" };
|
|
57
|
-
const _hoisted_3$
|
|
57
|
+
const _hoisted_3$n = ["id", "aria-hidden"];
|
|
58
58
|
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
59
59
|
__name: "AccordionItem",
|
|
60
60
|
props: {
|
|
@@ -141,7 +141,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
141
141
|
"aria-hidden": unref(isOpen) ? "false" : "true"
|
|
142
142
|
}, [
|
|
143
143
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
144
|
-
], 8, _hoisted_3$
|
|
144
|
+
], 8, _hoisted_3$n)) : createCommentVNode("", true)
|
|
145
145
|
]),
|
|
146
146
|
_: 3
|
|
147
147
|
})
|
|
@@ -554,34 +554,23 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
554
554
|
};
|
|
555
555
|
}
|
|
556
556
|
});
|
|
557
|
-
const _hoisted_1$F =
|
|
557
|
+
const _hoisted_1$F = ["dir"];
|
|
558
|
+
const _hoisted_2$s = {
|
|
558
559
|
key: 0,
|
|
559
560
|
class: "blocker"
|
|
560
561
|
};
|
|
561
|
-
const
|
|
562
|
+
const _hoisted_3$m = { class: "Handlers" };
|
|
562
563
|
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
563
564
|
__name: "Carousel",
|
|
564
565
|
props: {
|
|
565
|
-
autoHeight: {
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
},
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
}
|
|
573
|
-
freeDrag: {
|
|
574
|
-
type: Boolean,
|
|
575
|
-
default: true
|
|
576
|
-
},
|
|
577
|
-
items: {
|
|
578
|
-
type: Number,
|
|
579
|
-
default: 4
|
|
580
|
-
},
|
|
581
|
-
index: {
|
|
582
|
-
type: Number,
|
|
583
|
-
default: 0
|
|
584
|
-
}
|
|
566
|
+
autoHeight: { type: Boolean, default: false },
|
|
567
|
+
allowScroll: { type: Boolean, default: true },
|
|
568
|
+
freeDrag: { type: Boolean, default: true },
|
|
569
|
+
items: { type: Number, default: 4 },
|
|
570
|
+
index: { type: Number, default: 0 },
|
|
571
|
+
rtl: { type: Boolean, default: false },
|
|
572
|
+
autoplay: { type: Boolean, default: false },
|
|
573
|
+
autoPlaySpeed: { type: Number, default: 4e3 }
|
|
585
574
|
},
|
|
586
575
|
emits: ["update:index"],
|
|
587
576
|
setup(__props, { emit: __emit }) {
|
|
@@ -589,187 +578,162 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
589
578
|
const emit2 = __emit;
|
|
590
579
|
const bglSlider = ref();
|
|
591
580
|
let itemCount = ref(props2.items);
|
|
592
|
-
let activeSlideIndex = ref(
|
|
581
|
+
let activeSlideIndex = ref(props2.index);
|
|
593
582
|
let isDragging = ref(false);
|
|
594
|
-
let startX = ref(0);
|
|
595
|
-
let scrollLeft = ref(0);
|
|
596
583
|
let isPressed = ref(false);
|
|
584
|
+
let startX = ref(0);
|
|
585
|
+
let scrollStart = ref(0);
|
|
586
|
+
let yHeight = ref("auto");
|
|
587
|
+
let timeout;
|
|
588
|
+
let autoPlayInterval;
|
|
589
|
+
function preventDefaultClick(e) {
|
|
590
|
+
e.preventDefault();
|
|
591
|
+
}
|
|
597
592
|
function disableDrag() {
|
|
598
593
|
var _a2, _b;
|
|
599
|
-
(_a2 = bglSlider.value) == null ? void 0 : _a2.querySelectorAll("img").forEach((
|
|
600
|
-
|
|
594
|
+
(_a2 = bglSlider.value) == null ? void 0 : _a2.querySelectorAll("img").forEach((img) => {
|
|
595
|
+
img.setAttribute("draggable", "false");
|
|
596
|
+
});
|
|
597
|
+
Array.from(((_b = bglSlider.value) == null ? void 0 : _b.children) || []).forEach((child) => {
|
|
598
|
+
child.setAttribute("draggable", "false");
|
|
599
|
+
child.addEventListener("click", preventDefaultClick);
|
|
601
600
|
});
|
|
602
|
-
for (const e of ((_b = bglSlider.value) == null ? void 0 : _b.children) || []) {
|
|
603
|
-
e.setAttribute("draggable", "false");
|
|
604
|
-
e.addEventListener("click", (e22) => e22.preventDefault());
|
|
605
|
-
}
|
|
606
601
|
}
|
|
607
|
-
|
|
608
|
-
function evalHeight() {
|
|
602
|
+
function updateHeight() {
|
|
609
603
|
if (!props2.autoHeight || !bglSlider.value) return;
|
|
610
|
-
const
|
|
611
|
-
const
|
|
612
|
-
yHeight.value = `${
|
|
604
|
+
const children2 = Array.from(bglSlider.value.children[activeSlideIndex.value].children);
|
|
605
|
+
const totalHeight = children2.reduce((sum, el) => sum + el.clientHeight, 0);
|
|
606
|
+
yHeight.value = `${totalHeight}px`;
|
|
613
607
|
}
|
|
614
|
-
function
|
|
615
|
-
if (!bglSlider.value) return;
|
|
616
|
-
if (isPressed.value) return;
|
|
608
|
+
function easeScroll(target, duration = 500) {
|
|
609
|
+
if (!bglSlider.value || isPressed.value) return;
|
|
617
610
|
const start2 = bglSlider.value.scrollLeft;
|
|
618
611
|
const change = target - start2;
|
|
619
612
|
const startTime = performance.now();
|
|
620
|
-
function
|
|
613
|
+
function animate(currentTime) {
|
|
621
614
|
if (!bglSlider.value) return;
|
|
622
615
|
const timeElapsed = currentTime - startTime;
|
|
623
616
|
const progress = Math.min(timeElapsed / duration, 1);
|
|
624
617
|
bglSlider.value.scrollLeft = start2 + change * easeInOutQuad(progress);
|
|
625
|
-
if (progress < 1)
|
|
626
|
-
requestAnimationFrame(animateScroll);
|
|
627
|
-
}
|
|
618
|
+
if (progress < 1) requestAnimationFrame(animate);
|
|
628
619
|
}
|
|
629
620
|
function easeInOutQuad(t) {
|
|
630
621
|
return t < 0.5 ? 2 * t * t : -1 + (4 - 2 * t) * t;
|
|
631
622
|
}
|
|
632
|
-
requestAnimationFrame(
|
|
623
|
+
requestAnimationFrame(animate);
|
|
633
624
|
}
|
|
634
625
|
function goToSlide(index2) {
|
|
635
|
-
if (!bglSlider.value || index2 < 0 || index2
|
|
636
|
-
const
|
|
637
|
-
const
|
|
638
|
-
|
|
639
|
-
let duration = 700;
|
|
640
|
-
if (screenWidth < 600) {
|
|
641
|
-
duration = 400;
|
|
642
|
-
} else if (screenWidth < 991) {
|
|
643
|
-
duration = 500;
|
|
644
|
-
}
|
|
645
|
-
scrollEase(scrollX, duration);
|
|
626
|
+
if (!bglSlider.value || index2 < 0 || index2 >= bglSlider.value.children.length) return;
|
|
627
|
+
const offset2 = bglSlider.value.offsetWidth * index2 * (props2.rtl ? -1 : 1);
|
|
628
|
+
const duration = window.innerWidth < 600 ? 400 : window.innerWidth < 991 ? 500 : 700;
|
|
629
|
+
easeScroll(offset2, duration);
|
|
646
630
|
activeSlideIndex.value = index2;
|
|
647
|
-
|
|
631
|
+
updateHeight();
|
|
648
632
|
}
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
if (props2.index === activeSlideIndex.value) return;
|
|
654
|
-
emit2("update:index", activeSlideIndex.value);
|
|
655
|
-
}
|
|
656
|
-
);
|
|
657
|
-
function goToSlideScrollEnd() {
|
|
633
|
+
function handleSlideChange() {
|
|
634
|
+
if (props2.index !== activeSlideIndex.value) emit2("update:index", activeSlideIndex.value);
|
|
635
|
+
}
|
|
636
|
+
function handleResize() {
|
|
658
637
|
if (!bglSlider.value) return;
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
if (isDragForward) activeSlideIndex.value = Math.ceil(bglSlider.value.scrollLeft / bglSlider.value.offsetWidth);
|
|
662
|
-
else activeSlideIndex.value = Math.floor(bglSlider.value.scrollLeft / bglSlider.value.offsetWidth);
|
|
663
|
-
} else {
|
|
664
|
-
activeSlideIndex.value = Math.round(bglSlider.value.scrollLeft / bglSlider.value.offsetWidth);
|
|
665
|
-
}
|
|
666
|
-
startX.value = 0;
|
|
667
|
-
const nextSlide = Math.round(bglSlider.value.scrollLeft / bglSlider.value.offsetWidth);
|
|
668
|
-
goToSlide(nextSlide);
|
|
638
|
+
itemCount.value = window.innerWidth < 600 ? 1 : window.innerWidth < 991 ? Math.min(props2.items, 2) : Math.min(props2.items, 3);
|
|
639
|
+
goToSlide(activeSlideIndex.value);
|
|
669
640
|
}
|
|
670
|
-
|
|
671
|
-
|
|
641
|
+
function onScrollEnd() {
|
|
642
|
+
if (!props2.freeDrag && !props2.allowScroll || !bglSlider.value) return;
|
|
643
|
+
if (autoPlayInterval) clearInterval(autoPlayInterval);
|
|
672
644
|
if (timeout) clearTimeout(timeout);
|
|
673
|
-
timeout = setTimeout(
|
|
645
|
+
timeout = setTimeout(() => {
|
|
646
|
+
finalizeScroll();
|
|
647
|
+
}, 400);
|
|
674
648
|
}
|
|
675
|
-
function
|
|
676
|
-
isPressed.value = false;
|
|
677
|
-
document.removeEventListener("mousemove", move);
|
|
678
|
-
document.removeEventListener("mouseup", stopDragging);
|
|
679
|
-
document.removeEventListener("dragend", stopDragging);
|
|
680
|
-
setTimeout(() => isDragging.value = false, 100);
|
|
681
|
-
}
|
|
682
|
-
function move(e) {
|
|
649
|
+
function finalizeScroll() {
|
|
683
650
|
if (!bglSlider.value) return;
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
const scroll = x2 - startX.value;
|
|
689
|
-
bglSlider.value.scrollLeft = scrollLeft.value - scroll;
|
|
651
|
+
if (props2.autoplay) autoPlayInterval = setInterval(next, props2.autoPlaySpeed);
|
|
652
|
+
scrollStart.value = props2.rtl ? -bglSlider.value.scrollLeft : bglSlider.value.scrollLeft;
|
|
653
|
+
activeSlideIndex.value = Math.round(scrollStart.value / bglSlider.value.offsetWidth);
|
|
654
|
+
goToSlide(activeSlideIndex.value);
|
|
690
655
|
}
|
|
691
|
-
function
|
|
656
|
+
function startDrag(e) {
|
|
692
657
|
if (e.button !== 0 || !props2.freeDrag || !bglSlider.value) return;
|
|
658
|
+
if (autoPlayInterval) clearInterval(autoPlayInterval);
|
|
693
659
|
startX.value = e.pageX - bglSlider.value.offsetLeft;
|
|
694
|
-
|
|
660
|
+
scrollStart.value = bglSlider.value.scrollLeft;
|
|
695
661
|
isPressed.value = true;
|
|
696
|
-
document.addEventListener("mousemove",
|
|
697
|
-
document.addEventListener("mouseup",
|
|
662
|
+
document.addEventListener("mousemove", onDrag);
|
|
663
|
+
document.addEventListener("mouseup", endDrag);
|
|
664
|
+
}
|
|
665
|
+
function onDrag(e) {
|
|
666
|
+
if (!bglSlider.value) return;
|
|
667
|
+
const x2 = e.pageX - bglSlider.value.offsetLeft;
|
|
668
|
+
const distance = x2 - startX.value;
|
|
669
|
+
if (Math.abs(distance) > 20) isDragging.value = true;
|
|
670
|
+
if (isDragging.value) bglSlider.value.scrollLeft = scrollStart.value - distance;
|
|
671
|
+
}
|
|
672
|
+
function endDrag() {
|
|
673
|
+
isPressed.value = false;
|
|
674
|
+
document.removeEventListener("mousemove", onDrag);
|
|
675
|
+
document.removeEventListener("mouseup", endDrag);
|
|
676
|
+
setTimeout(() => isDragging.value = false, 100);
|
|
698
677
|
}
|
|
699
678
|
function next() {
|
|
700
679
|
if (!bglSlider.value) return;
|
|
701
680
|
const slideCount = bglSlider.value.children.length;
|
|
702
|
-
|
|
703
|
-
if (isLastSlide) goToSlide(0);
|
|
704
|
-
else goToSlide(activeSlideIndex.value + 1);
|
|
681
|
+
goToSlide((activeSlideIndex.value + 1) % slideCount);
|
|
705
682
|
}
|
|
706
683
|
function prev() {
|
|
707
684
|
if (!bglSlider.value) return;
|
|
708
685
|
const slideCount = bglSlider.value.children.length;
|
|
709
|
-
|
|
710
|
-
else goToSlide(activeSlideIndex.value - 1);
|
|
711
|
-
}
|
|
712
|
-
function evalWidth() {
|
|
713
|
-
if (!bglSlider.value) return;
|
|
714
|
-
if (window.innerWidth < 600) itemCount.value = 1;
|
|
715
|
-
else if (window.innerWidth < 991) itemCount.value = Math.min(props2.items, 2);
|
|
716
|
-
else if (window.innerWidth < 1280) itemCount.value = Math.min(props2.items, 3);
|
|
717
|
-
else itemCount.value = props2.items;
|
|
718
|
-
console.log(itemCount.value, window.innerWidth);
|
|
719
|
-
goToSlide(activeSlideIndex.value);
|
|
686
|
+
goToSlide((activeSlideIndex.value - 1 + slideCount) % slideCount);
|
|
720
687
|
}
|
|
721
688
|
onMounted(() => {
|
|
722
|
-
window.addEventListener("resize",
|
|
723
|
-
evalHeight();
|
|
724
|
-
evalWidth();
|
|
689
|
+
window.addEventListener("resize", handleResize);
|
|
725
690
|
disableDrag();
|
|
691
|
+
updateHeight();
|
|
692
|
+
handleResize();
|
|
693
|
+
if (props2.autoplay) {
|
|
694
|
+
autoPlayInterval = setInterval(next, props2.autoPlaySpeed);
|
|
695
|
+
}
|
|
726
696
|
});
|
|
697
|
+
function clearAutoplay() {
|
|
698
|
+
if (autoPlayInterval) clearInterval(autoPlayInterval);
|
|
699
|
+
}
|
|
727
700
|
onUnmounted(() => {
|
|
728
|
-
window.removeEventListener("resize",
|
|
701
|
+
window.removeEventListener("resize", handleResize);
|
|
729
702
|
});
|
|
703
|
+
watch(() => props2.index, goToSlide);
|
|
704
|
+
watch(() => activeSlideIndex.value, handleSlideChange);
|
|
730
705
|
return (_ctx, _cache) => {
|
|
731
706
|
return openBlock(), createElementBlock("div", {
|
|
732
707
|
class: normalizeClass(["BglCarousel", { autoHeight: __props.autoHeight }]),
|
|
733
|
-
style: normalizeStyle({ height: unref(yHeight) })
|
|
708
|
+
style: normalizeStyle({ height: unref(yHeight) }),
|
|
709
|
+
dir: __props.rtl ? "rtl" : "ltr"
|
|
734
710
|
}, [
|
|
735
711
|
createElementVNode("div", {
|
|
736
712
|
ref_key: "bglSlider",
|
|
737
713
|
ref: bglSlider,
|
|
738
|
-
class: normalizeClass([{
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
}, "bgl-slider"]),
|
|
745
|
-
style: normalizeStyle({
|
|
746
|
-
"--item-count": unref(itemCount)
|
|
747
|
-
}),
|
|
748
|
-
onScroll: scrollEnd,
|
|
749
|
-
onMousedown: startDragging
|
|
714
|
+
class: normalizeClass(["bgl-slider", { dragging: unref(isDragging), clicking: unref(isPressed), allowScroll: __props.allowScroll, odd: unref(itemCount) % 2 !== 0, [`slides-${unref(itemCount)}`]: unref(itemCount) === 1 }]),
|
|
715
|
+
style: normalizeStyle({ "--item-count": unref(itemCount) }),
|
|
716
|
+
onScroll: onScrollEnd,
|
|
717
|
+
onMousedown: startDrag,
|
|
718
|
+
onMouseover: clearAutoplay,
|
|
719
|
+
onFocusin: clearAutoplay
|
|
750
720
|
}, [
|
|
751
|
-
unref(isDragging) ? (openBlock(), createElementBlock("div",
|
|
721
|
+
unref(isDragging) ? (openBlock(), createElementBlock("div", _hoisted_2$s)) : createCommentVNode("", true),
|
|
752
722
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
753
723
|
], 38),
|
|
754
|
-
createElementVNode("div",
|
|
724
|
+
createElementVNode("div", _hoisted_3$m, [
|
|
755
725
|
createElementVNode("span", { onClick: prev }, [
|
|
756
|
-
renderSlot(_ctx.$slots, "prev", {
|
|
757
|
-
prev,
|
|
758
|
-
index: unref(activeSlideIndex)
|
|
759
|
-
}, void 0, true)
|
|
726
|
+
renderSlot(_ctx.$slots, "prev", { index: unref(activeSlideIndex) }, void 0, true)
|
|
760
727
|
]),
|
|
761
728
|
createElementVNode("span", { onClick: next }, [
|
|
762
|
-
renderSlot(_ctx.$slots, "next", {
|
|
763
|
-
next,
|
|
764
|
-
index: unref(activeSlideIndex)
|
|
765
|
-
}, void 0, true)
|
|
729
|
+
renderSlot(_ctx.$slots, "next", { index: unref(activeSlideIndex) }, void 0, true)
|
|
766
730
|
])
|
|
767
731
|
])
|
|
768
|
-
],
|
|
732
|
+
], 14, _hoisted_1$F);
|
|
769
733
|
};
|
|
770
734
|
}
|
|
771
735
|
});
|
|
772
|
-
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-
|
|
736
|
+
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-3f8e6ea0"]]);
|
|
773
737
|
function _isPlaceholder(a2) {
|
|
774
738
|
return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
|
|
775
739
|
}
|
|
@@ -53653,8 +53617,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
53653
53617
|
},
|
|
53654
53618
|
setup(__props) {
|
|
53655
53619
|
useCssVars((_ctx) => ({
|
|
53656
|
-
"
|
|
53657
|
-
"
|
|
53620
|
+
"559533ce": computedBackgroundColor.value,
|
|
53621
|
+
"4621e5ae": cumputedTextColor.value
|
|
53658
53622
|
}));
|
|
53659
53623
|
const props2 = __props;
|
|
53660
53624
|
const slots = useSlots();
|
|
@@ -53745,7 +53709,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
53745
53709
|
};
|
|
53746
53710
|
}
|
|
53747
53711
|
});
|
|
53748
|
-
const Pill = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
53712
|
+
const Pill = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-4c9e6928"]]);
|
|
53749
53713
|
const _sfc_main$5 = {};
|
|
53750
53714
|
function _sfc_render$1(_ctx, _cache) {
|
|
53751
53715
|
const _component_router_view = resolveComponent("router-view");
|
package/dist/style.css
CHANGED
|
@@ -350,7 +350,7 @@ display: block;
|
|
|
350
350
|
padding: 0;
|
|
351
351
|
}
|
|
352
352
|
|
|
353
|
-
.blocker[data-v-
|
|
353
|
+
.blocker[data-v-3f8e6ea0] {
|
|
354
354
|
position: fixed;
|
|
355
355
|
top: 0;
|
|
356
356
|
left: 0;
|
|
@@ -358,7 +358,7 @@ display: block;
|
|
|
358
358
|
height: 100%;
|
|
359
359
|
z-index: 100;
|
|
360
360
|
}
|
|
361
|
-
.bgl-slider[data-v-
|
|
361
|
+
.bgl-slider[data-v-3f8e6ea0] {
|
|
362
362
|
display: grid;
|
|
363
363
|
position: relative;
|
|
364
364
|
/* scroll-behavior: smooth; */
|
|
@@ -367,43 +367,43 @@ display: block;
|
|
|
367
367
|
/* scroll-snap-type: x mandatory; */
|
|
368
368
|
overflow-x: hidden;
|
|
369
369
|
}
|
|
370
|
-
.autoHeight[data-v-
|
|
370
|
+
.autoHeight[data-v-3f8e6ea0] {
|
|
371
371
|
transition: height ease 0.7s;
|
|
372
372
|
}
|
|
373
|
-
.bgl-slider.allowScroll[data-v-
|
|
373
|
+
.bgl-slider.allowScroll[data-v-3f8e6ea0] {
|
|
374
374
|
overflow-x: scroll;
|
|
375
375
|
}
|
|
376
|
-
.bgl-slider[data-v-
|
|
376
|
+
.bgl-slider[data-v-3f8e6ea0] {
|
|
377
377
|
grid-auto-columns: calc(100% / var(--item-count) - calc(var(--item-count) - 1) * 1%);
|
|
378
378
|
gap: 1%;
|
|
379
379
|
}
|
|
380
|
-
.bgl-slider.odd[data-v-
|
|
380
|
+
.bgl-slider.odd[data-v-3f8e6ea0] {
|
|
381
381
|
grid-auto-columns: calc(100% / var(--item-count) - calc(var(--item-count) - 2) * 1%);
|
|
382
382
|
}
|
|
383
|
-
.bgl-slider.slides-1[data-v-
|
|
383
|
+
.bgl-slider.slides-1[data-v-3f8e6ea0] {
|
|
384
384
|
grid-auto-columns: 100%;
|
|
385
385
|
gap: 0;
|
|
386
386
|
}
|
|
387
|
-
.bgl-slider[data-v-
|
|
387
|
+
.bgl-slider[data-v-3f8e6ea0]::-webkit-scrollbar {
|
|
388
388
|
display: none;
|
|
389
389
|
}
|
|
390
|
-
.bgl-slider[data-v-
|
|
390
|
+
.bgl-slider[data-v-3f8e6ea0] * {
|
|
391
391
|
scroll-snap-align: start;
|
|
392
392
|
}
|
|
393
|
-
.dragging.bgl-slider[data-v-
|
|
393
|
+
.dragging.bgl-slider[data-v-3f8e6ea0] {
|
|
394
394
|
cursor: grabbing;
|
|
395
395
|
cursor: -webkit-grabbing;
|
|
396
396
|
scroll-snap-type: unset;
|
|
397
397
|
}
|
|
398
|
-
.clicking.bgl-slider[data-v-
|
|
398
|
+
.clicking.bgl-slider[data-v-3f8e6ea0] {
|
|
399
399
|
scroll-behavior: unset;
|
|
400
400
|
}
|
|
401
|
-
.dragging.bgl-slider[data-v-
|
|
401
|
+
.dragging.bgl-slider[data-v-3f8e6ea0] * {
|
|
402
402
|
scroll-snap-align: unset;
|
|
403
403
|
user-select: none;
|
|
404
404
|
}
|
|
405
405
|
@media screen and (max-width: 600px) {
|
|
406
|
-
.bgl-slider.slides-1[data-v-
|
|
406
|
+
.bgl-slider.slides-1[data-v-3f8e6ea0] * {
|
|
407
407
|
margin-inline-start: 1%;
|
|
408
408
|
}
|
|
409
409
|
}
|
|
@@ -3174,25 +3174,25 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
3174
3174
|
}
|
|
3175
3175
|
}
|
|
3176
3176
|
|
|
3177
|
-
.bgl_pill-btn[data-v-
|
|
3177
|
+
.bgl_pill-btn[data-v-4c9e6928]{
|
|
3178
3178
|
color: var(--pill-btn-color);
|
|
3179
3179
|
background: var(--pill-btn-bg);
|
|
3180
3180
|
width: calc(var(--pill-height) / 1.25)!important;
|
|
3181
3181
|
height: calc(var(--pill-height) / 1.25)!important;
|
|
3182
3182
|
}
|
|
3183
|
-
.loading[data-v-
|
|
3183
|
+
.loading[data-v-4c9e6928] {
|
|
3184
3184
|
border: 1px solid var(--bgl-light-text);
|
|
3185
3185
|
border-bottom: 2px solid var(--bgl-light-text);
|
|
3186
|
-
animation: spin-
|
|
3186
|
+
animation: spin-4c9e6928 1s linear infinite;
|
|
3187
3187
|
border-radius: 100px;
|
|
3188
3188
|
width: 1rem;
|
|
3189
3189
|
height: 1rem;
|
|
3190
3190
|
margin: auto;
|
|
3191
3191
|
}
|
|
3192
|
-
.bgl_flatPill .loading[data-v-
|
|
3192
|
+
.bgl_flatPill .loading[data-v-4c9e6928] {
|
|
3193
3193
|
border-bottom: 2px solid var(--bgl-text-color);
|
|
3194
3194
|
}
|
|
3195
|
-
@keyframes spin-
|
|
3195
|
+
@keyframes spin-4c9e6928 {
|
|
3196
3196
|
0% {
|
|
3197
3197
|
transform: rotate(0deg);
|
|
3198
3198
|
}
|
|
@@ -3200,11 +3200,11 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
3200
3200
|
transform: rotate(360deg);
|
|
3201
3201
|
}
|
|
3202
3202
|
}
|
|
3203
|
-
.bgl_pill[data-v-
|
|
3203
|
+
.bgl_pill[data-v-4c9e6928] {
|
|
3204
3204
|
padding-inline: 0.25rem;
|
|
3205
3205
|
transition: var(--bgl-transition);
|
|
3206
|
-
background-color: var(--
|
|
3207
|
-
color: var(--
|
|
3206
|
+
background-color: var(--559533ce);
|
|
3207
|
+
color: var(--4621e5ae);
|
|
3208
3208
|
display: inline-block;
|
|
3209
3209
|
margin-inline-end: 0.25rem;
|
|
3210
3210
|
border-radius: var(--pill-border-radius);
|
|
@@ -3212,26 +3212,26 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
3212
3212
|
vertical-align: middle;
|
|
3213
3213
|
margin-bottom: 0.25rem;
|
|
3214
3214
|
}
|
|
3215
|
-
.bgl_pill[disabled="true"][data-v-
|
|
3215
|
+
.bgl_pill[disabled="true"][data-v-4c9e6928] {
|
|
3216
3216
|
opacity: 0.5;
|
|
3217
3217
|
cursor: not-allowed;
|
|
3218
3218
|
}
|
|
3219
|
-
.bgl_pill-flex[data-v-
|
|
3219
|
+
.bgl_pill-flex[data-v-4c9e6928] {
|
|
3220
3220
|
display: flex;
|
|
3221
3221
|
align-items: center;
|
|
3222
3222
|
gap: 0.25rem;
|
|
3223
3223
|
justify-content: center;
|
|
3224
3224
|
height: 100%;
|
|
3225
3225
|
}
|
|
3226
|
-
.bgl_pill.bgl_flatPill[data-v-
|
|
3226
|
+
.bgl_pill.bgl_flatPill[data-v-4c9e6928] {
|
|
3227
3227
|
background: transparent;
|
|
3228
3228
|
}
|
|
3229
|
-
.bgl_pill.round[data-v-
|
|
3229
|
+
.bgl_pill.round[data-v-4c9e6928] {
|
|
3230
3230
|
border-radius: 1000px;
|
|
3231
3231
|
}
|
|
3232
|
-
.bgl_pill-border[data-v-
|
|
3233
|
-
outline: 1px solid var(--
|
|
3234
|
-
color: var(--
|
|
3232
|
+
.bgl_pill-border[data-v-4c9e6928] {
|
|
3233
|
+
outline: 1px solid var(--559533ce);
|
|
3234
|
+
color: var(--559533ce);
|
|
3235
3235
|
background: transparent;
|
|
3236
3236
|
}
|
|
3237
3237
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bagelink/vue",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.833",
|
|
5
5
|
"description": "Bagel core sdk packages",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Neveh Allon",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/leaflet": "^1.9.14",
|
|
55
55
|
"@types/signature_pad": "^2.3.6",
|
|
56
|
-
"@vue-macros/reactivity-transform": "^1.1.
|
|
56
|
+
"@vue-macros/reactivity-transform": "^1.1.3",
|
|
57
57
|
"vue": "^3.5.12"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"@tiptap/starter-kit": "^2.9.1",
|
|
116
116
|
"@tiptap/vue-3": "^2.9.1",
|
|
117
117
|
"@vuepic/vue-datepicker": "^8.8.1",
|
|
118
|
-
"@vueuse/core": "^11.
|
|
118
|
+
"@vueuse/core": "^11.2.0",
|
|
119
119
|
"axios": "^1.7.7",
|
|
120
120
|
"floating-vue": "^5.2.2",
|
|
121
121
|
"libphonenumber-js": "1.11.12",
|