boka-human-cliend-v3 0.0.50 → 0.0.51

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.
@@ -480,9 +480,11 @@
480
480
  .humanMainView {
481
481
  position: fixed;
482
482
  min-width: 360px;
483
+ width: 400px;
483
484
  max-width: 600px;
484
485
  min-height: 360px;
485
486
  height: 80vh;
487
+ box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
486
488
  }
487
489
  .humanMainView.full {
488
490
  padding-top: env(safe-area-inset-top);
@@ -496,6 +498,7 @@
496
498
  left: 0;
497
499
  z-index: 999;
498
500
  overflow: hidden;
501
+ box-shadow: none;
499
502
  }
500
503
  .humanMainView .humanMainHeader {
501
504
  width: 100%;
@@ -5376,18 +5376,18 @@
5376
5376
  restriction: "#humanViewOuter",
5377
5377
  endOnly: true
5378
5378
  /*restriction: () => {
5379
- const scrollTop = window.pageYOffset || document.documentElement.scrollTop;
5380
- const scrollLeft = window.pageXOffset || document.documentElement.scrollLeft;
5381
-
5382
- return {
5383
- left: scrollLeft,
5384
- top: scrollTop,
5385
- right: scrollLeft + window.innerWidth,
5386
- bottom: scrollTop + window.innerHeight
5387
- };
5388
- },
5389
- elementRect: { left: 0, right: 1, top: 0, bottom: 1 },
5390
- endOnly: false*/
5379
+ const scrollTop = window.pageYOffset || document.documentElement.scrollTop;
5380
+ const scrollLeft = window.pageXOffset || document.documentElement.scrollLeft;
5381
+
5382
+ return {
5383
+ left: scrollLeft,
5384
+ top: scrollTop,
5385
+ right: scrollLeft + window.innerWidth,
5386
+ bottom: scrollTop + window.innerHeight
5387
+ };
5388
+ },
5389
+ elementRect: { left: 0, right: 1, top: 0, bottom: 1 },
5390
+ endOnly: false*/
5391
5391
  })
5392
5392
  ],
5393
5393
  autoScroll: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "boka-human-cliend-v3",
3
- "version": "0.0.50",
3
+ "version": "0.0.51",
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="'707a38d6c7d2e9ea8ce126f40884986'" :product="'web'" :cust-type="''" :sub-cust-type="''" source="bkWeb-Mobile" :full-screen="1"/>
3
+ <BokaHuman :token="'bearer 53b2251627e82b29b521d78c5ac9a9ea'" :product="'manageCenterPlus'" :cust-type="'manageCenterPlus'" :sub-cust-type="'standard'" source="pc" :full-screen="0"/>
4
4
  <div style="height: 200vh; width: 100vw; background: #fff;"></div>
5
5
  </div>
6
6
  </template>
@@ -14,7 +14,7 @@ export default {
14
14
  BokaHuman:BokaHumanRaw
15
15
  },
16
16
  mounted() {
17
-
17
+
18
18
  }
19
19
  }
20
20
  </script>