amis-editor 3.3.6-beta.10 → 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/component/ScaffoldModal.d.ts +1 -1
- 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/CRUD.d.ts +5 -16
- 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/Form.d.ts +2 -1
- 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/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/types.d.ts +40 -0
- package/package.json +20 -43
@@ -0,0 +1,12 @@
|
|
1
|
+
import { FormItemEditor } from './Item';
|
2
|
+
import { RendererProps } from '../../types';
|
3
|
+
export declare class ArrayControlEditor 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,13 @@
|
|
1
|
+
import BasicEditor from '../../BasicEditor';
|
2
|
+
export declare class ButtonEditor extends BasicEditor {
|
3
|
+
tipName: string;
|
4
|
+
isInDialog: boolean;
|
5
|
+
isInDropdown: boolean;
|
6
|
+
settingsSchema: {
|
7
|
+
title: string;
|
8
|
+
controls: any[];
|
9
|
+
};
|
10
|
+
handleEditDialog(): void;
|
11
|
+
handleEditDrawer(): void;
|
12
|
+
handleEditFeedback(): void;
|
13
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { FormItemEditor } from './Item';
|
2
|
+
export declare class ButtonGroupControlEditor extends FormItemEditor {
|
3
|
+
tipName: string;
|
4
|
+
settingsSchema: {
|
5
|
+
title: string;
|
6
|
+
controls: any[];
|
7
|
+
};
|
8
|
+
state: any;
|
9
|
+
constructor(props: any, context: any);
|
10
|
+
editorWillUpdate(activeId: string | null, prevId: string | null, mode: string): any;
|
11
|
+
modifyProps(props: any, context?: any, mode?: string): {
|
12
|
+
buttons: any;
|
13
|
+
};
|
14
|
+
acceptChild(type: string, region?: string, rendererId?: string): boolean;
|
15
|
+
setSettingsValue(changes: any): any;
|
16
|
+
getSettingsValue(): any;
|
17
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import BasicEditor from '../../BasicEditor';
|
3
|
+
export declare class ButtonToolbarControlEditor extends BasicEditor {
|
4
|
+
tipName: string;
|
5
|
+
settingsSchema: {
|
6
|
+
title: string;
|
7
|
+
controls: any[];
|
8
|
+
};
|
9
|
+
containers: string[];
|
10
|
+
containerLabels: string[];
|
11
|
+
acceptChild(type: string, region: string, rendererId?: string): boolean | null;
|
12
|
+
handleAdd(): void;
|
13
|
+
getContextMenus(): any[];
|
14
|
+
renderRenderer(props: any): JSX.Element;
|
15
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { FormItemEditor } from './Item';
|
3
|
+
import { RendererProps } from '../../types';
|
4
|
+
export declare class ComboControlEditor extends FormItemEditor {
|
5
|
+
tipName: string;
|
6
|
+
settingsSchema: {
|
7
|
+
title: string;
|
8
|
+
controls: any[];
|
9
|
+
};
|
10
|
+
constructor(props: RendererProps, context: any);
|
11
|
+
componentWillReceiveProps(nextProps: RendererProps): void;
|
12
|
+
editorWillUpdate(activeId: string | null, prevId: string | null, mode: string): any;
|
13
|
+
handleToolbarAction(id: string): void;
|
14
|
+
modifyProps(props: RendererProps, context?: any): any;
|
15
|
+
handleAdd(): void;
|
16
|
+
handleEditFormItem(): void;
|
17
|
+
handleEditConditionFormItem(index: number): void;
|
18
|
+
renderRenderer(props: RendererProps): JSX.Element;
|
19
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { RendererProps, Schema } from '../../types';
|
3
|
+
import BasicContainerEditor from '../../BasicContainerEditor';
|
4
|
+
export declare class ContainerEditor extends BasicContainerEditor {
|
5
|
+
tipName: string;
|
6
|
+
dropable: boolean;
|
7
|
+
settingsSchema: {
|
8
|
+
title: string;
|
9
|
+
controls: any[];
|
10
|
+
};
|
11
|
+
schemaCaches: any;
|
12
|
+
containers: string[];
|
13
|
+
containerLabels: string[];
|
14
|
+
state: any;
|
15
|
+
renderRenderer(props: RendererProps): JSX.Element;
|
16
|
+
constructor(props: RendererProps, context: any);
|
17
|
+
setSettingsValue(changes: any): any;
|
18
|
+
getSettingsValue(): any;
|
19
|
+
acceptChild(type: string, region?: string, rendererId?: string): boolean | null;
|
20
|
+
renderChild(region: string, node: Schema, props: any): JSX.Element;
|
21
|
+
pickChild(region: 'controls' | 'body', ...args: Array<any>): void;
|
22
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import BasicEditor from '../../BasicEditor';
|
3
|
+
import { RendererProps } from '../../types';
|
4
|
+
export declare class FormControlEditor extends BasicEditor {
|
5
|
+
tipName: string;
|
6
|
+
settingsSchema: {
|
7
|
+
title: string;
|
8
|
+
controls: {
|
9
|
+
type: string;
|
10
|
+
text: string;
|
11
|
+
className: string;
|
12
|
+
}[];
|
13
|
+
};
|
14
|
+
renderRenderer(props: RendererProps): JSX.Element;
|
15
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { FormItemEditor } from './Item';
|
2
|
+
export declare class EditorControlEditor extends FormItemEditor {
|
3
|
+
tipName: string;
|
4
|
+
settingsSchema: {
|
5
|
+
title: string;
|
6
|
+
controls: any[];
|
7
|
+
};
|
8
|
+
_settingsSchema: {
|
9
|
+
title: string;
|
10
|
+
controls: any[];
|
11
|
+
};
|
12
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { RendererProps } from '../../types';
|
3
|
+
import BasicContainerEditor from '../../BasicContainerEditor';
|
4
|
+
export declare class FieldSetControlEditor extends BasicContainerEditor {
|
5
|
+
tipName: string;
|
6
|
+
containers: string[];
|
7
|
+
containerLabels: string[];
|
8
|
+
schemaCaches: any;
|
9
|
+
settingsSchema: {
|
10
|
+
title: string;
|
11
|
+
controls: any[];
|
12
|
+
};
|
13
|
+
dropable: boolean;
|
14
|
+
state: any;
|
15
|
+
constructor(props: RendererProps, context: any);
|
16
|
+
handleAdd(): void;
|
17
|
+
acceptChild(type: string, region?: string, rendererId?: string): boolean | null;
|
18
|
+
setSettingsValue(changes: any): any;
|
19
|
+
getSettingsValue(): any;
|
20
|
+
pickChild(region: 'actions' | 'controls' | 'body', ...args: Array<any>): void;
|
21
|
+
renderChild(region: string, node: any, props: any): JSX.Element;
|
22
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import BasicContainerEditor from '../../BasicContainerEditor';
|
3
|
+
import { Schema } from '../../types';
|
4
|
+
export declare class FormEditor extends BasicContainerEditor {
|
5
|
+
state: any;
|
6
|
+
isCRUDFilter: boolean;
|
7
|
+
isInDialog: boolean;
|
8
|
+
childrenSortList: {
|
9
|
+
controls: string[];
|
10
|
+
};
|
11
|
+
settingsSchema: {
|
12
|
+
title: string;
|
13
|
+
controls: any[];
|
14
|
+
};
|
15
|
+
tipName: string;
|
16
|
+
dropable: boolean;
|
17
|
+
containers: string[];
|
18
|
+
containerLabels: string[];
|
19
|
+
regions2path: {
|
20
|
+
controls: string;
|
21
|
+
};
|
22
|
+
acceptChild(type: string, region: string, rendererId?: string): boolean | null;
|
23
|
+
renderRenderer(props: any): JSX.Element;
|
24
|
+
onChildDelete(child: Schema, key: string): void;
|
25
|
+
pickChild(region: 'actions' | 'controls', ...args: Array<any>): void;
|
26
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import BasicEditor from '../../BasicEditor';
|
3
|
+
export declare class FormulaControlEditor extends BasicEditor {
|
4
|
+
tipName: string;
|
5
|
+
placeholder: string;
|
6
|
+
settingsSchema: {
|
7
|
+
title: string;
|
8
|
+
controls: any[];
|
9
|
+
};
|
10
|
+
renderRenderer(props?: any): JSX.Element;
|
11
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { RendererProps } from '../../types';
|
3
|
+
import BasicContainerEditor from '../../BasicContainerEditor';
|
4
|
+
export declare class GridControlEditor extends BasicContainerEditor {
|
5
|
+
tipName: string;
|
6
|
+
schemaCaches: any;
|
7
|
+
settingsSchema: {
|
8
|
+
title: string;
|
9
|
+
controls: any[];
|
10
|
+
};
|
11
|
+
state: any;
|
12
|
+
constructor(props: RendererProps, context: any);
|
13
|
+
componentWillReceiveProps(nextProps: RendererProps): void;
|
14
|
+
editorWillUpdate(activeId: string | null, prevId: string | null, mode: string): any;
|
15
|
+
renderRenderer(props: any): JSX.Element;
|
16
|
+
modifyProps(props: RendererProps, context?: any, mode?: string): {
|
17
|
+
columns: any;
|
18
|
+
};
|
19
|
+
setSettingsValue(changes: any): any;
|
20
|
+
getSettingsValue(): any;
|
21
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { RendererProps } from '../../types';
|
3
|
+
import BasicContainerEditor from '../../BasicContainerEditor';
|
4
|
+
export declare class InputGroupEditor extends BasicContainerEditor {
|
5
|
+
tipName: string;
|
6
|
+
handleAdd: () => void;
|
7
|
+
dropable: boolean;
|
8
|
+
containers: string[];
|
9
|
+
containerLabels: string[];
|
10
|
+
settingsSchema: {
|
11
|
+
title: string;
|
12
|
+
controls: any[];
|
13
|
+
};
|
14
|
+
constructor(props: RendererProps, context: any);
|
15
|
+
handleToolbarAction(id: string): void;
|
16
|
+
renderRenderer(props: RendererProps): JSX.Element;
|
17
|
+
getSettingsValue(): any;
|
18
|
+
setSettingsValue(value: any): void;
|
19
|
+
acceptChild(type: string, region?: string, rendererId?: string): boolean | null;
|
20
|
+
pickChild(region: 'actions' | 'controls', ...args: Array<any>): void;
|
21
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { RendererProps } from '../../types';
|
3
|
+
import BasicContainerEditor from '../../BasicContainerEditor';
|
4
|
+
export declare class HBoxControlEditor extends BasicContainerEditor {
|
5
|
+
tipName: string;
|
6
|
+
schemaCaches: any;
|
7
|
+
settingsSchema: {
|
8
|
+
title: string;
|
9
|
+
controls: any[];
|
10
|
+
};
|
11
|
+
constructor(props: RendererProps, context: any);
|
12
|
+
componentWillReceiveProps(nextProps: RendererProps): void;
|
13
|
+
editorWillUpdate(activeId: string | null, prevId: string | null, mode: string): any;
|
14
|
+
renderRenderer(props: any): JSX.Element;
|
15
|
+
modifyProps(props: RendererProps, context?: any, mode?: string): {
|
16
|
+
columns: any;
|
17
|
+
};
|
18
|
+
setSettingsValue(changes: any): any;
|
19
|
+
getSettingsValue(): any;
|
20
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import BasicEditor from '../../BasicEditor';
|
3
|
+
export declare class HiddenControlEditor extends BasicEditor {
|
4
|
+
tipName: string;
|
5
|
+
placeholder: string;
|
6
|
+
settingsSchema: {
|
7
|
+
title: string;
|
8
|
+
controls: ({
|
9
|
+
label: string;
|
10
|
+
name: string;
|
11
|
+
type: string;
|
12
|
+
required: boolean;
|
13
|
+
} | {
|
14
|
+
type: string;
|
15
|
+
name: string;
|
16
|
+
label: string;
|
17
|
+
required?: undefined;
|
18
|
+
})[];
|
19
|
+
};
|
20
|
+
renderRenderer(props?: any): JSX.Element;
|
21
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { FormItemEditor } from './Item';
|
2
|
+
export declare class InputGroupControlEditor extends FormItemEditor {
|
3
|
+
tipName: string;
|
4
|
+
handleAdd: () => void;
|
5
|
+
containers: string[];
|
6
|
+
settingsSchema: {
|
7
|
+
title: string;
|
8
|
+
controls: any[];
|
9
|
+
};
|
10
|
+
getSettingsValue(): any;
|
11
|
+
setSettingsValue(value: any): void;
|
12
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { FormItemEditor } from './Item';
|
2
|
+
import { RendererProps } from '../../types';
|
3
|
+
export declare class ListControlEditor extends FormItemEditor {
|
4
|
+
tipName: string;
|
5
|
+
settingsSchema: {
|
6
|
+
title: string;
|
7
|
+
controls: any[];
|
8
|
+
};
|
9
|
+
constructor(props: RendererProps, context: any);
|
10
|
+
componentWillReceiveProps(nextProps: RendererProps): void;
|
11
|
+
editorWillUpdate(activeId: string | null, prevId: string | null, mode: string): any;
|
12
|
+
modifyProps(props: RendererProps, context?: any): {
|
13
|
+
itemSchema: any;
|
14
|
+
};
|
15
|
+
handleEditItemSchema(): void;
|
16
|
+
}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
import { FormItemEditor } from './Item';
|
2
|
+
export declare class NestedSelectControlEditor 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,22 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { RendererProps, Schema } from '../../types';
|
3
|
+
import BasicContainerEditor from '../../BasicContainerEditor';
|
4
|
+
export declare class PanelControlEditor extends BasicContainerEditor {
|
5
|
+
tipName: string;
|
6
|
+
schemaCaches: any;
|
7
|
+
dropable: boolean;
|
8
|
+
isFormItem: boolean;
|
9
|
+
containers: string[];
|
10
|
+
containerLabels: string[];
|
11
|
+
settingsSchema: {
|
12
|
+
title: string;
|
13
|
+
controls: any;
|
14
|
+
};
|
15
|
+
state: any;
|
16
|
+
constructor(props: RendererProps, context: any);
|
17
|
+
setSettingsValue(changes: any): any;
|
18
|
+
getSettingsValue(): any;
|
19
|
+
acceptChild(type: string, region?: string, rendererId?: string): boolean | null;
|
20
|
+
renderChild(region: string, node: Schema, props: any): JSX.Element;
|
21
|
+
pickChild(region: 'actions' | 'controls' | 'body', ...args: Array<any>): void;
|
22
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { TextControlEditor } from './Text';
|
2
|
+
export declare class PasswordControlEditor extends TextControlEditor {
|
3
|
+
tipName: string;
|
4
|
+
settingsSchema: {
|
5
|
+
title: string;
|
6
|
+
controls: any[];
|
7
|
+
};
|
8
|
+
getSettingsValue(): any;
|
9
|
+
setSettingsValue(value: any): void;
|
10
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { RendererProps } from '../../types';
|
2
|
+
import { FormItemEditor } from './Item';
|
3
|
+
export declare class PickerControlEditor extends FormItemEditor {
|
4
|
+
tipName: string;
|
5
|
+
settingsSchema: {
|
6
|
+
title: string;
|
7
|
+
controls: any[];
|
8
|
+
};
|
9
|
+
constructor(props: RendererProps, context: any);
|
10
|
+
componentWillReceiveProps(nextProps: RendererProps): void;
|
11
|
+
editorWillUpdate(activeId: string | null, prevId: string | null, mode: string): any;
|
12
|
+
modifyProps(props: any, context?: any): {
|
13
|
+
pickerSchema: any;
|
14
|
+
};
|
15
|
+
handleToolbarAction(id: string): void;
|
16
|
+
handleEditModal(): void;
|
17
|
+
}
|