@bagelink/vue 0.0.819 → 0.0.823

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
@@ -40,7 +40,7 @@ const bagelFormUtils = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defi
40
40
  return txtField;
41
41
  }
42
42
  }, Symbol.toStringTag, { value: "Module" }));
43
- const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
43
+ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
44
44
  __name: "Accordion",
45
45
  setup(__props) {
46
46
  const state2 = vue.reactive({
@@ -54,10 +54,10 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
54
54
  };
55
55
  }
56
56
  });
57
- const _hoisted_1$M = ["aria-expanded", "aria-controls"];
57
+ const _hoisted_1$N = ["aria-expanded", "aria-controls"];
58
58
  const _hoisted_2$w = { class: "accordion-label" };
59
59
  const _hoisted_3$m = ["id", "aria-hidden"];
60
- const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
60
+ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
61
61
  __name: "AccordionItem",
62
62
  props: {
63
63
  label: {},
@@ -133,7 +133,7 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
133
133
  }, [
134
134
  vue.createVNode(vue.unref(_sfc_main$c), { icon: computedIcon.value }, null, 8, ["icon"])
135
135
  ], 2)) : vue.createCommentVNode("", true)
136
- ], 8, _hoisted_1$M),
136
+ ], 8, _hoisted_1$N),
137
137
  vue.createVNode(vue.Transition, { name: "expand" }, {
138
138
  default: vue.withCtx(() => [
139
139
  vue.unref(isOpen) ? (vue.openBlock(), vue.createElementBlock("div", {
@@ -158,9 +158,9 @@ const _export_sfc = (sfc, props2) => {
158
158
  }
159
159
  return target;
160
160
  };
161
- const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-9d8335fa"]]);
162
- const _hoisted_1$L = { class: "relative" };
163
- const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
161
+ const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-9d8335fa"]]);
162
+ const _hoisted_1$M = { class: "relative" };
163
+ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
164
164
  __name: "AddressSearch",
165
165
  emits: ["addressSelected"],
166
166
  setup(__props, { emit: __emit }) {
@@ -182,8 +182,8 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
182
182
  (_a2 = suggestion.value) == null ? void 0 : _a2.show();
183
183
  }
184
184
  return (_ctx, _cache) => {
185
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$L, [
186
- vue.createVNode(vue.unref(_sfc_main$M), {
185
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$M, [
186
+ vue.createVNode(vue.unref(_sfc_main$N), {
187
187
  ref_key: "suggestion",
188
188
  ref: suggestion,
189
189
  noAutoFocus: true,
@@ -218,7 +218,7 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
218
218
  };
219
219
  }
220
220
  });
221
- const _hoisted_1$K = {
221
+ const _hoisted_1$L = {
222
222
  key: 0,
223
223
  class: "loading"
224
224
  };
@@ -226,7 +226,7 @@ const _hoisted_2$v = {
226
226
  key: 1,
227
227
  class: "bgl_btn-flex"
228
228
  };
229
- const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
229
+ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
230
230
  __name: "Btn",
231
231
  props: {
232
232
  disabled: { type: Boolean, default: false },
@@ -321,7 +321,7 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
321
321
  onClick: vue.withModifiers(_ctx.onClick, ["stop"])
322
322
  }, {
323
323
  default: vue.withCtx(() => [
324
- _ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$K)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$v, [
324
+ _ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$L)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$v, [
325
325
  _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$c), {
326
326
  key: 0,
327
327
  icon: _ctx.icon
@@ -341,10 +341,10 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
341
341
  };
342
342
  }
343
343
  });
344
- const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-c00fb1b9"]]);
345
- const _hoisted_1$J = ["dismissable"];
344
+ const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-c00fb1b9"]]);
345
+ const _hoisted_1$K = ["dismissable"];
346
346
  const _hoisted_2$u = { class: "m-0" };
347
- const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
347
+ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
348
348
  __name: "Alert",
349
349
  props: {
350
350
  message: {},
@@ -380,13 +380,13 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
380
380
  icon: "close",
381
381
  onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
382
382
  })
383
- ], 10, _hoisted_1$J)) : vue.createCommentVNode("", true);
383
+ ], 10, _hoisted_1$K)) : vue.createCommentVNode("", true);
384
384
  };
385
385
  }
386
386
  });
387
- const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-57141c32"]]);
388
- const _hoisted_1$I = ["src", "alt"];
389
- const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
387
+ const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-57141c32"]]);
388
+ const _hoisted_1$J = ["src", "alt"];
389
+ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
390
390
  __name: "Avatar",
391
391
  props: {
392
392
  fallback: {},
@@ -404,7 +404,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
404
404
  key: 0,
405
405
  src: _ctx.src,
406
406
  alt: _ctx.name
407
- }, null, 8, _hoisted_1$I)) : (vue.openBlock(), vue.createElementBlock("p", {
407
+ }, null, 8, _hoisted_1$J)) : (vue.openBlock(), vue.createElementBlock("p", {
408
408
  key: 1,
409
409
  style: vue.normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
410
410
  }, vue.toDisplayString((_ctx.fallback || vue.unref(initials)(_ctx.name || "")).toUpperCase()), 5))
@@ -412,8 +412,8 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
412
412
  };
413
413
  }
414
414
  });
415
- const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-46ad8c25"]]);
416
- const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
415
+ const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-46ad8c25"]]);
416
+ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
417
417
  __name: "Badge",
418
418
  props: {
419
419
  color: {},
@@ -444,10 +444,10 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
444
444
  };
445
445
  }
446
446
  });
447
- const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-1b4c8cfe"]]);
448
- const _hoisted_1$H = ["src"];
447
+ const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-1b4c8cfe"]]);
448
+ const _hoisted_1$I = ["src"];
449
449
  const _hoisted_2$t = ["src", "autoplay", "muted", "loop", "controls"];
450
- const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
450
+ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
451
451
  __name: "BglVideo",
452
452
  props: {
453
453
  src: {},
@@ -501,7 +501,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
501
501
  allowfullscreen: "",
502
502
  title: "Video",
503
503
  allow: "autoplay"
504
- }, null, 12, _hoisted_1$H)) : _ctx.src ? (vue.openBlock(), vue.createElementBlock("video", {
504
+ }, null, 12, _hoisted_1$I)) : _ctx.src ? (vue.openBlock(), vue.createElementBlock("video", {
505
505
  key: 1,
506
506
  src: _ctx.src,
507
507
  autoplay: _ctx.autoplay,
@@ -515,12 +515,12 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
515
515
  };
516
516
  }
517
517
  });
518
- const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-30c80244"]]);
519
- const _hoisted_1$G = {
518
+ const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-30c80244"]]);
519
+ const _hoisted_1$H = {
520
520
  key: 0,
521
521
  class: "card_label"
522
522
  };
523
- const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
523
+ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
524
524
  __name: "Card",
525
525
  props: {
526
526
  label: {},
@@ -548,7 +548,7 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
548
548
  }])
549
549
  }, {
550
550
  default: vue.withCtx(() => [
551
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$G, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
551
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$H, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
552
552
  vue.renderSlot(_ctx.$slots, "default")
553
553
  ]),
554
554
  _: 3
@@ -556,12 +556,12 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
556
556
  };
557
557
  }
558
558
  });
559
- const _hoisted_1$F = {
559
+ const _hoisted_1$G = {
560
560
  key: 0,
561
561
  class: "blocker"
562
562
  };
563
563
  const _hoisted_2$s = { class: "Handlers" };
564
- const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
564
+ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
565
565
  __name: "Carousel",
566
566
  props: {
567
567
  autoHeight: {
@@ -590,6 +590,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
590
590
  const props2 = __props;
591
591
  const emit2 = __emit;
592
592
  const bglSlider = vue.ref();
593
+ let itemCount = vue.ref(props2.items);
593
594
  let activeSlideIndex = vue.ref(0);
594
595
  let isDragging = vue.ref(false);
595
596
  let startX = vue.ref(0);
@@ -614,6 +615,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
614
615
  }
615
616
  function scrollEase(target, duration = 500) {
616
617
  if (!bglSlider.value) return;
618
+ if (isPressed.value) return;
617
619
  const start2 = bglSlider.value.scrollLeft;
618
620
  const change = target - start2;
619
621
  const startTime = performance.now();
@@ -654,16 +656,26 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
654
656
  emit2("update:index", activeSlideIndex.value);
655
657
  }
656
658
  );
659
+ function goToSlideScrollEnd() {
660
+ if (!bglSlider.value) return;
661
+ const isDragForward = startX.value > bglSlider.value.offsetLeft;
662
+ if (itemCount.value === 1) {
663
+ if (isDragForward) activeSlideIndex.value = Math.ceil(bglSlider.value.scrollLeft / bglSlider.value.offsetWidth);
664
+ else activeSlideIndex.value = Math.floor(bglSlider.value.scrollLeft / bglSlider.value.offsetWidth);
665
+ } else {
666
+ activeSlideIndex.value = Math.round(bglSlider.value.scrollLeft / bglSlider.value.offsetWidth);
667
+ }
668
+ startX.value = 0;
669
+ const nextSlide = Math.round(bglSlider.value.scrollLeft / bglSlider.value.offsetWidth);
670
+ goToSlide(nextSlide);
671
+ }
672
+ let timeout = null;
673
+ function scrollEnd() {
674
+ if (timeout) clearTimeout(timeout);
675
+ timeout = setTimeout(goToSlideScrollEnd, 400);
676
+ }
657
677
  function stopDragging(e) {
658
678
  isPressed.value = false;
659
- const slider = bglSlider.value;
660
- if (!slider) return;
661
- const isDragForward = startX.value > e.pageX + slider.offsetLeft;
662
- if (isDragForward)
663
- activeSlideIndex.value = Math.ceil(slider.scrollLeft / slider.offsetWidth);
664
- else activeSlideIndex.value = Math.floor(slider.scrollLeft / slider.offsetWidth);
665
- if (props2.items === 1) goToSlide(activeSlideIndex.value);
666
- startX.value = 0;
667
679
  document.removeEventListener("mousemove", move);
668
680
  document.removeEventListener("mouseup", stopDragging);
669
681
  document.removeEventListener("dragend", stopDragging);
@@ -685,7 +697,6 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
685
697
  isPressed.value = true;
686
698
  document.addEventListener("mousemove", move);
687
699
  document.addEventListener("mouseup", stopDragging);
688
- document.addEventListener("dragend", stopDragging);
689
700
  }
690
701
  function next() {
691
702
  if (!bglSlider.value) return;
@@ -702,11 +713,17 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
702
713
  }
703
714
  function evalWidth() {
704
715
  if (!bglSlider.value) return;
716
+ if (window.innerWidth < 600) itemCount.value = 1;
717
+ else if (window.innerWidth < 991) itemCount.value = Math.min(props2.items, 2);
718
+ else if (window.innerWidth < 1280) itemCount.value = Math.min(props2.items, 3);
719
+ else itemCount.value = props2.items;
720
+ console.log(itemCount.value, window.innerWidth);
705
721
  goToSlide(activeSlideIndex.value);
706
722
  }
707
723
  vue.onMounted(() => {
708
724
  window.addEventListener("resize", evalWidth);
709
725
  evalHeight();
726
+ evalWidth();
710
727
  disableDrag();
711
728
  });
712
729
  vue.onUnmounted(() => {
@@ -723,14 +740,19 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
723
740
  class: vue.normalizeClass([{
724
741
  dragging: vue.unref(isDragging),
725
742
  clicking: vue.unref(isPressed),
726
- [`slides-${__props.items}`]: true,
727
- allowScroll: __props.allowScroll
743
+ allowScroll: __props.allowScroll,
744
+ odd: vue.unref(itemCount) % 2 !== 0,
745
+ [`slides-${vue.unref(itemCount)}`]: vue.unref(itemCount) === 1
728
746
  }, "bgl-slider"]),
747
+ style: vue.normalizeStyle({
748
+ "--item-count": vue.unref(itemCount)
749
+ }),
750
+ onScroll: scrollEnd,
729
751
  onMousedown: startDragging
730
752
  }, [
731
- vue.unref(isDragging) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$F)) : vue.createCommentVNode("", true),
753
+ vue.unref(isDragging) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$G)) : vue.createCommentVNode("", true),
732
754
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
733
- ], 34),
755
+ ], 38),
734
756
  vue.createElementVNode("div", _hoisted_2$s, [
735
757
  vue.createElementVNode("span", { onClick: prev }, [
736
758
  vue.renderSlot(_ctx.$slots, "prev", {
@@ -749,7 +771,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
749
771
  };
750
772
  }
751
773
  });
752
- const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-619a1cb2"]]);
774
+ const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-e588f5a7"]]);
753
775
  function _isPlaceholder(a2) {
754
776
  return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
755
777
  }
@@ -6690,13 +6712,13 @@ var script = vue.defineComponent({
6690
6712
  return { bar, canvas, direction, mouse };
6691
6713
  }
6692
6714
  });
6693
- const _hoisted_1$E = {
6715
+ const _hoisted_1$F = {
6694
6716
  key: 0,
6695
6717
  class: "layer-hover-bar"
6696
6718
  };
6697
6719
  const _hoisted_2$r = ["x", "y", "width", "height"];
6698
6720
  function render$e(_ctx, _cache, $props, $setup, $data, $options) {
6699
- return _ctx.mouse.hover ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$E, [
6721
+ return _ctx.mouse.hover ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$F, [
6700
6722
  vue.createElementVNode("rect", vue.mergeProps({ class: "hover-bar" }, _ctx.barStyle, {
6701
6723
  x: _ctx.bar.x,
6702
6724
  y: _ctx.bar.y,
@@ -6708,7 +6730,7 @@ function render$e(_ctx, _cache, $props, $setup, $data, $options) {
6708
6730
  script.render = render$e;
6709
6731
  script.__file = "src/components/HoverBar/index.vue";
6710
6732
  const BRAND_COLOR = "var(--bgl-primary)";
6711
- const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
6733
+ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
6712
6734
  __name: "Lineart",
6713
6735
  props: {
6714
6736
  data: {},
@@ -6848,7 +6870,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
6848
6870
  };
6849
6871
  }
6850
6872
  });
6851
- const _hoisted_1$D = {
6873
+ const _hoisted_1$E = {
6852
6874
  key: 0,
6853
6875
  class: "data"
6854
6876
  };
@@ -6869,7 +6891,7 @@ const _hoisted_9$3 = {
6869
6891
  key: 0,
6870
6892
  class: "m-0"
6871
6893
  };
6872
- const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
6894
+ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
6873
6895
  __name: "DataPreview",
6874
6896
  props: /* @__PURE__ */ vue.mergeModels({
6875
6897
  showFields: {},
@@ -6905,7 +6927,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
6905
6927
  const computedSchema = vue.computed(() => getFallbackSchema([itemData.value], props2.showFields));
6906
6928
  return (_ctx, _cache) => {
6907
6929
  var _a2;
6908
- return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$D, [
6930
+ return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$E, [
6909
6931
  _ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$3), {
6910
6932
  key: 0,
6911
6933
  label: _ctx.title
@@ -6918,7 +6940,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
6918
6940
  vue.createElementVNode("div", _hoisted_3$k, [
6919
6941
  vue.createElementVNode("p", _hoisted_4$e, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1)
6920
6942
  ]),
6921
- vue.createVNode(vue.unref(_sfc_main$K), {
6943
+ vue.createVNode(vue.unref(_sfc_main$L), {
6922
6944
  modelValue: itemData.value,
6923
6945
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => itemData.value = $event),
6924
6946
  label: "",
@@ -6947,7 +6969,7 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
6947
6969
  };
6948
6970
  }
6949
6971
  });
6950
- const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-6c27f163"]]);
6972
+ const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-6c27f163"]]);
6951
6973
  const sides = ["top", "right", "bottom", "left"];
6952
6974
  const alignments = ["start", "end"];
6953
6975
  const placements$1 = /* @__PURE__ */ sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
@@ -9489,7 +9511,7 @@ const Gt$1 = {
9489
9511
  install: Ct$1,
9490
9512
  options: h
9491
9513
  };
9492
- const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
9514
+ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
9493
9515
  __name: "Dropdown",
9494
9516
  props: {
9495
9517
  value: {},
@@ -9546,7 +9568,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
9546
9568
  };
9547
9569
  }
9548
9570
  });
9549
- const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
9571
+ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
9550
9572
  __name: "Flag",
9551
9573
  props: {
9552
9574
  country: {},
@@ -9576,8 +9598,8 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
9576
9598
  };
9577
9599
  }
9578
9600
  });
9579
- const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-f99f1900"]]);
9580
- const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
9601
+ const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-f99f1900"]]);
9602
+ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
9581
9603
  __name: "BglField",
9582
9604
  props: {
9583
9605
  field: {},
@@ -9597,9 +9619,9 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
9597
9619
  if (props2.field.$el === "select") return SelectInput;
9598
9620
  if (props2.field.$el === "toggle") return ToggleInput;
9599
9621
  if (props2.field.$el === "check") return CheckInput;
9600
- if (props2.field.$el === "richtext") return _sfc_main$v;
9622
+ if (props2.field.$el === "richtext") return _sfc_main$w;
9601
9623
  if (props2.field.$el === "file") return $el;
9602
- if (props2.field.$el === "date") return _sfc_main$E;
9624
+ if (props2.field.$el === "date") return _sfc_main$F;
9603
9625
  return props2.field.$el ?? "div";
9604
9626
  });
9605
9627
  const formData = vue.computed({
@@ -9684,7 +9706,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
9684
9706
  };
9685
9707
  }
9686
9708
  });
9687
- const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
9709
+ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
9688
9710
  __name: "BglForm",
9689
9711
  props: {
9690
9712
  label: {},
@@ -9782,7 +9804,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
9782
9804
  label: _ctx.label
9783
9805
  }, null, 8, ["label"])) : vue.createCommentVNode("", true),
9784
9806
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, (field, i2) => {
9785
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$K), {
9807
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$L), {
9786
9808
  key: field.id || `${i2}p`,
9787
9809
  modelValue: vue.unref(data2),
9788
9810
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(data2) ? data2.value = $event : data2 = $event),
@@ -9806,7 +9828,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
9806
9828
  label: _ctx.label
9807
9829
  }, null, 8, ["label"])) : vue.createCommentVNode("", true),
9808
9830
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, (field, i2) => {
9809
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$K), {
9831
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$L), {
9810
9832
  key: field.id || `${i2}p`,
9811
9833
  modelValue: vue.unref(data2),
9812
9834
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(data2) ? data2.value = $event : data2 = $event),
@@ -9825,8 +9847,8 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
9825
9847
  };
9826
9848
  }
9827
9849
  });
9828
- const _hoisted_1$C = { key: 0 };
9829
- const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
9850
+ const _hoisted_1$D = { key: 0 };
9851
+ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
9830
9852
  __name: "BglMultiStepForm",
9831
9853
  props: /* @__PURE__ */ vue.mergeModels({
9832
9854
  bagelFormProps: { default: () => ({}) },
@@ -9893,8 +9915,8 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
9893
9915
  mode: "out-in"
9894
9916
  }, {
9895
9917
  default: vue.withCtx(() => [
9896
- !vue.unref(isStepping) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$C, [
9897
- vue.createVNode(vue.unref(_sfc_main$J), vue.mergeProps({
9918
+ !vue.unref(isStepping) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$D, [
9919
+ vue.createVNode(vue.unref(_sfc_main$K), vue.mergeProps({
9898
9920
  ref_key: "formRef",
9899
9921
  ref: formRef,
9900
9922
  modelValue: formData.value,
@@ -9933,8 +9955,8 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
9933
9955
  };
9934
9956
  }
9935
9957
  });
9936
- const _hoisted_1$B = { class: "primary-checkbox" };
9937
- const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
9958
+ const _hoisted_1$C = { class: "primary-checkbox" };
9959
+ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
9938
9960
  __name: "Checkbox",
9939
9961
  props: {
9940
9962
  "modelValue": { type: Boolean, ...{ default: false } },
@@ -9944,7 +9966,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
9944
9966
  setup(__props) {
9945
9967
  const val = vue.useModel(__props, "modelValue");
9946
9968
  return (_ctx, _cache) => {
9947
- return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$B, [
9969
+ return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$C, [
9948
9970
  vue.renderSlot(_ctx.$slots, "label", {}, void 0, true),
9949
9971
  vue.withDirectives(vue.createElementVNode("input", {
9950
9972
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
@@ -9956,11 +9978,11 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
9956
9978
  };
9957
9979
  }
9958
9980
  });
9959
- const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-73f1d9ad"]]);
9960
- const _hoisted_1$A = ["title"];
9981
+ const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-73f1d9ad"]]);
9982
+ const _hoisted_1$B = ["title"];
9961
9983
  const _hoisted_2$p = ["id", "value", "required"];
9962
9984
  const _hoisted_3$j = ["for"];
9963
- const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
9985
+ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
9964
9986
  __name: "CheckInput",
9965
9987
  props: /* @__PURE__ */ vue.mergeModels({
9966
9988
  label: {},
@@ -10002,14 +10024,14 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
10002
10024
  vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
10003
10025
  ], true)
10004
10026
  ], 8, _hoisted_3$j)
10005
- ], 10, _hoisted_1$A);
10027
+ ], 10, _hoisted_1$B);
10006
10028
  };
10007
10029
  }
10008
10030
  });
10009
- const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-03ed2982"]]);
10010
- const _hoisted_1$z = ["title"];
10031
+ const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-03ed2982"]]);
10032
+ const _hoisted_1$A = ["title"];
10011
10033
  const _hoisted_2$o = ["id", "placeholder", "required"];
10012
- const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
10034
+ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
10013
10035
  __name: "ColorPicker",
10014
10036
  props: {
10015
10037
  label: {},
@@ -10051,7 +10073,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
10051
10073
  [vue.vModelText, inputVal.value]
10052
10074
  ])
10053
10075
  ])
10054
- ], 10, _hoisted_1$z)) : vue.createCommentVNode("", true);
10076
+ ], 10, _hoisted_1$A)) : vue.createCommentVNode("", true);
10055
10077
  };
10056
10078
  }
10057
10079
  });
@@ -18494,9 +18516,9 @@ const eo = ({
18494
18516
  Object.entries(go).forEach(([e, t]) => {
18495
18517
  e !== "default" && (Hn[e] = t);
18496
18518
  });
18497
- const _hoisted_1$y = ["title"];
18519
+ const _hoisted_1$z = ["title"];
18498
18520
  const _hoisted_2$n = { key: 0 };
18499
- const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
18521
+ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
18500
18522
  __name: "DateInput",
18501
18523
  props: {
18502
18524
  required: { type: Boolean },
@@ -18554,11 +18576,11 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
18554
18576
  "minutes-grid-increment": _ctx.minutesGridIncrement,
18555
18577
  "start-time": { hours: 8, minutes: 0 }
18556
18578
  }), null, 16, ["modelValue", "required", "enable-time-picker", "allowed-dates", "time-picker-inline", "minutes-increment", "minutes-grid-increment"])
18557
- ], 10, _hoisted_1$y);
18579
+ ], 10, _hoisted_1$z);
18558
18580
  };
18559
18581
  }
18560
18582
  });
18561
- const _hoisted_1$x = { class: "datetime-wrap" };
18583
+ const _hoisted_1$y = { class: "datetime-wrap" };
18562
18584
  const _hoisted_2$m = { class: "date-wrap" };
18563
18585
  const _hoisted_3$i = {
18564
18586
  key: 0,
@@ -18566,7 +18588,7 @@ const _hoisted_3$i = {
18566
18588
  };
18567
18589
  const _hoisted_4$d = ["id", "name", "value"];
18568
18590
  const _hoisted_5$b = ["for"];
18569
- const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
18591
+ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
18570
18592
  __name: "DatePicker",
18571
18593
  props: {
18572
18594
  label: {},
@@ -18594,7 +18616,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
18594
18616
  return `${hour}:${minute}`;
18595
18617
  });
18596
18618
  return (_ctx, _cache) => {
18597
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$x, [
18619
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$y, [
18598
18620
  vue.createElementVNode("div", _hoisted_2$m, [
18599
18621
  vue.createVNode(vue.unref(Hn), vue.mergeProps({
18600
18622
  modelValue: selectedDate.value,
@@ -18635,7 +18657,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
18635
18657
  };
18636
18658
  }
18637
18659
  });
18638
- const _hoisted_1$w = { class: "bagel-input" };
18660
+ const _hoisted_1$x = { class: "bagel-input" };
18639
18661
  const _hoisted_2$l = {
18640
18662
  key: 0,
18641
18663
  class: "bgl-multi-preview"
@@ -18652,14 +18674,19 @@ const _hoisted_8$3 = {
18652
18674
  key: 1,
18653
18675
  class: "bgl-single-preview"
18654
18676
  };
18655
- const _hoisted_9$2 = ["src"];
18656
- const _hoisted_10$2 = {
18677
+ const _hoisted_9$2 = {
18678
+ key: 0,
18679
+ class: "h-100"
18680
+ };
18681
+ const _hoisted_10$2 = ["src"];
18682
+ const _hoisted_11$1 = { class: "position-start m-05 gap-025 flex" };
18683
+ const _hoisted_12 = {
18657
18684
  key: 0,
18658
18685
  class: "progress"
18659
18686
  };
18660
- const _hoisted_11$1 = ["src"];
18661
- const _hoisted_12 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
18662
- const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
18687
+ const _hoisted_13 = ["src"];
18688
+ const _hoisted_14 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
18689
+ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
18663
18690
  __name: "FileUpload",
18664
18691
  props: {
18665
18692
  label: {},
@@ -18814,7 +18841,8 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
18814
18841
  }
18815
18842
  return (_ctx, _cache) => {
18816
18843
  const _directive_lightbox = vue.resolveDirective("lightbox");
18817
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [
18844
+ const _directive_tooltip = vue.resolveDirective("tooltip");
18845
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$x, [
18818
18846
  vue.createElementVNode("label", null, vue.toDisplayString(_ctx.label), 1),
18819
18847
  vue.createElementVNode("div", {
18820
18848
  class: vue.normalizeClass(["fileUploadWrap", {
@@ -18898,14 +18926,33 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
18898
18926
  key: file.id,
18899
18927
  class: vue.normalizeClass(["single-image-item-preview", { "bgl_fill-image": _ctx.fill }])
18900
18928
  }, [
18901
- isImage(file.extension || file.url) ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("img", {
18902
- key: 0,
18903
- class: "single-preview",
18904
- src: file.url,
18905
- alt: ""
18906
- }, null, 8, _hoisted_9$2)), [
18907
- [_directive_lightbox]
18908
- ]) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$c), {
18929
+ isImage(file.extension || file.url) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$2, [
18930
+ vue.withDirectives(vue.createElementVNode("img", {
18931
+ class: "single-preview",
18932
+ src: file.url,
18933
+ alt: ""
18934
+ }, null, 8, _hoisted_10$2), [
18935
+ [_directive_lightbox]
18936
+ ]),
18937
+ vue.createElementVNode("div", _hoisted_11$1, [
18938
+ vue.withDirectives(vue.createVNode(vue.unref(Btn), {
18939
+ color: "gray",
18940
+ thin: "",
18941
+ icon: "delete",
18942
+ onClick: vue.withModifiers(($event) => removeFile(file), ["stop"])
18943
+ }, null, 8, ["onClick"]), [
18944
+ [_directive_tooltip, "Delete"]
18945
+ ]),
18946
+ vue.withDirectives(vue.createVNode(vue.unref(Btn), {
18947
+ color: "gray",
18948
+ thin: "",
18949
+ icon: "autorenew",
18950
+ onClick: browse
18951
+ }, null, 512), [
18952
+ [_directive_tooltip, "Replace"]
18953
+ ])
18954
+ ])
18955
+ ])) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$c), {
18909
18956
  key: 1,
18910
18957
  size: 4,
18911
18958
  weight: "2",
@@ -18923,7 +18970,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
18923
18970
  class: vue.normalizeClass(["pie", { complete: fileQ.progress === 100 }]),
18924
18971
  style: vue.normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
18925
18972
  }, [
18926
- fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_10$2, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
18973
+ fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_12, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
18927
18974
  vue.createVNode(vue.unref(_sfc_main$c), {
18928
18975
  class: "success",
18929
18976
  icon: "check"
@@ -18934,7 +18981,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
18934
18981
  class: "single-preview",
18935
18982
  src: fileToUrl(fileQ.file),
18936
18983
  alt: ""
18937
- }, null, 8, _hoisted_11$1)) : vue.createCommentVNode("", true)
18984
+ }, null, 8, _hoisted_13)) : vue.createCommentVNode("", true)
18938
18985
  ], 2);
18939
18986
  }), 128))
18940
18987
  ])) : vue.createCommentVNode("", true)
@@ -18945,7 +18992,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
18945
18992
  fileQueue: fileQueue.value,
18946
18993
  browse
18947
18994
  }, () => [
18948
- vue.createElementVNode("p", _hoisted_12, [
18995
+ vue.createElementVNode("p", _hoisted_14, [
18949
18996
  vue.createVNode(vue.unref(_sfc_main$c), { icon: "upload_2" }),
18950
18997
  _cache[0] || (_cache[0] = vue.createTextVNode(" Drop files here or click to upload "))
18951
18998
  ])
@@ -18955,11 +19002,11 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
18955
19002
  };
18956
19003
  }
18957
19004
  });
18958
- const $el = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-1db5afa3"]]);
18959
- const _hoisted_1$v = ["title"];
19005
+ const $el = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-bfb0bd63"]]);
19006
+ const _hoisted_1$w = ["title"];
18960
19007
  const _hoisted_2$k = { key: 0 };
18961
19008
  const _hoisted_3$g = ["value", "placeholder"];
18962
- const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
19009
+ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
18963
19010
  __name: "JSONInput",
18964
19011
  props: {
18965
19012
  description: { default: "" },
@@ -18991,13 +19038,13 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
18991
19038
  placeholder: _ctx.placeholder,
18992
19039
  onInput: handleInput
18993
19040
  }, null, 42, _hoisted_3$g)
18994
- ], 10, _hoisted_1$v);
19041
+ ], 10, _hoisted_1$w);
18995
19042
  };
18996
19043
  }
18997
19044
  });
18998
- const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-1cbaeab2"]]);
18999
- const _hoisted_1$u = ["value", "autofocus", "onKeydown", "onPaste"];
19000
- const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
19045
+ const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-1cbaeab2"]]);
19046
+ const _hoisted_1$v = ["value", "autofocus", "onKeydown", "onPaste"];
19047
+ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
19001
19048
  __name: "OTP",
19002
19049
  props: {
19003
19050
  digitCount: {},
@@ -19095,15 +19142,15 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
19095
19142
  oninput: "this.value = this.value.slice(0, 1);",
19096
19143
  onKeydown: ($event) => handleKeyDown2($event, ind),
19097
19144
  onPaste: ($event) => handlePaste2($event, ind)
19098
- }, null, 40, _hoisted_1$u);
19145
+ }, null, 40, _hoisted_1$v);
19099
19146
  }), 128))
19100
19147
  ], 512);
19101
19148
  };
19102
19149
  }
19103
19150
  });
19104
- const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-5c22c199"]]);
19105
- const _hoisted_1$t = { class: "relative" };
19106
- const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
19151
+ const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-5c22c199"]]);
19152
+ const _hoisted_1$u = { class: "relative" };
19153
+ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
19107
19154
  __name: "PasswordInput",
19108
19155
  props: /* @__PURE__ */ vue.mergeModels({
19109
19156
  id: {},
@@ -19143,7 +19190,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
19143
19190
  );
19144
19191
  const inputType = vue.computed(() => showPwd.value ? "text" : "password");
19145
19192
  return (_ctx, _cache) => {
19146
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$t, [
19193
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$u, [
19147
19194
  vue.createVNode(vue.unref(TextInput), vue.mergeProps({
19148
19195
  modelValue: password.value,
19149
19196
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => password.value = $event)
@@ -19163,7 +19210,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
19163
19210
  };
19164
19211
  }
19165
19212
  });
19166
- const _hoisted_1$s = ["for"];
19213
+ const _hoisted_1$t = ["for"];
19167
19214
  const _hoisted_2$j = ["id", "name", "value"];
19168
19215
  const _hoisted_3$f = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
19169
19216
  const _hoisted_4$b = ["src", "alt"];
@@ -19176,7 +19223,7 @@ const _hoisted_7$4 = {
19176
19223
  key: 1,
19177
19224
  class: "txt-gray txt-12 m-0"
19178
19225
  };
19179
- const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
19226
+ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
19180
19227
  __name: "RadioGroup",
19181
19228
  props: /* @__PURE__ */ vue.mergeModels({
19182
19229
  groupName: {},
@@ -19229,19 +19276,19 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
19229
19276
  icon: "delete",
19230
19277
  onClick: ($event) => _ctx.$emit("delete", opt)
19231
19278
  }, null, 8, ["onClick"])) : vue.createCommentVNode("", true)
19232
- ], 8, _hoisted_1$s);
19279
+ ], 8, _hoisted_1$t);
19233
19280
  }), 128))
19234
19281
  ]);
19235
19282
  };
19236
19283
  }
19237
19284
  });
19238
- const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-3e9e030f"]]);
19239
- const _hoisted_1$r = { class: "bagel-input" };
19285
+ const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-3e9e030f"]]);
19286
+ const _hoisted_1$s = { class: "bagel-input" };
19240
19287
  const _hoisted_2$i = { class: "pb-025" };
19241
19288
  const _hoisted_3$e = { class: "flex gap-05 flex-wrap" };
19242
19289
  const _hoisted_4$a = ["id", "name", "value", "checked"];
19243
19290
  const _hoisted_5$8 = ["for"];
19244
- const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
19291
+ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
19245
19292
  __name: "RadioPillsInput",
19246
19293
  props: {
19247
19294
  options: {},
@@ -19282,7 +19329,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
19282
19329
  selectedValue.value = props2.modelValue;
19283
19330
  });
19284
19331
  return (_ctx, _cache) => {
19285
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$r, [
19332
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$s, [
19286
19333
  vue.createElementVNode("label", _hoisted_2$i, vue.toDisplayString(_ctx.label), 1),
19287
19334
  vue.createElementVNode("div", _hoisted_3$e, [
19288
19335
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.options, (option2, index2) => {
@@ -19308,12 +19355,12 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
19308
19355
  };
19309
19356
  }
19310
19357
  });
19311
- const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-cf892d71"]]);
19312
- const _hoisted_1$q = { class: "flex gap-1 align-center range-slide" };
19358
+ const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-cf892d71"]]);
19359
+ const _hoisted_1$r = { class: "flex gap-1 align-center range-slide" };
19313
19360
  const _hoisted_2$h = { key: 0 };
19314
19361
  const _hoisted_3$d = ["max", "min", "step"];
19315
19362
  const _hoisted_4$9 = { key: 1 };
19316
- const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
19363
+ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
19317
19364
  __name: "RangeInput",
19318
19365
  props: /* @__PURE__ */ vue.mergeModels({
19319
19366
  min: {},
@@ -19333,7 +19380,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
19333
19380
  return `linear-gradient(to right, var(--bgl-primary) ${percentage}%, var(--input-bg) ${percentage}%)`;
19334
19381
  });
19335
19382
  return (_ctx, _cache) => {
19336
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$q, [
19383
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$r, [
19337
19384
  _ctx.min !== void 0 ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_2$h, vue.toDisplayString(_ctx.min), 1)) : vue.createCommentVNode("", true),
19338
19385
  vue.withDirectives(vue.createElementVNode("input", {
19339
19386
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
@@ -19350,7 +19397,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
19350
19397
  };
19351
19398
  }
19352
19399
  });
19353
- const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-d653c76a"]]);
19400
+ const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-d653c76a"]]);
19354
19401
  function OrderedMap(content) {
19355
19402
  this.content = content;
19356
19403
  }
@@ -43228,12 +43275,12 @@ vue.defineComponent({
43228
43275
  }, (_b = (_a2 = this.$slots).default) === null || _b === void 0 ? void 0 : _b.call(_a2));
43229
43276
  }
43230
43277
  });
43231
- const _hoisted_1$p = { class: "RichText" };
43278
+ const _hoisted_1$q = { class: "RichText" };
43232
43279
  const _hoisted_2$g = {
43233
43280
  key: 0,
43234
43281
  class: "RichText-tools"
43235
43282
  };
43236
- const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
43283
+ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
43237
43284
  __name: "RichText",
43238
43285
  props: {
43239
43286
  modelValue: {}
@@ -43458,7 +43505,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
43458
43505
  });
43459
43506
  return (_ctx, _cache) => {
43460
43507
  const _directive_tooltip = vue.resolveDirective("tooltip");
43461
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$p, [
43508
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$q, [
43462
43509
  vue.unref(editor) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$g, [
43463
43510
  (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, vue.renderList(config, (item) => {
43464
43511
  var _a2;
@@ -43652,7 +43699,7 @@ function createTable() {
43652
43699
  }
43653
43700
  }
43654
43701
  }
43655
- const _hoisted_1$o = { class: "flex gap-05" };
43702
+ const _hoisted_1$p = { class: "flex gap-05" };
43656
43703
  const _hoisted_2$f = ["disabled"];
43657
43704
  const _hoisted_3$c = { key: 1 };
43658
43705
  const _hoisted_4$8 = {
@@ -43662,7 +43709,7 @@ const _hoisted_4$8 = {
43662
43709
  const _hoisted_5$7 = ["value"];
43663
43710
  const _hoisted_6$6 = ["aria-selected", "onClick", "onKeydown"];
43664
43711
  const _hoisted_7$3 = { class: "block" };
43665
- const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
43712
+ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
43666
43713
  __name: "SelectInput",
43667
43714
  props: {
43668
43715
  options: {},
@@ -43810,7 +43857,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
43810
43857
  }
43811
43858
  });
43812
43859
  return (_ctx, _cache) => {
43813
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$M), {
43860
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$N), {
43814
43861
  ref_key: "dropdown",
43815
43862
  ref: dropdown,
43816
43863
  placement: "bottom-start",
@@ -43820,7 +43867,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
43820
43867
  trigger: vue.withCtx(() => [
43821
43868
  vue.createElementVNode("label", null, [
43822
43869
  vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
43823
- vue.createElementVNode("div", _hoisted_1$o, [
43870
+ vue.createElementVNode("div", _hoisted_1$p, [
43824
43871
  _ctx.searchable && vue.unref(open) ? (vue.openBlock(), vue.createBlock(vue.unref(TextInput), {
43825
43872
  key: 0,
43826
43873
  ref_key: "searchInput",
@@ -43874,7 +43921,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
43874
43921
  ])
43875
43922
  ]),
43876
43923
  default: vue.withCtx(() => [
43877
- vue.createVNode(vue.unref(_sfc_main$Q), {
43924
+ vue.createVNode(vue.unref(_sfc_main$R), {
43878
43925
  class: "p-05",
43879
43926
  style: vue.normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" })
43880
43927
  }, {
@@ -43919,12 +43966,12 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
43919
43966
  };
43920
43967
  }
43921
43968
  });
43922
- const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-94b45d29"]]);
43923
- const _hoisted_1$n = {
43969
+ const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-94b45d29"]]);
43970
+ const _hoisted_1$o = {
43924
43971
  class: "toolbar flex gap-025 pb-05 flex-wrap",
43925
43972
  role: "toolbar"
43926
43973
  };
43927
- const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
43974
+ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
43928
43975
  __name: "Toolbar",
43929
43976
  props: {
43930
43977
  config: {}
@@ -43954,7 +44001,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
43954
44001
  }
43955
44002
  return (_ctx, _cache) => {
43956
44003
  const _directive_tooltip = vue.resolveDirective("tooltip");
43957
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$n, [
44004
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$o, [
43958
44005
  vue.createVNode(SelectInput, {
43959
44006
  class: "m-0 w150",
43960
44007
  options: ["Text", "Heading 1", "Heading 2", "Heading 3", "Heading 4", "Heading 5", "Heading 6", "Blockquote", "Code"],
@@ -43983,14 +44030,14 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
43983
44030
  };
43984
44031
  }
43985
44032
  });
43986
- const _hoisted_1$m = { class: "rich-text-editor rounded pt-05 px-1 pb-1" };
44033
+ const _hoisted_1$n = { class: "rich-text-editor rounded pt-05 px-1 pb-1" };
43987
44034
  const _hoisted_2$e = { class: "editor-container flex flex-stretch gap-1 m_column" };
43988
44035
  const _hoisted_3$b = { class: "content-area radius-05 p-1 shadow-light w-100 grid" };
43989
44036
  const _hoisted_4$7 = {
43990
44037
  key: 0,
43991
44038
  class: "preview-area w-100 radius-05 p-1"
43992
44039
  };
43993
- const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
44040
+ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
43994
44041
  __name: "index",
43995
44042
  props: {
43996
44043
  modelValue: {},
@@ -44117,8 +44164,8 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
44117
44164
  }
44118
44165
  }
44119
44166
  return (_ctx, _cache) => {
44120
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$m, [
44121
- vue.createVNode(_sfc_main$t, {
44167
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$n, [
44168
+ vue.createVNode(_sfc_main$u, {
44122
44169
  config: config.value,
44123
44170
  onAction: handleToolbarAction
44124
44171
  }, null, 8, ["config"]),
@@ -44149,7 +44196,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
44149
44196
  };
44150
44197
  }
44151
44198
  });
44152
- const index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-8f1898f5"]]);
44199
+ const index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-8f1898f5"]]);
44153
44200
  /*!
44154
44201
  * Signature Pad v5.0.3 | https://github.com/szimek/signature_pad
44155
44202
  * (c) 2024 Szymon Nowak | Released under the MIT license
@@ -44743,7 +44790,7 @@ class SignaturePad extends SignatureEventTarget {
44743
44790
  return svg.outerHTML;
44744
44791
  }
44745
44792
  }
44746
- const _hoisted_1$l = ["disabled"];
44793
+ const _hoisted_1$m = ["disabled"];
44747
44794
  const _hoisted_2$d = {
44748
44795
  key: 1,
44749
44796
  placeholder: "required",
@@ -44751,7 +44798,7 @@ const _hoisted_2$d = {
44751
44798
  required: "",
44752
44799
  class: "pixel"
44753
44800
  };
44754
- const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
44801
+ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
44755
44802
  __name: "SignaturePad",
44756
44803
  props: /* @__PURE__ */ vue.mergeModels({
44757
44804
  sigOption: {},
@@ -44904,7 +44951,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
44904
44951
  ref: vCanvas,
44905
44952
  class: "canvas",
44906
44953
  disabled: _ctx.disabled
44907
- }, null, 8, _hoisted_1$l),
44954
+ }, null, 8, _hoisted_1$m),
44908
44955
  _ctx.required && vue.unref(_isEmpty) ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$d)) : vue.createCommentVNode("", true)
44909
44956
  ], 34);
44910
44957
  };
@@ -47389,13 +47436,13 @@ const VueDraggableNext = vue.defineComponent({
47389
47436
  }
47390
47437
  }
47391
47438
  });
47392
- const _hoisted_1$k = ["title"];
47439
+ const _hoisted_1$l = ["title"];
47393
47440
  const _hoisted_2$c = { class: "bagel-input" };
47394
47441
  const _hoisted_3$a = { class: "table-side-scroll" };
47395
47442
  const _hoisted_4$6 = { class: "table-header" };
47396
47443
  const _hoisted_5$6 = { class: "table-reorder" };
47397
47444
  const _hoisted_6$5 = { class: "table-action" };
47398
- const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
47445
+ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
47399
47446
  __name: "TableField",
47400
47447
  props: {
47401
47448
  description: { default: "" },
@@ -47535,11 +47582,11 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
47535
47582
  ])),
47536
47583
  _: 1
47537
47584
  })
47538
- ], 8, _hoisted_1$k);
47585
+ ], 8, _hoisted_1$l);
47539
47586
  };
47540
47587
  }
47541
47588
  });
47542
- const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-a65c658c"]]);
47589
+ const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-a65c658c"]]);
47543
47590
  function bind(fn3, thisArg) {
47544
47591
  return function wrap2() {
47545
47592
  return fn3.apply(thisArg, arguments);
@@ -52006,13 +52053,13 @@ function parsePhoneNumber$1() {
52006
52053
  function parsePhoneNumber() {
52007
52054
  return withMetadataArgument(parsePhoneNumber$1, arguments);
52008
52055
  }
52009
- const _hoisted_1$j = ["aria-expanded"];
52056
+ const _hoisted_1$k = ["aria-expanded"];
52010
52057
  const _hoisted_2$b = { class: "p-075 tel-countryp-dropdown" };
52011
52058
  const _hoisted_3$9 = ["aria-selected", "onClick", "onMousemove"];
52012
52059
  const _hoisted_4$5 = { class: "tel-country" };
52013
52060
  const _hoisted_5$5 = { key: 1 };
52014
52061
  const _hoisted_6$4 = ["id", "required", "placeholder", "disabled", "autocomplete", "pattern", "minlength", "maxlength", "name", "readonly", "tabindex", "aria-describedby"];
52015
- const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
52062
+ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
52016
52063
  __name: "TelInput",
52017
52064
  props: /* @__PURE__ */ vue.mergeModels({
52018
52065
  label: {},
@@ -52273,7 +52320,7 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
52273
52320
  vue.withKeys(reset, ["tab"])
52274
52321
  ]
52275
52322
  }, [
52276
- !computedDropDownOptions.value.hide ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$M), {
52323
+ !computedDropDownOptions.value.hide ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$N), {
52277
52324
  key: 0,
52278
52325
  ref_key: "phoneDropdown",
52279
52326
  ref: phoneDropdown,
@@ -52360,19 +52407,19 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
52360
52407
  }, null, 44, _hoisted_6$4), [
52361
52408
  [vue.vModelText, phone.value]
52362
52409
  ])
52363
- ], 40, _hoisted_1$j)
52410
+ ], 40, _hoisted_1$k)
52364
52411
  ])
52365
52412
  ], 2);
52366
52413
  };
52367
52414
  }
52368
52415
  });
52369
- const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-627af458"]]);
52370
- const _hoisted_1$i = ["title"];
52416
+ const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-627af458"]]);
52417
+ const _hoisted_1$j = ["title"];
52371
52418
  const _hoisted_2$a = ["for"];
52372
52419
  const _hoisted_3$8 = ["id", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
52373
52420
  const _hoisted_4$4 = ["id", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
52374
52421
  const _hoisted_5$4 = { key: 2 };
52375
- const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
52422
+ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
52376
52423
  __name: "TextInput",
52377
52424
  props: {
52378
52425
  id: {},
@@ -52503,15 +52550,15 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
52503
52550
  key: 1,
52504
52551
  icon: _ctx.icon
52505
52552
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true)
52506
- ], 10, _hoisted_1$i);
52553
+ ], 10, _hoisted_1$j);
52507
52554
  };
52508
52555
  }
52509
52556
  });
52510
- const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-e5ae4283"]]);
52511
- const _hoisted_1$h = ["title"];
52557
+ const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-e5ae4283"]]);
52558
+ const _hoisted_1$i = ["title"];
52512
52559
  const _hoisted_2$9 = ["id", "required"];
52513
52560
  const _hoisted_3$7 = ["for"];
52514
- const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
52561
+ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
52515
52562
  __name: "ToggleInput",
52516
52563
  props: /* @__PURE__ */ vue.mergeModels({
52517
52564
  label: {},
@@ -52555,20 +52602,20 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
52555
52602
  vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
52556
52603
  ], true)
52557
52604
  ], 8, _hoisted_3$7)
52558
- ], 10, _hoisted_1$h);
52605
+ ], 10, _hoisted_1$i);
52559
52606
  };
52560
52607
  }
52561
52608
  });
52562
- const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-486451e5"]]);
52563
- const _hoisted_1$g = { class: "m-0 pb-025 txt14 line-height-1" };
52564
- const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
52609
+ const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-486451e5"]]);
52610
+ const _hoisted_1$h = { class: "m-0 pb-025 txt14 line-height-1" };
52611
+ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
52565
52612
  __name: "BottomMenu",
52566
52613
  props: {
52567
52614
  navLinks: {}
52568
52615
  },
52569
52616
  setup(__props) {
52570
52617
  return (_ctx, _cache) => {
52571
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$Q), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
52618
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
52572
52619
  default: vue.withCtx(() => [
52573
52620
  vue.renderSlot(_ctx.$slots, "brand", {}, void 0, true),
52574
52621
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.navLinks, (nav2, i2) => {
@@ -52584,7 +52631,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
52584
52631
  size: 1.4,
52585
52632
  class: "m-0 line-height-14"
52586
52633
  }, null, 8, ["icon"]),
52587
- vue.createElementVNode("p", _hoisted_1$g, vue.toDisplayString(nav2.label), 1)
52634
+ vue.createElementVNode("p", _hoisted_1$h, vue.toDisplayString(nav2.label), 1)
52588
52635
  ]),
52589
52636
  _: 2
52590
52637
  }, 1032, ["to", "onClick"]);
@@ -52595,8 +52642,8 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
52595
52642
  };
52596
52643
  }
52597
52644
  });
52598
- const BottomMenu = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-557bcad0"]]);
52599
- const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
52645
+ const BottomMenu = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-557bcad0"]]);
52646
+ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
52600
52647
  __name: "Layout",
52601
52648
  props: {
52602
52649
  gap: { default: 1 },
@@ -52637,9 +52684,9 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
52637
52684
  };
52638
52685
  }
52639
52686
  });
52640
- const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-1814129a"]]);
52641
- const _hoisted_1$f = { key: 0 };
52642
- const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
52687
+ const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-1814129a"]]);
52688
+ const _hoisted_1$g = { key: 0 };
52689
+ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
52643
52690
  __name: "SidebarMenu",
52644
52691
  props: {
52645
52692
  navLinks: {},
@@ -52668,7 +52715,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
52668
52715
  icon: "keyboard_arrow_right",
52669
52716
  onClick: toggleMenu
52670
52717
  }),
52671
- vue.createVNode(vue.unref(_sfc_main$Q), { class: "py-1 px-05 h-100 flex column gap-05 rounded relative bg-primary font-light overflow-y" }, {
52718
+ vue.createVNode(vue.unref(_sfc_main$R), { class: "py-1 px-05 h-100 flex column gap-05 rounded relative bg-primary font-light overflow-y" }, {
52672
52719
  default: vue.withCtx(() => [
52673
52720
  !vue.unref(isOpen) || !vue.unref(slots)["brand-open"] ? vue.renderSlot(_ctx.$slots, "brand", { key: 0 }, void 0, true) : vue.createCommentVNode("", true),
52674
52721
  vue.unref(isOpen) ? vue.renderSlot(_ctx.$slots, "brand-open", { key: 1 }, void 0, true) : vue.createCommentVNode("", true),
@@ -52686,7 +52733,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
52686
52733
  }, null, 8, ["icon"]),
52687
52734
  vue.createVNode(vue.Transition, { name: "showP" }, {
52688
52735
  default: vue.withCtx(() => [
52689
- _ctx.open ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_1$f, vue.toDisplayString(nav2.label), 1)) : vue.createCommentVNode("", true)
52736
+ _ctx.open ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_1$g, vue.toDisplayString(nav2.label), 1)) : vue.createCommentVNode("", true)
52690
52737
  ]),
52691
52738
  _: 2
52692
52739
  }, 1024)
@@ -52714,7 +52761,37 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
52714
52761
  };
52715
52762
  }
52716
52763
  });
52717
- const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-51cedd11"]]);
52764
+ const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-51cedd11"]]);
52765
+ const _hoisted_1$f = {
52766
+ key: 0,
52767
+ class: "skeleton-wrap"
52768
+ };
52769
+ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
52770
+ __name: "Skeleton",
52771
+ props: {
52772
+ count: { default: 1 },
52773
+ height: { default: "50px" },
52774
+ width: { default: "auto" },
52775
+ borderRadius: { default: "var(--skeleton-radius)" }
52776
+ },
52777
+ setup(__props) {
52778
+ const slots = vue.useSlots();
52779
+ return (_ctx, _cache) => {
52780
+ return vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.count, (i2) => {
52781
+ return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: i2 }, [
52782
+ vue.unref(slots).default ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$f, [
52783
+ vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
52784
+ ])) : (vue.openBlock(), vue.createElementBlock("div", {
52785
+ key: 1,
52786
+ class: "skeleton",
52787
+ style: vue.normalizeStyle({ height: _ctx.height, width: _ctx.width, borderRadius: _ctx.borderRadius })
52788
+ }, null, 4))
52789
+ ], 64);
52790
+ }), 128);
52791
+ };
52792
+ }
52793
+ });
52794
+ const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-a06bec19"]]);
52718
52795
  const _hoisted_1$e = { class: "bgl_card tabs-top" };
52719
52796
  const _hoisted_2$8 = { class: "tabs grid auto-flow-columns fit-content" };
52720
52797
  const _hoisted_3$6 = ["onClick"];
@@ -53173,7 +53250,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
53173
53250
  onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
53174
53251
  onKeydown: vue.withKeys(closeModal, ["esc"])
53175
53252
  }, [
53176
- vue.createVNode(vue.unref(_sfc_main$Q), {
53253
+ vue.createVNode(vue.unref(_sfc_main$R), {
53177
53254
  class: "modal",
53178
53255
  style: vue.normalizeStyle({ ...maxWidth.value }),
53179
53256
  onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
@@ -53349,7 +53426,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
53349
53426
  "onUpdate:visible": _cache[1] || (_cache[1] = ($event) => emit2("update:visible", $event))
53350
53427
  }, vue.createSlots({
53351
53428
  default: vue.withCtx(() => [
53352
- vue.createVNode(vue.unref(_sfc_main$J), {
53429
+ vue.createVNode(vue.unref(_sfc_main$K), {
53353
53430
  ref_key: "form",
53354
53431
  ref: form,
53355
53432
  modelValue: formData.value,
@@ -53549,8 +53626,8 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
53549
53626
  },
53550
53627
  setup(__props) {
53551
53628
  vue.useCssVars((_ctx) => ({
53552
- "4779ddec": computedBackgroundColor.value,
53553
- "04aaf136": cumputedTextColor.value
53629
+ "64b28dae": computedBackgroundColor.value,
53630
+ "e70b1a78": cumputedTextColor.value
53554
53631
  }));
53555
53632
  const props2 = __props;
53556
53633
  const slots = vue.useSlots();
@@ -53641,7 +53718,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
53641
53718
  };
53642
53719
  }
53643
53720
  });
53644
- const Pill = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-8c7388de"]]);
53721
+ const Pill = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-40a0a2e2"]]);
53645
53722
  const _sfc_main$5 = {};
53646
53723
  function _sfc_render$1(_ctx, _cache) {
53647
53724
  const _component_router_view = vue.resolveComponent("router-view");
@@ -53999,7 +54076,8 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
53999
54076
  schema: {},
54000
54077
  showFields: {},
54001
54078
  useServerSort: { type: Boolean, default: false },
54002
- selectable: { type: Boolean, default: false }
54079
+ selectable: { type: Boolean, default: false },
54080
+ onLastItemVisible: {}
54003
54081
  }, {
54004
54082
  "loading": { default: false },
54005
54083
  "loadingModifiers": {},
@@ -54013,7 +54091,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
54013
54091
  emits: /* @__PURE__ */ vue.mergeModels(["update:selectedItems", "orderBy", "select"], ["update:loading", "update:itemHeight", "update:selectedItems"]),
54014
54092
  setup(__props, { emit: __emit }) {
54015
54093
  vue.useCssVars((_ctx) => ({
54016
- "dd90c516": vue.unref(computedItemHiehgt)
54094
+ "ced4aeb8": vue.unref(computedItemHiehgt)
54017
54095
  }));
54018
54096
  const emit2 = __emit;
54019
54097
  const slots = vue.useSlots();
@@ -54098,7 +54176,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
54098
54176
  vue.watch(
54099
54177
  () => computedData.value.length,
54100
54178
  (newLength, oldLength) => {
54101
- if (newLength === oldLength) return;
54179
+ if (newLength === oldLength || __props.onLastItemVisible !== void 0) return;
54102
54180
  scrollTo(0);
54103
54181
  }
54104
54182
  );
@@ -54130,6 +54208,18 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
54130
54208
  const value = event.target.checked;
54131
54209
  selectedItems.value = value ? computedData.value.map((d2) => d2.id) : [];
54132
54210
  }
54211
+ const lastItem = vue.ref();
54212
+ let observer;
54213
+ vue.onMounted(() => {
54214
+ if (__props.onLastItemVisible === void 0) return;
54215
+ observer = new IntersectionObserver(([entry]) => {
54216
+ if (entry.isIntersecting && computedData.value.length) __props.onLastItemVisible();
54217
+ });
54218
+ if (lastItem.value) observer.observe(lastItem.value);
54219
+ });
54220
+ vue.onUnmounted(() => {
54221
+ observer == null ? void 0 : observer.disconnect();
54222
+ });
54133
54223
  return (_ctx, _cache) => {
54134
54224
  return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({ class: "table-list-wrap h-100" }, vue.unref(containerProps), {
54135
54225
  class: { "loading-table": loading.value }
@@ -54200,7 +54290,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
54200
54290
  row,
54201
54291
  field
54202
54292
  }, void 0, true) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_10$1, [
54203
- vue.createVNode(vue.unref(_sfc_main$K), {
54293
+ vue.createVNode(vue.unref(_sfc_main$L), {
54204
54294
  class: "embedded-field",
54205
54295
  field,
54206
54296
  modelValue: row,
@@ -54210,7 +54300,12 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
54210
54300
  ]);
54211
54301
  }), 128))
54212
54302
  ], 10, _hoisted_7$1);
54213
- }), 128))
54303
+ }), 128)),
54304
+ _ctx.onLastItemVisible !== void 0 ? (vue.openBlock(), vue.createElementBlock("tr", {
54305
+ key: 0,
54306
+ ref_key: "lastItem",
54307
+ ref: lastItem
54308
+ }, null, 512)) : vue.createCommentVNode("", true)
54214
54309
  ])
54215
54310
  ])
54216
54311
  ], 16))
@@ -54218,7 +54313,7 @@ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
54218
54313
  };
54219
54314
  }
54220
54315
  });
54221
- const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-692391a3"]]);
54316
+ const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-54f3c477"]]);
54222
54317
  const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
54223
54318
  __name: "Title",
54224
54319
  props: {
@@ -55348,7 +55443,7 @@ function frmRow(...children2) {
55348
55443
  function bglForm(idOrField, ...schema) {
55349
55444
  if (typeof idOrField === "string") {
55350
55445
  return {
55351
- $el: vue.markRaw(_sfc_main$J),
55446
+ $el: vue.markRaw(_sfc_main$K),
55352
55447
  id: idOrField,
55353
55448
  attrs: {
55354
55449
  schema: [idOrField, ...schema]
@@ -55356,7 +55451,7 @@ function bglForm(idOrField, ...schema) {
55356
55451
  };
55357
55452
  }
55358
55453
  return {
55359
- $el: vue.markRaw(_sfc_main$J),
55454
+ $el: vue.markRaw(_sfc_main$K),
55360
55455
  attrs: {
55361
55456
  schema: [idOrField, ...schema]
55362
55457
  }
@@ -55432,15 +55527,17 @@ function formatString(str, format2) {
55432
55527
  }
55433
55528
  return str;
55434
55529
  }
55435
- function debounce(func, wait) {
55436
- let timeoutId;
55530
+ function debounce(callback, wait, immediate) {
55531
+ let timeout;
55437
55532
  return function(...args) {
55438
- if (timeoutId) {
55439
- clearTimeout(timeoutId);
55440
- }
55441
- timeoutId = setTimeout(() => {
55442
- func(...args);
55443
- }, wait);
55533
+ const later = () => {
55534
+ timeout = void 0;
55535
+ if (!immediate) callback.apply(this, args);
55536
+ };
55537
+ const callNow = immediate && timeout === void 0;
55538
+ clearTimeout(timeout);
55539
+ timeout = setTimeout(later, wait);
55540
+ if (callNow) callback.apply(this, args);
55444
55541
  };
55445
55542
  }
55446
55543
  function keyToLabel(key) {
@@ -55481,7 +55578,8 @@ function iffer(field, itemData) {
55481
55578
  if (field["v-if"] === void 0) return true;
55482
55579
  if (typeof field["v-if"] === "boolean") return field["v-if"];
55483
55580
  if (typeof field["v-if"] === "string") return true;
55484
- if (typeof field["v-if"] === "function") return (_a2 = field["v-if"]) == null ? void 0 : _a2.call(field, itemData == null ? void 0 : itemData[field.id], itemData);
55581
+ if (typeof field["v-if"] === "function")
55582
+ return (_a2 = field["v-if"]) == null ? void 0 : _a2.call(field, itemData == null ? void 0 : itemData[field.id], itemData);
55485
55583
  return true;
55486
55584
  }
55487
55585
  function denullify(itemData, fieldID) {
@@ -55491,15 +55589,15 @@ function denullify(itemData, fieldID) {
55491
55589
  const isDate = (dateToTest) => !Number.isNaN(Date.parse(dateToTest));
55492
55590
  function getFallbackSchema(data2, showFields) {
55493
55591
  const keys4 = Array.from(new Set((data2 ?? []).flatMap(Object.keys)));
55494
- const schema = keys4.map(
55495
- (id) => ({
55496
- id,
55497
- label: keyToLabel(id)
55498
- })
55499
- );
55592
+ const schema = keys4.map((id) => ({
55593
+ id,
55594
+ label: keyToLabel(id)
55595
+ }));
55500
55596
  return showFields ? schema.filter((f2) => showFields.includes(f2.id) || !f2.id) : schema;
55501
55597
  }
55502
- const sleep = (ms = 100) => new Promise((resolve) => setTimeout(resolve, ms));
55598
+ function sleep(ms = 100) {
55599
+ return new Promise((resolve) => setTimeout(resolve, ms));
55600
+ }
55503
55601
  function appendScript(src) {
55504
55602
  return new Promise((resolve, reject3) => {
55505
55603
  if (document.querySelector(`script[src="${src}"]`)) {
@@ -55957,29 +56055,29 @@ const IMAGE_FORMATS = ["jpeg", "png", "webp", "avif", "apng", "gif", "avifs", "s
55957
56055
  const IMAGE_FORMATS_REGEXP = new RegExp(`(${IMAGE_FORMATS.join("|")})$`, "i");
55958
56056
  const VIDEO_FORMATS = ["mp4", "webm", "ogg", "mov", "avi", "flv", "wmv", "mkv", "ts", "m3u8"];
55959
56057
  const VIDEO_FORMATS_REGEXP = new RegExp(`(${VIDEO_FORMATS.join("|")})$`, "i");
55960
- exports.Accordion = _sfc_main$Y;
56058
+ exports.Accordion = _sfc_main$Z;
55961
56059
  exports.AccordionItem = AccordionItem;
55962
- exports.AddressSearch = _sfc_main$W;
56060
+ exports.AddressSearch = _sfc_main$X;
55963
56061
  exports.Alert = Alert;
55964
56062
  exports.Avatar = Avatar;
55965
56063
  exports.Badge = Badge;
55966
- exports.BagelForm = _sfc_main$J;
56064
+ exports.BagelForm = _sfc_main$K;
55967
56065
  exports.BagelVue = BagelVue;
55968
- exports.BglField = _sfc_main$K;
55969
- exports.BglForm = _sfc_main$J;
55970
- exports.BglMultiStepForm = _sfc_main$I;
56066
+ exports.BglField = _sfc_main$L;
56067
+ exports.BglForm = _sfc_main$K;
56068
+ exports.BglMultiStepForm = _sfc_main$J;
55971
56069
  exports.BglVideo = BglVideo;
55972
56070
  exports.BottomMenu = BottomMenu;
55973
56071
  exports.Btn = Btn;
55974
- exports.Card = _sfc_main$Q;
56072
+ exports.Card = _sfc_main$R;
55975
56073
  exports.Carousel = Carousel;
55976
56074
  exports.CheckInput = CheckInput;
55977
56075
  exports.Checkbox = Checkbox;
55978
- exports.ColorPicker = _sfc_main$F;
56076
+ exports.ColorPicker = _sfc_main$G;
55979
56077
  exports.DataPreview = DataPreview;
55980
- exports.DateInput = _sfc_main$E;
55981
- exports.DatePicker = _sfc_main$D;
55982
- exports.Dropdown = _sfc_main$M;
56078
+ exports.DateInput = _sfc_main$F;
56079
+ exports.DatePicker = _sfc_main$E;
56080
+ exports.Dropdown = _sfc_main$N;
55983
56081
  exports.FileUpload = $el;
55984
56082
  exports.Flag = Flag;
55985
56083
  exports.IMAGE_FORMATS = IMAGE_FORMATS;
@@ -55987,7 +56085,7 @@ exports.IMAGE_FORMATS_REGEXP = IMAGE_FORMATS_REGEXP;
55987
56085
  exports.Icon = _sfc_main$c;
55988
56086
  exports.JSONInput = JSONInput;
55989
56087
  exports.Layout = Layout;
55990
- exports.Lineart = _sfc_main$O;
56088
+ exports.Lineart = _sfc_main$P;
55991
56089
  exports.ListItem = _sfc_main$f;
55992
56090
  exports.ListView = ListView;
55993
56091
  exports.MapEmbed = _sfc_main$d;
@@ -55999,17 +56097,18 @@ exports.ModalPlugin = ModalPlugin;
55999
56097
  exports.NavBar = NavBar;
56000
56098
  exports.OTP = OTP;
56001
56099
  exports.PageTitle = _sfc_main$7;
56002
- exports.PasswordInput = _sfc_main$z;
56100
+ exports.PasswordInput = _sfc_main$A;
56003
56101
  exports.Pill = Pill;
56004
56102
  exports.RadioGroup = RadioGroup;
56005
56103
  exports.RadioPillsInput = RadioPillsInput;
56006
56104
  exports.RangeInput = RangeInput;
56007
- exports.RichText = _sfc_main$v;
56105
+ exports.RichText = _sfc_main$w;
56008
56106
  exports.RichText2 = index$1;
56009
56107
  exports.RouterWrapper = RouterWrapper;
56010
56108
  exports.SelectInput = SelectInput;
56011
56109
  exports.SidebarMenu = SidebarMenu;
56012
- exports.SignaturePad = _sfc_main$r;
56110
+ exports.SignaturePad = _sfc_main$s;
56111
+ exports.Skeleton = Skeleton;
56013
56112
  exports.TabbedLayout = TabbedLayout;
56014
56113
  exports.TableField = TableField;
56015
56114
  exports.TableSchema = TableSchema;