amis-editor 3.3.6-beta.15 → 3.3.6-beta.18
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Animation.d.ts +22 -0
- package/dist/BasicContainerEditor.d.ts +46 -0
- package/dist/BasicEditor.d.ts +214 -0
- package/dist/Breadcrumb.d.ts +19 -0
- package/dist/ClassNameControl.d.ts +31 -0
- package/dist/CodeEditor.d.ts +34 -0
- package/dist/Editor.d.ts +251 -0
- package/dist/HighlightBox.d.ts +17 -0
- package/dist/MiniEditor.d.ts +9 -0
- package/dist/Outline.d.ts +38 -0
- package/dist/PositionRegion.d.ts +7 -0
- package/dist/Preview.d.ts +76 -0
- package/dist/Region.d.ts +61 -0
- package/dist/RendererThumb.d.ts +23 -0
- package/dist/Renderers.d.ts +39 -0
- package/dist/RenderersPicker.d.ts +28 -0
- package/dist/SettingForm.d.ts +20 -0
- package/dist/Settings.d.ts +58 -0
- package/dist/dom-helper.d.ts +2 -0
- package/dist/editors/Action.d.ts +14 -0
- package/dist/editors/Alert.d.ts +11 -0
- package/dist/editors/Audio.d.ts +9 -0
- package/dist/editors/ButtonGroup.d.ts +15 -0
- package/dist/editors/ButtonToolbar.d.ts +7 -0
- package/dist/editors/CRUD.d.ts +27 -0
- package/dist/editors/Card.d.ts +47 -0
- package/dist/editors/Cards.d.ts +20 -0
- package/dist/editors/Carousel.d.ts +9 -0
- package/dist/editors/Chart.d.ts +13 -0
- package/dist/editors/Collapse.d.ts +13 -0
- package/dist/editors/Container.d.ts +13 -0
- package/dist/editors/Date.d.ts +18 -0
- package/dist/editors/Dialog.d.ts +27 -0
- package/dist/editors/DiffEditor.d.ts +8 -0
- package/dist/editors/Divdier.d.ts +8 -0
- package/dist/editors/Drawer.d.ts +26 -0
- package/dist/editors/DropDownButton.d.ts +16 -0
- package/dist/editors/Each.d.ts +16 -0
- package/dist/editors/Form/Array.d.ts +12 -0
- package/dist/editors/Form/Button.d.ts +13 -0
- package/dist/editors/Form/ButtonGroup.d.ts +17 -0
- package/dist/editors/Form/ButtonToolbar.d.ts +15 -0
- package/dist/editors/Form/ChainedSelect.d.ts +8 -0
- package/dist/editors/Form/Checkbox.d.ts +8 -0
- package/dist/editors/Form/Checkboxes.d.ts +8 -0
- package/dist/editors/Form/City.d.ts +8 -0
- package/dist/editors/Form/Color.d.ts +8 -0
- package/dist/editors/Form/Combo.d.ts +19 -0
- package/dist/editors/Form/Container.d.ts +22 -0
- package/dist/editors/Form/Control.d.ts +15 -0
- package/dist/editors/Form/Date.d.ts +9 -0
- package/dist/editors/Form/DateRange.d.ts +9 -0
- package/dist/editors/Form/Datetime.d.ts +9 -0
- package/dist/editors/Form/DiffEditor.d.ts +8 -0
- package/dist/editors/Form/Editor.d.ts +12 -0
- package/dist/editors/Form/Email.d.ts +8 -0
- package/dist/editors/Form/FieldSet.d.ts +22 -0
- package/dist/editors/Form/File.d.ts +8 -0
- package/dist/editors/Form/Form.d.ts +26 -0
- package/dist/editors/Form/Formula.d.ts +11 -0
- package/dist/editors/Form/Grid.d.ts +21 -0
- package/dist/editors/Form/Group.d.ts +21 -0
- package/dist/editors/Form/HBox.d.ts +20 -0
- package/dist/editors/Form/Hidden.d.ts +21 -0
- package/dist/editors/Form/Image.d.ts +8 -0
- package/dist/editors/Form/InputGroup.d.ts +12 -0
- package/dist/editors/Form/Item.d.ts +8 -0
- package/dist/editors/Form/List.d.ts +16 -0
- package/dist/editors/Form/Matrix.d.ts +8 -0
- package/dist/editors/Form/NestedSelect.d.ts +50 -0
- package/dist/editors/Form/Number.d.ts +8 -0
- package/dist/editors/Form/Panel.d.ts +22 -0
- package/dist/editors/Form/Password.d.ts +10 -0
- package/dist/editors/Form/Picker.d.ts +17 -0
- package/dist/editors/Form/QRCode.d.ts +8 -0
- package/dist/editors/Form/Radios.d.ts +8 -0
- package/dist/editors/Form/Range.d.ts +8 -0
- package/dist/editors/Form/Rating.d.ts +8 -0
- package/dist/editors/Form/Repeat.d.ts +8 -0
- package/dist/editors/Form/Reset.d.ts +8 -0
- package/dist/editors/Form/RichText.d.ts +8 -0
- package/dist/editors/Form/Select.d.ts +8 -0
- package/dist/editors/Form/Service.d.ts +25 -0
- package/dist/editors/Form/Static.d.ts +18 -0
- package/dist/editors/Form/SubForm.d.ts +12 -0
- package/dist/editors/Form/Submit.d.ts +9 -0
- package/dist/editors/Form/Switch.d.ts +8 -0
- package/dist/editors/Form/Tab.d.ts +12 -0
- package/dist/editors/Form/Table.d.ts +25 -0
- package/dist/editors/Form/Tabs.d.ts +6 -0
- package/dist/editors/Form/Tag.d.ts +10 -0
- package/dist/editors/Form/Text.d.ts +10 -0
- package/dist/editors/Form/Textarea.d.ts +8 -0
- package/dist/editors/Form/Time.d.ts +9 -0
- package/dist/editors/Form/Tree.d.ts +50 -0
- package/dist/editors/Form/TreeSelect.d.ts +50 -0
- package/dist/editors/Form/Url.d.ts +8 -0
- package/dist/editors/Grid.d.ts +16 -0
- package/dist/editors/HBox.d.ts +13 -0
- package/dist/editors/IFrame.d.ts +11 -0
- package/dist/editors/Image.d.ts +9 -0
- package/dist/editors/Json.d.ts +9 -0
- package/dist/editors/Link.d.ts +8 -0
- package/dist/editors/List.d.ts +70 -0
- package/dist/editors/Mapping.d.ts +9 -0
- package/dist/editors/Nav.d.ts +142 -0
- package/dist/editors/Operation.d.ts +17 -0
- package/dist/editors/Page.d.ts +15 -0
- package/dist/editors/Panel.d.ts +13 -0
- package/dist/editors/Plain.d.ts +9 -0
- package/dist/editors/Progress.d.ts +9 -0
- package/dist/editors/QRCode.d.ts +8 -0
- package/dist/editors/Service.d.ts +5 -0
- package/dist/editors/Status.d.ts +9 -0
- package/dist/editors/Switch.d.ts +9 -0
- package/dist/editors/Tab.d.ts +13 -0
- package/dist/editors/Table.d.ts +27 -0
- package/dist/editors/TableCell.d.ts +29 -0
- package/dist/editors/TableColumnsRegion.d.ts +6 -0
- package/dist/editors/Tabs.d.ts +15 -0
- package/dist/editors/Tasks.d.ts +8 -0
- package/dist/editors/Tpl.d.ts +8 -0
- package/dist/editors/Video.d.ts +8 -0
- package/dist/editors/Wizard.d.ts +15 -0
- package/dist/editors/WizardStep.d.ts +19 -0
- package/dist/editors/Wrapper.d.ts +11 -0
- package/dist/editors/index.d.ts +101 -0
- package/dist/editors/templates.d.ts +3 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.min.js +1 -1
- package/dist/json-ast/index.d.ts +53 -0
- package/dist/plugin/DataDebug.d.ts +1 -0
- package/dist/plugin/DiffEditor.d.ts +19 -0
- package/dist/plugin/Form/AnchorNav.d.ts +17 -0
- package/dist/plugin/Form/Array.d.ts +27 -0
- package/dist/plugin/Form/Button.d.ts +11 -0
- package/dist/plugin/Form/ButtonGroup.d.ts +22 -0
- package/dist/plugin/Form/City.d.ts +19 -0
- package/dist/plugin/Form/Container.d.ts +37 -0
- package/dist/plugin/Form/Date.d.ts +20 -0
- package/dist/plugin/Form/DateRange.d.ts +20 -0
- package/dist/plugin/Form/DateTime.d.ts +19 -0
- package/dist/plugin/Form/Email.d.ts +25 -0
- package/dist/plugin/Form/File.d.ts +19 -0
- package/dist/plugin/Form/Grid.d.ts +32 -0
- package/dist/plugin/Form/HBox.d.ts +73 -0
- package/dist/plugin/Form/Image.d.ts +20 -0
- package/dist/plugin/Form/InputSubForm.d.ts +1 -0
- package/dist/plugin/Form/List.d.ts +24 -0
- package/dist/plugin/Form/Location.d.ts +48 -0
- package/dist/plugin/Form/Matrix.d.ts +26 -0
- package/dist/plugin/Form/Month.d.ts +16 -0
- package/dist/plugin/Form/MonthRange.d.ts +20 -0
- package/dist/plugin/Form/Number.d.ts +20 -0
- package/dist/plugin/Form/Panel.d.ts +24 -0
- package/dist/plugin/Form/Password.d.ts +25 -0
- package/dist/plugin/Form/QRCode.d.ts +20 -0
- package/dist/plugin/Form/Range.d.ts +19 -0
- package/dist/plugin/Form/Rating.d.ts +19 -0
- package/dist/plugin/Form/Repeat.d.ts +19 -0
- package/dist/plugin/Form/RichText.d.ts +19 -0
- package/dist/plugin/Form/Service.d.ts +24 -0
- package/dist/plugin/Form/SubForm.d.ts +64 -0
- package/dist/plugin/Form/Table.d.ts +34 -0
- package/dist/plugin/Form/Tabs.d.ts +17 -0
- package/dist/plugin/Form/Tag.d.ts +21 -0
- package/dist/plugin/Form/Text.d.ts +20 -0
- package/dist/plugin/Form/Time.d.ts +19 -0
- package/dist/plugin/Form/Tree.d.ts +73 -0
- package/dist/plugin/Form/Url.d.ts +25 -0
- package/dist/plugin/Form/Year.d.ts +16 -0
- package/dist/plugin/Switch.d.ts +21 -0
- package/dist/store/editor.d.ts +1 -0
- package/dist/types.d.ts +40 -0
- package/dist/util.d.ts +1 -1
- package/package.json +14 -38
@@ -0,0 +1,25 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { RendererProps, Schema } from '../../types';
|
3
|
+
import BasicContainerEditor from '../../BasicContainerEditor';
|
4
|
+
export declare class ServiceEditor extends BasicContainerEditor {
|
5
|
+
tipName: string;
|
6
|
+
dropable: boolean;
|
7
|
+
isFormItem: boolean;
|
8
|
+
settingsSchema: {
|
9
|
+
title: string;
|
10
|
+
controls: any;
|
11
|
+
};
|
12
|
+
schemaCaches: any;
|
13
|
+
containers: string[];
|
14
|
+
containerLabels: string[];
|
15
|
+
state: any;
|
16
|
+
regions2path: {
|
17
|
+
controls: string;
|
18
|
+
};
|
19
|
+
renderRenderer(props: RendererProps): JSX.Element;
|
20
|
+
constructor(props: RendererProps, context: any);
|
21
|
+
setSettingsValue(changes: any): any;
|
22
|
+
getSettingsValue(): any;
|
23
|
+
renderChild(region: string, node: Schema, props: any): JSX.Element;
|
24
|
+
pickChild(region: 'body' | 'controls', ...args: Array<any>): void;
|
25
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { RendererProps, Schema } from '../../types';
|
3
|
+
import { FormItemEditor } from './Item';
|
4
|
+
export declare class StaticControlEditor extends FormItemEditor {
|
5
|
+
tipName: string;
|
6
|
+
settingsSchema: {
|
7
|
+
title: string;
|
8
|
+
controls: any[];
|
9
|
+
};
|
10
|
+
childrenOrder: string[];
|
11
|
+
constructor(props: RendererProps);
|
12
|
+
onChildSettingsGet(type: string, value: any): any;
|
13
|
+
onChildSettingsSet(type: string, value: any, origin: any): any;
|
14
|
+
acceptChild(type: string, region?: string, rendererId?: string): boolean | null;
|
15
|
+
handleQuickEditSetting(): void;
|
16
|
+
handlePopOverSetting(): void;
|
17
|
+
renderChild(region: string, node: Schema, props: any): JSX.Element;
|
18
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { RendererProps } from '../../types';
|
2
|
+
import { FormItemEditor } from './Item';
|
3
|
+
export declare class SubFormControlEditor extends FormItemEditor {
|
4
|
+
tipName: string;
|
5
|
+
settingsSchema: {
|
6
|
+
title: string;
|
7
|
+
controls: any[];
|
8
|
+
};
|
9
|
+
constructor(props: RendererProps);
|
10
|
+
handleToolbarAction(id: string): void;
|
11
|
+
handleEditFormItem(): void;
|
12
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { TabEditor as BaseTabEditor } from '../Tab';
|
3
|
+
export declare class TabEditor extends BaseTabEditor {
|
4
|
+
containers: string[];
|
5
|
+
containerLabels: string[];
|
6
|
+
settingsSchema: {
|
7
|
+
title: string;
|
8
|
+
controls: any;
|
9
|
+
};
|
10
|
+
renderRenderer(props: any): JSX.Element;
|
11
|
+
pickChild(region: 'body' | 'controls', ...args: Array<any>): void;
|
12
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { RendererProps } from '../../types';
|
2
|
+
import { FormItemEditor } from './Item';
|
3
|
+
export declare class TableControlEditor extends FormItemEditor {
|
4
|
+
tipName: string;
|
5
|
+
handleAdd: () => void;
|
6
|
+
settingsSchema: {
|
7
|
+
title: string;
|
8
|
+
controls: any[];
|
9
|
+
};
|
10
|
+
constructor(props: RendererProps, context: any);
|
11
|
+
componentWillReceiveProps(nextProps: RendererProps): void;
|
12
|
+
acceptChild(type: string, region: string, rendererId?: string): boolean | null;
|
13
|
+
editorWillUpdate(activeId: string | null, prevId: string | null, mode: string): any;
|
14
|
+
handleToolbarAction(id: string): void;
|
15
|
+
modifyProps(props: RendererProps, context?: any): {
|
16
|
+
header: any;
|
17
|
+
footer: any;
|
18
|
+
data: {
|
19
|
+
[propName: string]: any;
|
20
|
+
};
|
21
|
+
columns: any;
|
22
|
+
};
|
23
|
+
handleEditFormItem(): void;
|
24
|
+
handleColumnsQuickEdit(): void;
|
25
|
+
}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
import { FormItemEditor } from './Item';
|
2
|
+
export declare class TreeControlEditor extends FormItemEditor {
|
3
|
+
tipName: string;
|
4
|
+
settingsSchema: {
|
5
|
+
definitions: {
|
6
|
+
options: {
|
7
|
+
label: string;
|
8
|
+
name: string;
|
9
|
+
type: string;
|
10
|
+
multiple: boolean;
|
11
|
+
multiLine: boolean;
|
12
|
+
draggable: boolean;
|
13
|
+
addButtonText: string;
|
14
|
+
scaffold: {
|
15
|
+
label: string;
|
16
|
+
value: string;
|
17
|
+
};
|
18
|
+
controls: ({
|
19
|
+
type: string;
|
20
|
+
controls: ({
|
21
|
+
type: string;
|
22
|
+
name: string;
|
23
|
+
placeholder: string;
|
24
|
+
required: boolean;
|
25
|
+
unique?: undefined;
|
26
|
+
} | {
|
27
|
+
type: string;
|
28
|
+
name: string;
|
29
|
+
placeholder: string;
|
30
|
+
unique: boolean;
|
31
|
+
required?: undefined;
|
32
|
+
})[];
|
33
|
+
$ref?: undefined;
|
34
|
+
label?: undefined;
|
35
|
+
name?: undefined;
|
36
|
+
addButtonText?: undefined;
|
37
|
+
} | {
|
38
|
+
$ref: string;
|
39
|
+
label: string;
|
40
|
+
name: string;
|
41
|
+
addButtonText: string;
|
42
|
+
type?: undefined;
|
43
|
+
controls?: undefined;
|
44
|
+
})[];
|
45
|
+
};
|
46
|
+
};
|
47
|
+
title: string;
|
48
|
+
controls: any[];
|
49
|
+
};
|
50
|
+
}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
import { FormItemEditor } from './Item';
|
2
|
+
export declare class TreeSelectControlEditor extends FormItemEditor {
|
3
|
+
tipName: string;
|
4
|
+
settingsSchema: {
|
5
|
+
title: string;
|
6
|
+
definitions: {
|
7
|
+
options: {
|
8
|
+
label: string;
|
9
|
+
name: string;
|
10
|
+
type: string;
|
11
|
+
multiple: boolean;
|
12
|
+
multiLine: boolean;
|
13
|
+
draggable: boolean;
|
14
|
+
addButtonText: string;
|
15
|
+
scaffold: {
|
16
|
+
label: string;
|
17
|
+
value: string;
|
18
|
+
};
|
19
|
+
controls: ({
|
20
|
+
type: string;
|
21
|
+
controls: ({
|
22
|
+
type: string;
|
23
|
+
name: string;
|
24
|
+
placeholder: string;
|
25
|
+
required: boolean;
|
26
|
+
unique?: undefined;
|
27
|
+
} | {
|
28
|
+
type: string;
|
29
|
+
name: string;
|
30
|
+
placeholder: string;
|
31
|
+
unique: boolean;
|
32
|
+
required?: undefined;
|
33
|
+
})[];
|
34
|
+
$ref?: undefined;
|
35
|
+
label?: undefined;
|
36
|
+
name?: undefined;
|
37
|
+
addButtonText?: undefined;
|
38
|
+
} | {
|
39
|
+
$ref: string;
|
40
|
+
label: string;
|
41
|
+
name: string;
|
42
|
+
addButtonText: string;
|
43
|
+
type?: undefined;
|
44
|
+
controls?: undefined;
|
45
|
+
})[];
|
46
|
+
};
|
47
|
+
};
|
48
|
+
controls: any[];
|
49
|
+
};
|
50
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { RendererProps } from '../types';
|
2
|
+
import BasicContainerEditor from '../BasicContainerEditor';
|
3
|
+
export declare class GridEditor extends BasicContainerEditor {
|
4
|
+
tipName: string;
|
5
|
+
settingsSchema: {
|
6
|
+
title: string;
|
7
|
+
controls: any[];
|
8
|
+
};
|
9
|
+
containers: string[];
|
10
|
+
containerLabels: string[];
|
11
|
+
dropable: boolean;
|
12
|
+
constructor(props: RendererProps, context: any);
|
13
|
+
handleToolbarAction(id: string): void;
|
14
|
+
handleAdd(): void;
|
15
|
+
acceptChild(type: string, region?: string, rendererId?: string): any;
|
16
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { RendererProps } from '../types';
|
2
|
+
import BasicContainerEditor from '../BasicContainerEditor';
|
3
|
+
export declare class HBoxEditor extends BasicContainerEditor {
|
4
|
+
tipName: string;
|
5
|
+
settingsSchema: {
|
6
|
+
title: string;
|
7
|
+
controls: any;
|
8
|
+
};
|
9
|
+
constructor(props: RendererProps, context: any);
|
10
|
+
handleToolbarAction(id: string): void;
|
11
|
+
handleAdd(): void;
|
12
|
+
acceptChild(type: string, region?: string, rendererId?: string): any;
|
13
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import BasicEditor from '../BasicEditor';
|
3
|
+
import { RendererProps } from '../types';
|
4
|
+
export declare class IFrameEditor extends BasicEditor {
|
5
|
+
tipName: string;
|
6
|
+
settingsSchema: {
|
7
|
+
title: string;
|
8
|
+
controls: any;
|
9
|
+
};
|
10
|
+
renderRenderer(props: RendererProps): JSX.Element;
|
11
|
+
}
|
@@ -0,0 +1,70 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import BasicEditor from '../BasicEditor';
|
3
|
+
import { RendererProps } from '../types';
|
4
|
+
import BasicContainerEditor from '../BasicContainerEditor';
|
5
|
+
export declare class ListEditor extends BasicContainerEditor {
|
6
|
+
tipName: string;
|
7
|
+
isCRUDBody: boolean;
|
8
|
+
isUnderField: boolean;
|
9
|
+
dropable: boolean;
|
10
|
+
containers: string[];
|
11
|
+
settingsSchema: {
|
12
|
+
title: string;
|
13
|
+
controls: any;
|
14
|
+
};
|
15
|
+
state: any;
|
16
|
+
constructor(props: RendererProps, context: any);
|
17
|
+
componentWillReceiveProps(nextProps: RendererProps): void;
|
18
|
+
editorWillUpdate(activeId: string | null, prevId: string | null, mode: string): any;
|
19
|
+
modifyProps(props: RendererProps, context?: any): {
|
20
|
+
header: any;
|
21
|
+
footer: any;
|
22
|
+
data: {
|
23
|
+
[propName: string]: any;
|
24
|
+
};
|
25
|
+
listItem: any;
|
26
|
+
};
|
27
|
+
handleToolbarAction(id: string): void;
|
28
|
+
handleEditlistItem(): void;
|
29
|
+
}
|
30
|
+
export declare class ListItemEditor extends BasicEditor {
|
31
|
+
tipName: string;
|
32
|
+
containers: string[];
|
33
|
+
handleAdd: () => void;
|
34
|
+
settingsSchema: {
|
35
|
+
title: string;
|
36
|
+
controls: any[];
|
37
|
+
};
|
38
|
+
state: any;
|
39
|
+
constructor(props: RendererProps, context: any);
|
40
|
+
componentWillReceiveProps(nextProps: RendererProps): void;
|
41
|
+
editorWillUpdate(activeId: string | null, prevId: string | null, mode: string): any;
|
42
|
+
modifyProps(props: RendererProps, context?: any): {
|
43
|
+
body: any;
|
44
|
+
};
|
45
|
+
}
|
46
|
+
export declare class ListItemFieldEditor extends BasicEditor {
|
47
|
+
tipName: string;
|
48
|
+
replaceable: boolean;
|
49
|
+
settingsSchema: {
|
50
|
+
title: string;
|
51
|
+
controls: any[];
|
52
|
+
};
|
53
|
+
childrenOrder: string[];
|
54
|
+
constructor(props: RendererProps, context: any);
|
55
|
+
componentWillReceiveProps(nextProps: RendererProps): void;
|
56
|
+
editorWillUpdate(activeId: string | null, prevId: string | null, mode: string): any;
|
57
|
+
modifyProps(props: RendererProps, context?: any): {
|
58
|
+
quickEdit: any;
|
59
|
+
popOver: any;
|
60
|
+
};
|
61
|
+
deleteSelf(): void;
|
62
|
+
onChildSettingsGet(type: string, value: any): any;
|
63
|
+
onChildSettingsSet(type: string, value: any, origin: any, replaceMode?: boolean): any;
|
64
|
+
getSettingsValue(): any;
|
65
|
+
setSettingsValue(value: any): void;
|
66
|
+
handleQuickEditSetting(): void;
|
67
|
+
handlePopOverSetting(): void;
|
68
|
+
acceptChild(type: string, region?: string, rendererId?: string): boolean | null;
|
69
|
+
renderRenderer(props: any): JSX.Element;
|
70
|
+
}
|
@@ -0,0 +1,142 @@
|
|
1
|
+
import BasicEditor from '../BasicEditor';
|
2
|
+
export declare class NavigationEditor extends BasicEditor {
|
3
|
+
tipName: string;
|
4
|
+
settingsSchema: {
|
5
|
+
title: string;
|
6
|
+
definitions: {
|
7
|
+
links: {
|
8
|
+
label: string;
|
9
|
+
name: string;
|
10
|
+
type: string;
|
11
|
+
multiple: boolean;
|
12
|
+
draggable: boolean;
|
13
|
+
addButtonText: string;
|
14
|
+
multiLine: boolean;
|
15
|
+
messages: {
|
16
|
+
validateFailed: string;
|
17
|
+
};
|
18
|
+
scaffold: {
|
19
|
+
label: string;
|
20
|
+
to: string;
|
21
|
+
};
|
22
|
+
controls: ({
|
23
|
+
type: string;
|
24
|
+
name: string;
|
25
|
+
label: string;
|
26
|
+
required: boolean;
|
27
|
+
direction?: undefined;
|
28
|
+
className?: undefined;
|
29
|
+
labelRemark?: undefined;
|
30
|
+
controls?: undefined;
|
31
|
+
mode?: undefined;
|
32
|
+
pipeIn?: undefined;
|
33
|
+
pipeOut?: undefined;
|
34
|
+
messages?: undefined;
|
35
|
+
$ref?: undefined;
|
36
|
+
visibleOn?: undefined;
|
37
|
+
addButtonText?: undefined;
|
38
|
+
} | {
|
39
|
+
type: string;
|
40
|
+
name: string;
|
41
|
+
label: string;
|
42
|
+
required?: undefined;
|
43
|
+
direction?: undefined;
|
44
|
+
className?: undefined;
|
45
|
+
labelRemark?: undefined;
|
46
|
+
controls?: undefined;
|
47
|
+
mode?: undefined;
|
48
|
+
pipeIn?: undefined;
|
49
|
+
pipeOut?: undefined;
|
50
|
+
messages?: undefined;
|
51
|
+
$ref?: undefined;
|
52
|
+
visibleOn?: undefined;
|
53
|
+
addButtonText?: undefined;
|
54
|
+
} | {
|
55
|
+
type: string;
|
56
|
+
label: string;
|
57
|
+
direction: string;
|
58
|
+
className: string;
|
59
|
+
labelRemark: {
|
60
|
+
trigger: string;
|
61
|
+
rootClose: boolean;
|
62
|
+
className: string;
|
63
|
+
content: string;
|
64
|
+
placement: string;
|
65
|
+
};
|
66
|
+
controls: ({
|
67
|
+
name: string;
|
68
|
+
type: string;
|
69
|
+
inline: boolean;
|
70
|
+
options: ({
|
71
|
+
label: string;
|
72
|
+
value: boolean;
|
73
|
+
} | {
|
74
|
+
label: string;
|
75
|
+
value: string;
|
76
|
+
})[];
|
77
|
+
autoComplete?: undefined;
|
78
|
+
visibleOn?: undefined;
|
79
|
+
placeholder?: undefined;
|
80
|
+
className?: undefined;
|
81
|
+
} | {
|
82
|
+
name: string;
|
83
|
+
autoComplete: boolean;
|
84
|
+
visibleOn: string;
|
85
|
+
type: string;
|
86
|
+
placeholder: string;
|
87
|
+
className: string;
|
88
|
+
inline?: undefined;
|
89
|
+
options?: undefined;
|
90
|
+
})[];
|
91
|
+
name?: undefined;
|
92
|
+
required?: undefined;
|
93
|
+
mode?: undefined;
|
94
|
+
pipeIn?: undefined;
|
95
|
+
pipeOut?: undefined;
|
96
|
+
messages?: undefined;
|
97
|
+
$ref?: undefined;
|
98
|
+
visibleOn?: undefined;
|
99
|
+
addButtonText?: undefined;
|
100
|
+
} | {
|
101
|
+
type: string;
|
102
|
+
label: string;
|
103
|
+
name: string;
|
104
|
+
mode: string;
|
105
|
+
className: string;
|
106
|
+
pipeIn: (value: any) => boolean;
|
107
|
+
pipeOut: (value: any) => {
|
108
|
+
label: string;
|
109
|
+
to: string;
|
110
|
+
}[] | undefined;
|
111
|
+
messages: {
|
112
|
+
validateFailed: string;
|
113
|
+
};
|
114
|
+
required?: undefined;
|
115
|
+
direction?: undefined;
|
116
|
+
labelRemark?: undefined;
|
117
|
+
controls?: undefined;
|
118
|
+
$ref?: undefined;
|
119
|
+
visibleOn?: undefined;
|
120
|
+
addButtonText?: undefined;
|
121
|
+
} | {
|
122
|
+
name: string;
|
123
|
+
$ref: string;
|
124
|
+
visibleOn: string;
|
125
|
+
label: string;
|
126
|
+
addButtonText: string;
|
127
|
+
type?: undefined;
|
128
|
+
required?: undefined;
|
129
|
+
direction?: undefined;
|
130
|
+
className?: undefined;
|
131
|
+
labelRemark?: undefined;
|
132
|
+
controls?: undefined;
|
133
|
+
mode?: undefined;
|
134
|
+
pipeIn?: undefined;
|
135
|
+
pipeOut?: undefined;
|
136
|
+
messages?: undefined;
|
137
|
+
})[];
|
138
|
+
};
|
139
|
+
};
|
140
|
+
controls: any;
|
141
|
+
};
|
142
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { RendererProps } from '../types';
|
3
|
+
import BasicContainerEditor from '../BasicContainerEditor';
|
4
|
+
export declare class OperationEditor extends BasicContainerEditor {
|
5
|
+
tipName: string;
|
6
|
+
isUnderField: boolean;
|
7
|
+
settingsSchema: {
|
8
|
+
title: string;
|
9
|
+
controls: any[];
|
10
|
+
};
|
11
|
+
constructor(props: RendererProps, context: any);
|
12
|
+
handleToolbarAction(id: string): void;
|
13
|
+
handleAdd(): void;
|
14
|
+
onChildSettingsGet(type: string, originValue: any): any;
|
15
|
+
renderRenderer(props: any): JSX.Element;
|
16
|
+
acceptChild(type: string, region: string, rendererId?: string): boolean | null;
|
17
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import BasicContainerEditor from '../BasicContainerEditor';
|
2
|
+
export declare class PageEditor extends BasicContainerEditor {
|
3
|
+
state: any;
|
4
|
+
replaceable: boolean;
|
5
|
+
settingsSchema: {
|
6
|
+
title: string;
|
7
|
+
controls: any[];
|
8
|
+
};
|
9
|
+
tipName: string;
|
10
|
+
dropable: boolean;
|
11
|
+
containers: string[];
|
12
|
+
containerLabels: string[];
|
13
|
+
modifyProps(props: any, context?: any): any;
|
14
|
+
handleEditDefinitionDetail(index: number): void;
|
15
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import BasicContainerEditor from '../BasicContainerEditor';
|
2
|
+
export declare class PanelEditor extends BasicContainerEditor {
|
3
|
+
tipName: string;
|
4
|
+
schemaCaches: any;
|
5
|
+
dropable: boolean;
|
6
|
+
containers: string[];
|
7
|
+
containerLabels: string[];
|
8
|
+
diyContainer: string[];
|
9
|
+
settingsSchema: {
|
10
|
+
title: string;
|
11
|
+
controls: any;
|
12
|
+
};
|
13
|
+
}
|