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,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,8 @@
1
+ import { FormItemEditor } from './Item';
2
+ export declare class ChainedSelectControlEditor extends FormItemEditor {
3
+ tipName: string;
4
+ settingsSchema: {
5
+ title: string;
6
+ controls: any[];
7
+ };
8
+ }
@@ -0,0 +1,8 @@
1
+ import { FormItemEditor } from './Item';
2
+ export declare class CheckboxControlEditor extends FormItemEditor {
3
+ tipName: string;
4
+ settingsSchema: {
5
+ title: string;
6
+ controls: any[];
7
+ };
8
+ }
@@ -0,0 +1,8 @@
1
+ import { FormItemEditor } from './Item';
2
+ export declare class CheckboxesControlEditor extends FormItemEditor {
3
+ tipName: string;
4
+ settingsSchema: {
5
+ title: string;
6
+ controls: any[];
7
+ };
8
+ }
@@ -0,0 +1,8 @@
1
+ import { FormItemEditor } from './Item';
2
+ export declare class CheckboxControlEditor extends FormItemEditor {
3
+ tipName: string;
4
+ settingsSchema: {
5
+ title: string;
6
+ controls: any[];
7
+ };
8
+ }
@@ -0,0 +1,8 @@
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
+ }
@@ -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,9 @@
1
+ import { FormItemEditor } from './Item';
2
+ export declare class DateControlEditor extends FormItemEditor {
3
+ tipName: string;
4
+ settingsSchema: {
5
+ title: string;
6
+ controls: any[];
7
+ };
8
+ setSettingsValue(value: any): void;
9
+ }
@@ -0,0 +1,9 @@
1
+ import { FormItemEditor } from './Item';
2
+ export declare class DateControlEditor extends FormItemEditor {
3
+ tipName: string;
4
+ settingsSchema: {
5
+ title: string;
6
+ controls: any[];
7
+ };
8
+ setSettingsValue(value: any): void;
9
+ }
@@ -0,0 +1,9 @@
1
+ import { FormItemEditor } from './Item';
2
+ export declare class DatetimeControlEditor extends FormItemEditor {
3
+ tipName: string;
4
+ settingsSchema: {
5
+ title: string;
6
+ controls: any[];
7
+ };
8
+ setSettingsValue(value: any): void;
9
+ }
@@ -0,0 +1,8 @@
1
+ import { FormItemEditor } from './Item';
2
+ export declare class DiffEditorControlEditor extends FormItemEditor {
3
+ tipName: string;
4
+ settingsSchema: {
5
+ title: string;
6
+ controls: any[];
7
+ };
8
+ }
@@ -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,8 @@
1
+ import { TextControlEditor } from './Text';
2
+ export declare class EmailControlEditor extends TextControlEditor {
3
+ tipName: string;
4
+ settingsSchema: {
5
+ title: string;
6
+ controls: any[];
7
+ };
8
+ }
@@ -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,8 @@
1
+ import { FormItemEditor } from './Item';
2
+ export declare class FileControlEditor extends FormItemEditor {
3
+ tipName: string;
4
+ settingsSchema: {
5
+ title: string;
6
+ controls: any[];
7
+ };
8
+ }
@@ -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,8 @@
1
+ import { FormItemEditor } from './Item';
2
+ export declare class FileControlEditor extends FormItemEditor {
3
+ tipName: string;
4
+ settingsSchema: {
5
+ title: string;
6
+ controls: any[];
7
+ };
8
+ }
@@ -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,8 @@
1
+ import BasicEditor from '../../BasicEditor';
2
+ export declare class FormItemEditor extends BasicEditor {
3
+ tipName: string;
4
+ commonSettingsLeading: any[];
5
+ commonSettingsTrailing: any[];
6
+ getSettingsValue(): any;
7
+ setSettingsValue(value: any): void;
8
+ }
@@ -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,8 @@
1
+ import { FormItemEditor } from './Item';
2
+ export declare class MatrixControlEditor extends FormItemEditor {
3
+ tipName: string;
4
+ settingsSchema: {
5
+ title: string;
6
+ controls: any[];
7
+ };
8
+ }
@@ -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,8 @@
1
+ import { FormItemEditor } from './Item';
2
+ export declare class NumberControlEditor extends FormItemEditor {
3
+ tipName: string;
4
+ settingsSchema: {
5
+ title: string;
6
+ controls: any[];
7
+ };
8
+ }
@@ -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
+ }
@@ -0,0 +1,8 @@
1
+ import { FormItemEditor } from './Item';
2
+ export declare class QRCodeEditor extends FormItemEditor {
3
+ tipName: string;
4
+ settingsSchema: {
5
+ title: string;
6
+ controls: any[];
7
+ };
8
+ }
@@ -0,0 +1,8 @@
1
+ import { FormItemEditor } from './Item';
2
+ export declare class RadiosControlEditor extends FormItemEditor {
3
+ tipName: string;
4
+ settingsSchema: {
5
+ title: string;
6
+ controls: any[];
7
+ };
8
+ }
@@ -0,0 +1,8 @@
1
+ import { FormItemEditor } from './Item';
2
+ export declare class RangeControlEditor extends FormItemEditor {
3
+ tipName: string;
4
+ settingsSchema: {
5
+ title: string;
6
+ controls: any[];
7
+ };
8
+ }
@@ -0,0 +1,8 @@
1
+ import { FormItemEditor } from './Item';
2
+ export declare class RatingControlEditor extends FormItemEditor {
3
+ tipName: string;
4
+ settingsSchema: {
5
+ title: string;
6
+ controls: any[];
7
+ };
8
+ }
@@ -0,0 +1,8 @@
1
+ import { FormItemEditor } from './Item';
2
+ export declare class RepeatControlEditor extends FormItemEditor {
3
+ tipName: string;
4
+ settingsSchema: {
5
+ title: string;
6
+ controls: any[];
7
+ };
8
+ }
@@ -0,0 +1,8 @@
1
+ import BasicEditor from '../../BasicEditor';
2
+ export declare class InputGroupEditor extends BasicEditor {
3
+ tipName: string;
4
+ settingsSchema: {
5
+ title: string;
6
+ controls: any[];
7
+ };
8
+ }
@@ -0,0 +1,8 @@
1
+ import { FormItemEditor } from './Item';
2
+ export declare class RichTextControlEditor extends FormItemEditor {
3
+ tipName: string;
4
+ settingsSchema: {
5
+ title: string;
6
+ controls: any[];
7
+ };
8
+ }
@@ -0,0 +1,8 @@
1
+ import { FormItemEditor } from './Item';
2
+ export declare class SelectControlEditor extends FormItemEditor {
3
+ tipName: string;
4
+ settingsSchema: {
5
+ title: string;
6
+ controls: any[];
7
+ };
8
+ }