amis-editor 4.2.0-beta.2 → 5.1.9-beta.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/6dbcbb49b6fd405190a9.png +0 -0
- package/dist/component/Editor.d.ts +16 -0
- package/dist/component/RegionWrapper.d.ts +10 -0
- package/dist/component/VRenderer.d.ts +10 -0
- package/dist/component/base/BackTop.d.ts +1 -1
- package/dist/component/control/APIControl.d.ts +1158 -0
- package/dist/component/control/ActionAPIControl.d.ts +1158 -0
- package/dist/component/control/BadgeControl.d.ts +133 -0
- package/dist/component/control/BaseControl.d.ts +248 -0
- package/dist/component/control/DataBindingControl.d.ts +14 -0
- package/dist/component/control/DataPickerControl.d.ts +13 -0
- package/dist/component/control/DateShortCutControl.d.ts +83 -0
- package/dist/component/control/FormulaControl.d.ts +51 -0
- package/dist/component/{Control → control}/OptionControl.d.ts +23 -34
- package/dist/component/{Control → control}/PopoverEdit.d.ts +0 -0
- package/dist/component/control/StatusControl.d.ts +44 -0
- package/dist/component/control/SwitchMoreControl.d.ts +224 -0
- package/dist/component/control/ValidationControl.d.ts +65 -0
- package/dist/component/control/ValidationItem.d.ts +46 -0
- package/dist/component/control/style-control/Background.d.ts +17 -0
- package/dist/component/control/style-control/Border.d.ts +18 -0
- package/dist/component/control/style-control/BoxModel.d.ts +17 -0
- package/dist/component/control/style-control/BoxShadow.d.ts +18 -0
- package/dist/component/control/style-control/Display.d.ts +14 -0
- package/dist/component/control/style-control/Font.d.ts +16 -0
- package/dist/component/control/style-control/font-family.d.ts +11 -0
- package/dist/component/control/style-control/transformation.d.ts +29 -0
- package/dist/component/control/style-control/types.d.ts +8 -0
- package/dist/component/schemaTpl.d.ts +8 -0
- package/dist/component/validator.d.ts +62 -0
- package/dist/dnd/index.d.ts +1 -1
- package/dist/event-action/action-config-panel.d.ts +8 -0
- package/dist/event-action/actions.d.ts +3 -0
- package/dist/event-action/comp-action-select.d.ts +11 -0
- package/dist/event-action/config.d.ts +13 -0
- package/dist/event-action/index.d.ts +459 -0
- package/dist/event-action/schema.d.ts +32 -0
- package/dist/exports.min.js +1 -1
- package/dist/index.d.ts +23 -5
- package/dist/index.min.js +1 -1
- package/dist/manager.d.ts +46 -1
- package/dist/plugin/Alert.d.ts +4 -2
- package/dist/plugin/Button.d.ts +5 -1
- package/dist/plugin/ButtonGroup.d.ts +13 -34
- package/dist/plugin/ButtonToolbar.d.ts +4 -10
- package/dist/plugin/CRUD.d.ts +2 -0
- package/dist/plugin/Chart.d.ts +2 -0
- package/dist/plugin/Collapse.d.ts +1 -0
- package/dist/plugin/CollapseGroup.d.ts +28 -4
- package/dist/plugin/Container.d.ts +2 -1
- package/dist/plugin/Dialog.d.ts +12 -2
- package/dist/plugin/Drawer.d.ts +12 -2
- package/dist/plugin/DropDownButton.d.ts +11 -11
- package/dist/plugin/Form/ButtonGroupSelect.d.ts +7 -2
- package/dist/plugin/Form/ButtonToolbar.d.ts +8 -7
- package/dist/plugin/Form/ChainedSelect.d.ts +3 -0
- package/dist/plugin/Form/Checkbox.d.ts +7 -2
- package/dist/plugin/Form/Checkboxes.d.ts +8 -2
- package/dist/plugin/Form/CodeEditor.d.ts +7 -22
- package/dist/plugin/Form/Combo.d.ts +3 -0
- package/dist/plugin/Form/Control.d.ts +6 -2
- package/dist/plugin/Form/DiffEditor.d.ts +7 -1
- package/dist/plugin/Form/Form.d.ts +6 -0
- package/dist/plugin/Form/Formula.d.ts +1 -25
- package/dist/plugin/Form/InputDate.d.ts +8 -2
- package/dist/plugin/Form/InputDateRange.d.ts +8 -2
- package/dist/plugin/Form/InputDateTime.d.ts +4 -4
- package/dist/plugin/Form/InputDateTimeRange.d.ts +4 -4
- package/dist/plugin/Form/InputEmail.d.ts +1 -0
- package/dist/plugin/Form/InputExcel.d.ts +6 -41
- package/dist/plugin/Form/InputFile.d.ts +7 -3
- package/dist/plugin/Form/InputKV.d.ts +6 -0
- package/dist/plugin/Form/InputMonth.d.ts +1 -0
- package/dist/plugin/Form/InputMonthRange.d.ts +4 -4
- package/dist/plugin/Form/InputPassword.d.ts +1 -0
- package/dist/plugin/Form/InputQuarter.d.ts +1 -0
- package/dist/plugin/Form/InputQuarterRange.d.ts +4 -4
- package/dist/plugin/Form/InputRange.d.ts +3 -0
- package/dist/plugin/Form/InputRating.d.ts +9 -3
- package/dist/plugin/Form/InputText.d.ts +24 -2
- package/dist/plugin/Form/InputTime.d.ts +3 -3
- package/dist/plugin/Form/InputTimeRange.d.ts +20 -0
- package/dist/plugin/Form/InputTree.d.ts +6 -2
- package/dist/plugin/Form/InputURL.d.ts +1 -0
- package/dist/plugin/Form/InputYear.d.ts +1 -0
- package/dist/plugin/Form/InputYearRange.d.ts +20 -0
- package/dist/plugin/Form/ListSelect.d.ts +6 -2
- package/dist/plugin/Form/LocationPicker.d.ts +1 -31
- package/dist/plugin/Form/NestedSelect.d.ts +5 -2
- package/dist/plugin/Form/Radios.d.ts +7 -2
- package/dist/plugin/Form/Select.d.ts +7 -2
- package/dist/plugin/Form/Switch.d.ts +7 -2
- package/dist/plugin/Form/TabsTransfer.d.ts +5 -2
- package/dist/plugin/Form/Textarea.d.ts +7 -1
- package/dist/plugin/Form/Transfer.d.ts +5 -2
- package/dist/plugin/Form/TreeSelect.d.ts +6 -2
- package/dist/plugin/IFrame.d.ts +2 -2
- package/dist/plugin/Nav.d.ts +1 -116
- package/dist/plugin/Others/Action.d.ts +5 -1
- package/dist/plugin/Page.d.ts +5 -2
- package/dist/plugin/Progress.d.ts +5 -1
- package/dist/plugin/Table.d.ts +2 -0
- package/dist/plugin/Tabs.d.ts +33 -2
- package/dist/plugin/TooltipWrapper.d.ts +10 -0
- package/dist/plugin/Tpl.d.ts +2 -1
- package/dist/plugin/Wizard.d.ts +4 -1
- package/dist/plugin.d.ts +37 -1
- package/dist/store/editor.d.ts +55 -28
- package/dist/store/node.d.ts +16 -0
- package/dist/style.css +1 -1
- package/dist/util.d.ts +36 -3
- package/package.json +14 -8
- package/src/component/schemaTpl.tsx +1209 -474
- package/src/plugin/Alert.tsx +69 -48
- package/src/plugin/AnchorNav.tsx +1 -0
- package/src/plugin/Audio.tsx +9 -15
- package/src/plugin/Avatar.tsx +2 -1
- package/src/plugin/Breadcrumb.tsx +2 -1
- package/src/plugin/Button.tsx +257 -188
- package/src/plugin/ButtonGroup.tsx +99 -38
- package/src/plugin/ButtonToolbar.tsx +7 -13
- package/src/plugin/CRUD.tsx +78 -136
- package/src/plugin/Card.tsx +1 -0
- package/src/plugin/Cards.tsx +8 -14
- package/src/plugin/Carousel.tsx +1 -1
- package/src/plugin/Chart.tsx +26 -14
- package/src/plugin/Collapse.tsx +78 -78
- package/src/plugin/CollapseGroup.tsx +165 -83
- package/src/plugin/Container.tsx +59 -6
- package/src/plugin/Custom.tsx +2 -8
- package/src/plugin/CustomRegion.tsx +4 -3
- package/src/plugin/Dialog.tsx +55 -24
- package/src/plugin/Drawer.tsx +65 -35
- package/src/plugin/DropDownButton.tsx +95 -79
- package/src/plugin/Flex.tsx +123 -65
- package/src/plugin/Form/ButtonGroupSelect.tsx +114 -26
- package/src/plugin/Form/ButtonToolbar.tsx +62 -55
- package/src/plugin/Form/ChainedSelect.tsx +45 -0
- package/src/plugin/Form/Checkbox.tsx +122 -33
- package/src/plugin/Form/Checkboxes.tsx +154 -87
- package/src/plugin/Form/CodeEditor.tsx +163 -34
- package/src/plugin/Form/Combo.tsx +104 -65
- package/src/plugin/Form/Control.tsx +16 -70
- package/src/plugin/Form/DiffEditor.tsx +158 -54
- package/src/plugin/Form/FieldSet.tsx +6 -11
- package/src/plugin/Form/Form.tsx +277 -70
- package/src/plugin/Form/Formula.tsx +8 -14
- package/src/plugin/Form/InputArray.tsx +7 -16
- package/src/plugin/Form/InputCity.tsx +1 -1
- package/src/plugin/Form/InputDate.tsx +344 -121
- package/src/plugin/Form/InputDateRange.tsx +303 -161
- package/src/plugin/Form/InputDateTime.tsx +6 -150
- package/src/plugin/Form/InputDateTimeRange.tsx +7 -187
- package/src/plugin/Form/InputEmail.tsx +1 -0
- package/src/plugin/Form/InputExcel.tsx +70 -27
- package/src/plugin/Form/InputFile.tsx +326 -152
- package/src/plugin/Form/InputImage.tsx +1 -1
- package/src/plugin/Form/InputKV.tsx +61 -0
- package/src/plugin/Form/InputMonth.tsx +3 -1
- package/src/plugin/Form/InputMonthRange.tsx +6 -160
- package/src/plugin/Form/InputNumber.tsx +1 -1
- package/src/plugin/Form/InputPassword.tsx +2 -0
- package/src/plugin/Form/InputQuarter.tsx +3 -1
- package/src/plugin/Form/InputQuarterRange.tsx +6 -160
- package/src/plugin/Form/InputRange.tsx +74 -4
- package/src/plugin/Form/InputRating.tsx +347 -35
- package/src/plugin/Form/InputRichText.tsx +2 -3
- package/src/plugin/Form/InputTable.tsx +33 -49
- package/src/plugin/Form/InputTag.tsx +1 -1
- package/src/plugin/Form/InputText.tsx +310 -132
- package/src/plugin/Form/InputTime.tsx +4 -53
- package/src/plugin/Form/InputTimeRange.tsx +41 -0
- package/src/plugin/Form/InputTree.tsx +196 -46
- package/src/plugin/Form/InputURL.tsx +2 -0
- package/src/plugin/Form/InputYear.tsx +2 -0
- package/src/plugin/Form/InputYearRange.tsx +41 -0
- package/src/plugin/Form/Item.tsx +17 -18
- package/src/plugin/Form/ListSelect.tsx +75 -20
- package/src/plugin/Form/LocationPicker.tsx +2 -7
- package/src/plugin/Form/MatrixCheckboxes.tsx +1 -1
- package/src/plugin/Form/NestedSelect.tsx +110 -43
- package/src/plugin/Form/Picker.tsx +2 -5
- package/src/plugin/Form/Radios.tsx +122 -52
- package/src/plugin/Form/Select.tsx +239 -168
- package/src/plugin/Form/Static.tsx +1 -1
- package/src/plugin/Form/Switch.tsx +170 -58
- package/src/plugin/Form/TabsTransfer.tsx +175 -79
- package/src/plugin/Form/Textarea.tsx +146 -36
- package/src/plugin/Form/Transfer.tsx +295 -233
- package/src/plugin/Form/TreeSelect.tsx +287 -146
- package/src/plugin/Grid.tsx +340 -312
- package/src/plugin/HBox.tsx +1 -0
- package/src/plugin/IFrame.tsx +21 -12
- package/src/plugin/Image.tsx +7 -12
- package/src/plugin/Images.tsx +7 -12
- package/src/plugin/Link.tsx +6 -12
- package/src/plugin/List.tsx +6 -10
- package/src/plugin/ListItem.tsx +1 -0
- package/src/plugin/Nav.tsx +7 -9
- package/src/plugin/Others/Action.tsx +16 -10
- package/src/plugin/Others/BasicToolbar.tsx +4 -1
- package/src/plugin/Others/TableCell.tsx +19 -39
- package/src/plugin/Page.tsx +315 -229
- package/src/plugin/Panel.tsx +6 -7
- package/src/plugin/Plain.tsx +3 -6
- package/src/plugin/Progress.tsx +234 -94
- package/src/plugin/Service.tsx +10 -6
- package/src/plugin/Table.tsx +49 -20
- package/src/plugin/TableView.tsx +212 -106
- package/src/plugin/Tabs.tsx +306 -146
- package/src/plugin/TooltipWrapper.tsx +231 -135
- package/src/plugin/Tpl.tsx +68 -52
- package/src/plugin/Video.tsx +9 -20
- package/src/plugin/Wizard.tsx +537 -336
- package/src/plugin/Wrapper.tsx +82 -61
- package/src/plugin.ts +66 -4
- package/static/empty.png +0 -0
- package/dist/component/Control/APIControl.d.ts +0 -504
- package/dist/component/Control/ValidationControl.d.ts +0 -30
- package/dist/component/remarkTpl.d.ts +0 -150
Binary file
|
@@ -4,6 +4,7 @@ import { SchemaObject } from 'amis/lib/Schema';
|
|
4
4
|
import { EditorManager, PluginClass } from '../manager';
|
5
5
|
import { RenderOptions } from 'amis';
|
6
6
|
import { PluginEventListener } from '../plugin';
|
7
|
+
import { ActionConfigItemsMap, ActionTypeNode } from '../event-action';
|
7
8
|
export interface EditorProps extends PluginEventListener {
|
8
9
|
value: SchemaObject;
|
9
10
|
onChange: (value: SchemaObject) => void;
|
@@ -13,6 +14,7 @@ export interface EditorProps extends PluginEventListener {
|
|
13
14
|
autoFocus?: boolean;
|
14
15
|
className?: string;
|
15
16
|
$schemaUrl?: string;
|
17
|
+
schemas?: Array<any>;
|
16
18
|
theme?: string;
|
17
19
|
showCustomRenderersPanel?: boolean;
|
18
20
|
amisDocHost?: string;
|
@@ -38,6 +40,20 @@ export interface EditorProps extends PluginEventListener {
|
|
38
40
|
previewProps?: any;
|
39
41
|
iframeUrl?: string;
|
40
42
|
isHiddenProps?: (key: string) => boolean;
|
43
|
+
/**
|
44
|
+
* 事件动作面板相关配置
|
45
|
+
*/
|
46
|
+
actionOptions?: {
|
47
|
+
showOldEntry?: boolean;
|
48
|
+
/**
|
49
|
+
* 通用动作集(事件动作面板左侧动作树)
|
50
|
+
*/
|
51
|
+
actionTreeGetter?: (actionTree: ActionTypeNode[]) => ActionTypeNode[];
|
52
|
+
/**
|
53
|
+
* 自定义动作配置
|
54
|
+
*/
|
55
|
+
customActionGetter?: (manager: EditorManager) => ActionConfigItemsMap;
|
56
|
+
};
|
41
57
|
onUndo?: () => void;
|
42
58
|
onRedo?: () => void;
|
43
59
|
onSave?: () => void;
|
@@ -26,6 +26,7 @@ export declare class RegionWrapper extends React.Component<RegionWrapperProps> {
|
|
26
26
|
parentRegion: string;
|
27
27
|
isCommonConfig: boolean;
|
28
28
|
id: string;
|
29
|
+
type: string;
|
29
30
|
label: string;
|
30
31
|
regionInfo: (RegionConfig & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<RegionConfig, RegionConfig, RegionConfig>>>) | undefined;
|
31
32
|
path: string;
|
@@ -48,6 +49,8 @@ export declare class RegionWrapper extends React.Component<RegionWrapperProps> {
|
|
48
49
|
} & {
|
49
50
|
readonly info: RendererInfo;
|
50
51
|
setInfo(value: RendererInfo): void;
|
52
|
+
readonly rendererConfig: import("amis-core").RendererConfig | undefined;
|
53
|
+
setRendererConfig(value: import("amis-core").RendererConfig): void;
|
51
54
|
readonly isVitualRenderer: boolean;
|
52
55
|
readonly clickable: boolean;
|
53
56
|
readonly draggable: boolean;
|
@@ -66,6 +69,7 @@ export declare class RegionWrapper extends React.Component<RegionWrapperProps> {
|
|
66
69
|
isExists(id: string): boolean;
|
67
70
|
getChildById(id: string): any;
|
68
71
|
readonly parent: any;
|
72
|
+
readonly ancestorField: any;
|
69
73
|
readonly host: any;
|
70
74
|
readonly firstChild: any;
|
71
75
|
readonly index: any;
|
@@ -78,6 +82,7 @@ export declare class RegionWrapper extends React.Component<RegionWrapperProps> {
|
|
78
82
|
updateIsCommonConfig: (value: boolean) => void;
|
79
83
|
addChild(props: {
|
80
84
|
id: string;
|
85
|
+
type: string;
|
81
86
|
label: string;
|
82
87
|
path: string;
|
83
88
|
isCommonConfig?: boolean | undefined;
|
@@ -106,6 +111,7 @@ export declare class RegionWrapper extends React.Component<RegionWrapperProps> {
|
|
106
111
|
parentRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
|
107
112
|
isCommonConfig: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
108
113
|
id: import("mobx-state-tree").IType<string | undefined, string, string>;
|
114
|
+
type: import("mobx-state-tree").IType<string | undefined, string, string>;
|
109
115
|
label: import("mobx-state-tree").IType<string | undefined, string, string>;
|
110
116
|
regionInfo: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<RegionConfig, RegionConfig, RegionConfig>>;
|
111
117
|
path: import("mobx-state-tree").IType<string | undefined, string, string>;
|
@@ -128,6 +134,8 @@ export declare class RegionWrapper extends React.Component<RegionWrapperProps> {
|
|
128
134
|
} & {
|
129
135
|
readonly info: RendererInfo;
|
130
136
|
setInfo(value: RendererInfo): void;
|
137
|
+
readonly rendererConfig: import("amis-core").RendererConfig | undefined;
|
138
|
+
setRendererConfig(value: import("amis-core").RendererConfig): void;
|
131
139
|
readonly isVitualRenderer: boolean;
|
132
140
|
readonly clickable: boolean;
|
133
141
|
readonly draggable: boolean;
|
@@ -146,6 +154,7 @@ export declare class RegionWrapper extends React.Component<RegionWrapperProps> {
|
|
146
154
|
isExists(id: string): boolean;
|
147
155
|
getChildById(id: string): any;
|
148
156
|
readonly parent: any;
|
157
|
+
readonly ancestorField: any;
|
149
158
|
readonly host: any;
|
150
159
|
readonly firstChild: any;
|
151
160
|
readonly index: any;
|
@@ -158,6 +167,7 @@ export declare class RegionWrapper extends React.Component<RegionWrapperProps> {
|
|
158
167
|
updateIsCommonConfig: (value: boolean) => void;
|
159
168
|
addChild(props: {
|
160
169
|
id: string;
|
170
|
+
type: string;
|
161
171
|
label: string;
|
162
172
|
path: string;
|
163
173
|
isCommonConfig?: boolean | undefined;
|
@@ -12,6 +12,7 @@ export declare class VRenderer extends React.Component<VRendererProps> {
|
|
12
12
|
parentRegion: string;
|
13
13
|
isCommonConfig: boolean;
|
14
14
|
id: string;
|
15
|
+
type: string;
|
15
16
|
label: string;
|
16
17
|
regionInfo: (import("../plugin").RegionConfig & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<import("../plugin").RegionConfig, import("../plugin").RegionConfig, import("../plugin").RegionConfig>>>) | undefined;
|
17
18
|
path: string;
|
@@ -34,6 +35,8 @@ export declare class VRenderer extends React.Component<VRendererProps> {
|
|
34
35
|
} & {
|
35
36
|
readonly info: RendererInfo;
|
36
37
|
setInfo(value: RendererInfo): void;
|
38
|
+
readonly rendererConfig: import("amis-core").RendererConfig | undefined;
|
39
|
+
setRendererConfig(value: import("amis-core").RendererConfig): void;
|
37
40
|
readonly isVitualRenderer: boolean;
|
38
41
|
readonly clickable: boolean;
|
39
42
|
readonly draggable: boolean;
|
@@ -52,6 +55,7 @@ export declare class VRenderer extends React.Component<VRendererProps> {
|
|
52
55
|
isExists(id: string): boolean;
|
53
56
|
getChildById(id: string): any;
|
54
57
|
readonly parent: any;
|
58
|
+
readonly ancestorField: any;
|
55
59
|
readonly host: any;
|
56
60
|
readonly firstChild: any;
|
57
61
|
readonly index: any;
|
@@ -64,6 +68,7 @@ export declare class VRenderer extends React.Component<VRendererProps> {
|
|
64
68
|
updateIsCommonConfig: (value: boolean) => void;
|
65
69
|
addChild(props: {
|
66
70
|
id: string;
|
71
|
+
type: string;
|
67
72
|
label: string;
|
68
73
|
path: string;
|
69
74
|
isCommonConfig?: boolean | undefined;
|
@@ -92,6 +97,7 @@ export declare class VRenderer extends React.Component<VRendererProps> {
|
|
92
97
|
parentRegion: import("mobx-state-tree").IType<string | undefined, string, string>;
|
93
98
|
isCommonConfig: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
94
99
|
id: import("mobx-state-tree").IType<string | undefined, string, string>;
|
100
|
+
type: import("mobx-state-tree").IType<string | undefined, string, string>;
|
95
101
|
label: import("mobx-state-tree").IType<string | undefined, string, string>;
|
96
102
|
regionInfo: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<import("../plugin").RegionConfig, import("../plugin").RegionConfig, import("../plugin").RegionConfig>>;
|
97
103
|
path: import("mobx-state-tree").IType<string | undefined, string, string>;
|
@@ -114,6 +120,8 @@ export declare class VRenderer extends React.Component<VRendererProps> {
|
|
114
120
|
} & {
|
115
121
|
readonly info: RendererInfo;
|
116
122
|
setInfo(value: RendererInfo): void;
|
123
|
+
readonly rendererConfig: import("amis-core").RendererConfig | undefined;
|
124
|
+
setRendererConfig(value: import("amis-core").RendererConfig): void;
|
117
125
|
readonly isVitualRenderer: boolean;
|
118
126
|
readonly clickable: boolean;
|
119
127
|
readonly draggable: boolean;
|
@@ -132,6 +140,7 @@ export declare class VRenderer extends React.Component<VRendererProps> {
|
|
132
140
|
isExists(id: string): boolean;
|
133
141
|
getChildById(id: string): any;
|
134
142
|
readonly parent: any;
|
143
|
+
readonly ancestorField: any;
|
135
144
|
readonly host: any;
|
136
145
|
readonly firstChild: any;
|
137
146
|
readonly index: any;
|
@@ -144,6 +153,7 @@ export declare class VRenderer extends React.Component<VRendererProps> {
|
|
144
153
|
updateIsCommonConfig: (value: boolean) => void;
|
145
154
|
addChild(props: {
|
146
155
|
id: string;
|
156
|
+
type: string;
|
147
157
|
label: string;
|
148
158
|
path: string;
|
149
159
|
isCommonConfig?: boolean | undefined;
|
@@ -16,7 +16,7 @@ export default class BackTop extends React.Component<BackTopProps, BackTopStates
|
|
16
16
|
constructor(props: any);
|
17
17
|
componentDidMount(): void;
|
18
18
|
componentWillUnmount(): void;
|
19
|
-
getDefaultTarget():
|
19
|
+
getDefaultTarget(): (Window & typeof globalThis) | Document;
|
20
20
|
handleScroll(e: React.UIEvent<HTMLElement> | {
|
21
21
|
target: any;
|
22
22
|
}): void;
|