@bagelink/vue 0.0.753 → 0.0.757

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 (35) hide show
  1. package/dist/components/Zoomer.vue.d.ts +40 -0
  2. package/dist/components/Zoomer.vue.d.ts.map +1 -0
  3. package/dist/components/index.d.ts +1 -0
  4. package/dist/components/index.d.ts.map +1 -1
  5. package/dist/components/layout/Tabs.vue.d.ts +2 -0
  6. package/dist/components/layout/Tabs.vue.d.ts.map +1 -1
  7. package/dist/components/lightbox/Lightbox.vue.d.ts.map +1 -1
  8. package/dist/components/lightbox/lightbox.types.d.ts +2 -0
  9. package/dist/components/lightbox/lightbox.types.d.ts.map +1 -1
  10. package/dist/index.cjs +732 -255
  11. package/dist/index.mjs +732 -255
  12. package/dist/style.css +141 -97
  13. package/dist/utils/index.d.ts +1 -1
  14. package/dist/utils/index.d.ts.map +1 -1
  15. package/dist/utils/tapDetector.d.ts +30 -0
  16. package/dist/utils/tapDetector.d.ts.map +1 -0
  17. package/package.json +1 -1
  18. package/src/components/Btn.vue +1 -1
  19. package/src/components/Zoomer.vue +377 -0
  20. package/src/components/form/inputs/RadioGroup.vue +2 -2
  21. package/src/components/form/inputs/RichText2/Toolbar.vue +1 -1
  22. package/src/components/form/inputs/RichText2/index.vue +3 -3
  23. package/src/components/form/inputs/ToggleInput.vue +1 -1
  24. package/src/components/formkit/Toggle.vue +1 -1
  25. package/src/components/index.ts +1 -0
  26. package/src/components/layout/SidebarMenu.vue +1 -1
  27. package/src/components/layout/Tabs.vue +6 -3
  28. package/src/components/lightbox/Lightbox.vue +30 -6
  29. package/src/components/lightbox/index.ts +2 -2
  30. package/src/components/lightbox/lightbox.types.ts +2 -0
  31. package/src/styles/layout.css +18 -2
  32. package/src/styles/mobilLayout.css +16 -2
  33. package/src/utils/BagelFormUtils.ts +1 -1
  34. package/src/utils/index.ts +12 -4
  35. package/src/utils/tapDetector.ts +119 -0
package/dist/index.cjs CHANGED
@@ -40,7 +40,7 @@ const bagelFormUtils = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defi
40
40
  return txtField;
41
41
  }
42
42
  }, Symbol.toStringTag, { value: "Module" }));
43
- const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
43
+ const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
44
44
  __name: "Accordion",
45
45
  setup(__props) {
46
46
  const state2 = vue.reactive({
@@ -58,7 +58,7 @@ const _hoisted_1$J = { class: "accordion-item" };
58
58
  const _hoisted_2$t = ["aria-expanded", "aria-controls"];
59
59
  const _hoisted_3$k = { class: "accordion-label" };
60
60
  const _hoisted_4$e = ["id", "aria-hidden"];
61
- const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
61
+ const _sfc_main$U = /* @__PURE__ */ vue.defineComponent({
62
62
  __name: "AccordionItem",
63
63
  props: {
64
64
  label: {},
@@ -108,7 +108,7 @@ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
108
108
  vue.createElementVNode("div", {
109
109
  class: vue.normalizeClass(["accordion-icon", { open: vue.unref(isOpen) }])
110
110
  }, [
111
- vue.createVNode(vue.unref(_sfc_main$a), { icon: "expand_more" })
111
+ vue.createVNode(vue.unref(_sfc_main$b), { icon: "expand_more" })
112
112
  ], 2)
113
113
  ], 8, _hoisted_2$t),
114
114
  vue.createVNode(vue.Transition, { name: "expand" }, {
@@ -135,9 +135,9 @@ const _export_sfc = (sfc, props2) => {
135
135
  }
136
136
  return target;
137
137
  };
138
- const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-f87b579d"]]);
138
+ const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-f87b579d"]]);
139
139
  const _hoisted_1$I = { class: "relative" };
140
- const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
140
+ const _sfc_main$T = /* @__PURE__ */ vue.defineComponent({
141
141
  __name: "AddressSearch",
142
142
  emits: ["addressSelected"],
143
143
  setup(__props, { emit: __emit }) {
@@ -160,7 +160,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
160
160
  }
161
161
  return (_ctx, _cache) => {
162
162
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$I, [
163
- vue.createVNode(vue.unref(_sfc_main$I), {
163
+ vue.createVNode(vue.unref(_sfc_main$J), {
164
164
  ref_key: "suggestion",
165
165
  ref: suggestion,
166
166
  noAutoFocus: true,
@@ -178,7 +178,7 @@ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
178
178
  vue.createVNode(vue.unref(ListView), { class: "-mt-2 hm-300px" }, {
179
179
  default: vue.withCtx(() => [
180
180
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(searchResults), (result2, index2) => {
181
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$d), {
181
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$e), {
182
182
  key: index2,
183
183
  icon: "location_on",
184
184
  title: result2.display_name,
@@ -203,7 +203,7 @@ const _hoisted_2$s = {
203
203
  key: 1,
204
204
  class: "bgl_btn-flex"
205
205
  };
206
- const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
206
+ const _sfc_main$S = /* @__PURE__ */ vue.defineComponent({
207
207
  __name: "Btn",
208
208
  props: {
209
209
  disabled: { type: Boolean, default: false },
@@ -227,8 +227,8 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
227
227
  },
228
228
  setup(__props) {
229
229
  vue.useCssVars((_ctx) => ({
230
- "a30674be": computedBackgroundColor.value,
231
- "1811393c": cumputedTextColor.value
230
+ "4cc6fa2a": computedBackgroundColor.value,
231
+ "0ff33606": cumputedTextColor.value
232
232
  }));
233
233
  const props2 = __props;
234
234
  const isComponent = vue.computed(() => {
@@ -298,7 +298,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
298
298
  }, {
299
299
  default: vue.withCtx(() => [
300
300
  _ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$H)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$s, [
301
- _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$a), {
301
+ _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$b), {
302
302
  key: 0,
303
303
  icon: _ctx.icon
304
304
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
@@ -306,7 +306,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
306
306
  !vue.unref(slots).default && _ctx.value ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
307
307
  vue.createTextVNode(vue.toDisplayString(_ctx.value), 1)
308
308
  ], 64)) : vue.createCommentVNode("", true),
309
- props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$a), {
309
+ props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$b), {
310
310
  key: 2,
311
311
  icon: props2["icon.end"]
312
312
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true)
@@ -317,10 +317,10 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
317
317
  };
318
318
  }
319
319
  });
320
- const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-7463197f"]]);
320
+ const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-a73ad8c2"]]);
321
321
  const _hoisted_1$G = ["dismissable"];
322
322
  const _hoisted_2$r = { class: "m-0" };
323
- const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
323
+ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
324
324
  __name: "Alert",
325
325
  props: {
326
326
  message: {},
@@ -341,7 +341,7 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
341
341
  class: vue.normalizeClass(["alert", [_ctx.type]]),
342
342
  dismissable: _ctx.dismissable
343
343
  }, [
344
- _ctx.icon !== "none" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$a), {
344
+ _ctx.icon !== "none" ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$b), {
345
345
  key: 0,
346
346
  class: "alert_icon",
347
347
  icon: _ctx.icon || _ctx.type,
@@ -360,9 +360,9 @@ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
360
360
  };
361
361
  }
362
362
  });
363
- const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-1322d9e1"]]);
363
+ const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-1322d9e1"]]);
364
364
  const _hoisted_1$F = ["src", "alt"];
365
- const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
365
+ const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
366
366
  __name: "Avatar",
367
367
  props: {
368
368
  fallback: {},
@@ -388,8 +388,8 @@ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
388
388
  };
389
389
  }
390
390
  });
391
- const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-46ad8c25"]]);
392
- const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
391
+ const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-46ad8c25"]]);
392
+ const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
393
393
  __name: "Badge",
394
394
  props: {
395
395
  color: {},
@@ -405,13 +405,13 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
405
405
  return vue.openBlock(), vue.createElementBlock("div", {
406
406
  class: vue.normalizeClass(["pill", [_ctx.color]])
407
407
  }, [
408
- _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$a), {
408
+ _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$b), {
409
409
  key: 0,
410
410
  class: "inline",
411
411
  icon: _ctx.icon
412
412
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
413
413
  vue.createTextVNode(" " + vue.toDisplayString(_ctx.text) + " ", 1),
414
- props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$a), {
414
+ props2["icon.end"] ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$b), {
415
415
  key: 1,
416
416
  class: "inline",
417
417
  icon: props2["icon.end"]
@@ -420,10 +420,10 @@ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
420
420
  };
421
421
  }
422
422
  });
423
- const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-40a0b03a"]]);
423
+ const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-40a0b03a"]]);
424
424
  const _hoisted_1$E = ["src"];
425
425
  const _hoisted_2$q = ["src", "autoplay", "muted", "loop", "controls"];
426
- const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
426
+ const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
427
427
  __name: "BglVideo",
428
428
  props: {
429
429
  src: {},
@@ -492,12 +492,12 @@ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
492
492
  };
493
493
  }
494
494
  });
495
- const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-8495afe2"]]);
495
+ const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-8495afe2"]]);
496
496
  const _hoisted_1$D = {
497
497
  key: 0,
498
498
  class: "card_label"
499
499
  };
500
- const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
500
+ const _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
501
501
  __name: "Card",
502
502
  props: {
503
503
  label: {},
@@ -538,7 +538,7 @@ const _hoisted_1$C = {
538
538
  class: "blocker"
539
539
  };
540
540
  const _hoisted_2$p = { class: "Handlers" };
541
- const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
541
+ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
542
542
  __name: "Carousel",
543
543
  props: {
544
544
  autoHeight: {
@@ -707,7 +707,7 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
707
707
  };
708
708
  }
709
709
  });
710
- const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-1f9c6644"]]);
710
+ const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-1f9c6644"]]);
711
711
  function _isPlaceholder(a2) {
712
712
  return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
713
713
  }
@@ -6666,7 +6666,7 @@ function render$e(_ctx, _cache, $props, $setup, $data, $options) {
6666
6666
  script.render = render$e;
6667
6667
  script.__file = "src/components/HoverBar/index.vue";
6668
6668
  const BRAND_COLOR = "var(--bgl-primary)";
6669
- const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
6669
+ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
6670
6670
  __name: "Lineart",
6671
6671
  props: {
6672
6672
  data: {},
@@ -6824,11 +6824,11 @@ const _hoisted_6$8 = {
6824
6824
  };
6825
6825
  const _hoisted_7$5 = { class: "key" };
6826
6826
  const _hoisted_8$3 = { class: "m-0" };
6827
- const _hoisted_9$2 = {
6827
+ const _hoisted_9$3 = {
6828
6828
  key: 0,
6829
6829
  class: "m-0"
6830
6830
  };
6831
- const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
6831
+ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
6832
6832
  __name: "DataPreview",
6833
6833
  props: /* @__PURE__ */ vue.mergeModels({
6834
6834
  showFields: {},
@@ -6865,7 +6865,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
6865
6865
  return (_ctx, _cache) => {
6866
6866
  var _a2;
6867
6867
  return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$A, [
6868
- _ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$2), {
6868
+ _ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$3), {
6869
6869
  key: 0,
6870
6870
  label: _ctx.title
6871
6871
  }, null, 8, ["label"])) : vue.createCommentVNode("", true),
@@ -6877,7 +6877,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
6877
6877
  vue.createElementVNode("div", _hoisted_3$i, [
6878
6878
  vue.createElementVNode("p", _hoisted_4$c, vue.toDisplayString((field == null ? void 0 : field.label) || vue.unref(keyToLabel)(field.id)), 1)
6879
6879
  ]),
6880
- vue.createVNode(vue.unref(_sfc_main$G), {
6880
+ vue.createVNode(vue.unref(_sfc_main$H), {
6881
6881
  modelValue: itemData.value,
6882
6882
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => itemData.value = $event),
6883
6883
  label: "",
@@ -6895,7 +6895,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
6895
6895
  vue.createElementVNode("p", _hoisted_8$3, vue.toDisplayString(label), 1)
6896
6896
  ]),
6897
6897
  vue.createElementVNode("div", null, [
6898
- id ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_9$2, vue.toDisplayString(dataTransform(itemData.value[id])), 1)) : vue.createCommentVNode("", true)
6898
+ id ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_9$3, vue.toDisplayString(dataTransform(itemData.value[id])), 1)) : vue.createCommentVNode("", true)
6899
6899
  ])
6900
6900
  ])) : vue.createCommentVNode("", true)
6901
6901
  ], 64);
@@ -6906,7 +6906,7 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
6906
6906
  };
6907
6907
  }
6908
6908
  });
6909
- const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-2da95d24"]]);
6909
+ const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-2da95d24"]]);
6910
6910
  const sides = ["top", "right", "bottom", "left"];
6911
6911
  const alignments = ["start", "end"];
6912
6912
  const placements$1 = /* @__PURE__ */ sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
@@ -9448,7 +9448,7 @@ const Gt$1 = {
9448
9448
  install: Ct$1,
9449
9449
  options: h
9450
9450
  };
9451
- const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
9451
+ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
9452
9452
  __name: "Dropdown",
9453
9453
  props: {
9454
9454
  value: {},
@@ -9505,7 +9505,7 @@ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
9505
9505
  };
9506
9506
  }
9507
9507
  });
9508
- const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
9508
+ const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
9509
9509
  __name: "Flag",
9510
9510
  props: {
9511
9511
  country: {},
@@ -9535,8 +9535,8 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
9535
9535
  };
9536
9536
  }
9537
9537
  });
9538
- const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-f99f1900"]]);
9539
- const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
9538
+ const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-f99f1900"]]);
9539
+ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
9540
9540
  __name: "BglField",
9541
9541
  props: {
9542
9542
  field: {},
@@ -9551,8 +9551,8 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
9551
9551
  if (props2.field.$el === "select") return SelectInput;
9552
9552
  if (props2.field.$el === "toggle") return ToggleInput;
9553
9553
  if (props2.field.$el === "check") return CheckInput;
9554
- if (props2.field.$el === "richtext") return _sfc_main$t;
9555
- if (props2.field.$el === "date") return _sfc_main$A;
9554
+ if (props2.field.$el === "richtext") return _sfc_main$u;
9555
+ if (props2.field.$el === "date") return _sfc_main$B;
9556
9556
  return props2.field.$el ?? "div";
9557
9557
  });
9558
9558
  const formData = vue.computed({
@@ -9636,7 +9636,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
9636
9636
  };
9637
9637
  }
9638
9638
  });
9639
- const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
9639
+ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
9640
9640
  __name: "BglForm",
9641
9641
  props: {
9642
9642
  label: {},
@@ -9728,13 +9728,13 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
9728
9728
  return (_ctx, _cache) => {
9729
9729
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
9730
9730
  _ctx.id ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
9731
- _ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$2), {
9731
+ _ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$3), {
9732
9732
  key: 0,
9733
9733
  tag: "h4",
9734
9734
  label: _ctx.label
9735
9735
  }, null, 8, ["label"])) : vue.createCommentVNode("", true),
9736
9736
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, (field, i2) => {
9737
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$G), {
9737
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$H), {
9738
9738
  key: field.id || `${i2}p`,
9739
9739
  modelValue: vue.unref(data2),
9740
9740
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(data2) ? data2.value = $event : data2 = $event),
@@ -9752,13 +9752,13 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
9752
9752
  ref: form,
9753
9753
  onSubmit: vue.withModifiers(runSubmit, ["prevent"])
9754
9754
  }, [
9755
- _ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$2), {
9755
+ _ctx.label ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$3), {
9756
9756
  key: 0,
9757
9757
  tag: "h4",
9758
9758
  label: _ctx.label
9759
9759
  }, null, 8, ["label"])) : vue.createCommentVNode("", true),
9760
9760
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, (field, i2) => {
9761
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$G), {
9761
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$H), {
9762
9762
  key: field.id || `${i2}p`,
9763
9763
  modelValue: vue.unref(data2),
9764
9764
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(data2) ? data2.value = $event : data2 = $event),
@@ -9778,7 +9778,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
9778
9778
  }
9779
9779
  });
9780
9780
  const _hoisted_1$z = { key: 0 };
9781
- const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
9781
+ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
9782
9782
  __name: "BglMultiStepForm",
9783
9783
  props: /* @__PURE__ */ vue.mergeModels({
9784
9784
  bagelFormProps: { default: () => ({}) },
@@ -9846,7 +9846,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
9846
9846
  }, {
9847
9847
  default: vue.withCtx(() => [
9848
9848
  !vue.unref(isStepping) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$z, [
9849
- vue.createVNode(vue.unref(_sfc_main$F), vue.mergeProps({
9849
+ vue.createVNode(vue.unref(_sfc_main$G), vue.mergeProps({
9850
9850
  ref_key: "formRef",
9851
9851
  ref: formRef,
9852
9852
  modelValue: formData.value,
@@ -9886,7 +9886,7 @@ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
9886
9886
  }
9887
9887
  });
9888
9888
  const _hoisted_1$y = { class: "primary-checkbox" };
9889
- const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
9889
+ const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
9890
9890
  __name: "Checkbox",
9891
9891
  props: {
9892
9892
  "modelValue": { type: Boolean, ...{ default: false } },
@@ -9908,11 +9908,11 @@ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
9908
9908
  };
9909
9909
  }
9910
9910
  });
9911
- const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-73f1d9ad"]]);
9911
+ const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-73f1d9ad"]]);
9912
9912
  const _hoisted_1$x = ["title"];
9913
9913
  const _hoisted_2$m = ["id", "value", "required"];
9914
9914
  const _hoisted_3$h = ["for"];
9915
- const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
9915
+ const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
9916
9916
  __name: "CheckInput",
9917
9917
  props: /* @__PURE__ */ vue.mergeModels({
9918
9918
  label: {},
@@ -9958,10 +9958,10 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
9958
9958
  };
9959
9959
  }
9960
9960
  });
9961
- const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-1b4d18c6"]]);
9961
+ const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-1b4d18c6"]]);
9962
9962
  const _hoisted_1$w = ["title"];
9963
9963
  const _hoisted_2$l = ["id", "placeholder", "required"];
9964
- const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
9964
+ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
9965
9965
  __name: "ColorPicker",
9966
9966
  props: {
9967
9967
  label: {},
@@ -18448,7 +18448,7 @@ Object.entries(go).forEach(([e, t]) => {
18448
18448
  });
18449
18449
  const _hoisted_1$v = ["title"];
18450
18450
  const _hoisted_2$k = { key: 0 };
18451
- const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
18451
+ const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
18452
18452
  __name: "DateInput",
18453
18453
  props: {
18454
18454
  required: { type: Boolean },
@@ -18518,7 +18518,7 @@ const _hoisted_3$g = {
18518
18518
  };
18519
18519
  const _hoisted_4$b = ["id", "name", "value"];
18520
18520
  const _hoisted_5$a = ["for"];
18521
- const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
18521
+ const _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
18522
18522
  __name: "DatePicker",
18523
18523
  props: {
18524
18524
  label: {},
@@ -18605,14 +18605,14 @@ const _hoisted_8$2 = {
18605
18605
  key: 1,
18606
18606
  class: "bgl-single-preview"
18607
18607
  };
18608
- const _hoisted_9$1 = ["src"];
18609
- const _hoisted_10$1 = {
18608
+ const _hoisted_9$2 = ["src"];
18609
+ const _hoisted_10$2 = {
18610
18610
  key: 0,
18611
18611
  class: "progress"
18612
18612
  };
18613
- const _hoisted_11 = ["src"];
18613
+ const _hoisted_11$1 = ["src"];
18614
18614
  const _hoisted_12 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
18615
- const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
18615
+ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
18616
18616
  __name: "FileUpload",
18617
18617
  props: {
18618
18618
  label: {},
@@ -18792,7 +18792,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
18792
18792
  alt: ""
18793
18793
  }, null, 8, _hoisted_3$f)), [
18794
18794
  [_directive_lightbox]
18795
- ]) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$a), {
18795
+ ]) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$b), {
18796
18796
  key: 1,
18797
18797
  icon: "draft",
18798
18798
  class: "multi-preview"
@@ -18820,7 +18820,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
18820
18820
  src: fileToUrl(fileQ.file),
18821
18821
  alt: ""
18822
18822
  }, null, 8, _hoisted_5$9)) : vue.createCommentVNode("", true)
18823
- ], 64)) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$a), {
18823
+ ], 64)) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$b), {
18824
18824
  key: 1,
18825
18825
  icon: "draft",
18826
18826
  class: "multi-preview"
@@ -18831,7 +18831,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
18831
18831
  style: vue.normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
18832
18832
  }, [
18833
18833
  fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_7$4, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
18834
- vue.createVNode(vue.unref(_sfc_main$a), {
18834
+ vue.createVNode(vue.unref(_sfc_main$b), {
18835
18835
  class: "success",
18836
18836
  icon: "check"
18837
18837
  })
@@ -18850,9 +18850,9 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
18850
18850
  class: "single-preview",
18851
18851
  src: file.url,
18852
18852
  alt: ""
18853
- }, null, 8, _hoisted_9$1)), [
18853
+ }, null, 8, _hoisted_9$2)), [
18854
18854
  [_directive_lightbox]
18855
- ]) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$a), {
18855
+ ]) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$b), {
18856
18856
  key: 1,
18857
18857
  size: 4,
18858
18858
  weight: "2",
@@ -18870,8 +18870,8 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
18870
18870
  class: vue.normalizeClass(["pie", { complete: fileQ.progress === 100 }]),
18871
18871
  style: vue.normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
18872
18872
  }, [
18873
- fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_10$1, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
18874
- vue.createVNode(vue.unref(_sfc_main$a), {
18873
+ fileQ.progress < 100 ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_10$2, vue.toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : vue.createCommentVNode("", true),
18874
+ vue.createVNode(vue.unref(_sfc_main$b), {
18875
18875
  class: "success",
18876
18876
  icon: "check"
18877
18877
  })
@@ -18881,7 +18881,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
18881
18881
  class: "single-preview",
18882
18882
  src: fileToUrl(fileQ.file),
18883
18883
  alt: ""
18884
- }, null, 8, _hoisted_11)) : vue.createCommentVNode("", true)
18884
+ }, null, 8, _hoisted_11$1)) : vue.createCommentVNode("", true)
18885
18885
  ], 2);
18886
18886
  }), 128))
18887
18887
  ])) : vue.createCommentVNode("", true)
@@ -18893,7 +18893,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
18893
18893
  browse
18894
18894
  }, () => [
18895
18895
  vue.createElementVNode("p", _hoisted_12, [
18896
- vue.createVNode(vue.unref(_sfc_main$a), { icon: "upload_2" }),
18896
+ vue.createVNode(vue.unref(_sfc_main$b), { icon: "upload_2" }),
18897
18897
  _cache[0] || (_cache[0] = vue.createTextVNode(" Drop files here or click to upload "))
18898
18898
  ])
18899
18899
  ], true) : vue.createCommentVNode("", true)
@@ -18902,11 +18902,11 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
18902
18902
  };
18903
18903
  }
18904
18904
  });
18905
- const $el = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-be593d04"]]);
18905
+ const $el = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-be593d04"]]);
18906
18906
  const _hoisted_1$s = ["title"];
18907
18907
  const _hoisted_2$h = { key: 0 };
18908
18908
  const _hoisted_3$e = ["value", "placeholder"];
18909
- const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
18909
+ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
18910
18910
  __name: "JSONInput",
18911
18911
  props: {
18912
18912
  description: { default: "" },
@@ -18942,9 +18942,9 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
18942
18942
  };
18943
18943
  }
18944
18944
  });
18945
- const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-1cbaeab2"]]);
18945
+ const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-1cbaeab2"]]);
18946
18946
  const _hoisted_1$r = { class: "relative" };
18947
- const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
18947
+ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
18948
18948
  __name: "PasswordInput",
18949
18949
  props: /* @__PURE__ */ vue.mergeModels({
18950
18950
  txtInputProps: {}
@@ -18992,7 +18992,7 @@ const _hoisted_7$3 = {
18992
18992
  key: 1,
18993
18993
  class: "txt-gray txt-12 m-0"
18994
18994
  };
18995
- const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
18995
+ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
18996
18996
  __name: "RadioGroup",
18997
18997
  props: /* @__PURE__ */ vue.mergeModels({
18998
18998
  groupName: {},
@@ -19010,7 +19010,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
19010
19010
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.options, (opt) => {
19011
19011
  return vue.openBlock(), vue.createElementBlock("label", {
19012
19012
  key: opt.id,
19013
- class: "border round p-1 flex bg-gray-light mb-05 gap-075 active-list-item hover",
19013
+ class: "border rounded p-1 flex bg-gray-light mb-05 gap-075 active-list-item hover",
19014
19014
  for: opt.id
19015
19015
  }, [
19016
19016
  vue.withDirectives(vue.createElementVNode("input", {
@@ -19026,7 +19026,7 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
19026
19026
  vue.createElementVNode("div", _hoisted_3$d, [
19027
19027
  opt.imgSrc ? (vue.openBlock(), vue.createElementBlock("img", {
19028
19028
  key: 0,
19029
- class: "bg-popup shadow-light py-025 rounded m_w40",
19029
+ class: "bg-popup shadow-light py-025 radius-05 m_w40",
19030
19030
  width: "60",
19031
19031
  src: opt.imgSrc,
19032
19032
  alt: opt.imgAlt
@@ -19051,13 +19051,13 @@ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
19051
19051
  };
19052
19052
  }
19053
19053
  });
19054
- const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-3ae8f4d3"]]);
19054
+ const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-3e9e030f"]]);
19055
19055
  const _hoisted_1$p = { class: "bagel-input" };
19056
19056
  const _hoisted_2$f = { class: "pb-025" };
19057
19057
  const _hoisted_3$c = { class: "flex gap-05 flex-wrap" };
19058
19058
  const _hoisted_4$8 = ["id", "name", "value", "checked"];
19059
19059
  const _hoisted_5$7 = ["for"];
19060
- const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
19060
+ const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
19061
19061
  __name: "RadioPillsInput",
19062
19062
  props: {
19063
19063
  options: {},
@@ -19124,7 +19124,7 @@ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
19124
19124
  };
19125
19125
  }
19126
19126
  });
19127
- const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-8cdfe758"]]);
19127
+ const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-8cdfe758"]]);
19128
19128
  function OrderedMap(content) {
19129
19129
  this.content = content;
19130
19130
  }
@@ -38299,9 +38299,9 @@ class DropCursorView {
38299
38299
  this.element.style.width = rect.right - rect.left + "px";
38300
38300
  this.element.style.height = rect.bottom - rect.top + "px";
38301
38301
  }
38302
- scheduleRemoval(timeout2) {
38302
+ scheduleRemoval(timeout) {
38303
38303
  clearTimeout(this.timeout);
38304
- this.timeout = setTimeout(() => this.setCursor(null), timeout2);
38304
+ this.timeout = setTimeout(() => this.setCursor(null), timeout);
38305
38305
  }
38306
38306
  dragover(event) {
38307
38307
  if (!this.editorView.editable)
@@ -41116,10 +41116,10 @@ function debounce$1(fn3, ms) {
41116
41116
  if (ms === 0) {
41117
41117
  return fn3;
41118
41118
  }
41119
- var timeout2;
41119
+ var timeout;
41120
41120
  return function(arg) {
41121
- clearTimeout(timeout2);
41122
- timeout2 = setTimeout(function() {
41121
+ clearTimeout(timeout);
41122
+ timeout = setTimeout(function() {
41123
41123
  fn3(arg);
41124
41124
  }, ms);
41125
41125
  };
@@ -42948,7 +42948,7 @@ const _hoisted_2$e = {
42948
42948
  key: 0,
42949
42949
  class: "RichText-tools"
42950
42950
  };
42951
- const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
42951
+ const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
42952
42952
  __name: "RichText",
42953
42953
  props: {
42954
42954
  modelValue: {}
@@ -43377,7 +43377,7 @@ const _hoisted_4$7 = {
43377
43377
  const _hoisted_5$6 = ["value"];
43378
43378
  const _hoisted_6$5 = ["aria-selected", "onClick", "onKeydown"];
43379
43379
  const _hoisted_7$2 = { class: "block" };
43380
- const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
43380
+ const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
43381
43381
  __name: "SelectInput",
43382
43382
  props: {
43383
43383
  options: {},
@@ -43516,7 +43516,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
43516
43516
  }
43517
43517
  });
43518
43518
  return (_ctx, _cache) => {
43519
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$I), {
43519
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$J), {
43520
43520
  ref_key: "dropdown",
43521
43521
  ref: dropdown,
43522
43522
  placement: "bottom-start",
@@ -43534,7 +43534,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
43534
43534
  onKeydown: openOptions,
43535
43535
  onClick: _cache[1] || (_cache[1] = ($event) => updateOpen(true))
43536
43536
  }, [
43537
- _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$a), {
43537
+ _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$b), {
43538
43538
  key: 0,
43539
43539
  icon: _ctx.icon
43540
43540
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
@@ -43551,7 +43551,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
43551
43551
  })
43552
43552
  })
43553
43553
  ])) : vue.createCommentVNode("", true),
43554
- !_ctx.disabled ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$a), vue.mergeProps({
43554
+ !_ctx.disabled ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$b), vue.mergeProps({
43555
43555
  key: 3,
43556
43556
  thin: ""
43557
43557
  }, { icon: vue.unref(open) ? "unfold_less" : "unfold_more" }), null, 16)) : vue.createCommentVNode("", true)
@@ -43568,7 +43568,7 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
43568
43568
  ])
43569
43569
  ]),
43570
43570
  default: vue.withCtx(() => [
43571
- vue.createVNode(vue.unref(_sfc_main$M), {
43571
+ vue.createVNode(vue.unref(_sfc_main$N), {
43572
43572
  class: "p-05",
43573
43573
  style: vue.normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" })
43574
43574
  }, {
@@ -43597,12 +43597,12 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
43597
43597
  onKeydown: vue.withKeys(($event) => select2(option2), ["enter"])
43598
43598
  }, [
43599
43599
  _ctx.multiselect ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
43600
- isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$a), {
43600
+ isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$b), {
43601
43601
  key: 0,
43602
43602
  size: 1.1,
43603
43603
  icon: "select_check_box"
43604
43604
  })) : vue.createCommentVNode("", true),
43605
- !isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$a), {
43605
+ !isSelected(option2) ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$b), {
43606
43606
  key: 1,
43607
43607
  class: "opacity-3",
43608
43608
  icon: "check_box_outline_blank",
@@ -43623,12 +43623,12 @@ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
43623
43623
  };
43624
43624
  }
43625
43625
  });
43626
- const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-3679d458"]]);
43626
+ const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-3679d458"]]);
43627
43627
  const _hoisted_1$m = {
43628
43628
  class: "toolbar flex gap-025 pb-05 flex-wrap",
43629
43629
  role: "toolbar"
43630
43630
  };
43631
- const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
43631
+ const _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
43632
43632
  __name: "Toolbar",
43633
43633
  props: {
43634
43634
  config: {}
@@ -43670,7 +43670,7 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
43670
43670
  key: action.name,
43671
43671
  thin: "",
43672
43672
  flat: "",
43673
- class: vue.normalizeClass([action.class, "rounded"]),
43673
+ class: vue.normalizeClass([action.class, "radius-05"]),
43674
43674
  "aria-label": action.name,
43675
43675
  icon: action.icon,
43676
43676
  onClick: ($event) => emit2("action", action.name)
@@ -43687,14 +43687,14 @@ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
43687
43687
  };
43688
43688
  }
43689
43689
  });
43690
- const _hoisted_1$l = { class: "rich-text-editor round pt-05 px-1 pb-1" };
43690
+ const _hoisted_1$l = { class: "rich-text-editor rounded pt-05 px-1 pb-1" };
43691
43691
  const _hoisted_2$c = { class: "editor-container flex flex-stretch gap-1 m_column" };
43692
- const _hoisted_3$a = { class: "content-area rounded p-1 shadow-light w-100 grid" };
43692
+ const _hoisted_3$a = { class: "content-area radius-05 p-1 shadow-light w-100 grid" };
43693
43693
  const _hoisted_4$6 = {
43694
43694
  key: 0,
43695
- class: "preview-area w-100 rounded p-1"
43695
+ class: "preview-area w-100 radius-05 p-1"
43696
43696
  };
43697
- const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
43697
+ const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
43698
43698
  __name: "index",
43699
43699
  props: {
43700
43700
  modelValue: {},
@@ -43822,7 +43822,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
43822
43822
  }
43823
43823
  return (_ctx, _cache) => {
43824
43824
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$l, [
43825
- vue.createVNode(_sfc_main$r, {
43825
+ vue.createVNode(_sfc_main$s, {
43826
43826
  config: config.value,
43827
43827
  onAction: handleToolbarAction
43828
43828
  }, null, 8, ["config"]),
@@ -43853,7 +43853,7 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
43853
43853
  };
43854
43854
  }
43855
43855
  });
43856
- const index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-1cddc1b1"]]);
43856
+ const index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-9c94183b"]]);
43857
43857
  /*!
43858
43858
  * Signature Pad v5.0.3 | https://github.com/szimek/signature_pad
43859
43859
  * (c) 2024 Szymon Nowak | Released under the MIT license
@@ -43955,15 +43955,15 @@ class SignatureEventTarget {
43955
43955
  }
43956
43956
  function throttle$2(fn3, wait = 250) {
43957
43957
  let previous = 0;
43958
- let timeout2 = null;
43958
+ let timeout = null;
43959
43959
  let result2;
43960
43960
  let storedContext;
43961
43961
  let storedArgs;
43962
43962
  const later = () => {
43963
43963
  previous = Date.now();
43964
- timeout2 = null;
43964
+ timeout = null;
43965
43965
  result2 = fn3.apply(storedContext, storedArgs);
43966
- if (!timeout2) {
43966
+ if (!timeout) {
43967
43967
  storedContext = null;
43968
43968
  storedArgs = [];
43969
43969
  }
@@ -43974,18 +43974,18 @@ function throttle$2(fn3, wait = 250) {
43974
43974
  storedContext = this;
43975
43975
  storedArgs = args;
43976
43976
  if (remaining <= 0 || remaining > wait) {
43977
- if (timeout2) {
43978
- clearTimeout(timeout2);
43979
- timeout2 = null;
43977
+ if (timeout) {
43978
+ clearTimeout(timeout);
43979
+ timeout = null;
43980
43980
  }
43981
43981
  previous = now;
43982
43982
  result2 = fn3.apply(storedContext, storedArgs);
43983
- if (!timeout2) {
43983
+ if (!timeout) {
43984
43984
  storedContext = null;
43985
43985
  storedArgs = [];
43986
43986
  }
43987
- } else if (!timeout2) {
43988
- timeout2 = window.setTimeout(later, remaining);
43987
+ } else if (!timeout) {
43988
+ timeout = window.setTimeout(later, remaining);
43989
43989
  }
43990
43990
  return result2;
43991
43991
  };
@@ -44448,7 +44448,7 @@ class SignaturePad extends SignatureEventTarget {
44448
44448
  }
44449
44449
  }
44450
44450
  const _hoisted_1$k = ["disabled"];
44451
- const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
44451
+ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
44452
44452
  __name: "SignaturePad",
44453
44453
  props: {
44454
44454
  sigOption: {},
@@ -47070,7 +47070,7 @@ const _hoisted_3$9 = { class: "table-side-scroll" };
47070
47070
  const _hoisted_4$5 = { class: "table-header" };
47071
47071
  const _hoisted_5$5 = { class: "table-reorder" };
47072
47072
  const _hoisted_6$4 = { class: "table-action" };
47073
- const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
47073
+ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
47074
47074
  __name: "TableField",
47075
47075
  props: {
47076
47076
  description: { default: "" },
@@ -47167,7 +47167,7 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
47167
47167
  class: "flex table-row"
47168
47168
  }, [
47169
47169
  vue.createElementVNode("div", _hoisted_5$5, [
47170
- vue.createVNode(vue.unref(_sfc_main$a), { icon: "more_vert" })
47170
+ vue.createVNode(vue.unref(_sfc_main$b), { icon: "more_vert" })
47171
47171
  ]),
47172
47172
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList((_a3 = vue.unref(entityMeta)) == null ? void 0 : _a3.fields, (field) => {
47173
47173
  return vue.openBlock(), vue.createElementBlock("div", {
@@ -47184,7 +47184,7 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
47184
47184
  ], 2);
47185
47185
  }), 128)),
47186
47186
  vue.createElementVNode("div", _hoisted_6$4, [
47187
- vue.createVNode(vue.unref(_sfc_main$a), {
47187
+ vue.createVNode(vue.unref(_sfc_main$b), {
47188
47188
  icon: "delete",
47189
47189
  onClick: ($event) => removeRow2(index2)
47190
47190
  }, null, 8, ["onClick"])
@@ -47214,7 +47214,7 @@ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
47214
47214
  };
47215
47215
  }
47216
47216
  });
47217
- const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-24816da2"]]);
47217
+ const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-24816da2"]]);
47218
47218
  function bind(fn3, thisArg) {
47219
47219
  return function wrap2() {
47220
47220
  return fn3.apply(thisArg, arguments);
@@ -48812,9 +48812,9 @@ const xhrAdapter = isXHRAdapterSupported && function(config) {
48812
48812
  request.send(requestData || null);
48813
48813
  });
48814
48814
  };
48815
- const composeSignals = (signals, timeout2) => {
48815
+ const composeSignals = (signals, timeout) => {
48816
48816
  const { length } = signals = signals ? signals.filter(Boolean) : [];
48817
- if (timeout2 || length) {
48817
+ if (timeout || length) {
48818
48818
  let controller = new AbortController();
48819
48819
  let aborted;
48820
48820
  const onabort = function(reason) {
@@ -48825,10 +48825,10 @@ const composeSignals = (signals, timeout2) => {
48825
48825
  controller.abort(err instanceof AxiosError ? err : new CanceledError(err instanceof Error ? err.message : err));
48826
48826
  }
48827
48827
  };
48828
- let timer = timeout2 && setTimeout(() => {
48828
+ let timer = timeout && setTimeout(() => {
48829
48829
  timer = null;
48830
- onabort(new AxiosError(`timeout ${timeout2} of ms exceeded`, AxiosError.ETIMEDOUT));
48831
- }, timeout2);
48830
+ onabort(new AxiosError(`timeout ${timeout} of ms exceeded`, AxiosError.ETIMEDOUT));
48831
+ }, timeout);
48832
48832
  const unsubscribe = () => {
48833
48833
  if (signals) {
48834
48834
  timer && clearTimeout(timer);
@@ -48989,7 +48989,7 @@ const fetchAdapter = isFetchSupported && (async (config) => {
48989
48989
  data: data2,
48990
48990
  signal,
48991
48991
  cancelToken,
48992
- timeout: timeout2,
48992
+ timeout,
48993
48993
  onDownloadProgress,
48994
48994
  onUploadProgress,
48995
48995
  responseType,
@@ -48998,7 +48998,7 @@ const fetchAdapter = isFetchSupported && (async (config) => {
48998
48998
  fetchOptions
48999
48999
  } = resolveConfig(config);
49000
49000
  responseType = responseType ? (responseType + "").toLowerCase() : "text";
49001
- let composedSignal = composeSignals([signal, cancelToken && cancelToken.toAbortSignal()], timeout2);
49001
+ let composedSignal = composeSignals([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
49002
49002
  let request;
49003
49003
  const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
49004
49004
  composedSignal.unsubscribe();
@@ -51687,7 +51687,7 @@ const _hoisted_3$8 = ["aria-selected", "onClick", "onMousemove"];
51687
51687
  const _hoisted_4$4 = { class: "tel-country" };
51688
51688
  const _hoisted_5$4 = { key: 1 };
51689
51689
  const _hoisted_6$3 = ["id", "required", "placeholder", "disabled", "autocomplete", "pattern", "minlength", "maxlength", "name", "readonly", "tabindex", "aria-describedby"];
51690
- const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
51690
+ const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
51691
51691
  __name: "TelInput",
51692
51692
  props: /* @__PURE__ */ vue.mergeModels({
51693
51693
  label: {},
@@ -51948,7 +51948,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
51948
51948
  vue.withKeys(reset, ["tab"])
51949
51949
  ]
51950
51950
  }, [
51951
- !computedDropDownOptions.value.hide ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$I), {
51951
+ !computedDropDownOptions.value.hide ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$J), {
51952
51952
  key: 0,
51953
51953
  ref_key: "phoneDropdown",
51954
51954
  ref: phoneDropdown,
@@ -51961,7 +51961,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
51961
51961
  class: "flex gap-05",
51962
51962
  onClick: _cache[0] || (_cache[0] = ($event) => vue.isRef(open) ? open.value = true : open = true)
51963
51963
  }, [
51964
- vue.createVNode(vue.unref(_sfc_main$a), {
51964
+ vue.createVNode(vue.unref(_sfc_main$b), {
51965
51965
  icon: vue.unref(open) ? "collapse_all" : "expand_all"
51966
51966
  }, null, 8, ["icon"]),
51967
51967
  computedDropDownOptions.value.showFlags && vue.unref(activeCountryCode) ? (vue.openBlock(), vue.createBlock(vue.unref(Flag), {
@@ -52041,13 +52041,13 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
52041
52041
  };
52042
52042
  }
52043
52043
  });
52044
- const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-41e27ddf"]]);
52044
+ const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-41e27ddf"]]);
52045
52045
  const _hoisted_1$h = ["title"];
52046
52046
  const _hoisted_2$9 = ["for"];
52047
52047
  const _hoisted_3$7 = ["id", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
52048
52048
  const _hoisted_4$3 = ["id", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
52049
52049
  const _hoisted_5$3 = { key: 2 };
52050
- const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
52050
+ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
52051
52051
  __name: "TextInput",
52052
52052
  props: {
52053
52053
  id: {},
@@ -52168,12 +52168,12 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
52168
52168
  ]),
52169
52169
  _ctx.helptext ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_5$3, vue.toDisplayString(_ctx.helptext), 1)) : vue.createCommentVNode("", true)
52170
52170
  ], 8, _hoisted_2$9),
52171
- _ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$a), {
52171
+ _ctx.iconStart ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$b), {
52172
52172
  key: 0,
52173
52173
  class: "iconStart",
52174
52174
  icon: _ctx.iconStart
52175
52175
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
52176
- _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$a), {
52176
+ _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$b), {
52177
52177
  key: 1,
52178
52178
  icon: _ctx.icon
52179
52179
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true)
@@ -52181,11 +52181,11 @@ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
52181
52181
  };
52182
52182
  }
52183
52183
  });
52184
- const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-0694f3d2"]]);
52184
+ const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-0694f3d2"]]);
52185
52185
  const _hoisted_1$g = ["title"];
52186
52186
  const _hoisted_2$8 = ["id", "required"];
52187
52187
  const _hoisted_3$6 = ["for"];
52188
- const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
52188
+ const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
52189
52189
  __name: "ToggleInput",
52190
52190
  props: /* @__PURE__ */ vue.mergeModels({
52191
52191
  label: {},
@@ -52214,7 +52214,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
52214
52214
  vue.createElementVNode("div", {
52215
52215
  class: vue.normalizeClass(["switch", { checked: checked.value }])
52216
52216
  }, _cache[1] || (_cache[1] = [
52217
- vue.createElementVNode("span", { class: "slider round" }, null, -1)
52217
+ vue.createElementVNode("span", { class: "slider rounded" }, null, -1)
52218
52218
  ]), 2),
52219
52219
  vue.withDirectives(vue.createElementVNode("input", {
52220
52220
  id: inputId.value,
@@ -52233,16 +52233,16 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
52233
52233
  };
52234
52234
  }
52235
52235
  });
52236
- const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-0a2b089d"]]);
52236
+ const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-683b2f6d"]]);
52237
52237
  const _hoisted_1$f = { class: "m-0 pb-025 txt14 line-height-1" };
52238
- const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
52238
+ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
52239
52239
  __name: "BottomMenu",
52240
52240
  props: {
52241
52241
  navLinks: {}
52242
52242
  },
52243
52243
  setup(__props) {
52244
52244
  return (_ctx, _cache) => {
52245
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$M), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
52245
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$N), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
52246
52246
  default: vue.withCtx(() => [
52247
52247
  vue.renderSlot(_ctx.$slots, "brand", {}, void 0, true),
52248
52248
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.navLinks, (nav2, i2) => {
@@ -52253,7 +52253,7 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
52253
52253
  onClick: nav2.onClick
52254
52254
  }, {
52255
52255
  default: vue.withCtx(() => [
52256
- vue.createVNode(vue.unref(_sfc_main$a), {
52256
+ vue.createVNode(vue.unref(_sfc_main$b), {
52257
52257
  icon: nav2.icon,
52258
52258
  size: 1.4,
52259
52259
  class: "m-0"
@@ -52269,8 +52269,8 @@ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
52269
52269
  };
52270
52270
  }
52271
52271
  });
52272
- const BottomMenu = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-564c7855"]]);
52273
- const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
52272
+ const BottomMenu = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-564c7855"]]);
52273
+ const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
52274
52274
  __name: "Layout",
52275
52275
  props: {
52276
52276
  gap: { default: 1 },
@@ -52311,9 +52311,9 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
52311
52311
  };
52312
52312
  }
52313
52313
  });
52314
- const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-f1781965"]]);
52314
+ const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-f1781965"]]);
52315
52315
  const _hoisted_1$e = { key: 0 };
52316
- const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
52316
+ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
52317
52317
  __name: "SidebarMenu",
52318
52318
  props: {
52319
52319
  navLinks: {},
@@ -52342,7 +52342,7 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
52342
52342
  icon: "keyboard_arrow_right",
52343
52343
  onClick: toggleMenu
52344
52344
  }),
52345
- vue.createVNode(vue.unref(_sfc_main$M), { class: "py-1 px-05 h-100 flex column gap-05 round relative bg-primary font-light overflow-y" }, {
52345
+ vue.createVNode(vue.unref(_sfc_main$N), { class: "py-1 px-05 h-100 flex column gap-05 rounded relative bg-primary font-light overflow-y" }, {
52346
52346
  default: vue.withCtx(() => [
52347
52347
  !vue.unref(isOpen) || !vue.unref(slots)["brand-open"] ? vue.renderSlot(_ctx.$slots, "brand", { key: 0 }, void 0, true) : vue.createCommentVNode("", true),
52348
52348
  vue.unref(isOpen) ? vue.renderSlot(_ctx.$slots, "brand-open", { key: 1 }, void 0, true) : vue.createCommentVNode("", true),
@@ -52354,7 +52354,7 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
52354
52354
  class: "nav-button px-075 me-auto w-100"
52355
52355
  }, {
52356
52356
  default: vue.withCtx(() => [
52357
- vue.createVNode(vue.unref(_sfc_main$a), {
52357
+ vue.createVNode(vue.unref(_sfc_main$b), {
52358
52358
  icon: nav2.icon,
52359
52359
  size: 1.4
52360
52360
  }, null, 8, ["icon"]),
@@ -52388,11 +52388,11 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
52388
52388
  };
52389
52389
  }
52390
52390
  });
52391
- const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-6007d02b"]]);
52391
+ const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-3ee4f3f7"]]);
52392
52392
  const _hoisted_1$d = { class: "bgl_card tabs-top" };
52393
52393
  const _hoisted_2$7 = { class: "tabs grid auto-flow-columns fit-content" };
52394
52394
  const _hoisted_3$5 = ["onClick"];
52395
- const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
52395
+ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
52396
52396
  __name: "TabbedLayout",
52397
52397
  props: {
52398
52398
  title: {},
@@ -52452,7 +52452,7 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
52452
52452
  };
52453
52453
  }
52454
52454
  });
52455
- const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-75e0b322"]]);
52455
+ const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-75e0b322"]]);
52456
52456
  const state$1 = vue.reactive(/* @__PURE__ */ new Map());
52457
52457
  function useTabs(group) {
52458
52458
  if (!state$1.has(group)) {
@@ -52467,11 +52467,12 @@ function useTabs(group) {
52467
52467
  return { currentTab };
52468
52468
  }
52469
52469
  const _hoisted_1$c = { key: 0 };
52470
- const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
52470
+ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
52471
52471
  __name: "Tabs",
52472
52472
  props: {
52473
52473
  tabs: {},
52474
- modelValue: {}
52474
+ modelValue: {},
52475
+ flat: { type: Boolean }
52475
52476
  },
52476
52477
  emits: ["update:modelValue"],
52477
52478
  setup(__props, { emit: __emit }) {
@@ -52503,10 +52504,11 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
52503
52504
  vue.createVNode(vue.unref(TabsNav), {
52504
52505
  modelValue: slctTab.value,
52505
52506
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => slctTab.value = $event),
52507
+ flat: _ctx.flat,
52506
52508
  tabs: _ctx.tabs,
52507
52509
  group: vue.unref(group),
52508
52510
  class: "mb-05"
52509
- }, null, 8, ["modelValue", "tabs", "group"]),
52511
+ }, null, 8, ["modelValue", "flat", "tabs", "group"]),
52510
52512
  vue.unref(currentTab) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [
52511
52513
  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)
52512
52514
  ])) : vue.createCommentVNode("", true)
@@ -52515,7 +52517,7 @@ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
52515
52517
  }
52516
52518
  });
52517
52519
  const _hoisted_1$b = { key: 0 };
52518
- const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
52520
+ const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
52519
52521
  __name: "TabsBody",
52520
52522
  props: {
52521
52523
  group: {}
@@ -52531,7 +52533,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
52531
52533
  }
52532
52534
  });
52533
52535
  const _hoisted_1$a = ["onClick"];
52534
- const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
52536
+ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
52535
52537
  __name: "TabsNav",
52536
52538
  props: {
52537
52539
  title: {},
@@ -52605,7 +52607,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
52605
52607
  class: vue.normalizeClass([{ active: isActive2(tab) }, "bgl_tab relative z-1"]),
52606
52608
  onClick: ($event) => selectTab(tab)
52607
52609
  }, [
52608
- typeof tab !== "string" && tab.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$a), {
52610
+ typeof tab !== "string" && tab.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$b), {
52609
52611
  key: 0,
52610
52612
  icon: tab.icon
52611
52613
  }, null, 8, ["icon"])) : vue.createCommentVNode("", true),
@@ -52616,10 +52618,10 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
52616
52618
  };
52617
52619
  }
52618
52620
  });
52619
- const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-d4d64201"]]);
52621
+ const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-d4d64201"]]);
52620
52622
  const _hoisted_1$9 = { class: "no-margin ellipsis line-height-14 pb-025" };
52621
52623
  const _hoisted_2$6 = { class: "txt12 no-margin txt-gray ellipsis" };
52622
- const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
52624
+ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
52623
52625
  __name: "ListItem",
52624
52626
  props: {
52625
52627
  src: {},
@@ -52646,7 +52648,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
52646
52648
  src: _ctx.src,
52647
52649
  size: 40
52648
52650
  }, null, 8, ["name", "src"])) : vue.createCommentVNode("", true),
52649
- _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$a), {
52651
+ _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$b), {
52650
52652
  key: 1,
52651
52653
  size: "1.2",
52652
52654
  class: "color-primary",
@@ -52668,7 +52670,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
52668
52670
  };
52669
52671
  }
52670
52672
  });
52671
- const _sfc_main$c = {};
52673
+ const _sfc_main$d = {};
52672
52674
  const _hoisted_1$8 = { class: "list-wrap bgl_card thin grid overflow-hidden h-100 pt-0 pb-05 px-0 m_pb-0" };
52673
52675
  const _hoisted_2$5 = { class: "p-1" };
52674
52676
  const _hoisted_3$4 = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
@@ -52682,11 +52684,11 @@ function _sfc_render$2(_ctx, _cache) {
52682
52684
  ])
52683
52685
  ]);
52684
52686
  }
52685
- const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$2]]);
52687
+ const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$2]]);
52686
52688
  const _hoisted_1$7 = ["id"];
52687
52689
  const defaultMarkerSVG = '<svg id="eCJDQPwuXje1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 36 36" shape-rendering="geometricPrecision" text-rendering="geometricPrecision" project-id="ac827abc0a8c4922b76bac4df7bd7646" export-id="2cc86932ccbc4825a31fd063b3e75478" cached="false"><style><![CDATA[#eCJDQPwuXje3_ts {animation: eCJDQPwuXje3_ts__ts 3000ms linear infinite normal forwards}@keyframes eCJDQPwuXje3_ts__ts { 0% {transform: translate(18px,18px) scale(1,1)} 3.333333% {transform: translate(18px,18px) scale(1,1);animation-timing-function: cubic-bezier(0.42,0,0.58,1)} 100% {transform: translate(18px,18px) scale(1.8,1.8)}} #eCJDQPwuXje3 {animation: eCJDQPwuXje3_c_o 3000ms linear infinite normal forwards}@keyframes eCJDQPwuXje3_c_o { 0% {opacity: 0} 3.333333% {opacity: 1;animation-timing-function: cubic-bezier(0.42,0,0.58,1)} 100% {opacity: 0}}]]></style><ellipse rx="10.049312" ry="10.049312" transform="translate(18 18)" fill="#2e5bff" stroke-width="0"/><g id="eCJDQPwuXje3_ts" transform="translate(18,18) scale(1,1)"><ellipse id="eCJDQPwuXje3" rx="10.049312" ry="10.049312" transform="translate(0,0)" opacity="0" fill="#2e5bff" stroke-width="0"/></g></svg>';
52688
52690
  const leafletScriptUrl = "https://unpkg.com/leaflet@1.9.4/dist/leaflet.js";
52689
- const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
52691
+ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
52690
52692
  __name: "MapEmbed",
52691
52693
  props: {
52692
52694
  center: { default: () => [31.7683, 35.2137] },
@@ -52761,7 +52763,7 @@ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
52761
52763
  };
52762
52764
  }
52763
52765
  });
52764
- const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
52766
+ const _sfc_main$b = /* @__PURE__ */ vue.defineComponent({
52765
52767
  __name: "MaterialIcon",
52766
52768
  props: {
52767
52769
  icon: {},
@@ -52791,7 +52793,7 @@ const _hoisted_3$3 = {
52791
52793
  key: 2,
52792
52794
  class: "modal-footer mt-1"
52793
52795
  };
52794
- const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
52796
+ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
52795
52797
  __name: "Modal",
52796
52798
  props: {
52797
52799
  side: { type: Boolean },
@@ -52847,7 +52849,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
52847
52849
  onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
52848
52850
  onKeydown: vue.withKeys(closeModal, ["esc"])
52849
52851
  }, [
52850
- vue.createVNode(vue.unref(_sfc_main$M), {
52852
+ vue.createVNode(vue.unref(_sfc_main$N), {
52851
52853
  class: "modal",
52852
52854
  style: vue.normalizeStyle({ ...maxWidth.value }),
52853
52855
  onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
@@ -52864,7 +52866,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
52864
52866
  icon: "close",
52865
52867
  onClick: closeModal
52866
52868
  }, null, 8, ["style"]),
52867
- _ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$2), {
52869
+ _ctx.title ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$3), {
52868
52870
  key: 0,
52869
52871
  class: "modal-title",
52870
52872
  tag: "h3",
@@ -52899,7 +52901,7 @@ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
52899
52901
  }
52900
52902
  });
52901
52903
  const _hoisted_1$5 = { class: "pb-05 pretty" };
52902
- const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
52904
+ const _sfc_main$9 = /* @__PURE__ */ vue.defineComponent({
52903
52905
  __name: "ModalConfirm",
52904
52906
  props: {
52905
52907
  title: {},
@@ -52915,7 +52917,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
52915
52917
  emit2("update:visible");
52916
52918
  }
52917
52919
  return (_ctx, _cache) => {
52918
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$9), {
52920
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$a), {
52919
52921
  title: _ctx.title,
52920
52922
  width: "380px",
52921
52923
  dismissable: false,
@@ -52943,7 +52945,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
52943
52945
  };
52944
52946
  }
52945
52947
  });
52946
- const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
52948
+ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
52947
52949
  __name: "ModalForm",
52948
52950
  props: /* @__PURE__ */ vue.mergeModels({
52949
52951
  side: { type: Boolean },
@@ -53004,7 +53006,7 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
53004
53006
  }
53005
53007
  __expose({ setFormValues });
53006
53008
  return (_ctx, _cache) => {
53007
- return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$9), {
53009
+ return vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$a), {
53008
53010
  ref_key: "modal",
53009
53011
  ref: modal,
53010
53012
  side: _ctx.side,
@@ -53015,7 +53017,7 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
53015
53017
  "onUpdate:visible": _cache[1] || (_cache[1] = ($event) => emit2("update:visible", $event))
53016
53018
  }, vue.createSlots({
53017
53019
  default: vue.withCtx(() => [
53018
- vue.createVNode(vue.unref(_sfc_main$F), {
53020
+ vue.createVNode(vue.unref(_sfc_main$G), {
53019
53021
  ref_key: "form",
53020
53022
  ref: form,
53021
53023
  modelValue: formData.value,
@@ -53057,14 +53059,14 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
53057
53059
  };
53058
53060
  }
53059
53061
  });
53060
- const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-083a1b2d"]]);
53062
+ const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-083a1b2d"]]);
53061
53063
  const _hoisted_1$4 = { class: "full-nav" };
53062
53064
  const _hoisted_2$3 = { class: "nav-scroll" };
53063
53065
  const _hoisted_3$2 = { class: "nav-links-wrapper" };
53064
53066
  const _hoisted_4$2 = { class: "tooltip" };
53065
53067
  const _hoisted_5$2 = { class: "bot-buttons-wrapper" };
53066
53068
  const _hoisted_6$2 = { class: "tooltip" };
53067
- const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
53069
+ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
53068
53070
  __name: "NavBar",
53069
53071
  props: {
53070
53072
  footerLinks: { default: () => [] },
@@ -53089,7 +53091,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
53089
53091
  onClick: _cache[0] || (_cache[0] = ($event) => isOpen.value = !isOpen.value),
53090
53092
  onKeypress: _cache[1] || (_cache[1] = vue.withKeys(($event) => isOpen.value = !isOpen.value, ["enter"]))
53091
53093
  }, [
53092
- vue.createVNode(vue.unref(_sfc_main$a), {
53094
+ vue.createVNode(vue.unref(_sfc_main$b), {
53093
53095
  icon: "chevron_right",
53094
53096
  class: "top-arrow"
53095
53097
  })
@@ -53108,7 +53110,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
53108
53110
  }
53109
53111
  }, {
53110
53112
  default: vue.withCtx(() => [
53111
- vue.createVNode(vue.unref(_sfc_main$a), {
53113
+ vue.createVNode(vue.unref(_sfc_main$b), {
53112
53114
  icon: link.icon
53113
53115
  }, null, 8, ["icon"]),
53114
53116
  vue.createElementVNode("div", _hoisted_4$2, vue.toDisplayString(link.label), 1)
@@ -53130,7 +53132,7 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
53130
53132
  }
53131
53133
  }, {
53132
53134
  default: vue.withCtx(() => [
53133
- vue.createVNode(vue.unref(_sfc_main$a), {
53135
+ vue.createVNode(vue.unref(_sfc_main$b), {
53134
53136
  icon: link.icon
53135
53137
  }, null, 8, ["icon"]),
53136
53138
  vue.createElementVNode("div", _hoisted_6$2, vue.toDisplayString(link.label), 1)
@@ -53145,10 +53147,10 @@ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
53145
53147
  };
53146
53148
  }
53147
53149
  });
53148
- const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-2f924811"]]);
53150
+ const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-2f924811"]]);
53149
53151
  const _hoisted_1$3 = { class: "page-top" };
53150
53152
  const _hoisted_2$2 = { class: "top-title m-0" };
53151
- const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
53153
+ const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
53152
53154
  __name: "PageTitle",
53153
53155
  props: {
53154
53156
  value: {
@@ -53167,7 +53169,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
53167
53169
  };
53168
53170
  }
53169
53171
  });
53170
- const _sfc_main$4 = {};
53172
+ const _sfc_main$5 = {};
53171
53173
  function _sfc_render$1(_ctx, _cache) {
53172
53174
  const _component_router_view = vue.resolveComponent("router-view");
53173
53175
  return vue.openBlock(), vue.createBlock(_component_router_view, null, {
@@ -53189,7 +53191,7 @@ function _sfc_render$1(_ctx, _cache) {
53189
53191
  _: 1
53190
53192
  });
53191
53193
  }
53192
- const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$1]]);
53194
+ const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$1]]);
53193
53195
  function tryOnScopeDispose(fn3) {
53194
53196
  if (vue.getCurrentScope()) {
53195
53197
  vue.onScopeDispose(fn3);
@@ -53515,9 +53517,9 @@ const _hoisted_5$1 = ["onClick"];
53515
53517
  const _hoisted_6$1 = { class: "flex" };
53516
53518
  const _hoisted_7$1 = ["onClick"];
53517
53519
  const _hoisted_8$1 = { key: 0 };
53518
- const _hoisted_9 = ["value"];
53519
- const _hoisted_10 = { key: 1 };
53520
- const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
53520
+ const _hoisted_9$1 = ["value"];
53521
+ const _hoisted_10$1 = { key: 1 };
53522
+ const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
53521
53523
  __name: "TableSchema",
53522
53524
  props: /* @__PURE__ */ vue.mergeModels({
53523
53525
  selectedItems: {},
@@ -53680,7 +53682,7 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
53680
53682
  vue.createElementVNode("div", {
53681
53683
  class: vue.normalizeClass(["list-arrows", { sorted: vue.unref(sortField) === field.id }])
53682
53684
  }, [
53683
- vue.createVNode(vue.unref(_sfc_main$a), {
53685
+ vue.createVNode(vue.unref(_sfc_main$b), {
53684
53686
  class: vue.normalizeClass({ desc: vue.unref(sortDirection) === "DESC" }),
53685
53687
  icon: "keyboard_arrow_up"
53686
53688
  }, null, 8, ["class"])
@@ -53705,7 +53707,7 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
53705
53707
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => vue.isRef(computedSelectedItems) ? computedSelectedItems.value = $event : computedSelectedItems = $event),
53706
53708
  type: "checkbox",
53707
53709
  value: row.id
53708
- }, null, 8, _hoisted_9), [
53710
+ }, null, 8, _hoisted_9$1), [
53709
53711
  [vue.vModelCheckbox, vue.unref(computedSelectedItems)]
53710
53712
  ])
53711
53713
  ])
@@ -53719,8 +53721,8 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
53719
53721
  key: 0,
53720
53722
  row,
53721
53723
  field
53722
- }, void 0, true) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_10, [
53723
- vue.createVNode(vue.unref(_sfc_main$G), {
53724
+ }, void 0, true) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_10$1, [
53725
+ vue.createVNode(vue.unref(_sfc_main$H), {
53724
53726
  class: "embedded-field",
53725
53727
  field,
53726
53728
  modelValue: row,
@@ -53738,8 +53740,8 @@ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
53738
53740
  };
53739
53741
  }
53740
53742
  });
53741
- const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-680da9b9"]]);
53742
- const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
53743
+ const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-680da9b9"]]);
53744
+ const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
53743
53745
  __name: "Title",
53744
53746
  props: {
53745
53747
  value: {
@@ -53767,14 +53769,422 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
53767
53769
  };
53768
53770
  }
53769
53771
  });
53770
- const _sfc_main$1 = {};
53772
+ const _sfc_main$2 = {};
53771
53773
  const _hoisted_1$1 = { class: "flex space-between" };
53772
53774
  function _sfc_render(_ctx, _cache) {
53773
53775
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1, [
53774
53776
  vue.renderSlot(_ctx.$slots, "default")
53775
53777
  ]);
53776
53778
  }
53777
- const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render]]);
53779
+ const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render]]);
53780
+ class TapDetector {
53781
+ constructor() {
53782
+ __publicField2(this, "singleTapCallbacks", []);
53783
+ __publicField2(this, "doubleTapCallbacks", []);
53784
+ __publicField2(this, "isTouchMode", false);
53785
+ __publicField2(this, "lastTapTimestamp", 0);
53786
+ __publicField2(this, "tappedCount", 0);
53787
+ __publicField2(this, "touchMovedLength", 0);
53788
+ __publicField2(this, "lastPointerX", 0);
53789
+ __publicField2(this, "lastPointerY", 0);
53790
+ __publicField2(this, "onTouchStart", (event) => {
53791
+ this.isTouchMode = true;
53792
+ if (event.touches.length === 1) {
53793
+ this.onPointerDown(event.touches[0].clientX, event.touches[0].clientY);
53794
+ }
53795
+ });
53796
+ __publicField2(this, "onTouchMove", (event) => {
53797
+ if (event.touches.length === 1) {
53798
+ this.onPointerMove(event.touches[0].clientX, event.touches[0].clientY);
53799
+ }
53800
+ });
53801
+ __publicField2(this, "onTouchEnd", () => {
53802
+ if (this.isTouchMode) this.onPointerUp();
53803
+ });
53804
+ __publicField2(this, "onMouseDown", (event) => {
53805
+ if (!this.isTouchMode) {
53806
+ this.onPointerDown(event.clientX, event.clientY);
53807
+ }
53808
+ });
53809
+ __publicField2(this, "onMouseMove", (event) => {
53810
+ if (!this.isTouchMode && event.button === 0) {
53811
+ this.onPointerMove(event.clientX, event.clientY);
53812
+ }
53813
+ });
53814
+ __publicField2(this, "onMouseUp", () => {
53815
+ if (!this.isTouchMode) this.onPointerUp();
53816
+ });
53817
+ }
53818
+ attach(dom) {
53819
+ if (!(dom instanceof Element)) {
53820
+ console.error("TapDetector.attach: arg must be an Element");
53821
+ return;
53822
+ }
53823
+ dom.addEventListener("touchstart", this.onTouchStart);
53824
+ dom.addEventListener("touchmove", this.onTouchMove);
53825
+ dom.addEventListener("touchend", this.onTouchEnd);
53826
+ dom.addEventListener("mousedown", this.onMouseDown);
53827
+ dom.addEventListener("mouseup", this.onMouseUp);
53828
+ dom.addEventListener("mousemove", this.onMouseMove);
53829
+ }
53830
+ detach(dom) {
53831
+ dom.removeEventListener("touchstart", this.onTouchStart);
53832
+ dom.removeEventListener("touchmove", this.onTouchMove);
53833
+ dom.removeEventListener("touchend", this.onTouchEnd);
53834
+ dom.removeEventListener("mousedown", this.onMouseDown);
53835
+ dom.removeEventListener("mouseup", this.onMouseUp);
53836
+ dom.removeEventListener("mousemove", this.onMouseMove);
53837
+ }
53838
+ onSingleTap(callback) {
53839
+ if (typeof callback === "function" && !this.singleTapCallbacks.includes(callback)) {
53840
+ this.singleTapCallbacks.push(callback);
53841
+ }
53842
+ }
53843
+ onDoubleTap(callback) {
53844
+ if (typeof callback === "function" && !this.doubleTapCallbacks.includes(callback)) {
53845
+ this.doubleTapCallbacks.push(callback);
53846
+ }
53847
+ }
53848
+ triggerCallbacks(callbackType, event) {
53849
+ const callbacks = callbackType === "single" ? this.singleTapCallbacks : this.doubleTapCallbacks;
53850
+ callbacks.forEach((callback) => {
53851
+ callback(event);
53852
+ });
53853
+ }
53854
+ onPointerDown(x2, y2) {
53855
+ this.lastPointerX = x2;
53856
+ this.lastPointerY = y2;
53857
+ this.touchMovedLength = 0;
53858
+ }
53859
+ onPointerUp() {
53860
+ const currTimeStamp = Date.now();
53861
+ if (this.touchMovedLength < 10) {
53862
+ if (currTimeStamp - this.lastTapTimestamp < 300) {
53863
+ this.tappedCount++;
53864
+ } else {
53865
+ this.tappedCount = 1;
53866
+ }
53867
+ this.lastTapTimestamp = currTimeStamp;
53868
+ this.triggerCallbacks("single", { clientX: this.lastPointerX, clientY: this.lastPointerY });
53869
+ if (this.tappedCount === 2) {
53870
+ this.triggerCallbacks("double", { clientX: this.lastPointerX, clientY: this.lastPointerY });
53871
+ this.tappedCount = 0;
53872
+ }
53873
+ }
53874
+ this.touchMovedLength = 0;
53875
+ }
53876
+ onPointerMove(x2, y2) {
53877
+ const deltaX = this.lastPointerX - x2;
53878
+ const deltaY = this.lastPointerY - y2;
53879
+ this.touchMovedLength += Math.sqrt(deltaX * deltaX + deltaY * deltaY);
53880
+ this.lastPointerX = x2;
53881
+ this.lastPointerY = y2;
53882
+ }
53883
+ }
53884
+ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
53885
+ __name: "Zoomer",
53886
+ props: {
53887
+ minScale: { default: 1 },
53888
+ maxScale: { default: 5 },
53889
+ zoom: {},
53890
+ resetTrigger: {},
53891
+ aspectRatio: { default: 1 },
53892
+ backgroundColor: { default: "transparent" },
53893
+ pivot: { default: "cursor" },
53894
+ zoomingElastic: { type: Boolean, default: true },
53895
+ limitTranslation: { type: Boolean, default: true },
53896
+ doubleClickToZoom: { type: Boolean, default: true },
53897
+ mouseWheelToZoom: { type: Boolean, default: true },
53898
+ disabled: { type: Boolean, default: false }
53899
+ },
53900
+ emits: ["update:zoom"],
53901
+ setup(__props, { expose: __expose, emit: __emit }) {
53902
+ const emit2 = __emit;
53903
+ const zoomElement = vue.ref();
53904
+ let containerWidth = vue.ref(1);
53905
+ let containerHeight = vue.ref(1);
53906
+ let containerLeft = vue.ref(0);
53907
+ let containerTop = vue.ref(0);
53908
+ let translateX2 = vue.ref(0);
53909
+ let animTranslateX = vue.ref(0);
53910
+ let translateY2 = vue.ref(0);
53911
+ let animTranslateY = vue.ref(0);
53912
+ let _zoom = vue.ref(__props.zoom || 1);
53913
+ let scale = vue.computed({
53914
+ get: () => __props.zoom === void 0 ? _zoom.value : __props.zoom,
53915
+ set: (val) => {
53916
+ _zoom.value = val;
53917
+ emit2("update:zoom", _zoom.value);
53918
+ }
53919
+ });
53920
+ let animScale = vue.ref(1);
53921
+ let lastFullWheelTime = vue.ref(0);
53922
+ let lastWheelTime = vue.ref(0);
53923
+ let lastWheelDirection = vue.ref("y");
53924
+ let isPointerDown = vue.ref(false);
53925
+ let pointerPosX = vue.ref(-1);
53926
+ let pointerPosY = vue.ref(-1);
53927
+ let twoFingerInitDist = vue.ref(0);
53928
+ let panLocked = vue.ref(true);
53929
+ let raf = vue.ref(null);
53930
+ let tapDetector = vue.ref(null);
53931
+ const wrapperStyle = vue.computed(() => {
53932
+ const translateXValue = containerWidth.value * animTranslateX.value;
53933
+ const translateYValue = containerHeight.value * animTranslateY.value;
53934
+ return {
53935
+ transform: [
53936
+ `translate(${translateXValue}px, ${translateYValue}px)`,
53937
+ `scale(${animScale.value})`
53938
+ ].join(" ")
53939
+ };
53940
+ });
53941
+ vue.watch(() => scale.value, (newScale) => {
53942
+ const { x: x2, y: y2 } = calcTranslateLimit();
53943
+ translateX2.value = Math.max(-x2, Math.min(x2, translateX2.value));
53944
+ translateY2.value = Math.max(-y2, Math.min(y2, translateY2.value));
53945
+ if (newScale !== 1) {
53946
+ panLocked.value = false;
53947
+ }
53948
+ });
53949
+ function reset() {
53950
+ scale.value = 1;
53951
+ panLocked.value = true;
53952
+ translateX2.value = 0;
53953
+ translateY2.value = 0;
53954
+ }
53955
+ __expose({ reset });
53956
+ function tryToScale(scaleDelta) {
53957
+ if (__props.disabled) return;
53958
+ let newScale = scale.value * scaleDelta;
53959
+ if (__props.zoomingElastic) {
53960
+ if (newScale < __props.minScale || newScale > __props.maxScale) {
53961
+ let log = Math.log2(scaleDelta);
53962
+ log *= 0.2;
53963
+ scaleDelta = 2 ** log;
53964
+ newScale = scale.value * scaleDelta;
53965
+ }
53966
+ } else {
53967
+ if (newScale < __props.minScale) newScale = __props.minScale;
53968
+ else if (newScale > __props.maxScale) newScale = __props.maxScale;
53969
+ }
53970
+ scaleDelta = newScale / scale.value;
53971
+ scale.value = newScale;
53972
+ if (__props.pivot !== "image-center") {
53973
+ const normMousePosX = (pointerPosX.value - containerLeft.value) / containerWidth.value;
53974
+ const normMousePosY = (pointerPosY.value - containerTop.value) / containerHeight.value;
53975
+ translateX2.value = (0.5 + translateX2.value - normMousePosX) * scaleDelta + normMousePosX - 0.5;
53976
+ translateY2.value = (0.5 + translateY2.value - normMousePosY) * scaleDelta + normMousePosY - 0.5;
53977
+ }
53978
+ }
53979
+ function setPointerPosCenter() {
53980
+ pointerPosX.value = containerLeft.value + containerWidth.value / 2;
53981
+ pointerPosY.value = containerTop.value + containerHeight.value / 2;
53982
+ }
53983
+ function onPointerMove(newMousePosX, newMousePosY) {
53984
+ if (isPointerDown.value) {
53985
+ const pixelDeltaX = newMousePosX - pointerPosX.value;
53986
+ const pixelDeltaY = newMousePosY - pointerPosY.value;
53987
+ if (!panLocked.value) {
53988
+ const translateLimit = calcTranslateLimit();
53989
+ const maxTranslateX = translateLimit.x;
53990
+ const maxTranslateY = translateLimit.y;
53991
+ const newTranslateX = translateX2.value + pixelDeltaX / containerWidth.value;
53992
+ const newTranslateY = translateY2.value + pixelDeltaY / containerHeight.value;
53993
+ translateX2.value = Math.max(-maxTranslateX, Math.min(maxTranslateX, newTranslateX));
53994
+ translateY2.value = Math.max(-maxTranslateY, Math.min(maxTranslateY, newTranslateY));
53995
+ }
53996
+ }
53997
+ pointerPosX.value = newMousePosX;
53998
+ pointerPosY.value = newMousePosY;
53999
+ }
54000
+ function limit() {
54001
+ if (scale.value < __props.minScale) {
54002
+ scale.value = __props.minScale;
54003
+ } else if (scale.value > __props.maxScale) {
54004
+ tryToScale(__props.maxScale / scale.value);
54005
+ }
54006
+ if (__props.limitTranslation) {
54007
+ const translateLimit = calcTranslateLimit();
54008
+ if (Math.abs(translateX2.value) > translateLimit.x) {
54009
+ translateX2.value *= translateLimit.x / Math.abs(translateX2.value);
54010
+ }
54011
+ if (Math.abs(translateY2.value) > translateLimit.y) {
54012
+ translateY2.value *= translateLimit.y / Math.abs(translateY2.value);
54013
+ }
54014
+ }
54015
+ }
54016
+ function calcTranslateLimit() {
54017
+ if (getMarginDirection() === "y") {
54018
+ const imageToContainerRatio = containerWidth.value / __props.aspectRatio / containerHeight.value;
54019
+ let translateLimitY = (scale.value * imageToContainerRatio - 1) / 2;
54020
+ if (translateLimitY < 0) translateLimitY = 0;
54021
+ return { x: (scale.value - 1) / 2, y: translateLimitY };
54022
+ } else {
54023
+ const imageToContainerRatio = containerHeight.value * __props.aspectRatio / containerWidth.value;
54024
+ let translateLimitX = (scale.value * imageToContainerRatio - 1) / 2;
54025
+ if (translateLimitX < 0) translateLimitX = 0;
54026
+ return { x: translateLimitX, y: (scale.value - 1) / 2 };
54027
+ }
54028
+ }
54029
+ function getMarginDirection() {
54030
+ const containerRatio = containerWidth.value / containerHeight.value;
54031
+ return containerRatio > __props.aspectRatio ? "x" : "y";
54032
+ }
54033
+ function onMouseWheel(ev) {
54034
+ if (!__props.mouseWheelToZoom) return;
54035
+ ev.preventDefault();
54036
+ const currTime = Date.now();
54037
+ if (Math.abs(ev.deltaY) === 120) {
54038
+ if (currTime - lastFullWheelTime.value > 50) {
54039
+ onMouseWheelDo(ev.deltaY);
54040
+ lastFullWheelTime.value = currTime;
54041
+ }
54042
+ } else {
54043
+ if (currTime - lastWheelTime.value > 50) {
54044
+ lastWheelDirection.value = ev.deltaX > ev.deltaY ? "x" : "y";
54045
+ if (lastWheelDirection.value === "y") {
54046
+ onMouseWheelDo(ev.deltaY);
54047
+ }
54048
+ }
54049
+ lastWheelTime.value = currTime;
54050
+ }
54051
+ }
54052
+ function onMouseWheelDo(wheelDelta) {
54053
+ const scaleDelta = 1.25 ** (wheelDelta / 120);
54054
+ tryToScale(scaleDelta);
54055
+ }
54056
+ function onMouseDown(ev) {
54057
+ refreshContainerPos();
54058
+ isPointerDown.value = true;
54059
+ pointerPosX.value = ev.clientX;
54060
+ pointerPosY.value = ev.clientY;
54061
+ document.addEventListener("mousemove", onMouseMove);
54062
+ document.addEventListener("mouseup", onMouseUp);
54063
+ }
54064
+ function onMouseUp() {
54065
+ isPointerDown.value = false;
54066
+ document.removeEventListener("mouseup", onMouseUp);
54067
+ document.removeEventListener("mousemove", onMouseMove);
54068
+ }
54069
+ function onMouseMove(ev) {
54070
+ onPointerMove(ev.clientX, ev.clientY);
54071
+ }
54072
+ function onTouchStart(ev) {
54073
+ if (ev.touches.length === 1) {
54074
+ refreshContainerPos();
54075
+ pointerPosX.value = ev.touches[0].clientX;
54076
+ pointerPosY.value = ev.touches[0].clientY;
54077
+ isPointerDown.value = true;
54078
+ } else if (ev.touches.length === 2) {
54079
+ isPointerDown.value = true;
54080
+ pointerPosX.value = (ev.touches[0].clientX + ev.touches[1].clientX) / 2;
54081
+ pointerPosY.value = (ev.touches[0].clientY + ev.touches[1].clientY) / 2;
54082
+ const distX = ev.touches[0].clientX - ev.touches[1].clientX;
54083
+ const distY = ev.touches[0].clientY - ev.touches[1].clientY;
54084
+ twoFingerInitDist.value = Math.sqrt(distX * distX + distY * distY);
54085
+ }
54086
+ document.addEventListener("touchend", onTouchEnd);
54087
+ }
54088
+ function onTouchEnd(ev) {
54089
+ if (ev.touches.length === 0) {
54090
+ isPointerDown.value = false;
54091
+ if (Math.abs(scale.value - 1) < 0.1) scale.value = 1;
54092
+ } else if (ev.touches.length === 1) {
54093
+ pointerPosX.value = ev.touches[0].clientX;
54094
+ pointerPosY.value = ev.touches[0].clientY;
54095
+ }
54096
+ document.removeEventListener("touchend", onTouchEnd);
54097
+ }
54098
+ function onTouchMove(ev) {
54099
+ if (ev.touches.length === 1) {
54100
+ onPointerMove(ev.touches[0].clientX, ev.touches[0].clientY);
54101
+ } else if (ev.touches.length === 2) {
54102
+ const distX = ev.touches[0].clientX - ev.touches[1].clientX;
54103
+ const distY = ev.touches[0].clientY - ev.touches[1].clientY;
54104
+ const newTwoFingerDist = Math.sqrt(distX * distX + distY * distY);
54105
+ tryToScale(newTwoFingerDist / twoFingerInitDist.value);
54106
+ twoFingerInitDist.value = newTwoFingerDist;
54107
+ }
54108
+ }
54109
+ function refreshContainerPos() {
54110
+ if (zoomElement.value) {
54111
+ const rect = zoomElement.value.getBoundingClientRect();
54112
+ containerLeft.value = rect.left;
54113
+ containerTop.value = rect.top;
54114
+ }
54115
+ }
54116
+ function loop() {
54117
+ animScale.value = gainOn(animScale.value, scale.value);
54118
+ animTranslateX.value = gainOn(animTranslateX.value, translateX2.value);
54119
+ animTranslateY.value = gainOn(animTranslateY.value, translateY2.value);
54120
+ raf.value = window.requestAnimationFrame(loop);
54121
+ }
54122
+ function gainOn(from2, to2) {
54123
+ const delta = (to2 - from2) * 0.3;
54124
+ return Math.abs(delta) > 1e-5 ? from2 + delta : to2;
54125
+ }
54126
+ vue.onMounted(() => {
54127
+ tapDetector.value = new TapDetector();
54128
+ if (zoomElement.value) tapDetector.value.attach(zoomElement.value);
54129
+ if (__props.doubleClickToZoom) {
54130
+ tapDetector.value.onDoubleTap(onDoubleTap);
54131
+ }
54132
+ window.addEventListener("resize", onWindowResize);
54133
+ onWindowResize();
54134
+ refreshContainerPos();
54135
+ loop();
54136
+ });
54137
+ vue.onUnmounted(() => {
54138
+ var _a2;
54139
+ if (zoomElement.value) (_a2 = tapDetector.value) == null ? void 0 : _a2.detach(zoomElement.value);
54140
+ window.removeEventListener("resize", onWindowResize);
54141
+ if (raf.value) window.cancelAnimationFrame(raf.value);
54142
+ });
54143
+ function onDoubleTap(ev) {
54144
+ if (scale.value === 1) {
54145
+ if (ev.clientX > 0) {
54146
+ pointerPosX.value = ev.clientX;
54147
+ pointerPosY.value = ev.clientY;
54148
+ }
54149
+ tryToScale(Math.min(3, __props.maxScale));
54150
+ } else {
54151
+ reset();
54152
+ }
54153
+ }
54154
+ function onWindowResize() {
54155
+ if (zoomElement.value) {
54156
+ const styles = window.getComputedStyle(zoomElement.value);
54157
+ containerWidth.value = Number.parseFloat(styles.width);
54158
+ containerHeight.value = Number.parseFloat(styles.height);
54159
+ setPointerPosCenter();
54160
+ limit();
54161
+ }
54162
+ }
54163
+ return (_ctx, _cache) => {
54164
+ return vue.openBlock(), vue.createElementBlock("div", {
54165
+ ref_key: "zoomElement",
54166
+ ref: zoomElement,
54167
+ class: "vue-zoomer",
54168
+ style: vue.normalizeStyle({ backgroundColor: _ctx.backgroundColor }),
54169
+ onMousewheel: onMouseWheel,
54170
+ "on:DOMMouseScroll": onMouseWheel,
54171
+ onMousedown: onMouseDown,
54172
+ onMouseout: setPointerPosCenter,
54173
+ onFocusout: setPointerPosCenter,
54174
+ onTouchstart: onTouchStart,
54175
+ onTouchmove: onTouchMove
54176
+ }, [
54177
+ vue.createElementVNode("div", {
54178
+ class: "zoomer",
54179
+ style: vue.normalizeStyle(wrapperStyle.value)
54180
+ }, [
54181
+ vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
54182
+ ], 4)
54183
+ ], 36);
54184
+ };
54185
+ }
54186
+ });
54187
+ const Zoomer = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-5e5bef88"]]);
53778
54188
  function useBglSchema({ schema, showFields, data: data2 } = {}) {
53779
54189
  let _schema = schema;
53780
54190
  if (typeof _schema === "function") {
@@ -54052,19 +54462,25 @@ const _hoisted_1 = {
54052
54462
  key: 0,
54053
54463
  class: "navigation flex space-between px-3 w-100 absolute"
54054
54464
  };
54055
- const _hoisted_2 = { class: "bgl-lightbox-item" };
54056
- const _hoisted_3 = ["src"];
54057
- const _hoisted_4 = ["src", "title"];
54058
- const _hoisted_5 = {
54465
+ const _hoisted_2 = { class: "flex start fixed top-1 w-100 space-between" };
54466
+ const _hoisted_3 = {
54467
+ key: 0,
54468
+ class: "center"
54469
+ };
54470
+ const _hoisted_4 = { key: 2 };
54471
+ const _hoisted_5 = { class: "bgl-lightbox-item" };
54472
+ const _hoisted_6 = ["src"];
54473
+ const _hoisted_7 = ["src", "title"];
54474
+ const _hoisted_8 = {
54059
54475
  key: 3,
54060
54476
  class: "file-info txt-white"
54061
54477
  };
54062
- const _hoisted_6 = ["href"];
54063
- const _hoisted_7 = {
54478
+ const _hoisted_9 = ["href"];
54479
+ const _hoisted_10 = {
54064
54480
  key: 0,
54065
54481
  class: "flex justify-content-center mt-2 overflow p-1 fixed bottom start end gap-1 m_justify-content-start"
54066
54482
  };
54067
- const _hoisted_8 = ["src", "onClick"];
54483
+ const _hoisted_11 = ["src", "onClick"];
54068
54484
  const _sfc_main = /* @__PURE__ */ vue.defineComponent({
54069
54485
  __name: "Lightbox",
54070
54486
  setup(__props, { expose: __expose }) {
@@ -54118,11 +54534,15 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
54118
54534
  next();
54119
54535
  }
54120
54536
  }
54537
+ const zoom = vue.ref(1);
54538
+ function clickOutside2() {
54539
+ if (zoom.value === 1) close2();
54540
+ }
54121
54541
  __expose({ open, close: close2 });
54122
54542
  return (_ctx, _cache) => {
54123
54543
  return vue.openBlock(), vue.createBlock(vue.Transition, { name: "fade" }, {
54124
54544
  default: vue.withCtx(() => {
54125
- var _a2, _b, _c, _d, _e2, _f, _g, _h, _i, _j;
54545
+ var _a2, _b, _c, _d, _e2, _f, _g, _h, _i, _j, _k, _l2, _m, _n2;
54126
54546
  return [
54127
54547
  vue.unref(isOpen) ? (vue.openBlock(), vue.createElementBlock("div", {
54128
54548
  key: 0,
@@ -54132,7 +54552,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
54132
54552
  vue.withKeys(prev, ["left"]),
54133
54553
  vue.withKeys(next, ["right"])
54134
54554
  ],
54135
- onClick: close2
54555
+ onClick: clickOutside2
54136
54556
  }, [
54137
54557
  vue.unref(group) && vue.unref(group).length > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
54138
54558
  vue.createVNode(vue.unref(Btn), {
@@ -54148,56 +54568,106 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
54148
54568
  ])) : vue.createCommentVNode("", true),
54149
54569
  vue.createElementVNode("div", {
54150
54570
  class: "bgl-lightbox relative txt-center",
54151
- onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
54571
+ onClick: _cache[4] || (_cache[4] = vue.withModifiers(() => {
54152
54572
  }, ["stop"]))
54153
54573
  }, [
54154
- vue.createVNode(vue.unref(Btn), {
54155
- flat: "",
54156
- class: "fixed top-1 start-1 color-white",
54157
- icon: "close",
54158
- onClick: close2
54159
- }),
54160
54574
  vue.createElementVNode("div", _hoisted_2, [
54161
- ((_a2 = vue.unref(currentItem)) == null ? void 0 : _a2.type) === "image" ? (vue.openBlock(), vue.createElementBlock("img", {
54575
+ vue.createVNode(vue.unref(Btn), {
54576
+ flat: "",
54577
+ class: "color-white",
54578
+ icon: "close",
54579
+ onClick: close2
54580
+ }),
54581
+ ((_a2 = vue.unref(currentItem)) == null ? void 0 : _a2.enableZoom) && ((_b = vue.unref(currentItem)) == null ? void 0 : _b.type) === "image" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, [
54582
+ vue.createVNode(vue.unref(Btn), {
54583
+ flat: "",
54584
+ class: "color-white",
54585
+ icon: "remove",
54586
+ disabled: zoom.value === 1,
54587
+ onClick: _cache[0] || (_cache[0] = ($event) => zoom.value--)
54588
+ }, null, 8, ["disabled"]),
54589
+ vue.createVNode(vue.unref(Btn), {
54590
+ flat: "",
54591
+ class: "color-white",
54592
+ icon: "zoom_in",
54593
+ disabled: zoom.value === 1,
54594
+ onClick: _cache[1] || (_cache[1] = ($event) => zoom.value = 1)
54595
+ }, null, 8, ["disabled"]),
54596
+ vue.createVNode(vue.unref(Btn), {
54597
+ flat: "",
54598
+ class: "color-white",
54599
+ icon: "add",
54600
+ disabled: zoom.value === 3,
54601
+ onClick: _cache[2] || (_cache[2] = ($event) => zoom.value++)
54602
+ }, null, 8, ["disabled"])
54603
+ ])) : vue.createCommentVNode("", true),
54604
+ ((_c = vue.unref(currentItem)) == null ? void 0 : _c.openFile) ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
54605
+ key: 1,
54606
+ class: "color-white",
54607
+ round: "",
54608
+ thin: "",
54609
+ flat: "",
54610
+ "icon.end": "arrow_outward",
54611
+ value: "Open File",
54612
+ href: (_d = vue.unref(currentItem)) == null ? void 0 : _d.src,
54613
+ target: "_blank"
54614
+ }, null, 8, ["href"])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_4))
54615
+ ]),
54616
+ vue.createElementVNode("div", _hoisted_5, [
54617
+ ((_e2 = vue.unref(currentItem)) == null ? void 0 : _e2.type) === "image" ? (vue.openBlock(), vue.createBlock(vue.unref(Zoomer), {
54162
54618
  key: 0,
54163
- src: (_b = vue.unref(currentItem)) == null ? void 0 : _b.src,
54164
- alt: "Preview",
54165
- class: "vw90 lightbox-image"
54166
- }, null, 8, _hoisted_3)) : ((_c = vue.unref(currentItem)) == null ? void 0 : _c.type) === "video" ? (vue.openBlock(), vue.createBlock(vue.unref(BglVideo), {
54619
+ zoom: zoom.value,
54620
+ "onUpdate:zoom": _cache[3] || (_cache[3] = ($event) => zoom.value = $event),
54621
+ disabled: !((_f = vue.unref(currentItem)) == null ? void 0 : _f.enableZoom),
54622
+ "mouse-wheel-to-zoom": false
54623
+ }, {
54624
+ default: vue.withCtx(() => {
54625
+ var _a3;
54626
+ return [
54627
+ vue.createElementVNode("img", {
54628
+ draggable: false,
54629
+ src: (_a3 = vue.unref(currentItem)) == null ? void 0 : _a3.src,
54630
+ alt: "Preview",
54631
+ class: "vw90 lightbox-image"
54632
+ }, null, 8, _hoisted_6)
54633
+ ];
54634
+ }),
54635
+ _: 1
54636
+ }, 8, ["zoom", "disabled"])) : ((_g = vue.unref(currentItem)) == null ? void 0 : _g.type) === "video" ? (vue.openBlock(), vue.createBlock(vue.unref(BglVideo), {
54167
54637
  key: 1,
54168
- src: (_d = vue.unref(currentItem)) == null ? void 0 : _d.src,
54638
+ src: (_h = vue.unref(currentItem)) == null ? void 0 : _h.src,
54169
54639
  autoplay: "",
54170
54640
  controls: "",
54171
54641
  class: "vw90"
54172
- }, null, 8, ["src"])) : ((_e2 = vue.unref(currentItem)) == null ? void 0 : _e2.type) === "pdf" ? (vue.openBlock(), vue.createElementBlock("embed", {
54642
+ }, null, 8, ["src"])) : ((_i = vue.unref(currentItem)) == null ? void 0 : _i.type) === "pdf" ? (vue.openBlock(), vue.createElementBlock("embed", {
54173
54643
  key: 2,
54174
- src: normalizeURL((_f = vue.unref(currentItem)) == null ? void 0 : _f.src),
54644
+ src: normalizeURL((_j = vue.unref(currentItem)) == null ? void 0 : _j.src),
54175
54645
  type: "application/pdf",
54176
54646
  width: "100%",
54177
54647
  height: "1080",
54178
- title: (_g = vue.unref(currentItem)) == null ? void 0 : _g.name,
54648
+ title: (_k = vue.unref(currentItem)) == null ? void 0 : _k.name,
54179
54649
  class: "vw90"
54180
- }, null, 8, _hoisted_4)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [
54181
- vue.createElementVNode("p", null, "File: " + vue.toDisplayString((_h = vue.unref(currentItem)) == null ? void 0 : _h.name), 1),
54182
- vue.createElementVNode("p", null, "Type: " + vue.toDisplayString((_i = vue.unref(currentItem)) == null ? void 0 : _i.type), 1),
54650
+ }, null, 8, _hoisted_7)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_8, [
54651
+ vue.createElementVNode("p", null, "File: " + vue.toDisplayString((_l2 = vue.unref(currentItem)) == null ? void 0 : _l2.name), 1),
54652
+ vue.createElementVNode("p", null, "Type: " + vue.toDisplayString((_m = vue.unref(currentItem)) == null ? void 0 : _m.type), 1),
54183
54653
  vue.createElementVNode("a", {
54184
- href: (_j = vue.unref(currentItem)) == null ? void 0 : _j.src,
54654
+ href: (_n2 = vue.unref(currentItem)) == null ? void 0 : _n2.src,
54185
54655
  target: "_blank"
54186
- }, "Open file", 8, _hoisted_6)
54656
+ }, "Open file", 8, _hoisted_9)
54187
54657
  ]))
54188
54658
  ]),
54189
- vue.unref(group) && vue.unref(group).length > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, [
54659
+ vue.unref(group) && vue.unref(group).length > 1 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10, [
54190
54660
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(group), (item, index2) => {
54191
54661
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: index2 }, [
54192
54662
  item.type === "image" ? (vue.openBlock(), vue.createElementBlock("img", {
54193
54663
  key: 0,
54194
- class: vue.normalizeClass(["thumbnail object-fit-cover hover opacity-5 round flex bg-popup justify-content-center align-items-center flex-shrink-0", { active: vue.unref(currentIndex) === index2 }]),
54664
+ class: vue.normalizeClass(["thumbnail object-fit-cover hover opacity-5 rounded flex bg-popup justify-content-center align-items-center flex-shrink-0", { active: vue.unref(currentIndex) === index2 }]),
54195
54665
  src: item.src,
54196
54666
  alt: "",
54197
54667
  onClick: ($event) => selectItem(index2)
54198
- }, null, 10, _hoisted_8)) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$a), {
54668
+ }, null, 10, _hoisted_11)) : (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$b), {
54199
54669
  key: 1,
54200
- class: vue.normalizeClass(["thumbnail object-fit-cover hover opacity-5 round flex bg-popup justify-content-center align-items-center flex-shrink-0", { active: vue.unref(currentIndex) === index2 }]),
54670
+ class: vue.normalizeClass(["thumbnail object-fit-cover hover opacity-5 ed flex bg-popup justify-content-center align-items-center flex-shrink-0", { active: vue.unref(currentIndex) === index2 }]),
54201
54671
  icon: "description",
54202
54672
  onClick: ($event) => selectItem(index2)
54203
54673
  }, null, 8, ["class", "onClick"]))
@@ -54213,7 +54683,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
54213
54683
  };
54214
54684
  }
54215
54685
  });
54216
- const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0410e12d"]]);
54686
+ const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-68949c15"]]);
54217
54687
  const groups = {};
54218
54688
  const lightboxDirective = {
54219
54689
  mounted(el, binding) {
@@ -54257,10 +54727,10 @@ function openClickHandler(e, el, binding) {
54257
54727
  open(item, group);
54258
54728
  }
54259
54729
  function bindingToItem(binding, el) {
54260
- let { group, src, type: type3, name, thumbnail } = binding.value || {};
54730
+ let { group, src, type: type3, name, thumbnail, enableZoom, openFile } = binding.value || {};
54261
54731
  src = src || binding.value || el.getAttribute("src") || "";
54262
54732
  type3 = type3 || determineFileType(src);
54263
- return { src, type: type3, name, thumbnail, group };
54733
+ return { src, type: type3, name, thumbnail, group, enableZoom, openFile };
54264
54734
  }
54265
54735
  const youtubeRegex = /youtube\.com|youtu\.be/;
54266
54736
  const vimeoRegex = /vimeo\.com/;
@@ -54383,14 +54853,14 @@ function numField(id, label, options) {
54383
54853
  function frmRow(...children2) {
54384
54854
  return {
54385
54855
  $el: "div",
54386
- class: "flex gap-1 m_block",
54856
+ class: "flex gap-1 m_block align-items-end",
54387
54857
  children: children2
54388
54858
  };
54389
54859
  }
54390
54860
  function bglForm(idOrField, ...schema) {
54391
54861
  if (typeof idOrField === "string") {
54392
54862
  return {
54393
- $el: vue.markRaw(_sfc_main$F),
54863
+ $el: vue.markRaw(_sfc_main$G),
54394
54864
  id: idOrField,
54395
54865
  attrs: {
54396
54866
  schema: [idOrField, ...schema]
@@ -54398,7 +54868,7 @@ function bglForm(idOrField, ...schema) {
54398
54868
  };
54399
54869
  }
54400
54870
  return {
54401
- $el: vue.markRaw(_sfc_main$F),
54871
+ $el: vue.markRaw(_sfc_main$G),
54402
54872
  attrs: {
54403
54873
  schema: [idOrField, ...schema]
54404
54874
  }
@@ -54474,10 +54944,16 @@ function formatString(str, format2) {
54474
54944
  }
54475
54945
  return str;
54476
54946
  }
54477
- let timeout;
54478
- function debounce(fn3, delay = 500) {
54479
- clearTimeout(timeout);
54480
- timeout = setTimeout(fn3, delay);
54947
+ function debounce(func, wait) {
54948
+ let timeoutId;
54949
+ return function(...args) {
54950
+ if (timeoutId) {
54951
+ clearTimeout(timeoutId);
54952
+ }
54953
+ timeoutId = setTimeout(() => {
54954
+ func(...args);
54955
+ }, wait);
54956
+ };
54481
54957
  }
54482
54958
  function keyToLabel(key) {
54483
54959
  if (key === void 0) return key;
@@ -54657,9 +55133,9 @@ const ModalPlugin = {
54657
55133
  case "modalForm":
54658
55134
  return vue.h(ModalForm, props2, modal.componentSlots);
54659
55135
  case "confirmModal":
54660
- return vue.h(_sfc_main$8, props2, {});
55136
+ return vue.h(_sfc_main$9, props2, {});
54661
55137
  default:
54662
- return vue.h(_sfc_main$9, props2, modal.componentSlots);
55138
+ return vue.h(_sfc_main$a, props2, modal.componentSlots);
54663
55139
  }
54664
55140
  });
54665
55141
  }
@@ -54993,69 +55469,70 @@ const IMAGE_FORMATS = ["jpeg", "png", "webp", "avif", "apng", "gif", "avifs", "s
54993
55469
  const IMAGE_FORMATS_REGEXP = new RegExp(`(${IMAGE_FORMATS.join("|")})$`, "i");
54994
55470
  const VIDEO_FORMATS = ["mp4", "webm", "ogg", "mov", "avi", "flv", "wmv", "mkv", "ts", "m3u8"];
54995
55471
  const VIDEO_FORMATS_REGEXP = new RegExp(`(${VIDEO_FORMATS.join("|")})$`, "i");
54996
- exports.Accordion = _sfc_main$U;
55472
+ exports.Accordion = _sfc_main$V;
54997
55473
  exports.AccordionItem = AccordionItem;
54998
- exports.AddressSearch = _sfc_main$S;
55474
+ exports.AddressSearch = _sfc_main$T;
54999
55475
  exports.Alert = Alert;
55000
55476
  exports.Avatar = Avatar;
55001
55477
  exports.Badge = Badge;
55002
- exports.BagelForm = _sfc_main$F;
55478
+ exports.BagelForm = _sfc_main$G;
55003
55479
  exports.BagelVue = BagelVue;
55004
- exports.BglField = _sfc_main$G;
55005
- exports.BglForm = _sfc_main$F;
55006
- exports.BglMultiStepForm = _sfc_main$E;
55480
+ exports.BglField = _sfc_main$H;
55481
+ exports.BglForm = _sfc_main$G;
55482
+ exports.BglMultiStepForm = _sfc_main$F;
55007
55483
  exports.BglVideo = BglVideo;
55008
55484
  exports.BottomMenu = BottomMenu;
55009
55485
  exports.Btn = Btn;
55010
- exports.Card = _sfc_main$M;
55486
+ exports.Card = _sfc_main$N;
55011
55487
  exports.Carousel = Carousel;
55012
55488
  exports.CheckInput = CheckInput;
55013
55489
  exports.Checkbox = Checkbox;
55014
- exports.ColorPicker = _sfc_main$B;
55490
+ exports.ColorPicker = _sfc_main$C;
55015
55491
  exports.DataPreview = DataPreview;
55016
- exports.DateInput = _sfc_main$A;
55017
- exports.DatePicker = _sfc_main$z;
55018
- exports.Dropdown = _sfc_main$I;
55492
+ exports.DateInput = _sfc_main$B;
55493
+ exports.DatePicker = _sfc_main$A;
55494
+ exports.Dropdown = _sfc_main$J;
55019
55495
  exports.FileUpload = $el;
55020
55496
  exports.Flag = Flag;
55021
55497
  exports.IMAGE_FORMATS = IMAGE_FORMATS;
55022
55498
  exports.IMAGE_FORMATS_REGEXP = IMAGE_FORMATS_REGEXP;
55023
- exports.Icon = _sfc_main$a;
55499
+ exports.Icon = _sfc_main$b;
55024
55500
  exports.JSONInput = JSONInput;
55025
55501
  exports.Layout = Layout;
55026
- exports.Lineart = _sfc_main$K;
55027
- exports.ListItem = _sfc_main$d;
55502
+ exports.Lineart = _sfc_main$L;
55503
+ exports.ListItem = _sfc_main$e;
55028
55504
  exports.ListView = ListView;
55029
- exports.MapEmbed = _sfc_main$b;
55030
- exports.MaterialIcon = _sfc_main$a;
55031
- exports.Modal = _sfc_main$9;
55032
- exports.ModalConfirm = _sfc_main$8;
55505
+ exports.MapEmbed = _sfc_main$c;
55506
+ exports.MaterialIcon = _sfc_main$b;
55507
+ exports.Modal = _sfc_main$a;
55508
+ exports.ModalConfirm = _sfc_main$9;
55033
55509
  exports.ModalForm = ModalForm;
55034
55510
  exports.ModalPlugin = ModalPlugin;
55035
55511
  exports.NavBar = NavBar;
55036
- exports.PageTitle = _sfc_main$5;
55037
- exports.PasswordInput = _sfc_main$w;
55512
+ exports.PageTitle = _sfc_main$6;
55513
+ exports.PasswordInput = _sfc_main$x;
55038
55514
  exports.RadioGroup = RadioGroup;
55039
55515
  exports.RadioPillsInput = RadioPillsInput;
55040
- exports.RichText = _sfc_main$t;
55516
+ exports.RichText = _sfc_main$u;
55041
55517
  exports.RichText2 = index$1;
55042
55518
  exports.RouterWrapper = RouterWrapper;
55043
55519
  exports.SelectInput = SelectInput;
55044
55520
  exports.SidebarMenu = SidebarMenu;
55045
- exports.SignaturePad = _sfc_main$p;
55521
+ exports.SignaturePad = _sfc_main$q;
55046
55522
  exports.TabbedLayout = TabbedLayout;
55047
55523
  exports.TableField = TableField;
55048
55524
  exports.TableSchema = TableSchema;
55049
- exports.Tabs = _sfc_main$g;
55050
- exports.TabsBody = _sfc_main$f;
55525
+ exports.Tabs = _sfc_main$h;
55526
+ exports.TabsBody = _sfc_main$g;
55051
55527
  exports.TabsNav = TabsNav;
55052
55528
  exports.TelInput = TelInput;
55053
55529
  exports.TextInput = TextInput;
55054
- exports.Title = _sfc_main$2;
55530
+ exports.Title = _sfc_main$3;
55055
55531
  exports.ToggleInput = ToggleInput;
55056
55532
  exports.TopBar = TopBar;
55057
55533
  exports.VIDEO_FORMATS = VIDEO_FORMATS;
55058
55534
  exports.VIDEO_FORMATS_REGEXP = VIDEO_FORMATS_REGEXP;
55535
+ exports.Zoomer = Zoomer;
55059
55536
  exports.allCountries = allCountries;
55060
55537
  exports.appendScript = appendScript;
55061
55538
  exports.bagelFormUtils = bagelFormUtils;