@bagelink/vue 1.0.16 → 1.0.22

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
@@ -3,7 +3,7 @@ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { en
3
3
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
4
  import { defineComponent, reactive, provide, openBlock, createElementBlock, renderSlot, ref, computed, inject, watch, normalizeClass, createElementVNode, unref, createVNode, createCommentVNode, toDisplayString, Transition, withCtx, isRef, Fragment, renderList, createBlock, useSlots, resolveDirective, withDirectives, resolveDynamicComponent, mergeProps, withModifiers, withKeys, createTextVNode, normalizeStyle, useCssVars, onMounted, Comment, Text, nextTick, onBeforeUnmount, onUnmounted, resolveComponent, isVNode, h as h$2, getCurrentScope, onScopeDispose, toValue, getCurrentInstance, shallowRef, mergeModels, useModel, normalizeProps, vModelCheckbox, pushScopeId, popScopeId, guardReactiveProps, withScopeId, createApp, vModelText, vModelRadio, TransitionGroup, vModelDynamic, toRef, createSlots } from "vue";
5
5
  import { RouterLink } from "vue-router";
6
- const _sfc_main$1m = /* @__PURE__ */ defineComponent({
6
+ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
7
7
  __name: "Accordion",
8
8
  setup(__props) {
9
9
  const state2 = reactive({
@@ -17,10 +17,10 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
17
17
  };
18
18
  }
19
19
  });
20
- const _hoisted_1$19 = ["aria-expanded", "aria-controls"];
21
- const _hoisted_2$R = { class: "accordion-label" };
22
- const _hoisted_3$G = ["id", "aria-hidden"];
23
- const _sfc_main$1l = /* @__PURE__ */ defineComponent({
20
+ const _hoisted_1$1a = ["aria-expanded", "aria-controls"];
21
+ const _hoisted_2$S = { class: "accordion-label" };
22
+ const _hoisted_3$H = ["id", "aria-hidden"];
23
+ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
24
24
  __name: "AccordionItem",
25
25
  props: {
26
26
  label: {},
@@ -86,7 +86,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
86
86
  createVNode(unref(Icon), { icon: computedIcon.value }, null, 8, ["icon"])
87
87
  ], 2)) : createCommentVNode("", true),
88
88
  renderSlot(_ctx.$slots, "head", {}, () => [
89
- createElementVNode("span", _hoisted_2$R, toDisplayString(_ctx.label), 1)
89
+ createElementVNode("span", _hoisted_2$S, toDisplayString(_ctx.label), 1)
90
90
  ], true),
91
91
  iconPosition.value === "end" ? (openBlock(), createElementBlock("span", {
92
92
  key: 1,
@@ -94,7 +94,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
94
94
  }, [
95
95
  createVNode(unref(Icon), { icon: computedIcon.value }, null, 8, ["icon"])
96
96
  ], 2)) : createCommentVNode("", true)
97
- ], 8, _hoisted_1$19),
97
+ ], 8, _hoisted_1$1a),
98
98
  createVNode(Transition, { name: "expand" }, {
99
99
  default: withCtx(() => [
100
100
  unref(isOpen) ? (openBlock(), createElementBlock("div", {
@@ -104,7 +104,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
104
104
  "aria-hidden": unref(isOpen) ? "false" : "true"
105
105
  }, [
106
106
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
107
- ], 8, _hoisted_3$G)) : createCommentVNode("", true)
107
+ ], 8, _hoisted_3$H)) : createCommentVNode("", true)
108
108
  ]),
109
109
  _: 3
110
110
  })
@@ -119,9 +119,9 @@ const _export_sfc = (sfc, props2) => {
119
119
  }
120
120
  return target;
121
121
  };
122
- const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-3334f637"]]);
123
- const _hoisted_1$18 = { class: "relative" };
124
- const _sfc_main$1k = /* @__PURE__ */ defineComponent({
122
+ const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__scopeId", "data-v-3334f637"]]);
123
+ const _hoisted_1$19 = { class: "relative" };
124
+ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
125
125
  __name: "AddressSearch",
126
126
  emits: ["addressSelected"],
127
127
  setup(__props, { emit: __emit }) {
@@ -143,8 +143,8 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
143
143
  (_a = suggestion.value) == null ? void 0 : _a.show();
144
144
  }
145
145
  return (_ctx, _cache) => {
146
- return openBlock(), createElementBlock("div", _hoisted_1$18, [
147
- createVNode(unref(_sfc_main$V), {
146
+ return openBlock(), createElementBlock("div", _hoisted_1$19, [
147
+ createVNode(unref(_sfc_main$W), {
148
148
  ref_key: "suggestion",
149
149
  ref: suggestion,
150
150
  noAutoFocus: true,
@@ -162,7 +162,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
162
162
  createVNode(unref(ListView), { class: "-mt-2 hm-300px" }, {
163
163
  default: withCtx(() => [
164
164
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(searchResults), (result2, index2) => {
165
- return openBlock(), createBlock(unref(_sfc_main$g), {
165
+ return openBlock(), createBlock(unref(_sfc_main$h), {
166
166
  key: index2,
167
167
  icon: "location_on",
168
168
  title: result2.display_name,
@@ -179,11 +179,11 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
179
179
  };
180
180
  }
181
181
  });
182
- const _hoisted_1$17 = {
182
+ const _hoisted_1$18 = {
183
183
  key: 1,
184
184
  class: "bgl_btn-flex"
185
185
  };
186
- const _sfc_main$1j = /* @__PURE__ */ defineComponent({
186
+ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
187
187
  __name: "Btn",
188
188
  props: {
189
189
  disabled: { type: Boolean, default: false },
@@ -249,7 +249,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
249
249
  key: 0,
250
250
  class: "h-100p",
251
251
  size: "15"
252
- })) : (openBlock(), createElementBlock("div", _hoisted_1$17, [
252
+ })) : (openBlock(), createElementBlock("div", _hoisted_1$18, [
253
253
  _ctx.icon ? (openBlock(), createBlock(unref(Icon), {
254
254
  key: 0,
255
255
  icon: _ctx.icon,
@@ -273,10 +273,10 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
273
273
  };
274
274
  }
275
275
  });
276
- const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-bfc435b3"]]);
277
- const _hoisted_1$16 = ["dismissable"];
278
- const _hoisted_2$Q = { class: "m-0" };
279
- const _sfc_main$1i = /* @__PURE__ */ defineComponent({
276
+ const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-bfc435b3"]]);
277
+ const _hoisted_1$17 = ["dismissable"];
278
+ const _hoisted_2$R = { class: "m-0" };
279
+ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
280
280
  __name: "Alert",
281
281
  props: {
282
282
  message: {},
@@ -304,7 +304,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
304
304
  size: 2,
305
305
  color: color2[_ctx.type]
306
306
  }, null, 8, ["icon", "color"])) : createCommentVNode("", true),
307
- createElementVNode("p", _hoisted_2$Q, toDisplayString(_ctx.message), 1),
307
+ createElementVNode("p", _hoisted_2$R, toDisplayString(_ctx.message), 1),
308
308
  createVNode(Btn, {
309
309
  flat: "",
310
310
  thin: "",
@@ -312,13 +312,13 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
312
312
  icon: "close",
313
313
  onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
314
314
  })
315
- ], 10, _hoisted_1$16)) : createCommentVNode("", true);
315
+ ], 10, _hoisted_1$17)) : createCommentVNode("", true);
316
316
  };
317
317
  }
318
318
  });
319
- const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-064bdd20"]]);
320
- const _hoisted_1$15 = ["src", "alt"];
321
- const _sfc_main$1h = /* @__PURE__ */ defineComponent({
319
+ const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-064bdd20"]]);
320
+ const _hoisted_1$16 = ["src", "alt"];
321
+ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
322
322
  __name: "Avatar",
323
323
  props: {
324
324
  fallback: {},
@@ -336,7 +336,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
336
336
  key: 0,
337
337
  src: _ctx.src,
338
338
  alt: _ctx.name
339
- }, null, 8, _hoisted_1$15)) : (openBlock(), createElementBlock("p", {
339
+ }, null, 8, _hoisted_1$16)) : (openBlock(), createElementBlock("p", {
340
340
  key: 1,
341
341
  style: normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
342
342
  }, toDisplayString((_ctx.fallback || unref(initials)(_ctx.name || "")).toUpperCase()), 5))
@@ -344,8 +344,8 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
344
344
  };
345
345
  }
346
346
  });
347
- const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-46ad8c25"]]);
348
- const _sfc_main$1g = /* @__PURE__ */ defineComponent({
347
+ const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-46ad8c25"]]);
348
+ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
349
349
  __name: "Badge",
350
350
  props: {
351
351
  color: {},
@@ -374,11 +374,11 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
374
374
  };
375
375
  }
376
376
  });
377
- const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-689f051f"]]);
378
- const _hoisted_1$14 = ["src"];
379
- const _hoisted_2$P = ["autoplay", "muted", "loop", "controls", "playsinline"];
380
- const _hoisted_3$F = ["src", "type"];
381
- const _sfc_main$1f = /* @__PURE__ */ defineComponent({
377
+ const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-689f051f"]]);
378
+ const _hoisted_1$15 = ["src"];
379
+ const _hoisted_2$Q = ["autoplay", "muted", "loop", "controls", "playsinline"];
380
+ const _hoisted_3$G = ["src", "type"];
381
+ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
382
382
  __name: "BglVideo",
383
383
  props: {
384
384
  src: {},
@@ -455,7 +455,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
455
455
  allowfullscreen: "",
456
456
  title: "Video",
457
457
  allow: "autoplay"
458
- }, null, 12, _hoisted_1$14)) : _ctx.src ? (openBlock(), createElementBlock("video", {
458
+ }, null, 12, _hoisted_1$15)) : _ctx.src ? (openBlock(), createElementBlock("video", {
459
459
  key: 1,
460
460
  ref_key: "video",
461
461
  ref: video,
@@ -469,13 +469,13 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
469
469
  createElementVNode("source", {
470
470
  src: _ctx.src,
471
471
  type: `video/${videoFormat.value}`
472
- }, null, 8, _hoisted_3$F)
473
- ], 12, _hoisted_2$P)) : createCommentVNode("", true)
472
+ }, null, 8, _hoisted_3$G)
473
+ ], 12, _hoisted_2$Q)) : createCommentVNode("", true)
474
474
  ], 2);
475
475
  };
476
476
  }
477
477
  });
478
- const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__scopeId", "data-v-006552f6"]]);
478
+ const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-006552f6"]]);
479
479
  const languageKeys = {
480
480
  /** The following three keys, describe the calendar modes */
481
481
  week: {
@@ -606,9 +606,9 @@ function translate(key, locale2 = "en-US") {
606
606
  const language = languageKeys[key] || {};
607
607
  return language[locale2] || key;
608
608
  }
609
- const _hoisted_1$13 = { class: "flex gap-05 space-between pb-1 datePick" };
610
- const _hoisted_2$O = { class: "flex gap-1 m_gap-025" };
611
- const _sfc_main$1e = /* @__PURE__ */ defineComponent({
609
+ const _hoisted_1$14 = { class: "flex gap-05 space-between pb-1 datePick" };
610
+ const _hoisted_2$P = { class: "flex gap-1 m_gap-025" };
611
+ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
612
612
  __name: "Header",
613
613
  props: {
614
614
  config: {
@@ -686,8 +686,8 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
686
686
  emit2("updatedPeriod", currentPeriod.value);
687
687
  }
688
688
  return (_ctx, _cache) => {
689
- return openBlock(), createElementBlock("div", _hoisted_1$13, [
690
- createElementVNode("div", _hoisted_2$O, [
689
+ return openBlock(), createElementBlock("div", _hoisted_1$14, [
690
+ createElementVNode("div", _hoisted_2$P, [
691
691
  createVNode(unref(Btn), {
692
692
  flat: "",
693
693
  icon: "chevron_left",
@@ -737,23 +737,23 @@ const EVENT_COLORS = {
737
737
  };
738
738
  const DATE_TIME_STRING_PATTERN = /^\d{4}-\d{2}-\d{2} \d{2}:\d{2}$/;
739
739
  const DATE_TIME_STRING_FULL_DAY_PATTERN = /^\d{4}-\d{2}-\d{2}$/;
740
- const _hoisted_1$12 = ["id"];
741
- const _hoisted_2$N = { class: "flex txt14 flex column align-items-start gap-025 opacity-6" };
742
- const _hoisted_3$E = {
740
+ const _hoisted_1$13 = ["id"];
741
+ const _hoisted_2$O = { class: "flex txt14 flex column align-items-start gap-025 opacity-6" };
742
+ const _hoisted_3$F = {
743
743
  key: 0,
744
744
  class: "agenda__event-time flex gap-025"
745
745
  };
746
- const _hoisted_4$s = {
746
+ const _hoisted_4$t = {
747
747
  key: 1,
748
748
  class: "agenda__event-location flex gap-025"
749
749
  };
750
- const _hoisted_5$o = { class: "agenda__event-title" };
751
- const _hoisted_6$k = {
750
+ const _hoisted_5$p = { class: "agenda__event-title" };
751
+ const _hoisted_6$l = {
752
752
  key: 0,
753
753
  class: "agenda__event-with txt14 opacity-6"
754
754
  };
755
755
  const eventIdPrefix$1 = "agenda__event-";
756
- const _sfc_main$1d = /* @__PURE__ */ defineComponent({
756
+ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
757
757
  __name: "AgendaEventTile",
758
758
  props: {
759
759
  time: {
@@ -827,15 +827,15 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
827
827
  class: "agenda__event is-event rounded mb-05 pointer user-select-none p-1 grid gap-1",
828
828
  onClick: withModifiers(handleClickOnEvent, ["prevent"])
829
829
  }, [
830
- createElementVNode("div", _hoisted_2$N, [
831
- eventTime.value && !__props.calendarEvent.originalEvent ? (openBlock(), createElementBlock("span", _hoisted_3$E, [
830
+ createElementVNode("div", _hoisted_2$O, [
831
+ eventTime.value && !__props.calendarEvent.originalEvent ? (openBlock(), createElementBlock("span", _hoisted_3$F, [
832
832
  createVNode(unref(Icon), {
833
833
  icon: icons.clock,
834
834
  size: 0.8
835
835
  }, null, 8, ["icon"]),
836
836
  createTextVNode(" " + toDisplayString(eventTime.value), 1)
837
837
  ])) : createCommentVNode("", true),
838
- __props.calendarEvent.location ? (openBlock(), createElementBlock("span", _hoisted_4$s, [
838
+ __props.calendarEvent.location ? (openBlock(), createElementBlock("span", _hoisted_4$t, [
839
839
  createVNode(unref(Icon), {
840
840
  icon: icons.location,
841
841
  size: 1
@@ -844,33 +844,33 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
844
844
  ])) : createCommentVNode("", true)
845
845
  ]),
846
846
  createElementVNode("div", null, [
847
- createElementVNode("div", _hoisted_5$o, toDisplayString(__props.calendarEvent.title), 1),
848
- __props.calendarEvent.with ? (openBlock(), createElementBlock("div", _hoisted_6$k, [
847
+ createElementVNode("div", _hoisted_5$p, toDisplayString(__props.calendarEvent.title), 1),
848
+ __props.calendarEvent.with ? (openBlock(), createElementBlock("div", _hoisted_6$l, [
849
849
  createVNode(unref(Icon), {
850
850
  icon: icons.user
851
851
  }, null, 8, ["icon"]),
852
852
  createTextVNode(" " + toDisplayString(__props.calendarEvent.with), 1)
853
853
  ])) : createCommentVNode("", true)
854
854
  ])
855
- ], 8, _hoisted_1$12);
855
+ ], 8, _hoisted_1$13);
856
856
  };
857
857
  }
858
858
  });
859
- const AgendaEventTile = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-5740437b"]]);
860
- const _hoisted_1$11 = { class: "agenda__wrapper grid align-items-start gap-1 h-100p" };
861
- const _hoisted_2$M = { class: "m_sticky" };
862
- const _hoisted_3$D = { class: "agenda__header-day-name txt-center" };
863
- const _hoisted_4$r = { class: "agenda__header-date flex justify-content-center rounded p-025 txt24 line-height-04" };
864
- const _hoisted_5$n = { class: "agenda__content flex column w-100p h-100p min-h-100px pt-05 border-start ps-1 m_pt-0 min-h-50px" };
865
- const _hoisted_6$j = {
859
+ const AgendaEventTile = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-5740437b"]]);
860
+ const _hoisted_1$12 = { class: "agenda__wrapper grid align-items-start gap-1 h-100p" };
861
+ const _hoisted_2$N = { class: "m_sticky" };
862
+ const _hoisted_3$E = { class: "agenda__header-day-name txt-center" };
863
+ const _hoisted_4$s = { class: "agenda__header-date flex justify-content-center rounded p-025 txt24 line-height-04" };
864
+ const _hoisted_5$o = { class: "agenda__content flex column w-100p h-100p min-h-100px pt-05 border-start ps-1 m_pt-0 min-h-50px" };
865
+ const _hoisted_6$k = {
866
866
  key: 0,
867
867
  class: "align-items-center flex justify-content-center h-100p opacity-6"
868
868
  };
869
- const _hoisted_7$f = {
869
+ const _hoisted_7$g = {
870
870
  key: 1,
871
871
  class: "w-100p"
872
872
  };
873
- const _sfc_main$1c = /* @__PURE__ */ defineComponent({
873
+ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
874
874
  __name: "AgendaEvents",
875
875
  props: {
876
876
  config: {
@@ -890,13 +890,13 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
890
890
  setup(__props, { emit: __emit }) {
891
891
  const emit2 = __emit;
892
892
  return (_ctx, _cache) => {
893
- return openBlock(), createElementBlock("div", _hoisted_1$11, [
894
- createElementVNode("header", _hoisted_2$M, [
895
- createElementVNode("div", _hoisted_3$D, toDisplayString(__props.day.dayName.slice(0, 3)), 1),
896
- createElementVNode("div", _hoisted_4$r, toDisplayString(__props.day.dateTimeString.substring(8, 10)), 1)
893
+ return openBlock(), createElementBlock("div", _hoisted_1$12, [
894
+ createElementVNode("header", _hoisted_2$N, [
895
+ createElementVNode("div", _hoisted_3$E, toDisplayString(__props.day.dayName.slice(0, 3)), 1),
896
+ createElementVNode("div", _hoisted_4$s, toDisplayString(__props.day.dateTimeString.substring(8, 10)), 1)
897
897
  ]),
898
- createElementVNode("div", _hoisted_5$n, [
899
- __props.day.events.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_6$j, toDisplayString(unref(getLanguage)(unref(languageKeys).noEvent, __props.time.CALENDAR_LOCALE)), 1)) : (openBlock(), createElementBlock("div", _hoisted_7$f, [
898
+ createElementVNode("div", _hoisted_5$o, [
899
+ __props.day.events.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_6$k, toDisplayString(unref(getLanguage)(unref(languageKeys).noEvent, __props.time.CALENDAR_LOCALE)), 1)) : (openBlock(), createElementBlock("div", _hoisted_7$g, [
900
900
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.day.events, (dayEvent) => {
901
901
  return openBlock(), createBlock(AgendaEventTile, {
902
902
  key: `agenda_event_${dayEvent.id}`,
@@ -913,7 +913,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
913
913
  };
914
914
  }
915
915
  });
916
- const AgendaEvents = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-746fe0c6"]]);
916
+ const AgendaEvents = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-746fe0c6"]]);
917
917
  class EDate extends Date {
918
918
  get fullYear() {
919
919
  return this.getFullYear();
@@ -1592,25 +1592,25 @@ class EventFlyoutPosition {
1592
1592
  return { top: eventElementDOMRect.top, left: null };
1593
1593
  }
1594
1594
  }
1595
- const _hoisted_1$10 = {
1595
+ const _hoisted_1$11 = {
1596
1596
  key: 0,
1597
1597
  class: "event-flyout__relative-wrapper"
1598
1598
  };
1599
- const _hoisted_2$L = { class: "event-flyout__menu" };
1600
- const _hoisted_3$C = {
1599
+ const _hoisted_2$M = { class: "event-flyout__menu" };
1600
+ const _hoisted_3$D = {
1601
1601
  key: 0,
1602
1602
  class: "event-flyout__menu-editable"
1603
1603
  };
1604
- const _hoisted_4$q = { class: "event-flyout__menu-close" };
1605
- const _hoisted_5$m = {
1604
+ const _hoisted_4$r = { class: "event-flyout__menu-close" };
1605
+ const _hoisted_5$n = {
1606
1606
  key: 0,
1607
1607
  class: "event-flyout__info-wrapper"
1608
1608
  };
1609
- const _hoisted_6$i = {
1609
+ const _hoisted_6$j = {
1610
1610
  key: 0,
1611
1611
  class: "event-flyout__row is-title"
1612
1612
  };
1613
- const _hoisted_7$e = {
1613
+ const _hoisted_7$f = {
1614
1614
  key: 1,
1615
1615
  class: "event-flyout__row is-time"
1616
1616
  };
@@ -1630,8 +1630,8 @@ const _hoisted_11$6 = {
1630
1630
  key: 5,
1631
1631
  class: "event-flyout__row is-description"
1632
1632
  };
1633
- const _hoisted_12$6 = ["innerHTML"];
1634
- const _sfc_main$1b = /* @__PURE__ */ defineComponent({
1633
+ const _hoisted_12$5 = ["innerHTML"];
1634
+ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
1635
1635
  __name: "EventFlyout",
1636
1636
  props: {
1637
1637
  calendarEventProp: {
@@ -1804,9 +1804,9 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
1804
1804
  class: normalizeClass(["event-flyout p-05 bg-white", { "is-visible": isVisible.value, "is-not-editable": !isEditable.value }]),
1805
1805
  style: normalizeStyle(eventFlyoutInlineStyles.value)
1806
1806
  }, [
1807
- !__props.config.eventDialog || !__props.config.eventDialog.isCustom ? (openBlock(), createElementBlock("div", _hoisted_1$10, [
1808
- createElementVNode("div", _hoisted_2$L, [
1809
- isEditable.value ? (openBlock(), createElementBlock("span", _hoisted_3$C, [
1807
+ !__props.config.eventDialog || !__props.config.eventDialog.isCustom ? (openBlock(), createElementBlock("div", _hoisted_1$11, [
1808
+ createElementVNode("div", _hoisted_2$M, [
1809
+ isEditable.value ? (openBlock(), createElementBlock("span", _hoisted_3$D, [
1810
1810
  createVNode(unref(Icon), {
1811
1811
  class: "event-flyout__menu-item is-edit-icon",
1812
1812
  icon: icons.edit,
@@ -1818,7 +1818,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
1818
1818
  onClick: deleteEvent
1819
1819
  }, null, 8, ["icon"])
1820
1820
  ])) : createCommentVNode("", true),
1821
- createElementVNode("span", _hoisted_4$q, [
1821
+ createElementVNode("span", _hoisted_4$r, [
1822
1822
  createVNode(unref(Icon), {
1823
1823
  class: "event-flyout__menu-item is-times-icon",
1824
1824
  icon: icons.times,
@@ -1826,15 +1826,15 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
1826
1826
  }, null, 8, ["icon"])
1827
1827
  ])
1828
1828
  ]),
1829
- calendarEvent.value ? (openBlock(), createElementBlock("div", _hoisted_5$m, [
1830
- calendarEvent.value.title ? (openBlock(), createElementBlock("div", _hoisted_6$i, [
1829
+ calendarEvent.value ? (openBlock(), createElementBlock("div", _hoisted_5$n, [
1830
+ calendarEvent.value.title ? (openBlock(), createElementBlock("div", _hoisted_6$j, [
1831
1831
  createElementVNode("div", {
1832
1832
  class: "event-flyout__color-icon",
1833
1833
  style: normalizeStyle({ backgroundColor: eventBackgroundColor.value })
1834
1834
  }, null, 4),
1835
1835
  createTextVNode(" " + toDisplayString(calendarEvent.value.title), 1)
1836
1836
  ])) : createCommentVNode("", true),
1837
- calendarEvent.value.time ? (openBlock(), createElementBlock("div", _hoisted_7$e, toDisplayString(getEventTime.value), 1)) : createCommentVNode("", true),
1837
+ calendarEvent.value.time ? (openBlock(), createElementBlock("div", _hoisted_7$f, toDisplayString(getEventTime.value), 1)) : createCommentVNode("", true),
1838
1838
  calendarEvent.value.location ? (openBlock(), createElementBlock("div", _hoisted_8$9, [
1839
1839
  createVNode(unref(Icon), {
1840
1840
  icon: icons.location
@@ -1859,7 +1859,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
1859
1859
  }, null, 8, ["icon"]),
1860
1860
  createElementVNode("p", {
1861
1861
  innerHTML: calendarEvent.value.description
1862
- }, null, 8, _hoisted_12$6)
1862
+ }, null, 8, _hoisted_12$5)
1863
1863
  ])) : createCommentVNode("", true)
1864
1864
  ])) : createCommentVNode("", true)
1865
1865
  ])) : renderSlot(_ctx.$slots, "default", {
@@ -1871,19 +1871,19 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
1871
1871
  };
1872
1872
  }
1873
1873
  });
1874
- const _hoisted_1$$ = {
1874
+ const _hoisted_1$10 = {
1875
1875
  key: 0,
1876
1876
  class: "calendar-month__event"
1877
1877
  };
1878
- const _hoisted_2$K = ["id", "draggable"];
1879
- const _hoisted_3$B = ["id", "draggable"];
1880
- const _hoisted_4$p = {
1878
+ const _hoisted_2$L = ["id", "draggable"];
1879
+ const _hoisted_3$C = ["id", "draggable"];
1880
+ const _hoisted_4$q = {
1881
1881
  key: 0,
1882
1882
  class: "calendar-month__event-time opacity-6 flex-shrink-0"
1883
1883
  };
1884
- const _hoisted_5$l = { class: "calendar-month__event-title1 white-space ellipsis" };
1884
+ const _hoisted_5$m = { class: "calendar-month__event-title1 white-space ellipsis" };
1885
1885
  const eventIdPrefix = "calendar-month__event-";
1886
- const _sfc_main$1a = /* @__PURE__ */ defineComponent({
1886
+ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
1887
1887
  __name: "Event",
1888
1888
  props: {
1889
1889
  time: {
@@ -1963,7 +1963,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
1963
1963
  setColors();
1964
1964
  });
1965
1965
  return (_ctx, _cache) => {
1966
- return __props.config.isSmall ? (openBlock(), createElementBlock("div", _hoisted_1$$)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
1966
+ return __props.config.isSmall ? (openBlock(), createElementBlock("div", _hoisted_1$10)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
1967
1967
  isCustomEvent.value ? (openBlock(), createElementBlock("div", {
1968
1968
  key: 0,
1969
1969
  id: elementId.value,
@@ -1974,7 +1974,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
1974
1974
  onClick: handleClickOnEvent
1975
1975
  }, [
1976
1976
  renderSlot(_ctx.$slots, "monthEvent", { eventData: __props.calendarEvent }, void 0, true)
1977
- ], 42, _hoisted_2$K)) : (openBlock(), createElementBlock("div", {
1977
+ ], 42, _hoisted_2$L)) : (openBlock(), createElementBlock("div", {
1978
1978
  key: 1,
1979
1979
  id: elementId.value,
1980
1980
  "data-ref": "default-event",
@@ -1984,22 +1984,22 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
1984
1984
  onClick: handleClickOnEvent
1985
1985
  }, [
1986
1986
  _cache[0] || (_cache[0] = createElementVNode("span", { class: "calendar-month__event-color round flex-shrink-0" }, null, -1)),
1987
- eventTimeStart.value && !__props.calendarEvent.originalEvent ? (openBlock(), createElementBlock("span", _hoisted_4$p, toDisplayString(eventTimeStart.value), 1)) : createCommentVNode("", true),
1988
- createElementVNode("span", _hoisted_5$l, toDisplayString(__props.calendarEvent.title), 1)
1989
- ], 42, _hoisted_3$B))
1987
+ eventTimeStart.value && !__props.calendarEvent.originalEvent ? (openBlock(), createElementBlock("span", _hoisted_4$q, toDisplayString(eventTimeStart.value), 1)) : createCommentVNode("", true),
1988
+ createElementVNode("span", _hoisted_5$m, toDisplayString(__props.calendarEvent.title), 1)
1989
+ ], 42, _hoisted_3$C))
1990
1990
  ], 64));
1991
1991
  };
1992
1992
  }
1993
1993
  });
1994
- const Event = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-3c4101df"]]);
1995
- const _hoisted_1$_ = ["id"];
1996
- const _hoisted_2$J = { class: "w-100p flex justify-content-end txt14 p-025 m_h-100p" };
1997
- const _hoisted_3$A = { class: "calendar-month_events" };
1998
- const _hoisted_4$o = {
1994
+ const Event = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-3c4101df"]]);
1995
+ const _hoisted_1$$ = ["id"];
1996
+ const _hoisted_2$K = { class: "w-100p flex justify-content-end txt14 p-025 m_h-100p" };
1997
+ const _hoisted_3$B = { class: "calendar-month_events" };
1998
+ const _hoisted_4$p = {
1999
1999
  key: 1,
2000
2000
  class: "space-reserver"
2001
2001
  };
2002
- const _sfc_main$19 = /* @__PURE__ */ defineComponent({
2002
+ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
2003
2003
  __name: "Day",
2004
2004
  props: {
2005
2005
  config: {
@@ -2096,13 +2096,13 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
2096
2096
  onDragend: handleDragEnd
2097
2097
  }, [
2098
2098
  renderSlot(_ctx.$slots, "dayCell", { dayData: __props.day }, () => [
2099
- createElementVNode("div", _hoisted_2$J, [
2099
+ createElementVNode("div", _hoisted_2$K, [
2100
2100
  createElementVNode("p", {
2101
2101
  class: "calendar-month__day-date ms-auto flex aspect-ratio-1 w-30px h-30px justify-content-center m_mx-auto",
2102
2102
  onClick: emitDayWasClicked
2103
2103
  }, toDisplayString(__props.day.dateTimeString.substring(8, 10).startsWith("0") ? __props.day.dateTimeString.substring(9, 10) : __props.day.dateTimeString.substring(8, 10)), 1)
2104
2104
  ]),
2105
- createElementVNode("div", _hoisted_3$A, [
2105
+ createElementVNode("div", _hoisted_3$B, [
2106
2106
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.day.events, (calendarEvent, index2) => {
2107
2107
  return openBlock(), createElementBlock(Fragment, { key: index2 }, [
2108
2108
  index2 < 3 ? (openBlock(), createBlock(Event, {
@@ -2129,31 +2129,31 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
2129
2129
  }, toDisplayString(unref(getLanguage)(unref(languageKeys).moreEvents, __props.time.CALENDAR_LOCALE)), 1)) : createCommentVNode("", true)
2130
2130
  ])
2131
2131
  ], true)
2132
- ], 42, _hoisted_1$_)) : (openBlock(), createElementBlock("div", _hoisted_4$o));
2132
+ ], 42, _hoisted_1$$)) : (openBlock(), createElementBlock("div", _hoisted_4$p));
2133
2133
  };
2134
2134
  }
2135
2135
  });
2136
- const Day$1 = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-c1dfa100"]]);
2137
- const _hoisted_1$Z = { class: "txt12 normal block color-black pb-025" };
2138
- const _sfc_main$18 = /* @__PURE__ */ defineComponent({
2136
+ const Day$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-c1dfa100"]]);
2137
+ const _hoisted_1$_ = { class: "txt12 normal block color-black pb-025" };
2138
+ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
2139
2139
  __name: "WeekDay",
2140
2140
  props: {
2141
2141
  day: {}
2142
2142
  },
2143
2143
  setup(__props) {
2144
2144
  return (_ctx, _cache) => {
2145
- return openBlock(), createElementBlock("span", _hoisted_1$Z, toDisplayString(_ctx.day.dayName), 1);
2145
+ return openBlock(), createElementBlock("span", _hoisted_1$_, toDisplayString(_ctx.day.dayName), 1);
2146
2146
  };
2147
2147
  }
2148
2148
  });
2149
- const _hoisted_1$Y = { class: "calendar-month relative column w-100p h-100p overflow-y flex flex-stretch" };
2150
- const _hoisted_2$I = { class: "flex space-between" };
2151
- const _hoisted_3$z = { class: "calendar-month__weeks h-100p flex-grow flex flex-stretch column space-between" };
2152
- const _hoisted_4$n = {
2149
+ const _hoisted_1$Z = { class: "calendar-month relative column w-100p h-100p overflow-y flex flex-stretch" };
2150
+ const _hoisted_2$J = { class: "flex space-between" };
2151
+ const _hoisted_3$A = { class: "calendar-month__weeks h-100p flex-grow flex flex-stretch column space-between" };
2152
+ const _hoisted_4$o = {
2153
2153
  key: 0,
2154
2154
  class: "calendar-month__day_events w-100p pt-1 m_pb-1"
2155
2155
  };
2156
- const _sfc_main$17 = /* @__PURE__ */ defineComponent({
2156
+ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
2157
2157
  __name: "Month",
2158
2158
  props: {
2159
2159
  config: {
@@ -2255,10 +2255,10 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
2255
2255
  });
2256
2256
  return (_ctx, _cache) => {
2257
2257
  var _a;
2258
- return openBlock(), createElementBlock("div", _hoisted_1$Y, [
2259
- createElementVNode("div", _hoisted_2$I, [
2258
+ return openBlock(), createElementBlock("div", _hoisted_1$Z, [
2259
+ createElementVNode("div", _hoisted_2$J, [
2260
2260
  (openBlock(true), createElementBlock(Fragment, null, renderList(month.value[0], (day, dayIndex) => {
2261
- return openBlock(), createBlock(_sfc_main$18, {
2261
+ return openBlock(), createBlock(_sfc_main$19, {
2262
2262
  key: dayIndex,
2263
2263
  class: "txt-center flex-shrink flex-grow",
2264
2264
  config: __props.config,
@@ -2267,7 +2267,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
2267
2267
  }, null, 8, ["config", "day", "time"]);
2268
2268
  }), 128))
2269
2269
  ]),
2270
- createElementVNode("div", _hoisted_3$z, [
2270
+ createElementVNode("div", _hoisted_3$A, [
2271
2271
  (openBlock(true), createElementBlock(Fragment, null, renderList(month.value, (week, weekIndex) => {
2272
2272
  return openBlock(), createElementBlock("div", {
2273
2273
  key: weekIndex,
@@ -2298,7 +2298,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
2298
2298
  ]);
2299
2299
  }), 128))
2300
2300
  ]),
2301
- !(((_a = __props.config.month) == null ? void 0 : _a.showEventsOnMobileView) === false) ? (openBlock(), createElementBlock("div", _hoisted_4$n, [
2301
+ !(((_a = __props.config.month) == null ? void 0 : _a.showEventsOnMobileView) === false) ? (openBlock(), createElementBlock("div", _hoisted_4$o, [
2302
2302
  selectedDay.value ? (openBlock(), createBlock(AgendaEvents, {
2303
2303
  key: 0,
2304
2304
  config: __props.config,
@@ -2307,7 +2307,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
2307
2307
  onEventWasClicked: handleClickOnEvent
2308
2308
  }, null, 8, ["config", "time", "day"])) : createCommentVNode("", true)
2309
2309
  ])) : createCommentVNode("", true),
2310
- !__props.config.eventDialog || !__props.config.eventDialog.isDisabled ? (openBlock(), createBlock(_sfc_main$1b, {
2310
+ !__props.config.eventDialog || !__props.config.eventDialog.isDisabled ? (openBlock(), createBlock(_sfc_main$1c, {
2311
2311
  key: 1,
2312
2312
  "calendar-event-prop": selectedEvent.value,
2313
2313
  "event-element": selectedEventElement.value,
@@ -2532,27 +2532,27 @@ class EventChange {
2532
2532
  this.dayEnd = `${endHourString}:00`;
2533
2533
  }
2534
2534
  }
2535
- const _hoisted_1$X = ["data-ref"];
2536
- const _hoisted_2$H = { class: "calendar-week__event-row is-title" };
2537
- const _hoisted_3$y = { class: "calendar-week__event-row is-time flex" };
2538
- const _hoisted_4$m = {
2535
+ const _hoisted_1$Y = ["data-ref"];
2536
+ const _hoisted_2$I = { class: "calendar-week__event-row is-title" };
2537
+ const _hoisted_3$z = { class: "calendar-week__event-row is-time flex" };
2538
+ const _hoisted_4$n = {
2539
2539
  key: 0,
2540
2540
  class: "calendar-week__event-row is-location"
2541
2541
  };
2542
- const _hoisted_5$k = {
2542
+ const _hoisted_5$l = {
2543
2543
  key: 1,
2544
2544
  class: "calendar-week__event-row is-with"
2545
2545
  };
2546
- const _hoisted_6$h = {
2546
+ const _hoisted_6$i = {
2547
2547
  key: 2,
2548
2548
  class: "calendar-week__event-row is-topic"
2549
2549
  };
2550
- const _hoisted_7$d = {
2550
+ const _hoisted_7$e = {
2551
2551
  key: 3,
2552
2552
  class: "calendar-week__event-row is-description"
2553
2553
  };
2554
2554
  const _hoisted_8$8 = ["innerHTML"];
2555
- const _sfc_main$16 = /* @__PURE__ */ defineComponent({
2555
+ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
2556
2556
  __name: "DayEvent",
2557
2557
  props: {
2558
2558
  eventProp: {
@@ -2894,36 +2894,36 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
2894
2894
  backgroundColor: eventBackgroundColor.value
2895
2895
  })
2896
2896
  }, [
2897
- createElementVNode("div", _hoisted_2$H, toDisplayString(event.value.title), 1),
2898
- createElementVNode("div", _hoisted_3$y, [
2897
+ createElementVNode("div", _hoisted_2$I, toDisplayString(event.value.title), 1),
2898
+ createElementVNode("div", _hoisted_3$z, [
2899
2899
  createVNode(unref(Icon), {
2900
2900
  icon: icons.value.clock,
2901
2901
  class: "calendar-week__event-icon"
2902
2902
  }, null, 8, ["icon"]),
2903
2903
  createElementVNode("span", null, toDisplayString(getEventTime.value), 1)
2904
2904
  ]),
2905
- event.value.location ? (openBlock(), createElementBlock("div", _hoisted_4$m, [
2905
+ event.value.location ? (openBlock(), createElementBlock("div", _hoisted_4$n, [
2906
2906
  createVNode(unref(Icon), {
2907
2907
  icon: icons.value.location,
2908
2908
  class: "calendar-week__event-icon"
2909
2909
  }, null, 8, ["icon"]),
2910
2910
  createElementVNode("span", null, toDisplayString(event.value.location), 1)
2911
2911
  ])) : createCommentVNode("", true),
2912
- event.value.with ? (openBlock(), createElementBlock("div", _hoisted_5$k, [
2912
+ event.value.with ? (openBlock(), createElementBlock("div", _hoisted_5$l, [
2913
2913
  createVNode(unref(Icon), {
2914
2914
  icon: icons.value.user,
2915
2915
  class: "calendar-week__event-icon"
2916
2916
  }, null, 8, ["icon"]),
2917
2917
  createElementVNode("span", null, toDisplayString(event.value.with), 1)
2918
2918
  ])) : createCommentVNode("", true),
2919
- event.value.topic ? (openBlock(), createElementBlock("div", _hoisted_6$h, [
2919
+ event.value.topic ? (openBlock(), createElementBlock("div", _hoisted_6$i, [
2920
2920
  createVNode(unref(Icon), {
2921
2921
  icon: icons.value.topic,
2922
2922
  class: "calendar-week__event-icon"
2923
2923
  }, null, 8, ["icon"]),
2924
2924
  createElementVNode("span", null, toDisplayString(event.value.topic), 1)
2925
2925
  ])) : createCommentVNode("", true),
2926
- event.value.description ? (openBlock(), createElementBlock("div", _hoisted_7$d, [
2926
+ event.value.description ? (openBlock(), createElementBlock("div", _hoisted_7$e, [
2927
2927
  createVNode(unref(Icon), {
2928
2928
  icon: icons.value.description,
2929
2929
  class: "calendar-week__event-icon"
@@ -2953,13 +2953,13 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
2953
2953
  class: "calendar-week__event-resize calendar-week__event-resize-down",
2954
2954
  onMousedown: _cache[1] || (_cache[1] = ($event) => resizeEvent("down"))
2955
2955
  }, null, 32)) : createCommentVNode("", true)
2956
- ], 46, _hoisted_1$X);
2956
+ ], 46, _hoisted_1$Y);
2957
2957
  };
2958
2958
  }
2959
2959
  });
2960
- const DayEvent = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-c512b81d"]]);
2961
- const _hoisted_1$W = ["id", "onClick"];
2962
- const _sfc_main$15 = /* @__PURE__ */ defineComponent({
2960
+ const DayEvent = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-c512b81d"]]);
2961
+ const _hoisted_1$X = ["id", "onClick"];
2962
+ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
2963
2963
  __name: "Day",
2964
2964
  props: {
2965
2965
  day: {
@@ -3096,16 +3096,16 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
3096
3096
  class: normalizeClass(["calendar-week__day-interval", { "has-border": interval.hasBorder }]),
3097
3097
  style: normalizeStyle(intervalStyles.value),
3098
3098
  onClick: ($event) => handleClickOnInterval(interval)
3099
- }, toDisplayString(__props.time.getLocalizedTime(interval.intervalStart)), 15, _hoisted_1$W);
3099
+ }, toDisplayString(__props.time.getLocalizedTime(interval.intervalStart)), 15, _hoisted_1$X);
3100
3100
  }), 128)) : createCommentVNode("", true)
3101
3101
  ]);
3102
3102
  };
3103
3103
  }
3104
3104
  });
3105
- const Day = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-87669cec"]]);
3106
- const _hoisted_1$V = { class: "day-timeline absolute top-0 start-0 space-evenly column display-flex" };
3107
- const _hoisted_2$G = { class: "day-timeline__hour-text line-height-0" };
3108
- const _sfc_main$14 = /* @__PURE__ */ defineComponent({
3105
+ const Day = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-87669cec"]]);
3106
+ const _hoisted_1$W = { class: "day-timeline absolute top-0 start-0 space-evenly column display-flex" };
3107
+ const _hoisted_2$H = { class: "day-timeline__hour-text line-height-0" };
3108
+ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
3109
3109
  __name: "DayTimeline",
3110
3110
  props: {
3111
3111
  time: {
@@ -3131,27 +3131,27 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
3131
3131
  return props2.time.getLocalizedHour(new Date(2100, 1, 1, hour));
3132
3132
  }
3133
3133
  return (_ctx, _cache) => {
3134
- return openBlock(), createElementBlock("div", _hoisted_1$V, [
3134
+ return openBlock(), createElementBlock("div", _hoisted_1$W, [
3135
3135
  (openBlock(true), createElementBlock(Fragment, null, renderList(timelineHours.value, (hour) => {
3136
3136
  return openBlock(), createElementBlock("div", {
3137
3137
  key: hour,
3138
3138
  class: "day-timeline__hour display-flex column ustify-content-start h-100p ps-05"
3139
3139
  }, [
3140
- createElementVNode("span", _hoisted_2$G, toDisplayString(getLocaleTimeString(hour)), 1)
3140
+ createElementVNode("span", _hoisted_2$H, toDisplayString(getLocaleTimeString(hour)), 1)
3141
3141
  ]);
3142
3142
  }), 128))
3143
3143
  ]);
3144
3144
  };
3145
3145
  }
3146
3146
  });
3147
- const DayTimeline = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-0b3de5c5"]]);
3148
- const _hoisted_1$U = ["id"];
3149
- const _hoisted_2$F = {
3147
+ const DayTimeline = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-0b3de5c5"]]);
3148
+ const _hoisted_1$V = ["id"];
3149
+ const _hoisted_2$G = {
3150
3150
  key: 1,
3151
3151
  class: "week-timeline__event"
3152
3152
  };
3153
3153
  const eventElementIdPrefix = "week-timeline__event-id-";
3154
- const _sfc_main$13 = /* @__PURE__ */ defineComponent({
3154
+ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
3155
3155
  __name: "FullDayEvent",
3156
3156
  props: {
3157
3157
  scheduleEvent: {
@@ -3217,21 +3217,21 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
3217
3217
  zIndex: 1
3218
3218
  }),
3219
3219
  onClick: handleClickOnEvent
3220
- }, toDisplayString(__props.scheduleEvent.title), 13, _hoisted_1$U)) : (openBlock(), createElementBlock("div", _hoisted_2$F));
3220
+ }, toDisplayString(__props.scheduleEvent.title), 13, _hoisted_1$V)) : (openBlock(), createElementBlock("div", _hoisted_2$G));
3221
3221
  };
3222
3222
  }
3223
3223
  });
3224
- const FullDayEvent = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-8bd51337"]]);
3225
- const _hoisted_1$T = {
3224
+ const FullDayEvent = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-8bd51337"]]);
3225
+ const _hoisted_1$U = {
3226
3226
  class: "week-timeline flex space-between border-bottom ms-3-5",
3227
3227
  style: { "margin-inline-end": "0.5em" }
3228
3228
  };
3229
- const _hoisted_2$E = ["onClick"];
3230
- const _hoisted_3$x = { class: "flex justify-content-center gap-025 txt12 pb-025" };
3231
- const _hoisted_4$l = { class: "" };
3232
- const _hoisted_5$j = { class: "week-timeline__date txt14 round inline-flex justify-content-center" };
3233
- const _hoisted_6$g = { class: "week-timeline__events" };
3234
- const _sfc_main$12 = /* @__PURE__ */ defineComponent({
3229
+ const _hoisted_2$F = ["onClick"];
3230
+ const _hoisted_3$y = { class: "flex justify-content-center gap-025 txt12 pb-025" };
3231
+ const _hoisted_4$m = { class: "" };
3232
+ const _hoisted_5$k = { class: "week-timeline__date txt14 round inline-flex justify-content-center" };
3233
+ const _hoisted_6$h = { class: "week-timeline__events" };
3234
+ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
3235
3235
  __name: "WeekTimeline",
3236
3236
  props: {
3237
3237
  days: {},
@@ -3252,7 +3252,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
3252
3252
  return date2;
3253
3253
  }
3254
3254
  return (_ctx, _cache) => {
3255
- return openBlock(), createElementBlock("div", _hoisted_1$T, [
3255
+ return openBlock(), createElementBlock("div", _hoisted_1$U, [
3256
3256
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.days, (day, dayIndex) => {
3257
3257
  return openBlock(), createElementBlock("div", {
3258
3258
  key: dayIndex,
@@ -3261,11 +3261,11 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
3261
3261
  }]),
3262
3262
  onClick: ($event) => emit2("dayWasClicked", _ctx.time.dateStringFrom(day.dateTimeString))
3263
3263
  }, [
3264
- createElementVNode("div", _hoisted_3$x, [
3265
- createElementVNode("div", _hoisted_4$l, toDisplayString(day.dayName.charAt(0).toUpperCase() + day.dayName.slice(1, 3).toLowerCase()), 1),
3266
- createElementVNode("div", _hoisted_5$j, toDisplayString(getDaysDate(day)), 1)
3264
+ createElementVNode("div", _hoisted_3$y, [
3265
+ createElementVNode("div", _hoisted_4$m, toDisplayString(day.dayName.charAt(0).toUpperCase() + day.dayName.slice(1, 3).toLowerCase()), 1),
3266
+ createElementVNode("div", _hoisted_5$k, toDisplayString(getDaysDate(day)), 1)
3267
3267
  ]),
3268
- createElementVNode("div", _hoisted_6$g, [
3268
+ createElementVNode("div", _hoisted_6$h, [
3269
3269
  (openBlock(true), createElementBlock(Fragment, null, renderList(day.fullDayEvents, (event, key) => {
3270
3270
  return openBlock(), createElementBlock(Fragment, { key }, [
3271
3271
  key !== "date" ? (openBlock(), createBlock(FullDayEvent, {
@@ -3278,17 +3278,17 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
3278
3278
  ], 64);
3279
3279
  }), 128))
3280
3280
  ])
3281
- ], 10, _hoisted_2$E);
3281
+ ], 10, _hoisted_2$F);
3282
3282
  }), 128))
3283
3283
  ]);
3284
3284
  };
3285
3285
  }
3286
3286
  });
3287
- const WeekTimeline = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-18ecf6c3"]]);
3288
- const _hoisted_1$S = { class: "calendar-week__wrapper relative ps-3-5" };
3289
- const _hoisted_2$D = { class: "calendar-week" };
3290
- const _hoisted_3$w = { class: "calendar-week__events" };
3291
- const _sfc_main$11 = /* @__PURE__ */ defineComponent({
3287
+ const WeekTimeline = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-18ecf6c3"]]);
3288
+ const _hoisted_1$T = { class: "calendar-week__wrapper relative ps-3-5" };
3289
+ const _hoisted_2$E = { class: "calendar-week" };
3290
+ const _hoisted_3$x = { class: "calendar-week__events" };
3291
+ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
3292
3292
  __name: "Week",
3293
3293
  props: {
3294
3294
  config: {
@@ -3514,8 +3514,8 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
3514
3514
  onEventWasClicked: handleClickOnEvent,
3515
3515
  onDayWasClicked: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("dayWasClicked", $event))
3516
3516
  }, null, 8, ["days", "time", "full-day-events", "config", "mode"]),
3517
- createElementVNode("div", _hoisted_1$S, [
3518
- !__props.config.eventDialog || !__props.config.eventDialog.isDisabled ? (openBlock(), createBlock(_sfc_main$1b, {
3517
+ createElementVNode("div", _hoisted_1$T, [
3518
+ !__props.config.eventDialog || !__props.config.eventDialog.isDisabled ? (openBlock(), createBlock(_sfc_main$1c, {
3519
3519
  key: 0,
3520
3520
  "calendar-event-prop": selectedEvent.value,
3521
3521
  "event-element": selectedEventElement.value,
@@ -3533,7 +3533,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
3533
3533
  ]),
3534
3534
  _: 3
3535
3535
  }, 8, ["calendar-event-prop", "event-element", "time", "config"])) : createCommentVNode("", true),
3536
- createElementVNode("section", _hoisted_2$D, [
3536
+ createElementVNode("section", _hoisted_2$E, [
3537
3537
  hasCustomCurrentTimeSlot.value && showCurrentTime.value ? (openBlock(), createElementBlock("div", {
3538
3538
  key: 0,
3539
3539
  class: "custom-current-time",
@@ -3553,7 +3553,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
3553
3553
  "day-intervals": dayIntervals.value,
3554
3554
  "week-height": weekHeight.value
3555
3555
  }, null, 8, ["time", "day-intervals", "week-height"])),
3556
- createElementVNode("div", _hoisted_3$w, [
3556
+ createElementVNode("div", _hoisted_3$x, [
3557
3557
  (openBlock(true), createElementBlock(Fragment, null, renderList(days.value, (day, dayIndex) => {
3558
3558
  return openBlock(), createBlock(Day, {
3559
3559
  key: day.dateTimeString + mode.value + weekVersion.value,
@@ -3586,7 +3586,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
3586
3586
  };
3587
3587
  }
3588
3588
  });
3589
- const Week = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-f1a405b2"]]);
3589
+ const Week = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-f1a405b2"]]);
3590
3590
  const _Errors = class _Errors {
3591
3591
  static checkEventProperties(event) {
3592
3592
  var _a, _b, _c, _d;
@@ -3635,13 +3635,13 @@ ${_Errors.SUFFIX}`);
3635
3635
  __publicField(_Errors, "MISSING_TIME_END_WARNING", `${_Errors.PREFIX} required event property 'time.end' is missing
3636
3636
  ${_Errors.SUFFIX}`);
3637
3637
  let Errors = _Errors;
3638
- const _hoisted_1$R = { class: "calendar-root-wrapper txt16" };
3639
- const _hoisted_2$C = ["data-lang"];
3640
- const _hoisted_3$v = {
3638
+ const _hoisted_1$S = { class: "calendar-root-wrapper txt16" };
3639
+ const _hoisted_2$D = ["data-lang"];
3640
+ const _hoisted_3$w = {
3641
3641
  key: 0,
3642
3642
  class: "top-bar-loader"
3643
3643
  };
3644
- const _sfc_main$10 = /* @__PURE__ */ defineComponent({
3644
+ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
3645
3645
  __name: "Index",
3646
3646
  props: {
3647
3647
  config: {
@@ -3815,7 +3815,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
3815
3815
  }
3816
3816
  return (_ctx, _cache) => {
3817
3817
  var _a2, _b2;
3818
- return openBlock(), createElementBlock("div", _hoisted_1$R, [
3818
+ return openBlock(), createElementBlock("div", _hoisted_1$S, [
3819
3819
  createElementVNode("div", {
3820
3820
  ref_key: "calendarRoot",
3821
3821
  ref: calendarRoot,
@@ -3829,11 +3829,11 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
3829
3829
  }, [
3830
3830
  createVNode(Transition, { name: "loading" }, {
3831
3831
  default: withCtx(() => [
3832
- __props.isLoading ? (openBlock(), createElementBlock("div", _hoisted_3$v)) : createCommentVNode("", true)
3832
+ __props.isLoading ? (openBlock(), createElementBlock("div", _hoisted_3$w)) : createCommentVNode("", true)
3833
3833
  ]),
3834
3834
  _: 1
3835
3835
  }),
3836
- (openBlock(), createBlock(_sfc_main$1e, {
3836
+ (openBlock(), createBlock(_sfc_main$1f, {
3837
3837
  ref_key: "appHeaderRef",
3838
3838
  ref: appHeaderRef,
3839
3839
  key: wasInitialized.value + mode.value,
@@ -3885,7 +3885,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
3885
3885
  ]),
3886
3886
  _: 3
3887
3887
  }, 8, ["events-prop", "period", "config", "mode-prop", "time"])) : createCommentVNode("", true),
3888
- mode.value === "month" ? (openBlock(), createBlock(_sfc_main$17, {
3888
+ mode.value === "month" ? (openBlock(), createBlock(_sfc_main$18, {
3889
3889
  key: period.value.start.getTime() + period.value.end.getTime() + eventRenderingKey.value,
3890
3890
  "events-prop": eventsDataProperty.value,
3891
3891
  time: time.value,
@@ -3914,16 +3914,16 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
3914
3914
  ]),
3915
3915
  _: 3
3916
3916
  }, 8, ["events-prop", "time", "config", "period"])) : createCommentVNode("", true)
3917
- ], 10, _hoisted_2$C)
3917
+ ], 10, _hoisted_2$D)
3918
3918
  ]);
3919
3919
  };
3920
3920
  }
3921
3921
  });
3922
- const _hoisted_1$Q = {
3922
+ const _hoisted_1$R = {
3923
3923
  key: 0,
3924
3924
  class: "card_label"
3925
3925
  };
3926
- const _sfc_main$$ = /* @__PURE__ */ defineComponent({
3926
+ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
3927
3927
  __name: "Card",
3928
3928
  props: {
3929
3929
  label: {},
@@ -3952,7 +3952,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
3952
3952
  }])
3953
3953
  }, {
3954
3954
  default: withCtx(() => [
3955
- _ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$Q, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
3955
+ _ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$R, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
3956
3956
  renderSlot(_ctx.$slots, "default")
3957
3957
  ]),
3958
3958
  _: 3
@@ -3962,16 +3962,16 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
3962
3962
  };
3963
3963
  }
3964
3964
  });
3965
- const _hoisted_1$P = ["dir"];
3966
- const _hoisted_2$B = {
3965
+ const _hoisted_1$Q = ["dir"];
3966
+ const _hoisted_2$C = {
3967
3967
  key: 0,
3968
3968
  class: "dots"
3969
3969
  };
3970
- const _hoisted_3$u = ["onClick"];
3971
- const _hoisted_4$k = { class: "Handlers" };
3970
+ const _hoisted_3$v = ["onClick"];
3971
+ const _hoisted_4$l = { class: "Handlers" };
3972
3972
  const GAP_PERCENT = 1;
3973
3973
  const VELOCITY_SAMPLE_DURATION = 100;
3974
- const _sfc_main$_ = /* @__PURE__ */ defineComponent({
3974
+ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
3975
3975
  __name: "Carousel",
3976
3976
  props: {
3977
3977
  autoHeight: { type: Boolean, default: false },
@@ -4397,16 +4397,16 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
4397
4397
  }, [
4398
4398
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
4399
4399
  ], 38),
4400
- props2.dots && unref(slideCount) > 1 ? (openBlock(), createElementBlock("div", _hoisted_2$B, [
4400
+ props2.dots && unref(slideCount) > 1 ? (openBlock(), createElementBlock("div", _hoisted_2$C, [
4401
4401
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(slideCount), (i2) => {
4402
4402
  return openBlock(), createElementBlock("span", {
4403
4403
  key: i2,
4404
4404
  class: normalizeClass(["dot", { current: unref(activeSlideIndex) === i2 - 1 }]),
4405
4405
  onClick: ($event) => goToSlide(i2 - 1)
4406
- }, null, 10, _hoisted_3$u);
4406
+ }, null, 10, _hoisted_3$v);
4407
4407
  }), 128))
4408
4408
  ])) : createCommentVNode("", true),
4409
- createElementVNode("div", _hoisted_4$k, [
4409
+ createElementVNode("div", _hoisted_4$l, [
4410
4410
  createElementVNode("span", { onClick: prev }, [
4411
4411
  renderSlot(_ctx.$slots, "prev", {
4412
4412
  index: unref(activeSlideIndex),
@@ -4420,11 +4420,11 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
4420
4420
  }, void 0, true)
4421
4421
  ])
4422
4422
  ])
4423
- ], 14, _hoisted_1$P);
4423
+ ], 14, _hoisted_1$Q);
4424
4424
  };
4425
4425
  }
4426
4426
  });
4427
- const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__scopeId", "data-v-31632a3b"]]);
4427
+ const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-31632a3b"]]);
4428
4428
  function _isPlaceholder(a2) {
4429
4429
  return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
4430
4430
  }
@@ -9335,7 +9335,7 @@ const _hoisted_4$2$1 = {
9335
9335
  };
9336
9336
  const _hoisted_5$2$1 = ["x1", "y1", "x2", "y2"];
9337
9337
  const _hoisted_6$2$1 = ["x1", "y1", "x2", "y2"];
9338
- const _hoisted_7$c = ["x1", "y1", "x2", "y2"];
9338
+ const _hoisted_7$d = ["x1", "y1", "x2", "y2"];
9339
9339
  function render$5(_ctx, _cache, $props, $setup, $data, $options) {
9340
9340
  return _ctx.data.length ? (openBlock(), createElementBlock("g", {
9341
9341
  key: 0,
@@ -9391,7 +9391,7 @@ function render$5(_ctx, _cache, $props, $setup, $data, $options) {
9391
9391
  y1: _ctx.canvas.y,
9392
9392
  x2: _ctx.canvas.width - 1,
9393
9393
  y2: _ctx.canvas.height
9394
- }, null, 8, _hoisted_7$c)
9394
+ }, null, 8, _hoisted_7$d)
9395
9395
  ])
9396
9396
  ], 8, _hoisted_1$4$1)) : createCommentVNode("v-if", true);
9397
9397
  }
@@ -10258,10 +10258,10 @@ const _hoisted_1$1$1 = {
10258
10258
  style: { display: "flex", position: "relative" }
10259
10259
  };
10260
10260
  const _hoisted_2$1$1 = ["width", "height", "viewBox"];
10261
- const _hoisted_3$t = { class: "layer-rectangles" };
10262
- const _hoisted_4$j = ["transform", "onMouseover"];
10263
- const _hoisted_5$i = ["width", "height"];
10264
- const _hoisted_6$f = {
10261
+ const _hoisted_3$u = { class: "layer-rectangles" };
10262
+ const _hoisted_4$k = ["transform", "onMouseover"];
10263
+ const _hoisted_5$j = ["width", "height"];
10264
+ const _hoisted_6$g = {
10265
10265
  x: 0 + 10,
10266
10266
  y: 0 + 20,
10267
10267
  "font-size": `15px`,
@@ -10276,7 +10276,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
10276
10276
  viewBox: `0 0 ${_ctx.size.width} ${_ctx.size.height}`,
10277
10277
  ref: "el"
10278
10278
  }, [
10279
- createElementVNode("g", _hoisted_3$t, [
10279
+ createElementVNode("g", _hoisted_3$u, [
10280
10280
  (openBlock(true), createElementBlock(
10281
10281
  Fragment,
10282
10282
  null,
@@ -10297,21 +10297,21 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
10297
10297
  y: 0,
10298
10298
  width: r2.width,
10299
10299
  height: r2.height
10300
- }), null, 16, _hoisted_5$i),
10300
+ }), null, 16, _hoisted_5$j),
10301
10301
  renderSlot(_ctx.$slots, "text", {
10302
10302
  r: r2,
10303
10303
  selected: _ctx.selected === i2
10304
10304
  }, () => [
10305
10305
  createElementVNode(
10306
10306
  "text",
10307
- _hoisted_6$f,
10307
+ _hoisted_6$g,
10308
10308
  toDisplayString(r2.data.name),
10309
10309
  1
10310
10310
  /* TEXT */
10311
10311
  )
10312
10312
  ])
10313
10313
  ])
10314
- ], 42, _hoisted_4$j);
10314
+ ], 42, _hoisted_4$k);
10315
10315
  }),
10316
10316
  128
10317
10317
  /* KEYED_FRAGMENT */
@@ -10368,25 +10368,25 @@ var script = defineComponent({
10368
10368
  return { bar, canvas, direction, mouse };
10369
10369
  }
10370
10370
  });
10371
- const _hoisted_1$O = {
10371
+ const _hoisted_1$P = {
10372
10372
  key: 0,
10373
10373
  class: "layer-hover-bar"
10374
10374
  };
10375
- const _hoisted_2$A = ["x", "y", "width", "height"];
10375
+ const _hoisted_2$B = ["x", "y", "width", "height"];
10376
10376
  function render(_ctx, _cache, $props, $setup, $data, $options) {
10377
- return _ctx.mouse.hover ? (openBlock(), createElementBlock("g", _hoisted_1$O, [
10377
+ return _ctx.mouse.hover ? (openBlock(), createElementBlock("g", _hoisted_1$P, [
10378
10378
  createElementVNode("rect", mergeProps({ class: "hover-bar" }, _ctx.barStyle, {
10379
10379
  x: _ctx.bar.x,
10380
10380
  y: _ctx.bar.y,
10381
10381
  width: _ctx.bar.width > 0 ? _ctx.bar.width : 0,
10382
10382
  height: _ctx.bar.height > 0 ? _ctx.bar.height : 0
10383
- }), null, 16, _hoisted_2$A)
10383
+ }), null, 16, _hoisted_2$B)
10384
10384
  ])) : createCommentVNode("v-if", true);
10385
10385
  }
10386
10386
  script.render = render;
10387
10387
  script.__file = "src/components/HoverBar/index.vue";
10388
10388
  const BRAND_COLOR = "var(--bgl-primary)";
10389
- const _sfc_main$Z = /* @__PURE__ */ defineComponent({
10389
+ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
10390
10390
  __name: "Lineart",
10391
10391
  props: {
10392
10392
  data: {},
@@ -10536,8 +10536,8 @@ function useSchemaField(optns) {
10536
10536
  text: TextInput,
10537
10537
  textarea: TextInput,
10538
10538
  number: NumberInput,
10539
- array: _sfc_main$R,
10540
- color: _sfc_main$N,
10539
+ array: _sfc_main$S,
10540
+ color: _sfc_main$O,
10541
10541
  tel: TelInput,
10542
10542
  select: SelectInput,
10543
10543
  toggle: ToggleInput,
@@ -10547,7 +10547,8 @@ function useSchemaField(optns) {
10547
10547
  file: UploadInput,
10548
10548
  date: DateInput,
10549
10549
  tabs: TabsNav,
10550
- form: _sfc_main$S
10550
+ form: _sfc_main$T,
10551
+ range: RangeInput
10551
10552
  };
10552
10553
  if (field.$el === "textarea" && !((_a = field.attrs) == null ? void 0 : _a.multiline)) {
10553
10554
  field.attrs = { ...field.attrs, multiline: true };
@@ -10760,8 +10761,8 @@ function useTableData(options) {
10760
10761
  toggleSort
10761
10762
  };
10762
10763
  }
10763
- const _hoisted_1$N = { class: "data-preview" };
10764
- const _sfc_main$Y = /* @__PURE__ */ defineComponent({
10764
+ const _hoisted_1$O = { class: "data-preview" };
10765
+ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
10765
10766
  __name: "DataPreview",
10766
10767
  props: {
10767
10768
  schema: { type: Function },
@@ -10792,7 +10793,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
10792
10793
  includeUnset: props2.includeUnset
10793
10794
  });
10794
10795
  return (_ctx, _cache) => {
10795
- return openBlock(), createElementBlock("div", _hoisted_1$N, [
10796
+ return openBlock(), createElementBlock("div", _hoisted_1$O, [
10796
10797
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(computedSchema), (field) => {
10797
10798
  return openBlock(), createBlock(resolveDynamicComponent(unref(renderField)(field, unref(slots))), {
10798
10799
  key: field.id
@@ -10802,7 +10803,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
10802
10803
  };
10803
10804
  }
10804
10805
  });
10805
- const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-74c7df87"]]);
10806
+ const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-74c7df87"]]);
10806
10807
  function useTableSelection(options) {
10807
10808
  const allSelectorEl = ref();
10808
10809
  const computedSelectedItems = computed(() => options.selectedItems.value);
@@ -11431,20 +11432,20 @@ function useTableVirtualization(options) {
11431
11432
  registerLastItemObserver
11432
11433
  };
11433
11434
  }
11434
- const _hoisted_1$M = {
11435
+ const _hoisted_1$N = {
11435
11436
  key: 0,
11436
11437
  class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
11437
11438
  };
11438
- const _hoisted_2$z = { class: "infinite-wrapper" };
11439
- const _hoisted_3$s = { class: "row first-row" };
11440
- const _hoisted_4$i = { key: 0 };
11441
- const _hoisted_5$h = ["onClick"];
11442
- const _hoisted_6$e = { class: "flex" };
11443
- const _hoisted_7$b = ["onClick"];
11439
+ const _hoisted_2$A = { class: "infinite-wrapper" };
11440
+ const _hoisted_3$t = { class: "row first-row" };
11441
+ const _hoisted_4$j = { key: 0 };
11442
+ const _hoisted_5$i = ["onClick"];
11443
+ const _hoisted_6$f = { class: "flex" };
11444
+ const _hoisted_7$c = ["onClick"];
11444
11445
  const _hoisted_8$7 = { key: 0 };
11445
11446
  const _hoisted_9$6 = ["value"];
11446
11447
  const _hoisted_10$6 = { key: 1 };
11447
- const _sfc_main$X = /* @__PURE__ */ defineComponent({
11448
+ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
11448
11449
  __name: "DataTable",
11449
11450
  props: /* @__PURE__ */ mergeModels({
11450
11451
  data: {},
@@ -11564,12 +11565,12 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
11564
11565
  return openBlock(), createElementBlock("div", mergeProps({ class: "table-list-wrap h-100" }, unref(containerProps), {
11565
11566
  class: { "loading-table": loading.value }
11566
11567
  }), [
11567
- loading.value ? (openBlock(), createElementBlock("div", _hoisted_1$M, _cache[4] || (_cache[4] = [
11568
+ loading.value ? (openBlock(), createElementBlock("div", _hoisted_1$N, _cache[4] || (_cache[4] = [
11568
11569
  createElementVNode("div", { class: "loading-table-animation absolute oval" }, null, -1)
11569
11570
  ]))) : (openBlock(), createElementBlock("div", normalizeProps(mergeProps({ key: 1 }, unref(wrapperProps))), [
11570
- createElementVNode("table", _hoisted_2$z, [
11571
- createElementVNode("thead", _hoisted_3$s, [
11572
- unref(isSelectable) ? (openBlock(), createElementBlock("th", _hoisted_4$i, [
11571
+ createElementVNode("table", _hoisted_2$A, [
11572
+ createElementVNode("thead", _hoisted_3$t, [
11573
+ unref(isSelectable) ? (openBlock(), createElementBlock("th", _hoisted_4$j, [
11573
11574
  createElementVNode("input", {
11574
11575
  ref_key: "allSelectorEl",
11575
11576
  ref: allSelectorEl,
@@ -11586,7 +11587,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
11586
11587
  class: "col",
11587
11588
  onClick: ($event) => unref(toggleSort)((field == null ? void 0 : field.id) || "")
11588
11589
  }, [
11589
- createElementVNode("div", _hoisted_6$e, [
11590
+ createElementVNode("div", _hoisted_6$f, [
11590
11591
  createTextVNode(toDisplayString(field.label || unref(keyToLabel)(field.id)) + " ", 1),
11591
11592
  createElementVNode("div", {
11592
11593
  class: normalizeClass(["list-arrows", { sorted: unref(sortField) === field.id }])
@@ -11597,7 +11598,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
11597
11598
  }, null, 8, ["class"])
11598
11599
  ], 2)
11599
11600
  ])
11600
- ], 8, _hoisted_5$h);
11601
+ ], 8, _hoisted_5$i);
11601
11602
  }), 128))
11602
11603
  ]),
11603
11604
  createElementVNode("tbody", null, [
@@ -11635,7 +11636,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
11635
11636
  ]))
11636
11637
  ]);
11637
11638
  }), 128))
11638
- ], 10, _hoisted_7$b);
11639
+ ], 10, _hoisted_7$c);
11639
11640
  }), 128)),
11640
11641
  props2.onLastItemVisible !== void 0 ? (openBlock(), createElementBlock("tr", {
11641
11642
  key: 0,
@@ -11650,7 +11651,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
11650
11651
  };
11651
11652
  }
11652
11653
  });
11653
- const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__scopeId", "data-v-89f6838b"]]);
11654
+ const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-89f6838b"]]);
11654
11655
  function useDraggable(options = {}) {
11655
11656
  const isDragging = ref(false);
11656
11657
  const dragElement = ref(null);
@@ -12125,7 +12126,7 @@ function useDraggable(options = {}) {
12125
12126
  initDraggableContainer
12126
12127
  };
12127
12128
  }
12128
- const _sfc_main$W = /* @__PURE__ */ defineComponent({
12129
+ const _sfc_main$X = /* @__PURE__ */ defineComponent({
12129
12130
  __name: "Draggable",
12130
12131
  props: {
12131
12132
  modelValue: {},
@@ -14745,7 +14746,7 @@ const Gt = {
14745
14746
  install: Ct,
14746
14747
  options: h
14747
14748
  };
14748
- const _sfc_main$V = /* @__PURE__ */ defineComponent({
14749
+ const _sfc_main$W = /* @__PURE__ */ defineComponent({
14749
14750
  __name: "Dropdown",
14750
14751
  props: /* @__PURE__ */ mergeModels({
14751
14752
  value: {},
@@ -14828,9 +14829,9 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
14828
14829
  };
14829
14830
  }
14830
14831
  });
14831
- const _hoisted_1$L = { class: "px-1 pt-025 pb-1" };
14832
- const _hoisted_2$y = { class: "ms-1" };
14833
- const _sfc_main$U = /* @__PURE__ */ defineComponent({
14832
+ const _hoisted_1$M = { class: "px-1 pt-025 pb-1" };
14833
+ const _hoisted_2$z = { class: "ms-1" };
14834
+ const _sfc_main$V = /* @__PURE__ */ defineComponent({
14834
14835
  __name: "FieldSetVue",
14835
14836
  props: {
14836
14837
  label: {},
@@ -14838,15 +14839,15 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
14838
14839
  },
14839
14840
  setup(__props) {
14840
14841
  return (_ctx, _cache) => {
14841
- return openBlock(), createElementBlock("fieldset", _hoisted_1$L, [
14842
- createElementVNode("legend", _hoisted_2$y, toDisplayString(_ctx.legend || _ctx.label), 1),
14842
+ return openBlock(), createElementBlock("fieldset", _hoisted_1$M, [
14843
+ createElementVNode("legend", _hoisted_2$z, toDisplayString(_ctx.legend || _ctx.label), 1),
14843
14844
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
14844
14845
  ]);
14845
14846
  };
14846
14847
  }
14847
14848
  });
14848
- const FieldSetVue = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-f7e758e5"]]);
14849
- const _sfc_main$T = /* @__PURE__ */ defineComponent({
14849
+ const FieldSetVue = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-f7e758e5"]]);
14850
+ const _sfc_main$U = /* @__PURE__ */ defineComponent({
14850
14851
  __name: "Flag",
14851
14852
  props: {
14852
14853
  country: {},
@@ -14876,7 +14877,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
14876
14877
  };
14877
14878
  }
14878
14879
  });
14879
- const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-f99f1900"]]);
14880
+ const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-f99f1900"]]);
14880
14881
  function getBaseField(id, labelOrRest = {}, rest = {}) {
14881
14882
  if (typeof labelOrRest === "object") return { id, ...labelOrRest };
14882
14883
  return { id, label: labelOrRest, ...rest };
@@ -14997,6 +14998,22 @@ function uploadField(id, label, options) {
14997
14998
  }
14998
14999
  };
14999
15000
  }
15001
+ function rangeField(id, label, options) {
15002
+ return {
15003
+ $el: "range",
15004
+ id,
15005
+ label,
15006
+ vIf: options == null ? void 0 : options.vIf,
15007
+ attrs: {
15008
+ min: options == null ? void 0 : options.min,
15009
+ max: options == null ? void 0 : options.max,
15010
+ step: options == null ? void 0 : options.step,
15011
+ rtl: options == null ? void 0 : options.rtl,
15012
+ multiRange: options == null ? void 0 : options.multiRange,
15013
+ formatValue: options == null ? void 0 : options.formatValue
15014
+ }
15015
+ };
15016
+ }
15000
15017
  function bglForm(idOrField, ...schema) {
15001
15018
  if (typeof idOrField === "string") {
15002
15019
  return {
@@ -15065,6 +15082,7 @@ const bagelFormUtils = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defi
15065
15082
  frmRow: frmRow$1,
15066
15083
  getBaseField,
15067
15084
  numField: numField$1,
15085
+ rangeField,
15068
15086
  richText,
15069
15087
  selectField,
15070
15088
  slctField,
@@ -15269,7 +15287,7 @@ function getNestedValue(obj, path, defaultValue = void 0) {
15269
15287
  }
15270
15288
  return current ?? defaultValue;
15271
15289
  }
15272
- const _sfc_main$S = /* @__PURE__ */ defineComponent({
15290
+ const _sfc_main$T = /* @__PURE__ */ defineComponent({
15273
15291
  __name: "BagelForm",
15274
15292
  props: {
15275
15293
  modelValue: { default: void 0 },
@@ -15403,13 +15421,13 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
15403
15421
  };
15404
15422
  }
15405
15423
  });
15406
- const _hoisted_1$K = { class: "label mb-05" };
15407
- const _hoisted_2$x = {
15424
+ const _hoisted_1$L = { class: "label mb-05" };
15425
+ const _hoisted_2$y = {
15408
15426
  key: 0,
15409
15427
  class: "ps-025 border-start mb-05"
15410
15428
  };
15411
- const _hoisted_3$r = { class: "bg-gray-80 -my-05 px-025 pt-065 txt-center" };
15412
- const _sfc_main$R = /* @__PURE__ */ defineComponent({
15429
+ const _hoisted_3$s = { class: "bg-gray-80 -my-05 px-025 pt-065 txt-center" };
15430
+ const _sfc_main$S = /* @__PURE__ */ defineComponent({
15413
15431
  __name: "FieldArray",
15414
15432
  props: {
15415
15433
  el: { default: "div" },
@@ -15477,8 +15495,8 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
15477
15495
  return openBlock(), createElementBlock("div", {
15478
15496
  class: normalizeClass(props2.class)
15479
15497
  }, [
15480
- createElementVNode("p", _hoisted_1$K, toDisplayString(_ctx.label), 1),
15481
- _ctx.schema ? (openBlock(), createElementBlock("div", _hoisted_2$x, [
15498
+ createElementVNode("p", _hoisted_1$L, toDisplayString(_ctx.label), 1),
15499
+ _ctx.schema ? (openBlock(), createElementBlock("div", _hoisted_2$y, [
15482
15500
  (openBlock(true), createElementBlock(Fragment, null, renderList(data2.value, (_2, i2) => {
15483
15501
  return openBlock(), createElementBlock("div", {
15484
15502
  key: i2,
@@ -15486,12 +15504,12 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
15486
15504
  thin: "",
15487
15505
  class: "mb-05 itemBox transition ps-05 pb-025 pt-025 radius-05 gap-05 overflow-hidden"
15488
15506
  }, [
15489
- createVNode(unref(_sfc_main$S), {
15507
+ createVNode(unref(_sfc_main$T), {
15490
15508
  modelValue: data2.value[i2],
15491
15509
  "onUpdate:modelValue": [($event) => data2.value[i2] = $event, emitValue],
15492
15510
  schema: _ctx.schema
15493
15511
  }, null, 8, ["modelValue", "onUpdate:modelValue", "schema"]),
15494
- createElementVNode("div", _hoisted_3$r, [
15512
+ createElementVNode("div", _hoisted_3$s, [
15495
15513
  props2.delete ? (openBlock(), createBlock(unref(Btn), {
15496
15514
  key: 0,
15497
15515
  icon: "delete",
@@ -15526,8 +15544,8 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
15526
15544
  };
15527
15545
  }
15528
15546
  });
15529
- const _hoisted_1$J = { class: "primary-checkbox" };
15530
- const _sfc_main$Q = /* @__PURE__ */ defineComponent({
15547
+ const _hoisted_1$K = { class: "primary-checkbox" };
15548
+ const _sfc_main$R = /* @__PURE__ */ defineComponent({
15531
15549
  __name: "Checkbox",
15532
15550
  props: {
15533
15551
  "modelValue": { type: Boolean, ...{ default: false } },
@@ -15537,7 +15555,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
15537
15555
  setup(__props) {
15538
15556
  const val = useModel(__props, "modelValue");
15539
15557
  return (_ctx, _cache) => {
15540
- return openBlock(), createElementBlock("label", _hoisted_1$J, [
15558
+ return openBlock(), createElementBlock("label", _hoisted_1$K, [
15541
15559
  renderSlot(_ctx.$slots, "label", {}, void 0, true),
15542
15560
  withDirectives(createElementVNode("input", {
15543
15561
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => val.value = $event),
@@ -15549,11 +15567,11 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
15549
15567
  };
15550
15568
  }
15551
15569
  });
15552
- const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-73f1d9ad"]]);
15553
- const _hoisted_1$I = ["title"];
15554
- const _hoisted_2$w = ["id", "value", "required"];
15555
- const _hoisted_3$q = ["for"];
15556
- const _sfc_main$P = /* @__PURE__ */ defineComponent({
15570
+ const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-73f1d9ad"]]);
15571
+ const _hoisted_1$J = ["title"];
15572
+ const _hoisted_2$x = ["id", "value", "required"];
15573
+ const _hoisted_3$r = ["for"];
15574
+ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
15557
15575
  __name: "CheckInput",
15558
15576
  props: /* @__PURE__ */ mergeModels({
15559
15577
  label: {},
@@ -15587,32 +15605,32 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
15587
15605
  required: _ctx.required,
15588
15606
  type: "checkbox",
15589
15607
  class: "me-05"
15590
- }, null, 8, _hoisted_2$w), [
15608
+ }, null, 8, _hoisted_2$x), [
15591
15609
  [vModelCheckbox, checked.value]
15592
15610
  ]),
15593
15611
  createElementVNode("label", { for: inputId.value }, [
15594
15612
  renderSlot(_ctx.$slots, "label", {}, () => [
15595
15613
  createTextVNode(toDisplayString(_ctx.label), 1)
15596
15614
  ], true)
15597
- ], 8, _hoisted_3$q)
15598
- ], 10, _hoisted_1$I);
15615
+ ], 8, _hoisted_3$r)
15616
+ ], 10, _hoisted_1$J);
15599
15617
  };
15600
15618
  }
15601
15619
  });
15602
- const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-03ed2982"]]);
15603
- const _hoisted_1$H = { class: "mb-05" };
15604
- const _hoisted_2$v = {
15620
+ const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-03ed2982"]]);
15621
+ const _hoisted_1$I = { class: "mb-05" };
15622
+ const _hoisted_2$w = {
15605
15623
  key: 0,
15606
15624
  class: "label txt-start"
15607
15625
  };
15608
- const _hoisted_3$p = {
15626
+ const _hoisted_3$q = {
15609
15627
  key: 1,
15610
15628
  class: "code-editor-wrap grid rounded p-1 overflow hm-300px ltr txt-start relative h-100p"
15611
15629
  };
15612
- const _hoisted_4$h = { class: "overflow-hidden absolute inset-0 p-0 m-0 h-100 codeText" };
15613
- const _hoisted_5$g = ["innerHTML"];
15614
- const _hoisted_6$d = ["onKeydown"];
15615
- const _sfc_main$O = /* @__PURE__ */ defineComponent({
15630
+ const _hoisted_4$i = { class: "overflow-hidden absolute inset-0 p-0 m-0 h-100 codeText" };
15631
+ const _hoisted_5$h = ["innerHTML"];
15632
+ const _hoisted_6$e = ["onKeydown"];
15633
+ const _sfc_main$P = /* @__PURE__ */ defineComponent({
15616
15634
  __name: "Index",
15617
15635
  props: {
15618
15636
  language: {},
@@ -15694,19 +15712,19 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
15694
15712
  }
15695
15713
  }, { immediate: true });
15696
15714
  return (_ctx, _cache) => {
15697
- return openBlock(), createElementBlock("div", _hoisted_1$H, [
15698
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$v, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
15699
- unref(loaded) ? (openBlock(), createElementBlock("div", _hoisted_3$p, [
15715
+ return openBlock(), createElementBlock("div", _hoisted_1$I, [
15716
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$w, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
15717
+ unref(loaded) ? (openBlock(), createElementBlock("div", _hoisted_3$q, [
15700
15718
  createElementVNode("div", {
15701
15719
  class: "relative block h-100",
15702
15720
  style: normalizeStyle({ height: `calc(${unref(elHeight)} - 2rem)` })
15703
15721
  }, [
15704
- createElementVNode("pre", _hoisted_4$h, [
15722
+ createElementVNode("pre", _hoisted_4$i, [
15705
15723
  _cache[2] || (_cache[2] = createTextVNode(" ")),
15706
15724
  createElementVNode("code", {
15707
15725
  class: normalizeClass(["absolute inset-0", className.value]),
15708
15726
  innerHTML: highlightedCode.value
15709
- }, null, 10, _hoisted_5$g),
15727
+ }, null, 10, _hoisted_5$h),
15710
15728
  _cache[3] || (_cache[3] = createTextVNode("\n "))
15711
15729
  ]),
15712
15730
  !_ctx.readonly ? withDirectives((openBlock(), createElementBlock("textarea", {
@@ -15721,7 +15739,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
15721
15739
  "data-gramm": "false",
15722
15740
  onKeydown: withKeys(withModifiers(handleTab, ["prevent"]), ["tab"]),
15723
15741
  onInput: _cache[1] || (_cache[1] = ($event) => emit2("update:modelValue", unref(code)))
15724
- }, null, 40, _hoisted_6$d)), [
15742
+ }, null, 40, _hoisted_6$e)), [
15725
15743
  [vModelText, unref(code)]
15726
15744
  ]) : createCommentVNode("", true)
15727
15745
  ], 4)
@@ -15730,10 +15748,10 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
15730
15748
  };
15731
15749
  }
15732
15750
  });
15733
- const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-1fbc9b61"]]);
15734
- const _hoisted_1$G = ["title"];
15735
- const _hoisted_2$u = ["id", "placeholder", "required"];
15736
- const _sfc_main$N = /* @__PURE__ */ defineComponent({
15751
+ const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-1fbc9b61"]]);
15752
+ const _hoisted_1$H = ["title"];
15753
+ const _hoisted_2$v = ["id", "placeholder", "required"];
15754
+ const _sfc_main$O = /* @__PURE__ */ defineComponent({
15737
15755
  __name: "ColorInput",
15738
15756
  props: {
15739
15757
  label: {},
@@ -15770,24 +15788,24 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
15770
15788
  placeholder: _ctx.placeholder || _ctx.label,
15771
15789
  class: { "no-edit": !_ctx.editMode },
15772
15790
  required: _ctx.required
15773
- }, _ctx.nativeInputAttrs), null, 16, _hoisted_2$u), [
15791
+ }, _ctx.nativeInputAttrs), null, 16, _hoisted_2$v), [
15774
15792
  [vModelText, inputVal.value]
15775
15793
  ])
15776
15794
  ])
15777
- ], 10, _hoisted_1$G);
15795
+ ], 10, _hoisted_1$H);
15778
15796
  };
15779
15797
  }
15780
15798
  });
15781
- const _hoisted_1$F = ["title"];
15782
- const _hoisted_2$t = { key: 0 };
15783
- const _hoisted_3$o = {
15799
+ const _hoisted_1$G = ["title"];
15800
+ const _hoisted_2$u = { key: 0 };
15801
+ const _hoisted_3$p = {
15784
15802
  key: 0,
15785
15803
  class: "required"
15786
15804
  };
15787
- const _hoisted_4$g = { class: "calendar-section m_border-none pe-05 m_p-0" };
15788
- const _hoisted_5$f = { class: "flex space-between pb-1" };
15789
- const _hoisted_6$c = { class: "flex gap-05" };
15790
- const _hoisted_7$a = { class: "month-year" };
15805
+ const _hoisted_4$h = { class: "calendar-section m_border-none pe-05 m_p-0" };
15806
+ const _hoisted_5$g = { class: "flex space-between pb-1" };
15807
+ const _hoisted_6$d = { class: "flex gap-05" };
15808
+ const _hoisted_7$b = { class: "month-year" };
15791
15809
  const _hoisted_8$6 = {
15792
15810
  key: 0,
15793
15811
  class: "calendar-grid grid gap-025"
@@ -15798,18 +15816,18 @@ const _hoisted_10$5 = {
15798
15816
  class: "month-grid grid gap-05 p-05"
15799
15817
  };
15800
15818
  const _hoisted_11$5 = ["disabled", "onClick"];
15801
- const _hoisted_12$5 = {
15819
+ const _hoisted_12$4 = {
15802
15820
  key: 2,
15803
15821
  class: "year-grid grid gap-05 p-0"
15804
15822
  };
15805
- const _hoisted_13$4 = ["disabled", "onClick"];
15806
- const _hoisted_14$4 = {
15823
+ const _hoisted_13$3 = ["disabled", "onClick"];
15824
+ const _hoisted_14$3 = {
15807
15825
  key: 0,
15808
15826
  class: "time-picker border-start flex column gap-1 w-120px"
15809
15827
  };
15810
- const _hoisted_15$4 = { class: "flex gap-025" };
15811
- const _hoisted_16$4 = { class: "txt-center opacity-6 txt14" };
15812
- const _sfc_main$M = /* @__PURE__ */ defineComponent({
15828
+ const _hoisted_15$3 = { class: "flex gap-025" };
15829
+ const _hoisted_16$3 = { class: "txt-center opacity-6 txt14" };
15830
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
15813
15831
  __name: "DateInput",
15814
15832
  props: {
15815
15833
  required: { type: Boolean },
@@ -16150,11 +16168,11 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
16150
16168
  onFocusin: _cache[6] || (_cache[6] = //@ts-ignore
16151
16169
  (...args) => unref(handleFocus) && unref(handleFocus)(...args))
16152
16170
  }, [
16153
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$t, [
16171
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$u, [
16154
16172
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
16155
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$o, "*")) : createCommentVNode("", true)
16173
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$p, "*")) : createCommentVNode("", true)
16156
16174
  ])) : createCommentVNode("", true),
16157
- createVNode(unref(_sfc_main$V), {
16175
+ createVNode(unref(_sfc_main$W), {
16158
16176
  shown: isOpen.value,
16159
16177
  placement: "bottom-start",
16160
16178
  autoHide: false,
@@ -16196,15 +16214,15 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
16196
16214
  onClick: _cache[5] || (_cache[5] = withModifiers(() => {
16197
16215
  }, ["stop"]))
16198
16216
  }, [
16199
- createElementVNode("div", _hoisted_4$g, [
16200
- createElementVNode("div", _hoisted_5$f, [
16217
+ createElementVNode("div", _hoisted_4$h, [
16218
+ createElementVNode("div", _hoisted_5$g, [
16201
16219
  currentView.value === "days" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
16202
16220
  createVNode(unref(Btn), {
16203
16221
  flat: "",
16204
16222
  icon: "chevron_left",
16205
16223
  onClick: unref(previousMonth)
16206
16224
  }, null, 8, ["onClick"]),
16207
- createElementVNode("div", _hoisted_6$c, [
16225
+ createElementVNode("div", _hoisted_6$d, [
16208
16226
  createVNode(unref(Btn), {
16209
16227
  flat: "",
16210
16228
  class: "month-btn",
@@ -16237,7 +16255,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
16237
16255
  icon: "chevron_left",
16238
16256
  onClick: unref(previousYear)
16239
16257
  }, null, 8, ["onClick"]),
16240
- createElementVNode("span", _hoisted_7$a, toDisplayString(unref(currentMonthValue).formatted.year), 1),
16258
+ createElementVNode("span", _hoisted_7$b, toDisplayString(unref(currentMonthValue).formatted.year), 1),
16241
16259
  createVNode(unref(Btn), {
16242
16260
  flat: "",
16243
16261
  icon: "chevron_right",
@@ -16278,7 +16296,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
16278
16296
  onClick: ($event) => unref(selectMonth)(month.value)
16279
16297
  }, toDisplayString(month.name), 11, _hoisted_11$5);
16280
16298
  }), 128))
16281
- ])) : (openBlock(), createElementBlock("div", _hoisted_12$5, [
16299
+ ])) : (openBlock(), createElementBlock("div", _hoisted_12$4, [
16282
16300
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(years), (year) => {
16283
16301
  return openBlock(), createElementBlock("button", {
16284
16302
  key: year.value,
@@ -16288,12 +16306,12 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
16288
16306
  }]),
16289
16307
  disabled: year.disabled,
16290
16308
  onClick: ($event) => unref(selectYear)(year.value)
16291
- }, toDisplayString(year.value), 11, _hoisted_13$4);
16309
+ }, toDisplayString(year.value), 11, _hoisted_13$3);
16292
16310
  }), 128))
16293
16311
  ]))
16294
16312
  ]),
16295
- _ctx.enableTime && currentView.value === "days" ? (openBlock(), createElementBlock("div", _hoisted_14$4, [
16296
- createElementVNode("div", _hoisted_15$4, [
16313
+ _ctx.enableTime && currentView.value === "days" ? (openBlock(), createElementBlock("div", _hoisted_14$3, [
16314
+ createElementVNode("div", _hoisted_15$3, [
16297
16315
  createVNode(unref(NumberInput), {
16298
16316
  center: "",
16299
16317
  "model-value": unref(hours),
@@ -16316,7 +16334,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
16316
16334
  "onUpdate:modelValue": unref(handleMinuteInput)
16317
16335
  }, null, 8, ["model-value", "disabled", "onUpdate:modelValue"])
16318
16336
  ]),
16319
- createElementVNode("span", _hoisted_16$4, toDisplayString(unref(timezoneDisplay)), 1),
16337
+ createElementVNode("span", _hoisted_16$3, toDisplayString(unref(timezoneDisplay)), 1),
16320
16338
  unref(selectedDate) ? (openBlock(), createBlock(unref(Btn), {
16321
16339
  key: 0,
16322
16340
  flat: "",
@@ -16332,21 +16350,21 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
16332
16350
  ]),
16333
16351
  _: 1
16334
16352
  }, 8, ["shown"])
16335
- ], 42, _hoisted_1$F);
16353
+ ], 42, _hoisted_1$G);
16336
16354
  };
16337
16355
  }
16338
16356
  });
16339
- const DateInput = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-c35156b6"]]);
16340
- const _hoisted_1$E = ["title"];
16341
- const _hoisted_2$s = { key: 0 };
16342
- const _hoisted_3$n = {
16357
+ const DateInput = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-c35156b6"]]);
16358
+ const _hoisted_1$F = ["title"];
16359
+ const _hoisted_2$t = { key: 0 };
16360
+ const _hoisted_3$o = {
16343
16361
  key: 0,
16344
16362
  class: "required"
16345
16363
  };
16346
- const _hoisted_4$f = { class: "date-picker-container" };
16347
- const _hoisted_5$e = ["value", "min", "max", "required", "disabled"];
16348
- const _hoisted_6$b = { class: "flex gap-075 p-05 m_flex-wrap calendar-container justify-content-center h-100p" };
16349
- const _hoisted_7$9 = { class: "calendar-section m_border-none pe-05 m_p-0" };
16364
+ const _hoisted_4$g = { class: "date-picker-container" };
16365
+ const _hoisted_5$f = ["value", "min", "max", "required", "disabled"];
16366
+ const _hoisted_6$c = { class: "flex gap-075 p-05 m_flex-wrap calendar-container justify-content-center h-100p" };
16367
+ const _hoisted_7$a = { class: "calendar-section m_border-none pe-05 m_p-0" };
16350
16368
  const _hoisted_8$5 = { class: "flex space-between pb-1" };
16351
16369
  const _hoisted_9$4 = { class: "flex gap-05" };
16352
16370
  const _hoisted_10$4 = { class: "month-year" };
@@ -16354,24 +16372,24 @@ const _hoisted_11$4 = {
16354
16372
  key: 0,
16355
16373
  class: "calendar-grid grid gap-025"
16356
16374
  };
16357
- const _hoisted_12$4 = ["disabled", "onClick"];
16358
- const _hoisted_13$3 = {
16375
+ const _hoisted_12$3 = ["disabled", "onClick"];
16376
+ const _hoisted_13$2 = {
16359
16377
  key: 1,
16360
16378
  class: "month-grid grid gap-05 p-05"
16361
16379
  };
16362
- const _hoisted_14$3 = ["disabled", "onClick"];
16363
- const _hoisted_15$3 = {
16380
+ const _hoisted_14$2 = ["disabled", "onClick"];
16381
+ const _hoisted_15$2 = {
16364
16382
  key: 2,
16365
16383
  class: "year-grid grid gap-05 p-0"
16366
16384
  };
16367
- const _hoisted_16$3 = ["disabled", "onClick"];
16368
- const _hoisted_17$3 = {
16385
+ const _hoisted_16$2 = ["disabled", "onClick"];
16386
+ const _hoisted_17$2 = {
16369
16387
  key: 0,
16370
16388
  class: "time-picker border-start flex column gap-1 w-120px"
16371
16389
  };
16372
- const _hoisted_18$1 = { class: "flex gap-025" };
16373
- const _hoisted_19$1 = { class: "txt-center opacity-6 txt14" };
16374
- const _sfc_main$L = /* @__PURE__ */ defineComponent({
16390
+ const _hoisted_18 = { class: "flex gap-025" };
16391
+ const _hoisted_19 = { class: "txt-center opacity-6 txt14" };
16392
+ const _sfc_main$M = /* @__PURE__ */ defineComponent({
16375
16393
  __name: "DatePick",
16376
16394
  props: {
16377
16395
  required: { type: Boolean },
@@ -16564,18 +16582,18 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
16564
16582
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
16565
16583
  title: _ctx.label
16566
16584
  }, [
16567
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$s, [
16585
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$t, [
16568
16586
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
16569
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$n, "*")) : createCommentVNode("", true)
16587
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$o, "*")) : createCommentVNode("", true)
16570
16588
  ])) : createCommentVNode("", true),
16571
- createVNode(unref(_sfc_main$V), {
16589
+ createVNode(unref(_sfc_main$W), {
16572
16590
  shown: unref(isOpen),
16573
16591
  placement: "bottom-start",
16574
16592
  onApplyShow: _cache[4] || (_cache[4] = ($event) => isRef(isOpen) ? isOpen.value = true : isOpen = true),
16575
16593
  onApplyHide: _cache[5] || (_cache[5] = ($event) => isRef(isOpen) ? isOpen.value = false : isOpen = false)
16576
16594
  }, {
16577
16595
  trigger: withCtx(() => [
16578
- createElementVNode("div", _hoisted_4$f, [
16596
+ createElementVNode("div", _hoisted_4$g, [
16579
16597
  createElementVNode("input", {
16580
16598
  type: "text",
16581
16599
  value: formattedDisplayValue.value,
@@ -16588,12 +16606,12 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
16588
16606
  }]),
16589
16607
  readonly: "",
16590
16608
  onClick: _cache[0] || (_cache[0] = ($event) => isRef(isOpen) ? isOpen.value = true : isOpen = true)
16591
- }, null, 10, _hoisted_5$e)
16609
+ }, null, 10, _hoisted_5$f)
16592
16610
  ])
16593
16611
  ]),
16594
16612
  default: withCtx(() => [
16595
- createElementVNode("div", _hoisted_6$b, [
16596
- createElementVNode("div", _hoisted_7$9, [
16613
+ createElementVNode("div", _hoisted_6$c, [
16614
+ createElementVNode("div", _hoisted_7$a, [
16597
16615
  createElementVNode("div", _hoisted_8$5, [
16598
16616
  unref(currentView) === "days" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
16599
16617
  createVNode(unref(Btn), {
@@ -16661,9 +16679,9 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
16661
16679
  }]),
16662
16680
  disabled: isDateDisabled(date2),
16663
16681
  onClick: ($event) => selectDate(date2)
16664
- }, toDisplayString(date2 == null ? void 0 : date2.getDate()), 11, _hoisted_12$4);
16682
+ }, toDisplayString(date2 == null ? void 0 : date2.getDate()), 11, _hoisted_12$3);
16665
16683
  }), 128))
16666
- ])) : unref(currentView) === "months" ? (openBlock(), createElementBlock("div", _hoisted_13$3, [
16684
+ ])) : unref(currentView) === "months" ? (openBlock(), createElementBlock("div", _hoisted_13$2, [
16667
16685
  (openBlock(true), createElementBlock(Fragment, null, renderList(months.value, (month) => {
16668
16686
  return openBlock(), createElementBlock("button", {
16669
16687
  key: month.value,
@@ -16673,9 +16691,9 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
16673
16691
  }]),
16674
16692
  disabled: month.disabled,
16675
16693
  onClick: ($event) => selectMonth(month.value)
16676
- }, toDisplayString(month.name), 11, _hoisted_14$3);
16694
+ }, toDisplayString(month.name), 11, _hoisted_14$2);
16677
16695
  }), 128))
16678
- ])) : (openBlock(), createElementBlock("div", _hoisted_15$3, [
16696
+ ])) : (openBlock(), createElementBlock("div", _hoisted_15$2, [
16679
16697
  (openBlock(true), createElementBlock(Fragment, null, renderList(years.value, (year) => {
16680
16698
  return openBlock(), createElementBlock("button", {
16681
16699
  key: year.value,
@@ -16685,12 +16703,12 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
16685
16703
  }]),
16686
16704
  disabled: year.disabled,
16687
16705
  onClick: ($event) => selectYear(year.value)
16688
- }, toDisplayString(year.value), 11, _hoisted_16$3);
16706
+ }, toDisplayString(year.value), 11, _hoisted_16$2);
16689
16707
  }), 128))
16690
16708
  ]))
16691
16709
  ]),
16692
- _ctx.enableTime && unref(currentView) === "days" ? (openBlock(), createElementBlock("div", _hoisted_17$3, [
16693
- createElementVNode("div", _hoisted_18$1, [
16710
+ _ctx.enableTime && unref(currentView) === "days" ? (openBlock(), createElementBlock("div", _hoisted_17$2, [
16711
+ createElementVNode("div", _hoisted_18, [
16694
16712
  createVNode(unref(NumberInput), {
16695
16713
  center: "",
16696
16714
  "model-value": hours.value,
@@ -16713,7 +16731,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
16713
16731
  "onUpdate:modelValue": handleMinuteInput
16714
16732
  }, null, 8, ["model-value", "disabled"])
16715
16733
  ]),
16716
- createElementVNode("span", _hoisted_19$1, toDisplayString(timezoneDisplay.value), 1),
16734
+ createElementVNode("span", _hoisted_19, toDisplayString(timezoneDisplay.value), 1),
16717
16735
  selectedDate.value ? (openBlock(), createBlock(unref(Btn), {
16718
16736
  key: 0,
16719
16737
  flat: "",
@@ -16729,19 +16747,19 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
16729
16747
  ]),
16730
16748
  _: 1
16731
16749
  }, 8, ["shown"])
16732
- ], 10, _hoisted_1$E);
16750
+ ], 10, _hoisted_1$F);
16733
16751
  };
16734
16752
  }
16735
16753
  });
16736
- const DatePick = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__scopeId", "data-v-3d6519f4"]]);
16737
- const _hoisted_1$D = { class: "datetime-wrap" };
16738
- const _hoisted_2$r = {
16754
+ const DatePick = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-3d6519f4"]]);
16755
+ const _hoisted_1$E = { class: "datetime-wrap" };
16756
+ const _hoisted_2$s = {
16739
16757
  key: 0,
16740
16758
  class: "time-wrap"
16741
16759
  };
16742
- const _hoisted_3$m = ["id", "name", "value"];
16743
- const _hoisted_4$e = ["for"];
16744
- const _sfc_main$K = /* @__PURE__ */ defineComponent({
16760
+ const _hoisted_3$n = ["id", "name", "value"];
16761
+ const _hoisted_4$f = ["for"];
16762
+ const _sfc_main$L = /* @__PURE__ */ defineComponent({
16745
16763
  __name: "DatePicker",
16746
16764
  props: {
16747
16765
  label: {},
@@ -16761,8 +16779,8 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
16761
16779
  return `${hour}:${minute}`;
16762
16780
  });
16763
16781
  return (_ctx, _cache) => {
16764
- return openBlock(), createElementBlock("div", _hoisted_1$D, [
16765
- _ctx.showTimeWrap ? (openBlock(), createElementBlock("div", _hoisted_2$r, [
16782
+ return openBlock(), createElementBlock("div", _hoisted_1$E, [
16783
+ _ctx.showTimeWrap ? (openBlock(), createElementBlock("div", _hoisted_2$s, [
16766
16784
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(hours), (hr) => {
16767
16785
  return openBlock(), createElementBlock(Fragment, { key: hr }, [
16768
16786
  withDirectives(createElementVNode("input", {
@@ -16771,12 +16789,12 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
16771
16789
  type: "radio",
16772
16790
  name: _ctx.label,
16773
16791
  value: hr
16774
- }, null, 8, _hoisted_3$m), [
16792
+ }, null, 8, _hoisted_3$n), [
16775
16793
  [vModelRadio, selectedHour.value]
16776
16794
  ]),
16777
16795
  createElementVNode("label", {
16778
16796
  for: `${hr}_${_ctx.id}`
16779
- }, toDisplayString(hr), 9, _hoisted_4$e)
16797
+ }, toDisplayString(hr), 9, _hoisted_4$f)
16780
16798
  ], 64);
16781
16799
  }), 128))
16782
16800
  ])) : createCommentVNode("", true)
@@ -16784,19 +16802,19 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
16784
16802
  };
16785
16803
  }
16786
16804
  });
16787
- const _hoisted_1$C = { class: "bagel-input" };
16788
- const _hoisted_2$q = {
16805
+ const _hoisted_1$D = { class: "bagel-input" };
16806
+ const _hoisted_2$r = {
16789
16807
  key: 0,
16790
16808
  placeholder: "required",
16791
16809
  type: "text",
16792
16810
  required: "",
16793
16811
  class: "pixel"
16794
16812
  };
16795
- const _hoisted_3$l = { class: "m-05 flex opacity-7 z-99" };
16796
- const _hoisted_4$d = { class: "ellipsis-1 word-break-all h-20 m-0 color-black" };
16797
- const _hoisted_5$d = { class: "flex gap-025 rounded pe-1 ps-05 py-025 bg-gray-80 -my-1" };
16798
- const _hoisted_6$a = { class: "ellipsis-1 word-break-all h-20 m-0 color-black txt16" };
16799
- const _hoisted_7$8 = {
16813
+ const _hoisted_3$m = { class: "m-05 flex opacity-7 z-99" };
16814
+ const _hoisted_4$e = { class: "ellipsis-1 word-break-all h-20 m-0 color-black" };
16815
+ const _hoisted_5$e = { class: "flex gap-025 rounded pe-1 ps-05 py-025 bg-gray-80 -my-1" };
16816
+ const _hoisted_6$b = { class: "ellipsis-1 word-break-all h-20 m-0 color-black txt16" };
16817
+ const _hoisted_7$9 = {
16800
16818
  key: 1,
16801
16819
  class: "txt-gray txt-12"
16802
16820
  };
@@ -16810,22 +16828,22 @@ const _hoisted_11$3 = {
16810
16828
  key: 0,
16811
16829
  class: "progress"
16812
16830
  };
16813
- const _hoisted_12$3 = {
16831
+ const _hoisted_12$2 = {
16814
16832
  key: 1,
16815
16833
  class: "bgl-single-preview"
16816
16834
  };
16817
- const _hoisted_13$2 = { class: "position-start m-05 flex opacity-7 z-99 gap-025" };
16818
- const _hoisted_14$2 = {
16835
+ const _hoisted_13$1 = { class: "position-start m-05 flex opacity-7 z-99 gap-025" };
16836
+ const _hoisted_14$1 = {
16819
16837
  key: 0,
16820
16838
  class: "h-100"
16821
16839
  };
16822
- const _hoisted_15$2 = {
16840
+ const _hoisted_15$1 = {
16823
16841
  key: 0,
16824
16842
  class: "progress"
16825
16843
  };
16826
- const _hoisted_16$2 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
16827
- const _hoisted_17$2 = { class: "pretty balance" };
16828
- const _sfc_main$J = /* @__PURE__ */ defineComponent({
16844
+ const _hoisted_16$1 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
16845
+ const _hoisted_17$1 = { class: "pretty balance" };
16846
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
16829
16847
  __name: "FileUpload",
16830
16848
  props: /* @__PURE__ */ mergeModels({
16831
16849
  label: {},
@@ -17000,10 +17018,10 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
17000
17018
  return (_ctx, _cache) => {
17001
17019
  const _directive_tooltip = resolveDirective("tooltip");
17002
17020
  const _directive_lightbox = resolveDirective("lightbox");
17003
- return openBlock(), createElementBlock("div", _hoisted_1$C, [
17021
+ return openBlock(), createElementBlock("div", _hoisted_1$D, [
17004
17022
  createElementVNode("label", null, toDisplayString(_ctx.label), 1),
17005
- _ctx.required && !storageFiles.value.length ? (openBlock(), createElementBlock("input", _hoisted_2$q)) : createCommentVNode("", true),
17006
- _ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main$$), {
17023
+ _ctx.required && !storageFiles.value.length ? (openBlock(), createElementBlock("input", _hoisted_2$r)) : createCommentVNode("", true),
17024
+ _ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main$10), {
17007
17025
  key: 1,
17008
17026
  outline: "",
17009
17027
  class: "flex p-05 gap-1",
@@ -17024,7 +17042,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
17024
17042
  key: file.id,
17025
17043
  class: "txt-gray txt-12 flex"
17026
17044
  }, [
17027
- createElementVNode("div", _hoisted_3$l, [
17045
+ createElementVNode("div", _hoisted_3$m, [
17028
17046
  withDirectives(createVNode(unref(Btn), {
17029
17047
  color: "gray",
17030
17048
  thin: "",
@@ -17053,17 +17071,17 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
17053
17071
  }, null, 8, ["href", "download"]), [
17054
17072
  [_directive_tooltip, "Download"]
17055
17073
  ]),
17056
- withDirectives((openBlock(), createElementBlock("p", _hoisted_4$d, [
17074
+ withDirectives((openBlock(), createElementBlock("p", _hoisted_4$e, [
17057
17075
  createTextVNode(toDisplayString(file.name), 1)
17058
17076
  ])), [
17059
17077
  [_directive_lightbox, { src: file.url, download: true }]
17060
17078
  ]),
17061
- createElementVNode("div", _hoisted_5$d, [
17079
+ createElementVNode("div", _hoisted_5$e, [
17062
17080
  createVNode(unref(Icon), {
17063
17081
  icon: "draft",
17064
17082
  size: 1.5
17065
17083
  }),
17066
- withDirectives((openBlock(), createElementBlock("p", _hoisted_6$a, [
17084
+ withDirectives((openBlock(), createElementBlock("p", _hoisted_6$b, [
17067
17085
  createTextVNode(toDisplayString(file.name), 1)
17068
17086
  ])), [
17069
17087
  [_directive_lightbox, { src: file.url, download: true }]
@@ -17079,7 +17097,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
17079
17097
  ])
17080
17098
  ]);
17081
17099
  }), 128)),
17082
- !storageFiles.value.length && !fileQueue.value.length ? (openBlock(), createElementBlock("span", _hoisted_7$8, toDisplayString(_ctx.noFilePlaceholder || "No file selected"), 1)) : createCommentVNode("", true)
17100
+ !storageFiles.value.length && !fileQueue.value.length ? (openBlock(), createElementBlock("span", _hoisted_7$9, toDisplayString(_ctx.noFilePlaceholder || "No file selected"), 1)) : createCommentVNode("", true)
17083
17101
  ]),
17084
17102
  _: 1
17085
17103
  })) : (openBlock(), createElementBlock("div", {
@@ -17159,13 +17177,13 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
17159
17177
  ]);
17160
17178
  }), 128))
17161
17179
  ])) : createCommentVNode("", true),
17162
- !_ctx.multiple && (storageFiles.value.length > 0 || fileQueue.value.length > 0) ? (openBlock(), createElementBlock("div", _hoisted_12$3, [
17180
+ !_ctx.multiple && (storageFiles.value.length > 0 || fileQueue.value.length > 0) ? (openBlock(), createElementBlock("div", _hoisted_12$2, [
17163
17181
  (openBlock(true), createElementBlock(Fragment, null, renderList(storageFiles.value, (file) => {
17164
17182
  return openBlock(), createElementBlock("div", {
17165
17183
  key: file.id,
17166
17184
  class: normalizeClass(["single-image-item-preview", { "bgl_fill-image": _ctx.fill }])
17167
17185
  }, [
17168
- createElementVNode("div", _hoisted_13$2, [
17186
+ createElementVNode("div", _hoisted_13$1, [
17169
17187
  withDirectives(createVNode(unref(Btn), {
17170
17188
  color: "gray",
17171
17189
  thin: "",
@@ -17195,7 +17213,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
17195
17213
  [_directive_tooltip, "Download"]
17196
17214
  ])
17197
17215
  ]),
17198
- isImage(file.extension || file.url) ? (openBlock(), createElementBlock("div", _hoisted_14$2, [
17216
+ isImage(file.extension || file.url) ? (openBlock(), createElementBlock("div", _hoisted_14$1, [
17199
17217
  withDirectives(createVNode(unref(Image$1), {
17200
17218
  class: "single-preview",
17201
17219
  src: file.url,
@@ -17223,7 +17241,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
17223
17241
  class: normalizeClass(["pie", { complete: fileQ.progress === 100 }]),
17224
17242
  style: normalizeStyle([`--p:${fileQ.progress}`, { "--b": "2px" }])
17225
17243
  }, [
17226
- fileQ.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_15$2, toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : createCommentVNode("", true),
17244
+ fileQ.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_15$1, toDisplayString(`${fileQ.progress.toFixed(0)}`), 1)) : createCommentVNode("", true),
17227
17245
  createVNode(unref(Icon), {
17228
17246
  class: "success",
17229
17247
  icon: "check"
@@ -17247,9 +17265,9 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
17247
17265
  fileQueue: fileQueue.value,
17248
17266
  browse
17249
17267
  }, () => [
17250
- createElementVNode("p", _hoisted_16$2, [
17268
+ createElementVNode("p", _hoisted_16$1, [
17251
17269
  createVNode(unref(Icon), { icon: "upload_2" }),
17252
- createElementVNode("span", _hoisted_17$2, toDisplayString(_ctx.dropPlaceholder || "Drag and Drop files here or click to upload"), 1)
17270
+ createElementVNode("span", _hoisted_17$1, toDisplayString(_ctx.dropPlaceholder || "Drag and Drop files here or click to upload"), 1)
17253
17271
  ])
17254
17272
  ], true) : createCommentVNode("", true)
17255
17273
  ], 38))
@@ -17257,11 +17275,11 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
17257
17275
  };
17258
17276
  }
17259
17277
  });
17260
- const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-50fd0597"]]);
17261
- const _hoisted_1$B = ["title"];
17262
- const _hoisted_2$p = { key: 0 };
17263
- const _hoisted_3$k = ["value", "placeholder"];
17264
- const _sfc_main$I = /* @__PURE__ */ defineComponent({
17278
+ const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-50fd0597"]]);
17279
+ const _hoisted_1$C = ["title"];
17280
+ const _hoisted_2$q = { key: 0 };
17281
+ const _hoisted_3$l = ["value", "placeholder"];
17282
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
17265
17283
  __name: "JSONInput",
17266
17284
  props: {
17267
17285
  description: { default: "" },
@@ -17284,7 +17302,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
17284
17302
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
17285
17303
  title: _ctx.description
17286
17304
  }, [
17287
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$p, [
17305
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$q, [
17288
17306
  createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
17289
17307
  ])) : createCommentVNode("", true),
17290
17308
  createElementVNode("textarea", {
@@ -17292,24 +17310,24 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
17292
17310
  class: normalizeClass({ "no-edit": !_ctx.editMode }),
17293
17311
  placeholder: _ctx.placeholder,
17294
17312
  onInput: handleInput
17295
- }, null, 42, _hoisted_3$k)
17296
- ], 10, _hoisted_1$B);
17313
+ }, null, 42, _hoisted_3$l)
17314
+ ], 10, _hoisted_1$C);
17297
17315
  };
17298
17316
  }
17299
17317
  });
17300
- const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-1cbaeab2"]]);
17301
- const _hoisted_1$A = ["for"];
17302
- const _hoisted_2$o = {
17318
+ const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-1cbaeab2"]]);
17319
+ const _hoisted_1$B = ["for"];
17320
+ const _hoisted_2$p = {
17303
17321
  key: 0,
17304
17322
  class: "block"
17305
17323
  };
17306
- const _hoisted_3$j = ["id", "placeholder", "disabled", "required", "readonly", "pattern", "onKeydown"];
17307
- const _hoisted_4$c = { key: 1 };
17308
- const _hoisted_5$c = {
17324
+ const _hoisted_3$k = ["id", "placeholder", "disabled", "required", "readonly", "pattern", "onKeydown"];
17325
+ const _hoisted_4$d = { key: 1 };
17326
+ const _hoisted_5$d = {
17309
17327
  key: 5,
17310
17328
  class: "flex column spinner"
17311
17329
  };
17312
- const _sfc_main$H = /* @__PURE__ */ defineComponent({
17330
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
17313
17331
  __name: "NumberInput",
17314
17332
  props: {
17315
17333
  modelValue: {},
@@ -17414,7 +17432,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
17414
17432
  }])
17415
17433
  }, [
17416
17434
  createElementVNode("div", { for: _ctx.id }, [
17417
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$o, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
17435
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$p, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
17418
17436
  createElementVNode("div", {
17419
17437
  class: normalizeClass(["gap-025", { "column flex": _ctx.layout === "vertical", "flex": _ctx.layout === "horizontal" }])
17420
17438
  }, [
@@ -17449,7 +17467,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
17449
17467
  withKeys(withModifiers(increment, ["prevent"]), ["up"]),
17450
17468
  withKeys(withModifiers(decrement, ["prevent"]), ["down"])
17451
17469
  ]
17452
- }, null, 42, _hoisted_3$j), [
17470
+ }, null, 42, _hoisted_3$k), [
17453
17471
  [
17454
17472
  vModelText,
17455
17473
  unref(formattedValue),
@@ -17463,7 +17481,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
17463
17481
  { number: true }
17464
17482
  ]
17465
17483
  ]),
17466
- _ctx.helptext ? (openBlock(), createElementBlock("p", _hoisted_4$c, toDisplayString(_ctx.helptext), 1)) : createCommentVNode("", true),
17484
+ _ctx.helptext ? (openBlock(), createElementBlock("p", _hoisted_4$d, toDisplayString(_ctx.helptext), 1)) : createCommentVNode("", true),
17467
17485
  _ctx.iconStart ? (openBlock(), createBlock(unref(Icon), {
17468
17486
  key: 2,
17469
17487
  class: "iconStart",
@@ -17481,7 +17499,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
17481
17499
  tabindex: "-1",
17482
17500
  onClick: decrement
17483
17501
  }, null, 8, ["class"])) : createCommentVNode("", true),
17484
- _ctx.spinner && (!_ctx.layout || !btnLayouts.includes(_ctx.layout)) ? (openBlock(), createElementBlock("div", _hoisted_5$c, [
17502
+ _ctx.spinner && (!_ctx.layout || !btnLayouts.includes(_ctx.layout)) ? (openBlock(), createElementBlock("div", _hoisted_5$d, [
17485
17503
  createVNode(unref(Btn), {
17486
17504
  icon: "add",
17487
17505
  flat: "",
@@ -17502,14 +17520,14 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
17502
17520
  }, null, 8, ["disabled"])
17503
17521
  ])) : createCommentVNode("", true)
17504
17522
  ], 2)
17505
- ], 8, _hoisted_1$A)
17523
+ ], 8, _hoisted_1$B)
17506
17524
  ], 2);
17507
17525
  };
17508
17526
  }
17509
17527
  });
17510
- const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-77950bb7"]]);
17511
- const _hoisted_1$z = ["value", "autofocus", "onKeydown", "onPaste"];
17512
- const _sfc_main$G = /* @__PURE__ */ defineComponent({
17528
+ const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-77950bb7"]]);
17529
+ const _hoisted_1$A = ["value", "autofocus", "onKeydown", "onPaste"];
17530
+ const _sfc_main$H = /* @__PURE__ */ defineComponent({
17513
17531
  __name: "OTP",
17514
17532
  props: {
17515
17533
  digitCount: {},
@@ -17606,16 +17624,16 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
17606
17624
  oninput: "this.value = this.value.slice(0, 1)",
17607
17625
  onKeydown: ($event) => handleKeyDown($event, ind),
17608
17626
  onPaste: ($event) => handlePaste($event, ind)
17609
- }, null, 40, _hoisted_1$z);
17627
+ }, null, 40, _hoisted_1$A);
17610
17628
  }), 128))
17611
17629
  ], 512);
17612
17630
  };
17613
17631
  }
17614
17632
  });
17615
- const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-8e8db33e"]]);
17616
- const _hoisted_1$y = { class: "relative passwordInput" };
17617
- const _hoisted_2$n = { class: "m-password position-bottom-end flex column justify-content-center" };
17618
- const _sfc_main$F = /* @__PURE__ */ defineComponent({
17633
+ const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-8e8db33e"]]);
17634
+ const _hoisted_1$z = { class: "relative passwordInput" };
17635
+ const _hoisted_2$o = { class: "m-password position-bottom-end flex column justify-content-center" };
17636
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
17619
17637
  __name: "PasswordInput",
17620
17638
  props: /* @__PURE__ */ mergeModels({
17621
17639
  id: {},
@@ -17656,7 +17674,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
17656
17674
  );
17657
17675
  const inputType = computed(() => showPwd.value ? "text" : "password");
17658
17676
  return (_ctx, _cache) => {
17659
- return openBlock(), createElementBlock("div", _hoisted_1$y, [
17677
+ return openBlock(), createElementBlock("div", _hoisted_1$z, [
17660
17678
  createVNode(unref(TextInput), mergeProps({
17661
17679
  modelValue: password.value,
17662
17680
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => password.value = $event)
@@ -17664,7 +17682,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
17664
17682
  type: inputType.value,
17665
17683
  class: "mb-0"
17666
17684
  }), null, 16, ["modelValue", "type"]),
17667
- createElementVNode("div", _hoisted_2$n, [
17685
+ createElementVNode("div", _hoisted_2$o, [
17668
17686
  createVNode(unref(Btn), {
17669
17687
  flat: "",
17670
17688
  thin: "",
@@ -17677,20 +17695,20 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
17677
17695
  };
17678
17696
  }
17679
17697
  });
17680
- const _hoisted_1$x = ["for"];
17681
- const _hoisted_2$m = ["id", "disabled", "name", "value", "required"];
17682
- const _hoisted_3$i = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
17683
- const _hoisted_4$b = ["src", "alt"];
17684
- const _hoisted_5$b = { class: "" };
17685
- const _hoisted_6$9 = {
17698
+ const _hoisted_1$y = ["for"];
17699
+ const _hoisted_2$n = ["id", "disabled", "name", "value", "required"];
17700
+ const _hoisted_3$j = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
17701
+ const _hoisted_4$c = ["src", "alt"];
17702
+ const _hoisted_5$c = { class: "" };
17703
+ const _hoisted_6$a = {
17686
17704
  key: 0,
17687
17705
  class: "m-0 m_txt-14"
17688
17706
  };
17689
- const _hoisted_7$7 = {
17707
+ const _hoisted_7$8 = {
17690
17708
  key: 1,
17691
17709
  class: "txt-gray txt-12 m-0"
17692
17710
  };
17693
- const _sfc_main$E = /* @__PURE__ */ defineComponent({
17711
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
17694
17712
  __name: "RadioGroup",
17695
17713
  props: /* @__PURE__ */ mergeModels({
17696
17714
  groupName: {},
@@ -17748,20 +17766,20 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
17748
17766
  onFocus: handleFocus,
17749
17767
  onBlur: handleBlur,
17750
17768
  onChange: handleChange
17751
- }, null, 40, _hoisted_2$m), [
17769
+ }, null, 40, _hoisted_2$n), [
17752
17770
  [vModelRadio, selectedOption.value]
17753
17771
  ]),
17754
- createElementVNode("div", _hoisted_3$i, [
17772
+ createElementVNode("div", _hoisted_3$j, [
17755
17773
  opt.imgSrc ? (openBlock(), createElementBlock("img", {
17756
17774
  key: 0,
17757
17775
  class: "bg-popup shadow-light py-025 radius-05 m_w40",
17758
17776
  width: "60",
17759
17777
  src: opt.imgSrc,
17760
17778
  alt: opt.imgAlt
17761
- }, null, 8, _hoisted_4$b)) : createCommentVNode("", true),
17762
- createElementVNode("div", _hoisted_5$b, [
17763
- opt.label ? (openBlock(), createElementBlock("p", _hoisted_6$9, toDisplayString(opt.label), 1)) : createCommentVNode("", true),
17764
- opt.subLabel ? (openBlock(), createElementBlock("p", _hoisted_7$7, toDisplayString(opt.subLabel), 1)) : createCommentVNode("", true)
17779
+ }, null, 8, _hoisted_4$c)) : createCommentVNode("", true),
17780
+ createElementVNode("div", _hoisted_5$c, [
17781
+ opt.label ? (openBlock(), createElementBlock("p", _hoisted_6$a, toDisplayString(opt.label), 1)) : createCommentVNode("", true),
17782
+ opt.subLabel ? (openBlock(), createElementBlock("p", _hoisted_7$8, toDisplayString(opt.subLabel), 1)) : createCommentVNode("", true)
17765
17783
  ]),
17766
17784
  renderSlot(_ctx.$slots, "radioItem", mergeProps({ ref_for: true }, opt), void 0, true)
17767
17785
  ]),
@@ -17773,19 +17791,19 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
17773
17791
  icon: "delete",
17774
17792
  onClick: ($event) => _ctx.$emit("delete", opt)
17775
17793
  }, null, 8, ["onClick"])) : createCommentVNode("", true)
17776
- ], 8, _hoisted_1$x);
17794
+ ], 8, _hoisted_1$y);
17777
17795
  }), 128))
17778
17796
  ], 2);
17779
17797
  };
17780
17798
  }
17781
17799
  });
17782
- const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-a692c596"]]);
17783
- const _hoisted_1$w = { class: "bagel-input" };
17784
- const _hoisted_2$l = { class: "pb-025" };
17785
- const _hoisted_3$h = { class: "flex gap-05 flex-wrap" };
17786
- const _hoisted_4$a = ["id", "name", "value", "checked"];
17787
- const _hoisted_5$a = ["for"];
17788
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
17800
+ const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-a692c596"]]);
17801
+ const _hoisted_1$x = { class: "bagel-input" };
17802
+ const _hoisted_2$m = { class: "pb-025" };
17803
+ const _hoisted_3$i = { class: "flex gap-05 flex-wrap" };
17804
+ const _hoisted_4$b = ["id", "name", "value", "checked"];
17805
+ const _hoisted_5$b = ["for"];
17806
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
17789
17807
  __name: "RadioPillsInput",
17790
17808
  props: {
17791
17809
  options: {},
@@ -17826,9 +17844,9 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
17826
17844
  selectedValue.value = props2.modelValue;
17827
17845
  });
17828
17846
  return (_ctx, _cache) => {
17829
- return openBlock(), createElementBlock("div", _hoisted_1$w, [
17830
- createElementVNode("label", _hoisted_2$l, toDisplayString(_ctx.label), 1),
17831
- createElementVNode("div", _hoisted_3$h, [
17847
+ return openBlock(), createElementBlock("div", _hoisted_1$x, [
17848
+ createElementVNode("label", _hoisted_2$m, toDisplayString(_ctx.label), 1),
17849
+ createElementVNode("div", _hoisted_3$i, [
17832
17850
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, (option2, index2) => {
17833
17851
  return openBlock(), createElementBlock("div", {
17834
17852
  key: index2,
@@ -17841,10 +17859,10 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
17841
17859
  value: getValue(option2),
17842
17860
  checked: unref(selectedValue) === getValue(option2),
17843
17861
  onChange: handleSelect
17844
- }, null, 40, _hoisted_4$a),
17862
+ }, null, 40, _hoisted_4$b),
17845
17863
  createElementVNode("label", {
17846
17864
  for: `${_ctx.id}-${getValue(option2)}`
17847
- }, toDisplayString(getLabel(option2)), 9, _hoisted_5$a)
17865
+ }, toDisplayString(getLabel(option2)), 9, _hoisted_5$b)
17848
17866
  ]);
17849
17867
  }), 128))
17850
17868
  ])
@@ -17852,18 +17870,18 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
17852
17870
  };
17853
17871
  }
17854
17872
  });
17855
- const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-cf892d71"]]);
17856
- const _hoisted_1$v = ["dir"];
17857
- const _hoisted_2$k = {
17873
+ const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-cf892d71"]]);
17874
+ const _hoisted_1$w = ["dir"];
17875
+ const _hoisted_2$l = {
17858
17876
  key: 0,
17859
17877
  class: "label"
17860
17878
  };
17861
- const _hoisted_3$g = { class: "range-slider relative w-100" };
17862
- const _hoisted_4$9 = ["id", "value", "min", "max", "step", "required", "disabled", "aria-label"];
17863
- const _hoisted_5$9 = ["value", "min", "max", "step", "required", "disabled"];
17864
- const _hoisted_6$8 = { class: "track absolute pointer-events-none overflow-hidden round" };
17865
- const _hoisted_7$6 = { class: "txt-center txt-14 user-select-none range-slider-txt flex space-between opacity-4 mx-05" };
17866
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
17879
+ const _hoisted_3$h = { class: "range-slider relative w-100" };
17880
+ const _hoisted_4$a = ["id", "value", "min", "max", "step", "required", "disabled", "aria-label"];
17881
+ const _hoisted_5$a = ["value", "min", "max", "step", "required", "disabled"];
17882
+ const _hoisted_6$9 = { class: "track absolute pointer-events-none overflow-hidden round" };
17883
+ const _hoisted_7$7 = { class: "txt-center txt-14 user-select-none range-slider-txt flex space-between opacity-4 mx-05" };
17884
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
17867
17885
  __name: "RangeInput",
17868
17886
  props: {
17869
17887
  modelValue: {},
@@ -17931,8 +17949,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
17931
17949
  return openBlock(), createElementBlock("div", {
17932
17950
  dir: unref(rtl) ? "rtl" : "ltr"
17933
17951
  }, [
17934
- unref(label) ? (openBlock(), createElementBlock("label", _hoisted_2$k, toDisplayString(unref(label)), 1)) : createCommentVNode("", true),
17935
- createElementVNode("div", _hoisted_3$g, [
17952
+ unref(label) ? (openBlock(), createElementBlock("label", _hoisted_2$l, toDisplayString(unref(label)), 1)) : createCommentVNode("", true),
17953
+ createElementVNode("div", _hoisted_3$h, [
17936
17954
  createElementVNode("input", {
17937
17955
  id: unref(id),
17938
17956
  value: validFrom.value,
@@ -17945,7 +17963,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
17945
17963
  disabled: unref(disabled),
17946
17964
  "aria-label": unref(multiRange) ? "Minimum value" : "Value",
17947
17965
  onInput: _cache[0] || (_cache[0] = (e) => handleInput(+e.target.value, true))
17948
- }, null, 40, _hoisted_4$9),
17966
+ }, null, 40, _hoisted_4$a),
17949
17967
  unref(multiRange) ? (openBlock(), createElementBlock("input", {
17950
17968
  key: 0,
17951
17969
  value: validTo.value,
@@ -17958,8 +17976,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
17958
17976
  disabled: unref(disabled),
17959
17977
  "aria-label": "Maximum value",
17960
17978
  onInput: _cache[1] || (_cache[1] = (e) => handleInput(+e.target.value, false))
17961
- }, null, 40, _hoisted_5$9)) : createCommentVNode("", true),
17962
- createElementVNode("div", _hoisted_6$8, [
17979
+ }, null, 40, _hoisted_5$a)) : createCommentVNode("", true),
17980
+ createElementVNode("div", _hoisted_6$9, [
17963
17981
  createElementVNode("div", {
17964
17982
  class: "active-range absolute h-100 pointer-events-none bg-primary",
17965
17983
  style: normalizeStyle(rangeStyle.value)
@@ -18003,7 +18021,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
18003
18021
  ], true)
18004
18022
  ], 4)) : createCommentVNode("", true)
18005
18023
  ]),
18006
- createElementVNode("p", _hoisted_7$6, [
18024
+ createElementVNode("p", _hoisted_7$7, [
18007
18025
  renderSlot(_ctx.$slots, "min", {
18008
18026
  max: unref(formatValue)(unref(max2)),
18009
18027
  min: unref(formatValue)(unref(min2)),
@@ -18023,11 +18041,11 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
18023
18041
  createElementVNode("span", null, toDisplayString(unref(formatValue)(unref(max2))), 1)
18024
18042
  ], true)
18025
18043
  ])
18026
- ], 8, _hoisted_1$v);
18044
+ ], 8, _hoisted_1$w);
18027
18045
  };
18028
18046
  }
18029
18047
  });
18030
- const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-25d991e5"]]);
18048
+ const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-25d991e5"]]);
18031
18049
  const basicToolbarConfig = [
18032
18050
  "h2",
18033
18051
  "h3",
@@ -18091,12 +18109,12 @@ const toolbarOptions = [
18091
18109
  { name: "separator" },
18092
18110
  { name: "fullScreen", label: "Full Screen", icon: "fullscreen", class: "ms-auto" }
18093
18111
  ];
18094
- const _hoisted_1$u = { class: "grid grid-wrap p-05" };
18095
- const _hoisted_2$j = ["onMousemove", "onClick"];
18096
- const _hoisted_3$f = { class: "txt-center txt-12 color-gray" };
18112
+ const _hoisted_1$v = { class: "grid grid-wrap p-05" };
18113
+ const _hoisted_2$k = ["onMousemove", "onClick"];
18114
+ const _hoisted_3$g = { class: "txt-center txt-12 color-gray" };
18097
18115
  const fb = 1;
18098
18116
  const base = 5;
18099
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
18117
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
18100
18118
  __name: "gridBox",
18101
18119
  emits: ["select"],
18102
18120
  setup(__props, { emit: __emit }) {
@@ -18112,7 +18130,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
18112
18130
  return hoveredCol.value > base - 1 ? enlarge : base;
18113
18131
  });
18114
18132
  return (_ctx, _cache) => {
18115
- return openBlock(), createElementBlock("div", _hoisted_1$u, [
18133
+ return openBlock(), createElementBlock("div", _hoisted_1$v, [
18116
18134
  (openBlock(true), createElementBlock(Fragment, null, renderList(rowSize.value, (row) => {
18117
18135
  return openBlock(), createElementBlock("div", {
18118
18136
  key: `row-${row}`,
@@ -18139,21 +18157,21 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
18139
18157
  hoveredCol.value = col;
18140
18158
  },
18141
18159
  onClick: ($event) => emit2("select", `${row}x${col}`)
18142
- }, null, 42, _hoisted_2$j);
18160
+ }, null, 42, _hoisted_2$k);
18143
18161
  }), 128))
18144
18162
  ], 32);
18145
18163
  }), 128)),
18146
- createElementVNode("p", _hoisted_3$f, toDisplayString(hoveredRow.value) + "x" + toDisplayString(hoveredCol.value), 1)
18164
+ createElementVNode("p", _hoisted_3$g, toDisplayString(hoveredRow.value) + "x" + toDisplayString(hoveredCol.value), 1)
18147
18165
  ]);
18148
18166
  };
18149
18167
  }
18150
18168
  });
18151
- const GridBox = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-4548b70f"]]);
18152
- const _hoisted_1$t = {
18169
+ const GridBox = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-4548b70f"]]);
18170
+ const _hoisted_1$u = {
18153
18171
  class: "toolbar flex gap-025 pb-05 flex-wrap",
18154
18172
  role: "toolbar"
18155
18173
  };
18156
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
18174
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
18157
18175
  __name: "EditorToolbar",
18158
18176
  props: {
18159
18177
  config: { default: basicToolbarConfig },
@@ -18168,10 +18186,10 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
18168
18186
  }
18169
18187
  return (_ctx, _cache) => {
18170
18188
  const _directive_tooltip = resolveDirective("tooltip");
18171
- return openBlock(), createElementBlock("div", _hoisted_1$t, [
18189
+ return openBlock(), createElementBlock("div", _hoisted_1$u, [
18172
18190
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.config.map(configToOption).filter(Boolean), (action, index2) => {
18173
18191
  return openBlock(), createElementBlock(Fragment, { key: index2 }, [
18174
- action.name === "insertTable" ? (openBlock(), createBlock(unref(_sfc_main$V), {
18192
+ action.name === "insertTable" ? (openBlock(), createBlock(unref(_sfc_main$W), {
18175
18193
  key: 0,
18176
18194
  placement: "bottom-start",
18177
18195
  thin: "",
@@ -18211,7 +18229,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
18211
18229
  };
18212
18230
  }
18213
18231
  });
18214
- const EditorToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-9d8a6eb6"]]);
18232
+ const EditorToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-9d8a6eb6"]]);
18215
18233
  function isStyleActive(style, doc) {
18216
18234
  const selection = doc.getSelection();
18217
18235
  if (!selection || !selection.rangeCount) return false;
@@ -19483,13 +19501,13 @@ function isNodeEmpty(node) {
19483
19501
  if (brElements.length === 0) return true;
19484
19502
  return brElements.length === 1 && node.childNodes.length <= 2;
19485
19503
  }
19486
- const _hoisted_1$s = { class: "bagel-input" };
19487
- const _hoisted_2$i = { class: "content-area radius-05" };
19488
- const _hoisted_3$e = {
19504
+ const _hoisted_1$t = { class: "bagel-input" };
19505
+ const _hoisted_2$j = { class: "content-area radius-05" };
19506
+ const _hoisted_3$f = {
19489
19507
  key: 1,
19490
19508
  class: "flex"
19491
19509
  };
19492
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
19510
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
19493
19511
  __name: "index",
19494
19512
  props: {
19495
19513
  modelValue: {},
@@ -19606,7 +19624,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
19606
19624
  });
19607
19625
  return (_ctx, _cache) => {
19608
19626
  var _a, _b;
19609
- return openBlock(), createElementBlock("div", _hoisted_1$s, [
19627
+ return openBlock(), createElementBlock("div", _hoisted_1$t, [
19610
19628
  createElementVNode("label", null, toDisplayString(_ctx.label), 1),
19611
19629
  createElementVNode("div", {
19612
19630
  class: normalizeClass(["rich-text-editor rounded pt-05 px-05 pb-075", { "fullscreen-mode": unref(editor).state.isFullscreen }])
@@ -19620,7 +19638,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
19620
19638
  createElementVNode("div", {
19621
19639
  class: normalizeClass(["editor-container", { "split-view": unref(editor).state.isSplitView }])
19622
19640
  }, [
19623
- createElementVNode("div", _hoisted_2$i, [
19641
+ createElementVNode("div", _hoisted_2$j, [
19624
19642
  createElementVNode("iframe", {
19625
19643
  id: "rich-text-iframe",
19626
19644
  ref_key: "iframe",
@@ -19643,7 +19661,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
19643
19661
  class: "code-editor"
19644
19662
  }, null, 8, ["modelValue"])) : createCommentVNode("", true)
19645
19663
  ], 2),
19646
- _ctx.debug ? (openBlock(), createElementBlock("div", _hoisted_3$e, [
19664
+ _ctx.debug ? (openBlock(), createElementBlock("div", _hoisted_3$f, [
19647
19665
  _cache[6] || (_cache[6] = createElementVNode("p", { class: "text12 txt-gray mb-0 p-0" }, " Debug ", -1)),
19648
19666
  createVNode(unref(Btn), {
19649
19667
  thin: "",
@@ -19687,18 +19705,18 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
19687
19705
  };
19688
19706
  }
19689
19707
  });
19690
- const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-30bcda4c"]]);
19691
- const _hoisted_1$r = { class: "flex gap-05" };
19692
- const _hoisted_2$h = ["disabled"];
19693
- const _hoisted_3$d = { key: 1 };
19694
- const _hoisted_4$8 = {
19708
+ const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-30bcda4c"]]);
19709
+ const _hoisted_1$s = { class: "flex gap-05" };
19710
+ const _hoisted_2$i = ["disabled"];
19711
+ const _hoisted_3$e = { key: 1 };
19712
+ const _hoisted_4$9 = {
19695
19713
  key: 2,
19696
19714
  class: "ms-auto ps-05 me-05"
19697
19715
  };
19698
- const _hoisted_5$8 = ["value"];
19699
- const _hoisted_6$7 = ["aria-selected", "onClick", "onKeydown"];
19700
- const _hoisted_7$5 = { class: "block" };
19701
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
19716
+ const _hoisted_5$9 = ["value"];
19717
+ const _hoisted_6$8 = ["aria-selected", "onClick", "onKeydown"];
19718
+ const _hoisted_7$6 = { class: "block" };
19719
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
19702
19720
  __name: "SelectInput",
19703
19721
  props: {
19704
19722
  options: {},
@@ -19874,7 +19892,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
19874
19892
  }
19875
19893
  });
19876
19894
  return (_ctx, _cache) => {
19877
- return openBlock(), createBlock(unref(_sfc_main$V), {
19895
+ return openBlock(), createBlock(unref(_sfc_main$W), {
19878
19896
  ref_key: "dropdown",
19879
19897
  ref: dropdown,
19880
19898
  shown: unref(open),
@@ -19886,7 +19904,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
19886
19904
  trigger: withCtx(() => [
19887
19905
  createElementVNode("label", null, [
19888
19906
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
19889
- createElementVNode("div", _hoisted_1$r, [
19907
+ createElementVNode("div", _hoisted_1$s, [
19890
19908
  _ctx.searchable && unref(open) ? (openBlock(), createBlock(unref(TextInput), {
19891
19909
  key: 0,
19892
19910
  ref_key: "searchInput",
@@ -19917,8 +19935,8 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
19917
19935
  key: 0,
19918
19936
  icon: _ctx.icon
19919
19937
  }, null, 8, ["icon"])) : createCommentVNode("", true),
19920
- !_ctx.hideLabel ? (openBlock(), createElementBlock("p", _hoisted_3$d, toDisplayString(selectedLabel.value), 1)) : createCommentVNode("", true),
19921
- _ctx.clearable && selectedItemCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_4$8, [
19938
+ !_ctx.hideLabel ? (openBlock(), createElementBlock("p", _hoisted_3$e, toDisplayString(selectedLabel.value), 1)) : createCommentVNode("", true),
19939
+ _ctx.clearable && selectedItemCount.value > 0 ? (openBlock(), createElementBlock("div", _hoisted_4$9, [
19922
19940
  createVNode(unref(Btn), {
19923
19941
  flat: "",
19924
19942
  thin: "",
@@ -19934,14 +19952,14 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
19934
19952
  key: 3,
19935
19953
  thin: ""
19936
19954
  }, { icon: unref(open) ? "unfold_less" : "unfold_more" }), null, 16)) : createCommentVNode("", true)
19937
- ], 42, _hoisted_2$h)),
19955
+ ], 42, _hoisted_2$i)),
19938
19956
  _ctx.required ? (openBlock(), createElementBlock("input", {
19939
19957
  key: 2,
19940
19958
  tabindex: "-1",
19941
19959
  style: { "width": "0", "height": "0", "position": "absolute", "opacity": "0", "z-index": "-1" },
19942
19960
  value: unref(selectedItems),
19943
19961
  required: ""
19944
- }, null, 8, _hoisted_5$8)) : createCommentVNode("", true)
19962
+ }, null, 8, _hoisted_5$9)) : createCommentVNode("", true)
19945
19963
  ])
19946
19964
  ])
19947
19965
  ]),
@@ -19953,7 +19971,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
19953
19971
  height: "25px",
19954
19972
  class: "mx-1 my-1"
19955
19973
  })) : createCommentVNode("", true),
19956
- createVNode(unref(_sfc_main$$), {
19974
+ createVNode(unref(_sfc_main$10), {
19957
19975
  class: "p-05",
19958
19976
  style: normalizeStyle({ width: _ctx.fullWidth ? "100%" : "auto" })
19959
19977
  }, {
@@ -19990,8 +20008,8 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
19990
20008
  size: 1.1
19991
20009
  })) : createCommentVNode("", true)
19992
20010
  ], 64)) : createCommentVNode("", true),
19993
- createElementVNode("span", _hoisted_7$5, toDisplayString(getLabel(option2)), 1)
19994
- ], 42, _hoisted_6$7);
20011
+ createElementVNode("span", _hoisted_7$6, toDisplayString(getLabel(option2)), 1)
20012
+ ], 42, _hoisted_6$8);
19995
20013
  }), 128))
19996
20014
  ], 2),
19997
20015
  renderSlot(_ctx.$slots, "last", {}, void 0, true)
@@ -20004,7 +20022,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
20004
20022
  };
20005
20023
  }
20006
20024
  });
20007
- const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-70535216"]]);
20025
+ const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-70535216"]]);
20008
20026
  /*!
20009
20027
  * Signature Pad v5.0.4 | https://github.com/szimek/signature_pad
20010
20028
  * (c) 2024 Szymon Nowak | Released under the MIT license
@@ -20601,15 +20619,15 @@ class SignaturePad extends SignatureEventTarget {
20601
20619
  return svg.outerHTML;
20602
20620
  }
20603
20621
  }
20604
- const _hoisted_1$q = ["disabled"];
20605
- const _hoisted_2$g = {
20622
+ const _hoisted_1$r = ["disabled"];
20623
+ const _hoisted_2$h = {
20606
20624
  key: 1,
20607
20625
  placeholder: "required",
20608
20626
  type: "text",
20609
20627
  required: "",
20610
20628
  class: "pixel opacity-0"
20611
20629
  };
20612
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
20630
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
20613
20631
  __name: "SignaturePad",
20614
20632
  props: /* @__PURE__ */ mergeModels({
20615
20633
  sigOption: {},
@@ -20805,8 +20823,8 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
20805
20823
  ref: vCanvas,
20806
20824
  class: "canvas",
20807
20825
  disabled: _ctx.disabled
20808
- }, null, 8, _hoisted_1$q),
20809
- _ctx.required && unref(_isEmpty) ? (openBlock(), createElementBlock("input", _hoisted_2$g)) : createCommentVNode("", true)
20826
+ }, null, 8, _hoisted_1$r),
20827
+ _ctx.required && unref(_isEmpty) ? (openBlock(), createElementBlock("input", _hoisted_2$h)) : createCommentVNode("", true)
20810
20828
  ], 34);
20811
20829
  };
20812
20830
  }
@@ -23290,13 +23308,13 @@ const VueDraggableNext = defineComponent({
23290
23308
  }
23291
23309
  }
23292
23310
  });
23293
- const _hoisted_1$p = ["title"];
23294
- const _hoisted_2$f = { class: "bagel-input" };
23295
- const _hoisted_3$c = { class: "table-side-scroll" };
23296
- const _hoisted_4$7 = { class: "table-header" };
23297
- const _hoisted_5$7 = { class: "table-reorder" };
23298
- const _hoisted_6$6 = { class: "table-action" };
23299
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
23311
+ const _hoisted_1$q = ["title"];
23312
+ const _hoisted_2$g = { class: "bagel-input" };
23313
+ const _hoisted_3$d = { class: "table-side-scroll" };
23314
+ const _hoisted_4$8 = { class: "table-header" };
23315
+ const _hoisted_5$8 = { class: "table-reorder" };
23316
+ const _hoisted_6$7 = { class: "table-action" };
23317
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
23300
23318
  __name: "TableField",
23301
23319
  props: {
23302
23320
  description: { default: "" },
@@ -23361,11 +23379,11 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
23361
23379
  class: "table-field-wrap",
23362
23380
  title: _ctx.description
23363
23381
  }, [
23364
- createElementVNode("div", _hoisted_2$f, [
23382
+ createElementVNode("div", _hoisted_2$g, [
23365
23383
  createElementVNode("label", null, toDisplayString((_a = unref(fieldMeta)) == null ? void 0 : _a.label), 1)
23366
23384
  ]),
23367
- createElementVNode("div", _hoisted_3$c, [
23368
- createElementVNode("div", _hoisted_4$7, [
23385
+ createElementVNode("div", _hoisted_3$d, [
23386
+ createElementVNode("div", _hoisted_4$8, [
23369
23387
  (openBlock(true), createElementBlock(Fragment, null, renderList((_b = unref(entityMeta)) == null ? void 0 : _b.fields, (field) => {
23370
23388
  return openBlock(), createElementBlock("div", {
23371
23389
  key: `${field.fieldname}header`,
@@ -23392,7 +23410,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
23392
23410
  key: row.id,
23393
23411
  class: "flex table-row"
23394
23412
  }, [
23395
- createElementVNode("div", _hoisted_5$7, [
23413
+ createElementVNode("div", _hoisted_5$8, [
23396
23414
  createVNode(unref(Icon), { icon: "more_vert" })
23397
23415
  ]),
23398
23416
  (openBlock(true), createElementBlock(Fragment, null, renderList((_a2 = unref(entityMeta)) == null ? void 0 : _a2.fields, (field) => {
@@ -23409,7 +23427,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
23409
23427
  }, null, 8, ["field-meta", "bagel-app", "model-value", "onUpdate:modelValue"])
23410
23428
  ], 2);
23411
23429
  }), 128)),
23412
- createElementVNode("div", _hoisted_6$6, [
23430
+ createElementVNode("div", _hoisted_6$7, [
23413
23431
  createVNode(unref(Icon), {
23414
23432
  icon: "delete",
23415
23433
  onClick: ($event) => removeRow(index2)
@@ -23436,11 +23454,11 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
23436
23454
  ])),
23437
23455
  _: 1
23438
23456
  })
23439
- ], 8, _hoisted_1$p);
23457
+ ], 8, _hoisted_1$q);
23440
23458
  };
23441
23459
  }
23442
23460
  });
23443
- const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-e9632f79"]]);
23461
+ const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-e9632f79"]]);
23444
23462
  function bind(fn, thisArg) {
23445
23463
  return function wrap() {
23446
23464
  return fn.apply(thisArg, arguments);
@@ -27887,14 +27905,14 @@ function parsePhoneNumber$1() {
27887
27905
  function parsePhoneNumber() {
27888
27906
  return withMetadataArgument(parsePhoneNumber$1, arguments);
27889
27907
  }
27890
- const _hoisted_1$o = ["aria-expanded"];
27891
- const _hoisted_2$e = { class: "flex gap-05" };
27892
- const _hoisted_3$b = { class: "p-075 tel-countryp-dropdown" };
27893
- const _hoisted_4$6 = ["aria-selected", "onClick", "onMousemove"];
27894
- const _hoisted_5$6 = { class: "tel-country" };
27895
- const _hoisted_6$5 = { key: 1 };
27896
- const _hoisted_7$4 = ["id", "required", "placeholder", "disabled", "autocomplete", "pattern", "minlength", "maxlength", "name", "readonly", "tabindex", "aria-describedby"];
27897
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
27908
+ const _hoisted_1$p = ["aria-expanded"];
27909
+ const _hoisted_2$f = { class: "flex gap-05" };
27910
+ const _hoisted_3$c = { class: "p-075 tel-countryp-dropdown" };
27911
+ const _hoisted_4$7 = ["aria-selected", "onClick", "onMousemove"];
27912
+ const _hoisted_5$7 = { class: "tel-country" };
27913
+ const _hoisted_6$6 = { key: 1 };
27914
+ const _hoisted_7$5 = ["id", "required", "placeholder", "disabled", "autocomplete", "pattern", "minlength", "maxlength", "name", "readonly", "tabindex", "aria-describedby"];
27915
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
27898
27916
  __name: "TelInput",
27899
27917
  props: /* @__PURE__ */ mergeModels({
27900
27918
  label: {},
@@ -28194,14 +28212,14 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
28194
28212
  withKeys(reset, ["tab"])
28195
28213
  ]
28196
28214
  }, [
28197
- createVNode(unref(_sfc_main$V), {
28215
+ createVNode(unref(_sfc_main$W), {
28198
28216
  shown: open.value,
28199
28217
  "onUpdate:shown": _cache[1] || (_cache[1] = ($event) => open.value = $event),
28200
28218
  placement: "bottom-start",
28201
28219
  disabled: unref(computedDropDownOptions).disabled
28202
28220
  }, {
28203
28221
  trigger: withCtx(() => [
28204
- createElementVNode("span", _hoisted_2$e, [
28222
+ createElementVNode("span", _hoisted_2$f, [
28205
28223
  createVNode(unref(Icon), {
28206
28224
  icon: open.value ? "collapse_all" : "expand_all"
28207
28225
  }, null, 8, ["icon"]),
@@ -28212,7 +28230,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
28212
28230
  ])
28213
28231
  ]),
28214
28232
  default: withCtx(() => [
28215
- createElementVNode("div", _hoisted_3$b, [
28233
+ createElementVNode("div", _hoisted_3$c, [
28216
28234
  _ctx.searchable ? (openBlock(), createBlock(unref(TextInput), {
28217
28235
  key: 0,
28218
28236
  modelValue: unref(searchQuery),
@@ -28239,9 +28257,9 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
28239
28257
  key: 0,
28240
28258
  country: pb.iso2
28241
28259
  }, null, 8, ["country"])) : createCommentVNode("", true),
28242
- createElementVNode("p", _hoisted_5$6, toDisplayString(pb.name), 1),
28243
- unref(computedDropDownOptions).showDialCodeInList ? (openBlock(), createElementBlock("span", _hoisted_6$5, " +" + toDisplayString(pb.dialCode), 1)) : createCommentVNode("", true)
28244
- ], 40, _hoisted_4$6);
28260
+ createElementVNode("p", _hoisted_5$7, toDisplayString(pb.name), 1),
28261
+ unref(computedDropDownOptions).showDialCodeInList ? (openBlock(), createElementBlock("span", _hoisted_6$6, " +" + toDisplayString(pb.dialCode), 1)) : createCommentVNode("", true)
28262
+ ], 40, _hoisted_4$7);
28245
28263
  }), 128))
28246
28264
  ], 2)
28247
28265
  ])
@@ -28272,22 +28290,22 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
28272
28290
  withKeys(onSpace, ["space"])
28273
28291
  ],
28274
28292
  onKeydown: handleInput
28275
- }, null, 44, _hoisted_7$4), [
28293
+ }, null, 44, _hoisted_7$5), [
28276
28294
  [vModelText, phone.value]
28277
28295
  ])
28278
- ], 40, _hoisted_1$o)
28296
+ ], 40, _hoisted_1$p)
28279
28297
  ])
28280
28298
  ], 2);
28281
28299
  };
28282
28300
  }
28283
28301
  });
28284
- const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-a77caf64"]]);
28285
- const _hoisted_1$n = ["title"];
28286
- const _hoisted_2$d = ["for"];
28287
- const _hoisted_3$a = ["id", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
28288
- const _hoisted_4$5 = ["id", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
28289
- const _hoisted_5$5 = { key: 2 };
28290
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
28302
+ const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-a77caf64"]]);
28303
+ const _hoisted_1$o = ["title"];
28304
+ const _hoisted_2$e = ["for"];
28305
+ const _hoisted_3$b = ["id", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
28306
+ const _hoisted_4$6 = ["id", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
28307
+ const _hoisted_5$6 = { key: 2 };
28308
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
28291
28309
  __name: "TextInput",
28292
28310
  props: {
28293
28311
  id: {},
@@ -28390,7 +28408,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
28390
28408
  onFocus: _cache[2] || (_cache[2] = //@ts-ignore
28391
28409
  (...args) => _ctx.onFocus && _ctx.onFocus(...args)),
28392
28410
  onInput: updateInputVal
28393
- }), null, 16, _hoisted_3$a)), [
28411
+ }), null, 16, _hoisted_3$b)), [
28394
28412
  [
28395
28413
  vModelDynamic,
28396
28414
  unref(inputVal),
@@ -28414,10 +28432,10 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
28414
28432
  onInput: updateInputVal,
28415
28433
  onFocusout: _cache[4] || (_cache[4] = //@ts-ignore
28416
28434
  (...args) => _ctx.onFocusout && _ctx.onFocusout(...args))
28417
- }), null, 16, _hoisted_4$5)), [
28435
+ }), null, 16, _hoisted_4$6)), [
28418
28436
  [vModelText, unref(inputVal)]
28419
28437
  ]),
28420
- _ctx.helptext ? (openBlock(), createElementBlock("p", _hoisted_5$5, toDisplayString(_ctx.helptext), 1)) : createCommentVNode("", true),
28438
+ _ctx.helptext ? (openBlock(), createElementBlock("p", _hoisted_5$6, toDisplayString(_ctx.helptext), 1)) : createCommentVNode("", true),
28421
28439
  _ctx.iconStart ? (openBlock(), createBlock(unref(Icon), {
28422
28440
  key: 3,
28423
28441
  class: "iconStart",
@@ -28427,16 +28445,16 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
28427
28445
  key: 4,
28428
28446
  icon: _ctx.icon
28429
28447
  }, null, 8, ["icon"])) : createCommentVNode("", true)
28430
- ], 8, _hoisted_2$d)
28431
- ], 10, _hoisted_1$n);
28448
+ ], 8, _hoisted_2$e)
28449
+ ], 10, _hoisted_1$o);
28432
28450
  };
28433
28451
  }
28434
28452
  });
28435
- const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-99e3ea36"]]);
28436
- const _hoisted_1$m = ["title"];
28437
- const _hoisted_2$c = ["id", "required"];
28438
- const _hoisted_3$9 = ["for"];
28439
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
28453
+ const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-99e3ea36"]]);
28454
+ const _hoisted_1$n = ["title"];
28455
+ const _hoisted_2$d = ["id", "required"];
28456
+ const _hoisted_3$a = ["for"];
28457
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
28440
28458
  __name: "ToggleInput",
28441
28459
  props: /* @__PURE__ */ mergeModels({
28442
28460
  label: {},
@@ -28472,19 +28490,19 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
28472
28490
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => checked.value = $event),
28473
28491
  type: "checkbox",
28474
28492
  required: _ctx.required
28475
- }, null, 8, _hoisted_2$c), [
28493
+ }, null, 8, _hoisted_2$d), [
28476
28494
  [vModelCheckbox, checked.value]
28477
28495
  ]),
28478
28496
  createElementVNode("label", { for: inputId.value }, [
28479
28497
  renderSlot(_ctx.$slots, "label", {}, () => [
28480
28498
  createTextVNode(toDisplayString(_ctx.label), 1)
28481
28499
  ], true)
28482
- ], 8, _hoisted_3$9)
28483
- ], 10, _hoisted_1$m);
28500
+ ], 8, _hoisted_3$a)
28501
+ ], 10, _hoisted_1$n);
28484
28502
  };
28485
28503
  }
28486
28504
  });
28487
- const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-ebe691ee"]]);
28505
+ const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-ebe691ee"]]);
28488
28506
  const files = {
28489
28507
  setBaseUrl: (baseUrl) => {
28490
28508
  if (!baseUrl) return;
@@ -28513,19 +28531,19 @@ const files = {
28513
28531
  return axios$1.get("/files_v2/list", { params: { dir_path: dirPath } });
28514
28532
  }
28515
28533
  };
28516
- const _hoisted_1$l = { class: "bagel-input" };
28517
- const _hoisted_2$b = { key: 0 };
28518
- const _hoisted_3$8 = {
28534
+ const _hoisted_1$m = { class: "bagel-input" };
28535
+ const _hoisted_2$c = { key: 0 };
28536
+ const _hoisted_3$9 = {
28519
28537
  key: 1,
28520
28538
  placeholder: "required",
28521
28539
  type: "text",
28522
28540
  required: "",
28523
28541
  class: "pixel"
28524
28542
  };
28525
- const _hoisted_4$4 = { class: "m-05 flex opacity-7 z-99" };
28526
- const _hoisted_5$4 = { class: "flex gap-025 rounded pe-1 ps-05 py-025 bg-gray-80 -my-1" };
28527
- const _hoisted_6$4 = { class: "ellipsis-1 word-break-all h-20 m-0 color-black txt16" };
28528
- const _hoisted_7$3 = {
28543
+ const _hoisted_4$5 = { class: "m-05 flex opacity-7 z-99" };
28544
+ const _hoisted_5$5 = { class: "flex gap-025 rounded pe-1 ps-05 py-025 bg-gray-80 -my-1" };
28545
+ const _hoisted_6$5 = { class: "ellipsis-1 word-break-all h-20 m-0 color-black txt16" };
28546
+ const _hoisted_7$4 = {
28529
28547
  key: 1,
28530
28548
  class: "txt-gray txt-12"
28531
28549
  };
@@ -28539,22 +28557,22 @@ const _hoisted_11$2 = {
28539
28557
  key: 0,
28540
28558
  class: "progress"
28541
28559
  };
28542
- const _hoisted_12$2 = {
28560
+ const _hoisted_12$1 = {
28543
28561
  key: 1,
28544
28562
  class: "bgl-single-preview"
28545
28563
  };
28546
- const _hoisted_13$1 = { class: "position-start m-05 flex opacity-7 z-99 gap-025" };
28547
- const _hoisted_14$1 = {
28564
+ const _hoisted_13 = { class: "position-start m-05 flex opacity-7 z-99 gap-025" };
28565
+ const _hoisted_14 = {
28548
28566
  key: 0,
28549
28567
  class: "h-100"
28550
28568
  };
28551
- const _hoisted_15$1 = {
28569
+ const _hoisted_15 = {
28552
28570
  key: 0,
28553
28571
  class: "progress"
28554
28572
  };
28555
- const _hoisted_16$1 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
28556
- const _hoisted_17$1 = { class: "pretty balance" };
28557
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
28573
+ const _hoisted_16 = { class: "p-1 flex column hover fileUploadPlaceHolder justify-content-center mb-05" };
28574
+ const _hoisted_17 = { class: "pretty balance" };
28575
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
28558
28576
  __name: "UploadInput",
28559
28577
  props: {
28560
28578
  label: {},
@@ -28663,10 +28681,10 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
28663
28681
  return (_ctx, _cache) => {
28664
28682
  const _directive_tooltip = resolveDirective("tooltip");
28665
28683
  const _directive_lightbox = resolveDirective("lightbox");
28666
- return openBlock(), createElementBlock("div", _hoisted_1$l, [
28667
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$b, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
28668
- _ctx.required && !pathKeys.value.length ? (openBlock(), createElementBlock("input", _hoisted_3$8)) : createCommentVNode("", true),
28669
- _ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main$$), {
28684
+ return openBlock(), createElementBlock("div", _hoisted_1$m, [
28685
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$c, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
28686
+ _ctx.required && !pathKeys.value.length ? (openBlock(), createElementBlock("input", _hoisted_3$9)) : createCommentVNode("", true),
28687
+ _ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main$10), {
28670
28688
  key: 2,
28671
28689
  outline: "",
28672
28690
  class: "flex p-05 gap-1",
@@ -28687,7 +28705,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
28687
28705
  key: path_key,
28688
28706
  class: "txt-gray txt-12 flex"
28689
28707
  }, [
28690
- createElementVNode("div", _hoisted_4$4, [
28708
+ createElementVNode("div", _hoisted_4$5, [
28691
28709
  withDirectives(createVNode(unref(Btn), {
28692
28710
  color: "gray",
28693
28711
  thin: "",
@@ -28711,12 +28729,12 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
28711
28729
  href: unref(pathKeyToURL)(path_key),
28712
28730
  download: path_key.split("/").pop()
28713
28731
  }, null, 8, ["href", "download"]),
28714
- createElementVNode("div", _hoisted_5$4, [
28732
+ createElementVNode("div", _hoisted_5$5, [
28715
28733
  createVNode(unref(Icon), {
28716
28734
  icon: "draft",
28717
28735
  size: 1.5
28718
28736
  }),
28719
- withDirectives((openBlock(), createElementBlock("p", _hoisted_6$4, [
28737
+ withDirectives((openBlock(), createElementBlock("p", _hoisted_6$5, [
28720
28738
  createTextVNode(toDisplayString(path_key.split("/").pop()), 1)
28721
28739
  ])), [
28722
28740
  [_directive_lightbox, { src: unref(pathKeyToURL)(path_key), download: true }]
@@ -28725,7 +28743,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
28725
28743
  ])
28726
28744
  ]);
28727
28745
  }), 128)),
28728
- !pathKeys.value.length && !fileQueue.value.length ? (openBlock(), createElementBlock("span", _hoisted_7$3, toDisplayString(_ctx.noFilePlaceholder || "No file selected"), 1)) : createCommentVNode("", true)
28746
+ !pathKeys.value.length && !fileQueue.value.length ? (openBlock(), createElementBlock("span", _hoisted_7$4, toDisplayString(_ctx.noFilePlaceholder || "No file selected"), 1)) : createCommentVNode("", true)
28729
28747
  ]),
28730
28748
  _: 1
28731
28749
  })) : (openBlock(), createElementBlock("div", {
@@ -28800,13 +28818,13 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
28800
28818
  ], 6)
28801
28819
  ], 2);
28802
28820
  }), 128))
28803
- ])) : pathKeys.value.length > 0 || fileQueue.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_12$2, [
28821
+ ])) : pathKeys.value.length > 0 || fileQueue.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_12$1, [
28804
28822
  (openBlock(true), createElementBlock(Fragment, null, renderList(pathKeys.value, (path_key) => {
28805
28823
  return openBlock(), createElementBlock("div", {
28806
28824
  key: path_key,
28807
28825
  class: normalizeClass(["single-image-item-preview", { "bgl_fill-image": _ctx.fill }])
28808
28826
  }, [
28809
- createElementVNode("div", _hoisted_13$1, [
28827
+ createElementVNode("div", _hoisted_13, [
28810
28828
  withDirectives(createVNode(unref(Btn), {
28811
28829
  color: "gray",
28812
28830
  thin: "",
@@ -28833,7 +28851,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
28833
28851
  [_directive_tooltip, "Download"]
28834
28852
  ])
28835
28853
  ]),
28836
- isImage(path_key) ? (openBlock(), createElementBlock("div", _hoisted_14$1, [
28854
+ isImage(path_key) ? (openBlock(), createElementBlock("div", _hoisted_14, [
28837
28855
  withDirectives(createVNode(unref(Image$1), {
28838
28856
  class: "single-preview",
28839
28857
  pathKey: path_key,
@@ -28861,7 +28879,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
28861
28879
  class: normalizeClass(["pie", { complete: file.progress === 100 }]),
28862
28880
  style: normalizeStyle([{ "--p": file.progress }, { "--b": "2px" }])
28863
28881
  }, [
28864
- file.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_15$1, toDisplayString(file.progress.toFixed(0)), 1)) : createCommentVNode("", true),
28882
+ file.progress < 100 ? (openBlock(), createElementBlock("span", _hoisted_15, toDisplayString(file.progress.toFixed(0)), 1)) : createCommentVNode("", true),
28865
28883
  createVNode(unref(Icon), {
28866
28884
  class: "success",
28867
28885
  icon: "check_circle"
@@ -28885,9 +28903,9 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
28885
28903
  fileQueue: fileQueue.value,
28886
28904
  browse
28887
28905
  }, () => [
28888
- createElementVNode("p", _hoisted_16$1, [
28906
+ createElementVNode("p", _hoisted_16, [
28889
28907
  createVNode(unref(Icon), { icon: "upload_2" }),
28890
- createElementVNode("span", _hoisted_17$1, toDisplayString(_ctx.dropPlaceholder || "Drag and Drop files here or click to upload"), 1)
28908
+ createElementVNode("span", _hoisted_17, toDisplayString(_ctx.dropPlaceholder || "Drag and Drop files here or click to upload"), 1)
28891
28909
  ])
28892
28910
  ], true) : createCommentVNode("", true)
28893
28911
  ], 38))
@@ -28895,7 +28913,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
28895
28913
  };
28896
28914
  }
28897
28915
  });
28898
- const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-d2faef2b"]]);
28916
+ const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-d2faef2b"]]);
28899
28917
  const FONT_AWESOME_ICONS = [
28900
28918
  "trash-can",
28901
28919
  "message",
@@ -33321,7 +33339,7 @@ const MATERIAL_ICONS = [
33321
33339
  "zoom_out",
33322
33340
  "zoom_out_map"
33323
33341
  ];
33324
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
33342
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
33325
33343
  __name: "Icon",
33326
33344
  props: {
33327
33345
  icon: {},
@@ -33352,9 +33370,9 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
33352
33370
  };
33353
33371
  }
33354
33372
  });
33355
- const Icon = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-b28cd148"]]);
33356
- const _hoisted_1$k = ["src", "title", "width", "height", "marginwidth", "marginheight", "csp", "scrolling", "srcset"];
33357
- const _sfc_main$q = /* @__PURE__ */ defineComponent({
33373
+ const Icon = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-b28cd148"]]);
33374
+ const _hoisted_1$l = ["src", "title", "width", "height", "marginwidth", "marginheight", "csp", "scrolling", "srcset"];
33375
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
33358
33376
  __name: "IframeVue",
33359
33377
  props: {
33360
33378
  src: {},
@@ -33413,14 +33431,14 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
33413
33431
  scrolling: _ctx.scrolling,
33414
33432
  srcset: _ctx.srcset,
33415
33433
  onLoad: _cache[0] || (_cache[0] = ($event) => emit2("load", $event))
33416
- }, null, 40, _hoisted_1$k);
33434
+ }, null, 40, _hoisted_1$l);
33417
33435
  };
33418
33436
  }
33419
33437
  });
33420
- const _hoisted_1$j = { key: 0 };
33421
- const _hoisted_2$a = ["src", "alt", "width", "height"];
33422
- const _hoisted_3$7 = ["src", "alt", "width", "height"];
33423
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
33438
+ const _hoisted_1$k = { key: 0 };
33439
+ const _hoisted_2$b = ["src", "alt", "width", "height"];
33440
+ const _hoisted_3$8 = ["src", "alt", "width", "height"];
33441
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
33424
33442
  __name: "Image",
33425
33443
  props: {
33426
33444
  src: {},
@@ -33496,7 +33514,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
33496
33514
  }
33497
33515
  watch(() => [props2.src, props2.pathKey], loadImage, { immediate: true });
33498
33516
  return (_ctx, _cache) => {
33499
- return _ctx.caption ? (openBlock(), createElementBlock("figcaption", _hoisted_1$j, [
33517
+ return _ctx.caption ? (openBlock(), createElementBlock("figcaption", _hoisted_1$k, [
33500
33518
  unref(imageSrc) ? (openBlock(), createElementBlock("img", mergeProps({
33501
33519
  key: 0,
33502
33520
  src: unref(imageSrc)
@@ -33504,7 +33522,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
33504
33522
  alt: _ctx.alt,
33505
33523
  width: unref(normalizeDimension)(_ctx.width),
33506
33524
  height: unref(normalizeDimension)(_ctx.height)
33507
- }), null, 16, _hoisted_2$a)) : (openBlock(), createBlock(unref(Skeleton), {
33525
+ }), null, 16, _hoisted_2$b)) : (openBlock(), createBlock(unref(Skeleton), {
33508
33526
  key: 1,
33509
33527
  class: "img-web-kit",
33510
33528
  width: unref(normalizeDimension)(_ctx.width),
@@ -33517,7 +33535,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
33517
33535
  alt: _ctx.alt,
33518
33536
  width: unref(normalizeDimension)(_ctx.width),
33519
33537
  height: unref(normalizeDimension)(_ctx.height)
33520
- }), null, 16, _hoisted_3$7)) : unref(loadingError) ? (openBlock(), createElementBlock("div", {
33538
+ }), null, 16, _hoisted_3$8)) : unref(loadingError) ? (openBlock(), createElementBlock("div", {
33521
33539
  key: 2,
33522
33540
  class: "flex-center error-image",
33523
33541
  style: normalizeStyle({
@@ -33535,16 +33553,16 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
33535
33553
  };
33536
33554
  }
33537
33555
  });
33538
- const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-2f5e271c"]]);
33539
- const _hoisted_1$i = { class: "m-0 pb-025 txt14 line-height-1 w60 menu-text" };
33540
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
33556
+ const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-2f5e271c"]]);
33557
+ const _hoisted_1$j = { class: "m-0 pb-025 txt14 line-height-1 w60 menu-text" };
33558
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
33541
33559
  __name: "BottomMenu",
33542
33560
  props: {
33543
33561
  navLinks: {}
33544
33562
  },
33545
33563
  setup(__props) {
33546
33564
  return (_ctx, _cache) => {
33547
- return openBlock(), createBlock(unref(_sfc_main$$), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
33565
+ return openBlock(), createBlock(unref(_sfc_main$10), { class: "hide m_grid gap-05 bgl_bottombar px-1 txt14 justify-content-start align-items-center overflow-x" }, {
33548
33566
  default: withCtx(() => [
33549
33567
  renderSlot(_ctx.$slots, "brand", {}, void 0, true),
33550
33568
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.navLinks, (nav, i2) => {
@@ -33560,7 +33578,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
33560
33578
  size: 1.4,
33561
33579
  class: "m-0 line-height-14"
33562
33580
  }, null, 8, ["icon"]),
33563
- createElementVNode("p", _hoisted_1$i, toDisplayString(nav.label), 1)
33581
+ createElementVNode("p", _hoisted_1$j, toDisplayString(nav.label), 1)
33564
33582
  ]),
33565
33583
  _: 2
33566
33584
  }, 1032, ["to", "onClick"]);
@@ -33572,8 +33590,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
33572
33590
  };
33573
33591
  }
33574
33592
  });
33575
- const BottomMenu = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-fe3a895e"]]);
33576
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
33593
+ const BottomMenu = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-fe3a895e"]]);
33594
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
33577
33595
  __name: "Layout",
33578
33596
  props: {
33579
33597
  gap: { default: 1 },
@@ -33614,9 +33632,9 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
33614
33632
  };
33615
33633
  }
33616
33634
  });
33617
- const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-1814129a"]]);
33618
- const _hoisted_1$h = { key: 0 };
33619
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
33635
+ const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-1814129a"]]);
33636
+ const _hoisted_1$i = { key: 0 };
33637
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
33620
33638
  __name: "SidebarMenu",
33621
33639
  props: {
33622
33640
  navLinks: {},
@@ -33645,7 +33663,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
33645
33663
  icon: "keyboard_arrow_right",
33646
33664
  onClick: unref(toggleMenu)
33647
33665
  }, null, 8, ["onClick"]),
33648
- createVNode(unref(_sfc_main$$), { class: "py-1 px-05 h-100 flex column gap-05 rounded relative bg-primary font-light overflow-y" }, {
33666
+ createVNode(unref(_sfc_main$10), { class: "py-1 px-05 h-100 flex column gap-05 rounded relative bg-primary font-light overflow-y" }, {
33649
33667
  default: withCtx(() => [
33650
33668
  !unref(isOpen) || !unref(slots)["brand-open"] ? renderSlot(_ctx.$slots, "brand", { key: 0 }, void 0, true) : createCommentVNode("", true),
33651
33669
  unref(isOpen) ? renderSlot(_ctx.$slots, "brand-open", { key: 1 }, void 0, true) : createCommentVNode("", true),
@@ -33663,7 +33681,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
33663
33681
  }, null, 8, ["icon"]),
33664
33682
  createVNode(Transition, { name: "showP" }, {
33665
33683
  default: withCtx(() => [
33666
- _ctx.open ? (openBlock(), createElementBlock("p", _hoisted_1$h, toDisplayString(nav.label), 1)) : createCommentVNode("", true)
33684
+ _ctx.open ? (openBlock(), createElementBlock("p", _hoisted_1$i, toDisplayString(nav.label), 1)) : createCommentVNode("", true)
33667
33685
  ]),
33668
33686
  _: 2
33669
33687
  }, 1024)
@@ -33690,8 +33708,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
33690
33708
  };
33691
33709
  }
33692
33710
  });
33693
- const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-951fdacc"]]);
33694
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
33711
+ const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-951fdacc"]]);
33712
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
33695
33713
  __name: "Skeleton",
33696
33714
  props: {
33697
33715
  count: { default: 1 },
@@ -33722,11 +33740,11 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
33722
33740
  };
33723
33741
  }
33724
33742
  });
33725
- const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-8788ed73"]]);
33726
- const _hoisted_1$g = { class: "bgl_card tabs-top" };
33727
- const _hoisted_2$9 = { class: "tabs grid auto-flow-columns fit-content" };
33728
- const _hoisted_3$6 = ["onClick"];
33729
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
33743
+ const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-8788ed73"]]);
33744
+ const _hoisted_1$h = { class: "bgl_card tabs-top" };
33745
+ const _hoisted_2$a = { class: "tabs grid auto-flow-columns fit-content" };
33746
+ const _hoisted_3$7 = ["onClick"];
33747
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
33730
33748
  __name: "TabbedLayout",
33731
33749
  props: {
33732
33750
  title: {},
@@ -33759,9 +33777,9 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
33759
33777
  return openBlock(), createElementBlock("div", {
33760
33778
  class: normalizeClass(["h-100 grid list-view gap-1", { "side-tabs": _ctx.sideTabs }])
33761
33779
  }, [
33762
- createElementVNode("div", _hoisted_1$g, [
33780
+ createElementVNode("div", _hoisted_1$h, [
33763
33781
  renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
33764
- createElementVNode("div", _hoisted_2$9, [
33782
+ createElementVNode("div", _hoisted_2$a, [
33765
33783
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.tabs, (tab) => {
33766
33784
  var _a;
33767
33785
  return openBlock(), createElementBlock("div", {
@@ -33770,7 +33788,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
33770
33788
  active: tab === unref(activeTab) || tab === ((_a = _ctx.router) == null ? void 0 : _a.currentRoute.value.path.split("/").slice(-1)[0])
33771
33789
  }, "tab"]),
33772
33790
  onClick: ($event) => changeTab(tab)
33773
- }, toDisplayString(tab), 11, _hoisted_3$6);
33791
+ }, toDisplayString(tab), 11, _hoisted_3$7);
33774
33792
  }), 128))
33775
33793
  ])
33776
33794
  ]),
@@ -33786,7 +33804,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
33786
33804
  };
33787
33805
  }
33788
33806
  });
33789
- const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-915732c1"]]);
33807
+ const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-915732c1"]]);
33790
33808
  const state = reactive(/* @__PURE__ */ new Map());
33791
33809
  function useTabs(group) {
33792
33810
  if (!state.has(group)) {
@@ -33800,8 +33818,8 @@ function useTabs(group) {
33800
33818
  });
33801
33819
  return { currentTab };
33802
33820
  }
33803
- const _hoisted_1$f = { key: 0 };
33804
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
33821
+ const _hoisted_1$g = { key: 0 };
33822
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
33805
33823
  __name: "Tabs",
33806
33824
  props: {
33807
33825
  tabs: {},
@@ -33843,14 +33861,14 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
33843
33861
  group: unref(group),
33844
33862
  class: "mb-05"
33845
33863
  }, null, 8, ["modelValue", "flat", "tabs", "group"]),
33846
- unref(currentTab) ? (openBlock(), createElementBlock("div", _hoisted_1$f, [
33864
+ unref(currentTab) ? (openBlock(), createElementBlock("div", _hoisted_1$g, [
33847
33865
  unref(slots)[unref(currentTab)] ? renderSlot(_ctx.$slots, unref(currentTab), { key: 0 }) : unref(currentTab) ? (openBlock(), createBlock(resolveDynamicComponent(unref(tabComponent)), { key: 1 })) : createCommentVNode("", true)
33848
33866
  ])) : createCommentVNode("", true)
33849
33867
  ], 64);
33850
33868
  };
33851
33869
  }
33852
33870
  });
33853
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
33871
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
33854
33872
  __name: "TabsBody",
33855
33873
  props: {
33856
33874
  group: {}
@@ -33863,8 +33881,8 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
33863
33881
  };
33864
33882
  }
33865
33883
  });
33866
- const _hoisted_1$e = ["onClick"];
33867
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
33884
+ const _hoisted_1$f = ["onClick"];
33885
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
33868
33886
  __name: "TabsNav",
33869
33887
  props: {
33870
33888
  title: {},
@@ -33946,17 +33964,17 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
33946
33964
  icon: tab.icon
33947
33965
  }, null, 8, ["icon"])) : createCommentVNode("", true),
33948
33966
  createTextVNode(" " + toDisplayString(tabLabel(tab)), 1)
33949
- ], 10, _hoisted_1$e);
33967
+ ], 10, _hoisted_1$f);
33950
33968
  }), 128))
33951
33969
  ], true)
33952
33970
  ], 2);
33953
33971
  };
33954
33972
  }
33955
33973
  });
33956
- const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-e680c2a4"]]);
33957
- const _hoisted_1$d = { class: "no-margin ellipsis line-height-14 pb-025" };
33958
- const _hoisted_2$8 = { class: "txt12 no-margin txt-gray ellipsis" };
33959
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
33974
+ const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-e680c2a4"]]);
33975
+ const _hoisted_1$e = { class: "no-margin ellipsis line-height-14 pb-025" };
33976
+ const _hoisted_2$9 = { class: "txt12 no-margin txt-gray ellipsis" };
33977
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
33960
33978
  __name: "ListItem",
33961
33979
  props: {
33962
33980
  src: {},
@@ -33990,11 +34008,11 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
33990
34008
  icon: _ctx.icon
33991
34009
  }, null, 8, ["icon"])) : createCommentVNode("", true),
33992
34010
  createElementVNode("div", null, [
33993
- createElementVNode("p", _hoisted_1$d, [
34011
+ createElementVNode("p", _hoisted_1$e, [
33994
34012
  createTextVNode(toDisplayString(_ctx.title) + " ", 1),
33995
34013
  renderSlot(_ctx.$slots, "default")
33996
34014
  ]),
33997
- createElementVNode("p", _hoisted_2$8, [
34015
+ createElementVNode("p", _hoisted_2$9, [
33998
34016
  createTextVNode(toDisplayString(_ctx.subtitle) + " ", 1),
33999
34017
  renderSlot(_ctx.$slots, "subtitle")
34000
34018
  ])
@@ -34005,23 +34023,23 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
34005
34023
  };
34006
34024
  }
34007
34025
  });
34008
- const _sfc_main$f = {};
34009
- const _hoisted_1$c = { class: "list-wrap bgl_card thin grid overflow-hidden pt-0 pb-05 px-0 m_pb-0" };
34010
- const _hoisted_2$7 = { class: "p-0" };
34011
- const _hoisted_3$5 = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
34026
+ const _sfc_main$g = {};
34027
+ const _hoisted_1$d = { class: "list-wrap bgl_card thin grid overflow-hidden pt-0 pb-05 px-0 m_pb-0" };
34028
+ const _hoisted_2$8 = { class: "p-0" };
34029
+ const _hoisted_3$6 = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
34012
34030
  function _sfc_render$3(_ctx, _cache) {
34013
- return openBlock(), createElementBlock("div", _hoisted_1$c, [
34014
- createElementVNode("div", _hoisted_2$7, [
34031
+ return openBlock(), createElementBlock("div", _hoisted_1$d, [
34032
+ createElementVNode("div", _hoisted_2$8, [
34015
34033
  renderSlot(_ctx.$slots, "header")
34016
34034
  ]),
34017
- createElementVNode("div", _hoisted_3$5, [
34035
+ createElementVNode("div", _hoisted_3$6, [
34018
34036
  renderSlot(_ctx.$slots, "default")
34019
34037
  ])
34020
34038
  ]);
34021
34039
  }
34022
- const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$3]]);
34023
- const _hoisted_1$b = { class: "flex-center" };
34024
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
34040
+ const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$3]]);
34041
+ const _hoisted_1$c = { class: "flex-center" };
34042
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
34025
34043
  __name: "Loading",
34026
34044
  props: {
34027
34045
  size: { default: 64 },
@@ -34043,7 +34061,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
34043
34061
  return standardSize(borderValue);
34044
34062
  });
34045
34063
  return (_ctx, _cache) => {
34046
- return openBlock(), createElementBlock("div", _hoisted_1$b, [
34064
+ return openBlock(), createElementBlock("div", _hoisted_1$c, [
34047
34065
  theme.value === "bar" ? (openBlock(), createElementBlock("div", {
34048
34066
  key: 0,
34049
34067
  class: "lds-bar",
@@ -34085,11 +34103,11 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
34085
34103
  };
34086
34104
  }
34087
34105
  });
34088
- const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-2e27b3c1"]]);
34089
- const _hoisted_1$a = ["id"];
34106
+ const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-2e27b3c1"]]);
34107
+ const _hoisted_1$b = ["id"];
34090
34108
  const defaultMarkerSVG = '<svg width="28" height="38" viewBox="0 0 28 38" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.2263 37.7955C17.0897 37.7955 19.4109 37.0138 19.4109 36.0496C19.4109 35.0854 17.0897 34.3037 14.2263 34.3037C11.363 34.3037 9.04175 35.0854 9.04175 36.0496C9.04175 37.0138 11.363 37.7955 14.2263 37.7955Z" fill="black" fill-opacity="0.1"/><path d="M14.2265 0.549591C21.2842 0.549591 27.0131 6.23786 27.0787 13.28V13.4024C27.0787 19.3328 24.4759 24.4306 21.5627 28.2764C18.6511 32.12 15.4577 34.6754 14.3457 35.5097C14.2748 35.5629 14.1778 35.5629 14.1068 35.5097C12.9947 34.675 9.80135 32.1197 6.88984 28.2762C3.97665 24.4304 1.37378 19.3328 1.37378 13.4024C1.37378 6.30387 7.12806 0.549591 14.2265 0.549591Z" fill="#ED1b3E" stroke="#ED6C6F"/><path d="M14.2263 21.6185C18.7639 21.6185 22.4424 17.94 22.4424 13.4024C22.4424 8.86477 18.7639 5.18631 14.2263 5.18631C9.68872 5.18631 6.01025 8.86477 6.01025 13.4024C6.01025 17.94 9.68872 21.6185 14.2263 21.6185Z" fill="white"/></svg>';
34091
34109
  const leafletScriptUrl = "https://unpkg.com/leaflet@1.9.4/dist/leaflet.js";
34092
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
34110
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
34093
34111
  __name: "MapEmbed",
34094
34112
  props: {
34095
34113
  center: { default: () => [31.7683, 35.2137] },
@@ -34180,23 +34198,23 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
34180
34198
  class: "leaflet-map",
34181
34199
  style: normalizeStyle({ height: `${props2.height || 400}px` }),
34182
34200
  dir: "ltr"
34183
- }, null, 12, _hoisted_1$a);
34201
+ }, null, 12, _hoisted_1$b);
34184
34202
  };
34185
34203
  }
34186
34204
  });
34187
- const _hoisted_1$9 = {
34205
+ const _hoisted_1$a = {
34188
34206
  key: 0,
34189
34207
  class: "tool-bar"
34190
34208
  };
34191
- const _hoisted_2$6 = {
34209
+ const _hoisted_2$7 = {
34192
34210
  key: 1,
34193
34211
  class: "sticky bg-popup z-index-999 -mt-1 -ms-1 px-025 h-30px pt-025 modal-no-title"
34194
34212
  };
34195
- const _hoisted_3$4 = {
34213
+ const _hoisted_3$5 = {
34196
34214
  key: 2,
34197
34215
  class: "modal-footer mt-1"
34198
34216
  };
34199
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
34217
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
34200
34218
  __name: "Modal",
34201
34219
  props: {
34202
34220
  thin: { type: Boolean },
@@ -34253,7 +34271,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
34253
34271
  onClick: _cache[1] || (_cache[1] = () => _ctx.dismissable ? closeModal() : ""),
34254
34272
  onKeydown: withKeys(closeModal, ["esc"])
34255
34273
  }, [
34256
- createVNode(unref(_sfc_main$$), {
34274
+ createVNode(unref(_sfc_main$10), {
34257
34275
  class: "modal",
34258
34276
  style: normalizeStyle({ ...maxWidth.value }),
34259
34277
  thin: _ctx.thin,
@@ -34263,7 +34281,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
34263
34281
  default: withCtx(() => {
34264
34282
  var _a;
34265
34283
  return [
34266
- unref(slots).toolbar || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_1$9, [
34284
+ unref(slots).toolbar || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_1$a, [
34267
34285
  renderSlot(_ctx.$slots, "toolbar"),
34268
34286
  createVNode(unref(Btn), {
34269
34287
  style: normalizeStyle({ float: _ctx.side ? "left" : "right" }),
@@ -34278,7 +34296,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
34278
34296
  tag: "h3",
34279
34297
  label: _ctx.title
34280
34298
  }, null, 8, ["label"])) : createCommentVNode("", true)
34281
- ])) : (openBlock(), createElementBlock("div", _hoisted_2$6, [
34299
+ ])) : (openBlock(), createElementBlock("div", _hoisted_2$7, [
34282
34300
  createVNode(unref(Btn), {
34283
34301
  class: "position-start",
34284
34302
  icon: "close",
@@ -34288,7 +34306,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
34288
34306
  })
34289
34307
  ])),
34290
34308
  renderSlot(_ctx.$slots, "default"),
34291
- unref(slots).footer || ((_a = _ctx.actions) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("footer", _hoisted_3$4, [
34309
+ unref(slots).footer || ((_a = _ctx.actions) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("footer", _hoisted_3$5, [
34292
34310
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.actions, (action, i2) => {
34293
34311
  return openBlock(), createBlock(unref(Btn), mergeProps({
34294
34312
  key: i2,
@@ -34306,8 +34324,8 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
34306
34324
  };
34307
34325
  }
34308
34326
  });
34309
- const _hoisted_1$8 = { class: "pb-05 pretty" };
34310
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
34327
+ const _hoisted_1$9 = { class: "pb-05 pretty" };
34328
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
34311
34329
  __name: "ModalConfirm",
34312
34330
  props: {
34313
34331
  title: {},
@@ -34333,7 +34351,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
34333
34351
  const confirmBtnColor = props2.confirmBtnColor || "green";
34334
34352
  const cancelBtnColor = props2.cancelBtnColor || "gray";
34335
34353
  return (_ctx, _cache) => {
34336
- return openBlock(), createBlock(unref(_sfc_main$c), {
34354
+ return openBlock(), createBlock(unref(_sfc_main$d), {
34337
34355
  title: unref(title),
34338
34356
  width: "380px",
34339
34357
  dismissable: false,
@@ -34352,16 +34370,16 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
34352
34370
  }, null, 8, ["color", "value"])
34353
34371
  ]),
34354
34372
  default: withCtx(() => [
34355
- createElementVNode("p", _hoisted_1$8, toDisplayString(unref(message)), 1)
34373
+ createElementVNode("p", _hoisted_1$9, toDisplayString(unref(message)), 1)
34356
34374
  ]),
34357
34375
  _: 1
34358
34376
  }, 8, ["title"]);
34359
34377
  };
34360
34378
  }
34361
34379
  });
34362
- const _hoisted_1$7 = { class: "flex gap-0" };
34363
- const _hoisted_2$5 = { class: "flex gap-05" };
34364
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
34380
+ const _hoisted_1$8 = { class: "flex gap-0" };
34381
+ const _hoisted_2$6 = { class: "flex gap-05" };
34382
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
34365
34383
  __name: "ModalForm",
34366
34384
  props: /* @__PURE__ */ mergeModels({
34367
34385
  schema: {},
@@ -34425,7 +34443,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
34425
34443
  }
34426
34444
  __expose({ setFormValues });
34427
34445
  return (_ctx, _cache) => {
34428
- return openBlock(), createBlock(unref(_sfc_main$c), {
34446
+ return openBlock(), createBlock(unref(_sfc_main$d), {
34429
34447
  ref_key: "modal",
34430
34448
  ref: modal,
34431
34449
  side: _ctx.side,
@@ -34436,7 +34454,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
34436
34454
  "onUpdate:visible": _cache[3] || (_cache[3] = ($event) => emit2("update:visible", $event))
34437
34455
  }, createSlots({
34438
34456
  default: withCtx(() => [
34439
- _ctx.visible ? (openBlock(), createBlock(unref(_sfc_main$S), {
34457
+ _ctx.visible ? (openBlock(), createBlock(unref(_sfc_main$T), {
34440
34458
  key: 0,
34441
34459
  ref_key: "form",
34442
34460
  ref: form,
@@ -34454,7 +34472,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
34454
34472
  _ctx.onDelete || _ctx.onSubmit ? {
34455
34473
  name: "footer",
34456
34474
  fn: withCtx(() => [
34457
- createElementVNode("div", _hoisted_1$7, [
34475
+ createElementVNode("div", _hoisted_1$8, [
34458
34476
  createVNode(unref(Btn), {
34459
34477
  thin: "",
34460
34478
  flat: "",
@@ -34471,7 +34489,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
34471
34489
  onClick: runDelete
34472
34490
  }, null, 8, ["value"])) : createCommentVNode("", true)
34473
34491
  ]),
34474
- createElementVNode("div", _hoisted_2$5, [
34492
+ createElementVNode("div", _hoisted_2$6, [
34475
34493
  _ctx.onDuplicate ? (openBlock(), createBlock(unref(Btn), {
34476
34494
  key: 0,
34477
34495
  outline: "",
@@ -34497,14 +34515,14 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
34497
34515
  };
34498
34516
  }
34499
34517
  });
34500
- const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-1c0f6894"]]);
34501
- const _hoisted_1$6 = { class: "full-nav" };
34502
- const _hoisted_2$4 = { class: "nav-scroll" };
34503
- const _hoisted_3$3 = { class: "nav-links-wrapper" };
34504
- const _hoisted_4$3 = { class: "tooltip" };
34505
- const _hoisted_5$3 = { class: "bot-buttons-wrapper" };
34506
- const _hoisted_6$3 = { class: "tooltip" };
34507
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
34518
+ const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-1c0f6894"]]);
34519
+ const _hoisted_1$7 = { class: "full-nav" };
34520
+ const _hoisted_2$5 = { class: "nav-scroll" };
34521
+ const _hoisted_3$4 = { class: "nav-links-wrapper" };
34522
+ const _hoisted_4$4 = { class: "tooltip" };
34523
+ const _hoisted_5$4 = { class: "bot-buttons-wrapper" };
34524
+ const _hoisted_6$4 = { class: "tooltip" };
34525
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
34508
34526
  __name: "NavBar",
34509
34527
  props: {
34510
34528
  footerLinks: { default: () => [] },
@@ -34543,9 +34561,9 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
34543
34561
  class: "top-arrow"
34544
34562
  })
34545
34563
  ], 32),
34546
- createElementVNode("div", _hoisted_1$6, [
34547
- createElementVNode("div", _hoisted_2$4, [
34548
- createElementVNode("div", _hoisted_3$3, [
34564
+ createElementVNode("div", _hoisted_1$7, [
34565
+ createElementVNode("div", _hoisted_2$5, [
34566
+ createElementVNode("div", _hoisted_3$4, [
34549
34567
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.links, (link) => {
34550
34568
  return openBlock(), createBlock(resolveDynamicComponent(link.to ? "router-link" : "div"), {
34551
34569
  key: link.label,
@@ -34560,14 +34578,14 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
34560
34578
  createVNode(unref(Icon), {
34561
34579
  icon: link.icon
34562
34580
  }, null, 8, ["icon"]),
34563
- createElementVNode("div", _hoisted_4$3, toDisplayString(link.label), 1)
34581
+ createElementVNode("div", _hoisted_4$4, toDisplayString(link.label), 1)
34564
34582
  ]),
34565
34583
  _: 2
34566
34584
  }, 1032, ["to", "onClick"]);
34567
34585
  }), 128))
34568
34586
  ])
34569
34587
  ]),
34570
- createElementVNode("div", _hoisted_5$3, [
34588
+ createElementVNode("div", _hoisted_5$4, [
34571
34589
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.footerLinks, (link) => {
34572
34590
  return openBlock(), createBlock(resolveDynamicComponent(link.to ? "router-link" : "div"), {
34573
34591
  key: link.label,
@@ -34582,7 +34600,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
34582
34600
  createVNode(unref(Icon), {
34583
34601
  icon: link.icon
34584
34602
  }, null, 8, ["icon"]),
34585
- createElementVNode("div", _hoisted_6$3, toDisplayString(link.label), 1)
34603
+ createElementVNode("div", _hoisted_6$4, toDisplayString(link.label), 1)
34586
34604
  ]),
34587
34605
  _: 2
34588
34606
  }, 1032, ["to", "onClick"]);
@@ -34594,10 +34612,10 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
34594
34612
  };
34595
34613
  }
34596
34614
  });
34597
- const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-f3df1ee7"]]);
34598
- const _hoisted_1$5 = { class: "page-top" };
34599
- const _hoisted_2$3 = { class: "top-title m-0" };
34600
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
34615
+ const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-f3df1ee7"]]);
34616
+ const _hoisted_1$6 = { class: "page-top" };
34617
+ const _hoisted_2$4 = { class: "top-title m-0" };
34618
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
34601
34619
  __name: "PageTitle",
34602
34620
  props: {
34603
34621
  value: {
@@ -34607,8 +34625,8 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
34607
34625
  },
34608
34626
  setup(__props) {
34609
34627
  return (_ctx, _cache) => {
34610
- return openBlock(), createElementBlock("div", _hoisted_1$5, [
34611
- createElementVNode("h1", _hoisted_2$3, [
34628
+ return openBlock(), createElementBlock("div", _hoisted_1$6, [
34629
+ createElementVNode("h1", _hoisted_2$4, [
34612
34630
  renderSlot(_ctx.$slots, "default"),
34613
34631
  createTextVNode(" " + toDisplayString(__props.value), 1)
34614
34632
  ])
@@ -34616,27 +34634,27 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
34616
34634
  };
34617
34635
  }
34618
34636
  });
34619
- const _hoisted_1$4 = ["disabled"];
34620
- const _hoisted_2$2 = { class: "bgl_pill-flex" };
34621
- const _hoisted_3$2 = {
34637
+ const _hoisted_1$5 = ["disabled"];
34638
+ const _hoisted_2$3 = { class: "bgl_pill-flex" };
34639
+ const _hoisted_3$3 = {
34622
34640
  key: 0,
34623
34641
  class: "loading"
34624
34642
  };
34625
- const _hoisted_4$2 = { key: 1 };
34626
- const _hoisted_5$2 = {
34643
+ const _hoisted_4$3 = { key: 1 };
34644
+ const _hoisted_5$3 = {
34627
34645
  key: 0,
34628
34646
  class: "flex h-100"
34629
34647
  };
34630
- const _hoisted_6$2 = {
34648
+ const _hoisted_6$3 = {
34631
34649
  key: 5,
34632
34650
  class: "loading"
34633
34651
  };
34634
- const _hoisted_7$2 = { key: 6 };
34652
+ const _hoisted_7$3 = { key: 6 };
34635
34653
  const _hoisted_8$2 = {
34636
34654
  key: 0,
34637
34655
  class: "flex h-100"
34638
34656
  };
34639
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
34657
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
34640
34658
  __name: "Pill",
34641
34659
  props: {
34642
34660
  disabled: { type: Boolean },
@@ -34714,9 +34732,9 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
34714
34732
  "bgl_pill-border": _ctx.border || _ctx.outline
34715
34733
  })
34716
34734
  }, [
34717
- createElementVNode("div", _hoisted_2$2, [
34718
- _ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_3$2)) : (openBlock(), createElementBlock("div", _hoisted_4$2, [
34719
- _ctx.btn ? (openBlock(), createElementBlock("div", _hoisted_5$2, [
34735
+ createElementVNode("div", _hoisted_2$3, [
34736
+ _ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_3$3)) : (openBlock(), createElementBlock("div", _hoisted_4$3, [
34737
+ _ctx.btn ? (openBlock(), createElementBlock("div", _hoisted_5$3, [
34720
34738
  createVNode(unref(Btn), mergeProps({
34721
34739
  class: "bgl_pill-btn",
34722
34740
  round: "",
@@ -34736,7 +34754,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
34736
34754
  key: 4,
34737
34755
  icon: _ctx.iconEnd
34738
34756
  }, null, 8, ["icon"])) : createCommentVNode("", true),
34739
- _ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_6$2)) : (openBlock(), createElementBlock("div", _hoisted_7$2, [
34757
+ _ctx.loading ? (openBlock(), createElementBlock("div", _hoisted_6$3)) : (openBlock(), createElementBlock("div", _hoisted_7$3, [
34740
34758
  _ctx.btnEnd ? (openBlock(), createElementBlock("div", _hoisted_8$2, [
34741
34759
  createVNode(unref(Btn), mergeProps({
34742
34760
  class: "bgl_pill-btn",
@@ -34746,12 +34764,12 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
34746
34764
  ])) : createCommentVNode("", true)
34747
34765
  ]))
34748
34766
  ])
34749
- ], 10, _hoisted_1$4);
34767
+ ], 10, _hoisted_1$5);
34750
34768
  };
34751
34769
  }
34752
34770
  });
34753
- const Pill = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-764b6b8b"]]);
34754
- const _sfc_main$6 = {};
34771
+ const Pill = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-764b6b8b"]]);
34772
+ const _sfc_main$7 = {};
34755
34773
  function _sfc_render$2(_ctx, _cache) {
34756
34774
  const _component_router_view = resolveComponent("router-view");
34757
34775
  return openBlock(), createBlock(_component_router_view, null, {
@@ -34773,52 +34791,197 @@ function _sfc_render$2(_ctx, _cache) {
34773
34791
  _: 1
34774
34792
  });
34775
34793
  }
34776
- const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$2]]);
34777
- const _hoisted_1$3 = { class: "flex gap-05 py-05 justify-content-end m_flex-wrap" };
34778
- const _hoisted_2$1 = {
34794
+ const RouterWrapper = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$2]]);
34795
+ const _hoisted_1$4 = {
34779
34796
  key: 0,
34780
- class: "label me-auto"
34781
- };
34782
- const _hoisted_3$1 = { class: "flex gap-075" };
34783
- const _hoisted_4$1 = { class: "flex w-100p relative" };
34784
- const _hoisted_5$1 = {
34785
- key: 0,
34786
- class: "fixed-columns sticky z-2 start-0 bg-white"
34797
+ class: "row-number-header bg-white"
34787
34798
  };
34788
- const _hoisted_6$1 = ["onClick"];
34789
- const _hoisted_7$1 = ["onClick"];
34790
- const _hoisted_8$1 = ["tabindex", "onMousedown", "onMouseover", "onFocusin", "onDblclick", "onKeydown"];
34791
- const _hoisted_9$1 = ["value", "onInput"];
34792
- const _hoisted_10$1 = { class: "spreadsheet-cell spreadsheetCellPlaceHolder" };
34793
- const _hoisted_11$1 = {
34799
+ const _hoisted_2$2 = { class: "th-content" };
34800
+ const _hoisted_3$2 = ["onClick"];
34801
+ const _hoisted_4$2 = ["onMousedown"];
34802
+ const _hoisted_5$2 = ["onClick"];
34803
+ const _hoisted_6$2 = ["tabindex", "onMousedown", "onMouseover", "onFocusin", "onDblclick", "onKeydown"];
34804
+ const _hoisted_7$2 = ["value", "onInput"];
34805
+ const _hoisted_8$1 = { class: "spreadsheet-cell spreadsheetCellPlaceHolder" };
34806
+ const _hoisted_9$1 = {
34794
34807
  key: 0,
34795
34808
  class: "h40px w-100p flex align-items-center justify-content-center overflow-hidden"
34796
34809
  };
34797
- const _hoisted_12$1 = ["src", "alt"];
34798
- const _hoisted_13 = {
34810
+ const _hoisted_10$1 = ["src", "alt"];
34811
+ const _hoisted_11$1 = {
34799
34812
  key: 2,
34800
34813
  class: "spreadsheet-cell"
34801
34814
  };
34802
- const _hoisted_14 = { class: "flex-shrink flex-grow overflow-x" };
34803
- const _hoisted_15 = { class: "w-100p" };
34804
- const _hoisted_16 = {
34805
- key: 0,
34806
- class: "row-number-header bg-white"
34807
- };
34808
- const _hoisted_17 = ["onClick"];
34809
- const _hoisted_18 = ["onClick"];
34810
- const _hoisted_19 = ["tabindex", "onMousedown", "onMouseover", "onFocusin", "onDblclick", "onKeydown"];
34811
- const _hoisted_20 = ["value", "onInput"];
34812
- const _hoisted_21 = { class: "spreadsheet-cell spreadsheetCellPlaceHolder" };
34813
- const _hoisted_22 = {
34815
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
34816
+ __name: "SpreadsheetTable",
34817
+ props: {
34818
+ columns: {},
34819
+ rows: {},
34820
+ isFixed: { type: Boolean },
34821
+ showRowNumbers: { type: Boolean },
34822
+ columnWidths: {},
34823
+ sortColumn: {},
34824
+ sortDirection: {},
34825
+ selectionStart: {},
34826
+ selectionEnd: {},
34827
+ editingCell: {},
34828
+ baseColumnIndex: {}
34829
+ },
34830
+ emits: ["sortColumn", "resizeStart", "selectRow", "cellMouseDown", "cellMouseOver", "cellEditStart", "cellKeyDown", "updateCell", "stopEditing", "setInputRef"],
34831
+ setup(__props) {
34832
+ const props2 = __props;
34833
+ const getActualColumnIndex = (localIndex) => props2.baseColumnIndex + localIndex;
34834
+ function isCellSelected(row, localColIndex) {
34835
+ if (!props2.selectionStart || !props2.selectionEnd) return false;
34836
+ const colIndex = getActualColumnIndex(localColIndex);
34837
+ const startRow = Math.min(props2.selectionStart.row, props2.selectionEnd.row);
34838
+ const endRow = Math.max(props2.selectionStart.row, props2.selectionEnd.row);
34839
+ const startCol = Math.min(props2.selectionStart.col, props2.selectionEnd.col);
34840
+ const endCol = Math.max(props2.selectionStart.col, props2.selectionEnd.col);
34841
+ return row >= startRow && row <= endRow && colIndex >= startCol && colIndex <= endCol;
34842
+ }
34843
+ function isCellEditable(columnKey) {
34844
+ const column = props2.columns.find((col) => col.key === columnKey);
34845
+ return !((column == null ? void 0 : column.locked) ?? false);
34846
+ }
34847
+ function isEditing(row, localColIndex) {
34848
+ if (!props2.editingCell) return false;
34849
+ const colIndex = getActualColumnIndex(localColIndex);
34850
+ return props2.editingCell.row === row && props2.editingCell.col === colIndex;
34851
+ }
34852
+ function formatCellValue(value, format2) {
34853
+ if (value === null || value === void 0) return "";
34854
+ switch (format2) {
34855
+ case "image":
34856
+ return String(value);
34857
+ // Return raw value for images
34858
+ case "boolean":
34859
+ return "";
34860
+ // Return empty string since we're using CheckInput component
34861
+ case "number":
34862
+ return Number(value).toLocaleString();
34863
+ case "currency":
34864
+ return Number(value).toLocaleString(void 0, {
34865
+ style: "currency",
34866
+ currency: "USD"
34867
+ });
34868
+ case "date":
34869
+ return value ? new Date(value).toLocaleDateString() : "";
34870
+ case "percentage":
34871
+ return Number(value).toLocaleString(void 0, {
34872
+ style: "percent",
34873
+ minimumFractionDigits: 2
34874
+ });
34875
+ default:
34876
+ return String(value);
34877
+ }
34878
+ }
34879
+ return (_ctx, _cache) => {
34880
+ return openBlock(), createElementBlock("table", {
34881
+ class: normalizeClass({ "fixed-columns": _ctx.isFixed, "w-100p": !_ctx.isFixed })
34882
+ }, [
34883
+ createElementVNode("thead", null, [
34884
+ createElementVNode("tr", null, [
34885
+ _ctx.showRowNumbers ? (openBlock(), createElementBlock("th", _hoisted_1$4)) : createCommentVNode("", true),
34886
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.columns, (col) => {
34887
+ return openBlock(), createElementBlock("th", {
34888
+ key: col.key,
34889
+ style: normalizeStyle({ width: _ctx.columnWidths.get(col.key) ? `${_ctx.columnWidths.get(col.key)}px` : col.width })
34890
+ }, [
34891
+ createElementVNode("div", _hoisted_2$2, [
34892
+ createElementVNode("span", {
34893
+ onClick: ($event) => col.sortable && _ctx.$emit("sortColumn", col.key)
34894
+ }, toDisplayString(col.label || col.key), 9, _hoisted_3$2),
34895
+ _ctx.sortColumn === col.key ? (openBlock(), createBlock(unref(Icon), {
34896
+ key: 0,
34897
+ class: normalizeClass(["line-height-0 transition-400", { "rotate-180": _ctx.sortDirection === "desc" }]),
34898
+ name: "keyboard_arrow_down"
34899
+ }, null, 8, ["class"])) : createCommentVNode("", true),
34900
+ createElementVNode("div", {
34901
+ class: "resize-handle",
34902
+ onMousedown: withModifiers(($event) => _ctx.$emit("resizeStart", $event, col.key), ["stop"])
34903
+ }, null, 40, _hoisted_4$2)
34904
+ ])
34905
+ ], 4);
34906
+ }), 128))
34907
+ ])
34908
+ ]),
34909
+ createElementVNode("tbody", null, [
34910
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.rows, (row, rowIndex) => {
34911
+ return openBlock(), createElementBlock("tr", { key: rowIndex }, [
34912
+ _ctx.showRowNumbers ? (openBlock(), createElementBlock("td", {
34913
+ key: 0,
34914
+ class: "row-number txt-center hover user-select-none pointer txt12 regular",
34915
+ onClick: ($event) => _ctx.$emit("selectRow", rowIndex)
34916
+ }, toDisplayString(rowIndex + 1), 9, _hoisted_5$2)) : createCommentVNode("", true),
34917
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.columns, (col, colIndex) => {
34918
+ return openBlock(), createElementBlock("td", {
34919
+ key: col.key,
34920
+ class: normalizeClass({
34921
+ selected: isCellSelected(rowIndex, colIndex),
34922
+ locked: !isCellEditable(col.key)
34923
+ }),
34924
+ style: normalizeStyle({ width: _ctx.columnWidths.get(col.key) ? `${_ctx.columnWidths.get(col.key)}px` : col.width }),
34925
+ tabindex: col.hidden ? void 0 : 0,
34926
+ onMousedown: ($event) => _ctx.$emit("cellMouseDown", rowIndex, getActualColumnIndex(colIndex)),
34927
+ onMouseover: ($event) => _ctx.$emit("cellMouseOver", rowIndex, getActualColumnIndex(colIndex)),
34928
+ onFocusin: ($event) => _ctx.$emit("cellMouseOver", rowIndex, getActualColumnIndex(colIndex)),
34929
+ onDblclick: ($event) => _ctx.$emit("cellEditStart", rowIndex, getActualColumnIndex(colIndex)),
34930
+ onKeydown: ($event) => _ctx.$emit("cellKeyDown", $event, rowIndex, getActualColumnIndex(colIndex))
34931
+ }, [
34932
+ isEditing(rowIndex, colIndex) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
34933
+ createElementVNode("input", {
34934
+ ref_for: true,
34935
+ ref: (el) => _ctx.$emit("setInputRef", el, `cell-${rowIndex}-${getActualColumnIndex(colIndex)}`),
34936
+ value: row[col.key],
34937
+ type: "text",
34938
+ class: "spreadsheet-input",
34939
+ onInput: (e) => _ctx.$emit("updateCell", rowIndex, col.key, e.target.value),
34940
+ onBlur: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("stopEditing", false)),
34941
+ onKeydown: [
34942
+ _cache[1] || (_cache[1] = withKeys(withModifiers(($event) => _ctx.$emit("stopEditing", false), ["prevent"]), ["enter"])),
34943
+ _cache[2] || (_cache[2] = withKeys(withModifiers(($event) => _ctx.$emit("stopEditing", true), ["prevent"]), ["esc"]))
34944
+ ],
34945
+ onMousedown: _cache[3] || (_cache[3] = withModifiers(() => {
34946
+ }, ["stop"]))
34947
+ }, null, 40, _hoisted_7$2),
34948
+ createElementVNode("span", _hoisted_8$1, toDisplayString(formatCellValue(row[col.key], col.format)), 1)
34949
+ ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
34950
+ col.format === "image" ? (openBlock(), createElementBlock("div", _hoisted_9$1, [
34951
+ createElementVNode("img", {
34952
+ class: "w-100p h-100p contain radius-05",
34953
+ src: row[col.key],
34954
+ alt: col.label || col.key
34955
+ }, null, 8, _hoisted_10$1)
34956
+ ])) : col.format === "boolean" ? (openBlock(), createBlock(unref(CheckInput), {
34957
+ key: 1,
34958
+ modelValue: !!row[col.key],
34959
+ disabled: !isCellEditable(col.key),
34960
+ "onUpdate:modelValue": (value) => _ctx.$emit("updateCell", rowIndex, col.key, !!value),
34961
+ onMousedown: _cache[4] || (_cache[4] = withModifiers(() => {
34962
+ }, ["stop"]))
34963
+ }, null, 8, ["modelValue", "disabled", "onUpdate:modelValue"])) : (openBlock(), createElementBlock("span", _hoisted_11$1, toDisplayString(formatCellValue(row[col.key], col.format)), 1))
34964
+ ], 64))
34965
+ ], 46, _hoisted_6$2);
34966
+ }), 128))
34967
+ ]);
34968
+ }), 128))
34969
+ ])
34970
+ ], 2);
34971
+ };
34972
+ }
34973
+ });
34974
+ const SpreadsheetTable = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-5386c509"]]);
34975
+ const _hoisted_1$3 = { class: "flex gap-05 py-05 justify-content-end m_flex-wrap" };
34976
+ const _hoisted_2$1 = {
34814
34977
  key: 0,
34815
- class: "h40px w-100p flex align-items-center justify-content-center overflow-hidden"
34816
- };
34817
- const _hoisted_23 = ["src", "alt"];
34818
- const _hoisted_24 = {
34819
- key: 2,
34820
- class: "spreadsheet-cell"
34978
+ class: "label me-auto"
34821
34979
  };
34980
+ const _hoisted_3$1 = { class: "flex gap-075" };
34981
+ const _hoisted_4$1 = { class: "p-05" };
34982
+ const _hoisted_5$1 = { class: "flex space-between" };
34983
+ const _hoisted_6$1 = { class: "flex w-100p relative" };
34984
+ const _hoisted_7$1 = { class: "flex-shrink flex-grow overflow-x" };
34822
34985
  const _sfc_main$5 = /* @__PURE__ */ defineComponent({
34823
34986
  __name: "Index",
34824
34987
  props: {
@@ -34872,6 +35035,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
34872
35035
  function emitUpdate() {
34873
35036
  emit2("update:modelValue", localRows.value.map((row) => unflattenObject({ ...row })));
34874
35037
  }
35038
+ const visibleColumns = ref([]);
34875
35039
  const sortColumn = ref(null);
34876
35040
  const sortDirection = ref("asc");
34877
35041
  const columns = computed(() => {
@@ -34961,8 +35125,12 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
34961
35125
  const modifier = sortDirection.value === "desc" ? 1 : -1;
34962
35126
  return aVal < bVal ? -modifier : modifier;
34963
35127
  });
35128
+ const currentVisibleColumns = [...visibleColumns.value];
34964
35129
  localRows.value = sorted;
34965
35130
  emitUpdate();
35131
+ nextTick(() => {
35132
+ visibleColumns.value = currentVisibleColumns;
35133
+ });
34966
35134
  }
34967
35135
  const isSelecting = ref(false);
34968
35136
  const selectionStart = ref(null);
@@ -34978,14 +35146,6 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
34978
35146
  editInputRef.value.delete(key);
34979
35147
  }
34980
35148
  }
34981
- function isCellSelected(row, col) {
34982
- if (!selectionStart.value || !selectionEnd.value) return false;
34983
- const startRow = Math.min(selectionStart.value.row, selectionEnd.value.row);
34984
- const endRow = Math.max(selectionStart.value.row, selectionEnd.value.row);
34985
- const startCol = Math.min(selectionStart.value.col, selectionEnd.value.col);
34986
- const endCol = Math.max(selectionStart.value.col, selectionEnd.value.col);
34987
- return row >= startRow && row <= endRow && col >= startCol && col <= endCol;
34988
- }
34989
35149
  function handleMouseDown(row, col) {
34990
35150
  selectionStart.value = { row, col };
34991
35151
  selectionEnd.value = { row, col };
@@ -35064,11 +35224,16 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
35064
35224
  localRows.value[rowIndex][key] = parsedValue ?? (column == null ? void 0 : column.defaultValue) ?? ((column == null ? void 0 : column.format) === "boolean" ? false : "");
35065
35225
  emitUpdate();
35066
35226
  }
35227
+ watch(() => columns.value, (newColumns) => {
35228
+ if (newColumns.length > 0 && visibleColumns.value.length === 0) {
35229
+ visibleColumns.value = newColumns.filter((col) => !col.hidden).map((col) => col.key);
35230
+ }
35231
+ });
35067
35232
  const fixedColumns = computed(() => {
35068
- return columns.value.filter((col) => col.fixed && !col.hidden);
35233
+ return columns.value.filter((col) => col.fixed && !col.hidden && visibleColumns.value.includes(col.key));
35069
35234
  });
35070
35235
  const scrollableColumns = computed(() => {
35071
- return columns.value.filter((col) => !col.fixed && !col.hidden);
35236
+ return columns.value.filter((col) => !col.fixed && !col.hidden && visibleColumns.value.includes(col.key));
35072
35237
  });
35073
35238
  function createEmptyRow() {
35074
35239
  const newRow = {};
@@ -35111,6 +35276,12 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
35111
35276
  console.error("Failed to copy to clipboard:", err);
35112
35277
  }
35113
35278
  }
35279
+ const searchInputRef = ref(null);
35280
+ function isSearchFocused() {
35281
+ var _a, _b;
35282
+ const inputElement = (_b = (_a = searchInputRef.value) == null ? void 0 : _a.$el) == null ? void 0 : _b.querySelector("input");
35283
+ return document.activeElement === inputElement;
35284
+ }
35114
35285
  async function pasteSelection() {
35115
35286
  if (!selectionStart.value) return;
35116
35287
  try {
@@ -35200,7 +35371,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
35200
35371
  }
35201
35372
  }
35202
35373
  function handleSpreadsheetKeyDown(event) {
35203
- if (editingCell.value) return;
35374
+ if (editingCell.value || isSearchFocused()) return;
35375
+ console.log("handleSpreadsheetKeyDown", event);
35204
35376
  const isCtrlOrCmd = event.ctrlKey || event.metaKey;
35205
35377
  if (isCtrlOrCmd) {
35206
35378
  switch (event.key.toLowerCase()) {
@@ -35240,6 +35412,43 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
35240
35412
  });
35241
35413
  });
35242
35414
  });
35415
+ const columnWidths = ref(/* @__PURE__ */ new Map());
35416
+ const isResizing = ref(false);
35417
+ const resizingColumn = ref(null);
35418
+ const startX = ref(0);
35419
+ const startWidth = ref(0);
35420
+ function handleResizeStart(e, columnKey) {
35421
+ isResizing.value = true;
35422
+ resizingColumn.value = columnKey;
35423
+ startX.value = e.pageX;
35424
+ const columnHeader = e.target.closest("th");
35425
+ if (!columnHeader) return;
35426
+ const computedWidth = columnHeader.getBoundingClientRect().width;
35427
+ const currentWidth = columnWidths.value.get(columnKey) || computedWidth;
35428
+ startWidth.value = currentWidth;
35429
+ document.addEventListener("mousemove", handleResizeMove);
35430
+ document.addEventListener("mouseup", handleResizeEnd);
35431
+ }
35432
+ function handleResizeMove(e) {
35433
+ if (!isResizing.value || !resizingColumn.value) return;
35434
+ e.preventDefault();
35435
+ const diff = e.pageX - startX.value;
35436
+ const newWidth = Math.max(80, startWidth.value + diff);
35437
+ columnWidths.value.set(resizingColumn.value, newWidth);
35438
+ }
35439
+ function handleResizeEnd() {
35440
+ isResizing.value = false;
35441
+ resizingColumn.value = null;
35442
+ document.removeEventListener("mousemove", handleResizeMove);
35443
+ document.removeEventListener("mouseup", handleResizeEnd);
35444
+ }
35445
+ onUnmounted(() => {
35446
+ document.removeEventListener("mousemove", handleResizeMove);
35447
+ document.removeEventListener("mouseup", handleResizeEnd);
35448
+ });
35449
+ const columnOptions = computed(() => {
35450
+ return columns.value.filter((col) => !col.hidden);
35451
+ });
35243
35452
  return (_ctx, _cache) => {
35244
35453
  const _directive_tooltip = resolveDirective("tooltip");
35245
35454
  return openBlock(), createElementBlock("div", {
@@ -35250,9 +35459,47 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
35250
35459
  createElementVNode("div", _hoisted_1$3, [
35251
35460
  _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$1, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
35252
35461
  createElementVNode("div", _hoisted_3$1, [
35462
+ createVNode(_sfc_main$W, {
35463
+ flat: "",
35464
+ thin: "",
35465
+ icon: "view_column"
35466
+ }, {
35467
+ default: withCtx(() => [
35468
+ createElementVNode("div", _hoisted_4$1, [
35469
+ createElementVNode("div", _hoisted_5$1, [
35470
+ createVNode(unref(Btn), {
35471
+ flat: "",
35472
+ thin: "",
35473
+ small: "",
35474
+ value: "Select All",
35475
+ onClick: _cache[0] || (_cache[0] = ($event) => visibleColumns.value = columnOptions.value.map((col) => col.key))
35476
+ }),
35477
+ createVNode(unref(Btn), {
35478
+ flat: "",
35479
+ thin: "",
35480
+ small: "",
35481
+ value: "Clear All",
35482
+ onClick: _cache[1] || (_cache[1] = ($event) => visibleColumns.value = [])
35483
+ })
35484
+ ]),
35485
+ (openBlock(true), createElementBlock(Fragment, null, renderList(columnOptions.value, (col) => {
35486
+ return openBlock(), createBlock(unref(CheckInput), {
35487
+ key: col.key,
35488
+ modelValue: visibleColumns.value,
35489
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => visibleColumns.value = $event),
35490
+ value: col.key,
35491
+ label: col.label || col.key
35492
+ }, null, 8, ["modelValue", "value", "label"]);
35493
+ }), 128))
35494
+ ])
35495
+ ]),
35496
+ _: 1
35497
+ }),
35253
35498
  createVNode(unref(TextInput), {
35499
+ ref_key: "searchInputRef",
35500
+ ref: searchInputRef,
35254
35501
  modelValue: search.value,
35255
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => search.value = $event),
35502
+ "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => search.value = $event),
35256
35503
  icon: "search",
35257
35504
  placeholder: "Search",
35258
35505
  class: "m-0 max-w200px"
@@ -35301,173 +35548,56 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
35301
35548
  class: "spreadsheet",
35302
35549
  onMouseup: handleMouseUp
35303
35550
  }, [
35304
- createElementVNode("div", _hoisted_4$1, [
35305
- fixedColumns.value.length ? (openBlock(), createElementBlock("table", _hoisted_5$1, [
35306
- createElementVNode("thead", null, [
35307
- createElementVNode("tr", null, [
35308
- _cache[11] || (_cache[11] = createElementVNode("th", { class: "row-number-header bg-white" }, null, -1)),
35309
- (openBlock(true), createElementBlock(Fragment, null, renderList(fixedColumns.value, (col) => {
35310
- return openBlock(), createElementBlock("th", {
35311
- key: col.key
35312
- }, [
35313
- createElementVNode("span", {
35314
- onClick: ($event) => col.sortable && sortByColumn(col.key)
35315
- }, toDisplayString(col.label || col.key), 9, _hoisted_6$1),
35316
- sortColumn.value === col.key ? (openBlock(), createBlock(unref(Icon), {
35317
- key: 0,
35318
- class: normalizeClass(["line-height-0 transition-400", { "rotate-180": sortDirection.value === "desc" }]),
35319
- name: "keyboard_arrow_down"
35320
- }, null, 8, ["class"])) : createCommentVNode("", true)
35321
- ]);
35322
- }), 128))
35323
- ])
35324
- ]),
35325
- createElementVNode("tbody", null, [
35326
- (openBlock(true), createElementBlock(Fragment, null, renderList(filteredRows.value, (row, rowIndex) => {
35327
- return openBlock(), createElementBlock("tr", { key: rowIndex }, [
35328
- createElementVNode("td", {
35329
- class: "row-number txt-center hover user-select-none pointer txt12 regular",
35330
- onClick: ($event) => selectEntireRow(rowIndex)
35331
- }, toDisplayString(rowIndex + 1), 9, _hoisted_7$1),
35332
- (openBlock(true), createElementBlock(Fragment, null, renderList(fixedColumns.value, (col) => {
35333
- return openBlock(), createElementBlock("td", {
35334
- key: col.key,
35335
- class: normalizeClass({
35336
- selected: isCellSelected(rowIndex, fixedColumns.value.indexOf(col)),
35337
- locked: !isCellEditable(col.key)
35338
- }),
35339
- style: normalizeStyle({ width: col.width }),
35340
- tabindex: col.hidden ? void 0 : 0,
35341
- onMousedown: ($event) => handleMouseDown(rowIndex, fixedColumns.value.indexOf(col)),
35342
- onMouseover: ($event) => handleMouseOver(rowIndex, fixedColumns.value.indexOf(col)),
35343
- onFocusin: ($event) => handleMouseOver(rowIndex, fixedColumns.value.indexOf(col)),
35344
- onDblclick: ($event) => startEditing(rowIndex, fixedColumns.value.indexOf(col)),
35345
- onKeydown: ($event) => handleCellKeyDown($event, rowIndex, fixedColumns.value.indexOf(col))
35346
- }, [
35347
- editingCell.value && editingCell.value.row === rowIndex && editingCell.value.col === fixedColumns.value.indexOf(col) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
35348
- createElementVNode("input", {
35349
- ref_for: true,
35350
- ref: (el) => setInputRef(el, `cell-${rowIndex}-${fixedColumns.value.indexOf(col)}`),
35351
- value: row[col.key],
35352
- type: "text",
35353
- class: "spreadsheet-input",
35354
- onInput: (e) => updateCell(rowIndex, col.key, e.target.value),
35355
- onBlur: _cache[1] || (_cache[1] = ($event) => handleStopEditingAndBlur(false)),
35356
- onKeydown: [
35357
- _cache[2] || (_cache[2] = withKeys(withModifiers(($event) => handleStopEditingAndBlur(false), ["prevent"]), ["enter"])),
35358
- _cache[3] || (_cache[3] = withKeys(withModifiers(($event) => handleStopEditingAndBlur(true), ["prevent"]), ["esc"]))
35359
- ],
35360
- onMousedown: _cache[4] || (_cache[4] = withModifiers(() => {
35361
- }, ["stop"]))
35362
- }, null, 40, _hoisted_9$1),
35363
- createElementVNode("span", _hoisted_10$1, toDisplayString(formatCellValue(row[col.key], col.format)), 1)
35364
- ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
35365
- col.format === "image" ? (openBlock(), createElementBlock("div", _hoisted_11$1, [
35366
- createElementVNode("img", {
35367
- class: "w-100p h-100p contain radius-05",
35368
- src: row[col.key],
35369
- alt: col.label || col.key
35370
- }, null, 8, _hoisted_12$1)
35371
- ])) : col.format === "boolean" ? (openBlock(), createBlock(unref(CheckInput), {
35372
- key: 1,
35373
- modelValue: !!row[col.key],
35374
- disabled: !isCellEditable(col.key),
35375
- "onUpdate:modelValue": (value) => updateCell(rowIndex, col.key, !!value),
35376
- onMousedown: _cache[5] || (_cache[5] = withModifiers(() => {
35377
- }, ["stop"]))
35378
- }, null, 8, ["modelValue", "disabled", "onUpdate:modelValue"])) : (openBlock(), createElementBlock("span", _hoisted_13, toDisplayString(formatCellValue(row[col.key], col.format)), 1))
35379
- ], 64))
35380
- ], 46, _hoisted_8$1);
35381
- }), 128))
35382
- ]);
35383
- }), 128))
35384
- ])
35385
- ])) : createCommentVNode("", true),
35386
- createElementVNode("div", _hoisted_14, [
35387
- createElementVNode("table", _hoisted_15, [
35388
- createElementVNode("thead", null, [
35389
- createElementVNode("tr", null, [
35390
- !fixedColumns.value.length ? (openBlock(), createElementBlock("th", _hoisted_16)) : createCommentVNode("", true),
35391
- (openBlock(true), createElementBlock(Fragment, null, renderList(scrollableColumns.value, (col) => {
35392
- return openBlock(), createElementBlock("th", {
35393
- key: col.key
35394
- }, [
35395
- createElementVNode("span", {
35396
- onClick: ($event) => col.sortable && sortByColumn(col.key)
35397
- }, toDisplayString(col.label || col.key), 9, _hoisted_17),
35398
- sortColumn.value === col.key ? (openBlock(), createBlock(unref(Icon), {
35399
- key: 0,
35400
- name: "keyboard_arrow_down",
35401
- class: normalizeClass(["line-height-0 inline-block", { "rotate-180": sortColumn.value === col.key && sortDirection.value === "desc" }])
35402
- }, null, 8, ["class"])) : createCommentVNode("", true)
35403
- ]);
35404
- }), 128))
35405
- ])
35406
- ]),
35407
- createElementVNode("tbody", null, [
35408
- (openBlock(true), createElementBlock(Fragment, null, renderList(filteredRows.value, (row, rowIndex) => {
35409
- return openBlock(), createElementBlock("tr", { key: rowIndex }, [
35410
- !fixedColumns.value.length ? (openBlock(), createElementBlock("td", {
35411
- key: 0,
35412
- class: "row-number txt-center hover user-select-none pointer txt12 regular",
35413
- onClick: ($event) => selectEntireRow(rowIndex)
35414
- }, toDisplayString(rowIndex + 1), 9, _hoisted_18)) : createCommentVNode("", true),
35415
- (openBlock(true), createElementBlock(Fragment, null, renderList(scrollableColumns.value, (col, colIndex) => {
35416
- return openBlock(), createElementBlock("td", {
35417
- key: col.key,
35418
- class: normalizeClass({
35419
- selected: isCellSelected(rowIndex, fixedColumns.value.length + colIndex),
35420
- locked: !isCellEditable(col.key)
35421
- }),
35422
- style: normalizeStyle({ width: col.width }),
35423
- tabindex: col.hidden ? void 0 : 0,
35424
- onMousedown: ($event) => handleMouseDown(rowIndex, fixedColumns.value.length + colIndex),
35425
- onMouseover: ($event) => handleMouseOver(rowIndex, fixedColumns.value.length + colIndex),
35426
- onFocusin: ($event) => handleMouseOver(rowIndex, fixedColumns.value.length + colIndex),
35427
- onDblclick: ($event) => startEditing(rowIndex, fixedColumns.value.length + colIndex),
35428
- onKeydown: ($event) => handleCellKeyDown($event, rowIndex, fixedColumns.value.length + colIndex)
35429
- }, [
35430
- editingCell.value && editingCell.value.row === rowIndex && editingCell.value.col === fixedColumns.value.length + colIndex ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
35431
- createElementVNode("input", {
35432
- ref_for: true,
35433
- ref: (el) => setInputRef(el, `cell-${rowIndex}-${fixedColumns.value.length + colIndex}`),
35434
- value: row[col.key],
35435
- type: "text",
35436
- class: "spreadsheet-input",
35437
- onInput: (e) => updateCell(rowIndex, col.key, e.target.value),
35438
- onBlur: _cache[6] || (_cache[6] = ($event) => handleStopEditingAndBlur(false)),
35439
- onKeydown: [
35440
- _cache[7] || (_cache[7] = withKeys(withModifiers(($event) => handleStopEditingAndBlur(false), ["prevent"]), ["enter"])),
35441
- _cache[8] || (_cache[8] = withKeys(withModifiers(($event) => handleStopEditingAndBlur(true), ["prevent"]), ["esc"]))
35442
- ],
35443
- onMousedown: _cache[9] || (_cache[9] = withModifiers(() => {
35444
- }, ["stop"]))
35445
- }, null, 40, _hoisted_20),
35446
- createElementVNode("span", _hoisted_21, toDisplayString(formatCellValue(row[col.key], col.format)), 1)
35447
- ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
35448
- col.format === "image" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
35449
- row[col.key] ? (openBlock(), createElementBlock("div", _hoisted_22, [
35450
- createElementVNode("img", {
35451
- class: "w-100p h-100p contain radius-05",
35452
- src: row[col.key],
35453
- alt: col.label || col.key
35454
- }, null, 8, _hoisted_23)
35455
- ])) : createCommentVNode("", true)
35456
- ], 64)) : col.format === "boolean" ? (openBlock(), createBlock(unref(CheckInput), {
35457
- key: 1,
35458
- modelValue: !!row[col.key],
35459
- disabled: !isCellEditable(col.key),
35460
- "onUpdate:modelValue": (value) => updateCell(rowIndex, col.key, !!value),
35461
- onMousedown: _cache[10] || (_cache[10] = withModifiers(() => {
35462
- }, ["stop"]))
35463
- }, null, 8, ["modelValue", "disabled", "onUpdate:modelValue"])) : (openBlock(), createElementBlock("span", _hoisted_24, toDisplayString(formatCellValue(row[col.key], col.format)), 1))
35464
- ], 64))
35465
- ], 46, _hoisted_19);
35466
- }), 128))
35467
- ]);
35468
- }), 128))
35469
- ])
35470
- ])
35551
+ createElementVNode("div", _hoisted_6$1, [
35552
+ fixedColumns.value.length ? (openBlock(), createBlock(SpreadsheetTable, {
35553
+ key: 0,
35554
+ columns: fixedColumns.value,
35555
+ rows: filteredRows.value,
35556
+ "is-fixed": true,
35557
+ "show-row-numbers": true,
35558
+ "column-widths": columnWidths.value,
35559
+ "sort-column": sortColumn.value,
35560
+ "sort-direction": sortDirection.value,
35561
+ "selection-start": selectionStart.value,
35562
+ "selection-end": selectionEnd.value,
35563
+ "editing-cell": editingCell.value,
35564
+ "base-column-index": 0,
35565
+ class: "sticky z-2 start-0 bg-white",
35566
+ onSortColumn: sortByColumn,
35567
+ onResizeStart: handleResizeStart,
35568
+ onSelectRow: selectEntireRow,
35569
+ onCellMouseDown: handleMouseDown,
35570
+ onCellMouseOver: handleMouseOver,
35571
+ onCellEditStart: startEditing,
35572
+ onCellKeyDown: handleCellKeyDown,
35573
+ onUpdateCell: updateCell,
35574
+ onStopEditing: handleStopEditingAndBlur,
35575
+ onSetInputRef: setInputRef
35576
+ }, null, 8, ["columns", "rows", "column-widths", "sort-column", "sort-direction", "selection-start", "selection-end", "editing-cell"])) : createCommentVNode("", true),
35577
+ createElementVNode("div", _hoisted_7$1, [
35578
+ createVNode(SpreadsheetTable, {
35579
+ columns: scrollableColumns.value,
35580
+ rows: filteredRows.value,
35581
+ "is-fixed": false,
35582
+ "show-row-numbers": !fixedColumns.value.length,
35583
+ "column-widths": columnWidths.value,
35584
+ "sort-column": sortColumn.value,
35585
+ "sort-direction": sortDirection.value,
35586
+ "selection-start": selectionStart.value,
35587
+ "selection-end": selectionEnd.value,
35588
+ "editing-cell": editingCell.value,
35589
+ "base-column-index": fixedColumns.value.length,
35590
+ onSortColumn: sortByColumn,
35591
+ onResizeStart: handleResizeStart,
35592
+ onSelectRow: selectEntireRow,
35593
+ onCellMouseDown: handleMouseDown,
35594
+ onCellMouseOver: handleMouseOver,
35595
+ onCellEditStart: startEditing,
35596
+ onCellKeyDown: handleCellKeyDown,
35597
+ onUpdateCell: updateCell,
35598
+ onStopEditing: handleStopEditingAndBlur,
35599
+ onSetInputRef: setInputRef
35600
+ }, null, 8, ["columns", "rows", "show-row-numbers", "column-widths", "sort-column", "sort-direction", "selection-start", "selection-end", "editing-cell", "base-column-index"])
35471
35601
  ])
35472
35602
  ]),
35473
35603
  _ctx.allowAddRow ? (openBlock(), createBlock(unref(Btn), {
@@ -35485,7 +35615,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
35485
35615
  };
35486
35616
  }
35487
35617
  });
35488
- const Index = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-f204ab99"]]);
35618
+ const Index = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-8e95a7a9"]]);
35489
35619
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
35490
35620
  __name: "Title",
35491
35621
  props: {
@@ -36893,9 +37023,9 @@ const ModalPlugin = {
36893
37023
  case "modalForm":
36894
37024
  return h$2(ModalForm, props2, modal.componentSlots);
36895
37025
  case "confirmModal":
36896
- return h$2(_sfc_main$b, props2, {});
37026
+ return h$2(_sfc_main$c, props2, {});
36897
37027
  default:
36898
- return h$2(_sfc_main$c, props2, modal.componentSlots);
37028
+ return h$2(_sfc_main$d, props2, modal.componentSlots);
36899
37029
  }
36900
37030
  });
36901
37031
  }
@@ -37355,58 +37485,58 @@ function formatDate(date2, format2 = "dd.mm.yy") {
37355
37485
  }
37356
37486
  }
37357
37487
  export {
37358
- _sfc_main$1m as Accordion,
37488
+ _sfc_main$1n as Accordion,
37359
37489
  AccordionItem,
37360
- _sfc_main$1k as AddressSearch,
37490
+ _sfc_main$1l as AddressSearch,
37361
37491
  Alert,
37362
37492
  Avatar,
37363
37493
  Badge,
37364
- _sfc_main$S as BagelForm,
37494
+ _sfc_main$T as BagelForm,
37365
37495
  BagelVue,
37366
- _sfc_main$S as BglForm,
37496
+ _sfc_main$T as BglForm,
37367
37497
  BglVideo,
37368
37498
  BottomMenu,
37369
37499
  Btn,
37370
- _sfc_main$10 as Calendar,
37371
- _sfc_main$$ as Card,
37500
+ _sfc_main$11 as Calendar,
37501
+ _sfc_main$10 as Card,
37372
37502
  Carousel,
37373
37503
  CheckInput,
37374
37504
  Checkbox,
37375
37505
  CodeEditor,
37376
- _sfc_main$N as ColorInput,
37506
+ _sfc_main$O as ColorInput,
37377
37507
  DataPreview,
37378
37508
  DataTable,
37379
37509
  DateInput,
37380
37510
  DatePick,
37381
- _sfc_main$K as DatePicker,
37382
- _sfc_main$W as Draggable,
37383
- _sfc_main$V as Dropdown,
37511
+ _sfc_main$L as DatePicker,
37512
+ _sfc_main$X as Draggable,
37513
+ _sfc_main$W as Dropdown,
37384
37514
  FORM_STATE_KEY,
37385
- _sfc_main$R as FieldArray,
37515
+ _sfc_main$S as FieldArray,
37386
37516
  FieldSetVue,
37387
37517
  FileUpload,
37388
37518
  Flag,
37389
37519
  IMAGE_FORMATS,
37390
37520
  IMAGE_FORMATS_REGEXP,
37391
37521
  Icon,
37392
- _sfc_main$q as IframeVue,
37522
+ _sfc_main$r as IframeVue,
37393
37523
  Image$1 as Image,
37394
37524
  JSONInput,
37395
37525
  Layout,
37396
- _sfc_main$Z as Lineart,
37397
- _sfc_main$g as ListItem,
37526
+ _sfc_main$_ as Lineart,
37527
+ _sfc_main$h as ListItem,
37398
37528
  ListView,
37399
37529
  Loading,
37400
- _sfc_main$d as MapEmbed,
37401
- _sfc_main$c as Modal,
37402
- _sfc_main$b as ModalConfirm,
37530
+ _sfc_main$e as MapEmbed,
37531
+ _sfc_main$d as Modal,
37532
+ _sfc_main$c as ModalConfirm,
37403
37533
  ModalForm,
37404
37534
  ModalPlugin,
37405
37535
  NavBar,
37406
37536
  NumberInput,
37407
37537
  OTP,
37408
- _sfc_main$8 as PageTitle,
37409
- _sfc_main$F as PasswordInput,
37538
+ _sfc_main$9 as PageTitle,
37539
+ _sfc_main$G as PasswordInput,
37410
37540
  Pill,
37411
37541
  RadioGroup,
37412
37542
  RadioPillsInput,
@@ -37415,14 +37545,14 @@ export {
37415
37545
  RouterWrapper,
37416
37546
  SelectInput,
37417
37547
  SidebarMenu,
37418
- _sfc_main$x as SignaturePad,
37548
+ _sfc_main$y as SignaturePad,
37419
37549
  Skeleton,
37420
37550
  Index as Spreadsheet,
37421
37551
  TabbedLayout,
37422
37552
  TableField,
37423
37553
  DataTable as TableSchema,
37424
- _sfc_main$j as Tabs,
37425
- _sfc_main$i as TabsBody,
37554
+ _sfc_main$k as Tabs,
37555
+ _sfc_main$j as TabsBody,
37426
37556
  TabsNav,
37427
37557
  TelInput,
37428
37558
  TextInput,