onekijs-ui 0.15.4 → 0.15.6
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/components/accordion/typings.d.ts +11 -1
- package/dist/components/button/typings.d.ts +2 -2
- package/dist/components/dashboard/hooks/useDashboardPanel.d.ts +4 -0
- package/dist/components/dashboard/typings.d.ts +3 -1
- package/dist/components/icon/CloseIcon.d.ts +4 -0
- package/dist/components/icon/DebugIcon.d.ts +4 -0
- package/dist/components/icon/ErrorIcon.d.ts +4 -0
- package/dist/components/icon/FilterIcon.d.ts +4 -0
- package/dist/components/icon/InfoIcon.d.ts +4 -0
- package/dist/components/icon/SuccessIcon.d.ts +4 -0
- package/dist/components/icon/WarningIcon.d.ts +4 -0
- package/dist/components/list/DropdownList.d.ts +6 -0
- package/dist/components/list/components/ArrayListComponent.d.ts +3 -3
- package/dist/components/list/components/CollectionListComponent.d.ts +3 -3
- package/dist/components/list/components/ListBodyComponent.d.ts +3 -3
- package/dist/components/list/components/ListComponent.d.ts +7 -4
- package/dist/components/list/components/ListItemComponent.d.ts +8 -6
- package/dist/components/list/components/StandardListComponent.d.ts +3 -3
- package/dist/components/list/components/VirtualListComponent.d.ts +3 -3
- package/dist/components/list/hooks/useListController.d.ts +1 -1
- package/dist/components/list/hooks/useListView.d.ts +2 -0
- package/dist/components/list/index.d.ts +5 -2
- package/dist/components/list/typings.d.ts +5 -2
- package/dist/components/notifications/components/NotificationComponent.d.ts +4 -0
- package/dist/components/notifications/components/NotificationsComponent.d.ts +4 -0
- package/dist/components/notifications/index.d.ts +3 -0
- package/dist/components/notifications/style.d.ts +3 -0
- package/dist/components/notifications/typings.d.ts +17 -0
- package/dist/components/resizer/typings.d.ts +2 -0
- package/dist/components/select/FormSelect.d.ts +6 -4
- package/dist/components/select/SelectService.d.ts +9 -9
- package/dist/components/select/TreeSelect.d.ts +6 -0
- package/dist/components/select/TreeSelectService.d.ts +9 -0
- package/dist/components/select/components/ArraySelectComponent.d.ts +2 -3
- package/dist/components/select/components/ArrayTreeSelectComponent.d.ts +3 -0
- package/dist/components/select/components/ControlledSelectComponent.d.ts +3 -0
- package/dist/components/select/components/ControlledTreeSelectComponent.d.ts +6 -0
- package/dist/components/select/components/SelectComponent.d.ts +6 -4
- package/dist/components/select/components/SelectInputComponent.d.ts +2 -3
- package/dist/components/select/components/SelectOptionComponent.d.ts +9 -7
- package/dist/components/select/components/SelectTokenComponent.d.ts +6 -4
- package/dist/components/select/components/SelectTokensComponent.d.ts +6 -4
- package/dist/components/select/components/TreeSelectComponent.d.ts +6 -0
- package/dist/components/select/components/TreeSelectOptionContent.d.ts +3 -0
- package/dist/components/select/hooks/useSelectController.d.ts +1 -1
- package/dist/components/select/hooks/useTreeSelectController.d.ts +6 -0
- package/dist/components/select/hooks/useTreeSelectService.d.ts +4 -0
- package/dist/components/select/index.d.ts +5 -2
- package/dist/components/select/typings.d.ts +27 -12
- package/dist/components/select/util.d.ts +4 -4
- package/dist/components/table/TableService.d.ts +8 -2
- package/dist/components/table/columns/checkboxColumn.d.ts +3 -0
- package/dist/components/table/columns/enumColumn.d.ts +3 -0
- package/dist/components/table/columns/inputColumn.d.ts +3 -0
- package/dist/components/table/columns/linkColumn.d.ts +3 -0
- package/dist/components/table/columns/numberColumn.d.ts +3 -0
- package/dist/components/table/columns/selectColumn.d.ts +4 -0
- package/dist/components/table/columns/textAreaColumn.d.ts +3 -0
- package/dist/components/table/columns/textColumn.d.ts +3 -0
- package/dist/components/table/components/cells/CheckboxCellComponent.d.ts +2 -2
- package/dist/components/table/components/cells/InputCellComponent.d.ts +2 -2
- package/dist/components/table/components/cells/SelectCellComponent.d.ts +2 -2
- package/dist/components/table/components/cells/TextareaCellComponent.d.ts +2 -2
- package/dist/components/table/components/filters/TableFilterOperatorComponent.d.ts +4 -0
- package/dist/components/table/components/filters/TableInputFilterComponent.d.ts +4 -2
- package/dist/components/table/components/filters/TableNumberFilterComponent.d.ts +4 -0
- package/dist/components/table/components/filters/TableSelectFilterComponent.d.ts +6 -0
- package/dist/components/table/components/filters/TableTextFilterComponent.d.ts +4 -0
- package/dist/components/table/hooks/useColumns.d.ts +3 -0
- package/dist/components/table/style.d.ts +2 -0
- package/dist/components/table/typings.d.ts +32 -12
- package/dist/components/table/util.d.ts +1 -1
- package/dist/components/timer/TimerService.d.ts +12 -0
- package/dist/components/timer/components/ControlledTimerComponent.d.ts +7 -0
- package/dist/components/timer/components/TimerComponent.d.ts +4 -0
- package/dist/components/timer/components/UncontrolledTimerComponent.d.ts +6 -0
- package/dist/components/timer/hooks/useTimerController.d.ts +3 -0
- package/dist/components/timer/index.d.ts +3 -0
- package/dist/components/timer/style.d.ts +3 -0
- package/dist/components/timer/typings.d.ts +22 -0
- package/dist/components/tree/TreeService.d.ts +12 -9
- package/dist/components/tree/components/ArrayTreeComponent.d.ts +2 -3
- package/dist/components/tree/components/ControllerTreeComponent.d.ts +5 -3
- package/dist/components/tree/components/TreeBodyComponent.d.ts +5 -3
- package/dist/components/tree/components/TreeComponent.d.ts +6 -4
- package/dist/components/tree/components/TreeItemComponent.d.ts +9 -6
- package/dist/components/tree/components/TreeListComponent.d.ts +2 -3
- package/dist/components/tree/components/VirtualTreeBodyComponent.d.ts +5 -3
- package/dist/components/tree/components/VirtualTreeListComponent.d.ts +2 -3
- package/dist/components/tree/hooks/useTreeController.d.ts +1 -1
- package/dist/components/tree/hooks/useTreeItemContext.d.ts +4 -0
- package/dist/components/tree/index.d.ts +5 -3
- package/dist/components/tree/typings.d.ts +14 -8
- package/dist/components/tree/util.d.ts +2 -1
- package/dist/components/wizard/typings.d.ts +1 -0
- package/dist/index.d.ts +36 -8
- package/dist/index.js +3447 -2256
- package/dist/index.js.map +1 -1
- package/dist/index.module.js +3406 -2243
- package/dist/index.module.js.map +1 -1
- package/dist/styles/flex.d.ts +1 -1
- package/dist/styles/interactivity.d.ts +2 -2
- package/dist/styles/size.d.ts +6 -6
- package/dist/styles/typings.d.ts +5 -0
- package/dist/styles/typography.d.ts +1 -1
- package/dist/utils/event.d.ts +2 -2
- package/package.json +3 -3
- package/src/components/accordion/components/AccordionComponent.tsx +1 -0
- package/src/components/accordion/components/AccordionPanel.tsx +11 -6
- package/src/components/accordion/style.ts +2 -1
- package/src/components/accordion/typings.ts +11 -1
- package/src/components/button/SubmitButton.tsx +3 -4
- package/src/components/button/components/ButtonComponent.tsx +5 -3
- package/src/components/button/components/DropdownButtonComponent.tsx +3 -3
- package/src/components/button/style.ts +4 -1
- package/src/components/button/typings.ts +2 -2
- package/src/components/dashboard/DashboardService.ts +14 -0
- package/src/components/dashboard/components/DashboardBody.tsx +3 -2
- package/src/components/dashboard/components/DashboardContainer.tsx +2 -1
- package/src/components/dashboard/components/DashboardOverlay.tsx +1 -1
- package/src/components/dashboard/hoc/dashboardHorizontalPanel.tsx +8 -3
- package/src/components/dashboard/hoc/dashboardVerticalPanel.tsx +7 -2
- package/src/components/dashboard/hooks/useDashboard.tsx +6 -8
- package/src/components/dashboard/hooks/useDashboardPanel.ts +24 -0
- package/src/components/dashboard/typings.ts +3 -1
- package/src/components/icon/CloseIcon.tsx +34 -0
- package/src/components/icon/DebugIcon.tsx +35 -0
- package/src/components/icon/ErrorIcon.tsx +34 -0
- package/src/components/icon/FilterIcon.tsx +33 -0
- package/src/components/icon/InfoIcon.tsx +34 -0
- package/src/components/icon/LoadingIcon.tsx +2 -3
- package/src/components/icon/SuccessIcon.tsx +37 -0
- package/src/components/icon/WarningIcon.tsx +34 -0
- package/src/components/list/DropdownList.tsx +63 -0
- package/src/components/list/components/ArrayListComponent.tsx +4 -4
- package/src/components/list/components/CollectionListComponent.tsx +8 -4
- package/src/components/list/components/ListBodyComponent.tsx +5 -5
- package/src/components/list/components/ListComponent.tsx +4 -4
- package/src/components/list/components/ListItemComponent.tsx +12 -11
- package/src/components/list/components/StandardListComponent.tsx +4 -4
- package/src/components/list/components/VirtualListComponent.tsx +6 -5
- package/src/components/list/hooks/useListController.ts +9 -10
- package/src/components/list/hooks/useListView.tsx +12 -3
- package/src/components/list/index.tsx +1 -1
- package/src/components/list/typings.ts +5 -2
- package/src/components/notifications/components/NotificationComponent.tsx +67 -0
- package/src/components/notifications/components/NotificationsComponent.tsx +119 -0
- package/src/components/notifications/index.tsx +9 -0
- package/src/components/notifications/style.ts +96 -0
- package/src/components/notifications/typings.ts +19 -0
- package/src/components/resizer/components/ResizerComponent.tsx +5 -5
- package/src/components/resizer/components/ResizerHorizontalSplitter.tsx +1 -1
- package/src/components/resizer/typings.ts +2 -0
- package/src/components/select/FormSelect.tsx +6 -6
- package/src/components/select/SelectService.ts +21 -20
- package/src/components/select/TreeSelect.tsx +9 -0
- package/src/components/select/TreeSelectService.ts +23 -0
- package/src/components/select/components/ArraySelectComponent.tsx +9 -6
- package/src/components/select/components/ArrayTreeSelectComponent.tsx +16 -0
- package/src/components/select/components/{ControllerSelectComponent.tsx → ControlledSelectComponent.tsx} +159 -100
- package/src/components/select/components/ControlledTreeSelectComponent.tsx +76 -0
- package/src/components/select/components/SelectComponent.tsx +13 -6
- package/src/components/select/components/SelectInputComponent.tsx +217 -221
- package/src/components/select/components/SelectOptionComponent.tsx +11 -16
- package/src/components/select/components/SelectTokenComponent.tsx +9 -5
- package/src/components/select/components/SelectTokensComponent.tsx +8 -5
- package/src/components/select/components/TreeSelectComponent.tsx +26 -0
- package/src/components/select/components/TreeSelectOptionContent.tsx +14 -0
- package/src/components/select/hooks/useSelect.ts +0 -0
- package/src/components/select/hooks/useSelectController.ts +21 -4
- package/src/components/select/hooks/useTreeSelectController.ts +21 -0
- package/src/components/select/hooks/useTreeSelectService.ts +10 -0
- package/src/components/select/index.tsx +1 -1
- package/src/components/select/style.ts +2 -3
- package/src/components/select/typings.ts +54 -12
- package/src/components/select/util.ts +21 -8
- package/src/components/table/TableService.ts +33 -3
- package/src/components/table/columns/checkboxColumn.ts +23 -0
- package/src/components/table/columns/enumColumn.tsx +26 -0
- package/src/components/table/columns/inputColumn.ts +22 -0
- package/src/components/table/columns/linkColumn.ts +16 -0
- package/src/components/table/columns/numberColumn.ts +20 -0
- package/src/components/table/columns/selectColumn.ts +49 -0
- package/src/components/table/columns/textAreaColumn.ts +23 -0
- package/src/components/table/columns/textColumn.ts +23 -0
- package/src/components/table/components/ControllerTableComponent.tsx +22 -0
- package/src/components/table/components/TableBodyComponent.tsx +7 -2
- package/src/components/table/components/TableHeaderFilterComponent.tsx +4 -4
- package/src/components/table/components/cells/CheckboxCellComponent.tsx +2 -2
- package/src/components/table/components/cells/InputCellComponent.tsx +2 -2
- package/src/components/table/components/cells/SelectCellComponent.tsx +2 -2
- package/src/components/table/components/cells/TextareaCellComponent.tsx +2 -2
- package/src/components/table/components/filters/TableFilterOperatorComponent.tsx +129 -0
- package/src/components/table/components/filters/TableInputFilterComponent.tsx +37 -102
- package/src/components/table/components/filters/TableNumberFilterComponent.tsx +18 -0
- package/src/components/table/components/filters/TableSelectFilterComponent.tsx +83 -0
- package/src/components/table/components/filters/TableTextFilterComponent.tsx +20 -0
- package/src/components/table/hooks/useColumns.ts +9 -0
- package/src/components/table/style.ts +145 -38
- package/src/components/table/typings.ts +41 -16
- package/src/components/table/util.ts +13 -6
- package/src/components/timer/TimerService.ts +55 -0
- package/src/components/timer/components/ControlledTimerComponent.tsx +52 -0
- package/src/components/timer/components/TimerComponent.tsx +17 -0
- package/src/components/timer/components/UncontrolledTimerComponent.tsx +11 -0
- package/src/components/timer/hooks/useTimerController.ts +14 -0
- package/src/components/timer/index.tsx +9 -0
- package/src/components/timer/style.ts +56 -0
- package/src/components/timer/typings.ts +26 -0
- package/src/components/tree/TreeService.ts +127 -60
- package/src/components/tree/components/ArrayTreeComponent.tsx +4 -4
- package/src/components/tree/components/ControllerTreeComponent.tsx +25 -16
- package/src/components/tree/components/TreeBodyComponent.tsx +11 -3
- package/src/components/tree/components/TreeComponent.tsx +4 -4
- package/src/components/tree/components/TreeItemComponent.tsx +50 -28
- package/src/components/tree/components/TreeListComponent.tsx +40 -25
- package/src/components/tree/components/VirtualTreeBodyComponent.tsx +17 -6
- package/src/components/tree/components/VirtualTreeListComponent.tsx +71 -98
- package/src/components/tree/hooks/useTreeController.ts +10 -25
- package/src/components/tree/hooks/useTreeItemContext.ts +7 -0
- package/src/components/tree/index.tsx +1 -1
- package/src/components/tree/style.ts +4 -0
- package/src/components/tree/typings.ts +20 -12
- package/src/components/tree/util.ts +74 -17
- package/src/components/wizard/components/WizardModalComponent.tsx +1 -1
- package/src/components/wizard/style.ts +5 -5
- package/src/components/wizard/typings.ts +1 -0
- package/src/index.ts +46 -12
- package/src/styles/typings.ts +5 -0
- package/src/theme/base.tsx +10 -5
- package/src/utils/event.ts +23 -6
- package/dist/components/select/components/ControllerSelectComponent.d.ts +0 -4
- package/dist/components/table/columns/useCheckboxColumn.d.ts +0 -3
- package/dist/components/table/columns/useColumn.d.ts +0 -3
- package/dist/components/table/columns/useInputColumn.d.ts +0 -3
- package/dist/components/table/columns/useLinkColumn.d.ts +0 -3
- package/dist/components/table/columns/useSelectColumn.d.ts +0 -4
- package/dist/components/table/columns/useTextareaColumn.d.ts +0 -3
- package/src/components/table/columns/useCheckboxColumn.ts +0 -25
- package/src/components/table/columns/useColumn.ts +0 -23
- package/src/components/table/columns/useInputColumn.ts +0 -24
- package/src/components/table/columns/useLinkColumn.ts +0 -19
- package/src/components/table/columns/useSelectColumn.ts +0 -36
- package/src/components/table/columns/useTextareaColumn.ts +0 -24
|
@@ -3,11 +3,13 @@ export declare type AccordionPanelProps<T = string> = {
|
|
|
3
3
|
initialActive?: boolean;
|
|
4
4
|
title: T;
|
|
5
5
|
Component?: FCC<AccordionPanelTitleProps<T>>;
|
|
6
|
+
link?: string;
|
|
6
7
|
};
|
|
7
8
|
export declare type AccordionPanelTitleProps<T = string> = {
|
|
8
9
|
title: T;
|
|
9
10
|
active: boolean;
|
|
10
11
|
onClick: AnyFunction;
|
|
12
|
+
link?: string;
|
|
11
13
|
};
|
|
12
14
|
export declare type AccordionPanelState = {
|
|
13
15
|
active: boolean;
|
|
@@ -23,7 +25,7 @@ export declare type AccordionProps = {
|
|
|
23
25
|
/**
|
|
24
26
|
* a flag to indicate if the border is visible or not
|
|
25
27
|
*
|
|
26
|
-
* @example
|
|
28
|
+
* @example false
|
|
27
29
|
* @defaultValue true
|
|
28
30
|
*/
|
|
29
31
|
border?: boolean;
|
|
@@ -37,9 +39,17 @@ export declare type AccordionProps = {
|
|
|
37
39
|
* @defaultValue 150
|
|
38
40
|
*/
|
|
39
41
|
animate?: number;
|
|
42
|
+
/**
|
|
43
|
+
* push means that the height of the accordion panel is derived from the height of its content
|
|
44
|
+
* pushToBottom means that the height of the accordion panel is the remaining space given by the accordion's container after removing the space taken by the other accordion panel titles (do not work if multiActive is true)
|
|
45
|
+
*
|
|
46
|
+
* @defaultValue push
|
|
47
|
+
*/
|
|
48
|
+
mode?: 'push' | 'pushToBottom';
|
|
40
49
|
};
|
|
41
50
|
export declare type AccordionState = {
|
|
42
51
|
panels: AnonymousObject<AccordionPanelState>;
|
|
43
52
|
multiActive?: boolean;
|
|
44
53
|
animate: number;
|
|
54
|
+
mode?: 'push' | 'pushToBottom';
|
|
45
55
|
};
|
|
@@ -14,6 +14,6 @@ export interface SubmitButtonProps extends ButtonProps {
|
|
|
14
14
|
export interface DropDownButtonProps extends ButtonProps, DropdownProps {
|
|
15
15
|
attachDropdownToBody?: boolean;
|
|
16
16
|
listElement: ReactNode;
|
|
17
|
-
onDrop
|
|
18
|
-
onCollapse
|
|
17
|
+
onDrop?: AnyFunction;
|
|
18
|
+
onCollapse?: AnyFunction;
|
|
19
19
|
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { DashboardBodyPanel, DashboardHorizontalArea, DashboardHorizontalPanel, DashboardVerticalArea, DashboardVerticalPanel } from '../typings';
|
|
2
|
+
export declare const useDashboardHorizontalPanel: (area: DashboardHorizontalArea) => DashboardHorizontalPanel | undefined;
|
|
3
|
+
export declare const useDashboardVerticalPanel: (area: DashboardVerticalArea) => DashboardVerticalPanel | undefined;
|
|
4
|
+
export declare const useDashoardBodyPanel: () => DashboardBodyPanel | undefined;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { StylableProps } from '../../styles/typings';
|
|
2
3
|
export declare type DashboardArea = DashboardHorizontalArea | DashboardVerticalArea | 'body' | 'none';
|
|
3
4
|
export declare type DashboardBodyComponentProps = {
|
|
4
5
|
className?: string;
|
|
@@ -43,7 +44,7 @@ declare type DashboardHorizontalProps = {
|
|
|
43
44
|
minHeight?: string | 0;
|
|
44
45
|
};
|
|
45
46
|
export declare type DashboardHorizontalPanelProps = DashboardSidePanelProps & DashboardHorizontalProps;
|
|
46
|
-
export declare type DashboardProps = {
|
|
47
|
+
export declare type DashboardProps = StylableProps & {
|
|
47
48
|
ContainerComponent?: React.FC<DashboardContainerProps>;
|
|
48
49
|
OverlayComponent?: React.FC<DashboardOverlayProps>;
|
|
49
50
|
};
|
|
@@ -64,6 +65,7 @@ export declare type DashboardSidePanelProps = {
|
|
|
64
65
|
floatingMedium?: boolean;
|
|
65
66
|
floatingLarge?: boolean;
|
|
66
67
|
resizable?: boolean;
|
|
68
|
+
resizerGap?: number;
|
|
67
69
|
};
|
|
68
70
|
export declare type DashboardSize = 'small' | 'medium' | 'large';
|
|
69
71
|
export declare type DashboardState = {
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
<T = any, I extends import("./typings").ListItem<T> = import("./typings").ListItem<T>>(props: import("./typings").ListProps<T, I, import("./typings").ListState<T, I>, import("./typings").ListCollection<T, I, import("./typings").ListState<T, I>>>): JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { ArrayListProps } from '../typings';
|
|
3
|
-
declare const ArrayListComponent:
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ArrayListProps, ListItem } from '../typings';
|
|
3
|
+
declare const ArrayListComponent: <T = any, I extends ListItem<T> = ListItem<T>>(props: ArrayListProps<T, I>) => JSX.Element;
|
|
4
4
|
export default ArrayListComponent;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { CollectionListProps } from '../typings';
|
|
3
|
-
declare const CollectionListComponent:
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CollectionListProps, ListItem } from '../typings';
|
|
3
|
+
declare const CollectionListComponent: <T = any, I extends ListItem<T> = ListItem<T>>({ className, controller, height, ItemComponent, ItemLoadingComponent, ItemContentComponent, NotFoundComponent, itemHeight, preload, keyboardNavigable, increment, multiSelect, onItemActivate, onItemHighlight, onItemSelect, onItemDeactivate, onItemUnhighlight, onItemUnselect, paddingEnd, paddingStart, virtual, style, }: CollectionListProps<T, I, import("../typings").ListState<T, I>, import("../typings").ListCollection<T, I, import("../typings").ListState<T, I>>>) => JSX.Element;
|
|
4
4
|
export default CollectionListComponent;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { ListBodyProps } from '../typings';
|
|
3
|
-
declare const ListBodyComponent:
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ListBodyProps, ListItem } from '../typings';
|
|
3
|
+
declare const ListBodyComponent: <T = any, I extends ListItem<T> = ListItem<T>>({ bodyRef, className, height, items, ItemComponent, ItemLoadingComponent, ItemContentComponent, NotFoundComponent, keyboardNavigable, ListComponent, multiSelect, onItemActivate, onItemDeactivate, onItemSelect, onItemUnselect, onItemHighlight, onItemUnhighlight, parentRef, scrollToIndex, service, state, style, totalSize, virtualItems, VirtualListComponent, LoadingComponent, }: ListBodyProps<T, I, import("../typings").ListState<T, I>, import("../typings").ListCollection<T, I, import("../typings").ListState<T, I>>>) => JSX.Element | null;
|
|
4
4
|
export default ListBodyComponent;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import { ListProps } from '../typings';
|
|
3
|
-
declare const
|
|
4
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ListItem, ListProps } from '../typings';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
<T = any, I extends ListItem<T> = ListItem<T>>(props: ListProps<T, I, import("../typings").ListState<T, I>, import("../typings").ListCollection<T, I, import("../typings").ListState<T, I>>>): JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ListItem, ListItemProps } from '../typings';
|
|
3
|
+
export declare const ListItemContent: <T = any, I extends ListItem<T> = ListItem<T>>({ item }: ListItemProps<T, I>) => JSX.Element;
|
|
4
|
+
declare const _default: {
|
|
5
|
+
<T = any, I extends ListItem<T> = ListItem<T>>(props: ListItemProps<T, I>): JSX.Element;
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { StandardListProps } from '../typings';
|
|
3
|
-
declare const StandardListComponent:
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ListItem, StandardListProps } from '../typings';
|
|
3
|
+
declare const StandardListComponent: <T = any, I extends ListItem<T> = ListItem<T>>({ items, ItemComponent, ItemLoadingComponent, ItemContentComponent, onItemClick, onItemMouseEnter, onItemMouseLeave, }: StandardListProps<T, I>) => JSX.Element;
|
|
4
4
|
export default StandardListComponent;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { VirtualListProps } from '../typings';
|
|
3
|
-
declare const VirtualListComponent:
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ListItem, VirtualListProps } from '../typings';
|
|
3
|
+
declare const VirtualListComponent: <T = any, I extends ListItem<T> = ListItem<T>>({ items, ItemComponent, ItemLoadingComponent, ItemContentComponent, onItemClick, onItemMouseEnter, onItemMouseLeave, virtualItems, }: VirtualListProps<T, I>) => JSX.Element;
|
|
4
4
|
export default VirtualListComponent;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { CollectionProxy, CollectionService } from 'onekijs-framework';
|
|
2
2
|
import { ListItem, ListState, UseListOptions } from '../typings';
|
|
3
|
-
declare const useListController: <T = any>(dataSource: string | T[], options?: UseListOptions<T,
|
|
3
|
+
declare const useListController: <T = any, I extends ListItem<T> = ListItem<T>>(dataSource: string | T[], options?: UseListOptions<T, I>) => CollectionProxy<T, I, ListState<T, I>, CollectionService<T, I, ListState<T, I>>>;
|
|
4
4
|
export default useListController;
|
|
@@ -6,6 +6,8 @@ declare const useListView: <T = any, I extends Item<T> = Item<T>>(props: Pick<Co
|
|
|
6
6
|
controller: ListCollection<T, I>;
|
|
7
7
|
scrollToFn?: (offset: number, defaultScrollToFn?: (offset: number) => void) => void;
|
|
8
8
|
keyExtractor?: (index: number) => number | string;
|
|
9
|
+
paddingEnd?: number;
|
|
10
|
+
paddingStart?: number;
|
|
9
11
|
}) => {
|
|
10
12
|
isVirtual: boolean;
|
|
11
13
|
items: (I | undefined)[];
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const
|
|
3
|
-
|
|
2
|
+
declare const _default: {
|
|
3
|
+
<T = any, I extends import("./typings").ListItem<T> = import("./typings").ListItem<T>>(props: import("./typings").ListProps<T, I, import("./typings").ListState<T, I>, import("./typings").ListCollection<T, I, import("./typings").ListState<T, I>>>): JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
@@ -46,14 +46,15 @@ export interface ListItemProps<T = any, I extends ListItem<T> = ListItem<T>> {
|
|
|
46
46
|
item: I;
|
|
47
47
|
data: T;
|
|
48
48
|
ItemContentComponent?: FC<ListItemProps<T, I>>;
|
|
49
|
-
onClick?:
|
|
49
|
+
onClick?: (item: I, index: number) => boolean | void;
|
|
50
50
|
onMouseEnter?: ListItemHandler<T, I>;
|
|
51
51
|
onMouseLeave?: ListItemHandler<T, I>;
|
|
52
|
+
className?: string;
|
|
52
53
|
}
|
|
53
54
|
export declare type ListItems<T = any, I extends ListItem<T> = ListItem<T>> = T[] | ListCollection<T, I>;
|
|
54
55
|
export declare type ListConfig<T = any, I extends ListItem<T> = ListItem<T>> = {
|
|
55
56
|
className?: string;
|
|
56
|
-
height?:
|
|
57
|
+
height?: string | number;
|
|
57
58
|
increment?: number;
|
|
58
59
|
ItemLoadingComponent?: FC;
|
|
59
60
|
ItemComponent?: FC<ListItemProps<T, I>>;
|
|
@@ -69,6 +70,8 @@ export declare type ListConfig<T = any, I extends ListItem<T> = ListItem<T>> = {
|
|
|
69
70
|
onItemUnhighlight?: ListItemHandler<T, I>;
|
|
70
71
|
onItemSelect?: ListItemHandler<T, I>;
|
|
71
72
|
onItemUnselect?: ListItemHandler<T, I>;
|
|
73
|
+
paddingEnd?: number;
|
|
74
|
+
paddingStart?: number;
|
|
72
75
|
overscan?: number;
|
|
73
76
|
preload?: number;
|
|
74
77
|
style?: React.CSSProperties;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Notification } from 'onekijs-framework';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
export declare type NotificationsProps = {
|
|
4
|
+
animate?: number;
|
|
5
|
+
className?: string;
|
|
6
|
+
NotificationComponent?: FC<NotificationProps>;
|
|
7
|
+
max?: number;
|
|
8
|
+
position?: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
9
|
+
showTimer?: boolean;
|
|
10
|
+
topics?: string[];
|
|
11
|
+
};
|
|
12
|
+
export declare type NotificationProps = {
|
|
13
|
+
className?: string;
|
|
14
|
+
notification: Notification;
|
|
15
|
+
index: number;
|
|
16
|
+
showTimer?: boolean;
|
|
17
|
+
};
|
|
@@ -12,10 +12,12 @@ export interface ResizerProps {
|
|
|
12
12
|
maxWidth?: string | 0;
|
|
13
13
|
minHeight?: string | 0;
|
|
14
14
|
maxHeight?: string | 0;
|
|
15
|
+
gap?: number;
|
|
15
16
|
}
|
|
16
17
|
export interface ResizeSplitterProps {
|
|
17
18
|
onResize: ResizerHandler;
|
|
18
19
|
target: React.RefObject<HTMLDivElement>;
|
|
20
|
+
gap: number;
|
|
19
21
|
}
|
|
20
22
|
export interface ResizeVerticalSplitterProps extends ResizeSplitterProps {
|
|
21
23
|
handle: ResizerVerticalHandle;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { FormSelectProps, SelectItem } from './typings';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
<T = any, I extends SelectItem<T> = SelectItem<T>>(props: FormSelectProps<T, I>): JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { AnonymousObject, CollectionFetcherResult, CollectionService, Query } from 'onekijs-framework';
|
|
2
|
-
import { SelectConfig,
|
|
3
|
-
declare class SelectService<T = any, I extends SelectItem<T> = SelectItem<T>, S extends SelectState<T, I> = SelectState<T, I>> extends CollectionService<T, I, S>
|
|
2
|
+
import { SelectConfig, SelectItem, SelectState } from './typings';
|
|
3
|
+
declare class SelectService<T = any, I extends SelectItem<T> = SelectItem<T>, S extends SelectState<T, I> = SelectState<T, I>> extends CollectionService<T, I, S> {
|
|
4
4
|
config: SelectConfig<T, I> | undefined;
|
|
5
5
|
protected lastCheckQuery: Query | undefined;
|
|
6
6
|
get defaultValue(): T | T[] | null | undefined;
|
|
7
|
-
check(): Generator<void | import("redux-saga/effects").AllEffect<import("redux-saga/effects").CallEffect<Generator<Generator<void | AnonymousObject<any>, CollectionFetcherResult<T>, (import("redux-saga").Task<any> | null) & CollectionFetcherResult<T> & (CollectionFetcherResult<T> | undefined)>, I | undefined, CollectionFetcherResult<T>>>> | import("redux-saga/effects").AllEffect<Generator<Generator<void | AnonymousObject<any>, CollectionFetcherResult<T>, (import("redux-saga").Task<any> | null) & CollectionFetcherResult<T> & (CollectionFetcherResult<T> | undefined)>, I | undefined, CollectionFetcherResult<T
|
|
8
|
-
setData(data: T[]): void;
|
|
9
|
-
setDefaultValue(value: T | T[] | null | undefined): Generator<void | Generator<void | import("redux-saga/effects").AllEffect<import("redux-saga/effects").CallEffect<Generator<Generator<void | AnonymousObject<any>, CollectionFetcherResult<T>, (import("redux-saga").Task<any> | null) & CollectionFetcherResult<T> & (CollectionFetcherResult<T> | undefined)>, I | undefined, CollectionFetcherResult<T>>>> | import("redux-saga/effects").AllEffect<Generator<Generator<void | AnonymousObject<any>, CollectionFetcherResult<T>, (import("redux-saga").Task<any> | null) & CollectionFetcherResult<T> & (CollectionFetcherResult<T> | undefined)>, I | undefined, CollectionFetcherResult<T
|
|
7
|
+
check(): Generator<void | import("redux-saga/effects").AllEffect<import("redux-saga/effects").CallEffect<Generator<I[] | Generator<void | AnonymousObject<any>, CollectionFetcherResult<T>, (import("redux-saga").Task<any> | null) & CollectionFetcherResult<T> & (CollectionFetcherResult<T> | undefined)>, I | undefined, I[] & CollectionFetcherResult<T>>>> | import("redux-saga/effects").AllEffect<Generator<I[] | Generator<void | AnonymousObject<any>, CollectionFetcherResult<T>, (import("redux-saga").Task<any> | null) & CollectionFetcherResult<T> & (CollectionFetcherResult<T> | undefined)>, I | undefined, I[] & CollectionFetcherResult<T>>> | import("redux-saga/effects").CallEffect<void>, void, (I | undefined)[]>;
|
|
8
|
+
setData(data: T[], query?: Query): void;
|
|
9
|
+
setDefaultValue(value: T | T[] | null | undefined): Generator<void | Generator<void | import("redux-saga/effects").AllEffect<import("redux-saga/effects").CallEffect<Generator<I[] | Generator<void | AnonymousObject<any>, CollectionFetcherResult<T>, (import("redux-saga").Task<any> | null) & CollectionFetcherResult<T> & (CollectionFetcherResult<T> | undefined)>, I | undefined, I[] & CollectionFetcherResult<T>>>> | import("redux-saga/effects").AllEffect<Generator<I[] | Generator<void | AnonymousObject<any>, CollectionFetcherResult<T>, (import("redux-saga").Task<any> | null) & CollectionFetcherResult<T> & (CollectionFetcherResult<T> | undefined)>, I | undefined, I[] & CollectionFetcherResult<T>>> | import("redux-saga/effects").CallEffect<void>, void, (I | undefined)[]>, void, unknown>;
|
|
10
10
|
setValue(value: null | T | T[]): void;
|
|
11
|
-
setUrl(url: string): void;
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
setUrl(url: string, query?: Query): void;
|
|
12
|
+
_buildItem(data: T | null | undefined, adaptee: unknown, context?: AnonymousObject): I;
|
|
13
|
+
_filterItem(item: I | undefined, query: Query, valid: boolean): Generator<I[] | Generator<void | AnonymousObject<any>, CollectionFetcherResult<T>, (import("redux-saga").Task<any> | null) & CollectionFetcherResult<T> & (CollectionFetcherResult<T> | undefined)>, I | undefined, I[] & CollectionFetcherResult<T>>;
|
|
14
14
|
_setDefaultValue(value: T | T[] | null | undefined): void;
|
|
15
15
|
_setValidDefaultValue(value: T | T[] | null): void;
|
|
16
16
|
_setInvalidItems(invalidItems: I[]): void;
|
|
17
|
-
|
|
17
|
+
_setItems(items: (I | undefined)[]): void;
|
|
18
18
|
}
|
|
19
19
|
export default SelectService;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
<T = any, I extends import("./typings").TreeSelectItem<T> = import("./typings").TreeSelectItem<T>, S extends import("./typings").TreeSelectState<T, I> = import("./typings").TreeSelectState<T, I>, C extends import("./typings").TreeSelectController<T, I, S> = import("./typings").TreeSelectController<T, I, S>>(props: import("./typings").TreeSelectProps<T, I, S, C>): JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CollectionService } from 'onekijs-framework';
|
|
2
|
+
import TreeService from '../tree/TreeService';
|
|
3
|
+
import SelectService from './SelectService';
|
|
4
|
+
import { TreeSelectItem, TreeSelectState } from './typings';
|
|
5
|
+
declare class TreeSelectService<T = any, I extends TreeSelectItem<T> = TreeSelectItem<T>, S extends TreeSelectState<T, I> = TreeSelectState<T, I>> extends CollectionService<T, I, S> {
|
|
6
|
+
}
|
|
7
|
+
interface TreeSelectService<T = any, I extends TreeSelectItem<T> = TreeSelectItem<T>, S extends TreeSelectState<T, I> = TreeSelectState<T, I>> extends SelectService<T, I, S>, TreeService<T, I, S> {
|
|
8
|
+
}
|
|
9
|
+
export default TreeSelectService;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
declare const ArraySelectComponent: FC<ArraySelectProps>;
|
|
1
|
+
import { ArraySelectProps, SelectItem } from '../typings';
|
|
2
|
+
declare const ArraySelectComponent: <T = any, I extends SelectItem<T> = SelectItem<T>>(props: ArraySelectProps<T, I>) => JSX.Element;
|
|
4
3
|
export default ArraySelectComponent;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ControllerSelectProps, SelectController, SelectItem, SelectState } from '../typings';
|
|
2
|
+
declare const ControlledSelectComponent: <T = any, I extends SelectItem<T> = SelectItem<T>, S extends SelectState<T, I> = SelectState<T, I>, C extends SelectController<T, I, S> = SelectController<T, I, S>>({ attachDropdownToBody, className, placeholder, controller, InputComponent, IconComponent, OptionContentComponent, OptionComponent, OptionLoadingComponent, MultiOptionsComponent, NotFoundComponent, autoFocus, value, onChange, onBlur: forwardBlur, onFocus: forwardFocus, height, multiple, status, size, nullable, minChars, openOnFocus, searchable, dropdownWidthModifier, preload, increment, animationMs, disabled, defaultValue, required, sameWidth, overscan, clickable, ListComponent, autoCompleteSearch, }: ControllerSelectProps<T, I, S, C>) => JSX.Element;
|
|
3
|
+
export default ControlledSelectComponent;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ControllerTreeSelectProps, TreeSelectController, TreeSelectItem, TreeSelectState } from '../typings';
|
|
3
|
+
export declare const TreeSelectPropsContext: React.Context<ControllerTreeSelectProps<any, any, any, any>>;
|
|
4
|
+
export declare const useTreeSelectPropsContext: <T = any, I extends TreeSelectItem<T> = TreeSelectItem<T>, S extends TreeSelectState<T, I> = TreeSelectState<T, I>, C extends TreeSelectController<T, I, S> = TreeSelectController<T, I, S>>() => ControllerTreeSelectProps<T, I, S, C>;
|
|
5
|
+
declare const ControlledTreeSelectComponent: <T = any, I extends TreeSelectItem<T> = TreeSelectItem<T>, S extends TreeSelectState<T, I> = TreeSelectState<T, I>, C extends TreeSelectController<T, I, S> = TreeSelectController<T, I, S>>(props: ControllerTreeSelectProps<T, I, S, C>) => JSX.Element;
|
|
6
|
+
export default ControlledTreeSelectComponent;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SelectController, SelectItem, SelectProps, SelectState } from '../typings';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
<T = any, I extends SelectItem<T> = SelectItem<T>, S extends SelectState<T, I> = SelectState<T, I>, C extends SelectController<T, I, S> = SelectController<T, I, S>>(props: SelectProps<T, I, S, C>): JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export default SelectInputComponent;
|
|
2
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<HTMLDivElement>>;
|
|
3
|
+
export default _default;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { ListItemProps } from '../../list/typings';
|
|
2
|
+
import { SelectItem } from '../typings';
|
|
3
|
+
export declare const SelectOptionContent: <T, I extends SelectItem<T> = SelectItem<T>>({ item }: ListItemProps<T, I>) => JSX.Element;
|
|
4
|
+
export declare const SelectOptionGroup: <T, I extends SelectItem<T> = SelectItem<T>>({ item }: ListItemProps<T, I>) => JSX.Element;
|
|
5
|
+
declare const _default: {
|
|
6
|
+
<T, I extends SelectItem<T> = SelectItem<T>>(props: ListItemProps<T, I>): JSX.Element | null;
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
9
|
+
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SelectItem, SelectTokenProps } from '../typings';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
<T, I extends SelectItem<T> = SelectItem<T>>({ token, onRemove, index, }: SelectTokenProps<T, I>): JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { SelectItem, SelectTokensProps } from '../typings';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
<T, I extends SelectItem<T> = SelectItem<T>>({ tokens, onRemove, }: SelectTokensProps<T, I>): JSX.Element | null;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TreeSelectController, TreeSelectItem, TreeSelectProps, TreeSelectState } from '../typings';
|
|
2
|
+
declare const _default: {
|
|
3
|
+
<T = any, I extends TreeSelectItem<T> = TreeSelectItem<T>, S extends TreeSelectState<T, I> = TreeSelectState<T, I>, C extends TreeSelectController<T, I, S> = TreeSelectController<T, I, S>>(props: TreeSelectProps<T, I, S, C>): JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
@@ -2,5 +2,5 @@ import { CollectionProxy } from 'onekijs-framework';
|
|
|
2
2
|
import { UseListOptions } from '../../list/typings';
|
|
3
3
|
import SelectService from '../SelectService';
|
|
4
4
|
import { SelectItem, SelectState } from '../typings';
|
|
5
|
-
declare const useSelectController: <T = any, I extends SelectItem<T> = SelectItem<T>>(dataSource: string | T[] | undefined, options?: UseListOptions<T, I>) => CollectionProxy<T, I, SelectState<T, I>, SelectService<T, I, SelectState<T, I>>>;
|
|
5
|
+
declare const useSelectController: <T = any, I extends SelectItem<T> = SelectItem<T>>(dataSource: string | T[] | [T, string][] | undefined, options?: UseListOptions<T, I>) => CollectionProxy<T, I, SelectState<T, I>, SelectService<T, I, SelectState<T, I>>>;
|
|
6
6
|
export default useSelectController;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CollectionProxy } from 'onekijs-framework';
|
|
2
|
+
import { UseTreeOptions } from '../../tree/typings';
|
|
3
|
+
import TreeSelectService from '../TreeSelectService';
|
|
4
|
+
import { TreeSelectItem, TreeSelectState } from '../typings';
|
|
5
|
+
declare const useTreeSelectController: <T = any, I extends TreeSelectItem<T> = TreeSelectItem<T>>(dataSource: string | T[] | undefined, options?: UseTreeOptions<T, I>) => CollectionProxy<T, I, TreeSelectState<T, I>, TreeSelectService<T, I, TreeSelectState<T, I>>>;
|
|
6
|
+
export default useTreeSelectController;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TreeSelectController, TreeSelectItem } from '../typings';
|
|
3
|
+
export declare const TreeSelectServiceContext: React.Context<TreeSelectController<any, any, import("../typings").TreeSelectState<any, any>>>;
|
|
4
|
+
export declare const useTreeSelectService: <T = any, I extends TreeSelectItem<T> = TreeSelectItem<T>>() => TreeSelectController<T, I, import("../typings").TreeSelectState<T, I>>;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const
|
|
3
|
-
|
|
2
|
+
declare const _default: {
|
|
3
|
+
<T = any, I extends import("./typings").SelectItem<T> = import("./typings").SelectItem<T>, S extends import("./typings").SelectState<T, I> = import("./typings").SelectState<T, I>, C extends import("./typings").SelectController<T, I, S> = import("./typings").SelectController<T, I, S>>(props: import("./typings").SelectProps<T, I, S, C>): JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|