vue-intergrall-plugins 1.0.14 → 1.0.16

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.14",
3
+ "version": "1.0.16",
4
4
  "description": "",
5
5
  "main": "dist/vue-intergrall-plugins.ssr.js",
6
6
  "browser": "dist/vue-intergrall-plugins.esm.js",
@@ -189,8 +189,8 @@
189
189
 
190
190
  <script>
191
191
  import * as VueClickAway from "vue-clickaway";
192
- import SingleFilePreview from "./SingleFilePreview";
193
192
  import MultipleFilePreview from "./MultipleFilePreview";
193
+ import SingleFilePreview from "./SingleFilePreview";
194
194
 
195
195
  export default {
196
196
  components: { SingleFilePreview, MultipleFilePreview },
@@ -247,7 +247,7 @@ export default {
247
247
  if (this.fileSettings.docsExtensions && this.fileSettings.imagesExtensions) {
248
248
  str = `${this.fileSettings.docsExtensions
249
249
  .split("|")
250
- .join(",")}${this.fileSettings.imagesExtensions.split("|").join(",")}`;
250
+ .join(",")},${this.fileSettings.imagesExtensions.split("|").join(",")}`;
251
251
  } else if (this.fileSettings.docsExtensions) {
252
252
  str = this.fileSettings.docsExtensions.split("|").join(",");
253
253
  } else if (this.fileSettings.imagesExtensions) {
@@ -151,20 +151,20 @@
151
151
  </template>
152
152
 
153
153
  <script>
154
- import { setResizeListeners, resetTargets } from "../../services/autoResize";
155
154
  import * as VueClickAway from "vue-clickaway";
155
+ import { resetTargets, setResizeListeners } from "../../services/autoResize";
156
156
  import { returnMessageWithHexa } from "../../services/textFormatting";
157
157
 
158
- import BtnEmojis from "./BtnEmojis";
159
158
  import Loader from "../Loader/Loader";
160
- import RemainingCharacters from "./RemainingCharacters";
161
- import BtnMic from "./BtnMic";
162
- import BtnFiles from "./BtnFiles";
159
+ import BtnDownloadAllFiles from "./BtnDownloadAllFiles";
160
+ import BtnEmojis from "./BtnEmojis";
163
161
  import BtnExpand from "./BtnExpand";
162
+ import BtnFiles from "./BtnFiles";
163
+ import BtnMic from "./BtnMic";
164
+ import BtnScreenShare from "./BtnScreenShare";
164
165
  import BtnStandardMessages from "./BtnStandardMessages";
166
+ import RemainingCharacters from "./RemainingCharacters";
165
167
  import StandardMessages from "./StandardMessages";
166
- import BtnScreenShare from "./BtnScreenShare";
167
- import BtnDownloadAllFiles from "./BtnDownloadAllFiles";
168
168
 
169
169
  export default {
170
170
  components: {
@@ -936,6 +936,7 @@ export default {
936
936
  top: -205px;
937
937
  width: 100%;
938
938
  height: 200px;
939
+ min-width: 200px;
939
940
  }
940
941
  .text-footer-container .text-footer-preview-container.isImg .text-footer-image-preview {
941
942
  height: 170px;
@@ -439,6 +439,10 @@ export default {
439
439
  if (!this.showMenu || typeof this.showMenu !== "object") return false;
440
440
  for (let key in this.showMenu) {
441
441
  if (this.showMenu.hasOwnProperty(key) && this.showMenu[key] === true) return true;
442
+ if (key === "customButtons") {
443
+ const hasAny = this.showMenu[key].some(({ use }) => use);
444
+ if (hasAny) return true;
445
+ }
442
446
  }
443
447
  return false;
444
448
  },