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.
Files changed (175) hide show
  1. package/dist/Animation.d.ts +22 -0
  2. package/dist/BasicContainerEditor.d.ts +46 -0
  3. package/dist/BasicEditor.d.ts +214 -0
  4. package/dist/Breadcrumb.d.ts +19 -0
  5. package/dist/ClassNameControl.d.ts +31 -0
  6. package/dist/CodeEditor.d.ts +34 -0
  7. package/dist/Editor.d.ts +251 -0
  8. package/dist/HighlightBox.d.ts +17 -0
  9. package/dist/MiniEditor.d.ts +9 -0
  10. package/dist/Outline.d.ts +38 -0
  11. package/dist/PositionRegion.d.ts +7 -0
  12. package/dist/Preview.d.ts +76 -0
  13. package/dist/Region.d.ts +61 -0
  14. package/dist/RendererThumb.d.ts +23 -0
  15. package/dist/Renderers.d.ts +39 -0
  16. package/dist/RenderersPicker.d.ts +28 -0
  17. package/dist/SettingForm.d.ts +20 -0
  18. package/dist/Settings.d.ts +58 -0
  19. package/dist/component/ScaffoldModal.d.ts +1 -1
  20. package/dist/dom-helper.d.ts +2 -0
  21. package/dist/editors/Action.d.ts +14 -0
  22. package/dist/editors/Alert.d.ts +11 -0
  23. package/dist/editors/Audio.d.ts +9 -0
  24. package/dist/editors/ButtonGroup.d.ts +15 -0
  25. package/dist/editors/ButtonToolbar.d.ts +7 -0
  26. package/dist/editors/CRUD.d.ts +27 -0
  27. package/dist/editors/Card.d.ts +47 -0
  28. package/dist/editors/Cards.d.ts +20 -0
  29. package/dist/editors/Carousel.d.ts +9 -0
  30. package/dist/editors/Chart.d.ts +13 -0
  31. package/dist/editors/Collapse.d.ts +13 -0
  32. package/dist/editors/Container.d.ts +13 -0
  33. package/dist/editors/Date.d.ts +18 -0
  34. package/dist/editors/Dialog.d.ts +27 -0
  35. package/dist/editors/DiffEditor.d.ts +8 -0
  36. package/dist/editors/Divdier.d.ts +8 -0
  37. package/dist/editors/Drawer.d.ts +26 -0
  38. package/dist/editors/DropDownButton.d.ts +16 -0
  39. package/dist/editors/Each.d.ts +16 -0
  40. package/dist/editors/Form/Array.d.ts +12 -0
  41. package/dist/editors/Form/Button.d.ts +13 -0
  42. package/dist/editors/Form/ButtonGroup.d.ts +17 -0
  43. package/dist/editors/Form/ButtonToolbar.d.ts +15 -0
  44. package/dist/editors/Form/ChainedSelect.d.ts +8 -0
  45. package/dist/editors/Form/Checkbox.d.ts +8 -0
  46. package/dist/editors/Form/Checkboxes.d.ts +8 -0
  47. package/dist/editors/Form/City.d.ts +8 -0
  48. package/dist/editors/Form/Color.d.ts +8 -0
  49. package/dist/editors/Form/Combo.d.ts +19 -0
  50. package/dist/editors/Form/Container.d.ts +22 -0
  51. package/dist/editors/Form/Control.d.ts +15 -0
  52. package/dist/editors/Form/Date.d.ts +9 -0
  53. package/dist/editors/Form/DateRange.d.ts +9 -0
  54. package/dist/editors/Form/Datetime.d.ts +9 -0
  55. package/dist/editors/Form/DiffEditor.d.ts +8 -0
  56. package/dist/editors/Form/Editor.d.ts +12 -0
  57. package/dist/editors/Form/Email.d.ts +8 -0
  58. package/dist/editors/Form/FieldSet.d.ts +22 -0
  59. package/dist/editors/Form/File.d.ts +8 -0
  60. package/dist/editors/Form/Form.d.ts +26 -0
  61. package/dist/editors/Form/Formula.d.ts +11 -0
  62. package/dist/editors/Form/Grid.d.ts +21 -0
  63. package/dist/editors/Form/Group.d.ts +21 -0
  64. package/dist/editors/Form/HBox.d.ts +20 -0
  65. package/dist/editors/Form/Hidden.d.ts +21 -0
  66. package/dist/editors/Form/Image.d.ts +8 -0
  67. package/dist/editors/Form/InputGroup.d.ts +12 -0
  68. package/dist/editors/Form/Item.d.ts +8 -0
  69. package/dist/editors/Form/List.d.ts +16 -0
  70. package/dist/editors/Form/Matrix.d.ts +8 -0
  71. package/dist/editors/Form/NestedSelect.d.ts +50 -0
  72. package/dist/editors/Form/Number.d.ts +8 -0
  73. package/dist/editors/Form/Panel.d.ts +22 -0
  74. package/dist/editors/Form/Password.d.ts +10 -0
  75. package/dist/editors/Form/Picker.d.ts +17 -0
  76. package/dist/editors/Form/QRCode.d.ts +8 -0
  77. package/dist/editors/Form/Radios.d.ts +8 -0
  78. package/dist/editors/Form/Range.d.ts +8 -0
  79. package/dist/editors/Form/Rating.d.ts +8 -0
  80. package/dist/editors/Form/Repeat.d.ts +8 -0
  81. package/dist/editors/Form/Reset.d.ts +8 -0
  82. package/dist/editors/Form/RichText.d.ts +8 -0
  83. package/dist/editors/Form/Select.d.ts +8 -0
  84. package/dist/editors/Form/Service.d.ts +25 -0
  85. package/dist/editors/Form/Static.d.ts +18 -0
  86. package/dist/editors/Form/SubForm.d.ts +12 -0
  87. package/dist/editors/Form/Submit.d.ts +9 -0
  88. package/dist/editors/Form/Switch.d.ts +8 -0
  89. package/dist/editors/Form/Tab.d.ts +12 -0
  90. package/dist/editors/Form/Table.d.ts +25 -0
  91. package/dist/editors/Form/Tabs.d.ts +6 -0
  92. package/dist/editors/Form/Tag.d.ts +10 -0
  93. package/dist/editors/Form/Text.d.ts +10 -0
  94. package/dist/editors/Form/Textarea.d.ts +8 -0
  95. package/dist/editors/Form/Time.d.ts +9 -0
  96. package/dist/editors/Form/Tree.d.ts +50 -0
  97. package/dist/editors/Form/TreeSelect.d.ts +50 -0
  98. package/dist/editors/Form/Url.d.ts +8 -0
  99. package/dist/editors/Grid.d.ts +16 -0
  100. package/dist/editors/HBox.d.ts +13 -0
  101. package/dist/editors/IFrame.d.ts +11 -0
  102. package/dist/editors/Image.d.ts +9 -0
  103. package/dist/editors/Json.d.ts +9 -0
  104. package/dist/editors/Link.d.ts +8 -0
  105. package/dist/editors/List.d.ts +70 -0
  106. package/dist/editors/Mapping.d.ts +9 -0
  107. package/dist/editors/Nav.d.ts +142 -0
  108. package/dist/editors/Operation.d.ts +17 -0
  109. package/dist/editors/Page.d.ts +15 -0
  110. package/dist/editors/Panel.d.ts +13 -0
  111. package/dist/editors/Plain.d.ts +9 -0
  112. package/dist/editors/Progress.d.ts +9 -0
  113. package/dist/editors/QRCode.d.ts +8 -0
  114. package/dist/editors/Service.d.ts +5 -0
  115. package/dist/editors/Status.d.ts +9 -0
  116. package/dist/editors/Switch.d.ts +9 -0
  117. package/dist/editors/Tab.d.ts +13 -0
  118. package/dist/editors/Table.d.ts +27 -0
  119. package/dist/editors/TableCell.d.ts +29 -0
  120. package/dist/editors/TableColumnsRegion.d.ts +6 -0
  121. package/dist/editors/Tabs.d.ts +15 -0
  122. package/dist/editors/Tasks.d.ts +8 -0
  123. package/dist/editors/Tpl.d.ts +8 -0
  124. package/dist/editors/Video.d.ts +8 -0
  125. package/dist/editors/Wizard.d.ts +15 -0
  126. package/dist/editors/WizardStep.d.ts +19 -0
  127. package/dist/editors/Wrapper.d.ts +11 -0
  128. package/dist/editors/index.d.ts +101 -0
  129. package/dist/editors/templates.d.ts +3 -0
  130. package/dist/index.d.ts +2 -1
  131. package/dist/index.min.js +1 -1
  132. package/dist/json-ast/index.d.ts +53 -0
  133. package/dist/plugin/CRUD.d.ts +5 -16
  134. package/dist/plugin/DiffEditor.d.ts +19 -0
  135. package/dist/plugin/Form/AnchorNav.d.ts +17 -0
  136. package/dist/plugin/Form/Array.d.ts +27 -0
  137. package/dist/plugin/Form/Button.d.ts +11 -0
  138. package/dist/plugin/Form/ButtonGroup.d.ts +22 -0
  139. package/dist/plugin/Form/City.d.ts +19 -0
  140. package/dist/plugin/Form/Container.d.ts +37 -0
  141. package/dist/plugin/Form/Date.d.ts +20 -0
  142. package/dist/plugin/Form/DateRange.d.ts +20 -0
  143. package/dist/plugin/Form/DateTime.d.ts +19 -0
  144. package/dist/plugin/Form/Email.d.ts +25 -0
  145. package/dist/plugin/Form/File.d.ts +19 -0
  146. package/dist/plugin/Form/Form.d.ts +2 -1
  147. package/dist/plugin/Form/Grid.d.ts +32 -0
  148. package/dist/plugin/Form/HBox.d.ts +73 -0
  149. package/dist/plugin/Form/Image.d.ts +20 -0
  150. package/dist/plugin/Form/List.d.ts +24 -0
  151. package/dist/plugin/Form/Location.d.ts +48 -0
  152. package/dist/plugin/Form/Matrix.d.ts +26 -0
  153. package/dist/plugin/Form/Month.d.ts +16 -0
  154. package/dist/plugin/Form/MonthRange.d.ts +20 -0
  155. package/dist/plugin/Form/Number.d.ts +20 -0
  156. package/dist/plugin/Form/Panel.d.ts +24 -0
  157. package/dist/plugin/Form/Password.d.ts +25 -0
  158. package/dist/plugin/Form/QRCode.d.ts +20 -0
  159. package/dist/plugin/Form/Range.d.ts +19 -0
  160. package/dist/plugin/Form/Rating.d.ts +19 -0
  161. package/dist/plugin/Form/Repeat.d.ts +19 -0
  162. package/dist/plugin/Form/RichText.d.ts +19 -0
  163. package/dist/plugin/Form/Service.d.ts +24 -0
  164. package/dist/plugin/Form/SubForm.d.ts +64 -0
  165. package/dist/plugin/Form/Table.d.ts +34 -0
  166. package/dist/plugin/Form/Tabs.d.ts +17 -0
  167. package/dist/plugin/Form/Tag.d.ts +21 -0
  168. package/dist/plugin/Form/Text.d.ts +20 -0
  169. package/dist/plugin/Form/Time.d.ts +19 -0
  170. package/dist/plugin/Form/Tree.d.ts +73 -0
  171. package/dist/plugin/Form/Url.d.ts +25 -0
  172. package/dist/plugin/Form/Year.d.ts +16 -0
  173. package/dist/plugin/Switch.d.ts +21 -0
  174. package/dist/types.d.ts +40 -0
  175. package/package.json +20 -43
@@ -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,9 @@
1
+ import BasicEditor from '../../BasicEditor';
2
+ export declare class SubmitEditor extends BasicEditor {
3
+ tipName: string;
4
+ isInDialog: boolean;
5
+ settingsSchema: {
6
+ title: string;
7
+ controls: any[];
8
+ };
9
+ }
@@ -0,0 +1,8 @@
1
+ import { FormItemEditor } from './Item';
2
+ export declare class SwitchControlEditor extends FormItemEditor {
3
+ tipName: string;
4
+ settingsSchema: {
5
+ title: string;
6
+ controls: any[];
7
+ };
8
+ }
@@ -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,6 @@
1
+ export interface TabsProps extends RendererProps {
2
+ }
3
+ import { RendererProps } from '../../types';
4
+ import { TabsEditor } from '../Tabs';
5
+ export declare class TabsControlEditor extends TabsEditor {
6
+ }
@@ -0,0 +1,10 @@
1
+ import { FormItemEditor } from './Item';
2
+ export declare class TagControlEditor extends FormItemEditor {
3
+ tipName: string;
4
+ settingsSchema: {
5
+ title: string;
6
+ controls: any[];
7
+ };
8
+ getSettingsValue(): any;
9
+ setSettingsValue(value: any): void;
10
+ }
@@ -0,0 +1,10 @@
1
+ import { FormItemEditor } from './Item';
2
+ export declare class TextControlEditor extends FormItemEditor {
3
+ tipName: string;
4
+ settingsSchema: {
5
+ title: string;
6
+ controls: any[];
7
+ };
8
+ getSettingsValue(): any;
9
+ setSettingsValue(value: any): void;
10
+ }
@@ -0,0 +1,8 @@
1
+ import { FormItemEditor } from './Item';
2
+ export declare class TextAreaControlEditor extends FormItemEditor {
3
+ tipName: string;
4
+ settingsSchema: {
5
+ title: string;
6
+ controls: any[];
7
+ };
8
+ }
@@ -0,0 +1,9 @@
1
+ import { FormItemEditor } from './Item';
2
+ export declare class TimeControlEditor extends FormItemEditor {
3
+ tipName: string;
4
+ settingsSchema: {
5
+ title: string;
6
+ controls: any[];
7
+ };
8
+ setSettingsValue(value: any): void;
9
+ }
@@ -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,8 @@
1
+ import { TextControlEditor } from './Text';
2
+ export declare class UrlControlEditor extends TextControlEditor {
3
+ tipName: string;
4
+ settingsSchema: {
5
+ title: string;
6
+ controls: any[];
7
+ };
8
+ }
@@ -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,9 @@
1
+ import BasicEditor from '../BasicEditor';
2
+ export declare class ImageEditor extends BasicEditor {
3
+ tipName: string;
4
+ isUnderField: boolean;
5
+ settingsSchema: {
6
+ title: string;
7
+ controls: any;
8
+ };
9
+ }
@@ -0,0 +1,9 @@
1
+ import BasicEditor from '../BasicEditor';
2
+ export declare class JsonEditor extends BasicEditor {
3
+ tipName: string;
4
+ isUnderField: boolean;
5
+ settingsSchema: {
6
+ title: string;
7
+ controls: any[];
8
+ };
9
+ }
@@ -0,0 +1,8 @@
1
+ import BasicEditor from '../BasicEditor';
2
+ export declare class LinkEditor extends BasicEditor {
3
+ tipName: string;
4
+ settingsSchema: {
5
+ title: string;
6
+ controls: any;
7
+ };
8
+ }
@@ -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,9 @@
1
+ import BasicEditor from '../BasicEditor';
2
+ export declare class StatusFieldEditor extends BasicEditor {
3
+ tipName: string;
4
+ isUnderField: boolean;
5
+ settingsSchema: {
6
+ title: string;
7
+ controls: any;
8
+ };
9
+ }
@@ -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
+ }
@@ -0,0 +1,9 @@
1
+ import BasicEditor from '../BasicEditor';
2
+ export declare class PlainEditor extends BasicEditor {
3
+ tipName: string;
4
+ isUnderField: boolean;
5
+ settingsSchema: {
6
+ title: string;
7
+ controls: any;
8
+ };
9
+ }
@@ -0,0 +1,9 @@
1
+ import BasicEditor from '../BasicEditor';
2
+ export declare class ProgressFieldEditor extends BasicEditor {
3
+ tipName: string;
4
+ isUnderField: boolean;
5
+ settingsSchema: {
6
+ title: string;
7
+ controls: any;
8
+ };
9
+ }
@@ -0,0 +1,8 @@
1
+ import BasicEditor from '../BasicEditor';
2
+ export declare class QRCodeEditor extends BasicEditor {
3
+ tipName: string;
4
+ settingsSchema: {
5
+ title: string;
6
+ controls: any;
7
+ };
8
+ }
@@ -0,0 +1,5 @@
1
+ import { ServiceEditor } from './Form/Service';
2
+ export declare class OutterServiceEditor extends ServiceEditor {
3
+ dropable: boolean;
4
+ containers: string[];
5
+ }