vue-intergrall-plugins 1.0.77 → 1.0.78
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.
|
@@ -6965,7 +6965,7 @@ function gerarVariaveisAnexo(anexos, storeObj) {
|
|
|
6965
6965
|
let tipoAnexo = regexAnexos.exec(type);
|
|
6966
6966
|
tipoAnexo = !tipoAnexo ? type : tipoAnexo[1];
|
|
6967
6967
|
if (type === "application/octet-stream") audio = true;
|
|
6968
|
-
switch (tipoAnexo
|
|
6968
|
+
switch (tipoAnexo) {
|
|
6969
6969
|
case "image":
|
|
6970
6970
|
case "image/jpg":
|
|
6971
6971
|
case "jpg":
|
|
@@ -6981,6 +6981,8 @@ function gerarVariaveisAnexo(anexos, storeObj) {
|
|
|
6981
6981
|
nomeArquivo = name;
|
|
6982
6982
|
}
|
|
6983
6983
|
break;
|
|
6984
|
+
case "audio/mpeg":
|
|
6985
|
+
case "mpeg":
|
|
6984
6986
|
case "audio/ogg":
|
|
6985
6987
|
case "audio/oga":
|
|
6986
6988
|
case "audio":
|
|
@@ -6989,10 +6991,10 @@ function gerarVariaveisAnexo(anexos, storeObj) {
|
|
|
6989
6991
|
case "mpga":
|
|
6990
6992
|
case "audio/mpga":
|
|
6991
6993
|
case "mp3":
|
|
6994
|
+
case "wav":
|
|
6995
|
+
case "audio/wav":
|
|
6992
6996
|
case "audio/mp3":
|
|
6993
6997
|
case "aac":
|
|
6994
|
-
case "audio/mpeg":
|
|
6995
|
-
case "mpeg":
|
|
6996
6998
|
if (type == "oga" || type == "audio/oga") {
|
|
6997
6999
|
tipoDoc = `audio/ogg`;
|
|
6998
7000
|
} else {
|