@cocoar/vue-ui 3.4.0-beta.21 → 3.4.0-beta.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -3128,6 +3128,8 @@ var $a = /* @__PURE__ */ new WeakMap(), eo = {
3128
3128
  if (n?.instance) {
3129
3129
  let e = Ya(t);
3130
3130
  n.instance.options(Xa(e));
3131
+ let r = n.instance.elements().viewport, i = e.overscrollBehavior ?? "";
3132
+ r && r.style.overscrollBehavior !== i && (r.style.overscrollBehavior = i);
3131
3133
  }
3132
3134
  },
3133
3135
  unmounted(e) {
@@ -9324,87 +9326,97 @@ var Gu = ["aria-label", "aria-labelledby"], Ku = {
9324
9326
  }, [N(t.$slots, "footer", {}, void 0, !0)], 512)) : a("", !0)
9325
9327
  ], 10, Gu));
9326
9328
  }
9327
- }), [["__scopeId", "data-v-8d7ad5f5"]]);
9329
+ }), [["__scopeId", "data-v-8d7ad5f5"]]), Qu = j(0), $u = A(Qu);
9330
+ function ed(e) {
9331
+ if (!Number.isFinite(e) || e < 0) throw RangeError("Keyboard inset must be a finite, non-negative number of CSS pixels.");
9332
+ Qu.value = e;
9333
+ }
9328
9334
  //#endregion
9329
9335
  //#region src/components/_internal/useVisualViewport.ts
9330
- function Qu(e, t) {
9331
- return t.scale > 1.01 ? null : {
9332
- height: t.height,
9333
- bottomInset: Math.max(0, Math.round(e - t.height - t.offsetTop))
9336
+ function td(e, t, n = 0) {
9337
+ if (t.scale > 1.01) return null;
9338
+ let r = Math.min(e, Math.max(n, Math.max(0, Math.round(e - t.height - t.offsetTop))));
9339
+ return {
9340
+ height: Math.max(0, Math.min(t.height, e - t.offsetTop - r)),
9341
+ bottomInset: r
9334
9342
  };
9335
9343
  }
9336
- function $u() {
9337
- let e = j(null), t = null;
9338
- function n() {
9339
- if (!t) return;
9340
- let n = Qu(window.innerHeight, t), r = e.value;
9341
- n?.height === r?.height && n?.bottomInset === r?.bottomInset || (e.value = n);
9344
+ function nd() {
9345
+ let e = j(null), t = null, n = null;
9346
+ function r() {
9347
+ if (!n) return;
9348
+ let r = n.offsetHeight, i = t || $u.value > 0 ? td(r, t ?? {
9349
+ height: r,
9350
+ offsetTop: 0,
9351
+ scale: 1
9352
+ }, $u.value) : null, a = e.value;
9353
+ i?.height === a?.height && i?.bottomInset === a?.bottomInset || (e.value = i);
9342
9354
  }
9343
9355
  return T(() => {
9344
- t = typeof window < "u" ? window.visualViewport ?? null : null, t && (t.addEventListener("resize", n), t.addEventListener("scroll", n), n());
9345
- }), w(() => {
9346
- t?.removeEventListener("resize", n), t?.removeEventListener("scroll", n), t = null;
9356
+ n = document.createElement("div"), n.setAttribute("data-coar-viewport-frame", ""), n.setAttribute("aria-hidden", "true"), n.style.cssText = "all: initial; position: fixed; inset: 0; visibility: hidden; pointer-events: none; contain: strict;", document.body.append(n), t = typeof window < "u" ? window.visualViewport ?? null : null, t?.addEventListener("resize", r), t?.addEventListener("scroll", r), window.addEventListener("resize", r), r();
9357
+ }), G($u, r, { flush: "sync" }), w(() => {
9358
+ n?.remove(), n = null, t?.removeEventListener("resize", r), t?.removeEventListener("scroll", r), window.removeEventListener("resize", r), t = null;
9347
9359
  }), { metrics: e };
9348
9360
  }
9349
9361
  //#endregion
9350
9362
  //#region src/components/_internal/pageScrollLock.ts
9351
- var ed = 0, td = [
9363
+ var rd = 0, id = [
9352
9364
  "overflow",
9353
9365
  "overflow-x",
9354
9366
  "overflow-y"
9355
- ], nd = null;
9356
- function rd(e, t) {
9367
+ ], ad = null;
9368
+ function od(e, t) {
9357
9369
  return {
9358
9370
  property: t,
9359
9371
  value: e.getPropertyValue(t),
9360
9372
  priority: e.getPropertyPriority(t)
9361
9373
  };
9362
9374
  }
9363
- function id(e, { property: t, value: n, priority: r }) {
9375
+ function sd(e, { property: t, value: n, priority: r }) {
9364
9376
  n ? e.setProperty(t, n, r) : e.removeProperty(t);
9365
9377
  }
9366
- function ad(e) {
9378
+ function cd(e) {
9367
9379
  let t = e.target;
9368
9380
  t instanceof Element && t.closest(".coar-overlay-host") || e.cancelable && e.preventDefault();
9369
9381
  }
9370
- function od() {
9382
+ function ld() {
9371
9383
  let e = document.documentElement, t = document.body, n = window.innerWidth - e.clientWidth;
9372
- if (nd = {
9373
- html: td.map((t) => rd(e.style, t)),
9374
- bodyPaddingRight: rd(t.style, "padding-right")
9384
+ if (ad = {
9385
+ html: id.map((t) => od(e.style, t)),
9386
+ bodyPaddingRight: od(t.style, "padding-right")
9375
9387
  }, n > 0) {
9376
9388
  let e = parseFloat(getComputedStyle(t).paddingRight) || 0;
9377
9389
  t.style.paddingRight = `${e + n}px`;
9378
9390
  }
9379
- for (let t of td) e.style.setProperty(t, "hidden");
9380
- document.addEventListener("touchmove", ad, { passive: !1 });
9391
+ for (let t of id) e.style.setProperty(t, "hidden");
9392
+ document.addEventListener("touchmove", cd, { passive: !1 });
9381
9393
  }
9382
- function sd() {
9383
- if (document.removeEventListener("touchmove", ad), nd) {
9384
- for (let e of nd.html) id(document.documentElement.style, e);
9385
- id(document.body.style, nd.bodyPaddingRight), nd = null;
9394
+ function ud() {
9395
+ if (document.removeEventListener("touchmove", cd), ad) {
9396
+ for (let e of ad.html) sd(document.documentElement.style, e);
9397
+ sd(document.body.style, ad.bodyPaddingRight), ad = null;
9386
9398
  }
9387
9399
  }
9388
- function cd() {
9400
+ function dd() {
9389
9401
  if (typeof document > "u") return () => {};
9390
- ed++ === 0 && od();
9402
+ rd++ === 0 && ld();
9391
9403
  let e = !1;
9392
9404
  return () => {
9393
- e || (e = !0, --ed === 0 && sd());
9405
+ e || (e = !0, --rd === 0 && ud());
9394
9406
  };
9395
9407
  }
9396
- var ld = .5, ud = 100;
9397
- function dd(e) {
9408
+ var fd = .5, pd = 100;
9409
+ function md(e) {
9398
9410
  let t = e[e.length - 1];
9399
9411
  if (!t) return 0;
9400
- let n = e.find((e) => t.time - e.time <= ud) ?? t, r = t.time - n.time;
9412
+ let n = e.find((e) => t.time - e.time <= pd) ?? t, r = t.time - n.time;
9401
9413
  return r > 0 ? (t.y - n.y) / r : 0;
9402
9414
  }
9403
- function fd(e) {
9404
- return e.distance <= 0 ? !1 : e.height > 0 && e.distance > e.height * .3 ? !0 : e.velocity >= ld;
9415
+ function hd(e) {
9416
+ return e.distance <= 0 ? !1 : e.height > 0 && e.distance > e.height * .3 ? !0 : e.velocity >= fd;
9405
9417
  }
9406
- var pd = "button, a[href], input, select, textarea, [contenteditable=\"true\"]";
9407
- function md(e) {
9418
+ var gd = "button, a[href], input, select, textarea, [contenteditable=\"true\"]";
9419
+ function _d(e) {
9408
9420
  let t = e.now ?? (() => performance.now()), n = j(0), r = j(!1), i = null, a = null, o = 0, s = [];
9409
9421
  function c() {
9410
9422
  if (a && i !== null) try {
@@ -9415,7 +9427,7 @@ function md(e) {
9415
9427
  function l(n) {
9416
9428
  if (i !== null || !e.enabled() || n.pointerType === "mouse" && n.button !== 0) return;
9417
9429
  let c = n.target;
9418
- if (!(c instanceof Element && c.closest(pd))) {
9430
+ if (!(c instanceof Element && c.closest(gd))) {
9419
9431
  i = n.pointerId, a = n.currentTarget instanceof Element ? n.currentTarget : null;
9420
9432
  try {
9421
9433
  a?.setPointerCapture?.(n.pointerId);
@@ -9432,7 +9444,7 @@ function md(e) {
9432
9444
  for (s.push({
9433
9445
  y: e.clientY,
9434
9446
  time: r
9435
- }); s.length > 2 && r - s[1].time > ud;) s.shift();
9447
+ }); s.length > 2 && r - s[1].time > pd;) s.shift();
9436
9448
  n.value = Math.max(0, e.clientY - o);
9437
9449
  }
9438
9450
  function d(r) {
@@ -9441,10 +9453,10 @@ function md(e) {
9441
9453
  y: r.clientY,
9442
9454
  time: t()
9443
9455
  });
9444
- let a = fd({
9456
+ let a = hd({
9445
9457
  distance: Math.max(0, r.clientY - o),
9446
9458
  height: e.sheetHeight(),
9447
- velocity: dd(s)
9459
+ velocity: md(s)
9448
9460
  });
9449
9461
  c(), a ? e.onClose() : n.value = 0;
9450
9462
  }
@@ -9464,14 +9476,14 @@ function md(e) {
9464
9476
  }
9465
9477
  //#endregion
9466
9478
  //#region src/components/dialog/CoarSheetShell.vue?vue&type=script&setup=true&lang.ts
9467
- var hd = ["aria-label", "aria-labelledby"], gd = {
9479
+ var vd = ["aria-label", "aria-labelledby"], yd = {
9468
9480
  key: 0,
9469
9481
  class: "coar-sheet-handle",
9470
9482
  "aria-hidden": "true"
9471
- }, _d = ["aria-label"], vd = { class: "coar-sheet-body" }, yd = { key: 0 }, bd = {
9483
+ }, bd = ["aria-label"], xd = { class: "coar-sheet-body" }, Sd = { key: 0 }, Cd = {
9472
9484
  key: 1,
9473
9485
  class: "coar-sheet-footer"
9474
- }, xd = "input, textarea, select, [contenteditable=\"true\"]", Sd = /* @__PURE__ */ Z(/* @__PURE__ */ d({
9486
+ }, wd = "input, textarea, select, [contenteditable=\"true\"]", Td = /* @__PURE__ */ Z(/* @__PURE__ */ d({
9475
9487
  __name: "CoarSheetShell",
9476
9488
  props: {
9477
9489
  title: {},
@@ -9492,14 +9504,14 @@ var hd = ["aria-label", "aria-labelledby"], gd = {
9492
9504
  Vu(f);
9493
9505
  let h = null;
9494
9506
  T(() => {
9495
- h = cd();
9507
+ h = dd();
9496
9508
  }), w(() => {
9497
9509
  h?.(), h = null;
9498
9510
  });
9499
9511
  function g(e) {
9500
9512
  c("close", e);
9501
9513
  }
9502
- let _ = md({
9514
+ let _ = _d({
9503
9515
  enabled: () => n.dragToClose,
9504
9516
  sheetHeight: () => f.value?.offsetHeight ?? 0,
9505
9517
  onClose: () => g()
@@ -9508,21 +9520,45 @@ var hd = ["aria-label", "aria-labelledby"], gd = {
9508
9520
  pointermove: _.handlers.onPointermove,
9509
9521
  pointerup: _.handlers.onPointerup,
9510
9522
  pointercancel: _.handlers.onPointercancel
9511
- }, { metrics: S } = $u(), { element: E, used: O } = Uu(), k = r(() => {
9523
+ }, { metrics: S } = nd(), { element: E, used: O } = Uu(), k = r(() => {
9512
9524
  let e = {}, t = S.value;
9513
9525
  return t && (e.bottom = `${t.bottomInset}px`, e.maxHeight = `calc(${t.height}px - var(--coar-sheet-top-gap) - env(safe-area-inset-top, 0px))`), _.offset.value > 0 && (e.translate = `0 ${_.offset.value}px`), e;
9514
- });
9515
- function A() {
9516
- let e = f.value, t = typeof document < "u" ? document.activeElement : null;
9517
- if (!(!e || !(t instanceof HTMLElement) || !e.contains(t)) && t.matches(xd)) for (let n = t.parentElement; n && n !== e; n = n.parentElement) {
9518
- if (n.scrollHeight <= n.clientHeight) continue;
9519
- let e = n.getBoundingClientRect(), r = t.getBoundingClientRect();
9520
- r.bottom > e.bottom ? n.scrollTop += r.bottom - e.bottom : r.top < e.top && (n.scrollTop -= e.top - r.top);
9526
+ }), A = j(!1), M = null;
9527
+ function F() {
9528
+ let e = f.value;
9529
+ if (!e || e.clientHeight <= 0) {
9530
+ b(z);
9521
9531
  return;
9522
9532
  }
9533
+ let t = e.querySelector(".coar-sheet-body");
9534
+ if (!t) return;
9535
+ let n = getComputedStyle(t), r = e.querySelector(wd), i = (parseFloat(n.paddingTop) || 0) + (parseFloat(n.paddingBottom) || 0) + Math.max(r?.offsetHeight ?? 0, parseFloat(n.lineHeight) || 0), a = Array.from(e.children).filter((e) => e !== t).reduce((e, t) => e + t.offsetHeight, 0);
9536
+ A.value = e.clientHeight < a + i, b(z);
9523
9537
  }
9524
- G(S, () => b(A));
9525
- let M = r(() => `coar-sheet--${n.size}`), F = r(() => {
9538
+ function I() {
9539
+ let e = f.value;
9540
+ if (e) {
9541
+ M?.observe(e);
9542
+ for (let t of e.children) M?.observe(t);
9543
+ F();
9544
+ }
9545
+ }
9546
+ T(() => {
9547
+ typeof ResizeObserver < "u" && (M = new ResizeObserver(F)), b(I);
9548
+ }), G(O, () => b(I)), w(() => M?.disconnect());
9549
+ function z() {
9550
+ let e = f.value, t = typeof document < "u" ? document.activeElement : null;
9551
+ if (!(!e || !(t instanceof HTMLElement) || !e.contains(t)) && t.matches(wd)) for (let n = t.parentElement; n; n = n.parentElement) {
9552
+ if (n.scrollHeight > n.clientHeight) {
9553
+ let e = n.getBoundingClientRect(), r = t.getBoundingClientRect();
9554
+ r.bottom > e.bottom ? n.scrollTop += r.bottom - e.bottom : r.top < e.top && (n.scrollTop -= e.top - r.top);
9555
+ return;
9556
+ }
9557
+ if (n === e) return;
9558
+ }
9559
+ }
9560
+ G(S, () => b(F));
9561
+ let B = r(() => `coar-sheet--${n.size}`), H = r(() => {
9526
9562
  if (!n.bodyComponent) return null;
9527
9563
  let e = n.bodyComponent, t = n.bodyComponentProps;
9528
9564
  return { render: () => m(e, t) };
@@ -9530,16 +9566,19 @@ var hd = ["aria-label", "aria-labelledby"], gd = {
9530
9566
  return (t, n) => (D(), o("div", {
9531
9567
  ref_key: "sheetRef",
9532
9568
  ref: f,
9533
- class: x(["coar-sheet", [M.value, { "coar-sheet--dragging": V(_).dragging.value }]]),
9569
+ class: x(["coar-sheet", [B.value, {
9570
+ "coar-sheet--dragging": V(_).dragging.value,
9571
+ "coar-sheet--compact": A.value
9572
+ }]]),
9534
9573
  style: C(k.value),
9535
9574
  role: "dialog",
9536
9575
  "aria-modal": "true",
9537
9576
  "aria-label": e.title ? void 0 : V(d)("coar.ui.dialog.dialog", void 0, "Dialog"),
9538
9577
  "aria-labelledby": e.title ? p : void 0,
9539
9578
  tabindex: "-1",
9540
- onFocusin: n[3] ||= (e) => b(A)
9579
+ onFocusin: n[3] ||= (e) => b(F)
9541
9580
  }, [
9542
- s("div", y({ class: "coar-sheet-handle-area" }, R(v, !0)), [e.dragToClose ? (D(), o("span", gd)) : a("", !0)], 16),
9581
+ s("div", y({ class: "coar-sheet-handle-area" }, R(v, !0)), [e.dragToClose ? (D(), o("span", yd)) : a("", !0)], 16),
9543
9582
  e.title || e.showCloseButton ? (D(), o("div", y({
9544
9583
  key: 0,
9545
9584
  class: "coar-sheet-header"
@@ -9556,13 +9595,13 @@ var hd = ["aria-label", "aria-labelledby"], gd = {
9556
9595
  }, [u(Q, {
9557
9596
  name: "x",
9558
9597
  size: "s"
9559
- })], 8, _d)) : a("", !0)], 16)) : a("", !0),
9560
- q((D(), o("div", vd, [e.confirmMode ? (D(), o("p", yd, L(e.confirmMessage), 1)) : F.value ? (D(), i(P(F.value), { key: 1 })) : N(t.$slots, "default", { key: 2 }, void 0, !0)])), [[V(eo), {
9598
+ })], 8, bd)) : a("", !0)], 16)) : a("", !0),
9599
+ q((D(), o("div", xd, [e.confirmMode ? (D(), o("p", Sd, L(e.confirmMessage), 1)) : H.value ? (D(), i(P(H.value), { key: 1 })) : N(t.$slots, "default", { key: 2 }, void 0, !0)])), [[V(eo), {
9561
9600
  overflowX: "hidden",
9562
9601
  defer: !1,
9563
- overscrollBehavior: "contain"
9602
+ overscrollBehavior: A.value ? "auto" : "contain"
9564
9603
  }]]),
9565
- e.confirmMode ? (D(), o("div", bd, [e.cancelText ? (D(), i(Go, {
9604
+ e.confirmMode ? (D(), o("div", Cd, [e.cancelText ? (D(), i(Go, {
9566
9605
  key: 0,
9567
9606
  variant: "secondary",
9568
9607
  "full-width": "",
@@ -9584,17 +9623,17 @@ var hd = ["aria-label", "aria-labelledby"], gd = {
9584
9623
  ref: E,
9585
9624
  class: "coar-sheet-footer"
9586
9625
  }, [N(t.$slots, "footer", {}, void 0, !0)], 512)) : a("", !0)
9587
- ], 46, hd));
9626
+ ], 46, vd));
9588
9627
  }
9589
- }), [["__scopeId", "data-v-1cbea9c7"]]);
9628
+ }), [["__scopeId", "data-v-c7349782"]]);
9590
9629
  //#endregion
9591
9630
  //#region src/components/dialog/useDialog.ts
9592
- function Cd(e) {
9631
+ function Ed(e) {
9593
9632
  if (!e || e.isUnmounted || e.isDeactivated) return;
9594
9633
  let t = e.subTree?.el ?? e.vnode.el;
9595
9634
  if (t?.isConnected) return t.nodeType === 1 ? t : t.parentElement ?? void 0;
9596
9635
  }
9597
- function wd(e, t, n) {
9636
+ function Dd(e, t, n) {
9598
9637
  let r = t.presentation === "sheet";
9599
9638
  return St().open({
9600
9639
  spec: {
@@ -9610,7 +9649,7 @@ function wd(e, t, n) {
9610
9649
  },
9611
9650
  content: {
9612
9651
  kind: "component",
9613
- component: _(r ? Sd : Zu)
9652
+ component: _(r ? Td : Zu)
9614
9653
  },
9615
9654
  context: n,
9616
9655
  inputs: r ? {
@@ -9619,13 +9658,13 @@ function wd(e, t, n) {
9619
9658
  } : e
9620
9659
  });
9621
9660
  }
9622
- function Td(e, t, n) {
9661
+ function Od(e, t, n) {
9623
9662
  let r, i = new Promise((e) => {
9624
9663
  r = e;
9625
9664
  }), a = null, { closeOnBackdropClick: o = !0, closeOnEscape: s = !0, ...c } = e, l = (e) => {
9626
9665
  r(e), a?.close(e);
9627
9666
  };
9628
- a = wd(t === "sheet" ? {
9667
+ a = Dd(t === "sheet" ? {
9629
9668
  ...c,
9630
9669
  onClose: l
9631
9670
  } : {
@@ -9647,13 +9686,13 @@ function Td(e, t, n) {
9647
9686
  result: i
9648
9687
  };
9649
9688
  }
9650
- function Ed(e, t = {}, n, r = t.context) {
9689
+ function kd(e, t = {}, n, r = t.context) {
9651
9690
  let i, a = new Promise((e) => {
9652
9691
  i = e;
9653
9692
  }), o = null, s = t.closeOnBackdropClick ?? !0, c = t.closeOnEscape ?? !0, l = (e) => {
9654
9693
  i(e), o?.close(e);
9655
9694
  };
9656
- return o = wd({
9695
+ return o = Dd({
9657
9696
  title: t.title ?? "",
9658
9697
  size: t.size ?? "m",
9659
9698
  showCloseButton: t.showCloseButton ?? !0,
@@ -9680,8 +9719,8 @@ function Ed(e, t = {}, n, r = t.context) {
9680
9719
  result: a
9681
9720
  };
9682
9721
  }
9683
- function Dd(e, t = e.context) {
9684
- return Td({
9722
+ function Ad(e, t = e.context) {
9723
+ return Od({
9685
9724
  title: e.title,
9686
9725
  size: e.size ?? "s",
9687
9726
  showCloseButton: !1,
@@ -9694,8 +9733,8 @@ function Dd(e, t = e.context) {
9694
9733
  confirmVariant: e.confirmVariant ?? "primary"
9695
9734
  }, e.presentation, t);
9696
9735
  }
9697
- function Od(e, t, n = {}) {
9698
- return Td({
9736
+ function jd(e, t, n = {}) {
9737
+ return Od({
9699
9738
  title: e,
9700
9739
  size: "s",
9701
9740
  showCloseButton: !0,
@@ -9708,18 +9747,18 @@ function Od(e, t, n = {}) {
9708
9747
  confirmVariant: "primary"
9709
9748
  }, n.presentation, n.context);
9710
9749
  }
9711
- function kd() {
9750
+ function Md() {
9712
9751
  let e = f();
9713
9752
  return {
9714
9753
  open(t, n = {}, r) {
9715
- return Ed(t, n, r, n.context ?? Cd(e));
9754
+ return kd(t, n, r, n.context ?? Ed(e));
9716
9755
  },
9717
9756
  confirm(t) {
9718
- return Dd(t, t.context ?? Cd(e));
9757
+ return Ad(t, t.context ?? Ed(e));
9719
9758
  },
9720
9759
  alert(t, n, r = {}) {
9721
- return Od(t, n, {
9722
- context: r.context ?? Cd(e),
9760
+ return jd(t, n, {
9761
+ context: r.context ?? Ed(e),
9723
9762
  presentation: r.presentation
9724
9763
  });
9725
9764
  }
@@ -9727,7 +9766,7 @@ function kd() {
9727
9766
  }
9728
9767
  //#endregion
9729
9768
  //#region src/components/dialog/CoarDialogFooter.vue
9730
- var Ad = /* @__PURE__ */ d({
9769
+ var Nd = /* @__PURE__ */ d({
9731
9770
  name: "CoarDialogFooter",
9732
9771
  __name: "CoarDialogFooter",
9733
9772
  setup(e) {
@@ -9740,12 +9779,12 @@ var Ad = /* @__PURE__ */ d({
9740
9779
  });
9741
9780
  //#endregion
9742
9781
  //#region src/components/menu/menu-aim.ts
9743
- function jd(e, t, n, r, i = 200) {
9782
+ function Pd(e, t, n, r, i = 200) {
9744
9783
  if (!e || !Number.isFinite(n.left) || n.width <= 0 || n.height <= 0 || t.t - e.t > i) return !1;
9745
9784
  let a = t.x - e.x;
9746
9785
  if (r === "right" && a <= 2 || r === "left" && a >= -2) return !1;
9747
9786
  let o = r === "right" ? n.left : n.right;
9748
- return Md(t, e, {
9787
+ return Fd(t, e, {
9749
9788
  x: o,
9750
9789
  y: n.top - 8
9751
9790
  }, {
@@ -9753,20 +9792,20 @@ function jd(e, t, n, r, i = 200) {
9753
9792
  y: n.bottom + 8
9754
9793
  });
9755
9794
  }
9756
- function Md(e, t, n, r) {
9757
- let i = Nd(e, t, n), a = Nd(e, n, r), o = Nd(e, r, t);
9795
+ function Fd(e, t, n, r) {
9796
+ let i = Id(e, t, n), a = Id(e, n, r), o = Id(e, r, t);
9758
9797
  return !((i < 0 || a < 0 || o < 0) && (i > 0 || a > 0 || o > 0));
9759
9798
  }
9760
- function Nd(e, t, n) {
9799
+ function Id(e, t, n) {
9761
9800
  return (e.x - n.x) * (t.y - n.y) - (t.x - n.x) * (e.y - n.y);
9762
9801
  }
9763
9802
  //#endregion
9764
9803
  //#region src/components/menu/menu-cascade.ts
9765
- var Pd = {
9804
+ var Ld = {
9766
9805
  enabled: !0,
9767
9806
  switchDelayMs: 500,
9768
9807
  sampleMaxAgeMs: 200
9769
- }, Fd = class {
9808
+ }, Rd = class {
9770
9809
  overlayRef = null;
9771
9810
  onChildPanelEnter = null;
9772
9811
  children = /* @__PURE__ */ new Set();
@@ -9776,7 +9815,7 @@ var Pd = {
9776
9815
  pendingSwitchTimer = null;
9777
9816
  pendingChild = null;
9778
9817
  pendingActivate = null;
9779
- constructor(e, t = Pd) {
9818
+ constructor(e, t = Ld) {
9780
9819
  this.parent = e, this.aimConfig = t, e && e.children.add(this);
9781
9820
  }
9782
9821
  requestOpenFromChild(e, t, n) {
@@ -9798,7 +9837,7 @@ var Pd = {
9798
9837
  this.activateNow(e, t);
9799
9838
  return;
9800
9839
  }
9801
- if (!jd(this.pointerHistory.length >= 2 ? this.pointerHistory[this.pointerHistory.length - 2] : null, i, a, this.inferSubmenuDirection(a, i), this.aimConfig.sampleMaxAgeMs)) {
9840
+ if (!Pd(this.pointerHistory.length >= 2 ? this.pointerHistory[this.pointerHistory.length - 2] : null, i, a, this.inferSubmenuDirection(a, i), this.aimConfig.sampleMaxAgeMs)) {
9802
9841
  this.activateNow(e, t);
9803
9842
  return;
9804
9843
  }
@@ -9856,28 +9895,28 @@ var Pd = {
9856
9895
  inferSubmenuDirection(e, t) {
9857
9896
  return e.left >= t.x ? "right" : "left";
9858
9897
  }
9859
- }, Id = Symbol("coar-menu-cascade"), Ld = Symbol("coar-menu-close"), Rd = Symbol("coar-menu-nav");
9860
- function zd(e) {
9861
- O(Id, e);
9898
+ }, zd = Symbol("coar-menu-cascade"), Bd = Symbol("coar-menu-close"), Vd = Symbol("coar-menu-nav");
9899
+ function Hd(e) {
9900
+ O(zd, e);
9862
9901
  }
9863
- function Bd() {
9864
- return h(Id, void 0);
9902
+ function Ud() {
9903
+ return h(zd, void 0);
9865
9904
  }
9866
- function Vd(e) {
9867
- O(Ld, e);
9905
+ function Wd(e) {
9906
+ O(Bd, e);
9868
9907
  }
9869
- function Hd() {
9870
- return h(Ld, void 0);
9908
+ function Gd() {
9909
+ return h(Bd, void 0);
9871
9910
  }
9872
9911
  //#endregion
9873
9912
  //#region src/components/menu/CoarMenu.vue?vue&type=script&setup=true&lang.ts
9874
- var Ud = {
9913
+ var Kd = {
9875
9914
  key: 0,
9876
9915
  class: "coar-menu__header"
9877
- }, Wd = { class: "coar-menu__content" }, Gd = {
9916
+ }, qd = { class: "coar-menu__content" }, Jd = {
9878
9917
  key: 1,
9879
9918
  class: "coar-menu__footer"
9880
- }, Kd = /* @__PURE__ */ Z(/* @__PURE__ */ d({
9919
+ }, Yd = /* @__PURE__ */ Z(/* @__PURE__ */ d({
9881
9920
  __name: "CoarMenu",
9882
9921
  props: {
9883
9922
  showIconColumn: {
@@ -9890,8 +9929,8 @@ var Ud = {
9890
9929
  }
9891
9930
  },
9892
9931
  setup(e) {
9893
- let t = e, n = new Fd(Bd() ?? null);
9894
- zd(n);
9932
+ let t = e, n = new Rd(Ud() ?? null);
9933
+ Hd(n);
9895
9934
  let r = j([]), i = j(0);
9896
9935
  function s() {
9897
9936
  r.value.sort((e, t) => {
@@ -9913,7 +9952,7 @@ var Ud = {
9913
9952
  }
9914
9953
  };
9915
9954
  }
9916
- O(Rd, {
9955
+ O(Vd, {
9917
9956
  register: c,
9918
9957
  activeIndex: i,
9919
9958
  items: r
@@ -9958,40 +9997,40 @@ var Ud = {
9958
9997
  }),
9959
9998
  onKeydown: d
9960
9999
  }, [
9961
- e.$slots.header ? (D(), o("div", Ud, [N(e.$slots, "header", {}, void 0, !0)])) : a("", !0),
9962
- q((D(), o("div", Wd, [N(e.$slots, "default", {}, void 0, !0)])), [[V(eo), {
10000
+ e.$slots.header ? (D(), o("div", Kd, [N(e.$slots, "header", {}, void 0, !0)])) : a("", !0),
10001
+ q((D(), o("div", qd, [N(e.$slots, "default", {}, void 0, !0)])), [[V(eo), {
9963
10002
  overflowX: "hidden",
9964
10003
  overflowY: "scroll",
9965
10004
  autoHide: "leave"
9966
10005
  }]]),
9967
- e.$slots.footer ? (D(), o("div", Gd, [N(e.$slots, "footer", {}, void 0, !0)])) : a("", !0)
10006
+ e.$slots.footer ? (D(), o("div", Jd, [N(e.$slots, "footer", {}, void 0, !0)])) : a("", !0)
9968
10007
  ], 38));
9969
10008
  }
9970
- }), [["__scopeId", "data-v-51dc4699"]]), qd = [
10009
+ }), [["__scopeId", "data-v-51dc4699"]]), Xd = [
9971
10010
  "href",
9972
10011
  "aria-disabled",
9973
10012
  "aria-current",
9974
10013
  "tabindex",
9975
10014
  "onClick"
9976
- ], Jd = {
10015
+ ], Zd = {
9977
10016
  class: "coar-menu-item__icon",
9978
10017
  "aria-hidden": "true"
9979
- }, Yd = { class: "coar-menu-item__label" }, Xd = [
10018
+ }, Qd = { class: "coar-menu-item__label" }, $d = [
9980
10019
  "href",
9981
10020
  "aria-disabled",
9982
10021
  "aria-current",
9983
10022
  "tabindex"
9984
- ], Zd = {
10023
+ ], ef = {
9985
10024
  class: "coar-menu-item__icon",
9986
10025
  "aria-hidden": "true"
9987
- }, Qd = { class: "coar-menu-item__label" }, $d = [
10026
+ }, tf = { class: "coar-menu-item__label" }, nf = [
9988
10027
  "aria-disabled",
9989
10028
  "aria-current",
9990
10029
  "tabindex"
9991
- ], ef = {
10030
+ ], rf = {
9992
10031
  class: "coar-menu-item__icon",
9993
10032
  "aria-hidden": "true"
9994
- }, tf = { class: "coar-menu-item__label" }, nf = /* @__PURE__ */ Z(/* @__PURE__ */ d({
10033
+ }, af = { class: "coar-menu-item__label" }, of = /* @__PURE__ */ Z(/* @__PURE__ */ d({
9995
10034
  __name: "CoarMenuItem",
9996
10035
  props: {
9997
10036
  label: { default: void 0 },
@@ -10008,7 +10047,7 @@ var Ud = {
10008
10047
  },
10009
10048
  emits: ["clicked"],
10010
10049
  setup(t, { emit: n }) {
10011
- let a = t, c = n, d = Hd(), f = h(Rd, void 0), p = j(null), { RouterLink: m, hasRouterLink: g, warnIfMisconfigured: _ } = Lo();
10050
+ let a = t, c = n, d = Gd(), f = h(Vd, void 0), p = j(null), { RouterLink: m, hasRouterLink: g, warnIfMisconfigured: _ } = Lo();
10012
10051
  G(() => a.to, (e) => _(e, "CoarMenuItem"), { immediate: !0 });
10013
10052
  let v = r(() => a.to !== void 0 && a.to !== null);
10014
10053
  function y(e) {
@@ -10089,10 +10128,10 @@ var Ud = {
10089
10128
  tabindex: C.value,
10090
10129
  onClick: (e) => A(e, i),
10091
10130
  onKeydown: M
10092
- }, [s("span", Jd, [u(Q, {
10131
+ }, [s("span", Zd, [u(Q, {
10093
10132
  name: a.icon || "square-dashed",
10094
10133
  size: "s"
10095
- }, null, 8, ["name"])]), s("span", Yd, [a.label ? (D(), o(e, { key: 0 }, [l(L(a.label), 1)], 64)) : N(n.$slots, "default", { key: 1 }, void 0, !0)])], 42, qd)]),
10134
+ }, null, 8, ["name"])]), s("span", Qd, [a.label ? (D(), o(e, { key: 0 }, [l(L(a.label), 1)], 64)) : N(n.$slots, "default", { key: 1 }, void 0, !0)])], 42, Xd)]),
10096
10135
  _: 3
10097
10136
  }, 8, ["to"])) : v.value ? (D(), o("a", {
10098
10137
  key: 1,
@@ -10106,10 +10145,10 @@ var Ud = {
10106
10145
  tabindex: C.value,
10107
10146
  onClick: A,
10108
10147
  onKeydown: M
10109
- }, [s("span", Zd, [u(Q, {
10148
+ }, [s("span", ef, [u(Q, {
10110
10149
  name: a.icon || "square-dashed",
10111
10150
  size: "s"
10112
- }, null, 8, ["name"])]), s("span", Qd, [a.label ? (D(), o(e, { key: 0 }, [l(L(a.label), 1)], 64)) : N(n.$slots, "default", { key: 1 }, void 0, !0)])], 42, Xd)) : (D(), o("div", {
10151
+ }, null, 8, ["name"])]), s("span", tf, [a.label ? (D(), o(e, { key: 0 }, [l(L(a.label), 1)], 64)) : N(n.$slots, "default", { key: 1 }, void 0, !0)])], 42, $d)) : (D(), o("div", {
10113
10152
  key: 2,
10114
10153
  ref_key: "itemRef",
10115
10154
  ref: p,
@@ -10120,19 +10159,19 @@ var Ud = {
10120
10159
  tabindex: C.value,
10121
10160
  onClick: k,
10122
10161
  onKeydown: M
10123
- }, [s("span", ef, [u(Q, {
10162
+ }, [s("span", rf, [u(Q, {
10124
10163
  name: a.icon || "square-dashed",
10125
10164
  size: "s"
10126
- }, null, 8, ["name"])]), s("span", tf, [a.label ? (D(), o(e, { key: 0 }, [l(L(a.label), 1)], 64)) : N(n.$slots, "default", { key: 1 }, void 0, !0)])], 42, $d));
10165
+ }, null, 8, ["name"])]), s("span", af, [a.label ? (D(), o(e, { key: 0 }, [l(L(a.label), 1)], 64)) : N(n.$slots, "default", { key: 1 }, void 0, !0)])], 42, nf));
10127
10166
  }
10128
- }), [["__scopeId", "data-v-f8939ed4"]]), rf = {}, af = {
10167
+ }), [["__scopeId", "data-v-f8939ed4"]]), sf = {}, cf = {
10129
10168
  role: "separator",
10130
10169
  class: "coar-menu-divider"
10131
10170
  };
10132
- function of(e, t) {
10133
- return D(), o("div", af);
10171
+ function lf(e, t) {
10172
+ return D(), o("div", cf);
10134
10173
  }
10135
- var sf = /* @__PURE__ */ Z(rf, [["render", of], ["__scopeId", "data-v-a0d5d1e3"]]), cf = /* @__PURE__ */ Z(/* @__PURE__ */ d({
10174
+ var uf = /* @__PURE__ */ Z(sf, [["render", lf], ["__scopeId", "data-v-a0d5d1e3"]]), df = /* @__PURE__ */ Z(/* @__PURE__ */ d({
10136
10175
  __name: "CoarMenuHeading",
10137
10176
  props: {
10138
10177
  label: {},
@@ -10146,15 +10185,15 @@ var sf = /* @__PURE__ */ Z(rf, [["render", of], ["__scopeId", "data-v-a0d5d1e3"]
10146
10185
  "aria-level": "3"
10147
10186
  }, [n.label ? (D(), o(e, { key: 0 }, [l(L(n.label), 1)], 64)) : N(t.$slots, "default", { key: 1 }, void 0, !0)], 2));
10148
10187
  }
10149
- }), [["__scopeId", "data-v-77b9e455"]]), lf = { class: "coar-sub-expand-root" }, uf = [
10188
+ }), [["__scopeId", "data-v-77b9e455"]]), ff = { class: "coar-sub-expand-root" }, pf = [
10150
10189
  "aria-expanded",
10151
10190
  "aria-disabled",
10152
10191
  "tabindex",
10153
10192
  "onKeydown"
10154
- ], df = {
10193
+ ], mf = {
10155
10194
  class: "coar-sub-expand__icon",
10156
10195
  "aria-hidden": "true"
10157
- }, ff = { class: "coar-sub-expand__label" }, pf = ["aria-hidden"], mf = { class: "coar-sub-expand__panel-inner" }, hf = /* @__PURE__ */ Z(/* @__PURE__ */ d({
10196
+ }, hf = { class: "coar-sub-expand__label" }, gf = ["aria-hidden"], _f = { class: "coar-sub-expand__panel-inner" }, vf = /* @__PURE__ */ Z(/* @__PURE__ */ d({
10158
10197
  __name: "CoarSubExpand",
10159
10198
  props: /* @__PURE__ */ v({
10160
10199
  label: {},
@@ -10180,7 +10219,7 @@ var sf = /* @__PURE__ */ Z(rf, [["render", of], ["__scopeId", "data-v-a0d5d1e3"]
10180
10219
  }
10181
10220
  i.value = !i.value;
10182
10221
  }
10183
- return (e, r) => (D(), o("div", lf, [s("div", {
10222
+ return (e, r) => (D(), o("div", ff, [s("div", {
10184
10223
  class: x(["coar-sub-expand", {
10185
10224
  "coar-sub-expand--disabled": n.disabled,
10186
10225
  "coar-sub-expand--open": a.value
@@ -10194,25 +10233,25 @@ var sf = /* @__PURE__ */ Z(rf, [["render", of], ["__scopeId", "data-v-a0d5d1e3"]
10194
10233
  onClick: c,
10195
10234
  onKeydown: [re(c, ["enter"]), re(ie(c, ["prevent"]), ["space"])]
10196
10235
  }, [
10197
- s("span", df, [u(Q, {
10236
+ s("span", mf, [u(Q, {
10198
10237
  name: n.icon || "square-dashed",
10199
10238
  size: "s"
10200
10239
  }, null, 8, ["name"])]),
10201
- s("span", ff, L(n.label), 1),
10240
+ s("span", hf, L(n.label), 1),
10202
10241
  u(Q, {
10203
10242
  name: a.value ? "minus" : "plus",
10204
10243
  size: "xs",
10205
10244
  class: "coar-sub-expand__arrow",
10206
10245
  "aria-hidden": "true"
10207
10246
  }, null, 8, ["name"])
10208
- ], 42, uf), s("div", {
10247
+ ], 42, pf), s("div", {
10209
10248
  id: t,
10210
10249
  class: x(["coar-sub-expand__panel", { "coar-sub-expand__panel--open": a.value }]),
10211
10250
  "aria-hidden": !a.value || void 0,
10212
10251
  role: "group"
10213
- }, [s("div", mf, [N(e.$slots, "default", {}, void 0, !0)])], 10, pf)]));
10252
+ }, [s("div", _f, [N(e.$slots, "default", {}, void 0, !0)])], 10, gf)]));
10214
10253
  }
10215
- }), [["__scopeId", "data-v-6a0ada15"]]), gf = /* @__PURE__ */ d({
10254
+ }), [["__scopeId", "data-v-6a0ada15"]]), yf = /* @__PURE__ */ d({
10216
10255
  __name: "CoarSubFlyoutPanel",
10217
10256
  props: {
10218
10257
  id: {
@@ -10235,7 +10274,7 @@ var sf = /* @__PURE__ */ Z(rf, [["render", of], ["__scopeId", "data-v-a0d5d1e3"]
10235
10274
  emits: ["panelEnter", "panelLeave"],
10236
10275
  setup(e) {
10237
10276
  let t = e;
10238
- return O(Id, t.cascade), O(Ld, t.closeTree), (t, n) => (D(), i(Kd, {
10277
+ return O(zd, t.cascade), O(Bd, t.closeTree), (t, n) => (D(), i(Yd, {
10239
10278
  id: e.id,
10240
10279
  class: "coar-submenu-panel",
10241
10280
  onMouseenter: n[0] ||= (e) => t.$emit("panelEnter"),
@@ -10245,14 +10284,14 @@ var sf = /* @__PURE__ */ Z(rf, [["render", of], ["__scopeId", "data-v-a0d5d1e3"]
10245
10284
  _: 1
10246
10285
  }, 8, ["id"]));
10247
10286
  }
10248
- }), _f = { class: "coar-submenu-item-root" }, vf = [
10287
+ }), bf = { class: "coar-submenu-item-root" }, xf = [
10249
10288
  "aria-expanded",
10250
10289
  "aria-disabled",
10251
10290
  "tabindex"
10252
- ], yf = {
10291
+ ], Sf = {
10253
10292
  class: "coar-submenu-item__icon",
10254
10293
  "aria-hidden": "true"
10255
- }, bf = { class: "coar-submenu-item__label" }, xf = /* @__PURE__ */ Z(/* @__PURE__ */ d({
10294
+ }, Cf = { class: "coar-submenu-item__label" }, wf = /* @__PURE__ */ Z(/* @__PURE__ */ d({
10256
10295
  __name: "CoarSubFlyout",
10257
10296
  props: {
10258
10297
  label: {},
@@ -10263,9 +10302,9 @@ var sf = /* @__PURE__ */ Z(rf, [["render", of], ["__scopeId", "data-v-a0d5d1e3"]
10263
10302
  }
10264
10303
  },
10265
10304
  setup(e) {
10266
- let t = e, n = ee(), i = `coar-submenu-panel-${H()}`, a = Bd(), c = new Fd(a ?? null);
10267
- zd(c);
10268
- let l = h(Rd, void 0), d = bt(), f = j(!1), p = j(null), m = null, g = null;
10305
+ let t = e, n = ee(), i = `coar-submenu-panel-${H()}`, a = Ud(), c = new Rd(a ?? null);
10306
+ Hd(c);
10307
+ let l = h(Vd, void 0), d = bt(), f = j(!1), p = j(null), m = null, g = null;
10269
10308
  T(() => {
10270
10309
  if (l && p.value) {
10271
10310
  let e = {
@@ -10279,11 +10318,11 @@ var sf = /* @__PURE__ */ Z(rf, [["render", of], ["__scopeId", "data-v-a0d5d1e3"]
10279
10318
  });
10280
10319
  let v = r(() => t.disabled ? -1 : l ? l.items.value.findIndex((e) => e.el === p.value) === l.activeIndex.value ? 0 : -1 : 0), y = null;
10281
10320
  c.onChildPanelEnter = () => R();
10282
- let S = Hd();
10321
+ let S = Gd();
10283
10322
  function C() {
10284
10323
  k(), S?.();
10285
10324
  }
10286
- Vd(C);
10325
+ Wd(C);
10287
10326
  function E() {
10288
10327
  return n.default?.();
10289
10328
  }
@@ -10300,7 +10339,7 @@ var sf = /* @__PURE__ */ Z(rf, [["render", of], ["__scopeId", "data-v-a0d5d1e3"]
10300
10339
  },
10301
10340
  content: {
10302
10341
  kind: "component",
10303
- component: _(gf)
10342
+ component: _(yf)
10304
10343
  },
10305
10344
  inputs: {
10306
10345
  id: i,
@@ -10385,7 +10424,7 @@ var sf = /* @__PURE__ */ Z(rf, [["render", of], ["__scopeId", "data-v-a0d5d1e3"]
10385
10424
  e && k();
10386
10425
  }), w(() => {
10387
10426
  g?.(), R(), m && !m.isClosed && m.close(), m = null, c.destroy();
10388
- }), (e, n) => (D(), o("div", _f, [s("div", {
10427
+ }), (e, n) => (D(), o("div", bf, [s("div", {
10389
10428
  ref_key: "itemRef",
10390
10429
  ref: p,
10391
10430
  class: x(["coar-submenu-item", {
@@ -10405,20 +10444,20 @@ var sf = /* @__PURE__ */ Z(rf, [["render", of], ["__scopeId", "data-v-a0d5d1e3"]
10405
10444
  onClick: z,
10406
10445
  onKeydown: B
10407
10446
  }, [
10408
- s("span", yf, [u(Q, {
10447
+ s("span", Sf, [u(Q, {
10409
10448
  name: t.icon || "square-dashed",
10410
10449
  size: "s"
10411
10450
  }, null, 8, ["name"])]),
10412
- s("span", bf, L(t.label), 1),
10451
+ s("span", Cf, L(t.label), 1),
10413
10452
  u(Q, {
10414
10453
  name: "chevron-right",
10415
10454
  size: "xs",
10416
10455
  class: "coar-submenu-item__arrow",
10417
10456
  "aria-hidden": "true"
10418
10457
  })
10419
- ], 42, vf)]));
10458
+ ], 42, xf)]));
10420
10459
  }
10421
- }), [["__scopeId", "data-v-fd704194"]]), Sf = /* @__PURE__ */ d({
10460
+ }), [["__scopeId", "data-v-fd704194"]]), Tf = /* @__PURE__ */ d({
10422
10461
  __name: "CoarContextMenuPanel",
10423
10462
  props: {
10424
10463
  renderContent: {
@@ -10432,12 +10471,12 @@ var sf = /* @__PURE__ */ Z(rf, [["render", of], ["__scopeId", "data-v-a0d5d1e3"]
10432
10471
  },
10433
10472
  setup(e) {
10434
10473
  let t = e;
10435
- return Vd(() => t.closeMenu()), (t, n) => (D(), i(Kd, null, {
10474
+ return Wd(() => t.closeMenu()), (t, n) => (D(), i(Yd, null, {
10436
10475
  default: K(() => [(D(), i(P({ render: e.renderContent })))]),
10437
10476
  _: 1
10438
10477
  }));
10439
10478
  }
10440
- }), Cf = /* @__PURE__ */ d({
10479
+ }), Ef = /* @__PURE__ */ d({
10441
10480
  render: () => null,
10442
10481
  __name: "CoarContextMenu",
10443
10482
  props: { menu: {} },
@@ -10459,7 +10498,7 @@ var sf = /* @__PURE__ */ Z(rf, [["render", of], ["__scopeId", "data-v-a0d5d1e3"]
10459
10498
  },
10460
10499
  content: {
10461
10500
  kind: "component",
10462
- component: _(Sf)
10501
+ component: _(Tf)
10463
10502
  },
10464
10503
  context: t.menu.target?.value ?? void 0,
10465
10504
  inputs: {
@@ -10498,10 +10537,10 @@ var sf = /* @__PURE__ */ Z(rf, [["render", of], ["__scopeId", "data-v-a0d5d1e3"]
10498
10537
  });
10499
10538
  //#endregion
10500
10539
  //#region src/components/menu/useContextMenu.ts
10501
- function wf(e) {
10540
+ function Df(e) {
10502
10541
  return typeof e == "object" && !!e && e.nodeType === 1;
10503
10542
  }
10504
- function Tf() {
10543
+ function Of() {
10505
10544
  let e = j(!1), t = j({
10506
10545
  x: 0,
10507
10546
  y: 0
@@ -10512,7 +10551,7 @@ function Tf() {
10512
10551
  y: r.clientY
10513
10552
  };
10514
10553
  let i = "target" in r ? r.target : null;
10515
- n.value = wf(i) ? i : null, e.value = !0;
10554
+ n.value = Df(i) ? i : null, e.value = !0;
10516
10555
  }
10517
10556
  function a() {
10518
10557
  e.value = !1;
@@ -10527,7 +10566,7 @@ function Tf() {
10527
10566
  }
10528
10567
  //#endregion
10529
10568
  //#region src/components/tabs/CoarTab.vue
10530
- var Ef = /* @__PURE__ */ d({
10569
+ var kf = /* @__PURE__ */ d({
10531
10570
  __name: "CoarTab",
10532
10571
  props: {
10533
10572
  id: {},
@@ -10537,10 +10576,10 @@ var Ef = /* @__PURE__ */ d({
10537
10576
  setup(e) {
10538
10577
  return (e, t) => N(e.$slots, "default");
10539
10578
  }
10540
- }), Df = {
10579
+ }), Af = {
10541
10580
  class: "coar-tab-list",
10542
10581
  role: "tablist"
10543
- }, Of = [
10582
+ }, jf = [
10544
10583
  "id",
10545
10584
  "aria-selected",
10546
10585
  "aria-controls",
@@ -10548,14 +10587,14 @@ var Ef = /* @__PURE__ */ d({
10548
10587
  "tabindex",
10549
10588
  "disabled",
10550
10589
  "onClick"
10551
- ], kf = { class: "coar-tab-label" }, Af = {
10590
+ ], Mf = { class: "coar-tab-label" }, Nf = {
10552
10591
  key: 0,
10553
10592
  class: "coar-tab-list-actions"
10554
- }, jf = { class: "coar-tab-content" }, Mf = [
10593
+ }, Pf = { class: "coar-tab-content" }, Ff = [
10555
10594
  "id",
10556
10595
  "aria-labelledby",
10557
10596
  "hidden"
10558
- ], Nf = /* @__PURE__ */ Z(/* @__PURE__ */ d({
10597
+ ], If = /* @__PURE__ */ Z(/* @__PURE__ */ d({
10559
10598
  __name: "CoarTabGroup",
10560
10599
  props: {
10561
10600
  modelValue: { default: void 0 },
@@ -10577,7 +10616,7 @@ var Ef = /* @__PURE__ */ d({
10577
10616
  }
10578
10617
  }), l = t, f = n, p = ee(), m = r(() => {
10579
10618
  let e = p.default?.() ?? [], t = [];
10580
- for (let n of h(e)) if (n.type === Ef) {
10619
+ for (let n of h(e)) if (n.type === kf) {
10581
10620
  let e = n.props ?? {}, r = String(e.id ?? "");
10582
10621
  if (!r) continue;
10583
10622
  let i = e.disabled === !0 || e.disabled === "" || e.disabled === "true", a = e.loadingStrategy ?? e["loading-strategy"] ?? "lazy", o = n.children, s = o?.default?.() ?? [], c = o?.content?.() ?? [];
@@ -10631,7 +10670,7 @@ var Ef = /* @__PURE__ */ d({
10631
10670
  y(e.id), document.getElementById(e.id)?.focus();
10632
10671
  }
10633
10672
  }
10634
- return (n, r) => (D(), o("div", { class: x(["coar-tab-group", { "coar-tab-group--fill": t.fill }]) }, [s("div", Df, [(D(!0), o(e, null, M(m.value, (e) => (D(), o("button", {
10673
+ return (n, r) => (D(), o("div", { class: x(["coar-tab-group", { "coar-tab-group--fill": t.fill }]) }, [s("div", Af, [(D(!0), o(e, null, M(m.value, (e) => (D(), o("button", {
10635
10674
  id: e.id,
10636
10675
  key: e.id,
10637
10676
  type: "button",
@@ -10647,7 +10686,7 @@ var Ef = /* @__PURE__ */ d({
10647
10686
  disabled: e.disabled,
10648
10687
  onClick: (t) => y(e.id),
10649
10688
  onKeydown: S
10650
- }, [s("span", kf, [u(V(c), { nodes: e.labelSlot }, null, 8, ["nodes"])])], 42, Of))), 128)), p.actions ? (D(), o("div", Af, [N(n.$slots, "actions", {}, void 0, !0)])) : a("", !0)]), s("div", jf, [(D(!0), o(e, null, M(m.value, (e) => (D(), o("div", {
10689
+ }, [s("span", Mf, [u(V(c), { nodes: e.labelSlot }, null, 8, ["nodes"])])], 42, jf))), 128)), p.actions ? (D(), o("div", Nf, [N(n.$slots, "actions", {}, void 0, !0)])) : a("", !0)]), s("div", Pf, [(D(!0), o(e, null, M(m.value, (e) => (D(), o("div", {
10651
10690
  id: "panel-" + e.id,
10652
10691
  key: e.id,
10653
10692
  role: "tabpanel",
@@ -10657,9 +10696,9 @@ var Ef = /* @__PURE__ */ d({
10657
10696
  }, [b(e) ? (D(), i(V(c), {
10658
10697
  key: 0,
10659
10698
  nodes: e.contentSlot
10660
- }, null, 8, ["nodes"])) : a("", !0)], 10, Mf))), 128))])], 2));
10699
+ }, null, 8, ["nodes"])) : a("", !0)], 10, Ff))), 128))])], 2));
10661
10700
  }
10662
- }), [["__scopeId", "data-v-a2af267a"]]), Pf = {
10701
+ }), [["__scopeId", "data-v-a2af267a"]]), Lf = {
10663
10702
  expand: "Expand",
10664
10703
  collapse: "Collapse",
10665
10704
  loading: "Loading children",
@@ -10672,7 +10711,7 @@ var Ef = /* @__PURE__ */ d({
10672
10711
  moved: (e, t, n) => `Moved ${e} ${n === "inside" ? "into" : n} ${t}.`,
10673
10712
  moveBlocked: (e) => `Can't drop ${e} there.`,
10674
10713
  moveCancelled: "Move cancelled."
10675
- }, Ff = "application/x-coar-tree-node", If = Symbol("coar-tree-node-slot"), Lf = Symbol("coar-tree-row-id"), Rf = Symbol("coar-tree-row-state"), zf = Symbol("coar-tree-rename"), Bf = [
10714
+ }, Rf = "application/x-coar-tree-node", zf = Symbol("coar-tree-node-slot"), Bf = Symbol("coar-tree-row-id"), Vf = Symbol("coar-tree-row-state"), Hf = Symbol("coar-tree-rename"), Uf = [
10676
10715
  "aria-expanded",
10677
10716
  "aria-selected",
10678
10717
  "aria-disabled",
@@ -10684,17 +10723,17 @@ var Ef = /* @__PURE__ */ d({
10684
10723
  "tabindex",
10685
10724
  "draggable",
10686
10725
  "data-node-id"
10687
- ], Vf = {
10726
+ ], Wf = {
10688
10727
  key: 0,
10689
10728
  class: "coar-tree-node__drop-line coar-tree-node__drop-line--top"
10690
- }, Hf = {
10729
+ }, Gf = {
10691
10730
  key: 1,
10692
10731
  class: "coar-tree-node__drop-line coar-tree-node__drop-line--bottom"
10693
- }, Uf = ["aria-label"], Wf = {
10732
+ }, Kf = ["aria-label"], qf = {
10694
10733
  key: 3,
10695
10734
  class: "coar-tree-node__chevron-spacer",
10696
10735
  "aria-hidden": "true"
10697
- }, Gf = "var(--coar-tree-icon-size, 12px)", Kf = /* @__PURE__ */ Z(/* @__PURE__ */ d({
10736
+ }, Jf = "var(--coar-tree-icon-size, 12px)", Yf = /* @__PURE__ */ Z(/* @__PURE__ */ d({
10698
10737
  __name: "CoarTreeNode",
10699
10738
  props: {
10700
10739
  node: {},
@@ -10720,10 +10759,10 @@ var Ef = /* @__PURE__ */ d({
10720
10759
  ],
10721
10760
  setup(e, { emit: t }) {
10722
10761
  let n = e;
10723
- O(Lf, n.nodeId);
10724
- let c = h(Rf);
10762
+ O(Bf, n.nodeId);
10763
+ let c = h(Vf);
10725
10764
  if (!c) throw Error("CoarTreeNode must be rendered inside a CoarTree.");
10726
- let l = r(() => c.expandedIds.value.has(n.nodeId)), u = r(() => c.selectedIds.value.has(n.nodeId)), d = r(() => c.checkedIds.value.has(n.nodeId)), f = r(() => c.indeterminateIds.value.has(n.nodeId)), p = r(() => c.checkboxMode.value), m = r(() => c.matchedIds.value.has(n.nodeId)), g = r(() => c.matchAncestorIds.value.has(n.nodeId)), _ = r(() => c.disabledIds.value.has(n.nodeId)), v = r(() => c.focusedId.value === n.nodeId), y = r(() => c.renamingId.value === n.nodeId), b = r(() => c.dropTargetId.value === n.nodeId ? c.dropPosition.value : null), S = r(() => c.fileDropTargetId.value === n.nodeId), w = r(() => c.loadingIds.value.has(n.nodeId)), T = r(() => c.erroredIds.value.has(n.nodeId)), E = r(() => w.value && !c.hideLoadingSpinner.value), k = r(() => T.value && !w.value && !c.hideLoadingSpinner.value), A = t, M = j(null), N = h(If);
10765
+ let l = r(() => c.expandedIds.value.has(n.nodeId)), u = r(() => c.selectedIds.value.has(n.nodeId)), d = r(() => c.checkedIds.value.has(n.nodeId)), f = r(() => c.indeterminateIds.value.has(n.nodeId)), p = r(() => c.checkboxMode.value), m = r(() => c.matchedIds.value.has(n.nodeId)), g = r(() => c.matchAncestorIds.value.has(n.nodeId)), _ = r(() => c.disabledIds.value.has(n.nodeId)), v = r(() => c.focusedId.value === n.nodeId), y = r(() => c.renamingId.value === n.nodeId), b = r(() => c.dropTargetId.value === n.nodeId ? c.dropPosition.value : null), S = r(() => c.fileDropTargetId.value === n.nodeId), w = r(() => c.loadingIds.value.has(n.nodeId)), T = r(() => c.erroredIds.value.has(n.nodeId)), E = r(() => w.value && !c.hideLoadingSpinner.value), k = r(() => T.value && !w.value && !c.hideLoadingSpinner.value), A = t, M = j(null), N = h(zf);
10727
10766
  if (!N) throw Error("CoarTreeNode must be rendered inside a CoarTree.");
10728
10767
  let F = r(() => ({
10729
10768
  node: n.node,
@@ -10779,8 +10818,8 @@ var Ef = /* @__PURE__ */ d({
10779
10818
  onDragleave: n[8] ||= (t) => A("row-dragleave", e.node, t),
10780
10819
  onDrop: n[9] ||= (t) => M.value && A("row-drop", e.node, M.value, t)
10781
10820
  }, [
10782
- b.value === "before" ? (D(), o("span", Vf)) : a("", !0),
10783
- b.value === "after" ? (D(), o("span", Hf)) : a("", !0),
10821
+ b.value === "before" ? (D(), o("span", Wf)) : a("", !0),
10822
+ b.value === "after" ? (D(), o("span", Gf)) : a("", !0),
10784
10823
  e.isExpandable ? (D(), o("button", {
10785
10824
  key: 2,
10786
10825
  type: "button",
@@ -10795,12 +10834,12 @@ var Ef = /* @__PURE__ */ d({
10795
10834
  }, null, 8, ["label"])) : k.value ? (D(), i(Q, {
10796
10835
  key: 1,
10797
10836
  name: "rotate-ccw",
10798
- size: Gf
10837
+ size: Jf
10799
10838
  })) : (D(), i(Q, {
10800
10839
  key: 2,
10801
10840
  name: l.value ? "chevron-down" : "chevron-right",
10802
- size: Gf
10803
- }, null, 8, ["name"]))], 10, Uf)) : (D(), o("span", Wf)),
10841
+ size: Jf
10842
+ }, null, 8, ["name"]))], 10, Kf)) : (D(), o("span", qf)),
10804
10843
  p.value ? (D(), o("span", {
10805
10844
  key: 4,
10806
10845
  class: x(["coar-tree-node__checkbox", {
@@ -10833,21 +10872,21 @@ var Ef = /* @__PURE__ */ d({
10833
10872
  "stroke-linecap": "round"
10834
10873
  })], -1)]], 34)) : a("", !0),
10835
10874
  (D(), i(P(I)))
10836
- ], 46, Bf));
10875
+ ], 46, Uf));
10837
10876
  }
10838
10877
  }), [["__scopeId", "data-v-afb98c82"]]);
10839
10878
  //#endregion
10840
10879
  //#region src/components/tree/tree-dnd.ts
10841
- function qf(e, t, n) {
10880
+ function Xf(e, t, n) {
10842
10881
  let r = e.clientY - t.top, i = t.height > 0 ? r / t.height : 0;
10843
10882
  return n.expandable ? i < .25 ? "before" : i > .75 ? "after" : "inside" : i < .5 ? "before" : "after";
10844
10883
  }
10845
- function Jf(e) {
10884
+ function Zf(e) {
10846
10885
  return !!e && Array.from(e.types).includes("Files");
10847
10886
  }
10848
10887
  //#endregion
10849
10888
  //#region src/components/tree/internal/selection.ts
10850
- function Yf(e, t, n) {
10889
+ function Qf(e, t, n) {
10851
10890
  let r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), a = [], o = (e, s) => {
10852
10891
  for (let c of e) {
10853
10892
  let e = t(c);
@@ -10862,7 +10901,7 @@ function Yf(e, t, n) {
10862
10901
  order: a
10863
10902
  };
10864
10903
  }
10865
- function Xf(e, t, n, r) {
10904
+ function $f(e, t, n, r) {
10866
10905
  let i = new Set(e), a = [t];
10867
10906
  for (; a.length;) {
10868
10907
  let e = a.pop();
@@ -10877,7 +10916,7 @@ function Xf(e, t, n, r) {
10877
10916
  }
10878
10917
  return i;
10879
10918
  }
10880
- function Zf(e, t) {
10919
+ function ep(e, t) {
10881
10920
  let n = new Set(e), r = /* @__PURE__ */ new Map(), i = !1;
10882
10921
  for (let e of t.order) {
10883
10922
  let a = t.parent.get(e) ?? null, o = a !== null && r.get(a) === !0 || n.has(e);
@@ -10885,7 +10924,7 @@ function Zf(e, t) {
10885
10924
  }
10886
10925
  return i ? n : e;
10887
10926
  }
10888
- function Qf(e, t) {
10927
+ function tp(e, t) {
10889
10928
  let n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Map();
10890
10929
  for (let i = t.order.length - 1; i >= 0; i--) {
10891
10930
  let a = t.order[i], o = t.children.get(a) ?? [], s = !1;
@@ -10897,18 +10936,18 @@ function Qf(e, t) {
10897
10936
  }
10898
10937
  //#endregion
10899
10938
  //#region src/components/tree/CoarTree.vue?vue&type=script&setup=true&lang.ts
10900
- var $f = {
10939
+ var np = {
10901
10940
  class: "coar-tree__sr-live",
10902
10941
  role: "status",
10903
10942
  "aria-live": "polite"
10904
- }, ep = [
10943
+ }, rp = [
10905
10944
  "aria-label",
10906
10945
  "aria-labelledby",
10907
10946
  "aria-multiselectable"
10908
- ], tp = {
10947
+ ], ip = {
10909
10948
  class: "coar-tree__draft-icon",
10910
10949
  "aria-hidden": "true"
10911
- }, np = ["aria-label"], rp = ["aria-label"], ip = /* @__PURE__ */ Z(/* @__PURE__ */ d({
10950
+ }, ap = ["aria-label"], op = ["aria-label"], sp = /* @__PURE__ */ Z(/* @__PURE__ */ d({
10912
10951
  __name: "CoarTree",
10913
10952
  props: /* @__PURE__ */ v({
10914
10953
  builder: { default: void 0 },
@@ -11021,7 +11060,7 @@ var $f = {
11021
11060
  ]),
11022
11061
  setup(t, { expose: n, emit: c }) {
11023
11062
  let l = t, d = U(t, "expanded"), f = U(t, "selected"), p = U(t, "selectedIds"), m = U(t, "checkedIds"), h = c, g = ee();
11024
- O(If, (e) => g.default?.(e) ?? []);
11063
+ O(zf, (e) => g.default?.(e) ?? []);
11025
11064
  let _ = j(null), v = j(""), y = 0;
11026
11065
  function S() {
11027
11066
  if (!_.value) return null;
@@ -11048,7 +11087,7 @@ var $f = {
11048
11087
  let e = S();
11049
11088
  _.value = null, v.value = "", e && (h("rename-cancel", e), l.builder?.state.onRenameCancel?.(e));
11050
11089
  }
11051
- O(zf, {
11090
+ O(Hf, {
11052
11091
  renamingId: _,
11053
11092
  buffer: v,
11054
11093
  commit: E,
@@ -11180,7 +11219,7 @@ var $f = {
11180
11219
  filterMode: l.filterMode
11181
11220
  };
11182
11221
  }), se = r(() => !!J.value.renamable), ce = r(() => !!J.value.creatable), le = r(() => ({
11183
- ...Pf,
11222
+ ...Lf,
11184
11223
  ...J.value.labels ?? {}
11185
11224
  })), Y = r({
11186
11225
  get: () => l.builder ? l.builder.state.expanded.value : d.value,
@@ -11206,12 +11245,12 @@ var $f = {
11206
11245
  let t = l.builder;
11207
11246
  t ? t.state.checkedIds.value = e : m.value = e;
11208
11247
  }
11209
- }), pe = /* @__PURE__ */ new Set(), me = r(() => J.value.selectionMode ?? "single"), he = r(() => me.value === "checkbox"), ge = r(() => me.value === "multiple" || me.value === "checkbox"), _e = r(() => !!J.value.checkStrictly), ve = r(() => me.value === "single" ? ue.value ? new Set([ue.value]) : pe : X.value), ye = r(() => he.value ? Yf(J.value.nodes, J.value.getId, Ne) : null), be = r(() => he.value && !_e.value && ye.value ? Qf(de.value, ye.value) : pe), xe = r(() => {
11248
+ }), pe = /* @__PURE__ */ new Set(), me = r(() => J.value.selectionMode ?? "single"), he = r(() => me.value === "checkbox"), ge = r(() => me.value === "multiple" || me.value === "checkbox"), _e = r(() => !!J.value.checkStrictly), ve = r(() => me.value === "single" ? ue.value ? new Set([ue.value]) : pe : X.value), ye = r(() => he.value ? Qf(J.value.nodes, J.value.getId, Ne) : null), be = r(() => he.value && !_e.value && ye.value ? tp(de.value, ye.value) : pe), xe = r(() => {
11210
11249
  if (!J.value.isDisabled) return pe;
11211
11250
  let e = /* @__PURE__ */ new Set();
11212
11251
  for (let t of Fe.value) Pe(t.node) && e.add(t.id);
11213
11252
  return e;
11214
- }), Se = r(() => J.value.matchedIds ?? pe), Ce = r(() => Se.value.size ? Qf(Se.value, Yf(J.value.nodes, J.value.getId, Ne)) : pe), we = r(() => !!J.value.filter && Se.value.size > 0), Te = r(() => J.value.filterMode === "lenient");
11253
+ }), Se = r(() => J.value.matchedIds ?? pe), Ce = r(() => Se.value.size ? tp(Se.value, Qf(J.value.nodes, J.value.getId, Ne)) : pe), we = r(() => !!J.value.filter && Se.value.size > 0), Te = r(() => J.value.filterMode === "lenient");
11215
11254
  function Ee(e, t) {
11216
11255
  let n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = (a, o) => {
11217
11256
  let s = J.value.getId(a), c = e.has(s), l = !1, u = !1, d = Ne(a);
@@ -11247,7 +11286,7 @@ var $f = {
11247
11286
  n && (Y.value = t);
11248
11287
  }, { immediate: !0 }), G(ye, (e) => {
11249
11288
  if (!e || _e.value) return;
11250
- let t = Zf(de.value, e);
11289
+ let t = ep(de.value, e);
11251
11290
  t !== de.value && (de.value = t);
11252
11291
  });
11253
11292
  function ke(e) {
@@ -11574,7 +11613,7 @@ var $f = {
11574
11613
  return;
11575
11614
  }
11576
11615
  let i = ye.value;
11577
- i && (de.value = Xf(de.value, n, r, i));
11616
+ i && (de.value = $f(de.value, n, r, i));
11578
11617
  }
11579
11618
  function pt(e) {
11580
11619
  if (!ke(e)) return;
@@ -11646,7 +11685,7 @@ var $f = {
11646
11685
  function Tt(e) {
11647
11686
  Pe(e) || (h("activate", e), l.builder?.state.onActivate?.(e));
11648
11687
  }
11649
- let Et = Tf(), Dt = I(null), Ot = r(() => {
11688
+ let Et = Of(), Dt = I(null), Ot = r(() => {
11650
11689
  let e = l.builder?.state;
11651
11690
  if (!e || !Dt.value) return [];
11652
11691
  switch (Dt.value.kind) {
@@ -11832,7 +11871,7 @@ var $f = {
11832
11871
  }
11833
11872
  }
11834
11873
  let Wt = j(null), Gt = I(null), Kt = j(null), qt = j(null), Jt = j(null), Yt = j(0);
11835
- O(Rf, {
11874
+ O(Vf, {
11836
11875
  selectedIds: ve,
11837
11876
  checkedIds: de,
11838
11877
  indeterminateIds: be,
@@ -11925,7 +11964,7 @@ var $f = {
11925
11964
  return;
11926
11965
  }
11927
11966
  let n = J.value.getId(e);
11928
- Wt.value = n, Gt.value = e, t.dataTransfer?.setData(Ff, n), t.dataTransfer?.setData("text/plain", J.value.getLabel?.(e) ?? n), t.dataTransfer && (t.dataTransfer.effectAllowed = "move");
11967
+ Wt.value = n, Gt.value = e, t.dataTransfer?.setData(Rf, n), t.dataTransfer?.setData("text/plain", J.value.getLabel?.(e) ?? n), t.dataTransfer && (t.dataTransfer.effectAllowed = "move");
11929
11968
  let r = J.value.getDragImage?.(e);
11930
11969
  r instanceof HTMLElement ? Ae(t, r) : typeof r == "string" && je(t, r), sn(le.value.pickedUp(cn(e)));
11931
11970
  }
@@ -11935,17 +11974,17 @@ var $f = {
11935
11974
  function hn(e, t, n) {
11936
11975
  let r = n.dataTransfer;
11937
11976
  if (!r) return;
11938
- if (Jf(r)) {
11977
+ if (Zf(r)) {
11939
11978
  J.value.acceptsFiles && ke(e) && (n.preventDefault(), r.dropEffect = "copy", Jt.value = J.value.getId(e), Kt.value = null, qt.value = null, $t(e));
11940
11979
  return;
11941
11980
  }
11942
11981
  if (dn(r)) {
11943
- let i = qf(n, t.getBoundingClientRect(), { expandable: ke(e) });
11982
+ let i = Xf(n, t.getBoundingClientRect(), { expandable: ke(e) });
11944
11983
  n.preventDefault(), r.dropEffect = "move", Kt.value = J.value.getId(e), qt.value = i, Jt.value = null, i === "inside" ? $t(e) : Qt();
11945
11984
  return;
11946
11985
  }
11947
11986
  if (!r.types.includes("application/x-coar-tree-node") || !Wt.value || Wt.value === J.value.getId(e) || en(J.value.getId(e), Wt.value)) return;
11948
- let i = qf(n, t.getBoundingClientRect(), { expandable: ke(e) }), a = Gt.value;
11987
+ let i = Xf(n, t.getBoundingClientRect(), { expandable: ke(e) }), a = Gt.value;
11949
11988
  J.value.canDrop && a && !J.value.canDrop(a, e, i) || (n.preventDefault(), r.dropEffect = "move", Kt.value = J.value.getId(e), qt.value = i, Jt.value = null, i === "inside" ? $t(e) : Qt());
11950
11989
  }
11951
11990
  function gn(e, t) {
@@ -11955,7 +11994,7 @@ var $f = {
11955
11994
  function _n(e, t, n) {
11956
11995
  let r = n.dataTransfer;
11957
11996
  if (r) {
11958
- if (Jf(r)) {
11997
+ if (Zf(r)) {
11959
11998
  if (!J.value.acceptsFiles || !ke(e) || !r.files.length) return;
11960
11999
  n.preventDefault(), n.stopPropagation(), un({
11961
12000
  files: r.files,
@@ -11983,12 +12022,12 @@ var $f = {
11983
12022
  }
11984
12023
  }
11985
12024
  function vn(e) {
11986
- !Jf(e.dataTransfer) || !J.value.acceptsFiles || (e.preventDefault(), Yt.value++);
12025
+ !Zf(e.dataTransfer) || !J.value.acceptsFiles || (e.preventDefault(), Yt.value++);
11987
12026
  }
11988
12027
  function yn(e) {
11989
12028
  let t = e.dataTransfer;
11990
12029
  if (t) {
11991
- if (Jf(t) && J.value.acceptsFiles) {
12030
+ if (Zf(t) && J.value.acceptsFiles) {
11992
12031
  e.preventDefault(), t.dropEffect = "copy";
11993
12032
  return;
11994
12033
  }
@@ -12000,12 +12039,12 @@ var $f = {
12000
12039
  }
12001
12040
  }
12002
12041
  function bn(e) {
12003
- Jf(e.dataTransfer) && (Yt.value = Math.max(0, Yt.value - 1));
12042
+ Zf(e.dataTransfer) && (Yt.value = Math.max(0, Yt.value - 1));
12004
12043
  }
12005
12044
  function xn(e) {
12006
12045
  let t = e.dataTransfer;
12007
12046
  if (t) {
12008
- if (Jf(t) && J.value.acceptsFiles && t.files.length) {
12047
+ if (Zf(t) && J.value.acceptsFiles && t.files.length) {
12009
12048
  e.preventDefault(), un({
12010
12049
  files: t.files,
12011
12050
  target: null
@@ -12090,7 +12129,7 @@ var $f = {
12090
12129
  onDragleave: bn,
12091
12130
  onDrop: xn
12092
12131
  }, [
12093
- s("div", $f, L(on.value), 1),
12132
+ s("div", np, L(on.value), 1),
12094
12133
  J.value.nodes.length || A.value ? (D(), o("div", {
12095
12134
  key: 0,
12096
12135
  ref_key: "scrollEl",
@@ -12121,7 +12160,7 @@ var $f = {
12121
12160
  class: "coar-tree__draft-spacer",
12122
12161
  "aria-hidden": "true"
12123
12162
  }, null, -1),
12124
- s("span", tp, [N(n.$slots, "draft", {
12163
+ s("span", ip, [N(n.$slots, "draft", {
12125
12164
  kind: t.draft.kind,
12126
12165
  depth: t.draft.depth
12127
12166
  }, () => [u(Q, {
@@ -12142,8 +12181,8 @@ var $f = {
12142
12181
  ],
12143
12182
  onFocus: r[6] ||= (e) => ne(),
12144
12183
  onBlur: r[7] ||= (e) => ae()
12145
- }, null, 40, np), [[te, P.value]])
12146
- ], 4)) : (D(), i(Kf, {
12184
+ }, null, 40, ap), [[te, P.value]])
12185
+ ], 4)) : (D(), i(Yf, {
12147
12186
  key: 1,
12148
12187
  node: t.row.node,
12149
12188
  "node-id": t.row.id,
@@ -12179,19 +12218,19 @@ var $f = {
12179
12218
  "pos-in-set",
12180
12219
  "set-size",
12181
12220
  "style"
12182
- ]))], 64))), 128))], 12, ep)], 2)) : (D(), o("div", {
12221
+ ]))], 64))), 128))], 12, rp)], 2)) : (D(), o("div", {
12183
12222
  key: 1,
12184
12223
  class: "coar-tree__empty",
12185
12224
  tabindex: "0",
12186
12225
  role: "status",
12187
12226
  "aria-label": J.value.ariaLabel
12188
- }, [N(n.$slots, "empty", {}, void 0, !0)], 8, rp)),
12189
- t.builder ? (D(), i(Cf, {
12227
+ }, [N(n.$slots, "empty", {}, void 0, !0)], 8, op)),
12228
+ t.builder ? (D(), i(Ef, {
12190
12229
  key: 2,
12191
12230
  menu: V(Et)
12192
12231
  }, {
12193
- default: K(() => [u(Kd, null, {
12194
- default: K(() => [(D(!0), o(e, null, M(Ot.value, (t, n) => (D(), o(e, { key: n }, [t === "divider" ? (D(), i(sf, { key: 0 })) : (D(), i(nf, {
12232
+ default: K(() => [u(Yd, null, {
12233
+ default: K(() => [(D(!0), o(e, null, M(Ot.value, (t, n) => (D(), o(e, { key: n }, [t === "divider" ? (D(), i(uf, { key: 0 })) : (D(), i(of, {
12195
12234
  key: 1,
12196
12235
  label: t.label,
12197
12236
  icon: t.icon,
@@ -12211,14 +12250,14 @@ var $f = {
12211
12250
  }, 8, ["menu"])) : a("", !0)
12212
12251
  ], 34));
12213
12252
  }
12214
- }), [["__scopeId", "data-v-1f1c6cf5"]]), ap = ["data-rename-id"], op = {
12253
+ }), [["__scopeId", "data-v-1f1c6cf5"]]), cp = ["data-rename-id"], lp = {
12215
12254
  key: 1,
12216
12255
  class: "coar-tree-node-label__text"
12217
- }, sp = /* @__PURE__ */ Z(/* @__PURE__ */ d({
12256
+ }, up = /* @__PURE__ */ Z(/* @__PURE__ */ d({
12218
12257
  __name: "CoarTreeNodeLabel",
12219
12258
  props: { label: {} },
12220
12259
  setup(e) {
12221
- let t = h(Lf, null), n = h(zf, null), i = r(() => n != null && t != null && n.renamingId.value === t), a = W("inputEl");
12260
+ let t = h(Bf, null), n = h(Hf, null), i = r(() => n != null && t != null && n.renamingId.value === t), a = W("inputEl");
12222
12261
  return n && t && G(i, async (e) => {
12223
12262
  e && (await b(), a.value?.focus(), a.value?.select());
12224
12263
  }), (r, s) => V(n) && i.value ? q((D(), o("input", {
@@ -12237,9 +12276,9 @@ var $f = {
12237
12276
  ],
12238
12277
  onFocus: s[6] ||= (e) => V(n).onFocus(),
12239
12278
  onBlur: s[7] ||= (e) => V(n).onBlur()
12240
- }, null, 40, ap)), [[te, V(n).buffer.value]]) : (D(), o("span", op, L(e.label), 1));
12279
+ }, null, 40, cp)), [[te, V(n).buffer.value]]) : (D(), o("span", lp, L(e.label), 1));
12241
12280
  }
12242
- }), [["__scopeId", "data-v-78b33972"]]), cp = class e {
12281
+ }), [["__scopeId", "data-v-78b33972"]]), dp = class e {
12243
12282
  state;
12244
12283
  api;
12245
12284
  _impls = null;
@@ -12484,8 +12523,8 @@ var $f = {
12484
12523
  };
12485
12524
  //#endregion
12486
12525
  //#region src/components/tree/useTree.ts
12487
- function lp() {
12488
- let e = cp.create();
12526
+ function fp() {
12527
+ let e = dp.create();
12489
12528
  return {
12490
12529
  builder: e,
12491
12530
  api: e.api
@@ -12493,7 +12532,7 @@ function lp() {
12493
12532
  }
12494
12533
  //#endregion
12495
12534
  //#region src/components/data-list/internal/compare.ts
12496
- function up(e) {
12535
+ function pp(e) {
12497
12536
  let t = {
12498
12537
  numeric: !0,
12499
12538
  sensitivity: "base"
@@ -12504,21 +12543,21 @@ function up(e) {
12504
12543
  return new Intl.Collator(void 0, t);
12505
12544
  }
12506
12545
  }
12507
- function dp(e) {
12546
+ function mp(e) {
12508
12547
  return e == null;
12509
12548
  }
12510
- function fp(e) {
12549
+ function hp(e) {
12511
12550
  return typeof e == "string" ? e : e instanceof Date ? e.toISOString() : String(e);
12512
12551
  }
12513
- function pp(e) {
12514
- let t = up(e);
12552
+ function gp(e) {
12553
+ let t = pp(e);
12515
12554
  return (e, n) => {
12516
12555
  if (e === n) return 0;
12517
- let r = dp(e), i = dp(n);
12518
- return r || i ? r && i ? 0 : r ? 1 : -1 : typeof e == "number" && typeof n == "number" ? Number.isNaN(e) || Number.isNaN(n) ? Number.isNaN(e) ? +!Number.isNaN(n) : -1 : e - n : typeof e == "bigint" && typeof n == "bigint" ? e < n ? -1 : +(e > n) : typeof e == "boolean" && typeof n == "boolean" ? e === n ? 0 : e ? 1 : -1 : e instanceof Date && n instanceof Date ? e.getTime() - n.getTime() : t.compare(fp(e), fp(n));
12556
+ let r = mp(e), i = mp(n);
12557
+ return r || i ? r && i ? 0 : r ? 1 : -1 : typeof e == "number" && typeof n == "number" ? Number.isNaN(e) || Number.isNaN(n) ? Number.isNaN(e) ? +!Number.isNaN(n) : -1 : e - n : typeof e == "bigint" && typeof n == "bigint" ? e < n ? -1 : +(e > n) : typeof e == "boolean" && typeof n == "boolean" ? e === n ? 0 : e ? 1 : -1 : e instanceof Date && n instanceof Date ? e.getTime() - n.getTime() : t.compare(hp(e), hp(n));
12519
12558
  };
12520
12559
  }
12521
- function mp(e, t, n, r = !1) {
12560
+ function _p(e, t, n, r = !1) {
12522
12561
  let i = e.map((e, n) => ({
12523
12562
  item: e,
12524
12563
  index: n,
@@ -12529,7 +12568,7 @@ function mp(e, t, n, r = !1) {
12529
12568
  return i === 0 ? e.index - t.index : r ? -i : i;
12530
12569
  }), i.map((e) => e.item);
12531
12570
  }
12532
- function hp(e, t, n = !1) {
12571
+ function vp(e, t, n = !1) {
12533
12572
  let r = e.map((e, t) => ({
12534
12573
  item: e,
12535
12574
  index: t
@@ -12541,24 +12580,24 @@ function hp(e, t, n = !1) {
12541
12580
  }
12542
12581
  //#endregion
12543
12582
  //#region src/components/data-list/internal/search.ts
12544
- function gp(e) {
12583
+ function yp(e) {
12545
12584
  return e.normalize("NFD").replace(/\p{M}/gu, "").toLowerCase();
12546
12585
  }
12547
- function _p(e) {
12548
- return e ? gp(e).split(/\s+/).filter((e) => e.length > 0) : [];
12586
+ function bp(e) {
12587
+ return e ? yp(e).split(/\s+/).filter((e) => e.length > 0) : [];
12549
12588
  }
12550
- function vp(e, t) {
12589
+ function xp(e, t) {
12551
12590
  for (let n of t) if (!e.includes(n)) return !1;
12552
12591
  return !0;
12553
12592
  }
12554
- function yp(e) {
12593
+ function Sp(e) {
12555
12594
  if (e == null) return "";
12556
12595
  if (typeof e != "object") return String(e);
12557
12596
  let t = [];
12558
12597
  for (let n of Object.values(e)) (typeof n == "string" || typeof n == "number" || typeof n == "boolean") && t.push(String(n));
12559
12598
  return t.join(" ");
12560
12599
  }
12561
- function bp(e, t) {
12600
+ function Cp(e, t) {
12562
12601
  if (typeof t == "function") return t(e) ?? "";
12563
12602
  if (Array.isArray(t)) {
12564
12603
  let n = [];
@@ -12568,12 +12607,12 @@ function bp(e, t) {
12568
12607
  }
12569
12608
  return n.join(" ");
12570
12609
  }
12571
- return yp(e);
12610
+ return Sp(e);
12572
12611
  }
12573
12612
  //#endregion
12574
12613
  //#region src/components/data-list/useDataListModel.ts
12575
- function xp(e) {
12576
- let t = e.itemKey, n = e.selected ?? j([]), i = e.expanded ?? j([]), a = j(null), o = r(() => B(e.items)), s = r(() => o.value.length), c = r(() => pp(B(e.locale))), l = r(() => V(e.children)), u = r(() => (B(e.nesting) ?? !0) && !!l.value), d = r(() => new Set(i.value));
12614
+ function wp(e) {
12615
+ let t = e.itemKey, n = e.selected ?? j([]), i = e.expanded ?? j([]), a = j(null), o = r(() => B(e.items)), s = r(() => o.value.length), c = r(() => gp(B(e.locale))), l = r(() => V(e.children)), u = r(() => (B(e.nesting) ?? !0) && !!l.value), d = r(() => new Set(i.value));
12577
12616
  function f(e) {
12578
12617
  let t = l.value;
12579
12618
  return t ? t(e) ?? [] : [];
@@ -12583,14 +12622,14 @@ function xp(e) {
12583
12622
  }
12584
12623
  let m, h = /* @__PURE__ */ new WeakMap();
12585
12624
  function g(e, t) {
12586
- if (m !== t && (m = t, h = /* @__PURE__ */ new WeakMap()), typeof e != "object" || !e) return gp(bp(e, t));
12625
+ if (m !== t && (m = t, h = /* @__PURE__ */ new WeakMap()), typeof e != "object" || !e) return yp(Cp(e, t));
12587
12626
  let n = h.get(e);
12588
12627
  if (n !== void 0) return n;
12589
- let r = gp(bp(e, t));
12628
+ let r = yp(Cp(e, t));
12590
12629
  return h.set(e, r), r;
12591
12630
  }
12592
12631
  let _ = r(() => {
12593
- let t = _p(B(e.search)), n = V(e.searchBy), r = t.length > 0, i = (e) => !r || vp(g(e, n), t), a = /* @__PURE__ */ new Map(), o = (e) => {
12632
+ let t = bp(B(e.search)), n = V(e.searchBy), r = t.length > 0, i = (e) => !r || xp(g(e, n), t), a = /* @__PURE__ */ new Map(), o = (e) => {
12594
12633
  if (!r || !u.value) return !1;
12595
12634
  let t = a.get(e);
12596
12635
  if (t !== void 0) return t;
@@ -12612,7 +12651,7 @@ function xp(e) {
12612
12651
  let r = n?.find((e) => e.key === t.key);
12613
12652
  if (!r) return [...e];
12614
12653
  let i = t.direction === "desc";
12615
- return r.compare ? hp(e, r.compare, i) : mp(e, r.by ?? ((e) => e[r.key]), c.value, i);
12654
+ return r.compare ? vp(e, r.compare, i) : _p(e, r.by ?? ((e) => e[r.key]), c.value, i);
12616
12655
  }
12617
12656
  function b(t) {
12618
12657
  if (t === 0) return B(e.sort) ?? null;
@@ -12798,18 +12837,18 @@ function xp(e) {
12798
12837
  }
12799
12838
  //#endregion
12800
12839
  //#region src/components/data-list/internal/useSearchHighlight.ts
12801
- var Sp = "coar-data-list-search", Cp = /* @__PURE__ */ new Map(), wp = 0;
12802
- function Tp() {
12840
+ var Tp = "coar-data-list-search", Ep = /* @__PURE__ */ new Map(), Dp = 0;
12841
+ function Op() {
12803
12842
  return typeof CSS > "u" || !("highlights" in CSS) || typeof Highlight > "u" ? null : CSS.highlights;
12804
12843
  }
12805
- function Ep() {
12806
- let e = Tp();
12844
+ function kp() {
12845
+ let e = Op();
12807
12846
  if (!e) return;
12808
12847
  let t = [];
12809
- for (let e of Cp.values()) t.push(...e);
12810
- t.length === 0 ? e.delete(Sp) : e.set(Sp, new Highlight(...t));
12848
+ for (let e of Ep.values()) t.push(...e);
12849
+ t.length === 0 ? e.delete(Tp) : e.set(Tp, new Highlight(...t));
12811
12850
  }
12812
- function Dp(e, t) {
12851
+ function Ap(e, t) {
12813
12852
  let n = [], r = document.createTreeWalker(e, NodeFilter.SHOW_TEXT), i;
12814
12853
  for (; i = r.nextNode();) {
12815
12854
  let e = i.textContent?.toLowerCase() ?? "";
@@ -12825,16 +12864,16 @@ function Dp(e, t) {
12825
12864
  }
12826
12865
  return n;
12827
12866
  }
12828
- function Op(e) {
12829
- let t = wp++, n = !1, r = !1;
12867
+ function jp(e) {
12868
+ let t = Dp++, n = !1, r = !1;
12830
12869
  function i() {
12831
12870
  if (n = !1, r) return;
12832
12871
  let i = e.root.value, a = B(e.enabled) ? B(e.query).toLowerCase().split(/\s+/).filter((e) => e.length > 0) : [];
12833
- if (!i || a.length === 0 || !Tp()) {
12834
- Cp.delete(t) && Ep();
12872
+ if (!i || a.length === 0 || !Op()) {
12873
+ Ep.delete(t) && kp();
12835
12874
  return;
12836
12875
  }
12837
- Cp.set(t, Dp(i, a)), Ep();
12876
+ Ep.set(t, Ap(i, a)), kp();
12838
12877
  }
12839
12878
  function a() {
12840
12879
  n || (n = !0, b(i));
@@ -12848,12 +12887,12 @@ function Op(e) {
12848
12887
  flush: "post",
12849
12888
  immediate: !0
12850
12889
  }), w(() => {
12851
- r = !0, Cp.delete(t) && Ep();
12890
+ r = !0, Ep.delete(t) && kp();
12852
12891
  });
12853
12892
  }
12854
12893
  //#endregion
12855
12894
  //#region src/components/data-list/internal/useDataListLines.ts
12856
- function kp(e) {
12895
+ function Mp(e) {
12857
12896
  if (e === void 0 || e === "") return 0;
12858
12897
  if (typeof e == "number") return e;
12859
12898
  let t = /^\s*(-?[\d.]+)\s*(px|rem|em)?\s*$/.exec(e);
@@ -12865,7 +12904,7 @@ function kp(e) {
12865
12904
  }
12866
12905
  return n;
12867
12906
  }
12868
- function Ap(e) {
12907
+ function Np(e) {
12869
12908
  let t = j(0), n = j(0), i = j(0), a = j(0);
12870
12909
  function o(t, n) {
12871
12910
  let r = 0, i = 0;
@@ -12874,8 +12913,8 @@ function Ap(e) {
12874
12913
  r = Number.parseFloat(e.width), i = Number.parseFloat(e.paddingLeft);
12875
12914
  }
12876
12915
  return {
12877
- width: r > 0 ? r : kp(n),
12878
- gap: i > 0 ? i : kp(e.gap())
12916
+ width: r > 0 ? r : Mp(n),
12917
+ gap: i > 0 ? i : Mp(e.gap())
12879
12918
  };
12880
12919
  }
12881
12920
  function s() {
@@ -13049,7 +13088,7 @@ function Ap(e) {
13049
13088
  }
13050
13089
  //#endregion
13051
13090
  //#region src/components/data-list/internal/reorder-core.ts
13052
- function jp(e, t, n, r, i = {}) {
13091
+ function Pp(e, t, n, r, i = {}) {
13053
13092
  let a = e === "grid" ? t.width > 0 ? (n.x - t.left) / t.width : 0 : t.height > 0 ? (n.y - t.top) / t.height : 0;
13054
13093
  if (i.nestable) {
13055
13094
  let t = e === "grid" ? .3 : .25;
@@ -13069,7 +13108,7 @@ function jp(e, t, n, r, i = {}) {
13069
13108
  position: a < .5 ? "before" : "after"
13070
13109
  };
13071
13110
  }
13072
- function Mp(e, t, n, r) {
13111
+ function Fp(e, t, n, r) {
13073
13112
  let i = e.filter((e) => !t.has(e)), a;
13074
13113
  if (!n) a = i.length;
13075
13114
  else {
@@ -13092,16 +13131,16 @@ function Mp(e, t, n, r) {
13092
13131
  beforeKey: a < i.length ? i[a] : null
13093
13132
  };
13094
13133
  }
13095
- function Np(e, t) {
13134
+ function Ip(e, t) {
13096
13135
  return e < t.top + 28 ? -Math.ceil((t.top + 28 - e) / 3) : e > t.bottom - 28 ? Math.ceil((e - (t.bottom - 28)) / 3) : 0;
13097
13136
  }
13098
- function Pp(e) {
13137
+ function Lp(e) {
13099
13138
  return !!e && Array.from(e.types).includes("Files");
13100
13139
  }
13101
13140
  //#endregion
13102
13141
  //#region src/components/data-list/internal/useDataListReorder.ts
13103
- var Fp = ".coar-data-list__item";
13104
- function Ip(e) {
13142
+ var Rp = ".coar-data-list__item";
13143
+ function zp(e) {
13105
13144
  let t = I(/* @__PURE__ */ new Set()), n = I(null), i = j(!1), a = j(!1), o = r(() => t.value.size > 0);
13106
13145
  function s() {
13107
13146
  let t = /* @__PURE__ */ new Map();
@@ -13118,7 +13157,7 @@ function Ip(e) {
13118
13157
  function l(t, n) {
13119
13158
  let r = e.viewport.value;
13120
13159
  if (!r || typeof document.elementFromPoint != "function") return null;
13121
- let i = document.elementFromPoint(t, n)?.closest(Fp);
13160
+ let i = document.elementFromPoint(t, n)?.closest(Rp);
13122
13161
  return i && r.contains(i) ? i : null;
13123
13162
  }
13124
13163
  function u() {
@@ -13141,7 +13180,7 @@ function Ip(e) {
13141
13180
  key: a,
13142
13181
  position: "inside"
13143
13182
  } : (t.value.size > 0 && (f = !0), null);
13144
- let p = jp(e.layout(), i.getBoundingClientRect(), {
13183
+ let p = Pp(e.layout(), i.getBoundingClientRect(), {
13145
13184
  x: n,
13146
13185
  y: r
13147
13186
  }, a, { nestable: c });
@@ -13162,7 +13201,7 @@ function Ip(e) {
13162
13201
  key: a.key,
13163
13202
  position: a.position
13164
13203
  });
13165
- let c = e.siblingsOf(o).map(e.keyOf), l = new Set(r.fromSelf ? i : []), u = r.fromSelf && i.every((t) => e.parentOf(t) === o), d = Mp(c, l, s, {
13204
+ let c = e.siblingsOf(o).map(e.keyOf), l = new Set(r.fromSelf ? i : []), u = r.fromSelf && i.every((t) => e.parentOf(t) === o), d = Fp(c, l, s, {
13166
13205
  fromSelf: r.fromSelf,
13167
13206
  sameParent: u
13168
13207
  });
@@ -13187,7 +13226,7 @@ function Ip(e) {
13187
13226
  _ = null;
13188
13227
  let t = e.viewport.value;
13189
13228
  if (!t) return;
13190
- let r = Np(v, t.getBoundingClientRect());
13229
+ let r = Ip(v, t.getBoundingClientRect());
13191
13230
  r !== 0 && (t.scrollTop += r, _ = requestAnimationFrame(n));
13192
13231
  };
13193
13232
  _ = requestAnimationFrame(n);
@@ -13251,7 +13290,7 @@ function Ip(e) {
13251
13290
  e.enabled() && x.onPointerDown(t, () => c(n), t.currentTarget);
13252
13291
  }
13253
13292
  function D(t) {
13254
- if (Pp(t.dataTransfer)) {
13293
+ if (Lp(t.dataTransfer)) {
13255
13294
  if (!e.acceptsFiles()) return;
13256
13295
  t.preventDefault(), t.dataTransfer && (t.dataTransfer.dropEffect = "copy"), i.value = !0;
13257
13296
  return;
@@ -13268,7 +13307,7 @@ function Ip(e) {
13268
13307
  x.onDragLeave(e), x.isDragOver.value || (i.value = !1, n.value = null, b());
13269
13308
  }
13270
13309
  function k(t) {
13271
- if (b(), Pp(t.dataTransfer)) {
13310
+ if (b(), Lp(t.dataTransfer)) {
13272
13311
  if (i.value = !1, !e.acceptsFiles() || !t.dataTransfer) return;
13273
13312
  t.preventDefault(), e.onFilesDrop({
13274
13313
  files: Array.from(t.dataTransfer.files),
@@ -13346,13 +13385,13 @@ function Ip(e) {
13346
13385
  }
13347
13386
  //#endregion
13348
13387
  //#region src/components/data-list/CoarDataListToolbar.vue?vue&type=script&setup=true&lang.ts
13349
- var Lp = { class: "coar-data-list-toolbar" }, Rp = {
13388
+ var Bp = { class: "coar-data-list-toolbar" }, Vp = {
13350
13389
  key: 1,
13351
13390
  class: "coar-data-list-toolbar__spacer"
13352
- }, zp = {
13391
+ }, Hp = {
13353
13392
  key: 2,
13354
13393
  class: "coar-data-list-toolbar__sort"
13355
- }, Bp = /* @__PURE__ */ Z(/* @__PURE__ */ d({
13394
+ }, Up = /* @__PURE__ */ Z(/* @__PURE__ */ d({
13356
13395
  __name: "CoarDataListToolbar",
13357
13396
  props: /* @__PURE__ */ v({
13358
13397
  showSearch: {
@@ -13397,7 +13436,7 @@ var Lp = { class: "coar-data-list-toolbar" }, Rp = {
13397
13436
  direction: p.value ? "asc" : "desc"
13398
13437
  };
13399
13438
  }
13400
- return (t, r) => (D(), o("div", Lp, [
13439
+ return (t, r) => (D(), o("div", Bp, [
13401
13440
  N(t.$slots, "left", {}, void 0, !0),
13402
13441
  e.showSearch ? (D(), i(V(ic), {
13403
13442
  key: 0,
@@ -13419,8 +13458,8 @@ var Lp = { class: "coar-data-list-toolbar" }, Rp = {
13419
13458
  "modelValue",
13420
13459
  "placeholder",
13421
13460
  "disabled"
13422
- ])) : (D(), o("div", Rp)),
13423
- e.showSort && e.sortOptions.length > 0 ? (D(), o("div", zp, [u(V(_l), {
13461
+ ])) : (D(), o("div", Vp)),
13462
+ e.showSort && e.sortOptions.length > 0 ? (D(), o("div", Hp, [u(V(_l), {
13424
13463
  class: "coar-data-list-toolbar__sort-select",
13425
13464
  "model-value": f.value,
13426
13465
  options: d.value,
@@ -13451,21 +13490,21 @@ var Lp = { class: "coar-data-list-toolbar" }, Rp = {
13451
13490
  N(t.$slots, "right", {}, void 0, !0)
13452
13491
  ]));
13453
13492
  }
13454
- }), [["__scopeId", "data-v-4f6ab121"]]), Vp = [
13493
+ }), [["__scopeId", "data-v-4f6ab121"]]), Wp = [
13455
13494
  "tabindex",
13456
13495
  "role",
13457
13496
  "aria-label",
13458
13497
  "aria-multiselectable",
13459
13498
  "aria-disabled"
13460
- ], Hp = {
13499
+ ], Gp = {
13461
13500
  key: 0,
13462
13501
  class: "coar-data-list__group",
13463
13502
  role: "presentation"
13464
- }, Up = { class: "coar-data-list__group-label" }, Wp = { class: "coar-data-list__group-count" }, Gp = {
13503
+ }, Kp = { class: "coar-data-list__group-label" }, qp = { class: "coar-data-list__group-count" }, Jp = {
13465
13504
  key: 1,
13466
13505
  class: "coar-data-list__frame",
13467
13506
  role: "presentation"
13468
- }, Kp = [
13507
+ }, Yp = [
13469
13508
  "data-key",
13470
13509
  "role",
13471
13510
  "aria-selected",
@@ -13477,15 +13516,15 @@ var Lp = { class: "coar-data-list-toolbar" }, Rp = {
13477
13516
  "onContextmenu",
13478
13517
  "onDragstart",
13479
13518
  "onPointerdown"
13480
- ], qp = [
13519
+ ], Xp = [
13481
13520
  "aria-label",
13482
13521
  "aria-hidden",
13483
13522
  "disabled",
13484
13523
  "onClick"
13485
- ], Jp = { class: "coar-data-list__content" }, Yp = {
13524
+ ], Zp = { class: "coar-data-list__content" }, Qp = {
13486
13525
  key: 1,
13487
13526
  class: "coar-data-list__empty"
13488
- }, Xp = /* @__PURE__ */ Z(/* @__PURE__ */ d({
13527
+ }, $p = /* @__PURE__ */ Z(/* @__PURE__ */ d({
13489
13528
  __name: "CoarDataList",
13490
13529
  props: /* @__PURE__ */ v({
13491
13530
  builder: { default: void 0 },
@@ -13747,7 +13786,7 @@ var Lp = { class: "coar-data-list-toolbar" }, Rp = {
13747
13786
  let t = E();
13748
13787
  t ? t.expanded.value = e : g.value = e;
13749
13788
  }
13750
- }), F = r(() => !!S.value.children), R = xp({
13789
+ }), F = r(() => !!S.value.children), R = wp({
13751
13790
  items: () => S.value.items,
13752
13791
  itemKey: (e) => S.value.itemKey(e),
13753
13792
  search: O,
@@ -13775,7 +13814,7 @@ var Lp = { class: "coar-data-list-toolbar" }, Rp = {
13775
13814
  return n * (Number.isFinite(e) && e > 0 ? e : 16);
13776
13815
  }
13777
13816
  return n;
13778
- }), { lines: q, bands: re, columns: oe, lineIndexOfKey: J, positionOfKey: se } = Ap({
13817
+ }), { lines: q, bands: re, columns: oe, lineIndexOfKey: J, positionOfKey: se } = Np({
13779
13818
  entries: te,
13780
13819
  layout: () => S.value.layout,
13781
13820
  tileMinWidth: () => S.value.tileMinWidth,
@@ -13867,7 +13906,7 @@ var Lp = { class: "coar-data-list-toolbar" }, Rp = {
13867
13906
  paddingLeft: t === void 0 || t === "" ? "0px" : typeof t == "number" ? `${t}px` : t
13868
13907
  };
13869
13908
  }
13870
- Op({
13909
+ jp({
13871
13910
  root: z,
13872
13911
  query: O,
13873
13912
  enabled: () => S.value.searchHighlight,
@@ -13903,7 +13942,7 @@ var Lp = { class: "coar-data-list-toolbar" }, Rp = {
13903
13942
  let n = xe(e, t);
13904
13943
  f("item-dblclick", n), d.builder?.state.onItemDoubleClick?.(n), Te(e, t);
13905
13944
  }
13906
- let De = Tf(), Oe = I(null), ke = r(() => {
13945
+ let De = Of(), Oe = I(null), ke = r(() => {
13907
13946
  let e = d.builder?.state, t = Oe.value;
13908
13947
  return !e || !t ? [] : t.kind === "item" ? e.itemMenu ? e.itemMenu(t.item, R.selectedItems.value) : [] : e.viewportMenu ? e.viewportMenu() : [];
13909
13948
  }), Ae = r(() => !!d.builder && (!!d.builder.state.itemMenu || !!d.builder.state.viewportMenu));
@@ -13928,7 +13967,7 @@ var Lp = { class: "coar-data-list-toolbar" }, Rp = {
13928
13967
  function Ne(e) {
13929
13968
  ye.value && d.builder?.state?.viewportMenu && (Oe.value = { kind: "viewport" }, De.open(e));
13930
13969
  }
13931
- let Pe = Ip({
13970
+ let Pe = zp({
13932
13971
  viewport: z,
13933
13972
  enabled: () => S.value.reorderable && !S.value.disabled,
13934
13973
  sortedAt: (e) => {
@@ -14195,7 +14234,7 @@ var Lp = { class: "coar-data-list-toolbar" }, Rp = {
14195
14234
  ]]),
14196
14235
  style: C(Ze.value)
14197
14236
  }, [
14198
- Je.value ? (D(), i(Bp, {
14237
+ Je.value ? (D(), i(Up, {
14199
14238
  key: 0,
14200
14239
  search: O.value,
14201
14240
  "onUpdate:search": n[0] ||= (e) => O.value = e,
@@ -14265,11 +14304,11 @@ var Lp = { class: "coar-data-list-toolbar" }, Rp = {
14265
14304
  ref: (e) => V(le).measureElement(r.index, e),
14266
14305
  class: x(["coar-data-list__row", [me(i), { "coar-data-list__row--last": r.index === V(q).length - 1 }]]),
14267
14306
  style: C(he(i, r.start))
14268
- }, [i.kind === "group" ? (D(), o("div", Hp, [N(t.$slots, "group-header", {
14307
+ }, [i.kind === "group" ? (D(), o("div", Gp, [N(t.$slots, "group-header", {
14269
14308
  group: i.entry.group,
14270
14309
  count: i.entry.count,
14271
14310
  items: i.entry.items
14272
- }, () => [s("span", Up, L(i.entry.group), 1), s("span", Wp, L(i.entry.count), 1)], !0)])) : (D(), o("div", Gp, [s("div", {
14311
+ }, () => [s("span", Kp, L(i.entry.group), 1), s("span", qp, L(i.entry.count), 1)], !0)])) : (D(), o("div", Jp, [s("div", {
14273
14312
  class: "coar-data-list__cells",
14274
14313
  style: C(pe(i)),
14275
14314
  role: "presentation"
@@ -14321,14 +14360,14 @@ var Lp = { class: "coar-data-list-toolbar" }, Rp = {
14321
14360
  name: "chevron-right",
14322
14361
  size: "s",
14323
14362
  class: "coar-data-list__chevron"
14324
- })], 42, qp))], 64)) : a("", !0), s("div", Jp, [N(t.$slots, "item", y({ ref_for: !0 }, Ie(r)), () => [l(L(String(r.itemKey)), 1)], !0)])], 46, Kp))), 128))], 4)]))], 6))), 128))], 4)) : (D(), o("div", Yp, [N(t.$slots, "empty", {}, () => [l(L(Ye.value), 1)], !0)]))
14325
- ], 44, Vp),
14326
- Ae.value ? (D(), i(Cf, {
14363
+ })], 42, Xp))], 64)) : a("", !0), s("div", Zp, [N(t.$slots, "item", y({ ref_for: !0 }, Ie(r)), () => [l(L(String(r.itemKey)), 1)], !0)])], 46, Yp))), 128))], 4)]))], 6))), 128))], 4)) : (D(), o("div", Qp, [N(t.$slots, "empty", {}, () => [l(L(Ye.value), 1)], !0)]))
14364
+ ], 44, Wp),
14365
+ Ae.value ? (D(), i(Ef, {
14327
14366
  key: 1,
14328
14367
  menu: V(De)
14329
14368
  }, {
14330
- default: K(() => [u(Kd, null, {
14331
- default: K(() => [(D(!0), o(e, null, M(ke.value, (t, n) => (D(), o(e, { key: n }, [t === "divider" ? (D(), i(sf, { key: 0 })) : (D(), i(nf, {
14369
+ default: K(() => [u(Yd, null, {
14370
+ default: K(() => [(D(!0), o(e, null, M(ke.value, (t, n) => (D(), o(e, { key: n }, [t === "divider" ? (D(), i(uf, { key: 0 })) : (D(), i(of, {
14332
14371
  key: 1,
14333
14372
  label: t.label,
14334
14373
  icon: t.icon,
@@ -14348,7 +14387,7 @@ var Lp = { class: "coar-data-list-toolbar" }, Rp = {
14348
14387
  }, 8, ["menu"])) : a("", !0)
14349
14388
  ], 6));
14350
14389
  }
14351
- }), [["__scopeId", "data-v-9a458822"]]), Zp = class e {
14390
+ }), [["__scopeId", "data-v-9a458822"]]), em = class e {
14352
14391
  state;
14353
14392
  api;
14354
14393
  _impls = I(null);
@@ -14552,7 +14591,7 @@ var Lp = { class: "coar-data-list-toolbar" }, Rp = {
14552
14591
  }
14553
14592
  children(e, t) {
14554
14593
  if (this.state.children = e, t) {
14555
- let e = new Qp();
14594
+ let e = new tm();
14556
14595
  t(e), this.state.childLevel = e.config;
14557
14596
  }
14558
14597
  return this;
@@ -14647,7 +14686,7 @@ var Lp = { class: "coar-data-list-toolbar" }, Rp = {
14647
14686
  _bindImpls(e) {
14648
14687
  this._impls.value = e;
14649
14688
  }
14650
- }, Qp = class {
14689
+ }, tm = class {
14651
14690
  config = {};
14652
14691
  sortOptions(e) {
14653
14692
  return this.config.sortOptions = e, this;
@@ -14669,8 +14708,8 @@ var Lp = { class: "coar-data-list-toolbar" }, Rp = {
14669
14708
  return this.config.tileMinWidth = e, this;
14670
14709
  }
14671
14710
  };
14672
- function $p() {
14673
- let e = Zp.create();
14711
+ function nm() {
14712
+ let e = em.create();
14674
14713
  return {
14675
14714
  builder: e,
14676
14715
  api: e.api
@@ -14678,14 +14717,14 @@ function $p() {
14678
14717
  }
14679
14718
  //#endregion
14680
14719
  //#region src/components/panel-layout/internal/CoarPaneDivider.vue?vue&type=script&setup=true&lang.ts
14681
- var em = [
14720
+ var rm = [
14682
14721
  "aria-orientation",
14683
14722
  "aria-valuenow",
14684
14723
  "aria-valuemin",
14685
14724
  "aria-valuemax",
14686
14725
  "aria-valuetext",
14687
14726
  "aria-label"
14688
- ], tm = /* @__PURE__ */ Z(/* @__PURE__ */ d({
14727
+ ], im = /* @__PURE__ */ Z(/* @__PURE__ */ d({
14689
14728
  __name: "CoarPaneDivider",
14690
14729
  props: {
14691
14730
  orientation: {},
@@ -14752,9 +14791,9 @@ var em = [
14752
14791
  tabindex: "0",
14753
14792
  onPointerdown: f,
14754
14793
  onKeydown: g
14755
- }, null, 42, em));
14794
+ }, null, 42, rm));
14756
14795
  }
14757
- }), [["__scopeId", "data-v-023c8b6d"]]), nm = /* @__PURE__ */ Z(/* @__PURE__ */ d({
14796
+ }), [["__scopeId", "data-v-023c8b6d"]]), am = /* @__PURE__ */ Z(/* @__PURE__ */ d({
14758
14797
  __name: "CoarSplitPane",
14759
14798
  props: {
14760
14799
  direction: { default: "row" },
@@ -14786,7 +14825,7 @@ var em = [
14786
14825
  class: x(["coar-split__pane", { "coar-split__pane--fill": e.side !== "first" }]),
14787
14826
  style: C(e.side === "first" ? p.value : void 0)
14788
14827
  }, [N(t.$slots, "first", {}, void 0, !0)], 6),
14789
- e.resizable ? (D(), i(tm, {
14828
+ e.resizable ? (D(), i(im, {
14790
14829
  key: 0,
14791
14830
  orientation: d.value,
14792
14831
  value: u.value,
@@ -14809,13 +14848,13 @@ var em = [
14809
14848
  }, [N(t.$slots, "second", {}, void 0, !0)], 6)
14810
14849
  ], 2));
14811
14850
  }
14812
- }), [["__scopeId", "data-v-25b6f788"]]), rm = { class: "coar-panel-layout" }, im = {
14851
+ }), [["__scopeId", "data-v-25b6f788"]]), om = { class: "coar-panel-layout" }, sm = {
14813
14852
  key: 0,
14814
14853
  class: "coar-panel-layout__top"
14815
- }, am = { class: "coar-panel-layout__body" }, om = {
14854
+ }, cm = { class: "coar-panel-layout__body" }, lm = {
14816
14855
  key: 1,
14817
14856
  class: "coar-panel-layout__status"
14818
- }, sm = 6, cm = /* @__PURE__ */ Z(/* @__PURE__ */ d({
14857
+ }, um = 6, dm = /* @__PURE__ */ Z(/* @__PURE__ */ d({
14819
14858
  __name: "CoarPanelLayout",
14820
14859
  props: {
14821
14860
  leftWidth: { default: void 0 },
@@ -14872,16 +14911,16 @@ var em = [
14872
14911
  }
14873
14912
  });
14874
14913
  }
14875
- let u = l(() => n.leftWidth, (e) => c("update:leftWidth", e), 240), d = l(() => n.rightWidth, (e) => c("update:rightWidth", e), 280), f = l(() => n.bottomHeight, (e) => c("update:bottomHeight", e), 200), p = ee(), m = r(() => !!p.left && n.leftOpen), h = r(() => !!p.right && n.rightOpen), _ = r(() => !!p.bottom && n.bottomOpen), v = r(() => n.contentMinWidth + sm + (h.value ? d.value + sm : 0)), y = r(() => n.contentMinWidth + sm + (m.value ? u.value + sm : 0)), b = r(() => n.contentMinHeight + sm);
14876
- return (t, n) => (D(), o("div", rm, [
14877
- t.$slots.top ? (D(), o("div", im, [N(t.$slots, "top", {}, void 0, !0)])) : a("", !0),
14878
- s("div", am, [
14914
+ let u = l(() => n.leftWidth, (e) => c("update:leftWidth", e), 240), d = l(() => n.rightWidth, (e) => c("update:rightWidth", e), 280), f = l(() => n.bottomHeight, (e) => c("update:bottomHeight", e), 200), p = ee(), m = r(() => !!p.left && n.leftOpen), h = r(() => !!p.right && n.rightOpen), _ = r(() => !!p.bottom && n.bottomOpen), v = r(() => n.contentMinWidth + um + (h.value ? d.value + um : 0)), y = r(() => n.contentMinWidth + um + (m.value ? u.value + um : 0)), b = r(() => n.contentMinHeight + um);
14915
+ return (t, n) => (D(), o("div", om, [
14916
+ t.$slots.top ? (D(), o("div", sm, [N(t.$slots, "top", {}, void 0, !0)])) : a("", !0),
14917
+ s("div", cm, [
14879
14918
  m.value ? (D(), o("div", {
14880
14919
  key: 0,
14881
14920
  class: "coar-panel-layout__left",
14882
14921
  style: C({ flex: `0 0 ${V(u)}px` })
14883
14922
  }, [N(t.$slots, "left", {}, void 0, !0)], 4)) : a("", !0),
14884
- m.value && e.leftResizable ? (D(), i(tm, {
14923
+ m.value && e.leftResizable ? (D(), i(im, {
14885
14924
  key: 1,
14886
14925
  orientation: "vertical",
14887
14926
  value: V(u),
@@ -14904,7 +14943,7 @@ var em = [
14904
14943
  class: "coar-panel-layout__content",
14905
14944
  style: C({ minHeight: `${e.contentMinHeight}px` })
14906
14945
  }, [N(t.$slots, "default", {}, void 0, !0)], 4),
14907
- _.value && e.bottomResizable ? (D(), i(tm, {
14946
+ _.value && e.bottomResizable ? (D(), i(im, {
14908
14947
  key: 0,
14909
14948
  orientation: "horizontal",
14910
14949
  value: V(f),
@@ -14926,7 +14965,7 @@ var em = [
14926
14965
  style: C({ flex: `0 0 ${V(f)}px` })
14927
14966
  }, [N(t.$slots, "bottom", {}, void 0, !0)], 4)) : a("", !0)
14928
14967
  ], 4),
14929
- h.value && e.rightResizable ? (D(), i(tm, {
14968
+ h.value && e.rightResizable ? (D(), i(im, {
14930
14969
  key: 2,
14931
14970
  orientation: "vertical",
14932
14971
  value: V(d),
@@ -14948,18 +14987,18 @@ var em = [
14948
14987
  style: C({ flex: `0 0 ${V(d)}px` })
14949
14988
  }, [N(t.$slots, "right", {}, void 0, !0)], 4)) : a("", !0)
14950
14989
  ]),
14951
- t.$slots.status ? (D(), o("div", om, [N(t.$slots, "status", {}, void 0, !0)])) : a("", !0)
14990
+ t.$slots.status ? (D(), o("div", lm, [N(t.$slots, "status", {}, void 0, !0)])) : a("", !0)
14952
14991
  ]));
14953
14992
  }
14954
- }), [["__scopeId", "data-v-0656f78d"]]), lm = ["aria-label", "aria-disabled"], um = [
14993
+ }), [["__scopeId", "data-v-0656f78d"]]), fm = ["aria-label", "aria-disabled"], pm = [
14955
14994
  "disabled",
14956
14995
  "aria-pressed",
14957
14996
  "aria-label",
14958
14997
  "onClick"
14959
- ], dm = {
14998
+ ], mm = {
14960
14999
  key: 1,
14961
15000
  class: "coar-segmented-control__label"
14962
- }, fm = /* @__PURE__ */ Z(/* @__PURE__ */ d({
15001
+ }, hm = /* @__PURE__ */ Z(/* @__PURE__ */ d({
14963
15002
  __name: "CoarSegmentedControl",
14964
15003
  props: /* @__PURE__ */ v({
14965
15004
  options: {},
@@ -15015,19 +15054,19 @@ var em = [
15015
15054
  name: e.icon,
15016
15055
  size: "auto",
15017
15056
  class: "coar-segmented-control__icon"
15018
- }, null, 8, ["name"])) : a("", !0), e.label ? (D(), o("span", dm, L(e.label), 1)) : a("", !0)], 10, um))), 128))], 10, lm));
15057
+ }, null, 8, ["name"])) : a("", !0), e.label ? (D(), o("span", mm, L(e.label), 1)) : a("", !0)], 10, pm))), 128))], 10, fm));
15019
15058
  }
15020
- }), [["__scopeId", "data-v-86b5ade8"]]), pm = { class: "coar-wizard__steps" }, mm = ["data-step-index"], hm = [
15059
+ }), [["__scopeId", "data-v-86b5ade8"]]), gm = { class: "coar-wizard__steps" }, _m = ["data-step-index"], vm = [
15021
15060
  "disabled",
15022
15061
  "aria-current",
15023
15062
  "onClick"
15024
- ], gm = { class: "coar-wizard__marker" }, _m = { class: "coar-wizard__step-text" }, vm = { class: "coar-wizard__step-label" }, ym = {
15063
+ ], ym = { class: "coar-wizard__marker" }, bm = { class: "coar-wizard__step-text" }, xm = { class: "coar-wizard__step-label" }, Sm = {
15025
15064
  key: 0,
15026
15065
  class: "coar-wizard__step-desc"
15027
- }, bm = { class: "coar-wizard__main" }, xm = {
15066
+ }, Cm = { class: "coar-wizard__main" }, wm = {
15028
15067
  key: 0,
15029
15068
  class: "coar-wizard__footer"
15030
- }, Sm = /* @__PURE__ */ d({
15069
+ }, Tm = /* @__PURE__ */ d({
15031
15070
  __name: "CoarWizard",
15032
15071
  props: /* @__PURE__ */ v({
15033
15072
  steps: {},
@@ -15154,7 +15193,7 @@ var em = [
15154
15193
  ref_key: "indicatorEl",
15155
15194
  ref: g,
15156
15195
  class: "coar-wizard__indicator"
15157
- }, [s("ol", pm, [(D(!0), o(e, null, M(t.steps, (t, n) => (D(), o("li", {
15196
+ }, [s("ol", gm, [(D(!0), o(e, null, M(t.steps, (t, n) => (D(), o("li", {
15158
15197
  key: t.id,
15159
15198
  class: x(["coar-wizard__step", B(n)]),
15160
15199
  "data-step-index": n
@@ -15164,11 +15203,11 @@ var em = [
15164
15203
  disabled: !z(n) && n !== C.value,
15165
15204
  "aria-current": n === C.value ? "step" : void 0,
15166
15205
  onClick: (e) => F(t.id)
15167
- }, [s("span", gm, [n < C.value ? (D(), i(Q, {
15206
+ }, [s("span", ym, [n < C.value ? (D(), i(Q, {
15168
15207
  key: 0,
15169
15208
  name: "check",
15170
15209
  size: "xs"
15171
- })) : (D(), o(e, { key: 1 }, [l(L(n + 1), 1)], 64))]), s("span", _m, [s("span", vm, L(t.label), 1), t.description ? (D(), o("span", ym, L(t.description), 1)) : a("", !0)])], 8, hm)], 10, mm))), 128))])], 512), s("div", bm, [s("div", {
15210
+ })) : (D(), o(e, { key: 1 }, [l(L(n + 1), 1)], 64))]), s("span", bm, [s("span", xm, L(t.label), 1), t.description ? (D(), o("span", Sm, L(t.description), 1)) : a("", !0)])], 8, vm)], 10, _m))), 128))])], 512), s("div", Cm, [s("div", {
15172
15211
  ref_key: "bodyEl",
15173
15212
  ref: _,
15174
15213
  class: "coar-wizard__body",
@@ -15181,7 +15220,7 @@ var em = [
15181
15220
  }, [N(n.$slots, O.value, {
15182
15221
  step: E.value,
15183
15222
  index: C.value
15184
- })]))], 544), t.hideFooter ? a("", !0) : (D(), o("div", xm, [N(n.$slots, "footer", S(p(V.value)), () => [
15223
+ })]))], 544), t.hideFooter ? a("", !0) : (D(), o("div", wm, [N(n.$slots, "footer", S(p(V.value)), () => [
15185
15224
  u(Go, {
15186
15225
  variant: "tertiary",
15187
15226
  disabled: k.value,
@@ -15201,7 +15240,7 @@ var em = [
15201
15240
  }, 8, ["disabled"])
15202
15241
  ])]))])], 2));
15203
15242
  }
15204
- }), Cm = ["aria-label"], wm = { class: "coar-breadcrumb-list" }, Tm = /* @__PURE__ */ Z(/* @__PURE__ */ d({
15243
+ }), Em = ["aria-label"], Dm = { class: "coar-breadcrumb-list" }, Om = /* @__PURE__ */ Z(/* @__PURE__ */ d({
15205
15244
  __name: "CoarBreadcrumb",
15206
15245
  props: {
15207
15246
  separator: { default: "/" },
@@ -15214,22 +15253,22 @@ var em = [
15214
15253
  class: x(["coar-breadcrumb", `coar-breadcrumb--${e.size}`]),
15215
15254
  "aria-label": e.ariaLabel,
15216
15255
  style: C({ "--coar-breadcrumb-separator": n.value })
15217
- }, [s("ol", wm, [N(t.$slots, "default", {}, void 0, !0)])], 14, Cm));
15256
+ }, [s("ol", Dm, [N(t.$slots, "default", {}, void 0, !0)])], 14, Em));
15218
15257
  }
15219
- }), [["__scopeId", "data-v-ed10cad5"]]), Em = ["aria-current"], Dm = {
15258
+ }), [["__scopeId", "data-v-ed10cad5"]]), km = ["aria-current"], Am = {
15220
15259
  key: 0,
15221
15260
  class: "coar-breadcrumb-link coar-breadcrumb-link--active",
15222
15261
  "aria-current": "page"
15223
- }, Om = [
15262
+ }, jm = [
15224
15263
  "href",
15225
15264
  "aria-disabled",
15226
15265
  "tabindex",
15227
15266
  "onClick"
15228
- ], km = [
15267
+ ], Mm = [
15229
15268
  "href",
15230
15269
  "aria-disabled",
15231
15270
  "tabindex"
15232
- ], Am = /* @__PURE__ */ Z(/* @__PURE__ */ d({
15271
+ ], Nm = /* @__PURE__ */ Z(/* @__PURE__ */ d({
15233
15272
  __name: "CoarBreadcrumbItem",
15234
15273
  props: {
15235
15274
  to: { default: void 0 },
@@ -15267,7 +15306,7 @@ var em = [
15267
15306
  "coar-breadcrumb-item--slot-only": f.value === "slot-only"
15268
15307
  }]),
15269
15308
  "aria-current": e.active ? "page" : void 0
15270
- }, [f.value === "active" ? (D(), o("span", Dm, [N(t.$slots, "icon", {}, () => [e.icon ? (D(), i(Q, {
15309
+ }, [f.value === "active" ? (D(), o("span", Am, [N(t.$slots, "icon", {}, () => [e.icon ? (D(), i(Q, {
15271
15310
  key: 0,
15272
15311
  name: e.icon,
15273
15312
  size: "s",
@@ -15288,7 +15327,7 @@ var em = [
15288
15327
  name: e.icon,
15289
15328
  size: "s",
15290
15329
  class: "coar-breadcrumb-link__icon"
15291
- }, null, 8, ["name"])) : a("", !0)], !0), N(t.$slots, "default", {}, void 0, !0)], 10, Om)]),
15330
+ }, null, 8, ["name"])) : a("", !0)], !0), N(t.$slots, "default", {}, void 0, !0)], 10, jm)]),
15292
15331
  _: 3
15293
15332
  }, 8, ["to"])) : f.value === "plain-link" ? (D(), o("a", {
15294
15333
  key: 2,
@@ -15302,14 +15341,14 @@ var em = [
15302
15341
  name: e.icon,
15303
15342
  size: "s",
15304
15343
  class: "coar-breadcrumb-link__icon"
15305
- }, null, 8, ["name"])) : a("", !0)], !0), N(t.$slots, "default", {}, void 0, !0)], 10, km)) : N(t.$slots, "default", { key: 3 }, void 0, !0)], 10, Em));
15344
+ }, null, 8, ["name"])) : a("", !0)], !0), N(t.$slots, "default", {}, void 0, !0)], 10, Mm)) : N(t.$slots, "default", { key: 3 }, void 0, !0)], 10, km));
15306
15345
  }
15307
- }), [["__scopeId", "data-v-079c47de"]]), jm = ["aria-label"], Mm = { class: "coar-pagination-nav" }, Nm = ["disabled", "aria-label"], Pm = ["disabled", "aria-label"], Fm = ["aria-label"], Im = [
15346
+ }), [["__scopeId", "data-v-079c47de"]]), Pm = ["aria-label"], Fm = { class: "coar-pagination-nav" }, Im = ["disabled", "aria-label"], Lm = ["disabled", "aria-label"], Rm = ["aria-label"], zm = [
15308
15347
  "disabled",
15309
15348
  "aria-current",
15310
15349
  "aria-label",
15311
15350
  "onClick"
15312
- ], Lm = ["disabled", "aria-label"], Rm = ["disabled", "aria-label"], zm = /* @__PURE__ */ Z(/* @__PURE__ */ d({
15351
+ ], Bm = ["disabled", "aria-label"], Vm = ["disabled", "aria-label"], Hm = /* @__PURE__ */ Z(/* @__PURE__ */ d({
15313
15352
  __name: "CoarPagination",
15314
15353
  props: /* @__PURE__ */ v({
15315
15354
  totalItems: {},
@@ -15358,7 +15397,7 @@ var em = [
15358
15397
  return (n, r) => (D(), o("nav", {
15359
15398
  class: x(["coar-pagination", { "coar-pagination--disabled": t.disabled }]),
15360
15399
  "aria-label": V(c)("coar.ui.pagination.nav", void 0, "Pagination")
15361
- }, [s("div", Mm, [
15400
+ }, [s("div", Fm, [
15362
15401
  t.showFirstLast ? (D(), o("button", {
15363
15402
  key: 0,
15364
15403
  type: "button",
@@ -15369,7 +15408,7 @@ var em = [
15369
15408
  }, [u(Q, {
15370
15409
  name: "chevrons-left",
15371
15410
  size: "s"
15372
- })], 8, Nm)) : a("", !0),
15411
+ })], 8, Im)) : a("", !0),
15373
15412
  s("button", {
15374
15413
  type: "button",
15375
15414
  class: "coar-pagination-button coar-pagination-button--nav",
@@ -15379,13 +15418,13 @@ var em = [
15379
15418
  }, [u(Q, {
15380
15419
  name: "chevron-left",
15381
15420
  size: "s"
15382
- })], 8, Pm),
15421
+ })], 8, Lm),
15383
15422
  (D(!0), o(e, null, M(h.value, (n, r) => (D(), o(e, { key: _(r, n) }, [n.type === "ellipsis" ? (D(), o("span", {
15384
15423
  key: 0,
15385
15424
  class: "coar-pagination-ellipsis",
15386
15425
  role: "separator",
15387
15426
  "aria-label": V(c)("coar.ui.pagination.morePage", void 0, "More pages")
15388
- }, "...", 8, Fm)) : (D(), o("button", {
15427
+ }, "...", 8, Rm)) : (D(), o("button", {
15389
15428
  key: 1,
15390
15429
  type: "button",
15391
15430
  class: x(["coar-pagination-button coar-pagination-button--page", { "coar-pagination-button--active": n.page === l.value }]),
@@ -15393,7 +15432,7 @@ var em = [
15393
15432
  "aria-current": n.page === l.value ? "page" : void 0,
15394
15433
  "aria-label": V(c)("coar.ui.pagination.goToPage", { page: n.page }, "Go to page " + n.page),
15395
15434
  onClick: (e) => g(n.page)
15396
- }, L(n.page), 11, Im))], 64))), 128)),
15435
+ }, L(n.page), 11, zm))], 64))), 128)),
15397
15436
  s("button", {
15398
15437
  type: "button",
15399
15438
  class: "coar-pagination-button coar-pagination-button--nav",
@@ -15403,7 +15442,7 @@ var em = [
15403
15442
  }, [u(Q, {
15404
15443
  name: "chevron-right",
15405
15444
  size: "s"
15406
- })], 8, Lm),
15445
+ })], 8, Bm),
15407
15446
  t.showFirstLast ? (D(), o("button", {
15408
15447
  key: 1,
15409
15448
  type: "button",
@@ -15414,22 +15453,22 @@ var em = [
15414
15453
  }, [u(Q, {
15415
15454
  name: "chevrons-right",
15416
15455
  size: "s"
15417
- })], 8, Rm)) : a("", !0)
15418
- ])], 10, jm));
15456
+ })], 8, Vm)) : a("", !0)
15457
+ ])], 10, Pm));
15419
15458
  }
15420
15459
  }), [["__scopeId", "data-v-e59c750c"]]);
15421
15460
  //#endregion
15422
15461
  //#region src/components/sidebar/sidebar-context.ts
15423
- function Bm(e) {
15462
+ function Um(e) {
15424
15463
  return e === "top" || e === "bottom" ? "horizontal" : "vertical";
15425
15464
  }
15426
- var Vm = Symbol("sidebar-collapsed"), Hm = Symbol("sidebar-icon-size"), Um = Symbol("sidebar-side"), Wm = Symbol("sidebar-flyout-icon-only"), Gm = Symbol("sidebar-flyout-parent"), Km = ["aria-label"], qm = {
15465
+ var Wm = Symbol("sidebar-collapsed"), Gm = Symbol("sidebar-icon-size"), Km = Symbol("sidebar-side"), qm = Symbol("sidebar-flyout-icon-only"), Jm = Symbol("sidebar-flyout-parent"), Ym = ["aria-label"], Xm = {
15427
15466
  key: 0,
15428
15467
  class: "coar-sidebar__header"
15429
- }, Jm = { class: "coar-sidebar__content" }, Ym = {
15468
+ }, Zm = { class: "coar-sidebar__content" }, Qm = {
15430
15469
  key: 1,
15431
15470
  class: "coar-sidebar__footer"
15432
- }, Xm = /* @__PURE__ */ Z(/* @__PURE__ */ d({
15471
+ }, $m = /* @__PURE__ */ Z(/* @__PURE__ */ d({
15433
15472
  __name: "CoarSidebar",
15434
15473
  props: {
15435
15474
  side: { default: void 0 },
@@ -15452,8 +15491,8 @@ var Vm = Symbol("sidebar-collapsed"), Hm = Symbol("sidebar-icon-size"), Um = Sym
15452
15491
  },
15453
15492
  emits: ["update:collapsed"],
15454
15493
  setup(e) {
15455
- let t = e, n = r(() => t.side ?? t.position ?? "left"), i = r(() => Bm(n.value)), s = z(t, "collapsed"), c = z(t, "size");
15456
- O(Vm, s), O(Hm, c), O(Um, n);
15494
+ let t = e, n = r(() => t.side ?? t.position ?? "left"), i = r(() => Um(n.value)), s = z(t, "collapsed"), c = z(t, "size");
15495
+ O(Wm, s), O(Gm, c), O(Km, n);
15457
15496
  let l = r(() => ({
15458
15497
  "coar-sidebar": !0,
15459
15498
  [`coar-sidebar--${t.variant}`]: !0,
@@ -15477,36 +15516,36 @@ var Vm = Symbol("sidebar-collapsed"), Hm = Symbol("sidebar-icon-size"), Um = Sym
15477
15516
  "aria-label": e.ariaLabel || "Sidebar",
15478
15517
  class: x(l.value)
15479
15518
  }, [
15480
- n.$slots.header ? (D(), o("div", qm, [N(n.$slots, "header", { collapsed: t.collapsed }, void 0, !0)])) : a("", !0),
15481
- q((D(), o("div", Jm, [N(n.$slots, "default", { collapsed: t.collapsed }, void 0, !0)])), [[V(eo), u.value]]),
15482
- n.$slots.footer ? (D(), o("div", Ym, [N(n.$slots, "footer", { collapsed: t.collapsed }, void 0, !0)])) : a("", !0)
15483
- ], 10, Km));
15519
+ n.$slots.header ? (D(), o("div", Xm, [N(n.$slots, "header", { collapsed: t.collapsed }, void 0, !0)])) : a("", !0),
15520
+ q((D(), o("div", Zm, [N(n.$slots, "default", { collapsed: t.collapsed }, void 0, !0)])), [[V(eo), u.value]]),
15521
+ n.$slots.footer ? (D(), o("div", Qm, [N(n.$slots, "footer", { collapsed: t.collapsed }, void 0, !0)])) : a("", !0)
15522
+ ], 10, Ym));
15484
15523
  }
15485
- }), [["__scopeId", "data-v-656c121e"]]), Zm = [
15524
+ }), [["__scopeId", "data-v-656c121e"]]), eh = [
15486
15525
  "href",
15487
15526
  "aria-disabled",
15488
15527
  "aria-current",
15489
15528
  "tabindex",
15490
15529
  "onClick"
15491
- ], Qm = {
15530
+ ], th = {
15492
15531
  class: "coar-sidebar-item__icon",
15493
15532
  "aria-hidden": "true"
15494
- }, $m = { class: "coar-sidebar-item__label" }, eh = [
15533
+ }, nh = { class: "coar-sidebar-item__label" }, rh = [
15495
15534
  "href",
15496
15535
  "aria-disabled",
15497
15536
  "aria-current",
15498
15537
  "tabindex"
15499
- ], th = {
15538
+ ], ih = {
15500
15539
  class: "coar-sidebar-item__icon",
15501
15540
  "aria-hidden": "true"
15502
- }, nh = { class: "coar-sidebar-item__label" }, rh = [
15541
+ }, ah = { class: "coar-sidebar-item__label" }, oh = [
15503
15542
  "aria-disabled",
15504
15543
  "aria-current",
15505
15544
  "tabindex"
15506
- ], ih = {
15545
+ ], sh = {
15507
15546
  class: "coar-sidebar-item__icon",
15508
15547
  "aria-hidden": "true"
15509
- }, ah = { class: "coar-sidebar-item__label" }, oh = /* @__PURE__ */ Z(/* @__PURE__ */ d({
15548
+ }, ch = { class: "coar-sidebar-item__label" }, lh = /* @__PURE__ */ Z(/* @__PURE__ */ d({
15510
15549
  __name: "CoarSidebarItem",
15511
15550
  props: {
15512
15551
  label: {},
@@ -15523,7 +15562,7 @@ var Vm = Symbol("sidebar-collapsed"), Hm = Symbol("sidebar-icon-size"), Um = Sym
15523
15562
  },
15524
15563
  emits: ["click"],
15525
15564
  setup(e, { emit: t }) {
15526
- let n = e, a = t, c = h(Vm, j(!1)), l = h(Hm, j("m")), d = h(Um, j("left")), f = h(Wm, j(!1)), { RouterLink: p, hasRouterLink: m, warnIfMisconfigured: g } = Lo();
15565
+ let n = e, a = t, c = h(Wm, j(!1)), l = h(Gm, j("m")), d = h(Km, j("left")), f = h(qm, j(!1)), { RouterLink: p, hasRouterLink: m, warnIfMisconfigured: g } = Lo();
15527
15566
  G(() => n.to, (e) => g(e, "CoarSidebarItem"), { immediate: !0 });
15528
15567
  let _ = r(() => {
15529
15568
  switch (d.value) {
@@ -15540,7 +15579,7 @@ var Vm = Symbol("sidebar-collapsed"), Hm = Symbol("sidebar-icon-size"), Um = Sym
15540
15579
  content: n.label,
15541
15580
  placement: _.value,
15542
15581
  openDelay: 200
15543
- } : !1), y = r(() => Bm(d.value)), b = r(() => n.to !== void 0 && n.to !== null);
15582
+ } : !1), y = r(() => Um(d.value)), b = r(() => n.to !== void 0 && n.to !== null);
15544
15583
  function S(e) {
15545
15584
  let t = n.active ?? e;
15546
15585
  return [
@@ -15585,10 +15624,10 @@ var Vm = Symbol("sidebar-collapsed"), Hm = Symbol("sidebar-icon-size"), Um = Sym
15585
15624
  "aria-current": C(t),
15586
15625
  tabindex: n.disabled ? -1 : void 0,
15587
15626
  onClick: (e) => T(e, r)
15588
- }, [s("span", Qm, [u(Q, {
15627
+ }, [s("span", th, [u(Q, {
15589
15628
  name: n.icon || "square-dashed",
15590
15629
  size: V(l)
15591
- }, null, 8, ["name", "size"])]), s("span", $m, L(n.label), 1)], 10, Zm)), [[V(sl), v.value]])]),
15630
+ }, null, 8, ["name", "size"])]), s("span", nh, L(n.label), 1)], 10, eh)), [[V(sl), v.value]])]),
15592
15631
  _: 1
15593
15632
  }, 8, ["to"])) : b.value ? q((D(), o("a", {
15594
15633
  key: 1,
@@ -15598,10 +15637,10 @@ var Vm = Symbol("sidebar-collapsed"), Hm = Symbol("sidebar-icon-size"), Um = Sym
15598
15637
  "aria-current": C(!1),
15599
15638
  tabindex: n.disabled ? -1 : void 0,
15600
15639
  onClick: T
15601
- }, [s("span", th, [u(Q, {
15640
+ }, [s("span", ih, [u(Q, {
15602
15641
  name: n.icon || "square-dashed",
15603
15642
  size: V(l)
15604
- }, null, 8, ["name", "size"])]), s("span", nh, L(n.label), 1)], 10, eh)), [[V(sl), v.value]]) : q((D(), o("div", {
15643
+ }, null, 8, ["name", "size"])]), s("span", ah, L(n.label), 1)], 10, rh)), [[V(sl), v.value]]) : q((D(), o("div", {
15605
15644
  key: 2,
15606
15645
  role: "menuitem",
15607
15646
  class: x(["coar-sidebar-item", S(!1)]),
@@ -15610,12 +15649,12 @@ var Vm = Symbol("sidebar-collapsed"), Hm = Symbol("sidebar-icon-size"), Um = Sym
15610
15649
  tabindex: n.disabled ? -1 : 0,
15611
15650
  onClick: w,
15612
15651
  onKeydown: E
15613
- }, [s("span", ih, [u(Q, {
15652
+ }, [s("span", sh, [u(Q, {
15614
15653
  name: n.icon || "square-dashed",
15615
15654
  size: V(l)
15616
- }, null, 8, ["name", "size"])]), s("span", ah, L(n.label), 1)], 42, rh)), [[V(sl), v.value]]);
15655
+ }, null, 8, ["name", "size"])]), s("span", ch, L(n.label), 1)], 42, oh)), [[V(sl), v.value]]);
15617
15656
  }
15618
- }), [["__scopeId", "data-v-bf1b0b6e"]]), sh = /* @__PURE__ */ d({
15657
+ }), [["__scopeId", "data-v-bf1b0b6e"]]), uh = /* @__PURE__ */ d({
15619
15658
  __name: "SidebarFlyoutProvider",
15620
15659
  props: {
15621
15660
  iconOnly: { type: Boolean },
@@ -15623,12 +15662,12 @@ var Vm = Symbol("sidebar-collapsed"), Hm = Symbol("sidebar-icon-size"), Um = Sym
15623
15662
  },
15624
15663
  setup(e) {
15625
15664
  let t = e;
15626
- return O(Wm, z(t, "iconOnly")), O(Gm, t.parentControl), (e, t) => N(e.$slots, "default");
15665
+ return O(qm, z(t, "iconOnly")), O(Jm, t.parentControl), (e, t) => N(e.$slots, "default");
15627
15666
  }
15628
- }), ch = ["id"], lh = {
15667
+ }), dh = ["id"], fh = {
15629
15668
  key: 0,
15630
15669
  class: "coar-sidebar-flyout__header"
15631
- }, uh = { class: "coar-sidebar-flyout__items" }, dh = /* @__PURE__ */ d({
15670
+ }, ph = { class: "coar-sidebar-flyout__items" }, mh = /* @__PURE__ */ d({
15632
15671
  __name: "CoarSidebarFlyoutPanel",
15633
15672
  props: {
15634
15673
  id: {
@@ -15654,7 +15693,7 @@ var Vm = Symbol("sidebar-collapsed"), Hm = Symbol("sidebar-icon-size"), Um = Sym
15654
15693
  },
15655
15694
  emits: ["flyoutEnter", "flyoutLeave"],
15656
15695
  setup(e) {
15657
- return (t, n) => (D(), i(sh, {
15696
+ return (t, n) => (D(), i(uh, {
15658
15697
  "icon-only": e.iconOnly,
15659
15698
  "parent-control": e.parentControl
15660
15699
  }, {
@@ -15664,19 +15703,19 @@ var Vm = Symbol("sidebar-collapsed"), Hm = Symbol("sidebar-icon-size"), Um = Sym
15664
15703
  role: "menu",
15665
15704
  onMouseenter: n[0] ||= (e) => t.$emit("flyoutEnter"),
15666
15705
  onMouseleave: n[1] ||= (e) => t.$emit("flyoutLeave")
15667
- }, [e.iconOnly ? a("", !0) : (D(), o("div", lh, L(e.label), 1)), s("div", uh, [(D(), i(P({ render: e.renderContent })))])], 42, ch)]),
15706
+ }, [e.iconOnly ? a("", !0) : (D(), o("div", fh, L(e.label), 1)), s("div", ph, [(D(), i(P({ render: e.renderContent })))])], 42, dh)]),
15668
15707
  _: 1
15669
15708
  }, 8, ["icon-only", "parent-control"]));
15670
15709
  }
15671
- }), fh = [
15710
+ }), hh = [
15672
15711
  "aria-expanded",
15673
15712
  "aria-disabled",
15674
15713
  "tabindex",
15675
15714
  "onKeydown"
15676
- ], ph = {
15715
+ ], gh = {
15677
15716
  class: "coar-sidebar-group__icon",
15678
15717
  "aria-hidden": "true"
15679
- }, mh = { class: "coar-sidebar-group__caret" }, hh = { class: "coar-sidebar-group__label" }, gh = ["aria-hidden"], _h = { class: "coar-sidebar-group__panel-inner" }, vh = /* @__PURE__ */ Z(/* @__PURE__ */ d({
15718
+ }, _h = { class: "coar-sidebar-group__caret" }, vh = { class: "coar-sidebar-group__label" }, yh = ["aria-hidden"], bh = { class: "coar-sidebar-group__panel-inner" }, xh = /* @__PURE__ */ Z(/* @__PURE__ */ d({
15680
15719
  __name: "CoarSidebarGroup",
15681
15720
  props: /* @__PURE__ */ v({
15682
15721
  label: {},
@@ -15711,7 +15750,7 @@ var Vm = Symbol("sidebar-collapsed"), Hm = Symbol("sidebar-icon-size"), Um = Sym
15711
15750
  }),
15712
15751
  emits: /* @__PURE__ */ v(["triggerClick"], ["update:open"]),
15713
15752
  setup(e, { emit: t }) {
15714
- let n = `coar-sidebar-group-${H()}`, i = e, c = t, l = U(e, "open"), d = h(Vm, j(!1)), f = h(Hm, j("m")), p = h(Um, j("left")), m = r(() => Bm(p.value)), g = h(Wm, j(!1)), v = r(() => i.iconOnly ?? g.value), y = r(() => l.value), b = r(() => i.mode === "flyout"), S = ee(), C = j(!1), T = j(null), E = null, O = null, k = null, A = h(Gm, null), M = {
15753
+ let n = `coar-sidebar-group-${H()}`, i = e, c = t, l = U(e, "open"), d = h(Wm, j(!1)), f = h(Gm, j("m")), p = h(Km, j("left")), m = r(() => Um(p.value)), g = h(qm, j(!1)), v = r(() => i.iconOnly ?? g.value), y = r(() => l.value), b = r(() => i.mode === "flyout"), S = ee(), C = j(!1), T = j(null), E = null, O = null, k = null, A = h(Jm, null), M = {
15715
15754
  cancelClose: () => {
15716
15755
  se(), A?.cancelClose();
15717
15756
  },
@@ -15798,7 +15837,7 @@ var Vm = Symbol("sidebar-collapsed"), Hm = Symbol("sidebar-icon-size"), Um = Sym
15798
15837
  },
15799
15838
  content: {
15800
15839
  kind: "component",
15801
- component: _(dh)
15840
+ component: _(mh)
15802
15841
  },
15803
15842
  inputs: {
15804
15843
  id: n,
@@ -15871,53 +15910,53 @@ var Vm = Symbol("sidebar-collapsed"), Hm = Symbol("sidebar-icon-size"), Um = Sym
15871
15910
  onMouseenter: Y,
15872
15911
  onMouseleave: ue
15873
15912
  }, [
15874
- s("span", ph, [u(Q, {
15913
+ s("span", gh, [u(Q, {
15875
15914
  name: i.icon || "square-dashed",
15876
15915
  size: V(f)
15877
- }, null, 8, ["name", "size"]), s("span", mh, [u(Q, {
15916
+ }, null, 8, ["name", "size"]), s("span", _h, [u(Q, {
15878
15917
  name: b.value ? C.value ? z.value : R.value : y.value ? "minus" : "plus",
15879
15918
  size: "xs"
15880
15919
  }, null, 8, ["name"])])]),
15881
- s("span", hh, L(i.label), 1),
15920
+ s("span", vh, L(i.label), 1),
15882
15921
  u(Q, {
15883
15922
  name: b.value ? C.value ? z.value : R.value : y.value ? "minus" : "plus",
15884
15923
  size: "xs",
15885
15924
  class: "coar-sidebar-group__chevron",
15886
15925
  "aria-hidden": "true"
15887
15926
  }, null, 8, ["name"])
15888
- ], 42, fh)), [[V(sl), I.value]]), b.value ? a("", !0) : (D(), o("div", {
15927
+ ], 42, hh)), [[V(sl), I.value]]), b.value ? a("", !0) : (D(), o("div", {
15889
15928
  key: 0,
15890
15929
  id: n,
15891
15930
  class: x(["coar-sidebar-group__panel", { "coar-sidebar-group__panel--open": y.value }]),
15892
15931
  "aria-hidden": !y.value || void 0,
15893
15932
  role: "group"
15894
- }, [s("div", _h, [N(e.$slots, "default", {}, void 0, !0)])], 10, gh))], 2));
15933
+ }, [s("div", bh, [N(e.$slots, "default", {}, void 0, !0)])], 10, yh))], 2));
15895
15934
  }
15896
- }), [["__scopeId", "data-v-898af6bb"]]), yh = {
15935
+ }), [["__scopeId", "data-v-898af6bb"]]), Sh = {
15897
15936
  key: 0,
15898
15937
  class: "coar-sidebar-heading__text"
15899
- }, bh = /* @__PURE__ */ Z(/* @__PURE__ */ d({
15938
+ }, Ch = /* @__PURE__ */ Z(/* @__PURE__ */ d({
15900
15939
  __name: "CoarSidebarHeading",
15901
15940
  props: { label: {} },
15902
15941
  setup(e) {
15903
- let t = e, n = h(Vm, j(!1));
15942
+ let t = e, n = h(Wm, j(!1));
15904
15943
  return (e, r) => (D(), o("div", {
15905
15944
  class: x(["coar-sidebar-heading", { "coar-sidebar-heading--collapsed": V(n) }]),
15906
15945
  role: "heading",
15907
15946
  "aria-level": "3"
15908
- }, [V(n) ? a("", !0) : (D(), o("span", yh, L(t.label), 1))], 2));
15947
+ }, [V(n) ? a("", !0) : (D(), o("span", Sh, L(t.label), 1))], 2));
15909
15948
  }
15910
- }), [["__scopeId", "data-v-99fb2c2f"]]), xh = ["aria-orientation"], Sh = /* @__PURE__ */ Z(/* @__PURE__ */ d({
15949
+ }), [["__scopeId", "data-v-99fb2c2f"]]), wh = ["aria-orientation"], Th = /* @__PURE__ */ Z(/* @__PURE__ */ d({
15911
15950
  __name: "CoarSidebarDivider",
15912
15951
  setup(e) {
15913
- let t = h(Vm, j(!1)), n = h(Um, j("left")), i = r(() => Bm(n.value));
15952
+ let t = h(Wm, j(!1)), n = h(Km, j("left")), i = r(() => Um(n.value));
15914
15953
  return (e, n) => (D(), o("div", {
15915
15954
  class: x(["coar-sidebar-divider", [`coar-sidebar-divider--${i.value}`, { "coar-sidebar-divider--collapsed": V(t) }]]),
15916
15955
  role: "separator",
15917
15956
  "aria-orientation": i.value === "horizontal" ? "vertical" : "horizontal"
15918
- }, null, 10, xh));
15957
+ }, null, 10, wh));
15919
15958
  }
15920
- }), [["__scopeId", "data-v-9bdfe627"]]), Ch = /* @__PURE__ */ Z(/* @__PURE__ */ d({
15959
+ }), [["__scopeId", "data-v-9bdfe627"]]), Eh = /* @__PURE__ */ Z(/* @__PURE__ */ d({
15921
15960
  __name: "CoarSidebarSpacer",
15922
15961
  props: {
15923
15962
  height: { default: void 0 },
@@ -15934,16 +15973,16 @@ var Vm = Symbol("sidebar-collapsed"), Hm = Symbol("sidebar-icon-size"), Um = Sym
15934
15973
  "aria-hidden": "true"
15935
15974
  }, null, 6));
15936
15975
  }
15937
- }), [["__scopeId", "data-v-502139f5"]]), wh = {
15976
+ }), [["__scopeId", "data-v-502139f5"]]), Dh = {
15938
15977
  key: 0,
15939
15978
  class: "coar-navbar__start"
15940
- }, Th = {
15979
+ }, Oh = {
15941
15980
  key: 1,
15942
15981
  class: "coar-navbar__center"
15943
- }, Eh = {
15982
+ }, kh = {
15944
15983
  key: 2,
15945
15984
  class: "coar-navbar__end"
15946
- }, Dh = /* @__PURE__ */ Z(/* @__PURE__ */ d({
15985
+ }, Ah = /* @__PURE__ */ Z(/* @__PURE__ */ d({
15947
15986
  __name: "CoarNavbar",
15948
15987
  props: {
15949
15988
  elevated: {
@@ -15963,17 +16002,17 @@ var Vm = Symbol("sidebar-collapsed"), Hm = Symbol("sidebar-icon-size"), Um = Sym
15963
16002
  }]),
15964
16003
  role: "banner"
15965
16004
  }, [
15966
- t.$slots.start ? (D(), o("div", wh, [N(t.$slots, "start", {}, void 0, !0)])) : a("", !0),
16005
+ t.$slots.start ? (D(), o("div", Dh, [N(t.$slots, "start", {}, void 0, !0)])) : a("", !0),
15967
16006
  n[0] ||= s("div", { class: "coar-navbar__spacer" }, null, -1),
15968
- t.$slots.center ? (D(), o("div", Th, [N(t.$slots, "center", {}, void 0, !0)])) : a("", !0),
16007
+ t.$slots.center ? (D(), o("div", Oh, [N(t.$slots, "center", {}, void 0, !0)])) : a("", !0),
15969
16008
  n[1] ||= s("div", { class: "coar-navbar__spacer" }, null, -1),
15970
- t.$slots.end ? (D(), o("div", Eh, [N(t.$slots, "end", {}, void 0, !0)])) : a("", !0)
16009
+ t.$slots.end ? (D(), o("div", kh, [N(t.$slots, "end", {}, void 0, !0)])) : a("", !0)
15971
16010
  ], 2));
15972
16011
  }
15973
16012
  }), [["__scopeId", "data-v-c7eb4106"]]);
15974
16013
  //#endregion
15975
16014
  //#region src/components/date-time/_shared/time-helpers.ts
15976
- function Oh(e) {
16015
+ function jh(e) {
15977
16016
  try {
15978
16017
  return new Intl.DateTimeFormat(e, {
15979
16018
  hour: "numeric",
@@ -15983,13 +16022,13 @@ function Oh(e) {
15983
16022
  return !1;
15984
16023
  }
15985
16024
  }
15986
- function kh(e, t, n, r = !1) {
16025
+ function Mh(e, t, n, r = !1) {
15987
16026
  let i = String(t).padStart(2, "0");
15988
16027
  if (n) return `${String(e).padStart(2, "0")}:${i}`;
15989
16028
  let a = e >= 12 ? "PM" : "AM", o = e % 12;
15990
16029
  return o === 0 && (o = 12), r ? `${String(o).padStart(2, "0")}:${i}\u00a0${a}` : `${o}:${i} ${a}`;
15991
16030
  }
15992
- function Ah(e) {
16031
+ function Nh(e) {
15993
16032
  if (!e || typeof e != "string") return null;
15994
16033
  let t = e.trim().toUpperCase(), n = t.match(/^(\d{1,2}):(\d{2})\s*(AM|PM)$/);
15995
16034
  if (n) {
@@ -16009,41 +16048,41 @@ function Ah(e) {
16009
16048
  }
16010
16049
  return null;
16011
16050
  }
16012
- function jh(e) {
16051
+ function Ph(e) {
16013
16052
  let t = e >= 12 ? "PM" : "AM", n = e % 12;
16014
16053
  return n === 0 && (n = 12), {
16015
16054
  hours: n,
16016
16055
  period: t
16017
16056
  };
16018
16057
  }
16019
- function Mh(e, t) {
16058
+ function Fh(e, t) {
16020
16059
  return t === "AM" ? e === 12 ? 0 : e : e === 12 ? 12 : e + 12;
16021
16060
  }
16022
- function Nh(e, t) {
16061
+ function Ih(e, t) {
16023
16062
  let n = (e + t) % 24;
16024
16063
  return n < 0 ? n + 24 : n;
16025
16064
  }
16026
- function Ph(e, t, n = 1) {
16065
+ function Lh(e, t, n = 1) {
16027
16066
  let r = e + t * n, i = 0, a = r;
16028
16067
  return r >= 60 ? (i = Math.floor(r / 60), a = r % 60) : r < 0 && (i = Math.floor(r / 60), a = (r % 60 + 60) % 60), {
16029
16068
  minutes: a,
16030
16069
  hourDelta: i
16031
16070
  };
16032
16071
  }
16033
- function Fh(e, t) {
16072
+ function Rh(e, t) {
16034
16073
  return Math.round(e / t) * t;
16035
16074
  }
16036
16075
  //#endregion
16037
16076
  //#region src/components/date-time/time-picker/CoarTimePicker.vue?vue&type=script&setup=true&lang.ts
16038
- var Ih = ["aria-label"], Lh = { class: "coar-time-picker__spinner coar-time-picker__hours" }, Rh = ["disabled", "aria-label"], zh = [
16077
+ var zh = ["aria-label"], Bh = { class: "coar-time-picker__spinner coar-time-picker__hours" }, Vh = ["disabled", "aria-label"], Hh = [
16039
16078
  "aria-valuenow",
16040
16079
  "aria-valuemin",
16041
16080
  "aria-valuemax",
16042
16081
  "aria-label"
16043
- ], Bh = ["disabled", "aria-label"], Vh = { class: "coar-time-picker__spinner coar-time-picker__minutes" }, Hh = ["disabled", "aria-label"], Uh = ["aria-valuenow", "aria-label"], Wh = ["disabled", "aria-label"], Gh = {
16082
+ ], Uh = ["disabled", "aria-label"], Wh = { class: "coar-time-picker__spinner coar-time-picker__minutes" }, Gh = ["disabled", "aria-label"], Kh = ["aria-valuenow", "aria-label"], qh = ["disabled", "aria-label"], Jh = {
16044
16083
  key: 0,
16045
16084
  class: "coar-time-picker__spinner coar-time-picker__period"
16046
- }, Kh = ["disabled"], qh = ["aria-valuenow", "aria-valuetext"], Jh = ["disabled"], Yh = /* @__PURE__ */ Z(/* @__PURE__ */ d({
16085
+ }, Yh = ["disabled"], Xh = ["aria-valuenow", "aria-valuetext"], Zh = ["disabled"], Qh = /* @__PURE__ */ Z(/* @__PURE__ */ d({
16047
16086
  __name: "CoarTimePicker",
16048
16087
  props: /* @__PURE__ */ v({
16049
16088
  size: { default: "m" },
@@ -16072,9 +16111,9 @@ var Ih = ["aria-label"], Lh = { class: "coar-time-picker__spinner coar-time-pick
16072
16111
  setup(e) {
16073
16112
  let t = e, n = U(e, "modelValue"), { t: i } = ae(), c = oe(), l = r(() => t.locale ?? c?.language.value ?? navigator.language), d = j(9), f = j(0), p = j("AM");
16074
16113
  G(n, (e) => {
16075
- e && (d.value = e.hours, f.value = Fh(e.minutes, t.minuteStep), p.value = e.hours >= 12 ? "PM" : "AM");
16114
+ e && (d.value = e.hours, f.value = Rh(e.minutes, t.minuteStep), p.value = e.hours >= 12 ? "PM" : "AM");
16076
16115
  }, { immediate: !0 });
16077
- let m = r(() => t.use24Hour === !0 ? !1 : t.use24Hour === !1 ? !0 : Oh(l.value)), h = r(() => m.value ? jh(d.value).hours : d.value), g = r(() => f.value), _ = r(() => +!!m.value), v = r(() => m.value ? 12 : 23), y = r(() => t.size === "xs" ? "xs" : "s");
16116
+ let m = r(() => t.use24Hour === !0 ? !1 : t.use24Hour === !1 ? !0 : jh(l.value)), h = r(() => m.value ? Ph(d.value).hours : d.value), g = r(() => f.value), _ = r(() => +!!m.value), v = r(() => m.value ? 12 : 23), y = r(() => t.size === "xs" ? "xs" : "s");
16078
16117
  function b(e) {
16079
16118
  return e.hours * 60 + e.minutes;
16080
16119
  }
@@ -16109,11 +16148,11 @@ var Ih = ["aria-label"], Lh = { class: "coar-time-picker__spinner coar-time-pick
16109
16148
  if (!(t.disabled || t.readonly || S.value)) {
16110
16149
  if (m.value) {
16111
16150
  let e = h.value, t = e + 1;
16112
- if (t > 12 && (t = 1), d.value = Mh(t, p.value), e === 11) {
16151
+ if (t > 12 && (t = 1), d.value = Fh(t, p.value), e === 11) {
16113
16152
  F();
16114
16153
  return;
16115
16154
  }
16116
- } else d.value = Nh(d.value, 1);
16155
+ } else d.value = Ih(d.value, 1);
16117
16156
  k();
16118
16157
  }
16119
16158
  }
@@ -16121,28 +16160,28 @@ var Ih = ["aria-label"], Lh = { class: "coar-time-picker__spinner coar-time-pick
16121
16160
  if (!(t.disabled || t.readonly || C.value)) {
16122
16161
  if (m.value) {
16123
16162
  let e = h.value, t = e - 1;
16124
- if (t < 1 && (t = 12), d.value = Mh(t, p.value), e === 12) {
16163
+ if (t < 1 && (t = 12), d.value = Fh(t, p.value), e === 12) {
16125
16164
  F();
16126
16165
  return;
16127
16166
  }
16128
- } else d.value = Nh(d.value, -1);
16167
+ } else d.value = Ih(d.value, -1);
16129
16168
  k();
16130
16169
  }
16131
16170
  }
16132
16171
  function N() {
16133
16172
  if (t.disabled || t.readonly || w.value) return;
16134
- let { minutes: e, hourDelta: n } = Ph(f.value, 1, t.minuteStep);
16135
- f.value = e, n !== 0 && (d.value = Nh(d.value, n), p.value = d.value >= 12 ? "PM" : "AM"), k();
16173
+ let { minutes: e, hourDelta: n } = Lh(f.value, 1, t.minuteStep);
16174
+ f.value = e, n !== 0 && (d.value = Ih(d.value, n), p.value = d.value >= 12 ? "PM" : "AM"), k();
16136
16175
  }
16137
16176
  function P() {
16138
16177
  if (t.disabled || t.readonly || T.value) return;
16139
- let { minutes: e, hourDelta: n } = Ph(f.value, -1, t.minuteStep);
16140
- f.value = e, n !== 0 && (d.value = Nh(d.value, n), p.value = d.value >= 12 ? "PM" : "AM"), k();
16178
+ let { minutes: e, hourDelta: n } = Lh(f.value, -1, t.minuteStep);
16179
+ f.value = e, n !== 0 && (d.value = Ih(d.value, n), p.value = d.value >= 12 ? "PM" : "AM"), k();
16141
16180
  }
16142
16181
  function F() {
16143
16182
  if (t.disabled || t.readonly || !m.value) return;
16144
16183
  let e = p.value === "AM" ? "PM" : "AM";
16145
- e === "AM" && E.value || e === "PM" && O.value || (p.value = e, d.value = Mh(h.value, e), k());
16184
+ e === "AM" && E.value || e === "PM" && O.value || (p.value = e, d.value = Fh(h.value, e), k());
16146
16185
  }
16147
16186
  function I(e) {
16148
16187
  t.disabled || t.readonly || (e.key === "ArrowUp" ? (e.preventDefault(), A()) : e.key === "ArrowDown" && (e.preventDefault(), M()));
@@ -16166,7 +16205,7 @@ var Ih = ["aria-label"], Lh = { class: "coar-time-picker__spinner coar-time-pick
16166
16205
  role: "group",
16167
16206
  "aria-label": e.ariaLabel
16168
16207
  }, [
16169
- s("div", Lh, [
16208
+ s("div", Bh, [
16170
16209
  s("button", {
16171
16210
  type: "button",
16172
16211
  class: "coar-time-picker__btn coar-time-picker__btn--up",
@@ -16177,7 +16216,7 @@ var Ih = ["aria-label"], Lh = { class: "coar-time-picker__spinner coar-time-pick
16177
16216
  }, [u(Q, {
16178
16217
  name: "chevron-up",
16179
16218
  size: y.value
16180
- }, null, 8, ["size"])], 8, Rh),
16219
+ }, null, 8, ["size"])], 8, Vh),
16181
16220
  s("div", {
16182
16221
  class: "coar-time-picker__value",
16183
16222
  role: "spinbutton",
@@ -16187,7 +16226,7 @@ var Ih = ["aria-label"], Lh = { class: "coar-time-picker__spinner coar-time-pick
16187
16226
  "aria-valuemax": v.value,
16188
16227
  "aria-label": V(i)("coar.ui.timePicker.hours", void 0, "Hours"),
16189
16228
  onKeydown: I
16190
- }, L(h.value.toString().padStart(2, "0")), 41, zh),
16229
+ }, L(h.value.toString().padStart(2, "0")), 41, Hh),
16191
16230
  s("button", {
16192
16231
  type: "button",
16193
16232
  class: "coar-time-picker__btn coar-time-picker__btn--down",
@@ -16198,13 +16237,13 @@ var Ih = ["aria-label"], Lh = { class: "coar-time-picker__spinner coar-time-pick
16198
16237
  }, [u(Q, {
16199
16238
  name: "chevron-down",
16200
16239
  size: y.value
16201
- }, null, 8, ["size"])], 8, Bh)
16240
+ }, null, 8, ["size"])], 8, Uh)
16202
16241
  ]),
16203
16242
  n[0] ||= s("span", {
16204
16243
  class: "coar-time-picker__separator",
16205
16244
  "aria-hidden": "true"
16206
16245
  }, ":", -1),
16207
- s("div", Vh, [
16246
+ s("div", Wh, [
16208
16247
  s("button", {
16209
16248
  type: "button",
16210
16249
  class: "coar-time-picker__btn coar-time-picker__btn--up",
@@ -16215,7 +16254,7 @@ var Ih = ["aria-label"], Lh = { class: "coar-time-picker__spinner coar-time-pick
16215
16254
  }, [u(Q, {
16216
16255
  name: "chevron-up",
16217
16256
  size: y.value
16218
- }, null, 8, ["size"])], 8, Hh),
16257
+ }, null, 8, ["size"])], 8, Gh),
16219
16258
  s("div", {
16220
16259
  class: "coar-time-picker__value",
16221
16260
  role: "spinbutton",
@@ -16225,7 +16264,7 @@ var Ih = ["aria-label"], Lh = { class: "coar-time-picker__spinner coar-time-pick
16225
16264
  "aria-valuemax": "59",
16226
16265
  "aria-label": V(i)("coar.ui.timePicker.minutes", void 0, "Minutes"),
16227
16266
  onKeydown: R
16228
- }, L(g.value.toString().padStart(2, "0")), 41, Uh),
16267
+ }, L(g.value.toString().padStart(2, "0")), 41, Kh),
16229
16268
  s("button", {
16230
16269
  type: "button",
16231
16270
  class: "coar-time-picker__btn coar-time-picker__btn--down",
@@ -16236,9 +16275,9 @@ var Ih = ["aria-label"], Lh = { class: "coar-time-picker__spinner coar-time-pick
16236
16275
  }, [u(Q, {
16237
16276
  name: "chevron-down",
16238
16277
  size: y.value
16239
- }, null, 8, ["size"])], 8, Wh)
16278
+ }, null, 8, ["size"])], 8, qh)
16240
16279
  ]),
16241
- m.value ? (D(), o("div", Gh, [
16280
+ m.value ? (D(), o("div", Jh, [
16242
16281
  s("button", {
16243
16282
  type: "button",
16244
16283
  class: "coar-time-picker__btn coar-time-picker__btn--up",
@@ -16249,7 +16288,7 @@ var Ih = ["aria-label"], Lh = { class: "coar-time-picker__spinner coar-time-pick
16249
16288
  }, [u(Q, {
16250
16289
  name: "chevron-up",
16251
16290
  size: y.value
16252
- }, null, 8, ["size"])], 8, Kh),
16291
+ }, null, 8, ["size"])], 8, Yh),
16253
16292
  s("div", {
16254
16293
  class: "coar-time-picker__value coar-time-picker__period-value",
16255
16294
  role: "spinbutton",
@@ -16260,7 +16299,7 @@ var Ih = ["aria-label"], Lh = { class: "coar-time-picker__spinner coar-time-pick
16260
16299
  "aria-valuetext": p.value,
16261
16300
  "aria-label": "AM/PM",
16262
16301
  onKeydown: z
16263
- }, L(p.value), 41, qh),
16302
+ }, L(p.value), 41, Xh),
16264
16303
  s("button", {
16265
16304
  type: "button",
16266
16305
  class: "coar-time-picker__btn coar-time-picker__btn--down",
@@ -16271,14 +16310,14 @@ var Ih = ["aria-label"], Lh = { class: "coar-time-picker__spinner coar-time-pick
16271
16310
  }, [u(Q, {
16272
16311
  name: "chevron-down",
16273
16312
  size: y.value
16274
- }, null, 8, ["size"])], 8, Jh)
16313
+ }, null, 8, ["size"])], 8, Zh)
16275
16314
  ])) : a("", !0)
16276
- ], 8, Ih)], 2));
16315
+ ], 8, zh)], 2));
16277
16316
  }
16278
16317
  }), [["__scopeId", "data-v-43e0425e"]]);
16279
16318
  //#endregion
16280
16319
  //#region src/components/date-time/_shared/date-helpers.ts
16281
- function Xh(e) {
16320
+ function $h(e) {
16282
16321
  try {
16283
16322
  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");
16284
16323
  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;
@@ -16286,7 +16325,7 @@ function Xh(e) {
16286
16325
  return null;
16287
16326
  }
16288
16327
  }
16289
- function Zh(e) {
16328
+ function eg(e) {
16290
16329
  try {
16291
16330
  let t = new Intl.Locale(e);
16292
16331
  return (t.getWeekInfo?.() ?? t.weekInfo)?.firstDay === 7 ? 7 : 1;
@@ -16294,10 +16333,10 @@ function Zh(e) {
16294
16333
  return 1;
16295
16334
  }
16296
16335
  }
16297
- function Qh(e) {
16336
+ function tg(e) {
16298
16337
  return e.includes(".") ? "." : e.includes("/") ? "/" : "-";
16299
16338
  }
16300
- function $h(e, t) {
16339
+ function ng(e, t) {
16301
16340
  let n = new Intl.DateTimeFormat(e, { weekday: "short" }), r = [];
16302
16341
  for (let e = 0; e < 7; e++) {
16303
16342
  let t = new Date(2024, 0, 1 + e);
@@ -16309,8 +16348,8 @@ function $h(e, t) {
16309
16348
  }
16310
16349
  return r;
16311
16350
  }
16312
- function eg(e, t) {
16313
- let n = Qh(t), r = String(e.day).padStart(2, "0"), i = String(e.month).padStart(2, "0"), a = String(e.year);
16351
+ function rg(e, t) {
16352
+ let n = tg(t), r = String(e.day).padStart(2, "0"), i = String(e.month).padStart(2, "0"), a = String(e.year);
16314
16353
  switch (t) {
16315
16354
  case "dd.mm.yyyy":
16316
16355
  case "dd/mm/yyyy": return `${r}${n}${i}${n}${a}`;
@@ -16319,9 +16358,9 @@ function eg(e, t) {
16319
16358
  default: return `${r}${n}${i}${n}${a}`;
16320
16359
  }
16321
16360
  }
16322
- function tg(e, t, n) {
16361
+ function ig(e, t, n) {
16323
16362
  if (!e) return null;
16324
- let r = Qh(t), i = e.split(r);
16363
+ let r = tg(t), i = e.split(r);
16325
16364
  if (i.length !== 3 || i.some((e) => e.length === 0 || !/^\d+$/.test(e))) return null;
16326
16365
  let a, o, s;
16327
16366
  try {
@@ -16349,19 +16388,19 @@ function tg(e, t, n) {
16349
16388
  return null;
16350
16389
  }
16351
16390
  }
16352
- function ng(e) {
16391
+ function ag(e) {
16353
16392
  return new Date(e.year, e.month - 1, e.day);
16354
16393
  }
16355
- function rg(e) {
16356
- let t = ng(e), n = t.getDay() || 7;
16394
+ function og(e) {
16395
+ let t = ag(e), n = t.getDay() || 7;
16357
16396
  t.setDate(t.getDate() + 4 - n);
16358
16397
  let r = new Date(t.getFullYear(), 0, 1);
16359
16398
  return Math.ceil(((t.getTime() - r.getTime()) / 864e5 + 1) / 7);
16360
16399
  }
16361
- function ig(e, t) {
16400
+ function sg(e, t) {
16362
16401
  return t?.min && X.PlainDate.compare(e, t.min) < 0 ? t.min : t?.max && X.PlainDate.compare(e, t.max) > 0 ? t.max : e;
16363
16402
  }
16364
- function ag(e, t) {
16403
+ function cg(e, t) {
16365
16404
  let n = e.toPlainDate({ day: 1 }), r = e.daysInMonth, i = n.dayOfWeek, a;
16366
16405
  a = t === 1 ? (i - 1 + 7) % 7 : i % 7;
16367
16406
  let o = [];
@@ -16385,20 +16424,20 @@ function ag(e, t) {
16385
16424
  }
16386
16425
  //#endregion
16387
16426
  //#region src/components/date-time/scrollable-calendar/CoarScrollableCalendar.vue?vue&type=script&setup=true&lang.ts
16388
- var og = {
16427
+ var lg = {
16389
16428
  key: 0,
16390
16429
  class: "coar-scrollable-calendar__week-spacer"
16391
- }, sg = ["id", "data-year-month"], cg = { class: "coar-scrollable-calendar__month-name" }, lg = { class: "coar-scrollable-calendar__month-year" }, ug = {
16430
+ }, ug = ["id", "data-year-month"], dg = { class: "coar-scrollable-calendar__month-name" }, fg = { class: "coar-scrollable-calendar__month-year" }, pg = {
16392
16431
  key: 0,
16393
16432
  class: "coar-scrollable-calendar__week-number"
16394
- }, dg = [
16433
+ }, mg = [
16395
16434
  "disabled",
16396
16435
  "tabindex",
16397
16436
  "data-date",
16398
16437
  "aria-selected",
16399
16438
  "aria-current",
16400
16439
  "onClick"
16401
- ], fg = 3, pg = 3, mg = 6, hg = 25, gg = 500, _g = /* @__PURE__ */ Z(/* @__PURE__ */ d({
16440
+ ], hg = 3, gg = 3, _g = 6, vg = 25, yg = 500, bg = /* @__PURE__ */ Z(/* @__PURE__ */ d({
16402
16441
  __name: "CoarScrollableCalendar",
16403
16442
  props: /* @__PURE__ */ v({
16404
16443
  min: { default: null },
@@ -16424,13 +16463,13 @@ var og = {
16424
16463
  setup(t, { emit: n }) {
16425
16464
  let i = t, c = U(t, "modelValue"), l = U(t, "activeMonth"), u = n, d = oe(), f = r(() => i.locale ?? d?.language.value ?? navigator.language), p = r(() => {
16426
16465
  if (i.dateFormatConfig) return i.dateFormatConfig;
16427
- let e = Xh(f.value), t = Zh(f.value);
16466
+ let e = $h(f.value), t = eg(f.value);
16428
16467
  return {
16429
16468
  pattern: e ?? "dd.mm.yyyy",
16430
16469
  firstDayOfWeek: t
16431
16470
  };
16432
16471
  }), m = r(() => p.value.firstDayOfWeek), h = r(() => X.Now.plainDateISO()), g = r(() => {
16433
- let e = $h(f.value, m.value), t = m.value;
16472
+ let e = ng(f.value, m.value), t = m.value;
16434
16473
  return e.map((e, n) => {
16435
16474
  let r;
16436
16475
  return r = t === 1 ? n + 1 : n === 0 ? 7 : n, {
@@ -16438,7 +16477,7 @@ var og = {
16438
16477
  isWeekend: r === 6 || r === 7
16439
16478
  };
16440
16479
  });
16441
- }), _ = j(l.value.subtract({ months: fg })), v = j(l.value.add({ months: pg })), y = j(null), S = j(null), C = j(!1), E = !1, O = !1, k = !1;
16480
+ }), _ = j(l.value.subtract({ months: hg })), v = j(l.value.add({ months: gg })), y = j(null), S = j(null), C = j(!1), E = !1, O = !1, k = !1;
16442
16481
  function A() {
16443
16482
  let e = S.value;
16444
16483
  return e ? e.querySelector("[data-overlayscrollbars-viewport]") ?? e : null;
@@ -16465,8 +16504,8 @@ var og = {
16465
16504
  };
16466
16505
  }
16467
16506
  function F(e) {
16468
- let t = f.value, n = new Intl.DateTimeFormat(t, { month: "long" }).format(new Date(e.year, e.month - 1, 1)), r = ag(e, m.value), i = r.map((e) => P(e.date, e.isOutsideMonth)), a = [];
16469
- for (let e = 0; e < 6; e++) a.push(rg(r[e * 7].date));
16507
+ let t = f.value, n = new Intl.DateTimeFormat(t, { month: "long" }).format(new Date(e.year, e.month - 1, 1)), r = cg(e, m.value), i = r.map((e) => P(e.date, e.isOutsideMonth)), a = [];
16508
+ for (let e = 0; e < 6; e++) a.push(og(r[e * 7].date));
16470
16509
  return {
16471
16510
  yearMonth: e,
16472
16511
  monthName: n,
@@ -16513,7 +16552,7 @@ var og = {
16513
16552
  }), setTimeout(o, 500)) : (a.scrollTop = i.offsetTop, requestAnimationFrame(o));
16514
16553
  }
16515
16554
  function ee(e) {
16516
- let t = e.subtract({ months: fg }), n = e.add({ months: pg }), r = !1;
16555
+ let t = e.subtract({ months: hg }), n = e.add({ months: gg }), r = !1;
16517
16556
  return X.PlainYearMonth.compare(t, _.value) < 0 && (_.value = t, r = !0), X.PlainYearMonth.compare(n, v.value) > 0 && (v.value = n, r = !0), r && z(), r;
16518
16557
  }
16519
16558
  function W(e) {
@@ -16527,7 +16566,7 @@ var og = {
16527
16566
  function K(e, t) {
16528
16567
  let n = t.offsetHeight;
16529
16568
  if (n === 0) return !1;
16530
- let r = Math.max(0, hg - R.value.length), i = e.clientHeight + gg - (e.scrollHeight - t.offsetTop), a = gg - t.offsetTop, o = Math.min(Math.max(0, Math.ceil(i / n)), r), s = Math.min(Math.max(0, Math.ceil(a / n)), r - o);
16569
+ let r = Math.max(0, vg - R.value.length), i = e.clientHeight + yg - (e.scrollHeight - t.offsetTop), a = yg - t.offsetTop, o = Math.min(Math.max(0, Math.ceil(i / n)), r), s = Math.min(Math.max(0, Math.ceil(a / n)), r - o);
16531
16570
  return o === 0 && s === 0 ? !1 : (v.value = v.value.add({ months: o }), _.value = _.value.subtract({ months: s }), z(), !0);
16532
16571
  }
16533
16572
  function re(e, t = !1) {
@@ -16575,7 +16614,7 @@ var og = {
16575
16614
  let e = A();
16576
16615
  if (!e) return;
16577
16616
  let { scrollTop: t, scrollHeight: n, clientHeight: r } = e, a = i.min?.toPlainYearMonth() ?? null, o = i.max?.toPlainYearMonth() ?? null;
16578
- t < gg && (!a || X.PlainYearMonth.compare(_.value, a) > 0) && se(), n - t - r < gg && (!o || X.PlainYearMonth.compare(v.value, o) < 0) && ce();
16617
+ t < yg && (!a || X.PlainYearMonth.compare(_.value, a) > 0) && se(), n - t - r < yg && (!o || X.PlainYearMonth.compare(v.value, o) < 0) && ce();
16579
16618
  }
16580
16619
  function J(e, t) {
16581
16620
  let n = A(), r = t ?? (n ? W(n) : void 0);
@@ -16593,7 +16632,7 @@ var og = {
16593
16632
  if (k) return;
16594
16633
  k = !0;
16595
16634
  let e = i.min?.toPlainYearMonth() ?? null, t = _.value, n = [];
16596
- for (let r = 0; r < mg; r++) {
16635
+ for (let r = 0; r < _g; r++) {
16597
16636
  let r = t.subtract({ months: 1 });
16598
16637
  if (e && X.PlainYearMonth.compare(r, e) < 0) break;
16599
16638
  t = r, n.unshift(F(t));
@@ -16610,7 +16649,7 @@ var og = {
16610
16649
  if (k) return;
16611
16650
  k = !0;
16612
16651
  let e = i.max?.toPlainYearMonth() ?? null, t = v.value, n = [];
16613
- for (let r = 0; r < mg; r++) {
16652
+ for (let r = 0; r < _g; r++) {
16614
16653
  let r = t.add({ months: 1 });
16615
16654
  if (e && X.PlainYearMonth.compare(r, e) > 0) break;
16616
16655
  t = r, n.push(F(t));
@@ -16625,14 +16664,14 @@ var og = {
16625
16664
  }
16626
16665
  function le() {
16627
16666
  let e = R.value;
16628
- if (e.length <= hg) return;
16629
- let t = e.slice(0, hg);
16667
+ if (e.length <= vg) return;
16668
+ let t = e.slice(0, vg);
16630
16669
  R.value = t, v.value = t[t.length - 1].yearMonth;
16631
16670
  }
16632
16671
  function Y() {
16633
16672
  let e = R.value;
16634
- if (e.length <= hg) return;
16635
- let t = e.length - hg, n = e.slice(t);
16673
+ if (e.length <= vg) return;
16674
+ let t = e.length - vg, n = e.slice(t);
16636
16675
  R.value = n, _.value = n[0].yearMonth;
16637
16676
  }
16638
16677
  function ue(e) {
@@ -16651,7 +16690,7 @@ var og = {
16651
16690
  r = n.add({ years: e });
16652
16691
  break;
16653
16692
  }
16654
- r = ig(r, {
16693
+ r = sg(r, {
16655
16694
  min: i.min,
16656
16695
  max: i.max
16657
16696
  }), y.value = r;
@@ -16723,7 +16762,7 @@ var og = {
16723
16762
  }), (n, r) => (D(), o("div", {
16724
16763
  class: "coar-scrollable-calendar",
16725
16764
  onKeydown: fe
16726
- }, [s("div", { class: x(["coar-scrollable-calendar__weekdays", { "coar-scrollable-calendar__weekdays--with-weeks": t.showWeekNumbers }]) }, [t.showWeekNumbers ? (D(), o("span", og)) : a("", !0), (D(!0), o(e, null, M(g.value, (e) => (D(), o("span", {
16765
+ }, [s("div", { class: x(["coar-scrollable-calendar__weekdays", { "coar-scrollable-calendar__weekdays--with-weeks": t.showWeekNumbers }]) }, [t.showWeekNumbers ? (D(), o("span", lg)) : a("", !0), (D(!0), o(e, null, M(g.value, (e) => (D(), o("span", {
16727
16766
  key: e.name,
16728
16767
  class: x(["coar-scrollable-calendar__weekday", { "coar-scrollable-calendar__weekday--weekend": t.highlightWeekends && e.isWeekend }])
16729
16768
  }, L(e.name), 3))), 128))], 2), s("div", { class: x(["coar-scrollable-calendar__months-wrapper", { "coar-scrollable-calendar__months-wrapper--ready": C.value }]) }, [q((D(), o("div", {
@@ -16735,10 +16774,10 @@ var og = {
16735
16774
  key: n.yearMonth.toString(),
16736
16775
  "data-year-month": n.yearMonth.toString(),
16737
16776
  class: "coar-scrollable-calendar__month"
16738
- }, [s("div", { class: x(["coar-scrollable-calendar__month-header", { "coar-scrollable-calendar__month-header--with-weeks": t.showWeekNumbers }]) }, [s("span", cg, L(n.monthName), 1), s("span", lg, L(n.year), 1)], 2), s("div", {
16777
+ }, [s("div", { class: x(["coar-scrollable-calendar__month-header", { "coar-scrollable-calendar__month-header--with-weeks": t.showWeekNumbers }]) }, [s("span", dg, L(n.monthName), 1), s("span", fg, L(n.year), 1)], 2), s("div", {
16739
16778
  class: x(["coar-scrollable-calendar__grid", { "coar-scrollable-calendar__grid--with-weeks": t.showWeekNumbers }]),
16740
16779
  role: "grid"
16741
- }, [(D(!0), o(e, null, M(n.days, (r, i) => (D(), o(e, { key: r.date.toString() }, [t.showWeekNumbers && i % 7 == 0 ? (D(), o("span", ug, L(n.weekNumbers[i / 7]), 1)) : a("", !0), s("button", {
16780
+ }, [(D(!0), o(e, null, M(n.days, (r, i) => (D(), o(e, { key: r.date.toString() }, [t.showWeekNumbers && i % 7 == 0 ? (D(), o("span", pg, L(n.weekNumbers[i / 7]), 1)) : a("", !0), s("button", {
16742
16781
  type: "button",
16743
16782
  class: x(["coar-scrollable-calendar__day", [r.markerCssClass, {
16744
16783
  "coar-scrollable-calendar__day--outside": r.isOutsideMonth,
@@ -16755,7 +16794,7 @@ var og = {
16755
16794
  "aria-selected": r.isSelected,
16756
16795
  "aria-current": r.isToday ? "date" : void 0,
16757
16796
  onClick: (e) => ue(r.date)
16758
- }, L(r.day), 11, dg)], 64))), 128))], 2)], 8, sg))), 128)), r[0] ||= s("div", {
16797
+ }, L(r.day), 11, mg)], 64))), 128))], 2)], 8, ug))), 128)), r[0] ||= s("div", {
16759
16798
  class: "coar-scrollable-calendar__intrinsic-width",
16760
16799
  "aria-hidden": "true"
16761
16800
  }, null, -1)])), [[V(eo), {
@@ -16764,7 +16803,7 @@ var og = {
16764
16803
  defer: !1
16765
16804
  }]])], 2)], 32));
16766
16805
  }
16767
- }), [["__scopeId", "data-v-795beb50"]]), vg = { class: "coar-month-list-host" }, yg = { class: "coar-month-list" }, bg = { class: "coar-month-list__year-stepper" }, xg = ["disabled", "aria-label"], Sg = { class: "coar-month-list__year" }, Cg = ["disabled", "aria-label"], wg = ["aria-label"], Tg = ["aria-selected", "onClick"], Eg = /* @__PURE__ */ Z(/* @__PURE__ */ d({
16806
+ }), [["__scopeId", "data-v-795beb50"]]), xg = { class: "coar-month-list-host" }, Sg = { class: "coar-month-list" }, Cg = { class: "coar-month-list__year-stepper" }, wg = ["disabled", "aria-label"], Tg = { class: "coar-month-list__year" }, Eg = ["disabled", "aria-label"], Dg = ["aria-label"], Og = ["aria-selected", "onClick"], kg = /* @__PURE__ */ Z(/* @__PURE__ */ d({
16768
16807
  __name: "CoarMonthList",
16769
16808
  props: /* @__PURE__ */ v({
16770
16809
  locale: { default: void 0 },
@@ -16821,7 +16860,7 @@ var og = {
16821
16860
  b(() => w());
16822
16861
  }), T(() => {
16823
16862
  setTimeout(() => w(), 50);
16824
- }), (t, n) => (D(), o("div", vg, [s("div", yg, [s("div", bg, [
16863
+ }), (t, n) => (D(), o("div", xg, [s("div", Sg, [s("div", Cg, [
16825
16864
  s("button", {
16826
16865
  type: "button",
16827
16866
  class: "coar-month-list__year-btn",
@@ -16831,8 +16870,8 @@ var og = {
16831
16870
  }, [u(Q, {
16832
16871
  name: "chevron-left",
16833
16872
  size: "s"
16834
- })], 8, xg),
16835
- s("span", Sg, L(p.value), 1),
16873
+ })], 8, wg),
16874
+ s("span", Tg, L(p.value), 1),
16836
16875
  s("button", {
16837
16876
  type: "button",
16838
16877
  class: "coar-month-list__year-btn",
@@ -16842,7 +16881,7 @@ var og = {
16842
16881
  }, [u(Q, {
16843
16882
  name: "chevron-right",
16844
16883
  size: "s"
16845
- })], 8, Cg)
16884
+ })], 8, Eg)
16846
16885
  ]), q((D(), o("div", {
16847
16886
  ref_key: "monthsContainerRef",
16848
16887
  ref: C,
@@ -16856,16 +16895,16 @@ var og = {
16856
16895
  role: "option",
16857
16896
  "aria-selected": e.isActive,
16858
16897
  onClick: (t) => S(e.yearMonth)
16859
- }, L(e.name), 11, Tg))), 128))], 8, wg)), [[V(eo), {
16898
+ }, L(e.name), 11, Og))), 128))], 8, Dg)), [[V(eo), {
16860
16899
  overflowX: "hidden",
16861
16900
  autoHide: "leave"
16862
16901
  }]])])]));
16863
16902
  }
16864
- }), [["__scopeId", "data-v-986d2e4b"]]), Dg = [
16903
+ }), [["__scopeId", "data-v-986d2e4b"]]), Ag = [
16865
16904
  "type",
16866
16905
  "disabled",
16867
16906
  "aria-label"
16868
- ], Og = /* @__PURE__ */ Z(/* @__PURE__ */ d({
16907
+ ], jg = /* @__PURE__ */ Z(/* @__PURE__ */ d({
16869
16908
  __name: "CoarInputFrameButton",
16870
16909
  props: {
16871
16910
  disabled: {
@@ -16886,13 +16925,13 @@ var og = {
16886
16925
  disabled: e.disabled,
16887
16926
  "aria-label": e.ariaLabel,
16888
16927
  tabindex: "-1"
16889
- }, [N(t.$slots, "default", {}, void 0, !0)], 10, Dg));
16928
+ }, [N(t.$slots, "default", {}, void 0, !0)], 10, Ag));
16890
16929
  }
16891
- }), [["__scopeId", "data-v-8cf7161d"]]), kg = {
16930
+ }), [["__scopeId", "data-v-8cf7161d"]]), Mg = {
16892
16931
  pattern: "dd.mm.yyyy",
16893
16932
  firstDayOfWeek: 1
16894
16933
  };
16895
- function Ag(e) {
16934
+ function Ng(e) {
16896
16935
  let t = oe(), n = J(), i = r(() => e.locale?.value ? e.locale.value : t.language.value || navigator.language || "en"), a = r(() => {
16897
16936
  if (e.dateFormat?.value) return e.dateFormat.value;
16898
16937
  let n = t.localeData.value;
@@ -16900,12 +16939,12 @@ function Ag(e) {
16900
16939
  pattern: n.date.pattern,
16901
16940
  firstDayOfWeek: n.date.firstDayOfWeek === 0 ? 7 : n.date.firstDayOfWeek
16902
16941
  };
16903
- let r = Xh(i.value), a = Zh(i.value);
16942
+ let r = $h(i.value), a = eg(i.value);
16904
16943
  return r ? {
16905
16944
  pattern: r,
16906
16945
  firstDayOfWeek: a
16907
16946
  } : {
16908
- ...kg,
16947
+ ...Mg,
16909
16948
  firstDayOfWeek: a
16910
16949
  };
16911
16950
  }), o = r(() => {
@@ -16934,16 +16973,16 @@ function Ag(e) {
16934
16973
  }
16935
16974
  //#endregion
16936
16975
  //#region src/components/date-time/_shared/use-plain-date-picker.ts
16937
- function jg(e, t) {
16938
- let n = Ag({
16976
+ function Pg(e, t) {
16977
+ let n = Ng({
16939
16978
  locale: r(() => t.locale),
16940
16979
  dateFormat: r(() => t.dateFormat)
16941
16980
  }), i = j(e.value?.toPlainYearMonth() ?? X.Now.plainDateISO().toPlainYearMonth()), a = j(""), o = r(() => t.placeholder || n.effectiveDateFormat.value.pattern.toUpperCase()), s = r(() => i.value.year <= X.Now.plainDateISO().year - 100), c = r(() => i.value.year >= X.Now.plainDateISO().year + 50), l = r(() => X.Now.plainDateISO());
16942
16981
  function u(e) {
16943
- return eg(e, n.effectiveDateFormat.value.pattern);
16982
+ return rg(e, n.effectiveDateFormat.value.pattern);
16944
16983
  }
16945
16984
  function d(e) {
16946
- return tg(e, n.effectiveDateFormat.value.pattern, {
16985
+ return ig(e, n.effectiveDateFormat.value.pattern, {
16947
16986
  min: t.min,
16948
16987
  max: t.max
16949
16988
  });
@@ -17000,10 +17039,10 @@ function jg(e, t) {
17000
17039
  }
17001
17040
  //#endregion
17002
17041
  //#region src/components/date-time/_shared/types.ts
17003
- var Mg = {
17042
+ var Fg = {
17004
17043
  use24Hour: "auto",
17005
17044
  minuteStep: 5
17006
- }, Ng = {
17045
+ }, Ig = {
17007
17046
  "dd.mm.yyyy": "dd/mm/yyyy",
17008
17047
  "dd/mm/yyyy": "dd/mm/yyyy",
17009
17048
  "mm/dd/yyyy": "mm/dd/yyyy",
@@ -17011,29 +17050,29 @@ var Mg = {
17011
17050
  };
17012
17051
  //#endregion
17013
17052
  //#region src/components/date-time/_shared/maskito-config.ts
17014
- function Pg(e) {
17053
+ function Lg(e) {
17015
17054
  return le({
17016
- mode: Ng[e],
17017
- separator: Qh(e)
17055
+ mode: Ig[e],
17056
+ separator: tg(e)
17018
17057
  });
17019
17058
  }
17020
- function Fg(e, t) {
17059
+ function Rg(e, t) {
17021
17060
  return Y({
17022
- dateMode: Ng[e],
17023
- dateSeparator: Qh(e),
17061
+ dateMode: Ig[e],
17062
+ dateSeparator: tg(e),
17024
17063
  timeMode: t ? "HH:MM AA" : "HH:MM",
17025
17064
  dateTimeSeparator: " "
17026
17065
  });
17027
17066
  }
17028
17067
  //#endregion
17029
17068
  //#region src/components/date-time/plain-date-picker/CoarPlainDatePickerPanel.vue?vue&type=script&setup=true&lang.ts
17030
- var Ig = { class: "coar-plain-date-picker-calendar-column" }, Lg = ["aria-label"], Rg = { class: "coar-plain-date-picker-side-column" }, zg = { class: "coar-plain-date-picker-year-stepper" }, Bg = ["disabled", "aria-label"], Vg = { class: "coar-plain-date-picker-year" }, Hg = ["disabled", "aria-label"], Ug = { class: "coar-plain-date-picker-month-list-wrapper" }, Wg = ["aria-label"], Gg = { class: "coar-plain-date-picker-month-list-content" }, Kg = ["aria-selected", "onClick"], qg = {
17069
+ var zg = { class: "coar-plain-date-picker-calendar-column" }, Bg = ["aria-label"], Vg = { class: "coar-plain-date-picker-side-column" }, Hg = { class: "coar-plain-date-picker-year-stepper" }, Ug = ["disabled", "aria-label"], Wg = { class: "coar-plain-date-picker-year" }, Gg = ["disabled", "aria-label"], Kg = { class: "coar-plain-date-picker-month-list-wrapper" }, qg = ["aria-label"], Jg = { class: "coar-plain-date-picker-month-list-content" }, Yg = ["aria-selected", "onClick"], Xg = {
17031
17070
  key: 0,
17032
17071
  class: "coar-plain-date-picker-events"
17033
- }, Jg = { class: "coar-plain-date-picker-events-list" }, Yg = { class: "coar-plain-date-picker-events-content" }, Xg = { class: "coar-plain-date-picker-event-details" }, Zg = { class: "coar-plain-date-picker-event-text" }, Qg = {
17072
+ }, Zg = { class: "coar-plain-date-picker-events-list" }, Qg = { class: "coar-plain-date-picker-events-content" }, $g = { class: "coar-plain-date-picker-event-details" }, e_ = { class: "coar-plain-date-picker-event-text" }, t_ = {
17034
17073
  key: 0,
17035
17074
  class: "coar-plain-date-picker-event-dates"
17036
- }, $g = /* @__PURE__ */ d({
17075
+ }, n_ = /* @__PURE__ */ d({
17037
17076
  __name: "CoarPlainDatePickerPanel",
17038
17077
  props: {
17039
17078
  modelValue: {},
@@ -17076,7 +17115,7 @@ var Ig = { class: "coar-plain-date-picker-calendar-column" }, Lg = ["aria-label"
17076
17115
  return n && r;
17077
17116
  }) : [];
17078
17117
  });
17079
- return (n, r) => (D(), o("div", { class: x(["coar-plain-date-picker-panel", { "coar-plain-date-picker-panel--with-weeks": t.showWeekNumbers }]) }, [s("div", Ig, [u(_g, {
17118
+ return (n, r) => (D(), o("div", { class: x(["coar-plain-date-picker-panel", { "coar-plain-date-picker-panel--with-weeks": t.showWeekNumbers }]) }, [s("div", zg, [u(bg, {
17080
17119
  "model-value": t.modelValue,
17081
17120
  "active-month": t.activeMonth,
17082
17121
  min: t.min ?? void 0,
@@ -17109,8 +17148,8 @@ var Ig = { class: "coar-plain-date-picker-calendar-column" }, Lg = ["aria-label"
17109
17148
  }, [u(Q, {
17110
17149
  name: h.value === "up" ? "chevron-up" : "chevron-down",
17111
17150
  size: "xs"
17112
- }, null, 8, ["name"])], 8, Lg)) : a("", !0)]), s("div", Rg, [
17113
- s("div", zg, [
17151
+ }, null, 8, ["name"])], 8, Bg)) : a("", !0)]), s("div", Vg, [
17152
+ s("div", Hg, [
17114
17153
  s("button", {
17115
17154
  type: "button",
17116
17155
  class: "coar-plain-date-picker-year-btn",
@@ -17120,8 +17159,8 @@ var Ig = { class: "coar-plain-date-picker-calendar-column" }, Lg = ["aria-label"
17120
17159
  }, [u(Q, {
17121
17160
  name: "chevron-left",
17122
17161
  size: "s"
17123
- })], 8, Bg),
17124
- s("span", Vg, L(c.value), 1),
17162
+ })], 8, Ug),
17163
+ s("span", Wg, L(c.value), 1),
17125
17164
  s("button", {
17126
17165
  type: "button",
17127
17166
  class: "coar-plain-date-picker-year-btn",
@@ -17131,27 +17170,27 @@ var Ig = { class: "coar-plain-date-picker-calendar-column" }, Lg = ["aria-label"
17131
17170
  }, [u(Q, {
17132
17171
  name: "chevron-right",
17133
17172
  size: "s"
17134
- })], 8, Hg)
17173
+ })], 8, Gg)
17135
17174
  ]),
17136
- s("div", Ug, [s("div", {
17175
+ s("div", Kg, [s("div", {
17137
17176
  class: "coar-plain-date-picker-month-list",
17138
17177
  role: "listbox",
17139
17178
  "aria-label": V(i)("coar.ui.datePicker.months", void 0, "Months")
17140
- }, [s("div", Gg, [(D(!0), o(e, null, M(p.value, (e) => (D(), o("button", {
17179
+ }, [s("div", Jg, [(D(!0), o(e, null, M(p.value, (e) => (D(), o("button", {
17141
17180
  key: e.month,
17142
17181
  type: "button",
17143
17182
  class: x(["coar-plain-date-picker-month-item", { "coar-plain-date-picker-month-item--active": e.isActive }]),
17144
17183
  role: "option",
17145
17184
  "aria-selected": e.isActive,
17146
17185
  onClick: (n) => t.onSelectMonth(e.yearMonth)
17147
- }, L(e.name), 11, Kg))), 128))])], 8, Wg)]),
17148
- _.value.length > 0 ? (D(), o("div", qg, [s("div", Jg, [s("div", Yg, [(D(!0), o(e, null, M(_.value, (e) => (D(), o("div", {
17186
+ }, L(e.name), 11, Yg))), 128))])], 8, qg)]),
17187
+ _.value.length > 0 ? (D(), o("div", Xg, [s("div", Zg, [s("div", Qg, [(D(!0), o(e, null, M(_.value, (e) => (D(), o("div", {
17149
17188
  key: e.description,
17150
17189
  class: "coar-plain-date-picker-event-item"
17151
- }, [r[3] ||= s("span", { class: "coar-plain-date-picker-event-dot" }, null, -1), s("div", Xg, [s("span", Zg, L(e.description), 1), e.endDate && !e.startDate.equals(e.endDate) ? (D(), o("span", Qg, L(e.startDate.day) + "/" + L(e.startDate.month) + " – " + L(e.endDate.day) + "/" + L(e.endDate.month), 1)) : a("", !0)])]))), 128))])])])) : a("", !0)
17190
+ }, [r[3] ||= s("span", { class: "coar-plain-date-picker-event-dot" }, null, -1), s("div", $g, [s("span", e_, L(e.description), 1), e.endDate && !e.startDate.equals(e.endDate) ? (D(), o("span", t_, L(e.startDate.day) + "/" + L(e.startDate.month) + " – " + L(e.endDate.day) + "/" + L(e.endDate.month), 1)) : a("", !0)])]))), 128))])])])) : a("", !0)
17152
17191
  ])], 2));
17153
17192
  }
17154
- }), e_ = ["aria-label"], t_ = [
17193
+ }), r_ = ["aria-label"], i_ = [
17155
17194
  "id",
17156
17195
  "value",
17157
17196
  "placeholder",
@@ -17160,7 +17199,7 @@ var Ig = { class: "coar-plain-date-picker-calendar-column" }, Lg = ["aria-label"
17160
17199
  "required",
17161
17200
  "aria-invalid",
17162
17201
  "aria-describedby"
17163
- ], n_ = /* @__PURE__ */ Z(/* @__PURE__ */ d({
17202
+ ], a_ = /* @__PURE__ */ Z(/* @__PURE__ */ d({
17164
17203
  __name: "CoarPlainDatePicker",
17165
17204
  props: /* @__PURE__ */ v({
17166
17205
  placeholder: { default: "" },
@@ -17213,10 +17252,10 @@ var Ig = { class: "coar-plain-date-picker-calendar-column" }, Lg = ["aria-label"
17213
17252
  }),
17214
17253
  emits: /* @__PURE__ */ v(["opened", "closed"], ["update:modelValue"]),
17215
17254
  setup(e, { emit: t }) {
17216
- let n = e, i = U(e, "modelValue"), a = t, { t: l } = ae(), d = jg(i, n), { pickerBase: f, activeMonth: p, displayValue: m, inputPlaceholder: g } = d, v = h(yo, void 0), y = `coar-plain-date-picker-${crypto.randomUUID?.() ?? Date.now().toString(16)}`, S = r(() => n.id || v?.inputId.value || `${y}-input`), C = `${y}-panel`, E = j(null), O = () => E.value?.$el ?? void 0, A = j(null), M = null, N;
17255
+ let n = e, i = U(e, "modelValue"), a = t, { t: l } = ae(), d = Pg(i, n), { pickerBase: f, activeMonth: p, displayValue: m, inputPlaceholder: g } = d, v = h(yo, void 0), y = `coar-plain-date-picker-${crypto.randomUUID?.() ?? Date.now().toString(16)}`, S = r(() => n.id || v?.inputId.value || `${y}-input`), C = `${y}-panel`, E = j(null), O = () => E.value?.$el ?? void 0, A = j(null), M = null, N;
17217
17256
  function P() {
17218
17257
  if (N?.destroy(), !A.value) return;
17219
- let e = Pg(f.effectiveDateFormat.value.pattern);
17258
+ let e = Lg(f.effectiveDateFormat.value.pattern);
17220
17259
  N = new ce(A.value, e);
17221
17260
  }
17222
17261
  G([A, () => f.effectiveDateFormat.value], () => {
@@ -17284,7 +17323,7 @@ var Ig = { class: "coar-plain-date-picker-calendar-column" }, Lg = ["aria-label"
17284
17323
  },
17285
17324
  content: {
17286
17325
  kind: "component",
17287
- component: _($g)
17326
+ component: _(n_)
17288
17327
  },
17289
17328
  inputs: t
17290
17329
  }), f.open(), a("opened"), M.afterClosed.then(() => {
@@ -17332,7 +17371,7 @@ var Ig = { class: "coar-plain-date-picker-calendar-column" }, Lg = ["aria-label"
17332
17371
  "aria-controls": V(f).isOpen.value ? C : void 0,
17333
17372
  role: "combobox"
17334
17373
  }, c({
17335
- actions: K(() => [u(Og, {
17374
+ actions: K(() => [u(jg, {
17336
17375
  class: "coar-plain-date-picker-btn",
17337
17376
  "aria-label": V(l)("coar.ui.datePicker.openPicker", void 0, "Open picker"),
17338
17377
  disabled: L.value || e.readonly,
@@ -17361,7 +17400,7 @@ var Ig = { class: "coar-plain-date-picker-calendar-column" }, Lg = ["aria-label"
17361
17400
  onInput: ne,
17362
17401
  onBlur: q,
17363
17402
  onKeydown: W
17364
- }, null, 40, t_)]),
17403
+ }, null, 40, i_)]),
17365
17404
  _: 2
17366
17405
  }, [z.value ? {
17367
17406
  name: "leading",
@@ -17374,7 +17413,7 @@ var Ig = { class: "coar-plain-date-picker-calendar-column" }, Lg = ["aria-label"
17374
17413
  }, [u(Q, {
17375
17414
  name: "x",
17376
17415
  size: "auto"
17377
- })], 10, e_)]),
17416
+ })], 10, r_)]),
17378
17417
  key: "0"
17379
17418
  } : void 0]), 1032, [
17380
17419
  "size",
@@ -17389,11 +17428,11 @@ var Ig = { class: "coar-plain-date-picker-calendar-column" }, Lg = ["aria-label"
17389
17428
  }), [["__scopeId", "data-v-6c2a3e3c"]]);
17390
17429
  //#endregion
17391
17430
  //#region src/components/date-time/_shared/use-plain-date-time-picker.ts
17392
- function r_(e, t) {
17393
- let n = Ag({
17431
+ function o_(e, t) {
17432
+ let n = Ng({
17394
17433
  locale: r(() => t.locale),
17395
17434
  dateFormat: r(() => t.dateFormat)
17396
- }), i = j(e.value?.toPlainDate().toPlainYearMonth() ?? X.Now.plainDateISO().toPlainYearMonth()), a = j(null), o = j(""), s = r(() => t.use24Hour === !0 ? !0 : t.use24Hour === !1 ? !1 : !Oh(n.effectiveLocale.value)), c = r(() => {
17435
+ }), i = j(e.value?.toPlainDate().toPlainYearMonth() ?? X.Now.plainDateISO().toPlainYearMonth()), a = j(null), o = j(""), s = r(() => t.use24Hour === !0 ? !0 : t.use24Hour === !1 ? !1 : !jh(n.effectiveLocale.value)), c = r(() => {
17397
17436
  if (t.placeholder) return t.placeholder;
17398
17437
  let e = n.effectiveDateFormat.value.pattern.toUpperCase();
17399
17438
  return s.value ? `${e} HH:MM` : `${e} HH:MM AM/PM`;
@@ -17408,18 +17447,18 @@ function r_(e, t) {
17408
17447
  minutes: t.max.minute
17409
17448
  } : null), h = r(() => i.value.year <= X.Now.plainDateISO().year - 100), g = r(() => i.value.year >= X.Now.plainDateISO().year + 50), _ = r(() => X.Now.plainDateISO());
17410
17449
  function v(e) {
17411
- return `${eg(e.toPlainDate(), n.effectiveDateFormat.value.pattern)} ${kh(e.hour, e.minute, s.value, !0)}`;
17450
+ return `${rg(e.toPlainDate(), n.effectiveDateFormat.value.pattern)} ${Mh(e.hour, e.minute, s.value, !0)}`;
17412
17451
  }
17413
17452
  function y(e) {
17414
17453
  if (!e) return null;
17415
17454
  let t = e.split(" ");
17416
17455
  if (t.length < 2) return null;
17417
- let r = tg(t[0], n.effectiveDateFormat.value.pattern, {
17456
+ let r = ig(t[0], n.effectiveDateFormat.value.pattern, {
17418
17457
  min: d.value,
17419
17458
  max: f.value
17420
17459
  });
17421
17460
  if (!r) return null;
17422
- let i = Ah(t.slice(1).join(" "));
17461
+ let i = Nh(t.slice(1).join(" "));
17423
17462
  return i ? r.toPlainDateTime({
17424
17463
  hour: i.hours,
17425
17464
  minute: i.minutes
@@ -17441,7 +17480,7 @@ function r_(e, t) {
17441
17480
  let n = u.value ?? t.defaultTime;
17442
17481
  x(e, {
17443
17482
  hours: n.hours,
17444
- minutes: Fh(n.minutes, t.minuteStep)
17483
+ minutes: Rh(n.minutes, t.minuteStep)
17445
17484
  });
17446
17485
  }
17447
17486
  function C(e) {
@@ -17502,13 +17541,13 @@ function r_(e, t) {
17502
17541
  }
17503
17542
  //#endregion
17504
17543
  //#region src/components/date-time/plain-date-time-picker/CoarPlainDateTimePickerPanel.vue?vue&type=script&setup=true&lang.ts
17505
- var i_ = { class: "coar-pdtp-calendar-column" }, a_ = ["aria-label"], o_ = { class: "coar-pdtp-side-column" }, s_ = { class: "coar-pdtp-year-stepper" }, c_ = ["disabled", "aria-label"], l_ = { class: "coar-pdtp-year" }, u_ = ["disabled", "aria-label"], d_ = { class: "coar-pdtp-month-list-wrapper" }, f_ = ["aria-label"], p_ = { class: "coar-pdtp-month-list-content" }, m_ = ["aria-selected", "onClick"], h_ = { class: "coar-pdtp-time-section" }, g_ = {
17544
+ var s_ = { class: "coar-pdtp-calendar-column" }, c_ = ["aria-label"], l_ = { class: "coar-pdtp-side-column" }, u_ = { class: "coar-pdtp-year-stepper" }, d_ = ["disabled", "aria-label"], f_ = { class: "coar-pdtp-year" }, p_ = ["disabled", "aria-label"], m_ = { class: "coar-pdtp-month-list-wrapper" }, h_ = ["aria-label"], g_ = { class: "coar-pdtp-month-list-content" }, __ = ["aria-selected", "onClick"], v_ = { class: "coar-pdtp-time-section" }, y_ = {
17506
17545
  key: 0,
17507
17546
  class: "coar-pdtp-events"
17508
- }, __ = { class: "coar-pdtp-events-list" }, v_ = { class: "coar-pdtp-events-content" }, y_ = { class: "coar-pdtp-event-details" }, b_ = { class: "coar-pdtp-event-text" }, x_ = {
17547
+ }, b_ = { class: "coar-pdtp-events-list" }, x_ = { class: "coar-pdtp-events-content" }, S_ = { class: "coar-pdtp-event-details" }, C_ = { class: "coar-pdtp-event-text" }, w_ = {
17509
17548
  key: 0,
17510
17549
  class: "coar-pdtp-event-dates"
17511
- }, S_ = /* @__PURE__ */ d({
17550
+ }, T_ = /* @__PURE__ */ d({
17512
17551
  __name: "CoarPlainDateTimePickerPanel",
17513
17552
  props: {
17514
17553
  modelValue: {},
@@ -17559,7 +17598,7 @@ var i_ = { class: "coar-pdtp-calendar-column" }, a_ = ["aria-label"], o_ = { cla
17559
17598
  return n && r;
17560
17599
  }) : [];
17561
17600
  });
17562
- return (n, r) => (D(), o("div", { class: x(["coar-pdtp-panel", { "coar-pdtp-panel--with-weeks": t.showWeekNumbers }]) }, [s("div", i_, [u(_g, {
17601
+ return (n, r) => (D(), o("div", { class: x(["coar-pdtp-panel", { "coar-pdtp-panel--with-weeks": t.showWeekNumbers }]) }, [s("div", s_, [u(bg, {
17563
17602
  "model-value": t.modelValue,
17564
17603
  "active-month": t.activeMonth,
17565
17604
  min: t.min ?? void 0,
@@ -17592,8 +17631,8 @@ var i_ = { class: "coar-pdtp-calendar-column" }, a_ = ["aria-label"], o_ = { cla
17592
17631
  }, [u(Q, {
17593
17632
  name: h.value === "up" ? "chevron-up" : "chevron-down",
17594
17633
  size: "xs"
17595
- }, null, 8, ["name"])], 8, a_)) : a("", !0)]), s("div", o_, [
17596
- s("div", s_, [
17634
+ }, null, 8, ["name"])], 8, c_)) : a("", !0)]), s("div", l_, [
17635
+ s("div", u_, [
17597
17636
  s("button", {
17598
17637
  type: "button",
17599
17638
  class: "coar-pdtp-year-btn",
@@ -17603,8 +17642,8 @@ var i_ = { class: "coar-pdtp-calendar-column" }, a_ = ["aria-label"], o_ = { cla
17603
17642
  }, [u(Q, {
17604
17643
  name: "chevron-left",
17605
17644
  size: "s"
17606
- })], 8, c_),
17607
- s("span", l_, L(c.value), 1),
17645
+ })], 8, d_),
17646
+ s("span", f_, L(c.value), 1),
17608
17647
  s("button", {
17609
17648
  type: "button",
17610
17649
  class: "coar-pdtp-year-btn",
@@ -17614,21 +17653,21 @@ var i_ = { class: "coar-pdtp-calendar-column" }, a_ = ["aria-label"], o_ = { cla
17614
17653
  }, [u(Q, {
17615
17654
  name: "chevron-right",
17616
17655
  size: "s"
17617
- })], 8, u_)
17656
+ })], 8, p_)
17618
17657
  ]),
17619
- s("div", d_, [s("div", {
17658
+ s("div", m_, [s("div", {
17620
17659
  class: "coar-pdtp-month-list",
17621
17660
  role: "listbox",
17622
17661
  "aria-label": V(i)("coar.ui.datePicker.months", void 0, "Months")
17623
- }, [s("div", p_, [(D(!0), o(e, null, M(p.value, (e) => (D(), o("button", {
17662
+ }, [s("div", g_, [(D(!0), o(e, null, M(p.value, (e) => (D(), o("button", {
17624
17663
  key: e.month,
17625
17664
  type: "button",
17626
17665
  class: x(["coar-pdtp-month-item", { "coar-pdtp-month-item--active": e.isActive }]),
17627
17666
  role: "option",
17628
17667
  "aria-selected": e.isActive,
17629
17668
  onClick: (n) => t.onSelectMonth(e.yearMonth)
17630
- }, L(e.name), 11, m_))), 128))])], 8, f_)]),
17631
- s("div", h_, [u(Yh, {
17669
+ }, L(e.name), 11, __))), 128))])], 8, h_)]),
17670
+ s("div", v_, [u(Qh, {
17632
17671
  "model-value": t.selectedTime,
17633
17672
  "use24-hour": t.use24Hour,
17634
17673
  "minute-step": t.minuteStep,
@@ -17650,13 +17689,13 @@ var i_ = { class: "coar-pdtp-calendar-column" }, a_ = ["aria-label"], o_ = { cla
17650
17689
  "max-time",
17651
17690
  "onUpdate:modelValue"
17652
17691
  ])]),
17653
- _.value.length > 0 ? (D(), o("div", g_, [s("div", __, [s("div", v_, [(D(!0), o(e, null, M(_.value, (e) => (D(), o("div", {
17692
+ _.value.length > 0 ? (D(), o("div", y_, [s("div", b_, [s("div", x_, [(D(!0), o(e, null, M(_.value, (e) => (D(), o("div", {
17654
17693
  key: e.description,
17655
17694
  class: "coar-pdtp-event-item"
17656
- }, [r[3] ||= s("span", { class: "coar-pdtp-event-dot" }, null, -1), s("div", y_, [s("span", b_, L(e.description), 1), e.endDate && !e.startDate.equals(e.endDate) ? (D(), o("span", x_, L(e.startDate.day) + "/" + L(e.startDate.month) + " – " + L(e.endDate.day) + "/" + L(e.endDate.month), 1)) : a("", !0)])]))), 128))])])])) : a("", !0)
17695
+ }, [r[3] ||= s("span", { class: "coar-pdtp-event-dot" }, null, -1), s("div", S_, [s("span", C_, L(e.description), 1), e.endDate && !e.startDate.equals(e.endDate) ? (D(), o("span", w_, L(e.startDate.day) + "/" + L(e.startDate.month) + " – " + L(e.endDate.day) + "/" + L(e.endDate.month), 1)) : a("", !0)])]))), 128))])])])) : a("", !0)
17657
17696
  ])], 2));
17658
17697
  }
17659
- }), C_ = ["aria-label"], w_ = [
17698
+ }), E_ = ["aria-label"], D_ = [
17660
17699
  "id",
17661
17700
  "value",
17662
17701
  "placeholder",
@@ -17665,7 +17704,7 @@ var i_ = { class: "coar-pdtp-calendar-column" }, a_ = ["aria-label"], o_ = { cla
17665
17704
  "required",
17666
17705
  "aria-invalid",
17667
17706
  "aria-describedby"
17668
- ], T_ = /* @__PURE__ */ Z(/* @__PURE__ */ d({
17707
+ ], O_ = /* @__PURE__ */ Z(/* @__PURE__ */ d({
17669
17708
  __name: "CoarPlainDateTimePicker",
17670
17709
  props: /* @__PURE__ */ v({
17671
17710
  placeholder: { default: "" },
@@ -17723,10 +17762,10 @@ var i_ = { class: "coar-pdtp-calendar-column" }, a_ = ["aria-label"], o_ = { cla
17723
17762
  }),
17724
17763
  emits: /* @__PURE__ */ v(["opened", "closed"], ["update:modelValue"]),
17725
17764
  setup(e, { emit: t }) {
17726
- let n = e, i = U(e, "modelValue"), a = t, { t: l } = ae(), d = r_(i, n), { pickerBase: f, activeMonth: p, displayValue: m, effectiveUse24Hour: g, inputPlaceholder: v, selectedDate: y, selectedTime: S, minDate: C, maxDate: E, effectiveMinTime: O, effectiveMaxTime: A } = d, M = h(yo, void 0), N = `coar-plain-dt-picker-${crypto.randomUUID?.() ?? Date.now().toString(16)}`, P = r(() => n.id || M?.inputId.value || `${N}-input`), F = `${N}-panel`, I = j(null), L = () => I.value?.$el ?? void 0, R = j(null), z = null, B;
17765
+ let n = e, i = U(e, "modelValue"), a = t, { t: l } = ae(), d = o_(i, n), { pickerBase: f, activeMonth: p, displayValue: m, effectiveUse24Hour: g, inputPlaceholder: v, selectedDate: y, selectedTime: S, minDate: C, maxDate: E, effectiveMinTime: O, effectiveMaxTime: A } = d, M = h(yo, void 0), N = `coar-plain-dt-picker-${crypto.randomUUID?.() ?? Date.now().toString(16)}`, P = r(() => n.id || M?.inputId.value || `${N}-input`), F = `${N}-panel`, I = j(null), L = () => I.value?.$el ?? void 0, R = j(null), z = null, B;
17727
17766
  function H() {
17728
17767
  if (B?.destroy(), !R.value) return;
17729
- let e = Fg(f.effectiveDateFormat.value.pattern, !g.value);
17768
+ let e = Rg(f.effectiveDateFormat.value.pattern, !g.value);
17730
17769
  B = new ce(R.value, e);
17731
17770
  }
17732
17771
  G([R, () => f.effectiveDateFormat.value], () => {
@@ -17814,7 +17853,7 @@ var i_ = { class: "coar-pdtp-calendar-column" }, a_ = ["aria-label"], o_ = { cla
17814
17853
  },
17815
17854
  content: {
17816
17855
  kind: "component",
17817
- component: _(S_)
17856
+ component: _(T_)
17818
17857
  },
17819
17858
  inputs: t
17820
17859
  }), f.open(), a("opened"), z.afterClosed.then(() => {
@@ -17862,7 +17901,7 @@ var i_ = { class: "coar-pdtp-calendar-column" }, a_ = ["aria-label"], o_ = { cla
17862
17901
  "aria-controls": V(f).isOpen.value ? F : void 0,
17863
17902
  role: "combobox"
17864
17903
  }, c({
17865
- actions: K(() => [u(Og, {
17904
+ actions: K(() => [u(jg, {
17866
17905
  class: "coar-pdtp-btn",
17867
17906
  "aria-label": V(l)("coar.ui.dateTimePicker.openPicker", void 0, "Open picker"),
17868
17907
  disabled: te.value || e.readonly,
@@ -17891,7 +17930,7 @@ var i_ = { class: "coar-pdtp-calendar-column" }, a_ = ["aria-label"], o_ = { cla
17891
17930
  onInput: le,
17892
17931
  onBlur: Y,
17893
17932
  onKeydown: J
17894
- }, null, 40, w_)]),
17933
+ }, null, 40, D_)]),
17895
17934
  _: 2
17896
17935
  }, [q.value ? {
17897
17936
  name: "leading",
@@ -17904,7 +17943,7 @@ var i_ = { class: "coar-pdtp-calendar-column" }, a_ = ["aria-label"], o_ = { cla
17904
17943
  }, [u(Q, {
17905
17944
  name: "x",
17906
17945
  size: "auto"
17907
- })], 10, C_)]),
17946
+ })], 10, E_)]),
17908
17947
  key: "0"
17909
17948
  } : void 0]), 1032, [
17910
17949
  "size",
@@ -17919,19 +17958,19 @@ var i_ = { class: "coar-pdtp-calendar-column" }, a_ = ["aria-label"], o_ = { cla
17919
17958
  }), [["__scopeId", "data-v-9306588b"]]);
17920
17959
  //#endregion
17921
17960
  //#region src/components/date-time/_shared/timezone-helpers.ts
17922
- function E_() {
17961
+ function k_() {
17923
17962
  try {
17924
17963
  return ["UTC", ...Intl.supportedValuesOf("timeZone")];
17925
17964
  } catch {
17926
17965
  return ["UTC"];
17927
17966
  }
17928
17967
  }
17929
- function D_(e, t) {
17968
+ function A_(e, t) {
17930
17969
  let n = t ?? X.Now.instant();
17931
17970
  try {
17932
17971
  let t = n.toZonedDateTimeISO(e).offsetNanoseconds, r = Math.round(t / 6e10);
17933
17972
  return {
17934
- offset: O_(r),
17973
+ offset: j_(r),
17935
17974
  offsetMinutes: r
17936
17975
  };
17937
17976
  } catch {
@@ -17941,21 +17980,21 @@ function D_(e, t) {
17941
17980
  };
17942
17981
  }
17943
17982
  }
17944
- function O_(e) {
17983
+ function j_(e) {
17945
17984
  if (e === 0) return "UTC";
17946
17985
  let t = e >= 0 ? "+" : "-", n = Math.abs(e), r = Math.floor(n / 60), i = n % 60;
17947
17986
  return i === 0 ? `UTC${t}${r}` : `UTC${t}${r}:${String(i).padStart(2, "0")}`;
17948
17987
  }
17949
- function k_(e) {
17988
+ function M_(e) {
17950
17989
  if (e === "UTC") return "UTC";
17951
17990
  let t = e.split("/");
17952
17991
  return t[t.length - 1].replace(/_/g, " ");
17953
17992
  }
17954
- function A_(e, t) {
17955
- let n = k_(e), { offset: r } = D_(e, t);
17993
+ function N_(e, t) {
17994
+ let n = M_(e), { offset: r } = A_(e, t);
17956
17995
  return `${n} (${r})`;
17957
17996
  }
17958
- function j_(e, t) {
17997
+ function P_(e, t) {
17959
17998
  if (!t || t.length === 0) return e;
17960
17999
  let n = t.map((e) => {
17961
18000
  let t = e.replace(/[.+?^${}()|[\]\\]/g, "\\$&").replace(/\*/g, ".*");
@@ -17963,19 +18002,19 @@ function j_(e, t) {
17963
18002
  });
17964
18003
  return e.filter((e) => n.some((t) => t.test(e)));
17965
18004
  }
17966
- function M_(e, t) {
17967
- let { offset: n, offsetMinutes: r } = D_(e, t);
18005
+ function F_(e, t) {
18006
+ let { offset: n, offsetMinutes: r } = A_(e, t);
17968
18007
  return {
17969
18008
  id: e,
17970
- city: k_(e),
18009
+ city: M_(e),
17971
18010
  offset: n,
17972
18011
  offsetMinutes: r
17973
18012
  };
17974
18013
  }
17975
- function N_(e, t, n) {
18014
+ function I_(e, t, n) {
17976
18015
  let r = t?.trim().toLowerCase(), i = /* @__PURE__ */ new Map();
17977
18016
  for (let t of e) {
17978
- let e = M_(t, n);
18017
+ let e = F_(t, n);
17979
18018
  if (r && r.length > 0) {
17980
18019
  let n = e.city.toLowerCase().includes(r), i = t.toLowerCase().includes(r);
17981
18020
  if (!n && !i) continue;
@@ -17995,17 +18034,17 @@ function N_(e, t, n) {
17995
18034
  }
17996
18035
  //#endregion
17997
18036
  //#region src/components/date-time/_shared/use-zoned-date-time-picker.ts
17998
- function P_(e, t) {
17999
- let n = Ag({
18037
+ function L_(e, t) {
18038
+ let n = Ng({
18000
18039
  locale: r(() => t.locale),
18001
18040
  dateFormat: r(() => t.dateFormat)
18002
18041
  }), i = j(e.value?.toPlainDateTime().toPlainDate().toPlainYearMonth() ?? X.Now.plainDateISO().toPlainYearMonth()), a = j(null), o = j(null), s = j(""), c = r(() => n.timezone.value || Intl.DateTimeFormat().resolvedOptions().timeZone || "UTC"), l = r(() => e.value?.timeZoneId ?? null), u = r(() => o.value ?? c.value), d = r(() => t.timeZone ?? c.value), f = r(() => l.value != null && l.value !== c.value), p = r(() => l.value != null && u.value !== l.value), m = r(() => {
18003
18042
  let e = u.value, t = c.value, n = l.value;
18004
18043
  return e === t ? "home" : n && e === n ? "location" : "world";
18005
- }), h = r(() => f.value || m.value !== "home"), g = r(() => A_(u.value)), _ = r(() => {
18044
+ }), h = r(() => f.value || m.value !== "home"), g = r(() => N_(u.value)), _ = r(() => {
18006
18045
  let e = l.value;
18007
- return e ? A_(e) : "";
18008
- }), v = E_(), y = r(() => t.use24Hour === !0 ? !0 : t.use24Hour === !1 ? !1 : !Oh(n.effectiveLocale.value)), b = r(() => {
18046
+ return e ? N_(e) : "";
18047
+ }), v = k_(), y = r(() => t.use24Hour === !0 ? !0 : t.use24Hour === !1 ? !1 : !jh(n.effectiveLocale.value)), b = r(() => {
18009
18048
  if (t.placeholder) return t.placeholder;
18010
18049
  let e = n.effectiveDateFormat.value.pattern.toUpperCase();
18011
18050
  return y.value ? `${e} HH:MM` : `${e} HH:MM AM/PM`;
@@ -18029,17 +18068,17 @@ function P_(e, t) {
18029
18068
  }), k = r(() => i.value.year <= X.Now.plainDateISO().year - 100), A = r(() => i.value.year >= X.Now.plainDateISO().year + 50), M = r(() => X.Now.plainDateISO());
18030
18069
  function N(e) {
18031
18070
  let t = e.withTimeZone(u.value);
18032
- return `${eg(t.toPlainDate(), n.effectiveDateFormat.value.pattern)} ${kh(t.hour, t.minute, y.value, !0)}`;
18071
+ return `${rg(t.toPlainDate(), n.effectiveDateFormat.value.pattern)} ${Mh(t.hour, t.minute, y.value, !0)}`;
18033
18072
  }
18034
18073
  function P() {
18035
- return e.value ? `${eg(e.value.toPlainDate(), n.effectiveDateFormat.value.pattern)} ${kh(e.value.hour, e.value.minute, y.value)}` : "";
18074
+ return e.value ? `${rg(e.value.toPlainDate(), n.effectiveDateFormat.value.pattern)} ${Mh(e.value.hour, e.value.minute, y.value)}` : "";
18036
18075
  }
18037
18076
  function F(e) {
18038
18077
  let t = e.trim().split(/\s+/);
18039
18078
  if (t.length < 2) return null;
18040
- let r = tg(t[0], n.effectiveDateFormat.value.pattern);
18079
+ let r = ig(t[0], n.effectiveDateFormat.value.pattern);
18041
18080
  if (!r) return null;
18042
- let i = Ah(t.slice(1).join(" "));
18081
+ let i = Nh(t.slice(1).join(" "));
18043
18082
  if (!i) return null;
18044
18083
  let a = r.toPlainDateTime({
18045
18084
  hour: i.hours,
@@ -18068,7 +18107,7 @@ function P_(e, t) {
18068
18107
  let n = w.value ?? t.defaultTime;
18069
18108
  L(e, {
18070
18109
  hours: n.hours,
18071
- minutes: Fh(n.minutes, t.minuteStep)
18110
+ minutes: Rh(n.minutes, t.minuteStep)
18072
18111
  });
18073
18112
  }
18074
18113
  function z(e) {
@@ -18156,25 +18195,25 @@ function P_(e, t) {
18156
18195
  }
18157
18196
  //#endregion
18158
18197
  //#region src/components/date-time/zoned-date-time-picker/CoarZonedDateTimePickerPanel.vue?vue&type=script&setup=true&lang.ts
18159
- var F_ = { class: "coar-zdtp-body" }, I_ = { class: "coar-zdtp-calendar-column" }, L_ = ["aria-label"], R_ = { class: "coar-zdtp-side-column" }, z_ = {
18198
+ var R_ = { class: "coar-zdtp-body" }, z_ = { class: "coar-zdtp-calendar-column" }, B_ = ["aria-label"], V_ = { class: "coar-zdtp-side-column" }, H_ = {
18160
18199
  key: 0,
18161
18200
  class: "coar-zdtp-side-header"
18162
- }, B_ = ["disabled", "aria-label"], V_ = { class: "coar-zdtp-year" }, H_ = ["disabled", "aria-label"], U_ = {
18201
+ }, U_ = ["disabled", "aria-label"], W_ = { class: "coar-zdtp-year" }, G_ = ["disabled", "aria-label"], K_ = {
18163
18202
  key: 1,
18164
18203
  class: "coar-zdtp-side-header coar-zdtp-side-header--search"
18165
- }, W_ = ["placeholder", "onKeydown"], G_ = ["aria-label"], K_ = { class: "coar-zdtp-tz-group-header" }, q_ = ["onClick"], J_ = { class: "coar-zdtp-tz-picker-item-city" }, Y_ = { class: "coar-zdtp-tz-picker-item-offset" }, X_ = ["aria-label"], Z_ = ["aria-selected", "onClick"], Q_ = { class: "coar-zdtp-time-section" }, $_ = { class: "coar-zdtp-display-tz-label" }, ev = { class: "coar-zdtp-display-tz-btn-label" }, tv = {
18204
+ }, q_ = ["placeholder", "onKeydown"], J_ = ["aria-label"], Y_ = { class: "coar-zdtp-tz-group-header" }, X_ = ["onClick"], Z_ = { class: "coar-zdtp-tz-picker-item-city" }, Q_ = { class: "coar-zdtp-tz-picker-item-offset" }, $_ = ["aria-label"], ev = ["aria-selected", "onClick"], tv = { class: "coar-zdtp-time-section" }, nv = { class: "coar-zdtp-display-tz-label" }, rv = { class: "coar-zdtp-display-tz-btn-label" }, iv = {
18166
18205
  key: 0,
18167
18206
  class: "coar-zdtp-events"
18168
- }, nv = {
18207
+ }, av = {
18169
18208
  key: 0,
18170
18209
  class: "coar-zdtp-footer-placeholder"
18171
- }, rv = {
18210
+ }, ov = {
18172
18211
  key: 1,
18173
18212
  class: "coar-zdtp-footer-edit"
18174
- }, iv = ["aria-label"], av = {
18213
+ }, sv = ["aria-label"], cv = {
18175
18214
  key: 2,
18176
18215
  class: "coar-zdtp-footer-display"
18177
- }, ov = { class: "coar-zdtp-footer-tz-name" }, sv = { class: "coar-zdtp-footer-tz-value" }, cv = ["aria-label"], lv = /* @__PURE__ */ d({
18216
+ }, lv = { class: "coar-zdtp-footer-tz-name" }, uv = { class: "coar-zdtp-footer-tz-value" }, dv = ["aria-label"], fv = /* @__PURE__ */ d({
18178
18217
  __name: "CoarZonedDateTimePickerPanel",
18179
18218
  props: {
18180
18219
  modelValue: {},
@@ -18232,9 +18271,9 @@ var F_ = { class: "coar-zdtp-body" }, I_ = { class: "coar-zdtp-calendar-column"
18232
18271
  let n = X.PlainDate.compare(e, t.startDate) >= 0, r = t.endDate ? X.PlainDate.compare(e, t.endDate) <= 0 : X.PlainDate.compare(e, t.startDate) === 0;
18233
18272
  return n && r;
18234
18273
  }) : [];
18235
- }), T = r(() => j_(n.allTimezones, n.timezoneFilter)), E = r(() => N_(T.value, d.value)), O = r(() => T.value.map((e) => ({
18274
+ }), T = r(() => P_(n.allTimezones, n.timezoneFilter)), E = r(() => I_(T.value, d.value)), O = r(() => T.value.map((e) => ({
18236
18275
  value: e,
18237
- label: A_(e)
18276
+ label: N_(e)
18238
18277
  })));
18239
18278
  function k() {
18240
18279
  c.value = !0, d.value = "", b(() => {
@@ -18261,7 +18300,7 @@ var F_ = { class: "coar-zdtp-body" }, I_ = { class: "coar-zdtp-calendar-column"
18261
18300
  function I() {
18262
18301
  l.value = !1;
18263
18302
  }
18264
- return (n, r) => (D(), o("div", { class: x(["coar-zdtp-panel", { "coar-zdtp-panel--with-weeks": t.showWeekNumbers }]) }, [s("div", F_, [s("div", I_, [u(_g, {
18303
+ return (n, r) => (D(), o("div", { class: x(["coar-zdtp-panel", { "coar-zdtp-panel--with-weeks": t.showWeekNumbers }]) }, [s("div", R_, [s("div", z_, [u(bg, {
18265
18304
  "model-value": t.modelValue,
18266
18305
  "active-month": t.activeMonth,
18267
18306
  min: t.min ?? void 0,
@@ -18294,8 +18333,8 @@ var F_ = { class: "coar-zdtp-body" }, I_ = { class: "coar-zdtp-calendar-column"
18294
18333
  }, [u(Q, {
18295
18334
  name: S.value === "up" ? "chevron-up" : "chevron-down",
18296
18335
  size: "xs"
18297
- }, null, 8, ["name"])], 8, L_)) : a("", !0)]), s("div", R_, [
18298
- c.value ? (D(), o("div", U_, [q(s("input", {
18336
+ }, null, 8, ["name"])], 8, B_)) : a("", !0)]), s("div", V_, [
18337
+ c.value ? (D(), o("div", K_, [q(s("input", {
18299
18338
  ref_key: "tzSearchInputRef",
18300
18339
  ref: f,
18301
18340
  "onUpdate:modelValue": r[3] ||= (e) => d.value = e,
@@ -18303,7 +18342,7 @@ var F_ = { class: "coar-zdtp-body" }, I_ = { class: "coar-zdtp-calendar-column"
18303
18342
  class: "coar-zdtp-tz-search-input",
18304
18343
  placeholder: V(i)("coar.ui.zonedDateTimePicker.searchTimezone", void 0, "Search timezone..."),
18305
18344
  onKeydown: re(ie(A, ["stop"]), ["escape"])
18306
- }, null, 40, W_), [[te, d.value]]), s("button", {
18345
+ }, null, 40, q_), [[te, d.value]]), s("button", {
18307
18346
  type: "button",
18308
18347
  class: "coar-zdtp-tz-search-close",
18309
18348
  "aria-label": V(i)("coar.ui.zonedDateTimePicker.closeTimezoneSearch", void 0, "Close timezone search"),
@@ -18311,7 +18350,7 @@ var F_ = { class: "coar-zdtp-body" }, I_ = { class: "coar-zdtp-calendar-column"
18311
18350
  }, [u(Q, {
18312
18351
  name: "x",
18313
18352
  size: "xs"
18314
- })], 8, G_)])) : (D(), o("div", z_, [
18353
+ })], 8, J_)])) : (D(), o("div", H_, [
18315
18354
  s("button", {
18316
18355
  type: "button",
18317
18356
  class: "coar-zdtp-year-btn",
@@ -18321,8 +18360,8 @@ var F_ = { class: "coar-zdtp-body" }, I_ = { class: "coar-zdtp-calendar-column"
18321
18360
  }, [u(Q, {
18322
18361
  name: "chevron-left",
18323
18362
  size: "s"
18324
- })], 8, B_),
18325
- s("span", V_, L(m.value), 1),
18363
+ })], 8, U_),
18364
+ s("span", W_, L(m.value), 1),
18326
18365
  s("button", {
18327
18366
  type: "button",
18328
18367
  class: "coar-zdtp-year-btn",
@@ -18332,7 +18371,7 @@ var F_ = { class: "coar-zdtp-body" }, I_ = { class: "coar-zdtp-calendar-column"
18332
18371
  }, [u(Q, {
18333
18372
  name: "chevron-right",
18334
18373
  size: "s"
18335
- })], 8, H_)
18374
+ })], 8, G_)
18336
18375
  ])),
18337
18376
  c.value ? q((D(), o("div", {
18338
18377
  key: 2,
@@ -18342,12 +18381,12 @@ var F_ = { class: "coar-zdtp-body" }, I_ = { class: "coar-zdtp-calendar-column"
18342
18381
  }, [(D(!0), o(e, null, M(E.value, (n) => (D(), o("div", {
18343
18382
  key: n.name,
18344
18383
  class: "coar-zdtp-tz-group"
18345
- }, [s("div", K_, L(n.name), 1), (D(!0), o(e, null, M(n.items, (e) => (D(), o("button", {
18384
+ }, [s("div", Y_, L(n.name), 1), (D(!0), o(e, null, M(n.items, (e) => (D(), o("button", {
18346
18385
  key: e.id,
18347
18386
  type: "button",
18348
18387
  class: x(["coar-zdtp-tz-picker-item", { "coar-zdtp-tz-picker-item--active": e.id === t.effectiveDisplayTimeZone }]),
18349
18388
  onClick: (t) => N(e.id)
18350
- }, [s("span", J_, L(e.city), 1), s("span", Y_, L(e.offset), 1)], 10, q_))), 128))]))), 128))])), [[V(eo), {
18389
+ }, [s("span", Z_, L(e.city), 1), s("span", Q_, L(e.offset), 1)], 10, X_))), 128))]))), 128))])), [[V(eo), {
18351
18390
  overflowX: "hidden",
18352
18391
  autoHide: "leave"
18353
18392
  }]]) : a("", !0),
@@ -18363,8 +18402,8 @@ var F_ = { class: "coar-zdtp-body" }, I_ = { class: "coar-zdtp-calendar-column"
18363
18402
  role: "option",
18364
18403
  "aria-selected": e.isActive,
18365
18404
  onClick: (n) => t.onSelectMonth(e.yearMonth)
18366
- }, L(e.name), 11, Z_))), 128))], 8, X_),
18367
- s("div", Q_, [u(Yh, {
18405
+ }, L(e.name), 11, ev))), 128))], 8, $_),
18406
+ s("div", tv, [u(Qh, {
18368
18407
  "model-value": t.selectedTime ?? void 0,
18369
18408
  "use24-hour": t.use24Hour,
18370
18409
  "minute-step": t.minuteStep,
@@ -18380,16 +18419,16 @@ var F_ = { class: "coar-zdtp-body" }, I_ = { class: "coar-zdtp-calendar-column"
18380
18419
  "max",
18381
18420
  "onUpdate:modelValue"
18382
18421
  ])]),
18383
- s("div", $_, L(V(i)("coar.ui.zonedDateTimePicker.displayTimezone", void 0, "Display Timezone")), 1),
18422
+ s("div", nv, L(V(i)("coar.ui.zonedDateTimePicker.displayTimezone", void 0, "Display Timezone")), 1),
18384
18423
  s("button", {
18385
18424
  type: "button",
18386
18425
  class: "coar-zdtp-display-tz-btn",
18387
18426
  onClick: k
18388
- }, [s("span", ev, L(V(A_)(t.effectiveDisplayTimeZone)), 1), u(Q, {
18427
+ }, [s("span", rv, L(V(N_)(t.effectiveDisplayTimeZone)), 1), u(Q, {
18389
18428
  name: "chevron-down",
18390
18429
  size: "xs"
18391
18430
  })]),
18392
- w.value.length > 0 ? q((D(), o("div", tv, [(D(!0), o(e, null, M(w.value, (e, t) => (D(), o("div", {
18431
+ w.value.length > 0 ? q((D(), o("div", iv, [(D(!0), o(e, null, M(w.value, (e, t) => (D(), o("div", {
18393
18432
  key: t,
18394
18433
  class: x(["coar-zdtp-event-item", e.cssClass])
18395
18434
  }, L(e.description), 3))), 128))])), [[V(eo), {
@@ -18397,7 +18436,7 @@ var F_ = { class: "coar-zdtp-body" }, I_ = { class: "coar-zdtp-calendar-column"
18397
18436
  autoHide: "leave"
18398
18437
  }]]) : a("", !0)
18399
18438
  ], 64))
18400
- ])]), s("div", { class: x(["coar-zdtp-footer", { "coar-zdtp-footer--differs": t.timeZonesDiffer }]) }, [t.hasValue ? l.value ? (D(), o("div", rv, [u(_l, {
18439
+ ])]), s("div", { class: x(["coar-zdtp-footer", { "coar-zdtp-footer--differs": t.timeZonesDiffer }]) }, [t.hasValue ? l.value ? (D(), o("div", ov, [u(_l, {
18401
18440
  "model-value": t.valueTimeZone,
18402
18441
  options: O.value,
18403
18442
  appearance: "inline",
@@ -18420,14 +18459,14 @@ var F_ = { class: "coar-zdtp-body" }, I_ = { class: "coar-zdtp-calendar-column"
18420
18459
  }, [u(Q, {
18421
18460
  name: "x",
18422
18461
  size: "xs"
18423
- })], 8, iv)])) : (D(), o("div", av, [
18462
+ })], 8, sv)])) : (D(), o("div", cv, [
18424
18463
  u(Q, {
18425
18464
  name: "map-pin",
18426
18465
  size: "xs",
18427
18466
  class: "coar-zdtp-footer-icon"
18428
18467
  }),
18429
- s("span", ov, L(t.valueTimeZoneLabel), 1),
18430
- s("span", sv, L(t.formatValueInValueTz), 1),
18468
+ s("span", lv, L(t.valueTimeZoneLabel), 1),
18469
+ s("span", uv, L(t.formatValueInValueTz), 1),
18431
18470
  s("button", {
18432
18471
  type: "button",
18433
18472
  class: "coar-zdtp-footer-lock",
@@ -18436,13 +18475,13 @@ var F_ = { class: "coar-zdtp-body" }, I_ = { class: "coar-zdtp-calendar-column"
18436
18475
  }, [u(Q, {
18437
18476
  name: "settings",
18438
18477
  size: "xs"
18439
- })], 8, cv)
18440
- ])) : (D(), o("span", nv, [u(Q, {
18478
+ })], 8, dv)
18479
+ ])) : (D(), o("span", av, [u(Q, {
18441
18480
  name: "map-pin",
18442
18481
  size: "xs"
18443
18482
  }), s("span", null, L(V(i)("coar.ui.zonedDateTimePicker.eventTimezone", void 0, "Event timezone")), 1)]))], 2)], 2));
18444
18483
  }
18445
- }), uv = ["aria-label", "disabled"], dv = [
18484
+ }), pv = ["aria-label", "disabled"], mv = [
18446
18485
  "id",
18447
18486
  "placeholder",
18448
18487
  "value",
@@ -18450,7 +18489,7 @@ var F_ = { class: "coar-zdtp-body" }, I_ = { class: "coar-zdtp-calendar-column"
18450
18489
  "readonly",
18451
18490
  "required",
18452
18491
  "aria-describedby"
18453
- ], fv = ["aria-label", "disabled"], pv = ["title"], mv = /* @__PURE__ */ Z(/* @__PURE__ */ d({
18492
+ ], hv = ["aria-label", "disabled"], gv = ["title"], _v = /* @__PURE__ */ Z(/* @__PURE__ */ d({
18454
18493
  __name: "CoarZonedDateTimePicker",
18455
18494
  props: /* @__PURE__ */ v({
18456
18495
  placeholder: { default: "" },
@@ -18510,10 +18549,10 @@ var F_ = { class: "coar-zdtp-body" }, I_ = { class: "coar-zdtp-calendar-column"
18510
18549
  }),
18511
18550
  emits: /* @__PURE__ */ v(["opened", "closed"], ["update:modelValue"]),
18512
18551
  setup(e, { emit: t }) {
18513
- let n = e, i = U(e, "modelValue"), l = t, { t: d } = ae(), f = P_(i, n), { pickerBase: p, activeMonth: m, displayValue: g, valueTimeZone: v, effectiveDisplayTimeZone: y, timeZonesDiffer: S, timezoneIndicatorState: C, timezoneIndicatorClickable: E, currentTimeZoneDisplayName: O, valueTimeZoneLabel: A, allTimezones: M, effectiveUse24Hour: N, inputPlaceholder: P, valueInWorkingTz: F, selectedDate: I, selectedTime: R, minDate: z, maxDate: B, effectiveMinTime: H, effectiveMaxTime: ee, formatValueInValueTz: W, toggleDisplayTimezone: te } = f, ne = h(yo, void 0), q = `coar-zdtp-${crypto.randomUUID?.() ?? Date.now().toString(16)}`, re = r(() => n.id || ne?.inputId.value || `${q}-input`), oe = `${q}-panel`, J = j(null), se = () => J.value?.$el ?? void 0, le = j(null), Y = null, ue;
18552
+ let n = e, i = U(e, "modelValue"), l = t, { t: d } = ae(), f = L_(i, n), { pickerBase: p, activeMonth: m, displayValue: g, valueTimeZone: v, effectiveDisplayTimeZone: y, timeZonesDiffer: S, timezoneIndicatorState: C, timezoneIndicatorClickable: E, currentTimeZoneDisplayName: O, valueTimeZoneLabel: A, allTimezones: M, effectiveUse24Hour: N, inputPlaceholder: P, valueInWorkingTz: F, selectedDate: I, selectedTime: R, minDate: z, maxDate: B, effectiveMinTime: H, effectiveMaxTime: ee, formatValueInValueTz: W, toggleDisplayTimezone: te } = f, ne = h(yo, void 0), q = `coar-zdtp-${crypto.randomUUID?.() ?? Date.now().toString(16)}`, re = r(() => n.id || ne?.inputId.value || `${q}-input`), oe = `${q}-panel`, J = j(null), se = () => J.value?.$el ?? void 0, le = j(null), Y = null, ue;
18514
18553
  function X() {
18515
18554
  if (ue?.destroy(), !le.value) return;
18516
- let e = Fg(p.effectiveDateFormat.value.pattern, !N.value);
18555
+ let e = Rg(p.effectiveDateFormat.value.pattern, !N.value);
18517
18556
  ue = new ce(le.value, e);
18518
18557
  }
18519
18558
  G([le, () => p.effectiveDateFormat.value], () => {
@@ -18617,7 +18656,7 @@ var F_ = { class: "coar-zdtp-body" }, I_ = { class: "coar-zdtp-calendar-column"
18617
18656
  },
18618
18657
  content: {
18619
18658
  kind: "component",
18620
- component: _(lv)
18659
+ component: _(fv)
18621
18660
  },
18622
18661
  inputs: t
18623
18662
  }), p.open(), l("opened"), Y.afterClosed.then(() => {
@@ -18683,8 +18722,8 @@ var F_ = { class: "coar-zdtp-body" }, I_ = { class: "coar-zdtp-calendar-column"
18683
18722
  }, [u(Q, {
18684
18723
  name: Ce.value,
18685
18724
  size: "xs"
18686
- }, null, 8, ["name"])], 10, fv)]),
18687
- actions: K(() => [u(Og, {
18725
+ }, null, 8, ["name"])], 10, hv)]),
18726
+ actions: K(() => [u(jg, {
18688
18727
  class: "coar-zdtp-btn",
18689
18728
  disabled: pe.value,
18690
18729
  "aria-label": V(d)("coar.ui.zonedDateTimePicker.openPicker", void 0, "Open date and time picker"),
@@ -18711,7 +18750,7 @@ var F_ = { class: "coar-zdtp-body" }, I_ = { class: "coar-zdtp-calendar-column"
18711
18750
  autocomplete: "off",
18712
18751
  onInput: xe,
18713
18752
  onBlur: Se
18714
- }, null, 40, dv)]),
18753
+ }, null, 40, mv)]),
18715
18754
  _: 2
18716
18755
  }, [he.value ? {
18717
18756
  name: "leading",
@@ -18725,7 +18764,7 @@ var F_ = { class: "coar-zdtp-body" }, I_ = { class: "coar-zdtp-calendar-column"
18725
18764
  }, [u(Q, {
18726
18765
  name: "x",
18727
18766
  size: "auto"
18728
- })], 10, uv)]),
18767
+ })], 10, pv)]),
18729
18768
  key: "0"
18730
18769
  } : void 0]), 1032, [
18731
18770
  "aria-expanded",
@@ -18740,12 +18779,12 @@ var F_ = { class: "coar-zdtp-body" }, I_ = { class: "coar-zdtp-calendar-column"
18740
18779
  key: 0,
18741
18780
  class: "coar-zdtp-tz-inline",
18742
18781
  title: V(O)
18743
- }, L(V(O)), 9, pv)) : a("", !0)], 2));
18782
+ }, L(V(O)), 9, gv)) : a("", !0)], 2));
18744
18783
  }
18745
18784
  }), [["__scopeId", "data-v-4e0f7437"]]);
18746
18785
  //#endregion
18747
18786
  //#region src/components/date-time/_shared/use-date-or-time.ts
18748
- function hv(e, t, n) {
18787
+ function vv(e, t, n) {
18749
18788
  return G(e, (e) => {
18750
18789
  e != null && (t.value = n.isDateTime(e));
18751
18790
  }, { immediate: !0 }), {
@@ -18775,7 +18814,7 @@ function hv(e, t, n) {
18775
18814
  }
18776
18815
  //#endregion
18777
18816
  //#region src/components/date-time/zoned-date-time-or-date-picker/CoarZonedDateTimeOrDatePicker.vue
18778
- var gv = /* @__PURE__ */ d({
18817
+ var yv = /* @__PURE__ */ d({
18779
18818
  __name: "CoarZonedDateTimeOrDatePicker",
18780
18819
  props: /* @__PURE__ */ v({
18781
18820
  placeholder: { default: "" },
@@ -18828,7 +18867,7 @@ var gv = /* @__PURE__ */ d({
18828
18867
  roundingMode: "halfExpand"
18829
18868
  });
18830
18869
  }
18831
- let { dateValue: d, dateTimeValue: f, setDate: p, setDateTime: m, toggle: h } = hv(s, c, {
18870
+ let { dateValue: d, dateTimeValue: f, setDate: p, setDateTime: m, toggle: h } = vv(s, c, {
18832
18871
  isDateTime: (e) => e instanceof X.ZonedDateTime,
18833
18872
  toDateTime: (e) => e.toZonedDateTime({
18834
18873
  timeZone: n.timeZone ?? Intl.DateTimeFormat().resolvedOptions().timeZone,
@@ -18853,7 +18892,7 @@ var gv = /* @__PURE__ */ d({
18853
18892
  "aria-pressed",
18854
18893
  "aria-label",
18855
18894
  "onClick"
18856
- ]), [[V(sl), v.value]]), c.value ? (D(), i(mv, {
18895
+ ]), [[V(sl), v.value]]), c.value ? (D(), i(_v, {
18857
18896
  key: 0,
18858
18897
  class: "coar-date-or-time__input",
18859
18898
  "model-value": V(f),
@@ -18889,7 +18928,7 @@ var gv = /* @__PURE__ */ d({
18889
18928
  "time-zone",
18890
18929
  "timezone-filter",
18891
18930
  "onUpdate:modelValue"
18892
- ])) : (D(), i(n_, {
18931
+ ])) : (D(), i(a_, {
18893
18932
  key: 1,
18894
18933
  class: "coar-date-or-time__input",
18895
18934
  "model-value": V(d),
@@ -18921,7 +18960,7 @@ var gv = /* @__PURE__ */ d({
18921
18960
  "onUpdate:modelValue"
18922
18961
  ]))], 2));
18923
18962
  }
18924
- }), _v = /* @__PURE__ */ d({
18963
+ }), bv = /* @__PURE__ */ d({
18925
18964
  __name: "CoarPlainDateTimeOrDatePicker",
18926
18965
  props: /* @__PURE__ */ v({
18927
18966
  placeholder: { default: "" },
@@ -18972,7 +19011,7 @@ var gv = /* @__PURE__ */ d({
18972
19011
  roundingMode: "halfExpand"
18973
19012
  });
18974
19013
  }
18975
- let { dateValue: d, dateTimeValue: f, setDate: p, setDateTime: m, toggle: h } = hv(s, c, {
19014
+ let { dateValue: d, dateTimeValue: f, setDate: p, setDateTime: m, toggle: h } = vv(s, c, {
18976
19015
  isDateTime: (e) => e instanceof X.PlainDateTime,
18977
19016
  toDateTime: (e) => e.toPlainDateTime(l()),
18978
19017
  toDate: (e) => e.toPlainDate()
@@ -18994,7 +19033,7 @@ var gv = /* @__PURE__ */ d({
18994
19033
  "aria-pressed",
18995
19034
  "aria-label",
18996
19035
  "onClick"
18997
- ]), [[V(sl), v.value]]), c.value ? (D(), i(T_, {
19036
+ ]), [[V(sl), v.value]]), c.value ? (D(), i(O_, {
18998
19037
  key: 0,
18999
19038
  class: "coar-date-or-time__input",
19000
19039
  "model-value": V(f),
@@ -19026,7 +19065,7 @@ var gv = /* @__PURE__ */ d({
19026
19065
  "max",
19027
19066
  "minute-step",
19028
19067
  "onUpdate:modelValue"
19029
- ])) : (D(), i(n_, {
19068
+ ])) : (D(), i(a_, {
19030
19069
  key: 1,
19031
19070
  class: "coar-date-or-time__input",
19032
19071
  "model-value": V(d),
@@ -19058,7 +19097,7 @@ var gv = /* @__PURE__ */ d({
19058
19097
  "onUpdate:modelValue"
19059
19098
  ]))], 2));
19060
19099
  }
19061
- }), vv = /* @__PURE__ */ Z(/* @__PURE__ */ d({
19100
+ }), xv = /* @__PURE__ */ Z(/* @__PURE__ */ d({
19062
19101
  __name: "CoarPlainDateView",
19063
19102
  props: {
19064
19103
  value: { default: null },
@@ -19068,17 +19107,17 @@ var gv = /* @__PURE__ */ d({
19068
19107
  size: { default: "m" }
19069
19108
  },
19070
19109
  setup(e) {
19071
- let t = e, n = Ag({
19110
+ let t = e, n = Ng({
19072
19111
  locale: z(t, "locale"),
19073
19112
  dateFormat: z(t, "dateFormat")
19074
19113
  });
19075
19114
  function i(e) {
19076
19115
  return typeof e == "object" && !!e && Object.prototype.toString.call(e) === "[object Temporal.PlainDate]";
19077
19116
  }
19078
- let a = r(() => i(t.value) ? eg(t.value, n.effectiveDateFormat.value.pattern) : ""), s = r(() => a.value || t.placeholder), c = r(() => !a.value);
19117
+ let a = r(() => i(t.value) ? rg(t.value, n.effectiveDateFormat.value.pattern) : ""), s = r(() => a.value || t.placeholder), c = r(() => !a.value);
19079
19118
  return (t, n) => (D(), o("span", { class: x(["coar-plain-date-view", [`coar-plain-date-view--${e.size}`, { "coar-plain-date-view--empty": c.value }]]) }, L(s.value), 3));
19080
19119
  }
19081
- }), [["__scopeId", "data-v-c8cf9804"]]), yv = /* @__PURE__ */ Z(/* @__PURE__ */ d({
19120
+ }), [["__scopeId", "data-v-c8cf9804"]]), Sv = /* @__PURE__ */ Z(/* @__PURE__ */ d({
19082
19121
  __name: "CoarPlainDateTimeView",
19083
19122
  props: {
19084
19123
  value: { default: null },
@@ -19092,17 +19131,17 @@ var gv = /* @__PURE__ */ d({
19092
19131
  size: { default: "m" }
19093
19132
  },
19094
19133
  setup(e) {
19095
- let t = e, n = Ag({
19134
+ let t = e, n = Ng({
19096
19135
  locale: z(t, "locale"),
19097
19136
  dateFormat: z(t, "dateFormat")
19098
- }), i = r(() => t.use24Hour === !0 ? !0 : t.use24Hour === !1 ? !1 : !Oh(n.effectiveLocale.value));
19137
+ }), i = r(() => t.use24Hour === !0 ? !0 : t.use24Hour === !1 ? !1 : !jh(n.effectiveLocale.value));
19099
19138
  function a(e) {
19100
19139
  return typeof e == "object" && !!e && Object.prototype.toString.call(e) === "[object Temporal.PlainDateTime]";
19101
19140
  }
19102
- let s = r(() => a(t.value) ? `${eg(t.value.toPlainDate(), n.effectiveDateFormat.value.pattern)} ${kh(t.value.hour, t.value.minute, i.value)}` : ""), c = r(() => s.value || t.placeholder), l = r(() => !s.value);
19141
+ let s = r(() => a(t.value) ? `${rg(t.value.toPlainDate(), n.effectiveDateFormat.value.pattern)} ${Mh(t.value.hour, t.value.minute, i.value)}` : ""), c = r(() => s.value || t.placeholder), l = r(() => !s.value);
19103
19142
  return (t, n) => (D(), o("span", { class: x(["coar-plain-date-time-view", [`coar-plain-date-time-view--${e.size}`, { "coar-plain-date-time-view--empty": l.value }]]) }, L(c.value), 3));
19104
19143
  }
19105
- }), [["__scopeId", "data-v-f32044ac"]]), bv = /* @__PURE__ */ Z(/* @__PURE__ */ d({
19144
+ }), [["__scopeId", "data-v-f32044ac"]]), Cv = /* @__PURE__ */ Z(/* @__PURE__ */ d({
19106
19145
  __name: "CoarZonedDateTimeView",
19107
19146
  props: {
19108
19147
  value: { default: null },
@@ -19121,20 +19160,20 @@ var gv = /* @__PURE__ */ d({
19121
19160
  size: { default: "m" }
19122
19161
  },
19123
19162
  setup(e) {
19124
- let t = e, n = Ag({
19163
+ let t = e, n = Ng({
19125
19164
  locale: z(t, "locale"),
19126
19165
  dateFormat: z(t, "dateFormat")
19127
- }), i = r(() => t.use24Hour === !0 ? !0 : t.use24Hour === !1 ? !1 : !Oh(n.effectiveLocale.value));
19166
+ }), i = r(() => t.use24Hour === !0 ? !0 : t.use24Hour === !1 ? !1 : !jh(n.effectiveLocale.value));
19128
19167
  function a(e) {
19129
19168
  return typeof e == "object" && !!e && Object.prototype.toString.call(e) === "[object Temporal.ZonedDateTime]";
19130
19169
  }
19131
19170
  let s = r(() => t.displayTimeZone ? t.displayTimeZone : a(t.value) ? t.value.timeZoneId : null), c = r(() => {
19132
19171
  if (!a(t.value)) return "";
19133
- let e = s.value, r = e ? t.value.withTimeZone(e) : t.value, o = eg(r.toPlainDate(), n.effectiveDateFormat.value.pattern), c = kh(r.hour, r.minute, i.value);
19134
- return !t.showTimeZone || !e ? `${o} ${c}` : `${o} ${c} ${A_(e, r.toInstant())}`;
19172
+ let e = s.value, r = e ? t.value.withTimeZone(e) : t.value, o = rg(r.toPlainDate(), n.effectiveDateFormat.value.pattern), c = Mh(r.hour, r.minute, i.value);
19173
+ return !t.showTimeZone || !e ? `${o} ${c}` : `${o} ${c} ${N_(e, r.toInstant())}`;
19135
19174
  }), l = r(() => c.value || t.placeholder), u = r(() => !c.value);
19136
19175
  return (t, n) => (D(), o("span", { class: x(["coar-zoned-date-time-view", [`coar-zoned-date-time-view--${e.size}`, { "coar-zoned-date-time-view--empty": u.value }]]) }, L(l.value), 3));
19137
19176
  }
19138
19177
  }), [["__scopeId", "data-v-00d86dd7"]]);
19139
19178
  //#endregion
19140
- export { Sc as CHECKBOX_GROUP_INJECTION_KEY, Fe as COAR_BUILTIN_ICON_SOURCE_KEY, Ng as COAR_DATE_FORMAT_TO_MASKITO_MODE, Mg as COAR_DEFAULT_TIME_FORMAT, Pe as COAR_ICON_SERVICE_KEY, Ff as COAR_TREE_DRAG_MIME, zf as COAR_TREE_RENAME_KEY, Lf as COAR_TREE_ROW_ID_KEY, ze as CORE_ICONS, Us as CoarAvatar, as as CoarBadge, Tm as CoarBreadcrumb, Am as CoarBreadcrumbItem, Go as CoarButton, bs as CoarCard, Oc as CoarCheckbox, Ac as CoarCheckboxGroup, Ps as CoarCodeBlock, Po as CoarCollapse, Cf as CoarContextMenu, Xp as CoarDataList, Ad as CoarDialogFooter, Zu as CoarDialogShell, es as CoarDivider, lu as CoarDualListbox, jo as CoarFade, Ao as CoarFormField, Le as CoarHttpIconSource, Q as CoarIcon, Ie as CoarIconMapSource, Qo as CoarIconPlugin, Re as CoarIconService, Xo as CoarLink, su as CoarListbox, Kd as CoarMenu, sf as CoarMenuDivider, cf as CoarMenuHeading, nf as CoarMenuItem, Eg as CoarMonthList, Nl as CoarMultiSelect, Dh as CoarNavbar, os as CoarNote, fs as CoarNotice, xc as CoarNumberInput, sc as CoarOtpInput, Tu as CoarOverlayHost, fu as CoarOverlayOutlet, Ct as CoarOverlayPlugin, zm as CoarPagination, cm as CoarPanelLayout, fc as CoarPasswordInput, n_ as CoarPlainDatePicker, _v as CoarPlainDateTimeOrDatePicker, T_ as CoarPlainDateTimePicker, yv as CoarPlainDateTimeView, vv as CoarPlainDateView, Mu as CoarPopconfirm, ju as CoarPopconfirmPanel, so as CoarPopover, gs as CoarProgressBar, Rc as CoarRadioButton, Pc as CoarRadioGroup, No as CoarScale, _g as CoarScrollableCalendar, fm as CoarSegmentedControl, _l as CoarSelect, Xm as CoarSidebar, Sh as CoarSidebarDivider, vh as CoarSidebarGroup, bh as CoarSidebarHeading, oh as CoarSidebarItem, Ch as CoarSidebarSpacer, Mo as CoarSlide, ns as CoarSpinner, nm as CoarSplitPane, hf as CoarSubExpand, xf as CoarSubFlyout, xf as CoarSubmenuItem, Hc as CoarSwitch, Ef as CoarTab, Nf as CoarTabGroup, Ws as CoarTable, Ls as CoarTag, Wl as CoarTagSelect, ic as CoarTextInput, Io as CoarThemeScope, Yh as CoarTimePicker, wu as CoarToastContainer, Su as CoarToastItem, ip as CoarTree, sp as CoarTreeNodeLabel, Sm as CoarWizard, gv as CoarZonedDateTimeOrDatePicker, mv as CoarZonedDateTimePicker, bv as CoarZonedDateTimeView, Sp as DATA_LIST_HIGHLIGHT_NAME, Pf as DEFAULT_TREE_LABELS, Zp as DataListBuilder, Qp as DataListLevelBuilder, yo as FORM_FIELD_INJECTION_KEY, Fd as MenuCascade, Ke as OVERLAY_DEFAULTS, yt as OVERLAY_PARENT_KEY, vt as OVERLAY_SERVICE_KEY, Ne as PRESET_SIZES, jc as RADIO_GROUP_INJECTION_KEY, Vm as SIDEBAR_COLLAPSED_KEY, Hm as SIDEBAR_ICON_SIZE_KEY, ft as TOAST_SERVICE_KEY, cp as TreeBuilder, nt as computeOverlayCoordinates, Ft as contextMenuPreset, Zo as createCoarIconService, lt as createOverlayService, ht as createToastService, pp as createValueComparator, Mt as datepickerPreset, Te as detectDragEngine, At as dialogPreset, Qe as getAnchorRect, Xe as getContainerRect, St as getOverlayService, tt as getScrollParents, to as getScrollbarInstance, _t as getToastService, Ye as getViewportRect, kt as hoverMenuPreset, vp as matchesSearchTerms, Dt as menuPreset, Et as modalPreset, gp as normalizeSearchText, Lt as popconfirmPreset, Nt as popoverPreset, zd as provideMenuCascade, Vd as provideMenuClose, Je as resolveOverlaySpec, _p as searchTerms, Ot as selectPreset, Ae as setCoarDragImageFromElement, je as setCoarDragImageFromHtml, jt as sheetPreset, Pt as sidebarFlyoutPreset, It as subFlyoutPreset, Tt as tooltipPreset, Tf as useContextMenu, $p as useDataList, xp as useDataListModel, kd as useDialog, Oe as useDragDrop, Bd as useMenuCascade, Hd as useMenuClose, wt as useOverlay, bt as useOverlayParent, zu as useToast, lp as useTree, fe as useVirtualList, eo as vScrollbar, sl as vTooltip };
19179
+ export { Sc as CHECKBOX_GROUP_INJECTION_KEY, Fe as COAR_BUILTIN_ICON_SOURCE_KEY, Ig as COAR_DATE_FORMAT_TO_MASKITO_MODE, Fg as COAR_DEFAULT_TIME_FORMAT, Pe as COAR_ICON_SERVICE_KEY, Rf as COAR_TREE_DRAG_MIME, Hf as COAR_TREE_RENAME_KEY, Bf as COAR_TREE_ROW_ID_KEY, ze as CORE_ICONS, Us as CoarAvatar, as as CoarBadge, Om as CoarBreadcrumb, Nm as CoarBreadcrumbItem, Go as CoarButton, bs as CoarCard, Oc as CoarCheckbox, Ac as CoarCheckboxGroup, Ps as CoarCodeBlock, Po as CoarCollapse, Ef as CoarContextMenu, $p as CoarDataList, Nd as CoarDialogFooter, Zu as CoarDialogShell, es as CoarDivider, lu as CoarDualListbox, jo as CoarFade, Ao as CoarFormField, Le as CoarHttpIconSource, Q as CoarIcon, Ie as CoarIconMapSource, Qo as CoarIconPlugin, Re as CoarIconService, Xo as CoarLink, su as CoarListbox, Yd as CoarMenu, uf as CoarMenuDivider, df as CoarMenuHeading, of as CoarMenuItem, kg as CoarMonthList, Nl as CoarMultiSelect, Ah as CoarNavbar, os as CoarNote, fs as CoarNotice, xc as CoarNumberInput, sc as CoarOtpInput, Tu as CoarOverlayHost, fu as CoarOverlayOutlet, Ct as CoarOverlayPlugin, Hm as CoarPagination, dm as CoarPanelLayout, fc as CoarPasswordInput, a_ as CoarPlainDatePicker, bv as CoarPlainDateTimeOrDatePicker, O_ as CoarPlainDateTimePicker, Sv as CoarPlainDateTimeView, xv as CoarPlainDateView, Mu as CoarPopconfirm, ju as CoarPopconfirmPanel, so as CoarPopover, gs as CoarProgressBar, Rc as CoarRadioButton, Pc as CoarRadioGroup, No as CoarScale, bg as CoarScrollableCalendar, hm as CoarSegmentedControl, _l as CoarSelect, $m as CoarSidebar, Th as CoarSidebarDivider, xh as CoarSidebarGroup, Ch as CoarSidebarHeading, lh as CoarSidebarItem, Eh as CoarSidebarSpacer, Mo as CoarSlide, ns as CoarSpinner, am as CoarSplitPane, vf as CoarSubExpand, wf as CoarSubFlyout, wf as CoarSubmenuItem, Hc as CoarSwitch, kf as CoarTab, If as CoarTabGroup, Ws as CoarTable, Ls as CoarTag, Wl as CoarTagSelect, ic as CoarTextInput, Io as CoarThemeScope, Qh as CoarTimePicker, wu as CoarToastContainer, Su as CoarToastItem, sp as CoarTree, up as CoarTreeNodeLabel, Tm as CoarWizard, yv as CoarZonedDateTimeOrDatePicker, _v as CoarZonedDateTimePicker, Cv as CoarZonedDateTimeView, Tp as DATA_LIST_HIGHLIGHT_NAME, Lf as DEFAULT_TREE_LABELS, em as DataListBuilder, tm as DataListLevelBuilder, yo as FORM_FIELD_INJECTION_KEY, Rd as MenuCascade, Ke as OVERLAY_DEFAULTS, yt as OVERLAY_PARENT_KEY, vt as OVERLAY_SERVICE_KEY, Ne as PRESET_SIZES, jc as RADIO_GROUP_INJECTION_KEY, Wm as SIDEBAR_COLLAPSED_KEY, Gm as SIDEBAR_ICON_SIZE_KEY, ft as TOAST_SERVICE_KEY, dp as TreeBuilder, nt as computeOverlayCoordinates, Ft as contextMenuPreset, Zo as createCoarIconService, lt as createOverlayService, ht as createToastService, gp as createValueComparator, Mt as datepickerPreset, Te as detectDragEngine, At as dialogPreset, Qe as getAnchorRect, Xe as getContainerRect, St as getOverlayService, tt as getScrollParents, to as getScrollbarInstance, _t as getToastService, Ye as getViewportRect, kt as hoverMenuPreset, xp as matchesSearchTerms, Dt as menuPreset, Et as modalPreset, yp as normalizeSearchText, Lt as popconfirmPreset, Nt as popoverPreset, Hd as provideMenuCascade, Wd as provideMenuClose, Je as resolveOverlaySpec, bp as searchTerms, Ot as selectPreset, Ae as setCoarDragImageFromElement, je as setCoarDragImageFromHtml, ed as setCoarKeyboardInset, jt as sheetPreset, Pt as sidebarFlyoutPreset, It as subFlyoutPreset, Tt as tooltipPreset, Of as useContextMenu, nm as useDataList, wp as useDataListModel, Md as useDialog, Oe as useDragDrop, Ud as useMenuCascade, Gd as useMenuClose, wt as useOverlay, bt as useOverlayParent, zu as useToast, fp as useTree, fe as useVirtualList, eo as vScrollbar, sl as vTooltip };