|
1 | 1 | (function webpackUniversalModuleDefinition(root, factory) {
|
2 | 2 | if(typeof exports === 'object' && typeof module === 'object')
|
3 | | - module.exports = factory(require("vue")); |
| 3 | + module.exports = factory(); |
4 | 4 | else if(typeof define === 'function' && define.amd)
|
5 | | - define("VueBase64FileUpload", ["vue"], factory); |
| 5 | + define("VueBase64FileUpload", [], factory); |
6 | 6 | else if(typeof exports === 'object')
|
7 | | - exports["VueBase64FileUpload"] = factory(require("vue")); |
| 7 | + exports["VueBase64FileUpload"] = factory(); |
8 | 8 | else
|
9 | | - root["VueBase64FileUpload"] = factory(root["Vue"]); |
10 | | -})(this, function(__WEBPACK_EXTERNAL_MODULE_1__) { |
| 9 | + root["VueBase64FileUpload"] = factory(); |
| 10 | +})(this, function() { |
11 | 11 | return /******/ (function(modules) { // webpackBootstrap
|
12 | 12 | /******/ // The module cache
|
13 | 13 | /******/ var installedModules = {};
|
@@ -52,25 +52,20 @@ return /******/ (function(modules) { // webpackBootstrap
|
52 | 52 | /************************************************************************/
|
53 | 53 | /******/ ([
|
54 | 54 | /* 0 */
|
55 | | -/***/ function(module, exports,__webpack_require__) { |
| 55 | +/***/ function(module, exports) { |
56 | 56 |
|
57 | 57 | 'use strict';
|
58 | 58 |
|
59 | 59 | Object.defineProperty(exports, "__esModule", {
|
60 | 60 | value: true
|
61 | 61 | });
|
62 | | - |
63 | | - var _vue = __webpack_require__(1); |
64 | | - |
65 | | - var _vue2 = _interopRequireDefault(_vue); |
66 | | - |
67 | | - function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } |
68 | | - |
69 | 62 | if (!window.FileReader) {
|
70 | 63 | console.error('Your browser does not support FileReader API!');
|
71 | 64 | }
|
72 | 65 |
|
73 | | - exports.default = _vue2.default.component('vue-base64-file-upload', { |
| 66 | + exports.default = { |
| 67 | + name: 'vue-base64-file-upload', |
| 68 | + |
74 | 69 | props: {
|
75 | 70 | imageClass: {
|
76 | 71 | type: String,
|
@@ -182,13 +177,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
182 | 177 | },
|
183 | 178 |
|
184 | 179 | template: '\n <div class="vue-base64-file-upload">\n <img\n v-show="visiblePreview && !disablePreview"\n ref="preview"\n :class="imageClass" />\n <div class="vue-base64-file-upload-wrapper" :style="wrapperStyles">\n <input\n ref="input"\n type="file"\n @change="onChange"\n :style="fileInputStyles"\n :accept=accept />\n <input\n type="text"\n :class="inputClass"\n :style="textInputStyles"\n :value="fileName || file && file.name"\n :placeholder="placeholder"\n disabled />\n </div>\n </div>\n '
|
185 | | - }); |
186 | | - |
187 | | -/***/ }, |
188 | | -/* 1 */ |
189 | | -/***/ function(module, exports) { |
190 | | - |
191 | | - module.exports = __WEBPACK_EXTERNAL_MODULE_1__; |
| 180 | + }; |
192 | 181 |
|
193 | 182 | /***/ }
|
194 | 183 | /******/ ])
|
|
0 commit comments