boka-human-cliend-v3 0.0.24 → 0.0.26

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.
@@ -485,6 +485,12 @@
485
485
  height: 80vh;
486
486
  border: 1px solid #ccc;
487
487
  }
488
+ .humanMainView.full {
489
+ width: 100vw!important;
490
+ max-width: 100vw!important;
491
+ height: 100vh!important;
492
+ max-height: 100vh!important;
493
+ }
488
494
  .humanMainView .humanMainHeader {
489
495
  width: 100%;
490
496
  height: 40px;
@@ -5196,6 +5196,10 @@
5196
5196
  source: {
5197
5197
  type: String,
5198
5198
  default: ""
5199
+ },
5200
+ fullScreen: {
5201
+ type: Number,
5202
+ default: 0
5199
5203
  }
5200
5204
  },
5201
5205
  computed: {
@@ -5372,9 +5376,19 @@
5372
5376
  width: "32",
5373
5377
  height: "32"
5374
5378
  };
5375
- const _hoisted_3 = { class: "humanMainView" };
5376
- const _hoisted_4 = { class: "humanMainHeader my-dialog__header" };
5377
- const _hoisted_5 = { class: "humanMainHeaderRight" };
5379
+ const _hoisted_3 = { class: "humanMainHeader my-dialog__header" };
5380
+ const _hoisted_4 = { class: "humanMainHeaderRight" };
5381
+ const _hoisted_5 = {
5382
+ style: { "display": "inline-block", "vertical-align": "middle" },
5383
+ t: "1759046770151",
5384
+ class: "icon",
5385
+ viewBox: "0 0 1024 1024",
5386
+ version: "1.1",
5387
+ xmlns: "http://www.w3.org/2000/svg",
5388
+ "p-id": "9352",
5389
+ width: "14",
5390
+ height: "14"
5391
+ };
5378
5392
  const _hoisted_6 = ["src"];
5379
5393
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
5380
5394
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
@@ -5392,14 +5406,23 @@
5392
5406
  vue.createTextVNode(vue.toDisplayString($data.unreadCount > 99 ? "99+" : $data.unreadCount), 1)
5393
5407
  ], 64))
5394
5408
  ], 2),
5395
- vue.withDirectives(vue.createElementVNode("div", _hoisted_3, [
5396
- vue.createElementVNode("div", _hoisted_4, [
5397
- _cache[3] || (_cache[3] = vue.createElementVNode("div", { class: "humanMainHeaderLeft" }, null, -1)),
5398
- _cache[4] || (_cache[4] = vue.createElementVNode("div", { class: "humanMainHeaderCenter" }, "客服", -1)),
5399
- vue.createElementVNode("div", _hoisted_5, [
5409
+ vue.withDirectives(vue.createElementVNode("div", {
5410
+ class: vue.normalizeClass(["humanMainView", $props.fullScreen ? "full" : ""])
5411
+ }, [
5412
+ vue.createElementVNode("div", _hoisted_3, [
5413
+ _cache[4] || (_cache[4] = vue.createElementVNode("div", { class: "humanMainHeaderLeft" }, null, -1)),
5414
+ _cache[5] || (_cache[5] = vue.createElementVNode("div", { class: "humanMainHeaderCenter" }, "客服", -1)),
5415
+ vue.createElementVNode("div", _hoisted_4, [
5400
5416
  vue.createElementVNode("span", {
5401
5417
  onClick: _cache[1] || (_cache[1] = ($event) => $data.visible = !$data.visible)
5402
- }, "关闭")
5418
+ }, [
5419
+ (vue.openBlock(), vue.createElementBlock("svg", _hoisted_5, [..._cache[3] || (_cache[3] = [
5420
+ vue.createElementVNode("path", {
5421
+ d: "M585.412525 512.594747L973.601616 124.418586c19.600808-19.600808 19.600808-51.898182 0-71.49899l-2.120404-2.120404c-19.600808-19.600808-51.898182-19.600808-71.49899 0L511.793131 439.518384 123.61697 50.799192c-19.600808-19.600808-51.898182-19.600808-71.49899 0l-2.120404 2.120404c-20.11798 19.600808-20.11798 51.898182 0 71.49899l388.189091 388.189091L49.997576 900.783838c-19.587879 19.600808-19.587879 51.898182 0 71.49899l2.120404 2.120404c19.600808 19.600808 51.898182 19.600808 71.49899 0L511.793131 586.214141l388.189091 388.176162c19.600808 19.600808 51.898182 19.600808 71.49899 0l2.120404-2.120404c19.600808-19.600808 19.600808-51.898182 0-71.49899L585.412525 512.594747z m0 0",
5422
+ "p-id": "9353"
5423
+ }, null, -1)
5424
+ ])]))
5425
+ ])
5403
5426
  ])
5404
5427
  ]),
5405
5428
  vue.createElementVNode("iframe", {
@@ -5408,7 +5431,7 @@
5408
5431
  frameborder: "0",
5409
5432
  allowfullscreen: ""
5410
5433
  }, null, 8, _hoisted_6)
5411
- ], 512), [
5434
+ ], 2), [
5412
5435
  [vue.vShow, $data.visible]
5413
5436
  ])
5414
5437
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "boka-human-cliend-v3",
3
- "version": "0.0.24",
3
+ "version": "0.0.26",
4
4
  "main": "dist/boka-human-v3.umd.js",
5
5
  "scripts": {
6
6
  "dev": "vite",