@bagelink/vue 1.2.124 → 1.2.128

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/components/DragOver.vue.d.ts +1 -0
  2. package/dist/components/DragOver.vue.d.ts.map +1 -1
  3. package/dist/components/ImportData.vue.d.ts.map +1 -1
  4. package/dist/components/Loading.vue.d.ts +1 -0
  5. package/dist/components/Loading.vue.d.ts.map +1 -1
  6. package/dist/components/Modal.vue.d.ts +10 -5
  7. package/dist/components/Modal.vue.d.ts.map +1 -1
  8. package/dist/components/dataTable/DataTable.vue.d.ts.map +1 -1
  9. package/dist/components/dataTable/useTableData.d.ts +10 -10
  10. package/dist/components/dataTable/useTableData.d.ts.map +1 -1
  11. package/dist/components/form/inputs/DatePicker.vue.d.ts +2 -1
  12. package/dist/components/form/inputs/DatePicker.vue.d.ts.map +1 -1
  13. package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
  14. package/dist/index.cjs +324 -262
  15. package/dist/index.mjs +324 -262
  16. package/dist/style.css +136 -137
  17. package/dist/types/BagelForm.d.ts.map +1 -1
  18. package/dist/types/TableSchema.d.ts +1 -1
  19. package/dist/types/TableSchema.d.ts.map +1 -1
  20. package/dist/utils/BagelFormUtils.d.ts +2 -2
  21. package/dist/utils/BagelFormUtils.d.ts.map +1 -1
  22. package/package.json +1 -1
  23. package/src/components/DragOver.vue +21 -0
  24. package/src/components/ImportData.vue +34 -33
  25. package/src/components/Loading.vue +58 -50
  26. package/src/components/Modal.vue +10 -4
  27. package/src/components/dataTable/DataTable.vue +5 -11
  28. package/src/components/dataTable/useTableData.ts +11 -10
  29. package/src/components/form/inputs/DatePicker.vue +9 -6
  30. package/src/components/form/inputs/SelectInput.vue +1 -1
  31. package/src/types/BagelForm.ts +2 -0
  32. package/src/types/TableSchema.ts +1 -1
  33. package/src/utils/BagelFormUtils.ts +2 -2
package/dist/index.mjs CHANGED
@@ -18,8 +18,8 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
18
18
  }
19
19
  });
20
20
  const _hoisted_1$15 = ["aria-expanded", "aria-controls"];
21
- const _hoisted_2$P = { class: "accordion-label" };
22
- const _hoisted_3$H = ["id", "aria-hidden"];
21
+ const _hoisted_2$Q = { class: "accordion-label" };
22
+ const _hoisted_3$I = ["id", "aria-hidden"];
23
23
  const _sfc_main$1i = /* @__PURE__ */ defineComponent({
24
24
  __name: "AccordionItem",
25
25
  props: {
@@ -86,7 +86,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
86
86
  createVNode(unref(_sfc_main$v), { icon: computedIcon.value }, null, 8, ["icon"])
87
87
  ], 2)) : createCommentVNode("", true),
88
88
  renderSlot(_ctx.$slots, "head", {}, () => [
89
- createElementVNode("span", _hoisted_2$P, toDisplayString(_ctx.label), 1)
89
+ createElementVNode("span", _hoisted_2$Q, toDisplayString(_ctx.label), 1)
90
90
  ], true),
91
91
  iconPosition.value === "end" ? (openBlock(), createElementBlock("span", {
92
92
  key: 1,
@@ -104,7 +104,7 @@ const _sfc_main$1i = /* @__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$H)) : createCommentVNode("", true)
107
+ ], 8, _hoisted_3$I)) : createCommentVNode("", true)
108
108
  ]),
109
109
  _: 3
110
110
  })
@@ -278,7 +278,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
278
278
  });
279
279
  const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-99c4aa53"]]);
280
280
  const _hoisted_1$12 = ["dismissable"];
281
- const _hoisted_2$O = { class: "m-0" };
281
+ const _hoisted_2$P = { class: "m-0" };
282
282
  const _sfc_main$1f = /* @__PURE__ */ defineComponent({
283
283
  __name: "Alert",
284
284
  props: {
@@ -309,7 +309,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
309
309
  size: 1.7,
310
310
  color: color2[_ctx.type]
311
311
  }, null, 8, ["icon", "color"])) : createCommentVNode("", true),
312
- createElementVNode("p", _hoisted_2$O, toDisplayString(_ctx.message), 1),
312
+ createElementVNode("p", _hoisted_2$P, toDisplayString(_ctx.message), 1),
313
313
  createVNode(Btn, {
314
314
  flat: "",
315
315
  thin: "",
@@ -381,8 +381,8 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
381
381
  });
382
382
  const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-689f051f"]]);
383
383
  const _hoisted_1$10 = ["src"];
384
- const _hoisted_2$N = ["autoplay", "muted", "loop", "controls", "playsinline"];
385
- const _hoisted_3$G = ["src", "type"];
384
+ const _hoisted_2$O = ["autoplay", "muted", "loop", "controls", "playsinline"];
385
+ const _hoisted_3$H = ["src", "type"];
386
386
  const _sfc_main$1c = /* @__PURE__ */ defineComponent({
387
387
  __name: "BglVideo",
388
388
  props: {
@@ -474,8 +474,8 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
474
474
  createElementVNode("source", {
475
475
  src: _ctx.src,
476
476
  type: `video/${videoFormat.value}`
477
- }, null, 8, _hoisted_3$G)
478
- ], 12, _hoisted_2$N)) : createCommentVNode("", true)
477
+ }, null, 8, _hoisted_3$H)
478
+ ], 12, _hoisted_2$O)) : createCommentVNode("", true)
479
479
  ], 2);
480
480
  };
481
481
  }
@@ -548,8 +548,8 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
548
548
  });
549
549
  const CalendarPopover = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-6f51f6b3"]]);
550
550
  const _hoisted_1$$ = { class: "agenda-view" };
551
- const _hoisted_2$M = ["data-date", "onClick"];
552
- const _hoisted_3$F = { class: "event-content" };
551
+ const _hoisted_2$N = ["data-date", "onClick"];
552
+ const _hoisted_3$G = { class: "event-content" };
553
553
  const _hoisted_4$s = { class: "event-time" };
554
554
  const _hoisted_5$r = { class: "event-details" };
555
555
  const _hoisted_6$n = { class: "event-title" };
@@ -672,7 +672,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
672
672
  "data-date": event.start_time,
673
673
  onClick: withModifiers(($event) => handleEventSelection(event, $event), ["stop"])
674
674
  }, [
675
- createElementVNode("div", _hoisted_3$F, [
675
+ createElementVNode("div", _hoisted_3$G, [
676
676
  createElementVNode("div", _hoisted_4$s, toDisplayString(unref(formatDate)(event.start_time, { fmt: "HH:mm" })), 1),
677
677
  createElementVNode("div", _hoisted_5$r, [
678
678
  createElementVNode("div", _hoisted_6$n, toDisplayString(event.title), 1),
@@ -681,7 +681,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
681
681
  }, toDisplayString(event.dayLabel), 3)
682
682
  ])
683
683
  ])
684
- ], 12, _hoisted_2$M);
684
+ ], 12, _hoisted_2$N);
685
685
  }), 128))
686
686
  ], 512)
687
687
  ]);
@@ -690,8 +690,8 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
690
690
  });
691
691
  const AgendaView = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-1e2b483b"]]);
692
692
  const _hoisted_1$_ = { class: "w-100p overflow-hidden m_overflow h-100p grid" };
693
- const _hoisted_2$L = { class: "border-bottom me-1 txt-center p-05 dayGrid" };
694
- const _hoisted_3$E = { class: "overflow h-100p pe-05" };
693
+ const _hoisted_2$M = { class: "border-bottom me-1 txt-center p-05 dayGrid" };
694
+ const _hoisted_3$F = { class: "overflow h-100p pe-05" };
695
695
  const _hoisted_4$r = { class: "time-column" };
696
696
  const _hoisted_5$q = { class: "events-column" };
697
697
  const _hoisted_6$m = ["onClick"];
@@ -836,11 +836,11 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
836
836
  });
837
837
  return (_ctx, _cache) => {
838
838
  return openBlock(), createElementBlock("div", _hoisted_1$_, [
839
- createElementVNode("div", _hoisted_2$L, [
839
+ createElementVNode("div", _hoisted_2$M, [
840
840
  _cache[0] || (_cache[0] = createElementVNode("div", null, null, -1)),
841
841
  createElementVNode("div", null, toDisplayString(unref(formatDate)(_ctx.startDate)), 1)
842
842
  ]),
843
- createElementVNode("div", _hoisted_3$E, [
843
+ createElementVNode("div", _hoisted_3$F, [
844
844
  createElementVNode("div", {
845
845
  class: "time-slots dayGrid border-end relative",
846
846
  onMousedown: handleMouseDown
@@ -902,8 +902,8 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
902
902
  });
903
903
  const DayView = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-8b1a770f"]]);
904
904
  const _hoisted_1$Z = { class: "month-view" };
905
- const _hoisted_2$K = { class: "month-header" };
906
- const _hoisted_3$D = { class: "month-grid" };
905
+ const _hoisted_2$L = { class: "month-header" };
906
+ const _hoisted_3$E = { class: "month-grid" };
907
907
  const _hoisted_4$q = { class: "day-number" };
908
908
  const _hoisted_5$p = { class: "day-events" };
909
909
  const _hoisted_6$l = {
@@ -988,7 +988,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
988
988
  }
989
989
  return (_ctx, _cache) => {
990
990
  return openBlock(), createElementBlock("div", _hoisted_1$Z, [
991
- createElementVNode("div", _hoisted_2$K, [
991
+ createElementVNode("div", _hoisted_2$L, [
992
992
  (openBlock(true), createElementBlock(Fragment, null, renderList(weekDays.value, (day) => {
993
993
  return openBlock(), createElementBlock("div", {
994
994
  key: day,
@@ -996,7 +996,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
996
996
  }, toDisplayString(day), 1);
997
997
  }), 128))
998
998
  ]),
999
- createElementVNode("div", _hoisted_3$D, [
999
+ createElementVNode("div", _hoisted_3$E, [
1000
1000
  (openBlock(true), createElementBlock(Fragment, null, renderList(currentMonth.value, (day) => {
1001
1001
  return openBlock(), createElementBlock("div", {
1002
1002
  key: day.date.toISOString(),
@@ -1031,8 +1031,8 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
1031
1031
  });
1032
1032
  const MonthView = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["__scopeId", "data-v-0b1117c4"]]);
1033
1033
  const _hoisted_1$Y = { class: "w-100p overflow-hidden m_overflow h-100p grid" };
1034
- const _hoisted_2$J = { class: "overflow h-100p pe-05" };
1035
- const _hoisted_3$C = ["onMousedown"];
1034
+ const _hoisted_2$K = { class: "overflow h-100p pe-05" };
1035
+ const _hoisted_3$D = ["onMousedown"];
1036
1036
  const _hoisted_4$p = ["onClick"];
1037
1037
  const _hoisted_5$o = { class: "overflow-hidden color-white p-025 txt12 h-100p" };
1038
1038
  const _hoisted_6$k = { class: "white-space ellipsis-1" };
@@ -1316,7 +1316,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
1316
1316
  ]);
1317
1317
  }), 128))
1318
1318
  ], 512),
1319
- createElementVNode("div", _hoisted_2$J, [
1319
+ createElementVNode("div", _hoisted_2$K, [
1320
1320
  createElementVNode("div", {
1321
1321
  ref_key: "dayColumnsContainer",
1322
1322
  ref: dayColumnsContainer,
@@ -1371,7 +1371,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
1371
1371
  ])
1372
1372
  ], 44, _hoisted_4$p);
1373
1373
  }), 128))
1374
- ], 40, _hoisted_3$C);
1374
+ ], 40, _hoisted_3$D);
1375
1375
  }), 128)),
1376
1376
  dragState.value.isDragging && dragState.value.start && dragState.value.end ? (openBlock(), createElementBlock("div", {
1377
1377
  key: 1,
@@ -1394,8 +1394,8 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
1394
1394
  });
1395
1395
  const WeekView = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-2d5bca17"]]);
1396
1396
  const _hoisted_1$X = { class: "calendar" };
1397
- const _hoisted_2$I = { class: "flex m_block m_pb-1" };
1398
- const _hoisted_3$B = { class: "txt-light my-0" };
1397
+ const _hoisted_2$J = { class: "flex m_block m_pb-1" };
1398
+ const _hoisted_3$C = { class: "txt-light my-0" };
1399
1399
  const _hoisted_4$o = { class: "ms-auto flex gap-025" };
1400
1400
  const _sfc_main$16 = /* @__PURE__ */ defineComponent({
1401
1401
  __name: "Index",
@@ -1490,8 +1490,8 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
1490
1490
  });
1491
1491
  return (_ctx, _cache) => {
1492
1492
  return openBlock(), createElementBlock("div", _hoisted_1$X, [
1493
- createElementVNode("div", _hoisted_2$I, [
1494
- createElementVNode("h3", _hoisted_3$B, [
1493
+ createElementVNode("div", _hoisted_2$J, [
1494
+ createElementVNode("h3", _hoisted_3$C, [
1495
1495
  createElementVNode("b", null, toDisplayString(unref(fmtDate)(currentDate.value, { fmt: "MMMM" })), 1),
1496
1496
  createTextVNode(" " + toDisplayString(unref(fmtDate)(currentDate.value, { fmt: "YYYY" })), 1)
1497
1497
  ]),
@@ -1612,11 +1612,11 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
1612
1612
  }
1613
1613
  });
1614
1614
  const _hoisted_1$V = ["dir"];
1615
- const _hoisted_2$H = {
1615
+ const _hoisted_2$I = {
1616
1616
  key: 0,
1617
1617
  class: "dots"
1618
1618
  };
1619
- const _hoisted_3$A = ["onClick"];
1619
+ const _hoisted_3$B = ["onClick"];
1620
1620
  const GAP_PERCENT = 1;
1621
1621
  const VELOCITY_SAMPLE_DURATION = 100;
1622
1622
  const _sfc_main$14 = /* @__PURE__ */ defineComponent({
@@ -2053,13 +2053,13 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
2053
2053
  }, [
2054
2054
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
2055
2055
  ], 38),
2056
- props2.dots && unref(slideCount) > 1 ? (openBlock(), createElementBlock("div", _hoisted_2$H, [
2056
+ props2.dots && unref(slideCount) > 1 ? (openBlock(), createElementBlock("div", _hoisted_2$I, [
2057
2057
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(slideCount), (i2) => {
2058
2058
  return openBlock(), createElementBlock("span", {
2059
2059
  key: i2,
2060
2060
  class: normalizeClass(["dot", { current: unref(activeSlideIndex) === i2 - 1 }]),
2061
2061
  onClick: ($event) => goToSlide(i2 - 1)
2062
- }, null, 10, _hoisted_3$A);
2062
+ }, null, 10, _hoisted_3$B);
2063
2063
  }), 128))
2064
2064
  ])) : createCommentVNode("", true),
2065
2065
  createElementVNode("div", {
@@ -7922,7 +7922,7 @@ const _hoisted_1$1$1 = {
7922
7922
  style: { display: "flex", position: "relative" }
7923
7923
  };
7924
7924
  const _hoisted_2$1$1 = ["width", "height", "viewBox"];
7925
- const _hoisted_3$z = { class: "layer-rectangles" };
7925
+ const _hoisted_3$A = { class: "layer-rectangles" };
7926
7926
  const _hoisted_4$n = ["transform", "onMouseover"];
7927
7927
  const _hoisted_5$n = ["width", "height"];
7928
7928
  const _hoisted_6$j = {
@@ -7940,7 +7940,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
7940
7940
  viewBox: `0 0 ${_ctx.size.width} ${_ctx.size.height}`,
7941
7941
  ref: "el"
7942
7942
  }, [
7943
- createElementVNode("g", _hoisted_3$z, [
7943
+ createElementVNode("g", _hoisted_3$A, [
7944
7944
  (openBlock(true), createElementBlock(
7945
7945
  Fragment,
7946
7946
  null,
@@ -8036,7 +8036,7 @@ const _hoisted_1$U = {
8036
8036
  key: 0,
8037
8037
  class: "layer-hover-bar"
8038
8038
  };
8039
- const _hoisted_2$G = ["x", "y", "width", "height"];
8039
+ const _hoisted_2$H = ["x", "y", "width", "height"];
8040
8040
  function render(_ctx, _cache, $props, $setup, $data, $options) {
8041
8041
  return _ctx.mouse.hover ? (openBlock(), createElementBlock("g", _hoisted_1$U, [
8042
8042
  createElementVNode("rect", mergeProps({ class: "hover-bar" }, _ctx.barStyle, {
@@ -8044,7 +8044,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
8044
8044
  y: _ctx.bar.y,
8045
8045
  width: _ctx.bar.width > 0 ? _ctx.bar.width : 0,
8046
8046
  height: _ctx.bar.height > 0 ? _ctx.bar.height : 0
8047
- }), null, 16, _hoisted_2$G)
8047
+ }), null, 16, _hoisted_2$H)
8048
8048
  ])) : createCommentVNode("v-if", true);
8049
8049
  }
8050
8050
  script.render = render;
@@ -8388,7 +8388,7 @@ function useTableData(options) {
8388
8388
  function resolveSchema() {
8389
8389
  try {
8390
8390
  schemaState.value = "loading";
8391
- const dataValue = options.data.value || [];
8391
+ const dataValue = toValue(options.data) || [];
8392
8392
  const schema = useBglSchema({
8393
8393
  schema: toValue(options.schema),
8394
8394
  columns: toValue(options.columns),
@@ -8462,12 +8462,11 @@ function useTableData(options) {
8462
8462
  }
8463
8463
  const computedSortField = computed(() => sortField.value ? `_transformed_${sortField.value}` : "");
8464
8464
  const computedData = computed(() => {
8465
- const currentData = options.data.value || [];
8465
+ const currentData = toValue(options.data) || [];
8466
8466
  if (!Array.isArray(currentData) || currentData.length === 0) {
8467
8467
  return [];
8468
8468
  }
8469
- const useServerSortValue = computed(() => toValue(options.useServerSort));
8470
- if (!sortField.value || useServerSortValue.value === true) {
8469
+ if (!sortField.value || toValue(options.useServerSort) === true) {
8471
8470
  return currentData.map(transform);
8472
8471
  }
8473
8472
  return currentData.map(transform).sort((a2, z2) => {
@@ -8513,7 +8512,7 @@ function useTableData(options) {
8513
8512
  };
8514
8513
  }
8515
8514
  const _hoisted_1$T = { class: "data-preview" };
8516
- const _hoisted_2$F = {
8515
+ const _hoisted_2$G = {
8517
8516
  key: 1,
8518
8517
  class: "empty-preview"
8519
8518
  };
@@ -8524,7 +8523,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
8524
8523
  includeUnset: { type: Boolean },
8525
8524
  schema: {},
8526
8525
  columns: {},
8527
- useServerSort: {},
8526
+ useServerSort: { type: Boolean },
8528
8527
  selectable: { type: Boolean },
8529
8528
  onLastItemVisible: { type: Function }
8530
8529
  },
@@ -8564,7 +8563,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
8564
8563
  return openBlock(), createBlock(resolveDynamicComponent(unref(renderField)(field, unref(slots))), {
8565
8564
  key: field.id
8566
8565
  });
8567
- }), 128)) : (openBlock(), createElementBlock("div", _hoisted_2$F, " No data to display "))
8566
+ }), 128)) : (openBlock(), createElementBlock("div", _hoisted_2$G, " No data to display "))
8568
8567
  ]);
8569
8568
  };
8570
8569
  }
@@ -9505,8 +9504,8 @@ const _hoisted_1$S = {
9505
9504
  key: 0,
9506
9505
  class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
9507
9506
  };
9508
- const _hoisted_2$E = { class: "infinite-wrapper" };
9509
- const _hoisted_3$y = { class: "row first-row" };
9507
+ const _hoisted_2$F = { class: "infinite-wrapper" };
9508
+ const _hoisted_3$z = { class: "row first-row" };
9510
9509
  const _hoisted_4$m = { key: 0 };
9511
9510
  const _hoisted_5$m = ["onClick"];
9512
9511
  const _hoisted_6$i = { class: "flex" };
@@ -9520,7 +9519,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
9520
9519
  data: {},
9521
9520
  schema: {},
9522
9521
  columns: {},
9523
- useServerSort: {},
9522
+ useServerSort: { type: Boolean },
9524
9523
  selectable: { type: Boolean },
9525
9524
  onLastItemVisible: { type: Function }
9526
9525
  }, {
@@ -9534,7 +9533,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
9534
9533
  emits: /* @__PURE__ */ mergeModels(["orderBy", "select", "lastItemVisible"], ["update:loading", "update:itemHeight", "update:selectedItems"]),
9535
9534
  setup(__props, { emit: __emit }) {
9536
9535
  useCssVars((_ctx) => ({
9537
- "4c16a687": unref(computedItemHeight)
9536
+ "25c2d418": unref(computedItemHeight)
9538
9537
  }));
9539
9538
  const props2 = __props;
9540
9539
  const emit2 = __emit;
@@ -9542,10 +9541,6 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
9542
9541
  const loading = useModel(__props, "loading");
9543
9542
  const itemHeight = useModel(__props, "itemHeight");
9544
9543
  const selectedItems = useModel(__props, "selectedItems");
9545
- const data2 = computed(() => props2.data);
9546
- const schema = computed(() => props2.schema);
9547
- const columns = computed(() => props2.columns);
9548
- const useServerSort = computed(() => props2.useServerSort);
9549
9544
  const {
9550
9545
  computedSchema,
9551
9546
  computedData,
@@ -9554,10 +9549,10 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
9554
9549
  toggleSort,
9555
9550
  cleanTransformedData
9556
9551
  } = useTableData({
9557
- data: data2,
9558
- schema,
9559
- columns,
9560
- useServerSort,
9552
+ data: computed(() => props2.data),
9553
+ schema: computed(() => toValue(props2.schema)),
9554
+ columns: computed(() => toValue(props2.columns)),
9555
+ useServerSort: computed(() => toValue(props2.useServerSort)),
9561
9556
  onSort: (field, direction) => {
9562
9557
  emit2("orderBy", `${field.trim()} ${direction.trim()}`);
9563
9558
  }
@@ -9640,8 +9635,8 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
9640
9635
  createElementVNode("div", mergeProps(unref(wrapperProps), {
9641
9636
  class: { "pointer-events-none": showLoading.value }
9642
9637
  }), [
9643
- createElementVNode("table", _hoisted_2$E, [
9644
- createElementVNode("thead", _hoisted_3$y, [
9638
+ createElementVNode("table", _hoisted_2$F, [
9639
+ createElementVNode("thead", _hoisted_3$z, [
9645
9640
  unref(isSelectable) ? (openBlock(), createElementBlock("th", _hoisted_4$m, [
9646
9641
  createElementVNode("input", {
9647
9642
  ref_key: "allSelectorEl",
@@ -9723,7 +9718,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
9723
9718
  };
9724
9719
  }
9725
9720
  });
9726
- const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-979bbdcd"]]);
9721
+ const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-f795f660"]]);
9727
9722
  function useDraggable(options = {}) {
9728
9723
  const isDragging = ref(false);
9729
9724
  const dragElement = ref(null);
@@ -10281,7 +10276,8 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
10281
10276
  props: {
10282
10277
  multiple: { type: Boolean },
10283
10278
  accept: {},
10284
- disabled: { type: Boolean }
10279
+ disabled: { type: Boolean },
10280
+ browse: { type: Boolean }
10285
10281
  },
10286
10282
  emits: ["addFiles"],
10287
10283
  setup(__props, { emit: __emit }) {
@@ -10310,6 +10306,24 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
10310
10306
  isDragging.value = false;
10311
10307
  }
10312
10308
  }
10309
+ function handleClick(e) {
10310
+ if (!props2.browse || props2.disabled) {
10311
+ return;
10312
+ }
10313
+ e.preventDefault();
10314
+ e.stopPropagation();
10315
+ const input = document.createElement("input");
10316
+ input.type = "file";
10317
+ input.multiple = !!props2.multiple;
10318
+ input.accept = props2.accept || "*";
10319
+ input.onchange = (e22) => {
10320
+ const { files: files2 } = e22.target;
10321
+ if (files2) {
10322
+ emit2("addFiles", files2);
10323
+ }
10324
+ };
10325
+ input.click();
10326
+ }
10313
10327
  function handleDrop(e) {
10314
10328
  if (props2.disabled) return;
10315
10329
  e.preventDefault();
@@ -10328,7 +10342,8 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
10328
10342
  onDragenter: handleDragEnter,
10329
10343
  onDragover: handleDragOver,
10330
10344
  onDragleave: handleDragLeave,
10331
- onDrop: handleDrop
10345
+ onDrop: handleDrop,
10346
+ onClick: handleClick
10332
10347
  }, [
10333
10348
  renderSlot(_ctx.$slots, "default", {}, void 0, true),
10334
10349
  isDragging.value && !_ctx.disabled ? (openBlock(), createElementBlock("div", _hoisted_1$R, _cache[0] || (_cache[0] = [
@@ -10338,7 +10353,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
10338
10353
  };
10339
10354
  }
10340
10355
  });
10341
- const DragOver = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-efa2a825"]]);
10356
+ const DragOver = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-9cf27687"]]);
10342
10357
  const sides = ["top", "right", "bottom", "left"];
10343
10358
  const alignments = ["start", "end"];
10344
10359
  const placements = /* @__PURE__ */ sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
@@ -12980,7 +12995,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
12980
12995
  }
12981
12996
  });
12982
12997
  const _hoisted_1$Q = { class: "px-1 pt-025 pb-1" };
12983
- const _hoisted_2$D = { class: "ms-1" };
12998
+ const _hoisted_2$E = { class: "ms-1" };
12984
12999
  const _sfc_main$Z = /* @__PURE__ */ defineComponent({
12985
13000
  __name: "FieldSetVue",
12986
13001
  props: {
@@ -12990,7 +13005,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
12990
13005
  setup(__props) {
12991
13006
  return (_ctx, _cache) => {
12992
13007
  return openBlock(), createElementBlock("fieldset", _hoisted_1$Q, [
12993
- createElementVNode("legend", _hoisted_2$D, toDisplayString(_ctx.legend || _ctx.label), 1),
13008
+ createElementVNode("legend", _hoisted_2$E, toDisplayString(_ctx.legend || _ctx.label), 1),
12994
13009
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
12995
13010
  ]);
12996
13011
  };
@@ -13668,11 +13683,11 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
13668
13683
  }
13669
13684
  });
13670
13685
  const _hoisted_1$P = { class: "bgl-multi-step-form" };
13671
- const _hoisted_2$C = {
13686
+ const _hoisted_2$D = {
13672
13687
  key: 0,
13673
13688
  class: "bgl-step-progress"
13674
13689
  };
13675
- const _hoisted_3$x = { class: "bgl-steps-indicator" };
13690
+ const _hoisted_3$y = { class: "bgl-steps-indicator" };
13676
13691
  const _hoisted_4$l = ["onClick"];
13677
13692
  const _hoisted_5$l = {
13678
13693
  key: 0,
@@ -13846,7 +13861,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
13846
13861
  });
13847
13862
  return (_ctx, _cache) => {
13848
13863
  return openBlock(), createElementBlock("div", _hoisted_1$P, [
13849
- _ctx.showProgress ? (openBlock(), createElementBlock("div", _hoisted_2$C, [
13864
+ _ctx.showProgress ? (openBlock(), createElementBlock("div", _hoisted_2$D, [
13850
13865
  renderSlot(_ctx.$slots, "progress", normalizeProps(guardReactiveProps({
13851
13866
  currentStep: currentStep.value,
13852
13867
  totalSteps: numberOfSteps.value,
@@ -13855,7 +13870,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
13855
13870
  allowStepNavigation: props2.allowStepNavigation,
13856
13871
  isStepValidated: isStepValidated.value
13857
13872
  })), () => [
13858
- createElementVNode("div", _hoisted_3$x, [
13873
+ createElementVNode("div", _hoisted_3$y, [
13859
13874
  (openBlock(true), createElementBlock(Fragment, null, renderList(numberOfSteps.value, (_2, index2) => {
13860
13875
  return openBlock(), createElementBlock("div", {
13861
13876
  key: index2,
@@ -13949,8 +13964,8 @@ const _hoisted_1$O = {
13949
13964
  key: 0,
13950
13965
  class: "label mb-05"
13951
13966
  };
13952
- const _hoisted_2$B = { class: "ps-025 border-start mb-05" };
13953
- const _hoisted_3$w = {
13967
+ const _hoisted_2$C = { class: "ps-025 border-start mb-05" };
13968
+ const _hoisted_3$x = {
13954
13969
  key: 0,
13955
13970
  class: "flex-center h-300px"
13956
13971
  };
@@ -14051,8 +14066,8 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
14051
14066
  class: normalizeClass(props2.class)
14052
14067
  }, [
14053
14068
  _ctx.label ? (openBlock(), createElementBlock("p", _hoisted_1$O, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
14054
- createElementVNode("div", _hoisted_2$B, [
14055
- schemaState.value !== "loaded" ? (openBlock(), createElementBlock("div", _hoisted_3$w, [
14069
+ createElementVNode("div", _hoisted_2$C, [
14070
+ schemaState.value !== "loaded" ? (openBlock(), createElementBlock("div", _hoisted_3$x, [
14056
14071
  schemaState.value === "loading" ? (openBlock(), createBlock(unref(Loading), { key: 0 })) : schemaState.value === "error" ? (openBlock(), createBlock(unref(_sfc_main$v), {
14057
14072
  key: 1,
14058
14073
  icon: "error",
@@ -14138,8 +14153,8 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
14138
14153
  });
14139
14154
  const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-73f1d9ad"]]);
14140
14155
  const _hoisted_1$M = ["title"];
14141
- const _hoisted_2$A = ["id", "value", "required"];
14142
- const _hoisted_3$v = ["for"];
14156
+ const _hoisted_2$B = ["id", "value", "required"];
14157
+ const _hoisted_3$w = ["for"];
14143
14158
  const _sfc_main$T = /* @__PURE__ */ defineComponent({
14144
14159
  __name: "CheckInput",
14145
14160
  props: /* @__PURE__ */ mergeModels({
@@ -14173,7 +14188,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
14173
14188
  required: _ctx.required,
14174
14189
  type: "checkbox",
14175
14190
  class: "me-05"
14176
- }, null, 8, _hoisted_2$A), [
14191
+ }, null, 8, _hoisted_2$B), [
14177
14192
  [vModelCheckbox, checked.value]
14178
14193
  ]),
14179
14194
  createElementVNode("label", {
@@ -14182,7 +14197,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
14182
14197
  renderSlot(_ctx.$slots, "label", {}, () => [
14183
14198
  createTextVNode(toDisplayString(_ctx.label), 1)
14184
14199
  ], true)
14185
- ], 8, _hoisted_3$v)
14200
+ ], 8, _hoisted_3$w)
14186
14201
  ], 10, _hoisted_1$M);
14187
14202
  };
14188
14203
  }
@@ -14245,8 +14260,8 @@ const _hoisted_1$L = {
14245
14260
  key: 0,
14246
14261
  class: "label"
14247
14262
  };
14248
- const _hoisted_2$z = { class: "editor-content-papa relative" };
14249
- const _hoisted_3$u = {
14263
+ const _hoisted_2$A = { class: "editor-content-papa relative" };
14264
+ const _hoisted_3$v = {
14250
14265
  class: "code-display",
14251
14266
  wrap: ""
14252
14267
  };
@@ -14320,8 +14335,8 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
14320
14335
  ref: editorRef,
14321
14336
  class: "code-editor-grandpa"
14322
14337
  }, [
14323
- createElementVNode("div", _hoisted_2$z, [
14324
- createElementVNode("pre", _hoisted_3$u, [
14338
+ createElementVNode("div", _hoisted_2$A, [
14339
+ createElementVNode("pre", _hoisted_3$v, [
14325
14340
  createElementVNode("code", { innerHTML: formattedCode.value }, null, 8, _hoisted_4$j)
14326
14341
  ]),
14327
14342
  !_ctx.readonly ? (openBlock(), createElementBlock("textarea", {
@@ -14343,8 +14358,8 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
14343
14358
  });
14344
14359
  const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__scopeId", "data-v-de01e351"]]);
14345
14360
  const _hoisted_1$K = ["title"];
14346
- const _hoisted_2$y = { class: "flex bg-input rounded px-025 colorInputPickWrap" };
14347
- const _hoisted_3$t = ["id", "placeholder", "required"];
14361
+ const _hoisted_2$z = { class: "flex bg-input rounded px-025 colorInputPickWrap" };
14362
+ const _hoisted_3$u = ["id", "placeholder", "required"];
14348
14363
  const _sfc_main$R = /* @__PURE__ */ defineComponent({
14349
14364
  __name: "ColorInput",
14350
14365
  props: {
@@ -14375,7 +14390,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
14375
14390
  }, [
14376
14391
  createElementVNode("label", null, [
14377
14392
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
14378
- createElementVNode("div", _hoisted_2$y, [
14393
+ createElementVNode("div", _hoisted_2$z, [
14379
14394
  withDirectives(createElementVNode("input", mergeProps({
14380
14395
  id: _ctx.id,
14381
14396
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputVal.value = $event),
@@ -14383,7 +14398,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
14383
14398
  type: "color",
14384
14399
  placeholder: _ctx.placeholder || _ctx.label,
14385
14400
  required: _ctx.required
14386
- }, _ctx.nativeInputAttrs), null, 16, _hoisted_3$t), [
14401
+ }, _ctx.nativeInputAttrs), null, 16, _hoisted_3$u), [
14387
14402
  [vModelText, inputVal.value]
14388
14403
  ]),
14389
14404
  withDirectives(createElementVNode("input", {
@@ -14927,8 +14942,8 @@ class Time {
14927
14942
  }
14928
14943
  }
14929
14944
  const _hoisted_1$J = { class: "ltr flex gap-075 m_flex-wrap calendar-container justify-content-center h-100p" };
14930
- const _hoisted_2$x = { class: "calendar-section m_border-none pe-05 m_p-0" };
14931
- const _hoisted_3$s = { class: "flex space-between pb-1" };
14945
+ const _hoisted_2$y = { class: "calendar-section m_border-none pe-05 m_p-0" };
14946
+ const _hoisted_3$t = { class: "flex space-between pb-1" };
14932
14947
  const _hoisted_4$i = { class: "flex gap-05" };
14933
14948
  const _hoisted_5$i = { class: "month-year" };
14934
14949
  const _hoisted_6$f = {
@@ -14965,6 +14980,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
14965
14980
  setup(__props, { emit: __emit }) {
14966
14981
  const props2 = __props;
14967
14982
  const emit2 = __emit;
14983
+ const computedHighlightedDates = computed(() => toValue(props2.highlightedDates));
14968
14984
  const currentMonth = ref(/* @__PURE__ */ new Date());
14969
14985
  const currentView = ref("days");
14970
14986
  const time = new Time(props2.firstDayOfWeek, props2.locale);
@@ -15061,16 +15077,16 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
15061
15077
  const isNotInMonth2 = (date2) => {
15062
15078
  return time.isTrailingOrLeadingDate(date2, currentMonth.value.getMonth());
15063
15079
  };
15064
- const isHighlighted2 = (date2) => {
15065
- if (!date2 || !Array.isArray(props2.highlightedDates) || !props2.highlightedDates.length) {
15080
+ const isHighlighted2 = computed(() => (date2) => {
15081
+ if (!date2 || !Array.isArray(computedHighlightedDates.value) || !computedHighlightedDates.value.length) {
15066
15082
  return false;
15067
15083
  }
15068
- return props2.highlightedDates.some((highlightedDate) => {
15084
+ return computedHighlightedDates.value.some((highlightedDate) => {
15069
15085
  const parsedDate = parseDate(highlightedDate);
15070
15086
  if (!parsedDate) return false;
15071
15087
  return date2.getFullYear() === parsedDate.getFullYear() && date2.getMonth() === parsedDate.getMonth() && date2.getDate() === parsedDate.getDate();
15072
15088
  });
15073
- };
15089
+ });
15074
15090
  return {
15075
15091
  currentMonthDays: currentMonthDays2,
15076
15092
  currentMonthValue: currentMonthValue2,
@@ -15182,8 +15198,8 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
15182
15198
  }
15183
15199
  return (_ctx, _cache) => {
15184
15200
  return openBlock(), createElementBlock("div", _hoisted_1$J, [
15185
- createElementVNode("div", _hoisted_2$x, [
15186
- createElementVNode("div", _hoisted_3$s, [
15201
+ createElementVNode("div", _hoisted_2$y, [
15202
+ createElementVNode("div", _hoisted_3$t, [
15187
15203
  currentView.value === "days" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
15188
15204
  createVNode(unref(Btn), {
15189
15205
  flat: "",
@@ -15312,10 +15328,10 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
15312
15328
  };
15313
15329
  }
15314
15330
  });
15315
- const DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-2cc2cfc1"]]);
15331
+ const DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-16646325"]]);
15316
15332
  const _hoisted_1$I = ["title"];
15317
- const _hoisted_2$w = { key: 0 };
15318
- const _hoisted_3$r = {
15333
+ const _hoisted_2$x = { key: 0 };
15334
+ const _hoisted_3$s = {
15319
15335
  key: 0,
15320
15336
  class: "required"
15321
15337
  };
@@ -15435,9 +15451,9 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
15435
15451
  onFocusin: _cache[4] || (_cache[4] = //@ts-ignore
15436
15452
  (...args) => unref(handleFocus) && unref(handleFocus)(...args))
15437
15453
  }, [
15438
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$w, [
15454
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$x, [
15439
15455
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
15440
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$r, "*")) : createCommentVNode("", true)
15456
+ _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_3$s, "*")) : createCommentVNode("", true)
15441
15457
  ])) : createCommentVNode("", true),
15442
15458
  createVNode(unref(_sfc_main$_), {
15443
15459
  shown: isOpen.value,
@@ -15504,8 +15520,8 @@ const VIDEO_FORMATS = ["mp4", "webm", "ogg", "mov", "avi", "flv", "wmv", "mkv",
15504
15520
  const VIDEO_FORMATS_REGEXP = new RegExp(`(${VIDEO_FORMATS.join("|")})$`, "i");
15505
15521
  const EMAIL_REGEX = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\])|(([a-z\-0-9]+\.)+[a-z]{2,}))$/i;
15506
15522
  const _hoisted_1$H = ["title"];
15507
- const _hoisted_2$v = ["for"];
15508
- const _hoisted_3$q = { class: "flex" };
15523
+ const _hoisted_2$w = ["for"];
15524
+ const _hoisted_3$r = { class: "flex" };
15509
15525
  const _hoisted_4$h = { key: 0 };
15510
15526
  const _hoisted_5$h = {
15511
15527
  key: 1,
@@ -15780,7 +15796,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
15780
15796
  title: _ctx.title
15781
15797
  }, [
15782
15798
  createElementVNode("label", { for: _ctx.id }, [
15783
- createElementVNode("div", _hoisted_3$q, [
15799
+ createElementVNode("div", _hoisted_3$r, [
15784
15800
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
15785
15801
  _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_4$h, "*")) : createCommentVNode("", true),
15786
15802
  _ctx.helptext ? (openBlock(), createElementBlock("span", _hoisted_5$h, toDisplayString(_ctx.helptext), 1)) : createCommentVNode("", true),
@@ -15822,21 +15838,21 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
15822
15838
  key: 1,
15823
15839
  icon: _ctx.icon
15824
15840
  }, null, 8, ["icon"])) : createCommentVNode("", true)
15825
- ], 8, _hoisted_2$v)
15841
+ ], 8, _hoisted_2$w)
15826
15842
  ], 10, _hoisted_1$H);
15827
15843
  };
15828
15844
  }
15829
15845
  });
15830
15846
  const EmailInput = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__scopeId", "data-v-e3d13caa"]]);
15831
15847
  const _hoisted_1$G = { class: "bagel-input" };
15832
- const _hoisted_2$u = {
15848
+ const _hoisted_2$v = {
15833
15849
  key: 0,
15834
15850
  placeholder: "required",
15835
15851
  type: "text",
15836
15852
  required: "",
15837
15853
  class: "pixel"
15838
15854
  };
15839
- const _hoisted_3$p = { class: "m-05 flex opacity-7 z-99" };
15855
+ const _hoisted_3$q = { class: "m-05 flex opacity-7 z-99" };
15840
15856
  const _hoisted_4$g = { class: "ellipsis-1 word-break-all h-20 m-0 color-black" };
15841
15857
  const _hoisted_5$g = { class: "flex gap-025 rounded pe-1 ps-05 py-025 bg-gray-80 -my-1" };
15842
15858
  const _hoisted_6$d = { class: "ellipsis-1 word-break-all h-20 m-0 color-black txt16" };
@@ -16046,7 +16062,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
16046
16062
  const _directive_lightbox = resolveDirective("lightbox");
16047
16063
  return openBlock(), createElementBlock("div", _hoisted_1$G, [
16048
16064
  createElementVNode("label", null, toDisplayString(_ctx.label), 1),
16049
- _ctx.required && !storageFiles.value.length ? (openBlock(), createElementBlock("input", _hoisted_2$u)) : createCommentVNode("", true),
16065
+ _ctx.required && !storageFiles.value.length ? (openBlock(), createElementBlock("input", _hoisted_2$v)) : createCommentVNode("", true),
16050
16066
  _ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main$15), {
16051
16067
  key: 1,
16052
16068
  outline: "",
@@ -16068,7 +16084,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
16068
16084
  key: file.id,
16069
16085
  class: "txt-gray txt-12 flex"
16070
16086
  }, [
16071
- createElementVNode("div", _hoisted_3$p, [
16087
+ createElementVNode("div", _hoisted_3$q, [
16072
16088
  withDirectives(createVNode(unref(Btn), {
16073
16089
  color: "gray",
16074
16090
  thin: "",
@@ -16303,8 +16319,8 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
16303
16319
  });
16304
16320
  const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-50fd0597"]]);
16305
16321
  const _hoisted_1$F = ["title"];
16306
- const _hoisted_2$t = { key: 0 };
16307
- const _hoisted_3$o = ["value", "placeholder"];
16322
+ const _hoisted_2$u = { key: 0 };
16323
+ const _hoisted_3$p = ["value", "placeholder"];
16308
16324
  const _sfc_main$M = /* @__PURE__ */ defineComponent({
16309
16325
  __name: "JSONInput",
16310
16326
  props: {
@@ -16328,7 +16344,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
16328
16344
  class: normalizeClass(["bagel-input", { small: _ctx.small }]),
16329
16345
  title: _ctx.description
16330
16346
  }, [
16331
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$t, [
16347
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$u, [
16332
16348
  createVNode(_component_LangText, { input: _ctx.label }, null, 8, ["input"])
16333
16349
  ])) : createCommentVNode("", true),
16334
16350
  createElementVNode("textarea", {
@@ -16336,18 +16352,18 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
16336
16352
  class: normalizeClass({ "no-edit": !_ctx.editMode }),
16337
16353
  placeholder: _ctx.placeholder,
16338
16354
  onInput: handleInput
16339
- }, null, 42, _hoisted_3$o)
16355
+ }, null, 42, _hoisted_3$p)
16340
16356
  ], 10, _hoisted_1$F);
16341
16357
  };
16342
16358
  }
16343
16359
  });
16344
16360
  const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-1cbaeab2"]]);
16345
16361
  const _hoisted_1$E = ["for"];
16346
- const _hoisted_2$s = {
16362
+ const _hoisted_2$t = {
16347
16363
  key: 0,
16348
16364
  class: "block"
16349
16365
  };
16350
- const _hoisted_3$n = ["id", "placeholder", "disabled", "required", "readonly", "pattern", "onKeydown"];
16366
+ const _hoisted_3$o = ["id", "placeholder", "disabled", "required", "readonly", "pattern", "onKeydown"];
16351
16367
  const _hoisted_4$f = {
16352
16368
  key: 1,
16353
16369
  class: "opacity-7 light"
@@ -16461,7 +16477,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
16461
16477
  }])
16462
16478
  }, [
16463
16479
  createElementVNode("div", { for: _ctx.id }, [
16464
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$s, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
16480
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$t, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
16465
16481
  createElementVNode("div", {
16466
16482
  class: normalizeClass(["gap-025", { "column flex": _ctx.layout === "vertical", "flex": _ctx.layout === "horizontal" }])
16467
16483
  }, [
@@ -16496,7 +16512,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
16496
16512
  withKeys(withModifiers(increment, ["prevent"]), ["up"]),
16497
16513
  withKeys(withModifiers(decrement, ["prevent"]), ["down"])
16498
16514
  ]
16499
- }, null, 42, _hoisted_3$n), [
16515
+ }, null, 42, _hoisted_3$o), [
16500
16516
  [
16501
16517
  vModelText,
16502
16518
  unref(formattedValue),
@@ -16668,7 +16684,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
16668
16684
  });
16669
16685
  const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-ab0a46bf"]]);
16670
16686
  const _hoisted_1$C = { class: "relative passwordInput" };
16671
- const _hoisted_2$r = { class: "m-password position-bottom-end flex column justify-content-center" };
16687
+ const _hoisted_2$s = { class: "m-password position-bottom-end flex column justify-content-center" };
16672
16688
  const _sfc_main$J = /* @__PURE__ */ defineComponent({
16673
16689
  __name: "PasswordInput",
16674
16690
  props: /* @__PURE__ */ mergeModels({
@@ -16718,7 +16734,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
16718
16734
  class: "mb-0",
16719
16735
  name: props2.name
16720
16736
  }), null, 16, ["modelValue", "type", "name"]),
16721
- createElementVNode("div", _hoisted_2$r, [
16737
+ createElementVNode("div", _hoisted_2$s, [
16722
16738
  createVNode(unref(Btn), {
16723
16739
  flat: "",
16724
16740
  thin: "",
@@ -16732,8 +16748,8 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
16732
16748
  }
16733
16749
  });
16734
16750
  const _hoisted_1$B = ["for"];
16735
- const _hoisted_2$q = ["id", "disabled", "name", "value", "required"];
16736
- const _hoisted_3$m = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
16751
+ const _hoisted_2$r = ["id", "disabled", "name", "value", "required"];
16752
+ const _hoisted_3$n = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
16737
16753
  const _hoisted_4$e = ["src", "alt"];
16738
16754
  const _hoisted_5$e = { class: "" };
16739
16755
  const _hoisted_6$c = {
@@ -16805,10 +16821,10 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
16805
16821
  onFocus: handleFocus,
16806
16822
  onBlur: handleBlur,
16807
16823
  onChange: handleChange
16808
- }, null, 40, _hoisted_2$q), [
16824
+ }, null, 40, _hoisted_2$r), [
16809
16825
  [vModelRadio, selectedOption.value]
16810
16826
  ]),
16811
- createElementVNode("div", _hoisted_3$m, [
16827
+ createElementVNode("div", _hoisted_3$n, [
16812
16828
  opt.imgSrc ? (openBlock(), createElementBlock("img", {
16813
16829
  key: 0,
16814
16830
  class: "bg-popup shadow-light py-025 radius-05 m_w40",
@@ -16838,8 +16854,8 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
16838
16854
  });
16839
16855
  const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-adc49780"]]);
16840
16856
  const _hoisted_1$A = { class: "bagel-input" };
16841
- const _hoisted_2$p = { class: "pb-025" };
16842
- const _hoisted_3$l = { class: "flex gap-05 flex-wrap" };
16857
+ const _hoisted_2$q = { class: "pb-025" };
16858
+ const _hoisted_3$m = { class: "flex gap-05 flex-wrap" };
16843
16859
  const _hoisted_4$d = ["id", "name", "value", "checked"];
16844
16860
  const _hoisted_5$d = ["for"];
16845
16861
  const _sfc_main$H = /* @__PURE__ */ defineComponent({
@@ -16886,8 +16902,8 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
16886
16902
  });
16887
16903
  return (_ctx, _cache) => {
16888
16904
  return openBlock(), createElementBlock("div", _hoisted_1$A, [
16889
- createElementVNode("label", _hoisted_2$p, toDisplayString(_ctx.label), 1),
16890
- createElementVNode("div", _hoisted_3$l, [
16905
+ createElementVNode("label", _hoisted_2$q, toDisplayString(_ctx.label), 1),
16906
+ createElementVNode("div", _hoisted_3$m, [
16891
16907
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, (option2, index2) => {
16892
16908
  return openBlock(), createElementBlock("div", {
16893
16909
  key: index2,
@@ -16913,11 +16929,11 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
16913
16929
  });
16914
16930
  const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-68b4cdd0"]]);
16915
16931
  const _hoisted_1$z = ["dir"];
16916
- const _hoisted_2$o = {
16932
+ const _hoisted_2$p = {
16917
16933
  key: 0,
16918
16934
  class: "label"
16919
16935
  };
16920
- const _hoisted_3$k = { class: "range-slider relative w-100" };
16936
+ const _hoisted_3$l = { class: "range-slider relative w-100" };
16921
16937
  const _hoisted_4$c = ["id", "value", "min", "max", "step", "required", "disabled", "aria-label"];
16922
16938
  const _hoisted_5$c = ["value", "min", "max", "step", "required", "disabled"];
16923
16939
  const _hoisted_6$b = { class: "track absolute pointer-events-none overflow-hidden round" };
@@ -16986,8 +17002,8 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
16986
17002
  return openBlock(), createElementBlock("div", {
16987
17003
  dir: _ctx.rtl ? "rtl" : "ltr"
16988
17004
  }, [
16989
- props2.label ? (openBlock(), createElementBlock("label", _hoisted_2$o, toDisplayString(props2.label), 1)) : createCommentVNode("", true),
16990
- createElementVNode("div", _hoisted_3$k, [
17005
+ props2.label ? (openBlock(), createElementBlock("label", _hoisted_2$p, toDisplayString(props2.label), 1)) : createCommentVNode("", true),
17006
+ createElementVNode("div", _hoisted_3$l, [
16991
17007
  createElementVNode("input", {
16992
17008
  id: _ctx.id,
16993
17009
  value: validFrom.value,
@@ -17149,8 +17165,8 @@ const toolbarOptions = [
17149
17165
  { name: "fullScreen", label: "Full Screen", icon: "fullscreen", class: "ms-auto" }
17150
17166
  ];
17151
17167
  const _hoisted_1$y = { class: "grid grid-wrap p-05" };
17152
- const _hoisted_2$n = ["onMousemove", "onClick"];
17153
- const _hoisted_3$j = { class: "txt-center txt-12 color-gray" };
17168
+ const _hoisted_2$o = ["onMousemove", "onClick"];
17169
+ const _hoisted_3$k = { class: "txt-center txt-12 color-gray" };
17154
17170
  const fb = 1;
17155
17171
  const _sfc_main$F = /* @__PURE__ */ defineComponent({
17156
17172
  __name: "gridBox",
@@ -17200,11 +17216,11 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
17200
17216
  hoveredCol.value = col;
17201
17217
  },
17202
17218
  onClick: ($event) => emit2("select", `${row}x${col}`)
17203
- }, null, 42, _hoisted_2$n);
17219
+ }, null, 42, _hoisted_2$o);
17204
17220
  }), 128))
17205
17221
  ], 32);
17206
17222
  }), 128)),
17207
- createElementVNode("p", _hoisted_3$j, toDisplayString(hoveredRow.value) + "x" + toDisplayString(hoveredCol.value), 1)
17223
+ createElementVNode("p", _hoisted_3$k, toDisplayString(hoveredRow.value) + "x" + toDisplayString(hoveredCol.value), 1)
17208
17224
  ]);
17209
17225
  };
17210
17226
  }
@@ -18838,8 +18854,8 @@ function isNodeEmpty(node) {
18838
18854
  return brElements.length === 1 && node.childNodes.length <= 2;
18839
18855
  }
18840
18856
  const _hoisted_1$w = { class: "bagel-input" };
18841
- const _hoisted_2$m = { class: "content-area radius-05" };
18842
- const _hoisted_3$i = {
18857
+ const _hoisted_2$n = { class: "content-area radius-05" };
18858
+ const _hoisted_3$j = {
18843
18859
  key: 1,
18844
18860
  class: "flex"
18845
18861
  };
@@ -18978,7 +18994,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
18978
18994
  createElementVNode("div", {
18979
18995
  class: normalizeClass(["editor-container", { "split-view": unref(editor).state.isSplitView }])
18980
18996
  }, [
18981
- createElementVNode("div", _hoisted_2$m, [
18997
+ createElementVNode("div", _hoisted_2$n, [
18982
18998
  createElementVNode("iframe", {
18983
18999
  id: "rich-text-iframe",
18984
19000
  ref_key: "iframe",
@@ -19001,7 +19017,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
19001
19017
  height: unref(editor).state.isFullscreen ? "calc(100vh - 4rem)" : "250px"
19002
19018
  }, null, 8, ["modelValue", "height"])) : createCommentVNode("", true)
19003
19019
  ], 2),
19004
- _ctx.debug ? (openBlock(), createElementBlock("div", _hoisted_3$i, [
19020
+ _ctx.debug ? (openBlock(), createElementBlock("div", _hoisted_3$j, [
19005
19021
  _cache[6] || (_cache[6] = createElementVNode("p", { class: "text12 txt-gray mb-0 p-0" }, " Debug ", -1)),
19006
19022
  createVNode(unref(Btn), {
19007
19023
  thin: "",
@@ -19047,8 +19063,8 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
19047
19063
  });
19048
19064
  const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-175a13f1"]]);
19049
19065
  const _hoisted_1$v = { key: 0 };
19050
- const _hoisted_2$l = { class: "flex gap-05" };
19051
- const _hoisted_3$h = ["disabled"];
19066
+ const _hoisted_2$m = { class: "flex gap-05" };
19067
+ const _hoisted_3$i = ["disabled"];
19052
19068
  const _hoisted_4$b = { key: 1 };
19053
19069
  const _hoisted_5$b = {
19054
19070
  key: 2,
@@ -19231,8 +19247,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
19231
19247
  trigger: withCtx(() => [
19232
19248
  createElementVNode("label", null, [
19233
19249
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
19234
- _ctx.required ? (openBlock(), createElementBlock("span", _hoisted_1$v, "*")) : createCommentVNode("", true),
19235
- createElementVNode("div", _hoisted_2$l, [
19250
+ _ctx.required && _ctx.label ? (openBlock(), createElementBlock("span", _hoisted_1$v, "*")) : createCommentVNode("", true),
19251
+ createElementVNode("div", _hoisted_2$m, [
19236
19252
  _ctx.searchable && unref(open) ? (openBlock(), createBlock(unref(TextInput), {
19237
19253
  key: 0,
19238
19254
  ref_key: "searchInput",
@@ -19279,7 +19295,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
19279
19295
  key: 3,
19280
19296
  thin: ""
19281
19297
  }, { icon: unref(open) ? "unfold_less" : "unfold_more" }), null, 16)) : createCommentVNode("", true)
19282
- ], 42, _hoisted_3$h)),
19298
+ ], 42, _hoisted_3$i)),
19283
19299
  _ctx.required ? (openBlock(), createElementBlock("input", {
19284
19300
  key: 2,
19285
19301
  tabindex: "-1",
@@ -19351,7 +19367,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
19351
19367
  };
19352
19368
  }
19353
19369
  });
19354
- const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-c16650b4"]]);
19370
+ const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-cced5e42"]]);
19355
19371
  /*!
19356
19372
  * Signature Pad v5.0.7 | https://github.com/szimek/signature_pad
19357
19373
  * (c) 2025 Szymon Nowak | Released under the MIT license
@@ -19949,7 +19965,7 @@ class SignaturePad extends SignatureEventTarget {
19949
19965
  }
19950
19966
  }
19951
19967
  const _hoisted_1$u = ["disabled"];
19952
- const _hoisted_2$k = {
19968
+ const _hoisted_2$l = {
19953
19969
  key: 1,
19954
19970
  placeholder: "required",
19955
19971
  type: "text",
@@ -20153,7 +20169,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
20153
20169
  class: "canvas",
20154
20170
  disabled: _ctx.disabled
20155
20171
  }, null, 8, _hoisted_1$u),
20156
- _ctx.required && unref(_isEmpty) ? (openBlock(), createElementBlock("input", _hoisted_2$k)) : createCommentVNode("", true)
20172
+ _ctx.required && unref(_isEmpty) ? (openBlock(), createElementBlock("input", _hoisted_2$l)) : createCommentVNode("", true)
20157
20173
  ], 34);
20158
20174
  };
20159
20175
  }
@@ -22638,8 +22654,8 @@ const VueDraggableNext = defineComponent({
22638
22654
  }
22639
22655
  });
22640
22656
  const _hoisted_1$t = ["title"];
22641
- const _hoisted_2$j = { class: "bagel-input" };
22642
- const _hoisted_3$g = { class: "table-side-scroll" };
22657
+ const _hoisted_2$k = { class: "bagel-input" };
22658
+ const _hoisted_3$h = { class: "table-side-scroll" };
22643
22659
  const _hoisted_4$a = { class: "table-header" };
22644
22660
  const _hoisted_5$a = { class: "table-reorder" };
22645
22661
  const _hoisted_6$9 = { class: "table-action" };
@@ -22708,10 +22724,10 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
22708
22724
  class: "table-field-wrap",
22709
22725
  title: _ctx.description
22710
22726
  }, [
22711
- createElementVNode("div", _hoisted_2$j, [
22727
+ createElementVNode("div", _hoisted_2$k, [
22712
22728
  createElementVNode("label", null, toDisplayString((_a = unref(fieldMeta)) == null ? void 0 : _a.label), 1)
22713
22729
  ]),
22714
- createElementVNode("div", _hoisted_3$g, [
22730
+ createElementVNode("div", _hoisted_3$h, [
22715
22731
  createElementVNode("div", _hoisted_4$a, [
22716
22732
  (openBlock(true), createElementBlock(Fragment, null, renderList((_b = unref(entityMeta)) == null ? void 0 : _b.fields, (field) => {
22717
22733
  return openBlock(), createElementBlock("div", {
@@ -27273,8 +27289,8 @@ function parsePhoneNumber() {
27273
27289
  return withMetadataArgument(parsePhoneNumber$1, arguments);
27274
27290
  }
27275
27291
  const _hoisted_1$s = { key: 0 };
27276
- const _hoisted_2$i = ["aria-expanded"];
27277
- const _hoisted_3$f = { class: "flex gap-05 country-code-display" };
27292
+ const _hoisted_2$j = ["aria-expanded"];
27293
+ const _hoisted_3$g = { class: "flex gap-05 country-code-display" };
27278
27294
  const _hoisted_4$9 = { class: "p-075 tel-countryp-dropdown" };
27279
27295
  const _hoisted_5$9 = {
27280
27296
  class: "overflow-y p-0 max-h-300px",
@@ -27470,7 +27486,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
27470
27486
  onShow: focusSearchInput
27471
27487
  }, {
27472
27488
  trigger: withCtx(() => [
27473
- createElementVNode("span", _hoisted_3$f, [
27489
+ createElementVNode("span", _hoisted_3$g, [
27474
27490
  !disableDropdown.value ? (openBlock(), createBlock(unref(_sfc_main$v), {
27475
27491
  key: 0,
27476
27492
  icon: unref(open) ? "collapse_all" : "expand_all"
@@ -27542,7 +27558,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
27542
27558
  { tel: true }
27543
27559
  ]
27544
27560
  ])
27545
- ], 8, _hoisted_2$i)
27561
+ ], 8, _hoisted_2$j)
27546
27562
  ])
27547
27563
  ], 2);
27548
27564
  };
@@ -27550,8 +27566,8 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
27550
27566
  });
27551
27567
  const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-24f599bf"]]);
27552
27568
  const _hoisted_1$r = ["title"];
27553
- const _hoisted_2$h = ["for"];
27554
- const _hoisted_3$e = { key: 0 };
27569
+ const _hoisted_2$i = ["for"];
27570
+ const _hoisted_3$f = { key: 0 };
27555
27571
  const _hoisted_4$8 = ["id", "name", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
27556
27572
  const _hoisted_5$8 = ["id", "name", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
27557
27573
  const _hoisted_6$7 = {
@@ -27650,7 +27666,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
27650
27666
  }, [
27651
27667
  createElementVNode("label", { for: _ctx.id }, [
27652
27668
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
27653
- _ctx.required && _ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$e, "*")) : createCommentVNode("", true),
27669
+ _ctx.required && _ctx.label ? (openBlock(), createElementBlock("span", _hoisted_3$f, "*")) : createCommentVNode("", true),
27654
27670
  !_ctx.multiline && !_ctx.autoheight && !_ctx.code && inputRows.value < 2 ? withDirectives((openBlock(), createElementBlock("input", mergeProps({
27655
27671
  key: 1,
27656
27672
  id: _ctx.id,
@@ -27710,15 +27726,15 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
27710
27726
  key: 5,
27711
27727
  icon: _ctx.icon
27712
27728
  }, null, 8, ["icon"])) : createCommentVNode("", true)
27713
- ], 8, _hoisted_2$h)
27729
+ ], 8, _hoisted_2$i)
27714
27730
  ], 10, _hoisted_1$r);
27715
27731
  };
27716
27732
  }
27717
27733
  });
27718
27734
  const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-84ff4b81"]]);
27719
27735
  const _hoisted_1$q = ["title"];
27720
- const _hoisted_2$g = ["id", "required"];
27721
- const _hoisted_3$d = ["for"];
27736
+ const _hoisted_2$h = ["id", "required"];
27737
+ const _hoisted_3$e = ["for"];
27722
27738
  const _sfc_main$x = /* @__PURE__ */ defineComponent({
27723
27739
  __name: "ToggleInput",
27724
27740
  props: /* @__PURE__ */ mergeModels({
@@ -27755,14 +27771,14 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
27755
27771
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => checked.value = $event),
27756
27772
  type: "checkbox",
27757
27773
  required: _ctx.required
27758
- }, null, 8, _hoisted_2$g), [
27774
+ }, null, 8, _hoisted_2$h), [
27759
27775
  [vModelCheckbox, checked.value]
27760
27776
  ]),
27761
27777
  createElementVNode("label", { for: inputId.value }, [
27762
27778
  renderSlot(_ctx.$slots, "label", {}, () => [
27763
27779
  createTextVNode(toDisplayString(_ctx.label), 1)
27764
27780
  ], true)
27765
- ], 8, _hoisted_3$d)
27781
+ ], 8, _hoisted_3$e)
27766
27782
  ], 10, _hoisted_1$q);
27767
27783
  };
27768
27784
  }
@@ -27899,8 +27915,8 @@ function useFileUpload(props2 = {}) {
27899
27915
  };
27900
27916
  }
27901
27917
  const _hoisted_1$p = { class: "bagel-input" };
27902
- const _hoisted_2$f = { key: 0 };
27903
- const _hoisted_3$c = {
27918
+ const _hoisted_2$g = { key: 0 };
27919
+ const _hoisted_3$d = {
27904
27920
  key: 1,
27905
27921
  placeholder: "required",
27906
27922
  type: "text",
@@ -28012,8 +28028,8 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
28012
28028
  const _directive_tooltip = resolveDirective("tooltip");
28013
28029
  const _directive_lightbox = resolveDirective("lightbox");
28014
28030
  return openBlock(), createElementBlock("div", _hoisted_1$p, [
28015
- _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$f, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
28016
- _ctx.required && !unref(pathKeys).length ? (openBlock(), createElementBlock("input", _hoisted_3$c)) : createCommentVNode("", true),
28031
+ _ctx.label ? (openBlock(), createElementBlock("label", _hoisted_2$g, toDisplayString(_ctx.label), 1)) : createCommentVNode("", true),
28032
+ _ctx.required && !unref(pathKeys).length ? (openBlock(), createElementBlock("input", _hoisted_3$d)) : createCommentVNode("", true),
28017
28033
  _ctx.theme === "basic" ? (openBlock(), createBlock(unref(_sfc_main$15), {
28018
28034
  key: 2,
28019
28035
  outline: "",
@@ -32782,8 +32798,8 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
32782
32798
  }
32783
32799
  });
32784
32800
  const _hoisted_1$n = { key: 0 };
32785
- const _hoisted_2$e = ["src", "alt", "width", "height"];
32786
- const _hoisted_3$b = ["src", "alt", "width", "height"];
32801
+ const _hoisted_2$f = ["src", "alt", "width", "height"];
32802
+ const _hoisted_3$c = ["src", "alt", "width", "height"];
32787
32803
  const _sfc_main$t = /* @__PURE__ */ defineComponent({
32788
32804
  __name: "Image",
32789
32805
  props: {
@@ -32868,7 +32884,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
32868
32884
  alt: _ctx.alt,
32869
32885
  width: unref(normalizeDimension)(_ctx.width),
32870
32886
  height: unref(normalizeDimension)(_ctx.height)
32871
- }), null, 16, _hoisted_2$e)) : (openBlock(), createBlock(unref(Skeleton), {
32887
+ }), null, 16, _hoisted_2$f)) : (openBlock(), createBlock(unref(Skeleton), {
32872
32888
  key: 1,
32873
32889
  class: "img-web-kit",
32874
32890
  width: unref(normalizeDimension)(_ctx.width),
@@ -32881,7 +32897,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
32881
32897
  alt: _ctx.alt,
32882
32898
  width: unref(normalizeDimension)(_ctx.width),
32883
32899
  height: unref(normalizeDimension)(_ctx.height)
32884
- }), null, 16, _hoisted_3$b)) : unref(loadingError) ? (openBlock(), createElementBlock("div", {
32900
+ }), null, 16, _hoisted_3$c)) : unref(loadingError) ? (openBlock(), createElementBlock("div", {
32885
32901
  key: 2,
32886
32902
  class: "flex-center error-image",
32887
32903
  style: normalizeStyle({
@@ -32901,11 +32917,11 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
32901
32917
  });
32902
32918
  const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-2f5e271c"]]);
32903
32919
  const _hoisted_1$m = ["textContent"];
32904
- const _hoisted_2$d = {
32920
+ const _hoisted_2$e = {
32905
32921
  key: 0,
32906
32922
  class: "h-100p flex column justify-content-center"
32907
32923
  };
32908
- const _hoisted_3$a = {
32924
+ const _hoisted_3$b = {
32909
32925
  key: 1,
32910
32926
  class: "loading-container"
32911
32927
  };
@@ -33073,7 +33089,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
33073
33089
  const lowerSourceValue = String(sourceValue).toLowerCase().trim();
33074
33090
  const exactMatch = options.find((option2) => {
33075
33091
  const optionObj = typeof option2 === "object" && option2 !== null ? option2 : { label: String(option2) };
33076
- if (!optionObj || typeof optionObj.label !== "string") return false;
33092
+ if (!optionObj) return false;
33077
33093
  const optionLabel = `${optionObj.label}`.toLowerCase().trim();
33078
33094
  return optionLabel === lowerSourceValue;
33079
33095
  });
@@ -33270,14 +33286,18 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
33270
33286
  });
33271
33287
  if (fileHeaders.value.length > 0) {
33272
33288
  schemaFields.value.forEach((field) => {
33289
+ const fieldIdCamel = formatString(field.id, "camel");
33290
+ const fieldIdPascal = formatString(field.id, "pascal");
33291
+ const fieldLabelCamel = formatString(field.label.replace(/\s+/g, "_"), "camel");
33292
+ const fieldLabelPascal = formatString(field.label.replace(/\s+/g, "_"), "pascal");
33273
33293
  const exactMatch = fileHeaders.value.find(
33274
- (header) => header.toLowerCase() === field.id.toLowerCase() || header.toLowerCase() === field.label.toLowerCase()
33294
+ (header) => header.toLowerCase() === field.id.toLowerCase() || header.toLowerCase() === field.label.toLowerCase() || header.toLowerCase() === fieldIdCamel.toLowerCase() || header.toLowerCase() === fieldIdPascal.toLowerCase() || header.toLowerCase() === fieldLabelCamel.toLowerCase() || header.toLowerCase() === fieldLabelPascal.toLowerCase() || formatString(header.replace(/\s+/g, "_"), "camel").toLowerCase() === fieldIdCamel.toLowerCase() || formatString(header.replace(/\s+/g, "_"), "camel").toLowerCase() === fieldLabelCamel.toLowerCase()
33275
33295
  );
33276
33296
  if (exactMatch && !field.disabled) {
33277
33297
  fieldMapping[field.id] = exactMatch;
33278
33298
  } else {
33279
33299
  const partialMatch = fileHeaders.value.find(
33280
- (header) => header.toLowerCase().includes(field.id.toLowerCase()) || header.toLowerCase().includes(field.label.toLowerCase())
33300
+ (header) => header.toLowerCase().includes(field.id.toLowerCase()) || header.toLowerCase().includes(field.label.toLowerCase()) || header.toLowerCase().includes(fieldIdCamel.toLowerCase()) || header.toLowerCase().includes(fieldLabelCamel.toLowerCase()) || field.id.toLowerCase().includes(header.toLowerCase()) || field.label.toLowerCase().includes(header.toLowerCase())
33281
33301
  );
33282
33302
  if (partialMatch && !field.disabled) {
33283
33303
  fieldMapping[field.id] = partialMatch;
@@ -33518,9 +33538,8 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
33518
33538
  updateFieldMapping(fieldId, target.value);
33519
33539
  }
33520
33540
  }
33521
- const { addFile, browse, fileQueue } = useFileUpload();
33522
- async function handleFilesUploaded() {
33523
- file.value = fileQueue.value[0].file;
33541
+ async function handleFilesUploaded(files2) {
33542
+ file.value = files2[0];
33524
33543
  if (!file.value) return;
33525
33544
  isLoading.value = true;
33526
33545
  try {
@@ -33531,7 +33550,6 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
33531
33550
  isLoading.value = false;
33532
33551
  }
33533
33552
  }
33534
- watch(fileQueue.value, handleFilesUploaded);
33535
33553
  watchEffect(() => {
33536
33554
  if (selectedSheet.value) {
33537
33555
  loadSheetData();
@@ -33567,11 +33585,14 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
33567
33585
  selectedRelationField.value = field;
33568
33586
  showRelatedDialog.value = true;
33569
33587
  }
33570
- async function processRelatedFile(fieldId, file2) {
33571
- if (!file2) return;
33588
+ async function processRelatedFile(fieldId, files2) {
33589
+ if (!files2) return;
33590
+ const file2 = files2[0];
33572
33591
  relatedFiles[fieldId] = file2;
33573
33592
  try {
33574
- const { data: data2 } = await readSheetData(file2, "", true);
33593
+ const sheets = await getSheetNames(file2);
33594
+ const selectedSheet2 = sheets.length > 0 ? sheets[0] : "";
33595
+ const { headers, data: data2 } = await readSheetData(file2, selectedSheet2, true);
33575
33596
  relatedFileData[fieldId] = data2;
33576
33597
  if (!relatedFileMappings[fieldId]) {
33577
33598
  relatedFileMappings[fieldId] = {};
@@ -33986,12 +34007,12 @@ ${unmatchedValues.length} values could not be automatically matched.`);
33986
34007
  class: "line-height-1 m-0 pb-2 txt-center",
33987
34008
  textContent: toDisplayString(props2.title || "Upload and Map Data")
33988
34009
  }, null, 8, _hoisted_1$m),
33989
- !file.value ? (openBlock(), createElementBlock("div", _hoisted_2$d, [
34010
+ !file.value ? (openBlock(), createElementBlock("div", _hoisted_2$e, [
33990
34011
  createVNode(unref(DragOver), {
33991
34012
  accept: ".csv,.xls,.xlsx",
33992
34013
  class: "max-h300px w-500px",
33993
- onAddFiles: unref(addFile),
33994
- onClick: _cache[0] || (_cache[0] = ($event) => unref(browse)(false))
34014
+ browse: "",
34015
+ onAddFiles: handleFilesUploaded
33995
34016
  }, {
33996
34017
  default: withCtx(() => [
33997
34018
  createVNode(unref(_sfc_main$15), { class: "flex flex-column items-center justify-center outline-dashed outline-3 bg-input hover h-100p justify-content-center txt-center" }, {
@@ -34000,17 +34021,17 @@ ${unmatchedValues.length} values could not be automatically matched.`);
34000
34021
  name: "upload",
34001
34022
  size: "5"
34002
34023
  }),
34003
- _cache[30] || (_cache[30] = createElementVNode("p", null, "Drag and drop an Excel or CSV file here", -1)),
34004
- _cache[31] || (_cache[31] = createElementVNode("u", null, "or click to select a file", -1)),
34005
- _cache[32] || (_cache[32] = createElementVNode("p", { class: "txt-12 color-gray" }, " Accepts .xlsx, .xls, and .csv files ", -1))
34024
+ _cache[29] || (_cache[29] = createElementVNode("p", null, "Drag and drop an Excel or CSV file here", -1)),
34025
+ _cache[30] || (_cache[30] = createElementVNode("u", null, "or click to select a file", -1)),
34026
+ _cache[31] || (_cache[31] = createElementVNode("p", { class: "txt-12 color-gray" }, " Accepts .xlsx, .xls, and .csv files ", -1))
34006
34027
  ]),
34007
34028
  _: 1
34008
34029
  })
34009
34030
  ]),
34010
34031
  _: 1
34011
- }, 8, ["onAddFiles"])
34032
+ })
34012
34033
  ])) : createCommentVNode("", true),
34013
- isLoading.value ? (openBlock(), createElementBlock("div", _hoisted_3$a, _cache[33] || (_cache[33] = [
34034
+ isLoading.value ? (openBlock(), createElementBlock("div", _hoisted_3$b, _cache[32] || (_cache[32] = [
34014
34035
  createElementVNode("div", { class: "spinner" }, null, -1),
34015
34036
  createElementVNode("p", null, "Processing your file...", -1)
34016
34037
  ]))) : createCommentVNode("", true),
@@ -34019,7 +34040,7 @@ ${unmatchedValues.length} values could not be automatically matched.`);
34019
34040
  withDirectives((openBlock(), createBlock(unref(Btn), {
34020
34041
  class: "px-1",
34021
34042
  color: "gray",
34022
- onClick: _cache[1] || (_cache[1] = ($event) => file.value = null)
34043
+ onClick: _cache[0] || (_cache[0] = ($event) => file.value = null)
34023
34044
  }, {
34024
34045
  default: withCtx(() => [
34025
34046
  createVNode(unref(_sfc_main$v), {
@@ -34036,22 +34057,22 @@ ${unmatchedValues.length} values could not be automatically matched.`);
34036
34057
  sheetNames.value.length > 1 ? (openBlock(), createBlock(unref(SelectInput), {
34037
34058
  key: 0,
34038
34059
  modelValue: selectedSheet.value,
34039
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => selectedSheet.value = $event),
34060
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => selectedSheet.value = $event),
34040
34061
  options: sheetNames.value,
34041
34062
  label: "Select Sheet"
34042
34063
  }, null, 8, ["modelValue", "options"])) : createCommentVNode("", true),
34043
34064
  createVNode(unref(CheckInput), {
34044
34065
  modelValue: hasHeaders.value,
34045
- "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => hasHeaders.value = $event),
34066
+ "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => hasHeaders.value = $event),
34046
34067
  label: "Mark this if file has a header row",
34047
34068
  class: "m-0",
34048
34069
  style: { "--bgl-accent-color": "var(--bgl-black)", "--bgl-primary": "var(--bgl-black)" }
34049
34070
  }, null, 8, ["modelValue"])
34050
34071
  ])) : createCommentVNode("", true),
34051
34072
  file.value && !isLoading.value && fileHeaders.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_6$5, [
34052
- _cache[37] || (_cache[37] = createElementVNode("p", { class: "label pb-1 border-bottom mb-1" }, " Match each required field to a column from your file, set default values, or configure transformations ", -1)),
34073
+ _cache[36] || (_cache[36] = createElementVNode("p", { class: "label pb-1 border-bottom mb-1" }, " Match each required field to a column from your file, set default values, or configure transformations ", -1)),
34053
34074
  createElementVNode("div", _hoisted_7$4, [
34054
- _cache[34] || (_cache[34] = createElementVNode("div", { class: "grid grid-wrap-5 gap-1 bold pb-1 m_none" }, [
34075
+ _cache[33] || (_cache[33] = createElementVNode("div", { class: "grid grid-wrap-5 gap-1 bold pb-1 m_none" }, [
34055
34076
  createElementVNode("p", null, "Schema Field"),
34056
34077
  createElementVNode("p", null, "Column from File"),
34057
34078
  createElementVNode("p", null, "Default Value"),
@@ -34086,6 +34107,7 @@ ${unmatchedValues.length} values could not be automatically matched.`);
34086
34107
  "onUpdate:modelValue": ($event) => fieldMapping[field.id] = $event,
34087
34108
  icon: "table_chart",
34088
34109
  options: fileHeaders.value,
34110
+ searchable: "",
34089
34111
  required: isFieldRequired(field),
34090
34112
  disabled: field.disabled,
34091
34113
  onChange: ($event) => handleSelectChange($event, field.id)
@@ -34131,19 +34153,19 @@ ${unmatchedValues.length} values could not be automatically matched.`);
34131
34153
  ]),
34132
34154
  mappingComplete.value ? (openBlock(), createElementBlock("div", _hoisted_18, [
34133
34155
  createVNode(unref(Btn), { onClick: showPreview }, {
34134
- default: withCtx(() => _cache[35] || (_cache[35] = [
34156
+ default: withCtx(() => _cache[34] || (_cache[34] = [
34135
34157
  createTextVNode(" Preview Data ")
34136
34158
  ])),
34137
34159
  _: 1
34138
34160
  })
34139
- ])) : (openBlock(), createElementBlock("div", _hoisted_19, _cache[36] || (_cache[36] = [
34161
+ ])) : (openBlock(), createElementBlock("div", _hoisted_19, _cache[35] || (_cache[35] = [
34140
34162
  createElementVNode("div", { class: "mapping-incomplete-message" }, " Please map the required fields to continue ", -1)
34141
34163
  ])))
34142
34164
  ])) : createCommentVNode("", true)
34143
34165
  ]),
34144
34166
  createVNode(unref(_sfc_main$f), {
34145
34167
  visible: showTransformDialog.value,
34146
- "onUpdate:visible": _cache[11] || (_cache[11] = ($event) => showTransformDialog.value = $event),
34168
+ "onUpdate:visible": _cache[10] || (_cache[10] = ($event) => showTransformDialog.value = $event),
34147
34169
  title: "Configure Transformations",
34148
34170
  width: "800"
34149
34171
  }, {
@@ -34151,18 +34173,18 @@ ${unmatchedValues.length} values could not be automatically matched.`);
34151
34173
  selectedTransformField.value ? (openBlock(), createElementBlock("div", _hoisted_20, [
34152
34174
  createElementVNode("div", _hoisted_21, [
34153
34175
  createElementVNode("p", null, [
34154
- _cache[38] || (_cache[38] = createTextVNode("Create transformations for ")),
34176
+ _cache[37] || (_cache[37] = createTextVNode("Create transformations for ")),
34155
34177
  createElementVNode("strong", null, toDisplayString(selectedTransformField.value.label), 1)
34156
34178
  ]),
34157
34179
  createVNode(unref(Btn), {
34158
34180
  icon: "auto_awesome",
34159
34181
  thin: "",
34160
34182
  value: "Autodetect",
34161
- onClick: _cache[4] || (_cache[4] = ($event) => autoPopulateTransformations(selectedTransformField.value.id))
34183
+ onClick: _cache[3] || (_cache[3] = ($event) => autoPopulateTransformations(selectedTransformField.value.id))
34162
34184
  })
34163
34185
  ]),
34164
34186
  createElementVNode("div", null, [
34165
- _cache[39] || (_cache[39] = createElementVNode("div", { class: "grid grid-wrap-7 gap-1 bold pb-05 m_none" }, [
34187
+ _cache[38] || (_cache[38] = createElementVNode("div", { class: "grid grid-wrap-7 gap-1 bold pb-05 m_none" }, [
34166
34188
  createElementVNode("p", { class: "grid-span-2" }, " Source Value "),
34167
34189
  createElementVNode("p", { class: "grid-span-4" }, " Target Value "),
34168
34190
  createElementVNode("p", null, "Action")
@@ -34191,14 +34213,14 @@ ${unmatchedValues.length} values could not be automatically matched.`);
34191
34213
  fieldMapping[selectedTransformField.value.id] ? (openBlock(), createBlock(unref(SelectInput), {
34192
34214
  key: 0,
34193
34215
  modelValue: selectedSourceValue.value,
34194
- "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => selectedSourceValue.value = $event),
34216
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => selectedSourceValue.value = $event),
34195
34217
  searchable: "",
34196
34218
  options: sourceValueOptions.value,
34197
34219
  placeholder: "Select source value"
34198
34220
  }, null, 8, ["modelValue", "options"])) : (openBlock(), createBlock(TextInput, {
34199
34221
  key: 1,
34200
34222
  modelValue: selectedSourceValue.value,
34201
- "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => selectedSourceValue.value = $event),
34223
+ "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => selectedSourceValue.value = $event),
34202
34224
  type: "text",
34203
34225
  placeholder: "Source value"
34204
34226
  }, null, 8, ["modelValue"]))
@@ -34207,14 +34229,14 @@ ${unmatchedValues.length} values could not be automatically matched.`);
34207
34229
  selectedTransformField.value.options && selectedTransformField.value.options.length > 0 ? (openBlock(), createBlock(unref(SelectInput), {
34208
34230
  key: 0,
34209
34231
  modelValue: selectedTargetValue.value,
34210
- "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => selectedTargetValue.value = $event),
34232
+ "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => selectedTargetValue.value = $event),
34211
34233
  searchable: "",
34212
34234
  options: selectedTransformField.value.options,
34213
34235
  placeholder: "Select target value"
34214
34236
  }, null, 8, ["modelValue", "options"])) : (openBlock(), createBlock(TextInput, {
34215
34237
  key: 1,
34216
34238
  modelValue: selectedTargetValue.value,
34217
- "onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => selectedTargetValue.value = $event),
34239
+ "onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => selectedTargetValue.value = $event),
34218
34240
  type: "text",
34219
34241
  placeholder: "Target value"
34220
34242
  }, null, 8, ["modelValue"]))
@@ -34224,7 +34246,7 @@ ${unmatchedValues.length} values could not be automatically matched.`);
34224
34246
  thin: "",
34225
34247
  icon: "add",
34226
34248
  color: "primary",
34227
- onClick: _cache[9] || (_cache[9] = ($event) => addTransformation(selectedTransformField.value.id))
34249
+ onClick: _cache[8] || (_cache[8] = ($event) => addTransformation(selectedTransformField.value.id))
34228
34250
  }, null, 512), [
34229
34251
  [_directive_tooltip, "Add"]
34230
34252
  ])
@@ -34235,7 +34257,7 @@ ${unmatchedValues.length} values could not be automatically matched.`);
34235
34257
  createVNode(unref(Btn), {
34236
34258
  class: "ms-auto",
34237
34259
  value: "Close",
34238
- onClick: _cache[10] || (_cache[10] = ($event) => showTransformDialog.value = false)
34260
+ onClick: _cache[9] || (_cache[9] = ($event) => showTransformDialog.value = false)
34239
34261
  })
34240
34262
  ])
34241
34263
  ])) : createCommentVNode("", true)
@@ -34244,7 +34266,7 @@ ${unmatchedValues.length} values could not be automatically matched.`);
34244
34266
  }, 8, ["visible"]),
34245
34267
  createVNode(unref(_sfc_main$f), {
34246
34268
  visible: showRelatedDialog.value,
34247
- "onUpdate:visible": _cache[17] || (_cache[17] = ($event) => showRelatedDialog.value = $event),
34269
+ "onUpdate:visible": _cache[16] || (_cache[16] = ($event) => showRelatedDialog.value = $event),
34248
34270
  title: "Configure Related Data",
34249
34271
  width: "900"
34250
34272
  }, {
@@ -34256,9 +34278,8 @@ ${unmatchedValues.length} values could not be automatically matched.`);
34256
34278
  !relatedFiles[selectedRelationField.value.id] ? (openBlock(), createElementBlock("div", _hoisted_30, [
34257
34279
  createVNode(unref(DragOver), {
34258
34280
  accept: ".csv,.xls,.xlsx",
34259
- onAddFiles: _cache[12] || (_cache[12] = (files2) => {
34260
- if (files2[0]) processRelatedFile(selectedRelationField.value.id, files2[0]);
34261
- })
34281
+ browse: "",
34282
+ onAddFiles: _cache[11] || (_cache[11] = (files2) => processRelatedFile(selectedRelationField.value.id, files2))
34262
34283
  }, {
34263
34284
  default: withCtx(() => [
34264
34285
  createVNode(unref(_sfc_main$15), { class: "flex flex-column items-center justify-center outline-dashed outline-3 hover bg-input" }, {
@@ -34267,9 +34288,9 @@ ${unmatchedValues.length} values could not be automatically matched.`);
34267
34288
  name: "upload",
34268
34289
  size: "5"
34269
34290
  }),
34270
- _cache[40] || (_cache[40] = createElementVNode("p", null, "Drag and drop an Excel or CSV file here", -1)),
34271
- _cache[41] || (_cache[41] = createElementVNode("p", null, "or click to select a file", -1)),
34272
- _cache[42] || (_cache[42] = createElementVNode("p", { class: "txt-12 color-gray" }, " Accepts .xlsx, .xls, and .csv files ", -1))
34291
+ _cache[39] || (_cache[39] = createElementVNode("p", null, "Drag and drop an Excel or CSV file here", -1)),
34292
+ _cache[40] || (_cache[40] = createElementVNode("p", null, "or click to select a file", -1)),
34293
+ _cache[41] || (_cache[41] = createElementVNode("p", { class: "txt-12 color-gray" }, " Accepts .xlsx, .xls, and .csv files ", -1))
34273
34294
  ]),
34274
34295
  _: 1
34275
34296
  })
@@ -34288,28 +34309,28 @@ ${unmatchedValues.length} values could not be automatically matched.`);
34288
34309
  thin: "",
34289
34310
  round: "",
34290
34311
  value: "Change File",
34291
- onClick: _cache[13] || (_cache[13] = ($event) => relatedFiles[selectedRelationField.value.id] = null)
34312
+ onClick: _cache[12] || (_cache[12] = ($event) => relatedFiles[selectedRelationField.value.id] = null)
34292
34313
  })
34293
34314
  ]),
34294
34315
  relatedFileData[selectedRelationField.value.id] ? (openBlock(), createElementBlock("div", _hoisted_33, [
34295
- _cache[45] || (_cache[45] = createElementVNode("h4", null, "Configure Relationship", -1)),
34316
+ _cache[44] || (_cache[44] = createElementVNode("h4", null, "Configure Relationship", -1)),
34296
34317
  createElementVNode("div", _hoisted_34, [
34297
34318
  createVNode(unref(SelectInput), {
34298
34319
  modelValue: parentKeyField[selectedRelationField.value.id],
34299
- "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => parentKeyField[selectedRelationField.value.id] = $event),
34320
+ "onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => parentKeyField[selectedRelationField.value.id] = $event),
34300
34321
  options: fileHeaders.value,
34301
34322
  label: "Source Key Field (from this file)"
34302
34323
  }, null, 8, ["modelValue", "options"]),
34303
34324
  createVNode(unref(SelectInput), {
34304
34325
  modelValue: relatedKeyField[selectedRelationField.value.id],
34305
- "onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => relatedKeyField[selectedRelationField.value.id] = $event),
34326
+ "onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => relatedKeyField[selectedRelationField.value.id] = $event),
34306
34327
  options: Object.keys(relatedFileData[selectedRelationField.value.id][0] || {}),
34307
34328
  label: "Related Key Field (from related file)"
34308
34329
  }, null, 8, ["modelValue", "options"])
34309
34330
  ]),
34310
- _cache[46] || (_cache[46] = createElementVNode("h4", null, "Map Related Fields", -1)),
34331
+ _cache[45] || (_cache[45] = createElementVNode("h4", null, "Map Related Fields", -1)),
34311
34332
  createElementVNode("table", null, [
34312
- _cache[44] || (_cache[44] = createElementVNode("thead", null, [
34333
+ _cache[43] || (_cache[43] = createElementVNode("thead", null, [
34313
34334
  createElementVNode("tr", null, [
34314
34335
  createElementVNode("th", null, "Child Field"),
34315
34336
  createElementVNode("th", null, "Related File Column"),
@@ -34354,7 +34375,7 @@ ${unmatchedValues.length} values could not be automatically matched.`);
34354
34375
  icon: "transform",
34355
34376
  onClick: ($event) => openRelatedTransformDialog(selectedRelationField.value.id, schemaItem)
34356
34377
  }, {
34357
- default: withCtx(() => _cache[43] || (_cache[43] = [
34378
+ default: withCtx(() => _cache[42] || (_cache[42] = [
34358
34379
  createTextVNode(" Transform ")
34359
34380
  ])),
34360
34381
  _: 2
@@ -34371,7 +34392,7 @@ ${unmatchedValues.length} values could not be automatically matched.`);
34371
34392
  createVNode(unref(Btn), {
34372
34393
  class: "ms-auto",
34373
34394
  value: "Close",
34374
- onClick: _cache[16] || (_cache[16] = ($event) => showRelatedDialog.value = false)
34395
+ onClick: _cache[15] || (_cache[15] = ($event) => showRelatedDialog.value = false)
34375
34396
  })
34376
34397
  ])
34377
34398
  ])) : createCommentVNode("", true)
@@ -34381,7 +34402,7 @@ ${unmatchedValues.length} values could not be automatically matched.`);
34381
34402
  }, 8, ["visible"]),
34382
34403
  createVNode(unref(_sfc_main$f), {
34383
34404
  visible: showPreviewModal.value,
34384
- "onUpdate:visible": _cache[21] || (_cache[21] = ($event) => showPreviewModal.value = $event),
34405
+ "onUpdate:visible": _cache[20] || (_cache[20] = ($event) => showPreviewModal.value = $event),
34385
34406
  title: "Data Preview & Edit",
34386
34407
  width: "90vw"
34387
34408
  }, {
@@ -34389,7 +34410,7 @@ ${unmatchedValues.length} values could not be automatically matched.`);
34389
34410
  createElementVNode("div", null, [
34390
34411
  createVNode(unref(_sfc_main$5), {
34391
34412
  modelValue: previewData.value,
34392
- "onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => previewData.value = $event),
34413
+ "onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => previewData.value = $event),
34393
34414
  class: "popupPreviewSpreadsheet",
34394
34415
  "column-config": spreadsheetColumns.value,
34395
34416
  "allow-add-row": ""
@@ -34402,11 +34423,11 @@ ${unmatchedValues.length} values could not be automatically matched.`);
34402
34423
  flat: "",
34403
34424
  thin: "",
34404
34425
  value: "Cancel",
34405
- onClick: _cache[19] || (_cache[19] = ($event) => showPreviewModal.value = false)
34426
+ onClick: _cache[18] || (_cache[18] = ($event) => showPreviewModal.value = false)
34406
34427
  }),
34407
34428
  createVNode(unref(Btn), {
34408
34429
  value: "Import Data",
34409
- onClick: _cache[20] || (_cache[20] = ($event) => processData())
34430
+ onClick: _cache[19] || (_cache[19] = ($event) => processData())
34410
34431
  })
34411
34432
  ])
34412
34433
  ])
@@ -34415,7 +34436,7 @@ ${unmatchedValues.length} values could not be automatically matched.`);
34415
34436
  }, 8, ["visible"]),
34416
34437
  createVNode(unref(_sfc_main$f), {
34417
34438
  visible: showRelatedTransformDialog.value,
34418
- "onUpdate:visible": _cache[29] || (_cache[29] = ($event) => showRelatedTransformDialog.value = $event),
34439
+ "onUpdate:visible": _cache[28] || (_cache[28] = ($event) => showRelatedTransformDialog.value = $event),
34419
34440
  title: "Configure Related Transformations",
34420
34441
  width: "800"
34421
34442
  }, {
@@ -34424,7 +34445,7 @@ ${unmatchedValues.length} values could not be automatically matched.`);
34424
34445
  return [
34425
34446
  selectedRelatedTransformField.value ? (openBlock(), createElementBlock("div", _hoisted_40, [
34426
34447
  createElementVNode("p", null, [
34427
- _cache[47] || (_cache[47] = createTextVNode("Create transformations for ")),
34448
+ _cache[46] || (_cache[46] = createTextVNode("Create transformations for ")),
34428
34449
  createElementVNode("strong", null, toDisplayString(selectedRelatedTransformField.value.field.label), 1),
34429
34450
  createTextVNode(" in " + toDisplayString((_a = selectedRelationField.value) == null ? void 0 : _a.label), 1)
34430
34451
  ]),
@@ -34435,7 +34456,7 @@ ${unmatchedValues.length} values could not be automatically matched.`);
34435
34456
  icon: "auto_awesome",
34436
34457
  value: "Autolink",
34437
34458
  color: "primary",
34438
- onClick: _cache[22] || (_cache[22] = ($event) => autoPopulateRelatedTransformations(
34459
+ onClick: _cache[21] || (_cache[21] = ($event) => autoPopulateRelatedTransformations(
34439
34460
  selectedRelatedTransformField.value.parentId,
34440
34461
  selectedRelatedTransformField.value.field.id
34441
34462
  ))
@@ -34444,7 +34465,7 @@ ${unmatchedValues.length} values could not be automatically matched.`);
34444
34465
  ]),
34445
34466
  createElementVNode("div", null, [
34446
34467
  createElementVNode("table", null, [
34447
- _cache[48] || (_cache[48] = createElementVNode("thead", null, [
34468
+ _cache[47] || (_cache[47] = createElementVNode("thead", null, [
34448
34469
  createElementVNode("tr", null, [
34449
34470
  createElementVNode("th", null, "Source Value"),
34450
34471
  createElementVNode("th", null, "Target Value"),
@@ -34477,13 +34498,13 @@ ${unmatchedValues.length} values could not be automatically matched.`);
34477
34498
  ((_c = relatedFileMappings[selectedRelatedTransformField.value.parentId]) == null ? void 0 : _c[selectedRelatedTransformField.value.field.id]) ? (openBlock(), createBlock(unref(SelectInput), {
34478
34499
  key: 0,
34479
34500
  modelValue: selectedRelatedSourceValue.value,
34480
- "onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) => selectedRelatedSourceValue.value = $event),
34501
+ "onUpdate:modelValue": _cache[22] || (_cache[22] = ($event) => selectedRelatedSourceValue.value = $event),
34481
34502
  searchable: "",
34482
34503
  options: relatedSourceValueOptions.value,
34483
34504
  placeholder: "Select source value"
34484
34505
  }, null, 8, ["modelValue", "options"])) : withDirectives((openBlock(), createElementBlock("input", {
34485
34506
  key: 1,
34486
- "onUpdate:modelValue": _cache[24] || (_cache[24] = ($event) => selectedRelatedSourceValue.value = $event),
34507
+ "onUpdate:modelValue": _cache[23] || (_cache[23] = ($event) => selectedRelatedSourceValue.value = $event),
34487
34508
  type: "text",
34488
34509
  placeholder: "Source value"
34489
34510
  }, null, 512)), [
@@ -34494,13 +34515,13 @@ ${unmatchedValues.length} values could not be automatically matched.`);
34494
34515
  selectedRelatedTransformField.value.field.options && selectedRelatedTransformField.value.field.options.length > 0 ? (openBlock(), createBlock(unref(SelectInput), {
34495
34516
  key: 0,
34496
34517
  modelValue: selectedRelatedTargetValue.value,
34497
- "onUpdate:modelValue": _cache[25] || (_cache[25] = ($event) => selectedRelatedTargetValue.value = $event),
34518
+ "onUpdate:modelValue": _cache[24] || (_cache[24] = ($event) => selectedRelatedTargetValue.value = $event),
34498
34519
  searchable: "",
34499
34520
  options: selectedRelatedTransformField.value.field.options,
34500
34521
  placeholder: "Select target value"
34501
34522
  }, null, 8, ["modelValue", "options"])) : withDirectives((openBlock(), createElementBlock("input", {
34502
34523
  key: 1,
34503
- "onUpdate:modelValue": _cache[26] || (_cache[26] = ($event) => selectedRelatedTargetValue.value = $event),
34524
+ "onUpdate:modelValue": _cache[25] || (_cache[25] = ($event) => selectedRelatedTargetValue.value = $event),
34504
34525
  type: "text",
34505
34526
  placeholder: "Target value"
34506
34527
  }, null, 512)), [
@@ -34512,7 +34533,7 @@ ${unmatchedValues.length} values could not be automatically matched.`);
34512
34533
  thin: "",
34513
34534
  icon: "add",
34514
34535
  color: "primary",
34515
- onClick: _cache[27] || (_cache[27] = ($event) => addRelatedTransformation(
34536
+ onClick: _cache[26] || (_cache[26] = ($event) => addRelatedTransformation(
34516
34537
  selectedRelatedTransformField.value.parentId,
34517
34538
  selectedRelatedTransformField.value.field.id
34518
34539
  ))
@@ -34526,9 +34547,9 @@ ${unmatchedValues.length} values could not be automatically matched.`);
34526
34547
  ]),
34527
34548
  createElementVNode("div", null, [
34528
34549
  createVNode(unref(Btn), {
34529
- onClick: _cache[28] || (_cache[28] = ($event) => showRelatedTransformDialog.value = false)
34550
+ onClick: _cache[27] || (_cache[27] = ($event) => showRelatedTransformDialog.value = false)
34530
34551
  }, {
34531
- default: withCtx(() => _cache[49] || (_cache[49] = [
34552
+ default: withCtx(() => _cache[48] || (_cache[48] = [
34532
34553
  createTextVNode(" Close ")
34533
34554
  ])),
34534
34555
  _: 1
@@ -34739,8 +34760,8 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
34739
34760
  });
34740
34761
  const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-8788ed73"]]);
34741
34762
  const _hoisted_1$j = { class: "bgl_card tabs-top" };
34742
- const _hoisted_2$c = { class: "tabs grid auto-flow-columns fit-content" };
34743
- const _hoisted_3$9 = ["onClick"];
34763
+ const _hoisted_2$d = { class: "tabs grid auto-flow-columns fit-content" };
34764
+ const _hoisted_3$a = ["onClick"];
34744
34765
  const _sfc_main$n = /* @__PURE__ */ defineComponent({
34745
34766
  __name: "TabbedLayout",
34746
34767
  props: {
@@ -34776,7 +34797,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
34776
34797
  }, [
34777
34798
  createElementVNode("div", _hoisted_1$j, [
34778
34799
  renderSlot(_ctx.$slots, "top-section", {}, void 0, true),
34779
- createElementVNode("div", _hoisted_2$c, [
34800
+ createElementVNode("div", _hoisted_2$d, [
34780
34801
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.tabs, (tab) => {
34781
34802
  var _a;
34782
34803
  return openBlock(), createElementBlock("div", {
@@ -34785,7 +34806,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
34785
34806
  active: tab === unref(activeTab) || tab === ((_a = _ctx.router) == null ? void 0 : _a.currentRoute.value.path.split("/").slice(-1)[0])
34786
34807
  }, "tab"]),
34787
34808
  onClick: ($event) => changeTab(tab)
34788
- }, toDisplayString(tab), 11, _hoisted_3$9);
34809
+ }, toDisplayString(tab), 11, _hoisted_3$a);
34789
34810
  }), 128))
34790
34811
  ])
34791
34812
  ]),
@@ -34980,11 +35001,11 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
34980
35001
  });
34981
35002
  const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__scopeId", "data-v-6ece2018"]]);
34982
35003
  const _hoisted_1$g = { class: "txt-start" };
34983
- const _hoisted_2$b = {
35004
+ const _hoisted_2$c = {
34984
35005
  key: 0,
34985
35006
  class: "txt10 m-0 p-0 txt-gray ellipsis"
34986
35007
  };
34987
- const _hoisted_3$8 = { class: "m-0 p-0 ellipsis-1 line-height-14 pb-025" };
35008
+ const _hoisted_3$9 = { class: "m-0 p-0 ellipsis-1 line-height-14 pb-025" };
34988
35009
  const _hoisted_4$5 = {
34989
35010
  key: 1,
34990
35011
  class: "txt12 m-0 p-0 opacity-7 ellipsis-1"
@@ -35059,11 +35080,11 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
35059
35080
  icon: _ctx.icon
35060
35081
  }, null, 8, ["icon"])) : createCommentVNode("", true),
35061
35082
  createElementVNode("div", _hoisted_1$g, [
35062
- _ctx.lead ? (openBlock(), createElementBlock("p", _hoisted_2$b, [
35083
+ _ctx.lead ? (openBlock(), createElementBlock("p", _hoisted_2$c, [
35063
35084
  createTextVNode(toDisplayString(_ctx.lead) + " ", 1),
35064
35085
  renderSlot(_ctx.$slots, "lead")
35065
35086
  ])) : createCommentVNode("", true),
35066
- createElementVNode("p", _hoisted_3$8, [
35087
+ createElementVNode("p", _hoisted_3$9, [
35067
35088
  createTextVNode(toDisplayString(_ctx.title) + " ", 1),
35068
35089
  renderSlot(_ctx.$slots, "default")
35069
35090
  ]),
@@ -35095,20 +35116,22 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
35095
35116
  });
35096
35117
  const _sfc_main$i = {};
35097
35118
  const _hoisted_1$f = { class: "list-wrap bgl_card thin grid overflow-hidden pt-0 pb-05 px-0 m_pb-0" };
35098
- const _hoisted_2$a = { class: "p-0" };
35099
- const _hoisted_3$7 = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
35119
+ const _hoisted_2$b = { class: "p-0" };
35120
+ const _hoisted_3$8 = { class: "list-content auto-flow-rows align-items-start overflow-y h-100" };
35100
35121
  function _sfc_render$3(_ctx, _cache) {
35101
35122
  return openBlock(), createElementBlock("div", _hoisted_1$f, [
35102
- createElementVNode("div", _hoisted_2$a, [
35123
+ createElementVNode("div", _hoisted_2$b, [
35103
35124
  renderSlot(_ctx.$slots, "header")
35104
35125
  ]),
35105
- createElementVNode("div", _hoisted_3$7, [
35126
+ createElementVNode("div", _hoisted_3$8, [
35106
35127
  renderSlot(_ctx.$slots, "default")
35107
35128
  ])
35108
35129
  ]);
35109
35130
  }
35110
35131
  const ListView = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$3]]);
35111
- const _hoisted_1$e = { class: "flex-center" };
35132
+ const _hoisted_1$e = ["width", "height"];
35133
+ const _hoisted_2$a = ["r", "stroke", "stroke-width"];
35134
+ const _hoisted_3$7 = ["r", "stroke", "stroke-width", "stroke-dasharray"];
35112
35135
  const _sfc_main$h = /* @__PURE__ */ defineComponent({
35113
35136
  __name: "Loading",
35114
35137
  props: {
@@ -35116,7 +35139,8 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
35116
35139
  thickness: {},
35117
35140
  duration: { default: 1.2 },
35118
35141
  type: { default: "ring" },
35119
- color: {}
35142
+ color: {},
35143
+ progress: {}
35120
35144
  },
35121
35145
  setup(__props) {
35122
35146
  const theme = toRef(__props, "type");
@@ -35130,8 +35154,18 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
35130
35154
  const borderValue = __props.thickness ?? Math.max(Number.parseInt(computedSize.value) / 9, 2);
35131
35155
  return standardSize(borderValue);
35132
35156
  });
35157
+ const svgStrokeWidth = computed(() => {
35158
+ const borderNumeric = Number.parseFloat(computedBorder.value);
35159
+ const sizeNumeric = Number.parseFloat(computedSize.value);
35160
+ return Math.round(borderNumeric / sizeNumeric * 100) * 0.9;
35161
+ });
35162
+ const svgRadius = computed(() => 50 - svgStrokeWidth.value / 2);
35163
+ const svgCircumference = computed(() => Math.PI * 2 * svgRadius.value);
35133
35164
  return (_ctx, _cache) => {
35134
- return openBlock(), createElementBlock("div", _hoisted_1$e, [
35165
+ return openBlock(), createElementBlock("div", {
35166
+ class: normalizeClass(["flex-center", { progress: _ctx.progress !== void 0 }]),
35167
+ style: normalizeStyle({ "--progress": _ctx.progress })
35168
+ }, [
35135
35169
  theme.value === "bar" ? (openBlock(), createElementBlock("div", {
35136
35170
  key: 0,
35137
35171
  class: "lds-bar",
@@ -35154,7 +35188,33 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
35154
35188
  class: "lds-ring",
35155
35189
  style: normalizeStyle({ "--size": computedSize.value, "--thickness": computedBorder.value })
35156
35190
  }, [
35157
- (openBlock(), createElementBlock(Fragment, null, renderList(4, (n2) => {
35191
+ _ctx.progress !== void 0 ? (openBlock(), createElementBlock("svg", {
35192
+ key: 0,
35193
+ width: computedSize.value,
35194
+ height: computedSize.value,
35195
+ viewBox: "0 0 100 100"
35196
+ }, [
35197
+ createElementVNode("circle", {
35198
+ cx: "50",
35199
+ cy: "50",
35200
+ r: svgRadius.value,
35201
+ fill: "none",
35202
+ stroke: _ctx.color || "currentColor",
35203
+ "stroke-width": svgStrokeWidth.value,
35204
+ "stroke-opacity": "0.2"
35205
+ }, null, 8, _hoisted_2$a),
35206
+ createElementVNode("circle", {
35207
+ cx: "50",
35208
+ cy: "50",
35209
+ r: svgRadius.value,
35210
+ fill: "none",
35211
+ stroke: _ctx.color || "currentColor",
35212
+ "stroke-width": svgStrokeWidth.value,
35213
+ "stroke-linecap": "round",
35214
+ "stroke-dasharray": `${_ctx.progress / 100 * svgCircumference.value} ${svgCircumference.value}`,
35215
+ transform: "rotate(-90 50 50)"
35216
+ }, null, 8, _hoisted_3$7)
35217
+ ], 8, _hoisted_1$e)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, renderList(4, (n2) => {
35158
35218
  return createElementVNode("div", {
35159
35219
  key: n2,
35160
35220
  style: normalizeStyle({
@@ -35169,11 +35229,11 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
35169
35229
  }, null, 4);
35170
35230
  }), 64))
35171
35231
  ], 4)) : createCommentVNode("", true)
35172
- ]);
35232
+ ], 6);
35173
35233
  };
35174
35234
  }
35175
35235
  });
35176
- const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-2d349a92"]]);
35236
+ const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__scopeId", "data-v-71d082b4"]]);
35177
35237
  const _hoisted_1$d = ["id"];
35178
35238
  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>';
35179
35239
  const leafletScriptUrl = "https://unpkg.com/leaflet@1.9.4/dist/leaflet.js";
@@ -35287,13 +35347,13 @@ const _hoisted_3$6 = {
35287
35347
  const _sfc_main$f = /* @__PURE__ */ defineComponent({
35288
35348
  __name: "Modal",
35289
35349
  props: {
35290
- thin: { type: Boolean },
35291
- side: { type: Boolean },
35350
+ thin: { type: Boolean, default: false },
35351
+ side: { type: Boolean, default: false },
35292
35352
  title: {},
35293
35353
  width: {},
35294
- dismissable: { type: Boolean },
35354
+ dismissable: { type: Boolean, default: true },
35295
35355
  actions: {},
35296
- visible: { type: Boolean }
35356
+ visible: { type: Boolean, default: false }
35297
35357
  },
35298
35358
  emits: ["update:visible"],
35299
35359
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -35353,28 +35413,30 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
35353
35413
  return [
35354
35414
  unref(slots).toolbar || _ctx.title ? (openBlock(), createElementBlock("header", _hoisted_1$c, [
35355
35415
  renderSlot(_ctx.$slots, "toolbar"),
35356
- createVNode(unref(Btn), {
35416
+ _ctx.dismissable ? (openBlock(), createBlock(unref(Btn), {
35417
+ key: 0,
35357
35418
  style: normalizeStyle({ float: _ctx.side ? "left" : "right" }),
35358
35419
  flat: "",
35359
35420
  icon: "close",
35360
35421
  thin: "",
35361
35422
  onClick: closeModal
35362
- }, null, 8, ["style"]),
35423
+ }, null, 8, ["style"])) : createCommentVNode("", true),
35363
35424
  _ctx.title ? (openBlock(), createBlock(unref(_sfc_main$4), {
35364
- key: 0,
35425
+ key: 1,
35365
35426
  class: "modal-title",
35366
35427
  tag: "h3",
35367
35428
  label: _ctx.title
35368
35429
  }, null, 8, ["label"])) : createCommentVNode("", true)
35369
35430
  ])) : (openBlock(), createElementBlock("div", _hoisted_2$9, [
35370
- createVNode(unref(Btn), {
35431
+ _ctx.dismissable ? (openBlock(), createBlock(unref(Btn), {
35432
+ key: 0,
35371
35433
  class: "position-start",
35372
35434
  icon: "close",
35373
35435
  thin: "",
35374
35436
  round: "",
35375
35437
  color: "white",
35376
35438
  onClick: closeModal
35377
- })
35439
+ })) : createCommentVNode("", true)
35378
35440
  ])),
35379
35441
  renderSlot(_ctx.$slots, "default"),
35380
35442
  unref(slots).footer || ((_a = _ctx.actions) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("footer", _hoisted_3$6, [