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