boka-human-cliend-v3 0.0.36 → 0.0.37

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.
@@ -491,6 +491,11 @@
491
491
  max-width: 100vw!important;
492
492
  height: 100vh!important;
493
493
  max-height: 100vh!important;
494
+ position: fixed;
495
+ top: 0;
496
+ left: 0;
497
+ z-index: 999;
498
+ overflow: hidden;
494
499
  }
495
500
  .humanMainView .humanMainHeader {
496
501
  width: 100%;
@@ -5233,7 +5233,9 @@
5233
5233
  console.log(this.$props);
5234
5234
  setTimeout(() => {
5235
5235
  this.icon();
5236
- this.chatMainInitDrag();
5236
+ if (!this.fullScreen) {
5237
+ this.chatMainInitDrag();
5238
+ }
5237
5239
  });
5238
5240
  window.humanFunction = {
5239
5241
  showChatView: this.showChat
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "boka-human-cliend-v3",
3
- "version": "0.0.36",
3
+ "version": "0.0.37",
4
4
  "main": "dist/boka-human-v3.umd.js",
5
5
  "scripts": {
6
6
  "dev": "vite",
package/src/demo/App.vue CHANGED
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div id="app">
3
- <BokaHuman :token="'4e9d58f42ceab334b3b24d31ec437bef'" :product="'web'" :cust-type="''" :sub-cust-type="''" source="bkWeb-PC" :full-screen="0"/>
3
+ <BokaHuman :token="'707a38d6c7d2e9ea8ce126f40884986'" :product="'web'" :cust-type="''" :sub-cust-type="''" source="bkWeb-Mobile" :full-screen="1"/>
4
4
  <div style="height: 200vh; width: 100vw; background: #fff;"></div>
5
5
  </div>
6
6
  </template>