vue-intergrall-plugins 1.0.96 → 1.0.98
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 +116 -10
- package/dist/vue-intergrall-plugins.min.js +1 -1
- package/dist/vue-intergrall-plugins.ssr.js +88 -12
- package/package.json +1 -1
- package/src/lib-components/Templates/TemplateGenerator.vue +50 -39
- package/src/lib-components/Templates/TemplateSingle.vue +130 -133
|
@@ -1924,9 +1924,6 @@ var createPopper = /*#__PURE__*/popperGenerator({
|
|
|
1924
1924
|
//
|
|
1925
1925
|
//
|
|
1926
1926
|
//
|
|
1927
|
-
//
|
|
1928
|
-
//
|
|
1929
|
-
//
|
|
1930
1927
|
|
|
1931
1928
|
var script$B = {
|
|
1932
1929
|
data() {
|
|
@@ -2467,7 +2464,7 @@ var __vue_render__$B = function () {
|
|
|
2467
2464
|
value: {
|
|
2468
2465
|
placement: 'right'
|
|
2469
2466
|
},
|
|
2470
|
-
expression: "{placement: 'right'}"
|
|
2467
|
+
expression: "{ placement: 'right' }"
|
|
2471
2468
|
}],
|
|
2472
2469
|
class: "color-" + _vm.headerFiles[0].current_color,
|
|
2473
2470
|
attrs: {
|
|
@@ -2486,7 +2483,7 @@ var __vue_render__$B = function () {
|
|
|
2486
2483
|
value: {
|
|
2487
2484
|
placement: 'right'
|
|
2488
2485
|
},
|
|
2489
|
-
expression: "{placement: 'right'}"
|
|
2486
|
+
expression: "{ placement: 'right' }"
|
|
2490
2487
|
}],
|
|
2491
2488
|
staticClass: "select-image",
|
|
2492
2489
|
attrs: {
|
|
@@ -2498,6 +2495,115 @@ var __vue_render__$B = function () {
|
|
|
2498
2495
|
return _vm.triggerInputFile("header-" + pIndex);
|
|
2499
2496
|
}
|
|
2500
2497
|
}
|
|
2498
|
+
})], 2) : param.type == 'document' ? _c('div', {
|
|
2499
|
+
staticClass: "ts-image-type"
|
|
2500
|
+
}, [_c('input', {
|
|
2501
|
+
ref: "ts-input-header-" + pIndex,
|
|
2502
|
+
refInFor: true,
|
|
2503
|
+
staticClass: "d-none",
|
|
2504
|
+
attrs: {
|
|
2505
|
+
"type": "file",
|
|
2506
|
+
"accept": _vm.acceptedExtensions
|
|
2507
|
+
},
|
|
2508
|
+
on: {
|
|
2509
|
+
"change": function ($event) {
|
|
2510
|
+
return _vm.fileUpload($event);
|
|
2511
|
+
}
|
|
2512
|
+
}
|
|
2513
|
+
}), _vm._v(" "), _vm.headerFiles[0] ? [_c('fa-icon', {
|
|
2514
|
+
directives: [{
|
|
2515
|
+
name: "tippy",
|
|
2516
|
+
rawName: "v-tippy",
|
|
2517
|
+
value: {
|
|
2518
|
+
placement: 'right'
|
|
2519
|
+
},
|
|
2520
|
+
expression: "{ placement: 'right' }"
|
|
2521
|
+
}],
|
|
2522
|
+
class: "color-" + _vm.headerFiles[0].current_color,
|
|
2523
|
+
attrs: {
|
|
2524
|
+
"icon": ['fas', _vm.headerFiles[0].current_icon],
|
|
2525
|
+
"content": _vm.headerFiles[0].name
|
|
2526
|
+
},
|
|
2527
|
+
on: {
|
|
2528
|
+
"click": function ($event) {
|
|
2529
|
+
return _vm.triggerInputFile("header-" + pIndex);
|
|
2530
|
+
}
|
|
2531
|
+
}
|
|
2532
|
+
})] : _c('fa-icon', {
|
|
2533
|
+
directives: [{
|
|
2534
|
+
name: "tippy",
|
|
2535
|
+
rawName: "v-tippy",
|
|
2536
|
+
value: {
|
|
2537
|
+
placement: 'right'
|
|
2538
|
+
},
|
|
2539
|
+
expression: "{ placement: 'right' }"
|
|
2540
|
+
}],
|
|
2541
|
+
staticClass: "select-image",
|
|
2542
|
+
attrs: {
|
|
2543
|
+
"icon": ['fas', 'file-alt'],
|
|
2544
|
+
"content": "Selecionar anexo"
|
|
2545
|
+
},
|
|
2546
|
+
on: {
|
|
2547
|
+
"click": function ($event) {
|
|
2548
|
+
return _vm.triggerInputFile("header-" + pIndex);
|
|
2549
|
+
}
|
|
2550
|
+
}
|
|
2551
|
+
})], 2) : param.type == 'video' ? _c('div', {
|
|
2552
|
+
staticClass: "ts-image-type"
|
|
2553
|
+
}, [_c('input', {
|
|
2554
|
+
ref: "ts-input-header-" + pIndex,
|
|
2555
|
+
refInFor: true,
|
|
2556
|
+
staticClass: "d-none",
|
|
2557
|
+
attrs: {
|
|
2558
|
+
"type": "file",
|
|
2559
|
+
"accept": _vm.acceptedExtensions
|
|
2560
|
+
},
|
|
2561
|
+
on: {
|
|
2562
|
+
"change": function ($event) {
|
|
2563
|
+
return _vm.fileUpload($event);
|
|
2564
|
+
}
|
|
2565
|
+
}
|
|
2566
|
+
}), _vm._v(" "), _vm.headerFiles[0] ? [_c('fa-icon', {
|
|
2567
|
+
directives: [{
|
|
2568
|
+
name: "tippy",
|
|
2569
|
+
rawName: "v-tippy",
|
|
2570
|
+
value: {
|
|
2571
|
+
placement: 'right'
|
|
2572
|
+
},
|
|
2573
|
+
expression: "{ placement: 'right' }"
|
|
2574
|
+
}],
|
|
2575
|
+
class: "color-" + _vm.headerFiles[0].current_color,
|
|
2576
|
+
attrs: {
|
|
2577
|
+
"icon": ['fas', _vm.headerFiles[0].current_icon],
|
|
2578
|
+
"content": _vm.headerFiles[0].name
|
|
2579
|
+
},
|
|
2580
|
+
on: {
|
|
2581
|
+
"click": function ($event) {
|
|
2582
|
+
return _vm.triggerInputFile("header-" + pIndex);
|
|
2583
|
+
}
|
|
2584
|
+
}
|
|
2585
|
+
})] : _c('fa-icon', {
|
|
2586
|
+
directives: [{
|
|
2587
|
+
name: "tippy",
|
|
2588
|
+
rawName: "v-tippy",
|
|
2589
|
+
value: {
|
|
2590
|
+
placement: 'right'
|
|
2591
|
+
},
|
|
2592
|
+
expression: "{ placement: 'right' }"
|
|
2593
|
+
}],
|
|
2594
|
+
staticClass: "select-image",
|
|
2595
|
+
staticStyle: {
|
|
2596
|
+
"font-size": "1.2rem"
|
|
2597
|
+
},
|
|
2598
|
+
attrs: {
|
|
2599
|
+
"icon": ['fas', 'video'],
|
|
2600
|
+
"content": "Selecionar anexo"
|
|
2601
|
+
},
|
|
2602
|
+
on: {
|
|
2603
|
+
"click": function ($event) {
|
|
2604
|
+
return _vm.triggerInputFile("header-" + pIndex);
|
|
2605
|
+
}
|
|
2606
|
+
}
|
|
2501
2607
|
})], 2) : _vm._e()], 2);
|
|
2502
2608
|
}), 0) : _vm._e(), _vm._v(" "), component.type === 'body' ? _c('section', {
|
|
2503
2609
|
class: (_vm.template.components.length == 1 ? 'border-radius-5 custom-border-gray' : '') + " " + (!_vm.hasButtonOrFooterComponent ? 'custom-footer-style custom-box-shadow-bottom custom-border-gray' : ''),
|
|
@@ -2562,7 +2668,7 @@ var __vue_render__$B = function () {
|
|
|
2562
2668
|
attrs: {
|
|
2563
2669
|
"icon": ['fas', 'paper-plane']
|
|
2564
2670
|
}
|
|
2565
|
-
}), _vm._v("\n " + _vm._s(_vm.dictionary.btn_contatar_clientes) + "
|
|
2671
|
+
}), _vm._v("\n " + _vm._s(_vm.dictionary.btn_contatar_clientes) + "\n ")] : _c('fa-icon', {
|
|
2566
2672
|
attrs: {
|
|
2567
2673
|
"icon": ['fas', 'paper-plane']
|
|
2568
2674
|
}
|
|
@@ -2582,7 +2688,7 @@ var __vue_render__$B = function () {
|
|
|
2582
2688
|
attrs: {
|
|
2583
2689
|
"icon": ['fas', 'paper-plane']
|
|
2584
2690
|
}
|
|
2585
|
-
}), _vm._v("\n " + _vm._s(_vm.dictionary.btn_contatar_clientes_com_bot) + "
|
|
2691
|
+
}), _vm._v("\n " + _vm._s(_vm.dictionary.btn_contatar_clientes_com_bot) + "\n ")] : _c('fa-icon', {
|
|
2586
2692
|
attrs: {
|
|
2587
2693
|
"icon": ['fas', 'paper-plane']
|
|
2588
2694
|
}
|
|
@@ -2593,7 +2699,7 @@ var __vue_staticRenderFns__$B = [];
|
|
|
2593
2699
|
/* style */
|
|
2594
2700
|
const __vue_inject_styles__$B = function (inject) {
|
|
2595
2701
|
if (!inject) return;
|
|
2596
|
-
inject("data-v-
|
|
2702
|
+
inject("data-v-18b271ca_0", {
|
|
2597
2703
|
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}",
|
|
2598
2704
|
map: undefined,
|
|
2599
2705
|
media: undefined
|
|
@@ -6309,7 +6415,7 @@ var script$k = {
|
|
|
6309
6415
|
if (this.hasFile) {
|
|
6310
6416
|
if (!this.selectedTemplate["parameters"][component.type]) this.selectedTemplate["parameters"][component.type] = new Array();
|
|
6311
6417
|
this.selectedTemplate["parameters"][component.type].push({
|
|
6312
|
-
tipo: "
|
|
6418
|
+
tipo: this.selectedTemplate["parameters"][component.type],
|
|
6313
6419
|
template: component.parameters.seq,
|
|
6314
6420
|
link: ""
|
|
6315
6421
|
});
|
|
@@ -6420,7 +6526,7 @@ var __vue_staticRenderFns__$k = [];
|
|
|
6420
6526
|
/* style */
|
|
6421
6527
|
const __vue_inject_styles__$k = function (inject) {
|
|
6422
6528
|
if (!inject) return;
|
|
6423
|
-
inject("data-v-
|
|
6529
|
+
inject("data-v-5550ae37_0", {
|
|
6424
6530
|
source: ".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;gap:10px}.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:11.2px;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:12.8px;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:12.8px;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:auto;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}",
|
|
6425
6531
|
map: undefined,
|
|
6426
6532
|
media: undefined
|