@toolspack/ttd-pdfjs 0.0.0 → 0.0.1

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 CHANGED
@@ -8,13 +8,14 @@
8
8
 
9
9
  # 调试方法
10
10
  修改 package.json的main
11
- "main": "lib/ttd-common.umd.min.js",
11
+ "main": "lib/ttd-pdfjs.umd.min.js",
12
12
  "main": "src/packages/index.js",
13
13
  执行 npm link ,
14
- 然后在开发项目就可以用 npm link @toolspack/ttd-common(项目名或文件夹名称) 来使用 本组件
14
+ 然后在开发项目就可以用 npm link @toolspack/ttd-pdfjs(项目名或文件夹名称) 来使用 本组件
15
15
 
16
16
  # 发布项目
17
17
  (不能和上次版本一样) npm run lib (打包), 打包完成后,执行npm publish
18
18
 
19
19
 
20
20
  0.0.0: pdfjs-dist2.16.105 单独打包
21
+ 0.0.1: 修复bug
@@ -10559,7 +10559,7 @@ if (typeof window !== 'undefined') {
10559
10559
  // Indicate to webpack that this file can be concatenated
10560
10560
  /* harmony default export */ var setPublicPath = (null);
10561
10561
 
10562
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3f0dff8e-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/packages/pdfjs/PdfView216.vue?vue&type=template&id=f234d864&scoped=true&
10562
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f7aab454-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/packages/pdfjs/PdfView216.vue?vue&type=template&id=f234d864&scoped=true&
10563
10563
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"pdf-view"},[(_vm.showPages)?_c('div',{staticClass:"pdf-view-control"},[_c('switch-page',{ref:"switchPage",attrs:{"numPages":_vm.page_count},on:{"page":_vm.onChangePage}})],1):_vm._e(),_c('div',{staticClass:"pdf-view-area-wapper"},[_c('div',{style:(_vm.style)},[(_vm.pdfurl)?_c('div',{staticClass:"center pdf-view-area",style:({'border': _vm.border?'1px solid #666': ''}),on:{"drop":_vm.onDrop,"dragover":_vm.onDragOver}},[(_vm.fileLoading)?_c('div',{staticClass:"pdf-view-loading"},[_vm._v("文件加载中...")]):_vm._e(),_c('canvas',{ref:"canvas",staticClass:"canvasstyle"}),_c('div',{staticClass:"label-area"},[_vm._t("default")],2)]):_c('div',{staticClass:"pdf-view-empty"},[_vm._v("未找到资源,请联系管理员!")])])])])}
10564
10564
  var staticRenderFns = []
10565
10565
 
@@ -10568,7 +10568,7 @@ if (typeof window !== 'undefined') {
10568
10568
  // Indicate to webpack that this file can be concatenated
10569
10569
  /* harmony default export */ var setPublicPath = (null);
10570
10570
 
10571
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"3f0dff8e-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/packages/pdfjs/PdfView216.vue?vue&type=template&id=f234d864&scoped=true&
10571
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"f7aab454-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/packages/pdfjs/PdfView216.vue?vue&type=template&id=f234d864&scoped=true&
10572
10572
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"pdf-view"},[(_vm.showPages)?_c('div',{staticClass:"pdf-view-control"},[_c('switch-page',{ref:"switchPage",attrs:{"numPages":_vm.page_count},on:{"page":_vm.onChangePage}})],1):_vm._e(),_c('div',{staticClass:"pdf-view-area-wapper"},[_c('div',{style:(_vm.style)},[(_vm.pdfurl)?_c('div',{staticClass:"center pdf-view-area",style:({'border': _vm.border?'1px solid #666': ''}),on:{"drop":_vm.onDrop,"dragover":_vm.onDragOver}},[(_vm.fileLoading)?_c('div',{staticClass:"pdf-view-loading"},[_vm._v("文件加载中...")]):_vm._e(),_c('canvas',{ref:"canvas",staticClass:"canvasstyle"}),_c('div',{staticClass:"label-area"},[_vm._t("default")],2)]):_c('div',{staticClass:"pdf-view-empty"},[_vm._v("未找到资源,请联系管理员!")])])])])}
10573
10573
  var staticRenderFns = []
10574
10574
 
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@toolspack/ttd-pdfjs",
3
- "version": "0.0.0",
3
+ "version": "0.0.1",
4
4
  "private": false,
5
- "main": "src/packages/index.js",
5
+ "main": "lib/ttd-pdfjs.umd.min.js",
6
6
  "scripts": {
7
7
  "serve": "vue-cli-service serve",
8
8
  "build": "vue-cli-service build",
@@ -20,6 +20,7 @@
20
20
  "vue": "^2.6.12"
21
21
  },
22
22
  "devDependencies": {
23
+ "@babel/plugin-proposal-class-properties": "^7.18.6",
23
24
  "@vue/cli-plugin-babel": "~4.5.0",
24
25
  "@vue/cli-plugin-eslint": "~4.5.11",
25
26
  "@vue/cli-service": "~4.5.0",