amis-editor 4.0.1-beta.19 → 4.0.1-beta.28

Sign up to get free protection for your applications and to get access to all the features.
Files changed (150) hide show
  1. package/dist/component/AvailableRenderersPanel.d.ts +13 -1
  2. package/dist/component/BackTop.d.ts +26 -0
  3. package/dist/component/ContextMenuPanel.d.ts +8 -0
  4. package/dist/component/Control/APIControl.d.ts +4 -40
  5. package/dist/component/Editor.d.ts +1 -0
  6. package/dist/component/InputComponentName.d.ts +8 -0
  7. package/dist/component/Outline.d.ts +6 -0
  8. package/dist/component/Panel/AvailableRenderersPanel.d.ts +1 -11
  9. package/dist/component/Panel/RenderersPanel.d.ts +32 -0
  10. package/dist/component/Preview.d.ts +1 -0
  11. package/dist/component/base/BackTop.d.ts +1 -1
  12. package/dist/component/base/SearchRendererPanel.d.ts +9 -1
  13. package/dist/exports.d.ts +8 -0
  14. package/dist/exports.min.js +1 -0
  15. package/dist/index.d.ts +8 -8
  16. package/dist/index.min.js +1 -1
  17. package/dist/manager.d.ts +1 -0
  18. package/dist/plugin/Alert.d.ts +2 -1
  19. package/dist/plugin/AnchorNav.d.ts +1 -0
  20. package/dist/plugin/Audio.d.ts +1 -0
  21. package/dist/plugin/Avatar.d.ts +1 -0
  22. package/dist/plugin/Breadcrumb.d.ts +1 -0
  23. package/dist/plugin/Button.d.ts +1 -0
  24. package/dist/plugin/ButtonGroup.d.ts +1 -0
  25. package/dist/plugin/ButtonToolbar.d.ts +1 -0
  26. package/dist/plugin/CRUD.d.ts +1 -0
  27. package/dist/plugin/Card.d.ts +1 -0
  28. package/dist/plugin/Cards.d.ts +1 -0
  29. package/dist/plugin/Carousel.d.ts +1 -0
  30. package/dist/plugin/Chart.d.ts +1 -0
  31. package/dist/plugin/CodeView.d.ts +1 -0
  32. package/dist/plugin/Collapse.d.ts +1 -0
  33. package/dist/plugin/Container.d.ts +1 -0
  34. package/dist/plugin/Custom.d.ts +1 -0
  35. package/dist/plugin/Date.d.ts +1 -0
  36. package/dist/plugin/Datetime.d.ts +1 -0
  37. package/dist/plugin/Dialog.d.ts +1 -0
  38. package/dist/plugin/Divider.d.ts +1 -0
  39. package/dist/plugin/Drawer.d.ts +1 -0
  40. package/dist/plugin/DropDownButton.d.ts +1 -0
  41. package/dist/plugin/Each.d.ts +1 -0
  42. package/dist/plugin/ErrorRenderer.d.ts +1 -0
  43. package/dist/plugin/Flex.d.ts +1 -0
  44. package/dist/plugin/Form/ButtonGroupSelect.d.ts +1 -0
  45. package/dist/plugin/Form/ButtonToolbar.d.ts +1 -0
  46. package/dist/plugin/Form/ChainedSelect.d.ts +1 -0
  47. package/dist/plugin/Form/Checkbox.d.ts +1 -0
  48. package/dist/plugin/Form/Checkboxes.d.ts +1 -0
  49. package/dist/plugin/Form/CodeEditor.d.ts +1 -0
  50. package/dist/plugin/Form/Combo.d.ts +1 -0
  51. package/dist/plugin/Form/ConditionBuilder.d.ts +1 -0
  52. package/dist/plugin/Form/Control.d.ts +1 -0
  53. package/dist/plugin/Form/DiffEditor.d.ts +1 -0
  54. package/dist/plugin/Form/FieldSet.d.ts +1 -0
  55. package/dist/plugin/Form/Form.d.ts +1 -0
  56. package/dist/plugin/Form/Formula.d.ts +1 -0
  57. package/dist/plugin/Form/Group.d.ts +1 -0
  58. package/dist/plugin/Form/Hidden.d.ts +1 -0
  59. package/dist/plugin/Form/InputArray.d.ts +1 -0
  60. package/dist/plugin/Form/InputCity.d.ts +1 -0
  61. package/dist/plugin/Form/InputColor.d.ts +1 -0
  62. package/dist/plugin/Form/InputDate.d.ts +1 -0
  63. package/dist/plugin/Form/InputDateRange.d.ts +1 -0
  64. package/dist/plugin/Form/InputDateTime.d.ts +1 -0
  65. package/dist/plugin/Form/InputDateTimeRange.d.ts +1 -0
  66. package/dist/plugin/Form/InputEmail.d.ts +1 -0
  67. package/dist/plugin/Form/InputExcel.d.ts +1 -0
  68. package/dist/plugin/Form/InputFile.d.ts +1 -0
  69. package/dist/plugin/Form/InputGroup.d.ts +1 -0
  70. package/dist/plugin/Form/InputImage.d.ts +1 -0
  71. package/dist/plugin/Form/InputKV.d.ts +1 -0
  72. package/dist/plugin/Form/InputMonth.d.ts +1 -0
  73. package/dist/plugin/Form/InputMonthRange.d.ts +1 -0
  74. package/dist/plugin/Form/InputNumber.d.ts +1 -0
  75. package/dist/plugin/Form/InputPassword.d.ts +1 -0
  76. package/dist/plugin/Form/InputQuarter.d.ts +1 -0
  77. package/dist/plugin/Form/InputQuarterRange.d.ts +1 -0
  78. package/dist/plugin/Form/InputRange.d.ts +1 -0
  79. package/dist/plugin/Form/InputRating.d.ts +2 -1
  80. package/dist/plugin/Form/InputRepeat.d.ts +1 -0
  81. package/dist/plugin/Form/InputRichText.d.ts +1 -0
  82. package/dist/plugin/Form/InputSubForm.d.ts +1 -0
  83. package/dist/plugin/Form/InputTable.d.ts +1 -0
  84. package/dist/plugin/Form/InputTag.d.ts +1 -0
  85. package/dist/plugin/Form/InputText.d.ts +1 -0
  86. package/dist/plugin/Form/InputTime.d.ts +1 -0
  87. package/dist/plugin/Form/InputTree.d.ts +1 -0
  88. package/dist/plugin/Form/InputURL.d.ts +1 -0
  89. package/dist/plugin/Form/InputYear.d.ts +1 -0
  90. package/dist/plugin/Form/ListSelect.d.ts +1 -0
  91. package/dist/plugin/Form/LocationPicker.d.ts +1 -0
  92. package/dist/plugin/Form/MatrixCheckboxes.d.ts +1 -0
  93. package/dist/plugin/Form/NestedSelect.d.ts +1 -0
  94. package/dist/plugin/Form/Picker.d.ts +1 -0
  95. package/dist/plugin/Form/Radios.d.ts +1 -0
  96. package/dist/plugin/Form/Select.d.ts +1 -0
  97. package/dist/plugin/Form/Static.d.ts +1 -0
  98. package/dist/plugin/Form/Switch.d.ts +1 -0
  99. package/dist/plugin/Form/TabsTransfer.d.ts +1 -0
  100. package/dist/plugin/Form/Textarea.d.ts +1 -0
  101. package/dist/plugin/Form/Transfer.d.ts +1 -0
  102. package/dist/plugin/Form/TreeSelect.d.ts +1 -0
  103. package/dist/plugin/Form/UUID.d.ts +1 -0
  104. package/dist/plugin/Grid.d.ts +1 -0
  105. package/dist/plugin/HBox.d.ts +1 -0
  106. package/dist/plugin/IFrame.d.ts +1 -0
  107. package/dist/plugin/Image.d.ts +1 -0
  108. package/dist/plugin/Images.d.ts +1 -0
  109. package/dist/plugin/Json.d.ts +1 -0
  110. package/dist/plugin/Link.d.ts +1 -0
  111. package/dist/plugin/List.d.ts +1 -0
  112. package/dist/plugin/ListItem.d.ts +1 -0
  113. package/dist/plugin/Log.d.ts +1 -0
  114. package/dist/plugin/Mapping.d.ts +1 -0
  115. package/dist/plugin/Markdown.d.ts +1 -0
  116. package/dist/plugin/Nav.d.ts +1 -0
  117. package/dist/plugin/Operation.d.ts +1 -0
  118. package/dist/plugin/Others/Action.d.ts +6 -0
  119. package/dist/plugin/Others/BasicToolbar.d.ts +11 -0
  120. package/dist/plugin/Others/DataDebug.d.ts +19 -0
  121. package/dist/plugin/Others/TableCell.d.ts +8 -0
  122. package/dist/plugin/Others/Unknown.d.ts +5 -0
  123. package/dist/plugin/Page.d.ts +1 -0
  124. package/dist/plugin/Panel.d.ts +1 -0
  125. package/dist/plugin/Plain.d.ts +1 -0
  126. package/dist/plugin/Progress.d.ts +1 -0
  127. package/dist/plugin/Property.d.ts +1 -0
  128. package/dist/plugin/QRCode.d.ts +1 -0
  129. package/dist/plugin/Reset.d.ts +1 -0
  130. package/dist/plugin/Service.d.ts +1 -0
  131. package/dist/plugin/Sparkline.d.ts +1 -0
  132. package/dist/plugin/Status.d.ts +1 -0
  133. package/dist/plugin/Steps.d.ts +1 -0
  134. package/dist/plugin/Submit.d.ts +1 -0
  135. package/dist/plugin/Table.d.ts +1 -0
  136. package/dist/plugin/TableView.d.ts +1 -0
  137. package/dist/plugin/Tabs.d.ts +1 -0
  138. package/dist/plugin/Tasks.d.ts +1 -0
  139. package/dist/plugin/Time.d.ts +1 -0
  140. package/dist/plugin/Tpl.d.ts +1 -0
  141. package/dist/plugin/Video.d.ts +1 -0
  142. package/dist/plugin/WebComponent.d.ts +3 -26
  143. package/dist/plugin/Wizard.d.ts +1 -0
  144. package/dist/plugin/Wrapper.d.ts +1 -0
  145. package/dist/plugin.d.ts +6 -0
  146. package/dist/store/editor.d.ts +39 -2
  147. package/dist/style.css +1 -1
  148. package/package.json +2 -2
  149. package/dist/plugin/Form/Reset.d.ts +0 -7
  150. package/dist/plugin/Form/Submit.d.ts +0 -6
@@ -3,6 +3,7 @@ export declare class TreeControlPlugin 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 URLControlPlugin 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 YearControlPlugin 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;
@@ -4,6 +4,7 @@ export declare class ListControlPlugin 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 LocationControlPlugin 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 MatrixControlPlugin 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 NestedSelectControlPlugin 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 PickerControlPlugin 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 RadiosControlPlugin 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;
@@ -4,6 +4,7 @@ export declare class SelectControlPlugin 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;
@@ -5,6 +5,7 @@ export declare class StaticControlPlugin extends BasePlugin {
5
5
  $schema: string;
6
6
  order: number;
7
7
  name: string;
8
+ isBaseComponent: boolean;
8
9
  icon: string;
9
10
  description: string;
10
11
  docLink: string;
@@ -4,6 +4,7 @@ export declare class SwitchControlPlugin 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 TabsTransferPlugin 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 TextareaControlPlugin 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 TransferPlugin 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 TreeSelectControlPlugin 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 UUIDControlPlugin 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;
@@ -5,6 +5,7 @@ export declare class GridPlugin extends BasePlugin {
5
5
  rendererName: string;
6
6
  $schema: string;
7
7
  name: string;
8
+ isBaseComponent: boolean;
8
9
  description: string;
9
10
  tags: string[];
10
11
  icon: string;
@@ -6,6 +6,7 @@ export declare class HBoxPlugin extends BasePlugin {
6
6
  $schema: string;
7
7
  disabledRendererPlugin: boolean;
8
8
  name: string;
9
+ isBaseComponent: boolean;
9
10
  icon: string;
10
11
  description: string;
11
12
  tags: string[];
@@ -4,6 +4,7 @@ export declare class IFramePlugin extends BasePlugin {
4
4
  rendererName: string;
5
5
  $schema: string;
6
6
  name: string;
7
+ isBaseComponent: boolean;
7
8
  description: string;
8
9
  tags: string[];
9
10
  icon: string;
@@ -3,6 +3,7 @@ export declare class ImagePlugin 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 ImagesPlugin 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 JsonPlugin 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 LinkPlugin 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 ListPlugin 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;
@@ -1,6 +1,7 @@
1
1
  import { BasePlugin, BasicRendererInfo, InsertEventContext, PluginEvent, RegionConfig, RendererInfoResolveEventContext, VRendererConfig } from '../plugin';
2
2
  export declare class ListItemPlugin extends BasePlugin {
3
3
  rendererName: string;
4
+ isBaseComponent: boolean;
4
5
  $schema: string;
5
6
  regions: Array<RegionConfig>;
6
7
  panelTitle: string;
@@ -3,6 +3,7 @@ export declare class LogPlugin 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 MappingPlugin 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 MarkdownPlugin 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 NavPlugin 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 OperationPlugin 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;
@@ -0,0 +1,6 @@
1
+ import { BaseEventContext, BasePlugin, BasicPanelItem, BuildPanelEventContext } from '../../plugin';
2
+ export declare class ActionPlugin extends BasePlugin {
3
+ panelTitle: string;
4
+ panelBodyCreator: (context: BaseEventContext) => any[];
5
+ buildEditorPanel(context: BuildPanelEventContext, panels: Array<BasicPanelItem>): void;
6
+ }
@@ -0,0 +1,11 @@
1
+ import { BasePlugin, BaseEventContext, BasicToolbarItem, ContextMenuItem, ContextMenuEventContext, BasicPanelItem, BuildPanelEventContext, PluginEvent, InsertEventContext } from '../../plugin';
2
+ /**
3
+ * 用来给当前选中的元素添加一些基本的工具栏按钮。
4
+ */
5
+ export declare class BasicToolbarPlugin extends BasePlugin {
6
+ order: number;
7
+ buildEditorToolbar({ id, schema }: BaseEventContext, toolbars: Array<BasicToolbarItem>): void;
8
+ buildEditorContextMenu({ id, schema, region, selections }: ContextMenuEventContext, menus: Array<ContextMenuItem>): void;
9
+ buildEditorPanel(context: BuildPanelEventContext, panels: Array<BasicPanelItem>): void;
10
+ afterInsert(event: PluginEvent<InsertEventContext>): void;
11
+ }
@@ -0,0 +1,19 @@
1
+ import { BaseEventContext, BasePlugin, BasicToolbarItem } from '../../plugin';
2
+ /**
3
+ * 添加调试功能
4
+ */
5
+ export declare class DataDebugPlugin extends BasePlugin {
6
+ buildEditorToolbar({ id, schema, node }: BaseEventContext, toolbars: Array<BasicToolbarItem>): void;
7
+ dataViewer: {
8
+ type: string;
9
+ name: string;
10
+ asFormItem: boolean;
11
+ className: string;
12
+ component: ({ value, onChange, readOnly }: {
13
+ value: any;
14
+ onChange: (value: any) => void;
15
+ readOnly?: boolean | undefined;
16
+ }) => JSX.Element;
17
+ };
18
+ openDebugForm(data: any, callback?: (values: any) => void): Promise<void>;
19
+ }
@@ -0,0 +1,8 @@
1
+ import { BasePlugin, BasicRendererInfo, BaseEventContext, RendererInfoResolveEventContext, ReplaceEventContext, PluginEvent } from '../../plugin';
2
+ export declare class TableCellPlugin extends BasePlugin {
3
+ panelTitle: string;
4
+ panelIcon: string;
5
+ panelBodyCreator: (context: BaseEventContext) => any[];
6
+ getRendererInfo({ renderer, schema }: RendererInfoResolveEventContext): BasicRendererInfo | void;
7
+ beforeReplace(event: PluginEvent<ReplaceEventContext>): void;
8
+ }
@@ -0,0 +1,5 @@
1
+ import { BasePlugin, BasicRendererInfo, RendererInfoResolveEventContext } from '../../plugin';
2
+ export declare class UnkownRendererPlugin extends BasePlugin {
3
+ order: number;
4
+ getRendererInfo({ renderer, schema, path }: RendererInfoResolveEventContext): BasicRendererInfo | void;
5
+ }
@@ -5,6 +5,7 @@ export declare class PagePlugin extends BasePlugin {
5
5
  rendererName: string;
6
6
  $schema: string;
7
7
  name: string;
8
+ isBaseComponent: boolean;
8
9
  docLink: string;
9
10
  tags: string;
10
11
  icon: string;
@@ -3,6 +3,7 @@ export declare class PanelPlugin 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 PlainPlugin 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;
@@ -3,6 +3,7 @@ export declare class ProgressPlugin 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 PropertyPlugin 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 QRCodePlugin 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 ResetPlugin extends ButtonPlugin {
3
3
  rendererName: string;
4
4
  disabledRendererPlugin: boolean;
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 ServicePlugin 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 SparklinePlugin 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 StatusPlugin 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 StepsPlugin 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 SubmitPlugin extends ButtonPlugin {
3
3
  rendererName: string;
4
4
  disabledRendererPlugin: boolean;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  description: string;
7
8
  docLink: string;
8
9
  panelTitle: string;
@@ -4,6 +4,7 @@ export declare class TablePlugin 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;
@@ -7,6 +7,7 @@ export declare class TableViewPlugin extends BasePlugin {
7
7
  rendererName: string;
8
8
  $schema: string;
9
9
  name: string;
10
+ isBaseComponent: boolean;
10
11
  icon: string;
11
12
  description: string;
12
13
  tags: string[];
@@ -3,6 +3,7 @@ export declare class TabsPlugin 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 TasksPlugin 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 @@ import { DatePlugin } from './Date';
3
3
  export declare class TimePlugin extends DatePlugin {
4
4
  rendererName: string;
5
5
  name: string;
6
+ isBaseComponent: boolean;
6
7
  scaffold: {
7
8
  type: string;
8
9
  value: number;
@@ -3,6 +3,7 @@ export declare class TplPlugin 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 VideoPlugin 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;
@@ -4,6 +4,7 @@ export declare class WebComponentPlugin extends BasePlugin {
4
4
  rendererName: string;
5
5
  $schema: string;
6
6
  name: string;
7
+ isBaseComponent: boolean;
7
8
  description: string;
8
9
  tags: string[];
9
10
  icon: string;
@@ -16,33 +17,9 @@ export declare class WebComponentPlugin extends BasePlugin {
16
17
  tag: string;
17
18
  };
18
19
  panelTitle: string;
19
- panelBody: ({
20
+ panelBody: {
20
21
  type: string;
21
22
  label: string;
22
23
  name: string;
23
- multiple?: undefined;
24
- pipeIn?: undefined;
25
- pipeOut?: undefined;
26
- controls?: undefined;
27
- } | {
28
- type: string;
29
- label: string;
30
- name: string;
31
- multiple: boolean;
32
- pipeIn: (value: any) => any;
33
- pipeOut: (value: any) => any;
34
- controls: ({
35
- placeholder: string;
36
- type: string;
37
- unique: boolean;
38
- name: string;
39
- columnClassName: string;
40
- } | {
41
- placeholder: string;
42
- type: string;
43
- name: string;
44
- unique?: undefined;
45
- columnClassName?: undefined;
46
- })[];
47
- })[];
24
+ }[];
48
25
  }
@@ -4,6 +4,7 @@ export declare class WizardPlugin 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[];
@@ -4,6 +4,7 @@ export declare class WrapperPlugin extends BasePlugin {
4
4
  $schema: string;
5
5
  disabledRendererPlugin: boolean;
6
6
  name: string;
7
+ isBaseComponent: boolean;
7
8
  description: string;
8
9
  tags: string[];
9
10
  icon: string;
package/dist/plugin.d.ts CHANGED
@@ -131,6 +131,8 @@ export interface RendererInfo extends RendererScaffoldInfo {
131
131
  * json schema 协议
132
132
  */
133
133
  $schema?: string;
134
+ isBaseComponent?: boolean;
135
+ disabledRendererPlugin?: boolean;
134
136
  /**
135
137
  * 配置区域。
136
138
  */
@@ -249,6 +251,10 @@ export interface ScaffoldForm extends PopOverForm {
249
251
  * 子渲染器信息
250
252
  */
251
253
  export interface SubRendererInfo extends RendererScaffoldInfo {
254
+ /**
255
+ * 用于判断是否是平台预置组件,平台预置组件为true。
256
+ */
257
+ isBaseComponent?: boolean;
252
258
  /**
253
259
  * 首次拖入的时候可以用来配置个表单。
254
260
  */