@bagelink/vue 0.0.753 → 0.0.755

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.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 },
@@ -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-7463197f"]]);
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: {},
@@ -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-3ae8f4d3"]]);
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: {}
@@ -43692,7 +43692,7 @@ const _hoisted_4$6 = {
43692
43692
  key: 0,
43693
43693
  class: "preview-area w-100 rounded 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-1cddc1b1"]]);
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: {},
@@ -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-0a2b089d"]]);
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 round 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-6007d02b"]]);
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,7 +52465,7 @@ 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: {},
@@ -52513,7 +52513,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
52513
52513
  }
52514
52514
  });
52515
52515
  const _hoisted_1$b = { key: 0 };
52516
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
52516
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
52517
52517
  __name: "TabsBody",
52518
52518
  props: {
52519
52519
  group: {}
@@ -52529,7 +52529,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
52529
52529
  }
52530
52530
  });
52531
52531
  const _hoisted_1$a = ["onClick"];
52532
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
52532
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
52533
52533
  __name: "TabsNav",
52534
52534
  props: {
52535
52535
  title: {},
@@ -52603,7 +52603,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
52603
52603
  class: normalizeClass([{ active: isActive2(tab) }, "bgl_tab relative z-1"]),
52604
52604
  onClick: ($event) => selectTab(tab)
52605
52605
  }, [
52606
- typeof tab !== "string" && tab.icon ? (openBlock(), createBlock(unref(_sfc_main$a), {
52606
+ typeof tab !== "string" && tab.icon ? (openBlock(), createBlock(unref(_sfc_main$b), {
52607
52607
  key: 0,
52608
52608
  icon: tab.icon
52609
52609
  }, null, 8, ["icon"])) : createCommentVNode("", true),
@@ -52614,10 +52614,10 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
52614
52614
  };
52615
52615
  }
52616
52616
  });
52617
- const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-d4d64201"]]);
52617
+ const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-d4d64201"]]);
52618
52618
  const _hoisted_1$9 = { class: "no-margin ellipsis line-height-14 pb-025" };
52619
52619
  const _hoisted_2$6 = { class: "txt12 no-margin txt-gray ellipsis" };
52620
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
52620
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
52621
52621
  __name: "ListItem",
52622
52622
  props: {
52623
52623
  src: {},
@@ -52644,7 +52644,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
52644
52644
  src: _ctx.src,
52645
52645
  size: 40
52646
52646
  }, null, 8, ["name", "src"])) : createCommentVNode("", true),
52647
- _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$a), {
52647
+ _ctx.icon ? (openBlock(), createBlock(unref(_sfc_main$b), {
52648
52648
  key: 1,
52649
52649
  size: "1.2",
52650
52650
  class: "color-primary",
@@ -52666,7 +52666,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
52666
52666
  };
52667
52667
  }
52668
52668
  });
52669
- const _sfc_main$c = {};
52669
+ const _sfc_main$d = {};
52670
52670
  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
52671
  const _hoisted_2$5 = { class: "p-1" };
52672
52672
  const _hoisted_3$4 = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
@@ -52680,11 +52680,11 @@ function _sfc_render$2(_ctx, _cache) {
52680
52680
  ])
52681
52681
  ]);
52682
52682
  }
52683
- const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$2]]);
52683
+ const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$2]]);
52684
52684
  const _hoisted_1$7 = ["id"];
52685
52685
  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
52686
  const leafletScriptUrl = "https://unpkg.com/leaflet@1.9.4/dist/leaflet.js";
52687
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
52687
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
52688
52688
  __name: "MapEmbed",
52689
52689
  props: {
52690
52690
  center: { default: () => [31.7683, 35.2137] },
@@ -52759,7 +52759,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
52759
52759
  };
52760
52760
  }
52761
52761
  });
52762
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
52762
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
52763
52763
  __name: "MaterialIcon",
52764
52764
  props: {
52765
52765
  icon: {},
@@ -52789,7 +52789,7 @@ const _hoisted_3$3 = {
52789
52789
  key: 2,
52790
52790
  class: "modal-footer mt-1"
52791
52791
  };
52792
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
52792
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
52793
52793
  __name: "Modal",
52794
52794
  props: {
52795
52795
  side: { type: Boolean },
@@ -52845,7 +52845,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
52845
52845
  onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
52846
52846
  onKeydown: withKeys(closeModal, ["esc"])
52847
52847
  }, [
52848
- createVNode(unref(_sfc_main$M), {
52848
+ createVNode(unref(_sfc_main$N), {
52849
52849
  class: "modal",
52850
52850
  style: normalizeStyle({ ...maxWidth.value }),
52851
52851
  onClick: _cache[0] || (_cache[0] = withModifiers(() => {
@@ -52862,7 +52862,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
52862
52862
  icon: "close",
52863
52863
  onClick: closeModal
52864
52864
  }, null, 8, ["style"]),
52865
- _ctx.title ? (openBlock(), createBlock(unref(_sfc_main$2), {
52865
+ _ctx.title ? (openBlock(), createBlock(unref(_sfc_main$3), {
52866
52866
  key: 0,
52867
52867
  class: "modal-title",
52868
52868
  tag: "h3",
@@ -52897,7 +52897,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
52897
52897
  }
52898
52898
  });
52899
52899
  const _hoisted_1$5 = { class: "pb-05 pretty" };
52900
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
52900
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
52901
52901
  __name: "ModalConfirm",
52902
52902
  props: {
52903
52903
  title: {},
@@ -52913,7 +52913,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
52913
52913
  emit2("update:visible");
52914
52914
  }
52915
52915
  return (_ctx, _cache) => {
52916
- return openBlock(), createBlock(unref(_sfc_main$9), {
52916
+ return openBlock(), createBlock(unref(_sfc_main$a), {
52917
52917
  title: _ctx.title,
52918
52918
  width: "380px",
52919
52919
  dismissable: false,
@@ -52941,7 +52941,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
52941
52941
  };
52942
52942
  }
52943
52943
  });
52944
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
52944
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
52945
52945
  __name: "ModalForm",
52946
52946
  props: /* @__PURE__ */ mergeModels({
52947
52947
  side: { type: Boolean },
@@ -53002,7 +53002,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
53002
53002
  }
53003
53003
  __expose({ setFormValues });
53004
53004
  return (_ctx, _cache) => {
53005
- return openBlock(), createBlock(unref(_sfc_main$9), {
53005
+ return openBlock(), createBlock(unref(_sfc_main$a), {
53006
53006
  ref_key: "modal",
53007
53007
  ref: modal,
53008
53008
  side: _ctx.side,
@@ -53013,7 +53013,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
53013
53013
  "onUpdate:visible": _cache[1] || (_cache[1] = ($event) => emit2("update:visible", $event))
53014
53014
  }, createSlots({
53015
53015
  default: withCtx(() => [
53016
- createVNode(unref(_sfc_main$F), {
53016
+ createVNode(unref(_sfc_main$G), {
53017
53017
  ref_key: "form",
53018
53018
  ref: form,
53019
53019
  modelValue: formData.value,
@@ -53055,14 +53055,14 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
53055
53055
  };
53056
53056
  }
53057
53057
  });
53058
- const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-083a1b2d"]]);
53058
+ const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-083a1b2d"]]);
53059
53059
  const _hoisted_1$4 = { class: "full-nav" };
53060
53060
  const _hoisted_2$3 = { class: "nav-scroll" };
53061
53061
  const _hoisted_3$2 = { class: "nav-links-wrapper" };
53062
53062
  const _hoisted_4$2 = { class: "tooltip" };
53063
53063
  const _hoisted_5$2 = { class: "bot-buttons-wrapper" };
53064
53064
  const _hoisted_6$2 = { class: "tooltip" };
53065
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
53065
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
53066
53066
  __name: "NavBar",
53067
53067
  props: {
53068
53068
  footerLinks: { default: () => [] },
@@ -53087,7 +53087,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
53087
53087
  onClick: _cache[0] || (_cache[0] = ($event) => isOpen.value = !isOpen.value),
53088
53088
  onKeypress: _cache[1] || (_cache[1] = withKeys(($event) => isOpen.value = !isOpen.value, ["enter"]))
53089
53089
  }, [
53090
- createVNode(unref(_sfc_main$a), {
53090
+ createVNode(unref(_sfc_main$b), {
53091
53091
  icon: "chevron_right",
53092
53092
  class: "top-arrow"
53093
53093
  })
@@ -53106,7 +53106,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
53106
53106
  }
53107
53107
  }, {
53108
53108
  default: withCtx(() => [
53109
- createVNode(unref(_sfc_main$a), {
53109
+ createVNode(unref(_sfc_main$b), {
53110
53110
  icon: link.icon
53111
53111
  }, null, 8, ["icon"]),
53112
53112
  createElementVNode("div", _hoisted_4$2, toDisplayString(link.label), 1)
@@ -53128,7 +53128,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
53128
53128
  }
53129
53129
  }, {
53130
53130
  default: withCtx(() => [
53131
- createVNode(unref(_sfc_main$a), {
53131
+ createVNode(unref(_sfc_main$b), {
53132
53132
  icon: link.icon
53133
53133
  }, null, 8, ["icon"]),
53134
53134
  createElementVNode("div", _hoisted_6$2, toDisplayString(link.label), 1)
@@ -53143,10 +53143,10 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
53143
53143
  };
53144
53144
  }
53145
53145
  });
53146
- const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-2f924811"]]);
53146
+ const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-2f924811"]]);
53147
53147
  const _hoisted_1$3 = { class: "page-top" };
53148
53148
  const _hoisted_2$2 = { class: "top-title m-0" };
53149
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
53149
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
53150
53150
  __name: "PageTitle",
53151
53151
  props: {
53152
53152
  value: {
@@ -53165,7 +53165,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
53165
53165
  };
53166
53166
  }
53167
53167
  });
53168
- const _sfc_main$4 = {};
53168
+ const _sfc_main$5 = {};
53169
53169
  function _sfc_render$1(_ctx, _cache) {
53170
53170
  const _component_router_view = resolveComponent("router-view");
53171
53171
  return openBlock(), createBlock(_component_router_view, null, {
@@ -53187,7 +53187,7 @@ function _sfc_render$1(_ctx, _cache) {
53187
53187
  _: 1
53188
53188
  });
53189
53189
  }
53190
- const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$1]]);
53190
+ const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$1]]);
53191
53191
  function tryOnScopeDispose(fn3) {
53192
53192
  if (getCurrentScope()) {
53193
53193
  onScopeDispose(fn3);
@@ -53513,9 +53513,9 @@ const _hoisted_5$1 = ["onClick"];
53513
53513
  const _hoisted_6$1 = { class: "flex" };
53514
53514
  const _hoisted_7$1 = ["onClick"];
53515
53515
  const _hoisted_8$1 = { key: 0 };
53516
- const _hoisted_9 = ["value"];
53517
- const _hoisted_10 = { key: 1 };
53518
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
53516
+ const _hoisted_9$1 = ["value"];
53517
+ const _hoisted_10$1 = { key: 1 };
53518
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
53519
53519
  __name: "TableSchema",
53520
53520
  props: /* @__PURE__ */ mergeModels({
53521
53521
  selectedItems: {},
@@ -53678,7 +53678,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
53678
53678
  createElementVNode("div", {
53679
53679
  class: normalizeClass(["list-arrows", { sorted: unref(sortField) === field.id }])
53680
53680
  }, [
53681
- createVNode(unref(_sfc_main$a), {
53681
+ createVNode(unref(_sfc_main$b), {
53682
53682
  class: normalizeClass({ desc: unref(sortDirection) === "DESC" }),
53683
53683
  icon: "keyboard_arrow_up"
53684
53684
  }, null, 8, ["class"])
@@ -53703,7 +53703,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
53703
53703
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(computedSelectedItems) ? computedSelectedItems.value = $event : computedSelectedItems = $event),
53704
53704
  type: "checkbox",
53705
53705
  value: row.id
53706
- }, null, 8, _hoisted_9), [
53706
+ }, null, 8, _hoisted_9$1), [
53707
53707
  [vModelCheckbox, unref(computedSelectedItems)]
53708
53708
  ])
53709
53709
  ])
@@ -53717,8 +53717,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
53717
53717
  key: 0,
53718
53718
  row,
53719
53719
  field
53720
- }, void 0, true) : (openBlock(), createElementBlock("div", _hoisted_10, [
53721
- createVNode(unref(_sfc_main$G), {
53720
+ }, void 0, true) : (openBlock(), createElementBlock("div", _hoisted_10$1, [
53721
+ createVNode(unref(_sfc_main$H), {
53722
53722
  class: "embedded-field",
53723
53723
  field,
53724
53724
  modelValue: row,
@@ -53736,8 +53736,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
53736
53736
  };
53737
53737
  }
53738
53738
  });
53739
- const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-680da9b9"]]);
53740
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
53739
+ const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-680da9b9"]]);
53740
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
53741
53741
  __name: "Title",
53742
53742
  props: {
53743
53743
  value: {
@@ -53765,14 +53765,422 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
53765
53765
  };
53766
53766
  }
53767
53767
  });
53768
- const _sfc_main$1 = {};
53768
+ const _sfc_main$2 = {};
53769
53769
  const _hoisted_1$1 = { class: "flex space-between" };
53770
53770
  function _sfc_render(_ctx, _cache) {
53771
53771
  return openBlock(), createElementBlock("div", _hoisted_1$1, [
53772
53772
  renderSlot(_ctx.$slots, "default")
53773
53773
  ]);
53774
53774
  }
53775
- const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render]]);
53775
+ const TopBar = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render]]);
53776
+ class TapDetector {
53777
+ constructor() {
53778
+ __publicField2(this, "singleTapCallbacks", []);
53779
+ __publicField2(this, "doubleTapCallbacks", []);
53780
+ __publicField2(this, "isTouchMode", false);
53781
+ __publicField2(this, "lastTapTimestamp", 0);
53782
+ __publicField2(this, "tappedCount", 0);
53783
+ __publicField2(this, "touchMovedLength", 0);
53784
+ __publicField2(this, "lastPointerX", 0);
53785
+ __publicField2(this, "lastPointerY", 0);
53786
+ __publicField2(this, "onTouchStart", (event) => {
53787
+ this.isTouchMode = true;
53788
+ if (event.touches.length === 1) {
53789
+ this.onPointerDown(event.touches[0].clientX, event.touches[0].clientY);
53790
+ }
53791
+ });
53792
+ __publicField2(this, "onTouchMove", (event) => {
53793
+ if (event.touches.length === 1) {
53794
+ this.onPointerMove(event.touches[0].clientX, event.touches[0].clientY);
53795
+ }
53796
+ });
53797
+ __publicField2(this, "onTouchEnd", () => {
53798
+ if (this.isTouchMode) this.onPointerUp();
53799
+ });
53800
+ __publicField2(this, "onMouseDown", (event) => {
53801
+ if (!this.isTouchMode) {
53802
+ this.onPointerDown(event.clientX, event.clientY);
53803
+ }
53804
+ });
53805
+ __publicField2(this, "onMouseMove", (event) => {
53806
+ if (!this.isTouchMode && event.button === 0) {
53807
+ this.onPointerMove(event.clientX, event.clientY);
53808
+ }
53809
+ });
53810
+ __publicField2(this, "onMouseUp", () => {
53811
+ if (!this.isTouchMode) this.onPointerUp();
53812
+ });
53813
+ }
53814
+ attach(dom) {
53815
+ if (!(dom instanceof Element)) {
53816
+ console.error("TapDetector.attach: arg must be an Element");
53817
+ return;
53818
+ }
53819
+ dom.addEventListener("touchstart", this.onTouchStart);
53820
+ dom.addEventListener("touchmove", this.onTouchMove);
53821
+ dom.addEventListener("touchend", this.onTouchEnd);
53822
+ dom.addEventListener("mousedown", this.onMouseDown);
53823
+ dom.addEventListener("mouseup", this.onMouseUp);
53824
+ dom.addEventListener("mousemove", this.onMouseMove);
53825
+ }
53826
+ detach(dom) {
53827
+ dom.removeEventListener("touchstart", this.onTouchStart);
53828
+ dom.removeEventListener("touchmove", this.onTouchMove);
53829
+ dom.removeEventListener("touchend", this.onTouchEnd);
53830
+ dom.removeEventListener("mousedown", this.onMouseDown);
53831
+ dom.removeEventListener("mouseup", this.onMouseUp);
53832
+ dom.removeEventListener("mousemove", this.onMouseMove);
53833
+ }
53834
+ onSingleTap(callback) {
53835
+ if (typeof callback === "function" && !this.singleTapCallbacks.includes(callback)) {
53836
+ this.singleTapCallbacks.push(callback);
53837
+ }
53838
+ }
53839
+ onDoubleTap(callback) {
53840
+ if (typeof callback === "function" && !this.doubleTapCallbacks.includes(callback)) {
53841
+ this.doubleTapCallbacks.push(callback);
53842
+ }
53843
+ }
53844
+ triggerCallbacks(callbackType, event) {
53845
+ const callbacks = callbackType === "single" ? this.singleTapCallbacks : this.doubleTapCallbacks;
53846
+ callbacks.forEach((callback) => {
53847
+ callback(event);
53848
+ });
53849
+ }
53850
+ onPointerDown(x2, y2) {
53851
+ this.lastPointerX = x2;
53852
+ this.lastPointerY = y2;
53853
+ this.touchMovedLength = 0;
53854
+ }
53855
+ onPointerUp() {
53856
+ const currTimeStamp = Date.now();
53857
+ if (this.touchMovedLength < 10) {
53858
+ if (currTimeStamp - this.lastTapTimestamp < 300) {
53859
+ this.tappedCount++;
53860
+ } else {
53861
+ this.tappedCount = 1;
53862
+ }
53863
+ this.lastTapTimestamp = currTimeStamp;
53864
+ this.triggerCallbacks("single", { clientX: this.lastPointerX, clientY: this.lastPointerY });
53865
+ if (this.tappedCount === 2) {
53866
+ this.triggerCallbacks("double", { clientX: this.lastPointerX, clientY: this.lastPointerY });
53867
+ this.tappedCount = 0;
53868
+ }
53869
+ }
53870
+ this.touchMovedLength = 0;
53871
+ }
53872
+ onPointerMove(x2, y2) {
53873
+ const deltaX = this.lastPointerX - x2;
53874
+ const deltaY = this.lastPointerY - y2;
53875
+ this.touchMovedLength += Math.sqrt(deltaX * deltaX + deltaY * deltaY);
53876
+ this.lastPointerX = x2;
53877
+ this.lastPointerY = y2;
53878
+ }
53879
+ }
53880
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
53881
+ __name: "Zoomer",
53882
+ props: {
53883
+ minScale: { default: 1 },
53884
+ maxScale: { default: 5 },
53885
+ zoom: {},
53886
+ resetTrigger: {},
53887
+ aspectRatio: { default: 1 },
53888
+ backgroundColor: { default: "transparent" },
53889
+ pivot: { default: "cursor" },
53890
+ zoomingElastic: { type: Boolean, default: true },
53891
+ limitTranslation: { type: Boolean, default: true },
53892
+ doubleClickToZoom: { type: Boolean, default: true },
53893
+ mouseWheelToZoom: { type: Boolean, default: true },
53894
+ disabled: { type: Boolean, default: false }
53895
+ },
53896
+ emits: ["update:zoom"],
53897
+ setup(__props, { expose: __expose, emit: __emit }) {
53898
+ const emit2 = __emit;
53899
+ const zoomElement = ref();
53900
+ let containerWidth = ref(1);
53901
+ let containerHeight = ref(1);
53902
+ let containerLeft = ref(0);
53903
+ let containerTop = ref(0);
53904
+ let translateX2 = ref(0);
53905
+ let animTranslateX = ref(0);
53906
+ let translateY2 = ref(0);
53907
+ let animTranslateY = ref(0);
53908
+ let _zoom = ref(__props.zoom || 1);
53909
+ let scale = computed({
53910
+ get: () => __props.zoom === void 0 ? _zoom.value : __props.zoom,
53911
+ set: (val) => {
53912
+ _zoom.value = val;
53913
+ emit2("update:zoom", _zoom.value);
53914
+ }
53915
+ });
53916
+ let animScale = ref(1);
53917
+ let lastFullWheelTime = ref(0);
53918
+ let lastWheelTime = ref(0);
53919
+ let lastWheelDirection = ref("y");
53920
+ let isPointerDown = ref(false);
53921
+ let pointerPosX = ref(-1);
53922
+ let pointerPosY = ref(-1);
53923
+ let twoFingerInitDist = ref(0);
53924
+ let panLocked = ref(true);
53925
+ let raf = ref(null);
53926
+ let tapDetector = ref(null);
53927
+ const wrapperStyle = computed(() => {
53928
+ const translateXValue = containerWidth.value * animTranslateX.value;
53929
+ const translateYValue = containerHeight.value * animTranslateY.value;
53930
+ return {
53931
+ transform: [
53932
+ `translate(${translateXValue}px, ${translateYValue}px)`,
53933
+ `scale(${animScale.value})`
53934
+ ].join(" ")
53935
+ };
53936
+ });
53937
+ watch(() => scale.value, (newScale) => {
53938
+ const { x: x2, y: y2 } = calcTranslateLimit();
53939
+ translateX2.value = Math.max(-x2, Math.min(x2, translateX2.value));
53940
+ translateY2.value = Math.max(-y2, Math.min(y2, translateY2.value));
53941
+ if (newScale !== 1) {
53942
+ panLocked.value = false;
53943
+ }
53944
+ });
53945
+ function reset() {
53946
+ scale.value = 1;
53947
+ panLocked.value = true;
53948
+ translateX2.value = 0;
53949
+ translateY2.value = 0;
53950
+ }
53951
+ __expose({ reset });
53952
+ function tryToScale(scaleDelta) {
53953
+ if (__props.disabled) return;
53954
+ let newScale = scale.value * scaleDelta;
53955
+ if (__props.zoomingElastic) {
53956
+ if (newScale < __props.minScale || newScale > __props.maxScale) {
53957
+ let log = Math.log2(scaleDelta);
53958
+ log *= 0.2;
53959
+ scaleDelta = 2 ** log;
53960
+ newScale = scale.value * scaleDelta;
53961
+ }
53962
+ } else {
53963
+ if (newScale < __props.minScale) newScale = __props.minScale;
53964
+ else if (newScale > __props.maxScale) newScale = __props.maxScale;
53965
+ }
53966
+ scaleDelta = newScale / scale.value;
53967
+ scale.value = newScale;
53968
+ if (__props.pivot !== "image-center") {
53969
+ const normMousePosX = (pointerPosX.value - containerLeft.value) / containerWidth.value;
53970
+ const normMousePosY = (pointerPosY.value - containerTop.value) / containerHeight.value;
53971
+ translateX2.value = (0.5 + translateX2.value - normMousePosX) * scaleDelta + normMousePosX - 0.5;
53972
+ translateY2.value = (0.5 + translateY2.value - normMousePosY) * scaleDelta + normMousePosY - 0.5;
53973
+ }
53974
+ }
53975
+ function setPointerPosCenter() {
53976
+ pointerPosX.value = containerLeft.value + containerWidth.value / 2;
53977
+ pointerPosY.value = containerTop.value + containerHeight.value / 2;
53978
+ }
53979
+ function onPointerMove(newMousePosX, newMousePosY) {
53980
+ if (isPointerDown.value) {
53981
+ const pixelDeltaX = newMousePosX - pointerPosX.value;
53982
+ const pixelDeltaY = newMousePosY - pointerPosY.value;
53983
+ if (!panLocked.value) {
53984
+ const translateLimit = calcTranslateLimit();
53985
+ const maxTranslateX = translateLimit.x;
53986
+ const maxTranslateY = translateLimit.y;
53987
+ const newTranslateX = translateX2.value + pixelDeltaX / containerWidth.value;
53988
+ const newTranslateY = translateY2.value + pixelDeltaY / containerHeight.value;
53989
+ translateX2.value = Math.max(-maxTranslateX, Math.min(maxTranslateX, newTranslateX));
53990
+ translateY2.value = Math.max(-maxTranslateY, Math.min(maxTranslateY, newTranslateY));
53991
+ }
53992
+ }
53993
+ pointerPosX.value = newMousePosX;
53994
+ pointerPosY.value = newMousePosY;
53995
+ }
53996
+ function limit() {
53997
+ if (scale.value < __props.minScale) {
53998
+ scale.value = __props.minScale;
53999
+ } else if (scale.value > __props.maxScale) {
54000
+ tryToScale(__props.maxScale / scale.value);
54001
+ }
54002
+ if (__props.limitTranslation) {
54003
+ const translateLimit = calcTranslateLimit();
54004
+ if (Math.abs(translateX2.value) > translateLimit.x) {
54005
+ translateX2.value *= translateLimit.x / Math.abs(translateX2.value);
54006
+ }
54007
+ if (Math.abs(translateY2.value) > translateLimit.y) {
54008
+ translateY2.value *= translateLimit.y / Math.abs(translateY2.value);
54009
+ }
54010
+ }
54011
+ }
54012
+ function calcTranslateLimit() {
54013
+ if (getMarginDirection() === "y") {
54014
+ const imageToContainerRatio = containerWidth.value / __props.aspectRatio / containerHeight.value;
54015
+ let translateLimitY = (scale.value * imageToContainerRatio - 1) / 2;
54016
+ if (translateLimitY < 0) translateLimitY = 0;
54017
+ return { x: (scale.value - 1) / 2, y: translateLimitY };
54018
+ } else {
54019
+ const imageToContainerRatio = containerHeight.value * __props.aspectRatio / containerWidth.value;
54020
+ let translateLimitX = (scale.value * imageToContainerRatio - 1) / 2;
54021
+ if (translateLimitX < 0) translateLimitX = 0;
54022
+ return { x: translateLimitX, y: (scale.value - 1) / 2 };
54023
+ }
54024
+ }
54025
+ function getMarginDirection() {
54026
+ const containerRatio = containerWidth.value / containerHeight.value;
54027
+ return containerRatio > __props.aspectRatio ? "x" : "y";
54028
+ }
54029
+ function onMouseWheel(ev) {
54030
+ if (!__props.mouseWheelToZoom) return;
54031
+ ev.preventDefault();
54032
+ const currTime = Date.now();
54033
+ if (Math.abs(ev.deltaY) === 120) {
54034
+ if (currTime - lastFullWheelTime.value > 50) {
54035
+ onMouseWheelDo(ev.deltaY);
54036
+ lastFullWheelTime.value = currTime;
54037
+ }
54038
+ } else {
54039
+ if (currTime - lastWheelTime.value > 50) {
54040
+ lastWheelDirection.value = ev.deltaX > ev.deltaY ? "x" : "y";
54041
+ if (lastWheelDirection.value === "y") {
54042
+ onMouseWheelDo(ev.deltaY);
54043
+ }
54044
+ }
54045
+ lastWheelTime.value = currTime;
54046
+ }
54047
+ }
54048
+ function onMouseWheelDo(wheelDelta) {
54049
+ const scaleDelta = 1.25 ** (wheelDelta / 120);
54050
+ tryToScale(scaleDelta);
54051
+ }
54052
+ function onMouseDown(ev) {
54053
+ refreshContainerPos();
54054
+ isPointerDown.value = true;
54055
+ pointerPosX.value = ev.clientX;
54056
+ pointerPosY.value = ev.clientY;
54057
+ document.addEventListener("mousemove", onMouseMove);
54058
+ document.addEventListener("mouseup", onMouseUp);
54059
+ }
54060
+ function onMouseUp() {
54061
+ isPointerDown.value = false;
54062
+ document.removeEventListener("mouseup", onMouseUp);
54063
+ document.removeEventListener("mousemove", onMouseMove);
54064
+ }
54065
+ function onMouseMove(ev) {
54066
+ onPointerMove(ev.clientX, ev.clientY);
54067
+ }
54068
+ function onTouchStart(ev) {
54069
+ if (ev.touches.length === 1) {
54070
+ refreshContainerPos();
54071
+ pointerPosX.value = ev.touches[0].clientX;
54072
+ pointerPosY.value = ev.touches[0].clientY;
54073
+ isPointerDown.value = true;
54074
+ } else if (ev.touches.length === 2) {
54075
+ isPointerDown.value = true;
54076
+ pointerPosX.value = (ev.touches[0].clientX + ev.touches[1].clientX) / 2;
54077
+ pointerPosY.value = (ev.touches[0].clientY + ev.touches[1].clientY) / 2;
54078
+ const distX = ev.touches[0].clientX - ev.touches[1].clientX;
54079
+ const distY = ev.touches[0].clientY - ev.touches[1].clientY;
54080
+ twoFingerInitDist.value = Math.sqrt(distX * distX + distY * distY);
54081
+ }
54082
+ document.addEventListener("touchend", onTouchEnd);
54083
+ }
54084
+ function onTouchEnd(ev) {
54085
+ if (ev.touches.length === 0) {
54086
+ isPointerDown.value = false;
54087
+ if (Math.abs(scale.value - 1) < 0.1) scale.value = 1;
54088
+ } else if (ev.touches.length === 1) {
54089
+ pointerPosX.value = ev.touches[0].clientX;
54090
+ pointerPosY.value = ev.touches[0].clientY;
54091
+ }
54092
+ document.removeEventListener("touchend", onTouchEnd);
54093
+ }
54094
+ function onTouchMove(ev) {
54095
+ if (ev.touches.length === 1) {
54096
+ onPointerMove(ev.touches[0].clientX, ev.touches[0].clientY);
54097
+ } else if (ev.touches.length === 2) {
54098
+ const distX = ev.touches[0].clientX - ev.touches[1].clientX;
54099
+ const distY = ev.touches[0].clientY - ev.touches[1].clientY;
54100
+ const newTwoFingerDist = Math.sqrt(distX * distX + distY * distY);
54101
+ tryToScale(newTwoFingerDist / twoFingerInitDist.value);
54102
+ twoFingerInitDist.value = newTwoFingerDist;
54103
+ }
54104
+ }
54105
+ function refreshContainerPos() {
54106
+ if (zoomElement.value) {
54107
+ const rect = zoomElement.value.getBoundingClientRect();
54108
+ containerLeft.value = rect.left;
54109
+ containerTop.value = rect.top;
54110
+ }
54111
+ }
54112
+ function loop() {
54113
+ animScale.value = gainOn(animScale.value, scale.value);
54114
+ animTranslateX.value = gainOn(animTranslateX.value, translateX2.value);
54115
+ animTranslateY.value = gainOn(animTranslateY.value, translateY2.value);
54116
+ raf.value = window.requestAnimationFrame(loop);
54117
+ }
54118
+ function gainOn(from2, to2) {
54119
+ const delta = (to2 - from2) * 0.3;
54120
+ return Math.abs(delta) > 1e-5 ? from2 + delta : to2;
54121
+ }
54122
+ onMounted(() => {
54123
+ tapDetector.value = new TapDetector();
54124
+ if (zoomElement.value) tapDetector.value.attach(zoomElement.value);
54125
+ if (__props.doubleClickToZoom) {
54126
+ tapDetector.value.onDoubleTap(onDoubleTap);
54127
+ }
54128
+ window.addEventListener("resize", onWindowResize);
54129
+ onWindowResize();
54130
+ refreshContainerPos();
54131
+ loop();
54132
+ });
54133
+ onUnmounted(() => {
54134
+ var _a2;
54135
+ if (zoomElement.value) (_a2 = tapDetector.value) == null ? void 0 : _a2.detach(zoomElement.value);
54136
+ window.removeEventListener("resize", onWindowResize);
54137
+ if (raf.value) window.cancelAnimationFrame(raf.value);
54138
+ });
54139
+ function onDoubleTap(ev) {
54140
+ if (scale.value === 1) {
54141
+ if (ev.clientX > 0) {
54142
+ pointerPosX.value = ev.clientX;
54143
+ pointerPosY.value = ev.clientY;
54144
+ }
54145
+ tryToScale(Math.min(3, __props.maxScale));
54146
+ } else {
54147
+ reset();
54148
+ }
54149
+ }
54150
+ function onWindowResize() {
54151
+ if (zoomElement.value) {
54152
+ const styles = window.getComputedStyle(zoomElement.value);
54153
+ containerWidth.value = Number.parseFloat(styles.width);
54154
+ containerHeight.value = Number.parseFloat(styles.height);
54155
+ setPointerPosCenter();
54156
+ limit();
54157
+ }
54158
+ }
54159
+ return (_ctx, _cache) => {
54160
+ return openBlock(), createElementBlock("div", {
54161
+ ref_key: "zoomElement",
54162
+ ref: zoomElement,
54163
+ class: "vue-zoomer",
54164
+ style: normalizeStyle({ backgroundColor: _ctx.backgroundColor }),
54165
+ onMousewheel: onMouseWheel,
54166
+ "on:DOMMouseScroll": onMouseWheel,
54167
+ onMousedown: onMouseDown,
54168
+ onMouseout: setPointerPosCenter,
54169
+ onFocusout: setPointerPosCenter,
54170
+ onTouchstart: onTouchStart,
54171
+ onTouchmove: onTouchMove
54172
+ }, [
54173
+ createElementVNode("div", {
54174
+ class: "zoomer",
54175
+ style: normalizeStyle(wrapperStyle.value)
54176
+ }, [
54177
+ renderSlot(_ctx.$slots, "default", {}, void 0, true)
54178
+ ], 4)
54179
+ ], 36);
54180
+ };
54181
+ }
54182
+ });
54183
+ const Zoomer = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-5e5bef88"]]);
53776
54184
  function useBglSchema({ schema, showFields, data: data2 } = {}) {
53777
54185
  let _schema = schema;
53778
54186
  if (typeof _schema === "function") {
@@ -54050,19 +54458,25 @@ const _hoisted_1 = {
54050
54458
  key: 0,
54051
54459
  class: "navigation flex space-between px-3 w-100 absolute"
54052
54460
  };
54053
- const _hoisted_2 = { class: "bgl-lightbox-item" };
54054
- const _hoisted_3 = ["src"];
54055
- const _hoisted_4 = ["src", "title"];
54056
- const _hoisted_5 = {
54461
+ const _hoisted_2 = { class: "flex start fixed top-1 w-100 space-between" };
54462
+ const _hoisted_3 = {
54463
+ key: 0,
54464
+ class: "center"
54465
+ };
54466
+ const _hoisted_4 = { key: 2 };
54467
+ const _hoisted_5 = { class: "bgl-lightbox-item" };
54468
+ const _hoisted_6 = ["src"];
54469
+ const _hoisted_7 = ["src", "title"];
54470
+ const _hoisted_8 = {
54057
54471
  key: 3,
54058
54472
  class: "file-info txt-white"
54059
54473
  };
54060
- const _hoisted_6 = ["href"];
54061
- const _hoisted_7 = {
54474
+ const _hoisted_9 = ["href"];
54475
+ const _hoisted_10 = {
54062
54476
  key: 0,
54063
54477
  class: "flex justify-content-center mt-2 overflow p-1 fixed bottom start end gap-1 m_justify-content-start"
54064
54478
  };
54065
- const _hoisted_8 = ["src", "onClick"];
54479
+ const _hoisted_11 = ["src", "onClick"];
54066
54480
  const _sfc_main = /* @__PURE__ */ defineComponent({
54067
54481
  __name: "Lightbox",
54068
54482
  setup(__props, { expose: __expose }) {
@@ -54116,11 +54530,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
54116
54530
  next();
54117
54531
  }
54118
54532
  }
54533
+ const zoom = ref(1);
54534
+ function clickOutside2() {
54535
+ if (zoom.value === 1) close2();
54536
+ }
54119
54537
  __expose({ open, close: close2 });
54120
54538
  return (_ctx, _cache) => {
54121
54539
  return openBlock(), createBlock(Transition, { name: "fade" }, {
54122
54540
  default: withCtx(() => {
54123
- var _a2, _b, _c, _d, _e2, _f, _g, _h, _i, _j;
54541
+ var _a2, _b, _c, _d, _e2, _f, _g, _h, _i, _j, _k, _l2, _m, _n2;
54124
54542
  return [
54125
54543
  unref(isOpen) ? (openBlock(), createElementBlock("div", {
54126
54544
  key: 0,
@@ -54130,7 +54548,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
54130
54548
  withKeys(prev, ["left"]),
54131
54549
  withKeys(next, ["right"])
54132
54550
  ],
54133
- onClick: close2
54551
+ onClick: clickOutside2
54134
54552
  }, [
54135
54553
  unref(group) && unref(group).length > 1 ? (openBlock(), createElementBlock("div", _hoisted_1, [
54136
54554
  createVNode(unref(Btn), {
@@ -54146,45 +54564,95 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
54146
54564
  ])) : createCommentVNode("", true),
54147
54565
  createElementVNode("div", {
54148
54566
  class: "bgl-lightbox relative txt-center",
54149
- onClick: _cache[0] || (_cache[0] = withModifiers(() => {
54567
+ onClick: _cache[4] || (_cache[4] = withModifiers(() => {
54150
54568
  }, ["stop"]))
54151
54569
  }, [
54152
- createVNode(unref(Btn), {
54153
- flat: "",
54154
- class: "fixed top-1 start-1 color-white",
54155
- icon: "close",
54156
- onClick: close2
54157
- }),
54158
54570
  createElementVNode("div", _hoisted_2, [
54159
- ((_a2 = unref(currentItem)) == null ? void 0 : _a2.type) === "image" ? (openBlock(), createElementBlock("img", {
54571
+ createVNode(unref(Btn), {
54572
+ flat: "",
54573
+ class: "color-white",
54574
+ icon: "close",
54575
+ onClick: close2
54576
+ }),
54577
+ ((_a2 = unref(currentItem)) == null ? void 0 : _a2.enableZoom) && ((_b = unref(currentItem)) == null ? void 0 : _b.type) === "image" ? (openBlock(), createElementBlock("div", _hoisted_3, [
54578
+ createVNode(unref(Btn), {
54579
+ flat: "",
54580
+ class: "color-white",
54581
+ icon: "remove",
54582
+ disabled: zoom.value === 1,
54583
+ onClick: _cache[0] || (_cache[0] = ($event) => zoom.value--)
54584
+ }, null, 8, ["disabled"]),
54585
+ createVNode(unref(Btn), {
54586
+ flat: "",
54587
+ class: "color-white",
54588
+ icon: "zoom_in",
54589
+ disabled: zoom.value === 1,
54590
+ onClick: _cache[1] || (_cache[1] = ($event) => zoom.value = 1)
54591
+ }, null, 8, ["disabled"]),
54592
+ createVNode(unref(Btn), {
54593
+ flat: "",
54594
+ class: "color-white",
54595
+ icon: "add",
54596
+ disabled: zoom.value === 3,
54597
+ onClick: _cache[2] || (_cache[2] = ($event) => zoom.value++)
54598
+ }, null, 8, ["disabled"])
54599
+ ])) : createCommentVNode("", true),
54600
+ ((_c = unref(currentItem)) == null ? void 0 : _c.openFile) ? (openBlock(), createBlock(unref(Btn), {
54601
+ key: 1,
54602
+ class: "color-white",
54603
+ round: "",
54604
+ thin: "",
54605
+ flat: "",
54606
+ "icon.end": "arrow_outward",
54607
+ value: "Open File",
54608
+ href: (_d = unref(currentItem)) == null ? void 0 : _d.src,
54609
+ target: "_blank"
54610
+ }, null, 8, ["href"])) : (openBlock(), createElementBlock("div", _hoisted_4))
54611
+ ]),
54612
+ createElementVNode("div", _hoisted_5, [
54613
+ ((_e2 = unref(currentItem)) == null ? void 0 : _e2.type) === "image" ? (openBlock(), createBlock(unref(Zoomer), {
54160
54614
  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), {
54615
+ zoom: zoom.value,
54616
+ "onUpdate:zoom": _cache[3] || (_cache[3] = ($event) => zoom.value = $event),
54617
+ disabled: !((_f = unref(currentItem)) == null ? void 0 : _f.enableZoom),
54618
+ "mouse-wheel-to-zoom": false
54619
+ }, {
54620
+ default: withCtx(() => {
54621
+ var _a3;
54622
+ return [
54623
+ createElementVNode("img", {
54624
+ draggable: false,
54625
+ src: (_a3 = unref(currentItem)) == null ? void 0 : _a3.src,
54626
+ alt: "Preview",
54627
+ class: "vw90 lightbox-image"
54628
+ }, null, 8, _hoisted_6)
54629
+ ];
54630
+ }),
54631
+ _: 1
54632
+ }, 8, ["zoom", "disabled"])) : ((_g = unref(currentItem)) == null ? void 0 : _g.type) === "video" ? (openBlock(), createBlock(unref(BglVideo), {
54165
54633
  key: 1,
54166
- src: (_d = unref(currentItem)) == null ? void 0 : _d.src,
54634
+ src: (_h = unref(currentItem)) == null ? void 0 : _h.src,
54167
54635
  autoplay: "",
54168
54636
  controls: "",
54169
54637
  class: "vw90"
54170
- }, null, 8, ["src"])) : ((_e2 = unref(currentItem)) == null ? void 0 : _e2.type) === "pdf" ? (openBlock(), createElementBlock("embed", {
54638
+ }, null, 8, ["src"])) : ((_i = unref(currentItem)) == null ? void 0 : _i.type) === "pdf" ? (openBlock(), createElementBlock("embed", {
54171
54639
  key: 2,
54172
- src: normalizeURL((_f = unref(currentItem)) == null ? void 0 : _f.src),
54640
+ src: normalizeURL((_j = unref(currentItem)) == null ? void 0 : _j.src),
54173
54641
  type: "application/pdf",
54174
54642
  width: "100%",
54175
54643
  height: "1080",
54176
- title: (_g = unref(currentItem)) == null ? void 0 : _g.name,
54644
+ title: (_k = unref(currentItem)) == null ? void 0 : _k.name,
54177
54645
  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),
54646
+ }, null, 8, _hoisted_7)) : (openBlock(), createElementBlock("div", _hoisted_8, [
54647
+ createElementVNode("p", null, "File: " + toDisplayString((_l2 = unref(currentItem)) == null ? void 0 : _l2.name), 1),
54648
+ createElementVNode("p", null, "Type: " + toDisplayString((_m = unref(currentItem)) == null ? void 0 : _m.type), 1),
54181
54649
  createElementVNode("a", {
54182
- href: (_j = unref(currentItem)) == null ? void 0 : _j.src,
54650
+ href: (_n2 = unref(currentItem)) == null ? void 0 : _n2.src,
54183
54651
  target: "_blank"
54184
- }, "Open file", 8, _hoisted_6)
54652
+ }, "Open file", 8, _hoisted_9)
54185
54653
  ]))
54186
54654
  ]),
54187
- unref(group) && unref(group).length > 1 ? (openBlock(), createElementBlock("div", _hoisted_7, [
54655
+ unref(group) && unref(group).length > 1 ? (openBlock(), createElementBlock("div", _hoisted_10, [
54188
54656
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(group), (item, index2) => {
54189
54657
  return openBlock(), createElementBlock(Fragment$1, { key: index2 }, [
54190
54658
  item.type === "image" ? (openBlock(), createElementBlock("img", {
@@ -54193,7 +54661,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
54193
54661
  src: item.src,
54194
54662
  alt: "",
54195
54663
  onClick: ($event) => selectItem(index2)
54196
- }, null, 10, _hoisted_8)) : (openBlock(), createBlock(unref(_sfc_main$a), {
54664
+ }, null, 10, _hoisted_11)) : (openBlock(), createBlock(unref(_sfc_main$b), {
54197
54665
  key: 1,
54198
54666
  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 }]),
54199
54667
  icon: "description",
@@ -54211,7 +54679,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
54211
54679
  };
54212
54680
  }
54213
54681
  });
54214
- const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0410e12d"]]);
54682
+ const Lightbox$1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d550287d"]]);
54215
54683
  const groups = {};
54216
54684
  const lightboxDirective = {
54217
54685
  mounted(el, binding) {
@@ -54255,10 +54723,10 @@ function openClickHandler(e, el, binding) {
54255
54723
  open(item, group);
54256
54724
  }
54257
54725
  function bindingToItem(binding, el) {
54258
- let { group, src, type: type3, name, thumbnail } = binding.value || {};
54726
+ let { group, src, type: type3, name, thumbnail, enableZoom, openFile } = binding.value || {};
54259
54727
  src = src || binding.value || el.getAttribute("src") || "";
54260
54728
  type3 = type3 || determineFileType(src);
54261
- return { src, type: type3, name, thumbnail, group };
54729
+ return { src, type: type3, name, thumbnail, group, enableZoom, openFile };
54262
54730
  }
54263
54731
  const youtubeRegex = /youtube\.com|youtu\.be/;
54264
54732
  const vimeoRegex = /vimeo\.com/;
@@ -54388,7 +54856,7 @@ function frmRow(...children2) {
54388
54856
  function bglForm(idOrField, ...schema) {
54389
54857
  if (typeof idOrField === "string") {
54390
54858
  return {
54391
- $el: markRaw(_sfc_main$F),
54859
+ $el: markRaw(_sfc_main$G),
54392
54860
  id: idOrField,
54393
54861
  attrs: {
54394
54862
  schema: [idOrField, ...schema]
@@ -54396,7 +54864,7 @@ function bglForm(idOrField, ...schema) {
54396
54864
  };
54397
54865
  }
54398
54866
  return {
54399
- $el: markRaw(_sfc_main$F),
54867
+ $el: markRaw(_sfc_main$G),
54400
54868
  attrs: {
54401
54869
  schema: [idOrField, ...schema]
54402
54870
  }
@@ -54472,10 +54940,16 @@ function formatString(str, format2) {
54472
54940
  }
54473
54941
  return str;
54474
54942
  }
54475
- let timeout;
54476
- function debounce(fn3, delay = 500) {
54477
- clearTimeout(timeout);
54478
- timeout = setTimeout(fn3, delay);
54943
+ function debounce(func, wait) {
54944
+ let timeoutId;
54945
+ return function(...args) {
54946
+ if (timeoutId) {
54947
+ clearTimeout(timeoutId);
54948
+ }
54949
+ timeoutId = setTimeout(() => {
54950
+ func(...args);
54951
+ }, wait);
54952
+ };
54479
54953
  }
54480
54954
  function keyToLabel(key) {
54481
54955
  if (key === void 0) return key;
@@ -54655,9 +55129,9 @@ const ModalPlugin = {
54655
55129
  case "modalForm":
54656
55130
  return h$2(ModalForm, props2, modal.componentSlots);
54657
55131
  case "confirmModal":
54658
- return h$2(_sfc_main$8, props2, {});
55132
+ return h$2(_sfc_main$9, props2, {});
54659
55133
  default:
54660
- return h$2(_sfc_main$9, props2, modal.componentSlots);
55134
+ return h$2(_sfc_main$a, props2, modal.componentSlots);
54661
55135
  }
54662
55136
  });
54663
55137
  }
@@ -54992,69 +55466,70 @@ const IMAGE_FORMATS_REGEXP = new RegExp(`(${IMAGE_FORMATS.join("|")})$`, "i");
54992
55466
  const VIDEO_FORMATS = ["mp4", "webm", "ogg", "mov", "avi", "flv", "wmv", "mkv", "ts", "m3u8"];
54993
55467
  const VIDEO_FORMATS_REGEXP = new RegExp(`(${VIDEO_FORMATS.join("|")})$`, "i");
54994
55468
  export {
54995
- _sfc_main$U as Accordion,
55469
+ _sfc_main$V as Accordion,
54996
55470
  AccordionItem,
54997
- _sfc_main$S as AddressSearch,
55471
+ _sfc_main$T as AddressSearch,
54998
55472
  Alert,
54999
55473
  Avatar,
55000
55474
  Badge,
55001
- _sfc_main$F as BagelForm,
55475
+ _sfc_main$G as BagelForm,
55002
55476
  BagelVue,
55003
- _sfc_main$G as BglField,
55004
- _sfc_main$F as BglForm,
55005
- _sfc_main$E as BglMultiStepForm,
55477
+ _sfc_main$H as BglField,
55478
+ _sfc_main$G as BglForm,
55479
+ _sfc_main$F as BglMultiStepForm,
55006
55480
  BglVideo,
55007
55481
  BottomMenu,
55008
55482
  Btn,
55009
- _sfc_main$M as Card,
55483
+ _sfc_main$N as Card,
55010
55484
  Carousel,
55011
55485
  CheckInput,
55012
55486
  Checkbox,
55013
- _sfc_main$B as ColorPicker,
55487
+ _sfc_main$C as ColorPicker,
55014
55488
  DataPreview,
55015
- _sfc_main$A as DateInput,
55016
- _sfc_main$z as DatePicker,
55017
- _sfc_main$I as Dropdown,
55489
+ _sfc_main$B as DateInput,
55490
+ _sfc_main$A as DatePicker,
55491
+ _sfc_main$J as Dropdown,
55018
55492
  $el as FileUpload,
55019
55493
  Flag,
55020
55494
  IMAGE_FORMATS,
55021
55495
  IMAGE_FORMATS_REGEXP,
55022
- _sfc_main$a as Icon,
55496
+ _sfc_main$b as Icon,
55023
55497
  JSONInput,
55024
55498
  Layout,
55025
- _sfc_main$K as Lineart,
55026
- _sfc_main$d as ListItem,
55499
+ _sfc_main$L as Lineart,
55500
+ _sfc_main$e as ListItem,
55027
55501
  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,
55502
+ _sfc_main$c as MapEmbed,
55503
+ _sfc_main$b as MaterialIcon,
55504
+ _sfc_main$a as Modal,
55505
+ _sfc_main$9 as ModalConfirm,
55032
55506
  ModalForm,
55033
55507
  ModalPlugin,
55034
55508
  NavBar,
55035
- _sfc_main$5 as PageTitle,
55036
- _sfc_main$w as PasswordInput,
55509
+ _sfc_main$6 as PageTitle,
55510
+ _sfc_main$x as PasswordInput,
55037
55511
  RadioGroup,
55038
55512
  RadioPillsInput,
55039
- _sfc_main$t as RichText,
55513
+ _sfc_main$u as RichText,
55040
55514
  index$1 as RichText2,
55041
55515
  RouterWrapper,
55042
55516
  SelectInput,
55043
55517
  SidebarMenu,
55044
- _sfc_main$p as SignaturePad,
55518
+ _sfc_main$q as SignaturePad,
55045
55519
  TabbedLayout,
55046
55520
  TableField,
55047
55521
  TableSchema,
55048
- _sfc_main$g as Tabs,
55049
- _sfc_main$f as TabsBody,
55522
+ _sfc_main$h as Tabs,
55523
+ _sfc_main$g as TabsBody,
55050
55524
  TabsNav,
55051
55525
  TelInput,
55052
55526
  TextInput,
55053
- _sfc_main$2 as Title,
55527
+ _sfc_main$3 as Title,
55054
55528
  ToggleInput,
55055
55529
  TopBar,
55056
55530
  VIDEO_FORMATS,
55057
55531
  VIDEO_FORMATS_REGEXP,
55532
+ Zoomer,
55058
55533
  allCountries,
55059
55534
  appendScript,
55060
55535
  bagelFormUtils,