@bagelink/vue 1.1.11 → 1.1.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -119,7 +119,7 @@ const _export_sfc = (sfc, props2) => {
119
119
  }
120
120
  return target;
121
121
  };
122
- const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__scopeId", "data-v-23c8b13b"]]);
122
+ const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__scopeId", "data-v-3334f637"]]);
123
123
  const _hoisted_1$1a = { class: "relative" };
124
124
  const _sfc_main$1l = /* @__PURE__ */ defineComponent({
125
125
  __name: "AddressSearch",
@@ -273,7 +273,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
273
273
  };
274
274
  }
275
275
  });
276
- const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-6ebf1570"]]);
276
+ const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-bfc435b3"]]);
277
277
  const _hoisted_1$18 = ["dismissable"];
278
278
  const _hoisted_2$S = { class: "m-0" };
279
279
  const _sfc_main$1j = /* @__PURE__ */ defineComponent({
@@ -316,7 +316,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
316
316
  };
317
317
  }
318
318
  });
319
- const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-1b3b90e7"]]);
319
+ const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-064bdd20"]]);
320
320
  const _hoisted_1$17 = ["src", "alt"];
321
321
  const _sfc_main$1i = /* @__PURE__ */ defineComponent({
322
322
  __name: "Avatar",
@@ -344,7 +344,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
344
344
  };
345
345
  }
346
346
  });
347
- const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-d6183b0f"]]);
347
+ const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-46ad8c25"]]);
348
348
  const _sfc_main$1h = /* @__PURE__ */ defineComponent({
349
349
  __name: "Badge",
350
350
  props: {
@@ -374,7 +374,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
374
374
  };
375
375
  }
376
376
  });
377
- const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-3ef772a6"]]);
377
+ const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-689f051f"]]);
378
378
  const _hoisted_1$16 = ["src"];
379
379
  const _hoisted_2$R = ["autoplay", "muted", "loop", "controls", "playsinline"];
380
380
  const _hoisted_3$H = ["src", "type"];
@@ -475,7 +475,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
475
475
  };
476
476
  }
477
477
  });
478
- const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-19266834"]]);
478
+ const BglVideo = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-006552f6"]]);
479
479
  const languageKeys = {
480
480
  /** The following three keys, describe the calendar modes */
481
481
  week: {
@@ -772,7 +772,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
772
772
  emits: ["eventWasClicked"],
773
773
  setup(__props, { emit: __emit }) {
774
774
  useCssVars((_ctx) => ({
775
- "4b009dcb": eventBackgroundColor.value
775
+ "26bbff92": eventBackgroundColor.value
776
776
  }));
777
777
  const props2 = __props;
778
778
  const emit2 = __emit;
@@ -851,7 +851,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
851
851
  };
852
852
  }
853
853
  });
854
- const AgendaEventTile = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-16b7e65d"]]);
854
+ const AgendaEventTile = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__scopeId", "data-v-d63dd40c"]]);
855
855
  const _hoisted_1$13 = { class: "agenda__wrapper grid align-items-start gap-1 h-100p" };
856
856
  const _hoisted_2$O = { class: "m_sticky" };
857
857
  const _hoisted_3$F = { class: "agenda__header-day-name txt-center" };
@@ -908,7 +908,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
908
908
  };
909
909
  }
910
910
  });
911
- const AgendaEvents = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-32ad3558"]]);
911
+ const AgendaEvents = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-4523e7de"]]);
912
912
  class EDate extends Date {
913
913
  get fullYear() {
914
914
  return this.getFullYear();
@@ -1645,7 +1645,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
1645
1645
  emits: ["hide", "editEvent", "deleteEvent"],
1646
1646
  setup(__props, { emit: __emit }) {
1647
1647
  useCssVars((_ctx) => ({
1648
- "c0ba08ea": flyoutWidth
1648
+ "c7702184": flyoutWidth
1649
1649
  }));
1650
1650
  const props2 = __props;
1651
1651
  const emit2 = __emit;
@@ -1896,7 +1896,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
1896
1896
  emits: ["eventWasClicked"],
1897
1897
  setup(__props, { emit: __emit }) {
1898
1898
  useCssVars((_ctx) => ({
1899
- "2474e382": eventBackgroundColor.value
1899
+ "1772761d": eventBackgroundColor.value
1900
1900
  }));
1901
1901
  const props2 = __props;
1902
1902
  const emit2 = __emit;
@@ -1981,7 +1981,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
1981
1981
  };
1982
1982
  }
1983
1983
  });
1984
- const Event = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-919540de"]]);
1984
+ const Event = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__scopeId", "data-v-16d8079e"]]);
1985
1985
  const _hoisted_1$10 = ["id"];
1986
1986
  const _hoisted_2$L = { class: "w-100p flex justify-content-end txt14 p-025 m_h-100p" };
1987
1987
  const _hoisted_3$C = { class: "calendar-month_events" };
@@ -2123,7 +2123,7 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
2123
2123
  };
2124
2124
  }
2125
2125
  });
2126
- const Day$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-7e932550"]]);
2126
+ const Day$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["__scopeId", "data-v-4b49a3b2"]]);
2127
2127
  const _hoisted_1$$ = { class: "txt12 normal block color-black pb-025" };
2128
2128
  const _sfc_main$19 = /* @__PURE__ */ defineComponent({
2129
2129
  __name: "WeekDay",
@@ -2947,7 +2947,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
2947
2947
  };
2948
2948
  }
2949
2949
  });
2950
- const DayEvent = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-7feff664"]]);
2950
+ const DayEvent = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["__scopeId", "data-v-992d6df6"]]);
2951
2951
  const _hoisted_1$Y = ["id", "onClick"];
2952
2952
  const _sfc_main$16 = /* @__PURE__ */ defineComponent({
2953
2953
  __name: "Day",
@@ -3092,7 +3092,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
3092
3092
  };
3093
3093
  }
3094
3094
  });
3095
- const Day = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-d225c883"]]);
3095
+ const Day = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-7947ee7a"]]);
3096
3096
  const _hoisted_1$X = { class: "day-timeline absolute top-0 start-0 space-evenly column display-flex" };
3097
3097
  const _hoisted_2$I = { class: "day-timeline__hour-text line-height-0" };
3098
3098
  const _sfc_main$15 = /* @__PURE__ */ defineComponent({
@@ -3109,7 +3109,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
3109
3109
  },
3110
3110
  setup(__props) {
3111
3111
  useCssVars((_ctx) => ({
3112
- "a2d2c918": __props.weekHeight
3112
+ "42711aca": __props.weekHeight
3113
3113
  }));
3114
3114
  const props2 = __props;
3115
3115
  const timelineHours = ref([]);
@@ -3134,7 +3134,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
3134
3134
  };
3135
3135
  }
3136
3136
  });
3137
- const DayTimeline = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-cd6a2180"]]);
3137
+ const DayTimeline = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-64469387"]]);
3138
3138
  const _hoisted_1$W = ["id"];
3139
3139
  const _hoisted_2$H = {
3140
3140
  key: 1,
@@ -3211,7 +3211,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
3211
3211
  };
3212
3212
  }
3213
3213
  });
3214
- const FullDayEvent = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-96511089"]]);
3214
+ const FullDayEvent = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-de98fbb8"]]);
3215
3215
  const _hoisted_1$V = {
3216
3216
  class: "week-timeline flex space-between border-bottom ms-3-5",
3217
3217
  style: { "margin-inline-end": "0.5em" }
@@ -3274,7 +3274,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
3274
3274
  };
3275
3275
  }
3276
3276
  });
3277
- const WeekTimeline = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-f08b2d05"]]);
3277
+ const WeekTimeline = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-9aaa9a54"]]);
3278
3278
  const _hoisted_1$U = { class: "calendar-week__wrapper relative ps-3-5" };
3279
3279
  const _hoisted_2$F = { class: "calendar-week" };
3280
3280
  const _hoisted_3$y = { class: "calendar-week__events" };
@@ -3314,7 +3314,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
3314
3314
  ],
3315
3315
  setup(__props, { emit: __emit }) {
3316
3316
  useCssVars((_ctx) => ({
3317
- "62a239a5": weekHeight.value
3317
+ "ec938e6e": weekHeight.value
3318
3318
  }));
3319
3319
  const props2 = __props;
3320
3320
  const emit2 = __emit;
@@ -3576,7 +3576,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
3576
3576
  };
3577
3577
  }
3578
3578
  });
3579
- const Week = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-7a948baf"]]);
3579
+ const Week = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["__scopeId", "data-v-65517675"]]);
3580
3580
  const _Errors = class _Errors {
3581
3581
  static checkEventProperties(event) {
3582
3582
  var _a, _b, _c, _d;
@@ -4414,7 +4414,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
4414
4414
  };
4415
4415
  }
4416
4416
  });
4417
- const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-6e59a72f"]]);
4417
+ const Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__scopeId", "data-v-31632a3b"]]);
4418
4418
  function _isPlaceholder(a2) {
4419
4419
  return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
4420
4420
  }
@@ -10895,7 +10895,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
10895
10895
  };
10896
10896
  }
10897
10897
  });
10898
- const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-7f2f140e"]]);
10898
+ const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__scopeId", "data-v-2a466c93"]]);
10899
10899
  function useTableSelection(options) {
10900
10900
  const allSelectorEl = ref();
10901
10901
  const computedSelectedItems = computed(() => options.selectedItems.value);
@@ -11728,7 +11728,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
11728
11728
  emits: /* @__PURE__ */ mergeModels(["orderBy", "select", "lastItemVisible"], ["update:loading", "update:itemHeight", "update:selectedItems"]),
11729
11729
  setup(__props, { emit: __emit }) {
11730
11730
  useCssVars((_ctx) => ({
11731
- "ae67a098": unref(computedItemHeight)
11731
+ "104156b0": unref(computedItemHeight)
11732
11732
  }));
11733
11733
  const props2 = __props;
11734
11734
  const emit2 = __emit;
@@ -11748,9 +11748,15 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
11748
11748
  toggleSort,
11749
11749
  cleanTransformedData,
11750
11750
  schemaState
11751
- } = useTableData({ data: data2, schema, columns, useServerSort, onSort: (field, direction) => {
11752
- emit2("orderBy", `${field} ${direction}`.trim());
11753
- } });
11751
+ } = useTableData({
11752
+ data: data2,
11753
+ schema,
11754
+ columns,
11755
+ useServerSort,
11756
+ onSort: (field, direction) => {
11757
+ emit2("orderBy", `${field.trim()} ${direction.trim()}`);
11758
+ }
11759
+ });
11754
11760
  const {
11755
11761
  computedSelectedItems,
11756
11762
  isSelectable,
@@ -11910,7 +11916,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
11910
11916
  };
11911
11917
  }
11912
11918
  });
11913
- const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-871fbe77"]]);
11919
+ const DataTable = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__scopeId", "data-v-6cf42b66"]]);
11914
11920
  function useDraggable(options = {}) {
11915
11921
  const isDragging = ref(false);
11916
11922
  const dragElement = ref(null);
@@ -15107,7 +15113,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
15107
15113
  };
15108
15114
  }
15109
15115
  });
15110
- const FieldSetVue = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-fbcb1a8d"]]);
15116
+ const FieldSetVue = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__scopeId", "data-v-f7e758e5"]]);
15111
15117
  const _sfc_main$U = /* @__PURE__ */ defineComponent({
15112
15118
  __name: "Flag",
15113
15119
  props: {
@@ -15138,7 +15144,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
15138
15144
  };
15139
15145
  }
15140
15146
  });
15141
- const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-e1e447be"]]);
15147
+ const Flag = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__scopeId", "data-v-f99f1900"]]);
15142
15148
  function getBaseField(id, labelOrRest = {}, rest = {}) {
15143
15149
  if (typeof labelOrRest === "object") return { id, ...labelOrRest };
15144
15150
  return { id, label: labelOrRest, ...rest };
@@ -15543,9 +15549,9 @@ function normalizeDimension(value, defaultMetric = "px") {
15543
15549
  }
15544
15550
  const fileBaseUrl = "https://files.bagel.design".replace(/\/$/, "");
15545
15551
  const bagelBaseUrl = void 0;
15552
+ const URL_REGEX = /^https?:\/\/|^\/\//;
15546
15553
  function pathKeyToURL(pathKey) {
15547
- const urlRE = /^https?:\/\/|^\/\//;
15548
- if (!pathKey || urlRE.test(pathKey)) return pathKey;
15554
+ if (!pathKey || URL_REGEX.test(pathKey)) return pathKey;
15549
15555
  if (pathKey.startsWith("static/")) {
15550
15556
  return `${bagelBaseUrl}/${pathKey}`;
15551
15557
  }
@@ -15952,7 +15958,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
15952
15958
  };
15953
15959
  }
15954
15960
  });
15955
- const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-4eb8c363"]]);
15961
+ const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-73f1d9ad"]]);
15956
15962
  const _hoisted_1$J = ["title"];
15957
15963
  const _hoisted_2$x = ["id", "value", "required"];
15958
15964
  const _hoisted_3$s = ["for"];
@@ -16001,7 +16007,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
16001
16007
  };
16002
16008
  }
16003
16009
  });
16004
- const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-9255cd5f"]]);
16010
+ const CheckInput = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__scopeId", "data-v-0c86700b"]]);
16005
16011
  const _hoisted_1$I = { class: "mb-05" };
16006
16012
  const _hoisted_2$w = {
16007
16013
  key: 0,
@@ -16132,7 +16138,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
16132
16138
  };
16133
16139
  }
16134
16140
  });
16135
- const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-5f2b9d7e"]]);
16141
+ const CodeEditor = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__scopeId", "data-v-1fbc9b61"]]);
16136
16142
  const _hoisted_1$H = ["title"];
16137
16143
  const _hoisted_2$v = { class: "flex bg-input rounded px-025 colorInputPickWrap" };
16138
16144
  const _hoisted_3$q = ["id", "placeholder", "required"];
@@ -16725,7 +16731,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
16725
16731
  };
16726
16732
  }
16727
16733
  });
16728
- const DateInput = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-2adea311"]]);
16734
+ const DateInput = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__scopeId", "data-v-7d6fb8a5"]]);
16729
16735
  const _hoisted_1$F = ["title"];
16730
16736
  const _hoisted_2$t = { key: 0 };
16731
16737
  const _hoisted_3$o = {
@@ -17102,7 +17108,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
17102
17108
  };
17103
17109
  }
17104
17110
  });
17105
- const DatePick = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-7a6a8ea5"]]);
17111
+ const DatePick = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-43cb2e62"]]);
17106
17112
  const _hoisted_1$E = { class: "datetime-wrap" };
17107
17113
  const _hoisted_2$s = {
17108
17114
  key: 0,
@@ -17626,7 +17632,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
17626
17632
  };
17627
17633
  }
17628
17634
  });
17629
- const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-683abdc0"]]);
17635
+ const FileUpload = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__scopeId", "data-v-50fd0597"]]);
17630
17636
  const _hoisted_1$C = ["title"];
17631
17637
  const _hoisted_2$q = { key: 0 };
17632
17638
  const _hoisted_3$l = ["value", "placeholder"];
@@ -17666,7 +17672,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
17666
17672
  };
17667
17673
  }
17668
17674
  });
17669
- const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-167ec9fc"]]);
17675
+ const JSONInput = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__scopeId", "data-v-1cbaeab2"]]);
17670
17676
  const _hoisted_1$B = ["for"];
17671
17677
  const _hoisted_2$p = {
17672
17678
  key: 0,
@@ -17879,7 +17885,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
17879
17885
  };
17880
17886
  }
17881
17887
  });
17882
- const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-9b563a1b"]]);
17888
+ const NumberInput = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__scopeId", "data-v-f5b06aa8"]]);
17883
17889
  const _hoisted_1$A = ["value", "autofocus", "onKeydown", "onPaste"];
17884
17890
  const _sfc_main$H = /* @__PURE__ */ defineComponent({
17885
17891
  __name: "OTP",
@@ -17991,7 +17997,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
17991
17997
  };
17992
17998
  }
17993
17999
  });
17994
- const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-a3f9ea8d"]]);
18000
+ const OTP = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__scopeId", "data-v-ab0a46bf"]]);
17995
18001
  const _hoisted_1$z = { class: "relative passwordInput" };
17996
18002
  const _hoisted_2$o = { class: "m-password position-bottom-end flex column justify-content-center" };
17997
18003
  const _sfc_main$G = /* @__PURE__ */ defineComponent({
@@ -22803,7 +22809,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
22803
22809
  };
22804
22810
  }
22805
22811
  });
22806
- const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-920e2192"]]);
22812
+ const TelInput = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-ea318aee"]]);
22807
22813
  const _hoisted_1$x = ["for"];
22808
22814
  const _hoisted_2$m = ["id", "disabled", "name", "value", "required"];
22809
22815
  const _hoisted_3$i = { class: "flex w-100 gap-1 flex-wrap m_gap-05 m_gap-row-025" };
@@ -22906,7 +22912,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
22906
22912
  };
22907
22913
  }
22908
22914
  });
22909
- const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-f3f5b820"]]);
22915
+ const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__scopeId", "data-v-a692c596"]]);
22910
22916
  const _hoisted_1$w = { class: "bagel-input" };
22911
22917
  const _hoisted_2$l = { class: "pb-025" };
22912
22918
  const _hoisted_3$h = { class: "flex gap-05 flex-wrap" };
@@ -22981,7 +22987,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
22981
22987
  };
22982
22988
  }
22983
22989
  });
22984
- const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-fa7a2f80"]]);
22990
+ const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__scopeId", "data-v-68b4cdd0"]]);
22985
22991
  const _hoisted_1$v = ["dir"];
22986
22992
  const _hoisted_2$k = {
22987
22993
  key: 0,
@@ -23152,7 +23158,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
23152
23158
  };
23153
23159
  }
23154
23160
  });
23155
- const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-b12da569"]]);
23161
+ const RangeInput = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-46e22f3e"]]);
23156
23162
  const basicToolbarConfig = [
23157
23163
  "h2",
23158
23164
  "h3",
@@ -23273,7 +23279,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
23273
23279
  };
23274
23280
  }
23275
23281
  });
23276
- const GridBox = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-7c00946d"]]);
23282
+ const GridBox = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__scopeId", "data-v-4548b70f"]]);
23277
23283
  const _hoisted_1$t = {
23278
23284
  class: "toolbar flex gap-025 pb-05 flex-wrap",
23279
23285
  role: "toolbar"
@@ -23336,7 +23342,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
23336
23342
  };
23337
23343
  }
23338
23344
  });
23339
- const EditorToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-433a8c01"]]);
23345
+ const EditorToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-9d8a6eb6"]]);
23340
23346
  function isStyleActive(style, doc) {
23341
23347
  const selection = doc.getSelection();
23342
23348
  if (!selection || !selection.rangeCount) return false;
@@ -24811,7 +24817,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
24811
24817
  };
24812
24818
  }
24813
24819
  });
24814
- const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-dbfe94b1"]]);
24820
+ const RichText = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-30bcda4c"]]);
24815
24821
  const _hoisted_1$r = { class: "flex gap-05" };
24816
24822
  const _hoisted_2$h = ["disabled"];
24817
24823
  const _hoisted_3$d = { key: 1 };
@@ -25131,7 +25137,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
25131
25137
  };
25132
25138
  }
25133
25139
  });
25134
- const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-347683c6"]]);
25140
+ const SelectInput = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-da5bc268"]]);
25135
25141
  /*!
25136
25142
  * Signature Pad v5.0.6 | https://github.com/szimek/signature_pad
25137
25143
  * (c) 2025 Szymon Nowak | Released under the MIT license
@@ -28567,7 +28573,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
28567
28573
  };
28568
28574
  }
28569
28575
  });
28570
- const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-02d74b06"]]);
28576
+ const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-e9632f79"]]);
28571
28577
  const _hoisted_1$o = ["title"];
28572
28578
  const _hoisted_2$e = ["for"];
28573
28579
  const _hoisted_3$b = ["id", "name", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
@@ -28724,7 +28730,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
28724
28730
  };
28725
28731
  }
28726
28732
  });
28727
- const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-540f7a99"]]);
28733
+ const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-dbcf2010"]]);
28728
28734
  const _hoisted_1$n = ["title"];
28729
28735
  const _hoisted_2$d = ["id", "required"];
28730
28736
  const _hoisted_3$a = ["for"];
@@ -28776,7 +28782,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
28776
28782
  };
28777
28783
  }
28778
28784
  });
28779
- const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-8148c049"]]);
28785
+ const ToggleInput = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__scopeId", "data-v-ebe691ee"]]);
28780
28786
  const files = {
28781
28787
  setBaseUrl: (baseUrl) => {
28782
28788
  if (!baseUrl) return;
@@ -29187,7 +29193,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
29187
29193
  };
29188
29194
  }
29189
29195
  });
29190
- const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-db7ccdef"]]);
29196
+ const UploadInput = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-d8f3ff01"]]);
29191
29197
  const FONT_AWESOME_ICONS = [
29192
29198
  "trash-can",
29193
29199
  "message",
@@ -33826,7 +33832,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
33826
33832
  };
33827
33833
  }
33828
33834
  });
33829
- const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-0418e681"]]);
33835
+ const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-2f5e271c"]]);
33830
33836
  const _hoisted_1$j = { class: "m-0 pb-025 txt10 line-height-1 w60 menu-text" };
33831
33837
  const _sfc_main$p = /* @__PURE__ */ defineComponent({
33832
33838
  __name: "BottomMenu",
@@ -33863,7 +33869,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
33863
33869
  };
33864
33870
  }
33865
33871
  });
33866
- const BottomMenu = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-352a273c"]]);
33872
+ const BottomMenu = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-2227f9cc"]]);
33867
33873
  const _sfc_main$o = /* @__PURE__ */ defineComponent({
33868
33874
  __name: "Layout",
33869
33875
  props: {
@@ -33876,11 +33882,11 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
33876
33882
  },
33877
33883
  setup(__props) {
33878
33884
  useCssVars((_ctx) => ({
33879
- "b8b6ad78": gapSize.value,
33880
- "f1e9bda8": gridTemplateRows.value,
33881
- "0e1353aa": gridTemplateColumns.value,
33882
- "78fce91a": mGridTemplateRows.value,
33883
- "262cf003": mGridTemplateColumns.value
33885
+ "16111f2e": gapSize.value,
33886
+ "2c189afc": gridTemplateRows.value,
33887
+ "243c3a94": gridTemplateColumns.value,
33888
+ "84a9b646": mGridTemplateRows.value,
33889
+ "55be334e": mGridTemplateColumns.value
33884
33890
  }));
33885
33891
  const props2 = __props;
33886
33892
  const gridTemplateRows = computed(() => props2.rows.length > 0 ? props2.rows.join(" ") : "auto");
@@ -33905,7 +33911,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
33905
33911
  };
33906
33912
  }
33907
33913
  });
33908
- const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-4e9efaaf"]]);
33914
+ const Layout = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-1814129a"]]);
33909
33915
  const _hoisted_1$i = { key: 0 };
33910
33916
  const _sfc_main$n = /* @__PURE__ */ defineComponent({
33911
33917
  __name: "SidebarMenu",
@@ -33981,7 +33987,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
33981
33987
  };
33982
33988
  }
33983
33989
  });
33984
- const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-e1d3c6a4"]]);
33990
+ const SidebarMenu = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-951fdacc"]]);
33985
33991
  const _sfc_main$m = /* @__PURE__ */ defineComponent({
33986
33992
  __name: "Skeleton",
33987
33993
  props: {
@@ -34013,7 +34019,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
34013
34019
  };
34014
34020
  }
34015
34021
  });
34016
- const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-c390b458"]]);
34022
+ const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-8788ed73"]]);
34017
34023
  const _hoisted_1$h = { class: "bgl_card tabs-top" };
34018
34024
  const _hoisted_2$a = { class: "tabs grid auto-flow-columns fit-content" };
34019
34025
  const _hoisted_3$7 = ["onClick"];
@@ -34077,7 +34083,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
34077
34083
  };
34078
34084
  }
34079
34085
  });
34080
- const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-cda394e9"]]);
34086
+ const TabbedLayout = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-915732c1"]]);
34081
34087
  const state = reactive(/* @__PURE__ */ new Map());
34082
34088
  function useTabs(group) {
34083
34089
  if (!state.has(group)) {
@@ -34254,7 +34260,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
34254
34260
  };
34255
34261
  }
34256
34262
  });
34257
- const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-f50444dd"]]);
34263
+ const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-6ece2018"]]);
34258
34264
  const _hoisted_1$e = { class: "no-margin ellipsis line-height-14 pb-025" };
34259
34265
  const _hoisted_2$9 = { class: "txt12 no-margin txt-gray ellipsis" };
34260
34266
  const _sfc_main$h = /* @__PURE__ */ defineComponent({
@@ -34386,7 +34392,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
34386
34392
  };
34387
34393
  }
34388
34394
  });
34389
- const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-a80abaf2"]]);
34395
+ const Loading = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-221a3053"]]);
34390
34396
  const _hoisted_1$b = ["id"];
34391
34397
  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>';
34392
34398
  const leafletScriptUrl = "https://unpkg.com/leaflet@1.9.4/dist/leaflet.js";
@@ -34799,7 +34805,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
34799
34805
  };
34800
34806
  }
34801
34807
  });
34802
- const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-8484155c"]]);
34808
+ const ModalForm = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__scopeId", "data-v-1c0f6894"]]);
34803
34809
  const _hoisted_1$7 = { class: "full-nav" };
34804
34810
  const _hoisted_2$5 = { class: "nav-scroll" };
34805
34811
  const _hoisted_3$4 = { class: "nav-links-wrapper" };
@@ -34896,7 +34902,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
34896
34902
  };
34897
34903
  }
34898
34904
  });
34899
- const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-d5d416f1"]]);
34905
+ const NavBar = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-f3df1ee7"]]);
34900
34906
  const _hoisted_1$6 = { class: "page-top" };
34901
34907
  const _hoisted_2$4 = { class: "top-title m-0" };
34902
34908
  const _sfc_main$9 = /* @__PURE__ */ defineComponent({
@@ -34958,8 +34964,8 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
34958
34964
  },
34959
34965
  setup(__props) {
34960
34966
  useCssVars((_ctx) => ({
34961
- "f45b58a4": computedBackgroundColor.value,
34962
- "6c0cd5ee": cumputedTextColor.value
34967
+ "dbb738e2": computedBackgroundColor.value,
34968
+ "418961aa": cumputedTextColor.value
34963
34969
  }));
34964
34970
  const props2 = __props;
34965
34971
  const slots = useSlots();
@@ -35052,7 +35058,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
35052
35058
  };
35053
35059
  }
35054
35060
  });
35055
- const Pill = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-7040378c"]]);
35061
+ const Pill = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-764b6b8b"]]);
35056
35062
  const _sfc_main$7 = {};
35057
35063
  function _sfc_render$2(_ctx, _cache) {
35058
35064
  const _component_router_view = resolveComponent("router-view");
@@ -35255,7 +35261,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
35255
35261
  };
35256
35262
  }
35257
35263
  });
35258
- const SpreadsheetTable = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-751a3c5f"]]);
35264
+ const SpreadsheetTable = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-5386c509"]]);
35259
35265
  const _hoisted_1$3 = { class: "flex gap-05 py-05 justify-content-end m_flex-wrap" };
35260
35266
  const _hoisted_2$1 = {
35261
35267
  key: 0,
@@ -35902,7 +35908,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
35902
35908
  };
35903
35909
  }
35904
35910
  });
35905
- const Index = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-2661c507"]]);
35911
+ const Index = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-42b4475d"]]);
35906
35912
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
35907
35913
  __name: "Title",
35908
35914
  props: {
@@ -36370,7 +36376,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
36370
36376
  };
36371
36377
  }
36372
36378
  });
36373
- const Zoomer = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-23e57f36"]]);
36379
+ const Zoomer = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-379819e1"]]);
36374
36380
  const FORM_STATE_KEY = Symbol("bagelFormState");
36375
36381
  function safeClone(obj) {
36376
36382
  if (obj === null || typeof obj !== "object") return obj;
@@ -36949,7 +36955,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
36949
36955
  };
36950
36956
  }
36951
36957
  });
36952
- const Lightbox = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-dc952e23"]]);
36958
+ const Lightbox = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-fb2d5763"]]);
36953
36959
  const groups = {};
36954
36960
  let clickHandler = (_e2) => void 0;
36955
36961
  const lightboxDirective = {
@@ -37745,6 +37751,26 @@ function getBrowserNavigatorLocale() {
37745
37751
  if (typeof navigator !== "object") return "en-US";
37746
37752
  return navigator.languages && navigator.languages.length ? navigator.languages[0] : navigator.language;
37747
37753
  }
37754
+ function getDatePartsMap(d2, locale2) {
37755
+ return {
37756
+ AmPm: d2.toLocaleString(locale2, { hour: "numeric", hour12: true, minute: "numeric" }).split(" ")[1],
37757
+ DD: String(d2.getDate()).padStart(2, "0"),
37758
+ DDD: d2.toLocaleString(locale2, { weekday: "short" }),
37759
+ DDDD: d2.toLocaleString(locale2, { weekday: "long" }),
37760
+ HH: String(d2.getHours()).padStart(2, "0"),
37761
+ mm: String(d2.getMinutes()).padStart(2, "0"),
37762
+ MM: String(d2.getMonth() + 1).padStart(2, "0"),
37763
+ MMM: d2.toLocaleString(locale2, { month: "short" }),
37764
+ MMMM: d2.toLocaleString(locale2, { month: "long" }),
37765
+ ss: String(d2.getSeconds()).padStart(2, "0"),
37766
+ sss: String(d2.getMilliseconds()).padStart(3, "0"),
37767
+ YY: String(d2.getFullYear()).slice(-2),
37768
+ YYYY: String(d2.getFullYear())
37769
+ };
37770
+ }
37771
+ const _datePartsMapNow = getDatePartsMap(/* @__PURE__ */ new Date(), getBrowserNavigatorLocale());
37772
+ const _orderedDateTokens = Object.keys(_datePartsMapNow).sort((a2, b2) => b2.length - a2.length);
37773
+ const _tokenRegExPattern = new RegExp(_orderedDateTokens.map((token) => token).join("|"), "g");
37748
37774
  function formatDate(date2, format2 = "DD.MM.YY", locale2) {
37749
37775
  if (!date2) return "";
37750
37776
  locale2 = locale2 || getBrowserNavigatorLocale();
@@ -37754,21 +37780,7 @@ function formatDate(date2, format2 = "DD.MM.YY", locale2) {
37754
37780
  console.warn("Invalid date provided to formatDate:", date2);
37755
37781
  return "";
37756
37782
  }
37757
- const datePartsMap = {
37758
- AmPm: d2.toLocaleString(locale2, { hour: "numeric", hour12: true, minute: "numeric" }).split(" ")[1],
37759
- DD: String(d2.getDate()).padStart(2, "0"),
37760
- DDD: d2.toLocaleString(locale2, { weekday: "short" }),
37761
- DDDD: d2.toLocaleString(locale2, { weekday: "long" }),
37762
- HH: String(d2.getHours()).padStart(2, "0"),
37763
- mm: String(d2.getMinutes()).padStart(2, "0"),
37764
- MM: String(d2.getMonth() + 1).padStart(2, "0"),
37765
- MMM: d2.toLocaleString(locale2, { month: "short" }),
37766
- MMMM: d2.toLocaleString(locale2, { month: "long" }),
37767
- ss: String(d2.getSeconds()).padStart(2, "0"),
37768
- sss: String(d2.getMilliseconds()).padStart(3, "0"),
37769
- YY: String(d2.getFullYear()).slice(-2),
37770
- YYYY: String(d2.getFullYear())
37771
- };
37783
+ const datePartsMap = getDatePartsMap(d2, locale2);
37772
37784
  const formatter = new Intl.DateTimeFormat(locale2, {
37773
37785
  day: "numeric",
37774
37786
  hour: "2-digit",
@@ -37797,15 +37809,12 @@ function formatDate(date2, format2 = "DD.MM.YY", locale2) {
37797
37809
  if (partsMap.dayPeriod) {
37798
37810
  datePartsMap.AmPm = partsMap.dayPeriod;
37799
37811
  }
37800
- let formattedDate = format2;
37801
- const tokens = Object.keys(datePartsMap).sort((a2, b2) => b2.length - a2.length);
37802
- for (const token of tokens) {
37803
- const regex2 = new RegExp(token, "g");
37804
- formattedDate = formattedDate.replace(regex2, datePartsMap[token]);
37805
- }
37806
- return formattedDate;
37812
+ return format2.replace(
37813
+ _tokenRegExPattern,
37814
+ (match) => datePartsMap[match]
37815
+ );
37807
37816
  } catch (error) {
37808
- console.warn("Error formatting date", error);
37817
+ console.warn(`Error formatting date: ${date2} with format: ${format2}`, error);
37809
37818
  return "";
37810
37819
  }
37811
37820
  }
@@ -37901,6 +37910,7 @@ export {
37901
37910
  denullify,
37902
37911
  formatDate,
37903
37912
  formatString,
37913
+ getDatePartsMap,
37904
37914
  getFallbackSchema,
37905
37915
  getNestedValue,
37906
37916
  i18nTInjectionKey,