vue-intergrall-plugins 1.1.90 → 1.2.0
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 +220 -220
- package/dist/dist/vue-intergrall-plugins.css +1 -1
- package/dist/vue-intergrall-plugins.esm.js +193 -78
- package/dist/vue-intergrall-plugins.min.js +7 -7
- package/dist/vue-intergrall-plugins.ssr.js +245 -136
- package/package.json +61 -61
- package/src/lib-components/Buttons/IconButton.vue +27 -27
- package/src/lib-components/Buttons/SimpleButton.vue +140 -140
- package/src/lib-components/Cards/Card.vue +490 -490
- package/src/lib-components/Cards/CardCheck.vue +35 -35
- package/src/lib-components/Cards/CardFile.vue +163 -163
- package/src/lib-components/Chat/BtnDownloadAllFiles.vue +36 -36
- package/src/lib-components/Chat/BtnEmojis.vue +118 -118
- package/src/lib-components/Chat/BtnExpand.vue +17 -17
- package/src/lib-components/Chat/BtnFiles.vue +486 -486
- package/src/lib-components/Chat/BtnMic.vue +60 -60
- package/src/lib-components/Chat/BtnScreenShare.vue +31 -31
- package/src/lib-components/Chat/BtnStandardMessages.vue +17 -17
- package/src/lib-components/Chat/ExpandTextarea.vue +427 -427
- package/src/lib-components/Chat/MultipleFilePreview.vue +291 -291
- package/src/lib-components/Chat/Picker.vue +525 -525
- package/src/lib-components/Chat/RemainingCharacters.vue +28 -28
- package/src/lib-components/Chat/SingleFilePreview.vue +94 -94
- package/src/lib-components/Chat/SkeletonPicker.vue +110 -110
- package/src/lib-components/Chat/StandardMessages.vue +252 -252
- package/src/lib-components/Chat/TextFooter.vue +1007 -1007
- package/src/lib-components/Email/EmailExpanded.vue +270 -270
- package/src/lib-components/Email/EmailFile.vue +192 -192
- package/src/lib-components/Email/EmailFrom.vue +66 -66
- package/src/lib-components/Email/EmailItem.vue +867 -850
- package/src/lib-components/Email/EmailTo.vue +64 -64
- package/src/lib-components/Loader/Loader.vue +78 -78
- package/src/lib-components/Messages/AnexoMensagem.vue +534 -497
- package/src/lib-components/Messages/CardAttachment.vue +61 -61
- package/src/lib-components/Messages/CardMessages.vue +687 -687
- package/src/lib-components/Messages/InteratividadeBotoes.vue +197 -197
- package/src/lib-components/Messages/InteratividadeContato.vue +32 -32
- package/src/lib-components/Messages/InteratividadeContatoItem.vue +235 -235
- package/src/lib-components/Messages/InteratividadeFormulario.vue +334 -334
- package/src/lib-components/Messages/InteratividadePopup.vue +95 -95
- package/src/lib-components/Messages/LinkPreview.vue +176 -176
- package/src/lib-components/Scroll/ScrollContent.vue +166 -166
- package/src/lib-components/Templates/TemplateGenerator.vue +640 -640
- package/src/lib-components/Templates/TemplateMessage.vue +83 -83
- package/src/lib-components/Templates/TemplateSingle.vue +478 -478
|
@@ -1,193 +1,193 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<transition-group name="fade" mode="out-in">
|
|
3
|
-
<VueLoader v-if="isLoading" key="file-loader" />
|
|
4
|
-
<div v-else key="file-container" class="email-file">
|
|
5
|
-
<span v-if="imageURL" class="anexo-img box-shadow" @click.stop="openWindowFromURL(imageURL, true)"
|
|
6
|
-
:title="`Visualizar ${filename}`">
|
|
7
|
-
<img :src="`${imageURL}`" :alt="filename" />
|
|
8
|
-
</span>
|
|
9
|
-
<span v-else-if="video" class="anexo-video box-shadow">
|
|
10
|
-
<video controls :src="docURL" :title="filename"></video>
|
|
11
|
-
</span>
|
|
12
|
-
<span v-else class="anexo-icone" :class="[iconClass]" @click.stop="openWindowFromURL(docURL, false)"
|
|
13
|
-
:title="`Visualizar ${filename}`" target="_blank">
|
|
14
|
-
<fa-icon :icon="icon" />
|
|
15
|
-
</span>
|
|
16
|
-
<a class="anexo-download box-shadow" :href="downloadURL" @click.stop :download="`${filename}`" target="_blank"
|
|
17
|
-
:title="`Download ${filename}`">
|
|
18
|
-
<fa-icon :icon="['fas', 'download']" />
|
|
19
|
-
</a>
|
|
20
|
-
<span class="anexo-name" :title="filename" @click.stop v-text="filename"></span>
|
|
21
|
-
</div>
|
|
22
|
-
</transition-group>
|
|
23
|
-
</template>
|
|
24
|
-
|
|
25
|
-
<script>
|
|
26
|
-
import { fileHandler } from "@/mixins/fileHandler"
|
|
27
|
-
|
|
28
|
-
export default {
|
|
29
|
-
mixins: [fileHandler],
|
|
30
|
-
props: {
|
|
31
|
-
anexo: {
|
|
32
|
-
type: [Object, String],
|
|
33
|
-
default: () => { return {} }
|
|
34
|
-
},
|
|
35
|
-
dominio: {
|
|
36
|
-
type: String,
|
|
37
|
-
required: true
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
mounted() {
|
|
41
|
-
this.setFileVars(this.anexo, { dominio: this.dominio })
|
|
42
|
-
},
|
|
43
|
-
}
|
|
44
|
-
</script>
|
|
45
|
-
<style>
|
|
46
|
-
.email-file {
|
|
47
|
-
display: flex;
|
|
48
|
-
align-items: center;
|
|
49
|
-
justify-content: flex-end;
|
|
50
|
-
flex-direction: column;
|
|
51
|
-
min-width: 50px;
|
|
52
|
-
width: auto;
|
|
53
|
-
max-width: 100px;
|
|
54
|
-
height: 70px;
|
|
55
|
-
position: relative;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.anexo-img {
|
|
59
|
-
display: flex;
|
|
60
|
-
justify-content: center;
|
|
61
|
-
align-items: center;
|
|
62
|
-
width: 100%;
|
|
63
|
-
height: 100%;
|
|
64
|
-
overflow: hidden;
|
|
65
|
-
background-color: rgba(0, 0, 0, .2);
|
|
66
|
-
border-radius: 2.5px;
|
|
67
|
-
cursor: pointer;
|
|
68
|
-
opacity: .9;
|
|
69
|
-
transition: opacity 150ms;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.anexo-img:hover {
|
|
73
|
-
opacity: 1;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.anexo-img img {
|
|
77
|
-
max-width: 100%;
|
|
78
|
-
font-size: 12.8px;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.anexo-video {
|
|
82
|
-
width: 100%;
|
|
83
|
-
height: 100%;
|
|
84
|
-
max-width: 100%;
|
|
85
|
-
overflow: hidden;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.anexo-video video {
|
|
89
|
-
max-width: 100%;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.box-shadow {
|
|
93
|
-
-webkit-box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
|
|
94
|
-
-moz-box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
|
|
95
|
-
box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.anexo-icone {
|
|
99
|
-
display: flex;
|
|
100
|
-
justify-content: center;
|
|
101
|
-
align-items: center;
|
|
102
|
-
font-size: 30px;
|
|
103
|
-
cursor: pointer;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.anexo-icone:hover {
|
|
107
|
-
opacity: 1
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
.anexo-icone:visited {
|
|
111
|
-
color: inherit;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
.anexo-icone.pdf {
|
|
115
|
-
position: relative;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.anexo-icone.pdf svg {
|
|
119
|
-
color: rgb(231, 76, 60);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.anexo-icone.xls svg {
|
|
123
|
-
color: rgb(0, 166, 90);
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.anexo-icone.ppt svg {
|
|
127
|
-
color: rgb(230, 126, 34);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.anexo-icone.zip svg {
|
|
131
|
-
color: rgb(116, 52, 219);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.anexo-icone.xml svg {
|
|
135
|
-
color: rgb(52, 152, 219);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.anexo-icone.audio svg {
|
|
139
|
-
color: rgb(80, 104, 121);
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
.anexo-icone.pdf::after {
|
|
143
|
-
content: "";
|
|
144
|
-
position: absolute;
|
|
145
|
-
bottom: 2px;
|
|
146
|
-
transform: translateY(2px);
|
|
147
|
-
width: 20px;
|
|
148
|
-
height: 20px;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.anexo-icone.doc {
|
|
152
|
-
color: #15517F;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.anexo-icone.doc::after {
|
|
156
|
-
content: "";
|
|
157
|
-
position: absolute;
|
|
158
|
-
width: 20px;
|
|
159
|
-
height: 20px;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.anexo-download {
|
|
163
|
-
position: absolute;
|
|
164
|
-
top: 0;
|
|
165
|
-
right: 0;
|
|
166
|
-
border-radius: 5px;
|
|
167
|
-
padding: 5px;
|
|
168
|
-
display: flex;
|
|
169
|
-
justify-content: center;
|
|
170
|
-
align-items: center;
|
|
171
|
-
color: #222;
|
|
172
|
-
background-color: #FFF;
|
|
173
|
-
z-index: 1;
|
|
174
|
-
font-size: 12.8px;
|
|
175
|
-
cursor: pointer;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.anexo-name {
|
|
179
|
-
max-width: 100%;
|
|
180
|
-
font-size: 12.8px;
|
|
181
|
-
overflow: hidden;
|
|
182
|
-
text-overflow: ellipsis;
|
|
183
|
-
white-space: nowrap;
|
|
184
|
-
padding: 2px 0 5px 0;
|
|
185
|
-
height: 20px;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
.anexo-img,
|
|
189
|
-
.anexo-video,
|
|
190
|
-
.anexo-icone {
|
|
191
|
-
max-height: calc(100% - 20px);
|
|
192
|
-
}
|
|
1
|
+
<template>
|
|
2
|
+
<transition-group name="fade" mode="out-in">
|
|
3
|
+
<VueLoader v-if="isLoading" key="file-loader" />
|
|
4
|
+
<div v-else key="file-container" class="email-file">
|
|
5
|
+
<span v-if="imageURL" class="anexo-img box-shadow" @click.stop="openWindowFromURL(imageURL, true)"
|
|
6
|
+
:title="`Visualizar ${filename}`">
|
|
7
|
+
<img :src="`${imageURL}`" :alt="filename" />
|
|
8
|
+
</span>
|
|
9
|
+
<span v-else-if="video" class="anexo-video box-shadow">
|
|
10
|
+
<video controls :src="docURL" :title="filename"></video>
|
|
11
|
+
</span>
|
|
12
|
+
<span v-else class="anexo-icone" :class="[iconClass]" @click.stop="openWindowFromURL(docURL, false)"
|
|
13
|
+
:title="`Visualizar ${filename}`" target="_blank">
|
|
14
|
+
<fa-icon :icon="icon" />
|
|
15
|
+
</span>
|
|
16
|
+
<a class="anexo-download box-shadow" :href="downloadURL" @click.stop :download="`${filename}`" target="_blank"
|
|
17
|
+
:title="`Download ${filename}`">
|
|
18
|
+
<fa-icon :icon="['fas', 'download']" />
|
|
19
|
+
</a>
|
|
20
|
+
<span class="anexo-name" :title="filename" @click.stop v-text="filename"></span>
|
|
21
|
+
</div>
|
|
22
|
+
</transition-group>
|
|
23
|
+
</template>
|
|
24
|
+
|
|
25
|
+
<script>
|
|
26
|
+
import { fileHandler } from "@/mixins/fileHandler"
|
|
27
|
+
|
|
28
|
+
export default {
|
|
29
|
+
mixins: [fileHandler],
|
|
30
|
+
props: {
|
|
31
|
+
anexo: {
|
|
32
|
+
type: [Object, String],
|
|
33
|
+
default: () => { return {} }
|
|
34
|
+
},
|
|
35
|
+
dominio: {
|
|
36
|
+
type: String,
|
|
37
|
+
required: true
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
mounted() {
|
|
41
|
+
this.setFileVars(this.anexo, { dominio: this.dominio })
|
|
42
|
+
},
|
|
43
|
+
}
|
|
44
|
+
</script>
|
|
45
|
+
<style>
|
|
46
|
+
.email-file {
|
|
47
|
+
display: flex;
|
|
48
|
+
align-items: center;
|
|
49
|
+
justify-content: flex-end;
|
|
50
|
+
flex-direction: column;
|
|
51
|
+
min-width: 50px;
|
|
52
|
+
width: auto;
|
|
53
|
+
max-width: 100px;
|
|
54
|
+
height: 70px;
|
|
55
|
+
position: relative;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.anexo-img {
|
|
59
|
+
display: flex;
|
|
60
|
+
justify-content: center;
|
|
61
|
+
align-items: center;
|
|
62
|
+
width: 100%;
|
|
63
|
+
height: 100%;
|
|
64
|
+
overflow: hidden;
|
|
65
|
+
background-color: rgba(0, 0, 0, .2);
|
|
66
|
+
border-radius: 2.5px;
|
|
67
|
+
cursor: pointer;
|
|
68
|
+
opacity: .9;
|
|
69
|
+
transition: opacity 150ms;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.anexo-img:hover {
|
|
73
|
+
opacity: 1;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.anexo-img img {
|
|
77
|
+
max-width: 100%;
|
|
78
|
+
font-size: 12.8px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.anexo-video {
|
|
82
|
+
width: 100%;
|
|
83
|
+
height: 100%;
|
|
84
|
+
max-width: 100%;
|
|
85
|
+
overflow: hidden;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.anexo-video video {
|
|
89
|
+
max-width: 100%;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.box-shadow {
|
|
93
|
+
-webkit-box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
|
|
94
|
+
-moz-box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
|
|
95
|
+
box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.anexo-icone {
|
|
99
|
+
display: flex;
|
|
100
|
+
justify-content: center;
|
|
101
|
+
align-items: center;
|
|
102
|
+
font-size: 30px;
|
|
103
|
+
cursor: pointer;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.anexo-icone:hover {
|
|
107
|
+
opacity: 1
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.anexo-icone:visited {
|
|
111
|
+
color: inherit;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.anexo-icone.pdf {
|
|
115
|
+
position: relative;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.anexo-icone.pdf svg {
|
|
119
|
+
color: rgb(231, 76, 60);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.anexo-icone.xls svg {
|
|
123
|
+
color: rgb(0, 166, 90);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.anexo-icone.ppt svg {
|
|
127
|
+
color: rgb(230, 126, 34);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.anexo-icone.zip svg {
|
|
131
|
+
color: rgb(116, 52, 219);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.anexo-icone.xml svg {
|
|
135
|
+
color: rgb(52, 152, 219);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.anexo-icone.audio svg {
|
|
139
|
+
color: rgb(80, 104, 121);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.anexo-icone.pdf::after {
|
|
143
|
+
content: "";
|
|
144
|
+
position: absolute;
|
|
145
|
+
bottom: 2px;
|
|
146
|
+
transform: translateY(2px);
|
|
147
|
+
width: 20px;
|
|
148
|
+
height: 20px;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.anexo-icone.doc {
|
|
152
|
+
color: #15517F;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.anexo-icone.doc::after {
|
|
156
|
+
content: "";
|
|
157
|
+
position: absolute;
|
|
158
|
+
width: 20px;
|
|
159
|
+
height: 20px;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.anexo-download {
|
|
163
|
+
position: absolute;
|
|
164
|
+
top: 0;
|
|
165
|
+
right: 0;
|
|
166
|
+
border-radius: 5px;
|
|
167
|
+
padding: 5px;
|
|
168
|
+
display: flex;
|
|
169
|
+
justify-content: center;
|
|
170
|
+
align-items: center;
|
|
171
|
+
color: #222;
|
|
172
|
+
background-color: #FFF;
|
|
173
|
+
z-index: 1;
|
|
174
|
+
font-size: 12.8px;
|
|
175
|
+
cursor: pointer;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.anexo-name {
|
|
179
|
+
max-width: 100%;
|
|
180
|
+
font-size: 12.8px;
|
|
181
|
+
overflow: hidden;
|
|
182
|
+
text-overflow: ellipsis;
|
|
183
|
+
white-space: nowrap;
|
|
184
|
+
padding: 2px 0 5px 0;
|
|
185
|
+
height: 20px;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.anexo-img,
|
|
189
|
+
.anexo-video,
|
|
190
|
+
.anexo-icone {
|
|
191
|
+
max-height: calc(100% - 20px);
|
|
192
|
+
}
|
|
193
193
|
</style>
|
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div :class="emailFromClass">
|
|
3
|
-
<p class="from" v-if="currentName" v-text="currentName" :title="currentName"></p>
|
|
4
|
-
<div v-if="showMail" class="additional-container">
|
|
5
|
-
<span class="additional" v-text="`${email}`" :title="email"></span>
|
|
6
|
-
</div>
|
|
7
|
-
</div>
|
|
8
|
-
</template>
|
|
9
|
-
|
|
10
|
-
<style scoped>
|
|
11
|
-
.email-from {
|
|
12
|
-
display: flex;
|
|
13
|
-
align-items: center;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.email-from .from {
|
|
17
|
-
font-size: 12px;
|
|
18
|
-
font-weight: bold;
|
|
19
|
-
white-space: nowrap;
|
|
20
|
-
text-overflow: ellipsis;
|
|
21
|
-
overflow: hidden;
|
|
22
|
-
margin: 0;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.email-from .additional-container {
|
|
26
|
-
flex: 1;
|
|
27
|
-
overflow: hidden;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.email-from .additional {
|
|
31
|
-
text-overflow: ellipsis;
|
|
32
|
-
white-space: nowrap;
|
|
33
|
-
overflow: hidden;
|
|
34
|
-
margin-left: 5px;
|
|
35
|
-
font-size: 12px;
|
|
36
|
-
color: gray;
|
|
37
|
-
text-overflow: ellipsis;
|
|
38
|
-
}
|
|
39
|
-
</style>
|
|
40
|
-
|
|
41
|
-
<script>
|
|
42
|
-
export default {
|
|
43
|
-
props: {
|
|
44
|
-
currentName: {
|
|
45
|
-
type: String,
|
|
46
|
-
required: false,
|
|
47
|
-
default: ""
|
|
48
|
-
},
|
|
49
|
-
email: {
|
|
50
|
-
type: String,
|
|
51
|
-
required: false,
|
|
52
|
-
default: ""
|
|
53
|
-
},
|
|
54
|
-
showMail: {
|
|
55
|
-
type: Boolean,
|
|
56
|
-
required: false,
|
|
57
|
-
default: true
|
|
58
|
-
},
|
|
59
|
-
emailFromClass: {
|
|
60
|
-
type: String,
|
|
61
|
-
required: false,
|
|
62
|
-
default: 'email-from'
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div :class="emailFromClass">
|
|
3
|
+
<p class="from" v-if="currentName" v-text="currentName" :title="currentName"></p>
|
|
4
|
+
<div v-if="showMail" class="additional-container">
|
|
5
|
+
<span class="additional" v-text="`${email}`" :title="email"></span>
|
|
6
|
+
</div>
|
|
7
|
+
</div>
|
|
8
|
+
</template>
|
|
9
|
+
|
|
10
|
+
<style scoped>
|
|
11
|
+
.email-from {
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.email-from .from {
|
|
17
|
+
font-size: 12px;
|
|
18
|
+
font-weight: bold;
|
|
19
|
+
white-space: nowrap;
|
|
20
|
+
text-overflow: ellipsis;
|
|
21
|
+
overflow: hidden;
|
|
22
|
+
margin: 0;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.email-from .additional-container {
|
|
26
|
+
flex: 1;
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.email-from .additional {
|
|
31
|
+
text-overflow: ellipsis;
|
|
32
|
+
white-space: nowrap;
|
|
33
|
+
overflow: hidden;
|
|
34
|
+
margin-left: 5px;
|
|
35
|
+
font-size: 12px;
|
|
36
|
+
color: gray;
|
|
37
|
+
text-overflow: ellipsis;
|
|
38
|
+
}
|
|
39
|
+
</style>
|
|
40
|
+
|
|
41
|
+
<script>
|
|
42
|
+
export default {
|
|
43
|
+
props: {
|
|
44
|
+
currentName: {
|
|
45
|
+
type: String,
|
|
46
|
+
required: false,
|
|
47
|
+
default: ""
|
|
48
|
+
},
|
|
49
|
+
email: {
|
|
50
|
+
type: String,
|
|
51
|
+
required: false,
|
|
52
|
+
default: ""
|
|
53
|
+
},
|
|
54
|
+
showMail: {
|
|
55
|
+
type: Boolean,
|
|
56
|
+
required: false,
|
|
57
|
+
default: true
|
|
58
|
+
},
|
|
59
|
+
emailFromClass: {
|
|
60
|
+
type: String,
|
|
61
|
+
required: false,
|
|
62
|
+
default: 'email-from'
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
</script>
|