amis-editor 3.3.12-beta.1 → 4.0.1-beta.10
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/150a58f3318ca7541ed9.png +0 -0
- package/dist/471adb97c322b226e589.png +0 -0
- package/dist/4de5f42360bc5946c3c2.png +0 -0
- package/dist/4e9968bba3855f088fed.png +0 -0
- package/dist/7f09c38ebc687fea847a.png +0 -0
- package/dist/c94073576487510314ea.png +0 -0
- package/dist/component/AvailableRenderersPanel.d.ts +13 -1
- package/dist/component/BackTop.d.ts +26 -0
- package/dist/component/Breadcrumb.d.ts +1 -1
- package/dist/component/ContextMenuPanel.d.ts +8 -0
- package/dist/component/InputComponentName.d.ts +8 -0
- package/dist/component/Outline.d.ts +6 -0
- package/dist/component/Preview.d.ts +2 -0
- package/dist/component/RegionHLBox.d.ts +1 -8
- package/dist/dnd/default.d.ts +1 -1
- package/dist/dnd/index.d.ts +1 -1
- package/dist/index.d.ts +2 -4
- package/dist/index.min.js +1 -1
- package/dist/manager.d.ts +14 -9
- package/dist/plugin/BasicToolbar.d.ts +1 -1
- package/dist/plugin/Date.d.ts +1 -0
- package/dist/plugin/Datetime.d.ts +3 -0
- package/dist/plugin/Form/FieldSet.d.ts +1 -0
- package/dist/plugin/Form/Group.d.ts +1 -0
- package/dist/plugin/Form/InputGroup.d.ts +0 -2
- package/dist/plugin/Form/Item.d.ts +1 -1
- package/dist/plugin/Grid.d.ts +17 -20
- package/dist/plugin/HBox.d.ts +1 -0
- package/dist/plugin/Log.d.ts +1 -0
- package/dist/plugin/Plain.d.ts +1 -0
- package/dist/plugin/Reset.d.ts +1 -0
- package/dist/plugin/Steps.d.ts +1 -7
- package/dist/plugin/Submit.d.ts +1 -0
- package/dist/plugin/Time.d.ts +3 -0
- package/dist/plugin/Wrapper.d.ts +1 -0
- package/dist/plugin.d.ts +19 -0
- package/dist/store/editor.d.ts +6 -1
- package/dist/style.css +1 -1
- package/dist/util.d.ts +1 -1
- package/package.json +13 -7
- package/.editorconfig +0 -12
- package/.fecsrc +0 -8
- package/.prettierrc +0 -20
- package/dist/plugin/Form/Color.d.ts +0 -39
- package/dist/plugin/Form/Reset.d.ts +0 -7
- package/dist/plugin/Form/Submit.d.ts +0 -6
- package/rollup.config.js +0 -24
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "amis-editor",
|
3
|
-
"version": "
|
3
|
+
"version": "4.0.1-beta.10",
|
4
4
|
"description": "amis 可视化编辑器",
|
5
5
|
"main": "dist/index.min.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -12,7 +12,8 @@
|
|
12
12
|
"dev": "fis3 release -cwd ./public",
|
13
13
|
"prettier": "prettier --write '{src,examples}/**/*.{tsx,ts,jsx}'",
|
14
14
|
"build": "webpack",
|
15
|
-
"publish-to-internal": "git pull && sh publish.sh"
|
15
|
+
"publish-to-internal": "git pull && sh publish.sh",
|
16
|
+
"publish2local": "sh publish-local.sh"
|
16
17
|
},
|
17
18
|
"keywords": [
|
18
19
|
"amis",
|
@@ -20,11 +21,13 @@
|
|
20
21
|
],
|
21
22
|
"author": "@fex",
|
22
23
|
"license": "ISC",
|
24
|
+
"files": [
|
25
|
+
"dist/*"
|
26
|
+
],
|
23
27
|
"dependencies": {
|
24
|
-
"@types/deep-diff": "^1.0.0",
|
25
28
|
"@webcomponents/webcomponentsjs": "^2.6.0",
|
26
29
|
"deep-diff": "1.0.2",
|
27
|
-
"json-ast-comments": "^1.0
|
30
|
+
"json-ast-comments": "^1.1.0",
|
28
31
|
"mobx": "^4.5.0",
|
29
32
|
"mobx-react": "^6.1.4",
|
30
33
|
"mobx-state-tree": "^3.17.3",
|
@@ -35,6 +38,7 @@
|
|
35
38
|
"@svgr/webpack": "^5.5.0",
|
36
39
|
"@types/async": "^2.0.45",
|
37
40
|
"@types/classnames": "^2.2.3",
|
41
|
+
"@types/deep-diff": "^1.0.0",
|
38
42
|
"@types/history": "^4.6.0",
|
39
43
|
"@types/hoist-non-react-statics": "^3.0.1",
|
40
44
|
"@types/lodash": "^4.14.76",
|
@@ -44,14 +48,14 @@
|
|
44
48
|
"@types/react-dom": "^16.9.4",
|
45
49
|
"@types/react-overlays": "^0.6.9",
|
46
50
|
"@types/react-router": "^4.0.16",
|
47
|
-
"amis": "1.
|
51
|
+
"amis": "^1.5.0",
|
48
52
|
"axios": "0.21.1",
|
49
53
|
"concurrently": "^6.2.0",
|
50
54
|
"css-loader": "^6.2.0",
|
51
55
|
"faker": "^5.5.3",
|
52
56
|
"fis-parser-sass": "^1.1.0",
|
53
57
|
"fis-parser-svgr": "^1.0.1",
|
54
|
-
"fis3": "^3.
|
58
|
+
"fis3": "^3.5.0-beta.0",
|
55
59
|
"fis3-hook-commonjs": "^0.1.32",
|
56
60
|
"fis3-hook-node_modules": "^2.3.1",
|
57
61
|
"fis3-parser-typescript": "^1.4.0",
|
@@ -73,8 +77,10 @@
|
|
73
77
|
"tslib": "^2.3.1",
|
74
78
|
"typescript": "^4.4.2",
|
75
79
|
"webpack": "^5.52.1",
|
80
|
+
"webpack-bundle-analyzer": "^4.5.0",
|
76
81
|
"webpack-cli": "^4.8.0",
|
77
|
-
"webpack-node-externals": "^3.0.0"
|
82
|
+
"webpack-node-externals": "^3.0.0",
|
83
|
+
"ajv": "^8.8.2"
|
78
84
|
},
|
79
85
|
"peerDependencies": {
|
80
86
|
"amis": "*"
|
package/.editorconfig
DELETED
package/.fecsrc
DELETED
package/.prettierrc
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"printWidth": 80,
|
3
|
-
"tabWidth": 2,
|
4
|
-
"useTabs": false,
|
5
|
-
"singleQuote": true,
|
6
|
-
"semi": true,
|
7
|
-
"trailingComma": "none",
|
8
|
-
"bracketSpacing": false,
|
9
|
-
"quoteProps": "consistent",
|
10
|
-
"arrowParens": "avoid",
|
11
|
-
"jsxBracketSameLine": false,
|
12
|
-
"overrides": [
|
13
|
-
{
|
14
|
-
"files": ["fis-conf.js"],
|
15
|
-
"options": {
|
16
|
-
"tabWidth": 4
|
17
|
-
}
|
18
|
-
}
|
19
|
-
]
|
20
|
-
}
|
@@ -1,39 +0,0 @@
|
|
1
|
-
import { BasePlugin, BasicSubRenderInfo, RendererEventContext, SubRendererInfo } from '../../plugin';
|
2
|
-
export declare class ColorControlPlugin extends BasePlugin {
|
3
|
-
rendererName: string;
|
4
|
-
$schema: string;
|
5
|
-
name: string;
|
6
|
-
icon: string;
|
7
|
-
description: string;
|
8
|
-
docLink: string;
|
9
|
-
tags: string[];
|
10
|
-
scaffold: {
|
11
|
-
type: string;
|
12
|
-
label: string;
|
13
|
-
name: string;
|
14
|
-
};
|
15
|
-
previewSchema: any;
|
16
|
-
getConditionalColorPanel(format: string): {
|
17
|
-
type: string;
|
18
|
-
name: string;
|
19
|
-
format: string;
|
20
|
-
visibleOn: string;
|
21
|
-
label: string;
|
22
|
-
};
|
23
|
-
getConditionalColorArray(format: string): {
|
24
|
-
type: string;
|
25
|
-
name: string;
|
26
|
-
label: string;
|
27
|
-
addable: boolean;
|
28
|
-
removable: boolean;
|
29
|
-
visibleOn: string;
|
30
|
-
items: {
|
31
|
-
type: string;
|
32
|
-
format: string;
|
33
|
-
};
|
34
|
-
value: string[];
|
35
|
-
};
|
36
|
-
panelTitle: string;
|
37
|
-
panelBody: any[];
|
38
|
-
buildSubRenderers(context: RendererEventContext, renderers: Array<SubRendererInfo>): BasicSubRenderInfo | Array<BasicSubRenderInfo> | void;
|
39
|
-
}
|
package/rollup.config.js
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
/* eslint-disable */
|
2
|
-
import commonjs from '@rollup/plugin-commonjs';
|
3
|
-
import typescript from '@rollup/plugin-typescript';
|
4
|
-
|
5
|
-
export default {
|
6
|
-
input: 'src/index.ts',
|
7
|
-
output: {
|
8
|
-
dir: './dist',
|
9
|
-
entryFileNames: 'index.min.js',
|
10
|
-
format: 'umd',
|
11
|
-
name: 'amis-editor'
|
12
|
-
},
|
13
|
-
plugins: [
|
14
|
-
typescript({
|
15
|
-
exclude: 'node_modules/**',
|
16
|
-
declaration: true,
|
17
|
-
declarationDir: './dist',
|
18
|
-
rootDir: './src',
|
19
|
-
sourceMap: false,
|
20
|
-
allowJs: false
|
21
|
-
}),
|
22
|
-
commonjs({extensions: ['.js', '.ts'], transformMixedEsModules: true}) // the ".ts" extension is required
|
23
|
-
]
|
24
|
-
};
|