vue-intergrall-plugins 1.1.89 → 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.
Files changed (45) hide show
  1. package/README.md +220 -220
  2. package/dist/dist/vue-intergrall-plugins.css +1 -1
  3. package/dist/vue-intergrall-plugins.esm.js +193 -78
  4. package/dist/vue-intergrall-plugins.min.js +7 -7
  5. package/dist/vue-intergrall-plugins.ssr.js +245 -136
  6. package/package.json +61 -61
  7. package/src/lib-components/Buttons/IconButton.vue +27 -27
  8. package/src/lib-components/Buttons/SimpleButton.vue +140 -140
  9. package/src/lib-components/Cards/Card.vue +490 -490
  10. package/src/lib-components/Cards/CardCheck.vue +35 -35
  11. package/src/lib-components/Cards/CardFile.vue +163 -163
  12. package/src/lib-components/Chat/BtnDownloadAllFiles.vue +36 -36
  13. package/src/lib-components/Chat/BtnEmojis.vue +118 -118
  14. package/src/lib-components/Chat/BtnExpand.vue +17 -17
  15. package/src/lib-components/Chat/BtnFiles.vue +486 -486
  16. package/src/lib-components/Chat/BtnMic.vue +60 -60
  17. package/src/lib-components/Chat/BtnScreenShare.vue +31 -31
  18. package/src/lib-components/Chat/BtnStandardMessages.vue +17 -17
  19. package/src/lib-components/Chat/ExpandTextarea.vue +427 -427
  20. package/src/lib-components/Chat/MultipleFilePreview.vue +291 -291
  21. package/src/lib-components/Chat/Picker.vue +525 -525
  22. package/src/lib-components/Chat/RemainingCharacters.vue +28 -28
  23. package/src/lib-components/Chat/SingleFilePreview.vue +94 -94
  24. package/src/lib-components/Chat/SkeletonPicker.vue +110 -110
  25. package/src/lib-components/Chat/StandardMessages.vue +252 -252
  26. package/src/lib-components/Chat/TextFooter.vue +1007 -1007
  27. package/src/lib-components/Email/EmailExpanded.vue +270 -270
  28. package/src/lib-components/Email/EmailFile.vue +192 -192
  29. package/src/lib-components/Email/EmailFrom.vue +66 -66
  30. package/src/lib-components/Email/EmailItem.vue +867 -850
  31. package/src/lib-components/Email/EmailTo.vue +64 -64
  32. package/src/lib-components/Loader/Loader.vue +78 -78
  33. package/src/lib-components/Messages/AnexoMensagem.vue +534 -497
  34. package/src/lib-components/Messages/CardAttachment.vue +61 -61
  35. package/src/lib-components/Messages/CardMessages.vue +687 -687
  36. package/src/lib-components/Messages/InteratividadeBotoes.vue +197 -197
  37. package/src/lib-components/Messages/InteratividadeContato.vue +32 -32
  38. package/src/lib-components/Messages/InteratividadeContatoItem.vue +235 -235
  39. package/src/lib-components/Messages/InteratividadeFormulario.vue +334 -334
  40. package/src/lib-components/Messages/InteratividadePopup.vue +95 -95
  41. package/src/lib-components/Messages/LinkPreview.vue +176 -176
  42. package/src/lib-components/Scroll/ScrollContent.vue +166 -166
  43. package/src/lib-components/Templates/TemplateGenerator.vue +640 -640
  44. package/src/lib-components/Templates/TemplateMessage.vue +83 -83
  45. package/src/lib-components/Templates/TemplateSingle.vue +478 -478
@@ -1,61 +1,61 @@
1
- <template>
2
- <span class="anexo-item">
3
- <transition-group name="fade" mode="out-in" class="transition-anexo-item">
4
- <div v-if="isLoading" :small="true" key="ra-loader-anexo" class="req-loader slow"></div>
5
- <template v-else>
6
- <span v-if="imageURL" class="anexo-img box-shadow" @click="openWindowFromURL(imageURL, true)" key="ra-img-anexo" :title="filename">
7
- <img :src="`${imageURL}`" :alt="filename" />
8
- </span>
9
- <span
10
- v-else
11
- class="anexo-icon"
12
- key="ra-doc-anexo"
13
- :class="[iconClass]"
14
- @click="openWindowFromURL(docURL, false)"
15
- :title="filename"
16
- target="_blank"
17
- rel="noreferrer noopener"
18
- >
19
- <fa-icon :icon="icon" />
20
- </span>
21
- <a :href="imageURL ? imageURL : docURL" :download="`${filename}`" target="_blank" rel="noreferrer noopener" key="ra-download-icon" :title="`Download ${filename}`">
22
- <fa-icon :icon="['fas', 'download']" />
23
- </a>
24
- </template>
25
- </transition-group>
26
- </span>
27
- </template>
28
-
29
- <style>
30
- .fade-enter-active, .fade-leave-active {
31
- transition: opacity .5s;
32
- }
33
- .fade-enter, .fade-leave-to {
34
- opacity: 0;
35
- }
36
- </style>
37
-
38
- <script>
39
- import { fileHandler } from "../../mixins/fileHandler"
40
-
41
- export default {
42
- mixins: [fileHandler],
43
- props: {
44
- anexo: {
45
- type: Object,
46
- required: true
47
- },
48
- dictionary: {
49
- type: Object,
50
- required: true
51
- },
52
- dominio: {
53
- type: String,
54
- required: true
55
- }
56
- },
57
- mounted() {
58
- this.setFileVars(this.anexo, { dominio: this.dominio })
59
- }
60
- }
61
- </script>
1
+ <template>
2
+ <span class="anexo-item">
3
+ <transition-group name="fade" mode="out-in" class="transition-anexo-item">
4
+ <div v-if="isLoading" :small="true" key="ra-loader-anexo" class="req-loader slow"></div>
5
+ <template v-else>
6
+ <span v-if="imageURL" class="anexo-img box-shadow" @click="openWindowFromURL(imageURL, true)" key="ra-img-anexo" :title="filename">
7
+ <img :src="`${imageURL}`" :alt="filename" />
8
+ </span>
9
+ <span
10
+ v-else
11
+ class="anexo-icon"
12
+ key="ra-doc-anexo"
13
+ :class="[iconClass]"
14
+ @click="openWindowFromURL(docURL, false)"
15
+ :title="filename"
16
+ target="_blank"
17
+ rel="noreferrer noopener"
18
+ >
19
+ <fa-icon :icon="icon" />
20
+ </span>
21
+ <a :href="imageURL ? imageURL : docURL" :download="`${filename}`" target="_blank" rel="noreferrer noopener" key="ra-download-icon" :title="`Download ${filename}`">
22
+ <fa-icon :icon="['fas', 'download']" />
23
+ </a>
24
+ </template>
25
+ </transition-group>
26
+ </span>
27
+ </template>
28
+
29
+ <style>
30
+ .fade-enter-active, .fade-leave-active {
31
+ transition: opacity .5s;
32
+ }
33
+ .fade-enter, .fade-leave-to {
34
+ opacity: 0;
35
+ }
36
+ </style>
37
+
38
+ <script>
39
+ import { fileHandler } from "../../mixins/fileHandler"
40
+
41
+ export default {
42
+ mixins: [fileHandler],
43
+ props: {
44
+ anexo: {
45
+ type: Object,
46
+ required: true
47
+ },
48
+ dictionary: {
49
+ type: Object,
50
+ required: true
51
+ },
52
+ dominio: {
53
+ type: String,
54
+ required: true
55
+ }
56
+ },
57
+ mounted() {
58
+ this.setFileVars(this.anexo, { dominio: this.dominio })
59
+ }
60
+ }
61
+ </script>