amis 1.6.0 → 1.6.1-beta.2
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/lib/components/Alert.d.ts +588 -588
- package/lib/components/Alert2.d.ts +125 -20
- package/lib/components/AnchorNav.d.ts +104 -20
- package/lib/components/ArrayInput.d.ts +420 -420
- package/lib/components/AsideNav.d.ts +125 -125
- package/lib/components/AssociatedSelection.d.ts +504 -504
- package/lib/components/Avatar.d.ts +461 -20
- package/lib/components/Button.d.ts +167 -20
- package/lib/components/CalendarMobile.d.ts +420 -84
- package/lib/components/Card.d.ts +671 -20
- package/lib/components/ChainedSelection.d.ts +504 -504
- package/lib/components/Checkbox.d.ts +104 -20
- package/lib/components/Collapse.d.ts +587 -20
- package/lib/components/CollapseGroup.d.ts +230 -20
- package/lib/components/ColorPicker.d.ts +504 -504
- package/lib/components/DatePicker.d.ts +588 -588
- package/lib/components/DateRangePicker.d.ts +1008 -1008
- package/lib/components/Drawer.d.ts +125 -20
- package/lib/components/Editor.d.ts +840 -672
- package/lib/components/GroupedSelection.d.ts +504 -504
- package/lib/components/Html.d.ts +62 -62
- package/lib/components/InputBox.d.ts +83 -83
- package/lib/components/Layout.d.ts +146 -146
- package/lib/components/ListGroup.d.ts +62 -62
- package/lib/components/ListMenu.d.ts +504 -504
- package/lib/components/LocationPicker.d.ts +336 -336
- package/lib/components/Modal.d.ts +420 -420
- package/lib/components/MonthRangePicker.d.ts +924 -924
- package/lib/components/NumberInput.d.ts +104 -20
- package/lib/components/PopUp.d.ts +672 -672
- package/lib/components/Progress.d.ts +440 -20
- package/lib/components/Radios.d.ts +167 -167
- package/lib/components/Rating.d.ts +272 -314
- package/lib/components/ResultBox.d.ts +504 -84
- package/lib/components/ResultList.d.ts +336 -84
- package/lib/components/SearchBox.d.ts +336 -336
- package/lib/components/Select.d.ts +4977 -4977
- package/lib/components/Selection.d.ts +504 -504
- package/lib/components/SparkLine.d.ts +336 -336
- package/lib/components/Spinner.d.ts +146 -146
- package/lib/components/Switch.d.ts +83 -83
- package/lib/components/TableSelection.d.ts +672 -672
- package/lib/components/Tabs.d.ts +83 -20
- package/lib/components/TitleBar.d.ts +146 -125
- package/lib/components/Toast.d.ts +504 -84
- package/lib/components/TooltipWrapper.d.ts +125 -20
- package/lib/components/Transfer.d.ts +252 -84
- package/lib/components/TransferDropDown.d.ts +252 -84
- package/lib/components/Tree.d.ts +2688 -2688
- package/lib/components/TreeSelection.d.ts +588 -588
- package/lib/components/formula/Editor.d.ts +420 -84
- package/lib/index.js +1 -1
- package/lib/renderers/Dialog.d.ts +420 -420
- package/lib/renderers/Form/InputCity.d.ts +672 -672
- package/lib/renderers/Form/InputColor.d.ts +504 -504
- package/lib/renderers/Nav.d.ts +62 -62
- package/package.json +1 -1
- package/sdk/ang-ie11.css +1 -0
- package/sdk/ang.css +1 -0
- package/sdk/antd-ie11.css +1 -0
- package/sdk/antd.css +1 -0
- package/sdk/charts.js +14 -14
- package/sdk/codemirror.js +7 -7
- package/sdk/color-picker.js +65 -65
- package/sdk/cropperjs.js +2 -2
- package/sdk/cxd-ie11.css +1 -0
- package/sdk/cxd.css +1 -0
- package/sdk/dark-ie11.css +1 -0
- package/sdk/dark.css +1 -0
- package/sdk/exceljs.js +1 -1
- package/sdk/markdown.js +69 -69
- package/sdk/papaparse.js +3 -3
- package/sdk/renderers/Form/CityDB.js +1 -1
- package/sdk/rest.js +18 -18
- package/sdk/rich-text.js +62 -62
- package/sdk/sdk-ie11.css +1 -0
- package/sdk/sdk.css +1 -0
- package/sdk/sdk.js +1318 -1253
- package/sdk/thirds/hls.js/hls.js +1 -1
- package/sdk/thirds/mpegts.js/mpegts.js +1 -1
- package/sdk/tinymce.js +57 -57
|
@@ -29,12 +29,32 @@ export declare class Alert extends React.Component<AlertProps, AlertState> {
|
|
|
29
29
|
render(): JSX.Element | null;
|
|
30
30
|
}
|
|
31
31
|
declare const _default: {
|
|
32
|
-
new (props: (Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> &
|
|
32
|
+
new (props: (Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> & {
|
|
33
|
+
level?: "success" | "warning" | "info" | "danger" | undefined;
|
|
34
|
+
showCloseButton?: boolean | undefined;
|
|
35
|
+
} & {
|
|
36
|
+
className?: string | undefined;
|
|
37
|
+
} & import("../theme").ThemeOutterProps) | Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> & {
|
|
38
|
+
level?: "success" | "warning" | "info" | "danger" | undefined;
|
|
39
|
+
showCloseButton?: boolean | undefined;
|
|
40
|
+
} & {
|
|
41
|
+
className?: string | undefined;
|
|
42
|
+
} & import("../theme").ThemeOutterProps>): {
|
|
33
43
|
render(): JSX.Element;
|
|
34
44
|
context: any;
|
|
35
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> &
|
|
45
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> & {
|
|
46
|
+
level?: "success" | "warning" | "info" | "danger" | undefined;
|
|
47
|
+
showCloseButton?: boolean | undefined;
|
|
48
|
+
} & {
|
|
49
|
+
className?: string | undefined;
|
|
50
|
+
} & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
36
51
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
37
|
-
readonly props: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> &
|
|
52
|
+
readonly props: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> & {
|
|
53
|
+
level?: "success" | "warning" | "info" | "danger" | undefined;
|
|
54
|
+
showCloseButton?: boolean | undefined;
|
|
55
|
+
} & {
|
|
56
|
+
className?: string | undefined;
|
|
57
|
+
} & import("../theme").ThemeOutterProps> & Readonly<{
|
|
38
58
|
children?: React.ReactNode;
|
|
39
59
|
}>;
|
|
40
60
|
state: Readonly<{}>;
|
|
@@ -42,24 +62,74 @@ declare const _default: {
|
|
|
42
62
|
[key: string]: React.ReactInstance;
|
|
43
63
|
};
|
|
44
64
|
componentDidMount?(): void;
|
|
45
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> &
|
|
65
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> & {
|
|
66
|
+
level?: "success" | "warning" | "info" | "danger" | undefined;
|
|
67
|
+
showCloseButton?: boolean | undefined;
|
|
68
|
+
} & {
|
|
69
|
+
className?: string | undefined;
|
|
70
|
+
} & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
46
71
|
componentWillUnmount?(): void;
|
|
47
72
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
48
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> &
|
|
49
|
-
|
|
73
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> & {
|
|
74
|
+
level?: "success" | "warning" | "info" | "danger" | undefined;
|
|
75
|
+
showCloseButton?: boolean | undefined;
|
|
76
|
+
} & {
|
|
77
|
+
className?: string | undefined;
|
|
78
|
+
} & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
|
79
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> & {
|
|
80
|
+
level?: "success" | "warning" | "info" | "danger" | undefined;
|
|
81
|
+
showCloseButton?: boolean | undefined;
|
|
82
|
+
} & {
|
|
83
|
+
className?: string | undefined;
|
|
84
|
+
} & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
50
85
|
componentWillMount?(): void;
|
|
51
86
|
UNSAFE_componentWillMount?(): void;
|
|
52
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> &
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
87
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> & {
|
|
88
|
+
level?: "success" | "warning" | "info" | "danger" | undefined;
|
|
89
|
+
showCloseButton?: boolean | undefined;
|
|
90
|
+
} & {
|
|
91
|
+
className?: string | undefined;
|
|
92
|
+
} & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
|
93
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> & {
|
|
94
|
+
level?: "success" | "warning" | "info" | "danger" | undefined;
|
|
95
|
+
showCloseButton?: boolean | undefined;
|
|
96
|
+
} & {
|
|
97
|
+
className?: string | undefined;
|
|
98
|
+
} & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
|
99
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> & {
|
|
100
|
+
level?: "success" | "warning" | "info" | "danger" | undefined;
|
|
101
|
+
showCloseButton?: boolean | undefined;
|
|
102
|
+
} & {
|
|
103
|
+
className?: string | undefined;
|
|
104
|
+
} & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
105
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> & {
|
|
106
|
+
level?: "success" | "warning" | "info" | "danger" | undefined;
|
|
107
|
+
showCloseButton?: boolean | undefined;
|
|
108
|
+
} & {
|
|
109
|
+
className?: string | undefined;
|
|
110
|
+
} & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
56
111
|
};
|
|
57
|
-
new (props: Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> &
|
|
112
|
+
new (props: Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> & {
|
|
113
|
+
level?: "success" | "warning" | "info" | "danger" | undefined;
|
|
114
|
+
showCloseButton?: boolean | undefined;
|
|
115
|
+
} & {
|
|
116
|
+
className?: string | undefined;
|
|
117
|
+
} & import("../theme").ThemeOutterProps, context: any): {
|
|
58
118
|
render(): JSX.Element;
|
|
59
119
|
context: any;
|
|
60
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> &
|
|
120
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> & {
|
|
121
|
+
level?: "success" | "warning" | "info" | "danger" | undefined;
|
|
122
|
+
showCloseButton?: boolean | undefined;
|
|
123
|
+
} & {
|
|
124
|
+
className?: string | undefined;
|
|
125
|
+
} & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
61
126
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
62
|
-
readonly props: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> &
|
|
127
|
+
readonly props: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> & {
|
|
128
|
+
level?: "success" | "warning" | "info" | "danger" | undefined;
|
|
129
|
+
showCloseButton?: boolean | undefined;
|
|
130
|
+
} & {
|
|
131
|
+
className?: string | undefined;
|
|
132
|
+
} & import("../theme").ThemeOutterProps> & Readonly<{
|
|
63
133
|
children?: React.ReactNode;
|
|
64
134
|
}>;
|
|
65
135
|
state: Readonly<{}>;
|
|
@@ -67,17 +137,52 @@ declare const _default: {
|
|
|
67
137
|
[key: string]: React.ReactInstance;
|
|
68
138
|
};
|
|
69
139
|
componentDidMount?(): void;
|
|
70
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> &
|
|
140
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> & {
|
|
141
|
+
level?: "success" | "warning" | "info" | "danger" | undefined;
|
|
142
|
+
showCloseButton?: boolean | undefined;
|
|
143
|
+
} & {
|
|
144
|
+
className?: string | undefined;
|
|
145
|
+
} & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
71
146
|
componentWillUnmount?(): void;
|
|
72
147
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
73
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> &
|
|
74
|
-
|
|
148
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> & {
|
|
149
|
+
level?: "success" | "warning" | "info" | "danger" | undefined;
|
|
150
|
+
showCloseButton?: boolean | undefined;
|
|
151
|
+
} & {
|
|
152
|
+
className?: string | undefined;
|
|
153
|
+
} & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
|
154
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> & {
|
|
155
|
+
level?: "success" | "warning" | "info" | "danger" | undefined;
|
|
156
|
+
showCloseButton?: boolean | undefined;
|
|
157
|
+
} & {
|
|
158
|
+
className?: string | undefined;
|
|
159
|
+
} & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
75
160
|
componentWillMount?(): void;
|
|
76
161
|
UNSAFE_componentWillMount?(): void;
|
|
77
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> &
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
162
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> & {
|
|
163
|
+
level?: "success" | "warning" | "info" | "danger" | undefined;
|
|
164
|
+
showCloseButton?: boolean | undefined;
|
|
165
|
+
} & {
|
|
166
|
+
className?: string | undefined;
|
|
167
|
+
} & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
|
168
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> & {
|
|
169
|
+
level?: "success" | "warning" | "info" | "danger" | undefined;
|
|
170
|
+
showCloseButton?: boolean | undefined;
|
|
171
|
+
} & {
|
|
172
|
+
className?: string | undefined;
|
|
173
|
+
} & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
|
174
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> & {
|
|
175
|
+
level?: "success" | "warning" | "info" | "danger" | undefined;
|
|
176
|
+
showCloseButton?: boolean | undefined;
|
|
177
|
+
} & {
|
|
178
|
+
className?: string | undefined;
|
|
179
|
+
} & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
180
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AlertProps, keyof import("../theme").ThemeProps>, "title" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName" | "onClose"> & {
|
|
181
|
+
level?: "success" | "warning" | "info" | "danger" | undefined;
|
|
182
|
+
showCloseButton?: boolean | undefined;
|
|
183
|
+
} & {
|
|
184
|
+
className?: string | undefined;
|
|
185
|
+
} & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
81
186
|
};
|
|
82
187
|
displayName: string;
|
|
83
188
|
contextType: React.Context<string>;
|
|
@@ -102,12 +102,28 @@ export declare class AnchorNav extends React.Component<AnchorNavProps, AnchorNav
|
|
|
102
102
|
render(): JSX.Element | null;
|
|
103
103
|
}
|
|
104
104
|
declare const _default: {
|
|
105
|
-
new (props: (Pick<Omit<AnchorNavProps, keyof ThemeProps>, "active" | "links" | "onSelect" | "sectionRender"> &
|
|
105
|
+
new (props: (Pick<Omit<AnchorNavProps, keyof ThemeProps>, "active" | "links" | "onSelect" | "sectionRender"> & {
|
|
106
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
107
|
+
linkClassName?: string | undefined;
|
|
108
|
+
sectionClassName?: string | undefined;
|
|
109
|
+
} & {} & import("../theme").ThemeOutterProps) | Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "active" | "links" | "onSelect" | "sectionRender"> & {
|
|
110
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
111
|
+
linkClassName?: string | undefined;
|
|
112
|
+
sectionClassName?: string | undefined;
|
|
113
|
+
} & {} & import("../theme").ThemeOutterProps>): {
|
|
106
114
|
render(): JSX.Element;
|
|
107
115
|
context: any;
|
|
108
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "active" | "links" | "onSelect" | "sectionRender"> &
|
|
116
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "active" | "links" | "onSelect" | "sectionRender"> & {
|
|
117
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
118
|
+
linkClassName?: string | undefined;
|
|
119
|
+
sectionClassName?: string | undefined;
|
|
120
|
+
} & {} & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
109
121
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
110
|
-
readonly props: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "active" | "links" | "onSelect" | "sectionRender"> &
|
|
122
|
+
readonly props: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "active" | "links" | "onSelect" | "sectionRender"> & {
|
|
123
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
124
|
+
linkClassName?: string | undefined;
|
|
125
|
+
sectionClassName?: string | undefined;
|
|
126
|
+
} & {} & import("../theme").ThemeOutterProps> & Readonly<{
|
|
111
127
|
children?: React.ReactNode;
|
|
112
128
|
}>;
|
|
113
129
|
state: Readonly<{}>;
|
|
@@ -115,24 +131,64 @@ declare const _default: {
|
|
|
115
131
|
[key: string]: React.ReactInstance;
|
|
116
132
|
};
|
|
117
133
|
componentDidMount?(): void;
|
|
118
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "active" | "links" | "onSelect" | "sectionRender"> &
|
|
134
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "active" | "links" | "onSelect" | "sectionRender"> & {
|
|
135
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
136
|
+
linkClassName?: string | undefined;
|
|
137
|
+
sectionClassName?: string | undefined;
|
|
138
|
+
} & {} & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
119
139
|
componentWillUnmount?(): void;
|
|
120
140
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
121
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "active" | "links" | "onSelect" | "sectionRender"> &
|
|
122
|
-
|
|
141
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "active" | "links" | "onSelect" | "sectionRender"> & {
|
|
142
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
143
|
+
linkClassName?: string | undefined;
|
|
144
|
+
sectionClassName?: string | undefined;
|
|
145
|
+
} & {} & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
|
146
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "active" | "links" | "onSelect" | "sectionRender"> & {
|
|
147
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
148
|
+
linkClassName?: string | undefined;
|
|
149
|
+
sectionClassName?: string | undefined;
|
|
150
|
+
} & {} & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
123
151
|
componentWillMount?(): void;
|
|
124
152
|
UNSAFE_componentWillMount?(): void;
|
|
125
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "active" | "links" | "onSelect" | "sectionRender"> &
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
153
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "active" | "links" | "onSelect" | "sectionRender"> & {
|
|
154
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
155
|
+
linkClassName?: string | undefined;
|
|
156
|
+
sectionClassName?: string | undefined;
|
|
157
|
+
} & {} & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
|
158
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "active" | "links" | "onSelect" | "sectionRender"> & {
|
|
159
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
160
|
+
linkClassName?: string | undefined;
|
|
161
|
+
sectionClassName?: string | undefined;
|
|
162
|
+
} & {} & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
|
163
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "active" | "links" | "onSelect" | "sectionRender"> & {
|
|
164
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
165
|
+
linkClassName?: string | undefined;
|
|
166
|
+
sectionClassName?: string | undefined;
|
|
167
|
+
} & {} & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
168
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "active" | "links" | "onSelect" | "sectionRender"> & {
|
|
169
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
170
|
+
linkClassName?: string | undefined;
|
|
171
|
+
sectionClassName?: string | undefined;
|
|
172
|
+
} & {} & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
129
173
|
};
|
|
130
|
-
new (props: Pick<Omit<AnchorNavProps, keyof ThemeProps>, "active" | "links" | "onSelect" | "sectionRender"> &
|
|
174
|
+
new (props: Pick<Omit<AnchorNavProps, keyof ThemeProps>, "active" | "links" | "onSelect" | "sectionRender"> & {
|
|
175
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
176
|
+
linkClassName?: string | undefined;
|
|
177
|
+
sectionClassName?: string | undefined;
|
|
178
|
+
} & {} & import("../theme").ThemeOutterProps, context: any): {
|
|
131
179
|
render(): JSX.Element;
|
|
132
180
|
context: any;
|
|
133
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "active" | "links" | "onSelect" | "sectionRender"> &
|
|
181
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "active" | "links" | "onSelect" | "sectionRender"> & {
|
|
182
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
183
|
+
linkClassName?: string | undefined;
|
|
184
|
+
sectionClassName?: string | undefined;
|
|
185
|
+
} & {} & import("../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
134
186
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
135
|
-
readonly props: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "active" | "links" | "onSelect" | "sectionRender"> &
|
|
187
|
+
readonly props: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "active" | "links" | "onSelect" | "sectionRender"> & {
|
|
188
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
189
|
+
linkClassName?: string | undefined;
|
|
190
|
+
sectionClassName?: string | undefined;
|
|
191
|
+
} & {} & import("../theme").ThemeOutterProps> & Readonly<{
|
|
136
192
|
children?: React.ReactNode;
|
|
137
193
|
}>;
|
|
138
194
|
state: Readonly<{}>;
|
|
@@ -140,17 +196,45 @@ declare const _default: {
|
|
|
140
196
|
[key: string]: React.ReactInstance;
|
|
141
197
|
};
|
|
142
198
|
componentDidMount?(): void;
|
|
143
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "active" | "links" | "onSelect" | "sectionRender"> &
|
|
199
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "active" | "links" | "onSelect" | "sectionRender"> & {
|
|
200
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
201
|
+
linkClassName?: string | undefined;
|
|
202
|
+
sectionClassName?: string | undefined;
|
|
203
|
+
} & {} & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
144
204
|
componentWillUnmount?(): void;
|
|
145
205
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
146
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "active" | "links" | "onSelect" | "sectionRender"> &
|
|
147
|
-
|
|
206
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "active" | "links" | "onSelect" | "sectionRender"> & {
|
|
207
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
208
|
+
linkClassName?: string | undefined;
|
|
209
|
+
sectionClassName?: string | undefined;
|
|
210
|
+
} & {} & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
|
211
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "active" | "links" | "onSelect" | "sectionRender"> & {
|
|
212
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
213
|
+
linkClassName?: string | undefined;
|
|
214
|
+
sectionClassName?: string | undefined;
|
|
215
|
+
} & {} & import("../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
148
216
|
componentWillMount?(): void;
|
|
149
217
|
UNSAFE_componentWillMount?(): void;
|
|
150
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "active" | "links" | "onSelect" | "sectionRender"> &
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
218
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "active" | "links" | "onSelect" | "sectionRender"> & {
|
|
219
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
220
|
+
linkClassName?: string | undefined;
|
|
221
|
+
sectionClassName?: string | undefined;
|
|
222
|
+
} & {} & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
|
223
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "active" | "links" | "onSelect" | "sectionRender"> & {
|
|
224
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
225
|
+
linkClassName?: string | undefined;
|
|
226
|
+
sectionClassName?: string | undefined;
|
|
227
|
+
} & {} & import("../theme").ThemeOutterProps>, nextContext: any): void;
|
|
228
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "active" | "links" | "onSelect" | "sectionRender"> & {
|
|
229
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
230
|
+
linkClassName?: string | undefined;
|
|
231
|
+
sectionClassName?: string | undefined;
|
|
232
|
+
} & {} & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
233
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<AnchorNavProps, keyof ThemeProps>, "active" | "links" | "onSelect" | "sectionRender"> & {
|
|
234
|
+
direction?: "horizontal" | "vertical" | undefined;
|
|
235
|
+
linkClassName?: string | undefined;
|
|
236
|
+
sectionClassName?: string | undefined;
|
|
237
|
+
} & {} & import("../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
154
238
|
};
|
|
155
239
|
displayName: string;
|
|
156
240
|
contextType: React.Context<string>;
|