@bagelink/vue 1.1.21 → 1.1.27

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.mjs CHANGED
@@ -19,7 +19,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
19
19
  });
20
20
  const _hoisted_1$1b = ["aria-expanded", "aria-controls"];
21
21
  const _hoisted_2$T = { class: "accordion-label" };
22
- const _hoisted_3$I = ["id", "aria-hidden"];
22
+ const _hoisted_3$J = ["id", "aria-hidden"];
23
23
  const _sfc_main$1m = /* @__PURE__ */ defineComponent({
24
24
  __name: "AccordionItem",
25
25
  props: {
@@ -104,7 +104,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
104
104
  "aria-hidden": unref(isOpen) ? "false" : "true"
105
105
  }, [
106
106
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
107
- ], 8, _hoisted_3$I)) : createCommentVNode("", true)
107
+ ], 8, _hoisted_3$J)) : createCommentVNode("", true)
108
108
  ]),
109
109
  _: 3
110
110
  })
@@ -377,7 +377,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
377
377
  const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-689f051f"]]);
378
378
  const _hoisted_1$16 = ["src"];
379
379
  const _hoisted_2$R = ["autoplay", "muted", "loop", "controls", "playsinline"];
380
- const _hoisted_3$H = ["src", "type"];
380
+ const _hoisted_3$I = ["src", "type"];
381
381
  const _sfc_main$1g = /* @__PURE__ */ defineComponent({
382
382
  __name: "BglVideo",
383
383
  props: {
@@ -469,7 +469,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
469
469
  createElementVNode("source", {
470
470
  src: _ctx.src,
471
471
  type: `video/${videoFormat.value}`
472
- }, null, 8, _hoisted_3$H)
472
+ }, null, 8, _hoisted_3$I)
473
473
  ], 12, _hoisted_2$R)) : createCommentVNode("", true)
474
474
  ], 2);
475
475
  };
@@ -739,11 +739,11 @@ const DATE_TIME_STRING_PATTERN = /^\d{4}-\d{2}-\d{2} \d{2}:\d{2}$/;
739
739
  const DATE_TIME_STRING_FULL_DAY_PATTERN = /^\d{4}-\d{2}-\d{2}$/;
740
740
  const _hoisted_1$14 = ["id"];
741
741
  const _hoisted_2$P = { class: "flex txt14 flex column align-items-start gap-025 opacity-6" };
742
- const _hoisted_3$G = {
742
+ const _hoisted_3$H = {
743
743
  key: 0,
744
744
  class: "agenda__event-time flex gap-025"
745
745
  };
746
- const _hoisted_4$u = {
746
+ const _hoisted_4$t = {
747
747
  key: 1,
748
748
  class: "agenda__event-location flex gap-025"
749
749
  };
@@ -823,14 +823,14 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
823
823
  onClick: withModifiers(handleClickOnEvent, ["prevent"])
824
824
  }, [
825
825
  createElementVNode("div", _hoisted_2$P, [
826
- eventTime.value && !__props.calendarEvent.originalEvent ? (openBlock(), createElementBlock("span", _hoisted_3$G, [
826
+ eventTime.value && !__props.calendarEvent.originalEvent ? (openBlock(), createElementBlock("span", _hoisted_3$H, [
827
827
  createVNode(unref(_sfc_main$s), {
828
828
  icon: icons.clock,
829
829
  size: 0.8
830
830
  }, null, 8, ["icon"]),
831
831
  createTextVNode(" " + toDisplayString(eventTime.value), 1)
832
832
  ])) : createCommentVNode("", true),
833
- __props.calendarEvent.location ? (openBlock(), createElementBlock("span", _hoisted_4$u, [
833
+ __props.calendarEvent.location ? (openBlock(), createElementBlock("span", _hoisted_4$t, [
834
834
  createVNode(unref(_sfc_main$s), {
835
835
  icon: icons.location,
836
836
  size: 1
@@ -854,8 +854,8 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
854
854
  const AgendaEventTile = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-d63dd40c"]]);
855
855
  const _hoisted_1$13 = { class: "agenda__wrapper grid align-items-start gap-1 h-100p" };
856
856
  const _hoisted_2$O = { class: "m_sticky" };
857
- const _hoisted_3$F = { class: "agenda__header-day-name txt-center" };
858
- const _hoisted_4$t = { class: "agenda__header-date flex justify-content-center rounded p-025 txt24 line-height-04" };
857
+ const _hoisted_3$G = { class: "agenda__header-day-name txt-center" };
858
+ const _hoisted_4$s = { class: "agenda__header-date flex justify-content-center rounded p-025 txt24 line-height-04" };
859
859
  const _hoisted_5$p = { class: "agenda__content flex column w-100p h-100p min-h-100px pt-05 border-start ps-1 m_pt-0 min-h-50px" };
860
860
  const _hoisted_6$l = {
861
861
  key: 0,
@@ -887,8 +887,8 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
887
887
  return (_ctx, _cache) => {
888
888
  return openBlock(), createElementBlock("div", _hoisted_1$13, [
889
889
  createElementVNode("header", _hoisted_2$O, [
890
- createElementVNode("div", _hoisted_3$F, toDisplayString(__props.day.dayName.slice(0, 3)), 1),
891
- createElementVNode("div", _hoisted_4$t, toDisplayString(__props.day.dateTimeString.substring(8, 10)), 1)
890
+ createElementVNode("div", _hoisted_3$G, toDisplayString(__props.day.dayName.slice(0, 3)), 1),
891
+ createElementVNode("div", _hoisted_4$s, toDisplayString(__props.day.dateTimeString.substring(8, 10)), 1)
892
892
  ]),
893
893
  createElementVNode("div", _hoisted_5$p, [
894
894
  __props.day.events.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_6$l, toDisplayString(unref(getLanguage)(unref(languageKeys).noEvent, __props.time.CALENDAR_LOCALE)), 1)) : (openBlock(), createElementBlock("div", _hoisted_7$g, [
@@ -1588,11 +1588,11 @@ const _hoisted_1$12 = {
1588
1588
  class: "event-flyout__relative-wrapper"
1589
1589
  };
1590
1590
  const _hoisted_2$N = { class: "event-flyout__menu" };
1591
- const _hoisted_3$E = {
1591
+ const _hoisted_3$F = {
1592
1592
  key: 0,
1593
1593
  class: "event-flyout__menu-editable"
1594
1594
  };
1595
- const _hoisted_4$s = { class: "event-flyout__menu-close" };
1595
+ const _hoisted_4$r = { class: "event-flyout__menu-close" };
1596
1596
  const _hoisted_5$o = {
1597
1597
  key: 0,
1598
1598
  class: "event-flyout__info-wrapper"
@@ -1796,7 +1796,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
1796
1796
  }, [
1797
1797
  !__props.config.eventDialog || !__props.config.eventDialog.isCustom ? (openBlock(), createElementBlock("div", _hoisted_1$12, [
1798
1798
  createElementVNode("div", _hoisted_2$N, [
1799
- isEditable.value ? (openBlock(), createElementBlock("span", _hoisted_3$E, [
1799
+ isEditable.value ? (openBlock(), createElementBlock("span", _hoisted_3$F, [
1800
1800
  createVNode(unref(_sfc_main$s), {
1801
1801
  class: "event-flyout__menu-item is-edit-icon",
1802
1802
  icon: icons.edit,
@@ -1808,7 +1808,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
1808
1808
  onClick: deleteEvent
1809
1809
  }, null, 8, ["icon"])
1810
1810
  ])) : createCommentVNode("", true),
1811
- createElementVNode("span", _hoisted_4$s, [
1811
+ createElementVNode("span", _hoisted_4$r, [
1812
1812
  createVNode(unref(_sfc_main$s), {
1813
1813
  class: "event-flyout__menu-item is-times-icon",
1814
1814
  icon: icons.times,
@@ -1866,8 +1866,8 @@ const _hoisted_1$11 = {
1866
1866
  class: "calendar-month__event"
1867
1867
  };
1868
1868
  const _hoisted_2$M = ["id", "draggable"];
1869
- const _hoisted_3$D = ["id", "draggable"];
1870
- const _hoisted_4$r = {
1869
+ const _hoisted_3$E = ["id", "draggable"];
1870
+ const _hoisted_4$q = {
1871
1871
  key: 0,
1872
1872
  class: "calendar-month__event-time opacity-6 flex-shrink-0"
1873
1873
  };
@@ -1974,9 +1974,9 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
1974
1974
  onClick: handleClickOnEvent
1975
1975
  }, [
1976
1976
  _cache[0] || (_cache[0] = createElementVNode("span", { class: "calendar-month__event-color round flex-shrink-0" }, null, -1)),
1977
- eventTimeStart.value && !__props.calendarEvent.originalEvent ? (openBlock(), createElementBlock("span", _hoisted_4$r, toDisplayString(eventTimeStart.value), 1)) : createCommentVNode("", true),
1977
+ eventTimeStart.value && !__props.calendarEvent.originalEvent ? (openBlock(), createElementBlock("span", _hoisted_4$q, toDisplayString(eventTimeStart.value), 1)) : createCommentVNode("", true),
1978
1978
  createElementVNode("span", _hoisted_5$n, toDisplayString(__props.calendarEvent.title), 1)
1979
- ], 42, _hoisted_3$D))
1979
+ ], 42, _hoisted_3$E))
1980
1980
  ], 64));
1981
1981
  };
1982
1982
  }
@@ -1984,8 +1984,8 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
1984
1984
  const Event = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-16d8079e"]]);
1985
1985
  const _hoisted_1$10 = ["id"];
1986
1986
  const _hoisted_2$L = { class: "w-100p flex justify-content-end txt14 p-025 m_h-100p" };
1987
- const _hoisted_3$C = { class: "calendar-month_events" };
1988
- const _hoisted_4$q = {
1987
+ const _hoisted_3$D = { class: "calendar-month_events" };
1988
+ const _hoisted_4$p = {
1989
1989
  key: 1,
1990
1990
  class: "space-reserver"
1991
1991
  };
@@ -2092,7 +2092,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
2092
2092
  onClick: emitDayWasClicked
2093
2093
  }, toDisplayString(__props.day.dateTimeString.substring(8, 10).startsWith("0") ? __props.day.dateTimeString.substring(9, 10) : __props.day.dateTimeString.substring(8, 10)), 1)
2094
2094
  ]),
2095
- createElementVNode("div", _hoisted_3$C, [
2095
+ createElementVNode("div", _hoisted_3$D, [
2096
2096
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.day.events, (calendarEvent, index2) => {
2097
2097
  return openBlock(), createElementBlock(Fragment, { key: index2 }, [
2098
2098
  index2 < 3 ? (openBlock(), createBlock(Event, {
@@ -2119,7 +2119,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
2119
2119
  }, toDisplayString(unref(getLanguage)(unref(languageKeys).moreEvents, __props.time.CALENDAR_LOCALE)), 1)) : createCommentVNode("", true)
2120
2120
  ])
2121
2121
  ], true)
2122
- ], 42, _hoisted_1$10)) : (openBlock(), createElementBlock("div", _hoisted_4$q));
2122
+ ], 42, _hoisted_1$10)) : (openBlock(), createElementBlock("div", _hoisted_4$p));
2123
2123
  };
2124
2124
  }
2125
2125
  });
@@ -2138,8 +2138,8 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
2138
2138
  });
2139
2139
  const _hoisted_1$_ = { class: "calendar-month relative column w-100p h-100p overflow-y flex flex-stretch" };
2140
2140
  const _hoisted_2$K = { class: "flex space-between" };
2141
- const _hoisted_3$B = { class: "calendar-month__weeks h-100p flex-grow flex flex-stretch column space-between" };
2142
- const _hoisted_4$p = {
2141
+ const _hoisted_3$C = { class: "calendar-month__weeks h-100p flex-grow flex flex-stretch column space-between" };
2142
+ const _hoisted_4$o = {
2143
2143
  key: 0,
2144
2144
  class: "calendar-month__day_events w-100p pt-1 m_pb-1"
2145
2145
  };
@@ -2257,7 +2257,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
2257
2257
  }, null, 8, ["config", "day", "time"]);
2258
2258
  }), 128))
2259
2259
  ]),
2260
- createElementVNode("div", _hoisted_3$B, [
2260
+ createElementVNode("div", _hoisted_3$C, [
2261
2261
  (openBlock(true), createElementBlock(Fragment, null, renderList(month.value, (week, weekIndex) => {
2262
2262
  return openBlock(), createElementBlock("div", {
2263
2263
  key: weekIndex,
@@ -2288,7 +2288,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
2288
2288
  ]);
2289
2289
  }), 128))
2290
2290
  ]),
2291
- !(((_a = __props.config.month) == null ? void 0 : _a.showEventsOnMobileView) === false) ? (openBlock(), createElementBlock("div", _hoisted_4$p, [
2291
+ !(((_a = __props.config.month) == null ? void 0 : _a.showEventsOnMobileView) === false) ? (openBlock(), createElementBlock("div", _hoisted_4$o, [
2292
2292
  selectedDay.value ? (openBlock(), createBlock(AgendaEvents, {
2293
2293
  key: 0,
2294
2294
  config: __props.config,
@@ -2524,8 +2524,8 @@ class EventChange {
2524
2524
  }
2525
2525
  const _hoisted_1$Z = ["data-ref"];
2526
2526
  const _hoisted_2$J = { class: "calendar-week__event-row is-title" };
2527
- const _hoisted_3$A = { class: "calendar-week__event-row is-time flex" };
2528
- const _hoisted_4$o = {
2527
+ const _hoisted_3$B = { class: "calendar-week__event-row is-time flex" };
2528
+ const _hoisted_4$n = {
2529
2529
  key: 0,
2530
2530
  class: "calendar-week__event-row is-location"
2531
2531
  };
@@ -2885,14 +2885,14 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
2885
2885
  })
2886
2886
  }, [
2887
2887
  createElementVNode("div", _hoisted_2$J, toDisplayString(event.value.title), 1),
2888
- createElementVNode("div", _hoisted_3$A, [
2888
+ createElementVNode("div", _hoisted_3$B, [
2889
2889
  createVNode(unref(_sfc_main$s), {
2890
2890
  icon: icons.value.clock,
2891
2891
  class: "calendar-week__event-icon"
2892
2892
  }, null, 8, ["icon"]),
2893
2893
  createElementVNode("span", null, toDisplayString(getEventTime.value), 1)
2894
2894
  ]),
2895
- event.value.location ? (openBlock(), createElementBlock("div", _hoisted_4$o, [
2895
+ event.value.location ? (openBlock(), createElementBlock("div", _hoisted_4$n, [
2896
2896
  createVNode(unref(_sfc_main$s), {
2897
2897
  icon: icons.value.location,
2898
2898
  class: "calendar-week__event-icon"
@@ -3217,8 +3217,8 @@ const _hoisted_1$V = {
3217
3217
  style: { "margin-inline-end": "0.5em" }
3218
3218
  };
3219
3219
  const _hoisted_2$G = ["onClick"];
3220
- const _hoisted_3$z = { class: "flex justify-content-center gap-025 txt12 pb-025" };
3221
- const _hoisted_4$n = { class: "" };
3220
+ const _hoisted_3$A = { class: "flex justify-content-center gap-025 txt12 pb-025" };
3221
+ const _hoisted_4$m = { class: "" };
3222
3222
  const _hoisted_5$l = { class: "week-timeline__date txt14 round inline-flex justify-content-center" };
3223
3223
  const _hoisted_6$i = { class: "week-timeline__events" };
3224
3224
  const _sfc_main$13 = /* @__PURE__ */ defineComponent({
@@ -3251,8 +3251,8 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
3251
3251
  }]),
3252
3252
  onClick: ($event) => emit2("dayWasClicked", _ctx.time.dateStringFrom(day.dateTimeString))
3253
3253
  }, [
3254
- createElementVNode("div", _hoisted_3$z, [
3255
- createElementVNode("div", _hoisted_4$n, toDisplayString(day.dayName.charAt(0).toUpperCase() + day.dayName.slice(1, 3).toLowerCase()), 1),
3254
+ createElementVNode("div", _hoisted_3$A, [
3255
+ createElementVNode("div", _hoisted_4$m, toDisplayString(day.dayName.charAt(0).toUpperCase() + day.dayName.slice(1, 3).toLowerCase()), 1),
3256
3256
  createElementVNode("div", _hoisted_5$l, toDisplayString(getDaysDate(day)), 1)
3257
3257
  ]),
3258
3258
  createElementVNode("div", _hoisted_6$i, [
@@ -3277,7 +3277,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
3277
3277
  const WeekTimeline = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-9aaa9a54"]]);
3278
3278
  const _hoisted_1$U = { class: "calendar-week__wrapper relative ps-3-5" };
3279
3279
  const _hoisted_2$F = { class: "calendar-week" };
3280
- const _hoisted_3$y = { class: "calendar-week__events" };
3280
+ const _hoisted_3$z = { class: "calendar-week__events" };
3281
3281
  const _sfc_main$12 = /* @__PURE__ */ defineComponent({
3282
3282
  __name: "Week",
3283
3283
  props: {
@@ -3543,7 +3543,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
3543
3543
  "day-intervals": dayIntervals.value,
3544
3544
  "week-height": weekHeight.value
3545
3545
  }, null, 8, ["time", "day-intervals", "week-height"])),
3546
- createElementVNode("div", _hoisted_3$y, [
3546
+ createElementVNode("div", _hoisted_3$z, [
3547
3547
  (openBlock(true), createElementBlock(Fragment, null, renderList(days.value, (day, dayIndex) => {
3548
3548
  return openBlock(), createBlock(Day, {
3549
3549
  key: day.dateTimeString + mode.value + weekVersion.value,
@@ -3627,7 +3627,7 @@ ${_Errors.SUFFIX}`);
3627
3627
  let Errors = _Errors;
3628
3628
  const _hoisted_1$T = { class: "calendar-root-wrapper txt16" };
3629
3629
  const _hoisted_2$E = ["data-lang"];
3630
- const _hoisted_3$x = {
3630
+ const _hoisted_3$y = {
3631
3631
  key: 0,
3632
3632
  class: "top-bar-loader"
3633
3633
  };
@@ -3819,7 +3819,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
3819
3819
  }, [
3820
3820
  createVNode(Transition, { name: "loading" }, {
3821
3821
  default: withCtx(() => [
3822
- __props.isLoading ? (openBlock(), createElementBlock("div", _hoisted_3$x)) : createCommentVNode("", true)
3822
+ __props.isLoading ? (openBlock(), createElementBlock("div", _hoisted_3$y)) : createCommentVNode("", true)
3823
3823
  ]),
3824
3824
  _: 1
3825
3825
  }),
@@ -3957,8 +3957,7 @@ const _hoisted_2$D = {
3957
3957
  key: 0,
3958
3958
  class: "dots"
3959
3959
  };
3960
- const _hoisted_3$w = ["onClick"];
3961
- const _hoisted_4$m = { class: "Handlers" };
3960
+ const _hoisted_3$x = ["onClick"];
3962
3961
  const GAP_PERCENT = 1;
3963
3962
  const VELOCITY_SAMPLE_DURATION = 100;
3964
3963
  const _sfc_main$$ = /* @__PURE__ */ defineComponent({
@@ -4065,12 +4064,14 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
4065
4064
  function next() {
4066
4065
  if (!isSliderAvailable.value) return;
4067
4066
  countSlides();
4068
- goToSlide((activeSlideIndex.value + 1) % slideCount.value);
4067
+ const nextIndex = props2.rtl ? (activeSlideIndex.value - 1 + slideCount.value) % slideCount.value : (activeSlideIndex.value + 1) % slideCount.value;
4068
+ goToSlide(nextIndex);
4069
4069
  }
4070
4070
  function prev() {
4071
4071
  if (!isSliderAvailable.value) return;
4072
4072
  countSlides();
4073
- goToSlide((activeSlideIndex.value - 1 + slideCount.value) % slideCount.value);
4073
+ const prevIndex = props2.rtl ? (activeSlideIndex.value + 1) % slideCount.value : (activeSlideIndex.value - 1 + slideCount.value) % slideCount.value;
4074
+ goToSlide(prevIndex);
4074
4075
  }
4075
4076
  function calcHeight() {
4076
4077
  if (!isSliderAvailable.value || !bglSlider.value) return;
@@ -4152,7 +4153,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
4152
4153
  const distance = x2 - startX.value;
4153
4154
  if (Math.abs(distance) > THRESHOLDS.DRAG) isDragging.value = true;
4154
4155
  if (isDragging.value) {
4155
- const newTranslate = translateX2.value + distance;
4156
+ const newTranslate = translateX2.value + (props2.rtl ? -distance : distance);
4156
4157
  const maxTranslate = 0;
4157
4158
  const containerWidth = bglSlider.value.offsetWidth;
4158
4159
  const gapWidth = containerWidth * GAP_PERCENT / 100;
@@ -4175,8 +4176,8 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
4175
4176
  const dragPercentage = Math.abs(totalDragDistance) / singleItemWidth;
4176
4177
  let targetPanel = currentPanel;
4177
4178
  if (dragPercentage > THRESHOLDS.SWIPE_PERCENT) {
4178
- const direction = totalDragDistance > 0 ? -1 : 1;
4179
- targetPanel = Math.floor(currentPanel) + (direction < 0 ? 0 : 1);
4179
+ const distnace = totalDragDistance > 0 ? -1 : 1;
4180
+ targetPanel = Math.floor(currentPanel) + (distnace < 0 ? 0 : 1);
4180
4181
  } else {
4181
4182
  targetPanel = Math.round(currentPanel);
4182
4183
  }
@@ -4321,7 +4322,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
4321
4322
  if (!isHorizontal) return;
4322
4323
  clearAutoplay();
4323
4324
  if (wheelTimeout) clearTimeout(wheelTimeout);
4324
- accumulatedDeltaX.value += e.deltaX;
4325
+ accumulatedDeltaX.value += props2.rtl ? -e.deltaX : e.deltaX;
4325
4326
  wheelTimeout = setTimeout(() => {
4326
4327
  accumulatedDeltaX.value = 0;
4327
4328
  }, 50);
@@ -4368,15 +4369,14 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
4368
4369
  watch(() => activeSlideIndex.value, handleSlideChange);
4369
4370
  return (_ctx, _cache) => {
4370
4371
  return openBlock(), createElementBlock("div", {
4371
- class: normalizeClass(["BglCarousel", { autoHeight: __props.autoHeight }]),
4372
- style: normalizeStyle({ height: unref(yHeight) }),
4372
+ class: "BglCarousel",
4373
4373
  dir: __props.rtl ? "rtl" : "ltr"
4374
4374
  }, [
4375
4375
  createElementVNode("div", {
4376
4376
  ref_key: "bglSlider",
4377
4377
  ref: bglSlider,
4378
- class: normalizeClass(["bgl-slider", { dragging: unref(isDragging), clicking: unref(isPressed), [`slides-${unref(itemCount)}`]: true, grab: __props.freeDrag && unref(slideCount) > 1 }]),
4379
- style: normalizeStyle({ "--item-count": unref(itemCount) }),
4378
+ class: normalizeClass(["bgl-slider", { dragging: unref(isDragging), clicking: unref(isPressed), [`slides-${unref(itemCount)}`]: true, grab: __props.freeDrag && unref(slideCount) > 1, autoHeight: __props.autoHeight }]),
4379
+ style: normalizeStyle({ "--item-count": unref(itemCount), "height": unref(yHeight) }),
4380
4380
  onMousedown: startDrag,
4381
4381
  onMouseover: clearAutoplay,
4382
4382
  onFocusin: clearAutoplay,
@@ -4393,28 +4393,36 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
4393
4393
  key: i2,
4394
4394
  class: normalizeClass(["dot", { current: unref(activeSlideIndex) === i2 - 1 }]),
4395
4395
  onClick: ($event) => goToSlide(i2 - 1)
4396
- }, null, 10, _hoisted_3$w);
4396
+ }, null, 10, _hoisted_3$x);
4397
4397
  }), 128))
4398
4398
  ])) : createCommentVNode("", true),
4399
- createElementVNode("div", _hoisted_4$m, [
4400
- createElementVNode("span", { onClick: prev }, [
4399
+ createElementVNode("div", {
4400
+ class: normalizeClass(["navigation-buttons", { rtl: __props.rtl }])
4401
+ }, [
4402
+ createElementVNode("span", {
4403
+ class: "prev",
4404
+ onClick: prev
4405
+ }, [
4401
4406
  renderSlot(_ctx.$slots, "prev", {
4402
4407
  index: unref(activeSlideIndex),
4403
4408
  prev
4404
4409
  }, void 0, true)
4405
4410
  ]),
4406
- createElementVNode("span", { onClick: next }, [
4411
+ createElementVNode("span", {
4412
+ class: "next",
4413
+ onClick: next
4414
+ }, [
4407
4415
  renderSlot(_ctx.$slots, "next", {
4408
4416
  index: unref(activeSlideIndex),
4409
4417
  next
4410
4418
  }, void 0, true)
4411
4419
  ])
4412
- ])
4413
- ], 14, _hoisted_1$R);
4420
+ ], 2)
4421
+ ], 8, _hoisted_1$R);
4414
4422
  };
4415
4423
  }
4416
4424
  });
4417
- const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-31632a3b"]]);
4425
+ const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-c2b21a75"]]);
4418
4426
  function _isPlaceholder(a2) {
4419
4427
  return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
4420
4428
  }
@@ -10248,7 +10256,7 @@ const _hoisted_1$1$1 = {
10248
10256
  style: { display: "flex", position: "relative" }
10249
10257
  };
10250
10258
  const _hoisted_2$1$1 = ["width", "height", "viewBox"];
10251
- const _hoisted_3$v = { class: "layer-rectangles" };
10259
+ const _hoisted_3$w = { class: "layer-rectangles" };
10252
10260
  const _hoisted_4$l = ["transform", "onMouseover"];
10253
10261
  const _hoisted_5$k = ["width", "height"];
10254
10262
  const _hoisted_6$h = {
@@ -10266,7 +10274,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
10266
10274
  viewBox: `0 0 ${_ctx.size.width} ${_ctx.size.height}`,
10267
10275
  ref: "el"
10268
10276
  }, [
10269
- createElementVNode("g", _hoisted_3$v, [
10277
+ createElementVNode("g", _hoisted_3$w, [
10270
10278
  (openBlock(true), createElementBlock(
10271
10279
  Fragment,
10272
10280
  null,
@@ -11699,7 +11707,7 @@ const _hoisted_2$A = {
11699
11707
  key: 1,
11700
11708
  class: "flex-center h-300px txt-red"
11701
11709
  };
11702
- const _hoisted_3$u = { class: "infinite-wrapper" };
11710
+ const _hoisted_3$v = { class: "infinite-wrapper" };
11703
11711
  const _hoisted_4$k = { class: "row first-row" };
11704
11712
  const _hoisted_5$j = { key: 0 };
11705
11713
  const _hoisted_6$g = ["onClick"];
@@ -11833,7 +11841,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
11833
11841
  createElementVNode("div", mergeProps(unref(wrapperProps), {
11834
11842
  class: { "pointer-events-none": showLoading.value }
11835
11843
  }), [
11836
- createElementVNode("table", _hoisted_3$u, [
11844
+ createElementVNode("table", _hoisted_3$v, [
11837
11845
  createElementVNode("thead", _hoisted_4$k, [
11838
11846
  unref(isSelectable) ? (openBlock(), createElementBlock("th", _hoisted_5$j, [
11839
11847
  createElementVNode("input", {
@@ -15026,6 +15034,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
15026
15034
  outline: { type: Boolean },
15027
15035
  round: { type: Boolean },
15028
15036
  placement: { default: "bottom-start" },
15037
+ disablePlacement: { type: Boolean, default: false },
15029
15038
  noAutoFocus: { type: Boolean },
15030
15039
  autoHide: { type: Boolean, default: true },
15031
15040
  triggers: { default: () => ["click"] }
@@ -15051,6 +15060,10 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
15051
15060
  (_a = triggerRef.value) == null ? void 0 : _a.focus();
15052
15061
  (_b = ddownRef.value) == null ? void 0 : _b.hide();
15053
15062
  }
15063
+ const { isMobile } = useDevice();
15064
+ const shouldDisablePositioning = computed(() => {
15065
+ return __props.disablePlacement && isMobile;
15066
+ });
15054
15067
  __expose({ show, hide, shown });
15055
15068
  return (_ctx, _cache) => {
15056
15069
  return openBlock(), createBlock(unref(kt), {
@@ -15060,6 +15073,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
15060
15073
  "onUpdate:shown": _cache[0] || (_cache[0] = ($event) => shown.value = $event),
15061
15074
  disabled: _ctx.disabled,
15062
15075
  noAutoFocus: _ctx.noAutoFocus,
15076
+ "positioning-disabled": shouldDisablePositioning.value,
15063
15077
  placement: _ctx.placement,
15064
15078
  autoHide: _ctx.autoHide,
15065
15079
  triggers: _ctx.triggers,
@@ -15092,7 +15106,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
15092
15106
  ])
15093
15107
  ]),
15094
15108
  _: 3
15095
- }, 8, ["shown", "disabled", "noAutoFocus", "placement", "autoHide", "triggers"]);
15109
+ }, 8, ["shown", "disabled", "noAutoFocus", "positioning-disabled", "placement", "autoHide", "triggers"]);
15096
15110
  };
15097
15111
  }
15098
15112
  });
@@ -15749,7 +15763,7 @@ const _hoisted_1$L = {
15749
15763
  class: "label mb-05"
15750
15764
  };
15751
15765
  const _hoisted_2$y = { class: "ps-025 border-start mb-05" };
15752
- const _hoisted_3$t = {
15766
+ const _hoisted_3$u = {
15753
15767
  key: 0,
15754
15768
  class: "flex-center h-300px"
15755
15769
  };
@@ -15874,7 +15888,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
15874
15888
  }, [
15875
15889
  _ctx.label ? (openBlock(), createElementBlock("p", _hoisted_1$L, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
15876
15890
  createElementVNode("div", _hoisted_2$y, [
15877
- schemaState.value !== "loaded" ? (openBlock(), createElementBlock("div", _hoisted_3$t, [
15891
+ schemaState.value !== "loaded" ? (openBlock(), createElementBlock("div", _hoisted_3$u, [
15878
15892
  schemaState.value === "loading" ? (openBlock(), createBlock(unref(Loading), { key: 0 })) : schemaState.value === "error" ? (openBlock(), createBlock(_component_Icon, {
15879
15893
  key: 1,
15880
15894
  icon: "error",
@@ -15961,7 +15975,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
15961
15975
  const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-73f1d9ad"]]);
15962
15976
  const _hoisted_1$J = ["title"];
15963
15977
  const _hoisted_2$x = ["id", "value", "required"];
15964
- const _hoisted_3$s = ["for"];
15978
+ const _hoisted_3$t = ["for"];
15965
15979
  const _sfc_main$Q = /* @__PURE__ */ defineComponent({
15966
15980
  __name: "CheckInput",
15967
15981
  props: /* @__PURE__ */ mergeModels({
@@ -16002,7 +16016,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
16002
16016
  renderSlot(_ctx.$slots, "label", {}, () => [
16003
16017
  createTextVNode(toDisplayString(_ctx.label), 1)
16004
16018
  ], true)
16005
- ], 8, _hoisted_3$s)
16019
+ ], 8, _hoisted_3$t)
16006
16020
  ], 10, _hoisted_1$J);
16007
16021
  };
16008
16022
  }
@@ -16013,7 +16027,7 @@ const _hoisted_2$w = {
16013
16027
  key: 0,
16014
16028
  class: "label txt-start"
16015
16029
  };
16016
- const _hoisted_3$r = {
16030
+ const _hoisted_3$s = {
16017
16031
  key: 1,
16018
16032
  class: "code-editor-wrap grid rounded p-1 overflow hm-300px ltr txt-start relative h-100p"
16019
16033
  };
@@ -16104,7 +16118,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
16104
16118
  return (_ctx, _cache) => {
16105
16119
  return openBlock(), createElementBlock("div", _hoisted_1$I, [
16106
16120
  _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$w, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
16107
- unref(loaded) ? (openBlock(), createElementBlock("div", _hoisted_3$r, [
16121
+ unref(loaded) ? (openBlock(), createElementBlock("div", _hoisted_3$s, [
16108
16122
  createElementVNode("div", {
16109
16123
  class: "relative block h-100",
16110
16124
  style: normalizeStyle({ height: `calc(${unref(elHeight)} - 2rem)` })
@@ -16141,7 +16155,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
16141
16155
  const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-1fbc9b61"]]);
16142
16156
  const _hoisted_1$H = ["title"];
16143
16157
  const _hoisted_2$v = { class: "flex bg-input rounded px-025 colorInputPickWrap" };
16144
- const _hoisted_3$q = ["id", "placeholder", "required"];
16158
+ const _hoisted_3$r = ["id", "placeholder", "required"];
16145
16159
  const _sfc_main$O = /* @__PURE__ */ defineComponent({
16146
16160
  __name: "ColorInput",
16147
16161
  props: {
@@ -16180,7 +16194,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
16180
16194
  type: "color",
16181
16195
  placeholder: _ctx.placeholder || _ctx.label,
16182
16196
  required: _ctx.required
16183
- }, _ctx.nativeInputAttrs), null, 16, _hoisted_3$q), [
16197
+ }, _ctx.nativeInputAttrs), null, 16, _hoisted_3$r), [
16184
16198
  [vModelText, inputVal.value]
16185
16199
  ]),
16186
16200
  withDirectives(createElementVNode("input", {
@@ -16208,7 +16222,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
16208
16222
  });
16209
16223
  const _hoisted_1$G = ["title"];
16210
16224
  const _hoisted_2$u = { key: 0 };
16211
- const _hoisted_3$p = {
16225
+ const _hoisted_3$q = {
16212
16226
  key: 0,
16213
16227
  class: "required"
16214
16228
  };
@@ -16548,7 +16562,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
16548
16562
  }, [
16549
16563
  _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$u, [
16550
16564
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
16551
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$p, "*")) : createCommentVNode("", true)
16565
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$q, "*")) : createCommentVNode("", true)
16552
16566
  ])) : createCommentVNode("", true),
16553
16567
  createVNode(unref(_sfc_main$W), {
16554
16568
  shown: isOpen.value,
@@ -16734,7 +16748,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
16734
16748
  const DateInput = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-7d6fb8a5"]]);
16735
16749
  const _hoisted_1$F = ["title"];
16736
16750
  const _hoisted_2$t = { key: 0 };
16737
- const _hoisted_3$o = {
16751
+ const _hoisted_3$p = {
16738
16752
  key: 0,
16739
16753
  class: "required"
16740
16754
  };
@@ -16941,7 +16955,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
16941
16955
  }, [
16942
16956
  _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$t, [
16943
16957
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
16944
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$o, "*")) : createCommentVNode("", true)
16958
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$p, "*")) : createCommentVNode("", true)
16945
16959
  ])) : createCommentVNode("", true),
16946
16960
  createVNode(unref(_sfc_main$W), {
16947
16961
  shown: unref(isOpen),
@@ -17114,7 +17128,7 @@ const _hoisted_2$s = {
17114
17128
  key: 0,
17115
17129
  class: "time-wrap"
17116
17130
  };
17117
- const _hoisted_3$n = ["id", "name", "value"];
17131
+ const _hoisted_3$o = ["id", "name", "value"];
17118
17132
  const _hoisted_4$f = ["for"];
17119
17133
  const _sfc_main$L = /* @__PURE__ */ defineComponent({
17120
17134
  __name: "DatePicker",
@@ -17146,7 +17160,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
17146
17160
  type: "radio",
17147
17161
  name: _ctx.label,
17148
17162
  value: hr
17149
- }, null, 8, _hoisted_3$n), [
17163
+ }, null, 8, _hoisted_3$o), [
17150
17164
  [vModelRadio, selectedHour.value]
17151
17165
  ]),
17152
17166
  createElementVNode("label", {
@@ -17167,7 +17181,7 @@ const _hoisted_2$r = {
17167
17181
  required: "",
17168
17182
  class: "pixel"
17169
17183
  };
17170
- const _hoisted_3$m = { class: "m-05 flex opacity-7 z-99" };
17184
+ const _hoisted_3$n = { class: "m-05 flex opacity-7 z-99" };
17171
17185
  const _hoisted_4$e = { class: "ellipsis-1 word-break-all h-20 m-0 color-black" };
17172
17186
  const _hoisted_5$e = { class: "flex gap-025 rounded pe-1 ps-05 py-025 bg-gray-80 -my-1" };
17173
17187
  const _hoisted_6$b = { class: "ellipsis-1 word-break-all h-20 m-0 color-black txt16" };
@@ -17399,7 +17413,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
17399
17413
  key: file.id,
17400
17414
  class: "txt-gray txt-12 flex"
17401
17415
  }, [
17402
- createElementVNode("div", _hoisted_3$m, [
17416
+ createElementVNode("div", _hoisted_3$n, [
17403
17417
  withDirectives(createVNode(unref(Btn), {
17404
17418
  color: "gray",
17405
17419
  thin: "",
@@ -17635,7 +17649,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
17635
17649
  const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-50fd0597"]]);
17636
17650
  const _hoisted_1$C = ["title"];
17637
17651
  const _hoisted_2$q = { key: 0 };
17638
- const _hoisted_3$l = ["value", "placeholder"];
17652
+ const _hoisted_3$m = ["value", "placeholder"];
17639
17653
  const _sfc_main$J = /* @__PURE__ */ defineComponent({
17640
17654
  __name: "JSONInput",
17641
17655
  props: {
@@ -17667,7 +17681,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
17667
17681
  class: normalizeClass({ "no-edit": !_ctx.editMode }),
17668
17682
  placeholder: _ctx.placeholder,
17669
17683
  onInput: handleInput
17670
- }, null, 42, _hoisted_3$l)
17684
+ }, null, 42, _hoisted_3$m)
17671
17685
  ], 10, _hoisted_1$C);
17672
17686
  };
17673
17687
  }
@@ -17678,7 +17692,7 @@ const _hoisted_2$p = {
17678
17692
  key: 0,
17679
17693
  class: "block"
17680
17694
  };
17681
- const _hoisted_3$k = ["id", "placeholder", "disabled", "required", "readonly", "pattern", "onKeydown"];
17695
+ const _hoisted_3$l = ["id", "placeholder", "disabled", "required", "readonly", "pattern", "onKeydown"];
17682
17696
  const _hoisted_4$d = {
17683
17697
  key: 1,
17684
17698
  class: "opacity-7 light"
@@ -17827,7 +17841,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
17827
17841
  withKeys(withModifiers(increment, ["prevent"]), ["up"]),
17828
17842
  withKeys(withModifiers(decrement, ["prevent"]), ["down"])
17829
17843
  ]
17830
- }, null, 42, _hoisted_3$k), [
17844
+ }, null, 42, _hoisted_3$l), [
17831
17845
  [
17832
17846
  vModelText,
17833
17847
  unref(formattedValue),
@@ -22537,7 +22551,7 @@ function parsePhoneNumber() {
22537
22551
  }
22538
22552
  const _hoisted_1$y = ["aria-expanded"];
22539
22553
  const _hoisted_2$n = { class: "flex gap-05 country-code-display" };
22540
- const _hoisted_3$j = { class: "p-075 tel-countryp-dropdown" };
22554
+ const _hoisted_3$k = { class: "p-075 tel-countryp-dropdown" };
22541
22555
  const _hoisted_4$c = {
22542
22556
  class: "overflow-y p-0 max-h-300px",
22543
22557
  role: "listbox"
@@ -22743,7 +22757,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
22743
22757
  ])
22744
22758
  ]),
22745
22759
  default: withCtx(() => [
22746
- createElementVNode("div", _hoisted_3$j, [
22760
+ createElementVNode("div", _hoisted_3$k, [
22747
22761
  searchable.value ? (openBlock(), createBlock(unref(TextInput), {
22748
22762
  key: 0,
22749
22763
  ref_key: "searchInput",
@@ -22812,7 +22826,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
22812
22826
  const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-ea318aee"]]);
22813
22827
  const _hoisted_1$x = ["for"];
22814
22828
  const _hoisted_2$m = ["id", "disabled", "name", "value", "required"];
22815
- const _hoisted_3$i = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
22829
+ const _hoisted_3$j = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
22816
22830
  const _hoisted_4$b = ["src", "alt"];
22817
22831
  const _hoisted_5$b = { class: "" };
22818
22832
  const _hoisted_6$9 = {
@@ -22884,7 +22898,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
22884
22898
  }, null, 40, _hoisted_2$m), [
22885
22899
  [vModelRadio, selectedOption.value]
22886
22900
  ]),
22887
- createElementVNode("div", _hoisted_3$i, [
22901
+ createElementVNode("div", _hoisted_3$j, [
22888
22902
  opt.imgSrc ? (openBlock(), createElementBlock("img", {
22889
22903
  key: 0,
22890
22904
  class: "bg-popup shadow-light py-025 radius-05 m_w40",
@@ -22915,7 +22929,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
22915
22929
  const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-a692c596"]]);
22916
22930
  const _hoisted_1$w = { class: "bagel-input" };
22917
22931
  const _hoisted_2$l = { class: "pb-025" };
22918
- const _hoisted_3$h = { class: "flex gap-05 flex-wrap" };
22932
+ const _hoisted_3$i = { class: "flex gap-05 flex-wrap" };
22919
22933
  const _hoisted_4$a = ["id", "name", "value", "checked"];
22920
22934
  const _hoisted_5$a = ["for"];
22921
22935
  const _sfc_main$D = /* @__PURE__ */ defineComponent({
@@ -22963,7 +22977,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
22963
22977
  return (_ctx, _cache) => {
22964
22978
  return openBlock(), createElementBlock("div", _hoisted_1$w, [
22965
22979
  createElementVNode("label", _hoisted_2$l, toDisplayString(_ctx.label), 1),
22966
- createElementVNode("div", _hoisted_3$h, [
22980
+ createElementVNode("div", _hoisted_3$i, [
22967
22981
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, (option2, index2) => {
22968
22982
  return openBlock(), createElementBlock("div", {
22969
22983
  key: index2,
@@ -22993,7 +23007,7 @@ const _hoisted_2$k = {
22993
23007
  key: 0,
22994
23008
  class: "label"
22995
23009
  };
22996
- const _hoisted_3$g = { class: "range-slider relative w-100" };
23010
+ const _hoisted_3$h = { class: "range-slider relative w-100" };
22997
23011
  const _hoisted_4$9 = ["id", "value", "min", "max", "step", "required", "disabled", "aria-label"];
22998
23012
  const _hoisted_5$9 = ["value", "min", "max", "step", "required", "disabled"];
22999
23013
  const _hoisted_6$8 = { class: "track absolute pointer-events-none overflow-hidden round" };
@@ -23063,7 +23077,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
23063
23077
  dir: _ctx.rtl ? "rtl" : "ltr"
23064
23078
  }, [
23065
23079
  props2.label ? (openBlock(), createElementBlock("label", _hoisted_2$k, toDisplayString(props2.label), 1)) : createCommentVNode("", true),
23066
- createElementVNode("div", _hoisted_3$g, [
23080
+ createElementVNode("div", _hoisted_3$h, [
23067
23081
  createElementVNode("input", {
23068
23082
  id: _ctx.id,
23069
23083
  value: validFrom.value,
@@ -23224,7 +23238,7 @@ const toolbarOptions = [
23224
23238
  ];
23225
23239
  const _hoisted_1$u = { class: "grid grid-wrap p-05" };
23226
23240
  const _hoisted_2$j = ["onMousemove", "onClick"];
23227
- const _hoisted_3$f = { class: "txt-center txt-12 color-gray" };
23241
+ const _hoisted_3$g = { class: "txt-center txt-12 color-gray" };
23228
23242
  const fb = 1;
23229
23243
  const base = 5;
23230
23244
  const _sfc_main$B = /* @__PURE__ */ defineComponent({
@@ -23274,7 +23288,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
23274
23288
  }), 128))
23275
23289
  ], 32);
23276
23290
  }), 128)),
23277
- createElementVNode("p", _hoisted_3$f, toDisplayString(hoveredRow.value) + "x" + toDisplayString(hoveredCol.value), 1)
23291
+ createElementVNode("p", _hoisted_3$g, toDisplayString(hoveredRow.value) + "x" + toDisplayString(hoveredCol.value), 1)
23278
23292
  ]);
23279
23293
  };
23280
23294
  }
@@ -24615,7 +24629,7 @@ function isNodeEmpty(node) {
24615
24629
  }
24616
24630
  const _hoisted_1$s = { class: "bagel-input" };
24617
24631
  const _hoisted_2$i = { class: "content-area radius-05" };
24618
- const _hoisted_3$e = {
24632
+ const _hoisted_3$f = {
24619
24633
  key: 1,
24620
24634
  class: "flex"
24621
24635
  };
@@ -24773,7 +24787,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
24773
24787
  class: "code-editor"
24774
24788
  }, null, 8, ["modelValue"])) : createCommentVNode("", true)
24775
24789
  ], 2),
24776
- _ctx.debug ? (openBlock(), createElementBlock("div", _hoisted_3$e, [
24790
+ _ctx.debug ? (openBlock(), createElementBlock("div", _hoisted_3$f, [
24777
24791
  _cache[6] || (_cache[6] = createElementVNode("p", { class: "text12 txt-gray mb-0 p-0" }, " Debug ", -1)),
24778
24792
  createVNode(unref(Btn), {
24779
24793
  thin: "",
@@ -24820,7 +24834,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
24820
24834
  const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-30bcda4c"]]);
24821
24835
  const _hoisted_1$r = { class: "flex gap-05" };
24822
24836
  const _hoisted_2$h = ["disabled"];
24823
- const _hoisted_3$d = { key: 1 };
24837
+ const _hoisted_3$e = { key: 1 };
24824
24838
  const _hoisted_4$8 = {
24825
24839
  key: 2,
24826
24840
  class: "ms-auto ps-05 me-05"
@@ -25050,7 +25064,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
25050
25064
  key: 0,
25051
25065
  icon: _ctx.icon
25052
25066
  }, null, 8, ["icon"])) : createCommentVNode("", true),
25053
- !_ctx.hideLabel ? (openBlock(), createElementBlock("p", _hoisted_3$d, toDisplayString(selectedLabel.value), 1)) : createCommentVNode("", true),
25067
+ !_ctx.hideLabel ? (openBlock(), createElementBlock("p", _hoisted_3$e, toDisplayString(selectedLabel.value), 1)) : createCommentVNode("", true),
25054
25068
  _ctx.clearable && selectedItemCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_4$8, [
25055
25069
  createVNode(unref(Btn), {
25056
25070
  flat: "",
@@ -25139,7 +25153,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
25139
25153
  });
25140
25154
  const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-da5bc268"]]);
25141
25155
  /*!
25142
- * Signature Pad v5.0.6 | https://github.com/szimek/signature_pad
25156
+ * Signature Pad v5.0.7 | https://github.com/szimek/signature_pad
25143
25157
  * (c) 2025 Szymon Nowak | Released under the MIT license
25144
25158
  */
25145
25159
  class Point {
@@ -28425,7 +28439,7 @@ const VueDraggableNext = defineComponent({
28425
28439
  });
28426
28440
  const _hoisted_1$p = ["title"];
28427
28441
  const _hoisted_2$f = { class: "bagel-input" };
28428
- const _hoisted_3$c = { class: "table-side-scroll" };
28442
+ const _hoisted_3$d = { class: "table-side-scroll" };
28429
28443
  const _hoisted_4$7 = { class: "table-header" };
28430
28444
  const _hoisted_5$7 = { class: "table-reorder" };
28431
28445
  const _hoisted_6$6 = { class: "table-action" };
@@ -28497,7 +28511,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
28497
28511
  createElementVNode("div", _hoisted_2$f, [
28498
28512
  createElementVNode("label", null, toDisplayString((_a = unref(fieldMeta)) == null ? void 0 : _a.label), 1)
28499
28513
  ]),
28500
- createElementVNode("div", _hoisted_3$c, [
28514
+ createElementVNode("div", _hoisted_3$d, [
28501
28515
  createElementVNode("div", _hoisted_4$7, [
28502
28516
  (openBlock(true), createElementBlock(Fragment, null, renderList((_b = unref(entityMeta)) == null ? void 0 : _b.fields, (field) => {
28503
28517
  return openBlock(), createElementBlock("div", {
@@ -28576,7 +28590,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
28576
28590
  const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-e9632f79"]]);
28577
28591
  const _hoisted_1$o = ["title"];
28578
28592
  const _hoisted_2$e = ["for"];
28579
- const _hoisted_3$b = ["id", "name", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
28593
+ const _hoisted_3$c = ["id", "name", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
28580
28594
  const _hoisted_4$6 = ["id", "name", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
28581
28595
  const _hoisted_5$6 = {
28582
28596
  key: 2,
@@ -28687,7 +28701,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
28687
28701
  onFocus: _cache[2] || (_cache[2] = //@ts-ignore
28688
28702
  (...args) => _ctx.onFocus && _ctx.onFocus(...args)),
28689
28703
  onInput: updateInputVal
28690
- }), null, 16, _hoisted_3$b)), [
28704
+ }), null, 16, _hoisted_3$c)), [
28691
28705
  [
28692
28706
  vModelDynamic,
28693
28707
  unref(inputVal),
@@ -28733,7 +28747,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
28733
28747
  const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-dbcf2010"]]);
28734
28748
  const _hoisted_1$n = ["title"];
28735
28749
  const _hoisted_2$d = ["id", "required"];
28736
- const _hoisted_3$a = ["for"];
28750
+ const _hoisted_3$b = ["for"];
28737
28751
  const _sfc_main$u = /* @__PURE__ */ defineComponent({
28738
28752
  __name: "ToggleInput",
28739
28753
  props: /* @__PURE__ */ mergeModels({
@@ -28777,7 +28791,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
28777
28791
  renderSlot(_ctx.$slots, "label", {}, () => [
28778
28792
  createTextVNode(toDisplayString(_ctx.label), 1)
28779
28793
  ], true)
28780
- ], 8, _hoisted_3$a)
28794
+ ], 8, _hoisted_3$b)
28781
28795
  ], 10, _hoisted_1$n);
28782
28796
  };
28783
28797
  }
@@ -28813,7 +28827,7 @@ const files = {
28813
28827
  };
28814
28828
  const _hoisted_1$m = { class: "bagel-input" };
28815
28829
  const _hoisted_2$c = { key: 0 };
28816
- const _hoisted_3$9 = {
28830
+ const _hoisted_3$a = {
28817
28831
  key: 1,
28818
28832
  placeholder: "required",
28819
28833
  type: "text",
@@ -28963,7 +28977,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
28963
28977
  const _directive_lightbox = resolveDirective("lightbox");
28964
28978
  return openBlock(), createElementBlock("div", _hoisted_1$m, [
28965
28979
  _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$c, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
28966
- _ctx.required && !pathKeys.value.length ? (openBlock(), createElementBlock("input", _hoisted_3$9)) : createCommentVNode("", true),
28980
+ _ctx.required && !pathKeys.value.length ? (openBlock(), createElementBlock("input", _hoisted_3$a)) : createCommentVNode("", true),
28967
28981
  _ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main$10), {
28968
28982
  key: 2,
28969
28983
  outline: "",
@@ -33716,7 +33730,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
33716
33730
  });
33717
33731
  const _hoisted_1$k = { key: 0 };
33718
33732
  const _hoisted_2$b = ["src", "alt", "width", "height"];
33719
- const _hoisted_3$8 = ["src", "alt", "width", "height"];
33733
+ const _hoisted_3$9 = ["src", "alt", "width", "height"];
33720
33734
  const _sfc_main$q = /* @__PURE__ */ defineComponent({
33721
33735
  __name: "Image",
33722
33736
  props: {
@@ -33814,7 +33828,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
33814
33828
  alt: _ctx.alt,
33815
33829
  width: unref(normalizeDimension)(_ctx.width),
33816
33830
  height: unref(normalizeDimension)(_ctx.height)
33817
- }), null, 16, _hoisted_3$8)) : unref(loadingError) ? (openBlock(), createElementBlock("div", {
33831
+ }), null, 16, _hoisted_3$9)) : unref(loadingError) ? (openBlock(), createElementBlock("div", {
33818
33832
  key: 2,
33819
33833
  class: "flex-center error-image",
33820
33834
  style: normalizeStyle({
@@ -34022,7 +34036,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
34022
34036
  const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-8788ed73"]]);
34023
34037
  const _hoisted_1$h = { class: "bgl_card tabs-top" };
34024
34038
  const _hoisted_2$a = { class: "tabs grid auto-flow-columns fit-content" };
34025
- const _hoisted_3$7 = ["onClick"];
34039
+ const _hoisted_3$8 = ["onClick"];
34026
34040
  const _sfc_main$l = /* @__PURE__ */ defineComponent({
34027
34041
  __name: "TabbedLayout",
34028
34042
  props: {
@@ -34067,7 +34081,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
34067
34081
  active: tab === unref(activeTab) || tab === ((_a = _ctx.router) == null ? void 0 : _a.currentRoute.value.path.split("/").slice(-1)[0])
34068
34082
  }, "tab"]),
34069
34083
  onClick: ($event) => changeTab(tab)
34070
- }, toDisplayString(tab), 11, _hoisted_3$7);
34084
+ }, toDisplayString(tab), 11, _hoisted_3$8);
34071
34085
  }), 128))
34072
34086
  ])
34073
34087
  ]),
@@ -34261,27 +34275,57 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
34261
34275
  }
34262
34276
  });
34263
34277
  const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-6ece2018"]]);
34264
- const _hoisted_1$e = { class: "no-margin ellipsis line-height-14 pb-025" };
34265
- const _hoisted_2$9 = { class: "txt12 no-margin txt-gray ellipsis" };
34278
+ const _hoisted_1$e = {
34279
+ key: 0,
34280
+ class: "txt10 no-margin txt-gray ellipsis"
34281
+ };
34282
+ const _hoisted_2$9 = { class: "no-margin ellipsis line-height-14 pb-025" };
34283
+ const _hoisted_3$7 = {
34284
+ key: 1,
34285
+ class: "txt12 no-margin txt-gray ellipsis"
34286
+ };
34266
34287
  const _sfc_main$h = /* @__PURE__ */ defineComponent({
34267
34288
  __name: "ListItem",
34268
34289
  props: {
34269
34290
  src: {},
34270
34291
  showAvatar: { type: Boolean },
34271
34292
  to: {},
34293
+ href: {},
34272
34294
  icon: {},
34273
34295
  title: {},
34274
34296
  subtitle: {},
34275
34297
  flat: { type: Boolean },
34298
+ disabled: { type: Boolean },
34299
+ lead: {},
34300
+ iconEnd: {},
34301
+ target: {},
34276
34302
  onClick: { type: Function }
34277
34303
  },
34278
34304
  setup(__props) {
34305
+ const props2 = __props;
34306
+ const isComponent = computed(() => {
34307
+ if (props2.to) return "router-link";
34308
+ if (props2.href) return "a";
34309
+ if (props2.onClick) return "button";
34310
+ return "div";
34311
+ });
34312
+ const bind3 = computed(() => {
34313
+ const obj = {};
34314
+ if (props2.to) obj.to = props2.to;
34315
+ else if (props2.href) obj.href = props2.href;
34316
+ if (props2.target && (props2.to || props2.href)) obj.target = props2.target;
34317
+ obj.class = {
34318
+ "notClickable": !(props2.to || props2.onClick),
34319
+ "no-border-list": props2.flat
34320
+ };
34321
+ if (props2.disabled) obj.disabled = true;
34322
+ return obj;
34323
+ });
34279
34324
  return (_ctx, _cache) => {
34280
- return openBlock(), createBlock(resolveDynamicComponent(_ctx.to ? "RouterLink" : "div"), {
34281
- to: _ctx.to,
34282
- class: normalizeClass(["flex gap-05 list-item", { "notClickable": !(_ctx.to || _ctx.onClick), "no-border-list": _ctx.flat }]),
34325
+ return openBlock(), createBlock(resolveDynamicComponent(isComponent.value), mergeProps(bind3.value, {
34326
+ class: "flex gap-05 list-item",
34283
34327
  onClick: _ctx.onClick
34284
- }, {
34328
+ }), {
34285
34329
  default: withCtx(() => [
34286
34330
  _ctx.src || _ctx.showAvatar ? (openBlock(), createBlock(unref(Avatar), {
34287
34331
  key: 0,
@@ -34297,18 +34341,27 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
34297
34341
  icon: _ctx.icon
34298
34342
  }, null, 8, ["icon"])) : createCommentVNode("", true),
34299
34343
  createElementVNode("div", null, [
34300
- createElementVNode("p", _hoisted_1$e, [
34344
+ _ctx.lead ? (openBlock(), createElementBlock("p", _hoisted_1$e, [
34345
+ createTextVNode(toDisplayString(_ctx.lead) + " ", 1),
34346
+ renderSlot(_ctx.$slots, "lead")
34347
+ ])) : createCommentVNode("", true),
34348
+ createElementVNode("p", _hoisted_2$9, [
34301
34349
  createTextVNode(toDisplayString(_ctx.title) + " ", 1),
34302
34350
  renderSlot(_ctx.$slots, "default")
34303
34351
  ]),
34304
- createElementVNode("p", _hoisted_2$9, [
34352
+ _ctx.subtitle ? (openBlock(), createElementBlock("p", _hoisted_3$7, [
34305
34353
  createTextVNode(toDisplayString(_ctx.subtitle) + " ", 1),
34306
34354
  renderSlot(_ctx.$slots, "subtitle")
34307
- ])
34308
- ])
34355
+ ])) : createCommentVNode("", true)
34356
+ ]),
34357
+ _ctx.iconEnd ? (openBlock(), createBlock(unref(_sfc_main$s), {
34358
+ key: 2,
34359
+ icon: _ctx.iconEnd,
34360
+ class: "transition-400"
34361
+ }, null, 8, ["icon"])) : createCommentVNode("", true)
34309
34362
  ]),
34310
34363
  _: 3
34311
- }, 8, ["to", "class", "onClick"]);
34364
+ }, 16, ["onClick"]);
34312
34365
  };
34313
34366
  }
34314
34367
  });
@@ -36426,6 +36479,24 @@ function useBagelFormState(injectionKey = FORM_STATE_KEY) {
36426
36479
  if (!state2) throw new Error("BagelFormState must be provided");
36427
36480
  return state2;
36428
36481
  }
36482
+ function useDevice() {
36483
+ const innerWidth = ref(window.innerWidth);
36484
+ const isMobile = ref(window.innerWidth < 768);
36485
+ function updateDeviceInfo() {
36486
+ innerWidth.value = window.innerWidth;
36487
+ isMobile.value = window.innerWidth < 768;
36488
+ }
36489
+ onMounted(() => {
36490
+ window.addEventListener("resize", updateDeviceInfo);
36491
+ });
36492
+ onUnmounted(() => {
36493
+ window.removeEventListener("resize", updateDeviceInfo);
36494
+ });
36495
+ return {
36496
+ innerWidth,
36497
+ isMobile
36498
+ };
36499
+ }
36429
36500
  function useBglSchema({ schema, columns, data: data2 } = {}) {
36430
36501
  let _schema = schema;
36431
36502
  if (typeof _schema === "function") {
@@ -37930,6 +38001,7 @@ export {
37930
38001
  useBagelFormState,
37931
38002
  useBglSchema,
37932
38003
  useDebounceFn,
38004
+ useDevice,
37933
38005
  useDraggable,
37934
38006
  useEscape,
37935
38007
  useI18nT,