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
package/package.json CHANGED
@@ -1,61 +1,61 @@
1
- {
2
- "name": "vue-intergrall-plugins",
3
- "version": "1.1.89",
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/preset-env": "^7.15.6",
24
- "@rollup/plugin-alias": "^3.1.2",
25
- "@rollup/plugin-babel": "^5.3.0",
26
- "@rollup/plugin-commonjs": "^14.0.0",
27
- "@rollup/plugin-json": "^4.1.0",
28
- "@rollup/plugin-node-resolve": "^9.0.0",
29
- "@rollup/plugin-replace": "^2.4.2",
30
- "@vue/cli-service": "^4.5.13",
31
- "autoprefixer": "^10.4.14",
32
- "cross-env": "^7.0.3",
33
- "cssnano": "^5.1.15",
34
- "minimist": "^1.2.5",
35
- "rimraf": "^3.0.2",
36
- "rollup": "^2.58.0",
37
- "rollup-plugin-postcss": "^4.0.2",
38
- "rollup-plugin-terser": "^7.0.2",
39
- "rollup-plugin-vue": "^5.1.9",
40
- "vue": "^2.6.14"
41
- },
42
- "peerDependencies": {
43
- "@fortawesome/fontawesome-free": "^5.15.4",
44
- "@fortawesome/fontawesome-svg-core": "^1.2.36",
45
- "@fortawesome/free-solid-svg-icons": "^5.15.4",
46
- "@fortawesome/vue-fontawesome": "^2.0.2",
47
- "@popperjs/core": "^2.11.2",
48
- "core-js": "^3.18.1",
49
- "vue": "^2.6.14",
50
- "vue-select": "^3.13.0",
51
- "vue-tippy": "^4.12.0",
52
- "vue-toasted": "^1.1.28",
53
- "vue2-google-maps": "^0.10.7"
54
- },
55
- "engines": {
56
- "node": ">=12"
57
- },
58
- "dependencies": {
59
- "vue-html2pdf": "^1.8.0"
60
- }
61
- }
1
+ {
2
+ "name": "vue-intergrall-plugins",
3
+ "version": "1.2.0",
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/preset-env": "^7.15.6",
24
+ "@rollup/plugin-alias": "^3.1.2",
25
+ "@rollup/plugin-babel": "^5.3.0",
26
+ "@rollup/plugin-commonjs": "^14.0.0",
27
+ "@rollup/plugin-json": "^4.1.0",
28
+ "@rollup/plugin-node-resolve": "^9.0.0",
29
+ "@rollup/plugin-replace": "^2.4.2",
30
+ "@vue/cli-service": "^4.5.13",
31
+ "autoprefixer": "^10.4.14",
32
+ "cross-env": "^7.0.3",
33
+ "cssnano": "^5.1.15",
34
+ "minimist": "^1.2.5",
35
+ "rimraf": "^3.0.2",
36
+ "rollup": "^2.58.0",
37
+ "rollup-plugin-postcss": "^4.0.2",
38
+ "rollup-plugin-terser": "^7.0.2",
39
+ "rollup-plugin-vue": "^5.1.9",
40
+ "vue": "^2.6.14"
41
+ },
42
+ "peerDependencies": {
43
+ "@fortawesome/fontawesome-free": "^5.15.4",
44
+ "@fortawesome/fontawesome-svg-core": "^1.2.36",
45
+ "@fortawesome/free-solid-svg-icons": "^5.15.4",
46
+ "@fortawesome/vue-fontawesome": "^2.0.2",
47
+ "@popperjs/core": "^2.11.2",
48
+ "core-js": "^3.18.1",
49
+ "vue": "^2.6.14",
50
+ "vue-select": "^3.13.0",
51
+ "vue-tippy": "^4.12.0",
52
+ "vue-toasted": "^1.1.28",
53
+ "vue2-google-maps": "^0.10.7"
54
+ },
55
+ "engines": {
56
+ "node": ">=12"
57
+ },
58
+ "dependencies": {
59
+ "vue-html2pdf": "^1.8.0"
60
+ }
61
+ }
@@ -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>