vue-intergrall-plugins 1.1.11 → 1.1.13

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 (44) hide show
  1. package/README.md +220 -220
  2. package/dist/vue-intergrall-plugins.esm.js +56 -48
  3. package/dist/vue-intergrall-plugins.min.js +1 -1
  4. package/dist/vue-intergrall-plugins.ssr.js +129 -121
  5. package/package.json +66 -66
  6. package/src/lib-components/Buttons/IconButton.vue +27 -27
  7. package/src/lib-components/Buttons/SimpleButton.vue +140 -140
  8. package/src/lib-components/Cards/Card.vue +490 -490
  9. package/src/lib-components/Cards/CardCheck.vue +35 -35
  10. package/src/lib-components/Cards/CardFile.vue +163 -163
  11. package/src/lib-components/Chat/BtnDownloadAllFiles.vue +36 -36
  12. package/src/lib-components/Chat/BtnEmojis.vue +118 -118
  13. package/src/lib-components/Chat/BtnExpand.vue +17 -17
  14. package/src/lib-components/Chat/BtnFiles.vue +486 -486
  15. package/src/lib-components/Chat/BtnMic.vue +60 -60
  16. package/src/lib-components/Chat/BtnScreenShare.vue +31 -31
  17. package/src/lib-components/Chat/BtnStandardMessages.vue +17 -17
  18. package/src/lib-components/Chat/ExpandTextarea.vue +427 -427
  19. package/src/lib-components/Chat/MultipleFilePreview.vue +291 -291
  20. package/src/lib-components/Chat/Picker.vue +405 -405
  21. package/src/lib-components/Chat/RemainingCharacters.vue +28 -28
  22. package/src/lib-components/Chat/SingleFilePreview.vue +94 -94
  23. package/src/lib-components/Chat/SkeletonPicker.vue +110 -110
  24. package/src/lib-components/Chat/StandardMessages.vue +252 -252
  25. package/src/lib-components/Chat/TextFooter.vue +1007 -1007
  26. package/src/lib-components/Email/EmailExpanded.vue +270 -270
  27. package/src/lib-components/Email/EmailFile.vue +192 -192
  28. package/src/lib-components/Email/EmailFrom.vue +66 -66
  29. package/src/lib-components/Email/EmailItem.vue +941 -933
  30. package/src/lib-components/Email/EmailTo.vue +57 -57
  31. package/src/lib-components/Loader/Loader.vue +78 -78
  32. package/src/lib-components/Messages/AnexoMensagem.vue +415 -415
  33. package/src/lib-components/Messages/CardAttachment.vue +61 -61
  34. package/src/lib-components/Messages/CardMessages.vue +687 -687
  35. package/src/lib-components/Messages/InteratividadeBotoes.vue +199 -199
  36. package/src/lib-components/Messages/InteratividadeContato.vue +32 -32
  37. package/src/lib-components/Messages/InteratividadeContatoItem.vue +213 -213
  38. package/src/lib-components/Messages/InteratividadeFormulario.vue +334 -334
  39. package/src/lib-components/Messages/InteratividadePopup.vue +95 -95
  40. package/src/lib-components/Messages/LinkPreview.vue +176 -176
  41. package/src/lib-components/Scroll/ScrollContent.vue +166 -166
  42. package/src/lib-components/Templates/TemplateGenerator.vue +640 -640
  43. package/src/lib-components/Templates/TemplateMessage.vue +83 -83
  44. package/src/lib-components/Templates/TemplateSingle.vue +478 -478
package/package.json CHANGED
@@ -1,66 +1,66 @@
1
- {
2
- "name": "vue-intergrall-plugins",
3
- "version": "1.1.11",
4
- "description": "",
5
- "main": "dist/vue-intergrall-plugins.ssr.js",
6
- "browser": "dist/vue-intergrall-plugins.esm.js",
7
- "module": "dist/vue-intergrall-plugins.esm.js",
8
- "unpkg": "dist/vue-intergrall-plugins.min.js",
9
- "files": [
10
- "dist/*",
11
- "src/**/*.vue"
12
- ],
13
- "sideEffects": false,
14
- "scripts": {
15
- "serve": "vue-cli-service serve dev/serve.js",
16
- "prebuild": "rimraf ./dist",
17
- "build": "cross-env NODE_ENV=production rollup --config build/rollup.config.js",
18
- "build:ssr": "cross-env NODE_ENV=production rollup --config build/rollup.config.js --format cjs",
19
- "build:es": "cross-env NODE_ENV=production rollup --config build/rollup.config.js --format es",
20
- "build:unpkg": "cross-env NODE_ENV=production rollup --config build/rollup.config.js --format iife"
21
- },
22
- "devDependencies": {
23
- "@babel/core": "^7.15.5",
24
- "@babel/preset-env": "^7.15.6",
25
- "@rollup/plugin-alias": "^3.1.2",
26
- "@rollup/plugin-babel": "^5.3.0",
27
- "@rollup/plugin-commonjs": "^14.0.0",
28
- "@rollup/plugin-json": "^4.1.0",
29
- "@rollup/plugin-node-resolve": "^9.0.0",
30
- "@rollup/plugin-replace": "^2.4.2",
31
- "@vue/cli-plugin-babel": "^4.5.13",
32
- "@vue/cli-service": "^4.5.13",
33
- "autoprefixer": "^10.3.6",
34
- "cross-env": "^7.0.3",
35
- "cssnano": "^5.0.8",
36
- "minimist": "^1.2.5",
37
- "rimraf": "^3.0.2",
38
- "rollup": "^2.58.0",
39
- "rollup-plugin-terser": "^7.0.2",
40
- "rollup-plugin-vue": "^5.1.9",
41
- "vue": "^2.6.14",
42
- "vue-template-compiler": "^2.6.14"
43
- },
44
- "peerDependencies": {
45
- "@fortawesome/fontawesome-free": "^5.15.4",
46
- "@fortawesome/fontawesome-svg-core": "^1.2.36",
47
- "@fortawesome/free-solid-svg-icons": "^5.15.4",
48
- "@fortawesome/vue-fontawesome": "^2.0.2",
49
- "@popperjs/core": "^2.11.2",
50
- "core-js": "^3.18.1",
51
- "postcss": "^8.3.8",
52
- "vue": "^2.6.14",
53
- "vue-select": "^3.13.0",
54
- "vue-tippy": "^4.12.0",
55
- "vue-toasted": "^1.1.28",
56
- "vue2-google-maps": "^0.10.7"
57
- },
58
- "engines": {
59
- "node": ">=12"
60
- },
61
- "dependencies": {
62
- "axios": "^0.26.0",
63
- "kind-of": "^6.0.3",
64
- "vue-sanitize": "^0.2.3"
65
- }
66
- }
1
+ {
2
+ "name": "vue-intergrall-plugins",
3
+ "version": "1.1.13",
4
+ "description": "",
5
+ "main": "dist/vue-intergrall-plugins.ssr.js",
6
+ "browser": "dist/vue-intergrall-plugins.esm.js",
7
+ "module": "dist/vue-intergrall-plugins.esm.js",
8
+ "unpkg": "dist/vue-intergrall-plugins.min.js",
9
+ "files": [
10
+ "dist/*",
11
+ "src/**/*.vue"
12
+ ],
13
+ "sideEffects": false,
14
+ "scripts": {
15
+ "serve": "vue-cli-service serve dev/serve.js",
16
+ "prebuild": "rimraf ./dist",
17
+ "build": "cross-env NODE_ENV=production rollup --config build/rollup.config.js",
18
+ "build:ssr": "cross-env NODE_ENV=production rollup --config build/rollup.config.js --format cjs",
19
+ "build:es": "cross-env NODE_ENV=production rollup --config build/rollup.config.js --format es",
20
+ "build:unpkg": "cross-env NODE_ENV=production rollup --config build/rollup.config.js --format iife"
21
+ },
22
+ "devDependencies": {
23
+ "@babel/core": "^7.15.5",
24
+ "@babel/preset-env": "^7.15.6",
25
+ "@rollup/plugin-alias": "^3.1.2",
26
+ "@rollup/plugin-babel": "^5.3.0",
27
+ "@rollup/plugin-commonjs": "^14.0.0",
28
+ "@rollup/plugin-json": "^4.1.0",
29
+ "@rollup/plugin-node-resolve": "^9.0.0",
30
+ "@rollup/plugin-replace": "^2.4.2",
31
+ "@vue/cli-plugin-babel": "^4.5.13",
32
+ "@vue/cli-service": "^4.5.13",
33
+ "autoprefixer": "^10.3.6",
34
+ "cross-env": "^7.0.3",
35
+ "cssnano": "^5.0.8",
36
+ "minimist": "^1.2.5",
37
+ "rimraf": "^3.0.2",
38
+ "rollup": "^2.58.0",
39
+ "rollup-plugin-terser": "^7.0.2",
40
+ "rollup-plugin-vue": "^5.1.9",
41
+ "vue": "^2.6.14",
42
+ "vue-template-compiler": "^2.6.14"
43
+ },
44
+ "peerDependencies": {
45
+ "@fortawesome/fontawesome-free": "^5.15.4",
46
+ "@fortawesome/fontawesome-svg-core": "^1.2.36",
47
+ "@fortawesome/free-solid-svg-icons": "^5.15.4",
48
+ "@fortawesome/vue-fontawesome": "^2.0.2",
49
+ "@popperjs/core": "^2.11.2",
50
+ "core-js": "^3.18.1",
51
+ "postcss": "^8.3.8",
52
+ "vue": "^2.6.14",
53
+ "vue-select": "^3.13.0",
54
+ "vue-tippy": "^4.12.0",
55
+ "vue-toasted": "^1.1.28",
56
+ "vue2-google-maps": "^0.10.7"
57
+ },
58
+ "engines": {
59
+ "node": ">=12"
60
+ },
61
+ "dependencies": {
62
+ "axios": "^0.26.0",
63
+ "kind-of": "^6.0.3",
64
+ "vue-sanitize": "^0.2.3"
65
+ }
66
+ }
@@ -1,27 +1,27 @@
1
- <template>
2
- <span class="simple-btn--icon" :class="{'custom' : !showFaIcon}">
3
- <fa-icon v-if="showFaIcon" :icon="icon" />
4
- <span v-else v-html="icon" />
5
- </span>
6
- </template>
7
-
8
- <script>
9
- export default {
10
- props: {
11
- icon: [String, Array],
12
- default: ""
13
- },
14
- computed: {
15
- showFaIcon() {
16
- return Array.isArray(this.icon) && this.icon.length
17
- }
18
- }
19
- }
20
- </script>
21
-
22
- <style>
23
- .simple-btn--icon.custom > span {
24
- width: 20px;
25
- height: 20px;
26
- }
27
- </style>
1
+ <template>
2
+ <span class="simple-btn--icon" :class="{'custom' : !showFaIcon}">
3
+ <fa-icon v-if="showFaIcon" :icon="icon" />
4
+ <span v-else v-html="icon" />
5
+ </span>
6
+ </template>
7
+
8
+ <script>
9
+ export default {
10
+ props: {
11
+ icon: [String, Array],
12
+ default: ""
13
+ },
14
+ computed: {
15
+ showFaIcon() {
16
+ return Array.isArray(this.icon) && this.icon.length
17
+ }
18
+ }
19
+ }
20
+ </script>
21
+
22
+ <style>
23
+ .simple-btn--icon.custom > span {
24
+ width: 20px;
25
+ height: 20px;
26
+ }
27
+ </style>
@@ -1,140 +1,140 @@
1
- <template>
2
- <div class="simple-btn default-btn-style"
3
- :style="`background-color: ${bg}; color: ${color};${aditionalStyle}`"
4
- :class="[customClass]"
5
- @click="$emit(emitter, params)"
6
- >
7
- <template v-if="faIcon.length || svgIcon">
8
- <template v-if="!btnCustom">
9
- <IconButton :icon="faIcon.length ? faIcon : svgIcon" />
10
- </template>
11
- <span class="icon-container default-btn-style" :style="`background-color: ${bg};`" v-else>
12
- <IconButton :icon="faIcon.length ? faIcon : svgIcon" />
13
- </span>
14
- </template>
15
- <span class="simple-btn--text" v-text="btnText" v-if="!activeLoader"></span>
16
- <VueLoader v-else />
17
- </div>
18
- </template>
19
-
20
- <script>
21
- import IconButton from './IconButton'
22
-
23
- export default {
24
- components: { IconButton },
25
- props: {
26
- emitter: {
27
- type: String,
28
- required: true
29
- },
30
- params: {
31
- type: [String, Object, Array, Number, Boolean],
32
- required: false,
33
- default: ''
34
- },
35
- bg: {
36
- type: String,
37
- required: true
38
- },
39
- color: {
40
- type: String,
41
- required: true
42
- },
43
- aditionalStyle: {
44
- type: String,
45
- default: ''
46
- },
47
- btnText: {
48
- type: [String, Number],
49
- default: ""
50
- },
51
- faIcon: {
52
- type: Array,
53
- default: () => { return [] }
54
- },
55
- svgIcon: {
56
- type: String,
57
- default: ""
58
- },
59
- customClass: {
60
- type: String,
61
- default: ''
62
- },
63
- btnCustom: {
64
- type: Boolean,
65
- default: false
66
- },
67
- activeLoader: {
68
- type: Boolean,
69
- default: false
70
- }
71
- }
72
- }
73
- </script>
74
-
75
- <style>
76
- .default-btn-style {
77
- transition-duration: 300ms;
78
- user-select: none;
79
- cursor: pointer;
80
- box-shadow: inset 0 -2px rgba(0, 0, 0, 0.2);
81
- opacity: .9;
82
- border-radius: 5px;
83
- display: flex;
84
- justify-content: center;
85
- align-items: center;
86
- padding: 5px;
87
- cursor: pointer;
88
- min-height: 28px;
89
- }
90
- .default-btn-style:hover{
91
- opacity: 1;
92
- }
93
- .default-btn-style:active{
94
- opacity: 1;
95
- box-shadow: inset 0 -1px rgba(0, 0, 0, 0.2);
96
- -webkit-transform: translateY(1px);
97
- -moz-transform: translateY(1px);
98
- -o-transform: translateY(1px);
99
- -ms-transform: translateY(1px);
100
- transform: translateY(1px);
101
- }
102
-
103
- .simple-btn {
104
- position: relative;
105
- }
106
-
107
- .simple-btn--icon {
108
- display: flex;
109
- justify-content: center;
110
- align-items: center;
111
- margin-right: 5px;
112
- }
113
- .simple-btn--icon.custom {
114
- min-width: 25px;
115
- }
116
-
117
- .simple-btn--text {
118
- white-space: nowrap;
119
- text-overflow: ellipsis;
120
- overflow: hidden;
121
- }
122
-
123
- .icon-container {
124
- position: absolute;
125
- left: -15px;
126
- padding: 5px;
127
- width: 40px;
128
- height: 40px;
129
- display: flex;
130
- justify-content: center;
131
- align-items: center;
132
- border-radius: 50%;
133
- }
134
- .icon-container svg {
135
- color: rgba(255, 255, 255, .5);
136
- width: 23px;
137
- height: 23px;
138
- }
139
-
140
- </style>
1
+ <template>
2
+ <div class="simple-btn default-btn-style"
3
+ :style="`background-color: ${bg}; color: ${color};${aditionalStyle}`"
4
+ :class="[customClass]"
5
+ @click="$emit(emitter, params)"
6
+ >
7
+ <template v-if="faIcon.length || svgIcon">
8
+ <template v-if="!btnCustom">
9
+ <IconButton :icon="faIcon.length ? faIcon : svgIcon" />
10
+ </template>
11
+ <span class="icon-container default-btn-style" :style="`background-color: ${bg};`" v-else>
12
+ <IconButton :icon="faIcon.length ? faIcon : svgIcon" />
13
+ </span>
14
+ </template>
15
+ <span class="simple-btn--text" v-text="btnText" v-if="!activeLoader"></span>
16
+ <VueLoader v-else />
17
+ </div>
18
+ </template>
19
+
20
+ <script>
21
+ import IconButton from './IconButton'
22
+
23
+ export default {
24
+ components: { IconButton },
25
+ props: {
26
+ emitter: {
27
+ type: String,
28
+ required: true
29
+ },
30
+ params: {
31
+ type: [String, Object, Array, Number, Boolean],
32
+ required: false,
33
+ default: ''
34
+ },
35
+ bg: {
36
+ type: String,
37
+ required: true
38
+ },
39
+ color: {
40
+ type: String,
41
+ required: true
42
+ },
43
+ aditionalStyle: {
44
+ type: String,
45
+ default: ''
46
+ },
47
+ btnText: {
48
+ type: [String, Number],
49
+ default: ""
50
+ },
51
+ faIcon: {
52
+ type: Array,
53
+ default: () => { return [] }
54
+ },
55
+ svgIcon: {
56
+ type: String,
57
+ default: ""
58
+ },
59
+ customClass: {
60
+ type: String,
61
+ default: ''
62
+ },
63
+ btnCustom: {
64
+ type: Boolean,
65
+ default: false
66
+ },
67
+ activeLoader: {
68
+ type: Boolean,
69
+ default: false
70
+ }
71
+ }
72
+ }
73
+ </script>
74
+
75
+ <style>
76
+ .default-btn-style {
77
+ transition-duration: 300ms;
78
+ user-select: none;
79
+ cursor: pointer;
80
+ box-shadow: inset 0 -2px rgba(0, 0, 0, 0.2);
81
+ opacity: .9;
82
+ border-radius: 5px;
83
+ display: flex;
84
+ justify-content: center;
85
+ align-items: center;
86
+ padding: 5px;
87
+ cursor: pointer;
88
+ min-height: 28px;
89
+ }
90
+ .default-btn-style:hover{
91
+ opacity: 1;
92
+ }
93
+ .default-btn-style:active{
94
+ opacity: 1;
95
+ box-shadow: inset 0 -1px rgba(0, 0, 0, 0.2);
96
+ -webkit-transform: translateY(1px);
97
+ -moz-transform: translateY(1px);
98
+ -o-transform: translateY(1px);
99
+ -ms-transform: translateY(1px);
100
+ transform: translateY(1px);
101
+ }
102
+
103
+ .simple-btn {
104
+ position: relative;
105
+ }
106
+
107
+ .simple-btn--icon {
108
+ display: flex;
109
+ justify-content: center;
110
+ align-items: center;
111
+ margin-right: 5px;
112
+ }
113
+ .simple-btn--icon.custom {
114
+ min-width: 25px;
115
+ }
116
+
117
+ .simple-btn--text {
118
+ white-space: nowrap;
119
+ text-overflow: ellipsis;
120
+ overflow: hidden;
121
+ }
122
+
123
+ .icon-container {
124
+ position: absolute;
125
+ left: -15px;
126
+ padding: 5px;
127
+ width: 40px;
128
+ height: 40px;
129
+ display: flex;
130
+ justify-content: center;
131
+ align-items: center;
132
+ border-radius: 50%;
133
+ }
134
+ .icon-container svg {
135
+ color: rgba(255, 255, 255, .5);
136
+ width: 23px;
137
+ height: 23px;
138
+ }
139
+
140
+ </style>