@web-utils/component 5.0.0-beta03 → 5.0.0-beta04

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 (390) hide show
  1. package/chunks/DialogForm.BzmXN481.mjs +37816 -0
  2. package/chunks/ElementDialog.BrqPs1yL.mjs +198 -0
  3. package/chunks/FormTemp.DWB4CV8h.mjs +251 -0
  4. package/chunks/FyButton.DGd1yE_h.mjs +27 -0
  5. package/chunks/{FyCurd.DqJuCLNW.mjs → FyCurd.DmIW6Tjw.mjs} +490 -483
  6. package/chunks/{FyForm.CgyGhetD.mjs → FyForm.Dh77gj0Z.mjs} +149 -149
  7. package/chunks/{FyUEditor.uvZS8UgS.mjs → FyUEditor.BMGigcYw.mjs} +7 -7
  8. package/chunks/{FyUpload.DoBEuYcC.mjs → FyUpload.Y_mVdD0K.mjs} +77 -77
  9. package/chunks/{MonacoEditor.Bq9d6JSz.mjs → MonacoEditor.DQ1vPh6D.mjs} +8 -8
  10. package/chunks/dataformat.BpAzVPYN.mjs +165 -0
  11. package/chunks/{dic.NZCGhtA7.mjs → dic.N2PNjL8o.mjs} +1 -1
  12. package/chunks/{event.CmOTnori.mjs → event.BevSLXu4.mjs} +8 -9
  13. package/chunks/{util.g-WQEec9.mjs → util.Cdt7t08t.mjs} +35 -50
  14. package/dialog/index.d.ts +14 -0
  15. package/dialog/props.d.ts +101 -0
  16. package/dialog-form/index.mjs +2 -145
  17. package/element-dialog/index.mjs +1 -1
  18. package/element-dialog/style.css +1 -1
  19. package/fy-array/index.mjs +7 -7
  20. package/fy-button/index.mjs +2 -0
  21. package/fy-button/style.css +1 -0
  22. package/fy-cascader/index.mjs +2 -2
  23. package/fy-checkbox/index.mjs +2 -2
  24. package/fy-curd/index.mjs +1 -1
  25. package/fy-curd/style.css +1 -1
  26. package/fy-date/index.mjs +2 -2
  27. package/fy-date/style.css +1 -1
  28. package/fy-dynamic/index.mjs +15 -15
  29. package/fy-empty/index.mjs +4 -4
  30. package/fy-form/index.mjs +1 -1
  31. package/fy-input/index.mjs +3 -3
  32. package/fy-input-color/index.mjs +2 -2
  33. package/fy-input-map/index.mjs +36 -34
  34. package/fy-input-number/index.mjs +2 -2
  35. package/fy-input-table/index.mjs +40 -38
  36. package/fy-input-tree/index.mjs +17 -17
  37. package/fy-radio/index.mjs +2 -2
  38. package/fy-rate/index.mjs +2 -2
  39. package/fy-select/index.mjs +29 -29
  40. package/fy-slider/index.mjs +5 -5
  41. package/fy-switch/index.mjs +2 -2
  42. package/fy-tabs/index.mjs +1 -1
  43. package/fy-time/index.mjs +7 -7
  44. package/fy-title/index.mjs +2 -2
  45. package/fy-tree/index.mjs +76 -74
  46. package/fy-u-editor/index.mjs +1 -1
  47. package/fy-upload/index.mjs +1 -1
  48. package/icon-temp/index.mjs +1 -1
  49. package/index.d.ts +2 -141
  50. package/index.mjs +31 -178
  51. package/monaco-editor/index.mjs +1 -1
  52. package/package.json +4 -4
  53. package/web-types.json +2431 -20044
  54. package/address-input/index.mjs +0 -76
  55. package/address-input/style.css +0 -1
  56. package/affix/index.mjs +0 -72
  57. package/affix/style.css +0 -1
  58. package/aside-menu/index.mjs +0 -20
  59. package/aside-menu/style.css +0 -1
  60. package/avatar/index.mjs +0 -94
  61. package/avatar/style.css +0 -1
  62. package/awesome-button/index.mjs +0 -49
  63. package/base.css +0 -1
  64. package/capsule-tab/index.mjs +0 -27
  65. package/capsule-tab/style.css +0 -1
  66. package/card/index.mjs +0 -86
  67. package/card/style.css +0 -1
  68. package/carousel/index.mjs +0 -46
  69. package/carousel/style.css +0 -1
  70. package/chat/index.mjs +0 -432
  71. package/chat/style.css +0 -1
  72. package/chunk-file-uploader/index.mjs +0 -2
  73. package/chunk-file-uploader/style.css +0 -1
  74. package/chunks/ChunkFileUploader.C3EA0e5t.mjs +0 -114
  75. package/chunks/EditableTree.CV8b95tW.mjs +0 -639
  76. package/chunks/ElementBaseInfo.lW0iwU10.mjs +0 -208
  77. package/chunks/ElementDialog.DWhAJsUn.mjs +0 -520
  78. package/chunks/ElementForm.C7yebHWH.mjs +0 -600
  79. package/chunks/ElementListeners.B_SjC8dp.mjs +0 -635
  80. package/chunks/ElementMultiInstance.Xw27Z5mm.mjs +0 -289
  81. package/chunks/ElementOtherConfig.DnNmAhKn.mjs +0 -50
  82. package/chunks/ElementProperties.DKr9JE_O.mjs +0 -187
  83. package/chunks/ElementTaskConfig.CPjsXlpS.mjs +0 -442
  84. package/chunks/FlowCondition.BA7GF34X.mjs +0 -193
  85. package/chunks/FlowDesigner.DH1ypcUw.mjs +0 -5100
  86. package/chunks/FormBlock.D6kZl7sm.mjs +0 -117
  87. package/chunks/FormCascader.BXL8lKww.mjs +0 -1229
  88. package/chunks/FormInputTime.DzTPiDNh.mjs +0 -1775
  89. package/chunks/FormItem.B8iPLduv.mjs +0 -89
  90. package/chunks/FormItemGroup.CCGqEapT.mjs +0 -154
  91. package/chunks/FormSelect.t0jbTL_K.mjs +0 -1475
  92. package/chunks/FormSwitch.uoFQ-xp_.mjs +0 -298
  93. package/chunks/FormTemp.CeHtEZQe.mjs +0 -144
  94. package/chunks/FyFormDesign.DIIK7mXK.mjs +0 -5521
  95. package/chunks/ImagePreview.DDFrZgo5.mjs +0 -649
  96. package/chunks/Keyboard.DBspwbYo.mjs +0 -379
  97. package/chunks/PageableTable.DR-REJN5.mjs +0 -659
  98. package/chunks/RecordVideo.CKTY-gk9.mjs +0 -116
  99. package/chunks/SignalAndMessage.CL2u19it.mjs +0 -189
  100. package/chunks/SplitPane.DNNid7WB.mjs +0 -219
  101. package/chunks/TableColumn.Cq9Bvevm.mjs +0 -186
  102. package/chunks/TableView.DMWMaGLA.mjs +0 -477
  103. package/chunks/Toolbar.DytZ6fO0.mjs +0 -219
  104. package/chunks/ToolbarButton.AlTszc53.mjs +0 -107
  105. package/chunks/UserTaskListeners.Qfm8hKWP.mjs +0 -581
  106. package/chunks/VueCron.BmPnLuu3.mjs +0 -1787
  107. package/chunks/VueTreeSelect.GHx4Z2lG.mjs +0 -1877
  108. package/chunks/button.gVyl7Y__.mjs +0 -927
  109. package/chunks/checkbox.AmhCpaBZ.mjs +0 -438
  110. package/chunks/chunk.A6TnG60p.mjs +0 -13
  111. package/chunks/confirmable-mixin.BZtxXY0h.mjs +0 -273
  112. package/chunks/constants.Dw7hXt67.mjs +0 -4
  113. package/chunks/core.Blrh_Fjl.mjs +0 -51
  114. package/chunks/dataformat.F7GtAoiN.mjs +0 -144
  115. package/chunks/dictionary.BqVLM7Lf.mjs +0 -87
  116. package/chunks/dictionary.DXYdZefs.mjs +0 -19
  117. package/chunks/event.ZRs4J5TN.mjs +0 -4
  118. package/chunks/focus-trap.CuUc8N2C.mjs +0 -211
  119. package/chunks/form-input.DdSb45Tz.mjs +0 -34
  120. package/chunks/form-item.fYYCXvCs.mjs +0 -716
  121. package/chunks/form-pick.BEC7lrNH.mjs +0 -7
  122. package/chunks/form-validate.JFOV_f-C.mjs +0 -11
  123. package/chunks/icon.AJYLfX1m.mjs +0 -26
  124. package/chunks/icon.niAg1zTC.mjs +0 -251
  125. package/chunks/init.CtUEiRbU.mjs +0 -115
  126. package/chunks/input.B_wW4aF-.mjs +0 -548
  127. package/chunks/install.BJl2MN77.mjs +0 -73
  128. package/chunks/message-box.wGWcYSSd.mjs +0 -463
  129. package/chunks/message.DnTACuzV.mjs +0 -401
  130. package/chunks/overlay.Rhu_rfhx.mjs +0 -122
  131. package/chunks/photo-swipe.BvBJGc5x.mjs +0 -55
  132. package/chunks/radio.BMkZBhl5.mjs +0 -274
  133. package/chunks/scroll.BJIpzi2Q.mjs +0 -28
  134. package/chunks/scrollbar.CvxOszy3.mjs +0 -345
  135. package/chunks/slot.CZCo32Cw.mjs +0 -25
  136. package/chunks/style.CraPDfJA.mjs +0 -325
  137. package/chunks/sub-table-plus-props.DvS8aKT4.mjs +0 -28
  138. package/chunks/tab-mixin.C9DSz8xu.mjs +0 -70
  139. package/chunks/tag.B6yUaGj-.mjs +0 -141
  140. package/chunks/teleport.87mkIv8m.mjs +0 -22
  141. package/chunks/tooltip.Dzjs7LZ8.mjs +0 -1926
  142. package/chunks/typescript.D0a40c7B.mjs +0 -4
  143. package/chunks/use-aria.B9uqqWAE.mjs +0 -17
  144. package/chunks/use-composition.BMPJBvYs.mjs +0 -47
  145. package/chunks/use-deprecated.vx6LTDA_.mjs +0 -12
  146. package/chunks/use-empty-values.CxYKjLV9.mjs +0 -81
  147. package/chunks/use-form-item.DMDTkMq9.mjs +0 -48
  148. package/chunks/use-global-config.Dkt91Ob3.mjs +0 -57
  149. package/chunks/use-id.CyzdvfQn.mjs +0 -15
  150. package/chunks/use-locale.CBoQRFjH.mjs +0 -188
  151. package/chunks/use-size.CoorvF12.mjs +0 -18
  152. package/chunks/util.fjuzrmWz.mjs +0 -103
  153. package/chunks/utilSelf.Bv7FtUNb.mjs +0 -46
  154. package/chunks/utils.C37EhJ-u.mjs +0 -60
  155. package/chunks/utils.C8RvIGLM.mjs +0 -14
  156. package/chunks/validator.Drv0r2Nb.mjs +0 -5
  157. package/chunks/vnode.raM3wMJz.mjs +0 -14
  158. package/code-mirror-editor/index.mjs +0 -99
  159. package/code-mirror-editor/style.css +0 -1
  160. package/comment/index.mjs +0 -62
  161. package/comment/style.css +0 -1
  162. package/configComponents.d.ts +0 -29
  163. package/configComponents.mjs +0 -42
  164. package/confirm-button/index.mjs +0 -35
  165. package/confirmable/index.mjs +0 -8
  166. package/context-menu/index.mjs +0 -196
  167. package/context-menu/style.css +0 -1
  168. package/count-up/index.mjs +0 -99
  169. package/custom-scrollbar/index.mjs +0 -93
  170. package/data-box/index.mjs +0 -64
  171. package/data-box/style.css +0 -1
  172. package/data-card/index.mjs +0 -60
  173. package/data-card/style.css +0 -1
  174. package/data-card-text/index.mjs +0 -64
  175. package/data-card-text/style.css +0 -1
  176. package/data-display/index.mjs +0 -71
  177. package/data-display/style.css +0 -1
  178. package/data-icons/index.mjs +0 -70
  179. package/data-icons/style.css +0 -1
  180. package/data-imgtext/index.mjs +0 -67
  181. package/data-imgtext/style.css +0 -1
  182. package/data-operatext/index.mjs +0 -51
  183. package/data-operatext/style.css +0 -1
  184. package/data-panel/index.mjs +0 -57
  185. package/data-panel/style.css +0 -1
  186. package/data-pay/index.mjs +0 -105
  187. package/data-pay/style.css +0 -1
  188. package/data-price/index.mjs +0 -48
  189. package/data-price/style.css +0 -1
  190. package/data-progress/index.mjs +0 -67
  191. package/data-progress/style.css +0 -1
  192. package/data-rotate/index.mjs +0 -61
  193. package/data-rotate/style.css +0 -1
  194. package/data-table-picker/index.mjs +0 -116
  195. package/data-tabs/index.mjs +0 -67
  196. package/data-tabs/style.css +0 -1
  197. package/dynamic-table/index.mjs +0 -165
  198. package/dynamic-table/style.css +0 -1
  199. package/e-charts/index.mjs +0 -176
  200. package/e-charts/style.css +0 -1
  201. package/easy-popup/index.mjs +0 -92
  202. package/easy-popup/style.css +0 -1
  203. package/editable-progress/index.mjs +0 -113
  204. package/editable-progress/style.css +0 -1
  205. package/editable-tree/index.mjs +0 -2
  206. package/editable-tree/style.css +0 -1
  207. package/element-listeners/style.css +0 -1
  208. package/element-multi-instance/style.css +0 -1
  209. package/ellipsis/index.mjs +0 -124
  210. package/ellipsis/style.css +0 -1
  211. package/empty-view/index.mjs +0 -46
  212. package/empty-view/style.css +0 -1
  213. package/error-view/index.mjs +0 -37
  214. package/error-view/style.css +0 -1
  215. package/flex-column/index.mjs +0 -35
  216. package/flex-item/index.mjs +0 -61
  217. package/flex-row/index.mjs +0 -34
  218. package/flex-scroller/index.mjs +0 -29
  219. package/flex-scroller/style.css +0 -1
  220. package/flow/index.mjs +0 -240
  221. package/flow/style.css +0 -1
  222. package/flow-designer/index.mjs +0 -2
  223. package/flow-designer/style.css +0 -1
  224. package/flow-node/index.mjs +0 -56
  225. package/flow-viewer/index.mjs +0 -160
  226. package/flow-viewer/style.css +0 -1
  227. package/form-block/index.mjs +0 -2
  228. package/form-block/style.css +0 -1
  229. package/form-button/index.mjs +0 -36
  230. package/form-card/index.mjs +0 -14
  231. package/form-cascader/index.mjs +0 -2
  232. package/form-checkbox/index.mjs +0 -90
  233. package/form-checkbox-group/index.mjs +0 -162
  234. package/form-checkbox-group/style.css +0 -1
  235. package/form-date-picker/index.mjs +0 -156
  236. package/form-holder/index.mjs +0 -134
  237. package/form-holder/style.css +0 -1
  238. package/form-input/index.mjs +0 -114
  239. package/form-input-cron-expression/index.mjs +0 -98
  240. package/form-input-cron-expression/style.css +0 -1
  241. package/form-input-email/index.mjs +0 -66
  242. package/form-input-id-card/index.mjs +0 -74
  243. package/form-input-phone-number/index.mjs +0 -73
  244. package/form-input-tag/index.mjs +0 -89
  245. package/form-input-time/index.mjs +0 -2
  246. package/form-item/index.mjs +0 -2
  247. package/form-item/style.css +0 -1
  248. package/form-item-config-provider/index.mjs +0 -47
  249. package/form-item-group/index.mjs +0 -2
  250. package/form-item-group/style.css +0 -1
  251. package/form-radio-group/index.mjs +0 -162
  252. package/form-radio-group/style.css +0 -1
  253. package/form-select/index.mjs +0 -2
  254. package/form-select/style.css +0 -1
  255. package/form-switch/index.mjs +0 -2
  256. package/form-table/index.mjs +0 -132
  257. package/form-table-plus/index.mjs +0 -165
  258. package/form-textarea/index.mjs +0 -91
  259. package/form-tree-select/index.mjs +0 -90
  260. package/form-tree-select/style.css +0 -1
  261. package/form-tree-select-multiple/index.mjs +0 -93
  262. package/form-view/index.mjs +0 -280
  263. package/form-view/style.css +0 -1
  264. package/fy-article/index.mjs +0 -73
  265. package/fy-article/style.css +0 -1
  266. package/fy-code/index.mjs +0 -48
  267. package/fy-draggable/index.mjs +0 -323
  268. package/fy-draggable/style.css +0 -1
  269. package/fy-form-design/index.mjs +0 -2
  270. package/fy-form-design/style.css +0 -1
  271. package/fy-input-icon/index.mjs +0 -134
  272. package/fy-input-icon/style.css +0 -1
  273. package/fy-progress/index.mjs +0 -36
  274. package/guide-steps/index.mjs +0 -73
  275. package/guide-steps/style.css +0 -1
  276. package/helper-function.d.ts +0 -5
  277. package/helper-function.mjs +0 -58
  278. package/highlight-j-s/index.mjs +0 -51
  279. package/highlight-j-s/style.css +0 -1
  280. package/icon-card/index.mjs +0 -34
  281. package/icon-card/style.css +0 -1
  282. package/iframe-window/index.mjs +0 -40
  283. package/iframe-window/style.css +0 -1
  284. package/image-cropper/index.mjs +0 -152
  285. package/image-cropper/style.css +0 -1
  286. package/image-preview/index.mjs +0 -2
  287. package/image-preview/style.css +0 -1
  288. package/image-viewer/index.mjs +0 -70
  289. package/image-viewer/style.css +0 -1
  290. package/input-number-range/index.mjs +0 -76
  291. package/input-number-range/style.css +0 -1
  292. package/j-s-x-component/index.mjs +0 -14
  293. package/keyboard/index.mjs +0 -2
  294. package/keyboard/style.css +0 -1
  295. package/license/index.mjs +0 -106
  296. package/loading-view/index.mjs +0 -39
  297. package/loading-view/style.css +0 -1
  298. package/name-avatar/index.mjs +0 -61
  299. package/name-avatar/style.css +0 -1
  300. package/nav-bar/index.mjs +0 -34
  301. package/nav-bar/style.css +0 -1
  302. package/not-implement/index.mjs +0 -10
  303. package/not-implement/style.css +0 -1
  304. package/notice/index.mjs +0 -97
  305. package/notice/style.css +0 -1
  306. package/page/index.mjs +0 -19
  307. package/page/style.css +0 -1
  308. package/page-header/index.mjs +0 -27
  309. package/page-header/style.css +0 -1
  310. package/page-index/index.mjs +0 -121
  311. package/page-index/style.css +0 -1
  312. package/page-index-top/index.mjs +0 -80
  313. package/page-skeleton/index.mjs +0 -49
  314. package/page-skeleton/style.css +0 -1
  315. package/page-skeleton-new/index.mjs +0 -79
  316. package/page-skeleton-new/style.css +0 -1
  317. package/pageable-table/index.mjs +0 -2
  318. package/pageable-table/style.css +0 -1
  319. package/pageable-view/index.mjs +0 -280
  320. package/pageable-view/style.css +0 -1
  321. package/photo-swipe/index.d.ts +0 -8
  322. package/photo-swipe/index.mjs +0 -33
  323. package/picker-table-view/index.mjs +0 -221
  324. package/present-view/index.mjs +0 -271
  325. package/present-view/style.css +0 -1
  326. package/queue/index.mjs +0 -46
  327. package/queue/style.css +0 -1
  328. package/record-video/index.mjs +0 -2
  329. package/record-video/style.css +0 -1
  330. package/resize-observer/index.mjs +0 -45
  331. package/resize-observer/style.css +0 -1
  332. package/search/index.mjs +0 -116
  333. package/search/style.css +0 -1
  334. package/sign/index.mjs +0 -104
  335. package/sign/style.css +0 -1
  336. package/sign-panel/index.mjs +0 -183
  337. package/sign-panel/style.css +0 -1
  338. package/skeleton/index.mjs +0 -51
  339. package/skeleton/style.css +0 -1
  340. package/skeleton-panel/index.mjs +0 -34
  341. package/skeleton-panel/style.css +0 -1
  342. package/split-pane/index.mjs +0 -3
  343. package/split-pane/style.css +0 -1
  344. package/stateful/index.mjs +0 -71
  345. package/stateful/style.css +0 -1
  346. package/static-pageable-table/index.mjs +0 -69
  347. package/static-pageable-table/style.css +0 -1
  348. package/sub-table/index.mjs +0 -505
  349. package/sub-table/style.css +0 -1
  350. package/sub-table-plus/index.mjs +0 -590
  351. package/sub-table-plus/style.css +0 -1
  352. package/swiper/index.mjs +0 -128
  353. package/swiper/style.css +0 -1
  354. package/tab/index.mjs +0 -117
  355. package/tab/style.css +0 -1
  356. package/tab-item/index.mjs +0 -49
  357. package/table-column/index.mjs +0 -2
  358. package/table-column/style.css +0 -1
  359. package/table-view/index.mjs +0 -3
  360. package/table-view/style.css +0 -1
  361. package/tabs-view/index.mjs +0 -109
  362. package/tabs-view/style.css +0 -1
  363. package/tag-render/index.mjs +0 -84
  364. package/tag-render/style.css +0 -1
  365. package/text-ellipsis/index.mjs +0 -95
  366. package/text-ellipsis/style.css +0 -1
  367. package/toolbar/index.mjs +0 -2
  368. package/toolbar/style.css +0 -1
  369. package/toolbar-button/index.mjs +0 -2
  370. package/verify/index.mjs +0 -58
  371. package/verify/style.css +0 -1
  372. package/video/index.d.ts +0 -10
  373. package/vue-cron/index.mjs +0 -2
  374. package/vue-cron/style.css +0 -1
  375. package/vue-qr-code/index.mjs +0 -32
  376. package/vue-quill-editor/index.mjs +0 -127
  377. package/vue-quill-editor/style.css +0 -1
  378. package/vue-tags-input/index.mjs +0 -348
  379. package/vue-tags-input/style.css +0 -1
  380. package/vue-tree-select/index.mjs +0 -2
  381. package/vue-tree-select/style.css +0 -1
  382. package/vue-video-player/index.mjs +0 -136
  383. package/vue-video-player/style.css +0 -1
  384. package/watermark/index.mjs +0 -47
  385. package/watermark/style.css +0 -1
  386. package/x-input-tag/index.mjs +0 -142
  387. package/x-input-tag/style.css +0 -1
  388. /package/chunks/{_plugin-vue_export-helper.7vrlOII_.mjs → _plugin-vue_export-helper.CTBRVsXt.mjs} +0 -0
  389. /package/chunks/{packages.CONbEH13.mjs → packages.W76nKiMk.mjs} +0 -0
  390. /package/chunks/{permission.8WDtOmzA.mjs → permission.ZYdXiCsn.mjs} +0 -0
@@ -1,1926 +0,0 @@
1
- import { a as e, c as t, l as n, s as r } from "./use-empty-values.CxYKjLV9.mjs";
2
- import { a as i, d as a, m as o, o as s, p as c, s as l, t as u } from "./install.BJl2MN77.mjs";
3
- import { A as d, F as f, I as p, M as m, O as h, R as g, S as _, T as v, b as y, f as b, g as x, h as S, j as C, l as w, x as T } from "./style.CraPDfJA.mjs";
4
- import { n as E, t as D } from "./teleport.87mkIv8m.mjs";
5
- import { t as O } from "./focus-trap.CuUc8N2C.mjs";
6
- import { n as k, t as A } from "./use-id.CyzdvfQn.mjs";
7
- import { t as j } from "./use-aria.B9uqqWAE.mjs";
8
- import { n as M } from "./form-item.fYYCXvCs.mjs";
9
- import { n as ee } from "./constants.Dw7hXt67.mjs";
10
- import { Comment as N, Fragment as te, Text as ne, Transition as re, cloneVNode as ie, computed as P, createBlock as F, createCommentVNode as ae, createElementBlock as oe, createVNode as I, defineComponent as L, getCurrentInstance as se, inject as R, mergeProps as ce, nextTick as le, normalizeClass as ue, normalizeStyle as de, onBeforeMount as fe, onBeforeUnmount as z, onDeactivated as pe, onMounted as B, openBlock as V, provide as me, readonly as he, ref as H, renderSlot as U, shallowRef as ge, toDisplayString as _e, toRef as ve, unref as W, vShow as ye, watch as G, withCtx as K, withDirectives as be } from "vue";
11
- import { fromPairs as xe, isNil as Se, isUndefined as Ce } from "lodash-unified";
12
- //#region node_modules/.pnpm/element-plus@2.13.6_typescr_b86181ecd25892dfea09546870d44c51/node_modules/element-plus/es/hooks/use-model-toggle/index.mjs
13
- var we = d({
14
- type: m(Boolean),
15
- default: null
16
- }), Te = d({ type: m(Function) }), Ee = (e) => {
17
- let t = `update:${e}`, n = `onUpdate:${e}`, r = [t];
18
- return {
19
- useModelToggle: ({ indicator: r, toggleReason: i, shouldHideWhenRouteChanges: a, shouldProceed: o, onShow: s, onHide: l }) => {
20
- let u = se(), { emit: d } = u, p = u.props, m = P(() => c(p[n])), h = P(() => p[e] === null), g = (e) => {
21
- r.value !== !0 && (r.value = !0, i && (i.value = e), c(s) && s(e));
22
- }, v = (e) => {
23
- r.value !== !1 && (r.value = !1, i && (i.value = e), c(l) && l(e));
24
- }, y = (e) => {
25
- if (p.disabled === !0 || c(o) && !o()) return;
26
- let n = m.value && _;
27
- n && d(t, !0), (h.value || !n) && g(e);
28
- }, b = (e) => {
29
- if (p.disabled === !0 || !_) return;
30
- let n = m.value && _;
31
- n && d(t, !1), (h.value || !n) && v(e);
32
- }, x = (e) => {
33
- f(e) && (p.disabled && e ? m.value && d(t, !1) : r.value !== e && (e ? g() : v()));
34
- };
35
- return G(() => p[e], x), a && u.appContext.config.globalProperties.$route !== void 0 && G(() => ({ ...u.proxy.$route }), () => {
36
- a.value && r.value && b();
37
- }), B(() => {
38
- x(p[e]);
39
- }), {
40
- hide: b,
41
- show: y,
42
- toggle: () => {
43
- r.value ? b() : y();
44
- },
45
- hasUpdateHandler: m
46
- };
47
- },
48
- useModelToggleProps: {
49
- [e]: we,
50
- [n]: Te
51
- },
52
- useModelToggleEmits: r
53
- };
54
- }, { useModelToggle: De, useModelToggleProps: Oe, useModelToggleEmits: ke } = Ee("modelValue"), q = "bottom", Ae = "right", J = "left", je = "auto", Me = [
55
- "top",
56
- q,
57
- Ae,
58
- J
59
- ], Ne = "start", Pe = "clippingParents", Fe = "viewport", Ie = "popper", Le = "reference", Re = Me.reduce(function(e, t) {
60
- return e.concat([t + "-" + Ne, t + "-end"]);
61
- }, []), ze = [].concat(Me, [je]).reduce(function(e, t) {
62
- return e.concat([
63
- t,
64
- t + "-" + Ne,
65
- t + "-end"
66
- ]);
67
- }, []), Be = [
68
- "beforeRead",
69
- "read",
70
- "afterRead",
71
- "beforeMain",
72
- "main",
73
- "afterMain",
74
- "beforeWrite",
75
- "write",
76
- "afterWrite"
77
- ];
78
- function Y(e) {
79
- return e ? (e.nodeName || "").toLowerCase() : null;
80
- }
81
- function X(e) {
82
- if (e == null) return window;
83
- if (e.toString() !== "[object Window]") {
84
- var t = e.ownerDocument;
85
- return t && t.defaultView || window;
86
- }
87
- return e;
88
- }
89
- function Ve(e) {
90
- return e instanceof X(e).Element || e instanceof Element;
91
- }
92
- function Z(e) {
93
- return e instanceof X(e).HTMLElement || e instanceof HTMLElement;
94
- }
95
- function He(e) {
96
- return typeof ShadowRoot > "u" ? !1 : e instanceof X(e).ShadowRoot || e instanceof ShadowRoot;
97
- }
98
- function Ue(e) {
99
- var t = e.state;
100
- Object.keys(t.elements).forEach(function(e) {
101
- var n = t.styles[e] || {}, r = t.attributes[e] || {}, i = t.elements[e];
102
- !Z(i) || !Y(i) || (Object.assign(i.style, n), Object.keys(r).forEach(function(e) {
103
- var t = r[e];
104
- t === !1 ? i.removeAttribute(e) : i.setAttribute(e, t === !0 ? "" : t);
105
- }));
106
- });
107
- }
108
- function We(e) {
109
- var t = e.state, n = {
110
- popper: {
111
- position: t.options.strategy,
112
- left: "0",
113
- top: "0",
114
- margin: "0"
115
- },
116
- arrow: { position: "absolute" },
117
- reference: {}
118
- };
119
- return Object.assign(t.elements.popper.style, n.popper), t.styles = n, t.elements.arrow && Object.assign(t.elements.arrow.style, n.arrow), function() {
120
- Object.keys(t.elements).forEach(function(e) {
121
- var r = t.elements[e], i = t.attributes[e] || {}, a = Object.keys(t.styles.hasOwnProperty(e) ? t.styles[e] : n[e]).reduce(function(e, t) {
122
- return e[t] = "", e;
123
- }, {});
124
- !Z(r) || !Y(r) || (Object.assign(r.style, a), Object.keys(i).forEach(function(e) {
125
- r.removeAttribute(e);
126
- }));
127
- });
128
- };
129
- }
130
- var Ge = {
131
- name: "applyStyles",
132
- enabled: !0,
133
- phase: "write",
134
- fn: Ue,
135
- effect: We,
136
- requires: ["computeStyles"]
137
- };
138
- function Q(e) {
139
- return e.split("-")[0];
140
- }
141
- var Ke = Math.max, qe = Math.min, Je = Math.round;
142
- function Ye() {
143
- var e = navigator.userAgentData;
144
- return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(e) {
145
- return e.brand + "/" + e.version;
146
- }).join(" ") : navigator.userAgent;
147
- }
148
- function Xe() {
149
- return !/^((?!chrome|android).)*safari/i.test(Ye());
150
- }
151
- function Ze(e, t, n) {
152
- t === void 0 && (t = !1), n === void 0 && (n = !1);
153
- var r = e.getBoundingClientRect(), i = 1, a = 1;
154
- t && Z(e) && (i = e.offsetWidth > 0 && Je(r.width) / e.offsetWidth || 1, a = e.offsetHeight > 0 && Je(r.height) / e.offsetHeight || 1);
155
- var o = (Ve(e) ? X(e) : window).visualViewport, s = !Xe() && n, c = (r.left + (s && o ? o.offsetLeft : 0)) / i, l = (r.top + (s && o ? o.offsetTop : 0)) / a, u = r.width / i, d = r.height / a;
156
- return {
157
- width: u,
158
- height: d,
159
- top: l,
160
- right: c + u,
161
- bottom: l + d,
162
- left: c,
163
- x: c,
164
- y: l
165
- };
166
- }
167
- function Qe(e) {
168
- var t = Ze(e), n = e.offsetWidth, r = e.offsetHeight;
169
- return Math.abs(t.width - n) <= 1 && (n = t.width), Math.abs(t.height - r) <= 1 && (r = t.height), {
170
- x: e.offsetLeft,
171
- y: e.offsetTop,
172
- width: n,
173
- height: r
174
- };
175
- }
176
- function $e(e, t) {
177
- var n = t.getRootNode && t.getRootNode();
178
- if (e.contains(t)) return !0;
179
- if (n && He(n)) {
180
- var r = t;
181
- do {
182
- if (r && e.isSameNode(r)) return !0;
183
- r = r.parentNode || r.host;
184
- } while (r);
185
- }
186
- return !1;
187
- }
188
- function $(e) {
189
- return X(e).getComputedStyle(e);
190
- }
191
- function et(e) {
192
- return [
193
- "table",
194
- "td",
195
- "th"
196
- ].indexOf(Y(e)) >= 0;
197
- }
198
- function tt(e) {
199
- return ((Ve(e) ? e.ownerDocument : e.document) || window.document).documentElement;
200
- }
201
- function nt(e) {
202
- return Y(e) === "html" ? e : e.assignedSlot || e.parentNode || (He(e) ? e.host : null) || tt(e);
203
- }
204
- function rt(e) {
205
- return !Z(e) || $(e).position === "fixed" ? null : e.offsetParent;
206
- }
207
- function it(e) {
208
- var t = /firefox/i.test(Ye());
209
- if (/Trident/i.test(Ye()) && Z(e) && $(e).position === "fixed") return null;
210
- var n = nt(e);
211
- for (He(n) && (n = n.host); Z(n) && ["html", "body"].indexOf(Y(n)) < 0;) {
212
- var r = $(n);
213
- if (r.transform !== "none" || r.perspective !== "none" || r.contain === "paint" || ["transform", "perspective"].indexOf(r.willChange) !== -1 || t && r.willChange === "filter" || t && r.filter && r.filter !== "none") return n;
214
- n = n.parentNode;
215
- }
216
- return null;
217
- }
218
- function at(e) {
219
- for (var t = X(e), n = rt(e); n && et(n) && $(n).position === "static";) n = rt(n);
220
- return n && (Y(n) === "html" || Y(n) === "body" && $(n).position === "static") ? t : n || it(e) || t;
221
- }
222
- function ot(e) {
223
- return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
224
- }
225
- function st(e, t, n) {
226
- return Ke(e, qe(t, n));
227
- }
228
- function ct(e, t, n) {
229
- var r = st(e, t, n);
230
- return r > n ? n : r;
231
- }
232
- function lt() {
233
- return {
234
- top: 0,
235
- right: 0,
236
- bottom: 0,
237
- left: 0
238
- };
239
- }
240
- function ut(e) {
241
- return Object.assign({}, lt(), e);
242
- }
243
- function dt(e, t) {
244
- return t.reduce(function(t, n) {
245
- return t[n] = e, t;
246
- }, {});
247
- }
248
- var ft = function(e, t) {
249
- return e = typeof e == "function" ? e(Object.assign({}, t.rects, { placement: t.placement })) : e, ut(typeof e == "number" ? dt(e, Me) : e);
250
- };
251
- function pt(e) {
252
- var t, n = e.state, r = e.name, i = e.options, a = n.elements.arrow, o = n.modifiersData.popperOffsets, s = Q(n.placement), c = ot(s), l = ["left", "right"].indexOf(s) >= 0 ? "height" : "width";
253
- if (!(!a || !o)) {
254
- var u = ft(i.padding, n), d = Qe(a), f = c === "y" ? "top" : J, p = c === "y" ? q : Ae, m = n.rects.reference[l] + n.rects.reference[c] - o[c] - n.rects.popper[l], h = o[c] - n.rects.reference[c], g = at(a), _ = g ? c === "y" ? g.clientHeight || 0 : g.clientWidth || 0 : 0, v = m / 2 - h / 2, y = u[f], b = _ - d[l] - u[p], x = _ / 2 - d[l] / 2 + v, S = st(y, x, b), C = c;
255
- n.modifiersData[r] = (t = {}, t[C] = S, t.centerOffset = S - x, t);
256
- }
257
- }
258
- function mt(e) {
259
- var t = e.state, n = e.options.element, r = n === void 0 ? "[data-popper-arrow]" : n;
260
- r != null && (typeof r == "string" && (r = t.elements.popper.querySelector(r), !r) || $e(t.elements.popper, r) && (t.elements.arrow = r));
261
- }
262
- var ht = {
263
- name: "arrow",
264
- enabled: !0,
265
- phase: "main",
266
- fn: pt,
267
- effect: mt,
268
- requires: ["popperOffsets"],
269
- requiresIfExists: ["preventOverflow"]
270
- };
271
- function gt(e) {
272
- return e.split("-")[1];
273
- }
274
- var _t = {
275
- top: "auto",
276
- right: "auto",
277
- bottom: "auto",
278
- left: "auto"
279
- };
280
- function vt(e, t) {
281
- var n = e.x, r = e.y, i = t.devicePixelRatio || 1;
282
- return {
283
- x: Je(n * i) / i || 0,
284
- y: Je(r * i) / i || 0
285
- };
286
- }
287
- function yt(e) {
288
- var t, n = e.popper, r = e.popperRect, i = e.placement, a = e.variation, o = e.offsets, s = e.position, c = e.gpuAcceleration, l = e.adaptive, u = e.roundOffsets, d = e.isFixed, f = o.x, p = f === void 0 ? 0 : f, m = o.y, h = m === void 0 ? 0 : m, g = typeof u == "function" ? u({
289
- x: p,
290
- y: h
291
- }) : {
292
- x: p,
293
- y: h
294
- };
295
- p = g.x, h = g.y;
296
- var _ = o.hasOwnProperty("x"), v = o.hasOwnProperty("y"), y = J, b = "top", x = window;
297
- if (l) {
298
- var S = at(n), C = "clientHeight", w = "clientWidth";
299
- if (S === X(n) && (S = tt(n), $(S).position !== "static" && s === "absolute" && (C = "scrollHeight", w = "scrollWidth")), S = S, i === "top" || (i === "left" || i === "right") && a === "end") {
300
- b = q;
301
- var T = d && S === x && x.visualViewport ? x.visualViewport.height : S[C];
302
- h -= T - r.height, h *= c ? 1 : -1;
303
- }
304
- if (i === "left" || (i === "top" || i === "bottom") && a === "end") {
305
- y = Ae;
306
- var E = d && S === x && x.visualViewport ? x.visualViewport.width : S[w];
307
- p -= E - r.width, p *= c ? 1 : -1;
308
- }
309
- }
310
- var D = Object.assign({ position: s }, l && _t), O = u === !0 ? vt({
311
- x: p,
312
- y: h
313
- }, X(n)) : {
314
- x: p,
315
- y: h
316
- };
317
- if (p = O.x, h = O.y, c) {
318
- var k;
319
- return Object.assign({}, D, (k = {}, k[b] = v ? "0" : "", k[y] = _ ? "0" : "", k.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + p + "px, " + h + "px)" : "translate3d(" + p + "px, " + h + "px, 0)", k));
320
- }
321
- return Object.assign({}, D, (t = {}, t[b] = v ? h + "px" : "", t[y] = _ ? p + "px" : "", t.transform = "", t));
322
- }
323
- function bt(e) {
324
- var t = e.state, n = e.options, r = n.gpuAcceleration, i = r === void 0 ? !0 : r, a = n.adaptive, o = a === void 0 ? !0 : a, s = n.roundOffsets, c = s === void 0 ? !0 : s, l = {
325
- placement: Q(t.placement),
326
- variation: gt(t.placement),
327
- popper: t.elements.popper,
328
- popperRect: t.rects.popper,
329
- gpuAcceleration: i,
330
- isFixed: t.options.strategy === "fixed"
331
- };
332
- t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, yt(Object.assign({}, l, {
333
- offsets: t.modifiersData.popperOffsets,
334
- position: t.options.strategy,
335
- adaptive: o,
336
- roundOffsets: c
337
- })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, yt(Object.assign({}, l, {
338
- offsets: t.modifiersData.arrow,
339
- position: "absolute",
340
- adaptive: !1,
341
- roundOffsets: c
342
- })))), t.attributes.popper = Object.assign({}, t.attributes.popper, { "data-popper-placement": t.placement });
343
- }
344
- var xt = {
345
- name: "computeStyles",
346
- enabled: !0,
347
- phase: "beforeWrite",
348
- fn: bt,
349
- data: {}
350
- }, St = { passive: !0 };
351
- function Ct(e) {
352
- var t = e.state, n = e.instance, r = e.options, i = r.scroll, a = i === void 0 ? !0 : i, o = r.resize, s = o === void 0 ? !0 : o, c = X(t.elements.popper), l = [].concat(t.scrollParents.reference, t.scrollParents.popper);
353
- return a && l.forEach(function(e) {
354
- e.addEventListener("scroll", n.update, St);
355
- }), s && c.addEventListener("resize", n.update, St), function() {
356
- a && l.forEach(function(e) {
357
- e.removeEventListener("scroll", n.update, St);
358
- }), s && c.removeEventListener("resize", n.update, St);
359
- };
360
- }
361
- var wt = {
362
- name: "eventListeners",
363
- enabled: !0,
364
- phase: "write",
365
- fn: function() {},
366
- effect: Ct,
367
- data: {}
368
- }, Tt = {
369
- left: "right",
370
- right: "left",
371
- bottom: "top",
372
- top: "bottom"
373
- };
374
- function Et(e) {
375
- return e.replace(/left|right|bottom|top/g, function(e) {
376
- return Tt[e];
377
- });
378
- }
379
- var Dt = {
380
- start: "end",
381
- end: "start"
382
- };
383
- function Ot(e) {
384
- return e.replace(/start|end/g, function(e) {
385
- return Dt[e];
386
- });
387
- }
388
- function kt(e) {
389
- var t = X(e);
390
- return {
391
- scrollLeft: t.pageXOffset,
392
- scrollTop: t.pageYOffset
393
- };
394
- }
395
- function At(e) {
396
- return Ze(tt(e)).left + kt(e).scrollLeft;
397
- }
398
- function jt(e, t) {
399
- var n = X(e), r = tt(e), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, c = 0;
400
- if (i) {
401
- a = i.width, o = i.height;
402
- var l = Xe();
403
- (l || !l && t === "fixed") && (s = i.offsetLeft, c = i.offsetTop);
404
- }
405
- return {
406
- width: a,
407
- height: o,
408
- x: s + At(e),
409
- y: c
410
- };
411
- }
412
- function Mt(e) {
413
- var t, n = tt(e), r = kt(e), i = (t = e.ownerDocument) == null ? void 0 : t.body, a = Ke(n.scrollWidth, n.clientWidth, i ? i.scrollWidth : 0, i ? i.clientWidth : 0), o = Ke(n.scrollHeight, n.clientHeight, i ? i.scrollHeight : 0, i ? i.clientHeight : 0), s = -r.scrollLeft + At(e), c = -r.scrollTop;
414
- return $(i || n).direction === "rtl" && (s += Ke(n.clientWidth, i ? i.clientWidth : 0) - a), {
415
- width: a,
416
- height: o,
417
- x: s,
418
- y: c
419
- };
420
- }
421
- function Nt(e) {
422
- var t = $(e), n = t.overflow, r = t.overflowX, i = t.overflowY;
423
- return /auto|scroll|overlay|hidden/.test(n + i + r);
424
- }
425
- function Pt(e) {
426
- return [
427
- "html",
428
- "body",
429
- "#document"
430
- ].indexOf(Y(e)) >= 0 ? e.ownerDocument.body : Z(e) && Nt(e) ? e : Pt(nt(e));
431
- }
432
- function Ft(e, t) {
433
- var n;
434
- t === void 0 && (t = []);
435
- var r = Pt(e), i = r === ((n = e.ownerDocument) == null ? void 0 : n.body), a = X(r), o = i ? [a].concat(a.visualViewport || [], Nt(r) ? r : []) : r, s = t.concat(o);
436
- return i ? s : s.concat(Ft(nt(o)));
437
- }
438
- function It(e) {
439
- return Object.assign({}, e, {
440
- left: e.x,
441
- top: e.y,
442
- right: e.x + e.width,
443
- bottom: e.y + e.height
444
- });
445
- }
446
- function Lt(e, t) {
447
- var n = Ze(e, !1, t === "fixed");
448
- return n.top += e.clientTop, n.left += e.clientLeft, n.bottom = n.top + e.clientHeight, n.right = n.left + e.clientWidth, n.width = e.clientWidth, n.height = e.clientHeight, n.x = n.left, n.y = n.top, n;
449
- }
450
- function Rt(e, t, n) {
451
- return t === "viewport" ? It(jt(e, n)) : Ve(t) ? Lt(t, n) : It(Mt(tt(e)));
452
- }
453
- function zt(e) {
454
- var t = Ft(nt(e)), n = ["absolute", "fixed"].indexOf($(e).position) >= 0 && Z(e) ? at(e) : e;
455
- return Ve(n) ? t.filter(function(e) {
456
- return Ve(e) && $e(e, n) && Y(e) !== "body";
457
- }) : [];
458
- }
459
- function Bt(e, t, n, r) {
460
- var i = t === "clippingParents" ? zt(e) : [].concat(t), a = [].concat(i, [n]), o = a[0], s = a.reduce(function(t, n) {
461
- var i = Rt(e, n, r);
462
- return t.top = Ke(i.top, t.top), t.right = qe(i.right, t.right), t.bottom = qe(i.bottom, t.bottom), t.left = Ke(i.left, t.left), t;
463
- }, Rt(e, o, r));
464
- return s.width = s.right - s.left, s.height = s.bottom - s.top, s.x = s.left, s.y = s.top, s;
465
- }
466
- function Vt(e) {
467
- var t = e.reference, n = e.element, r = e.placement, i = r ? Q(r) : null, a = r ? gt(r) : null, o = t.x + t.width / 2 - n.width / 2, s = t.y + t.height / 2 - n.height / 2, c;
468
- switch (i) {
469
- case "top":
470
- c = {
471
- x: o,
472
- y: t.y - n.height
473
- };
474
- break;
475
- case q:
476
- c = {
477
- x: o,
478
- y: t.y + t.height
479
- };
480
- break;
481
- case Ae:
482
- c = {
483
- x: t.x + t.width,
484
- y: s
485
- };
486
- break;
487
- case J:
488
- c = {
489
- x: t.x - n.width,
490
- y: s
491
- };
492
- break;
493
- default: c = {
494
- x: t.x,
495
- y: t.y
496
- };
497
- }
498
- var l = i ? ot(i) : null;
499
- if (l != null) {
500
- var u = l === "y" ? "height" : "width";
501
- switch (a) {
502
- case Ne:
503
- c[l] = c[l] - (t[u] / 2 - n[u] / 2);
504
- break;
505
- case "end":
506
- c[l] = c[l] + (t[u] / 2 - n[u] / 2);
507
- break;
508
- }
509
- }
510
- return c;
511
- }
512
- function Ht(e, t) {
513
- t === void 0 && (t = {});
514
- var n = t, r = n.placement, i = r === void 0 ? e.placement : r, a = n.strategy, o = a === void 0 ? e.strategy : a, s = n.boundary, c = s === void 0 ? Pe : s, l = n.rootBoundary, u = l === void 0 ? Fe : l, d = n.elementContext, f = d === void 0 ? Ie : d, p = n.altBoundary, m = p === void 0 ? !1 : p, h = n.padding, g = h === void 0 ? 0 : h, _ = ut(typeof g == "number" ? dt(g, Me) : g), v = f === "popper" ? Le : Ie, y = e.rects.popper, b = e.elements[m ? v : f], x = Bt(Ve(b) ? b : b.contextElement || tt(e.elements.popper), c, u, o), S = Ze(e.elements.reference), C = Vt({
515
- reference: S,
516
- element: y,
517
- placement: i
518
- }), w = It(Object.assign({}, y, C)), T = f === "popper" ? w : S, E = {
519
- top: x.top - T.top + _.top,
520
- bottom: T.bottom - x.bottom + _.bottom,
521
- left: x.left - T.left + _.left,
522
- right: T.right - x.right + _.right
523
- }, D = e.modifiersData.offset;
524
- if (f === "popper" && D) {
525
- var O = D[i];
526
- Object.keys(E).forEach(function(e) {
527
- var t = ["right", "bottom"].indexOf(e) >= 0 ? 1 : -1, n = ["top", "bottom"].indexOf(e) >= 0 ? "y" : "x";
528
- E[e] += O[n] * t;
529
- });
530
- }
531
- return E;
532
- }
533
- function Ut(e, t) {
534
- t === void 0 && (t = {});
535
- var n = t, r = n.placement, i = n.boundary, a = n.rootBoundary, o = n.padding, s = n.flipVariations, c = n.allowedAutoPlacements, l = c === void 0 ? ze : c, u = gt(r), d = u ? s ? Re : Re.filter(function(e) {
536
- return gt(e) === u;
537
- }) : Me, f = d.filter(function(e) {
538
- return l.indexOf(e) >= 0;
539
- });
540
- f.length === 0 && (f = d);
541
- var p = f.reduce(function(t, n) {
542
- return t[n] = Ht(e, {
543
- placement: n,
544
- boundary: i,
545
- rootBoundary: a,
546
- padding: o
547
- })[Q(n)], t;
548
- }, {});
549
- return Object.keys(p).sort(function(e, t) {
550
- return p[e] - p[t];
551
- });
552
- }
553
- function Wt(e) {
554
- if (Q(e) === "auto") return [];
555
- var t = Et(e);
556
- return [
557
- Ot(e),
558
- t,
559
- Ot(t)
560
- ];
561
- }
562
- function Gt(e) {
563
- var t = e.state, n = e.options, r = e.name;
564
- if (!t.modifiersData[r]._skip) {
565
- for (var i = n.mainAxis, a = i === void 0 ? !0 : i, o = n.altAxis, s = o === void 0 ? !0 : o, c = n.fallbackPlacements, l = n.padding, u = n.boundary, d = n.rootBoundary, f = n.altBoundary, p = n.flipVariations, m = p === void 0 ? !0 : p, h = n.allowedAutoPlacements, g = t.options.placement, _ = Q(g) === g, v = c || (_ || !m ? [Et(g)] : Wt(g)), y = [g].concat(v).reduce(function(e, n) {
566
- return e.concat(Q(n) === "auto" ? Ut(t, {
567
- placement: n,
568
- boundary: u,
569
- rootBoundary: d,
570
- padding: l,
571
- flipVariations: m,
572
- allowedAutoPlacements: h
573
- }) : n);
574
- }, []), b = t.rects.reference, x = t.rects.popper, S = /* @__PURE__ */ new Map(), C = !0, w = y[0], T = 0; T < y.length; T++) {
575
- var E = y[T], D = Q(E), O = gt(E) === Ne, k = ["top", q].indexOf(D) >= 0, A = k ? "width" : "height", j = Ht(t, {
576
- placement: E,
577
- boundary: u,
578
- rootBoundary: d,
579
- altBoundary: f,
580
- padding: l
581
- }), M = k ? O ? Ae : J : O ? q : "top";
582
- b[A] > x[A] && (M = Et(M));
583
- var ee = Et(M), N = [];
584
- if (a && N.push(j[D] <= 0), s && N.push(j[M] <= 0, j[ee] <= 0), N.every(function(e) {
585
- return e;
586
- })) {
587
- w = E, C = !1;
588
- break;
589
- }
590
- S.set(E, N);
591
- }
592
- if (C) for (var te = m ? 3 : 1, ne = function(e) {
593
- var t = y.find(function(t) {
594
- var n = S.get(t);
595
- if (n) return n.slice(0, e).every(function(e) {
596
- return e;
597
- });
598
- });
599
- if (t) return w = t, "break";
600
- }, re = te; re > 0 && ne(re) !== "break"; re--);
601
- t.placement !== w && (t.modifiersData[r]._skip = !0, t.placement = w, t.reset = !0);
602
- }
603
- }
604
- var Kt = {
605
- name: "flip",
606
- enabled: !0,
607
- phase: "main",
608
- fn: Gt,
609
- requiresIfExists: ["offset"],
610
- data: { _skip: !1 }
611
- };
612
- function qt(e, t, n) {
613
- return n === void 0 && (n = {
614
- x: 0,
615
- y: 0
616
- }), {
617
- top: e.top - t.height - n.y,
618
- right: e.right - t.width + n.x,
619
- bottom: e.bottom - t.height + n.y,
620
- left: e.left - t.width - n.x
621
- };
622
- }
623
- function Jt(e) {
624
- return [
625
- "top",
626
- Ae,
627
- q,
628
- J
629
- ].some(function(t) {
630
- return e[t] >= 0;
631
- });
632
- }
633
- function Yt(e) {
634
- var t = e.state, n = e.name, r = t.rects.reference, i = t.rects.popper, a = t.modifiersData.preventOverflow, o = Ht(t, { elementContext: "reference" }), s = Ht(t, { altBoundary: !0 }), c = qt(o, r), l = qt(s, i, a), u = Jt(c), d = Jt(l);
635
- t.modifiersData[n] = {
636
- referenceClippingOffsets: c,
637
- popperEscapeOffsets: l,
638
- isReferenceHidden: u,
639
- hasPopperEscaped: d
640
- }, t.attributes.popper = Object.assign({}, t.attributes.popper, {
641
- "data-popper-reference-hidden": u,
642
- "data-popper-escaped": d
643
- });
644
- }
645
- var Xt = {
646
- name: "hide",
647
- enabled: !0,
648
- phase: "main",
649
- requiresIfExists: ["preventOverflow"],
650
- fn: Yt
651
- };
652
- function Zt(e, t, n) {
653
- var r = Q(e), i = ["left", "top"].indexOf(r) >= 0 ? -1 : 1, a = typeof n == "function" ? n(Object.assign({}, t, { placement: e })) : n, o = a[0], s = a[1];
654
- return o = o || 0, s = (s || 0) * i, ["left", "right"].indexOf(r) >= 0 ? {
655
- x: s,
656
- y: o
657
- } : {
658
- x: o,
659
- y: s
660
- };
661
- }
662
- function Qt(e) {
663
- var t = e.state, n = e.options, r = e.name, i = n.offset, a = i === void 0 ? [0, 0] : i, o = ze.reduce(function(e, n) {
664
- return e[n] = Zt(n, t.rects, a), e;
665
- }, {}), s = o[t.placement], c = s.x, l = s.y;
666
- t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += c, t.modifiersData.popperOffsets.y += l), t.modifiersData[r] = o;
667
- }
668
- var $t = {
669
- name: "offset",
670
- enabled: !0,
671
- phase: "main",
672
- requires: ["popperOffsets"],
673
- fn: Qt
674
- };
675
- function en(e) {
676
- var t = e.state, n = e.name;
677
- t.modifiersData[n] = Vt({
678
- reference: t.rects.reference,
679
- element: t.rects.popper,
680
- placement: t.placement
681
- });
682
- }
683
- var tn = {
684
- name: "popperOffsets",
685
- enabled: !0,
686
- phase: "read",
687
- fn: en,
688
- data: {}
689
- };
690
- function nn(e) {
691
- return e === "x" ? "y" : "x";
692
- }
693
- function rn(e) {
694
- var t = e.state, n = e.options, r = e.name, i = n.mainAxis, a = i === void 0 ? !0 : i, o = n.altAxis, s = o === void 0 ? !1 : o, c = n.boundary, l = n.rootBoundary, u = n.altBoundary, d = n.padding, f = n.tether, p = f === void 0 ? !0 : f, m = n.tetherOffset, h = m === void 0 ? 0 : m, g = Ht(t, {
695
- boundary: c,
696
- rootBoundary: l,
697
- padding: d,
698
- altBoundary: u
699
- }), _ = Q(t.placement), v = gt(t.placement), y = !v, b = ot(_), x = nn(b), S = t.modifiersData.popperOffsets, C = t.rects.reference, w = t.rects.popper, T = typeof h == "function" ? h(Object.assign({}, t.rects, { placement: t.placement })) : h, E = typeof T == "number" ? {
700
- mainAxis: T,
701
- altAxis: T
702
- } : Object.assign({
703
- mainAxis: 0,
704
- altAxis: 0
705
- }, T), D = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, O = {
706
- x: 0,
707
- y: 0
708
- };
709
- if (S) {
710
- if (a) {
711
- var k = b === "y" ? "top" : J, A = b === "y" ? q : Ae, j = b === "y" ? "height" : "width", M = S[b], ee = M + g[k], N = M - g[A], te = p ? -w[j] / 2 : 0, ne = v === "start" ? C[j] : w[j], re = v === "start" ? -w[j] : -C[j], ie = t.elements.arrow, P = p && ie ? Qe(ie) : {
712
- width: 0,
713
- height: 0
714
- }, F = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : lt(), ae = F[k], oe = F[A], I = st(0, C[j], P[j]), L = y ? C[j] / 2 - te - I - ae - E.mainAxis : ne - I - ae - E.mainAxis, se = y ? -C[j] / 2 + te + I + oe + E.mainAxis : re + I + oe + E.mainAxis, R = t.elements.arrow && at(t.elements.arrow), ce = R ? b === "y" ? R.clientTop || 0 : R.clientLeft || 0 : 0, le = (D == null ? void 0 : D[b]) ?? 0, ue = M + L - le - ce, de = M + se - le, fe = st(p ? qe(ee, ue) : ee, M, p ? Ke(N, de) : N);
715
- S[b] = fe, O[b] = fe - M;
716
- }
717
- if (s) {
718
- var z = b === "x" ? "top" : J, pe = b === "x" ? q : Ae, B = S[x], V = x === "y" ? "height" : "width", me = B + g[z], he = B - g[pe], H = ["top", J].indexOf(_) !== -1, U = (D == null ? void 0 : D[x]) ?? 0, ge = H ? me : B - C[V] - w[V] - U + E.altAxis, _e = H ? B + C[V] + w[V] - U - E.altAxis : he, ve = p && H ? ct(ge, B, _e) : st(p ? ge : me, B, p ? _e : he);
719
- S[x] = ve, O[x] = ve - B;
720
- }
721
- t.modifiersData[r] = O;
722
- }
723
- }
724
- var an = {
725
- name: "preventOverflow",
726
- enabled: !0,
727
- phase: "main",
728
- fn: rn,
729
- requiresIfExists: ["offset"]
730
- };
731
- function on(e) {
732
- return {
733
- scrollLeft: e.scrollLeft,
734
- scrollTop: e.scrollTop
735
- };
736
- }
737
- function sn(e) {
738
- return e === X(e) || !Z(e) ? kt(e) : on(e);
739
- }
740
- function cn(e) {
741
- var t = e.getBoundingClientRect(), n = Je(t.width) / e.offsetWidth || 1, r = Je(t.height) / e.offsetHeight || 1;
742
- return n !== 1 || r !== 1;
743
- }
744
- function ln(e, t, n) {
745
- n === void 0 && (n = !1);
746
- var r = Z(t), i = Z(t) && cn(t), a = tt(t), o = Ze(e, i, n), s = {
747
- scrollLeft: 0,
748
- scrollTop: 0
749
- }, c = {
750
- x: 0,
751
- y: 0
752
- };
753
- return (r || !r && !n) && ((Y(t) !== "body" || Nt(a)) && (s = sn(t)), Z(t) ? (c = Ze(t, !0), c.x += t.clientLeft, c.y += t.clientTop) : a && (c.x = At(a))), {
754
- x: o.left + s.scrollLeft - c.x,
755
- y: o.top + s.scrollTop - c.y,
756
- width: o.width,
757
- height: o.height
758
- };
759
- }
760
- function un(e) {
761
- var t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), r = [];
762
- e.forEach(function(e) {
763
- t.set(e.name, e);
764
- });
765
- function i(e) {
766
- n.add(e.name), [].concat(e.requires || [], e.requiresIfExists || []).forEach(function(e) {
767
- if (!n.has(e)) {
768
- var r = t.get(e);
769
- r && i(r);
770
- }
771
- }), r.push(e);
772
- }
773
- return e.forEach(function(e) {
774
- n.has(e.name) || i(e);
775
- }), r;
776
- }
777
- function dn(e) {
778
- var t = un(e);
779
- return Be.reduce(function(e, n) {
780
- return e.concat(t.filter(function(e) {
781
- return e.phase === n;
782
- }));
783
- }, []);
784
- }
785
- function fn(e) {
786
- var t;
787
- return function() {
788
- return t || (t = new Promise(function(n) {
789
- Promise.resolve().then(function() {
790
- t = void 0, n(e());
791
- });
792
- })), t;
793
- };
794
- }
795
- function pn(e) {
796
- var t = e.reduce(function(e, t) {
797
- var n = e[t.name];
798
- return e[t.name] = n ? Object.assign({}, n, t, {
799
- options: Object.assign({}, n.options, t.options),
800
- data: Object.assign({}, n.data, t.data)
801
- }) : t, e;
802
- }, {});
803
- return Object.keys(t).map(function(e) {
804
- return t[e];
805
- });
806
- }
807
- var mn = {
808
- placement: "bottom",
809
- modifiers: [],
810
- strategy: "absolute"
811
- };
812
- function hn() {
813
- return ![...arguments].some(function(e) {
814
- return !(e && typeof e.getBoundingClientRect == "function");
815
- });
816
- }
817
- function gn(e) {
818
- e === void 0 && (e = {});
819
- var t = e, n = t.defaultModifiers, r = n === void 0 ? [] : n, i = t.defaultOptions, a = i === void 0 ? mn : i;
820
- return function(e, t, n) {
821
- n === void 0 && (n = a);
822
- var i = {
823
- placement: "bottom",
824
- orderedModifiers: [],
825
- options: Object.assign({}, mn, a),
826
- modifiersData: {},
827
- elements: {
828
- reference: e,
829
- popper: t
830
- },
831
- attributes: {},
832
- styles: {}
833
- }, o = [], s = !1, c = {
834
- state: i,
835
- setOptions: function(n) {
836
- var o = typeof n == "function" ? n(i.options) : n;
837
- u(), i.options = Object.assign({}, a, i.options, o), i.scrollParents = {
838
- reference: Ve(e) ? Ft(e) : e.contextElement ? Ft(e.contextElement) : [],
839
- popper: Ft(t)
840
- };
841
- var s = dn(pn([].concat(r, i.options.modifiers)));
842
- return i.orderedModifiers = s.filter(function(e) {
843
- return e.enabled;
844
- }), l(), c.update();
845
- },
846
- forceUpdate: function() {
847
- if (!s) {
848
- var e = i.elements, t = e.reference, n = e.popper;
849
- if (hn(t, n)) {
850
- i.rects = {
851
- reference: ln(t, at(n), i.options.strategy === "fixed"),
852
- popper: Qe(n)
853
- }, i.reset = !1, i.placement = i.options.placement, i.orderedModifiers.forEach(function(e) {
854
- return i.modifiersData[e.name] = Object.assign({}, e.data);
855
- });
856
- for (var r = 0; r < i.orderedModifiers.length; r++) {
857
- if (i.reset === !0) {
858
- i.reset = !1, r = -1;
859
- continue;
860
- }
861
- var a = i.orderedModifiers[r], o = a.fn, l = a.options, u = l === void 0 ? {} : l, d = a.name;
862
- typeof o == "function" && (i = o({
863
- state: i,
864
- options: u,
865
- name: d,
866
- instance: c
867
- }) || i);
868
- }
869
- }
870
- }
871
- },
872
- update: fn(function() {
873
- return new Promise(function(e) {
874
- c.forceUpdate(), e(i);
875
- });
876
- }),
877
- destroy: function() {
878
- u(), s = !0;
879
- }
880
- };
881
- if (!hn(e, t)) return c;
882
- c.setOptions(n).then(function(e) {
883
- !s && n.onFirstUpdate && n.onFirstUpdate(e);
884
- });
885
- function l() {
886
- i.orderedModifiers.forEach(function(e) {
887
- var t = e.name, n = e.options, r = n === void 0 ? {} : n, a = e.effect;
888
- if (typeof a == "function") {
889
- var s = a({
890
- state: i,
891
- name: t,
892
- instance: c,
893
- options: r
894
- });
895
- o.push(s || function() {});
896
- }
897
- });
898
- }
899
- function u() {
900
- o.forEach(function(e) {
901
- return e();
902
- }), o = [];
903
- }
904
- return c;
905
- };
906
- }
907
- gn(), gn({ defaultModifiers: [
908
- wt,
909
- tn,
910
- xt,
911
- Ge
912
- ] });
913
- var _n = gn({ defaultModifiers: [
914
- wt,
915
- tn,
916
- xt,
917
- Ge,
918
- $t,
919
- Kt,
920
- an,
921
- ht,
922
- Xt
923
- ] }), vn = (e, t, n = {}) => {
924
- let r = {
925
- name: "updateState",
926
- enabled: !0,
927
- phase: "write",
928
- fn: ({ state: e }) => {
929
- let t = yn(e);
930
- Object.assign(o.value, t);
931
- },
932
- requires: ["computeStyles"]
933
- }, i = P(() => {
934
- let { onFirstUpdate: e, placement: t, strategy: i, modifiers: a } = W(n);
935
- return {
936
- onFirstUpdate: e,
937
- placement: t || "bottom",
938
- strategy: i || "absolute",
939
- modifiers: [
940
- ...a || [],
941
- r,
942
- {
943
- name: "applyStyles",
944
- enabled: !1
945
- }
946
- ]
947
- };
948
- }), a = ge(), o = H({
949
- styles: {
950
- popper: {
951
- position: W(i).strategy,
952
- left: "0",
953
- top: "0"
954
- },
955
- arrow: { position: "absolute" }
956
- },
957
- attributes: {}
958
- }), s = () => {
959
- a.value && (a.value.destroy(), a.value = void 0);
960
- };
961
- return G(i, (e) => {
962
- let t = W(a);
963
- t && t.setOptions(e);
964
- }, { deep: !0 }), G([e, t], ([e, t]) => {
965
- s(), !(!e || !t) && (a.value = _n(e, t, W(i)));
966
- }), z(() => {
967
- s();
968
- }), {
969
- state: P(() => {
970
- var e;
971
- return { ...((e = W(a)) == null ? void 0 : e.state) || {} };
972
- }),
973
- styles: P(() => W(o).styles),
974
- attributes: P(() => W(o).attributes),
975
- update: () => {
976
- var e;
977
- return (e = W(a)) == null ? void 0 : e.update();
978
- },
979
- forceUpdate: () => {
980
- var e;
981
- return (e = W(a)) == null ? void 0 : e.forceUpdate();
982
- },
983
- instanceRef: P(() => W(a))
984
- };
985
- };
986
- function yn(e) {
987
- let t = Object.keys(e.elements);
988
- return {
989
- styles: xe(t.map((t) => [t, e.styles[t] || {}])),
990
- attributes: xe(t.map((t) => [t, e.attributes[t]]))
991
- };
992
- }
993
- //#endregion
994
- //#region node_modules/.pnpm/element-plus@2.13.6_typescr_b86181ecd25892dfea09546870d44c51/node_modules/element-plus/es/hooks/use-timeout/index.mjs
995
- function bn() {
996
- let e, t = (t, r) => {
997
- n(), e = window.setTimeout(t, r);
998
- }, n = () => window.clearTimeout(e);
999
- return v(() => n()), {
1000
- registerTimeout: t,
1001
- cancelTimeout: n
1002
- };
1003
- }
1004
- //#endregion
1005
- //#region node_modules/.pnpm/element-plus@2.13.6_typescr_b86181ecd25892dfea09546870d44c51/node_modules/element-plus/es/hooks/use-popper-container/index.mjs
1006
- var xn = () => {
1007
- let e = i(), t = k(), n = P(() => `${e.value}-popper-container-${t.prefix}`);
1008
- return {
1009
- id: n,
1010
- selector: P(() => `#${n.value}`)
1011
- };
1012
- }, Sn = (e) => {
1013
- let t = document.createElement("div");
1014
- return t.id = e, document.body.appendChild(t), t;
1015
- }, Cn = () => {
1016
- let { id: e, selector: t } = xn();
1017
- return fe(() => {
1018
- _ && (document.body.querySelector(t.value) || Sn(e.value));
1019
- }), {
1020
- id: e,
1021
- selector: t
1022
- };
1023
- }, wn = C({
1024
- showAfter: {
1025
- type: Number,
1026
- default: 0
1027
- },
1028
- hideAfter: {
1029
- type: Number,
1030
- default: 200
1031
- },
1032
- autoClose: {
1033
- type: Number,
1034
- default: 0
1035
- }
1036
- }), Tn = {
1037
- showAfter: 0,
1038
- hideAfter: 200,
1039
- autoClose: 0
1040
- }, En = ({ showAfter: e, hideAfter: t, autoClose: n, open: r, close: i }) => {
1041
- let { registerTimeout: a } = bn(), { registerTimeout: o, cancelTimeout: s } = bn();
1042
- return {
1043
- onOpen: (t, s = W(e)) => {
1044
- a(() => {
1045
- r(t);
1046
- let e = W(n);
1047
- g(e) && e > 0 && o(() => {
1048
- i(t);
1049
- }, e);
1050
- }, s);
1051
- },
1052
- onClose: (e, n = W(t)) => {
1053
- s(), a(() => {
1054
- i(e);
1055
- }, n);
1056
- }
1057
- };
1058
- }, Dn = Symbol("elForwardRef"), On = (e) => {
1059
- me(Dn, { setForwardRef: ((t) => {
1060
- e.value = t;
1061
- }) });
1062
- }, kn = (e) => ({
1063
- mounted(t) {
1064
- e(t);
1065
- },
1066
- updated(t) {
1067
- e(t);
1068
- },
1069
- unmounted() {
1070
- e(null);
1071
- }
1072
- }), An = C({ role: {
1073
- type: String,
1074
- values: [
1075
- "dialog",
1076
- "grid",
1077
- "group",
1078
- "listbox",
1079
- "menu",
1080
- "navigation",
1081
- "tooltip",
1082
- "tree"
1083
- ],
1084
- default: "tooltip"
1085
- } }), jn = Symbol("popper"), Mn = Symbol("popperContent"), Nn = /* @__PURE__ */ L({
1086
- name: "ElPopperArrow",
1087
- inheritAttrs: !1,
1088
- __name: "arrow",
1089
- setup(e, { expose: t }) {
1090
- let n = s("popper"), { arrowRef: r, arrowStyle: i } = R(Mn, void 0);
1091
- return z(() => {
1092
- r.value = void 0;
1093
- }), t({ arrowRef: r }), (e, t) => (V(), oe("span", {
1094
- ref_key: "arrowRef",
1095
- ref: r,
1096
- class: ue(W(n).e("arrow")),
1097
- style: de(W(i)),
1098
- "data-popper-arrow": ""
1099
- }, null, 6));
1100
- }
1101
- }), Pn = C({
1102
- virtualRef: { type: m(Object) },
1103
- virtualTriggering: Boolean,
1104
- onMouseenter: { type: m(Function) },
1105
- onMouseleave: { type: m(Function) },
1106
- onClick: { type: m(Function) },
1107
- onKeydown: { type: m(Function) },
1108
- onFocus: { type: m(Function) },
1109
- onBlur: { type: m(Function) },
1110
- onContextmenu: { type: m(Function) },
1111
- id: String,
1112
- open: Boolean
1113
- }), Fn = "ElOnlyChild", In = /* @__PURE__ */ L({
1114
- name: Fn,
1115
- setup(e, { slots: t, attrs: n }) {
1116
- var r;
1117
- let i = kn(((r = R(Dn)) == null ? void 0 : r.setForwardRef) ?? l);
1118
- return () => {
1119
- var e;
1120
- let r = (e = t.default) == null ? void 0 : e.call(t, n);
1121
- if (!r) return null;
1122
- let [a, o] = Ln(r);
1123
- return a ? (o > 1 && h(Fn, "requires exact only one valid child."), be(ie(a, n), [[i]])) : (h(Fn, "no valid child node found"), null);
1124
- };
1125
- }
1126
- });
1127
- function Ln(e) {
1128
- if (!e) return [null, 0];
1129
- let t = e, n = t.filter((e) => e.type !== N).length;
1130
- for (let e of t) {
1131
- if (o(e)) switch (e.type) {
1132
- case N: continue;
1133
- case ne:
1134
- case "svg": return [Rn(e), n];
1135
- case te: return Ln(e.children);
1136
- default: return [e, n];
1137
- }
1138
- return [Rn(e), n];
1139
- }
1140
- return [null, 0];
1141
- }
1142
- function Rn(e) {
1143
- return I("span", { class: s("only-child").e("content") }, [e]);
1144
- }
1145
- //#endregion
1146
- //#region node_modules/.pnpm/element-plus@2.13.6_typescr_b86181ecd25892dfea09546870d44c51/node_modules/element-plus/es/components/popper/src/trigger2.mjs
1147
- var zn = /* @__PURE__ */ L({
1148
- name: "ElPopperTrigger",
1149
- inheritAttrs: !1,
1150
- __name: "trigger",
1151
- props: Pn,
1152
- setup(e, { expose: t }) {
1153
- let n = e, { role: r, triggerRef: i } = R(jn, void 0);
1154
- On(i);
1155
- let a = P(() => s.value ? n.id : void 0), o = P(() => {
1156
- if (r && r.value === "tooltip") return n.open && n.id ? n.id : void 0;
1157
- }), s = P(() => {
1158
- if (r && r.value !== "tooltip") return r.value;
1159
- }), c = P(() => s.value ? `${n.open}` : void 0), l, u = [
1160
- "onMouseenter",
1161
- "onMouseleave",
1162
- "onClick",
1163
- "onKeydown",
1164
- "onFocus",
1165
- "onBlur",
1166
- "onContextmenu"
1167
- ];
1168
- return B(() => {
1169
- G(() => n.virtualRef, (e) => {
1170
- e && (i.value = x(e));
1171
- }, { immediate: !0 }), G(i, (e, t) => {
1172
- l == null || l(), l = void 0, p(t) && u.forEach((e) => {
1173
- let r = n[e];
1174
- r && t.removeEventListener(e.slice(2).toLowerCase(), r, ["onFocus", "onBlur"].includes(e));
1175
- }), p(e) && (u.forEach((t) => {
1176
- let r = n[t];
1177
- r && e.addEventListener(t.slice(2).toLowerCase(), r, ["onFocus", "onBlur"].includes(t));
1178
- }), b(e) && (l = G([
1179
- a,
1180
- o,
1181
- s,
1182
- c
1183
- ], (t) => {
1184
- [
1185
- "aria-controls",
1186
- "aria-describedby",
1187
- "aria-haspopup",
1188
- "aria-expanded"
1189
- ].forEach((n, r) => {
1190
- Se(t[r]) ? e.removeAttribute(n) : e.setAttribute(n, t[r]);
1191
- });
1192
- }, { immediate: !0 }))), p(t) && b(t) && [
1193
- "aria-controls",
1194
- "aria-describedby",
1195
- "aria-haspopup",
1196
- "aria-expanded"
1197
- ].forEach((e) => t.removeAttribute(e));
1198
- }, { immediate: !0 });
1199
- }), z(() => {
1200
- if (l == null || l(), l = void 0, i.value && p(i.value)) {
1201
- let e = i.value;
1202
- u.forEach((t) => {
1203
- let r = n[t];
1204
- r && e.removeEventListener(t.slice(2).toLowerCase(), r, ["onFocus", "onBlur"].includes(t));
1205
- }), i.value = void 0;
1206
- }
1207
- }), t({ triggerRef: i }), (t, n) => e.virtualTriggering ? ae("v-if", !0) : (V(), F(W(In), ce({ key: 0 }, t.$attrs, {
1208
- "aria-controls": a.value,
1209
- "aria-describedby": o.value,
1210
- "aria-expanded": c.value,
1211
- "aria-haspopup": s.value
1212
- }), {
1213
- default: K(() => [U(t.$slots, "default")]),
1214
- _: 3
1215
- }, 16, [
1216
- "aria-controls",
1217
- "aria-describedby",
1218
- "aria-expanded",
1219
- "aria-haspopup"
1220
- ]));
1221
- }
1222
- }), Bn = C({ arrowOffset: {
1223
- type: Number,
1224
- default: 5
1225
- } }), Vn = { arrowOffset: 5 }, Hn = C({
1226
- ...C({
1227
- boundariesPadding: {
1228
- type: Number,
1229
- default: 0
1230
- },
1231
- fallbackPlacements: {
1232
- type: m(Array),
1233
- default: void 0
1234
- },
1235
- gpuAcceleration: {
1236
- type: Boolean,
1237
- default: !0
1238
- },
1239
- offset: {
1240
- type: Number,
1241
- default: 12
1242
- },
1243
- placement: {
1244
- type: String,
1245
- values: ze,
1246
- default: "bottom"
1247
- },
1248
- popperOptions: {
1249
- type: m(Object),
1250
- default: () => ({})
1251
- },
1252
- strategy: {
1253
- type: String,
1254
- values: ["fixed", "absolute"],
1255
- default: "absolute"
1256
- }
1257
- }),
1258
- ...Bn,
1259
- id: String,
1260
- style: { type: m([
1261
- String,
1262
- Array,
1263
- Object
1264
- ]) },
1265
- className: { type: m([
1266
- String,
1267
- Array,
1268
- Object
1269
- ]) },
1270
- effect: {
1271
- type: m(String),
1272
- default: "dark"
1273
- },
1274
- visible: Boolean,
1275
- enterable: {
1276
- type: Boolean,
1277
- default: !0
1278
- },
1279
- pure: Boolean,
1280
- focusOnShow: Boolean,
1281
- trapping: Boolean,
1282
- popperClass: { type: m([
1283
- String,
1284
- Array,
1285
- Object
1286
- ]) },
1287
- popperStyle: { type: m([
1288
- String,
1289
- Array,
1290
- Object
1291
- ]) },
1292
- referenceEl: { type: m(Object) },
1293
- triggerTargetEl: { type: m(Object) },
1294
- stopPopperMouseEvent: {
1295
- type: Boolean,
1296
- default: !0
1297
- },
1298
- virtualTriggering: Boolean,
1299
- zIndex: Number,
1300
- ...j(["ariaLabel"]),
1301
- loop: Boolean
1302
- }), Un = {
1303
- boundariesPadding: 0,
1304
- gpuAcceleration: !0,
1305
- offset: 12,
1306
- placement: "bottom",
1307
- popperOptions: () => ({}),
1308
- strategy: "absolute",
1309
- ...Vn,
1310
- effect: "dark",
1311
- enterable: !0,
1312
- stopPopperMouseEvent: !0,
1313
- visible: !1,
1314
- pure: !1,
1315
- focusOnShow: !1,
1316
- trapping: !1,
1317
- virtualTriggering: !1,
1318
- loop: !1,
1319
- style: void 0,
1320
- popperStyle: void 0
1321
- }, Wn = {
1322
- mouseenter: (e) => e instanceof MouseEvent,
1323
- mouseleave: (e) => e instanceof MouseEvent,
1324
- focus: () => !0,
1325
- blur: () => !0,
1326
- close: () => !0
1327
- }, Gn = (e, t = []) => {
1328
- let { placement: n, strategy: r, popperOptions: i } = e, a = {
1329
- placement: n,
1330
- strategy: r,
1331
- ...i,
1332
- modifiers: [...qn(e), ...t]
1333
- };
1334
- return Jn(a, i == null ? void 0 : i.modifiers), a;
1335
- }, Kn = (e) => {
1336
- if (_) return x(e);
1337
- };
1338
- function qn(e) {
1339
- let { offset: t, gpuAcceleration: n, fallbackPlacements: r } = e;
1340
- return [
1341
- {
1342
- name: "offset",
1343
- options: { offset: [0, t ?? 12] }
1344
- },
1345
- {
1346
- name: "preventOverflow",
1347
- options: { padding: {
1348
- top: 0,
1349
- bottom: 0,
1350
- left: 0,
1351
- right: 0
1352
- } }
1353
- },
1354
- {
1355
- name: "flip",
1356
- options: {
1357
- padding: 5,
1358
- fallbackPlacements: r
1359
- }
1360
- },
1361
- {
1362
- name: "computeStyles",
1363
- options: { gpuAcceleration: n }
1364
- }
1365
- ];
1366
- }
1367
- function Jn(e, t) {
1368
- t && (e.modifiers = [...e.modifiers, ...t ?? []]);
1369
- }
1370
- //#endregion
1371
- //#region node_modules/.pnpm/element-plus@2.13.6_typescr_b86181ecd25892dfea09546870d44c51/node_modules/element-plus/es/components/popper/src/composables/use-content.mjs
1372
- var Yn = 0, Xn = (e) => {
1373
- let { popperInstanceRef: t, contentRef: n, triggerRef: r, role: i } = R(jn, void 0), a = H(), o = P(() => e.arrowOffset), s = P(() => ({
1374
- name: "eventListeners",
1375
- enabled: !!e.visible
1376
- })), c = P(() => {
1377
- let e = W(a), t = W(o) ?? Yn;
1378
- return {
1379
- name: "arrow",
1380
- enabled: !Ce(e),
1381
- options: {
1382
- element: e,
1383
- padding: t
1384
- }
1385
- };
1386
- }), l = P(() => ({
1387
- onFirstUpdate: () => {
1388
- m();
1389
- },
1390
- ...Gn(e, [W(c), W(s)])
1391
- })), u = P(() => Kn(e.referenceEl) || W(r)), { attributes: d, state: f, styles: p, update: m, forceUpdate: h, instanceRef: g } = vn(u, n, l);
1392
- G(g, (e) => t.value = e, { flush: "sync" }), B(() => {
1393
- G(() => {
1394
- var e, t;
1395
- return (e = W(u)) == null || (t = e.getBoundingClientRect) == null ? void 0 : t.call(e);
1396
- }, () => {
1397
- m();
1398
- });
1399
- });
1400
- let _;
1401
- return G(() => e.visible, (e) => {
1402
- _ == null || _(), _ = void 0, e && (_ = y(n, m).stop);
1403
- }), z(() => {
1404
- t.value = void 0, _ == null || _(), _ = void 0;
1405
- }), {
1406
- attributes: d,
1407
- arrowRef: a,
1408
- contentRef: n,
1409
- instanceRef: g,
1410
- state: f,
1411
- styles: p,
1412
- role: i,
1413
- forceUpdate: h,
1414
- update: m
1415
- };
1416
- }, Zn = (t, { attributes: n, styles: r, role: i }) => {
1417
- let { nextZIndex: a } = e(), o = s("popper"), c = P(() => W(n).popper), l = H(g(t.zIndex) ? t.zIndex : a()), u = P(() => [
1418
- o.b(),
1419
- o.is("pure", t.pure),
1420
- o.is(t.effect),
1421
- t.popperClass
1422
- ]), d = P(() => [
1423
- { zIndex: W(l) },
1424
- W(r).popper,
1425
- t.popperStyle || {}
1426
- ]);
1427
- return {
1428
- ariaModal: P(() => i.value === "dialog" ? "false" : void 0),
1429
- arrowStyle: P(() => W(r).arrow || {}),
1430
- contentAttrs: c,
1431
- contentClass: u,
1432
- contentStyle: d,
1433
- contentZIndex: l,
1434
- updateZIndex: () => {
1435
- l.value = g(t.zIndex) ? t.zIndex : a();
1436
- }
1437
- };
1438
- }, Qn = (e, t) => {
1439
- let n = H(!1), r = H();
1440
- return z(() => {
1441
- r.value = void 0;
1442
- }), {
1443
- focusStartRef: r,
1444
- trapped: n,
1445
- onFocusAfterReleased: (e) => {
1446
- var n;
1447
- ((n = e.detail) == null ? void 0 : n.focusReason) !== "pointer" && (r.value = "first", t("blur"));
1448
- },
1449
- onFocusAfterTrapped: () => {
1450
- t("focus");
1451
- },
1452
- onFocusInTrap: (t) => {
1453
- e.visible && !n.value && (t.target && (r.value = t.target), n.value = !0);
1454
- },
1455
- onFocusoutPrevented: (t) => {
1456
- e.trapping || (t.detail.focusReason === "pointer" && t.preventDefault(), n.value = !1);
1457
- },
1458
- onReleaseRequested: () => {
1459
- n.value = !1, t("close");
1460
- }
1461
- };
1462
- }, $n = /* @__PURE__ */ L({
1463
- name: "ElPopperContent",
1464
- __name: "content",
1465
- props: Hn,
1466
- emits: Wn,
1467
- setup(e, { expose: t, emit: n }) {
1468
- let r = n, i = e, { focusStartRef: a, trapped: o, onFocusAfterReleased: s, onFocusAfterTrapped: c, onFocusInTrap: u, onFocusoutPrevented: d, onReleaseRequested: f } = Qn(i, r), { attributes: m, arrowRef: h, contentRef: g, styles: _, instanceRef: v, role: y, update: b } = Xn(i), { ariaModal: x, arrowStyle: S, contentAttrs: C, contentClass: w, contentStyle: T, updateZIndex: E } = Zn(i, {
1469
- styles: _,
1470
- attributes: m,
1471
- role: y
1472
- }), D = R(ee, void 0);
1473
- me(Mn, {
1474
- arrowStyle: S,
1475
- arrowRef: h
1476
- }), D && me(ee, {
1477
- ...D,
1478
- addInputId: l,
1479
- removeInputId: l
1480
- });
1481
- let k, A = (e = !0) => {
1482
- b(), e && E();
1483
- }, j = () => {
1484
- A(!1), i.visible && i.focusOnShow ? o.value = !0 : i.visible === !1 && (o.value = !1);
1485
- };
1486
- return B(() => {
1487
- G(() => i.triggerTargetEl, (e, t) => {
1488
- k == null || k(), k = void 0;
1489
- let n = W(e || g.value), r = W(t || g.value);
1490
- p(n) && (k = G([
1491
- y,
1492
- () => i.ariaLabel,
1493
- x,
1494
- () => i.id
1495
- ], (e) => {
1496
- [
1497
- "role",
1498
- "aria-label",
1499
- "aria-modal",
1500
- "id"
1501
- ].forEach((t, r) => {
1502
- Se(e[r]) ? n.removeAttribute(t) : n.setAttribute(t, e[r]);
1503
- });
1504
- }, { immediate: !0 })), r !== n && p(r) && [
1505
- "role",
1506
- "aria-label",
1507
- "aria-modal",
1508
- "id"
1509
- ].forEach((e) => {
1510
- r.removeAttribute(e);
1511
- });
1512
- }, { immediate: !0 }), G(() => i.visible, j, { immediate: !0 });
1513
- }), z(() => {
1514
- k == null || k(), k = void 0, g.value = void 0;
1515
- }), t({
1516
- popperContentRef: g,
1517
- popperInstanceRef: v,
1518
- updatePopper: A,
1519
- contentStyle: T
1520
- }), (t, n) => (V(), oe("div", ce({
1521
- ref_key: "contentRef",
1522
- ref: g
1523
- }, W(C), {
1524
- style: W(T),
1525
- class: W(w),
1526
- tabindex: "-1",
1527
- onMouseenter: n[0] || (n[0] = (e) => t.$emit("mouseenter", e)),
1528
- onMouseleave: n[1] || (n[1] = (e) => t.$emit("mouseleave", e))
1529
- }), [I(W(O), {
1530
- loop: e.loop,
1531
- trapped: W(o),
1532
- "trap-on-focus-in": !0,
1533
- "focus-trap-el": W(g),
1534
- "focus-start-el": W(a),
1535
- onFocusAfterTrapped: W(c),
1536
- onFocusAfterReleased: W(s),
1537
- onFocusin: W(u),
1538
- onFocusoutPrevented: W(d),
1539
- onReleaseRequested: W(f)
1540
- }, {
1541
- default: K(() => [U(t.$slots, "default")]),
1542
- _: 3
1543
- }, 8, [
1544
- "loop",
1545
- "trapped",
1546
- "focus-trap-el",
1547
- "focus-start-el",
1548
- "onFocusAfterTrapped",
1549
- "onFocusAfterReleased",
1550
- "onFocusin",
1551
- "onFocusoutPrevented",
1552
- "onReleaseRequested"
1553
- ])], 16));
1554
- }
1555
- }), er = u(/* @__PURE__ */ L({
1556
- name: "ElPopper",
1557
- inheritAttrs: !1,
1558
- __name: "popper",
1559
- props: An,
1560
- setup(e, { expose: t }) {
1561
- let n = e, r = {
1562
- triggerRef: H(),
1563
- popperInstanceRef: H(),
1564
- contentRef: H(),
1565
- referenceRef: H(),
1566
- role: P(() => n.role)
1567
- };
1568
- return t(r), me(jn, r), (e, t) => U(e.$slots, "default");
1569
- }
1570
- }));
1571
- ({
1572
- ...Tn,
1573
- ...Un
1574
- });
1575
- var tr = C({
1576
- ...wn,
1577
- ...Hn,
1578
- appendTo: { type: E.to.type },
1579
- content: {
1580
- type: String,
1581
- default: ""
1582
- },
1583
- rawContent: Boolean,
1584
- persistent: Boolean,
1585
- visible: {
1586
- type: m(Boolean),
1587
- default: null
1588
- },
1589
- transition: String,
1590
- teleported: {
1591
- type: Boolean,
1592
- default: !0
1593
- },
1594
- disabled: Boolean,
1595
- ...j(["ariaLabel"])
1596
- }), nr = C({
1597
- ...Pn,
1598
- disabled: Boolean,
1599
- trigger: {
1600
- type: m([String, Array]),
1601
- default: "hover"
1602
- },
1603
- triggerKeys: {
1604
- type: m(Array),
1605
- default: () => [
1606
- n.enter,
1607
- n.numpadEnter,
1608
- n.space
1609
- ]
1610
- },
1611
- focusOnTarget: Boolean
1612
- }), { useModelToggleProps: rr, useModelToggleEmits: ir, useModelToggle: ar } = Ee("visible"), or = C({
1613
- ...An,
1614
- ...rr,
1615
- ...tr,
1616
- ...nr,
1617
- ...Bn,
1618
- showArrow: {
1619
- type: Boolean,
1620
- default: !0
1621
- }
1622
- }), sr = [
1623
- ...ir,
1624
- "before-show",
1625
- "before-hide",
1626
- "show",
1627
- "hide",
1628
- "open",
1629
- "close"
1630
- ], cr = Symbol("elTooltip"), lr = (e, t) => a(e) ? e.includes(t) : e === t, ur = (e, t, n) => (r) => {
1631
- lr(W(e), t) && n(r);
1632
- }, dr = /* @__PURE__ */ L({
1633
- name: "ElTooltipTrigger",
1634
- __name: "trigger",
1635
- props: nr,
1636
- setup(e, { expose: n }) {
1637
- let i = e, a = s("tooltip"), { controlled: o, id: c, open: l, onOpen: u, onClose: d, onToggle: f } = R(cr, void 0), p = H(null), m = () => {
1638
- if (W(o) || i.disabled) return !0;
1639
- }, h = ve(i, "trigger"), g = r(m, ur(h, "hover", (e) => {
1640
- u(e), i.focusOnTarget && e.target && le(() => {
1641
- w(e.target, { preventScroll: !0 });
1642
- });
1643
- })), _ = r(m, ur(h, "hover", d)), v = r(m, ur(h, "click", (e) => {
1644
- e.button === 0 && f(e);
1645
- })), y = r(m, ur(h, "focus", u)), b = r(m, ur(h, "focus", d)), x = r(m, ur(h, "contextmenu", (e) => {
1646
- e.preventDefault(), f(e);
1647
- })), S = r(m, (e) => {
1648
- let n = t(e);
1649
- i.triggerKeys.includes(n) && (e.preventDefault(), f(e));
1650
- });
1651
- return n({ triggerRef: p }), (t, n) => (V(), F(W(zn), {
1652
- id: W(c),
1653
- "virtual-ref": e.virtualRef,
1654
- open: W(l),
1655
- "virtual-triggering": e.virtualTriggering,
1656
- class: ue(W(a).e("trigger")),
1657
- onBlur: W(b),
1658
- onClick: W(v),
1659
- onContextmenu: W(x),
1660
- onFocus: W(y),
1661
- onMouseenter: W(g),
1662
- onMouseleave: W(_),
1663
- onKeydown: W(S)
1664
- }, {
1665
- default: K(() => [U(t.$slots, "default")]),
1666
- _: 3
1667
- }, 8, [
1668
- "id",
1669
- "virtual-ref",
1670
- "open",
1671
- "virtual-triggering",
1672
- "class",
1673
- "onBlur",
1674
- "onClick",
1675
- "onContextmenu",
1676
- "onFocus",
1677
- "onMouseenter",
1678
- "onMouseleave",
1679
- "onKeydown"
1680
- ]));
1681
- }
1682
- }), fr = /* @__PURE__ */ L({
1683
- name: "ElTooltipContent",
1684
- inheritAttrs: !1,
1685
- __name: "content",
1686
- props: tr,
1687
- setup(e, { expose: t }) {
1688
- let n = e, { selector: i } = xn(), a = s("tooltip"), o = H(), c = T(() => {
1689
- var e;
1690
- return (e = o.value) == null ? void 0 : e.popperContentRef;
1691
- }), l, { controlled: u, id: d, open: f, trigger: p, onClose: m, onOpen: h, onShow: g, onHide: _, onBeforeShow: v, onBeforeHide: y } = R(cr, void 0), b = P(() => n.transition || `${a.namespace.value}-fade-in-linear`), x = P(() => n.persistent);
1692
- z(() => {
1693
- l == null || l();
1694
- });
1695
- let C = P(() => W(x) ? !0 : W(f)), E = P(() => n.disabled ? !1 : W(f)), O = P(() => n.appendTo || i.value), k = P(() => n.style ?? {}), A = H(!0), j = () => {
1696
- _(), se() && w(document.body, { preventScroll: !0 }), A.value = !0;
1697
- }, ee = () => {
1698
- if (W(u)) return !0;
1699
- }, N = r(ee, () => {
1700
- n.enterable && lr(W(p), "hover") && h();
1701
- }), te = r(ee, () => {
1702
- lr(W(p), "hover") && m();
1703
- }), ne = () => {
1704
- var e, t;
1705
- (e = o.value) == null || (t = e.updatePopper) == null || t.call(e), v == null || v();
1706
- }, ie = () => {
1707
- y == null || y();
1708
- }, oe = () => {
1709
- g();
1710
- }, L = () => {
1711
- n.virtualTriggering || m();
1712
- }, se = (e) => {
1713
- var t;
1714
- let n = (t = o.value) == null ? void 0 : t.popperContentRef, r = (e == null ? void 0 : e.relatedTarget) || document.activeElement;
1715
- return n == null ? void 0 : n.contains(r);
1716
- };
1717
- return G(() => W(f), (e) => {
1718
- e ? (A.value = !1, l = S(c, () => {
1719
- W(u) || M(W(p)).every((e) => e !== "hover" && e !== "focus") && m();
1720
- }, { detectIframe: !0 })) : l == null || l();
1721
- }, { flush: "post" }), t({
1722
- contentRef: o,
1723
- isFocusInsideContent: se
1724
- }), (t, n) => (V(), F(W(D), {
1725
- disabled: !e.teleported,
1726
- to: O.value
1727
- }, {
1728
- default: K(() => [C.value || !A.value ? (V(), F(re, {
1729
- key: 0,
1730
- name: b.value,
1731
- appear: !x.value,
1732
- onAfterLeave: j,
1733
- onBeforeEnter: ne,
1734
- onAfterEnter: oe,
1735
- onBeforeLeave: ie,
1736
- persisted: ""
1737
- }, {
1738
- default: K(() => [be(I(W($n), ce({
1739
- id: W(d),
1740
- ref_key: "contentRef",
1741
- ref: o
1742
- }, t.$attrs, {
1743
- "aria-label": e.ariaLabel,
1744
- "aria-hidden": A.value,
1745
- "boundaries-padding": e.boundariesPadding,
1746
- "fallback-placements": e.fallbackPlacements,
1747
- "gpu-acceleration": e.gpuAcceleration,
1748
- offset: e.offset,
1749
- placement: e.placement,
1750
- "popper-options": e.popperOptions,
1751
- "arrow-offset": e.arrowOffset,
1752
- strategy: e.strategy,
1753
- effect: e.effect,
1754
- enterable: e.enterable,
1755
- pure: e.pure,
1756
- "popper-class": e.popperClass,
1757
- "popper-style": [e.popperStyle, k.value],
1758
- "reference-el": e.referenceEl,
1759
- "trigger-target-el": e.triggerTargetEl,
1760
- visible: E.value,
1761
- "z-index": e.zIndex,
1762
- loop: e.loop,
1763
- onMouseenter: W(N),
1764
- onMouseleave: W(te),
1765
- onBlur: L,
1766
- onClose: W(m)
1767
- }), {
1768
- default: K(() => [U(t.$slots, "default")]),
1769
- _: 3
1770
- }, 16, [
1771
- "id",
1772
- "aria-label",
1773
- "aria-hidden",
1774
- "boundaries-padding",
1775
- "fallback-placements",
1776
- "gpu-acceleration",
1777
- "offset",
1778
- "placement",
1779
- "popper-options",
1780
- "arrow-offset",
1781
- "strategy",
1782
- "effect",
1783
- "enterable",
1784
- "pure",
1785
- "popper-class",
1786
- "popper-style",
1787
- "reference-el",
1788
- "trigger-target-el",
1789
- "visible",
1790
- "z-index",
1791
- "loop",
1792
- "onMouseenter",
1793
- "onMouseleave",
1794
- "onClose"
1795
- ]), [[ye, E.value]])]),
1796
- _: 3
1797
- }, 8, ["name", "appear"])) : ae("v-if", !0)]),
1798
- _: 3
1799
- }, 8, ["disabled", "to"]));
1800
- }
1801
- }), pr = ["innerHTML"], mr = { key: 1 }, hr = u(/* @__PURE__ */ L({
1802
- name: "ElTooltip",
1803
- __name: "tooltip",
1804
- props: or,
1805
- emits: sr,
1806
- setup(e, { expose: t, emit: n }) {
1807
- let r = e, i = n;
1808
- Cn();
1809
- let a = s("tooltip"), o = A(), c = H(), l = H(), u = () => {
1810
- var e;
1811
- let t = W(c);
1812
- t && ((e = t.popperInstanceRef) == null || e.update());
1813
- }, d = H(!1), p = H(), { show: m, hide: h, hasUpdateHandler: g } = ar({
1814
- indicator: d,
1815
- toggleReason: p
1816
- }), { onOpen: _, onClose: v } = En({
1817
- showAfter: ve(r, "showAfter"),
1818
- hideAfter: ve(r, "hideAfter"),
1819
- autoClose: ve(r, "autoClose"),
1820
- open: m,
1821
- close: h
1822
- }), y = P(() => f(r.visible) && !g.value), b = P(() => [a.b(), r.popperClass]);
1823
- return me(cr, {
1824
- controlled: y,
1825
- id: o,
1826
- open: he(d),
1827
- trigger: ve(r, "trigger"),
1828
- onOpen: _,
1829
- onClose: v,
1830
- onToggle: (e) => {
1831
- W(d) ? v(e) : _(e);
1832
- },
1833
- onShow: () => {
1834
- i("show", p.value);
1835
- },
1836
- onHide: () => {
1837
- i("hide", p.value);
1838
- },
1839
- onBeforeShow: () => {
1840
- i("before-show", p.value);
1841
- },
1842
- onBeforeHide: () => {
1843
- i("before-hide", p.value);
1844
- },
1845
- updatePopper: u
1846
- }), G(() => r.disabled, (e) => {
1847
- e && d.value && (d.value = !1), !e && f(r.visible) && (d.value = r.visible);
1848
- }), pe(() => d.value && h()), z(() => {
1849
- p.value = void 0;
1850
- }), t({
1851
- popperRef: c,
1852
- contentRef: l,
1853
- isFocusInsideContent: (e) => {
1854
- var t;
1855
- return (t = l.value) == null ? void 0 : t.isFocusInsideContent(e);
1856
- },
1857
- updatePopper: u,
1858
- onOpen: _,
1859
- onClose: v,
1860
- hide: h
1861
- }), (t, n) => (V(), F(W(er), {
1862
- ref_key: "popperRef",
1863
- ref: c,
1864
- role: e.role
1865
- }, {
1866
- default: K(() => [I(dr, {
1867
- disabled: e.disabled,
1868
- trigger: e.trigger,
1869
- "trigger-keys": e.triggerKeys,
1870
- "virtual-ref": e.virtualRef,
1871
- "virtual-triggering": e.virtualTriggering,
1872
- "focus-on-target": e.focusOnTarget
1873
- }, {
1874
- default: K(() => [t.$slots.default ? U(t.$slots, "default", { key: 0 }) : ae("v-if", !0)]),
1875
- _: 3
1876
- }, 8, [
1877
- "disabled",
1878
- "trigger",
1879
- "trigger-keys",
1880
- "virtual-ref",
1881
- "virtual-triggering",
1882
- "focus-on-target"
1883
- ]), I(fr, {
1884
- ref_key: "contentRef",
1885
- ref: l,
1886
- "aria-label": e.ariaLabel,
1887
- "boundaries-padding": e.boundariesPadding,
1888
- content: e.content,
1889
- disabled: e.disabled,
1890
- effect: e.effect,
1891
- enterable: e.enterable,
1892
- "fallback-placements": e.fallbackPlacements,
1893
- "hide-after": e.hideAfter,
1894
- "gpu-acceleration": e.gpuAcceleration,
1895
- offset: e.offset,
1896
- persistent: e.persistent,
1897
- "popper-class": b.value,
1898
- "popper-style": e.popperStyle,
1899
- placement: e.placement,
1900
- "popper-options": e.popperOptions,
1901
- "arrow-offset": e.arrowOffset,
1902
- pure: e.pure,
1903
- "raw-content": e.rawContent,
1904
- "reference-el": e.referenceEl,
1905
- "trigger-target-el": e.triggerTargetEl,
1906
- "show-after": e.showAfter,
1907
- strategy: e.strategy,
1908
- teleported: e.teleported,
1909
- transition: e.transition,
1910
- "virtual-triggering": e.virtualTriggering,
1911
- "z-index": e.zIndex,
1912
- "append-to": e.appendTo,
1913
- loop: e.loop
1914
- }, {
1915
- default: K(() => [U(t.$slots, "content", {}, () => [e.rawContent ? (V(), oe("span", {
1916
- key: 0,
1917
- innerHTML: e.content
1918
- }, null, 8, pr)) : (V(), oe("span", mr, _e(e.content), 1))]), e.showArrow ? (V(), F(W(Nn), { key: 0 })) : ae("v-if", !0)]),
1919
- _: 3
1920
- }, 8, /* @__PURE__ */ "aria-label.boundaries-padding.content.disabled.effect.enterable.fallback-placements.hide-after.gpu-acceleration.offset.persistent.popper-class.popper-style.placement.popper-options.arrow-offset.pure.raw-content.reference-el.trigger-target-el.show-after.strategy.teleported.transition.virtual-triggering.z-index.append-to.loop".split("."))]),
1921
- _: 3
1922
- }, 8, ["role"]));
1923
- }
1924
- }));
1925
- //#endregion
1926
- export { tr as n, ze as r, hr as t };