@bagelink/vue 0.0.1141 → 0.0.1145

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.
Files changed (37) hide show
  1. package/dist/components/Carousel.vue.d.ts.map +1 -1
  2. package/dist/components/Modal.vue.d.ts.map +1 -1
  3. package/dist/components/Zoomer.vue.d.ts.map +1 -1
  4. package/dist/components/form/BagelForm.vue.d.ts.map +1 -1
  5. package/dist/components/form/index.d.ts +2 -3
  6. package/dist/components/form/index.d.ts.map +1 -1
  7. package/dist/components/form/inputs/FileUpload.vue.d.ts.map +1 -1
  8. package/dist/components/form/inputs/RichText/composables/useEditor.d.ts.map +1 -1
  9. package/dist/components/form/inputs/RichText/index.vue.d.ts +1 -0
  10. package/dist/components/form/inputs/RichText/index.vue.d.ts.map +1 -1
  11. package/dist/components/form/inputs/SelectInput.vue.d.ts +0 -1
  12. package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
  13. package/dist/components/form/inputs/Upload/UploadInput.vue.d.ts.map +1 -1
  14. package/dist/components/lightbox/Lightbox.vue.d.ts.map +1 -1
  15. package/dist/index.cjs +594 -663
  16. package/dist/index.mjs +594 -663
  17. package/dist/plugins/modal.d.ts +5 -0
  18. package/dist/plugins/modal.d.ts.map +1 -1
  19. package/dist/style.css +143 -137
  20. package/dist/types/BagelForm.d.ts +3 -0
  21. package/dist/types/BagelForm.d.ts.map +1 -1
  22. package/package.json +1 -1
  23. package/src/components/Carousel.vue +1 -0
  24. package/src/components/Icon/Icon.vue +1 -1
  25. package/src/components/Modal.vue +0 -1
  26. package/src/components/ModalForm.vue +24 -19
  27. package/src/components/Zoomer.vue +24 -4
  28. package/src/components/form/BagelForm.vue +4 -3
  29. package/src/components/form/index.ts +2 -3
  30. package/src/components/form/inputs/FileUpload.vue +13 -1
  31. package/src/components/form/inputs/NumberInput.vue +6 -6
  32. package/src/components/form/inputs/RichText/index.vue +30 -27
  33. package/src/components/form/inputs/SelectInput.vue +1 -3
  34. package/src/components/form/inputs/Upload/UploadInput.vue +13 -6
  35. package/src/components/lightbox/Lightbox.vue +32 -33
  36. package/src/plugins/modal.ts +5 -0
  37. package/src/types/BagelForm.ts +1 -0
package/dist/index.mjs CHANGED
@@ -45,7 +45,7 @@ const bagelFormUtils = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defi
45
45
  return uploadField;
46
46
  }
47
47
  }, Symbol.toStringTag, { value: "Module" }));
48
- const _sfc_main$18 = /* @__PURE__ */ defineComponent({
48
+ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
49
49
  __name: "Accordion",
50
50
  setup(__props) {
51
51
  const state2 = reactive({
@@ -59,10 +59,10 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
59
59
  };
60
60
  }
61
61
  });
62
- const _hoisted_1$W = ["aria-expanded", "aria-controls"];
63
- const _hoisted_2$D = { class: "accordion-label" };
64
- const _hoisted_3$t = ["id", "aria-hidden"];
65
- const _sfc_main$17 = /* @__PURE__ */ defineComponent({
62
+ const _hoisted_1$X = ["aria-expanded", "aria-controls"];
63
+ const _hoisted_2$E = { class: "accordion-label" };
64
+ const _hoisted_3$u = ["id", "aria-hidden"];
65
+ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
66
66
  __name: "AccordionItem",
67
67
  props: {
68
68
  label: {},
@@ -128,7 +128,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
128
128
  createVNode(unref(_sfc_main$p), { icon: computedIcon.value }, null, 8, ["icon"])
129
129
  ], 2)) : createCommentVNode("", true),
130
130
  renderSlot(_ctx.$slots, "head", {}, () => [
131
- createElementVNode("span", _hoisted_2$D, toDisplayString(_ctx.label), 1)
131
+ createElementVNode("span", _hoisted_2$E, toDisplayString(_ctx.label), 1)
132
132
  ], true),
133
133
  iconPosition.value === "end" ? (openBlock(), createElementBlock("span", {
134
134
  key: 1,
@@ -136,7 +136,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
136
136
  }, [
137
137
  createVNode(unref(_sfc_main$p), { icon: computedIcon.value }, null, 8, ["icon"])
138
138
  ], 2)) : createCommentVNode("", true)
139
- ], 8, _hoisted_1$W),
139
+ ], 8, _hoisted_1$X),
140
140
  createVNode(Transition, { name: "expand" }, {
141
141
  default: withCtx(() => [
142
142
  unref(isOpen) ? (openBlock(), createElementBlock("div", {
@@ -146,7 +146,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
146
146
  "aria-hidden": unref(isOpen) ? "false" : "true"
147
147
  }, [
148
148
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
149
- ], 8, _hoisted_3$t)) : createCommentVNode("", true)
149
+ ], 8, _hoisted_3$u)) : createCommentVNode("", true)
150
150
  ]),
151
151
  _: 3
152
152
  })
@@ -161,9 +161,9 @@ const _export_sfc = (sfc, props2) => {
161
161
  }
162
162
  return target;
163
163
  };
164
- const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-3334f637"]]);
165
- const _hoisted_1$V = { class: "relative" };
166
- const _sfc_main$16 = /* @__PURE__ */ defineComponent({
164
+ const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-3334f637"]]);
165
+ const _hoisted_1$W = { class: "relative" };
166
+ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
167
167
  __name: "AddressSearch",
168
168
  emits: ["addressSelected"],
169
169
  setup(__props, { emit: __emit }) {
@@ -185,8 +185,8 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
185
185
  (_a2 = suggestion.value) == null ? void 0 : _a2.show();
186
186
  }
187
187
  return (_ctx, _cache) => {
188
- return openBlock(), createElementBlock("div", _hoisted_1$V, [
189
- createVNode(unref(_sfc_main$W), {
188
+ return openBlock(), createElementBlock("div", _hoisted_1$W, [
189
+ createVNode(unref(_sfc_main$V), {
190
190
  ref_key: "suggestion",
191
191
  ref: suggestion,
192
192
  noAutoFocus: true,
@@ -221,11 +221,11 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
221
221
  };
222
222
  }
223
223
  });
224
- const _hoisted_1$U = {
224
+ const _hoisted_1$V = {
225
225
  key: 1,
226
226
  class: "bgl_btn-flex"
227
227
  };
228
- const _sfc_main$15 = /* @__PURE__ */ defineComponent({
228
+ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
229
229
  __name: "Btn",
230
230
  props: {
231
231
  disabled: { type: Boolean, default: false },
@@ -291,7 +291,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
291
291
  key: 0,
292
292
  class: "h-100p",
293
293
  size: "15"
294
- })) : (openBlock(), createElementBlock("div", _hoisted_1$U, [
294
+ })) : (openBlock(), createElementBlock("div", _hoisted_1$V, [
295
295
  _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$p), {
296
296
  key: 0,
297
297
  icon: _ctx.icon,
@@ -315,10 +315,10 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
315
315
  };
316
316
  }
317
317
  });
318
- const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-7b18a02c"]]);
319
- const _hoisted_1$T = ["dismissable"];
320
- const _hoisted_2$C = { class: "m-0" };
321
- const _sfc_main$14 = /* @__PURE__ */ defineComponent({
318
+ const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-7b18a02c"]]);
319
+ const _hoisted_1$U = ["dismissable"];
320
+ const _hoisted_2$D = { class: "m-0" };
321
+ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
322
322
  __name: "Alert",
323
323
  props: {
324
324
  message: {},
@@ -346,7 +346,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
346
346
  size: 2,
347
347
  color: color2[_ctx.type]
348
348
  }, null, 8, ["icon", "color"])) : createCommentVNode("", true),
349
- createElementVNode("p", _hoisted_2$C, toDisplayString(_ctx.message), 1),
349
+ createElementVNode("p", _hoisted_2$D, toDisplayString(_ctx.message), 1),
350
350
  createVNode(Btn, {
351
351
  flat: "",
352
352
  thin: "",
@@ -354,13 +354,13 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
354
354
  icon: "close",
355
355
  onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
356
356
  })
357
- ], 10, _hoisted_1$T)) : createCommentVNode("", true);
357
+ ], 10, _hoisted_1$U)) : createCommentVNode("", true);
358
358
  };
359
359
  }
360
360
  });
361
- const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-064bdd20"]]);
362
- const _hoisted_1$S = ["src", "alt"];
363
- const _sfc_main$13 = /* @__PURE__ */ defineComponent({
361
+ const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-064bdd20"]]);
362
+ const _hoisted_1$T = ["src", "alt"];
363
+ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
364
364
  __name: "Avatar",
365
365
  props: {
366
366
  fallback: {},
@@ -378,7 +378,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
378
378
  key: 0,
379
379
  src: _ctx.src,
380
380
  alt: _ctx.name
381
- }, null, 8, _hoisted_1$S)) : (openBlock(), createElementBlock("p", {
381
+ }, null, 8, _hoisted_1$T)) : (openBlock(), createElementBlock("p", {
382
382
  key: 1,
383
383
  style: normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
384
384
  }, toDisplayString((_ctx.fallback || unref(initials)(_ctx.name || "")).toUpperCase()), 5))
@@ -386,8 +386,8 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
386
386
  };
387
387
  }
388
388
  });
389
- const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-46ad8c25"]]);
390
- const _sfc_main$12 = /* @__PURE__ */ defineComponent({
389
+ const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-46ad8c25"]]);
390
+ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
391
391
  __name: "Badge",
392
392
  props: {
393
393
  color: {},
@@ -416,9 +416,9 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
416
416
  };
417
417
  }
418
418
  });
419
- const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-689f051f"]]);
420
- const _hoisted_1$R = { key: 1 };
421
- const _sfc_main$11 = /* @__PURE__ */ defineComponent({
419
+ const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-689f051f"]]);
420
+ const _hoisted_1$S = { key: 1 };
421
+ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
422
422
  __name: "BglComponent",
423
423
  props: {
424
424
  field: {},
@@ -447,7 +447,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
447
447
  if (props2.field.$el === "file") return FileUpload;
448
448
  if (props2.field.$el === "date") return _sfc_main$K;
449
449
  if (props2.field.$el === "tabs") return TabsNav;
450
- if (props2.field.$el === "form") return _sfc_main$Q;
450
+ if (props2.field.$el === "form") return _sfc_main$S;
451
451
  return props2.field.$el ?? "div";
452
452
  });
453
453
  function getFieldData(path) {
@@ -564,7 +564,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
564
564
  id: [props2.id, child.id].filter(Boolean).join("."),
565
565
  field: child,
566
566
  "parent-path": props2.id
567
- }, null, 8, ["id", "field", "parent-path"])) : (openBlock(), createElementBlock("span", _hoisted_1$R, toDisplayString(child), 1))
567
+ }, null, 8, ["id", "field", "parent-path"])) : (openBlock(), createElementBlock("span", _hoisted_1$S, toDisplayString(child), 1))
568
568
  ], 64);
569
569
  }), 128))
570
570
  ], 64))
@@ -574,10 +574,10 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
574
574
  };
575
575
  }
576
576
  });
577
- const _hoisted_1$Q = ["src"];
578
- const _hoisted_2$B = ["autoplay", "muted", "loop", "controls", "playsinline"];
579
- const _hoisted_3$s = ["src", "type"];
580
- const _sfc_main$10 = /* @__PURE__ */ defineComponent({
577
+ const _hoisted_1$R = ["src"];
578
+ const _hoisted_2$C = ["autoplay", "muted", "loop", "controls", "playsinline"];
579
+ const _hoisted_3$t = ["src", "type"];
580
+ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
581
581
  __name: "BglVideo",
582
582
  props: {
583
583
  src: {},
@@ -654,7 +654,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
654
654
  allowfullscreen: "",
655
655
  title: "Video",
656
656
  allow: "autoplay"
657
- }, null, 12, _hoisted_1$Q)) : _ctx.src ? (openBlock(), createElementBlock("video", {
657
+ }, null, 12, _hoisted_1$R)) : _ctx.src ? (openBlock(), createElementBlock("video", {
658
658
  key: 1,
659
659
  ref_key: "video",
660
660
  ref: video,
@@ -668,18 +668,18 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
668
668
  createElementVNode("source", {
669
669
  src: _ctx.src,
670
670
  type: `video/${videoFormat.value}`
671
- }, null, 8, _hoisted_3$s)
672
- ], 12, _hoisted_2$B)) : createCommentVNode("", true)
671
+ }, null, 8, _hoisted_3$t)
672
+ ], 12, _hoisted_2$C)) : createCommentVNode("", true)
673
673
  ], 2);
674
674
  };
675
675
  }
676
676
  });
677
- const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-006552f6"]]);
678
- const _hoisted_1$P = {
677
+ const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-006552f6"]]);
678
+ const _hoisted_1$Q = {
679
679
  key: 0,
680
680
  class: "card_label"
681
681
  };
682
- const _sfc_main$$ = /* @__PURE__ */ defineComponent({
682
+ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
683
683
  __name: "Card",
684
684
  props: {
685
685
  label: {},
@@ -708,7 +708,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
708
708
  }])
709
709
  }, {
710
710
  default: withCtx(() => [
711
- _ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$P, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
711
+ _ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$Q, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
712
712
  renderSlot(_ctx.$slots, "default")
713
713
  ]),
714
714
  _: 3
@@ -718,16 +718,16 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
718
718
  };
719
719
  }
720
720
  });
721
- const _hoisted_1$O = ["dir"];
722
- const _hoisted_2$A = {
721
+ const _hoisted_1$P = ["dir"];
722
+ const _hoisted_2$B = {
723
723
  key: 0,
724
724
  class: "dots"
725
725
  };
726
- const _hoisted_3$r = ["onClick"];
726
+ const _hoisted_3$s = ["onClick"];
727
727
  const _hoisted_4$j = { class: "Handlers" };
728
728
  const GAP_PERCENT = 1;
729
729
  const VELOCITY_SAMPLE_DURATION = 100;
730
- const _sfc_main$_ = /* @__PURE__ */ defineComponent({
730
+ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
731
731
  __name: "Carousel",
732
732
  props: {
733
733
  autoHeight: { type: Boolean, default: false },
@@ -898,6 +898,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
898
898
  });
899
899
  }
900
900
  function startDrag(e) {
901
+ e.stopPropagation();
901
902
  if (e.button !== 0 || !props2.freeDrag || !isSliderAvailable.value) return;
902
903
  clearAutoplay();
903
904
  startX.value = e.pageX;
@@ -1146,13 +1147,13 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
1146
1147
  }, [
1147
1148
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
1148
1149
  ], 38),
1149
- props2.dots && unref(slideCount) > 1 ? (openBlock(), createElementBlock("div", _hoisted_2$A, [
1150
+ props2.dots && unref(slideCount) > 1 ? (openBlock(), createElementBlock("div", _hoisted_2$B, [
1150
1151
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(slideCount), (i2) => {
1151
1152
  return openBlock(), createElementBlock("span", {
1152
1153
  key: i2,
1153
1154
  class: normalizeClass(["dot", { current: unref(activeSlideIndex) === i2 - 1 }]),
1154
1155
  onClick: ($event) => goToSlide(i2 - 1)
1155
- }, null, 10, _hoisted_3$r);
1156
+ }, null, 10, _hoisted_3$s);
1156
1157
  }), 128))
1157
1158
  ])) : createCommentVNode("", true),
1158
1159
  createElementVNode("div", _hoisted_4$j, [
@@ -1169,11 +1170,11 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
1169
1170
  }, void 0, true)
1170
1171
  ])
1171
1172
  ])
1172
- ], 14, _hoisted_1$O);
1173
+ ], 14, _hoisted_1$P);
1173
1174
  };
1174
1175
  }
1175
1176
  });
1176
- const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-f03624ac"]]);
1177
+ const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-1ae4b9ae"]]);
1177
1178
  function _isPlaceholder(a2) {
1178
1179
  return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
1179
1180
  }
@@ -7007,7 +7008,7 @@ const _hoisted_1$1$1 = {
7007
7008
  style: { display: "flex", position: "relative" }
7008
7009
  };
7009
7010
  const _hoisted_2$1$1 = ["width", "height", "viewBox"];
7010
- const _hoisted_3$q = { class: "layer-rectangles" };
7011
+ const _hoisted_3$r = { class: "layer-rectangles" };
7011
7012
  const _hoisted_4$i = ["transform", "onMouseover"];
7012
7013
  const _hoisted_5$h = ["width", "height"];
7013
7014
  const _hoisted_6$e = {
@@ -7025,7 +7026,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
7025
7026
  viewBox: `0 0 ${_ctx.size.width} ${_ctx.size.height}`,
7026
7027
  ref: "el"
7027
7028
  }, [
7028
- createElementVNode("g", _hoisted_3$q, [
7029
+ createElementVNode("g", _hoisted_3$r, [
7029
7030
  (openBlock(true), createElementBlock(
7030
7031
  Fragment,
7031
7032
  null,
@@ -7117,25 +7118,25 @@ var script = defineComponent({
7117
7118
  return { bar, canvas, direction, mouse };
7118
7119
  }
7119
7120
  });
7120
- const _hoisted_1$N = {
7121
+ const _hoisted_1$O = {
7121
7122
  key: 0,
7122
7123
  class: "layer-hover-bar"
7123
7124
  };
7124
- const _hoisted_2$z = ["x", "y", "width", "height"];
7125
+ const _hoisted_2$A = ["x", "y", "width", "height"];
7125
7126
  function render(_ctx, _cache, $props, $setup, $data, $options) {
7126
- return _ctx.mouse.hover ? (openBlock(), createElementBlock("g", _hoisted_1$N, [
7127
+ return _ctx.mouse.hover ? (openBlock(), createElementBlock("g", _hoisted_1$O, [
7127
7128
  createElementVNode("rect", mergeProps({ class: "hover-bar" }, _ctx.barStyle, {
7128
7129
  x: _ctx.bar.x,
7129
7130
  y: _ctx.bar.y,
7130
7131
  width: _ctx.bar.width > 0 ? _ctx.bar.width : 0,
7131
7132
  height: _ctx.bar.height > 0 ? _ctx.bar.height : 0
7132
- }), null, 16, _hoisted_2$z)
7133
+ }), null, 16, _hoisted_2$A)
7133
7134
  ])) : createCommentVNode("v-if", true);
7134
7135
  }
7135
7136
  script.render = render;
7136
7137
  script.__file = "src/components/HoverBar/index.vue";
7137
7138
  const BRAND_COLOR = "var(--bgl-primary)";
7138
- const _sfc_main$Z = /* @__PURE__ */ defineComponent({
7139
+ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
7139
7140
  __name: "Lineart",
7140
7141
  props: {
7141
7142
  data: {},
@@ -7275,15 +7276,15 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
7275
7276
  };
7276
7277
  }
7277
7278
  });
7278
- const _hoisted_1$M = {
7279
+ const _hoisted_1$N = {
7279
7280
  key: 0,
7280
7281
  class: "data"
7281
7282
  };
7282
- const _hoisted_2$y = {
7283
+ const _hoisted_2$z = {
7283
7284
  key: 0,
7284
7285
  class: "data-row m_py-05"
7285
7286
  };
7286
- const _hoisted_3$p = { class: "key" };
7287
+ const _hoisted_3$q = { class: "key" };
7287
7288
  const _hoisted_4$h = { class: "m-0" };
7288
7289
  const _hoisted_5$g = { key: 1 };
7289
7290
  const _hoisted_6$d = {
@@ -7296,7 +7297,7 @@ const _hoisted_9$5 = {
7296
7297
  key: 0,
7297
7298
  class: "m-0"
7298
7299
  };
7299
- const _sfc_main$Y = /* @__PURE__ */ defineComponent({
7300
+ const _sfc_main$X = /* @__PURE__ */ defineComponent({
7300
7301
  __name: "DataPreview",
7301
7302
  props: /* @__PURE__ */ mergeModels({
7302
7303
  showFields: {},
@@ -7332,7 +7333,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
7332
7333
  const computedSchema = computed(() => getFallbackSchema([itemData.value], props2.showFields));
7333
7334
  return (_ctx, _cache) => {
7334
7335
  var _a2;
7335
- return __props.data ? (openBlock(), createElementBlock("div", _hoisted_1$M, [
7336
+ return __props.data ? (openBlock(), createElementBlock("div", _hoisted_1$N, [
7336
7337
  _ctx.title ? (openBlock(), createBlock(unref(_sfc_main$4), {
7337
7338
  key: 0,
7338
7339
  label: _ctx.title
@@ -7341,11 +7342,11 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
7341
7342
  return openBlock(), createElementBlock(Fragment, {
7342
7343
  key: field.id
7343
7344
  }, [
7344
- unref(iffer)(field, itemData.value) ? (openBlock(), createElementBlock("div", _hoisted_2$y, [
7345
- createElementVNode("div", _hoisted_3$p, [
7345
+ unref(iffer)(field, itemData.value) ? (openBlock(), createElementBlock("div", _hoisted_2$z, [
7346
+ createElementVNode("div", _hoisted_3$q, [
7346
7347
  createElementVNode("p", _hoisted_4$h, toDisplayString((field == null ? void 0 : field.label) || unref(keyToLabel)(field.id)), 1)
7347
7348
  ]),
7348
- createVNode(unref(_sfc_main$R), {
7349
+ createVNode(unref(_sfc_main$Q), {
7349
7350
  modelValue: itemData.value,
7350
7351
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => itemData.value = $event),
7351
7352
  label: "",
@@ -7374,7 +7375,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
7374
7375
  };
7375
7376
  }
7376
7377
  });
7377
- const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-6c27f163"]]);
7378
+ const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-6c27f163"]]);
7378
7379
  const NON_DIGIT_REGEX = /[^\d.-]/g;
7379
7380
  function useTableData(options) {
7380
7381
  const sortField = ref("");
@@ -8073,12 +8074,12 @@ function useTableVirtualization(options) {
8073
8074
  registerLastItemObserver
8074
8075
  };
8075
8076
  }
8076
- const _hoisted_1$L = {
8077
+ const _hoisted_1$M = {
8077
8078
  key: 0,
8078
8079
  class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
8079
8080
  };
8080
- const _hoisted_2$x = { class: "infinite-wrapper" };
8081
- const _hoisted_3$o = { class: "row first-row" };
8081
+ const _hoisted_2$y = { class: "infinite-wrapper" };
8082
+ const _hoisted_3$p = { class: "row first-row" };
8082
8083
  const _hoisted_4$g = { key: 0 };
8083
8084
  const _hoisted_5$f = ["onClick"];
8084
8085
  const _hoisted_6$c = { class: "flex" };
@@ -8086,7 +8087,7 @@ const _hoisted_7$8 = ["onClick"];
8086
8087
  const _hoisted_8$5 = { key: 0 };
8087
8088
  const _hoisted_9$4 = ["value"];
8088
8089
  const _hoisted_10$4 = { key: 1 };
8089
- const _sfc_main$X = /* @__PURE__ */ defineComponent({
8090
+ const _sfc_main$W = /* @__PURE__ */ defineComponent({
8090
8091
  __name: "DataTable",
8091
8092
  props: /* @__PURE__ */ mergeModels({
8092
8093
  data: {},
@@ -8194,11 +8195,11 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
8194
8195
  return openBlock(), createElementBlock("div", mergeProps({ class: "table-list-wrap h-100" }, unref(containerProps), {
8195
8196
  class: { "loading-table": loading.value }
8196
8197
  }), [
8197
- loading.value ? (openBlock(), createElementBlock("div", _hoisted_1$L, _cache[4] || (_cache[4] = [
8198
+ loading.value ? (openBlock(), createElementBlock("div", _hoisted_1$M, _cache[4] || (_cache[4] = [
8198
8199
  createElementVNode("div", { class: "loading-table-animation absolute oval" }, null, -1)
8199
8200
  ]))) : (openBlock(), createElementBlock("div", normalizeProps(mergeProps({ key: 1 }, unref(wrapperProps))), [
8200
- createElementVNode("table", _hoisted_2$x, [
8201
- createElementVNode("thead", _hoisted_3$o, [
8201
+ createElementVNode("table", _hoisted_2$y, [
8202
+ createElementVNode("thead", _hoisted_3$p, [
8202
8203
  unref(isSelectable) ? (openBlock(), createElementBlock("th", _hoisted_4$g, [
8203
8204
  createElementVNode("input", {
8204
8205
  ref_key: "allSelectorEl",
@@ -8261,7 +8262,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
8261
8262
  row,
8262
8263
  field
8263
8264
  }, void 0, true) : (openBlock(), createElementBlock("div", _hoisted_10$4, [
8264
- createVNode(unref(_sfc_main$11), {
8265
+ createVNode(unref(_sfc_main$10), {
8265
8266
  id: field.id,
8266
8267
  class: "embedded-field",
8267
8268
  field,
@@ -8286,7 +8287,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
8286
8287
  };
8287
8288
  }
8288
8289
  });
8289
- const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-cf461a0e"]]);
8290
+ const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-cf461a0e"]]);
8290
8291
  const sides = ["top", "right", "bottom", "left"];
8291
8292
  const alignments = ["start", "end"];
8292
8293
  const placements = /* @__PURE__ */ sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
@@ -10833,7 +10834,7 @@ const Gt$1 = {
10833
10834
  install: Ct$1,
10834
10835
  options: h
10835
10836
  };
10836
- const _sfc_main$W = /* @__PURE__ */ defineComponent({
10837
+ const _sfc_main$V = /* @__PURE__ */ defineComponent({
10837
10838
  __name: "Dropdown",
10838
10839
  props: /* @__PURE__ */ mergeModels({
10839
10840
  value: {},
@@ -10911,9 +10912,9 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
10911
10912
  };
10912
10913
  }
10913
10914
  });
10914
- const _hoisted_1$K = { class: "px-1 pt-025 pb-1" };
10915
- const _hoisted_2$w = { class: "ms-1" };
10916
- const _sfc_main$V = /* @__PURE__ */ defineComponent({
10915
+ const _hoisted_1$L = { class: "px-1 pt-025 pb-1" };
10916
+ const _hoisted_2$x = { class: "ms-1" };
10917
+ const _sfc_main$U = /* @__PURE__ */ defineComponent({
10917
10918
  __name: "FieldSetVue",
10918
10919
  props: {
10919
10920
  label: {},
@@ -10921,15 +10922,15 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
10921
10922
  },
10922
10923
  setup(__props) {
10923
10924
  return (_ctx, _cache) => {
10924
- return openBlock(), createElementBlock("fieldset", _hoisted_1$K, [
10925
- createElementVNode("legend", _hoisted_2$w, toDisplayString(_ctx.legend || _ctx.label), 1),
10925
+ return openBlock(), createElementBlock("fieldset", _hoisted_1$L, [
10926
+ createElementVNode("legend", _hoisted_2$x, toDisplayString(_ctx.legend || _ctx.label), 1),
10926
10927
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
10927
10928
  ]);
10928
10929
  };
10929
10930
  }
10930
10931
  });
10931
- const FieldSetVue = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-f7e758e5"]]);
10932
- const _sfc_main$U = /* @__PURE__ */ defineComponent({
10932
+ const FieldSetVue = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-f7e758e5"]]);
10933
+ const _sfc_main$T = /* @__PURE__ */ defineComponent({
10933
10934
  __name: "Flag",
10934
10935
  props: {
10935
10936
  country: {},
@@ -10959,8 +10960,8 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
10959
10960
  };
10960
10961
  }
10961
10962
  });
10962
- const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-f99f1900"]]);
10963
- const _sfc_main$T = /* @__PURE__ */ defineComponent({
10963
+ const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-f99f1900"]]);
10964
+ const _sfc_main$S = /* @__PURE__ */ defineComponent({
10964
10965
  __name: "BagelForm",
10965
10966
  props: {
10966
10967
  modelValue: { default: () => ({}) },
@@ -11000,7 +11001,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
11000
11001
  file: FileUpload,
11001
11002
  date: _sfc_main$K,
11002
11003
  tabs: TabsNav,
11003
- bglform: _sfc_main$Q
11004
+ bglform: _sfc_main$S
11004
11005
  };
11005
11006
  if (field.$el === "textarea" && !((_a2 = field.attrs) == null ? void 0 : _a2.multiline)) {
11006
11007
  field.attrs = { ...field.attrs, multiline: true };
@@ -11068,8 +11069,9 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
11068
11069
  props22.class = typeof field.class === "function" ? field.class(formData.value[field.id], formData.value) : field.class;
11069
11070
  }
11070
11071
  const slots = ((_a2 = field.children) == null ? void 0 : _a2.length) ? {
11071
- default: () => field.children.map((child) => typeof child === "string" ? child : renderSchemaField(child)).filter(Boolean)
11072
- } : void 0;
11072
+ default: () => field.children.map((child) => typeof child === "string" ? child : renderSchemaField(child)).filter(Boolean),
11073
+ ...field.slots
11074
+ } : field.slots;
11073
11075
  return h$2(Component, props22, slots);
11074
11076
  }
11075
11077
  function shouldRenderField(field) {
@@ -11088,9 +11090,9 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
11088
11090
  ref: form,
11089
11091
  onSubmit: withModifiers(handleSubmit, ["prevent"])
11090
11092
  }, [
11091
- resolvedSchema.value ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(resolvedSchema.value, (field, index2) => {
11093
+ resolvedSchema.value ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(resolvedSchema.value, (field) => {
11092
11094
  return openBlock(), createBlock(resolveDynamicComponent(renderSchemaField(field)), {
11093
- key: field.id || index2
11095
+ key: field.id
11094
11096
  });
11095
11097
  }), 128)) : renderSlot(_ctx.$slots, "default", { key: 1 }),
11096
11098
  renderSlot(_ctx.$slots, "submit", {
@@ -11115,8 +11117,8 @@ function useTabs(group) {
11115
11117
  });
11116
11118
  return { currentTab };
11117
11119
  }
11118
- const _hoisted_1$J = ["onClick"];
11119
- const _sfc_main$S = /* @__PURE__ */ defineComponent({
11120
+ const _hoisted_1$K = ["onClick"];
11121
+ const _sfc_main$R = /* @__PURE__ */ defineComponent({
11120
11122
  __name: "TabsNav",
11121
11123
  props: {
11122
11124
  title: {},
@@ -11198,14 +11200,14 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
11198
11200
  icon: tab.icon
11199
11201
  }, null, 8, ["icon"])) : createCommentVNode("", true),
11200
11202
  createTextVNode(" " + toDisplayString(tabLabel(tab)), 1)
11201
- ], 10, _hoisted_1$J);
11203
+ ], 10, _hoisted_1$K);
11202
11204
  }), 128))
11203
11205
  ], true)
11204
11206
  ], 2);
11205
11207
  };
11206
11208
  }
11207
11209
  });
11208
- const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-e680c2a4"]]);
11210
+ const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-e680c2a4"]]);
11209
11211
  const FORM_STATE_KEY = Symbol("bagelFormState");
11210
11212
  function safeClone(obj) {
11211
11213
  if (obj === null || typeof obj !== "object") return obj;
@@ -11267,8 +11269,8 @@ function useBagelFormState() {
11267
11269
  if (!state2) throw new Error("BagelFormState must be provided");
11268
11270
  return state2;
11269
11271
  }
11270
- const _hoisted_1$I = { key: 1 };
11271
- const _sfc_main$R = /* @__PURE__ */ defineComponent({
11272
+ const _hoisted_1$J = { key: 1 };
11273
+ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
11272
11274
  __name: "BglField",
11273
11275
  props: {
11274
11276
  field: {},
@@ -11298,7 +11300,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
11298
11300
  if (props2.field.$el === "file") return FileUpload;
11299
11301
  if (props2.field.$el === "date") return _sfc_main$K;
11300
11302
  if (props2.field.$el === "tabs") return TabsNav;
11301
- if (props2.field.$el === "bglform") return _sfc_main$Q;
11303
+ if (props2.field.$el === "bglform") return _sfc_main$S;
11302
11304
  return props2.field.$el ?? "div";
11303
11305
  });
11304
11306
  const fieldData = computed({
@@ -11363,7 +11365,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
11363
11365
  fieldID: [props2.fieldID, child.id].filter(Boolean).join("."),
11364
11366
  field: child,
11365
11367
  "parent-path": props2.fieldID
11366
- }, null, 8, ["fieldID", "field", "parent-path"])) : (openBlock(), createElementBlock("span", _hoisted_1$I, toDisplayString(child), 1))
11368
+ }, null, 8, ["fieldID", "field", "parent-path"])) : (openBlock(), createElementBlock("span", _hoisted_1$J, toDisplayString(child), 1))
11367
11369
  ], 64);
11368
11370
  }), 128))
11369
11371
  ]),
@@ -11372,151 +11374,8 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
11372
11374
  };
11373
11375
  }
11374
11376
  });
11375
- const _sfc_main$Q = /* @__PURE__ */ defineComponent({
11376
- __name: "BglForm",
11377
- props: {
11378
- label: {},
11379
- fieldID: {},
11380
- schema: {},
11381
- modelValue: { default: () => ({}) },
11382
- onDelete: {},
11383
- onSubmit: {},
11384
- status: {},
11385
- tag: { default: "form" }
11386
- },
11387
- emits: ["update:modelValue", "submit", "dirty"],
11388
- setup(__props, { expose: __expose, emit: __emit }) {
11389
- const props2 = __props;
11390
- const emit2 = __emit;
11391
- const slots = useSlots();
11392
- const { showModal } = useModal();
11393
- const existingFormState = inject(FORM_STATE_KEY);
11394
- const isNested = Boolean(existingFormState && props2.fieldID);
11395
- const { data: data2, isDirty } = isNested ? existingFormState : provideBagelFormState(props2.modelValue);
11396
- let emitDirty = ref(false);
11397
- if (!isNested) {
11398
- watch(() => props2.modelValue, (newVal) => {
11399
- if (emitDirty.value) {
11400
- emitDirty.value = false;
11401
- return;
11402
- }
11403
- data2.value = newVal;
11404
- }, { deep: true, immediate: true });
11405
- watch(() => data2.value, (newVal) => {
11406
- if (emitDirty.value) return;
11407
- emitDirty.value = true;
11408
- emit2("dirty");
11409
- emit2("update:modelValue", newVal);
11410
- }, { deep: true });
11411
- }
11412
- const form = ref();
11413
- function validateForm() {
11414
- setTimeout(() => {
11415
- var _a2;
11416
- return (_a2 = form.value) == null ? void 0 : _a2.reportValidity();
11417
- }, 300);
11418
- if (!form.value) return false;
11419
- return form.value.reportValidity();
11420
- }
11421
- function clearForm() {
11422
- if (!isNested) {
11423
- data2.value = {};
11424
- }
11425
- }
11426
- watch(
11427
- () => props2.status,
11428
- (status) => {
11429
- if (status === "success" && !isNested) {
11430
- isDirty.value = false;
11431
- clearForm();
11432
- }
11433
- },
11434
- { immediate: true }
11435
- );
11436
- function runSubmit() {
11437
- const isValid2 = validateForm();
11438
- if (!isValid2) return;
11439
- emit2("submit", { ...data2.value });
11440
- if (!isNested) {
11441
- isDirty.value = false;
11442
- }
11443
- }
11444
- const i18nT = (val) => val;
11445
- function deleteItem() {
11446
- showModal(
11447
- {
11448
- class: "small-modal",
11449
- title: i18nT("Are you sure?"),
11450
- actions: [
11451
- {
11452
- value: "Confirm",
11453
- color: "red",
11454
- onClick: () => {
11455
- var _a2;
11456
- return (_a2 = props2.onDelete) == null ? void 0 : _a2.call(props2, data2.value.id);
11457
- }
11458
- },
11459
- { value: "Cancel", color: "gray" }
11460
- ]
11461
- },
11462
- { default: i18nT("form.deleteMessage") }
11463
- );
11464
- }
11465
- const computedSchema = computed(() => useBglSchema({ schema: props2.schema }));
11466
- __expose({
11467
- submit: runSubmit,
11468
- validateForm,
11469
- deleteItem,
11470
- isDirty,
11471
- clearForm
11472
- });
11473
- return (_ctx, _cache) => {
11474
- return openBlock(), createElementBlock(Fragment, null, [
11475
- _ctx.tag === "template" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
11476
- (openBlock(true), createElementBlock(Fragment, null, renderList(computedSchema.value, (field, i2) => {
11477
- return openBlock(), createBlock(unref(_sfc_main$R), {
11478
- key: field.id || `${i2}p`,
11479
- fieldID: field.id,
11480
- field
11481
- }, null, 8, ["fieldID", "field"]);
11482
- }), 128)),
11483
- renderSlot(_ctx.$slots, "submit", {
11484
- submit: runSubmit,
11485
- isDirty: unref(isDirty),
11486
- validateForm
11487
- })
11488
- ], 64)) : !unref(slots).success || _ctx.status !== "success" ? (openBlock(), createElementBlock("form", {
11489
- key: 1,
11490
- ref_key: "form",
11491
- ref: form,
11492
- onSubmit: withModifiers(runSubmit, ["prevent"])
11493
- }, [
11494
- _ctx.label ? (openBlock(), createBlock(unref(_sfc_main$4), {
11495
- key: 0,
11496
- tag: "h4",
11497
- label: _ctx.label
11498
- }, null, 8, ["label"])) : createCommentVNode("", true),
11499
- (openBlock(true), createElementBlock(Fragment, null, renderList(computedSchema.value, (field, i2) => {
11500
- return openBlock(), createBlock(unref(_sfc_main$R), {
11501
- key: field.id || `${i2}p`,
11502
- fieldID: field.id,
11503
- field
11504
- }, null, 8, ["fieldID", "field"]);
11505
- }), 128)),
11506
- renderSlot(_ctx.$slots, "submit", {
11507
- submit: runSubmit,
11508
- isDirty: unref(isDirty),
11509
- validateForm
11510
- })
11511
- ], 544)) : createCommentVNode("", true),
11512
- _ctx.status === "success" ? renderSlot(_ctx.$slots, "success", { key: 2 }) : createCommentVNode("", true),
11513
- _ctx.status === "error" ? renderSlot(_ctx.$slots, "error", { key: 3 }) : createCommentVNode("", true)
11514
- ], 64);
11515
- };
11516
- }
11517
- });
11518
- const _hoisted_1$H = { class: "label mb-05" };
11519
- const _hoisted_2$v = {
11377
+ const _hoisted_1$I = { class: "label mb-05" };
11378
+ const _hoisted_2$w = {
11520
11379
  key: 0,
11521
11380
  class: "-ms-05 ps-05 border-start"
11522
11381
  };
@@ -11577,8 +11436,8 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
11577
11436
  return openBlock(), createElementBlock("div", {
11578
11437
  class: normalizeClass(props2.class)
11579
11438
  }, [
11580
- createElementVNode("p", _hoisted_1$H, toDisplayString(_ctx.label), 1),
11581
- _ctx.schema ? (openBlock(), createElementBlock("div", _hoisted_2$v, [
11439
+ createElementVNode("p", _hoisted_1$I, toDisplayString(_ctx.label), 1),
11440
+ _ctx.schema ? (openBlock(), createElementBlock("div", _hoisted_2$w, [
11582
11441
  (openBlock(true), createElementBlock(Fragment, null, renderList(data2.value, (_2, i2) => {
11583
11442
  return openBlock(), createElementBlock("div", {
11584
11443
  key: i2,
@@ -11586,7 +11445,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
11586
11445
  thin: "",
11587
11446
  class: "mb-05 itemBox transition p-05"
11588
11447
  }, [
11589
- createVNode(unref(_sfc_main$Q), {
11448
+ createVNode(unref(_sfc_main$S), {
11590
11449
  modelValue: data2.value[i2],
11591
11450
  "onUpdate:modelValue": [($event) => data2.value[i2] = $event, emitValue],
11592
11451
  schema: _ctx.schema
@@ -11616,7 +11475,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
11616
11475
  _: 1
11617
11476
  })) : createCommentVNode("", true)
11618
11477
  ])) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(data2.value, (_2, i2) => {
11619
- return openBlock(), createBlock(unref(_sfc_main$R), {
11478
+ return openBlock(), createBlock(unref(_sfc_main$Q), {
11620
11479
  key: i2,
11621
11480
  modelValue: data2.value[i2],
11622
11481
  "onUpdate:modelValue": [($event) => data2.value[i2] = $event, emitValue],
@@ -11627,7 +11486,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
11627
11486
  };
11628
11487
  }
11629
11488
  });
11630
- const _hoisted_1$G = { class: "primary-checkbox" };
11489
+ const _hoisted_1$H = { class: "primary-checkbox" };
11631
11490
  const _sfc_main$O = /* @__PURE__ */ defineComponent({
11632
11491
  __name: "Checkbox",
11633
11492
  props: {
@@ -11638,7 +11497,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
11638
11497
  setup(__props) {
11639
11498
  const val = useModel(__props, "modelValue");
11640
11499
  return (_ctx, _cache) => {
11641
- return openBlock(), createElementBlock("label", _hoisted_1$G, [
11500
+ return openBlock(), createElementBlock("label", _hoisted_1$H, [
11642
11501
  renderSlot(_ctx.$slots, "label", {}, void 0, true),
11643
11502
  withDirectives(createElementVNode("input", {
11644
11503
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
@@ -11651,9 +11510,9 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
11651
11510
  }
11652
11511
  });
11653
11512
  const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-73f1d9ad"]]);
11654
- const _hoisted_1$F = ["title"];
11655
- const _hoisted_2$u = ["id", "value", "required"];
11656
- const _hoisted_3$n = ["for"];
11513
+ const _hoisted_1$G = ["title"];
11514
+ const _hoisted_2$v = ["id", "value", "required"];
11515
+ const _hoisted_3$o = ["for"];
11657
11516
  const _sfc_main$N = /* @__PURE__ */ defineComponent({
11658
11517
  __name: "CheckInput",
11659
11518
  props: /* @__PURE__ */ mergeModels({
@@ -11688,25 +11547,25 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
11688
11547
  required: _ctx.required,
11689
11548
  type: "checkbox",
11690
11549
  class: "me-05"
11691
- }, null, 8, _hoisted_2$u), [
11550
+ }, null, 8, _hoisted_2$v), [
11692
11551
  [vModelCheckbox, checked.value]
11693
11552
  ]),
11694
11553
  createElementVNode("label", { for: inputId.value }, [
11695
11554
  renderSlot(_ctx.$slots, "label", {}, () => [
11696
11555
  createTextVNode(toDisplayString(_ctx.label), 1)
11697
11556
  ], true)
11698
- ], 8, _hoisted_3$n)
11699
- ], 10, _hoisted_1$F);
11557
+ ], 8, _hoisted_3$o)
11558
+ ], 10, _hoisted_1$G);
11700
11559
  };
11701
11560
  }
11702
11561
  });
11703
11562
  const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-03ed2982"]]);
11704
- const _hoisted_1$E = { class: "mb-05" };
11705
- const _hoisted_2$t = {
11563
+ const _hoisted_1$F = { class: "mb-05" };
11564
+ const _hoisted_2$u = {
11706
11565
  key: 0,
11707
11566
  class: "label txt-start"
11708
11567
  };
11709
- const _hoisted_3$m = {
11568
+ const _hoisted_3$n = {
11710
11569
  key: 1,
11711
11570
  class: "code-editor-wrap grid rounded p-1 overflow hm-300px ltr txt-start relative h-100p"
11712
11571
  };
@@ -11795,9 +11654,9 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
11795
11654
  }
11796
11655
  }, { immediate: true });
11797
11656
  return (_ctx, _cache) => {
11798
- return openBlock(), createElementBlock("div", _hoisted_1$E, [
11799
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$t, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
11800
- unref(loaded) ? (openBlock(), createElementBlock("div", _hoisted_3$m, [
11657
+ return openBlock(), createElementBlock("div", _hoisted_1$F, [
11658
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$u, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
11659
+ unref(loaded) ? (openBlock(), createElementBlock("div", _hoisted_3$n, [
11801
11660
  createElementVNode("div", {
11802
11661
  class: "relative block h-100",
11803
11662
  style: normalizeStyle({ height: `calc(${unref(elHeight)} - 2rem)` })
@@ -11832,8 +11691,8 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
11832
11691
  }
11833
11692
  });
11834
11693
  const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-1fbc9b61"]]);
11835
- const _hoisted_1$D = ["title"];
11836
- const _hoisted_2$s = ["id", "placeholder", "required"];
11694
+ const _hoisted_1$E = ["title"];
11695
+ const _hoisted_2$t = ["id", "placeholder", "required"];
11837
11696
  const _sfc_main$L = /* @__PURE__ */ defineComponent({
11838
11697
  __name: "ColorPicker",
11839
11698
  props: {
@@ -11872,11 +11731,11 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
11872
11731
  placeholder: _ctx.placeholder || _ctx.label,
11873
11732
  class: { "no-edit": !_ctx.editMode },
11874
11733
  required: _ctx.required
11875
- }, _ctx.nativeInputAttrs), null, 16, _hoisted_2$s), [
11734
+ }, _ctx.nativeInputAttrs), null, 16, _hoisted_2$t), [
11876
11735
  [vModelText, inputVal.value]
11877
11736
  ])
11878
11737
  ])
11879
- ], 10, _hoisted_1$D)) : createCommentVNode("", true);
11738
+ ], 10, _hoisted_1$E)) : createCommentVNode("", true);
11880
11739
  };
11881
11740
  }
11882
11741
  });
@@ -20434,8 +20293,8 @@ const eo = ({
20434
20293
  Object.entries(go).forEach(([e, t]) => {
20435
20294
  e !== "default" && (Hn[e] = t);
20436
20295
  });
20437
- const _hoisted_1$C = ["title"];
20438
- const _hoisted_2$r = { key: 0 };
20296
+ const _hoisted_1$D = ["title"];
20297
+ const _hoisted_2$s = { key: 0 };
20439
20298
  const _sfc_main$K = /* @__PURE__ */ defineComponent({
20440
20299
  __name: "DateInput",
20441
20300
  props: {
@@ -20478,7 +20337,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
20478
20337
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
20479
20338
  title: _ctx.label
20480
20339
  }, [
20481
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$r, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
20340
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$s, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
20482
20341
  createVNode(unref(Hn), mergeProps({
20483
20342
  ref_key: "datePicker",
20484
20343
  ref: datePicker,
@@ -20494,13 +20353,13 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
20494
20353
  "minutes-grid-increment": _ctx.minutesGridIncrement,
20495
20354
  "start-time": { hours: 8, minutes: 0 }
20496
20355
  }), null, 16, ["modelValue", "required", "enable-time-picker", "allowed-dates", "time-picker-inline", "minutes-increment", "minutes-grid-increment"])
20497
- ], 10, _hoisted_1$C);
20356
+ ], 10, _hoisted_1$D);
20498
20357
  };
20499
20358
  }
20500
20359
  });
20501
- const _hoisted_1$B = ["title"];
20502
- const _hoisted_2$q = { key: 0 };
20503
- const _hoisted_3$l = {
20360
+ const _hoisted_1$C = ["title"];
20361
+ const _hoisted_2$r = { key: 0 };
20362
+ const _hoisted_3$m = {
20504
20363
  key: 0,
20505
20364
  class: "required"
20506
20365
  };
@@ -20516,16 +20375,16 @@ const _hoisted_11$3 = {
20516
20375
  class: "calendar-grid grid gap-025"
20517
20376
  };
20518
20377
  const _hoisted_12$3 = ["disabled", "onClick"];
20519
- const _hoisted_13$3 = {
20378
+ const _hoisted_13$2 = {
20520
20379
  key: 1,
20521
20380
  class: "month-grid grid gap-05 p-05"
20522
20381
  };
20523
20382
  const _hoisted_14$2 = ["disabled", "onClick"];
20524
- const _hoisted_15$1 = {
20383
+ const _hoisted_15$2 = {
20525
20384
  key: 2,
20526
20385
  class: "year-grid grid gap-05 p-0"
20527
20386
  };
20528
- const _hoisted_16 = ["disabled", "onClick"];
20387
+ const _hoisted_16$2 = ["disabled", "onClick"];
20529
20388
  const _hoisted_17 = {
20530
20389
  key: 0,
20531
20390
  class: "time-picker flex column gap-1 w-120px"
@@ -20705,9 +20564,9 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
20705
20564
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
20706
20565
  title: _ctx.label
20707
20566
  }, [
20708
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$q, [
20567
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$r, [
20709
20568
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
20710
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$l, "*")) : createCommentVNode("", true)
20569
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$m, "*")) : createCommentVNode("", true)
20711
20570
  ])) : createCommentVNode("", true),
20712
20571
  createVNode(unref(kt$1), {
20713
20572
  shown: unref(isOpen),
@@ -20788,7 +20647,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
20788
20647
  onClick: ($event) => selectDate(date2)
20789
20648
  }, toDisplayString(date2 == null ? void 0 : date2.getDate()), 11, _hoisted_12$3);
20790
20649
  }), 128))
20791
- ])) : unref(currentView) === "months" ? (openBlock(), createElementBlock("div", _hoisted_13$3, [
20650
+ ])) : unref(currentView) === "months" ? (openBlock(), createElementBlock("div", _hoisted_13$2, [
20792
20651
  (openBlock(true), createElementBlock(Fragment, null, renderList(months.value, (month) => {
20793
20652
  return openBlock(), createElementBlock("button", {
20794
20653
  key: month.value,
@@ -20800,7 +20659,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
20800
20659
  onClick: ($event) => selectMonth(month.value)
20801
20660
  }, toDisplayString(month.name), 11, _hoisted_14$2);
20802
20661
  }), 128))
20803
- ])) : (openBlock(), createElementBlock("div", _hoisted_15$1, [
20662
+ ])) : (openBlock(), createElementBlock("div", _hoisted_15$2, [
20804
20663
  (openBlock(true), createElementBlock(Fragment, null, renderList(years.value, (year) => {
20805
20664
  return openBlock(), createElementBlock("button", {
20806
20665
  key: year.value,
@@ -20810,7 +20669,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
20810
20669
  }]),
20811
20670
  disabled: year.disabled,
20812
20671
  onClick: ($event) => selectYear(year.value)
20813
- }, toDisplayString(year.value), 11, _hoisted_16);
20672
+ }, toDisplayString(year.value), 11, _hoisted_16$2);
20814
20673
  }), 128))
20815
20674
  ]))
20816
20675
  ]),
@@ -20869,14 +20728,14 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
20869
20728
  ]),
20870
20729
  _: 1
20871
20730
  }, 8, ["shown"])
20872
- ], 10, _hoisted_1$B);
20731
+ ], 10, _hoisted_1$C);
20873
20732
  };
20874
20733
  }
20875
20734
  });
20876
20735
  const DatePick = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-8de3f3c6"]]);
20877
- const _hoisted_1$A = { class: "datetime-wrap" };
20878
- const _hoisted_2$p = { class: "date-wrap" };
20879
- const _hoisted_3$k = {
20736
+ const _hoisted_1$B = { class: "datetime-wrap" };
20737
+ const _hoisted_2$q = { class: "date-wrap" };
20738
+ const _hoisted_3$l = {
20880
20739
  key: 0,
20881
20740
  class: "time-wrap"
20882
20741
  };
@@ -20910,8 +20769,8 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
20910
20769
  return `${hour}:${minute}`;
20911
20770
  });
20912
20771
  return (_ctx, _cache) => {
20913
- return openBlock(), createElementBlock("div", _hoisted_1$A, [
20914
- createElementVNode("div", _hoisted_2$p, [
20772
+ return openBlock(), createElementBlock("div", _hoisted_1$B, [
20773
+ createElementVNode("div", _hoisted_2$q, [
20915
20774
  createVNode(unref(Hn), mergeProps({
20916
20775
  modelValue: selectedDate.value,
20917
20776
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectedDate.value = $event),
@@ -20929,7 +20788,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
20929
20788
  _: 1
20930
20789
  }, 16, ["modelValue", "allowed-dates", "disabled-dates"])
20931
20790
  ]),
20932
- _ctx.showTimeWrap ? (openBlock(), createElementBlock("div", _hoisted_3$k, [
20791
+ _ctx.showTimeWrap ? (openBlock(), createElementBlock("div", _hoisted_3$l, [
20933
20792
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(hours), (hr2) => {
20934
20793
  return openBlock(), createElementBlock(Fragment, { key: hr2 }, [
20935
20794
  withDirectives(createElementVNode("input", {
@@ -20951,44 +20810,46 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
20951
20810
  };
20952
20811
  }
20953
20812
  });
20954
- const _hoisted_1$z = { class: "bagel-input" };
20955
- const _hoisted_2$o = {
20813
+ const _hoisted_1$A = { class: "bagel-input" };
20814
+ const _hoisted_2$p = {
20956
20815
  key: 0,
20957
20816
  placeholder: "required",
20958
20817
  type: "text",
20959
20818
  required: "",
20960
20819
  class: "pixel"
20961
20820
  };
20962
- const _hoisted_3$j = { class: "m-05 flex opacity-7 z-99" };
20963
- const _hoisted_4$c = { class: "ellipsis-1 word-break-all h-20 m-0" };
20964
- const _hoisted_5$b = {
20821
+ const _hoisted_3$k = { class: "m-05 flex opacity-7 z-99" };
20822
+ const _hoisted_4$c = { class: "ellipsis-1 word-break-all h-20 m-0 color-black" };
20823
+ const _hoisted_5$b = { class: "flex gap-025 rounded pe-1 ps-05 py-025 bg-gray-80 -my-1" };
20824
+ const _hoisted_6$9 = { class: "ellipsis-1 word-break-all h-20 m-0 color-black txt18" };
20825
+ const _hoisted_7$6 = {
20965
20826
  key: 1,
20966
20827
  class: "txt-gray txt-12"
20967
20828
  };
20968
- const _hoisted_6$9 = {
20829
+ const _hoisted_8$3 = {
20969
20830
  key: 0,
20970
20831
  class: "bgl-multi-preview"
20971
20832
  };
20972
- const _hoisted_7$6 = { class: "m-0" };
20973
- const _hoisted_8$3 = { class: "no-margin multi-preview-txt" };
20974
- const _hoisted_9$2 = {
20833
+ const _hoisted_9$2 = { class: "m-0" };
20834
+ const _hoisted_10$2 = { class: "no-margin multi-preview-txt" };
20835
+ const _hoisted_11$2 = {
20975
20836
  key: 0,
20976
20837
  class: "progress"
20977
20838
  };
20978
- const _hoisted_10$2 = {
20839
+ const _hoisted_12$2 = {
20979
20840
  key: 1,
20980
20841
  class: "bgl-single-preview"
20981
20842
  };
20982
- const _hoisted_11$2 = { class: "position-start m-05 flex opacity-7 z-99 gap-025" };
20983
- const _hoisted_12$2 = {
20843
+ const _hoisted_13$1 = { class: "position-start m-05 flex opacity-7 z-99 gap-025" };
20844
+ const _hoisted_14$1 = {
20984
20845
  key: 0,
20985
20846
  class: "h-100"
20986
20847
  };
20987
- const _hoisted_13$2 = {
20848
+ const _hoisted_15$1 = {
20988
20849
  key: 0,
20989
20850
  class: "progress"
20990
20851
  };
20991
- const _hoisted_14$1 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
20852
+ const _hoisted_16$1 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
20992
20853
  const _sfc_main$H = /* @__PURE__ */ defineComponent({
20993
20854
  __name: "FileUpload",
20994
20855
  props: /* @__PURE__ */ mergeModels({
@@ -21161,10 +21022,10 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
21161
21022
  return (_ctx, _cache) => {
21162
21023
  const _directive_tooltip = resolveDirective("tooltip");
21163
21024
  const _directive_lightbox = resolveDirective("lightbox");
21164
- return openBlock(), createElementBlock("div", _hoisted_1$z, [
21025
+ return openBlock(), createElementBlock("div", _hoisted_1$A, [
21165
21026
  createElementVNode("label", null, toDisplayString(_ctx.label), 1),
21166
- _ctx.required && !storageFiles.value.length ? (openBlock(), createElementBlock("input", _hoisted_2$o)) : createCommentVNode("", true),
21167
- _ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main$$), {
21027
+ _ctx.required && !storageFiles.value.length ? (openBlock(), createElementBlock("input", _hoisted_2$p)) : createCommentVNode("", true),
21028
+ _ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main$_), {
21168
21029
  key: 1,
21169
21030
  outline: "",
21170
21031
  class: "flex p-05 gap-1",
@@ -21189,7 +21050,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
21189
21050
  key: file.id,
21190
21051
  class: "txt-gray txt-12 flex"
21191
21052
  }, [
21192
- createElementVNode("div", _hoisted_3$j, [
21053
+ createElementVNode("div", _hoisted_3$k, [
21193
21054
  withDirectives(createVNode(unref(Btn), {
21194
21055
  color: "gray",
21195
21056
  thin: "",
@@ -21223,6 +21084,17 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
21223
21084
  ])), [
21224
21085
  [_directive_lightbox, { src: file.url, download: true }]
21225
21086
  ]),
21087
+ createElementVNode("div", _hoisted_5$b, [
21088
+ createVNode(unref(_sfc_main$p), {
21089
+ icon: "draft",
21090
+ size: 1.5
21091
+ }),
21092
+ withDirectives((openBlock(), createElementBlock("p", _hoisted_6$9, [
21093
+ createTextVNode(toDisplayString(file.name), 1)
21094
+ ])), [
21095
+ [_directive_lightbox, { src: file.url, download: true }]
21096
+ ])
21097
+ ]),
21226
21098
  createVNode(unref(Btn), {
21227
21099
  thin: "",
21228
21100
  flat: "",
@@ -21233,7 +21105,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
21233
21105
  ])
21234
21106
  ]);
21235
21107
  }), 128)),
21236
- !storageFiles.value.length && !fileQueue.value.length ? (openBlock(), createElementBlock("span", _hoisted_5$b, " No file selected ")) : createCommentVNode("", true)
21108
+ !storageFiles.value.length && !fileQueue.value.length ? (openBlock(), createElementBlock("span", _hoisted_7$6, " No file selected ")) : createCommentVNode("", true)
21237
21109
  ]),
21238
21110
  _: 1
21239
21111
  })) : (openBlock(), createElementBlock("div", {
@@ -21253,7 +21125,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
21253
21125
  files: storageFiles.value,
21254
21126
  fileQueue: fileQueue.value
21255
21127
  }, () => [
21256
- _ctx.multiple ? (openBlock(), createElementBlock("div", _hoisted_6$9, [
21128
+ _ctx.multiple ? (openBlock(), createElementBlock("div", _hoisted_8$3, [
21257
21129
  (openBlock(true), createElementBlock(Fragment, null, renderList(storageFiles.value, (file) => {
21258
21130
  return withDirectives((openBlock(), createElementBlock("div", {
21259
21131
  key: file.id,
@@ -21269,7 +21141,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
21269
21141
  icon: "draft",
21270
21142
  class: "multi-preview"
21271
21143
  })),
21272
- createElementVNode("p", _hoisted_7$6, toDisplayString(file.name), 1),
21144
+ createElementVNode("p", _hoisted_9$2, toDisplayString(file.name), 1),
21273
21145
  createVNode(unref(Btn), {
21274
21146
  thin: "",
21275
21147
  flat: "",
@@ -21299,12 +21171,12 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
21299
21171
  icon: "draft",
21300
21172
  class: "multi-preview"
21301
21173
  })),
21302
- createElementVNode("p", _hoisted_8$3, toDisplayString(fileQ.name), 1),
21174
+ createElementVNode("p", _hoisted_10$2, toDisplayString(fileQ.name), 1),
21303
21175
  createElementVNode("div", {
21304
21176
  class: normalizeClass(["pie", { complete: fileQ.progress === 100 }]),
21305
21177
  style: normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
21306
21178
  }, [
21307
- fileQ.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_9$2, toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : createCommentVNode("", true),
21179
+ fileQ.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_11$2, toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : createCommentVNode("", true),
21308
21180
  createVNode(unref(_sfc_main$p), {
21309
21181
  class: "success",
21310
21182
  icon: "check"
@@ -21313,13 +21185,13 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
21313
21185
  ]);
21314
21186
  }), 128))
21315
21187
  ])) : createCommentVNode("", true),
21316
- !_ctx.multiple && (storageFiles.value.length > 0 || fileQueue.value.length > 0) ? (openBlock(), createElementBlock("div", _hoisted_10$2, [
21188
+ !_ctx.multiple && (storageFiles.value.length > 0 || fileQueue.value.length > 0) ? (openBlock(), createElementBlock("div", _hoisted_12$2, [
21317
21189
  (openBlock(true), createElementBlock(Fragment, null, renderList(storageFiles.value, (file) => {
21318
21190
  return openBlock(), createElementBlock("div", {
21319
21191
  key: file.id,
21320
21192
  class: normalizeClass(["single-image-item-preview", { "bgl_fill-image": _ctx.fill }])
21321
21193
  }, [
21322
- createElementVNode("div", _hoisted_11$2, [
21194
+ createElementVNode("div", _hoisted_13$1, [
21323
21195
  withDirectives(createVNode(unref(Btn), {
21324
21196
  color: "gray",
21325
21197
  thin: "",
@@ -21349,7 +21221,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
21349
21221
  [_directive_tooltip, "Download"]
21350
21222
  ])
21351
21223
  ]),
21352
- isImage(file.extension || file.url) ? (openBlock(), createElementBlock("div", _hoisted_12$2, [
21224
+ isImage(file.extension || file.url) ? (openBlock(), createElementBlock("div", _hoisted_14$1, [
21353
21225
  withDirectives(createVNode(unref(Image$1), {
21354
21226
  class: "single-preview",
21355
21227
  src: file.url,
@@ -21377,18 +21249,20 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
21377
21249
  class: normalizeClass(["pie", { complete: fileQ.progress === 100 }]),
21378
21250
  style: normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
21379
21251
  }, [
21380
- fileQ.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_13$2, toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : createCommentVNode("", true),
21252
+ fileQ.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_15$1, toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : createCommentVNode("", true),
21381
21253
  createVNode(unref(_sfc_main$p), {
21382
21254
  class: "success",
21383
21255
  icon: "check"
21384
21256
  })
21385
21257
  ], 6),
21386
- isImage(fileQ.file.type) ? (openBlock(), createBlock(unref(Image$1), {
21258
+ isImage(fileQ.file.type) ? withDirectives((openBlock(), createBlock(unref(Image$1), {
21387
21259
  key: 0,
21388
21260
  class: "single-preview",
21389
21261
  src: fileToUrl(fileQ.file),
21390
21262
  alt: ""
21391
- }, null, 8, ["src"])) : createCommentVNode("", true)
21263
+ }, null, 8, ["src"])), [
21264
+ [_directive_lightbox, { src: fileToUrl(fileQ.file), download: true }]
21265
+ ]) : createCommentVNode("", true)
21392
21266
  ], 2);
21393
21267
  }), 128))
21394
21268
  ])) : createCommentVNode("", true)
@@ -21399,7 +21273,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
21399
21273
  fileQueue: fileQueue.value,
21400
21274
  browse
21401
21275
  }, () => [
21402
- createElementVNode("p", _hoisted_14$1, [
21276
+ createElementVNode("p", _hoisted_16$1, [
21403
21277
  createVNode(unref(_sfc_main$p), { icon: "upload_2" }),
21404
21278
  _cache[3] || (_cache[3] = createTextVNode(" Drop files here or click to upload "))
21405
21279
  ])
@@ -21409,10 +21283,10 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
21409
21283
  };
21410
21284
  }
21411
21285
  });
21412
- const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-a9ae1c29"]]);
21413
- const _hoisted_1$y = ["title"];
21414
- const _hoisted_2$n = { key: 0 };
21415
- const _hoisted_3$i = ["value", "placeholder"];
21286
+ const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-9d12086d"]]);
21287
+ const _hoisted_1$z = ["title"];
21288
+ const _hoisted_2$o = { key: 0 };
21289
+ const _hoisted_3$j = ["value", "placeholder"];
21416
21290
  const _sfc_main$G = /* @__PURE__ */ defineComponent({
21417
21291
  __name: "JSONInput",
21418
21292
  props: {
@@ -21436,7 +21310,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
21436
21310
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
21437
21311
  title: _ctx.description
21438
21312
  }, [
21439
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$n, [
21313
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$o, [
21440
21314
  createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
21441
21315
  ])) : createCommentVNode("", true),
21442
21316
  createElementVNode("textarea", {
@@ -21444,15 +21318,15 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
21444
21318
  class: normalizeClass({ "no-edit": !_ctx.editMode }),
21445
21319
  placeholder: _ctx.placeholder,
21446
21320
  onInput: handleInput
21447
- }, null, 42, _hoisted_3$i)
21448
- ], 10, _hoisted_1$y);
21321
+ }, null, 42, _hoisted_3$j)
21322
+ ], 10, _hoisted_1$z);
21449
21323
  };
21450
21324
  }
21451
21325
  });
21452
21326
  const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-1cbaeab2"]]);
21453
- const _hoisted_1$x = ["for"];
21454
- const _hoisted_2$m = ["id", "placeholder", "disabled", "required", "readonly", "onKeydown"];
21455
- const _hoisted_3$h = { key: 1 };
21327
+ const _hoisted_1$y = ["for"];
21328
+ const _hoisted_2$n = ["id", "placeholder", "disabled", "required", "readonly", "onKeydown"];
21329
+ const _hoisted_3$i = { key: 1 };
21456
21330
  const _hoisted_4$b = {
21457
21331
  key: 5,
21458
21332
  class: "flex column spinner"
@@ -21480,18 +21354,18 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
21480
21354
  emits: ["update:modelValue"],
21481
21355
  setup(__props, { emit: __emit }) {
21482
21356
  const emit2 = __emit;
21483
- let numberValue = ref(Number.parseFloat(`${__props.modelValue}`) || 0);
21357
+ let numberValue = ref(Number.parseFloat(`${__props.modelValue}`) || void 0);
21484
21358
  const btnLayouts = ["horizontal", "vertical"];
21485
- const canAdd = computed(() => !(__props.max !== void 0 && numberValue.value + __props.step > __props.max));
21486
- const canDecrement = computed(() => !(__props.min !== void 0 && numberValue.value - __props.step < __props.min));
21359
+ const canAdd = computed(() => !(__props.max !== void 0 && (numberValue.value || 0 + __props.step) > __props.max));
21360
+ const canDecrement = computed(() => !(__props.min !== void 0 && (numberValue.value || 0 - __props.step) < __props.min));
21487
21361
  function increment() {
21488
21362
  if (!canAdd.value) return;
21489
- numberValue.value += __props.step;
21363
+ numberValue.value = (numberValue.value || 0) + __props.step;
21490
21364
  emit2("update:modelValue", numberValue.value);
21491
21365
  }
21492
21366
  function decrement() {
21493
21367
  if (!canDecrement.value) return;
21494
- numberValue.value -= __props.step;
21368
+ numberValue.value = (numberValue.value || 0) - __props.step;
21495
21369
  emit2("update:modelValue", numberValue.value);
21496
21370
  }
21497
21371
  function formatNumber2(num) {
@@ -21510,7 +21384,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
21510
21384
  emit2("update:modelValue", numberValue.value);
21511
21385
  }
21512
21386
  watch(() => numberValue.value, () => {
21513
- formattedValue.value = formatNumber2(numberValue.value);
21387
+ formattedValue.value = numberValue.value !== void 0 ? formatNumber2(numberValue.value) : "";
21514
21388
  }, { immediate: true });
21515
21389
  watch(() => __props.modelValue, (newVal) => {
21516
21390
  if (newVal !== numberValue.value) {
@@ -21560,7 +21434,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
21560
21434
  withKeys(withModifiers(increment, ["prevent"]), ["up"]),
21561
21435
  withKeys(withModifiers(decrement, ["prevent"]), ["down"])
21562
21436
  ]
21563
- }, null, 42, _hoisted_2$m), [
21437
+ }, null, 42, _hoisted_2$n), [
21564
21438
  [
21565
21439
  vModelText,
21566
21440
  unref(formattedValue),
@@ -21574,7 +21448,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
21574
21448
  { number: true }
21575
21449
  ]
21576
21450
  ]),
21577
- _ctx.helptext ? (openBlock(), createElementBlock("p", _hoisted_3$h, toDisplayString(_ctx.helptext), 1)) : createCommentVNode("", true),
21451
+ _ctx.helptext ? (openBlock(), createElementBlock("p", _hoisted_3$i, toDisplayString(_ctx.helptext), 1)) : createCommentVNode("", true),
21578
21452
  _ctx.iconStart ? (openBlock(), createBlock(unref(_sfc_main$p), {
21579
21453
  key: 2,
21580
21454
  class: "iconStart",
@@ -21613,13 +21487,13 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
21613
21487
  }, null, 8, ["disabled"])
21614
21488
  ])) : createCommentVNode("", true)
21615
21489
  ], 2)
21616
- ], 8, _hoisted_1$x)
21490
+ ], 8, _hoisted_1$y)
21617
21491
  ], 2);
21618
21492
  };
21619
21493
  }
21620
21494
  });
21621
- const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-7a435cc2"]]);
21622
- const _hoisted_1$w = ["value", "autofocus", "onKeydown", "onPaste"];
21495
+ const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-cacbf10f"]]);
21496
+ const _hoisted_1$x = ["value", "autofocus", "onKeydown", "onPaste"];
21623
21497
  const _sfc_main$E = /* @__PURE__ */ defineComponent({
21624
21498
  __name: "OTP",
21625
21499
  props: {
@@ -21718,15 +21592,15 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
21718
21592
  oninput: "this.value = this.value.slice(0, 1);",
21719
21593
  onKeydown: ($event) => handleKeyDown($event, ind),
21720
21594
  onPaste: ($event) => handlePaste($event, ind)
21721
- }, null, 40, _hoisted_1$w);
21595
+ }, null, 40, _hoisted_1$x);
21722
21596
  }), 128))
21723
21597
  ], 512);
21724
21598
  };
21725
21599
  }
21726
21600
  });
21727
21601
  const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-5c22c199"]]);
21728
- const _hoisted_1$v = { class: "relative" };
21729
- const _hoisted_2$l = { class: "m-password position-bottom-end flex column justify-content-center" };
21602
+ const _hoisted_1$w = { class: "relative" };
21603
+ const _hoisted_2$m = { class: "m-password position-bottom-end flex column justify-content-center" };
21730
21604
  const _sfc_main$D = /* @__PURE__ */ defineComponent({
21731
21605
  __name: "PasswordInput",
21732
21606
  props: /* @__PURE__ */ mergeModels({
@@ -21768,7 +21642,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
21768
21642
  );
21769
21643
  const inputType = computed(() => showPwd.value ? "text" : "password");
21770
21644
  return (_ctx, _cache) => {
21771
- return openBlock(), createElementBlock("div", _hoisted_1$v, [
21645
+ return openBlock(), createElementBlock("div", _hoisted_1$w, [
21772
21646
  createVNode(unref(TextInput), mergeProps({
21773
21647
  modelValue: password.value,
21774
21648
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => password.value = $event)
@@ -21776,7 +21650,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
21776
21650
  type: inputType.value,
21777
21651
  class: "mb-0"
21778
21652
  }), null, 16, ["modelValue", "type"]),
21779
- createElementVNode("div", _hoisted_2$l, [
21653
+ createElementVNode("div", _hoisted_2$m, [
21780
21654
  createVNode(unref(Btn), {
21781
21655
  flat: "",
21782
21656
  thin: "",
@@ -21789,9 +21663,9 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
21789
21663
  };
21790
21664
  }
21791
21665
  });
21792
- const _hoisted_1$u = ["for"];
21793
- const _hoisted_2$k = ["id", "name", "value", "required"];
21794
- const _hoisted_3$g = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
21666
+ const _hoisted_1$v = ["for"];
21667
+ const _hoisted_2$l = ["id", "name", "value", "required"];
21668
+ const _hoisted_3$h = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
21795
21669
  const _hoisted_4$a = ["src", "alt"];
21796
21670
  const _hoisted_5$a = { class: "" };
21797
21671
  const _hoisted_6$8 = {
@@ -21832,10 +21706,10 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
21832
21706
  name: _ctx.groupName,
21833
21707
  value: opt.value,
21834
21708
  required: _ctx.required
21835
- }, null, 8, _hoisted_2$k), [
21709
+ }, null, 8, _hoisted_2$l), [
21836
21710
  [vModelRadio, selectedOption.value]
21837
21711
  ]),
21838
- createElementVNode("div", _hoisted_3$g, [
21712
+ createElementVNode("div", _hoisted_3$h, [
21839
21713
  opt.imgSrc ? (openBlock(), createElementBlock("img", {
21840
21714
  key: 0,
21841
21715
  class: "bg-popup shadow-light py-025 radius-05 m_w40",
@@ -21857,16 +21731,16 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
21857
21731
  icon: "delete",
21858
21732
  onClick: ($event) => _ctx.$emit("delete", opt)
21859
21733
  }, null, 8, ["onClick"])) : createCommentVNode("", true)
21860
- ], 8, _hoisted_1$u);
21734
+ ], 8, _hoisted_1$v);
21861
21735
  }), 128))
21862
21736
  ]);
21863
21737
  };
21864
21738
  }
21865
21739
  });
21866
21740
  const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-3c77be46"]]);
21867
- const _hoisted_1$t = { class: "bagel-input" };
21868
- const _hoisted_2$j = { class: "pb-025" };
21869
- const _hoisted_3$f = { class: "flex gap-05 flex-wrap" };
21741
+ const _hoisted_1$u = { class: "bagel-input" };
21742
+ const _hoisted_2$k = { class: "pb-025" };
21743
+ const _hoisted_3$g = { class: "flex gap-05 flex-wrap" };
21870
21744
  const _hoisted_4$9 = ["id", "name", "value", "checked"];
21871
21745
  const _hoisted_5$9 = ["for"];
21872
21746
  const _sfc_main$B = /* @__PURE__ */ defineComponent({
@@ -21910,9 +21784,9 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
21910
21784
  selectedValue.value = props2.modelValue;
21911
21785
  });
21912
21786
  return (_ctx, _cache) => {
21913
- return openBlock(), createElementBlock("div", _hoisted_1$t, [
21914
- createElementVNode("label", _hoisted_2$j, toDisplayString(_ctx.label), 1),
21915
- createElementVNode("div", _hoisted_3$f, [
21787
+ return openBlock(), createElementBlock("div", _hoisted_1$u, [
21788
+ createElementVNode("label", _hoisted_2$k, toDisplayString(_ctx.label), 1),
21789
+ createElementVNode("div", _hoisted_3$g, [
21916
21790
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, (option2, index2) => {
21917
21791
  return openBlock(), createElementBlock("div", {
21918
21792
  key: index2,
@@ -21937,12 +21811,12 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
21937
21811
  }
21938
21812
  });
21939
21813
  const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-cf892d71"]]);
21940
- const _hoisted_1$s = ["dir"];
21941
- const _hoisted_2$i = {
21814
+ const _hoisted_1$t = ["dir"];
21815
+ const _hoisted_2$j = {
21942
21816
  key: 0,
21943
21817
  class: "label"
21944
21818
  };
21945
- const _hoisted_3$e = { class: "range-slider relative w-100" };
21819
+ const _hoisted_3$f = { class: "range-slider relative w-100" };
21946
21820
  const _hoisted_4$8 = ["id", "value", "min", "max", "step", "required", "disabled", "aria-label"];
21947
21821
  const _hoisted_5$8 = ["value", "min", "max", "step", "required", "disabled"];
21948
21822
  const _hoisted_6$7 = { class: "track absolute pointer-events-none overflow-hidden round" };
@@ -22015,8 +21889,8 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
22015
21889
  return openBlock(), createElementBlock("div", {
22016
21890
  dir: unref(rtl) ? "rtl" : "ltr"
22017
21891
  }, [
22018
- unref(label) ? (openBlock(), createElementBlock("label", _hoisted_2$i, toDisplayString(unref(label)), 1)) : createCommentVNode("", true),
22019
- createElementVNode("div", _hoisted_3$e, [
21892
+ unref(label) ? (openBlock(), createElementBlock("label", _hoisted_2$j, toDisplayString(unref(label)), 1)) : createCommentVNode("", true),
21893
+ createElementVNode("div", _hoisted_3$f, [
22020
21894
  createElementVNode("input", {
22021
21895
  id: unref(id),
22022
21896
  value: validFrom.value,
@@ -22107,7 +21981,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
22107
21981
  createElementVNode("span", null, toDisplayString(unref(formatValue)(unref(max2))), 1)
22108
21982
  ], true)
22109
21983
  ])
22110
- ], 8, _hoisted_1$s);
21984
+ ], 8, _hoisted_1$t);
22111
21985
  };
22112
21986
  }
22113
21987
  });
@@ -22201,9 +22075,9 @@ const toolbarOptions = [
22201
22075
  { name: "separator" },
22202
22076
  { name: "fullScreen", label: "Full Screen", icon: "fullscreen", class: "ms-auto" }
22203
22077
  ];
22204
- const _hoisted_1$r = { class: "grid grid-wrap p-05" };
22205
- const _hoisted_2$h = ["onMousemove", "onClick"];
22206
- const _hoisted_3$d = { class: "txt-center txt-12 color-gray" };
22078
+ const _hoisted_1$s = { class: "grid grid-wrap p-05" };
22079
+ const _hoisted_2$i = ["onMousemove", "onClick"];
22080
+ const _hoisted_3$e = { class: "txt-center txt-12 color-gray" };
22207
22081
  const fb = 1;
22208
22082
  const base = 5;
22209
22083
  const _sfc_main$z = /* @__PURE__ */ defineComponent({
@@ -22222,7 +22096,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
22222
22096
  return hoveredCol.value > base - 1 ? enlarge : base;
22223
22097
  });
22224
22098
  return (_ctx, _cache) => {
22225
- return openBlock(), createElementBlock("div", _hoisted_1$r, [
22099
+ return openBlock(), createElementBlock("div", _hoisted_1$s, [
22226
22100
  (openBlock(true), createElementBlock(Fragment, null, renderList(rowSize.value, (row) => {
22227
22101
  return openBlock(), createElementBlock("div", {
22228
22102
  key: `row-${row}`,
@@ -22249,17 +22123,17 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
22249
22123
  hoveredCol.value = col;
22250
22124
  },
22251
22125
  onClick: ($event) => emit2("select", `${row}x${col}`)
22252
- }, null, 42, _hoisted_2$h);
22126
+ }, null, 42, _hoisted_2$i);
22253
22127
  }), 128))
22254
22128
  ], 32);
22255
22129
  }), 128)),
22256
- createElementVNode("p", _hoisted_3$d, toDisplayString(hoveredRow.value) + "x" + toDisplayString(hoveredCol.value), 1)
22130
+ createElementVNode("p", _hoisted_3$e, toDisplayString(hoveredRow.value) + "x" + toDisplayString(hoveredCol.value), 1)
22257
22131
  ]);
22258
22132
  };
22259
22133
  }
22260
22134
  });
22261
22135
  const GridBox = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-4548b70f"]]);
22262
- const _hoisted_1$q = {
22136
+ const _hoisted_1$r = {
22263
22137
  class: "toolbar flex gap-025 pb-05 flex-wrap",
22264
22138
  role: "toolbar"
22265
22139
  };
@@ -22278,10 +22152,10 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
22278
22152
  }
22279
22153
  return (_ctx, _cache) => {
22280
22154
  const _directive_tooltip = resolveDirective("tooltip");
22281
- return openBlock(), createElementBlock("div", _hoisted_1$q, [
22155
+ return openBlock(), createElementBlock("div", _hoisted_1$r, [
22282
22156
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.config.map(configToOption).filter(Boolean), (action, index2) => {
22283
22157
  return openBlock(), createElementBlock(Fragment, { key: index2 }, [
22284
- action.name === "insertTable" ? (openBlock(), createBlock(unref(_sfc_main$W), {
22158
+ action.name === "insertTable" ? (openBlock(), createBlock(unref(_sfc_main$V), {
22285
22159
  key: 0,
22286
22160
  placement: "bottom-start",
22287
22161
  thin: "",
@@ -23241,8 +23115,9 @@ function useEditorKeyboard(doc, handleToolbarAction) {
23241
23115
  }
23242
23116
  });
23243
23117
  }
23244
- const _hoisted_1$p = { class: "content-area radius-05" };
23245
- const _hoisted_2$g = {
23118
+ const _hoisted_1$q = { class: "bagel-input" };
23119
+ const _hoisted_2$h = { class: "content-area radius-05" };
23120
+ const _hoisted_3$d = {
23246
23121
  key: 1,
23247
23122
  class: "flex"
23248
23123
  };
@@ -23251,7 +23126,8 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
23251
23126
  props: {
23252
23127
  modelValue: {},
23253
23128
  toolbarConfig: {},
23254
- debug: { type: Boolean }
23129
+ debug: { type: Boolean },
23130
+ label: {}
23255
23131
  },
23256
23132
  emits: ["update:modelValue"],
23257
23133
  setup(__props, { emit: __emit }) {
@@ -23322,84 +23198,87 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
23322
23198
  });
23323
23199
  return (_ctx, _cache) => {
23324
23200
  var _a2, _b;
23325
- return openBlock(), createElementBlock("div", {
23326
- class: normalizeClass(["rich-text-editor rounded pt-05 px-05 pb-075 mb-05", { "fullscreen-mode": unref(editor).state.isFullscreen }])
23327
- }, [
23328
- unref(editor).state.hasInit ? (openBlock(), createBlock(EditorToolbar, {
23329
- key: 0,
23330
- config: _ctx.toolbarConfig,
23331
- selectedStyles: unref(editor).state.selectedStyles,
23332
- onAction: unref(commands).execute
23333
- }, null, 8, ["config", "selectedStyles", "onAction"])) : createCommentVNode("", true),
23201
+ return openBlock(), createElementBlock("div", _hoisted_1$q, [
23202
+ createElementVNode("label", null, toDisplayString(_ctx.label), 1),
23334
23203
  createElementVNode("div", {
23335
- class: normalizeClass(["editor-container", { "split-view": unref(editor).state.isSplitView }])
23204
+ class: normalizeClass(["rich-text-editor rounded pt-05 px-05 pb-075 mb-05", { "fullscreen-mode": unref(editor).state.isFullscreen }])
23336
23205
  }, [
23337
- createElementVNode("div", _hoisted_1$p, [
23338
- createElementVNode("iframe", {
23339
- id: "rich-text-iframe",
23340
- ref_key: "iframe",
23341
- ref: iframe,
23342
- class: "editableContent",
23343
- title: "Editor",
23344
- onLoad: initEditor
23345
- }, null, 544)
23346
- ]),
23347
- unref(editor).state.isSplitView ? (openBlock(), createBlock(unref(CodeEditor), {
23206
+ unref(editor).state.hasInit ? (openBlock(), createBlock(EditorToolbar, {
23348
23207
  key: 0,
23349
- modelValue: unref(editor).state.content,
23350
- "onUpdate:modelValue": [
23351
- _cache[0] || (_cache[0] = ($event) => unref(editor).state.content = $event),
23352
- _cache[1] || (_cache[1] = ($event) => unref(editor).updateContent("html"))
23353
- ],
23354
- language: "html"
23355
- }, null, 8, ["modelValue"])) : createCommentVNode("", true)
23356
- ], 2),
23357
- _ctx.debug ? (openBlock(), createElementBlock("div", _hoisted_2$g, [
23358
- _cache[6] || (_cache[6] = createElementVNode("p", { class: "text12 txt-gray mb-0 p-0" }, " Debug ", -1)),
23359
- createVNode(unref(Btn), {
23360
- thin: "",
23361
- color: "gray",
23362
- icon: "delete",
23363
- onClick: (_a2 = debugMethods.value) == null ? void 0 : _a2.clearSession
23364
- }, {
23365
- default: withCtx(() => _cache[3] || (_cache[3] = [
23366
- createTextVNode(" Clear Session ")
23367
- ])),
23368
- _: 1
23369
- }, 8, ["onClick"]),
23370
- createVNode(unref(Btn), {
23371
- thin: "",
23372
- color: "gray",
23373
- icon: "download",
23374
- onClick: (_b = debugMethods.value) == null ? void 0 : _b.downloadSession
23375
- }, {
23376
- default: withCtx(() => _cache[4] || (_cache[4] = [
23377
- createTextVNode(" Download Log ")
23378
- ])),
23379
- _: 1
23380
- }, 8, ["onClick"]),
23381
- createVNode(unref(Btn), {
23382
- thin: "",
23383
- color: "gray",
23384
- icon: "content_copy",
23385
- onClick: _cache[2] || (_cache[2] = ($event) => {
23386
- var _a3;
23387
- return unref(copyText)(((_a3 = debugMethods.value) == null ? void 0 : _a3.exportDebugWithPrompt()) || "");
23208
+ config: _ctx.toolbarConfig,
23209
+ selectedStyles: unref(editor).state.selectedStyles,
23210
+ onAction: unref(commands).execute
23211
+ }, null, 8, ["config", "selectedStyles", "onAction"])) : createCommentVNode("", true),
23212
+ createElementVNode("div", {
23213
+ class: normalizeClass(["editor-container", { "split-view": unref(editor).state.isSplitView }])
23214
+ }, [
23215
+ createElementVNode("div", _hoisted_2$h, [
23216
+ createElementVNode("iframe", {
23217
+ id: "rich-text-iframe",
23218
+ ref_key: "iframe",
23219
+ ref: iframe,
23220
+ class: "editableContent",
23221
+ title: "Editor",
23222
+ onLoad: initEditor
23223
+ }, null, 544)
23224
+ ]),
23225
+ unref(editor).state.isSplitView ? (openBlock(), createBlock(unref(CodeEditor), {
23226
+ key: 0,
23227
+ modelValue: unref(editor).state.content,
23228
+ "onUpdate:modelValue": [
23229
+ _cache[0] || (_cache[0] = ($event) => unref(editor).state.content = $event),
23230
+ _cache[1] || (_cache[1] = ($event) => unref(editor).updateContent("html"))
23231
+ ],
23232
+ language: "html"
23233
+ }, null, 8, ["modelValue"])) : createCommentVNode("", true)
23234
+ ], 2),
23235
+ _ctx.debug ? (openBlock(), createElementBlock("div", _hoisted_3$d, [
23236
+ _cache[6] || (_cache[6] = createElementVNode("p", { class: "text12 txt-gray mb-0 p-0" }, " Debug ", -1)),
23237
+ createVNode(unref(Btn), {
23238
+ thin: "",
23239
+ color: "gray",
23240
+ icon: "delete",
23241
+ onClick: (_a2 = debugMethods.value) == null ? void 0 : _a2.clearSession
23242
+ }, {
23243
+ default: withCtx(() => _cache[3] || (_cache[3] = [
23244
+ createTextVNode(" Clear Session ")
23245
+ ])),
23246
+ _: 1
23247
+ }, 8, ["onClick"]),
23248
+ createVNode(unref(Btn), {
23249
+ thin: "",
23250
+ color: "gray",
23251
+ icon: "download",
23252
+ onClick: (_b = debugMethods.value) == null ? void 0 : _b.downloadSession
23253
+ }, {
23254
+ default: withCtx(() => _cache[4] || (_cache[4] = [
23255
+ createTextVNode(" Download Log ")
23256
+ ])),
23257
+ _: 1
23258
+ }, 8, ["onClick"]),
23259
+ createVNode(unref(Btn), {
23260
+ thin: "",
23261
+ color: "gray",
23262
+ icon: "content_copy",
23263
+ onClick: _cache[2] || (_cache[2] = ($event) => {
23264
+ var _a3;
23265
+ return unref(copyText)(((_a3 = debugMethods.value) == null ? void 0 : _a3.exportDebugWithPrompt()) || "");
23266
+ })
23267
+ }, {
23268
+ default: withCtx(() => _cache[5] || (_cache[5] = [
23269
+ createTextVNode(" Copy Log ")
23270
+ ])),
23271
+ _: 1
23388
23272
  })
23389
- }, {
23390
- default: withCtx(() => _cache[5] || (_cache[5] = [
23391
- createTextVNode(" Copy Log ")
23392
- ])),
23393
- _: 1
23394
- })
23395
- ])) : createCommentVNode("", true)
23396
- ], 2);
23273
+ ])) : createCommentVNode("", true)
23274
+ ], 2)
23275
+ ]);
23397
23276
  };
23398
23277
  }
23399
23278
  });
23400
- const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-ac0edf00"]]);
23401
- const _hoisted_1$o = { class: "flex gap-05" };
23402
- const _hoisted_2$f = ["disabled"];
23279
+ const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-59d7c73f"]]);
23280
+ const _hoisted_1$p = { class: "flex gap-05" };
23281
+ const _hoisted_2$g = ["disabled"];
23403
23282
  const _hoisted_3$c = { key: 1 };
23404
23283
  const _hoisted_4$7 = {
23405
23284
  key: 2,
@@ -23424,14 +23303,13 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
23424
23303
  hideLabel: { type: Boolean },
23425
23304
  defaultValue: {},
23426
23305
  clearable: { type: Boolean },
23427
- searchPlaceholder: { default: "Search" },
23306
+ searchPlaceholder: {},
23428
23307
  onSearch: {}
23429
23308
  },
23430
23309
  emits: ["update:modelValue"],
23431
23310
  setup(__props, { emit: __emit }) {
23432
23311
  const props2 = __props;
23433
23312
  const emit2 = __emit;
23434
- const searchPlaceholder = computed(() => props2.searchPlaceholder);
23435
23313
  const searchInput = ref();
23436
23314
  let selectedItems = ref([]);
23437
23315
  const selectedItemCount = computed(() => selectedItems.value.length ?? 0);
@@ -23447,6 +23325,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
23447
23325
  }
23448
23326
  return selectedItems.value.map((item) => getLabel(item)).join(", ");
23449
23327
  });
23328
+ const searchPlaceholder = computed(() => props2.searchPlaceholder ?? selectedLabel.value ?? "Search");
23450
23329
  let serverOptions = ref([]);
23451
23330
  let isSearching = ref(false);
23452
23331
  async function runServerSearch() {
@@ -23584,7 +23463,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
23584
23463
  }
23585
23464
  });
23586
23465
  return (_ctx, _cache) => {
23587
- return openBlock(), createBlock(unref(_sfc_main$W), {
23466
+ return openBlock(), createBlock(unref(_sfc_main$V), {
23588
23467
  ref_key: "dropdown",
23589
23468
  ref: dropdown,
23590
23469
  shown: unref(open),
@@ -23596,7 +23475,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
23596
23475
  trigger: withCtx(() => [
23597
23476
  createElementVNode("label", null, [
23598
23477
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
23599
- createElementVNode("div", _hoisted_1$o, [
23478
+ createElementVNode("div", _hoisted_1$p, [
23600
23479
  _ctx.searchable && unref(open) ? (openBlock(), createBlock(unref(TextInput), {
23601
23480
  key: 0,
23602
23481
  ref_key: "searchInput",
@@ -23644,7 +23523,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
23644
23523
  key: 3,
23645
23524
  thin: ""
23646
23525
  }, { icon: unref(open) ? "unfold_less" : "unfold_more" }), null, 16)) : createCommentVNode("", true)
23647
- ], 42, _hoisted_2$f)),
23526
+ ], 42, _hoisted_2$g)),
23648
23527
  _ctx.required ? (openBlock(), createElementBlock("input", {
23649
23528
  key: 2,
23650
23529
  tabindex: "-1",
@@ -23663,7 +23542,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
23663
23542
  height: "25px",
23664
23543
  class: "mx-1 my-1"
23665
23544
  })) : createCommentVNode("", true),
23666
- createVNode(unref(_sfc_main$$), {
23545
+ createVNode(unref(_sfc_main$_), {
23667
23546
  class: "p-05",
23668
23547
  style: normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" })
23669
23548
  }, {
@@ -23714,7 +23593,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
23714
23593
  };
23715
23594
  }
23716
23595
  });
23717
- const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-e07a7d4e"]]);
23596
+ const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-70535216"]]);
23718
23597
  /*!
23719
23598
  * Signature Pad v5.0.4 | https://github.com/szimek/signature_pad
23720
23599
  * (c) 2024 Szymon Nowak | Released under the MIT license
@@ -24311,8 +24190,8 @@ class SignaturePad extends SignatureEventTarget {
24311
24190
  return svg.outerHTML;
24312
24191
  }
24313
24192
  }
24314
- const _hoisted_1$n = ["disabled"];
24315
- const _hoisted_2$e = {
24193
+ const _hoisted_1$o = ["disabled"];
24194
+ const _hoisted_2$f = {
24316
24195
  key: 1,
24317
24196
  placeholder: "required",
24318
24197
  type: "text",
@@ -24472,8 +24351,8 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
24472
24351
  ref: vCanvas,
24473
24352
  class: "canvas",
24474
24353
  disabled: _ctx.disabled
24475
- }, null, 8, _hoisted_1$n),
24476
- _ctx.required && unref(_isEmpty) ? (openBlock(), createElementBlock("input", _hoisted_2$e)) : createCommentVNode("", true)
24354
+ }, null, 8, _hoisted_1$o),
24355
+ _ctx.required && unref(_isEmpty) ? (openBlock(), createElementBlock("input", _hoisted_2$f)) : createCommentVNode("", true)
24477
24356
  ], 34);
24478
24357
  };
24479
24358
  }
@@ -26957,8 +26836,8 @@ const VueDraggableNext = defineComponent({
26957
26836
  }
26958
26837
  }
26959
26838
  });
26960
- const _hoisted_1$m = ["title"];
26961
- const _hoisted_2$d = { class: "bagel-input" };
26839
+ const _hoisted_1$n = ["title"];
26840
+ const _hoisted_2$e = { class: "bagel-input" };
26962
26841
  const _hoisted_3$b = { class: "table-side-scroll" };
26963
26842
  const _hoisted_4$6 = { class: "table-header" };
26964
26843
  const _hoisted_5$6 = { class: "table-reorder" };
@@ -27028,7 +26907,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
27028
26907
  class: "table-field-wrap",
27029
26908
  title: _ctx.description
27030
26909
  }, [
27031
- createElementVNode("div", _hoisted_2$d, [
26910
+ createElementVNode("div", _hoisted_2$e, [
27032
26911
  createElementVNode("label", null, toDisplayString((_a2 = unref(fieldMeta)) == null ? void 0 : _a2.label), 1)
27033
26912
  ]),
27034
26913
  createElementVNode("div", _hoisted_3$b, [
@@ -27103,7 +26982,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
27103
26982
  ])),
27104
26983
  _: 1
27105
26984
  })
27106
- ], 8, _hoisted_1$m);
26985
+ ], 8, _hoisted_1$n);
27107
26986
  };
27108
26987
  }
27109
26988
  });
@@ -31554,8 +31433,8 @@ function parsePhoneNumber$1() {
31554
31433
  function parsePhoneNumber() {
31555
31434
  return withMetadataArgument(parsePhoneNumber$1, arguments);
31556
31435
  }
31557
- const _hoisted_1$l = ["aria-expanded"];
31558
- const _hoisted_2$c = { class: "p-075 tel-countryp-dropdown" };
31436
+ const _hoisted_1$m = ["aria-expanded"];
31437
+ const _hoisted_2$d = { class: "p-075 tel-countryp-dropdown" };
31559
31438
  const _hoisted_3$a = ["aria-selected", "onClick", "onMousemove"];
31560
31439
  const _hoisted_4$5 = { class: "tel-country" };
31561
31440
  const _hoisted_5$5 = { key: 1 };
@@ -31822,7 +31701,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
31822
31701
  withKeys(reset, ["tab"])
31823
31702
  ]
31824
31703
  }, [
31825
- !computedDropDownOptions.value.hide ? (openBlock(), createBlock(unref(_sfc_main$W), {
31704
+ !computedDropDownOptions.value.hide ? (openBlock(), createBlock(unref(_sfc_main$V), {
31826
31705
  key: 0,
31827
31706
  ref_key: "phoneDropdown",
31828
31707
  ref: phoneDropdown,
@@ -31845,7 +31724,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
31845
31724
  ])
31846
31725
  ]),
31847
31726
  default: withCtx(() => [
31848
- createElementVNode("div", _hoisted_2$c, [
31727
+ createElementVNode("div", _hoisted_2$d, [
31849
31728
  _ctx.searchable ? (openBlock(), createBlock(unref(TextInput), {
31850
31729
  key: 0,
31851
31730
  modelValue: searchQuery.value,
@@ -31909,15 +31788,15 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
31909
31788
  }, null, 44, _hoisted_6$4), [
31910
31789
  [vModelText, phone.value]
31911
31790
  ])
31912
- ], 40, _hoisted_1$l)
31791
+ ], 40, _hoisted_1$m)
31913
31792
  ])
31914
31793
  ], 2);
31915
31794
  };
31916
31795
  }
31917
31796
  });
31918
31797
  const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-492fcc54"]]);
31919
- const _hoisted_1$k = ["title"];
31920
- const _hoisted_2$b = ["for"];
31798
+ const _hoisted_1$l = ["title"];
31799
+ const _hoisted_2$c = ["for"];
31921
31800
  const _hoisted_3$9 = ["id", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
31922
31801
  const _hoisted_4$4 = ["id", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
31923
31802
  const _hoisted_5$4 = { key: 2 };
@@ -32056,14 +31935,14 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
32056
31935
  key: 4,
32057
31936
  icon: _ctx.icon
32058
31937
  }, null, 8, ["icon"])) : createCommentVNode("", true)
32059
- ], 8, _hoisted_2$b)
32060
- ], 10, _hoisted_1$k);
31938
+ ], 8, _hoisted_2$c)
31939
+ ], 10, _hoisted_1$l);
32061
31940
  };
32062
31941
  }
32063
31942
  });
32064
31943
  const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-cc17f96e"]]);
32065
- const _hoisted_1$j = ["title"];
32066
- const _hoisted_2$a = ["id", "required"];
31944
+ const _hoisted_1$k = ["title"];
31945
+ const _hoisted_2$b = ["id", "required"];
32067
31946
  const _hoisted_3$8 = ["for"];
32068
31947
  const _sfc_main$r = /* @__PURE__ */ defineComponent({
32069
31948
  __name: "ToggleInput",
@@ -32101,7 +31980,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
32101
31980
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => checked.value = $event),
32102
31981
  type: "checkbox",
32103
31982
  required: _ctx.required
32104
- }, null, 8, _hoisted_2$a), [
31983
+ }, null, 8, _hoisted_2$b), [
32105
31984
  [vModelCheckbox, checked.value]
32106
31985
  ]),
32107
31986
  createElementVNode("label", { for: inputId.value }, [
@@ -32109,7 +31988,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
32109
31988
  createTextVNode(toDisplayString(_ctx.label), 1)
32110
31989
  ], true)
32111
31990
  ], 8, _hoisted_3$8)
32112
- ], 10, _hoisted_1$j);
31991
+ ], 10, _hoisted_1$k);
32113
31992
  };
32114
31993
  }
32115
31994
  });
@@ -32139,8 +32018,8 @@ const files = {
32139
32018
  });
32140
32019
  }
32141
32020
  };
32142
- const _hoisted_1$i = { class: "bagel-input" };
32143
- const _hoisted_2$9 = { key: 0 };
32021
+ const _hoisted_1$j = { class: "bagel-input" };
32022
+ const _hoisted_2$a = { key: 0 };
32144
32023
  const _hoisted_3$7 = {
32145
32024
  key: 1,
32146
32025
  placeholder: "required",
@@ -32149,35 +32028,36 @@ const _hoisted_3$7 = {
32149
32028
  class: "pixel"
32150
32029
  };
32151
32030
  const _hoisted_4$3 = { class: "m-05 flex opacity-7 z-99" };
32152
- const _hoisted_5$3 = { class: "ellipsis-1 word-break-all h-20 m-0" };
32153
- const _hoisted_6$3 = {
32031
+ const _hoisted_5$3 = { class: "flex gap-025 rounded pe-1 ps-05 py-025 bg-gray-80 -my-1" };
32032
+ const _hoisted_6$3 = { class: "ellipsis-1 word-break-all h-20 m-0 color-black txt18" };
32033
+ const _hoisted_7$2 = {
32154
32034
  key: 1,
32155
32035
  class: "txt-gray txt-12"
32156
32036
  };
32157
- const _hoisted_7$2 = {
32037
+ const _hoisted_8$2 = {
32158
32038
  key: 0,
32159
32039
  class: "bgl-multi-preview"
32160
32040
  };
32161
- const _hoisted_8$2 = { class: "m-0" };
32162
- const _hoisted_9$1 = { class: "no-margin multi-preview-txt" };
32163
- const _hoisted_10$1 = {
32041
+ const _hoisted_9$1 = { class: "m-0" };
32042
+ const _hoisted_10$1 = { class: "no-margin multi-preview-txt" };
32043
+ const _hoisted_11$1 = {
32164
32044
  key: 0,
32165
32045
  class: "progress"
32166
32046
  };
32167
- const _hoisted_11$1 = {
32047
+ const _hoisted_12$1 = {
32168
32048
  key: 1,
32169
32049
  class: "bgl-single-preview"
32170
32050
  };
32171
- const _hoisted_12$1 = { class: "position-start m-05 flex opacity-7 z-99 gap-025" };
32172
- const _hoisted_13$1 = {
32051
+ const _hoisted_13 = { class: "position-start m-05 flex opacity-7 z-99 gap-025" };
32052
+ const _hoisted_14 = {
32173
32053
  key: 0,
32174
32054
  class: "h-100"
32175
32055
  };
32176
- const _hoisted_14 = {
32056
+ const _hoisted_15 = {
32177
32057
  key: 0,
32178
32058
  class: "progress"
32179
32059
  };
32180
- const _hoisted_15 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
32060
+ const _hoisted_16 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
32181
32061
  const _sfc_main$q = /* @__PURE__ */ defineComponent({
32182
32062
  __name: "UploadInput",
32183
32063
  props: {
@@ -32286,10 +32166,10 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
32286
32166
  return (_ctx, _cache) => {
32287
32167
  const _directive_tooltip = resolveDirective("tooltip");
32288
32168
  const _directive_lightbox = resolveDirective("lightbox");
32289
- return openBlock(), createElementBlock("div", _hoisted_1$i, [
32290
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$9, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
32169
+ return openBlock(), createElementBlock("div", _hoisted_1$j, [
32170
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$a, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
32291
32171
  _ctx.required && !pathKeys.value.length ? (openBlock(), createElementBlock("input", _hoisted_3$7)) : createCommentVNode("", true),
32292
- _ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main$$), {
32172
+ _ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main$_), {
32293
32173
  key: 2,
32294
32174
  outline: "",
32295
32175
  class: "flex p-05 gap-1",
@@ -32338,15 +32218,21 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
32338
32218
  href: pathToUrl(path_key),
32339
32219
  download: path_key.split("/").pop()
32340
32220
  }, null, 8, ["href", "download"]),
32341
- withDirectives((openBlock(), createElementBlock("p", _hoisted_5$3, [
32342
- createTextVNode(toDisplayString(path_key.split("/").pop()), 1)
32343
- ])), [
32344
- [_directive_lightbox, { src: pathToUrl(path_key), download: true }]
32221
+ createElementVNode("div", _hoisted_5$3, [
32222
+ createVNode(unref(_sfc_main$p), {
32223
+ icon: "draft",
32224
+ size: 1.5
32225
+ }),
32226
+ withDirectives((openBlock(), createElementBlock("p", _hoisted_6$3, [
32227
+ createTextVNode(toDisplayString(path_key.split("/").pop()), 1)
32228
+ ])), [
32229
+ [_directive_lightbox, { src: pathToUrl(path_key), download: true }]
32230
+ ])
32345
32231
  ])
32346
32232
  ])
32347
32233
  ]);
32348
32234
  }), 128)),
32349
- !pathKeys.value.length && !fileQueue.value.length ? (openBlock(), createElementBlock("span", _hoisted_6$3, " No file selected ")) : createCommentVNode("", true)
32235
+ !pathKeys.value.length && !fileQueue.value.length ? (openBlock(), createElementBlock("span", _hoisted_7$2, " No file selected ")) : createCommentVNode("", true)
32350
32236
  ]),
32351
32237
  _: 1
32352
32238
  })) : (openBlock(), createElementBlock("div", {
@@ -32366,7 +32252,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
32366
32252
  files: pathKeys.value,
32367
32253
  fileQueue: fileQueue.value
32368
32254
  }, () => [
32369
- _ctx.multiple ? (openBlock(), createElementBlock("div", _hoisted_7$2, [
32255
+ _ctx.multiple ? (openBlock(), createElementBlock("div", _hoisted_8$2, [
32370
32256
  (openBlock(true), createElementBlock(Fragment, null, renderList(pathKeys.value, (path_key) => {
32371
32257
  return withDirectives((openBlock(), createElementBlock("div", {
32372
32258
  key: path_key,
@@ -32381,7 +32267,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
32381
32267
  icon: "description",
32382
32268
  class: "multi-preview"
32383
32269
  })),
32384
- createElementVNode("p", _hoisted_8$2, toDisplayString(path_key.split("/").pop()), 1),
32270
+ createElementVNode("p", _hoisted_9$1, toDisplayString(path_key.split("/").pop()), 1),
32385
32271
  createVNode(unref(Btn), {
32386
32272
  thin: "",
32387
32273
  flat: "",
@@ -32408,12 +32294,12 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
32408
32294
  icon: "description",
32409
32295
  class: "multi-preview"
32410
32296
  })),
32411
- createElementVNode("p", _hoisted_9$1, toDisplayString(file.name), 1),
32297
+ createElementVNode("p", _hoisted_10$1, toDisplayString(file.name), 1),
32412
32298
  createElementVNode("div", {
32413
32299
  class: normalizeClass(["pie", { complete: file.progress === 100 }]),
32414
32300
  style: normalizeStyle([{ "--p": file.progress }, { "--b": "2px" }])
32415
32301
  }, [
32416
- file.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_10$1, toDisplayString(file.progress.toFixed(0)), 1)) : createCommentVNode("", true),
32302
+ file.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_11$1, toDisplayString(file.progress.toFixed(0)), 1)) : createCommentVNode("", true),
32417
32303
  createVNode(unref(_sfc_main$p), {
32418
32304
  class: "success",
32419
32305
  icon: "check_circle"
@@ -32421,13 +32307,13 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
32421
32307
  ], 6)
32422
32308
  ], 2);
32423
32309
  }), 128))
32424
- ])) : pathKeys.value.length > 0 || fileQueue.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_11$1, [
32310
+ ])) : pathKeys.value.length > 0 || fileQueue.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_12$1, [
32425
32311
  (openBlock(true), createElementBlock(Fragment, null, renderList(pathKeys.value, (path_key) => {
32426
32312
  return openBlock(), createElementBlock("div", {
32427
32313
  key: path_key,
32428
32314
  class: normalizeClass(["single-image-item-preview", { "bgl_fill-image": _ctx.fill }])
32429
32315
  }, [
32430
- createElementVNode("div", _hoisted_12$1, [
32316
+ createElementVNode("div", _hoisted_13, [
32431
32317
  withDirectives(createVNode(unref(Btn), {
32432
32318
  color: "gray",
32433
32319
  thin: "",
@@ -32454,12 +32340,14 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
32454
32340
  [_directive_tooltip, "Download"]
32455
32341
  ])
32456
32342
  ]),
32457
- isImage(path_key) ? (openBlock(), createElementBlock("div", _hoisted_13$1, [
32458
- createVNode(unref(Image$1), {
32343
+ isImage(path_key) ? (openBlock(), createElementBlock("div", _hoisted_14, [
32344
+ withDirectives(createVNode(unref(Image$1), {
32459
32345
  class: "single-preview",
32460
32346
  pathKey: path_key,
32461
32347
  alt: ""
32462
- }, null, 8, ["pathKey"])
32348
+ }, null, 8, ["pathKey"]), [
32349
+ [_directive_lightbox, { src: pathToUrl(path_key), download: true }]
32350
+ ])
32463
32351
  ])) : withDirectives((openBlock(), createBlock(unref(_sfc_main$p), {
32464
32352
  key: 1,
32465
32353
  size: 4,
@@ -32480,18 +32368,20 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
32480
32368
  class: normalizeClass(["pie", { complete: file.progress === 100 }]),
32481
32369
  style: normalizeStyle([{ "--p": file.progress }, { "--b": "2px" }])
32482
32370
  }, [
32483
- file.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_14, toDisplayString(file.progress.toFixed(0)), 1)) : createCommentVNode("", true),
32371
+ file.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_15, toDisplayString(file.progress.toFixed(0)), 1)) : createCommentVNode("", true),
32484
32372
  createVNode(unref(_sfc_main$p), {
32485
32373
  class: "success",
32486
32374
  icon: "check_circle"
32487
32375
  })
32488
32376
  ], 6),
32489
- isImage(file.file.type) ? (openBlock(), createBlock(unref(Image$1), {
32377
+ isImage(file.file.type) ? withDirectives((openBlock(), createBlock(unref(Image$1), {
32490
32378
  key: 0,
32491
32379
  class: "single-preview",
32492
32380
  src: fileToUrl(file.file),
32493
32381
  alt: ""
32494
- }, null, 8, ["src"])) : createCommentVNode("", true)
32382
+ }, null, 8, ["src"])), [
32383
+ [_directive_lightbox, { src: fileToUrl(file.file), download: true }]
32384
+ ]) : createCommentVNode("", true)
32495
32385
  ], 2);
32496
32386
  }), 128))
32497
32387
  ])) : createCommentVNode("", true)
@@ -32502,7 +32392,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
32502
32392
  fileQueue: fileQueue.value,
32503
32393
  browse
32504
32394
  }, () => [
32505
- createElementVNode("p", _hoisted_15, [
32395
+ createElementVNode("p", _hoisted_16, [
32506
32396
  createVNode(unref(_sfc_main$p), { icon: "upload_2" }),
32507
32397
  _cache[4] || (_cache[4] = createTextVNode(" Drop files here or click to upload "))
32508
32398
  ])
@@ -32512,7 +32402,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
32512
32402
  };
32513
32403
  }
32514
32404
  });
32515
- const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-bd972fe8"]]);
32405
+ const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-33f11d1f"]]);
32516
32406
  const FONT_AWESOME_ICONS = [
32517
32407
  "trash-can",
32518
32408
  "message",
@@ -36963,13 +36853,13 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
36963
36853
  style: normalizeStyle({ "fontSize": `${_ctx.size}rem`, color: _ctx.color, "font-variation-settings": `'wght' ${_ctx.weight || 400}` })
36964
36854
  }, toDisplayString(iconRender.value), 5)) : iconRenderType.value === "font-awesome" ? (openBlock(), createElementBlock("i", {
36965
36855
  key: 1,
36966
- class: normalizeClass(["fa", [`fa-${iconRender.value}`, { "fa-brands": isFaBrand.value }]]),
36856
+ class: normalizeClass(["fa far", [`fa-${iconRender.value}`, { "fa-brands": isFaBrand.value }]]),
36967
36857
  style: normalizeStyle({ "fontSize": `${_ctx.size}rem`, color: _ctx.color, "font-variation-settings": `'wght' ${_ctx.weight || 400}` })
36968
36858
  }, null, 6)) : createCommentVNode("", true);
36969
36859
  };
36970
36860
  }
36971
36861
  });
36972
- const _hoisted_1$h = ["src", "title", "width", "height", "marginwidth", "marginheight", "csp", "scrolling", "srcset"];
36862
+ const _hoisted_1$i = ["src", "title", "width", "height", "marginwidth", "marginheight", "csp", "scrolling", "srcset"];
36973
36863
  const _sfc_main$o = /* @__PURE__ */ defineComponent({
36974
36864
  __name: "IframeVue",
36975
36865
  props: {
@@ -37029,12 +36919,12 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
37029
36919
  scrolling: _ctx.scrolling,
37030
36920
  srcset: _ctx.srcset,
37031
36921
  onLoad: _cache[0] || (_cache[0] = ($event) => emit2("load", $event))
37032
- }, null, 40, _hoisted_1$h);
36922
+ }, null, 40, _hoisted_1$i);
37033
36923
  };
37034
36924
  }
37035
36925
  });
37036
- const _hoisted_1$g = { key: 0 };
37037
- const _hoisted_2$8 = ["src", "alt", "width", "height"];
36926
+ const _hoisted_1$h = { key: 0 };
36927
+ const _hoisted_2$9 = ["src", "alt", "width", "height"];
37038
36928
  const _hoisted_3$6 = ["src", "alt", "width", "height"];
37039
36929
  const _sfc_main$n = /* @__PURE__ */ defineComponent({
37040
36930
  __name: "Image",
@@ -37118,7 +37008,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
37118
37008
  }
37119
37009
  watch(() => [props2.src, props2.pathKey], loadImage, { immediate: true });
37120
37010
  return (_ctx, _cache) => {
37121
- return _ctx.caption ? (openBlock(), createElementBlock("figcaption", _hoisted_1$g, [
37011
+ return _ctx.caption ? (openBlock(), createElementBlock("figcaption", _hoisted_1$h, [
37122
37012
  unref(imageSrc) ? (openBlock(), createElementBlock("img", mergeProps({
37123
37013
  key: 0,
37124
37014
  src: unref(imageSrc)
@@ -37126,7 +37016,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
37126
37016
  alt: _ctx.alt,
37127
37017
  width: unref(normalizeDimension)(_ctx.width),
37128
37018
  height: unref(normalizeDimension)(_ctx.height)
37129
- }), null, 16, _hoisted_2$8)) : (openBlock(), createBlock(unref(Skeleton), {
37019
+ }), null, 16, _hoisted_2$9)) : (openBlock(), createBlock(unref(Skeleton), {
37130
37020
  key: 1,
37131
37021
  class: "img-web-kit",
37132
37022
  width: unref(normalizeDimension)(_ctx.width),
@@ -37158,7 +37048,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
37158
37048
  }
37159
37049
  });
37160
37050
  const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-6f277b5b"]]);
37161
- const _hoisted_1$f = { class: "m-0 pb-025 txt14 line-height-1 w60 menu-text" };
37051
+ const _hoisted_1$g = { class: "m-0 pb-025 txt14 line-height-1 w60 menu-text" };
37162
37052
  const _sfc_main$m = /* @__PURE__ */ defineComponent({
37163
37053
  __name: "BottomMenu",
37164
37054
  props: {
@@ -37166,7 +37056,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
37166
37056
  },
37167
37057
  setup(__props) {
37168
37058
  return (_ctx, _cache) => {
37169
- return openBlock(), createBlock(unref(_sfc_main$$), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
37059
+ return openBlock(), createBlock(unref(_sfc_main$_), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
37170
37060
  default: withCtx(() => [
37171
37061
  renderSlot(_ctx.$slots, "brand", {}, void 0, true),
37172
37062
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.navLinks, (nav, i2) => {
@@ -37182,7 +37072,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
37182
37072
  size: 1.4,
37183
37073
  class: "m-0 line-height-14"
37184
37074
  }, null, 8, ["icon"]),
37185
- createElementVNode("p", _hoisted_1$f, toDisplayString(nav.label), 1)
37075
+ createElementVNode("p", _hoisted_1$g, toDisplayString(nav.label), 1)
37186
37076
  ]),
37187
37077
  _: 2
37188
37078
  }, 1032, ["to", "onClick"]);
@@ -37237,7 +37127,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
37237
37127
  }
37238
37128
  });
37239
37129
  const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-1814129a"]]);
37240
- const _hoisted_1$e = { key: 0 };
37130
+ const _hoisted_1$f = { key: 0 };
37241
37131
  const _sfc_main$k = /* @__PURE__ */ defineComponent({
37242
37132
  __name: "SidebarMenu",
37243
37133
  props: {
@@ -37267,7 +37157,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
37267
37157
  icon: "keyboard_arrow_right",
37268
37158
  onClick: unref(toggleMenu)
37269
37159
  }, null, 8, ["onClick"]),
37270
- createVNode(unref(_sfc_main$$), { class: "py-1 px-05 h-100 flex column gap-05 rounded relative bg-primary font-light overflow-y" }, {
37160
+ createVNode(unref(_sfc_main$_), { class: "py-1 px-05 h-100 flex column gap-05 rounded relative bg-primary font-light overflow-y" }, {
37271
37161
  default: withCtx(() => [
37272
37162
  !unref(isOpen) || !unref(slots)["brand-open"] ? renderSlot(_ctx.$slots, "brand", { key: 0 }, void 0, true) : createCommentVNode("", true),
37273
37163
  unref(isOpen) ? renderSlot(_ctx.$slots, "brand-open", { key: 1 }, void 0, true) : createCommentVNode("", true),
@@ -37285,7 +37175,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
37285
37175
  }, null, 8, ["icon"]),
37286
37176
  createVNode(Transition, { name: "showP" }, {
37287
37177
  default: withCtx(() => [
37288
- _ctx.open ? (openBlock(), createElementBlock("p", _hoisted_1$e, toDisplayString(nav.label), 1)) : createCommentVNode("", true)
37178
+ _ctx.open ? (openBlock(), createElementBlock("p", _hoisted_1$f, toDisplayString(nav.label), 1)) : createCommentVNode("", true)
37289
37179
  ]),
37290
37180
  _: 2
37291
37181
  }, 1024)
@@ -37345,8 +37235,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
37345
37235
  }
37346
37236
  });
37347
37237
  const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-4da8c0d1"]]);
37348
- const _hoisted_1$d = { class: "bgl_card tabs-top" };
37349
- const _hoisted_2$7 = { class: "tabs grid auto-flow-columns fit-content" };
37238
+ const _hoisted_1$e = { class: "bgl_card tabs-top" };
37239
+ const _hoisted_2$8 = { class: "tabs grid auto-flow-columns fit-content" };
37350
37240
  const _hoisted_3$5 = ["onClick"];
37351
37241
  const _sfc_main$i = /* @__PURE__ */ defineComponent({
37352
37242
  __name: "TabbedLayout",
@@ -37381,9 +37271,9 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
37381
37271
  return openBlock(), createElementBlock("div", {
37382
37272
  class: normalizeClass(["h-100 grid list-view gap-1", { "side-tabs": _ctx.sideTabs }])
37383
37273
  }, [
37384
- createElementVNode("div", _hoisted_1$d, [
37274
+ createElementVNode("div", _hoisted_1$e, [
37385
37275
  renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
37386
- createElementVNode("div", _hoisted_2$7, [
37276
+ createElementVNode("div", _hoisted_2$8, [
37387
37277
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.tabs, (tab) => {
37388
37278
  var _a2;
37389
37279
  return openBlock(), createElementBlock("div", {
@@ -37409,7 +37299,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
37409
37299
  }
37410
37300
  });
37411
37301
  const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-915732c1"]]);
37412
- const _hoisted_1$c = { key: 0 };
37302
+ const _hoisted_1$d = { key: 0 };
37413
37303
  const _sfc_main$h = /* @__PURE__ */ defineComponent({
37414
37304
  __name: "Tabs",
37415
37305
  props: {
@@ -37452,7 +37342,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
37452
37342
  group: unref(group),
37453
37343
  class: "mb-05"
37454
37344
  }, null, 8, ["modelValue", "flat", "tabs", "group"]),
37455
- unref(currentTab) ? (openBlock(), createElementBlock("div", _hoisted_1$c, [
37345
+ unref(currentTab) ? (openBlock(), createElementBlock("div", _hoisted_1$d, [
37456
37346
  unref(slots)[unref(currentTab)] ? renderSlot(_ctx.$slots, unref(currentTab), { key: 0 }) : unref(currentTab) ? (openBlock(), createBlock(resolveDynamicComponent(unref(tabComponent)), { key: 1 })) : createCommentVNode("", true)
37457
37347
  ])) : createCommentVNode("", true)
37458
37348
  ], 64);
@@ -37472,8 +37362,8 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
37472
37362
  };
37473
37363
  }
37474
37364
  });
37475
- const _hoisted_1$b = { class: "no-margin ellipsis line-height-14 pb-025" };
37476
- const _hoisted_2$6 = { class: "txt12 no-margin txt-gray ellipsis" };
37365
+ const _hoisted_1$c = { class: "no-margin ellipsis line-height-14 pb-025" };
37366
+ const _hoisted_2$7 = { class: "txt12 no-margin txt-gray ellipsis" };
37477
37367
  const _sfc_main$f = /* @__PURE__ */ defineComponent({
37478
37368
  __name: "ListItem",
37479
37369
  props: {
@@ -37508,11 +37398,11 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
37508
37398
  icon: _ctx.icon
37509
37399
  }, null, 8, ["icon"])) : createCommentVNode("", true),
37510
37400
  createElementVNode("div", null, [
37511
- createElementVNode("p", _hoisted_1$b, [
37401
+ createElementVNode("p", _hoisted_1$c, [
37512
37402
  createTextVNode(toDisplayString(_ctx.title) + " ", 1),
37513
37403
  renderSlot(_ctx.$slots, "default")
37514
37404
  ]),
37515
- createElementVNode("p", _hoisted_2$6, [
37405
+ createElementVNode("p", _hoisted_2$7, [
37516
37406
  createTextVNode(toDisplayString(_ctx.subtitle) + " ", 1),
37517
37407
  renderSlot(_ctx.$slots, "subtitle")
37518
37408
  ])
@@ -37524,12 +37414,12 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
37524
37414
  }
37525
37415
  });
37526
37416
  const _sfc_main$e = {};
37527
- const _hoisted_1$a = { class: "list-wrap bgl_card thin grid overflow-hidden h-100 pt-0 pb-05 px-0 m_pb-0" };
37528
- const _hoisted_2$5 = { class: "p-1" };
37417
+ const _hoisted_1$b = { class: "list-wrap bgl_card thin grid overflow-hidden h-100 pt-0 pb-05 px-0 m_pb-0" };
37418
+ const _hoisted_2$6 = { class: "p-1" };
37529
37419
  const _hoisted_3$4 = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
37530
37420
  function _sfc_render$3(_ctx, _cache) {
37531
- return openBlock(), createElementBlock("div", _hoisted_1$a, [
37532
- createElementVNode("div", _hoisted_2$5, [
37421
+ return openBlock(), createElementBlock("div", _hoisted_1$b, [
37422
+ createElementVNode("div", _hoisted_2$6, [
37533
37423
  renderSlot(_ctx.$slots, "header")
37534
37424
  ]),
37535
37425
  createElementVNode("div", _hoisted_3$4, [
@@ -37538,7 +37428,7 @@ function _sfc_render$3(_ctx, _cache) {
37538
37428
  ]);
37539
37429
  }
37540
37430
  const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$3]]);
37541
- const _hoisted_1$9 = { class: "flex-center" };
37431
+ const _hoisted_1$a = { class: "flex-center" };
37542
37432
  const _sfc_main$d = /* @__PURE__ */ defineComponent({
37543
37433
  __name: "Loading",
37544
37434
  props: {
@@ -37561,7 +37451,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
37561
37451
  return standardSize(borderValue);
37562
37452
  });
37563
37453
  return (_ctx, _cache) => {
37564
- return openBlock(), createElementBlock("div", _hoisted_1$9, [
37454
+ return openBlock(), createElementBlock("div", _hoisted_1$a, [
37565
37455
  theme.value === "bar" ? (openBlock(), createElementBlock("div", {
37566
37456
  key: 0,
37567
37457
  class: "lds-bar",
@@ -37604,7 +37494,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
37604
37494
  }
37605
37495
  });
37606
37496
  const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-2e27b3c1"]]);
37607
- const _hoisted_1$8 = ["id"];
37497
+ const _hoisted_1$9 = ["id"];
37608
37498
  const defaultMarkerSVG = '<svg width="28" height="38" viewBox="0 0 28 38" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.2263 37.7955C17.0897 37.7955 19.4109 37.0138 19.4109 36.0496C19.4109 35.0854 17.0897 34.3037 14.2263 34.3037C11.363 34.3037 9.04175 35.0854 9.04175 36.0496C9.04175 37.0138 11.363 37.7955 14.2263 37.7955Z" fill="black" fill-opacity="0.1"/><path d="M14.2265 0.549591C21.2842 0.549591 27.0131 6.23786 27.0787 13.28V13.4024C27.0787 19.3328 24.4759 24.4306 21.5627 28.2764C18.6511 32.12 15.4577 34.6754 14.3457 35.5097C14.2748 35.5629 14.1778 35.5629 14.1068 35.5097C12.9947 34.675 9.80135 32.1197 6.88984 28.2762C3.97665 24.4304 1.37378 19.3328 1.37378 13.4024C1.37378 6.30387 7.12806 0.549591 14.2265 0.549591Z" fill="#ED1b3E" stroke="#ED6C6F"/><path d="M14.2263 21.6185C18.7639 21.6185 22.4424 17.94 22.4424 13.4024C22.4424 8.86477 18.7639 5.18631 14.2263 5.18631C9.68872 5.18631 6.01025 8.86477 6.01025 13.4024C6.01025 17.94 9.68872 21.6185 14.2263 21.6185Z" fill="white"/></svg>';
37609
37499
  const leafletScriptUrl = "https://unpkg.com/leaflet@1.9.4/dist/leaflet.js";
37610
37500
  const _sfc_main$c = /* @__PURE__ */ defineComponent({
@@ -37698,15 +37588,15 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
37698
37588
  class: "leaflet-map",
37699
37589
  style: normalizeStyle({ height: `${props2.height || 400}px` }),
37700
37590
  dir: "ltr"
37701
- }, null, 12, _hoisted_1$8);
37591
+ }, null, 12, _hoisted_1$9);
37702
37592
  };
37703
37593
  }
37704
37594
  });
37705
- const _hoisted_1$7 = {
37595
+ const _hoisted_1$8 = {
37706
37596
  key: 0,
37707
37597
  class: "tool-bar"
37708
37598
  };
37709
- const _hoisted_2$4 = {
37599
+ const _hoisted_2$5 = {
37710
37600
  key: 1,
37711
37601
  class: "sticky bg-popup z-index-999 -mt-1 -ms-1 px-025 h-30px pt-025 modal-no-title"
37712
37602
  };
@@ -37770,7 +37660,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
37770
37660
  onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
37771
37661
  onKeydown: withKeys(closeModal, ["esc"])
37772
37662
  }, [
37773
- createVNode(unref(_sfc_main$$), {
37663
+ createVNode(unref(_sfc_main$_), {
37774
37664
  class: "modal",
37775
37665
  style: normalizeStyle({ ...maxWidth.value }),
37776
37666
  onClick: _cache[0] || (_cache[0] = withModifiers(() => {
@@ -37779,7 +37669,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
37779
37669
  default: withCtx(() => {
37780
37670
  var _a2;
37781
37671
  return [
37782
- unref(slots).toolbar || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_1$7, [
37672
+ unref(slots).toolbar || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_1$8, [
37783
37673
  renderSlot(_ctx.$slots, "toolbar"),
37784
37674
  createVNode(unref(Btn), {
37785
37675
  style: normalizeStyle({ float: _ctx.side ? "left" : "right" }),
@@ -37794,7 +37684,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
37794
37684
  tag: "h3",
37795
37685
  label: _ctx.title
37796
37686
  }, null, 8, ["label"])) : createCommentVNode("", true)
37797
- ])) : (openBlock(), createElementBlock("div", _hoisted_2$4, [
37687
+ ])) : (openBlock(), createElementBlock("div", _hoisted_2$5, [
37798
37688
  createVNode(unref(Btn), {
37799
37689
  class: "position-start",
37800
37690
  icon: "close",
@@ -37822,7 +37712,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
37822
37712
  };
37823
37713
  }
37824
37714
  });
37825
- const _hoisted_1$6 = { class: "pb-05 pretty" };
37715
+ const _hoisted_1$7 = { class: "pb-05 pretty" };
37826
37716
  const _sfc_main$a = /* @__PURE__ */ defineComponent({
37827
37717
  __name: "ModalConfirm",
37828
37718
  props: {
@@ -37868,13 +37758,15 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
37868
37758
  }, null, 8, ["color", "value"])
37869
37759
  ]),
37870
37760
  default: withCtx(() => [
37871
- createElementVNode("p", _hoisted_1$6, toDisplayString(unref(message2)), 1)
37761
+ createElementVNode("p", _hoisted_1$7, toDisplayString(unref(message2)), 1)
37872
37762
  ]),
37873
37763
  _: 1
37874
37764
  }, 8, ["title"]);
37875
37765
  };
37876
37766
  }
37877
37767
  });
37768
+ const _hoisted_1$6 = { class: "flex gap-0" };
37769
+ const _hoisted_2$4 = { class: "flex gap-05" };
37878
37770
  const _sfc_main$9 = /* @__PURE__ */ defineComponent({
37879
37771
  __name: "ModalForm",
37880
37772
  props: /* @__PURE__ */ mergeModels({
@@ -37885,6 +37777,11 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
37885
37777
  actions: {},
37886
37778
  schema: {},
37887
37779
  onSubmit: { type: Function },
37780
+ onDuplicate: { type: Function },
37781
+ submitText: {},
37782
+ cancelText: {},
37783
+ deleteText: {},
37784
+ duplicateText: {},
37888
37785
  onDelete: { type: Function },
37889
37786
  visible: { type: Boolean },
37890
37787
  onError: { type: Function },
@@ -37947,7 +37844,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
37947
37844
  "onUpdate:visible": _cache[1] || (_cache[1] = ($event) => emit2("update:visible", $event))
37948
37845
  }, createSlots({
37949
37846
  default: withCtx(() => [
37950
- _ctx.visible ? (openBlock(), createBlock(unref(_sfc_main$T), {
37847
+ _ctx.visible ? (openBlock(), createBlock(unref(_sfc_main$S), {
37951
37848
  key: 0,
37952
37849
  ref_key: "form",
37953
37850
  ref: form,
@@ -37962,27 +37859,39 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
37962
37859
  _ctx.onDelete || _ctx.onSubmit ? {
37963
37860
  name: "footer",
37964
37861
  fn: withCtx(() => [
37965
- createElementVNode("div", null, [
37862
+ createElementVNode("div", _hoisted_1$6, [
37966
37863
  createVNode(unref(Btn), {
37967
37864
  thin: "",
37968
37865
  flat: "",
37969
- value: "Cancel",
37866
+ value: _ctx.cancelText || "Cancel",
37970
37867
  onClick: closeModal
37971
- }),
37972
- _ctx.onDelete ? (openBlock(), createBlock(unref(Btn), {
37868
+ }, null, 8, ["value"]),
37869
+ _ctx.onDelete && formData.value.id ? (openBlock(), createBlock(unref(Btn), {
37973
37870
  key: 0,
37974
37871
  thin: "",
37975
37872
  icon: "delete",
37976
37873
  flat: "",
37977
- value: "Delete",
37874
+ value: _ctx.deleteText || "Delete",
37978
37875
  color: "red",
37979
37876
  onClick: runDelete
37980
- })) : createCommentVNode("", true)
37877
+ }, null, 8, ["value"])) : createCommentVNode("", true)
37981
37878
  ]),
37982
- createVNode(unref(Btn), {
37983
- value: "Submit",
37984
- onClick: runSubmit
37985
- })
37879
+ createElementVNode("div", _hoisted_2$4, [
37880
+ _ctx.onDuplicate ? (openBlock(), createBlock(unref(Btn), {
37881
+ key: 0,
37882
+ outline: "",
37883
+ class: "px-1",
37884
+ icon: "copy_all",
37885
+ flat: "",
37886
+ value: _ctx.duplicateText || "Duplicate",
37887
+ onClick: _ctx.onDuplicate
37888
+ }, null, 8, ["value", "onClick"])) : createCommentVNode("", true),
37889
+ _ctx.onSubmit ? (openBlock(), createBlock(unref(Btn), {
37890
+ key: 1,
37891
+ value: _ctx.submitText || "Submit",
37892
+ onClick: runSubmit
37893
+ }, null, 8, ["value"])) : createCommentVNode("", true)
37894
+ ])
37986
37895
  ]),
37987
37896
  key: "0"
37988
37897
  } : void 0
@@ -37990,7 +37899,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
37990
37899
  };
37991
37900
  }
37992
37901
  });
37993
- const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-495b8b8d"]]);
37902
+ const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-f8e6d41e"]]);
37994
37903
  const _hoisted_1$5 = { class: "full-nav" };
37995
37904
  const _hoisted_2$3 = { class: "nav-scroll" };
37996
37905
  const _hoisted_3$2 = { class: "nav-links-wrapper" };
@@ -38460,12 +38369,14 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
38460
38369
  let panLocked = ref(true);
38461
38370
  let raf = ref();
38462
38371
  let tapDetector = ref();
38372
+ let translateXValue = ref(0);
38373
+ let translateYValue = ref(0);
38463
38374
  const wrapperStyle = computed(() => {
38464
- const translateXValue = containerWidth.value * animTranslateX.value;
38465
- const translateYValue = containerHeight.value * animTranslateY.value;
38375
+ translateXValue.value = containerWidth.value * animTranslateX.value;
38376
+ translateYValue.value = containerHeight.value * animTranslateY.value;
38466
38377
  return {
38467
38378
  transform: [
38468
- `translate(${translateXValue}px, ${translateYValue}px)`,
38379
+ `translate(${translateXValue.value}px, ${translateYValue.value}px)`,
38469
38380
  `scale(${animScale.value})`
38470
38381
  ].join(" ")
38471
38382
  };
@@ -38554,12 +38465,22 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
38554
38465
  const imageToContainerRatio2 = containerWidth.value / __props.aspectRatio / containerHeight.value;
38555
38466
  let translateLimitY = (scale.value * imageToContainerRatio2 - 1) / 2;
38556
38467
  if (translateLimitY < 0) translateLimitY = 0;
38557
- return { x: (scale.value - 1) / 2, y: translateLimitY };
38468
+ return {
38469
+ x: scale.value - 1,
38470
+ // Allow full movement to edges horizontally
38471
+ y: translateLimitY * 2
38472
+ // Allow full movement to edges vertically
38473
+ };
38558
38474
  }
38559
38475
  const imageToContainerRatio = containerHeight.value * __props.aspectRatio / containerWidth.value;
38560
38476
  let translateLimitX = (scale.value * imageToContainerRatio - 1) / 2;
38561
38477
  if (translateLimitX < 0) translateLimitX = 0;
38562
- return { x: translateLimitX, y: (scale.value - 1) / 2 };
38478
+ return {
38479
+ x: translateLimitX * 2,
38480
+ // Allow full movement to edges horizontally
38481
+ y: scale.value - 1
38482
+ // Allow full movement to edges vertically
38483
+ };
38563
38484
  }
38564
38485
  function getMarginDirection() {
38565
38486
  const containerRatio = containerWidth.value / containerHeight.value;
@@ -38722,7 +38643,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
38722
38643
  };
38723
38644
  }
38724
38645
  });
38725
- const Zoomer = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-6035bdcf"]]);
38646
+ const Zoomer = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-379819e1"]]);
38726
38647
  function useBglSchema({ schema, showFields, data: data2 } = {}) {
38727
38648
  let _schema = schema;
38728
38649
  if (typeof _schema === "function") {
@@ -38984,7 +38905,7 @@ class Bagel {
38984
38905
  }
38985
38906
  const _hoisted_1 = {
38986
38907
  key: 0,
38987
- class: "navigation flex space-between px-3 w-100 absolute m_px-1"
38908
+ class: "navigation flex space-between px-3 w-100 absolute m_px-1 m_none z-9"
38988
38909
  };
38989
38910
  const _hoisted_2 = { class: "flex start fixed top-1 w-100 space-between px-1" };
38990
38911
  const _hoisted_3 = {
@@ -38992,18 +38913,17 @@ const _hoisted_3 = {
38992
38913
  class: "center"
38993
38914
  };
38994
38915
  const _hoisted_4 = { key: 3 };
38995
- const _hoisted_5 = { class: "bgl-lightbox-item" };
38996
- const _hoisted_6 = ["src", "title"];
38997
- const _hoisted_7 = {
38916
+ const _hoisted_5 = ["src", "title"];
38917
+ const _hoisted_6 = {
38998
38918
  key: 3,
38999
38919
  class: "file-info txt-white flex m_block align-items-start gap-025"
39000
38920
  };
39001
- const _hoisted_8 = { class: "txt-start" };
39002
- const _hoisted_9 = { class: "mx-0 light" };
39003
- const _hoisted_10 = { class: "semi word-break-all" };
39004
- const _hoisted_11 = { class: "mx-0" };
39005
- const _hoisted_12 = { class: "semi" };
39006
- const _hoisted_13 = {
38921
+ const _hoisted_7 = { class: "txt-start" };
38922
+ const _hoisted_8 = { class: "mx-0 light" };
38923
+ const _hoisted_9 = { class: "semi word-break-all" };
38924
+ const _hoisted_10 = { class: "mx-0" };
38925
+ const _hoisted_11 = { class: "semi" };
38926
+ const _hoisted_12 = {
39007
38927
  key: 0,
39008
38928
  class: "flex justify-content-center mt-2 overflow p-1 fixed bottom start end gap-1 m_justify-content-start"
39009
38929
  };
@@ -39011,15 +38931,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
39011
38931
  __name: "Lightbox",
39012
38932
  setup(__props, { expose: __expose }) {
39013
38933
  let isOpen = ref(false);
39014
- let currentItem = ref();
39015
38934
  let group = ref([]);
39016
38935
  let currentIndex = ref(0);
38936
+ let currentItem = computed(() => group.value[currentIndex.value]);
39017
38937
  function open(item, groupItems) {
39018
38938
  isOpen.value = true;
39019
- currentItem.value = item;
39020
- if (groupItems === void 0) return;
39021
- group.value = groupItems;
39022
- currentIndex.value = groupItems.findIndex(({ src }) => item.src === src);
38939
+ group.value = groupItems || [item];
38940
+ currentIndex.value = group.value.findIndex(({ src }) => item.src === src);
39023
38941
  document.addEventListener("keydown", handleKeydown);
39024
38942
  }
39025
38943
  function close() {
@@ -39064,7 +38982,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
39064
38982
  return (_ctx, _cache) => {
39065
38983
  return openBlock(), createBlock(Transition, { name: "fade" }, {
39066
38984
  default: withCtx(() => {
39067
- var _a2, _b, _c, _d, _e2, _f, _g, _h, _i, _j, _k, _l2, _m, _n2, _o, _p, _q, _r2;
38985
+ var _a2, _b, _c, _d, _e2, _f, _g, _h;
39068
38986
  return [
39069
38987
  unref(isOpen) ? (openBlock(), createElementBlock("div", {
39070
38988
  key: 0,
@@ -39078,19 +38996,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
39078
38996
  }, [
39079
38997
  unref(group) && unref(group).length > 1 ? (openBlock(), createElementBlock("div", _hoisted_1, [
39080
38998
  createVNode(unref(Btn), {
39081
- class: "navigation-btn oval",
38999
+ class: "oval opacity-8",
39082
39000
  icon: "arrow_back",
39001
+ color: "black",
39083
39002
  onClick: prev
39084
39003
  }),
39085
39004
  createVNode(unref(Btn), {
39086
- class: "navigation-btn oval",
39005
+ class: "oval opacity-8",
39087
39006
  icon: "arrow_forward",
39007
+ color: "black",
39088
39008
  onClick: next
39089
39009
  })
39090
39010
  ])) : createCommentVNode("", true),
39091
39011
  createElementVNode("div", {
39092
39012
  class: "bgl-lightbox relative txt-center",
39093
- onClick: _cache[4] || (_cache[4] = withModifiers(() => {
39013
+ onClick: _cache[5] || (_cache[5] = withModifiers(() => {
39094
39014
  }, ["stop"]))
39095
39015
  }, [
39096
39016
  createElementVNode("div", _hoisted_2, [
@@ -39147,74 +39067,86 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
39147
39067
  }, null, 8, ["href"])) : createCommentVNode("", true),
39148
39068
  !((_g = unref(currentItem)) == null ? void 0 : _g.openFile) && !((_h = unref(currentItem)) == null ? void 0 : _h.download) ? (openBlock(), createElementBlock("div", _hoisted_4)) : createCommentVNode("", true)
39149
39069
  ]),
39150
- createElementVNode("div", _hoisted_5, [
39151
- ((_i = unref(currentItem)) == null ? void 0 : _i.type) === "image" ? (openBlock(), createBlock(unref(Zoomer), {
39152
- key: 0,
39153
- zoom: zoom.value,
39154
- "onUpdate:zoom": _cache[3] || (_cache[3] = ($event) => zoom.value = $event),
39155
- disabled: !((_j = unref(currentItem)) == null ? void 0 : _j.enableZoom),
39156
- "mouse-wheel-to-zoom": false
39157
- }, {
39158
- default: withCtx(() => {
39159
- var _a3;
39160
- return [
39161
- createVNode(unref(Image$1), {
39162
- draggable: false,
39163
- src: (_a3 = unref(currentItem)) == null ? void 0 : _a3.src,
39164
- alt: "Preview",
39165
- class: "vw90 lightbox-image"
39166
- }, null, 8, ["src"])
39167
- ];
39168
- }),
39169
- _: 1
39170
- }, 8, ["zoom", "disabled"])) : ((_k = unref(currentItem)) == null ? void 0 : _k.type) === "video" ? (openBlock(), createBlock(unref(BglVideo), {
39171
- key: 1,
39172
- src: (_l2 = unref(currentItem)) == null ? void 0 : _l2.src,
39173
- autoplay: "",
39174
- controls: "",
39175
- class: "vw90"
39176
- }, null, 8, ["src"])) : ((_m = unref(currentItem)) == null ? void 0 : _m.type) === "pdf" ? (openBlock(), createElementBlock("embed", {
39177
- key: 2,
39178
- src: unref(normalizeURL)((_n2 = unref(currentItem)) == null ? void 0 : _n2.src),
39179
- type: "application/pdf",
39180
- width: "100%",
39181
- height: "1080",
39182
- title: (_o = unref(currentItem)) == null ? void 0 : _o.name,
39183
- class: "vw90"
39184
- }, null, 8, _hoisted_6)) : (openBlock(), createElementBlock("div", _hoisted_7, [
39185
- createVNode(unref(_sfc_main$p), {
39186
- class: "m-0 m_none",
39187
- icon: "draft",
39188
- size: 10,
39189
- weight: "12"
39190
- }),
39191
- createVNode(unref(_sfc_main$p), {
39192
- class: "m-0 none m_block m_-mb-1",
39193
- icon: "draft",
39194
- size: 4,
39195
- weight: "2"
39196
- }),
39197
- createElementVNode("div", _hoisted_8, [
39198
- createElementVNode("p", _hoisted_9, [
39199
- _cache[5] || (_cache[5] = createTextVNode(" File: ")),
39200
- createElementVNode("span", _hoisted_10, toDisplayString((_p = unref(currentItem)) == null ? void 0 : _p.name), 1)
39201
- ]),
39202
- createElementVNode("p", _hoisted_11, [
39203
- _cache[6] || (_cache[6] = createTextVNode(" Type: ")),
39204
- createElementVNode("span", _hoisted_12, toDisplayString((_q = unref(currentItem)) == null ? void 0 : _q.type), 1)
39205
- ]),
39206
- createVNode(unref(Btn), {
39207
- href: (_r2 = unref(currentItem)) == null ? void 0 : _r2.src,
39208
- target: "_blank",
39209
- round: "",
39210
- thin: "",
39211
- class: "mt-1",
39212
- value: "Open file"
39213
- }, null, 8, ["href"])
39214
- ])
39215
- ]))
39216
- ]),
39217
- unref(group) && unref(group).length > 1 ? (openBlock(), createElementBlock("div", _hoisted_13, [
39070
+ createVNode(unref(Carousel), {
39071
+ index: unref(currentIndex),
39072
+ "onUpdate:index": _cache[4] || (_cache[4] = ($event) => isRef(currentIndex) ? currentIndex.value = $event : currentIndex = $event),
39073
+ items: 1,
39074
+ class: normalizeClass(["bgl-lightbox-item", { zoomed: zoom.value > 1 }]),
39075
+ freeDrag: zoom.value === 1
39076
+ }, {
39077
+ default: withCtx(() => [
39078
+ (openBlock(true), createElementBlock(Fragment, null, renderList(unref(group), (item) => {
39079
+ return openBlock(), createElementBlock(Fragment, {
39080
+ key: item.src
39081
+ }, [
39082
+ item.type === "image" ? (openBlock(), createBlock(unref(Zoomer), {
39083
+ key: 0,
39084
+ zoom: zoom.value,
39085
+ "onUpdate:zoom": _cache[3] || (_cache[3] = ($event) => zoom.value = $event),
39086
+ disabled: !(item == null ? void 0 : item.enableZoom),
39087
+ "mouse-wheel-to-zoom": false
39088
+ }, {
39089
+ default: withCtx(() => [
39090
+ createVNode(unref(Image$1), {
39091
+ draggable: false,
39092
+ src: item == null ? void 0 : item.src,
39093
+ alt: "Preview",
39094
+ class: "vw90 lightbox-image"
39095
+ }, null, 8, ["src"])
39096
+ ]),
39097
+ _: 2
39098
+ }, 1032, ["zoom", "disabled"])) : (item == null ? void 0 : item.type) === "video" ? (openBlock(), createBlock(unref(BglVideo), {
39099
+ key: 1,
39100
+ src: item == null ? void 0 : item.src,
39101
+ autoplay: "",
39102
+ controls: "",
39103
+ class: "vw90"
39104
+ }, null, 8, ["src"])) : (item == null ? void 0 : item.type) === "pdf" ? (openBlock(), createElementBlock("embed", {
39105
+ key: 2,
39106
+ src: unref(normalizeURL)(item == null ? void 0 : item.src),
39107
+ type: "application/pdf",
39108
+ width: "100%",
39109
+ height: "1080",
39110
+ title: item == null ? void 0 : item.name,
39111
+ class: "vw90"
39112
+ }, null, 8, _hoisted_5)) : (openBlock(), createElementBlock("div", _hoisted_6, [
39113
+ createVNode(unref(_sfc_main$p), {
39114
+ class: "m-0 m_none",
39115
+ icon: "draft",
39116
+ size: 10,
39117
+ weight: "12"
39118
+ }),
39119
+ createVNode(unref(_sfc_main$p), {
39120
+ class: "m-0 none m_block m_-mb-1",
39121
+ icon: "draft",
39122
+ size: 4,
39123
+ weight: "2"
39124
+ }),
39125
+ createElementVNode("div", _hoisted_7, [
39126
+ createElementVNode("p", _hoisted_8, [
39127
+ _cache[6] || (_cache[6] = createTextVNode(" File: ")),
39128
+ createElementVNode("span", _hoisted_9, toDisplayString(item == null ? void 0 : item.name), 1)
39129
+ ]),
39130
+ createElementVNode("p", _hoisted_10, [
39131
+ _cache[7] || (_cache[7] = createTextVNode(" Type: ")),
39132
+ createElementVNode("span", _hoisted_11, toDisplayString(item == null ? void 0 : item.type), 1)
39133
+ ]),
39134
+ createVNode(unref(Btn), {
39135
+ href: item == null ? void 0 : item.src,
39136
+ target: "_blank",
39137
+ round: "",
39138
+ thin: "",
39139
+ class: "mt-1",
39140
+ value: "Open file"
39141
+ }, null, 8, ["href"])
39142
+ ])
39143
+ ]))
39144
+ ], 64);
39145
+ }), 128))
39146
+ ]),
39147
+ _: 1
39148
+ }, 8, ["index", "class", "freeDrag"]),
39149
+ unref(group) && unref(group).length > 1 ? (openBlock(), createElementBlock("div", _hoisted_12, [
39218
39150
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(group), (item, index2) => {
39219
39151
  return openBlock(), createElementBlock(Fragment, { key: index2 }, [
39220
39152
  item.type === "image" ? (openBlock(), createBlock(unref(Image$1), {
@@ -39241,7 +39173,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
39241
39173
  };
39242
39174
  }
39243
39175
  });
39244
- const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d5e5a1db"]]);
39176
+ const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f833758f"]]);
39245
39177
  const groups = {};
39246
39178
  let clickHandler = (_e2) => void 0;
39247
39179
  const lightboxDirective = {
@@ -40357,22 +40289,21 @@ function timeAgo(date2, lang = "en") {
40357
40289
  return selectedLang.justNow;
40358
40290
  }
40359
40291
  export {
40360
- _sfc_main$18 as Accordion,
40292
+ _sfc_main$17 as Accordion,
40361
40293
  AccordionItem,
40362
- _sfc_main$16 as AddressSearch,
40294
+ _sfc_main$15 as AddressSearch,
40363
40295
  Alert,
40364
40296
  Avatar,
40365
40297
  Badge,
40366
- _sfc_main$Q as BagelForm,
40367
- _sfc_main$T as BagelForm2,
40298
+ _sfc_main$S as BagelForm,
40368
40299
  BagelVue,
40369
- _sfc_main$11 as BglComponent,
40370
- _sfc_main$R as BglField,
40371
- _sfc_main$Q as BglForm,
40300
+ _sfc_main$10 as BglComponent,
40301
+ _sfc_main$Q as BglField,
40302
+ _sfc_main$S as BglForm,
40372
40303
  BglVideo,
40373
40304
  BottomMenu,
40374
40305
  Btn,
40375
- _sfc_main$$ as Card,
40306
+ _sfc_main$_ as Card,
40376
40307
  Carousel,
40377
40308
  CheckInput,
40378
40309
  Checkbox,
@@ -40383,7 +40314,7 @@ export {
40383
40314
  _sfc_main$K as DateInput,
40384
40315
  DatePick,
40385
40316
  _sfc_main$I as DatePicker,
40386
- _sfc_main$W as Dropdown,
40317
+ _sfc_main$V as Dropdown,
40387
40318
  FORM_STATE_KEY,
40388
40319
  _sfc_main$P as FieldArray,
40389
40320
  FieldSetVue,
@@ -40396,7 +40327,7 @@ export {
40396
40327
  Image$1 as Image,
40397
40328
  JSONInput,
40398
40329
  Layout,
40399
- _sfc_main$Z as Lineart,
40330
+ _sfc_main$Y as Lineart,
40400
40331
  _sfc_main$f as ListItem,
40401
40332
  ListView,
40402
40333
  Loading,