@zscreate/form-component 1.1.514-test.2 → 1.1.514-test.3
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/dist/form-component.umd.js +15 -7
- package/package.json +1 -1
|
@@ -81303,7 +81303,7 @@ var componentvue_type_template_id_3a820b24_scoped_true_staticRenderFns = []
|
|
|
81303
81303
|
|
|
81304
81304
|
|
|
81305
81305
|
// EXTERNAL MODULE: ./src/components/FilePreview.vue + 3 modules
|
|
81306
|
-
var FilePreview = __webpack_require__(
|
|
81306
|
+
var FilePreview = __webpack_require__(759);
|
|
81307
81307
|
// EXTERNAL MODULE: ./src/form/util/util.js
|
|
81308
81308
|
var util_util = __webpack_require__(4063);
|
|
81309
81309
|
;// CONCATENATED MODULE: ./node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/components/UploadModel/component.vue?vue&type=script&lang=js
|
|
@@ -135148,7 +135148,7 @@ module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u20
|
|
|
135148
135148
|
|
|
135149
135149
|
/***/ }),
|
|
135150
135150
|
|
|
135151
|
-
/***/
|
|
135151
|
+
/***/ 759:
|
|
135152
135152
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
135153
135153
|
|
|
135154
135154
|
"use strict";
|
|
@@ -135158,8 +135158,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
135158
135158
|
A: () => (/* binding */ FilePreview)
|
|
135159
135159
|
});
|
|
135160
135160
|
|
|
135161
|
-
;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/components/FilePreview.vue?vue&type=template&id=
|
|
135162
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-modal',{attrs:{"zIndex":100000,"width":"60vw","visible":_vm.visible,"footer":null},on:{"cancel":_vm.handleCancel}},[_c('div',{staticStyle:{"margin-top":"20px"}},[(_vm.previewType === 'picture')?_c('img',{staticStyle:{"width":"100%"},attrs:{"alt":"example","src":_vm.src}}):_vm._e(),(_vm.previewType === 'pdf')?_c('iframe',{staticStyle:{"width":"100%","height":"70vh"}
|
|
135161
|
+
;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.11.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.11.1@vue-loader/lib/index.js??vue-loader-options!./src/components/FilePreview.vue?vue&type=template&id=484e30d2&scoped=true
|
|
135162
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-modal',{attrs:{"zIndex":100000,"width":"60vw","visible":_vm.visible,"footer":null},on:{"cancel":_vm.handleCancel}},[_c('div',{staticStyle:{"margin-top":"20px"}},[(_vm.previewType === 'picture')?_c('img',{staticStyle:{"width":"100%"},attrs:{"alt":"example","src":_vm.src}}):_vm._e(),(_vm.previewType === 'pdf')?_c('iframe',{ref:"iframe",staticStyle:{"width":"100%","height":"70vh"}}):_vm._e(),_c('div',{staticStyle:{"margin":"10px 0","text-align":"center"}},[_c('a-button',{on:{"click":function($event){return _vm.downloadUrl(_vm.src)}}},[_vm._v("下载")])],1)])])}
|
|
135163
135163
|
var staticRenderFns = []
|
|
135164
135164
|
|
|
135165
135165
|
|
|
@@ -135197,6 +135197,14 @@ var staticRenderFns = []
|
|
|
135197
135197
|
name && (a.download = name);
|
|
135198
135198
|
a.click();
|
|
135199
135199
|
}
|
|
135200
|
+
},
|
|
135201
|
+
watch: {
|
|
135202
|
+
async src(val) {
|
|
135203
|
+
if (val && this.previewType === 'pdf') {
|
|
135204
|
+
await this.$nextTick();
|
|
135205
|
+
this.$refs.iframe.contentWindow.location.replace(val);
|
|
135206
|
+
}
|
|
135207
|
+
}
|
|
135200
135208
|
}
|
|
135201
135209
|
});
|
|
135202
135210
|
;// CONCATENATED MODULE: ./src/components/FilePreview.vue?vue&type=script&lang=js
|
|
@@ -135217,7 +135225,7 @@ var component = (0,componentNormalizer/* default */.A)(
|
|
|
135217
135225
|
staticRenderFns,
|
|
135218
135226
|
false,
|
|
135219
135227
|
null,
|
|
135220
|
-
"
|
|
135228
|
+
"484e30d2",
|
|
135221
135229
|
null
|
|
135222
135230
|
|
|
135223
135231
|
)
|
|
@@ -154672,7 +154680,7 @@ function toString(value) {
|
|
|
154672
154680
|
/***/ ((module) => {
|
|
154673
154681
|
|
|
154674
154682
|
"use strict";
|
|
154675
|
-
module.exports = /*#__PURE__*/JSON.parse('{"rE":"1.1.514-test.
|
|
154683
|
+
module.exports = /*#__PURE__*/JSON.parse('{"rE":"1.1.514-test.3"}');
|
|
154676
154684
|
|
|
154677
154685
|
/***/ })
|
|
154678
154686
|
|
|
@@ -174492,7 +174500,7 @@ const messageBox = function (message, title, config = {}) {
|
|
|
174492
174500
|
}
|
|
174493
174501
|
});
|
|
174494
174502
|
// EXTERNAL MODULE: ./src/components/FilePreview.vue + 3 modules
|
|
174495
|
-
var FilePreview = __webpack_require__(
|
|
174503
|
+
var FilePreview = __webpack_require__(759);
|
|
174496
174504
|
// EXTERNAL MODULE: ./src/form/modules/components/ImgUpload/downloadPage.vue + 3 modules
|
|
174497
174505
|
var downloadPage = __webpack_require__(3380);
|
|
174498
174506
|
;// CONCATENATED MODULE: ./src/utils/print.js
|