vue-intergrall-plugins 1.0.89 → 1.0.90
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.
|
@@ -4140,7 +4140,7 @@ var SingleFilePreview = __vue_component__$C;var script$s = {
|
|
|
4140
4140
|
return sizeInBytes += file.size;
|
|
4141
4141
|
});
|
|
4142
4142
|
var sizeInMb = parseFloat((sizeInBytes / (1024 * 1024)).toFixed(2));
|
|
4143
|
-
if (sizeInMb == 0) {
|
|
4143
|
+
if (sizeInMb == 0 && sizeInBytes == 0) {
|
|
4144
4144
|
this.file = [];
|
|
4145
4145
|
return this.$toasted.global.defaultInfo({
|
|
4146
4146
|
msg: this.dictionary.msg_arquivo_invalido
|
|
@@ -4477,7 +4477,7 @@ var __vue_staticRenderFns__$s = [];
|
|
|
4477
4477
|
/* style */
|
|
4478
4478
|
var __vue_inject_styles__$s = function __vue_inject_styles__(inject) {
|
|
4479
4479
|
if (!inject) return;
|
|
4480
|
-
inject("data-v-
|
|
4480
|
+
inject("data-v-7182ad70_0", {
|
|
4481
4481
|
source: ".fade-enter-active,.fade-leave-active{transition:opacity .3s}.fade-enter,.fade-leave-to{opacity:0}.d-none{display:none}.files-counter{position:absolute;top:unset;transform:translate(17.5px,-15px);background-color:#888;z-index:1;font-size:8px;width:15px;height:15px;border-radius:50%;display:flex;justify-content:center;align-items:center;cursor:pointer;opacity:.9;transition:all .3s;color:#fff;font-weight:900}.files-counter:hover{opacity:1}.files-counter-2{transform:translate(-15px,28px);opacity:.9;position:absolute;display:flex;justify-content:center;align-items:center;color:#888;font-size:12.8px}.files-counter-2 svg{margin-left:5px}.files-counter-2:hover{opacity:1;text-decoration:underline}",
|
|
4482
4482
|
map: undefined,
|
|
4483
4483
|
media: undefined
|
|
@@ -4486,7 +4486,7 @@ var __vue_inject_styles__$s = function __vue_inject_styles__(inject) {
|
|
|
4486
4486
|
/* scoped */
|
|
4487
4487
|
var __vue_scope_id__$s = undefined;
|
|
4488
4488
|
/* module identifier */
|
|
4489
|
-
var __vue_module_identifier__$s = "data-v-
|
|
4489
|
+
var __vue_module_identifier__$s = "data-v-7182ad70";
|
|
4490
4490
|
/* functional template */
|
|
4491
4491
|
var __vue_is_functional_template__$s = false;
|
|
4492
4492
|
/* style inject shadow dom */
|
package/package.json
CHANGED
|
@@ -305,7 +305,7 @@ export default {
|
|
|
305
305
|
let sizeInBytes = 0;
|
|
306
306
|
Array.from(this.file).forEach((file) => (sizeInBytes += file.size));
|
|
307
307
|
const sizeInMb = parseFloat((sizeInBytes / (1024 * 1024)).toFixed(2));
|
|
308
|
-
if (sizeInMb == 0) {
|
|
308
|
+
if (sizeInMb == 0 && sizeInBytes == 0) {
|
|
309
309
|
this.file = [];
|
|
310
310
|
return this.$toasted.global.defaultInfo({
|
|
311
311
|
msg: this.dictionary.msg_arquivo_invalido,
|