vue-intergrall-plugins 0.0.157 → 0.0.158
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.
|
@@ -8259,7 +8259,10 @@ const standardMessages = {
|
|
|
8259
8259
|
try {
|
|
8260
8260
|
return this.$httpRequest({
|
|
8261
8261
|
method: 'get',
|
|
8262
|
-
url: `${baseURL}/get-messages/${type}?token_cliente=${token}${dev}`
|
|
8262
|
+
url: `${baseURL}/get-messages/${type}?token_cliente=${token}${dev}` // headers: {
|
|
8263
|
+
// Authorization: "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdGQiOiJNS1VJNnhZdm1xSWVFaWpuMXJwMERkZzQ0ZjFzd3dpbTRsNXd3WWFrVUJtd3d4YjQ0YXd3ZVJ1U2lUeUxxVTEiLCJtYW5hZ2VyIjoiTUtVd0J6YzFnVkIzaWNlNE5yU01lbU5aekI1MkExTzdtNXdhdmQyYnd3eGI0NGF3d3d3eGI0NGF3d3FVU2NoIiwibnJvcyI6WyI0MSJdLCJhdXRoIjoiTUtVVnAxTWR3d2ltNGw1d3dYTnNjWDg5R3V4c1RsZUVqdGdpNjhoNk1JUzl6d0xBTGVRbjhUUCIsImlhdCI6MTY0NjMzOTkyOCwiZXhwIjoxNjQ2NDI2MzI4fQ.QNu0uO3qV-Lqvu8Xww1F_x8Bwnjlm175IVdM89EgPM0"
|
|
8264
|
+
// }
|
|
8265
|
+
|
|
8263
8266
|
}).then(response => {
|
|
8264
8267
|
const {
|
|
8265
8268
|
data
|
|
@@ -8316,7 +8319,6 @@ var script$g = {
|
|
|
8316
8319
|
data() {
|
|
8317
8320
|
return {
|
|
8318
8321
|
placement: "top",
|
|
8319
|
-
firstMount: true,
|
|
8320
8322
|
formatted_messages_1: [{
|
|
8321
8323
|
cod: "T",
|
|
8322
8324
|
value: "Todos"
|
|
@@ -8345,12 +8347,6 @@ var script$g = {
|
|
|
8345
8347
|
receiveValueFormattedMessage(cod, selectionIndex) {
|
|
8346
8348
|
try {
|
|
8347
8349
|
if (!this.token_cliente) throw new Error("Informe token_cliente como chave na propriedade formattedMessageSettings que ocorre na chamada componente TextFooter ");
|
|
8348
|
-
|
|
8349
|
-
if (this.firstMount) {
|
|
8350
|
-
cod = `${this.key_1}/${cod}`;
|
|
8351
|
-
this.firstMount = false;
|
|
8352
|
-
}
|
|
8353
|
-
|
|
8354
8350
|
this.getStandardMessages(cod, this.token_cliente).then(data => {
|
|
8355
8351
|
if (data && typeof data == 'string') return this.$toasted.global.emConstrucao({
|
|
8356
8352
|
msg: data
|