amis-editor 5.1.9 → 5.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. package/dist/component/{Control → control}/APIControl.d.ts +0 -0
  2. package/dist/component/{Control → control}/ActionAPIControl.d.ts +0 -0
  3. package/dist/component/{Control → control}/BadgeControl.d.ts +0 -0
  4. package/dist/component/{Control → control}/BaseControl.d.ts +0 -0
  5. package/dist/component/{Control → control}/DataBindingControl.d.ts +0 -0
  6. package/dist/component/{Control → control}/DataPickerControl.d.ts +0 -0
  7. package/dist/component/{Control → control}/DateShortCutControl.d.ts +0 -0
  8. package/dist/component/{Control → control}/FormulaControl.d.ts +0 -0
  9. package/dist/component/{Control → control}/OptionControl.d.ts +0 -0
  10. package/dist/component/{Control → control}/PopoverEdit.d.ts +0 -0
  11. package/dist/component/{Control → control}/StatusControl.d.ts +0 -0
  12. package/dist/component/{Control → control}/SwitchMoreControl.d.ts +0 -0
  13. package/dist/component/{Control → control}/ValidationControl.d.ts +0 -0
  14. package/dist/component/{Control → control}/ValidationItem.d.ts +0 -0
  15. package/dist/component/{Control → control}/style-control/Background.d.ts +0 -0
  16. package/dist/component/{Control → control}/style-control/Border.d.ts +0 -0
  17. package/dist/component/{Control → control}/style-control/BoxModel.d.ts +0 -0
  18. package/dist/component/{Control → control}/style-control/BoxShadow.d.ts +0 -0
  19. package/dist/component/{Control → control}/style-control/Display.d.ts +0 -0
  20. package/dist/component/{Control → control}/style-control/Font.d.ts +0 -0
  21. package/dist/component/{Control → control}/style-control/font-family.d.ts +0 -0
  22. package/dist/component/{Control → control}/style-control/transformation.d.ts +0 -0
  23. package/dist/component/{Control → control}/style-control/types.d.ts +0 -0
  24. package/dist/exports.min.js +1 -1
  25. package/dist/index.min.js +1 -1
  26. package/dist/store/editor.d.ts +11 -11
  27. package/dist/style.css +1 -1
  28. package/dist/util.d.ts +1 -1
  29. package/package.json +1 -1
  30. package/dist/component/remarkTpl.d.ts +0 -150
  31. package/src/plugin/.DS_Store +0 -0
@@ -378,9 +378,9 @@ export declare const EditorStore: import("mobx-state-tree").IModelType<{
378
378
  setWidthMutable(value: any): void;
379
379
  setHeightMutable(value: any): void;
380
380
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
381
- getNodeById(id: string, regionOrType?: string | undefined): EditorNodeType | undefined;
381
+ getNodeById(id: string, regionOrType?: string): EditorNodeType | undefined;
382
382
  readonly activeNodeInfo: RendererInfo | null | undefined;
383
- getSchema(id?: string | undefined): any;
383
+ getSchema(id?: string): any;
384
384
  getSchemaParentById(id: string): any;
385
385
  getSchemaPath(id: string): string;
386
386
  getSimpleSchema(curSchema: any): any;
@@ -923,13 +923,13 @@ export declare const EditorStore: import("mobx-state-tree").IModelType<{
923
923
  */
924
924
  readonly customRenderersByOrder: SubRendererInfo[];
925
925
  /** 根据关键字过滤组件 */
926
- groupedRenderersByKeyword(_subRenderers: Array<SubRendererInfo>, keywords?: string | undefined): {
926
+ groupedRenderersByKeyword(_subRenderers: Array<SubRendererInfo>, keywords?: string): {
927
927
  [propName: string]: SubRendererInfo[];
928
928
  };
929
929
  /** 根据关键字过滤预置组件
930
930
  * 备注:组件搜索中需要
931
931
  */
932
- groupedSubRenderersByKeyword(_subRenderers?: SubRendererInfo[] | undefined, keywords?: string | undefined): {
932
+ groupedSubRenderersByKeyword(_subRenderers?: Array<SubRendererInfo>, keywords?: string): {
933
933
  [propName: string]: SubRendererInfo[];
934
934
  };
935
935
  /**
@@ -940,7 +940,7 @@ export declare const EditorStore: import("mobx-state-tree").IModelType<{
940
940
  [propName: string]: SubRendererInfo[];
941
941
  };
942
942
  /** 根据关键字过滤自定义组件 */
943
- groupedCustomRenderersByKeyword(_subRenderers?: SubRendererInfo[] | undefined, keywords?: string | undefined): {
943
+ groupedCustomRenderersByKeyword(_subRenderers?: Array<SubRendererInfo>, keywords?: string): {
944
944
  [propName: string]: SubRendererInfo[];
945
945
  };
946
946
  /**
@@ -965,7 +965,7 @@ export declare const EditorStore: import("mobx-state-tree").IModelType<{
965
965
  getDoc(): Document;
966
966
  setIframe(value: any): void;
967
967
  getIframe(): HTMLIFrameElement | undefined;
968
- setIsMobile(value?: boolean | undefined): void;
968
+ setIsMobile(value?: boolean): void;
969
969
  setCtx(value: any): void;
970
970
  setTheme(value: string): void;
971
971
  setIsSubEditor(isSubEditor: boolean): void;
@@ -976,7 +976,7 @@ export declare const EditorStore: import("mobx-state-tree").IModelType<{
976
976
  setActiveId(id: string, region?: string, selections?: Array<string>): void;
977
977
  setSelections(ids: Array<string>): void;
978
978
  clearSelection(): void;
979
- setHoverId(id: string, region?: string | undefined): void;
979
+ setHoverId(id: string, region?: string): void;
980
980
  setMouseMoveRegion(region: string): void;
981
981
  setInsertId(id: string): void;
982
982
  setContextId(id: string): void;
@@ -997,9 +997,9 @@ export declare const EditorStore: import("mobx-state-tree").IModelType<{
997
997
  changeLeftPanelKey(key: string): void;
998
998
  changeRenderersTabsKey(key: string): void;
999
999
  changeLeftPanelOpenStatus(isOpenStatus: boolean): void;
1000
- showRendererPanel(tag?: string | undefined, msg?: string | undefined): void;
1000
+ showRendererPanel(tag?: string, msg?: string): void;
1001
1001
  changeValue(value: Schema, diff?: any): void;
1002
- changeValueById(id: string, value: Schema, diff?: any, replace?: boolean | undefined, noTrace?: boolean | undefined): void;
1002
+ changeValueById(id: string, value: Schema, diff?: any, replace?: boolean, noTrace?: boolean): void;
1003
1003
  moveUp(id: string): void;
1004
1004
  moveDown(id: string): void;
1005
1005
  del(id: string): void;
@@ -1007,7 +1007,7 @@ export declare const EditorStore: import("mobx-state-tree").IModelType<{
1007
1007
  duplicate(id: string | Array<string>): void;
1008
1008
  emptyRegion(id: string, region: string): void;
1009
1009
  replaceChild(id: string, json: any): void;
1010
- setInsertRegion(region: string, id?: string, tag?: string, mode?: 'insert' | 'replace', originId?: string, beforeId?: string | undefined): void;
1010
+ setInsertRegion(region: string, id?: string, tag?: string, mode?: 'insert' | 'replace', originId?: string, beforeId?: string): void;
1011
1011
  closeInsertPanel(): void;
1012
1012
  showInsertRendererPanel(): void;
1013
1013
  closeInsertRendererPanel(): void;
@@ -1036,7 +1036,7 @@ export declare const EditorStore: import("mobx-state-tree").IModelType<{
1036
1036
  * 更新可供 target 及 reload 使用的名称列表
1037
1037
  */
1038
1038
  updateTargetName(): void;
1039
- traceableSetSchema(schema: any, noTrace?: boolean | undefined): void;
1039
+ traceableSetSchema(schema: any, noTrace?: boolean): void;
1040
1040
  undo(): void;
1041
1041
  redo(): void;
1042
1042
  resetHistory(): void;