unify-external-plugin-platform 0.0.2 → 0.0.3-10
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/.browserslistrc +3 -3
- package/README.md +52 -49
- package/babel.config.js +5 -5
- package/dist/demo.html +1 -0
- package/dist/external-plugin.common.js +89507 -0
- package/dist/external-plugin.css +1 -0
- package/dist/external-plugin.umd.js +89518 -0
- package/dist/external-plugin.umd.min.js +24 -0
- package/dist/fonts/element-icons.f1a45d74.ttf +0 -0
- package/dist/fonts/element-icons.ff18efd1.woff +0 -0
- package/dist/img/idcardbg1.1f8e1fc6.gif +0 -0
- package/dist/img/idcardbg2.2e47b05f.gif +0 -0
- package/package.json +39 -37
- package/tsconfig.json +42 -41
- package/vue.config.js +8 -4
- package/docs/.vuepress/config.js +0 -46
- package/docs/.vuepress/public/logo.png +0 -0
- package/docs/README.md +0 -15
- package/docs/guide/changelog.md +0 -1
- package/docs/guide/installation.md +0 -10
- package/docs/guide/quickstart.md +0 -26
- package/docs/plugin/README.md +0 -1
- package/docs/plugin/empty.md +0 -1
- package/packages/id-card-reader-demo/index.ts +0 -9
- package/packages/id-card-reader-demo/src/id-card-reader-demo.vue +0 -142
- package/packages/index.js +0 -29
- package/packages/scanner-high-camera-jieyu/index.ts +0 -14
- package/packages/scanner-high-camera-jieyu/src/component/scanner-high-camera-component.vue +0 -292
- package/packages/scanner-high-camera-jieyu/src/scanner-high-camera-jieyu.vue +0 -174
- package/packages/zs-empty/index.ts +0 -9
- package/packages/zs-empty/src/assets/images/img_blank_empty.png +0 -0
- package/packages/zs-empty/src/zs-empty.vue +0 -42
- package/public/favicon.ico +0 -0
- package/public/img/icons/android-chrome-192x192.png +0 -0
- package/public/img/icons/android-chrome-512x512.png +0 -0
- package/public/img/icons/android-chrome-maskable-192x192.png +0 -0
- package/public/img/icons/android-chrome-maskable-512x512.png +0 -0
- package/public/img/icons/apple-touch-icon-120x120.png +0 -0
- package/public/img/icons/apple-touch-icon-152x152.png +0 -0
- package/public/img/icons/apple-touch-icon-180x180.png +0 -0
- package/public/img/icons/apple-touch-icon-60x60.png +0 -0
- package/public/img/icons/apple-touch-icon-76x76.png +0 -0
- package/public/img/icons/apple-touch-icon.png +0 -0
- package/public/img/icons/favicon-16x16.png +0 -0
- package/public/img/icons/favicon-32x32.png +0 -0
- package/public/img/icons/msapplication-icon-144x144.png +0 -0
- package/public/img/icons/mstile-150x150.png +0 -0
- package/public/img/icons/safari-pinned-tab.svg +0 -3
- package/public/index.html +0 -23
- package/public/robots.txt +0 -2
- package/src/App.vue +0 -15
- package/src/assets/images/reg-developing.png +0 -0
- package/src/assets/logo.png +0 -0
- package/src/components/404.vue +0 -17
- package/src/components/HelloWorld.vue +0 -61
- package/src/main.ts +0 -22
- package/src/registerServiceWorker.ts +0 -32
- package/src/router/id-card-reader/id-card-reader.ts +0 -19
- package/src/router/index.ts +0 -46
- package/src/router/scan/scan.ts +0 -19
- package/src/shims-tsx.d.ts +0 -11
- package/src/shims-vue.d.ts +0 -4
- package/src/store/index.ts +0 -17
- package/src/views/AboutView.vue +0 -5
- package/src/views/HomeView.vue +0 -109
- package/src/views/id-card-reader/id-card-reader-page.vue +0 -139
- package/src/views/id-card-reader/model/conatant/id-card-form-attr.ts +0 -31
- package/src/views/id-card-reader/model/vo/id-card.ts +0 -44
- package/src/views/layout/home-layout.vue +0 -72
- package/src/views/layout/model/menu-data.ts +0 -29
- package/src/views/scan/scan-page.vue +0 -56
- /package/{packages/scanner-high-camera-jieyu/images/img_blank_empty.png → dist/img/img_blank_empty.92ddadbb.png} +0 -0
package/.browserslistrc
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
> 1%
|
2
|
-
last 2 versions
|
3
|
-
not dead
|
1
|
+
> 1%
|
2
|
+
last 2 versions
|
3
|
+
not dead
|
package/README.md
CHANGED
@@ -1,49 +1,52 @@
|
|
1
|
-
# unify-external-plugin-platform
|
2
|
-
|
3
|
-
# 目录说明
|
4
|
-
```
|
5
|
-
* unify-external-plugin-platform
|
6
|
-
* node_modules 依赖包
|
7
|
-
* packages 插件组件目录(插件组件大驼峰命名)
|
8
|
-
* ZSEmpty 空组件(demo)
|
9
|
-
* src 插件内容
|
10
|
-
* index.ts 单个插件导出文件,以便单个引入
|
11
|
-
* ......
|
12
|
-
* index.js 整体导出
|
13
|
-
* public
|
14
|
-
* src 业务代码
|
15
|
-
|
16
|
-
```
|
17
|
-
|
18
|
-
# 运行
|
19
|
-
### 文档
|
20
|
-
```shell
|
21
|
-
npm run docs:dev
|
22
|
-
```
|
23
|
-
|
24
|
-
### Demo
|
25
|
-
```shell
|
26
|
-
npm run serve
|
27
|
-
```
|
28
|
-
|
29
|
-
|
30
|
-
# 使用
|
31
|
-
1. 安装
|
32
|
-
```
|
33
|
-
npm i unify-external-plugin-platform
|
34
|
-
```
|
35
|
-
|
36
|
-
3. 引入:
|
37
|
-
```javascript
|
38
|
-
// 在main.js中
|
39
|
-
import unifyExternalPluginPlatform from 'unify-external-plugin-platform';
|
40
|
-
Vue.use(unifyExternalPluginPlatform);
|
41
|
-
```
|
42
|
-
|
43
|
-
3. 使用:
|
44
|
-
```vue
|
45
|
-
<z-s-empty empty-tip="暂无数据组件"></z-s-empty>
|
46
|
-
```
|
47
|
-
|
48
|
-
|
49
|
-
|
1
|
+
# unify-external-plugin-platform
|
2
|
+
|
3
|
+
# 目录说明
|
4
|
+
```
|
5
|
+
* unify-external-plugin-platform
|
6
|
+
* node_modules 依赖包
|
7
|
+
* packages 插件组件目录(插件组件大驼峰命名)
|
8
|
+
* ZSEmpty 空组件(demo)
|
9
|
+
* src 插件内容
|
10
|
+
* index.ts 单个插件导出文件,以便单个引入
|
11
|
+
* ......
|
12
|
+
* index.js 整体导出
|
13
|
+
* public
|
14
|
+
* src 业务代码
|
15
|
+
|
16
|
+
```
|
17
|
+
|
18
|
+
# 运行
|
19
|
+
### 文档
|
20
|
+
```shell
|
21
|
+
npm run docs:dev
|
22
|
+
```
|
23
|
+
|
24
|
+
### Demo
|
25
|
+
```shell
|
26
|
+
npm run serve
|
27
|
+
```
|
28
|
+
|
29
|
+
|
30
|
+
# 使用
|
31
|
+
1. 安装
|
32
|
+
```
|
33
|
+
npm i unify-external-plugin-platform
|
34
|
+
```
|
35
|
+
|
36
|
+
3. 引入:
|
37
|
+
```javascript
|
38
|
+
// 在main.js中
|
39
|
+
import unifyExternalPluginPlatform from 'unify-external-plugin-platform';
|
40
|
+
Vue.use(unifyExternalPluginPlatform);
|
41
|
+
```
|
42
|
+
|
43
|
+
3. 使用:
|
44
|
+
```vue
|
45
|
+
<z-s-empty empty-tip="暂无数据组件"></z-s-empty>
|
46
|
+
```
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
npm run lib
|
51
|
+
|
52
|
+
npm publish
|
package/babel.config.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
module.exports = {
|
2
|
-
presets: [
|
3
|
-
'@vue/cli-plugin-babel/preset'
|
4
|
-
]
|
5
|
-
}
|
1
|
+
module.exports = {
|
2
|
+
presets: [
|
3
|
+
'@vue/cli-plugin-babel/preset'
|
4
|
+
]
|
5
|
+
}
|
package/dist/demo.html
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
<!doctype html><meta charset="utf-8"><title>external-plugin demo</title><script src="./external-plugin.umd.js"></script><link rel="stylesheet" href="./external-plugin.css"><script>console.log(external-plugin)</script>
|