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.
Files changed (72) hide show
  1. package/.browserslistrc +3 -3
  2. package/README.md +52 -49
  3. package/babel.config.js +5 -5
  4. package/dist/demo.html +1 -0
  5. package/dist/external-plugin.common.js +89173 -0
  6. package/dist/external-plugin.css +1 -0
  7. package/dist/external-plugin.umd.js +89184 -0
  8. package/dist/external-plugin.umd.min.js +24 -0
  9. package/dist/fonts/element-icons.f1a45d74.ttf +0 -0
  10. package/dist/fonts/element-icons.ff18efd1.woff +0 -0
  11. package/dist/img/idcardbg1.1f8e1fc6.gif +0 -0
  12. package/dist/img/idcardbg2.2e47b05f.gif +0 -0
  13. package/package.json +39 -37
  14. package/tsconfig.json +42 -41
  15. package/vue.config.js +8 -4
  16. package/docs/.vuepress/config.js +0 -46
  17. package/docs/.vuepress/public/logo.png +0 -0
  18. package/docs/README.md +0 -15
  19. package/docs/guide/changelog.md +0 -1
  20. package/docs/guide/installation.md +0 -10
  21. package/docs/guide/quickstart.md +0 -26
  22. package/docs/plugin/README.md +0 -1
  23. package/docs/plugin/empty.md +0 -1
  24. package/packages/id-card-reader-demo/index.ts +0 -9
  25. package/packages/id-card-reader-demo/src/id-card-reader-demo.vue +0 -142
  26. package/packages/index.js +0 -29
  27. package/packages/scanner-high-camera-jieyu/index.ts +0 -14
  28. package/packages/scanner-high-camera-jieyu/src/component/scanner-high-camera-component.vue +0 -292
  29. package/packages/scanner-high-camera-jieyu/src/scanner-high-camera-jieyu.vue +0 -174
  30. package/packages/zs-empty/index.ts +0 -9
  31. package/packages/zs-empty/src/assets/images/img_blank_empty.png +0 -0
  32. package/packages/zs-empty/src/zs-empty.vue +0 -42
  33. package/public/favicon.ico +0 -0
  34. package/public/img/icons/android-chrome-192x192.png +0 -0
  35. package/public/img/icons/android-chrome-512x512.png +0 -0
  36. package/public/img/icons/android-chrome-maskable-192x192.png +0 -0
  37. package/public/img/icons/android-chrome-maskable-512x512.png +0 -0
  38. package/public/img/icons/apple-touch-icon-120x120.png +0 -0
  39. package/public/img/icons/apple-touch-icon-152x152.png +0 -0
  40. package/public/img/icons/apple-touch-icon-180x180.png +0 -0
  41. package/public/img/icons/apple-touch-icon-60x60.png +0 -0
  42. package/public/img/icons/apple-touch-icon-76x76.png +0 -0
  43. package/public/img/icons/apple-touch-icon.png +0 -0
  44. package/public/img/icons/favicon-16x16.png +0 -0
  45. package/public/img/icons/favicon-32x32.png +0 -0
  46. package/public/img/icons/msapplication-icon-144x144.png +0 -0
  47. package/public/img/icons/mstile-150x150.png +0 -0
  48. package/public/img/icons/safari-pinned-tab.svg +0 -3
  49. package/public/index.html +0 -23
  50. package/public/robots.txt +0 -2
  51. package/src/App.vue +0 -15
  52. package/src/assets/images/reg-developing.png +0 -0
  53. package/src/assets/logo.png +0 -0
  54. package/src/components/404.vue +0 -17
  55. package/src/components/HelloWorld.vue +0 -61
  56. package/src/main.ts +0 -22
  57. package/src/registerServiceWorker.ts +0 -32
  58. package/src/router/id-card-reader/id-card-reader.ts +0 -19
  59. package/src/router/index.ts +0 -46
  60. package/src/router/scan/scan.ts +0 -19
  61. package/src/shims-tsx.d.ts +0 -11
  62. package/src/shims-vue.d.ts +0 -4
  63. package/src/store/index.ts +0 -17
  64. package/src/views/AboutView.vue +0 -5
  65. package/src/views/HomeView.vue +0 -109
  66. package/src/views/id-card-reader/id-card-reader-page.vue +0 -139
  67. package/src/views/id-card-reader/model/conatant/id-card-form-attr.ts +0 -31
  68. package/src/views/id-card-reader/model/vo/id-card.ts +0 -44
  69. package/src/views/layout/home-layout.vue +0 -72
  70. package/src/views/layout/model/menu-data.ts +0 -29
  71. package/src/views/scan/scan-page.vue +0 -56
  72. /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>