@bagelink/vue 1.2.69 → 1.2.71
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/index.d.ts +1 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/index.cjs +99 -578
- package/dist/index.mjs +99 -578
- package/dist/style.css +0 -71
- package/package.json +1 -1
- package/src/components/index.ts +2 -2
package/dist/index.cjs
CHANGED
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5
5
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
6
6
|
const vue = require("vue");
|
|
7
7
|
const vueRouter = require("vue-router");
|
|
8
|
-
const _sfc_main$
|
|
8
|
+
const _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
|
|
9
9
|
__name: "Accordion",
|
|
10
10
|
setup(__props) {
|
|
11
11
|
const state2 = vue.reactive({
|
|
@@ -19,10 +19,10 @@ const _sfc_main$1g = /* @__PURE__ */ vue.defineComponent({
|
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
|
-
const _hoisted_1$
|
|
23
|
-
const _hoisted_2$
|
|
24
|
-
const _hoisted_3$
|
|
25
|
-
const _sfc_main$
|
|
22
|
+
const _hoisted_1$12 = ["aria-expanded", "aria-controls"];
|
|
23
|
+
const _hoisted_2$M = { class: "accordion-label" };
|
|
24
|
+
const _hoisted_3$F = ["id", "aria-hidden"];
|
|
25
|
+
const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
|
|
26
26
|
__name: "AccordionItem",
|
|
27
27
|
props: {
|
|
28
28
|
label: {},
|
|
@@ -88,7 +88,7 @@ const _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
|
|
|
88
88
|
vue.createVNode(vue.unref(_sfc_main$s), { icon: computedIcon.value }, null, 8, ["icon"])
|
|
89
89
|
], 2)) : vue.createCommentVNode("", true),
|
|
90
90
|
vue.renderSlot(_ctx.$slots, "head", {}, () => [
|
|
91
|
-
vue.createElementVNode("span", _hoisted_2$
|
|
91
|
+
vue.createElementVNode("span", _hoisted_2$M, vue.toDisplayString(_ctx.label), 1)
|
|
92
92
|
], true),
|
|
93
93
|
iconPosition.value === "end" ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
94
94
|
key: 1,
|
|
@@ -96,7 +96,7 @@ const _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
|
|
|
96
96
|
}, [
|
|
97
97
|
vue.createVNode(vue.unref(_sfc_main$s), { icon: computedIcon.value }, null, 8, ["icon"])
|
|
98
98
|
], 2)) : vue.createCommentVNode("", true)
|
|
99
|
-
], 8, _hoisted_1$
|
|
99
|
+
], 8, _hoisted_1$12),
|
|
100
100
|
vue.createVNode(vue.Transition, { name: "expand" }, {
|
|
101
101
|
default: vue.withCtx(() => [
|
|
102
102
|
vue.unref(isOpen) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -106,7 +106,7 @@ const _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
|
|
|
106
106
|
"aria-hidden": vue.unref(isOpen) ? "false" : "true"
|
|
107
107
|
}, [
|
|
108
108
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
109
|
-
], 8, _hoisted_3$
|
|
109
|
+
], 8, _hoisted_3$F)) : vue.createCommentVNode("", true)
|
|
110
110
|
]),
|
|
111
111
|
_: 3
|
|
112
112
|
})
|
|
@@ -121,9 +121,9 @@ const _export_sfc = (sfc, props2) => {
|
|
|
121
121
|
}
|
|
122
122
|
return target;
|
|
123
123
|
};
|
|
124
|
-
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
125
|
-
const _hoisted_1$
|
|
126
|
-
const _sfc_main$
|
|
124
|
+
const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-3334f637"]]);
|
|
125
|
+
const _hoisted_1$11 = { class: "relative" };
|
|
126
|
+
const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
|
|
127
127
|
__name: "AddressSearch",
|
|
128
128
|
emits: ["addressSelected"],
|
|
129
129
|
setup(__props, { emit: __emit }) {
|
|
@@ -145,7 +145,7 @@ const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
|
|
|
145
145
|
(_a = suggestion.value) == null ? void 0 : _a.show();
|
|
146
146
|
}
|
|
147
147
|
return (_ctx, _cache) => {
|
|
148
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
148
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$11, [
|
|
149
149
|
vue.createVNode(vue.unref(_sfc_main$X), {
|
|
150
150
|
ref_key: "suggestion",
|
|
151
151
|
ref: suggestion,
|
|
@@ -181,11 +181,11 @@ const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
|
|
|
181
181
|
};
|
|
182
182
|
}
|
|
183
183
|
});
|
|
184
|
-
const _hoisted_1$
|
|
184
|
+
const _hoisted_1$10 = {
|
|
185
185
|
key: 1,
|
|
186
186
|
class: "bgl_btn-flex"
|
|
187
187
|
};
|
|
188
|
-
const _sfc_main$
|
|
188
|
+
const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
|
|
189
189
|
__name: "Btn",
|
|
190
190
|
props: {
|
|
191
191
|
disabled: { type: Boolean, default: false },
|
|
@@ -254,7 +254,7 @@ const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
|
|
|
254
254
|
key: 0,
|
|
255
255
|
class: "h-100p",
|
|
256
256
|
size: "15"
|
|
257
|
-
})) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
257
|
+
})) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$10, [
|
|
258
258
|
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
|
|
259
259
|
key: 0,
|
|
260
260
|
icon: _ctx.icon,
|
|
@@ -278,10 +278,10 @@ const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
|
|
|
278
278
|
};
|
|
279
279
|
}
|
|
280
280
|
});
|
|
281
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
282
|
-
const _hoisted_1
|
|
283
|
-
const _hoisted_2$
|
|
284
|
-
const _sfc_main$
|
|
281
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-99c4aa53"]]);
|
|
282
|
+
const _hoisted_1$$ = ["dismissable"];
|
|
283
|
+
const _hoisted_2$L = { class: "m-0" };
|
|
284
|
+
const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
|
|
285
285
|
__name: "Alert",
|
|
286
286
|
props: {
|
|
287
287
|
message: {},
|
|
@@ -311,7 +311,7 @@ const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
|
|
|
311
311
|
size: 1.7,
|
|
312
312
|
color: color2[_ctx.type]
|
|
313
313
|
}, null, 8, ["icon", "color"])) : vue.createCommentVNode("", true),
|
|
314
|
-
vue.createElementVNode("p", _hoisted_2$
|
|
314
|
+
vue.createElementVNode("p", _hoisted_2$L, vue.toDisplayString(_ctx.message), 1),
|
|
315
315
|
vue.createVNode(Btn, {
|
|
316
316
|
flat: "",
|
|
317
317
|
thin: "",
|
|
@@ -319,13 +319,13 @@ const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
|
|
|
319
319
|
icon: "close",
|
|
320
320
|
onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
|
|
321
321
|
})
|
|
322
|
-
], 10, _hoisted_1
|
|
322
|
+
], 10, _hoisted_1$$)) : vue.createCommentVNode("", true);
|
|
323
323
|
};
|
|
324
324
|
}
|
|
325
325
|
});
|
|
326
|
-
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
327
|
-
const _hoisted_1
|
|
328
|
-
const _sfc_main$
|
|
326
|
+
const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-15c4ee95"]]);
|
|
327
|
+
const _hoisted_1$_ = ["src", "alt"];
|
|
328
|
+
const _sfc_main$1a = /* @__PURE__ */ vue.defineComponent({
|
|
329
329
|
__name: "Avatar",
|
|
330
330
|
props: {
|
|
331
331
|
fallback: {},
|
|
@@ -343,7 +343,7 @@ const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
|
|
|
343
343
|
key: 0,
|
|
344
344
|
src: _ctx.src,
|
|
345
345
|
alt: _ctx.name
|
|
346
|
-
}, null, 8, _hoisted_1
|
|
346
|
+
}, null, 8, _hoisted_1$_)) : (vue.openBlock(), vue.createElementBlock("p", {
|
|
347
347
|
key: 1,
|
|
348
348
|
style: vue.normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
|
|
349
349
|
}, vue.toDisplayString((_ctx.fallback || vue.unref(initials)(_ctx.name || "")).toUpperCase()), 5))
|
|
@@ -351,8 +351,8 @@ const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
|
|
|
351
351
|
};
|
|
352
352
|
}
|
|
353
353
|
});
|
|
354
|
-
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
355
|
-
const _sfc_main$
|
|
354
|
+
const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-b73b9e30"]]);
|
|
355
|
+
const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
|
|
356
356
|
__name: "Badge",
|
|
357
357
|
props: {
|
|
358
358
|
color: {},
|
|
@@ -381,11 +381,11 @@ const _sfc_main$1a = /* @__PURE__ */ vue.defineComponent({
|
|
|
381
381
|
};
|
|
382
382
|
}
|
|
383
383
|
});
|
|
384
|
-
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
385
|
-
const _hoisted_1$
|
|
386
|
-
const _hoisted_2$
|
|
387
|
-
const _hoisted_3$
|
|
388
|
-
const _sfc_main$
|
|
384
|
+
const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-689f051f"]]);
|
|
385
|
+
const _hoisted_1$Z = ["src"];
|
|
386
|
+
const _hoisted_2$K = ["autoplay", "muted", "loop", "controls", "playsinline"];
|
|
387
|
+
const _hoisted_3$E = ["src", "type"];
|
|
388
|
+
const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
|
|
389
389
|
__name: "BglVideo",
|
|
390
390
|
props: {
|
|
391
391
|
src: {},
|
|
@@ -462,7 +462,7 @@ const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
|
|
|
462
462
|
allowfullscreen: "",
|
|
463
463
|
title: "Video",
|
|
464
464
|
allow: "autoplay"
|
|
465
|
-
}, null, 12, _hoisted_1$
|
|
465
|
+
}, null, 12, _hoisted_1$Z)) : _ctx.src ? (vue.openBlock(), vue.createElementBlock("video", {
|
|
466
466
|
key: 1,
|
|
467
467
|
ref_key: "video",
|
|
468
468
|
ref: video,
|
|
@@ -476,14 +476,14 @@ const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
|
|
|
476
476
|
vue.createElementVNode("source", {
|
|
477
477
|
src: _ctx.src,
|
|
478
478
|
type: `video/${videoFormat.value}`
|
|
479
|
-
}, null, 8, _hoisted_3$
|
|
480
|
-
], 12, _hoisted_2$
|
|
479
|
+
}, null, 8, _hoisted_3$E)
|
|
480
|
+
], 12, _hoisted_2$K)) : vue.createCommentVNode("", true)
|
|
481
481
|
], 2);
|
|
482
482
|
};
|
|
483
483
|
}
|
|
484
484
|
});
|
|
485
|
-
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
486
|
-
const _sfc_main$
|
|
485
|
+
const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-006552f6"]]);
|
|
486
|
+
const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
|
|
487
487
|
__name: "CalendarPopover",
|
|
488
488
|
props: {
|
|
489
489
|
event: {},
|
|
@@ -526,7 +526,7 @@ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
|
|
|
526
526
|
}
|
|
527
527
|
return (_ctx, _cache) => {
|
|
528
528
|
const _directive_click_outside = vue.resolveDirective("click-outside");
|
|
529
|
-
return _ctx.show && _ctx.event ? vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
529
|
+
return _ctx.show && _ctx.event ? vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$11), {
|
|
530
530
|
key: 0,
|
|
531
531
|
ref_key: "popoverRef",
|
|
532
532
|
ref: popoverRef,
|
|
@@ -548,14 +548,14 @@ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
|
|
|
548
548
|
};
|
|
549
549
|
}
|
|
550
550
|
});
|
|
551
|
-
const CalendarPopover = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
552
|
-
const _hoisted_1$
|
|
553
|
-
const _hoisted_2$
|
|
554
|
-
const _hoisted_3$
|
|
551
|
+
const CalendarPopover = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-6f51f6b3"]]);
|
|
552
|
+
const _hoisted_1$Y = { class: "agenda-view" };
|
|
553
|
+
const _hoisted_2$J = ["data-date", "onClick"];
|
|
554
|
+
const _hoisted_3$D = { class: "event-content" };
|
|
555
555
|
const _hoisted_4$r = { class: "event-time" };
|
|
556
556
|
const _hoisted_5$q = { class: "event-details" };
|
|
557
557
|
const _hoisted_6$n = { class: "event-title" };
|
|
558
|
-
const _sfc_main$
|
|
558
|
+
const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
|
|
559
559
|
__name: "AgendaView",
|
|
560
560
|
props: {
|
|
561
561
|
events: {},
|
|
@@ -653,7 +653,7 @@ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
|
|
|
653
653
|
}
|
|
654
654
|
});
|
|
655
655
|
return (_ctx, _cache) => {
|
|
656
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
656
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$Y, [
|
|
657
657
|
_cache[0] || (_cache[0] = vue.createElementVNode("div", { class: "agenda-header" }, [
|
|
658
658
|
vue.createElementVNode("div", { class: "time-column" }, " Time "),
|
|
659
659
|
vue.createElementVNode("div", { class: "event-column" }, " Event ")
|
|
@@ -674,7 +674,7 @@ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
|
|
|
674
674
|
"data-date": event.start_time,
|
|
675
675
|
onClick: vue.withModifiers(($event) => handleEventSelection(event, $event), ["stop"])
|
|
676
676
|
}, [
|
|
677
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
677
|
+
vue.createElementVNode("div", _hoisted_3$D, [
|
|
678
678
|
vue.createElementVNode("div", _hoisted_4$r, vue.toDisplayString(vue.unref(formatDate)(event.start_time, { fmt: "HH:mm" })), 1),
|
|
679
679
|
vue.createElementVNode("div", _hoisted_5$q, [
|
|
680
680
|
vue.createElementVNode("div", _hoisted_6$n, vue.toDisplayString(event.title), 1),
|
|
@@ -683,17 +683,17 @@ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
|
|
|
683
683
|
}, vue.toDisplayString(event.dayLabel), 3)
|
|
684
684
|
])
|
|
685
685
|
])
|
|
686
|
-
], 12, _hoisted_2$
|
|
686
|
+
], 12, _hoisted_2$J);
|
|
687
687
|
}), 128))
|
|
688
688
|
], 512)
|
|
689
689
|
]);
|
|
690
690
|
};
|
|
691
691
|
}
|
|
692
692
|
});
|
|
693
|
-
const AgendaView = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
694
|
-
const _hoisted_1$
|
|
695
|
-
const _hoisted_2$
|
|
696
|
-
const _hoisted_3$
|
|
693
|
+
const AgendaView = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-1e2b483b"]]);
|
|
694
|
+
const _hoisted_1$X = { class: "w-100p overflow-hidden m_overflow h-100p grid" };
|
|
695
|
+
const _hoisted_2$I = { class: "border-bottom me-1 txt-center p-05 dayGrid" };
|
|
696
|
+
const _hoisted_3$C = { class: "overflow h-100p pe-05" };
|
|
697
697
|
const _hoisted_4$q = { class: "time-column" };
|
|
698
698
|
const _hoisted_5$p = { class: "events-column" };
|
|
699
699
|
const _hoisted_6$m = ["onClick"];
|
|
@@ -703,7 +703,7 @@ const _hoisted_9$7 = { class: "event-time opacity-8" };
|
|
|
703
703
|
const _hoisted_10$6 = { class: "color-primary txt-12 p-025" };
|
|
704
704
|
const slotHeight$1 = 60;
|
|
705
705
|
const slotDuration$1 = 60;
|
|
706
|
-
const _sfc_main$
|
|
706
|
+
const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
|
|
707
707
|
__name: "DayView",
|
|
708
708
|
props: {
|
|
709
709
|
events: {},
|
|
@@ -837,12 +837,12 @@ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
|
|
|
837
837
|
}
|
|
838
838
|
});
|
|
839
839
|
return (_ctx, _cache) => {
|
|
840
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
841
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
840
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$X, [
|
|
841
|
+
vue.createElementVNode("div", _hoisted_2$I, [
|
|
842
842
|
_cache[0] || (_cache[0] = vue.createElementVNode("div", null, null, -1)),
|
|
843
843
|
vue.createElementVNode("div", null, vue.toDisplayString(vue.unref(formatDate)(_ctx.startDate)), 1)
|
|
844
844
|
]),
|
|
845
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
845
|
+
vue.createElementVNode("div", _hoisted_3$C, [
|
|
846
846
|
vue.createElementVNode("div", {
|
|
847
847
|
class: "time-slots dayGrid border-end relative",
|
|
848
848
|
onMousedown: handleMouseDown
|
|
@@ -902,10 +902,10 @@ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
|
|
|
902
902
|
};
|
|
903
903
|
}
|
|
904
904
|
});
|
|
905
|
-
const DayView = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
906
|
-
const _hoisted_1$
|
|
907
|
-
const _hoisted_2$
|
|
908
|
-
const _hoisted_3$
|
|
905
|
+
const DayView = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-8b1a770f"]]);
|
|
906
|
+
const _hoisted_1$W = { class: "month-view" };
|
|
907
|
+
const _hoisted_2$H = { class: "month-header" };
|
|
908
|
+
const _hoisted_3$B = { class: "month-grid" };
|
|
909
909
|
const _hoisted_4$p = { class: "day-number" };
|
|
910
910
|
const _hoisted_5$o = { class: "day-events" };
|
|
911
911
|
const _hoisted_6$l = {
|
|
@@ -915,7 +915,7 @@ const _hoisted_6$l = {
|
|
|
915
915
|
const _hoisted_7$g = ["onClick"];
|
|
916
916
|
const _hoisted_8$a = { class: "event-title" };
|
|
917
917
|
const _hoisted_9$6 = { class: "event-time" };
|
|
918
|
-
const _sfc_main$
|
|
918
|
+
const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
|
|
919
919
|
__name: "MonthView",
|
|
920
920
|
props: {
|
|
921
921
|
events: {},
|
|
@@ -989,8 +989,8 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
|
|
|
989
989
|
}
|
|
990
990
|
}
|
|
991
991
|
return (_ctx, _cache) => {
|
|
992
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
993
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
992
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$W, [
|
|
993
|
+
vue.createElementVNode("div", _hoisted_2$H, [
|
|
994
994
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(weekDays.value, (day) => {
|
|
995
995
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
996
996
|
key: day,
|
|
@@ -998,7 +998,7 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
|
|
|
998
998
|
}, vue.toDisplayString(day), 1);
|
|
999
999
|
}), 128))
|
|
1000
1000
|
]),
|
|
1001
|
-
vue.createElementVNode("div", _hoisted_3$
|
|
1001
|
+
vue.createElementVNode("div", _hoisted_3$B, [
|
|
1002
1002
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(currentMonth.value, (day) => {
|
|
1003
1003
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
1004
1004
|
key: day.date.toISOString(),
|
|
@@ -1031,10 +1031,10 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1031
1031
|
};
|
|
1032
1032
|
}
|
|
1033
1033
|
});
|
|
1034
|
-
const MonthView = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1035
|
-
const _hoisted_1$
|
|
1036
|
-
const _hoisted_2$
|
|
1037
|
-
const _hoisted_3$
|
|
1034
|
+
const MonthView = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-0b1117c4"]]);
|
|
1035
|
+
const _hoisted_1$V = { class: "w-100p overflow-hidden m_overflow h-100p grid" };
|
|
1036
|
+
const _hoisted_2$G = { class: "overflow h-100p pe-05" };
|
|
1037
|
+
const _hoisted_3$A = ["onMousedown"];
|
|
1038
1038
|
const _hoisted_4$o = ["onClick"];
|
|
1039
1039
|
const _hoisted_5$n = { class: "overflow-hidden color-white p-025 txt12 h-100p" };
|
|
1040
1040
|
const _hoisted_6$k = { class: "white-space ellipsis-1" };
|
|
@@ -1042,7 +1042,7 @@ const _hoisted_7$f = { class: "txt10 opacity-8 user-select-none" };
|
|
|
1042
1042
|
const _hoisted_8$9 = { class: "color-primary txt-12 p-025" };
|
|
1043
1043
|
const slotHeight = 60;
|
|
1044
1044
|
const slotDuration = 60;
|
|
1045
|
-
const _sfc_main$
|
|
1045
|
+
const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
|
|
1046
1046
|
__name: "WeekView",
|
|
1047
1047
|
props: {
|
|
1048
1048
|
events: { default: () => [] },
|
|
@@ -1296,7 +1296,7 @@ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1296
1296
|
}
|
|
1297
1297
|
});
|
|
1298
1298
|
return (_ctx, _cache) => {
|
|
1299
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
1299
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$V, [
|
|
1300
1300
|
vue.createElementVNode("div", {
|
|
1301
1301
|
ref_key: "calendarGrid",
|
|
1302
1302
|
ref: calendarGrid,
|
|
@@ -1318,7 +1318,7 @@ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1318
1318
|
]);
|
|
1319
1319
|
}), 128))
|
|
1320
1320
|
], 512),
|
|
1321
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
1321
|
+
vue.createElementVNode("div", _hoisted_2$G, [
|
|
1322
1322
|
vue.createElementVNode("div", {
|
|
1323
1323
|
ref_key: "dayColumnsContainer",
|
|
1324
1324
|
ref: dayColumnsContainer,
|
|
@@ -1373,7 +1373,7 @@ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1373
1373
|
])
|
|
1374
1374
|
], 44, _hoisted_4$o);
|
|
1375
1375
|
}), 128))
|
|
1376
|
-
], 40, _hoisted_3$
|
|
1376
|
+
], 40, _hoisted_3$A);
|
|
1377
1377
|
}), 128)),
|
|
1378
1378
|
dragState.value.isDragging && dragState.value.start && dragState.value.end ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
1379
1379
|
key: 1,
|
|
@@ -1394,12 +1394,12 @@ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1394
1394
|
};
|
|
1395
1395
|
}
|
|
1396
1396
|
});
|
|
1397
|
-
const WeekView = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1398
|
-
const _hoisted_1$
|
|
1399
|
-
const _hoisted_2$
|
|
1400
|
-
const _hoisted_3$
|
|
1397
|
+
const WeekView = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-2d5bca17"]]);
|
|
1398
|
+
const _hoisted_1$U = { class: "calendar" };
|
|
1399
|
+
const _hoisted_2$F = { class: "flex m_block m_pb-1" };
|
|
1400
|
+
const _hoisted_3$z = { class: "txt-light my-0" };
|
|
1401
1401
|
const _hoisted_4$n = { class: "ms-auto flex gap-025" };
|
|
1402
|
-
const _sfc_main$
|
|
1402
|
+
const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
|
|
1403
1403
|
__name: "Index",
|
|
1404
1404
|
props: {
|
|
1405
1405
|
events: { default: () => [] },
|
|
@@ -1491,9 +1491,9 @@ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1491
1491
|
emit2("ready", state2.value);
|
|
1492
1492
|
});
|
|
1493
1493
|
return (_ctx, _cache) => {
|
|
1494
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
1495
|
-
vue.createElementVNode("div", _hoisted_2$
|
|
1496
|
-
vue.createElementVNode("h3", _hoisted_3$
|
|
1494
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$U, [
|
|
1495
|
+
vue.createElementVNode("div", _hoisted_2$F, [
|
|
1496
|
+
vue.createElementVNode("h3", _hoisted_3$z, [
|
|
1497
1497
|
vue.createElementVNode("b", null, vue.toDisplayString(vue.unref(fmtDate)(currentDate.value, { fmt: "MMMM" })), 1),
|
|
1498
1498
|
vue.createTextVNode(" " + vue.toDisplayString(vue.unref(fmtDate)(currentDate.value, { fmt: "YYYY" })), 1)
|
|
1499
1499
|
]),
|
|
@@ -1569,12 +1569,12 @@ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1569
1569
|
};
|
|
1570
1570
|
}
|
|
1571
1571
|
});
|
|
1572
|
-
const Index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1573
|
-
const _hoisted_1$
|
|
1572
|
+
const Index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-840b6594"]]);
|
|
1573
|
+
const _hoisted_1$T = {
|
|
1574
1574
|
key: 0,
|
|
1575
1575
|
class: "card_label"
|
|
1576
1576
|
};
|
|
1577
|
-
const _sfc_main$
|
|
1577
|
+
const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
|
|
1578
1578
|
__name: "Card",
|
|
1579
1579
|
props: {
|
|
1580
1580
|
label: {},
|
|
@@ -1603,7 +1603,7 @@ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1603
1603
|
}])
|
|
1604
1604
|
}, {
|
|
1605
1605
|
default: vue.withCtx(() => [
|
|
1606
|
-
_ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
1606
|
+
_ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$T, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
|
|
1607
1607
|
vue.renderSlot(_ctx.$slots, "default")
|
|
1608
1608
|
]),
|
|
1609
1609
|
_: 3
|
|
@@ -1613,14 +1613,14 @@ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
|
|
|
1613
1613
|
};
|
|
1614
1614
|
}
|
|
1615
1615
|
});
|
|
1616
|
-
const _hoisted_1$
|
|
1617
|
-
const _hoisted_2$
|
|
1616
|
+
const _hoisted_1$S = { class: "carousel-wrapper" };
|
|
1617
|
+
const _hoisted_2$E = {
|
|
1618
1618
|
key: 0,
|
|
1619
1619
|
class: "carousel-dots"
|
|
1620
1620
|
};
|
|
1621
|
-
const _hoisted_3$
|
|
1621
|
+
const _hoisted_3$y = ["aria-label", "onClick"];
|
|
1622
1622
|
const dragThreshold = 10;
|
|
1623
|
-
const _sfc_main$
|
|
1623
|
+
const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
1624
1624
|
__name: "Carousel2",
|
|
1625
1625
|
props: {
|
|
1626
1626
|
duration: { default: 200 },
|
|
@@ -2259,7 +2259,7 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2259
2259
|
resumeAutoplay
|
|
2260
2260
|
});
|
|
2261
2261
|
return (_ctx, _cache) => {
|
|
2262
|
-
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$
|
|
2262
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$S, [
|
|
2263
2263
|
vue.createElementVNode("div", {
|
|
2264
2264
|
ref_key: "carouselRef",
|
|
2265
2265
|
ref: carouselRef,
|
|
@@ -2267,7 +2267,7 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2267
2267
|
}, [
|
|
2268
2268
|
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
2269
2269
|
], 512),
|
|
2270
|
-
props2.dots && totalDots.value > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$
|
|
2270
|
+
props2.dots && totalDots.value > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$E, [
|
|
2271
2271
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(totalDots.value, (i2) => {
|
|
2272
2272
|
return vue.openBlock(), vue.createElementBlock("button", {
|
|
2273
2273
|
key: i2,
|
|
@@ -2275,492 +2275,14 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
|
|
|
2275
2275
|
class: vue.normalizeClass(["carousel-dot", [{ active: i2 - 1 === currentSlide.value }]]),
|
|
2276
2276
|
"aria-label": `Go to slide ${i2}`,
|
|
2277
2277
|
onClick: ($event) => goTo(i2 - 1)
|
|
2278
|
-
}, null, 10, _hoisted_3$
|
|
2278
|
+
}, null, 10, _hoisted_3$y);
|
|
2279
2279
|
}), 128))
|
|
2280
2280
|
])) : vue.createCommentVNode("", true)
|
|
2281
2281
|
]);
|
|
2282
2282
|
};
|
|
2283
2283
|
}
|
|
2284
2284
|
});
|
|
2285
|
-
const
|
|
2286
|
-
const _hoisted_1$S = ["dir"];
|
|
2287
|
-
const _hoisted_2$E = {
|
|
2288
|
-
key: 0,
|
|
2289
|
-
class: "dots"
|
|
2290
|
-
};
|
|
2291
|
-
const _hoisted_3$y = ["onClick"];
|
|
2292
|
-
const GAP_PERCENT = 1;
|
|
2293
|
-
const VELOCITY_SAMPLE_DURATION = 100;
|
|
2294
|
-
const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
|
|
2295
|
-
__name: "Carousel",
|
|
2296
|
-
props: {
|
|
2297
|
-
autoHeight: { type: Boolean, default: false },
|
|
2298
|
-
allowScroll: { type: Boolean, default: true },
|
|
2299
|
-
freeDrag: { type: Boolean, default: true },
|
|
2300
|
-
items: { type: Number, default: 4 },
|
|
2301
|
-
index: { type: Number, default: 0 },
|
|
2302
|
-
rtl: { type: Boolean, default: false },
|
|
2303
|
-
autoplay: { type: Boolean, default: false },
|
|
2304
|
-
autoPlaySpeed: { type: Number, default: 4e3 },
|
|
2305
|
-
dots: { type: Boolean, default: false }
|
|
2306
|
-
},
|
|
2307
|
-
emits: ["update:index"],
|
|
2308
|
-
setup(__props, { expose: __expose, emit: __emit }) {
|
|
2309
|
-
const props2 = __props;
|
|
2310
|
-
const emit2 = __emit;
|
|
2311
|
-
const ANIMATION_TIMINGS = {
|
|
2312
|
-
TOUCH: 150,
|
|
2313
|
-
MOBILE: 420,
|
|
2314
|
-
DESKTOP: 840,
|
|
2315
|
-
MAX_DURATION: 300,
|
|
2316
|
-
BASE_DURATION: 150,
|
|
2317
|
-
DURATION_PER_PANEL: 50
|
|
2318
|
-
};
|
|
2319
|
-
const THRESHOLDS = {
|
|
2320
|
-
DRAG: 20,
|
|
2321
|
-
TOUCH: 5,
|
|
2322
|
-
SWIPE_PERCENT: 0.1,
|
|
2323
|
-
VELOCITY: 0.15,
|
|
2324
|
-
WHEEL_PERCENT: 0.3
|
|
2325
|
-
};
|
|
2326
|
-
const bglSlider = vue.ref();
|
|
2327
|
-
const isSliderAvailable = vue.computed(() => !!bglSlider.value);
|
|
2328
|
-
let itemCount = vue.ref(props2.items);
|
|
2329
|
-
let activeSlideIndex = vue.ref(props2.index);
|
|
2330
|
-
let slideCount = vue.ref(0);
|
|
2331
|
-
let yHeight = vue.ref("auto");
|
|
2332
|
-
let isDragging = vue.ref(false);
|
|
2333
|
-
let isPressed = vue.ref(false);
|
|
2334
|
-
let startX = vue.ref(0);
|
|
2335
|
-
let startY = vue.ref(0);
|
|
2336
|
-
let translateX2 = vue.ref(0);
|
|
2337
|
-
let lastX = vue.ref(0);
|
|
2338
|
-
let lastTime = vue.ref(0);
|
|
2339
|
-
let accumulatedDeltaX = vue.ref(0);
|
|
2340
|
-
let wheelTimeout;
|
|
2341
|
-
let autoPlayInterval;
|
|
2342
|
-
let velocityTracker = vue.ref([]);
|
|
2343
|
-
function getAverageVelocity() {
|
|
2344
|
-
if (velocityTracker.value.length < 2) return 0;
|
|
2345
|
-
const now = Date.now();
|
|
2346
|
-
const recentSamples = velocityTracker.value.filter((sample) => now - sample.time < VELOCITY_SAMPLE_DURATION);
|
|
2347
|
-
if (recentSamples.length < 2) return 0;
|
|
2348
|
-
const first = recentSamples[0];
|
|
2349
|
-
const last = recentSamples[recentSamples.length - 1];
|
|
2350
|
-
const timeDelta2 = last.time - first.time;
|
|
2351
|
-
if (timeDelta2 === 0) return 0;
|
|
2352
|
-
return (last.position - first.position) / timeDelta2;
|
|
2353
|
-
}
|
|
2354
|
-
function getCurrentTransform() {
|
|
2355
|
-
if (!bglSlider.value) return 0;
|
|
2356
|
-
const { transform } = bglSlider.value.style;
|
|
2357
|
-
const value = transform ? Number.parseInt(transform.replace(/[^-\d.]/g, "")) : 0;
|
|
2358
|
-
return props2.rtl ? -value : value;
|
|
2359
|
-
}
|
|
2360
|
-
function setTransform(value) {
|
|
2361
|
-
if (!bglSlider.value) return;
|
|
2362
|
-
const rtlValue = props2.rtl ? -value : value;
|
|
2363
|
-
bglSlider.value.style.transform = `translateX(${rtlValue}px)`;
|
|
2364
|
-
}
|
|
2365
|
-
function easeInOutQuad(t) {
|
|
2366
|
-
return t < 0.5 ? 2 * t * t : -1 + (4 - 2 * t) * t;
|
|
2367
|
-
}
|
|
2368
|
-
function animateTransform(start, end, duration) {
|
|
2369
|
-
const startTime = performance.now();
|
|
2370
|
-
function animate(currentTime) {
|
|
2371
|
-
if (!isSliderAvailable.value) return;
|
|
2372
|
-
const timeElapsed = currentTime - startTime;
|
|
2373
|
-
const progress = Math.min(timeElapsed / duration, 1);
|
|
2374
|
-
const currentTransform = start + (end - start) * easeInOutQuad(progress);
|
|
2375
|
-
setTransform(currentTransform);
|
|
2376
|
-
if (progress < 1) requestAnimationFrame(animate);
|
|
2377
|
-
}
|
|
2378
|
-
requestAnimationFrame(animate);
|
|
2379
|
-
}
|
|
2380
|
-
function goToSlide(index2, isTouchNav = false) {
|
|
2381
|
-
countSlides();
|
|
2382
|
-
if (!isSliderAvailable.value || !bglSlider.value || index2 < 0 || index2 >= slideCount.value) return;
|
|
2383
|
-
const containerWidth = bglSlider.value.offsetWidth;
|
|
2384
|
-
const gapWidth = containerWidth * GAP_PERCENT / 100;
|
|
2385
|
-
const totalGapWidth = (itemCount.value - 1) * gapWidth;
|
|
2386
|
-
const singleItemWidth = (containerWidth - totalGapWidth) / itemCount.value;
|
|
2387
|
-
const gapsBeforeSlide = index2 * gapWidth;
|
|
2388
|
-
const targetTransform = -(singleItemWidth * index2 + gapsBeforeSlide);
|
|
2389
|
-
const currentTransform = getCurrentTransform();
|
|
2390
|
-
const duration = isTouchNav ? ANIMATION_TIMINGS.TOUCH : window.innerWidth < 600 ? ANIMATION_TIMINGS.MOBILE : ANIMATION_TIMINGS.DESKTOP;
|
|
2391
|
-
animateTransform(currentTransform, targetTransform, duration);
|
|
2392
|
-
activeSlideIndex.value = index2;
|
|
2393
|
-
updateHeight();
|
|
2394
|
-
}
|
|
2395
|
-
function next() {
|
|
2396
|
-
if (!isSliderAvailable.value) return;
|
|
2397
|
-
countSlides();
|
|
2398
|
-
const nextIndex = props2.rtl ? (activeSlideIndex.value - 1 + slideCount.value) % slideCount.value : (activeSlideIndex.value + 1) % slideCount.value;
|
|
2399
|
-
goToSlide(nextIndex);
|
|
2400
|
-
}
|
|
2401
|
-
function prev() {
|
|
2402
|
-
if (!isSliderAvailable.value) return;
|
|
2403
|
-
countSlides();
|
|
2404
|
-
const prevIndex = props2.rtl ? (activeSlideIndex.value + 1) % slideCount.value : (activeSlideIndex.value - 1 + slideCount.value) % slideCount.value;
|
|
2405
|
-
goToSlide(prevIndex);
|
|
2406
|
-
}
|
|
2407
|
-
function calcHeight() {
|
|
2408
|
-
if (!isSliderAvailable.value || !bglSlider.value) return;
|
|
2409
|
-
try {
|
|
2410
|
-
const activeSlide = bglSlider.value.children[activeSlideIndex.value];
|
|
2411
|
-
if (!activeSlide) return;
|
|
2412
|
-
const children2 = Array.from(activeSlide.children);
|
|
2413
|
-
const totalHeight = children2.reduce((sum, el) => sum + el.clientHeight, 0);
|
|
2414
|
-
yHeight.value = `${totalHeight}px`;
|
|
2415
|
-
} catch (error) {
|
|
2416
|
-
console.error("Error calculating height:", error);
|
|
2417
|
-
}
|
|
2418
|
-
}
|
|
2419
|
-
function updateHeight() {
|
|
2420
|
-
if (!props2.autoHeight) return;
|
|
2421
|
-
setTimeout(calcHeight, 200);
|
|
2422
|
-
}
|
|
2423
|
-
function countSlides() {
|
|
2424
|
-
if (!isSliderAvailable.value || !bglSlider.value) return;
|
|
2425
|
-
slideCount.value = bglSlider.value.children.length;
|
|
2426
|
-
}
|
|
2427
|
-
function handleSlideChange() {
|
|
2428
|
-
if (props2.index !== activeSlideIndex.value) {
|
|
2429
|
-
emit2("update:index", activeSlideIndex.value);
|
|
2430
|
-
}
|
|
2431
|
-
}
|
|
2432
|
-
function handleResize() {
|
|
2433
|
-
if (!isSliderAvailable.value || !bglSlider.value) return;
|
|
2434
|
-
itemCount.value = window.innerWidth < 600 ? 1 : window.innerWidth < 991 ? Math.min(props2.items, 2) : props2.items;
|
|
2435
|
-
const containerWidth = bglSlider.value.offsetWidth;
|
|
2436
|
-
const gapWidth = containerWidth * GAP_PERCENT / 100;
|
|
2437
|
-
const totalGapWidth = (itemCount.value - 1) * gapWidth;
|
|
2438
|
-
const singleItemWidth = (containerWidth - totalGapWidth) / itemCount.value;
|
|
2439
|
-
const gapsBeforeSlide = activeSlideIndex.value * gapWidth;
|
|
2440
|
-
const targetTransform = -(singleItemWidth * activeSlideIndex.value + gapsBeforeSlide);
|
|
2441
|
-
setTransform(targetTransform);
|
|
2442
|
-
updateHeight();
|
|
2443
|
-
}
|
|
2444
|
-
function clearAutoplay() {
|
|
2445
|
-
if (autoPlayInterval) clearInterval(autoPlayInterval);
|
|
2446
|
-
}
|
|
2447
|
-
function preventDefaultClick(e) {
|
|
2448
|
-
if (isDragging.value) {
|
|
2449
|
-
e.preventDefault();
|
|
2450
|
-
e.stopPropagation();
|
|
2451
|
-
}
|
|
2452
|
-
}
|
|
2453
|
-
async function disableDrag() {
|
|
2454
|
-
await vue.nextTick();
|
|
2455
|
-
if (!isSliderAvailable.value || !bglSlider.value) return;
|
|
2456
|
-
const elements = Array.from(bglSlider.value.querySelectorAll("img, a"));
|
|
2457
|
-
elements.forEach((el) => {
|
|
2458
|
-
el.setAttribute("draggable", "false");
|
|
2459
|
-
el.removeEventListener("click", preventDefaultClick, true);
|
|
2460
|
-
el.addEventListener("click", preventDefaultClick, true);
|
|
2461
|
-
});
|
|
2462
|
-
const slides = Array.from(bglSlider.value.children);
|
|
2463
|
-
slides.forEach((slide) => {
|
|
2464
|
-
const element = slide;
|
|
2465
|
-
element.setAttribute("draggable", "false");
|
|
2466
|
-
element.removeEventListener("click", preventDefaultClick, true);
|
|
2467
|
-
element.addEventListener("click", preventDefaultClick, true);
|
|
2468
|
-
});
|
|
2469
|
-
}
|
|
2470
|
-
function startDrag(e) {
|
|
2471
|
-
e.stopPropagation();
|
|
2472
|
-
if (e.button !== 0 || !props2.freeDrag || !isSliderAvailable.value) return;
|
|
2473
|
-
clearAutoplay();
|
|
2474
|
-
startX.value = e.pageX;
|
|
2475
|
-
translateX2.value = getCurrentTransform();
|
|
2476
|
-
isPressed.value = true;
|
|
2477
|
-
isDragging.value = false;
|
|
2478
|
-
document.addEventListener("mousemove", onDrag);
|
|
2479
|
-
document.addEventListener("mouseup", endDrag);
|
|
2480
|
-
}
|
|
2481
|
-
function onDrag(e) {
|
|
2482
|
-
if (!isSliderAvailable.value || !bglSlider.value || !isPressed.value) return;
|
|
2483
|
-
const x2 = e.pageX;
|
|
2484
|
-
const distance = x2 - startX.value;
|
|
2485
|
-
if (Math.abs(distance) > THRESHOLDS.DRAG) isDragging.value = true;
|
|
2486
|
-
if (isDragging.value) {
|
|
2487
|
-
const newTranslate = translateX2.value + (props2.rtl ? -distance : distance);
|
|
2488
|
-
const maxTranslate = 0;
|
|
2489
|
-
const containerWidth = bglSlider.value.offsetWidth;
|
|
2490
|
-
const gapWidth = containerWidth * GAP_PERCENT / 100;
|
|
2491
|
-
const totalGapWidth = (itemCount.value - 1) * gapWidth;
|
|
2492
|
-
const singleItemWidth = (containerWidth - totalGapWidth) / itemCount.value;
|
|
2493
|
-
const minTranslate = -(singleItemWidth * (slideCount.value - 1) + gapWidth * (slideCount.value - 1));
|
|
2494
|
-
const boundedTranslate = Math.max(minTranslate, Math.min(maxTranslate, newTranslate));
|
|
2495
|
-
setTransform(boundedTranslate);
|
|
2496
|
-
}
|
|
2497
|
-
}
|
|
2498
|
-
function endDrag() {
|
|
2499
|
-
isPressed.value = false;
|
|
2500
|
-
document.removeEventListener("mousemove", onDrag);
|
|
2501
|
-
document.removeEventListener("mouseup", endDrag);
|
|
2502
|
-
if (!isSliderAvailable.value || !bglSlider.value) return;
|
|
2503
|
-
const currentTransform = getCurrentTransform();
|
|
2504
|
-
const singleItemWidth = bglSlider.value.offsetWidth / itemCount.value;
|
|
2505
|
-
const currentPanel = -currentTransform / singleItemWidth;
|
|
2506
|
-
const totalDragDistance = currentTransform - translateX2.value;
|
|
2507
|
-
const dragPercentage = Math.abs(totalDragDistance) / singleItemWidth;
|
|
2508
|
-
let targetPanel = currentPanel;
|
|
2509
|
-
if (dragPercentage > THRESHOLDS.SWIPE_PERCENT) {
|
|
2510
|
-
const distnace = totalDragDistance > 0 ? -1 : 1;
|
|
2511
|
-
targetPanel = Math.floor(currentPanel) + (distnace < 0 ? 0 : 1);
|
|
2512
|
-
} else {
|
|
2513
|
-
targetPanel = Math.round(currentPanel);
|
|
2514
|
-
}
|
|
2515
|
-
targetPanel = Math.max(0, Math.min(targetPanel, slideCount.value - 1));
|
|
2516
|
-
goToSlide(targetPanel, true);
|
|
2517
|
-
if (isDragging.value) {
|
|
2518
|
-
setTimeout(() => {
|
|
2519
|
-
isDragging.value = false;
|
|
2520
|
-
}, 10);
|
|
2521
|
-
}
|
|
2522
|
-
}
|
|
2523
|
-
let hasScrollDirectionLock = vue.ref(false);
|
|
2524
|
-
let isHorizontalScroll = vue.ref(false);
|
|
2525
|
-
function onTouchStart(e) {
|
|
2526
|
-
if (!props2.freeDrag || !isSliderAvailable.value) return;
|
|
2527
|
-
const target = e.target;
|
|
2528
|
-
const isInteractive = target.matches('button, a, input, select, textarea, [role="button"]') || target.closest('button, a, input, select, textarea, [role="button"]');
|
|
2529
|
-
if (!isInteractive) {
|
|
2530
|
-
clearAutoplay();
|
|
2531
|
-
const touch = e.touches[0];
|
|
2532
|
-
startX.value = touch.pageX;
|
|
2533
|
-
startY.value = touch.pageY;
|
|
2534
|
-
lastX.value = touch.pageX;
|
|
2535
|
-
lastTime.value = Date.now();
|
|
2536
|
-
translateX2.value = getCurrentTransform();
|
|
2537
|
-
velocityTracker.value = [{ time: lastTime.value, position: lastX.value }];
|
|
2538
|
-
isPressed.value = true;
|
|
2539
|
-
hasScrollDirectionLock.value = false;
|
|
2540
|
-
if (bglSlider.value) {
|
|
2541
|
-
bglSlider.value.style.transition = "none";
|
|
2542
|
-
}
|
|
2543
|
-
}
|
|
2544
|
-
}
|
|
2545
|
-
function onTouchMove(e) {
|
|
2546
|
-
if (!isSliderAvailable.value || !bglSlider.value || !isPressed.value) return;
|
|
2547
|
-
const touch = e.touches[0];
|
|
2548
|
-
const x2 = touch.pageX;
|
|
2549
|
-
const y2 = touch.pageY;
|
|
2550
|
-
const deltaX = x2 - startX.value;
|
|
2551
|
-
const deltaY = y2 - startY.value;
|
|
2552
|
-
if (!hasScrollDirectionLock.value) {
|
|
2553
|
-
if (Math.abs(deltaX) > 5 || Math.abs(deltaY) > 5) {
|
|
2554
|
-
isHorizontalScroll.value = Math.abs(deltaX) > Math.abs(deltaY);
|
|
2555
|
-
hasScrollDirectionLock.value = true;
|
|
2556
|
-
if (!isHorizontalScroll.value) {
|
|
2557
|
-
isPressed.value = false;
|
|
2558
|
-
return;
|
|
2559
|
-
}
|
|
2560
|
-
}
|
|
2561
|
-
return;
|
|
2562
|
-
}
|
|
2563
|
-
if (!isHorizontalScroll.value) return;
|
|
2564
|
-
const now = Date.now();
|
|
2565
|
-
velocityTracker.value.push({ time: now, position: x2 });
|
|
2566
|
-
lastX.value = x2;
|
|
2567
|
-
const cutoffTime = now - VELOCITY_SAMPLE_DURATION;
|
|
2568
|
-
velocityTracker.value = velocityTracker.value.filter((sample) => sample.time >= cutoffTime);
|
|
2569
|
-
if (Math.abs(deltaX) > THRESHOLDS.TOUCH) {
|
|
2570
|
-
isDragging.value = true;
|
|
2571
|
-
e.preventDefault();
|
|
2572
|
-
}
|
|
2573
|
-
if (isDragging.value) {
|
|
2574
|
-
const containerWidth = bglSlider.value.offsetWidth;
|
|
2575
|
-
const gapWidth = containerWidth * GAP_PERCENT / 100;
|
|
2576
|
-
const totalGapWidth = (itemCount.value - 1) * gapWidth;
|
|
2577
|
-
const singleItemWidth = (containerWidth - totalGapWidth) / itemCount.value;
|
|
2578
|
-
const totalWidth = singleItemWidth * slideCount.value + gapWidth * (slideCount.value - 1);
|
|
2579
|
-
let newTranslate = translateX2.value + (props2.rtl ? -deltaX : deltaX);
|
|
2580
|
-
if (newTranslate > 0) {
|
|
2581
|
-
newTranslate = newTranslate * 0.5;
|
|
2582
|
-
} else if (newTranslate < -totalWidth + containerWidth) {
|
|
2583
|
-
const overDrag = -totalWidth + containerWidth - newTranslate;
|
|
2584
|
-
newTranslate = -totalWidth + containerWidth - overDrag * 0.5;
|
|
2585
|
-
}
|
|
2586
|
-
setTransform(newTranslate);
|
|
2587
|
-
}
|
|
2588
|
-
}
|
|
2589
|
-
function onTouchEnd() {
|
|
2590
|
-
if (!isSliderAvailable.value || !bglSlider.value || !isPressed.value || !isHorizontalScroll.value) {
|
|
2591
|
-
isPressed.value = false;
|
|
2592
|
-
hasScrollDirectionLock.value = false;
|
|
2593
|
-
return;
|
|
2594
|
-
}
|
|
2595
|
-
const containerWidth = bglSlider.value.offsetWidth;
|
|
2596
|
-
const gapWidth = containerWidth * GAP_PERCENT / 100;
|
|
2597
|
-
const totalGapWidth = (itemCount.value - 1) * gapWidth;
|
|
2598
|
-
const singleItemWidth = (containerWidth - totalGapWidth) / itemCount.value;
|
|
2599
|
-
const totalSlideWidth = singleItemWidth + gapWidth;
|
|
2600
|
-
const currentTransform = getCurrentTransform();
|
|
2601
|
-
let normalizedTransform = currentTransform;
|
|
2602
|
-
if (currentTransform > 0) {
|
|
2603
|
-
normalizedTransform = 0;
|
|
2604
|
-
} else {
|
|
2605
|
-
const minTransform = -(singleItemWidth * (slideCount.value - 1) + gapWidth * (slideCount.value - 1));
|
|
2606
|
-
if (currentTransform < minTransform) {
|
|
2607
|
-
normalizedTransform = minTransform;
|
|
2608
|
-
}
|
|
2609
|
-
}
|
|
2610
|
-
const currentPanel = Math.abs(normalizedTransform / totalSlideWidth);
|
|
2611
|
-
const totalSwipeDistance = lastX.value - startX.value;
|
|
2612
|
-
const swipePercentage = Math.abs(totalSwipeDistance) / totalSlideWidth;
|
|
2613
|
-
const finalVelocity = getAverageVelocity();
|
|
2614
|
-
let targetPanel = currentPanel;
|
|
2615
|
-
let velocityDirection = 0;
|
|
2616
|
-
if (Math.abs(finalVelocity) > THRESHOLDS.VELOCITY) {
|
|
2617
|
-
velocityDirection = finalVelocity < 0 ? 1 : -1;
|
|
2618
|
-
}
|
|
2619
|
-
const isMobile = window.innerWidth < 600;
|
|
2620
|
-
if (swipePercentage > THRESHOLDS.SWIPE_PERCENT || Math.abs(finalVelocity) > THRESHOLDS.VELOCITY) {
|
|
2621
|
-
const direction = swipePercentage > THRESHOLDS.SWIPE_PERCENT ? totalSwipeDistance > 0 ? -1 : 1 : velocityDirection;
|
|
2622
|
-
const rtlDirection = props2.rtl ? -direction : direction;
|
|
2623
|
-
if (isMobile) {
|
|
2624
|
-
targetPanel = activeSlideIndex.value + rtlDirection;
|
|
2625
|
-
} else {
|
|
2626
|
-
targetPanel = Math.round(currentPanel) + rtlDirection;
|
|
2627
|
-
}
|
|
2628
|
-
} else {
|
|
2629
|
-
targetPanel = isMobile ? activeSlideIndex.value : Math.round(currentPanel);
|
|
2630
|
-
}
|
|
2631
|
-
targetPanel = Math.max(0, Math.min(targetPanel, slideCount.value - 1));
|
|
2632
|
-
activeSlideIndex.value = targetPanel;
|
|
2633
|
-
const distance = Math.abs(targetPanel - currentPanel);
|
|
2634
|
-
const velocityFactor = Math.min(Math.abs(finalVelocity) * 1e3, 1);
|
|
2635
|
-
const duration = Math.min(
|
|
2636
|
-
ANIMATION_TIMINGS.BASE_DURATION * (1 - velocityFactor * 0.5) + distance * ANIMATION_TIMINGS.DURATION_PER_PANEL,
|
|
2637
|
-
ANIMATION_TIMINGS.MAX_DURATION
|
|
2638
|
-
);
|
|
2639
|
-
bglSlider.value.style.transition = `transform ${duration}ms cubic-bezier(0.4, 0, 0.2, 1)`;
|
|
2640
|
-
const gapsBeforeSlide = targetPanel * gapWidth;
|
|
2641
|
-
const targetTransform = -(singleItemWidth * targetPanel + gapsBeforeSlide);
|
|
2642
|
-
setTransform(targetTransform);
|
|
2643
|
-
setTimeout(() => {
|
|
2644
|
-
if (bglSlider.value) bglSlider.value.style.transition = "none";
|
|
2645
|
-
}, duration);
|
|
2646
|
-
velocityTracker.value = [];
|
|
2647
|
-
isDragging.value = false;
|
|
2648
|
-
hasScrollDirectionLock.value = false;
|
|
2649
|
-
}
|
|
2650
|
-
function onWheel(e) {
|
|
2651
|
-
if (!props2.allowScroll || !isSliderAvailable.value || !bglSlider.value || isPressed.value || isDragging.value) return;
|
|
2652
|
-
const isHorizontal = Math.abs(e.deltaX) > Math.abs(e.deltaY);
|
|
2653
|
-
if (!isHorizontal) return;
|
|
2654
|
-
clearAutoplay();
|
|
2655
|
-
if (wheelTimeout) clearTimeout(wheelTimeout);
|
|
2656
|
-
accumulatedDeltaX.value += props2.rtl ? -e.deltaX : e.deltaX;
|
|
2657
|
-
wheelTimeout = setTimeout(() => {
|
|
2658
|
-
accumulatedDeltaX.value = 0;
|
|
2659
|
-
}, 50);
|
|
2660
|
-
const singleItemWidth = bglSlider.value.offsetWidth / itemCount.value;
|
|
2661
|
-
const moveThreshold = singleItemWidth * THRESHOLDS.WHEEL_PERCENT;
|
|
2662
|
-
if (Math.abs(accumulatedDeltaX.value) > moveThreshold) {
|
|
2663
|
-
const direction = accumulatedDeltaX.value > 0 ? 1 : -1;
|
|
2664
|
-
const nextPanel = Math.max(0, Math.min(activeSlideIndex.value + direction, slideCount.value - 1));
|
|
2665
|
-
if (nextPanel !== activeSlideIndex.value) {
|
|
2666
|
-
goToSlide(nextPanel, true);
|
|
2667
|
-
accumulatedDeltaX.value = 0;
|
|
2668
|
-
}
|
|
2669
|
-
}
|
|
2670
|
-
}
|
|
2671
|
-
vue.onMounted(() => {
|
|
2672
|
-
window.addEventListener("resize", handleResize);
|
|
2673
|
-
updateHeight();
|
|
2674
|
-
handleResize();
|
|
2675
|
-
countSlides();
|
|
2676
|
-
disableDrag();
|
|
2677
|
-
if (bglSlider.value) {
|
|
2678
|
-
slideCount.value = bglSlider.value.children.length;
|
|
2679
|
-
}
|
|
2680
|
-
if (props2.autoplay) {
|
|
2681
|
-
autoPlayInterval = setInterval(next, props2.autoPlaySpeed);
|
|
2682
|
-
}
|
|
2683
|
-
});
|
|
2684
|
-
vue.onUnmounted(() => {
|
|
2685
|
-
if (isSliderAvailable.value && bglSlider.value) {
|
|
2686
|
-
Array.from(bglSlider.value.children).forEach((child) => {
|
|
2687
|
-
const element = child;
|
|
2688
|
-
element.removeEventListener("click", preventDefaultClick);
|
|
2689
|
-
});
|
|
2690
|
-
}
|
|
2691
|
-
window.removeEventListener("resize", handleResize);
|
|
2692
|
-
document.removeEventListener("mousemove", onDrag);
|
|
2693
|
-
document.removeEventListener("mouseup", endDrag);
|
|
2694
|
-
clearAutoplay();
|
|
2695
|
-
if (wheelTimeout) clearTimeout(wheelTimeout);
|
|
2696
|
-
});
|
|
2697
|
-
vue.watch(() => props2.index, (newIndex2) => {
|
|
2698
|
-
goToSlide(newIndex2);
|
|
2699
|
-
});
|
|
2700
|
-
vue.watch(() => activeSlideIndex.value, handleSlideChange);
|
|
2701
|
-
__expose({
|
|
2702
|
-
goToSlide,
|
|
2703
|
-
next,
|
|
2704
|
-
prev,
|
|
2705
|
-
countSlides,
|
|
2706
|
-
clearAutoplay
|
|
2707
|
-
});
|
|
2708
|
-
return (_ctx, _cache) => {
|
|
2709
|
-
return vue.openBlock(), vue.createElementBlock("div", {
|
|
2710
|
-
class: "BglCarousel",
|
|
2711
|
-
dir: __props.rtl ? "rtl" : "ltr"
|
|
2712
|
-
}, [
|
|
2713
|
-
vue.createElementVNode("div", {
|
|
2714
|
-
ref_key: "bglSlider",
|
|
2715
|
-
ref: bglSlider,
|
|
2716
|
-
class: vue.normalizeClass(["bgl-slider", { dragging: vue.unref(isDragging), clicking: vue.unref(isPressed), [`slides-${vue.unref(itemCount)}`]: true, grab: __props.freeDrag && vue.unref(slideCount) > 1, autoHeight: __props.autoHeight }]),
|
|
2717
|
-
style: vue.normalizeStyle({ "--item-count": vue.unref(itemCount), "height": vue.unref(yHeight) }),
|
|
2718
|
-
onMousedown: startDrag,
|
|
2719
|
-
onMouseover: clearAutoplay,
|
|
2720
|
-
onFocusin: clearAutoplay,
|
|
2721
|
-
onTouchstart: onTouchStart,
|
|
2722
|
-
onTouchmove: onTouchMove,
|
|
2723
|
-
onTouchend: onTouchEnd,
|
|
2724
|
-
onWheel
|
|
2725
|
-
}, [
|
|
2726
|
-
vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
2727
|
-
], 38),
|
|
2728
|
-
props2.dots && vue.unref(slideCount) > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$E, [
|
|
2729
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(slideCount), (i2) => {
|
|
2730
|
-
return vue.openBlock(), vue.createElementBlock("span", {
|
|
2731
|
-
key: i2,
|
|
2732
|
-
class: vue.normalizeClass(["dot", { current: vue.unref(activeSlideIndex) === i2 - 1 }]),
|
|
2733
|
-
onClick: ($event) => goToSlide(i2 - 1)
|
|
2734
|
-
}, null, 10, _hoisted_3$y);
|
|
2735
|
-
}), 128))
|
|
2736
|
-
])) : vue.createCommentVNode("", true),
|
|
2737
|
-
vue.createElementVNode("div", {
|
|
2738
|
-
class: vue.normalizeClass(["navigation-buttons", { rtl: __props.rtl }])
|
|
2739
|
-
}, [
|
|
2740
|
-
vue.createElementVNode("span", {
|
|
2741
|
-
class: "prev",
|
|
2742
|
-
onClick: prev
|
|
2743
|
-
}, [
|
|
2744
|
-
vue.renderSlot(_ctx.$slots, "prev", {
|
|
2745
|
-
index: vue.unref(activeSlideIndex),
|
|
2746
|
-
prev
|
|
2747
|
-
}, void 0, true)
|
|
2748
|
-
]),
|
|
2749
|
-
vue.createElementVNode("span", {
|
|
2750
|
-
class: "next",
|
|
2751
|
-
onClick: next
|
|
2752
|
-
}, [
|
|
2753
|
-
vue.renderSlot(_ctx.$slots, "next", {
|
|
2754
|
-
index: vue.unref(activeSlideIndex),
|
|
2755
|
-
next
|
|
2756
|
-
}, void 0, true)
|
|
2757
|
-
])
|
|
2758
|
-
], 2)
|
|
2759
|
-
], 8, _hoisted_1$S);
|
|
2760
|
-
};
|
|
2761
|
-
}
|
|
2762
|
-
});
|
|
2763
|
-
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-406c405d"]]);
|
|
2285
|
+
const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-6de4176c"]]);
|
|
2764
2286
|
function _isPlaceholder(a2) {
|
|
2765
2287
|
return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
|
|
2766
2288
|
}
|
|
@@ -16655,7 +16177,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
|
16655
16177
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$D, [
|
|
16656
16178
|
vue.createElementVNode("label", null, vue.toDisplayString(_ctx.label), 1),
|
|
16657
16179
|
_ctx.required && !storageFiles.value.length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$r)) : vue.createCommentVNode("", true),
|
|
16658
|
-
_ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
16180
|
+
_ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$11), {
|
|
16659
16181
|
key: 1,
|
|
16660
16182
|
outline: "",
|
|
16661
16183
|
class: "flex p-05 gap-1",
|
|
@@ -19899,7 +19421,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
|
19899
19421
|
height: "25px",
|
|
19900
19422
|
class: "mx-1 my-1"
|
|
19901
19423
|
})) : vue.createCommentVNode("", true),
|
|
19902
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
19424
|
+
vue.createVNode(vue.unref(_sfc_main$11), {
|
|
19903
19425
|
class: "p-05",
|
|
19904
19426
|
style: vue.normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" }),
|
|
19905
19427
|
onClick: _cache[9] || (_cache[9] = vue.withModifiers(() => {
|
|
@@ -28539,7 +28061,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
|
28539
28061
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$m, [
|
|
28540
28062
|
_ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$c, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
|
|
28541
28063
|
_ctx.required && !pathKeys.value.length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_3$a)) : vue.createCommentVNode("", true),
|
|
28542
|
-
_ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
28064
|
+
_ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$11), {
|
|
28543
28065
|
key: 2,
|
|
28544
28066
|
outline: "",
|
|
28545
28067
|
class: "flex p-05 gap-1",
|
|
@@ -33416,7 +32938,7 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
|
33416
32938
|
},
|
|
33417
32939
|
setup(__props) {
|
|
33418
32940
|
return (_ctx, _cache) => {
|
|
33419
|
-
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$
|
|
32941
|
+
return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$11), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
|
|
33420
32942
|
default: vue.withCtx(() => [
|
|
33421
32943
|
vue.renderSlot(_ctx.$slots, "brand", {}, void 0, true),
|
|
33422
32944
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.navLinks, (nav, i2) => {
|
|
@@ -33517,7 +33039,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
|
33517
33039
|
icon: "keyboard_arrow_right",
|
|
33518
33040
|
onClick: vue.unref(toggleMenu)
|
|
33519
33041
|
}, null, 8, ["onClick"]),
|
|
33520
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
33042
|
+
vue.createVNode(vue.unref(_sfc_main$11), { class: "py-1 px-05 h-100 flex column gap-05 rounded relative bg-primary font-light overflow-y" }, {
|
|
33521
33043
|
default: vue.withCtx(() => [
|
|
33522
33044
|
!vue.unref(isOpen) || !vue.unref(slots)["brand-open"] ? vue.renderSlot(_ctx.$slots, "brand", { key: 0 }, void 0, true) : vue.createCommentVNode("", true),
|
|
33523
33045
|
vue.unref(isOpen) ? vue.renderSlot(_ctx.$slots, "brand-open", { key: 1 }, void 0, true) : vue.createCommentVNode("", true),
|
|
@@ -34201,7 +33723,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
|
34201
33723
|
onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
|
|
34202
33724
|
onKeydown: vue.withKeys(closeModal, ["esc"])
|
|
34203
33725
|
}, [
|
|
34204
|
-
vue.createVNode(vue.unref(_sfc_main$
|
|
33726
|
+
vue.createVNode(vue.unref(_sfc_main$11), {
|
|
34205
33727
|
class: "modal",
|
|
34206
33728
|
style: vue.normalizeStyle({ ...maxWidth.value }),
|
|
34207
33729
|
thin: _ctx.thin,
|
|
@@ -37856,9 +37378,9 @@ function useSearch(params) {
|
|
|
37856
37378
|
isLoading: vue.computed(() => isLoading.value)
|
|
37857
37379
|
};
|
|
37858
37380
|
}
|
|
37859
|
-
exports.Accordion = _sfc_main$
|
|
37381
|
+
exports.Accordion = _sfc_main$1f;
|
|
37860
37382
|
exports.AccordionItem = AccordionItem;
|
|
37861
|
-
exports.AddressSearch = _sfc_main$
|
|
37383
|
+
exports.AddressSearch = _sfc_main$1d;
|
|
37862
37384
|
exports.Alert = Alert;
|
|
37863
37385
|
exports.Avatar = Avatar;
|
|
37864
37386
|
exports.Badge = Badge;
|
|
@@ -37870,9 +37392,8 @@ exports.BglVideo = BglVideo;
|
|
|
37870
37392
|
exports.BottomMenu = BottomMenu;
|
|
37871
37393
|
exports.Btn = Btn;
|
|
37872
37394
|
exports.Calendar = Index$1;
|
|
37873
|
-
exports.Card = _sfc_main$
|
|
37395
|
+
exports.Card = _sfc_main$11;
|
|
37874
37396
|
exports.Carousel = Carousel;
|
|
37875
|
-
exports.Carousel2 = Carousel2;
|
|
37876
37397
|
exports.CheckInput = CheckInput;
|
|
37877
37398
|
exports.Checkbox = Checkbox;
|
|
37878
37399
|
exports.CodeEditor = CodeEditor;
|