@cocoar/vue-ui 2.2.0 → 2.3.0

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.js CHANGED
@@ -573,9 +573,11 @@ var Ce = Symbol.for("coar:form-field"), we = ["id", "for"], Te = {
573
573
  folder: "<svg class=\"lucide lucide-folder\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" ><path d=\"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z\" /></svg>",
574
574
  globe: "<svg class=\"lucide lucide-globe\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" ><circle cx=\"12\" cy=\"12\" r=\"10\" /><path d=\"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20\" /><path d=\"M2 12h20\" /></svg>",
575
575
  "grip-vertical": "<svg class=\"lucide lucide-grip-vertical\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" ><circle cx=\"9\" cy=\"12\" r=\"1\" /><circle cx=\"9\" cy=\"5\" r=\"1\" /><circle cx=\"9\" cy=\"19\" r=\"1\" /><circle cx=\"15\" cy=\"12\" r=\"1\" /><circle cx=\"15\" cy=\"5\" r=\"1\" /><circle cx=\"15\" cy=\"19\" r=\"1\" /></svg>",
576
+ hand: "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-hand\"><path d=\"M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2\"/><path d=\"M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2\"/><path d=\"M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8\"/><path d=\"M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15\"/></svg>",
576
577
  hash: "<svg class=\"lucide lucide-hash\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" ><line x1=\"4\" x2=\"20\" y1=\"9\" y2=\"9\" /><line x1=\"4\" x2=\"20\" y1=\"15\" y2=\"15\" /><line x1=\"10\" x2=\"8\" y1=\"3\" y2=\"21\" /><line x1=\"16\" x2=\"14\" y1=\"3\" y2=\"21\" /></svg>",
577
578
  heading: "<svg class=\"lucide lucide-heading\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" ><path d=\"M6 12h12\" /><path d=\"M6 20V4\" /><path d=\"M18 20V4\" /></svg>",
578
579
  heart: "<svg class=\"lucide lucide-heart\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" ><path d=\"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5\" /></svg>",
580
+ highlighter: "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-highlighter\"><path d=\"m9 11-6 6v3h9l3-3\"/><path d=\"m22 12-4.6 4.6a2 2 0 0 1-2.8 0l-5.2-5.2a2 2 0 0 1 0-2.8L14 4\"/></svg>",
579
581
  home: "<svg class=\"lucide lucide-home\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" ><path d=\"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8\" /><path d=\"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z\" /></svg>",
580
582
  image: "<svg class=\"lucide lucide-image\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" ><rect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\" ry=\"2\" /><circle cx=\"9\" cy=\"9\" r=\"2\" /><path d=\"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21\" /></svg>",
581
583
  "indent-decrease": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-indent-decrease\"><polyline points=\"7 8 3 12 7 16\"/><line x1=\"21\" x2=\"11\" y1=\"12\" y2=\"12\"/><line x1=\"21\" x2=\"11\" y1=\"6\" y2=\"6\"/><line x1=\"21\" x2=\"11\" y1=\"18\" y2=\"18\"/></svg>",
@@ -602,6 +604,8 @@ var Ce = Symbol.for("coar:form-field"), we = ["id", "for"], Te = {
602
604
  moon: "<svg class=\"lucide lucide-moon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" ><path d=\"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401\" /></svg>",
603
605
  "more-horizontal": "<svg class=\"lucide lucide-more-horizontal\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" ><circle cx=\"12\" cy=\"12\" r=\"1\" /><circle cx=\"19\" cy=\"12\" r=\"1\" /><circle cx=\"5\" cy=\"12\" r=\"1\" /></svg>",
604
606
  "more-vertical": "<svg class=\"lucide lucide-more-vertical\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" ><circle cx=\"12\" cy=\"12\" r=\"1\" /><circle cx=\"12\" cy=\"5\" r=\"1\" /><circle cx=\"12\" cy=\"19\" r=\"1\" /></svg>",
607
+ "mouse-pointer-2": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-mouse-pointer-2\"><path d=\"M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z\"/></svg>",
608
+ "move-horizontal": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-move-horizontal\"><polyline points=\"18 8 22 12 18 16\"/><polyline points=\"6 8 2 12 6 16\"/><line x1=\"2\" x2=\"22\" y1=\"12\" y2=\"12\"/></svg>",
605
609
  "move-left": "<svg class=\"lucide lucide-move-left\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" ><path d=\"M6 8L2 12L6 16\" /><path d=\"M2 12H22\" /></svg>",
606
610
  "move-right": "<svg class=\"lucide lucide-move-right\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" ><path d=\"M18 8L22 12L18 16\" /><path d=\"M2 12H22\" /></svg>",
607
611
  palette: "<svg class=\"lucide lucide-palette\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" ><path d=\"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z\" /><circle cx=\"13.5\" cy=\"6.5\" r=\".5\" fill=\"currentColor\" /><circle cx=\"17.5\" cy=\"10.5\" r=\".5\" fill=\"currentColor\" /><circle cx=\"6.5\" cy=\"12.5\" r=\".5\" fill=\"currentColor\" /><circle cx=\"8.5\" cy=\"7.5\" r=\".5\" fill=\"currentColor\" /></svg>",
@@ -614,6 +618,8 @@ var Ce = Symbol.for("coar:form-field"), we = ["id", "for"], Te = {
614
618
  "qr-code": "<svg class=\"lucide lucide-qr-code\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" ><rect width=\"5\" height=\"5\" x=\"3\" y=\"3\" rx=\"1\" /><rect width=\"5\" height=\"5\" x=\"16\" y=\"3\" rx=\"1\" /><rect width=\"5\" height=\"5\" x=\"3\" y=\"16\" rx=\"1\" /><path d=\"M21 16h-3a2 2 0 0 0-2 2v3\" /><path d=\"M21 21v.01\" /><path d=\"M12 7v3a2 2 0 0 1-2 2H7\" /><path d=\"M3 12h.01\" /><path d=\"M12 3h.01\" /><path d=\"M12 16v.01\" /><path d=\"M16 12h1\" /><path d=\"M21 12v.01\" /><path d=\"M12 21v-1\" /></svg>",
615
619
  "redo-2": "<svg class=\"lucide lucide-redo-2\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" ><path d=\"m15 14 5-5-5-5\" /><path d=\"M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13\" /></svg>",
616
620
  "refresh-cw": "<svg class=\"lucide lucide-refresh-cw\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" ><path d=\"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8\" /><path d=\"M21 3v5h-5\" /><path d=\"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16\" /><path d=\"M8 16H3v5\" /></svg>",
621
+ "rotate-ccw": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-rotate-ccw\"><path d=\"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8\"/><path d=\"M3 3v5h5\"/></svg>",
622
+ "rotate-cw": "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-rotate-cw\"><path d=\"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8\"/><path d=\"M21 3v5h-5\"/></svg>",
617
623
  rows: "<svg class=\"lucide lucide-rows\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" ><rect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\" /><path d=\"M3 12h18\" /></svg>",
618
624
  save: "<svg class=\"lucide lucide-save\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" ><path d=\"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z\" /><path d=\"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7\" /><path d=\"M7 3v4a1 1 0 0 0 1 1h7\" /></svg>",
619
625
  "scan-line": "<svg class=\"lucide lucide-scan-line\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" ><path d=\"M3 7V5a2 2 0 0 1 2-2h2\" /><path d=\"M17 3h2a2 2 0 0 1 2 2v2\" /><path d=\"M21 17v2a2 2 0 0 1-2 2h-2\" /><path d=\"M7 21H5a2 2 0 0 1-2-2v-2\" /><path d=\"M7 12h10\" /></svg>",
@@ -637,6 +643,7 @@ var Ce = Symbol.for("coar:form-field"), we = ["id", "for"], Te = {
637
643
  "text-quote": "<svg class=\"lucide lucide-text-quote\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" ><path d=\"M17 5H3\" /><path d=\"M21 12H8\" /><path d=\"M21 19H8\" /><path d=\"M3 12v7\" /></svg>",
638
644
  "trash-2": "<svg class=\"lucide lucide-trash-2\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" ><path d=\"M10 11v6\" /><path d=\"M14 11v6\" /><path d=\"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6\" /><path d=\"M3 6h18\" /><path d=\"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\" /></svg>",
639
645
  "triangle-alert": "<svg class=\"lucide lucide-triangle-alert\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" ><path d=\"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3\" /><path d=\"M12 9v4\" /><path d=\"M12 17h.01\" /></svg>",
646
+ type: "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-type\"><polyline points=\"4 7 4 4 20 4 20 7\"/><line x1=\"9\" x2=\"15\" y1=\"20\" y2=\"20\"/><line x1=\"12\" x2=\"12\" y1=\"4\" y2=\"20\"/></svg>",
640
647
  "undo-2": "<svg class=\"lucide lucide-undo-2\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" ><path d=\"M9 14 4 9l5-5\" /><path d=\"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11\" /></svg>",
641
648
  unlink: "<svg class=\"lucide lucide-unlink\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" ><path d=\"m18.84 12.25 1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07 5.006 5.006 0 0 0-6.95 0l-1.72 1.71\" /><path d=\"m5.17 11.75-1.71 1.71a5.004 5.004 0 0 0 .12 7.07 5.006 5.006 0 0 0 6.95 0l1.71-1.71\" /><line x1=\"8\" x2=\"8\" y1=\"2\" y2=\"5\" /><line x1=\"2\" x2=\"5\" y1=\"8\" y2=\"8\" /><line x1=\"16\" x2=\"16\" y1=\"19\" y2=\"22\" /><line x1=\"19\" x2=\"22\" y1=\"16\" y2=\"16\" /></svg>",
642
649
  unlock: "<svg class=\"lucide lucide-unlock\" xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" ><rect width=\"18\" height=\"11\" x=\"3\" y=\"11\" rx=\"2\" ry=\"2\" /><path d=\"M7 11V7a5 5 0 0 1 9.9-1\" /></svg>",
@@ -8660,6 +8667,7 @@ var wu = {
8660
8667
  }), [["__scopeId", "data-v-13d4d08e"]]), Ou = [
8661
8668
  "href",
8662
8669
  "aria-disabled",
8670
+ "aria-current",
8663
8671
  "tabindex",
8664
8672
  "onClick"
8665
8673
  ], ku = {
@@ -8668,11 +8676,16 @@ var wu = {
8668
8676
  }, Au = { class: "coar-menu-item__label" }, ju = [
8669
8677
  "href",
8670
8678
  "aria-disabled",
8679
+ "aria-current",
8671
8680
  "tabindex"
8672
8681
  ], Mu = {
8673
8682
  class: "coar-menu-item__icon",
8674
8683
  "aria-hidden": "true"
8675
- }, Nu = { class: "coar-menu-item__label" }, Pu = ["aria-disabled", "tabindex"], Fu = {
8684
+ }, Nu = { class: "coar-menu-item__label" }, Pu = [
8685
+ "aria-disabled",
8686
+ "aria-current",
8687
+ "tabindex"
8688
+ ], Fu = {
8676
8689
  class: "coar-menu-item__icon",
8677
8690
  "aria-hidden": "true"
8678
8691
  }, Iu = { class: "coar-menu-item__label" }, Lu = /* @__PURE__ */ X(/* @__PURE__ */ d({
@@ -8681,6 +8694,10 @@ var wu = {
8681
8694
  label: { default: void 0 },
8682
8695
  icon: { default: void 0 },
8683
8696
  to: { default: void 0 },
8697
+ active: {
8698
+ type: Boolean,
8699
+ default: void 0
8700
+ },
8684
8701
  disabled: {
8685
8702
  type: Boolean,
8686
8703
  default: !1
@@ -8690,25 +8707,35 @@ var wu = {
8690
8707
  setup(t, { emit: n }) {
8691
8708
  let a = t, c = n, d = Cu(), f = m(yu, void 0), p = O(null), { RouterLink: h, hasRouterLink: g, warnIfMisconfigured: _ } = Ge();
8692
8709
  U(() => a.to, (e) => _(e, "CoarMenuItem"), { immediate: !0 });
8693
- let v = r(() => a.to !== void 0 && a.to !== null), b = null;
8710
+ let v = r(() => a.to !== void 0 && a.to !== null);
8711
+ function b(e) {
8712
+ return {
8713
+ "coar-menu-item--active": a.active ?? e,
8714
+ "coar-menu-item--disabled": a.disabled
8715
+ };
8716
+ }
8717
+ function x(e) {
8718
+ return a.active ?? e ? "page" : void 0;
8719
+ }
8720
+ let T = null;
8694
8721
  C(() => {
8695
8722
  if (f && p.value) {
8696
8723
  let e = {
8697
8724
  el: p.value,
8698
8725
  disabled: a.disabled
8699
8726
  };
8700
- b = f.register(e), U(() => a.disabled, (t) => {
8727
+ T = f.register(e), U(() => a.disabled, (t) => {
8701
8728
  e.disabled = t;
8702
8729
  });
8703
8730
  }
8704
8731
  }), S(() => {
8705
- b?.();
8732
+ T?.();
8706
8733
  });
8707
- let x = r(() => a.disabled ? -1 : f ? f.items.value.findIndex((e) => e.el === p.value) === f.activeIndex.value ? 0 : -1 : 0);
8708
- function T(e) {
8734
+ let E = r(() => a.disabled ? -1 : f ? f.items.value.findIndex((e) => e.el === p.value) === f.activeIndex.value ? 0 : -1 : 0);
8735
+ function D(e) {
8709
8736
  return e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || e.button !== 0;
8710
8737
  }
8711
- function E(e) {
8738
+ function k(e) {
8712
8739
  let t = !0;
8713
8740
  return c("clicked", {
8714
8741
  event: e,
@@ -8717,30 +8744,30 @@ var wu = {
8717
8744
  }
8718
8745
  }), { shouldClose: t };
8719
8746
  }
8720
- function D(e) {
8747
+ function M(e) {
8721
8748
  if (a.disabled) {
8722
8749
  e.preventDefault(), e.stopPropagation();
8723
8750
  return;
8724
8751
  }
8725
8752
  e.stopPropagation();
8726
- let { shouldClose: t } = E(e);
8753
+ let { shouldClose: t } = k(e);
8727
8754
  t && d && queueMicrotask(() => d());
8728
8755
  }
8729
- function k(e, t) {
8756
+ function N(e, t) {
8730
8757
  if (a.disabled) {
8731
8758
  e.preventDefault(), e.stopPropagation();
8732
8759
  return;
8733
8760
  }
8734
- let n = T(e), { shouldClose: r } = E(e);
8761
+ let n = D(e), { shouldClose: r } = k(e);
8735
8762
  !n && t && t(e), r && d && !n && queueMicrotask(() => d());
8736
8763
  }
8737
- function M(e) {
8764
+ function F(e) {
8738
8765
  if (e.key !== "Enter" && e.key !== " " || a.disabled || v.value && e.key === "Enter") return;
8739
8766
  if (e.preventDefault(), v.value && p.value) {
8740
8767
  p.value.click();
8741
8768
  return;
8742
8769
  }
8743
- let { shouldClose: t } = E(new MouseEvent("click"));
8770
+ let { shouldClose: t } = k(new MouseEvent("click"));
8744
8771
  t && d && queueMicrotask(() => d());
8745
8772
  }
8746
8773
  return (n, r) => v.value && L(g) ? (w(), i(j(L(h)), {
@@ -8748,16 +8775,17 @@ var wu = {
8748
8775
  to: t.to,
8749
8776
  custom: ""
8750
8777
  }, {
8751
- default: G(({ href: t, navigate: r }) => [s("a", {
8778
+ default: G(({ href: t, isActive: r, navigate: i }) => [s("a", {
8752
8779
  ref_key: "itemRef",
8753
8780
  ref: p,
8754
8781
  role: "menuitem",
8755
8782
  href: t,
8756
- class: y(["coar-menu-item", { "coar-menu-item--disabled": a.disabled }]),
8783
+ class: y(["coar-menu-item", b(r)]),
8757
8784
  "aria-disabled": a.disabled || void 0,
8758
- tabindex: x.value,
8759
- onClick: (e) => k(e, r),
8760
- onKeydown: M
8785
+ "aria-current": x(r),
8786
+ tabindex: E.value,
8787
+ onClick: (e) => N(e, i),
8788
+ onKeydown: F
8761
8789
  }, [s("span", ku, [u(Z, {
8762
8790
  name: a.icon || "square-dashed",
8763
8791
  size: "s"
@@ -8769,11 +8797,12 @@ var wu = {
8769
8797
  ref: p,
8770
8798
  role: "menuitem",
8771
8799
  href: String(t.to),
8772
- class: y(["coar-menu-item", { "coar-menu-item--disabled": a.disabled }]),
8800
+ class: y(["coar-menu-item", b(!1)]),
8773
8801
  "aria-disabled": a.disabled || void 0,
8774
- tabindex: x.value,
8775
- onClick: k,
8776
- onKeydown: M
8802
+ "aria-current": x(!1),
8803
+ tabindex: E.value,
8804
+ onClick: N,
8805
+ onKeydown: F
8777
8806
  }, [s("span", Mu, [u(Z, {
8778
8807
  name: a.icon || "square-dashed",
8779
8808
  size: "s"
@@ -8782,17 +8811,18 @@ var wu = {
8782
8811
  ref_key: "itemRef",
8783
8812
  ref: p,
8784
8813
  role: "menuitem",
8785
- class: y(["coar-menu-item", { "coar-menu-item--disabled": a.disabled }]),
8814
+ class: y(["coar-menu-item", b(!1)]),
8786
8815
  "aria-disabled": a.disabled || void 0,
8787
- tabindex: x.value,
8788
- onClick: D,
8789
- onKeydown: M
8816
+ "aria-current": x(!1),
8817
+ tabindex: E.value,
8818
+ onClick: M,
8819
+ onKeydown: F
8790
8820
  }, [s("span", Fu, [u(Z, {
8791
8821
  name: a.icon || "square-dashed",
8792
8822
  size: "s"
8793
8823
  }, null, 8, ["name"])]), s("span", Iu, [a.label ? (w(), o(e, { key: 0 }, [l(P(a.label), 1)], 64)) : A(n.$slots, "default", { key: 1 }, void 0, !0)])], 42, Pu));
8794
8824
  }
8795
- }), [["__scopeId", "data-v-c329f6e6"]]), Ru = {}, zu = {
8825
+ }), [["__scopeId", "data-v-8edc345f"]]), Ru = {}, zu = {
8796
8826
  role: "separator",
8797
8827
  class: "coar-menu-divider"
8798
8828
  };
@@ -9849,6 +9879,14 @@ var Id = Symbol("sidebar-collapsed"), Ld = Symbol("sidebar-icon-size"), Rd = Sym
9849
9879
  openOnHover: {
9850
9880
  type: Boolean,
9851
9881
  default: !1
9882
+ },
9883
+ splitTrigger: {
9884
+ type: Boolean,
9885
+ default: !1
9886
+ },
9887
+ active: {
9888
+ type: Boolean,
9889
+ default: !1
9852
9890
  }
9853
9891
  }, {
9854
9892
  open: {
@@ -9857,76 +9895,80 @@ var Id = Symbol("sidebar-collapsed"), Ld = Symbol("sidebar-icon-size"), Rd = Sym
9857
9895
  },
9858
9896
  openModifiers: {}
9859
9897
  }),
9860
- emits: ["update:open"],
9861
- setup(e) {
9862
- let t = `coar-sidebar-group-${R()}`, n = e, i = z(e, "open"), c = m(Id, O(!1)), l = m(Ld, O("m")), d = m(Rd, O("left")), f = r(() => Fd(d.value)), p = m(zd, O(!1)), g = r(() => n.iconOnly ?? p.value), _ = r(() => i.value), v = r(() => n.mode === "flyout"), b = B(), x = O(!1), C = O(null), T = null, E = null, D = null, k = m(Bd, null), j = {
9898
+ emits: /* @__PURE__ */ g(["triggerClick"], ["update:open"]),
9899
+ setup(e, { emit: t }) {
9900
+ let n = `coar-sidebar-group-${R()}`, i = e, c = t, l = z(e, "open"), d = m(Id, O(!1)), f = m(Ld, O("m")), p = m(Rd, O("left")), g = r(() => Fd(p.value)), _ = m(zd, O(!1)), v = r(() => i.iconOnly ?? _.value), b = r(() => l.value), x = r(() => i.mode === "flyout"), C = B(), T = O(!1), E = O(null), D = null, k = null, j = null, M = m(Bd, null), N = {
9863
9901
  cancelClose: () => {
9864
- ae(), k?.cancelClose();
9902
+ se(), M?.cancelClose();
9865
9903
  },
9866
9904
  scheduleClose: () => {
9867
- ie(), k?.scheduleClose();
9905
+ oe(), M?.scheduleClose();
9868
9906
  }
9869
- }, M = r(() => p.value && !c.value), N = r(() => {
9870
- switch (d.value) {
9907
+ }, F = r(() => _.value && !d.value), I = r(() => {
9908
+ switch (p.value) {
9871
9909
  case "right": return "left";
9872
9910
  case "top": return "bottom";
9873
9911
  case "bottom": return "top";
9874
9912
  default: return "right";
9875
9913
  }
9876
- }), F = r(() => M.value ? v.value && x.value || !v.value && _.value ? !1 : {
9877
- content: n.label,
9878
- placement: N.value,
9914
+ }), V = r(() => F.value ? x.value && T.value || !x.value && b.value ? !1 : {
9915
+ content: i.label,
9916
+ placement: I.value,
9879
9917
  openDelay: 100
9880
- } : !c.value || v.value && x.value ? !1 : {
9881
- content: n.label,
9882
- placement: N.value,
9918
+ } : !d.value || x.value && T.value ? !1 : {
9919
+ content: i.label,
9920
+ placement: I.value,
9883
9921
  openDelay: 200
9884
- }), I = r(() => {
9885
- switch (d.value) {
9922
+ }), H = r(() => {
9923
+ switch (p.value) {
9886
9924
  case "right": return "chevron-left";
9887
9925
  case "top": return "chevron-down";
9888
9926
  case "bottom": return "chevron-up";
9889
9927
  default: return "chevron-right";
9890
9928
  }
9891
- }), V = r(() => f.value === "horizontal" && d.value === "top" ? "chevron-up" : "chevron-down");
9892
- function H(e) {
9893
- if (n.disabled) {
9929
+ }), W = r(() => g.value === "horizontal" && p.value === "top" ? "chevron-up" : "chevron-down");
9930
+ function G(e) {
9931
+ if (i.disabled) {
9894
9932
  e.preventDefault(), e.stopPropagation();
9895
9933
  return;
9896
9934
  }
9897
- if (v.value) {
9898
- x.value ? re() : ne();
9935
+ if (i.splitTrigger && x.value) {
9936
+ c("triggerClick", e);
9899
9937
  return;
9900
9938
  }
9901
- i.value = !i.value;
9939
+ if (x.value) {
9940
+ T.value ? ae() : ie();
9941
+ return;
9942
+ }
9943
+ l.value = !l.value;
9902
9944
  }
9903
- let W = dr();
9904
- function G() {
9905
- return b.default?.();
9945
+ let q = dr();
9946
+ function J() {
9947
+ return C.default?.();
9906
9948
  }
9907
- let q = r(() => {
9908
- switch (d.value) {
9949
+ let ne = r(() => {
9950
+ switch (p.value) {
9909
9951
  case "right": return ["left-start", "right-start"];
9910
9952
  case "top": return ["bottom-start", "top-start"];
9911
9953
  case "bottom": return ["top-start", "bottom-start"];
9912
9954
  default: return ["right-start", "left-start"];
9913
9955
  }
9914
9956
  });
9915
- function J(e) {
9957
+ function re(e) {
9916
9958
  let t = e.getBoundingClientRect(), n = e.closest(".coar-sidebar") ?? e.closest(".coar-sidebar-flyout");
9917
9959
  if (!n) return 0;
9918
9960
  let r = n.getBoundingClientRect();
9919
- switch (d.value) {
9961
+ switch (p.value) {
9920
9962
  case "right": return t.left - r.left;
9921
9963
  case "top": return r.bottom - t.bottom;
9922
9964
  case "bottom": return t.top - r.top;
9923
9965
  default: return r.right - t.right;
9924
9966
  }
9925
9967
  }
9926
- function ne() {
9927
- if (!C.value || D) return;
9928
- ae(), k?.cancelClose(), x.value = !0;
9929
- let e = C.value, r = J(e), i = pr().open({
9968
+ function ie() {
9969
+ if (!E.value || j) return;
9970
+ se(), M?.cancelClose(), T.value = !0;
9971
+ let e = E.value, t = re(e), r = pr().open({
9930
9972
  spec: {
9931
9973
  ...wr,
9932
9974
  anchor: {
@@ -9934,8 +9976,8 @@ var Id = Symbol("sidebar-collapsed"), Ld = Symbol("sidebar-icon-size"), Rd = Sym
9934
9976
  element: e
9935
9977
  },
9936
9978
  position: {
9937
- placement: q.value,
9938
- offset: -4 + r,
9979
+ placement: ne.value,
9980
+ offset: -4 + t,
9939
9981
  flip: !0,
9940
9982
  shift: !0
9941
9983
  }
@@ -9945,93 +9987,99 @@ var Id = Symbol("sidebar-collapsed"), Ld = Symbol("sidebar-icon-size"), Rd = Sym
9945
9987
  component: h(sf)
9946
9988
  },
9947
9989
  inputs: {
9948
- id: t,
9949
- label: n.label,
9950
- iconOnly: g.value,
9951
- parentControl: j,
9952
- renderContent: G,
9990
+ id: n,
9991
+ label: i.label,
9992
+ iconOnly: v.value,
9993
+ parentControl: N,
9994
+ renderContent: J,
9953
9995
  onFlyoutEnter: () => {
9954
- ae(), k?.cancelClose();
9996
+ se(), M?.cancelClose();
9955
9997
  },
9956
- onFlyoutLeave: () => ie()
9998
+ onFlyoutLeave: () => oe()
9957
9999
  },
9958
- parent: W
10000
+ parent: q
9959
10001
  });
9960
- D = i, i.afterClosed.then(() => {
9961
- D === i && (D = null, x.value = !1, ae(), se());
10002
+ j = r, r.afterClosed.then(() => {
10003
+ j === r && (j = null, T.value = !1, se(), ce());
9962
10004
  });
9963
10005
  }
9964
- function re() {
9965
- ae(), x.value = !1;
9966
- let e = D;
9967
- D = null, e && !e.isClosed && e.close();
9968
- }
9969
- function ie() {
9970
- ae(), T = setTimeout(() => re(), 300);
9971
- }
9972
10006
  function ae() {
9973
- T &&= (clearTimeout(T), null);
10007
+ se(), T.value = !1;
10008
+ let e = j;
10009
+ j = null, e && !e.isClosed && e.close();
9974
10010
  }
9975
10011
  function oe() {
9976
- se(), E = setTimeout(() => ne(), 200);
10012
+ se(), D = setTimeout(() => ae(), 300);
9977
10013
  }
9978
10014
  function se() {
9979
- E &&= (clearTimeout(E), null);
10015
+ D &&= (clearTimeout(D), null);
9980
10016
  }
9981
10017
  function Y() {
9982
- x.value ? ae() : v.value && n.openOnHover && oe(), k?.cancelClose();
10018
+ ce(), k = setTimeout(() => ie(), 200);
9983
10019
  }
9984
10020
  function ce() {
9985
- se(), x.value && ie();
10021
+ k &&= (clearTimeout(k), null);
9986
10022
  }
9987
- return U(c, () => {
9988
- x.value && re();
10023
+ function le() {
10024
+ T.value ? se() : x.value && i.openOnHover && Y(), M?.cancelClose();
10025
+ }
10026
+ function ue() {
10027
+ ce(), T.value && oe();
10028
+ }
10029
+ return U(d, () => {
10030
+ T.value && ae();
9989
10031
  }), S(() => {
9990
- ae(), se(), D && !D.isClosed && D.close(), D = null;
9991
- }), (e, r) => (w(), o("div", { class: y(["coar-sidebar-group", [`coar-sidebar-group--${f.value}`, {
9992
- "coar-sidebar-group--collapsed": L(c),
9993
- "coar-sidebar-group--icon-only": M.value
9994
- }]]) }, [K((w(), o("div", {
10032
+ se(), ce(), j && !j.isClosed && j.close(), j = null;
10033
+ }), (e, t) => (w(), o("div", { class: y(["coar-sidebar-group", [
10034
+ `coar-sidebar-group--${g.value}`,
10035
+ `coar-sidebar-group--side-${L(p)}`,
10036
+ {
10037
+ "coar-sidebar-group--collapsed": L(d),
10038
+ "coar-sidebar-group--icon-only": F.value,
10039
+ "coar-sidebar-group--active": i.active
10040
+ }
10041
+ ]]) }, [K((w(), o("div", {
9995
10042
  ref_key: "triggerRef",
9996
- ref: C,
10043
+ ref: E,
9997
10044
  class: y(["coar-sidebar-group__trigger", {
9998
- "coar-sidebar-group__trigger--disabled": n.disabled,
9999
- "coar-sidebar-group__trigger--open": v.value ? x.value : _.value
10045
+ "coar-sidebar-group__trigger--disabled": i.disabled,
10046
+ "coar-sidebar-group__trigger--open": x.value ? T.value : b.value,
10047
+ "coar-sidebar-group__trigger--active": i.active
10000
10048
  }]),
10001
10049
  role: "menuitem",
10002
10050
  "aria-haspopup": "menu",
10003
- "aria-expanded": v.value ? x.value : _.value,
10004
- "aria-controls": t,
10005
- "aria-disabled": n.disabled || void 0,
10006
- tabindex: n.disabled ? -1 : 0,
10007
- onClick: H,
10008
- onKeydown: [ee(H, ["enter"]), ee(te(H, ["prevent"]), ["space"])],
10009
- onMouseenter: Y,
10010
- onMouseleave: ce
10051
+ "aria-expanded": x.value ? T.value : b.value,
10052
+ "aria-controls": n,
10053
+ "aria-disabled": i.disabled || void 0,
10054
+ tabindex: i.disabled ? -1 : 0,
10055
+ onClick: G,
10056
+ onKeydown: [ee(G, ["enter"]), ee(te(G, ["prevent"]), ["space"])],
10057
+ onMouseenter: le,
10058
+ onMouseleave: ue
10011
10059
  }, [
10012
10060
  s("span", lf, [u(Z, {
10013
- name: n.icon || "square-dashed",
10014
- size: L(l)
10061
+ name: i.icon || "square-dashed",
10062
+ size: L(f)
10015
10063
  }, null, 8, ["name", "size"]), s("span", uf, [u(Z, {
10016
- name: v.value ? x.value ? V.value : I.value : _.value ? "minus" : "plus",
10064
+ name: x.value ? T.value ? W.value : H.value : b.value ? "minus" : "plus",
10017
10065
  size: "xs"
10018
10066
  }, null, 8, ["name"])])]),
10019
- s("span", df, P(n.label), 1),
10067
+ s("span", df, P(i.label), 1),
10020
10068
  u(Z, {
10021
- name: v.value ? x.value ? V.value : I.value : _.value ? "minus" : "plus",
10069
+ name: x.value ? T.value ? W.value : H.value : b.value ? "minus" : "plus",
10022
10070
  size: "xs",
10023
10071
  class: "coar-sidebar-group__chevron",
10024
10072
  "aria-hidden": "true"
10025
10073
  }, null, 8, ["name"])
10026
- ], 42, cf)), [[L(vc), F.value]]), v.value ? a("", !0) : (w(), o("div", {
10074
+ ], 42, cf)), [[L(vc), V.value]]), x.value ? a("", !0) : (w(), o("div", {
10027
10075
  key: 0,
10028
- id: t,
10029
- class: y(["coar-sidebar-group__panel", { "coar-sidebar-group__panel--open": _.value }]),
10030
- "aria-hidden": !_.value || void 0,
10076
+ id: n,
10077
+ class: y(["coar-sidebar-group__panel", { "coar-sidebar-group__panel--open": b.value }]),
10078
+ "aria-hidden": !b.value || void 0,
10031
10079
  role: "group"
10032
10080
  }, [s("div", pf, [A(e.$slots, "default", {}, void 0, !0)])], 10, ff))], 2));
10033
10081
  }
10034
- }), [["__scopeId", "data-v-2eaf7f0e"]]), hf = {
10082
+ }), [["__scopeId", "data-v-898af6bb"]]), hf = {
10035
10083
  key: 0,
10036
10084
  class: "coar-sidebar-heading__text"
10037
10085
  }, gf = /* @__PURE__ */ X(/* @__PURE__ */ d({
@@ -10045,16 +10093,17 @@ var Id = Symbol("sidebar-collapsed"), Ld = Symbol("sidebar-icon-size"), Rd = Sym
10045
10093
  "aria-level": "3"
10046
10094
  }, [L(n) ? a("", !0) : (w(), o("span", hf, P(t.label), 1))], 2));
10047
10095
  }
10048
- }), [["__scopeId", "data-v-99fb2c2f"]]), _f = /* @__PURE__ */ X(/* @__PURE__ */ d({
10096
+ }), [["__scopeId", "data-v-99fb2c2f"]]), _f = ["aria-orientation"], vf = /* @__PURE__ */ X(/* @__PURE__ */ d({
10049
10097
  __name: "CoarSidebarDivider",
10050
10098
  setup(e) {
10051
- let t = m(Id, O(!1));
10099
+ let t = m(Id, O(!1)), n = m(Rd, O("left")), i = r(() => Fd(n.value));
10052
10100
  return (e, n) => (w(), o("div", {
10053
- class: y(["coar-sidebar-divider", { "coar-sidebar-divider--collapsed": L(t) }]),
10054
- role: "separator"
10055
- }, null, 2));
10101
+ class: y(["coar-sidebar-divider", [`coar-sidebar-divider--${i.value}`, { "coar-sidebar-divider--collapsed": L(t) }]]),
10102
+ role: "separator",
10103
+ "aria-orientation": i.value === "horizontal" ? "vertical" : "horizontal"
10104
+ }, null, 10, _f));
10056
10105
  }
10057
- }), [["__scopeId", "data-v-c70a1b23"]]), vf = /* @__PURE__ */ X(/* @__PURE__ */ d({
10106
+ }), [["__scopeId", "data-v-9bdfe627"]]), yf = /* @__PURE__ */ X(/* @__PURE__ */ d({
10058
10107
  __name: "CoarSidebarSpacer",
10059
10108
  props: {
10060
10109
  height: { default: void 0 },
@@ -10071,16 +10120,16 @@ var Id = Symbol("sidebar-collapsed"), Ld = Symbol("sidebar-icon-size"), Rd = Sym
10071
10120
  "aria-hidden": "true"
10072
10121
  }, null, 6));
10073
10122
  }
10074
- }), [["__scopeId", "data-v-502139f5"]]), yf = {
10123
+ }), [["__scopeId", "data-v-502139f5"]]), bf = {
10075
10124
  key: 0,
10076
10125
  class: "coar-navbar__start"
10077
- }, bf = {
10126
+ }, xf = {
10078
10127
  key: 1,
10079
10128
  class: "coar-navbar__center"
10080
- }, xf = {
10129
+ }, Sf = {
10081
10130
  key: 2,
10082
10131
  class: "coar-navbar__end"
10083
- }, Sf = /* @__PURE__ */ X(/* @__PURE__ */ d({
10132
+ }, Cf = /* @__PURE__ */ X(/* @__PURE__ */ d({
10084
10133
  __name: "CoarNavbar",
10085
10134
  props: {
10086
10135
  elevated: {
@@ -10100,17 +10149,17 @@ var Id = Symbol("sidebar-collapsed"), Ld = Symbol("sidebar-icon-size"), Rd = Sym
10100
10149
  }]),
10101
10150
  role: "banner"
10102
10151
  }, [
10103
- t.$slots.start ? (w(), o("div", yf, [A(t.$slots, "start", {}, void 0, !0)])) : a("", !0),
10152
+ t.$slots.start ? (w(), o("div", bf, [A(t.$slots, "start", {}, void 0, !0)])) : a("", !0),
10104
10153
  n[0] ||= s("div", { class: "coar-navbar__spacer" }, null, -1),
10105
- t.$slots.center ? (w(), o("div", bf, [A(t.$slots, "center", {}, void 0, !0)])) : a("", !0),
10154
+ t.$slots.center ? (w(), o("div", xf, [A(t.$slots, "center", {}, void 0, !0)])) : a("", !0),
10106
10155
  n[1] ||= s("div", { class: "coar-navbar__spacer" }, null, -1),
10107
- t.$slots.end ? (w(), o("div", xf, [A(t.$slots, "end", {}, void 0, !0)])) : a("", !0)
10156
+ t.$slots.end ? (w(), o("div", Sf, [A(t.$slots, "end", {}, void 0, !0)])) : a("", !0)
10108
10157
  ], 2));
10109
10158
  }
10110
10159
  }), [["__scopeId", "data-v-c7eb4106"]]);
10111
10160
  //#endregion
10112
10161
  //#region src/components/date-time/_shared/time-helpers.ts
10113
- function Cf(e) {
10162
+ function wf(e) {
10114
10163
  try {
10115
10164
  return new Intl.DateTimeFormat(e, {
10116
10165
  hour: "numeric",
@@ -10120,13 +10169,13 @@ function Cf(e) {
10120
10169
  return !1;
10121
10170
  }
10122
10171
  }
10123
- function wf(e, t, n) {
10172
+ function Tf(e, t, n) {
10124
10173
  let r = String(t).padStart(2, "0");
10125
10174
  if (n) return `${String(e).padStart(2, "0")}:${r}`;
10126
10175
  let i = e >= 12 ? "PM" : "AM", a = e % 12;
10127
10176
  return a === 0 && (a = 12), `${a}:${r} ${i}`;
10128
10177
  }
10129
- function Tf(e) {
10178
+ function Ef(e) {
10130
10179
  if (!e || typeof e != "string") return null;
10131
10180
  let t = e.trim().toUpperCase(), n = t.match(/^(\d{1,2}):(\d{2})\s*(AM|PM)$/);
10132
10181
  if (n) {
@@ -10146,41 +10195,41 @@ function Tf(e) {
10146
10195
  }
10147
10196
  return null;
10148
10197
  }
10149
- function Ef(e) {
10198
+ function Df(e) {
10150
10199
  let t = e >= 12 ? "PM" : "AM", n = e % 12;
10151
10200
  return n === 0 && (n = 12), {
10152
10201
  hours: n,
10153
10202
  period: t
10154
10203
  };
10155
10204
  }
10156
- function Df(e, t) {
10205
+ function Of(e, t) {
10157
10206
  return t === "AM" ? e === 12 ? 0 : e : e === 12 ? 12 : e + 12;
10158
10207
  }
10159
- function Of(e, t) {
10208
+ function kf(e, t) {
10160
10209
  let n = (e + t) % 24;
10161
10210
  return n < 0 ? n + 24 : n;
10162
10211
  }
10163
- function kf(e, t, n = 1) {
10212
+ function Af(e, t, n = 1) {
10164
10213
  let r = e + t * n, i = 0, a = r;
10165
10214
  return r >= 60 ? (i = Math.floor(r / 60), a = r % 60) : r < 0 && (i = Math.floor(r / 60), a = (r % 60 + 60) % 60), {
10166
10215
  minutes: a,
10167
10216
  hourDelta: i
10168
10217
  };
10169
10218
  }
10170
- function Af(e, t) {
10219
+ function jf(e, t) {
10171
10220
  return Math.round(e / t) * t;
10172
10221
  }
10173
10222
  //#endregion
10174
10223
  //#region src/components/date-time/time-picker/CoarTimePicker.vue?vue&type=script&setup=true&lang.ts
10175
- var jf = ["aria-label"], Mf = { class: "coar-time-picker__spinner coar-time-picker__hours" }, Nf = ["disabled", "aria-label"], Pf = [
10224
+ var Mf = ["aria-label"], Nf = { class: "coar-time-picker__spinner coar-time-picker__hours" }, Pf = ["disabled", "aria-label"], Ff = [
10176
10225
  "aria-valuenow",
10177
10226
  "aria-valuemin",
10178
10227
  "aria-valuemax",
10179
10228
  "aria-label"
10180
- ], Ff = ["disabled", "aria-label"], If = { class: "coar-time-picker__spinner coar-time-picker__minutes" }, Lf = ["disabled", "aria-label"], Rf = ["aria-valuenow", "aria-label"], zf = ["disabled", "aria-label"], Bf = {
10229
+ ], If = ["disabled", "aria-label"], Lf = { class: "coar-time-picker__spinner coar-time-picker__minutes" }, Rf = ["disabled", "aria-label"], zf = ["aria-valuenow", "aria-label"], Bf = ["disabled", "aria-label"], Vf = {
10181
10230
  key: 0,
10182
10231
  class: "coar-time-picker__spinner coar-time-picker__period"
10183
- }, Vf = ["disabled"], Hf = ["aria-valuenow", "aria-valuetext"], Uf = ["disabled"], Wf = /* @__PURE__ */ X(/* @__PURE__ */ d({
10232
+ }, Hf = ["disabled"], Uf = ["aria-valuenow", "aria-valuetext"], Wf = ["disabled"], Gf = /* @__PURE__ */ X(/* @__PURE__ */ d({
10184
10233
  __name: "CoarTimePicker",
10185
10234
  props: /* @__PURE__ */ g({
10186
10235
  size: { default: "m" },
@@ -10209,9 +10258,9 @@ var jf = ["aria-label"], Mf = { class: "coar-time-picker__spinner coar-time-pick
10209
10258
  setup(e) {
10210
10259
  let t = e, n = z(e, "modelValue"), { t: i } = q(), c = J(), l = r(() => t.locale ?? c?.language.value ?? navigator.language), d = O(9), f = O(0), p = O("AM");
10211
10260
  U(n, (e) => {
10212
- e && (d.value = e.hours, f.value = Af(e.minutes, t.minuteStep), p.value = e.hours >= 12 ? "PM" : "AM");
10261
+ e && (d.value = e.hours, f.value = jf(e.minutes, t.minuteStep), p.value = e.hours >= 12 ? "PM" : "AM");
10213
10262
  }, { immediate: !0 });
10214
- let m = r(() => t.use24Hour === !0 ? !1 : t.use24Hour === !1 ? !0 : Cf(l.value)), h = r(() => m.value ? Ef(d.value).hours : d.value), g = r(() => f.value), _ = r(() => +!!m.value), v = r(() => m.value ? 12 : 23), b = r(() => t.size === "xs" ? "xs" : "s");
10263
+ let m = r(() => t.use24Hour === !0 ? !1 : t.use24Hour === !1 ? !0 : wf(l.value)), h = r(() => m.value ? Df(d.value).hours : d.value), g = r(() => f.value), _ = r(() => +!!m.value), v = r(() => m.value ? 12 : 23), b = r(() => t.size === "xs" ? "xs" : "s");
10215
10264
  function x(e) {
10216
10265
  return e.hours * 60 + e.minutes;
10217
10266
  }
@@ -10246,11 +10295,11 @@ var jf = ["aria-label"], Mf = { class: "coar-time-picker__spinner coar-time-pick
10246
10295
  if (!(t.disabled || t.readonly || S.value)) {
10247
10296
  if (m.value) {
10248
10297
  let e = h.value, t = e + 1;
10249
- if (t > 12 && (t = 1), d.value = Df(t, p.value), e === 11) {
10298
+ if (t > 12 && (t = 1), d.value = Of(t, p.value), e === 11) {
10250
10299
  I();
10251
10300
  return;
10252
10301
  }
10253
- } else d.value = Of(d.value, 1);
10302
+ } else d.value = kf(d.value, 1);
10254
10303
  A();
10255
10304
  }
10256
10305
  }
@@ -10258,28 +10307,28 @@ var jf = ["aria-label"], Mf = { class: "coar-time-picker__spinner coar-time-pick
10258
10307
  if (!(t.disabled || t.readonly || C.value)) {
10259
10308
  if (m.value) {
10260
10309
  let e = h.value, t = e - 1;
10261
- if (t < 1 && (t = 12), d.value = Df(t, p.value), e === 12) {
10310
+ if (t < 1 && (t = 12), d.value = Of(t, p.value), e === 12) {
10262
10311
  I();
10263
10312
  return;
10264
10313
  }
10265
- } else d.value = Of(d.value, -1);
10314
+ } else d.value = kf(d.value, -1);
10266
10315
  A();
10267
10316
  }
10268
10317
  }
10269
10318
  function N() {
10270
10319
  if (t.disabled || t.readonly || T.value) return;
10271
- let { minutes: e, hourDelta: n } = kf(f.value, 1, t.minuteStep);
10272
- f.value = e, n !== 0 && (d.value = Of(d.value, n), p.value = d.value >= 12 ? "PM" : "AM"), A();
10320
+ let { minutes: e, hourDelta: n } = Af(f.value, 1, t.minuteStep);
10321
+ f.value = e, n !== 0 && (d.value = kf(d.value, n), p.value = d.value >= 12 ? "PM" : "AM"), A();
10273
10322
  }
10274
10323
  function F() {
10275
10324
  if (t.disabled || t.readonly || E.value) return;
10276
- let { minutes: e, hourDelta: n } = kf(f.value, -1, t.minuteStep);
10277
- f.value = e, n !== 0 && (d.value = Of(d.value, n), p.value = d.value >= 12 ? "PM" : "AM"), A();
10325
+ let { minutes: e, hourDelta: n } = Af(f.value, -1, t.minuteStep);
10326
+ f.value = e, n !== 0 && (d.value = kf(d.value, n), p.value = d.value >= 12 ? "PM" : "AM"), A();
10278
10327
  }
10279
10328
  function I() {
10280
10329
  if (t.disabled || t.readonly || !m.value) return;
10281
10330
  let e = p.value === "AM" ? "PM" : "AM";
10282
- e === "AM" && D.value || e === "PM" && k.value || (p.value = e, d.value = Df(h.value, e), A());
10331
+ e === "AM" && D.value || e === "PM" && k.value || (p.value = e, d.value = Of(h.value, e), A());
10283
10332
  }
10284
10333
  function R(e) {
10285
10334
  t.disabled || t.readonly || (e.key === "ArrowUp" ? (e.preventDefault(), j()) : e.key === "ArrowDown" && (e.preventDefault(), M()));
@@ -10303,7 +10352,7 @@ var jf = ["aria-label"], Mf = { class: "coar-time-picker__spinner coar-time-pick
10303
10352
  role: "group",
10304
10353
  "aria-label": e.ariaLabel
10305
10354
  }, [
10306
- s("div", Mf, [
10355
+ s("div", Nf, [
10307
10356
  s("button", {
10308
10357
  type: "button",
10309
10358
  class: "coar-time-picker__btn coar-time-picker__btn--up",
@@ -10314,7 +10363,7 @@ var jf = ["aria-label"], Mf = { class: "coar-time-picker__spinner coar-time-pick
10314
10363
  }, [u(Z, {
10315
10364
  name: "chevron-up",
10316
10365
  size: b.value
10317
- }, null, 8, ["size"])], 8, Nf),
10366
+ }, null, 8, ["size"])], 8, Pf),
10318
10367
  s("div", {
10319
10368
  class: "coar-time-picker__value",
10320
10369
  role: "spinbutton",
@@ -10324,7 +10373,7 @@ var jf = ["aria-label"], Mf = { class: "coar-time-picker__spinner coar-time-pick
10324
10373
  "aria-valuemax": v.value,
10325
10374
  "aria-label": L(i)("coar.ui.timePicker.hours", void 0, "Hours"),
10326
10375
  onKeydown: R
10327
- }, P(h.value.toString().padStart(2, "0")), 41, Pf),
10376
+ }, P(h.value.toString().padStart(2, "0")), 41, Ff),
10328
10377
  s("button", {
10329
10378
  type: "button",
10330
10379
  class: "coar-time-picker__btn coar-time-picker__btn--down",
@@ -10335,13 +10384,13 @@ var jf = ["aria-label"], Mf = { class: "coar-time-picker__spinner coar-time-pick
10335
10384
  }, [u(Z, {
10336
10385
  name: "chevron-down",
10337
10386
  size: b.value
10338
- }, null, 8, ["size"])], 8, Ff)
10387
+ }, null, 8, ["size"])], 8, If)
10339
10388
  ]),
10340
10389
  n[0] ||= s("span", {
10341
10390
  class: "coar-time-picker__separator",
10342
10391
  "aria-hidden": "true"
10343
10392
  }, ":", -1),
10344
- s("div", If, [
10393
+ s("div", Lf, [
10345
10394
  s("button", {
10346
10395
  type: "button",
10347
10396
  class: "coar-time-picker__btn coar-time-picker__btn--up",
@@ -10352,7 +10401,7 @@ var jf = ["aria-label"], Mf = { class: "coar-time-picker__spinner coar-time-pick
10352
10401
  }, [u(Z, {
10353
10402
  name: "chevron-up",
10354
10403
  size: b.value
10355
- }, null, 8, ["size"])], 8, Lf),
10404
+ }, null, 8, ["size"])], 8, Rf),
10356
10405
  s("div", {
10357
10406
  class: "coar-time-picker__value",
10358
10407
  role: "spinbutton",
@@ -10362,7 +10411,7 @@ var jf = ["aria-label"], Mf = { class: "coar-time-picker__spinner coar-time-pick
10362
10411
  "aria-valuemax": "59",
10363
10412
  "aria-label": L(i)("coar.ui.timePicker.minutes", void 0, "Minutes"),
10364
10413
  onKeydown: B
10365
- }, P(g.value.toString().padStart(2, "0")), 41, Rf),
10414
+ }, P(g.value.toString().padStart(2, "0")), 41, zf),
10366
10415
  s("button", {
10367
10416
  type: "button",
10368
10417
  class: "coar-time-picker__btn coar-time-picker__btn--down",
@@ -10373,9 +10422,9 @@ var jf = ["aria-label"], Mf = { class: "coar-time-picker__spinner coar-time-pick
10373
10422
  }, [u(Z, {
10374
10423
  name: "chevron-down",
10375
10424
  size: b.value
10376
- }, null, 8, ["size"])], 8, zf)
10425
+ }, null, 8, ["size"])], 8, Bf)
10377
10426
  ]),
10378
- m.value ? (w(), o("div", Bf, [
10427
+ m.value ? (w(), o("div", Vf, [
10379
10428
  s("button", {
10380
10429
  type: "button",
10381
10430
  class: "coar-time-picker__btn coar-time-picker__btn--up",
@@ -10386,7 +10435,7 @@ var jf = ["aria-label"], Mf = { class: "coar-time-picker__spinner coar-time-pick
10386
10435
  }, [u(Z, {
10387
10436
  name: "chevron-up",
10388
10437
  size: b.value
10389
- }, null, 8, ["size"])], 8, Vf),
10438
+ }, null, 8, ["size"])], 8, Hf),
10390
10439
  s("div", {
10391
10440
  class: "coar-time-picker__value coar-time-picker__period-value",
10392
10441
  role: "spinbutton",
@@ -10397,7 +10446,7 @@ var jf = ["aria-label"], Mf = { class: "coar-time-picker__spinner coar-time-pick
10397
10446
  "aria-valuetext": p.value,
10398
10447
  "aria-label": "AM/PM",
10399
10448
  onKeydown: V
10400
- }, P(p.value), 41, Hf),
10449
+ }, P(p.value), 41, Uf),
10401
10450
  s("button", {
10402
10451
  type: "button",
10403
10452
  class: "coar-time-picker__btn coar-time-picker__btn--down",
@@ -10408,14 +10457,14 @@ var jf = ["aria-label"], Mf = { class: "coar-time-picker__spinner coar-time-pick
10408
10457
  }, [u(Z, {
10409
10458
  name: "chevron-down",
10410
10459
  size: b.value
10411
- }, null, 8, ["size"])], 8, Uf)
10460
+ }, null, 8, ["size"])], 8, Wf)
10412
10461
  ])) : a("", !0)
10413
- ], 8, jf)], 2));
10462
+ ], 8, Mf)], 2));
10414
10463
  }
10415
10464
  }), [["__scopeId", "data-v-a5cd4780"]]);
10416
10465
  //#endregion
10417
10466
  //#region src/components/date-time/_shared/date-helpers.ts
10418
- function Gf(e) {
10467
+ function Kf(e) {
10419
10468
  try {
10420
10469
  let t = new Intl.DateTimeFormat(e).formatToParts(new Date(2024, 0, 15)), n = t.findIndex((e) => e.type === "day"), r = t.findIndex((e) => e.type === "month"), i = t.findIndex((e) => e.type === "year");
10421
10470
  return n === -1 || r === -1 || i === -1 ? null : n < r && r < i ? "dd.mm.yyyy" : r < n && n < i ? "mm/dd/yyyy" : i < r && r < n ? "yyyy-mm-dd" : null;
@@ -10423,7 +10472,7 @@ function Gf(e) {
10423
10472
  return null;
10424
10473
  }
10425
10474
  }
10426
- function Kf(e) {
10475
+ function qf(e) {
10427
10476
  try {
10428
10477
  let t = new Intl.Locale(e);
10429
10478
  return (t.getWeekInfo?.() ?? t.weekInfo)?.firstDay === 7 ? 7 : 1;
@@ -10431,10 +10480,10 @@ function Kf(e) {
10431
10480
  return 1;
10432
10481
  }
10433
10482
  }
10434
- function qf(e) {
10483
+ function Jf(e) {
10435
10484
  return e.includes(".") ? "." : e.includes("/") ? "/" : "-";
10436
10485
  }
10437
- function Jf(e, t) {
10486
+ function Yf(e, t) {
10438
10487
  let n = new Intl.DateTimeFormat(e, { weekday: "short" }), r = [];
10439
10488
  for (let e = 0; e < 7; e++) {
10440
10489
  let t = new Date(2024, 0, 1 + e);
@@ -10446,8 +10495,8 @@ function Jf(e, t) {
10446
10495
  }
10447
10496
  return r;
10448
10497
  }
10449
- function Yf(e, t) {
10450
- let n = qf(t), r = String(e.day).padStart(2, "0"), i = String(e.month).padStart(2, "0"), a = String(e.year);
10498
+ function Xf(e, t) {
10499
+ let n = Jf(t), r = String(e.day).padStart(2, "0"), i = String(e.month).padStart(2, "0"), a = String(e.year);
10451
10500
  switch (t) {
10452
10501
  case "dd.mm.yyyy":
10453
10502
  case "dd/mm/yyyy": return `${r}${n}${i}${n}${a}`;
@@ -10456,9 +10505,9 @@ function Yf(e, t) {
10456
10505
  default: return `${r}${n}${i}${n}${a}`;
10457
10506
  }
10458
10507
  }
10459
- function Xf(e, t, n) {
10508
+ function Zf(e, t, n) {
10460
10509
  if (!e) return null;
10461
- let r = qf(t), i = e.split(r);
10510
+ let r = Jf(t), i = e.split(r);
10462
10511
  if (i.length !== 3 || i.some((e) => e.length === 0 || !/^\d+$/.test(e))) return null;
10463
10512
  let a, o, s;
10464
10513
  try {
@@ -10486,19 +10535,19 @@ function Xf(e, t, n) {
10486
10535
  return null;
10487
10536
  }
10488
10537
  }
10489
- function Zf(e) {
10538
+ function Qf(e) {
10490
10539
  return new Date(e.year, e.month - 1, e.day);
10491
10540
  }
10492
- function Qf(e) {
10493
- let t = Zf(e), n = t.getDay() || 7;
10541
+ function $f(e) {
10542
+ let t = Qf(e), n = t.getDay() || 7;
10494
10543
  t.setDate(t.getDate() + 4 - n);
10495
10544
  let r = new Date(t.getFullYear(), 0, 1);
10496
10545
  return Math.ceil(((t.getTime() - r.getTime()) / 864e5 + 1) / 7);
10497
10546
  }
10498
- function $f(e, t) {
10547
+ function ep(e, t) {
10499
10548
  return t?.min && Y.PlainDate.compare(e, t.min) < 0 ? t.min : t?.max && Y.PlainDate.compare(e, t.max) > 0 ? t.max : e;
10500
10549
  }
10501
- function ep(e, t) {
10550
+ function tp(e, t) {
10502
10551
  let n = e.toPlainDate({ day: 1 }), r = e.daysInMonth, i = n.dayOfWeek, a;
10503
10552
  a = t === 1 ? (i - 1 + 7) % 7 : i % 7;
10504
10553
  let o = [];
@@ -10522,20 +10571,20 @@ function ep(e, t) {
10522
10571
  }
10523
10572
  //#endregion
10524
10573
  //#region src/components/date-time/scrollable-calendar/CoarScrollableCalendar.vue?vue&type=script&setup=true&lang.ts
10525
- var tp = {
10574
+ var np = {
10526
10575
  key: 0,
10527
10576
  class: "coar-scrollable-calendar__week-spacer"
10528
- }, np = ["id", "data-year-month"], rp = { class: "coar-scrollable-calendar__month-name" }, ip = { class: "coar-scrollable-calendar__month-year" }, ap = {
10577
+ }, rp = ["id", "data-year-month"], ip = { class: "coar-scrollable-calendar__month-name" }, ap = { class: "coar-scrollable-calendar__month-year" }, op = {
10529
10578
  key: 0,
10530
10579
  class: "coar-scrollable-calendar__week-number"
10531
- }, op = [
10580
+ }, sp = [
10532
10581
  "disabled",
10533
10582
  "tabindex",
10534
10583
  "data-date",
10535
10584
  "aria-selected",
10536
10585
  "aria-current",
10537
10586
  "onClick"
10538
- ], sp = 12, cp = 12, lp = 6, up = 25, dp = /* @__PURE__ */ X(/* @__PURE__ */ d({
10587
+ ], cp = 12, lp = 12, up = 6, dp = 25, fp = /* @__PURE__ */ X(/* @__PURE__ */ d({
10539
10588
  __name: "CoarScrollableCalendar",
10540
10589
  props: /* @__PURE__ */ g({
10541
10590
  min: { default: null },
@@ -10561,13 +10610,13 @@ var tp = {
10561
10610
  setup(t, { emit: n }) {
10562
10611
  let i = t, c = z(t, "modelValue"), l = z(t, "activeMonth"), u = n, d = J(), f = r(() => i.locale ?? d?.language.value ?? navigator.language), p = r(() => {
10563
10612
  if (i.dateFormatConfig) return i.dateFormatConfig;
10564
- let e = Gf(f.value), t = Kf(f.value);
10613
+ let e = Kf(f.value), t = qf(f.value);
10565
10614
  return {
10566
10615
  pattern: e ?? "dd.mm.yyyy",
10567
10616
  firstDayOfWeek: t
10568
10617
  };
10569
10618
  }), m = r(() => p.value.firstDayOfWeek), h = r(() => Y.Now.plainDateISO()), g = r(() => {
10570
- let e = Jf(f.value, m.value), t = m.value;
10619
+ let e = Yf(f.value, m.value), t = m.value;
10571
10620
  return e.map((e, n) => {
10572
10621
  let r;
10573
10622
  return r = t === 1 ? n + 1 : n === 0 ? 7 : n, {
@@ -10575,7 +10624,7 @@ var tp = {
10575
10624
  isWeekend: r === 6 || r === 7
10576
10625
  };
10577
10626
  });
10578
- }), _ = O(Y.Now.plainDateISO().toPlainYearMonth().subtract({ months: sp })), b = O(Y.Now.plainDateISO().toPlainYearMonth().add({ months: cp })), x = O(null), T = O(null), E = O(!1), D = !1, A = !1, j = !1;
10627
+ }), _ = O(Y.Now.plainDateISO().toPlainYearMonth().subtract({ months: cp })), b = O(Y.Now.plainDateISO().toPlainYearMonth().add({ months: lp })), x = O(null), T = O(null), E = O(!1), D = !1, A = !1, j = !1;
10579
10628
  function M() {
10580
10629
  let e = T.value;
10581
10630
  return e ? e.querySelector("[data-overlayscrollbars-viewport]") ?? e : null;
@@ -10602,8 +10651,8 @@ var tp = {
10602
10651
  };
10603
10652
  }
10604
10653
  function I(e) {
10605
- let t = f.value, n = new Intl.DateTimeFormat(t, { month: "long" }).format(new Date(e.year, e.month - 1, 1)), r = ep(e, m.value), i = r.map((e) => F(e.date, e.isOutsideMonth)), a = [];
10606
- for (let e = 0; e < 6; e++) a.push(Qf(r[e * 7].date));
10654
+ let t = f.value, n = new Intl.DateTimeFormat(t, { month: "long" }).format(new Date(e.year, e.month - 1, 1)), r = tp(e, m.value), i = r.map((e) => F(e.date, e.isOutsideMonth)), a = [];
10655
+ for (let e = 0; e < 6; e++) a.push($f(r[e * 7].date));
10607
10656
  return {
10608
10657
  yearMonth: e,
10609
10658
  monthName: n,
@@ -10694,7 +10743,7 @@ var tp = {
10694
10743
  if (j) return;
10695
10744
  j = !0;
10696
10745
  let e = M(), t = e?.scrollHeight ?? 0, n = i.min?.toPlainYearMonth() ?? null, r = _.value, a = [];
10697
- for (let e = 0; e < lp; e++) {
10746
+ for (let e = 0; e < up; e++) {
10698
10747
  let e = r.subtract({ months: 1 });
10699
10748
  if (n && Y.PlainYearMonth.compare(e, n) < 0) break;
10700
10749
  r = e, a.unshift(I(r));
@@ -10715,7 +10764,7 @@ var tp = {
10715
10764
  if (j) return;
10716
10765
  j = !0;
10717
10766
  let e = i.max?.toPlainYearMonth() ?? null, t = b.value, n = [];
10718
- for (let r = 0; r < lp; r++) {
10767
+ for (let r = 0; r < up; r++) {
10719
10768
  let r = t.add({ months: 1 });
10720
10769
  if (e && Y.PlainYearMonth.compare(r, e) > 0) break;
10721
10770
  t = r, n.push(I(t));
@@ -10730,14 +10779,14 @@ var tp = {
10730
10779
  }
10731
10780
  function re() {
10732
10781
  let e = B.value;
10733
- if (e.length <= up) return;
10734
- let t = e.slice(0, up);
10782
+ if (e.length <= dp) return;
10783
+ let t = e.slice(0, dp);
10735
10784
  B.value = t, b.value = t[t.length - 1].yearMonth;
10736
10785
  }
10737
10786
  function ie() {
10738
10787
  let e = B.value;
10739
- if (e.length <= up) return;
10740
- let t = e.length - up, n = e.slice(t);
10788
+ if (e.length <= dp) return;
10789
+ let t = e.length - dp, n = e.slice(t);
10741
10790
  B.value = n, _.value = n[0].yearMonth;
10742
10791
  }
10743
10792
  function ae(e) {
@@ -10756,7 +10805,7 @@ var tp = {
10756
10805
  r = n.add({ years: e });
10757
10806
  break;
10758
10807
  }
10759
- r = $f(r, {
10808
+ r = ep(r, {
10760
10809
  min: i.min,
10761
10810
  max: i.max
10762
10811
  }), x.value = r;
@@ -10820,7 +10869,7 @@ var tp = {
10820
10869
  }), (n, r) => (w(), o("div", {
10821
10870
  class: "coar-scrollable-calendar",
10822
10871
  onKeydown: se
10823
- }, [s("div", { class: y(["coar-scrollable-calendar__weekdays", { "coar-scrollable-calendar__weekdays--with-weeks": t.showWeekNumbers }]) }, [t.showWeekNumbers ? (w(), o("span", tp)) : a("", !0), (w(!0), o(e, null, k(g.value, (e) => (w(), o("span", {
10872
+ }, [s("div", { class: y(["coar-scrollable-calendar__weekdays", { "coar-scrollable-calendar__weekdays--with-weeks": t.showWeekNumbers }]) }, [t.showWeekNumbers ? (w(), o("span", np)) : a("", !0), (w(!0), o(e, null, k(g.value, (e) => (w(), o("span", {
10824
10873
  key: e.name,
10825
10874
  class: y(["coar-scrollable-calendar__weekday", { "coar-scrollable-calendar__weekday--weekend": t.highlightWeekends && e.isWeekend }])
10826
10875
  }, P(e.name), 3))), 128))], 2), s("div", { class: y(["coar-scrollable-calendar__months-wrapper", { "coar-scrollable-calendar__months-wrapper--ready": E.value }]) }, [K((w(), o("div", {
@@ -10832,10 +10881,10 @@ var tp = {
10832
10881
  key: n.yearMonth.toString(),
10833
10882
  "data-year-month": n.yearMonth.toString(),
10834
10883
  class: "coar-scrollable-calendar__month"
10835
- }, [s("div", { class: y(["coar-scrollable-calendar__month-header", { "coar-scrollable-calendar__month-header--with-weeks": t.showWeekNumbers }]) }, [s("span", rp, P(n.monthName), 1), s("span", ip, P(n.year), 1)], 2), s("div", {
10884
+ }, [s("div", { class: y(["coar-scrollable-calendar__month-header", { "coar-scrollable-calendar__month-header--with-weeks": t.showWeekNumbers }]) }, [s("span", ip, P(n.monthName), 1), s("span", ap, P(n.year), 1)], 2), s("div", {
10836
10885
  class: y(["coar-scrollable-calendar__grid", { "coar-scrollable-calendar__grid--with-weeks": t.showWeekNumbers }]),
10837
10886
  role: "grid"
10838
- }, [(w(!0), o(e, null, k(n.days, (r, i) => (w(), o(e, { key: r.date.toString() }, [t.showWeekNumbers && i % 7 == 0 ? (w(), o("span", ap, P(n.weekNumbers[i / 7]), 1)) : a("", !0), s("button", {
10887
+ }, [(w(!0), o(e, null, k(n.days, (r, i) => (w(), o(e, { key: r.date.toString() }, [t.showWeekNumbers && i % 7 == 0 ? (w(), o("span", op, P(n.weekNumbers[i / 7]), 1)) : a("", !0), s("button", {
10839
10888
  type: "button",
10840
10889
  class: y(["coar-scrollable-calendar__day", [r.markerCssClass, {
10841
10890
  "coar-scrollable-calendar__day--outside": r.isOutsideMonth,
@@ -10852,12 +10901,12 @@ var tp = {
10852
10901
  "aria-selected": r.isSelected,
10853
10902
  "aria-current": r.isToday ? "date" : void 0,
10854
10903
  onClick: (e) => ae(r.date)
10855
- }, P(r.day), 11, op)], 64))), 128))], 2)], 8, np))), 128))])), [[L(Us), {
10904
+ }, P(r.day), 11, sp)], 64))), 128))], 2)], 8, rp))), 128))])), [[L(Us), {
10856
10905
  overflowX: "hidden",
10857
10906
  autoHide: "leave"
10858
10907
  }]])], 2)], 32));
10859
10908
  }
10860
- }), [["__scopeId", "data-v-e9dd37f6"]]), fp = { class: "coar-month-list-host" }, pp = { class: "coar-month-list" }, mp = { class: "coar-month-list__year-stepper" }, hp = ["disabled", "aria-label"], gp = { class: "coar-month-list__year" }, _p = ["disabled", "aria-label"], vp = ["aria-label"], yp = ["aria-selected", "onClick"], bp = /* @__PURE__ */ X(/* @__PURE__ */ d({
10909
+ }), [["__scopeId", "data-v-e9dd37f6"]]), pp = { class: "coar-month-list-host" }, mp = { class: "coar-month-list" }, hp = { class: "coar-month-list__year-stepper" }, gp = ["disabled", "aria-label"], _p = { class: "coar-month-list__year" }, vp = ["disabled", "aria-label"], yp = ["aria-label"], bp = ["aria-selected", "onClick"], xp = /* @__PURE__ */ X(/* @__PURE__ */ d({
10861
10910
  __name: "CoarMonthList",
10862
10911
  props: /* @__PURE__ */ g({
10863
10912
  locale: { default: void 0 },
@@ -10914,7 +10963,7 @@ var tp = {
10914
10963
  v(() => E());
10915
10964
  }), C(() => {
10916
10965
  setTimeout(() => E(), 50);
10917
- }), (t, n) => (w(), o("div", fp, [s("div", pp, [s("div", mp, [
10966
+ }), (t, n) => (w(), o("div", pp, [s("div", mp, [s("div", hp, [
10918
10967
  s("button", {
10919
10968
  type: "button",
10920
10969
  class: "coar-month-list__year-btn",
@@ -10924,8 +10973,8 @@ var tp = {
10924
10973
  }, [u(Z, {
10925
10974
  name: "chevron-left",
10926
10975
  size: "s"
10927
- })], 8, hp),
10928
- s("span", gp, P(p.value), 1),
10976
+ })], 8, gp),
10977
+ s("span", _p, P(p.value), 1),
10929
10978
  s("button", {
10930
10979
  type: "button",
10931
10980
  class: "coar-month-list__year-btn",
@@ -10935,7 +10984,7 @@ var tp = {
10935
10984
  }, [u(Z, {
10936
10985
  name: "chevron-right",
10937
10986
  size: "s"
10938
- })], 8, _p)
10987
+ })], 8, vp)
10939
10988
  ]), K((w(), o("div", {
10940
10989
  ref_key: "monthsContainerRef",
10941
10990
  ref: T,
@@ -10949,16 +10998,16 @@ var tp = {
10949
10998
  role: "option",
10950
10999
  "aria-selected": e.isActive,
10951
11000
  onClick: (t) => S(e.yearMonth)
10952
- }, P(e.name), 11, yp))), 128))], 8, vp)), [[L(Us), {
11001
+ }, P(e.name), 11, bp))), 128))], 8, yp)), [[L(Us), {
10953
11002
  overflowX: "hidden",
10954
11003
  autoHide: "leave"
10955
11004
  }]])])]));
10956
11005
  }
10957
- }), [["__scopeId", "data-v-11c8cf34"]]), xp = {
11006
+ }), [["__scopeId", "data-v-11c8cf34"]]), Sp = {
10958
11007
  pattern: "dd.mm.yyyy",
10959
11008
  firstDayOfWeek: 1
10960
11009
  };
10961
- function Sp(e) {
11010
+ function Cp(e) {
10962
11011
  let t = J(), n = ne(), i = r(() => e.locale?.value ? e.locale.value : t.language.value || navigator.language || "en"), a = r(() => {
10963
11012
  if (e.dateFormat?.value) return e.dateFormat.value;
10964
11013
  let n = t.localeData.value;
@@ -10966,12 +11015,12 @@ function Sp(e) {
10966
11015
  pattern: n.date.pattern,
10967
11016
  firstDayOfWeek: n.date.firstDayOfWeek === 0 ? 7 : n.date.firstDayOfWeek
10968
11017
  };
10969
- let r = Gf(i.value), a = Kf(i.value);
11018
+ let r = Kf(i.value), a = qf(i.value);
10970
11019
  return r ? {
10971
11020
  pattern: r,
10972
11021
  firstDayOfWeek: a
10973
11022
  } : {
10974
- ...xp,
11023
+ ...Sp,
10975
11024
  firstDayOfWeek: a
10976
11025
  };
10977
11026
  }), o = r(() => {
@@ -11000,10 +11049,10 @@ function Sp(e) {
11000
11049
  }
11001
11050
  //#endregion
11002
11051
  //#region src/components/date-time/_shared/types.ts
11003
- var Cp = {
11052
+ var wp = {
11004
11053
  use24Hour: "auto",
11005
11054
  minuteStep: 5
11006
- }, wp = {
11055
+ }, Tp = {
11007
11056
  "dd.mm.yyyy": "dd/mm/yyyy",
11008
11057
  "dd/mm/yyyy": "dd/mm/yyyy",
11009
11058
  "mm/dd/yyyy": "mm/dd/yyyy",
@@ -11011,28 +11060,28 @@ var Cp = {
11011
11060
  };
11012
11061
  //#endregion
11013
11062
  //#region src/components/date-time/_shared/maskito-config.ts
11014
- function Tp(e) {
11063
+ function Ep(e) {
11015
11064
  return ae({
11016
- mode: wp[e],
11017
- separator: qf(e)
11065
+ mode: Tp[e],
11066
+ separator: Jf(e)
11018
11067
  });
11019
11068
  }
11020
- function Ep(e, t) {
11069
+ function Dp(e, t) {
11021
11070
  return oe({
11022
- dateMode: wp[e],
11023
- dateSeparator: qf(e),
11071
+ dateMode: Tp[e],
11072
+ dateSeparator: Jf(e),
11024
11073
  timeMode: t ? "HH:MM AA" : "HH:MM"
11025
11074
  });
11026
11075
  }
11027
11076
  //#endregion
11028
11077
  //#region src/components/date-time/plain-date-picker/CoarPlainDatePickerPanel.vue?vue&type=script&setup=true&lang.ts
11029
- var Dp = { class: "coar-plain-date-picker-calendar-column" }, Op = ["aria-label"], kp = { class: "coar-plain-date-picker-side-column" }, Ap = { class: "coar-plain-date-picker-year-stepper" }, jp = ["disabled", "aria-label"], Mp = { class: "coar-plain-date-picker-year" }, Np = ["disabled", "aria-label"], Pp = { class: "coar-plain-date-picker-month-list-wrapper" }, Fp = ["aria-label"], Ip = { class: "coar-plain-date-picker-month-list-content" }, Lp = ["aria-selected", "onClick"], Rp = {
11078
+ var Op = { class: "coar-plain-date-picker-calendar-column" }, kp = ["aria-label"], Ap = { class: "coar-plain-date-picker-side-column" }, jp = { class: "coar-plain-date-picker-year-stepper" }, Mp = ["disabled", "aria-label"], Np = { class: "coar-plain-date-picker-year" }, Pp = ["disabled", "aria-label"], Fp = { class: "coar-plain-date-picker-month-list-wrapper" }, Ip = ["aria-label"], Lp = { class: "coar-plain-date-picker-month-list-content" }, Rp = ["aria-selected", "onClick"], zp = {
11030
11079
  key: 0,
11031
11080
  class: "coar-plain-date-picker-events"
11032
- }, zp = { class: "coar-plain-date-picker-events-list" }, Bp = { class: "coar-plain-date-picker-events-content" }, Vp = { class: "coar-plain-date-picker-event-details" }, Hp = { class: "coar-plain-date-picker-event-text" }, Up = {
11081
+ }, Bp = { class: "coar-plain-date-picker-events-list" }, Vp = { class: "coar-plain-date-picker-events-content" }, Hp = { class: "coar-plain-date-picker-event-details" }, Up = { class: "coar-plain-date-picker-event-text" }, Wp = {
11033
11082
  key: 0,
11034
11083
  class: "coar-plain-date-picker-event-dates"
11035
- }, Wp = /* @__PURE__ */ d({
11084
+ }, Gp = /* @__PURE__ */ d({
11036
11085
  __name: "CoarPlainDatePickerPanel",
11037
11086
  props: {
11038
11087
  modelValue: {},
@@ -11075,7 +11124,7 @@ var Dp = { class: "coar-plain-date-picker-calendar-column" }, Op = ["aria-label"
11075
11124
  return n && r;
11076
11125
  }) : [];
11077
11126
  });
11078
- return (n, r) => (w(), o("div", { class: y(["coar-plain-date-picker-panel", { "coar-plain-date-picker-panel--with-weeks": t.showWeekNumbers }]) }, [s("div", Dp, [u(dp, {
11127
+ return (n, r) => (w(), o("div", { class: y(["coar-plain-date-picker-panel", { "coar-plain-date-picker-panel--with-weeks": t.showWeekNumbers }]) }, [s("div", Op, [u(fp, {
11079
11128
  "model-value": t.modelValue,
11080
11129
  "active-month": t.activeMonth,
11081
11130
  min: t.min ?? void 0,
@@ -11108,8 +11157,8 @@ var Dp = { class: "coar-plain-date-picker-calendar-column" }, Op = ["aria-label"
11108
11157
  }, [u(Z, {
11109
11158
  name: h.value === "up" ? "chevron-up" : "chevron-down",
11110
11159
  size: "xs"
11111
- }, null, 8, ["name"])], 8, Op)) : a("", !0)]), s("div", kp, [
11112
- s("div", Ap, [
11160
+ }, null, 8, ["name"])], 8, kp)) : a("", !0)]), s("div", Ap, [
11161
+ s("div", jp, [
11113
11162
  s("button", {
11114
11163
  type: "button",
11115
11164
  class: "coar-plain-date-picker-year-btn",
@@ -11119,8 +11168,8 @@ var Dp = { class: "coar-plain-date-picker-calendar-column" }, Op = ["aria-label"
11119
11168
  }, [u(Z, {
11120
11169
  name: "chevron-left",
11121
11170
  size: "s"
11122
- })], 8, jp),
11123
- s("span", Mp, P(c.value), 1),
11171
+ })], 8, Mp),
11172
+ s("span", Np, P(c.value), 1),
11124
11173
  s("button", {
11125
11174
  type: "button",
11126
11175
  class: "coar-plain-date-picker-year-btn",
@@ -11130,31 +11179,31 @@ var Dp = { class: "coar-plain-date-picker-calendar-column" }, Op = ["aria-label"
11130
11179
  }, [u(Z, {
11131
11180
  name: "chevron-right",
11132
11181
  size: "s"
11133
- })], 8, Np)
11182
+ })], 8, Pp)
11134
11183
  ]),
11135
- s("div", Pp, [s("div", {
11184
+ s("div", Fp, [s("div", {
11136
11185
  class: "coar-plain-date-picker-month-list",
11137
11186
  role: "listbox",
11138
11187
  "aria-label": L(i)("coar.ui.datePicker.months", void 0, "Months")
11139
- }, [s("div", Ip, [(w(!0), o(e, null, k(p.value, (e) => (w(), o("button", {
11188
+ }, [s("div", Lp, [(w(!0), o(e, null, k(p.value, (e) => (w(), o("button", {
11140
11189
  key: e.month,
11141
11190
  type: "button",
11142
11191
  class: y(["coar-plain-date-picker-month-item", { "coar-plain-date-picker-month-item--active": e.isActive }]),
11143
11192
  role: "option",
11144
11193
  "aria-selected": e.isActive,
11145
11194
  onClick: (n) => t.onSelectMonth(e.yearMonth)
11146
- }, P(e.name), 11, Lp))), 128))])], 8, Fp)]),
11147
- _.value.length > 0 ? (w(), o("div", Rp, [s("div", zp, [s("div", Bp, [(w(!0), o(e, null, k(_.value, (e) => (w(), o("div", {
11195
+ }, P(e.name), 11, Rp))), 128))])], 8, Ip)]),
11196
+ _.value.length > 0 ? (w(), o("div", zp, [s("div", Bp, [s("div", Vp, [(w(!0), o(e, null, k(_.value, (e) => (w(), o("div", {
11148
11197
  key: e.description,
11149
11198
  class: "coar-plain-date-picker-event-item"
11150
- }, [r[3] ||= s("span", { class: "coar-plain-date-picker-event-dot" }, null, -1), s("div", Vp, [s("span", Hp, P(e.description), 1), e.endDate && !e.startDate.equals(e.endDate) ? (w(), o("span", Up, P(e.startDate.day) + "/" + P(e.startDate.month) + " – " + P(e.endDate.day) + "/" + P(e.endDate.month), 1)) : a("", !0)])]))), 128))])])])) : a("", !0)
11199
+ }, [r[3] ||= s("span", { class: "coar-plain-date-picker-event-dot" }, null, -1), s("div", Hp, [s("span", Up, P(e.description), 1), e.endDate && !e.startDate.equals(e.endDate) ? (w(), o("span", Wp, P(e.startDate.day) + "/" + P(e.startDate.month) + " – " + P(e.endDate.day) + "/" + P(e.endDate.month), 1)) : a("", !0)])]))), 128))])])])) : a("", !0)
11151
11200
  ])], 2));
11152
11201
  }
11153
- }), Gp = {
11202
+ }), Kp = {
11154
11203
  key: 0,
11155
11204
  class: "coar-plain-date-picker-required",
11156
11205
  "aria-hidden": "true"
11157
- }, Kp = ["aria-expanded", "aria-controls"], qp = ["aria-label"], Jp = [
11206
+ }, qp = ["aria-expanded", "aria-controls"], Jp = ["aria-label"], Yp = [
11158
11207
  "value",
11159
11208
  "placeholder",
11160
11209
  "disabled",
@@ -11162,7 +11211,7 @@ var Dp = { class: "coar-plain-date-picker-calendar-column" }, Op = ["aria-label"
11162
11211
  "aria-labelledby",
11163
11212
  "aria-invalid",
11164
11213
  "aria-describedby"
11165
- ], Yp = ["aria-label", "disabled"], Xp = ["title"], Zp = /* @__PURE__ */ X(/* @__PURE__ */ d({
11214
+ ], Xp = ["aria-label", "disabled"], Zp = ["title"], Qp = /* @__PURE__ */ X(/* @__PURE__ */ d({
11166
11215
  __name: "CoarPlainDatePicker",
11167
11216
  props: /* @__PURE__ */ g({
11168
11217
  label: { default: "" },
@@ -11213,17 +11262,17 @@ var Dp = { class: "coar-plain-date-picker-calendar-column" }, Op = ["aria-label"
11213
11262
  }),
11214
11263
  emits: /* @__PURE__ */ g(["opened", "closed"], ["update:modelValue"]),
11215
11264
  setup(e, { emit: t }) {
11216
- let n = e, i = z(e, "modelValue"), c = t, { t: d } = q(), f = Sp({
11265
+ let n = e, i = z(e, "modelValue"), c = t, { t: d } = q(), f = Cp({
11217
11266
  locale: r(() => n.locale),
11218
11267
  dateFormat: r(() => n.dateFormat)
11219
11268
  }), p = O(i.value?.toPlainYearMonth() ?? Y.Now.plainDateISO().toPlainYearMonth()), m = `coar-plain-date-picker-${crypto.randomUUID?.() ?? Date.now().toString(16)}`, g = `${m}-label`, _ = `${m}-input`, b = `${m}-panel`, x = `${m}-message`, T = O(null), D = O(null), k = null, A = O(""), j;
11220
11269
  function M() {
11221
11270
  if (j?.destroy(), !D.value) return;
11222
- let e = Tp(f.effectiveDateFormat.value.pattern);
11271
+ let e = Ep(f.effectiveDateFormat.value.pattern);
11223
11272
  j = new ie(D.value, e);
11224
11273
  }
11225
11274
  U(i, (e) => {
11226
- e ? A.value = Yf(e, f.effectiveDateFormat.value.pattern) : A.value = "";
11275
+ e ? A.value = Xf(e, f.effectiveDateFormat.value.pattern) : A.value = "";
11227
11276
  }, { immediate: !0 }), U([D, () => f.effectiveDateFormat.value], () => {
11228
11277
  v(() => M());
11229
11278
  }), S(() => {
@@ -11299,7 +11348,7 @@ var Dp = { class: "coar-plain-date-picker-calendar-column" }, Op = ["aria-label"
11299
11348
  },
11300
11349
  content: {
11301
11350
  kind: "component",
11302
- component: h(Wp)
11351
+ component: h(Gp)
11303
11352
  },
11304
11353
  inputs: t
11305
11354
  }), f.open(), c("opened"), k.afterClosed.then(() => {
@@ -11324,7 +11373,7 @@ var Dp = { class: "coar-plain-date-picker-calendar-column" }, Op = ["aria-label"
11324
11373
  function ne(e) {
11325
11374
  let t = e.target;
11326
11375
  A.value = t.value;
11327
- let r = Xf(t.value, f.effectiveDateFormat.value.pattern, {
11376
+ let r = Zf(t.value, f.effectiveDateFormat.value.pattern, {
11328
11377
  min: n.min,
11329
11378
  max: n.max
11330
11379
  });
@@ -11332,10 +11381,10 @@ var Dp = { class: "coar-plain-date-picker-calendar-column" }, Op = ["aria-label"
11332
11381
  }
11333
11382
  function re() {
11334
11383
  let e = A.value;
11335
- !Xf(e, f.effectiveDateFormat.value.pattern, {
11384
+ !Zf(e, f.effectiveDateFormat.value.pattern, {
11336
11385
  min: n.min,
11337
11386
  max: n.max
11338
- }) && e.length > 0 && (i.value ? A.value = Yf(i.value, f.effectiveDateFormat.value.pattern) : A.value = "");
11387
+ }) && e.length > 0 && (i.value ? A.value = Xf(i.value, f.effectiveDateFormat.value.pattern) : A.value = "");
11339
11388
  }
11340
11389
  return (t, n) => (w(), o("div", { class: y(["coar-plain-date-picker-wrapper", [`coar-plain-date-picker--${e.size}`, {
11341
11390
  "coar-plain-date-picker--disabled": I.value,
@@ -11347,7 +11396,7 @@ var Dp = { class: "coar-plain-date-picker-calendar-column" }, Op = ["aria-label"
11347
11396
  key: 0,
11348
11397
  id: g,
11349
11398
  class: "coar-plain-date-picker-label"
11350
- }, [l(P(e.label) + " ", 1), e.required ? (w(), o("span", Gp, "*")) : a("", !0)])) : a("", !0),
11399
+ }, [l(P(e.label) + " ", 1), e.required ? (w(), o("span", Kp, "*")) : a("", !0)])) : a("", !0),
11351
11400
  s("div", {
11352
11401
  ref_key: "triggerRef",
11353
11402
  ref: T,
@@ -11371,7 +11420,7 @@ var Dp = { class: "coar-plain-date-picker-calendar-column" }, Op = ["aria-label"
11371
11420
  }, [u(Z, {
11372
11421
  name: "x",
11373
11422
  size: "auto"
11374
- })], 10, qp),
11423
+ })], 10, Jp),
11375
11424
  s("input", {
11376
11425
  id: _,
11377
11426
  ref_key: "dateInputRef",
@@ -11389,7 +11438,7 @@ var Dp = { class: "coar-plain-date-picker-calendar-column" }, Op = ["aria-label"
11389
11438
  onInput: ne,
11390
11439
  onBlur: re,
11391
11440
  onKeydown: te
11392
- }, null, 40, Jp),
11441
+ }, null, 40, Yp),
11393
11442
  s("button", {
11394
11443
  type: "button",
11395
11444
  class: "coar-plain-date-picker-btn",
@@ -11400,23 +11449,23 @@ var Dp = { class: "coar-plain-date-picker-calendar-column" }, Op = ["aria-label"
11400
11449
  }, [u(Z, {
11401
11450
  name: "calendar",
11402
11451
  size: "s"
11403
- })], 8, Yp)
11404
- ], 10, Kp),
11452
+ })], 8, Xp)
11453
+ ], 10, qp),
11405
11454
  F.value ? (w(), o("div", {
11406
11455
  key: 1,
11407
11456
  id: x,
11408
11457
  class: y(["coar-form-field-message", { "coar-form-field-message--error": N.value }]),
11409
11458
  title: F.value
11410
- }, P(F.value), 11, Xp)) : a("", !0)
11459
+ }, P(F.value), 11, Zp)) : a("", !0)
11411
11460
  ], 2));
11412
11461
  }
11413
- }), [["__scopeId", "data-v-2c8a34e4"]]), Qp = { class: "coar-pdtp-calendar-column" }, $p = ["aria-label"], em = { class: "coar-pdtp-side-column" }, tm = { class: "coar-pdtp-year-stepper" }, nm = ["disabled", "aria-label"], rm = { class: "coar-pdtp-year" }, im = ["disabled", "aria-label"], am = { class: "coar-pdtp-month-list-wrapper" }, om = ["aria-label"], sm = { class: "coar-pdtp-month-list-content" }, cm = ["aria-selected", "onClick"], lm = { class: "coar-pdtp-time-section" }, um = {
11462
+ }), [["__scopeId", "data-v-2c8a34e4"]]), $p = { class: "coar-pdtp-calendar-column" }, em = ["aria-label"], tm = { class: "coar-pdtp-side-column" }, nm = { class: "coar-pdtp-year-stepper" }, rm = ["disabled", "aria-label"], im = { class: "coar-pdtp-year" }, am = ["disabled", "aria-label"], om = { class: "coar-pdtp-month-list-wrapper" }, sm = ["aria-label"], cm = { class: "coar-pdtp-month-list-content" }, lm = ["aria-selected", "onClick"], um = { class: "coar-pdtp-time-section" }, dm = {
11414
11463
  key: 0,
11415
11464
  class: "coar-pdtp-events"
11416
- }, dm = { class: "coar-pdtp-events-list" }, fm = { class: "coar-pdtp-events-content" }, pm = { class: "coar-pdtp-event-details" }, mm = { class: "coar-pdtp-event-text" }, hm = {
11465
+ }, fm = { class: "coar-pdtp-events-list" }, pm = { class: "coar-pdtp-events-content" }, mm = { class: "coar-pdtp-event-details" }, hm = { class: "coar-pdtp-event-text" }, gm = {
11417
11466
  key: 0,
11418
11467
  class: "coar-pdtp-event-dates"
11419
- }, gm = /* @__PURE__ */ d({
11468
+ }, _m = /* @__PURE__ */ d({
11420
11469
  __name: "CoarPlainDateTimePickerPanel",
11421
11470
  props: {
11422
11471
  modelValue: {},
@@ -11467,7 +11516,7 @@ var Dp = { class: "coar-plain-date-picker-calendar-column" }, Op = ["aria-label"
11467
11516
  return n && r;
11468
11517
  }) : [];
11469
11518
  });
11470
- return (n, r) => (w(), o("div", { class: y(["coar-pdtp-panel", { "coar-pdtp-panel--with-weeks": t.showWeekNumbers }]) }, [s("div", Qp, [u(dp, {
11519
+ return (n, r) => (w(), o("div", { class: y(["coar-pdtp-panel", { "coar-pdtp-panel--with-weeks": t.showWeekNumbers }]) }, [s("div", $p, [u(fp, {
11471
11520
  "model-value": t.modelValue,
11472
11521
  "active-month": t.activeMonth,
11473
11522
  min: t.min ?? void 0,
@@ -11500,8 +11549,8 @@ var Dp = { class: "coar-plain-date-picker-calendar-column" }, Op = ["aria-label"
11500
11549
  }, [u(Z, {
11501
11550
  name: h.value === "up" ? "chevron-up" : "chevron-down",
11502
11551
  size: "xs"
11503
- }, null, 8, ["name"])], 8, $p)) : a("", !0)]), s("div", em, [
11504
- s("div", tm, [
11552
+ }, null, 8, ["name"])], 8, em)) : a("", !0)]), s("div", tm, [
11553
+ s("div", nm, [
11505
11554
  s("button", {
11506
11555
  type: "button",
11507
11556
  class: "coar-pdtp-year-btn",
@@ -11511,8 +11560,8 @@ var Dp = { class: "coar-plain-date-picker-calendar-column" }, Op = ["aria-label"
11511
11560
  }, [u(Z, {
11512
11561
  name: "chevron-left",
11513
11562
  size: "s"
11514
- })], 8, nm),
11515
- s("span", rm, P(c.value), 1),
11563
+ })], 8, rm),
11564
+ s("span", im, P(c.value), 1),
11516
11565
  s("button", {
11517
11566
  type: "button",
11518
11567
  class: "coar-pdtp-year-btn",
@@ -11522,21 +11571,21 @@ var Dp = { class: "coar-plain-date-picker-calendar-column" }, Op = ["aria-label"
11522
11571
  }, [u(Z, {
11523
11572
  name: "chevron-right",
11524
11573
  size: "s"
11525
- })], 8, im)
11574
+ })], 8, am)
11526
11575
  ]),
11527
- s("div", am, [s("div", {
11576
+ s("div", om, [s("div", {
11528
11577
  class: "coar-pdtp-month-list",
11529
11578
  role: "listbox",
11530
11579
  "aria-label": L(i)("coar.ui.datePicker.months", void 0, "Months")
11531
- }, [s("div", sm, [(w(!0), o(e, null, k(p.value, (e) => (w(), o("button", {
11580
+ }, [s("div", cm, [(w(!0), o(e, null, k(p.value, (e) => (w(), o("button", {
11532
11581
  key: e.month,
11533
11582
  type: "button",
11534
11583
  class: y(["coar-pdtp-month-item", { "coar-pdtp-month-item--active": e.isActive }]),
11535
11584
  role: "option",
11536
11585
  "aria-selected": e.isActive,
11537
11586
  onClick: (n) => t.onSelectMonth(e.yearMonth)
11538
- }, P(e.name), 11, cm))), 128))])], 8, om)]),
11539
- s("div", lm, [u(Wf, {
11587
+ }, P(e.name), 11, lm))), 128))])], 8, sm)]),
11588
+ s("div", um, [u(Gf, {
11540
11589
  "model-value": t.selectedTime,
11541
11590
  "use24-hour": t.use24Hour,
11542
11591
  "minute-step": t.minuteStep,
@@ -11558,17 +11607,17 @@ var Dp = { class: "coar-plain-date-picker-calendar-column" }, Op = ["aria-label"
11558
11607
  "max-time",
11559
11608
  "onUpdate:modelValue"
11560
11609
  ])]),
11561
- _.value.length > 0 ? (w(), o("div", um, [s("div", dm, [s("div", fm, [(w(!0), o(e, null, k(_.value, (e) => (w(), o("div", {
11610
+ _.value.length > 0 ? (w(), o("div", dm, [s("div", fm, [s("div", pm, [(w(!0), o(e, null, k(_.value, (e) => (w(), o("div", {
11562
11611
  key: e.description,
11563
11612
  class: "coar-pdtp-event-item"
11564
- }, [r[3] ||= s("span", { class: "coar-pdtp-event-dot" }, null, -1), s("div", pm, [s("span", mm, P(e.description), 1), e.endDate && !e.startDate.equals(e.endDate) ? (w(), o("span", hm, P(e.startDate.day) + "/" + P(e.startDate.month) + " – " + P(e.endDate.day) + "/" + P(e.endDate.month), 1)) : a("", !0)])]))), 128))])])])) : a("", !0)
11613
+ }, [r[3] ||= s("span", { class: "coar-pdtp-event-dot" }, null, -1), s("div", mm, [s("span", hm, P(e.description), 1), e.endDate && !e.startDate.equals(e.endDate) ? (w(), o("span", gm, P(e.startDate.day) + "/" + P(e.startDate.month) + " – " + P(e.endDate.day) + "/" + P(e.endDate.month), 1)) : a("", !0)])]))), 128))])])])) : a("", !0)
11565
11614
  ])], 2));
11566
11615
  }
11567
- }), _m = {
11616
+ }), vm = {
11568
11617
  key: 0,
11569
11618
  class: "coar-pdtp-required",
11570
11619
  "aria-hidden": "true"
11571
- }, vm = ["aria-expanded", "aria-controls"], ym = ["aria-label"], bm = [
11620
+ }, ym = ["aria-expanded", "aria-controls"], bm = ["aria-label"], xm = [
11572
11621
  "value",
11573
11622
  "placeholder",
11574
11623
  "disabled",
@@ -11576,7 +11625,7 @@ var Dp = { class: "coar-plain-date-picker-calendar-column" }, Op = ["aria-label"
11576
11625
  "aria-labelledby",
11577
11626
  "aria-invalid",
11578
11627
  "aria-describedby"
11579
- ], xm = ["aria-label", "disabled"], Sm = ["title"], Cm = /* @__PURE__ */ X(/* @__PURE__ */ d({
11628
+ ], Sm = ["aria-label", "disabled"], Cm = ["title"], wm = /* @__PURE__ */ X(/* @__PURE__ */ d({
11580
11629
  __name: "CoarPlainDateTimePicker",
11581
11630
  props: /* @__PURE__ */ g({
11582
11631
  label: { default: "" },
@@ -11632,17 +11681,17 @@ var Dp = { class: "coar-plain-date-picker-calendar-column" }, Op = ["aria-label"
11632
11681
  }),
11633
11682
  emits: /* @__PURE__ */ g(["opened", "closed"], ["update:modelValue"]),
11634
11683
  setup(e, { emit: t }) {
11635
- let n = e, i = z(e, "modelValue"), c = t, { t: d } = q(), f = Sp({
11684
+ let n = e, i = z(e, "modelValue"), c = t, { t: d } = q(), f = Cp({
11636
11685
  locale: r(() => n.locale),
11637
11686
  dateFormat: r(() => n.dateFormat)
11638
- }), p = O(i.value?.toPlainDate().toPlainYearMonth() ?? Y.Now.plainDateISO().toPlainYearMonth()), m = O(null), g = `coar-plain-dt-picker-${crypto.randomUUID?.() ?? Date.now().toString(16)}`, _ = `${g}-label`, b = `${g}-input`, x = `${g}-panel`, T = `${g}-message`, D = O(null), k = O(null), A = null, j = O(""), M = r(() => n.use24Hour === !0 ? !0 : n.use24Hour === !1 ? !1 : !Cf(f.effectiveLocale.value)), N;
11687
+ }), p = O(i.value?.toPlainDate().toPlainYearMonth() ?? Y.Now.plainDateISO().toPlainYearMonth()), m = O(null), g = `coar-plain-dt-picker-${crypto.randomUUID?.() ?? Date.now().toString(16)}`, _ = `${g}-label`, b = `${g}-input`, x = `${g}-panel`, T = `${g}-message`, D = O(null), k = O(null), A = null, j = O(""), M = r(() => n.use24Hour === !0 ? !0 : n.use24Hour === !1 ? !1 : !wf(f.effectiveLocale.value)), N;
11639
11688
  function F() {
11640
11689
  if (N?.destroy(), !k.value) return;
11641
- let e = Ep(f.effectiveDateFormat.value.pattern, !M.value);
11690
+ let e = Dp(f.effectiveDateFormat.value.pattern, !M.value);
11642
11691
  N = new ie(k.value, e);
11643
11692
  }
11644
11693
  function I(e) {
11645
- return `${Yf(e.toPlainDate(), f.effectiveDateFormat.value.pattern)} ${wf(e.hour, e.minute, M.value)}`;
11694
+ return `${Xf(e.toPlainDate(), f.effectiveDateFormat.value.pattern)} ${Tf(e.hour, e.minute, M.value)}`;
11646
11695
  }
11647
11696
  U(i, (e) => {
11648
11697
  j.value = e ? I(e) : "";
@@ -11694,7 +11743,7 @@ var Dp = { class: "coar-plain-date-picker-calendar-column" }, Op = ["aria-label"
11694
11743
  onDateSelected: (e) => {
11695
11744
  let t = K.value ?? n.defaultTime, r = e.toPlainDateTime({
11696
11745
  hour: t.hours,
11697
- minute: Af(t.minutes, n.minuteStep)
11746
+ minute: jf(t.minutes, n.minuteStep)
11698
11747
  });
11699
11748
  r = se(r), i.value = r;
11700
11749
  },
@@ -11771,7 +11820,7 @@ var Dp = { class: "coar-plain-date-picker-calendar-column" }, Op = ["aria-label"
11771
11820
  },
11772
11821
  content: {
11773
11822
  kind: "component",
11774
- component: h(gm)
11823
+ component: h(_m)
11775
11824
  },
11776
11825
  inputs: t
11777
11826
  }), f.open(), c("opened"), A.afterClosed.then(() => {
@@ -11807,12 +11856,12 @@ var Dp = { class: "coar-plain-date-picker-calendar-column" }, Op = ["aria-label"
11807
11856
  if (!e) return null;
11808
11857
  let t = e.split(" ");
11809
11858
  if (t.length < 2) return null;
11810
- let n = Xf(t[0], f.effectiveDateFormat.value.pattern, {
11859
+ let n = Zf(t[0], f.effectiveDateFormat.value.pattern, {
11811
11860
  min: ee.value,
11812
11861
  max: te.value
11813
11862
  });
11814
11863
  if (!n) return null;
11815
- let r = Tf(t.slice(1).join(" "));
11864
+ let r = Ef(t.slice(1).join(" "));
11816
11865
  return r ? n.toPlainDateTime({
11817
11866
  hour: r.hours,
11818
11867
  minute: r.minutes
@@ -11828,7 +11877,7 @@ var Dp = { class: "coar-plain-date-picker-calendar-column" }, Op = ["aria-label"
11828
11877
  key: 0,
11829
11878
  id: _,
11830
11879
  class: "coar-pdtp-label"
11831
- }, [l(P(e.label) + " ", 1), e.required ? (w(), o("span", _m, "*")) : a("", !0)])) : a("", !0),
11880
+ }, [l(P(e.label) + " ", 1), e.required ? (w(), o("span", vm, "*")) : a("", !0)])) : a("", !0),
11832
11881
  s("div", {
11833
11882
  ref_key: "triggerRef",
11834
11883
  ref: D,
@@ -11852,7 +11901,7 @@ var Dp = { class: "coar-plain-date-picker-calendar-column" }, Op = ["aria-label"
11852
11901
  }, [u(Z, {
11853
11902
  name: "x",
11854
11903
  size: "auto"
11855
- })], 10, ym),
11904
+ })], 10, bm),
11856
11905
  s("input", {
11857
11906
  id: b,
11858
11907
  ref_key: "dateInputRef",
@@ -11870,7 +11919,7 @@ var Dp = { class: "coar-plain-date-picker-calendar-column" }, Op = ["aria-label"
11870
11919
  onInput: pe,
11871
11920
  onBlur: me,
11872
11921
  onKeydown: de
11873
- }, null, 40, bm),
11922
+ }, null, 40, xm),
11874
11923
  s("button", {
11875
11924
  type: "button",
11876
11925
  class: "coar-pdtp-btn",
@@ -11881,32 +11930,32 @@ var Dp = { class: "coar-plain-date-picker-calendar-column" }, Op = ["aria-label"
11881
11930
  }, [u(Z, {
11882
11931
  name: "calendar",
11883
11932
  size: "s"
11884
- })], 8, xm)
11885
- ], 10, vm),
11933
+ })], 8, Sm)
11934
+ ], 10, ym),
11886
11935
  B.value ? (w(), o("div", {
11887
11936
  key: 1,
11888
11937
  id: T,
11889
11938
  class: y(["coar-form-field-message", { "coar-form-field-message--error": R.value }]),
11890
11939
  title: B.value
11891
- }, P(B.value), 11, Sm)) : a("", !0)
11940
+ }, P(B.value), 11, Cm)) : a("", !0)
11892
11941
  ], 2));
11893
11942
  }
11894
11943
  }), [["__scopeId", "data-v-55dfa9b2"]]);
11895
11944
  //#endregion
11896
11945
  //#region src/components/date-time/_shared/timezone-helpers.ts
11897
- function wm() {
11946
+ function Tm() {
11898
11947
  try {
11899
11948
  return ["UTC", ...Intl.supportedValuesOf("timeZone")];
11900
11949
  } catch {
11901
11950
  return ["UTC"];
11902
11951
  }
11903
11952
  }
11904
- function Tm(e, t) {
11953
+ function Em(e, t) {
11905
11954
  let n = t ?? Y.Now.instant();
11906
11955
  try {
11907
11956
  let t = n.toZonedDateTimeISO(e).offsetNanoseconds, r = Math.round(t / 6e10);
11908
11957
  return {
11909
- offset: Em(r),
11958
+ offset: Dm(r),
11910
11959
  offsetMinutes: r
11911
11960
  };
11912
11961
  } catch {
@@ -11916,21 +11965,21 @@ function Tm(e, t) {
11916
11965
  };
11917
11966
  }
11918
11967
  }
11919
- function Em(e) {
11968
+ function Dm(e) {
11920
11969
  if (e === 0) return "UTC";
11921
11970
  let t = e >= 0 ? "+" : "-", n = Math.abs(e), r = Math.floor(n / 60), i = n % 60;
11922
11971
  return i === 0 ? `UTC${t}${r}` : `UTC${t}${r}:${String(i).padStart(2, "0")}`;
11923
11972
  }
11924
- function Dm(e) {
11973
+ function Om(e) {
11925
11974
  if (e === "UTC") return "UTC";
11926
11975
  let t = e.split("/");
11927
11976
  return t[t.length - 1].replace(/_/g, " ");
11928
11977
  }
11929
- function Om(e, t) {
11930
- let n = Dm(e), { offset: r } = Tm(e, t);
11978
+ function km(e, t) {
11979
+ let n = Om(e), { offset: r } = Em(e, t);
11931
11980
  return `${n} (${r})`;
11932
11981
  }
11933
- function km(e, t) {
11982
+ function Am(e, t) {
11934
11983
  if (!t || t.length === 0) return e;
11935
11984
  let n = t.map((e) => {
11936
11985
  let t = e.replace(/[.+?^${}()|[\]\\]/g, "\\$&").replace(/\*/g, ".*");
@@ -11938,19 +11987,19 @@ function km(e, t) {
11938
11987
  });
11939
11988
  return e.filter((e) => n.some((t) => t.test(e)));
11940
11989
  }
11941
- function Am(e, t) {
11942
- let { offset: n, offsetMinutes: r } = Tm(e, t);
11990
+ function jm(e, t) {
11991
+ let { offset: n, offsetMinutes: r } = Em(e, t);
11943
11992
  return {
11944
11993
  id: e,
11945
- city: Dm(e),
11994
+ city: Om(e),
11946
11995
  offset: n,
11947
11996
  offsetMinutes: r
11948
11997
  };
11949
11998
  }
11950
- function jm(e, t, n) {
11999
+ function Mm(e, t, n) {
11951
12000
  let r = t?.trim().toLowerCase(), i = /* @__PURE__ */ new Map();
11952
12001
  for (let t of e) {
11953
- let e = Am(t, n);
12002
+ let e = jm(t, n);
11954
12003
  if (r && r.length > 0) {
11955
12004
  let n = e.city.toLowerCase().includes(r), i = t.toLowerCase().includes(r);
11956
12005
  if (!n && !i) continue;
@@ -11970,25 +12019,25 @@ function jm(e, t, n) {
11970
12019
  }
11971
12020
  //#endregion
11972
12021
  //#region src/components/date-time/zoned-date-time-picker/CoarZonedDateTimePickerPanel.vue?vue&type=script&setup=true&lang.ts
11973
- var Mm = { class: "coar-zdtp-body" }, Nm = { class: "coar-zdtp-calendar-column" }, Pm = ["aria-label"], Fm = { class: "coar-zdtp-side-column" }, Im = {
12022
+ var Nm = { class: "coar-zdtp-body" }, Pm = { class: "coar-zdtp-calendar-column" }, Fm = ["aria-label"], Im = { class: "coar-zdtp-side-column" }, Lm = {
11974
12023
  key: 0,
11975
12024
  class: "coar-zdtp-side-header"
11976
- }, Lm = ["disabled", "aria-label"], Rm = { class: "coar-zdtp-year" }, zm = ["disabled", "aria-label"], Bm = {
12025
+ }, Rm = ["disabled", "aria-label"], zm = { class: "coar-zdtp-year" }, Bm = ["disabled", "aria-label"], Vm = {
11977
12026
  key: 1,
11978
12027
  class: "coar-zdtp-side-header coar-zdtp-side-header--search"
11979
- }, Vm = ["placeholder", "onKeydown"], Hm = ["aria-label"], Um = { class: "coar-zdtp-tz-group-header" }, Wm = ["onClick"], Gm = { class: "coar-zdtp-tz-picker-item-city" }, Km = { class: "coar-zdtp-tz-picker-item-offset" }, qm = ["aria-label"], Jm = ["aria-selected", "onClick"], Ym = { class: "coar-zdtp-time-section" }, Xm = { class: "coar-zdtp-display-tz-label" }, Zm = { class: "coar-zdtp-display-tz-btn-label" }, Qm = {
12028
+ }, Hm = ["placeholder", "onKeydown"], Um = ["aria-label"], Wm = { class: "coar-zdtp-tz-group-header" }, Gm = ["onClick"], Km = { class: "coar-zdtp-tz-picker-item-city" }, qm = { class: "coar-zdtp-tz-picker-item-offset" }, Jm = ["aria-label"], Ym = ["aria-selected", "onClick"], Xm = { class: "coar-zdtp-time-section" }, Zm = { class: "coar-zdtp-display-tz-label" }, Qm = { class: "coar-zdtp-display-tz-btn-label" }, $m = {
11980
12029
  key: 0,
11981
12030
  class: "coar-zdtp-events"
11982
- }, $m = {
12031
+ }, eh = {
11983
12032
  key: 0,
11984
12033
  class: "coar-zdtp-footer-placeholder"
11985
- }, eh = {
12034
+ }, th = {
11986
12035
  key: 1,
11987
12036
  class: "coar-zdtp-footer-edit"
11988
- }, th = ["aria-label"], nh = {
12037
+ }, nh = ["aria-label"], rh = {
11989
12038
  key: 2,
11990
12039
  class: "coar-zdtp-footer-display"
11991
- }, rh = { class: "coar-zdtp-footer-tz-name" }, ih = { class: "coar-zdtp-footer-tz-value" }, ah = ["aria-label"], oh = /* @__PURE__ */ d({
12040
+ }, ih = { class: "coar-zdtp-footer-tz-name" }, ah = { class: "coar-zdtp-footer-tz-value" }, oh = ["aria-label"], sh = /* @__PURE__ */ d({
11992
12041
  __name: "CoarZonedDateTimePickerPanel",
11993
12042
  props: {
11994
12043
  modelValue: {},
@@ -12046,9 +12095,9 @@ var Mm = { class: "coar-zdtp-body" }, Nm = { class: "coar-zdtp-calendar-column"
12046
12095
  let n = Y.PlainDate.compare(e, t.startDate) >= 0, r = t.endDate ? Y.PlainDate.compare(e, t.endDate) <= 0 : Y.PlainDate.compare(e, t.startDate) === 0;
12047
12096
  return n && r;
12048
12097
  }) : [];
12049
- }), E = r(() => km(n.allTimezones, n.timezoneFilter)), D = r(() => jm(E.value, d.value)), A = r(() => E.value.map((e) => ({
12098
+ }), E = r(() => Am(n.allTimezones, n.timezoneFilter)), D = r(() => Mm(E.value, d.value)), A = r(() => E.value.map((e) => ({
12050
12099
  value: e,
12051
- label: Om(e)
12100
+ label: km(e)
12052
12101
  })));
12053
12102
  function j() {
12054
12103
  c.value = !0, d.value = "", v(() => {
@@ -12075,7 +12124,7 @@ var Mm = { class: "coar-zdtp-body" }, Nm = { class: "coar-zdtp-calendar-column"
12075
12124
  function R() {
12076
12125
  l.value = !1;
12077
12126
  }
12078
- return (n, r) => (w(), o("div", { class: y(["coar-zdtp-panel", { "coar-zdtp-panel--with-weeks": t.showWeekNumbers }]) }, [s("div", Mm, [s("div", Nm, [u(dp, {
12127
+ return (n, r) => (w(), o("div", { class: y(["coar-zdtp-panel", { "coar-zdtp-panel--with-weeks": t.showWeekNumbers }]) }, [s("div", Nm, [s("div", Pm, [u(fp, {
12079
12128
  "model-value": t.modelValue,
12080
12129
  "active-month": t.activeMonth,
12081
12130
  min: t.min ?? void 0,
@@ -12108,8 +12157,8 @@ var Mm = { class: "coar-zdtp-body" }, Nm = { class: "coar-zdtp-calendar-column"
12108
12157
  }, [u(Z, {
12109
12158
  name: S.value === "up" ? "chevron-up" : "chevron-down",
12110
12159
  size: "xs"
12111
- }, null, 8, ["name"])], 8, Pm)) : a("", !0)]), s("div", Fm, [
12112
- c.value ? (w(), o("div", Bm, [K(s("input", {
12160
+ }, null, 8, ["name"])], 8, Fm)) : a("", !0)]), s("div", Im, [
12161
+ c.value ? (w(), o("div", Vm, [K(s("input", {
12113
12162
  ref_key: "tzSearchInputRef",
12114
12163
  ref: f,
12115
12164
  "onUpdate:modelValue": r[3] ||= (e) => d.value = e,
@@ -12117,7 +12166,7 @@ var Mm = { class: "coar-zdtp-body" }, Nm = { class: "coar-zdtp-calendar-column"
12117
12166
  class: "coar-zdtp-tz-search-input",
12118
12167
  placeholder: L(i)("coar.ui.zonedDateTimePicker.searchTimezone", void 0, "Search timezone..."),
12119
12168
  onKeydown: ee(te(M, ["stop"]), ["escape"])
12120
- }, null, 40, Vm), [[H, d.value]]), s("button", {
12169
+ }, null, 40, Hm), [[H, d.value]]), s("button", {
12121
12170
  type: "button",
12122
12171
  class: "coar-zdtp-tz-search-close",
12123
12172
  "aria-label": L(i)("coar.ui.zonedDateTimePicker.closeTimezoneSearch", void 0, "Close timezone search"),
@@ -12125,7 +12174,7 @@ var Mm = { class: "coar-zdtp-body" }, Nm = { class: "coar-zdtp-calendar-column"
12125
12174
  }, [u(Z, {
12126
12175
  name: "x",
12127
12176
  size: "xs"
12128
- })], 8, Hm)])) : (w(), o("div", Im, [
12177
+ })], 8, Um)])) : (w(), o("div", Lm, [
12129
12178
  s("button", {
12130
12179
  type: "button",
12131
12180
  class: "coar-zdtp-year-btn",
@@ -12135,8 +12184,8 @@ var Mm = { class: "coar-zdtp-body" }, Nm = { class: "coar-zdtp-calendar-column"
12135
12184
  }, [u(Z, {
12136
12185
  name: "chevron-left",
12137
12186
  size: "s"
12138
- })], 8, Lm),
12139
- s("span", Rm, P(m.value), 1),
12187
+ })], 8, Rm),
12188
+ s("span", zm, P(m.value), 1),
12140
12189
  s("button", {
12141
12190
  type: "button",
12142
12191
  class: "coar-zdtp-year-btn",
@@ -12146,7 +12195,7 @@ var Mm = { class: "coar-zdtp-body" }, Nm = { class: "coar-zdtp-calendar-column"
12146
12195
  }, [u(Z, {
12147
12196
  name: "chevron-right",
12148
12197
  size: "s"
12149
- })], 8, zm)
12198
+ })], 8, Bm)
12150
12199
  ])),
12151
12200
  c.value ? K((w(), o("div", {
12152
12201
  key: 2,
@@ -12156,12 +12205,12 @@ var Mm = { class: "coar-zdtp-body" }, Nm = { class: "coar-zdtp-calendar-column"
12156
12205
  }, [(w(!0), o(e, null, k(D.value, (n) => (w(), o("div", {
12157
12206
  key: n.name,
12158
12207
  class: "coar-zdtp-tz-group"
12159
- }, [s("div", Um, P(n.name), 1), (w(!0), o(e, null, k(n.items, (e) => (w(), o("button", {
12208
+ }, [s("div", Wm, P(n.name), 1), (w(!0), o(e, null, k(n.items, (e) => (w(), o("button", {
12160
12209
  key: e.id,
12161
12210
  type: "button",
12162
12211
  class: y(["coar-zdtp-tz-picker-item", { "coar-zdtp-tz-picker-item--active": e.id === t.effectiveDisplayTimeZone }]),
12163
12212
  onClick: (t) => N(e.id)
12164
- }, [s("span", Gm, P(e.city), 1), s("span", Km, P(e.offset), 1)], 10, Wm))), 128))]))), 128))])), [[L(Us), {
12213
+ }, [s("span", Km, P(e.city), 1), s("span", qm, P(e.offset), 1)], 10, Gm))), 128))]))), 128))])), [[L(Us), {
12165
12214
  overflowX: "hidden",
12166
12215
  autoHide: "leave"
12167
12216
  }]]) : a("", !0),
@@ -12177,8 +12226,8 @@ var Mm = { class: "coar-zdtp-body" }, Nm = { class: "coar-zdtp-calendar-column"
12177
12226
  role: "option",
12178
12227
  "aria-selected": e.isActive,
12179
12228
  onClick: (n) => t.onSelectMonth(e.yearMonth)
12180
- }, P(e.name), 11, Jm))), 128))], 8, qm),
12181
- s("div", Ym, [u(Wf, {
12229
+ }, P(e.name), 11, Ym))), 128))], 8, Jm),
12230
+ s("div", Xm, [u(Gf, {
12182
12231
  "model-value": t.selectedTime ?? void 0,
12183
12232
  "use24-hour": t.use24Hour,
12184
12233
  "minute-step": t.minuteStep,
@@ -12194,16 +12243,16 @@ var Mm = { class: "coar-zdtp-body" }, Nm = { class: "coar-zdtp-calendar-column"
12194
12243
  "max",
12195
12244
  "onUpdate:modelValue"
12196
12245
  ])]),
12197
- s("div", Xm, P(L(i)("coar.ui.zonedDateTimePicker.displayTimezone", void 0, "Display Timezone")), 1),
12246
+ s("div", Zm, P(L(i)("coar.ui.zonedDateTimePicker.displayTimezone", void 0, "Display Timezone")), 1),
12198
12247
  s("button", {
12199
12248
  type: "button",
12200
12249
  class: "coar-zdtp-display-tz-btn",
12201
12250
  onClick: j
12202
- }, [s("span", Zm, P(L(Om)(t.effectiveDisplayTimeZone)), 1), u(Z, {
12251
+ }, [s("span", Qm, P(L(km)(t.effectiveDisplayTimeZone)), 1), u(Z, {
12203
12252
  name: "chevron-down",
12204
12253
  size: "xs"
12205
12254
  })]),
12206
- T.value.length > 0 ? K((w(), o("div", Qm, [(w(!0), o(e, null, k(T.value, (e, t) => (w(), o("div", {
12255
+ T.value.length > 0 ? K((w(), o("div", $m, [(w(!0), o(e, null, k(T.value, (e, t) => (w(), o("div", {
12207
12256
  key: t,
12208
12257
  class: y(["coar-zdtp-event-item", e.cssClass])
12209
12258
  }, P(e.description), 3))), 128))])), [[L(Us), {
@@ -12211,7 +12260,7 @@ var Mm = { class: "coar-zdtp-body" }, Nm = { class: "coar-zdtp-calendar-column"
12211
12260
  autoHide: "leave"
12212
12261
  }]]) : a("", !0)
12213
12262
  ], 64))
12214
- ])]), s("div", { class: y(["coar-zdtp-footer", { "coar-zdtp-footer--differs": t.timeZonesDiffer }]) }, [t.hasValue ? l.value ? (w(), o("div", eh, [u(nc, {
12263
+ ])]), s("div", { class: y(["coar-zdtp-footer", { "coar-zdtp-footer--differs": t.timeZonesDiffer }]) }, [t.hasValue ? l.value ? (w(), o("div", th, [u(nc, {
12215
12264
  "model-value": t.valueTimeZone,
12216
12265
  options: A.value,
12217
12266
  appearance: "inline",
@@ -12234,14 +12283,14 @@ var Mm = { class: "coar-zdtp-body" }, Nm = { class: "coar-zdtp-calendar-column"
12234
12283
  }, [u(Z, {
12235
12284
  name: "x",
12236
12285
  size: "xs"
12237
- })], 8, th)])) : (w(), o("div", nh, [
12286
+ })], 8, nh)])) : (w(), o("div", rh, [
12238
12287
  u(Z, {
12239
12288
  name: "map-pin",
12240
12289
  size: "xs",
12241
12290
  class: "coar-zdtp-footer-icon"
12242
12291
  }),
12243
- s("span", rh, P(t.valueTimeZoneLabel), 1),
12244
- s("span", ih, P(t.formatValueInValueTz), 1),
12292
+ s("span", ih, P(t.valueTimeZoneLabel), 1),
12293
+ s("span", ah, P(t.formatValueInValueTz), 1),
12245
12294
  s("button", {
12246
12295
  type: "button",
12247
12296
  class: "coar-zdtp-footer-lock",
@@ -12250,28 +12299,28 @@ var Mm = { class: "coar-zdtp-body" }, Nm = { class: "coar-zdtp-calendar-column"
12250
12299
  }, [u(Z, {
12251
12300
  name: "settings",
12252
12301
  size: "xs"
12253
- })], 8, ah)
12254
- ])) : (w(), o("span", $m, [u(Z, {
12302
+ })], 8, oh)
12303
+ ])) : (w(), o("span", eh, [u(Z, {
12255
12304
  name: "map-pin",
12256
12305
  size: "xs"
12257
12306
  }), s("span", null, P(L(i)("coar.ui.zonedDateTimePicker.eventTimezone", void 0, "Event timezone")), 1)]))], 2)], 2));
12258
12307
  }
12259
- }), sh = {
12308
+ }), ch = {
12260
12309
  key: 0,
12261
12310
  class: "coar-zdtp-required",
12262
12311
  "aria-hidden": "true"
12263
- }, ch = [
12312
+ }, lh = [
12264
12313
  "aria-expanded",
12265
12314
  "aria-controls",
12266
12315
  "aria-labelledby",
12267
12316
  "aria-invalid"
12268
- ], lh = ["aria-label", "disabled"], uh = [
12317
+ ], uh = ["aria-label", "disabled"], dh = [
12269
12318
  "placeholder",
12270
12319
  "value",
12271
12320
  "disabled",
12272
12321
  "readonly",
12273
12322
  "aria-describedby"
12274
- ], dh = ["title"], fh = ["aria-label", "disabled"], ph = ["disabled", "aria-label"], mh = /* @__PURE__ */ X(/* @__PURE__ */ d({
12323
+ ], fh = ["title"], ph = ["aria-label", "disabled"], mh = ["disabled", "aria-label"], hh = /* @__PURE__ */ X(/* @__PURE__ */ d({
12275
12324
  __name: "CoarZonedDateTimePicker",
12276
12325
  props: /* @__PURE__ */ g({
12277
12326
  label: { default: "" },
@@ -12329,34 +12378,34 @@ var Mm = { class: "coar-zdtp-body" }, Nm = { class: "coar-zdtp-calendar-column"
12329
12378
  }),
12330
12379
  emits: /* @__PURE__ */ g(["opened", "closed"], ["update:modelValue"]),
12331
12380
  setup(e, { emit: t }) {
12332
- let n = e, i = z(e, "modelValue"), c = t, { t: d } = q(), f = Sp({
12381
+ let n = e, i = z(e, "modelValue"), c = t, { t: d } = q(), f = Cp({
12333
12382
  locale: r(() => n.locale),
12334
12383
  dateFormat: r(() => n.dateFormat)
12335
12384
  }), p = O(i.value?.toPlainDateTime().toPlainDate().toPlainYearMonth() ?? Y.Now.plainDateISO().toPlainYearMonth()), m = O(null), g = O(null), _ = `coar-zdtp-${crypto.randomUUID?.() ?? Date.now().toString(16)}`, b = `${_}-label`, x = `${_}-input`, T = `${_}-panel`, D = `${_}-message`, k = O(null), A = O(null), j = null, M = O(""), N = r(() => f.timezone.value || Intl.DateTimeFormat().resolvedOptions().timeZone || "UTC"), F = r(() => i.value?.timeZoneId ?? null), I = r(() => g.value ?? N.value), R = r(() => n.timeZone ?? N.value), B = r(() => F.value != null && F.value !== N.value), V = r(() => F.value != null && I.value !== F.value), H = r(() => {
12336
12385
  let e = I.value, t = N.value, n = F.value;
12337
12386
  return e === t ? "home" : n && e === n ? "location" : "world";
12338
- }), W = r(() => B.value || H.value !== "home"), G = r(() => Om(I.value)), K = r(() => {
12387
+ }), W = r(() => B.value || H.value !== "home"), G = r(() => km(I.value)), K = r(() => {
12339
12388
  let e = F.value;
12340
- return e ? Om(e) : "";
12341
- }), ee = wm(), J = r(() => n.use24Hour === !0 ? !0 : n.use24Hour === !1 ? !1 : !Cf(f.effectiveLocale.value)), ne;
12389
+ return e ? km(e) : "";
12390
+ }), ee = Tm(), J = r(() => n.use24Hour === !0 ? !0 : n.use24Hour === !1 ? !1 : !wf(f.effectiveLocale.value)), ne;
12342
12391
  function re() {
12343
12392
  if (ne?.destroy(), !A.value) return;
12344
- let e = Ep(f.effectiveDateFormat.value.pattern, !J.value);
12393
+ let e = Dp(f.effectiveDateFormat.value.pattern, !J.value);
12345
12394
  ne = new ie(A.value, e);
12346
12395
  }
12347
12396
  function ae(e) {
12348
12397
  let t = I.value, n = e.withTimeZone(t);
12349
- return `${Yf(n.toPlainDate(), f.effectiveDateFormat.value.pattern)} ${wf(n.hour, n.minute, J.value)}`;
12398
+ return `${Xf(n.toPlainDate(), f.effectiveDateFormat.value.pattern)} ${Tf(n.hour, n.minute, J.value)}`;
12350
12399
  }
12351
12400
  function oe() {
12352
- return i.value ? `${Yf(i.value.toPlainDate(), f.effectiveDateFormat.value.pattern)} ${wf(i.value.hour, i.value.minute, J.value)}` : "";
12401
+ return i.value ? `${Xf(i.value.toPlainDate(), f.effectiveDateFormat.value.pattern)} ${Tf(i.value.hour, i.value.minute, J.value)}` : "";
12353
12402
  }
12354
12403
  function se(e) {
12355
12404
  let t = e.trim().split(/\s+/);
12356
12405
  if (t.length < 2) return null;
12357
- let n = t[0], r = t.slice(1).join(" "), i = Xf(n, f.effectiveDateFormat.value.pattern);
12406
+ let n = t[0], r = t.slice(1).join(" "), i = Zf(n, f.effectiveDateFormat.value.pattern);
12358
12407
  if (!i) return null;
12359
- let a = Tf(r);
12408
+ let a = Ef(r);
12360
12409
  if (!a) return null;
12361
12410
  let o = i.toPlainDateTime({
12362
12411
  hour: a.hours,
@@ -12432,7 +12481,7 @@ var Mm = { class: "coar-zdtp-body" }, Nm = { class: "coar-zdtp-calendar-column"
12432
12481
  onDateSelected: (e) => {
12433
12482
  let t = ge.value ?? n.defaultTime, r = e.toPlainDateTime({
12434
12483
  hour: t.hours,
12435
- minute: Af(t.minutes, n.minuteStep)
12484
+ minute: jf(t.minutes, n.minuteStep)
12436
12485
  }), a = F.value ?? R.value, o;
12437
12486
  o = pe.value === a ? r.toZonedDateTime(a) : r.toZonedDateTime(pe.value).withTimeZone(a), o = we(o), i.value = o;
12438
12487
  },
@@ -12523,7 +12572,7 @@ var Mm = { class: "coar-zdtp-body" }, Nm = { class: "coar-zdtp-calendar-column"
12523
12572
  },
12524
12573
  content: {
12525
12574
  kind: "component",
12526
- component: h(oh)
12575
+ component: h(sh)
12527
12576
  },
12528
12577
  inputs: t
12529
12578
  }), f.open(), c("opened"), j.afterClosed.then(() => {
@@ -12572,7 +12621,7 @@ var Mm = { class: "coar-zdtp-body" }, Nm = { class: "coar-zdtp-calendar-column"
12572
12621
  id: b,
12573
12622
  class: "coar-zdtp-label",
12574
12623
  for: x
12575
- }, [l(P(e.label) + " ", 1), e.required ? (w(), o("span", sh, "*")) : a("", !0)])) : a("", !0),
12624
+ }, [l(P(e.label) + " ", 1), e.required ? (w(), o("span", ch, "*")) : a("", !0)])) : a("", !0),
12576
12625
  s("div", {
12577
12626
  ref_key: "triggerRef",
12578
12627
  ref: k,
@@ -12600,7 +12649,7 @@ var Mm = { class: "coar-zdtp-body" }, Nm = { class: "coar-zdtp-calendar-column"
12600
12649
  }, [u(Z, {
12601
12650
  name: "x",
12602
12651
  size: "auto"
12603
- })], 10, lh),
12652
+ })], 10, uh),
12604
12653
  s("input", {
12605
12654
  id: x,
12606
12655
  ref_key: "dateInputRef",
@@ -12615,12 +12664,12 @@ var Mm = { class: "coar-zdtp-body" }, Nm = { class: "coar-zdtp-calendar-column"
12615
12664
  autocomplete: "off",
12616
12665
  onInput: ke,
12617
12666
  onBlur: Ae
12618
- }, null, 40, uh),
12667
+ }, null, 40, dh),
12619
12668
  i.value ? (w(), o("span", {
12620
12669
  key: 0,
12621
12670
  class: "coar-zdtp-tz-inline",
12622
12671
  title: G.value
12623
- }, P(G.value), 9, dh)) : a("", !0),
12672
+ }, P(G.value), 9, fh)) : a("", !0),
12624
12673
  s("button", {
12625
12674
  type: "button",
12626
12675
  class: y(["coar-zdtp-tz-indicator", {
@@ -12634,7 +12683,7 @@ var Mm = { class: "coar-zdtp-body" }, Nm = { class: "coar-zdtp-calendar-column"
12634
12683
  }, [u(Z, {
12635
12684
  name: Me.value,
12636
12685
  size: "xs"
12637
- }, null, 8, ["name"])], 10, fh),
12686
+ }, null, 8, ["name"])], 10, ph),
12638
12687
  s("button", {
12639
12688
  type: "button",
12640
12689
  class: "coar-zdtp-btn",
@@ -12645,8 +12694,8 @@ var Mm = { class: "coar-zdtp-body" }, Nm = { class: "coar-zdtp-calendar-column"
12645
12694
  }, [u(Z, {
12646
12695
  name: "calendar",
12647
12696
  size: "s"
12648
- })], 8, ph)
12649
- ], 42, ch),
12697
+ })], 8, mh)
12698
+ ], 42, lh),
12650
12699
  le.value ? (w(), o("div", {
12651
12700
  key: 1,
12652
12701
  id: D,
@@ -12655,7 +12704,7 @@ var Mm = { class: "coar-zdtp-body" }, Nm = { class: "coar-zdtp-calendar-column"
12655
12704
  }, P(le.value), 3)) : a("", !0)
12656
12705
  ], 2));
12657
12706
  }
12658
- }), [["__scopeId", "data-v-c6c2a031"]]), hh = /* @__PURE__ */ X(/* @__PURE__ */ d({
12707
+ }), [["__scopeId", "data-v-c6c2a031"]]), gh = /* @__PURE__ */ X(/* @__PURE__ */ d({
12659
12708
  __name: "CoarPlainDateView",
12660
12709
  props: {
12661
12710
  value: { default: null },
@@ -12665,17 +12714,17 @@ var Mm = { class: "coar-zdtp-body" }, Nm = { class: "coar-zdtp-calendar-column"
12665
12714
  size: { default: "m" }
12666
12715
  },
12667
12716
  setup(e) {
12668
- let t = e, n = Sp({
12717
+ let t = e, n = Cp({
12669
12718
  locale: F(t, "locale"),
12670
12719
  dateFormat: F(t, "dateFormat")
12671
12720
  });
12672
12721
  function i(e) {
12673
12722
  return typeof e == "object" && !!e && Object.prototype.toString.call(e) === "[object Temporal.PlainDate]";
12674
12723
  }
12675
- let a = r(() => i(t.value) ? Yf(t.value, n.effectiveDateFormat.value.pattern) : ""), s = r(() => a.value || t.placeholder), c = r(() => !a.value);
12724
+ let a = r(() => i(t.value) ? Xf(t.value, n.effectiveDateFormat.value.pattern) : ""), s = r(() => a.value || t.placeholder), c = r(() => !a.value);
12676
12725
  return (t, n) => (w(), o("span", { class: y(["coar-plain-date-view", [`coar-plain-date-view--${e.size}`, { "coar-plain-date-view--empty": c.value }]]) }, P(s.value), 3));
12677
12726
  }
12678
- }), [["__scopeId", "data-v-c8cf9804"]]), gh = /* @__PURE__ */ X(/* @__PURE__ */ d({
12727
+ }), [["__scopeId", "data-v-c8cf9804"]]), _h = /* @__PURE__ */ X(/* @__PURE__ */ d({
12679
12728
  __name: "CoarPlainDateTimeView",
12680
12729
  props: {
12681
12730
  value: { default: null },
@@ -12689,17 +12738,17 @@ var Mm = { class: "coar-zdtp-body" }, Nm = { class: "coar-zdtp-calendar-column"
12689
12738
  size: { default: "m" }
12690
12739
  },
12691
12740
  setup(e) {
12692
- let t = e, n = Sp({
12741
+ let t = e, n = Cp({
12693
12742
  locale: F(t, "locale"),
12694
12743
  dateFormat: F(t, "dateFormat")
12695
- }), i = r(() => t.use24Hour === !0 ? !0 : t.use24Hour === !1 ? !1 : !Cf(n.effectiveLocale.value));
12744
+ }), i = r(() => t.use24Hour === !0 ? !0 : t.use24Hour === !1 ? !1 : !wf(n.effectiveLocale.value));
12696
12745
  function a(e) {
12697
12746
  return typeof e == "object" && !!e && Object.prototype.toString.call(e) === "[object Temporal.PlainDateTime]";
12698
12747
  }
12699
- let s = r(() => a(t.value) ? `${Yf(t.value.toPlainDate(), n.effectiveDateFormat.value.pattern)} ${wf(t.value.hour, t.value.minute, i.value)}` : ""), c = r(() => s.value || t.placeholder), l = r(() => !s.value);
12748
+ let s = r(() => a(t.value) ? `${Xf(t.value.toPlainDate(), n.effectiveDateFormat.value.pattern)} ${Tf(t.value.hour, t.value.minute, i.value)}` : ""), c = r(() => s.value || t.placeholder), l = r(() => !s.value);
12700
12749
  return (t, n) => (w(), o("span", { class: y(["coar-plain-date-time-view", [`coar-plain-date-time-view--${e.size}`, { "coar-plain-date-time-view--empty": l.value }]]) }, P(c.value), 3));
12701
12750
  }
12702
- }), [["__scopeId", "data-v-f32044ac"]]), _h = /* @__PURE__ */ X(/* @__PURE__ */ d({
12751
+ }), [["__scopeId", "data-v-f32044ac"]]), vh = /* @__PURE__ */ X(/* @__PURE__ */ d({
12703
12752
  __name: "CoarZonedDateTimeView",
12704
12753
  props: {
12705
12754
  value: { default: null },
@@ -12718,20 +12767,20 @@ var Mm = { class: "coar-zdtp-body" }, Nm = { class: "coar-zdtp-calendar-column"
12718
12767
  size: { default: "m" }
12719
12768
  },
12720
12769
  setup(e) {
12721
- let t = e, n = Sp({
12770
+ let t = e, n = Cp({
12722
12771
  locale: F(t, "locale"),
12723
12772
  dateFormat: F(t, "dateFormat")
12724
- }), i = r(() => t.use24Hour === !0 ? !0 : t.use24Hour === !1 ? !1 : !Cf(n.effectiveLocale.value));
12773
+ }), i = r(() => t.use24Hour === !0 ? !0 : t.use24Hour === !1 ? !1 : !wf(n.effectiveLocale.value));
12725
12774
  function a(e) {
12726
12775
  return typeof e == "object" && !!e && Object.prototype.toString.call(e) === "[object Temporal.ZonedDateTime]";
12727
12776
  }
12728
12777
  let s = r(() => t.displayTimeZone ? t.displayTimeZone : a(t.value) ? t.value.timeZoneId : null), c = r(() => {
12729
12778
  if (!a(t.value)) return "";
12730
- let e = s.value, r = e ? t.value.withTimeZone(e) : t.value, o = Yf(r.toPlainDate(), n.effectiveDateFormat.value.pattern), c = wf(r.hour, r.minute, i.value);
12731
- return !t.showTimeZone || !e ? `${o} ${c}` : `${o} ${c} ${Om(e, r.toInstant())}`;
12779
+ let e = s.value, r = e ? t.value.withTimeZone(e) : t.value, o = Xf(r.toPlainDate(), n.effectiveDateFormat.value.pattern), c = Tf(r.hour, r.minute, i.value);
12780
+ return !t.showTimeZone || !e ? `${o} ${c}` : `${o} ${c} ${km(e, r.toInstant())}`;
12732
12781
  }), l = r(() => c.value || t.placeholder), u = r(() => !c.value);
12733
12782
  return (t, n) => (w(), o("span", { class: y(["coar-zoned-date-time-view", [`coar-zoned-date-time-view--${e.size}`, { "coar-zoned-date-time-view--empty": u.value }]]) }, P(l.value), 3));
12734
12783
  }
12735
12784
  }), [["__scopeId", "data-v-00d86dd7"]]);
12736
12785
  //#endregion
12737
- export { Fe as COAR_BUILTIN_ICON_SOURCE_KEY, wp as COAR_DATE_FORMAT_TO_MASKITO_MODE, Cp as COAR_DEFAULT_TIME_FORMAT, Pe as COAR_ICON_SERVICE_KEY, ze as CORE_ICONS, Gt as CoarAvatar, pt as CoarBadge, bd as CoarBreadcrumb, Td as CoarBreadcrumbItem, $e as CoarButton, St as CoarCard, wn as CoarCheckbox, It as CoarCodeBlock, Me as CoarCollapse, rd as CoarContextMenu, ou as CoarDialogShell, ct as CoarDivider, gl as CoarDualListbox, ke as CoarFade, Oe as CoarFormField, Le as CoarHttpIconSource, Z as CoarIcon, Ie as CoarIconMapSource, ot as CoarIconPlugin, Re as CoarIconService, it as CoarLink, ul as CoarListbox, Du as CoarMenu, Vu as CoarMenuDivider, Hu as CoarMenuHeading, Lu as CoarMenuItem, bp as CoarMonthList, Ic as CoarMultiSelect, Sf as CoarNavbar, mt as CoarNote, vn as CoarNumberInput, rn as CoarOtpInput, Ml as CoarOverlayHost, yl as CoarOverlayOutlet, mr as CoarOverlayPlugin, Pd as CoarPagination, ln as CoarPasswordInput, Zp as CoarPlainDatePicker, Cm as CoarPlainDateTimePicker, gh as CoarPlainDateTimeView, hh as CoarPlainDateView, zl as CoarPopconfirm, Rl as CoarPopconfirmPanel, Ql as CoarPopover, vt as CoarProgressBar, Mn as CoarRadioButton, On as CoarRadioGroup, je as CoarScale, dp as CoarScrollableCalendar, _d as CoarSegmentedControl, nc as CoarSelect, Gd as CoarSidebar, _f as CoarSidebarDivider, mf as CoarSidebarGroup, gf as CoarSidebarHeading, tf as CoarSidebarItem, vf as CoarSidebarSpacer, Ae as CoarSlide, ut as CoarSpinner, Yu as CoarSubExpand, td as CoarSubFlyout, td as CoarSubmenuItem, In as CoarSwitch, ad as CoarTab, pd as CoarTabGroup, Kt as CoarTable, zt as CoarTag, qc as CoarTagSelect, en as CoarTextInput, Wf as CoarTimePicker, jl as CoarToastContainer, kl as CoarToastItem, mh as CoarZonedDateTimePicker, _h as CoarZonedDateTimeView, Ce as FORM_FIELD_INJECTION_KEY, gu as MenuCascade, Rn as OVERLAY_DEFAULTS, ur as OVERLAY_PARENT_KEY, lr as OVERLAY_SERVICE_KEY, Ne as PRESET_SIZES, Tn as RADIO_GROUP_INJECTION_KEY, Id as SIDEBAR_COLLAPSED_KEY, Ld as SIDEBAR_ICON_SIZE_KEY, rr as TOAST_SERVICE_KEY, qn as computeOverlayCoordinates, Tr as contextMenuPreset, at as createCoarIconService, er as createOverlayService, or as createToastService, Sr as datepickerPreset, xr as dialogPreset, Un as getAnchorRect, Vn as getContainerRect, pr as getOverlayService, Kn as getScrollParents, Ws as getScrollbarInstance, cr as getToastService, Bn as getViewportRect, br as hoverMenuPreset, vr as menuPreset, _r as modalPreset, Dr as popconfirmPreset, Cr as popoverPreset, bu as provideMenuCascade, Su as provideMenuClose, zn as resolveOverlaySpec, yr as selectPreset, be as setCoarDragImageFromElement, xe as setCoarDragImageFromHtml, wr as sidebarFlyoutPreset, Er as subFlyoutPreset, gr as tooltipPreset, id as useContextMenu, du as useDialog, ve as useDragDrop, xu as useMenuCascade, Cu as useMenuClose, hr as useOverlay, dr as useOverlayParent, Kl as useToast, le as useVirtualList, Us as vScrollbar, vc as vTooltip };
12786
+ export { Fe as COAR_BUILTIN_ICON_SOURCE_KEY, Tp as COAR_DATE_FORMAT_TO_MASKITO_MODE, wp as COAR_DEFAULT_TIME_FORMAT, Pe as COAR_ICON_SERVICE_KEY, ze as CORE_ICONS, Gt as CoarAvatar, pt as CoarBadge, bd as CoarBreadcrumb, Td as CoarBreadcrumbItem, $e as CoarButton, St as CoarCard, wn as CoarCheckbox, It as CoarCodeBlock, Me as CoarCollapse, rd as CoarContextMenu, ou as CoarDialogShell, ct as CoarDivider, gl as CoarDualListbox, ke as CoarFade, Oe as CoarFormField, Le as CoarHttpIconSource, Z as CoarIcon, Ie as CoarIconMapSource, ot as CoarIconPlugin, Re as CoarIconService, it as CoarLink, ul as CoarListbox, Du as CoarMenu, Vu as CoarMenuDivider, Hu as CoarMenuHeading, Lu as CoarMenuItem, xp as CoarMonthList, Ic as CoarMultiSelect, Cf as CoarNavbar, mt as CoarNote, vn as CoarNumberInput, rn as CoarOtpInput, Ml as CoarOverlayHost, yl as CoarOverlayOutlet, mr as CoarOverlayPlugin, Pd as CoarPagination, ln as CoarPasswordInput, Qp as CoarPlainDatePicker, wm as CoarPlainDateTimePicker, _h as CoarPlainDateTimeView, gh as CoarPlainDateView, zl as CoarPopconfirm, Rl as CoarPopconfirmPanel, Ql as CoarPopover, vt as CoarProgressBar, Mn as CoarRadioButton, On as CoarRadioGroup, je as CoarScale, fp as CoarScrollableCalendar, _d as CoarSegmentedControl, nc as CoarSelect, Gd as CoarSidebar, vf as CoarSidebarDivider, mf as CoarSidebarGroup, gf as CoarSidebarHeading, tf as CoarSidebarItem, yf as CoarSidebarSpacer, Ae as CoarSlide, ut as CoarSpinner, Yu as CoarSubExpand, td as CoarSubFlyout, td as CoarSubmenuItem, In as CoarSwitch, ad as CoarTab, pd as CoarTabGroup, Kt as CoarTable, zt as CoarTag, qc as CoarTagSelect, en as CoarTextInput, Gf as CoarTimePicker, jl as CoarToastContainer, kl as CoarToastItem, hh as CoarZonedDateTimePicker, vh as CoarZonedDateTimeView, Ce as FORM_FIELD_INJECTION_KEY, gu as MenuCascade, Rn as OVERLAY_DEFAULTS, ur as OVERLAY_PARENT_KEY, lr as OVERLAY_SERVICE_KEY, Ne as PRESET_SIZES, Tn as RADIO_GROUP_INJECTION_KEY, Id as SIDEBAR_COLLAPSED_KEY, Ld as SIDEBAR_ICON_SIZE_KEY, rr as TOAST_SERVICE_KEY, qn as computeOverlayCoordinates, Tr as contextMenuPreset, at as createCoarIconService, er as createOverlayService, or as createToastService, Sr as datepickerPreset, xr as dialogPreset, Un as getAnchorRect, Vn as getContainerRect, pr as getOverlayService, Kn as getScrollParents, Ws as getScrollbarInstance, cr as getToastService, Bn as getViewportRect, br as hoverMenuPreset, vr as menuPreset, _r as modalPreset, Dr as popconfirmPreset, Cr as popoverPreset, bu as provideMenuCascade, Su as provideMenuClose, zn as resolveOverlaySpec, yr as selectPreset, be as setCoarDragImageFromElement, xe as setCoarDragImageFromHtml, wr as sidebarFlyoutPreset, Er as subFlyoutPreset, gr as tooltipPreset, id as useContextMenu, du as useDialog, ve as useDragDrop, xu as useMenuCascade, Cu as useMenuClose, hr as useOverlay, dr as useOverlayParent, Kl as useToast, le as useVirtualList, Us as vScrollbar, vc as vTooltip };