vue-intergrall-plugins 1.0.27 → 1.0.28
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 +59 -24
- package/dist/vue-intergrall-plugins.min.js +1 -1
- package/dist/vue-intergrall-plugins.ssr.js +52 -16
- package/package.json +1 -1
- package/src/lib-components/Chat/TextFooter.vue +147 -170
- package/src/lib-components/Messages/CardMessages.vue +2 -1
- package/src/lib-components/Messages/ChatMessages.vue +94 -185
|
@@ -1,44 +1,18 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
@dragover.prevent
|
|
10
|
-
>
|
|
11
|
-
<div
|
|
12
|
-
class="text-footer"
|
|
13
|
-
:class="cssStyle.width ? cssStyle.width : ''"
|
|
14
|
-
:style="`background-color: ${cssStyle.backgroundColor}`"
|
|
15
|
-
>
|
|
16
|
-
<BtnEmojis
|
|
17
|
-
v-show="buttons.hasEmojis && !audioFile"
|
|
18
|
-
:ref="`${this.textId}`"
|
|
19
|
-
:emojiId="`${this.textId}`"
|
|
20
|
-
:down="emojiSettings.openEmojisFrom == 'top' ? false : true"
|
|
21
|
-
:small="emojiSettings.smallEmojis"
|
|
22
|
-
:biggerTextarea="cssStyle.height ? true : false"
|
|
23
|
-
@insert-emoji="insertEmoji"
|
|
24
|
-
/>
|
|
2
|
+
<div class="text-footer-container" :class="{ bigger: cssStyle.height }" v-on-clickaway="away" v-if="textId"
|
|
3
|
+
@drop.stop="dropFile" @dragenter.prevent @dragover.prevent>
|
|
4
|
+
<div class="text-footer" :class="cssStyle.width ? cssStyle.width : ''"
|
|
5
|
+
:style="`background-color: ${cssStyle.backgroundColor}`">
|
|
6
|
+
<BtnEmojis v-show="buttons.hasEmojis && !audioFile" :ref="`${this.textId}`" :emojiId="`${this.textId}`"
|
|
7
|
+
:down="emojiSettings.openEmojisFrom == 'top' ? false : true" :small="emojiSettings.smallEmojis"
|
|
8
|
+
:biggerTextarea="cssStyle.height ? true : false" @insert-emoji="insertEmoji" />
|
|
25
9
|
<transition name="fade">
|
|
26
10
|
<Loader v-if="isSending" />
|
|
27
11
|
</transition>
|
|
28
|
-
<textarea
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
:id="`text-footer-${this.textId}`"
|
|
33
|
-
:disabled="textareaSettings.disabled"
|
|
34
|
-
:placeholder="textareaSettings.placeholderMessage"
|
|
35
|
-
@input="sendFinalMessage"
|
|
36
|
-
@keydown.up="toggleStandardMessages"
|
|
37
|
-
@keydown.down="toggleStandardMessages"
|
|
38
|
-
@keydown.esc="closeEmojis"
|
|
39
|
-
@keydown.enter="sendMessageHandler"
|
|
40
|
-
@paste="pasteImage"
|
|
41
|
-
></textarea>
|
|
12
|
+
<textarea class="js-autoresize" v-if="!audioFile" v-model="message" :id="`text-footer-${this.textId}`"
|
|
13
|
+
:disabled="textareaSettings.disabled" :placeholder="textareaSettings.placeholderMessage"
|
|
14
|
+
@input="sendFinalMessage" @keydown.up="toggleStandardMessages" @keydown.down="toggleStandardMessages"
|
|
15
|
+
@keydown.esc="closeEmojis" @keydown.enter="sendMessageHandler" @paste="pasteImage"></textarea>
|
|
42
16
|
<div class="text-footer-audio" v-else>
|
|
43
17
|
<div>
|
|
44
18
|
<audio :src="audioSource" controls="controls"></audio>
|
|
@@ -48,111 +22,58 @@
|
|
|
48
22
|
<fa-icon :icon="['fas', 'times']" />
|
|
49
23
|
</span>
|
|
50
24
|
</div>
|
|
51
|
-
<RemainingCharacters
|
|
52
|
-
:
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
:
|
|
73
|
-
:
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
@
|
|
78
|
-
|
|
79
|
-
:
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
:ref="`${textId}-mic`"
|
|
86
|
-
/>
|
|
87
|
-
<BtnStandardMessages
|
|
88
|
-
v-show="formattedMessageSettings.hasStandardMessages && !audioFile"
|
|
89
|
-
:dictionary="dictionary"
|
|
90
|
-
:ref="`${textId}-standard-messages`"
|
|
91
|
-
@toggle-standard-messages="toggleStandardMessages"
|
|
92
|
-
/>
|
|
93
|
-
<BtnFiles
|
|
94
|
-
v-show="buttons.hasFiles && !audioFile"
|
|
95
|
-
:textId="textId"
|
|
96
|
-
:dictionary="dictionary"
|
|
97
|
-
:fileSettings="fileSettings"
|
|
98
|
-
:cssStyle="cssStyle"
|
|
99
|
-
:ref="`${textId}-file`"
|
|
100
|
-
:hasButtonFiles="hasButtonFiles"
|
|
101
|
-
:externalFiles="externalFiles"
|
|
102
|
-
@set-file-vars="setFileVars"
|
|
103
|
-
@open-image="openImage"
|
|
104
|
-
@open-file-system="openFileSystem"
|
|
105
|
-
@reset-file-system="resetFileSystem"
|
|
106
|
-
@handle-file-preview="$emit('handle-file-preview')"
|
|
107
|
-
@handle-file-click="$emit('handle-file-click')"
|
|
108
|
-
/>
|
|
109
|
-
<BtnExpand
|
|
110
|
-
v-show="buttons.hasExpand && !audioFile"
|
|
111
|
-
:ref="`${textId}-expand`"
|
|
112
|
-
@expand-textarea="$emit('expand-textarea')"
|
|
113
|
-
:dictionary="dictionary"
|
|
114
|
-
/>
|
|
115
|
-
<div v-if="buttons.customButtom && buttons.customButtom.use" class="text-footer-actions--btn" @click="() => {
|
|
116
|
-
if(buttons.customButtom.callback) buttons.customButtom.callback()
|
|
117
|
-
if(buttons.customButtom.emiter) $emit(buttons.customButtom.emiter)
|
|
118
|
-
}" :title="buttons.customButtom.title">
|
|
119
|
-
<fa-icon :icon="buttons.customButtom.icon" />
|
|
120
|
-
</div>
|
|
25
|
+
<RemainingCharacters :class="{ 'd-none': audioFile }" :message="message"
|
|
26
|
+
:maxCharacters="textareaSettings.maxCharacters" />
|
|
27
|
+
<div v-if="
|
|
28
|
+
buttons.hasFiles ||
|
|
29
|
+
buttons.hasAudio ||
|
|
30
|
+
buttons.hasExpand ||
|
|
31
|
+
formattedMessageSettings.hasStandardMessages ||
|
|
32
|
+
buttons.hasScreenShare ||
|
|
33
|
+
buttons.hasDownloadAll ||
|
|
34
|
+
(customButtons && customButtons.length)
|
|
35
|
+
" class="text-footer-actions" :class="{ 'outside-buttons': cssStyle.outsideButtons && !audioFile }">
|
|
36
|
+
<BtnDownloadAllFiles v-show="buttons.hasDownloadAll && !audioFile"
|
|
37
|
+
@click-trigger="$emit('handle-download-files')" :dictionary="dictionary" :ref="`${textId}-download-files`" />
|
|
38
|
+
<BtnScreenShare v-show="buttons.hasScreenShare && !audioFile" @handle-screen-share="handleScreenShare"
|
|
39
|
+
:dictionary="dictionary" :ref="`${textId}-screen-share`" />
|
|
40
|
+
<BtnMic v-show="buttons.hasAudio && !audioFile" :dictionary="dictionary" @set-audio="setAudio"
|
|
41
|
+
:ref="`${textId}-mic`" />
|
|
42
|
+
<BtnStandardMessages v-show="formattedMessageSettings.hasStandardMessages && !audioFile"
|
|
43
|
+
:dictionary="dictionary" :ref="`${textId}-standard-messages`"
|
|
44
|
+
@toggle-standard-messages="toggleStandardMessages" />
|
|
45
|
+
<BtnFiles v-show="buttons.hasFiles && !audioFile" :textId="textId" :dictionary="dictionary"
|
|
46
|
+
:fileSettings="fileSettings" :cssStyle="cssStyle" :ref="`${textId}-file`" :hasButtonFiles="hasButtonFiles"
|
|
47
|
+
:externalFiles="externalFiles" @set-file-vars="setFileVars" @open-image="openImage"
|
|
48
|
+
@open-file-system="openFileSystem" @reset-file-system="resetFileSystem"
|
|
49
|
+
@handle-file-preview="$emit('handle-file-preview')" @handle-file-click="$emit('handle-file-click')" />
|
|
50
|
+
<BtnExpand v-show="buttons.hasExpand && !audioFile" :ref="`${textId}-expand`"
|
|
51
|
+
@expand-textarea="$emit('expand-textarea')" :dictionary="dictionary" />
|
|
52
|
+
<template v-if="customButtons && customButtons.length">
|
|
53
|
+
<div v-for="(button, index) in customButtons" :key="button.id || index" class="text-footer-actions--btn"
|
|
54
|
+
@click="button.callback(returnParams(button.params))" :title="button.title">
|
|
55
|
+
<fa-icon :icon="['fas', button.icon || 'question-circle']" v-if="!button.svgIcon" />
|
|
56
|
+
<span v-else v-html="button.svgIcon" :class="button.svgClass ? button.svgClass : ''"></span>
|
|
57
|
+
</div>
|
|
58
|
+
</template>
|
|
121
59
|
</div>
|
|
122
60
|
<div class="text-footer-actions" v-if="buttons.hasSendButton">
|
|
123
|
-
<span
|
|
124
|
-
class="text-footer-actions--btn"
|
|
125
|
-
:title="dictionary.title_enviar_msg"
|
|
126
|
-
@click="sendMessageHandler"
|
|
127
|
-
>
|
|
61
|
+
<span class="text-footer-actions--btn" :title="dictionary.title_enviar_msg" @click="sendMessageHandler">
|
|
128
62
|
<fa-icon :icon="['fas', 'paper-plane']" />
|
|
129
63
|
</span>
|
|
130
64
|
</div>
|
|
131
65
|
</div>
|
|
132
66
|
<transition name="fade">
|
|
133
|
-
<StandardMessages
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
formattedMessageSettings.token_cliente
|
|
140
|
-
? formattedMessageSettings.token_cliente
|
|
141
|
-
: ''
|
|
142
|
-
"
|
|
143
|
-
:message="message"
|
|
144
|
-
:messageType="messageType"
|
|
145
|
-
:hasStandardMessages="
|
|
146
|
-
formattedMessageSettings.hasStandardMessages && showStandardMessages
|
|
147
|
-
"
|
|
148
|
-
@close-standard-messages="closeStandardMessages"
|
|
67
|
+
<StandardMessages v-if="showStandardMessages" :class="cssStyle.width ? cssStyle.width : ''"
|
|
68
|
+
:dictionary="dictionary" :backgroundColor="cssStyle.backgroundColor" :token_cliente="formattedMessageSettings.token_cliente
|
|
69
|
+
? formattedMessageSettings.token_cliente
|
|
70
|
+
: ''
|
|
71
|
+
" :message="message" :messageType="messageType" :hasStandardMessages="formattedMessageSettings.hasStandardMessages && showStandardMessages
|
|
72
|
+
" @close-standard-messages="closeStandardMessages"
|
|
149
73
|
@open-blocker-standard-message="openBlockerStandardMessage"
|
|
150
|
-
@close-blocker-standard-message="closeBlockerStandardMessage"
|
|
151
|
-
@set-
|
|
152
|
-
@
|
|
153
|
-
@add-standard-message="addStandardMessage"
|
|
154
|
-
@error-standard-message="$emit('error-standard-message')"
|
|
155
|
-
/>
|
|
74
|
+
@close-blocker-standard-message="closeBlockerStandardMessage" @set-message-type="setMessageType"
|
|
75
|
+
@set-standard-infos="setStandardInfos" @add-standard-message="addStandardMessage"
|
|
76
|
+
@error-standard-message="$emit('error-standard-message')" />
|
|
156
77
|
</transition>
|
|
157
78
|
</div>
|
|
158
79
|
</template>
|
|
@@ -283,6 +204,10 @@ export default {
|
|
|
283
204
|
type: Array,
|
|
284
205
|
required: false,
|
|
285
206
|
},
|
|
207
|
+
customButtons: {
|
|
208
|
+
type: Array,
|
|
209
|
+
required: false
|
|
210
|
+
}
|
|
286
211
|
},
|
|
287
212
|
data() {
|
|
288
213
|
return {
|
|
@@ -635,6 +560,28 @@ export default {
|
|
|
635
560
|
closeStandardMessages() {
|
|
636
561
|
this.showStandardMessages = false;
|
|
637
562
|
},
|
|
563
|
+
returnParams(params) {
|
|
564
|
+
const defaultParams = {
|
|
565
|
+
message: this.message,
|
|
566
|
+
};
|
|
567
|
+
|
|
568
|
+
if (!params) return defaultParams;
|
|
569
|
+
|
|
570
|
+
const keys = params.instanceKeys.split("|");
|
|
571
|
+
if (!keys || !keys.length)
|
|
572
|
+
return {
|
|
573
|
+
defaultParams,
|
|
574
|
+
...params.values,
|
|
575
|
+
};
|
|
576
|
+
|
|
577
|
+
const customParams = { ...params.values };
|
|
578
|
+
keys.forEach((key) => {
|
|
579
|
+
if (this[key]) customParams[key] = this[key];
|
|
580
|
+
else console.warn(`Cant find ${key} on 'this' instance`);
|
|
581
|
+
});
|
|
582
|
+
|
|
583
|
+
return Object.keys(customParams).length ? customParams : defaultParams;
|
|
584
|
+
}
|
|
638
585
|
},
|
|
639
586
|
destroyed() {
|
|
640
587
|
// this.$root.$off("drop-file")
|
|
@@ -657,6 +604,7 @@ export default {
|
|
|
657
604
|
width: 100%;
|
|
658
605
|
position: relative;
|
|
659
606
|
}
|
|
607
|
+
|
|
660
608
|
.text-footer-container .text-footer {
|
|
661
609
|
min-height: 48px;
|
|
662
610
|
box-shadow: 0px 3px 7px -2px rgba(0, 0, 0, 0.45);
|
|
@@ -668,24 +616,30 @@ export default {
|
|
|
668
616
|
padding: 5px 2px 5px 5px;
|
|
669
617
|
border-radius: 5px;
|
|
670
618
|
}
|
|
619
|
+
|
|
671
620
|
.text-footer-container .text-footer.full {
|
|
672
621
|
width: 100%;
|
|
673
622
|
}
|
|
623
|
+
|
|
674
624
|
.text-footer-container .text-footer.almostFull {
|
|
675
625
|
width: 95%;
|
|
676
626
|
}
|
|
627
|
+
|
|
677
628
|
.text-footer-container .text-footer.medium {
|
|
678
629
|
width: 75%;
|
|
679
630
|
}
|
|
631
|
+
|
|
680
632
|
.text-footer-container.bigger .text-footer {
|
|
681
633
|
height: 80px;
|
|
682
634
|
}
|
|
683
|
-
|
|
635
|
+
|
|
636
|
+
.text-footer-container.bigger .text-footer>textarea {
|
|
684
637
|
font-size: 14px;
|
|
685
638
|
height: 75px;
|
|
686
639
|
max-height: 75px;
|
|
687
640
|
min-height: 75px;
|
|
688
641
|
}
|
|
642
|
+
|
|
689
643
|
.text-footer-container textarea {
|
|
690
644
|
margin: 0 5px;
|
|
691
645
|
border: unset;
|
|
@@ -697,24 +651,29 @@ export default {
|
|
|
697
651
|
font-family: inherit;
|
|
698
652
|
background: inherit;
|
|
699
653
|
}
|
|
654
|
+
|
|
700
655
|
.text-footer-container textarea:focus {
|
|
701
656
|
outline: unset;
|
|
702
657
|
}
|
|
658
|
+
|
|
703
659
|
.text-footer-container textarea::placeholder {
|
|
704
660
|
font-size: 12px;
|
|
705
661
|
}
|
|
662
|
+
|
|
706
663
|
.text-footer-container .text-footer-audio {
|
|
707
664
|
flex: 1;
|
|
708
665
|
display: flex;
|
|
709
666
|
justify-content: center;
|
|
710
667
|
align-items: center;
|
|
711
668
|
}
|
|
669
|
+
|
|
712
670
|
.text-footer-container audio {
|
|
713
671
|
flex: 1;
|
|
714
672
|
outline: unset;
|
|
715
673
|
width: auto;
|
|
716
674
|
height: 38px;
|
|
717
675
|
}
|
|
676
|
+
|
|
718
677
|
.text-footer-container .delete-audio {
|
|
719
678
|
display: flex;
|
|
720
679
|
justify-content: center;
|
|
@@ -729,9 +688,11 @@ export default {
|
|
|
729
688
|
width: 31px;
|
|
730
689
|
height: 31px;
|
|
731
690
|
}
|
|
691
|
+
|
|
732
692
|
.text-footer-container .delete-audio:hover {
|
|
733
693
|
background-color: rgba(208, 0, 0, 0.2);
|
|
734
694
|
}
|
|
695
|
+
|
|
735
696
|
.text-footer-container .max-characters {
|
|
736
697
|
font-size: 9.2px;
|
|
737
698
|
z-index: 1;
|
|
@@ -740,12 +701,15 @@ export default {
|
|
|
740
701
|
top: 30px;
|
|
741
702
|
left: -30px;
|
|
742
703
|
}
|
|
704
|
+
|
|
743
705
|
.text-footer-container .max-characters.no-width {
|
|
744
706
|
width: 0;
|
|
745
707
|
}
|
|
708
|
+
|
|
746
709
|
.text-footer-container .text-footer-actions {
|
|
747
710
|
display: flex;
|
|
748
711
|
}
|
|
712
|
+
|
|
749
713
|
.text-footer-container .text-footer-actions.outside-buttons {
|
|
750
714
|
display: flex;
|
|
751
715
|
align-items: center;
|
|
@@ -755,6 +719,7 @@ export default {
|
|
|
755
719
|
right: 35px;
|
|
756
720
|
background-color: #fafafa;
|
|
757
721
|
}
|
|
722
|
+
|
|
758
723
|
.text-footer-container .text-footer-actions .text-footer-actions--btn {
|
|
759
724
|
display: flex;
|
|
760
725
|
justify-content: center;
|
|
@@ -769,55 +734,62 @@ export default {
|
|
|
769
734
|
cursor: pointer;
|
|
770
735
|
margin-right: 2.5px;
|
|
771
736
|
}
|
|
737
|
+
|
|
772
738
|
.text-footer-container .text-footer-actions .text-footer-actions--btn:last-child {
|
|
773
739
|
margin-right: unset;
|
|
774
740
|
}
|
|
741
|
+
|
|
775
742
|
.text-footer-container .text-footer-actions .text-footer-actions--btn:hover {
|
|
776
743
|
background-color: rgba(0, 0, 0, 0.1);
|
|
777
744
|
}
|
|
745
|
+
|
|
778
746
|
.text-footer-container .text-footer-actions .text-footer-actions--btn.files-activated {
|
|
779
747
|
background-color: rgba(0, 0, 0, 0.1);
|
|
780
748
|
}
|
|
749
|
+
|
|
781
750
|
.text-footer-container .text-footer-actions .text-footer-actions--btn.audio-activated {
|
|
782
751
|
background-color: rgba(208, 0, 0, 0.7);
|
|
783
752
|
color: #fff;
|
|
784
753
|
}
|
|
754
|
+
|
|
785
755
|
.text-footer-container .text-footer-actions .text-footer-actions--btn.left-button {
|
|
786
756
|
position: absolute;
|
|
787
757
|
left: 0;
|
|
788
758
|
}
|
|
759
|
+
|
|
789
760
|
.text-footer-container .text-footer-hsm-container {
|
|
790
761
|
margin: 12px 0 7px 0;
|
|
791
762
|
}
|
|
763
|
+
|
|
792
764
|
.text-footer-container .text-footer-hsm-container.full {
|
|
793
765
|
width: 100%;
|
|
794
766
|
}
|
|
767
|
+
|
|
795
768
|
.text-footer-container .text-footer-hsm-container.almostFull {
|
|
796
769
|
width: 95%;
|
|
797
770
|
}
|
|
771
|
+
|
|
798
772
|
.text-footer-container .text-footer-hsm-container.medium {
|
|
799
773
|
width: 75%;
|
|
800
774
|
}
|
|
775
|
+
|
|
801
776
|
.text-footer-container .text-footer-hsm-container .text-footer-v-select {
|
|
802
777
|
border-radius: 5px;
|
|
803
778
|
margin-bottom: 5px;
|
|
804
779
|
}
|
|
780
|
+
|
|
805
781
|
.text-footer-container .text-footer-hsm-container .text-footer-select-03 {
|
|
806
782
|
display: flex;
|
|
807
783
|
align-items: center;
|
|
808
784
|
flex: 1;
|
|
809
785
|
width: 100%;
|
|
810
786
|
}
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
.text-footer-select-03
|
|
814
|
-
.text-footer-v-select {
|
|
787
|
+
|
|
788
|
+
.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer-v-select {
|
|
815
789
|
flex: 1;
|
|
816
790
|
}
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
.text-footer-select-03
|
|
820
|
-
.text-footer--btn-select-03 {
|
|
791
|
+
|
|
792
|
+
.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer--btn-select-03 {
|
|
821
793
|
transition-duration: 300ms;
|
|
822
794
|
user-select: none;
|
|
823
795
|
cursor: pointer;
|
|
@@ -833,16 +805,12 @@ export default {
|
|
|
833
805
|
width: 32px;
|
|
834
806
|
height: 32px;
|
|
835
807
|
}
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
.text-footer-select-03
|
|
839
|
-
.text-footer--btn-select-03:hover {
|
|
808
|
+
|
|
809
|
+
.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer--btn-select-03:hover {
|
|
840
810
|
opacity: 1;
|
|
841
811
|
}
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
.text-footer-select-03
|
|
845
|
-
.text-footer--btn-select-03:active {
|
|
812
|
+
|
|
813
|
+
.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer--btn-select-03:active {
|
|
846
814
|
opacity: 1;
|
|
847
815
|
box-shadow: inset 0 -1px rgba(0, 0, 0, 0.2);
|
|
848
816
|
-webkit-transform: translateY(1px);
|
|
@@ -851,13 +819,11 @@ export default {
|
|
|
851
819
|
-ms-transform: translateY(1px);
|
|
852
820
|
transform: translateY(1px);
|
|
853
821
|
}
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
.text-footer-select-03
|
|
857
|
-
.text-footer--btn-select-03
|
|
858
|
-
svg {
|
|
822
|
+
|
|
823
|
+
.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer--btn-select-03 svg {
|
|
859
824
|
font-size: 16px;
|
|
860
825
|
}
|
|
826
|
+
|
|
861
827
|
.text-footer-container .text-footer-files-container {
|
|
862
828
|
position: absolute;
|
|
863
829
|
right: 0;
|
|
@@ -870,10 +836,12 @@ export default {
|
|
|
870
836
|
justify-content: space-between;
|
|
871
837
|
z-index: 1;
|
|
872
838
|
}
|
|
839
|
+
|
|
873
840
|
.text-footer-container .text-footer-files-container.horizontal {
|
|
874
841
|
right: -55px;
|
|
875
842
|
flex-direction: column;
|
|
876
843
|
}
|
|
844
|
+
|
|
877
845
|
.text-footer-container .text-footer-files-container .files-btn {
|
|
878
846
|
transition-duration: 300ms;
|
|
879
847
|
transition-property: opacity;
|
|
@@ -889,35 +857,44 @@ export default {
|
|
|
889
857
|
font-size: 16px;
|
|
890
858
|
color: #fff;
|
|
891
859
|
}
|
|
860
|
+
|
|
892
861
|
.text-footer-container .text-footer-files-container .files-btn:hover {
|
|
893
862
|
opacity: 1;
|
|
894
863
|
}
|
|
864
|
+
|
|
895
865
|
.text-footer-container .text-footer-files-container .files-btn svg {
|
|
896
866
|
color: #fff;
|
|
897
867
|
}
|
|
868
|
+
|
|
898
869
|
.text-footer-container .text-footer-files-container .files-btn.images {
|
|
899
870
|
background-color: #9575cd;
|
|
900
871
|
margin-right: 5px;
|
|
901
872
|
}
|
|
873
|
+
|
|
902
874
|
.text-footer-container .text-footer-files-container .files-btn.images.margin-bottom {
|
|
903
875
|
margin-right: unset;
|
|
904
876
|
margin-bottom: 5px;
|
|
905
877
|
}
|
|
878
|
+
|
|
906
879
|
.text-footer-container .text-footer-files-container .files-btn.docs {
|
|
907
880
|
background-color: #7986cb;
|
|
908
881
|
}
|
|
882
|
+
|
|
909
883
|
.text-footer-container .text-footer-files-container .files-btn.system {
|
|
910
884
|
background-color: #49a349;
|
|
911
885
|
margin-left: 5px;
|
|
912
886
|
}
|
|
887
|
+
|
|
913
888
|
.text-footer-container .text-footer-files-container .files-btn.both {
|
|
914
889
|
font-size: 15.2px;
|
|
915
890
|
background-color: rgb(85, 85, 236);
|
|
916
891
|
flex-direction: column;
|
|
917
892
|
}
|
|
893
|
+
|
|
918
894
|
.text-footer-container .text-footer-files-container .files-btn.both svg:nth-child(1) {
|
|
919
895
|
transform: translateX(5px);
|
|
920
896
|
}
|
|
897
|
+
|
|
921
898
|
.text-footer-container .text-footer-files-container .files-btn.both svg:nth-child(2) {
|
|
922
899
|
transform: translateX(-5px);
|
|
923
900
|
}
|
|
@@ -933,11 +910,13 @@ export default {
|
|
|
933
910
|
border-top-left-radius: 2.5px;
|
|
934
911
|
border-top-right-radius: 2.5px;
|
|
935
912
|
}
|
|
913
|
+
|
|
936
914
|
.text-footer-container .text-footer-preview-container.isDoc {
|
|
937
915
|
top: -50px;
|
|
938
916
|
width: 100%;
|
|
939
917
|
height: 45px;
|
|
940
918
|
}
|
|
919
|
+
|
|
941
920
|
.text-footer-container .text-footer-preview-container.isImg,
|
|
942
921
|
.text-footer-container .text-footer-preview-container.isMultiple {
|
|
943
922
|
top: -205px;
|
|
@@ -945,9 +924,11 @@ export default {
|
|
|
945
924
|
height: 200px;
|
|
946
925
|
min-width: 200px;
|
|
947
926
|
}
|
|
927
|
+
|
|
948
928
|
.text-footer-container .text-footer-preview-container.isImg .text-footer-image-preview {
|
|
949
929
|
height: 170px;
|
|
950
930
|
}
|
|
931
|
+
|
|
951
932
|
.text-footer-container .text-footer-preview-container.isError {
|
|
952
933
|
top: -80px;
|
|
953
934
|
width: 100%;
|
|
@@ -959,9 +940,11 @@ export default {
|
|
|
959
940
|
width: 100%;
|
|
960
941
|
padding: 0 10px;
|
|
961
942
|
}
|
|
943
|
+
|
|
962
944
|
.text-footer-container .text-footer-alt .text-footer-out-session {
|
|
963
945
|
margin-top: 12px;
|
|
964
946
|
}
|
|
947
|
+
|
|
965
948
|
.text-footer-container .text-footer-alt .text-footer-sem-24h {
|
|
966
949
|
font-size: 12.8px;
|
|
967
950
|
text-align: right;
|
|
@@ -972,6 +955,7 @@ export default {
|
|
|
972
955
|
position: absolute;
|
|
973
956
|
right: 0;
|
|
974
957
|
}
|
|
958
|
+
|
|
975
959
|
.text-footer-container .text-footer-alt .sem-templates {
|
|
976
960
|
margin-top: 10px;
|
|
977
961
|
font-size: 12.8px;
|
|
@@ -980,30 +964,23 @@ export default {
|
|
|
980
964
|
letter-spacing: -0.5px;
|
|
981
965
|
color: #921e12;
|
|
982
966
|
}
|
|
967
|
+
|
|
983
968
|
.text-footer-container .text-footer-alt .text-footer-templates {
|
|
984
969
|
position: relative;
|
|
985
970
|
width: 100%;
|
|
986
971
|
}
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
.text-footer-templates
|
|
990
|
-
.text-footer-group-selection {
|
|
972
|
+
|
|
973
|
+
.text-footer-container .text-footer-alt .text-footer-templates .text-footer-group-selection {
|
|
991
974
|
width: 100%;
|
|
992
975
|
display: flex;
|
|
993
976
|
align-items: center;
|
|
994
977
|
}
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
.text-footer-templates
|
|
998
|
-
.text-footer-group-selection
|
|
999
|
-
h4 {
|
|
978
|
+
|
|
979
|
+
.text-footer-container .text-footer-alt .text-footer-templates .text-footer-group-selection h4 {
|
|
1000
980
|
margin-right: 5px;
|
|
1001
981
|
}
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
.text-footer-templates
|
|
1005
|
-
.text-footer-group-selection
|
|
1006
|
-
.sm__select {
|
|
982
|
+
|
|
983
|
+
.text-footer-container .text-footer-alt .text-footer-templates .text-footer-group-selection .sm__select {
|
|
1007
984
|
flex: 1;
|
|
1008
985
|
}
|
|
1009
986
|
|
|
@@ -40,7 +40,8 @@
|
|
|
40
40
|
<span v-for="(button, index) in customButtons" :key="button.id || index" v-show="button.use"
|
|
41
41
|
@click="button.callback(returnParams(button.params))" :class="`${button.customClass || 'menu-mensagem'}`"
|
|
42
42
|
v-tippy :content="button.tippyContent">
|
|
43
|
-
<fa-icon :icon="['fas', button.icon || 'question-circle']" />
|
|
43
|
+
<fa-icon :icon="['fas', button.icon || 'question-circle']" v-if="!button.svgIcon" />
|
|
44
|
+
<span v-else v-html="button.svgIcon" :class="button.svgClass ? button.svgClass : ''"></span>
|
|
44
45
|
</span>
|
|
45
46
|
</div>
|
|
46
47
|
</div>
|