vue-intergrall-plugins 0.0.270 → 0.0.272
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/README.md +1 -1
- package/dist/vue-intergrall-plugins.esm.js +121 -61
- package/dist/vue-intergrall-plugins.min.js +1 -1
- package/dist/vue-intergrall-plugins.ssr.js +111 -63
- package/package.json +1 -1
- package/src/lib-components/Templates/TemplateGenerator.vue +9 -1
- package/src/lib-components/Templates/TemplateSingle.vue +46 -8
package/README.md
CHANGED
|
@@ -182,4 +182,4 @@ Biblioteca de plugins feitos em Vue para serem utilizados em qualquer lugar dent
|
|
|
182
182
|
9. 
|
|
183
183
|
10. 
|
|
184
184
|
|
|
185
|
-
> Desenvolvido por **
|
|
185
|
+
> Desenvolvido por **_Konecta Brasil_**
|
|
@@ -1897,6 +1897,26 @@ var createPopper = /*#__PURE__*/popperGenerator({
|
|
|
1897
1897
|
//
|
|
1898
1898
|
//
|
|
1899
1899
|
//
|
|
1900
|
+
//
|
|
1901
|
+
//
|
|
1902
|
+
//
|
|
1903
|
+
//
|
|
1904
|
+
//
|
|
1905
|
+
//
|
|
1906
|
+
//
|
|
1907
|
+
//
|
|
1908
|
+
//
|
|
1909
|
+
//
|
|
1910
|
+
//
|
|
1911
|
+
//
|
|
1912
|
+
//
|
|
1913
|
+
//
|
|
1914
|
+
//
|
|
1915
|
+
//
|
|
1916
|
+
//
|
|
1917
|
+
//
|
|
1918
|
+
//
|
|
1919
|
+
//
|
|
1900
1920
|
var script$y = {
|
|
1901
1921
|
data() {
|
|
1902
1922
|
return {
|
|
@@ -1920,6 +1940,11 @@ var script$y = {
|
|
|
1920
1940
|
required: false,
|
|
1921
1941
|
default: true
|
|
1922
1942
|
},
|
|
1943
|
+
hasSecondaryButton: {
|
|
1944
|
+
type: Boolean,
|
|
1945
|
+
required: false,
|
|
1946
|
+
default: false
|
|
1947
|
+
},
|
|
1923
1948
|
allVariables: {
|
|
1924
1949
|
type: Boolean,
|
|
1925
1950
|
required: false,
|
|
@@ -2372,6 +2397,59 @@ function normalizeComponent(template, style, script, scopeId, isFunctionalTempla
|
|
|
2372
2397
|
return script;
|
|
2373
2398
|
}
|
|
2374
2399
|
|
|
2400
|
+
const isOldIE = typeof navigator !== 'undefined' &&
|
|
2401
|
+
/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
2402
|
+
function createInjector(context) {
|
|
2403
|
+
return (id, style) => addStyle(id, style);
|
|
2404
|
+
}
|
|
2405
|
+
let HEAD;
|
|
2406
|
+
const styles = {};
|
|
2407
|
+
function addStyle(id, css) {
|
|
2408
|
+
const group = isOldIE ? css.media || 'default' : id;
|
|
2409
|
+
const style = styles[group] || (styles[group] = { ids: new Set(), styles: [] });
|
|
2410
|
+
if (!style.ids.has(id)) {
|
|
2411
|
+
style.ids.add(id);
|
|
2412
|
+
let code = css.source;
|
|
2413
|
+
if (css.map) {
|
|
2414
|
+
// https://developer.chrome.com/devtools/docs/javascript-debugging
|
|
2415
|
+
// this makes source maps inside style tags work properly in Chrome
|
|
2416
|
+
code += '\n/*# sourceURL=' + css.map.sources[0] + ' */';
|
|
2417
|
+
// http://stackoverflow.com/a/26603875
|
|
2418
|
+
code +=
|
|
2419
|
+
'\n/*# sourceMappingURL=data:application/json;base64,' +
|
|
2420
|
+
btoa(unescape(encodeURIComponent(JSON.stringify(css.map)))) +
|
|
2421
|
+
' */';
|
|
2422
|
+
}
|
|
2423
|
+
if (!style.element) {
|
|
2424
|
+
style.element = document.createElement('style');
|
|
2425
|
+
style.element.type = 'text/css';
|
|
2426
|
+
if (css.media)
|
|
2427
|
+
style.element.setAttribute('media', css.media);
|
|
2428
|
+
if (HEAD === undefined) {
|
|
2429
|
+
HEAD = document.head || document.getElementsByTagName('head')[0];
|
|
2430
|
+
}
|
|
2431
|
+
HEAD.appendChild(style.element);
|
|
2432
|
+
}
|
|
2433
|
+
if ('styleSheet' in style.element) {
|
|
2434
|
+
style.styles.push(code);
|
|
2435
|
+
style.element.styleSheet.cssText = style.styles
|
|
2436
|
+
.filter(Boolean)
|
|
2437
|
+
.join('\n');
|
|
2438
|
+
}
|
|
2439
|
+
else {
|
|
2440
|
+
const index = style.ids.size - 1;
|
|
2441
|
+
const textNode = document.createTextNode(code);
|
|
2442
|
+
const nodes = style.element.childNodes;
|
|
2443
|
+
if (nodes[index])
|
|
2444
|
+
style.element.removeChild(nodes[index]);
|
|
2445
|
+
if (nodes.length)
|
|
2446
|
+
style.element.insertBefore(textNode, nodes[index]);
|
|
2447
|
+
else
|
|
2448
|
+
style.element.appendChild(textNode);
|
|
2449
|
+
}
|
|
2450
|
+
}
|
|
2451
|
+
}
|
|
2452
|
+
|
|
2375
2453
|
/* script */
|
|
2376
2454
|
const __vue_script__$y = script$y;
|
|
2377
2455
|
/* template */
|
|
@@ -2526,24 +2604,50 @@ var __vue_render__$y = function () {
|
|
|
2526
2604
|
attrs: {
|
|
2527
2605
|
"icon": ['fas', 'paper-plane']
|
|
2528
2606
|
}
|
|
2529
|
-
})], 2)]) : _vm._e()
|
|
2607
|
+
})], 2)]) : _vm._e(), _vm._v(" "), _vm.hasSecondaryButton ? _c('div', {
|
|
2608
|
+
staticClass: "tg-btn btn-red",
|
|
2609
|
+
class: {
|
|
2610
|
+
'small-btn': _vm.iconButton
|
|
2611
|
+
}
|
|
2612
|
+
}, [_vm.hasSecondaryButton ? _c('button', {
|
|
2613
|
+
ref: "template-single-button-secondary",
|
|
2614
|
+
on: {
|
|
2615
|
+
"click": function ($event) {
|
|
2616
|
+
return _vm.$emit('dispatch-clients-with-bot');
|
|
2617
|
+
}
|
|
2618
|
+
}
|
|
2619
|
+
}, [!_vm.iconButton ? [_c('fa-icon', {
|
|
2620
|
+
attrs: {
|
|
2621
|
+
"icon": ['fas', 'paper-plane']
|
|
2622
|
+
}
|
|
2623
|
+
}), _vm._v("\n " + _vm._s(_vm.dictionary.btn_contatar_clientes_com_bot) + " \n ")] : _c('fa-icon', {
|
|
2624
|
+
attrs: {
|
|
2625
|
+
"icon": ['fas', 'paper-plane']
|
|
2626
|
+
}
|
|
2627
|
+
})], 2) : _vm._e()]) : _vm._e()]);
|
|
2530
2628
|
};
|
|
2531
2629
|
|
|
2532
2630
|
var __vue_staticRenderFns__$y = [];
|
|
2533
2631
|
/* style */
|
|
2534
2632
|
|
|
2535
|
-
const __vue_inject_styles__$y =
|
|
2633
|
+
const __vue_inject_styles__$y = function (inject) {
|
|
2634
|
+
if (!inject) return;
|
|
2635
|
+
inject("data-v-ff9d2a84_0", {
|
|
2636
|
+
source: ".btn-red button[data-v-ff9d2a84]{background-color:red}.btn-red svg[data-v-ff9d2a84]{color:#b60000}",
|
|
2637
|
+
map: undefined,
|
|
2638
|
+
media: undefined
|
|
2639
|
+
});
|
|
2640
|
+
};
|
|
2536
2641
|
/* scoped */
|
|
2537
2642
|
|
|
2538
|
-
|
|
2643
|
+
|
|
2644
|
+
const __vue_scope_id__$y = "data-v-ff9d2a84";
|
|
2539
2645
|
/* module identifier */
|
|
2540
2646
|
|
|
2541
2647
|
const __vue_module_identifier__$y = undefined;
|
|
2542
2648
|
/* functional template */
|
|
2543
2649
|
|
|
2544
2650
|
const __vue_is_functional_template__$y = false;
|
|
2545
|
-
/* style inject */
|
|
2546
|
-
|
|
2547
2651
|
/* style inject SSR */
|
|
2548
2652
|
|
|
2549
2653
|
/* style inject shadow dom */
|
|
@@ -2551,7 +2655,7 @@ const __vue_is_functional_template__$y = false;
|
|
|
2551
2655
|
const __vue_component__$G = /*#__PURE__*/normalizeComponent({
|
|
2552
2656
|
render: __vue_render__$y,
|
|
2553
2657
|
staticRenderFns: __vue_staticRenderFns__$y
|
|
2554
|
-
}, __vue_inject_styles__$y, __vue_script__$y, __vue_scope_id__$y, __vue_is_functional_template__$y, __vue_module_identifier__$y, false,
|
|
2658
|
+
}, __vue_inject_styles__$y, __vue_script__$y, __vue_scope_id__$y, __vue_is_functional_template__$y, __vue_module_identifier__$y, false, createInjector, undefined, undefined);
|
|
2555
2659
|
|
|
2556
2660
|
var TemplateSingle = __vue_component__$G;
|
|
2557
2661
|
|
|
@@ -2751,59 +2855,6 @@ var categories=[{id:"people",name:"Smileys & People",emojis:["grinning","grin","
|
|
|
2751
2855
|
//
|
|
2752
2856
|
var script$x = {};
|
|
2753
2857
|
|
|
2754
|
-
const isOldIE = typeof navigator !== 'undefined' &&
|
|
2755
|
-
/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());
|
|
2756
|
-
function createInjector(context) {
|
|
2757
|
-
return (id, style) => addStyle(id, style);
|
|
2758
|
-
}
|
|
2759
|
-
let HEAD;
|
|
2760
|
-
const styles = {};
|
|
2761
|
-
function addStyle(id, css) {
|
|
2762
|
-
const group = isOldIE ? css.media || 'default' : id;
|
|
2763
|
-
const style = styles[group] || (styles[group] = { ids: new Set(), styles: [] });
|
|
2764
|
-
if (!style.ids.has(id)) {
|
|
2765
|
-
style.ids.add(id);
|
|
2766
|
-
let code = css.source;
|
|
2767
|
-
if (css.map) {
|
|
2768
|
-
// https://developer.chrome.com/devtools/docs/javascript-debugging
|
|
2769
|
-
// this makes source maps inside style tags work properly in Chrome
|
|
2770
|
-
code += '\n/*# sourceURL=' + css.map.sources[0] + ' */';
|
|
2771
|
-
// http://stackoverflow.com/a/26603875
|
|
2772
|
-
code +=
|
|
2773
|
-
'\n/*# sourceMappingURL=data:application/json;base64,' +
|
|
2774
|
-
btoa(unescape(encodeURIComponent(JSON.stringify(css.map)))) +
|
|
2775
|
-
' */';
|
|
2776
|
-
}
|
|
2777
|
-
if (!style.element) {
|
|
2778
|
-
style.element = document.createElement('style');
|
|
2779
|
-
style.element.type = 'text/css';
|
|
2780
|
-
if (css.media)
|
|
2781
|
-
style.element.setAttribute('media', css.media);
|
|
2782
|
-
if (HEAD === undefined) {
|
|
2783
|
-
HEAD = document.head || document.getElementsByTagName('head')[0];
|
|
2784
|
-
}
|
|
2785
|
-
HEAD.appendChild(style.element);
|
|
2786
|
-
}
|
|
2787
|
-
if ('styleSheet' in style.element) {
|
|
2788
|
-
style.styles.push(code);
|
|
2789
|
-
style.element.styleSheet.cssText = style.styles
|
|
2790
|
-
.filter(Boolean)
|
|
2791
|
-
.join('\n');
|
|
2792
|
-
}
|
|
2793
|
-
else {
|
|
2794
|
-
const index = style.ids.size - 1;
|
|
2795
|
-
const textNode = document.createTextNode(code);
|
|
2796
|
-
const nodes = style.element.childNodes;
|
|
2797
|
-
if (nodes[index])
|
|
2798
|
-
style.element.removeChild(nodes[index]);
|
|
2799
|
-
if (nodes.length)
|
|
2800
|
-
style.element.insertBefore(textNode, nodes[index]);
|
|
2801
|
-
else
|
|
2802
|
-
style.element.appendChild(textNode);
|
|
2803
|
-
}
|
|
2804
|
-
}
|
|
2805
|
-
}
|
|
2806
|
-
|
|
2807
2858
|
/* script */
|
|
2808
2859
|
const __vue_script__$x = script$x;
|
|
2809
2860
|
/* template */
|
|
@@ -10318,6 +10369,11 @@ var script$h = {
|
|
|
10318
10369
|
type: Object,
|
|
10319
10370
|
required: true
|
|
10320
10371
|
},
|
|
10372
|
+
hasSecondaryButton: {
|
|
10373
|
+
type: Boolean,
|
|
10374
|
+
required: false,
|
|
10375
|
+
default: true
|
|
10376
|
+
},
|
|
10321
10377
|
hasButton: {
|
|
10322
10378
|
type: Boolean,
|
|
10323
10379
|
required: false,
|
|
@@ -10602,13 +10658,17 @@ var __vue_render__$h = function () {
|
|
|
10602
10658
|
"iconButton": _vm.iconButton,
|
|
10603
10659
|
"identifier": _vm.identifier,
|
|
10604
10660
|
"allVariables": _vm.allVariables,
|
|
10605
|
-
"dictionary": _vm.dictionary
|
|
10661
|
+
"dictionary": _vm.dictionary,
|
|
10662
|
+
"hasSecondaryButton": _vm.hasSecondaryButton
|
|
10606
10663
|
},
|
|
10607
10664
|
on: {
|
|
10608
10665
|
"set-vars": _vm.setFinalMessage,
|
|
10609
10666
|
"set-file-var": _vm.setFileVar,
|
|
10610
10667
|
"click-trigger": function ($event) {
|
|
10611
10668
|
return _vm.$emit('click-trigger');
|
|
10669
|
+
},
|
|
10670
|
+
"dispatch-clients-with-bot": function ($event) {
|
|
10671
|
+
return _vm.$emit('dispatch-clients-with-bot');
|
|
10612
10672
|
}
|
|
10613
10673
|
}
|
|
10614
10674
|
})], 1) : _c('div', {
|
|
@@ -10633,7 +10693,7 @@ var __vue_staticRenderFns__$h = [];
|
|
|
10633
10693
|
|
|
10634
10694
|
const __vue_inject_styles__$h = function (inject) {
|
|
10635
10695
|
if (!inject) return;
|
|
10636
|
-
inject("data-v-
|
|
10696
|
+
inject("data-v-2135e54a_0", {
|
|
10637
10697
|
source: "*{box-sizing:border-box}.toasted svg{margin-right:10px}.d-none{display:none}ul{list-style-type:none}h1,h2,h3,h4,p{margin:0;padding:0}.tg-container{width:100%;max-width:800px;display:flex;flex-direction:column;overflow-x:hidden;overflow-y:auto}.tg-options{width:100%;display:flex}.tg-options.column{flex-direction:column}.tg-options h4{margin-right:5px}.ts-image-type{display:flex;align-items:center}.ts-image-type img{cursor:pointer}.ts-image-type svg{font-size:25px;cursor:pointer}.ts-image-type .select-image{color:#838383}.color-red{color:#e74c3c}.color-blue{color:#007bff}.color-black{color:#333}.color-purple{color:#a312a3}.custom-tooltip-image{display:flex;justify-content:center;align-items:center;overflow:visible;padding:5px}.custom-tooltip-image img{max-width:75px;max-height:75px}.ts-button{background-color:#fff;border-radius:10px;display:flex;justify-content:center;align-items:center;padding:3px 15px;transition:background-color 150ms ease-in-out}.ts-button:hover{background-color:#fdfdfd}.tg-select{flex:1;height:34px;overflow:hidden}.tg-select .vs__dropdown-toggle{background-color:#fff;height:34px;overflow:hidden;display:flex;align-items:center}.tg-select .vs__selected-options{height:34px;overflow:hidden}.tg-select .vs__selected-options>span{white-space:nowrap;text-overflow:ellipsis;flex:1}.vs__dropdown-option.vs__dropdown-option--selected{background-color:#1a5fad!important;color:#fff}.vs__dropdown-menu li{padding:10px 15px}.vs__dropdown-option{transition:background-color 150ms;white-space:normal}.vs__dropdown-option:nth-child(odd){background-color:#f1f1f1}.vs__dropdown-option--highlight,.vs__dropdown-option--selected,.vs__dropdown-option:active,.vs__dropdown-option:focus,.vs__dropdown-option:hover{background-color:#5897fb!important;color:#fff}.tg-component{width:100%}.ts-container{width:100%;display:flex;justify-content:space-between}.ts-content{--border-color:#CCC;--background-color:#DFF0D8;--input-background-color:#FFF;--input-border-default:#007BFF;--input-border-error:#E74C3C;--placeholder-color:#BBB;--border-radius:5px;flex:2;font-size:.7rem;padding:10px 0;display:flex;flex-direction:column}.order-1{order:1}.custom-box-shadow-bottom{box-shadow:0 3px 4px -3px rgba(0,0,0,.3)}.custom-border-gray{border:1px solid var(--border-color)!important}.ts-content footer,.ts-content header,.ts-content section{padding:3px 5px;background-color:var(--background-color)}.ts-content header,.ts-content section{border-right:1px solid var(--border-color);border-left:1px solid var(--border-color)}.ts-content header{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);border-top:1px solid var(--border-color)}.ts-content header{font-weight:550}.ts-content section{line-height:25px}.ts-content section.margin-bottom{border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);border-bottom:1px solid var(--border-color)}.custom-footer-style,.ts-content footer{border:1px solid var(--border-color);border-top:unset;border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}.ts-content input{border:1px solid transparent;outline:0;font-size:.8rem;padding:2.5px 5px;background-color:var(--input-background-color)}.ts-content input::placeholder{color:var(--placeholder-color)}.ts-content input.active,.ts-content input:focus{border:1px solid var(--input-border-default)}.ts-content input.invalid{border:1px solid var(--input-border-error)!important}.ts-content__var{display:inline-block;position:relative}.ts-dropdown{margin:0;padding:0;position:absolute;top:19px;left:0;background:#eee;width:100%;z-index:1;transition:all 150ms;visibility:hidden;opacity:0;list-style-type:none;border:1px solid #444;border-top:unset}.ts-dropdown li{width:100%;opacity:.9;cursor:pointer;font-weight:550;padding:2px 3px;font-size:.8rem;transition:background-color 150ms}.ts-dropdown li:focus,.ts-dropdown li:focus-within,.ts-dropdown li:hover{opacity:1;background-color:#555;color:#fff}.ts-dropdown.visible{visibility:visible;opacity:1}.tg-btn{width:40%;display:flex;justify-content:center;align-items:center}.tg-btn button{border:unset;display:block;min-width:180px;height:35px;padding:0 10px;font-weight:500;background-color:#007bff;color:#fff;transition:transform .3s ease-in-out;user-select:none;cursor:pointer;box-shadow:inset 0 -2px rgba(0,0,0,.2);opacity:.9;border-radius:2.5px}.tg-btn button>svg{margin-right:5px;color:#003166}.tg-btn button:hover{opacity:1}.tg-btn button:active{opacity:1;box-shadow:inset 0 -1px rgba(0,0,0,.2);-webkit-transform:translateY(1px);-moz-transform:translateY(1px);-o-transform:translateY(1px);-ms-transform:translateY(1px);transform:translateY(1px)}.tg-btn button:active{opacity:1;box-shadow:inset 0 -1px rgba(0,0,0,.2);-webkit-transform:translateY(1px);-moz-transform:translateY(1px);-o-transform:translateY(1px);-ms-transform:translateY(1px);transform:translateY(1px)}.tg-btn button:active,.tg-btn button:focus{outline:2px solid #000}.tg-btn.small-btn{width:auto;margin:0 5px}.tg-btn.small-btn svg{margin-right:0}.tg-btn.small-btn button{min-width:35px;width:35px;padding:0;display:flex;justify-content:center;align-items:center}.tm-container{border:1px solid var(--border-color);border-radius:5px;display:flex}",
|
|
10638
10698
|
map: undefined,
|
|
10639
10699
|
media: undefined
|