vue-intergrall-plugins 1.0.95 → 1.0.97
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.
- package/dist/vue-intergrall-plugins.esm.js +122 -9
- package/dist/vue-intergrall-plugins.min.js +1 -1
- package/dist/vue-intergrall-plugins.ssr.js +94 -11
- package/package.json +1 -1
- package/src/lib-components/Chat/StandardMessages.vue +5 -1
- package/src/lib-components/Templates/TemplateSingle.vue +130 -133
|
@@ -2317,9 +2317,6 @@ var createPopper = /*#__PURE__*/popperGenerator({
|
|
|
2317
2317
|
//
|
|
2318
2318
|
//
|
|
2319
2319
|
//
|
|
2320
|
-
//
|
|
2321
|
-
//
|
|
2322
|
-
//
|
|
2323
2320
|
|
|
2324
2321
|
var script$B = {
|
|
2325
2322
|
data: function data() {
|
|
@@ -2814,7 +2811,7 @@ var __vue_render__$B = function __vue_render__() {
|
|
|
2814
2811
|
value: {
|
|
2815
2812
|
placement: 'right'
|
|
2816
2813
|
},
|
|
2817
|
-
expression: "{placement: 'right'}"
|
|
2814
|
+
expression: "{ placement: 'right' }"
|
|
2818
2815
|
}],
|
|
2819
2816
|
class: "color-" + _vm.headerFiles[0].current_color,
|
|
2820
2817
|
attrs: {
|
|
@@ -2833,7 +2830,7 @@ var __vue_render__$B = function __vue_render__() {
|
|
|
2833
2830
|
value: {
|
|
2834
2831
|
placement: 'right'
|
|
2835
2832
|
},
|
|
2836
|
-
expression: "{placement: 'right'}"
|
|
2833
|
+
expression: "{ placement: 'right' }"
|
|
2837
2834
|
}],
|
|
2838
2835
|
staticClass: "select-image",
|
|
2839
2836
|
attrs: {
|
|
@@ -2845,6 +2842,85 @@ var __vue_render__$B = function __vue_render__() {
|
|
|
2845
2842
|
return _vm.triggerInputFile("header-" + pIndex);
|
|
2846
2843
|
}
|
|
2847
2844
|
}
|
|
2845
|
+
})], 2) : param.type == 'document' ? _vm._ssrNode("<div class=\"ts-image-type\">", "</div>", [_vm._ssrNode("<input type=\"file\"" + _vm._ssrAttr("accept", _vm.acceptedExtensions) + " class=\"d-none\"> "), _vm.headerFiles[0] ? [_c('fa-icon', {
|
|
2846
|
+
directives: [{
|
|
2847
|
+
name: "tippy",
|
|
2848
|
+
rawName: "v-tippy",
|
|
2849
|
+
value: {
|
|
2850
|
+
placement: 'right'
|
|
2851
|
+
},
|
|
2852
|
+
expression: "{ placement: 'right' }"
|
|
2853
|
+
}],
|
|
2854
|
+
class: "color-" + _vm.headerFiles[0].current_color,
|
|
2855
|
+
attrs: {
|
|
2856
|
+
"icon": ['fas', _vm.headerFiles[0].current_icon],
|
|
2857
|
+
"content": _vm.headerFiles[0].name
|
|
2858
|
+
},
|
|
2859
|
+
on: {
|
|
2860
|
+
"click": function click($event) {
|
|
2861
|
+
return _vm.triggerInputFile("header-" + pIndex);
|
|
2862
|
+
}
|
|
2863
|
+
}
|
|
2864
|
+
})] : _c('fa-icon', {
|
|
2865
|
+
directives: [{
|
|
2866
|
+
name: "tippy",
|
|
2867
|
+
rawName: "v-tippy",
|
|
2868
|
+
value: {
|
|
2869
|
+
placement: 'right'
|
|
2870
|
+
},
|
|
2871
|
+
expression: "{ placement: 'right' }"
|
|
2872
|
+
}],
|
|
2873
|
+
staticClass: "select-image",
|
|
2874
|
+
attrs: {
|
|
2875
|
+
"icon": ['fas', 'file-alt'],
|
|
2876
|
+
"content": "Selecionar anexo"
|
|
2877
|
+
},
|
|
2878
|
+
on: {
|
|
2879
|
+
"click": function click($event) {
|
|
2880
|
+
return _vm.triggerInputFile("header-" + pIndex);
|
|
2881
|
+
}
|
|
2882
|
+
}
|
|
2883
|
+
})], 2) : param.type == 'video' ? _vm._ssrNode("<div class=\"ts-image-type\">", "</div>", [_vm._ssrNode("<input type=\"file\"" + _vm._ssrAttr("accept", _vm.acceptedExtensions) + " class=\"d-none\"> "), _vm.headerFiles[0] ? [_c('fa-icon', {
|
|
2884
|
+
directives: [{
|
|
2885
|
+
name: "tippy",
|
|
2886
|
+
rawName: "v-tippy",
|
|
2887
|
+
value: {
|
|
2888
|
+
placement: 'right'
|
|
2889
|
+
},
|
|
2890
|
+
expression: "{ placement: 'right' }"
|
|
2891
|
+
}],
|
|
2892
|
+
class: "color-" + _vm.headerFiles[0].current_color,
|
|
2893
|
+
attrs: {
|
|
2894
|
+
"icon": ['fas', _vm.headerFiles[0].current_icon],
|
|
2895
|
+
"content": _vm.headerFiles[0].name
|
|
2896
|
+
},
|
|
2897
|
+
on: {
|
|
2898
|
+
"click": function click($event) {
|
|
2899
|
+
return _vm.triggerInputFile("header-" + pIndex);
|
|
2900
|
+
}
|
|
2901
|
+
}
|
|
2902
|
+
})] : _c('fa-icon', {
|
|
2903
|
+
directives: [{
|
|
2904
|
+
name: "tippy",
|
|
2905
|
+
rawName: "v-tippy",
|
|
2906
|
+
value: {
|
|
2907
|
+
placement: 'right'
|
|
2908
|
+
},
|
|
2909
|
+
expression: "{ placement: 'right' }"
|
|
2910
|
+
}],
|
|
2911
|
+
staticClass: "select-image",
|
|
2912
|
+
staticStyle: {
|
|
2913
|
+
"font-size": "1.2rem"
|
|
2914
|
+
},
|
|
2915
|
+
attrs: {
|
|
2916
|
+
"icon": ['fas', 'video'],
|
|
2917
|
+
"content": "Selecionar anexo"
|
|
2918
|
+
},
|
|
2919
|
+
on: {
|
|
2920
|
+
"click": function click($event) {
|
|
2921
|
+
return _vm.triggerInputFile("header-" + pIndex);
|
|
2922
|
+
}
|
|
2923
|
+
}
|
|
2848
2924
|
})], 2) : _vm._e()], 2);
|
|
2849
2925
|
}), 0) : _vm._e(), _vm._ssrNode(" " + (component.type === 'body' ? "<section id=\"template_body\"" + _vm._ssrClass(null, (_vm.template.components.length == 1 ? 'border-radius-5 custom-border-gray' : '') + " " + (!_vm.hasButtonOrFooterComponent ? 'custom-footer-style custom-box-shadow-bottom custom-border-gray' : '')) + ">" + _vm._ssrList(component.parameters, function (param, pIndex) {
|
|
2850
2926
|
return "<div>" + (param.type === 'text' ? _vm.regexVars.test(param.text) ? "<div>" + _vm._s(param.text.replace(_vm.regexVars, "<div class='ts-content__var'>" + _vm.htmlInputString + _vm.varListValues + "</div>")) + "</div>" : "<p>" + _vm._s(param.text) + "</p>" : "<!---->") + "</div>";
|
|
@@ -2859,7 +2935,7 @@ var __vue_render__$B = function __vue_render__() {
|
|
|
2859
2935
|
attrs: {
|
|
2860
2936
|
"icon": ['fas', 'paper-plane']
|
|
2861
2937
|
}
|
|
2862
|
-
}), _vm._ssrNode(_vm._ssrEscape("\n " + _vm._s(_vm.dictionary.btn_contatar_clientes) + "
|
|
2938
|
+
}), _vm._ssrNode(_vm._ssrEscape("\n " + _vm._s(_vm.dictionary.btn_contatar_clientes) + "\n "))] : _c('fa-icon', {
|
|
2863
2939
|
attrs: {
|
|
2864
2940
|
"icon": ['fas', 'paper-plane']
|
|
2865
2941
|
}
|
|
@@ -2869,7 +2945,7 @@ var __vue_render__$B = function __vue_render__() {
|
|
|
2869
2945
|
attrs: {
|
|
2870
2946
|
"icon": ['fas', 'paper-plane']
|
|
2871
2947
|
}
|
|
2872
|
-
}), _vm._ssrNode(_vm._ssrEscape("\n " + _vm._s(_vm.dictionary.btn_contatar_clientes_com_bot) + "
|
|
2948
|
+
}), _vm._ssrNode(_vm._ssrEscape("\n " + _vm._s(_vm.dictionary.btn_contatar_clientes_com_bot) + "\n "))] : _c('fa-icon', {
|
|
2873
2949
|
attrs: {
|
|
2874
2950
|
"icon": ['fas', 'paper-plane']
|
|
2875
2951
|
}
|
|
@@ -2880,7 +2956,7 @@ var __vue_staticRenderFns__$B = [];
|
|
|
2880
2956
|
/* style */
|
|
2881
2957
|
var __vue_inject_styles__$B = function __vue_inject_styles__(inject) {
|
|
2882
2958
|
if (!inject) return;
|
|
2883
|
-
inject("data-v-
|
|
2959
|
+
inject("data-v-18b271ca_0", {
|
|
2884
2960
|
source: ".btn-red button{background-color:red}.btn-red svg{color:#b60000}.container-btns{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px}",
|
|
2885
2961
|
map: undefined,
|
|
2886
2962
|
media: undefined
|
|
@@ -2889,7 +2965,7 @@ var __vue_inject_styles__$B = function __vue_inject_styles__(inject) {
|
|
|
2889
2965
|
/* scoped */
|
|
2890
2966
|
var __vue_scope_id__$B = undefined;
|
|
2891
2967
|
/* module identifier */
|
|
2892
|
-
var __vue_module_identifier__$B = "data-v-
|
|
2968
|
+
var __vue_module_identifier__$B = "data-v-18b271ca";
|
|
2893
2969
|
/* functional template */
|
|
2894
2970
|
var __vue_is_functional_template__$B = false;
|
|
2895
2971
|
/* style inject shadow dom */
|
|
@@ -4974,6 +5050,13 @@ var script$n = {
|
|
|
4974
5050
|
if (data) {
|
|
4975
5051
|
if (data.msg_ret) {
|
|
4976
5052
|
if (data.error) throw new Error(data.msg_ret);
|
|
5053
|
+
if (selectionIndex == 2) {
|
|
5054
|
+
_this.$toasted.global.defaultInfo({
|
|
5055
|
+
msg: data.msg_ret
|
|
5056
|
+
});
|
|
5057
|
+
_this.$emit("close-blocker-standard-message");
|
|
5058
|
+
return _this.closeStandardMessages();
|
|
5059
|
+
}
|
|
4977
5060
|
return _this.$toasted.global.defaultInfo({
|
|
4978
5061
|
msg: data.msg_ret
|
|
4979
5062
|
});
|
|
@@ -5177,7 +5260,7 @@ var __vue_staticRenderFns__$n = [];
|
|
|
5177
5260
|
/* style */
|
|
5178
5261
|
var __vue_inject_styles__$n = function __vue_inject_styles__(inject) {
|
|
5179
5262
|
if (!inject) return;
|
|
5180
|
-
inject("data-v-
|
|
5263
|
+
inject("data-v-31da8e93_0", {
|
|
5181
5264
|
source: ".transition-selects{min-height:80px;display:flex;flex-direction:column;width:100%}.loader-select{position:relative;min-height:35px;background:#fff;width:100%;border:1px solid #ccc;border-radius:5px;z-index:1}.loading-message{background-color:#555!important}",
|
|
5182
5265
|
map: undefined,
|
|
5183
5266
|
media: undefined
|
|
@@ -5186,7 +5269,7 @@ var __vue_inject_styles__$n = function __vue_inject_styles__(inject) {
|
|
|
5186
5269
|
/* scoped */
|
|
5187
5270
|
var __vue_scope_id__$n = undefined;
|
|
5188
5271
|
/* module identifier */
|
|
5189
|
-
var __vue_module_identifier__$n = "data-v-
|
|
5272
|
+
var __vue_module_identifier__$n = "data-v-31da8e93";
|
|
5190
5273
|
/* functional template */
|
|
5191
5274
|
var __vue_is_functional_template__$n = false;
|
|
5192
5275
|
/* style inject shadow dom */
|
package/package.json
CHANGED
|
@@ -143,7 +143,11 @@ export default {
|
|
|
143
143
|
if (data) {
|
|
144
144
|
if (data.msg_ret) {
|
|
145
145
|
if (data.error) throw new Error(data.msg_ret)
|
|
146
|
-
|
|
146
|
+
if (selectionIndex == 2) {
|
|
147
|
+
this.$toasted.global.defaultInfo({ msg: data.msg_ret })
|
|
148
|
+
this.$emit("close-blocker-standard-message")
|
|
149
|
+
return this.closeStandardMessages()
|
|
150
|
+
}
|
|
147
151
|
return this.$toasted.global.defaultInfo({ msg: data.msg_ret })
|
|
148
152
|
}
|
|
149
153
|
return this.showFormattedMessage(data, selectionIndex)
|