amis-editor 4.0.1-beta.9 → 4.0.2-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. package/dist/cebfe0bc5a1dbde02da1.svg +10 -0
  2. package/dist/component/ContextMenuPanel.d.ts +8 -0
  3. package/dist/component/Control/APIControl.d.ts +504 -0
  4. package/dist/component/Control/OptionControl.d.ts +163 -0
  5. package/dist/component/Control/PopoverEdit.d.ts +57 -0
  6. package/dist/component/Control/ValidationControl.d.ts +30 -0
  7. package/dist/component/Editor.d.ts +1 -0
  8. package/dist/component/Panel/AMisCodeEditor.d.ts +37 -0
  9. package/dist/component/Panel/AvailableRenderersPanel.d.ts +10 -0
  10. package/dist/component/Panel/CodeEditorPanel.d.ts +6 -0
  11. package/dist/component/Panel/ContextMenuPanel.d.ts +8 -0
  12. package/dist/component/Panel/DrawerPanel.d.ts +15 -0
  13. package/dist/component/Panel/DrawerRendererPanel.d.ts +15 -0
  14. package/dist/component/Panel/InsertSubRendererPanel.d.ts +11 -0
  15. package/dist/component/Panel/LeftPanels.d.ts +20 -0
  16. package/dist/component/Panel/Outline.d.ts +18 -0
  17. package/dist/component/Panel/RenderersPanel.d.ts +32 -0
  18. package/dist/component/Panel/RightPanels.d.ts +21 -0
  19. package/dist/component/Panel/TargetNamePanel.d.ts +7 -0
  20. package/dist/component/Preview.d.ts +1 -0
  21. package/dist/component/ScaffoldModal.d.ts +1 -1
  22. package/dist/component/base/BackTop.d.ts +26 -0
  23. package/dist/component/base/ErrorRenderer.d.ts +4 -0
  24. package/dist/component/base/InputComponentName.d.ts +8 -0
  25. package/dist/component/base/SearchRendererPanel.d.ts +59 -0
  26. package/dist/component/base/WidthDraggableBtn.d.ts +16 -0
  27. package/dist/component/base/WidthDraggableContainer.d.ts +2 -0
  28. package/dist/component/remarkTpl.d.ts +150 -0
  29. package/dist/exports.d.ts +8 -0
  30. package/dist/exports.min.js +1 -0
  31. package/dist/index.d.ts +18 -14
  32. package/dist/index.min.js +1 -1
  33. package/dist/manager.d.ts +7 -5
  34. package/dist/plugin/Alert.d.ts +2 -1
  35. package/dist/plugin/AnchorNav.d.ts +1 -0
  36. package/dist/plugin/Audio.d.ts +1 -0
  37. package/dist/plugin/Avatar.d.ts +1 -0
  38. package/dist/plugin/Breadcrumb.d.ts +2 -0
  39. package/dist/plugin/Button.d.ts +1 -0
  40. package/dist/plugin/ButtonGroup.d.ts +1 -0
  41. package/dist/plugin/ButtonToolbar.d.ts +1 -0
  42. package/dist/plugin/CRUD.d.ts +1 -0
  43. package/dist/plugin/Card.d.ts +1 -1
  44. package/dist/plugin/Cards.d.ts +1 -0
  45. package/dist/plugin/Carousel.d.ts +1 -0
  46. package/dist/plugin/Chart.d.ts +1 -0
  47. package/dist/plugin/CodeView.d.ts +1 -0
  48. package/dist/plugin/Collapse.d.ts +1 -0
  49. package/dist/plugin/Container.d.ts +1 -0
  50. package/dist/plugin/Custom.d.ts +1 -0
  51. package/dist/plugin/Date.d.ts +1 -0
  52. package/dist/plugin/Datetime.d.ts +1 -0
  53. package/dist/plugin/Dialog.d.ts +1 -0
  54. package/dist/plugin/Divider.d.ts +1 -0
  55. package/dist/plugin/Drawer.d.ts +1 -0
  56. package/dist/plugin/DropDownButton.d.ts +1 -0
  57. package/dist/plugin/Each.d.ts +1 -0
  58. package/dist/plugin/ErrorRenderer.d.ts +1 -0
  59. package/dist/plugin/Flex.d.ts +2 -1
  60. package/dist/plugin/Form/ButtonGroupSelect.d.ts +1 -0
  61. package/dist/plugin/Form/ButtonToolbar.d.ts +1 -0
  62. package/dist/plugin/Form/ChainedSelect.d.ts +1 -0
  63. package/dist/plugin/Form/Checkbox.d.ts +1 -0
  64. package/dist/plugin/Form/Checkboxes.d.ts +1 -0
  65. package/dist/plugin/Form/CodeEditor.d.ts +40 -0
  66. package/dist/plugin/Form/Combo.d.ts +1 -0
  67. package/dist/plugin/Form/ConditionBuilder.d.ts +1 -0
  68. package/dist/plugin/Form/Control.d.ts +1 -0
  69. package/dist/plugin/Form/DiffEditor.d.ts +1 -0
  70. package/dist/plugin/Form/FieldSet.d.ts +1 -0
  71. package/dist/plugin/Form/Form.d.ts +1 -0
  72. package/dist/plugin/Form/Formula.d.ts +1 -0
  73. package/dist/plugin/Form/Group.d.ts +1 -0
  74. package/dist/plugin/Form/Hidden.d.ts +1 -0
  75. package/dist/plugin/Form/InputArray.d.ts +2 -0
  76. package/dist/plugin/Form/InputCity.d.ts +1 -0
  77. package/dist/plugin/Form/InputColor.d.ts +1 -0
  78. package/dist/plugin/Form/InputDate.d.ts +1 -0
  79. package/dist/plugin/Form/InputDateRange.d.ts +1 -0
  80. package/dist/plugin/Form/InputDateTime.d.ts +1 -0
  81. package/dist/plugin/Form/InputDateTimeRange.d.ts +1 -0
  82. package/dist/plugin/Form/InputEmail.d.ts +1 -0
  83. package/dist/plugin/Form/InputExcel.d.ts +1 -0
  84. package/dist/plugin/Form/InputFile.d.ts +1 -0
  85. package/dist/plugin/Form/InputGroup.d.ts +1 -2
  86. package/dist/plugin/Form/InputImage.d.ts +1 -0
  87. package/dist/plugin/Form/InputKV.d.ts +1 -0
  88. package/dist/plugin/Form/InputMonth.d.ts +1 -0
  89. package/dist/plugin/Form/InputMonthRange.d.ts +1 -0
  90. package/dist/plugin/Form/InputNumber.d.ts +1 -0
  91. package/dist/plugin/Form/InputPassword.d.ts +1 -0
  92. package/dist/plugin/Form/InputQuarter.d.ts +1 -0
  93. package/dist/plugin/Form/InputQuarterRange.d.ts +1 -0
  94. package/dist/plugin/Form/InputRange.d.ts +1 -0
  95. package/dist/plugin/Form/InputRating.d.ts +2 -1
  96. package/dist/plugin/Form/InputRepeat.d.ts +1 -0
  97. package/dist/plugin/Form/InputRichText.d.ts +1 -0
  98. package/dist/plugin/Form/InputSubForm.d.ts +1 -0
  99. package/dist/plugin/Form/InputTable.d.ts +1 -1
  100. package/dist/plugin/Form/InputTag.d.ts +1 -0
  101. package/dist/plugin/Form/InputText.d.ts +1 -0
  102. package/dist/plugin/Form/InputTime.d.ts +1 -0
  103. package/dist/plugin/Form/InputTree.d.ts +1 -0
  104. package/dist/plugin/Form/InputURL.d.ts +1 -0
  105. package/dist/plugin/Form/InputYear.d.ts +1 -0
  106. package/dist/plugin/Form/ListSelect.d.ts +1 -0
  107. package/dist/plugin/Form/LocationPicker.d.ts +1 -0
  108. package/dist/plugin/Form/MatrixCheckboxes.d.ts +1 -0
  109. package/dist/plugin/Form/NestedSelect.d.ts +1 -0
  110. package/dist/plugin/Form/Picker.d.ts +1 -0
  111. package/dist/plugin/Form/Radios.d.ts +1 -0
  112. package/dist/plugin/Form/Select.d.ts +1 -0
  113. package/dist/plugin/Form/Static.d.ts +1 -1
  114. package/dist/plugin/Form/Switch.d.ts +1 -0
  115. package/dist/plugin/Form/TabsTransfer.d.ts +1 -0
  116. package/dist/plugin/Form/Textarea.d.ts +1 -0
  117. package/dist/plugin/Form/Transfer.d.ts +1 -0
  118. package/dist/plugin/Form/TreeSelect.d.ts +1 -0
  119. package/dist/plugin/Form/UUID.d.ts +1 -0
  120. package/dist/plugin/Grid.d.ts +1 -0
  121. package/dist/plugin/HBox.d.ts +1 -1
  122. package/dist/plugin/IFrame.d.ts +1 -0
  123. package/dist/plugin/Image.d.ts +1 -0
  124. package/dist/plugin/Images.d.ts +1 -0
  125. package/dist/plugin/Json.d.ts +1 -0
  126. package/dist/plugin/Link.d.ts +1 -0
  127. package/dist/plugin/List.d.ts +1 -0
  128. package/dist/plugin/ListItem.d.ts +1 -1
  129. package/dist/plugin/Log.d.ts +1 -0
  130. package/dist/plugin/Mapping.d.ts +1 -0
  131. package/dist/plugin/Markdown.d.ts +1 -0
  132. package/dist/plugin/Nav.d.ts +1 -0
  133. package/dist/plugin/Operation.d.ts +1 -0
  134. package/dist/plugin/Others/Action.d.ts +8 -0
  135. package/dist/plugin/Others/BasicToolbar.d.ts +11 -0
  136. package/dist/plugin/Others/DataDebug.d.ts +19 -0
  137. package/dist/plugin/Others/TableCell.d.ts +8 -0
  138. package/dist/plugin/Others/Unknown.d.ts +5 -0
  139. package/dist/plugin/Page.d.ts +1 -0
  140. package/dist/plugin/Panel/AvailableRenderers.d.ts +8 -0
  141. package/dist/plugin/Panel/Code.d.ts +9 -0
  142. package/dist/plugin/Panel/Name.d.ts +8 -0
  143. package/dist/plugin/Panel.d.ts +16 -3
  144. package/dist/plugin/Plain.d.ts +1 -0
  145. package/dist/plugin/Progress.d.ts +1 -0
  146. package/dist/plugin/Property.d.ts +1 -0
  147. package/dist/plugin/QRCode.d.ts +1 -0
  148. package/dist/plugin/Reset.d.ts +1 -0
  149. package/dist/plugin/Service.d.ts +1 -0
  150. package/dist/plugin/Sparkline.d.ts +1 -0
  151. package/dist/plugin/Status.d.ts +1 -0
  152. package/dist/plugin/Steps.d.ts +1 -0
  153. package/dist/plugin/Submit.d.ts +1 -0
  154. package/dist/plugin/Table.d.ts +1 -0
  155. package/dist/plugin/TableCell.d.ts +0 -1
  156. package/dist/plugin/TableView.d.ts +1 -0
  157. package/dist/plugin/Tabs.d.ts +1 -0
  158. package/dist/plugin/Tasks.d.ts +1 -0
  159. package/dist/plugin/Time.d.ts +1 -0
  160. package/dist/plugin/Tpl.d.ts +1 -0
  161. package/dist/plugin/Video.d.ts +1 -0
  162. package/dist/plugin/WebComponent.d.ts +3 -26
  163. package/dist/plugin/Wizard.d.ts +1 -0
  164. package/dist/plugin/Wrapper.d.ts +1 -0
  165. package/dist/plugin.d.ts +17 -4
  166. package/dist/store/editor.d.ts +54 -4
  167. package/dist/style.css +1 -1
  168. package/dist/util.d.ts +2 -2
  169. package/package.json +21 -13
  170. package/static/side_hide_left.svg +10 -0
  171. package/.editorconfig +0 -12
  172. package/.fecsrc +0 -8
  173. package/.prettierrc +0 -20
  174. package/publish-local.sh +0 -37
  175. package/rollup.config.js +0 -24
package/dist/manager.d.ts CHANGED
@@ -32,7 +32,6 @@ export declare function getEditorPlugins(): PluginClass[];
32
32
  export declare function unRegisterEditorPlugin(id: string): void;
33
33
  /**
34
34
  * 在 component/Editor.tsx 里面实例化的。
35
- *
36
35
  * 辅助 component/Editor.tsx 实现一些非 UI 相关的功能。
37
36
  */
38
37
  export declare class EditorManager {
@@ -48,6 +47,7 @@ export declare class EditorManager {
48
47
  private clipboardData;
49
48
  readonly hackIn: any;
50
49
  constructor(config: EditorManagerConfig, store: EditorStoreType, parent?: EditorManager | undefined);
50
+ dynamicAddPlugin(pluginName: string): void;
51
51
  buildEventContext(idOrNode: string | EditorNodeType): {
52
52
  node: {
53
53
  parentId: string;
@@ -220,9 +220,9 @@ export declare class EditorManager {
220
220
  buildToolbars(): void;
221
221
  collectPanels(node: EditorNodeType, triggerEvent?: boolean, secondFactor?: boolean): BasicPanelItem[];
222
222
  buildPanels(): void;
223
- collectRenderers(region?: string, id?: string): SubRendererInfo[];
224
- buildRenderers(region?: string): void;
225
- rebuild(): void;
223
+ collectRenderers(region?: string, id?: string): Promise<SubRendererInfo[]>;
224
+ buildRenderers(region?: string): Promise<void>;
225
+ rebuild(): Promise<void>;
226
226
  /**
227
227
  * 可用组件面板里面会点进来,不同的区域可能可插入的组件不一样。
228
228
  * @param region 区域的 key
@@ -233,13 +233,15 @@ export declare class EditorManager {
233
233
  * @param region
234
234
  * @param preferTag
235
235
  */
236
- showInsertPanel(region: string, id?: string, preferTag?: string, mode?: 'insert' | 'replace', originId?: string, beforeId?: string): void;
236
+ showInsertPanel(region: string, id?: string, preferTag?: string, mode?: 'insert' | 'replace', originId?: string, beforeId?: string): Promise<void>;
237
237
  /**
238
238
  * 显示组件更换面板
239
239
  * @param region
240
240
  * @param preferTag
241
241
  */
242
242
  showReplacePanel(id: string, preferTag?: string): void;
243
+ /** 显示左侧组件面板(主要在属性面板中使用)*/
244
+ showRendererPanel(tag?: string, msg?: string): void;
243
245
  readonly listeners: Array<{
244
246
  type: string;
245
247
  fn: PluginEventFn;
@@ -1,9 +1,10 @@
1
1
  import { SchemaObject } from 'amis';
2
2
  import { BasePlugin } from '../plugin';
3
- export declare class PagePlugin extends BasePlugin {
3
+ export declare class AlertPlugin extends BasePlugin {
4
4
  rendererName: string;
5
5
  $schema: string;
6
6
  name: string;
7
+ isBaseComponent: boolean;
7
8
  description: string;
8
9
  docLink: string;
9
10
  icon: string;
@@ -3,6 +3,7 @@ export declare class AnchorNavPlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  description: string;
7
8
  docLink: string;
8
9
  tags: string[];
@@ -3,6 +3,7 @@ export declare class AudioPlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  description: string;
7
8
  tags: string[];
8
9
  icon: string;
@@ -3,6 +3,7 @@ export declare class AvatarPlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  icon: string;
7
8
  description: string;
8
9
  docLink: string;
@@ -2,7 +2,9 @@ import { BasePlugin } from '../plugin';
2
2
  export declare class BreadcrumbPlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
+ disabledRendererPlugin: boolean;
5
6
  name: string;
7
+ isBaseComponent: boolean;
6
8
  icon: string;
7
9
  description: string;
8
10
  docLink: string;
@@ -4,6 +4,7 @@ export declare class ButtonPlugin extends BasePlugin {
4
4
  rendererName: string;
5
5
  $schema: string;
6
6
  name: string;
7
+ isBaseComponent: boolean;
7
8
  description: string;
8
9
  docLink: string;
9
10
  tags: string[];
@@ -3,6 +3,7 @@ export declare class ButtonGroupPlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  description: string;
7
8
  tags: string[];
8
9
  icon: string;
@@ -3,6 +3,7 @@ export declare class ButtonToolbarPlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  description: string;
7
8
  tags: string[];
8
9
  icon: string;
@@ -5,6 +5,7 @@ export declare class CRUDPlugin extends BasePlugin {
5
5
  $schema: string;
6
6
  order: number;
7
7
  name: string;
8
+ isBaseComponent: boolean;
8
9
  description: string;
9
10
  docLink: string;
10
11
  tags: string[];
@@ -3,6 +3,7 @@ export declare class CardPlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  description: string;
7
8
  tags: string[];
8
9
  icon: string;
@@ -43,7 +44,6 @@ export declare class CardPlugin extends BasePlugin {
43
44
  regions: Array<RegionConfig>;
44
45
  panelTitle: string;
45
46
  panelBodyCreator: (context: BaseEventContext) => any[];
46
- exchangeRenderer(id: string): void;
47
47
  fieldWrapperResolve: (dom: HTMLElement) => HTMLElement;
48
48
  overrides: {
49
49
  renderFeild: (this: any, region: string, field: any, index: any, props: any) => any;
@@ -3,6 +3,7 @@ export declare class CardsPlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  description: string;
7
8
  tags: string[];
8
9
  icon: string;
@@ -3,6 +3,7 @@ export declare class CarouselPlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  description: string;
7
8
  tags: string[];
8
9
  icon: string;
@@ -3,6 +3,7 @@ export declare class ChartPlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  description: string;
7
8
  tags: string[];
8
9
  icon: string;
@@ -3,6 +3,7 @@ export declare class CodeViewPlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  icon: string;
7
8
  description: string;
8
9
  docLink: string;
@@ -3,6 +3,7 @@ export declare class CollapsePlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  description: string;
7
8
  tags: string[];
8
9
  icon: string;
@@ -3,6 +3,7 @@ export declare class ContainerPlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  description: string;
7
8
  tags: string[];
8
9
  icon: string;
@@ -6,6 +6,7 @@ export declare class CustomPlugin extends BasePlugin {
6
6
  rendererName: string;
7
7
  $schema: string;
8
8
  name: string;
9
+ isBaseComponent: boolean;
9
10
  description: string;
10
11
  tags: string[];
11
12
  icon: string;
@@ -3,6 +3,7 @@ export declare class DatePlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  description: string;
7
8
  tags: string[];
8
9
  icon: string;
@@ -7,6 +7,7 @@ export declare class DatetimePlugin extends DatePlugin {
7
7
  value: number;
8
8
  };
9
9
  name: string;
10
+ isBaseComponent: boolean;
10
11
  previewSchema: {
11
12
  format: string;
12
13
  value: number;
@@ -4,6 +4,7 @@ export declare class DialogPlugin extends BasePlugin {
4
4
  rendererName: string;
5
5
  $schema: string;
6
6
  name: string;
7
+ isBaseComponent: boolean;
7
8
  wrapperProps: {
8
9
  wrapperComponent: typeof InlineModal;
9
10
  onClose: typeof import("amis/lib/utils/helper").noop;
@@ -3,6 +3,7 @@ export declare class DividerPlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  icon: string;
7
8
  description: string;
8
9
  scaffold: {
@@ -4,6 +4,7 @@ export declare class DrawerPlugin extends BasePlugin {
4
4
  rendererName: string;
5
5
  $schema: string;
6
6
  name: string;
7
+ isBaseComponent: boolean;
7
8
  wrapperProps: {
8
9
  wrapperComponent: typeof InlineModal;
9
10
  onClose: typeof import("amis/lib/utils/helper").noop;
@@ -3,6 +3,7 @@ export declare class DropDownButtonPlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  description: string;
7
8
  tags: string[];
8
9
  icon: string;
@@ -3,6 +3,7 @@ export declare class EachPlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  description: string;
7
8
  tags: string[];
8
9
  icon: string;
@@ -3,4 +3,5 @@ export declare class ErrorRendererPlugin extends BasePlugin {
3
3
  order: number;
4
4
  rendererName: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  }
@@ -2,7 +2,9 @@ import { BasePlugin, PluginEvent, RegionConfig, RendererJSONSchemaResolveEventCo
2
2
  export declare class FlexPlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
+ disabledRendererPlugin: boolean;
5
6
  name: string;
7
+ isBaseComponent: boolean;
6
8
  icon: string;
7
9
  description: string;
8
10
  tags: string[];
@@ -23,6 +25,5 @@ export declare class FlexPlugin extends BasePlugin {
23
25
  panelTitle: string;
24
26
  panelBody: any[];
25
27
  regions: Array<RegionConfig>;
26
- exchangeRenderer(id: string): void;
27
28
  afterResolveJsonSchema(event: PluginEvent<RendererJSONSchemaResolveEventContext>): void;
28
29
  }
@@ -3,6 +3,7 @@ export declare class ButtonGroupControlPlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  icon: string;
7
8
  description: string;
8
9
  docLink: string;
@@ -3,6 +3,7 @@ export declare class ButtonToolbarControlPlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  icon: string;
7
8
  description: string;
8
9
  docLink: string;
@@ -3,6 +3,7 @@ export declare class ChainedSelectControlPlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  icon: string;
7
8
  description: string;
8
9
  docLink: string;
@@ -3,6 +3,7 @@ export declare class CheckboxControlPlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  icon: string;
7
8
  description: string;
8
9
  docLink: string;
@@ -4,6 +4,7 @@ export declare class CheckboxesControlPlugin extends BasePlugin {
4
4
  $schema: string;
5
5
  order: number;
6
6
  name: string;
7
+ isBaseComponent: boolean;
7
8
  icon: string;
8
9
  description: string;
9
10
  docLink: string;
@@ -0,0 +1,40 @@
1
+ import { BasePlugin } from '../../plugin';
2
+ export declare class CodeEditorControlPlugin extends BasePlugin {
3
+ rendererName: string;
4
+ $schema: string;
5
+ name: string;
6
+ isBaseComponent: boolean;
7
+ icon: string;
8
+ description: string;
9
+ docLink: string;
10
+ tags: string[];
11
+ scaffold: {
12
+ type: string;
13
+ label: string;
14
+ name: string;
15
+ };
16
+ previewSchema: any;
17
+ panelTitle: string;
18
+ panelBody: ({
19
+ label: string;
20
+ name: string;
21
+ type: string;
22
+ value: string;
23
+ searchable: boolean;
24
+ options: string[];
25
+ size?: undefined;
26
+ pipeIn?: undefined;
27
+ } | {
28
+ name: string;
29
+ type: string;
30
+ size: string;
31
+ pipeIn: (value: any) => any;
32
+ label: string;
33
+ options: {
34
+ label: string;
35
+ value: string;
36
+ }[];
37
+ value?: undefined;
38
+ searchable?: undefined;
39
+ })[];
40
+ }
@@ -3,6 +3,7 @@ export declare class ComboControlPlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  icon: string;
7
8
  description: string;
8
9
  docLink: string;
@@ -3,6 +3,7 @@ export declare class ConditionBilderPlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  icon: string;
7
8
  description: string;
8
9
  docLink: string;
@@ -3,6 +3,7 @@ export declare class ControlPlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  icon: string;
7
8
  description: string;
8
9
  tags: string[];
@@ -3,6 +3,7 @@ export declare class DiffEditorControlPlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  icon: string;
7
8
  description: string;
8
9
  docLink: string;
@@ -4,6 +4,7 @@ export declare class FieldSetControlPlugin extends BasePlugin {
4
4
  $schema: string;
5
5
  disabledRendererPlugin: boolean;
6
6
  name: string;
7
+ isBaseComponent: boolean;
7
8
  icon: string;
8
9
  description: string;
9
10
  docLink: string;
@@ -5,6 +5,7 @@ export declare class FormPlugin extends BasePlugin {
5
5
  $schema: string;
6
6
  order: number;
7
7
  name: string;
8
+ isBaseComponent: boolean;
8
9
  description: string;
9
10
  docLink: string;
10
11
  tags: string[];
@@ -4,6 +4,7 @@ export declare class FormulaControlPlugin extends BasePlugin {
4
4
  rendererName: string;
5
5
  $schema: string;
6
6
  name: string;
7
+ isBaseComponent: boolean;
7
8
  icon: string;
8
9
  description: string;
9
10
  docLink: string;
@@ -4,6 +4,7 @@ export declare class GroupControlPlugin extends BasePlugin {
4
4
  $schema: string;
5
5
  disabledRendererPlugin: boolean;
6
6
  name: string;
7
+ isBaseComponent: boolean;
7
8
  icon: string;
8
9
  description: string;
9
10
  docLink: string;
@@ -4,6 +4,7 @@ export declare class HiddenControlPlugin extends BasePlugin {
4
4
  rendererName: string;
5
5
  $schema: string;
6
6
  name: string;
7
+ isBaseComponent: boolean;
7
8
  icon: string;
8
9
  description: string;
9
10
  docLink: string;
@@ -2,7 +2,9 @@ import { BaseEventContext, BasePlugin, BasicToolbarItem, ContextMenuEventContext
2
2
  export declare class ArrayControlPlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
+ disabledRendererPlugin: boolean;
5
6
  name: string;
7
+ isBaseComponent: boolean;
6
8
  icon: string;
7
9
  description: string;
8
10
  docLink: string;
@@ -3,6 +3,7 @@ export declare class CityControlPlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  icon: string;
7
8
  description: string;
8
9
  docLink: string;
@@ -3,6 +3,7 @@ export declare class ColorControlPlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  icon: string;
7
8
  description: string;
8
9
  docLink: string;
@@ -5,6 +5,7 @@ export declare class DateControlPlugin extends BasePlugin {
5
5
  order: number;
6
6
  icon: string;
7
7
  name: string;
8
+ isBaseComponent: boolean;
8
9
  description: string;
9
10
  docLink: string;
10
11
  tags: string[];
@@ -5,6 +5,7 @@ export declare class DateRangeControlPlugin extends BasePlugin {
5
5
  order: number;
6
6
  icon: string;
7
7
  name: string;
8
+ isBaseComponent: boolean;
8
9
  description: string;
9
10
  docLink: string;
10
11
  tags: string[];
@@ -4,6 +4,7 @@ export declare class DateTimeControlPlugin extends BasePlugin {
4
4
  $schema: string;
5
5
  icon: string;
6
6
  name: string;
7
+ isBaseComponent: boolean;
7
8
  description: string;
8
9
  docLink: string;
9
10
  tags: string[];
@@ -5,6 +5,7 @@ export declare class DateTimeRangeControlPlugin extends BasePlugin {
5
5
  order: number;
6
6
  icon: string;
7
7
  name: string;
8
+ isBaseComponent: boolean;
8
9
  description: string;
9
10
  docLink: string;
10
11
  tags: string[];
@@ -3,6 +3,7 @@ export declare class EmailControlPlugin extends TextControlPlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  icon: string;
7
8
  description: string;
8
9
  scaffold: {
@@ -3,6 +3,7 @@ export declare class ExcelControlPlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  icon: string;
7
8
  description: string;
8
9
  docLink: string;
@@ -3,6 +3,7 @@ export declare class FileControlPlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  icon: string;
7
8
  description: string;
8
9
  docLink: string;
@@ -3,6 +3,7 @@ export declare class InputGroupControlPlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  icon: string;
7
8
  description: string;
8
9
  docLink: string;
@@ -13,7 +14,6 @@ export declare class InputGroupControlPlugin extends BasePlugin {
13
14
  label: string;
14
15
  body: ({
15
16
  type: string;
16
- placeholder: string;
17
17
  inputClassName: string;
18
18
  name: string;
19
19
  label?: undefined;
@@ -22,7 +22,6 @@ export declare class InputGroupControlPlugin extends BasePlugin {
22
22
  type: string;
23
23
  label: string;
24
24
  level: string;
25
- placeholder?: undefined;
26
25
  inputClassName?: undefined;
27
26
  name?: undefined;
28
27
  })[];
@@ -3,6 +3,7 @@ export declare class ImageControlPlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  description: string;
7
8
  docLink: string;
8
9
  tags: string[];
@@ -3,6 +3,7 @@ export declare class KVControlPlugin extends BasePlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  icon: string;
7
8
  description: string;
8
9
  docLink: string;
@@ -3,6 +3,7 @@ export declare class MonthControlPlugin extends DateControlPlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  icon: string;
7
8
  description: string;
8
9
  docLink: string;
@@ -5,6 +5,7 @@ export declare class MonthRangeControlPlugin extends BasePlugin {
5
5
  order: number;
6
6
  icon: string;
7
7
  name: string;
8
+ isBaseComponent: boolean;
8
9
  description: string;
9
10
  docLink: string;
10
11
  tags: string[];
@@ -4,6 +4,7 @@ export declare class NumberControlPlugin extends BasePlugin {
4
4
  $schema: string;
5
5
  order: number;
6
6
  name: string;
7
+ isBaseComponent: boolean;
7
8
  icon: string;
8
9
  description: string;
9
10
  docLink: string;
@@ -3,6 +3,7 @@ export declare class PasswordControlPlugin extends TextControlPlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  icon: string;
7
8
  description: string;
8
9
  scaffold: {
@@ -3,6 +3,7 @@ export declare class InputQuarterPlugin extends DateControlPlugin {
3
3
  rendererName: string;
4
4
  $schema: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  icon: string;
7
8
  description: string;
8
9
  docLink: string;