@kazee-ds/vue 0.7.0 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { Fragment, cloneVNode, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, getCurrentInstance, guardReactiveProps, h, inject, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, onBeforeUnmount, onMounted, openBlock, provide, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useSlots, watch, watchEffect, withCtx, withKeys, withModifiers } from "vue";
1
+ import { Fragment, cloneVNode, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, getCurrentInstance, guardReactiveProps, h, inject, isRef, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onBeforeUnmount, onMounted, openBlock, provide, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useSlots, watch, watchEffect, withCtx, withKeys, withModifiers } from "vue";
2
2
  import * as Reka from "reka-ui";
3
- import { CheckboxIndicator, CheckboxRoot as CheckboxRoot$1, ComboboxAnchor as ComboboxAnchor$1, ComboboxContent as ComboboxContent$1, ComboboxInput as ComboboxInput$1, ComboboxItem as ComboboxItem$1, ComboboxPortal as ComboboxPortal$1, ComboboxRoot as ComboboxRoot$1, ComboboxTrigger as ComboboxTrigger$1, ComboboxViewport, DateFieldInput, DateFieldRoot, DialogClose, DialogContent as DialogContent$1, DialogDescription as DialogDescription$1, DialogOverlay, DialogPortal as DialogPortal$1, DialogRoot as DialogRoot$1, DialogTitle as DialogTitle$1, DialogTrigger as DialogTrigger$1, DropdownMenuCheckboxItem as DropdownMenuCheckboxItem$1, DropdownMenuContent as DropdownMenuContent$1, DropdownMenuGroup, DropdownMenuItem as DropdownMenuItem$1, DropdownMenuLabel, DropdownMenuPortal as DropdownMenuPortal$1, DropdownMenuRadioGroup as DropdownMenuRadioGroup$1, DropdownMenuRadioItem as DropdownMenuRadioItem$1, DropdownMenuRoot as DropdownMenuRoot$1, DropdownMenuSeparator as DropdownMenuSeparator$1, DropdownMenuSub as DropdownMenuSub$1, DropdownMenuSubContent as DropdownMenuSubContent$1, DropdownMenuSubTrigger as DropdownMenuSubTrigger$1, DropdownMenuTrigger as DropdownMenuTrigger$1, Label, ListboxContent as ListboxContent$1, ListboxGroup, ListboxItem as ListboxItem$1, ListboxItemIndicator as ListboxItemIndicator$1, ListboxRoot as ListboxRoot$1, NumberFieldDecrement, NumberFieldIncrement, NumberFieldInput as NumberFieldInput$1, NumberFieldRoot as NumberFieldRoot$1, PopoverClose, PopoverContent as PopoverContent$1, PopoverPortal as PopoverPortal$1, PopoverRoot as PopoverRoot$1, PopoverTrigger as PopoverTrigger$1, Primitive, RadioGroupItem as RadioGroupItem$1, RadioGroupRoot as RadioGroupRoot$1, RangeCalendarCell, RangeCalendarCellTrigger, RangeCalendarGrid, RangeCalendarGridBody, RangeCalendarGridHead, RangeCalendarGridRow, RangeCalendarHeadCell, RangeCalendarNext, RangeCalendarPrev, RangeCalendarRoot, SelectContent, SelectGroup, SelectItem as SelectItem$1, SelectItemIndicator as SelectItemIndicator$1, SelectItemText as SelectItemText$1, SelectPortal, SelectRoot, SelectTrigger, SelectValue, SelectViewport, SwitchRoot, TabsContent, TabsList as TabsList$1, TabsRoot, TabsTrigger, TimeFieldInput, TimeFieldRoot, ToastAction, ToastClose, ToastDescription as ToastDescription$1, ToastProvider, ToastRoot as ToastRoot$1, ToastTitle as ToastTitle$1, ToastViewport as ToastViewport$1, Toggle, ToggleGroupItem as ToggleGroupItem$1, ToggleGroupRoot as ToggleGroupRoot$1, TooltipContent as TooltipContent$1, TooltipPortal as TooltipPortal$1, TooltipProvider as TooltipProvider$1, TooltipRoot as TooltipRoot$1, TooltipTrigger as TooltipTrigger$1, useForwardExpose, useId as useId$1 } from "reka-ui";
3
+ import { CheckboxIndicator, CheckboxRoot as CheckboxRoot$1, ComboboxAnchor, ComboboxCancel, ComboboxContent, ComboboxInput, ComboboxItem as ComboboxItem$1, ComboboxPortal as ComboboxPortal$1, ComboboxRoot, ComboboxTrigger as ComboboxTrigger$1, ComboboxViewport, DateFieldInput, DateFieldRoot, DialogClose, DialogContent as DialogContent$1, DialogDescription as DialogDescription$1, DialogOverlay, DialogPortal as DialogPortal$1, DialogRoot as DialogRoot$1, DialogTitle as DialogTitle$1, DialogTrigger as DialogTrigger$1, DropdownMenuCheckboxItem as DropdownMenuCheckboxItem$1, DropdownMenuContent as DropdownMenuContent$1, DropdownMenuGroup, DropdownMenuItem as DropdownMenuItem$1, DropdownMenuLabel, DropdownMenuPortal as DropdownMenuPortal$1, DropdownMenuRadioGroup as DropdownMenuRadioGroup$1, DropdownMenuRadioItem as DropdownMenuRadioItem$1, DropdownMenuRoot as DropdownMenuRoot$1, DropdownMenuSeparator as DropdownMenuSeparator$1, DropdownMenuSub as DropdownMenuSub$1, DropdownMenuSubContent as DropdownMenuSubContent$1, DropdownMenuSubTrigger as DropdownMenuSubTrigger$1, DropdownMenuTrigger as DropdownMenuTrigger$1, Label, ListboxContent as ListboxContent$1, ListboxGroup, ListboxItem as ListboxItem$1, ListboxItemIndicator as ListboxItemIndicator$1, ListboxRoot as ListboxRoot$1, NumberFieldDecrement, NumberFieldIncrement, NumberFieldInput as NumberFieldInput$1, NumberFieldRoot as NumberFieldRoot$1, PopoverClose, PopoverContent as PopoverContent$1, PopoverPortal as PopoverPortal$1, PopoverRoot as PopoverRoot$1, PopoverTrigger as PopoverTrigger$1, Primitive, RadioGroupItem as RadioGroupItem$1, RadioGroupRoot as RadioGroupRoot$1, RangeCalendarCell, RangeCalendarCellTrigger, RangeCalendarGrid, RangeCalendarGridBody, RangeCalendarGridHead, RangeCalendarGridRow, RangeCalendarHeadCell, RangeCalendarNext, RangeCalendarPrev, RangeCalendarRoot, SelectContent, SelectGroup, SelectItem as SelectItem$1, SelectItemIndicator as SelectItemIndicator$1, SelectItemText as SelectItemText$1, SelectPortal, SelectRoot, SelectTrigger, SelectValue, SelectViewport, SwitchRoot, TabsContent, TabsList as TabsList$1, TabsRoot, TabsTrigger, TimeFieldInput, TimeFieldRoot, ToastAction, ToastClose, ToastDescription as ToastDescription$1, ToastProvider, ToastRoot as ToastRoot$1, ToastTitle as ToastTitle$1, ToastViewport as ToastViewport$1, Toggle, ToggleGroupItem as ToggleGroupItem$1, ToggleGroupRoot as ToggleGroupRoot$1, TooltipContent as TooltipContent$1, TooltipPortal as TooltipPortal$1, TooltipProvider as TooltipProvider$1, TooltipRoot as TooltipRoot$1, TooltipTrigger as TooltipTrigger$1, injectComboboxRootContext, injectSelectRootContext, useForwardExpose, useForwardProps, useId as useId$1 } from "reka-ui";
4
4
  import { CalendarDate, endOfMonth, getLocalTimeZone, now, parseAbsolute, parseDate, parseDateTime, parseTime, parseZonedDateTime, startOfMonth, startOfWeek, toCalendarDateTime, toZoned, today } from "@internationalized/date";
5
5
  //#region src/styling.ts
6
6
  function partClasses(base, custom) {
@@ -34,7 +34,7 @@ var _hoisted_1$58 = [
34
34
  "aria-hidden",
35
35
  "tabindex"
36
36
  ];
37
- var _hoisted_2$31 = {
37
+ var _hoisted_2$32 = {
38
38
  viewBox: "0 0 24 24",
39
39
  fill: "none",
40
40
  stroke: "currentColor",
@@ -217,7 +217,7 @@ var Toast_default = /* @__PURE__ */ defineComponent({
217
217
  createElementVNode("span", {
218
218
  class: normalizeClass(unref(partClasses)("toast__indicator", _ctx.$props.classNames?.indicator)),
219
219
  "aria-hidden": "true"
220
- }, [renderSlot(_ctx.$slots, "indicator", { entry: __props.entry }, () => [(openBlock(), createElementBlock("svg", _hoisted_2$31, [__props.entry.isLoading ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [_cache[4] || (_cache[4] = createElementVNode("circle", {
220
+ }, [renderSlot(_ctx.$slots, "indicator", { entry: __props.entry }, () => [(openBlock(), createElementBlock("svg", _hoisted_2$32, [__props.entry.isLoading ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [_cache[4] || (_cache[4] = createElementVNode("circle", {
221
221
  cx: "12",
222
222
  cy: "12",
223
223
  r: "9",
@@ -701,6 +701,363 @@ var SwitchRoot_default = /* @__PURE__ */ defineComponent({
701
701
  }
702
702
  });
703
703
  //#endregion
704
+ //#region src/combobox-policy-context.ts
705
+ var comboboxAnchorKey = Symbol("KazeeComboboxAnchor");
706
+ var comboboxPolicyKey = Symbol("KazeeComboboxPolicy");
707
+ //#endregion
708
+ //#region src/ComboboxRoot.vue
709
+ var ComboboxRoot_default = /* @__PURE__ */ defineComponent({
710
+ inheritAttrs: false,
711
+ __name: "ComboboxRoot",
712
+ props: {
713
+ open: {
714
+ type: Boolean,
715
+ default: void 0
716
+ },
717
+ defaultOpen: { type: Boolean },
718
+ resetSearchTermOnBlur: { type: Boolean },
719
+ resetSearchTermOnSelect: { type: Boolean },
720
+ openOnFocus: { type: Boolean },
721
+ openOnClick: { type: Boolean },
722
+ ignoreFilter: { type: Boolean },
723
+ resetModelValueOnClear: { type: Boolean },
724
+ unmountOnHide: { type: Boolean },
725
+ modelValue: { default: void 0 },
726
+ defaultValue: {},
727
+ multiple: { type: Boolean },
728
+ dir: {},
729
+ disabled: { type: Boolean },
730
+ highlightOnHover: { type: Boolean },
731
+ loop: { type: Boolean },
732
+ by: {},
733
+ asChild: { type: Boolean },
734
+ as: {},
735
+ name: {},
736
+ required: { type: Boolean },
737
+ size: { default: "md" },
738
+ variant: { default: "primary" },
739
+ hideLabel: { type: Boolean },
740
+ fullWidth: {
741
+ type: Boolean,
742
+ default: true
743
+ },
744
+ menuTrigger: { default: void 0 },
745
+ selectOnFocus: { type: Boolean },
746
+ disallowEmptySelection: { type: Boolean },
747
+ maxHeight: { default: void 0 }
748
+ },
749
+ emits: ["update:modelValue", "update:open"],
750
+ setup(__props, { emit: __emit }) {
751
+ const props = __props;
752
+ const emit = __emit;
753
+ const { forwardRef } = useForwardExpose();
754
+ provideFeedbackContext();
755
+ const instance = getCurrentInstance();
756
+ const localValue = ref(props.defaultValue);
757
+ const localOpen = ref(props.defaultOpen ?? false);
758
+ const input = ref();
759
+ const resetRevision = ref(0);
760
+ const close = ref(() => updateOpen(false));
761
+ const controlled = (name, kebab) => Object.hasOwn(instance?.vnode.props ?? {}, name) || Object.hasOwn(instance?.vnode.props ?? {}, kebab);
762
+ const value = computed(() => controlled("modelValue", "model-value") ? props.modelValue : localValue.value);
763
+ const isOpen = computed(() => props.open ?? localOpen.value);
764
+ let fromInput = false;
765
+ const primitiveProps = useForwardProps(props);
766
+ const forwarded = computed(() => Object.fromEntries(Object.entries(primitiveProps.value).filter(([name]) => ![
767
+ "size",
768
+ "variant",
769
+ "hideLabel",
770
+ "fullWidth",
771
+ "menuTrigger",
772
+ "selectOnFocus",
773
+ "disallowEmptySelection",
774
+ "maxHeight"
775
+ ].includes(name))));
776
+ function updateValue(next) {
777
+ if (props.disabled || props.disallowEmptySelection && (next == null || Array.isArray(next) && !next.length)) return;
778
+ localValue.value = next;
779
+ emit("update:modelValue", next);
780
+ }
781
+ function updateOpen(next) {
782
+ if (props.disabled || next && props.menuTrigger === "manual" && fromInput) return;
783
+ localOpen.value = next;
784
+ emit("update:open", next);
785
+ }
786
+ function keydown(event) {
787
+ if (event.isComposing) return;
788
+ fromInput = false;
789
+ if (event.key === "Escape" && isOpen.value) {
790
+ event.preventDefault();
791
+ event.stopPropagation();
792
+ close.value();
793
+ resetRevision.value++;
794
+ }
795
+ }
796
+ provide(comboboxPolicyKey, {
797
+ disabled: computed(() => !!props.disabled),
798
+ selectOnFocus: computed(() => !!props.selectOnFocus),
799
+ disallowEmptySelection: computed(() => !!props.disallowEmptySelection),
800
+ maxHeight: computed(() => props.maxHeight),
801
+ input,
802
+ value,
803
+ open: isOpen,
804
+ resetRevision,
805
+ close
806
+ });
807
+ let form;
808
+ function reset(event) {
809
+ const text = input.value?.value;
810
+ queueMicrotask(() => {
811
+ if (!event.defaultPrevented) {
812
+ if (!controlled("modelValue", "model-value")) localValue.value = props.defaultValue;
813
+ close.value();
814
+ resetRevision.value++;
815
+ } else if (input.value && text !== void 0) input.value.value = text;
816
+ });
817
+ }
818
+ onMounted(() => {
819
+ form = input.value?.form;
820
+ form?.addEventListener("reset", reset);
821
+ });
822
+ onBeforeUnmount(() => form?.removeEventListener("reset", reset));
823
+ return (_ctx, _cache) => {
824
+ return openBlock(), createBlock(unref(ComboboxRoot), mergeProps({ ref: unref(forwardRef) }, {
825
+ ...forwarded.value,
826
+ ..._ctx.$attrs
827
+ }, {
828
+ "model-value": value.value,
829
+ open: isOpen.value,
830
+ "reset-model-value-on-clear": __props.disallowEmptySelection ? false : __props.resetModelValueOnClear,
831
+ "open-on-focus": __props.menuTrigger ? __props.menuTrigger === "focus" : __props.openOnFocus,
832
+ "open-on-click": __props.menuTrigger ? __props.menuTrigger === "focus" : __props.openOnClick,
833
+ class: [
834
+ "select combobox",
835
+ `select--${__props.size}`,
836
+ `select--${__props.variant}`,
837
+ __props.hideLabel && "select--label-hidden",
838
+ !__props.fullWidth && "select--fit"
839
+ ],
840
+ onInputCapture: _cache[0] || (_cache[0] = ($event) => isRef(fromInput) ? fromInput.value = true : fromInput = true),
841
+ onPointerdownCapture: _cache[1] || (_cache[1] = ($event) => isRef(fromInput) ? fromInput.value = false : fromInput = false),
842
+ onKeydownCapture: keydown,
843
+ "onUpdate:modelValue": updateValue,
844
+ "onUpdate:open": updateOpen
845
+ }), {
846
+ default: withCtx((slotProps) => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps)))]),
847
+ _: 3
848
+ }, 16, [
849
+ "model-value",
850
+ "open",
851
+ "reset-model-value-on-clear",
852
+ "open-on-focus",
853
+ "open-on-click",
854
+ "class"
855
+ ]);
856
+ };
857
+ }
858
+ });
859
+ //#endregion
860
+ //#region src/ComboboxInput.vue
861
+ var ComboboxInput_default = /* @__PURE__ */ defineComponent({
862
+ inheritAttrs: false,
863
+ __name: "ComboboxInput",
864
+ props: {
865
+ displayValue: { type: Function },
866
+ modelValue: {},
867
+ autoFocus: { type: Boolean },
868
+ disabled: { type: Boolean },
869
+ asChild: { type: Boolean },
870
+ as: {}
871
+ },
872
+ emits: ["update:modelValue"],
873
+ setup(__props, { emit: __emit }) {
874
+ const props = __props;
875
+ const emit = __emit;
876
+ const forwarded = useForwardProps(props);
877
+ const { forwardRef, currentElement } = useForwardExpose();
878
+ const policy = inject(comboboxPolicyKey, void 0);
879
+ const primitive = injectComboboxRootContext();
880
+ if (policy) policy.close.value = () => primitive.onOpenChange(false);
881
+ const anchored = inject(comboboxAnchorKey, false);
882
+ const feedback = inject(feedbackContextKey, void 0);
883
+ const draft = ref();
884
+ const committed = ref("");
885
+ let editing = false;
886
+ let selectClick = false;
887
+ function pointerDown(event) {
888
+ selectClick = !!policy?.selectOnFocus.value && document.activeElement !== event.target;
889
+ if (selectClick && !event.defaultPrevented && !policy?.disabled.value) {
890
+ event.preventDefault();
891
+ event.target.focus();
892
+ event.target.select();
893
+ }
894
+ }
895
+ function click(event) {
896
+ if (selectClick && !policy?.disabled.value) event.target.select();
897
+ selectClick = false;
898
+ }
899
+ const text = computed(() => props.modelValue ?? draft.value);
900
+ function updateText(value) {
901
+ draft.value = value;
902
+ if (!editing && !policy?.open.value) committed.value = value;
903
+ emit("update:modelValue", value);
904
+ }
905
+ function edit() {
906
+ editing = true;
907
+ queueMicrotask(() => {
908
+ editing = false;
909
+ });
910
+ }
911
+ watch(() => policy?.resetRevision.value, () => {
912
+ updateText(props.displayValue ? props.displayValue(policy?.value.value) : committed.value);
913
+ }, { flush: "post" });
914
+ onMounted(() => {
915
+ if (policy) policy.input.value = currentElement.value;
916
+ });
917
+ function focus(event) {
918
+ if (!policy?.open.value) committed.value = event.target.value;
919
+ if (policy?.selectOnFocus.value && !policy.disabled.value) event.target.select();
920
+ }
921
+ return (_ctx, _cache) => {
922
+ return openBlock(), createBlock(unref(ComboboxInput), mergeProps({ ref: unref(forwardRef) }, {
923
+ ...unref(forwarded),
924
+ ..._ctx.$attrs
925
+ }, {
926
+ "model-value": text.value,
927
+ class: unref(anchored) ? "combobox__input" : "combobox__control",
928
+ "aria-describedby": [unref(feedback)?.describedBy.value, _ctx.$attrs["aria-describedby"]].filter(Boolean).join(" ") || void 0,
929
+ onFocus: focus,
930
+ onInputCapture: edit,
931
+ onPointerdownCapture: pointerDown,
932
+ onClick: click,
933
+ "onUpdate:modelValue": updateText
934
+ }), {
935
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
936
+ _: 3
937
+ }, 16, [
938
+ "model-value",
939
+ "class",
940
+ "aria-describedby"
941
+ ]);
942
+ };
943
+ }
944
+ });
945
+ //#endregion
946
+ //#region src/ComboboxContent.vue
947
+ var ComboboxContent_default = /* @__PURE__ */ defineComponent({
948
+ inheritAttrs: false,
949
+ __name: "ComboboxContent",
950
+ props: {
951
+ forceMount: { type: Boolean },
952
+ position: {},
953
+ bodyLock: { type: Boolean },
954
+ hideWhenEmpty: { type: Boolean },
955
+ memoDependencies: {},
956
+ side: {},
957
+ sideOffset: {},
958
+ sideFlip: { type: Boolean },
959
+ align: {},
960
+ alignOffset: {},
961
+ alignFlip: { type: Boolean },
962
+ avoidCollisions: { type: Boolean },
963
+ collisionBoundary: {},
964
+ collisionPadding: {},
965
+ arrowPadding: {},
966
+ hideShiftedArrow: { type: Boolean },
967
+ sticky: {},
968
+ hideWhenDetached: { type: Boolean },
969
+ positionStrategy: {},
970
+ updatePositionStrategy: {},
971
+ disableUpdateOnLayoutShift: { type: Boolean },
972
+ prioritizePosition: { type: Boolean },
973
+ reference: {},
974
+ dir: {},
975
+ asChild: { type: Boolean },
976
+ as: {},
977
+ disableOutsidePointerEvents: { type: Boolean },
978
+ maxHeight: {}
979
+ },
980
+ setup(__props) {
981
+ const props = __props;
982
+ const { forwardRef } = useForwardExpose();
983
+ const policy = inject(comboboxPolicyKey, void 0);
984
+ const primitiveProps = useForwardProps(props);
985
+ const forwarded = computed(() => Object.fromEntries(Object.entries(primitiveProps.value).filter(([name]) => name !== "maxHeight")));
986
+ const limit = computed(() => props.maxHeight ?? policy?.maxHeight.value);
987
+ const style = computed(() => ({ "--selection-max-height": limit.value && Number.isFinite(limit.value) && limit.value > 0 ? `${limit.value}px` : void 0 }));
988
+ return (_ctx, _cache) => {
989
+ return openBlock(), createBlock(unref(ComboboxContent), mergeProps({ ref: unref(forwardRef) }, {
990
+ ...forwarded.value,
991
+ ..._ctx.$attrs
992
+ }, {
993
+ class: "select__popover combobox__popover",
994
+ style: style.value,
995
+ onEscapeKeyDown: _cache[0] || (_cache[0] = (event) => {
996
+ if (!event.isComposing) event.stopPropagation();
997
+ })
998
+ }), {
999
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
1000
+ _: 3
1001
+ }, 16, ["style"]);
1002
+ };
1003
+ }
1004
+ });
1005
+ //#endregion
1006
+ //#region src/ComboboxAnchor.vue
1007
+ var ComboboxAnchor_default = /* @__PURE__ */ defineComponent({
1008
+ inheritAttrs: false,
1009
+ __name: "ComboboxAnchor",
1010
+ props: {
1011
+ reference: {},
1012
+ asChild: { type: Boolean },
1013
+ as: {}
1014
+ },
1015
+ setup(__props) {
1016
+ const forwarded = useForwardProps(__props);
1017
+ const { forwardRef } = useForwardExpose();
1018
+ provide(comboboxAnchorKey, true);
1019
+ return (_ctx, _cache) => {
1020
+ return openBlock(), createBlock(unref(ComboboxAnchor), mergeProps({ ref: unref(forwardRef) }, {
1021
+ ...unref(forwarded),
1022
+ ..._ctx.$attrs
1023
+ }, { class: "combobox__group combobox__control" }), {
1024
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
1025
+ _: 3
1026
+ }, 16);
1027
+ };
1028
+ }
1029
+ });
1030
+ //#endregion
1031
+ //#region src/ComboboxClearButton.vue
1032
+ var ComboboxClearButton_default = /* @__PURE__ */ defineComponent({
1033
+ inheritAttrs: false,
1034
+ __name: "ComboboxClearButton",
1035
+ props: {
1036
+ asChild: { type: Boolean },
1037
+ as: {}
1038
+ },
1039
+ setup(__props) {
1040
+ const forwarded = useForwardProps(__props);
1041
+ const { forwardRef } = useForwardExpose();
1042
+ const policy = inject(comboboxPolicyKey, void 0);
1043
+ return (_ctx, _cache) => {
1044
+ return !unref(policy)?.disallowEmptySelection.value ? (openBlock(), createBlock(unref(ComboboxCancel), mergeProps({
1045
+ key: 0,
1046
+ ref: unref(forwardRef)
1047
+ }, {
1048
+ ...unref(forwarded),
1049
+ ..._ctx.$attrs
1050
+ }, {
1051
+ class: "combobox__clear",
1052
+ disabled: unref(policy)?.disabled.value || _ctx.$attrs.disabled === true || _ctx.$attrs.disabled === ""
1053
+ }), {
1054
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
1055
+ _: 3
1056
+ }, 16, ["disabled"])) : createCommentVNode("", true);
1057
+ };
1058
+ }
1059
+ });
1060
+ //#endregion
704
1061
  //#region src/ToastCloseButton.vue
705
1062
  var ToastCloseButton_default = /* @__PURE__ */ defineComponent({
706
1063
  __name: "ToastCloseButton",
@@ -755,8 +1112,12 @@ var CardAction_default = /* @__PURE__ */ defineComponent({
755
1112
  href: {},
756
1113
  target: {},
757
1114
  rel: {},
758
- onPress: { type: Function },
1115
+ onPress: {},
759
1116
  disabled: { type: Boolean },
1117
+ selected: {
1118
+ type: Boolean,
1119
+ default: void 0
1120
+ },
760
1121
  actionLabel: {},
761
1122
  actionLabelledBy: {},
762
1123
  actionClassName: {}
@@ -775,7 +1136,8 @@ var CardAction_default = /* @__PURE__ */ defineComponent({
775
1136
  tabindex: props.disabled ? -1 : void 0,
776
1137
  ...props.href ? {} : {
777
1138
  type: "button",
778
- disabled: props.disabled
1139
+ disabled: props.disabled,
1140
+ "aria-pressed": props.selected
779
1141
  },
780
1142
  onClick: (event) => {
781
1143
  if (props.disabled) event.preventDefault();
@@ -801,6 +1163,10 @@ var CardRoot_default = /* @__PURE__ */ defineComponent({
801
1163
  rel: {},
802
1164
  onPress: {},
803
1165
  disabled: { type: Boolean },
1166
+ selected: {
1167
+ type: Boolean,
1168
+ default: void 0
1169
+ },
804
1170
  actionLabel: {},
805
1171
  actionLabelledBy: {},
806
1172
  actionClassName: {},
@@ -815,7 +1181,8 @@ var CardRoot_default = /* @__PURE__ */ defineComponent({
815
1181
  class: normalizeClass(["card", __props.classNames?.root]),
816
1182
  "data-density": __props.density,
817
1183
  "data-interactive": !!(__props.href || __props.onPress) || void 0,
818
- "data-disabled": __props.disabled || void 0
1184
+ "data-disabled": __props.disabled || void 0,
1185
+ "data-selected": __props.selected || void 0
819
1186
  }, {
820
1187
  default: withCtx(() => [createVNode(CardAction_default, mergeProps(_ctx.$props, {
821
1188
  "action-class-name": [__props.classNames?.action, __props.actionClassName].filter(Boolean).join(" "),
@@ -835,7 +1202,8 @@ var CardRoot_default = /* @__PURE__ */ defineComponent({
835
1202
  "class",
836
1203
  "data-density",
837
1204
  "data-interactive",
838
- "data-disabled"
1205
+ "data-disabled",
1206
+ "data-selected"
839
1207
  ]);
840
1208
  };
841
1209
  }
@@ -951,7 +1319,7 @@ var FieldError_default = /* @__PURE__ */ defineComponent({
951
1319
  //#endregion
952
1320
  //#region src/InputRoot.vue?vue&type=script&setup=true&lang.ts
953
1321
  var _hoisted_1$51 = ["dir"];
954
- var _hoisted_2$30 = ["for"];
1322
+ var _hoisted_2$31 = ["for"];
955
1323
  //#endregion
956
1324
  //#region src/InputRoot.vue
957
1325
  var InputRoot_default = /* @__PURE__ */ defineComponent({
@@ -1014,7 +1382,7 @@ var InputRoot_default = /* @__PURE__ */ defineComponent({
1014
1382
  key: 0,
1015
1383
  for: unref(id),
1016
1384
  class: normalizeClass(unref(partClasses)("input__label", __props.classNames?.label))
1017
- }, toDisplayString(__props.label), 11, _hoisted_2$30)) : createCommentVNode("", true), renderSlot(_ctx.$slots, "default")], 16, _hoisted_1$51);
1385
+ }, toDisplayString(__props.label), 11, _hoisted_2$31)) : createCommentVNode("", true), renderSlot(_ctx.$slots, "default")], 16, _hoisted_1$51);
1018
1386
  };
1019
1387
  }
1020
1388
  });
@@ -1086,6 +1454,46 @@ var TextareaControl_default = /* @__PURE__ */ defineComponent({
1086
1454
  }
1087
1455
  });
1088
1456
  //#endregion
1457
+ //#region src/DialogHeader.vue
1458
+ var DialogHeader_default = /* @__PURE__ */ defineComponent({
1459
+ __name: "DialogHeader",
1460
+ props: {
1461
+ as: { default: "div" },
1462
+ divided: { type: Boolean }
1463
+ },
1464
+ setup(__props) {
1465
+ return (_ctx, _cache) => {
1466
+ return openBlock(), createBlock(resolveDynamicComponent(__props.as), {
1467
+ class: "overlay__header",
1468
+ "data-divided": __props.divided || void 0
1469
+ }, {
1470
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
1471
+ _: 3
1472
+ }, 8, ["data-divided"]);
1473
+ };
1474
+ }
1475
+ });
1476
+ //#endregion
1477
+ //#region src/DialogFooter.vue
1478
+ var DialogFooter_default = /* @__PURE__ */ defineComponent({
1479
+ __name: "DialogFooter",
1480
+ props: {
1481
+ as: { default: "div" },
1482
+ divided: { type: Boolean }
1483
+ },
1484
+ setup(__props) {
1485
+ return (_ctx, _cache) => {
1486
+ return openBlock(), createBlock(resolveDynamicComponent(__props.as), {
1487
+ class: "overlay__footer",
1488
+ "data-divided": __props.divided || void 0
1489
+ }, {
1490
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
1491
+ _: 3
1492
+ }, 8, ["data-divided"]);
1493
+ };
1494
+ }
1495
+ });
1496
+ //#endregion
1089
1497
  //#region src/sidebar-composition-context.ts
1090
1498
  var sidebarCompositionKey = Symbol("KazeeSidebarComposition");
1091
1499
  //#endregion
@@ -1149,7 +1557,7 @@ var BadgeAnchor_default = /* @__PURE__ */ defineComponent({
1149
1557
  //#endregion
1150
1558
  //#region src/SelectRoot.vue?vue&type=script&setup=true&lang.ts
1151
1559
  var _hoisted_1$49 = ["dir", "data-multiple"];
1152
- var _hoisted_2$29 = ["id", "for"];
1560
+ var _hoisted_2$30 = ["id", "for"];
1153
1561
  //#endregion
1154
1562
  //#region src/SelectRoot.vue
1155
1563
  var SelectRoot_default = /* @__PURE__ */ defineComponent({
@@ -1248,7 +1656,7 @@ var SelectRoot_default = /* @__PURE__ */ defineComponent({
1248
1656
  id: `${unref(id)}-label`,
1249
1657
  for: unref(id),
1250
1658
  class: normalizeClass(unref(partClasses)("select__label", __props.classNames?.label))
1251
- }, toDisplayString(__props.label), 11, _hoisted_2$29)) : createCommentVNode("", true), createVNode(unref(SelectRoot), {
1659
+ }, toDisplayString(__props.label), 11, _hoisted_2$30)) : createCommentVNode("", true), createVNode(unref(SelectRoot), {
1252
1660
  "model-value": multiple.value ? value.value ?? [] : value.value ?? "",
1253
1661
  multiple: multiple.value,
1254
1662
  disabled: __props.disabled,
@@ -1325,7 +1733,7 @@ var SelectTrigger_default = /* @__PURE__ */ defineComponent({
1325
1733
  //#endregion
1326
1734
  //#region src/SelectClearButton.vue?vue&type=script&setup=true&lang.ts
1327
1735
  var _hoisted_1$48 = ["data-empty", "data-disabled"];
1328
- var _hoisted_2$28 = ["disabled", "data-empty"];
1736
+ var _hoisted_2$29 = ["disabled", "data-empty"];
1329
1737
  //#endregion
1330
1738
  //#region src/SelectClearButton.vue
1331
1739
  var SelectClearButton_default = /* @__PURE__ */ defineComponent({
@@ -1356,7 +1764,36 @@ var SelectClearButton_default = /* @__PURE__ */ defineComponent({
1356
1764
  disabled: unref(context).disabled.value || unref(context).empty.value,
1357
1765
  "data-empty": unref(context).empty.value || void 0,
1358
1766
  onClick: clear
1359
- }, [renderSlot(_ctx.$slots, "default", {}, () => [createVNode(CloseIcon_default, { class: "selection__close-icon" })])], 8, _hoisted_2$28));
1767
+ }, [renderSlot(_ctx.$slots, "default", {}, () => [createVNode(CloseIcon_default, { class: "selection__close-icon" })])], 8, _hoisted_2$29));
1768
+ };
1769
+ }
1770
+ });
1771
+ //#endregion
1772
+ //#region src/SelectionPopoverContent.vue
1773
+ var SelectionPopoverContent_default = /* @__PURE__ */ defineComponent({
1774
+ inheritAttrs: false,
1775
+ __name: "SelectionPopoverContent",
1776
+ emits: ["escapeKeyDown"],
1777
+ setup(__props, { emit: __emit }) {
1778
+ const emit = __emit;
1779
+ const state = injectSelectRootContext();
1780
+ const { forwardRef } = useForwardExpose();
1781
+ function keydown(event) {
1782
+ if (event.key !== "Escape" || event.isComposing || !state.open.value || event.defaultPrevented) return;
1783
+ emit("escapeKeyDown", event);
1784
+ if (event.defaultPrevented) return;
1785
+ event.preventDefault();
1786
+ event.stopPropagation();
1787
+ state.onOpenChange(false);
1788
+ }
1789
+ return (_ctx, _cache) => {
1790
+ return openBlock(), createBlock(unref(SelectContent), mergeProps({ ref: unref(forwardRef) }, _ctx.$attrs, {
1791
+ onKeydownCapture: keydown,
1792
+ onEscapeKeyDown: _cache[0] || (_cache[0] = ($event) => emit("escapeKeyDown", $event))
1793
+ }), {
1794
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
1795
+ _: 3
1796
+ }, 16);
1360
1797
  };
1361
1798
  }
1362
1799
  });
@@ -1365,16 +1802,23 @@ var SelectClearButton_default = /* @__PURE__ */ defineComponent({
1365
1802
  var SelectPopover_default = /* @__PURE__ */ defineComponent({
1366
1803
  inheritAttrs: false,
1367
1804
  __name: "SelectPopover",
1805
+ props: { maxHeight: {} },
1368
1806
  setup(__props) {
1369
1807
  return (_ctx, _cache) => {
1370
1808
  return openBlock(), createBlock(unref(SelectPortal), null, {
1371
- default: withCtx(() => [createVNode(unref(SelectContent), mergeProps({
1809
+ default: withCtx(() => [createVNode(SelectionPopoverContent_default, mergeProps({
1372
1810
  position: "popper",
1373
1811
  "side-offset": 4
1374
- }, _ctx.$attrs, { class: "select__popover" }), {
1812
+ }, _ctx.$attrs, {
1813
+ class: "select__popover",
1814
+ style: { "--selection-max-height": __props.maxHeight && Number.isFinite(__props.maxHeight) && __props.maxHeight > 0 ? `${__props.maxHeight}px` : void 0 },
1815
+ onEscapeKeyDown: _cache[0] || (_cache[0] = (event) => {
1816
+ if (!event.isComposing) event.stopPropagation();
1817
+ })
1818
+ }), {
1375
1819
  default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
1376
1820
  _: 3
1377
- }, 16)]),
1821
+ }, 16, ["style"])]),
1378
1822
  _: 3
1379
1823
  });
1380
1824
  };
@@ -1529,16 +1973,11 @@ var NumberFieldRoot = /* @__PURE__ */ styledPrimitive(Reka.NumberFieldRoot, "Num
1529
1973
  var NumberFieldInput = /* @__PURE__ */ styledPrimitive(Reka.NumberFieldInput, "NumberFieldInput", "number-field__control");
1530
1974
  var NumberFieldIncrementButton = /* @__PURE__ */ styledPrimitive(Reka.NumberFieldIncrement, "NumberFieldIncrementButton", "number-field__step");
1531
1975
  var NumberFieldDecrementButton = /* @__PURE__ */ styledPrimitive(Reka.NumberFieldDecrement, "NumberFieldDecrementButton", "number-field__step");
1532
- var ComboboxRoot = /* @__PURE__ */ styledPrimitive(Reka.ComboboxRoot, "ComboboxRoot", "select combobox");
1533
- var ComboboxInput = /* @__PURE__ */ styledPrimitive(Reka.ComboboxInput, "ComboboxInput", "combobox__control");
1534
1976
  var ComboboxTrigger = /* @__PURE__ */ styledPrimitive(Reka.ComboboxTrigger, "ComboboxTrigger", "combobox__toggle");
1535
- var ComboboxContent = /* @__PURE__ */ styledPrimitive(Reka.ComboboxContent, "ComboboxContent", "select__popover");
1536
1977
  var ComboboxItem = /* @__PURE__ */ styledPrimitive(Reka.ComboboxItem, "ComboboxItem", "select__item");
1537
1978
  var ComboboxItemIndicator = /* @__PURE__ */ styledPrimitive(Reka.ComboboxItemIndicator, "ComboboxItemIndicator", "select__check", () => h(CheckIcon_default));
1538
1979
  var ComboboxSection = /* @__PURE__ */ styledPrimitive(Reka.ComboboxGroup, "ComboboxSection", "select__section");
1539
1980
  var ComboboxSectionLabel = /* @__PURE__ */ styledPrimitive(Reka.ComboboxLabel, "ComboboxSectionLabel", "select__label");
1540
- var ComboboxAnchor = /* @__PURE__ */ styledPrimitive(Reka.ComboboxAnchor, "ComboboxAnchor", "combobox__group");
1541
- var ComboboxClearButton = /* @__PURE__ */ styledPrimitive(Reka.ComboboxCancel, "ComboboxClearButton", "combobox__clear");
1542
1981
  var DialogTrigger = /* @__PURE__ */ styledPrimitive(Reka.DialogTrigger, "DialogTrigger", "button button--secondary");
1543
1982
  var DialogBackdrop = /* @__PURE__ */ styledPrimitive(Reka.DialogOverlay, "DialogBackdrop", "dialog__backdrop dialog__viewport");
1544
1983
  var DialogContent = /* @__PURE__ */ styledPrimitive(Reka.DialogContent, "DialogContent", "dialog__panel dialog__content");
@@ -1609,9 +2048,7 @@ var TableFooter = /* @__PURE__ */ contentPart("TableFooter", "tfoot", "table__fo
1609
2048
  var TableRow = /* @__PURE__ */ contentPart("TableRow", "tr", "table__row");
1610
2049
  var TableColumn = /* @__PURE__ */ contentPart("TableColumn", "th", "table__header", { scope: "col" });
1611
2050
  var TableCell = /* @__PURE__ */ contentPart("TableCell", "td", "table__cell");
1612
- var DialogHeader = /* @__PURE__ */ contentPart("DialogHeader", "div", "overlay__header");
1613
2051
  var DialogBody = /* @__PURE__ */ contentPart("DialogBody", "div", "overlay__body");
1614
- var DialogFooter = /* @__PURE__ */ contentPart("DialogFooter", "div", "overlay__footer");
1615
2052
  var PopoverHeading = /* @__PURE__ */ contentPart("PopoverHeading", "h2", "overlay__title");
1616
2053
  var PopoverBody = /* @__PURE__ */ contentPart("PopoverBody", "div", "overlay__body");
1617
2054
  var PopoverFooter = /* @__PURE__ */ contentPart("PopoverFooter", "div", "overlay__footer");
@@ -2064,7 +2501,7 @@ var ToggleButtonGroup_default = /* @__PURE__ */ defineComponent({
2064
2501
  //#endregion
2065
2502
  //#region src/FieldFeedback.vue?vue&type=script&setup=true&lang.ts
2066
2503
  var _hoisted_1$41 = ["id"];
2067
- var _hoisted_2$27 = ["id"];
2504
+ var _hoisted_2$28 = ["id"];
2068
2505
  //#endregion
2069
2506
  //#region src/FieldFeedback.vue
2070
2507
  var FieldFeedback_default = /* @__PURE__ */ defineComponent({
@@ -2089,7 +2526,7 @@ var FieldFeedback_default = /* @__PURE__ */ defineComponent({
2089
2526
  key: 1,
2090
2527
  id: `${__props.controlId}-error`,
2091
2528
  class: normalizeClass(unref(partClasses)("input__error", _ctx.$props.classNames?.error))
2092
- }, toDisplayString(__props.errorMessage), 11, _hoisted_2$27)) : createCommentVNode("", true)], 2)) : createCommentVNode("", true);
2529
+ }, toDisplayString(__props.errorMessage), 11, _hoisted_2$28)) : createCommentVNode("", true)], 2)) : createCommentVNode("", true);
2093
2530
  };
2094
2531
  }
2095
2532
  });
@@ -2164,7 +2601,7 @@ function filterOptions(options, query) {
2164
2601
  //#endregion
2165
2602
  //#region src/Select.vue?vue&type=script&setup=true&lang.ts
2166
2603
  var _hoisted_1$39 = ["data-multiple", "dir"];
2167
- var _hoisted_2$26 = ["for"];
2604
+ var _hoisted_2$27 = ["for"];
2168
2605
  var _hoisted_3$21 = ["data-clearable"];
2169
2606
  var _hoisted_4$15 = [
2170
2607
  "data-empty",
@@ -2186,6 +2623,7 @@ var Select_default = /* @__PURE__ */ defineComponent({
2186
2623
  classNames: {},
2187
2624
  label: {},
2188
2625
  options: {},
2626
+ maxHeight: { default: void 0 },
2189
2627
  size: { default: "md" },
2190
2628
  variant: { default: "primary" },
2191
2629
  hideLabel: { type: Boolean },
@@ -2282,7 +2720,7 @@ var Select_default = /* @__PURE__ */ defineComponent({
2282
2720
  key: 0,
2283
2721
  class: normalizeClass(unref(partClasses)("selection__required", _ctx.$props.classNames?.required)),
2284
2722
  "aria-hidden": "true"
2285
- }, " *", 2)) : createCommentVNode("", true)], 10, _hoisted_2$26),
2723
+ }, " *", 2)) : createCommentVNode("", true)], 10, _hoisted_2$27),
2286
2724
  createVNode(unref(SelectRoot), {
2287
2725
  "model-value": multiple.value ? ids.value : ids.value[0] ?? "",
2288
2726
  multiple: multiple.value,
@@ -2333,10 +2771,14 @@ var Select_default = /* @__PURE__ */ defineComponent({
2333
2771
  disabled: __props.disabled || ids.value.length === 0,
2334
2772
  onClick: clear
2335
2773
  }, [createVNode(CloseIcon_default, { class: normalizeClass(unref(partClasses)("selection__close-icon", _ctx.$props.classNames?.closeIcon)) }, null, 8, ["class"])], 10, _hoisted_4$15)) : createCommentVNode("", true)], 10, _hoisted_3$21), createVNode(unref(SelectPortal), null, {
2336
- default: withCtx(() => [createVNode(unref(SelectContent), {
2774
+ default: withCtx(() => [createVNode(SelectionPopoverContent_default, {
2775
+ style: normalizeStyle({ "--selection-max-height": __props.maxHeight && Number.isFinite(__props.maxHeight) && __props.maxHeight > 0 ? `${__props.maxHeight}px` : void 0 }),
2337
2776
  class: normalizeClass(unref(partClasses)("select__popover", _ctx.$props.classNames?.popover)),
2338
2777
  position: "popper",
2339
2778
  "side-offset": 4,
2779
+ onEscapeKeyDown: _cache[0] || (_cache[0] = (event) => {
2780
+ if (!event.isComposing) event.stopPropagation();
2781
+ }),
2340
2782
  onCloseAutoFocus: afterClose
2341
2783
  }, {
2342
2784
  default: withCtx(() => [createVNode(unref(SelectViewport), { class: normalizeClass(unref(partClasses)("select__list", _ctx.$props.classNames?.list)) }, {
@@ -2366,7 +2808,7 @@ var Select_default = /* @__PURE__ */ defineComponent({
2366
2808
  _: 3
2367
2809
  }, 8, ["class"])]),
2368
2810
  _: 3
2369
- }, 8, ["class"])]),
2811
+ }, 8, ["style", "class"])]),
2370
2812
  _: 3
2371
2813
  })]),
2372
2814
  _: 3
@@ -2405,7 +2847,7 @@ var Select_default = /* @__PURE__ */ defineComponent({
2405
2847
  "has-value": ids.value.length > 0,
2406
2848
  required: __props.required,
2407
2849
  disabled: __props.disabled,
2408
- onInvalid: _cache[0] || (_cache[0] = ($event) => {
2850
+ onInvalid: _cache[1] || (_cache[1] = ($event) => {
2409
2851
  tried.value = true;
2410
2852
  focus();
2411
2853
  }),
@@ -2486,7 +2928,7 @@ var SelectGroup_default = /* @__PURE__ */ defineComponent({
2486
2928
  //#endregion
2487
2929
  //#region src/Input.vue?vue&type=script&setup=true&lang.ts
2488
2930
  var _hoisted_1$38 = ["dir"];
2489
- var _hoisted_2$25 = ["disabled"];
2931
+ var _hoisted_2$26 = ["disabled"];
2490
2932
  var _hoisted_3$20 = ["data-invalid", "data-readonly"];
2491
2933
  var _hoisted_4$14 = [
2492
2934
  "id",
@@ -2694,7 +3136,7 @@ var Input_default = /* @__PURE__ */ defineComponent({
2694
3136
  disabled: __props.disabled,
2695
3137
  onClick: clear
2696
3138
  }, [createVNode(CloseIcon_default)], 10, _hoisted_5$10)) : createCommentVNode("", true)
2697
- ], 42, _hoisted_3$20)], 10, _hoisted_2$25),
3139
+ ], 42, _hoisted_3$20)], 10, _hoisted_2$26),
2698
3140
  __props.description ? (openBlock(), createElementBlock("span", {
2699
3141
  key: 0,
2700
3142
  id: `${controlId.value}-description`,
@@ -2712,7 +3154,7 @@ var Input_default = /* @__PURE__ */ defineComponent({
2712
3154
  //#endregion
2713
3155
  //#region src/Textarea.vue?vue&type=script&setup=true&lang.ts
2714
3156
  var _hoisted_1$37 = ["data-resize", "dir"];
2715
- var _hoisted_2$24 = [
3157
+ var _hoisted_2$25 = [
2716
3158
  "id",
2717
3159
  "rows",
2718
3160
  "name",
@@ -2814,7 +3256,7 @@ var Textarea_default = /* @__PURE__ */ defineComponent({
2814
3256
  autocomplete: __props.autoComplete,
2815
3257
  maxlength: __props.maxLength,
2816
3258
  onInput
2817
- }, null, 42, _hoisted_2$24),
3259
+ }, null, 42, _hoisted_2$25),
2818
3260
  __props.description ? (openBlock(), createElementBlock("span", {
2819
3261
  key: 0,
2820
3262
  id: `${controlId.value}-description`,
@@ -2860,7 +3302,7 @@ var Label_default = /* @__PURE__ */ defineComponent({
2860
3302
  //#endregion
2861
3303
  //#region src/Checkbox.vue?vue&type=script&setup=true&lang.ts
2862
3304
  var _hoisted_1$36 = ["dir"];
2863
- var _hoisted_2$23 = ["data-disabled"];
3305
+ var _hoisted_2$24 = ["data-disabled"];
2864
3306
  var _hoisted_3$18 = ["name", "value"];
2865
3307
  //#endregion
2866
3308
  //#region src/Checkbox.vue
@@ -2955,7 +3397,7 @@ var Checkbox_default = /* @__PURE__ */ defineComponent({
2955
3397
  }, {
2956
3398
  default: withCtx(() => [createTextVNode(toDisplayString(__props.label), 1)]),
2957
3399
  _: 1
2958
- }, 8, ["class", "for"])], 10, _hoisted_2$23),
3400
+ }, 8, ["class", "for"])], 10, _hoisted_2$24),
2959
3401
  __props.indeterminate && selected.value && __props.name && !__props.disabled ? (openBlock(), createElementBlock("input", {
2960
3402
  key: 0,
2961
3403
  type: "hidden",
@@ -2985,7 +3427,7 @@ var Checkbox_default = /* @__PURE__ */ defineComponent({
2985
3427
  //#endregion
2986
3428
  //#region src/RadioGroup.vue?vue&type=script&setup=true&lang.ts
2987
3429
  var _hoisted_1$35 = ["id"];
2988
- var _hoisted_2$22 = ["data-orientation"];
3430
+ var _hoisted_2$23 = ["data-orientation"];
2989
3431
  var _hoisted_3$17 = ["data-disabled"];
2990
3432
  //#endregion
2991
3433
  //#region src/RadioGroup.vue
@@ -3081,7 +3523,7 @@ var RadioGroup_default = /* @__PURE__ */ defineComponent({
3081
3523
  default: withCtx(() => [createTextVNode(toDisplayString(option.label), 1)]),
3082
3524
  _: 2
3083
3525
  }, 1032, ["class", "for"])], 10, _hoisted_3$17);
3084
- }), 128))], 10, _hoisted_2$22),
3526
+ }), 128))], 10, _hoisted_2$23),
3085
3527
  createVNode(FieldFeedback_default, {
3086
3528
  "class-names": {
3087
3529
  description: __props.classNames?.description,
@@ -3119,7 +3561,7 @@ var RadioGroup_default = /* @__PURE__ */ defineComponent({
3119
3561
  //#endregion
3120
3562
  //#region src/Switch.vue?vue&type=script&setup=true&lang.ts
3121
3563
  var _hoisted_1$34 = ["dir"];
3122
- var _hoisted_2$21 = ["data-disabled"];
3564
+ var _hoisted_2$22 = ["data-disabled"];
3123
3565
  var _hoisted_3$16 = {
3124
3566
  key: 0,
3125
3567
  class: "switch__icon"
@@ -3224,7 +3666,7 @@ var Switch_default = /* @__PURE__ */ defineComponent({
3224
3666
  }, {
3225
3667
  default: withCtx(() => [createTextVNode(toDisplayString(__props.label), 1)]),
3226
3668
  _: 1
3227
- }, 8, ["class", "for"])], 10, _hoisted_2$21), createVNode(FieldFeedback_default, {
3669
+ }, 8, ["class", "for"])], 10, _hoisted_2$22), createVNode(FieldFeedback_default, {
3228
3670
  "class-names": {
3229
3671
  description: __props.classNames?.description,
3230
3672
  error: __props.classNames?.error
@@ -3429,7 +3871,7 @@ function listboxSelection(value, options, mode) {
3429
3871
  //#endregion
3430
3872
  //#region src/Listbox.vue?vue&type=script&setup=true&lang.ts
3431
3873
  var _hoisted_1$31 = ["dir"];
3432
- var _hoisted_2$20 = ["id"];
3874
+ var _hoisted_2$21 = ["id"];
3433
3875
  var _hoisted_3$15 = [
3434
3876
  "name",
3435
3877
  "value",
@@ -3487,7 +3929,7 @@ var Listbox_default = /* @__PURE__ */ defineComponent({
3487
3929
  createElementVNode("span", {
3488
3930
  id: labelId.value,
3489
3931
  class: normalizeClass(unref(partClasses)("label", _ctx.$props.classNames?.label))
3490
- }, toDisplayString(__props.label), 11, _hoisted_2$20),
3932
+ }, toDisplayString(__props.label), 11, _hoisted_2$21),
3491
3933
  createVNode(unref(ListboxRoot$1), {
3492
3934
  "model-value": model.value,
3493
3935
  multiple: __props.selectionMode === "multiple",
@@ -3579,7 +4021,7 @@ var Listbox_default = /* @__PURE__ */ defineComponent({
3579
4021
  //#endregion
3580
4022
  //#region src/NumberField.vue?vue&type=script&setup=true&lang.ts
3581
4023
  var _hoisted_1$30 = ["dir"];
3582
- var _hoisted_2$19 = [
4024
+ var _hoisted_2$20 = [
3583
4025
  "name",
3584
4026
  "value",
3585
4027
  "disabled"
@@ -3729,7 +4171,7 @@ var NumberField_default = /* @__PURE__ */ defineComponent({
3729
4171
  name: __props.name,
3730
4172
  value: selected.value === null ? "" : String(selected.value),
3731
4173
  disabled: __props.disabled
3732
- }, null, 8, _hoisted_2$19)) : createCommentVNode("", true)
4174
+ }, null, 8, _hoisted_2$20)) : createCommentVNode("", true)
3733
4175
  ], 16, _hoisted_1$30);
3734
4176
  };
3735
4177
  }
@@ -3739,9 +4181,10 @@ var NumberField_default = /* @__PURE__ */ defineComponent({
3739
4181
  var _hoisted_1$29 = [
3740
4182
  "data-density",
3741
4183
  "data-interactive",
3742
- "data-disabled"
4184
+ "data-disabled",
4185
+ "data-selected"
3743
4186
  ];
3744
- var _hoisted_2$18 = ["data-align", "data-divided"];
4187
+ var _hoisted_2$19 = ["data-align", "data-divided"];
3745
4188
  var _hoisted_3$14 = ["data-flush"];
3746
4189
  //#endregion
3747
4190
  //#region src/Card.vue
@@ -3755,6 +4198,10 @@ var Card_default = /* @__PURE__ */ defineComponent({
3755
4198
  rel: {},
3756
4199
  onPress: {},
3757
4200
  disabled: { type: Boolean },
4201
+ selected: {
4202
+ type: Boolean,
4203
+ default: void 0
4204
+ },
3758
4205
  actionLabel: {},
3759
4206
  actionLabelledBy: {},
3760
4207
  actionClassName: {},
@@ -3771,14 +4218,16 @@ var Card_default = /* @__PURE__ */ defineComponent({
3771
4218
  class: normalizeClass(unref(partClasses)("card", _ctx.$props.classNames?.root)),
3772
4219
  "data-density": __props.density,
3773
4220
  "data-interactive": !!(__props.href || __props.onPress) || void 0,
3774
- "data-disabled": __props.disabled || void 0
4221
+ "data-disabled": __props.disabled || void 0,
4222
+ "data-selected": __props.selected || void 0
3775
4223
  }, [
3776
4224
  createVNode(CardAction_default, mergeProps({
3777
4225
  href: __props.href,
3778
4226
  target: __props.target,
3779
4227
  rel: __props.rel,
3780
4228
  onPress: __props.onPress,
3781
- disabled: __props.disabled
4229
+ disabled: __props.disabled,
4230
+ selected: __props.selected
3782
4231
  }, {
3783
4232
  "action-class-name": [__props.classNames?.action, __props.actionClassName].filter(Boolean).join(" "),
3784
4233
  "action-labelled-by": __props.actionLabelledBy ?? _ctx.$attrs["aria-labelledby"],
@@ -3821,7 +4270,7 @@ var Card_default = /* @__PURE__ */ defineComponent({
3821
4270
  }, toDisplayString(__props.description), 3)) : createCommentVNode("", true)])], 2)) : createCommentVNode("", true), _ctx.$slots.actions ? (openBlock(), createElementBlock("div", {
3822
4271
  key: 1,
3823
4272
  class: normalizeClass(unref(partClasses)("card__actions", _ctx.$props.classNames?.actions))
3824
- }, [renderSlot(_ctx.$slots, "actions")], 2)) : createCommentVNode("", true)], 10, _hoisted_2$18)) : createCommentVNode("", true),
4273
+ }, [renderSlot(_ctx.$slots, "actions")], 2)) : createCommentVNode("", true)], 10, _hoisted_2$19)) : createCommentVNode("", true),
3825
4274
  createElementVNode("div", { class: normalizeClass(unref(partClasses)("card__content", _ctx.$props.classNames?.content)) }, [renderSlot(_ctx.$slots, "default")], 2),
3826
4275
  _ctx.$slots.footer ? (openBlock(), createElementBlock("div", {
3827
4276
  key: 1,
@@ -4348,7 +4797,7 @@ function mountTabsIndicator(container) {
4348
4797
  //#endregion
4349
4798
  //#region src/TabsListView.vue?vue&type=script&setup=true&lang.ts
4350
4799
  var _hoisted_1$24 = ["aria-label"];
4351
- var _hoisted_2$17 = ["aria-label"];
4800
+ var _hoisted_2$18 = ["aria-label"];
4352
4801
  //#endregion
4353
4802
  //#region src/TabsListView.vue
4354
4803
  var TabsListView_default = /* @__PURE__ */ defineComponent({
@@ -4426,7 +4875,7 @@ var TabsListView_default = /* @__PURE__ */ defineComponent({
4426
4875
  }, [..._cache[1] || (_cache[1] = [createElementVNode("svg", {
4427
4876
  viewBox: "0 0 24 24",
4428
4877
  "aria-hidden": "true"
4429
- }, [createElementVNode("path", { d: "m10 6 6 6-6 6" })], -1)])], 10, _hoisted_2$17)
4878
+ }, [createElementVNode("path", { d: "m10 6 6 6-6 6" })], -1)])], 10, _hoisted_2$18)
4430
4879
  ], 2);
4431
4880
  };
4432
4881
  }
@@ -4602,7 +5051,7 @@ var _hoisted_1$23 = [
4602
5051
  "aria-label",
4603
5052
  "dir"
4604
5053
  ];
4605
- var _hoisted_2$16 = ["disabled"];
5054
+ var _hoisted_2$17 = ["disabled"];
4606
5055
  var _hoisted_3$13 = [
4607
5056
  "aria-label",
4608
5057
  "aria-current",
@@ -4656,7 +5105,7 @@ var Pagination_default = /* @__PURE__ */ defineComponent({
4656
5105
  class: normalizeClass(unref(partClasses)("pagination__button", _ctx.$props.classNames?.button)),
4657
5106
  disabled: __props.disabled || model.value.current === 1,
4658
5107
  onClick: _cache[0] || (_cache[0] = ($event) => change(model.value.current - 1))
4659
- }, toDisplayString(__props.previousLabel), 11, _hoisted_2$16),
5108
+ }, toDisplayString(__props.previousLabel), 11, _hoisted_2$17),
4660
5109
  (openBlock(true), createElementBlock(Fragment, null, renderList(model.value.entries, (entry) => {
4661
5110
  return openBlock(), createElementBlock(Fragment, { key: entry }, [typeof entry === "string" ? (openBlock(), createElementBlock("span", {
4662
5111
  key: 0,
@@ -4712,7 +5161,7 @@ var Table_default = /* @__PURE__ */ defineComponent({
4712
5161
  //#endregion
4713
5162
  //#region src/DataTable.vue?vue&type=script&setup=true&lang.ts
4714
5163
  var _hoisted_1$21 = ["id", "dir"];
4715
- var _hoisted_2$15 = ["aria-sort"];
5164
+ var _hoisted_2$16 = ["aria-sort"];
4716
5165
  var _hoisted_3$12 = ["disabled", "onClick"];
4717
5166
  var _hoisted_4$11 = { "aria-hidden": "true" };
4718
5167
  var _hoisted_5$9 = { key: 0 };
@@ -4780,7 +5229,7 @@ var DataTable_default = /* @__PURE__ */ defineComponent({
4780
5229
  class: normalizeClass(unref(partClasses)("table__sort", _ctx.$props.classNames?.sort)),
4781
5230
  disabled: __props.loading || __props.disabled,
4782
5231
  onClick: ($event) => requestSort(column)
4783
- }, [createTextVNode(toDisplayString(column.label), 1), createElementVNode("span", _hoisted_4$11, toDisplayString(__props.sort?.columnId === column.id ? __props.sort.direction === "ascending" ? "↑" : "↓" : "↕"), 1)], 10, _hoisted_3$12)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createTextVNode(toDisplayString(column.label), 1)], 64))], 10, _hoisted_2$15);
5232
+ }, [createTextVNode(toDisplayString(column.label), 1), createElementVNode("span", _hoisted_4$11, toDisplayString(__props.sort?.columnId === column.id ? __props.sort.direction === "ascending" ? "↑" : "↓" : "↕"), 1)], 10, _hoisted_3$12)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createTextVNode(toDisplayString(column.label), 1)], 64))], 10, _hoisted_2$16);
4784
5233
  }), 128))], 2)], 2), createElementVNode("tbody", { class: normalizeClass(__props.classNames?.body) }, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.rows, (row) => {
4785
5234
  return openBlock(), createElementBlock("tr", {
4786
5235
  key: row.id,
@@ -5466,7 +5915,7 @@ var _hoisted_1$17 = [
5466
5915
  "aria-label",
5467
5916
  "dir"
5468
5917
  ];
5469
- var _hoisted_2$14 = {
5918
+ var _hoisted_2$15 = {
5470
5919
  key: 1,
5471
5920
  "aria-current": "page"
5472
5921
  };
@@ -5496,7 +5945,7 @@ var Breadcrumb_default = /* @__PURE__ */ defineComponent({
5496
5945
  key: 0,
5497
5946
  class: normalizeClass(unref(partClasses)("breadcrumb__separator", _ctx.$props.classNames?.separator)),
5498
5947
  "aria-hidden": "true"
5499
- }, "/", 2)) : createCommentVNode("", true), index === __props.items.length - 1 ? (openBlock(), createElementBlock("span", _hoisted_2$14, toDisplayString(item.label), 1)) : item.href ? (openBlock(), createElementBlock("a", {
5948
+ }, "/", 2)) : createCommentVNode("", true), index === __props.items.length - 1 ? (openBlock(), createElementBlock("span", _hoisted_2$15, toDisplayString(item.label), 1)) : item.href ? (openBlock(), createElementBlock("a", {
5500
5949
  key: 2,
5501
5950
  href: item.href
5502
5951
  }, toDisplayString(item.label), 9, _hoisted_3$11)) : (openBlock(), createElementBlock("span", _hoisted_4$10, toDisplayString(item.label), 1))]);
@@ -5522,7 +5971,7 @@ function useDisclosure(props, emit) {
5522
5971
  //#endregion
5523
5972
  //#region src/Sidebar.vue?vue&type=script&setup=true&lang.ts
5524
5973
  var _hoisted_1$16 = ["id", "dir"];
5525
- var _hoisted_2$13 = [
5974
+ var _hoisted_2$14 = [
5526
5975
  "aria-label",
5527
5976
  "aria-expanded",
5528
5977
  "aria-controls"
@@ -5574,7 +6023,7 @@ var Sidebar_default = /* @__PURE__ */ defineComponent({
5574
6023
  "aria-expanded": unref(visible),
5575
6024
  "aria-controls": navId.value,
5576
6025
  onClick: _cache[0] || (_cache[0] = ($event) => unref(change)(!unref(visible)))
5577
- }, [createElementVNode("span", _hoisted_3$10, toDisplayString(unref(visible) ? "−" : "+"), 1)], 10, _hoisted_2$13)], 2), createElementVNode("nav", {
6026
+ }, [createElementVNode("span", _hoisted_3$10, toDisplayString(unref(visible) ? "−" : "+"), 1)], 10, _hoisted_2$14)], 2), createElementVNode("nav", {
5578
6027
  id: navId.value,
5579
6028
  class: normalizeClass(__props.classNames?.navigation),
5580
6029
  "aria-label": __props.label,
@@ -5622,7 +6071,7 @@ var _hoisted_1$15 = [
5622
6071
  "dir",
5623
6072
  "aria-labelledby"
5624
6073
  ];
5625
- var _hoisted_2$12 = ["id"];
6074
+ var _hoisted_2$13 = ["id"];
5626
6075
  var _hoisted_3$9 = ["y1", "y2"];
5627
6076
  var _hoisted_4$8 = ["points"];
5628
6077
  var _hoisted_5$7 = [
@@ -5669,7 +6118,7 @@ var Chart_default = /* @__PURE__ */ defineComponent({
5669
6118
  createElementVNode("figcaption", {
5670
6119
  id: labelId.value,
5671
6120
  class: normalizeClass(unref(partClasses)("chart__title", _ctx.$props.classNames?.title))
5672
- }, toDisplayString(__props.label), 11, _hoisted_2$12),
6121
+ }, toDisplayString(__props.label), 11, _hoisted_2$13),
5673
6122
  __props.description ? (openBlock(), createElementBlock("p", {
5674
6123
  key: 0,
5675
6124
  class: normalizeClass(unref(partClasses)("chart__description", _ctx.$props.classNames?.description))
@@ -5729,7 +6178,8 @@ var Chart_default = /* @__PURE__ */ defineComponent({
5729
6178
  });
5730
6179
  //#endregion
5731
6180
  //#region src/Dialog.vue?vue&type=script&setup=true&lang.ts
5732
- var _hoisted_1$14 = ["data-close-button"];
6181
+ var _hoisted_1$14 = ["data-close-button", "data-divided"];
6182
+ var _hoisted_2$12 = ["data-divided"];
5733
6183
  //#endregion
5734
6184
  //#region src/Dialog.vue
5735
6185
  var Dialog_default = /* @__PURE__ */ defineComponent({
@@ -5776,7 +6226,9 @@ var Dialog_default = /* @__PURE__ */ defineComponent({
5776
6226
  type: Boolean,
5777
6227
  default: true
5778
6228
  },
5779
- closeIconLabel: { default: void 0 }
6229
+ closeIconLabel: { default: void 0 },
6230
+ dividedHeader: { type: Boolean },
6231
+ dividedFooter: { type: Boolean }
5780
6232
  },
5781
6233
  emits: ["update:open"],
5782
6234
  setup(__props, { emit: __emit }) {
@@ -5828,7 +6280,8 @@ var Dialog_default = /* @__PURE__ */ defineComponent({
5828
6280
  default: withCtx(() => [createElementVNode("div", { class: normalizeClass(unref(partClasses)("dialog__content", _ctx.$props.classNames?.content)) }, [
5829
6281
  createElementVNode("div", {
5830
6282
  class: normalizeClass(unref(partClasses)("overlay__header", _ctx.$props.classNames?.header)),
5831
- "data-close-button": __props.showCloseButton || void 0
6283
+ "data-close-button": __props.showCloseButton || void 0,
6284
+ "data-divided": __props.dividedHeader || void 0
5832
6285
  }, [
5833
6286
  createVNode(unref(DialogTitle$1), { class: normalizeClass(unref(partClasses)("overlay__title", _ctx.$props.classNames?.title)) }, {
5834
6287
  default: withCtx(() => [createTextVNode(toDisplayString(__props.title), 1)]),
@@ -5853,14 +6306,15 @@ var Dialog_default = /* @__PURE__ */ defineComponent({
5853
6306
  createElementVNode("div", { class: normalizeClass(unref(partClasses)("overlay__body", _ctx.$props.classNames?.body)) }, [renderSlot(_ctx.$slots, "default")], 2),
5854
6307
  _ctx.$slots.footer || __props.showFooterClose ? (openBlock(), createElementBlock("div", {
5855
6308
  key: 0,
5856
- class: normalizeClass(unref(partClasses)("overlay__footer", _ctx.$props.classNames?.footer))
6309
+ class: normalizeClass(unref(partClasses)("overlay__footer", _ctx.$props.classNames?.footer)),
6310
+ "data-divided": __props.dividedFooter || void 0
5857
6311
  }, [renderSlot(_ctx.$slots, "footer"), __props.showFooterClose ? (openBlock(), createBlock(unref(DialogClose), {
5858
6312
  key: 0,
5859
6313
  class: normalizeClass(unref(partClasses)("button button--secondary", _ctx.$props.classNames?.footerClose))
5860
6314
  }, {
5861
6315
  default: withCtx(() => [createTextVNode(toDisplayString(__props.closeLabel), 1)]),
5862
6316
  _: 1
5863
- }, 8, ["class"])) : createCommentVNode("", true)], 2)) : createCommentVNode("", true)
6317
+ }, 8, ["class"])) : createCommentVNode("", true)], 10, _hoisted_2$12)) : createCommentVNode("", true)
5864
6318
  ], 2)]),
5865
6319
  _: 3
5866
6320
  }, 16, ["class", "dir"])]),
@@ -6519,22 +6973,33 @@ var Combobox_default = /* @__PURE__ */ defineComponent({
6519
6973
  props: {
6520
6974
  classNames: {},
6521
6975
  label: {},
6976
+ size: { default: "md" },
6977
+ variant: { default: "primary" },
6978
+ hideLabel: { type: Boolean },
6979
+ fullWidth: {
6980
+ type: Boolean,
6981
+ default: true
6982
+ },
6983
+ maxHeight: { default: void 0 },
6984
+ menuTrigger: { default: "input" },
6985
+ selectOnFocus: { type: Boolean },
6986
+ disallowEmptySelection: { type: Boolean },
6522
6987
  options: {},
6523
- modelValue: {},
6524
- defaultValue: {},
6525
- placeholder: {},
6526
- name: {},
6988
+ modelValue: { default: void 0 },
6989
+ defaultValue: { default: void 0 },
6990
+ placeholder: { default: void 0 },
6991
+ name: { default: void 0 },
6527
6992
  disabled: { type: Boolean },
6528
6993
  required: { type: Boolean },
6529
6994
  invalid: { type: Boolean },
6530
- description: {},
6531
- errorMessage: {},
6532
- requiredMessage: {},
6995
+ description: { default: void 0 },
6996
+ errorMessage: { default: void 0 },
6997
+ requiredMessage: { default: void 0 },
6533
6998
  clearable: { type: Boolean },
6534
- clearLabel: {},
6535
- toggleLabel: {},
6536
- emptyMessage: {},
6537
- dir: {}
6999
+ clearLabel: { default: void 0 },
7000
+ toggleLabel: { default: void 0 },
7001
+ emptyMessage: { default: void 0 },
7002
+ dir: { default: void 0 }
6538
7003
  },
6539
7004
  emits: ["update:modelValue"],
6540
7005
  setup(__props, { emit: __emit }) {
@@ -6545,6 +7010,46 @@ var Combobox_default = /* @__PURE__ */ defineComponent({
6545
7010
  const local = ref(props.defaultValue);
6546
7011
  const draft = ref(null);
6547
7012
  const tried = ref(false);
7013
+ const open = ref(false);
7014
+ let inputInteraction = false;
7015
+ let selectClick = false;
7016
+ function inputPointerDown(event) {
7017
+ selectClick = !!props.selectOnFocus && document.activeElement !== event.target;
7018
+ if (selectClick && !event.defaultPrevented && !props.disabled) {
7019
+ event.preventDefault();
7020
+ event.target.focus();
7021
+ event.target.select();
7022
+ }
7023
+ }
7024
+ function inputClick(event) {
7025
+ if (selectClick && !props.disabled) event.target.select();
7026
+ selectClick = false;
7027
+ }
7028
+ function inputBlur(event) {
7029
+ const next = event.relatedTarget;
7030
+ const popupId = event.target.getAttribute("aria-controls");
7031
+ if (next && (wrapper.value?.contains(next) || popupId && document.getElementById(popupId)?.contains(next))) return;
7032
+ if (!open.value || next) changeOpen(false);
7033
+ }
7034
+ function changeOpen(next) {
7035
+ if (next && props.menuTrigger === "manual" && inputInteraction) return;
7036
+ open.value = next;
7037
+ if (!next || !inputInteraction) draft.value = null;
7038
+ }
7039
+ function keydown(event) {
7040
+ if (event.isComposing) return;
7041
+ if (event.key === "Escape" && open.value) {
7042
+ event.preventDefault();
7043
+ event.stopPropagation();
7044
+ changeOpen(false);
7045
+ }
7046
+ if (event.key === "ArrowDown" || event.key === "ArrowUp") inputInteraction = false;
7047
+ }
7048
+ function inputFocus(event) {
7049
+ inputInteraction = false;
7050
+ if (props.selectOnFocus && !props.disabled) event.target.select();
7051
+ }
7052
+ const popoverStyle = computed(() => ({ "--selection-max-height": props.maxHeight && Number.isFinite(props.maxHeight) && props.maxHeight > 0 ? `${props.maxHeight}px` : void 0 }));
6548
7053
  const wrapper = ref();
6549
7054
  const id = computed(() => selectionIds(controlled() ? props.modelValue : local.value, props.options, false)[0]);
6550
7055
  const selected = computed(() => props.options.find((o) => o.id === id.value));
@@ -6572,6 +7077,7 @@ var Combobox_default = /* @__PURE__ */ defineComponent({
6572
7077
  function change(value) {
6573
7078
  if (props.disabled) return;
6574
7079
  const next = selectionIds(value, props.options, false)[0];
7080
+ if (props.disallowEmptySelection && next === void 0) return;
6575
7081
  local.value = next;
6576
7082
  emit("update:modelValue", next);
6577
7083
  draft.value = null;
@@ -6579,7 +7085,7 @@ var Combobox_default = /* @__PURE__ */ defineComponent({
6579
7085
  function search(value) {
6580
7086
  if (props.disabled) return;
6581
7087
  draft.value = value;
6582
- if (value === "" && id.value) {
7088
+ if (value === "" && id.value && !props.disallowEmptySelection) {
6583
7089
  local.value = void 0;
6584
7090
  emit("update:modelValue", void 0);
6585
7091
  }
@@ -6595,7 +7101,13 @@ var Combobox_default = /* @__PURE__ */ defineComponent({
6595
7101
  return openBlock(), createElementBlock("div", {
6596
7102
  ref_key: "wrapper",
6597
7103
  ref: wrapper,
6598
- class: normalizeClass(unref(partClasses)("select combobox", _ctx.$props.classNames?.root)),
7104
+ class: normalizeClass(unref(partClasses)([
7105
+ "select combobox",
7106
+ `select--${__props.size ?? "md"}`,
7107
+ `select--${__props.variant ?? "primary"}`,
7108
+ __props.hideLabel && "select--label-hidden",
7109
+ __props.fullWidth === false && "select--fit"
7110
+ ].filter(Boolean).join(" "), _ctx.$props.classNames?.root)),
6599
7111
  dir: __props.dir
6600
7112
  }, [
6601
7113
  createElementVNode("label", {
@@ -6606,22 +7118,24 @@ var Combobox_default = /* @__PURE__ */ defineComponent({
6606
7118
  class: normalizeClass(unref(partClasses)("selection__required", _ctx.$props.classNames?.required)),
6607
7119
  "aria-hidden": "true"
6608
7120
  }, " *", 2)) : createCommentVNode("", true)], 10, _hoisted_2$9),
6609
- createVNode(unref(ComboboxRoot$1), {
7121
+ createVNode(unref(ComboboxRoot), {
6610
7122
  "model-value": id.value ?? null,
7123
+ open: open.value,
7124
+ "open-on-focus": __props.menuTrigger === "focus",
7125
+ "open-on-click": __props.menuTrigger === "focus",
6611
7126
  disabled: __props.disabled,
6612
7127
  dir: __props.dir,
6613
7128
  "ignore-filter": "",
6614
7129
  "reset-search-term-on-blur": false,
6615
7130
  "reset-search-term-on-select": false,
6616
7131
  "onUpdate:modelValue": change,
6617
- "onUpdate:open": _cache[1] || (_cache[1] = (open) => {
6618
- if (!open) draft.value = null;
6619
- })
7132
+ "onUpdate:open": changeOpen
6620
7133
  }, {
6621
- default: withCtx(() => [createVNode(unref(ComboboxAnchor$1), {
7134
+ default: withCtx(() => [createVNode(unref(ComboboxAnchor), {
6622
7135
  class: normalizeClass(unref(partClasses)("combobox__control", _ctx.$props.classNames?.control)),
6623
7136
  "data-invalid": invalid.value || void 0,
6624
- "data-disabled": __props.disabled || void 0
7137
+ "data-disabled": __props.disabled || void 0,
7138
+ onKeydownCapture: keydown
6625
7139
  }, {
6626
7140
  default: withCtx(() => [
6627
7141
  _ctx.$slots.start ? (openBlock(), createElementBlock("span", {
@@ -6629,7 +7143,7 @@ var Combobox_default = /* @__PURE__ */ defineComponent({
6629
7143
  class: normalizeClass(unref(partClasses)("selection__leading", _ctx.$props.classNames?.leading)),
6630
7144
  "aria-hidden": "true"
6631
7145
  }, [renderSlot(_ctx.$slots, "start")], 2)) : createCommentVNode("", true),
6632
- createVNode(unref(ComboboxInput$1), {
7146
+ createVNode(unref(ComboboxInput), {
6633
7147
  id: unref(controlId),
6634
7148
  "model-value": text.value,
6635
7149
  "display-value": () => selected.value?.label ?? "",
@@ -6638,7 +7152,13 @@ var Combobox_default = /* @__PURE__ */ defineComponent({
6638
7152
  "aria-required": __props.required || void 0,
6639
7153
  "aria-invalid": invalid.value || void 0,
6640
7154
  "aria-describedby": unref(describedBy),
6641
- "onUpdate:modelValue": search
7155
+ "onUpdate:modelValue": search,
7156
+ onInputCapture: _cache[0] || (_cache[0] = ($event) => isRef(inputInteraction) ? inputInteraction.value = true : inputInteraction = true),
7157
+ onFocus: inputFocus,
7158
+ onClickCapture: _cache[1] || (_cache[1] = ($event) => isRef(inputInteraction) ? inputInteraction.value = false : inputInteraction = false),
7159
+ onBlur: inputBlur,
7160
+ onPointerdownCapture: inputPointerDown,
7161
+ onClick: inputClick
6642
7162
  }, null, 8, [
6643
7163
  "id",
6644
7164
  "model-value",
@@ -6649,7 +7169,7 @@ var Combobox_default = /* @__PURE__ */ defineComponent({
6649
7169
  "aria-invalid",
6650
7170
  "aria-describedby"
6651
7171
  ]),
6652
- __props.clearable ? (openBlock(), createElementBlock("button", {
7172
+ __props.clearable && !__props.disallowEmptySelection ? (openBlock(), createElementBlock("button", {
6653
7173
  key: 1,
6654
7174
  type: "button",
6655
7175
  class: normalizeClass(unref(partClasses)("combobox__clear", _ctx.$props.classNames?.clear)),
@@ -6658,14 +7178,16 @@ var Combobox_default = /* @__PURE__ */ defineComponent({
6658
7178
  tabindex: !id.value && !text.value ? -1 : void 0,
6659
7179
  disabled: __props.disabled || !id.value && !text.value,
6660
7180
  "aria-label": __props.clearLabel ?? "Hapus pilihan",
6661
- onClick: _cache[0] || (_cache[0] = ($event) => {
7181
+ onClick: _cache[2] || (_cache[2] = ($event) => {
6662
7182
  change(void 0);
6663
7183
  focus();
6664
7184
  })
6665
7185
  }, [createVNode(CloseIcon_default, { class: normalizeClass(unref(partClasses)("selection__close-icon", _ctx.$props.classNames?.closeIcon)) }, null, 8, ["class"])], 10, _hoisted_3$8)) : createCommentVNode("", true),
6666
7186
  createVNode(unref(ComboboxTrigger$1), {
6667
7187
  class: normalizeClass(unref(partClasses)("combobox__toggle", _ctx.$props.classNames?.toggle)),
6668
- "aria-label": __props.toggleLabel ?? "Buka pilihan"
7188
+ "aria-label": __props.toggleLabel ?? "Buka pilihan",
7189
+ onPointerdownCapture: _cache[3] || (_cache[3] = ($event) => isRef(inputInteraction) ? inputInteraction.value = false : inputInteraction = false),
7190
+ onClickCapture: _cache[4] || (_cache[4] = ($event) => isRef(inputInteraction) ? inputInteraction.value = false : inputInteraction = false)
6669
7191
  }, {
6670
7192
  default: withCtx(() => [createVNode(ChevronIcon_default, { class: normalizeClass(unref(partClasses)("select__icon", _ctx.$props.classNames?.icon)) }, null, 8, ["class"])]),
6671
7193
  _: 1
@@ -6677,10 +7199,14 @@ var Combobox_default = /* @__PURE__ */ defineComponent({
6677
7199
  "data-invalid",
6678
7200
  "data-disabled"
6679
7201
  ]), createVNode(unref(ComboboxPortal$1), null, {
6680
- default: withCtx(() => [createVNode(unref(ComboboxContent$1), {
7202
+ default: withCtx(() => [createVNode(unref(ComboboxContent), {
6681
7203
  class: normalizeClass(unref(partClasses)("select__popover combobox__popover", _ctx.$props.classNames?.popover)),
7204
+ style: normalizeStyle(popoverStyle.value),
6682
7205
  position: "popper",
6683
- "side-offset": 4
7206
+ "side-offset": 4,
7207
+ onEscapeKeyDown: _cache[5] || (_cache[5] = (event) => {
7208
+ if (!event.isComposing) event.stopPropagation();
7209
+ })
6684
7210
  }, {
6685
7211
  default: withCtx(() => [createVNode(unref(ComboboxViewport), { class: normalizeClass(unref(partClasses)("select__list", _ctx.$props.classNames?.list)) }, {
6686
7212
  default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(filtered.value, (option) => {
@@ -6710,12 +7236,15 @@ var Combobox_default = /* @__PURE__ */ defineComponent({
6710
7236
  _: 3
6711
7237
  }, 8, ["class"])]),
6712
7238
  _: 3
6713
- }, 8, ["class"])]),
7239
+ }, 8, ["class", "style"])]),
6714
7240
  _: 3
6715
7241
  })]),
6716
7242
  _: 3
6717
7243
  }, 8, [
6718
7244
  "model-value",
7245
+ "open",
7246
+ "open-on-focus",
7247
+ "open-on-click",
6719
7248
  "disabled",
6720
7249
  "dir"
6721
7250
  ]),
@@ -6746,7 +7275,7 @@ var Combobox_default = /* @__PURE__ */ defineComponent({
6746
7275
  "has-value": !!id.value,
6747
7276
  required: __props.required,
6748
7277
  disabled: __props.disabled,
6749
- onInvalid: _cache[2] || (_cache[2] = ($event) => {
7278
+ onInvalid: _cache[6] || (_cache[6] = ($event) => {
6750
7279
  tried.value = true;
6751
7280
  focus();
6752
7281
  }),
@@ -9942,9 +10471,9 @@ var Dialog = /* @__PURE__ */ Object.assign(Dialog_default, {
9942
10471
  Title: DialogTitle,
9943
10472
  Description: DialogDescription,
9944
10473
  CloseButton: DialogCloseButton,
9945
- Header: DialogHeader,
10474
+ Header: DialogHeader_default,
9946
10475
  Body: DialogBody,
9947
- Footer: DialogFooter
10476
+ Footer: DialogFooter_default
9948
10477
  });
9949
10478
  var DropdownMenu = /* @__PURE__ */ Object.assign(DropdownMenu_default, {
9950
10479
  Root: DropdownMenuRoot,
@@ -9983,16 +10512,16 @@ var Tooltip = /* @__PURE__ */ Object.assign(Tooltip_default, {
9983
10512
  Arrow: TooltipArrow
9984
10513
  });
9985
10514
  var Combobox = /* @__PURE__ */ Object.assign(Combobox_default, {
9986
- Root: ComboboxRoot,
9987
- Input: ComboboxInput,
10515
+ Root: ComboboxRoot_default,
10516
+ Input: ComboboxInput_default,
9988
10517
  Trigger: ComboboxTrigger,
9989
- Content: ComboboxContent,
10518
+ Content: ComboboxContent_default,
9990
10519
  Item: ComboboxItem,
9991
10520
  ItemIndicator: ComboboxItemIndicator,
9992
10521
  Section: ComboboxSection,
9993
10522
  SectionLabel: ComboboxSectionLabel,
9994
- Anchor: ComboboxAnchor,
9995
- ClearButton: ComboboxClearButton,
10523
+ Anchor: ComboboxAnchor_default,
10524
+ ClearButton: ComboboxClearButton_default,
9996
10525
  Portal: ComboboxPortal
9997
10526
  });
9998
10527
  var ToggleGroup = /* @__PURE__ */ Object.assign(ToggleGroup_default, {
@@ -10028,6 +10557,6 @@ var ListBox = /* @__PURE__ */ Object.assign(CompositionListBox_default, {
10028
10557
  Section: CompositionListBoxSection_default
10029
10558
  });
10030
10559
  //#endregion
10031
- export { Alert, AlertActions, AlertContent, AlertDescription, AlertIndicator, AlertRoot, AlertTitle, Avatar, AvatarBadge_default as AvatarBadge, AvatarFallback_default as AvatarFallback, AvatarGroup, AvatarGroupCount_default as AvatarGroupCount, AvatarGroupRoot, AvatarImage_default as AvatarImage, Avatar_default as AvatarRoot, Badge, BadgeAnchor_default as BadgeAnchor, BadgeLabel, Breadcrumb, BreadcrumbCurrent, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbRoot, BreadcrumbSeparator, Button_default as Button, ButtonGroup_default as ButtonGroup, ButtonGroupSeparator_default as ButtonGroupSeparator, ButtonGroupSeparator_default as ToggleButtonGroupSeparator, Calendar, Card, CardActions, CardContent, CardDescription, CardFooter_default as CardFooter, CardHeader_default as CardHeader, CardHeading, CardRoot_default as CardRoot, CardTitle_default as CardTitle, Chart, ChartDescription, ChartRoot, ChartTitle, Checkbox, CheckboxContent, CheckboxIndicator_default as CheckboxIndicator, CheckboxRoot, Combobox, ComboboxAnchor, ComboboxClearButton, ComboboxContent, ComboboxInput, ComboboxItem, ComboboxItemIndicator, ComboboxPortal, ComboboxRoot, ComboboxSection, ComboboxSectionLabel, ComboboxTrigger, DataTable, DataTableError, DataTableRoot_default as DataTableRoot, DataTableSortButton_default as DataTableSortButton, DataTableStatus, DateField, DatePicker, DateRangeField, DateRangePicker, DateRangePickerAnchor, DateRangePickerArrow, DateRangePickerCalendar, DateRangePickerCell, DateRangePickerCellTrigger, DateRangePickerClose, DateRangePickerContent, DateRangePickerField, DateRangePickerGrid, DateRangePickerGridBody, DateRangePickerGridHead, DateRangePickerGridRow, DateRangePickerHeadCell, DateRangePickerHeader, DateRangePickerHeading, DateRangePickerInput, DateRangePickerNext, DateRangePickerPrev, DateRangePickerRoot, DateRangePickerTrigger, DateTimeField, DateTimePicker, DateTimeRangeField, DateTimeRangePicker, Description_default as Description, Dialog, DialogBackdrop, DialogBody, DialogCloseButton, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogPortal, DialogRoot, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuItemIndicator, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuRoot, DropdownMenuSection, DropdownMenuSectionLabel, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyActions, EmptyDescription, EmptyRoot, EmptyTitle, Field, FieldError_default as FieldError, Form, Header, Input, InputClearButton_default as InputClearButton, InputControl_default as InputControl, InputGroup, InputLabel_default as InputLabel, InputPrefix, InputRoot_default as InputRoot, InputSuffix, Label_default as Label, ListBox, Listbox, ListboxContent, ListboxItem, ListboxItemIndicator, ListboxRoot, ListboxSection, ListboxSectionLabel, MonthPicker, MonthYearNavigation_default as MonthYearNavigation, NumberField, NumberFieldDecrementButton, NumberFieldGroup, NumberFieldIncrementButton, NumberFieldInput, NumberFieldRoot, Pagination, PaginationContent, PaginationEllipsis, PaginationFirst, PaginationItem, PaginationLast, PaginationList, PaginationNext, PaginationPrevious, PaginationRoot, PaginationSummary, Popover, PopoverArrow, PopoverBody, PopoverCloseButton, PopoverContent, PopoverFooter, PopoverHeading, PopoverPortal, PopoverRoot, PopoverTrigger, RadioGroup, RadioGroupContent, RadioGroupIndicator, RadioGroupItem, RadioGroupRoot, RangeCalendar, Select, SelectClearButton_default as SelectClearButton, SelectControl, SelectGroup_default as SelectGroup, SelectIndicator, SelectItem, SelectItemIndicator, SelectItemText, SelectListbox, SelectPopover_default as SelectPopover, SelectRoot_default as SelectRoot, SelectSection, SelectSectionLabel, SelectTrigger_default as SelectTrigger, SelectValue_default as SelectValue, Separator_default as Separator, Sidebar, SidebarContent, SidebarFooter, SidebarHeader, SidebarItem, SidebarList, SidebarNavigation_default as SidebarNavigation, SidebarRoot_default as SidebarRoot, SidebarTitle, SidebarToggle_default as SidebarToggle, Skeleton_default as Skeleton, Spinner_default as Spinner, Switch, SwitchContent, SwitchControl, SwitchGroup_default as SwitchGroup, SwitchIcon, SwitchRoot_default as SwitchRoot, SwitchThumb, Table, TableBody, TableCaption, TableCell, TableColumn, TableFooter, TableHeader, TableRoot, TableRow, TableScrollContainer, Tabs, TabsIndicator, TabsList, TabsListContainer, TabsPanel, TabsRoot_default as TabsRoot, TabsSeparator, TabsTab, Textarea, TextareaControl_default as TextareaControl, TimeClock, TimeField, TimeList, TimePicker, TimeRangeField, TimeRangePicker, Toast, ToastActionButton_default as ToastActionButton, ToastActions, ToastCloseButton_default as ToastCloseButton, ToastContent, ToastDescription, ToastIndicator, ToastProgress, ToastProvider_default as ToastProvider, ToastRoot, ToastTitle, ToastViewport, ToggleButton_default as ToggleButton, ToggleButtonGroup_default as ToggleButtonGroup, ToggleGroup, ToggleGroupItem, ToggleGroupRoot, Tooltip, TooltipArrow, TooltipContent, TooltipPortal, TooltipProvider, TooltipRoot, TooltipTrigger, YearPicker, createDateRangePresets, createToastManager, rangeText as formatDateRange, useToast };
10560
+ export { Alert, AlertActions, AlertContent, AlertDescription, AlertIndicator, AlertRoot, AlertTitle, Avatar, AvatarBadge_default as AvatarBadge, AvatarFallback_default as AvatarFallback, AvatarGroup, AvatarGroupCount_default as AvatarGroupCount, AvatarGroupRoot, AvatarImage_default as AvatarImage, Avatar_default as AvatarRoot, Badge, BadgeAnchor_default as BadgeAnchor, BadgeLabel, Breadcrumb, BreadcrumbCurrent, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbRoot, BreadcrumbSeparator, Button_default as Button, ButtonGroup_default as ButtonGroup, ButtonGroupSeparator_default as ButtonGroupSeparator, ButtonGroupSeparator_default as ToggleButtonGroupSeparator, Calendar, Card, CardActions, CardContent, CardDescription, CardFooter_default as CardFooter, CardHeader_default as CardHeader, CardHeading, CardRoot_default as CardRoot, CardTitle_default as CardTitle, Chart, ChartDescription, ChartRoot, ChartTitle, Checkbox, CheckboxContent, CheckboxIndicator_default as CheckboxIndicator, CheckboxRoot, Combobox, ComboboxAnchor_default as ComboboxAnchor, ComboboxClearButton_default as ComboboxClearButton, ComboboxContent_default as ComboboxContent, ComboboxInput_default as ComboboxInput, ComboboxItem, ComboboxItemIndicator, ComboboxPortal, ComboboxRoot_default as ComboboxRoot, ComboboxSection, ComboboxSectionLabel, ComboboxTrigger, DataTable, DataTableError, DataTableRoot_default as DataTableRoot, DataTableSortButton_default as DataTableSortButton, DataTableStatus, DateField, DatePicker, DateRangeField, DateRangePicker, DateRangePickerAnchor, DateRangePickerArrow, DateRangePickerCalendar, DateRangePickerCell, DateRangePickerCellTrigger, DateRangePickerClose, DateRangePickerContent, DateRangePickerField, DateRangePickerGrid, DateRangePickerGridBody, DateRangePickerGridHead, DateRangePickerGridRow, DateRangePickerHeadCell, DateRangePickerHeader, DateRangePickerHeading, DateRangePickerInput, DateRangePickerNext, DateRangePickerPrev, DateRangePickerRoot, DateRangePickerTrigger, DateTimeField, DateTimePicker, DateTimeRangeField, DateTimeRangePicker, Description_default as Description, Dialog, DialogBackdrop, DialogBody, DialogCloseButton, DialogContent, DialogDescription, DialogFooter_default as DialogFooter, DialogHeader_default as DialogHeader, DialogPortal, DialogRoot, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuItemIndicator, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuRoot, DropdownMenuSection, DropdownMenuSectionLabel, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyActions, EmptyDescription, EmptyRoot, EmptyTitle, Field, FieldError_default as FieldError, Form, Header, Input, InputClearButton_default as InputClearButton, InputControl_default as InputControl, InputGroup, InputLabel_default as InputLabel, InputPrefix, InputRoot_default as InputRoot, InputSuffix, Label_default as Label, ListBox, Listbox, ListboxContent, ListboxItem, ListboxItemIndicator, ListboxRoot, ListboxSection, ListboxSectionLabel, MonthPicker, MonthYearNavigation_default as MonthYearNavigation, NumberField, NumberFieldDecrementButton, NumberFieldGroup, NumberFieldIncrementButton, NumberFieldInput, NumberFieldRoot, Pagination, PaginationContent, PaginationEllipsis, PaginationFirst, PaginationItem, PaginationLast, PaginationList, PaginationNext, PaginationPrevious, PaginationRoot, PaginationSummary, Popover, PopoverArrow, PopoverBody, PopoverCloseButton, PopoverContent, PopoverFooter, PopoverHeading, PopoverPortal, PopoverRoot, PopoverTrigger, RadioGroup, RadioGroupContent, RadioGroupIndicator, RadioGroupItem, RadioGroupRoot, RangeCalendar, Select, SelectClearButton_default as SelectClearButton, SelectControl, SelectGroup_default as SelectGroup, SelectIndicator, SelectItem, SelectItemIndicator, SelectItemText, SelectListbox, SelectPopover_default as SelectPopover, SelectRoot_default as SelectRoot, SelectSection, SelectSectionLabel, SelectTrigger_default as SelectTrigger, SelectValue_default as SelectValue, Separator_default as Separator, Sidebar, SidebarContent, SidebarFooter, SidebarHeader, SidebarItem, SidebarList, SidebarNavigation_default as SidebarNavigation, SidebarRoot_default as SidebarRoot, SidebarTitle, SidebarToggle_default as SidebarToggle, Skeleton_default as Skeleton, Spinner_default as Spinner, Switch, SwitchContent, SwitchControl, SwitchGroup_default as SwitchGroup, SwitchIcon, SwitchRoot_default as SwitchRoot, SwitchThumb, Table, TableBody, TableCaption, TableCell, TableColumn, TableFooter, TableHeader, TableRoot, TableRow, TableScrollContainer, Tabs, TabsIndicator, TabsList, TabsListContainer, TabsPanel, TabsRoot_default as TabsRoot, TabsSeparator, TabsTab, Textarea, TextareaControl_default as TextareaControl, TimeClock, TimeField, TimeList, TimePicker, TimeRangeField, TimeRangePicker, Toast, ToastActionButton_default as ToastActionButton, ToastActions, ToastCloseButton_default as ToastCloseButton, ToastContent, ToastDescription, ToastIndicator, ToastProgress, ToastProvider_default as ToastProvider, ToastRoot, ToastTitle, ToastViewport, ToggleButton_default as ToggleButton, ToggleButtonGroup_default as ToggleButtonGroup, ToggleGroup, ToggleGroupItem, ToggleGroupRoot, Tooltip, TooltipArrow, TooltipContent, TooltipPortal, TooltipProvider, TooltipRoot, TooltipTrigger, YearPicker, createDateRangePresets, createToastManager, rangeText as formatDateRange, useToast };
10032
10561
 
10033
10562
  //# sourceMappingURL=index.js.map