@nexxtmove/ui 1.12.0 → 1.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/components/molecules/TemplateCard/TemplateCard.vue.d.ts +39 -1
  2. package/dist/index.d.ts +1 -0
  3. package/dist/index.js +267 -197
  4. package/dist/ui.css +1 -1
  5. package/package.json +2 -1
  6. package/src/components/atoms/Avatar/Avatar.vue +3 -3
  7. package/src/components/atoms/Button/Button.vue +11 -1
  8. package/src/components/atoms/Card/Card.vue +1 -1
  9. package/src/components/atoms/Checkbox/Checkbox.vue +1 -1
  10. package/src/components/atoms/EnergyLabel/EnergyLabel.vue +1 -1
  11. package/src/components/atoms/PresenceIndicator/PresenceIndicator.vue +3 -3
  12. package/src/components/atoms/PropertyListing/PropertyListing.vue +1 -1
  13. package/src/components/atoms/SelectableOption/SelectableOption.vue +1 -1
  14. package/src/components/atoms/Skeleton/Skeleton.vue +1 -1
  15. package/src/components/atoms/Squircle/Squircle.vue +1 -1
  16. package/src/components/molecules/CustomerJourneyTile/CustomerJourneyTile.vue +1 -1
  17. package/src/components/molecules/DoughnutChart/DoughnutChart.vue +1 -4
  18. package/src/components/molecules/InputField/InputField.vue +1 -1
  19. package/src/components/molecules/InputSelect/InputSelect.vue +1 -1
  20. package/src/components/molecules/Pagination/Pagination.vue +5 -5
  21. package/src/components/molecules/PropertyCard/PropertyCard.vue +4 -4
  22. package/src/components/molecules/SkeletonPropertyCard/SkeletonPropertyCard.vue +2 -2
  23. package/src/components/molecules/SocialIcons/SocialIcons.vue +1 -1
  24. package/src/components/molecules/SocialMediaCustomTemplate/SocialMediaCustomTemplate.vue +1 -1
  25. package/src/components/molecules/TemplateCard/TemplateCard.vue +156 -30
  26. package/src/components/molecules/TimelineEvent/TimelineEvent.vue +3 -3
  27. package/src/components/molecules/TimelineLanes/TimelineLanes.vue +2 -2
  28. package/src/components/molecules/Toast/Toast.vue +11 -3
  29. package/src/components/organisms/Calendar/_CalendarDayView.vue +2 -2
  30. package/src/components/organisms/Calendar/_CalendarHeader.vue +7 -7
  31. package/src/components/organisms/Calendar/_CalendarTimePicker.vue +4 -4
  32. package/src/components/organisms/ColorPicker/ColorPicker.vue +12 -12
  33. package/src/components/organisms/DropdownButton/DropdownButton.vue +1 -1
  34. package/src/components/organisms/Modal/Modal.vue +2 -2
  35. package/src/components/organisms/SocialMediaTemplate/SocialMediaTemplate.vue +4 -4
  36. package/src/components/organisms/Table/Table.vue +1 -1
  37. package/src/components/organisms/TimelinePhaseblock/TimelinePhaseblock.vue +3 -6
  38. package/src/components/organisms/VideoPlayer/VideoPlayer.vue +5 -5
  39. package/src/index.ts +5 -0
package/dist/index.js CHANGED
@@ -396,7 +396,7 @@ var ft = { funda: { render: dt } }, Q = /* @__PURE__ */ p({
396
396
  class: "relative block shrink-0 overflow-hidden",
397
397
  style: x(o.value)
398
398
  }, [c("svg", {
399
- class: "absolute h-0 w-0 overflow-hidden",
399
+ class: "absolute size-0 overflow-hidden",
400
400
  "aria-hidden": "true",
401
401
  focusable: "false",
402
402
  width: "0",
@@ -445,11 +445,11 @@ var ft = { funda: { render: dt } }, Q = /* @__PURE__ */ p({
445
445
  key: 0,
446
446
  size: t.size
447
447
  }, {
448
- default: B(() => [c("div", { class: y(["flex h-full w-full items-center justify-center bg-cornflower-blue-50 font-semibold text-cornflower-blue-500", [f[t.size]]]) }, [o.value ? (w(), s("img", {
448
+ default: B(() => [c("div", { class: y(["flex size-full items-center justify-center bg-cornflower-blue-50 font-semibold text-cornflower-blue-500", [f[t.size]]]) }, [o.value ? (w(), s("img", {
449
449
  key: 0,
450
450
  src: t.src,
451
451
  alt: t.name,
452
- class: "h-full w-full object-cover",
452
+ class: "size-full object-cover",
453
453
  onError: i[0] ||= (e) => r.value = !0
454
454
  }, null, 40, _t)) : (w(), s(e, { key: 1 }, [d(k(l.value), 1)], 64))], 2)]),
455
455
  _: 1
@@ -464,7 +464,7 @@ var ft = { funda: { render: dt } }, Q = /* @__PURE__ */ p({
464
464
  key: 0,
465
465
  src: t.src,
466
466
  alt: t.name,
467
- class: "h-full w-full object-cover",
467
+ class: "size-full object-cover",
468
468
  onError: i[1] ||= (e) => r.value = !0
469
469
  }, null, 40, vt)) : (w(), s(e, { key: 1 }, [d(k(l.value), 1)], 64))], 2));
470
470
  }
@@ -495,16 +495,24 @@ var ft = { funda: { render: dt } }, Q = /* @__PURE__ */ p({
495
495
  }
496
496
  },
497
497
  setup(e) {
498
- return (t, r) => (w(), s("button", {
498
+ let t = {
499
+ primary: "button-primary",
500
+ secondary: "button-secondary",
501
+ success: "button-success",
502
+ danger: "button-danger",
503
+ warning: "button-warning",
504
+ link: "button-link"
505
+ };
506
+ return (r, i) => (w(), s("button", {
499
507
  type: e.buttonType,
500
508
  disabled: e.disabled,
501
509
  class: y([
502
510
  "button relative flex h-10 cursor-pointer items-center overflow-hidden transition-colors duration-200 focus-visible:outline-3 disabled:cursor-not-allowed",
503
511
  e.fullWidth ? "w-full justify-start" : "justify-center",
504
512
  e.rounded ? "rounded-full" : "rounded-lg",
505
- `button-${e.variant}`,
506
- t.$slots.default ?? "w-10",
507
- !t.$slots.default && e.icon ? "aspect-square px-0" : "",
513
+ t[e.variant],
514
+ r.$slots.default ?? "w-10",
515
+ !r.$slots.default && e.icon ? "aspect-square px-0" : "",
508
516
  e.loading ? "pointer-events-none" : ""
509
517
  ]),
510
518
  "data-variant": e.variant
@@ -517,7 +525,7 @@ var ft = { funda: { render: dt } }, Q = /* @__PURE__ */ p({
517
525
  "opacity-0": e.loading
518
526
  }])
519
527
  }, null, 8, ["name", "class"])) : o("", !0),
520
- t.$slots.default ? (w(), s("span", {
528
+ r.$slots.default ? (w(), s("span", {
521
529
  key: 1,
522
530
  class: y([
523
531
  "inline-block transition-all duration-200",
@@ -526,7 +534,7 @@ var ft = { funda: { render: dt } }, Q = /* @__PURE__ */ p({
526
534
  e.variant === "link" ? "body-link underline-offset-1" : "body-normal",
527
535
  e.variant === "link" && !e.loading && !e.disabled ? "hover:underline-offset-2" : ""
528
536
  ])
529
- }, [D(t.$slots, "default")], 2)) : o("", !0),
537
+ }, [D(r.$slots, "default")], 2)) : o("", !0),
530
538
  f(n, {
531
539
  "enter-active-class": "transition-opacity duration-200",
532
540
  "enter-from-class": "opacity-0",
@@ -549,7 +557,7 @@ var ft = { funda: { render: dt } }, Q = /* @__PURE__ */ p({
549
557
  }
550
558
  }), St = { class: "mb-4 flex items-center justify-between" }, Ct = ["disabled"], wt = {
551
559
  key: 2,
552
- class: "h-7 w-7"
560
+ class: "size-7"
553
561
  }, Tt = {
554
562
  class: "flex items-center gap-1 font-normal text-sm text-cornflower-blue-600",
555
563
  role: "status",
@@ -562,7 +570,7 @@ var ft = { funda: { render: dt } }, Q = /* @__PURE__ */ p({
562
570
  class: "relative h-5 overflow-hidden"
563
571
  }, Ot = { key: 2 }, kt = ["disabled"], At = {
564
572
  key: 4,
565
- class: "h-7 w-7"
573
+ class: "size-7"
566
574
  }, jt = /* @__PURE__ */ p({
567
575
  __name: "_CalendarHeader",
568
576
  props: {
@@ -595,7 +603,7 @@ var ft = { funda: { render: dt } }, Q = /* @__PURE__ */ p({
595
603
  key: 0,
596
604
  type: "button",
597
605
  disabled: !e.canGoPrev,
598
- class: "flex h-7 w-7 cursor-pointer items-center justify-center rounded-full bg-gray-200 text-gray-950 transition-colors hover:bg-gray-300 disabled:cursor-not-allowed disabled:bg-transparent disabled:opacity-30",
606
+ class: "flex size-7 cursor-pointer items-center justify-center rounded-full bg-gray-200 text-gray-950 transition-colors hover:bg-gray-300 disabled:cursor-not-allowed disabled:bg-transparent disabled:opacity-30",
599
607
  onClick: r[0] ||= (e) => a("prev"),
600
608
  "aria-label": "Vorige maand"
601
609
  }, [f(Q, {
@@ -604,7 +612,7 @@ var ft = { funda: { render: dt } }, Q = /* @__PURE__ */ p({
604
612
  })], 8, Ct)) : e.pickerView === "years" ? (w(), s("button", {
605
613
  key: 1,
606
614
  type: "button",
607
- class: "flex h-7 w-7 cursor-pointer items-center justify-center rounded-full bg-gray-200 text-gray-950 transition-colors hover:bg-gray-300",
615
+ class: "flex size-7 cursor-pointer items-center justify-center rounded-full bg-gray-200 text-gray-950 transition-colors hover:bg-gray-300",
608
616
  onClick: r[1] ||= (e) => a("closePicker"),
609
617
  "aria-label": "Terug naar maanden"
610
618
  }, [f(Q, {
@@ -616,7 +624,7 @@ var ft = { funda: { render: dt } }, Q = /* @__PURE__ */ p({
616
624
  default: B(() => [e.monthYearPicker ? (w(), s("button", {
617
625
  key: `button-${l.value}`,
618
626
  type: "button",
619
- class: "block cursor-pointer rounded px-0.5 leading-5 whitespace-nowrap outline-none hover:text-cornflower-blue-700",
627
+ class: "block cursor-pointer rounded-sm px-0.5 leading-5 whitespace-nowrap outline-none hover:text-cornflower-blue-700",
620
628
  onClick: r[2] ||= (e) => a("openMonthPicker")
621
629
  }, k(l.value), 1)) : (w(), s("span", {
622
630
  key: l.value,
@@ -628,7 +636,7 @@ var ft = { funda: { render: dt } }, Q = /* @__PURE__ */ p({
628
636
  default: B(() => [e.monthYearPicker ? (w(), s("button", {
629
637
  key: `button-${u.value}`,
630
638
  type: "button",
631
- class: "block cursor-pointer rounded px-0.5 leading-5 whitespace-nowrap outline-none hover:text-cornflower-blue-700",
639
+ class: "block cursor-pointer rounded-sm px-0.5 leading-5 whitespace-nowrap outline-none hover:text-cornflower-blue-700",
632
640
  onClick: r[3] ||= (e) => a("openYearPicker")
633
641
  }, k(u.value), 1)) : (w(), s("span", {
634
642
  key: u.value,
@@ -642,7 +650,7 @@ var ft = { funda: { render: dt } }, Q = /* @__PURE__ */ p({
642
650
  key: 3,
643
651
  type: "button",
644
652
  disabled: !e.canGoNext,
645
- class: "flex h-7 w-7 cursor-pointer items-center justify-center rounded-full bg-gray-200 text-gray-950 transition-colors hover:bg-gray-300 disabled:cursor-not-allowed disabled:bg-transparent disabled:opacity-30",
653
+ class: "flex size-7 cursor-pointer items-center justify-center rounded-full bg-gray-200 text-gray-950 transition-colors hover:bg-gray-300 disabled:cursor-not-allowed disabled:bg-transparent disabled:opacity-30",
646
654
  onClick: r[4] ||= (e) => a("next"),
647
655
  "aria-label": "Volgende maand"
648
656
  }, [f(Q, {
@@ -742,7 +750,7 @@ var ft = { funda: { render: dt } }, Q = /* @__PURE__ */ p({
742
750
  "aria-label": A(J)(e, "d MMMM yyyy", { locale: t.locale }),
743
751
  tabindex: A(se)(e, t.viewDate) ? 0 : -1,
744
752
  class: y([
745
- "relative flex h-8 w-8 items-center justify-center rounded-xl text-xs transition-colors duration-150 outline-none focus:ring-2 focus:ring-cornflower-blue-500 focus:ring-offset-1",
753
+ "relative flex size-8 items-center justify-center rounded-xl text-xs transition-colors duration-150 outline-none focus:ring-2 focus:ring-cornflower-blue-500 focus:ring-offset-1",
746
754
  A(se)(e, t.viewDate) ? "text-gray-900" : "text-gray-300",
747
755
  f(e) ? "bg-cornflower-blue-500 font-medium text-white!" : "",
748
756
  d(e) && !f(e) ? "font-medium text-cornflower-blue-500! ring-1 ring-cornflower-blue-500" : "",
@@ -754,7 +762,7 @@ var ft = { funda: { render: dt } }, Q = /* @__PURE__ */ p({
754
762
  onKeydown: (e) => g(e, r * 7 + n)
755
763
  }, [c("span", Lt, k(A(J)(e, "d")), 1), p(e) ? (w(), s("span", {
756
764
  key: 0,
757
- class: y(["absolute bottom-1 left-1/2 h-1 w-1 -translate-x-1/2 rounded-full", f(e) ? "bg-white" : "bg-cornflower-blue-500"])
765
+ class: y(["absolute bottom-1 left-1/2 size-1 -translate-x-1/2 rounded-full", f(e) ? "bg-white" : "bg-cornflower-blue-500"])
758
766
  }, null, 2)) : o("", !0)], 42, It)], 8, Ft))), 128))]))), 128))]));
759
767
  }
760
768
  }), zt = {
@@ -878,13 +886,13 @@ var ft = { funda: { render: dt } }, Q = /* @__PURE__ */ p({
878
886
  c("div", qt, [
879
887
  c("button", {
880
888
  type: "button",
881
- class: "flex h-8 w-8 items-center justify-center rounded-full text-gray-400 transition-colors hover:bg-gray-100 hover:text-cornflower-blue-500",
889
+ class: "flex size-8 items-center justify-center rounded-full text-gray-400 transition-colors hover:bg-gray-100 hover:text-cornflower-blue-500",
882
890
  onClick: u
883
891
  }, [f(Q, { name: "chevron-up" })]),
884
892
  c("span", Jt, k(l(a.value)), 1),
885
893
  c("button", {
886
894
  type: "button",
887
- class: "flex h-8 w-8 items-center justify-center rounded-full text-gray-400 transition-colors hover:bg-gray-100 hover:text-cornflower-blue-500",
895
+ class: "flex size-8 items-center justify-center rounded-full text-gray-400 transition-colors hover:bg-gray-100 hover:text-cornflower-blue-500",
888
896
  onClick: d
889
897
  }, [f(Q, { name: "chevron-down" })])
890
898
  ]),
@@ -892,13 +900,13 @@ var ft = { funda: { render: dt } }, Q = /* @__PURE__ */ p({
892
900
  c("div", Yt, [
893
901
  c("button", {
894
902
  type: "button",
895
- class: "flex h-8 w-8 items-center justify-center rounded-full text-gray-400 transition-colors hover:bg-gray-100 hover:text-cornflower-blue-500",
903
+ class: "flex size-8 items-center justify-center rounded-full text-gray-400 transition-colors hover:bg-gray-100 hover:text-cornflower-blue-500",
896
904
  onClick: p
897
905
  }, [f(Q, { name: "chevron-up" })]),
898
906
  c("span", Xt, k(l(o.value)), 1),
899
907
  c("button", {
900
908
  type: "button",
901
- class: "flex h-8 w-8 items-center justify-center rounded-full text-gray-400 transition-colors hover:bg-gray-100 hover:text-cornflower-blue-500",
909
+ class: "flex size-8 items-center justify-center rounded-full text-gray-400 transition-colors hover:bg-gray-100 hover:text-cornflower-blue-500",
902
910
  onClick: m
903
911
  }, [f(Q, { name: "chevron-down" })])
904
912
  ])
@@ -1082,7 +1090,7 @@ var ft = { funda: { render: dt } }, Q = /* @__PURE__ */ p({
1082
1090
  key: 0,
1083
1091
  src: e.image,
1084
1092
  alt: e.imageAlt ?? "Card afbeelding",
1085
- class: "block h-40 max-h-40 min-h-40 w-full rounded-tl-lg rounded-tr-lg object-cover"
1093
+ class: "block h-40 max-h-40 min-h-40 w-full rounded-t-lg object-cover"
1086
1094
  }, null, 8, tn)) : o("", !0)]) : o("", !0), c("div", { class: y(["card-content box-border flex w-full flex-col gap-2 rounded-b-lg border border-gray-200 px-4 py-2", { "rounded-t-lg border-t": !e.image && !t.$slots.image }]) }, [D(t.$slots, "default")], 2)]));
1087
1095
  }
1088
1096
  }), rn = ["disabled"], an = /* @__PURE__ */ p({
@@ -1110,7 +1118,7 @@ var ft = { funda: { render: dt } }, Q = /* @__PURE__ */ p({
1110
1118
  }), null, 16, rn), [[F, t.value]]), c("span", {
1111
1119
  "aria-hidden": "true",
1112
1120
  class: y([
1113
- "flex h-5 w-5 shrink-0 items-center justify-center rounded border transition-colors duration-200",
1121
+ "flex size-5 shrink-0 items-center justify-center rounded-sm border transition-colors duration-200",
1114
1122
  "peer-focus-visible:ring-2 peer-focus-visible:ring-cornflower-blue-400 peer-focus-visible:ring-offset-2",
1115
1123
  t.value || e.indeterminate ? "border-cornflower-blue-600 text-cornflower-blue-600" : "border-gray-300 text-transparent"
1116
1124
  ])
@@ -1437,7 +1445,7 @@ var ft = { funda: { render: dt } }, Q = /* @__PURE__ */ p({
1437
1445
  f(A(Ce), {
1438
1446
  color: g.value,
1439
1447
  "aria-label": v.value ? `Geselecteerde kleur: ${v.value}` : "Geen kleur geselecteerd",
1440
- class: "h-5 w-5 shrink-0 rounded shadow-[inset_0_0_0_1px_rgba(0,0,0,0.1)]",
1448
+ class: "size-5 shrink-0 rounded-sm shadow-[inset_0_0_0_1px_rgba(0,0,0,0.1)]",
1441
1449
  style: { backgroundColor: "var(--reka-color-swatch-color)" }
1442
1450
  }, null, 8, ["color", "aria-label"]),
1443
1451
  c("span", { class: y(["flex-1 text-left text-sm", v.value ? "text-gray-900" : "text-gray-400"]) }, k(v.value || e.placeholder), 3),
@@ -1459,7 +1467,7 @@ var ft = { funda: { render: dt } }, Q = /* @__PURE__ */ p({
1459
1467
  class: "relative h-40 w-full cursor-crosshair outline-none",
1460
1468
  style: x(e)
1461
1469
  }, {
1462
- default: B(() => [f(A(ve), { class: "block h-4 w-4 cursor-grab rounded-full border-2 border-white shadow focus:outline-none active:cursor-grabbing" })]),
1470
+ default: B(() => [f(A(ve), { class: "block size-4 cursor-grab rounded-full border-2 border-white shadow-sm focus:outline-none active:cursor-grabbing" })]),
1463
1471
  _: 1
1464
1472
  }, 8, ["style"])])]),
1465
1473
  _: 1
@@ -1471,7 +1479,7 @@ var ft = { funda: { render: dt } }, Q = /* @__PURE__ */ p({
1471
1479
  class: "relative flex h-5 w-full touch-none items-center select-none",
1472
1480
  "onUpdate:color": C
1473
1481
  }, {
1474
- default: B(() => [f(A(Se), { class: "relative h-3 flex-1 overflow-hidden rounded-full" }), f(A(xe), { class: "block h-5 w-5 cursor-grab rounded-full border-2 border-white bg-white shadow focus:ring-2 focus:ring-cornflower-blue-500 focus:outline-none active:cursor-grabbing" })]),
1482
+ default: B(() => [f(A(Se), { class: "relative h-3 flex-1 overflow-hidden rounded-full" }), f(A(xe), { class: "block size-5 cursor-grab rounded-full border-2 border-white bg-white shadow-sm focus:ring-2 focus:ring-cornflower-blue-500 focus:outline-none active:cursor-grabbing" })]),
1475
1483
  _: 1
1476
1484
  }, 8, ["model-value"]),
1477
1485
  e.showAlpha ? (w(), s("div", fn, [i[8] ||= c("div", {
@@ -1484,10 +1492,10 @@ var ft = { funda: { render: dt } }, Q = /* @__PURE__ */ p({
1484
1492
  "model-value": u.value,
1485
1493
  channel: "alpha",
1486
1494
  "color-space": "hsl",
1487
- class: "relative z-10 flex h-full w-full touch-none items-center select-none",
1495
+ class: "relative z-10 flex size-full touch-none items-center select-none",
1488
1496
  "onUpdate:color": C
1489
1497
  }, {
1490
- default: B(() => [f(A(Se), { class: "relative h-3 flex-1 overflow-hidden rounded-full" }), f(A(xe), { class: "block h-5 w-5 cursor-grab rounded-full border-2 border-white bg-white shadow focus:ring-2 focus:ring-cornflower-blue-500 focus:outline-none active:cursor-grabbing" })]),
1498
+ default: B(() => [f(A(Se), { class: "relative h-3 flex-1 overflow-hidden rounded-full" }), f(A(xe), { class: "block size-5 cursor-grab rounded-full border-2 border-white bg-white shadow-sm focus:ring-2 focus:ring-cornflower-blue-500 focus:outline-none active:cursor-grabbing" })]),
1491
1499
  _: 1
1492
1500
  }, 8, ["model-value"])])) : o("", !0),
1493
1501
  c("div", pn, [c("div", mn, [c("span", hn, k(_.value.toUpperCase()), 1), e.formats.length > 1 ? (w(), s("div", gn, [c("button", {
@@ -1515,7 +1523,7 @@ var ft = { funda: { render: dt } }, Q = /* @__PURE__ */ p({
1515
1523
  "onUpdate:color": C
1516
1524
  }, {
1517
1525
  default: B(() => [c("div", { class: y(["flex h-10 items-center overflow-hidden rounded-lg px-3 ring transition-colors ease-out focus-within:ring-cornflower-blue-500", p.value ? "ring-brick-400" : "ring-gray-200"]) }, [f(A(X), {
1518
- class: "w-full bg-transparent font-mono text-sm text-gray-900 placeholder-gray-400 focus:outline-none",
1526
+ class: "w-full bg-transparent small-normal-mono text-gray-900 placeholder-gray-400 focus:outline-none",
1519
1527
  placeholder: "#000000",
1520
1528
  onInput: E
1521
1529
  })], 2), p.value ? (w(), s("p", _n, k(p.value), 1)) : o("", !0)]),
@@ -1529,7 +1537,7 @@ var ft = { funda: { render: dt } }, Q = /* @__PURE__ */ p({
1529
1537
  "onUpdate:color": C
1530
1538
  }, {
1531
1539
  default: B(() => [c("div", { class: y(["flex h-10 items-center overflow-hidden rounded-lg px-3 ring transition-colors ease-out focus-within:ring-cornflower-blue-500", h.value.hue ? "ring-brick-400" : "ring-gray-200"]) }, [f(A(X), {
1532
- class: "w-full bg-transparent font-mono text-sm text-gray-900 placeholder-gray-400 focus:outline-none",
1540
+ class: "w-full bg-transparent small-normal-mono text-gray-900 placeholder-gray-400 focus:outline-none",
1533
1541
  placeholder: "H",
1534
1542
  onInput: i[2] ||= (e) => D(e, "hue")
1535
1543
  })], 2)]),
@@ -1543,7 +1551,7 @@ var ft = { funda: { render: dt } }, Q = /* @__PURE__ */ p({
1543
1551
  "onUpdate:color": C
1544
1552
  }, {
1545
1553
  default: B(() => [c("div", { class: y(["flex h-10 items-center overflow-hidden rounded-lg px-3 ring transition-colors ease-out focus-within:ring-cornflower-blue-500", h.value.saturation ? "ring-brick-400" : "ring-gray-200"]) }, [f(A(X), {
1546
- class: "w-full bg-transparent font-mono text-sm text-gray-900 placeholder-gray-400 focus:outline-none",
1554
+ class: "w-full bg-transparent small-normal-mono text-gray-900 placeholder-gray-400 focus:outline-none",
1547
1555
  placeholder: "S",
1548
1556
  onInput: i[3] ||= (e) => D(e, "saturation")
1549
1557
  })], 2)]),
@@ -1557,7 +1565,7 @@ var ft = { funda: { render: dt } }, Q = /* @__PURE__ */ p({
1557
1565
  "onUpdate:color": C
1558
1566
  }, {
1559
1567
  default: B(() => [c("div", { class: y(["flex h-10 items-center overflow-hidden rounded-lg px-3 ring transition-colors ease-out focus-within:ring-cornflower-blue-500", h.value.lightness ? "ring-brick-400" : "ring-gray-200"]) }, [f(A(X), {
1560
- class: "w-full bg-transparent font-mono text-sm text-gray-900 placeholder-gray-400 focus:outline-none",
1568
+ class: "w-full bg-transparent small-normal-mono text-gray-900 placeholder-gray-400 focus:outline-none",
1561
1569
  placeholder: "L",
1562
1570
  onInput: i[4] ||= (e) => D(e, "lightness")
1563
1571
  })], 2)]),
@@ -1572,7 +1580,7 @@ var ft = { funda: { render: dt } }, Q = /* @__PURE__ */ p({
1572
1580
  "onUpdate:color": C
1573
1581
  }, {
1574
1582
  default: B(() => [c("div", { class: y(["flex h-10 items-center overflow-hidden rounded-lg px-3 ring transition-colors ease-out focus-within:ring-cornflower-blue-500", h.value.red ? "ring-brick-400" : "ring-gray-200"]) }, [f(A(X), {
1575
- class: "w-full bg-transparent font-mono text-sm text-gray-900 placeholder-gray-400 focus:outline-none",
1583
+ class: "w-full bg-transparent small-normal-mono text-gray-900 placeholder-gray-400 focus:outline-none",
1576
1584
  placeholder: "R",
1577
1585
  onInput: i[5] ||= (e) => D(e, "red")
1578
1586
  })], 2)]),
@@ -1586,7 +1594,7 @@ var ft = { funda: { render: dt } }, Q = /* @__PURE__ */ p({
1586
1594
  "onUpdate:color": C
1587
1595
  }, {
1588
1596
  default: B(() => [c("div", { class: y(["flex h-10 items-center overflow-hidden rounded-lg px-3 ring transition-colors ease-out focus-within:ring-cornflower-blue-500", h.value.green ? "ring-brick-400" : "ring-gray-200"]) }, [f(A(X), {
1589
- class: "w-full bg-transparent font-mono text-sm text-gray-900 placeholder-gray-400 focus:outline-none",
1597
+ class: "w-full bg-transparent small-normal-mono text-gray-900 placeholder-gray-400 focus:outline-none",
1590
1598
  placeholder: "G",
1591
1599
  onInput: i[6] ||= (e) => D(e, "green")
1592
1600
  })], 2)]),
@@ -1600,7 +1608,7 @@ var ft = { funda: { render: dt } }, Q = /* @__PURE__ */ p({
1600
1608
  "onUpdate:color": C
1601
1609
  }, {
1602
1610
  default: B(() => [c("div", { class: y(["flex h-10 items-center overflow-hidden rounded-lg px-3 ring transition-colors ease-out focus-within:ring-cornflower-blue-500", h.value.blue ? "ring-brick-400" : "ring-gray-200"]) }, [f(A(X), {
1603
- class: "w-full bg-transparent font-mono text-sm text-gray-900 placeholder-gray-400 focus:outline-none",
1611
+ class: "w-full bg-transparent small-normal-mono text-gray-900 placeholder-gray-400 focus:outline-none",
1604
1612
  placeholder: "B",
1605
1613
  onInput: i[7] ||= (e) => D(e, "blue")
1606
1614
  })], 2)]),
@@ -1694,7 +1702,7 @@ var ft = { funda: { render: dt } }, Q = /* @__PURE__ */ p({
1694
1702
  id: r,
1695
1703
  "onUpdate:modelValue": i[0] ||= (e) => p.value = e,
1696
1704
  placeholder: e.placeholder
1697
- }, u.value, { class: ["bg-transparant h-10 w-full min-w-60 text-sm text-gray-900 placeholder-gray-400 focus:outline-none [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none", {
1705
+ }, u.value, { class: ["h-10 w-full min-w-60 bg-transparent text-sm text-gray-900 placeholder-gray-400 focus:outline-none [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none", {
1698
1706
  "pl-3": !e.leftIcon,
1699
1707
  "pr-3": !e.rightIcon
1700
1708
  }] }), null, 16, wn), [[I, p.value]]),
@@ -3018,7 +3026,7 @@ var cr = /* @__PURE__ */ p({
3018
3026
  }, {
3019
3027
  default: B(() => [r.value ? (w(), s("div", {
3020
3028
  key: 0,
3021
- class: y(["flex min-h-10 w-14 items-center justify-center overflow-hidden rounded-tl-md rounded-bl-md", p.value])
3029
+ class: y(["flex min-h-10 w-14 items-center justify-center overflow-hidden rounded-l-md", p.value])
3022
3030
  }, [f(Q, {
3023
3031
  name: r.value,
3024
3032
  class: "text-2xl",
@@ -3137,7 +3145,7 @@ var cr = /* @__PURE__ */ p({
3137
3145
  "height"
3138
3146
  ], yr = {
3139
3147
  xmlns: "http://www.w3.org/1999/xhtml",
3140
- class: "flex h-full w-full items-center justify-center"
3148
+ class: "flex size-full items-center justify-center"
3141
3149
  }, br = { class: "heading-1" }, xr = /* @__PURE__ */ p({
3142
3150
  name: "NexxtDoughnutChart",
3143
3151
  __name: "DoughnutChart",
@@ -3251,7 +3259,7 @@ var cr = /* @__PURE__ */ p({
3251
3259
  class: y(["h-7 w-px rounded-sm", t.variant === "primary" ? "bg-white" : "bg-gray-200"]),
3252
3260
  "aria-hidden": "true"
3253
3261
  }, null, 2)], 64)), c("button", {
3254
- class: y(["w-10 shrink-0 cursor-pointer transition-colors duration-200", [C.value, t.iconOnly ? "p-2" : "px-2 py-2"]]),
3262
+ class: y(["w-10 shrink-0 cursor-pointer transition-colors duration-200", [C.value, (t.iconOnly, "p-2")]]),
3255
3263
  "aria-haspopup": "menu",
3256
3264
  "aria-expanded": n,
3257
3265
  "aria-label": r.value,
@@ -3306,7 +3314,7 @@ var cr = /* @__PURE__ */ p({
3306
3314
  return (e, t) => (w(), s("span", {
3307
3315
  role: "img",
3308
3316
  "aria-label": `Energielabel ${n.value}`,
3309
- class: "relative isolate mr-3 inline-flex h-6 items-center justify-center rounded-l px-2 extra-small-semibold text-white after:absolute after:top-1/2 after:left-full after:size-4.25 after:-translate-x-1/2 after:-translate-y-1/2 after:rotate-45 after:rounded-tr after:bg-(--energy-label-color) after:content-['']",
3317
+ class: "relative isolate mr-3 inline-flex h-6 items-center justify-center rounded-l px-2 extra-small-semibold text-white after:absolute after:top-1/2 after:left-full after:size-4.25 after:-translate-1/2 after:rotate-45 after:rounded-tr after:bg-(--energy-label-color) after:content-['']",
3310
3318
  style: x({
3311
3319
  backgroundColor: r.value,
3312
3320
  "--energy-label-color": r.value
@@ -3498,7 +3506,7 @@ var cr = /* @__PURE__ */ p({
3498
3506
  id: A(l),
3499
3507
  "onUpdate:modelValue": i[0] ||= (e) => S.value = e,
3500
3508
  placeholder: t.placeholder
3501
- }, h.value, { class: "bg-transparant h-10 w-full min-w-40 px-3 text-sm text-gray-900 placeholder-gray-400 focus:outline-none" }), null, 16, Vr), [[I, S.value]])], 2),
3509
+ }, h.value, { class: "h-10 w-full min-w-40 bg-transparent px-3 text-sm text-gray-900 placeholder-gray-400 focus:outline-none" }), null, 16, Vr), [[I, S.value]])], 2),
3502
3510
  f(n, {
3503
3511
  "enter-active-class": "transition-all duration-200 ease-out",
3504
3512
  "enter-from-class": "opacity-0 -translate-y-1",
@@ -3622,13 +3630,13 @@ var cr = /* @__PURE__ */ p({
3622
3630
  D(i.$slots, "header")
3623
3631
  ]), e.showClose ? (w(), a(A(we), {
3624
3632
  key: 0,
3625
- class: "ml-4 shrink-0 cursor-pointer rounded p-1 focus-visible:outline-2"
3633
+ class: "ml-4 shrink-0 cursor-pointer rounded-sm p-1 focus-visible:outline-2"
3626
3634
  }, {
3627
3635
  default: B(() => [f(Q, { name: "xmark" })]),
3628
3636
  _: 1
3629
3637
  })) : o("", !0)])) : e.showClose ? (w(), a(A(we), {
3630
3638
  key: 1,
3631
- class: "absolute top-3 right-3 cursor-pointer rounded p-1 focus-visible:outline-2"
3639
+ class: "absolute top-3 right-3 cursor-pointer rounded-sm p-1 focus-visible:outline-2"
3632
3640
  }, {
3633
3641
  default: B(() => [f(Q, { name: "xmark" })]),
3634
3642
  _: 1
@@ -3765,14 +3773,14 @@ var cr = /* @__PURE__ */ p({
3765
3773
  default: B(({ items: n }) => [
3766
3774
  n.some((e) => e.type === "ellipsis") ? (w(), a(A(Me), {
3767
3775
  key: 0,
3768
- class: "flex h-8 w-8 cursor-pointer items-center justify-center rounded-lg bg-transparent transition hover:bg-cornflower-blue-50 disabled:cursor-not-allowed disabled:opacity-50",
3776
+ class: "flex size-8 cursor-pointer items-center justify-center rounded-lg bg-transparent transition hover:bg-cornflower-blue-50 disabled:cursor-not-allowed disabled:opacity-50",
3769
3777
  disabled: t.disabled
3770
3778
  }, {
3771
3779
  default: B(() => [f(Q, { name: "angles-left" })]),
3772
3780
  _: 1
3773
3781
  }, 8, ["disabled"])) : o("", !0),
3774
3782
  f(A(Le), {
3775
- class: "mr-4 flex h-8 w-8 cursor-pointer items-center justify-center rounded-lg bg-transparent transition hover:bg-cornflower-blue-50 disabled:cursor-not-allowed disabled:opacity-50",
3783
+ class: "mr-4 flex size-8 cursor-pointer items-center justify-center rounded-lg bg-transparent transition hover:bg-cornflower-blue-50 disabled:cursor-not-allowed disabled:opacity-50",
3776
3784
  disabled: t.disabled
3777
3785
  }, {
3778
3786
  default: B(() => [f(Q, { name: "chevron-left" })]),
@@ -3789,13 +3797,13 @@ var cr = /* @__PURE__ */ p({
3789
3797
  }, 1032, ["value", "disabled"])) : (w(), a(A(je), {
3790
3798
  key: n.type,
3791
3799
  index: r,
3792
- class: "flex h-8 w-8 items-center justify-center"
3800
+ class: "flex size-8 items-center justify-center"
3793
3801
  }, {
3794
3802
  default: B(() => [...i[1] ||= [d(" … ", -1)]]),
3795
3803
  _: 1
3796
3804
  }, 8, ["index"]))], 64))), 256)),
3797
3805
  f(A(Ie), {
3798
- class: "ml-4 flex h-8 w-8 cursor-pointer items-center justify-center rounded-lg bg-transparent transition hover:bg-cornflower-blue-50 disabled:cursor-not-allowed disabled:opacity-50",
3806
+ class: "ml-4 flex size-8 cursor-pointer items-center justify-center rounded-lg bg-transparent transition hover:bg-cornflower-blue-50 disabled:cursor-not-allowed disabled:opacity-50",
3799
3807
  disabled: t.disabled
3800
3808
  }, {
3801
3809
  default: B(() => [f(Q, { name: "chevron-right" })]),
@@ -3803,7 +3811,7 @@ var cr = /* @__PURE__ */ p({
3803
3811
  }, 8, ["disabled"]),
3804
3812
  n.some((e) => e.type === "ellipsis") ? (w(), a(A(Ne), {
3805
3813
  key: 1,
3806
- class: "flex h-8 w-8 cursor-pointer items-center justify-center rounded-lg bg-transparent transition hover:bg-cornflower-blue-50 disabled:cursor-not-allowed disabled:opacity-50",
3814
+ class: "flex size-8 cursor-pointer items-center justify-center rounded-lg bg-transparent transition hover:bg-cornflower-blue-50 disabled:cursor-not-allowed disabled:opacity-50",
3807
3815
  disabled: t.disabled
3808
3816
  }, {
3809
3817
  default: B(() => [f(Q, { name: "angles-right" })]),
@@ -3821,9 +3829,9 @@ var cr = /* @__PURE__ */ p({
3821
3829
  "show-edges"
3822
3830
  ]));
3823
3831
  }
3824
- }), ii = ["aria-label"], ai = { class: "relative flex h-1.5 w-1.5" }, oi = {
3832
+ }), ii = ["aria-label"], ai = { class: "relative flex size-1.5" }, oi = {
3825
3833
  key: 0,
3826
- class: "absolute inline-flex h-full w-full animate-ping rounded-full bg-green-400 opacity-75"
3834
+ class: "absolute inline-flex size-full animate-ping rounded-full bg-green-400 opacity-75"
3827
3835
  }, si = /* @__PURE__ */ p({
3828
3836
  name: "NexxtPresenceIndicator",
3829
3837
  __name: "PresenceIndicator",
@@ -3836,7 +3844,7 @@ var cr = /* @__PURE__ */ p({
3836
3844
  class: y(["inline-flex h-6 items-center gap-1.5 rounded-sm px-2.5 extra-small-semibold", e.online ? "bg-green-100 text-green-600" : "bg-gray-100 text-gray-700"]),
3837
3845
  "aria-label": e.online ? "Online" : "Offline",
3838
3846
  role: "status"
3839
- }, [c("span", ai, [e.online ? (w(), s("span", oi)) : o("", !0), c("i", { class: y(["relative block h-1.5 w-1.5 rounded-full", e.online ? "bg-green-500" : "bg-gray-700"]) }, null, 2)]), d(" " + k(e.online ? "Actief" : "Inactief"), 1)], 10, ii));
3847
+ }, [c("span", ai, [e.online ? (w(), s("span", oi)) : o("", !0), c("i", { class: y(["relative block size-1.5 rounded-full", e.online ? "bg-green-500" : "bg-gray-700"]) }, null, 2)]), d(" " + k(e.online ? "Actief" : "Inactief"), 1)], 10, ii));
3840
3848
  }
3841
3849
  }), ci = { class: "@container" }, li = { class: "flex flex-col @md:gap-2" }, ui = { class: "flex items-center justify-between gap-2" }, di = [
3842
3850
  "aria-label",
@@ -3962,7 +3970,7 @@ var cr = /* @__PURE__ */ p({
3962
3970
  class: "shrink-0 body-normal text-gray-950"
3963
3971
  }, wi = {
3964
3972
  key: 0,
3965
- class: "wrap-break-words w-full body-normal text-gray-950"
3973
+ class: "w-full body-normal wrap-break-word text-gray-950"
3966
3974
  }, Ti = /* @__PURE__ */ p({
3967
3975
  __name: "PropertyListing",
3968
3976
  props: {
@@ -3977,7 +3985,7 @@ var cr = /* @__PURE__ */ p({
3977
3985
  c("div", { class: y(["min-w-0 truncate text-gray-950", e.price ? "body-normal" : "body-semibold"]) }, k(e.city), 3)
3978
3986
  ]), e.text ? (w(), s("div", wi, k(e.text), 1)) : o("", !0)]));
3979
3987
  }
3980
- }), Ei = new URL("assets/property_placeholder-CxdNZf4X.jpg", import.meta.url).href, Di = { class: "relative isolate h-40 w-full overflow-hidden rounded-tl-lg rounded-tr-lg" }, Oi = ["src"], ki = { class: "absolute inset-0 flex items-center justify-center rounded-tl-lg rounded-tr-lg bg-white/20 backdrop-blur-sm" }, Ai = /* @__PURE__ */ p({
3988
+ }), Ei = new URL("assets/property_placeholder-CxdNZf4X.jpg", import.meta.url).href, Di = { class: "relative isolate h-40 w-full overflow-hidden rounded-t-lg" }, Oi = ["src"], ki = { class: "absolute inset-0 flex items-center justify-center rounded-t-lg bg-white/20 backdrop-blur-sm" }, Ai = /* @__PURE__ */ p({
3981
3989
  name: "NexxtPropertyCard",
3982
3990
  __name: "PropertyCard",
3983
3991
  props: {
@@ -4008,10 +4016,10 @@ var cr = /* @__PURE__ */ p({
4008
4016
  src: A(Ei),
4009
4017
  alt: "Woning placeholder",
4010
4018
  loading: "lazy",
4011
- class: "h-full w-full object-cover"
4019
+ class: "size-full object-cover"
4012
4020
  }, null, 8, Oi), c("div", ki, [f(Q, {
4013
4021
  name: "house",
4014
- class: "text-6xl text-white drop-shadow"
4022
+ class: "text-6xl text-white drop-shadow-sm"
4015
4023
  })])])]),
4016
4024
  key: "0"
4017
4025
  }]), 1032, ["image", "image-alt"]));
@@ -4278,7 +4286,7 @@ var cr = /* @__PURE__ */ p({
4278
4286
  }
4279
4287
  }), ta = ["disabled", "aria-pressed"], na = {
4280
4288
  key: 0,
4281
- class: "absolute -top-2 -right-2 flex h-6 w-6 items-center justify-center rounded-full bg-cornflower-blue-500 text-white shadow"
4289
+ class: "absolute -top-2 -right-2 flex size-6 items-center justify-center rounded-full bg-cornflower-blue-500 text-white shadow-sm"
4282
4290
  }, ra = /* @__PURE__ */ p({
4283
4291
  name: "NexxtSelectableOption",
4284
4292
  __name: "SelectableOption",
@@ -4361,7 +4369,7 @@ var cr = /* @__PURE__ */ p({
4361
4369
  e.notificationCount ? (w(), s("span", ca, ", " + k(e.notificationCount) + " notifications", 1)) : o("", !0)
4362
4370
  ], 10, ia));
4363
4371
  }
4364
- }), ua = { class: "animate-pulse rounded bg-gray-200" }, da = /* @__PURE__ */ p({
4372
+ }), ua = { class: "animate-pulse rounded-sm bg-gray-200" }, da = /* @__PURE__ */ p({
4365
4373
  name: "NexxtSkeleton",
4366
4374
  __name: "Skeleton",
4367
4375
  setup(e) {
@@ -4376,9 +4384,9 @@ var cr = /* @__PURE__ */ p({
4376
4384
  class: "inline-flex w-80 flex-col items-start justify-start rounded-t-lg bg-white",
4377
4385
  role: "status",
4378
4386
  "aria-label": e.ariaLabel
4379
- }, [f(da, { class: "h-40 w-full rounded-tl-lg rounded-tr-lg rounded-b-none" }), c("div", pa, [c("div", ma, [
4387
+ }, [f(da, { class: "h-40 w-full rounded-t-lg rounded-b-none" }), c("div", pa, [c("div", ma, [
4380
4388
  f(da, { class: "h-4 w-24" }),
4381
- f(da, { class: "h-4 w-4" }),
4389
+ f(da, { class: "size-4" }),
4382
4390
  f(da, { class: "h-4 w-28" })
4383
4391
  ]), f(da, { class: "h-4 w-36" })])], 8, fa));
4384
4392
  }
@@ -4525,7 +4533,7 @@ var cr = /* @__PURE__ */ p({
4525
4533
  }, o = i(() => r.filter((e) => n[e.name]));
4526
4534
  return (t, n) => (w(), s("ul", ba, [(w(!0), s(e, null, E(o.value, (e) => (w(), s("li", {
4527
4535
  key: e.name,
4528
- class: y(["inline-flex h-5 w-5 items-center justify-center rounded-full outline-1 outline-white", a[e.name]]),
4536
+ class: y(["inline-flex size-5 items-center justify-center rounded-full outline-1 outline-white", a[e.name]]),
4529
4537
  "aria-label": e.label
4530
4538
  }, [f(Q, {
4531
4539
  name: e.icon,
@@ -4557,7 +4565,7 @@ var cr = /* @__PURE__ */ p({
4557
4565
  muted: "",
4558
4566
  playsinline: "",
4559
4567
  loop: n.value,
4560
- class: "h-full w-full object-cover",
4568
+ class: "size-full object-cover",
4561
4569
  poster: Ca,
4562
4570
  onEndedOnce: r
4563
4571
  }, null, 40, Ta)], 32));
@@ -4565,7 +4573,7 @@ var cr = /* @__PURE__ */ p({
4565
4573
  }), Da = ["aria-pressed"], Oa = {
4566
4574
  key: 0,
4567
4575
  class: "col-start-1 row-span-2 row-start-1"
4568
- }, ka = ["srcset"], Aa = ["src"], ja = ["muted"], Ma = ["src", "type"], Na = { class: "heading-4" }, Pa = { class: "extra-small" }, Fa = /* @__PURE__ */ p({
4576
+ }, ka = ["srcset"], Aa = ["src"], ja = ["muted"], Ma = ["src", "type"], Na = { class: "heading-4" }, Pa = { class: "extra-small-normal" }, Fa = /* @__PURE__ */ p({
4569
4577
  name: "NexxtSocialMediaTemplate",
4570
4578
  __name: "SocialMediaTemplate",
4571
4579
  props: {
@@ -4610,14 +4618,14 @@ var cr = /* @__PURE__ */ p({
4610
4618
  e.mediaType === "image" ? (w(), s("picture", Oa, [c("source", { srcset: e.media }, null, 8, ka), c("img", {
4611
4619
  src: e.media,
4612
4620
  alt: "Media content",
4613
- class: "h-full w-full object-cover object-center"
4621
+ class: "size-full object-cover object-center"
4614
4622
  }, null, 8, Aa)])) : (w(), s("video", {
4615
4623
  key: 1,
4616
4624
  ref_key: "videoRef",
4617
4625
  ref: r,
4618
4626
  muted: e.muted,
4619
4627
  loop: "true",
4620
- class: "col-start-1 row-span-2 row-start-1 h-full w-full object-cover"
4628
+ class: "col-start-1 row-span-2 row-start-1 size-full object-cover"
4621
4629
  }, [c("source", {
4622
4630
  src: e.media,
4623
4631
  type: a.value
@@ -4626,7 +4634,7 @@ var cr = /* @__PURE__ */ p({
4626
4634
  name: "check",
4627
4635
  class: "ml-auto block shrink-0 text-3xl text-white"
4628
4636
  })], 2)], 2),
4629
- c("div", { class: y(["goup-hover:opacity-0 z-20 col-start-1 row-start-2 flex items-center px-5 pt-2.5 pb-3.5 text-white transition-all duration-300 ease-out group-hover:translate-y-full", e.variant === "video" ? "bg-purple-500" : "bg-social-media-template-info-bg"]) }, [c("div", null, [c("div", Na, k(e.name), 1), c("div", Pa, k(e.type), 1)]), f(Q, {
4637
+ c("div", { class: y(["z-20 col-start-1 row-start-2 flex items-center px-5 pt-2.5 pb-3.5 text-white transition-all duration-300 ease-out group-hover:translate-y-full group-hover:opacity-0", e.variant === "video" ? "bg-purple-500" : "bg-social-media-template-info-bg"]) }, [c("div", null, [c("div", Na, k(e.name), 1), c("div", Pa, k(e.type), 1)]), f(Q, {
4630
4638
  name: e.variant === "post" ? "image" : e.variant === "video" ? "play-circle" : "images",
4631
4639
  class: "mb-1 ml-auto block shrink-0 self-end text-lg"
4632
4640
  }, null, 8, ["name"])], 2)
@@ -5201,7 +5209,7 @@ var Wa = { render: Ua }, Ga = { class: "flex items-center justify-end self-stret
5201
5209
  "onUpdate:modelValue"
5202
5210
  ])])) : o("", !0), (w(!0), s(e, null, E(t.columns, (e, i) => (w(), s("div", {
5203
5211
  key: e.key,
5204
- class: "flex items-center truncate px-4 py-4 extra-small-normal text-slate-700",
5212
+ class: "flex items-center truncate p-4 extra-small-normal text-slate-700",
5205
5213
  role: "gridcell",
5206
5214
  "aria-colindex": i + (t.selectable ? 2 : 1)
5207
5215
  }, [D(r.$slots, L(e.key), {
@@ -5275,16 +5283,29 @@ var Wa = { render: Ua }, Ga = { class: "flex items-center justify-end self-stret
5275
5283
  _: 3
5276
5284
  }));
5277
5285
  }
5278
- }), Po = { class: "w-full max-w-105 rounded-xl border border-gray-200" }, Fo = { class: "h-38 w-full" }, Io = ["src", "alt"], Lo = {
5286
+ }), Po = { class: "block h-38 w-full" }, Fo = ["src"], Io = {
5279
5287
  key: 1,
5280
5288
  class: "flex h-38 w-full items-center justify-center rounded-t-xl bg-gray-100"
5281
- }, Ro = { class: "rounded-b-xl px-8 pt-3.5 pb-4" }, zo = { class: "truncate heading-4 text-gray-900" }, Bo = {
5289
+ }, Lo = { class: "rounded-b-xl px-8 pt-3.5 pb-4" }, Ro = { class: "truncate heading-4 text-gray-900" }, zo = {
5282
5290
  key: 0,
5283
5291
  class: "truncate body-normal text-gray-700"
5284
- }, Vo = {
5292
+ }, Bo = {
5285
5293
  key: 1,
5286
5294
  class: "mt-3 flex flex-wrap gap-2"
5287
- }, Ho = { class: "body-small text-gray-700" }, Uo = /* @__PURE__ */ p({
5295
+ }, Vo = { class: "sr-only" }, Ho = { class: "small-normal text-gray-700" }, Uo = [
5296
+ "aria-label",
5297
+ "aria-pressed",
5298
+ "disabled"
5299
+ ], Wo = {
5300
+ key: 1,
5301
+ class: "absolute top-4 right-4 z-20"
5302
+ }, Go = {
5303
+ key: 2,
5304
+ class: "pointer-events-none absolute inset-0 z-10 flex flex-col items-center justify-center gap-3 rounded-xl bg-white/60 opacity-0 backdrop-blur-xs transition-opacity duration-200 ease-out *:pointer-events-auto group-focus-within:opacity-100 group-hover:opacity-100 pointer-coarse:inset-x-0 pointer-coarse:top-0 pointer-coarse:bottom-auto pointer-coarse:h-38 pointer-coarse:justify-end pointer-coarse:bg-transparent pointer-coarse:p-4 pointer-coarse:opacity-100 pointer-coarse:backdrop-blur-none"
5305
+ }, Ko = {
5306
+ key: 3,
5307
+ class: "absolute -top-2 -right-2 z-30 flex size-6 items-center justify-center rounded-full bg-cornflower-blue-500 text-white shadow-sm"
5308
+ }, qo = /* @__PURE__ */ p({
5288
5309
  name: "NexxtTemplateCard",
5289
5310
  __name: "TemplateCard",
5290
5311
  props: {
@@ -5292,10 +5313,27 @@ var Wa = { render: Ua }, Ga = { class: "flex items-center justify-end self-stret
5292
5313
  title: {},
5293
5314
  subtitle: { default: void 0 },
5294
5315
  contentFeatures: { default: () => [] },
5295
- messages: { default: () => ({}) }
5316
+ messages: { default: () => ({}) },
5317
+ selectable: {
5318
+ type: Boolean,
5319
+ default: !1
5320
+ },
5321
+ selected: {
5322
+ type: Boolean,
5323
+ default: !1
5324
+ },
5325
+ checkmark: {
5326
+ type: Boolean,
5327
+ default: !1
5328
+ },
5329
+ disabled: {
5330
+ type: Boolean,
5331
+ default: !1
5332
+ }
5296
5333
  },
5297
- setup(t) {
5298
- let n = {
5334
+ emits: ["select"],
5335
+ setup(t, { emit: n }) {
5336
+ let r = {
5299
5337
  references: {
5300
5338
  icon: "house-circle-check",
5301
5339
  textColor: "text-cornflower-blue-500",
@@ -5316,41 +5354,68 @@ var Wa = { render: Ua }, Ga = { class: "flex items-center justify-end self-stret
5316
5354
  textColor: "text-green-500",
5317
5355
  backgroundColor: "bg-green-50"
5318
5356
  }
5319
- }, r = {
5357
+ }, a = {
5320
5358
  references: "Referenties",
5321
5359
  valuation: "Waardebepaling",
5322
5360
  reviews: "Reviews",
5323
5361
  packages: "Courtage"
5324
- }, a = t, l = i(() => ({
5325
- ...r,
5326
- ...a.messages
5327
- }));
5328
- return (r, i) => (w(), s("div", Po, [c("picture", Fo, [t.image ? (w(), s("img", {
5329
- key: 0,
5330
- src: t.image,
5331
- alt: t.title,
5332
- loading: "lazy",
5333
- class: "w-full rounded-t-xl object-cover"
5334
- }, null, 8, Io)) : (w(), s("div", Lo, [f(Q, {
5335
- name: "image",
5336
- class: "text-4xl text-gray-400"
5337
- })]))]), c("div", Ro, [
5338
- c("h3", zo, k(t.title), 1),
5339
- t.subtitle ? (w(), s("p", Bo, k(t.subtitle), 1)) : o("", !0),
5340
- t.contentFeatures.length ? (w(), s("ul", Vo, [(w(!0), s(e, null, E(t.contentFeatures, (e) => (w(), s("li", { key: e }, [f(No, null, {
5341
- tooltip: B(() => [c("span", Ho, k(l.value[e]), 1)]),
5342
- default: B(() => [c("div", { class: y([[n[e].backgroundColor, n[e].textColor], "flex size-8 items-center justify-center rounded-full"]) }, [f(Q, { name: n[e].icon }, null, 8, ["name"])], 2)]),
5343
- _: 2
5344
- }, 1024)]))), 128))])) : o("", !0)
5345
- ])]));
5362
+ }, l = t, u = n, d = i(() => ({
5363
+ ...a,
5364
+ ...l.messages
5365
+ })), p = () => {
5366
+ l.selectable && !l.disabled && u("select");
5367
+ };
5368
+ return (n, i) => (w(), s("div", { class: y(["group relative size-full max-w-105 rounded-xl border border-gray-200 transition-colors duration-200 ease-out", [t.selectable && t.selected && "border-cornflower-blue-500", t.selectable && !t.selected && !t.disabled && "hover:border-gray-300"]]) }, [
5369
+ c("div", { class: y(["relative z-10 transition-opacity duration-200 ease-out", [
5370
+ t.selectable && "pointer-events-none",
5371
+ t.selectable && t.disabled && "opacity-50",
5372
+ n.$slots.overlay && !(t.selectable && t.disabled) && "group-focus-within:opacity-40 group-hover:opacity-40 pointer-coarse:opacity-100!"
5373
+ ]]) }, [c("picture", Po, [t.image ? (w(), s("img", {
5374
+ key: 0,
5375
+ src: t.image,
5376
+ alt: "",
5377
+ loading: "lazy",
5378
+ class: "h-38 w-full rounded-t-xl object-cover"
5379
+ }, null, 8, Fo)) : (w(), s("div", Io, [f(Q, {
5380
+ name: "image",
5381
+ class: "text-4xl text-gray-400"
5382
+ })]))]), c("div", Lo, [
5383
+ c("h3", Ro, k(t.title), 1),
5384
+ t.subtitle ? (w(), s("p", zo, k(t.subtitle), 1)) : o("", !0),
5385
+ t.contentFeatures.length ? (w(), s("ul", Bo, [(w(!0), s(e, null, E(t.contentFeatures, (e) => (w(), s("li", { key: e }, [f(No, null, {
5386
+ tooltip: B(() => [c("span", Ho, k(d.value[e]), 1)]),
5387
+ default: B(() => [c("div", {
5388
+ class: y([[r[e].backgroundColor, r[e].textColor], "pointer-events-auto flex size-8 items-center justify-center rounded-full"]),
5389
+ onClick: p
5390
+ }, [f(Q, { name: r[e].icon }, null, 8, ["name"]), c("span", Vo, k(d.value[e]), 1)], 2)]),
5391
+ _: 2
5392
+ }, 1024)]))), 128))])) : o("", !0)
5393
+ ])], 2),
5394
+ t.selectable ? (w(), s("button", {
5395
+ key: 0,
5396
+ type: "button",
5397
+ "aria-label": t.title,
5398
+ "aria-pressed": t.selected,
5399
+ disabled: t.disabled || void 0,
5400
+ class: "absolute inset-0 cursor-pointer rounded-xl focus-visible:outline-3 focus-visible:outline-offset-2 focus-visible:outline-cornflower-blue-500 disabled:cursor-not-allowed",
5401
+ onClick: p
5402
+ }, null, 8, Uo)) : o("", !0),
5403
+ n.$slots.actions ? (w(), s("div", Wo, [D(n.$slots, "actions", { selected: t.selected })])) : o("", !0),
5404
+ n.$slots.overlay && !(t.selectable && t.disabled) ? (w(), s("div", Go, [D(n.$slots, "overlay", { selected: t.selected })])) : o("", !0),
5405
+ t.selectable && t.selected && t.checkmark ? (w(), s("span", Ko, [f(Q, {
5406
+ name: "check",
5407
+ type: "solid",
5408
+ class: "text-xs"
5409
+ })])) : o("", !0)
5410
+ ], 2));
5346
5411
  }
5347
- }), Wo = {
5412
+ }), Jo = {
5348
5413
  key: 0,
5349
5414
  class: "text-brick-500"
5350
- }, Go = ["rows", "placeholder"], Ko = {
5415
+ }, Yo = ["rows", "placeholder"], Xo = {
5351
5416
  key: 1,
5352
5417
  class: "small-normal text-brick-400"
5353
- }, qo = /* @__PURE__ */ p({
5418
+ }, Zo = /* @__PURE__ */ p({
5354
5419
  name: "NexxtTextarea",
5355
5420
  inheritAttrs: !1,
5356
5421
  __name: "Textarea",
@@ -5406,7 +5471,7 @@ var Wa = { render: Ua }, Ga = { class: "flex items-center justify-end self-stret
5406
5471
  key: 0,
5407
5472
  class: "justify-start small-normal text-gray-700",
5408
5473
  for: n
5409
- }, [d(k(e.label) + " ", 1), e.required ? (w(), s("span", Wo, "*")) : o("", !0)])) : o("", !0),
5474
+ }, [d(k(e.label) + " ", 1), e.required ? (w(), s("span", Jo, "*")) : o("", !0)])) : o("", !0),
5410
5475
  V(c("textarea", _({
5411
5476
  id: n,
5412
5477
  ref_key: "textareaEl",
@@ -5417,21 +5482,21 @@ var Wa = { render: Ua }, Ga = { class: "flex items-center justify-end self-stret
5417
5482
  placeholder: e.placeholder,
5418
5483
  class: ["min-h-10 w-full rounded-lg border px-3 py-2 small-normal text-gray-900 transition-colors outline-none placeholder:text-gray-400 focus:border-cornflower-blue-500", [e.error ? "border-brick-400" : "border-gray-200", e.autosize || e.resize === "none" ? "resize-none" : "resize-y"]],
5419
5484
  onInput: p
5420
- }), null, 16, Go), [[L, r.value]]),
5421
- e.error && e.errorMessage ? (w(), s("p", Ko, k(e.errorMessage), 1)) : o("", !0)
5485
+ }), null, 16, Yo), [[L, r.value]]),
5486
+ e.error && e.errorMessage ? (w(), s("p", Xo, k(e.errorMessage), 1)) : o("", !0)
5422
5487
  ], 6));
5423
5488
  }
5424
- }), Jo = [
5489
+ }), Qo = [
5425
5490
  "data-event-source",
5426
5491
  "data-event-date",
5427
5492
  "date-event-type"
5428
- ], Yo = { class: "heading-3" }, Xo = ["href"], Zo = { class: "truncate group-hover:underline" }, Qo = {
5493
+ ], $o = { class: "heading-3" }, es = ["href"], ts = { class: "truncate group-hover:underline" }, ns = {
5429
5494
  key: 1,
5430
5495
  class: "mt-1 text-sm text-gray-500"
5431
- }, $o = {
5496
+ }, rs = {
5432
5497
  key: 2,
5433
5498
  class: "mt-1 text-sm text-gray-500"
5434
- }, es = /* @__PURE__ */ p({
5499
+ }, is = /* @__PURE__ */ p({
5435
5500
  name: "NexxtTimelineEvent",
5436
5501
  __name: "TimelineEvent",
5437
5502
  props: {
@@ -5469,24 +5534,24 @@ var Wa = { render: Ua }, Ga = { class: "flex items-center justify-end self-stret
5469
5534
  "data-event-date": e.event.happened_at,
5470
5535
  "date-event-type": e.event.type,
5471
5536
  class: y(["relative z-20 flex flex-wrap items-center gap-x-6 gap-y-2", { "justify-end": l.value }])
5472
- }, [c("div", { class: y(["w-full px-24 extra-small-normal text-gray-600", { "text-right": l.value }]) }, k(a.value), 3), c("div", { class: y(["flex w-full shrink-0 items-center gap-6", { "flex-row-reverse": l.value }]) }, [c("div", { class: y(["flex h-10 w-10 shrink-0 items-center justify-center rounded-full", [n.value.color]]) }, [f(Q, {
5537
+ }, [c("div", { class: y(["w-full px-24 extra-small-normal text-gray-600", { "text-right": l.value }]) }, k(a.value), 3), c("div", { class: y(["flex w-full shrink-0 items-center gap-6", { "flex-row-reverse": l.value }]) }, [c("div", { class: y(["flex size-10 shrink-0 items-center justify-center rounded-full", [n.value.color]]) }, [f(Q, {
5473
5538
  name: n.value.icon,
5474
- class: "flex h-6 w-6 text-xl text-white"
5539
+ class: "flex size-6 text-xl text-white"
5475
5540
  }, null, 8, ["name"])], 2), c("div", { class: y(["flex w-full flex-col gap-2 rounded-xl border border-gray-200 p-8", { "max-w-lg": e.splitView }]) }, [
5476
- c("span", Yo, k(n.value.label), 1),
5541
+ c("span", $o, k(n.value.label), 1),
5477
5542
  e.event.url ? (w(), s("a", {
5478
5543
  key: 0,
5479
5544
  href: e.event.url,
5480
5545
  target: "_blank",
5481
5546
  class: "group mt-1 flex justify-between gap-2 text-sm text-cornflower-blue-500 hover:text-cornflower-blue-600"
5482
- }, [c("span", Zo, k(e.event.description || e.event.url), 1), f(Q, {
5547
+ }, [c("span", ts, k(e.event.description || e.event.url), 1), f(Q, {
5483
5548
  name: "external-link",
5484
- class: "ml-1 h-4 w-4 text-gray-950"
5485
- })], 8, Xo)) : e.event.description ? (w(), s("span", Qo, k(e.event.description), 1)) : o("", !0),
5486
- e.event.request_reason ? (w(), s("span", $o, " Reden: " + k(e.event.request_reason), 1)) : o("", !0)
5487
- ], 2)], 2)], 10, Jo));
5549
+ class: "ml-1 size-4 text-gray-950"
5550
+ })], 8, es)) : e.event.description ? (w(), s("span", ns, k(e.event.description), 1)) : o("", !0),
5551
+ e.event.request_reason ? (w(), s("span", rs, " Reden: " + k(e.event.request_reason), 1)) : o("", !0)
5552
+ ], 2)], 2)], 10, Qo));
5488
5553
  }
5489
- }), ts = { class: "relative z-10" }, ns = { class: "flex items-center justify-between px-4 py-2" }, rs = { class: "flex gap-1" }, is = { class: "text-sm" }, as = { class: "flex gap-1" }, os = { class: "text-sm" }, ss = /* @__PURE__ */ p({
5554
+ }), as = { class: "relative z-10" }, os = { class: "flex items-center justify-between px-4 py-2" }, ss = { class: "flex gap-1" }, cs = { class: "text-sm" }, ls = { class: "flex gap-1" }, us = { class: "text-sm" }, ds = /* @__PURE__ */ p({
5490
5555
  name: "NexxtTimelineLanes",
5491
5556
  __name: "TimelineLanes",
5492
5557
  props: {
@@ -5496,26 +5561,26 @@ var Wa = { render: Ua }, Ga = { class: "flex items-center justify-end self-stret
5496
5561
  rightTooltip: { default: "Vanuit relatie" }
5497
5562
  },
5498
5563
  setup(e) {
5499
- return (t, n) => (w(), s("div", ts, [c("div", ns, [c("span", rs, [d(k(e.leftLabel) + " ", 1), e.leftTooltip ? (w(), a(No, { key: 0 }, {
5500
- tooltip: B(() => [c("span", is, k(e.leftTooltip), 1)]),
5564
+ return (t, n) => (w(), s("div", as, [c("div", os, [c("span", ss, [d(k(e.leftLabel) + " ", 1), e.leftTooltip ? (w(), a(No, { key: 0 }, {
5565
+ tooltip: B(() => [c("span", cs, k(e.leftTooltip), 1)]),
5501
5566
  default: B(() => [f(Q, {
5502
5567
  name: "circle-info",
5503
- class: "h-4 w-4 text-xs text-gray-600"
5568
+ class: "size-4 text-xs text-gray-600"
5504
5569
  })]),
5505
5570
  _: 1
5506
- })) : o("", !0)]), c("span", as, [d(k(e.rightLabel) + " ", 1), e.rightTooltip ? (w(), a(No, { key: 0 }, {
5507
- tooltip: B(() => [c("span", os, k(e.rightTooltip), 1)]),
5571
+ })) : o("", !0)]), c("span", ls, [d(k(e.rightLabel) + " ", 1), e.rightTooltip ? (w(), a(No, { key: 0 }, {
5572
+ tooltip: B(() => [c("span", us, k(e.rightTooltip), 1)]),
5508
5573
  default: B(() => [f(Q, {
5509
5574
  name: "circle-info",
5510
- class: "h-4 w-4 text-xs text-gray-600"
5575
+ class: "size-4 text-xs text-gray-600"
5511
5576
  })]),
5512
5577
  _: 1
5513
5578
  })) : o("", !0)])])]));
5514
5579
  }
5515
- }), cs = ["data-phase"], ls = { class: "text-sm font-semibold tracking-wider uppercase" }, us = { class: "mt-2 font-medium text-xs text-gray-500" }, ds = {
5580
+ }), fs = ["data-phase"], ps = { class: "text-sm font-semibold tracking-wider uppercase" }, ms = { class: "mt-2 font-medium text-xs text-gray-500" }, hs = {
5516
5581
  key: 1,
5517
5582
  class: "h-1"
5518
- }, fs = /* @__PURE__ */ p({
5583
+ }, gs = /* @__PURE__ */ p({
5519
5584
  name: "NexxtTimelinePhaseblock",
5520
5585
  __name: "TimelinePhaseblock",
5521
5586
  props: {
@@ -5551,13 +5616,13 @@ var Wa = { render: Ua }, Ga = { class: "flex items-center justify-end self-stret
5551
5616
  class: "relative z-10 flex flex-col gap-16",
5552
5617
  "data-phase": t.phase.phase.value
5553
5618
  }, [
5554
- t.index === 0 && t.isSplitView ? (w(), a(ss, { key: 0 })) : o("", !0),
5619
+ t.index === 0 && t.isSplitView ? (w(), a(ds, { key: 0 })) : o("", !0),
5555
5620
  c("div", { class: y(["absolute bottom-0 left-5 w-0 border-l", [A(Z)[t.phase.phase.value].color, t.index === 0 && t.isSplitView ? "top-10" : "top-0"]]) }, null, 2),
5556
5621
  t.isSplitView ? (w(), s("div", {
5557
5622
  key: 1,
5558
5623
  class: y(["absolute right-5 bottom-0 w-0 border-l", [A(Z)[t.phase.phase.value].color, t.index === 0 ? "top-10" : "top-0"]])
5559
5624
  }, null, 2)) : o("", !0),
5560
- (w(!0), s(e, null, E(t.phase.events, (e) => (w(), a(es, {
5625
+ (w(!0), s(e, null, E(t.phase.events, (e) => (w(), a(is, {
5561
5626
  key: e.id,
5562
5627
  event: e,
5563
5628
  "split-view": t.isSplitView
@@ -5566,26 +5631,26 @@ var Wa = { render: Ua }, Ga = { class: "flex items-center justify-end self-stret
5566
5631
  key: 2,
5567
5632
  class: y(["relative flex flex-col items-center pt-8 pb-24 text-center", { "pl-16": !t.isSplitView }])
5568
5633
  }, [
5569
- c("div", { class: y(["flex items-center gap-2 rounded-full px-12 py-4", [A(Z)[t.phase.phase.value].bgColor, A(Z)[t.phase.phase.value].textColor]]) }, [c("span", ls, k(A(Z)[t.phase.phase.value].label), 1), d() ? (w(), a(Q, {
5634
+ c("div", { class: y(["flex items-center gap-2 rounded-full px-12 py-4", [A(Z)[t.phase.phase.value].bgColor, A(Z)[t.phase.phase.value].textColor]]) }, [c("span", ps, k(A(Z)[t.phase.phase.value].label), 1), d() ? (w(), a(Q, {
5570
5635
  key: 0,
5571
5636
  name: d() === "up" ? "arrow-up" : "arrow-down",
5572
- class: "h-4 w-4 text-white"
5637
+ class: "size-4 text-white"
5573
5638
  }, null, 8, ["name"])) : o("", !0)], 2),
5574
- c("span", us, k(u()), 1),
5639
+ c("span", ms, k(u()), 1),
5575
5640
  t.isSplitView ? (w(), s("div", {
5576
5641
  key: 0,
5577
5642
  class: y(["mt-4 h-px w-[75%]", A(Z)[t.phase.phase.value].bgColor])
5578
5643
  }, null, 2)) : o("", !0),
5579
- t.isLast ? o("", !0) : (w(), s("div", ds)),
5580
- c("div", { class: y(["absolute top-0 bottom-0 left-5 w-px bg-linear-to-b", r.value]) }, null, 2),
5644
+ t.isLast ? o("", !0) : (w(), s("div", hs)),
5645
+ c("div", { class: y(["absolute inset-y-0 left-5 w-px bg-linear-to-b", r.value]) }, null, 2),
5581
5646
  t.isSplitView ? (w(), s("div", {
5582
5647
  key: 2,
5583
- class: y(["absolute top-0 right-5 bottom-0 w-px bg-linear-to-b", r.value])
5648
+ class: y(["absolute inset-y-0 right-5 w-px bg-linear-to-b", r.value])
5584
5649
  }, null, 2)) : o("", !0)
5585
5650
  ], 2))
5586
- ], 8, cs));
5651
+ ], 8, fs));
5587
5652
  }
5588
- }), ps = { class: "relative z-10 flex flex-col gap-16" }, ms = /* @__PURE__ */ p({
5653
+ }), _s = { class: "relative z-10 flex flex-col gap-16" }, vs = /* @__PURE__ */ p({
5589
5654
  name: "NexxtTimelineTrack",
5590
5655
  __name: "TimelineTrack",
5591
5656
  props: {
@@ -5606,8 +5671,8 @@ var Wa = { render: Ua }, Ga = { class: "flex items-center justify-end self-stret
5606
5671
  },
5607
5672
  setup(t) {
5608
5673
  let n = t, r = i(() => n.splitView && n.showLanes);
5609
- return (n, i) => (w(), s("div", ps, [
5610
- r.value ? (w(), a(ss, {
5674
+ return (n, i) => (w(), s("div", _s, [
5675
+ r.value ? (w(), a(ds, {
5611
5676
  key: 0,
5612
5677
  "left-label": t.leftLabel,
5613
5678
  "right-label": t.rightLabel,
@@ -5624,24 +5689,24 @@ var Wa = { render: Ua }, Ga = { class: "flex items-center justify-end self-stret
5624
5689
  key: 1,
5625
5690
  class: y(["absolute right-5 bottom-0 w-0 border-l", [t.color, r.value ? "top-10" : "top-0"]])
5626
5691
  }, null, 2)) : o("", !0),
5627
- D(n.$slots, "default", {}, () => [(w(!0), s(e, null, E(t.events, (e) => (w(), a(es, {
5692
+ D(n.$slots, "default", {}, () => [(w(!0), s(e, null, E(t.events, (e) => (w(), a(is, {
5628
5693
  key: e.id,
5629
5694
  event: e,
5630
5695
  "split-view": t.splitView
5631
5696
  }, null, 8, ["event", "split-view"]))), 128))])
5632
5697
  ]));
5633
5698
  }
5634
- }), hs = ["role", "aria-live"], gs = { class: "flex min-w-0 flex-1 flex-col gap-0.5 pt-0.5" }, _s = {
5699
+ }), ys = ["role", "aria-live"], bs = { class: "flex min-w-0 flex-1 flex-col gap-0.5 pt-0.5" }, xs = {
5635
5700
  key: 1,
5636
5701
  class: "body-normal"
5637
- }, vs = ["aria-label"], ys = {
5702
+ }, Ss = ["aria-label"], Cs = {
5638
5703
  key: 0,
5639
5704
  class: "absolute inset-0 -rotate-90 text-gray-400",
5640
5705
  viewBox: "0 0 24 24",
5641
5706
  width: "32",
5642
5707
  height: "32",
5643
5708
  "aria-hidden": "true"
5644
- }, bs = 56.55, xs = /*#__PURE__*/ Un(/* @__PURE__ */ p({
5709
+ }, ws = 56.55, Ts = /*#__PURE__*/ Un(/* @__PURE__ */ p({
5645
5710
  name: "NexxtToast",
5646
5711
  __name: "Toast",
5647
5712
  props: {
@@ -5656,7 +5721,7 @@ var Wa = { render: Ua }, Ga = { class: "flex items-center justify-end self-stret
5656
5721
  },
5657
5722
  emits: ["dismiss"],
5658
5723
  setup(e, { emit: t }) {
5659
- M((e) => ({ b622135e: bs }));
5724
+ M((e) => ({ fa0d20de: ws }));
5660
5725
  let n = {
5661
5726
  info: {
5662
5727
  icon: "info",
@@ -5678,47 +5743,52 @@ var Wa = { render: Ua }, Ga = { class: "flex items-center justify-end self-stret
5678
5743
  iconBg: "bg-brick-500",
5679
5744
  titleColor: "text-brick-600"
5680
5745
  }
5681
- }, r = t, a = T(!1), l = i(() => n[e.variant]), u = null, d = e.autoClose, p = 0, m = (e) => {
5682
- p = Date.now(), u = setTimeout(() => r("dismiss"), e);
5683
- }, h = () => {
5684
- u && (clearTimeout(u), u = null, d -= Date.now() - p, a.value = !0);
5746
+ }, r = {
5747
+ info: "toast-info",
5748
+ success: "toast-success",
5749
+ warning: "toast-warning",
5750
+ error: "toast-error"
5751
+ }, a = t, l = T(!1), u = i(() => n[e.variant]), d = null, p = e.autoClose, m = 0, h = (e) => {
5752
+ m = Date.now(), d = setTimeout(() => a("dismiss"), e);
5685
5753
  }, g = () => {
5686
- d <= 0 || (a.value = !1, m(d));
5754
+ d && (clearTimeout(d), d = null, p -= Date.now() - m, l.value = !0);
5755
+ }, _ = () => {
5756
+ p <= 0 || (l.value = !1, h(p));
5687
5757
  };
5688
5758
  return S(() => {
5689
- e.autoClose > 0 && m(e.autoClose);
5759
+ e.autoClose > 0 && h(e.autoClose);
5690
5760
  }), C(() => {
5691
- u && clearTimeout(u);
5761
+ d && clearTimeout(d);
5692
5762
  }), (t, n) => (w(), s("div", {
5693
5763
  role: e.variant === "error" ? "alert" : "status",
5694
5764
  "aria-live": e.variant === "error" ? "assertive" : "polite",
5695
5765
  "aria-atomic": "true",
5696
- class: y(["toast flex w-100 gap-4 rounded-xl bg-white shadow-md", `toast-${e.variant}`]),
5697
- onMouseenter: n[1] ||= (t) => e.autoClose ? h() : void 0,
5698
- onMouseleave: n[2] ||= (t) => e.autoClose ? g() : void 0
5766
+ class: y(["toast flex w-100 gap-4 rounded-xl bg-white shadow-md", r[e.variant]]),
5767
+ onMouseenter: n[1] ||= (t) => e.autoClose ? g() : void 0,
5768
+ onMouseleave: n[2] ||= (t) => e.autoClose ? _() : void 0
5699
5769
  }, [
5700
5770
  c("div", {
5701
5771
  "aria-hidden": "true",
5702
- class: y(["flex h-8 w-8 shrink-0 items-center justify-center rounded-full text-white", l.value.iconBg])
5772
+ class: y(["flex size-8 shrink-0 items-center justify-center rounded-full text-white", u.value.iconBg])
5703
5773
  }, [f(Q, {
5704
- name: l.value.icon,
5774
+ name: u.value.icon,
5705
5775
  class: "text-xl"
5706
5776
  }, null, 8, ["name"])], 2),
5707
- c("div", gs, [
5777
+ c("div", bs, [
5708
5778
  e.title ? (w(), s("p", {
5709
5779
  key: 0,
5710
- class: y(["heading-4", l.value.titleColor])
5780
+ class: y(["heading-4", u.value.titleColor])
5711
5781
  }, k(e.title), 3)) : o("", !0),
5712
- e.message ? (w(), s("p", _s, k(e.message), 1)) : o("", !0),
5782
+ e.message ? (w(), s("p", xs, k(e.message), 1)) : o("", !0),
5713
5783
  D(t.$slots, "default", {}, void 0, !0)
5714
5784
  ]),
5715
5785
  e.dismissible ? (w(), s("button", {
5716
5786
  key: 0,
5717
5787
  type: "button",
5718
- class: "relative flex h-8 w-8 shrink-0 cursor-pointer items-center justify-center focus:outline-none",
5788
+ class: "relative flex size-8 shrink-0 cursor-pointer items-center justify-center focus:outline-none",
5719
5789
  "aria-label": e.autoClose ? `Sluiten (verdwijnt automatisch na ${e.autoClose / 1e3} seconden)` : "Sluiten",
5720
- onClick: n[0] ||= (e) => r("dismiss")
5721
- }, [e.autoClose ? (w(), s("svg", ys, [c("circle", {
5790
+ onClick: n[0] ||= (e) => a("dismiss")
5791
+ }, [e.autoClose ? (w(), s("svg", Cs, [c("circle", {
5722
5792
  cx: "12",
5723
5793
  cy: "12",
5724
5794
  r: "9",
@@ -5726,19 +5796,19 @@ var Wa = { render: Ua }, Ga = { class: "flex items-center justify-end self-stret
5726
5796
  stroke: "currentColor",
5727
5797
  "stroke-width": "1.2",
5728
5798
  "stroke-linecap": "round",
5729
- "stroke-dasharray": bs,
5799
+ "stroke-dasharray": ws,
5730
5800
  class: "timer-circle",
5731
5801
  style: x({
5732
5802
  animationDuration: `${e.autoClose}ms`,
5733
- animationPlayState: a.value ? "paused" : "running"
5803
+ animationPlayState: l.value ? "paused" : "running"
5734
5804
  })
5735
5805
  }, null, 4)])) : o("", !0), f(Q, {
5736
5806
  name: "xmark",
5737
5807
  class: "text-sm"
5738
- })], 8, vs)) : o("", !0)
5739
- ], 42, hs));
5808
+ })], 8, Ss)) : o("", !0)
5809
+ ], 42, ys));
5740
5810
  }
5741
- }), [["__scopeId", "data-v-d13bb383"]]), Ss = /* @__PURE__ */ p({
5811
+ }), [["__scopeId", "data-v-7e3c5bda"]]), Es = /* @__PURE__ */ p({
5742
5812
  name: "NexxtToaster",
5743
5813
  __name: "Toaster",
5744
5814
  props: {
@@ -5771,7 +5841,7 @@ var Wa = { render: Ua }, Ga = { class: "flex items-center justify-end self-stret
5771
5841
  default: B(() => [(w(!0), s(e, null, E(n.toasts, (e) => (w(), s("div", {
5772
5842
  key: e.id,
5773
5843
  class: "pointer-events-auto"
5774
- }, [f(xs, _({ ref_for: !0 }, e, { onDismiss: (t) => o("dismiss", e.id) }), null, 16, ["onDismiss"])]))), 128))]),
5844
+ }, [f(Ts, _({ ref_for: !0 }, e, { onDismiss: (t) => o("dismiss", e.id) }), null, 16, ["onDismiss"])]))), 128))]),
5775
5845
  _: 1
5776
5846
  }, 8, [
5777
5847
  "class",
@@ -5779,19 +5849,19 @@ var Wa = { render: Ua }, Ga = { class: "flex items-center justify-end self-stret
5779
5849
  "leave-to-class"
5780
5850
  ])], 2)]));
5781
5851
  }
5782
- }), Cs = { class: "flex flex-col gap-1" }, ws = {
5852
+ }), Ds = { class: "flex flex-col gap-1" }, Os = {
5783
5853
  key: 0,
5784
5854
  class: "justify-start small-normal text-gray-700"
5785
- }, Ts = ["onClick"], Es = {
5855
+ }, ks = ["onClick"], As = {
5786
5856
  key: 1,
5787
5857
  class: "extra-small-semibold"
5788
- }, Ds = ["onClick"], Os = {
5858
+ }, js = ["onClick"], Ms = {
5789
5859
  key: 1,
5790
5860
  class: "extra-small-semibold"
5791
- }, ks = {
5861
+ }, Ns = {
5792
5862
  key: 1,
5793
5863
  class: "extra-small-semibold"
5794
- }, As = /* @__PURE__ */ p({
5864
+ }, Ps = /* @__PURE__ */ p({
5795
5865
  name: "NexxtToggleGroup",
5796
5866
  __name: "ToggleGroup",
5797
5867
  props: /*@__PURE__*/ g({
@@ -5822,7 +5892,7 @@ var Wa = { render: Ua }, Ga = { class: "flex items-center justify-end self-stret
5822
5892
  };
5823
5893
  return R(r, async () => await m()), ot(i, () => m()), S(async () => {
5824
5894
  await document.fonts.ready, await m(), await v(), p.value = !0;
5825
- }), (n, m) => (w(), s("div", Cs, [t.label ? (w(), s("label", ws, k(t.label), 1)) : o("", !0), c("div", {
5895
+ }), (n, m) => (w(), s("div", Ds, [t.label ? (w(), s("label", Os, k(t.label), 1)) : o("", !0), c("div", {
5826
5896
  ref_key: "containerRef",
5827
5897
  ref: i,
5828
5898
  class: y(["relative isolate flex h-10 gap-1 rounded-xl bg-gray-100 p-1", { "flex-wrap": !t.equalWidth }])
@@ -5846,7 +5916,7 @@ var Wa = { render: Ua }, Ga = { class: "flex items-center justify-end self-stret
5846
5916
  }, [n.icon ? (w(), a(Q, {
5847
5917
  key: 0,
5848
5918
  name: n.icon
5849
- }, null, 8, ["name"])) : o("", !0), n.label ? (w(), s("span", Es, k(n.label), 1)) : o("", !0)], 10, Ts)]),
5919
+ }, null, 8, ["name"])) : o("", !0), n.label ? (w(), s("span", As, k(n.label), 1)) : o("", !0)], 10, ks)]),
5850
5920
  _: 2
5851
5921
  }, 1024)) : (w(), s("button", {
5852
5922
  key: 1,
@@ -5858,7 +5928,7 @@ var Wa = { render: Ua }, Ga = { class: "flex items-center justify-end self-stret
5858
5928
  }, [n.icon ? (w(), a(Q, {
5859
5929
  key: 0,
5860
5930
  name: n.icon
5861
- }, null, 8, ["name"])) : o("", !0), n.label ? (w(), s("span", Os, k(n.label), 1)) : o("", !0)], 10, Ds))], 64))), 128)),
5931
+ }, null, 8, ["name"])) : o("", !0), n.label ? (w(), s("span", Ms, k(n.label), 1)) : o("", !0)], 10, js))], 64))), 128)),
5862
5932
  c("div", {
5863
5933
  "aria-hidden": "true",
5864
5934
  class: y(["pointer-events-none absolute inset-0 z-20 flex gap-1 p-1", [p.value ? "transition-[clip-path] duration-500 ease-[cubic-bezier(0.34,1.2,0.64,1)]" : "", { "flex-wrap": !t.equalWidth }]]),
@@ -5869,29 +5939,29 @@ var Wa = { render: Ua }, Ga = { class: "flex items-center justify-end self-stret
5869
5939
  }, [e.icon ? (w(), a(Q, {
5870
5940
  key: 0,
5871
5941
  name: e.icon
5872
- }, null, 8, ["name"])) : o("", !0), e.label ? (w(), s("span", ks, k(e.label), 1)) : o("", !0)], 2))), 128))], 6)
5942
+ }, null, 8, ["name"])) : o("", !0), e.label ? (w(), s("span", Ns, k(e.label), 1)) : o("", !0)], 2))), 128))], 6)
5873
5943
  ], 2)]));
5874
5944
  }
5875
- }), js = [
5945
+ }), Fs = [
5876
5946
  "src",
5877
5947
  "loop",
5878
5948
  "aria-label"
5879
- ], Ms = {
5949
+ ], Is = {
5880
5950
  key: 0,
5881
5951
  role: "alert",
5882
5952
  class: "absolute inset-0 flex flex-col items-center justify-center gap-3 rounded-lg bg-gray-900 text-white"
5883
- }, Ns = { class: "heading-4" }, Ps = { class: "max-w-xs truncate extra-small-normal text-white/50" }, Fs = {
5953
+ }, Ls = { class: "heading-4" }, Rs = { class: "max-w-xs truncate extra-small-normal text-white/50" }, zs = {
5884
5954
  key: 0,
5885
5955
  class: "pointer-events-none absolute inset-0 flex items-center justify-center"
5886
- }, Is = {
5887
- class: "flex h-16 w-16 items-center justify-center rounded-full bg-black/50 text-white",
5956
+ }, Bs = {
5957
+ class: "flex size-16 items-center justify-center rounded-full bg-black/50 text-white",
5888
5958
  "aria-hidden": "true"
5889
- }, Ls = [
5959
+ }, Vs = [
5890
5960
  "aria-label",
5891
5961
  "aria-valuemax",
5892
5962
  "aria-valuenow",
5893
5963
  "aria-valuetext"
5894
- ], Rs = { class: "flex items-center gap-2" }, zs = ["aria-label"], Bs = { class: "extra-small-normal text-white/70 tabular-nums" }, Vs = ["aria-label"], Hs = ["aria-label"], Us = /* @__PURE__ */ p({
5964
+ ], Hs = { class: "flex items-center gap-2" }, Us = ["aria-label"], Ws = { class: "extra-small-normal text-white/70 tabular-nums" }, Gs = ["aria-label"], Ks = ["aria-label"], qs = /* @__PURE__ */ p({
5895
5965
  __name: "VideoPlayer",
5896
5966
  props: {
5897
5967
  src: {},
@@ -5972,15 +6042,15 @@ var Wa = { render: Ua }, Ga = { class: "flex items-center justify-end self-stret
5972
6042
  "aria-label": a.value.video,
5973
6043
  onError: r[0] ||= (e) => E.value = !0,
5974
6044
  onClick: r[1] ||= (t) => e.showControls === !1 ? void 0 : I()
5975
- }, null, 42, js),
5976
- E.value ? (w(), s("div", Ms, [
6045
+ }, null, 42, Fs),
6046
+ E.value ? (w(), s("div", Is, [
5977
6047
  f(Q, {
5978
6048
  name: "circle-exclamation",
5979
6049
  class: "text-3xl text-red-400",
5980
6050
  "aria-hidden": "true"
5981
6051
  }),
5982
- c("p", Ns, k(a.value.error), 1),
5983
- c("p", Ps, k(e.src), 1)
6052
+ c("p", Ls, k(a.value.error), 1),
6053
+ c("p", Rs, k(e.src), 1)
5984
6054
  ])) : o("", !0),
5985
6055
  f(n, {
5986
6056
  "enter-active-class": "transition-opacity duration-100 ease-out",
@@ -5988,7 +6058,7 @@ var Wa = { render: Ua }, Ga = { class: "flex items-center justify-end self-stret
5988
6058
  "enter-from-class": "opacity-0",
5989
6059
  "leave-to-class": "opacity-0"
5990
6060
  }, {
5991
- default: B(() => [e.showControls !== !1 && D.value && !E.value ? (w(), s("div", Fs, [c("div", Is, [f(Q, {
6061
+ default: B(() => [e.showControls !== !1 && D.value && !E.value ? (w(), s("div", zs, [c("div", Bs, [f(Q, {
5992
6062
  name: D.value,
5993
6063
  class: "text-2xl"
5994
6064
  }, null, 8, ["name"])])])) : o("", !0)]),
@@ -6028,45 +6098,45 @@ var Wa = { render: Ua }, Ga = { class: "flex items-center justify-end self-stret
6028
6098
  style: x({ width: `${ee.value}%` })
6029
6099
  }, null, 4),
6030
6100
  c("div", {
6031
- class: "absolute top-1/2 h-3 w-3 -translate-x-1/2 -translate-y-1/2 rounded-full bg-sapphire-100 opacity-0 shadow transition-opacity group-hover/player:opacity-100",
6101
+ class: "absolute top-1/2 size-3 -translate-1/2 rounded-full bg-sapphire-100 opacity-0 shadow-sm transition-opacity group-hover/player:opacity-100",
6032
6102
  style: x({ left: `${ee.value}%` })
6033
6103
  }, null, 4)
6034
- ], 40, Ls), c("div", Rs, [
6104
+ ], 40, Vs), c("div", Hs, [
6035
6105
  c("button", {
6036
6106
  type: "button",
6037
6107
  "aria-label": A(u) ? a.value.pause : a.value.play,
6038
- class: "flex h-8 w-8 cursor-pointer items-center justify-center rounded-full text-white transition hover:bg-white/10 hover:text-cornflower-blue-400",
6108
+ class: "flex size-8 cursor-pointer items-center justify-center rounded-full text-white transition hover:bg-white/10 hover:text-cornflower-blue-400",
6039
6109
  onClick: I
6040
6110
  }, [f(Q, {
6041
6111
  name: A(u) ? "pause" : "play",
6042
6112
  class: "text-sm",
6043
6113
  "aria-hidden": "true"
6044
- }, null, 8, ["name"])], 8, zs),
6045
- c("span", Bs, k(F(W.value)) + " / " + k(F(A(m))), 1),
6114
+ }, null, 8, ["name"])], 8, Us),
6115
+ c("span", Ws, k(F(W.value)) + " / " + k(F(A(m))), 1),
6046
6116
  r[7] ||= c("div", { class: "flex-1" }, null, -1),
6047
6117
  c("button", {
6048
6118
  type: "button",
6049
6119
  "aria-label": A(h) ? a.value.unmute : a.value.mute,
6050
- class: "flex h-8 w-8 cursor-pointer items-center justify-center rounded-full text-white transition hover:bg-white/10 hover:text-cornflower-blue-400",
6120
+ class: "flex size-8 cursor-pointer items-center justify-center rounded-full text-white transition hover:bg-white/10 hover:text-cornflower-blue-400",
6051
6121
  onClick: L
6052
6122
  }, [f(Q, {
6053
6123
  name: A(h) ? "volume-xmark" : "volume-high",
6054
6124
  class: "text-sm",
6055
6125
  "aria-hidden": "true"
6056
- }, null, 8, ["name"])], 8, Vs),
6126
+ }, null, 8, ["name"])], 8, Gs),
6057
6127
  c("button", {
6058
6128
  type: "button",
6059
6129
  "aria-label": A(_) ? a.value.exitFullscreen : a.value.enterFullscreen,
6060
- class: "flex h-8 w-8 cursor-pointer items-center justify-center rounded-full text-white transition hover:bg-white/10 hover:text-cornflower-blue-400",
6130
+ class: "flex size-8 cursor-pointer items-center justify-center rounded-full text-white transition hover:bg-white/10 hover:text-cornflower-blue-400",
6061
6131
  onClick: r[4] ||= (...e) => A(v) && A(v)(...e)
6062
6132
  }, [f(Q, {
6063
6133
  name: A(_) ? "compress" : "expand",
6064
6134
  class: "text-sm",
6065
6135
  "aria-hidden": "true"
6066
- }, null, 8, ["name"])], 8, Hs)
6136
+ }, null, 8, ["name"])], 8, Ks)
6067
6137
  ])], 4)) : o("", !0)
6068
6138
  ], 32));
6069
6139
  }
6070
6140
  });
6071
6141
  //#endregion
6072
- export { st as EVENT_CONFIG_MAP, ct as NexxtAnimatedNumber, mt as NexxtAnnouncement, yt as NexxtAvatar, xt as NexxtButton, $t as NexxtCalendar, nn as NexxtCard, an as NexxtCheckbox, on as NexxtChip, xn as NexxtColorPicker, Hn as NexxtCombobox, Vn as NexxtComboboxPanel, Yn as NexxtContactInfoCard, cr as NexxtCountrySelect, fr as NexxtCustomerJourneyTile, pr as NexxtDatePicker, xr as NexxtDoughnutChart, Er as NexxtDropdownButton, kr as NexxtEnergyLabel, $ as NexxtFloatingPanel, Nr as NexxtHeader, Q as NexxtIcon, Fr as NexxtInfoBlock, On as NexxtInputField, Ur as NexxtInputSelect, Gr as NexxtLoader, Yr as NexxtModal, Zr as NexxtModalFooter, ni as NexxtPageContainer, ri as NexxtPagination, si as NexxtPresenceIndicator, yi as NexxtProgressBar, Ai as NexxtPropertyCard, Ti as NexxtPropertyListing, Ki as NexxtReferenceCard, ea as NexxtSelect, ra as NexxtSelectableOption, la as NexxtSidebarMenuItem, da as NexxtSkeleton, ha as NexxtSkeletonPropertyCard, ya as NexxtSlider, Sa as NexxtSocialIcons, Ea as NexxtSocialMediaCustomTemplate, Fa as NexxtSocialMediaTemplate, Ya as NexxtSocialMediaType, co as NexxtSource, gt as NexxtSquircle, lo as NexxtStepperHeader, fo as NexxtSwitch, yo as NexxtTabbedContent, Mo as NexxtTable, ho as NexxtTabs, Uo as NexxtTemplateCard, qo as NexxtTextarea, es as NexxtTimelineEvent, ss as NexxtTimelineLanes, fs as NexxtTimelinePhaseblock, ms as NexxtTimelineTrack, xs as NexxtToast, Ss as NexxtToaster, As as NexxtToggleGroup, No as NexxtTooltip, Us as NexxtVideoPlayer, Z as PHASE_MAP, ao as SOURCE_MAP };
6142
+ export { st as EVENT_CONFIG_MAP, ct as NexxtAnimatedNumber, mt as NexxtAnnouncement, yt as NexxtAvatar, xt as NexxtButton, $t as NexxtCalendar, nn as NexxtCard, an as NexxtCheckbox, on as NexxtChip, xn as NexxtColorPicker, Hn as NexxtCombobox, Vn as NexxtComboboxPanel, Yn as NexxtContactInfoCard, cr as NexxtCountrySelect, fr as NexxtCustomerJourneyTile, pr as NexxtDatePicker, xr as NexxtDoughnutChart, Er as NexxtDropdownButton, kr as NexxtEnergyLabel, $ as NexxtFloatingPanel, Nr as NexxtHeader, Q as NexxtIcon, Fr as NexxtInfoBlock, On as NexxtInputField, Ur as NexxtInputSelect, Gr as NexxtLoader, Yr as NexxtModal, Zr as NexxtModalFooter, ni as NexxtPageContainer, ri as NexxtPagination, si as NexxtPresenceIndicator, yi as NexxtProgressBar, Ai as NexxtPropertyCard, Ti as NexxtPropertyListing, Ki as NexxtReferenceCard, ea as NexxtSelect, ra as NexxtSelectableOption, la as NexxtSidebarMenuItem, da as NexxtSkeleton, ha as NexxtSkeletonPropertyCard, ya as NexxtSlider, Sa as NexxtSocialIcons, Ea as NexxtSocialMediaCustomTemplate, Fa as NexxtSocialMediaTemplate, Ya as NexxtSocialMediaType, co as NexxtSource, gt as NexxtSquircle, lo as NexxtStepperHeader, fo as NexxtSwitch, yo as NexxtTabbedContent, Mo as NexxtTable, ho as NexxtTabs, qo as NexxtTemplateCard, Zo as NexxtTextarea, is as NexxtTimelineEvent, ds as NexxtTimelineLanes, gs as NexxtTimelinePhaseblock, vs as NexxtTimelineTrack, Ts as NexxtToast, Es as NexxtToaster, Ps as NexxtToggleGroup, No as NexxtTooltip, qs as NexxtVideoPlayer, Z as PHASE_MAP, ao as SOURCE_MAP };