vue-intergrall-plugins 1.0.3 → 1.0.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-intergrall-plugins",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "",
5
5
  "main": "dist/vue-intergrall-plugins.ssr.js",
6
6
  "browser": "dist/vue-intergrall-plugins.esm.js",
@@ -36,8 +36,8 @@
36
36
  "minimist": "^1.2.5",
37
37
  "rimraf": "^3.0.2",
38
38
  "rollup": "^2.58.0",
39
+ "rollup-plugin-polyfill-node": "^0.13.0",
39
40
  "rollup-plugin-terser": "^7.0.2",
40
- "rollup-plugin-vue2": "^0.8.1",
41
41
  "vue": "^2.6.14",
42
42
  "vue-template-compiler": "^2.6.14"
43
43
  },
@@ -62,6 +62,7 @@
62
62
  "dependencies": {
63
63
  "axios": "^1.6.7",
64
64
  "kind-of": "^6.0.3",
65
- "rollup-plugin-css-only": "^4.5.2"
65
+ "rollup-plugin-css-only": "^4.5.2",
66
+ "rollup-plugin-vue": "^5.1.9"
66
67
  }
67
- }
68
+ }
@@ -13,11 +13,11 @@
13
13
 
14
14
  <script>
15
15
  import Picker from "./Picker";
16
- import { mixin as clickaway } from "vue-clickaway";
16
+ import * as VueClickAway from "vue-clickaway";
17
17
 
18
18
  export default {
19
19
  components: { Picker },
20
- mixins: [clickaway],
20
+ mixins: [VueClickAway.mixin],
21
21
  props: {
22
22
  emojiId: {
23
23
  type: String,
@@ -188,13 +188,13 @@
188
188
  </style>
189
189
 
190
190
  <script>
191
- import { mixin as clickaway } from "vue-clickaway";
191
+ import * as VueClickAway from "vue-clickaway";
192
192
  import SingleFilePreview from "./SingleFilePreview";
193
193
  import MultipleFilePreview from "./MultipleFilePreview";
194
194
 
195
195
  export default {
196
196
  components: { SingleFilePreview, MultipleFilePreview },
197
- mixins: [clickaway],
197
+ mixins: [VueClickAway.mixin],
198
198
  props: {
199
199
  textId: {
200
200
  type: String,
@@ -47,14 +47,14 @@
47
47
  </template>
48
48
 
49
49
  <script>
50
- import { mixin as clickaway } from "vue-clickaway";
50
+ import * as VueClickAway from "vue-clickaway";
51
51
  import BtnEmojis from "./BtnEmojis";
52
52
  import BtnFiles from "./BtnFiles";
53
53
  import { returnMessageWithHexa } from "../../services/textFormatting";
54
54
 
55
55
  export default {
56
56
  components: { BtnEmojis, BtnFiles },
57
- mixins: [clickaway],
57
+ mixins: [VueClickAway.mixin],
58
58
  props: {
59
59
  identifier: {
60
60
  type: String,
@@ -152,7 +152,7 @@
152
152
 
153
153
  <script>
154
154
  import { setResizeListeners, resetTargets } from "../../services/autoResize";
155
- import { mixin as clickaway } from "vue-clickaway";
155
+ import * as VueClickAway from "vue-clickaway";
156
156
  import { returnMessageWithHexa } from "../../services/textFormatting";
157
157
 
158
158
  import BtnEmojis from "./BtnEmojis";
@@ -179,7 +179,7 @@ export default {
179
179
  BtnScreenShare,
180
180
  BtnDownloadAllFiles,
181
181
  },
182
- mixins: [clickaway],
182
+ mixins: [VueClickAway.mixin],
183
183
  props: {
184
184
  buttons: {
185
185
  type: Object,
@@ -271,7 +271,7 @@ import InteratividadeFormulario from "./InteratividadeFormulario";
271
271
  import Picker from "../Chat/Picker";
272
272
  import { formataTimezoneData } from "../../services/textFormatting";
273
273
  import LinkPreview from "./LinkPreview";
274
- import { mixin as clickaway } from "vue-clickaway";
274
+ import * as VueClickAway from "vue-clickaway";
275
275
 
276
276
  export default {
277
277
  components: {
@@ -329,7 +329,7 @@ export default {
329
329
  created() {
330
330
  if (!this.$root.$refs.chatMessages) this.$root.$refs.chatMessages = this;
331
331
  },
332
- mixins: [clickaway],
332
+ mixins: [VueClickAway.mixin],
333
333
  data() {
334
334
  return {
335
335
  strTooltipAux: "",
@@ -6,11 +6,27 @@
6
6
  <fa-icon :icon="['fas', 'times-circle']" @click="away" />
7
7
  </h1>
8
8
  </div>
9
- <div class="interatividade-popup-conteudo" v-for="(objItem, index) in lista" :key="index">
9
+ <div
10
+ class="interatividade-popup-conteudo"
11
+ v-for="(objItem, index) in lista"
12
+ :key="index"
13
+ >
10
14
  <template v-if="objItem.items && objItem.items.length">
11
- <div class="interatividade-popup-item" v-for="(item, indexItem) in objItem.items" :key="`${index}${indexItem}`">
12
- <p v-if="item.title" v-html="item.title" class="interatividade-popup-item-titulo"></p>
13
- <p v-if="item.description" v-html="item.description" class="interatividade-popup-item-desc"></p>
15
+ <div
16
+ class="interatividade-popup-item"
17
+ v-for="(item, indexItem) in objItem.items"
18
+ :key="`${index}${indexItem}`"
19
+ >
20
+ <p
21
+ v-if="item.title"
22
+ v-html="item.title"
23
+ class="interatividade-popup-item-titulo"
24
+ ></p>
25
+ <p
26
+ v-if="item.description"
27
+ v-html="item.description"
28
+ class="interatividade-popup-item-desc"
29
+ ></p>
14
30
  </div>
15
31
  </template>
16
32
  </div>
@@ -18,72 +34,75 @@
18
34
  </template>
19
35
 
20
36
  <script>
21
- import { mixin as clickaway } from 'vue-clickaway'
37
+ import * as VueClickAway from "vue-clickaway";
22
38
 
23
39
  export default {
24
- mixins: [ clickaway ],
40
+ mixins: [VueClickAway.mixin],
25
41
  props: {
26
42
  lista: {
27
43
  type: [Array, Object],
28
- required: true
44
+ required: true,
29
45
  },
30
46
  titulo: {
31
47
  type: String,
32
- required: false
33
- }
48
+ required: false,
49
+ },
34
50
  },
35
51
  methods: {
36
52
  away() {
37
- this.$emit("close")
38
- }
39
- }
40
- }
53
+ this.$emit("close");
54
+ },
55
+ },
56
+ };
41
57
  </script>
42
58
 
43
59
  <style scoped>
44
- .box-shadow {
45
- -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);
46
- -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);
47
- 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);
48
- }
60
+ .box-shadow {
61
+ -webkit-box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2),
62
+ 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
63
+ -moz-box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2),
64
+ 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
65
+ box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14),
66
+ 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
67
+ }
49
68
 
50
- .interatividade-popup {
51
- position: absolute;
52
- top: 15px;
53
- right: 0;
54
- width: 250px;
55
- height: auto;
56
- max-height: 300px;
57
- overflow-y: auto;
58
- overflow-x: hidden;
59
- background-color: #FFF;
60
- border-radius: 15px;
61
- color: #333;
62
- font-size: 14px;
63
- }
69
+ .interatividade-popup {
70
+ position: absolute;
71
+ top: 15px;
72
+ right: 0;
73
+ width: 250px;
74
+ height: auto;
75
+ max-height: 300px;
76
+ overflow-y: auto;
77
+ overflow-x: hidden;
78
+ background-color: #fff;
79
+ border-radius: 15px;
80
+ color: #333;
81
+ font-size: 14px;
82
+ }
64
83
 
65
- .interatividade-popup-titulo h1 {
66
- padding: 4px 10px;
67
- background-color: #333;
68
- color: #FFF;
69
- font-size: 1.2em;
70
- display: flex;
71
- justify-content: space-between;
72
- align-items: center;
73
- }
74
- .interatividade-popup-titulo h1 svg{
75
- color: #E74C3C;
76
- cursor: pointer;
77
- font-size: .9em;
78
- }
79
-
80
- .interatividade-popup-item {
81
- padding: 10px;
82
- border-bottom: 1px solid #D7D7D7;
83
- }
84
+ .interatividade-popup-titulo h1 {
85
+ padding: 4px 10px;
86
+ background-color: #333;
87
+ color: #fff;
88
+ font-size: 1.2em;
89
+ display: flex;
90
+ justify-content: space-between;
91
+ align-items: center;
92
+ }
93
+ .interatividade-popup-titulo h1 svg {
94
+ color: #e74c3c;
95
+ cursor: pointer;
96
+ font-size: 0.9em;
97
+ }
84
98
 
85
- .interatividade-popup-item-desc {
86
- font-size: .9em;
87
- color: #767676;
88
- }
89
- </style>
99
+ .interatividade-popup-item {
100
+ padding: 10px;
101
+ border-bottom: 1px solid #d7d7d7;
102
+ }
103
+
104
+ .interatividade-popup-item-desc {
105
+ font-size: 0.9em;
106
+ color: #767676;
107
+ }
108
+ </style>