boka-human-cliend-v3 0.0.41 → 0.0.42

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.
@@ -5205,7 +5205,11 @@
5205
5205
  type: [Boolean, Number],
5206
5206
  default: 0
5207
5207
  },
5208
- hideIcon: {
5208
+ hideEnter: {
5209
+ type: Boolean,
5210
+ default: false
5211
+ },
5212
+ hideClose: {
5209
5213
  type: Boolean,
5210
5214
  default: false
5211
5215
  },
@@ -5240,7 +5244,7 @@
5240
5244
  console.log(`%c 客服组件属性 `, "background: #f00; color: #fff; padding: 2px 2px; border-radius: 3px;");
5241
5245
  console.log(this.$props);
5242
5246
  setTimeout(() => {
5243
- if (!this.hideIcon) {
5247
+ if (!this.hideEnter) {
5244
5248
  this.icon();
5245
5249
  } else {
5246
5250
  this.visible = true;
@@ -5412,7 +5416,7 @@
5412
5416
  id: "humanViewOuter",
5413
5417
  style: { "position": "fixed", "width": "100vw", "height": "100vh", "top": "0", "left": "0", "display": "none" }
5414
5418
  }, null, -1)),
5415
- !$props.hideIcon ? (vue.openBlock(), vue.createElementBlock("div", {
5419
+ !$props.hideClose ? (vue.openBlock(), vue.createElementBlock("div", {
5416
5420
  key: 0,
5417
5421
  class: vue.normalizeClass(["humanEnterIcon", [$data.unreadCount > 0 ? "unreadCount" : ""]]),
5418
5422
  id: "humanEnterIcon"
@@ -5435,7 +5439,7 @@
5435
5439
  _cache[5] || (_cache[5] = vue.createElementVNode("div", { class: "humanMainHeaderLeft" }, null, -1)),
5436
5440
  vue.createElementVNode("div", _hoisted_3, vue.toDisplayString($props.viewTitle || "客服"), 1),
5437
5441
  vue.createElementVNode("div", _hoisted_4, [
5438
- !$props.hideIcon ? (vue.openBlock(), vue.createElementBlock("span", {
5442
+ !$props.hideEnter ? (vue.openBlock(), vue.createElementBlock("span", {
5439
5443
  key: 0,
5440
5444
  onClick: _cache[2] || (_cache[2] = ($event) => $data.visible = false),
5441
5445
  onTouchstart: _cache[3] || (_cache[3] = vue.withModifiers(($event) => $data.visible = false, ["stop"]))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "boka-human-cliend-v3",
3
- "version": "0.0.41",
3
+ "version": "0.0.42",
4
4
  "main": "dist/boka-human-v3.umd.js",
5
5
  "scripts": {
6
6
  "dev": "vite",