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

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 (257) hide show
  1. package/dist/index.cjs.js +54 -54
  2. package/dist/index.esm.js +23106 -23099
  3. package/dist/index.umd.js +54 -54
  4. package/dist/style.css +1 -1
  5. package/lib/affix/index.d.ts +57 -111
  6. package/lib/affix/index.js +17 -17
  7. package/lib/alert/index.d.ts +73 -126
  8. package/lib/alert/index.js +20 -20
  9. package/lib/animate-number/index.d.ts +33 -96
  10. package/lib/animate-number/index.js +8 -7
  11. package/lib/backtop/index.d.ts +69 -117
  12. package/lib/backtop/index.js +11 -10
  13. package/lib/badge/index.d.ts +119 -152
  14. package/lib/badge/index.js +19 -19
  15. package/lib/breadcrumb/index.d.ts +67 -119
  16. package/lib/breadcrumb/index.js +17 -17
  17. package/lib/button/button.d.ts +2 -2
  18. package/lib/button/index.d.ts +121 -156
  19. package/lib/button/index.js +19 -20
  20. package/lib/card/index.d.ts +128 -157
  21. package/lib/card/index.js +20 -22
  22. package/lib/cascader/cascader.d.ts +5 -5
  23. package/lib/cascader/index.d.ts +395 -356
  24. package/lib/cascader/index.js +74 -805
  25. package/lib/checkbox/checkbox.d.ts +1 -1
  26. package/lib/checkbox/index.d.ts +143 -175
  27. package/lib/checkbox/index.js +45 -45
  28. package/lib/code-diff/index.d.ts +65 -82
  29. package/lib/code-diff/index.js +381 -438
  30. package/lib/collapse/index.d.ts +156 -175
  31. package/lib/collapse/index.js +28 -27
  32. package/lib/collapse-transition/index.d.ts +19 -94
  33. package/lib/collapse-transition/index.js +4 -3
  34. package/lib/color-picker/color-picker.d.ts +1 -1
  35. package/lib/color-picker/index.d.ts +144 -165
  36. package/lib/color-picker/index.js +50 -294
  37. package/lib/config-provider/index.d.ts +160 -227
  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 +74 -85
  41. package/lib/container/index.js +28 -26
  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 +382 -352
  46. package/lib/date-picker/index.js +154 -150
  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 +299 -269
  53. package/lib/dialog/index.js +227 -228
  54. package/lib/directives/index.d.ts +1 -0
  55. package/lib/directives/index.js +29 -29
  56. package/lib/divider/index.d.ts +57 -111
  57. package/lib/divider/index.js +3 -2
  58. package/lib/dropdown/dropdown.d.ts +1 -1
  59. package/lib/dropdown/index.d.ts +94 -136
  60. package/lib/dropdown/index.js +24 -22
  61. package/lib/exception/index.d.ts +41 -102
  62. package/lib/exception/index.js +21 -21
  63. package/lib/fixed-navbar/index.d.ts +59 -113
  64. package/lib/fixed-navbar/index.js +3 -2
  65. package/lib/form/form.d.ts +1 -1
  66. package/lib/form/index.d.ts +80 -132
  67. package/lib/form/index.js +21 -22
  68. package/lib/icon/angle-double-down-line.js +17 -17
  69. package/lib/icon/angle-double-left-line.js +17 -17
  70. package/lib/icon/angle-double-left.js +17 -17
  71. package/lib/icon/angle-double-right-line.js +17 -17
  72. package/lib/icon/angle-double-right.js +17 -17
  73. package/lib/icon/angle-double-up-line.js +17 -17
  74. package/lib/icon/angle-down-fill.js +17 -17
  75. package/lib/icon/angle-down-line.js +17 -17
  76. package/lib/icon/angle-down.js +17 -17
  77. package/lib/icon/angle-left.js +17 -17
  78. package/lib/icon/angle-right.js +17 -17
  79. package/lib/icon/angle-up-fill.js +17 -17
  80. package/lib/icon/angle-up.js +17 -17
  81. package/lib/icon/archive-fill.js +17 -17
  82. package/lib/icon/arrows-left.js +17 -17
  83. package/lib/icon/arrows-right.js +17 -17
  84. package/lib/icon/assistant.js +17 -17
  85. package/lib/icon/audio-fill.js +17 -17
  86. package/lib/icon/bk.js +17 -17
  87. package/lib/icon/circle.js +17 -17
  88. package/lib/icon/close-line.js +17 -17
  89. package/lib/icon/close.js +17 -17
  90. package/lib/icon/code.js +17 -17
  91. package/lib/icon/cog-shape.js +17 -17
  92. package/lib/icon/collapse-left.js +17 -17
  93. package/lib/icon/copy-shape.js +17 -17
  94. package/lib/icon/copy.js +17 -17
  95. package/lib/icon/data-shape.js +17 -17
  96. package/lib/icon/del.js +17 -17
  97. package/lib/icon/doc-fill.js +17 -17
  98. package/lib/icon/done.js +17 -17
  99. package/lib/icon/down-shape.js +17 -17
  100. package/lib/icon/down-small.js +17 -17
  101. package/lib/icon/edit-line.js +17 -17
  102. package/lib/icon/ellipsis.js +17 -17
  103. package/lib/icon/enlarge-line.js +17 -17
  104. package/lib/icon/error.js +17 -17
  105. package/lib/icon/excel-fill.js +17 -17
  106. package/lib/icon/exclamation-circle-shape.js +17 -17
  107. package/lib/icon/eye.js +17 -17
  108. package/lib/icon/filliscreen-line.js +17 -17
  109. package/lib/icon/fix-line.js +17 -17
  110. package/lib/icon/fix-shape.js +17 -17
  111. package/lib/icon/folder-open.js +17 -17
  112. package/lib/icon/folder-shape-open.js +17 -17
  113. package/lib/icon/folder-shape.js +17 -17
  114. package/lib/icon/folder.js +17 -17
  115. package/lib/icon/funnel.js +17 -17
  116. package/lib/icon/grag-fill.js +17 -17
  117. package/lib/icon/help-document-fill.js +17 -17
  118. package/lib/icon/help-fill.js +17 -17
  119. package/lib/icon/help.js +17 -17
  120. package/lib/icon/image-fill.js +17 -17
  121. package/lib/icon/img-error.js +17 -17
  122. package/lib/icon/img-placehoulder.js +17 -17
  123. package/lib/icon/info-line.js +17 -17
  124. package/lib/icon/info.js +17 -17
  125. package/lib/icon/left-shape.js +17 -17
  126. package/lib/icon/left-turn-line.js +17 -17
  127. package/lib/icon/loading.js +17 -17
  128. package/lib/icon/narrow-line.js +17 -17
  129. package/lib/icon/original.js +17 -17
  130. package/lib/icon/pdf-fill.js +17 -17
  131. package/lib/icon/play-shape.js +17 -17
  132. package/lib/icon/plus.js +17 -17
  133. package/lib/icon/ppt-fill.js +17 -17
  134. package/lib/icon/qq.js +17 -17
  135. package/lib/icon/right-shape.js +17 -17
  136. package/lib/icon/right-turn-line.js +17 -17
  137. package/lib/icon/search.js +17 -17
  138. package/lib/icon/share.js +17 -17
  139. package/lib/icon/spinner.js +17 -17
  140. package/lib/icon/success.js +17 -17
  141. package/lib/icon/switcher-loading.js +17 -17
  142. package/lib/icon/text-all.js +17 -17
  143. package/lib/icon/text-file.js +17 -17
  144. package/lib/icon/text-fill.js +17 -17
  145. package/lib/icon/transfer.js +17 -17
  146. package/lib/icon/tree-application-shape.js +17 -17
  147. package/lib/icon/unfull-screen.js +17 -17
  148. package/lib/icon/unvisible.js +17 -17
  149. package/lib/icon/up-shape.js +17 -17
  150. package/lib/icon/upload.js +17 -17
  151. package/lib/icon/video-fill.js +17 -17
  152. package/lib/icon/warn.js +17 -17
  153. package/lib/icon/weixin-pro.js +17 -17
  154. package/lib/icon/weixin.js +17 -17
  155. package/lib/image/index.d.ts +113 -149
  156. package/lib/image/index.js +27 -26
  157. package/lib/index.js +1 -1
  158. package/lib/info-box/index.js +232 -233
  159. package/lib/input/index.d.ts +326 -293
  160. package/lib/input/index.js +46 -48
  161. package/lib/link/index.d.ts +73 -122
  162. package/lib/link/index.js +2 -2
  163. package/lib/loading/index.d.ts +130 -156
  164. package/lib/loading/index.js +32 -33
  165. package/lib/loading/loading.d.ts +1 -1
  166. package/lib/menu/index.d.ts +55 -116
  167. package/lib/menu/index.js +26 -25
  168. package/lib/message/index.js +24 -25
  169. package/lib/message/messageConstructor.d.ts +5 -5
  170. package/lib/modal/index.d.ts +171 -185
  171. package/lib/modal/index.js +19 -19
  172. package/lib/navigation/index.d.ts +152 -188
  173. package/lib/navigation/index.js +9 -7
  174. package/lib/notify/index.js +20 -21
  175. package/lib/overflow-title/index.d.ts +343 -256
  176. package/lib/overflow-title/index.js +11 -10
  177. package/lib/pagination/index.d.ts +185 -199
  178. package/lib/pagination/index.js +49 -56
  179. package/lib/pagination/pagination.d.ts +1 -1
  180. package/lib/plugin-popover/index.d.ts +1 -1
  181. package/lib/plugin-popover/index.js +4 -3898
  182. package/lib/pop-confirm/index.d.ts +119 -157
  183. package/lib/pop-confirm/index.js +5 -4
  184. package/lib/pop-confirm/pop-confirm.d.ts +5 -5
  185. package/lib/pop-confirm/props.d.ts +1 -1
  186. package/lib/popover/content.d.ts +1 -1
  187. package/lib/popover/index.d.ts +421 -359
  188. package/lib/popover/index.js +241 -264
  189. package/lib/popover2/index.d.ts +8 -83
  190. package/lib/popover2/index.js +2 -2
  191. package/lib/process/index.d.ts +93 -137
  192. package/lib/process/index.js +226 -226
  193. package/lib/progress/index.d.ts +178 -187
  194. package/lib/progress/index.js +22 -21
  195. package/lib/progress/progress.d.ts +2 -2
  196. package/lib/radio/index.d.ts +91 -140
  197. package/lib/radio/index.js +46 -48
  198. package/lib/rate/index.d.ts +55 -112
  199. package/lib/rate/index.js +19 -20
  200. package/lib/resize-layout/index.d.ts +168 -192
  201. package/lib/resize-layout/index.js +20 -21
  202. package/lib/resize-layout/resize-layout.d.ts +2 -2
  203. package/lib/scrollbar/index.js +38 -38
  204. package/lib/search-select/index.d.ts +678 -895
  205. package/lib/search-select/index.js +274 -274
  206. package/lib/search-select/input.d.ts +2 -2
  207. package/lib/search-select/search-select.d.ts +133 -188
  208. package/lib/search-select/selected.d.ts +133 -188
  209. package/lib/select/index.d.ts +1380 -1221
  210. package/lib/select/index.js +336 -334
  211. package/lib/select/select.d.ts +134 -171
  212. package/lib/select/selectTagInput.d.ts +2 -2
  213. package/lib/shared/index.js +54 -56
  214. package/lib/sideslider/index.d.ts +197 -201
  215. package/lib/sideslider/index.js +227 -228
  216. package/lib/slider/index.d.ts +214 -210
  217. package/lib/slider/index.js +226 -225
  218. package/lib/steps/index.d.ts +110 -149
  219. package/lib/steps/index.js +230 -231
  220. package/lib/swiper/index.d.ts +81 -127
  221. package/lib/swiper/index.js +18 -18
  222. package/lib/switcher/index.d.ts +152 -174
  223. package/lib/switcher/index.js +20 -22
  224. package/lib/tab/index.d.ts +151 -183
  225. package/lib/tab/index.js +20 -19
  226. package/lib/table/components/table-column.d.ts +1 -1
  227. package/lib/table/hooks/use-columns.d.ts +1 -1
  228. package/lib/table/hooks/use-layout.d.ts +2 -2
  229. package/lib/table/hooks/use-rows.d.ts +1 -1
  230. package/lib/table/index.d.ts +459 -364
  231. package/lib/table/index.js +336 -348
  232. package/lib/table/table.d.ts +3 -3
  233. package/lib/table-column/index.d.ts +104 -150
  234. package/lib/table-column/index.js +7 -731
  235. package/lib/tag/index.d.ts +95 -142
  236. package/lib/tag/index.js +19 -19
  237. package/lib/tag-input/index.d.ts +750 -533
  238. package/lib/tag-input/index.js +151 -151
  239. package/lib/tag-input/tag-input.d.ts +9 -9
  240. package/lib/tag-input/tag-props.d.ts +1 -1
  241. package/lib/tag-input/tag-render.d.ts +2 -2
  242. package/lib/time-picker/index.d.ts +439 -386
  243. package/lib/timeline/index.d.ts +64 -131
  244. package/lib/timeline/index.js +6 -6
  245. package/lib/transfer/index.d.ts +192 -207
  246. package/lib/transfer/transfer.d.ts +1 -1
  247. package/lib/tree/index.d.ts +350 -308
  248. package/lib/tree/index.js +71 -74
  249. package/lib/tree/tree.d.ts +1 -1
  250. package/lib/tree/use-tree-init.d.ts +1 -1
  251. package/lib/upload/index.d.ts +311 -273
  252. package/lib/upload/index.js +261 -264
  253. package/lib/upload/upload.d.ts +2 -2
  254. package/lib/virtual-render/index.d.ts +333 -241
  255. package/lib/virtual-render/index.js +29 -29
  256. package/lib/virtual-render/virtual-render.d.ts +1 -1
  257. package/package.json +1 -1
@@ -2,6 +2,7 @@ import "../styles/reset.css";
2
2
  import "./popover.less";
3
3
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
4
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
5
+ import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__ from "../directives";
5
6
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ from "../config-provider";
6
7
  import * as __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__ from "vue-types";
7
8
  import * as __WEBPACK_EXTERNAL_MODULE_lodash_isElement_e6b2a6ce__ from "lodash/isElement";
@@ -44,133 +45,11 @@ const shared_namespaceObject = x({ ["PlacementEnum"]: () => __WEBPACK_EXTERNAL_M
44
45
  ;// CONCATENATED MODULE: external "vue"
45
46
  var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
46
47
  var external_vue_y = x => () => x
47
- 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 });
48
- ;// CONCATENATED MODULE: ../../packages/directives/src/clickoutside.ts
49
- function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
50
- function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
51
- function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
52
- /*
53
- * Tencent is pleased to support the open source community by making
54
- * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
55
- *
56
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
57
- *
58
- * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
59
- *
60
- * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
61
- *
62
- * ---------------------------------------------------
63
- * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
64
- * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
65
- * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
66
- * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
67
- *
68
- * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
69
- * the Software.
70
- *
71
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
72
- * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
73
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
74
- * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
75
- * IN THE SOFTWARE.
76
- */
77
- var isElement = function isElement(e) {
78
- if (typeof Element === 'undefined') return false;
79
- return e instanceof Element;
80
- };
81
- var nodeList = new Map();
82
- var startClick;
83
- document.addEventListener('mousedown', function (e) {
84
- return startClick = e;
85
- });
86
- document.addEventListener('mouseup', function (e) {
87
- var _iterator = _createForOfIteratorHelper(nodeList.values()),
88
- _step;
89
- try {
90
- for (_iterator.s(); !(_step = _iterator.n()).done;) {
91
- var handlers = _step.value;
92
- var _iterator2 = _createForOfIteratorHelper(handlers),
93
- _step2;
94
- try {
95
- for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
96
- var documentHandler = _step2.value.documentHandler;
97
- documentHandler(e, startClick);
98
- }
99
- } catch (err) {
100
- _iterator2.e(err);
101
- } finally {
102
- _iterator2.f();
103
- }
104
- }
105
- } catch (err) {
106
- _iterator.e(err);
107
- } finally {
108
- _iterator.f();
109
- }
110
- });
111
- function createDocumentHandler(el, binding) {
112
- var excludes = [];
113
- if (Array.isArray(binding.arg)) {
114
- excludes = binding.arg;
115
- } else if (isElement(binding.arg)) {
116
- excludes.push(binding.arg);
117
- }
118
- return function (mouseup, mousedown) {
119
- var popperRef = binding.instance.popperRef;
120
- var mouseUpTarget = mouseup.target;
121
- var mouseDownTarget = mousedown === null || mousedown === void 0 ? void 0 : mousedown.target;
122
- var isBound = !binding || !binding.instance;
123
- var isTargetExists = !mouseUpTarget || !mouseDownTarget;
124
- var isContainedByEl = el.contains(mouseUpTarget) || el.contains(mouseDownTarget);
125
- var isSelf = el === mouseUpTarget;
126
- var isTargetExcluded = excludes.length && excludes.some(function (item) {
127
- return item === null || item === void 0 ? void 0 : item.contains(mouseUpTarget);
128
- }) || excludes.length && excludes.includes(mouseDownTarget);
129
- var isContainedByPopper = popperRef && (popperRef.contains(mouseUpTarget) || popperRef.contains(mouseDownTarget));
130
- if (isBound || isTargetExists || isContainedByEl || isSelf || isTargetExcluded || isContainedByPopper) {
131
- return;
132
- }
133
- binding.value(mouseup, mousedown);
134
- };
135
- }
136
- var ClickOutside = {
137
- beforeMount: function beforeMount(el, binding) {
138
- if (!nodeList.has(el)) {
139
- nodeList.set(el, []);
140
- }
141
- nodeList.get(el).push({
142
- documentHandler: createDocumentHandler(el, binding),
143
- bindingFn: binding.value
144
- });
145
- },
146
- updated: function updated(el, binding) {
147
- if (!nodeList.has(el)) {
148
- nodeList.set(el, []);
149
- }
150
- var handlers = nodeList.get(el);
151
- var oldHandlerIndex = handlers.findIndex(function (item) {
152
- return item.bindingFn === binding.oldValue;
153
- });
154
- var newHandler = {
155
- documentHandler: createDocumentHandler(el, binding),
156
- bindingFn: binding.value
157
- };
158
- if (oldHandlerIndex >= 0) {
159
- // replace the old handler to the new handler
160
- handlers.splice(oldHandlerIndex, 1, newHandler);
161
- } else {
162
- handlers.push(newHandler);
163
- }
164
- },
165
- unmounted: function unmounted(el) {
166
- // remove all listeners when a component unmounted
167
- nodeList["delete"](el);
168
- }
169
- };
170
- ClickOutside.install = function (app) {
171
- app.directive('bkTooltips', ClickOutside);
172
- };
173
- /* harmony default export */ const clickoutside = (ClickOutside);
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 });
49
+ ;// CONCATENATED MODULE: external "../directives"
50
+ var directives_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
51
+ var directives_y = x => () => x
52
+ const directives_namespaceObject = directives_x({ ["clickoutside"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_directives_45d4776f__.clickoutside });
174
53
  ;// CONCATENATED MODULE: external "../config-provider"
175
54
  var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
176
55
  var config_provider_y = x => () => x
@@ -203,7 +82,8 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
203
82
  * IN THE SOFTWARE.
204
83
  */
205
84
 
206
- /* harmony default export */ const src_arrow = (defineComponent({
85
+
86
+ /* harmony default export */ const src_arrow = ((0,external_vue_namespaceObject.defineComponent)({
207
87
  name: 'PopArrow',
208
88
  render: function render() {
209
89
  var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
@@ -215,38 +95,38 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
215
95
  }
216
96
  }));
217
97
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
218
- function _typeof(obj) {
98
+ function _typeof(o) {
219
99
  "@babel/helpers - typeof";
220
100
 
221
- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
222
- return typeof obj;
223
- } : function (obj) {
224
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
225
- }, _typeof(obj);
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);
226
106
  }
227
107
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
228
108
 
229
- function _toPrimitive(input, hint) {
230
- if (_typeof(input) !== "object" || input === null) return input;
231
- var prim = input[Symbol.toPrimitive];
232
- if (prim !== undefined) {
233
- var res = prim.call(input, hint || "default");
234
- if (_typeof(res) !== "object") return res;
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;
235
115
  throw new TypeError("@@toPrimitive must return a primitive value.");
236
116
  }
237
- return (hint === "string" ? String : Number)(input);
117
+ return ("string" === r ? String : Number)(t);
238
118
  }
239
119
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
240
120
 
241
121
 
242
- function _toPropertyKey(arg) {
243
- var key = _toPrimitive(arg, "string");
244
- return _typeof(key) === "symbol" ? key : String(key);
122
+ function toPropertyKey(t) {
123
+ var i = toPrimitive(t, "string");
124
+ return "symbol" == _typeof(i) ? i : String(i);
245
125
  }
246
126
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
247
127
 
248
128
  function _defineProperty(obj, key, value) {
249
- key = _toPropertyKey(key);
129
+ key = toPropertyKey(key);
250
130
  if (key in obj) {
251
131
  Object.defineProperty(obj, key, {
252
132
  value: value,
@@ -261,7 +141,6 @@ function _defineProperty(obj, key, value) {
261
141
  }
262
142
  ;// CONCATENATED MODULE: ../../packages/popover/src/const.tsx
263
143
 
264
- var _EMIT_EVENT_TYPES;
265
144
  /* eslint-disable @typescript-eslint/naming-convention */
266
145
  /*
267
146
  * Tencent is pleased to support the open source community by making
@@ -305,7 +184,7 @@ var EVENT_COMMON_FN = function EVENT_COMMON_FN(e) {
305
184
  var EVENT_CLICK_OUTSIDE_FN = function EVENT_CLICK_OUTSIDE_FN(_args) {
306
185
  return true;
307
186
  };
308
- 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);
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);
309
188
  ;// CONCATENATED MODULE: ../../packages/popover/src/content.tsx
310
189
 
311
190
  /*
@@ -335,7 +214,8 @@ var EMIT_EVENT_TYPES = (_EMIT_EVENT_TYPES = {}, _defineProperty(_EMIT_EVENT_TYPE
335
214
  */
336
215
 
337
216
 
338
- /* harmony default export */ const content = (defineComponent({
217
+
218
+ /* harmony default export */ const content = ((0,external_vue_namespaceObject.defineComponent)({
339
219
  name: 'PopContent',
340
220
  props: {
341
221
  width: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.string, shared_namespaceObject.PropTypes.number]).def('auto'),
@@ -355,7 +235,7 @@ var EMIT_EVENT_TYPES = (_EMIT_EVENT_TYPES = {}, _defineProperty(_EMIT_EVENT_TYPE
355
235
  }
356
236
  return val;
357
237
  };
358
- var style = computed(function () {
238
+ var style = (0,external_vue_namespaceObject.computed)(function () {
359
239
  return {
360
240
  width: resolveValToPix(props.width),
361
241
  height: resolveValToPix(props.height),
@@ -363,8 +243,8 @@ var EMIT_EVENT_TYPES = (_EMIT_EVENT_TYPES = {}, _defineProperty(_EMIT_EVENT_TYPE
363
243
  maxWidth: resolveValToPix(props.maxWidth)
364
244
  };
365
245
  });
366
- var refContent = ref(null);
367
- var refTimer = ref(null);
246
+ var refContent = (0,external_vue_namespaceObject.ref)(null);
247
+ var refTimer = (0,external_vue_namespaceObject.ref)(null);
368
248
  var handleClick = function handleClick(evt) {
369
249
  evt.stopPropagation();
370
250
  emit('click', evt);
@@ -384,11 +264,11 @@ var EMIT_EVENT_TYPES = (_EMIT_EVENT_TYPES = {}, _defineProperty(_EMIT_EVENT_TYPE
384
264
  if (props.eventDelay === 0) {
385
265
  return;
386
266
  }
387
- (_refContent$value = refContent.value) === null || _refContent$value === void 0 ? void 0 : _refContent$value.style.setProperty('pointer-events', val);
267
+ (_refContent$value = refContent.value) === null || _refContent$value === void 0 || _refContent$value.style.setProperty('pointer-events', val);
388
268
  };
389
269
  var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
390
270
  resolveClassName = _usePrefix.resolveClassName;
391
- var contentClassName = computed(function () {
271
+ var contentClassName = (0,external_vue_namespaceObject.computed)(function () {
392
272
  return [resolveClassName('popover'), resolveClassName('pop2-content'), props.visible ? 'visible' : 'hidden', props.extCls];
393
273
  });
394
274
  return {
@@ -412,8 +292,8 @@ var EMIT_EVENT_TYPES = (_EMIT_EVENT_TYPES = {}, _defineProperty(_EMIT_EVENT_TYPE
412
292
  _this$$slots3;
413
293
  var resolveContentStyle = function resolveContentStyle(slot) {
414
294
  var _slot$;
415
- if (Fragment === (slot === null || slot === void 0 || (_slot$ = slot[0]) === null || _slot$ === void 0 ? void 0 : _slot$.type)) {
416
- nextTick(function () {
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 () {
417
297
  _this.setContentPointerEvent('none');
418
298
  _this.resetPointerEvent();
419
299
  });
@@ -598,7 +478,8 @@ var PopoverProps = {
598
478
  * IN THE SOFTWARE.
599
479
  */
600
480
 
601
- /* harmony default export */ const root = (defineComponent({
481
+
482
+ /* harmony default export */ const root = ((0,external_vue_namespaceObject.defineComponent)({
602
483
  props: {
603
484
  "class": shared_namespaceObject.PropTypes.string.def(''),
604
485
  mode: shared_namespaceObject.PropTypes.string.def('')
@@ -613,48 +494,48 @@ function _arrayWithHoles(arr) {
613
494
  if (Array.isArray(arr)) return arr;
614
495
  }
615
496
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
616
- function _iterableToArrayLimit(arr, i) {
617
- var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];
618
- if (null != _i) {
619
- var _s,
620
- _e,
621
- _x,
622
- _r,
623
- _arr = [],
624
- _n = !0,
625
- _d = !1;
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;
626
507
  try {
627
- if (_x = (_i = _i.call(arr)).next, 0 === i) {
628
- if (Object(_i) !== _i) return;
629
- _n = !1;
630
- } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);
631
- } catch (err) {
632
- _d = !0, _e = err;
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;
633
514
  } finally {
634
515
  try {
635
- if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return;
516
+ if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
636
517
  } finally {
637
- if (_d) throw _e;
518
+ if (o) throw n;
638
519
  }
639
520
  }
640
- return _arr;
521
+ return a;
641
522
  }
642
523
  }
643
524
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
644
- function arrayLikeToArray_arrayLikeToArray(arr, len) {
525
+ function _arrayLikeToArray(arr, len) {
645
526
  if (len == null || len > arr.length) len = arr.length;
646
527
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
647
528
  return arr2;
648
529
  }
649
530
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
650
531
 
651
- function unsupportedIterableToArray_unsupportedIterableToArray(o, minLen) {
532
+ function _unsupportedIterableToArray(o, minLen) {
652
533
  if (!o) return;
653
- if (typeof o === "string") return arrayLikeToArray_arrayLikeToArray(o, minLen);
534
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
654
535
  var n = Object.prototype.toString.call(o).slice(8, -1);
655
536
  if (n === "Object" && o.constructor) n = o.constructor.name;
656
537
  if (n === "Map" || n === "Set") return Array.from(o);
657
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray_arrayLikeToArray(o, minLen);
538
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
658
539
  }
659
540
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableRest.js
660
541
  function _nonIterableRest() {
@@ -666,9 +547,14 @@ function _nonIterableRest() {
666
547
 
667
548
 
668
549
  function _slicedToArray(arr, i) {
669
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || unsupportedIterableToArray_unsupportedIterableToArray(arr, i) || _nonIterableRest();
550
+ return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
670
551
  }
671
552
  ;// 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
+
672
558
  const sides = ['top', 'right', 'bottom', 'left'];
673
559
  const alignments = ['start', 'end'];
674
560
  const placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
@@ -856,7 +742,7 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
856
742
 
857
743
  /**
858
744
  * Computes the `x` and `y` coordinates that will place the floating element
859
- * next to a reference element when it is given a certain positioning strategy.
745
+ * next to a given reference element.
860
746
  *
861
747
  * This export does not have any `platform` interface logic. You will need to
862
748
  * write one for the platform you are using Floating UI with.
@@ -934,7 +820,6 @@ const computePosition = async (reference, floating, config) => {
934
820
  } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
935
821
  }
936
822
  i = -1;
937
- continue;
938
823
  }
939
824
  }
940
825
  return {
@@ -997,6 +882,7 @@ async function detectOverflow(state, options) {
997
882
  y: 1
998
883
  };
999
884
  const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
885
+ elements,
1000
886
  rect,
1001
887
  offsetParent,
1002
888
  strategy
@@ -1024,7 +910,8 @@ const arrow = options => ({
1024
910
  placement,
1025
911
  rects,
1026
912
  platform,
1027
- elements
913
+ elements,
914
+ middlewareData
1028
915
  } = state;
1029
916
  // Since `element` is required, we don't Partial<> the type.
1030
917
  const {
@@ -1072,16 +959,20 @@ const arrow = options => ({
1072
959
 
1073
960
  // If the reference is small enough that the arrow's padding causes it to
1074
961
  // to point to nothing for an aligned placement, adjust the offset of the
1075
- // floating element itself. This stops `shift()` from taking action, but can
1076
- // be worked around by calling it again after the `arrow()` if desired.
1077
- const shouldAddOffset = floating_ui_utils_getAlignment(placement) != null && center != offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
1078
- const alignmentOffset = shouldAddOffset ? center < min$1 ? min$1 - center : max - center : 0;
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;
1079
966
  return {
1080
- [axis]: coords[axis] - alignmentOffset,
967
+ [axis]: coords[axis] + alignmentOffset,
1081
968
  data: {
1082
969
  [axis]: offset,
1083
- centerOffset: center - offset + alignmentOffset
1084
- }
970
+ centerOffset: center - offset - alignmentOffset,
971
+ ...(shouldAddOffset && {
972
+ alignmentOffset
973
+ })
974
+ },
975
+ reset: shouldAddOffset
1085
976
  };
1086
977
  }
1087
978
  });
@@ -1203,7 +1094,7 @@ const flip = function (options) {
1203
1094
  name: 'flip',
1204
1095
  options,
1205
1096
  async fn(state) {
1206
- var _middlewareData$flip;
1097
+ var _middlewareData$arrow, _middlewareData$flip;
1207
1098
  const {
1208
1099
  placement,
1209
1100
  middlewareData,
@@ -1221,6 +1112,14 @@ const flip = function (options) {
1221
1112
  flipAlignment = true,
1222
1113
  ...detectOverflowOptions
1223
1114
  } = 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
+ }
1224
1123
  const side = floating_ui_utils_getSide(placement);
1225
1124
  const isBasePlacement = floating_ui_utils_getSide(initialPlacement) === initialPlacement;
1226
1125
  const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
@@ -1498,6 +1397,7 @@ const inline = function (options) {
1498
1397
 
1499
1398
  // For type backwards-compatibility, the `OffsetOptions` type was also
1500
1399
  // Derivable.
1400
+
1501
1401
  async function convertValueToCoords(state, options) {
1502
1402
  const {
1503
1403
  placement,
@@ -1511,8 +1411,6 @@ async function convertValueToCoords(state, options) {
1511
1411
  const mainAxisMulti = ['left', 'top'].includes(side) ? -1 : 1;
1512
1412
  const crossAxisMulti = rtl && isVertical ? -1 : 1;
1513
1413
  const rawValue = floating_ui_utils_evaluate(options, state);
1514
-
1515
- // eslint-disable-next-line prefer-const
1516
1414
  let {
1517
1415
  mainAxis,
1518
1416
  crossAxis,
@@ -1554,15 +1452,27 @@ const offset = function (options) {
1554
1452
  name: 'offset',
1555
1453
  options,
1556
1454
  async fn(state) {
1455
+ var _middlewareData$offse, _middlewareData$arrow;
1557
1456
  const {
1558
1457
  x,
1559
- y
1458
+ y,
1459
+ placement,
1460
+ middlewareData
1560
1461
  } = state;
1561
1462
  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
+ }
1562
1469
  return {
1563
1470
  x: x + diffCoords.x,
1564
1471
  y: y + diffCoords.y,
1565
- data: diffCoords
1472
+ data: {
1473
+ ...diffCoords,
1474
+ placement
1475
+ }
1566
1476
  };
1567
1477
  }
1568
1478
  };
@@ -1794,7 +1704,7 @@ const size = function (options) {
1794
1704
 
1795
1705
 
1796
1706
 
1797
- ;// CONCATENATED MODULE: ../../node_modules/@floating-ui/utils/dom/dist/floating-ui.utils.dom.mjs
1707
+ ;// CONCATENATED MODULE: ../../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
1798
1708
  function getNodeName(node) {
1799
1709
  if (isNode(node)) {
1800
1710
  return (node.nodeName || '').toLowerCase();
@@ -1806,7 +1716,7 @@ function getNodeName(node) {
1806
1716
  }
1807
1717
  function getWindow(node) {
1808
1718
  var _node$ownerDocument;
1809
- return (node == null ? void 0 : (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
1719
+ return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
1810
1720
  }
1811
1721
  function getDocumentElement(node) {
1812
1722
  var _ref;
@@ -1815,7 +1725,7 @@ function getDocumentElement(node) {
1815
1725
  function isNode(value) {
1816
1726
  return value instanceof Node || value instanceof getWindow(value).Node;
1817
1727
  }
1818
- function floating_ui_utils_dom_isElement(value) {
1728
+ function isElement(value) {
1819
1729
  return value instanceof Element || value instanceof getWindow(value).Element;
1820
1730
  }
1821
1731
  function isHTMLElement(value) {
@@ -1847,6 +1757,17 @@ function isContainingBlock(element) {
1847
1757
  // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
1848
1758
  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));
1849
1759
  }
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
+ }
1850
1771
  function isWebKit() {
1851
1772
  if (typeof CSS === 'undefined' || !CSS.supports) return false;
1852
1773
  return CSS.supports('-webkit-backdrop-filter', 'none');
@@ -1858,7 +1779,7 @@ function getComputedStyle(element) {
1858
1779
  return getWindow(element).getComputedStyle(element);
1859
1780
  }
1860
1781
  function getNodeScroll(element) {
1861
- if (floating_ui_utils_dom_isElement(element)) {
1782
+ if (isElement(element)) {
1862
1783
  return {
1863
1784
  scrollLeft: element.scrollLeft,
1864
1785
  scrollTop: element.scrollTop
@@ -1894,18 +1815,21 @@ function getNearestOverflowAncestor(node) {
1894
1815
  }
1895
1816
  return getNearestOverflowAncestor(parentNode);
1896
1817
  }
1897
- function getOverflowAncestors(node, list) {
1818
+ function getOverflowAncestors(node, list, traverseIframes) {
1898
1819
  var _node$ownerDocument2;
1899
1820
  if (list === void 0) {
1900
1821
  list = [];
1901
1822
  }
1823
+ if (traverseIframes === void 0) {
1824
+ traverseIframes = true;
1825
+ }
1902
1826
  const scrollableAncestor = getNearestOverflowAncestor(node);
1903
1827
  const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
1904
1828
  const win = getWindow(scrollableAncestor);
1905
1829
  if (isBody) {
1906
- return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : []);
1830
+ return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement && traverseIframes ? getOverflowAncestors(win.frameElement) : []);
1907
1831
  }
1908
- return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor));
1832
+ return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
1909
1833
  }
1910
1834
 
1911
1835
 
@@ -1939,7 +1863,7 @@ function getCssDimensions(element) {
1939
1863
  }
1940
1864
 
1941
1865
  function unwrapElement(element) {
1942
- return !floating_ui_utils_dom_isElement(element) ? element.contextElement : element;
1866
+ return !isElement(element) ? element.contextElement : element;
1943
1867
  }
1944
1868
 
1945
1869
  function getScale(element) {
@@ -2003,7 +1927,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
2003
1927
  let scale = createCoords(1);
2004
1928
  if (includeScale) {
2005
1929
  if (offsetParent) {
2006
- if (floating_ui_utils_dom_isElement(offsetParent)) {
1930
+ if (isElement(offsetParent)) {
2007
1931
  scale = getScale(offsetParent);
2008
1932
  }
2009
1933
  } else {
@@ -2017,7 +1941,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetPar
2017
1941
  let height = clientRect.height / scale.y;
2018
1942
  if (domElement) {
2019
1943
  const win = getWindow(domElement);
2020
- const offsetWin = offsetParent && floating_ui_utils_dom_isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
1944
+ const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
2021
1945
  let currentIFrame = win.frameElement;
2022
1946
  while (currentIFrame && offsetParent && offsetWin !== win) {
2023
1947
  const iframeScale = getScale(currentIFrame);
@@ -2157,7 +2081,7 @@ function getClientRectFromClippingAncestor(element, clippingAncestor, strategy)
2157
2081
  rect = getViewportRect(element, strategy);
2158
2082
  } else if (clippingAncestor === 'document') {
2159
2083
  rect = getDocumentRect(getDocumentElement(element));
2160
- } else if (floating_ui_utils_dom_isElement(clippingAncestor)) {
2084
+ } else if (isElement(clippingAncestor)) {
2161
2085
  rect = getInnerBoundingClientRect(clippingAncestor, strategy);
2162
2086
  } else {
2163
2087
  const visualOffsets = getVisualOffsets(element);
@@ -2171,7 +2095,7 @@ function getClientRectFromClippingAncestor(element, clippingAncestor, strategy)
2171
2095
  }
2172
2096
  function hasFixedPositionAncestor(element, stopNode) {
2173
2097
  const parentNode = getParentNode(element);
2174
- if (parentNode === stopNode || !floating_ui_utils_dom_isElement(parentNode) || isLastTraversableNode(parentNode)) {
2098
+ if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
2175
2099
  return false;
2176
2100
  }
2177
2101
  return getComputedStyle(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);
@@ -2185,13 +2109,13 @@ function getClippingElementAncestors(element, cache) {
2185
2109
  if (cachedResult) {
2186
2110
  return cachedResult;
2187
2111
  }
2188
- let result = getOverflowAncestors(element).filter(el => floating_ui_utils_dom_isElement(el) && getNodeName(el) !== 'body');
2112
+ let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');
2189
2113
  let currentContainingBlockComputedStyle = null;
2190
2114
  const elementIsFixed = getComputedStyle(element).position === 'fixed';
2191
2115
  let currentNode = elementIsFixed ? getParentNode(element) : element;
2192
2116
 
2193
2117
  // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
2194
- while (floating_ui_utils_dom_isElement(currentNode) && !isLastTraversableNode(currentNode)) {
2118
+ while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
2195
2119
  const computedStyle = getComputedStyle(currentNode);
2196
2120
  const currentNodeIsContaining = isContainingBlock(currentNode);
2197
2121
  if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
@@ -2240,7 +2164,14 @@ function getClippingRect(_ref) {
2240
2164
  }
2241
2165
 
2242
2166
  function getDimensions(element) {
2243
- return getCssDimensions(element);
2167
+ const {
2168
+ width,
2169
+ height
2170
+ } = getCssDimensions(element);
2171
+ return {
2172
+ width,
2173
+ height
2174
+ };
2244
2175
  }
2245
2176
 
2246
2177
  function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
@@ -2282,17 +2213,6 @@ function getTrueOffsetParent(element, polyfill) {
2282
2213
  }
2283
2214
  return element.offsetParent;
2284
2215
  }
2285
- function getContainingBlock(element) {
2286
- let currentNode = getParentNode(element);
2287
- while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
2288
- if (isContainingBlock(currentNode)) {
2289
- return currentNode;
2290
- } else {
2291
- currentNode = getParentNode(currentNode);
2292
- }
2293
- }
2294
- return null;
2295
- }
2296
2216
 
2297
2217
  // Gets the closest ancestor positioned element. Handles some edge cases,
2298
2218
  // such as table ancestors and cross browser bugs.
@@ -2342,7 +2262,7 @@ const platform = {
2342
2262
  getClientRects,
2343
2263
  getDimensions,
2344
2264
  getScale,
2345
- isElement: floating_ui_utils_dom_isElement,
2265
+ isElement: isElement,
2346
2266
  isRTL
2347
2267
  };
2348
2268
 
@@ -2497,10 +2417,66 @@ function autoUpdate(reference, floating, update, options) {
2497
2417
  };
2498
2418
  }
2499
2419
 
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
+
2500
2477
  /**
2501
2478
  * Computes the `x` and `y` coordinates that will place the floating element
2502
- * next to a reference element when it is given a certain CSS positioning
2503
- * strategy.
2479
+ * next to a given reference element.
2504
2480
  */
2505
2481
  const floating_ui_dom_computePosition = (reference, floating, options) => {
2506
2482
  // This caches the expensive `getClippingElementAncestors` function so that
@@ -2846,7 +2822,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
2846
2822
  };
2847
2823
  var resolvePopOptions = function resolvePopOptions(elArrow, props) {
2848
2824
  var modifiers = resolveModifiers();
2849
- var middleware = [offset(modifiers.offset || props.offset), shift({
2825
+ var middleware = [offset(modifiers.offset || props.offset), floating_ui_dom_shift({
2850
2826
  padding: props.padding
2851
2827
  })];
2852
2828
  var options = {
@@ -2854,17 +2830,17 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
2854
2830
  middleware: middleware
2855
2831
  };
2856
2832
  if (props.arrow) {
2857
- middleware.push(arrow({
2833
+ middleware.push(floating_ui_dom_arrow({
2858
2834
  element: elArrow
2859
2835
  }));
2860
2836
  }
2861
2837
  if (isAutoPlacementAvailable()) {
2862
- middleware.push(autoPlacement());
2838
+ middleware.push(floating_ui_dom_autoPlacement());
2863
2839
  }
2864
- middleware.unshift(inline());
2865
- middleware.push(flip());
2840
+ middleware.unshift(floating_ui_dom_inline());
2841
+ middleware.push(floating_ui_dom_flip());
2866
2842
  if (isHideMiddlewareAvailable()) {
2867
- options.middleware.push(hide());
2843
+ options.middleware.push(floating_ui_dom_hide());
2868
2844
  }
2869
2845
  /**
2870
2846
  * 如果是全屏元素或者指定的虚拟元素
@@ -3304,7 +3280,7 @@ var parentNodeReferId = null;
3304
3280
  getFullscreenRoot = _useFloating.getFullscreenRoot,
3305
3281
  stopHide = _useFloating.stopHide;
3306
3282
  var resetPopover = function resetPopover() {
3307
- cleanup === null || cleanup === void 0 ? void 0 : cleanup();
3283
+ cleanup === null || cleanup === void 0 || cleanup();
3308
3284
  createPopInstance();
3309
3285
  };
3310
3286
  var showFn = function showFn() {
@@ -3412,13 +3388,13 @@ var parentNodeReferId = null;
3412
3388
  getPrefixId = _usePopperId.getPrefixId;
3413
3389
  var setFullscreenTag = function setFullscreenTag() {
3414
3390
  var _fullScreenTarget$val2;
3415
- fullScreenTarget === null || fullScreenTarget === void 0 || (_fullScreenTarget$val2 = fullScreenTarget.value) === null || _fullScreenTarget$val2 === void 0 ? void 0 : _fullScreenTarget$val2.setAttribute('data-fllsrn-id', fullscreenReferId);
3391
+ fullScreenTarget === null || fullScreenTarget === void 0 || (_fullScreenTarget$val2 = fullScreenTarget.value) === null || _fullScreenTarget$val2 === void 0 || _fullScreenTarget$val2.setAttribute('data-fllsrn-id', fullscreenReferId);
3416
3392
  };
3417
3393
  var clearFullscreenTag = function clearFullscreenTag() {
3418
3394
  var _fullScreenTarget$val3, _fullScreenTarget$val4;
3419
3395
  var query = "[data-fllsrn-id=".concat(fullscreenReferId, "]");
3420
3396
  ((_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) {
3421
- element === null || element === void 0 ? void 0 : element.removeAttribute('data-fllsrn-id');
3397
+ element === null || element === void 0 || element.removeAttribute('data-fllsrn-id');
3422
3398
  });
3423
3399
  };
3424
3400
  var boundary = (0,external_vue_namespaceObject.ref)();
@@ -3540,10 +3516,11 @@ var parentNodeReferId = null;
3540
3516
 
3541
3517
 
3542
3518
 
3519
+
3543
3520
  function _isSlot(s) {
3544
3521
  return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0,external_vue_namespaceObject.isVNode)(s);
3545
3522
  }
3546
- /* harmony default export */ const popover = (defineComponent({
3523
+ /* harmony default export */ const popover = ((0,external_vue_namespaceObject.defineComponent)({
3547
3524
  name: 'Popover',
3548
3525
  components: {
3549
3526
  Content: content,
@@ -3551,18 +3528,18 @@ function _isSlot(s) {
3551
3528
  Root: root
3552
3529
  },
3553
3530
  directives: {
3554
- clickoutside: clickoutside
3531
+ clickoutside: directives_namespaceObject.clickoutside
3555
3532
  },
3556
3533
  props: PopoverProps,
3557
3534
  emits: EMIT_EVENT_TYPES,
3558
3535
  setup: function setup(props, ctx) {
3559
- var _toRefs = toRefs(props),
3536
+ var _toRefs = (0,external_vue_namespaceObject.toRefs)(props),
3560
3537
  reference = _toRefs.reference;
3561
- var refDefaultReference = ref();
3562
- var refContent = ref();
3563
- var refArrow = ref();
3564
- var refRoot = ref();
3565
- var refReference = computed(function () {
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 () {
3566
3543
  return reference.value || refDefaultReference.value;
3567
3544
  });
3568
3545
  var _usePopoverInit = use_popover_init(props, ctx, {
@@ -3588,7 +3565,7 @@ function _isSlot(s) {
3588
3565
  boundary = _usePopoverInit.boundary,
3589
3566
  uniqKey = _usePopoverInit.uniqKey;
3590
3567
  if (!props.always && !props.disabled) {
3591
- watch(function () {
3568
+ (0,external_vue_namespaceObject.watch)(function () {
3592
3569
  return props.isShow;
3593
3570
  }, function () {
3594
3571
  props.isShow ? showPopover() : hidePopover();
@@ -3596,7 +3573,7 @@ function _isSlot(s) {
3596
3573
  immediate: true
3597
3574
  });
3598
3575
  }
3599
- watch(function () {
3576
+ (0,external_vue_namespaceObject.watch)(function () {
3600
3577
  return [props.disabled];
3601
3578
  }, function (val) {
3602
3579
  if (val[0]) {
@@ -3606,15 +3583,15 @@ function _isSlot(s) {
3606
3583
  }
3607
3584
  });
3608
3585
  updateBoundary();
3609
- onMounted(onMountedFn);
3610
- onBeforeUnmount(onUnmountedFn);
3611
- var isRenderModeShow = computed(function () {
3586
+ (0,external_vue_namespaceObject.onMounted)(onMountedFn);
3587
+ (0,external_vue_namespaceObject.onBeforeUnmount)(onUnmountedFn);
3588
+ var isRenderModeShow = (0,external_vue_namespaceObject.computed)(function () {
3612
3589
  return props.renderDirective === 'show';
3613
3590
  });
3614
- var transBoundary = computed(function () {
3591
+ var transBoundary = (0,external_vue_namespaceObject.computed)(function () {
3615
3592
  return isRenderModeShow.value || localIsShow.value && !props.disableTeleport;
3616
3593
  });
3617
- var contentIsShow = computed(function () {
3594
+ var contentIsShow = (0,external_vue_namespaceObject.computed)(function () {
3618
3595
  if (props.renderType === shared_namespaceObject.RenderType.AUTO) {
3619
3596
  return true;
3620
3597
  }
@@ -3680,7 +3657,7 @@ function _isSlot(s) {
3680
3657
  _this$$slots4;
3681
3658
  var renderReferSlot = function renderReferSlot(slot) {
3682
3659
  var _slot$;
3683
- if (Text === (slot === null || slot === void 0 || (_slot$ = slot[0]) === null || _slot$ === void 0 ? void 0 : _slot$.type)) {
3660
+ if (external_vue_namespaceObject.Text === (slot === null || slot === void 0 || (_slot$ = slot[0]) === null || _slot$ === void 0 ? void 0 : _slot$.type)) {
3684
3661
  return (0,external_vue_namespaceObject.createVNode)("span", null, [slot]);
3685
3662
  }
3686
3663
  return slot;
@@ -3690,8 +3667,8 @@ function _isSlot(s) {
3690
3667
  }, {
3691
3668
  "default": function _default() {
3692
3669
  return [_this.hideIgnoreReference ? (0,external_vue_namespaceObject.createVNode)("div", {
3693
- "class": _this.referenceCls,
3694
3670
  "style": "display: inline-block;",
3671
+ "class": _this.referenceCls,
3695
3672
  "onClick": _this.handleClickReferenceWraper
3696
3673
  }, [(0,external_vue_namespaceObject.createVNode)(reference, {
3697
3674
  "ref": "refDefaultReference"
@@ -3705,7 +3682,7 @@ function _isSlot(s) {
3705
3682
  "default": function _default() {
3706
3683
  return [_slot2];
3707
3684
  }
3708
- }), (0,external_vue_namespaceObject.createVNode)(Teleport, {
3685
+ }), (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Teleport, {
3709
3686
  "disabled": !_this.transBoundary,
3710
3687
  "to": _this.boundary
3711
3688
  }, {
@@ -3813,36 +3790,36 @@ function createPopoverComponent(options) {
3813
3790
  var refReference = (0,external_vue_namespaceObject.ref)();
3814
3791
  var show = function show() {
3815
3792
  var _refReference$value, _refReference$value$s;
3816
- (_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);
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);
3817
3794
  };
3818
3795
  var hide = function hide() {
3819
3796
  var _refReference$value2, _refReference$value2$;
3820
- (_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);
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);
3821
3798
  };
3822
3799
  var stopHide = function stopHide() {
3823
3800
  var _refReference$value3, _refReference$value3$;
3824
- (_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);
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);
3825
3802
  };
3826
3803
  var updateTarget = function updateTarget(target) {
3827
3804
  var _refReference$value4, _refReference$value4$;
3828
3805
  refProps.target = target;
3829
- (_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);
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);
3830
3807
  };
3831
3808
  var handleContentMouseenter = function handleContentMouseenter() {
3832
3809
  var _resolvedOptions$onCo;
3833
- (_resolvedOptions$onCo = resolvedOptions.onContentMouseenter) === null || _resolvedOptions$onCo === void 0 ? void 0 : _resolvedOptions$onCo.call(resolvedOptions);
3810
+ (_resolvedOptions$onCo = resolvedOptions.onContentMouseenter) === null || _resolvedOptions$onCo === void 0 || _resolvedOptions$onCo.call(resolvedOptions);
3834
3811
  };
3835
3812
  var handleContentMouseleave = function handleContentMouseleave() {
3836
3813
  var _resolvedOptions$onCo2;
3837
- (_resolvedOptions$onCo2 = resolvedOptions.onContentMouseleave) === null || _resolvedOptions$onCo2 === void 0 ? void 0 : _resolvedOptions$onCo2.call(resolvedOptions);
3814
+ (_resolvedOptions$onCo2 = resolvedOptions.onContentMouseleave) === null || _resolvedOptions$onCo2 === void 0 || _resolvedOptions$onCo2.call(resolvedOptions);
3838
3815
  };
3839
3816
  var handlePopoverHidden = function handlePopoverHidden() {
3840
3817
  var _resolvedOptions$onHi;
3841
- (_resolvedOptions$onHi = resolvedOptions.onHide) === null || _resolvedOptions$onHi === void 0 ? void 0 : _resolvedOptions$onHi.call(resolvedOptions);
3818
+ (_resolvedOptions$onHi = resolvedOptions.onHide) === null || _resolvedOptions$onHi === void 0 || _resolvedOptions$onHi.call(resolvedOptions);
3842
3819
  };
3843
3820
  var handlePopoverShow = function handlePopoverShow() {
3844
3821
  var _resolvedOptions$onSh;
3845
- (_resolvedOptions$onSh = resolvedOptions.onShow) === null || _resolvedOptions$onSh === void 0 ? void 0 : _resolvedOptions$onSh.call(resolvedOptions);
3822
+ (_resolvedOptions$onSh = resolvedOptions.onShow) === null || _resolvedOptions$onSh === void 0 || _resolvedOptions$onSh.call(resolvedOptions);
3846
3823
  };
3847
3824
  expose({
3848
3825
  show: show,
@@ -3891,7 +3868,7 @@ function createPopoverComponent(options) {
3891
3868
  }
3892
3869
  $PopoverInstance.unmount();
3893
3870
  $PopoverInstance = null;
3894
- (_$PopoverInstanceEl = $PopoverInstanceEl) === null || _$PopoverInstanceEl === void 0 ? void 0 : _$PopoverInstanceEl.remove();
3871
+ (_$PopoverInstanceEl = $PopoverInstanceEl) === null || _$PopoverInstanceEl === void 0 || _$PopoverInstanceEl.remove();
3895
3872
  };
3896
3873
  function close() {
3897
3874
  uninstall();
@@ -3902,17 +3879,17 @@ function createPopoverComponent(options) {
3902
3879
  install();
3903
3880
  if (target) {
3904
3881
  var _$PopoverInstanceVm;
3905
- (_$PopoverInstanceVm = $PopoverInstanceVm) === null || _$PopoverInstanceVm === void 0 ? void 0 : _$PopoverInstanceVm.updateTarget(target);
3882
+ (_$PopoverInstanceVm = $PopoverInstanceVm) === null || _$PopoverInstanceVm === void 0 || _$PopoverInstanceVm.updateTarget(target);
3906
3883
  }
3907
- (_$PopoverInstanceVm2 = $PopoverInstanceVm) === null || _$PopoverInstanceVm2 === void 0 ? void 0 : _$PopoverInstanceVm2.show();
3884
+ (_$PopoverInstanceVm2 = $PopoverInstanceVm) === null || _$PopoverInstanceVm2 === void 0 || _$PopoverInstanceVm2.show();
3908
3885
  }
3909
3886
  function update(e) {
3910
3887
  var _$PopoverInstanceVm3;
3911
- (_$PopoverInstanceVm3 = $PopoverInstanceVm) === null || _$PopoverInstanceVm3 === void 0 ? void 0 : _$PopoverInstanceVm3.updateTarget(e);
3888
+ (_$PopoverInstanceVm3 = $PopoverInstanceVm) === null || _$PopoverInstanceVm3 === void 0 || _$PopoverInstanceVm3.updateTarget(e);
3912
3889
  }
3913
3890
  function hide() {
3914
3891
  var _$PopoverInstanceVm4;
3915
- (_$PopoverInstanceVm4 = $PopoverInstanceVm) === null || _$PopoverInstanceVm4 === void 0 ? void 0 : _$PopoverInstanceVm4.hide();
3892
+ (_$PopoverInstanceVm4 = $PopoverInstanceVm) === null || _$PopoverInstanceVm4 === void 0 || _$PopoverInstanceVm4.hide();
3916
3893
  }
3917
3894
  immediate && install();
3918
3895
  return {