vue-intergrall-plugins 1.0.16 → 1.0.18

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.
@@ -6975,12 +6975,12 @@ var __vue_staticRenderFns__$g = [];
6975
6975
  /* style */
6976
6976
  var __vue_inject_styles__$g = function __vue_inject_styles__(inject) {
6977
6977
  if (!inject) return;
6978
- inject("data-v-4af8626e_0", {
6978
+ inject("data-v-7478840d_0", {
6979
6979
  source: ".fade-enter-active,.fade-leave-active{transition:opacity .5s}.fade-enter,.fade-leave-to{opacity:0}",
6980
6980
  map: undefined,
6981
6981
  media: undefined
6982
- }), inject("data-v-4af8626e_1", {
6983
- source: ".file-item{width:100%;height:100%;display:flex;justify-content:center;align-items:center;position:relative}.file-item-transition{max-width:100%;max-height:100%;display:flex;justify-content:center;align-items:center;position:relative}.file-item .req-loader{position:absolute;top:calc(50% - 12.5px);right:calc(50% - 12.5px)}.file-item-transition img{max-width:45px;max-height:45px}.file-item a{margin-left:5px;text-decoration:none;color:#333}.file-icon{display:flex;justify-content:center;align-items:center;font-size:30px;cursor:pointer}.file-icon:hover{opacity:1}.file-icon:visited{color:inherit}svg{font-size:30px;z-index:1}.file-icon.pdf{position:relative}.file-icon.pdf svg{color:#e74c3c}.file-icon.pdf::after{content:\"\";position:absolute;bottom:2px;transform:translateY(2px);width:20px;height:20px;background-color:#fff}.file-icon.doc{color:#15517f}.file-icon.doc::after{content:\"\";position:absolute;width:20px;height:20px;background-color:#fff}.file-img{display:flex;justify-content:center;align-items:center;width:100%;height:100%;overflow:hidden;background-color:rgba(0,0,0,.2);border-radius:2.5px;cursor:pointer;opacity:.9;transition:opacity 150ms}.file-img:hover{opacity:1}.file-img img{width:95%}",
6982
+ }), inject("data-v-7478840d_1", {
6983
+ source: ".file-item{width:100%;height:100%;display:flex;justify-content:center;align-items:center;position:relative}.file-item-transition{max-width:100%;max-height:100%;display:flex;justify-content:center;align-items:center;position:relative}.file-item .req-loader{position:absolute;top:calc(50% - 12.5px);right:calc(50% - 12.5px)}.file-item-transition img{max-width:45px;max-height:45px}.file-item a{margin-left:5px;text-decoration:none;color:#333}.file-icon{display:flex;justify-content:center;align-items:center;font-size:30px;cursor:pointer}.file-icon:hover{opacity:1}.file-icon:visited{color:inherit}.file-icon.pdf{position:relative}.file-icon.pdf svg{color:#e74c3c}.file-icon.pdf::after{content:\"\";position:absolute;bottom:2px;transform:translateY(2px);width:20px;height:20px;background-color:#fff}.file-icon.doc{color:#15517f}.file-icon.doc::after{content:\"\";position:absolute;width:20px;height:20px;background-color:#fff}.file-img{display:flex;justify-content:center;align-items:center;width:100%;height:100%;overflow:hidden;background-color:rgba(0,0,0,.2);border-radius:2.5px;cursor:pointer;opacity:.9;transition:opacity 150ms}.file-img:hover{opacity:1}.file-img img{width:95%}",
6984
6984
  map: undefined,
6985
6985
  media: undefined
6986
6986
  });
@@ -6988,7 +6988,7 @@ var __vue_inject_styles__$g = function __vue_inject_styles__(inject) {
6988
6988
  /* scoped */
6989
6989
  var __vue_scope_id__$g = undefined;
6990
6990
  /* module identifier */
6991
- var __vue_module_identifier__$g = "data-v-4af8626e";
6991
+ var __vue_module_identifier__$g = "data-v-7478840d";
6992
6992
  /* functional template */
6993
6993
  var __vue_is_functional_template__$g = false;
6994
6994
  /* style inject shadow dom */
@@ -8069,8 +8069,8 @@ var __vue_staticRenderFns__$9 = [];
8069
8069
  /* style */
8070
8070
  var __vue_inject_styles__$9 = function __vue_inject_styles__(inject) {
8071
8071
  if (!inject) return;
8072
- inject("data-v-a06e5a30_0", {
8073
- source: ".audio-speed-control{display:flex;align-items:center;cursor:pointer;margin-left:10px}.speed-circle{width:40px;height:40px;background-color:#f1f3f4;border:solid #000 1px;color:#000;display:flex;justify-content:center;align-items:center;border-radius:50%;font-weight:700;transition:background-color .3s}.speed-circle.active{background-color:#f1f3f4;border:solid #00f 1px}",
8072
+ inject("data-v-1a0bd902_0", {
8073
+ source: ".audio-speed-control{display:flex;align-items:center;cursor:pointer;margin:0 5px}.speed-circle{width:35px;height:35px;background-color:#f1f3f4;border:solid #000 1px;color:#000;display:flex;justify-content:center;align-items:center;border-radius:50%;font-weight:700;transition:background-color .3s}.speed-circle.active{background-color:#f1f3f4;border:solid #00f 1px}",
8074
8074
  map: undefined,
8075
8075
  media: undefined
8076
8076
  });
@@ -8078,7 +8078,7 @@ var __vue_inject_styles__$9 = function __vue_inject_styles__(inject) {
8078
8078
  /* scoped */
8079
8079
  var __vue_scope_id__$9 = undefined;
8080
8080
  /* module identifier */
8081
- var __vue_module_identifier__$9 = "data-v-a06e5a30";
8081
+ var __vue_module_identifier__$9 = "data-v-1a0bd902";
8082
8082
  /* functional template */
8083
8083
  var __vue_is_functional_template__$9 = false;
8084
8084
  /* style inject shadow dom */
@@ -8287,12 +8287,12 @@ var __vue_staticRenderFns__$8 = [];
8287
8287
  /* style */
8288
8288
  var __vue_inject_styles__$8 = function __vue_inject_styles__(inject) {
8289
8289
  if (!inject) return;
8290
- inject("data-v-287b21ce_0", {
8290
+ inject("data-v-e0e6a934_0", {
8291
8291
  source: ".tippy-tooltip.light-theme .tippy-backdrop{background-color:#fff}.tippy-tooltip.light-theme{background-color:#fff;border:1px solid #ccc;color:#333;-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.tippy-confirmation p{margin-bottom:3px}.tippy-confirmation button{border:unset;background-color:#f1f1f1;border-radius:3px;padding:5px 8px;cursor:pointer;font-size:12px}.tippy-confirmation button.cancel{border-bottom:2px solid red;margin-right:15px}.tippy-confirmation button.confirm{border-bottom:2px solid green}",
8292
8292
  map: undefined,
8293
8293
  media: undefined
8294
- }), inject("data-v-287b21ce_1", {
8295
- source: ".mensagem__principal .default-doc{background-color:var(--files-bg)}.mensagem__principal .default-doc:hover{background-color:var(--files-bg-hover)}.mensagem__outros .default-doc{background-color:rgba(100,100,100,.1)}.mensagem__outros .default-doc:hover{background-color:rgba(100,100,100,.3)}.default-doc:hover p{text-decoration:underline}.default-doc{display:flex;align-items:center;padding:10px;border-radius:5px;width:100%;max-width:100%;cursor:pointer;transition:background-color 150ms ease-in-out}.default-doc svg{font-size:19.2px;margin-right:5px}.default-doc p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-actions{display:flex;justify-content:flex-end;width:100%;padding:5px}.file-actions a{margin-right:0}.mensagem__principal .file-action-button{background-color:var(--files-bg)}.mensagem__outros .file-action-button{background-color:rgba(100,100,100,.1)}.mensagem__principal .file-action-button:hover{background-color:var(--files-bg-hover)}.mensagem__outros .file-action-button:hover{background-color:rgba(100,100,100,.3)}.file-action-button{display:flex;justify-content:center;align-items:center;margin-left:12px;cursor:pointer;padding:5px;border-radius:5px;transition:background-color 150ms ease-in-out}.file-action-button a{margin:0}.fade-enter-active,.fade-leave-active{transition:opacity .5s}.fade-enter,.fade-leave-to{opacity:0}.mensagem-div-anexo{width:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;overflow:hidden}.anexo-container{width:100%;margin-top:5px;overflow:hidden;display:flex;max-height:300px}.anexo-container .arquivo-erro,.anexo-container a{padding:10px 15px 15px 15px;display:flex;justify-content:center;align-items:center}.anexo-container p{text-overflow:ellipsis;overflow:hidden}.anexo-container .arquivo-erro,.anexo-container p{margin:0;margin-left:15px;font-size:14.4px}.anexo-container svg{font-size:32px}.anexo-mensagem audio .divAudioPai{outline:0;width:100%;margin-bottom:5px}.audioStyle{width:370px}.divAudioPai{display:flex;background-color:#f1f3f4;border-radius:50%;width:100%;border-bottom-right-radius:26px;border-top-right-radius:26px}.anexo-mensagem video{flex:1;width:100%;max-width:350px;cursor:pointer;margin-bottom:5px}.anexos-links-container{width:100%;display:flex;justify-content:center;align-items:center}.anexos-links-container a{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-right:5px;font-weight:550;color:inherit;text-decoration:none}.anexos-links-container svg{cursor:pointer}.mensagem-div-anexo img{cursor:pointer;margin:10px 0;min-width:35px;width:100%;max-width:250px}.anexo-transition{width:100%;height:100%}.anexo-mensagem{display:flex;justify-content:center;align-items:center;flex-direction:column;width:100%}.alert-danger{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.alert{position:relative;padding:10.4px 19.2px;margin:5px 0;border:1px solid transparent;border-radius:4px;text-align:center}.alert svg{font-size:1.025em;margin-right:2px}.pdf{color:#e74c3c}.doc{color:#006bc9}",
8294
+ }), inject("data-v-e0e6a934_1", {
8295
+ source: ".mensagem__principal .default-doc{background-color:var(--files-bg)}.mensagem__principal .default-doc:hover{background-color:var(--files-bg-hover)}.mensagem__outros .default-doc{background-color:rgba(100,100,100,.1)}.mensagem__outros .default-doc:hover{background-color:rgba(100,100,100,.3)}.default-doc:hover p{text-decoration:underline}.default-doc{display:flex;align-items:center;padding:10px;border-radius:5px;width:100%;max-width:100%;cursor:pointer;transition:background-color 150ms ease-in-out}.default-doc svg{font-size:19.2px;margin-right:5px}.default-doc p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-actions{display:flex;justify-content:flex-end;width:100%;padding:5px}.file-actions a{margin-right:0}.mensagem__principal .file-action-button{background-color:var(--files-bg)}.mensagem__outros .file-action-button{background-color:rgba(100,100,100,.1)}.mensagem__principal .file-action-button:hover{background-color:var(--files-bg-hover)}.mensagem__outros .file-action-button:hover{background-color:rgba(100,100,100,.3)}.file-action-button{display:flex;justify-content:center;align-items:center;margin-left:12px;cursor:pointer;padding:5px;border-radius:5px;transition:background-color 150ms ease-in-out}.file-action-button a{margin:0}.fade-enter-active,.fade-leave-active{transition:opacity .5s}.fade-enter,.fade-leave-to{opacity:0}.mensagem-div-anexo{width:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;overflow:hidden}.anexo-container{width:100%;margin-top:5px;overflow:hidden;display:flex;max-height:300px}.anexo-container .arquivo-erro,.anexo-container a{padding:10px 15px 15px 15px;display:flex;justify-content:center;align-items:center}.anexo-container p{text-overflow:ellipsis;overflow:hidden}.anexo-container .arquivo-erro,.anexo-container p{margin:0;margin-left:15px;font-size:14.4px}.anexo-container svg{font-size:32px}.anexo-mensagem audio .divAudioPai{outline:0;width:100%;margin-bottom:5px}.audioStyle{width:370px;min-width:calc(100% - 45px)}.divAudioPai{display:flex;background-color:#f1f3f4;border-radius:50%;width:100%;border-bottom-right-radius:26px;border-top-right-radius:26px}.anexo-mensagem video{flex:1;width:100%;max-width:350px;cursor:pointer;margin-bottom:5px}.anexos-links-container{width:100%;display:flex;justify-content:center;align-items:center}.anexos-links-container a{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-right:5px;font-weight:550;color:inherit;text-decoration:none}.anexos-links-container svg{cursor:pointer}.mensagem-div-anexo img{cursor:pointer;margin:10px 0;min-width:35px;width:100%;max-width:250px}.anexo-transition{width:100%;height:100%}.anexo-mensagem{display:flex;justify-content:center;align-items:center;flex-direction:column;width:100%}.alert-danger{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.alert{position:relative;padding:10.4px 19.2px;margin:5px 0;border:1px solid transparent;border-radius:4px;text-align:center}.alert svg{font-size:1.025em;margin-right:2px}.pdf{color:#e74c3c}.doc{color:#006bc9}",
8296
8296
  map: undefined,
8297
8297
  media: undefined
8298
8298
  });
@@ -8300,7 +8300,7 @@ var __vue_inject_styles__$8 = function __vue_inject_styles__(inject) {
8300
8300
  /* scoped */
8301
8301
  var __vue_scope_id__$8 = undefined;
8302
8302
  /* module identifier */
8303
- var __vue_module_identifier__$8 = "data-v-287b21ce";
8303
+ var __vue_module_identifier__$8 = "data-v-e0e6a934";
8304
8304
  /* functional template */
8305
8305
  var __vue_is_functional_template__$8 = false;
8306
8306
  /* style inject shadow dom */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-intergrall-plugins",
3
- "version": "1.0.16",
3
+ "version": "1.0.18",
4
4
  "description": "",
5
5
  "main": "dist/vue-intergrall-plugins.ssr.js",
6
6
  "browser": "dist/vue-intergrall-plugins.esm.js",
@@ -3,22 +3,16 @@
3
3
  <transition-group name="fade" mode="out-in" class="file-item-transition">
4
4
  <div v-if="isLoading" :small="true" key="card-file-loader" class="req-loader slow"></div>
5
5
  <template v-else>
6
- <span v-if="imageURL" class="file-img box-shadow" @click="openWindowFromURL(imageURL, true)" key="card-file-img" :title="filename">
6
+ <span v-if="imageURL" class="file-img box-shadow" @click="openWindowFromURL(imageURL, true)" key="card-file-img"
7
+ :title="filename">
7
8
  <img :src="`${imageURL}`" :alt="filename" />
8
9
  </span>
9
- <span
10
- v-else
11
- class="file-icon"
12
- key="card-file-doc"
13
- :class="[iconClass]"
14
- @click="openWindowFromURL(docURL, false)"
15
- :title="filename"
16
- target="_blank"
17
- rel="noreferrer noopener"
18
- >
10
+ <span v-else class="file-icon" key="card-file-doc" :class="[iconClass]"
11
+ @click="openWindowFromURL(docURL, false)" :title="filename" target="_blank" rel="noreferrer noopener">
19
12
  <fa-icon :icon="icon" />
20
13
  </span>
21
- <a :href="imageURL ? imageURL : docURL" :download="`${filename}`" target="_blank" rel="noreferrer noopener" key="card-file-download-icon" :title="`Download ${filename}`">
14
+ <a :href="imageURL ? imageURL : docURL" :download="`${filename}`" target="_blank" rel="noreferrer noopener"
15
+ key="card-file-download-icon" :title="`Download ${filename}`">
22
16
  <fa-icon :icon="['fas', 'download']" />
23
17
  </a>
24
18
  </template>
@@ -27,12 +21,15 @@
27
21
  </template>
28
22
 
29
23
  <style>
30
- .fade-enter-active, .fade-leave-active {
31
- transition: opacity .5s;
32
- }
33
- .fade-enter, .fade-leave-to {
34
- opacity: 0;
35
- }
24
+ .fade-enter-active,
25
+ .fade-leave-active {
26
+ transition: opacity .5s;
27
+ }
28
+
29
+ .fade-enter,
30
+ .fade-leave-to {
31
+ opacity: 0;
32
+ }
36
33
  </style>
37
34
 
38
35
  <script>
@@ -54,7 +51,7 @@ export default {
54
51
  required: true
55
52
  }
56
53
  },
57
- mounted(){
54
+ mounted() {
58
55
  this.setFileVars(this.file, { dominio: this.domain })
59
56
  }
60
57
  }
@@ -69,6 +66,7 @@ export default {
69
66
  align-items: center;
70
67
  position: relative;
71
68
  }
69
+
72
70
  .file-item-transition {
73
71
  max-width: 100%;
74
72
  max-height: 100%;
@@ -77,15 +75,18 @@ export default {
77
75
  align-items: center;
78
76
  position: relative;
79
77
  }
78
+
80
79
  .file-item .req-loader {
81
80
  position: absolute;
82
81
  top: calc(50% - 12.5px);
83
82
  right: calc(50% - 12.5px);
84
83
  }
84
+
85
85
  .file-item-transition img {
86
86
  max-width: 45px;
87
87
  max-height: 45px;
88
88
  }
89
+
89
90
  .file-item a {
90
91
  margin-left: 5px;
91
92
  text-decoration: none;
@@ -99,22 +100,23 @@ export default {
99
100
  font-size: 30px;
100
101
  cursor: pointer;
101
102
  }
103
+
102
104
  .file-icon:hover {
103
105
  opacity: 1
104
106
  }
107
+
105
108
  .file-icon:visited {
106
109
  color: inherit;
107
110
  }
108
- svg {
109
- font-size: 30px;
110
- z-index: 1;
111
- }
111
+
112
112
  .file-icon.pdf {
113
113
  position: relative;
114
114
  }
115
+
115
116
  .file-icon.pdf svg {
116
117
  color: rgb(231, 76, 60);
117
118
  }
119
+
118
120
  .file-icon.pdf::after {
119
121
  content: "";
120
122
  position: absolute;
@@ -124,9 +126,11 @@ svg {
124
126
  height: 20px;
125
127
  background-color: #FFF;
126
128
  }
129
+
127
130
  .file-icon.doc {
128
- color: #15517F;
131
+ color: #15517F;
129
132
  }
133
+
130
134
  .file-icon.doc::after {
131
135
  content: "";
132
136
  position: absolute;
@@ -134,6 +138,7 @@ svg {
134
138
  height: 20px;
135
139
  background-color: #FFF;
136
140
  }
141
+
137
142
  .file-img {
138
143
  display: flex;
139
144
  justify-content: center;
@@ -151,6 +156,7 @@ svg {
151
156
  .file-img:hover {
152
157
  opacity: 1;
153
158
  }
159
+
154
160
  .file-img img {
155
161
  width: 95%;
156
162
  }
@@ -35,12 +35,12 @@ export default {
35
35
  display: flex;
36
36
  align-items: center;
37
37
  cursor: pointer;
38
- margin-left: 10px;
38
+ margin: 0 5px;
39
39
  }
40
40
 
41
41
  .speed-circle {
42
- width: 40px;
43
- height: 40px;
42
+ width: 35px;
43
+ height: 35px;
44
44
  background-color: #f1f3f4; /* Cor do círculo */
45
45
  border: solid black 1px;
46
46
  color: black;
@@ -132,8 +132,8 @@
132
132
 
133
133
  <script>
134
134
  import { fileHandler } from "../../mixins/fileHandler";
135
- import Loader from "../Loader/Loader";
136
135
  import AudioSpeedControl from "../Chat/AudioSpeedControl.vue";
136
+ import Loader from "../Loader/Loader";
137
137
 
138
138
  export default {
139
139
  mixins: [fileHandler],
@@ -350,6 +350,7 @@ export default {
350
350
  }
351
351
  .audioStyle {
352
352
  width: 370px;
353
+ min-width: calc(100% - 45px);
353
354
  }
354
355
 
355
356
  .divAudioPai {