agentworkshop 0.7.58 → 0.7.60

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 (545) hide show
  1. package/.AgentWorkShop/prompts/host-tools.json +108 -0
  2. package/.output/.AgentWorkShop/prompts/host-tools.json +108 -0
  3. package/.output/.AgentWorkShop/schema.json +1 -0
  4. package/.output/nitro.json +1 -1
  5. package/.output/public/_nuxt/{CZwDnomB.js → 59a6cSgj.js} +1 -1
  6. package/.output/public/_nuxt/5juo_WO2.js +13 -0
  7. package/.output/public/_nuxt/9j2J4k4w.js +1 -0
  8. package/.output/public/_nuxt/B-WTxXEK2.js +1 -0
  9. package/.output/public/_nuxt/{DTx_DtUo.js → B0w8DZ4C.js} +1 -1
  10. package/.output/public/_nuxt/B1BCga5h2.js +13 -0
  11. package/.output/public/_nuxt/B5lMtA7I2.js +1 -0
  12. package/.output/public/_nuxt/B6_fJd2X.js +1 -0
  13. package/.output/public/_nuxt/B7K5B04W2.js +1 -0
  14. package/.output/public/_nuxt/B7KyS_q2.js +1 -0
  15. package/.output/public/_nuxt/B8q3BGY5.js +37 -0
  16. package/.output/public/_nuxt/B9IK8kDl2.js +1 -0
  17. package/.output/public/_nuxt/BFBysc2M2.js +1 -0
  18. package/.output/public/_nuxt/{BMUEVeOK.js → BGFhOMVM.js} +2 -2
  19. package/.output/public/_nuxt/{cBI0JqsV.js → BMlesJth.js} +1 -1
  20. package/.output/public/_nuxt/BNd2NDxg2.js +1 -0
  21. package/.output/public/_nuxt/BP629NAi.js +1 -0
  22. package/.output/public/_nuxt/BVinTfuN.js +1 -0
  23. package/.output/public/_nuxt/{DJZzthKt2.js → B_BYwIf22.js} +1 -1
  24. package/.output/public/_nuxt/{CW1HGp5X.js → B_JLVF30.js} +1 -1
  25. package/.output/public/_nuxt/BdE41Y_c.js +28 -0
  26. package/.output/public/_nuxt/Bdq2LNSO.js +1 -0
  27. package/.output/public/_nuxt/{BMZ1d25O.js → BeNdseTX.js} +1 -1
  28. package/.output/public/_nuxt/Be_StT8b2.js +1 -0
  29. package/.output/public/_nuxt/BhllzW3K2.js +1 -0
  30. package/.output/public/_nuxt/BjUpWKS6.js +1 -0
  31. package/.output/public/_nuxt/{CCCq9H7D2.js → BlEJRYAn2.js} +1 -1
  32. package/.output/public/_nuxt/{Du0zf-d3.js → BplhglEM.js} +1 -1
  33. package/.output/public/_nuxt/BsYEYxWv.js +24 -0
  34. package/.output/public/_nuxt/BtXwFpv42.js +1 -0
  35. package/.output/public/_nuxt/{BrFF_9742.js → BuNXYpib2.js} +1 -1
  36. package/.output/public/_nuxt/{BzKT-ne_2.js → C0sNwDTK2.js} +1 -1
  37. package/.output/public/_nuxt/{h46i74oE.js → C4AICl3l.js} +4 -4
  38. package/.output/public/_nuxt/{BuVH9MB-.js → C5OSTzBh.js} +1 -1
  39. package/.output/public/_nuxt/{DKhRushG.js → C8XVZGSZ.js} +1 -1
  40. package/.output/public/_nuxt/{zGDAozGA.js → C93LpBMF.js} +4 -4
  41. package/.output/public/_nuxt/CDaZC0_6.js +3 -0
  42. package/.output/public/_nuxt/CE43-V_L.js +2 -0
  43. package/.output/public/_nuxt/{B4R5CHkk.js → CEHT9inW.js} +1 -1
  44. package/.output/public/_nuxt/CGChCy-w2.js +1 -0
  45. package/.output/public/_nuxt/{DvUt9uMt2.js → CMDAjShv2.js} +1 -1
  46. package/.output/public/_nuxt/CUjdqsjC2.js +1 -0
  47. package/.output/public/_nuxt/CWfBtswB.js +70 -0
  48. package/.output/public/_nuxt/CYtH1bv2.js +1 -0
  49. package/.output/public/_nuxt/CZmMgjIK.js +1 -0
  50. package/.output/public/_nuxt/{iZa330UY.js → Cdw4juXw.js} +1 -1
  51. package/.output/public/_nuxt/{DMPpE41S2.js → Ce5SiMQR2.js} +1 -1
  52. package/.output/public/_nuxt/{B03LfmKR.js → Cfp00Rdo.js} +1 -1
  53. package/.output/public/_nuxt/{Dy-V8OEW2.js → CgbP5yJk2.js} +7 -7
  54. package/.output/public/_nuxt/ChPNKPw_.js +1 -0
  55. package/.output/public/_nuxt/{C5wBzGO7.js → CjeMxUv8.js} +1 -1
  56. package/.output/public/_nuxt/CktUrk8z.js +1 -0
  57. package/.output/public/_nuxt/Cst8yEet.js +1 -0
  58. package/.output/public/_nuxt/Cuw2--X2.js +2 -0
  59. package/.output/public/_nuxt/Cyd68Xbv2.js +1 -0
  60. package/.output/public/_nuxt/{pNy4V4kd.js → Cyuxcv5s2.js} +1 -1
  61. package/.output/public/_nuxt/{CIz7SM4H.js → D0vmf1z9.js} +1 -1
  62. package/.output/public/_nuxt/D5-QB_-l.js +1 -0
  63. package/.output/public/_nuxt/D9sgxxsM2.js +1 -0
  64. package/.output/public/_nuxt/DBdwjOGB2.js +1 -0
  65. package/.output/public/_nuxt/DBzdrPzw2.js +1 -0
  66. package/.output/public/_nuxt/DD4J2Otc.js +1 -0
  67. package/.output/public/_nuxt/DMCoWgSb2.js +1 -0
  68. package/.output/public/_nuxt/{CmTqFlYZ.js → DTcsb0fG.js} +1 -1
  69. package/.output/public/_nuxt/Ddc_Pn7D.js +19 -0
  70. package/.output/public/_nuxt/Dg1iMuZ-.js +1 -0
  71. package/.output/public/_nuxt/DhSlJyZD2.js +1 -0
  72. package/.output/public/_nuxt/DmwMkvoQ2.js +1 -0
  73. package/.output/public/_nuxt/EQijmkCh2.js +1 -0
  74. package/.output/public/_nuxt/KXQppTXc.js +1 -0
  75. package/.output/public/_nuxt/{CZ0Gt81h.js → KXvRkBgg.js} +2 -2
  76. package/.output/public/_nuxt/LwITbamf2.js +47 -0
  77. package/.output/public/_nuxt/N9TYd_Mk2.js +1 -0
  78. package/.output/public/_nuxt/VeOVO2sE2.js +1 -0
  79. package/.output/public/_nuxt/_jfzcYrl.js +1 -0
  80. package/.output/public/_nuxt/analysis.D2Pao1rm.css +1 -0
  81. package/.output/public/_nuxt/builds/latest.json +1 -1
  82. package/.output/public/_nuxt/builds/meta/f78a1992-e424-494d-ac4b-aa18971ffc10.json +1 -0
  83. package/.output/public/_nuxt/{default.8ac6QU28.css → default.Bx6RJSbr.css} +1 -1
  84. package/.output/public/_nuxt/{entry.BHNNQA9H.css → entry.BlbU43qz.css} +1 -1
  85. package/.output/public/_nuxt/{MEwEMEMl2.js → iCvdSYYN2.js} +6 -6
  86. package/.output/public/_nuxt/{CYGkUj5M2.js → p2sDc0tO2.js} +1 -1
  87. package/.output/public/_nuxt/{Drhta6gr.js → zVupTo2z2.js} +2 -2
  88. package/.output/server/chunks/_/LeftOutlined.mjs +1 -1
  89. package/.output/server/chunks/_/character-asset.repo.mjs +1 -1
  90. package/.output/server/chunks/_/host-bindings.mjs +1 -1
  91. package/.output/server/chunks/_/nitro.mjs +1629 -1246
  92. package/.output/server/chunks/_/nitro.mjs.map +1 -1
  93. package/.output/server/chunks/_/scene-layout.repo.mjs +1 -1
  94. package/.output/server/chunks/build/{AuthGate-DDPYswkA.mjs → AuthGate-CZYkvPrg.mjs} +5 -5
  95. package/.output/server/chunks/build/{AuthGate-DDPYswkA.mjs.map → AuthGate-CZYkvPrg.mjs.map} +1 -1
  96. package/.output/server/chunks/build/Checkbox-4EdGAAl_.mjs +1 -1
  97. package/.output/server/chunks/build/{FormItemContext-4ORSzhWv.mjs → FormItemContext-DcWIIAaK.mjs} +2 -2
  98. package/.output/server/chunks/build/{FormItemContext-4ORSzhWv.mjs.map → FormItemContext-DcWIIAaK.mjs.map} +1 -1
  99. package/.output/server/chunks/build/{OmpTerminalPanel-DZ2wHMS1.mjs → OmpTerminalPanel-CtFJ6Kc8.mjs} +4 -4
  100. package/.output/server/chunks/build/{OmpTerminalPanel-DZ2wHMS1.mjs.map → OmpTerminalPanel-CtFJ6Kc8.mjs.map} +1 -1
  101. package/.output/server/chunks/build/{PluginSlot-CT4YaNrB.mjs → PluginSlot-BT7kYQgK.mjs} +2 -2
  102. package/.output/server/chunks/build/{PluginSlot-CT4YaNrB.mjs.map → PluginSlot-BT7kYQgK.mjs.map} +1 -1
  103. package/.output/server/chunks/build/{TownView-CZbFn6mO.mjs → TownView-kQZFf4zj.mjs} +3 -3
  104. package/.output/server/chunks/build/{TownView-CZbFn6mO.mjs.map → TownView-kQZFf4zj.mjs.map} +1 -1
  105. package/.output/server/chunks/build/{_id_-Df2pgsAq.mjs → _id_-Bbx1b74O.mjs} +3 -3
  106. package/.output/server/chunks/build/{_id_-Df2pgsAq.mjs.map → _id_-Bbx1b74O.mjs.map} +1 -1
  107. package/.output/server/chunks/build/{_id_-CCVhpJtj.mjs → _id_-IijrRw3f.mjs} +3 -3
  108. package/.output/server/chunks/build/{_id_-CCVhpJtj.mjs.map → _id_-IijrRw3f.mjs.map} +1 -1
  109. package/.output/server/chunks/build/{_wsId_-CJqF-hmP.mjs → _wsId_-DOEw9jgZ.mjs} +22 -21
  110. package/.output/server/chunks/build/{_wsId_-CJqF-hmP.mjs.map → _wsId_-DOEw9jgZ.mjs.map} +1 -1
  111. package/.output/server/chunks/build/{agents-BTsbna5H.mjs → agents-C36wR56A.mjs} +18 -17
  112. package/.output/server/chunks/build/agents-C36wR56A.mjs.map +1 -0
  113. package/.output/server/chunks/build/{aml-BBKfWto1.mjs → aml-CBGndvHT.mjs} +7 -7
  114. package/.output/server/chunks/build/{aml-BBKfWto1.mjs.map → aml-CBGndvHT.mjs.map} +1 -1
  115. package/.output/server/chunks/build/analysis-tgzvOWmD.mjs +332 -0
  116. package/.output/server/chunks/build/analysis-tgzvOWmD.mjs.map +1 -0
  117. package/.output/server/chunks/build/{card-DJOYGuVH.mjs → card-Db7OB49d.mjs} +4 -4
  118. package/.output/server/chunks/build/{card-DJOYGuVH.mjs.map → card-Db7OB49d.mjs.map} +1 -1
  119. package/.output/server/chunks/build/{channel-templates-BPKJ8e4l.mjs → channel-templates-BixUrDmU.mjs} +11 -10
  120. package/.output/server/chunks/build/channel-templates-BixUrDmU.mjs.map +1 -0
  121. package/.output/server/chunks/build/{checkbox-C4AKj81e.mjs → checkbox-CyF96D30.mjs} +3 -3
  122. package/.output/server/chunks/build/{checkbox-C4AKj81e.mjs.map → checkbox-CyF96D30.mjs.map} +1 -1
  123. package/.output/server/chunks/build/{daq-Cz7TaUAM.mjs → daq-DLMLufDq.mjs} +5 -5
  124. package/.output/server/chunks/build/{daq-Cz7TaUAM.mjs.map → daq-DLMLufDq.mjs.map} +1 -1
  125. package/.output/server/chunks/build/dcw-EhjJpVQM.mjs +2 -2
  126. package/.output/server/chunks/build/{default-DweMY872.mjs → default-C7Qmdyz_.mjs} +30 -19
  127. package/.output/server/chunks/build/{default-DweMY872.mjs.map → default-C7Qmdyz_.mjs.map} +1 -1
  128. package/.output/server/chunks/build/{descriptions-CFaUq4y4.mjs → descriptions-1bH81YsZ.mjs} +2 -2
  129. package/.output/server/chunks/build/{descriptions-CFaUq4y4.mjs.map → descriptions-1bH81YsZ.mjs.map} +1 -1
  130. package/.output/server/chunks/build/{drawer-Cfh9_zft.mjs → drawer-C7shdEHy.mjs} +2 -2
  131. package/.output/server/chunks/build/{drawer-Cfh9_zft.mjs.map → drawer-C7shdEHy.mjs.map} +1 -1
  132. package/.output/server/chunks/build/{dropdown-CIsqbX4P.mjs → dropdown-BhLSIp5A.mjs} +2 -2
  133. package/.output/server/chunks/build/{dropdown-CIsqbX4P.mjs.map → dropdown-BhLSIp5A.mjs.map} +1 -1
  134. package/.output/server/chunks/build/{dropdown-CV9GW3z9.mjs → dropdown-BiwcuXDi.mjs} +6 -5
  135. package/.output/server/chunks/build/{dropdown-CV9GW3z9.mjs.map → dropdown-BiwcuXDi.mjs.map} +1 -1
  136. package/.output/server/chunks/build/{form-cs_RcfGx.mjs → form-nE8C0G8B.mjs} +7 -6
  137. package/.output/server/chunks/build/{form-cs_RcfGx.mjs.map → form-nE8C0G8B.mjs.map} +1 -1
  138. package/.output/server/chunks/build/{input-CobQ5LJ5.mjs → input-DwF72eVI.mjs} +93 -3449
  139. package/.output/server/chunks/build/input-DwF72eVI.mjs.map +1 -0
  140. package/.output/server/chunks/build/{input-number-BpPYAWMk.mjs → input-number-TSq6ltkz.mjs} +6 -5
  141. package/.output/server/chunks/build/{input-number-BpPYAWMk.mjs.map → input-number-TSq6ltkz.mjs.map} +1 -1
  142. package/.output/server/chunks/build/{logs-As9fZqU-.mjs → logs-hOEVuxqm.mjs} +3 -3
  143. package/.output/server/chunks/build/{logs-As9fZqU-.mjs.map → logs-hOEVuxqm.mjs.map} +1 -1
  144. package/.output/server/chunks/build/{menu-CVmvHyFT.mjs → menu-Cy5Nrecn.mjs} +4 -3
  145. package/.output/server/chunks/build/{menu-CVmvHyFT.mjs.map → menu-Cy5Nrecn.mjs.map} +1 -1
  146. package/.output/server/chunks/build/{monitor-CdFQ2z4g.mjs → monitor-CfVoiavp.mjs} +20 -19
  147. package/.output/server/chunks/build/{monitor-CdFQ2z4g.mjs.map → monitor-CfVoiavp.mjs.map} +1 -1
  148. package/.output/server/chunks/build/{operations-B2gHCWgZ.mjs → operations-fxI8lEBJ.mjs} +3 -3
  149. package/.output/server/chunks/build/{operations-B2gHCWgZ.mjs.map → operations-fxI8lEBJ.mjs.map} +1 -1
  150. package/.output/server/chunks/build/{pages-BItCt1ar.mjs → pages-6JD9VSbx.mjs} +5 -5
  151. package/.output/server/chunks/build/{pages-BItCt1ar.mjs.map → pages-6JD9VSbx.mjs.map} +1 -1
  152. package/.output/server/chunks/build/{permissions-D6mQw_9j.mjs → permissions-XPtQJSaO.mjs} +14 -13
  153. package/.output/server/chunks/build/permissions-XPtQJSaO.mjs.map +1 -0
  154. package/.output/server/chunks/build/{plugins-NAS9MQ5r.mjs → plugins-DjBSG9pV.mjs} +5 -5
  155. package/.output/server/chunks/build/{plugins-NAS9MQ5r.mjs.map → plugins-DjBSG9pV.mjs.map} +1 -1
  156. package/.output/server/chunks/build/{popconfirm-DFfoFhmt.mjs → popconfirm-DKeEbaGd.mjs} +3 -3
  157. package/.output/server/chunks/build/{popconfirm-DFfoFhmt.mjs.map → popconfirm-DKeEbaGd.mjs.map} +1 -1
  158. package/.output/server/chunks/build/{schedules-BjWNDWL5.mjs → schedules-PcDLCUWN.mjs} +20 -19
  159. package/.output/server/chunks/build/{schedules-BjWNDWL5.mjs.map → schedules-PcDLCUWN.mjs.map} +1 -1
  160. package/.output/server/chunks/build/{segmented-D7FkCgg7.mjs → segmented-BdWCdZUM.mjs} +3 -3
  161. package/.output/server/chunks/build/{segmented-D7FkCgg7.mjs.map → segmented-BdWCdZUM.mjs.map} +1 -1
  162. package/.output/server/chunks/build/{select-FqBNxgxT.mjs → select-C5yighj8.mjs} +5 -4
  163. package/.output/server/chunks/build/{select-FqBNxgxT.mjs.map → select-C5yighj8.mjs.map} +1 -1
  164. package/.output/server/chunks/build/{settings-Cl_KRyEn.mjs → settings-90zT_h9w.mjs} +14 -13
  165. package/.output/server/chunks/build/settings-90zT_h9w.mjs.map +1 -0
  166. package/.output/server/chunks/build/{space-B2uhHJG8.mjs → space-BCffbXIG.mjs} +3 -3
  167. package/.output/server/chunks/build/{space-B2uhHJG8.mjs.map → space-BCffbXIG.mjs.map} +1 -1
  168. package/.output/server/chunks/build/{switch-DZAUIbIN.mjs → switch-OG0SM_Px.mjs} +3 -3
  169. package/.output/server/chunks/build/{switch-DZAUIbIN.mjs.map → switch-OG0SM_Px.mjs.map} +1 -1
  170. package/.output/server/chunks/build/{table-CeOYERqr.mjs → table-UpVzu50c.mjs} +11 -10
  171. package/.output/server/chunks/build/{table-CeOYERqr.mjs.map → table-UpVzu50c.mjs.map} +1 -1
  172. package/.output/server/chunks/build/{tabs-LLNSdLl2.mjs → tabs-CWwoL33v.mjs} +6 -5
  173. package/.output/server/chunks/build/{tabs-LLNSdLl2.mjs.map → tabs-CWwoL33v.mjs.map} +1 -1
  174. package/.output/server/chunks/build/{tag-Dwvkh0Dj.mjs → tag-CS7mwrfG.mjs} +5 -4
  175. package/.output/server/chunks/build/{tag-Dwvkh0Dj.mjs.map → tag-CS7mwrfG.mjs.map} +1 -1
  176. package/.output/server/chunks/build/{teams-CGDZHaQl.mjs → teams-BIAFvRw1.mjs} +19 -18
  177. package/.output/server/chunks/build/teams-BIAFvRw1.mjs.map +1 -0
  178. package/.output/server/chunks/build/{tokens-BOYkZuoB.mjs → tokens-CLpdrzQ7.mjs} +19 -18
  179. package/.output/server/chunks/build/tokens-CLpdrzQ7.mjs.map +1 -0
  180. package/.output/server/chunks/build/tooltip-CJlH_8ZK.mjs +3362 -0
  181. package/.output/server/chunks/build/tooltip-CJlH_8ZK.mjs.map +1 -0
  182. package/.output/server/chunks/build/town-BV-hbwb5.mjs +1 -1
  183. package/.output/server/chunks/build/{town-P1rYoi0v.mjs → town-Bfme7P2I.mjs} +5 -5
  184. package/.output/server/chunks/build/{town-P1rYoi0v.mjs.map → town-Bfme7P2I.mjs.map} +1 -1
  185. package/.output/server/chunks/build/types-D6J7slEa.mjs +1 -1
  186. package/.output/server/chunks/build/types-DWqIeMRP.mjs +75 -0
  187. package/.output/server/chunks/build/types-DWqIeMRP.mjs.map +1 -0
  188. package/.output/server/chunks/build/{useAgentTemplateActions-DsBRUQni.mjs → useAgentTemplateActions-6VyAHgu5.mjs} +1 -1
  189. package/.output/server/chunks/build/{useAgentTemplateActions-DsBRUQni.mjs.map → useAgentTemplateActions-6VyAHgu5.mjs.map} +1 -1
  190. package/.output/server/chunks/build/{useAgentTemplateForm-DzQ_t2Ue.mjs → useAgentTemplateForm-DWa-ezNq.mjs} +1 -1
  191. package/.output/server/chunks/build/{useAgentTemplateForm-DzQ_t2Ue.mjs.map → useAgentTemplateForm-DWa-ezNq.mjs.map} +1 -1
  192. package/.output/server/chunks/build/{useAmlEntities-BMLHU_39.mjs → useAmlEntities-Co2fgjzh.mjs} +1 -1
  193. package/.output/server/chunks/build/{useAmlEntities-BMLHU_39.mjs.map → useAmlEntities-Co2fgjzh.mjs.map} +1 -1
  194. package/.output/server/chunks/build/{useAmlEnv-DdlyVzPu.mjs → useAmlEnv-JTiWPrzH.mjs} +1 -1
  195. package/.output/server/chunks/build/{useAmlEnv-DdlyVzPu.mjs.map → useAmlEnv-JTiWPrzH.mjs.map} +1 -1
  196. package/.output/server/chunks/build/{useAmlJobs-BG_v21hJ.mjs → useAmlJobs-By4pjOzc.mjs} +1 -1
  197. package/.output/server/chunks/build/{useAmlJobs-BG_v21hJ.mjs.map → useAmlJobs-By4pjOzc.mjs.map} +1 -1
  198. package/.output/server/chunks/build/{useAmlModels-D7MuOWOy.mjs → useAmlModels-B1_5vjMA.mjs} +1 -1
  199. package/.output/server/chunks/build/{useAmlModels-D7MuOWOy.mjs.map → useAmlModels-B1_5vjMA.mjs.map} +1 -1
  200. package/.output/server/chunks/build/{useAmlNotes-CTZe-GI0.mjs → useAmlNotes-5uwvCb3h.mjs} +1 -1
  201. package/.output/server/chunks/build/{useAmlNotes-CTZe-GI0.mjs.map → useAmlNotes-5uwvCb3h.mjs.map} +1 -1
  202. package/.output/server/chunks/build/{useAmlPredict-BToRrVRV.mjs → useAmlPredict-lxUv7lAO.mjs} +1 -1
  203. package/.output/server/chunks/build/{useAmlPredict-BToRrVRV.mjs.map → useAmlPredict-lxUv7lAO.mjs.map} +1 -1
  204. package/.output/server/chunks/build/useAnalysisFeed-B4OwUd7p.mjs +128 -0
  205. package/.output/server/chunks/build/useAnalysisFeed-B4OwUd7p.mjs.map +1 -0
  206. package/.output/server/chunks/build/useDaqAddNode-CaOCbe4-.mjs +1 -1
  207. package/.output/server/chunks/build/{useDaqDetailNode-DXgwAu5u.mjs → useDaqDetailNode-DtZ0oDAn.mjs} +3 -3
  208. package/.output/server/chunks/build/{useDaqDetailNode-DXgwAu5u.mjs.map → useDaqDetailNode-DtZ0oDAn.mjs.map} +1 -1
  209. package/.output/server/chunks/build/useDaqDetailParams-CrTMDs-2.mjs +1 -1
  210. package/.output/server/chunks/build/{useDaqFilters-Jx6EERfr.mjs → useDaqFilters-DYHGhECw.mjs} +3 -3
  211. package/.output/server/chunks/build/{useDaqFilters-Jx6EERfr.mjs.map → useDaqFilters-DYHGhECw.mjs.map} +1 -1
  212. package/.output/server/chunks/build/useDaqStream-DhzdoyIR.mjs +1 -1
  213. package/.output/server/chunks/build/useDaqTemplates-C7GzQmdJ.mjs +1 -1
  214. package/.output/server/chunks/build/{useDashboardData-Ce-EU5DJ.mjs → useDashboardData-B3lZjE7x.mjs} +3 -3
  215. package/.output/server/chunks/build/{useDashboardData-Ce-EU5DJ.mjs.map → useDashboardData-B3lZjE7x.mjs.map} +1 -1
  216. package/.output/server/chunks/build/useDcwAddNode-4mTPQ6T8.mjs +1 -1
  217. package/.output/server/chunks/build/{useDcwDetailScope-4j3B03Pi.mjs → useDcwDetailScope-BWH7jnVh.mjs} +2 -2
  218. package/.output/server/chunks/build/{useDcwDetailScope-4j3B03Pi.mjs.map → useDcwDetailScope-BWH7jnVh.mjs.map} +1 -1
  219. package/.output/server/chunks/build/useDcwStream-BXJ2V8HM.mjs +1 -1
  220. package/.output/server/chunks/build/{useLogsManual-CMjD62nt.mjs → useLogsManual-BLfiSU3u.mjs} +1 -1
  221. package/.output/server/chunks/build/{useLogsManual-CMjD62nt.mjs.map → useLogsManual-BLfiSU3u.mjs.map} +1 -1
  222. package/.output/server/chunks/build/{useMonitorData-D2gFSonG.mjs → useMonitorData-BZ6Z-Sy8.mjs} +1 -1
  223. package/.output/server/chunks/build/{useMonitorData-D2gFSonG.mjs.map → useMonitorData-BZ6Z-Sy8.mjs.map} +1 -1
  224. package/.output/server/chunks/build/{useTeamActions-BOLQkYxg.mjs → useTeamActions-ahht5J8Y.mjs} +1 -1
  225. package/.output/server/chunks/build/{useTeamActions-BOLQkYxg.mjs.map → useTeamActions-ahht5J8Y.mjs.map} +1 -1
  226. package/.output/server/chunks/build/{useTeamAddMemberDialog-BCgrLPxI.mjs → useTeamAddMemberDialog-DvXxsVy0.mjs} +1 -1
  227. package/.output/server/chunks/build/{useTeamAddMemberDialog-BCgrLPxI.mjs.map → useTeamAddMemberDialog-DvXxsVy0.mjs.map} +1 -1
  228. package/.output/server/chunks/build/{useTeamCreateDialog-CJk40LqS.mjs → useTeamCreateDialog-A_k-XX5B.mjs} +1 -1
  229. package/.output/server/chunks/build/{useTeamCreateDialog-CJk40LqS.mjs.map → useTeamCreateDialog-A_k-XX5B.mjs.map} +1 -1
  230. package/.output/server/chunks/build/{useTeamDeployDialog-49hdUXQP.mjs → useTeamDeployDialog-CfAFjIr_.mjs} +1 -1
  231. package/.output/server/chunks/build/{useTeamDeployDialog-49hdUXQP.mjs.map → useTeamDeployDialog-CfAFjIr_.mjs.map} +1 -1
  232. package/.output/server/chunks/build/{useTeamPluginDialog-Dh-QOoiU.mjs → useTeamPluginDialog-Djmkk1Nl.mjs} +1 -1
  233. package/.output/server/chunks/build/{useTeamPluginDialog-Dh-QOoiU.mjs.map → useTeamPluginDialog-Djmkk1Nl.mjs.map} +1 -1
  234. package/.output/server/chunks/build/{useTokenCreate-DkYvEQUD.mjs → useTokenCreate-CkWoxSI-.mjs} +1 -1
  235. package/.output/server/chunks/build/{useTokenCreate-DkYvEQUD.mjs.map → useTokenCreate-CkWoxSI-.mjs.map} +1 -1
  236. package/.output/server/chunks/build/{useTokenRename-DOCP4aeI.mjs → useTokenRename-BohjnGT0.mjs} +1 -1
  237. package/.output/server/chunks/build/{useTokenRename-DOCP4aeI.mjs.map → useTokenRename-BohjnGT0.mjs.map} +1 -1
  238. package/.output/server/chunks/build/{useTokenReveal-CybwwflV.mjs → useTokenReveal-BBN5iGz7.mjs} +1 -1
  239. package/.output/server/chunks/build/{useTokenReveal-CybwwflV.mjs.map → useTokenReveal-BBN5iGz7.mjs.map} +1 -1
  240. package/.output/server/chunks/build/{useTokensList-BLiMvrc4.mjs → useTokensList-BQX9WqfT.mjs} +1 -1
  241. package/.output/server/chunks/build/{useTokensList-BLiMvrc4.mjs.map → useTokensList-BQX9WqfT.mjs.map} +1 -1
  242. package/.output/server/chunks/build/{useWorkbenchAuth-DAabQl7X.mjs → useWorkbenchAuth-BTRlS2wZ.mjs} +1 -1
  243. package/.output/server/chunks/build/{useWorkbenchAuth-DAabQl7X.mjs.map → useWorkbenchAuth-BTRlS2wZ.mjs.map} +1 -1
  244. package/.output/server/chunks/build/{useWorkbenchWorkspaces-6-mpCGCR.mjs → useWorkbenchWorkspaces-C6ky7OJH.mjs} +1 -1
  245. package/.output/server/chunks/build/{useWorkbenchWorkspaces-6-mpCGCR.mjs.map → useWorkbenchWorkspaces-C6ky7OJH.mjs.map} +1 -1
  246. package/.output/server/chunks/build/{users-B_pHStEa.mjs → users-BHOEW3Az.mjs} +15 -14
  247. package/.output/server/chunks/build/users-BHOEW3Az.mjs.map +1 -0
  248. package/.output/server/chunks/build/{workshop-C0DefygA.mjs → workshop-DyJ1LXwu.mjs} +11 -10
  249. package/.output/server/chunks/build/workshop-DyJ1LXwu.mjs.map +1 -0
  250. package/.output/server/chunks/routes/api/mcp/workshop.mjs +1 -1
  251. package/.output/server/chunks/routes/api/system/backup/run.post.mjs +2 -2
  252. package/.output/server/chunks/routes/api/workshop/analysis/_id_.delete.mjs +46 -0
  253. package/.output/server/chunks/routes/api/workshop/analysis/_id_.delete.mjs.map +1 -0
  254. package/.output/server/chunks/routes/api/workshop/analysis/_id_.get.mjs +39 -0
  255. package/.output/server/chunks/routes/api/workshop/analysis/_id_.get.mjs.map +1 -0
  256. package/.output/server/chunks/routes/api/workshop/assets/index.post.mjs +1 -1
  257. package/.output/server/chunks/routes/api/workshop/assets/index2.post.mjs +1 -1
  258. package/.output/server/chunks/routes/api/workshop/channel-templates/_id/instantiate.post.mjs +2 -2
  259. package/.output/server/chunks/routes/api/workshop/channels/_id/activate.post.mjs +1 -1
  260. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/index.post.mjs +1 -1
  261. package/.output/server/chunks/routes/api/workshop/channels/_id/index.post.mjs +1 -1
  262. package/.output/server/chunks/routes/api/workshop/channels/_id/index.put.mjs +1 -1
  263. package/.output/server/chunks/routes/api/workshop/channels/_id/index3.post.mjs +1 -1
  264. package/.output/server/chunks/routes/api/workshop/channels/_id/index4.post.mjs +1 -1
  265. package/.output/server/chunks/routes/api/workshop/channels/_id/index5.get.mjs +1 -1
  266. package/.output/server/chunks/routes/api/workshop/channels/_id/line.put.mjs +1 -1
  267. package/.output/server/chunks/routes/api/workshop/channels/_id/terminals.get.mjs +1 -1
  268. package/.output/server/chunks/routes/api/workshop/channels/_id/twin-profile.get.mjs +1 -1
  269. package/.output/server/chunks/routes/api/workshop/channels/_id/twin-profile.patch.mjs +1 -1
  270. package/.output/server/chunks/routes/api/workshop/channels/index.get.mjs +1 -1
  271. package/.output/server/chunks/routes/api/workshop/channels.post.mjs +7 -7
  272. package/.output/server/chunks/routes/api/workshop/daq/_id/samples.get.mjs +1 -1
  273. package/.output/server/chunks/routes/api/workshop/daq/index.post.mjs +1 -1
  274. package/.output/server/chunks/routes/api/workshop/daq/infra/reconnect.post.mjs +1 -1
  275. package/.output/server/chunks/routes/api/workshop/daq/infra.get.mjs +1 -1
  276. package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.delete.mjs +1 -1
  277. package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.patch.mjs +1 -1
  278. package/.output/server/chunks/routes/api/workshop/daq/test-driver.post.mjs +1 -1
  279. package/.output/server/chunks/routes/api/workshop/dcw/_id/bind.post.mjs +1 -1
  280. package/.output/server/chunks/routes/api/workshop/dcw/_id/bindings.put.mjs +1 -1
  281. package/.output/server/chunks/routes/api/workshop/dcw/_id/param-ledger.get.mjs +1 -1
  282. package/.output/server/chunks/routes/api/workshop/dcw/_id/read.post.mjs +1 -1
  283. package/.output/server/chunks/routes/api/workshop/dcw/_id/test.post.mjs +1 -1
  284. package/.output/server/chunks/routes/api/workshop/dcw/_id/write.post.mjs +1 -1
  285. package/.output/server/chunks/routes/api/workshop/dcw/_id_.delete.mjs +1 -1
  286. package/.output/server/chunks/routes/api/workshop/dcw/_id_.patch.mjs +1 -1
  287. package/.output/server/chunks/routes/api/workshop/dcw/controller.post.mjs +1 -1
  288. package/.output/server/chunks/routes/api/workshop/dcw/index.get.mjs +1 -1
  289. package/.output/server/chunks/routes/api/workshop/dcw/index.post.mjs +1 -1
  290. package/.output/server/chunks/routes/api/workshop/dcw/index2.get.mjs +1 -1
  291. package/.output/server/chunks/routes/api/workshop/dcw/index2.post.mjs +1 -1
  292. package/.output/server/chunks/routes/api/workshop/dcw/index3.get.mjs +1 -1
  293. package/.output/server/chunks/routes/api/workshop/dcw/index3.post.mjs +1 -1
  294. package/.output/server/chunks/routes/api/workshop/dcw/index4.get.mjs +1 -1
  295. package/.output/server/chunks/routes/api/workshop/dcw/index4.post.mjs +1 -1
  296. package/.output/server/chunks/routes/api/workshop/dcw/index5.get.mjs +1 -1
  297. package/.output/server/chunks/routes/api/workshop/dcw/index5.post.mjs +1 -1
  298. package/.output/server/chunks/routes/api/workshop/dcw/index6.get.mjs +1 -1
  299. package/.output/server/chunks/routes/api/workshop/dcw/index7.get.mjs +1 -1
  300. package/.output/server/chunks/routes/api/workshop/dcw/journal/node/_nodeId/rollback.post.mjs +1 -1
  301. package/.output/server/chunks/routes/api/workshop/dcw/line/query.get.mjs +1 -1
  302. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/start.post.mjs +1 -1
  303. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/stop.post.mjs +1 -1
  304. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.delete.mjs +1 -1
  305. package/.output/server/chunks/routes/api/workshop/dcw/mes-artifacts/file.get.mjs +1 -1
  306. package/.output/server/chunks/routes/api/workshop/dcw/mes-hook-test.post.mjs +1 -1
  307. package/.output/server/chunks/routes/api/workshop/dcw/mes-test-read.post.mjs +1 -1
  308. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/judge.post.mjs +1 -1
  309. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/rollback.post.mjs +1 -1
  310. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/series.get.mjs +1 -1
  311. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id_.get.mjs +1 -1
  312. package/.output/server/chunks/routes/api/workshop/dcw/params/_id/read.post.mjs +1 -1
  313. package/.output/server/chunks/routes/api/workshop/dcw/params/_id/write.post.mjs +1 -1
  314. package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.delete.mjs +1 -1
  315. package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.patch.mjs +1 -1
  316. package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.delete.mjs +1 -1
  317. package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.patch.mjs +1 -1
  318. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/apply.post.mjs +1 -1
  319. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/mark-good.post.mjs +1 -1
  320. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/rollback-good.post.mjs +1 -1
  321. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id_.delete.mjs +1 -1
  322. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/close.post.mjs +1 -1
  323. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/data.get.mjs +1 -1
  324. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/rollback.post.mjs +1 -1
  325. package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.delete.mjs +1 -1
  326. package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.patch.mjs +1 -1
  327. package/.output/server/chunks/routes/api/workshop/dcw/test-driver.post.mjs +1 -1
  328. package/.output/server/chunks/routes/api/workshop/device-twins/_id/control.post.mjs +1 -1
  329. package/.output/server/chunks/routes/api/workshop/device-twins/_id/telemetry.post.mjs +1 -1
  330. package/.output/server/chunks/routes/api/workshop/device-twins/_id_.delete.mjs +1 -1
  331. package/.output/server/chunks/routes/api/workshop/device-twins/_id_.patch.mjs +1 -1
  332. package/.output/server/chunks/routes/api/workshop/exp/confirmations/_id/decide.post.mjs +1 -1
  333. package/.output/server/chunks/routes/api/workshop/exp/index.get.mjs +1 -1
  334. package/.output/server/chunks/routes/api/workshop/fs/dirs.get.mjs +1 -1
  335. package/.output/server/chunks/routes/api/workshop/harnesses/_id/providers.get.mjs +1 -1
  336. package/.output/server/chunks/routes/api/workshop/harnesses.get.mjs +1 -1
  337. package/.output/server/chunks/routes/api/workshop/hitl/pending.get.mjs +1 -1
  338. package/.output/server/chunks/routes/api/workshop/hitl/respond.post.mjs +1 -1
  339. package/.output/server/chunks/routes/api/workshop/index.put.mjs +1 -1
  340. package/.output/server/chunks/routes/api/workshop/index10.get.mjs +20 -23
  341. package/.output/server/chunks/routes/api/workshop/index10.get.mjs.map +1 -1
  342. package/.output/server/chunks/routes/api/workshop/index11.get.mjs +25 -11
  343. package/.output/server/chunks/routes/api/workshop/index11.get.mjs.map +1 -1
  344. package/.output/server/chunks/routes/api/workshop/index12.get.mjs +10 -4
  345. package/.output/server/chunks/routes/api/workshop/index12.get.mjs.map +1 -1
  346. package/.output/server/chunks/routes/api/workshop/index13.get.mjs +2 -3
  347. package/.output/server/chunks/routes/api/workshop/index13.get.mjs.map +1 -1
  348. package/.output/server/chunks/routes/api/workshop/index14.get.mjs +3 -2
  349. package/.output/server/chunks/routes/api/workshop/index14.get.mjs.map +1 -1
  350. package/.output/server/chunks/routes/api/workshop/index15.get.mjs +30 -0
  351. package/.output/server/chunks/routes/api/workshop/index15.get.mjs.map +1 -0
  352. package/.output/server/chunks/routes/api/workshop/index3.get.mjs +20 -9
  353. package/.output/server/chunks/routes/api/workshop/index3.get.mjs.map +1 -1
  354. package/.output/server/chunks/routes/api/workshop/index3.post.mjs +1 -1
  355. package/.output/server/chunks/routes/api/workshop/index4.get.mjs +10 -4
  356. package/.output/server/chunks/routes/api/workshop/index4.get.mjs.map +1 -1
  357. package/.output/server/chunks/routes/api/workshop/index4.post.mjs +1 -1
  358. package/.output/server/chunks/routes/api/workshop/index5.get.mjs +4 -29
  359. package/.output/server/chunks/routes/api/workshop/index5.get.mjs.map +1 -1
  360. package/.output/server/chunks/routes/api/workshop/index5.post.mjs +1 -1
  361. package/.output/server/chunks/routes/api/workshop/index6.get.mjs +25 -22
  362. package/.output/server/chunks/routes/api/workshop/index6.get.mjs.map +1 -1
  363. package/.output/server/chunks/routes/api/workshop/index7.get.mjs +26 -5
  364. package/.output/server/chunks/routes/api/workshop/index7.get.mjs.map +1 -1
  365. package/.output/server/chunks/routes/api/workshop/index8.get.mjs +4 -39
  366. package/.output/server/chunks/routes/api/workshop/index8.get.mjs.map +1 -1
  367. package/.output/server/chunks/routes/api/workshop/index9.get.mjs +40 -20
  368. package/.output/server/chunks/routes/api/workshop/index9.get.mjs.map +1 -1
  369. package/.output/server/chunks/routes/api/workshop/plugins/_name/disable.post.mjs +1 -1
  370. package/.output/server/chunks/routes/api/workshop/plugins/_name/enable.post.mjs +1 -1
  371. package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.delete.mjs +1 -1
  372. package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.put.mjs +1 -1
  373. package/.output/server/chunks/routes/api/workshop/teams/_id/deploy.post.mjs +1 -1
  374. package/.output/server/chunks/routes/api/workshop/teams/_id/index.put.mjs +1 -1
  375. package/.output/server/chunks/routes/api/workshop/teams/_id/index2.get.mjs +1 -1
  376. package/.output/server/chunks/routes/api/workshop/workspaces/_id/channel-templates/_tplId_.post.mjs +2 -2
  377. package/.output/server/chunks/routes/renderer.mjs +2 -2
  378. package/.output/server/chunks/virtual/entry.mjs +551 -824
  379. package/.output/server/chunks/virtual/entry.mjs.map +1 -1
  380. package/.output/server/chunks/virtual/precomputed.mjs +1 -1
  381. package/.output/server/package.json +1 -1
  382. package/README-zh.md +17 -0
  383. package/README.md +20 -0
  384. package/app/components/AppSidebar.vue +1 -0
  385. package/app/components/analysis/AnalysisFilterCard.vue +160 -0
  386. package/app/components/analysis/AnalysisPageHead.vue +47 -0
  387. package/app/components/analysis/AnalysisTable.vue +306 -0
  388. package/app/composables/useRouteMeta.ts +1 -0
  389. package/app/config/schema.ts +1 -0
  390. package/app/pages/analysis/composables/useAnalysisFeed.ts +85 -0
  391. package/app/pages/analysis/index.vue +92 -0
  392. package/app/pages/analysis/types.ts +44 -0
  393. package/cli/commands/mcp.mjs +160 -154
  394. package/config.yml +1 -1
  395. package/i18n/locales/en.ts +55 -0
  396. package/i18n/locales/zh-CN.ts +55 -0
  397. package/mcp/aw-mcp-server.mjs +799 -796
  398. package/package.json +2 -2
  399. package/scripts/onboarding/onboard.mjs +5 -2
  400. package/scripts/onboarding/sim-twin.mjs +312 -0
  401. package/server/api/workshop/analysis/[id].delete.ts +30 -0
  402. package/server/api/workshop/analysis/[id].get.ts +23 -0
  403. package/server/api/workshop/analysis/index.get.ts +33 -0
  404. package/server/plugins/workshop.ts +4 -0
  405. package/server/repositories/user.repository.ts +2 -2
  406. package/server/services/workshop/agents/host-tool-bridge/catalog.ts +4 -1
  407. package/server/services/workshop/agents/host-tool-bridge/tools/industrial.ts +5 -2
  408. package/server/services/workshop/agents/industrial/analysis-tools.ts +242 -0
  409. package/server/services/workshop/agents/industrial/index.ts +1 -0
  410. package/server/services/workshop/agents/industrial/ops-tools.ts +3 -2
  411. package/server/services/workshop/analysis/analysis.repo.ts +189 -0
  412. package/server/services/workshop/db/database/schema.ts +28 -1
  413. package/server/services/workshop/db/ops.repo.ts +1 -1
  414. package/server/services/workshop/db/retention.ts +2 -0
  415. package/server/services/workshop/db/schema.sql +27 -0
  416. package/server/services/workshop/settings.ts +1 -0
  417. package/shared/config/schema.json +1 -0
  418. package/.output/public/_nuxt/B-Y_rsfn.js +0 -106
  419. package/.output/public/_nuxt/B02cxZz72.js +0 -1
  420. package/.output/public/_nuxt/BAqtRt0q.js +0 -1
  421. package/.output/public/_nuxt/BKHd_sKD2.js +0 -47
  422. package/.output/public/_nuxt/BXKCB3rS.js +0 -1
  423. package/.output/public/_nuxt/BhrnGVGz.js +0 -1
  424. package/.output/public/_nuxt/BikIgp9R.js +0 -1
  425. package/.output/public/_nuxt/BkGqyjWm.js +0 -3
  426. package/.output/public/_nuxt/Bn1N3mJv.js +0 -1
  427. package/.output/public/_nuxt/Br2LgfbH2.js +0 -13
  428. package/.output/public/_nuxt/BtNT93vm2.js +0 -1
  429. package/.output/public/_nuxt/BtYg4aGR2.js +0 -1
  430. package/.output/public/_nuxt/C4X_Z1lA.js +0 -1
  431. package/.output/public/_nuxt/CBATzTUf.js +0 -13
  432. package/.output/public/_nuxt/CEP4UrDv.js +0 -1
  433. package/.output/public/_nuxt/CIPKYgrH2.js +0 -1
  434. package/.output/public/_nuxt/CPSHP_EI.js +0 -1
  435. package/.output/public/_nuxt/CSyIwYcJ2.js +0 -1
  436. package/.output/public/_nuxt/CZkTlW93.js +0 -2
  437. package/.output/public/_nuxt/CZyYdpqZ2.js +0 -1
  438. package/.output/public/_nuxt/CeDkXWCz.js +0 -1
  439. package/.output/public/_nuxt/Cl19UD7U.js +0 -1
  440. package/.output/public/_nuxt/ClrkV0C4.js +0 -1
  441. package/.output/public/_nuxt/CoGETbe-2.js +0 -1
  442. package/.output/public/_nuxt/CuRtzvsa2.js +0 -1
  443. package/.output/public/_nuxt/Cv_H1gOM2.js +0 -1
  444. package/.output/public/_nuxt/D5i2ofVw2.js +0 -1
  445. package/.output/public/_nuxt/D6XGn5vM.js +0 -2
  446. package/.output/public/_nuxt/D6c5ppqB.js +0 -1
  447. package/.output/public/_nuxt/D8VQGThE.js +0 -28
  448. package/.output/public/_nuxt/DBwuADr82.js +0 -1
  449. package/.output/public/_nuxt/DTZO6WMs2.js +0 -1
  450. package/.output/public/_nuxt/DfqRQSFn.js +0 -19
  451. package/.output/public/_nuxt/DraEWn4N2.js +0 -1
  452. package/.output/public/_nuxt/DyMgrV29.js +0 -1
  453. package/.output/public/_nuxt/H7Rbu32y2.js +0 -1
  454. package/.output/public/_nuxt/TjGWqrHo.js +0 -1
  455. package/.output/public/_nuxt/VVomhVqu2.js +0 -1
  456. package/.output/public/_nuxt/YDs3mbQu2.js +0 -1
  457. package/.output/public/_nuxt/Z3MSTcdu2.js +0 -1
  458. package/.output/public/_nuxt/_vR_sc7t.js +0 -24
  459. package/.output/public/_nuxt/builds/meta/082ac92a-d8d0-4e78-8d5a-b4a610080231.json +0 -1
  460. package/.output/public/_nuxt/gbaq2UOO.js +0 -1
  461. package/.output/public/_nuxt/o-G6YtmK2.js +0 -1
  462. package/.output/public/_nuxt/ylowSquM2.js +0 -1
  463. package/.output/server/chunks/build/agents-BTsbna5H.mjs.map +0 -1
  464. package/.output/server/chunks/build/channel-templates-BPKJ8e4l.mjs.map +0 -1
  465. package/.output/server/chunks/build/input-CobQ5LJ5.mjs.map +0 -1
  466. package/.output/server/chunks/build/permissions-D6mQw_9j.mjs.map +0 -1
  467. package/.output/server/chunks/build/settings-Cl_KRyEn.mjs.map +0 -1
  468. package/.output/server/chunks/build/teams-CGDZHaQl.mjs.map +0 -1
  469. package/.output/server/chunks/build/tokens-BOYkZuoB.mjs.map +0 -1
  470. package/.output/server/chunks/build/users-B_pHStEa.mjs.map +0 -1
  471. package/.output/server/chunks/build/workshop-C0DefygA.mjs.map +0 -1
  472. package/scripts/_audit/.tmp/audit-data/dcw-params.json +0 -15
  473. package/scripts/_audit/.tmp/audit-data/dcws.json +0 -30
  474. package/scripts/_audit/aml-layout-diag.mjs +0 -83
  475. package/scripts/_audit/channel-inspect.mjs +0 -49
  476. package/scripts/_audit/cleanup-apply.mjs +0 -89
  477. package/scripts/_audit/cleanup-plan.mjs +0 -82
  478. package/scripts/_audit/contrast-check.mjs +0 -43
  479. package/scripts/_audit/dcw-controller-e2e.ts +0 -106
  480. package/scripts/_audit/dcw-flush-cost.ts +0 -43
  481. package/scripts/_audit/dcw-rollback-ledger.ts +0 -156
  482. package/scripts/_audit/dcw-unrecorded-write.ts +0 -171
  483. package/scripts/_audit/dcw-write-mutex.ts +0 -157
  484. package/scripts/_audit/design-shots.mjs +0 -145
  485. package/scripts/_audit/docs-font-probe.mjs +0 -68
  486. package/scripts/_audit/docs-probe.mjs +0 -107
  487. package/scripts/_audit/docs-shots.mjs +0 -171
  488. package/scripts/_audit/docs-v3-verify.mjs +0 -255
  489. package/scripts/_audit/docs-vue-lint.mjs +0 -81
  490. package/scripts/_audit/docs-vue-lint2.mjs +0 -91
  491. package/scripts/_audit/exp-cost-scaling.mjs +0 -57
  492. package/scripts/_audit/exp-envelope-and-png.mjs +0 -78
  493. package/scripts/_audit/exp-png-decode.mjs +0 -67
  494. package/scripts/_audit/exp-retention-plan.mjs +0 -61
  495. package/scripts/_audit/exp-retention-rescan.mjs +0 -42
  496. package/scripts/_audit/exp-sweep-fairness.mjs +0 -50
  497. package/scripts/_audit/feature-audit-e2e.mjs +0 -342
  498. package/scripts/_audit/fix-settings-count.mjs +0 -57
  499. package/scripts/_audit/full-e2e-adopt.mjs +0 -238
  500. package/scripts/_audit/full-e2e-close-loop.mjs +0 -134
  501. package/scripts/_audit/full-e2e-retrain.mjs +0 -320
  502. package/scripts/_audit/full-e2e-supplement.mjs +0 -192
  503. package/scripts/_audit/full-e2e-ui-final.mjs +0 -111
  504. package/scripts/_audit/full-e2e-ui-mount.mjs +0 -111
  505. package/scripts/_audit/full-feature-e2e-20260927.mjs +0 -627
  506. package/scripts/_audit/glass-verify.mjs +0 -155
  507. package/scripts/_audit/hydration-diff.mjs +0 -104
  508. package/scripts/_audit/hydration-head.mjs +0 -36
  509. package/scripts/_audit/hydration-probe.mjs +0 -59
  510. package/scripts/_audit/idd-scenarios-e2e.mjs +0 -239
  511. package/scripts/_audit/kb-diag-complete.mjs +0 -261
  512. package/scripts/_audit/kb-diag-complete2.mjs +0 -271
  513. package/scripts/_audit/kb-diag-loop-e2e.mjs +0 -357
  514. package/scripts/_audit/kb-diag-loop-mock.mjs +0 -416
  515. package/scripts/_audit/kb-diag-loop-v2.mjs +0 -314
  516. package/scripts/_audit/lead-matrix-test.mjs +0 -172
  517. package/scripts/_audit/plc-agent-task.mjs +0 -74
  518. package/scripts/_audit/plc-clean-scenario.mjs +0 -434
  519. package/scripts/_audit/plc-clean-shots.mjs +0 -161
  520. package/scripts/_audit/plc-fc10-probe.mjs +0 -30
  521. package/scripts/_audit/probe-binding.mjs +0 -114
  522. package/scripts/_audit/recipe-save-e2e.mjs +0 -365
  523. package/scripts/_audit/review-fix-verify.mjs +0 -158
  524. package/scripts/_audit/runtime-dir-e2e.mjs +0 -393
  525. package/scripts/_audit/town-focus-shot.mjs +0 -129
  526. package/scripts/_audit/town-reposition.mjs +0 -85
  527. package/scripts/_audit/verify-cleanup.mjs +0 -67
  528. package/scripts/_audit/verify-data-integrity.mjs +0 -112
  529. package/scripts/_audit/watchdog-recovery-test.mjs +0 -149
  530. package/scripts/_dbg-optloop-ui-shots.mjs +0 -52
  531. /package/.output/public/_nuxt/{4RTUlYvj2.js → 4RTUlYvj.js} +0 -0
  532. /package/.output/public/_nuxt/{BBhLVYdM.js → BBhLVYdM2.js} +0 -0
  533. /package/.output/public/_nuxt/{BG7XSX-S2.js → BG7XSX-S.js} +0 -0
  534. /package/.output/public/_nuxt/{BU7WuuKh.js → BU7WuuKh2.js} +0 -0
  535. /package/.output/public/_nuxt/{BrRX-l9B2.js → BrRX-l9B.js} +0 -0
  536. /package/.output/public/_nuxt/{CHyzK5m52.js → CHyzK5m5.js} +0 -0
  537. /package/.output/public/_nuxt/{Ckafrjnw2.js → Ckafrjnw.js} +0 -0
  538. /package/.output/public/_nuxt/{D1Xw30Dj2.js → D1Xw30Dj.js} +0 -0
  539. /package/.output/public/_nuxt/{DEhjFhZ2.js → DEhjFhZ22.js} +0 -0
  540. /package/.output/public/_nuxt/{DdNujZN5.js → DdNujZN52.js} +0 -0
  541. /package/.output/public/_nuxt/{DzwIZ81f.js → DzwIZ81f2.js} +0 -0
  542. /package/.output/public/_nuxt/{M6NcguDO.js → M6NcguDO2.js} +0 -0
  543. /package/.output/public/_nuxt/{MW-V7IIP2.js → MW-V7IIP.js} +0 -0
  544. /package/.output/public/_nuxt/{WmMwIS4y.js → WmMwIS4y2.js} +0 -0
  545. /package/.output/public/_nuxt/{qIQFsHtF.js → qIQFsHtF2.js} +0 -0
@@ -0,0 +1,3362 @@
1
+ import { w as withInstall, k as useConfigInject_default, z as filterEmpty, S as isValidElement, T as isFragment, q as classNames, o as _extends, U as getTransitionName$1, p as cloneElement, v as initDefaultProps, x as genComponentStyleHook, V as getStyle, P as PropTypes, W as getSlot, X as getEvents, Y as contains, Z as PortalWrapper_default, $ as hasProp, a0 as getComponent, a1 as findDOMNode, a2 as addEventListenerWrap, a3 as useProvidePortal, l as getPropsSlot, H as objectType, a4 as getOptionProps, r as _objectSpread2$1, m as flattenChildren, a5 as getMotion, s as getTransitionProps, a6 as supportsPassive_default, y as merge, a7 as initZoomMotion, L as resetComponent } from '../virtual/entry.mjs';
2
+ import { defineComponent, computed, ref, watch, createVNode, shallowRef, watchEffect, unref, Fragment, provide, inject, toRaw, nextTick, Transition, toRef, withDirectives, withModifiers, vShow, resolveDirective } from 'vue';
3
+
4
+ //#region node_modules/.pnpm/resize-observer-polyfill@1.5.1/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js
5
+ /**
6
+ * A collection of shims that provide minimal functionality of the ES6 collections.
7
+ *
8
+ * These implementations are not meant to be used outside of the ResizeObserver
9
+ * modules as they cover only a limited range of use cases.
10
+ */
11
+ var MapShim = (function() {
12
+ if (typeof Map !== "undefined") return Map;
13
+ /**
14
+ * Returns index in provided array that matches the specified key.
15
+ *
16
+ * @param {Array<Array>} arr
17
+ * @param {*} key
18
+ * @returns {number}
19
+ */
20
+ function getIndex(arr, key) {
21
+ var result = -1;
22
+ arr.some(function(entry, index) {
23
+ if (entry[0] === key) {
24
+ result = index;
25
+ return true;
26
+ }
27
+ return false;
28
+ });
29
+ return result;
30
+ }
31
+ return function() {
32
+ function class_1() {
33
+ this.__entries__ = [];
34
+ }
35
+ Object.defineProperty(class_1.prototype, "size", {
36
+ /**
37
+ * @returns {boolean}
38
+ */
39
+ get: function() {
40
+ return this.__entries__.length;
41
+ },
42
+ enumerable: true,
43
+ configurable: true
44
+ });
45
+ /**
46
+ * @param {*} key
47
+ * @returns {*}
48
+ */
49
+ class_1.prototype.get = function(key) {
50
+ var index = getIndex(this.__entries__, key);
51
+ var entry = this.__entries__[index];
52
+ return entry && entry[1];
53
+ };
54
+ /**
55
+ * @param {*} key
56
+ * @param {*} value
57
+ * @returns {void}
58
+ */
59
+ class_1.prototype.set = function(key, value) {
60
+ var index = getIndex(this.__entries__, key);
61
+ if (~index) this.__entries__[index][1] = value;
62
+ else this.__entries__.push([key, value]);
63
+ };
64
+ /**
65
+ * @param {*} key
66
+ * @returns {void}
67
+ */
68
+ class_1.prototype.delete = function(key) {
69
+ var entries = this.__entries__;
70
+ var index = getIndex(entries, key);
71
+ if (~index) entries.splice(index, 1);
72
+ };
73
+ /**
74
+ * @param {*} key
75
+ * @returns {void}
76
+ */
77
+ class_1.prototype.has = function(key) {
78
+ return !!~getIndex(this.__entries__, key);
79
+ };
80
+ /**
81
+ * @returns {void}
82
+ */
83
+ class_1.prototype.clear = function() {
84
+ this.__entries__.splice(0);
85
+ };
86
+ /**
87
+ * @param {Function} callback
88
+ * @param {*} [ctx=null]
89
+ * @returns {void}
90
+ */
91
+ class_1.prototype.forEach = function(callback, ctx) {
92
+ if (ctx === void 0) ctx = null;
93
+ for (var _i = 0, _a = this.__entries__; _i < _a.length; _i++) {
94
+ var entry = _a[_i];
95
+ callback.call(ctx, entry[1], entry[0]);
96
+ }
97
+ };
98
+ return class_1;
99
+ }();
100
+ })();
101
+ var global$1 = (function() {
102
+ if (typeof global !== "undefined" && global.Math === Math) return global;
103
+ if (typeof self !== "undefined" && self.Math === Math) return self;
104
+ return Function("return this")();
105
+ })();
106
+ /**
107
+ * A shim for the requestAnimationFrame which falls back to the setTimeout if
108
+ * first one is not supported.
109
+ *
110
+ * @returns {number} Requests' identifier.
111
+ */
112
+ var requestAnimationFrame$1 = (function() {
113
+ if (typeof requestAnimationFrame === "function") return requestAnimationFrame.bind(global$1);
114
+ return function(callback) {
115
+ return setTimeout(function() {
116
+ return callback(Date.now());
117
+ }, 1e3 / 60);
118
+ };
119
+ })();
120
+ var trailingTimeout = 2;
121
+ /**
122
+ * Creates a wrapper function which ensures that provided callback will be
123
+ * invoked only once during the specified delay period.
124
+ *
125
+ * @param {Function} callback - Function to be invoked after the delay period.
126
+ * @param {number} delay - Delay after which to invoke callback.
127
+ * @returns {Function}
128
+ */
129
+ function throttle(callback, delay) {
130
+ var leadingCall = false, trailingCall = false, lastCallTime = 0;
131
+ /**
132
+ * Invokes the original callback function and schedules new invocation if
133
+ * the "proxy" was called during current request.
134
+ *
135
+ * @returns {void}
136
+ */
137
+ function resolvePending() {
138
+ if (leadingCall) {
139
+ leadingCall = false;
140
+ callback();
141
+ }
142
+ if (trailingCall) proxy();
143
+ }
144
+ /**
145
+ * Callback invoked after the specified delay. It will further postpone
146
+ * invocation of the original function delegating it to the
147
+ * requestAnimationFrame.
148
+ *
149
+ * @returns {void}
150
+ */
151
+ function timeoutCallback() {
152
+ requestAnimationFrame$1(resolvePending);
153
+ }
154
+ /**
155
+ * Schedules invocation of the original function.
156
+ *
157
+ * @returns {void}
158
+ */
159
+ function proxy() {
160
+ var timeStamp = Date.now();
161
+ if (leadingCall) {
162
+ if (timeStamp - lastCallTime < trailingTimeout) return;
163
+ trailingCall = true;
164
+ } else {
165
+ leadingCall = true;
166
+ trailingCall = false;
167
+ setTimeout(timeoutCallback, delay);
168
+ }
169
+ lastCallTime = timeStamp;
170
+ }
171
+ return proxy;
172
+ }
173
+ var REFRESH_DELAY = 20;
174
+ var transitionKeys = [
175
+ "top",
176
+ "right",
177
+ "bottom",
178
+ "left",
179
+ "width",
180
+ "height",
181
+ "size",
182
+ "weight"
183
+ ];
184
+ /**
185
+ * Singleton controller class which handles updates of ResizeObserver instances.
186
+ */
187
+ var ResizeObserverController = function() {
188
+ /**
189
+ * Creates a new instance of ResizeObserverController.
190
+ *
191
+ * @private
192
+ */
193
+ function ResizeObserverController() {
194
+ /**
195
+ * Indicates whether DOM listeners have been added.
196
+ *
197
+ * @private {boolean}
198
+ */
199
+ this.connected_ = false;
200
+ /**
201
+ * Tells that controller has subscribed for Mutation Events.
202
+ *
203
+ * @private {boolean}
204
+ */
205
+ this.mutationEventsAdded_ = false;
206
+ /**
207
+ * Keeps reference to the instance of MutationObserver.
208
+ *
209
+ * @private {MutationObserver}
210
+ */
211
+ this.mutationsObserver_ = null;
212
+ /**
213
+ * A list of connected observers.
214
+ *
215
+ * @private {Array<ResizeObserverSPI>}
216
+ */
217
+ this.observers_ = [];
218
+ this.onTransitionEnd_ = this.onTransitionEnd_.bind(this);
219
+ this.refresh = throttle(this.refresh.bind(this), REFRESH_DELAY);
220
+ }
221
+ /**
222
+ * Adds observer to observers list.
223
+ *
224
+ * @param {ResizeObserverSPI} observer - Observer to be added.
225
+ * @returns {void}
226
+ */
227
+ ResizeObserverController.prototype.addObserver = function(observer) {
228
+ if (!~this.observers_.indexOf(observer)) this.observers_.push(observer);
229
+ if (!this.connected_) this.connect_();
230
+ };
231
+ /**
232
+ * Removes observer from observers list.
233
+ *
234
+ * @param {ResizeObserverSPI} observer - Observer to be removed.
235
+ * @returns {void}
236
+ */
237
+ ResizeObserverController.prototype.removeObserver = function(observer) {
238
+ var observers = this.observers_;
239
+ var index = observers.indexOf(observer);
240
+ if (~index) observers.splice(index, 1);
241
+ if (!observers.length && this.connected_) this.disconnect_();
242
+ };
243
+ /**
244
+ * Invokes the update of observers. It will continue running updates insofar
245
+ * it detects changes.
246
+ *
247
+ * @returns {void}
248
+ */
249
+ ResizeObserverController.prototype.refresh = function() {
250
+ if (this.updateObservers_()) this.refresh();
251
+ };
252
+ /**
253
+ * Updates every observer from observers list and notifies them of queued
254
+ * entries.
255
+ *
256
+ * @private
257
+ * @returns {boolean} Returns "true" if any observer has detected changes in
258
+ * dimensions of it's elements.
259
+ */
260
+ ResizeObserverController.prototype.updateObservers_ = function() {
261
+ var activeObservers = this.observers_.filter(function(observer) {
262
+ return observer.gatherActive(), observer.hasActive();
263
+ });
264
+ activeObservers.forEach(function(observer) {
265
+ return observer.broadcastActive();
266
+ });
267
+ return activeObservers.length > 0;
268
+ };
269
+ /**
270
+ * Initializes DOM listeners.
271
+ *
272
+ * @private
273
+ * @returns {void}
274
+ */
275
+ ResizeObserverController.prototype.connect_ = function() {
276
+ return;
277
+ };
278
+ /**
279
+ * Removes DOM listeners.
280
+ *
281
+ * @private
282
+ * @returns {void}
283
+ */
284
+ ResizeObserverController.prototype.disconnect_ = function() {
285
+ return;
286
+ };
287
+ /**
288
+ * "Transitionend" event handler.
289
+ *
290
+ * @private
291
+ * @param {TransitionEvent} event
292
+ * @returns {void}
293
+ */
294
+ ResizeObserverController.prototype.onTransitionEnd_ = function(_a) {
295
+ var _b = _a.propertyName, propertyName = _b === void 0 ? "" : _b;
296
+ if (transitionKeys.some(function(key) {
297
+ return !!~propertyName.indexOf(key);
298
+ })) this.refresh();
299
+ };
300
+ /**
301
+ * Returns instance of the ResizeObserverController.
302
+ *
303
+ * @returns {ResizeObserverController}
304
+ */
305
+ ResizeObserverController.getInstance = function() {
306
+ if (!this.instance_) this.instance_ = new ResizeObserverController();
307
+ return this.instance_;
308
+ };
309
+ /**
310
+ * Holds reference to the controller's instance.
311
+ *
312
+ * @private {ResizeObserverController}
313
+ */
314
+ ResizeObserverController.instance_ = null;
315
+ return ResizeObserverController;
316
+ }();
317
+ /**
318
+ * Defines non-writable/enumerable properties of the provided target object.
319
+ *
320
+ * @param {Object} target - Object for which to define properties.
321
+ * @param {Object} props - Properties to be defined.
322
+ * @returns {Object} Target object.
323
+ */
324
+ var defineConfigurable = (function(target, props) {
325
+ for (var _i = 0, _a = Object.keys(props); _i < _a.length; _i++) {
326
+ var key = _a[_i];
327
+ Object.defineProperty(target, key, {
328
+ value: props[key],
329
+ enumerable: false,
330
+ writable: false,
331
+ configurable: true
332
+ });
333
+ }
334
+ return target;
335
+ });
336
+ /**
337
+ * Returns the global object associated with provided element.
338
+ *
339
+ * @param {Object} target
340
+ * @returns {Object}
341
+ */
342
+ var getWindowOf = (function(target) {
343
+ return target && target.ownerDocument && target.ownerDocument.defaultView || global$1;
344
+ });
345
+ var emptyRect = createRectInit(0, 0, 0, 0);
346
+ /**
347
+ * Calculates an appropriate content rectangle for provided html or svg element.
348
+ *
349
+ * @param {Element} target - Element content rectangle of which needs to be calculated.
350
+ * @returns {DOMRectInit}
351
+ */
352
+ function getContentRect(target) {
353
+ return emptyRect;
354
+ }
355
+ /**
356
+ * Creates rectangle with an interface of the DOMRectReadOnly.
357
+ * Spec: https://drafts.fxtf.org/geometry/#domrectreadonly
358
+ *
359
+ * @param {DOMRectInit} rectInit - Object with rectangle's x/y coordinates and dimensions.
360
+ * @returns {DOMRectReadOnly}
361
+ */
362
+ function createReadOnlyRect(_a) {
363
+ var x = _a.x, y = _a.y, width = _a.width, height = _a.height;
364
+ var rect = Object.create((typeof DOMRectReadOnly !== "undefined" ? DOMRectReadOnly : Object).prototype);
365
+ defineConfigurable(rect, {
366
+ x,
367
+ y,
368
+ width,
369
+ height,
370
+ top: y,
371
+ right: x + width,
372
+ bottom: height + y,
373
+ left: x
374
+ });
375
+ return rect;
376
+ }
377
+ /**
378
+ * Creates DOMRectInit object based on the provided dimensions and the x/y coordinates.
379
+ * Spec: https://drafts.fxtf.org/geometry/#dictdef-domrectinit
380
+ *
381
+ * @param {number} x - X coordinate.
382
+ * @param {number} y - Y coordinate.
383
+ * @param {number} width - Rectangle's width.
384
+ * @param {number} height - Rectangle's height.
385
+ * @returns {DOMRectInit}
386
+ */
387
+ function createRectInit(x, y, width, height) {
388
+ return {
389
+ x,
390
+ y,
391
+ width,
392
+ height
393
+ };
394
+ }
395
+ /**
396
+ * Class that is responsible for computations of the content rectangle of
397
+ * provided DOM element and for keeping track of it's changes.
398
+ */
399
+ var ResizeObservation = function() {
400
+ /**
401
+ * Creates an instance of ResizeObservation.
402
+ *
403
+ * @param {Element} target - Element to be observed.
404
+ */
405
+ function ResizeObservation(target) {
406
+ /**
407
+ * Broadcasted width of content rectangle.
408
+ *
409
+ * @type {number}
410
+ */
411
+ this.broadcastWidth = 0;
412
+ /**
413
+ * Broadcasted height of content rectangle.
414
+ *
415
+ * @type {number}
416
+ */
417
+ this.broadcastHeight = 0;
418
+ /**
419
+ * Reference to the last observed content rectangle.
420
+ *
421
+ * @private {DOMRectInit}
422
+ */
423
+ this.contentRect_ = createRectInit(0, 0, 0, 0);
424
+ this.target = target;
425
+ }
426
+ /**
427
+ * Updates content rectangle and tells whether it's width or height properties
428
+ * have changed since the last broadcast.
429
+ *
430
+ * @returns {boolean}
431
+ */
432
+ ResizeObservation.prototype.isActive = function() {
433
+ var rect = getContentRect(this.target);
434
+ this.contentRect_ = rect;
435
+ return rect.width !== this.broadcastWidth || rect.height !== this.broadcastHeight;
436
+ };
437
+ /**
438
+ * Updates 'broadcastWidth' and 'broadcastHeight' properties with a data
439
+ * from the corresponding properties of the last observed content rectangle.
440
+ *
441
+ * @returns {DOMRectInit} Last observed content rectangle.
442
+ */
443
+ ResizeObservation.prototype.broadcastRect = function() {
444
+ var rect = this.contentRect_;
445
+ this.broadcastWidth = rect.width;
446
+ this.broadcastHeight = rect.height;
447
+ return rect;
448
+ };
449
+ return ResizeObservation;
450
+ }();
451
+ var ResizeObserverEntry = function() {
452
+ /**
453
+ * Creates an instance of ResizeObserverEntry.
454
+ *
455
+ * @param {Element} target - Element that is being observed.
456
+ * @param {DOMRectInit} rectInit - Data of the element's content rectangle.
457
+ */
458
+ function ResizeObserverEntry(target, rectInit) {
459
+ var contentRect = createReadOnlyRect(rectInit);
460
+ defineConfigurable(this, {
461
+ target,
462
+ contentRect
463
+ });
464
+ }
465
+ return ResizeObserverEntry;
466
+ }();
467
+ var ResizeObserverSPI = function() {
468
+ /**
469
+ * Creates a new instance of ResizeObserver.
470
+ *
471
+ * @param {ResizeObserverCallback} callback - Callback function that is invoked
472
+ * when one of the observed elements changes it's content dimensions.
473
+ * @param {ResizeObserverController} controller - Controller instance which
474
+ * is responsible for the updates of observer.
475
+ * @param {ResizeObserver} callbackCtx - Reference to the public
476
+ * ResizeObserver instance which will be passed to callback function.
477
+ */
478
+ function ResizeObserverSPI(callback, controller, callbackCtx) {
479
+ /**
480
+ * Collection of resize observations that have detected changes in dimensions
481
+ * of elements.
482
+ *
483
+ * @private {Array<ResizeObservation>}
484
+ */
485
+ this.activeObservations_ = [];
486
+ /**
487
+ * Registry of the ResizeObservation instances.
488
+ *
489
+ * @private {Map<Element, ResizeObservation>}
490
+ */
491
+ this.observations_ = new MapShim();
492
+ if (typeof callback !== "function") throw new TypeError("The callback provided as parameter 1 is not a function.");
493
+ this.callback_ = callback;
494
+ this.controller_ = controller;
495
+ this.callbackCtx_ = callbackCtx;
496
+ }
497
+ /**
498
+ * Starts observing provided element.
499
+ *
500
+ * @param {Element} target - Element to be observed.
501
+ * @returns {void}
502
+ */
503
+ ResizeObserverSPI.prototype.observe = function(target) {
504
+ if (!arguments.length) throw new TypeError("1 argument required, but only 0 present.");
505
+ if (typeof Element === "undefined" || !(Element instanceof Object)) return;
506
+ if (!(target instanceof getWindowOf(target).Element)) throw new TypeError("parameter 1 is not of type \"Element\".");
507
+ var observations = this.observations_;
508
+ if (observations.has(target)) return;
509
+ observations.set(target, new ResizeObservation(target));
510
+ this.controller_.addObserver(this);
511
+ this.controller_.refresh();
512
+ };
513
+ /**
514
+ * Stops observing provided element.
515
+ *
516
+ * @param {Element} target - Element to stop observing.
517
+ * @returns {void}
518
+ */
519
+ ResizeObserverSPI.prototype.unobserve = function(target) {
520
+ if (!arguments.length) throw new TypeError("1 argument required, but only 0 present.");
521
+ if (typeof Element === "undefined" || !(Element instanceof Object)) return;
522
+ if (!(target instanceof getWindowOf(target).Element)) throw new TypeError("parameter 1 is not of type \"Element\".");
523
+ var observations = this.observations_;
524
+ if (!observations.has(target)) return;
525
+ observations.delete(target);
526
+ if (!observations.size) this.controller_.removeObserver(this);
527
+ };
528
+ /**
529
+ * Stops observing all elements.
530
+ *
531
+ * @returns {void}
532
+ */
533
+ ResizeObserverSPI.prototype.disconnect = function() {
534
+ this.clearActive();
535
+ this.observations_.clear();
536
+ this.controller_.removeObserver(this);
537
+ };
538
+ /**
539
+ * Collects observation instances the associated element of which has changed
540
+ * it's content rectangle.
541
+ *
542
+ * @returns {void}
543
+ */
544
+ ResizeObserverSPI.prototype.gatherActive = function() {
545
+ var _this = this;
546
+ this.clearActive();
547
+ this.observations_.forEach(function(observation) {
548
+ if (observation.isActive()) _this.activeObservations_.push(observation);
549
+ });
550
+ };
551
+ /**
552
+ * Invokes initial callback function with a list of ResizeObserverEntry
553
+ * instances collected from active resize observations.
554
+ *
555
+ * @returns {void}
556
+ */
557
+ ResizeObserverSPI.prototype.broadcastActive = function() {
558
+ if (!this.hasActive()) return;
559
+ var ctx = this.callbackCtx_;
560
+ var entries = this.activeObservations_.map(function(observation) {
561
+ return new ResizeObserverEntry(observation.target, observation.broadcastRect());
562
+ });
563
+ this.callback_.call(ctx, entries, ctx);
564
+ this.clearActive();
565
+ };
566
+ /**
567
+ * Clears the collection of active observations.
568
+ *
569
+ * @returns {void}
570
+ */
571
+ ResizeObserverSPI.prototype.clearActive = function() {
572
+ this.activeObservations_.splice(0);
573
+ };
574
+ /**
575
+ * Tells whether observer has active observations.
576
+ *
577
+ * @returns {boolean}
578
+ */
579
+ ResizeObserverSPI.prototype.hasActive = function() {
580
+ return this.activeObservations_.length > 0;
581
+ };
582
+ return ResizeObserverSPI;
583
+ }();
584
+ var observers = typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : new MapShim();
585
+ /**
586
+ * ResizeObserver API. Encapsulates the ResizeObserver SPI implementation
587
+ * exposing only those methods and properties that are defined in the spec.
588
+ */
589
+ var ResizeObserver = function() {
590
+ /**
591
+ * Creates a new instance of ResizeObserver.
592
+ *
593
+ * @param {ResizeObserverCallback} callback - Callback that is invoked when
594
+ * dimensions of the observed elements change.
595
+ */
596
+ function ResizeObserver(callback) {
597
+ if (!(this instanceof ResizeObserver)) throw new TypeError("Cannot call a class as a function.");
598
+ if (!arguments.length) throw new TypeError("1 argument required, but only 0 present.");
599
+ var observer = new ResizeObserverSPI(callback, ResizeObserverController.getInstance(), this);
600
+ observers.set(this, observer);
601
+ }
602
+ return ResizeObserver;
603
+ }();
604
+ [
605
+ "observe",
606
+ "unobserve",
607
+ "disconnect"
608
+ ].forEach(function(method) {
609
+ ResizeObserver.prototype[method] = function() {
610
+ var _a;
611
+ return (_a = observers.get(this))[method].apply(_a, arguments);
612
+ };
613
+ });
614
+ var index = (function() {
615
+ if (typeof global$1.ResizeObserver !== "undefined") return global$1.ResizeObserver;
616
+ return ResizeObserver;
617
+ })();
618
+ //#endregion
619
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/_util/raf.js
620
+ var raf = (callback) => setTimeout(callback, 16);
621
+ var caf = (num) => clearTimeout(num);
622
+ var rafUUID = 0;
623
+ var rafIds = /* @__PURE__ */ new Map();
624
+ function cleanup(id) {
625
+ rafIds.delete(id);
626
+ }
627
+ function wrapperRaf(callback) {
628
+ let times = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
629
+ rafUUID += 1;
630
+ const id = rafUUID;
631
+ function callRef(leftTimes) {
632
+ if (leftTimes === 0) {
633
+ cleanup(id);
634
+ callback();
635
+ } else {
636
+ const realId = raf(() => {
637
+ callRef(leftTimes - 1);
638
+ });
639
+ rafIds.set(id, realId);
640
+ }
641
+ }
642
+ callRef(times);
643
+ return id;
644
+ }
645
+ wrapperRaf.cancel = (id) => {
646
+ const realId = rafIds.get(id);
647
+ cleanup(realId);
648
+ return caf(realId);
649
+ };
650
+ //#endregion
651
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/theme/interface/presetColors.js
652
+ var PresetColors = [
653
+ "blue",
654
+ "purple",
655
+ "cyan",
656
+ "green",
657
+ "magenta",
658
+ "pink",
659
+ "red",
660
+ "orange",
661
+ "yellow",
662
+ "volcano",
663
+ "geekblue",
664
+ "lime",
665
+ "gold"
666
+ ];
667
+ //#endregion
668
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/style/roundedArrow.js
669
+ var roundedArrow = (width, innerRadius, outerRadius, bgColor, boxShadow) => {
670
+ const unitWidth = width / 2;
671
+ const ax = 0;
672
+ const ay = unitWidth;
673
+ const bx = outerRadius * 1 / Math.sqrt(2);
674
+ const by = unitWidth - outerRadius * (1 - 1 / Math.sqrt(2));
675
+ const cx = unitWidth - innerRadius * (1 / Math.sqrt(2));
676
+ const cy = outerRadius * (Math.sqrt(2) - 1) + innerRadius * (1 / Math.sqrt(2));
677
+ const dx = 2 * unitWidth - cx;
678
+ const dy = cy;
679
+ const ex = 2 * unitWidth - bx;
680
+ const ey = by;
681
+ const fx = 2 * unitWidth - ax;
682
+ const fy = ay;
683
+ const shadowWidth = unitWidth * Math.sqrt(2) + outerRadius * (Math.sqrt(2) - 2);
684
+ const polygonOffset = outerRadius * (Math.sqrt(2) - 1);
685
+ return {
686
+ pointerEvents: "none",
687
+ width,
688
+ height: width,
689
+ overflow: "hidden",
690
+ "&::after": {
691
+ content: "\"\"",
692
+ position: "absolute",
693
+ width: shadowWidth,
694
+ height: shadowWidth,
695
+ bottom: 0,
696
+ insetInline: 0,
697
+ margin: "auto",
698
+ borderRadius: {
699
+ _skip_check_: true,
700
+ value: `0 0 ${innerRadius}px 0`
701
+ },
702
+ transform: "translateY(50%) rotate(-135deg)",
703
+ boxShadow,
704
+ zIndex: 0,
705
+ background: "transparent"
706
+ },
707
+ "&::before": {
708
+ position: "absolute",
709
+ bottom: 0,
710
+ insetInlineStart: 0,
711
+ width,
712
+ height: width / 2,
713
+ background: bgColor,
714
+ clipPath: {
715
+ _multi_value_: true,
716
+ value: [`polygon(${polygonOffset}px 100%, 50% ${polygonOffset}px, ${2 * unitWidth - polygonOffset}px 100%, ${polygonOffset}px 100%)`, `path('M ${ax} ${ay} A ${outerRadius} ${outerRadius} 0 0 0 ${bx} ${by} L ${cx} ${cy} A ${innerRadius} ${innerRadius} 0 0 1 ${dx} ${dy} L ${ex} ${ey} A ${outerRadius} ${outerRadius} 0 0 0 ${fx} ${fy} Z')`]
717
+ },
718
+ content: "\"\""
719
+ }
720
+ };
721
+ };
722
+ //#endregion
723
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/style/presetColor.js
724
+ function genPresetColor(token, genCss) {
725
+ return PresetColors.reduce((prev, colorKey) => {
726
+ const lightColor = token[`${colorKey}-1`];
727
+ const lightBorderColor = token[`${colorKey}-3`];
728
+ const darkColor = token[`${colorKey}-6`];
729
+ const textColor = token[`${colorKey}-7`];
730
+ return _extends(_extends({}, prev), genCss(colorKey, {
731
+ lightColor,
732
+ lightBorderColor,
733
+ darkColor,
734
+ textColor
735
+ }));
736
+ }, {});
737
+ }
738
+ //#endregion
739
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/vc-trigger/interface.js
740
+ function returnEmptyString() {
741
+ return "";
742
+ }
743
+ function returnDocument(element) {
744
+ if (element) return element.ownerDocument;
745
+ return (void 0).document;
746
+ }
747
+ function noop$1() {}
748
+ var triggerProps = () => ({
749
+ action: PropTypes.oneOfType([PropTypes.string, PropTypes.arrayOf(PropTypes.string)]).def([]),
750
+ showAction: PropTypes.any.def([]),
751
+ hideAction: PropTypes.any.def([]),
752
+ getPopupClassNameFromAlign: PropTypes.any.def(returnEmptyString),
753
+ onPopupVisibleChange: Function,
754
+ afterPopupVisibleChange: PropTypes.func.def(noop$1),
755
+ popup: PropTypes.any,
756
+ arrow: PropTypes.bool.def(true),
757
+ popupStyle: {
758
+ type: Object,
759
+ default: void 0
760
+ },
761
+ prefixCls: PropTypes.string.def("rc-trigger-popup"),
762
+ popupClassName: PropTypes.string.def(""),
763
+ popupPlacement: String,
764
+ builtinPlacements: PropTypes.object,
765
+ popupTransitionName: String,
766
+ popupAnimation: PropTypes.any,
767
+ mouseEnterDelay: PropTypes.number.def(0),
768
+ mouseLeaveDelay: PropTypes.number.def(.1),
769
+ zIndex: Number,
770
+ focusDelay: PropTypes.number.def(0),
771
+ blurDelay: PropTypes.number.def(.15),
772
+ getPopupContainer: Function,
773
+ getDocument: PropTypes.func.def(returnDocument),
774
+ forceRender: {
775
+ type: Boolean,
776
+ default: void 0
777
+ },
778
+ destroyPopupOnHide: {
779
+ type: Boolean,
780
+ default: false
781
+ },
782
+ mask: {
783
+ type: Boolean,
784
+ default: false
785
+ },
786
+ maskClosable: {
787
+ type: Boolean,
788
+ default: true
789
+ },
790
+ popupAlign: PropTypes.object.def(() => ({})),
791
+ popupVisible: {
792
+ type: Boolean,
793
+ default: void 0
794
+ },
795
+ defaultPopupVisible: {
796
+ type: Boolean,
797
+ default: false
798
+ },
799
+ maskTransitionName: String,
800
+ maskAnimation: String,
801
+ stretch: String,
802
+ alignPoint: {
803
+ type: Boolean,
804
+ default: void 0
805
+ },
806
+ autoDestroy: {
807
+ type: Boolean,
808
+ default: false
809
+ },
810
+ mobile: Object,
811
+ getTriggerDOMNode: Function
812
+ });
813
+ //#endregion
814
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/vc-trigger/Popup/interface.js
815
+ var innerProps = {
816
+ visible: Boolean,
817
+ prefixCls: String,
818
+ zIndex: Number,
819
+ destroyPopupOnHide: Boolean,
820
+ forceRender: Boolean,
821
+ arrow: {
822
+ type: Boolean,
823
+ default: true
824
+ },
825
+ animation: [String, Object],
826
+ transitionName: String,
827
+ stretch: { type: String },
828
+ align: { type: Object },
829
+ point: { type: Object },
830
+ getRootDomNode: { type: Function },
831
+ getClassNameFromAlign: { type: Function },
832
+ onAlign: { type: Function },
833
+ onMouseenter: { type: Function },
834
+ onMouseleave: { type: Function },
835
+ onMousedown: { type: Function },
836
+ onTouchstart: { type: Function }
837
+ };
838
+ var mobileProps = _extends(_extends({}, innerProps), { mobile: { type: Object } });
839
+ var popupProps = _extends(_extends({}, innerProps), {
840
+ mask: Boolean,
841
+ mobile: { type: Object },
842
+ maskAnimation: String,
843
+ maskTransitionName: String
844
+ });
845
+ //#endregion
846
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/vc-trigger/Popup/Mask.js
847
+ function Mask(props) {
848
+ const { prefixCls, visible, zIndex, mask, maskAnimation, maskTransitionName } = props;
849
+ if (!mask) return null;
850
+ let motion = {};
851
+ if (maskTransitionName || maskAnimation) motion = getMotion({
852
+ prefixCls,
853
+ transitionName: maskTransitionName,
854
+ animation: maskAnimation
855
+ });
856
+ return createVNode(Transition, _objectSpread2$1({ "appear": true }, motion), { default: () => [withDirectives(createVNode("div", {
857
+ "style": { zIndex },
858
+ "class": `${prefixCls}-mask`
859
+ }, null), [[resolveDirective("if"), visible]])] });
860
+ }
861
+ Mask.displayName = "Mask";
862
+ //#endregion
863
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/vc-trigger/Popup/MobilePopupInner.js
864
+ var MobilePopupInner_default = defineComponent({
865
+ compatConfig: { MODE: 3 },
866
+ name: "MobilePopupInner",
867
+ inheritAttrs: false,
868
+ props: mobileProps,
869
+ emits: [
870
+ "mouseenter",
871
+ "mouseleave",
872
+ "mousedown",
873
+ "touchstart",
874
+ "align"
875
+ ],
876
+ setup(props, _ref) {
877
+ let { expose, slots } = _ref;
878
+ const elementRef = ref();
879
+ expose({
880
+ forceAlign: () => {},
881
+ getElement: () => elementRef.value
882
+ });
883
+ return () => {
884
+ var _a;
885
+ const { zIndex, visible, prefixCls, mobile: { popupClassName, popupStyle, popupMotion = {}, popupRender } = {} } = props;
886
+ const mergedStyle = _extends({ zIndex }, popupStyle);
887
+ let childNode = flattenChildren((_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots));
888
+ if (childNode.length > 1) {
889
+ childNode = createVNode("div", { "class": `${prefixCls}-content` }, [childNode]);
890
+ }
891
+ if (popupRender) childNode = popupRender(childNode);
892
+ const mergedClassName = classNames(prefixCls, popupClassName);
893
+ return createVNode(Transition, _objectSpread2$1({ "ref": elementRef }, popupMotion), { default: () => [visible ? createVNode("div", {
894
+ "class": mergedClassName,
895
+ "style": mergedStyle
896
+ }, [childNode]) : null] });
897
+ };
898
+ }
899
+ });
900
+ var useVisibleStatus_default = ((visible, doMeasure) => {
901
+ const status = shallowRef(null);
902
+ const rafRef = shallowRef();
903
+ const destroyRef = shallowRef(false);
904
+ function setStatus(nextStatus) {
905
+ if (!destroyRef.value) status.value = nextStatus;
906
+ }
907
+ function cancelRaf() {
908
+ wrapperRaf.cancel(rafRef.value);
909
+ }
910
+ function goNextStatus(callback) {
911
+ cancelRaf();
912
+ rafRef.value = wrapperRaf(() => {
913
+ let newStatus = status.value;
914
+ switch (status.value) {
915
+ case "align":
916
+ newStatus = "motion";
917
+ break;
918
+ case "motion": newStatus = "stable";
919
+ }
920
+ setStatus(newStatus);
921
+ callback === null || callback === void 0 || callback();
922
+ });
923
+ }
924
+ watch(visible, () => {
925
+ setStatus("measure");
926
+ }, {
927
+ immediate: true,
928
+ flush: "post"
929
+ });
930
+ return [status, goNextStatus];
931
+ });
932
+ //#endregion
933
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/vc-trigger/Popup/useStretchStyle.js
934
+ var useStretchStyle_default = ((stretch) => {
935
+ const targetSize = shallowRef({
936
+ width: 0,
937
+ height: 0
938
+ });
939
+ function measureStretch(element) {
940
+ targetSize.value = {
941
+ width: element.offsetWidth,
942
+ height: element.offsetHeight
943
+ };
944
+ }
945
+ return [computed(() => {
946
+ const sizeStyle = {};
947
+ if (stretch.value) {
948
+ const { width, height } = targetSize.value;
949
+ if (stretch.value.indexOf("height") !== -1 && height) sizeStyle.height = `${height}px`;
950
+ else if (stretch.value.indexOf("minHeight") !== -1 && height) sizeStyle.minHeight = `${height}px`;
951
+ if (stretch.value.indexOf("width") !== -1 && width) sizeStyle.width = `${width}px`;
952
+ else if (stretch.value.indexOf("minWidth") !== -1 && width) sizeStyle.minWidth = `${width}px`;
953
+ }
954
+ return sizeStyle;
955
+ }), measureStretch];
956
+ });
957
+ //#endregion
958
+ //#region node_modules/.pnpm/dom-align@1.12.4/node_modules/dom-align/dist-web/index.js
959
+ function ownKeys(object, enumerableOnly) {
960
+ var keys = Object.keys(object);
961
+ if (Object.getOwnPropertySymbols) {
962
+ var symbols = Object.getOwnPropertySymbols(object);
963
+ enumerableOnly && (symbols = symbols.filter(function(sym) {
964
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
965
+ })), keys.push.apply(keys, symbols);
966
+ }
967
+ return keys;
968
+ }
969
+ function _objectSpread2(target) {
970
+ for (var i = 1; i < arguments.length; i++) {
971
+ var source = null != arguments[i] ? arguments[i] : {};
972
+ i % 2 ? ownKeys(Object(source), true).forEach(function(key) {
973
+ _defineProperty(target, key, source[key]);
974
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function(key) {
975
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
976
+ });
977
+ }
978
+ return target;
979
+ }
980
+ function _typeof(obj) {
981
+ "@babel/helpers - typeof";
982
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj) {
983
+ return typeof obj;
984
+ } : function(obj) {
985
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
986
+ }, _typeof(obj);
987
+ }
988
+ function _defineProperty(obj, key, value) {
989
+ if (key in obj) Object.defineProperty(obj, key, {
990
+ value,
991
+ enumerable: true,
992
+ configurable: true,
993
+ writable: true
994
+ });
995
+ else obj[key] = value;
996
+ return obj;
997
+ }
998
+ var vendorPrefix;
999
+ var jsCssMap = {
1000
+ Webkit: "-webkit-",
1001
+ Moz: "-moz-",
1002
+ ms: "-ms-",
1003
+ O: "-o-"
1004
+ };
1005
+ function getVendorPrefix() {
1006
+ if (vendorPrefix !== void 0) return vendorPrefix;
1007
+ vendorPrefix = "";
1008
+ var style = (void 0).createElement("p").style;
1009
+ var testProp = "Transform";
1010
+ for (var key in jsCssMap) if (key + testProp in style) vendorPrefix = key;
1011
+ return vendorPrefix;
1012
+ }
1013
+ function getTransitionName() {
1014
+ return getVendorPrefix() ? "".concat(getVendorPrefix(), "TransitionProperty") : "transitionProperty";
1015
+ }
1016
+ function getTransformName() {
1017
+ return getVendorPrefix() ? "".concat(getVendorPrefix(), "Transform") : "transform";
1018
+ }
1019
+ function setTransitionProperty(node, value) {
1020
+ var name = getTransitionName();
1021
+ if (name) {
1022
+ node.style[name] = value;
1023
+ if (name !== "transitionProperty") node.style.transitionProperty = value;
1024
+ }
1025
+ }
1026
+ function setTransform(node, value) {
1027
+ var name = getTransformName();
1028
+ if (name) {
1029
+ node.style[name] = value;
1030
+ if (name !== "transform") node.style.transform = value;
1031
+ }
1032
+ }
1033
+ function getTransitionProperty(node) {
1034
+ return node.style.transitionProperty || node.style[getTransitionName()];
1035
+ }
1036
+ function getTransformXY(node) {
1037
+ var style = (void 0).getComputedStyle(node, null);
1038
+ var transform = style.getPropertyValue("transform") || style.getPropertyValue(getTransformName());
1039
+ if (transform && transform !== "none") {
1040
+ var matrix = transform.replace(/[^0-9\-.,]/g, "").split(",");
1041
+ return {
1042
+ x: parseFloat(matrix[12] || matrix[4], 0),
1043
+ y: parseFloat(matrix[13] || matrix[5], 0)
1044
+ };
1045
+ }
1046
+ return {
1047
+ x: 0,
1048
+ y: 0
1049
+ };
1050
+ }
1051
+ var matrix2d = /matrix\((.*)\)/;
1052
+ var matrix3d = /matrix3d\((.*)\)/;
1053
+ function setTransformXY(node, xy) {
1054
+ var style = (void 0).getComputedStyle(node, null);
1055
+ var transform = style.getPropertyValue("transform") || style.getPropertyValue(getTransformName());
1056
+ if (transform && transform !== "none") {
1057
+ var arr;
1058
+ var match2d = transform.match(matrix2d);
1059
+ if (match2d) {
1060
+ match2d = match2d[1];
1061
+ arr = match2d.split(",").map(function(item) {
1062
+ return parseFloat(item, 10);
1063
+ });
1064
+ arr[4] = xy.x;
1065
+ arr[5] = xy.y;
1066
+ setTransform(node, "matrix(".concat(arr.join(","), ")"));
1067
+ } else {
1068
+ arr = transform.match(matrix3d)[1].split(",").map(function(item) {
1069
+ return parseFloat(item, 10);
1070
+ });
1071
+ arr[12] = xy.x;
1072
+ arr[13] = xy.y;
1073
+ setTransform(node, "matrix3d(".concat(arr.join(","), ")"));
1074
+ }
1075
+ } else setTransform(node, "translateX(".concat(xy.x, "px) translateY(").concat(xy.y, "px) translateZ(0)"));
1076
+ }
1077
+ var getComputedStyleX;
1078
+ function forceRelayout(elem) {
1079
+ var originalStyle = elem.style.display;
1080
+ elem.style.display = "none";
1081
+ elem.offsetHeight;
1082
+ elem.style.display = originalStyle;
1083
+ }
1084
+ function css(el, name, v) {
1085
+ var value = v;
1086
+ if (_typeof(name) === "object") {
1087
+ for (var i in name) if (name.hasOwnProperty(i)) css(el, i, name[i]);
1088
+ return;
1089
+ }
1090
+ if (typeof value !== "undefined") {
1091
+ if (typeof value === "number") value = "".concat(value, "px");
1092
+ el.style[name] = value;
1093
+ return;
1094
+ }
1095
+ return getComputedStyleX(el, name);
1096
+ }
1097
+ function getClientPosition(elem) {
1098
+ var box;
1099
+ var x;
1100
+ var y;
1101
+ var doc = elem.ownerDocument;
1102
+ var body = doc.body;
1103
+ var docElem = doc && doc.documentElement;
1104
+ box = elem.getBoundingClientRect();
1105
+ x = Math.floor(box.left);
1106
+ y = Math.floor(box.top);
1107
+ x -= docElem.clientLeft || body.clientLeft || 0;
1108
+ y -= docElem.clientTop || body.clientTop || 0;
1109
+ return {
1110
+ left: x,
1111
+ top: y
1112
+ };
1113
+ }
1114
+ function getScroll(w, top) {
1115
+ var ret = w["page".concat(top ? "Y" : "X", "Offset")];
1116
+ var method = "scroll".concat(top ? "Top" : "Left");
1117
+ if (typeof ret !== "number") {
1118
+ var d = w.document;
1119
+ ret = d.documentElement[method];
1120
+ if (typeof ret !== "number") ret = d.body[method];
1121
+ }
1122
+ return ret;
1123
+ }
1124
+ function getScrollLeft(w) {
1125
+ return getScroll(w);
1126
+ }
1127
+ function getScrollTop(w) {
1128
+ return getScroll(w, true);
1129
+ }
1130
+ function getOffset(el) {
1131
+ var pos = getClientPosition(el);
1132
+ var doc = el.ownerDocument;
1133
+ var w = doc.defaultView || doc.parentWindow;
1134
+ pos.left += getScrollLeft(w);
1135
+ pos.top += getScrollTop(w);
1136
+ return pos;
1137
+ }
1138
+ /**
1139
+ * A crude way of determining if an object is a window
1140
+ * @member util
1141
+ */
1142
+ function isWindow(obj) {
1143
+ return obj !== null && obj !== void 0 && obj == obj.window;
1144
+ }
1145
+ function getDocument(node) {
1146
+ if (isWindow(node)) return node.document;
1147
+ if (node.nodeType === 9) return node;
1148
+ return node.ownerDocument;
1149
+ }
1150
+ function getOffsetDirection(dir, option) {
1151
+ if (dir === "left") return option.useCssRight ? "right" : dir;
1152
+ return option.useCssBottom ? "bottom" : dir;
1153
+ }
1154
+ function oppositeOffsetDirection(dir) {
1155
+ if (dir === "left") return "right";
1156
+ else if (dir === "right") return "left";
1157
+ else if (dir === "top") return "bottom";
1158
+ else if (dir === "bottom") return "top";
1159
+ }
1160
+ function setLeftTop(elem, offset, option) {
1161
+ if (css(elem, "position") === "static") elem.style.position = "relative";
1162
+ var presetH = -999;
1163
+ var presetV = -999;
1164
+ var horizontalProperty = getOffsetDirection("left", option);
1165
+ var verticalProperty = getOffsetDirection("top", option);
1166
+ var oppositeHorizontalProperty = oppositeOffsetDirection(horizontalProperty);
1167
+ var oppositeVerticalProperty = oppositeOffsetDirection(verticalProperty);
1168
+ if (horizontalProperty !== "left") presetH = 999;
1169
+ if (verticalProperty !== "top") presetV = 999;
1170
+ var originalTransition = "";
1171
+ var originalOffset = getOffset(elem);
1172
+ if ("left" in offset || "top" in offset) {
1173
+ originalTransition = getTransitionProperty(elem) || "";
1174
+ setTransitionProperty(elem, "none");
1175
+ }
1176
+ if ("left" in offset) {
1177
+ elem.style[oppositeHorizontalProperty] = "";
1178
+ elem.style[horizontalProperty] = "".concat(presetH, "px");
1179
+ }
1180
+ if ("top" in offset) {
1181
+ elem.style[oppositeVerticalProperty] = "";
1182
+ elem.style[verticalProperty] = "".concat(presetV, "px");
1183
+ }
1184
+ forceRelayout(elem);
1185
+ var old = getOffset(elem);
1186
+ var originalStyle = {};
1187
+ for (var key in offset) if (offset.hasOwnProperty(key)) {
1188
+ var dir = getOffsetDirection(key, option);
1189
+ var preset = key === "left" ? presetH : presetV;
1190
+ var off = originalOffset[key] - old[key];
1191
+ if (dir === key) originalStyle[dir] = preset + off;
1192
+ else originalStyle[dir] = preset - off;
1193
+ }
1194
+ css(elem, originalStyle);
1195
+ forceRelayout(elem);
1196
+ if ("left" in offset || "top" in offset) setTransitionProperty(elem, originalTransition);
1197
+ var ret = {};
1198
+ for (var _key in offset) if (offset.hasOwnProperty(_key)) {
1199
+ var _dir = getOffsetDirection(_key, option);
1200
+ var _off = offset[_key] - originalOffset[_key];
1201
+ if (_key === _dir) ret[_dir] = originalStyle[_dir] + _off;
1202
+ else ret[_dir] = originalStyle[_dir] - _off;
1203
+ }
1204
+ css(elem, ret);
1205
+ }
1206
+ function setTransform$1(elem, offset) {
1207
+ var originalOffset = getOffset(elem);
1208
+ var originalXY = getTransformXY(elem);
1209
+ var resultXY = {
1210
+ x: originalXY.x,
1211
+ y: originalXY.y
1212
+ };
1213
+ if ("left" in offset) resultXY.x = originalXY.x + offset.left - originalOffset.left;
1214
+ if ("top" in offset) resultXY.y = originalXY.y + offset.top - originalOffset.top;
1215
+ setTransformXY(elem, resultXY);
1216
+ }
1217
+ function setOffset(elem, offset, option) {
1218
+ if (option.ignoreShake) {
1219
+ var oriOffset = getOffset(elem);
1220
+ var oLeft = oriOffset.left.toFixed(0);
1221
+ var oTop = oriOffset.top.toFixed(0);
1222
+ var tLeft = offset.left.toFixed(0);
1223
+ var tTop = offset.top.toFixed(0);
1224
+ if (oLeft === tLeft && oTop === tTop) return;
1225
+ }
1226
+ if (option.useCssRight || option.useCssBottom) setLeftTop(elem, offset, option);
1227
+ else if (option.useCssTransform && getTransformName() in (void 0).body.style) setTransform$1(elem, offset);
1228
+ else setLeftTop(elem, offset, option);
1229
+ }
1230
+ function each(arr, fn) {
1231
+ for (var i = 0; i < arr.length; i++) fn(arr[i]);
1232
+ }
1233
+ function isBorderBoxFn(elem) {
1234
+ return getComputedStyleX(elem, "boxSizing") === "border-box";
1235
+ }
1236
+ var BOX_MODELS = [
1237
+ "margin",
1238
+ "border",
1239
+ "padding"
1240
+ ];
1241
+ var CONTENT_INDEX = -1;
1242
+ var PADDING_INDEX = 2;
1243
+ var BORDER_INDEX = 1;
1244
+ var MARGIN_INDEX = 0;
1245
+ function swap(elem, options, callback) {
1246
+ var old = {};
1247
+ var style = elem.style;
1248
+ var name;
1249
+ for (name in options) if (options.hasOwnProperty(name)) {
1250
+ old[name] = style[name];
1251
+ style[name] = options[name];
1252
+ }
1253
+ callback.call(elem);
1254
+ for (name in options) if (options.hasOwnProperty(name)) style[name] = old[name];
1255
+ }
1256
+ function getPBMWidth(elem, props, which) {
1257
+ var value = 0;
1258
+ var prop;
1259
+ var j;
1260
+ var i;
1261
+ for (j = 0; j < props.length; j++) {
1262
+ prop = props[j];
1263
+ if (prop) for (i = 0; i < which.length; i++) {
1264
+ var cssProp = void 0;
1265
+ if (prop === "border") cssProp = "".concat(prop).concat(which[i], "Width");
1266
+ else cssProp = prop + which[i];
1267
+ value += parseFloat(getComputedStyleX(elem, cssProp)) || 0;
1268
+ }
1269
+ }
1270
+ return value;
1271
+ }
1272
+ var domUtils = { getParent: function getParent(element) {
1273
+ var parent = element;
1274
+ do
1275
+ if (parent.nodeType === 11 && parent.host) parent = parent.host;
1276
+ else parent = parent.parentNode;
1277
+ while (parent && parent.nodeType !== 1 && parent.nodeType !== 9);
1278
+ return parent;
1279
+ } };
1280
+ each(["Width", "Height"], function(name) {
1281
+ domUtils["doc".concat(name)] = function(refWin) {
1282
+ var d = refWin.document;
1283
+ return Math.max(d.documentElement["scroll".concat(name)], d.body["scroll".concat(name)], domUtils["viewport".concat(name)](d));
1284
+ };
1285
+ domUtils["viewport".concat(name)] = function(win) {
1286
+ var prop = "client".concat(name);
1287
+ var doc = win.document;
1288
+ var body = doc.body;
1289
+ var documentElementProp = doc.documentElement[prop];
1290
+ return doc.compatMode === "CSS1Compat" && documentElementProp || body && body[prop] || documentElementProp;
1291
+ };
1292
+ });
1293
+ function getWH(elem, name, ex) {
1294
+ var extra = ex;
1295
+ if (isWindow(elem)) return name === "width" ? domUtils.viewportWidth(elem) : domUtils.viewportHeight(elem);
1296
+ else if (elem.nodeType === 9) return name === "width" ? domUtils.docWidth(elem) : domUtils.docHeight(elem);
1297
+ var which = name === "width" ? ["Left", "Right"] : ["Top", "Bottom"];
1298
+ var borderBoxValue = name === "width" ? Math.floor(elem.getBoundingClientRect().width) : Math.floor(elem.getBoundingClientRect().height);
1299
+ var isBorderBox = isBorderBoxFn(elem);
1300
+ var cssBoxValue = 0;
1301
+ if (borderBoxValue === null || borderBoxValue === void 0 || borderBoxValue <= 0) {
1302
+ borderBoxValue = void 0;
1303
+ cssBoxValue = getComputedStyleX(elem, name);
1304
+ if (cssBoxValue === null || cssBoxValue === void 0 || Number(cssBoxValue) < 0) cssBoxValue = elem.style[name] || 0;
1305
+ cssBoxValue = Math.floor(parseFloat(cssBoxValue)) || 0;
1306
+ }
1307
+ if (extra === void 0) extra = isBorderBox ? BORDER_INDEX : CONTENT_INDEX;
1308
+ var borderBoxValueOrIsBorderBox = borderBoxValue !== void 0 || isBorderBox;
1309
+ var val = borderBoxValue || cssBoxValue;
1310
+ if (extra === CONTENT_INDEX) {
1311
+ if (borderBoxValueOrIsBorderBox) return val - getPBMWidth(elem, ["border", "padding"], which);
1312
+ return cssBoxValue;
1313
+ } else if (borderBoxValueOrIsBorderBox) {
1314
+ if (extra === BORDER_INDEX) return val;
1315
+ return val + (extra === PADDING_INDEX ? -getPBMWidth(elem, ["border"], which) : getPBMWidth(elem, ["margin"], which));
1316
+ }
1317
+ return cssBoxValue + getPBMWidth(elem, BOX_MODELS.slice(extra), which);
1318
+ }
1319
+ var cssShow = {
1320
+ position: "absolute",
1321
+ visibility: "hidden",
1322
+ display: "block"
1323
+ };
1324
+ function getWHIgnoreDisplay() {
1325
+ for (var _len = arguments.length, args = new Array(_len), _key2 = 0; _key2 < _len; _key2++) args[_key2] = arguments[_key2];
1326
+ var val;
1327
+ var elem = args[0];
1328
+ if (elem.offsetWidth !== 0) val = getWH.apply(void 0, args);
1329
+ else swap(elem, cssShow, function() {
1330
+ val = getWH.apply(void 0, args);
1331
+ });
1332
+ return val;
1333
+ }
1334
+ each(["width", "height"], function(name) {
1335
+ var first = name.charAt(0).toUpperCase() + name.slice(1);
1336
+ domUtils["outer".concat(first)] = function(el, includeMargin) {
1337
+ return el && getWHIgnoreDisplay(el, name, includeMargin ? MARGIN_INDEX : BORDER_INDEX);
1338
+ };
1339
+ var which = name === "width" ? ["Left", "Right"] : ["Top", "Bottom"];
1340
+ domUtils[name] = function(elem, v) {
1341
+ var val = v;
1342
+ if (val !== void 0) {
1343
+ if (elem) {
1344
+ if (isBorderBoxFn(elem)) val += getPBMWidth(elem, ["padding", "border"], which);
1345
+ return css(elem, name, val);
1346
+ }
1347
+ return;
1348
+ }
1349
+ return elem && getWHIgnoreDisplay(elem, name, CONTENT_INDEX);
1350
+ };
1351
+ });
1352
+ function mix(to, from) {
1353
+ for (var i in from) if (from.hasOwnProperty(i)) to[i] = from[i];
1354
+ return to;
1355
+ }
1356
+ var utils = {
1357
+ getWindow: function getWindow(node) {
1358
+ if (node && node.document && node.setTimeout) return node;
1359
+ var doc = node.ownerDocument || node;
1360
+ return doc.defaultView || doc.parentWindow;
1361
+ },
1362
+ getDocument,
1363
+ offset: function offset(el, value, option) {
1364
+ if (typeof value !== "undefined") setOffset(el, value, option || {});
1365
+ else return getOffset(el);
1366
+ },
1367
+ isWindow,
1368
+ each,
1369
+ css,
1370
+ clone: function clone(obj) {
1371
+ var i;
1372
+ var ret = {};
1373
+ for (i in obj) if (obj.hasOwnProperty(i)) ret[i] = obj[i];
1374
+ if (obj.overflow) {
1375
+ for (i in obj) if (obj.hasOwnProperty(i)) ret.overflow[i] = obj.overflow[i];
1376
+ }
1377
+ return ret;
1378
+ },
1379
+ mix,
1380
+ getWindowScrollLeft: function getWindowScrollLeft(w) {
1381
+ return getScrollLeft(w);
1382
+ },
1383
+ getWindowScrollTop: function getWindowScrollTop(w) {
1384
+ return getScrollTop(w);
1385
+ },
1386
+ merge: function merge() {
1387
+ var ret = {};
1388
+ for (var i = 0; i < arguments.length; i++) utils.mix(ret, i < 0 || arguments.length <= i ? void 0 : arguments[i]);
1389
+ return ret;
1390
+ },
1391
+ viewportWidth: 0,
1392
+ viewportHeight: 0
1393
+ };
1394
+ mix(utils, domUtils);
1395
+ /**
1396
+ * 得到会导致元素显示不全的祖先元素
1397
+ */
1398
+ var getParent = utils.getParent;
1399
+ function getOffsetParent(element) {
1400
+ if (utils.isWindow(element) || element.nodeType === 9) return null;
1401
+ var body = utils.getDocument(element).body;
1402
+ var parent;
1403
+ var positionStyle = utils.css(element, "position");
1404
+ if (!(positionStyle === "fixed" || positionStyle === "absolute")) return element.nodeName.toLowerCase() === "html" ? null : getParent(element);
1405
+ for (parent = getParent(element); parent && parent !== body && parent.nodeType !== 9; parent = getParent(parent)) {
1406
+ positionStyle = utils.css(parent, "position");
1407
+ if (positionStyle !== "static") return parent;
1408
+ }
1409
+ return null;
1410
+ }
1411
+ var getParent$1 = utils.getParent;
1412
+ function isAncestorFixed(element) {
1413
+ if (utils.isWindow(element) || element.nodeType === 9) return false;
1414
+ var doc = utils.getDocument(element);
1415
+ var body = doc.body;
1416
+ var parent = null;
1417
+ for (parent = getParent$1(element); parent && parent !== body && parent !== doc; parent = getParent$1(parent)) if (utils.css(parent, "position") === "fixed") return true;
1418
+ return false;
1419
+ }
1420
+ /**
1421
+ * 获得元素的显示部分的区域
1422
+ */
1423
+ function getVisibleRectForElement(element, alwaysByViewport) {
1424
+ var visibleRect = {
1425
+ left: 0,
1426
+ right: Infinity,
1427
+ top: 0,
1428
+ bottom: Infinity
1429
+ };
1430
+ var el = getOffsetParent(element);
1431
+ var doc = utils.getDocument(element);
1432
+ var win = doc.defaultView || doc.parentWindow;
1433
+ var body = doc.body;
1434
+ var documentElement = doc.documentElement;
1435
+ while (el) {
1436
+ if (((void 0).userAgent.indexOf("MSIE") === -1 || el.clientWidth !== 0) && el !== body && el !== documentElement && utils.css(el, "overflow") !== "visible") {
1437
+ var pos = utils.offset(el);
1438
+ pos.left += el.clientLeft;
1439
+ pos.top += el.clientTop;
1440
+ visibleRect.top = Math.max(visibleRect.top, pos.top);
1441
+ visibleRect.right = Math.min(visibleRect.right, pos.left + el.clientWidth);
1442
+ visibleRect.bottom = Math.min(visibleRect.bottom, pos.top + el.clientHeight);
1443
+ visibleRect.left = Math.max(visibleRect.left, pos.left);
1444
+ } else if (el === body || el === documentElement) break;
1445
+ el = getOffsetParent(el);
1446
+ }
1447
+ var originalPosition = null;
1448
+ if (!utils.isWindow(element) && element.nodeType !== 9) {
1449
+ originalPosition = element.style.position;
1450
+ if (utils.css(element, "position") === "absolute") element.style.position = "fixed";
1451
+ }
1452
+ var scrollX = utils.getWindowScrollLeft(win);
1453
+ var scrollY = utils.getWindowScrollTop(win);
1454
+ var viewportWidth = utils.viewportWidth(win);
1455
+ var viewportHeight = utils.viewportHeight(win);
1456
+ var documentWidth = documentElement.scrollWidth;
1457
+ var documentHeight = documentElement.scrollHeight;
1458
+ var bodyStyle = (void 0).getComputedStyle(body);
1459
+ if (bodyStyle.overflowX === "hidden") documentWidth = win.innerWidth;
1460
+ if (bodyStyle.overflowY === "hidden") documentHeight = win.innerHeight;
1461
+ if (element.style) element.style.position = originalPosition;
1462
+ if (alwaysByViewport || isAncestorFixed(element)) {
1463
+ visibleRect.left = Math.max(visibleRect.left, scrollX);
1464
+ visibleRect.top = Math.max(visibleRect.top, scrollY);
1465
+ visibleRect.right = Math.min(visibleRect.right, scrollX + viewportWidth);
1466
+ visibleRect.bottom = Math.min(visibleRect.bottom, scrollY + viewportHeight);
1467
+ } else {
1468
+ var maxVisibleWidth = Math.max(documentWidth, scrollX + viewportWidth);
1469
+ visibleRect.right = Math.min(visibleRect.right, maxVisibleWidth);
1470
+ var maxVisibleHeight = Math.max(documentHeight, scrollY + viewportHeight);
1471
+ visibleRect.bottom = Math.min(visibleRect.bottom, maxVisibleHeight);
1472
+ }
1473
+ return visibleRect.top >= 0 && visibleRect.left >= 0 && visibleRect.bottom > visibleRect.top && visibleRect.right > visibleRect.left ? visibleRect : null;
1474
+ }
1475
+ function adjustForViewport(elFuturePos, elRegion, visibleRect, overflow) {
1476
+ var pos = utils.clone(elFuturePos);
1477
+ var size = {
1478
+ width: elRegion.width,
1479
+ height: elRegion.height
1480
+ };
1481
+ if (overflow.adjustX && pos.left < visibleRect.left) pos.left = visibleRect.left;
1482
+ if (overflow.resizeWidth && pos.left >= visibleRect.left && pos.left + size.width > visibleRect.right) size.width -= pos.left + size.width - visibleRect.right;
1483
+ if (overflow.adjustX && pos.left + size.width > visibleRect.right) pos.left = Math.max(visibleRect.right - size.width, visibleRect.left);
1484
+ if (overflow.adjustY && pos.top < visibleRect.top) pos.top = visibleRect.top;
1485
+ if (overflow.resizeHeight && pos.top >= visibleRect.top && pos.top + size.height > visibleRect.bottom) size.height -= pos.top + size.height - visibleRect.bottom;
1486
+ if (overflow.adjustY && pos.top + size.height > visibleRect.bottom) pos.top = Math.max(visibleRect.bottom - size.height, visibleRect.top);
1487
+ return utils.mix(pos, size);
1488
+ }
1489
+ function getRegion(node) {
1490
+ var offset;
1491
+ var w;
1492
+ var h;
1493
+ if (!utils.isWindow(node) && node.nodeType !== 9) {
1494
+ offset = utils.offset(node);
1495
+ w = utils.outerWidth(node);
1496
+ h = utils.outerHeight(node);
1497
+ } else {
1498
+ var win = utils.getWindow(node);
1499
+ offset = {
1500
+ left: utils.getWindowScrollLeft(win),
1501
+ top: utils.getWindowScrollTop(win)
1502
+ };
1503
+ w = utils.viewportWidth(win);
1504
+ h = utils.viewportHeight(win);
1505
+ }
1506
+ offset.width = w;
1507
+ offset.height = h;
1508
+ return offset;
1509
+ }
1510
+ /**
1511
+ * 获取 node 上的 align 对齐点 相对于页面的坐标
1512
+ */
1513
+ function getAlignOffset(region, align) {
1514
+ var V = align.charAt(0);
1515
+ var H = align.charAt(1);
1516
+ var w = region.width;
1517
+ var h = region.height;
1518
+ var x = region.left;
1519
+ var y = region.top;
1520
+ if (V === "c") y += h / 2;
1521
+ else if (V === "b") y += h;
1522
+ if (H === "c") x += w / 2;
1523
+ else if (H === "r") x += w;
1524
+ return {
1525
+ left: x,
1526
+ top: y
1527
+ };
1528
+ }
1529
+ function getElFuturePos(elRegion, refNodeRegion, points, offset, targetOffset) {
1530
+ var p1 = getAlignOffset(refNodeRegion, points[1]);
1531
+ var p2 = getAlignOffset(elRegion, points[0]);
1532
+ var diff = [p2.left - p1.left, p2.top - p1.top];
1533
+ return {
1534
+ left: Math.round(elRegion.left - diff[0] + offset[0] - targetOffset[0]),
1535
+ top: Math.round(elRegion.top - diff[1] + offset[1] - targetOffset[1])
1536
+ };
1537
+ }
1538
+ /**
1539
+ * align dom node flexibly
1540
+ * @author yiminghe@gmail.com
1541
+ */
1542
+ function isFailX(elFuturePos, elRegion, visibleRect) {
1543
+ return elFuturePos.left < visibleRect.left || elFuturePos.left + elRegion.width > visibleRect.right;
1544
+ }
1545
+ function isFailY(elFuturePos, elRegion, visibleRect) {
1546
+ return elFuturePos.top < visibleRect.top || elFuturePos.top + elRegion.height > visibleRect.bottom;
1547
+ }
1548
+ function isCompleteFailX(elFuturePos, elRegion, visibleRect) {
1549
+ return elFuturePos.left > visibleRect.right || elFuturePos.left + elRegion.width < visibleRect.left;
1550
+ }
1551
+ function isCompleteFailY(elFuturePos, elRegion, visibleRect) {
1552
+ return elFuturePos.top > visibleRect.bottom || elFuturePos.top + elRegion.height < visibleRect.top;
1553
+ }
1554
+ function flip(points, reg, map) {
1555
+ var ret = [];
1556
+ utils.each(points, function(p) {
1557
+ ret.push(p.replace(reg, function(m) {
1558
+ return map[m];
1559
+ }));
1560
+ });
1561
+ return ret;
1562
+ }
1563
+ function flipOffset(offset, index) {
1564
+ offset[index] = -offset[index];
1565
+ return offset;
1566
+ }
1567
+ function convertOffset(str, offsetLen) {
1568
+ var n;
1569
+ if (/%$/.test(str)) n = parseInt(str.substring(0, str.length - 1), 10) / 100 * offsetLen;
1570
+ else n = parseInt(str, 10);
1571
+ return n || 0;
1572
+ }
1573
+ function normalizeOffset(offset, el) {
1574
+ offset[0] = convertOffset(offset[0], el.width);
1575
+ offset[1] = convertOffset(offset[1], el.height);
1576
+ }
1577
+ /**
1578
+ * @param el
1579
+ * @param tgtRegion 参照节点所占的区域: { left, top, width, height }
1580
+ * @param align
1581
+ */
1582
+ function doAlign(el, tgtRegion, align, isTgtRegionVisible) {
1583
+ var points = align.points;
1584
+ var offset = align.offset || [0, 0];
1585
+ var targetOffset = align.targetOffset || [0, 0];
1586
+ var overflow = align.overflow;
1587
+ var source = align.source || el;
1588
+ offset = [].concat(offset);
1589
+ targetOffset = [].concat(targetOffset);
1590
+ overflow = overflow || {};
1591
+ var newOverflowCfg = {};
1592
+ var fail = 0;
1593
+ var visibleRect = getVisibleRectForElement(source, !!(overflow && overflow.alwaysByViewport));
1594
+ var elRegion = getRegion(source);
1595
+ normalizeOffset(offset, elRegion);
1596
+ normalizeOffset(targetOffset, tgtRegion);
1597
+ var elFuturePos = getElFuturePos(elRegion, tgtRegion, points, offset, targetOffset);
1598
+ var newElRegion = utils.merge(elRegion, elFuturePos);
1599
+ if (visibleRect && (overflow.adjustX || overflow.adjustY) && isTgtRegionVisible) {
1600
+ if (overflow.adjustX) {
1601
+ if (isFailX(elFuturePos, elRegion, visibleRect)) {
1602
+ var newPoints = flip(points, /[lr]/gi, {
1603
+ l: "r",
1604
+ r: "l"
1605
+ });
1606
+ var newOffset = flipOffset(offset, 0);
1607
+ var newTargetOffset = flipOffset(targetOffset, 0);
1608
+ if (!isCompleteFailX(getElFuturePos(elRegion, tgtRegion, newPoints, newOffset, newTargetOffset), elRegion, visibleRect)) {
1609
+ fail = 1;
1610
+ points = newPoints;
1611
+ offset = newOffset;
1612
+ targetOffset = newTargetOffset;
1613
+ }
1614
+ }
1615
+ }
1616
+ if (overflow.adjustY) {
1617
+ if (isFailY(elFuturePos, elRegion, visibleRect)) {
1618
+ var _newPoints = flip(points, /[tb]/gi, {
1619
+ t: "b",
1620
+ b: "t"
1621
+ });
1622
+ var _newOffset = flipOffset(offset, 1);
1623
+ var _newTargetOffset = flipOffset(targetOffset, 1);
1624
+ if (!isCompleteFailY(getElFuturePos(elRegion, tgtRegion, _newPoints, _newOffset, _newTargetOffset), elRegion, visibleRect)) {
1625
+ fail = 1;
1626
+ points = _newPoints;
1627
+ offset = _newOffset;
1628
+ targetOffset = _newTargetOffset;
1629
+ }
1630
+ }
1631
+ }
1632
+ if (fail) {
1633
+ elFuturePos = getElFuturePos(elRegion, tgtRegion, points, offset, targetOffset);
1634
+ utils.mix(newElRegion, elFuturePos);
1635
+ }
1636
+ var isStillFailX = isFailX(elFuturePos, elRegion, visibleRect);
1637
+ var isStillFailY = isFailY(elFuturePos, elRegion, visibleRect);
1638
+ if (isStillFailX || isStillFailY) {
1639
+ var _newPoints2 = points;
1640
+ if (isStillFailX) _newPoints2 = flip(points, /[lr]/gi, {
1641
+ l: "r",
1642
+ r: "l"
1643
+ });
1644
+ if (isStillFailY) _newPoints2 = flip(points, /[tb]/gi, {
1645
+ t: "b",
1646
+ b: "t"
1647
+ });
1648
+ points = _newPoints2;
1649
+ offset = align.offset || [0, 0];
1650
+ targetOffset = align.targetOffset || [0, 0];
1651
+ }
1652
+ newOverflowCfg.adjustX = overflow.adjustX && isStillFailX;
1653
+ newOverflowCfg.adjustY = overflow.adjustY && isStillFailY;
1654
+ if (newOverflowCfg.adjustX || newOverflowCfg.adjustY) newElRegion = adjustForViewport(elFuturePos, elRegion, visibleRect, newOverflowCfg);
1655
+ }
1656
+ if (newElRegion.width !== elRegion.width) utils.css(source, "width", utils.width(source) + newElRegion.width - elRegion.width);
1657
+ if (newElRegion.height !== elRegion.height) utils.css(source, "height", utils.height(source) + newElRegion.height - elRegion.height);
1658
+ utils.offset(source, {
1659
+ left: newElRegion.left,
1660
+ top: newElRegion.top
1661
+ }, {
1662
+ useCssRight: align.useCssRight,
1663
+ useCssBottom: align.useCssBottom,
1664
+ useCssTransform: align.useCssTransform,
1665
+ ignoreShake: align.ignoreShake
1666
+ });
1667
+ return {
1668
+ points,
1669
+ offset,
1670
+ targetOffset,
1671
+ overflow: newOverflowCfg
1672
+ };
1673
+ }
1674
+ /**
1675
+ * 2012-04-26 yiminghe@gmail.com
1676
+ * - 优化智能对齐算法
1677
+ * - 慎用 resizeXX
1678
+ *
1679
+ * 2011-07-13 yiminghe@gmail.com note:
1680
+ * - 增加智能对齐,以及大小调整选项
1681
+ **/
1682
+ function isOutOfVisibleRect(target, alwaysByViewport) {
1683
+ var visibleRect = getVisibleRectForElement(target, alwaysByViewport);
1684
+ var targetRegion = getRegion(target);
1685
+ return !visibleRect || targetRegion.left + targetRegion.width <= visibleRect.left || targetRegion.top + targetRegion.height <= visibleRect.top || targetRegion.left >= visibleRect.right || targetRegion.top >= visibleRect.bottom;
1686
+ }
1687
+ function alignElement(el, refNode, align) {
1688
+ var target = align.target || refNode;
1689
+ return doAlign(el, getRegion(target), align, !isOutOfVisibleRect(target, align.overflow && align.overflow.alwaysByViewport));
1690
+ }
1691
+ alignElement.__getOffsetParent = getOffsetParent;
1692
+ alignElement.__getVisibleRectForElement = getVisibleRectForElement;
1693
+ /**
1694
+ * `tgtPoint`: { pageX, pageY } or { clientX, clientY }.
1695
+ * If client position provided, will internal convert to page position.
1696
+ */
1697
+ function alignPoint(el, tgtPoint, align) {
1698
+ var pageX;
1699
+ var pageY;
1700
+ var doc = utils.getDocument(el);
1701
+ var win = doc.defaultView || doc.parentWindow;
1702
+ var scrollX = utils.getWindowScrollLeft(win);
1703
+ var scrollY = utils.getWindowScrollTop(win);
1704
+ var viewportWidth = utils.viewportWidth(win);
1705
+ var viewportHeight = utils.viewportHeight(win);
1706
+ if ("pageX" in tgtPoint) pageX = tgtPoint.pageX;
1707
+ else pageX = scrollX + tgtPoint.clientX;
1708
+ if ("pageY" in tgtPoint) pageY = tgtPoint.pageY;
1709
+ else pageY = scrollY + tgtPoint.clientY;
1710
+ var tgtRegion = {
1711
+ left: pageX,
1712
+ top: pageY,
1713
+ width: 0,
1714
+ height: 0
1715
+ };
1716
+ var pointInView = pageX >= 0 && pageX <= scrollX + viewportWidth && pageY >= 0 && pageY <= scrollY + viewportHeight;
1717
+ var points = [align.points[0], "cc"];
1718
+ return doAlign(el, tgtRegion, _objectSpread2(_objectSpread2({}, align), {}, { points }), pointInView);
1719
+ }
1720
+ //#endregion
1721
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/vc-util/Dom/isVisible.js
1722
+ var isVisible_default = ((element) => {
1723
+ if (!element) return false;
1724
+ if (element.offsetParent) return true;
1725
+ if (element.getBBox) {
1726
+ const box = element.getBBox();
1727
+ if (box.width || box.height) return true;
1728
+ }
1729
+ if (element.getBoundingClientRect) {
1730
+ const box = element.getBoundingClientRect();
1731
+ if (box.width || box.height) return true;
1732
+ }
1733
+ return false;
1734
+ });
1735
+ //#endregion
1736
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/vc-align/util.js
1737
+ function restoreFocus(activeElement, container) {
1738
+ if (activeElement !== (void 0).activeElement && contains(container, activeElement) && typeof activeElement.focus === "function") activeElement.focus();
1739
+ }
1740
+ //#endregion
1741
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/vc-align/hooks/useBuffer.js
1742
+ var useBuffer_default = ((callback, buffer) => {
1743
+ let called = false;
1744
+ let timeout = null;
1745
+ function cancelTrigger() {
1746
+ clearTimeout(timeout);
1747
+ }
1748
+ function trigger(force) {
1749
+ if (!called || force === true) {
1750
+ if (callback() === false) return;
1751
+ called = true;
1752
+ cancelTrigger();
1753
+ timeout = setTimeout(() => {
1754
+ called = false;
1755
+ }, buffer.value);
1756
+ } else {
1757
+ cancelTrigger();
1758
+ timeout = setTimeout(() => {
1759
+ called = false;
1760
+ trigger();
1761
+ }, buffer.value);
1762
+ }
1763
+ }
1764
+ return [trigger, () => {
1765
+ called = false;
1766
+ cancelTrigger();
1767
+ }];
1768
+ });
1769
+ //#endregion
1770
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/vc-align/Align.js
1771
+ var alignProps = {
1772
+ align: Object,
1773
+ target: [Object, Function],
1774
+ onAlign: Function,
1775
+ monitorBufferTime: Number,
1776
+ monitorWindowResize: Boolean,
1777
+ disabled: Boolean
1778
+ };
1779
+ function getElement(func) {
1780
+ if (typeof func !== "function") return null;
1781
+ return func();
1782
+ }
1783
+ function getPoint(point) {
1784
+ if (typeof point !== "object" || !point) return null;
1785
+ return point;
1786
+ }
1787
+ var Align_default = defineComponent({
1788
+ compatConfig: { MODE: 3 },
1789
+ name: "Align",
1790
+ props: alignProps,
1791
+ emits: ["align"],
1792
+ setup(props, _ref) {
1793
+ let { expose, slots } = _ref;
1794
+ const cacheRef = ref({});
1795
+ const nodeRef = ref();
1796
+ const [forceAlign, cancelForceAlign] = useBuffer_default(() => {
1797
+ const { disabled: latestDisabled, target: latestTarget, align: latestAlign, onAlign: latestOnAlign } = props;
1798
+ if (!latestDisabled && latestTarget && nodeRef.value) {
1799
+ const source = nodeRef.value;
1800
+ let result;
1801
+ const element = getElement(latestTarget);
1802
+ const point = getPoint(latestTarget);
1803
+ cacheRef.value.element = element;
1804
+ cacheRef.value.point = point;
1805
+ cacheRef.value.align = latestAlign;
1806
+ const { activeElement } = void 0;
1807
+ if (element && isVisible_default(element)) result = alignElement(source, element, latestAlign);
1808
+ else if (point) result = alignPoint(source, point, latestAlign);
1809
+ restoreFocus(activeElement, source);
1810
+ if (latestOnAlign && result) latestOnAlign(source, result);
1811
+ return true;
1812
+ }
1813
+ return false;
1814
+ }, computed(() => props.monitorBufferTime));
1815
+ ref({ cancel: () => {} });
1816
+ ref({ cancel: () => {} });
1817
+ watch(() => props.disabled, (disabled) => {
1818
+ if (!disabled) forceAlign();
1819
+ else cancelForceAlign();
1820
+ }, {
1821
+ immediate: true,
1822
+ flush: "post"
1823
+ });
1824
+ const winResizeRef = ref(null);
1825
+ watch(() => props.monitorWindowResize, (monitorWindowResize) => {
1826
+ if (monitorWindowResize) {
1827
+ if (!winResizeRef.value) winResizeRef.value = addEventListenerWrap(void 0, "resize", forceAlign);
1828
+ } else if (winResizeRef.value) {
1829
+ winResizeRef.value.remove();
1830
+ winResizeRef.value = null;
1831
+ }
1832
+ }, { flush: "post" });
1833
+ expose({ forceAlign: () => forceAlign(true) });
1834
+ return () => {
1835
+ const child = slots === null || slots === void 0 ? void 0 : slots.default();
1836
+ if (child) return cloneElement(child[0], { ref: nodeRef }, true, true);
1837
+ return null;
1838
+ };
1839
+ }
1840
+ });
1841
+ //#endregion
1842
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/vc-trigger/Popup/PopupInner.js
1843
+ var PopupInner_default = defineComponent({
1844
+ compatConfig: { MODE: 3 },
1845
+ name: "PopupInner",
1846
+ inheritAttrs: false,
1847
+ props: innerProps,
1848
+ emits: [
1849
+ "mouseenter",
1850
+ "mouseleave",
1851
+ "mousedown",
1852
+ "touchstart",
1853
+ "align"
1854
+ ],
1855
+ setup(props, _ref) {
1856
+ let { expose, attrs, slots } = _ref;
1857
+ const alignRef = shallowRef();
1858
+ const elementRef = shallowRef();
1859
+ const alignedClassName = shallowRef();
1860
+ const [stretchStyle] = useStretchStyle_default(toRef(props, "stretch"));
1861
+ const visible = shallowRef(false);
1862
+ let timeoutId;
1863
+ watch(() => props.visible, (val) => {
1864
+ clearTimeout(timeoutId);
1865
+ if (val) timeoutId = setTimeout(() => {
1866
+ visible.value = props.visible;
1867
+ });
1868
+ else visible.value = false;
1869
+ }, { immediate: true });
1870
+ const [status, goNextStatus] = useVisibleStatus_default(visible);
1871
+ const prepareResolveRef = shallowRef();
1872
+ const getAlignTarget = () => {
1873
+ if (props.point) return props.point;
1874
+ return props.getRootDomNode;
1875
+ };
1876
+ const forceAlign = () => {
1877
+ var _a;
1878
+ (_a = alignRef.value) === null || _a === void 0 || _a.forceAlign();
1879
+ };
1880
+ const onInternalAlign = (popupDomNode, matchAlign) => {
1881
+ var _a;
1882
+ const nextAlignedClassName = props.getClassNameFromAlign(matchAlign);
1883
+ const preAlignedClassName = alignedClassName.value;
1884
+ if (alignedClassName.value !== nextAlignedClassName) alignedClassName.value = nextAlignedClassName;
1885
+ if (status.value === "align") {
1886
+ if (preAlignedClassName !== nextAlignedClassName) Promise.resolve().then(() => {
1887
+ forceAlign();
1888
+ });
1889
+ else goNextStatus(() => {
1890
+ var _a;
1891
+ (_a = prepareResolveRef.value) === null || _a === void 0 || _a.call(prepareResolveRef);
1892
+ });
1893
+ (_a = props.onAlign) === null || _a === void 0 || _a.call(props, popupDomNode, matchAlign);
1894
+ }
1895
+ };
1896
+ const motion = computed(() => {
1897
+ const m = typeof props.animation === "object" ? props.animation : getMotion(props);
1898
+ ["onAfterEnter", "onAfterLeave"].forEach((eventName) => {
1899
+ const originFn = m[eventName];
1900
+ m[eventName] = (node) => {
1901
+ goNextStatus();
1902
+ status.value = "stable";
1903
+ originFn === null || originFn === void 0 || originFn(node);
1904
+ };
1905
+ });
1906
+ return m;
1907
+ });
1908
+ const onShowPrepare = () => {
1909
+ return new Promise((resolve) => {
1910
+ prepareResolveRef.value = resolve;
1911
+ });
1912
+ };
1913
+ watch([motion, status], () => {
1914
+ if (!motion.value && status.value === "motion") goNextStatus();
1915
+ }, { immediate: true });
1916
+ expose({
1917
+ forceAlign,
1918
+ getElement: () => {
1919
+ return elementRef.value.$el || elementRef.value;
1920
+ }
1921
+ });
1922
+ const alignDisabled = computed(() => {
1923
+ var _a;
1924
+ if (((_a = props.align) === null || _a === void 0 ? void 0 : _a.points) && (status.value === "align" || status.value === "stable")) return false;
1925
+ return true;
1926
+ });
1927
+ return () => {
1928
+ var _a;
1929
+ const { zIndex, align, prefixCls, destroyPopupOnHide, onMouseenter, onMouseleave, onTouchstart = () => {}, onMousedown } = props;
1930
+ const statusValue = status.value;
1931
+ const mergedStyle = [_extends(_extends({}, stretchStyle.value), {
1932
+ zIndex,
1933
+ opacity: statusValue === "motion" || statusValue === "stable" || !visible.value ? null : 0,
1934
+ pointerEvents: !visible.value && statusValue !== "stable" ? "none" : null
1935
+ }), attrs.style];
1936
+ let childNode = flattenChildren((_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots, { visible: props.visible }));
1937
+ if (childNode.length > 1) {
1938
+ childNode = createVNode("div", { "class": `${prefixCls}-content` }, [childNode]);
1939
+ }
1940
+ const mergedClassName = classNames(prefixCls, attrs.class, alignedClassName.value, !props.arrow && `${prefixCls}-arrow-hidden`);
1941
+ const transitionProps = visible.value || !props.visible ? getTransitionProps(motion.value.name, motion.value) : {};
1942
+ return createVNode(Transition, _objectSpread2$1(_objectSpread2$1({ "ref": elementRef }, transitionProps), {}, { "onBeforeEnter": onShowPrepare }), { default: () => {
1943
+ return !destroyPopupOnHide || props.visible ? withDirectives(createVNode(Align_default, {
1944
+ "target": getAlignTarget(),
1945
+ "key": "popup",
1946
+ "ref": alignRef,
1947
+ "monitorWindowResize": true,
1948
+ "disabled": alignDisabled.value,
1949
+ "align": align,
1950
+ "onAlign": onInternalAlign
1951
+ }, { default: () => createVNode("div", {
1952
+ "class": mergedClassName,
1953
+ "onMouseenter": onMouseenter,
1954
+ "onMouseleave": onMouseleave,
1955
+ "onMousedown": withModifiers(onMousedown, ["capture"]),
1956
+ [supportsPassive_default ? "onTouchstartPassive" : "onTouchstart"]: withModifiers(onTouchstart, ["capture"]),
1957
+ "style": mergedStyle
1958
+ }, [childNode]) }), [[vShow, visible.value]]) : null;
1959
+ } });
1960
+ };
1961
+ }
1962
+ });
1963
+ //#endregion
1964
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/vc-trigger/Popup/index.js
1965
+ var Popup_default = defineComponent({
1966
+ compatConfig: { MODE: 3 },
1967
+ name: "Popup",
1968
+ inheritAttrs: false,
1969
+ props: popupProps,
1970
+ setup(props, _ref) {
1971
+ let { attrs, slots, expose } = _ref;
1972
+ const innerVisible = shallowRef(false);
1973
+ const inMobile = shallowRef(false);
1974
+ const popupRef = shallowRef();
1975
+ const rootRef = shallowRef();
1976
+ watch([() => props.visible, () => props.mobile], () => {
1977
+ innerVisible.value = props.visible;
1978
+ if (props.visible && props.mobile) inMobile.value = true;
1979
+ }, {
1980
+ immediate: true,
1981
+ flush: "post"
1982
+ });
1983
+ expose({
1984
+ forceAlign: () => {
1985
+ var _a;
1986
+ (_a = popupRef.value) === null || _a === void 0 || _a.forceAlign();
1987
+ },
1988
+ getElement: () => {
1989
+ var _a;
1990
+ return (_a = popupRef.value) === null || _a === void 0 ? void 0 : _a.getElement();
1991
+ }
1992
+ });
1993
+ return () => {
1994
+ const cloneProps = _extends(_extends(_extends({}, props), attrs), { visible: innerVisible.value });
1995
+ const popupNode = inMobile.value ? createVNode(MobilePopupInner_default, _objectSpread2$1(_objectSpread2$1({}, cloneProps), {}, {
1996
+ "mobile": props.mobile,
1997
+ "ref": popupRef
1998
+ }), { default: slots.default }) : createVNode(PopupInner_default, _objectSpread2$1(_objectSpread2$1({}, cloneProps), {}, { "ref": popupRef }), { default: slots.default });
1999
+ return createVNode("div", { "ref": rootRef }, [createVNode(Mask, cloneProps, null), popupNode]);
2000
+ };
2001
+ }
2002
+ });
2003
+ //#endregion
2004
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/vc-trigger/utils/alignUtil.js
2005
+ function isPointsEq(a1, a2, isAlignPoint) {
2006
+ if (isAlignPoint) return a1[0] === a2[0];
2007
+ return a1[0] === a2[0] && a1[1] === a2[1];
2008
+ }
2009
+ function getAlignFromPlacement(builtinPlacements, placementStr, align) {
2010
+ const baseAlign = builtinPlacements[placementStr] || {};
2011
+ return _extends(_extends({}, baseAlign), align);
2012
+ }
2013
+ function getAlignPopupClassName(builtinPlacements, prefixCls, align, isAlignPoint) {
2014
+ const { points } = align;
2015
+ const placements = Object.keys(builtinPlacements);
2016
+ for (let i = 0; i < placements.length; i += 1) {
2017
+ const placement = placements[i];
2018
+ if (isPointsEq(builtinPlacements[placement].points, points, isAlignPoint)) return `${prefixCls}-placement-${placement}`;
2019
+ }
2020
+ return "";
2021
+ }
2022
+ //#endregion
2023
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/_util/BaseMixin.js
2024
+ var BaseMixin_default = { methods: {
2025
+ setState() {
2026
+ let state = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2027
+ let callback = arguments.length > 1 ? arguments[1] : void 0;
2028
+ let newState = typeof state === "function" ? state(this.$data, this.$props) : state;
2029
+ if (this.getDerivedStateFromProps) {
2030
+ const s = this.getDerivedStateFromProps(getOptionProps(this), _extends(_extends({}, this.$data), newState));
2031
+ if (s === null) return;
2032
+ else newState = _extends(_extends({}, newState), s || {});
2033
+ }
2034
+ _extends(this.$data, newState);
2035
+ if (this._.isMounted) this.$forceUpdate();
2036
+ nextTick(() => {
2037
+ callback && callback();
2038
+ });
2039
+ },
2040
+ __emit() {
2041
+ const args = [].slice.call(arguments, 0);
2042
+ let eventName = args[0];
2043
+ eventName = `on${eventName[0].toUpperCase()}${eventName.substring(1)}`;
2044
+ const event = this.$props[eventName] || this.$attrs[eventName];
2045
+ if (args.length && event) {
2046
+ if (Array.isArray(event)) for (let i = 0, l = event.length; i < l; i++) event[i](...args.slice(1));
2047
+ else event(...args.slice(1));
2048
+ }
2049
+ }
2050
+ } };
2051
+ //#endregion
2052
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/vc-trigger/Trigger.js
2053
+ var ALL_HANDLERS = [
2054
+ "onClick",
2055
+ "onMousedown",
2056
+ "onTouchstart",
2057
+ "onMouseenter",
2058
+ "onMouseleave",
2059
+ "onFocus",
2060
+ "onBlur",
2061
+ "onContextmenu"
2062
+ ];
2063
+ //#endregion
2064
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/vc-trigger/index.js
2065
+ var vc_trigger_default = defineComponent({
2066
+ compatConfig: { MODE: 3 },
2067
+ name: "Trigger",
2068
+ mixins: [BaseMixin_default],
2069
+ inheritAttrs: false,
2070
+ props: triggerProps(),
2071
+ setup(props) {
2072
+ const align = computed(() => {
2073
+ const { popupPlacement, popupAlign, builtinPlacements } = props;
2074
+ if (popupPlacement && builtinPlacements) return getAlignFromPlacement(builtinPlacements, popupPlacement, popupAlign);
2075
+ return popupAlign;
2076
+ });
2077
+ const popupRef = shallowRef(null);
2078
+ const setPopupRef = (val) => {
2079
+ popupRef.value = val;
2080
+ };
2081
+ return {
2082
+ vcTriggerContext: inject("vcTriggerContext", {}),
2083
+ popupRef,
2084
+ setPopupRef,
2085
+ triggerRef: shallowRef(null),
2086
+ align,
2087
+ focusTime: null,
2088
+ clickOutsideHandler: null,
2089
+ contextmenuOutsideHandler1: null,
2090
+ contextmenuOutsideHandler2: null,
2091
+ touchOutsideHandler: null,
2092
+ attachId: null,
2093
+ delayTimer: null,
2094
+ hasPopupMouseDown: false,
2095
+ preClickTime: null,
2096
+ preTouchTime: null,
2097
+ mouseDownTimeout: null,
2098
+ childOriginEvents: {}
2099
+ };
2100
+ },
2101
+ data() {
2102
+ const props = this.$props;
2103
+ let popupVisible;
2104
+ if (this.popupVisible !== void 0) popupVisible = !!props.popupVisible;
2105
+ else popupVisible = !!props.defaultPopupVisible;
2106
+ ALL_HANDLERS.forEach((h) => {
2107
+ this[`fire${h}`] = (e) => {
2108
+ this.fireEvents(h, e);
2109
+ };
2110
+ });
2111
+ return {
2112
+ prevPopupVisible: popupVisible,
2113
+ sPopupVisible: popupVisible,
2114
+ point: null
2115
+ };
2116
+ },
2117
+ watch: { popupVisible(val) {
2118
+ if (val !== void 0) {
2119
+ this.prevPopupVisible = this.sPopupVisible;
2120
+ this.sPopupVisible = val;
2121
+ }
2122
+ } },
2123
+ created() {
2124
+ provide("vcTriggerContext", {
2125
+ onPopupMouseDown: this.onPopupMouseDown,
2126
+ onPopupMouseenter: this.onPopupMouseenter,
2127
+ onPopupMouseleave: this.onPopupMouseleave
2128
+ });
2129
+ useProvidePortal(this);
2130
+ },
2131
+ deactivated() {
2132
+ this.setPopupVisible(false);
2133
+ },
2134
+ mounted() {
2135
+ this.$nextTick(() => {
2136
+ this.updatedCal();
2137
+ });
2138
+ },
2139
+ updated() {
2140
+ this.$nextTick(() => {
2141
+ this.updatedCal();
2142
+ });
2143
+ },
2144
+ beforeUnmount() {
2145
+ this.clearDelayTimer();
2146
+ this.clearOutsideHandler();
2147
+ clearTimeout(this.mouseDownTimeout);
2148
+ wrapperRaf.cancel(this.attachId);
2149
+ },
2150
+ methods: {
2151
+ updatedCal() {
2152
+ const props = this.$props;
2153
+ if (this.$data.sPopupVisible) {
2154
+ let currentDocument;
2155
+ if (!this.clickOutsideHandler && (this.isClickToHide() || this.isContextmenuToShow())) {
2156
+ currentDocument = props.getDocument(this.getRootDomNode());
2157
+ this.clickOutsideHandler = addEventListenerWrap(currentDocument, "mousedown", this.onDocumentClick);
2158
+ }
2159
+ if (!this.touchOutsideHandler) {
2160
+ currentDocument = currentDocument || props.getDocument(this.getRootDomNode());
2161
+ this.touchOutsideHandler = addEventListenerWrap(currentDocument, "touchstart", this.onDocumentClick, supportsPassive_default ? { passive: false } : false);
2162
+ }
2163
+ if (!this.contextmenuOutsideHandler1 && this.isContextmenuToShow()) {
2164
+ currentDocument = currentDocument || props.getDocument(this.getRootDomNode());
2165
+ this.contextmenuOutsideHandler1 = addEventListenerWrap(currentDocument, "scroll", this.onContextmenuClose);
2166
+ }
2167
+ if (!this.contextmenuOutsideHandler2 && this.isContextmenuToShow()) this.contextmenuOutsideHandler2 = addEventListenerWrap(void 0, "blur", this.onContextmenuClose);
2168
+ } else this.clearOutsideHandler();
2169
+ },
2170
+ onMouseenter(e) {
2171
+ const { mouseEnterDelay } = this.$props;
2172
+ this.fireEvents("onMouseenter", e);
2173
+ this.delaySetPopupVisible(true, mouseEnterDelay, mouseEnterDelay ? null : e);
2174
+ },
2175
+ onMouseMove(e) {
2176
+ this.fireEvents("onMousemove", e);
2177
+ this.setPoint(e);
2178
+ },
2179
+ onMouseleave(e) {
2180
+ this.fireEvents("onMouseleave", e);
2181
+ this.delaySetPopupVisible(false, this.$props.mouseLeaveDelay);
2182
+ },
2183
+ onPopupMouseenter() {
2184
+ const { vcTriggerContext = {} } = this;
2185
+ if (vcTriggerContext.onPopupMouseenter) vcTriggerContext.onPopupMouseenter();
2186
+ this.clearDelayTimer();
2187
+ },
2188
+ onPopupMouseleave(e) {
2189
+ var _a;
2190
+ if (e && e.relatedTarget && !e.relatedTarget.setTimeout && contains((_a = this.popupRef) === null || _a === void 0 ? void 0 : _a.getElement(), e.relatedTarget)) return;
2191
+ if (this.isMouseLeaveToHide()) this.delaySetPopupVisible(false, this.$props.mouseLeaveDelay);
2192
+ const { vcTriggerContext = {} } = this;
2193
+ if (vcTriggerContext.onPopupMouseleave) vcTriggerContext.onPopupMouseleave(e);
2194
+ },
2195
+ onFocus(e) {
2196
+ this.fireEvents("onFocus", e);
2197
+ this.clearDelayTimer();
2198
+ if (this.isFocusToShow()) {
2199
+ this.focusTime = Date.now();
2200
+ this.delaySetPopupVisible(true, this.$props.focusDelay);
2201
+ }
2202
+ },
2203
+ onMousedown(e) {
2204
+ this.fireEvents("onMousedown", e);
2205
+ this.preClickTime = Date.now();
2206
+ },
2207
+ onTouchstart(e) {
2208
+ this.fireEvents("onTouchstart", e);
2209
+ this.preTouchTime = Date.now();
2210
+ },
2211
+ onBlur(e) {
2212
+ if (!contains(e.target, e.relatedTarget || (void 0).activeElement)) {
2213
+ this.fireEvents("onBlur", e);
2214
+ this.clearDelayTimer();
2215
+ if (this.isBlurToHide()) this.delaySetPopupVisible(false, this.$props.blurDelay);
2216
+ }
2217
+ },
2218
+ onContextmenu(e) {
2219
+ e.preventDefault();
2220
+ this.fireEvents("onContextmenu", e);
2221
+ this.setPopupVisible(true, e);
2222
+ },
2223
+ onContextmenuClose() {
2224
+ if (this.isContextmenuToShow()) this.close();
2225
+ },
2226
+ onClick(event) {
2227
+ this.fireEvents("onClick", event);
2228
+ if (this.focusTime) {
2229
+ let preTime;
2230
+ if (this.preClickTime && this.preTouchTime) preTime = Math.min(this.preClickTime, this.preTouchTime);
2231
+ else if (this.preClickTime) preTime = this.preClickTime;
2232
+ else if (this.preTouchTime) preTime = this.preTouchTime;
2233
+ if (Math.abs(preTime - this.focusTime) < 20) return;
2234
+ this.focusTime = 0;
2235
+ }
2236
+ this.preClickTime = 0;
2237
+ this.preTouchTime = 0;
2238
+ if (this.isClickToShow() && (this.isClickToHide() || this.isBlurToHide()) && event && event.preventDefault) event.preventDefault();
2239
+ if (event && event.domEvent) event.domEvent.preventDefault();
2240
+ const nextVisible = !this.$data.sPopupVisible;
2241
+ if (this.isClickToHide() && !nextVisible || nextVisible && this.isClickToShow()) this.setPopupVisible(!this.$data.sPopupVisible, event);
2242
+ },
2243
+ onPopupMouseDown() {
2244
+ const { vcTriggerContext = {} } = this;
2245
+ this.hasPopupMouseDown = true;
2246
+ clearTimeout(this.mouseDownTimeout);
2247
+ this.mouseDownTimeout = setTimeout(() => {
2248
+ this.hasPopupMouseDown = false;
2249
+ }, 0);
2250
+ if (vcTriggerContext.onPopupMouseDown) vcTriggerContext.onPopupMouseDown(...arguments);
2251
+ },
2252
+ onDocumentClick(event) {
2253
+ if (this.$props.mask && !this.$props.maskClosable) return;
2254
+ const target = event.target;
2255
+ const root = this.getRootDomNode();
2256
+ const popupNode = this.getPopupDomNode();
2257
+ if ((!contains(root, target) || this.isContextMenuOnly()) && !contains(popupNode, target) && !this.hasPopupMouseDown) this.delaySetPopupVisible(false, .1);
2258
+ },
2259
+ getPopupDomNode() {
2260
+ var _a;
2261
+ return ((_a = this.popupRef) === null || _a === void 0 ? void 0 : _a.getElement()) || null;
2262
+ },
2263
+ getRootDomNode() {
2264
+ var _a, _b, _c, _d;
2265
+ const { getTriggerDOMNode } = this.$props;
2266
+ if (getTriggerDOMNode) {
2267
+ const domNode = ((_b = (_a = this.triggerRef) === null || _a === void 0 ? void 0 : _a.$el) === null || _b === void 0 ? void 0 : _b.nodeName) === "#comment" ? null : findDOMNode(this.triggerRef);
2268
+ return findDOMNode(getTriggerDOMNode(domNode));
2269
+ }
2270
+ try {
2271
+ const domNode = ((_d = (_c = this.triggerRef) === null || _c === void 0 ? void 0 : _c.$el) === null || _d === void 0 ? void 0 : _d.nodeName) === "#comment" ? null : findDOMNode(this.triggerRef);
2272
+ if (domNode) return domNode;
2273
+ } catch (err) {}
2274
+ return findDOMNode(this);
2275
+ },
2276
+ handleGetPopupClassFromAlign(align) {
2277
+ const className = [];
2278
+ const { popupPlacement, builtinPlacements, prefixCls, alignPoint, getPopupClassNameFromAlign } = this.$props;
2279
+ if (popupPlacement && builtinPlacements) className.push(getAlignPopupClassName(builtinPlacements, prefixCls, align, alignPoint));
2280
+ if (getPopupClassNameFromAlign) className.push(getPopupClassNameFromAlign(align));
2281
+ return className.join(" ");
2282
+ },
2283
+ getPopupAlign() {
2284
+ const { popupPlacement, popupAlign, builtinPlacements } = this.$props;
2285
+ if (popupPlacement && builtinPlacements) return getAlignFromPlacement(builtinPlacements, popupPlacement, popupAlign);
2286
+ return popupAlign;
2287
+ },
2288
+ getComponent() {
2289
+ const mouseProps = {};
2290
+ if (this.isMouseEnterToShow()) mouseProps.onMouseenter = this.onPopupMouseenter;
2291
+ if (this.isMouseLeaveToHide()) mouseProps.onMouseleave = this.onPopupMouseleave;
2292
+ mouseProps.onMousedown = this.onPopupMouseDown;
2293
+ mouseProps[supportsPassive_default ? "onTouchstartPassive" : "onTouchstart"] = this.onPopupMouseDown;
2294
+ const { handleGetPopupClassFromAlign, getRootDomNode, $attrs } = this;
2295
+ const { prefixCls, destroyPopupOnHide, popupClassName, popupAnimation, popupTransitionName, popupStyle, mask, maskAnimation, maskTransitionName, zIndex, stretch, alignPoint, mobile, arrow, forceRender } = this.$props;
2296
+ const { sPopupVisible, point } = this.$data;
2297
+ const popupProps = _extends(_extends({
2298
+ prefixCls,
2299
+ arrow,
2300
+ destroyPopupOnHide,
2301
+ visible: sPopupVisible,
2302
+ point: alignPoint ? point : null,
2303
+ align: this.align,
2304
+ animation: popupAnimation,
2305
+ getClassNameFromAlign: handleGetPopupClassFromAlign,
2306
+ stretch,
2307
+ getRootDomNode,
2308
+ mask,
2309
+ zIndex,
2310
+ transitionName: popupTransitionName,
2311
+ maskAnimation,
2312
+ maskTransitionName,
2313
+ class: popupClassName,
2314
+ style: popupStyle,
2315
+ onAlign: $attrs.onPopupAlign || noop$1
2316
+ }, mouseProps), {
2317
+ ref: this.setPopupRef,
2318
+ mobile,
2319
+ forceRender
2320
+ });
2321
+ return createVNode(Popup_default, popupProps, { default: this.$slots.popup || (() => getComponent(this, "popup")) });
2322
+ },
2323
+ attachParent(popupContainer) {
2324
+ wrapperRaf.cancel(this.attachId);
2325
+ const { getPopupContainer, getDocument } = this.$props;
2326
+ const domNode = this.getRootDomNode();
2327
+ let mountNode;
2328
+ if (!getPopupContainer) mountNode = getDocument(this.getRootDomNode()).body;
2329
+ else if (domNode || getPopupContainer.length === 0) mountNode = getPopupContainer(domNode);
2330
+ if (mountNode) mountNode.appendChild(popupContainer);
2331
+ else this.attachId = wrapperRaf(() => {
2332
+ this.attachParent(popupContainer);
2333
+ });
2334
+ },
2335
+ getContainer() {
2336
+ const { $props: props } = this;
2337
+ const { getDocument } = props;
2338
+ const popupContainer = getDocument(this.getRootDomNode()).createElement("div");
2339
+ popupContainer.style.position = "absolute";
2340
+ popupContainer.style.top = "0";
2341
+ popupContainer.style.left = "0";
2342
+ popupContainer.style.width = "100%";
2343
+ this.attachParent(popupContainer);
2344
+ return popupContainer;
2345
+ },
2346
+ setPopupVisible(sPopupVisible, event) {
2347
+ const { alignPoint, sPopupVisible: prevPopupVisible, onPopupVisibleChange } = this;
2348
+ this.clearDelayTimer();
2349
+ if (prevPopupVisible !== sPopupVisible) {
2350
+ if (!hasProp(this, "popupVisible")) this.setState({
2351
+ sPopupVisible,
2352
+ prevPopupVisible
2353
+ });
2354
+ onPopupVisibleChange && onPopupVisibleChange(sPopupVisible);
2355
+ }
2356
+ if (alignPoint && event && sPopupVisible) this.setPoint(event);
2357
+ },
2358
+ setPoint(point) {
2359
+ const { alignPoint } = this.$props;
2360
+ if (!alignPoint || !point) return;
2361
+ this.setState({ point: {
2362
+ pageX: point.pageX,
2363
+ pageY: point.pageY
2364
+ } });
2365
+ },
2366
+ handlePortalUpdate() {
2367
+ if (this.prevPopupVisible !== this.sPopupVisible) this.afterPopupVisibleChange(this.sPopupVisible);
2368
+ },
2369
+ delaySetPopupVisible(visible, delayS, event) {
2370
+ const delay = delayS * 1e3;
2371
+ this.clearDelayTimer();
2372
+ if (delay) {
2373
+ const point = event ? {
2374
+ pageX: event.pageX,
2375
+ pageY: event.pageY
2376
+ } : null;
2377
+ this.delayTimer = setTimeout(() => {
2378
+ this.setPopupVisible(visible, point);
2379
+ this.clearDelayTimer();
2380
+ }, delay);
2381
+ } else this.setPopupVisible(visible, event);
2382
+ },
2383
+ clearDelayTimer() {
2384
+ if (this.delayTimer) {
2385
+ clearTimeout(this.delayTimer);
2386
+ this.delayTimer = null;
2387
+ }
2388
+ },
2389
+ clearOutsideHandler() {
2390
+ if (this.clickOutsideHandler) {
2391
+ this.clickOutsideHandler.remove();
2392
+ this.clickOutsideHandler = null;
2393
+ }
2394
+ if (this.contextmenuOutsideHandler1) {
2395
+ this.contextmenuOutsideHandler1.remove();
2396
+ this.contextmenuOutsideHandler1 = null;
2397
+ }
2398
+ if (this.contextmenuOutsideHandler2) {
2399
+ this.contextmenuOutsideHandler2.remove();
2400
+ this.contextmenuOutsideHandler2 = null;
2401
+ }
2402
+ if (this.touchOutsideHandler) {
2403
+ this.touchOutsideHandler.remove();
2404
+ this.touchOutsideHandler = null;
2405
+ }
2406
+ },
2407
+ createTwoChains(event) {
2408
+ let fn = () => {};
2409
+ const events = getEvents(this);
2410
+ if (this.childOriginEvents[event] && events[event]) return this[`fire${event}`];
2411
+ fn = this.childOriginEvents[event] || events[event] || fn;
2412
+ return fn;
2413
+ },
2414
+ isClickToShow() {
2415
+ const { action, showAction } = this.$props;
2416
+ return action.indexOf("click") !== -1 || showAction.indexOf("click") !== -1;
2417
+ },
2418
+ isContextMenuOnly() {
2419
+ const { action } = this.$props;
2420
+ return action === "contextmenu" || action.length === 1 && action[0] === "contextmenu";
2421
+ },
2422
+ isContextmenuToShow() {
2423
+ const { action, showAction } = this.$props;
2424
+ return action.indexOf("contextmenu") !== -1 || showAction.indexOf("contextmenu") !== -1;
2425
+ },
2426
+ isClickToHide() {
2427
+ const { action, hideAction } = this.$props;
2428
+ return action.indexOf("click") !== -1 || hideAction.indexOf("click") !== -1;
2429
+ },
2430
+ isMouseEnterToShow() {
2431
+ const { action, showAction } = this.$props;
2432
+ return action.indexOf("hover") !== -1 || showAction.indexOf("mouseenter") !== -1;
2433
+ },
2434
+ isMouseLeaveToHide() {
2435
+ const { action, hideAction } = this.$props;
2436
+ return action.indexOf("hover") !== -1 || hideAction.indexOf("mouseleave") !== -1;
2437
+ },
2438
+ isFocusToShow() {
2439
+ const { action, showAction } = this.$props;
2440
+ return action.indexOf("focus") !== -1 || showAction.indexOf("focus") !== -1;
2441
+ },
2442
+ isBlurToHide() {
2443
+ const { action, hideAction } = this.$props;
2444
+ return action.indexOf("focus") !== -1 || hideAction.indexOf("blur") !== -1;
2445
+ },
2446
+ forcePopupAlign() {
2447
+ var _a;
2448
+ if (this.$data.sPopupVisible) (_a = this.popupRef) === null || _a === void 0 || _a.forceAlign();
2449
+ },
2450
+ fireEvents(type, e) {
2451
+ if (this.childOriginEvents[type]) this.childOriginEvents[type](e);
2452
+ const event = this.$props[type] || this.$attrs[type];
2453
+ if (event) event(e);
2454
+ },
2455
+ close() {
2456
+ this.setPopupVisible(false);
2457
+ }
2458
+ },
2459
+ render() {
2460
+ const { $attrs } = this;
2461
+ const children = filterEmpty(getSlot(this));
2462
+ const { alignPoint, getPopupContainer } = this.$props;
2463
+ const child = children[0];
2464
+ this.childOriginEvents = getEvents(child);
2465
+ const newChildProps = { key: "trigger" };
2466
+ if (this.isContextmenuToShow()) newChildProps.onContextmenu = this.onContextmenu;
2467
+ else newChildProps.onContextmenu = this.createTwoChains("onContextmenu");
2468
+ if (this.isClickToHide() || this.isClickToShow()) {
2469
+ newChildProps.onClick = this.onClick;
2470
+ newChildProps.onMousedown = this.onMousedown;
2471
+ newChildProps[supportsPassive_default ? "onTouchstartPassive" : "onTouchstart"] = this.onTouchstart;
2472
+ } else {
2473
+ newChildProps.onClick = this.createTwoChains("onClick");
2474
+ newChildProps.onMousedown = this.createTwoChains("onMousedown");
2475
+ newChildProps[supportsPassive_default ? "onTouchstartPassive" : "onTouchstart"] = this.createTwoChains("onTouchstart");
2476
+ }
2477
+ if (this.isMouseEnterToShow()) {
2478
+ newChildProps.onMouseenter = this.onMouseenter;
2479
+ if (alignPoint) newChildProps.onMousemove = this.onMouseMove;
2480
+ } else newChildProps.onMouseenter = this.createTwoChains("onMouseenter");
2481
+ if (this.isMouseLeaveToHide()) newChildProps.onMouseleave = this.onMouseleave;
2482
+ else newChildProps.onMouseleave = this.createTwoChains("onMouseleave");
2483
+ if (this.isFocusToShow() || this.isBlurToHide()) {
2484
+ newChildProps.onFocus = this.onFocus;
2485
+ newChildProps.onBlur = this.onBlur;
2486
+ } else {
2487
+ newChildProps.onFocus = this.createTwoChains("onFocus");
2488
+ newChildProps.onBlur = (e) => {
2489
+ if (e && (!e.relatedTarget || !contains(e.target, e.relatedTarget))) this.createTwoChains("onBlur")(e);
2490
+ };
2491
+ }
2492
+ const childrenClassName = classNames(child && child.props && child.props.class, $attrs.class);
2493
+ if (childrenClassName) newChildProps.class = childrenClassName;
2494
+ const trigger = cloneElement(child, _extends(_extends({}, newChildProps), { ref: "triggerRef" }), true, true);
2495
+ const portal = createVNode(PortalWrapper_default, {
2496
+ "key": "portal",
2497
+ "getContainer": getPopupContainer && (() => getPopupContainer(this.getRootDomNode())),
2498
+ "didUpdate": this.handlePortalUpdate,
2499
+ "visible": this.$data.sPopupVisible
2500
+ }, { default: this.getComponent });
2501
+ return createVNode(Fragment, null, [trigger, portal]);
2502
+ }
2503
+ });
2504
+ //#endregion
2505
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/_util/hooks/useMergedState.js
2506
+ function useMergedState(defaultStateValue, option) {
2507
+ const { defaultValue, value = ref() } = option || {};
2508
+ let initValue = typeof defaultStateValue === "function" ? defaultStateValue() : defaultStateValue;
2509
+ if (value.value !== void 0) initValue = unref(value);
2510
+ if (defaultValue !== void 0) initValue = typeof defaultValue === "function" ? defaultValue() : defaultValue;
2511
+ const innerValue = ref(initValue);
2512
+ const mergedValue = ref(initValue);
2513
+ watchEffect(() => {
2514
+ let val = value.value !== void 0 ? value.value : innerValue.value;
2515
+ if (option.postState) val = option.postState(val);
2516
+ mergedValue.value = val;
2517
+ });
2518
+ function triggerChange(newValue) {
2519
+ const preVal = mergedValue.value;
2520
+ innerValue.value = newValue;
2521
+ if (toRaw(mergedValue.value) !== newValue && option.onChange) option.onChange(newValue, preVal);
2522
+ }
2523
+ watch(value, () => {
2524
+ innerValue.value = value.value;
2525
+ });
2526
+ return [mergedValue, triggerChange];
2527
+ }
2528
+ //#endregion
2529
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/vc-tooltip/src/placements.js
2530
+ var autoAdjustOverflow = {
2531
+ adjustX: 1,
2532
+ adjustY: 1
2533
+ };
2534
+ var targetOffset$1 = [0, 0];
2535
+ var placements = {
2536
+ left: {
2537
+ points: ["cr", "cl"],
2538
+ overflow: autoAdjustOverflow,
2539
+ offset: [-4, 0],
2540
+ targetOffset: targetOffset$1
2541
+ },
2542
+ right: {
2543
+ points: ["cl", "cr"],
2544
+ overflow: autoAdjustOverflow,
2545
+ offset: [4, 0],
2546
+ targetOffset: targetOffset$1
2547
+ },
2548
+ top: {
2549
+ points: ["bc", "tc"],
2550
+ overflow: autoAdjustOverflow,
2551
+ offset: [0, -4],
2552
+ targetOffset: targetOffset$1
2553
+ },
2554
+ bottom: {
2555
+ points: ["tc", "bc"],
2556
+ overflow: autoAdjustOverflow,
2557
+ offset: [0, 4],
2558
+ targetOffset: targetOffset$1
2559
+ },
2560
+ topLeft: {
2561
+ points: ["bl", "tl"],
2562
+ overflow: autoAdjustOverflow,
2563
+ offset: [0, -4],
2564
+ targetOffset: targetOffset$1
2565
+ },
2566
+ leftTop: {
2567
+ points: ["tr", "tl"],
2568
+ overflow: autoAdjustOverflow,
2569
+ offset: [-4, 0],
2570
+ targetOffset: targetOffset$1
2571
+ },
2572
+ topRight: {
2573
+ points: ["br", "tr"],
2574
+ overflow: autoAdjustOverflow,
2575
+ offset: [0, -4],
2576
+ targetOffset: targetOffset$1
2577
+ },
2578
+ rightTop: {
2579
+ points: ["tl", "tr"],
2580
+ overflow: autoAdjustOverflow,
2581
+ offset: [4, 0],
2582
+ targetOffset: targetOffset$1
2583
+ },
2584
+ bottomRight: {
2585
+ points: ["tr", "br"],
2586
+ overflow: autoAdjustOverflow,
2587
+ offset: [0, 4],
2588
+ targetOffset: targetOffset$1
2589
+ },
2590
+ rightBottom: {
2591
+ points: ["bl", "br"],
2592
+ overflow: autoAdjustOverflow,
2593
+ offset: [4, 0],
2594
+ targetOffset: targetOffset$1
2595
+ },
2596
+ bottomLeft: {
2597
+ points: ["tl", "bl"],
2598
+ overflow: autoAdjustOverflow,
2599
+ offset: [0, 4],
2600
+ targetOffset: targetOffset$1
2601
+ },
2602
+ leftBottom: {
2603
+ points: ["br", "bl"],
2604
+ overflow: autoAdjustOverflow,
2605
+ offset: [-4, 0],
2606
+ targetOffset: targetOffset$1
2607
+ }
2608
+ };
2609
+ //#endregion
2610
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/vc-tooltip/src/Content.js
2611
+ var tooltipContentProps = {
2612
+ prefixCls: String,
2613
+ id: String,
2614
+ overlayInnerStyle: PropTypes.any
2615
+ };
2616
+ var Content_default = defineComponent({
2617
+ compatConfig: { MODE: 3 },
2618
+ name: "TooltipContent",
2619
+ props: tooltipContentProps,
2620
+ setup(props, _ref) {
2621
+ let { slots } = _ref;
2622
+ return () => {
2623
+ var _a;
2624
+ return createVNode("div", {
2625
+ "class": `${props.prefixCls}-inner`,
2626
+ "id": props.id,
2627
+ "role": "tooltip",
2628
+ "style": props.overlayInnerStyle
2629
+ }, [(_a = slots.overlay) === null || _a === void 0 ? void 0 : _a.call(slots)]);
2630
+ };
2631
+ }
2632
+ });
2633
+ //#endregion
2634
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/vc-tooltip/src/Tooltip.js
2635
+ var __rest = function(s, e) {
2636
+ var t = {};
2637
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
2638
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") {
2639
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
2640
+ }
2641
+ return t;
2642
+ };
2643
+ function noop() {}
2644
+ //#endregion
2645
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/vc-tooltip/index.js
2646
+ var vc_tooltip_default = defineComponent({
2647
+ compatConfig: { MODE: 3 },
2648
+ name: "Tooltip",
2649
+ inheritAttrs: false,
2650
+ props: {
2651
+ trigger: PropTypes.any.def(["hover"]),
2652
+ defaultVisible: {
2653
+ type: Boolean,
2654
+ default: void 0
2655
+ },
2656
+ visible: {
2657
+ type: Boolean,
2658
+ default: void 0
2659
+ },
2660
+ placement: PropTypes.string.def("right"),
2661
+ transitionName: String,
2662
+ animation: PropTypes.any,
2663
+ afterVisibleChange: PropTypes.func.def(() => {}),
2664
+ overlayStyle: {
2665
+ type: Object,
2666
+ default: void 0
2667
+ },
2668
+ overlayClassName: String,
2669
+ prefixCls: PropTypes.string.def("rc-tooltip"),
2670
+ mouseEnterDelay: PropTypes.number.def(.1),
2671
+ mouseLeaveDelay: PropTypes.number.def(.1),
2672
+ getPopupContainer: Function,
2673
+ destroyTooltipOnHide: {
2674
+ type: Boolean,
2675
+ default: false
2676
+ },
2677
+ align: PropTypes.object.def(() => ({})),
2678
+ arrowContent: PropTypes.any.def(null),
2679
+ tipId: String,
2680
+ builtinPlacements: PropTypes.object,
2681
+ overlayInnerStyle: {
2682
+ type: Object,
2683
+ default: void 0
2684
+ },
2685
+ popupVisible: {
2686
+ type: Boolean,
2687
+ default: void 0
2688
+ },
2689
+ onVisibleChange: Function,
2690
+ onPopupAlign: Function,
2691
+ arrow: {
2692
+ type: Boolean,
2693
+ default: true
2694
+ }
2695
+ },
2696
+ setup(props, _ref) {
2697
+ let { slots, attrs, expose } = _ref;
2698
+ const triggerDOM = shallowRef();
2699
+ const getPopupElement = () => {
2700
+ const { prefixCls, tipId, overlayInnerStyle } = props;
2701
+ return [!!props.arrow ? createVNode("div", {
2702
+ "class": `${prefixCls}-arrow`,
2703
+ "key": "arrow"
2704
+ }, [getPropsSlot(slots, props, "arrowContent")]) : null, createVNode(Content_default, {
2705
+ "key": "content",
2706
+ "prefixCls": prefixCls,
2707
+ "id": tipId,
2708
+ "overlayInnerStyle": overlayInnerStyle
2709
+ }, { overlay: slots.overlay })];
2710
+ };
2711
+ const getPopupDomNode = () => {
2712
+ return triggerDOM.value.getPopupDomNode();
2713
+ };
2714
+ expose({
2715
+ getPopupDomNode,
2716
+ triggerDOM,
2717
+ forcePopupAlign: () => {
2718
+ var _a;
2719
+ return (_a = triggerDOM.value) === null || _a === void 0 ? void 0 : _a.forcePopupAlign();
2720
+ }
2721
+ });
2722
+ const destroyTooltip = shallowRef(false);
2723
+ const autoDestroy = shallowRef(false);
2724
+ watchEffect(() => {
2725
+ const { destroyTooltipOnHide } = props;
2726
+ if (typeof destroyTooltipOnHide === "boolean") destroyTooltip.value = destroyTooltipOnHide;
2727
+ else if (destroyTooltipOnHide && typeof destroyTooltipOnHide === "object") {
2728
+ const { keepParent } = destroyTooltipOnHide;
2729
+ destroyTooltip.value = keepParent === true;
2730
+ autoDestroy.value = keepParent === false;
2731
+ }
2732
+ });
2733
+ return () => {
2734
+ const { overlayClassName, trigger, mouseEnterDelay, mouseLeaveDelay, overlayStyle, prefixCls, afterVisibleChange, transitionName, animation, placement, align, destroyTooltipOnHide, defaultVisible } = props, restProps = __rest(props, [
2735
+ "overlayClassName",
2736
+ "trigger",
2737
+ "mouseEnterDelay",
2738
+ "mouseLeaveDelay",
2739
+ "overlayStyle",
2740
+ "prefixCls",
2741
+ "afterVisibleChange",
2742
+ "transitionName",
2743
+ "animation",
2744
+ "placement",
2745
+ "align",
2746
+ "destroyTooltipOnHide",
2747
+ "defaultVisible"
2748
+ ]);
2749
+ const extraProps = _extends({}, restProps);
2750
+ if (props.visible !== void 0) extraProps.popupVisible = props.visible;
2751
+ const triggerProps = _extends(_extends(_extends({
2752
+ popupClassName: overlayClassName,
2753
+ prefixCls,
2754
+ action: trigger,
2755
+ builtinPlacements: placements,
2756
+ popupPlacement: placement,
2757
+ popupAlign: align,
2758
+ afterPopupVisibleChange: afterVisibleChange,
2759
+ popupTransitionName: transitionName,
2760
+ popupAnimation: animation,
2761
+ defaultPopupVisible: defaultVisible,
2762
+ destroyPopupOnHide: destroyTooltip.value,
2763
+ autoDestroy: autoDestroy.value,
2764
+ mouseLeaveDelay,
2765
+ popupStyle: overlayStyle,
2766
+ mouseEnterDelay
2767
+ }, extraProps), attrs), {
2768
+ onPopupVisibleChange: props.onVisibleChange || noop,
2769
+ onPopupAlign: props.onPopupAlign || noop,
2770
+ ref: triggerDOM,
2771
+ arrow: !!props.arrow,
2772
+ popup: getPopupElement()
2773
+ });
2774
+ return createVNode(vc_trigger_default, triggerProps, { default: slots.default });
2775
+ };
2776
+ }
2777
+ });
2778
+ //#endregion
2779
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/tooltip/abstractTooltipProps.js
2780
+ var abstractTooltipProps_default = (() => ({
2781
+ trigger: [String, Array],
2782
+ open: {
2783
+ type: Boolean,
2784
+ default: void 0
2785
+ },
2786
+ /** @deprecated Please use `open` instead. */
2787
+ visible: {
2788
+ type: Boolean,
2789
+ default: void 0
2790
+ },
2791
+ placement: String,
2792
+ color: String,
2793
+ transitionName: String,
2794
+ overlayStyle: objectType(),
2795
+ overlayInnerStyle: objectType(),
2796
+ overlayClassName: String,
2797
+ openClassName: String,
2798
+ prefixCls: String,
2799
+ mouseEnterDelay: Number,
2800
+ mouseLeaveDelay: Number,
2801
+ getPopupContainer: Function,
2802
+ /**@deprecated Please use `arrow={{ pointAtCenter: true }}` instead. */
2803
+ arrowPointAtCenter: {
2804
+ type: Boolean,
2805
+ default: void 0
2806
+ },
2807
+ arrow: {
2808
+ type: [Boolean, Object],
2809
+ default: true
2810
+ },
2811
+ autoAdjustOverflow: {
2812
+ type: [Boolean, Object],
2813
+ default: void 0
2814
+ },
2815
+ destroyTooltipOnHide: {
2816
+ type: Boolean,
2817
+ default: void 0
2818
+ },
2819
+ align: objectType(),
2820
+ builtinPlacements: objectType(),
2821
+ children: Array,
2822
+ /** @deprecated Please use `onOpenChange` instead. */
2823
+ onVisibleChange: Function,
2824
+ /** @deprecated Please use `onUpdate:open` instead. */
2825
+ "onUpdate:visible": Function,
2826
+ onOpenChange: Function,
2827
+ "onUpdate:open": Function
2828
+ }));
2829
+ //#endregion
2830
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/_util/placements.js
2831
+ var autoAdjustOverflowEnabled = {
2832
+ adjustX: 1,
2833
+ adjustY: 1
2834
+ };
2835
+ var autoAdjustOverflowDisabled = {
2836
+ adjustX: 0,
2837
+ adjustY: 0
2838
+ };
2839
+ var targetOffset = [0, 0];
2840
+ function getOverflowOptions(autoAdjustOverflow) {
2841
+ if (typeof autoAdjustOverflow === "boolean") return autoAdjustOverflow ? autoAdjustOverflowEnabled : autoAdjustOverflowDisabled;
2842
+ return _extends(_extends({}, autoAdjustOverflowDisabled), autoAdjustOverflow);
2843
+ }
2844
+ function getPlacements(config) {
2845
+ const { arrowWidth = 4, horizontalArrowShift = 16, verticalArrowShift = 8, autoAdjustOverflow, arrowPointAtCenter } = config;
2846
+ const placementMap = {
2847
+ left: {
2848
+ points: ["cr", "cl"],
2849
+ offset: [-4, 0]
2850
+ },
2851
+ right: {
2852
+ points: ["cl", "cr"],
2853
+ offset: [4, 0]
2854
+ },
2855
+ top: {
2856
+ points: ["bc", "tc"],
2857
+ offset: [0, -4]
2858
+ },
2859
+ bottom: {
2860
+ points: ["tc", "bc"],
2861
+ offset: [0, 4]
2862
+ },
2863
+ topLeft: {
2864
+ points: ["bl", "tc"],
2865
+ offset: [-(horizontalArrowShift + arrowWidth), -4]
2866
+ },
2867
+ leftTop: {
2868
+ points: ["tr", "cl"],
2869
+ offset: [-4, -(verticalArrowShift + arrowWidth)]
2870
+ },
2871
+ topRight: {
2872
+ points: ["br", "tc"],
2873
+ offset: [horizontalArrowShift + arrowWidth, -4]
2874
+ },
2875
+ rightTop: {
2876
+ points: ["tl", "cr"],
2877
+ offset: [4, -(verticalArrowShift + arrowWidth)]
2878
+ },
2879
+ bottomRight: {
2880
+ points: ["tr", "bc"],
2881
+ offset: [horizontalArrowShift + arrowWidth, 4]
2882
+ },
2883
+ rightBottom: {
2884
+ points: ["bl", "cr"],
2885
+ offset: [4, verticalArrowShift + arrowWidth]
2886
+ },
2887
+ bottomLeft: {
2888
+ points: ["tl", "bc"],
2889
+ offset: [-(horizontalArrowShift + arrowWidth), 4]
2890
+ },
2891
+ leftBottom: {
2892
+ points: ["br", "cl"],
2893
+ offset: [-4, verticalArrowShift + arrowWidth]
2894
+ }
2895
+ };
2896
+ Object.keys(placementMap).forEach((key) => {
2897
+ placementMap[key] = arrowPointAtCenter ? _extends(_extends({}, placementMap[key]), {
2898
+ overflow: getOverflowOptions(autoAdjustOverflow),
2899
+ targetOffset
2900
+ }) : _extends(_extends({}, placements[key]), { overflow: getOverflowOptions(autoAdjustOverflow) });
2901
+ placementMap[key].ignoreShake = true;
2902
+ });
2903
+ return placementMap;
2904
+ }
2905
+ //#endregion
2906
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/_util/firstNotUndefined.js
2907
+ function firstNotUndefined() {
2908
+ let arr = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
2909
+ for (let i = 0, len = arr.length; i < len; i++) if (arr[i] !== void 0) return arr[i];
2910
+ }
2911
+ //#endregion
2912
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/_util/colors.js
2913
+ var inverseColors = PresetColors.map((color) => `${color}-inverse`);
2914
+ var PresetStatusColorTypes = [
2915
+ "success",
2916
+ "processing",
2917
+ "error",
2918
+ "default",
2919
+ "warning"
2920
+ ];
2921
+ /**
2922
+ * determine if the color keyword belongs to the `Ant Design` {@link PresetColors}.
2923
+ * @param color color to be judged
2924
+ * @param includeInverse whether to include reversed colors
2925
+ */
2926
+ function isPresetColor(color) {
2927
+ if (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : true) return [...inverseColors, ...PresetColors].includes(color);
2928
+ return PresetColors.includes(color);
2929
+ }
2930
+ function isPresetStatusColor(color) {
2931
+ return PresetStatusColorTypes.includes(color);
2932
+ }
2933
+ //#endregion
2934
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/tooltip/util.js
2935
+ function parseColor(prefixCls, color) {
2936
+ const isInternalColor = isPresetColor(color);
2937
+ const className = classNames({ [`${prefixCls}-${color}`]: color && isInternalColor });
2938
+ const overlayStyle = {};
2939
+ const arrowStyle = {};
2940
+ if (color && !isInternalColor) {
2941
+ overlayStyle.background = color;
2942
+ arrowStyle["--antd-arrow-background-color"] = color;
2943
+ }
2944
+ return {
2945
+ className,
2946
+ overlayStyle,
2947
+ arrowStyle
2948
+ };
2949
+ }
2950
+ //#endregion
2951
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/style/placementArrow.js
2952
+ function connectArrowCls(classList) {
2953
+ let showArrowCls = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
2954
+ return classList.map((cls) => `${showArrowCls}${cls}`).join(",");
2955
+ }
2956
+ function getArrowOffset(options) {
2957
+ const maxVerticalContentRadius = 8;
2958
+ const { sizePopupArrow, contentRadius, borderRadiusOuter, limitVerticalRadius } = options;
2959
+ const arrowInnerOffset = sizePopupArrow / 2 - Math.ceil(borderRadiusOuter * (Math.sqrt(2) - 1));
2960
+ const dropdownArrowOffset = (contentRadius > 12 ? contentRadius + 2 : 12) - arrowInnerOffset;
2961
+ return {
2962
+ dropdownArrowOffset,
2963
+ dropdownArrowOffsetVertical: limitVerticalRadius ? maxVerticalContentRadius - arrowInnerOffset : dropdownArrowOffset
2964
+ };
2965
+ }
2966
+ function getArrowStyle(token, options) {
2967
+ const { componentCls, sizePopupArrow, marginXXS, borderRadiusXS, borderRadiusOuter, boxShadowPopoverArrow } = token;
2968
+ const { colorBg, showArrowCls, contentRadius = token.borderRadiusLG, limitVerticalRadius } = options;
2969
+ const { dropdownArrowOffsetVertical, dropdownArrowOffset } = getArrowOffset({
2970
+ sizePopupArrow,
2971
+ contentRadius,
2972
+ borderRadiusOuter,
2973
+ limitVerticalRadius
2974
+ });
2975
+ const dropdownArrowDistance = sizePopupArrow / 2 + marginXXS;
2976
+ return { [componentCls]: {
2977
+ [`${componentCls}-arrow`]: [_extends(_extends({
2978
+ position: "absolute",
2979
+ zIndex: 1,
2980
+ display: "block"
2981
+ }, roundedArrow(sizePopupArrow, borderRadiusXS, borderRadiusOuter, colorBg, boxShadowPopoverArrow)), { "&:before": { background: colorBg } })],
2982
+ [[
2983
+ `&-placement-top ${componentCls}-arrow`,
2984
+ `&-placement-topLeft ${componentCls}-arrow`,
2985
+ `&-placement-topRight ${componentCls}-arrow`
2986
+ ].join(",")]: {
2987
+ bottom: 0,
2988
+ transform: "translateY(100%) rotate(180deg)"
2989
+ },
2990
+ [`&-placement-top ${componentCls}-arrow`]: {
2991
+ left: {
2992
+ _skip_check_: true,
2993
+ value: "50%"
2994
+ },
2995
+ transform: "translateX(-50%) translateY(100%) rotate(180deg)"
2996
+ },
2997
+ [`&-placement-topLeft ${componentCls}-arrow`]: { left: {
2998
+ _skip_check_: true,
2999
+ value: dropdownArrowOffset
3000
+ } },
3001
+ [`&-placement-topRight ${componentCls}-arrow`]: { right: {
3002
+ _skip_check_: true,
3003
+ value: dropdownArrowOffset
3004
+ } },
3005
+ [[
3006
+ `&-placement-bottom ${componentCls}-arrow`,
3007
+ `&-placement-bottomLeft ${componentCls}-arrow`,
3008
+ `&-placement-bottomRight ${componentCls}-arrow`
3009
+ ].join(",")]: {
3010
+ top: 0,
3011
+ transform: `translateY(-100%)`
3012
+ },
3013
+ [`&-placement-bottom ${componentCls}-arrow`]: {
3014
+ left: {
3015
+ _skip_check_: true,
3016
+ value: "50%"
3017
+ },
3018
+ transform: `translateX(-50%) translateY(-100%)`
3019
+ },
3020
+ [`&-placement-bottomLeft ${componentCls}-arrow`]: { left: {
3021
+ _skip_check_: true,
3022
+ value: dropdownArrowOffset
3023
+ } },
3024
+ [`&-placement-bottomRight ${componentCls}-arrow`]: { right: {
3025
+ _skip_check_: true,
3026
+ value: dropdownArrowOffset
3027
+ } },
3028
+ [[
3029
+ `&-placement-left ${componentCls}-arrow`,
3030
+ `&-placement-leftTop ${componentCls}-arrow`,
3031
+ `&-placement-leftBottom ${componentCls}-arrow`
3032
+ ].join(",")]: {
3033
+ right: {
3034
+ _skip_check_: true,
3035
+ value: 0
3036
+ },
3037
+ transform: "translateX(100%) rotate(90deg)"
3038
+ },
3039
+ [`&-placement-left ${componentCls}-arrow`]: {
3040
+ top: {
3041
+ _skip_check_: true,
3042
+ value: "50%"
3043
+ },
3044
+ transform: "translateY(-50%) translateX(100%) rotate(90deg)"
3045
+ },
3046
+ [`&-placement-leftTop ${componentCls}-arrow`]: { top: dropdownArrowOffsetVertical },
3047
+ [`&-placement-leftBottom ${componentCls}-arrow`]: { bottom: dropdownArrowOffsetVertical },
3048
+ [[
3049
+ `&-placement-right ${componentCls}-arrow`,
3050
+ `&-placement-rightTop ${componentCls}-arrow`,
3051
+ `&-placement-rightBottom ${componentCls}-arrow`
3052
+ ].join(",")]: {
3053
+ left: {
3054
+ _skip_check_: true,
3055
+ value: 0
3056
+ },
3057
+ transform: "translateX(-100%) rotate(-90deg)"
3058
+ },
3059
+ [`&-placement-right ${componentCls}-arrow`]: {
3060
+ top: {
3061
+ _skip_check_: true,
3062
+ value: "50%"
3063
+ },
3064
+ transform: "translateY(-50%) translateX(-100%) rotate(-90deg)"
3065
+ },
3066
+ [`&-placement-rightTop ${componentCls}-arrow`]: { top: dropdownArrowOffsetVertical },
3067
+ [`&-placement-rightBottom ${componentCls}-arrow`]: { bottom: dropdownArrowOffsetVertical },
3068
+ [connectArrowCls([
3069
+ `&-placement-topLeft`,
3070
+ `&-placement-top`,
3071
+ `&-placement-topRight`
3072
+ ].map((cls) => cls += ":not(&-arrow-hidden)"), showArrowCls)]: { paddingBottom: dropdownArrowDistance },
3073
+ [connectArrowCls([
3074
+ `&-placement-bottomLeft`,
3075
+ `&-placement-bottom`,
3076
+ `&-placement-bottomRight`
3077
+ ].map((cls) => cls += ":not(&-arrow-hidden)"), showArrowCls)]: { paddingTop: dropdownArrowDistance },
3078
+ [connectArrowCls([
3079
+ `&-placement-leftTop`,
3080
+ `&-placement-left`,
3081
+ `&-placement-leftBottom`
3082
+ ].map((cls) => cls += ":not(&-arrow-hidden)"), showArrowCls)]: { paddingRight: {
3083
+ _skip_check_: true,
3084
+ value: dropdownArrowDistance
3085
+ } },
3086
+ [connectArrowCls([
3087
+ `&-placement-rightTop`,
3088
+ `&-placement-right`,
3089
+ `&-placement-rightBottom`
3090
+ ].map((cls) => cls += ":not(&-arrow-hidden)"), showArrowCls)]: { paddingLeft: {
3091
+ _skip_check_: true,
3092
+ value: dropdownArrowDistance
3093
+ } }
3094
+ } };
3095
+ }
3096
+ //#endregion
3097
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/tooltip/style/index.js
3098
+ var genTooltipStyle = (token) => {
3099
+ const { componentCls, tooltipMaxWidth, tooltipColor, tooltipBg, tooltipBorderRadius, zIndexPopup, controlHeight, boxShadowSecondary, paddingSM, paddingXS, tooltipRadiusOuter } = token;
3100
+ return [
3101
+ { [componentCls]: _extends(_extends(_extends(_extends({}, resetComponent(token)), {
3102
+ position: "absolute",
3103
+ zIndex: zIndexPopup,
3104
+ display: "block",
3105
+ "&": [{ width: "max-content" }, { width: "intrinsic" }],
3106
+ maxWidth: tooltipMaxWidth,
3107
+ visibility: "visible",
3108
+ "&-hidden": { display: "none" },
3109
+ "--antd-arrow-background-color": tooltipBg,
3110
+ [`${componentCls}-inner`]: {
3111
+ minWidth: controlHeight,
3112
+ minHeight: controlHeight,
3113
+ padding: `${paddingSM / 2}px ${paddingXS}px`,
3114
+ color: tooltipColor,
3115
+ textAlign: "start",
3116
+ textDecoration: "none",
3117
+ wordWrap: "break-word",
3118
+ backgroundColor: tooltipBg,
3119
+ borderRadius: tooltipBorderRadius,
3120
+ boxShadow: boxShadowSecondary
3121
+ },
3122
+ [[
3123
+ `&-placement-left`,
3124
+ `&-placement-leftTop`,
3125
+ `&-placement-leftBottom`,
3126
+ `&-placement-right`,
3127
+ `&-placement-rightTop`,
3128
+ `&-placement-rightBottom`
3129
+ ].join(",")]: { [`${componentCls}-inner`]: { borderRadius: Math.min(tooltipBorderRadius, 8) } },
3130
+ [`${componentCls}-content`]: { position: "relative" }
3131
+ }), genPresetColor(token, (colorKey, _ref) => {
3132
+ let { darkColor } = _ref;
3133
+ return { [`&${componentCls}-${colorKey}`]: {
3134
+ [`${componentCls}-inner`]: { backgroundColor: darkColor },
3135
+ [`${componentCls}-arrow`]: { "--antd-arrow-background-color": darkColor }
3136
+ } };
3137
+ })), { "&-rtl": { direction: "rtl" } }) },
3138
+ getArrowStyle(merge(token, { borderRadiusOuter: tooltipRadiusOuter }), {
3139
+ colorBg: "var(--antd-arrow-background-color)",
3140
+ showArrowCls: "",
3141
+ contentRadius: tooltipBorderRadius,
3142
+ limitVerticalRadius: true
3143
+ }),
3144
+ { [`${componentCls}-pure`]: {
3145
+ position: "relative",
3146
+ maxWidth: "none"
3147
+ } }
3148
+ ];
3149
+ };
3150
+ var style_default = ((prefixCls, injectStyle) => {
3151
+ return genComponentStyleHook("Tooltip", (token) => {
3152
+ if ((injectStyle === null || injectStyle === void 0 ? void 0 : injectStyle.value) === false) return [];
3153
+ const { borderRadius, colorTextLightSolid, colorBgDefault, borderRadiusOuter } = token;
3154
+ return [genTooltipStyle(merge(token, {
3155
+ tooltipMaxWidth: 250,
3156
+ tooltipColor: colorTextLightSolid,
3157
+ tooltipBorderRadius: borderRadius,
3158
+ tooltipBg: colorBgDefault,
3159
+ tooltipRadiusOuter: borderRadiusOuter > 4 ? 4 : borderRadiusOuter
3160
+ })), initZoomMotion(token, "zoom-big-fast")];
3161
+ }, (_ref2) => {
3162
+ let { zIndexPopupBase, colorBgSpotlight } = _ref2;
3163
+ return {
3164
+ zIndexPopup: zIndexPopupBase + 70,
3165
+ colorBgDefault: colorBgSpotlight
3166
+ };
3167
+ })(prefixCls);
3168
+ });
3169
+ //#endregion
3170
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/tooltip/Tooltip.js
3171
+ var splitObject = (obj, keys) => {
3172
+ const picked = {};
3173
+ const omitted = _extends({}, obj);
3174
+ keys.forEach((key) => {
3175
+ if (obj && key in obj) {
3176
+ picked[key] = obj[key];
3177
+ delete omitted[key];
3178
+ }
3179
+ });
3180
+ return {
3181
+ picked,
3182
+ omitted
3183
+ };
3184
+ };
3185
+ var tooltipProps = () => _extends(_extends({}, abstractTooltipProps_default()), { title: PropTypes.any });
3186
+ var tooltipDefaultProps = () => ({
3187
+ trigger: "hover",
3188
+ align: {},
3189
+ placement: "top",
3190
+ mouseEnterDelay: .1,
3191
+ mouseLeaveDelay: .1,
3192
+ arrowPointAtCenter: false,
3193
+ autoAdjustOverflow: true
3194
+ });
3195
+ var Tooltip_default = defineComponent({
3196
+ compatConfig: { MODE: 3 },
3197
+ name: "ATooltip",
3198
+ inheritAttrs: false,
3199
+ props: initDefaultProps(tooltipProps(), {
3200
+ trigger: "hover",
3201
+ align: {},
3202
+ placement: "top",
3203
+ mouseEnterDelay: .1,
3204
+ mouseLeaveDelay: .1,
3205
+ arrowPointAtCenter: false,
3206
+ autoAdjustOverflow: true
3207
+ }),
3208
+ slots: Object,
3209
+ setup(props, _ref) {
3210
+ let { slots, emit, attrs, expose } = _ref;
3211
+ const { prefixCls, getPopupContainer, direction, rootPrefixCls } = useConfigInject_default("tooltip", props);
3212
+ const mergedOpen = computed(() => {
3213
+ var _a;
3214
+ return (_a = props.open) !== null && _a !== void 0 ? _a : props.visible;
3215
+ });
3216
+ const innerOpen = ref(firstNotUndefined([props.open, props.visible]));
3217
+ const tooltip = ref();
3218
+ let rafId;
3219
+ watch(mergedOpen, (val) => {
3220
+ wrapperRaf.cancel(rafId);
3221
+ rafId = wrapperRaf(() => {
3222
+ innerOpen.value = !!val;
3223
+ });
3224
+ });
3225
+ const isNoTitle = () => {
3226
+ var _a;
3227
+ const title = (_a = props.title) !== null && _a !== void 0 ? _a : slots.title;
3228
+ return !title && title !== 0;
3229
+ };
3230
+ const handleVisibleChange = (val) => {
3231
+ const noTitle = isNoTitle();
3232
+ if (mergedOpen.value === void 0) innerOpen.value = noTitle ? false : val;
3233
+ if (!noTitle) {
3234
+ emit("update:visible", val);
3235
+ emit("visibleChange", val);
3236
+ emit("update:open", val);
3237
+ emit("openChange", val);
3238
+ }
3239
+ };
3240
+ const getPopupDomNode = () => {
3241
+ return tooltip.value.getPopupDomNode();
3242
+ };
3243
+ expose({
3244
+ getPopupDomNode,
3245
+ open: innerOpen,
3246
+ forcePopupAlign: () => {
3247
+ var _a;
3248
+ return (_a = tooltip.value) === null || _a === void 0 ? void 0 : _a.forcePopupAlign();
3249
+ }
3250
+ });
3251
+ const tooltipPlacements = computed(() => {
3252
+ var _a;
3253
+ const { builtinPlacements, autoAdjustOverflow, arrow, arrowPointAtCenter } = props;
3254
+ let mergedArrowPointAtCenter = arrowPointAtCenter;
3255
+ if (typeof arrow === "object") mergedArrowPointAtCenter = (_a = arrow.pointAtCenter) !== null && _a !== void 0 ? _a : arrowPointAtCenter;
3256
+ return builtinPlacements || getPlacements({
3257
+ arrowPointAtCenter: mergedArrowPointAtCenter,
3258
+ autoAdjustOverflow
3259
+ });
3260
+ });
3261
+ const isTrueProps = (val) => {
3262
+ return val || val === "";
3263
+ };
3264
+ const getDisabledCompatibleChildren = (ele) => {
3265
+ const elementType = ele.type;
3266
+ if (typeof elementType === "object" && ele.props) {
3267
+ if ((elementType.__ANT_BUTTON === true || elementType === "button") && isTrueProps(ele.props.disabled) || elementType.__ANT_SWITCH === true && (isTrueProps(ele.props.disabled) || isTrueProps(ele.props.loading)) || elementType.__ANT_RADIO === true && isTrueProps(ele.props.disabled)) {
3268
+ const { picked, omitted } = splitObject(getStyle(ele), [
3269
+ "position",
3270
+ "left",
3271
+ "right",
3272
+ "top",
3273
+ "bottom",
3274
+ "float",
3275
+ "display",
3276
+ "zIndex"
3277
+ ]);
3278
+ const spanStyle = _extends(_extends({ display: "inline-block" }, picked), {
3279
+ cursor: "not-allowed",
3280
+ lineHeight: 1,
3281
+ width: ele.props && ele.props.block ? "100%" : void 0
3282
+ });
3283
+ const buttonStyle = _extends(_extends({}, omitted), { pointerEvents: "none" });
3284
+ const child = cloneElement(ele, { style: buttonStyle }, true);
3285
+ return createVNode("span", {
3286
+ "style": spanStyle,
3287
+ "class": `${prefixCls.value}-disabled-compatible-wrapper`
3288
+ }, [child]);
3289
+ }
3290
+ }
3291
+ return ele;
3292
+ };
3293
+ const getOverlay = () => {
3294
+ var _a, _b;
3295
+ return (_a = props.title) !== null && _a !== void 0 ? _a : (_b = slots.title) === null || _b === void 0 ? void 0 : _b.call(slots);
3296
+ };
3297
+ const onPopupAlign = (domNode, align) => {
3298
+ const placements = tooltipPlacements.value;
3299
+ const placement = Object.keys(placements).find((key) => {
3300
+ var _a, _b;
3301
+ return placements[key].points[0] === ((_a = align.points) === null || _a === void 0 ? void 0 : _a[0]) && placements[key].points[1] === ((_b = align.points) === null || _b === void 0 ? void 0 : _b[1]);
3302
+ });
3303
+ if (placement) {
3304
+ const rect = domNode.getBoundingClientRect();
3305
+ const transformOrigin = {
3306
+ top: "50%",
3307
+ left: "50%"
3308
+ };
3309
+ if (placement.indexOf("top") >= 0 || placement.indexOf("Bottom") >= 0) transformOrigin.top = `${rect.height - align.offset[1]}px`;
3310
+ else if (placement.indexOf("Top") >= 0 || placement.indexOf("bottom") >= 0) transformOrigin.top = `${-align.offset[1]}px`;
3311
+ if (placement.indexOf("left") >= 0 || placement.indexOf("Right") >= 0) transformOrigin.left = `${rect.width - align.offset[0]}px`;
3312
+ else if (placement.indexOf("right") >= 0 || placement.indexOf("Left") >= 0) transformOrigin.left = `${-align.offset[0]}px`;
3313
+ domNode.style.transformOrigin = `${transformOrigin.left} ${transformOrigin.top}`;
3314
+ }
3315
+ };
3316
+ const colorInfo = computed(() => parseColor(prefixCls.value, props.color));
3317
+ const injectFromPopover = computed(() => attrs["data-popover-inject"]);
3318
+ const [wrapSSR, hashId] = style_default(prefixCls, computed(() => !injectFromPopover.value));
3319
+ return () => {
3320
+ var _a, _b;
3321
+ const { openClassName, overlayClassName, overlayStyle, overlayInnerStyle } = props;
3322
+ let children = (_b = filterEmpty((_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots))) !== null && _b !== void 0 ? _b : null;
3323
+ children = children.length === 1 ? children[0] : children;
3324
+ let tempVisible = innerOpen.value;
3325
+ if (mergedOpen.value === void 0 && isNoTitle()) tempVisible = false;
3326
+ if (!children) return null;
3327
+ const child = getDisabledCompatibleChildren(isValidElement(children) && !isFragment(children) ? children : createVNode("span", null, [children]));
3328
+ const childCls = classNames({
3329
+ [openClassName || `${prefixCls.value}-open`]: true,
3330
+ [child.props && child.props.class]: child.props && child.props.class
3331
+ });
3332
+ const customOverlayClassName = classNames(overlayClassName, { [`${prefixCls.value}-rtl`]: direction.value === "rtl" }, colorInfo.value.className, hashId.value);
3333
+ const formattedOverlayInnerStyle = _extends(_extends({}, colorInfo.value.overlayStyle), overlayInnerStyle);
3334
+ const arrowContentStyle = colorInfo.value.arrowStyle;
3335
+ const vcTooltipProps = _extends(_extends(_extends({}, attrs), props), {
3336
+ prefixCls: prefixCls.value,
3337
+ arrow: !!props.arrow,
3338
+ getPopupContainer: getPopupContainer === null || getPopupContainer === void 0 ? void 0 : getPopupContainer.value,
3339
+ builtinPlacements: tooltipPlacements.value,
3340
+ visible: tempVisible,
3341
+ ref: tooltip,
3342
+ overlayClassName: customOverlayClassName,
3343
+ overlayStyle: _extends(_extends({}, arrowContentStyle), overlayStyle),
3344
+ overlayInnerStyle: formattedOverlayInnerStyle,
3345
+ onVisibleChange: handleVisibleChange,
3346
+ onPopupAlign,
3347
+ transitionName: getTransitionName$1(rootPrefixCls.value, "zoom-big-fast", props.transitionName)
3348
+ });
3349
+ return wrapSSR(createVNode(vc_tooltip_default, vcTooltipProps, {
3350
+ default: () => [innerOpen.value ? cloneElement(child, { class: childCls }) : child],
3351
+ arrowContent: () => createVNode("span", { "class": `${prefixCls.value}-arrow-content` }, null),
3352
+ overlay: getOverlay
3353
+ }));
3354
+ };
3355
+ }
3356
+ });
3357
+ //#endregion
3358
+ //#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/tooltip/index.js
3359
+ var tooltip_default = withInstall(Tooltip_default);
3360
+
3361
+ export { BaseMixin_default as B, PresetColors as P, isPresetStatusColor as a, tooltipDefaultProps as b, abstractTooltipProps_default as c, getArrowStyle as d, getPlacements as e, getArrowOffset as f, genPresetColor as g, index as h, isPresetColor as i, isVisible_default as j, firstNotUndefined as k, roundedArrow as r, tooltip_default as t, useMergedState as u, vc_trigger_default as v, wrapperRaf as w };
3362
+ //# sourceMappingURL=tooltip-CJlH_8ZK.mjs.map