@web-utils/component 2.0.12 → 2.0.13
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.
|
@@ -2,7 +2,6 @@ import Uploader from "simple-uploader.js";
|
|
|
2
2
|
import { s as secondsToStr } from "../../chunks/a8891d2c.js";
|
|
3
3
|
import { n as normalizeComponent } from "../../chunks/3d28cc08.js";
|
|
4
4
|
const events = ["fileProgress", "fileSuccess", "fileComplete", "fileError"];
|
|
5
|
-
const events$1 = events;
|
|
6
5
|
var render = function() {
|
|
7
6
|
var _vm = this;
|
|
8
7
|
var _h = _vm.$createElement;
|
|
@@ -283,12 +282,12 @@ const __vue2_script = {
|
|
|
283
282
|
};
|
|
284
283
|
return handlers[event];
|
|
285
284
|
};
|
|
286
|
-
events
|
|
285
|
+
events.forEach((event) => {
|
|
287
286
|
this.file.uploader.on(event, eventHandler(event));
|
|
288
287
|
});
|
|
289
288
|
},
|
|
290
289
|
destroyed() {
|
|
291
|
-
events
|
|
290
|
+
events.forEach((event) => {
|
|
292
291
|
this.file.uploader.off(event, this._handlers[event]);
|
|
293
292
|
});
|
|
294
293
|
this._handlers = null;
|
package/dist/index.es.js
CHANGED
|
@@ -15500,7 +15500,7 @@ function __vue2_injectStyles(context) {
|
|
|
15500
15500
|
const XDialog = /* @__PURE__ */ function() {
|
|
15501
15501
|
return __component__.exports;
|
|
15502
15502
|
}();
|
|
15503
|
-
const version = "2.0.
|
|
15503
|
+
const version = "2.0.13";
|
|
15504
15504
|
function index(Vue2) {
|
|
15505
15505
|
Vue2.component(AddressInput.name, AddressInput);
|
|
15506
15506
|
Vue2.component(AsideMenu.name, AsideMenu);
|
package/package.json
CHANGED