@helpwave/hightide 0.8.12 → 0.9.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.d.mts +1035 -636
- package/dist/index.d.ts +1035 -636
- package/dist/index.js +6834 -5046
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6629 -4851
- package/dist/index.mjs.map +1 -1
- package/dist/style/globals.css +360 -57
- package/dist/style/uncompiled/theme/colors/utilities.css +8 -1
- package/dist/style/uncompiled/theme/components/button.css +8 -4
- package/dist/style/uncompiled/theme/components/checkbox.css +8 -0
- package/dist/style/uncompiled/theme/components/combobox.css +25 -0
- package/dist/style/uncompiled/theme/components/general.css +2 -2
- package/dist/style/uncompiled/theme/components/icon-button.css +8 -4
- package/dist/style/uncompiled/theme/components/index.css +1 -0
- package/dist/style/uncompiled/theme/components/input-elements.css +8 -0
- package/dist/style/uncompiled/theme/components/pop-up.css +8 -1
- package/dist/style/uncompiled/theme/components/select.css +45 -14
- package/dist/style/uncompiled/utitlity/coloring.css +27 -0
- package/dist/style/uncompiled/utitlity/focus.css +2 -2
- package/package.json +14 -10
package/dist/index.d.mts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import react__default, { HTMLAttributes, SVGProps, ReactNode, PropsWithChildren, RefObject, CSSProperties, Dispatch, SetStateAction, ButtonHTMLAttributes, InputHTMLAttributes, ComponentProps, TableHTMLAttributes, TextareaHTMLAttributes, LabelHTMLAttributes } from 'react';
|
|
4
|
-
import { TableFeature, ColumnDef, Table as Table$1, InitialTableState, Row, TableState, TableOptions, RowData, FilterFn, RowSelectionState, RowModel, Column, SortDirection, ColumnSizingState } from '@tanstack/react-table';
|
|
3
|
+
import react__default, { HTMLAttributes, SVGProps, ReactNode, PropsWithChildren, RefObject, CSSProperties, Dispatch, SetStateAction, ButtonHTMLAttributes, InputHTMLAttributes, ComponentPropsWithoutRef, ComponentProps, JSX, TableHTMLAttributes, TextareaHTMLAttributes, LabelHTMLAttributes, ElementType } from 'react';
|
|
5
4
|
import { Translation, TranslationEntries, PartialTranslationExtension } from '@helpwave/internationalization';
|
|
6
5
|
import Link from 'next/link';
|
|
6
|
+
import { TableFeature, ColumnDef, Table as Table$1, InitialTableState, Row, TableState, TableOptions, RowData, FilterFn, RowSelectionState, RowModel, Header, SortDirection, ColumnSizingState } from '@tanstack/react-table';
|
|
7
|
+
import { SlotProps } from '@radix-ui/react-slot';
|
|
7
8
|
|
|
8
9
|
type Size = 'sm' | 'md' | 'lg';
|
|
9
10
|
type HelpwaveBadgeProps = HTMLAttributes<HTMLSpanElement> & {
|
|
@@ -50,7 +51,7 @@ type AvatarGroupProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
50
51
|
declare const AvatarGroup: ({ avatars, showTotalNumber, size, ...props }: AvatarGroupProps) => react_jsx_runtime.JSX.Element;
|
|
51
52
|
|
|
52
53
|
type ChipSize = 'xs' | 'sm' | 'md' | 'lg' | null;
|
|
53
|
-
type ChipColoringStyle = 'solid' | 'tonal' | null;
|
|
54
|
+
type ChipColoringStyle = 'solid' | 'tonal' | 'outline' | 'tonal-outline' | null;
|
|
54
55
|
declare const chipColors: readonly ["primary", "secondary", "positive", "warning", "negative", "neutral"];
|
|
55
56
|
type ChipColor = typeof chipColors[number];
|
|
56
57
|
declare const ChipUtil: {
|
|
@@ -499,44 +500,6 @@ interface InfiniteScrollProps {
|
|
|
499
500
|
}
|
|
500
501
|
declare function InfiniteScroll({ children, itemCount, bufferSize, scrollThreshold, stepSize, initialIndex, className, style, }: InfiniteScrollProps): react_jsx_runtime.JSX.Element;
|
|
501
502
|
|
|
502
|
-
type ListBoxItemProps = HTMLAttributes<HTMLLIElement> & {
|
|
503
|
-
value: string;
|
|
504
|
-
disabled?: boolean;
|
|
505
|
-
};
|
|
506
|
-
declare const ListBoxItem: react__default.ForwardRefExoticComponent<HTMLAttributes<HTMLLIElement> & {
|
|
507
|
-
value: string;
|
|
508
|
-
disabled?: boolean;
|
|
509
|
-
} & react__default.RefAttributes<HTMLLIElement>>;
|
|
510
|
-
type ListBoxOrientation = 'vertical' | 'horizontal';
|
|
511
|
-
type ListBoxPrimitiveProps = HTMLAttributes<HTMLUListElement> & {
|
|
512
|
-
value?: string[];
|
|
513
|
-
initialValue?: string[];
|
|
514
|
-
onItemClicked?: (value: string) => void;
|
|
515
|
-
onSelectionChanged?: (value: string[]) => void;
|
|
516
|
-
isSelection?: boolean;
|
|
517
|
-
isMultiple?: boolean;
|
|
518
|
-
orientation?: ListBoxOrientation;
|
|
519
|
-
};
|
|
520
|
-
declare const ListBoxPrimitive: react__default.ForwardRefExoticComponent<HTMLAttributes<HTMLUListElement> & {
|
|
521
|
-
value?: string[];
|
|
522
|
-
initialValue?: string[];
|
|
523
|
-
onItemClicked?: (value: string) => void;
|
|
524
|
-
onSelectionChanged?: (value: string[]) => void;
|
|
525
|
-
isSelection?: boolean;
|
|
526
|
-
isMultiple?: boolean;
|
|
527
|
-
orientation?: ListBoxOrientation;
|
|
528
|
-
} & react__default.RefAttributes<HTMLUListElement>>;
|
|
529
|
-
type ListBoxMultipleProps = Omit<ListBoxPrimitiveProps, 'isMultiple'>;
|
|
530
|
-
declare const ListBoxMultiple: ({ ...props }: ListBoxMultipleProps) => react_jsx_runtime.JSX.Element;
|
|
531
|
-
type ListBoxProps = Omit<ListBoxPrimitiveProps, 'isMultiple' | 'value' | 'onSelectionChanged'> & {
|
|
532
|
-
value?: string;
|
|
533
|
-
onSelectionChanged?: (value: string) => void;
|
|
534
|
-
};
|
|
535
|
-
declare const ListBox: react__default.ForwardRefExoticComponent<Omit<ListBoxPrimitiveProps, "value" | "onSelectionChanged" | "isMultiple"> & {
|
|
536
|
-
value?: string;
|
|
537
|
-
onSelectionChanged?: (value: string) => void;
|
|
538
|
-
} & react__default.RefAttributes<HTMLUListElement>>;
|
|
539
|
-
|
|
540
503
|
type ASTNodeModifierType = 'none' | 'italic' | 'bold' | 'underline' | 'font-space' | 'primary' | 'secondary' | 'warn' | 'positive' | 'negative';
|
|
541
504
|
declare const astNodeInserterType: readonly ["helpwave", "newline"];
|
|
542
505
|
type ASTNodeInserterType = typeof astNodeInserterType[number];
|
|
@@ -722,7 +685,7 @@ declare function DialogRoot({ children, isOpen: controlledIsOpen, onIsOpenChange
|
|
|
722
685
|
* The different sizes for a button
|
|
723
686
|
*/
|
|
724
687
|
type ButtonSize = 'xs' | 'sm' | 'md' | 'lg' | null;
|
|
725
|
-
type ButtonColoringStyle = 'outline' | 'solid' | 'text' | 'tonal' | null;
|
|
688
|
+
type ButtonColoringStyle = 'outline' | 'solid' | 'text' | 'tonal' | 'tonal-outline' | null;
|
|
726
689
|
declare const buttonColorsList: readonly ["primary", "secondary", "positive", "warning", "negative", "neutral"];
|
|
727
690
|
/**
|
|
728
691
|
* The allowed colors for the Button
|
|
@@ -835,69 +798,134 @@ type InputModalProps = ConfirmDialogProps & {
|
|
|
835
798
|
*/
|
|
836
799
|
declare const InputDialog: ({ inputs, buttonOverwrites, ...props }: InputModalProps) => react_jsx_runtime.JSX.Element;
|
|
837
800
|
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
}
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
801
|
+
interface SelectIds {
|
|
802
|
+
trigger: string;
|
|
803
|
+
content: string;
|
|
804
|
+
listbox: string;
|
|
805
|
+
searchInput: string;
|
|
806
|
+
}
|
|
807
|
+
interface SelectRootProps<T> extends Partial<FormFieldDataHandling<T>>, Partial<FormFieldInteractionStates> {
|
|
808
|
+
value?: T | null;
|
|
809
|
+
initialValue?: T | null;
|
|
810
|
+
compareFunction?: (a: T | null, b: T | null) => boolean;
|
|
811
|
+
initialIsOpen?: boolean;
|
|
812
|
+
onClose?: () => void;
|
|
813
|
+
onIsOpenChange?: (isOpen: boolean) => void;
|
|
814
|
+
showSearch?: boolean;
|
|
815
|
+
iconAppearance?: 'left' | 'right' | 'none';
|
|
816
|
+
children: ReactNode;
|
|
817
|
+
}
|
|
818
|
+
declare function SelectRoot<T>({ children, value, onValueChange, onEditComplete, initialValue, compareFunction, initialIsOpen, onClose, onIsOpenChange, showSearch, iconAppearance, invalid, disabled, readOnly, required, }: SelectRootProps<T>): react_jsx_runtime.JSX.Element;
|
|
819
|
+
|
|
820
|
+
interface UseSelectOption {
|
|
821
|
+
id: string;
|
|
822
|
+
label?: string;
|
|
823
|
+
disabled?: boolean;
|
|
824
|
+
}
|
|
825
|
+
interface UseSelectOptions {
|
|
826
|
+
options: ReadonlyArray<UseSelectOption>;
|
|
827
|
+
value?: string | null;
|
|
828
|
+
initialValue?: string | null;
|
|
829
|
+
initialIsOpen?: boolean;
|
|
830
|
+
onValueChange?: (value: string) => void;
|
|
831
|
+
onEditComplete?: (value: string) => void;
|
|
832
|
+
onClose?: () => void;
|
|
833
|
+
onIsOpenChange?: (isOpen: boolean) => void;
|
|
834
|
+
typeAheadResetMs?: number;
|
|
835
|
+
}
|
|
836
|
+
type UseSelectFirstHighlightBehavior = 'first' | 'last';
|
|
837
|
+
interface UseSelectState {
|
|
838
|
+
value: string | null;
|
|
839
|
+
highlightedValue: string | undefined;
|
|
847
840
|
isOpen: boolean;
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
}
|
|
851
|
-
|
|
841
|
+
searchQuery: string;
|
|
842
|
+
options: ReadonlyArray<UseSelectOption>;
|
|
843
|
+
}
|
|
844
|
+
interface UseSelectComputedState {
|
|
845
|
+
visibleOptionIds: ReadonlyArray<string>;
|
|
846
|
+
}
|
|
847
|
+
interface UseSelectActions {
|
|
848
|
+
setIsOpen: (isOpen: boolean, behavior?: UseSelectFirstHighlightBehavior) => void;
|
|
849
|
+
toggleOpen: (behavior?: UseSelectFirstHighlightBehavior) => void;
|
|
850
|
+
setSearchQuery: (query: string) => void;
|
|
851
|
+
highlightFirst: () => void;
|
|
852
|
+
highlightLast: () => void;
|
|
853
|
+
highlightNext: () => void;
|
|
854
|
+
highlightPrevious: () => void;
|
|
855
|
+
highlightItem: (value: string) => void;
|
|
856
|
+
selectValue: (value: string) => void;
|
|
857
|
+
handleTypeaheadKey: (key: string) => void;
|
|
858
|
+
}
|
|
859
|
+
interface UseSelectReturn extends UseSelectState, UseSelectComputedState, UseSelectActions {
|
|
860
|
+
}
|
|
861
|
+
declare function useSelect({ options, value: controlledValue, onValueChange, onEditComplete, initialValue, onClose, onIsOpenChange, initialIsOpen, typeAheadResetMs, }: UseSelectOptions): UseSelectReturn;
|
|
862
|
+
|
|
863
|
+
interface SelectOptionType<T = string> {
|
|
864
|
+
id: string;
|
|
865
|
+
value: T;
|
|
866
|
+
label?: string;
|
|
867
|
+
display?: ReactNode;
|
|
868
|
+
disabled?: boolean;
|
|
869
|
+
ref: RefObject<HTMLElement>;
|
|
870
|
+
}
|
|
871
|
+
interface SelectContextIds {
|
|
852
872
|
trigger: string;
|
|
853
873
|
content: string;
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
874
|
+
listbox: string;
|
|
875
|
+
searchInput: string;
|
|
876
|
+
}
|
|
877
|
+
interface SelectContextState<T> extends FormFieldInteractionStates {
|
|
878
|
+
selectedId: string | null;
|
|
879
|
+
options: ReadonlyArray<SelectOptionType<T>>;
|
|
880
|
+
highlightedId: string | null;
|
|
881
|
+
isOpen: boolean;
|
|
882
|
+
}
|
|
883
|
+
interface SelectContextComputedState<T> {
|
|
884
|
+
visibleOptionIds: ReadonlyArray<string>;
|
|
885
|
+
idToOptionMap: Record<string, SelectOptionType<T>>;
|
|
886
|
+
}
|
|
887
|
+
interface SelectContextActions<T> {
|
|
888
|
+
registerOption(option: SelectOptionType<T>): () => void;
|
|
889
|
+
toggleSelection(id: string): void;
|
|
890
|
+
highlightFirst(): void;
|
|
891
|
+
highlightLast(): void;
|
|
892
|
+
highlightNext(): void;
|
|
893
|
+
highlightPrevious(): void;
|
|
894
|
+
highlightItem(id: string): void;
|
|
895
|
+
handleTypeaheadKey(key: string): void;
|
|
896
|
+
setIsOpen(open: boolean, behavior?: UseSelectFirstHighlightBehavior): void;
|
|
897
|
+
toggleIsOpen(behavior?: UseSelectFirstHighlightBehavior): void;
|
|
898
|
+
}
|
|
899
|
+
interface SelectContextLayout {
|
|
900
|
+
triggerRef: RefObject<HTMLElement>;
|
|
901
|
+
registerTrigger(element: RefObject<HTMLElement>): () => void;
|
|
902
|
+
}
|
|
903
|
+
interface SelectContextSearch {
|
|
904
|
+
hasSearch: boolean;
|
|
905
|
+
searchQuery?: string;
|
|
906
|
+
setSearchQuery(query: string): void;
|
|
907
|
+
}
|
|
908
|
+
type SelectIconAppearance = 'left' | 'right' | 'none';
|
|
909
|
+
interface SelectContextConfig {
|
|
861
910
|
iconAppearance: SelectIconAppearance;
|
|
862
|
-
};
|
|
863
|
-
type ToggleOpenOptions = {
|
|
864
|
-
highlightStartPositionBehavior?: HighlightStartPositionBehavior;
|
|
865
|
-
};
|
|
866
|
-
type SelectContextType = {
|
|
867
911
|
ids: SelectContextIds;
|
|
868
912
|
setIds: Dispatch<SetStateAction<SelectContextIds>>;
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
declare const SelectContext: react.Context<SelectContextType>;
|
|
886
|
-
declare function useSelectContext(): SelectContextType;
|
|
887
|
-
type SharedSelectRootProps = Partial<FormFieldInteractionStates> & PropsWithChildren & {
|
|
888
|
-
id?: string;
|
|
889
|
-
initialIsOpen?: boolean;
|
|
890
|
-
iconAppearance?: SelectIconAppearance;
|
|
891
|
-
onClose?: () => void;
|
|
892
|
-
};
|
|
893
|
-
type SelectRootProps = SharedSelectRootProps & Partial<FormFieldDataHandling<string>> & {
|
|
894
|
-
initialValue?: string;
|
|
895
|
-
};
|
|
896
|
-
declare const SelectRoot: ({ value, onValueChange, onEditComplete, ...props }: SelectRootProps) => react_jsx_runtime.JSX.Element;
|
|
897
|
-
type MultiSelectRootProps = SharedSelectRootProps & Partial<FormFieldDataHandling<string[]>> & {
|
|
898
|
-
initialValue?: string[];
|
|
899
|
-
};
|
|
900
|
-
declare const MultiSelectRoot: ({ value, onValueChange, initialValue, onEditComplete, ...props }: MultiSelectRootProps) => react_jsx_runtime.JSX.Element;
|
|
913
|
+
}
|
|
914
|
+
interface SelectContextType<T> extends SelectContextActions<T>, SelectContextState<T>, SelectContextComputedState<T> {
|
|
915
|
+
config: SelectContextConfig;
|
|
916
|
+
layout: SelectContextLayout;
|
|
917
|
+
search: SelectContextSearch;
|
|
918
|
+
}
|
|
919
|
+
declare const SelectContext: react.Context<SelectContextType<unknown>>;
|
|
920
|
+
declare function useSelectContext<T>(): SelectContextType<T>;
|
|
921
|
+
|
|
922
|
+
interface SelectButtonProps<T = string> extends ComponentPropsWithoutRef<'div'> {
|
|
923
|
+
placeholder?: ReactNode;
|
|
924
|
+
disabled?: boolean;
|
|
925
|
+
selectedDisplay?: (value: SelectOptionType<T> | null) => ReactNode;
|
|
926
|
+
hideExpansionIcon?: boolean;
|
|
927
|
+
}
|
|
928
|
+
declare const SelectButton: react.ForwardRefExoticComponent<SelectButtonProps<unknown> & react.RefAttributes<HTMLDivElement>>;
|
|
901
929
|
|
|
902
930
|
type UseFocusTrapProps = {
|
|
903
931
|
container: RefObject<HTMLElement>;
|
|
@@ -920,76 +948,30 @@ declare const useOutsideClick: ({ refs, onOutsideClick, active }: UseOutsideClic
|
|
|
920
948
|
interface PopUpProps extends AnchoredFloatingContainerProps, Partial<UseOutsideClickHandlers> {
|
|
921
949
|
isOpen?: boolean;
|
|
922
950
|
focusTrapOptions?: Omit<UseFocusTrapProps, 'container'>;
|
|
923
|
-
outsideClickOptions?: UseOutsideClickOptions
|
|
951
|
+
outsideClickOptions?: Partial<UseOutsideClickOptions>;
|
|
924
952
|
onClose?: () => void;
|
|
925
953
|
forceMount?: boolean;
|
|
926
954
|
anchorExcludedFromOutsideClick?: boolean;
|
|
927
955
|
}
|
|
928
|
-
declare const PopUp: react.ForwardRefExoticComponent<PopUpProps & react.RefAttributes<
|
|
956
|
+
declare const PopUp: react.ForwardRefExoticComponent<PopUpProps & react.RefAttributes<HTMLElement>>;
|
|
929
957
|
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
};
|
|
936
|
-
declare const SelectOption: react.ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLLIElement>, "children"> & {
|
|
937
|
-
value: string;
|
|
938
|
-
disabled?: boolean;
|
|
939
|
-
iconAppearance?: SelectIconAppearance;
|
|
940
|
-
children?: ReactNode;
|
|
941
|
-
} & react.RefAttributes<HTMLLIElement>>;
|
|
942
|
-
type SelectButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
943
|
-
placeholder?: ReactNode;
|
|
944
|
-
selectedDisplay?: (value: string[]) => ReactNode;
|
|
945
|
-
hideExpansionIcon?: boolean;
|
|
946
|
-
};
|
|
947
|
-
declare const SelectButton: react.ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
948
|
-
placeholder?: ReactNode;
|
|
949
|
-
selectedDisplay?: (value: string[]) => ReactNode;
|
|
950
|
-
hideExpansionIcon?: boolean;
|
|
951
|
-
} & react.RefAttributes<HTMLButtonElement>>;
|
|
952
|
-
type SelectContentProps = PopUpProps;
|
|
953
|
-
declare const SelectContent: react.ForwardRefExoticComponent<PopUpProps & react.RefAttributes<HTMLUListElement>>;
|
|
954
|
-
type MultiSelectOptionProps = SelectOptionProps;
|
|
955
|
-
declare const MultiSelectOption: react.ForwardRefExoticComponent<Omit<HTMLAttributes<HTMLLIElement>, "children"> & {
|
|
956
|
-
value: string;
|
|
957
|
-
disabled?: boolean;
|
|
958
|
-
iconAppearance?: SelectIconAppearance;
|
|
959
|
-
children?: ReactNode;
|
|
960
|
-
} & react.RefAttributes<HTMLLIElement>>;
|
|
961
|
-
type MultiSelectContentProps = SelectContentProps;
|
|
962
|
-
declare const MultiSelectContent: react.ForwardRefExoticComponent<PopUpProps & react.RefAttributes<HTMLUListElement>>;
|
|
963
|
-
type MultiSelectButtonProps = SelectButtonProps;
|
|
964
|
-
declare const MultiSelectButton: react.ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
965
|
-
placeholder?: ReactNode;
|
|
966
|
-
selectedDisplay?: (value: string[]) => ReactNode;
|
|
967
|
-
hideExpansionIcon?: boolean;
|
|
968
|
-
} & react.RefAttributes<HTMLButtonElement>>;
|
|
958
|
+
interface SelectContentProps extends PopUpProps {
|
|
959
|
+
showSearch?: boolean;
|
|
960
|
+
searchInputProps?: Omit<ComponentProps<typeof Input>, 'value' | 'onValueChange'>;
|
|
961
|
+
}
|
|
962
|
+
declare const SelectContent: react.ForwardRefExoticComponent<SelectContentProps & react.RefAttributes<HTMLUListElement>>;
|
|
969
963
|
|
|
970
|
-
type SelectProps = SelectRootProps & {
|
|
964
|
+
type SelectProps<T = string> = SelectRootProps<T> & {
|
|
971
965
|
contentPanelProps?: SelectContentProps;
|
|
972
|
-
buttonProps?: Omit<SelectButtonProps
|
|
973
|
-
selectedDisplay?: (value:
|
|
966
|
+
buttonProps?: Omit<SelectButtonProps<T>, 'selectedDisplay'> & {
|
|
967
|
+
selectedDisplay?: (value: SelectOptionType<T> | null) => ReactNode;
|
|
968
|
+
} & {
|
|
969
|
+
[key: string]: unknown;
|
|
974
970
|
};
|
|
975
971
|
};
|
|
976
|
-
declare const Select:
|
|
977
|
-
children?: ReactNode | undefined;
|
|
978
|
-
} & {
|
|
979
|
-
id?: string;
|
|
980
|
-
initialIsOpen?: boolean;
|
|
981
|
-
iconAppearance?: SelectIconAppearance;
|
|
982
|
-
onClose?: () => void;
|
|
983
|
-
} & Partial<FormFieldDataHandling<string>> & {
|
|
984
|
-
initialValue?: string;
|
|
985
|
-
} & {
|
|
986
|
-
contentPanelProps?: SelectContentProps;
|
|
987
|
-
buttonProps?: Omit<SelectButtonProps, "selectedDisplay"> & {
|
|
988
|
-
selectedDisplay?: (value: string) => ReactNode;
|
|
989
|
-
};
|
|
990
|
-
} & react.RefAttributes<HTMLButtonElement>>;
|
|
972
|
+
declare const Select: <T>(props: SelectProps<T> & React.RefAttributes<HTMLDivElement>) => JSX.Element;
|
|
991
973
|
|
|
992
|
-
type LanguageSelectProps = Omit<SelectProps, 'value'>;
|
|
974
|
+
type LanguageSelectProps = Omit<SelectProps, 'value' | 'children'>;
|
|
993
975
|
declare const LanguageSelect: ({ ...props }: LanguageSelectProps) => react_jsx_runtime.JSX.Element;
|
|
994
976
|
type LanguageDialogProps = Omit<DialogProps, 'titleElement' | 'description'> & PropsWithChildren<{
|
|
995
977
|
titleOverwrite?: ReactNode;
|
|
@@ -1006,6 +988,7 @@ declare const hightideTranslationLocales: readonly ["de-DE", "en-US"];
|
|
|
1006
988
|
type HightideTranslationLocales = typeof hightideTranslationLocales[number];
|
|
1007
989
|
type HightideTranslationEntries = {
|
|
1008
990
|
'add': string;
|
|
991
|
+
'addFilter': string;
|
|
1009
992
|
'after': string;
|
|
1010
993
|
'age': string;
|
|
1011
994
|
'all': string;
|
|
@@ -1047,6 +1030,7 @@ type HightideTranslationEntries = {
|
|
|
1047
1030
|
'discardChanges': string;
|
|
1048
1031
|
'done': string;
|
|
1049
1032
|
'edit': string;
|
|
1033
|
+
'editFilter': string;
|
|
1050
1034
|
'endDate': string;
|
|
1051
1035
|
'endsWith': string;
|
|
1052
1036
|
'enterText': string;
|
|
@@ -1060,6 +1044,7 @@ type HightideTranslationEntries = {
|
|
|
1060
1044
|
'filter': string;
|
|
1061
1045
|
'filterNonWhitespace': string;
|
|
1062
1046
|
'filterNotUndefined': string;
|
|
1047
|
+
'filterOptions': string;
|
|
1063
1048
|
'filterUndefined': string;
|
|
1064
1049
|
'first': string;
|
|
1065
1050
|
'goodToSeeYou': string;
|
|
@@ -1071,7 +1056,9 @@ type HightideTranslationEntries = {
|
|
|
1071
1056
|
'invalidEmail': string;
|
|
1072
1057
|
'invalidEmailError': string;
|
|
1073
1058
|
'isFalse': string;
|
|
1059
|
+
'isNotUndefined': string;
|
|
1074
1060
|
'isTrue': string;
|
|
1061
|
+
'isUndefined': string;
|
|
1075
1062
|
'language': string;
|
|
1076
1063
|
'last': string;
|
|
1077
1064
|
'less': string;
|
|
@@ -1096,6 +1083,9 @@ type HightideTranslationEntries = {
|
|
|
1096
1083
|
'notEmpty': string;
|
|
1097
1084
|
'notEquals': string;
|
|
1098
1085
|
'nothingFound': string;
|
|
1086
|
+
'nResultsFound': (values: {
|
|
1087
|
+
count: number;
|
|
1088
|
+
}) => string;
|
|
1099
1089
|
'of': string;
|
|
1100
1090
|
'onOrAfter': string;
|
|
1101
1091
|
'onOrBefore': string;
|
|
@@ -1123,19 +1113,59 @@ type HightideTranslationEntries = {
|
|
|
1123
1113
|
'pThemes': (values: {
|
|
1124
1114
|
count: number;
|
|
1125
1115
|
}) => string;
|
|
1116
|
+
'rBetween': (values: {
|
|
1117
|
+
value1: string;
|
|
1118
|
+
value2: string;
|
|
1119
|
+
}) => string;
|
|
1120
|
+
'rContains': (values: {
|
|
1121
|
+
value: string;
|
|
1122
|
+
}) => string;
|
|
1126
1123
|
'remove': string;
|
|
1124
|
+
'removeFilter': string;
|
|
1127
1125
|
'removeProperty': string;
|
|
1126
|
+
'rEndsWith': (values: {
|
|
1127
|
+
value: string;
|
|
1128
|
+
}) => string;
|
|
1129
|
+
'rEquals': (values: {
|
|
1130
|
+
value: string;
|
|
1131
|
+
}) => string;
|
|
1128
1132
|
'required': string;
|
|
1129
1133
|
'reset': string;
|
|
1134
|
+
'rGreaterThan': (values: {
|
|
1135
|
+
value: string;
|
|
1136
|
+
}) => string;
|
|
1137
|
+
'rGreaterThanOrEqual': (values: {
|
|
1138
|
+
value: string;
|
|
1139
|
+
}) => string;
|
|
1140
|
+
'rLessThan': (values: {
|
|
1141
|
+
value: string;
|
|
1142
|
+
}) => string;
|
|
1143
|
+
'rLessThanOrEqual': (values: {
|
|
1144
|
+
value: string;
|
|
1145
|
+
}) => string;
|
|
1146
|
+
'rNotBetween': (values: {
|
|
1147
|
+
value1: string;
|
|
1148
|
+
value2: string;
|
|
1149
|
+
}) => string;
|
|
1150
|
+
'rNotContains': (values: {
|
|
1151
|
+
value: string;
|
|
1152
|
+
}) => string;
|
|
1153
|
+
'rNotEquals': (values: {
|
|
1154
|
+
value: string;
|
|
1155
|
+
}) => string;
|
|
1130
1156
|
'rSortingOrderAfter': (values: {
|
|
1131
1157
|
otherSortings: number;
|
|
1132
1158
|
}) => string;
|
|
1159
|
+
'rStartsWith': (values: {
|
|
1160
|
+
value: string;
|
|
1161
|
+
}) => string;
|
|
1133
1162
|
'save': string;
|
|
1134
1163
|
'saved': string;
|
|
1135
1164
|
'sDateTimeSelect': (values: {
|
|
1136
1165
|
datetimeMode: string;
|
|
1137
1166
|
}) => string;
|
|
1138
1167
|
'search': string;
|
|
1168
|
+
'searchResults': string;
|
|
1139
1169
|
'select': string;
|
|
1140
1170
|
'selection': string;
|
|
1141
1171
|
'selectOption': string;
|
|
@@ -1243,6 +1273,7 @@ type HightideTranslationEntries = {
|
|
|
1243
1273
|
'tooShort': (values: {
|
|
1244
1274
|
min: number;
|
|
1245
1275
|
}) => string;
|
|
1276
|
+
'unknown': string;
|
|
1246
1277
|
'unpin': string;
|
|
1247
1278
|
'unsavedChanges': string;
|
|
1248
1279
|
'unsavedChangesSaveQuestion': string;
|
|
@@ -1322,7 +1353,7 @@ interface ThemeIconProps extends HTMLAttributes<SVGSVGElement> {
|
|
|
1322
1353
|
theme?: ThemeType;
|
|
1323
1354
|
}
|
|
1324
1355
|
declare const ThemeIcon: ({ theme: themeOverride, ...props }: ThemeIconProps) => react_jsx_runtime.JSX.Element;
|
|
1325
|
-
type ThemeSelectProps = Omit<SelectProps
|
|
1356
|
+
type ThemeSelectProps = Omit<SelectProps<ThemeType>, 'value' | 'children'>;
|
|
1326
1357
|
declare const ThemeSelect: ({ ...props }: ThemeSelectProps) => react_jsx_runtime.JSX.Element;
|
|
1327
1358
|
interface ThemeDialogProps extends Omit<DialogProps, 'titleElement' | 'description'> {
|
|
1328
1359
|
titleOverwrite?: ReactNode;
|
|
@@ -1423,7 +1454,7 @@ declare const Tooltip: ({ tooltip, children, isInitiallyShown, appearDelay, disa
|
|
|
1423
1454
|
* The different sizes for a icon button
|
|
1424
1455
|
*/
|
|
1425
1456
|
type IconButtonSize = 'xs' | 'sm' | 'md' | 'lg' | null;
|
|
1426
|
-
type IconButtonColoringStyle = 'outline' | 'solid' | 'text' | 'tonal' | null;
|
|
1457
|
+
type IconButtonColoringStyle = 'outline' | 'solid' | 'text' | 'tonal' | 'tonal-outline' | null;
|
|
1427
1458
|
interface IconButtonBaseProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
1428
1459
|
/**
|
|
1429
1460
|
* @default 'medium'
|
|
@@ -1433,7 +1464,6 @@ interface IconButtonBaseProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
1433
1464
|
* @default 'solid'
|
|
1434
1465
|
*/
|
|
1435
1466
|
coloringStyle?: IconButtonColoringStyle;
|
|
1436
|
-
allowClickEventPropagation?: boolean;
|
|
1437
1467
|
}
|
|
1438
1468
|
declare const IconButtonBase: react.ForwardRefExoticComponent<IconButtonBaseProps & react.RefAttributes<HTMLButtonElement>>;
|
|
1439
1469
|
interface IconButtonProps extends IconButtonBaseProps {
|
|
@@ -1645,7 +1675,8 @@ declare module '@tanstack/react-table' {
|
|
|
1645
1675
|
filterData?: {
|
|
1646
1676
|
tags?: {
|
|
1647
1677
|
tag: string;
|
|
1648
|
-
label:
|
|
1678
|
+
label: string;
|
|
1679
|
+
display?: ReactNode;
|
|
1649
1680
|
}[];
|
|
1650
1681
|
};
|
|
1651
1682
|
columnLabel?: string;
|
|
@@ -1662,7 +1693,7 @@ declare module '@tanstack/react-table' {
|
|
|
1662
1693
|
boolean: FilterFn<unknown>;
|
|
1663
1694
|
multiTags: FilterFn<unknown>;
|
|
1664
1695
|
singleTag: FilterFn<unknown>;
|
|
1665
|
-
|
|
1696
|
+
unknownType: FilterFn<unknown>;
|
|
1666
1697
|
}
|
|
1667
1698
|
interface TableOptions<TData extends RowData> {
|
|
1668
1699
|
columnSizingTarget?: number;
|
|
@@ -1688,7 +1719,7 @@ declare const TableDisplay: <T>({ children, containerProps, tableHeaderProps, ..
|
|
|
1688
1719
|
|
|
1689
1720
|
type TablePaginationMenuProps = Omit<PaginationProps, 'pageIndex' | 'pageCount'>;
|
|
1690
1721
|
declare const TablePaginationMenu: ({ ...props }: TablePaginationMenuProps) => react_jsx_runtime.JSX.Element;
|
|
1691
|
-
interface TablePageSizeSelectProps extends SelectProps {
|
|
1722
|
+
interface TablePageSizeSelectProps extends Omit<SelectProps, 'children'> {
|
|
1692
1723
|
pageSizeOptions?: number[];
|
|
1693
1724
|
}
|
|
1694
1725
|
declare const TablePageSizeSelect: ({ pageSizeOptions, ...props }: TablePageSizeSelectProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -1733,101 +1764,25 @@ type TableCellProps = PropsWithChildren<{
|
|
|
1733
1764
|
}>;
|
|
1734
1765
|
declare const TableCell: ({ children, className, }: TableCellProps) => react_jsx_runtime.JSX.Element;
|
|
1735
1766
|
|
|
1736
|
-
declare const
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
}
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
type
|
|
1750
|
-
|
|
1751
|
-
type TableBooleanFilter = (typeof TableFilterOperator.boolean)[number] | TableGenericFilter;
|
|
1752
|
-
type TableTagsFilter = (typeof TableFilterOperator.multiTags)[number] | TableGenericFilter;
|
|
1753
|
-
type TableTagsSingleFilter = (typeof TableFilterOperator.singleTag)[number] | TableGenericFilter;
|
|
1754
|
-
type TableFilterType = TableTextFilter | TableNumberFilter | TableDateFilter | TableDatetimeFilter | TableBooleanFilter | TableTagsFilter | TableTagsSingleFilter | TableGenericFilter;
|
|
1755
|
-
type TableFilterCategory = keyof typeof TableFilterOperator;
|
|
1756
|
-
declare function isTableFilterCategory(value: unknown): value is TableFilterCategory;
|
|
1757
|
-
type TextFilterParameter = {
|
|
1758
|
-
searchText?: string;
|
|
1759
|
-
isCaseSensitive?: boolean;
|
|
1760
|
-
};
|
|
1761
|
-
type NumberFilterParameter = {
|
|
1762
|
-
compareValue?: number;
|
|
1763
|
-
min?: number;
|
|
1764
|
-
max?: number;
|
|
1765
|
-
};
|
|
1766
|
-
type DateFilterParameter = {
|
|
1767
|
-
compareDate?: Date;
|
|
1768
|
-
min?: Date;
|
|
1769
|
-
max?: Date;
|
|
1770
|
-
};
|
|
1771
|
-
type DatetimeFilterParameter = {
|
|
1772
|
-
compareDatetime?: Date;
|
|
1773
|
-
min?: Date;
|
|
1774
|
-
max?: Date;
|
|
1775
|
-
};
|
|
1776
|
-
type BooleanFilterParameter = Record<string, never>;
|
|
1777
|
-
type TagsFilterParameter = {
|
|
1778
|
-
searchTags?: unknown[];
|
|
1779
|
-
};
|
|
1780
|
-
type TagsSingleFilterParameter = {
|
|
1781
|
-
searchTag?: unknown;
|
|
1782
|
-
searchTagsContains?: unknown[];
|
|
1783
|
-
};
|
|
1784
|
-
type GenericFilterParameter = Record<string, never>;
|
|
1785
|
-
type TextFilterValue = {
|
|
1786
|
-
operator: TableTextFilter;
|
|
1787
|
-
parameter: TextFilterParameter;
|
|
1788
|
-
};
|
|
1789
|
-
type NumberFilterValue = {
|
|
1790
|
-
operator: TableNumberFilter;
|
|
1791
|
-
parameter: NumberFilterParameter;
|
|
1792
|
-
};
|
|
1793
|
-
type DateFilterValue = {
|
|
1794
|
-
operator: TableDateFilter;
|
|
1795
|
-
parameter: DateFilterParameter;
|
|
1796
|
-
};
|
|
1797
|
-
type DatetimeFilterValue = {
|
|
1798
|
-
operator: TableDatetimeFilter;
|
|
1799
|
-
parameter: DatetimeFilterParameter;
|
|
1800
|
-
};
|
|
1801
|
-
type BooleanFilterValue = {
|
|
1802
|
-
operator: TableBooleanFilter;
|
|
1803
|
-
parameter: BooleanFilterParameter;
|
|
1804
|
-
};
|
|
1805
|
-
type TagsFilterValue = {
|
|
1806
|
-
operator: TableTagsFilter;
|
|
1807
|
-
parameter: TagsFilterParameter;
|
|
1808
|
-
};
|
|
1809
|
-
type TagsSingleFilterValue = {
|
|
1810
|
-
operator: TableTagsSingleFilter;
|
|
1811
|
-
parameter: TagsSingleFilterParameter;
|
|
1812
|
-
};
|
|
1813
|
-
type GenericFilterValue = {
|
|
1814
|
-
operator: TableGenericFilter;
|
|
1815
|
-
parameter: GenericFilterParameter;
|
|
1816
|
-
};
|
|
1817
|
-
type TableFilterValue = TextFilterValue | NumberFilterValue | DateFilterValue | DatetimeFilterValue | BooleanFilterValue | TagsFilterValue | TagsSingleFilterValue | GenericFilterValue;
|
|
1818
|
-
declare const TableFilter: {
|
|
1819
|
-
text: FilterFn<unknown>;
|
|
1820
|
-
number: FilterFn<unknown>;
|
|
1821
|
-
date: FilterFn<unknown>;
|
|
1822
|
-
dateTime: FilterFn<unknown>;
|
|
1823
|
-
boolean: FilterFn<unknown>;
|
|
1824
|
-
multiTags: FilterFn<unknown>;
|
|
1825
|
-
singleTag: FilterFn<unknown>;
|
|
1826
|
-
generic: FilterFn<unknown>;
|
|
1767
|
+
declare const dataTypes: readonly ["text", "number", "date", "dateTime", "boolean", "singleTag", "multiTags", "unknownType"];
|
|
1768
|
+
type DataType = (typeof dataTypes)[number];
|
|
1769
|
+
interface DataValue {
|
|
1770
|
+
textValue?: string;
|
|
1771
|
+
numberValue?: number;
|
|
1772
|
+
booleanValue?: boolean;
|
|
1773
|
+
dateValue?: Date;
|
|
1774
|
+
singleSelectValue?: string;
|
|
1775
|
+
multiSelectValue?: string[];
|
|
1776
|
+
}
|
|
1777
|
+
declare function toIcon(type: DataType): ReactNode;
|
|
1778
|
+
declare const DataTypeUtils: {
|
|
1779
|
+
types: readonly ["text", "number", "date", "dateTime", "boolean", "singleTag", "multiTags", "unknownType"];
|
|
1780
|
+
getDefaultValue: (type: DataType, selectOptions?: string[]) => DataValue;
|
|
1781
|
+
toIcon: typeof toIcon;
|
|
1827
1782
|
};
|
|
1828
1783
|
|
|
1829
1784
|
type TableColumnProps<T> = ColumnDef<T> & {
|
|
1830
|
-
filterType?:
|
|
1785
|
+
filterType?: DataType;
|
|
1831
1786
|
};
|
|
1832
1787
|
declare const TableColumn: <T>(props: TableColumnProps<T>) => react_jsx_runtime.JSX.Element;
|
|
1833
1788
|
|
|
@@ -1888,41 +1843,22 @@ type TableColumnDefinitionContextType<T> = {
|
|
|
1888
1843
|
declare const TableColumnDefinitionContext: react.Context<TableColumnDefinitionContextType<any>>;
|
|
1889
1844
|
declare const useTableColumnDefinitionContext: <T>() => TableColumnDefinitionContextType<T>;
|
|
1890
1845
|
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
type
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
declare const TextFilter: ({ filterValue, onFilterValueChange }: TextFilterProps) => react_jsx_runtime.JSX.Element;
|
|
1908
|
-
type NumberFilterProps = TableFilterBaseProps<NumberFilterValue>;
|
|
1909
|
-
declare const NumberFilter: ({ filterValue, onFilterValueChange }: NumberFilterProps) => react_jsx_runtime.JSX.Element;
|
|
1910
|
-
type DateFilterProps = TableFilterBaseProps<DateFilterValue>;
|
|
1911
|
-
declare const DateFilter: ({ filterValue, onFilterValueChange }: DateFilterProps) => react_jsx_runtime.JSX.Element;
|
|
1912
|
-
type DatetimeFilterProps = TableFilterBaseProps<DatetimeFilterValue>;
|
|
1913
|
-
declare const DatetimeFilter: ({ filterValue, onFilterValueChange }: DatetimeFilterProps) => react_jsx_runtime.JSX.Element;
|
|
1914
|
-
type BooleanFilterProps = TableFilterBaseProps<BooleanFilterValue>;
|
|
1915
|
-
declare const BooleanFilter: ({ filterValue, onFilterValueChange }: BooleanFilterProps) => react_jsx_runtime.JSX.Element;
|
|
1916
|
-
type TagsFilterProps = TableFilterBaseProps<TagsFilterValue>;
|
|
1917
|
-
declare const TagsFilter: ({ columnId, filterValue, onFilterValueChange }: TagsFilterProps) => react_jsx_runtime.JSX.Element;
|
|
1918
|
-
type TagsSingleFilterProps = TableFilterBaseProps<TagsSingleFilterValue>;
|
|
1919
|
-
declare const TagsSingleFilter: ({ columnId, filterValue, onFilterValueChange }: TagsSingleFilterProps) => react_jsx_runtime.JSX.Element;
|
|
1920
|
-
type GenericFilterProps = TableFilterBaseProps<GenericFilterValue>;
|
|
1921
|
-
declare const GenericFilter: ({ filterValue, onFilterValueChange }: GenericFilterProps) => react_jsx_runtime.JSX.Element;
|
|
1922
|
-
interface TableFilterContentProps extends TableFilterBaseProps<TableFilterValue> {
|
|
1923
|
-
filterType: TableFilterCategory;
|
|
1924
|
-
}
|
|
1925
|
-
declare const TableFilterContent: ({ filterType, ...props }: TableFilterContentProps) => react_jsx_runtime.JSX.Element;
|
|
1846
|
+
declare const TableFilter: {
|
|
1847
|
+
text: FilterFn<unknown>;
|
|
1848
|
+
number: FilterFn<unknown>;
|
|
1849
|
+
date: FilterFn<unknown>;
|
|
1850
|
+
dateTime: FilterFn<unknown>;
|
|
1851
|
+
boolean: FilterFn<unknown>;
|
|
1852
|
+
multiTags: FilterFn<unknown>;
|
|
1853
|
+
singleTag: FilterFn<unknown>;
|
|
1854
|
+
unknownType: FilterFn<unknown>;
|
|
1855
|
+
};
|
|
1856
|
+
|
|
1857
|
+
type TableFilterButtonProps = {
|
|
1858
|
+
filterType: DataType;
|
|
1859
|
+
header: Header<unknown, unknown>;
|
|
1860
|
+
};
|
|
1861
|
+
declare const TableFilterButton: ({ filterType, header, }: TableFilterButtonProps) => react_jsx_runtime.JSX.Element;
|
|
1926
1862
|
|
|
1927
1863
|
type SortingIndexDisplay = {
|
|
1928
1864
|
index: number;
|
|
@@ -1973,6 +1909,116 @@ type CheckboxProps = HTMLAttributes<HTMLDivElement> & Partial<FormFieldInteracti
|
|
|
1973
1909
|
*/
|
|
1974
1910
|
declare const Checkbox: ({ value: controlledValue, initialValue, indeterminate, required, invalid, disabled, readOnly, onValueChange, onEditComplete, size, alwaysShowCheckIcon, ...props }: CheckboxProps) => react_jsx_runtime.JSX.Element;
|
|
1975
1911
|
|
|
1912
|
+
type ComboboxInputProps = Omit<ComponentProps<typeof Input>, 'value'>;
|
|
1913
|
+
declare const ComboboxInput: react.ForwardRefExoticComponent<Omit<ComboboxInputProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
|
|
1914
|
+
|
|
1915
|
+
type ComboboxListProps = HTMLAttributes<HTMLUListElement>;
|
|
1916
|
+
declare const ComboboxList: react.ForwardRefExoticComponent<ComboboxListProps & react.RefAttributes<HTMLUListElement>>;
|
|
1917
|
+
|
|
1918
|
+
interface ComboboxProps<T = string> {
|
|
1919
|
+
children: ReactNode;
|
|
1920
|
+
onItemClick?: (value: T) => void;
|
|
1921
|
+
id?: string;
|
|
1922
|
+
searchQuery?: string;
|
|
1923
|
+
onSearchQueryChange?: (value: string) => void;
|
|
1924
|
+
initialSearchQuery?: string;
|
|
1925
|
+
inputProps?: ComboboxInputProps;
|
|
1926
|
+
listProps?: ComboboxListProps;
|
|
1927
|
+
}
|
|
1928
|
+
declare const Combobox: <T = string>(props: ComboboxProps<T> & React.RefAttributes<HTMLDivElement>) => JSX.Element;
|
|
1929
|
+
|
|
1930
|
+
interface ComboboxOptionType<T = string> {
|
|
1931
|
+
id: string;
|
|
1932
|
+
value: T;
|
|
1933
|
+
label?: string;
|
|
1934
|
+
display?: ReactNode;
|
|
1935
|
+
disabled?: boolean;
|
|
1936
|
+
ref: RefObject<HTMLElement>;
|
|
1937
|
+
}
|
|
1938
|
+
interface ComboboxContextIds {
|
|
1939
|
+
trigger: string;
|
|
1940
|
+
listbox: string;
|
|
1941
|
+
}
|
|
1942
|
+
interface ComboboxContextInternalState {
|
|
1943
|
+
highlightedId: string | null;
|
|
1944
|
+
}
|
|
1945
|
+
interface ComboboxContextComputedState<T> {
|
|
1946
|
+
options: ReadonlyArray<ComboboxOptionType<T>>;
|
|
1947
|
+
visibleOptionIds: ReadonlyArray<string>;
|
|
1948
|
+
idToOptionMap: Record<string, ComboboxOptionType<T>>;
|
|
1949
|
+
}
|
|
1950
|
+
interface ComboboxContextActions<T> {
|
|
1951
|
+
registerOption(option: ComboboxOptionType<T>): () => void;
|
|
1952
|
+
selectOption(id: string): void;
|
|
1953
|
+
highlightFirst(): void;
|
|
1954
|
+
highlightLast(): void;
|
|
1955
|
+
highlightNext(): void;
|
|
1956
|
+
highlightPrevious(): void;
|
|
1957
|
+
highlightItem(id: string): void;
|
|
1958
|
+
}
|
|
1959
|
+
interface ComboboxContextLayout {
|
|
1960
|
+
listRef: RefObject<HTMLUListElement | null>;
|
|
1961
|
+
registerList(ref: RefObject<HTMLUListElement | null>): () => void;
|
|
1962
|
+
}
|
|
1963
|
+
interface ComboboxContextSearch {
|
|
1964
|
+
searchQuery: string;
|
|
1965
|
+
setSearchQuery(query: string): void;
|
|
1966
|
+
}
|
|
1967
|
+
interface ComboboxContextConfig {
|
|
1968
|
+
ids: ComboboxContextIds;
|
|
1969
|
+
setIds: Dispatch<SetStateAction<ComboboxContextIds>>;
|
|
1970
|
+
}
|
|
1971
|
+
interface ComboboxContextType<T> extends ComboboxContextInternalState, ComboboxContextComputedState<T>, ComboboxContextActions<T> {
|
|
1972
|
+
config: ComboboxContextConfig;
|
|
1973
|
+
layout: ComboboxContextLayout;
|
|
1974
|
+
search: ComboboxContextSearch;
|
|
1975
|
+
}
|
|
1976
|
+
declare const ComboboxContext: react.Context<ComboboxContextType<unknown>>;
|
|
1977
|
+
declare function useComboboxContext<T = string>(): ComboboxContextType<T>;
|
|
1978
|
+
|
|
1979
|
+
interface ComboboxOptionProps<T = string> extends HTMLAttributes<HTMLLIElement> {
|
|
1980
|
+
value: T;
|
|
1981
|
+
label: string;
|
|
1982
|
+
disabled?: boolean;
|
|
1983
|
+
}
|
|
1984
|
+
declare const ComboboxOption: react.ForwardRefExoticComponent<ComboboxOptionProps<unknown> & react.RefAttributes<HTMLLIElement>>;
|
|
1985
|
+
|
|
1986
|
+
interface UseComboboxOption {
|
|
1987
|
+
id: string;
|
|
1988
|
+
label?: string;
|
|
1989
|
+
disabled?: boolean;
|
|
1990
|
+
}
|
|
1991
|
+
interface UseComboboxOptions {
|
|
1992
|
+
options: ReadonlyArray<UseComboboxOption>;
|
|
1993
|
+
searchQuery?: string;
|
|
1994
|
+
onSearchQueryChange?: (query: string) => void;
|
|
1995
|
+
initialSearchQuery?: string;
|
|
1996
|
+
}
|
|
1997
|
+
interface UseComboboxState {
|
|
1998
|
+
searchQuery: string;
|
|
1999
|
+
highlightedId: string | null;
|
|
2000
|
+
}
|
|
2001
|
+
interface UseComboboxComputedState {
|
|
2002
|
+
visibleOptionIds: ReadonlyArray<string>;
|
|
2003
|
+
}
|
|
2004
|
+
interface UseComboboxActions {
|
|
2005
|
+
setSearchQuery: (query: string) => void;
|
|
2006
|
+
highlightFirst: () => void;
|
|
2007
|
+
highlightLast: () => void;
|
|
2008
|
+
highlightNext: () => void;
|
|
2009
|
+
highlightPrevious: () => void;
|
|
2010
|
+
highlightItem: (id: string) => void;
|
|
2011
|
+
}
|
|
2012
|
+
interface UseComboboxReturn extends UseComboboxState, UseComboboxComputedState, UseComboboxActions {
|
|
2013
|
+
}
|
|
2014
|
+
declare function useCombobox({ options, searchQuery: controlledSearchQuery, onSearchQueryChange, initialSearchQuery, }: UseComboboxOptions): UseComboboxReturn;
|
|
2015
|
+
|
|
2016
|
+
interface ComboboxRootProps<T = string> extends Omit<UseComboboxOptions, 'options'> {
|
|
2017
|
+
children: ReactNode;
|
|
2018
|
+
onItemClick?: (value: T) => void;
|
|
2019
|
+
}
|
|
2020
|
+
declare function ComboboxRoot<T = string>({ children, onItemClick, ...hookProps }: ComboboxRootProps<T>): react_jsx_runtime.JSX.Element;
|
|
2021
|
+
|
|
1976
2022
|
interface CopyToClipboardWrapperProps extends Omit<TooltipProps, 'tooltip'> {
|
|
1977
2023
|
textToCopy: string;
|
|
1978
2024
|
}
|
|
@@ -2003,6 +2049,177 @@ interface MenuProps extends Omit<PopUpProps, 'children' | 'anchor'> {
|
|
|
2003
2049
|
*/
|
|
2004
2050
|
declare const Menu: ({ trigger, children, disabled, ...props }: MenuProps) => react_jsx_runtime.JSX.Element;
|
|
2005
2051
|
|
|
2052
|
+
interface UseMultiSelectOption {
|
|
2053
|
+
id: string;
|
|
2054
|
+
label?: string;
|
|
2055
|
+
disabled?: boolean;
|
|
2056
|
+
}
|
|
2057
|
+
interface UseMultiSelectOptions {
|
|
2058
|
+
options: ReadonlyArray<UseMultiSelectOption>;
|
|
2059
|
+
value?: ReadonlyArray<string>;
|
|
2060
|
+
onValueChange?: (value: string[]) => void;
|
|
2061
|
+
onEditComplete?: (value: string[]) => void;
|
|
2062
|
+
initialValue?: string[];
|
|
2063
|
+
initialIsOpen?: boolean;
|
|
2064
|
+
onClose?: () => void;
|
|
2065
|
+
typeAheadResetMs?: number;
|
|
2066
|
+
}
|
|
2067
|
+
type UseMultiSelectFirstHighlightBehavior = 'first' | 'last';
|
|
2068
|
+
interface UseMultiSelectState {
|
|
2069
|
+
value: string[];
|
|
2070
|
+
highlightedId: string | null;
|
|
2071
|
+
isOpen: boolean;
|
|
2072
|
+
searchQuery: string;
|
|
2073
|
+
options: ReadonlyArray<UseMultiSelectOption>;
|
|
2074
|
+
}
|
|
2075
|
+
interface UseMultiSelectComputedState {
|
|
2076
|
+
visibleOptionIds: ReadonlyArray<string>;
|
|
2077
|
+
}
|
|
2078
|
+
interface UseMultiSelectActions {
|
|
2079
|
+
setIsOpen: (isOpen: boolean, behavior?: UseMultiSelectFirstHighlightBehavior) => void;
|
|
2080
|
+
toggleOpen: (behavior?: UseMultiSelectFirstHighlightBehavior) => void;
|
|
2081
|
+
setSearchQuery: (query: string) => void;
|
|
2082
|
+
highlightFirst: () => void;
|
|
2083
|
+
highlightLast: () => void;
|
|
2084
|
+
highlightNext: () => void;
|
|
2085
|
+
highlightPrevious: () => void;
|
|
2086
|
+
highlightItem: (id: string) => void;
|
|
2087
|
+
toggleSelection: (id: string, isSelected?: boolean) => void;
|
|
2088
|
+
setSelection: (ids: string[]) => void;
|
|
2089
|
+
isSelected: (id: string) => boolean;
|
|
2090
|
+
handleTypeaheadKey: (key: string) => void;
|
|
2091
|
+
}
|
|
2092
|
+
interface UseMultiSelectReturn extends UseMultiSelectState, UseMultiSelectComputedState, UseMultiSelectActions {
|
|
2093
|
+
}
|
|
2094
|
+
declare function useMultiSelect({ options, value: controlledValue, onValueChange, onEditComplete, initialValue, onClose, initialIsOpen, typeAheadResetMs, }: UseMultiSelectOptions): UseMultiSelectReturn;
|
|
2095
|
+
|
|
2096
|
+
interface MultiSelectOptionType<T = string> {
|
|
2097
|
+
id: string;
|
|
2098
|
+
value: T;
|
|
2099
|
+
label?: string;
|
|
2100
|
+
display?: ReactNode;
|
|
2101
|
+
disabled?: boolean;
|
|
2102
|
+
ref: RefObject<HTMLElement>;
|
|
2103
|
+
}
|
|
2104
|
+
interface MultiSelectContextIds {
|
|
2105
|
+
trigger: string;
|
|
2106
|
+
content: string;
|
|
2107
|
+
listbox: string;
|
|
2108
|
+
searchInput: string;
|
|
2109
|
+
}
|
|
2110
|
+
interface MultiSelectContextState<T> extends FormFieldInteractionStates {
|
|
2111
|
+
value: T[];
|
|
2112
|
+
options: ReadonlyArray<MultiSelectOptionType<T>>;
|
|
2113
|
+
selectedIds: string[];
|
|
2114
|
+
highlightedId: string | null;
|
|
2115
|
+
isOpen: boolean;
|
|
2116
|
+
}
|
|
2117
|
+
interface MultiSelectContextComputedState<T> {
|
|
2118
|
+
visibleOptionIds: ReadonlyArray<string>;
|
|
2119
|
+
idToOptionMap: Record<string, MultiSelectOptionType<T>>;
|
|
2120
|
+
}
|
|
2121
|
+
interface MultiSelectContextActions<T> {
|
|
2122
|
+
registerOption(option: MultiSelectOptionType<T>): () => void;
|
|
2123
|
+
toggleSelection(id: string, isSelected?: boolean): void;
|
|
2124
|
+
highlightFirst(): void;
|
|
2125
|
+
highlightLast(): void;
|
|
2126
|
+
highlightNext(): void;
|
|
2127
|
+
highlightPrevious(): void;
|
|
2128
|
+
highlightItem(id: string): void;
|
|
2129
|
+
handleTypeaheadKey(key: string): void;
|
|
2130
|
+
setIsOpen(open: boolean, behavior?: UseMultiSelectFirstHighlightBehavior): void;
|
|
2131
|
+
toggleIsOpen(behavior?: UseMultiSelectFirstHighlightBehavior): void;
|
|
2132
|
+
}
|
|
2133
|
+
interface MultiSelectContextLayout {
|
|
2134
|
+
triggerRef: RefObject<HTMLElement>;
|
|
2135
|
+
registerTrigger(element: RefObject<HTMLElement>): () => void;
|
|
2136
|
+
}
|
|
2137
|
+
interface MultiSelectContextSearch {
|
|
2138
|
+
hasSearch: boolean;
|
|
2139
|
+
searchQuery?: string;
|
|
2140
|
+
setSearchQuery(query: string): void;
|
|
2141
|
+
}
|
|
2142
|
+
type MultiSelectIconAppearance = 'left' | 'right' | 'none';
|
|
2143
|
+
interface MultiSelectContextConfig {
|
|
2144
|
+
iconAppearance: MultiSelectIconAppearance;
|
|
2145
|
+
ids: MultiSelectContextIds;
|
|
2146
|
+
setIds: Dispatch<SetStateAction<MultiSelectContextIds>>;
|
|
2147
|
+
}
|
|
2148
|
+
interface MultiSelectContextType<T> extends MultiSelectContextActions<T>, MultiSelectContextState<T>, MultiSelectContextComputedState<T> {
|
|
2149
|
+
config: MultiSelectContextConfig;
|
|
2150
|
+
layout: MultiSelectContextLayout;
|
|
2151
|
+
search: MultiSelectContextSearch;
|
|
2152
|
+
}
|
|
2153
|
+
declare const MultiSelectContext: react.Context<MultiSelectContextType<unknown>>;
|
|
2154
|
+
declare function useMultiSelectContext<T>(): MultiSelectContextType<T>;
|
|
2155
|
+
|
|
2156
|
+
interface MultiSelectIds {
|
|
2157
|
+
trigger: string;
|
|
2158
|
+
content: string;
|
|
2159
|
+
listbox: string;
|
|
2160
|
+
searchInput: string;
|
|
2161
|
+
}
|
|
2162
|
+
interface MultiSelectRootProps<T> extends Partial<FormFieldDataHandling<T[]>>, Partial<FormFieldInteractionStates> {
|
|
2163
|
+
initialValue?: T[];
|
|
2164
|
+
compareFunction?: (a: T, b: T) => boolean;
|
|
2165
|
+
initialIsOpen?: boolean;
|
|
2166
|
+
onClose?: () => void;
|
|
2167
|
+
showSearch?: boolean;
|
|
2168
|
+
iconAppearance?: MultiSelectIconAppearance;
|
|
2169
|
+
children: ReactNode;
|
|
2170
|
+
}
|
|
2171
|
+
declare function MultiSelectRoot<T>({ children, value, onValueChange, onEditComplete, initialValue, compareFunction, initialIsOpen, onClose, showSearch, iconAppearance, invalid, disabled, readOnly, required, }: MultiSelectRootProps<T>): react_jsx_runtime.JSX.Element;
|
|
2172
|
+
|
|
2173
|
+
interface MultiSelectButtonProps<T = string> extends ComponentPropsWithoutRef<'div'> {
|
|
2174
|
+
placeholder?: ReactNode;
|
|
2175
|
+
disabled?: boolean;
|
|
2176
|
+
selectedDisplay?: (values: T[]) => ReactNode;
|
|
2177
|
+
hideExpansionIcon?: boolean;
|
|
2178
|
+
}
|
|
2179
|
+
declare const MultiSelectButton: react.ForwardRefExoticComponent<MultiSelectButtonProps<unknown> & react.RefAttributes<HTMLDivElement>>;
|
|
2180
|
+
|
|
2181
|
+
interface MultiSelectContentProps extends PopUpProps {
|
|
2182
|
+
showSearch?: boolean;
|
|
2183
|
+
searchInputProps?: Omit<ComponentProps<typeof Input>, 'value' | 'onValueChange'>;
|
|
2184
|
+
}
|
|
2185
|
+
declare const MultiSelectContent: react.ForwardRefExoticComponent<MultiSelectContentProps & react.RefAttributes<HTMLUListElement>>;
|
|
2186
|
+
|
|
2187
|
+
interface MultiSelectProps<T = string> extends MultiSelectRootProps<T> {
|
|
2188
|
+
contentPanelProps?: MultiSelectContentProps;
|
|
2189
|
+
buttonProps?: MultiSelectButtonProps<T>;
|
|
2190
|
+
}
|
|
2191
|
+
declare const MultiSelect: <T = string>(props: MultiSelectProps<T> & {
|
|
2192
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
2193
|
+
}) => React.ReactElement;
|
|
2194
|
+
|
|
2195
|
+
type MultiSelectChipDisplayButtonProps = HTMLAttributes<HTMLDivElement> & {
|
|
2196
|
+
disabled?: boolean;
|
|
2197
|
+
placeholder?: ReactNode;
|
|
2198
|
+
};
|
|
2199
|
+
declare const MultiSelectChipDisplayButton: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
2200
|
+
disabled?: boolean;
|
|
2201
|
+
placeholder?: ReactNode;
|
|
2202
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
2203
|
+
type MultiSelectChipDisplayProps<T = string> = MultiSelectRootProps<T> & {
|
|
2204
|
+
contentPanelProps?: MultiSelectContentProps;
|
|
2205
|
+
chipDisplayProps?: MultiSelectChipDisplayButtonProps;
|
|
2206
|
+
};
|
|
2207
|
+
declare const MultiSelectChipDisplay: react.ForwardRefExoticComponent<MultiSelectRootProps<unknown> & {
|
|
2208
|
+
contentPanelProps?: MultiSelectContentProps;
|
|
2209
|
+
chipDisplayProps?: MultiSelectChipDisplayButtonProps;
|
|
2210
|
+
} & react.RefAttributes<HTMLDivElement>>;
|
|
2211
|
+
|
|
2212
|
+
type MultiSelectOptionDisplayLocation = 'trigger' | 'list';
|
|
2213
|
+
declare const MultiSelectOptionDisplayContext: react.Context<MultiSelectOptionDisplayLocation>;
|
|
2214
|
+
declare function useMultiSelectOptionDisplayLocation(): MultiSelectOptionDisplayLocation;
|
|
2215
|
+
interface MultiSelectOptionProps<T = string> extends HTMLAttributes<HTMLLIElement> {
|
|
2216
|
+
value: T;
|
|
2217
|
+
label: string;
|
|
2218
|
+
disabled?: boolean;
|
|
2219
|
+
iconAppearance?: MultiSelectIconAppearance;
|
|
2220
|
+
}
|
|
2221
|
+
declare const MultiSelectOption: react.ForwardRefExoticComponent<MultiSelectOptionProps<unknown> & react.RefAttributes<HTMLLIElement>>;
|
|
2222
|
+
|
|
2006
2223
|
type ScrollPickerProps<T> = {
|
|
2007
2224
|
options: T[];
|
|
2008
2225
|
mapping: (value: T) => string;
|
|
@@ -2015,6 +2232,17 @@ type ScrollPickerProps<T> = {
|
|
|
2015
2232
|
*/
|
|
2016
2233
|
declare const ScrollPicker: <T>({ options, mapping, selected, onChange, disabled, }: ScrollPickerProps<T>) => react_jsx_runtime.JSX.Element;
|
|
2017
2234
|
|
|
2235
|
+
type SelectOptionDisplayLocation = 'trigger' | 'list';
|
|
2236
|
+
declare const SelectOptionDisplayContext: react.Context<SelectOptionDisplayLocation>;
|
|
2237
|
+
declare function useSelectOptionDisplayLocation(): SelectOptionDisplayLocation;
|
|
2238
|
+
interface SelectOptionProps<T = string> extends HTMLAttributes<HTMLLIElement> {
|
|
2239
|
+
value: T;
|
|
2240
|
+
label: string;
|
|
2241
|
+
disabled?: boolean;
|
|
2242
|
+
iconAppearance?: SelectIconAppearance;
|
|
2243
|
+
}
|
|
2244
|
+
declare const SelectOption: react.ForwardRefExoticComponent<SelectOptionProps<unknown> & react.RefAttributes<HTMLLIElement>>;
|
|
2245
|
+
|
|
2018
2246
|
type SwitchProps = HTMLAttributes<HTMLDivElement> & Partial<FormFieldInteractionStates> & Partial<FormFieldDataHandling<boolean>> & {
|
|
2019
2247
|
initialValue?: boolean;
|
|
2020
2248
|
};
|
|
@@ -2045,25 +2273,191 @@ type TextareaWithHeadlineProps = Omit<TextareaProps, 'defaultStyle'> & {
|
|
|
2045
2273
|
};
|
|
2046
2274
|
declare const TextareaWithHeadline: ({ id, headline, headlineProps, disabled, className, containerClassName, ...props }: TextareaWithHeadlineProps) => react_jsx_runtime.JSX.Element;
|
|
2047
2275
|
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2276
|
+
declare const filterOperators: readonly ["equals", "notEquals", "contains", "notContains", "startsWith", "endsWith", "greaterThan", "greaterThanOrEqual", "lessThan", "lessThanOrEqual", "between", "notBetween", "isTrue", "isFalse", "isUndefined", "isNotUndefined"];
|
|
2277
|
+
type FilterOperator = (typeof filterOperators)[number];
|
|
2278
|
+
declare const filterOperatorsByCategory: Record<DataType, FilterOperator[]>;
|
|
2279
|
+
type FilterOperatorUnknownType = (typeof filterOperatorsByCategory.unknownType)[number];
|
|
2280
|
+
type FilterOperatorText = (typeof filterOperatorsByCategory.text)[number];
|
|
2281
|
+
type FilterOperatorNumber = (typeof filterOperatorsByCategory.number)[number];
|
|
2282
|
+
type FilterOperatorDate = (typeof filterOperatorsByCategory.date)[number];
|
|
2283
|
+
type FilterOperatorDatetime = (typeof filterOperatorsByCategory.dateTime)[number];
|
|
2284
|
+
type FilterOperatorBoolean = (typeof filterOperatorsByCategory.boolean)[number];
|
|
2285
|
+
type FilterOperatorTags = (typeof filterOperatorsByCategory.multiTags)[number];
|
|
2286
|
+
type FilterOperatorTagsSingle = (typeof filterOperatorsByCategory.singleTag)[number];
|
|
2287
|
+
declare function isFilterOperatorText(value: unknown): value is FilterOperatorText;
|
|
2288
|
+
declare function isFilterOperatorNumber(value: unknown): value is FilterOperatorNumber;
|
|
2289
|
+
declare function isFilterOperatorDate(value: unknown): value is FilterOperatorDate;
|
|
2290
|
+
declare function isFilterOperatorDatetime(value: unknown): value is FilterOperatorDatetime;
|
|
2291
|
+
declare function isFilterOperatorBoolean(value: unknown): value is FilterOperatorBoolean;
|
|
2292
|
+
declare function isFilterOperatorTags(value: unknown): value is FilterOperatorTags;
|
|
2293
|
+
declare function isFilterOperatorTagsSingle(value: unknown): value is FilterOperatorTagsSingle;
|
|
2294
|
+
declare function isFilterOperatorUnknownType(value: unknown): value is FilterOperatorUnknownType;
|
|
2295
|
+
declare function isFilterOperator(value: unknown): value is FilterOperator;
|
|
2296
|
+
type OperatorInfoResult = {
|
|
2297
|
+
icon: ReactNode;
|
|
2298
|
+
translationKey: string;
|
|
2299
|
+
replacementTranslationKey: string;
|
|
2300
|
+
};
|
|
2301
|
+
declare function getDefaultOperator(dataType: DataType): FilterOperator;
|
|
2302
|
+
declare const FilterOperatorUtils: {
|
|
2303
|
+
operators: readonly ["equals", "notEquals", "contains", "notContains", "startsWith", "endsWith", "greaterThan", "greaterThanOrEqual", "lessThan", "lessThanOrEqual", "between", "notBetween", "isTrue", "isFalse", "isUndefined", "isNotUndefined"];
|
|
2304
|
+
operatorsByCategory: Record<"number" | "boolean" | "text" | "date" | "dateTime" | "multiTags" | "singleTag" | "unknownType", ("endsWith" | "startsWith" | "between" | "contains" | "equals" | "greaterThan" | "greaterThanOrEqual" | "isFalse" | "isNotUndefined" | "isTrue" | "isUndefined" | "lessThan" | "lessThanOrEqual" | "notBetween" | "notContains" | "notEquals")[]>;
|
|
2305
|
+
getInfo: (operator: FilterOperator) => OperatorInfoResult;
|
|
2306
|
+
getDefaultOperator: typeof getDefaultOperator;
|
|
2307
|
+
typeCheck: {
|
|
2308
|
+
all: typeof isFilterOperator;
|
|
2309
|
+
text: typeof isFilterOperatorText;
|
|
2310
|
+
number: typeof isFilterOperatorNumber;
|
|
2311
|
+
date: typeof isFilterOperatorDate;
|
|
2312
|
+
datetime: typeof isFilterOperatorDatetime;
|
|
2313
|
+
boolean: typeof isFilterOperatorBoolean;
|
|
2314
|
+
tags: typeof isFilterOperatorTags;
|
|
2315
|
+
tagsSingle: typeof isFilterOperatorTagsSingle;
|
|
2316
|
+
unknownType: typeof isFilterOperatorUnknownType;
|
|
2317
|
+
};
|
|
2056
2318
|
};
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2319
|
+
|
|
2320
|
+
type FilterParameter = {
|
|
2321
|
+
searchText?: string;
|
|
2322
|
+
isCaseSensitive?: boolean;
|
|
2323
|
+
compareValue?: number;
|
|
2324
|
+
minNumber?: number;
|
|
2325
|
+
maxNumber?: number;
|
|
2326
|
+
compareDate?: Date;
|
|
2327
|
+
minDate?: Date;
|
|
2328
|
+
maxDate?: Date;
|
|
2329
|
+
multiOptionSearch?: unknown[];
|
|
2330
|
+
singleOptionSearch?: unknown;
|
|
2331
|
+
};
|
|
2332
|
+
type FilterValue = {
|
|
2333
|
+
dataType: DataType;
|
|
2334
|
+
operator: FilterOperator;
|
|
2335
|
+
parameter: FilterParameter;
|
|
2336
|
+
};
|
|
2337
|
+
declare function isFilterValueValid(value: FilterValue): boolean;
|
|
2338
|
+
declare const FilterValueUtils: {
|
|
2339
|
+
allowedOperatorsByDataType: Record<"number" | "boolean" | "text" | "date" | "dateTime" | "multiTags" | "singleTag" | "unknownType", ("endsWith" | "startsWith" | "between" | "contains" | "equals" | "greaterThan" | "greaterThanOrEqual" | "isFalse" | "isNotUndefined" | "isTrue" | "isUndefined" | "lessThan" | "lessThanOrEqual" | "notBetween" | "notContains" | "notEquals")[]>;
|
|
2340
|
+
isValid: typeof isFilterValueValid;
|
|
2341
|
+
};
|
|
2342
|
+
declare const FilterFunctions: Record<DataType, (value: unknown, operator: FilterOperator, parameter: FilterParameter) => boolean>;
|
|
2343
|
+
type FilterValueTranslationOptions = {
|
|
2344
|
+
tags?: ReadonlyArray<{
|
|
2345
|
+
tag: string;
|
|
2346
|
+
label: string;
|
|
2347
|
+
}>;
|
|
2348
|
+
};
|
|
2349
|
+
declare function useFilterValueTranslation(): (value: FilterValue, options?: FilterValueTranslationOptions) => string;
|
|
2350
|
+
|
|
2351
|
+
interface IdentifierFilterValue extends FilterValue {
|
|
2352
|
+
id: string;
|
|
2353
|
+
}
|
|
2354
|
+
interface FilterListPopUpBuilderProps {
|
|
2355
|
+
value: FilterValue;
|
|
2356
|
+
onValueChange: (value: FilterValue) => void;
|
|
2357
|
+
onRemove: () => void;
|
|
2358
|
+
dataType: DataType;
|
|
2359
|
+
tags: ReadonlyArray<{
|
|
2360
|
+
tag: string;
|
|
2361
|
+
label: string;
|
|
2362
|
+
display?: ReactNode;
|
|
2363
|
+
}>;
|
|
2364
|
+
name: string;
|
|
2365
|
+
isOpen: boolean;
|
|
2366
|
+
close: () => void;
|
|
2367
|
+
}
|
|
2368
|
+
interface FilterListItem {
|
|
2369
|
+
id: string;
|
|
2370
|
+
label: string;
|
|
2371
|
+
dataType: DataType;
|
|
2372
|
+
tags: ReadonlyArray<{
|
|
2373
|
+
tag: string;
|
|
2374
|
+
label: string;
|
|
2375
|
+
display?: ReactNode;
|
|
2376
|
+
}>;
|
|
2377
|
+
popUpBuilder?: (props: FilterListPopUpBuilderProps) => ReactNode;
|
|
2378
|
+
}
|
|
2379
|
+
interface FilterListProps {
|
|
2380
|
+
value: IdentifierFilterValue[];
|
|
2381
|
+
onValueChange: (value: IdentifierFilterValue[]) => void;
|
|
2382
|
+
availableItems: FilterListItem[];
|
|
2383
|
+
}
|
|
2384
|
+
declare const FilterList: ({ value, onValueChange, availableItems }: FilterListProps) => react_jsx_runtime.JSX.Element;
|
|
2385
|
+
|
|
2386
|
+
type FilterOperatorLabelProps = {
|
|
2387
|
+
operator: FilterOperator;
|
|
2388
|
+
};
|
|
2389
|
+
declare const FilterOperatorLabel: ({ operator }: FilterOperatorLabelProps) => react_jsx_runtime.JSX.Element;
|
|
2390
|
+
|
|
2391
|
+
interface FilterPopUpProps extends PopUpProps {
|
|
2392
|
+
name?: ReactNode;
|
|
2393
|
+
value?: FilterValue;
|
|
2394
|
+
onValueChange: (value: FilterValue) => void;
|
|
2395
|
+
onRemove: () => void;
|
|
2396
|
+
}
|
|
2397
|
+
interface FilterPopUpBaseProps extends PopUpProps {
|
|
2398
|
+
/**
|
|
2399
|
+
* The name of the object/column the filter is applied to
|
|
2400
|
+
*/
|
|
2401
|
+
name?: ReactNode;
|
|
2402
|
+
operator: FilterOperator;
|
|
2403
|
+
onOperatorChange: (operator: FilterOperator) => void;
|
|
2404
|
+
onRemove: () => void;
|
|
2405
|
+
allowedOperators: FilterOperator[];
|
|
2406
|
+
hasValue: boolean;
|
|
2407
|
+
noParameterRequired?: boolean;
|
|
2408
|
+
}
|
|
2409
|
+
declare const FilterBasePopUp: react.ForwardRefExoticComponent<FilterPopUpBaseProps & react.RefAttributes<HTMLDivElement>>;
|
|
2410
|
+
declare const TextFilterPopUp: react.ForwardRefExoticComponent<FilterPopUpProps & react.RefAttributes<HTMLDivElement>>;
|
|
2411
|
+
declare const NumberFilterPopUp: react.ForwardRefExoticComponent<FilterPopUpProps & react.RefAttributes<HTMLDivElement>>;
|
|
2412
|
+
declare const DateFilterPopUp: react.ForwardRefExoticComponent<FilterPopUpProps & react.RefAttributes<HTMLDivElement>>;
|
|
2413
|
+
declare const DatetimeFilterPopUp: react.ForwardRefExoticComponent<FilterPopUpProps & react.RefAttributes<HTMLDivElement>>;
|
|
2414
|
+
declare const BooleanFilterPopUp: react.ForwardRefExoticComponent<FilterPopUpProps & react.RefAttributes<HTMLDivElement>>;
|
|
2415
|
+
interface TagsFilterPopUpProps extends FilterPopUpProps {
|
|
2416
|
+
tags: ReadonlyArray<{
|
|
2417
|
+
tag: string;
|
|
2418
|
+
label: string;
|
|
2419
|
+
display?: ReactNode;
|
|
2420
|
+
}>;
|
|
2421
|
+
}
|
|
2422
|
+
declare const TagsFilterPopUp: react.ForwardRefExoticComponent<TagsFilterPopUpProps & react.RefAttributes<HTMLDivElement>>;
|
|
2423
|
+
interface TagsSingleFilterPopUpProps extends FilterPopUpProps {
|
|
2424
|
+
tags: ReadonlyArray<{
|
|
2425
|
+
tag: string;
|
|
2426
|
+
label: string;
|
|
2427
|
+
display?: ReactNode;
|
|
2428
|
+
}>;
|
|
2429
|
+
}
|
|
2430
|
+
declare const TagsSingleFilterPopUp: react.ForwardRefExoticComponent<TagsSingleFilterPopUpProps & react.RefAttributes<HTMLDivElement>>;
|
|
2431
|
+
declare const GenericFilterPopUp: react.ForwardRefExoticComponent<FilterPopUpProps & react.RefAttributes<HTMLDivElement>>;
|
|
2432
|
+
interface DataTypeFilterPopUpProps extends FilterPopUpProps {
|
|
2433
|
+
dataType: DataType;
|
|
2434
|
+
tags: ReadonlyArray<{
|
|
2435
|
+
tag: string;
|
|
2436
|
+
label: string;
|
|
2437
|
+
display?: ReactNode;
|
|
2438
|
+
}>;
|
|
2439
|
+
}
|
|
2440
|
+
declare const FilterPopUp: react.ForwardRefExoticComponent<DataTypeFilterPopUpProps & react.RefAttributes<HTMLDivElement>>;
|
|
2441
|
+
|
|
2442
|
+
type DurationJSON = {
|
|
2443
|
+
years: number;
|
|
2444
|
+
months: number;
|
|
2445
|
+
days: number;
|
|
2446
|
+
hours: number;
|
|
2447
|
+
minutes: number;
|
|
2448
|
+
seconds: number;
|
|
2449
|
+
milliseconds: number;
|
|
2450
|
+
};
|
|
2451
|
+
declare class Duration {
|
|
2452
|
+
readonly years: number;
|
|
2453
|
+
readonly months: number;
|
|
2454
|
+
readonly days: number;
|
|
2455
|
+
readonly hours: number;
|
|
2456
|
+
readonly minutes: number;
|
|
2457
|
+
readonly seconds: number;
|
|
2458
|
+
readonly milliseconds: number;
|
|
2459
|
+
constructor({ years, months, days, hours, minutes, seconds, milliseconds, }?: Partial<DurationJSON>);
|
|
2460
|
+
/** Date arithmetic */
|
|
2067
2461
|
addTo(date: Date): Date;
|
|
2068
2462
|
subtractFrom(date: Date): Date;
|
|
2069
2463
|
/** Duration arithmetic */
|
|
@@ -2085,6 +2479,9 @@ declare const monthsList: readonly ["january", "february", "march", "april", "ma
|
|
|
2085
2479
|
type Month = typeof monthsList[number];
|
|
2086
2480
|
declare const weekDayList: readonly ["sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"];
|
|
2087
2481
|
type WeekDay = typeof weekDayList[number];
|
|
2482
|
+
declare function tryParseDate(dateValue: Date | string | number | undefined | null): Date | null;
|
|
2483
|
+
declare function normalizeToDateOnly(date: Date): Date;
|
|
2484
|
+
declare function normalizeDatetime(dateTime: Date): Date;
|
|
2088
2485
|
declare const DateUtils: {
|
|
2089
2486
|
monthsList: readonly ["january", "february", "march", "april", "may", "june", "july", "august", "september", "october", "november", "december"];
|
|
2090
2487
|
weekDayList: readonly ["sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday"];
|
|
@@ -2105,6 +2502,12 @@ declare const DateUtils: {
|
|
|
2105
2502
|
readonly yearImprecise: 31557600;
|
|
2106
2503
|
};
|
|
2107
2504
|
toInputString: (date: Date, format: DateTimeFormat, precision?: DateTimePrecision, isLocalTime?: boolean) => string;
|
|
2505
|
+
tryParseDate: typeof tryParseDate;
|
|
2506
|
+
toOnlyDate: typeof normalizeToDateOnly;
|
|
2507
|
+
/**
|
|
2508
|
+
* Normalizes a datetime by removing seconds and milliseconds.
|
|
2509
|
+
*/
|
|
2510
|
+
toDateTimeOnly: typeof normalizeDatetime;
|
|
2108
2511
|
};
|
|
2109
2512
|
|
|
2110
2513
|
type DayPickerProps = Partial<FormFieldDataHandling<Date>> & {
|
|
@@ -2144,266 +2547,6 @@ interface DatePickerProps extends Partial<FormFieldDataHandling<Date>>, Pick<Day
|
|
|
2144
2547
|
*/
|
|
2145
2548
|
declare const DatePicker: ({ value: controlledValue, initialValue, start, end, initialDisplay, weekStart, onValueChange, onEditComplete, yearMonthPickerProps, dayPickerProps, className }: DatePickerProps) => react_jsx_runtime.JSX.Element;
|
|
2146
2549
|
|
|
2147
|
-
type StorageSubscriber = (raw: string | null) => void;
|
|
2148
|
-
declare class StorageListener {
|
|
2149
|
-
private static instance;
|
|
2150
|
-
private localSubscriptions;
|
|
2151
|
-
private sessionSubscriptions;
|
|
2152
|
-
private initialized;
|
|
2153
|
-
private constructor();
|
|
2154
|
-
static getInstance(): StorageListener;
|
|
2155
|
-
subscribe(storage: Storage, key: string, cb: StorageSubscriber): () => void;
|
|
2156
|
-
private init;
|
|
2157
|
-
private handleEvent;
|
|
2158
|
-
private getRegistry;
|
|
2159
|
-
}
|
|
2160
|
-
|
|
2161
|
-
declare const equalSizeGroups: <T>(array: T[], groupSize: number) => T[][];
|
|
2162
|
-
type RangeOptions = {
|
|
2163
|
-
/** Whether the range can be defined empty via end < start without a warning */
|
|
2164
|
-
allowEmptyRange: boolean;
|
|
2165
|
-
stepSize: number;
|
|
2166
|
-
exclusiveStart: boolean;
|
|
2167
|
-
exclusiveEnd: boolean;
|
|
2168
|
-
};
|
|
2169
|
-
/**
|
|
2170
|
-
* @param endOrRange The end value or a range [start, end], end is exclusive
|
|
2171
|
-
* @param options the options for defining the range
|
|
2172
|
-
*/
|
|
2173
|
-
declare const range: (endOrRange: number | [number, number], options?: Partial<RangeOptions>) => number[];
|
|
2174
|
-
/** Finds the closest match
|
|
2175
|
-
* @param list The list of all possible matches
|
|
2176
|
-
* @param firstCloser Return whether item1 is closer than item2
|
|
2177
|
-
*/
|
|
2178
|
-
declare const closestMatch: <T>(list: T[], firstCloser: (item1: T, item2: T) => boolean) => T;
|
|
2179
|
-
/**
|
|
2180
|
-
* returns the item in middle of a list and its neighbours before and after
|
|
2181
|
-
* e.g. [1,2,3,4,5,6] for item = 1 would return [5,6,1,2,3]
|
|
2182
|
-
*/
|
|
2183
|
-
declare const getNeighbours: <T>(list: T[], item: T, neighbourDistance?: number) => T[];
|
|
2184
|
-
declare const createLoopingListWithIndex: <T>(list: T[], startIndex?: number, length?: number, forwards?: boolean) => [number, T][];
|
|
2185
|
-
declare const createLoopingList: <T>(list: T[], startIndex?: number, length?: number, forwards?: boolean) => T[];
|
|
2186
|
-
declare function resolveSingleOrArray<T>(value: T | T[]): T[];
|
|
2187
|
-
declare const ArrayUtil: {
|
|
2188
|
-
unique: <T>(list: T[]) => T[];
|
|
2189
|
-
difference: <T>(list: T[], removeList: T[]) => T[];
|
|
2190
|
-
moveItems: <T>(list: T[], move?: number) => any[];
|
|
2191
|
-
resolveSingleOrArray: typeof resolveSingleOrArray;
|
|
2192
|
-
};
|
|
2193
|
-
|
|
2194
|
-
type BagFunction<B, V = ReactNode> = (bag: B) => V;
|
|
2195
|
-
type BagFunctionOrValue<B, V> = BagFunction<B, V> | V;
|
|
2196
|
-
type BagFunctionOrNode<B> = BagFunction<B> | ReactNode;
|
|
2197
|
-
type PropsWithBagFunction<B, P = unknown> = P & {
|
|
2198
|
-
children?: BagFunction<B>;
|
|
2199
|
-
};
|
|
2200
|
-
type PropsWithBagFunctionOrChildren<B, P = unknown> = P & {
|
|
2201
|
-
children?: BagFunctionOrNode<B>;
|
|
2202
|
-
};
|
|
2203
|
-
declare const BagFunctionUtil: {
|
|
2204
|
-
resolve: <B, V = ReactNode>(bagFunctionOrValue: BagFunctionOrValue<B, V>, bag: B) => V;
|
|
2205
|
-
};
|
|
2206
|
-
|
|
2207
|
-
/**
|
|
2208
|
-
* A simple function that implements the builder pattern
|
|
2209
|
-
* @param value The value to update which gets return with the same reference
|
|
2210
|
-
* @param update The updates to apply on the object
|
|
2211
|
-
*/
|
|
2212
|
-
declare const builder: <T>(value: T, update: (value: T) => void) => T;
|
|
2213
|
-
|
|
2214
|
-
type EaseFunction = (t: number) => number;
|
|
2215
|
-
declare class EaseFunctions {
|
|
2216
|
-
static cubicBezierGeneric(x1: number, y1: number, x2: number, y2: number): {
|
|
2217
|
-
x: EaseFunction;
|
|
2218
|
-
y: EaseFunction;
|
|
2219
|
-
};
|
|
2220
|
-
static cubicBezier(x1: number, y1: number, x2: number, y2: number): EaseFunction;
|
|
2221
|
-
static easeInEaseOut(t: number): number;
|
|
2222
|
-
}
|
|
2223
|
-
|
|
2224
|
-
declare const validateEmail: (email: string) => boolean;
|
|
2225
|
-
|
|
2226
|
-
/**
|
|
2227
|
-
* Filters a text value based on the provided filter value.
|
|
2228
|
-
*/
|
|
2229
|
-
declare function filterText(value: unknown, filterValue: TextFilterValue): boolean;
|
|
2230
|
-
/**
|
|
2231
|
-
* Filters a number value based on the provided filter value.
|
|
2232
|
-
*/
|
|
2233
|
-
declare function filterNumber(value: unknown, filterValue: NumberFilterValue): boolean;
|
|
2234
|
-
/**
|
|
2235
|
-
* Filters a date value based on the provided filter value.
|
|
2236
|
-
* Only compares dates, ignoring time components.
|
|
2237
|
-
*/
|
|
2238
|
-
declare function filterDate(value: unknown, filterValue: DateFilterValue): boolean;
|
|
2239
|
-
/**
|
|
2240
|
-
* Filters a dateTime value based on the provided filter value.
|
|
2241
|
-
*/
|
|
2242
|
-
declare function filterDatetime(value: unknown, filterValue: DatetimeFilterValue): boolean;
|
|
2243
|
-
/**
|
|
2244
|
-
* Filters a boolean value based on the provided filter value.
|
|
2245
|
-
*/
|
|
2246
|
-
declare function filterBoolean(value: unknown, filterValue: BooleanFilterValue): boolean;
|
|
2247
|
-
/**
|
|
2248
|
-
* Filters a tags array value based on the provided filter value.
|
|
2249
|
-
*/
|
|
2250
|
-
declare function filterTags(value: unknown, filterValue: TagsFilterValue): boolean;
|
|
2251
|
-
/**
|
|
2252
|
-
* Filters a single tag value based on the provided filter value.
|
|
2253
|
-
*/
|
|
2254
|
-
declare function filterTagsSingle(value: unknown, filterValue: TagsSingleFilterValue): boolean;
|
|
2255
|
-
/**
|
|
2256
|
-
* Filters a generic value based on the provided filter value.
|
|
2257
|
-
*/
|
|
2258
|
-
declare function filterGeneric(value: unknown, filterValue: GenericFilterValue): boolean;
|
|
2259
|
-
|
|
2260
|
-
/**
|
|
2261
|
-
* 1 is forwards
|
|
2262
|
-
*
|
|
2263
|
-
* -1 is backwards
|
|
2264
|
-
*/
|
|
2265
|
-
type Direction = 1 | -1;
|
|
2266
|
-
declare class LoopingArrayCalculator {
|
|
2267
|
-
length: number;
|
|
2268
|
-
isLooping: boolean;
|
|
2269
|
-
allowedOverScroll: number;
|
|
2270
|
-
constructor(length: number, isLooping?: boolean, allowedOverScroll?: number);
|
|
2271
|
-
getCorrectedPosition(position: number): number;
|
|
2272
|
-
static withoutOffset(position: number): number;
|
|
2273
|
-
static getOffset(position: number): number;
|
|
2274
|
-
/**
|
|
2275
|
-
* @return absolute distance forwards or Infinity when the target cannot be reached (only possible when not isLooping)
|
|
2276
|
-
*/
|
|
2277
|
-
getDistanceDirectional(position: number, target: number, direction: Direction): number;
|
|
2278
|
-
getDistanceForward(position: number, target: number): number;
|
|
2279
|
-
getDistanceBackward(position: number, target: number): number;
|
|
2280
|
-
getDistance(position: number, target: number): number;
|
|
2281
|
-
getBestDirection(position: number, target: number): Direction;
|
|
2282
|
-
}
|
|
2283
|
-
|
|
2284
|
-
declare const match: <K extends string | number | symbol, V>(key: K, values: Record<K, V>) => Record<K, V>[K];
|
|
2285
|
-
|
|
2286
|
-
type Range = [number, number];
|
|
2287
|
-
type UnBoundedRange = [undefined | number, undefined | number];
|
|
2288
|
-
declare function clamp(value: number, min: number, max: number): number;
|
|
2289
|
-
declare function clamp(value: number, range?: [number, number]): number;
|
|
2290
|
-
declare const MathUtil: {
|
|
2291
|
-
clamp: typeof clamp;
|
|
2292
|
-
};
|
|
2293
|
-
|
|
2294
|
-
declare const noop: () => any;
|
|
2295
|
-
|
|
2296
|
-
declare function sleep(ms: number): Promise<void>;
|
|
2297
|
-
declare function delayed<T>(value: T, ms: number): Promise<T>;
|
|
2298
|
-
declare const PromiseUtils: {
|
|
2299
|
-
sleep: typeof sleep;
|
|
2300
|
-
delayed: typeof delayed;
|
|
2301
|
-
};
|
|
2302
|
-
|
|
2303
|
-
declare function bool(isActive: boolean): string | undefined;
|
|
2304
|
-
type InteractionStateDataAttributes = {
|
|
2305
|
-
'data-disabled': string | undefined;
|
|
2306
|
-
'data-invalid': string | undefined;
|
|
2307
|
-
'data-readonly': string | undefined;
|
|
2308
|
-
'data-required': string | undefined;
|
|
2309
|
-
};
|
|
2310
|
-
declare function interactionStatesData(interactionStates: Partial<FormFieldInteractionStates>): Partial<InteractionStateDataAttributes>;
|
|
2311
|
-
type MouseEventExtenderProps<T> = {
|
|
2312
|
-
fromProps?: react__default.MouseEventHandler<T>;
|
|
2313
|
-
extensions: SingleOrArray<react__default.MouseEventHandler<T>>;
|
|
2314
|
-
};
|
|
2315
|
-
declare function mouseEventExtender<T>({ fromProps, extensions }: MouseEventExtenderProps<T>): react__default.MouseEventHandler<T>;
|
|
2316
|
-
type KeyoardEventExtenderProps<T> = {
|
|
2317
|
-
fromProps: react__default.KeyboardEventHandler<T>;
|
|
2318
|
-
extensions: SingleOrArray<react__default.KeyboardEventHandler<T>>;
|
|
2319
|
-
};
|
|
2320
|
-
declare function keyboardEventExtender<T>({ fromProps, extensions, }: KeyoardEventExtenderProps<T>): react__default.KeyboardEventHandler<T>;
|
|
2321
|
-
declare function click<T>(onClick: () => void): {
|
|
2322
|
-
onClick: () => void;
|
|
2323
|
-
onKeyDown: react__default.KeyboardEventHandler<T>;
|
|
2324
|
-
};
|
|
2325
|
-
declare function close<T>(onClose?: () => void): react__default.KeyboardEventHandler<T>;
|
|
2326
|
-
type NavigateType<T> = {
|
|
2327
|
-
left?: (event: react__default.KeyboardEvent<T>) => void;
|
|
2328
|
-
right?: (event: react__default.KeyboardEvent<T>) => void;
|
|
2329
|
-
up?: (event: react__default.KeyboardEvent<T>) => void;
|
|
2330
|
-
down?: (event: react__default.KeyboardEvent<T>) => void;
|
|
2331
|
-
};
|
|
2332
|
-
declare function navigate<T>({ left, right, up, down, }: NavigateType<T>): react__default.KeyboardEventHandler<T>;
|
|
2333
|
-
declare function mergeProps<T extends object, U extends Partial<T>>(slotProps: T, childProps: U): T & U;
|
|
2334
|
-
type InteractionStateARIAAttributes = Pick<HTMLAttributes<HTMLDivElement>, 'aria-disabled' | 'aria-invalid' | 'aria-readonly' | 'aria-required'>;
|
|
2335
|
-
declare function interactionStatesAria(interactionStates: Partial<FormFieldInteractionStates>, props?: Partial<InteractionStateARIAAttributes>): Partial<InteractionStateARIAAttributes>;
|
|
2336
|
-
declare const PropsUtil: {
|
|
2337
|
-
extender: {
|
|
2338
|
-
mouseEvent: typeof mouseEventExtender;
|
|
2339
|
-
keyboardEvent: typeof keyboardEventExtender;
|
|
2340
|
-
};
|
|
2341
|
-
dataAttributes: {
|
|
2342
|
-
bool: typeof bool;
|
|
2343
|
-
interactionStates: typeof interactionStatesData;
|
|
2344
|
-
};
|
|
2345
|
-
aria: {
|
|
2346
|
-
close: typeof close;
|
|
2347
|
-
click: typeof click;
|
|
2348
|
-
navigate: typeof navigate;
|
|
2349
|
-
interactionStates: typeof interactionStatesAria;
|
|
2350
|
-
};
|
|
2351
|
-
mergeProps: typeof mergeProps;
|
|
2352
|
-
};
|
|
2353
|
-
|
|
2354
|
-
declare function resolveSetState<T>(action: SetStateAction<T>, prev: T): T;
|
|
2355
|
-
|
|
2356
|
-
/**
|
|
2357
|
-
* Finds all values matching the search values by first mapping the values to a string array and then checking each entry for matches.
|
|
2358
|
-
* Returns the list of all matches.
|
|
2359
|
-
*
|
|
2360
|
-
* @param search The list of search strings e.g. `[name, type]`
|
|
2361
|
-
*
|
|
2362
|
-
* @param objects The list of objects to be searched in
|
|
2363
|
-
*
|
|
2364
|
-
* @param mapping The mapping of objects to the string properties they fulfil
|
|
2365
|
-
*
|
|
2366
|
-
* @return The list of objects that match all search strings
|
|
2367
|
-
*/
|
|
2368
|
-
declare const MultiSubjectSearchWithMapping: <T>(search: string[], objects: T[], mapping: (value: T) => (string[] | undefined)) => T[];
|
|
2369
|
-
/**
|
|
2370
|
-
* Finds all values matching the search value by first mapping the values to a string array and then checking each entry for matches.
|
|
2371
|
-
* Returns the list of all matches.
|
|
2372
|
-
*
|
|
2373
|
-
* @param search The search string e.g `name`
|
|
2374
|
-
*
|
|
2375
|
-
* @param objects The list of objects to be searched in
|
|
2376
|
-
*
|
|
2377
|
-
* @param mapping The mapping of objects to the string properties they fulfil, if undefined it is always fulfilled
|
|
2378
|
-
*
|
|
2379
|
-
* @return The list of objects that match the search string
|
|
2380
|
-
*/
|
|
2381
|
-
declare const MultiSearchWithMapping: <T>(search: string, objects: T[], mapping: (value: T) => (string[] | undefined)) => T[];
|
|
2382
|
-
/**
|
|
2383
|
-
* Finds all values matching the search value by first mapping the values to a string and returns the list of all matches.
|
|
2384
|
-
*
|
|
2385
|
-
* @param search The search string e.g `name`
|
|
2386
|
-
*
|
|
2387
|
-
* @param objects The list of objects to be searched in
|
|
2388
|
-
*
|
|
2389
|
-
* @param mapping The mapping of objects to a string that is compared to the search
|
|
2390
|
-
*
|
|
2391
|
-
* @return The list of objects that match the search string
|
|
2392
|
-
*/
|
|
2393
|
-
declare const SimpleSearchWithMapping: <T>(search: string, objects: T[], mapping: (value: T) => string) => T[];
|
|
2394
|
-
/**
|
|
2395
|
-
* Finds all values matching the search value and returns the list of all matches.
|
|
2396
|
-
*
|
|
2397
|
-
* @param search The search string e.g `name`
|
|
2398
|
-
*
|
|
2399
|
-
* @param objects The list of objects to be searched in
|
|
2400
|
-
*
|
|
2401
|
-
* @return The list of objects that match the search string
|
|
2402
|
-
*/
|
|
2403
|
-
declare const SimpleSearch: (search: string, objects: string[]) => string[];
|
|
2404
|
-
|
|
2405
|
-
declare const writeToClipboard: (text: string) => Promise<void>;
|
|
2406
|
-
|
|
2407
2550
|
type TimePickerMinuteIncrement = '1min' | '5min' | '10min' | '15min' | '30min';
|
|
2408
2551
|
type TimePickerSecondIncrement = '1s' | '5s' | '10s' | '15s' | '30s';
|
|
2409
2552
|
type TimePickerMillisecondIncrement = '1ms' | '5ms' | '10ms' | '25ms' | '50ms' | '100ms' | '250ms' | '500ms';
|
|
@@ -2538,7 +2681,8 @@ type DatePropertyProps = PropertyField<Date> & {
|
|
|
2538
2681
|
*/
|
|
2539
2682
|
declare const DateProperty: ({ value, onValueChange, onEditComplete, readOnly, type, ...baseProps }: DatePropertyProps) => react_jsx_runtime.JSX.Element;
|
|
2540
2683
|
|
|
2541
|
-
|
|
2684
|
+
interface MultiSelectPropertyProps extends PropertyField<string[]>, PropsWithChildren {
|
|
2685
|
+
}
|
|
2542
2686
|
/**
|
|
2543
2687
|
* An Input for MultiSelect properties
|
|
2544
2688
|
*/
|
|
@@ -2552,7 +2696,8 @@ type NumberPropertyProps = PropertyField<number> & {
|
|
|
2552
2696
|
*/
|
|
2553
2697
|
declare const NumberProperty: ({ value, onValueChange, onEditComplete, onValueClear, readOnly, suffix, ...baseProps }: NumberPropertyProps) => react_jsx_runtime.JSX.Element;
|
|
2554
2698
|
|
|
2555
|
-
|
|
2699
|
+
interface SingleSelectPropertyProps extends PropertyField<string>, PropsWithChildren {
|
|
2700
|
+
}
|
|
2556
2701
|
/**
|
|
2557
2702
|
* An Input for SingleSelect properties
|
|
2558
2703
|
*/
|
|
@@ -2561,52 +2706,8 @@ declare const SingleSelectProperty: ({ children, value, onValueChange, onEditCom
|
|
|
2561
2706
|
type TextPropertyProps = PropertyField<string>;
|
|
2562
2707
|
/**
|
|
2563
2708
|
* An Input for Text properties
|
|
2564
|
-
*/
|
|
2565
|
-
declare const TextProperty: ({ value, readOnly, onValueChange, onEditComplete, ...baseProps }: TextPropertyProps) => react_jsx_runtime.JSX.Element;
|
|
2566
|
-
|
|
2567
|
-
type MultiSelectProps = MultiSelectRootProps & {
|
|
2568
|
-
contentPanelProps?: MultiSelectContentProps;
|
|
2569
|
-
buttonProps?: MultiSelectButtonProps;
|
|
2570
|
-
};
|
|
2571
|
-
declare const MultiSelect: react.ForwardRefExoticComponent<Partial<FormFieldInteractionStates> & {
|
|
2572
|
-
children?: react.ReactNode | undefined;
|
|
2573
|
-
} & {
|
|
2574
|
-
id?: string;
|
|
2575
|
-
initialIsOpen?: boolean;
|
|
2576
|
-
iconAppearance?: SelectIconAppearance;
|
|
2577
|
-
onClose?: () => void;
|
|
2578
|
-
} & Partial<FormFieldDataHandling<string[]>> & {
|
|
2579
|
-
initialValue?: string[];
|
|
2580
|
-
} & {
|
|
2581
|
-
contentPanelProps?: MultiSelectContentProps;
|
|
2582
|
-
buttonProps?: MultiSelectButtonProps;
|
|
2583
|
-
} & react.RefAttributes<HTMLButtonElement>>;
|
|
2584
|
-
|
|
2585
|
-
type MultiSelectChipDisplayButtonProps = HTMLAttributes<HTMLDivElement> & {
|
|
2586
|
-
disabled?: boolean;
|
|
2587
|
-
placeholder?: ReactNode;
|
|
2588
|
-
};
|
|
2589
|
-
declare const MultiSelectChipDisplayButton: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & {
|
|
2590
|
-
disabled?: boolean;
|
|
2591
|
-
placeholder?: ReactNode;
|
|
2592
|
-
} & react.RefAttributes<HTMLDivElement>>;
|
|
2593
|
-
type MultiSelectChipDisplayProps = MultiSelectRootProps & {
|
|
2594
|
-
contentPanelProps?: MultiSelectContentProps;
|
|
2595
|
-
chipDisplayProps?: MultiSelectChipDisplayButtonProps;
|
|
2596
|
-
};
|
|
2597
|
-
declare const MultiSelectChipDisplay: react.ForwardRefExoticComponent<Partial<FormFieldInteractionStates> & {
|
|
2598
|
-
children?: ReactNode | undefined;
|
|
2599
|
-
} & {
|
|
2600
|
-
id?: string;
|
|
2601
|
-
initialIsOpen?: boolean;
|
|
2602
|
-
iconAppearance?: SelectIconAppearance;
|
|
2603
|
-
onClose?: () => void;
|
|
2604
|
-
} & Partial<FormFieldDataHandling<string[]>> & {
|
|
2605
|
-
initialValue?: string[];
|
|
2606
|
-
} & {
|
|
2607
|
-
contentPanelProps?: MultiSelectContentProps;
|
|
2608
|
-
chipDisplayProps?: MultiSelectChipDisplayButtonProps;
|
|
2609
|
-
} & react.RefAttributes<HTMLDivElement>>;
|
|
2709
|
+
*/
|
|
2710
|
+
declare const TextProperty: ({ value, readOnly, onValueChange, onEditComplete, ...baseProps }: TextPropertyProps) => react_jsx_runtime.JSX.Element;
|
|
2610
2711
|
|
|
2611
2712
|
interface FocusTrapProps extends PropsWithChildren, UseFocusTrapProps {
|
|
2612
2713
|
}
|
|
@@ -2618,11 +2719,30 @@ interface FocusTrapWrapperProps extends HTMLAttributes<HTMLDivElement>, Omit<Foc
|
|
|
2618
2719
|
*/
|
|
2619
2720
|
declare const FocusTrapWrapper: react.ForwardRefExoticComponent<FocusTrapWrapperProps & react.RefAttributes<HTMLDivElement>>;
|
|
2620
2721
|
|
|
2722
|
+
interface PolymorphicSlotProps extends SlotProps {
|
|
2723
|
+
asChild?: boolean;
|
|
2724
|
+
defaultComponent?: ElementType;
|
|
2725
|
+
}
|
|
2726
|
+
declare const PolymorphicSlot: react.ForwardRefExoticComponent<PolymorphicSlotProps & react.RefAttributes<HTMLElement>>;
|
|
2727
|
+
|
|
2621
2728
|
interface PortalProps extends PropsWithChildren {
|
|
2622
2729
|
container?: HTMLElement;
|
|
2623
2730
|
}
|
|
2624
2731
|
declare const Portal: ({ children, container }: PortalProps) => react.ReactPortal;
|
|
2625
2732
|
|
|
2733
|
+
type BagFunction<B, V = ReactNode> = (bag: B) => V;
|
|
2734
|
+
type BagFunctionOrValue<B, V> = BagFunction<B, V> | V;
|
|
2735
|
+
type BagFunctionOrNode<B> = BagFunction<B> | ReactNode;
|
|
2736
|
+
type PropsWithBagFunction<B, P = unknown> = P & {
|
|
2737
|
+
children?: BagFunction<B>;
|
|
2738
|
+
};
|
|
2739
|
+
type PropsWithBagFunctionOrChildren<B, P = unknown> = P & {
|
|
2740
|
+
children?: BagFunctionOrNode<B>;
|
|
2741
|
+
};
|
|
2742
|
+
declare const BagFunctionUtil: {
|
|
2743
|
+
resolve: <B, V = ReactNode>(bagFunctionOrValue: BagFunctionOrValue<B, V>, bag: B) => V;
|
|
2744
|
+
};
|
|
2745
|
+
|
|
2626
2746
|
type TransitionBag = {
|
|
2627
2747
|
isOpen: boolean;
|
|
2628
2748
|
isTransitioning: boolean;
|
|
@@ -2707,6 +2827,22 @@ declare function useEventCallbackStabilizer<T extends (...args: any[]) => any>(c
|
|
|
2707
2827
|
type ElementHandle = Record<string, HTMLElement | null>;
|
|
2708
2828
|
declare function useHandleRefs<T extends ElementHandle>(handleRef: RefObject<T>): RefObject<HTMLElement | null>[];
|
|
2709
2829
|
|
|
2830
|
+
interface ListNavigationReturn {
|
|
2831
|
+
highlightedId: string | null;
|
|
2832
|
+
highlight: (id: string) => void;
|
|
2833
|
+
first: () => void;
|
|
2834
|
+
last: () => void;
|
|
2835
|
+
next: () => void;
|
|
2836
|
+
previous: () => void;
|
|
2837
|
+
}
|
|
2838
|
+
interface ListNavigationOptions {
|
|
2839
|
+
options: ReadonlyArray<string>;
|
|
2840
|
+
value?: string | null;
|
|
2841
|
+
onValueChange?: (highlightedId: string | null) => void;
|
|
2842
|
+
initialValue?: string | null;
|
|
2843
|
+
}
|
|
2844
|
+
declare function useListNavigation({ options, value, onValueChange, initialValue, }: ListNavigationOptions): ListNavigationReturn;
|
|
2845
|
+
|
|
2710
2846
|
type OptionsResolved = {
|
|
2711
2847
|
type?: 'info' | 'error' | 'warning';
|
|
2712
2848
|
};
|
|
@@ -2715,6 +2851,25 @@ declare const useLogOnce: (message: string, condition: boolean, options?: Option
|
|
|
2715
2851
|
|
|
2716
2852
|
declare function useLogUnstableDependencies<T extends Record<string, unknown>>(name: string, value: T): void;
|
|
2717
2853
|
|
|
2854
|
+
interface UseMultiSelectionOption {
|
|
2855
|
+
id: string;
|
|
2856
|
+
disabled?: boolean;
|
|
2857
|
+
}
|
|
2858
|
+
interface UseMultiSelectionOptions {
|
|
2859
|
+
options: ReadonlyArray<UseMultiSelectionOption>;
|
|
2860
|
+
value?: ReadonlyArray<string>;
|
|
2861
|
+
onSelectionChange?: (selection: ReadonlyArray<string>) => void;
|
|
2862
|
+
initialSelection?: ReadonlyArray<string>;
|
|
2863
|
+
isControlled?: boolean;
|
|
2864
|
+
}
|
|
2865
|
+
interface UseMultiSelectionReturn {
|
|
2866
|
+
selection: ReadonlyArray<string>;
|
|
2867
|
+
setSelection: (selection: ReadonlyArray<string>) => void;
|
|
2868
|
+
toggleSelection: (id: string) => void;
|
|
2869
|
+
isSelected: (id: string) => boolean;
|
|
2870
|
+
}
|
|
2871
|
+
declare function useMultiSelection({ options: optionsList, value, onSelectionChange, initialSelection, isControlled, }: UseMultiSelectionOptions): UseMultiSelectionReturn;
|
|
2872
|
+
|
|
2718
2873
|
type OverlayItem = {
|
|
2719
2874
|
id: string;
|
|
2720
2875
|
tags?: string[];
|
|
@@ -2792,24 +2947,38 @@ type UseScrollObserverProps = {
|
|
|
2792
2947
|
};
|
|
2793
2948
|
declare function useScrollObserver({ observedElementRef, onScroll, isActive }: UseScrollObserverProps): void;
|
|
2794
2949
|
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2950
|
+
interface UseSearchOptions<T> {
|
|
2951
|
+
items: ReadonlyArray<T>;
|
|
2952
|
+
searchQuery: string;
|
|
2953
|
+
toTags?: (value: T) => string[];
|
|
2954
|
+
}
|
|
2955
|
+
interface UseSearchReturn<T> {
|
|
2956
|
+
searchResult: ReadonlyArray<T>;
|
|
2957
|
+
}
|
|
2958
|
+
declare function useSearch<T>({ items, searchQuery, toTags, }: UseSearchOptions<T>): UseSearchReturn<T>;
|
|
2959
|
+
|
|
2960
|
+
interface SelectionOption {
|
|
2961
|
+
id: string;
|
|
2803
2962
|
disabled?: boolean;
|
|
2804
|
-
}
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2963
|
+
}
|
|
2964
|
+
interface UseSingleSelectionOptions {
|
|
2965
|
+
options: ReadonlyArray<SelectionOption>;
|
|
2966
|
+
selection?: string | null;
|
|
2967
|
+
onSelectionChange?: (selection: string | null) => void;
|
|
2968
|
+
initialSelection?: string | null;
|
|
2969
|
+
isLooping?: boolean;
|
|
2970
|
+
}
|
|
2971
|
+
interface SingleSelectionReturn {
|
|
2972
|
+
selection: string | null;
|
|
2973
|
+
selectedIndex: number | null;
|
|
2974
|
+
selectByIndex: (index: number) => void;
|
|
2975
|
+
selectValue: (value: string | null) => void;
|
|
2976
|
+
selectFirst: () => void;
|
|
2977
|
+
selectLast: () => void;
|
|
2978
|
+
selectNext: () => void;
|
|
2979
|
+
selectPrevious: () => void;
|
|
2980
|
+
}
|
|
2981
|
+
declare function useSingleSelection({ options: optionsList, selection: controlledSelection, onSelectionChange, initialSelection, isLooping, }: UseSingleSelectionOptions): SingleSelectionReturn;
|
|
2813
2982
|
|
|
2814
2983
|
interface UseStorageProps<T> {
|
|
2815
2984
|
key: string;
|
|
@@ -2840,6 +3009,18 @@ type UseTransitionStateProps = {
|
|
|
2840
3009
|
};
|
|
2841
3010
|
declare const useTransitionState: ({ isOpen, initialState, ref, timeout: initialTimeout, }: UseTransitionStateProps) => UseTransitionStateResult;
|
|
2842
3011
|
|
|
3012
|
+
interface UseTypeAheadSearchOptions<T> {
|
|
3013
|
+
options: ReadonlyArray<T>;
|
|
3014
|
+
resetTimer: number;
|
|
3015
|
+
toString?: (value: T) => string;
|
|
3016
|
+
onResultChange: (value: T | null) => void;
|
|
3017
|
+
}
|
|
3018
|
+
interface UseTypeAheadSearchReturn {
|
|
3019
|
+
addToTypeAhead: (str: string) => void;
|
|
3020
|
+
reset: () => void;
|
|
3021
|
+
}
|
|
3022
|
+
declare function useTypeAheadSearch<T>({ options, resetTimer, toString: toStringProp, onResultChange, }: UseTypeAheadSearchOptions<T>): UseTypeAheadSearchReturn;
|
|
3023
|
+
|
|
2843
3024
|
interface UseUpdatingDateStringProps {
|
|
2844
3025
|
date: Date;
|
|
2845
3026
|
absoluteFormat?: DateTimeFormat;
|
|
@@ -2891,4 +3072,222 @@ declare const LocalizationUtil: {
|
|
|
2891
3072
|
languagesLocalNames: Record<"de-DE" | "en-US", string>;
|
|
2892
3073
|
};
|
|
2893
3074
|
|
|
2894
|
-
export { ASTNodeInterpreter, type ASTNodeInterpreterProps, AnchoredFloatingContainer, type AnchoredFloatingContainerProps, ArrayUtil, AutoColumnOrderFeature, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, type BackgroundOverlayProps, type BagFunction, type BagFunctionOrNode, type BagFunctionOrValue, BagFunctionUtil, BooleanFilter, type BooleanFilterParameter, type BooleanFilterProps, type BooleanFilterValue, BreadCrumbGroup, BreadCrumbLink, type BreadCrumbLinkProps, type BreadCrumbProps, BreadCrumbs, Button, type ButtonColor, type ButtonProps, ButtonUtil, Carousel, type CarouselProps, CarouselSlide, type CarouselSlideProps, Checkbox, CheckboxProperty, type CheckboxPropertyProps, type CheckboxProps, Chip, type ChipColor, ChipList, type ChipListProps, type ChipProps, ChipUtil, type ColumnSizeCalculatoProps, ColumnSizeUtil, ColumnSizingWithTargetFeature, ConfirmDialog, type ConfirmDialogProps, type ConfirmDialogType, type ControlledStateProps, CopyToClipboardWrapper, type CopyToClipboardWrapperProps, type Crumb, DateFilter, type DateFilterParameter, type DateFilterProps, type DateFilterValue, DatePicker, type DatePickerProps, DateProperty, type DatePropertyProps, DateTimeFormat, DateTimeInput, type DateTimeInputProps, DateTimePicker, DateTimePickerDialog, type DateTimePickerDialogProps, type DateTimePickerProps, type DateTimePrecision, DateUtils, DatetimeFilter, type DatetimeFilterParameter, type DatetimeFilterProps, type DatetimeFilterValue, DayPicker, type DayPickerProps, type DeepPartial, Dialog, DialogContext, type DialogContextType, type DialogOpenerPassingProps, DialogOpenerWrapper, type DialogOpenerWrapperBag, type DialogOpenerWrapperProps, type DialogPosition, type DialogProps, DialogRoot, type DialogRootProps, type Direction, DiscardChangesDialog, DividerInserter, type DividerInserterProps, Drawer, type DrawerAligment, DrawerCloseButton, type DrawerCloseButtonProps, DrawerContent, type DrawerContentProps, DrawerContext, type DrawerContextType, type DrawerProps, DrawerRoot, type DrawerRootProps, Duration, type DurationJSON, type EaseFunction, EaseFunctions, type EditCompleteOptions, type EditCompleteOptionsResolved, type ElementHandle, ErrorComponent, type ErrorComponentProps, type Exact, Expandable, ExpandableContent, type ExpandableContentProps, ExpandableHeader, type ExpandableHeaderProps, type ExpandableProps, ExpandableRoot, type ExpandableRootProps, ExpansionIcon, type ExpansionIconProps, type FAQItem, FAQSection, type FAQSectionProps, FillerCell, type FillerCellProps, type FloatingElementAlignment, FocusTrap, type FocusTrapProps, FocusTrapWrapper, type FocusTrapWrapperProps, FormContext, type FormContextType, type FormEvent, type FormEventListener, FormField, type FormFieldAriaAttributes, type FormFieldBag, type FormFieldDataHandling, type FormFieldFocusableElementProps, type FormFieldInteractionStates, FormFieldLayout, type FormFieldLayoutBag, type FormFieldLayoutIds, type FormFieldLayoutProps, type FormFieldProps, type FormFieldResult, FormObserver, FormObserverKey, type FormObserverKeyProps, type FormObserverKeyResult, type FormObserverProps, type FormObserverResult, FormProvider, type FormProviderProps, FormStore, type FormStoreProps, type FormValidationBehaviour, type FormValidator, type FormValue, GenericFilter, type GenericFilterParameter, type GenericFilterProps, type GenericFilterValue, HelpwaveBadge, type HelpwaveBadgeProps, HelpwaveLogo, type HelpwaveProps, type HighlightStartPositionBehavior, type HightideConfig, HightideConfigContext, HightideConfigProvider, type HightideConfigProviderProps, HightideProvider, type HightideTranslationEntries, type HightideTranslationLocales, IconButton, IconButtonBase, type IconButtonBaseProps, type IconButtonProps, InfiniteScroll, type InfiniteScrollProps, Input, InputDialog, type InputModalProps, type InputProps, InsideLabelInput, LanguageDialog, LanguageSelect, ListBox, ListBoxItem, type ListBoxItemProps, ListBoxMultiple, type ListBoxMultipleProps, ListBoxPrimitive, type ListBoxPrimitiveProps, type ListBoxProps, LoadingAndErrorComponent, type LoadingAndErrorComponentProps, LoadingAnimation, type LoadingAnimationProps, type LoadingComponentProps, LoadingContainer, LocaleContext, type LocaleContextValue, LocaleProvider, type LocaleProviderProps, type LocalizationConfig, LocalizationUtil, LoopingArrayCalculator, MarkdownInterpreter, type MarkdownInterpreterProps, MathUtil, Menu, type MenuBag, MenuItem, type MenuItemProps, type MenuProps, type Month, MultiSearchWithMapping, MultiSelect, MultiSelectButton, type MultiSelectButtonProps, MultiSelectChipDisplay, MultiSelectChipDisplayButton, type MultiSelectChipDisplayProps, MultiSelectContent, type MultiSelectContentProps, MultiSelectOption, type MultiSelectOptionProps, MultiSelectProperty, type MultiSelectPropertyProps, type MultiSelectProps, MultiSelectRoot, type MultiSelectRootProps, MultiSubjectSearchWithMapping, Navigation, NavigationItemList, type NavigationItemListProps, type NavigationItemType, type NavigationProps, NumberFilter, type NumberFilterParameter, type NumberFilterProps, type NumberFilterValue, NumberProperty, type NumberPropertyProps, OperatorLabel, type OperatorLabelProps, type OverlayItem, OverlayRegistry, Pagination, type PaginationProps, PopUp, PopUpContext, type PopUpContextType, PopUpOpener, type PopUpOpenerBag, type PopUpOpenerProps, type PopUpProps, PopUpRoot, type PopUpRootProps, Portal, type PortalProps, ProgressIndicator, type ProgressIndicatorProps, PromiseUtils, PropertyBase, type PropertyBaseProps, type PropertyField, PropsUtil, type PropsWithBagFunction, type PropsWithBagFunctionOrChildren, type Range, type RangeOptions, type ResolvedTheme, ScrollPicker, type ScrollPickerProps, SearchBar, type SearchBarProps, Select, SelectButton, type SelectButtonProps, SelectContent, type SelectContentProps, SelectContext, type SelectIconAppearance, SelectOption, type SelectOptionProps, type SelectProps, SelectRoot, type SelectRootProps, type SharedSelectRootProps, SimpleSearch, SimpleSearchWithMapping, type SingleOrArray, SingleSelectProperty, type SingleSelectPropertyProps, StepperBar, type StepperBarProps, type StepperState, StorageListener, type StorageSubscriber, type SuperSet, Switch, type SwitchProps, type TabContextType, type TabInfo, TabList, TabPanel, TabSwitcher, type TabSwitcherProps, TabView, Table, TableBody, type TableBooleanFilter, TableCell, type TableCellProps, TableColumn, TableColumnDefinitionContext, type TableColumnDefinitionContextType, type TableColumnProps, TableColumnSwitcher, TableColumnSwitcherPopUp, type TableColumnSwitcherPopUpProps, type TableColumnSwitcherProps, TableContainerContext, type TableContainerContextType, type TableDateFilter, type TableDatetimeFilter, TableDisplay, type TableDisplayProps, TableFilter, type TableFilterBaseProps, TableFilterButton, type TableFilterButtonProps, type TableFilterCategory, TableFilterContent, type TableFilterContentProps, TableFilterOperator, type TableFilterType, type TableFilterValue, type TableGenericFilter, TableHeader, type TableHeaderProps, type TableNumberFilter, TablePageSizeSelect, type TablePageSizeSelectProps, TablePagination, TablePaginationMenu, type TablePaginationMenuProps, type TablePaginationProps, type TableProps, TableProvider, type TableProviderProps, TableSortButton, type TableSortButtonProps, TableStateContext, type TableStateContextType, TableStateWithoutSizingContext, type TableStateWithoutSizingContextType, type TableTagsFilter, type TableTagsSingleFilter, type TableTextFilter, TableWithSelection, type TableWithSelectionProps, TableWithSelectionProvider, type TableWithSelectionProviderProps, TagIcon, type TagProps, TagsFilter, type TagsFilterParameter, type TagsFilterProps, type TagsFilterValue, TagsSingleFilter, type TagsSingleFilterParameter, type TagsSingleFilterProps, type TagsSingleFilterValue, TextFilter, type TextFilterParameter, type TextFilterProps, type TextFilterValue, TextImage, type TextImageProps, TextProperty, type TextPropertyProps, Textarea, type TextareaProps, TextareaWithHeadline, type TextareaWithHeadlineProps, type ThemeConfig, ThemeContext, ThemeDialog, type ThemeDialogProps, ThemeIcon, type ThemeIconProps, ThemeProvider, type ThemeProviderProps, ThemeSelect, type ThemeSelectProps, type ThemeType, ThemeUtil, TimeDisplay, TimePicker, type TimePickerMillisecondIncrement, type TimePickerMinuteIncrement, type TimePickerProps, type TimePickerSecondIncrement, ToggleableInput, Tooltip, type TooltipConfig, TooltipContext, type TooltipContextType, TooltipDisplay, type TooltipDisplayProps, type TooltipProps, TooltipRoot, type TooltipRootProps, TooltipTrigger, type TooltipTriggerBag, type TooltipTriggerContextValue, type TooltipTriggerProps, Transition, type TransitionState, type TransitionWrapperProps, type UnBoundedRange, type UseAnchoredPositionOptions, type UseAnchoredPostitionProps, type UseCreateFormProps, type UseCreateFormResult, type UseDelayOptions, type UseDelayOptionsResolved, type UseFocusTrapProps, type UseFormFieldOptions, type UseFormFieldParameter, type UseFormObserverKeyProps, type UseFormObserverProps, type UseOutsideClickHandlers, type UseOutsideClickOptions, type UseOutsideClickProps, type UseOverlayRegistryProps, type UseOverlayRegistryResult, type UsePresenceRefProps, type UseResizeObserverProps, type UseSearchProps, type UseUpdatingDateStringProps, UseValidators, type UserFormFieldProps, type ValidatorError, type ValidatorResult, VerticalDivider, type VerticalDividerProps, Visibility, type VisibilityProps, type WeekDay, YearMonthPicker, type YearMonthPickerProps, builder, closestMatch, createLoopingList, createLoopingListWithIndex, equalSizeGroups, filterBoolean, filterDate, filterDatetime, filterGeneric, filterNumber, filterTags, filterTagsSingle, filterText, getNeighbours, hightideTranslation, hightideTranslationLocales, isTableFilterCategory, match, mergeProps, noop, range, resolveSetState, toSizeVars, useAnchoredPosition, useControlledState, useCreateForm, useDelay, useDialogContext, useDrawerContext, useEventCallbackStabilizer, useFocusGuards, useFocusManagement, useFocusOnceVisible, useFocusTrap, useForm, useFormField, useFormObserver, useFormObserverKey, useHandleRefs, useHightideConfig, useHightideTranslation, useICUTranslation, useIsMounted, useLanguage, useLocale, useLogOnce, useLogUnstableDependencies, useOutsideClick, useOverlayRegistry, useOverwritableState, usePopUpContext, usePresenceRef, useRerender, useResizeObserver, useScrollObserver, useSearch, useSelectContext, useStorage, useTabContext, useTableColumnDefinitionContext, useTableContainerContext, useTableStateContext, useTableStateWithoutSizingContext, useTheme, useTooltip, useTransitionState, useTranslatedValidators, useUpdatingDateString, useWindowResizeObserver, validateEmail, writeToClipboard };
|
|
3075
|
+
type StorageSubscriber = (raw: string | null) => void;
|
|
3076
|
+
declare class StorageListener {
|
|
3077
|
+
private static instance;
|
|
3078
|
+
private localSubscriptions;
|
|
3079
|
+
private sessionSubscriptions;
|
|
3080
|
+
private initialized;
|
|
3081
|
+
private constructor();
|
|
3082
|
+
static getInstance(): StorageListener;
|
|
3083
|
+
subscribe(storage: Storage, key: string, cb: StorageSubscriber): () => void;
|
|
3084
|
+
private init;
|
|
3085
|
+
private handleEvent;
|
|
3086
|
+
private getRegistry;
|
|
3087
|
+
}
|
|
3088
|
+
|
|
3089
|
+
declare const equalSizeGroups: <T>(array: T[], groupSize: number) => T[][];
|
|
3090
|
+
type RangeOptions = {
|
|
3091
|
+
/** Whether the range can be defined empty via end < start without a warning */
|
|
3092
|
+
allowEmptyRange: boolean;
|
|
3093
|
+
stepSize: number;
|
|
3094
|
+
exclusiveStart: boolean;
|
|
3095
|
+
exclusiveEnd: boolean;
|
|
3096
|
+
};
|
|
3097
|
+
/**
|
|
3098
|
+
* @param endOrRange The end value or a range [start, end], end is exclusive
|
|
3099
|
+
* @param options the options for defining the range
|
|
3100
|
+
*/
|
|
3101
|
+
declare const range: (endOrRange: number | [number, number], options?: Partial<RangeOptions>) => number[];
|
|
3102
|
+
/** Finds the closest match
|
|
3103
|
+
* @param list The list of all possible matches
|
|
3104
|
+
* @param firstCloser Return whether item1 is closer than item2
|
|
3105
|
+
*/
|
|
3106
|
+
declare const closestMatch: <T>(list: T[], firstCloser: (item1: T, item2: T) => boolean) => T;
|
|
3107
|
+
/**
|
|
3108
|
+
* returns the item in middle of a list and its neighbours before and after
|
|
3109
|
+
* e.g. [1,2,3,4,5,6] for item = 1 would return [5,6,1,2,3]
|
|
3110
|
+
*/
|
|
3111
|
+
declare const getNeighbours: <T>(list: T[], item: T, neighbourDistance?: number) => T[];
|
|
3112
|
+
declare const createLoopingListWithIndex: <T>(list: T[], startIndex?: number, length?: number, forwards?: boolean) => [number, T][];
|
|
3113
|
+
declare const createLoopingList: <T>(list: T[], startIndex?: number, length?: number, forwards?: boolean) => T[];
|
|
3114
|
+
declare function resolveSingleOrArray<T>(value: T | T[]): T[];
|
|
3115
|
+
declare const ArrayUtil: {
|
|
3116
|
+
unique: <T>(list: T[]) => T[];
|
|
3117
|
+
difference: <T>(list: T[], removeList: T[]) => T[];
|
|
3118
|
+
moveItems: <T>(list: T[], move?: number) => any[];
|
|
3119
|
+
resolveSingleOrArray: typeof resolveSingleOrArray;
|
|
3120
|
+
};
|
|
3121
|
+
|
|
3122
|
+
/**
|
|
3123
|
+
* A simple function that implements the builder pattern
|
|
3124
|
+
* @param value The value to update which gets return with the same reference
|
|
3125
|
+
* @param update The updates to apply on the object
|
|
3126
|
+
*/
|
|
3127
|
+
declare const builder: <T>(value: T, update: (value: T) => void) => T;
|
|
3128
|
+
|
|
3129
|
+
declare function compareDocumentPosition(a: Node | null | undefined, b: Node | null | undefined): 0 | 1 | -1;
|
|
3130
|
+
declare const DOMUtils: {
|
|
3131
|
+
compareDocumentPosition: typeof compareDocumentPosition;
|
|
3132
|
+
};
|
|
3133
|
+
|
|
3134
|
+
type EaseFunction = (t: number) => number;
|
|
3135
|
+
declare class EaseFunctions {
|
|
3136
|
+
static cubicBezierGeneric(x1: number, y1: number, x2: number, y2: number): {
|
|
3137
|
+
x: EaseFunction;
|
|
3138
|
+
y: EaseFunction;
|
|
3139
|
+
};
|
|
3140
|
+
static cubicBezier(x1: number, y1: number, x2: number, y2: number): EaseFunction;
|
|
3141
|
+
static easeInEaseOut(t: number): number;
|
|
3142
|
+
}
|
|
3143
|
+
|
|
3144
|
+
declare const validateEmail: (email: string) => boolean;
|
|
3145
|
+
|
|
3146
|
+
/**
|
|
3147
|
+
* 1 is forwards
|
|
3148
|
+
*
|
|
3149
|
+
* -1 is backwards
|
|
3150
|
+
*/
|
|
3151
|
+
type Direction = 1 | -1;
|
|
3152
|
+
declare class LoopingArrayCalculator {
|
|
3153
|
+
length: number;
|
|
3154
|
+
isLooping: boolean;
|
|
3155
|
+
allowedOverScroll: number;
|
|
3156
|
+
constructor(length: number, isLooping?: boolean, allowedOverScroll?: number);
|
|
3157
|
+
getCorrectedPosition(position: number): number;
|
|
3158
|
+
static withoutOffset(position: number): number;
|
|
3159
|
+
static getOffset(position: number): number;
|
|
3160
|
+
/**
|
|
3161
|
+
* @return absolute distance forwards or Infinity when the target cannot be reached (only possible when not isLooping)
|
|
3162
|
+
*/
|
|
3163
|
+
getDistanceDirectional(position: number, target: number, direction: Direction): number;
|
|
3164
|
+
getDistanceForward(position: number, target: number): number;
|
|
3165
|
+
getDistanceBackward(position: number, target: number): number;
|
|
3166
|
+
getDistance(position: number, target: number): number;
|
|
3167
|
+
getBestDirection(position: number, target: number): Direction;
|
|
3168
|
+
}
|
|
3169
|
+
|
|
3170
|
+
declare const match: <K extends string | number | symbol, V>(key: K, values: Record<K, V>) => Record<K, V>[K];
|
|
3171
|
+
|
|
3172
|
+
type Range = [number, number];
|
|
3173
|
+
type UnBoundedRange = [undefined | number, undefined | number];
|
|
3174
|
+
declare function clamp(value: number, min: number, max: number): number;
|
|
3175
|
+
declare function clamp(value: number, range?: [number, number]): number;
|
|
3176
|
+
declare const MathUtil: {
|
|
3177
|
+
clamp: typeof clamp;
|
|
3178
|
+
};
|
|
3179
|
+
|
|
3180
|
+
declare const noop: () => any;
|
|
3181
|
+
|
|
3182
|
+
declare function sleep(ms: number): Promise<void>;
|
|
3183
|
+
declare function delayed<T>(value: T, ms: number): Promise<T>;
|
|
3184
|
+
declare const PromiseUtils: {
|
|
3185
|
+
sleep: typeof sleep;
|
|
3186
|
+
delayed: typeof delayed;
|
|
3187
|
+
};
|
|
3188
|
+
|
|
3189
|
+
declare function bool(isActive: boolean): string | undefined;
|
|
3190
|
+
type InteractionStateDataAttributes = {
|
|
3191
|
+
'data-disabled': string | undefined;
|
|
3192
|
+
'data-invalid': string | undefined;
|
|
3193
|
+
'data-readonly': string | undefined;
|
|
3194
|
+
'data-required': string | undefined;
|
|
3195
|
+
};
|
|
3196
|
+
declare function interactionStatesData(interactionStates: Partial<FormFieldInteractionStates>): Partial<InteractionStateDataAttributes>;
|
|
3197
|
+
type MouseEventExtenderProps<T> = {
|
|
3198
|
+
fromProps?: react__default.MouseEventHandler<T>;
|
|
3199
|
+
extensions: SingleOrArray<react__default.MouseEventHandler<T>>;
|
|
3200
|
+
};
|
|
3201
|
+
declare function mouseEventExtender<T>({ fromProps, extensions }: MouseEventExtenderProps<T>): react__default.MouseEventHandler<T>;
|
|
3202
|
+
type KeyoardEventExtenderProps<T> = {
|
|
3203
|
+
fromProps: react__default.KeyboardEventHandler<T>;
|
|
3204
|
+
extensions: SingleOrArray<react__default.KeyboardEventHandler<T>>;
|
|
3205
|
+
};
|
|
3206
|
+
declare function keyboardEventExtender<T>({ fromProps, extensions, }: KeyoardEventExtenderProps<T>): react__default.KeyboardEventHandler<T>;
|
|
3207
|
+
declare function click<T>(onClick: () => void): {
|
|
3208
|
+
onClick: () => void;
|
|
3209
|
+
onKeyDown: react__default.KeyboardEventHandler<T>;
|
|
3210
|
+
};
|
|
3211
|
+
declare function close<T>(onClose?: () => void): react__default.KeyboardEventHandler<T>;
|
|
3212
|
+
type NavigateType<T> = {
|
|
3213
|
+
left?: (event: react__default.KeyboardEvent<T>) => void;
|
|
3214
|
+
right?: (event: react__default.KeyboardEvent<T>) => void;
|
|
3215
|
+
up?: (event: react__default.KeyboardEvent<T>) => void;
|
|
3216
|
+
down?: (event: react__default.KeyboardEvent<T>) => void;
|
|
3217
|
+
};
|
|
3218
|
+
declare function navigate<T>({ left, right, up, down, }: NavigateType<T>): react__default.KeyboardEventHandler<T>;
|
|
3219
|
+
declare function mergeProps<T extends object, U extends Partial<T>>(slotProps: T, childProps: U): T & U;
|
|
3220
|
+
type InteractionStateARIAAttributes = Pick<HTMLAttributes<HTMLDivElement>, 'aria-disabled' | 'aria-invalid' | 'aria-readonly' | 'aria-required'>;
|
|
3221
|
+
declare function interactionStatesAria(interactionStates: Partial<FormFieldInteractionStates>, props?: Partial<InteractionStateARIAAttributes>): Partial<InteractionStateARIAAttributes>;
|
|
3222
|
+
declare const PropsUtil: {
|
|
3223
|
+
extender: {
|
|
3224
|
+
mouseEvent: typeof mouseEventExtender;
|
|
3225
|
+
keyboardEvent: typeof keyboardEventExtender;
|
|
3226
|
+
};
|
|
3227
|
+
dataAttributes: {
|
|
3228
|
+
bool: typeof bool;
|
|
3229
|
+
interactionStates: typeof interactionStatesData;
|
|
3230
|
+
};
|
|
3231
|
+
aria: {
|
|
3232
|
+
close: typeof close;
|
|
3233
|
+
click: typeof click;
|
|
3234
|
+
navigate: typeof navigate;
|
|
3235
|
+
interactionStates: typeof interactionStatesAria;
|
|
3236
|
+
};
|
|
3237
|
+
mergeProps: typeof mergeProps;
|
|
3238
|
+
};
|
|
3239
|
+
|
|
3240
|
+
declare function resolveSetState<T>(action: SetStateAction<T>, prev: T): T;
|
|
3241
|
+
|
|
3242
|
+
/**
|
|
3243
|
+
* Finds all values matching the search values by first mapping the values to a string array and then checking each entry for matches.
|
|
3244
|
+
* Returns the list of all matches.
|
|
3245
|
+
*
|
|
3246
|
+
* @param search The list of search strings e.g. `[name, type]`
|
|
3247
|
+
*
|
|
3248
|
+
* @param objects The list of objects to be searched in
|
|
3249
|
+
*
|
|
3250
|
+
* @param mapping The mapping of objects to the string properties they fulfil
|
|
3251
|
+
*
|
|
3252
|
+
* @return The list of objects that match all search strings
|
|
3253
|
+
*/
|
|
3254
|
+
declare const MultiSubjectSearchWithMapping: <T>(search: string[], objects: T[], mapping: (value: T) => (string[] | undefined)) => T[];
|
|
3255
|
+
/**
|
|
3256
|
+
* Finds all values matching the search value by first mapping the values to a string array and then checking each entry for matches.
|
|
3257
|
+
* Returns the list of all matches.
|
|
3258
|
+
*
|
|
3259
|
+
* @param search The search string e.g `name`
|
|
3260
|
+
*
|
|
3261
|
+
* @param objects The list of objects to be searched in
|
|
3262
|
+
*
|
|
3263
|
+
* @param mapping The mapping of objects to the string properties they fulfil, if undefined it is always fulfilled
|
|
3264
|
+
*
|
|
3265
|
+
* @return The list of objects that match the search string
|
|
3266
|
+
*/
|
|
3267
|
+
declare const MultiSearchWithMapping: <T>(search: string, objects: T[], mapping: (value: T) => (string[] | undefined)) => T[];
|
|
3268
|
+
/**
|
|
3269
|
+
* Finds all values matching the search value by first mapping the values to a string and returns the list of all matches.
|
|
3270
|
+
*
|
|
3271
|
+
* @param search The search string e.g `name`
|
|
3272
|
+
*
|
|
3273
|
+
* @param objects The list of objects to be searched in
|
|
3274
|
+
*
|
|
3275
|
+
* @param mapping The mapping of objects to a string that is compared to the search
|
|
3276
|
+
*
|
|
3277
|
+
* @return The list of objects that match the search string
|
|
3278
|
+
*/
|
|
3279
|
+
declare const SimpleSearchWithMapping: <T>(search: string, objects: T[], mapping: (value: T) => string) => T[];
|
|
3280
|
+
/**
|
|
3281
|
+
* Finds all values matching the search value and returns the list of all matches.
|
|
3282
|
+
*
|
|
3283
|
+
* @param search The search string e.g `name`
|
|
3284
|
+
*
|
|
3285
|
+
* @param objects The list of objects to be searched in
|
|
3286
|
+
*
|
|
3287
|
+
* @return The list of objects that match the search string
|
|
3288
|
+
*/
|
|
3289
|
+
declare const SimpleSearch: (search: string, objects: string[]) => string[];
|
|
3290
|
+
|
|
3291
|
+
declare const writeToClipboard: (text: string) => Promise<void>;
|
|
3292
|
+
|
|
3293
|
+
export { ASTNodeInterpreter, type ASTNodeInterpreterProps, AnchoredFloatingContainer, type AnchoredFloatingContainerProps, ArrayUtil, AutoColumnOrderFeature, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarSize, type BackgroundOverlayProps, type BagFunction, type BagFunctionOrNode, type BagFunctionOrValue, BagFunctionUtil, BooleanFilterPopUp, BreadCrumbGroup, BreadCrumbLink, type BreadCrumbLinkProps, type BreadCrumbProps, BreadCrumbs, Button, type ButtonColor, type ButtonProps, ButtonUtil, Carousel, type CarouselProps, CarouselSlide, type CarouselSlideProps, Checkbox, CheckboxProperty, type CheckboxPropertyProps, type CheckboxProps, Chip, type ChipColor, ChipList, type ChipListProps, type ChipProps, ChipUtil, type ColumnSizeCalculatoProps, ColumnSizeUtil, ColumnSizingWithTargetFeature, Combobox, ComboboxContext, type ComboboxContextActions, type ComboboxContextComputedState, type ComboboxContextConfig, type ComboboxContextIds, type ComboboxContextInternalState, type ComboboxContextLayout, type ComboboxContextSearch, type ComboboxContextType, ComboboxInput, type ComboboxInputProps, ComboboxList, type ComboboxListProps, ComboboxOption, type ComboboxOptionProps, type ComboboxOptionType, type ComboboxProps, ComboboxRoot, type ComboboxRootProps, ConfirmDialog, type ConfirmDialogProps, type ConfirmDialogType, type ControlledStateProps, CopyToClipboardWrapper, type CopyToClipboardWrapperProps, type Crumb, DOMUtils, type DataType, type DataTypeFilterPopUpProps, DataTypeUtils, type DataValue, DateFilterPopUp, DatePicker, type DatePickerProps, DateProperty, type DatePropertyProps, DateTimeFormat, DateTimeInput, type DateTimeInputProps, DateTimePicker, DateTimePickerDialog, type DateTimePickerDialogProps, type DateTimePickerProps, type DateTimePrecision, DateUtils, DatetimeFilterPopUp, DayPicker, type DayPickerProps, type DeepPartial, Dialog, DialogContext, type DialogContextType, type DialogOpenerPassingProps, DialogOpenerWrapper, type DialogOpenerWrapperBag, type DialogOpenerWrapperProps, type DialogPosition, type DialogProps, DialogRoot, type DialogRootProps, type Direction, DiscardChangesDialog, DividerInserter, type DividerInserterProps, Drawer, type DrawerAligment, DrawerCloseButton, type DrawerCloseButtonProps, DrawerContent, type DrawerContentProps, DrawerContext, type DrawerContextType, type DrawerProps, DrawerRoot, type DrawerRootProps, Duration, type DurationJSON, type EaseFunction, EaseFunctions, type EditCompleteOptions, type EditCompleteOptionsResolved, type ElementHandle, ErrorComponent, type ErrorComponentProps, type Exact, Expandable, ExpandableContent, type ExpandableContentProps, ExpandableHeader, type ExpandableHeaderProps, type ExpandableProps, ExpandableRoot, type ExpandableRootProps, ExpansionIcon, type ExpansionIconProps, type FAQItem, FAQSection, type FAQSectionProps, FillerCell, type FillerCellProps, FilterBasePopUp, FilterFunctions, FilterList, type FilterListItem, type FilterListPopUpBuilderProps, type FilterListProps, type FilterOperator, type FilterOperatorBoolean, type FilterOperatorDate, type FilterOperatorDatetime, FilterOperatorLabel, type FilterOperatorLabelProps, type FilterOperatorNumber, type FilterOperatorTags, type FilterOperatorTagsSingle, type FilterOperatorText, type FilterOperatorUnknownType, FilterOperatorUtils, type FilterParameter, FilterPopUp, type FilterPopUpBaseProps, type FilterPopUpProps, type FilterValue, type FilterValueTranslationOptions, FilterValueUtils, type FloatingElementAlignment, FocusTrap, type FocusTrapProps, FocusTrapWrapper, type FocusTrapWrapperProps, FormContext, type FormContextType, type FormEvent, type FormEventListener, FormField, type FormFieldAriaAttributes, type FormFieldBag, type FormFieldDataHandling, type FormFieldFocusableElementProps, type FormFieldInteractionStates, FormFieldLayout, type FormFieldLayoutBag, type FormFieldLayoutIds, type FormFieldLayoutProps, type FormFieldProps, type FormFieldResult, FormObserver, FormObserverKey, type FormObserverKeyProps, type FormObserverKeyResult, type FormObserverProps, type FormObserverResult, FormProvider, type FormProviderProps, FormStore, type FormStoreProps, type FormValidationBehaviour, type FormValidator, type FormValue, GenericFilterPopUp, HelpwaveBadge, type HelpwaveBadgeProps, HelpwaveLogo, type HelpwaveProps, type HightideConfig, HightideConfigContext, HightideConfigProvider, type HightideConfigProviderProps, HightideProvider, type HightideTranslationEntries, type HightideTranslationLocales, IconButton, IconButtonBase, type IconButtonBaseProps, type IconButtonProps, type IdentifierFilterValue, InfiniteScroll, type InfiniteScrollProps, Input, InputDialog, type InputModalProps, type InputProps, InsideLabelInput, LanguageDialog, LanguageSelect, type ListNavigationOptions, type ListNavigationReturn, LoadingAndErrorComponent, type LoadingAndErrorComponentProps, LoadingAnimation, type LoadingAnimationProps, type LoadingComponentProps, LoadingContainer, LocaleContext, type LocaleContextValue, LocaleProvider, type LocaleProviderProps, type LocalizationConfig, LocalizationUtil, LoopingArrayCalculator, MarkdownInterpreter, type MarkdownInterpreterProps, MathUtil, Menu, type MenuBag, MenuItem, type MenuItemProps, type MenuProps, type Month, MultiSearchWithMapping, MultiSelect, MultiSelectButton, type MultiSelectButtonProps, MultiSelectChipDisplay, MultiSelectChipDisplayButton, type MultiSelectChipDisplayButtonProps, type MultiSelectChipDisplayProps, MultiSelectContent, type MultiSelectContentProps, MultiSelectContext, type MultiSelectContextActions, type MultiSelectContextComputedState, type MultiSelectContextConfig, type MultiSelectContextIds, type MultiSelectContextLayout, type MultiSelectContextSearch, type MultiSelectContextState, type MultiSelectContextType, type MultiSelectIconAppearance, type MultiSelectIds, MultiSelectOption, MultiSelectOptionDisplayContext, type MultiSelectOptionDisplayLocation, type MultiSelectOptionProps, type MultiSelectOptionType, MultiSelectProperty, type MultiSelectPropertyProps, type MultiSelectProps, MultiSelectRoot, type MultiSelectRootProps, MultiSubjectSearchWithMapping, Navigation, NavigationItemList, type NavigationItemListProps, type NavigationItemType, type NavigationProps, NumberFilterPopUp, NumberProperty, type NumberPropertyProps, type OverlayItem, OverlayRegistry, Pagination, type PaginationProps, PolymorphicSlot, type PolymorphicSlotProps, PopUp, PopUpContext, type PopUpContextType, PopUpOpener, type PopUpOpenerBag, type PopUpOpenerProps, type PopUpProps, PopUpRoot, type PopUpRootProps, Portal, type PortalProps, ProgressIndicator, type ProgressIndicatorProps, PromiseUtils, PropertyBase, type PropertyBaseProps, type PropertyField, PropsUtil, type PropsWithBagFunction, type PropsWithBagFunctionOrChildren, type Range, type RangeOptions, type ResolvedTheme, ScrollPicker, type ScrollPickerProps, SearchBar, type SearchBarProps, Select, SelectButton, type SelectButtonProps, SelectContent, type SelectContentProps, SelectContext, type SelectContextActions, type SelectContextComputedState, type SelectContextConfig, type SelectContextIds, type SelectContextLayout, type SelectContextSearch, type SelectContextState, type SelectContextType, type SelectIconAppearance, type SelectIds, SelectOption, SelectOptionDisplayContext, type SelectOptionDisplayLocation, type SelectOptionProps, type SelectOptionType, type SelectProps, SelectRoot, type SelectRootProps, type SelectionOption, SimpleSearch, SimpleSearchWithMapping, type SingleOrArray, SingleSelectProperty, type SingleSelectPropertyProps, type SingleSelectionReturn, StepperBar, type StepperBarProps, type StepperState, StorageListener, type StorageSubscriber, type SuperSet, Switch, type SwitchProps, type TabContextType, type TabInfo, TabList, TabPanel, TabSwitcher, type TabSwitcherProps, TabView, Table, TableBody, TableCell, type TableCellProps, TableColumn, TableColumnDefinitionContext, type TableColumnDefinitionContextType, type TableColumnProps, TableColumnSwitcher, TableColumnSwitcherPopUp, type TableColumnSwitcherPopUpProps, type TableColumnSwitcherProps, TableContainerContext, type TableContainerContextType, TableDisplay, type TableDisplayProps, TableFilter, TableFilterButton, type TableFilterButtonProps, TableHeader, type TableHeaderProps, TablePageSizeSelect, type TablePageSizeSelectProps, TablePagination, TablePaginationMenu, type TablePaginationMenuProps, type TablePaginationProps, type TableProps, TableProvider, type TableProviderProps, TableSortButton, type TableSortButtonProps, TableStateContext, type TableStateContextType, TableStateWithoutSizingContext, type TableStateWithoutSizingContextType, TableWithSelection, type TableWithSelectionProps, TableWithSelectionProvider, type TableWithSelectionProviderProps, TagIcon, type TagProps, TagsFilterPopUp, type TagsFilterPopUpProps, TagsSingleFilterPopUp, type TagsSingleFilterPopUpProps, TextFilterPopUp, TextImage, type TextImageProps, TextProperty, type TextPropertyProps, Textarea, type TextareaProps, TextareaWithHeadline, type TextareaWithHeadlineProps, type ThemeConfig, ThemeContext, ThemeDialog, type ThemeDialogProps, ThemeIcon, type ThemeIconProps, ThemeProvider, type ThemeProviderProps, ThemeSelect, type ThemeSelectProps, type ThemeType, ThemeUtil, TimeDisplay, TimePicker, type TimePickerMillisecondIncrement, type TimePickerMinuteIncrement, type TimePickerProps, type TimePickerSecondIncrement, ToggleableInput, Tooltip, type TooltipConfig, TooltipContext, type TooltipContextType, TooltipDisplay, type TooltipDisplayProps, type TooltipProps, TooltipRoot, type TooltipRootProps, TooltipTrigger, type TooltipTriggerBag, type TooltipTriggerContextValue, type TooltipTriggerProps, Transition, type TransitionState, type TransitionWrapperProps, type UnBoundedRange, type UseAnchoredPositionOptions, type UseAnchoredPostitionProps, type UseComboboxActions, type UseComboboxComputedState, type UseComboboxOption, type UseComboboxOptions, type UseComboboxReturn, type UseComboboxState, type UseCreateFormProps, type UseCreateFormResult, type UseDelayOptions, type UseDelayOptionsResolved, type UseFocusTrapProps, type UseFormFieldOptions, type UseFormFieldParameter, type UseFormObserverKeyProps, type UseFormObserverProps, type UseMultiSelectActions, type UseMultiSelectComputedState, type UseMultiSelectFirstHighlightBehavior, type UseMultiSelectOption, type UseMultiSelectOptions, type UseMultiSelectReturn, type UseMultiSelectState, type UseMultiSelectionOption, type UseMultiSelectionOptions, type UseMultiSelectionReturn, type UseOutsideClickHandlers, type UseOutsideClickOptions, type UseOutsideClickProps, type UseOverlayRegistryProps, type UseOverlayRegistryResult, type UsePresenceRefProps, type UseResizeObserverProps, type UseSearchOptions, type UseSearchReturn, type UseSelectActions, type UseSelectComputedState, type UseSelectFirstHighlightBehavior, type UseSelectOption, type UseSelectOptions, type UseSelectReturn, type UseSelectState, type UseSingleSelectionOptions, type UseTypeAheadSearchOptions, type UseTypeAheadSearchReturn, type UseUpdatingDateStringProps, UseValidators, type UserFormFieldProps, type ValidatorError, type ValidatorResult, VerticalDivider, type VerticalDividerProps, Visibility, type VisibilityProps, type WeekDay, YearMonthPicker, type YearMonthPickerProps, builder, closestMatch, createLoopingList, createLoopingListWithIndex, equalSizeGroups, getNeighbours, hightideTranslation, hightideTranslationLocales, match, mergeProps, noop, range, resolveSetState, toSizeVars, useAnchoredPosition, useCombobox, useComboboxContext, useControlledState, useCreateForm, useDelay, useDialogContext, useDrawerContext, useEventCallbackStabilizer, useFilterValueTranslation, useFocusGuards, useFocusManagement, useFocusOnceVisible, useFocusTrap, useForm, useFormField, useFormObserver, useFormObserverKey, useHandleRefs, useHightideConfig, useHightideTranslation, useICUTranslation, useIsMounted, useLanguage, useListNavigation, useLocale, useLogOnce, useLogUnstableDependencies, useMultiSelect, useMultiSelectContext, useMultiSelectOptionDisplayLocation, useMultiSelection, useOutsideClick, useOverlayRegistry, useOverwritableState, usePopUpContext, usePresenceRef, useRerender, useResizeObserver, useScrollObserver, useSearch, useSelect, useSelectContext, useSelectOptionDisplayLocation, useSingleSelection, useStorage, useTabContext, useTableColumnDefinitionContext, useTableContainerContext, useTableStateContext, useTableStateWithoutSizingContext, useTheme, useTooltip, useTransitionState, useTranslatedValidators, useTypeAheadSearch, useUpdatingDateString, useWindowResizeObserver, validateEmail, writeToClipboard };
|