@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.cjs CHANGED
@@ -47,7 +47,7 @@ const bagelFormUtils = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defi
47
47
  return uploadField;
48
48
  }
49
49
  }, Symbol.toStringTag, { value: "Module" }));
50
- const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
50
+ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
51
51
  __name: "Accordion",
52
52
  setup(__props) {
53
53
  const state2 = vue.reactive({
@@ -61,10 +61,10 @@ const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
61
61
  };
62
62
  }
63
63
  });
64
- const _hoisted_1$W = ["aria-expanded", "aria-controls"];
65
- const _hoisted_2$D = { class: "accordion-label" };
66
- const _hoisted_3$t = ["id", "aria-hidden"];
67
- const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
64
+ const _hoisted_1$X = ["aria-expanded", "aria-controls"];
65
+ const _hoisted_2$E = { class: "accordion-label" };
66
+ const _hoisted_3$u = ["id", "aria-hidden"];
67
+ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
68
68
  __name: "AccordionItem",
69
69
  props: {
70
70
  label: {},
@@ -130,7 +130,7 @@ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
130
130
  vue.createVNode(vue.unref(_sfc_main$p), { icon: computedIcon.value }, null, 8, ["icon"])
131
131
  ], 2)) : vue.createCommentVNode("", true),
132
132
  vue.renderSlot(_ctx.$slots, "head", {}, () => [
133
- vue.createElementVNode("span", _hoisted_2$D, vue.toDisplayString(_ctx.label), 1)
133
+ vue.createElementVNode("span", _hoisted_2$E, vue.toDisplayString(_ctx.label), 1)
134
134
  ], true),
135
135
  iconPosition.value === "end" ? (vue.openBlock(), vue.createElementBlock("span", {
136
136
  key: 1,
@@ -138,7 +138,7 @@ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
138
138
  }, [
139
139
  vue.createVNode(vue.unref(_sfc_main$p), { icon: computedIcon.value }, null, 8, ["icon"])
140
140
  ], 2)) : vue.createCommentVNode("", true)
141
- ], 8, _hoisted_1$W),
141
+ ], 8, _hoisted_1$X),
142
142
  vue.createVNode(vue.Transition, { name: "expand" }, {
143
143
  default: vue.withCtx(() => [
144
144
  vue.unref(isOpen) ? (vue.openBlock(), vue.createElementBlock("div", {
@@ -148,7 +148,7 @@ const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
148
148
  "aria-hidden": vue.unref(isOpen) ? "false" : "true"
149
149
  }, [
150
150
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
151
- ], 8, _hoisted_3$t)) : vue.createCommentVNode("", true)
151
+ ], 8, _hoisted_3$u)) : vue.createCommentVNode("", true)
152
152
  ]),
153
153
  _: 3
154
154
  })
@@ -163,9 +163,9 @@ const _export_sfc = (sfc, props2) => {
163
163
  }
164
164
  return target;
165
165
  };
166
- const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-3334f637"]]);
167
- const _hoisted_1$V = { class: "relative" };
168
- const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
166
+ const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-3334f637"]]);
167
+ const _hoisted_1$W = { class: "relative" };
168
+ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
169
169
  __name: "AddressSearch",
170
170
  emits: ["addressSelected"],
171
171
  setup(__props, { emit: __emit }) {
@@ -187,8 +187,8 @@ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
187
187
  (_a2 = suggestion.value) == null ? void 0 : _a2.show();
188
188
  }
189
189
  return (_ctx, _cache) => {
190
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$V, [
191
- vue.createVNode(vue.unref(_sfc_main$W), {
190
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$W, [
191
+ vue.createVNode(vue.unref(_sfc_main$V), {
192
192
  ref_key: "suggestion",
193
193
  ref: suggestion,
194
194
  noAutoFocus: true,
@@ -223,11 +223,11 @@ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
223
223
  };
224
224
  }
225
225
  });
226
- const _hoisted_1$U = {
226
+ const _hoisted_1$V = {
227
227
  key: 1,
228
228
  class: "bgl_btn-flex"
229
229
  };
230
- const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
230
+ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
231
231
  __name: "Btn",
232
232
  props: {
233
233
  disabled: { type: Boolean, default: false },
@@ -293,7 +293,7 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
293
293
  key: 0,
294
294
  class: "h-100p",
295
295
  size: "15"
296
- })) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$U, [
296
+ })) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$V, [
297
297
  _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$p), {
298
298
  key: 0,
299
299
  icon: _ctx.icon,
@@ -317,10 +317,10 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
317
317
  };
318
318
  }
319
319
  });
320
- const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-7b18a02c"]]);
321
- const _hoisted_1$T = ["dismissable"];
322
- const _hoisted_2$C = { class: "m-0" };
323
- const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
320
+ const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-7b18a02c"]]);
321
+ const _hoisted_1$U = ["dismissable"];
322
+ const _hoisted_2$D = { class: "m-0" };
323
+ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
324
324
  __name: "Alert",
325
325
  props: {
326
326
  message: {},
@@ -348,7 +348,7 @@ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
348
348
  size: 2,
349
349
  color: color2[_ctx.type]
350
350
  }, null, 8, ["icon", "color"])) : vue.createCommentVNode("", true),
351
- vue.createElementVNode("p", _hoisted_2$C, vue.toDisplayString(_ctx.message), 1),
351
+ vue.createElementVNode("p", _hoisted_2$D, vue.toDisplayString(_ctx.message), 1),
352
352
  vue.createVNode(Btn, {
353
353
  flat: "",
354
354
  thin: "",
@@ -356,13 +356,13 @@ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
356
356
  icon: "close",
357
357
  onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
358
358
  })
359
- ], 10, _hoisted_1$T)) : vue.createCommentVNode("", true);
359
+ ], 10, _hoisted_1$U)) : vue.createCommentVNode("", true);
360
360
  };
361
361
  }
362
362
  });
363
- const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-064bdd20"]]);
364
- const _hoisted_1$S = ["src", "alt"];
365
- const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
363
+ const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-064bdd20"]]);
364
+ const _hoisted_1$T = ["src", "alt"];
365
+ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
366
366
  __name: "Avatar",
367
367
  props: {
368
368
  fallback: {},
@@ -380,7 +380,7 @@ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
380
380
  key: 0,
381
381
  src: _ctx.src,
382
382
  alt: _ctx.name
383
- }, null, 8, _hoisted_1$S)) : (vue.openBlock(), vue.createElementBlock("p", {
383
+ }, null, 8, _hoisted_1$T)) : (vue.openBlock(), vue.createElementBlock("p", {
384
384
  key: 1,
385
385
  style: vue.normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
386
386
  }, vue.toDisplayString((_ctx.fallback || vue.unref(initials)(_ctx.name || "")).toUpperCase()), 5))
@@ -388,8 +388,8 @@ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
388
388
  };
389
389
  }
390
390
  });
391
- const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-46ad8c25"]]);
392
- const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
391
+ const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-46ad8c25"]]);
392
+ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
393
393
  __name: "Badge",
394
394
  props: {
395
395
  color: {},
@@ -418,9 +418,9 @@ const _sfc_main$12 = /* @__PURE__ */ vue.defineComponent({
418
418
  };
419
419
  }
420
420
  });
421
- const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-689f051f"]]);
422
- const _hoisted_1$R = { key: 1 };
423
- const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
421
+ const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-689f051f"]]);
422
+ const _hoisted_1$S = { key: 1 };
423
+ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
424
424
  __name: "BglComponent",
425
425
  props: {
426
426
  field: {},
@@ -449,7 +449,7 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
449
449
  if (props2.field.$el === "file") return FileUpload;
450
450
  if (props2.field.$el === "date") return _sfc_main$K;
451
451
  if (props2.field.$el === "tabs") return TabsNav;
452
- if (props2.field.$el === "form") return _sfc_main$Q;
452
+ if (props2.field.$el === "form") return _sfc_main$S;
453
453
  return props2.field.$el ?? "div";
454
454
  });
455
455
  function getFieldData(path) {
@@ -566,7 +566,7 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
566
566
  id: [props2.id, child.id].filter(Boolean).join("."),
567
567
  field: child,
568
568
  "parent-path": props2.id
569
- }, null, 8, ["id", "field", "parent-path"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$R, vue.toDisplayString(child), 1))
569
+ }, null, 8, ["id", "field", "parent-path"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$S, vue.toDisplayString(child), 1))
570
570
  ], 64);
571
571
  }), 128))
572
572
  ], 64))
@@ -576,10 +576,10 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
576
576
  };
577
577
  }
578
578
  });
579
- const _hoisted_1$Q = ["src"];
580
- const _hoisted_2$B = ["autoplay", "muted", "loop", "controls", "playsinline"];
581
- const _hoisted_3$s = ["src", "type"];
582
- const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
579
+ const _hoisted_1$R = ["src"];
580
+ const _hoisted_2$C = ["autoplay", "muted", "loop", "controls", "playsinline"];
581
+ const _hoisted_3$t = ["src", "type"];
582
+ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
583
583
  __name: "BglVideo",
584
584
  props: {
585
585
  src: {},
@@ -656,7 +656,7 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
656
656
  allowfullscreen: "",
657
657
  title: "Video",
658
658
  allow: "autoplay"
659
- }, null, 12, _hoisted_1$Q)) : _ctx.src ? (vue.openBlock(), vue.createElementBlock("video", {
659
+ }, null, 12, _hoisted_1$R)) : _ctx.src ? (vue.openBlock(), vue.createElementBlock("video", {
660
660
  key: 1,
661
661
  ref_key: "video",
662
662
  ref: video,
@@ -670,18 +670,18 @@ const _sfc_main$10 = /* @__PURE__ */ vue.defineComponent({
670
670
  vue.createElementVNode("source", {
671
671
  src: _ctx.src,
672
672
  type: `video/${videoFormat.value}`
673
- }, null, 8, _hoisted_3$s)
674
- ], 12, _hoisted_2$B)) : vue.createCommentVNode("", true)
673
+ }, null, 8, _hoisted_3$t)
674
+ ], 12, _hoisted_2$C)) : vue.createCommentVNode("", true)
675
675
  ], 2);
676
676
  };
677
677
  }
678
678
  });
679
- const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__scopeId", "data-v-006552f6"]]);
680
- const _hoisted_1$P = {
679
+ const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-006552f6"]]);
680
+ const _hoisted_1$Q = {
681
681
  key: 0,
682
682
  class: "card_label"
683
683
  };
684
- const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
684
+ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
685
685
  __name: "Card",
686
686
  props: {
687
687
  label: {},
@@ -710,7 +710,7 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
710
710
  }])
711
711
  }, {
712
712
  default: vue.withCtx(() => [
713
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$P, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
713
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$Q, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
714
714
  vue.renderSlot(_ctx.$slots, "default")
715
715
  ]),
716
716
  _: 3
@@ -720,16 +720,16 @@ const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
720
720
  };
721
721
  }
722
722
  });
723
- const _hoisted_1$O = ["dir"];
724
- const _hoisted_2$A = {
723
+ const _hoisted_1$P = ["dir"];
724
+ const _hoisted_2$B = {
725
725
  key: 0,
726
726
  class: "dots"
727
727
  };
728
- const _hoisted_3$r = ["onClick"];
728
+ const _hoisted_3$s = ["onClick"];
729
729
  const _hoisted_4$j = { class: "Handlers" };
730
730
  const GAP_PERCENT = 1;
731
731
  const VELOCITY_SAMPLE_DURATION = 100;
732
- const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
732
+ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
733
733
  __name: "Carousel",
734
734
  props: {
735
735
  autoHeight: { type: Boolean, default: false },
@@ -900,6 +900,7 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
900
900
  });
901
901
  }
902
902
  function startDrag(e) {
903
+ e.stopPropagation();
903
904
  if (e.button !== 0 || !props2.freeDrag || !isSliderAvailable.value) return;
904
905
  clearAutoplay();
905
906
  startX.value = e.pageX;
@@ -1148,13 +1149,13 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
1148
1149
  }, [
1149
1150
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
1150
1151
  ], 38),
1151
- props2.dots && vue.unref(slideCount) > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$A, [
1152
+ props2.dots && vue.unref(slideCount) > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$B, [
1152
1153
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(slideCount), (i2) => {
1153
1154
  return vue.openBlock(), vue.createElementBlock("span", {
1154
1155
  key: i2,
1155
1156
  class: vue.normalizeClass(["dot", { current: vue.unref(activeSlideIndex) === i2 - 1 }]),
1156
1157
  onClick: ($event) => goToSlide(i2 - 1)
1157
- }, null, 10, _hoisted_3$r);
1158
+ }, null, 10, _hoisted_3$s);
1158
1159
  }), 128))
1159
1160
  ])) : vue.createCommentVNode("", true),
1160
1161
  vue.createElementVNode("div", _hoisted_4$j, [
@@ -1171,11 +1172,11 @@ const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
1171
1172
  }, void 0, true)
1172
1173
  ])
1173
1174
  ])
1174
- ], 14, _hoisted_1$O);
1175
+ ], 14, _hoisted_1$P);
1175
1176
  };
1176
1177
  }
1177
1178
  });
1178
- const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-f03624ac"]]);
1179
+ const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-1ae4b9ae"]]);
1179
1180
  function _isPlaceholder(a2) {
1180
1181
  return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
1181
1182
  }
@@ -7009,7 +7010,7 @@ const _hoisted_1$1$1 = {
7009
7010
  style: { display: "flex", position: "relative" }
7010
7011
  };
7011
7012
  const _hoisted_2$1$1 = ["width", "height", "viewBox"];
7012
- const _hoisted_3$q = { class: "layer-rectangles" };
7013
+ const _hoisted_3$r = { class: "layer-rectangles" };
7013
7014
  const _hoisted_4$i = ["transform", "onMouseover"];
7014
7015
  const _hoisted_5$h = ["width", "height"];
7015
7016
  const _hoisted_6$e = {
@@ -7027,7 +7028,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
7027
7028
  viewBox: `0 0 ${_ctx.size.width} ${_ctx.size.height}`,
7028
7029
  ref: "el"
7029
7030
  }, [
7030
- vue.createElementVNode("g", _hoisted_3$q, [
7031
+ vue.createElementVNode("g", _hoisted_3$r, [
7031
7032
  (vue.openBlock(true), vue.createElementBlock(
7032
7033
  vue.Fragment,
7033
7034
  null,
@@ -7119,25 +7120,25 @@ var script = vue.defineComponent({
7119
7120
  return { bar, canvas, direction, mouse };
7120
7121
  }
7121
7122
  });
7122
- const _hoisted_1$N = {
7123
+ const _hoisted_1$O = {
7123
7124
  key: 0,
7124
7125
  class: "layer-hover-bar"
7125
7126
  };
7126
- const _hoisted_2$z = ["x", "y", "width", "height"];
7127
+ const _hoisted_2$A = ["x", "y", "width", "height"];
7127
7128
  function render(_ctx, _cache, $props, $setup, $data, $options) {
7128
- return _ctx.mouse.hover ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$N, [
7129
+ return _ctx.mouse.hover ? (vue.openBlock(), vue.createElementBlock("g", _hoisted_1$O, [
7129
7130
  vue.createElementVNode("rect", vue.mergeProps({ class: "hover-bar" }, _ctx.barStyle, {
7130
7131
  x: _ctx.bar.x,
7131
7132
  y: _ctx.bar.y,
7132
7133
  width: _ctx.bar.width > 0 ? _ctx.bar.width : 0,
7133
7134
  height: _ctx.bar.height > 0 ? _ctx.bar.height : 0
7134
- }), null, 16, _hoisted_2$z)
7135
+ }), null, 16, _hoisted_2$A)
7135
7136
  ])) : vue.createCommentVNode("v-if", true);
7136
7137
  }
7137
7138
  script.render = render;
7138
7139
  script.__file = "src/components/HoverBar/index.vue";
7139
7140
  const BRAND_COLOR = "var(--bgl-primary)";
7140
- const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
7141
+ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
7141
7142
  __name: "Lineart",
7142
7143
  props: {
7143
7144
  data: {},
@@ -7277,15 +7278,15 @@ const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
7277
7278
  };
7278
7279
  }
7279
7280
  });
7280
- const _hoisted_1$M = {
7281
+ const _hoisted_1$N = {
7281
7282
  key: 0,
7282
7283
  class: "data"
7283
7284
  };
7284
- const _hoisted_2$y = {
7285
+ const _hoisted_2$z = {
7285
7286
  key: 0,
7286
7287
  class: "data-row m_py-05"
7287
7288
  };
7288
- const _hoisted_3$p = { class: "key" };
7289
+ const _hoisted_3$q = { class: "key" };
7289
7290
  const _hoisted_4$h = { class: "m-0" };
7290
7291
  const _hoisted_5$g = { key: 1 };
7291
7292
  const _hoisted_6$d = {
@@ -7298,7 +7299,7 @@ const _hoisted_9$5 = {
7298
7299
  key: 0,
7299
7300
  class: "m-0"
7300
7301
  };
7301
- const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
7302
+ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
7302
7303
  __name: "DataPreview",
7303
7304
  props: /* @__PURE__ */ vue.mergeModels({
7304
7305
  showFields: {},
@@ -7334,7 +7335,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
7334
7335
  const computedSchema = vue.computed(() => getFallbackSchema([itemData.value], props2.showFields));
7335
7336
  return (_ctx, _cache) => {
7336
7337
  var _a2;
7337
- return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$M, [
7338
+ return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$N, [
7338
7339
  _ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$4), {
7339
7340
  key: 0,
7340
7341
  label: _ctx.title
@@ -7343,11 +7344,11 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
7343
7344
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
7344
7345
  key: field.id
7345
7346
  }, [
7346
- vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$y, [
7347
- vue.createElementVNode("div", _hoisted_3$p, [
7347
+ vue.unref(iffer)(field, itemData.value) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$z, [
7348
+ vue.createElementVNode("div", _hoisted_3$q, [
7348
7349
  vue.createElementVNode("p", _hoisted_4$h, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1)
7349
7350
  ]),
7350
- vue.createVNode(vue.unref(_sfc_main$R), {
7351
+ vue.createVNode(vue.unref(_sfc_main$Q), {
7351
7352
  modelValue: itemData.value,
7352
7353
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => itemData.value = $event),
7353
7354
  label: "",
@@ -7376,7 +7377,7 @@ const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
7376
7377
  };
7377
7378
  }
7378
7379
  });
7379
- const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-6c27f163"]]);
7380
+ const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-6c27f163"]]);
7380
7381
  const NON_DIGIT_REGEX = /[^\d.-]/g;
7381
7382
  function useTableData(options) {
7382
7383
  const sortField = vue.ref("");
@@ -8075,12 +8076,12 @@ function useTableVirtualization(options) {
8075
8076
  registerLastItemObserver
8076
8077
  };
8077
8078
  }
8078
- const _hoisted_1$L = {
8079
+ const _hoisted_1$M = {
8079
8080
  key: 0,
8080
8081
  class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
8081
8082
  };
8082
- const _hoisted_2$x = { class: "infinite-wrapper" };
8083
- const _hoisted_3$o = { class: "row first-row" };
8083
+ const _hoisted_2$y = { class: "infinite-wrapper" };
8084
+ const _hoisted_3$p = { class: "row first-row" };
8084
8085
  const _hoisted_4$g = { key: 0 };
8085
8086
  const _hoisted_5$f = ["onClick"];
8086
8087
  const _hoisted_6$c = { class: "flex" };
@@ -8088,7 +8089,7 @@ const _hoisted_7$8 = ["onClick"];
8088
8089
  const _hoisted_8$5 = { key: 0 };
8089
8090
  const _hoisted_9$4 = ["value"];
8090
8091
  const _hoisted_10$4 = { key: 1 };
8091
- const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
8092
+ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
8092
8093
  __name: "DataTable",
8093
8094
  props: /* @__PURE__ */ vue.mergeModels({
8094
8095
  data: {},
@@ -8196,11 +8197,11 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
8196
8197
  return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({ class: "table-list-wrap h-100" }, vue.unref(containerProps), {
8197
8198
  class: { "loading-table": loading.value }
8198
8199
  }), [
8199
- loading.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$L, _cache[4] || (_cache[4] = [
8200
+ loading.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$M, _cache[4] || (_cache[4] = [
8200
8201
  vue.createElementVNode("div", { class: "loading-table-animation absolute oval" }, null, -1)
8201
8202
  ]))) : (vue.openBlock(), vue.createElementBlock("div", vue.normalizeProps(vue.mergeProps({ key: 1 }, vue.unref(wrapperProps))), [
8202
- vue.createElementVNode("table", _hoisted_2$x, [
8203
- vue.createElementVNode("thead", _hoisted_3$o, [
8203
+ vue.createElementVNode("table", _hoisted_2$y, [
8204
+ vue.createElementVNode("thead", _hoisted_3$p, [
8204
8205
  vue.unref(isSelectable) ? (vue.openBlock(), vue.createElementBlock("th", _hoisted_4$g, [
8205
8206
  vue.createElementVNode("input", {
8206
8207
  ref_key: "allSelectorEl",
@@ -8263,7 +8264,7 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
8263
8264
  row,
8264
8265
  field
8265
8266
  }, void 0, true) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_10$4, [
8266
- vue.createVNode(vue.unref(_sfc_main$11), {
8267
+ vue.createVNode(vue.unref(_sfc_main$10), {
8267
8268
  id: field.id,
8268
8269
  class: "embedded-field",
8269
8270
  field,
@@ -8288,7 +8289,7 @@ const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
8288
8289
  };
8289
8290
  }
8290
8291
  });
8291
- const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-cf461a0e"]]);
8292
+ const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__scopeId", "data-v-cf461a0e"]]);
8292
8293
  const sides = ["top", "right", "bottom", "left"];
8293
8294
  const alignments = ["start", "end"];
8294
8295
  const placements = /* @__PURE__ */ sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
@@ -10835,7 +10836,7 @@ const Gt$1 = {
10835
10836
  install: Ct$1,
10836
10837
  options: h
10837
10838
  };
10838
- const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
10839
+ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
10839
10840
  __name: "Dropdown",
10840
10841
  props: /* @__PURE__ */ vue.mergeModels({
10841
10842
  value: {},
@@ -10913,9 +10914,9 @@ const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
10913
10914
  };
10914
10915
  }
10915
10916
  });
10916
- const _hoisted_1$K = { class: "px-1 pt-025 pb-1" };
10917
- const _hoisted_2$w = { class: "ms-1" };
10918
- const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
10917
+ const _hoisted_1$L = { class: "px-1 pt-025 pb-1" };
10918
+ const _hoisted_2$x = { class: "ms-1" };
10919
+ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
10919
10920
  __name: "FieldSetVue",
10920
10921
  props: {
10921
10922
  label: {},
@@ -10923,15 +10924,15 @@ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
10923
10924
  },
10924
10925
  setup(__props) {
10925
10926
  return (_ctx, _cache) => {
10926
- return vue.openBlock(), vue.createElementBlock("fieldset", _hoisted_1$K, [
10927
- vue.createElementVNode("legend", _hoisted_2$w, vue.toDisplayString(_ctx.legend || _ctx.label), 1),
10927
+ return vue.openBlock(), vue.createElementBlock("fieldset", _hoisted_1$L, [
10928
+ vue.createElementVNode("legend", _hoisted_2$x, vue.toDisplayString(_ctx.legend || _ctx.label), 1),
10928
10929
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
10929
10930
  ]);
10930
10931
  };
10931
10932
  }
10932
10933
  });
10933
- const FieldSetVue = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-f7e758e5"]]);
10934
- const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
10934
+ const FieldSetVue = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-f7e758e5"]]);
10935
+ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
10935
10936
  __name: "Flag",
10936
10937
  props: {
10937
10938
  country: {},
@@ -10961,8 +10962,8 @@ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
10961
10962
  };
10962
10963
  }
10963
10964
  });
10964
- const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-f99f1900"]]);
10965
- const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
10965
+ const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-f99f1900"]]);
10966
+ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
10966
10967
  __name: "BagelForm",
10967
10968
  props: {
10968
10969
  modelValue: { default: () => ({}) },
@@ -11002,7 +11003,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
11002
11003
  file: FileUpload,
11003
11004
  date: _sfc_main$K,
11004
11005
  tabs: TabsNav,
11005
- bglform: _sfc_main$Q
11006
+ bglform: _sfc_main$S
11006
11007
  };
11007
11008
  if (field.$el === "textarea" && !((_a2 = field.attrs) == null ? void 0 : _a2.multiline)) {
11008
11009
  field.attrs = { ...field.attrs, multiline: true };
@@ -11070,8 +11071,9 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
11070
11071
  props22.class = typeof field.class === "function" ? field.class(formData.value[field.id], formData.value) : field.class;
11071
11072
  }
11072
11073
  const slots = ((_a2 = field.children) == null ? void 0 : _a2.length) ? {
11073
- default: () => field.children.map((child) => typeof child === "string" ? child : renderSchemaField(child)).filter(Boolean)
11074
- } : void 0;
11074
+ default: () => field.children.map((child) => typeof child === "string" ? child : renderSchemaField(child)).filter(Boolean),
11075
+ ...field.slots
11076
+ } : field.slots;
11075
11077
  return vue.h(Component, props22, slots);
11076
11078
  }
11077
11079
  function shouldRenderField(field) {
@@ -11090,9 +11092,9 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
11090
11092
  ref: form,
11091
11093
  onSubmit: vue.withModifiers(handleSubmit, ["prevent"])
11092
11094
  }, [
11093
- resolvedSchema.value ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(resolvedSchema.value, (field, index2) => {
11095
+ resolvedSchema.value ? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList(resolvedSchema.value, (field) => {
11094
11096
  return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(renderSchemaField(field)), {
11095
- key: field.id || index2
11097
+ key: field.id
11096
11098
  });
11097
11099
  }), 128)) : vue.renderSlot(_ctx.$slots, "default", { key: 1 }),
11098
11100
  vue.renderSlot(_ctx.$slots, "submit", {
@@ -11117,8 +11119,8 @@ function useTabs(group) {
11117
11119
  });
11118
11120
  return { currentTab };
11119
11121
  }
11120
- const _hoisted_1$J = ["onClick"];
11121
- const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
11122
+ const _hoisted_1$K = ["onClick"];
11123
+ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
11122
11124
  __name: "TabsNav",
11123
11125
  props: {
11124
11126
  title: {},
@@ -11200,14 +11202,14 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
11200
11202
  icon: tab.icon
11201
11203
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
11202
11204
  vue.createTextVNode(" " + vue.toDisplayString(tabLabel(tab)), 1)
11203
- ], 10, _hoisted_1$J);
11205
+ ], 10, _hoisted_1$K);
11204
11206
  }), 128))
11205
11207
  ], true)
11206
11208
  ], 2);
11207
11209
  };
11208
11210
  }
11209
11211
  });
11210
- const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-e680c2a4"]]);
11212
+ const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-e680c2a4"]]);
11211
11213
  const FORM_STATE_KEY = Symbol("bagelFormState");
11212
11214
  function safeClone(obj) {
11213
11215
  if (obj === null || typeof obj !== "object") return obj;
@@ -11269,8 +11271,8 @@ function useBagelFormState() {
11269
11271
  if (!state2) throw new Error("BagelFormState must be provided");
11270
11272
  return state2;
11271
11273
  }
11272
- const _hoisted_1$I = { key: 1 };
11273
- const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
11274
+ const _hoisted_1$J = { key: 1 };
11275
+ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
11274
11276
  __name: "BglField",
11275
11277
  props: {
11276
11278
  field: {},
@@ -11300,7 +11302,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
11300
11302
  if (props2.field.$el === "file") return FileUpload;
11301
11303
  if (props2.field.$el === "date") return _sfc_main$K;
11302
11304
  if (props2.field.$el === "tabs") return TabsNav;
11303
- if (props2.field.$el === "bglform") return _sfc_main$Q;
11305
+ if (props2.field.$el === "bglform") return _sfc_main$S;
11304
11306
  return props2.field.$el ?? "div";
11305
11307
  });
11306
11308
  const fieldData = vue.computed({
@@ -11365,7 +11367,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
11365
11367
  fieldID: [props2.fieldID, child.id].filter(Boolean).join("."),
11366
11368
  field: child,
11367
11369
  "parent-path": props2.fieldID
11368
- }, null, 8, ["fieldID", "field", "parent-path"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$I, vue.toDisplayString(child), 1))
11370
+ }, null, 8, ["fieldID", "field", "parent-path"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$J, vue.toDisplayString(child), 1))
11369
11371
  ], 64);
11370
11372
  }), 128))
11371
11373
  ]),
@@ -11374,151 +11376,8 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
11374
11376
  };
11375
11377
  }
11376
11378
  });
11377
- const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
11378
- __name: "BglForm",
11379
- props: {
11380
- label: {},
11381
- fieldID: {},
11382
- schema: {},
11383
- modelValue: { default: () => ({}) },
11384
- onDelete: {},
11385
- onSubmit: {},
11386
- status: {},
11387
- tag: { default: "form" }
11388
- },
11389
- emits: ["update:modelValue", "submit", "dirty"],
11390
- setup(__props, { expose: __expose, emit: __emit }) {
11391
- const props2 = __props;
11392
- const emit2 = __emit;
11393
- const slots = vue.useSlots();
11394
- const { showModal } = useModal();
11395
- const existingFormState = vue.inject(FORM_STATE_KEY);
11396
- const isNested = Boolean(existingFormState && props2.fieldID);
11397
- const { data: data2, isDirty } = isNested ? existingFormState : provideBagelFormState(props2.modelValue);
11398
- let emitDirty = vue.ref(false);
11399
- if (!isNested) {
11400
- vue.watch(() => props2.modelValue, (newVal) => {
11401
- if (emitDirty.value) {
11402
- emitDirty.value = false;
11403
- return;
11404
- }
11405
- data2.value = newVal;
11406
- }, { deep: true, immediate: true });
11407
- vue.watch(() => data2.value, (newVal) => {
11408
- if (emitDirty.value) return;
11409
- emitDirty.value = true;
11410
- emit2("dirty");
11411
- emit2("update:modelValue", newVal);
11412
- }, { deep: true });
11413
- }
11414
- const form = vue.ref();
11415
- function validateForm() {
11416
- setTimeout(() => {
11417
- var _a2;
11418
- return (_a2 = form.value) == null ? void 0 : _a2.reportValidity();
11419
- }, 300);
11420
- if (!form.value) return false;
11421
- return form.value.reportValidity();
11422
- }
11423
- function clearForm() {
11424
- if (!isNested) {
11425
- data2.value = {};
11426
- }
11427
- }
11428
- vue.watch(
11429
- () => props2.status,
11430
- (status) => {
11431
- if (status === "success" && !isNested) {
11432
- isDirty.value = false;
11433
- clearForm();
11434
- }
11435
- },
11436
- { immediate: true }
11437
- );
11438
- function runSubmit() {
11439
- const isValid2 = validateForm();
11440
- if (!isValid2) return;
11441
- emit2("submit", { ...data2.value });
11442
- if (!isNested) {
11443
- isDirty.value = false;
11444
- }
11445
- }
11446
- const i18nT = (val) => val;
11447
- function deleteItem() {
11448
- showModal(
11449
- {
11450
- class: "small-modal",
11451
- title: i18nT("Are you sure?"),
11452
- actions: [
11453
- {
11454
- value: "Confirm",
11455
- color: "red",
11456
- onClick: () => {
11457
- var _a2;
11458
- return (_a2 = props2.onDelete) == null ? void 0 : _a2.call(props2, data2.value.id);
11459
- }
11460
- },
11461
- { value: "Cancel", color: "gray" }
11462
- ]
11463
- },
11464
- { default: i18nT("form.deleteMessage") }
11465
- );
11466
- }
11467
- const computedSchema = vue.computed(() => useBglSchema({ schema: props2.schema }));
11468
- __expose({
11469
- submit: runSubmit,
11470
- validateForm,
11471
- deleteItem,
11472
- isDirty,
11473
- clearForm
11474
- });
11475
- return (_ctx, _cache) => {
11476
- return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
11477
- _ctx.tag === "template" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
11478
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, (field, i2) => {
11479
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), {
11480
- key: field.id || `${i2}p`,
11481
- fieldID: field.id,
11482
- field
11483
- }, null, 8, ["fieldID", "field"]);
11484
- }), 128)),
11485
- vue.renderSlot(_ctx.$slots, "submit", {
11486
- submit: runSubmit,
11487
- isDirty: vue.unref(isDirty),
11488
- validateForm
11489
- })
11490
- ], 64)) : !vue.unref(slots).success || _ctx.status !== "success" ? (vue.openBlock(), vue.createElementBlock("form", {
11491
- key: 1,
11492
- ref_key: "form",
11493
- ref: form,
11494
- onSubmit: vue.withModifiers(runSubmit, ["prevent"])
11495
- }, [
11496
- _ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$4), {
11497
- key: 0,
11498
- tag: "h4",
11499
- label: _ctx.label
11500
- }, null, 8, ["label"])) : vue.createCommentVNode("", true),
11501
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, (field, i2) => {
11502
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), {
11503
- key: field.id || `${i2}p`,
11504
- fieldID: field.id,
11505
- field
11506
- }, null, 8, ["fieldID", "field"]);
11507
- }), 128)),
11508
- vue.renderSlot(_ctx.$slots, "submit", {
11509
- submit: runSubmit,
11510
- isDirty: vue.unref(isDirty),
11511
- validateForm
11512
- })
11513
- ], 544)) : vue.createCommentVNode("", true),
11514
- _ctx.status === "success" ? vue.renderSlot(_ctx.$slots, "success", { key: 2 }) : vue.createCommentVNode("", true),
11515
- _ctx.status === "error" ? vue.renderSlot(_ctx.$slots, "error", { key: 3 }) : vue.createCommentVNode("", true)
11516
- ], 64);
11517
- };
11518
- }
11519
- });
11520
- const _hoisted_1$H = { class: "label mb-05" };
11521
- const _hoisted_2$v = {
11379
+ const _hoisted_1$I = { class: "label mb-05" };
11380
+ const _hoisted_2$w = {
11522
11381
  key: 0,
11523
11382
  class: "-ms-05 ps-05 border-start"
11524
11383
  };
@@ -11579,8 +11438,8 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
11579
11438
  return vue.openBlock(), vue.createElementBlock("div", {
11580
11439
  class: vue.normalizeClass(props2.class)
11581
11440
  }, [
11582
- vue.createElementVNode("p", _hoisted_1$H, vue.toDisplayString(_ctx.label), 1),
11583
- _ctx.schema ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$v, [
11441
+ vue.createElementVNode("p", _hoisted_1$I, vue.toDisplayString(_ctx.label), 1),
11442
+ _ctx.schema ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$w, [
11584
11443
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(data2.value, (_2, i2) => {
11585
11444
  return vue.openBlock(), vue.createElementBlock("div", {
11586
11445
  key: i2,
@@ -11588,7 +11447,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
11588
11447
  thin: "",
11589
11448
  class: "mb-05 itemBox transition p-05"
11590
11449
  }, [
11591
- vue.createVNode(vue.unref(_sfc_main$Q), {
11450
+ vue.createVNode(vue.unref(_sfc_main$S), {
11592
11451
  modelValue: data2.value[i2],
11593
11452
  "onUpdate:modelValue": [($event) => data2.value[i2] = $event, emitValue],
11594
11453
  schema: _ctx.schema
@@ -11618,7 +11477,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
11618
11477
  _: 1
11619
11478
  })) : vue.createCommentVNode("", true)
11620
11479
  ])) : (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 1 }, vue.renderList(data2.value, (_2, i2) => {
11621
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$R), {
11480
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$Q), {
11622
11481
  key: i2,
11623
11482
  modelValue: data2.value[i2],
11624
11483
  "onUpdate:modelValue": [($event) => data2.value[i2] = $event, emitValue],
@@ -11629,7 +11488,7 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
11629
11488
  };
11630
11489
  }
11631
11490
  });
11632
- const _hoisted_1$G = { class: "primary-checkbox" };
11491
+ const _hoisted_1$H = { class: "primary-checkbox" };
11633
11492
  const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
11634
11493
  __name: "Checkbox",
11635
11494
  props: {
@@ -11640,7 +11499,7 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
11640
11499
  setup(__props) {
11641
11500
  const val = vue.useModel(__props, "modelValue");
11642
11501
  return (_ctx, _cache) => {
11643
- return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$G, [
11502
+ return vue.openBlock(), vue.createElementBlock("label", _hoisted_1$H, [
11644
11503
  vue.renderSlot(_ctx.$slots, "label", {}, void 0, true),
11645
11504
  vue.withDirectives(vue.createElementVNode("input", {
11646
11505
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
@@ -11653,9 +11512,9 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
11653
11512
  }
11654
11513
  });
11655
11514
  const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-73f1d9ad"]]);
11656
- const _hoisted_1$F = ["title"];
11657
- const _hoisted_2$u = ["id", "value", "required"];
11658
- const _hoisted_3$n = ["for"];
11515
+ const _hoisted_1$G = ["title"];
11516
+ const _hoisted_2$v = ["id", "value", "required"];
11517
+ const _hoisted_3$o = ["for"];
11659
11518
  const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
11660
11519
  __name: "CheckInput",
11661
11520
  props: /* @__PURE__ */ vue.mergeModels({
@@ -11690,25 +11549,25 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
11690
11549
  required: _ctx.required,
11691
11550
  type: "checkbox",
11692
11551
  class: "me-05"
11693
- }, null, 8, _hoisted_2$u), [
11552
+ }, null, 8, _hoisted_2$v), [
11694
11553
  [vue.vModelCheckbox, checked.value]
11695
11554
  ]),
11696
11555
  vue.createElementVNode("label", { for: inputId.value }, [
11697
11556
  vue.renderSlot(_ctx.$slots, "label", {}, () => [
11698
11557
  vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
11699
11558
  ], true)
11700
- ], 8, _hoisted_3$n)
11701
- ], 10, _hoisted_1$F);
11559
+ ], 8, _hoisted_3$o)
11560
+ ], 10, _hoisted_1$G);
11702
11561
  };
11703
11562
  }
11704
11563
  });
11705
11564
  const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-03ed2982"]]);
11706
- const _hoisted_1$E = { class: "mb-05" };
11707
- const _hoisted_2$t = {
11565
+ const _hoisted_1$F = { class: "mb-05" };
11566
+ const _hoisted_2$u = {
11708
11567
  key: 0,
11709
11568
  class: "label txt-start"
11710
11569
  };
11711
- const _hoisted_3$m = {
11570
+ const _hoisted_3$n = {
11712
11571
  key: 1,
11713
11572
  class: "code-editor-wrap grid rounded p-1 overflow hm-300px ltr txt-start relative h-100p"
11714
11573
  };
@@ -11797,9 +11656,9 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
11797
11656
  }
11798
11657
  }, { immediate: true });
11799
11658
  return (_ctx, _cache) => {
11800
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$E, [
11801
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$t, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
11802
- vue.unref(loaded) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$m, [
11659
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$F, [
11660
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$u, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
11661
+ vue.unref(loaded) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$n, [
11803
11662
  vue.createElementVNode("div", {
11804
11663
  class: "relative block h-100",
11805
11664
  style: vue.normalizeStyle({ height: `calc(${vue.unref(elHeight)} - 2rem)` })
@@ -11834,8 +11693,8 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
11834
11693
  }
11835
11694
  });
11836
11695
  const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-1fbc9b61"]]);
11837
- const _hoisted_1$D = ["title"];
11838
- const _hoisted_2$s = ["id", "placeholder", "required"];
11696
+ const _hoisted_1$E = ["title"];
11697
+ const _hoisted_2$t = ["id", "placeholder", "required"];
11839
11698
  const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
11840
11699
  __name: "ColorPicker",
11841
11700
  props: {
@@ -11874,11 +11733,11 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
11874
11733
  placeholder: _ctx.placeholder || _ctx.label,
11875
11734
  class: { "no-edit": !_ctx.editMode },
11876
11735
  required: _ctx.required
11877
- }, _ctx.nativeInputAttrs), null, 16, _hoisted_2$s), [
11736
+ }, _ctx.nativeInputAttrs), null, 16, _hoisted_2$t), [
11878
11737
  [vue.vModelText, inputVal.value]
11879
11738
  ])
11880
11739
  ])
11881
- ], 10, _hoisted_1$D)) : vue.createCommentVNode("", true);
11740
+ ], 10, _hoisted_1$E)) : vue.createCommentVNode("", true);
11882
11741
  };
11883
11742
  }
11884
11743
  });
@@ -20436,8 +20295,8 @@ const eo = ({
20436
20295
  Object.entries(go).forEach(([e, t]) => {
20437
20296
  e !== "default" && (Hn[e] = t);
20438
20297
  });
20439
- const _hoisted_1$C = ["title"];
20440
- const _hoisted_2$r = { key: 0 };
20298
+ const _hoisted_1$D = ["title"];
20299
+ const _hoisted_2$s = { key: 0 };
20441
20300
  const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
20442
20301
  __name: "DateInput",
20443
20302
  props: {
@@ -20480,7 +20339,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
20480
20339
  class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
20481
20340
  title: _ctx.label
20482
20341
  }, [
20483
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$r, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
20342
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$s, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
20484
20343
  vue.createVNode(vue.unref(Hn), vue.mergeProps({
20485
20344
  ref_key: "datePicker",
20486
20345
  ref: datePicker,
@@ -20496,13 +20355,13 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
20496
20355
  "minutes-grid-increment": _ctx.minutesGridIncrement,
20497
20356
  "start-time": { hours: 8, minutes: 0 }
20498
20357
  }), null, 16, ["modelValue", "required", "enable-time-picker", "allowed-dates", "time-picker-inline", "minutes-increment", "minutes-grid-increment"])
20499
- ], 10, _hoisted_1$C);
20358
+ ], 10, _hoisted_1$D);
20500
20359
  };
20501
20360
  }
20502
20361
  });
20503
- const _hoisted_1$B = ["title"];
20504
- const _hoisted_2$q = { key: 0 };
20505
- const _hoisted_3$l = {
20362
+ const _hoisted_1$C = ["title"];
20363
+ const _hoisted_2$r = { key: 0 };
20364
+ const _hoisted_3$m = {
20506
20365
  key: 0,
20507
20366
  class: "required"
20508
20367
  };
@@ -20518,16 +20377,16 @@ const _hoisted_11$3 = {
20518
20377
  class: "calendar-grid grid gap-025"
20519
20378
  };
20520
20379
  const _hoisted_12$3 = ["disabled", "onClick"];
20521
- const _hoisted_13$3 = {
20380
+ const _hoisted_13$2 = {
20522
20381
  key: 1,
20523
20382
  class: "month-grid grid gap-05 p-05"
20524
20383
  };
20525
20384
  const _hoisted_14$2 = ["disabled", "onClick"];
20526
- const _hoisted_15$1 = {
20385
+ const _hoisted_15$2 = {
20527
20386
  key: 2,
20528
20387
  class: "year-grid grid gap-05 p-0"
20529
20388
  };
20530
- const _hoisted_16 = ["disabled", "onClick"];
20389
+ const _hoisted_16$2 = ["disabled", "onClick"];
20531
20390
  const _hoisted_17 = {
20532
20391
  key: 0,
20533
20392
  class: "time-picker flex column gap-1 w-120px"
@@ -20707,9 +20566,9 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
20707
20566
  class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
20708
20567
  title: _ctx.label
20709
20568
  }, [
20710
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$q, [
20569
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$r, [
20711
20570
  vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
20712
- _ctx.required ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$l, "*")) : vue.createCommentVNode("", true)
20571
+ _ctx.required ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$m, "*")) : vue.createCommentVNode("", true)
20713
20572
  ])) : vue.createCommentVNode("", true),
20714
20573
  vue.createVNode(vue.unref(kt$1), {
20715
20574
  shown: vue.unref(isOpen),
@@ -20790,7 +20649,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
20790
20649
  onClick: ($event) => selectDate(date2)
20791
20650
  }, vue.toDisplayString(date2 == null ? void 0 : date2.getDate()), 11, _hoisted_12$3);
20792
20651
  }), 128))
20793
- ])) : vue.unref(currentView) === "months" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_13$3, [
20652
+ ])) : vue.unref(currentView) === "months" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_13$2, [
20794
20653
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(months.value, (month) => {
20795
20654
  return vue.openBlock(), vue.createElementBlock("button", {
20796
20655
  key: month.value,
@@ -20802,7 +20661,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
20802
20661
  onClick: ($event) => selectMonth(month.value)
20803
20662
  }, vue.toDisplayString(month.name), 11, _hoisted_14$2);
20804
20663
  }), 128))
20805
- ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_15$1, [
20664
+ ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_15$2, [
20806
20665
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(years.value, (year) => {
20807
20666
  return vue.openBlock(), vue.createElementBlock("button", {
20808
20667
  key: year.value,
@@ -20812,7 +20671,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
20812
20671
  }]),
20813
20672
  disabled: year.disabled,
20814
20673
  onClick: ($event) => selectYear(year.value)
20815
- }, vue.toDisplayString(year.value), 11, _hoisted_16);
20674
+ }, vue.toDisplayString(year.value), 11, _hoisted_16$2);
20816
20675
  }), 128))
20817
20676
  ]))
20818
20677
  ]),
@@ -20871,14 +20730,14 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
20871
20730
  ]),
20872
20731
  _: 1
20873
20732
  }, 8, ["shown"])
20874
- ], 10, _hoisted_1$B);
20733
+ ], 10, _hoisted_1$C);
20875
20734
  };
20876
20735
  }
20877
20736
  });
20878
20737
  const DatePick = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-8de3f3c6"]]);
20879
- const _hoisted_1$A = { class: "datetime-wrap" };
20880
- const _hoisted_2$p = { class: "date-wrap" };
20881
- const _hoisted_3$k = {
20738
+ const _hoisted_1$B = { class: "datetime-wrap" };
20739
+ const _hoisted_2$q = { class: "date-wrap" };
20740
+ const _hoisted_3$l = {
20882
20741
  key: 0,
20883
20742
  class: "time-wrap"
20884
20743
  };
@@ -20912,8 +20771,8 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
20912
20771
  return `${hour}:${minute}`;
20913
20772
  });
20914
20773
  return (_ctx, _cache) => {
20915
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$A, [
20916
- vue.createElementVNode("div", _hoisted_2$p, [
20774
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$B, [
20775
+ vue.createElementVNode("div", _hoisted_2$q, [
20917
20776
  vue.createVNode(vue.unref(Hn), vue.mergeProps({
20918
20777
  modelValue: selectedDate.value,
20919
20778
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectedDate.value = $event),
@@ -20931,7 +20790,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
20931
20790
  _: 1
20932
20791
  }, 16, ["modelValue", "allowed-dates", "disabled-dates"])
20933
20792
  ]),
20934
- _ctx.showTimeWrap ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$k, [
20793
+ _ctx.showTimeWrap ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$l, [
20935
20794
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(hours), (hr2) => {
20936
20795
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: hr2 }, [
20937
20796
  vue.withDirectives(vue.createElementVNode("input", {
@@ -20953,44 +20812,46 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
20953
20812
  };
20954
20813
  }
20955
20814
  });
20956
- const _hoisted_1$z = { class: "bagel-input" };
20957
- const _hoisted_2$o = {
20815
+ const _hoisted_1$A = { class: "bagel-input" };
20816
+ const _hoisted_2$p = {
20958
20817
  key: 0,
20959
20818
  placeholder: "required",
20960
20819
  type: "text",
20961
20820
  required: "",
20962
20821
  class: "pixel"
20963
20822
  };
20964
- const _hoisted_3$j = { class: "m-05 flex opacity-7 z-99" };
20965
- const _hoisted_4$c = { class: "ellipsis-1 word-break-all h-20 m-0" };
20966
- const _hoisted_5$b = {
20823
+ const _hoisted_3$k = { class: "m-05 flex opacity-7 z-99" };
20824
+ const _hoisted_4$c = { class: "ellipsis-1 word-break-all h-20 m-0 color-black" };
20825
+ const _hoisted_5$b = { class: "flex gap-025 rounded pe-1 ps-05 py-025 bg-gray-80 -my-1" };
20826
+ const _hoisted_6$9 = { class: "ellipsis-1 word-break-all h-20 m-0 color-black txt18" };
20827
+ const _hoisted_7$6 = {
20967
20828
  key: 1,
20968
20829
  class: "txt-gray txt-12"
20969
20830
  };
20970
- const _hoisted_6$9 = {
20831
+ const _hoisted_8$3 = {
20971
20832
  key: 0,
20972
20833
  class: "bgl-multi-preview"
20973
20834
  };
20974
- const _hoisted_7$6 = { class: "m-0" };
20975
- const _hoisted_8$3 = { class: "no-margin multi-preview-txt" };
20976
- const _hoisted_9$2 = {
20835
+ const _hoisted_9$2 = { class: "m-0" };
20836
+ const _hoisted_10$2 = { class: "no-margin multi-preview-txt" };
20837
+ const _hoisted_11$2 = {
20977
20838
  key: 0,
20978
20839
  class: "progress"
20979
20840
  };
20980
- const _hoisted_10$2 = {
20841
+ const _hoisted_12$2 = {
20981
20842
  key: 1,
20982
20843
  class: "bgl-single-preview"
20983
20844
  };
20984
- const _hoisted_11$2 = { class: "position-start m-05 flex opacity-7 z-99 gap-025" };
20985
- const _hoisted_12$2 = {
20845
+ const _hoisted_13$1 = { class: "position-start m-05 flex opacity-7 z-99 gap-025" };
20846
+ const _hoisted_14$1 = {
20986
20847
  key: 0,
20987
20848
  class: "h-100"
20988
20849
  };
20989
- const _hoisted_13$2 = {
20850
+ const _hoisted_15$1 = {
20990
20851
  key: 0,
20991
20852
  class: "progress"
20992
20853
  };
20993
- const _hoisted_14$1 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
20854
+ const _hoisted_16$1 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
20994
20855
  const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
20995
20856
  __name: "FileUpload",
20996
20857
  props: /* @__PURE__ */ vue.mergeModels({
@@ -21163,10 +21024,10 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
21163
21024
  return (_ctx, _cache) => {
21164
21025
  const _directive_tooltip = vue.resolveDirective("tooltip");
21165
21026
  const _directive_lightbox = vue.resolveDirective("lightbox");
21166
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$z, [
21027
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$A, [
21167
21028
  vue.createElementVNode("label", null, vue.toDisplayString(_ctx.label), 1),
21168
- _ctx.required && !storageFiles.value.length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$o)) : vue.createCommentVNode("", true),
21169
- _ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$$), {
21029
+ _ctx.required && !storageFiles.value.length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$p)) : vue.createCommentVNode("", true),
21030
+ _ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$_), {
21170
21031
  key: 1,
21171
21032
  outline: "",
21172
21033
  class: "flex p-05 gap-1",
@@ -21191,7 +21052,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
21191
21052
  key: file.id,
21192
21053
  class: "txt-gray txt-12 flex"
21193
21054
  }, [
21194
- vue.createElementVNode("div", _hoisted_3$j, [
21055
+ vue.createElementVNode("div", _hoisted_3$k, [
21195
21056
  vue.withDirectives(vue.createVNode(vue.unref(Btn), {
21196
21057
  color: "gray",
21197
21058
  thin: "",
@@ -21225,6 +21086,17 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
21225
21086
  ])), [
21226
21087
  [_directive_lightbox, { src: file.url, download: true }]
21227
21088
  ]),
21089
+ vue.createElementVNode("div", _hoisted_5$b, [
21090
+ vue.createVNode(vue.unref(_sfc_main$p), {
21091
+ icon: "draft",
21092
+ size: 1.5
21093
+ }),
21094
+ vue.withDirectives((vue.openBlock(), vue.createElementBlock("p", _hoisted_6$9, [
21095
+ vue.createTextVNode(vue.toDisplayString(file.name), 1)
21096
+ ])), [
21097
+ [_directive_lightbox, { src: file.url, download: true }]
21098
+ ])
21099
+ ]),
21228
21100
  vue.createVNode(vue.unref(Btn), {
21229
21101
  thin: "",
21230
21102
  flat: "",
@@ -21235,7 +21107,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
21235
21107
  ])
21236
21108
  ]);
21237
21109
  }), 128)),
21238
- !storageFiles.value.length && !fileQueue.value.length ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$b, " No file selected ")) : vue.createCommentVNode("", true)
21110
+ !storageFiles.value.length && !fileQueue.value.length ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$6, " No file selected ")) : vue.createCommentVNode("", true)
21239
21111
  ]),
21240
21112
  _: 1
21241
21113
  })) : (vue.openBlock(), vue.createElementBlock("div", {
@@ -21255,7 +21127,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
21255
21127
  files: storageFiles.value,
21256
21128
  fileQueue: fileQueue.value
21257
21129
  }, () => [
21258
- _ctx.multiple ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$9, [
21130
+ _ctx.multiple ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$3, [
21259
21131
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(storageFiles.value, (file) => {
21260
21132
  return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
21261
21133
  key: file.id,
@@ -21271,7 +21143,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
21271
21143
  icon: "draft",
21272
21144
  class: "multi-preview"
21273
21145
  })),
21274
- vue.createElementVNode("p", _hoisted_7$6, vue.toDisplayString(file.name), 1),
21146
+ vue.createElementVNode("p", _hoisted_9$2, vue.toDisplayString(file.name), 1),
21275
21147
  vue.createVNode(vue.unref(Btn), {
21276
21148
  thin: "",
21277
21149
  flat: "",
@@ -21301,12 +21173,12 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
21301
21173
  icon: "draft",
21302
21174
  class: "multi-preview"
21303
21175
  })),
21304
- vue.createElementVNode("p", _hoisted_8$3, vue.toDisplayString(fileQ.name), 1),
21176
+ vue.createElementVNode("p", _hoisted_10$2, vue.toDisplayString(fileQ.name), 1),
21305
21177
  vue.createElementVNode("div", {
21306
21178
  class: vue.normalizeClass(["pie", { complete: fileQ.progress === 100 }]),
21307
21179
  style: vue.normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
21308
21180
  }, [
21309
- fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_9$2, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
21181
+ fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_11$2, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
21310
21182
  vue.createVNode(vue.unref(_sfc_main$p), {
21311
21183
  class: "success",
21312
21184
  icon: "check"
@@ -21315,13 +21187,13 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
21315
21187
  ]);
21316
21188
  }), 128))
21317
21189
  ])) : vue.createCommentVNode("", true),
21318
- !_ctx.multiple && (storageFiles.value.length > 0 || fileQueue.value.length > 0) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10$2, [
21190
+ !_ctx.multiple && (storageFiles.value.length > 0 || fileQueue.value.length > 0) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$2, [
21319
21191
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(storageFiles.value, (file) => {
21320
21192
  return vue.openBlock(), vue.createElementBlock("div", {
21321
21193
  key: file.id,
21322
21194
  class: vue.normalizeClass(["single-image-item-preview", { "bgl_fill-image": _ctx.fill }])
21323
21195
  }, [
21324
- vue.createElementVNode("div", _hoisted_11$2, [
21196
+ vue.createElementVNode("div", _hoisted_13$1, [
21325
21197
  vue.withDirectives(vue.createVNode(vue.unref(Btn), {
21326
21198
  color: "gray",
21327
21199
  thin: "",
@@ -21351,7 +21223,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
21351
21223
  [_directive_tooltip, "Download"]
21352
21224
  ])
21353
21225
  ]),
21354
- isImage(file.extension || file.url) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$2, [
21226
+ isImage(file.extension || file.url) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14$1, [
21355
21227
  vue.withDirectives(vue.createVNode(vue.unref(Image$1), {
21356
21228
  class: "single-preview",
21357
21229
  src: file.url,
@@ -21379,18 +21251,20 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
21379
21251
  class: vue.normalizeClass(["pie", { complete: fileQ.progress === 100 }]),
21380
21252
  style: vue.normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
21381
21253
  }, [
21382
- fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_13$2, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
21254
+ fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_15$1, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
21383
21255
  vue.createVNode(vue.unref(_sfc_main$p), {
21384
21256
  class: "success",
21385
21257
  icon: "check"
21386
21258
  })
21387
21259
  ], 6),
21388
- isImage(fileQ.file.type) ? (vue.openBlock(), vue.createBlock(vue.unref(Image$1), {
21260
+ isImage(fileQ.file.type) ? vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(Image$1), {
21389
21261
  key: 0,
21390
21262
  class: "single-preview",
21391
21263
  src: fileToUrl(fileQ.file),
21392
21264
  alt: ""
21393
- }, null, 8, ["src"])) : vue.createCommentVNode("", true)
21265
+ }, null, 8, ["src"])), [
21266
+ [_directive_lightbox, { src: fileToUrl(fileQ.file), download: true }]
21267
+ ]) : vue.createCommentVNode("", true)
21394
21268
  ], 2);
21395
21269
  }), 128))
21396
21270
  ])) : vue.createCommentVNode("", true)
@@ -21401,7 +21275,7 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
21401
21275
  fileQueue: fileQueue.value,
21402
21276
  browse
21403
21277
  }, () => [
21404
- vue.createElementVNode("p", _hoisted_14$1, [
21278
+ vue.createElementVNode("p", _hoisted_16$1, [
21405
21279
  vue.createVNode(vue.unref(_sfc_main$p), { icon: "upload_2" }),
21406
21280
  _cache[3] || (_cache[3] = vue.createTextVNode(" Drop files here or click to upload "))
21407
21281
  ])
@@ -21411,10 +21285,10 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
21411
21285
  };
21412
21286
  }
21413
21287
  });
21414
- const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-a9ae1c29"]]);
21415
- const _hoisted_1$y = ["title"];
21416
- const _hoisted_2$n = { key: 0 };
21417
- const _hoisted_3$i = ["value", "placeholder"];
21288
+ const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-9d12086d"]]);
21289
+ const _hoisted_1$z = ["title"];
21290
+ const _hoisted_2$o = { key: 0 };
21291
+ const _hoisted_3$j = ["value", "placeholder"];
21418
21292
  const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
21419
21293
  __name: "JSONInput",
21420
21294
  props: {
@@ -21438,7 +21312,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
21438
21312
  class: vue.normalizeClass(["bagel-input", { small: _ctx.small }]),
21439
21313
  title: _ctx.description
21440
21314
  }, [
21441
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$n, [
21315
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$o, [
21442
21316
  vue.createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
21443
21317
  ])) : vue.createCommentVNode("", true),
21444
21318
  vue.createElementVNode("textarea", {
@@ -21446,15 +21320,15 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
21446
21320
  class: vue.normalizeClass({ "no-edit": !_ctx.editMode }),
21447
21321
  placeholder: _ctx.placeholder,
21448
21322
  onInput: handleInput
21449
- }, null, 42, _hoisted_3$i)
21450
- ], 10, _hoisted_1$y);
21323
+ }, null, 42, _hoisted_3$j)
21324
+ ], 10, _hoisted_1$z);
21451
21325
  };
21452
21326
  }
21453
21327
  });
21454
21328
  const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-1cbaeab2"]]);
21455
- const _hoisted_1$x = ["for"];
21456
- const _hoisted_2$m = ["id", "placeholder", "disabled", "required", "readonly", "onKeydown"];
21457
- const _hoisted_3$h = { key: 1 };
21329
+ const _hoisted_1$y = ["for"];
21330
+ const _hoisted_2$n = ["id", "placeholder", "disabled", "required", "readonly", "onKeydown"];
21331
+ const _hoisted_3$i = { key: 1 };
21458
21332
  const _hoisted_4$b = {
21459
21333
  key: 5,
21460
21334
  class: "flex column spinner"
@@ -21482,18 +21356,18 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
21482
21356
  emits: ["update:modelValue"],
21483
21357
  setup(__props, { emit: __emit }) {
21484
21358
  const emit2 = __emit;
21485
- let numberValue = vue.ref(Number.parseFloat(`${__props.modelValue}`) || 0);
21359
+ let numberValue = vue.ref(Number.parseFloat(`${__props.modelValue}`) || void 0);
21486
21360
  const btnLayouts = ["horizontal", "vertical"];
21487
- const canAdd = vue.computed(() => !(__props.max !== void 0 && numberValue.value + __props.step > __props.max));
21488
- const canDecrement = vue.computed(() => !(__props.min !== void 0 && numberValue.value - __props.step < __props.min));
21361
+ const canAdd = vue.computed(() => !(__props.max !== void 0 && (numberValue.value || 0 + __props.step) > __props.max));
21362
+ const canDecrement = vue.computed(() => !(__props.min !== void 0 && (numberValue.value || 0 - __props.step) < __props.min));
21489
21363
  function increment() {
21490
21364
  if (!canAdd.value) return;
21491
- numberValue.value += __props.step;
21365
+ numberValue.value = (numberValue.value || 0) + __props.step;
21492
21366
  emit2("update:modelValue", numberValue.value);
21493
21367
  }
21494
21368
  function decrement() {
21495
21369
  if (!canDecrement.value) return;
21496
- numberValue.value -= __props.step;
21370
+ numberValue.value = (numberValue.value || 0) - __props.step;
21497
21371
  emit2("update:modelValue", numberValue.value);
21498
21372
  }
21499
21373
  function formatNumber2(num) {
@@ -21512,7 +21386,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
21512
21386
  emit2("update:modelValue", numberValue.value);
21513
21387
  }
21514
21388
  vue.watch(() => numberValue.value, () => {
21515
- formattedValue.value = formatNumber2(numberValue.value);
21389
+ formattedValue.value = numberValue.value !== void 0 ? formatNumber2(numberValue.value) : "";
21516
21390
  }, { immediate: true });
21517
21391
  vue.watch(() => __props.modelValue, (newVal) => {
21518
21392
  if (newVal !== numberValue.value) {
@@ -21562,7 +21436,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
21562
21436
  vue.withKeys(vue.withModifiers(increment, ["prevent"]), ["up"]),
21563
21437
  vue.withKeys(vue.withModifiers(decrement, ["prevent"]), ["down"])
21564
21438
  ]
21565
- }, null, 42, _hoisted_2$m), [
21439
+ }, null, 42, _hoisted_2$n), [
21566
21440
  [
21567
21441
  vue.vModelText,
21568
21442
  vue.unref(formattedValue),
@@ -21576,7 +21450,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
21576
21450
  { number: true }
21577
21451
  ]
21578
21452
  ]),
21579
- _ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_3$h, vue.toDisplayString(_ctx.helptext), 1)) : vue.createCommentVNode("", true),
21453
+ _ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_3$i, vue.toDisplayString(_ctx.helptext), 1)) : vue.createCommentVNode("", true),
21580
21454
  _ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$p), {
21581
21455
  key: 2,
21582
21456
  class: "iconStart",
@@ -21615,13 +21489,13 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
21615
21489
  }, null, 8, ["disabled"])
21616
21490
  ])) : vue.createCommentVNode("", true)
21617
21491
  ], 2)
21618
- ], 8, _hoisted_1$x)
21492
+ ], 8, _hoisted_1$y)
21619
21493
  ], 2);
21620
21494
  };
21621
21495
  }
21622
21496
  });
21623
- const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-7a435cc2"]]);
21624
- const _hoisted_1$w = ["value", "autofocus", "onKeydown", "onPaste"];
21497
+ const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-cacbf10f"]]);
21498
+ const _hoisted_1$x = ["value", "autofocus", "onKeydown", "onPaste"];
21625
21499
  const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
21626
21500
  __name: "OTP",
21627
21501
  props: {
@@ -21720,15 +21594,15 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
21720
21594
  oninput: "this.value = this.value.slice(0, 1);",
21721
21595
  onKeydown: ($event) => handleKeyDown($event, ind),
21722
21596
  onPaste: ($event) => handlePaste($event, ind)
21723
- }, null, 40, _hoisted_1$w);
21597
+ }, null, 40, _hoisted_1$x);
21724
21598
  }), 128))
21725
21599
  ], 512);
21726
21600
  };
21727
21601
  }
21728
21602
  });
21729
21603
  const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-5c22c199"]]);
21730
- const _hoisted_1$v = { class: "relative" };
21731
- const _hoisted_2$l = { class: "m-password position-bottom-end flex column justify-content-center" };
21604
+ const _hoisted_1$w = { class: "relative" };
21605
+ const _hoisted_2$m = { class: "m-password position-bottom-end flex column justify-content-center" };
21732
21606
  const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
21733
21607
  __name: "PasswordInput",
21734
21608
  props: /* @__PURE__ */ vue.mergeModels({
@@ -21770,7 +21644,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
21770
21644
  );
21771
21645
  const inputType = vue.computed(() => showPwd.value ? "text" : "password");
21772
21646
  return (_ctx, _cache) => {
21773
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$v, [
21647
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$w, [
21774
21648
  vue.createVNode(vue.unref(TextInput), vue.mergeProps({
21775
21649
  modelValue: password.value,
21776
21650
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => password.value = $event)
@@ -21778,7 +21652,7 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
21778
21652
  type: inputType.value,
21779
21653
  class: "mb-0"
21780
21654
  }), null, 16, ["modelValue", "type"]),
21781
- vue.createElementVNode("div", _hoisted_2$l, [
21655
+ vue.createElementVNode("div", _hoisted_2$m, [
21782
21656
  vue.createVNode(vue.unref(Btn), {
21783
21657
  flat: "",
21784
21658
  thin: "",
@@ -21791,9 +21665,9 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
21791
21665
  };
21792
21666
  }
21793
21667
  });
21794
- const _hoisted_1$u = ["for"];
21795
- const _hoisted_2$k = ["id", "name", "value", "required"];
21796
- const _hoisted_3$g = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
21668
+ const _hoisted_1$v = ["for"];
21669
+ const _hoisted_2$l = ["id", "name", "value", "required"];
21670
+ const _hoisted_3$h = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
21797
21671
  const _hoisted_4$a = ["src", "alt"];
21798
21672
  const _hoisted_5$a = { class: "" };
21799
21673
  const _hoisted_6$8 = {
@@ -21834,10 +21708,10 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
21834
21708
  name: _ctx.groupName,
21835
21709
  value: opt.value,
21836
21710
  required: _ctx.required
21837
- }, null, 8, _hoisted_2$k), [
21711
+ }, null, 8, _hoisted_2$l), [
21838
21712
  [vue.vModelRadio, selectedOption.value]
21839
21713
  ]),
21840
- vue.createElementVNode("div", _hoisted_3$g, [
21714
+ vue.createElementVNode("div", _hoisted_3$h, [
21841
21715
  opt.imgSrc ? (vue.openBlock(), vue.createElementBlock("img", {
21842
21716
  key: 0,
21843
21717
  class: "bg-popup shadow-light py-025 radius-05 m_w40",
@@ -21859,16 +21733,16 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
21859
21733
  icon: "delete",
21860
21734
  onClick: ($event) => _ctx.$emit("delete", opt)
21861
21735
  }, null, 8, ["onClick"])) : vue.createCommentVNode("", true)
21862
- ], 8, _hoisted_1$u);
21736
+ ], 8, _hoisted_1$v);
21863
21737
  }), 128))
21864
21738
  ]);
21865
21739
  };
21866
21740
  }
21867
21741
  });
21868
21742
  const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-3c77be46"]]);
21869
- const _hoisted_1$t = { class: "bagel-input" };
21870
- const _hoisted_2$j = { class: "pb-025" };
21871
- const _hoisted_3$f = { class: "flex gap-05 flex-wrap" };
21743
+ const _hoisted_1$u = { class: "bagel-input" };
21744
+ const _hoisted_2$k = { class: "pb-025" };
21745
+ const _hoisted_3$g = { class: "flex gap-05 flex-wrap" };
21872
21746
  const _hoisted_4$9 = ["id", "name", "value", "checked"];
21873
21747
  const _hoisted_5$9 = ["for"];
21874
21748
  const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
@@ -21912,9 +21786,9 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
21912
21786
  selectedValue.value = props2.modelValue;
21913
21787
  });
21914
21788
  return (_ctx, _cache) => {
21915
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$t, [
21916
- vue.createElementVNode("label", _hoisted_2$j, vue.toDisplayString(_ctx.label), 1),
21917
- vue.createElementVNode("div", _hoisted_3$f, [
21789
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$u, [
21790
+ vue.createElementVNode("label", _hoisted_2$k, vue.toDisplayString(_ctx.label), 1),
21791
+ vue.createElementVNode("div", _hoisted_3$g, [
21918
21792
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.options, (option2, index2) => {
21919
21793
  return vue.openBlock(), vue.createElementBlock("div", {
21920
21794
  key: index2,
@@ -21939,12 +21813,12 @@ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
21939
21813
  }
21940
21814
  });
21941
21815
  const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-cf892d71"]]);
21942
- const _hoisted_1$s = ["dir"];
21943
- const _hoisted_2$i = {
21816
+ const _hoisted_1$t = ["dir"];
21817
+ const _hoisted_2$j = {
21944
21818
  key: 0,
21945
21819
  class: "label"
21946
21820
  };
21947
- const _hoisted_3$e = { class: "range-slider relative w-100" };
21821
+ const _hoisted_3$f = { class: "range-slider relative w-100" };
21948
21822
  const _hoisted_4$8 = ["id", "value", "min", "max", "step", "required", "disabled", "aria-label"];
21949
21823
  const _hoisted_5$8 = ["value", "min", "max", "step", "required", "disabled"];
21950
21824
  const _hoisted_6$7 = { class: "track absolute pointer-events-none overflow-hidden round" };
@@ -22017,8 +21891,8 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
22017
21891
  return vue.openBlock(), vue.createElementBlock("div", {
22018
21892
  dir: vue.unref(rtl) ? "rtl" : "ltr"
22019
21893
  }, [
22020
- vue.unref(label) ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$i, vue.toDisplayString(vue.unref(label)), 1)) : vue.createCommentVNode("", true),
22021
- vue.createElementVNode("div", _hoisted_3$e, [
21894
+ vue.unref(label) ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$j, vue.toDisplayString(vue.unref(label)), 1)) : vue.createCommentVNode("", true),
21895
+ vue.createElementVNode("div", _hoisted_3$f, [
22022
21896
  vue.createElementVNode("input", {
22023
21897
  id: vue.unref(id),
22024
21898
  value: validFrom.value,
@@ -22109,7 +21983,7 @@ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
22109
21983
  vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(formatValue)(vue.unref(max2))), 1)
22110
21984
  ], true)
22111
21985
  ])
22112
- ], 8, _hoisted_1$s);
21986
+ ], 8, _hoisted_1$t);
22113
21987
  };
22114
21988
  }
22115
21989
  });
@@ -22203,9 +22077,9 @@ const toolbarOptions = [
22203
22077
  { name: "separator" },
22204
22078
  { name: "fullScreen", label: "Full Screen", icon: "fullscreen", class: "ms-auto" }
22205
22079
  ];
22206
- const _hoisted_1$r = { class: "grid grid-wrap p-05" };
22207
- const _hoisted_2$h = ["onMousemove", "onClick"];
22208
- const _hoisted_3$d = { class: "txt-center txt-12 color-gray" };
22080
+ const _hoisted_1$s = { class: "grid grid-wrap p-05" };
22081
+ const _hoisted_2$i = ["onMousemove", "onClick"];
22082
+ const _hoisted_3$e = { class: "txt-center txt-12 color-gray" };
22209
22083
  const fb = 1;
22210
22084
  const base = 5;
22211
22085
  const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
@@ -22224,7 +22098,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
22224
22098
  return hoveredCol.value > base - 1 ? enlarge : base;
22225
22099
  });
22226
22100
  return (_ctx, _cache) => {
22227
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$r, [
22101
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$s, [
22228
22102
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(rowSize.value, (row) => {
22229
22103
  return vue.openBlock(), vue.createElementBlock("div", {
22230
22104
  key: `row-${row}`,
@@ -22251,17 +22125,17 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
22251
22125
  hoveredCol.value = col;
22252
22126
  },
22253
22127
  onClick: ($event) => emit2("select", `${row}x${col}`)
22254
- }, null, 42, _hoisted_2$h);
22128
+ }, null, 42, _hoisted_2$i);
22255
22129
  }), 128))
22256
22130
  ], 32);
22257
22131
  }), 128)),
22258
- vue.createElementVNode("p", _hoisted_3$d, vue.toDisplayString(hoveredRow.value) + "x" + vue.toDisplayString(hoveredCol.value), 1)
22132
+ vue.createElementVNode("p", _hoisted_3$e, vue.toDisplayString(hoveredRow.value) + "x" + vue.toDisplayString(hoveredCol.value), 1)
22259
22133
  ]);
22260
22134
  };
22261
22135
  }
22262
22136
  });
22263
22137
  const GridBox = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-4548b70f"]]);
22264
- const _hoisted_1$q = {
22138
+ const _hoisted_1$r = {
22265
22139
  class: "toolbar flex gap-025 pb-05 flex-wrap",
22266
22140
  role: "toolbar"
22267
22141
  };
@@ -22280,10 +22154,10 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
22280
22154
  }
22281
22155
  return (_ctx, _cache) => {
22282
22156
  const _directive_tooltip = vue.resolveDirective("tooltip");
22283
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$q, [
22157
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$r, [
22284
22158
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.config.map(configToOption).filter(Boolean), (action, index2) => {
22285
22159
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
22286
- action.name === "insertTable" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$W), {
22160
+ action.name === "insertTable" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$V), {
22287
22161
  key: 0,
22288
22162
  placement: "bottom-start",
22289
22163
  thin: "",
@@ -23243,8 +23117,9 @@ function useEditorKeyboard(doc, handleToolbarAction) {
23243
23117
  }
23244
23118
  });
23245
23119
  }
23246
- const _hoisted_1$p = { class: "content-area radius-05" };
23247
- const _hoisted_2$g = {
23120
+ const _hoisted_1$q = { class: "bagel-input" };
23121
+ const _hoisted_2$h = { class: "content-area radius-05" };
23122
+ const _hoisted_3$d = {
23248
23123
  key: 1,
23249
23124
  class: "flex"
23250
23125
  };
@@ -23253,7 +23128,8 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
23253
23128
  props: {
23254
23129
  modelValue: {},
23255
23130
  toolbarConfig: {},
23256
- debug: { type: Boolean }
23131
+ debug: { type: Boolean },
23132
+ label: {}
23257
23133
  },
23258
23134
  emits: ["update:modelValue"],
23259
23135
  setup(__props, { emit: __emit }) {
@@ -23324,84 +23200,87 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
23324
23200
  });
23325
23201
  return (_ctx, _cache) => {
23326
23202
  var _a2, _b;
23327
- return vue.openBlock(), vue.createElementBlock("div", {
23328
- class: vue.normalizeClass(["rich-text-editor rounded pt-05 px-05 pb-075 mb-05", { "fullscreen-mode": vue.unref(editor).state.isFullscreen }])
23329
- }, [
23330
- vue.unref(editor).state.hasInit ? (vue.openBlock(), vue.createBlock(EditorToolbar, {
23331
- key: 0,
23332
- config: _ctx.toolbarConfig,
23333
- selectedStyles: vue.unref(editor).state.selectedStyles,
23334
- onAction: vue.unref(commands).execute
23335
- }, null, 8, ["config", "selectedStyles", "onAction"])) : vue.createCommentVNode("", true),
23203
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$q, [
23204
+ vue.createElementVNode("label", null, vue.toDisplayString(_ctx.label), 1),
23336
23205
  vue.createElementVNode("div", {
23337
- class: vue.normalizeClass(["editor-container", { "split-view": vue.unref(editor).state.isSplitView }])
23206
+ class: vue.normalizeClass(["rich-text-editor rounded pt-05 px-05 pb-075 mb-05", { "fullscreen-mode": vue.unref(editor).state.isFullscreen }])
23338
23207
  }, [
23339
- vue.createElementVNode("div", _hoisted_1$p, [
23340
- vue.createElementVNode("iframe", {
23341
- id: "rich-text-iframe",
23342
- ref_key: "iframe",
23343
- ref: iframe,
23344
- class: "editableContent",
23345
- title: "Editor",
23346
- onLoad: initEditor
23347
- }, null, 544)
23348
- ]),
23349
- vue.unref(editor).state.isSplitView ? (vue.openBlock(), vue.createBlock(vue.unref(CodeEditor), {
23208
+ vue.unref(editor).state.hasInit ? (vue.openBlock(), vue.createBlock(EditorToolbar, {
23350
23209
  key: 0,
23351
- modelValue: vue.unref(editor).state.content,
23352
- "onUpdate:modelValue": [
23353
- _cache[0] || (_cache[0] = ($event) => vue.unref(editor).state.content = $event),
23354
- _cache[1] || (_cache[1] = ($event) => vue.unref(editor).updateContent("html"))
23355
- ],
23356
- language: "html"
23357
- }, null, 8, ["modelValue"])) : vue.createCommentVNode("", true)
23358
- ], 2),
23359
- _ctx.debug ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$g, [
23360
- _cache[6] || (_cache[6] = vue.createElementVNode("p", { class: "text12 txt-gray mb-0 p-0" }, " Debug ", -1)),
23361
- vue.createVNode(vue.unref(Btn), {
23362
- thin: "",
23363
- color: "gray",
23364
- icon: "delete",
23365
- onClick: (_a2 = debugMethods.value) == null ? void 0 : _a2.clearSession
23366
- }, {
23367
- default: vue.withCtx(() => _cache[3] || (_cache[3] = [
23368
- vue.createTextVNode(" Clear Session ")
23369
- ])),
23370
- _: 1
23371
- }, 8, ["onClick"]),
23372
- vue.createVNode(vue.unref(Btn), {
23373
- thin: "",
23374
- color: "gray",
23375
- icon: "download",
23376
- onClick: (_b = debugMethods.value) == null ? void 0 : _b.downloadSession
23377
- }, {
23378
- default: vue.withCtx(() => _cache[4] || (_cache[4] = [
23379
- vue.createTextVNode(" Download Log ")
23380
- ])),
23381
- _: 1
23382
- }, 8, ["onClick"]),
23383
- vue.createVNode(vue.unref(Btn), {
23384
- thin: "",
23385
- color: "gray",
23386
- icon: "content_copy",
23387
- onClick: _cache[2] || (_cache[2] = ($event) => {
23388
- var _a3;
23389
- return vue.unref(copyText)(((_a3 = debugMethods.value) == null ? void 0 : _a3.exportDebugWithPrompt()) || "");
23210
+ config: _ctx.toolbarConfig,
23211
+ selectedStyles: vue.unref(editor).state.selectedStyles,
23212
+ onAction: vue.unref(commands).execute
23213
+ }, null, 8, ["config", "selectedStyles", "onAction"])) : vue.createCommentVNode("", true),
23214
+ vue.createElementVNode("div", {
23215
+ class: vue.normalizeClass(["editor-container", { "split-view": vue.unref(editor).state.isSplitView }])
23216
+ }, [
23217
+ vue.createElementVNode("div", _hoisted_2$h, [
23218
+ vue.createElementVNode("iframe", {
23219
+ id: "rich-text-iframe",
23220
+ ref_key: "iframe",
23221
+ ref: iframe,
23222
+ class: "editableContent",
23223
+ title: "Editor",
23224
+ onLoad: initEditor
23225
+ }, null, 544)
23226
+ ]),
23227
+ vue.unref(editor).state.isSplitView ? (vue.openBlock(), vue.createBlock(vue.unref(CodeEditor), {
23228
+ key: 0,
23229
+ modelValue: vue.unref(editor).state.content,
23230
+ "onUpdate:modelValue": [
23231
+ _cache[0] || (_cache[0] = ($event) => vue.unref(editor).state.content = $event),
23232
+ _cache[1] || (_cache[1] = ($event) => vue.unref(editor).updateContent("html"))
23233
+ ],
23234
+ language: "html"
23235
+ }, null, 8, ["modelValue"])) : vue.createCommentVNode("", true)
23236
+ ], 2),
23237
+ _ctx.debug ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3$d, [
23238
+ _cache[6] || (_cache[6] = vue.createElementVNode("p", { class: "text12 txt-gray mb-0 p-0" }, " Debug ", -1)),
23239
+ vue.createVNode(vue.unref(Btn), {
23240
+ thin: "",
23241
+ color: "gray",
23242
+ icon: "delete",
23243
+ onClick: (_a2 = debugMethods.value) == null ? void 0 : _a2.clearSession
23244
+ }, {
23245
+ default: vue.withCtx(() => _cache[3] || (_cache[3] = [
23246
+ vue.createTextVNode(" Clear Session ")
23247
+ ])),
23248
+ _: 1
23249
+ }, 8, ["onClick"]),
23250
+ vue.createVNode(vue.unref(Btn), {
23251
+ thin: "",
23252
+ color: "gray",
23253
+ icon: "download",
23254
+ onClick: (_b = debugMethods.value) == null ? void 0 : _b.downloadSession
23255
+ }, {
23256
+ default: vue.withCtx(() => _cache[4] || (_cache[4] = [
23257
+ vue.createTextVNode(" Download Log ")
23258
+ ])),
23259
+ _: 1
23260
+ }, 8, ["onClick"]),
23261
+ vue.createVNode(vue.unref(Btn), {
23262
+ thin: "",
23263
+ color: "gray",
23264
+ icon: "content_copy",
23265
+ onClick: _cache[2] || (_cache[2] = ($event) => {
23266
+ var _a3;
23267
+ return vue.unref(copyText)(((_a3 = debugMethods.value) == null ? void 0 : _a3.exportDebugWithPrompt()) || "");
23268
+ })
23269
+ }, {
23270
+ default: vue.withCtx(() => _cache[5] || (_cache[5] = [
23271
+ vue.createTextVNode(" Copy Log ")
23272
+ ])),
23273
+ _: 1
23390
23274
  })
23391
- }, {
23392
- default: vue.withCtx(() => _cache[5] || (_cache[5] = [
23393
- vue.createTextVNode(" Copy Log ")
23394
- ])),
23395
- _: 1
23396
- })
23397
- ])) : vue.createCommentVNode("", true)
23398
- ], 2);
23275
+ ])) : vue.createCommentVNode("", true)
23276
+ ], 2)
23277
+ ]);
23399
23278
  };
23400
23279
  }
23401
23280
  });
23402
- const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-ac0edf00"]]);
23403
- const _hoisted_1$o = { class: "flex gap-05" };
23404
- const _hoisted_2$f = ["disabled"];
23281
+ const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-59d7c73f"]]);
23282
+ const _hoisted_1$p = { class: "flex gap-05" };
23283
+ const _hoisted_2$g = ["disabled"];
23405
23284
  const _hoisted_3$c = { key: 1 };
23406
23285
  const _hoisted_4$7 = {
23407
23286
  key: 2,
@@ -23426,14 +23305,13 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
23426
23305
  hideLabel: { type: Boolean },
23427
23306
  defaultValue: {},
23428
23307
  clearable: { type: Boolean },
23429
- searchPlaceholder: { default: "Search" },
23308
+ searchPlaceholder: {},
23430
23309
  onSearch: {}
23431
23310
  },
23432
23311
  emits: ["update:modelValue"],
23433
23312
  setup(__props, { emit: __emit }) {
23434
23313
  const props2 = __props;
23435
23314
  const emit2 = __emit;
23436
- const searchPlaceholder = vue.computed(() => props2.searchPlaceholder);
23437
23315
  const searchInput = vue.ref();
23438
23316
  let selectedItems = vue.ref([]);
23439
23317
  const selectedItemCount = vue.computed(() => selectedItems.value.length ?? 0);
@@ -23449,6 +23327,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
23449
23327
  }
23450
23328
  return selectedItems.value.map((item) => getLabel(item)).join(", ");
23451
23329
  });
23330
+ const searchPlaceholder = vue.computed(() => props2.searchPlaceholder ?? selectedLabel.value ?? "Search");
23452
23331
  let serverOptions = vue.ref([]);
23453
23332
  let isSearching = vue.ref(false);
23454
23333
  async function runServerSearch() {
@@ -23586,7 +23465,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
23586
23465
  }
23587
23466
  });
23588
23467
  return (_ctx, _cache) => {
23589
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$W), {
23468
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$V), {
23590
23469
  ref_key: "dropdown",
23591
23470
  ref: dropdown,
23592
23471
  shown: vue.unref(open),
@@ -23598,7 +23477,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
23598
23477
  trigger: vue.withCtx(() => [
23599
23478
  vue.createElementVNode("label", null, [
23600
23479
  vue.createTextVNode(vue.toDisplayString(_ctx.label) + " ", 1),
23601
- vue.createElementVNode("div", _hoisted_1$o, [
23480
+ vue.createElementVNode("div", _hoisted_1$p, [
23602
23481
  _ctx.searchable && vue.unref(open) ? (vue.openBlock(), vue.createBlock(vue.unref(TextInput), {
23603
23482
  key: 0,
23604
23483
  ref_key: "searchInput",
@@ -23646,7 +23525,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
23646
23525
  key: 3,
23647
23526
  thin: ""
23648
23527
  }, { icon: vue.unref(open) ? "unfold_less" : "unfold_more" }), null, 16)) : vue.createCommentVNode("", true)
23649
- ], 42, _hoisted_2$f)),
23528
+ ], 42, _hoisted_2$g)),
23650
23529
  _ctx.required ? (vue.openBlock(), vue.createElementBlock("input", {
23651
23530
  key: 2,
23652
23531
  tabindex: "-1",
@@ -23665,7 +23544,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
23665
23544
  height: "25px",
23666
23545
  class: "mx-1 my-1"
23667
23546
  })) : vue.createCommentVNode("", true),
23668
- vue.createVNode(vue.unref(_sfc_main$$), {
23547
+ vue.createVNode(vue.unref(_sfc_main$_), {
23669
23548
  class: "p-05",
23670
23549
  style: vue.normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" })
23671
23550
  }, {
@@ -23716,7 +23595,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
23716
23595
  };
23717
23596
  }
23718
23597
  });
23719
- const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-e07a7d4e"]]);
23598
+ const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-70535216"]]);
23720
23599
  /*!
23721
23600
  * Signature Pad v5.0.4 | https://github.com/szimek/signature_pad
23722
23601
  * (c) 2024 Szymon Nowak | Released under the MIT license
@@ -24313,8 +24192,8 @@ class SignaturePad extends SignatureEventTarget {
24313
24192
  return svg.outerHTML;
24314
24193
  }
24315
24194
  }
24316
- const _hoisted_1$n = ["disabled"];
24317
- const _hoisted_2$e = {
24195
+ const _hoisted_1$o = ["disabled"];
24196
+ const _hoisted_2$f = {
24318
24197
  key: 1,
24319
24198
  placeholder: "required",
24320
24199
  type: "text",
@@ -24474,8 +24353,8 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
24474
24353
  ref: vCanvas,
24475
24354
  class: "canvas",
24476
24355
  disabled: _ctx.disabled
24477
- }, null, 8, _hoisted_1$n),
24478
- _ctx.required && vue.unref(_isEmpty) ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$e)) : vue.createCommentVNode("", true)
24356
+ }, null, 8, _hoisted_1$o),
24357
+ _ctx.required && vue.unref(_isEmpty) ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_2$f)) : vue.createCommentVNode("", true)
24479
24358
  ], 34);
24480
24359
  };
24481
24360
  }
@@ -26959,8 +26838,8 @@ const VueDraggableNext = vue.defineComponent({
26959
26838
  }
26960
26839
  }
26961
26840
  });
26962
- const _hoisted_1$m = ["title"];
26963
- const _hoisted_2$d = { class: "bagel-input" };
26841
+ const _hoisted_1$n = ["title"];
26842
+ const _hoisted_2$e = { class: "bagel-input" };
26964
26843
  const _hoisted_3$b = { class: "table-side-scroll" };
26965
26844
  const _hoisted_4$6 = { class: "table-header" };
26966
26845
  const _hoisted_5$6 = { class: "table-reorder" };
@@ -27030,7 +26909,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
27030
26909
  class: "table-field-wrap",
27031
26910
  title: _ctx.description
27032
26911
  }, [
27033
- vue.createElementVNode("div", _hoisted_2$d, [
26912
+ vue.createElementVNode("div", _hoisted_2$e, [
27034
26913
  vue.createElementVNode("label", null, vue.toDisplayString((_a2 = vue.unref(fieldMeta)) == null ? void 0 : _a2.label), 1)
27035
26914
  ]),
27036
26915
  vue.createElementVNode("div", _hoisted_3$b, [
@@ -27105,7 +26984,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
27105
26984
  ])),
27106
26985
  _: 1
27107
26986
  })
27108
- ], 8, _hoisted_1$m);
26987
+ ], 8, _hoisted_1$n);
27109
26988
  };
27110
26989
  }
27111
26990
  });
@@ -31556,8 +31435,8 @@ function parsePhoneNumber$1() {
31556
31435
  function parsePhoneNumber() {
31557
31436
  return withMetadataArgument(parsePhoneNumber$1, arguments);
31558
31437
  }
31559
- const _hoisted_1$l = ["aria-expanded"];
31560
- const _hoisted_2$c = { class: "p-075 tel-countryp-dropdown" };
31438
+ const _hoisted_1$m = ["aria-expanded"];
31439
+ const _hoisted_2$d = { class: "p-075 tel-countryp-dropdown" };
31561
31440
  const _hoisted_3$a = ["aria-selected", "onClick", "onMousemove"];
31562
31441
  const _hoisted_4$5 = { class: "tel-country" };
31563
31442
  const _hoisted_5$5 = { key: 1 };
@@ -31824,7 +31703,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
31824
31703
  vue.withKeys(reset, ["tab"])
31825
31704
  ]
31826
31705
  }, [
31827
- !computedDropDownOptions.value.hide ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$W), {
31706
+ !computedDropDownOptions.value.hide ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$V), {
31828
31707
  key: 0,
31829
31708
  ref_key: "phoneDropdown",
31830
31709
  ref: phoneDropdown,
@@ -31847,7 +31726,7 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
31847
31726
  ])
31848
31727
  ]),
31849
31728
  default: vue.withCtx(() => [
31850
- vue.createElementVNode("div", _hoisted_2$c, [
31729
+ vue.createElementVNode("div", _hoisted_2$d, [
31851
31730
  _ctx.searchable ? (vue.openBlock(), vue.createBlock(vue.unref(TextInput), {
31852
31731
  key: 0,
31853
31732
  modelValue: searchQuery.value,
@@ -31911,15 +31790,15 @@ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
31911
31790
  }, null, 44, _hoisted_6$4), [
31912
31791
  [vue.vModelText, phone.value]
31913
31792
  ])
31914
- ], 40, _hoisted_1$l)
31793
+ ], 40, _hoisted_1$m)
31915
31794
  ])
31916
31795
  ], 2);
31917
31796
  };
31918
31797
  }
31919
31798
  });
31920
31799
  const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-492fcc54"]]);
31921
- const _hoisted_1$k = ["title"];
31922
- const _hoisted_2$b = ["for"];
31800
+ const _hoisted_1$l = ["title"];
31801
+ const _hoisted_2$c = ["for"];
31923
31802
  const _hoisted_3$9 = ["id", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
31924
31803
  const _hoisted_4$4 = ["id", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
31925
31804
  const _hoisted_5$4 = { key: 2 };
@@ -32058,14 +31937,14 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
32058
31937
  key: 4,
32059
31938
  icon: _ctx.icon
32060
31939
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true)
32061
- ], 8, _hoisted_2$b)
32062
- ], 10, _hoisted_1$k);
31940
+ ], 8, _hoisted_2$c)
31941
+ ], 10, _hoisted_1$l);
32063
31942
  };
32064
31943
  }
32065
31944
  });
32066
31945
  const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-cc17f96e"]]);
32067
- const _hoisted_1$j = ["title"];
32068
- const _hoisted_2$a = ["id", "required"];
31946
+ const _hoisted_1$k = ["title"];
31947
+ const _hoisted_2$b = ["id", "required"];
32069
31948
  const _hoisted_3$8 = ["for"];
32070
31949
  const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
32071
31950
  __name: "ToggleInput",
@@ -32103,7 +31982,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
32103
31982
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => checked.value = $event),
32104
31983
  type: "checkbox",
32105
31984
  required: _ctx.required
32106
- }, null, 8, _hoisted_2$a), [
31985
+ }, null, 8, _hoisted_2$b), [
32107
31986
  [vue.vModelCheckbox, checked.value]
32108
31987
  ]),
32109
31988
  vue.createElementVNode("label", { for: inputId.value }, [
@@ -32111,7 +31990,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
32111
31990
  vue.createTextVNode(vue.toDisplayString(_ctx.label), 1)
32112
31991
  ], true)
32113
31992
  ], 8, _hoisted_3$8)
32114
- ], 10, _hoisted_1$j);
31993
+ ], 10, _hoisted_1$k);
32115
31994
  };
32116
31995
  }
32117
31996
  });
@@ -32141,8 +32020,8 @@ const files = {
32141
32020
  });
32142
32021
  }
32143
32022
  };
32144
- const _hoisted_1$i = { class: "bagel-input" };
32145
- const _hoisted_2$9 = { key: 0 };
32023
+ const _hoisted_1$j = { class: "bagel-input" };
32024
+ const _hoisted_2$a = { key: 0 };
32146
32025
  const _hoisted_3$7 = {
32147
32026
  key: 1,
32148
32027
  placeholder: "required",
@@ -32151,35 +32030,36 @@ const _hoisted_3$7 = {
32151
32030
  class: "pixel"
32152
32031
  };
32153
32032
  const _hoisted_4$3 = { class: "m-05 flex opacity-7 z-99" };
32154
- const _hoisted_5$3 = { class: "ellipsis-1 word-break-all h-20 m-0" };
32155
- const _hoisted_6$3 = {
32033
+ const _hoisted_5$3 = { class: "flex gap-025 rounded pe-1 ps-05 py-025 bg-gray-80 -my-1" };
32034
+ const _hoisted_6$3 = { class: "ellipsis-1 word-break-all h-20 m-0 color-black txt18" };
32035
+ const _hoisted_7$2 = {
32156
32036
  key: 1,
32157
32037
  class: "txt-gray txt-12"
32158
32038
  };
32159
- const _hoisted_7$2 = {
32039
+ const _hoisted_8$2 = {
32160
32040
  key: 0,
32161
32041
  class: "bgl-multi-preview"
32162
32042
  };
32163
- const _hoisted_8$2 = { class: "m-0" };
32164
- const _hoisted_9$1 = { class: "no-margin multi-preview-txt" };
32165
- const _hoisted_10$1 = {
32043
+ const _hoisted_9$1 = { class: "m-0" };
32044
+ const _hoisted_10$1 = { class: "no-margin multi-preview-txt" };
32045
+ const _hoisted_11$1 = {
32166
32046
  key: 0,
32167
32047
  class: "progress"
32168
32048
  };
32169
- const _hoisted_11$1 = {
32049
+ const _hoisted_12$1 = {
32170
32050
  key: 1,
32171
32051
  class: "bgl-single-preview"
32172
32052
  };
32173
- const _hoisted_12$1 = { class: "position-start m-05 flex opacity-7 z-99 gap-025" };
32174
- const _hoisted_13$1 = {
32053
+ const _hoisted_13 = { class: "position-start m-05 flex opacity-7 z-99 gap-025" };
32054
+ const _hoisted_14 = {
32175
32055
  key: 0,
32176
32056
  class: "h-100"
32177
32057
  };
32178
- const _hoisted_14 = {
32058
+ const _hoisted_15 = {
32179
32059
  key: 0,
32180
32060
  class: "progress"
32181
32061
  };
32182
- const _hoisted_15 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
32062
+ const _hoisted_16 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
32183
32063
  const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
32184
32064
  __name: "UploadInput",
32185
32065
  props: {
@@ -32288,10 +32168,10 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
32288
32168
  return (_ctx, _cache) => {
32289
32169
  const _directive_tooltip = vue.resolveDirective("tooltip");
32290
32170
  const _directive_lightbox = vue.resolveDirective("lightbox");
32291
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$i, [
32292
- _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$9, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
32171
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$j, [
32172
+ _ctx.label ? (vue.openBlock(), vue.createElementBlock("label", _hoisted_2$a, vue.toDisplayString(_ctx.label), 1)) : vue.createCommentVNode("", true),
32293
32173
  _ctx.required && !pathKeys.value.length ? (vue.openBlock(), vue.createElementBlock("input", _hoisted_3$7)) : vue.createCommentVNode("", true),
32294
- _ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$$), {
32174
+ _ctx.theme === "basic" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$_), {
32295
32175
  key: 2,
32296
32176
  outline: "",
32297
32177
  class: "flex p-05 gap-1",
@@ -32340,15 +32220,21 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
32340
32220
  href: pathToUrl(path_key),
32341
32221
  download: path_key.split("/").pop()
32342
32222
  }, null, 8, ["href", "download"]),
32343
- vue.withDirectives((vue.openBlock(), vue.createElementBlock("p", _hoisted_5$3, [
32344
- vue.createTextVNode(vue.toDisplayString(path_key.split("/").pop()), 1)
32345
- ])), [
32346
- [_directive_lightbox, { src: pathToUrl(path_key), download: true }]
32223
+ vue.createElementVNode("div", _hoisted_5$3, [
32224
+ vue.createVNode(vue.unref(_sfc_main$p), {
32225
+ icon: "draft",
32226
+ size: 1.5
32227
+ }),
32228
+ vue.withDirectives((vue.openBlock(), vue.createElementBlock("p", _hoisted_6$3, [
32229
+ vue.createTextVNode(vue.toDisplayString(path_key.split("/").pop()), 1)
32230
+ ])), [
32231
+ [_directive_lightbox, { src: pathToUrl(path_key), download: true }]
32232
+ ])
32347
32233
  ])
32348
32234
  ])
32349
32235
  ]);
32350
32236
  }), 128)),
32351
- !pathKeys.value.length && !fileQueue.value.length ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_6$3, " No file selected ")) : vue.createCommentVNode("", true)
32237
+ !pathKeys.value.length && !fileQueue.value.length ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$2, " No file selected ")) : vue.createCommentVNode("", true)
32352
32238
  ]),
32353
32239
  _: 1
32354
32240
  })) : (vue.openBlock(), vue.createElementBlock("div", {
@@ -32368,7 +32254,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
32368
32254
  files: pathKeys.value,
32369
32255
  fileQueue: fileQueue.value
32370
32256
  }, () => [
32371
- _ctx.multiple ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$2, [
32257
+ _ctx.multiple ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$2, [
32372
32258
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(pathKeys.value, (path_key) => {
32373
32259
  return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
32374
32260
  key: path_key,
@@ -32383,7 +32269,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
32383
32269
  icon: "description",
32384
32270
  class: "multi-preview"
32385
32271
  })),
32386
- vue.createElementVNode("p", _hoisted_8$2, vue.toDisplayString(path_key.split("/").pop()), 1),
32272
+ vue.createElementVNode("p", _hoisted_9$1, vue.toDisplayString(path_key.split("/").pop()), 1),
32387
32273
  vue.createVNode(vue.unref(Btn), {
32388
32274
  thin: "",
32389
32275
  flat: "",
@@ -32410,12 +32296,12 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
32410
32296
  icon: "description",
32411
32297
  class: "multi-preview"
32412
32298
  })),
32413
- vue.createElementVNode("p", _hoisted_9$1, vue.toDisplayString(file.name), 1),
32299
+ vue.createElementVNode("p", _hoisted_10$1, vue.toDisplayString(file.name), 1),
32414
32300
  vue.createElementVNode("div", {
32415
32301
  class: vue.normalizeClass(["pie", { complete: file.progress === 100 }]),
32416
32302
  style: vue.normalizeStyle([{ "--p": file.progress }, { "--b": "2px" }])
32417
32303
  }, [
32418
- file.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_10$1, vue.toDisplayString(file.progress.toFixed(0)), 1)) : vue.createCommentVNode("", true),
32304
+ file.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_11$1, vue.toDisplayString(file.progress.toFixed(0)), 1)) : vue.createCommentVNode("", true),
32419
32305
  vue.createVNode(vue.unref(_sfc_main$p), {
32420
32306
  class: "success",
32421
32307
  icon: "check_circle"
@@ -32423,13 +32309,13 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
32423
32309
  ], 6)
32424
32310
  ], 2);
32425
32311
  }), 128))
32426
- ])) : pathKeys.value.length > 0 || fileQueue.value.length > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_11$1, [
32312
+ ])) : pathKeys.value.length > 0 || fileQueue.value.length > 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12$1, [
32427
32313
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(pathKeys.value, (path_key) => {
32428
32314
  return vue.openBlock(), vue.createElementBlock("div", {
32429
32315
  key: path_key,
32430
32316
  class: vue.normalizeClass(["single-image-item-preview", { "bgl_fill-image": _ctx.fill }])
32431
32317
  }, [
32432
- vue.createElementVNode("div", _hoisted_12$1, [
32318
+ vue.createElementVNode("div", _hoisted_13, [
32433
32319
  vue.withDirectives(vue.createVNode(vue.unref(Btn), {
32434
32320
  color: "gray",
32435
32321
  thin: "",
@@ -32456,12 +32342,14 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
32456
32342
  [_directive_tooltip, "Download"]
32457
32343
  ])
32458
32344
  ]),
32459
- isImage(path_key) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_13$1, [
32460
- vue.createVNode(vue.unref(Image$1), {
32345
+ isImage(path_key) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_14, [
32346
+ vue.withDirectives(vue.createVNode(vue.unref(Image$1), {
32461
32347
  class: "single-preview",
32462
32348
  pathKey: path_key,
32463
32349
  alt: ""
32464
- }, null, 8, ["pathKey"])
32350
+ }, null, 8, ["pathKey"]), [
32351
+ [_directive_lightbox, { src: pathToUrl(path_key), download: true }]
32352
+ ])
32465
32353
  ])) : vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$p), {
32466
32354
  key: 1,
32467
32355
  size: 4,
@@ -32482,18 +32370,20 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
32482
32370
  class: vue.normalizeClass(["pie", { complete: file.progress === 100 }]),
32483
32371
  style: vue.normalizeStyle([{ "--p": file.progress }, { "--b": "2px" }])
32484
32372
  }, [
32485
- file.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_14, vue.toDisplayString(file.progress.toFixed(0)), 1)) : vue.createCommentVNode("", true),
32373
+ file.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_15, vue.toDisplayString(file.progress.toFixed(0)), 1)) : vue.createCommentVNode("", true),
32486
32374
  vue.createVNode(vue.unref(_sfc_main$p), {
32487
32375
  class: "success",
32488
32376
  icon: "check_circle"
32489
32377
  })
32490
32378
  ], 6),
32491
- isImage(file.file.type) ? (vue.openBlock(), vue.createBlock(vue.unref(Image$1), {
32379
+ isImage(file.file.type) ? vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(Image$1), {
32492
32380
  key: 0,
32493
32381
  class: "single-preview",
32494
32382
  src: fileToUrl(file.file),
32495
32383
  alt: ""
32496
- }, null, 8, ["src"])) : vue.createCommentVNode("", true)
32384
+ }, null, 8, ["src"])), [
32385
+ [_directive_lightbox, { src: fileToUrl(file.file), download: true }]
32386
+ ]) : vue.createCommentVNode("", true)
32497
32387
  ], 2);
32498
32388
  }), 128))
32499
32389
  ])) : vue.createCommentVNode("", true)
@@ -32504,7 +32394,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
32504
32394
  fileQueue: fileQueue.value,
32505
32395
  browse
32506
32396
  }, () => [
32507
- vue.createElementVNode("p", _hoisted_15, [
32397
+ vue.createElementVNode("p", _hoisted_16, [
32508
32398
  vue.createVNode(vue.unref(_sfc_main$p), { icon: "upload_2" }),
32509
32399
  _cache[4] || (_cache[4] = vue.createTextVNode(" Drop files here or click to upload "))
32510
32400
  ])
@@ -32514,7 +32404,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
32514
32404
  };
32515
32405
  }
32516
32406
  });
32517
- const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-bd972fe8"]]);
32407
+ const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-33f11d1f"]]);
32518
32408
  const FONT_AWESOME_ICONS = [
32519
32409
  "trash-can",
32520
32410
  "message",
@@ -36965,13 +36855,13 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
36965
36855
  style: vue.normalizeStyle({ "fontSize": `${_ctx.size}rem`, color: _ctx.color, "font-variation-settings": `'wght' ${_ctx.weight || 400}` })
36966
36856
  }, vue.toDisplayString(iconRender.value), 5)) : iconRenderType.value === "font-awesome" ? (vue.openBlock(), vue.createElementBlock("i", {
36967
36857
  key: 1,
36968
- class: vue.normalizeClass(["fa", [`fa-${iconRender.value}`, { "fa-brands": isFaBrand.value }]]),
36858
+ class: vue.normalizeClass(["fa far", [`fa-${iconRender.value}`, { "fa-brands": isFaBrand.value }]]),
36969
36859
  style: vue.normalizeStyle({ "fontSize": `${_ctx.size}rem`, color: _ctx.color, "font-variation-settings": `'wght' ${_ctx.weight || 400}` })
36970
36860
  }, null, 6)) : vue.createCommentVNode("", true);
36971
36861
  };
36972
36862
  }
36973
36863
  });
36974
- const _hoisted_1$h = ["src", "title", "width", "height", "marginwidth", "marginheight", "csp", "scrolling", "srcset"];
36864
+ const _hoisted_1$i = ["src", "title", "width", "height", "marginwidth", "marginheight", "csp", "scrolling", "srcset"];
36975
36865
  const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
36976
36866
  __name: "IframeVue",
36977
36867
  props: {
@@ -37031,12 +36921,12 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
37031
36921
  scrolling: _ctx.scrolling,
37032
36922
  srcset: _ctx.srcset,
37033
36923
  onLoad: _cache[0] || (_cache[0] = ($event) => emit2("load", $event))
37034
- }, null, 40, _hoisted_1$h);
36924
+ }, null, 40, _hoisted_1$i);
37035
36925
  };
37036
36926
  }
37037
36927
  });
37038
- const _hoisted_1$g = { key: 0 };
37039
- const _hoisted_2$8 = ["src", "alt", "width", "height"];
36928
+ const _hoisted_1$h = { key: 0 };
36929
+ const _hoisted_2$9 = ["src", "alt", "width", "height"];
37040
36930
  const _hoisted_3$6 = ["src", "alt", "width", "height"];
37041
36931
  const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
37042
36932
  __name: "Image",
@@ -37120,7 +37010,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
37120
37010
  }
37121
37011
  vue.watch(() => [props2.src, props2.pathKey], loadImage, { immediate: true });
37122
37012
  return (_ctx, _cache) => {
37123
- return _ctx.caption ? (vue.openBlock(), vue.createElementBlock("figcaption", _hoisted_1$g, [
37013
+ return _ctx.caption ? (vue.openBlock(), vue.createElementBlock("figcaption", _hoisted_1$h, [
37124
37014
  vue.unref(imageSrc) ? (vue.openBlock(), vue.createElementBlock("img", vue.mergeProps({
37125
37015
  key: 0,
37126
37016
  src: vue.unref(imageSrc)
@@ -37128,7 +37018,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
37128
37018
  alt: _ctx.alt,
37129
37019
  width: vue.unref(normalizeDimension)(_ctx.width),
37130
37020
  height: vue.unref(normalizeDimension)(_ctx.height)
37131
- }), null, 16, _hoisted_2$8)) : (vue.openBlock(), vue.createBlock(vue.unref(Skeleton), {
37021
+ }), null, 16, _hoisted_2$9)) : (vue.openBlock(), vue.createBlock(vue.unref(Skeleton), {
37132
37022
  key: 1,
37133
37023
  class: "img-web-kit",
37134
37024
  width: vue.unref(normalizeDimension)(_ctx.width),
@@ -37160,7 +37050,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
37160
37050
  }
37161
37051
  });
37162
37052
  const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-6f277b5b"]]);
37163
- const _hoisted_1$f = { class: "m-0 pb-025 txt14 line-height-1 w60 menu-text" };
37053
+ const _hoisted_1$g = { class: "m-0 pb-025 txt14 line-height-1 w60 menu-text" };
37164
37054
  const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
37165
37055
  __name: "BottomMenu",
37166
37056
  props: {
@@ -37168,7 +37058,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
37168
37058
  },
37169
37059
  setup(__props) {
37170
37060
  return (_ctx, _cache) => {
37171
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$$), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
37061
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$_), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
37172
37062
  default: vue.withCtx(() => [
37173
37063
  vue.renderSlot(_ctx.$slots, "brand", {}, void 0, true),
37174
37064
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.navLinks, (nav, i2) => {
@@ -37184,7 +37074,7 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
37184
37074
  size: 1.4,
37185
37075
  class: "m-0 line-height-14"
37186
37076
  }, null, 8, ["icon"]),
37187
- vue.createElementVNode("p", _hoisted_1$f, vue.toDisplayString(nav.label), 1)
37077
+ vue.createElementVNode("p", _hoisted_1$g, vue.toDisplayString(nav.label), 1)
37188
37078
  ]),
37189
37079
  _: 2
37190
37080
  }, 1032, ["to", "onClick"]);
@@ -37239,7 +37129,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
37239
37129
  }
37240
37130
  });
37241
37131
  const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-1814129a"]]);
37242
- const _hoisted_1$e = { key: 0 };
37132
+ const _hoisted_1$f = { key: 0 };
37243
37133
  const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
37244
37134
  __name: "SidebarMenu",
37245
37135
  props: {
@@ -37269,7 +37159,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
37269
37159
  icon: "keyboard_arrow_right",
37270
37160
  onClick: vue.unref(toggleMenu)
37271
37161
  }, null, 8, ["onClick"]),
37272
- vue.createVNode(vue.unref(_sfc_main$$), { class: "py-1 px-05 h-100 flex column gap-05 rounded relative bg-primary font-light overflow-y" }, {
37162
+ vue.createVNode(vue.unref(_sfc_main$_), { class: "py-1 px-05 h-100 flex column gap-05 rounded relative bg-primary font-light overflow-y" }, {
37273
37163
  default: vue.withCtx(() => [
37274
37164
  !vue.unref(isOpen) || !vue.unref(slots)["brand-open"] ? vue.renderSlot(_ctx.$slots, "brand", { key: 0 }, void 0, true) : vue.createCommentVNode("", true),
37275
37165
  vue.unref(isOpen) ? vue.renderSlot(_ctx.$slots, "brand-open", { key: 1 }, void 0, true) : vue.createCommentVNode("", true),
@@ -37287,7 +37177,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
37287
37177
  }, null, 8, ["icon"]),
37288
37178
  vue.createVNode(vue.Transition, { name: "showP" }, {
37289
37179
  default: vue.withCtx(() => [
37290
- _ctx.open ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_1$e, vue.toDisplayString(nav.label), 1)) : vue.createCommentVNode("", true)
37180
+ _ctx.open ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_1$f, vue.toDisplayString(nav.label), 1)) : vue.createCommentVNode("", true)
37291
37181
  ]),
37292
37182
  _: 2
37293
37183
  }, 1024)
@@ -37347,8 +37237,8 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
37347
37237
  }
37348
37238
  });
37349
37239
  const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-4da8c0d1"]]);
37350
- const _hoisted_1$d = { class: "bgl_card tabs-top" };
37351
- const _hoisted_2$7 = { class: "tabs grid auto-flow-columns fit-content" };
37240
+ const _hoisted_1$e = { class: "bgl_card tabs-top" };
37241
+ const _hoisted_2$8 = { class: "tabs grid auto-flow-columns fit-content" };
37352
37242
  const _hoisted_3$5 = ["onClick"];
37353
37243
  const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
37354
37244
  __name: "TabbedLayout",
@@ -37383,9 +37273,9 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
37383
37273
  return vue.openBlock(), vue.createElementBlock("div", {
37384
37274
  class: vue.normalizeClass(["h-100 grid list-view gap-1", { "side-tabs": _ctx.sideTabs }])
37385
37275
  }, [
37386
- vue.createElementVNode("div", _hoisted_1$d, [
37276
+ vue.createElementVNode("div", _hoisted_1$e, [
37387
37277
  vue.renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
37388
- vue.createElementVNode("div", _hoisted_2$7, [
37278
+ vue.createElementVNode("div", _hoisted_2$8, [
37389
37279
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.tabs, (tab) => {
37390
37280
  var _a2;
37391
37281
  return vue.openBlock(), vue.createElementBlock("div", {
@@ -37411,7 +37301,7 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
37411
37301
  }
37412
37302
  });
37413
37303
  const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-915732c1"]]);
37414
- const _hoisted_1$c = { key: 0 };
37304
+ const _hoisted_1$d = { key: 0 };
37415
37305
  const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
37416
37306
  __name: "Tabs",
37417
37307
  props: {
@@ -37454,7 +37344,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
37454
37344
  group: vue.unref(group),
37455
37345
  class: "mb-05"
37456
37346
  }, null, 8, ["modelValue", "flat", "tabs", "group"]),
37457
- vue.unref(currentTab) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [
37347
+ vue.unref(currentTab) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$d, [
37458
37348
  vue.unref(slots)[vue.unref(currentTab)] ? vue.renderSlot(_ctx.$slots, vue.unref(currentTab), { key: 0 }) : vue.unref(currentTab) ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(tabComponent)), { key: 1 })) : vue.createCommentVNode("", true)
37459
37349
  ])) : vue.createCommentVNode("", true)
37460
37350
  ], 64);
@@ -37474,8 +37364,8 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
37474
37364
  };
37475
37365
  }
37476
37366
  });
37477
- const _hoisted_1$b = { class: "no-margin ellipsis line-height-14 pb-025" };
37478
- const _hoisted_2$6 = { class: "txt12 no-margin txt-gray ellipsis" };
37367
+ const _hoisted_1$c = { class: "no-margin ellipsis line-height-14 pb-025" };
37368
+ const _hoisted_2$7 = { class: "txt12 no-margin txt-gray ellipsis" };
37479
37369
  const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
37480
37370
  __name: "ListItem",
37481
37371
  props: {
@@ -37510,11 +37400,11 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
37510
37400
  icon: _ctx.icon
37511
37401
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
37512
37402
  vue.createElementVNode("div", null, [
37513
- vue.createElementVNode("p", _hoisted_1$b, [
37403
+ vue.createElementVNode("p", _hoisted_1$c, [
37514
37404
  vue.createTextVNode(vue.toDisplayString(_ctx.title) + " ", 1),
37515
37405
  vue.renderSlot(_ctx.$slots, "default")
37516
37406
  ]),
37517
- vue.createElementVNode("p", _hoisted_2$6, [
37407
+ vue.createElementVNode("p", _hoisted_2$7, [
37518
37408
  vue.createTextVNode(vue.toDisplayString(_ctx.subtitle) + " ", 1),
37519
37409
  vue.renderSlot(_ctx.$slots, "subtitle")
37520
37410
  ])
@@ -37526,12 +37416,12 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
37526
37416
  }
37527
37417
  });
37528
37418
  const _sfc_main$e = {};
37529
- const _hoisted_1$a = { class: "list-wrap bgl_card thin grid overflow-hidden h-100 pt-0 pb-05 px-0 m_pb-0" };
37530
- const _hoisted_2$5 = { class: "p-1" };
37419
+ const _hoisted_1$b = { class: "list-wrap bgl_card thin grid overflow-hidden h-100 pt-0 pb-05 px-0 m_pb-0" };
37420
+ const _hoisted_2$6 = { class: "p-1" };
37531
37421
  const _hoisted_3$4 = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
37532
37422
  function _sfc_render$3(_ctx, _cache) {
37533
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, [
37534
- vue.createElementVNode("div", _hoisted_2$5, [
37423
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$b, [
37424
+ vue.createElementVNode("div", _hoisted_2$6, [
37535
37425
  vue.renderSlot(_ctx.$slots, "header")
37536
37426
  ]),
37537
37427
  vue.createElementVNode("div", _hoisted_3$4, [
@@ -37540,7 +37430,7 @@ function _sfc_render$3(_ctx, _cache) {
37540
37430
  ]);
37541
37431
  }
37542
37432
  const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$3]]);
37543
- const _hoisted_1$9 = { class: "flex-center" };
37433
+ const _hoisted_1$a = { class: "flex-center" };
37544
37434
  const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
37545
37435
  __name: "Loading",
37546
37436
  props: {
@@ -37563,7 +37453,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
37563
37453
  return standardSize(borderValue);
37564
37454
  });
37565
37455
  return (_ctx, _cache) => {
37566
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$9, [
37456
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$a, [
37567
37457
  theme.value === "bar" ? (vue.openBlock(), vue.createElementBlock("div", {
37568
37458
  key: 0,
37569
37459
  class: "lds-bar",
@@ -37606,7 +37496,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
37606
37496
  }
37607
37497
  });
37608
37498
  const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__scopeId", "data-v-2e27b3c1"]]);
37609
- const _hoisted_1$8 = ["id"];
37499
+ const _hoisted_1$9 = ["id"];
37610
37500
  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>';
37611
37501
  const leafletScriptUrl = "https://unpkg.com/leaflet@1.9.4/dist/leaflet.js";
37612
37502
  const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
@@ -37700,15 +37590,15 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
37700
37590
  class: "leaflet-map",
37701
37591
  style: vue.normalizeStyle({ height: `${props2.height || 400}px` }),
37702
37592
  dir: "ltr"
37703
- }, null, 12, _hoisted_1$8);
37593
+ }, null, 12, _hoisted_1$9);
37704
37594
  };
37705
37595
  }
37706
37596
  });
37707
- const _hoisted_1$7 = {
37597
+ const _hoisted_1$8 = {
37708
37598
  key: 0,
37709
37599
  class: "tool-bar"
37710
37600
  };
37711
- const _hoisted_2$4 = {
37601
+ const _hoisted_2$5 = {
37712
37602
  key: 1,
37713
37603
  class: "sticky bg-popup z-index-999 -mt-1 -ms-1 px-025 h-30px pt-025 modal-no-title"
37714
37604
  };
@@ -37772,7 +37662,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
37772
37662
  onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
37773
37663
  onKeydown: vue.withKeys(closeModal, ["esc"])
37774
37664
  }, [
37775
- vue.createVNode(vue.unref(_sfc_main$$), {
37665
+ vue.createVNode(vue.unref(_sfc_main$_), {
37776
37666
  class: "modal",
37777
37667
  style: vue.normalizeStyle({ ...maxWidth.value }),
37778
37668
  onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
@@ -37781,7 +37671,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
37781
37671
  default: vue.withCtx(() => {
37782
37672
  var _a2;
37783
37673
  return [
37784
- vue.unref(slots).toolbar || _ctx.title ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_1$7, [
37674
+ vue.unref(slots).toolbar || _ctx.title ? (vue.openBlock(), vue.createElementBlock("header", _hoisted_1$8, [
37785
37675
  vue.renderSlot(_ctx.$slots, "toolbar"),
37786
37676
  vue.createVNode(vue.unref(Btn), {
37787
37677
  style: vue.normalizeStyle({ float: _ctx.side ? "left" : "right" }),
@@ -37796,7 +37686,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
37796
37686
  tag: "h3",
37797
37687
  label: _ctx.title
37798
37688
  }, null, 8, ["label"])) : vue.createCommentVNode("", true)
37799
- ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$4, [
37689
+ ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$5, [
37800
37690
  vue.createVNode(vue.unref(Btn), {
37801
37691
  class: "position-start",
37802
37692
  icon: "close",
@@ -37824,7 +37714,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
37824
37714
  };
37825
37715
  }
37826
37716
  });
37827
- const _hoisted_1$6 = { class: "pb-05 pretty" };
37717
+ const _hoisted_1$7 = { class: "pb-05 pretty" };
37828
37718
  const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
37829
37719
  __name: "ModalConfirm",
37830
37720
  props: {
@@ -37870,13 +37760,15 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
37870
37760
  }, null, 8, ["color", "value"])
37871
37761
  ]),
37872
37762
  default: vue.withCtx(() => [
37873
- vue.createElementVNode("p", _hoisted_1$6, vue.toDisplayString(vue.unref(message2)), 1)
37763
+ vue.createElementVNode("p", _hoisted_1$7, vue.toDisplayString(vue.unref(message2)), 1)
37874
37764
  ]),
37875
37765
  _: 1
37876
37766
  }, 8, ["title"]);
37877
37767
  };
37878
37768
  }
37879
37769
  });
37770
+ const _hoisted_1$6 = { class: "flex gap-0" };
37771
+ const _hoisted_2$4 = { class: "flex gap-05" };
37880
37772
  const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
37881
37773
  __name: "ModalForm",
37882
37774
  props: /* @__PURE__ */ vue.mergeModels({
@@ -37887,6 +37779,11 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
37887
37779
  actions: {},
37888
37780
  schema: {},
37889
37781
  onSubmit: { type: Function },
37782
+ onDuplicate: { type: Function },
37783
+ submitText: {},
37784
+ cancelText: {},
37785
+ deleteText: {},
37786
+ duplicateText: {},
37890
37787
  onDelete: { type: Function },
37891
37788
  visible: { type: Boolean },
37892
37789
  onError: { type: Function },
@@ -37949,7 +37846,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
37949
37846
  "onUpdate:visible": _cache[1] || (_cache[1] = ($event) => emit2("update:visible", $event))
37950
37847
  }, vue.createSlots({
37951
37848
  default: vue.withCtx(() => [
37952
- _ctx.visible ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$T), {
37849
+ _ctx.visible ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$S), {
37953
37850
  key: 0,
37954
37851
  ref_key: "form",
37955
37852
  ref: form,
@@ -37964,27 +37861,39 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
37964
37861
  _ctx.onDelete || _ctx.onSubmit ? {
37965
37862
  name: "footer",
37966
37863
  fn: vue.withCtx(() => [
37967
- vue.createElementVNode("div", null, [
37864
+ vue.createElementVNode("div", _hoisted_1$6, [
37968
37865
  vue.createVNode(vue.unref(Btn), {
37969
37866
  thin: "",
37970
37867
  flat: "",
37971
- value: "Cancel",
37868
+ value: _ctx.cancelText || "Cancel",
37972
37869
  onClick: closeModal
37973
- }),
37974
- _ctx.onDelete ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
37870
+ }, null, 8, ["value"]),
37871
+ _ctx.onDelete && formData.value.id ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
37975
37872
  key: 0,
37976
37873
  thin: "",
37977
37874
  icon: "delete",
37978
37875
  flat: "",
37979
- value: "Delete",
37876
+ value: _ctx.deleteText || "Delete",
37980
37877
  color: "red",
37981
37878
  onClick: runDelete
37982
- })) : vue.createCommentVNode("", true)
37879
+ }, null, 8, ["value"])) : vue.createCommentVNode("", true)
37983
37880
  ]),
37984
- vue.createVNode(vue.unref(Btn), {
37985
- value: "Submit",
37986
- onClick: runSubmit
37987
- })
37881
+ vue.createElementVNode("div", _hoisted_2$4, [
37882
+ _ctx.onDuplicate ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
37883
+ key: 0,
37884
+ outline: "",
37885
+ class: "px-1",
37886
+ icon: "copy_all",
37887
+ flat: "",
37888
+ value: _ctx.duplicateText || "Duplicate",
37889
+ onClick: _ctx.onDuplicate
37890
+ }, null, 8, ["value", "onClick"])) : vue.createCommentVNode("", true),
37891
+ _ctx.onSubmit ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
37892
+ key: 1,
37893
+ value: _ctx.submitText || "Submit",
37894
+ onClick: runSubmit
37895
+ }, null, 8, ["value"])) : vue.createCommentVNode("", true)
37896
+ ])
37988
37897
  ]),
37989
37898
  key: "0"
37990
37899
  } : void 0
@@ -37992,7 +37901,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
37992
37901
  };
37993
37902
  }
37994
37903
  });
37995
- const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-495b8b8d"]]);
37904
+ const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-f8e6d41e"]]);
37996
37905
  const _hoisted_1$5 = { class: "full-nav" };
37997
37906
  const _hoisted_2$3 = { class: "nav-scroll" };
37998
37907
  const _hoisted_3$2 = { class: "nav-links-wrapper" };
@@ -38462,12 +38371,14 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
38462
38371
  let panLocked = vue.ref(true);
38463
38372
  let raf = vue.ref();
38464
38373
  let tapDetector = vue.ref();
38374
+ let translateXValue = vue.ref(0);
38375
+ let translateYValue = vue.ref(0);
38465
38376
  const wrapperStyle = vue.computed(() => {
38466
- const translateXValue = containerWidth.value * animTranslateX.value;
38467
- const translateYValue = containerHeight.value * animTranslateY.value;
38377
+ translateXValue.value = containerWidth.value * animTranslateX.value;
38378
+ translateYValue.value = containerHeight.value * animTranslateY.value;
38468
38379
  return {
38469
38380
  transform: [
38470
- `translate(${translateXValue}px, ${translateYValue}px)`,
38381
+ `translate(${translateXValue.value}px, ${translateYValue.value}px)`,
38471
38382
  `scale(${animScale.value})`
38472
38383
  ].join(" ")
38473
38384
  };
@@ -38556,12 +38467,22 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
38556
38467
  const imageToContainerRatio2 = containerWidth.value / __props.aspectRatio / containerHeight.value;
38557
38468
  let translateLimitY = (scale.value * imageToContainerRatio2 - 1) / 2;
38558
38469
  if (translateLimitY < 0) translateLimitY = 0;
38559
- return { x: (scale.value - 1) / 2, y: translateLimitY };
38470
+ return {
38471
+ x: scale.value - 1,
38472
+ // Allow full movement to edges horizontally
38473
+ y: translateLimitY * 2
38474
+ // Allow full movement to edges vertically
38475
+ };
38560
38476
  }
38561
38477
  const imageToContainerRatio = containerHeight.value * __props.aspectRatio / containerWidth.value;
38562
38478
  let translateLimitX = (scale.value * imageToContainerRatio - 1) / 2;
38563
38479
  if (translateLimitX < 0) translateLimitX = 0;
38564
- return { x: translateLimitX, y: (scale.value - 1) / 2 };
38480
+ return {
38481
+ x: translateLimitX * 2,
38482
+ // Allow full movement to edges horizontally
38483
+ y: scale.value - 1
38484
+ // Allow full movement to edges vertically
38485
+ };
38565
38486
  }
38566
38487
  function getMarginDirection() {
38567
38488
  const containerRatio = containerWidth.value / containerHeight.value;
@@ -38724,7 +38645,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
38724
38645
  };
38725
38646
  }
38726
38647
  });
38727
- const Zoomer = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-6035bdcf"]]);
38648
+ const Zoomer = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-379819e1"]]);
38728
38649
  function useBglSchema({ schema, showFields, data: data2 } = {}) {
38729
38650
  let _schema = schema;
38730
38651
  if (typeof _schema === "function") {
@@ -38986,7 +38907,7 @@ class Bagel {
38986
38907
  }
38987
38908
  const _hoisted_1 = {
38988
38909
  key: 0,
38989
- class: "navigation flex space-between px-3 w-100 absolute m_px-1"
38910
+ class: "navigation flex space-between px-3 w-100 absolute m_px-1 m_none z-9"
38990
38911
  };
38991
38912
  const _hoisted_2 = { class: "flex start fixed top-1 w-100 space-between px-1" };
38992
38913
  const _hoisted_3 = {
@@ -38994,18 +38915,17 @@ const _hoisted_3 = {
38994
38915
  class: "center"
38995
38916
  };
38996
38917
  const _hoisted_4 = { key: 3 };
38997
- const _hoisted_5 = { class: "bgl-lightbox-item" };
38998
- const _hoisted_6 = ["src", "title"];
38999
- const _hoisted_7 = {
38918
+ const _hoisted_5 = ["src", "title"];
38919
+ const _hoisted_6 = {
39000
38920
  key: 3,
39001
38921
  class: "file-info txt-white flex m_block align-items-start gap-025"
39002
38922
  };
39003
- const _hoisted_8 = { class: "txt-start" };
39004
- const _hoisted_9 = { class: "mx-0 light" };
39005
- const _hoisted_10 = { class: "semi word-break-all" };
39006
- const _hoisted_11 = { class: "mx-0" };
39007
- const _hoisted_12 = { class: "semi" };
39008
- const _hoisted_13 = {
38923
+ const _hoisted_7 = { class: "txt-start" };
38924
+ const _hoisted_8 = { class: "mx-0 light" };
38925
+ const _hoisted_9 = { class: "semi word-break-all" };
38926
+ const _hoisted_10 = { class: "mx-0" };
38927
+ const _hoisted_11 = { class: "semi" };
38928
+ const _hoisted_12 = {
39009
38929
  key: 0,
39010
38930
  class: "flex justify-content-center mt-2 overflow p-1 fixed bottom start end gap-1 m_justify-content-start"
39011
38931
  };
@@ -39013,15 +38933,13 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
39013
38933
  __name: "Lightbox",
39014
38934
  setup(__props, { expose: __expose }) {
39015
38935
  let isOpen = vue.ref(false);
39016
- let currentItem = vue.ref();
39017
38936
  let group = vue.ref([]);
39018
38937
  let currentIndex = vue.ref(0);
38938
+ let currentItem = vue.computed(() => group.value[currentIndex.value]);
39019
38939
  function open(item, groupItems) {
39020
38940
  isOpen.value = true;
39021
- currentItem.value = item;
39022
- if (groupItems === void 0) return;
39023
- group.value = groupItems;
39024
- currentIndex.value = groupItems.findIndex(({ src }) => item.src === src);
38941
+ group.value = groupItems || [item];
38942
+ currentIndex.value = group.value.findIndex(({ src }) => item.src === src);
39025
38943
  document.addEventListener("keydown", handleKeydown);
39026
38944
  }
39027
38945
  function close() {
@@ -39066,7 +38984,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
39066
38984
  return (_ctx, _cache) => {
39067
38985
  return vue.openBlock(), vue.createBlock(vue.Transition, { name: "fade" }, {
39068
38986
  default: vue.withCtx(() => {
39069
- var _a2, _b, _c, _d, _e2, _f, _g, _h, _i, _j, _k, _l2, _m, _n2, _o, _p, _q, _r2;
38987
+ var _a2, _b, _c, _d, _e2, _f, _g, _h;
39070
38988
  return [
39071
38989
  vue.unref(isOpen) ? (vue.openBlock(), vue.createElementBlock("div", {
39072
38990
  key: 0,
@@ -39080,19 +38998,21 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
39080
38998
  }, [
39081
38999
  vue.unref(group) && vue.unref(group).length > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
39082
39000
  vue.createVNode(vue.unref(Btn), {
39083
- class: "navigation-btn oval",
39001
+ class: "oval opacity-8",
39084
39002
  icon: "arrow_back",
39003
+ color: "black",
39085
39004
  onClick: prev
39086
39005
  }),
39087
39006
  vue.createVNode(vue.unref(Btn), {
39088
- class: "navigation-btn oval",
39007
+ class: "oval opacity-8",
39089
39008
  icon: "arrow_forward",
39009
+ color: "black",
39090
39010
  onClick: next
39091
39011
  })
39092
39012
  ])) : vue.createCommentVNode("", true),
39093
39013
  vue.createElementVNode("div", {
39094
39014
  class: "bgl-lightbox relative txt-center",
39095
- onClick: _cache[4] || (_cache[4] = vue.withModifiers(() => {
39015
+ onClick: _cache[5] || (_cache[5] = vue.withModifiers(() => {
39096
39016
  }, ["stop"]))
39097
39017
  }, [
39098
39018
  vue.createElementVNode("div", _hoisted_2, [
@@ -39149,74 +39069,86 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
39149
39069
  }, null, 8, ["href"])) : vue.createCommentVNode("", true),
39150
39070
  !((_g = vue.unref(currentItem)) == null ? void 0 : _g.openFile) && !((_h = vue.unref(currentItem)) == null ? void 0 : _h.download) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4)) : vue.createCommentVNode("", true)
39151
39071
  ]),
39152
- vue.createElementVNode("div", _hoisted_5, [
39153
- ((_i = vue.unref(currentItem)) == null ? void 0 : _i.type) === "image" ? (vue.openBlock(), vue.createBlock(vue.unref(Zoomer), {
39154
- key: 0,
39155
- zoom: zoom.value,
39156
- "onUpdate:zoom": _cache[3] || (_cache[3] = ($event) => zoom.value = $event),
39157
- disabled: !((_j = vue.unref(currentItem)) == null ? void 0 : _j.enableZoom),
39158
- "mouse-wheel-to-zoom": false
39159
- }, {
39160
- default: vue.withCtx(() => {
39161
- var _a3;
39162
- return [
39163
- vue.createVNode(vue.unref(Image$1), {
39164
- draggable: false,
39165
- src: (_a3 = vue.unref(currentItem)) == null ? void 0 : _a3.src,
39166
- alt: "Preview",
39167
- class: "vw90 lightbox-image"
39168
- }, null, 8, ["src"])
39169
- ];
39170
- }),
39171
- _: 1
39172
- }, 8, ["zoom", "disabled"])) : ((_k = vue.unref(currentItem)) == null ? void 0 : _k.type) === "video" ? (vue.openBlock(), vue.createBlock(vue.unref(BglVideo), {
39173
- key: 1,
39174
- src: (_l2 = vue.unref(currentItem)) == null ? void 0 : _l2.src,
39175
- autoplay: "",
39176
- controls: "",
39177
- class: "vw90"
39178
- }, null, 8, ["src"])) : ((_m = vue.unref(currentItem)) == null ? void 0 : _m.type) === "pdf" ? (vue.openBlock(), vue.createElementBlock("embed", {
39179
- key: 2,
39180
- src: vue.unref(normalizeURL)((_n2 = vue.unref(currentItem)) == null ? void 0 : _n2.src),
39181
- type: "application/pdf",
39182
- width: "100%",
39183
- height: "1080",
39184
- title: (_o = vue.unref(currentItem)) == null ? void 0 : _o.name,
39185
- class: "vw90"
39186
- }, null, 8, _hoisted_6)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, [
39187
- vue.createVNode(vue.unref(_sfc_main$p), {
39188
- class: "m-0 m_none",
39189
- icon: "draft",
39190
- size: 10,
39191
- weight: "12"
39192
- }),
39193
- vue.createVNode(vue.unref(_sfc_main$p), {
39194
- class: "m-0 none m_block m_-mb-1",
39195
- icon: "draft",
39196
- size: 4,
39197
- weight: "2"
39198
- }),
39199
- vue.createElementVNode("div", _hoisted_8, [
39200
- vue.createElementVNode("p", _hoisted_9, [
39201
- _cache[5] || (_cache[5] = vue.createTextVNode(" File: ")),
39202
- vue.createElementVNode("span", _hoisted_10, vue.toDisplayString((_p = vue.unref(currentItem)) == null ? void 0 : _p.name), 1)
39203
- ]),
39204
- vue.createElementVNode("p", _hoisted_11, [
39205
- _cache[6] || (_cache[6] = vue.createTextVNode(" Type: ")),
39206
- vue.createElementVNode("span", _hoisted_12, vue.toDisplayString((_q = vue.unref(currentItem)) == null ? void 0 : _q.type), 1)
39207
- ]),
39208
- vue.createVNode(vue.unref(Btn), {
39209
- href: (_r2 = vue.unref(currentItem)) == null ? void 0 : _r2.src,
39210
- target: "_blank",
39211
- round: "",
39212
- thin: "",
39213
- class: "mt-1",
39214
- value: "Open file"
39215
- }, null, 8, ["href"])
39216
- ])
39217
- ]))
39218
- ]),
39219
- vue.unref(group) && vue.unref(group).length > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_13, [
39072
+ vue.createVNode(vue.unref(Carousel), {
39073
+ index: vue.unref(currentIndex),
39074
+ "onUpdate:index": _cache[4] || (_cache[4] = ($event) => vue.isRef(currentIndex) ? currentIndex.value = $event : currentIndex = $event),
39075
+ items: 1,
39076
+ class: vue.normalizeClass(["bgl-lightbox-item", { zoomed: zoom.value > 1 }]),
39077
+ freeDrag: zoom.value === 1
39078
+ }, {
39079
+ default: vue.withCtx(() => [
39080
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(group), (item) => {
39081
+ return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
39082
+ key: item.src
39083
+ }, [
39084
+ item.type === "image" ? (vue.openBlock(), vue.createBlock(vue.unref(Zoomer), {
39085
+ key: 0,
39086
+ zoom: zoom.value,
39087
+ "onUpdate:zoom": _cache[3] || (_cache[3] = ($event) => zoom.value = $event),
39088
+ disabled: !(item == null ? void 0 : item.enableZoom),
39089
+ "mouse-wheel-to-zoom": false
39090
+ }, {
39091
+ default: vue.withCtx(() => [
39092
+ vue.createVNode(vue.unref(Image$1), {
39093
+ draggable: false,
39094
+ src: item == null ? void 0 : item.src,
39095
+ alt: "Preview",
39096
+ class: "vw90 lightbox-image"
39097
+ }, null, 8, ["src"])
39098
+ ]),
39099
+ _: 2
39100
+ }, 1032, ["zoom", "disabled"])) : (item == null ? void 0 : item.type) === "video" ? (vue.openBlock(), vue.createBlock(vue.unref(BglVideo), {
39101
+ key: 1,
39102
+ src: item == null ? void 0 : item.src,
39103
+ autoplay: "",
39104
+ controls: "",
39105
+ class: "vw90"
39106
+ }, null, 8, ["src"])) : (item == null ? void 0 : item.type) === "pdf" ? (vue.openBlock(), vue.createElementBlock("embed", {
39107
+ key: 2,
39108
+ src: vue.unref(normalizeURL)(item == null ? void 0 : item.src),
39109
+ type: "application/pdf",
39110
+ width: "100%",
39111
+ height: "1080",
39112
+ title: item == null ? void 0 : item.name,
39113
+ class: "vw90"
39114
+ }, null, 8, _hoisted_5)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, [
39115
+ vue.createVNode(vue.unref(_sfc_main$p), {
39116
+ class: "m-0 m_none",
39117
+ icon: "draft",
39118
+ size: 10,
39119
+ weight: "12"
39120
+ }),
39121
+ vue.createVNode(vue.unref(_sfc_main$p), {
39122
+ class: "m-0 none m_block m_-mb-1",
39123
+ icon: "draft",
39124
+ size: 4,
39125
+ weight: "2"
39126
+ }),
39127
+ vue.createElementVNode("div", _hoisted_7, [
39128
+ vue.createElementVNode("p", _hoisted_8, [
39129
+ _cache[6] || (_cache[6] = vue.createTextVNode(" File: ")),
39130
+ vue.createElementVNode("span", _hoisted_9, vue.toDisplayString(item == null ? void 0 : item.name), 1)
39131
+ ]),
39132
+ vue.createElementVNode("p", _hoisted_10, [
39133
+ _cache[7] || (_cache[7] = vue.createTextVNode(" Type: ")),
39134
+ vue.createElementVNode("span", _hoisted_11, vue.toDisplayString(item == null ? void 0 : item.type), 1)
39135
+ ]),
39136
+ vue.createVNode(vue.unref(Btn), {
39137
+ href: item == null ? void 0 : item.src,
39138
+ target: "_blank",
39139
+ round: "",
39140
+ thin: "",
39141
+ class: "mt-1",
39142
+ value: "Open file"
39143
+ }, null, 8, ["href"])
39144
+ ])
39145
+ ]))
39146
+ ], 64);
39147
+ }), 128))
39148
+ ]),
39149
+ _: 1
39150
+ }, 8, ["index", "class", "freeDrag"]),
39151
+ vue.unref(group) && vue.unref(group).length > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_12, [
39220
39152
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(group), (item, index2) => {
39221
39153
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
39222
39154
  item.type === "image" ? (vue.openBlock(), vue.createBlock(vue.unref(Image$1), {
@@ -39243,7 +39175,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
39243
39175
  };
39244
39176
  }
39245
39177
  });
39246
- const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d5e5a1db"]]);
39178
+ const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f833758f"]]);
39247
39179
  const groups = {};
39248
39180
  let clickHandler = (_e2) => void 0;
39249
39181
  const lightboxDirective = {
@@ -40358,22 +40290,21 @@ function timeAgo(date2, lang = "en") {
40358
40290
  }
40359
40291
  return selectedLang.justNow;
40360
40292
  }
40361
- exports.Accordion = _sfc_main$18;
40293
+ exports.Accordion = _sfc_main$17;
40362
40294
  exports.AccordionItem = AccordionItem;
40363
- exports.AddressSearch = _sfc_main$16;
40295
+ exports.AddressSearch = _sfc_main$15;
40364
40296
  exports.Alert = Alert;
40365
40297
  exports.Avatar = Avatar;
40366
40298
  exports.Badge = Badge;
40367
- exports.BagelForm = _sfc_main$Q;
40368
- exports.BagelForm2 = _sfc_main$T;
40299
+ exports.BagelForm = _sfc_main$S;
40369
40300
  exports.BagelVue = BagelVue;
40370
- exports.BglComponent = _sfc_main$11;
40371
- exports.BglField = _sfc_main$R;
40372
- exports.BglForm = _sfc_main$Q;
40301
+ exports.BglComponent = _sfc_main$10;
40302
+ exports.BglField = _sfc_main$Q;
40303
+ exports.BglForm = _sfc_main$S;
40373
40304
  exports.BglVideo = BglVideo;
40374
40305
  exports.BottomMenu = BottomMenu;
40375
40306
  exports.Btn = Btn;
40376
- exports.Card = _sfc_main$$;
40307
+ exports.Card = _sfc_main$_;
40377
40308
  exports.Carousel = Carousel;
40378
40309
  exports.CheckInput = CheckInput;
40379
40310
  exports.Checkbox = Checkbox;
@@ -40384,7 +40315,7 @@ exports.DataTable = DataTable;
40384
40315
  exports.DateInput = _sfc_main$K;
40385
40316
  exports.DatePick = DatePick;
40386
40317
  exports.DatePicker = _sfc_main$I;
40387
- exports.Dropdown = _sfc_main$W;
40318
+ exports.Dropdown = _sfc_main$V;
40388
40319
  exports.FORM_STATE_KEY = FORM_STATE_KEY;
40389
40320
  exports.FieldArray = _sfc_main$P;
40390
40321
  exports.FieldSetVue = FieldSetVue;
@@ -40397,7 +40328,7 @@ exports.IframeVue = _sfc_main$o;
40397
40328
  exports.Image = Image$1;
40398
40329
  exports.JSONInput = JSONInput;
40399
40330
  exports.Layout = Layout;
40400
- exports.Lineart = _sfc_main$Z;
40331
+ exports.Lineart = _sfc_main$Y;
40401
40332
  exports.ListItem = _sfc_main$f;
40402
40333
  exports.ListView = ListView;
40403
40334
  exports.Loading = Loading;