bkui-vue 2.0.1-beta.112 → 2.0.1-beta.113

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 (248) hide show
  1. package/dist/index.cjs.js +54 -54
  2. package/dist/index.esm.js +13942 -13951
  3. package/dist/index.umd.js +54 -54
  4. package/dist/style.css +1 -1
  5. package/lib/affix/index.d.ts +111 -57
  6. package/lib/affix/index.js +17 -17
  7. package/lib/alert/index.d.ts +126 -73
  8. package/lib/alert/index.js +20 -20
  9. package/lib/animate-number/index.d.ts +96 -33
  10. package/lib/animate-number/index.js +7 -8
  11. package/lib/backtop/index.d.ts +117 -69
  12. package/lib/backtop/index.js +10 -11
  13. package/lib/badge/index.d.ts +152 -119
  14. package/lib/badge/index.js +19 -19
  15. package/lib/breadcrumb/index.d.ts +119 -67
  16. package/lib/breadcrumb/index.js +17 -17
  17. package/lib/button/button.d.ts +2 -2
  18. package/lib/button/index.d.ts +155 -119
  19. package/lib/button/index.js +20 -19
  20. package/lib/card/index.d.ts +157 -128
  21. package/lib/card/index.js +22 -20
  22. package/lib/cascader/cascader.d.ts +3 -3
  23. package/lib/cascader/index.d.ts +354 -393
  24. package/lib/cascader/index.js +57 -59
  25. package/lib/checkbox/checkbox.d.ts +1 -1
  26. package/lib/checkbox/index.d.ts +175 -143
  27. package/lib/checkbox/index.js +45 -45
  28. package/lib/code-diff/index.d.ts +82 -65
  29. package/lib/code-diff/index.js +438 -381
  30. package/lib/collapse/index.d.ts +175 -156
  31. package/lib/collapse/index.js +27 -28
  32. package/lib/collapse-transition/index.d.ts +94 -19
  33. package/lib/collapse-transition/index.js +3 -4
  34. package/lib/color-picker/color-picker.d.ts +1 -1
  35. package/lib/color-picker/index.d.ts +165 -144
  36. package/lib/color-picker/index.js +40 -42
  37. package/lib/config-provider/index.d.ts +227 -160
  38. package/lib/config-provider/index.js +17 -17
  39. package/lib/container/container.d.ts +1 -1
  40. package/lib/container/index.d.ts +85 -74
  41. package/lib/container/index.js +26 -28
  42. package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
  43. package/lib/date-picker/base/time-spinner.d.ts +3 -3
  44. package/lib/date-picker/date-picker.d.ts +4 -4
  45. package/lib/date-picker/index.d.ts +351 -380
  46. package/lib/date-picker/index.js +79 -80
  47. package/lib/date-picker/panel/date-range.d.ts +1 -1
  48. package/lib/date-picker/panel/date.d.ts +1 -1
  49. package/lib/date-picker/panel/time-range.d.ts +2 -2
  50. package/lib/date-picker/panel/time.d.ts +2 -2
  51. package/lib/date-picker/time-picker.d.ts +4 -4
  52. package/lib/dialog/index.d.ts +269 -299
  53. package/lib/dialog/index.js +228 -227
  54. package/lib/directives/index.js +29 -29
  55. package/lib/divider/index.d.ts +111 -57
  56. package/lib/divider/index.js +2 -3
  57. package/lib/dropdown/dropdown.d.ts +1 -1
  58. package/lib/dropdown/index.d.ts +136 -94
  59. package/lib/dropdown/index.js +22 -24
  60. package/lib/exception/index.d.ts +102 -41
  61. package/lib/exception/index.js +21 -21
  62. package/lib/fixed-navbar/index.d.ts +113 -59
  63. package/lib/fixed-navbar/index.js +2 -3
  64. package/lib/form/form.d.ts +1 -1
  65. package/lib/form/index.d.ts +132 -80
  66. package/lib/form/index.js +22 -21
  67. package/lib/icon/angle-double-down-line.js +17 -17
  68. package/lib/icon/angle-double-left-line.js +17 -17
  69. package/lib/icon/angle-double-left.js +17 -17
  70. package/lib/icon/angle-double-right-line.js +17 -17
  71. package/lib/icon/angle-double-right.js +17 -17
  72. package/lib/icon/angle-double-up-line.js +17 -17
  73. package/lib/icon/angle-down-fill.js +17 -17
  74. package/lib/icon/angle-down-line.js +17 -17
  75. package/lib/icon/angle-down.js +17 -17
  76. package/lib/icon/angle-left.js +17 -17
  77. package/lib/icon/angle-right.js +17 -17
  78. package/lib/icon/angle-up-fill.js +17 -17
  79. package/lib/icon/angle-up.js +17 -17
  80. package/lib/icon/archive-fill.js +17 -17
  81. package/lib/icon/arrows-left.js +17 -17
  82. package/lib/icon/arrows-right.js +17 -17
  83. package/lib/icon/assistant.js +17 -17
  84. package/lib/icon/audio-fill.js +17 -17
  85. package/lib/icon/bk.js +17 -17
  86. package/lib/icon/circle.js +17 -17
  87. package/lib/icon/close-line.js +17 -17
  88. package/lib/icon/close.js +17 -17
  89. package/lib/icon/code.js +17 -17
  90. package/lib/icon/cog-shape.js +17 -17
  91. package/lib/icon/collapse-left.js +17 -17
  92. package/lib/icon/copy-shape.js +17 -17
  93. package/lib/icon/copy.js +17 -17
  94. package/lib/icon/data-shape.js +17 -17
  95. package/lib/icon/del.js +17 -17
  96. package/lib/icon/doc-fill.js +17 -17
  97. package/lib/icon/done.js +17 -17
  98. package/lib/icon/down-shape.js +17 -17
  99. package/lib/icon/down-small.js +17 -17
  100. package/lib/icon/edit-line.js +17 -17
  101. package/lib/icon/ellipsis.js +17 -17
  102. package/lib/icon/enlarge-line.js +17 -17
  103. package/lib/icon/error.js +17 -17
  104. package/lib/icon/excel-fill.js +17 -17
  105. package/lib/icon/exclamation-circle-shape.js +17 -17
  106. package/lib/icon/eye.js +17 -17
  107. package/lib/icon/filliscreen-line.js +17 -17
  108. package/lib/icon/fix-line.js +17 -17
  109. package/lib/icon/fix-shape.js +17 -17
  110. package/lib/icon/folder-open.js +17 -17
  111. package/lib/icon/folder-shape-open.js +17 -17
  112. package/lib/icon/folder-shape.js +17 -17
  113. package/lib/icon/folder.js +17 -17
  114. package/lib/icon/funnel.js +17 -17
  115. package/lib/icon/grag-fill.js +17 -17
  116. package/lib/icon/help-document-fill.js +17 -17
  117. package/lib/icon/help-fill.js +17 -17
  118. package/lib/icon/help.js +17 -17
  119. package/lib/icon/image-fill.js +17 -17
  120. package/lib/icon/img-error.js +17 -17
  121. package/lib/icon/img-placehoulder.js +17 -17
  122. package/lib/icon/info-line.js +17 -17
  123. package/lib/icon/info.js +17 -17
  124. package/lib/icon/left-shape.js +17 -17
  125. package/lib/icon/left-turn-line.js +17 -17
  126. package/lib/icon/loading.js +17 -17
  127. package/lib/icon/narrow-line.js +17 -17
  128. package/lib/icon/original.js +17 -17
  129. package/lib/icon/pdf-fill.js +17 -17
  130. package/lib/icon/play-shape.js +17 -17
  131. package/lib/icon/plus.js +17 -17
  132. package/lib/icon/ppt-fill.js +17 -17
  133. package/lib/icon/qq.js +17 -17
  134. package/lib/icon/right-shape.js +17 -17
  135. package/lib/icon/right-turn-line.js +17 -17
  136. package/lib/icon/search.js +17 -17
  137. package/lib/icon/share.js +17 -17
  138. package/lib/icon/spinner.js +17 -17
  139. package/lib/icon/success.js +17 -17
  140. package/lib/icon/switcher-loading.js +17 -17
  141. package/lib/icon/text-all.js +17 -17
  142. package/lib/icon/text-file.js +17 -17
  143. package/lib/icon/text-fill.js +17 -17
  144. package/lib/icon/transfer.js +17 -17
  145. package/lib/icon/tree-application-shape.js +17 -17
  146. package/lib/icon/unfull-screen.js +17 -17
  147. package/lib/icon/unvisible.js +17 -17
  148. package/lib/icon/up-shape.js +17 -17
  149. package/lib/icon/upload.js +17 -17
  150. package/lib/icon/video-fill.js +17 -17
  151. package/lib/icon/warn.js +17 -17
  152. package/lib/icon/weixin-pro.js +17 -17
  153. package/lib/icon/weixin.js +17 -17
  154. package/lib/image/index.d.ts +149 -113
  155. package/lib/image/index.js +26 -27
  156. package/lib/index.js +1 -1
  157. package/lib/info-box/index.js +233 -232
  158. package/lib/input/index.d.ts +293 -326
  159. package/lib/input/index.js +48 -46
  160. package/lib/link/index.d.ts +122 -73
  161. package/lib/link/index.js +2 -2
  162. package/lib/loading/index.d.ts +156 -130
  163. package/lib/loading/index.js +33 -32
  164. package/lib/loading/loading.d.ts +1 -1
  165. package/lib/menu/index.d.ts +116 -55
  166. package/lib/menu/index.js +25 -26
  167. package/lib/message/index.js +25 -24
  168. package/lib/message/messageConstructor.d.ts +5 -5
  169. package/lib/modal/index.d.ts +185 -171
  170. package/lib/modal/index.js +19 -19
  171. package/lib/navigation/index.d.ts +188 -152
  172. package/lib/navigation/index.js +7 -9
  173. package/lib/notify/index.js +21 -20
  174. package/lib/overflow-title/index.d.ts +256 -343
  175. package/lib/overflow-title/index.js +10 -11
  176. package/lib/pagination/index.d.ts +198 -184
  177. package/lib/pagination/index.js +56 -49
  178. package/lib/pop-confirm/index.d.ts +153 -115
  179. package/lib/pop-confirm/index.js +4 -5
  180. package/lib/pop-confirm/pop-confirm.d.ts +1 -1
  181. package/lib/popover/content.d.ts +1 -1
  182. package/lib/popover/index.d.ts +359 -421
  183. package/lib/popover/index.js +122 -220
  184. package/lib/popover2/index.d.ts +83 -8
  185. package/lib/popover2/index.js +2 -2
  186. package/lib/process/index.d.ts +137 -93
  187. package/lib/process/index.js +226 -226
  188. package/lib/progress/index.d.ts +187 -178
  189. package/lib/progress/index.js +21 -22
  190. package/lib/progress/progress.d.ts +2 -2
  191. package/lib/radio/index.d.ts +140 -91
  192. package/lib/radio/index.js +48 -46
  193. package/lib/rate/index.d.ts +112 -55
  194. package/lib/rate/index.js +20 -19
  195. package/lib/resize-layout/index.d.ts +192 -168
  196. package/lib/resize-layout/index.js +21 -20
  197. package/lib/resize-layout/resize-layout.d.ts +2 -2
  198. package/lib/scrollbar/index.js +38 -38
  199. package/lib/search-select/index.d.ts +901 -684
  200. package/lib/search-select/index.js +274 -274
  201. package/lib/search-select/input.d.ts +2 -2
  202. package/lib/search-select/search-select.d.ts +188 -133
  203. package/lib/search-select/selected.d.ts +188 -133
  204. package/lib/select/index.d.ts +1333 -1491
  205. package/lib/select/index.js +280 -279
  206. package/lib/select/select.d.ts +169 -132
  207. package/lib/select/selectTagInput.d.ts +2 -2
  208. package/lib/shared/index.js +56 -54
  209. package/lib/sideslider/index.d.ts +201 -197
  210. package/lib/sideslider/index.js +228 -227
  211. package/lib/slider/index.d.ts +210 -214
  212. package/lib/slider/index.js +225 -226
  213. package/lib/steps/index.d.ts +149 -110
  214. package/lib/steps/index.js +231 -230
  215. package/lib/swiper/index.d.ts +127 -81
  216. package/lib/swiper/index.js +18 -18
  217. package/lib/switcher/index.d.ts +174 -152
  218. package/lib/switcher/index.js +22 -20
  219. package/lib/tab/index.d.ts +183 -151
  220. package/lib/tab/index.js +19 -20
  221. package/lib/table/components/table-column.d.ts +1 -1
  222. package/lib/table/hooks/use-columns.d.ts +1 -1
  223. package/lib/table/hooks/use-layout.d.ts +2 -2
  224. package/lib/table/hooks/use-rows.d.ts +1 -1
  225. package/lib/table/index.d.ts +362 -457
  226. package/lib/table/index.js +348 -336
  227. package/lib/table/table.d.ts +1 -1
  228. package/lib/table-column/index.d.ts +150 -104
  229. package/lib/tag/index.d.ts +142 -95
  230. package/lib/tag/index.js +19 -19
  231. package/lib/tag-input/index.d.ts +540 -755
  232. package/lib/tag-input/index.js +58 -52
  233. package/lib/tag-input/tag-input.d.ts +5 -5
  234. package/lib/time-picker/index.d.ts +386 -439
  235. package/lib/timeline/index.d.ts +131 -64
  236. package/lib/timeline/index.js +6 -6
  237. package/lib/transfer/index.d.ts +206 -191
  238. package/lib/tree/index.d.ts +308 -350
  239. package/lib/tree/index.js +74 -71
  240. package/lib/tree/tree.d.ts +1 -1
  241. package/lib/tree/use-tree-init.d.ts +1 -1
  242. package/lib/upload/index.d.ts +273 -311
  243. package/lib/upload/index.js +264 -261
  244. package/lib/upload/upload.d.ts +2 -2
  245. package/lib/virtual-render/index.d.ts +241 -333
  246. package/lib/virtual-render/index.js +29 -29
  247. package/lib/virtual-render/virtual-render.d.ts +1 -1
  248. package/package.json +1 -1
@@ -45,7 +45,7 @@ const shared_namespaceObject = x({ ["PlacementEnum"]: () => __WEBPACK_EXTERNAL_M
45
45
  ;// CONCATENATED MODULE: external "vue"
46
46
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
47
47
  var external_vue_y = x => () => x
48
- const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["Teleport"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Teleport, ["Text"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Text, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createApp"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createApp, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["nextTick"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.nextTick, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["toRefs"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.toRefs, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
48
+ const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createApp"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createApp, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["resolveDirective"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch, ["withDirectives"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives });
49
49
  ;// CONCATENATED MODULE: external "../directives"
50
50
  var directives_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
51
51
  var directives_y = x => () => x
@@ -82,8 +82,7 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
82
82
  * IN THE SOFTWARE.
83
83
  */
84
84
 
85
-
86
- /* harmony default export */ const src_arrow = ((0,external_vue_namespaceObject.defineComponent)({
85
+ /* harmony default export */ const src_arrow = (defineComponent({
87
86
  name: 'PopArrow',
88
87
  render: function render() {
89
88
  var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
@@ -95,38 +94,38 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
95
94
  }
96
95
  }));
97
96
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
98
- function _typeof(o) {
97
+ function _typeof(obj) {
99
98
  "@babel/helpers - typeof";
100
99
 
101
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
102
- return typeof o;
103
- } : function (o) {
104
- return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
105
- }, _typeof(o);
100
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
101
+ return typeof obj;
102
+ } : function (obj) {
103
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
104
+ }, _typeof(obj);
106
105
  }
107
106
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
108
107
 
109
- function toPrimitive(t, r) {
110
- if ("object" != _typeof(t) || !t) return t;
111
- var e = t[Symbol.toPrimitive];
112
- if (void 0 !== e) {
113
- var i = e.call(t, r || "default");
114
- if ("object" != _typeof(i)) return i;
108
+ function _toPrimitive(input, hint) {
109
+ if (_typeof(input) !== "object" || input === null) return input;
110
+ var prim = input[Symbol.toPrimitive];
111
+ if (prim !== undefined) {
112
+ var res = prim.call(input, hint || "default");
113
+ if (_typeof(res) !== "object") return res;
115
114
  throw new TypeError("@@toPrimitive must return a primitive value.");
116
115
  }
117
- return ("string" === r ? String : Number)(t);
116
+ return (hint === "string" ? String : Number)(input);
118
117
  }
119
118
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
120
119
 
121
120
 
122
- function toPropertyKey(t) {
123
- var i = toPrimitive(t, "string");
124
- return "symbol" == _typeof(i) ? i : String(i);
121
+ function _toPropertyKey(arg) {
122
+ var key = _toPrimitive(arg, "string");
123
+ return _typeof(key) === "symbol" ? key : String(key);
125
124
  }
126
125
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
127
126
 
128
127
  function _defineProperty(obj, key, value) {
129
- key = toPropertyKey(key);
128
+ key = _toPropertyKey(key);
130
129
  if (key in obj) {
131
130
  Object.defineProperty(obj, key, {
132
131
  value: value,
@@ -141,6 +140,7 @@ function _defineProperty(obj, key, value) {
141
140
  }
142
141
  ;// CONCATENATED MODULE: ../../packages/popover/src/const.tsx
143
142
 
143
+ var _EMIT_EVENT_TYPES;
144
144
  /* eslint-disable @typescript-eslint/naming-convention */
145
145
  /*
146
146
  * Tencent is pleased to support the open source community by making
@@ -184,7 +184,7 @@ var EVENT_COMMON_FN = function EVENT_COMMON_FN(e) {
184
184
  var EVENT_CLICK_OUTSIDE_FN = function EVENT_CLICK_OUTSIDE_FN(_args) {
185
185
  return true;
186
186
  };
187
- var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, EMIT_EVENTS.CLICK_OUTSIDE, EVENT_CLICK_OUTSIDE_FN), EMIT_EVENTS.CONTENT_MOUSEENTER, EVENT_COMMON_FN), EMIT_EVENTS.CONTENT_MOUSELEAVE, EVENT_COMMON_FN), EMIT_EVENTS.CONTENT_AfterHidden, EVENT_SHOW_HIDE_FN), EMIT_EVENTS.CONTENT_AfterShow, EVENT_SHOW_HIDE_FN);
187
+ var EMIT_EVENT_TYPES = (_EMIT_EVENT_TYPES = {}, _defineProperty(_EMIT_EVENT_TYPES, EMIT_EVENTS.CLICK_OUTSIDE, EVENT_CLICK_OUTSIDE_FN), _defineProperty(_EMIT_EVENT_TYPES, EMIT_EVENTS.CONTENT_MOUSEENTER, EVENT_COMMON_FN), _defineProperty(_EMIT_EVENT_TYPES, EMIT_EVENTS.CONTENT_MOUSELEAVE, EVENT_COMMON_FN), _defineProperty(_EMIT_EVENT_TYPES, EMIT_EVENTS.CONTENT_AfterHidden, EVENT_SHOW_HIDE_FN), _defineProperty(_EMIT_EVENT_TYPES, EMIT_EVENTS.CONTENT_AfterShow, EVENT_SHOW_HIDE_FN), _EMIT_EVENT_TYPES);
188
188
  ;// CONCATENATED MODULE: ../../packages/popover/src/content.tsx
189
189
 
190
190
  /*
@@ -214,8 +214,7 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
214
214
  */
215
215
 
216
216
 
217
-
218
- /* harmony default export */ const content = ((0,external_vue_namespaceObject.defineComponent)({
217
+ /* harmony default export */ const content = (defineComponent({
219
218
  name: 'PopContent',
220
219
  props: {
221
220
  width: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.string, shared_namespaceObject.PropTypes.number]).def('auto'),
@@ -235,7 +234,7 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
235
234
  }
236
235
  return val;
237
236
  };
238
- var style = (0,external_vue_namespaceObject.computed)(function () {
237
+ var style = computed(function () {
239
238
  return {
240
239
  width: resolveValToPix(props.width),
241
240
  height: resolveValToPix(props.height),
@@ -243,8 +242,8 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
243
242
  maxWidth: resolveValToPix(props.maxWidth)
244
243
  };
245
244
  });
246
- var refContent = (0,external_vue_namespaceObject.ref)(null);
247
- var refTimer = (0,external_vue_namespaceObject.ref)(null);
245
+ var refContent = ref(null);
246
+ var refTimer = ref(null);
248
247
  var handleClick = function handleClick(evt) {
249
248
  evt.stopPropagation();
250
249
  emit('click', evt);
@@ -264,11 +263,11 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
264
263
  if (props.eventDelay === 0) {
265
264
  return;
266
265
  }
267
- (_refContent$value = refContent.value) === null || _refContent$value === void 0 || _refContent$value.style.setProperty('pointer-events', val);
266
+ (_refContent$value = refContent.value) === null || _refContent$value === void 0 ? void 0 : _refContent$value.style.setProperty('pointer-events', val);
268
267
  };
269
268
  var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
270
269
  resolveClassName = _usePrefix.resolveClassName;
271
- var contentClassName = (0,external_vue_namespaceObject.computed)(function () {
270
+ var contentClassName = computed(function () {
272
271
  return [resolveClassName('popover'), resolveClassName('pop2-content'), props.visible ? 'visible' : 'hidden', props.extCls];
273
272
  });
274
273
  return {
@@ -292,8 +291,8 @@ var EMIT_EVENT_TYPES = _defineProperty(_defineProperty(_defineProperty(_definePr
292
291
  _this$$slots3;
293
292
  var resolveContentStyle = function resolveContentStyle(slot) {
294
293
  var _slot$;
295
- if (external_vue_namespaceObject.Fragment === (slot === null || slot === void 0 || (_slot$ = slot[0]) === null || _slot$ === void 0 ? void 0 : _slot$.type)) {
296
- (0,external_vue_namespaceObject.nextTick)(function () {
294
+ if (Fragment === (slot === null || slot === void 0 || (_slot$ = slot[0]) === null || _slot$ === void 0 ? void 0 : _slot$.type)) {
295
+ nextTick(function () {
297
296
  _this.setContentPointerEvent('none');
298
297
  _this.resetPointerEvent();
299
298
  });
@@ -478,8 +477,7 @@ var PopoverProps = {
478
477
  * IN THE SOFTWARE.
479
478
  */
480
479
 
481
-
482
- /* harmony default export */ const root = ((0,external_vue_namespaceObject.defineComponent)({
480
+ /* harmony default export */ const root = (defineComponent({
483
481
  props: {
484
482
  "class": shared_namespaceObject.PropTypes.string.def(''),
485
483
  mode: shared_namespaceObject.PropTypes.string.def('')
@@ -494,31 +492,31 @@ function _arrayWithHoles(arr) {
494
492
  if (Array.isArray(arr)) return arr;
495
493
  }
496
494
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
497
- function _iterableToArrayLimit(r, l) {
498
- var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
499
- if (null != t) {
500
- var e,
501
- n,
502
- i,
503
- u,
504
- a = [],
505
- f = !0,
506
- o = !1;
495
+ function _iterableToArrayLimit(arr, i) {
496
+ var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
497
+ if (null != _i) {
498
+ var _s,
499
+ _e,
500
+ _x,
501
+ _r,
502
+ _arr = [],
503
+ _n = !0,
504
+ _d = !1;
507
505
  try {
508
- if (i = (t = t.call(r)).next, 0 === l) {
509
- if (Object(t) !== t) return;
510
- f = !1;
511
- } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
512
- } catch (r) {
513
- o = !0, n = r;
506
+ if (_x = (_i = _i.call(arr)).next, 0 === i) {
507
+ if (Object(_i) !== _i) return;
508
+ _n = !1;
509
+ } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
510
+ } catch (err) {
511
+ _d = !0, _e = err;
514
512
  } finally {
515
513
  try {
516
- if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
514
+ if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
517
515
  } finally {
518
- if (o) throw n;
516
+ if (_d) throw _e;
519
517
  }
520
518
  }
521
- return a;
519
+ return _arr;
522
520
  }
523
521
  }
524
522
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
@@ -550,11 +548,6 @@ function _slicedToArray(arr, i) {
550
548
  return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
551
549
  }
552
550
  ;// CONCATENATED MODULE: ../../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
553
- /**
554
- * Custom positioning reference element.
555
- * @see https://floating-ui.com/docs/virtual-elements
556
- */
557
-
558
551
  const sides = ['top', 'right', 'bottom', 'left'];
559
552
  const alignments = ['start', 'end'];
560
553
  const placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
@@ -742,7 +735,7 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
742
735
 
743
736
  /**
744
737
  * Computes the `x` and `y` coordinates that will place the floating element
745
- * next to a given reference element.
738
+ * next to a reference element when it is given a certain positioning strategy.
746
739
  *
747
740
  * This export does not have any `platform` interface logic. You will need to
748
741
  * write one for the platform you are using Floating UI with.
@@ -820,6 +813,7 @@ const computePosition = async (reference, floating, config) => {
820
813
  } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
821
814
  }
822
815
  i = -1;
816
+ continue;
823
817
  }
824
818
  }
825
819
  return {
@@ -882,7 +876,6 @@ async function detectOverflow(state, options) {
882
876
  y: 1
883
877
  };
884
878
  const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
885
- elements,
886
879
  rect,
887
880
  offsetParent,
888
881
  strategy
@@ -910,8 +903,7 @@ const arrow = options => ({
910
903
  placement,
911
904
  rects,
912
905
  platform,
913
- elements,
914
- middlewareData
906
+ elements
915
907
  } = state;
916
908
  // Since `element` is required, we don't Partial<> the type.
917
909
  const {
@@ -959,20 +951,16 @@ const arrow = options => ({
959
951
 
960
952
  // If the reference is small enough that the arrow's padding causes it to
961
953
  // to point to nothing for an aligned placement, adjust the offset of the
962
- // floating element itself. To ensure `shift()` continues to take action,
963
- // a single reset is performed when this is true.
964
- const shouldAddOffset = !middlewareData.arrow && floating_ui_utils_getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
965
- const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;
954
+ // floating element itself. This stops `shift()` from taking action, but can
955
+ // be worked around by calling it again after the `arrow()` if desired.
956
+ const shouldAddOffset = floating_ui_utils_getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
957
+ const alignmentOffset = shouldAddOffset ? center < min$1 ? min$1 - center : max - center : 0;
966
958
  return {
967
- [axis]: coords[axis] + alignmentOffset,
959
+ [axis]: coords[axis] - alignmentOffset,
968
960
  data: {
969
961
  [axis]: offset,
970
- centerOffset: center - offset - alignmentOffset,
971
- ...(shouldAddOffset && {
972
- alignmentOffset
973
- })
974
- },
975
- reset: shouldAddOffset
962
+ centerOffset: center - offset + alignmentOffset
963
+ }
976
964
  };
977
965
  }
978
966
  });
@@ -1094,7 +1082,7 @@ const flip = function (options) {
1094
1082
  name: 'flip',
1095
1083
  options,
1096
1084
  async fn(state) {
1097
- var _middlewareData$arrow, _middlewareData$flip;
1085
+ var _middlewareData$flip;
1098
1086
  const {
1099
1087
  placement,
1100
1088
  middlewareData,
@@ -1112,14 +1100,6 @@ const flip = function (options) {
1112
1100
  flipAlignment = true,
1113
1101
  ...detectOverflowOptions
1114
1102
  } = floating_ui_utils_evaluate(options, state);
1115
-
1116
- // If a reset by the arrow was caused due to an alignment offset being
1117
- // added, we should skip any logic now since `flip()` has already done its
1118
- // work.
1119
- // https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643
1120
- if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
1121
- return {};
1122
- }
1123
1103
  const side = floating_ui_utils_getSide(placement);
1124
1104
  const isBasePlacement = floating_ui_utils_getSide(initialPlacement) === initialPlacement;
1125
1105
  const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
@@ -1397,7 +1377,6 @@ const inline = function (options) {
1397
1377
 
1398
1378
  // For type backwards-compatibility, the `OffsetOptions` type was also
1399
1379
  // Derivable.
1400
-
1401
1380
  async function convertValueToCoords(state, options) {
1402
1381
  const {
1403
1382
  placement,
@@ -1411,6 +1390,8 @@ async function convertValueToCoords(state, options) {
1411
1390
  const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
1412
1391
  const crossAxisMulti = rtl && isVertical ? -1 : 1;
1413
1392
  const rawValue = floating_ui_utils_evaluate(options, state);
1393
+
1394
+ // eslint-disable-next-line prefer-const
1414
1395
  let {
1415
1396
  mainAxis,
1416
1397
  crossAxis,
@@ -1452,27 +1433,15 @@ const offset = function (options) {
1452
1433
  name: 'offset',
1453
1434
  options,
1454
1435
  async fn(state) {
1455
- var _middlewareData$offse, _middlewareData$arrow;
1456
1436
  const {
1457
1437
  x,
1458
- y,
1459
- placement,
1460
- middlewareData
1438
+ y
1461
1439
  } = state;
1462
1440
  const diffCoords = await convertValueToCoords(state, options);
1463
-
1464
- // If the placement is the same and the arrow caused an alignment offset
1465
- // then we don't need to change the positioning coordinates.
1466
- if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
1467
- return {};
1468
- }
1469
1441
  return {
1470
1442
  x: x + diffCoords.x,
1471
1443
  y: y + diffCoords.y,
1472
- data: {
1473
- ...diffCoords,
1474
- placement
1475
- }
1444
+ data: diffCoords
1476
1445
  };
1477
1446
  }
1478
1447
  };
@@ -1704,7 +1673,7 @@ const size = function (options) {
1704
1673
 
1705
1674
 
1706
1675
 
1707
- ;// CONCATENATED MODULE: ../../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
1676
+ ;// CONCATENATED MODULE: ../../node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.mjs
1708
1677
  function getNodeName(node) {
1709
1678
  if (isNode(node)) {
1710
1679
  return (node.nodeName || '').toLowerCase();
@@ -1716,7 +1685,7 @@ function getNodeName(node) {
1716
1685
  }
1717
1686
  function getWindow(node) {
1718
1687
  var _node$ownerDocument;
1719
- return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
1688
+ return (node == null ? void 0 : (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
1720
1689
  }
1721
1690
  function getDocumentElement(node) {
1722
1691
  var _ref;
@@ -1757,17 +1726,6 @@ function isContainingBlock(element) {
1757
1726
  // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
1758
1727
  return css.transform !== 'none' || css.perspective !== 'none' || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));
1759
1728
  }
1760
- function getContainingBlock(element) {
1761
- let currentNode = getParentNode(element);
1762
- while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
1763
- if (isContainingBlock(currentNode)) {
1764
- return currentNode;
1765
- } else {
1766
- currentNode = getParentNode(currentNode);
1767
- }
1768
- }
1769
- return null;
1770
- }
1771
1729
  function isWebKit() {
1772
1730
  if (typeof CSS === 'undefined' || !CSS.supports) return false;
1773
1731
  return CSS.supports('-webkit-backdrop-filter', 'none');
@@ -1815,21 +1773,18 @@ function getNearestOverflowAncestor(node) {
1815
1773
  }
1816
1774
  return getNearestOverflowAncestor(parentNode);
1817
1775
  }
1818
- function getOverflowAncestors(node, list, traverseIframes) {
1776
+ function getOverflowAncestors(node, list) {
1819
1777
  var _node$ownerDocument2;
1820
1778
  if (list === void 0) {
1821
1779
  list = [];
1822
1780
  }
1823
- if (traverseIframes === void 0) {
1824
- traverseIframes = true;
1825
- }
1826
1781
  const scrollableAncestor = getNearestOverflowAncestor(node);
1827
1782
  const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
1828
1783
  const win = getWindow(scrollableAncestor);
1829
1784
  if (isBody) {
1830
- return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement && traverseIframes ? getOverflowAncestors(win.frameElement) : []);
1785
+ return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : []);
1831
1786
  }
1832
- return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
1787
+ return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor));
1833
1788
  }
1834
1789
 
1835
1790
 
@@ -2109,7 +2064,7 @@ function getClippingElementAncestors(element, cache) {
2109
2064
  if (cachedResult) {
2110
2065
  return cachedResult;
2111
2066
  }
2112
- let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');
2067
+ let result = getOverflowAncestors(element).filter(el => isElement(el) && getNodeName(el) !== 'body');
2113
2068
  let currentContainingBlockComputedStyle = null;
2114
2069
  const elementIsFixed = getComputedStyle(element).position === 'fixed';
2115
2070
  let currentNode = elementIsFixed ? getParentNode(element) : element;
@@ -2164,14 +2119,7 @@ function getClippingRect(_ref) {
2164
2119
  }
2165
2120
 
2166
2121
  function getDimensions(element) {
2167
- const {
2168
- width,
2169
- height
2170
- } = getCssDimensions(element);
2171
- return {
2172
- width,
2173
- height
2174
- };
2122
+ return getCssDimensions(element);
2175
2123
  }
2176
2124
 
2177
2125
  function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
@@ -2213,6 +2161,17 @@ function getTrueOffsetParent(element, polyfill) {
2213
2161
  }
2214
2162
  return element.offsetParent;
2215
2163
  }
2164
+ function getContainingBlock(element) {
2165
+ let currentNode = getParentNode(element);
2166
+ while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
2167
+ if (isContainingBlock(currentNode)) {
2168
+ return currentNode;
2169
+ } else {
2170
+ currentNode = getParentNode(currentNode);
2171
+ }
2172
+ }
2173
+ return null;
2174
+ }
2216
2175
 
2217
2176
  // Gets the closest ancestor positioned element. Handles some edge cases,
2218
2177
  // such as table ancestors and cross browser bugs.
@@ -2417,66 +2376,10 @@ function autoUpdate(reference, floating, update, options) {
2417
2376
  };
2418
2377
  }
2419
2378
 
2420
- /**
2421
- * Optimizes the visibility of the floating element by choosing the placement
2422
- * that has the most space available automatically, without needing to specify a
2423
- * preferred placement. Alternative to `flip`.
2424
- * @see https://floating-ui.com/docs/autoPlacement
2425
- */
2426
- const floating_ui_dom_autoPlacement = autoPlacement;
2427
-
2428
- /**
2429
- * Optimizes the visibility of the floating element by shifting it in order to
2430
- * keep it in view when it will overflow the clipping boundary.
2431
- * @see https://floating-ui.com/docs/shift
2432
- */
2433
- const floating_ui_dom_shift = shift;
2434
-
2435
- /**
2436
- * Optimizes the visibility of the floating element by flipping the `placement`
2437
- * in order to keep it in view when the preferred placement(s) will overflow the
2438
- * clipping boundary. Alternative to `autoPlacement`.
2439
- * @see https://floating-ui.com/docs/flip
2440
- */
2441
- const floating_ui_dom_flip = flip;
2442
-
2443
- /**
2444
- * Provides data that allows you to change the size of the floating element —
2445
- * for instance, prevent it from overflowing the clipping boundary or match the
2446
- * width of the reference element.
2447
- * @see https://floating-ui.com/docs/size
2448
- */
2449
- const floating_ui_dom_size = (/* unused pure expression or super */ null && (size$1));
2450
-
2451
- /**
2452
- * Provides data to hide the floating element in applicable situations, such as
2453
- * when it is not in the same clipping context as the reference element.
2454
- * @see https://floating-ui.com/docs/hide
2455
- */
2456
- const floating_ui_dom_hide = hide;
2457
-
2458
- /**
2459
- * Provides data to position an inner element of the floating element so that it
2460
- * appears centered to the reference element.
2461
- * @see https://floating-ui.com/docs/arrow
2462
- */
2463
- const floating_ui_dom_arrow = arrow;
2464
-
2465
- /**
2466
- * Provides improved positioning for inline reference elements that can span
2467
- * over multiple lines, such as hyperlinks or range selections.
2468
- * @see https://floating-ui.com/docs/inline
2469
- */
2470
- const floating_ui_dom_inline = inline;
2471
-
2472
- /**
2473
- * Built-in `limiter` that will stop `shift()` at a certain point.
2474
- */
2475
- const floating_ui_dom_limitShift = (/* unused pure expression or super */ null && (limitShift$1));
2476
-
2477
2379
  /**
2478
2380
  * Computes the `x` and `y` coordinates that will place the floating element
2479
- * next to a given reference element.
2381
+ * next to a reference element when it is given a certain CSS positioning
2382
+ * strategy.
2480
2383
  */
2481
2384
  const floating_ui_dom_computePosition = (reference, floating, options) => {
2482
2385
  // This caches the expensive `getClippingElementAncestors` function so that
@@ -2822,7 +2725,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
2822
2725
  };
2823
2726
  var resolvePopOptions = function resolvePopOptions(elArrow, props) {
2824
2727
  var modifiers = resolveModifiers();
2825
- var middleware = [offset(modifiers.offset || props.offset), floating_ui_dom_shift({
2728
+ var middleware = [offset(modifiers.offset || props.offset), shift({
2826
2729
  padding: props.padding
2827
2730
  })];
2828
2731
  var options = {
@@ -2830,17 +2733,17 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
2830
2733
  middleware: middleware
2831
2734
  };
2832
2735
  if (props.arrow) {
2833
- middleware.push(floating_ui_dom_arrow({
2736
+ middleware.push(arrow({
2834
2737
  element: elArrow
2835
2738
  }));
2836
2739
  }
2837
2740
  if (isAutoPlacementAvailable()) {
2838
- middleware.push(floating_ui_dom_autoPlacement());
2741
+ middleware.push(autoPlacement());
2839
2742
  }
2840
- middleware.unshift(floating_ui_dom_inline());
2841
- middleware.push(floating_ui_dom_flip());
2743
+ middleware.unshift(inline());
2744
+ middleware.push(flip());
2842
2745
  if (isHideMiddlewareAvailable()) {
2843
- options.middleware.push(floating_ui_dom_hide());
2746
+ options.middleware.push(hide());
2844
2747
  }
2845
2748
  /**
2846
2749
  * 如果是全屏元素或者指定的虚拟元素
@@ -3280,7 +3183,7 @@ var parentNodeReferId = null;
3280
3183
  getFullscreenRoot = _useFloating.getFullscreenRoot,
3281
3184
  stopHide = _useFloating.stopHide;
3282
3185
  var resetPopover = function resetPopover() {
3283
- cleanup === null || cleanup === void 0 || cleanup();
3186
+ cleanup === null || cleanup === void 0 ? void 0 : cleanup();
3284
3187
  createPopInstance();
3285
3188
  };
3286
3189
  var showFn = function showFn() {
@@ -3388,13 +3291,13 @@ var parentNodeReferId = null;
3388
3291
  getPrefixId = _usePopperId.getPrefixId;
3389
3292
  var setFullscreenTag = function setFullscreenTag() {
3390
3293
  var _fullScreenTarget$val2;
3391
- fullScreenTarget === null || fullScreenTarget === void 0 || (_fullScreenTarget$val2 = fullScreenTarget.value) === null || _fullScreenTarget$val2 === void 0 || _fullScreenTarget$val2.setAttribute('data-fllsrn-id', fullscreenReferId);
3294
+ fullScreenTarget === null || fullScreenTarget === void 0 || (_fullScreenTarget$val2 = fullScreenTarget.value) === null || _fullScreenTarget$val2 === void 0 ? void 0 : _fullScreenTarget$val2.setAttribute('data-fllsrn-id', fullscreenReferId);
3392
3295
  };
3393
3296
  var clearFullscreenTag = function clearFullscreenTag() {
3394
3297
  var _fullScreenTarget$val3, _fullScreenTarget$val4;
3395
3298
  var query = "[data-fllsrn-id=".concat(fullscreenReferId, "]");
3396
3299
  ((_fullScreenTarget$val3 = fullScreenTarget === null || fullScreenTarget === void 0 || (_fullScreenTarget$val4 = fullScreenTarget.value) === null || _fullScreenTarget$val4 === void 0 ? void 0 : _fullScreenTarget$val4.querySelectorAll(query)) !== null && _fullScreenTarget$val3 !== void 0 ? _fullScreenTarget$val3 : []).forEach(function (element) {
3397
- element === null || element === void 0 || element.removeAttribute('data-fllsrn-id');
3300
+ element === null || element === void 0 ? void 0 : element.removeAttribute('data-fllsrn-id');
3398
3301
  });
3399
3302
  };
3400
3303
  var boundary = (0,external_vue_namespaceObject.ref)();
@@ -3516,11 +3419,10 @@ var parentNodeReferId = null;
3516
3419
 
3517
3420
 
3518
3421
 
3519
-
3520
3422
  function _isSlot(s) {
3521
3423
  return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0,external_vue_namespaceObject.isVNode)(s);
3522
3424
  }
3523
- /* harmony default export */ const popover = ((0,external_vue_namespaceObject.defineComponent)({
3425
+ /* harmony default export */ const popover = (defineComponent({
3524
3426
  name: 'Popover',
3525
3427
  components: {
3526
3428
  Content: content,
@@ -3533,13 +3435,13 @@ function _isSlot(s) {
3533
3435
  props: PopoverProps,
3534
3436
  emits: EMIT_EVENT_TYPES,
3535
3437
  setup: function setup(props, ctx) {
3536
- var _toRefs = (0,external_vue_namespaceObject.toRefs)(props),
3438
+ var _toRefs = toRefs(props),
3537
3439
  reference = _toRefs.reference;
3538
- var refDefaultReference = (0,external_vue_namespaceObject.ref)();
3539
- var refContent = (0,external_vue_namespaceObject.ref)();
3540
- var refArrow = (0,external_vue_namespaceObject.ref)();
3541
- var refRoot = (0,external_vue_namespaceObject.ref)();
3542
- var refReference = (0,external_vue_namespaceObject.computed)(function () {
3440
+ var refDefaultReference = ref();
3441
+ var refContent = ref();
3442
+ var refArrow = ref();
3443
+ var refRoot = ref();
3444
+ var refReference = computed(function () {
3543
3445
  return reference.value || refDefaultReference.value;
3544
3446
  });
3545
3447
  var _usePopoverInit = use_popover_init(props, ctx, {
@@ -3565,7 +3467,7 @@ function _isSlot(s) {
3565
3467
  boundary = _usePopoverInit.boundary,
3566
3468
  uniqKey = _usePopoverInit.uniqKey;
3567
3469
  if (!props.always && !props.disabled) {
3568
- (0,external_vue_namespaceObject.watch)(function () {
3470
+ watch(function () {
3569
3471
  return props.isShow;
3570
3472
  }, function () {
3571
3473
  props.isShow ? showPopover() : hidePopover();
@@ -3573,7 +3475,7 @@ function _isSlot(s) {
3573
3475
  immediate: true
3574
3476
  });
3575
3477
  }
3576
- (0,external_vue_namespaceObject.watch)(function () {
3478
+ watch(function () {
3577
3479
  return [props.disabled];
3578
3480
  }, function (val) {
3579
3481
  if (val[0]) {
@@ -3583,15 +3485,15 @@ function _isSlot(s) {
3583
3485
  }
3584
3486
  });
3585
3487
  updateBoundary();
3586
- (0,external_vue_namespaceObject.onMounted)(onMountedFn);
3587
- (0,external_vue_namespaceObject.onBeforeUnmount)(onUnmountedFn);
3588
- var isRenderModeShow = (0,external_vue_namespaceObject.computed)(function () {
3488
+ onMounted(onMountedFn);
3489
+ onBeforeUnmount(onUnmountedFn);
3490
+ var isRenderModeShow = computed(function () {
3589
3491
  return props.renderDirective === 'show';
3590
3492
  });
3591
- var transBoundary = (0,external_vue_namespaceObject.computed)(function () {
3493
+ var transBoundary = computed(function () {
3592
3494
  return isRenderModeShow.value || localIsShow.value && !props.disableTeleport;
3593
3495
  });
3594
- var contentIsShow = (0,external_vue_namespaceObject.computed)(function () {
3496
+ var contentIsShow = computed(function () {
3595
3497
  if (props.renderType === shared_namespaceObject.RenderType.AUTO) {
3596
3498
  return true;
3597
3499
  }
@@ -3657,7 +3559,7 @@ function _isSlot(s) {
3657
3559
  _this$$slots4;
3658
3560
  var renderReferSlot = function renderReferSlot(slot) {
3659
3561
  var _slot$;
3660
- if (external_vue_namespaceObject.Text === (slot === null || slot === void 0 || (_slot$ = slot[0]) === null || _slot$ === void 0 ? void 0 : _slot$.type)) {
3562
+ if (Text === (slot === null || slot === void 0 || (_slot$ = slot[0]) === null || _slot$ === void 0 ? void 0 : _slot$.type)) {
3661
3563
  return (0,external_vue_namespaceObject.createVNode)("span", null, [slot]);
3662
3564
  }
3663
3565
  return slot;
@@ -3682,7 +3584,7 @@ function _isSlot(s) {
3682
3584
  "default": function _default() {
3683
3585
  return [_slot2];
3684
3586
  }
3685
- }), (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Teleport, {
3587
+ }), (0,external_vue_namespaceObject.createVNode)(Teleport, {
3686
3588
  "disabled": !_this.transBoundary,
3687
3589
  "to": _this.boundary
3688
3590
  }, {
@@ -3790,36 +3692,36 @@ function createPopoverComponent(options) {
3790
3692
  var refReference = (0,external_vue_namespaceObject.ref)();
3791
3693
  var show = function show() {
3792
3694
  var _refReference$value, _refReference$value$s;
3793
- (_refReference$value = refReference.value) === null || _refReference$value === void 0 || (_refReference$value$s = _refReference$value.show) === null || _refReference$value$s === void 0 || _refReference$value$s.call(_refReference$value);
3695
+ (_refReference$value = refReference.value) === null || _refReference$value === void 0 || (_refReference$value$s = _refReference$value.show) === null || _refReference$value$s === void 0 ? void 0 : _refReference$value$s.call(_refReference$value);
3794
3696
  };
3795
3697
  var hide = function hide() {
3796
3698
  var _refReference$value2, _refReference$value2$;
3797
- (_refReference$value2 = refReference.value) === null || _refReference$value2 === void 0 || (_refReference$value2$ = _refReference$value2.hide) === null || _refReference$value2$ === void 0 || _refReference$value2$.call(_refReference$value2);
3699
+ (_refReference$value2 = refReference.value) === null || _refReference$value2 === void 0 || (_refReference$value2$ = _refReference$value2.hide) === null || _refReference$value2$ === void 0 ? void 0 : _refReference$value2$.call(_refReference$value2);
3798
3700
  };
3799
3701
  var stopHide = function stopHide() {
3800
3702
  var _refReference$value3, _refReference$value3$;
3801
- (_refReference$value3 = refReference.value) === null || _refReference$value3 === void 0 || (_refReference$value3$ = _refReference$value3.stopHide) === null || _refReference$value3$ === void 0 || _refReference$value3$.call(_refReference$value3);
3703
+ (_refReference$value3 = refReference.value) === null || _refReference$value3 === void 0 || (_refReference$value3$ = _refReference$value3.stopHide) === null || _refReference$value3$ === void 0 ? void 0 : _refReference$value3$.call(_refReference$value3);
3802
3704
  };
3803
3705
  var updateTarget = function updateTarget(target) {
3804
3706
  var _refReference$value4, _refReference$value4$;
3805
3707
  refProps.target = target;
3806
- (_refReference$value4 = refReference.value) === null || _refReference$value4 === void 0 || (_refReference$value4$ = _refReference$value4.resetPopover) === null || _refReference$value4$ === void 0 || _refReference$value4$.call(_refReference$value4);
3708
+ (_refReference$value4 = refReference.value) === null || _refReference$value4 === void 0 || (_refReference$value4$ = _refReference$value4.resetPopover) === null || _refReference$value4$ === void 0 ? void 0 : _refReference$value4$.call(_refReference$value4);
3807
3709
  };
3808
3710
  var handleContentMouseenter = function handleContentMouseenter() {
3809
3711
  var _resolvedOptions$onCo;
3810
- (_resolvedOptions$onCo = resolvedOptions.onContentMouseenter) === null || _resolvedOptions$onCo === void 0 || _resolvedOptions$onCo.call(resolvedOptions);
3712
+ (_resolvedOptions$onCo = resolvedOptions.onContentMouseenter) === null || _resolvedOptions$onCo === void 0 ? void 0 : _resolvedOptions$onCo.call(resolvedOptions);
3811
3713
  };
3812
3714
  var handleContentMouseleave = function handleContentMouseleave() {
3813
3715
  var _resolvedOptions$onCo2;
3814
- (_resolvedOptions$onCo2 = resolvedOptions.onContentMouseleave) === null || _resolvedOptions$onCo2 === void 0 || _resolvedOptions$onCo2.call(resolvedOptions);
3716
+ (_resolvedOptions$onCo2 = resolvedOptions.onContentMouseleave) === null || _resolvedOptions$onCo2 === void 0 ? void 0 : _resolvedOptions$onCo2.call(resolvedOptions);
3815
3717
  };
3816
3718
  var handlePopoverHidden = function handlePopoverHidden() {
3817
3719
  var _resolvedOptions$onHi;
3818
- (_resolvedOptions$onHi = resolvedOptions.onHide) === null || _resolvedOptions$onHi === void 0 || _resolvedOptions$onHi.call(resolvedOptions);
3720
+ (_resolvedOptions$onHi = resolvedOptions.onHide) === null || _resolvedOptions$onHi === void 0 ? void 0 : _resolvedOptions$onHi.call(resolvedOptions);
3819
3721
  };
3820
3722
  var handlePopoverShow = function handlePopoverShow() {
3821
3723
  var _resolvedOptions$onSh;
3822
- (_resolvedOptions$onSh = resolvedOptions.onShow) === null || _resolvedOptions$onSh === void 0 || _resolvedOptions$onSh.call(resolvedOptions);
3724
+ (_resolvedOptions$onSh = resolvedOptions.onShow) === null || _resolvedOptions$onSh === void 0 ? void 0 : _resolvedOptions$onSh.call(resolvedOptions);
3823
3725
  };
3824
3726
  expose({
3825
3727
  show: show,
@@ -3868,7 +3770,7 @@ function createPopoverComponent(options) {
3868
3770
  }
3869
3771
  $PopoverInstance.unmount();
3870
3772
  $PopoverInstance = null;
3871
- (_$PopoverInstanceEl = $PopoverInstanceEl) === null || _$PopoverInstanceEl === void 0 || _$PopoverInstanceEl.remove();
3773
+ (_$PopoverInstanceEl = $PopoverInstanceEl) === null || _$PopoverInstanceEl === void 0 ? void 0 : _$PopoverInstanceEl.remove();
3872
3774
  };
3873
3775
  function close() {
3874
3776
  uninstall();
@@ -3879,17 +3781,17 @@ function createPopoverComponent(options) {
3879
3781
  install();
3880
3782
  if (target) {
3881
3783
  var _$PopoverInstanceVm;
3882
- (_$PopoverInstanceVm = $PopoverInstanceVm) === null || _$PopoverInstanceVm === void 0 || _$PopoverInstanceVm.updateTarget(target);
3784
+ (_$PopoverInstanceVm = $PopoverInstanceVm) === null || _$PopoverInstanceVm === void 0 ? void 0 : _$PopoverInstanceVm.updateTarget(target);
3883
3785
  }
3884
- (_$PopoverInstanceVm2 = $PopoverInstanceVm) === null || _$PopoverInstanceVm2 === void 0 || _$PopoverInstanceVm2.show();
3786
+ (_$PopoverInstanceVm2 = $PopoverInstanceVm) === null || _$PopoverInstanceVm2 === void 0 ? void 0 : _$PopoverInstanceVm2.show();
3885
3787
  }
3886
3788
  function update(e) {
3887
3789
  var _$PopoverInstanceVm3;
3888
- (_$PopoverInstanceVm3 = $PopoverInstanceVm) === null || _$PopoverInstanceVm3 === void 0 || _$PopoverInstanceVm3.updateTarget(e);
3790
+ (_$PopoverInstanceVm3 = $PopoverInstanceVm) === null || _$PopoverInstanceVm3 === void 0 ? void 0 : _$PopoverInstanceVm3.updateTarget(e);
3889
3791
  }
3890
3792
  function hide() {
3891
3793
  var _$PopoverInstanceVm4;
3892
- (_$PopoverInstanceVm4 = $PopoverInstanceVm) === null || _$PopoverInstanceVm4 === void 0 || _$PopoverInstanceVm4.hide();
3794
+ (_$PopoverInstanceVm4 = $PopoverInstanceVm) === null || _$PopoverInstanceVm4 === void 0 ? void 0 : _$PopoverInstanceVm4.hide();
3893
3795
  }
3894
3796
  immediate && install();
3895
3797
  return {