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.
@@ -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) + " \n "))] : _c('fa-icon', {
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) + " \n "))] : _c('fa-icon', {
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-43cc7945_0", {
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-43cc7945";
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 */
@@ -6207,7 +6283,7 @@ var script$k = {
6207
6283
  if (_this2.hasFile) {
6208
6284
  if (!_this2.selectedTemplate["parameters"][component.type]) _this2.selectedTemplate["parameters"][component.type] = new Array();
6209
6285
  _this2.selectedTemplate["parameters"][component.type].push({
6210
- tipo: "image",
6286
+ tipo: _this2.selectedTemplate["parameters"][component.type],
6211
6287
  template: component.parameters.seq,
6212
6288
  link: ""
6213
6289
  });
@@ -6309,7 +6385,7 @@ var __vue_staticRenderFns__$k = [];
6309
6385
  /* style */
6310
6386
  var __vue_inject_styles__$k = function __vue_inject_styles__(inject) {
6311
6387
  if (!inject) return;
6312
- inject("data-v-a48815f2_0", {
6388
+ inject("data-v-5550ae37_0", {
6313
6389
  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}",
6314
6390
  map: undefined,
6315
6391
  media: undefined
@@ -6318,7 +6394,7 @@ var __vue_inject_styles__$k = function __vue_inject_styles__(inject) {
6318
6394
  /* scoped */
6319
6395
  var __vue_scope_id__$k = undefined;
6320
6396
  /* module identifier */
6321
- var __vue_module_identifier__$k = "data-v-a48815f2";
6397
+ var __vue_module_identifier__$k = "data-v-5550ae37";
6322
6398
  /* functional template */
6323
6399
  var __vue_is_functional_template__$k = false;
6324
6400
  /* style inject shadow dom */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-intergrall-plugins",
3
- "version": "1.0.96",
3
+ "version": "1.0.98",
4
4
  "description": "",
5
5
  "main": "dist/vue-intergrall-plugins.ssr.js",
6
6
  "browser": "dist/vue-intergrall-plugins.esm.js",
@@ -2,46 +2,23 @@
2
2
  <div class="tg-container" v-if="templates && identifier">
3
3
  <div class="tg-options" :class="{ column: columnSelect }">
4
4
  <h4>Template:</h4>
5
- <v-select
6
- class="tg-select"
7
- appendToBody
8
- :calculatePosition="calculateSelectPosition"
9
- :options="templateOptions"
10
- :value="codTemplate"
11
- :reduce="(template) => template.cod"
12
- :clearable="false"
13
- @input="setTemplate"
14
- :getOptionLabel="(template) => template.label"
15
- ref="template-v-select"
16
- >
5
+ <v-select class="tg-select" appendToBody :calculatePosition="calculateSelectPosition" :options="templateOptions"
6
+ :value="codTemplate" :reduce="(template) => template.cod" :clearable="false" @input="setTemplate"
7
+ :getOptionLabel="(template) => template.label" ref="template-v-select">
17
8
  <div slot="no-options" v-text="dictionary.msg_sem_resultados"></div>
18
9
  </v-select>
19
10
  </div>
20
11
  <template v-if="selectedTemplate">
21
12
  <div class="tg-component" v-if="selectedTemplate.components">
22
- <TemplateSingle
23
- :key="codTemplate"
24
- :template="selectedTemplate"
25
- @set-vars="setFinalMessage"
26
- @set-file-var="setFileVar"
27
- :hasButton="hasButton"
28
- :iconButton="iconButton"
29
- @click-trigger="$emit('click-trigger')"
30
- :identifier="identifier"
31
- :allVariables="allVariables"
32
- :dictionary="dictionary"
33
- :hasSecondaryButton="hasSecondaryButton"
34
- @dispatch-clients-with-bot="$emit('dispatch-clients-with-bot')"
35
- />
13
+ <TemplateSingle :key="codTemplate" :template="selectedTemplate" @set-vars="setFinalMessage"
14
+ @set-file-var="setFileVar" :hasButton="hasButton" :iconButton="iconButton"
15
+ @click-trigger="$emit('click-trigger')" :identifier="identifier" :allVariables="allVariables"
16
+ :dictionary="dictionary" :hasSecondaryButton="hasSecondaryButton"
17
+ @dispatch-clients-with-bot="$emit('dispatch-clients-with-bot')" />
36
18
  </div>
37
19
  <div class="tg-component" v-else>
38
- <TemplateMessage
39
- @final-message="setMessage"
40
- :hasButton="hasButton"
41
- :iconButton="iconButton"
42
- @click-trigger="$emit('click-trigger', true)"
43
- :dictionary="dictionary"
44
- />
20
+ <TemplateMessage @final-message="setMessage" :hasButton="hasButton" :iconButton="iconButton"
21
+ @click-trigger="$emit('click-trigger', true)" :dictionary="dictionary" />
45
22
  </div>
46
23
  </template>
47
24
  </div>
@@ -160,9 +137,8 @@ export default {
160
137
  if (this.templates[key])
161
138
  this.templateOptions.push({
162
139
  cod: key,
163
- label: `${this.concatTemplateMessage(this.templates[key])} (${
164
- this.templates[key].title
165
- })`,
140
+ label: `${this.concatTemplateMessage(this.templates[key])} (${this.templates[key].title
141
+ })`,
166
142
  });
167
143
  }
168
144
  },
@@ -259,7 +235,7 @@ export default {
259
235
  if (!this.selectedTemplate["parameters"][component.type])
260
236
  this.selectedTemplate["parameters"][component.type] = new Array();
261
237
  this.selectedTemplate["parameters"][component.type].push({
262
- tipo: "image",
238
+ tipo: this.selectedTemplate["parameters"][component.type],
263
239
  template: component.parameters.seq,
264
240
  link: "",
265
241
  });
@@ -299,9 +275,11 @@ export default {
299
275
  width: 100%;
300
276
  display: flex;
301
277
  }
278
+
302
279
  .tg-options.column {
303
280
  flex-direction: column;
304
281
  }
282
+
305
283
  .tg-options h4 {
306
284
  margin-right: 5px;
307
285
  }
@@ -372,6 +350,7 @@ export default {
372
350
  height: 34px;
373
351
  overflow: hidden;
374
352
  }
353
+
375
354
  .tg-select .vs__dropdown-toggle {
376
355
  background-color: #fff;
377
356
  height: 34px;
@@ -379,11 +358,13 @@ export default {
379
358
  display: flex;
380
359
  align-items: center;
381
360
  }
361
+
382
362
  .tg-select .vs__selected-options {
383
363
  height: 34px;
384
364
  overflow: hidden;
385
365
  }
386
- .tg-select .vs__selected-options > span {
366
+
367
+ .tg-select .vs__selected-options>span {
387
368
  white-space: nowrap;
388
369
  text-overflow: ellipsis;
389
370
  flex: 1;
@@ -402,9 +383,11 @@ export default {
402
383
  transition: background-color 150ms;
403
384
  white-space: normal;
404
385
  }
386
+
405
387
  .vs__dropdown-option:nth-child(odd) {
406
388
  background-color: #f1f1f1;
407
389
  }
390
+
408
391
  .vs__dropdown-option:hover,
409
392
  .vs__dropdown-option:focus,
410
393
  .vs__dropdown-option:active,
@@ -441,42 +424,52 @@ export default {
441
424
  display: flex;
442
425
  flex-direction: column;
443
426
  }
427
+
444
428
  .order-1 {
445
429
  order: 1;
446
430
  }
431
+
447
432
  .custom-box-shadow-bottom {
448
433
  box-shadow: 0px 3px 4px -3px rgba(0, 0, 0, 0.3);
449
434
  }
435
+
450
436
  .custom-border-gray {
451
437
  border: 1px solid var(--border-color) !important;
452
438
  }
439
+
453
440
  .ts-content header,
454
441
  .ts-content section,
455
442
  .ts-content footer {
456
443
  padding: 3px 5px;
457
444
  background-color: var(--background-color);
458
445
  }
446
+
459
447
  .ts-content header,
460
448
  .ts-content section {
461
449
  border-right: 1px solid var(--border-color);
462
450
  border-left: 1px solid var(--border-color);
463
451
  }
452
+
464
453
  .ts-content header {
465
454
  border-top-left-radius: var(--border-radius);
466
455
  border-top-right-radius: var(--border-radius);
467
456
  border-top: 1px solid var(--border-color);
468
457
  }
458
+
469
459
  .ts-content header {
470
460
  font-weight: 550;
471
461
  }
462
+
472
463
  .ts-content section {
473
464
  line-height: 25px;
474
465
  }
466
+
475
467
  .ts-content section.margin-bottom {
476
468
  border-bottom-left-radius: var(--border-radius);
477
469
  border-bottom-right-radius: var(--border-radius);
478
470
  border-bottom: 1px solid var(--border-color);
479
471
  }
472
+
480
473
  .ts-content footer,
481
474
  .custom-footer-style {
482
475
  border: 1px solid var(--border-color);
@@ -484,6 +477,7 @@ export default {
484
477
  border-bottom-left-radius: var(--border-radius);
485
478
  border-bottom-right-radius: var(--border-radius);
486
479
  }
480
+
487
481
  .ts-content input {
488
482
  border: 1px solid transparent;
489
483
  outline: 0;
@@ -491,16 +485,20 @@ export default {
491
485
  padding: 2.5px 5px;
492
486
  background-color: var(--input-background-color);
493
487
  }
488
+
494
489
  .ts-content input::placeholder {
495
490
  color: var(--placeholder-color);
496
491
  }
492
+
497
493
  .ts-content input.active,
498
494
  .ts-content input:focus {
499
495
  border: 1px solid var(--input-border-default);
500
496
  }
497
+
501
498
  .ts-content input.invalid {
502
499
  border: 1px solid var(--input-border-error) !important;
503
500
  }
501
+
504
502
  .ts-content__var {
505
503
  display: inline-block;
506
504
  position: relative;
@@ -522,6 +520,7 @@ export default {
522
520
  border: 1px solid #444;
523
521
  border-top: unset;
524
522
  }
523
+
525
524
  .ts-dropdown li {
526
525
  width: 100%;
527
526
  opacity: 0.9;
@@ -531,6 +530,7 @@ export default {
531
530
  font-size: 12.8px;
532
531
  transition: background-color 150ms;
533
532
  }
533
+
534
534
  .ts-dropdown li:hover,
535
535
  .ts-dropdown li:focus-within,
536
536
  .ts-dropdown li:focus {
@@ -538,16 +538,19 @@ export default {
538
538
  background-color: #555;
539
539
  color: #fff;
540
540
  }
541
+
541
542
  .ts-dropdown.visible {
542
543
  visibility: visible;
543
544
  opacity: 1;
544
545
  }
546
+
545
547
  .tg-btn {
546
548
  width: auto;
547
549
  display: flex;
548
550
  justify-content: center;
549
551
  align-items: center;
550
552
  }
553
+
551
554
  .tg-btn button {
552
555
  border: unset;
553
556
  display: block;
@@ -564,13 +567,16 @@ export default {
564
567
  opacity: 0.9;
565
568
  border-radius: 2.5px;
566
569
  }
567
- .tg-btn button > svg {
570
+
571
+ .tg-btn button>svg {
568
572
  margin-right: 5px;
569
573
  color: #003166;
570
574
  }
575
+
571
576
  .tg-btn button:hover {
572
577
  opacity: 1;
573
578
  }
579
+
574
580
  .tg-btn button:active {
575
581
  opacity: 1;
576
582
  box-shadow: inset 0 -1px rgba(0, 0, 0, 0.2);
@@ -580,6 +586,7 @@ export default {
580
586
  -ms-transform: translateY(1px);
581
587
  transform: translateY(1px);
582
588
  }
589
+
583
590
  .tg-btn button:active {
584
591
  opacity: 1;
585
592
  box-shadow: inset 0 -1px rgba(0, 0, 0, 0.2);
@@ -589,17 +596,21 @@ export default {
589
596
  -ms-transform: translateY(1px);
590
597
  transform: translateY(1px);
591
598
  }
599
+
592
600
  .tg-btn button:focus,
593
601
  .tg-btn button:active {
594
602
  outline: 2px solid black;
595
603
  }
604
+
596
605
  .tg-btn.small-btn {
597
606
  width: auto;
598
607
  margin: 0 5px;
599
608
  }
609
+
600
610
  .tg-btn.small-btn svg {
601
611
  margin-right: 0;
602
612
  }
613
+
603
614
  .tg-btn.small-btn button {
604
615
  min-width: 35px;
605
616
  width: 35px;