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