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.
@@ -7761,7 +7761,10 @@ var standardMessages = {
7761
7761
  _context.prev = 0;
7762
7762
  return _context.abrupt("return", _this.$httpRequest({
7763
7763
  method: 'get',
7764
- url: "".concat(baseURL, "/get-messages/").concat(type, "?token_cliente=").concat(token).concat(dev)
7764
+ url: "".concat(baseURL, "/get-messages/").concat(type, "?token_cliente=").concat(token).concat(dev) // headers: {
7765
+ // Authorization: "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhdGQiOiJNS1VJNnhZdm1xSWVFaWpuMXJwMERkZzQ0ZjFzd3dpbTRsNXd3WWFrVUJtd3d4YjQ0YXd3ZVJ1U2lUeUxxVTEiLCJtYW5hZ2VyIjoiTUtVd0J6YzFnVkIzaWNlNE5yU01lbU5aekI1MkExTzdtNXdhdmQyYnd3eGI0NGF3d3d3eGI0NGF3d3FVU2NoIiwibnJvcyI6WyI0MSJdLCJhdXRoIjoiTUtVVnAxTWR3d2ltNGw1d3dYTnNjWDg5R3V4c1RsZUVqdGdpNjhoNk1JUzl6d0xBTGVRbjhUUCIsImlhdCI6MTY0NjMzOTkyOCwiZXhwIjoxNjQ2NDI2MzI4fQ.QNu0uO3qV-Lqvu8Xww1F_x8Bwnjlm175IVdM89EgPM0"
7766
+ // }
7767
+
7765
7768
  }).then(function (response) {
7766
7769
  var data = response.data;
7767
7770
  var tipo = data.tipo,
@@ -7822,7 +7825,6 @@ var script$g = {
7822
7825
  data: function data() {
7823
7826
  return {
7824
7827
  placement: "top",
7825
- firstMount: true,
7826
7828
  formatted_messages_1: [{
7827
7829
  cod: "T",
7828
7830
  value: "Todos"
@@ -7852,12 +7854,6 @@ var script$g = {
7852
7854
 
7853
7855
  try {
7854
7856
  if (!this.token_cliente) throw new Error("Informe token_cliente como chave na propriedade formattedMessageSettings que ocorre na chamada componente TextFooter ");
7855
-
7856
- if (this.firstMount) {
7857
- cod = "".concat(this.key_1, "/").concat(cod);
7858
- this.firstMount = false;
7859
- }
7860
-
7861
7857
  this.getStandardMessages(cod, this.token_cliente).then(function (data) {
7862
7858
  if (data && typeof data == 'string') return _this.$toasted.global.emConstrucao({
7863
7859
  msg: data
@@ -8084,7 +8080,7 @@ var __vue_inject_styles__$g = undefined;
8084
8080
  var __vue_scope_id__$g = undefined;
8085
8081
  /* module identifier */
8086
8082
 
8087
- var __vue_module_identifier__$g = "data-v-26142a74";
8083
+ var __vue_module_identifier__$g = "data-v-2f993f01";
8088
8084
  /* functional template */
8089
8085
 
8090
8086
  var __vue_is_functional_template__$g = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-intergrall-plugins",
3
- "version": "0.0.157",
3
+ "version": "0.0.158",
4
4
  "description": "",
5
5
  "main": "dist/vue-intergrall-plugins.ssr.js",
6
6
  "browser": "dist/vue-intergrall-plugins.esm.js",
@@ -90,7 +90,6 @@ export default {
90
90
  data() {
91
91
  return {
92
92
  placement: "top",
93
- firstMount: true,
94
93
  formatted_messages_1: [{ cod: "T", value: "Todos" }],
95
94
  key_1: "T",
96
95
  formatted_messages_2: [],
@@ -113,10 +112,6 @@ export default {
113
112
  receiveValueFormattedMessage(cod, selectionIndex) {
114
113
  try {
115
114
  if(!this.token_cliente) throw new Error("Informe token_cliente como chave na propriedade formattedMessageSettings que ocorre na chamada componente TextFooter ")
116
- if(this.firstMount) {
117
- cod = `${this.key_1}/${cod}`
118
- this.firstMount = false
119
- }
120
115
  this.getStandardMessages(cod, this.token_cliente).then((data) => {
121
116
  if(data && typeof(data) == 'string') return this.$toasted.global.emConstrucao({msg: data})
122
117
  if(data) return this.showFormattedMessage(data, selectionIndex)