@hbixinlian/as-editor-components 1.0.2 → 1.0.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.
- package/README.md +451 -451
- package/dist/as-editor-components.css +1 -1
- package/dist/as-editor-components.es.js +2551 -1589
- package/dist/as-editor-components.es.js.map +1 -1
- package/dist/as-editor-components.umd.js +1 -1
- package/dist/as-editor-components.umd.js.map +1 -1
- package/dist/config/config.js +4 -4
- package/dist/index.html +21 -21
- package/dist/langs/zh_CN.js +415 -415
- package/dist/types/index.d.ts +30 -26
- package/package.json +106 -106
package/dist/types/index.d.ts
CHANGED
|
@@ -1,26 +1,30 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AS-Editor Components Library TypeScript 类型定义
|
|
3
|
-
*/
|
|
4
|
-
import { DefineComponent, App } from 'vue'
|
|
5
|
-
|
|
6
|
-
export interface BaseComponentProps {
|
|
7
|
-
datas: Record<string, any>
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export declare const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
declare const
|
|
26
|
-
|
|
1
|
+
/**
|
|
2
|
+
* AS-Editor Components Library TypeScript 类型定义
|
|
3
|
+
*/
|
|
4
|
+
import { DefineComponent, App } from 'vue'
|
|
5
|
+
|
|
6
|
+
export interface BaseComponentProps {
|
|
7
|
+
datas: Record<string, any>
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare const componentProperties: Map<string, any>
|
|
11
|
+
|
|
12
|
+
export declare const ComponentRenderer: DefineComponent<{
|
|
13
|
+
pageConfig?: Record<string, any>
|
|
14
|
+
components?: Array<any>
|
|
15
|
+
minHeight?: number
|
|
16
|
+
showEditControls?: boolean
|
|
17
|
+
enableInteraction?: boolean
|
|
18
|
+
}, {}, {}, {}, {}, {}, {}, {}>
|
|
19
|
+
|
|
20
|
+
export interface AsEditorComponentsPlugin {
|
|
21
|
+
install: (app: App) => void
|
|
22
|
+
ComponentRenderer: typeof ComponentRenderer
|
|
23
|
+
componentProperties: typeof componentProperties
|
|
24
|
+
}
|
|
25
|
+
export declare const components: {
|
|
26
|
+
[key: string]: DefineComponent<BaseComponentProps>
|
|
27
|
+
}
|
|
28
|
+
export { ComponentRenderer, componentProperties, components }
|
|
29
|
+
declare const AsEditorComponents: AsEditorComponentsPlugin
|
|
30
|
+
export default AsEditorComponents
|
package/package.json
CHANGED
|
@@ -1,107 +1,107 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@hbixinlian/as-editor-components",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "AS-Editor 可视化拖拽编辑器组件库 - 基于Vue3的可复用UI组件集合",
|
|
5
|
-
"author": "xizhu <1805639380@qq.com>",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"type": "module",
|
|
8
|
-
"main": "dist/as-editor-components.umd.js",
|
|
9
|
-
"module": "dist/as-editor-components.es.js",
|
|
10
|
-
"types": "dist/types/index.d.ts",
|
|
11
|
-
"exports": {
|
|
12
|
-
".": {
|
|
13
|
-
"import": "./dist/as-editor-components.es.js",
|
|
14
|
-
"require": "./dist/as-editor-components.umd.js",
|
|
15
|
-
"types": "./dist/types/index.d.ts"
|
|
16
|
-
},
|
|
17
|
-
"./dist/as-editor-components.css": "./dist/as-editor-components.css"
|
|
18
|
-
},
|
|
19
|
-
"files": [
|
|
20
|
-
"dist",
|
|
21
|
-
"README.md",
|
|
22
|
-
"package.json"
|
|
23
|
-
],
|
|
24
|
-
"keywords": [
|
|
25
|
-
"vue",
|
|
26
|
-
"vue3",
|
|
27
|
-
"components",
|
|
28
|
-
"ui",
|
|
29
|
-
"editor",
|
|
30
|
-
"visual",
|
|
31
|
-
"drag-drop",
|
|
32
|
-
"as-editor",
|
|
33
|
-
"低代码",
|
|
34
|
-
"可视化编辑器"
|
|
35
|
-
],
|
|
36
|
-
"homepage": "https://gitee.com/yangzijian1996/as-editor",
|
|
37
|
-
"repository": {
|
|
38
|
-
"type": "git",
|
|
39
|
-
"url": "https://gitee.com/yangzijian1996/as-editor"
|
|
40
|
-
},
|
|
41
|
-
"bugs": {
|
|
42
|
-
"url": "https://gitee.com/yangzijian1996/as-editor/issues"
|
|
43
|
-
},
|
|
44
|
-
"publishConfig": {
|
|
45
|
-
"access": "public",
|
|
46
|
-
"registry": "https://registry.npmjs.org/"
|
|
47
|
-
},
|
|
48
|
-
"scripts": {
|
|
49
|
-
"dev": "vite",
|
|
50
|
-
"build": "vite build",
|
|
51
|
-
"build:lib": "vite build --config vite.lib.config.js && node scripts/copy-types.js",
|
|
52
|
-
"preview": "vite preview",
|
|
53
|
-
"lint": "eslint --ext .js,.vue src",
|
|
54
|
-
"prepublishOnly": "npm run build:lib",
|
|
55
|
-
"type-check": "vue-tsc --noEmit"
|
|
56
|
-
},
|
|
57
|
-
"dependencies": {
|
|
58
|
-
"@tinymce/tinymce-vue": "^4.0.5",
|
|
59
|
-
"axios": "^0.25.0",
|
|
60
|
-
"clipboard": "^2.0.10",
|
|
61
|
-
"core-js": "^3.21.0",
|
|
62
|
-
"cos-js-sdk-v5": "^1.4.6",
|
|
63
|
-
"element-plus": "^1.3.0-beta.10",
|
|
64
|
-
"file-saver": "^2.0.5",
|
|
65
|
-
"html2canvas": "1.0.0-alpha.9",
|
|
66
|
-
"nprogress": "^0.2.0",
|
|
67
|
-
"qrcode": "^1.4.4",
|
|
68
|
-
"qs": "^6.9.1",
|
|
69
|
-
"tinymce": "^5.10.3",
|
|
70
|
-
"vant": "^3.4.4",
|
|
71
|
-
"vue": "^3.5",
|
|
72
|
-
"vue-router": "^4.0.0-0",
|
|
73
|
-
"vuedraggable": "^4.1.0",
|
|
74
|
-
"vuex": "^4.0.0-0"
|
|
75
|
-
},
|
|
76
|
-
"peerDependencies": {
|
|
77
|
-
"vue": "^3.0.0",
|
|
78
|
-
"vant": "^3.0.0",
|
|
79
|
-
"element-plus": "^1.0.0"
|
|
80
|
-
},
|
|
81
|
-
"devDependencies": {
|
|
82
|
-
"@vitejs/plugin-vue": "^4.2.3",
|
|
83
|
-
"@vue/compiler-sfc": "^3.3.4",
|
|
84
|
-
"@vue/eslint-config-prettier": "^7.1.0",
|
|
85
|
-
"eslint": "^8.44.0",
|
|
86
|
-
"eslint-plugin-import": "^2.27.5",
|
|
87
|
-
"eslint-plugin-node": "^11.1.0",
|
|
88
|
-
"eslint-plugin-prettier": "^4.2.1",
|
|
89
|
-
"eslint-plugin-promise": "^4.3.1",
|
|
90
|
-
"eslint-plugin-vue": "^9.15.1",
|
|
91
|
-
"husky": "^8.0.3",
|
|
92
|
-
"less": "^4.1.3",
|
|
93
|
-
"prettier": "^2.8.8",
|
|
94
|
-
"swiper": "^9.4.1",
|
|
95
|
-
"vite": "^4.3.9"
|
|
96
|
-
},
|
|
97
|
-
"husky": {
|
|
98
|
-
"hooks": {
|
|
99
|
-
"pre-commit": "npm run lint",
|
|
100
|
-
"commit-msg": "node script/verify-commit.js"
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
"browserslist": [
|
|
104
|
-
"> 1%",
|
|
105
|
-
"last 2 versions"
|
|
106
|
-
]
|
|
1
|
+
{
|
|
2
|
+
"name": "@hbixinlian/as-editor-components",
|
|
3
|
+
"version": "1.0.4",
|
|
4
|
+
"description": "AS-Editor 可视化拖拽编辑器组件库 - 基于Vue3的可复用UI组件集合",
|
|
5
|
+
"author": "xizhu <1805639380@qq.com>",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"main": "dist/as-editor-components.umd.js",
|
|
9
|
+
"module": "dist/as-editor-components.es.js",
|
|
10
|
+
"types": "dist/types/index.d.ts",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"import": "./dist/as-editor-components.es.js",
|
|
14
|
+
"require": "./dist/as-editor-components.umd.js",
|
|
15
|
+
"types": "./dist/types/index.d.ts"
|
|
16
|
+
},
|
|
17
|
+
"./dist/as-editor-components.css": "./dist/as-editor-components.css"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"dist",
|
|
21
|
+
"README.md",
|
|
22
|
+
"package.json"
|
|
23
|
+
],
|
|
24
|
+
"keywords": [
|
|
25
|
+
"vue",
|
|
26
|
+
"vue3",
|
|
27
|
+
"components",
|
|
28
|
+
"ui",
|
|
29
|
+
"editor",
|
|
30
|
+
"visual",
|
|
31
|
+
"drag-drop",
|
|
32
|
+
"as-editor",
|
|
33
|
+
"低代码",
|
|
34
|
+
"可视化编辑器"
|
|
35
|
+
],
|
|
36
|
+
"homepage": "https://gitee.com/yangzijian1996/as-editor",
|
|
37
|
+
"repository": {
|
|
38
|
+
"type": "git",
|
|
39
|
+
"url": "https://gitee.com/yangzijian1996/as-editor"
|
|
40
|
+
},
|
|
41
|
+
"bugs": {
|
|
42
|
+
"url": "https://gitee.com/yangzijian1996/as-editor/issues"
|
|
43
|
+
},
|
|
44
|
+
"publishConfig": {
|
|
45
|
+
"access": "public",
|
|
46
|
+
"registry": "https://registry.npmjs.org/"
|
|
47
|
+
},
|
|
48
|
+
"scripts": {
|
|
49
|
+
"dev": "vite",
|
|
50
|
+
"build": "vite build",
|
|
51
|
+
"build:lib": "vite build --config vite.lib.config.js && node scripts/copy-types.js",
|
|
52
|
+
"preview": "vite preview",
|
|
53
|
+
"lint": "eslint --ext .js,.vue src",
|
|
54
|
+
"prepublishOnly": "npm run build:lib",
|
|
55
|
+
"type-check": "vue-tsc --noEmit"
|
|
56
|
+
},
|
|
57
|
+
"dependencies": {
|
|
58
|
+
"@tinymce/tinymce-vue": "^4.0.5",
|
|
59
|
+
"axios": "^0.25.0",
|
|
60
|
+
"clipboard": "^2.0.10",
|
|
61
|
+
"core-js": "^3.21.0",
|
|
62
|
+
"cos-js-sdk-v5": "^1.4.6",
|
|
63
|
+
"element-plus": "^1.3.0-beta.10",
|
|
64
|
+
"file-saver": "^2.0.5",
|
|
65
|
+
"html2canvas": "1.0.0-alpha.9",
|
|
66
|
+
"nprogress": "^0.2.0",
|
|
67
|
+
"qrcode": "^1.4.4",
|
|
68
|
+
"qs": "^6.9.1",
|
|
69
|
+
"tinymce": "^5.10.3",
|
|
70
|
+
"vant": "^3.4.4",
|
|
71
|
+
"vue": "^3.5",
|
|
72
|
+
"vue-router": "^4.0.0-0",
|
|
73
|
+
"vuedraggable": "^4.1.0",
|
|
74
|
+
"vuex": "^4.0.0-0"
|
|
75
|
+
},
|
|
76
|
+
"peerDependencies": {
|
|
77
|
+
"vue": "^3.0.0",
|
|
78
|
+
"vant": "^3.0.0",
|
|
79
|
+
"element-plus": "^1.0.0"
|
|
80
|
+
},
|
|
81
|
+
"devDependencies": {
|
|
82
|
+
"@vitejs/plugin-vue": "^4.2.3",
|
|
83
|
+
"@vue/compiler-sfc": "^3.3.4",
|
|
84
|
+
"@vue/eslint-config-prettier": "^7.1.0",
|
|
85
|
+
"eslint": "^8.44.0",
|
|
86
|
+
"eslint-plugin-import": "^2.27.5",
|
|
87
|
+
"eslint-plugin-node": "^11.1.0",
|
|
88
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
89
|
+
"eslint-plugin-promise": "^4.3.1",
|
|
90
|
+
"eslint-plugin-vue": "^9.15.1",
|
|
91
|
+
"husky": "^8.0.3",
|
|
92
|
+
"less": "^4.1.3",
|
|
93
|
+
"prettier": "^2.8.8",
|
|
94
|
+
"swiper": "^9.4.1",
|
|
95
|
+
"vite": "^4.3.9"
|
|
96
|
+
},
|
|
97
|
+
"husky": {
|
|
98
|
+
"hooks": {
|
|
99
|
+
"pre-commit": "npm run lint",
|
|
100
|
+
"commit-msg": "node script/verify-commit.js"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"browserslist": [
|
|
104
|
+
"> 1%",
|
|
105
|
+
"last 2 versions"
|
|
106
|
+
]
|
|
107
107
|
}
|