@bagelink/vue 0.0.1100 → 0.0.1104

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
@@ -47,7 +47,7 @@ const bagelFormUtils = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defi
47
47
  return uploadField;
48
48
  }
49
49
  }, Symbol.toStringTag, { value: "Module" }));
50
- const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
50
+ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
51
51
  __name: "Accordion",
52
52
  setup(__props) {
53
53
  const state2 = vue.reactive({
@@ -61,10 +61,10 @@ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
61
61
  };
62
62
  }
63
63
  });
64
- const _hoisted_1$W = ["aria-expanded", "aria-controls"];
65
- const _hoisted_2$C = { class: "accordion-label" };
66
- const _hoisted_3$s = ["id", "aria-hidden"];
67
- const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
64
+ const _hoisted_1$X = ["aria-expanded", "aria-controls"];
65
+ const _hoisted_2$D = { class: "accordion-label" };
66
+ const _hoisted_3$t = ["id", "aria-hidden"];
67
+ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
68
68
  __name: "AccordionItem",
69
69
  props: {
70
70
  label: {},
@@ -130,7 +130,7 @@ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
130
130
  vue.createVNode(vue.unref(_sfc_main$d), { icon: computedIcon.value }, null, 8, ["icon"])
131
131
  ], 2)) : vue.createCommentVNode("", true),
132
132
  vue.renderSlot(_ctx.$slots, "head", {}, () => [
133
- vue.createElementVNode("span", _hoisted_2$C, vue.toDisplayString(_ctx.label), 1)
133
+ vue.createElementVNode("span", _hoisted_2$D, vue.toDisplayString(_ctx.label), 1)
134
134
  ], true),
135
135
  iconPosition.value === "end" ? (vue.openBlock(), vue.createElementBlock("span", {
136
136
  key: 1,
@@ -138,7 +138,7 @@ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
138
138
  }, [
139
139
  vue.createVNode(vue.unref(_sfc_main$d), { icon: computedIcon.value }, null, 8, ["icon"])
140
140
  ], 2)) : vue.createCommentVNode("", true)
141
- ], 8, _hoisted_1$W),
141
+ ], 8, _hoisted_1$X),
142
142
  vue.createVNode(vue.Transition, { name: "expand" }, {
143
143
  default: vue.withCtx(() => [
144
144
  vue.unref(isOpen) ? (vue.openBlock(), vue.createElementBlock("div", {
@@ -148,7 +148,7 @@ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
148
148
  "aria-hidden": vue.unref(isOpen) ? "false" : "true"
149
149
  }, [
150
150
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
151
- ], 8, _hoisted_3$s)) : vue.createCommentVNode("", true)
151
+ ], 8, _hoisted_3$t)) : vue.createCommentVNode("", true)
152
152
  ]),
153
153
  _: 3
154
154
  })
@@ -163,9 +163,9 @@ const _export_sfc = (sfc, props2) => {
163
163
  }
164
164
  return target;
165
165
  };
166
- const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-1e73ca3e"]]);
167
- const _hoisted_1$V = { class: "relative" };
168
- const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
166
+ const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-1e73ca3e"]]);
167
+ const _hoisted_1$W = { class: "relative" };
168
+ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
169
169
  __name: "AddressSearch",
170
170
  emits: ["addressSelected"],
171
171
  setup(__props, { emit: __emit }) {
@@ -187,8 +187,8 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
187
187
  (_a2 = suggestion.value) == null ? void 0 : _a2.show();
188
188
  }
189
189
  return (_ctx, _cache) => {
190
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$V, [
191
- vue.createVNode(vue.unref(_sfc_main$W), {
190
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$W, [
191
+ vue.createVNode(vue.unref(_sfc_main$X), {
192
192
  ref_key: "suggestion",
193
193
  ref: suggestion,
194
194
  noAutoFocus: true,
@@ -223,11 +223,11 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
223
223
  };
224
224
  }
225
225
  });
226
- const _hoisted_1$U = {
226
+ const _hoisted_1$V = {
227
227
  key: 1,
228
228
  class: "bgl_btn-flex"
229
229
  };
230
- const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
230
+ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
231
231
  __name: "Btn",
232
232
  props: {
233
233
  disabled: { type: Boolean, default: false },
@@ -292,7 +292,7 @@ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
292
292
  _ctx.loading ? (vue.openBlock(), vue.createBlock(vue.unref(Loading), {
293
293
  key: 0,
294
294
  size: "15"
295
- })) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$U, [
295
+ })) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$V, [
296
296
  _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$d), {
297
297
  key: 0,
298
298
  icon: _ctx.icon
@@ -314,10 +314,10 @@ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
314
314
  };
315
315
  }
316
316
  });
317
- const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-c23a3626"]]);
318
- const _hoisted_1$T = ["dismissable"];
319
- const _hoisted_2$B = { class: "m-0" };
320
- const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
317
+ const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-c23a3626"]]);
318
+ const _hoisted_1$U = ["dismissable"];
319
+ const _hoisted_2$C = { class: "m-0" };
320
+ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
321
321
  __name: "Alert",
322
322
  props: {
323
323
  message: {},
@@ -345,7 +345,7 @@ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
345
345
  size: 2,
346
346
  color: color2[_ctx.type]
347
347
  }, null, 8, ["icon", "color"])) : vue.createCommentVNode("", true),
348
- vue.createElementVNode("p", _hoisted_2$B, vue.toDisplayString(_ctx.message), 1),
348
+ vue.createElementVNode("p", _hoisted_2$C, vue.toDisplayString(_ctx.message), 1),
349
349
  vue.createVNode(Btn, {
350
350
  flat: "",
351
351
  thin: "",
@@ -353,13 +353,13 @@ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
353
353
  icon: "close",
354
354
  onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
355
355
  })
356
- ], 10, _hoisted_1$T)) : vue.createCommentVNode("", true);
356
+ ], 10, _hoisted_1$U)) : vue.createCommentVNode("", true);
357
357
  };
358
358
  }
359
359
  });
360
- const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-57141c32"]]);
361
- const _hoisted_1$S = ["src", "alt"];
362
- const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
360
+ const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-57141c32"]]);
361
+ const _hoisted_1$T = ["src", "alt"];
362
+ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
363
363
  __name: "Avatar",
364
364
  props: {
365
365
  fallback: {},
@@ -377,7 +377,7 @@ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
377
377
  key: 0,
378
378
  src: _ctx.src,
379
379
  alt: _ctx.name
380
- }, null, 8, _hoisted_1$S)) : (vue.openBlock(), vue.createElementBlock("p", {
380
+ }, null, 8, _hoisted_1$T)) : (vue.openBlock(), vue.createElementBlock("p", {
381
381
  key: 1,
382
382
  style: vue.normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
383
383
  }, vue.toDisplayString((_ctx.fallback || vue.unref(initials)(_ctx.name || "")).toUpperCase()), 5))
@@ -385,8 +385,8 @@ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
385
385
  };
386
386
  }
387
387
  });
388
- const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-46ad8c25"]]);
389
- const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
388
+ const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-46ad8c25"]]);
389
+ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
390
390
  __name: "Badge",
391
391
  props: {
392
392
  color: {},
@@ -415,9 +415,9 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
415
415
  };
416
416
  }
417
417
  });
418
- const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-2f3caf93"]]);
419
- const _hoisted_1$R = { key: 1 };
420
- const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
418
+ const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-2f3caf93"]]);
419
+ const _hoisted_1$S = { key: 1 };
420
+ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
421
421
  __name: "BglComponent",
422
422
  props: {
423
423
  field: {},
@@ -437,16 +437,16 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
437
437
  return TextInput;
438
438
  }
439
439
  if (props2.field.$el === "number") return NumberInput;
440
- if (props2.field.$el === "array") return _sfc_main$P;
440
+ if (props2.field.$el === "array") return _sfc_main$Q;
441
441
  if (props2.field.$el === "select") return SelectInput;
442
442
  if (props2.field.$el === "toggle") return ToggleInput;
443
443
  if (props2.field.$el === "check") return CheckInput;
444
444
  if (props2.field.$el === "richtext") return RichText;
445
445
  if (props2.field.$el === "upload") return UploadInput;
446
446
  if (props2.field.$el === "file") return FileUpload;
447
- if (props2.field.$el === "date") return _sfc_main$K;
447
+ if (props2.field.$el === "date") return _sfc_main$L;
448
448
  if (props2.field.$el === "tabs") return TabsNav;
449
- if (props2.field.$el === "form") return _sfc_main$R;
449
+ if (props2.field.$el === "form") return _sfc_main$S;
450
450
  return props2.field.$el ?? "div";
451
451
  });
452
452
  function getFieldData(path) {
@@ -563,7 +563,7 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
563
563
  id: [props2.id, child.id].filter(Boolean).join("."),
564
564
  field: child,
565
565
  "parent-path": props2.id
566
- }, null, 8, ["id", "field", "parent-path"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$R, vue.toDisplayString(child), 1))
566
+ }, null, 8, ["id", "field", "parent-path"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$S, vue.toDisplayString(child), 1))
567
567
  ], 64);
568
568
  }), 128))
569
569
  ], 64))
@@ -573,10 +573,10 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
573
573
  };
574
574
  }
575
575
  });
576
- const _hoisted_1$Q = ["src"];
577
- const _hoisted_2$A = ["autoplay", "muted", "loop", "controls", "playsinline"];
578
- const _hoisted_3$r = ["src", "type"];
579
- const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
576
+ const _hoisted_1$R = ["src"];
577
+ const _hoisted_2$B = ["autoplay", "muted", "loop", "controls", "playsinline"];
578
+ const _hoisted_3$s = ["src", "type"];
579
+ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
580
580
  __name: "BglVideo",
581
581
  props: {
582
582
  src: {},
@@ -653,7 +653,7 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
653
653
  allowfullscreen: "",
654
654
  title: "Video",
655
655
  allow: "autoplay"
656
- }, null, 12, _hoisted_1$Q)) : _ctx.src ? (vue.openBlock(), vue.createElementBlock("video", {
656
+ }, null, 12, _hoisted_1$R)) : _ctx.src ? (vue.openBlock(), vue.createElementBlock("video", {
657
657
  key: 1,
658
658
  ref_key: "video",
659
659
  ref: video,
@@ -667,18 +667,18 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
667
667
  vue.createElementVNode("source", {
668
668
  src: _ctx.src,
669
669
  type: `video/${videoFormat.value}`
670
- }, null, 8, _hoisted_3$r)
671
- ], 12, _hoisted_2$A)) : vue.createCommentVNode("", true)
670
+ }, null, 8, _hoisted_3$s)
671
+ ], 12, _hoisted_2$B)) : vue.createCommentVNode("", true)
672
672
  ], 2);
673
673
  };
674
674
  }
675
675
  });
676
- const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-006552f6"]]);
677
- const _hoisted_1$P = {
676
+ const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-006552f6"]]);
677
+ const _hoisted_1$Q = {
678
678
  key: 0,
679
679
  class: "card_label"
680
680
  };
681
- const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
681
+ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
682
682
  __name: "Card",
683
683
  props: {
684
684
  label: {},
@@ -707,7 +707,7 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
707
707
  }])
708
708
  }, {
709
709
  default: vue.withCtx(() => [
710
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$P, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
710
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$Q, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
711
711
  vue.renderSlot(_ctx.$slots, "default")
712
712
  ]),
713
713
  _: 3
@@ -717,18 +717,18 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
717
717
  };
718
718
  }
719
719
  });
720
- const _hoisted_1$O = ["dir"];
721
- const _hoisted_2$z = {
720
+ const _hoisted_1$P = ["dir"];
721
+ const _hoisted_2$A = {
722
722
  key: 0,
723
723
  class: "blocker"
724
724
  };
725
- const _hoisted_3$q = {
725
+ const _hoisted_3$r = {
726
726
  key: 0,
727
727
  class: "dots flex-center gap-05 mt-1"
728
728
  };
729
- const _hoisted_4$i = ["onClick"];
730
- const _hoisted_5$h = { class: "Handlers" };
731
- const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
729
+ const _hoisted_4$j = ["onClick"];
730
+ const _hoisted_5$i = { class: "Handlers" };
731
+ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
732
732
  __name: "Carousel",
733
733
  props: {
734
734
  autoHeight: { type: Boolean, default: false },
@@ -906,19 +906,19 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
906
906
  onMouseover: clearAutoplay,
907
907
  onFocusin: clearAutoplay
908
908
  }, [
909
- vue.unref(isDragging) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$z)) : vue.createCommentVNode("", true),
909
+ vue.unref(isDragging) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$A)) : vue.createCommentVNode("", true),
910
910
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
911
911
  ], 38),
912
- __props.dots && vue.unref(slideCount) > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$q, [
912
+ __props.dots && vue.unref(slideCount) > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$r, [
913
913
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(slideCount), (i2) => {
914
914
  return vue.openBlock(), vue.createElementBlock("span", {
915
915
  key: i2,
916
916
  class: vue.normalizeClass(["dot cursor", { current: vue.unref(activeSlideIndex) === i2 - 1 }]),
917
917
  onClick: ($event) => goToSlide(i2 - 1)
918
- }, null, 10, _hoisted_4$i);
918
+ }, null, 10, _hoisted_4$j);
919
919
  }), 128))
920
920
  ])) : vue.createCommentVNode("", true),
921
- vue.createElementVNode("div", _hoisted_5$h, [
921
+ vue.createElementVNode("div", _hoisted_5$i, [
922
922
  vue.createElementVNode("span", { onClick: prev }, [
923
923
  vue.renderSlot(_ctx.$slots, "prev", {
924
924
  index: vue.unref(activeSlideIndex),
@@ -932,11 +932,11 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
932
932
  }, void 0, true)
933
933
  ])
934
934
  ])
935
- ], 14, _hoisted_1$O);
935
+ ], 14, _hoisted_1$P);
936
936
  };
937
937
  }
938
938
  });
939
- const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-063b5ad9"]]);
939
+ const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-063b5ad9"]]);
940
940
  function _isPlaceholder(a2) {
941
941
  return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
942
942
  }
@@ -5847,7 +5847,7 @@ const _hoisted_4$2$1 = {
5847
5847
  };
5848
5848
  const _hoisted_5$2$1 = ["x1", "y1", "x2", "y2"];
5849
5849
  const _hoisted_6$2$1 = ["x1", "y1", "x2", "y2"];
5850
- const _hoisted_7$9 = ["x1", "y1", "x2", "y2"];
5850
+ const _hoisted_7$a = ["x1", "y1", "x2", "y2"];
5851
5851
  function render$5(_ctx, _cache, $props, $setup, $data, $options) {
5852
5852
  return _ctx.data.length ? (vue.openBlock(), vue.createElementBlock("g", {
5853
5853
  key: 0,
@@ -5903,7 +5903,7 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
5903
5903
  y1: _ctx.canvas.y,
5904
5904
  x2: _ctx.canvas.width - 1,
5905
5905
  y2: _ctx.canvas.height
5906
- }, null, 8, _hoisted_7$9)
5906
+ }, null, 8, _hoisted_7$a)
5907
5907
  ])
5908
5908
  ], 8, _hoisted_1$4$1)) : vue.createCommentVNode("v-if", true);
5909
5909
  }
@@ -6770,10 +6770,10 @@ const _hoisted_1$1$1 = {
6770
6770
  style: { display: "flex", position: "relative" }
6771
6771
  };
6772
6772
  const _hoisted_2$1$1 = ["width", "height", "viewBox"];
6773
- const _hoisted_3$p = { class: "layer-rectangles" };
6774
- const _hoisted_4$h = ["transform", "onMouseover"];
6775
- const _hoisted_5$g = ["width", "height"];
6776
- const _hoisted_6$d = {
6773
+ const _hoisted_3$q = { class: "layer-rectangles" };
6774
+ const _hoisted_4$i = ["transform", "onMouseover"];
6775
+ const _hoisted_5$h = ["width", "height"];
6776
+ const _hoisted_6$e = {
6777
6777
  x: 0 + 10,
6778
6778
  y: 0 + 20,
6779
6779
  "font-size": `15px`,
@@ -6788,7 +6788,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
6788
6788
  viewBox: `0 0 ${_ctx.size.width} ${_ctx.size.height}`,
6789
6789
  ref: "el"
6790
6790
  }, [
6791
- vue.createElementVNode("g", _hoisted_3$p, [
6791
+ vue.createElementVNode("g", _hoisted_3$q, [
6792
6792
  (vue.openBlock(true), vue.createElementBlock(
6793
6793
  vue.Fragment,
6794
6794
  null,
@@ -6809,21 +6809,21 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
6809
6809
  y: 0,
6810
6810
  width: r2.width,
6811
6811
  height: r2.height
6812
- }), null, 16, _hoisted_5$g),
6812
+ }), null, 16, _hoisted_5$h),
6813
6813
  vue.renderSlot(_ctx.$slots, "text", {
6814
6814
  r: r2,
6815
6815
  selected: _ctx.selected === i2
6816
6816
  }, () => [
6817
6817
  vue.createElementVNode(
6818
6818
  "text",
6819
- _hoisted_6$d,
6819
+ _hoisted_6$e,
6820
6820
  vue.toDisplayString(r2.data.name),
6821
6821
  1
6822
6822
  /* TEXT */
6823
6823
  )
6824
6824
  ])
6825
6825
  ])
6826
- ], 42, _hoisted_4$h);
6826
+ ], 42, _hoisted_4$i);
6827
6827
  }),
6828
6828
  128
6829
6829
  /* KEYED_FRAGMENT */
@@ -6880,25 +6880,25 @@ var script = vue.defineComponent({
6880
6880
  return { bar, canvas, direction, mouse };
6881
6881
  }
6882
6882
  });
6883
- const _hoisted_1$N = {
6883
+ const _hoisted_1$O = {
6884
6884
  key: 0,
6885
6885
  class: "layer-hover-bar"
6886
6886
  };
6887
- const _hoisted_2$y = ["x", "y", "width", "height"];
6887
+ const _hoisted_2$z = ["x", "y", "width", "height"];
6888
6888
  function render(_ctx, _cache, $props, $setup, $data, $options) {
6889
- return _ctx.mouse.hover ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$N, [
6889
+ return _ctx.mouse.hover ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$O, [
6890
6890
  vue.createElementVNode("rect", vue.mergeProps({ class: "hover-bar" }, _ctx.barStyle, {
6891
6891
  x: _ctx.bar.x,
6892
6892
  y: _ctx.bar.y,
6893
6893
  width: _ctx.bar.width > 0 ? _ctx.bar.width : 0,
6894
6894
  height: _ctx.bar.height > 0 ? _ctx.bar.height : 0
6895
- }), null, 16, _hoisted_2$y)
6895
+ }), null, 16, _hoisted_2$z)
6896
6896
  ])) : vue.createCommentVNode("v-if", true);
6897
6897
  }
6898
6898
  script.render = render;
6899
6899
  script.__file = "src/components/HoverBar/index.vue";
6900
6900
  const BRAND_COLOR = "var(--bgl-primary)";
6901
- const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
6901
+ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
6902
6902
  __name: "Lineart",
6903
6903
  props: {
6904
6904
  data: {},
@@ -7038,28 +7038,28 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
7038
7038
  };
7039
7039
  }
7040
7040
  });
7041
- const _hoisted_1$M = {
7041
+ const _hoisted_1$N = {
7042
7042
  key: 0,
7043
7043
  class: "data"
7044
7044
  };
7045
- const _hoisted_2$x = {
7045
+ const _hoisted_2$y = {
7046
7046
  key: 0,
7047
7047
  class: "data-row m_py-05"
7048
7048
  };
7049
- const _hoisted_3$o = { class: "key" };
7050
- const _hoisted_4$g = { class: "m-0" };
7051
- const _hoisted_5$f = { key: 1 };
7052
- const _hoisted_6$c = {
7049
+ const _hoisted_3$p = { class: "key" };
7050
+ const _hoisted_4$h = { class: "m-0" };
7051
+ const _hoisted_5$g = { key: 1 };
7052
+ const _hoisted_6$d = {
7053
7053
  key: 0,
7054
7054
  class: "data-row"
7055
7055
  };
7056
- const _hoisted_7$8 = { class: "key" };
7057
- const _hoisted_8$5 = { class: "m-0" };
7058
- const _hoisted_9$4 = {
7056
+ const _hoisted_7$9 = { class: "key" };
7057
+ const _hoisted_8$6 = { class: "m-0" };
7058
+ const _hoisted_9$5 = {
7059
7059
  key: 0,
7060
7060
  class: "m-0"
7061
7061
  };
7062
- const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
7062
+ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
7063
7063
  __name: "DataPreview",
7064
7064
  props: /* @__PURE__ */ vue.mergeModels({
7065
7065
  showFields: {},
@@ -7095,7 +7095,7 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
7095
7095
  const computedSchema = vue.computed(() => getFallbackSchema([itemData.value], props2.showFields));
7096
7096
  return (_ctx, _cache) => {
7097
7097
  var _a2;
7098
- return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$M, [
7098
+ return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$N, [
7099
7099
  _ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$4), {
7100
7100
  key: 0,
7101
7101
  label: _ctx.title
@@ -7104,11 +7104,11 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
7104
7104
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
7105
7105
  key: field.id
7106
7106
  }, [
7107
- vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$x, [
7108
- vue.createElementVNode("div", _hoisted_3$o, [
7109
- vue.createElementVNode("p", _hoisted_4$g, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1)
7107
+ vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$y, [
7108
+ vue.createElementVNode("div", _hoisted_3$p, [
7109
+ vue.createElementVNode("p", _hoisted_4$h, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1)
7110
7110
  ]),
7111
- vue.createVNode(vue.unref(_sfc_main$S), {
7111
+ vue.createVNode(vue.unref(_sfc_main$T), {
7112
7112
  modelValue: itemData.value,
7113
7113
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => itemData.value = $event),
7114
7114
  label: "",
@@ -7118,15 +7118,15 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
7118
7118
  ])) : vue.createCommentVNode("", true)
7119
7119
  ], 64);
7120
7120
  }), 128)),
7121
- !((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$f, [
7121
+ !((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$g, [
7122
7122
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, ({ id, label }) => {
7123
7123
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: id }, [
7124
- !isUnset(itemData.value[id]) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$c, [
7125
- vue.createElementVNode("div", _hoisted_7$8, [
7126
- vue.createElementVNode("p", _hoisted_8$5, vue.toDisplayString(label), 1)
7124
+ !isUnset(itemData.value[id]) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$d, [
7125
+ vue.createElementVNode("div", _hoisted_7$9, [
7126
+ vue.createElementVNode("p", _hoisted_8$6, vue.toDisplayString(label), 1)
7127
7127
  ]),
7128
7128
  vue.createElementVNode("div", null, [
7129
- id ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_9$4, vue.toDisplayString(dataTransform(itemData.value[id])), 1)) : vue.createCommentVNode("", true)
7129
+ id ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_9$5, vue.toDisplayString(dataTransform(itemData.value[id])), 1)) : vue.createCommentVNode("", true)
7130
7130
  ])
7131
7131
  ])) : vue.createCommentVNode("", true)
7132
7132
  ], 64);
@@ -7137,7 +7137,7 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
7137
7137
  };
7138
7138
  }
7139
7139
  });
7140
- const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-6c27f163"]]);
7140
+ const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-6c27f163"]]);
7141
7141
  const sides = ["top", "right", "bottom", "left"];
7142
7142
  const alignments = ["start", "end"];
7143
7143
  const placements = /* @__PURE__ */ sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
@@ -9684,7 +9684,7 @@ const Gt$1 = {
9684
9684
  install: Ct$1,
9685
9685
  options: h
9686
9686
  };
9687
- const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
9687
+ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
9688
9688
  __name: "Dropdown",
9689
9689
  props: /* @__PURE__ */ vue.mergeModels({
9690
9690
  value: {},
@@ -9711,15 +9711,17 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
9711
9711
  setup(__props, { expose: __expose, emit: __emit }) {
9712
9712
  const emit2 = __emit;
9713
9713
  const ddownRef = vue.ref();
9714
+ const triggerRef = vue.ref();
9714
9715
  const shown = vue.useModel(__props, "shown");
9715
9716
  const show = () => {
9716
9717
  var _a2;
9717
9718
  return (_a2 = ddownRef.value) == null ? void 0 : _a2.show();
9718
9719
  };
9719
- const hide = () => {
9720
- var _a2;
9721
- return (_a2 = ddownRef.value) == null ? void 0 : _a2.hide();
9722
- };
9720
+ function hide() {
9721
+ var _a2, _b;
9722
+ (_a2 = triggerRef.value) == null ? void 0 : _a2.focus();
9723
+ (_b = ddownRef.value) == null ? void 0 : _b.hide();
9724
+ }
9723
9725
  __expose({ show, hide, shown });
9724
9726
  return (_ctx, _cache) => {
9725
9727
  return vue.openBlock(), vue.createBlock(vue.unref(kt$1), {
@@ -9740,6 +9742,10 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
9740
9742
  })
9741
9743
  ]),
9742
9744
  default: vue.withCtx(() => [
9745
+ vue.createElementVNode("div", {
9746
+ ref_key: "triggerRef",
9747
+ ref: triggerRef
9748
+ }, null, 512),
9743
9749
  vue.renderSlot(_ctx.$slots, "trigger", {}, () => [
9744
9750
  vue.createVNode(vue.unref(Btn), {
9745
9751
  class: vue.normalizeClass(_ctx.triggerClass),
@@ -9756,9 +9762,9 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
9756
9762
  };
9757
9763
  }
9758
9764
  });
9759
- const _hoisted_1$L = { class: "px-1 pt-025 pb-1" };
9760
- const _hoisted_2$w = { class: "ms-1" };
9761
- const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
9765
+ const _hoisted_1$M = { class: "px-1 pt-025 pb-1" };
9766
+ const _hoisted_2$x = { class: "ms-1" };
9767
+ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
9762
9768
  __name: "FieldSetVue",
9763
9769
  props: {
9764
9770
  label: {},
@@ -9766,15 +9772,15 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
9766
9772
  },
9767
9773
  setup(__props) {
9768
9774
  return (_ctx, _cache) => {
9769
- return vue.openBlock(), vue.createElementBlock("fieldset", _hoisted_1$L, [
9770
- vue.createElementVNode("legend", _hoisted_2$w, vue.toDisplayString(_ctx.legend || _ctx.label), 1),
9775
+ return vue.openBlock(), vue.createElementBlock("fieldset", _hoisted_1$M, [
9776
+ vue.createElementVNode("legend", _hoisted_2$x, vue.toDisplayString(_ctx.legend || _ctx.label), 1),
9771
9777
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
9772
9778
  ]);
9773
9779
  };
9774
9780
  }
9775
9781
  });
9776
- const FieldSetVue = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-f7e758e5"]]);
9777
- const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
9782
+ const FieldSetVue = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-f7e758e5"]]);
9783
+ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
9778
9784
  __name: "Flag",
9779
9785
  props: {
9780
9786
  country: {},
@@ -9804,7 +9810,92 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
9804
9810
  };
9805
9811
  }
9806
9812
  });
9807
- const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-f99f1900"]]);
9813
+ const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-f99f1900"]]);
9814
+ const FORM_STATE_KEY = Symbol("bagelFormState");
9815
+ function safeClone(obj) {
9816
+ if (obj === null || typeof obj !== "object") return obj;
9817
+ const seen = /* @__PURE__ */ new WeakSet();
9818
+ return JSON.parse(JSON.stringify(obj, (key, value) => {
9819
+ if (typeof value === "object" && value !== null) {
9820
+ if (seen.has(value)) {
9821
+ return void 0;
9822
+ }
9823
+ seen.add(value);
9824
+ }
9825
+ return value;
9826
+ }));
9827
+ }
9828
+ function provideBagelFormState(initialData) {
9829
+ const data2 = vue.ref(initialData);
9830
+ const isDirty = vue.ref(false);
9831
+ const getFieldData = (path) => {
9832
+ if (!path) return "";
9833
+ const keys4 = path.split(/[.[]/);
9834
+ let current = data2.value;
9835
+ for (let i2 = 0; i2 < keys4.length; i2++) {
9836
+ const key = keys4[i2];
9837
+ if (!current || typeof current !== "object" || !(key in current)) {
9838
+ return "";
9839
+ }
9840
+ current = current[key];
9841
+ }
9842
+ return current ?? "";
9843
+ };
9844
+ const updateField = (path, value) => {
9845
+ const keys4 = path.split(/[.[]/);
9846
+ if (typeof data2.value !== "object" || data2.value === null) {
9847
+ data2.value = {};
9848
+ }
9849
+ let current = data2.value;
9850
+ for (let i2 = 0; i2 < keys4.length - 1; i2++) {
9851
+ const key = keys4[i2];
9852
+ if (!(key in current) || typeof current[key] !== "object" || current[key] === null) {
9853
+ current[key] = {};
9854
+ }
9855
+ current = current[key];
9856
+ }
9857
+ const safeValue = safeClone(value);
9858
+ current[keys4[keys4.length - 1]] = safeValue;
9859
+ isDirty.value = true;
9860
+ };
9861
+ const state2 = {
9862
+ data: data2,
9863
+ getFieldData,
9864
+ updateField,
9865
+ isDirty
9866
+ };
9867
+ vue.provide(FORM_STATE_KEY, state2);
9868
+ return state2;
9869
+ }
9870
+ function useBagelFormState() {
9871
+ const state2 = vue.inject(FORM_STATE_KEY);
9872
+ if (!state2) throw new Error("BagelFormState must be provided");
9873
+ return state2;
9874
+ }
9875
+ function useFormField(props2) {
9876
+ const formState = vue.inject(FORM_STATE_KEY);
9877
+ const fieldData = vue.computed({
9878
+ get: () => {
9879
+ if (!props2.fieldID || !formState) return props2.modelValue ?? props2.field.defaultValue ?? "";
9880
+ const value = formState.getFieldData(props2.fieldID);
9881
+ if (props2.field.$el === "form" && !value) return {};
9882
+ return value ?? "";
9883
+ },
9884
+ set: (val) => {
9885
+ if (!props2.fieldID || !formState) return;
9886
+ const currentValue = formState.getFieldData(props2.fieldID);
9887
+ if (JSON.stringify(val) === JSON.stringify(currentValue)) return;
9888
+ if (props2.field.onUpdate) {
9889
+ props2.field.onUpdate(val, currentValue);
9890
+ }
9891
+ formState.updateField(props2.fieldID, val);
9892
+ }
9893
+ });
9894
+ return {
9895
+ fieldData,
9896
+ formState
9897
+ };
9898
+ }
9808
9899
  const state$1 = vue.reactive(/* @__PURE__ */ new Map());
9809
9900
  function useTabs(group) {
9810
9901
  if (!state$1.has(group)) {
@@ -9818,8 +9909,8 @@ function useTabs(group) {
9818
9909
  });
9819
9910
  return { currentTab };
9820
9911
  }
9821
- const _hoisted_1$K = ["onClick"];
9822
- const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
9912
+ const _hoisted_1$L = ["onClick"];
9913
+ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
9823
9914
  __name: "TabsNav",
9824
9915
  props: {
9825
9916
  title: {},
@@ -9901,77 +9992,16 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
9901
9992
  icon: tab.icon
9902
9993
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
9903
9994
  vue.createTextVNode(" " + vue.toDisplayString(tabLabel(tab)), 1)
9904
- ], 10, _hoisted_1$K);
9995
+ ], 10, _hoisted_1$L);
9905
9996
  }), 128))
9906
9997
  ], true)
9907
9998
  ], 2);
9908
9999
  };
9909
10000
  }
9910
10001
  });
9911
- const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-307612a9"]]);
9912
- const FORM_STATE_KEY = Symbol("bagelFormState");
9913
- function safeClone(obj) {
9914
- if (obj === null || typeof obj !== "object") return obj;
9915
- const seen = /* @__PURE__ */ new WeakSet();
9916
- return JSON.parse(JSON.stringify(obj, (key, value) => {
9917
- if (typeof value === "object" && value !== null) {
9918
- if (seen.has(value)) {
9919
- return void 0;
9920
- }
9921
- seen.add(value);
9922
- }
9923
- return value;
9924
- }));
9925
- }
9926
- function provideBagelFormState(initialData) {
9927
- const data2 = vue.ref(initialData);
9928
- const isDirty = vue.ref(false);
9929
- const getFieldData = (path) => {
9930
- if (!path) return "";
9931
- const keys4 = path.split(/[.[]/);
9932
- let current = data2.value;
9933
- for (let i2 = 0; i2 < keys4.length; i2++) {
9934
- const key = keys4[i2];
9935
- if (!current || typeof current !== "object" || !(key in current)) {
9936
- return "";
9937
- }
9938
- current = current[key];
9939
- }
9940
- return current ?? "";
9941
- };
9942
- const updateField = (path, value) => {
9943
- const keys4 = path.split(/[.[]/);
9944
- if (typeof data2.value !== "object" || data2.value === null) {
9945
- data2.value = {};
9946
- }
9947
- let current = data2.value;
9948
- for (let i2 = 0; i2 < keys4.length - 1; i2++) {
9949
- const key = keys4[i2];
9950
- if (!(key in current) || typeof current[key] !== "object" || current[key] === null) {
9951
- current[key] = {};
9952
- }
9953
- current = current[key];
9954
- }
9955
- const safeValue = safeClone(value);
9956
- current[keys4[keys4.length - 1]] = safeValue;
9957
- isDirty.value = true;
9958
- };
9959
- const state2 = {
9960
- data: data2,
9961
- getFieldData,
9962
- updateField,
9963
- isDirty
9964
- };
9965
- vue.provide(FORM_STATE_KEY, state2);
9966
- return state2;
9967
- }
9968
- function useBagelFormState() {
9969
- const state2 = vue.inject(FORM_STATE_KEY);
9970
- if (!state2) throw new Error("BagelFormState must be provided");
9971
- return state2;
9972
- }
9973
- const _hoisted_1$J = { key: 1 };
9974
- const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
10002
+ const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-307612a9"]]);
10003
+ const _hoisted_1$K = { key: 1 };
10004
+ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
9975
10005
  __name: "BglField",
9976
10006
  props: {
9977
10007
  field: {},
@@ -9982,8 +10012,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
9982
10012
  emits: ["update:modelValue"],
9983
10013
  setup(__props, { emit: __emit }) {
9984
10014
  const props2 = __props;
9985
- const emit2 = __emit;
9986
- const formState = vue.inject(FORM_STATE_KEY) ?? provideBagelFormState(props2.modelValue);
10015
+ const { fieldData } = useFormField(props2);
9987
10016
  const customAttrs = vue.ref({});
9988
10017
  const is4 = vue.computed(() => {
9989
10018
  if (props2.field.$el === "text") return TextInput;
@@ -9992,62 +10021,36 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
9992
10021
  return TextInput;
9993
10022
  }
9994
10023
  if (props2.field.$el === "number") return NumberInput;
9995
- if (props2.field.$el === "array") return _sfc_main$P;
10024
+ if (props2.field.$el === "array") return _sfc_main$Q;
9996
10025
  if (props2.field.$el === "select") return SelectInput;
9997
10026
  if (props2.field.$el === "toggle") return ToggleInput;
9998
10027
  if (props2.field.$el === "check") return CheckInput;
9999
10028
  if (props2.field.$el === "richtext") return RichText;
10000
10029
  if (props2.field.$el === "upload") return UploadInput;
10001
10030
  if (props2.field.$el === "file") return FileUpload;
10002
- if (props2.field.$el === "date") return _sfc_main$K;
10031
+ if (props2.field.$el === "date") return _sfc_main$L;
10003
10032
  if (props2.field.$el === "tabs") return TabsNav;
10004
- if (props2.field.$el === "bglform") return _sfc_main$R;
10033
+ if (props2.field.$el === "bglform") return _sfc_main$S;
10005
10034
  return props2.field.$el ?? "div";
10006
10035
  });
10007
- const fieldData = vue.computed({
10008
- get: () => {
10009
- if (!props2.fieldID) return props2.field.defaultValue ?? (props2.field.$el === "form" ? {} : "");
10010
- const value = formState.getFieldData(props2.fieldID);
10011
- if (props2.field.$el === "form" && !value) return {};
10012
- return value ?? "";
10013
- },
10014
- set: (val) => {
10015
- if (!props2.fieldID) return;
10016
- const currentValue = formState.getFieldData(props2.fieldID);
10017
- if (JSON.stringify(val) === JSON.stringify(currentValue)) return;
10018
- emit2("update:modelValue", val);
10019
- if (props2.field.onUpdate) {
10020
- props2.field.onUpdate(val, currentValue);
10021
- }
10022
- formState.updateField(props2.fieldID, val);
10023
- }
10024
- });
10025
- const vIf = vue.computed(() => {
10026
- if (props2.field["v-if"] === void 0 && props2.field.vIf === void 0) return true;
10027
- if (typeof props2.field["v-if"] === "boolean" || typeof props2.field.vIf === "boolean") return props2.field["v-if"];
10028
- if (typeof props2.field["v-if"] === "string" || typeof props2.field.vIf === "string") return true;
10029
- if (typeof props2.field["v-if"] === "function") return props2.field["v-if"](fieldData.value, formState.data.value);
10030
- if (typeof props2.field.vIf === "function") return props2.field.vIf(fieldData.value, formState.data.value);
10031
- return true;
10032
- });
10033
10036
  const computedOptions = vue.computed(
10034
- () => bindAttrs({ options: props2.field.options }, fieldData.value, formState.data.value).options
10037
+ () => bindAttrs({ options: props2.field.options }, fieldData, props2.modelValue).options
10035
10038
  );
10036
10039
  const computedAttrs = vue.computed(() => {
10037
10040
  const attrs = { ...customAttrs.value, ...props2.field.attrs };
10038
- return bindAttrs(attrs, fieldData.value, formState.data.value);
10041
+ return bindAttrs(attrs, fieldData, props2.modelValue);
10039
10042
  });
10040
10043
  const computedClass = vue.computed(
10041
10044
  () => {
10042
10045
  var _a2;
10043
- return classify(fieldData.value, formState.data.value, props2.field.class, (_a2 = props2.field.attrs) == null ? void 0 : _a2.class);
10046
+ return classify(fieldData, props2.modelValue, props2.field.class, (_a2 = props2.field.attrs) == null ? void 0 : _a2.class);
10044
10047
  }
10045
10048
  );
10046
10049
  return (_ctx, _cache) => {
10047
10050
  const _component_BglField = vue.resolveComponent("BglField", true);
10048
- return vIf.value ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(is4.value), vue.mergeProps({ key: 0 }, computedAttrs.value, {
10049
- modelValue: fieldData.value,
10050
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => fieldData.value = $event),
10051
+ return _ctx.field.vIf === void 0 || _ctx.field.vIf ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(is4.value), vue.mergeProps({ key: 0 }, computedAttrs.value, {
10052
+ modelValue: vue.unref(fieldData),
10053
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(fieldData) ? fieldData.value = $event : null),
10051
10054
  fieldID: props2.fieldID,
10052
10055
  required: _ctx.field.required,
10053
10056
  class: computedClass.value,
@@ -10066,7 +10069,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
10066
10069
  fieldID: [props2.fieldID, child.id].filter(Boolean).join("."),
10067
10070
  field: child,
10068
10071
  "parent-path": props2.fieldID
10069
- }, null, 8, ["fieldID", "field", "parent-path"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$J, vue.toDisplayString(child), 1))
10072
+ }, null, 8, ["fieldID", "field", "parent-path"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$K, vue.toDisplayString(child), 1))
10070
10073
  ], 64);
10071
10074
  }), 128))
10072
10075
  ]),
@@ -10075,7 +10078,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
10075
10078
  };
10076
10079
  }
10077
10080
  });
10078
- const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
10081
+ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
10079
10082
  __name: "BglForm",
10080
10083
  props: {
10081
10084
  label: {},
@@ -10105,7 +10108,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
10105
10108
  }
10106
10109
  data2.value = newVal;
10107
10110
  }, { deep: true, immediate: true });
10108
- vue.watch(() => data2, (newVal) => {
10111
+ vue.watch(() => data2.value, (newVal) => {
10109
10112
  if (emitDirty.value) return;
10110
10113
  emitDirty.value = true;
10111
10114
  emit2("dirty");
@@ -10177,7 +10180,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
10177
10180
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
10178
10181
  _ctx.tag === "template" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
10179
10182
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, (field, i2) => {
10180
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
10183
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$T), {
10181
10184
  key: field.id || `${i2}p`,
10182
10185
  fieldID: field.id,
10183
10186
  field
@@ -10200,7 +10203,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
10200
10203
  label: _ctx.label
10201
10204
  }, null, 8, ["label"])) : vue.createCommentVNode("", true),
10202
10205
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, (field, i2) => {
10203
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
10206
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$T), {
10204
10207
  key: field.id || `${i2}p`,
10205
10208
  fieldID: field.id,
10206
10209
  field
@@ -10218,8 +10221,8 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
10218
10221
  };
10219
10222
  }
10220
10223
  });
10221
- const _hoisted_1$I = { key: 0 };
10222
- const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
10224
+ const _hoisted_1$J = { key: 0 };
10225
+ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
10223
10226
  __name: "BglMultiStepForm",
10224
10227
  props: /* @__PURE__ */ vue.mergeModels({
10225
10228
  bagelFormProps: { default: () => ({}) },
@@ -10286,8 +10289,8 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
10286
10289
  mode: "out-in"
10287
10290
  }, {
10288
10291
  default: vue.withCtx(() => [
10289
- !vue.unref(isStepping) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$I, [
10290
- vue.createVNode(vue.unref(_sfc_main$R), vue.mergeProps({
10292
+ !vue.unref(isStepping) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$J, [
10293
+ vue.createVNode(vue.unref(_sfc_main$S), vue.mergeProps({
10291
10294
  ref_key: "formRef",
10292
10295
  ref: formRef,
10293
10296
  modelValue: formData.value,
@@ -10326,12 +10329,12 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
10326
10329
  };
10327
10330
  }
10328
10331
  });
10329
- const _hoisted_1$H = { class: "label mb-05" };
10330
- const _hoisted_2$v = {
10332
+ const _hoisted_1$I = { class: "label mb-05" };
10333
+ const _hoisted_2$w = {
10331
10334
  key: 0,
10332
10335
  class: "-ms-05 ps-05 border-start"
10333
10336
  };
10334
- const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
10337
+ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
10335
10338
  __name: "FieldArray",
10336
10339
  props: {
10337
10340
  el: { default: "div" },
@@ -10388,8 +10391,8 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
10388
10391
  return vue.openBlock(), vue.createElementBlock("div", {
10389
10392
  class: vue.normalizeClass(props2.class)
10390
10393
  }, [
10391
- vue.createElementVNode("p", _hoisted_1$H, vue.toDisplayString(_ctx.label), 1),
10392
- _ctx.schema ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$v, [
10394
+ vue.createElementVNode("p", _hoisted_1$I, vue.toDisplayString(_ctx.label), 1),
10395
+ _ctx.schema ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$w, [
10393
10396
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(data2.value, (_2, i2) => {
10394
10397
  return vue.openBlock(), vue.createElementBlock("div", {
10395
10398
  key: i2,
@@ -10397,7 +10400,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
10397
10400
  thin: "",
10398
10401
  class: "mb-05 itemBox transition p-05"
10399
10402
  }, [
10400
- vue.createVNode(vue.unref(_sfc_main$R), {
10403
+ vue.createVNode(vue.unref(_sfc_main$S), {
10401
10404
  modelValue: data2.value[i2],
10402
10405
  "onUpdate:modelValue": [($event) => data2.value[i2] = $event, emitValue],
10403
10406
  schema: _ctx.schema
@@ -10427,7 +10430,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
10427
10430
  _: 1
10428
10431
  })) : vue.createCommentVNode("", true)
10429
10432
  ])) : (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 1 }, vue.renderList(data2.value, (_2, i2) => {
10430
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
10433
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$T), {
10431
10434
  key: i2,
10432
10435
  modelValue: data2.value[i2],
10433
10436
  "onUpdate:modelValue": [($event) => data2.value[i2] = $event, emitValue],
@@ -10438,8 +10441,8 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
10438
10441
  };
10439
10442
  }
10440
10443
  });
10441
- const _hoisted_1$G = { class: "primary-checkbox" };
10442
- const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
10444
+ const _hoisted_1$H = { class: "primary-checkbox" };
10445
+ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
10443
10446
  __name: "Checkbox",
10444
10447
  props: {
10445
10448
  "modelValue": { type: Boolean, ...{ default: false } },
@@ -10449,7 +10452,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
10449
10452
  setup(__props) {
10450
10453
  const val = vue.useModel(__props, "modelValue");
10451
10454
  return (_ctx, _cache) => {
10452
- return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$G, [
10455
+ return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$H, [
10453
10456
  vue.renderSlot(_ctx.$slots, "label", {}, void 0, true),
10454
10457
  vue.withDirectives(vue.createElementVNode("input", {
10455
10458
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
@@ -10461,11 +10464,11 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
10461
10464
  };
10462
10465
  }
10463
10466
  });
10464
- const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-73f1d9ad"]]);
10465
- const _hoisted_1$F = ["title"];
10466
- const _hoisted_2$u = ["id", "value", "required"];
10467
- const _hoisted_3$n = ["for"];
10468
- const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
10467
+ const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-73f1d9ad"]]);
10468
+ const _hoisted_1$G = ["title"];
10469
+ const _hoisted_2$v = ["id", "value", "required"];
10470
+ const _hoisted_3$o = ["for"];
10471
+ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
10469
10472
  __name: "CheckInput",
10470
10473
  props: /* @__PURE__ */ vue.mergeModels({
10471
10474
  label: {},
@@ -10499,32 +10502,32 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
10499
10502
  required: _ctx.required,
10500
10503
  type: "checkbox",
10501
10504
  class: "me-05"
10502
- }, null, 8, _hoisted_2$u), [
10505
+ }, null, 8, _hoisted_2$v), [
10503
10506
  [vue.vModelCheckbox, checked.value]
10504
10507
  ]),
10505
10508
  vue.createElementVNode("label", { for: inputId.value }, [
10506
10509
  vue.renderSlot(_ctx.$slots, "label", {}, () => [
10507
10510
  vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
10508
10511
  ], true)
10509
- ], 8, _hoisted_3$n)
10510
- ], 10, _hoisted_1$F);
10512
+ ], 8, _hoisted_3$o)
10513
+ ], 10, _hoisted_1$G);
10511
10514
  };
10512
10515
  }
10513
10516
  });
10514
- const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-03ed2982"]]);
10515
- const _hoisted_1$E = { class: "mb-05" };
10516
- const _hoisted_2$t = {
10517
+ const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-03ed2982"]]);
10518
+ const _hoisted_1$F = { class: "mb-05" };
10519
+ const _hoisted_2$u = {
10517
10520
  key: 0,
10518
10521
  class: "label txt-start"
10519
10522
  };
10520
- const _hoisted_3$m = {
10523
+ const _hoisted_3$n = {
10521
10524
  key: 1,
10522
10525
  class: "code-editor-wrap grid rounded p-1 overflow hm-300px ltr txt-start relative h-100p"
10523
10526
  };
10524
- const _hoisted_4$f = { class: "overflow-hidden absolute inset-0 p-0 m-0 h-100 codeText" };
10525
- const _hoisted_5$e = ["innerHTML"];
10526
- const _hoisted_6$b = ["onKeydown"];
10527
- const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
10527
+ const _hoisted_4$g = { class: "overflow-hidden absolute inset-0 p-0 m-0 h-100 codeText" };
10528
+ const _hoisted_5$f = ["innerHTML"];
10529
+ const _hoisted_6$c = ["onKeydown"];
10530
+ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
10528
10531
  __name: "Index",
10529
10532
  props: {
10530
10533
  language: {},
@@ -10606,19 +10609,19 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
10606
10609
  }
10607
10610
  }, { immediate: true });
10608
10611
  return (_ctx, _cache) => {
10609
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$E, [
10610
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$t, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
10611
- vue.unref(loaded) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$m, [
10612
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$F, [
10613
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$u, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
10614
+ vue.unref(loaded) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$n, [
10612
10615
  vue.createElementVNode("div", {
10613
10616
  class: "relative block h-100",
10614
10617
  style: vue.normalizeStyle({ height: `calc(${vue.unref(elHeight)} - 2rem)` })
10615
10618
  }, [
10616
- vue.createElementVNode("pre", _hoisted_4$f, [
10619
+ vue.createElementVNode("pre", _hoisted_4$g, [
10617
10620
  _cache[2] || (_cache[2] = vue.createTextVNode(" ")),
10618
10621
  vue.createElementVNode("code", {
10619
10622
  class: vue.normalizeClass(["absolute inset-0", className.value]),
10620
10623
  innerHTML: highlightedCode.value
10621
- }, null, 10, _hoisted_5$e),
10624
+ }, null, 10, _hoisted_5$f),
10622
10625
  _cache[3] || (_cache[3] = vue.createTextVNode("\n "))
10623
10626
  ]),
10624
10627
  !_ctx.readonly ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("textarea", {
@@ -10633,7 +10636,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
10633
10636
  "data-gramm": "false",
10634
10637
  onKeydown: vue.withKeys(vue.withModifiers(handleTab, ["prevent"]), ["tab"]),
10635
10638
  onInput: _cache[1] || (_cache[1] = ($event) => emit2("update:modelValue", vue.unref(code)))
10636
- }, null, 40, _hoisted_6$b)), [
10639
+ }, null, 40, _hoisted_6$c)), [
10637
10640
  [vue.vModelText, vue.unref(code)]
10638
10641
  ]) : vue.createCommentVNode("", true)
10639
10642
  ], 4)
@@ -10642,10 +10645,10 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
10642
10645
  };
10643
10646
  }
10644
10647
  });
10645
- const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-1fbc9b61"]]);
10646
- const _hoisted_1$D = ["title"];
10647
- const _hoisted_2$s = ["id", "placeholder", "required"];
10648
- const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
10648
+ const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-1fbc9b61"]]);
10649
+ const _hoisted_1$E = ["title"];
10650
+ const _hoisted_2$t = ["id", "placeholder", "required"];
10651
+ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
10649
10652
  __name: "ColorPicker",
10650
10653
  props: {
10651
10654
  label: {},
@@ -10683,11 +10686,11 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
10683
10686
  placeholder: _ctx.placeholder || _ctx.label,
10684
10687
  class: { "no-edit": !_ctx.editMode },
10685
10688
  required: _ctx.required
10686
- }, _ctx.nativeInputAttrs), null, 16, _hoisted_2$s), [
10689
+ }, _ctx.nativeInputAttrs), null, 16, _hoisted_2$t), [
10687
10690
  [vue.vModelText, inputVal.value]
10688
10691
  ])
10689
10692
  ])
10690
- ], 10, _hoisted_1$D)) : vue.createCommentVNode("", true);
10693
+ ], 10, _hoisted_1$E)) : vue.createCommentVNode("", true);
10691
10694
  };
10692
10695
  }
10693
10696
  });
@@ -19245,9 +19248,9 @@ const eo = ({
19245
19248
  Object.entries(go).forEach(([e, t]) => {
19246
19249
  e !== "default" && (Hn[e] = t);
19247
19250
  });
19248
- const _hoisted_1$C = ["title"];
19249
- const _hoisted_2$r = { key: 0 };
19250
- const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
19251
+ const _hoisted_1$D = ["title"];
19252
+ const _hoisted_2$s = { key: 0 };
19253
+ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
19251
19254
  __name: "DateInput",
19252
19255
  props: {
19253
19256
  required: { type: Boolean },
@@ -19289,7 +19292,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
19289
19292
  class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
19290
19293
  title: _ctx.label
19291
19294
  }, [
19292
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$r, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
19295
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$s, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
19293
19296
  vue.createVNode(vue.unref(Hn), vue.mergeProps({
19294
19297
  ref_key: "datePicker",
19295
19298
  ref: datePicker,
@@ -19305,10 +19308,374 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
19305
19308
  "minutes-grid-increment": _ctx.minutesGridIncrement,
19306
19309
  "start-time": { hours: 8, minutes: 0 }
19307
19310
  }), null, 16, ["modelValue", "required", "enable-time-picker", "allowed-dates", "time-picker-inline", "minutes-increment", "minutes-grid-increment"])
19311
+ ], 10, _hoisted_1$D);
19312
+ };
19313
+ }
19314
+ });
19315
+ const _hoisted_1$C = ["title"];
19316
+ const _hoisted_2$r = { key: 0 };
19317
+ const _hoisted_3$m = {
19318
+ key: 0,
19319
+ class: "required"
19320
+ };
19321
+ const _hoisted_4$f = { class: "date-picker-container" };
19322
+ const _hoisted_5$e = ["type", "value", "min", "max", "required", "disabled"];
19323
+ const _hoisted_6$b = { class: "calendar-container" };
19324
+ const _hoisted_7$8 = { class: "calendar-section" };
19325
+ const _hoisted_8$5 = { class: "calendar-header" };
19326
+ const _hoisted_9$4 = { class: "month-year-selector" };
19327
+ const _hoisted_10$4 = { class: "month-year" };
19328
+ const _hoisted_11$3 = {
19329
+ key: 0,
19330
+ class: "calendar-grid"
19331
+ };
19332
+ const _hoisted_12$3 = ["disabled", "onClick"];
19333
+ const _hoisted_13$3 = {
19334
+ key: 1,
19335
+ class: "month-grid"
19336
+ };
19337
+ const _hoisted_14$2 = ["disabled", "onClick"];
19338
+ const _hoisted_15$1 = {
19339
+ key: 2,
19340
+ class: "year-grid"
19341
+ };
19342
+ const _hoisted_16 = ["disabled", "onClick"];
19343
+ const _hoisted_17 = {
19344
+ key: 0,
19345
+ class: "time-picker"
19346
+ };
19347
+ const _hoisted_18 = { class: "time-input-group" };
19348
+ const _hoisted_19 = { class: "timezone-display" };
19349
+ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
19350
+ __name: "DatePick",
19351
+ props: {
19352
+ required: { type: Boolean },
19353
+ label: {},
19354
+ editMode: { type: Boolean, default: true },
19355
+ small: { type: Boolean, default: false },
19356
+ enableTime: { type: Boolean, default: false },
19357
+ modelValue: {},
19358
+ min: {},
19359
+ max: {},
19360
+ timezone: { default: "UTC" }
19361
+ },
19362
+ emits: ["update:modelValue"],
19363
+ setup(__props, { emit: __emit }) {
19364
+ const props2 = __props;
19365
+ const emit2 = __emit;
19366
+ let isOpen = vue.ref(false);
19367
+ let currentMonth = vue.ref(/* @__PURE__ */ new Date());
19368
+ let currentView = vue.ref("days");
19369
+ const inputType = vue.computed(() => props2.enableTime ? "datetime-local" : "date");
19370
+ function formatDate(date2) {
19371
+ if (!date2) return "";
19372
+ const dateObj = typeof date2 === "string" ? new Date(date2) : date2;
19373
+ return props2.enableTime ? dateObj.toISOString().slice(0, 16) : dateObj.toISOString().split("T")[0];
19374
+ }
19375
+ const formattedValue = vue.computed(() => formatDate(props2.modelValue));
19376
+ const formattedMin = vue.computed(() => formatDate(props2.min));
19377
+ const formattedMax = vue.computed(() => formatDate(props2.max));
19378
+ const selectedDate = vue.computed(() => {
19379
+ if (!props2.modelValue) return null;
19380
+ return typeof props2.modelValue === "string" ? new Date(props2.modelValue) : props2.modelValue;
19381
+ });
19382
+ const currentMonthDays = vue.computed(() => {
19383
+ const year = currentMonth.value.getFullYear();
19384
+ const month = currentMonth.value.getMonth();
19385
+ const firstDay = new Date(year, month, 1);
19386
+ const lastDay = new Date(year, month + 1, 0);
19387
+ const days = [];
19388
+ for (let i2 = 0; i2 < firstDay.getDay(); i2++) days.push(null);
19389
+ for (let i2 = 1; i2 <= lastDay.getDate(); i2++) days.push(new Date(year, month, i2));
19390
+ return days;
19391
+ });
19392
+ const currentMonthValue = vue.computed(() => ({
19393
+ month: currentMonth.value.getMonth(),
19394
+ year: currentMonth.value.getFullYear(),
19395
+ formatted: {
19396
+ month: currentMonth.value.toLocaleString("default", { month: "long", timeZone: props2.timezone }),
19397
+ year: currentMonth.value.toLocaleString("default", { year: "numeric", timeZone: props2.timezone })
19398
+ }
19399
+ }));
19400
+ const months = vue.computed(
19401
+ () => Array.from({ length: 12 }, (_2, i2) => {
19402
+ const date2 = new Date(currentMonthValue.value.year, i2, 1);
19403
+ return {
19404
+ name: date2.toLocaleString("default", { month: "short" }),
19405
+ value: i2,
19406
+ disabled: isDateDisabled(date2)
19407
+ };
19408
+ })
19409
+ );
19410
+ const years = vue.computed(() => {
19411
+ const startYear = currentMonthValue.value.year - 10;
19412
+ return Array.from({ length: 21 }, (_2, i2) => ({
19413
+ value: startYear + i2,
19414
+ disabled: isYearDisabled(startYear + i2)
19415
+ }));
19416
+ });
19417
+ function isDateDisabled(date2) {
19418
+ if (!date2) return true;
19419
+ const minDate = props2.min ? new Date(props2.min) : null;
19420
+ const maxDate = props2.max ? new Date(props2.max) : null;
19421
+ if (minDate && date2 < minDate) return true;
19422
+ if (maxDate && date2 > maxDate) return true;
19423
+ return false;
19424
+ }
19425
+ function isYearDisabled(year) {
19426
+ const minDate = props2.min ? new Date(props2.min) : null;
19427
+ const maxDate = props2.max ? new Date(props2.max) : null;
19428
+ if (minDate && year < minDate.getFullYear()) return true;
19429
+ if (maxDate && year > maxDate.getFullYear()) return true;
19430
+ return false;
19431
+ }
19432
+ function selectMonth(monthIndex) {
19433
+ currentMonth.value = new Date(currentMonth.value.getFullYear(), monthIndex, 1);
19434
+ currentView.value = "days";
19435
+ }
19436
+ function selectYear(year) {
19437
+ currentMonth.value = new Date(year, currentMonth.value.getMonth(), 1);
19438
+ currentView.value = "months";
19439
+ }
19440
+ function previousMonth() {
19441
+ currentMonth.value = new Date(currentMonth.value.getFullYear(), currentMonth.value.getMonth() - 1, 1);
19442
+ }
19443
+ function nextMonth() {
19444
+ currentMonth.value = new Date(currentMonth.value.getFullYear(), currentMonth.value.getMonth() + 1, 1);
19445
+ }
19446
+ function previousYear() {
19447
+ const offset2 = currentView.value === "months" ? 1 : 21;
19448
+ currentMonth.value = new Date(currentMonth.value.getFullYear() - offset2, currentMonth.value.getMonth(), 1);
19449
+ }
19450
+ function nextYear() {
19451
+ const offset2 = currentView.value === "months" ? 1 : 21;
19452
+ currentMonth.value = new Date(currentMonth.value.getFullYear() + offset2, currentMonth.value.getMonth(), 1);
19453
+ }
19454
+ function selectDate(date2) {
19455
+ var _a2, _b;
19456
+ if (!date2 || !props2.editMode) return;
19457
+ const newDate = new Date(date2.getFullYear(), date2.getMonth(), date2.getDate(), 0, 0, 0);
19458
+ if (props2.enableTime) {
19459
+ const currentHours = ((_a2 = selectedDate.value) == null ? void 0 : _a2.getHours()) ?? (/* @__PURE__ */ new Date()).getHours();
19460
+ const currentMinutes = ((_b = selectedDate.value) == null ? void 0 : _b.getMinutes()) ?? (/* @__PURE__ */ new Date()).getMinutes();
19461
+ newDate.setHours(currentHours);
19462
+ newDate.setMinutes(currentMinutes);
19463
+ emit2("update:modelValue", newDate.toISOString());
19464
+ } else {
19465
+ emit2("update:modelValue", newDate.toISOString().split("T")[0]);
19466
+ isOpen.value = false;
19467
+ }
19468
+ }
19469
+ function handleInput(event) {
19470
+ const input = event.target;
19471
+ if (!input.value) {
19472
+ emit2("update:modelValue", "");
19473
+ return;
19474
+ }
19475
+ const date2 = new Date(input.value);
19476
+ emit2("update:modelValue", props2.enableTime ? date2.toISOString() : date2.toISOString().split("T")[0]);
19477
+ }
19478
+ const hours = vue.computed(() => {
19479
+ var _a2;
19480
+ return ((_a2 = selectedDate.value) == null ? void 0 : _a2.getHours()) ?? 0;
19481
+ });
19482
+ const minutes = vue.computed(() => {
19483
+ var _a2;
19484
+ return ((_a2 = selectedDate.value) == null ? void 0 : _a2.getMinutes()) ?? 0;
19485
+ });
19486
+ function handleHourInput(value) {
19487
+ if (!selectedDate.value) return;
19488
+ const newDate = new Date(selectedDate.value);
19489
+ newDate.setHours(value);
19490
+ emit2("update:modelValue", newDate.toISOString());
19491
+ }
19492
+ function handleMinuteInput(value) {
19493
+ if (!selectedDate.value) return;
19494
+ const newDate = new Date(selectedDate.value);
19495
+ newDate.setMinutes(value);
19496
+ emit2("update:modelValue", newDate.toISOString());
19497
+ }
19498
+ function isSelected(date2) {
19499
+ if (!date2 || !selectedDate.value) return false;
19500
+ return date2.toISOString().split("T")[0] === selectedDate.value.toISOString().split("T")[0];
19501
+ }
19502
+ function isToday(date2) {
19503
+ if (!date2) return false;
19504
+ return date2.toISOString().split("T")[0] === (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
19505
+ }
19506
+ const timezoneDisplay = vue.computed(() => {
19507
+ if (!props2.enableTime) return "";
19508
+ try {
19509
+ return (/* @__PURE__ */ new Date()).toLocaleString("en-US", {
19510
+ timeZoneName: "short",
19511
+ timeZone: props2.timezone
19512
+ }).split(" ").pop();
19513
+ } catch {
19514
+ return "UTC";
19515
+ }
19516
+ });
19517
+ return (_ctx, _cache) => {
19518
+ return vue.openBlock(), vue.createElementBlock("div", {
19519
+ class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
19520
+ title: _ctx.label
19521
+ }, [
19522
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$r, [
19523
+ vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
19524
+ _ctx.required ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$m, "*")) : vue.createCommentVNode("", true)
19525
+ ])) : vue.createCommentVNode("", true),
19526
+ vue.createVNode(vue.unref(kt$1), {
19527
+ shown: vue.unref(isOpen),
19528
+ triggers: [],
19529
+ placement: "bottom-start",
19530
+ distance: 4,
19531
+ onApplyShow: _cache[4] || (_cache[4] = ($event) => vue.isRef(isOpen) ? isOpen.value = true : isOpen = true),
19532
+ onApplyHide: _cache[5] || (_cache[5] = ($event) => vue.isRef(isOpen) ? isOpen.value = false : isOpen = false)
19533
+ }, {
19534
+ popper: vue.withCtx(() => [
19535
+ vue.createElementVNode("div", _hoisted_6$b, [
19536
+ vue.createElementVNode("div", _hoisted_7$8, [
19537
+ vue.createElementVNode("div", _hoisted_8$5, [
19538
+ vue.unref(currentView) === "days" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
19539
+ vue.createVNode(vue.unref(Btn), {
19540
+ flat: "",
19541
+ icon: "chevron_left",
19542
+ onClick: previousMonth
19543
+ }),
19544
+ vue.createElementVNode("div", _hoisted_9$4, [
19545
+ vue.createElementVNode("button", {
19546
+ class: "month-btn",
19547
+ onClick: _cache[1] || (_cache[1] = ($event) => vue.isRef(currentView) ? currentView.value = "months" : currentView = "months")
19548
+ }, vue.toDisplayString(currentMonthValue.value.formatted.month), 1),
19549
+ vue.createElementVNode("button", {
19550
+ class: "year-btn",
19551
+ onClick: _cache[2] || (_cache[2] = ($event) => vue.isRef(currentView) ? currentView.value = "years" : currentView = "years")
19552
+ }, vue.toDisplayString(currentMonthValue.value.formatted.year), 1)
19553
+ ]),
19554
+ vue.createVNode(vue.unref(Btn), {
19555
+ flat: "",
19556
+ icon: "chevron_right",
19557
+ onClick: nextMonth
19558
+ })
19559
+ ], 64)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
19560
+ vue.createVNode(vue.unref(Btn), {
19561
+ flat: "",
19562
+ icon: "chevron_left",
19563
+ onClick: previousYear
19564
+ }),
19565
+ vue.createElementVNode("span", _hoisted_10$4, vue.toDisplayString(currentMonthValue.value.formatted.year), 1),
19566
+ vue.createVNode(vue.unref(Btn), {
19567
+ flat: "",
19568
+ icon: "chevron_right",
19569
+ onClick: nextYear
19570
+ })
19571
+ ], 64))
19572
+ ]),
19573
+ vue.unref(currentView) === "days" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_11$3, [
19574
+ (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, vue.renderList(["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], (day) => {
19575
+ return vue.createElementVNode("div", {
19576
+ key: day,
19577
+ class: "weekday"
19578
+ }, vue.toDisplayString(day), 1);
19579
+ }), 64)),
19580
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(currentMonthDays.value, (date2, index2) => {
19581
+ return vue.openBlock(), vue.createElementBlock("button", {
19582
+ key: index2,
19583
+ type: "button",
19584
+ class: vue.normalizeClass(["day", {
19585
+ selected: isSelected(date2),
19586
+ today: isToday(date2),
19587
+ disabled: isDateDisabled(date2)
19588
+ }]),
19589
+ disabled: isDateDisabled(date2),
19590
+ onClick: ($event) => selectDate(date2)
19591
+ }, vue.toDisplayString(date2 == null ? void 0 : date2.getDate()), 11, _hoisted_12$3);
19592
+ }), 128))
19593
+ ])) : vue.unref(currentView) === "months" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_13$3, [
19594
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(months.value, (month) => {
19595
+ return vue.openBlock(), vue.createElementBlock("button", {
19596
+ key: month.value,
19597
+ class: vue.normalizeClass(["month-item", {
19598
+ selected: month.value === currentMonthValue.value.month,
19599
+ disabled: month.disabled
19600
+ }]),
19601
+ disabled: month.disabled,
19602
+ onClick: ($event) => selectMonth(month.value)
19603
+ }, vue.toDisplayString(month.name), 11, _hoisted_14$2);
19604
+ }), 128))
19605
+ ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_15$1, [
19606
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(years.value, (year) => {
19607
+ return vue.openBlock(), vue.createElementBlock("button", {
19608
+ key: year.value,
19609
+ class: vue.normalizeClass(["year-item", {
19610
+ selected: year.value === currentMonthValue.value.year,
19611
+ disabled: year.disabled
19612
+ }]),
19613
+ disabled: year.disabled,
19614
+ onClick: ($event) => selectYear(year.value)
19615
+ }, vue.toDisplayString(year.value), 11, _hoisted_16);
19616
+ }), 128))
19617
+ ]))
19618
+ ]),
19619
+ _ctx.enableTime && vue.unref(currentView) === "days" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_17, [
19620
+ vue.createElementVNode("div", _hoisted_18, [
19621
+ vue.createVNode(vue.unref(NumberInput), {
19622
+ center: "",
19623
+ "model-value": hours.value,
19624
+ disabled: !selectedDate.value,
19625
+ min: 0,
19626
+ max: 23,
19627
+ layout: "vertical",
19628
+ padZero: 2,
19629
+ "onUpdate:modelValue": handleHourInput
19630
+ }, null, 8, ["model-value", "disabled"]),
19631
+ _cache[6] || (_cache[6] = vue.createElementVNode("span", null, ":", -1)),
19632
+ vue.createVNode(vue.unref(NumberInput), {
19633
+ center: "",
19634
+ "model-value": minutes.value,
19635
+ disabled: !selectedDate.value,
19636
+ min: 0,
19637
+ max: 59,
19638
+ padZero: 2,
19639
+ layout: "vertical",
19640
+ "onUpdate:modelValue": handleMinuteInput
19641
+ }, null, 8, ["model-value", "disabled"])
19642
+ ]),
19643
+ vue.createElementVNode("span", _hoisted_19, vue.toDisplayString(timezoneDisplay.value), 1),
19644
+ selectedDate.value ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
19645
+ key: 0,
19646
+ flat: "",
19647
+ onClick: _cache[3] || (_cache[3] = ($event) => vue.isRef(isOpen) ? isOpen.value = false : isOpen = false)
19648
+ }, {
19649
+ default: vue.withCtx(() => _cache[7] || (_cache[7] = [
19650
+ vue.createTextVNode(" Done ")
19651
+ ])),
19652
+ _: 1
19653
+ })) : vue.createCommentVNode("", true)
19654
+ ])) : vue.createCommentVNode("", true)
19655
+ ])
19656
+ ]),
19657
+ default: vue.withCtx(() => [
19658
+ vue.createElementVNode("div", _hoisted_4$f, [
19659
+ vue.createElementVNode("input", {
19660
+ type: inputType.value,
19661
+ value: formattedValue.value,
19662
+ min: formattedMin.value,
19663
+ max: formattedMax.value,
19664
+ required: _ctx.required,
19665
+ disabled: !_ctx.editMode,
19666
+ class: "date-input",
19667
+ onInput: handleInput,
19668
+ onClick: _cache[0] || (_cache[0] = ($event) => vue.isRef(isOpen) ? isOpen.value = true : isOpen = true)
19669
+ }, null, 40, _hoisted_5$e)
19670
+ ])
19671
+ ]),
19672
+ _: 1
19673
+ }, 8, ["shown"])
19308
19674
  ], 10, _hoisted_1$C);
19309
19675
  };
19310
19676
  }
19311
19677
  });
19678
+ const DatePick = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-e36ecd8c"]]);
19312
19679
  const _hoisted_1$B = { class: "datetime-wrap" };
19313
19680
  const _hoisted_2$q = { class: "date-wrap" };
19314
19681
  const _hoisted_3$l = {
@@ -19698,7 +20065,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
19698
20065
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$z, [
19699
20066
  vue.createElementVNode("label", null, vue.toDisplayString(_ctx.label), 1),
19700
20067
  _ctx.required && !storageFiles.value.length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$o)) : vue.createCommentVNode("", true),
19701
- _ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$_), {
20068
+ _ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$$), {
19702
20069
  key: 1,
19703
20070
  outline: "",
19704
20071
  class: "flex p-05 gap-1",
@@ -20008,7 +20375,8 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
20008
20375
  id: {},
20009
20376
  helptext: {},
20010
20377
  layout: {},
20011
- center: { type: Boolean }
20378
+ center: { type: Boolean },
20379
+ padZero: {}
20012
20380
  },
20013
20381
  emits: ["update:modelValue"],
20014
20382
  setup(__props, { emit: __emit }) {
@@ -20028,7 +20396,11 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
20028
20396
  emit2("update:modelValue", numberValue.value);
20029
20397
  }
20030
20398
  function formatNumber2(num) {
20031
- return num.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
20399
+ let formatted = num.toString();
20400
+ if (__props.padZero && __props.padZero > 0) {
20401
+ formatted = formatted.padStart(__props.padZero, "0");
20402
+ }
20403
+ return formatted.replace(/\B(?=(\d{3})+(?!\d))/g, ",");
20032
20404
  }
20033
20405
  let formattedValue = vue.ref("");
20034
20406
  function inputHandler() {
@@ -20143,7 +20515,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
20143
20515
  };
20144
20516
  }
20145
20517
  });
20146
- const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-a6e0446d"]]);
20518
+ const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-3a20cf4a"]]);
20147
20519
  const _hoisted_1$w = ["value", "autofocus", "onKeydown", "onPaste"];
20148
20520
  const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
20149
20521
  __name: "OTP",
@@ -20806,7 +21178,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
20806
21178
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$q, [
20807
21179
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.config.map(configToOption).filter(Boolean), (action, index2) => {
20808
21180
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
20809
- action.name === "insertTable" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$W), {
21181
+ action.name === "insertTable" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$X), {
20810
21182
  key: 0,
20811
21183
  placement: "bottom-start",
20812
21184
  thin: "",
@@ -22104,7 +22476,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
22104
22476
  }
22105
22477
  });
22106
22478
  return (_ctx, _cache) => {
22107
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$W), {
22479
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$X), {
22108
22480
  ref_key: "dropdown",
22109
22481
  ref: dropdown,
22110
22482
  shown: vue.unref(open),
@@ -22183,7 +22555,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
22183
22555
  height: "25px",
22184
22556
  class: "mx-1 my-1"
22185
22557
  })) : vue.createCommentVNode("", true),
22186
- vue.createVNode(vue.unref(_sfc_main$_), {
22558
+ vue.createVNode(vue.unref(_sfc_main$$), {
22187
22559
  class: "p-05",
22188
22560
  style: vue.normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" })
22189
22561
  }, {
@@ -30342,7 +30714,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
30342
30714
  vue.withKeys(reset, ["tab"])
30343
30715
  ]
30344
30716
  }, [
30345
- !computedDropDownOptions.value.hide ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$W), {
30717
+ !computedDropDownOptions.value.hide ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$X), {
30346
30718
  key: 0,
30347
30719
  ref_key: "phoneDropdown",
30348
30720
  ref: phoneDropdown,
@@ -30809,7 +31181,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
30809
31181
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$i, [
30810
31182
  _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$9, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
30811
31183
  _ctx.required && !pathKeys.value.length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_3$7)) : vue.createCommentVNode("", true),
30812
- _ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$_), {
31184
+ _ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$$), {
30813
31185
  key: 2,
30814
31186
  outline: "",
30815
31187
  class: "flex p-05 gap-1",
@@ -31105,7 +31477,7 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
31105
31477
  },
31106
31478
  setup(__props) {
31107
31479
  return (_ctx, _cache) => {
31108
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$_), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
31480
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$$), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
31109
31481
  default: vue.withCtx(() => [
31110
31482
  vue.renderSlot(_ctx.$slots, "brand", {}, void 0, true),
31111
31483
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.navLinks, (nav, i2) => {
@@ -31206,7 +31578,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
31206
31578
  icon: "keyboard_arrow_right",
31207
31579
  onClick: vue.unref(toggleMenu)
31208
31580
  }, null, 8, ["onClick"]),
31209
- vue.createVNode(vue.unref(_sfc_main$_), { class: "py-1 px-05 h-100 flex column gap-05 rounded relative bg-primary font-light overflow-y" }, {
31581
+ vue.createVNode(vue.unref(_sfc_main$$), { class: "py-1 px-05 h-100 flex column gap-05 rounded relative bg-primary font-light overflow-y" }, {
31210
31582
  default: vue.withCtx(() => [
31211
31583
  !vue.unref(isOpen) || !vue.unref(slots)["brand-open"] ? vue.renderSlot(_ctx.$slots, "brand", { key: 0 }, void 0, true) : vue.createCommentVNode("", true),
31212
31584
  vue.unref(isOpen) ? vue.renderSlot(_ctx.$slots, "brand-open", { key: 1 }, void 0, true) : vue.createCommentVNode("", true),
@@ -31727,7 +32099,7 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
31727
32099
  onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
31728
32100
  onKeydown: vue.withKeys(closeModal, ["esc"])
31729
32101
  }, [
31730
- vue.createVNode(vue.unref(_sfc_main$_), {
32102
+ vue.createVNode(vue.unref(_sfc_main$$), {
31731
32103
  class: "modal",
31732
32104
  style: vue.normalizeStyle({ ...maxWidth.value }),
31733
32105
  onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
@@ -31904,7 +32276,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
31904
32276
  "onUpdate:visible": _cache[1] || (_cache[1] = ($event) => emit2("update:visible", $event))
31905
32277
  }, vue.createSlots({
31906
32278
  default: vue.withCtx(() => [
31907
- _ctx.visible ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), {
32279
+ _ctx.visible ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
31908
32280
  key: 0,
31909
32281
  ref_key: "form",
31910
32282
  ref: form,
@@ -33023,7 +33395,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
33023
33395
  row,
33024
33396
  field
33025
33397
  }, void 0, true) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_10$1, [
33026
- vue.createVNode(vue.unref(_sfc_main$10), {
33398
+ vue.createVNode(vue.unref(_sfc_main$11), {
33027
33399
  id: field.id,
33028
33400
  class: "embedded-field",
33029
33401
  field,
@@ -35149,33 +35521,34 @@ function timeAgo(date2, lang = "en") {
35149
35521
  }
35150
35522
  return selectedLang.justNow;
35151
35523
  }
35152
- exports.Accordion = _sfc_main$17;
35524
+ exports.Accordion = _sfc_main$18;
35153
35525
  exports.AccordionItem = AccordionItem;
35154
- exports.AddressSearch = _sfc_main$15;
35526
+ exports.AddressSearch = _sfc_main$16;
35155
35527
  exports.Alert = Alert;
35156
35528
  exports.Avatar = Avatar;
35157
35529
  exports.Badge = Badge;
35158
- exports.BagelForm = _sfc_main$R;
35530
+ exports.BagelForm = _sfc_main$S;
35159
35531
  exports.BagelVue = BagelVue;
35160
- exports.BglComponent = _sfc_main$10;
35161
- exports.BglField = _sfc_main$S;
35162
- exports.BglForm = _sfc_main$R;
35163
- exports.BglMultiStepForm = _sfc_main$Q;
35532
+ exports.BglComponent = _sfc_main$11;
35533
+ exports.BglField = _sfc_main$T;
35534
+ exports.BglForm = _sfc_main$S;
35535
+ exports.BglMultiStepForm = _sfc_main$R;
35164
35536
  exports.BglVideo = BglVideo;
35165
35537
  exports.BottomMenu = BottomMenu;
35166
35538
  exports.Btn = Btn;
35167
- exports.Card = _sfc_main$_;
35539
+ exports.Card = _sfc_main$$;
35168
35540
  exports.Carousel = Carousel;
35169
35541
  exports.CheckInput = CheckInput;
35170
35542
  exports.Checkbox = Checkbox;
35171
35543
  exports.CodeEditor = CodeEditor;
35172
- exports.ColorPicker = _sfc_main$L;
35544
+ exports.ColorPicker = _sfc_main$M;
35173
35545
  exports.DataPreview = DataPreview;
35174
- exports.DateInput = _sfc_main$K;
35546
+ exports.DateInput = _sfc_main$L;
35547
+ exports.DatePick = DatePick;
35175
35548
  exports.DatePicker = _sfc_main$J;
35176
- exports.Dropdown = _sfc_main$W;
35549
+ exports.Dropdown = _sfc_main$X;
35177
35550
  exports.FORM_STATE_KEY = FORM_STATE_KEY;
35178
- exports.FieldArray = _sfc_main$P;
35551
+ exports.FieldArray = _sfc_main$Q;
35179
35552
  exports.FieldSetVue = FieldSetVue;
35180
35553
  exports.FileUpload = FileUpload;
35181
35554
  exports.Flag = Flag;
@@ -35186,7 +35559,7 @@ exports.IframeVue = _sfc_main$p;
35186
35559
  exports.Image = Image$1;
35187
35560
  exports.JSONInput = JSONInput;
35188
35561
  exports.Layout = Layout;
35189
- exports.Lineart = _sfc_main$Y;
35562
+ exports.Lineart = _sfc_main$Z;
35190
35563
  exports.ListItem = _sfc_main$h;
35191
35564
  exports.ListView = ListView;
35192
35565
  exports.Loading = Loading;