bkui-vue 0.0.2-beta.75 → 0.0.2-beta.78

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.
Files changed (144) hide show
  1. package/dist/index.cjs.js +48 -48
  2. package/dist/index.esm.js +8323 -8377
  3. package/dist/index.umd.js +48 -48
  4. package/lib/affix/index.js +5 -3
  5. package/lib/alert/index.js +2 -3
  6. package/lib/backtop/index.js +2 -2
  7. package/lib/badge/index.js +3 -4
  8. package/lib/breadcrumb/index.js +4 -4
  9. package/lib/button/index.js +6 -6
  10. package/lib/card/index.js +16 -5
  11. package/lib/cascader/index.js +70 -53
  12. package/lib/checkbox/index.js +4 -4
  13. package/lib/collapse/index.js +58 -6
  14. package/lib/color-picker/index.js +14 -11
  15. package/lib/config-provider/index.js +51 -3
  16. package/lib/container/index.js +55 -7
  17. package/lib/date-picker/index.js +202 -156
  18. package/lib/dialog/index.js +140 -431
  19. package/lib/directives/index.js +59 -19
  20. package/lib/dropdown/index.js +8 -8
  21. package/lib/exception/index.js +5 -5
  22. package/lib/form/index.js +22 -16
  23. package/lib/icon/angle-double-down-line.js +84 -374
  24. package/lib/icon/angle-double-left-line.js +84 -374
  25. package/lib/icon/angle-double-left.js +84 -374
  26. package/lib/icon/angle-double-right-line.js +84 -374
  27. package/lib/icon/angle-double-right.js +84 -374
  28. package/lib/icon/angle-double-up-line.js +84 -374
  29. package/lib/icon/angle-down-fill.js +84 -374
  30. package/lib/icon/angle-down-line.js +84 -374
  31. package/lib/icon/angle-down.js +84 -374
  32. package/lib/icon/angle-left.js +84 -374
  33. package/lib/icon/angle-right.js +84 -374
  34. package/lib/icon/angle-up-fill.js +84 -374
  35. package/lib/icon/angle-up.js +84 -374
  36. package/lib/icon/archive-fill.js +84 -374
  37. package/lib/icon/arrows-left.js +84 -374
  38. package/lib/icon/arrows-right.js +84 -374
  39. package/lib/icon/assistant.js +84 -374
  40. package/lib/icon/audio-fill.js +84 -374
  41. package/lib/icon/bk.js +84 -374
  42. package/lib/icon/circle.js +84 -374
  43. package/lib/icon/close-line.js +84 -374
  44. package/lib/icon/close.js +84 -374
  45. package/lib/icon/code.js +84 -374
  46. package/lib/icon/cog-shape.js +84 -374
  47. package/lib/icon/collapse-left.js +84 -374
  48. package/lib/icon/copy-shape.js +84 -374
  49. package/lib/icon/copy.js +84 -374
  50. package/lib/icon/data-shape.js +84 -374
  51. package/lib/icon/del.js +84 -374
  52. package/lib/icon/doc-fill.js +84 -374
  53. package/lib/icon/done.js +84 -374
  54. package/lib/icon/down-shape.js +84 -374
  55. package/lib/icon/down-small.js +84 -374
  56. package/lib/icon/edit-line.js +84 -374
  57. package/lib/icon/ellipsis.js +84 -374
  58. package/lib/icon/enlarge-line.js +84 -374
  59. package/lib/icon/error.js +84 -374
  60. package/lib/icon/excel-fill.js +84 -374
  61. package/lib/icon/exclamation-circle-shape.js +84 -374
  62. package/lib/icon/eye.js +84 -374
  63. package/lib/icon/filliscreen-line.js +84 -374
  64. package/lib/icon/fix-line.js +84 -374
  65. package/lib/icon/fix-shape.js +84 -374
  66. package/lib/icon/folder-open.js +84 -374
  67. package/lib/icon/folder-shape-open.js +84 -374
  68. package/lib/icon/folder-shape.js +84 -374
  69. package/lib/icon/folder.js +84 -374
  70. package/lib/icon/funnel.js +84 -374
  71. package/lib/icon/help-document-fill.js +84 -374
  72. package/lib/icon/help-fill.js +84 -374
  73. package/lib/icon/help.js +84 -374
  74. package/lib/icon/image-fill.js +131 -382
  75. package/lib/icon/img-error.js +131 -382
  76. package/lib/icon/img-placehoulder.js +131 -382
  77. package/lib/icon/index.js +563 -531
  78. package/lib/icon/info-line.js +131 -382
  79. package/lib/icon/info.js +131 -382
  80. package/lib/icon/left-shape.js +131 -382
  81. package/lib/icon/left-turn-line.js +131 -382
  82. package/lib/icon/narrow-line.js +131 -382
  83. package/lib/icon/original.js +131 -382
  84. package/lib/icon/pdf-fill.js +131 -382
  85. package/lib/icon/play-shape.js +131 -382
  86. package/lib/icon/plus.js +131 -382
  87. package/lib/icon/ppt-fill.js +131 -382
  88. package/lib/icon/qq.js +131 -382
  89. package/lib/icon/right-shape.js +131 -382
  90. package/lib/icon/right-turn-line.js +131 -382
  91. package/lib/icon/search.js +131 -382
  92. package/lib/icon/share.js +131 -382
  93. package/lib/icon/spinner.js +131 -382
  94. package/lib/icon/success.js +131 -382
  95. package/lib/icon/switcher-loading.js +131 -382
  96. package/lib/icon/text-file.js +131 -382
  97. package/lib/icon/text-fill.js +131 -382
  98. package/lib/icon/transfer.js +131 -382
  99. package/lib/icon/tree-application-shape.js +131 -382
  100. package/lib/icon/unfull-screen.js +131 -382
  101. package/lib/icon/unvisible.js +131 -382
  102. package/lib/icon/up-shape.js +131 -382
  103. package/lib/icon/upload.js +131 -382
  104. package/lib/icon/video-fill.js +131 -382
  105. package/lib/icon/warn.js +131 -382
  106. package/lib/icon/weixin-pro.js +131 -382
  107. package/lib/icon/weixin.js +131 -382
  108. package/lib/image/index.js +57 -9
  109. package/lib/info-box/index.js +145 -436
  110. package/lib/input/index.js +105 -415
  111. package/lib/link/index.js +2 -2
  112. package/lib/loading/index.js +18 -16
  113. package/lib/menu/index.js +22 -23
  114. package/lib/message/index.js +62 -57
  115. package/lib/modal/index.js +77 -18
  116. package/lib/navigation/index.js +11 -11
  117. package/lib/notify/index.js +51 -48
  118. package/lib/overflow-title/index.js +6 -5
  119. package/lib/plugin-popover/index.js +202 -364
  120. package/lib/popover/index.js +202 -364
  121. package/lib/process/index.js +55 -395
  122. package/lib/progress/index.js +51 -48
  123. package/lib/radio/index.js +4 -4
  124. package/lib/rate/index.js +2 -2
  125. package/lib/resize-layout/index.js +4 -5
  126. package/lib/search-select/index.js +179 -486
  127. package/lib/select/index.js +148 -479
  128. package/lib/shared/index.js +176 -352
  129. package/lib/sideslider/index.js +82 -373
  130. package/lib/slider/index.js +48 -386
  131. package/lib/steps/index.js +67 -405
  132. package/lib/swiper/index.js +10 -10
  133. package/lib/switcher/index.js +2 -2
  134. package/lib/tab/index.js +63 -8
  135. package/lib/table/index.js +262 -424
  136. package/lib/table-column/index.js +7 -6
  137. package/lib/tag/index.js +2 -2
  138. package/lib/tag-input/index.js +29 -21
  139. package/lib/timeline/index.js +6 -7
  140. package/lib/transfer/index.js +8 -8
  141. package/lib/tree/index.js +139 -319
  142. package/lib/upload/index.js +104 -423
  143. package/lib/virtual-render/index.js +60 -16
  144. package/package.json +2 -1
@@ -95,15 +95,15 @@ var TitleProps = {
95
95
  var _usePrefix = (0,external_config_provider_namespaceObject.usePrefix)(),
96
96
  resolveClassName = _usePrefix.resolveClassName;
97
97
  return function () {
98
- var _a, _b;
98
+ var _slots$default, _slots$sideIcon;
99
99
  return (0,external_vue_namespaceObject.createVNode)("div", {
100
100
  "class": "".concat(resolveClassName('navigation-title')),
101
101
  "style": {
102
102
  borderBottomWidth: props.navigationType === 'left-right' ? '0' : '1px'
103
103
  }
104
- }, [((_a = slots["default"]) === null || _a === void 0 ? void 0 : _a.call(slots)) || [(0,external_vue_namespaceObject.createVNode)("span", {
104
+ }, [((_slots$default = slots["default"]) === null || _slots$default === void 0 ? void 0 : _slots$default.call(slots)) || [(0,external_vue_namespaceObject.createVNode)("span", {
105
105
  "class": "title-icon"
106
- }, [((_b = slots['side-icon']) === null || _b === void 0 ? void 0 : _b.call(slots)) || (0,external_vue_namespaceObject.createVNode)("i", {
106
+ }, [((_slots$sideIcon = slots['side-icon']) === null || _slots$sideIcon === void 0 ? void 0 : _slots$sideIcon.call(slots)) || (0,external_vue_namespaceObject.createVNode)("i", {
107
107
  "class": "".concat(resolveClassName('icon'), " icon-rtx")
108
108
  }, null)]), (0,external_vue_namespaceObject.createVNode)("span", {
109
109
  "class": "title-desc"
@@ -253,7 +253,7 @@ var NavigationProps = {
253
253
  };
254
254
  },
255
255
  render: function render() {
256
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
256
+ var _this$$slots$header, _this$$slots, _this$$slots$menu, _this$$slots2, _this$$slots$sideFoo, _this$$slots3, _this$$slots$header2, _this$$slots4, _this$$slots$headerS, _this$$slots5, _this$$slots$default, _this$$slots6, _this$$slots$footer, _this$$slots7;
257
257
  return (0,external_vue_namespaceObject.createVNode)("div", {
258
258
  "class": "".concat(this.resolveClassName('navigation'))
259
259
  }, [this.navigationType === 'top-bottom' && (0,external_vue_namespaceObject.createVNode)("div", {
@@ -268,7 +268,7 @@ var NavigationProps = {
268
268
  'side-icon': !this.$slots['side-header'] ? this.$slots['side-icon'] : undefined
269
269
  }), (0,external_vue_namespaceObject.createVNode)("div", {
270
270
  "class": "header-right"
271
- }, [(_b = (_a = this.$slots).header) === null || _b === void 0 ? void 0 : _b.call(_a)])]), (0,external_vue_namespaceObject.createVNode)("div", {
271
+ }, [(_this$$slots$header = (_this$$slots = this.$slots).header) === null || _this$$slots$header === void 0 ? void 0 : _this$$slots$header.call(_this$$slots)])]), (0,external_vue_namespaceObject.createVNode)("div", {
272
272
  "class": "".concat(this.resolveClassName('navigation-wrapper'))
273
273
  }, [this.needMenu && (0,external_vue_namespaceObject.createVNode)("div", {
274
274
  "class": "navigation-nav",
@@ -296,7 +296,7 @@ var NavigationProps = {
296
296
  "style": {
297
297
  height: "calc(100vh - ".concat(+this.headHeight + 56, "px)")
298
298
  }
299
- }, [(_d = (_c = this.$slots).menu) === null || _d === void 0 ? void 0 : _d.call(_c)]), (0,external_vue_namespaceObject.createVNode)("div", {
299
+ }, [(_this$$slots$menu = (_this$$slots2 = this.$slots).menu) === null || _this$$slots$menu === void 0 ? void 0 : _this$$slots$menu.call(_this$$slots2)]), (0,external_vue_namespaceObject.createVNode)("div", {
300
300
  "class": "nav-slider-footer"
301
301
  }, [(0,external_vue_namespaceObject.createVNode)("div", {
302
302
  "class": {
@@ -309,7 +309,7 @@ var NavigationProps = {
309
309
  "style": {
310
310
  transform: this.nav.click ? 'rotate(180deg)' : 'rotate(0deg)'
311
311
  }
312
- }, null)])]), (_f = (_e = this.$slots)['side-footer']) === null || _f === void 0 ? void 0 : _f.call(_e)])]), (0,external_vue_namespaceObject.createVNode)("div", {
312
+ }, null)])]), (_this$$slots$sideFoo = (_this$$slots3 = this.$slots)['side-footer']) === null || _this$$slots$sideFoo === void 0 ? void 0 : _this$$slots$sideFoo.call(_this$$slots3)])]), (0,external_vue_namespaceObject.createVNode)("div", {
313
313
  "class": "navigation-container",
314
314
  "style": {
315
315
  maxWidth: this.needMenu ? 'calc(100vw - 60px)' : '100vw'
@@ -319,18 +319,18 @@ var NavigationProps = {
319
319
  "style": {
320
320
  flexBasis: "".concat(this.headHeight, "px")
321
321
  }
322
- }, [((_h = (_g = this.$slots).header) === null || _h === void 0 ? void 0 : _h.call(_g)) || [(0,external_vue_namespaceObject.createVNode)("div", {
322
+ }, [((_this$$slots$header2 = (_this$$slots4 = this.$slots).header) === null || _this$$slots$header2 === void 0 ? void 0 : _this$$slots$header2.call(_this$$slots4)) || [(0,external_vue_namespaceObject.createVNode)("div", {
323
323
  "class": "container-header-title"
324
324
  }, [this.headerTitle]), (0,external_vue_namespaceObject.createVNode)("div", {
325
325
  "class": "container-header-sets"
326
- }, [(_k = (_j = this.$slots)['header-set']) === null || _k === void 0 ? void 0 : _k.call(_j)])]]), (0,external_vue_namespaceObject.createVNode)("div", {
326
+ }, [(_this$$slots$headerS = (_this$$slots5 = this.$slots)['header-set']) === null || _this$$slots$headerS === void 0 ? void 0 : _this$$slots$headerS.call(_this$$slots5)])]]), (0,external_vue_namespaceObject.createVNode)("div", {
327
327
  "class": "container-content",
328
328
  "style": {
329
329
  maxHeight: "calc(100vh - ".concat(this.headHeight, "px)")
330
330
  }
331
- }, [(_m = (_l = this.$slots)["default"]) === null || _m === void 0 ? void 0 : _m.call(_l), (0,external_vue_namespaceObject.createVNode)("div", {
331
+ }, [(_this$$slots$default = (_this$$slots6 = this.$slots)["default"]) === null || _this$$slots$default === void 0 ? void 0 : _this$$slots$default.call(_this$$slots6), (0,external_vue_namespaceObject.createVNode)("div", {
332
332
  "class": "container-footer"
333
- }, [(_p = (_o = this.$slots).footer) === null || _p === void 0 ? void 0 : _p.call(_o)])])])])]);
333
+ }, [(_this$$slots$footer = (_this$$slots7 = this.$slots).footer) === null || _this$$slots$footer === void 0 ? void 0 : _this$$slots$footer.call(_this$$slots7)])])])])]);
334
334
  }
335
335
  }));
336
336
  ;// CONCATENATED MODULE: ../../packages/navigation/src/index.ts
@@ -32,6 +32,51 @@ __webpack_require__.d(__webpack_exports__, {
32
32
  Z: () => (/* binding */ src)
33
33
  });
34
34
 
35
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
36
+ function _typeof(obj) {
37
+ "@babel/helpers - typeof";
38
+
39
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
40
+ return typeof obj;
41
+ } : function (obj) {
42
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
43
+ }, _typeof(obj);
44
+ }
45
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
46
+
47
+ function _toPrimitive(input, hint) {
48
+ if (_typeof(input) !== "object" || input === null) return input;
49
+ var prim = input[Symbol.toPrimitive];
50
+ if (prim !== undefined) {
51
+ var res = prim.call(input, hint || "default");
52
+ if (_typeof(res) !== "object") return res;
53
+ throw new TypeError("@@toPrimitive must return a primitive value.");
54
+ }
55
+ return (hint === "string" ? String : Number)(input);
56
+ }
57
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
58
+
59
+
60
+ function _toPropertyKey(arg) {
61
+ var key = _toPrimitive(arg, "string");
62
+ return _typeof(key) === "symbol" ? key : String(key);
63
+ }
64
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
65
+
66
+ function _defineProperty(obj, key, value) {
67
+ key = _toPropertyKey(key);
68
+ if (key in obj) {
69
+ Object.defineProperty(obj, key, {
70
+ value: value,
71
+ enumerable: true,
72
+ configurable: true,
73
+ writable: true
74
+ });
75
+ } else {
76
+ obj[key] = value;
77
+ }
78
+ return obj;
79
+ }
35
80
  ;// CONCATENATED MODULE: external "vue"
36
81
  var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
37
82
  var y = x => () => x
@@ -41,6 +86,9 @@ var external_shared_x = y => { var x = {}; __webpack_require__.d(x, y); return x
41
86
  var external_shared_y = x => () => x
42
87
  const external_shared_namespaceObject = external_shared_x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.PropTypes, ["bkZIndexManager"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.bkZIndexManager, ["isElement"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.isElement });
43
88
  ;// CONCATENATED MODULE: ../../packages/hooks/use-message.ts
89
+
90
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
91
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
44
92
  /*
45
93
  * Tencent is pleased to support the open source community by making
46
94
  * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
@@ -94,7 +142,7 @@ var Message = function Message(constructor, options) {
94
142
  });
95
143
  seed += 1;
96
144
  var id = "message_".concat(seed);
97
- opts = Object.assign(Object.assign({}, opts), {
145
+ opts = _objectSpread(_objectSpread({}, opts), {}, {
98
146
  offsetX: horizontalOffset,
99
147
  offsetY: verticalOffset,
100
148
  id: id
@@ -114,9 +162,9 @@ var Message = function Message(constructor, options) {
114
162
  };
115
163
  vm.props.onDetail = function (_isShow, id) {
116
164
  instances[position].forEach(function (item) {
117
- var _a, _b;
118
165
  if (item.props.id !== id) {
119
- (_b = (_a = item.component) === null || _a === void 0 ? void 0 : _a.exposed) === null || _b === void 0 ? void 0 : _b.setDetailsShow(null, false);
166
+ var _item$component;
167
+ (_item$component = item.component) === null || _item$component === void 0 || (_item$component = _item$component.exposed) === null || _item$component === void 0 ? void 0 : _item$component.setDetailsShow(null, false);
120
168
  }
121
169
  });
122
170
  // setTimeout(() => {
@@ -154,51 +202,6 @@ function use_message_close(id, position, spacing, userOnClose) {
154
202
  instances[position].splice(instanceIndex, 1);
155
203
  }
156
204
  /* harmony default export */ const use_message = (Message);
157
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
158
- function _typeof(obj) {
159
- "@babel/helpers - typeof";
160
-
161
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
162
- return typeof obj;
163
- } : function (obj) {
164
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
165
- }, _typeof(obj);
166
- }
167
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
168
-
169
- function _toPrimitive(input, hint) {
170
- if (_typeof(input) !== "object" || input === null) return input;
171
- var prim = input[Symbol.toPrimitive];
172
- if (prim !== undefined) {
173
- var res = prim.call(input, hint || "default");
174
- if (_typeof(res) !== "object") return res;
175
- throw new TypeError("@@toPrimitive must return a primitive value.");
176
- }
177
- return (hint === "string" ? String : Number)(input);
178
- }
179
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
180
-
181
-
182
- function _toPropertyKey(arg) {
183
- var key = _toPrimitive(arg, "string");
184
- return _typeof(key) === "symbol" ? key : String(key);
185
- }
186
- ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
187
-
188
- function _defineProperty(obj, key, value) {
189
- key = _toPropertyKey(key);
190
- if (key in obj) {
191
- Object.defineProperty(obj, key, {
192
- value: value,
193
- enumerable: true,
194
- configurable: true,
195
- writable: true
196
- });
197
- } else {
198
- obj[key] = value;
199
- }
200
- return obj;
201
- }
202
205
  ;// CONCATENATED MODULE: external "vue-types"
203
206
  var external_vue_types_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
204
207
  var external_vue_types_y = x => () => x
@@ -333,21 +333,21 @@ var overflow = __webpack_require__(35);
333
333
  var isShowTips = (0,external_vue_namespaceObject.ref)(false);
334
334
  var textProps = (0,external_vue_namespaceObject.shallowRef)();
335
335
  var contentText = (0,external_vue_namespaceObject.computed)(function () {
336
- var _a;
336
+ var _slots$default;
337
337
  if (props.content) {
338
338
  return props.content;
339
339
  }
340
- return (_a = slots === null || slots === void 0 ? void 0 : slots["default"]) === null || _a === void 0 ? void 0 : _a.call(slots);
340
+ return slots === null || slots === void 0 || (_slots$default = slots["default"]) === null || _slots$default === void 0 ? void 0 : _slots$default.call(slots);
341
341
  });
342
342
  (0,external_vue_namespaceObject.onMounted)(function () {
343
343
  var clientWidth = boxRef.value.clientWidth;
344
344
  var resizeHandler = (0,external_shared_namespaceObject.debounce)(500, function () {
345
- var _a, _b, _c;
346
345
  isShowTips.value = false;
347
346
  textProps.value = {};
348
347
  var textWidth = 0;
349
348
  if (props.calType === 'dom') {
350
- textWidth = utils_getActualWidthByDom((_a = textRef.value) === null || _a === void 0 ? void 0 : _a.textContent, null, boxRef.value);
349
+ var _textRef$value;
350
+ textWidth = utils_getActualWidthByDom((_textRef$value = textRef.value) === null || _textRef$value === void 0 ? void 0 : _textRef$value.textContent, null, boxRef.value);
351
351
  } else {
352
352
  var _getComputedStyle = getComputedStyle(boxRef.value),
353
353
  fontSize = _getComputedStyle.fontSize,
@@ -360,8 +360,9 @@ var overflow = __webpack_require__(35);
360
360
  if (textWidth > clientWidth) {
361
361
  isShowTips.value = true;
362
362
  if (props.type === 'title') {
363
+ var _textRef$value$innerT, _textRef$value2;
363
364
  textProps.value = {
364
- title: (_c = (_b = textRef === null || textRef === void 0 ? void 0 : textRef.value) === null || _b === void 0 ? void 0 : _b.innerText) !== null && _c !== void 0 ? _c : props.content
365
+ title: (_textRef$value$innerT = textRef === null || textRef === void 0 || (_textRef$value2 = textRef.value) === null || _textRef$value2 === void 0 ? void 0 : _textRef$value2.innerText) !== null && _textRef$value$innerT !== void 0 ? _textRef$value$innerT : props.content
365
366
  };
366
367
  }
367
368
  }