@bagelink/vue 0.0.1244 → 0.0.1246

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 (39) hide show
  1. package/dist/components/Calendar/Index.vue.d.ts +4 -4
  2. package/dist/components/Calendar/components/header/Header.vue.d.ts +2 -2
  3. package/dist/components/Calendar/components/month/AgendaEventTile.vue.d.ts.map +1 -1
  4. package/dist/components/Calendar/components/month/Day.vue.d.ts.map +1 -1
  5. package/dist/components/Calendar/components/month/Month.vue.d.ts.map +1 -1
  6. package/dist/components/Calendar/components/week/DayEvent.vue.d.ts.map +1 -1
  7. package/dist/components/Calendar/components/week/DayTimeline.vue.d.ts.map +1 -1
  8. package/dist/components/Calendar/language/index.d.ts.map +1 -1
  9. package/dist/components/Calendar/language/keys.d.ts +6 -0
  10. package/dist/components/Calendar/language/keys.d.ts.map +1 -1
  11. package/dist/components/Image.vue.d.ts.map +1 -1
  12. package/dist/components/form/inputs/DatePick.vue.d.ts +1 -1
  13. package/dist/components/form/inputs/DatePick.vue.d.ts.map +1 -1
  14. package/dist/components/index.d.ts +0 -1
  15. package/dist/components/index.d.ts.map +1 -1
  16. package/dist/index.cjs +106 -250
  17. package/dist/index.mjs +107 -251
  18. package/dist/style.css +94 -77
  19. package/dist/utils/index.d.ts +1 -1
  20. package/dist/utils/index.d.ts.map +1 -1
  21. package/package.json +1 -1
  22. package/src/components/Calendar/components/month/AgendaEventTile.vue +35 -28
  23. package/src/components/Calendar/components/month/AgendaEvents.vue +3 -3
  24. package/src/components/Calendar/components/month/Day.vue +9 -6
  25. package/src/components/Calendar/components/month/Month.vue +12 -3
  26. package/src/components/Calendar/components/partials/EventFlyout.vue +5 -5
  27. package/src/components/Calendar/components/week/DayEvent.vue +6 -6
  28. package/src/components/Calendar/components/week/DayTimeline.vue +15 -21
  29. package/src/components/Calendar/components/week/FullDayEvent.vue +1 -1
  30. package/src/components/Calendar/components/week/Week.vue +3 -3
  31. package/src/components/Calendar/language/index.ts +1 -0
  32. package/src/components/Calendar/language/keys.ts +6 -0
  33. package/src/components/Image.vue +1 -2
  34. package/src/components/index.ts +0 -1
  35. package/src/components/lightbox/index.ts +1 -1
  36. package/src/styles/layout.css +4 -0
  37. package/src/styles/mobilLayout.css +4 -0
  38. package/src/utils/index.ts +3 -1
  39. package/src/components/BglComponent.vue +0 -187
package/dist/index.cjs CHANGED
@@ -47,7 +47,7 @@ const bagelFormUtils = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defi
47
47
  return uploadField;
48
48
  }
49
49
  }, Symbol.toStringTag, { value: "Module" }));
50
- const _sfc_main$1n = /* @__PURE__ */ vue.defineComponent({
50
+ const _sfc_main$1m = /* @__PURE__ */ vue.defineComponent({
51
51
  __name: "Accordion",
52
52
  setup(__props) {
53
53
  const state2 = vue.reactive({
@@ -61,10 +61,10 @@ const _sfc_main$1n = /* @__PURE__ */ vue.defineComponent({
61
61
  };
62
62
  }
63
63
  });
64
- const _hoisted_1$1a = ["aria-expanded", "aria-controls"];
64
+ const _hoisted_1$19 = ["aria-expanded", "aria-controls"];
65
65
  const _hoisted_2$R = { class: "accordion-label" };
66
66
  const _hoisted_3$F = ["id", "aria-hidden"];
67
- const _sfc_main$1m = /* @__PURE__ */ vue.defineComponent({
67
+ const _sfc_main$1l = /* @__PURE__ */ vue.defineComponent({
68
68
  __name: "AccordionItem",
69
69
  props: {
70
70
  label: {},
@@ -138,7 +138,7 @@ const _sfc_main$1m = /* @__PURE__ */ vue.defineComponent({
138
138
  }, [
139
139
  vue.createVNode(vue.unref(_sfc_main$r), { icon: computedIcon.value }, null, 8, ["icon"])
140
140
  ], 2)) : vue.createCommentVNode("", true)
141
- ], 8, _hoisted_1$1a),
141
+ ], 8, _hoisted_1$19),
142
142
  vue.createVNode(vue.Transition, { name: "expand" }, {
143
143
  default: vue.withCtx(() => [
144
144
  vue.unref(isOpen) ? (vue.openBlock(), vue.createElementBlock("div", {
@@ -163,9 +163,9 @@ const _export_sfc = (sfc, props2) => {
163
163
  }
164
164
  return target;
165
165
  };
166
- const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__scopeId", "data-v-3334f637"]]);
167
- const _hoisted_1$19 = { class: "relative" };
168
- const _sfc_main$1l = /* @__PURE__ */ vue.defineComponent({
166
+ const AccordionItem = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__scopeId", "data-v-3334f637"]]);
167
+ const _hoisted_1$18 = { class: "relative" };
168
+ const _sfc_main$1k = /* @__PURE__ */ vue.defineComponent({
169
169
  __name: "AddressSearch",
170
170
  emits: ["addressSelected"],
171
171
  setup(__props, { emit: __emit }) {
@@ -187,7 +187,7 @@ const _sfc_main$1l = /* @__PURE__ */ vue.defineComponent({
187
187
  (_a2 = suggestion.value) == null ? void 0 : _a2.show();
188
188
  }
189
189
  return (_ctx, _cache) => {
190
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$19, [
190
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$18, [
191
191
  vue.createVNode(vue.unref(_sfc_main$V), {
192
192
  ref_key: "suggestion",
193
193
  ref: suggestion,
@@ -223,11 +223,11 @@ const _sfc_main$1l = /* @__PURE__ */ vue.defineComponent({
223
223
  };
224
224
  }
225
225
  });
226
- const _hoisted_1$18 = {
226
+ const _hoisted_1$17 = {
227
227
  key: 1,
228
228
  class: "bgl_btn-flex"
229
229
  };
230
- const _sfc_main$1k = /* @__PURE__ */ vue.defineComponent({
230
+ const _sfc_main$1j = /* @__PURE__ */ vue.defineComponent({
231
231
  __name: "Btn",
232
232
  props: {
233
233
  disabled: { type: Boolean, default: false },
@@ -293,7 +293,7 @@ const _sfc_main$1k = /* @__PURE__ */ vue.defineComponent({
293
293
  key: 0,
294
294
  class: "h-100p",
295
295
  size: "15"
296
- })) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$18, [
296
+ })) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$17, [
297
297
  _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(_sfc_main$r), {
298
298
  key: 0,
299
299
  icon: _ctx.icon,
@@ -317,10 +317,10 @@ const _sfc_main$1k = /* @__PURE__ */ vue.defineComponent({
317
317
  };
318
318
  }
319
319
  });
320
- const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__scopeId", "data-v-bfc435b3"]]);
321
- const _hoisted_1$17 = ["dismissable"];
320
+ const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-bfc435b3"]]);
321
+ const _hoisted_1$16 = ["dismissable"];
322
322
  const _hoisted_2$Q = { class: "m-0" };
323
- const _sfc_main$1j = /* @__PURE__ */ vue.defineComponent({
323
+ const _sfc_main$1i = /* @__PURE__ */ vue.defineComponent({
324
324
  __name: "Alert",
325
325
  props: {
326
326
  message: {},
@@ -356,13 +356,13 @@ const _sfc_main$1j = /* @__PURE__ */ vue.defineComponent({
356
356
  icon: "close",
357
357
  onClick: _cache[0] || (_cache[0] = ($event) => isDismissed.value = true)
358
358
  })
359
- ], 10, _hoisted_1$17)) : vue.createCommentVNode("", true);
359
+ ], 10, _hoisted_1$16)) : vue.createCommentVNode("", true);
360
360
  };
361
361
  }
362
362
  });
363
- const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__scopeId", "data-v-064bdd20"]]);
364
- const _hoisted_1$16 = ["src", "alt"];
365
- const _sfc_main$1i = /* @__PURE__ */ vue.defineComponent({
363
+ const Alert = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-064bdd20"]]);
364
+ const _hoisted_1$15 = ["src", "alt"];
365
+ const _sfc_main$1h = /* @__PURE__ */ vue.defineComponent({
366
366
  __name: "Avatar",
367
367
  props: {
368
368
  fallback: {},
@@ -380,7 +380,7 @@ const _sfc_main$1i = /* @__PURE__ */ vue.defineComponent({
380
380
  key: 0,
381
381
  src: _ctx.src,
382
382
  alt: _ctx.name
383
- }, null, 8, _hoisted_1$16)) : (vue.openBlock(), vue.createElementBlock("p", {
383
+ }, null, 8, _hoisted_1$15)) : (vue.openBlock(), vue.createElementBlock("p", {
384
384
  key: 1,
385
385
  style: vue.normalizeStyle({ "line-height": `${_ctx.size}px`, "font-size": `calc(1.5rem * ${_ctx.size} / 50)` })
386
386
  }, vue.toDisplayString((_ctx.fallback || vue.unref(initials)(_ctx.name || "")).toUpperCase()), 5))
@@ -388,8 +388,8 @@ const _sfc_main$1i = /* @__PURE__ */ vue.defineComponent({
388
388
  };
389
389
  }
390
390
  });
391
- const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__scopeId", "data-v-46ad8c25"]]);
392
- const _sfc_main$1h = /* @__PURE__ */ vue.defineComponent({
391
+ const Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-46ad8c25"]]);
392
+ const _sfc_main$1g = /* @__PURE__ */ vue.defineComponent({
393
393
  __name: "Badge",
394
394
  props: {
395
395
  color: {},
@@ -418,164 +418,7 @@ const _sfc_main$1h = /* @__PURE__ */ vue.defineComponent({
418
418
  };
419
419
  }
420
420
  });
421
- const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__scopeId", "data-v-689f051f"]]);
422
- const _hoisted_1$15 = { key: 1 };
423
- const _sfc_main$1g = /* @__PURE__ */ vue.defineComponent({
424
- __name: "BglComponent",
425
- props: {
426
- field: {},
427
- id: {},
428
- modelValue: {},
429
- parentPath: {}
430
- },
431
- emits: ["update:modelValue"],
432
- setup(__props, { emit: __emit }) {
433
- const props2 = __props;
434
- const emit2 = __emit;
435
- const customAttrs = vue.ref({});
436
- const is4 = vue.computed(() => {
437
- if (props2.field.$el === "text") return TextInput;
438
- if (props2.field.$el === "textarea") {
439
- customAttrs.value.multiline = true;
440
- return TextInput;
441
- }
442
- if (props2.field.$el === "number") return NumberInput;
443
- if (props2.field.$el === "array") return _sfc_main$R;
444
- if (props2.field.$el === "select") return SelectInput;
445
- if (props2.field.$el === "toggle") return ToggleInput;
446
- if (props2.field.$el === "check") return CheckInput;
447
- if (props2.field.$el === "richtext") return RichText;
448
- if (props2.field.$el === "upload") return UploadInput;
449
- if (props2.field.$el === "file") return FileUpload;
450
- if (props2.field.$el === "date") return _sfc_main$M;
451
- if (props2.field.$el === "tabs") return TabsNav;
452
- if (props2.field.$el === "form") return _sfc_main$S;
453
- return props2.field.$el ?? "div";
454
- });
455
- function getFieldData(path) {
456
- if (!path) return "";
457
- const keys4 = path.split(/[.[]/);
458
- let current = props2.modelValue;
459
- for (let i2 = 0; i2 < keys4.length; i2++) {
460
- const key = keys4[i2];
461
- if (!current || typeof current !== "object" || !(key in current)) {
462
- return "";
463
- }
464
- current = current[key];
465
- }
466
- return current ?? "";
467
- }
468
- function safeClone2(obj) {
469
- if (obj === null || typeof obj !== "object") return obj;
470
- const seen = /* @__PURE__ */ new WeakSet();
471
- return JSON.parse(JSON.stringify(obj, (key, value) => {
472
- if (typeof value === "object" && value !== null) {
473
- if (seen.has(value)) {
474
- return void 0;
475
- }
476
- seen.add(value);
477
- }
478
- return value;
479
- }));
480
- }
481
- function updateField(path, value) {
482
- const keys4 = path.split(/[.[]/);
483
- let current = props2.modelValue ?? {};
484
- for (let i2 = 0; i2 < keys4.length - 1; i2++) {
485
- const key = keys4[i2];
486
- if (!(key in current) || typeof current[key] !== "object" || current[key] === null) {
487
- current[key] = {};
488
- }
489
- current = current[key];
490
- }
491
- const safeValue = safeClone2(value);
492
- current[keys4[keys4.length - 1]] = safeValue;
493
- }
494
- const fieldData = vue.computed({
495
- get: () => {
496
- if (!props2.id) return props2.modelValue ?? props2.field.defaultValue ?? (props2.field.$el === "form" ? {} : "");
497
- const value = getFieldData(props2.id);
498
- if (props2.field.$el === "form" && !value) return {};
499
- return value ?? "";
500
- },
501
- set: (val) => {
502
- if (!props2.id) return;
503
- const currentValue = getFieldData(props2.id);
504
- if (JSON.stringify(val) === JSON.stringify(currentValue)) return;
505
- emit2("update:modelValue", val);
506
- if (props2.field.onUpdate) {
507
- props2.field.onUpdate(val, currentValue);
508
- }
509
- updateField(props2.id, val);
510
- }
511
- });
512
- const computedFieldData = vue.computed(
513
- () => {
514
- var _a2, _b;
515
- return ((_b = (_a2 = props2.field).transform) == null ? void 0 : _b.call(_a2, fieldData.value, props2.modelValue)) ?? fieldData.value;
516
- }
517
- );
518
- const vIf = vue.computed(() => {
519
- if (props2.field["v-if"] === void 0 && props2.field.vIf === void 0) return true;
520
- if (typeof props2.field["v-if"] === "boolean" || typeof props2.field.vIf === "boolean") return props2.field["v-if"];
521
- if (typeof props2.field["v-if"] === "string" || typeof props2.field.vIf === "string") return true;
522
- if (typeof props2.field["v-if"] === "function") return props2.field["v-if"](fieldData.value, props2.modelValue);
523
- if (typeof props2.field.vIf === "function") return props2.field.vIf(fieldData.value, props2.modelValue);
524
- return true;
525
- });
526
- const computedOptions = vue.computed(
527
- () => bindAttrs({ options: props2.field.options }, fieldData.value, props2.modelValue).options
528
- );
529
- const computedAttrs = vue.computed(() => {
530
- const attrs = { ...customAttrs.value, ...props2.field.attrs };
531
- const boundAttrs = bindAttrs(attrs, fieldData.value, props2.modelValue);
532
- return Object.fromEntries(
533
- Object.entries(boundAttrs).filter(([_2, value]) => value !== void 0)
534
- );
535
- });
536
- const computedClass = vue.computed(
537
- () => {
538
- var _a2;
539
- return classify(fieldData.value, props2.modelValue, props2.field.class, (_a2 = props2.field.attrs) == null ? void 0 : _a2.class);
540
- }
541
- );
542
- return (_ctx, _cache) => {
543
- var _a2;
544
- const _component_BglComponent = vue.resolveComponent("BglComponent", true);
545
- return vIf.value ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(is4.value), vue.mergeProps({ key: 0 }, computedAttrs.value, {
546
- id: props2.id,
547
- modelValue: fieldData.value,
548
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => fieldData.value = $event),
549
- required: _ctx.field.required,
550
- class: computedClass.value,
551
- label: _ctx.field.label,
552
- placeholder: _ctx.field.placeholder || _ctx.field.label,
553
- defaultValue: _ctx.field.defaultValue,
554
- disabled: _ctx.field.disabled,
555
- options: computedOptions.value,
556
- helptext: _ctx.field.helptext,
557
- schema: ((_a2 = _ctx.field.attrs) == null ? void 0 : _a2.schema) ?? void 0
558
- }), {
559
- default: vue.withCtx(() => [
560
- _ctx.field.$el === "form" ? vue.renderSlot(_ctx.$slots, "default", { key: 0 }) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
561
- vue.createTextVNode(vue.toDisplayString(computedFieldData.value) + " ", 1),
562
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.field.children, (child, ii) => {
563
- return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: ii }, [
564
- typeof child !== "string" ? (vue.openBlock(), vue.createBlock(_component_BglComponent, {
565
- key: 0,
566
- id: [props2.id, child.id].filter(Boolean).join("."),
567
- field: child,
568
- "parent-path": props2.id
569
- }, null, 8, ["id", "field", "parent-path"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$15, vue.toDisplayString(child), 1))
570
- ], 64);
571
- }), 128))
572
- ], 64))
573
- ]),
574
- _: 3
575
- }, 16, ["id", "modelValue", "required", "class", "label", "placeholder", "defaultValue", "disabled", "options", "helptext", "schema"])) : vue.createCommentVNode("", true);
576
- };
577
- }
578
- });
421
+ const Badge = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__scopeId", "data-v-689f051f"]]);
579
422
  const _hoisted_1$14 = ["src"];
580
423
  const _hoisted_2$P = ["autoplay", "muted", "loop", "controls", "playsinline"];
581
424
  const _hoisted_3$E = ["src", "type"];
@@ -694,7 +537,8 @@ const languageKeys = {
694
537
  "es-ES": "Semana",
695
538
  "ja-JP": "週",
696
539
  "pl-PL": "Tydzień",
697
- "hu-HU": "Hét"
540
+ "hu-HU": "Hét",
541
+ "he-IL": "שבוע"
698
542
  },
699
543
  month: {
700
544
  "it-IT": "Mese",
@@ -711,7 +555,8 @@ const languageKeys = {
711
555
  "es-ES": "Mes",
712
556
  "ja-JP": "月",
713
557
  "pl-PL": "Miesiąc",
714
- "hu-HU": "Hónap"
558
+ "hu-HU": "Hónap",
559
+ "he-IL": "חודש"
715
560
  },
716
561
  day: {
717
562
  "it-IT": "Giorno",
@@ -728,10 +573,12 @@ const languageKeys = {
728
573
  "es-ES": "Día",
729
574
  "ja-JP": "日",
730
575
  "pl-PL": "Dzień",
731
- "hu-HU": "Nap"
576
+ "hu-HU": "Nap",
577
+ "he-IL": "יום"
732
578
  },
733
579
  agenda: {
734
- "en-US": "Agenda"
580
+ "en-US": "Agenda",
581
+ "he-IL": "סדר יום"
735
582
  },
736
583
  /** Other keys */
737
584
  moreEvents: {
@@ -749,7 +596,8 @@ const languageKeys = {
749
596
  "es-ES": "más eventos",
750
597
  "ja-JP": "その他イベント",
751
598
  "pl-PL": "+ więcej wydarzeń",
752
- "hu-HU": "További események"
599
+ "hu-HU": "További események",
600
+ "he-IL": "+ עוד אירועים"
753
601
  },
754
602
  noEvent: {
755
603
  "it-IT": "Nessun evento",
@@ -766,7 +614,8 @@ const languageKeys = {
766
614
  "es-ES": "No hay eventos",
767
615
  "ja-JP": "イベントなし",
768
616
  "pl-PL": "Brak wydarzeń",
769
- "hu-HU": "Nincs esemény"
617
+ "hu-HU": "Nincs esemény",
618
+ "he-IL": "אין אירועים"
770
619
  }
771
620
  };
772
621
  const localeMap = /* @__PURE__ */ new Map([
@@ -784,7 +633,8 @@ const localeMap = /* @__PURE__ */ new Map([
784
633
  ["es", "es-ES"],
785
634
  ["ja", "ja-JP"],
786
635
  ["pl", "pl-PL"],
787
- ["hu", "hu-HU"]
636
+ ["hu", "hu-HU"],
637
+ ["he", "he-IL"]
788
638
  ]);
789
639
  function overrideShortLocaleWithLongLocale(locale2) {
790
640
  if (localeMap.has(locale2)) {
@@ -932,18 +782,19 @@ const EVENT_COLORS = {
932
782
  const DATE_TIME_STRING_PATTERN = /^\d{4}-\d{2}-\d{2} \d{2}:\d{2}$/;
933
783
  const DATE_TIME_STRING_FULL_DAY_PATTERN = /^\d{4}-\d{2}-\d{2}$/;
934
784
  const _hoisted_1$12 = ["id"];
935
- const _hoisted_2$N = {
785
+ const _hoisted_2$N = { class: "flex txt14 flex column align-items-start gap-025 opacity-6" };
786
+ const _hoisted_3$D = {
936
787
  key: 0,
937
- class: "agenda__event-time"
788
+ class: "agenda__event-time flex gap-025"
938
789
  };
939
- const _hoisted_3$D = { class: "agenda__event-title" };
940
790
  const _hoisted_4$r = {
941
791
  key: 1,
942
- class: "agenda__event-with"
792
+ class: "agenda__event-location flex gap-025"
943
793
  };
944
- const _hoisted_5$n = {
945
- key: 2,
946
- class: "agenda__event-location"
794
+ const _hoisted_5$n = { class: "agenda__event-title" };
795
+ const _hoisted_6$j = {
796
+ key: 0,
797
+ class: "agenda__event-with txt14 opacity-6"
947
798
  };
948
799
  const eventIdPrefix$1 = "agenda__event-";
949
800
  const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
@@ -965,8 +816,7 @@ const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
965
816
  emits: ["eventWasClicked"],
966
817
  setup(__props, { emit: __emit }) {
967
818
  vue.useCssVars((_ctx) => ({
968
- "2331113a": eventBackgroundColor.value,
969
- "13d56971": eventColor.value
819
+ "2e2f2739": eventBackgroundColor.value
970
820
  }));
971
821
  const props2 = __props;
972
822
  const emit2 = __emit;
@@ -1018,38 +868,44 @@ const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
1018
868
  return (_ctx, _cache) => {
1019
869
  return vue.openBlock(), vue.createElementBlock("div", {
1020
870
  id: elementId.value,
1021
- class: "agenda__event is-event rounded mb-05 pointer user-select-none p-1 flex column align-items-start",
871
+ class: "agenda__event is-event rounded mb-05 pointer user-select-none p-1 grid gap-1",
1022
872
  onClick: vue.withModifiers(handleClickOnEvent, ["prevent"])
1023
873
  }, [
1024
- eventTime.value && !__props.calendarEvent.originalEvent ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$N, [
1025
- vue.createVNode(vue.unref(_sfc_main$r), {
1026
- icon: icons.clock
1027
- }, null, 8, ["icon"]),
1028
- vue.createTextVNode(" " + vue.toDisplayString(eventTime.value), 1)
1029
- ])) : vue.createCommentVNode("", true),
1030
- vue.createElementVNode("span", _hoisted_3$D, vue.toDisplayString(__props.calendarEvent.title), 1),
1031
- __props.calendarEvent.with ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$r, [
1032
- vue.createVNode(vue.unref(_sfc_main$r), {
1033
- icon: icons.user
1034
- }, null, 8, ["icon"]),
1035
- vue.createTextVNode(" " + vue.toDisplayString(__props.calendarEvent.with), 1)
1036
- ])) : vue.createCommentVNode("", true),
1037
- __props.calendarEvent.location ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_5$n, [
1038
- vue.createVNode(vue.unref(_sfc_main$r), {
1039
- icon: icons.location
1040
- }, null, 8, ["icon"]),
1041
- vue.createTextVNode(" " + vue.toDisplayString(__props.calendarEvent.location), 1)
1042
- ])) : vue.createCommentVNode("", true)
874
+ vue.createElementVNode("div", _hoisted_2$N, [
875
+ eventTime.value && !__props.calendarEvent.originalEvent ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$D, [
876
+ vue.createVNode(vue.unref(_sfc_main$r), {
877
+ icon: icons.clock,
878
+ size: 0.8
879
+ }, null, 8, ["icon"]),
880
+ vue.createTextVNode(" " + vue.toDisplayString(eventTime.value), 1)
881
+ ])) : vue.createCommentVNode("", true),
882
+ __props.calendarEvent.location ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4$r, [
883
+ vue.createVNode(vue.unref(_sfc_main$r), {
884
+ icon: icons.location,
885
+ size: 1
886
+ }, null, 8, ["icon"]),
887
+ vue.createTextVNode(" " + vue.toDisplayString(__props.calendarEvent.location), 1)
888
+ ])) : vue.createCommentVNode("", true)
889
+ ]),
890
+ vue.createElementVNode("div", null, [
891
+ vue.createElementVNode("div", _hoisted_5$n, vue.toDisplayString(__props.calendarEvent.title), 1),
892
+ __props.calendarEvent.with ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$j, [
893
+ vue.createVNode(vue.unref(_sfc_main$r), {
894
+ icon: icons.user
895
+ }, null, 8, ["icon"]),
896
+ vue.createTextVNode(" " + vue.toDisplayString(__props.calendarEvent.with), 1)
897
+ ])) : vue.createCommentVNode("", true)
898
+ ])
1043
899
  ], 8, _hoisted_1$12);
1044
900
  };
1045
901
  }
1046
902
  });
1047
- const AgendaEventTile = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-7667cd3d"]]);
903
+ const AgendaEventTile = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__scopeId", "data-v-5740437b"]]);
1048
904
  const _hoisted_1$11 = { class: "agenda__wrapper grid align-items-start gap-1 h-100p" };
1049
- const _hoisted_2$M = { class: "" };
905
+ const _hoisted_2$M = { class: "m_sticky" };
1050
906
  const _hoisted_3$C = { class: "agenda__header-day-name txt-center" };
1051
907
  const _hoisted_4$q = { class: "agenda__header-date flex justify-content-center rounded p-025 txt24 line-height-04" };
1052
- const _hoisted_5$m = { class: "agenda__content flex column w-100p h-100p min-h-100px pt-05 border-start ps-1" };
908
+ const _hoisted_5$m = { class: "agenda__content flex column w-100p h-100p min-h-100px pt-05 border-start ps-1 m_pt-0 min-h-50px" };
1053
909
  const _hoisted_6$i = {
1054
910
  key: 0,
1055
911
  class: "align-items-center flex justify-content-center h-100p opacity-6"
@@ -1080,7 +936,7 @@ const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
1080
936
  return (_ctx, _cache) => {
1081
937
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$11, [
1082
938
  vue.createElementVNode("header", _hoisted_2$M, [
1083
- vue.createElementVNode("div", _hoisted_3$C, vue.toDisplayString(__props.day.dayName), 1),
939
+ vue.createElementVNode("div", _hoisted_3$C, vue.toDisplayString(__props.day.dayName.slice(0, 3)), 1),
1084
940
  vue.createElementVNode("div", _hoisted_4$q, vue.toDisplayString(__props.day.dateTimeString.substring(8, 10)), 1)
1085
941
  ]),
1086
942
  vue.createElementVNode("div", _hoisted_5$m, [
@@ -1101,7 +957,7 @@ const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
1101
957
  };
1102
958
  }
1103
959
  });
1104
- const AgendaEvents = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-8084d3c8"]]);
960
+ const AgendaEvents = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__scopeId", "data-v-746fe0c6"]]);
1105
961
  class EDate extends Date {
1106
962
  get fullYear() {
1107
963
  return this.getFullYear();
@@ -1842,14 +1698,14 @@ const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
1842
1698
  emits: ["hide", "editEvent", "deleteEvent"],
1843
1699
  setup(__props, { emit: __emit }) {
1844
1700
  vue.useCssVars((_ctx) => ({
1845
- "34f9e9aa": flyoutWidth
1701
+ "82e0d6e0": flyoutWidth
1846
1702
  }));
1847
1703
  const props2 = __props;
1848
1704
  const emit2 = __emit;
1849
1705
  const eventFlyoutPositionHelper = new EventFlyoutPosition();
1850
1706
  const isVisible = vue.ref(false);
1851
1707
  const top2 = vue.ref(0);
1852
- const left2 = vue.ref(0);
1708
+ const insetInlineEnd = vue.ref(0);
1853
1709
  const calendarEvent = vue.ref(props2.calendarEventProp);
1854
1710
  const flyoutWidth = `${EVENT_FLYOUT_WIDTH}px`;
1855
1711
  const colors = EVENT_COLORS;
@@ -1889,7 +1745,7 @@ const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
1889
1745
  return `${dateString} ⋅ ${timeString}`;
1890
1746
  });
1891
1747
  const eventFlyoutInlineStyles = vue.computed(() => {
1892
- if (typeof top2.value === "number" && !left2.value) {
1748
+ if (typeof top2.value === "number" && !insetInlineEnd.value) {
1893
1749
  return {
1894
1750
  top: `${top2.value}px`,
1895
1751
  left: "50%",
@@ -1899,7 +1755,7 @@ const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
1899
1755
  }
1900
1756
  return {
1901
1757
  top: `${top2.value}px`,
1902
- left: `${left2.value}px`,
1758
+ insetInlineEnd: `${insetInlineEnd.value}px`,
1903
1759
  position: "fixed"
1904
1760
  };
1905
1761
  });
@@ -1928,7 +1784,7 @@ const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
1928
1784
  calendar ? calendar.getBoundingClientRect() : null
1929
1785
  );
1930
1786
  top2.value = typeof (flyoutPosition == null ? void 0 : flyoutPosition.top) === "number" ? flyoutPosition.top : null;
1931
- left2.value = typeof (flyoutPosition == null ? void 0 : flyoutPosition.left) === "number" ? flyoutPosition.left : null;
1787
+ insetInlineEnd.value = typeof (flyoutPosition == null ? void 0 : flyoutPosition.left) === "number" ? flyoutPosition.left : null;
1932
1788
  }
1933
1789
  function editEvent() {
1934
1790
  var _a2;
@@ -2321,7 +2177,7 @@ const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
2321
2177
  };
2322
2178
  }
2323
2179
  });
2324
- const Day$1 = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-de994cfd"]]);
2180
+ const Day$1 = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["__scopeId", "data-v-c1dfa100"]]);
2325
2181
  const _hoisted_1$Z = { class: "txt12 normal block color-black pb-025" };
2326
2182
  const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
2327
2183
  __name: "WeekDay",
@@ -2339,7 +2195,7 @@ const _hoisted_2$I = { class: "flex space-between" };
2339
2195
  const _hoisted_3$y = { class: "calendar-month__weeks h-100p flex-grow flex flex-stretch column space-between" };
2340
2196
  const _hoisted_4$m = {
2341
2197
  key: 0,
2342
- class: "calendar-month__day_events w-100p pt-1"
2198
+ class: "calendar-month__day_events w-100p pt-1 m_pb-1"
2343
2199
  };
2344
2200
  const _sfc_main$17 = /* @__PURE__ */ vue.defineComponent({
2345
2201
  __name: "Month",
@@ -2843,12 +2699,12 @@ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
2843
2699
  return !!(props2.eventProp.disableResize && props2.eventProp.disableResize.includes(props2.mode));
2844
2700
  });
2845
2701
  const requiredStyles = vue.computed(() => ({
2846
- top: getPositionInDay(event.value.time.start),
2847
- height: getLengthOfEvent(event.value.time.start, event.value.time.end),
2848
- left: `${getLeftRule.value}%`,
2849
- width: `${getWidthRule.value}%`,
2850
- transform: eventTransformValue.value,
2851
- zIndex: eventZIndexValue.value
2702
+ "top": getPositionInDay(event.value.time.start),
2703
+ "height": getLengthOfEvent(event.value.time.start, event.value.time.end),
2704
+ "inset-inline-start": `${getInlineStartRule.value}%`,
2705
+ "width": `${getWidthRule.value}%`,
2706
+ "transform": eventTransformValue.value,
2707
+ "zIndex": eventZIndexValue.value
2852
2708
  }));
2853
2709
  function getPositionInDay(dateTimeString) {
2854
2710
  return `${props2.time.getPercentageOfDayFromDateTimeString(dateTimeString, props2.time.DAY_START, props2.time.DAY_END).toString()}%`;
@@ -3147,7 +3003,7 @@ const _sfc_main$16 = /* @__PURE__ */ vue.defineComponent({
3147
3003
  };
3148
3004
  }
3149
3005
  });
3150
- const DayEvent = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-6b5ab9be"]]);
3006
+ const DayEvent = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["__scopeId", "data-v-9fd5622b"]]);
3151
3007
  const _hoisted_1$W = ["id", "onClick"];
3152
3008
  const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
3153
3009
  __name: "Day",
@@ -3293,8 +3149,8 @@ const _sfc_main$15 = /* @__PURE__ */ vue.defineComponent({
3293
3149
  }
3294
3150
  });
3295
3151
  const Day = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["__scopeId", "data-v-87669cec"]]);
3296
- const _hoisted_1$V = { class: "day-timeline" };
3297
- const _hoisted_2$G = { class: "day-timeline__hour-text" };
3152
+ const _hoisted_1$V = { class: "day-timeline absolute top-0 start-0 space-evenly column display-flex" };
3153
+ const _hoisted_2$G = { class: "day-timeline__hour-text line-height-0" };
3298
3154
  const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
3299
3155
  __name: "DayTimeline",
3300
3156
  props: {
@@ -3309,7 +3165,7 @@ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
3309
3165
  },
3310
3166
  setup(__props) {
3311
3167
  vue.useCssVars((_ctx) => ({
3312
- "73f3c772": __props.weekHeight
3168
+ "399901d6": __props.weekHeight
3313
3169
  }));
3314
3170
  const props2 = __props;
3315
3171
  const timelineHours = vue.ref([]);
@@ -3325,7 +3181,7 @@ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
3325
3181
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(timelineHours.value, (hour) => {
3326
3182
  return vue.openBlock(), vue.createElementBlock("div", {
3327
3183
  key: hour,
3328
- class: "day-timeline__hour"
3184
+ class: "day-timeline__hour display-flex column ustify-content-start h-100p ps-05"
3329
3185
  }, [
3330
3186
  vue.createElementVNode("span", _hoisted_2$G, vue.toDisplayString(getLocaleTimeString(hour)), 1)
3331
3187
  ]);
@@ -3334,7 +3190,7 @@ const _sfc_main$14 = /* @__PURE__ */ vue.defineComponent({
3334
3190
  };
3335
3191
  }
3336
3192
  });
3337
- const DayTimeline = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-a4d8d28d"]]);
3193
+ const DayTimeline = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["__scopeId", "data-v-0b3de5c5"]]);
3338
3194
  const _hoisted_1$U = ["id"];
3339
3195
  const _hoisted_2$F = {
3340
3196
  key: 1,
@@ -3411,7 +3267,7 @@ const _sfc_main$13 = /* @__PURE__ */ vue.defineComponent({
3411
3267
  };
3412
3268
  }
3413
3269
  });
3414
- const FullDayEvent = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-489753e0"]]);
3270
+ const FullDayEvent = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["__scopeId", "data-v-8bd51337"]]);
3415
3271
  const _hoisted_1$T = {
3416
3272
  class: "week-timeline flex space-between border-bottom ms-3-5",
3417
3273
  style: { "margin-inline-end": "0.5em" }
@@ -3514,7 +3370,7 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
3514
3370
  ],
3515
3371
  setup(__props, { emit: __emit }) {
3516
3372
  vue.useCssVars((_ctx) => ({
3517
- "7ccd10f4": weekHeight.value
3373
+ "65a2ac84": weekHeight.value
3518
3374
  }));
3519
3375
  const props2 = __props;
3520
3376
  const emit2 = __emit;
@@ -3776,7 +3632,7 @@ const _sfc_main$11 = /* @__PURE__ */ vue.defineComponent({
3776
3632
  };
3777
3633
  }
3778
3634
  });
3779
- const Week = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-f1208dd2"]]);
3635
+ const Week = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__scopeId", "data-v-f1a405b2"]]);
3780
3636
  const _Errors = class _Errors {
3781
3637
  static checkEventProperties(event) {
3782
3638
  var _a2, _b, _c, _d;
@@ -40791,8 +40647,7 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
40791
40647
  let loadingError = vue.ref(false);
40792
40648
  function getImageUrl() {
40793
40649
  if (!props2.src && !props2.pathKey) return null;
40794
- if (props2.src) return props2.src;
40795
- return pathKeyToURL(props2.pathKey);
40650
+ return pathKeyToURL(props2.src || props2.pathKey);
40796
40651
  }
40797
40652
  async function getCachedImage(url) {
40798
40653
  if (!("caches" in window)) return null;
@@ -40891,7 +40746,7 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
40891
40746
  };
40892
40747
  }
40893
40748
  });
40894
- const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-1cec7fb3"]]);
40749
+ const Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-367220b6"]]);
40895
40750
  const _hoisted_1$i = { class: "m-0 pb-025 txt14 line-height-1 w60 menu-text" };
40896
40751
  const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
40897
40752
  __name: "BottomMenu",
@@ -43941,7 +43796,7 @@ function openClickHandler(e, el, binding) {
43941
43796
  }
43942
43797
  function bindingToItem(binding, el) {
43943
43798
  let { group, src, type: type3, name, thumbnail, enableZoom, openFile, download, pathKey } = binding.value || {};
43944
- src = src || pathKeyToURL(pathKey) || binding.value || el.getAttribute("src") || "";
43799
+ src = pathKeyToURL(src || pathKey) || binding.value || el.getAttribute("src") || "";
43945
43800
  type3 = type3 || determineFileType(src);
43946
43801
  name = name || urlToName(src) || el.getAttribute("alt") || "";
43947
43802
  return { src, type: type3, name, thumbnail, group, enableZoom, openFile, download };
@@ -44493,7 +44348,9 @@ function normalizeDimension(value, defaultMetric = "px") {
44493
44348
  const fileBaseUrl = "https://files.bagel.design".replace(/\/$/, "");
44494
44349
  const bagelBaseUrl = void 0;
44495
44350
  function pathKeyToURL(pathKey) {
44496
- if (pathKey == null ? void 0 : pathKey.startsWith("static/")) {
44351
+ const urlRE = /^https?:\/\/|^\/\//;
44352
+ if (!pathKey || urlRE.test(pathKey)) return pathKey;
44353
+ if (pathKey.startsWith("static/")) {
44497
44354
  return `${bagelBaseUrl}/${pathKey}`;
44498
44355
  }
44499
44356
  return `${fileBaseUrl}/${pathKey}`;
@@ -45024,15 +44881,14 @@ function timeAgo(date2, lang = "en") {
45024
44881
  }
45025
44882
  return selectedLang.justNow;
45026
44883
  }
45027
- exports.Accordion = _sfc_main$1n;
44884
+ exports.Accordion = _sfc_main$1m;
45028
44885
  exports.AccordionItem = AccordionItem;
45029
- exports.AddressSearch = _sfc_main$1l;
44886
+ exports.AddressSearch = _sfc_main$1k;
45030
44887
  exports.Alert = Alert;
45031
44888
  exports.Avatar = Avatar;
45032
44889
  exports.Badge = Badge;
45033
44890
  exports.BagelForm = _sfc_main$S;
45034
44891
  exports.BagelVue = BagelVue;
45035
- exports.BglComponent = _sfc_main$1g;
45036
44892
  exports.BglForm = _sfc_main$S;
45037
44893
  exports.BglVideo = BglVideo;
45038
44894
  exports.BottomMenu = BottomMenu;