unify-external-plugin-platform 0.0.2 → 0.0.3-2
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 +89173 -0
- package/dist/external-plugin.css +1 -0
- package/dist/external-plugin.umd.js +89184 -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
@@ -1,56 +0,0 @@
|
|
1
|
-
<!--
|
2
|
-
- @author: lvcy
|
3
|
-
- @date: 2023-01-09
|
4
|
-
- @description:scan-page
|
5
|
-
-->
|
6
|
-
<template>
|
7
|
-
<div class="scan-page">
|
8
|
-
<div class="" style="margin-bottom: 30px">
|
9
|
-
<h3>按钮弹框模式:</h3>
|
10
|
-
<scanner-high-camera-jieyu
|
11
|
-
open-mode="dialog"
|
12
|
-
icon="el-icon-picture-outline"
|
13
|
-
label="影像扫描"
|
14
|
-
type="primary"
|
15
|
-
size="mini"
|
16
|
-
@send-scanner-result="getScannerResult"
|
17
|
-
></scanner-high-camera-jieyu>
|
18
|
-
</div>
|
19
|
-
<!-- <scanner-high-camera-jieyu-->
|
20
|
-
<!-- @send-scanner-result="getScannerResultByIframeMode"-->
|
21
|
-
<!-- ></scanner-high-camera-jieyu>-->
|
22
|
-
</div>
|
23
|
-
</template>
|
24
|
-
|
25
|
-
<script lang="ts">
|
26
|
-
import {Component, Vue} from "vue-property-decorator";
|
27
|
-
|
28
|
-
@Component({
|
29
|
-
name: 'scan-page',
|
30
|
-
})
|
31
|
-
export default class ScanPage extends Vue {
|
32
|
-
|
33
|
-
|
34
|
-
getScannerResult(src: string) {
|
35
|
-
console.log('dialog=>', src)
|
36
|
-
}
|
37
|
-
|
38
|
-
getScannerResultByIframeMode(src: string) {
|
39
|
-
// console.log('iframe=>', src);
|
40
|
-
window.parent.postMessage({
|
41
|
-
type: 'scanner',
|
42
|
-
data: {
|
43
|
-
src: src
|
44
|
-
},
|
45
|
-
}, '*')
|
46
|
-
}
|
47
|
-
|
48
|
-
|
49
|
-
}
|
50
|
-
</script>
|
51
|
-
|
52
|
-
<style scoped lang="scss">
|
53
|
-
.scan-page {
|
54
|
-
height: 100%;
|
55
|
-
}
|
56
|
-
</style>
|
File without changes
|