@bagelink/vue 1.2.71 → 1.2.73

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/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$1f = /* @__PURE__ */ vue.defineComponent({
8
+ const _sfc_main$1g = /* @__PURE__ */ vue.defineComponent({
9
9
  __name: "Accordion",
10
10
  setup(__props) {
11
11
  const state2 = vue.reactive({
@@ -19,10 +19,10 @@ const _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
19
19
  };
20
20
  }
21
21
  });
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({
22
+ const _hoisted_1$13 = ["aria-expanded", "aria-controls"];
23
+ const _hoisted_2$N = { class: "accordion-label" };
24
+ const _hoisted_3$G = ["id", "aria-hidden"];
25
+ const _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
26
26
  __name: "AccordionItem",
27
27
  props: {
28
28
  label: {},
@@ -85,18 +85,18 @@ const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
85
85
  key: 0,
86
86
  class: vue.normalizeClass(["accordion-icon", [_ctx.iconClass, { open: vue.unref(isOpen) && _ctx.iconType === "expand_more" }]])
87
87
  }, [
88
- vue.createVNode(vue.unref(_sfc_main$s), { icon: computedIcon.value }, null, 8, ["icon"])
88
+ vue.createVNode(vue.unref(_sfc_main$t), { 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$M, vue.toDisplayString(_ctx.label), 1)
91
+ vue.createElementVNode("span", _hoisted_2$N, vue.toDisplayString(_ctx.label), 1)
92
92
  ], true),
93
93
  iconPosition.value === "end" ? (vue.openBlock(), vue.createElementBlock("span", {
94
94
  key: 1,
95
95
  class: vue.normalizeClass(["accordion-icon", [_ctx.iconClass, { open: vue.unref(isOpen) && _ctx.iconType === "expand_more" }]])
96
96
  }, [
97
- vue.createVNode(vue.unref(_sfc_main$s), { icon: computedIcon.value }, null, 8, ["icon"])
97
+ vue.createVNode(vue.unref(_sfc_main$t), { icon: computedIcon.value }, null, 8, ["icon"])
98
98
  ], 2)) : vue.createCommentVNode("", true)
99
- ], 8, _hoisted_1$12),
99
+ ], 8, _hoisted_1$13),
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$1e = /* @__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$F)) : vue.createCommentVNode("", true)
109
+ ], 8, _hoisted_3$G)) : 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$1e, [["__scopeId", "data-v-3334f637"]]);
125
- const _hoisted_1$11 = { class: "relative" };
126
- const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
124
+ const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-3334f637"]]);
125
+ const _hoisted_1$12 = { class: "relative" };
126
+ const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
127
127
  __name: "AddressSearch",
128
128
  emits: ["addressSelected"],
129
129
  setup(__props, { emit: __emit }) {
@@ -145,8 +145,8 @@ const _sfc_main$1d = /* @__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$11, [
149
- vue.createVNode(vue.unref(_sfc_main$X), {
148
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$12, [
149
+ vue.createVNode(vue.unref(_sfc_main$Y), {
150
150
  ref_key: "suggestion",
151
151
  ref: suggestion,
152
152
  noAutoFocus: true,
@@ -164,7 +164,7 @@ const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
164
164
  vue.createVNode(vue.unref(ListView), { class: "-mt-2 hm-300px" }, {
165
165
  default: vue.withCtx(() => [
166
166
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(searchResults), (result2, index2) => {
167
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$h), {
167
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$i), {
168
168
  key: index2,
169
169
  icon: "location_on",
170
170
  title: result2.display_name,
@@ -181,11 +181,11 @@ const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
181
181
  };
182
182
  }
183
183
  });
184
- const _hoisted_1$10 = {
184
+ const _hoisted_1$11 = {
185
185
  key: 1,
186
186
  class: "bgl_btn-flex"
187
187
  };
188
- const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
188
+ const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
189
189
  __name: "Btn",
190
190
  props: {
191
191
  disabled: { type: Boolean, default: false },
@@ -254,8 +254,8 @@ const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
254
254
  key: 0,
255
255
  class: "h-100p",
256
256
  size: "15"
257
- })) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$10, [
258
- _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
257
+ })) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$11, [
258
+ _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$t), {
259
259
  key: 0,
260
260
  icon: _ctx.icon,
261
261
  class: "transition-400"
@@ -264,7 +264,7 @@ const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
264
264
  !vue.unref(slots).default && _ctx.value ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
265
265
  vue.createTextVNode(vue.toDisplayString(_ctx.value), 1)
266
266
  ], 64)) : vue.createCommentVNode("", true),
267
- _ctx.iconEnd ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
267
+ _ctx.iconEnd ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$t), {
268
268
  key: 2,
269
269
  icon: _ctx.iconEnd,
270
270
  class: "transition-400"
@@ -278,10 +278,10 @@ const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
278
278
  };
279
279
  }
280
280
  });
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({
281
+ const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-99c4aa53"]]);
282
+ const _hoisted_1$10 = ["dismissable"];
283
+ const _hoisted_2$M = { class: "m-0" };
284
+ const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
285
285
  __name: "Alert",
286
286
  props: {
287
287
  message: {},
@@ -304,14 +304,14 @@ const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
304
304
  class: vue.normalizeClass(["alert", [_ctx.type, { thin: _ctx.thin, outline: _ctx.outline }]]),
305
305
  dismissable: _ctx.dismissable
306
306
  }, [
307
- _ctx.icon !== "none" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
307
+ _ctx.icon !== "none" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$t), {
308
308
  key: 0,
309
309
  class: "alert_icon",
310
310
  icon: _ctx.icon || _ctx.type,
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$L, vue.toDisplayString(_ctx.message), 1),
314
+ vue.createElementVNode("p", _hoisted_2$M, vue.toDisplayString(_ctx.message), 1),
315
315
  vue.createVNode(Btn, {
316
316
  flat: "",
317
317
  thin: "",
@@ -319,13 +319,13 @@ const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
319
319
  icon: "close",
320
320
  onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
321
321
  })
322
- ], 10, _hoisted_1$$)) : vue.createCommentVNode("", true);
322
+ ], 10, _hoisted_1$10)) : vue.createCommentVNode("", true);
323
323
  };
324
324
  }
325
325
  });
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({
326
+ const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-15c4ee95"]]);
327
+ const _hoisted_1$$ = ["src", "alt"];
328
+ const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
329
329
  __name: "Avatar",
330
330
  props: {
331
331
  fallback: {},
@@ -343,7 +343,7 @@ const _sfc_main$1a = /* @__PURE__ */ vue.defineComponent({
343
343
  key: 0,
344
344
  src: _ctx.src,
345
345
  alt: _ctx.name
346
- }, null, 8, _hoisted_1$_)) : (vue.openBlock(), vue.createElementBlock("p", {
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$1a = /* @__PURE__ */ vue.defineComponent({
351
351
  };
352
352
  }
353
353
  });
354
- const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-b73b9e30"]]);
355
- const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
354
+ const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-b73b9e30"]]);
355
+ const _sfc_main$1a = /* @__PURE__ */ vue.defineComponent({
356
356
  __name: "Badge",
357
357
  props: {
358
358
  color: {},
@@ -366,13 +366,13 @@ const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
366
366
  return vue.openBlock(), vue.createElementBlock("div", {
367
367
  class: vue.normalizeClass(["pill", [_ctx.color]])
368
368
  }, [
369
- _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
369
+ _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$t), {
370
370
  key: 0,
371
371
  class: "inline",
372
372
  icon: _ctx.icon
373
373
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
374
374
  vue.createTextVNode(" " + vue.toDisplayString(_ctx.text) + " ", 1),
375
- _ctx.iconEnd ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
375
+ _ctx.iconEnd ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$t), {
376
376
  key: 1,
377
377
  class: "inline",
378
378
  icon: _ctx.iconEnd
@@ -381,11 +381,11 @@ const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
381
381
  };
382
382
  }
383
383
  });
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({
384
+ const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-689f051f"]]);
385
+ const _hoisted_1$_ = ["src"];
386
+ const _hoisted_2$L = ["autoplay", "muted", "loop", "controls", "playsinline"];
387
+ const _hoisted_3$F = ["src", "type"];
388
+ const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
389
389
  __name: "BglVideo",
390
390
  props: {
391
391
  src: {},
@@ -462,7 +462,7 @@ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
462
462
  allowfullscreen: "",
463
463
  title: "Video",
464
464
  allow: "autoplay"
465
- }, null, 12, _hoisted_1$Z)) : _ctx.src ? (vue.openBlock(), vue.createElementBlock("video", {
465
+ }, null, 12, _hoisted_1$_)) : _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$18 = /* @__PURE__ */ vue.defineComponent({
476
476
  vue.createElementVNode("source", {
477
477
  src: _ctx.src,
478
478
  type: `video/${videoFormat.value}`
479
- }, null, 8, _hoisted_3$E)
480
- ], 12, _hoisted_2$K)) : vue.createCommentVNode("", true)
479
+ }, null, 8, _hoisted_3$F)
480
+ ], 12, _hoisted_2$L)) : vue.createCommentVNode("", true)
481
481
  ], 2);
482
482
  };
483
483
  }
484
484
  });
485
- const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-006552f6"]]);
486
- const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
485
+ const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-006552f6"]]);
486
+ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
487
487
  __name: "CalendarPopover",
488
488
  props: {
489
489
  event: {},
@@ -526,7 +526,7 @@ const _sfc_main$17 = /* @__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$11), {
529
+ return _ctx.show && _ctx.event ? vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$12), {
530
530
  key: 0,
531
531
  ref_key: "popoverRef",
532
532
  ref: popoverRef,
@@ -548,14 +548,14 @@ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
548
548
  };
549
549
  }
550
550
  });
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" };
551
+ const CalendarPopover = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-6f51f6b3"]]);
552
+ const _hoisted_1$Z = { class: "agenda-view" };
553
+ const _hoisted_2$K = ["data-date", "onClick"];
554
+ const _hoisted_3$E = { 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$16 = /* @__PURE__ */ vue.defineComponent({
558
+ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
559
559
  __name: "AgendaView",
560
560
  props: {
561
561
  events: {},
@@ -653,7 +653,7 @@ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
653
653
  }
654
654
  });
655
655
  return (_ctx, _cache) => {
656
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$Y, [
656
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$Z, [
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$16 = /* @__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$D, [
677
+ vue.createElementVNode("div", _hoisted_3$E, [
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$16 = /* @__PURE__ */ vue.defineComponent({
683
683
  }, vue.toDisplayString(event.dayLabel), 3)
684
684
  ])
685
685
  ])
686
- ], 12, _hoisted_2$J);
686
+ ], 12, _hoisted_2$K);
687
687
  }), 128))
688
688
  ], 512)
689
689
  ]);
690
690
  };
691
691
  }
692
692
  });
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" };
693
+ const AgendaView = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-1e2b483b"]]);
694
+ const _hoisted_1$Y = { class: "w-100p overflow-hidden m_overflow h-100p grid" };
695
+ const _hoisted_2$J = { class: "border-bottom me-1 txt-center p-05 dayGrid" };
696
+ const _hoisted_3$D = { 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$15 = /* @__PURE__ */ vue.defineComponent({
706
+ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
707
707
  __name: "DayView",
708
708
  props: {
709
709
  events: {},
@@ -837,12 +837,12 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
837
837
  }
838
838
  });
839
839
  return (_ctx, _cache) => {
840
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$X, [
841
- vue.createElementVNode("div", _hoisted_2$I, [
840
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$Y, [
841
+ vue.createElementVNode("div", _hoisted_2$J, [
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$C, [
845
+ vue.createElementVNode("div", _hoisted_3$D, [
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$15 = /* @__PURE__ */ vue.defineComponent({
902
902
  };
903
903
  }
904
904
  });
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" };
905
+ const DayView = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-8b1a770f"]]);
906
+ const _hoisted_1$X = { class: "month-view" };
907
+ const _hoisted_2$I = { class: "month-header" };
908
+ const _hoisted_3$C = { 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$14 = /* @__PURE__ */ vue.defineComponent({
918
+ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
919
919
  __name: "MonthView",
920
920
  props: {
921
921
  events: {},
@@ -989,8 +989,8 @@ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
989
989
  }
990
990
  }
991
991
  return (_ctx, _cache) => {
992
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$W, [
993
- vue.createElementVNode("div", _hoisted_2$H, [
992
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$X, [
993
+ vue.createElementVNode("div", _hoisted_2$I, [
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$14 = /* @__PURE__ */ vue.defineComponent({
998
998
  }, vue.toDisplayString(day), 1);
999
999
  }), 128))
1000
1000
  ]),
1001
- vue.createElementVNode("div", _hoisted_3$B, [
1001
+ vue.createElementVNode("div", _hoisted_3$C, [
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$14 = /* @__PURE__ */ vue.defineComponent({
1031
1031
  };
1032
1032
  }
1033
1033
  });
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"];
1034
+ const MonthView = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-0b1117c4"]]);
1035
+ const _hoisted_1$W = { class: "w-100p overflow-hidden m_overflow h-100p grid" };
1036
+ const _hoisted_2$H = { class: "overflow h-100p pe-05" };
1037
+ const _hoisted_3$B = ["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$13 = /* @__PURE__ */ vue.defineComponent({
1045
+ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
1046
1046
  __name: "WeekView",
1047
1047
  props: {
1048
1048
  events: { default: () => [] },
@@ -1296,7 +1296,7 @@ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
1296
1296
  }
1297
1297
  });
1298
1298
  return (_ctx, _cache) => {
1299
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$V, [
1299
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$W, [
1300
1300
  vue.createElementVNode("div", {
1301
1301
  ref_key: "calendarGrid",
1302
1302
  ref: calendarGrid,
@@ -1318,7 +1318,7 @@ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
1318
1318
  ]);
1319
1319
  }), 128))
1320
1320
  ], 512),
1321
- vue.createElementVNode("div", _hoisted_2$G, [
1321
+ vue.createElementVNode("div", _hoisted_2$H, [
1322
1322
  vue.createElementVNode("div", {
1323
1323
  ref_key: "dayColumnsContainer",
1324
1324
  ref: dayColumnsContainer,
@@ -1373,7 +1373,7 @@ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
1373
1373
  ])
1374
1374
  ], 44, _hoisted_4$o);
1375
1375
  }), 128))
1376
- ], 40, _hoisted_3$A);
1376
+ ], 40, _hoisted_3$B);
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$13 = /* @__PURE__ */ vue.defineComponent({
1394
1394
  };
1395
1395
  }
1396
1396
  });
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" };
1397
+ const WeekView = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-2d5bca17"]]);
1398
+ const _hoisted_1$V = { class: "calendar" };
1399
+ const _hoisted_2$G = { class: "flex m_block m_pb-1" };
1400
+ const _hoisted_3$A = { class: "txt-light my-0" };
1401
1401
  const _hoisted_4$n = { class: "ms-auto flex gap-025" };
1402
- const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
1402
+ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
1403
1403
  __name: "Index",
1404
1404
  props: {
1405
1405
  events: { default: () => [] },
@@ -1491,14 +1491,14 @@ const _sfc_main$12 = /* @__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$U, [
1495
- vue.createElementVNode("div", _hoisted_2$F, [
1496
- vue.createElementVNode("h3", _hoisted_3$z, [
1494
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$V, [
1495
+ vue.createElementVNode("div", _hoisted_2$G, [
1496
+ vue.createElementVNode("h3", _hoisted_3$A, [
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
  ]),
1500
1500
  vue.createElementVNode("div", _hoisted_4$n, [
1501
- vue.createVNode(vue.unref(_sfc_main$X), {
1501
+ vue.createVNode(vue.unref(_sfc_main$Y), {
1502
1502
  thin: "",
1503
1503
  value: currentView.value,
1504
1504
  iconEnd: "keyboard_arrow_down",
@@ -1506,7 +1506,7 @@ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
1506
1506
  }, {
1507
1507
  default: vue.withCtx(() => [
1508
1508
  (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, vue.renderList(views, (_2, key) => {
1509
- return vue.createVNode(vue.unref(_sfc_main$h), {
1509
+ return vue.createVNode(vue.unref(_sfc_main$i), {
1510
1510
  key,
1511
1511
  title: key,
1512
1512
  onClick: ($event) => handleViewChange(key)
@@ -1569,12 +1569,12 @@ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
1569
1569
  };
1570
1570
  }
1571
1571
  });
1572
- const Index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-840b6594"]]);
1573
- const _hoisted_1$T = {
1572
+ const Index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-840b6594"]]);
1573
+ const _hoisted_1$U = {
1574
1574
  key: 0,
1575
1575
  class: "card_label"
1576
1576
  };
1577
- const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
1577
+ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
1578
1578
  __name: "Card",
1579
1579
  props: {
1580
1580
  label: {},
@@ -1603,7 +1603,7 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
1603
1603
  }])
1604
1604
  }, {
1605
1605
  default: vue.withCtx(() => [
1606
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$T, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
1606
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$U, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
1607
1607
  vue.renderSlot(_ctx.$slots, "default")
1608
1608
  ]),
1609
1609
  _: 3
@@ -1613,773 +1613,581 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
1613
1613
  };
1614
1614
  }
1615
1615
  });
1616
- const _hoisted_1$S = { class: "carousel-wrapper" };
1617
- const _hoisted_2$E = {
1616
+ const _hoisted_1$T = ["dir"];
1617
+ const _hoisted_2$F = {
1618
1618
  key: 0,
1619
- class: "carousel-dots"
1619
+ class: "dots"
1620
1620
  };
1621
- const _hoisted_3$y = ["aria-label", "onClick"];
1622
- const dragThreshold = 10;
1623
- const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
1624
- __name: "Carousel2",
1621
+ const _hoisted_3$z = ["onClick"];
1622
+ const GAP_PERCENT = 1;
1623
+ const VELOCITY_SAMPLE_DURATION = 100;
1624
+ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
1625
+ __name: "Carousel",
1625
1626
  props: {
1626
- duration: { default: 200 },
1627
- easing: { default: "ease-out" },
1628
- perPage: {},
1629
- startIndex: { default: 0 },
1630
- draggable: { type: Boolean, default: true },
1631
- multipleDrag: { type: Boolean, default: true },
1632
- threshold: { default: 20 },
1633
- loop: { type: Boolean, default: true },
1627
+ autoHeight: { type: Boolean, default: false },
1628
+ allowScroll: { type: Boolean, default: true },
1629
+ freeDrag: { type: Boolean, default: true },
1630
+ items: { type: Number, default: 4 },
1631
+ index: { type: Number, default: 0 },
1634
1632
  rtl: { type: Boolean, default: false },
1635
- autoplay: { type: [Boolean, String], default: "disabled" },
1636
- autoplayInterval: { default: 3e3 },
1637
- autoplaySpeed: { default: 50 },
1638
- pauseOnHover: { type: Boolean, default: true },
1639
- dots: { type: Boolean, default: false },
1640
- slideWidth: { default: 300 },
1641
- onInit: {},
1642
- onChange: {}
1633
+ autoplay: { type: Boolean, default: false },
1634
+ autoPlaySpeed: { type: Number, default: 4e3 },
1635
+ dots: { type: Boolean, default: false }
1643
1636
  },
1644
- emits: ["init", "change"],
1637
+ emits: ["update:index"],
1645
1638
  setup(__props, { expose: __expose, emit: __emit }) {
1646
1639
  const props2 = __props;
1647
1640
  const emit2 = __emit;
1648
- const carouselRef = vue.ref(null);
1649
- const sliderFrame = vue.ref(null);
1650
- const innerElements = vue.ref([]);
1651
- const currentSlide = vue.ref(0);
1652
- const selectorWidth = vue.ref(0);
1653
- const { innerWidth } = useDevice();
1654
- const transformProperty = vue.ref("transform");
1655
- const pointerDown = vue.ref(false);
1656
- const drag = vue.ref({
1657
- startX: 0,
1658
- endX: 0,
1659
- startY: 0,
1660
- letItGo: null,
1661
- preventClick: false
1662
- });
1663
- const isDragging = vue.ref(false);
1664
- const autoplayTimer = vue.ref(null);
1665
- const linearAnimationFrame = vue.ref(null);
1666
- const isHovering = vue.ref(false);
1667
- const linearOffset = vue.ref(0);
1668
- const perPage = vue.computed(() => {
1669
- if (typeof props2.perPage === "number") {
1670
- return props2.perPage;
1671
- }
1672
- if (typeof props2.perPage === "object") {
1673
- return Object.entries(props2.perPage).reduce((acc, [viewport, value]) => innerWidth.value >= Number(viewport) ? value : acc, 1);
1674
- }
1675
- return Math.max(1, Math.ceil(selectorWidth.value / props2.slideWidth));
1676
- });
1677
- const config = vue.computed(() => {
1678
- let autoplayMode = "disabled";
1679
- if (typeof props2.autoplay === "boolean") {
1680
- autoplayMode = props2.autoplay ? "standard" : "disabled";
1681
- } else {
1682
- autoplayMode = props2.autoplay;
1683
- }
1684
- const calculatedPerPage = perPage.value;
1685
- return {
1686
- duration: props2.duration,
1687
- easing: props2.easing,
1688
- perPage: calculatedPerPage,
1689
- startIndex: props2.startIndex,
1690
- draggable: props2.draggable,
1691
- multipleDrag: props2.multipleDrag,
1692
- threshold: props2.threshold,
1693
- loop: props2.loop,
1694
- rtl: props2.rtl,
1695
- autoplay: autoplayMode,
1696
- autoplayInterval: props2.autoplayInterval,
1697
- autoplaySpeed: props2.autoplaySpeed,
1698
- pauseOnHover: props2.pauseOnHover,
1699
- dots: props2.dots,
1700
- slideWidth: props2.slideWidth,
1701
- onInit: () => {
1702
- emit2("init");
1703
- },
1704
- onChange: () => {
1705
- emit2("change");
1706
- }
1707
- };
1708
- });
1709
- const totalDots = vue.computed(() => {
1710
- if (!innerElements.value.length) return 0;
1711
- return config.value.loop ? innerElements.value.length : Math.ceil(innerElements.value.length - perPage.value + 1);
1712
- });
1713
- vue.onMounted(() => init());
1714
- vue.onBeforeUnmount(() => {
1715
- stopAutoplay();
1716
- detachEvents();
1717
- });
1718
- vue.watch(() => props2, () => {
1719
- resizeHandler();
1720
- }, { deep: true });
1721
- function webkitOrNot() {
1722
- const { style } = document.documentElement;
1723
- if (typeof style.transform === "string") {
1724
- return "transform";
1725
- }
1726
- return "WebkitTransform";
1641
+ const ANIMATION_TIMINGS = {
1642
+ TOUCH: 150,
1643
+ MOBILE: 420,
1644
+ DESKTOP: 840,
1645
+ MAX_DURATION: 300,
1646
+ BASE_DURATION: 150,
1647
+ DURATION_PER_PANEL: 50
1648
+ };
1649
+ const THRESHOLDS = {
1650
+ DRAG: 20,
1651
+ TOUCH: 5,
1652
+ SWIPE_PERCENT: 0.1,
1653
+ VELOCITY: 0.15,
1654
+ WHEEL_PERCENT: 0.3
1655
+ };
1656
+ const bglSlider = vue.ref();
1657
+ const isSliderAvailable = vue.computed(() => !!bglSlider.value);
1658
+ let itemCount = vue.ref(props2.items);
1659
+ let activeSlideIndex = vue.ref(props2.index);
1660
+ let slideCount = vue.ref(0);
1661
+ let yHeight = vue.ref("auto");
1662
+ let isDragging = vue.ref(false);
1663
+ let isPressed = vue.ref(false);
1664
+ let startX = vue.ref(0);
1665
+ let startY = vue.ref(0);
1666
+ let translateX2 = vue.ref(0);
1667
+ let lastX = vue.ref(0);
1668
+ let lastTime = vue.ref(0);
1669
+ let accumulatedDeltaX = vue.ref(0);
1670
+ let wheelTimeout;
1671
+ let autoPlayInterval;
1672
+ let velocityTracker = vue.ref([]);
1673
+ function getAverageVelocity() {
1674
+ if (velocityTracker.value.length < 2) return 0;
1675
+ const now = Date.now();
1676
+ const recentSamples = velocityTracker.value.filter((sample) => now - sample.time < VELOCITY_SAMPLE_DURATION);
1677
+ if (recentSamples.length < 2) return 0;
1678
+ const first = recentSamples[0];
1679
+ const last = recentSamples[recentSamples.length - 1];
1680
+ const timeDelta2 = last.time - first.time;
1681
+ if (timeDelta2 === 0) return 0;
1682
+ return (last.position - first.position) / timeDelta2;
1683
+ }
1684
+ function getCurrentTransform() {
1685
+ if (!bglSlider.value) return 0;
1686
+ const { transform } = bglSlider.value.style;
1687
+ const value = transform ? Number.parseInt(transform.replace(/[^-\d.]/g, "")) : 0;
1688
+ return props2.rtl ? -value : value;
1689
+ }
1690
+ function setTransform(value) {
1691
+ if (!bglSlider.value) return;
1692
+ const rtlValue = props2.rtl ? -value : value;
1693
+ bglSlider.value.style.transform = `translateX(${rtlValue}px)`;
1694
+ }
1695
+ function easeInOutQuad(t) {
1696
+ return t < 0.5 ? 2 * t * t : -1 + (4 - 2 * t) * t;
1697
+ }
1698
+ function animateTransform(start, end, duration) {
1699
+ const startTime = performance.now();
1700
+ function animate(currentTime) {
1701
+ if (!isSliderAvailable.value) return;
1702
+ const timeElapsed = currentTime - startTime;
1703
+ const progress = Math.min(timeElapsed / duration, 1);
1704
+ const currentTransform = start + (end - start) * easeInOutQuad(progress);
1705
+ setTransform(currentTransform);
1706
+ if (progress < 1) requestAnimationFrame(animate);
1707
+ }
1708
+ requestAnimationFrame(animate);
1709
+ }
1710
+ function goToSlide(index2, isTouchNav = false) {
1711
+ countSlides();
1712
+ if (!isSliderAvailable.value || !bglSlider.value || index2 < 0 || index2 >= slideCount.value) return;
1713
+ const containerWidth = bglSlider.value.offsetWidth;
1714
+ const gapWidth = containerWidth * GAP_PERCENT / 100;
1715
+ const totalGapWidth = (itemCount.value - 1) * gapWidth;
1716
+ const singleItemWidth = (containerWidth - totalGapWidth) / itemCount.value;
1717
+ const gapsBeforeSlide = index2 * gapWidth;
1718
+ const targetTransform = -(singleItemWidth * index2 + gapsBeforeSlide);
1719
+ const currentTransform = getCurrentTransform();
1720
+ const duration = isTouchNav ? ANIMATION_TIMINGS.TOUCH : window.innerWidth < 600 ? ANIMATION_TIMINGS.MOBILE : ANIMATION_TIMINGS.DESKTOP;
1721
+ animateTransform(currentTransform, targetTransform, duration);
1722
+ activeSlideIndex.value = index2;
1723
+ updateHeight();
1727
1724
  }
1728
- function attachEvents() {
1729
- window.addEventListener("resize", resizeHandler);
1730
- if (config.value.draggable && carouselRef.value) {
1731
- const eventOptions = { passive: true };
1732
- const touchMoveOptions = { passive: false };
1733
- const mouseMoveOptions = { passive: false };
1734
- const mouseDownOptions = { passive: false };
1735
- carouselRef.value.addEventListener("touchstart", touchstartHandler, eventOptions);
1736
- carouselRef.value.addEventListener("touchend", touchendHandler, eventOptions);
1737
- carouselRef.value.addEventListener("touchmove", touchmoveHandler, touchMoveOptions);
1738
- carouselRef.value.addEventListener("mousedown", mousedownHandler, mouseDownOptions);
1739
- carouselRef.value.addEventListener("mouseup", mouseupHandler, eventOptions);
1740
- carouselRef.value.addEventListener("mouseleave", mouseleaveHandler, eventOptions);
1741
- carouselRef.value.addEventListener("mousemove", mousemoveHandler, mouseMoveOptions);
1742
- carouselRef.value.addEventListener("dragstart", dragstartHandler);
1743
- carouselRef.value.addEventListener("click", clickHandler2);
1744
- }
1745
- if (config.value.autoplay !== "disabled" && config.value.pauseOnHover && carouselRef.value) {
1746
- carouselRef.value.addEventListener("mouseenter", mouseenterHandler);
1747
- carouselRef.value.addEventListener("mouseleave", mouseleaveAutoplayHandler);
1748
- }
1725
+ function next() {
1726
+ if (!isSliderAvailable.value) return;
1727
+ countSlides();
1728
+ const nextIndex = props2.rtl ? (activeSlideIndex.value - 1 + slideCount.value) % slideCount.value : (activeSlideIndex.value + 1) % slideCount.value;
1729
+ goToSlide(nextIndex);
1749
1730
  }
1750
- function detachEvents() {
1751
- window.removeEventListener("resize", resizeHandler);
1752
- if (carouselRef.value) {
1753
- carouselRef.value.removeEventListener("touchstart", touchstartHandler);
1754
- carouselRef.value.removeEventListener("touchend", touchendHandler);
1755
- carouselRef.value.removeEventListener("touchmove", touchmoveHandler);
1756
- carouselRef.value.removeEventListener("mousedown", mousedownHandler);
1757
- carouselRef.value.removeEventListener("mouseup", mouseupHandler);
1758
- carouselRef.value.removeEventListener("mouseleave", mouseleaveHandler);
1759
- carouselRef.value.removeEventListener("mousemove", mousemoveHandler);
1760
- carouselRef.value.removeEventListener("dragstart", dragstartHandler);
1761
- carouselRef.value.removeEventListener("click", clickHandler2);
1762
- carouselRef.value.removeEventListener("mouseenter", mouseenterHandler);
1763
- carouselRef.value.removeEventListener("mouseleave", mouseleaveAutoplayHandler);
1764
- }
1731
+ function prev() {
1732
+ if (!isSliderAvailable.value) return;
1733
+ countSlides();
1734
+ const prevIndex = props2.rtl ? (activeSlideIndex.value + 1) % slideCount.value : (activeSlideIndex.value - 1 + slideCount.value) % slideCount.value;
1735
+ goToSlide(prevIndex);
1765
1736
  }
1766
- async function init() {
1767
- if (!carouselRef.value) return;
1768
- transformProperty.value = webkitOrNot();
1769
- await sleep(10);
1770
- innerElements.value = Array.from(carouselRef.value.children);
1771
- if (!innerElements.value.length) {
1772
- console.warn("No carousel items found during initialization");
1773
- return;
1774
- }
1775
- selectorWidth.value = carouselRef.value.offsetWidth;
1776
- currentSlide.value = config.value.loop ? config.value.startIndex % innerElements.value.length : Math.max(0, Math.min(config.value.startIndex, innerElements.value.length - perPage.value));
1777
- carouselRef.value.style.overflow = "hidden";
1778
- carouselRef.value.style.direction = config.value.rtl ? "rtl" : "ltr";
1779
- attachEvents();
1780
- await vue.nextTick();
1781
- buildSliderFrame();
1782
- if (config.value.autoplay !== "disabled") {
1783
- startAutoplay();
1737
+ function calcHeight() {
1738
+ if (!isSliderAvailable.value || !bglSlider.value) return;
1739
+ try {
1740
+ const activeSlide = bglSlider.value.children[activeSlideIndex.value];
1741
+ if (!activeSlide) return;
1742
+ const children2 = Array.from(activeSlide.children);
1743
+ const totalHeight = children2.reduce((sum, el) => sum + el.clientHeight, 0);
1744
+ yHeight.value = `${totalHeight}px`;
1745
+ } catch (error) {
1746
+ console.error("Error calculating height:", error);
1784
1747
  }
1785
- config.value.onInit();
1786
1748
  }
1787
- function buildSliderFrame() {
1788
- if (!carouselRef.value) return;
1789
- if (!innerElements.value.length) {
1790
- console.warn("No carousel items found");
1791
- return;
1792
- }
1793
- const widthItem = selectorWidth.value / perPage.value;
1794
- const itemsToBuild = config.value.loop ? innerElements.value.length + 2 * perPage.value : innerElements.value.length;
1795
- if (!sliderFrame.value) {
1796
- sliderFrame.value = document.createElement("div");
1797
- }
1798
- sliderFrame.value.style.width = `${widthItem * itemsToBuild}px`;
1799
- enableTransition();
1800
- if (config.value.draggable && carouselRef.value) {
1801
- carouselRef.value.style.cursor = "-webkit-grab";
1802
- }
1803
- const docFragment = document.createDocumentFragment();
1804
- if (config.value.loop && innerElements.value.length > 0) {
1805
- for (let i2 = innerElements.value.length - perPage.value; i2 < innerElements.value.length; i2++) {
1806
- if (i2 >= 0 && i2 < innerElements.value.length) {
1807
- const element = buildSliderFrameItem(innerElements.value[i2].cloneNode(true));
1808
- docFragment.appendChild(element);
1809
- }
1810
- }
1811
- }
1812
- for (let i2 = 0; i2 < innerElements.value.length; i2++) {
1813
- const element = buildSliderFrameItem(innerElements.value[i2]);
1814
- docFragment.appendChild(element);
1815
- }
1816
- if (config.value.loop && innerElements.value.length > 0) {
1817
- for (let i2 = 0; i2 < perPage.value; i2++) {
1818
- if (i2 >= 0 && i2 < innerElements.value.length) {
1819
- const element = buildSliderFrameItem(innerElements.value[i2].cloneNode(true));
1820
- docFragment.appendChild(element);
1821
- }
1822
- }
1749
+ function updateHeight() {
1750
+ if (!props2.autoHeight) return;
1751
+ setTimeout(calcHeight, 200);
1752
+ }
1753
+ function countSlides() {
1754
+ if (!isSliderAvailable.value || !bglSlider.value) return;
1755
+ slideCount.value = bglSlider.value.children.length;
1756
+ }
1757
+ function handleSlideChange() {
1758
+ if (props2.index !== activeSlideIndex.value) {
1759
+ emit2("update:index", activeSlideIndex.value);
1823
1760
  }
1824
- if (sliderFrame.value) {
1825
- sliderFrame.value.innerHTML = "";
1826
- sliderFrame.value.appendChild(docFragment);
1827
- if (carouselRef.value) {
1828
- carouselRef.value.innerHTML = "";
1829
- carouselRef.value.appendChild(sliderFrame.value);
1830
- }
1761
+ }
1762
+ function handleResize() {
1763
+ if (!isSliderAvailable.value || !bglSlider.value) return;
1764
+ itemCount.value = window.innerWidth < 600 ? 1 : window.innerWidth < 991 ? Math.min(props2.items, 2) : props2.items;
1765
+ const containerWidth = bglSlider.value.offsetWidth;
1766
+ const gapWidth = containerWidth * GAP_PERCENT / 100;
1767
+ const totalGapWidth = (itemCount.value - 1) * gapWidth;
1768
+ const singleItemWidth = (containerWidth - totalGapWidth) / itemCount.value;
1769
+ const gapsBeforeSlide = activeSlideIndex.value * gapWidth;
1770
+ const targetTransform = -(singleItemWidth * activeSlideIndex.value + gapsBeforeSlide);
1771
+ setTransform(targetTransform);
1772
+ updateHeight();
1773
+ }
1774
+ function clearAutoplay() {
1775
+ if (autoPlayInterval) clearInterval(autoPlayInterval);
1776
+ }
1777
+ function preventDefaultClick(e) {
1778
+ if (isDragging.value) {
1779
+ e.preventDefault();
1780
+ e.stopPropagation();
1831
1781
  }
1832
- slideToCurrent();
1833
1782
  }
1834
- function buildSliderFrameItem(elm) {
1835
- const elementContainer = document.createElement("div");
1836
- elementContainer.style.cssFloat = config.value.rtl ? "right" : "left";
1837
- elementContainer.style.float = config.value.rtl ? "right" : "left";
1838
- const percentage = config.value.loop ? 100 / (innerElements.value.length + perPage.value * 2) : 100 / innerElements.value.length;
1839
- elementContainer.style.width = `${percentage}%`;
1840
- elementContainer.appendChild(elm);
1841
- return elementContainer;
1783
+ async function disableDrag() {
1784
+ await vue.nextTick();
1785
+ if (!isSliderAvailable.value || !bglSlider.value) return;
1786
+ const elements = Array.from(bglSlider.value.querySelectorAll("img, a"));
1787
+ elements.forEach((el) => {
1788
+ el.setAttribute("draggable", "false");
1789
+ el.removeEventListener("click", preventDefaultClick, true);
1790
+ el.addEventListener("click", preventDefaultClick, true);
1791
+ });
1792
+ const slides = Array.from(bglSlider.value.children);
1793
+ slides.forEach((slide) => {
1794
+ const element = slide;
1795
+ element.setAttribute("draggable", "false");
1796
+ element.removeEventListener("click", preventDefaultClick, true);
1797
+ element.addEventListener("click", preventDefaultClick, true);
1798
+ });
1842
1799
  }
1843
- function slideToCurrent(enableTransitionFlag) {
1844
- const currentSlideValue = config.value.loop ? currentSlide.value + perPage.value : currentSlide.value;
1845
- const offset2 = (config.value.rtl ? 1 : -1) * currentSlideValue * (selectorWidth.value / perPage.value);
1846
- if (enableTransitionFlag && sliderFrame.value) {
1847
- requestAnimationFrame(() => {
1848
- requestAnimationFrame(() => {
1849
- enableTransition();
1850
- if (sliderFrame.value) {
1851
- sliderFrame.value.style[transformProperty.value] = `translate3d(${offset2}px, 0, 0)`;
1852
- }
1853
- });
1854
- });
1855
- } else if (sliderFrame.value) {
1856
- sliderFrame.value.style[transformProperty.value] = `translate3d(${offset2}px, 0, 0)`;
1800
+ function startDrag(e) {
1801
+ e.stopPropagation();
1802
+ if (e.button !== 0 || !props2.freeDrag || !isSliderAvailable.value) return;
1803
+ clearAutoplay();
1804
+ startX.value = e.pageX;
1805
+ translateX2.value = getCurrentTransform();
1806
+ isPressed.value = true;
1807
+ isDragging.value = false;
1808
+ document.addEventListener("mousemove", onDrag);
1809
+ document.addEventListener("mouseup", endDrag);
1810
+ }
1811
+ function onDrag(e) {
1812
+ if (!isSliderAvailable.value || !bglSlider.value || !isPressed.value) return;
1813
+ const x2 = e.pageX;
1814
+ const distance = x2 - startX.value;
1815
+ if (Math.abs(distance) > THRESHOLDS.DRAG) isDragging.value = true;
1816
+ if (isDragging.value) {
1817
+ const newTranslate = translateX2.value + (props2.rtl ? -distance : distance);
1818
+ const maxTranslate = 0;
1819
+ const containerWidth = bglSlider.value.offsetWidth;
1820
+ const gapWidth = containerWidth * GAP_PERCENT / 100;
1821
+ const totalGapWidth = (itemCount.value - 1) * gapWidth;
1822
+ const singleItemWidth = (containerWidth - totalGapWidth) / itemCount.value;
1823
+ const minTranslate = -(singleItemWidth * (slideCount.value - 1) + gapWidth * (slideCount.value - 1));
1824
+ const boundedTranslate = Math.max(minTranslate, Math.min(maxTranslate, newTranslate));
1825
+ setTransform(boundedTranslate);
1826
+ }
1827
+ }
1828
+ function endDrag() {
1829
+ isPressed.value = false;
1830
+ document.removeEventListener("mousemove", onDrag);
1831
+ document.removeEventListener("mouseup", endDrag);
1832
+ if (!isSliderAvailable.value || !bglSlider.value) return;
1833
+ const currentTransform = getCurrentTransform();
1834
+ const singleItemWidth = bglSlider.value.offsetWidth / itemCount.value;
1835
+ const currentPanel = -currentTransform / singleItemWidth;
1836
+ const totalDragDistance = currentTransform - translateX2.value;
1837
+ const dragPercentage = Math.abs(totalDragDistance) / singleItemWidth;
1838
+ let targetPanel = currentPanel;
1839
+ if (dragPercentage > THRESHOLDS.SWIPE_PERCENT) {
1840
+ const distnace = totalDragDistance > 0 ? -1 : 1;
1841
+ targetPanel = Math.floor(currentPanel) + (distnace < 0 ? 0 : 1);
1842
+ } else {
1843
+ targetPanel = Math.round(currentPanel);
1857
1844
  }
1858
- }
1859
- function prev(howManySlides = 1) {
1860
- if (innerElements.value.length <= perPage.value) {
1861
- return;
1845
+ targetPanel = Math.max(0, Math.min(targetPanel, slideCount.value - 1));
1846
+ goToSlide(targetPanel, true);
1847
+ if (isDragging.value) {
1848
+ setTimeout(() => {
1849
+ isDragging.value = false;
1850
+ }, 10);
1862
1851
  }
1863
- const beforeChange = currentSlide.value;
1864
- if (config.value.loop) {
1865
- const isNewIndexClone = currentSlide.value - howManySlides < 0;
1866
- if (isNewIndexClone) {
1867
- disableTransition();
1868
- const mirrorSlideIndex = currentSlide.value + innerElements.value.length;
1869
- const mirrorSlideIndexOffset = perPage.value;
1870
- const moveTo = mirrorSlideIndex + mirrorSlideIndexOffset;
1871
- const offset2 = (config.value.rtl ? 1 : -1) * moveTo * (selectorWidth.value / perPage.value);
1872
- const dragDistance = config.value.draggable ? drag.value.endX - drag.value.startX : 0;
1873
- if (sliderFrame.value) {
1874
- sliderFrame.value.style[transformProperty.value] = `translate3d(${offset2 + dragDistance}px, 0, 0)`;
1852
+ }
1853
+ let hasScrollDirectionLock = vue.ref(false);
1854
+ let isHorizontalScroll = vue.ref(false);
1855
+ function onTouchStart(e) {
1856
+ if (!props2.freeDrag || !isSliderAvailable.value) return;
1857
+ const target = e.target;
1858
+ const isInteractive = target.matches('button, a, input, select, textarea, [role="button"]') || target.closest('button, a, input, select, textarea, [role="button"]');
1859
+ if (!isInteractive) {
1860
+ clearAutoplay();
1861
+ const touch = e.touches[0];
1862
+ startX.value = touch.pageX;
1863
+ startY.value = touch.pageY;
1864
+ lastX.value = touch.pageX;
1865
+ lastTime.value = Date.now();
1866
+ translateX2.value = getCurrentTransform();
1867
+ velocityTracker.value = [{ time: lastTime.value, position: lastX.value }];
1868
+ isPressed.value = true;
1869
+ hasScrollDirectionLock.value = false;
1870
+ if (bglSlider.value) {
1871
+ bglSlider.value.style.transition = "none";
1872
+ }
1873
+ }
1874
+ }
1875
+ function onTouchMove(e) {
1876
+ if (!isSliderAvailable.value || !bglSlider.value || !isPressed.value) return;
1877
+ const touch = e.touches[0];
1878
+ const x2 = touch.pageX;
1879
+ const y2 = touch.pageY;
1880
+ const deltaX = x2 - startX.value;
1881
+ const deltaY = y2 - startY.value;
1882
+ if (!hasScrollDirectionLock.value) {
1883
+ if (Math.abs(deltaX) > 5 || Math.abs(deltaY) > 5) {
1884
+ isHorizontalScroll.value = Math.abs(deltaX) > Math.abs(deltaY);
1885
+ hasScrollDirectionLock.value = true;
1886
+ if (!isHorizontalScroll.value) {
1887
+ isPressed.value = false;
1888
+ return;
1875
1889
  }
1876
- currentSlide.value = mirrorSlideIndex - howManySlides;
1877
- } else {
1878
- currentSlide.value = currentSlide.value - howManySlides;
1879
1890
  }
1880
- } else {
1881
- currentSlide.value = Math.max(currentSlide.value - howManySlides, 0);
1891
+ return;
1882
1892
  }
1883
- if (beforeChange !== currentSlide.value) {
1884
- slideToCurrent(config.value.loop);
1885
- config.value.onChange();
1893
+ if (!isHorizontalScroll.value) return;
1894
+ const now = Date.now();
1895
+ velocityTracker.value.push({ time: now, position: x2 });
1896
+ lastX.value = x2;
1897
+ const cutoffTime = now - VELOCITY_SAMPLE_DURATION;
1898
+ velocityTracker.value = velocityTracker.value.filter((sample) => sample.time >= cutoffTime);
1899
+ if (Math.abs(deltaX) > THRESHOLDS.TOUCH) {
1900
+ isDragging.value = true;
1901
+ e.preventDefault();
1886
1902
  }
1887
- }
1888
- function next(howManySlides = 1) {
1889
- if (innerElements.value.length <= perPage.value) {
1903
+ if (isDragging.value) {
1904
+ const containerWidth = bglSlider.value.offsetWidth;
1905
+ const gapWidth = containerWidth * GAP_PERCENT / 100;
1906
+ const totalGapWidth = (itemCount.value - 1) * gapWidth;
1907
+ const singleItemWidth = (containerWidth - totalGapWidth) / itemCount.value;
1908
+ const totalWidth = singleItemWidth * slideCount.value + gapWidth * (slideCount.value - 1);
1909
+ let newTranslate = translateX2.value + (props2.rtl ? -deltaX : deltaX);
1910
+ if (newTranslate > 0) {
1911
+ newTranslate = newTranslate * 0.5;
1912
+ } else if (newTranslate < -totalWidth + containerWidth) {
1913
+ const overDrag = -totalWidth + containerWidth - newTranslate;
1914
+ newTranslate = -totalWidth + containerWidth - overDrag * 0.5;
1915
+ }
1916
+ setTransform(newTranslate);
1917
+ }
1918
+ }
1919
+ function onTouchEnd() {
1920
+ if (!isSliderAvailable.value || !bglSlider.value || !isPressed.value || !isHorizontalScroll.value) {
1921
+ isPressed.value = false;
1922
+ hasScrollDirectionLock.value = false;
1890
1923
  return;
1891
1924
  }
1892
- const beforeChange = currentSlide.value;
1893
- if (config.value.loop) {
1894
- const isNewIndexClone = currentSlide.value + howManySlides > innerElements.value.length - perPage.value;
1895
- if (isNewIndexClone) {
1896
- disableTransition();
1897
- const mirrorSlideIndex = currentSlide.value - innerElements.value.length;
1898
- const mirrorSlideIndexOffset = perPage.value;
1899
- const moveTo = mirrorSlideIndex + mirrorSlideIndexOffset;
1900
- const offset2 = (config.value.rtl ? 1 : -1) * moveTo * (selectorWidth.value / perPage.value);
1901
- const dragDistance = config.value.draggable ? drag.value.endX - drag.value.startX : 0;
1902
- if (sliderFrame.value) {
1903
- sliderFrame.value.style[transformProperty.value] = `translate3d(${offset2 + dragDistance}px, 0, 0)`;
1904
- }
1905
- currentSlide.value = mirrorSlideIndex + howManySlides;
1925
+ const containerWidth = bglSlider.value.offsetWidth;
1926
+ const gapWidth = containerWidth * GAP_PERCENT / 100;
1927
+ const totalGapWidth = (itemCount.value - 1) * gapWidth;
1928
+ const singleItemWidth = (containerWidth - totalGapWidth) / itemCount.value;
1929
+ const totalSlideWidth = singleItemWidth + gapWidth;
1930
+ const currentTransform = getCurrentTransform();
1931
+ let normalizedTransform = currentTransform;
1932
+ if (currentTransform > 0) {
1933
+ normalizedTransform = 0;
1934
+ } else {
1935
+ const minTransform = -(singleItemWidth * (slideCount.value - 1) + gapWidth * (slideCount.value - 1));
1936
+ if (currentTransform < minTransform) {
1937
+ normalizedTransform = minTransform;
1938
+ }
1939
+ }
1940
+ const currentPanel = Math.abs(normalizedTransform / totalSlideWidth);
1941
+ const totalSwipeDistance = lastX.value - startX.value;
1942
+ const swipePercentage = Math.abs(totalSwipeDistance) / totalSlideWidth;
1943
+ const finalVelocity = getAverageVelocity();
1944
+ let targetPanel = currentPanel;
1945
+ let velocityDirection = 0;
1946
+ if (Math.abs(finalVelocity) > THRESHOLDS.VELOCITY) {
1947
+ velocityDirection = finalVelocity < 0 ? 1 : -1;
1948
+ }
1949
+ const isMobile = window.innerWidth < 600;
1950
+ if (swipePercentage > THRESHOLDS.SWIPE_PERCENT || Math.abs(finalVelocity) > THRESHOLDS.VELOCITY) {
1951
+ const direction = swipePercentage > THRESHOLDS.SWIPE_PERCENT ? totalSwipeDistance > 0 ? -1 : 1 : velocityDirection;
1952
+ const rtlDirection = props2.rtl ? -direction : direction;
1953
+ if (isMobile) {
1954
+ targetPanel = activeSlideIndex.value + rtlDirection;
1906
1955
  } else {
1907
- currentSlide.value = currentSlide.value + howManySlides;
1956
+ targetPanel = Math.round(currentPanel) + rtlDirection;
1908
1957
  }
1909
1958
  } else {
1910
- currentSlide.value = Math.min(currentSlide.value + howManySlides, innerElements.value.length - perPage.value);
1911
- }
1912
- if (beforeChange !== currentSlide.value) {
1913
- slideToCurrent(config.value.loop);
1914
- config.value.onChange();
1959
+ targetPanel = isMobile ? activeSlideIndex.value : Math.round(currentPanel);
1960
+ }
1961
+ targetPanel = Math.max(0, Math.min(targetPanel, slideCount.value - 1));
1962
+ activeSlideIndex.value = targetPanel;
1963
+ const distance = Math.abs(targetPanel - currentPanel);
1964
+ const velocityFactor = Math.min(Math.abs(finalVelocity) * 1e3, 1);
1965
+ const duration = Math.min(
1966
+ ANIMATION_TIMINGS.BASE_DURATION * (1 - velocityFactor * 0.5) + distance * ANIMATION_TIMINGS.DURATION_PER_PANEL,
1967
+ ANIMATION_TIMINGS.MAX_DURATION
1968
+ );
1969
+ bglSlider.value.style.transition = `transform ${duration}ms cubic-bezier(0.4, 0, 0.2, 1)`;
1970
+ const gapsBeforeSlide = targetPanel * gapWidth;
1971
+ const targetTransform = -(singleItemWidth * targetPanel + gapsBeforeSlide);
1972
+ setTransform(targetTransform);
1973
+ setTimeout(() => {
1974
+ if (bglSlider.value) bglSlider.value.style.transition = "none";
1975
+ }, duration);
1976
+ velocityTracker.value = [];
1977
+ isDragging.value = false;
1978
+ hasScrollDirectionLock.value = false;
1979
+ }
1980
+ function onWheel(e) {
1981
+ if (!props2.allowScroll || !isSliderAvailable.value || !bglSlider.value || isPressed.value || isDragging.value) return;
1982
+ const isHorizontal = Math.abs(e.deltaX) > Math.abs(e.deltaY);
1983
+ if (!isHorizontal) return;
1984
+ clearAutoplay();
1985
+ if (wheelTimeout) clearTimeout(wheelTimeout);
1986
+ accumulatedDeltaX.value += props2.rtl ? -e.deltaX : e.deltaX;
1987
+ wheelTimeout = setTimeout(() => {
1988
+ accumulatedDeltaX.value = 0;
1989
+ }, 50);
1990
+ const singleItemWidth = bglSlider.value.offsetWidth / itemCount.value;
1991
+ const moveThreshold = singleItemWidth * THRESHOLDS.WHEEL_PERCENT;
1992
+ if (Math.abs(accumulatedDeltaX.value) > moveThreshold) {
1993
+ const direction = accumulatedDeltaX.value > 0 ? 1 : -1;
1994
+ const nextPanel = Math.max(0, Math.min(activeSlideIndex.value + direction, slideCount.value - 1));
1995
+ if (nextPanel !== activeSlideIndex.value) {
1996
+ goToSlide(nextPanel, true);
1997
+ accumulatedDeltaX.value = 0;
1998
+ }
1915
1999
  }
1916
2000
  }
1917
- function goTo(index2) {
1918
- if (innerElements.value.length <= perPage.value) {
1919
- return;
1920
- }
1921
- const beforeChange = currentSlide.value;
1922
- currentSlide.value = config.value.loop ? index2 % innerElements.value.length : Math.min(Math.max(index2, 0), innerElements.value.length - perPage.value);
1923
- if (beforeChange !== currentSlide.value) {
1924
- slideToCurrent();
1925
- config.value.onChange();
2001
+ vue.onMounted(() => {
2002
+ window.addEventListener("resize", handleResize);
2003
+ updateHeight();
2004
+ handleResize();
2005
+ countSlides();
2006
+ disableDrag();
2007
+ if (bglSlider.value) {
2008
+ slideCount.value = bglSlider.value.children.length;
1926
2009
  }
1927
- }
1928
- function disableTransition() {
1929
- if (sliderFrame.value) {
1930
- sliderFrame.value.style.webkitTransition = `all 0ms ${config.value.easing}`;
1931
- sliderFrame.value.style.transition = `all 0ms ${config.value.easing}`;
2010
+ if (props2.autoplay) {
2011
+ autoPlayInterval = setInterval(next, props2.autoPlaySpeed);
1932
2012
  }
1933
- }
1934
- function enableTransition() {
1935
- if (sliderFrame.value) {
1936
- sliderFrame.value.style.webkitTransition = `all ${config.value.duration}ms ${config.value.easing}`;
1937
- sliderFrame.value.style.transition = `all ${config.value.duration}ms ${config.value.easing}`;
2013
+ });
2014
+ vue.onUnmounted(() => {
2015
+ if (isSliderAvailable.value && bglSlider.value) {
2016
+ Array.from(bglSlider.value.children).forEach((child) => {
2017
+ const element = child;
2018
+ element.removeEventListener("click", preventDefaultClick);
2019
+ });
1938
2020
  }
2021
+ window.removeEventListener("resize", handleResize);
2022
+ document.removeEventListener("mousemove", onDrag);
2023
+ document.removeEventListener("mouseup", endDrag);
2024
+ clearAutoplay();
2025
+ if (wheelTimeout) clearTimeout(wheelTimeout);
2026
+ });
2027
+ vue.watch(() => props2.index, (newIndex2) => {
2028
+ goToSlide(newIndex2);
2029
+ });
2030
+ vue.watch(() => activeSlideIndex.value, handleSlideChange);
2031
+ __expose({
2032
+ goToSlide,
2033
+ next,
2034
+ prev,
2035
+ countSlides,
2036
+ clearAutoplay
2037
+ });
2038
+ return (_ctx, _cache) => {
2039
+ return vue.openBlock(), vue.createElementBlock("div", {
2040
+ class: "BglCarousel",
2041
+ dir: __props.rtl ? "rtl" : "ltr"
2042
+ }, [
2043
+ vue.createElementVNode("div", {
2044
+ ref_key: "bglSlider",
2045
+ ref: bglSlider,
2046
+ 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 }]),
2047
+ style: vue.normalizeStyle({ "--item-count": vue.unref(itemCount), "height": vue.unref(yHeight) }),
2048
+ onMousedown: startDrag,
2049
+ onMouseover: clearAutoplay,
2050
+ onFocusin: clearAutoplay,
2051
+ onTouchstart: onTouchStart,
2052
+ onTouchmove: onTouchMove,
2053
+ onTouchend: onTouchEnd,
2054
+ onWheel
2055
+ }, [
2056
+ vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
2057
+ ], 38),
2058
+ props2.dots && vue.unref(slideCount) > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$F, [
2059
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(slideCount), (i2) => {
2060
+ return vue.openBlock(), vue.createElementBlock("span", {
2061
+ key: i2,
2062
+ class: vue.normalizeClass(["dot", { current: vue.unref(activeSlideIndex) === i2 - 1 }]),
2063
+ onClick: ($event) => goToSlide(i2 - 1)
2064
+ }, null, 10, _hoisted_3$z);
2065
+ }), 128))
2066
+ ])) : vue.createCommentVNode("", true),
2067
+ vue.createElementVNode("div", {
2068
+ class: vue.normalizeClass(["navigation-buttons", { rtl: __props.rtl }])
2069
+ }, [
2070
+ vue.createElementVNode("span", {
2071
+ class: "prev",
2072
+ onClick: prev
2073
+ }, [
2074
+ vue.renderSlot(_ctx.$slots, "prev", {
2075
+ index: vue.unref(activeSlideIndex),
2076
+ prev
2077
+ }, void 0, true)
2078
+ ]),
2079
+ vue.createElementVNode("span", {
2080
+ class: "next",
2081
+ onClick: next
2082
+ }, [
2083
+ vue.renderSlot(_ctx.$slots, "next", {
2084
+ index: vue.unref(activeSlideIndex),
2085
+ next
2086
+ }, void 0, true)
2087
+ ])
2088
+ ], 2)
2089
+ ], 8, _hoisted_1$T);
2090
+ };
2091
+ }
2092
+ });
2093
+ const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-406c405d"]]);
2094
+ function _isPlaceholder(a2) {
2095
+ return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
2096
+ }
2097
+ function _curry1(fn) {
2098
+ return function f1(a2) {
2099
+ if (arguments.length === 0 || _isPlaceholder(a2)) {
2100
+ return f1;
2101
+ } else {
2102
+ return fn.apply(this, arguments);
1939
2103
  }
1940
- function updateAfterDrag() {
1941
- const movement = (config.value.rtl ? -1 : 1) * (drag.value.endX - drag.value.startX);
1942
- const movementDistance = Math.abs(movement);
1943
- const howManySliderToSlide = config.value.multipleDrag ? Math.ceil(movementDistance / (selectorWidth.value / perPage.value)) : 1;
1944
- const slideToNegativeClone = movement > 0 && currentSlide.value - howManySliderToSlide < 0;
1945
- const slideToPositiveClone = movement < 0 && currentSlide.value + howManySliderToSlide > innerElements.value.length - perPage.value;
1946
- if (movement > 0 && movementDistance > config.value.threshold && innerElements.value.length > perPage.value) {
1947
- prev(howManySliderToSlide);
1948
- } else if (movement < 0 && movementDistance > config.value.threshold && innerElements.value.length > perPage.value) {
1949
- next(howManySliderToSlide);
1950
- }
1951
- slideToCurrent(slideToNegativeClone || slideToPositiveClone);
2104
+ };
2105
+ }
2106
+ function _curry2(fn) {
2107
+ return function f2(a2, b2) {
2108
+ switch (arguments.length) {
2109
+ case 0:
2110
+ return f2;
2111
+ case 1:
2112
+ return _isPlaceholder(a2) ? f2 : _curry1(function(_b) {
2113
+ return fn(a2, _b);
2114
+ });
2115
+ default:
2116
+ return _isPlaceholder(a2) && _isPlaceholder(b2) ? f2 : _isPlaceholder(a2) ? _curry1(function(_a) {
2117
+ return fn(_a, b2);
2118
+ }) : _isPlaceholder(b2) ? _curry1(function(_b) {
2119
+ return fn(a2, _b);
2120
+ }) : fn(a2, b2);
1952
2121
  }
1953
- function resizeHandler() {
1954
- if (currentSlide.value + perPage.value > innerElements.value.length) {
1955
- currentSlide.value = innerElements.value.length <= perPage.value ? 0 : innerElements.value.length - perPage.value;
2122
+ };
2123
+ }
2124
+ function _arity(n2, fn) {
2125
+ switch (n2) {
2126
+ case 0:
2127
+ return function() {
2128
+ return fn.apply(this, arguments);
2129
+ };
2130
+ case 1:
2131
+ return function(a0) {
2132
+ return fn.apply(this, arguments);
2133
+ };
2134
+ case 2:
2135
+ return function(a0, a1) {
2136
+ return fn.apply(this, arguments);
2137
+ };
2138
+ case 3:
2139
+ return function(a0, a1, a2) {
2140
+ return fn.apply(this, arguments);
2141
+ };
2142
+ case 4:
2143
+ return function(a0, a1, a2, a3) {
2144
+ return fn.apply(this, arguments);
2145
+ };
2146
+ case 5:
2147
+ return function(a0, a1, a2, a3, a4) {
2148
+ return fn.apply(this, arguments);
2149
+ };
2150
+ case 6:
2151
+ return function(a0, a1, a2, a3, a4, a5) {
2152
+ return fn.apply(this, arguments);
2153
+ };
2154
+ case 7:
2155
+ return function(a0, a1, a2, a3, a4, a5, a6) {
2156
+ return fn.apply(this, arguments);
2157
+ };
2158
+ case 8:
2159
+ return function(a0, a1, a2, a3, a4, a5, a6, a7) {
2160
+ return fn.apply(this, arguments);
2161
+ };
2162
+ case 9:
2163
+ return function(a0, a1, a2, a3, a4, a5, a6, a7, a8) {
2164
+ return fn.apply(this, arguments);
2165
+ };
2166
+ case 10:
2167
+ return function(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
2168
+ return fn.apply(this, arguments);
2169
+ };
2170
+ default:
2171
+ throw new Error("First argument to _arity must be a non-negative integer no greater than ten");
2172
+ }
2173
+ }
2174
+ function _curryN(length, received, fn) {
2175
+ return function() {
2176
+ var combined = [];
2177
+ var argsIdx = 0;
2178
+ var left2 = length;
2179
+ var combinedIdx = 0;
2180
+ while (combinedIdx < received.length || argsIdx < arguments.length) {
2181
+ var result2;
2182
+ if (combinedIdx < received.length && (!_isPlaceholder(received[combinedIdx]) || argsIdx >= arguments.length)) {
2183
+ result2 = received[combinedIdx];
2184
+ } else {
2185
+ result2 = arguments[argsIdx];
2186
+ argsIdx += 1;
1956
2187
  }
1957
- if (carouselRef.value) {
1958
- selectorWidth.value = carouselRef.value.offsetWidth;
1959
- }
1960
- buildSliderFrame();
1961
- }
1962
- function clearDrag() {
1963
- drag.value = {
1964
- startX: 0,
1965
- endX: 0,
1966
- startY: 0,
1967
- letItGo: null,
1968
- preventClick: drag.value.preventClick
1969
- };
1970
- }
1971
- function touchstartHandler(e) {
1972
- const target = e.target;
1973
- const ignoreTags = ["TEXTAREA", "OPTION", "INPUT", "SELECT"].includes(target.nodeName);
1974
- if (ignoreTags) {
1975
- return;
1976
- }
1977
- stopAutoplay();
1978
- e.stopPropagation();
1979
- pointerDown.value = true;
1980
- isDragging.value = false;
1981
- drag.value.startX = e.touches[0].pageX;
1982
- drag.value.startY = e.touches[0].pageY;
1983
- const isLink = target.tagName === "A" || target.closest("a");
1984
- const isImage = target.tagName === "IMG";
1985
- if (isLink || isImage) {
1986
- drag.value.preventClick = false;
1987
- }
1988
- }
1989
- function touchendHandler(e) {
1990
- e.stopPropagation();
1991
- if (isDragging.value) {
1992
- document.addEventListener("click", function preventClickAfterDrag(event) {
1993
- event.preventDefault();
1994
- event.stopPropagation();
1995
- event.stopImmediatePropagation();
1996
- document.removeEventListener("click", preventClickAfterDrag, true);
1997
- }, { capture: true, once: true });
1998
- }
1999
- pointerDown.value = false;
2000
- isDragging.value = false;
2001
- enableTransition();
2002
- if (drag.value.endX) {
2003
- updateAfterDrag();
2004
- }
2005
- clearDrag();
2006
- if (config.value.autoplay !== "disabled") {
2007
- startAutoplay();
2008
- }
2009
- }
2010
- function touchmoveHandler(e) {
2011
- e.stopPropagation();
2012
- if (drag.value.letItGo === null) {
2013
- drag.value.letItGo = Math.abs(drag.value.startY - e.touches[0].pageY) < Math.abs(drag.value.startX - e.touches[0].pageX);
2014
- }
2015
- if (pointerDown.value && drag.value.letItGo) {
2016
- e.preventDefault();
2017
- drag.value.endX = e.touches[0].pageX;
2018
- const dragDistance = Math.abs(drag.value.endX - drag.value.startX);
2019
- if (dragDistance > dragThreshold) {
2020
- isDragging.value = true;
2021
- drag.value.preventClick = true;
2022
- }
2023
- if (sliderFrame.value) {
2024
- disableTransition();
2025
- const currentSlideValue = config.value.loop ? currentSlide.value + perPage.value : currentSlide.value;
2026
- const currentOffset = currentSlideValue * (selectorWidth.value / perPage.value);
2027
- const dragOffset = drag.value.endX - drag.value.startX;
2028
- const offset2 = config.value.rtl ? currentOffset + dragOffset : currentOffset - dragOffset;
2029
- sliderFrame.value.style[transformProperty.value] = `translate3d(${(config.value.rtl ? 1 : -1) * offset2}px, 0, 0)`;
2030
- }
2031
- }
2032
- }
2033
- function mousedownHandler(e) {
2034
- const target = e.target;
2035
- const ignoreTags = ["TEXTAREA", "OPTION", "INPUT", "SELECT"].includes(target.nodeName);
2036
- if (ignoreTags) return;
2037
- stopAutoplay();
2038
- e.preventDefault();
2039
- e.stopPropagation();
2040
- pointerDown.value = true;
2041
- isDragging.value = false;
2042
- drag.value.startX = e.pageX;
2043
- const isLink = target.tagName === "A" || target.closest("a");
2044
- const isImage = target.tagName === "IMG";
2045
- if (isLink || isImage) {
2046
- drag.value.preventClick = false;
2047
- }
2048
- }
2049
- function mouseupHandler(e) {
2050
- e.stopPropagation();
2051
- if (isDragging.value) {
2052
- document.addEventListener("click", function preventClickAfterDrag(event) {
2053
- event.preventDefault();
2054
- event.stopPropagation();
2055
- event.stopImmediatePropagation();
2056
- document.removeEventListener("click", preventClickAfterDrag, true);
2057
- }, { capture: true, once: true });
2058
- }
2059
- pointerDown.value = false;
2060
- isDragging.value = false;
2061
- if (carouselRef.value) {
2062
- carouselRef.value.style.cursor = "-webkit-grab";
2063
- }
2064
- enableTransition();
2065
- if (drag.value.endX) {
2066
- updateAfterDrag();
2067
- }
2068
- clearDrag();
2069
- if (config.value.autoplay !== "disabled" && !isHovering.value) {
2070
- startAutoplay();
2071
- }
2072
- }
2073
- function mousemoveHandler(e) {
2074
- e.preventDefault();
2075
- if (pointerDown.value) {
2076
- drag.value.endX = e.pageX;
2077
- const dragDistance = Math.abs(drag.value.endX - drag.value.startX);
2078
- if (dragDistance > dragThreshold) {
2079
- isDragging.value = true;
2080
- drag.value.preventClick = true;
2081
- }
2082
- if (carouselRef.value) {
2083
- carouselRef.value.style.cursor = "-webkit-grabbing";
2084
- }
2085
- if (sliderFrame.value) {
2086
- disableTransition();
2087
- const currentSlideValue = config.value.loop ? currentSlide.value + perPage.value : currentSlide.value;
2088
- const currentOffset = currentSlideValue * (selectorWidth.value / perPage.value);
2089
- const dragOffset = drag.value.endX - drag.value.startX;
2090
- const offset2 = config.value.rtl ? currentOffset + dragOffset : currentOffset - dragOffset;
2091
- sliderFrame.value.style[transformProperty.value] = `translate3d(${(config.value.rtl ? 1 : -1) * offset2}px, 0, 0)`;
2092
- }
2093
- }
2094
- }
2095
- function mouseleaveHandler(e) {
2096
- if (pointerDown.value) {
2097
- pointerDown.value = false;
2098
- if (carouselRef.value) {
2099
- carouselRef.value.style.cursor = "-webkit-grab";
2100
- }
2101
- drag.value.endX = e.pageX;
2102
- drag.value.preventClick = false;
2103
- enableTransition();
2104
- updateAfterDrag();
2105
- clearDrag();
2106
- }
2107
- }
2108
- function clickHandler2(e) {
2109
- if (drag.value.preventClick || isDragging.value) {
2110
- e.preventDefault();
2111
- e.stopPropagation();
2112
- e.stopImmediatePropagation();
2113
- drag.value.preventClick = false;
2114
- }
2115
- drag.value.preventClick = false;
2116
- }
2117
- function dragstartHandler(e) {
2118
- var _a;
2119
- if (config.value.draggable) {
2120
- const target = e.target;
2121
- const isDraggableElement = target.tagName === "IMG" || target.tagName === "A" || ((_a = target.parentElement) == null ? void 0 : _a.tagName) === "A";
2122
- if (isDraggableElement) {
2123
- e.preventDefault();
2124
- }
2125
- }
2126
- }
2127
- function remove2(index2) {
2128
- if (index2 < 0 || index2 >= innerElements.value.length) {
2129
- throw new Error("Item to remove doesn't exist 😭");
2130
- }
2131
- const lowerIndex = index2 < currentSlide.value;
2132
- const lastItem = currentSlide.value + perPage.value - 1 === index2;
2133
- if (lowerIndex || lastItem) {
2134
- currentSlide.value--;
2135
- }
2136
- innerElements.value.splice(index2, 1);
2137
- buildSliderFrame();
2138
- }
2139
- function insert(item, index2) {
2140
- if (index2 < 0 || index2 > innerElements.value.length + 1) {
2141
- throw new Error("Unable to insert at this index 😭");
2142
- }
2143
- if (innerElements.value.includes(item)) {
2144
- throw new Error("The same item in a carousel? Really? Nope 😭");
2145
- }
2146
- const shouldItShift = index2 <= currentSlide.value && innerElements.value.length > 0;
2147
- if (shouldItShift) {
2148
- currentSlide.value++;
2149
- }
2150
- innerElements.value.splice(index2, 0, item);
2151
- buildSliderFrame();
2152
- }
2153
- function prepend(item) {
2154
- insert(item, 0);
2155
- }
2156
- function append3(item) {
2157
- insert(item, innerElements.value.length);
2158
- }
2159
- function destroy2(restoreMarkup = false) {
2160
- detachEvents();
2161
- if (carouselRef.value) {
2162
- carouselRef.value.style.cursor = "auto";
2163
- if (restoreMarkup) {
2164
- const slides = document.createDocumentFragment();
2165
- for (let i2 = 0; i2 < innerElements.value.length; i2++) {
2166
- slides.appendChild(innerElements.value[i2]);
2167
- }
2168
- carouselRef.value.innerHTML = "";
2169
- carouselRef.value.appendChild(slides);
2170
- carouselRef.value.removeAttribute("style");
2171
- }
2172
- }
2173
- }
2174
- async function startAutoplay() {
2175
- stopAutoplay();
2176
- if (config.value.autoplay === "standard") {
2177
- autoplayTimer.value = window.setInterval(() => {
2178
- if (!isHovering.value) {
2179
- next();
2180
- }
2181
- }, config.value.autoplayInterval);
2182
- } else if (config.value.autoplay === "linear") {
2183
- startLinearAutoplay();
2184
- }
2185
- }
2186
- function stopAutoplay() {
2187
- if (autoplayTimer.value !== null) {
2188
- clearInterval(autoplayTimer.value);
2189
- autoplayTimer.value = null;
2190
- }
2191
- if (linearAnimationFrame.value !== null) {
2192
- cancelAnimationFrame(linearAnimationFrame.value);
2193
- linearAnimationFrame.value = null;
2194
- }
2195
- }
2196
- function startLinearAutoplay() {
2197
- linearOffset.value = 0;
2198
- let lastTimestamp = 0;
2199
- const animate = (timestamp2) => {
2200
- if (!lastTimestamp) lastTimestamp = timestamp2;
2201
- const elapsed = timestamp2 - lastTimestamp;
2202
- lastTimestamp = timestamp2;
2203
- if (isHovering.value) {
2204
- linearAnimationFrame.value = requestAnimationFrame(animate);
2205
- return;
2206
- }
2207
- const pixelsToMove = elapsed / 1e3 * config.value.autoplaySpeed;
2208
- linearOffset.value += pixelsToMove;
2209
- const itemWidth = selectorWidth.value / perPage.value;
2210
- const totalWidth = itemWidth * innerElements.value.length;
2211
- if (linearOffset.value >= totalWidth) {
2212
- if (config.value.loop) {
2213
- linearOffset.value = 0;
2214
- } else {
2215
- linearOffset.value = totalWidth - itemWidth;
2216
- stopAutoplay();
2217
- return;
2218
- }
2219
- }
2220
- if (sliderFrame.value) {
2221
- const direction = config.value.rtl ? 1 : -1;
2222
- sliderFrame.value.style.transition = "none";
2223
- sliderFrame.value.style[transformProperty.value] = `translate3d(${direction * linearOffset.value}px, 0, 0)`;
2224
- }
2225
- const newSlide = Math.floor(linearOffset.value / itemWidth) % innerElements.value.length;
2226
- if (newSlide !== currentSlide.value) {
2227
- currentSlide.value = newSlide;
2228
- config.value.onChange();
2229
- }
2230
- linearAnimationFrame.value = requestAnimationFrame(animate);
2231
- };
2232
- linearAnimationFrame.value = requestAnimationFrame(animate);
2233
- }
2234
- function mouseenterHandler() {
2235
- isHovering.value = true;
2236
- }
2237
- function mouseleaveAutoplayHandler() {
2238
- isHovering.value = false;
2239
- }
2240
- function pauseAutoplay() {
2241
- stopAutoplay();
2242
- }
2243
- function resumeAutoplay() {
2244
- if (config.value.autoplay !== "disabled") {
2245
- startAutoplay();
2246
- }
2247
- }
2248
- __expose({
2249
- prev,
2250
- next,
2251
- goTo,
2252
- remove: remove2,
2253
- insert,
2254
- prepend,
2255
- append: append3,
2256
- destroy: destroy2,
2257
- currentSlide,
2258
- pauseAutoplay,
2259
- resumeAutoplay
2260
- });
2261
- return (_ctx, _cache) => {
2262
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$S, [
2263
- vue.createElementVNode("div", {
2264
- ref_key: "carouselRef",
2265
- ref: carouselRef,
2266
- class: "carousel-container"
2267
- }, [
2268
- vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
2269
- ], 512),
2270
- props2.dots && totalDots.value > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$E, [
2271
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(totalDots.value, (i2) => {
2272
- return vue.openBlock(), vue.createElementBlock("button", {
2273
- key: i2,
2274
- type: "button",
2275
- class: vue.normalizeClass(["carousel-dot", [{ active: i2 - 1 === currentSlide.value }]]),
2276
- "aria-label": `Go to slide ${i2}`,
2277
- onClick: ($event) => goTo(i2 - 1)
2278
- }, null, 10, _hoisted_3$y);
2279
- }), 128))
2280
- ])) : vue.createCommentVNode("", true)
2281
- ]);
2282
- };
2283
- }
2284
- });
2285
- const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-6de4176c"]]);
2286
- function _isPlaceholder(a2) {
2287
- return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
2288
- }
2289
- function _curry1(fn) {
2290
- return function f1(a2) {
2291
- if (arguments.length === 0 || _isPlaceholder(a2)) {
2292
- return f1;
2293
- } else {
2294
- return fn.apply(this, arguments);
2295
- }
2296
- };
2297
- }
2298
- function _curry2(fn) {
2299
- return function f2(a2, b2) {
2300
- switch (arguments.length) {
2301
- case 0:
2302
- return f2;
2303
- case 1:
2304
- return _isPlaceholder(a2) ? f2 : _curry1(function(_b) {
2305
- return fn(a2, _b);
2306
- });
2307
- default:
2308
- return _isPlaceholder(a2) && _isPlaceholder(b2) ? f2 : _isPlaceholder(a2) ? _curry1(function(_a) {
2309
- return fn(_a, b2);
2310
- }) : _isPlaceholder(b2) ? _curry1(function(_b) {
2311
- return fn(a2, _b);
2312
- }) : fn(a2, b2);
2313
- }
2314
- };
2315
- }
2316
- function _arity(n2, fn) {
2317
- switch (n2) {
2318
- case 0:
2319
- return function() {
2320
- return fn.apply(this, arguments);
2321
- };
2322
- case 1:
2323
- return function(a0) {
2324
- return fn.apply(this, arguments);
2325
- };
2326
- case 2:
2327
- return function(a0, a1) {
2328
- return fn.apply(this, arguments);
2329
- };
2330
- case 3:
2331
- return function(a0, a1, a2) {
2332
- return fn.apply(this, arguments);
2333
- };
2334
- case 4:
2335
- return function(a0, a1, a2, a3) {
2336
- return fn.apply(this, arguments);
2337
- };
2338
- case 5:
2339
- return function(a0, a1, a2, a3, a4) {
2340
- return fn.apply(this, arguments);
2341
- };
2342
- case 6:
2343
- return function(a0, a1, a2, a3, a4, a5) {
2344
- return fn.apply(this, arguments);
2345
- };
2346
- case 7:
2347
- return function(a0, a1, a2, a3, a4, a5, a6) {
2348
- return fn.apply(this, arguments);
2349
- };
2350
- case 8:
2351
- return function(a0, a1, a2, a3, a4, a5, a6, a7) {
2352
- return fn.apply(this, arguments);
2353
- };
2354
- case 9:
2355
- return function(a0, a1, a2, a3, a4, a5, a6, a7, a8) {
2356
- return fn.apply(this, arguments);
2357
- };
2358
- case 10:
2359
- return function(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9) {
2360
- return fn.apply(this, arguments);
2361
- };
2362
- default:
2363
- throw new Error("First argument to _arity must be a non-negative integer no greater than ten");
2364
- }
2365
- }
2366
- function _curryN(length, received, fn) {
2367
- return function() {
2368
- var combined = [];
2369
- var argsIdx = 0;
2370
- var left2 = length;
2371
- var combinedIdx = 0;
2372
- while (combinedIdx < received.length || argsIdx < arguments.length) {
2373
- var result2;
2374
- if (combinedIdx < received.length && (!_isPlaceholder(received[combinedIdx]) || argsIdx >= arguments.length)) {
2375
- result2 = received[combinedIdx];
2376
- } else {
2377
- result2 = arguments[argsIdx];
2378
- argsIdx += 1;
2379
- }
2380
- combined[combinedIdx] = result2;
2381
- if (!_isPlaceholder(result2)) {
2382
- left2 -= 1;
2188
+ combined[combinedIdx] = result2;
2189
+ if (!_isPlaceholder(result2)) {
2190
+ left2 -= 1;
2383
2191
  }
2384
2192
  combinedIdx += 1;
2385
2193
  }
@@ -8116,7 +7924,7 @@ const _hoisted_1$1$1 = {
8116
7924
  style: { display: "flex", position: "relative" }
8117
7925
  };
8118
7926
  const _hoisted_2$1$1 = ["width", "height", "viewBox"];
8119
- const _hoisted_3$x = { class: "layer-rectangles" };
7927
+ const _hoisted_3$y = { class: "layer-rectangles" };
8120
7928
  const _hoisted_4$m = ["transform", "onMouseover"];
8121
7929
  const _hoisted_5$m = ["width", "height"];
8122
7930
  const _hoisted_6$j = {
@@ -8134,7 +7942,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
8134
7942
  viewBox: `0 0 ${_ctx.size.width} ${_ctx.size.height}`,
8135
7943
  ref: "el"
8136
7944
  }, [
8137
- vue.createElementVNode("g", _hoisted_3$x, [
7945
+ vue.createElementVNode("g", _hoisted_3$y, [
8138
7946
  (vue.openBlock(true), vue.createElementBlock(
8139
7947
  vue.Fragment,
8140
7948
  null,
@@ -8226,25 +8034,25 @@ var script = vue.defineComponent({
8226
8034
  return { bar, canvas, direction, mouse };
8227
8035
  }
8228
8036
  });
8229
- const _hoisted_1$R = {
8037
+ const _hoisted_1$S = {
8230
8038
  key: 0,
8231
8039
  class: "layer-hover-bar"
8232
8040
  };
8233
- const _hoisted_2$D = ["x", "y", "width", "height"];
8041
+ const _hoisted_2$E = ["x", "y", "width", "height"];
8234
8042
  function render(_ctx, _cache, $props, $setup, $data, $options) {
8235
- return _ctx.mouse.hover ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$R, [
8043
+ return _ctx.mouse.hover ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$S, [
8236
8044
  vue.createElementVNode("rect", vue.mergeProps({ class: "hover-bar" }, _ctx.barStyle, {
8237
8045
  x: _ctx.bar.x,
8238
8046
  y: _ctx.bar.y,
8239
8047
  width: _ctx.bar.width > 0 ? _ctx.bar.width : 0,
8240
8048
  height: _ctx.bar.height > 0 ? _ctx.bar.height : 0
8241
- }), null, 16, _hoisted_2$D)
8049
+ }), null, 16, _hoisted_2$E)
8242
8050
  ])) : vue.createCommentVNode("v-if", true);
8243
8051
  }
8244
8052
  script.render = render;
8245
8053
  script.__file = "src/components/HoverBar/index.vue";
8246
8054
  const BRAND_COLOR = "var(--bgl-primary)";
8247
- const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
8055
+ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
8248
8056
  __name: "Lineart",
8249
8057
  props: {
8250
8058
  data: {},
@@ -8412,8 +8220,8 @@ ${indent}}`;
8412
8220
  text: TextInput,
8413
8221
  textarea: TextInput,
8414
8222
  number: NumberInput,
8415
- array: _sfc_main$S,
8416
- color: _sfc_main$O,
8223
+ array: _sfc_main$T,
8224
+ color: _sfc_main$P,
8417
8225
  tel: TelInput,
8418
8226
  select: SelectInput,
8419
8227
  toggle: ToggleInput,
@@ -8421,9 +8229,9 @@ ${indent}}`;
8421
8229
  richtext: RichText,
8422
8230
  upload: UploadInput,
8423
8231
  file: UploadInput,
8424
- date: _sfc_main$M,
8232
+ date: _sfc_main$N,
8425
8233
  tabs: TabsNav,
8426
- form: _sfc_main$U,
8234
+ form: _sfc_main$V,
8427
8235
  range: RangeInput,
8428
8236
  email: EmailInput
8429
8237
  };
@@ -8720,12 +8528,12 @@ function useTableData(options) {
8720
8528
  schemaState: vue.computed(() => schemaState.value)
8721
8529
  };
8722
8530
  }
8723
- const _hoisted_1$Q = { class: "data-preview" };
8724
- const _hoisted_2$C = {
8531
+ const _hoisted_1$R = { class: "data-preview" };
8532
+ const _hoisted_2$D = {
8725
8533
  key: 1,
8726
8534
  class: "empty-preview"
8727
8535
  };
8728
- const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
8536
+ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
8729
8537
  __name: "DataPreview",
8730
8538
  props: {
8731
8539
  schema: { type: Function },
@@ -8767,17 +8575,17 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
8767
8575
  onUpdateModelValue: void 0
8768
8576
  });
8769
8577
  return (_ctx, _cache) => {
8770
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$Q, [
8578
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$R, [
8771
8579
  vue.unref(computedSchema) && vue.unref(computedSchema).length > 0 ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(vue.unref(computedSchema), (field) => {
8772
8580
  return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(renderField)(field, vue.unref(slots))), {
8773
8581
  key: field.id
8774
8582
  });
8775
- }), 128)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$C, " No data to display "))
8583
+ }), 128)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$D, " No data to display "))
8776
8584
  ]);
8777
8585
  };
8778
8586
  }
8779
8587
  });
8780
- const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-430b1998"]]);
8588
+ const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-430b1998"]]);
8781
8589
  function useTableSelection(options) {
8782
8590
  const allSelectorEl = vue.ref();
8783
8591
  const computedSelectedItems = vue.computed(() => options.selectedItems.value);
@@ -9714,15 +9522,15 @@ function useTableVirtualization(options) {
9714
9522
  registerLastItemObserver
9715
9523
  };
9716
9524
  }
9717
- const _hoisted_1$P = {
9525
+ const _hoisted_1$Q = {
9718
9526
  key: 0,
9719
9527
  class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
9720
9528
  };
9721
- const _hoisted_2$B = {
9529
+ const _hoisted_2$C = {
9722
9530
  key: 1,
9723
9531
  class: "flex-center h-300px txt-red"
9724
9532
  };
9725
- const _hoisted_3$w = { class: "infinite-wrapper" };
9533
+ const _hoisted_3$x = { class: "infinite-wrapper" };
9726
9534
  const _hoisted_4$l = { class: "row first-row" };
9727
9535
  const _hoisted_5$l = { key: 0 };
9728
9536
  const _hoisted_6$i = ["onClick"];
@@ -9731,7 +9539,7 @@ const _hoisted_8$8 = ["onClick"];
9731
9539
  const _hoisted_9$5 = { key: 0 };
9732
9540
  const _hoisted_10$5 = ["value"];
9733
9541
  const _hoisted_11$5 = { key: 1 };
9734
- const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
9542
+ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
9735
9543
  __name: "DataTable",
9736
9544
  props: /* @__PURE__ */ vue.mergeModels({
9737
9545
  data: {},
@@ -9852,13 +9660,13 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
9852
9660
  return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({ class: "table-list-wrap h-100" }, vue.unref(containerProps), {
9853
9661
  class: { "loading-table": showLoading.value }
9854
9662
  }), [
9855
- showLoading.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$P, _cache[4] || (_cache[4] = [
9663
+ showLoading.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$Q, _cache[4] || (_cache[4] = [
9856
9664
  vue.createElementVNode("div", { class: "loading-table-animation fixed oval top-7" }, null, -1)
9857
- ]))) : vue.unref(schemaState) === "error" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$B, " Error loading table schema ")) : vue.createCommentVNode("", true),
9665
+ ]))) : vue.unref(schemaState) === "error" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$C, " Error loading table schema ")) : vue.createCommentVNode("", true),
9858
9666
  vue.createElementVNode("div", vue.mergeProps(vue.unref(wrapperProps), {
9859
9667
  class: { "pointer-events-none": showLoading.value }
9860
9668
  }), [
9861
- vue.createElementVNode("table", _hoisted_3$w, [
9669
+ vue.createElementVNode("table", _hoisted_3$x, [
9862
9670
  vue.createElementVNode("thead", _hoisted_4$l, [
9863
9671
  vue.unref(isSelectable) ? (vue.openBlock(), vue.createElementBlock("th", _hoisted_5$l, [
9864
9672
  vue.createElementVNode("input", {
@@ -9881,7 +9689,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
9881
9689
  vue.createElementVNode("div", {
9882
9690
  class: vue.normalizeClass(["list-arrows", { sorted: vue.unref(sortField) === (field == null ? void 0 : field.id) }])
9883
9691
  }, [
9884
- vue.createVNode(vue.unref(_sfc_main$s), {
9692
+ vue.createVNode(vue.unref(_sfc_main$t), {
9885
9693
  class: vue.normalizeClass({ desc: vue.unref(sortDirection) === "DESC" }),
9886
9694
  icon: "keyboard_arrow_up"
9887
9695
  }, null, 8, ["class"])
@@ -9940,7 +9748,7 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
9940
9748
  };
9941
9749
  }
9942
9750
  });
9943
- const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-382d1c94"]]);
9751
+ const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-382d1c94"]]);
9944
9752
  function useDraggable(options = {}) {
9945
9753
  const isDragging = vue.ref(false);
9946
9754
  const dragElement = vue.ref(null);
@@ -10415,7 +10223,7 @@ function useDraggable(options = {}) {
10415
10223
  initDraggableContainer
10416
10224
  };
10417
10225
  }
10418
- const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
10226
+ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
10419
10227
  __name: "Draggable",
10420
10228
  props: {
10421
10229
  modelValue: {},
@@ -13035,7 +12843,7 @@ const Gt = {
13035
12843
  install: Ct,
13036
12844
  options: h
13037
12845
  };
13038
- const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
12846
+ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
13039
12847
  __name: "Dropdown",
13040
12848
  props: /* @__PURE__ */ vue.mergeModels({
13041
12849
  value: {},
@@ -13129,9 +12937,9 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
13129
12937
  };
13130
12938
  }
13131
12939
  });
13132
- const _hoisted_1$O = { class: "px-1 pt-025 pb-1" };
13133
- const _hoisted_2$A = { class: "ms-1" };
13134
- const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
12940
+ const _hoisted_1$P = { class: "px-1 pt-025 pb-1" };
12941
+ const _hoisted_2$B = { class: "ms-1" };
12942
+ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
13135
12943
  __name: "FieldSetVue",
13136
12944
  props: {
13137
12945
  label: {},
@@ -13139,15 +12947,15 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
13139
12947
  },
13140
12948
  setup(__props) {
13141
12949
  return (_ctx, _cache) => {
13142
- return vue.openBlock(), vue.createElementBlock("fieldset", _hoisted_1$O, [
13143
- vue.createElementVNode("legend", _hoisted_2$A, vue.toDisplayString(_ctx.legend || _ctx.label), 1),
12950
+ return vue.openBlock(), vue.createElementBlock("fieldset", _hoisted_1$P, [
12951
+ vue.createElementVNode("legend", _hoisted_2$B, vue.toDisplayString(_ctx.legend || _ctx.label), 1),
13144
12952
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
13145
12953
  ]);
13146
12954
  };
13147
12955
  }
13148
12956
  });
13149
- const FieldSetVue = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-f7e758e5"]]);
13150
- const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
12957
+ const FieldSetVue = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-f7e758e5"]]);
12958
+ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
13151
12959
  __name: "Flag",
13152
12960
  props: {
13153
12961
  country: {},
@@ -13177,7 +12985,7 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
13177
12985
  };
13178
12986
  }
13179
12987
  });
13180
- const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-f99f1900"]]);
12988
+ const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-f99f1900"]]);
13181
12989
  function getBaseField(id, labelOrRest = {}, rest = {}) {
13182
12990
  if (typeof labelOrRest === "object") return { id, ...labelOrRest };
13183
12991
  return { id, label: labelOrRest, ...rest };
@@ -13658,8 +13466,8 @@ function getNestedValue(obj, path, defaultValue = void 0) {
13658
13466
  }
13659
13467
  return current ?? defaultValue;
13660
13468
  }
13661
- const _hoisted_1$N = { class: "flex-center h-300px" };
13662
- const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
13469
+ const _hoisted_1$O = { class: "flex-center h-300px" };
13470
+ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
13663
13471
  __name: "BagelForm",
13664
13472
  props: {
13665
13473
  modelValue: { default: void 0 },
@@ -13793,7 +13601,7 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
13793
13601
  onInput: handleSlotInputChange
13794
13602
  }, [
13795
13603
  schemaState.value === "loading" ? vue.renderSlot(_ctx.$slots, "loading", { key: 0 }, () => [
13796
- vue.createElementVNode("div", _hoisted_1$N, [
13604
+ vue.createElementVNode("div", _hoisted_1$O, [
13797
13605
  vue.createVNode(vue.unref(Loading))
13798
13606
  ])
13799
13607
  ]) : schemaState.value === "error" ? vue.renderSlot(_ctx.$slots, "schema-error", { key: 1 }, () => [
@@ -13832,12 +13640,12 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
13832
13640
  };
13833
13641
  }
13834
13642
  });
13835
- const _hoisted_1$M = { class: "bgl-multi-step-form" };
13836
- const _hoisted_2$z = {
13643
+ const _hoisted_1$N = { class: "bgl-multi-step-form" };
13644
+ const _hoisted_2$A = {
13837
13645
  key: 0,
13838
13646
  class: "bgl-step-progress"
13839
13647
  };
13840
- const _hoisted_3$v = { class: "bgl-steps-indicator" };
13648
+ const _hoisted_3$w = { class: "bgl-steps-indicator" };
13841
13649
  const _hoisted_4$k = ["onClick"];
13842
13650
  const _hoisted_5$k = {
13843
13651
  key: 0,
@@ -13845,7 +13653,7 @@ const _hoisted_5$k = {
13845
13653
  };
13846
13654
  const _hoisted_6$h = { class: "bgl-form-wrapper" };
13847
13655
  const _hoisted_7$c = { class: "bgl-step-controls" };
13848
- const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
13656
+ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
13849
13657
  __name: "BglMultiStepForm",
13850
13658
  props: /* @__PURE__ */ vue.mergeModels({
13851
13659
  bagelFormProps: { default: () => ({}) },
@@ -14001,8 +13809,8 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
14001
13809
  prevStep
14002
13810
  });
14003
13811
  return (_ctx, _cache) => {
14004
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$M, [
14005
- _ctx.showProgress ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$z, [
13812
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$N, [
13813
+ _ctx.showProgress ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$A, [
14006
13814
  vue.renderSlot(_ctx.$slots, "progress", vue.normalizeProps(vue.guardReactiveProps({
14007
13815
  currentStep: currentStep.value,
14008
13816
  totalSteps: numberOfSteps.value,
@@ -14011,7 +13819,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
14011
13819
  allowStepNavigation: props2.allowStepNavigation,
14012
13820
  isStepValidated: isStepValidated.value
14013
13821
  })), () => [
14014
- vue.createElementVNode("div", _hoisted_3$v, [
13822
+ vue.createElementVNode("div", _hoisted_3$w, [
14015
13823
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(numberOfSteps.value, (_2, index2) => {
14016
13824
  return vue.openBlock(), vue.createElementBlock("div", {
14017
13825
  key: index2,
@@ -14041,7 +13849,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
14041
13849
  ref: formContainer,
14042
13850
  class: "bgl-form-container"
14043
13851
  }, [
14044
- vue.createVNode(vue.unref(_sfc_main$U), vue.mergeProps({
13852
+ vue.createVNode(vue.unref(_sfc_main$V), vue.mergeProps({
14045
13853
  ref_key: "formRef",
14046
13854
  ref: formRef,
14047
13855
  modelValue: formData.value,
@@ -14098,13 +13906,13 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
14098
13906
  };
14099
13907
  }
14100
13908
  });
14101
- const BglMultiStepForm = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-53bb3be3"]]);
14102
- const _hoisted_1$L = {
13909
+ const BglMultiStepForm = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-53bb3be3"]]);
13910
+ const _hoisted_1$M = {
14103
13911
  key: 0,
14104
13912
  class: "label mb-05"
14105
13913
  };
14106
- const _hoisted_2$y = { class: "ps-025 border-start mb-05" };
14107
- const _hoisted_3$u = {
13914
+ const _hoisted_2$z = { class: "ps-025 border-start mb-05" };
13915
+ const _hoisted_3$v = {
14108
13916
  key: 0,
14109
13917
  class: "flex-center h-300px"
14110
13918
  };
@@ -14117,7 +13925,7 @@ const _hoisted_5$j = {
14117
13925
  class: "minimizedText txt14 p-025 opacity-7"
14118
13926
  };
14119
13927
  const _hoisted_6$g = { class: "bg-gray-80 -my-05 px-025 pt-065 pb-05 txt-center space-between flex column" };
14120
- const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
13928
+ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
14121
13929
  __name: "FieldArray",
14122
13930
  props: {
14123
13931
  el: { default: "div" },
@@ -14226,10 +14034,10 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
14226
14034
  return vue.openBlock(), vue.createElementBlock("div", {
14227
14035
  class: vue.normalizeClass(props2.class)
14228
14036
  }, [
14229
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_1$L, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
14230
- vue.createElementVNode("div", _hoisted_2$y, [
14231
- schemaState.value !== "loaded" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$u, [
14232
- schemaState.value === "loading" ? (vue.openBlock(), vue.createBlock(vue.unref(Loading), { key: 0 })) : schemaState.value === "error" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
14037
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_1$M, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
14038
+ vue.createElementVNode("div", _hoisted_2$z, [
14039
+ schemaState.value !== "loaded" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$v, [
14040
+ schemaState.value === "loading" ? (vue.openBlock(), vue.createBlock(vue.unref(Loading), { key: 0 })) : schemaState.value === "error" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$t), {
14233
14041
  key: 1,
14234
14042
  icon: "error",
14235
14043
  color: "red"
@@ -14244,7 +14052,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
14244
14052
  thin: "",
14245
14053
  class: vue.normalizeClass(["mb-05 itemBox transition ps-05 pb-025 pt-025 radius-05 gap-05 overflow-hidden", { minimized: minimizedItems.value[i2] }])
14246
14054
  }, [
14247
- minimizedItems.value[i2] ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_5$j, vue.toDisplayString(_ctx.label) + " " + vue.toDisplayString(i2 + 1), 1)) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$U), {
14055
+ minimizedItems.value[i2] ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_5$j, vue.toDisplayString(_ctx.label) + " " + vue.toDisplayString(i2 + 1), 1)) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$V), {
14248
14056
  key: 1,
14249
14057
  "model-value": isPrimitiveType.value ? { value: item } : item,
14250
14058
  schema: resolvedSchemaData.value,
@@ -14289,8 +14097,8 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
14289
14097
  };
14290
14098
  }
14291
14099
  });
14292
- const _hoisted_1$K = { class: "primary-checkbox" };
14293
- const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
14100
+ const _hoisted_1$L = { class: "primary-checkbox" };
14101
+ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
14294
14102
  __name: "Checkbox",
14295
14103
  props: {
14296
14104
  "modelValue": { type: Boolean, ...{ default: false } },
@@ -14300,7 +14108,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
14300
14108
  setup(__props) {
14301
14109
  const val = vue.useModel(__props, "modelValue");
14302
14110
  return (_ctx, _cache) => {
14303
- return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$K, [
14111
+ return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$L, [
14304
14112
  vue.renderSlot(_ctx.$slots, "label", {}, void 0, true),
14305
14113
  vue.withDirectives(vue.createElementVNode("input", {
14306
14114
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
@@ -14312,11 +14120,11 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
14312
14120
  };
14313
14121
  }
14314
14122
  });
14315
- const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-73f1d9ad"]]);
14316
- const _hoisted_1$J = ["title"];
14317
- const _hoisted_2$x = ["id", "value", "required"];
14318
- const _hoisted_3$t = ["for"];
14319
- const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
14123
+ const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-73f1d9ad"]]);
14124
+ const _hoisted_1$K = ["title"];
14125
+ const _hoisted_2$y = ["id", "value", "required"];
14126
+ const _hoisted_3$u = ["for"];
14127
+ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
14320
14128
  __name: "CheckInput",
14321
14129
  props: /* @__PURE__ */ vue.mergeModels({
14322
14130
  label: {},
@@ -14349,7 +14157,7 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
14349
14157
  required: _ctx.required,
14350
14158
  type: "checkbox",
14351
14159
  class: "me-05"
14352
- }, null, 8, _hoisted_2$x), [
14160
+ }, null, 8, _hoisted_2$y), [
14353
14161
  [vue.vModelCheckbox, checked.value]
14354
14162
  ]),
14355
14163
  vue.createElementVNode("label", {
@@ -14358,25 +14166,25 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
14358
14166
  vue.renderSlot(_ctx.$slots, "label", {}, () => [
14359
14167
  vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
14360
14168
  ], true)
14361
- ], 8, _hoisted_3$t)
14362
- ], 10, _hoisted_1$J);
14169
+ ], 8, _hoisted_3$u)
14170
+ ], 10, _hoisted_1$K);
14363
14171
  };
14364
14172
  }
14365
14173
  });
14366
- const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-722373de"]]);
14367
- const _hoisted_1$I = { class: "mb-05" };
14368
- const _hoisted_2$w = {
14174
+ const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-722373de"]]);
14175
+ const _hoisted_1$J = { class: "mb-05" };
14176
+ const _hoisted_2$x = {
14369
14177
  key: 0,
14370
14178
  class: "label txt-start"
14371
14179
  };
14372
- const _hoisted_3$s = {
14180
+ const _hoisted_3$t = {
14373
14181
  key: 1,
14374
14182
  class: "code-editor-wrap grid rounded p-1 overflow hm-300px ltr txt-start relative h-100p"
14375
14183
  };
14376
14184
  const _hoisted_4$i = { class: "overflow-hidden absolute inset-0 p-0 m-0 h-100 codeText" };
14377
14185
  const _hoisted_5$i = ["innerHTML"];
14378
14186
  const _hoisted_6$f = ["onKeydown"];
14379
- const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
14187
+ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
14380
14188
  __name: "Index",
14381
14189
  props: {
14382
14190
  language: {},
@@ -14458,9 +14266,9 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
14458
14266
  }
14459
14267
  }, { immediate: true });
14460
14268
  return (_ctx, _cache) => {
14461
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$I, [
14462
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$w, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
14463
- vue.unref(loaded) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$s, [
14269
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$J, [
14270
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$x, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
14271
+ vue.unref(loaded) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$t, [
14464
14272
  vue.createElementVNode("div", {
14465
14273
  class: "relative block h-100",
14466
14274
  style: vue.normalizeStyle({ height: `calc(${vue.unref(elHeight)} - 2rem)` })
@@ -14494,11 +14302,11 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
14494
14302
  };
14495
14303
  }
14496
14304
  });
14497
- const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-13335b34"]]);
14498
- const _hoisted_1$H = ["title"];
14499
- const _hoisted_2$v = { class: "flex bg-input rounded px-025 colorInputPickWrap" };
14500
- const _hoisted_3$r = ["id", "placeholder", "required"];
14501
- const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
14305
+ const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-13335b34"]]);
14306
+ const _hoisted_1$I = ["title"];
14307
+ const _hoisted_2$w = { class: "flex bg-input rounded px-025 colorInputPickWrap" };
14308
+ const _hoisted_3$s = ["id", "placeholder", "required"];
14309
+ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
14502
14310
  __name: "ColorInput",
14503
14311
  props: {
14504
14312
  label: {},
@@ -14528,7 +14336,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
14528
14336
  }, [
14529
14337
  vue.createElementVNode("label", null, [
14530
14338
  vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
14531
- vue.createElementVNode("div", _hoisted_2$v, [
14339
+ vue.createElementVNode("div", _hoisted_2$w, [
14532
14340
  vue.withDirectives(vue.createElementVNode("input", vue.mergeProps({
14533
14341
  id: _ctx.id,
14534
14342
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputVal.value = $event),
@@ -14536,7 +14344,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
14536
14344
  type: "color",
14537
14345
  placeholder: _ctx.placeholder || _ctx.label,
14538
14346
  required: _ctx.required
14539
- }, _ctx.nativeInputAttrs), null, 16, _hoisted_3$r), [
14347
+ }, _ctx.nativeInputAttrs), null, 16, _hoisted_3$s), [
14540
14348
  [vue.vModelText, inputVal.value]
14541
14349
  ]),
14542
14350
  vue.withDirectives(vue.createElementVNode("input", {
@@ -14558,7 +14366,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
14558
14366
  }, null, 8, ["class"])
14559
14367
  ])
14560
14368
  ])
14561
- ], 10, _hoisted_1$H);
14369
+ ], 10, _hoisted_1$I);
14562
14370
  };
14563
14371
  }
14564
14372
  });
@@ -15079,9 +14887,9 @@ class Time {
15079
14887
  return number2 < 10 ? `0${number2}` : String(number2);
15080
14888
  }
15081
14889
  }
15082
- const _hoisted_1$G = { class: "ltr flex gap-075 m_flex-wrap calendar-container justify-content-center h-100p" };
15083
- const _hoisted_2$u = { class: "calendar-section m_border-none pe-05 m_p-0" };
15084
- const _hoisted_3$q = { class: "flex space-between pb-1" };
14890
+ const _hoisted_1$H = { class: "ltr flex gap-075 m_flex-wrap calendar-container justify-content-center h-100p" };
14891
+ const _hoisted_2$v = { class: "calendar-section m_border-none pe-05 m_p-0" };
14892
+ const _hoisted_3$r = { class: "flex space-between pb-1" };
15085
14893
  const _hoisted_4$h = { class: "flex gap-05" };
15086
14894
  const _hoisted_5$h = { class: "month-year" };
15087
14895
  const _hoisted_6$e = {
@@ -15102,7 +14910,7 @@ const _hoisted_10$4 = {
15102
14910
  class: "time-picker border-start flex column gap-1 w-120px px-025"
15103
14911
  };
15104
14912
  const _hoisted_11$4 = { class: "flex gap-025" };
15105
- const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
14913
+ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
15106
14914
  __name: "DatePicker",
15107
14915
  props: {
15108
14916
  modelValue: {},
@@ -15312,9 +15120,9 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
15312
15120
  }
15313
15121
  }
15314
15122
  return (_ctx, _cache) => {
15315
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$G, [
15316
- vue.createElementVNode("div", _hoisted_2$u, [
15317
- vue.createElementVNode("div", _hoisted_3$q, [
15123
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$H, [
15124
+ vue.createElementVNode("div", _hoisted_2$v, [
15125
+ vue.createElementVNode("div", _hoisted_3$r, [
15318
15126
  currentView.value === "days" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
15319
15127
  vue.createVNode(vue.unref(Btn), {
15320
15128
  flat: "",
@@ -15442,14 +15250,14 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
15442
15250
  };
15443
15251
  }
15444
15252
  });
15445
- const DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-8b7bd9b8"]]);
15446
- const _hoisted_1$F = ["title"];
15447
- const _hoisted_2$t = { key: 0 };
15448
- const _hoisted_3$p = {
15253
+ const DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-8b7bd9b8"]]);
15254
+ const _hoisted_1$G = ["title"];
15255
+ const _hoisted_2$u = { key: 0 };
15256
+ const _hoisted_3$q = {
15449
15257
  key: 0,
15450
15258
  class: "required"
15451
15259
  };
15452
- const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
15260
+ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
15453
15261
  __name: "DateInput",
15454
15262
  props: /* @__PURE__ */ vue.mergeModels({
15455
15263
  required: { type: Boolean },
@@ -15565,11 +15373,11 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
15565
15373
  onFocusin: _cache[4] || (_cache[4] = //@ts-ignore
15566
15374
  (...args) => vue.unref(handleFocus) && vue.unref(handleFocus)(...args))
15567
15375
  }, [
15568
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$t, [
15376
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$u, [
15569
15377
  vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
15570
- _ctx.required ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$p, "*")) : vue.createCommentVNode("", true)
15378
+ _ctx.required ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$q, "*")) : vue.createCommentVNode("", true)
15571
15379
  ])) : vue.createCommentVNode("", true),
15572
- vue.createVNode(vue.unref(_sfc_main$X), {
15380
+ vue.createVNode(vue.unref(_sfc_main$Y), {
15573
15381
  shown: isOpen.value,
15574
15382
  placement: "bottom-start",
15575
15383
  autoHide: false,
@@ -15624,7 +15432,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
15624
15432
  ]),
15625
15433
  _: 1
15626
15434
  }, 8, ["shown"])
15627
- ], 42, _hoisted_1$F);
15435
+ ], 42, _hoisted_1$G);
15628
15436
  };
15629
15437
  }
15630
15438
  });
@@ -15633,9 +15441,9 @@ const IMAGE_FORMATS_REGEXP = new RegExp(`(${IMAGE_FORMATS.join("|")})$`, "i");
15633
15441
  const VIDEO_FORMATS = ["mp4", "webm", "ogg", "mov", "avi", "flv", "wmv", "mkv", "ts", "m3u8"];
15634
15442
  const VIDEO_FORMATS_REGEXP = new RegExp(`(${VIDEO_FORMATS.join("|")})$`, "i");
15635
15443
  const EMAIL_REGEX = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\])|(([a-z\-0-9]+\.)+[a-z]{2,}))$/i;
15636
- const _hoisted_1$E = ["title"];
15637
- const _hoisted_2$s = ["for"];
15638
- const _hoisted_3$o = { class: "flex" };
15444
+ const _hoisted_1$F = ["title"];
15445
+ const _hoisted_2$t = ["for"];
15446
+ const _hoisted_3$p = { class: "flex" };
15639
15447
  const _hoisted_4$g = { key: 0 };
15640
15448
  const _hoisted_5$g = {
15641
15449
  key: 1,
@@ -15646,7 +15454,7 @@ const _hoisted_6$d = {
15646
15454
  class: "validating"
15647
15455
  };
15648
15456
  const _hoisted_7$a = ["id", "name", "title", "placeholder", "disabled", "required"];
15649
- const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
15457
+ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
15650
15458
  __name: "EmailInput",
15651
15459
  props: {
15652
15460
  id: {},
@@ -15910,7 +15718,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
15910
15718
  title: _ctx.title
15911
15719
  }, [
15912
15720
  vue.createElementVNode("label", { for: _ctx.id }, [
15913
- vue.createElementVNode("div", _hoisted_3$o, [
15721
+ vue.createElementVNode("div", _hoisted_3$p, [
15914
15722
  vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
15915
15723
  _ctx.required ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$g, "*")) : vue.createCommentVNode("", true),
15916
15724
  _ctx.helptext ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$g, vue.toDisplayString(_ctx.helptext), 1)) : vue.createCommentVNode("", true),
@@ -15943,30 +15751,30 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
15943
15751
  [vue.vModelText, vue.unref(inputVal)],
15944
15752
  [_directive_pattern, void 0, "lower"]
15945
15753
  ]),
15946
- _ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
15754
+ _ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$t), {
15947
15755
  key: 0,
15948
15756
  class: "iconStart",
15949
15757
  icon: _ctx.iconStart
15950
15758
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
15951
- _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
15759
+ _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$t), {
15952
15760
  key: 1,
15953
15761
  icon: _ctx.icon
15954
15762
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true)
15955
- ], 8, _hoisted_2$s)
15956
- ], 10, _hoisted_1$E);
15763
+ ], 8, _hoisted_2$t)
15764
+ ], 10, _hoisted_1$F);
15957
15765
  };
15958
15766
  }
15959
15767
  });
15960
- const EmailInput = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-e3d13caa"]]);
15961
- const _hoisted_1$D = { class: "bagel-input" };
15962
- const _hoisted_2$r = {
15768
+ const EmailInput = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-e3d13caa"]]);
15769
+ const _hoisted_1$E = { class: "bagel-input" };
15770
+ const _hoisted_2$s = {
15963
15771
  key: 0,
15964
15772
  placeholder: "required",
15965
15773
  type: "text",
15966
15774
  required: "",
15967
15775
  class: "pixel"
15968
15776
  };
15969
- const _hoisted_3$n = { class: "m-05 flex opacity-7 z-99" };
15777
+ const _hoisted_3$o = { class: "m-05 flex opacity-7 z-99" };
15970
15778
  const _hoisted_4$f = { class: "ellipsis-1 word-break-all h-20 m-0 color-black" };
15971
15779
  const _hoisted_5$f = { class: "flex gap-025 rounded pe-1 ps-05 py-025 bg-gray-80 -my-1" };
15972
15780
  const _hoisted_6$c = { class: "ellipsis-1 word-break-all h-20 m-0 color-black txt16" };
@@ -15999,7 +15807,7 @@ const _hoisted_15$1 = {
15999
15807
  };
16000
15808
  const _hoisted_16$1 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
16001
15809
  const _hoisted_17$1 = { class: "pretty balance" };
16002
- const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
15810
+ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
16003
15811
  __name: "FileUpload",
16004
15812
  props: /* @__PURE__ */ vue.mergeModels({
16005
15813
  label: {},
@@ -16174,10 +15982,10 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
16174
15982
  return (_ctx, _cache) => {
16175
15983
  const _directive_tooltip = vue.resolveDirective("tooltip");
16176
15984
  const _directive_lightbox = vue.resolveDirective("lightbox");
16177
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$D, [
15985
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$E, [
16178
15986
  vue.createElementVNode("label", null, vue.toDisplayString(_ctx.label), 1),
16179
- _ctx.required && !storageFiles.value.length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$r)) : vue.createCommentVNode("", true),
16180
- _ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$11), {
15987
+ _ctx.required && !storageFiles.value.length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$s)) : vue.createCommentVNode("", true),
15988
+ _ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$12), {
16181
15989
  key: 1,
16182
15990
  outline: "",
16183
15991
  class: "flex p-05 gap-1",
@@ -16198,7 +16006,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
16198
16006
  key: file.id,
16199
16007
  class: "txt-gray txt-12 flex"
16200
16008
  }, [
16201
- vue.createElementVNode("div", _hoisted_3$n, [
16009
+ vue.createElementVNode("div", _hoisted_3$o, [
16202
16010
  vue.withDirectives(vue.createVNode(vue.unref(Btn), {
16203
16011
  color: "gray",
16204
16012
  thin: "",
@@ -16233,7 +16041,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
16233
16041
  [_directive_lightbox, { src: file.url, download: true }]
16234
16042
  ]),
16235
16043
  vue.createElementVNode("div", _hoisted_5$f, [
16236
- vue.createVNode(vue.unref(_sfc_main$s), {
16044
+ vue.createVNode(vue.unref(_sfc_main$t), {
16237
16045
  icon: "draft",
16238
16046
  size: 1.5
16239
16047
  }),
@@ -16284,7 +16092,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
16284
16092
  class: "multi-preview",
16285
16093
  src: file.url,
16286
16094
  alt: ""
16287
- }, null, 8, ["src"])) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
16095
+ }, null, 8, ["src"])) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$t), {
16288
16096
  key: 1,
16289
16097
  icon: "draft",
16290
16098
  class: "multi-preview"
@@ -16314,7 +16122,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
16314
16122
  src: fileToUrl(fileQ.file),
16315
16123
  alt: ""
16316
16124
  }, null, 8, ["width", "src"])) : vue.createCommentVNode("", true)
16317
- ], 64)) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
16125
+ ], 64)) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$t), {
16318
16126
  key: 1,
16319
16127
  icon: "draft",
16320
16128
  class: "multi-preview"
@@ -16325,7 +16133,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
16325
16133
  style: vue.normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
16326
16134
  }, [
16327
16135
  fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_11$3, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
16328
- vue.createVNode(vue.unref(_sfc_main$s), {
16136
+ vue.createVNode(vue.unref(_sfc_main$t), {
16329
16137
  class: "success",
16330
16138
  icon: "check"
16331
16139
  })
@@ -16377,7 +16185,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
16377
16185
  }, null, 8, ["src"]), [
16378
16186
  [_directive_lightbox, { src: file.url, download: true }]
16379
16187
  ])
16380
- ])) : vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
16188
+ ])) : vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$t), {
16381
16189
  key: 1,
16382
16190
  size: 4,
16383
16191
  weight: "2",
@@ -16398,7 +16206,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
16398
16206
  style: vue.normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
16399
16207
  }, [
16400
16208
  fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_15$1, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
16401
- vue.createVNode(vue.unref(_sfc_main$s), {
16209
+ vue.createVNode(vue.unref(_sfc_main$t), {
16402
16210
  class: "success",
16403
16211
  icon: "check"
16404
16212
  })
@@ -16422,7 +16230,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
16422
16230
  browse
16423
16231
  }, () => [
16424
16232
  vue.createElementVNode("p", _hoisted_16$1, [
16425
- vue.createVNode(vue.unref(_sfc_main$s), { icon: "upload_2" }),
16233
+ vue.createVNode(vue.unref(_sfc_main$t), { icon: "upload_2" }),
16426
16234
  vue.createElementVNode("span", _hoisted_17$1, vue.toDisplayString(_ctx.dropPlaceholder || "Drag and Drop files here or click to upload"), 1)
16427
16235
  ])
16428
16236
  ], true) : vue.createCommentVNode("", true)
@@ -16431,11 +16239,11 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
16431
16239
  };
16432
16240
  }
16433
16241
  });
16434
- const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-50fd0597"]]);
16435
- const _hoisted_1$C = ["title"];
16436
- const _hoisted_2$q = { key: 0 };
16437
- const _hoisted_3$m = ["value", "placeholder"];
16438
- const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
16242
+ const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-50fd0597"]]);
16243
+ const _hoisted_1$D = ["title"];
16244
+ const _hoisted_2$r = { key: 0 };
16245
+ const _hoisted_3$n = ["value", "placeholder"];
16246
+ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
16439
16247
  __name: "JSONInput",
16440
16248
  props: {
16441
16249
  description: { default: "" },
@@ -16458,7 +16266,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
16458
16266
  class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
16459
16267
  title: _ctx.description
16460
16268
  }, [
16461
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$q, [
16269
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$r, [
16462
16270
  vue.createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
16463
16271
  ])) : vue.createCommentVNode("", true),
16464
16272
  vue.createElementVNode("textarea", {
@@ -16466,18 +16274,18 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
16466
16274
  class: vue.normalizeClass({ "no-edit": !_ctx.editMode }),
16467
16275
  placeholder: _ctx.placeholder,
16468
16276
  onInput: handleInput
16469
- }, null, 42, _hoisted_3$m)
16470
- ], 10, _hoisted_1$C);
16277
+ }, null, 42, _hoisted_3$n)
16278
+ ], 10, _hoisted_1$D);
16471
16279
  };
16472
16280
  }
16473
16281
  });
16474
- const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-1cbaeab2"]]);
16475
- const _hoisted_1$B = ["for"];
16476
- const _hoisted_2$p = {
16282
+ const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-1cbaeab2"]]);
16283
+ const _hoisted_1$C = ["for"];
16284
+ const _hoisted_2$q = {
16477
16285
  key: 0,
16478
16286
  class: "block"
16479
16287
  };
16480
- const _hoisted_3$l = ["id", "placeholder", "disabled", "required", "readonly", "pattern", "onKeydown"];
16288
+ const _hoisted_3$m = ["id", "placeholder", "disabled", "required", "readonly", "pattern", "onKeydown"];
16481
16289
  const _hoisted_4$e = {
16482
16290
  key: 1,
16483
16291
  class: "opacity-7 light"
@@ -16486,7 +16294,7 @@ const _hoisted_5$e = {
16486
16294
  key: 5,
16487
16295
  class: "flex column spinner"
16488
16296
  };
16489
- const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
16297
+ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
16490
16298
  __name: "NumberInput",
16491
16299
  props: {
16492
16300
  modelValue: {},
@@ -16591,7 +16399,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
16591
16399
  }])
16592
16400
  }, [
16593
16401
  vue.createElementVNode("div", { for: _ctx.id }, [
16594
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$p, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
16402
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$q, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
16595
16403
  vue.createElementVNode("div", {
16596
16404
  class: vue.normalizeClass(["gap-025", { "column flex": _ctx.layout === "vertical", "flex": _ctx.layout === "horizontal" }])
16597
16405
  }, [
@@ -16626,7 +16434,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
16626
16434
  vue.withKeys(vue.withModifiers(increment, ["prevent"]), ["up"]),
16627
16435
  vue.withKeys(vue.withModifiers(decrement, ["prevent"]), ["down"])
16628
16436
  ]
16629
- }, null, 42, _hoisted_3$l), [
16437
+ }, null, 42, _hoisted_3$m), [
16630
16438
  [
16631
16439
  vue.vModelText,
16632
16440
  vue.unref(formattedValue),
@@ -16641,12 +16449,12 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
16641
16449
  ]
16642
16450
  ]),
16643
16451
  _ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_4$e, vue.toDisplayString(_ctx.helptext), 1)) : vue.createCommentVNode("", true),
16644
- _ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
16452
+ _ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$t), {
16645
16453
  key: 2,
16646
16454
  class: "iconStart",
16647
16455
  icon: _ctx.iconStart
16648
16456
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
16649
- _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
16457
+ _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$t), {
16650
16458
  key: 3,
16651
16459
  icon: _ctx.icon
16652
16460
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
@@ -16679,14 +16487,14 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
16679
16487
  }, null, 8, ["disabled"])
16680
16488
  ])) : vue.createCommentVNode("", true)
16681
16489
  ], 2)
16682
- ], 8, _hoisted_1$B)
16490
+ ], 8, _hoisted_1$C)
16683
16491
  ], 2);
16684
16492
  };
16685
16493
  }
16686
16494
  });
16687
- const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-78609eff"]]);
16688
- const _hoisted_1$A = ["value", "autofocus", "onKeydown", "onPaste"];
16689
- const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
16495
+ const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-78609eff"]]);
16496
+ const _hoisted_1$B = ["value", "autofocus", "onKeydown", "onPaste"];
16497
+ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
16690
16498
  __name: "OTP",
16691
16499
  props: {
16692
16500
  digitCount: {},
@@ -16790,16 +16598,16 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
16790
16598
  onPaste: ($event) => handlePaste($event, ind),
16791
16599
  onKeyup: _cache[0] || (_cache[0] = vue.withModifiers(() => {
16792
16600
  }, ["prevent"]))
16793
- }, null, 40, _hoisted_1$A);
16601
+ }, null, 40, _hoisted_1$B);
16794
16602
  }), 128))
16795
16603
  ], 512);
16796
16604
  };
16797
16605
  }
16798
16606
  });
16799
- const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-ab0a46bf"]]);
16800
- const _hoisted_1$z = { class: "relative passwordInput" };
16801
- const _hoisted_2$o = { class: "m-password position-bottom-end flex column justify-content-center" };
16802
- const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
16607
+ const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-ab0a46bf"]]);
16608
+ const _hoisted_1$A = { class: "relative passwordInput" };
16609
+ const _hoisted_2$p = { class: "m-password position-bottom-end flex column justify-content-center" };
16610
+ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
16803
16611
  __name: "PasswordInput",
16804
16612
  props: /* @__PURE__ */ vue.mergeModels({
16805
16613
  id: {},
@@ -16839,7 +16647,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
16839
16647
  const toggleShowPwdIcon = vue.computed(() => showPwd.value ? "visibility_off" : "visibility");
16840
16648
  const inputType = vue.computed(() => showPwd.value ? "text" : "password");
16841
16649
  return (_ctx, _cache) => {
16842
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$z, [
16650
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$A, [
16843
16651
  vue.createVNode(vue.unref(TextInput), vue.mergeProps({
16844
16652
  modelValue: password.value,
16845
16653
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => password.value = $event)
@@ -16848,7 +16656,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
16848
16656
  class: "mb-0",
16849
16657
  name: props2.name
16850
16658
  }), null, 16, ["modelValue", "type", "name"]),
16851
- vue.createElementVNode("div", _hoisted_2$o, [
16659
+ vue.createElementVNode("div", _hoisted_2$p, [
16852
16660
  vue.createVNode(vue.unref(Btn), {
16853
16661
  flat: "",
16854
16662
  thin: "",
@@ -16861,9 +16669,9 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
16861
16669
  };
16862
16670
  }
16863
16671
  });
16864
- const _hoisted_1$y = ["for"];
16865
- const _hoisted_2$n = ["id", "disabled", "name", "value", "required"];
16866
- const _hoisted_3$k = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
16672
+ const _hoisted_1$z = ["for"];
16673
+ const _hoisted_2$o = ["id", "disabled", "name", "value", "required"];
16674
+ const _hoisted_3$l = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
16867
16675
  const _hoisted_4$d = ["src", "alt"];
16868
16676
  const _hoisted_5$d = { class: "" };
16869
16677
  const _hoisted_6$b = {
@@ -16874,7 +16682,7 @@ const _hoisted_7$8 = {
16874
16682
  key: 1,
16875
16683
  class: "txt-gray txt-12 m-0"
16876
16684
  };
16877
- const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
16685
+ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
16878
16686
  __name: "RadioGroup",
16879
16687
  props: /* @__PURE__ */ vue.mergeModels({
16880
16688
  groupName: {},
@@ -16932,10 +16740,10 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
16932
16740
  onFocus: handleFocus,
16933
16741
  onBlur: handleBlur,
16934
16742
  onChange: handleChange
16935
- }, null, 40, _hoisted_2$n), [
16743
+ }, null, 40, _hoisted_2$o), [
16936
16744
  [vue.vModelRadio, selectedOption.value]
16937
16745
  ]),
16938
- vue.createElementVNode("div", _hoisted_3$k, [
16746
+ vue.createElementVNode("div", _hoisted_3$l, [
16939
16747
  opt.imgSrc ? (vue.openBlock(), vue.createElementBlock("img", {
16940
16748
  key: 0,
16941
16749
  class: "bg-popup shadow-light py-025 radius-05 m_w40",
@@ -16957,19 +16765,19 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
16957
16765
  icon: "delete",
16958
16766
  onClick: ($event) => _ctx.$emit("delete", opt)
16959
16767
  }, null, 8, ["onClick"])) : vue.createCommentVNode("", true)
16960
- ], 8, _hoisted_1$y);
16768
+ ], 8, _hoisted_1$z);
16961
16769
  }), 128))
16962
16770
  ], 2);
16963
16771
  };
16964
16772
  }
16965
16773
  });
16966
- const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-29cff93d"]]);
16967
- const _hoisted_1$x = { class: "bagel-input" };
16968
- const _hoisted_2$m = { class: "pb-025" };
16969
- const _hoisted_3$j = { class: "flex gap-05 flex-wrap" };
16774
+ const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-29cff93d"]]);
16775
+ const _hoisted_1$y = { class: "bagel-input" };
16776
+ const _hoisted_2$n = { class: "pb-025" };
16777
+ const _hoisted_3$k = { class: "flex gap-05 flex-wrap" };
16970
16778
  const _hoisted_4$c = ["id", "name", "value", "checked"];
16971
16779
  const _hoisted_5$c = ["for"];
16972
- const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
16780
+ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
16973
16781
  __name: "RadioPillsInput",
16974
16782
  props: {
16975
16783
  options: {},
@@ -17012,9 +16820,9 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
17012
16820
  selectedValue.value = props2.modelValue;
17013
16821
  });
17014
16822
  return (_ctx, _cache) => {
17015
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$x, [
17016
- vue.createElementVNode("label", _hoisted_2$m, vue.toDisplayString(_ctx.label), 1),
17017
- vue.createElementVNode("div", _hoisted_3$j, [
16823
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$y, [
16824
+ vue.createElementVNode("label", _hoisted_2$n, vue.toDisplayString(_ctx.label), 1),
16825
+ vue.createElementVNode("div", _hoisted_3$k, [
17018
16826
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.options, (option2, index2) => {
17019
16827
  return vue.openBlock(), vue.createElementBlock("div", {
17020
16828
  key: index2,
@@ -17038,18 +16846,18 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
17038
16846
  };
17039
16847
  }
17040
16848
  });
17041
- const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-68b4cdd0"]]);
17042
- const _hoisted_1$w = ["dir"];
17043
- const _hoisted_2$l = {
16849
+ const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-68b4cdd0"]]);
16850
+ const _hoisted_1$x = ["dir"];
16851
+ const _hoisted_2$m = {
17044
16852
  key: 0,
17045
16853
  class: "label"
17046
16854
  };
17047
- const _hoisted_3$i = { class: "range-slider relative w-100" };
16855
+ const _hoisted_3$j = { class: "range-slider relative w-100" };
17048
16856
  const _hoisted_4$b = ["id", "value", "min", "max", "step", "required", "disabled", "aria-label"];
17049
16857
  const _hoisted_5$b = ["value", "min", "max", "step", "required", "disabled"];
17050
16858
  const _hoisted_6$a = { class: "track absolute pointer-events-none overflow-hidden round" };
17051
16859
  const _hoisted_7$7 = { class: "txt-center txt-14 user-select-none range-slider-txt flex space-between opacity-4 mx-05" };
17052
- const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
16860
+ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
17053
16861
  __name: "RangeInput",
17054
16862
  props: {
17055
16863
  modelValue: {},
@@ -17113,8 +16921,8 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
17113
16921
  return vue.openBlock(), vue.createElementBlock("div", {
17114
16922
  dir: _ctx.rtl ? "rtl" : "ltr"
17115
16923
  }, [
17116
- props2.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$l, vue.toDisplayString(props2.label), 1)) : vue.createCommentVNode("", true),
17117
- vue.createElementVNode("div", _hoisted_3$i, [
16924
+ props2.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$m, vue.toDisplayString(props2.label), 1)) : vue.createCommentVNode("", true),
16925
+ vue.createElementVNode("div", _hoisted_3$j, [
17118
16926
  vue.createElementVNode("input", {
17119
16927
  id: _ctx.id,
17120
16928
  value: validFrom.value,
@@ -17205,11 +17013,11 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
17205
17013
  vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(formatValue)(vue.unref(max2))), 1)
17206
17014
  ], true)
17207
17015
  ])
17208
- ], 8, _hoisted_1$w);
17016
+ ], 8, _hoisted_1$x);
17209
17017
  };
17210
17018
  }
17211
17019
  });
17212
- const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-46e22f3e"]]);
17020
+ const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-46e22f3e"]]);
17213
17021
  const basicToolbarConfig = [
17214
17022
  "h2",
17215
17023
  "h3",
@@ -17275,11 +17083,11 @@ const toolbarOptions = [
17275
17083
  { name: "separator" },
17276
17084
  { name: "fullScreen", label: "Full Screen", icon: "fullscreen", class: "ms-auto" }
17277
17085
  ];
17278
- const _hoisted_1$v = { class: "grid grid-wrap p-05" };
17279
- const _hoisted_2$k = ["onMousemove", "onClick"];
17280
- const _hoisted_3$h = { class: "txt-center txt-12 color-gray" };
17086
+ const _hoisted_1$w = { class: "grid grid-wrap p-05" };
17087
+ const _hoisted_2$l = ["onMousemove", "onClick"];
17088
+ const _hoisted_3$i = { class: "txt-center txt-12 color-gray" };
17281
17089
  const fb = 1;
17282
- const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
17090
+ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
17283
17091
  __name: "gridBox",
17284
17092
  props: {
17285
17093
  gridSize: {}
@@ -17300,7 +17108,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
17300
17108
  return hoveredCol.value > base - 1 ? enlarge : base;
17301
17109
  });
17302
17110
  return (_ctx, _cache) => {
17303
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$v, [
17111
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [
17304
17112
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(rowSize.value, (row) => {
17305
17113
  return vue.openBlock(), vue.createElementBlock("div", {
17306
17114
  key: `row-${row}`,
@@ -17327,21 +17135,21 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
17327
17135
  hoveredCol.value = col;
17328
17136
  },
17329
17137
  onClick: ($event) => emit2("select", `${row}x${col}`)
17330
- }, null, 42, _hoisted_2$k);
17138
+ }, null, 42, _hoisted_2$l);
17331
17139
  }), 128))
17332
17140
  ], 32);
17333
17141
  }), 128)),
17334
- vue.createElementVNode("p", _hoisted_3$h, vue.toDisplayString(hoveredRow.value) + "x" + vue.toDisplayString(hoveredCol.value), 1)
17142
+ vue.createElementVNode("p", _hoisted_3$i, vue.toDisplayString(hoveredRow.value) + "x" + vue.toDisplayString(hoveredCol.value), 1)
17335
17143
  ]);
17336
17144
  };
17337
17145
  }
17338
17146
  });
17339
- const GridBox = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-2f424c9c"]]);
17340
- const _hoisted_1$u = {
17147
+ const GridBox = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-2f424c9c"]]);
17148
+ const _hoisted_1$v = {
17341
17149
  class: "toolbar flex gap-025 pb-05 flex-wrap",
17342
17150
  role: "toolbar"
17343
17151
  };
17344
- const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
17152
+ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
17345
17153
  __name: "EditorToolbar",
17346
17154
  props: {
17347
17155
  config: { default: basicToolbarConfig },
@@ -17356,10 +17164,10 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
17356
17164
  }
17357
17165
  return (_ctx, _cache) => {
17358
17166
  const _directive_tooltip = vue.resolveDirective("tooltip");
17359
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$u, [
17167
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$v, [
17360
17168
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.config.map(configToOption).filter(Boolean), (action, index2) => {
17361
17169
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
17362
- action.name === "insertTable" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$X), {
17170
+ action.name === "insertTable" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$Y), {
17363
17171
  key: 0,
17364
17172
  placement: "bottom-start",
17365
17173
  thin: "",
@@ -17397,7 +17205,7 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
17397
17205
  };
17398
17206
  }
17399
17207
  });
17400
- const EditorToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-7e9466dc"]]);
17208
+ const EditorToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-7e9466dc"]]);
17401
17209
  function isStyleActive(style, doc) {
17402
17210
  const selection = doc.getSelection();
17403
17211
  if (!selection || !selection.rangeCount) return false;
@@ -18964,13 +18772,13 @@ function isNodeEmpty(node) {
18964
18772
  if (brElements.length === 0) return true;
18965
18773
  return brElements.length === 1 && node.childNodes.length <= 2;
18966
18774
  }
18967
- const _hoisted_1$t = { class: "bagel-input" };
18968
- const _hoisted_2$j = { class: "content-area radius-05" };
18969
- const _hoisted_3$g = {
18775
+ const _hoisted_1$u = { class: "bagel-input" };
18776
+ const _hoisted_2$k = { class: "content-area radius-05" };
18777
+ const _hoisted_3$h = {
18970
18778
  key: 1,
18971
18779
  class: "flex"
18972
18780
  };
18973
- const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
18781
+ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
18974
18782
  __name: "index",
18975
18783
  props: {
18976
18784
  modelValue: {},
@@ -19087,7 +18895,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
19087
18895
  });
19088
18896
  return (_ctx, _cache) => {
19089
18897
  var _a, _b;
19090
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$t, [
18898
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$u, [
19091
18899
  vue.createElementVNode("label", null, vue.toDisplayString(_ctx.label), 1),
19092
18900
  vue.createElementVNode("div", {
19093
18901
  class: vue.normalizeClass(["rich-text-editor rounded pt-05 px-05 pb-075", { "fullscreen-mode": vue.unref(editor).state.isFullscreen }])
@@ -19101,7 +18909,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
19101
18909
  vue.createElementVNode("div", {
19102
18910
  class: vue.normalizeClass(["editor-container", { "split-view": vue.unref(editor).state.isSplitView }])
19103
18911
  }, [
19104
- vue.createElementVNode("div", _hoisted_2$j, [
18912
+ vue.createElementVNode("div", _hoisted_2$k, [
19105
18913
  vue.createElementVNode("iframe", {
19106
18914
  id: "rich-text-iframe",
19107
18915
  ref_key: "iframe",
@@ -19124,7 +18932,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
19124
18932
  class: "code-editor"
19125
18933
  }, null, 8, ["modelValue"])) : vue.createCommentVNode("", true)
19126
18934
  ], 2),
19127
- _ctx.debug ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$g, [
18935
+ _ctx.debug ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$h, [
19128
18936
  _cache[6] || (_cache[6] = vue.createElementVNode("p", { class: "text12 txt-gray mb-0 p-0" }, " Debug ", -1)),
19129
18937
  vue.createVNode(vue.unref(Btn), {
19130
18938
  thin: "",
@@ -19168,10 +18976,10 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
19168
18976
  };
19169
18977
  }
19170
18978
  });
19171
- const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-30bcda4c"]]);
19172
- const _hoisted_1$s = { key: 0 };
19173
- const _hoisted_2$i = { class: "flex gap-05" };
19174
- const _hoisted_3$f = ["disabled"];
18979
+ const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-30bcda4c"]]);
18980
+ const _hoisted_1$t = { key: 0 };
18981
+ const _hoisted_2$j = { class: "flex gap-05" };
18982
+ const _hoisted_3$g = ["disabled"];
19175
18983
  const _hoisted_4$a = { key: 1 };
19176
18984
  const _hoisted_5$a = {
19177
18985
  key: 2,
@@ -19180,7 +18988,7 @@ const _hoisted_5$a = {
19180
18988
  const _hoisted_6$9 = ["value"];
19181
18989
  const _hoisted_7$6 = ["aria-selected", "onClick", "onKeydown"];
19182
18990
  const _hoisted_8$5 = { class: "block" };
19183
- const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
18991
+ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
19184
18992
  __name: "SelectInput",
19185
18993
  props: {
19186
18994
  options: {},
@@ -19340,7 +19148,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
19340
19148
  }
19341
19149
  });
19342
19150
  return (_ctx, _cache) => {
19343
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$X), {
19151
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$Y), {
19344
19152
  ref_key: "dropdown",
19345
19153
  ref: dropdown,
19346
19154
  shown: vue.unref(open),
@@ -19354,8 +19162,8 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
19354
19162
  trigger: vue.withCtx(() => [
19355
19163
  vue.createElementVNode("label", null, [
19356
19164
  vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
19357
- _ctx.required ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$s, "*")) : vue.createCommentVNode("", true),
19358
- vue.createElementVNode("div", _hoisted_2$i, [
19165
+ _ctx.required ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$t, "*")) : vue.createCommentVNode("", true),
19166
+ vue.createElementVNode("div", _hoisted_2$j, [
19359
19167
  _ctx.searchable && vue.unref(open) ? (vue.openBlock(), vue.createBlock(vue.unref(TextInput), {
19360
19168
  key: 0,
19361
19169
  ref_key: "searchInput",
@@ -19381,7 +19189,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
19381
19189
  _cache[6] || (_cache[6] = vue.withKeys(vue.withModifiers(($event) => navigate("up"), ["prevent"]), ["up"]))
19382
19190
  ]
19383
19191
  }, [
19384
- _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
19192
+ _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$t), {
19385
19193
  key: 0,
19386
19194
  icon: _ctx.icon
19387
19195
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
@@ -19398,11 +19206,11 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
19398
19206
  })
19399
19207
  })
19400
19208
  ])) : vue.createCommentVNode("", true),
19401
- !_ctx.disabled ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), vue.mergeProps({
19209
+ !_ctx.disabled ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$t), vue.mergeProps({
19402
19210
  key: 3,
19403
19211
  thin: ""
19404
19212
  }, { icon: vue.unref(open) ? "unfold_less" : "unfold_more" }), null, 16)) : vue.createCommentVNode("", true)
19405
- ], 42, _hoisted_3$f)),
19213
+ ], 42, _hoisted_3$g)),
19406
19214
  _ctx.required ? (vue.openBlock(), vue.createElementBlock("input", {
19407
19215
  key: 2,
19408
19216
  tabindex: "-1",
@@ -19421,7 +19229,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
19421
19229
  height: "25px",
19422
19230
  class: "mx-1 my-1"
19423
19231
  })) : vue.createCommentVNode("", true),
19424
- vue.createVNode(vue.unref(_sfc_main$11), {
19232
+ vue.createVNode(vue.unref(_sfc_main$12), {
19425
19233
  class: "p-05",
19426
19234
  style: vue.normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" }),
19427
19235
  onClick: _cache[9] || (_cache[9] = vue.withModifiers(() => {
@@ -19448,12 +19256,12 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
19448
19256
  ]
19449
19257
  }, [
19450
19258
  _ctx.multiselect ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
19451
- isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
19259
+ isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$t), {
19452
19260
  key: 0,
19453
19261
  size: 1.1,
19454
19262
  icon: "select_check_box"
19455
19263
  })) : vue.createCommentVNode("", true),
19456
- !isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
19264
+ !isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$t), {
19457
19265
  key: 1,
19458
19266
  class: "opacity-3",
19459
19267
  icon: "check_box_outline_blank",
@@ -19474,7 +19282,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
19474
19282
  };
19475
19283
  }
19476
19284
  });
19477
- const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-c16650b4"]]);
19285
+ const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-c16650b4"]]);
19478
19286
  /*!
19479
19287
  * Signature Pad v5.0.7 | https://github.com/szimek/signature_pad
19480
19288
  * (c) 2025 Szymon Nowak | Released under the MIT license
@@ -20071,15 +19879,15 @@ class SignaturePad extends SignatureEventTarget {
20071
19879
  return svg.outerHTML;
20072
19880
  }
20073
19881
  }
20074
- const _hoisted_1$r = ["disabled"];
20075
- const _hoisted_2$h = {
19882
+ const _hoisted_1$s = ["disabled"];
19883
+ const _hoisted_2$i = {
20076
19884
  key: 1,
20077
19885
  placeholder: "required",
20078
19886
  type: "text",
20079
19887
  required: "",
20080
19888
  class: "pixel opacity-0"
20081
19889
  };
20082
- const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
19890
+ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
20083
19891
  __name: "SignaturePad",
20084
19892
  props: /* @__PURE__ */ vue.mergeModels({
20085
19893
  sigOption: {},
@@ -20275,8 +20083,8 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
20275
20083
  ref: vCanvas,
20276
20084
  class: "canvas",
20277
20085
  disabled: _ctx.disabled
20278
- }, null, 8, _hoisted_1$r),
20279
- _ctx.required && vue.unref(_isEmpty) ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$h)) : vue.createCommentVNode("", true)
20086
+ }, null, 8, _hoisted_1$s),
20087
+ _ctx.required && vue.unref(_isEmpty) ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$i)) : vue.createCommentVNode("", true)
20280
20088
  ], 34);
20281
20089
  };
20282
20090
  }
@@ -22760,13 +22568,13 @@ const VueDraggableNext = vue.defineComponent({
22760
22568
  }
22761
22569
  }
22762
22570
  });
22763
- const _hoisted_1$q = ["title"];
22764
- const _hoisted_2$g = { class: "bagel-input" };
22765
- const _hoisted_3$e = { class: "table-side-scroll" };
22571
+ const _hoisted_1$r = ["title"];
22572
+ const _hoisted_2$h = { class: "bagel-input" };
22573
+ const _hoisted_3$f = { class: "table-side-scroll" };
22766
22574
  const _hoisted_4$9 = { class: "table-header" };
22767
22575
  const _hoisted_5$9 = { class: "table-reorder" };
22768
22576
  const _hoisted_6$8 = { class: "table-action" };
22769
- const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
22577
+ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
22770
22578
  __name: "TableField",
22771
22579
  props: {
22772
22580
  description: { default: "" },
@@ -22831,10 +22639,10 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
22831
22639
  class: "table-field-wrap",
22832
22640
  title: _ctx.description
22833
22641
  }, [
22834
- vue.createElementVNode("div", _hoisted_2$g, [
22642
+ vue.createElementVNode("div", _hoisted_2$h, [
22835
22643
  vue.createElementVNode("label", null, vue.toDisplayString((_a = vue.unref(fieldMeta)) == null ? void 0 : _a.label), 1)
22836
22644
  ]),
22837
- vue.createElementVNode("div", _hoisted_3$e, [
22645
+ vue.createElementVNode("div", _hoisted_3$f, [
22838
22646
  vue.createElementVNode("div", _hoisted_4$9, [
22839
22647
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_b = vue.unref(entityMeta)) == null ? void 0 : _b.fields, (field) => {
22840
22648
  return vue.openBlock(), vue.createElementBlock("div", {
@@ -22863,7 +22671,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
22863
22671
  class: "flex table-row"
22864
22672
  }, [
22865
22673
  vue.createElementVNode("div", _hoisted_5$9, [
22866
- vue.createVNode(vue.unref(_sfc_main$s), { icon: "more_vert" })
22674
+ vue.createVNode(vue.unref(_sfc_main$t), { icon: "more_vert" })
22867
22675
  ]),
22868
22676
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_a2 = vue.unref(entityMeta)) == null ? void 0 : _a2.fields, (field) => {
22869
22677
  return vue.openBlock(), vue.createElementBlock("div", {
@@ -22880,7 +22688,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
22880
22688
  ], 2);
22881
22689
  }), 128)),
22882
22690
  vue.createElementVNode("div", _hoisted_6$8, [
22883
- vue.createVNode(vue.unref(_sfc_main$s), {
22691
+ vue.createVNode(vue.unref(_sfc_main$t), {
22884
22692
  icon: "delete",
22885
22693
  onClick: ($event) => removeRow(index2)
22886
22694
  }, null, 8, ["onClick"])
@@ -22906,11 +22714,11 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
22906
22714
  ])),
22907
22715
  _: 1
22908
22716
  })
22909
- ], 8, _hoisted_1$q);
22717
+ ], 8, _hoisted_1$r);
22910
22718
  };
22911
22719
  }
22912
22720
  });
22913
- const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-e9632f79"]]);
22721
+ const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-e9632f79"]]);
22914
22722
  function bind(fn, thisArg) {
22915
22723
  return function wrap() {
22916
22724
  return fn.apply(thisArg, arguments);
@@ -27384,9 +27192,9 @@ function parsePhoneNumber$1() {
27384
27192
  function parsePhoneNumber() {
27385
27193
  return withMetadataArgument(parsePhoneNumber$1, arguments);
27386
27194
  }
27387
- const _hoisted_1$p = { key: 0 };
27388
- const _hoisted_2$f = ["aria-expanded"];
27389
- const _hoisted_3$d = { class: "flex gap-05 country-code-display" };
27195
+ const _hoisted_1$q = { key: 0 };
27196
+ const _hoisted_2$g = ["aria-expanded"];
27197
+ const _hoisted_3$e = { class: "flex gap-05 country-code-display" };
27390
27198
  const _hoisted_4$8 = { class: "p-075 tel-countryp-dropdown" };
27391
27199
  const _hoisted_5$8 = {
27392
27200
  class: "overflow-y p-0 max-h-300px",
@@ -27395,7 +27203,7 @@ const _hoisted_5$8 = {
27395
27203
  const _hoisted_6$7 = ["aria-selected", "onClick"];
27396
27204
  const _hoisted_7$5 = { class: "tel-country" };
27397
27205
  const _hoisted_8$4 = ["id", "required", "placeholder", "disabled", "name"];
27398
- const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
27206
+ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
27399
27207
  __name: "TelInput",
27400
27208
  props: {
27401
27209
  id: {},
@@ -27565,7 +27373,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
27565
27373
  }, [
27566
27374
  vue.createElementVNode("label", null, [
27567
27375
  vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
27568
- _ctx.required && _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$p, "*")) : vue.createCommentVNode("", true),
27376
+ _ctx.required && _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$q, "*")) : vue.createCommentVNode("", true),
27569
27377
  vue.createElementVNode("div", {
27570
27378
  dir: "ltr",
27571
27379
  class: "flex gap-05 tel-input",
@@ -27574,7 +27382,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
27574
27382
  "aria-haspopup": "listbox",
27575
27383
  "aria-expanded": vue.unref(open)
27576
27384
  }, [
27577
- vue.createVNode(vue.unref(_sfc_main$X), {
27385
+ vue.createVNode(vue.unref(_sfc_main$Y), {
27578
27386
  shown: vue.unref(open),
27579
27387
  "onUpdate:shown": _cache[1] || (_cache[1] = ($event) => vue.isRef(open) ? open.value = $event : open = $event),
27580
27388
  placement: "bottom-start",
@@ -27582,8 +27390,8 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
27582
27390
  onShow: focusSearchInput
27583
27391
  }, {
27584
27392
  trigger: vue.withCtx(() => [
27585
- vue.createElementVNode("span", _hoisted_3$d, [
27586
- !disableDropdown.value ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
27393
+ vue.createElementVNode("span", _hoisted_3$e, [
27394
+ !disableDropdown.value ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$t), {
27587
27395
  key: 0,
27588
27396
  icon: vue.unref(open) ? "collapse_all" : "expand_all"
27589
27397
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
@@ -27654,23 +27462,23 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
27654
27462
  { tel: true }
27655
27463
  ]
27656
27464
  ])
27657
- ], 8, _hoisted_2$f)
27465
+ ], 8, _hoisted_2$g)
27658
27466
  ])
27659
27467
  ], 2);
27660
27468
  };
27661
27469
  }
27662
27470
  });
27663
- const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-24f599bf"]]);
27664
- const _hoisted_1$o = ["title"];
27665
- const _hoisted_2$e = ["for"];
27666
- const _hoisted_3$c = { key: 0 };
27471
+ const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-24f599bf"]]);
27472
+ const _hoisted_1$p = ["title"];
27473
+ const _hoisted_2$f = ["for"];
27474
+ const _hoisted_3$d = { key: 0 };
27667
27475
  const _hoisted_4$7 = ["id", "name", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
27668
27476
  const _hoisted_5$7 = ["id", "name", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
27669
27477
  const _hoisted_6$6 = {
27670
27478
  key: 3,
27671
27479
  class: "opacity-7 light"
27672
27480
  };
27673
- const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
27481
+ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
27674
27482
  __name: "TextInput",
27675
27483
  props: {
27676
27484
  id: {},
@@ -27762,7 +27570,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
27762
27570
  }, [
27763
27571
  vue.createElementVNode("label", { for: _ctx.id }, [
27764
27572
  vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
27765
- _ctx.required && _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$c, "*")) : vue.createCommentVNode("", true),
27573
+ _ctx.required && _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$d, "*")) : vue.createCommentVNode("", true),
27766
27574
  !_ctx.multiline && !_ctx.autoheight && !_ctx.code && inputRows.value < 2 ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", vue.mergeProps({
27767
27575
  key: 1,
27768
27576
  id: _ctx.id,
@@ -27813,25 +27621,25 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
27813
27621
  [vue.vModelText, vue.unref(inputVal)]
27814
27622
  ]),
27815
27623
  _ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_6$6, vue.toDisplayString(_ctx.helptext), 1)) : vue.createCommentVNode("", true),
27816
- _ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
27624
+ _ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$t), {
27817
27625
  key: 4,
27818
27626
  class: "iconStart",
27819
27627
  icon: _ctx.iconStart
27820
27628
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
27821
- _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
27629
+ _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$t), {
27822
27630
  key: 5,
27823
27631
  icon: _ctx.icon
27824
27632
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true)
27825
- ], 8, _hoisted_2$e)
27826
- ], 10, _hoisted_1$o);
27633
+ ], 8, _hoisted_2$f)
27634
+ ], 10, _hoisted_1$p);
27827
27635
  };
27828
27636
  }
27829
27637
  });
27830
- const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-84ff4b81"]]);
27831
- const _hoisted_1$n = ["title"];
27832
- const _hoisted_2$d = ["id", "required"];
27833
- const _hoisted_3$b = ["for"];
27834
- const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
27638
+ const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-84ff4b81"]]);
27639
+ const _hoisted_1$o = ["title"];
27640
+ const _hoisted_2$e = ["id", "required"];
27641
+ const _hoisted_3$c = ["for"];
27642
+ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
27835
27643
  __name: "ToggleInput",
27836
27644
  props: /* @__PURE__ */ vue.mergeModels({
27837
27645
  label: {},
@@ -27867,19 +27675,19 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
27867
27675
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => checked.value = $event),
27868
27676
  type: "checkbox",
27869
27677
  required: _ctx.required
27870
- }, null, 8, _hoisted_2$d), [
27678
+ }, null, 8, _hoisted_2$e), [
27871
27679
  [vue.vModelCheckbox, checked.value]
27872
27680
  ]),
27873
27681
  vue.createElementVNode("label", { for: inputId.value }, [
27874
27682
  vue.renderSlot(_ctx.$slots, "label", {}, () => [
27875
27683
  vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
27876
27684
  ], true)
27877
- ], 8, _hoisted_3$b)
27878
- ], 10, _hoisted_1$n);
27685
+ ], 8, _hoisted_3$c)
27686
+ ], 10, _hoisted_1$o);
27879
27687
  };
27880
27688
  }
27881
27689
  });
27882
- const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-c5e45931"]]);
27690
+ const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-c5e45931"]]);
27883
27691
  const files = {
27884
27692
  setBaseUrl: (baseUrl) => {
27885
27693
  if (!baseUrl) return;
@@ -27908,9 +27716,9 @@ const files = {
27908
27716
  return axios$1.get("/files_v2/list", { params: { dir_path: dirPath } });
27909
27717
  }
27910
27718
  };
27911
- const _hoisted_1$m = { class: "bagel-input" };
27912
- const _hoisted_2$c = { key: 0 };
27913
- const _hoisted_3$a = {
27719
+ const _hoisted_1$n = { class: "bagel-input" };
27720
+ const _hoisted_2$d = { key: 0 };
27721
+ const _hoisted_3$b = {
27914
27722
  key: 1,
27915
27723
  placeholder: "required",
27916
27724
  type: "text",
@@ -27949,7 +27757,7 @@ const _hoisted_15 = {
27949
27757
  };
27950
27758
  const _hoisted_16 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
27951
27759
  const _hoisted_17 = { class: "pretty balance" };
27952
- const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
27760
+ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
27953
27761
  __name: "UploadInput",
27954
27762
  props: {
27955
27763
  label: {},
@@ -28058,10 +27866,10 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
28058
27866
  return (_ctx, _cache) => {
28059
27867
  const _directive_tooltip = vue.resolveDirective("tooltip");
28060
27868
  const _directive_lightbox = vue.resolveDirective("lightbox");
28061
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$m, [
28062
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$c, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
28063
- _ctx.required && !pathKeys.value.length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_3$a)) : vue.createCommentVNode("", true),
28064
- _ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$11), {
27869
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$n, [
27870
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$d, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
27871
+ _ctx.required && !pathKeys.value.length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_3$b)) : vue.createCommentVNode("", true),
27872
+ _ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$12), {
28065
27873
  key: 2,
28066
27874
  outline: "",
28067
27875
  class: "flex p-05 gap-1",
@@ -28107,7 +27915,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
28107
27915
  download: path_key.split("/").pop()
28108
27916
  }, null, 8, ["href", "download"]),
28109
27917
  vue.createElementVNode("div", _hoisted_5$6, [
28110
- vue.createVNode(vue.unref(_sfc_main$s), {
27918
+ vue.createVNode(vue.unref(_sfc_main$t), {
28111
27919
  icon: "draft",
28112
27920
  size: 1.5
28113
27921
  }),
@@ -28150,7 +27958,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
28150
27958
  key: 0,
28151
27959
  pathKey: path_key,
28152
27960
  class: "multi-preview"
28153
- }, null, 8, ["pathKey"])) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
27961
+ }, null, 8, ["pathKey"])) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$t), {
28154
27962
  key: 1,
28155
27963
  icon: "description",
28156
27964
  class: "multi-preview"
@@ -28177,7 +27985,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
28177
27985
  class: "multi-preview",
28178
27986
  src: fileToUrl(file.file),
28179
27987
  alt: ""
28180
- }, null, 8, ["src"])) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
27988
+ }, null, 8, ["src"])) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$t), {
28181
27989
  key: 1,
28182
27990
  icon: "description",
28183
27991
  class: "multi-preview"
@@ -28188,7 +27996,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
28188
27996
  style: vue.normalizeStyle([{ "--p": file.progress }, { "--b": "2px" }])
28189
27997
  }, [
28190
27998
  file.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_11$2, vue.toDisplayString(file.progress.toFixed(0)), 1)) : vue.createCommentVNode("", true),
28191
- vue.createVNode(vue.unref(_sfc_main$s), {
27999
+ vue.createVNode(vue.unref(_sfc_main$t), {
28192
28000
  class: "success",
28193
28001
  icon: "check_circle"
28194
28002
  })
@@ -28236,7 +28044,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
28236
28044
  }, null, 8, ["pathKey"]), [
28237
28045
  [_directive_lightbox, { src: vue.unref(pathKeyToURL)(path_key), download: true }]
28238
28046
  ])
28239
- ])) : vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
28047
+ ])) : vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$t), {
28240
28048
  key: 1,
28241
28049
  size: 4,
28242
28050
  weight: "2",
@@ -28257,7 +28065,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
28257
28065
  style: vue.normalizeStyle([{ "--p": file.progress }, { "--b": "2px" }])
28258
28066
  }, [
28259
28067
  file.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_15, vue.toDisplayString(file.progress.toFixed(0)), 1)) : vue.createCommentVNode("", true),
28260
- vue.createVNode(vue.unref(_sfc_main$s), {
28068
+ vue.createVNode(vue.unref(_sfc_main$t), {
28261
28069
  class: "success",
28262
28070
  icon: "check_circle"
28263
28071
  })
@@ -28281,7 +28089,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
28281
28089
  browse
28282
28090
  }, () => [
28283
28091
  vue.createElementVNode("p", _hoisted_16, [
28284
- vue.createVNode(vue.unref(_sfc_main$s), { icon: "upload_2" }),
28092
+ vue.createVNode(vue.unref(_sfc_main$t), { icon: "upload_2" }),
28285
28093
  vue.createElementVNode("span", _hoisted_17, vue.toDisplayString(_ctx.dropPlaceholder || "Drag and Drop files here or click to upload"), 1)
28286
28094
  ])
28287
28095
  ], true) : vue.createCommentVNode("", true)
@@ -28290,7 +28098,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
28290
28098
  };
28291
28099
  }
28292
28100
  });
28293
- const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-d8f3ff01"]]);
28101
+ const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-d8f3ff01"]]);
28294
28102
  const FONT_AWESOME_ICONS = [
28295
28103
  "trash-can",
28296
28104
  "message",
@@ -32716,7 +32524,7 @@ const MATERIAL_ICONS = [
32716
32524
  "zoom_out",
32717
32525
  "zoom_out_map"
32718
32526
  ];
32719
- const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
32527
+ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
32720
32528
  __name: "Icon",
32721
32529
  props: {
32722
32530
  icon: {},
@@ -32747,8 +32555,8 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
32747
32555
  };
32748
32556
  }
32749
32557
  });
32750
- const _hoisted_1$l = ["src", "title", "width", "height", "marginwidth", "marginheight", "csp", "scrolling", "srcset"];
32751
- const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
32558
+ const _hoisted_1$m = ["src", "title", "width", "height", "marginwidth", "marginheight", "csp", "scrolling", "srcset"];
32559
+ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
32752
32560
  __name: "IframeVue",
32753
32561
  props: {
32754
32562
  src: {},
@@ -32807,14 +32615,14 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
32807
32615
  scrolling: _ctx.scrolling,
32808
32616
  srcset: _ctx.srcset,
32809
32617
  onLoad: _cache[0] || (_cache[0] = ($event) => emit2("load", $event))
32810
- }, null, 40, _hoisted_1$l);
32618
+ }, null, 40, _hoisted_1$m);
32811
32619
  };
32812
32620
  }
32813
32621
  });
32814
- const _hoisted_1$k = { key: 0 };
32815
- const _hoisted_2$b = ["src", "alt", "width", "height"];
32816
- const _hoisted_3$9 = ["src", "alt", "width", "height"];
32817
- const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
32622
+ const _hoisted_1$l = { key: 0 };
32623
+ const _hoisted_2$c = ["src", "alt", "width", "height"];
32624
+ const _hoisted_3$a = ["src", "alt", "width", "height"];
32625
+ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
32818
32626
  __name: "Image",
32819
32627
  props: {
32820
32628
  src: {},
@@ -32890,7 +32698,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
32890
32698
  }
32891
32699
  vue.watch(() => [props2.src, props2.pathKey], loadImage, { immediate: true });
32892
32700
  return (_ctx, _cache) => {
32893
- return _ctx.caption ? (vue.openBlock(), vue.createElementBlock("figcaption", _hoisted_1$k, [
32701
+ return _ctx.caption ? (vue.openBlock(), vue.createElementBlock("figcaption", _hoisted_1$l, [
32894
32702
  vue.unref(imageSrc) ? (vue.openBlock(), vue.createElementBlock("img", vue.mergeProps({
32895
32703
  key: 0,
32896
32704
  src: vue.unref(imageSrc)
@@ -32898,7 +32706,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
32898
32706
  alt: _ctx.alt,
32899
32707
  width: vue.unref(normalizeDimension)(_ctx.width),
32900
32708
  height: vue.unref(normalizeDimension)(_ctx.height)
32901
- }), null, 16, _hoisted_2$b)) : (vue.openBlock(), vue.createBlock(vue.unref(Skeleton), {
32709
+ }), null, 16, _hoisted_2$c)) : (vue.openBlock(), vue.createBlock(vue.unref(Skeleton), {
32902
32710
  key: 1,
32903
32711
  class: "img-web-kit",
32904
32712
  width: vue.unref(normalizeDimension)(_ctx.width),
@@ -32911,7 +32719,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
32911
32719
  alt: _ctx.alt,
32912
32720
  width: vue.unref(normalizeDimension)(_ctx.width),
32913
32721
  height: vue.unref(normalizeDimension)(_ctx.height)
32914
- }), null, 16, _hoisted_3$9)) : vue.unref(loadingError) ? (vue.openBlock(), vue.createElementBlock("div", {
32722
+ }), null, 16, _hoisted_3$a)) : vue.unref(loadingError) ? (vue.openBlock(), vue.createElementBlock("div", {
32915
32723
  key: 2,
32916
32724
  class: "flex-center error-image",
32917
32725
  style: vue.normalizeStyle({
@@ -32919,7 +32727,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
32919
32727
  height: vue.unref(normalizeDimension)(_ctx.height)
32920
32728
  })
32921
32729
  }, [
32922
- vue.createVNode(vue.unref(_sfc_main$s), { name: "broken_image" })
32730
+ vue.createVNode(vue.unref(_sfc_main$t), { name: "broken_image" })
32923
32731
  ], 4)) : (vue.openBlock(), vue.createBlock(vue.unref(Skeleton), {
32924
32732
  key: 3,
32925
32733
  class: "img-web-kit",
@@ -32929,16 +32737,16 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
32929
32737
  };
32930
32738
  }
32931
32739
  });
32932
- const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-2f5e271c"]]);
32933
- const _hoisted_1$j = { class: "m-0 pb-025 txt10 line-height-1 w60 menu-text" };
32934
- const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
32740
+ const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-2f5e271c"]]);
32741
+ const _hoisted_1$k = { class: "m-0 pb-025 txt10 line-height-1 w60 menu-text" };
32742
+ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
32935
32743
  __name: "BottomMenu",
32936
32744
  props: {
32937
32745
  navLinks: {}
32938
32746
  },
32939
32747
  setup(__props) {
32940
32748
  return (_ctx, _cache) => {
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" }, {
32749
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$12), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
32942
32750
  default: vue.withCtx(() => [
32943
32751
  vue.renderSlot(_ctx.$slots, "brand", {}, void 0, true),
32944
32752
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.navLinks, (nav, i2) => {
@@ -32949,12 +32757,12 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
32949
32757
  onClick: nav.onClick
32950
32758
  }, {
32951
32759
  default: vue.withCtx(() => [
32952
- vue.createVNode(vue.unref(_sfc_main$s), {
32760
+ vue.createVNode(vue.unref(_sfc_main$t), {
32953
32761
  icon: nav.icon,
32954
32762
  size: 1.4,
32955
32763
  class: "m-0 line-height-14"
32956
32764
  }, null, 8, ["icon"]),
32957
- vue.createElementVNode("p", _hoisted_1$j, vue.toDisplayString(nav.label), 1)
32765
+ vue.createElementVNode("p", _hoisted_1$k, vue.toDisplayString(nav.label), 1)
32958
32766
  ]),
32959
32767
  _: 2
32960
32768
  }, 1032, ["to", "onClick"]);
@@ -32966,8 +32774,8 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
32966
32774
  };
32967
32775
  }
32968
32776
  });
32969
- const BottomMenu = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-2227f9cc"]]);
32970
- const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
32777
+ const BottomMenu = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-2227f9cc"]]);
32778
+ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
32971
32779
  __name: "Layout",
32972
32780
  props: {
32973
32781
  gap: { default: 1 },
@@ -33008,9 +32816,9 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
33008
32816
  };
33009
32817
  }
33010
32818
  });
33011
- const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-1814129a"]]);
33012
- const _hoisted_1$i = { key: 0 };
33013
- const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
32819
+ const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-1814129a"]]);
32820
+ const _hoisted_1$j = { key: 0 };
32821
+ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
33014
32822
  __name: "SidebarMenu",
33015
32823
  props: {
33016
32824
  navLinks: {},
@@ -33039,7 +32847,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
33039
32847
  icon: "keyboard_arrow_right",
33040
32848
  onClick: vue.unref(toggleMenu)
33041
32849
  }, null, 8, ["onClick"]),
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" }, {
32850
+ vue.createVNode(vue.unref(_sfc_main$12), { class: "py-1 px-05 h-100 flex column gap-05 rounded relative bg-primary font-light overflow-y" }, {
33043
32851
  default: vue.withCtx(() => [
33044
32852
  !vue.unref(isOpen) || !vue.unref(slots)["brand-open"] ? vue.renderSlot(_ctx.$slots, "brand", { key: 0 }, void 0, true) : vue.createCommentVNode("", true),
33045
32853
  vue.unref(isOpen) ? vue.renderSlot(_ctx.$slots, "brand-open", { key: 1 }, void 0, true) : vue.createCommentVNode("", true),
@@ -33054,13 +32862,13 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
33054
32862
  ...nav.onClick && { onClick: nav.onClick }
33055
32863
  }, { class: "nav-button px-075 me-auto w-100" }), {
33056
32864
  default: vue.withCtx(() => [
33057
- vue.createVNode(vue.unref(_sfc_main$s), {
32865
+ vue.createVNode(vue.unref(_sfc_main$t), {
33058
32866
  icon: nav.icon,
33059
32867
  size: 1.4
33060
32868
  }, null, 8, ["icon"]),
33061
32869
  vue.createVNode(vue.Transition, { name: "showP" }, {
33062
32870
  default: vue.withCtx(() => [
33063
- _ctx.open ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_1$i, vue.toDisplayString(nav.label), 1)) : vue.createCommentVNode("", true)
32871
+ _ctx.open ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_1$j, vue.toDisplayString(nav.label), 1)) : vue.createCommentVNode("", true)
33064
32872
  ]),
33065
32873
  _: 2
33066
32874
  }, 1024)
@@ -33087,8 +32895,8 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
33087
32895
  };
33088
32896
  }
33089
32897
  });
33090
- const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-43939d5b"]]);
33091
- const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
32898
+ const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-43939d5b"]]);
32899
+ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
33092
32900
  __name: "Skeleton",
33093
32901
  props: {
33094
32902
  count: { default: 1 },
@@ -33119,11 +32927,11 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
33119
32927
  };
33120
32928
  }
33121
32929
  });
33122
- const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-8788ed73"]]);
33123
- const _hoisted_1$h = { class: "bgl_card tabs-top" };
33124
- const _hoisted_2$a = { class: "tabs grid auto-flow-columns fit-content" };
33125
- const _hoisted_3$8 = ["onClick"];
33126
- const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
32930
+ const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-8788ed73"]]);
32931
+ const _hoisted_1$i = { class: "bgl_card tabs-top" };
32932
+ const _hoisted_2$b = { class: "tabs grid auto-flow-columns fit-content" };
32933
+ const _hoisted_3$9 = ["onClick"];
32934
+ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
33127
32935
  __name: "TabbedLayout",
33128
32936
  props: {
33129
32937
  title: {},
@@ -33156,9 +32964,9 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
33156
32964
  return vue.openBlock(), vue.createElementBlock("div", {
33157
32965
  class: vue.normalizeClass(["h-100 grid list-view gap-1", { "side-tabs": _ctx.sideTabs }])
33158
32966
  }, [
33159
- vue.createElementVNode("div", _hoisted_1$h, [
32967
+ vue.createElementVNode("div", _hoisted_1$i, [
33160
32968
  vue.renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
33161
- vue.createElementVNode("div", _hoisted_2$a, [
32969
+ vue.createElementVNode("div", _hoisted_2$b, [
33162
32970
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.tabs, (tab) => {
33163
32971
  var _a;
33164
32972
  return vue.openBlock(), vue.createElementBlock("div", {
@@ -33167,7 +32975,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
33167
32975
  active: tab === vue.unref(activeTab) || tab === ((_a = _ctx.router) == null ? void 0 : _a.currentRoute.value.path.split("/").slice(-1)[0])
33168
32976
  }, "tab"]),
33169
32977
  onClick: ($event) => changeTab(tab)
33170
- }, vue.toDisplayString(tab), 11, _hoisted_3$8);
32978
+ }, vue.toDisplayString(tab), 11, _hoisted_3$9);
33171
32979
  }), 128))
33172
32980
  ])
33173
32981
  ]),
@@ -33183,7 +32991,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
33183
32991
  };
33184
32992
  }
33185
32993
  });
33186
- const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-915732c1"]]);
32994
+ const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-915732c1"]]);
33187
32995
  const state = vue.reactive(/* @__PURE__ */ new Map());
33188
32996
  function useTabs(group) {
33189
32997
  if (!state.has(group)) {
@@ -33197,8 +33005,8 @@ function useTabs(group) {
33197
33005
  });
33198
33006
  return { currentTab };
33199
33007
  }
33200
- const _hoisted_1$g = { key: 0 };
33201
- const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
33008
+ const _hoisted_1$h = { key: 0 };
33009
+ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
33202
33010
  __name: "Tabs",
33203
33011
  props: {
33204
33012
  tabs: {},
@@ -33240,14 +33048,14 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
33240
33048
  group: vue.unref(group),
33241
33049
  class: "mb-05"
33242
33050
  }, null, 8, ["modelValue", "flat", "tabs", "group"]),
33243
- vue.unref(currentTab) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$g, [
33051
+ vue.unref(currentTab) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$h, [
33244
33052
  vue.unref(slots)[vue.unref(currentTab)] ? vue.renderSlot(_ctx.$slots, vue.unref(currentTab), { key: 0 }) : vue.unref(currentTab) ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(tabComponent)), { key: 1 })) : vue.createCommentVNode("", true)
33245
33053
  ])) : vue.createCommentVNode("", true)
33246
33054
  ], 64);
33247
33055
  };
33248
33056
  }
33249
33057
  });
33250
- const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
33058
+ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
33251
33059
  __name: "TabsBody",
33252
33060
  props: {
33253
33061
  group: {}
@@ -33260,8 +33068,8 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
33260
33068
  };
33261
33069
  }
33262
33070
  });
33263
- const _hoisted_1$f = ["onClick"];
33264
- const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
33071
+ const _hoisted_1$g = ["onClick"];
33072
+ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
33265
33073
  __name: "TabsNav",
33266
33074
  props: {
33267
33075
  title: {},
@@ -33348,31 +33156,31 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
33348
33156
  class: vue.normalizeClass([{ active: isActive(tab) }, "bgl_tab relative z-1"]),
33349
33157
  onClick: ($event) => selectTab(tab)
33350
33158
  }, [
33351
- typeof tab !== "string" && tab.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
33159
+ typeof tab !== "string" && tab.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$t), {
33352
33160
  key: 0,
33353
33161
  icon: tab.icon
33354
33162
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
33355
33163
  vue.createTextVNode(" " + vue.toDisplayString(tabLabel(tab)), 1)
33356
- ], 10, _hoisted_1$f);
33164
+ ], 10, _hoisted_1$g);
33357
33165
  }), 128))
33358
33166
  ], true)
33359
33167
  ], 2);
33360
33168
  };
33361
33169
  }
33362
33170
  });
33363
- const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-6ece2018"]]);
33364
- const _hoisted_1$e = { class: "txt-start" };
33365
- const _hoisted_2$9 = {
33171
+ const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-6ece2018"]]);
33172
+ const _hoisted_1$f = { class: "txt-start" };
33173
+ const _hoisted_2$a = {
33366
33174
  key: 0,
33367
33175
  class: "txt10 m-0 p-0 txt-gray ellipsis"
33368
33176
  };
33369
- const _hoisted_3$7 = { class: "m-0 p-0 ellipsis-1 line-height-14 pb-025" };
33177
+ const _hoisted_3$8 = { class: "m-0 p-0 ellipsis-1 line-height-14 pb-025" };
33370
33178
  const _hoisted_4$5 = {
33371
33179
  key: 1,
33372
33180
  class: "txt12 m-0 p-0 opacity-7 ellipsis-1"
33373
33181
  };
33374
33182
  const _hoisted_5$5 = ["textContent"];
33375
- const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
33183
+ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
33376
33184
  __name: "ListItem",
33377
33185
  props: {
33378
33186
  src: {},
@@ -33434,18 +33242,18 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
33434
33242
  src: _ctx.src,
33435
33243
  size: 40
33436
33244
  }, null, 8, ["name", "src"])) : vue.createCommentVNode("", true),
33437
- _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
33245
+ _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$t), {
33438
33246
  key: 1,
33439
33247
  size: "1.2",
33440
33248
  class: "color-primary",
33441
33249
  icon: _ctx.icon
33442
33250
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
33443
- vue.createElementVNode("div", _hoisted_1$e, [
33444
- _ctx.lead ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_2$9, [
33251
+ vue.createElementVNode("div", _hoisted_1$f, [
33252
+ _ctx.lead ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_2$a, [
33445
33253
  vue.createTextVNode(vue.toDisplayString(_ctx.lead) + " ", 1),
33446
33254
  vue.renderSlot(_ctx.$slots, "lead")
33447
33255
  ])) : vue.createCommentVNode("", true),
33448
- vue.createElementVNode("p", _hoisted_3$7, [
33256
+ vue.createElementVNode("p", _hoisted_3$8, [
33449
33257
  vue.createTextVNode(vue.toDisplayString(_ctx.title) + " ", 1),
33450
33258
  vue.renderSlot(_ctx.$slots, "default")
33451
33259
  ]),
@@ -33456,7 +33264,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
33456
33264
  ]),
33457
33265
  _cache[0] || (_cache[0] = vue.createElementVNode("div", { class: "flex-grow-1" }, null, -1)),
33458
33266
  vue.renderSlot(_ctx.$slots, "end", {}, () => [
33459
- _ctx.iconEnd ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
33267
+ _ctx.iconEnd ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$t), {
33460
33268
  key: 0,
33461
33269
  icon: _ctx.iconEnd,
33462
33270
  class: "transition-400"
@@ -33475,23 +33283,23 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
33475
33283
  };
33476
33284
  }
33477
33285
  });
33478
- const _sfc_main$g = {};
33479
- const _hoisted_1$d = { class: "list-wrap bgl_card thin grid overflow-hidden pt-0 pb-05 px-0 m_pb-0" };
33480
- const _hoisted_2$8 = { class: "p-0" };
33481
- const _hoisted_3$6 = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
33286
+ const _sfc_main$h = {};
33287
+ const _hoisted_1$e = { class: "list-wrap bgl_card thin grid overflow-hidden pt-0 pb-05 px-0 m_pb-0" };
33288
+ const _hoisted_2$9 = { class: "p-0" };
33289
+ const _hoisted_3$7 = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
33482
33290
  function _sfc_render$3(_ctx, _cache) {
33483
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$d, [
33484
- vue.createElementVNode("div", _hoisted_2$8, [
33291
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$e, [
33292
+ vue.createElementVNode("div", _hoisted_2$9, [
33485
33293
  vue.renderSlot(_ctx.$slots, "header")
33486
33294
  ]),
33487
- vue.createElementVNode("div", _hoisted_3$6, [
33295
+ vue.createElementVNode("div", _hoisted_3$7, [
33488
33296
  vue.renderSlot(_ctx.$slots, "default")
33489
33297
  ])
33490
33298
  ]);
33491
33299
  }
33492
- const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$3]]);
33493
- const _hoisted_1$c = { class: "flex-center" };
33494
- const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
33300
+ const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$3]]);
33301
+ const _hoisted_1$d = { class: "flex-center" };
33302
+ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
33495
33303
  __name: "Loading",
33496
33304
  props: {
33497
33305
  size: { default: 50 },
@@ -33513,7 +33321,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
33513
33321
  return standardSize(borderValue);
33514
33322
  });
33515
33323
  return (_ctx, _cache) => {
33516
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [
33324
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$d, [
33517
33325
  theme.value === "bar" ? (vue.openBlock(), vue.createElementBlock("div", {
33518
33326
  key: 0,
33519
33327
  class: "lds-bar",
@@ -33555,11 +33363,11 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
33555
33363
  };
33556
33364
  }
33557
33365
  });
33558
- const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-2d349a92"]]);
33559
- const _hoisted_1$b = ["id"];
33366
+ const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-2d349a92"]]);
33367
+ const _hoisted_1$c = ["id"];
33560
33368
  const defaultMarkerSVG = '<svg width="28" height="38" viewBox="0 0 28 38" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.2263 37.7955C17.0897 37.7955 19.4109 37.0138 19.4109 36.0496C19.4109 35.0854 17.0897 34.3037 14.2263 34.3037C11.363 34.3037 9.04175 35.0854 9.04175 36.0496C9.04175 37.0138 11.363 37.7955 14.2263 37.7955Z" fill="black" fill-opacity="0.1"/><path d="M14.2265 0.549591C21.2842 0.549591 27.0131 6.23786 27.0787 13.28V13.4024C27.0787 19.3328 24.4759 24.4306 21.5627 28.2764C18.6511 32.12 15.4577 34.6754 14.3457 35.5097C14.2748 35.5629 14.1778 35.5629 14.1068 35.5097C12.9947 34.675 9.80135 32.1197 6.88984 28.2762C3.97665 24.4304 1.37378 19.3328 1.37378 13.4024C1.37378 6.30387 7.12806 0.549591 14.2265 0.549591Z" fill="#ED1b3E" stroke="#ED6C6F"/><path d="M14.2263 21.6185C18.7639 21.6185 22.4424 17.94 22.4424 13.4024C22.4424 8.86477 18.7639 5.18631 14.2263 5.18631C9.68872 5.18631 6.01025 8.86477 6.01025 13.4024C6.01025 17.94 9.68872 21.6185 14.2263 21.6185Z" fill="white"/></svg>';
33561
33369
  const leafletScriptUrl = "https://unpkg.com/leaflet@1.9.4/dist/leaflet.js";
33562
- const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
33370
+ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
33563
33371
  __name: "Index",
33564
33372
  props: {
33565
33373
  center: { default: () => [31.7683, 35.2137] },
@@ -33650,23 +33458,23 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
33650
33458
  class: "leaflet-map",
33651
33459
  style: vue.normalizeStyle({ height: `${props2.height || 400}px` }),
33652
33460
  dir: "ltr"
33653
- }, null, 12, _hoisted_1$b);
33461
+ }, null, 12, _hoisted_1$c);
33654
33462
  };
33655
33463
  }
33656
33464
  });
33657
- const _hoisted_1$a = {
33465
+ const _hoisted_1$b = {
33658
33466
  key: 0,
33659
33467
  class: "tool-bar"
33660
33468
  };
33661
- const _hoisted_2$7 = {
33469
+ const _hoisted_2$8 = {
33662
33470
  key: 1,
33663
33471
  class: "sticky z-index-999 -mt-1 -ms-1 px-025 h-30px pt-025 modal-no-title"
33664
33472
  };
33665
- const _hoisted_3$5 = {
33473
+ const _hoisted_3$6 = {
33666
33474
  key: 2,
33667
33475
  class: "modal-footer mt-1"
33668
33476
  };
33669
- const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
33477
+ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
33670
33478
  __name: "Modal",
33671
33479
  props: {
33672
33480
  thin: { type: Boolean },
@@ -33723,7 +33531,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
33723
33531
  onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
33724
33532
  onKeydown: vue.withKeys(closeModal, ["esc"])
33725
33533
  }, [
33726
- vue.createVNode(vue.unref(_sfc_main$11), {
33534
+ vue.createVNode(vue.unref(_sfc_main$12), {
33727
33535
  class: "modal",
33728
33536
  style: vue.normalizeStyle({ ...maxWidth.value }),
33729
33537
  thin: _ctx.thin,
@@ -33733,7 +33541,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
33733
33541
  default: vue.withCtx(() => {
33734
33542
  var _a;
33735
33543
  return [
33736
- vue.unref(slots).toolbar || _ctx.title ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_1$a, [
33544
+ vue.unref(slots).toolbar || _ctx.title ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_1$b, [
33737
33545
  vue.renderSlot(_ctx.$slots, "toolbar"),
33738
33546
  vue.createVNode(vue.unref(Btn), {
33739
33547
  style: vue.normalizeStyle({ float: _ctx.side ? "left" : "right" }),
@@ -33748,7 +33556,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
33748
33556
  tag: "h3",
33749
33557
  label: _ctx.title
33750
33558
  }, null, 8, ["label"])) : vue.createCommentVNode("", true)
33751
- ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$7, [
33559
+ ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$8, [
33752
33560
  vue.createVNode(vue.unref(Btn), {
33753
33561
  class: "position-start",
33754
33562
  icon: "close",
@@ -33759,7 +33567,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
33759
33567
  })
33760
33568
  ])),
33761
33569
  vue.renderSlot(_ctx.$slots, "default"),
33762
- vue.unref(slots).footer || ((_a = _ctx.actions) == null ? void 0 : _a.length) ? (vue.openBlock(), vue.createElementBlock("footer", _hoisted_3$5, [
33570
+ vue.unref(slots).footer || ((_a = _ctx.actions) == null ? void 0 : _a.length) ? (vue.openBlock(), vue.createElementBlock("footer", _hoisted_3$6, [
33763
33571
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.actions, (action, i2) => {
33764
33572
  return vue.openBlock(), vue.createBlock(vue.unref(Btn), vue.mergeProps({
33765
33573
  key: i2,
@@ -33777,8 +33585,8 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
33777
33585
  };
33778
33586
  }
33779
33587
  });
33780
- const _hoisted_1$9 = { class: "pb-05 pretty" };
33781
- const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
33588
+ const _hoisted_1$a = { class: "pb-05 pretty" };
33589
+ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
33782
33590
  __name: "ModalConfirm",
33783
33591
  props: {
33784
33592
  title: {},
@@ -33804,7 +33612,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
33804
33612
  const confirmBtnColor = props2.confirmBtnColor || "green";
33805
33613
  const cancelBtnColor = props2.cancelBtnColor || "gray";
33806
33614
  return (_ctx, _cache) => {
33807
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$d), {
33615
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$e), {
33808
33616
  title: vue.unref(title),
33809
33617
  width: "380px",
33810
33618
  dismissable: false,
@@ -33823,16 +33631,16 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
33823
33631
  }, null, 8, ["color", "value"])
33824
33632
  ]),
33825
33633
  default: vue.withCtx(() => [
33826
- vue.createElementVNode("p", _hoisted_1$9, vue.toDisplayString(vue.unref(message)), 1)
33634
+ vue.createElementVNode("p", _hoisted_1$a, vue.toDisplayString(vue.unref(message)), 1)
33827
33635
  ]),
33828
33636
  _: 1
33829
33637
  }, 8, ["title"]);
33830
33638
  };
33831
33639
  }
33832
33640
  });
33833
- const _hoisted_1$8 = { class: "flex gap-0" };
33834
- const _hoisted_2$6 = { class: "flex gap-05" };
33835
- const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
33641
+ const _hoisted_1$9 = { class: "flex gap-0" };
33642
+ const _hoisted_2$7 = { class: "flex gap-05" };
33643
+ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
33836
33644
  __name: "ModalForm",
33837
33645
  props: /* @__PURE__ */ vue.mergeModels({
33838
33646
  schema: {},
@@ -33896,7 +33704,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
33896
33704
  }
33897
33705
  __expose({ setFormValues });
33898
33706
  return (_ctx, _cache) => {
33899
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$d), {
33707
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$e), {
33900
33708
  ref_key: "modal",
33901
33709
  ref: modal,
33902
33710
  side: _ctx.side,
@@ -33907,7 +33715,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
33907
33715
  "onUpdate:visible": _cache[3] || (_cache[3] = ($event) => emit2("update:visible", $event))
33908
33716
  }, vue.createSlots({
33909
33717
  default: vue.withCtx(() => [
33910
- _ctx.visible ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$U), {
33718
+ _ctx.visible ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$V), {
33911
33719
  key: 0,
33912
33720
  ref_key: "form",
33913
33721
  ref: form,
@@ -33925,7 +33733,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
33925
33733
  _ctx.onDelete || _ctx.onSubmit ? {
33926
33734
  name: "footer",
33927
33735
  fn: vue.withCtx(() => [
33928
- vue.createElementVNode("div", _hoisted_1$8, [
33736
+ vue.createElementVNode("div", _hoisted_1$9, [
33929
33737
  vue.createVNode(vue.unref(Btn), {
33930
33738
  thin: "",
33931
33739
  flat: "",
@@ -33942,7 +33750,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
33942
33750
  onClick: runDelete
33943
33751
  }, null, 8, ["value"])) : vue.createCommentVNode("", true)
33944
33752
  ]),
33945
- vue.createElementVNode("div", _hoisted_2$6, [
33753
+ vue.createElementVNode("div", _hoisted_2$7, [
33946
33754
  _ctx.onDuplicate ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
33947
33755
  key: 0,
33948
33756
  outline: "",
@@ -33968,14 +33776,14 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
33968
33776
  };
33969
33777
  }
33970
33778
  });
33971
- const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-1c0f6894"]]);
33972
- const _hoisted_1$7 = { class: "full-nav" };
33973
- const _hoisted_2$5 = { class: "nav-scroll" };
33974
- const _hoisted_3$4 = { class: "nav-links-wrapper" };
33779
+ const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-1c0f6894"]]);
33780
+ const _hoisted_1$8 = { class: "full-nav" };
33781
+ const _hoisted_2$6 = { class: "nav-scroll" };
33782
+ const _hoisted_3$5 = { class: "nav-links-wrapper" };
33975
33783
  const _hoisted_4$4 = { class: "tooltip" };
33976
33784
  const _hoisted_5$4 = { class: "bot-buttons-wrapper" };
33977
33785
  const _hoisted_6$4 = { class: "tooltip" };
33978
- const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
33786
+ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
33979
33787
  __name: "NavBar",
33980
33788
  props: {
33981
33789
  footerLinks: { default: () => [] },
@@ -34009,14 +33817,14 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
34009
33817
  onClick: toggleMenu,
34010
33818
  onKeypress: vue.withKeys(toggleMenu, ["enter"])
34011
33819
  }, [
34012
- vue.createVNode(vue.unref(_sfc_main$s), {
33820
+ vue.createVNode(vue.unref(_sfc_main$t), {
34013
33821
  icon: "chevron_right",
34014
33822
  class: "top-arrow"
34015
33823
  })
34016
33824
  ], 32),
34017
- vue.createElementVNode("div", _hoisted_1$7, [
34018
- vue.createElementVNode("div", _hoisted_2$5, [
34019
- vue.createElementVNode("div", _hoisted_3$4, [
33825
+ vue.createElementVNode("div", _hoisted_1$8, [
33826
+ vue.createElementVNode("div", _hoisted_2$6, [
33827
+ vue.createElementVNode("div", _hoisted_3$5, [
34020
33828
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.links, (link) => {
34021
33829
  return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(link.to ? "router-link" : "div"), {
34022
33830
  key: link.label,
@@ -34028,7 +33836,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
34028
33836
  }
34029
33837
  }, {
34030
33838
  default: vue.withCtx(() => [
34031
- vue.createVNode(vue.unref(_sfc_main$s), {
33839
+ vue.createVNode(vue.unref(_sfc_main$t), {
34032
33840
  icon: link.icon
34033
33841
  }, null, 8, ["icon"]),
34034
33842
  vue.createElementVNode("div", _hoisted_4$4, vue.toDisplayString(link.label), 1)
@@ -34050,7 +33858,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
34050
33858
  }
34051
33859
  }, {
34052
33860
  default: vue.withCtx(() => [
34053
- vue.createVNode(vue.unref(_sfc_main$s), {
33861
+ vue.createVNode(vue.unref(_sfc_main$t), {
34054
33862
  icon: link.icon
34055
33863
  }, null, 8, ["icon"]),
34056
33864
  vue.createElementVNode("div", _hoisted_6$4, vue.toDisplayString(link.label), 1)
@@ -34065,10 +33873,10 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
34065
33873
  };
34066
33874
  }
34067
33875
  });
34068
- const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-f3df1ee7"]]);
34069
- const _hoisted_1$6 = { class: "page-top" };
34070
- const _hoisted_2$4 = { class: "top-title m-0" };
34071
- const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
33876
+ const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-f3df1ee7"]]);
33877
+ const _hoisted_1$7 = { class: "page-top" };
33878
+ const _hoisted_2$5 = { class: "top-title m-0" };
33879
+ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
34072
33880
  __name: "PageTitle",
34073
33881
  props: {
34074
33882
  value: {
@@ -34078,8 +33886,8 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
34078
33886
  },
34079
33887
  setup(__props) {
34080
33888
  return (_ctx, _cache) => {
34081
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$6, [
34082
- vue.createElementVNode("h1", _hoisted_2$4, [
33889
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$7, [
33890
+ vue.createElementVNode("h1", _hoisted_2$5, [
34083
33891
  vue.renderSlot(_ctx.$slots, "default"),
34084
33892
  vue.createTextVNode(" " + vue.toDisplayString(__props.value), 1)
34085
33893
  ])
@@ -34087,9 +33895,9 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
34087
33895
  };
34088
33896
  }
34089
33897
  });
34090
- const _hoisted_1$5 = ["disabled"];
34091
- const _hoisted_2$3 = { class: "bgl_pill-flex" };
34092
- const _hoisted_3$3 = {
33898
+ const _hoisted_1$6 = ["disabled"];
33899
+ const _hoisted_2$4 = { class: "bgl_pill-flex" };
33900
+ const _hoisted_3$4 = {
34093
33901
  key: 0,
34094
33902
  class: "loading"
34095
33903
  };
@@ -34107,7 +33915,7 @@ const _hoisted_8$2 = {
34107
33915
  key: 0,
34108
33916
  class: "flex h-100"
34109
33917
  };
34110
- const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
33918
+ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
34111
33919
  __name: "Pill",
34112
33920
  props: {
34113
33921
  disabled: { type: Boolean },
@@ -34185,8 +33993,8 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
34185
33993
  "bgl_pill-border": _ctx.border || _ctx.outline
34186
33994
  })
34187
33995
  }, [
34188
- vue.createElementVNode("div", _hoisted_2$3, [
34189
- _ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$3)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$3, [
33996
+ vue.createElementVNode("div", _hoisted_2$4, [
33997
+ _ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$4)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$3, [
34190
33998
  _ctx.btn ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$3, [
34191
33999
  vue.createVNode(vue.unref(Btn), vue.mergeProps({
34192
34000
  class: "bgl_pill-btn",
@@ -34195,7 +34003,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
34195
34003
  }, _ctx.btn), null, 16)
34196
34004
  ])) : vue.createCommentVNode("", true)
34197
34005
  ])),
34198
- _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
34006
+ _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$t), {
34199
34007
  key: 2,
34200
34008
  icon: _ctx.icon
34201
34009
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
@@ -34203,7 +34011,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
34203
34011
  !vue.unref(slots).default ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 3 }, [
34204
34012
  vue.createTextVNode(vue.toDisplayString(_ctx.value || _ctx.modelValue), 1)
34205
34013
  ], 64)) : vue.createCommentVNode("", true),
34206
- _ctx.iconEnd ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
34014
+ _ctx.iconEnd ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$t), {
34207
34015
  key: 4,
34208
34016
  icon: _ctx.iconEnd
34209
34017
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
@@ -34217,12 +34025,12 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
34217
34025
  ])) : vue.createCommentVNode("", true)
34218
34026
  ]))
34219
34027
  ])
34220
- ], 10, _hoisted_1$5);
34028
+ ], 10, _hoisted_1$6);
34221
34029
  };
34222
34030
  }
34223
34031
  });
34224
- const Pill = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-764b6b8b"]]);
34225
- const _sfc_main$7 = {};
34032
+ const Pill = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-764b6b8b"]]);
34033
+ const _sfc_main$8 = {};
34226
34034
  function _sfc_render$2(_ctx, _cache) {
34227
34035
  const _component_router_view = vue.resolveComponent("router-view");
34228
34036
  return vue.openBlock(), vue.createBlock(_component_router_view, null, {
@@ -34244,7 +34052,677 @@ function _sfc_render$2(_ctx, _cache) {
34244
34052
  _: 1
34245
34053
  });
34246
34054
  }
34247
- const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$2]]);
34055
+ const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$2]]);
34056
+ const _hoisted_1$5 = { class: "carousel-wrapper" };
34057
+ const _hoisted_2$3 = {
34058
+ key: 0,
34059
+ class: "carousel-dots"
34060
+ };
34061
+ const _hoisted_3$3 = ["aria-label", "onClick"];
34062
+ const dragThreshold = 10;
34063
+ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
34064
+ __name: "Slider",
34065
+ props: {
34066
+ duration: { default: 200 },
34067
+ easing: { default: "ease-out" },
34068
+ perPage: {},
34069
+ startIndex: { default: 0 },
34070
+ draggable: { type: Boolean, default: true },
34071
+ multipleDrag: { type: Boolean, default: true },
34072
+ threshold: { default: 20 },
34073
+ loop: { type: Boolean, default: true },
34074
+ rtl: { type: Boolean, default: false },
34075
+ autoplay: { type: [Boolean, String], default: "disabled" },
34076
+ autoplayInterval: { default: 3e3 },
34077
+ autoplaySpeed: { default: 50 },
34078
+ pauseOnHover: { type: Boolean, default: true },
34079
+ dots: { type: Boolean, default: false },
34080
+ slideWidth: { default: 300 },
34081
+ onInit: {},
34082
+ onChange: {}
34083
+ },
34084
+ emits: ["init", "change"],
34085
+ setup(__props, { expose: __expose, emit: __emit }) {
34086
+ const props2 = __props;
34087
+ const emit2 = __emit;
34088
+ const carouselRef = vue.ref(null);
34089
+ const sliderFrame = vue.ref(null);
34090
+ const innerElements = vue.ref([]);
34091
+ const currentSlide = vue.ref(0);
34092
+ const selectorWidth = vue.ref(0);
34093
+ const { innerWidth } = useDevice();
34094
+ const transformProperty = vue.ref("transform");
34095
+ const pointerDown = vue.ref(false);
34096
+ const drag = vue.ref({
34097
+ startX: 0,
34098
+ endX: 0,
34099
+ startY: 0,
34100
+ letItGo: null,
34101
+ preventClick: false
34102
+ });
34103
+ const isDragging = vue.ref(false);
34104
+ const autoplayTimer = vue.ref(null);
34105
+ const linearAnimationFrame = vue.ref(null);
34106
+ const isHovering = vue.ref(false);
34107
+ const linearOffset = vue.ref(0);
34108
+ const perPage = vue.computed(() => {
34109
+ if (typeof props2.perPage === "number") {
34110
+ return props2.perPage;
34111
+ }
34112
+ if (typeof props2.perPage === "object") {
34113
+ return Object.entries(props2.perPage).reduce((acc, [viewport, value]) => innerWidth.value >= Number(viewport) ? value : acc, 1);
34114
+ }
34115
+ return Math.max(1, Math.ceil(selectorWidth.value / props2.slideWidth));
34116
+ });
34117
+ const config = vue.computed(() => {
34118
+ let autoplayMode = "disabled";
34119
+ if (typeof props2.autoplay === "boolean") {
34120
+ autoplayMode = props2.autoplay ? "standard" : "disabled";
34121
+ } else {
34122
+ autoplayMode = props2.autoplay;
34123
+ }
34124
+ const calculatedPerPage = perPage.value;
34125
+ return {
34126
+ duration: props2.duration,
34127
+ easing: props2.easing,
34128
+ perPage: calculatedPerPage,
34129
+ startIndex: props2.startIndex,
34130
+ draggable: props2.draggable,
34131
+ multipleDrag: props2.multipleDrag,
34132
+ threshold: props2.threshold,
34133
+ loop: props2.loop,
34134
+ rtl: props2.rtl,
34135
+ autoplay: autoplayMode,
34136
+ autoplayInterval: props2.autoplayInterval,
34137
+ autoplaySpeed: props2.autoplaySpeed,
34138
+ pauseOnHover: props2.pauseOnHover,
34139
+ dots: props2.dots,
34140
+ slideWidth: props2.slideWidth,
34141
+ onInit: () => {
34142
+ emit2("init");
34143
+ },
34144
+ onChange: () => {
34145
+ emit2("change");
34146
+ }
34147
+ };
34148
+ });
34149
+ const totalDots = vue.computed(() => {
34150
+ if (!innerElements.value.length) return 0;
34151
+ return config.value.loop ? innerElements.value.length : Math.ceil(innerElements.value.length - perPage.value + 1);
34152
+ });
34153
+ vue.onMounted(() => init());
34154
+ vue.onBeforeUnmount(() => {
34155
+ stopAutoplay();
34156
+ detachEvents();
34157
+ });
34158
+ vue.watch(() => props2, () => {
34159
+ resizeHandler();
34160
+ }, { deep: true });
34161
+ function webkitOrNot() {
34162
+ const { style } = document.documentElement;
34163
+ if (typeof style.transform === "string") {
34164
+ return "transform";
34165
+ }
34166
+ return "WebkitTransform";
34167
+ }
34168
+ function attachEvents() {
34169
+ window.addEventListener("resize", resizeHandler);
34170
+ if (config.value.draggable && carouselRef.value) {
34171
+ const eventOptions = { passive: true };
34172
+ const touchMoveOptions = { passive: false };
34173
+ const mouseMoveOptions = { passive: false };
34174
+ const mouseDownOptions = { passive: false };
34175
+ carouselRef.value.addEventListener("touchstart", touchstartHandler, eventOptions);
34176
+ carouselRef.value.addEventListener("touchend", touchendHandler, eventOptions);
34177
+ carouselRef.value.addEventListener("touchmove", touchmoveHandler, touchMoveOptions);
34178
+ carouselRef.value.addEventListener("mousedown", mousedownHandler, mouseDownOptions);
34179
+ carouselRef.value.addEventListener("mouseup", mouseupHandler, eventOptions);
34180
+ carouselRef.value.addEventListener("mouseleave", mouseleaveHandler, eventOptions);
34181
+ carouselRef.value.addEventListener("mousemove", mousemoveHandler, mouseMoveOptions);
34182
+ carouselRef.value.addEventListener("dragstart", dragstartHandler);
34183
+ carouselRef.value.addEventListener("click", clickHandler2);
34184
+ }
34185
+ if (config.value.autoplay !== "disabled" && config.value.pauseOnHover && carouselRef.value) {
34186
+ carouselRef.value.addEventListener("mouseenter", mouseenterHandler);
34187
+ carouselRef.value.addEventListener("mouseleave", mouseleaveAutoplayHandler);
34188
+ }
34189
+ }
34190
+ function detachEvents() {
34191
+ window.removeEventListener("resize", resizeHandler);
34192
+ if (carouselRef.value) {
34193
+ carouselRef.value.removeEventListener("touchstart", touchstartHandler);
34194
+ carouselRef.value.removeEventListener("touchend", touchendHandler);
34195
+ carouselRef.value.removeEventListener("touchmove", touchmoveHandler);
34196
+ carouselRef.value.removeEventListener("mousedown", mousedownHandler);
34197
+ carouselRef.value.removeEventListener("mouseup", mouseupHandler);
34198
+ carouselRef.value.removeEventListener("mouseleave", mouseleaveHandler);
34199
+ carouselRef.value.removeEventListener("mousemove", mousemoveHandler);
34200
+ carouselRef.value.removeEventListener("dragstart", dragstartHandler);
34201
+ carouselRef.value.removeEventListener("click", clickHandler2);
34202
+ carouselRef.value.removeEventListener("mouseenter", mouseenterHandler);
34203
+ carouselRef.value.removeEventListener("mouseleave", mouseleaveAutoplayHandler);
34204
+ }
34205
+ }
34206
+ async function init() {
34207
+ if (!carouselRef.value) return;
34208
+ transformProperty.value = webkitOrNot();
34209
+ await sleep(10);
34210
+ innerElements.value = Array.from(carouselRef.value.children);
34211
+ if (!innerElements.value.length) {
34212
+ console.warn("No carousel items found during initialization");
34213
+ return;
34214
+ }
34215
+ selectorWidth.value = carouselRef.value.offsetWidth;
34216
+ currentSlide.value = config.value.loop ? config.value.startIndex % innerElements.value.length : Math.max(0, Math.min(config.value.startIndex, innerElements.value.length - perPage.value));
34217
+ carouselRef.value.style.overflow = "hidden";
34218
+ carouselRef.value.style.direction = config.value.rtl ? "rtl" : "ltr";
34219
+ attachEvents();
34220
+ await vue.nextTick();
34221
+ buildSliderFrame();
34222
+ if (config.value.autoplay !== "disabled") {
34223
+ startAutoplay();
34224
+ }
34225
+ config.value.onInit();
34226
+ }
34227
+ function buildSliderFrame() {
34228
+ if (!carouselRef.value) return;
34229
+ if (!innerElements.value.length) {
34230
+ console.warn("No carousel items found");
34231
+ return;
34232
+ }
34233
+ const widthItem = selectorWidth.value / perPage.value;
34234
+ const itemsToBuild = config.value.loop ? innerElements.value.length + 2 * perPage.value : innerElements.value.length;
34235
+ if (!sliderFrame.value) {
34236
+ sliderFrame.value = document.createElement("div");
34237
+ }
34238
+ sliderFrame.value.style.width = `${widthItem * itemsToBuild}px`;
34239
+ enableTransition();
34240
+ if (config.value.draggable && carouselRef.value) {
34241
+ carouselRef.value.style.cursor = "-webkit-grab";
34242
+ }
34243
+ const docFragment = document.createDocumentFragment();
34244
+ if (config.value.loop && innerElements.value.length > 0) {
34245
+ for (let i2 = innerElements.value.length - perPage.value; i2 < innerElements.value.length; i2++) {
34246
+ if (i2 >= 0 && i2 < innerElements.value.length) {
34247
+ const element = buildSliderFrameItem(innerElements.value[i2].cloneNode(true));
34248
+ docFragment.appendChild(element);
34249
+ }
34250
+ }
34251
+ }
34252
+ for (let i2 = 0; i2 < innerElements.value.length; i2++) {
34253
+ const element = buildSliderFrameItem(innerElements.value[i2]);
34254
+ docFragment.appendChild(element);
34255
+ }
34256
+ if (config.value.loop && innerElements.value.length > 0) {
34257
+ for (let i2 = 0; i2 < perPage.value; i2++) {
34258
+ if (i2 >= 0 && i2 < innerElements.value.length) {
34259
+ const element = buildSliderFrameItem(innerElements.value[i2].cloneNode(true));
34260
+ docFragment.appendChild(element);
34261
+ }
34262
+ }
34263
+ }
34264
+ if (sliderFrame.value) {
34265
+ sliderFrame.value.innerHTML = "";
34266
+ sliderFrame.value.appendChild(docFragment);
34267
+ if (carouselRef.value) {
34268
+ carouselRef.value.innerHTML = "";
34269
+ carouselRef.value.appendChild(sliderFrame.value);
34270
+ }
34271
+ }
34272
+ slideToCurrent();
34273
+ }
34274
+ function buildSliderFrameItem(elm) {
34275
+ const elementContainer = document.createElement("div");
34276
+ elementContainer.style.cssFloat = config.value.rtl ? "right" : "left";
34277
+ elementContainer.style.float = config.value.rtl ? "right" : "left";
34278
+ const percentage = config.value.loop ? 100 / (innerElements.value.length + perPage.value * 2) : 100 / innerElements.value.length;
34279
+ elementContainer.style.width = `${percentage}%`;
34280
+ elementContainer.appendChild(elm);
34281
+ return elementContainer;
34282
+ }
34283
+ function slideToCurrent(enableTransitionFlag) {
34284
+ const currentSlideValue = config.value.loop ? currentSlide.value + perPage.value : currentSlide.value;
34285
+ const offset2 = (config.value.rtl ? 1 : -1) * currentSlideValue * (selectorWidth.value / perPage.value);
34286
+ if (enableTransitionFlag && sliderFrame.value) {
34287
+ requestAnimationFrame(() => {
34288
+ requestAnimationFrame(() => {
34289
+ enableTransition();
34290
+ if (sliderFrame.value) {
34291
+ sliderFrame.value.style[transformProperty.value] = `translate3d(${offset2}px, 0, 0)`;
34292
+ }
34293
+ });
34294
+ });
34295
+ } else if (sliderFrame.value) {
34296
+ sliderFrame.value.style[transformProperty.value] = `translate3d(${offset2}px, 0, 0)`;
34297
+ }
34298
+ }
34299
+ function prev(howManySlides = 1) {
34300
+ if (innerElements.value.length <= perPage.value) {
34301
+ return;
34302
+ }
34303
+ const beforeChange = currentSlide.value;
34304
+ if (config.value.loop) {
34305
+ const isNewIndexClone = currentSlide.value - howManySlides < 0;
34306
+ if (isNewIndexClone) {
34307
+ disableTransition();
34308
+ const mirrorSlideIndex = currentSlide.value + innerElements.value.length;
34309
+ const mirrorSlideIndexOffset = perPage.value;
34310
+ const moveTo = mirrorSlideIndex + mirrorSlideIndexOffset;
34311
+ const offset2 = (config.value.rtl ? 1 : -1) * moveTo * (selectorWidth.value / perPage.value);
34312
+ const dragDistance = config.value.draggable ? drag.value.endX - drag.value.startX : 0;
34313
+ if (sliderFrame.value) {
34314
+ sliderFrame.value.style[transformProperty.value] = `translate3d(${offset2 + dragDistance}px, 0, 0)`;
34315
+ }
34316
+ currentSlide.value = mirrorSlideIndex - howManySlides;
34317
+ } else {
34318
+ currentSlide.value = currentSlide.value - howManySlides;
34319
+ }
34320
+ } else {
34321
+ currentSlide.value = Math.max(currentSlide.value - howManySlides, 0);
34322
+ }
34323
+ if (beforeChange !== currentSlide.value) {
34324
+ slideToCurrent(config.value.loop);
34325
+ config.value.onChange();
34326
+ }
34327
+ }
34328
+ function next(howManySlides = 1) {
34329
+ if (innerElements.value.length <= perPage.value) {
34330
+ return;
34331
+ }
34332
+ const beforeChange = currentSlide.value;
34333
+ if (config.value.loop) {
34334
+ const isNewIndexClone = currentSlide.value + howManySlides > innerElements.value.length - perPage.value;
34335
+ if (isNewIndexClone) {
34336
+ disableTransition();
34337
+ const mirrorSlideIndex = currentSlide.value - innerElements.value.length;
34338
+ const mirrorSlideIndexOffset = perPage.value;
34339
+ const moveTo = mirrorSlideIndex + mirrorSlideIndexOffset;
34340
+ const offset2 = (config.value.rtl ? 1 : -1) * moveTo * (selectorWidth.value / perPage.value);
34341
+ const dragDistance = config.value.draggable ? drag.value.endX - drag.value.startX : 0;
34342
+ if (sliderFrame.value) {
34343
+ sliderFrame.value.style[transformProperty.value] = `translate3d(${offset2 + dragDistance}px, 0, 0)`;
34344
+ }
34345
+ currentSlide.value = mirrorSlideIndex + howManySlides;
34346
+ } else {
34347
+ currentSlide.value = currentSlide.value + howManySlides;
34348
+ }
34349
+ } else {
34350
+ currentSlide.value = Math.min(currentSlide.value + howManySlides, innerElements.value.length - perPage.value);
34351
+ }
34352
+ if (beforeChange !== currentSlide.value) {
34353
+ slideToCurrent(config.value.loop);
34354
+ config.value.onChange();
34355
+ }
34356
+ }
34357
+ function goTo(index2) {
34358
+ if (innerElements.value.length <= perPage.value) {
34359
+ return;
34360
+ }
34361
+ const beforeChange = currentSlide.value;
34362
+ currentSlide.value = config.value.loop ? index2 % innerElements.value.length : Math.min(Math.max(index2, 0), innerElements.value.length - perPage.value);
34363
+ if (beforeChange !== currentSlide.value) {
34364
+ slideToCurrent();
34365
+ config.value.onChange();
34366
+ }
34367
+ }
34368
+ function disableTransition() {
34369
+ if (sliderFrame.value) {
34370
+ sliderFrame.value.style.webkitTransition = `all 0ms ${config.value.easing}`;
34371
+ sliderFrame.value.style.transition = `all 0ms ${config.value.easing}`;
34372
+ }
34373
+ }
34374
+ function enableTransition() {
34375
+ if (sliderFrame.value) {
34376
+ sliderFrame.value.style.webkitTransition = `all ${config.value.duration}ms ${config.value.easing}`;
34377
+ sliderFrame.value.style.transition = `all ${config.value.duration}ms ${config.value.easing}`;
34378
+ }
34379
+ }
34380
+ function updateAfterDrag() {
34381
+ const movement = (config.value.rtl ? -1 : 1) * (drag.value.endX - drag.value.startX);
34382
+ const movementDistance = Math.abs(movement);
34383
+ const howManySliderToSlide = config.value.multipleDrag ? Math.ceil(movementDistance / (selectorWidth.value / perPage.value)) : 1;
34384
+ const slideToNegativeClone = movement > 0 && currentSlide.value - howManySliderToSlide < 0;
34385
+ const slideToPositiveClone = movement < 0 && currentSlide.value + howManySliderToSlide > innerElements.value.length - perPage.value;
34386
+ if (movement > 0 && movementDistance > config.value.threshold && innerElements.value.length > perPage.value) {
34387
+ prev(howManySliderToSlide);
34388
+ } else if (movement < 0 && movementDistance > config.value.threshold && innerElements.value.length > perPage.value) {
34389
+ next(howManySliderToSlide);
34390
+ }
34391
+ slideToCurrent(slideToNegativeClone || slideToPositiveClone);
34392
+ }
34393
+ function resizeHandler() {
34394
+ if (currentSlide.value + perPage.value > innerElements.value.length) {
34395
+ currentSlide.value = innerElements.value.length <= perPage.value ? 0 : innerElements.value.length - perPage.value;
34396
+ }
34397
+ if (carouselRef.value) {
34398
+ selectorWidth.value = carouselRef.value.offsetWidth;
34399
+ }
34400
+ buildSliderFrame();
34401
+ }
34402
+ function clearDrag() {
34403
+ drag.value = {
34404
+ startX: 0,
34405
+ endX: 0,
34406
+ startY: 0,
34407
+ letItGo: null,
34408
+ preventClick: drag.value.preventClick
34409
+ };
34410
+ }
34411
+ function touchstartHandler(e) {
34412
+ const target = e.target;
34413
+ const ignoreTags = ["TEXTAREA", "OPTION", "INPUT", "SELECT"].includes(target.nodeName);
34414
+ if (ignoreTags) {
34415
+ return;
34416
+ }
34417
+ stopAutoplay();
34418
+ e.stopPropagation();
34419
+ pointerDown.value = true;
34420
+ isDragging.value = false;
34421
+ drag.value.startX = e.touches[0].pageX;
34422
+ drag.value.startY = e.touches[0].pageY;
34423
+ const isLink = target.tagName === "A" || target.closest("a");
34424
+ const isImage = target.tagName === "IMG";
34425
+ if (isLink || isImage) {
34426
+ drag.value.preventClick = false;
34427
+ }
34428
+ }
34429
+ function touchendHandler(e) {
34430
+ e.stopPropagation();
34431
+ if (isDragging.value) {
34432
+ document.addEventListener("click", function preventClickAfterDrag(event) {
34433
+ event.preventDefault();
34434
+ event.stopPropagation();
34435
+ event.stopImmediatePropagation();
34436
+ document.removeEventListener("click", preventClickAfterDrag, true);
34437
+ }, { capture: true, once: true });
34438
+ }
34439
+ pointerDown.value = false;
34440
+ isDragging.value = false;
34441
+ enableTransition();
34442
+ if (drag.value.endX) {
34443
+ updateAfterDrag();
34444
+ }
34445
+ clearDrag();
34446
+ if (config.value.autoplay !== "disabled") {
34447
+ startAutoplay();
34448
+ }
34449
+ }
34450
+ function touchmoveHandler(e) {
34451
+ e.stopPropagation();
34452
+ if (drag.value.letItGo === null) {
34453
+ drag.value.letItGo = Math.abs(drag.value.startY - e.touches[0].pageY) < Math.abs(drag.value.startX - e.touches[0].pageX);
34454
+ }
34455
+ if (pointerDown.value && drag.value.letItGo) {
34456
+ e.preventDefault();
34457
+ drag.value.endX = e.touches[0].pageX;
34458
+ const dragDistance = Math.abs(drag.value.endX - drag.value.startX);
34459
+ if (dragDistance > dragThreshold) {
34460
+ isDragging.value = true;
34461
+ drag.value.preventClick = true;
34462
+ }
34463
+ if (sliderFrame.value) {
34464
+ disableTransition();
34465
+ const currentSlideValue = config.value.loop ? currentSlide.value + perPage.value : currentSlide.value;
34466
+ const currentOffset = currentSlideValue * (selectorWidth.value / perPage.value);
34467
+ const dragOffset = drag.value.endX - drag.value.startX;
34468
+ const offset2 = config.value.rtl ? currentOffset + dragOffset : currentOffset - dragOffset;
34469
+ sliderFrame.value.style[transformProperty.value] = `translate3d(${(config.value.rtl ? 1 : -1) * offset2}px, 0, 0)`;
34470
+ }
34471
+ }
34472
+ }
34473
+ function mousedownHandler(e) {
34474
+ const target = e.target;
34475
+ const ignoreTags = ["TEXTAREA", "OPTION", "INPUT", "SELECT"].includes(target.nodeName);
34476
+ if (ignoreTags) return;
34477
+ stopAutoplay();
34478
+ e.preventDefault();
34479
+ e.stopPropagation();
34480
+ pointerDown.value = true;
34481
+ isDragging.value = false;
34482
+ drag.value.startX = e.pageX;
34483
+ const isLink = target.tagName === "A" || target.closest("a");
34484
+ const isImage = target.tagName === "IMG";
34485
+ if (isLink || isImage) {
34486
+ drag.value.preventClick = false;
34487
+ }
34488
+ }
34489
+ function mouseupHandler(e) {
34490
+ e.stopPropagation();
34491
+ if (isDragging.value) {
34492
+ document.addEventListener("click", function preventClickAfterDrag(event) {
34493
+ event.preventDefault();
34494
+ event.stopPropagation();
34495
+ event.stopImmediatePropagation();
34496
+ document.removeEventListener("click", preventClickAfterDrag, true);
34497
+ }, { capture: true, once: true });
34498
+ }
34499
+ pointerDown.value = false;
34500
+ isDragging.value = false;
34501
+ if (carouselRef.value) {
34502
+ carouselRef.value.style.cursor = "-webkit-grab";
34503
+ }
34504
+ enableTransition();
34505
+ if (drag.value.endX) {
34506
+ updateAfterDrag();
34507
+ }
34508
+ clearDrag();
34509
+ if (config.value.autoplay !== "disabled" && !isHovering.value) {
34510
+ startAutoplay();
34511
+ }
34512
+ }
34513
+ function mousemoveHandler(e) {
34514
+ e.preventDefault();
34515
+ if (pointerDown.value) {
34516
+ drag.value.endX = e.pageX;
34517
+ const dragDistance = Math.abs(drag.value.endX - drag.value.startX);
34518
+ if (dragDistance > dragThreshold) {
34519
+ isDragging.value = true;
34520
+ drag.value.preventClick = true;
34521
+ }
34522
+ if (carouselRef.value) {
34523
+ carouselRef.value.style.cursor = "-webkit-grabbing";
34524
+ }
34525
+ if (sliderFrame.value) {
34526
+ disableTransition();
34527
+ const currentSlideValue = config.value.loop ? currentSlide.value + perPage.value : currentSlide.value;
34528
+ const currentOffset = currentSlideValue * (selectorWidth.value / perPage.value);
34529
+ const dragOffset = drag.value.endX - drag.value.startX;
34530
+ const offset2 = config.value.rtl ? currentOffset + dragOffset : currentOffset - dragOffset;
34531
+ sliderFrame.value.style[transformProperty.value] = `translate3d(${(config.value.rtl ? 1 : -1) * offset2}px, 0, 0)`;
34532
+ }
34533
+ }
34534
+ }
34535
+ function mouseleaveHandler(e) {
34536
+ if (pointerDown.value) {
34537
+ pointerDown.value = false;
34538
+ if (carouselRef.value) {
34539
+ carouselRef.value.style.cursor = "-webkit-grab";
34540
+ }
34541
+ drag.value.endX = e.pageX;
34542
+ drag.value.preventClick = false;
34543
+ enableTransition();
34544
+ updateAfterDrag();
34545
+ clearDrag();
34546
+ }
34547
+ }
34548
+ function clickHandler2(e) {
34549
+ if (drag.value.preventClick || isDragging.value) {
34550
+ e.preventDefault();
34551
+ e.stopPropagation();
34552
+ e.stopImmediatePropagation();
34553
+ drag.value.preventClick = false;
34554
+ }
34555
+ drag.value.preventClick = false;
34556
+ }
34557
+ function dragstartHandler(e) {
34558
+ var _a;
34559
+ if (config.value.draggable) {
34560
+ const target = e.target;
34561
+ const isDraggableElement = target.tagName === "IMG" || target.tagName === "A" || ((_a = target.parentElement) == null ? void 0 : _a.tagName) === "A";
34562
+ if (isDraggableElement) {
34563
+ e.preventDefault();
34564
+ }
34565
+ }
34566
+ }
34567
+ function remove2(index2) {
34568
+ if (index2 < 0 || index2 >= innerElements.value.length) {
34569
+ throw new Error("Item to remove doesn't exist 😭");
34570
+ }
34571
+ const lowerIndex = index2 < currentSlide.value;
34572
+ const lastItem = currentSlide.value + perPage.value - 1 === index2;
34573
+ if (lowerIndex || lastItem) {
34574
+ currentSlide.value--;
34575
+ }
34576
+ innerElements.value.splice(index2, 1);
34577
+ buildSliderFrame();
34578
+ }
34579
+ function insert(item, index2) {
34580
+ if (index2 < 0 || index2 > innerElements.value.length + 1) {
34581
+ throw new Error("Unable to insert at this index 😭");
34582
+ }
34583
+ if (innerElements.value.includes(item)) {
34584
+ throw new Error("The same item in a carousel? Really? Nope 😭");
34585
+ }
34586
+ const shouldItShift = index2 <= currentSlide.value && innerElements.value.length > 0;
34587
+ if (shouldItShift) {
34588
+ currentSlide.value++;
34589
+ }
34590
+ innerElements.value.splice(index2, 0, item);
34591
+ buildSliderFrame();
34592
+ }
34593
+ function prepend(item) {
34594
+ insert(item, 0);
34595
+ }
34596
+ function append3(item) {
34597
+ insert(item, innerElements.value.length);
34598
+ }
34599
+ function destroy2(restoreMarkup = false) {
34600
+ detachEvents();
34601
+ if (carouselRef.value) {
34602
+ carouselRef.value.style.cursor = "auto";
34603
+ if (restoreMarkup) {
34604
+ const slides = document.createDocumentFragment();
34605
+ for (let i2 = 0; i2 < innerElements.value.length; i2++) {
34606
+ slides.appendChild(innerElements.value[i2]);
34607
+ }
34608
+ carouselRef.value.innerHTML = "";
34609
+ carouselRef.value.appendChild(slides);
34610
+ carouselRef.value.removeAttribute("style");
34611
+ }
34612
+ }
34613
+ }
34614
+ async function startAutoplay() {
34615
+ stopAutoplay();
34616
+ if (config.value.autoplay === "standard") {
34617
+ autoplayTimer.value = window.setInterval(() => {
34618
+ if (!isHovering.value) {
34619
+ next();
34620
+ }
34621
+ }, config.value.autoplayInterval);
34622
+ } else if (config.value.autoplay === "linear") {
34623
+ startLinearAutoplay();
34624
+ }
34625
+ }
34626
+ function stopAutoplay() {
34627
+ if (autoplayTimer.value !== null) {
34628
+ clearInterval(autoplayTimer.value);
34629
+ autoplayTimer.value = null;
34630
+ }
34631
+ if (linearAnimationFrame.value !== null) {
34632
+ cancelAnimationFrame(linearAnimationFrame.value);
34633
+ linearAnimationFrame.value = null;
34634
+ }
34635
+ }
34636
+ function startLinearAutoplay() {
34637
+ linearOffset.value = 0;
34638
+ let lastTimestamp = 0;
34639
+ const animate = (timestamp2) => {
34640
+ if (!lastTimestamp) lastTimestamp = timestamp2;
34641
+ const elapsed = timestamp2 - lastTimestamp;
34642
+ lastTimestamp = timestamp2;
34643
+ if (isHovering.value) {
34644
+ linearAnimationFrame.value = requestAnimationFrame(animate);
34645
+ return;
34646
+ }
34647
+ const pixelsToMove = elapsed / 1e3 * config.value.autoplaySpeed;
34648
+ linearOffset.value += pixelsToMove;
34649
+ const itemWidth = selectorWidth.value / perPage.value;
34650
+ const totalWidth = itemWidth * innerElements.value.length;
34651
+ if (linearOffset.value >= totalWidth) {
34652
+ if (config.value.loop) {
34653
+ linearOffset.value = 0;
34654
+ } else {
34655
+ linearOffset.value = totalWidth - itemWidth;
34656
+ stopAutoplay();
34657
+ return;
34658
+ }
34659
+ }
34660
+ if (sliderFrame.value) {
34661
+ const direction = config.value.rtl ? 1 : -1;
34662
+ sliderFrame.value.style.transition = "none";
34663
+ sliderFrame.value.style[transformProperty.value] = `translate3d(${direction * linearOffset.value}px, 0, 0)`;
34664
+ }
34665
+ const newSlide = Math.floor(linearOffset.value / itemWidth) % innerElements.value.length;
34666
+ if (newSlide !== currentSlide.value) {
34667
+ currentSlide.value = newSlide;
34668
+ config.value.onChange();
34669
+ }
34670
+ linearAnimationFrame.value = requestAnimationFrame(animate);
34671
+ };
34672
+ linearAnimationFrame.value = requestAnimationFrame(animate);
34673
+ }
34674
+ function mouseenterHandler() {
34675
+ isHovering.value = true;
34676
+ }
34677
+ function mouseleaveAutoplayHandler() {
34678
+ isHovering.value = false;
34679
+ }
34680
+ function pauseAutoplay() {
34681
+ stopAutoplay();
34682
+ }
34683
+ function resumeAutoplay() {
34684
+ if (config.value.autoplay !== "disabled") {
34685
+ startAutoplay();
34686
+ }
34687
+ }
34688
+ __expose({
34689
+ prev,
34690
+ next,
34691
+ goTo,
34692
+ remove: remove2,
34693
+ insert,
34694
+ prepend,
34695
+ append: append3,
34696
+ destroy: destroy2,
34697
+ currentSlide,
34698
+ pauseAutoplay,
34699
+ resumeAutoplay
34700
+ });
34701
+ return (_ctx, _cache) => {
34702
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$5, [
34703
+ vue.createElementVNode("div", {
34704
+ ref_key: "carouselRef",
34705
+ ref: carouselRef,
34706
+ class: "carousel-container"
34707
+ }, [
34708
+ vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
34709
+ ], 512),
34710
+ props2.dots && totalDots.value > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$3, [
34711
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(totalDots.value, (i2) => {
34712
+ return vue.openBlock(), vue.createElementBlock("button", {
34713
+ key: i2,
34714
+ type: "button",
34715
+ class: vue.normalizeClass(["carousel-dot", [{ active: i2 - 1 === currentSlide.value }]]),
34716
+ "aria-label": `Go to slide ${i2}`,
34717
+ onClick: ($event) => goTo(i2 - 1)
34718
+ }, null, 10, _hoisted_3$3);
34719
+ }), 128))
34720
+ ])) : vue.createCommentVNode("", true)
34721
+ ]);
34722
+ };
34723
+ }
34724
+ });
34725
+ const Slider = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-bf496bff"]]);
34248
34726
  const _hoisted_1$4 = { class: "stickyTop" };
34249
34727
  const _hoisted_2$2 = {
34250
34728
  key: 0,
@@ -34347,7 +34825,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
34347
34825
  vue.createElementVNode("span", {
34348
34826
  onClick: ($event) => col.sortable && _ctx.$emit("sortColumn", col.key)
34349
34827
  }, vue.toDisplayString(col.label || col.key), 9, _hoisted_4$2),
34350
- _ctx.sortColumn === col.key ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
34828
+ _ctx.sortColumn === col.key ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$t), {
34351
34829
  key: 0,
34352
34830
  class: vue.normalizeClass(["line-height-0 transition-400", { "rotate-180": _ctx.sortDirection === "desc" }]),
34353
34831
  name: "keyboard_arrow_down"
@@ -34924,29 +35402,29 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
34924
35402
  placeholder: "Search",
34925
35403
  class: "m-0 max-w200px"
34926
35404
  }, null, 8, ["modelValue"]),
34927
- vue.createVNode(vue.unref(_sfc_main$X), {
35405
+ vue.createVNode(vue.unref(_sfc_main$Y), {
34928
35406
  flat: "",
34929
35407
  thin: "",
34930
35408
  icon: "more_vert"
34931
35409
  }, {
34932
35410
  default: vue.withCtx(() => [
34933
- vue.createVNode(vue.unref(_sfc_main$h), {
35411
+ vue.createVNode(vue.unref(_sfc_main$i), {
34934
35412
  title: "Paste",
34935
35413
  icon: "paste",
34936
35414
  onClick: pasteSelection
34937
35415
  }),
34938
- vue.createVNode(vue.unref(_sfc_main$h), {
35416
+ vue.createVNode(vue.unref(_sfc_main$i), {
34939
35417
  title: "copy",
34940
35418
  icon: "copy",
34941
35419
  onClick: copySelection
34942
35420
  }),
34943
- vue.createVNode(vue.unref(_sfc_main$h), {
35421
+ vue.createVNode(vue.unref(_sfc_main$i), {
34944
35422
  title: "Undo",
34945
35423
  icon: "undo",
34946
35424
  disabled: !canUndo.value,
34947
35425
  onClick: undo
34948
35426
  }, null, 8, ["disabled"]),
34949
- vue.createVNode(vue.unref(_sfc_main$h), {
35427
+ vue.createVNode(vue.unref(_sfc_main$i), {
34950
35428
  title: "Redo",
34951
35429
  icon: "redo",
34952
35430
  disabled: !canRedo.value,
@@ -34957,9 +35435,9 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
34957
35435
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(wrapText) ? wrapText.value = $event : null),
34958
35436
  label: "Wrap Text"
34959
35437
  }, null, 8, ["modelValue"]),
34960
- vue.createVNode(vue.unref(_sfc_main$X), { placement: "auto-end" }, {
35438
+ vue.createVNode(vue.unref(_sfc_main$Y), { placement: "auto-end" }, {
34961
35439
  trigger: vue.withCtx(({ show }) => [
34962
- vue.createVNode(vue.unref(_sfc_main$h), {
35440
+ vue.createVNode(vue.unref(_sfc_main$i), {
34963
35441
  title: "Column Visibility",
34964
35442
  icon: "view_column",
34965
35443
  onClick: ($event) => show()
@@ -36177,13 +36655,13 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
36177
36655
  title: item == null ? void 0 : item.name,
36178
36656
  class: "vw90"
36179
36657
  }, null, 8, _hoisted_5)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, [
36180
- vue.createVNode(vue.unref(_sfc_main$s), {
36658
+ vue.createVNode(vue.unref(_sfc_main$t), {
36181
36659
  class: "m-0 m_none",
36182
36660
  icon: "draft",
36183
36661
  size: 10,
36184
36662
  weight: "12"
36185
36663
  }),
36186
- vue.createVNode(vue.unref(_sfc_main$s), {
36664
+ vue.createVNode(vue.unref(_sfc_main$t), {
36187
36665
  class: "m-0 none m_block m_-mb-1",
36188
36666
  icon: "draft",
36189
36667
  size: 4,
@@ -36222,7 +36700,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
36222
36700
  src: item.src,
36223
36701
  alt: "",
36224
36702
  onClick: ($event) => selectItem(index2)
36225
- }, null, 8, ["src", "class", "onClick"])) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$s), {
36703
+ }, null, 8, ["src", "class", "onClick"])) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$t), {
36226
36704
  key: 1,
36227
36705
  class: vue.normalizeClass(["thumbnail object-fit-cover hover opacity-5 ed flex bg-popup justify-content-center align-items-center flex-shrink-0", { active: vue.unref(currentIndex) === index2 }]),
36228
36706
  icon: "description",
@@ -36603,9 +37081,9 @@ const ModalPlugin = {
36603
37081
  case "modalForm":
36604
37082
  return vue.h(ModalForm, props2, modal.componentSlots);
36605
37083
  case "confirmModal":
36606
- return vue.h(_sfc_main$c, props2, {});
37084
+ return vue.h(_sfc_main$d, props2, {});
36607
37085
  default:
36608
- return vue.h(_sfc_main$d, props2, modal.componentSlots);
37086
+ return vue.h(_sfc_main$e, props2, modal.componentSlots);
36609
37087
  }
36610
37088
  });
36611
37089
  }
@@ -37378,60 +37856,60 @@ function useSearch(params) {
37378
37856
  isLoading: vue.computed(() => isLoading.value)
37379
37857
  };
37380
37858
  }
37381
- exports.Accordion = _sfc_main$1f;
37859
+ exports.Accordion = _sfc_main$1g;
37382
37860
  exports.AccordionItem = AccordionItem;
37383
- exports.AddressSearch = _sfc_main$1d;
37861
+ exports.AddressSearch = _sfc_main$1e;
37384
37862
  exports.Alert = Alert;
37385
37863
  exports.Avatar = Avatar;
37386
37864
  exports.Badge = Badge;
37387
- exports.BagelForm = _sfc_main$U;
37865
+ exports.BagelForm = _sfc_main$V;
37388
37866
  exports.BagelMultiStepForm = BglMultiStepForm;
37389
37867
  exports.BagelVue = BagelVue;
37390
- exports.BglForm = _sfc_main$U;
37868
+ exports.BglForm = _sfc_main$V;
37391
37869
  exports.BglVideo = BglVideo;
37392
37870
  exports.BottomMenu = BottomMenu;
37393
37871
  exports.Btn = Btn;
37394
37872
  exports.Calendar = Index$1;
37395
- exports.Card = _sfc_main$11;
37873
+ exports.Card = _sfc_main$12;
37396
37874
  exports.Carousel = Carousel;
37397
37875
  exports.CheckInput = CheckInput;
37398
37876
  exports.Checkbox = Checkbox;
37399
37877
  exports.CodeEditor = CodeEditor;
37400
- exports.ColorInput = _sfc_main$O;
37878
+ exports.ColorInput = _sfc_main$P;
37401
37879
  exports.DataPreview = DataPreview;
37402
37880
  exports.DataTable = DataTable;
37403
- exports.DateInput = _sfc_main$M;
37881
+ exports.DateInput = _sfc_main$N;
37404
37882
  exports.DatePicker = DatePicker;
37405
- exports.Draggable = _sfc_main$Y;
37406
- exports.Dropdown = _sfc_main$X;
37883
+ exports.Draggable = _sfc_main$Z;
37884
+ exports.Dropdown = _sfc_main$Y;
37407
37885
  exports.EMAIL_REGEX = EMAIL_REGEX;
37408
37886
  exports.EmailInput = EmailInput;
37409
37887
  exports.FORM_STATE_KEY = FORM_STATE_KEY;
37410
- exports.FieldArray = _sfc_main$S;
37888
+ exports.FieldArray = _sfc_main$T;
37411
37889
  exports.FieldSetVue = FieldSetVue;
37412
37890
  exports.FileUpload = FileUpload;
37413
37891
  exports.Flag = Flag;
37414
37892
  exports.IMAGE_FORMATS = IMAGE_FORMATS;
37415
37893
  exports.IMAGE_FORMATS_REGEXP = IMAGE_FORMATS_REGEXP;
37416
- exports.Icon = _sfc_main$s;
37417
- exports.IframeVue = _sfc_main$r;
37894
+ exports.Icon = _sfc_main$t;
37895
+ exports.IframeVue = _sfc_main$s;
37418
37896
  exports.Image = Image$1;
37419
37897
  exports.JSONInput = JSONInput;
37420
37898
  exports.Layout = Layout;
37421
- exports.Lineart = _sfc_main$$;
37422
- exports.ListItem = _sfc_main$h;
37899
+ exports.Lineart = _sfc_main$10;
37900
+ exports.ListItem = _sfc_main$i;
37423
37901
  exports.ListView = ListView;
37424
37902
  exports.Loading = Loading;
37425
- exports.MapEmbed = _sfc_main$e;
37426
- exports.Modal = _sfc_main$d;
37427
- exports.ModalConfirm = _sfc_main$c;
37903
+ exports.MapEmbed = _sfc_main$f;
37904
+ exports.Modal = _sfc_main$e;
37905
+ exports.ModalConfirm = _sfc_main$d;
37428
37906
  exports.ModalForm = ModalForm;
37429
37907
  exports.ModalPlugin = ModalPlugin;
37430
37908
  exports.NavBar = NavBar;
37431
37909
  exports.NumberInput = NumberInput;
37432
37910
  exports.OTP = OTP;
37433
- exports.PageTitle = _sfc_main$9;
37434
- exports.PasswordInput = _sfc_main$G;
37911
+ exports.PageTitle = _sfc_main$a;
37912
+ exports.PasswordInput = _sfc_main$H;
37435
37913
  exports.Pill = Pill;
37436
37914
  exports.RadioGroup = RadioGroup;
37437
37915
  exports.RadioPillsInput = RadioPillsInput;
@@ -37440,14 +37918,15 @@ exports.RichText = RichText;
37440
37918
  exports.RouterWrapper = RouterWrapper;
37441
37919
  exports.SelectInput = SelectInput;
37442
37920
  exports.SidebarMenu = SidebarMenu;
37443
- exports.SignaturePad = _sfc_main$y;
37921
+ exports.SignaturePad = _sfc_main$z;
37444
37922
  exports.Skeleton = Skeleton;
37923
+ exports.Slider = Slider;
37445
37924
  exports.Spreadsheet = Index;
37446
37925
  exports.TabbedLayout = TabbedLayout;
37447
37926
  exports.TableField = TableField;
37448
37927
  exports.TableSchema = DataTable;
37449
- exports.Tabs = _sfc_main$k;
37450
- exports.TabsBody = _sfc_main$j;
37928
+ exports.Tabs = _sfc_main$l;
37929
+ exports.TabsBody = _sfc_main$k;
37451
37930
  exports.TabsNav = TabsNav;
37452
37931
  exports.TelInput = TelInput;
37453
37932
  exports.TextInput = TextInput;