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

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ import { ButtonPlugin } from '../Button';
2
+ export declare class ResetControlPlugin extends ButtonPlugin {
3
+ rendererName: string;
4
+ name: string;
5
+ icon: string;
6
+ panelTitle: string;
7
+ }
@@ -0,0 +1,6 @@
1
+ import { ButtonPlugin } from '../Button';
2
+ export declare class SubmitControlPlugin extends ButtonPlugin {
3
+ rendererName: string;
4
+ name: string;
5
+ panelTitle: string;
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amis-editor",
3
- "version": "4.0.1-beta.18",
3
+ "version": "4.0.1-beta.19",
4
4
  "description": "amis 可视化编辑器",
5
5
  "main": "dist/index.min.js",
6
6
  "types": "dist/index.d.ts",
@@ -57,7 +57,7 @@
57
57
  "@types/react-router": "^4.0.16",
58
58
  "@types/sortablejs": "^1.10.7",
59
59
  "ajv": "^8.8.2",
60
- "amis": "^1.5.3",
60
+ "amis": "^1.5.7",
61
61
  "axios": "0.21.1",
62
62
  "concurrently": "^6.2.0",
63
63
  "css-loader": "^6.2.0",
@@ -73,9 +73,9 @@
73
73
  "fis3-preprocessor-js-require-css": "^0.1.3",
74
74
  "fis3-preprocessor-js-require-file": "^0.1.3",
75
75
  "husky": "^7.0.0",
76
+ "lint-staged": "^12.1.2",
76
77
  "mini-css-extract-plugin": "^2.3.0",
77
78
  "prettier": "^2.2.1",
78
- "lint-staged": "^12.1.2",
79
79
  "react": "^16.14.0",
80
80
  "react-dom": "^16.14.0",
81
81
  "react-router": "3.2.0",
@@ -1,26 +0,0 @@
1
- import React from 'react';
2
- export interface BackTopProps {
3
- visibilityHeight?: number;
4
- onClick?: React.MouseEventHandler<HTMLElement>;
5
- target: () => HTMLElement | Window | Document;
6
- children?: React.ReactNode;
7
- className?: string;
8
- visible?: boolean;
9
- }
10
- export interface BackTopStates {
11
- visible: boolean;
12
- }
13
- export default class BackTop extends React.Component<BackTopProps, BackTopStates> {
14
- ref: React.RefObject<HTMLDivElement>;
15
- scrollElem: any;
16
- constructor(props: any);
17
- componentDidMount(): void;
18
- componentWillUnmount(): void;
19
- getDefaultTarget(): (Window & typeof globalThis) | Document;
20
- handleScroll(e: React.UIEvent<HTMLElement> | {
21
- target: any;
22
- }): void;
23
- bindScrollEvent(): void;
24
- scrollToTop(e: React.MouseEvent<HTMLDivElement>): void;
25
- render(): JSX.Element;
26
- }
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { EditorStoreType } from '../store/editor';
3
- export interface ContextMenuPanelProps {
4
- store: EditorStoreType;
5
- }
6
- export declare class ContextMenuPanel extends React.Component<ContextMenuPanelProps> {
7
- render(): JSX.Element | null;
8
- }
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import { RendererProps } from 'amis/lib/factory';
3
- interface InputCompoonentNameProps extends RendererProps {
4
- value: any;
5
- onChange: (value: any) => void;
6
- }
7
- export declare function InputCompoonentName(props: InputCompoonentNameProps): JSX.Element;
8
- export {};