vue-intergrall-plugins 0.0.158 → 0.0.159

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.
@@ -8344,6 +8344,26 @@ var script$g = {
8344
8344
  return () => popper.destroy();
8345
8345
  },
8346
8346
 
8347
+ inputSelectKey1() {
8348
+ if (!this.key_1) {
8349
+ if (this.formatted_messages_2.length) this.formatted_messages_2 = [];
8350
+ if (this.key_2) this.key_2 = "";
8351
+ return;
8352
+ }
8353
+
8354
+ this.receiveValueFormattedMessage(this.key_1, 2);
8355
+ },
8356
+
8357
+ inputSelectKey2() {
8358
+ if (!this.key_2) {
8359
+ if (this.formatted_messages_3.length) this.formatted_messages_3 = [];
8360
+ if (this.key_3) this.key_3 = "";
8361
+ return;
8362
+ }
8363
+
8364
+ this.receiveValueFormattedMessage(`T/${this.key_2}`, 3);
8365
+ },
8366
+
8347
8367
  receiveValueFormattedMessage(cod, selectionIndex) {
8348
8368
  try {
8349
8369
  if (!this.token_cliente) throw new Error("Informe token_cliente como chave na propriedade formattedMessageSettings que ocorre na chamada componente TextFooter ");
@@ -8380,7 +8400,7 @@ var script$g = {
8380
8400
  if (this.formatted_messages_2.length == 1) {
8381
8401
  if (this.formatted_messages_2[0].cod) {
8382
8402
  this.key_2 = this.formatted_messages_2[0].cod;
8383
- this.receiveValueFormattedMessage(this.key_2, 3);
8403
+ this.receiveValueFormattedMessage(`T/${this.key_2}`, 3);
8384
8404
  }
8385
8405
  }
8386
8406
  }
@@ -8489,9 +8509,7 @@ var __vue_render__$g = function () {
8489
8509
  }
8490
8510
  },
8491
8511
  on: {
8492
- "input": function ($event) {
8493
- _vm.key_1 ? _vm.receiveValueFormattedMessage(_vm.key_1, 2) : false;
8494
- }
8512
+ "input": _vm.inputSelectKey1
8495
8513
  },
8496
8514
  model: {
8497
8515
  value: _vm.key_1,
@@ -8518,9 +8536,7 @@ var __vue_render__$g = function () {
8518
8536
  }
8519
8537
  },
8520
8538
  on: {
8521
- "input": function ($event) {
8522
- return _vm.receiveValueFormattedMessage(_vm.key_2, 3);
8523
- }
8539
+ "input": _vm.inputSelectKey2
8524
8540
  },
8525
8541
  model: {
8526
8542
  value: _vm.key_2,