agentworkshop 0.7.59 → 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.
- package/.AgentWorkShop/prompts/host-tools.json +108 -0
- package/.output/.AgentWorkShop/prompts/host-tools.json +108 -0
- package/.output/.AgentWorkShop/schema.json +1 -0
- package/.output/nitro.json +1 -1
- package/.output/public/_nuxt/{CZwDnomB.js → 59a6cSgj.js} +1 -1
- package/.output/public/_nuxt/5juo_WO2.js +13 -0
- package/.output/public/_nuxt/9j2J4k4w.js +1 -0
- package/.output/public/_nuxt/B-WTxXEK2.js +1 -0
- package/.output/public/_nuxt/{DTx_DtUo.js → B0w8DZ4C.js} +1 -1
- package/.output/public/_nuxt/B1BCga5h2.js +13 -0
- package/.output/public/_nuxt/B5lMtA7I2.js +1 -0
- package/.output/public/_nuxt/B6_fJd2X.js +1 -0
- package/.output/public/_nuxt/B7K5B04W2.js +1 -0
- package/.output/public/_nuxt/B7KyS_q2.js +1 -0
- package/.output/public/_nuxt/B8q3BGY5.js +37 -0
- package/.output/public/_nuxt/B9IK8kDl2.js +1 -0
- package/.output/public/_nuxt/BFBysc2M2.js +1 -0
- package/.output/public/_nuxt/{BMUEVeOK.js → BGFhOMVM.js} +2 -2
- package/.output/public/_nuxt/{cBI0JqsV.js → BMlesJth.js} +1 -1
- package/.output/public/_nuxt/BNd2NDxg2.js +1 -0
- package/.output/public/_nuxt/BP629NAi.js +1 -0
- package/.output/public/_nuxt/BVinTfuN.js +1 -0
- package/.output/public/_nuxt/{DJZzthKt2.js → B_BYwIf22.js} +1 -1
- package/.output/public/_nuxt/{CW1HGp5X.js → B_JLVF30.js} +1 -1
- package/.output/public/_nuxt/BdE41Y_c.js +28 -0
- package/.output/public/_nuxt/Bdq2LNSO.js +1 -0
- package/.output/public/_nuxt/{BMZ1d25O.js → BeNdseTX.js} +1 -1
- package/.output/public/_nuxt/Be_StT8b2.js +1 -0
- package/.output/public/_nuxt/BhllzW3K2.js +1 -0
- package/.output/public/_nuxt/BjUpWKS6.js +1 -0
- package/.output/public/_nuxt/{CCCq9H7D2.js → BlEJRYAn2.js} +1 -1
- package/.output/public/_nuxt/{Du0zf-d3.js → BplhglEM.js} +1 -1
- package/.output/public/_nuxt/BsYEYxWv.js +24 -0
- package/.output/public/_nuxt/BtXwFpv42.js +1 -0
- package/.output/public/_nuxt/{BrFF_9742.js → BuNXYpib2.js} +1 -1
- package/.output/public/_nuxt/{BzKT-ne_2.js → C0sNwDTK2.js} +1 -1
- package/.output/public/_nuxt/{h46i74oE.js → C4AICl3l.js} +4 -4
- package/.output/public/_nuxt/{BuVH9MB-.js → C5OSTzBh.js} +1 -1
- package/.output/public/_nuxt/{DKhRushG.js → C8XVZGSZ.js} +1 -1
- package/.output/public/_nuxt/{zGDAozGA.js → C93LpBMF.js} +4 -4
- package/.output/public/_nuxt/CDaZC0_6.js +3 -0
- package/.output/public/_nuxt/CE43-V_L.js +2 -0
- package/.output/public/_nuxt/{B4R5CHkk.js → CEHT9inW.js} +1 -1
- package/.output/public/_nuxt/CGChCy-w2.js +1 -0
- package/.output/public/_nuxt/{DvUt9uMt2.js → CMDAjShv2.js} +1 -1
- package/.output/public/_nuxt/CUjdqsjC2.js +1 -0
- package/.output/public/_nuxt/CWfBtswB.js +70 -0
- package/.output/public/_nuxt/CYtH1bv2.js +1 -0
- package/.output/public/_nuxt/CZmMgjIK.js +1 -0
- package/.output/public/_nuxt/{iZa330UY.js → Cdw4juXw.js} +1 -1
- package/.output/public/_nuxt/{DMPpE41S2.js → Ce5SiMQR2.js} +1 -1
- package/.output/public/_nuxt/{B03LfmKR.js → Cfp00Rdo.js} +1 -1
- package/.output/public/_nuxt/{Dy-V8OEW2.js → CgbP5yJk2.js} +7 -7
- package/.output/public/_nuxt/ChPNKPw_.js +1 -0
- package/.output/public/_nuxt/{C5wBzGO7.js → CjeMxUv8.js} +1 -1
- package/.output/public/_nuxt/CktUrk8z.js +1 -0
- package/.output/public/_nuxt/Cst8yEet.js +1 -0
- package/.output/public/_nuxt/Cuw2--X2.js +2 -0
- package/.output/public/_nuxt/Cyd68Xbv2.js +1 -0
- package/.output/public/_nuxt/{pNy4V4kd.js → Cyuxcv5s2.js} +1 -1
- package/.output/public/_nuxt/{CIz7SM4H.js → D0vmf1z9.js} +1 -1
- package/.output/public/_nuxt/D5-QB_-l.js +1 -0
- package/.output/public/_nuxt/D9sgxxsM2.js +1 -0
- package/.output/public/_nuxt/DBdwjOGB2.js +1 -0
- package/.output/public/_nuxt/DBzdrPzw2.js +1 -0
- package/.output/public/_nuxt/DD4J2Otc.js +1 -0
- package/.output/public/_nuxt/DMCoWgSb2.js +1 -0
- package/.output/public/_nuxt/{CmTqFlYZ.js → DTcsb0fG.js} +1 -1
- package/.output/public/_nuxt/Ddc_Pn7D.js +19 -0
- package/.output/public/_nuxt/Dg1iMuZ-.js +1 -0
- package/.output/public/_nuxt/DhSlJyZD2.js +1 -0
- package/.output/public/_nuxt/DmwMkvoQ2.js +1 -0
- package/.output/public/_nuxt/EQijmkCh2.js +1 -0
- package/.output/public/_nuxt/KXQppTXc.js +1 -0
- package/.output/public/_nuxt/{CZ0Gt81h.js → KXvRkBgg.js} +2 -2
- package/.output/public/_nuxt/LwITbamf2.js +47 -0
- package/.output/public/_nuxt/N9TYd_Mk2.js +1 -0
- package/.output/public/_nuxt/VeOVO2sE2.js +1 -0
- package/.output/public/_nuxt/_jfzcYrl.js +1 -0
- package/.output/public/_nuxt/analysis.D2Pao1rm.css +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/f78a1992-e424-494d-ac4b-aa18971ffc10.json +1 -0
- package/.output/public/_nuxt/{default.8ac6QU28.css → default.Bx6RJSbr.css} +1 -1
- package/.output/public/_nuxt/{entry.BHNNQA9H.css → entry.BlbU43qz.css} +1 -1
- package/.output/public/_nuxt/{MEwEMEMl2.js → iCvdSYYN2.js} +6 -6
- package/.output/public/_nuxt/{CYGkUj5M2.js → p2sDc0tO2.js} +1 -1
- package/.output/public/_nuxt/{Drhta6gr.js → zVupTo2z2.js} +2 -2
- package/.output/server/chunks/_/LeftOutlined.mjs +1 -1
- package/.output/server/chunks/_/character-asset.repo.mjs +1 -1
- package/.output/server/chunks/_/host-bindings.mjs +1 -1
- package/.output/server/chunks/_/nitro.mjs +1651 -1268
- package/.output/server/chunks/_/nitro.mjs.map +1 -1
- package/.output/server/chunks/_/scene-layout.repo.mjs +1 -1
- package/.output/server/chunks/build/{AuthGate-DDPYswkA.mjs → AuthGate-CZYkvPrg.mjs} +5 -5
- package/.output/server/chunks/build/{AuthGate-DDPYswkA.mjs.map → AuthGate-CZYkvPrg.mjs.map} +1 -1
- package/.output/server/chunks/build/Checkbox-4EdGAAl_.mjs +1 -1
- package/.output/server/chunks/build/{FormItemContext-4ORSzhWv.mjs → FormItemContext-DcWIIAaK.mjs} +2 -2
- package/.output/server/chunks/build/{FormItemContext-4ORSzhWv.mjs.map → FormItemContext-DcWIIAaK.mjs.map} +1 -1
- package/.output/server/chunks/build/{OmpTerminalPanel-DZ2wHMS1.mjs → OmpTerminalPanel-CtFJ6Kc8.mjs} +4 -4
- package/.output/server/chunks/build/{OmpTerminalPanel-DZ2wHMS1.mjs.map → OmpTerminalPanel-CtFJ6Kc8.mjs.map} +1 -1
- package/.output/server/chunks/build/{PluginSlot-CT4YaNrB.mjs → PluginSlot-BT7kYQgK.mjs} +2 -2
- package/.output/server/chunks/build/{PluginSlot-CT4YaNrB.mjs.map → PluginSlot-BT7kYQgK.mjs.map} +1 -1
- package/.output/server/chunks/build/{TownView-CZbFn6mO.mjs → TownView-kQZFf4zj.mjs} +3 -3
- package/.output/server/chunks/build/{TownView-CZbFn6mO.mjs.map → TownView-kQZFf4zj.mjs.map} +1 -1
- package/.output/server/chunks/build/{_id_-Df2pgsAq.mjs → _id_-Bbx1b74O.mjs} +3 -3
- package/.output/server/chunks/build/{_id_-Df2pgsAq.mjs.map → _id_-Bbx1b74O.mjs.map} +1 -1
- package/.output/server/chunks/build/{_id_-CCVhpJtj.mjs → _id_-IijrRw3f.mjs} +3 -3
- package/.output/server/chunks/build/{_id_-CCVhpJtj.mjs.map → _id_-IijrRw3f.mjs.map} +1 -1
- package/.output/server/chunks/build/{_wsId_-CJqF-hmP.mjs → _wsId_-DOEw9jgZ.mjs} +22 -21
- package/.output/server/chunks/build/{_wsId_-CJqF-hmP.mjs.map → _wsId_-DOEw9jgZ.mjs.map} +1 -1
- package/.output/server/chunks/build/{agents-BTsbna5H.mjs → agents-C36wR56A.mjs} +18 -17
- package/.output/server/chunks/build/agents-C36wR56A.mjs.map +1 -0
- package/.output/server/chunks/build/{aml-BBKfWto1.mjs → aml-CBGndvHT.mjs} +7 -7
- package/.output/server/chunks/build/{aml-BBKfWto1.mjs.map → aml-CBGndvHT.mjs.map} +1 -1
- package/.output/server/chunks/build/analysis-tgzvOWmD.mjs +332 -0
- package/.output/server/chunks/build/analysis-tgzvOWmD.mjs.map +1 -0
- package/.output/server/chunks/build/{card-DJOYGuVH.mjs → card-Db7OB49d.mjs} +4 -4
- package/.output/server/chunks/build/{card-DJOYGuVH.mjs.map → card-Db7OB49d.mjs.map} +1 -1
- package/.output/server/chunks/build/{channel-templates-BPKJ8e4l.mjs → channel-templates-BixUrDmU.mjs} +11 -10
- package/.output/server/chunks/build/channel-templates-BixUrDmU.mjs.map +1 -0
- package/.output/server/chunks/build/{checkbox-C4AKj81e.mjs → checkbox-CyF96D30.mjs} +3 -3
- package/.output/server/chunks/build/{checkbox-C4AKj81e.mjs.map → checkbox-CyF96D30.mjs.map} +1 -1
- package/.output/server/chunks/build/{daq-Cz7TaUAM.mjs → daq-DLMLufDq.mjs} +5 -5
- package/.output/server/chunks/build/{daq-Cz7TaUAM.mjs.map → daq-DLMLufDq.mjs.map} +1 -1
- package/.output/server/chunks/build/dcw-EhjJpVQM.mjs +2 -2
- package/.output/server/chunks/build/{default-DweMY872.mjs → default-C7Qmdyz_.mjs} +30 -19
- package/.output/server/chunks/build/{default-DweMY872.mjs.map → default-C7Qmdyz_.mjs.map} +1 -1
- package/.output/server/chunks/build/{descriptions-CFaUq4y4.mjs → descriptions-1bH81YsZ.mjs} +2 -2
- package/.output/server/chunks/build/{descriptions-CFaUq4y4.mjs.map → descriptions-1bH81YsZ.mjs.map} +1 -1
- package/.output/server/chunks/build/{drawer-Cfh9_zft.mjs → drawer-C7shdEHy.mjs} +2 -2
- package/.output/server/chunks/build/{drawer-Cfh9_zft.mjs.map → drawer-C7shdEHy.mjs.map} +1 -1
- package/.output/server/chunks/build/{dropdown-CIsqbX4P.mjs → dropdown-BhLSIp5A.mjs} +2 -2
- package/.output/server/chunks/build/{dropdown-CIsqbX4P.mjs.map → dropdown-BhLSIp5A.mjs.map} +1 -1
- package/.output/server/chunks/build/{dropdown-CV9GW3z9.mjs → dropdown-BiwcuXDi.mjs} +6 -5
- package/.output/server/chunks/build/{dropdown-CV9GW3z9.mjs.map → dropdown-BiwcuXDi.mjs.map} +1 -1
- package/.output/server/chunks/build/{form-cs_RcfGx.mjs → form-nE8C0G8B.mjs} +7 -6
- package/.output/server/chunks/build/{form-cs_RcfGx.mjs.map → form-nE8C0G8B.mjs.map} +1 -1
- package/.output/server/chunks/build/{input-CobQ5LJ5.mjs → input-DwF72eVI.mjs} +93 -3449
- package/.output/server/chunks/build/input-DwF72eVI.mjs.map +1 -0
- package/.output/server/chunks/build/{input-number-BpPYAWMk.mjs → input-number-TSq6ltkz.mjs} +6 -5
- package/.output/server/chunks/build/{input-number-BpPYAWMk.mjs.map → input-number-TSq6ltkz.mjs.map} +1 -1
- package/.output/server/chunks/build/{logs-As9fZqU-.mjs → logs-hOEVuxqm.mjs} +3 -3
- package/.output/server/chunks/build/{logs-As9fZqU-.mjs.map → logs-hOEVuxqm.mjs.map} +1 -1
- package/.output/server/chunks/build/{menu-CVmvHyFT.mjs → menu-Cy5Nrecn.mjs} +4 -3
- package/.output/server/chunks/build/{menu-CVmvHyFT.mjs.map → menu-Cy5Nrecn.mjs.map} +1 -1
- package/.output/server/chunks/build/{monitor-CdFQ2z4g.mjs → monitor-CfVoiavp.mjs} +20 -19
- package/.output/server/chunks/build/{monitor-CdFQ2z4g.mjs.map → monitor-CfVoiavp.mjs.map} +1 -1
- package/.output/server/chunks/build/{operations-B2gHCWgZ.mjs → operations-fxI8lEBJ.mjs} +3 -3
- package/.output/server/chunks/build/{operations-B2gHCWgZ.mjs.map → operations-fxI8lEBJ.mjs.map} +1 -1
- package/.output/server/chunks/build/{pages-BItCt1ar.mjs → pages-6JD9VSbx.mjs} +5 -5
- package/.output/server/chunks/build/{pages-BItCt1ar.mjs.map → pages-6JD9VSbx.mjs.map} +1 -1
- package/.output/server/chunks/build/{permissions-D6mQw_9j.mjs → permissions-XPtQJSaO.mjs} +14 -13
- package/.output/server/chunks/build/permissions-XPtQJSaO.mjs.map +1 -0
- package/.output/server/chunks/build/{plugins-NAS9MQ5r.mjs → plugins-DjBSG9pV.mjs} +5 -5
- package/.output/server/chunks/build/{plugins-NAS9MQ5r.mjs.map → plugins-DjBSG9pV.mjs.map} +1 -1
- package/.output/server/chunks/build/{popconfirm-DFfoFhmt.mjs → popconfirm-DKeEbaGd.mjs} +3 -3
- package/.output/server/chunks/build/{popconfirm-DFfoFhmt.mjs.map → popconfirm-DKeEbaGd.mjs.map} +1 -1
- package/.output/server/chunks/build/{schedules-BjWNDWL5.mjs → schedules-PcDLCUWN.mjs} +20 -19
- package/.output/server/chunks/build/{schedules-BjWNDWL5.mjs.map → schedules-PcDLCUWN.mjs.map} +1 -1
- package/.output/server/chunks/build/{segmented-D7FkCgg7.mjs → segmented-BdWCdZUM.mjs} +3 -3
- package/.output/server/chunks/build/{segmented-D7FkCgg7.mjs.map → segmented-BdWCdZUM.mjs.map} +1 -1
- package/.output/server/chunks/build/{select-FqBNxgxT.mjs → select-C5yighj8.mjs} +5 -4
- package/.output/server/chunks/build/{select-FqBNxgxT.mjs.map → select-C5yighj8.mjs.map} +1 -1
- package/.output/server/chunks/build/{settings-Cl_KRyEn.mjs → settings-90zT_h9w.mjs} +14 -13
- package/.output/server/chunks/build/settings-90zT_h9w.mjs.map +1 -0
- package/.output/server/chunks/build/{space-B2uhHJG8.mjs → space-BCffbXIG.mjs} +3 -3
- package/.output/server/chunks/build/{space-B2uhHJG8.mjs.map → space-BCffbXIG.mjs.map} +1 -1
- package/.output/server/chunks/build/{switch-DZAUIbIN.mjs → switch-OG0SM_Px.mjs} +3 -3
- package/.output/server/chunks/build/{switch-DZAUIbIN.mjs.map → switch-OG0SM_Px.mjs.map} +1 -1
- package/.output/server/chunks/build/{table-CeOYERqr.mjs → table-UpVzu50c.mjs} +11 -10
- package/.output/server/chunks/build/{table-CeOYERqr.mjs.map → table-UpVzu50c.mjs.map} +1 -1
- package/.output/server/chunks/build/{tabs-LLNSdLl2.mjs → tabs-CWwoL33v.mjs} +6 -5
- package/.output/server/chunks/build/{tabs-LLNSdLl2.mjs.map → tabs-CWwoL33v.mjs.map} +1 -1
- package/.output/server/chunks/build/{tag-Dwvkh0Dj.mjs → tag-CS7mwrfG.mjs} +5 -4
- package/.output/server/chunks/build/{tag-Dwvkh0Dj.mjs.map → tag-CS7mwrfG.mjs.map} +1 -1
- package/.output/server/chunks/build/{teams-CGDZHaQl.mjs → teams-BIAFvRw1.mjs} +19 -18
- package/.output/server/chunks/build/teams-BIAFvRw1.mjs.map +1 -0
- package/.output/server/chunks/build/{tokens-BOYkZuoB.mjs → tokens-CLpdrzQ7.mjs} +19 -18
- package/.output/server/chunks/build/tokens-CLpdrzQ7.mjs.map +1 -0
- package/.output/server/chunks/build/tooltip-CJlH_8ZK.mjs +3362 -0
- package/.output/server/chunks/build/tooltip-CJlH_8ZK.mjs.map +1 -0
- package/.output/server/chunks/build/town-BV-hbwb5.mjs +1 -1
- package/.output/server/chunks/build/{town-P1rYoi0v.mjs → town-Bfme7P2I.mjs} +5 -5
- package/.output/server/chunks/build/{town-P1rYoi0v.mjs.map → town-Bfme7P2I.mjs.map} +1 -1
- package/.output/server/chunks/build/types-D6J7slEa.mjs +1 -1
- package/.output/server/chunks/build/types-DWqIeMRP.mjs +75 -0
- package/.output/server/chunks/build/types-DWqIeMRP.mjs.map +1 -0
- package/.output/server/chunks/build/{useAgentTemplateActions-DsBRUQni.mjs → useAgentTemplateActions-6VyAHgu5.mjs} +1 -1
- package/.output/server/chunks/build/{useAgentTemplateActions-DsBRUQni.mjs.map → useAgentTemplateActions-6VyAHgu5.mjs.map} +1 -1
- package/.output/server/chunks/build/{useAgentTemplateForm-DzQ_t2Ue.mjs → useAgentTemplateForm-DWa-ezNq.mjs} +1 -1
- package/.output/server/chunks/build/{useAgentTemplateForm-DzQ_t2Ue.mjs.map → useAgentTemplateForm-DWa-ezNq.mjs.map} +1 -1
- package/.output/server/chunks/build/{useAmlEntities-BMLHU_39.mjs → useAmlEntities-Co2fgjzh.mjs} +1 -1
- package/.output/server/chunks/build/{useAmlEntities-BMLHU_39.mjs.map → useAmlEntities-Co2fgjzh.mjs.map} +1 -1
- package/.output/server/chunks/build/{useAmlEnv-DdlyVzPu.mjs → useAmlEnv-JTiWPrzH.mjs} +1 -1
- package/.output/server/chunks/build/{useAmlEnv-DdlyVzPu.mjs.map → useAmlEnv-JTiWPrzH.mjs.map} +1 -1
- package/.output/server/chunks/build/{useAmlJobs-BG_v21hJ.mjs → useAmlJobs-By4pjOzc.mjs} +1 -1
- package/.output/server/chunks/build/{useAmlJobs-BG_v21hJ.mjs.map → useAmlJobs-By4pjOzc.mjs.map} +1 -1
- package/.output/server/chunks/build/{useAmlModels-D7MuOWOy.mjs → useAmlModels-B1_5vjMA.mjs} +1 -1
- package/.output/server/chunks/build/{useAmlModels-D7MuOWOy.mjs.map → useAmlModels-B1_5vjMA.mjs.map} +1 -1
- package/.output/server/chunks/build/{useAmlNotes-CTZe-GI0.mjs → useAmlNotes-5uwvCb3h.mjs} +1 -1
- package/.output/server/chunks/build/{useAmlNotes-CTZe-GI0.mjs.map → useAmlNotes-5uwvCb3h.mjs.map} +1 -1
- package/.output/server/chunks/build/{useAmlPredict-BToRrVRV.mjs → useAmlPredict-lxUv7lAO.mjs} +1 -1
- package/.output/server/chunks/build/{useAmlPredict-BToRrVRV.mjs.map → useAmlPredict-lxUv7lAO.mjs.map} +1 -1
- package/.output/server/chunks/build/useAnalysisFeed-B4OwUd7p.mjs +128 -0
- package/.output/server/chunks/build/useAnalysisFeed-B4OwUd7p.mjs.map +1 -0
- package/.output/server/chunks/build/useDaqAddNode-CaOCbe4-.mjs +1 -1
- package/.output/server/chunks/build/{useDaqDetailNode-DXgwAu5u.mjs → useDaqDetailNode-DtZ0oDAn.mjs} +3 -3
- package/.output/server/chunks/build/{useDaqDetailNode-DXgwAu5u.mjs.map → useDaqDetailNode-DtZ0oDAn.mjs.map} +1 -1
- package/.output/server/chunks/build/useDaqDetailParams-CrTMDs-2.mjs +1 -1
- package/.output/server/chunks/build/{useDaqFilters-Jx6EERfr.mjs → useDaqFilters-DYHGhECw.mjs} +3 -3
- package/.output/server/chunks/build/{useDaqFilters-Jx6EERfr.mjs.map → useDaqFilters-DYHGhECw.mjs.map} +1 -1
- package/.output/server/chunks/build/useDaqStream-DhzdoyIR.mjs +1 -1
- package/.output/server/chunks/build/useDaqTemplates-C7GzQmdJ.mjs +1 -1
- package/.output/server/chunks/build/{useDashboardData-Ce-EU5DJ.mjs → useDashboardData-B3lZjE7x.mjs} +3 -3
- package/.output/server/chunks/build/{useDashboardData-Ce-EU5DJ.mjs.map → useDashboardData-B3lZjE7x.mjs.map} +1 -1
- package/.output/server/chunks/build/useDcwAddNode-4mTPQ6T8.mjs +1 -1
- package/.output/server/chunks/build/{useDcwDetailScope-4j3B03Pi.mjs → useDcwDetailScope-BWH7jnVh.mjs} +2 -2
- package/.output/server/chunks/build/{useDcwDetailScope-4j3B03Pi.mjs.map → useDcwDetailScope-BWH7jnVh.mjs.map} +1 -1
- package/.output/server/chunks/build/useDcwStream-BXJ2V8HM.mjs +1 -1
- package/.output/server/chunks/build/{useLogsManual-CMjD62nt.mjs → useLogsManual-BLfiSU3u.mjs} +1 -1
- package/.output/server/chunks/build/{useLogsManual-CMjD62nt.mjs.map → useLogsManual-BLfiSU3u.mjs.map} +1 -1
- package/.output/server/chunks/build/{useMonitorData-D2gFSonG.mjs → useMonitorData-BZ6Z-Sy8.mjs} +1 -1
- package/.output/server/chunks/build/{useMonitorData-D2gFSonG.mjs.map → useMonitorData-BZ6Z-Sy8.mjs.map} +1 -1
- package/.output/server/chunks/build/{useTeamActions-BOLQkYxg.mjs → useTeamActions-ahht5J8Y.mjs} +1 -1
- package/.output/server/chunks/build/{useTeamActions-BOLQkYxg.mjs.map → useTeamActions-ahht5J8Y.mjs.map} +1 -1
- package/.output/server/chunks/build/{useTeamAddMemberDialog-BCgrLPxI.mjs → useTeamAddMemberDialog-DvXxsVy0.mjs} +1 -1
- package/.output/server/chunks/build/{useTeamAddMemberDialog-BCgrLPxI.mjs.map → useTeamAddMemberDialog-DvXxsVy0.mjs.map} +1 -1
- package/.output/server/chunks/build/{useTeamCreateDialog-CJk40LqS.mjs → useTeamCreateDialog-A_k-XX5B.mjs} +1 -1
- package/.output/server/chunks/build/{useTeamCreateDialog-CJk40LqS.mjs.map → useTeamCreateDialog-A_k-XX5B.mjs.map} +1 -1
- package/.output/server/chunks/build/{useTeamDeployDialog-49hdUXQP.mjs → useTeamDeployDialog-CfAFjIr_.mjs} +1 -1
- package/.output/server/chunks/build/{useTeamDeployDialog-49hdUXQP.mjs.map → useTeamDeployDialog-CfAFjIr_.mjs.map} +1 -1
- package/.output/server/chunks/build/{useTeamPluginDialog-Dh-QOoiU.mjs → useTeamPluginDialog-Djmkk1Nl.mjs} +1 -1
- package/.output/server/chunks/build/{useTeamPluginDialog-Dh-QOoiU.mjs.map → useTeamPluginDialog-Djmkk1Nl.mjs.map} +1 -1
- package/.output/server/chunks/build/{useTokenCreate-DkYvEQUD.mjs → useTokenCreate-CkWoxSI-.mjs} +1 -1
- package/.output/server/chunks/build/{useTokenCreate-DkYvEQUD.mjs.map → useTokenCreate-CkWoxSI-.mjs.map} +1 -1
- package/.output/server/chunks/build/{useTokenRename-DOCP4aeI.mjs → useTokenRename-BohjnGT0.mjs} +1 -1
- package/.output/server/chunks/build/{useTokenRename-DOCP4aeI.mjs.map → useTokenRename-BohjnGT0.mjs.map} +1 -1
- package/.output/server/chunks/build/{useTokenReveal-CybwwflV.mjs → useTokenReveal-BBN5iGz7.mjs} +1 -1
- package/.output/server/chunks/build/{useTokenReveal-CybwwflV.mjs.map → useTokenReveal-BBN5iGz7.mjs.map} +1 -1
- package/.output/server/chunks/build/{useTokensList-BLiMvrc4.mjs → useTokensList-BQX9WqfT.mjs} +1 -1
- package/.output/server/chunks/build/{useTokensList-BLiMvrc4.mjs.map → useTokensList-BQX9WqfT.mjs.map} +1 -1
- package/.output/server/chunks/build/{useWorkbenchAuth-DAabQl7X.mjs → useWorkbenchAuth-BTRlS2wZ.mjs} +1 -1
- package/.output/server/chunks/build/{useWorkbenchAuth-DAabQl7X.mjs.map → useWorkbenchAuth-BTRlS2wZ.mjs.map} +1 -1
- package/.output/server/chunks/build/{useWorkbenchWorkspaces-6-mpCGCR.mjs → useWorkbenchWorkspaces-C6ky7OJH.mjs} +1 -1
- package/.output/server/chunks/build/{useWorkbenchWorkspaces-6-mpCGCR.mjs.map → useWorkbenchWorkspaces-C6ky7OJH.mjs.map} +1 -1
- package/.output/server/chunks/build/{users-B_pHStEa.mjs → users-BHOEW3Az.mjs} +15 -14
- package/.output/server/chunks/build/users-BHOEW3Az.mjs.map +1 -0
- package/.output/server/chunks/build/{workshop-C0DefygA.mjs → workshop-DyJ1LXwu.mjs} +11 -10
- package/.output/server/chunks/build/workshop-DyJ1LXwu.mjs.map +1 -0
- package/.output/server/chunks/routes/api/mcp/workshop.mjs +1 -1
- package/.output/server/chunks/routes/api/system/backup/run.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/analysis/_id_.delete.mjs +46 -0
- package/.output/server/chunks/routes/api/workshop/analysis/_id_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/analysis/_id_.get.mjs +39 -0
- package/.output/server/chunks/routes/api/workshop/analysis/_id_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/assets/index.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/assets/index2.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id/instantiate.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/channels/_id/activate.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/chat/index.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index.put.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index3.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index4.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index5.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/line.put.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/terminals.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/twin-profile.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/twin-profile.patch.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/index.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/channels.post.mjs +7 -7
- package/.output/server/chunks/routes/api/workshop/daq/_id/samples.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/index.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/infra/reconnect.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/infra.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.patch.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/daq/test-driver.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/bind.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/bindings.put.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/param-ledger.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/read.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/test.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id/write.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/_id_.patch.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/controller.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index2.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index2.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index3.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index3.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index4.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index4.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index5.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index5.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index6.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/index7.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/journal/node/_nodeId/rollback.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/line/query.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/start.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/stop.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/mes-artifacts/file.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/mes-hook-test.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/mes-test-read.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/judge.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/rollback.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/series.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id_.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/params/_id/read.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/params/_id/write.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.patch.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.patch.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/apply.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/mark-good.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/rollback-good.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/close.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/data.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/rollback.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.patch.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/dcw/test-driver.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/device-twins/_id/control.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/device-twins/_id/telemetry.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/device-twins/_id_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/device-twins/_id_.patch.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/exp/confirmations/_id/decide.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/exp/index.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/fs/dirs.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/harnesses/_id/providers.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/harnesses.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/hitl/pending.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/hitl/respond.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/index.put.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/index10.get.mjs +20 -23
- package/.output/server/chunks/routes/api/workshop/index10.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index11.get.mjs +25 -11
- package/.output/server/chunks/routes/api/workshop/index11.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index12.get.mjs +10 -4
- package/.output/server/chunks/routes/api/workshop/index12.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index13.get.mjs +2 -3
- package/.output/server/chunks/routes/api/workshop/index13.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index14.get.mjs +3 -2
- package/.output/server/chunks/routes/api/workshop/index14.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index15.get.mjs +30 -0
- package/.output/server/chunks/routes/api/workshop/index15.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/index3.get.mjs +20 -9
- package/.output/server/chunks/routes/api/workshop/index3.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index3.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/index4.get.mjs +10 -4
- package/.output/server/chunks/routes/api/workshop/index4.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index4.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/index5.get.mjs +4 -29
- package/.output/server/chunks/routes/api/workshop/index5.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index5.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/index6.get.mjs +25 -22
- package/.output/server/chunks/routes/api/workshop/index6.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index7.get.mjs +26 -5
- package/.output/server/chunks/routes/api/workshop/index7.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index8.get.mjs +4 -39
- package/.output/server/chunks/routes/api/workshop/index8.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index9.get.mjs +40 -20
- package/.output/server/chunks/routes/api/workshop/index9.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/plugins/_name/disable.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/plugins/_name/enable.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.put.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id/deploy.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id/index.put.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/teams/_id/index2.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/workspaces/_id/channel-templates/_tplId_.post.mjs +2 -2
- package/.output/server/chunks/routes/renderer.mjs +2 -2
- package/.output/server/chunks/virtual/entry.mjs +551 -824
- package/.output/server/chunks/virtual/entry.mjs.map +1 -1
- package/.output/server/chunks/virtual/precomputed.mjs +1 -1
- package/.output/server/package.json +1 -1
- package/README-zh.md +17 -0
- package/README.md +20 -0
- package/app/components/AppSidebar.vue +1 -0
- package/app/components/analysis/AnalysisFilterCard.vue +160 -0
- package/app/components/analysis/AnalysisPageHead.vue +47 -0
- package/app/components/analysis/AnalysisTable.vue +306 -0
- package/app/composables/useRouteMeta.ts +1 -0
- package/app/config/schema.ts +1 -0
- package/app/pages/analysis/composables/useAnalysisFeed.ts +85 -0
- package/app/pages/analysis/index.vue +92 -0
- package/app/pages/analysis/types.ts +44 -0
- package/cli/commands/mcp.mjs +160 -160
- package/i18n/locales/en.ts +55 -0
- package/i18n/locales/zh-CN.ts +55 -0
- package/mcp/aw-mcp-server.mjs +799 -799
- package/package.json +2 -2
- package/scripts/onboarding/onboard.mjs +5 -2
- package/scripts/onboarding/sim-twin.mjs +312 -0
- package/server/api/workshop/analysis/[id].delete.ts +30 -0
- package/server/api/workshop/analysis/[id].get.ts +23 -0
- package/server/api/workshop/analysis/index.get.ts +33 -0
- package/server/plugins/workshop.ts +4 -0
- package/server/repositories/user.repository.ts +2 -2
- package/server/services/workshop/agents/host-tool-bridge/catalog.ts +4 -1
- package/server/services/workshop/agents/host-tool-bridge/tools/industrial.ts +5 -2
- package/server/services/workshop/agents/industrial/analysis-tools.ts +242 -0
- package/server/services/workshop/agents/industrial/index.ts +1 -0
- package/server/services/workshop/agents/industrial/ops-tools.ts +3 -2
- package/server/services/workshop/analysis/analysis.repo.ts +189 -0
- package/server/services/workshop/db/database/schema.ts +28 -1
- package/server/services/workshop/db/ops.repo.ts +1 -1
- package/server/services/workshop/db/retention.ts +2 -0
- package/server/services/workshop/db/schema.sql +27 -0
- package/server/services/workshop/settings.ts +1 -0
- package/shared/config/schema.json +1 -0
- package/.output/public/_nuxt/B-Y_rsfn.js +0 -106
- package/.output/public/_nuxt/B02cxZz72.js +0 -1
- package/.output/public/_nuxt/BAqtRt0q.js +0 -1
- package/.output/public/_nuxt/BKHd_sKD2.js +0 -47
- package/.output/public/_nuxt/BXKCB3rS.js +0 -1
- package/.output/public/_nuxt/BhrnGVGz.js +0 -1
- package/.output/public/_nuxt/BikIgp9R.js +0 -1
- package/.output/public/_nuxt/BkGqyjWm.js +0 -3
- package/.output/public/_nuxt/Bn1N3mJv.js +0 -1
- package/.output/public/_nuxt/Br2LgfbH2.js +0 -13
- package/.output/public/_nuxt/BtNT93vm2.js +0 -1
- package/.output/public/_nuxt/BtYg4aGR2.js +0 -1
- package/.output/public/_nuxt/C4X_Z1lA.js +0 -1
- package/.output/public/_nuxt/CBATzTUf.js +0 -13
- package/.output/public/_nuxt/CEP4UrDv.js +0 -1
- package/.output/public/_nuxt/CIPKYgrH2.js +0 -1
- package/.output/public/_nuxt/CPSHP_EI.js +0 -1
- package/.output/public/_nuxt/CSyIwYcJ2.js +0 -1
- package/.output/public/_nuxt/CZkTlW93.js +0 -2
- package/.output/public/_nuxt/CZyYdpqZ2.js +0 -1
- package/.output/public/_nuxt/CeDkXWCz.js +0 -1
- package/.output/public/_nuxt/Cl19UD7U.js +0 -1
- package/.output/public/_nuxt/ClrkV0C4.js +0 -1
- package/.output/public/_nuxt/CoGETbe-2.js +0 -1
- package/.output/public/_nuxt/CuRtzvsa2.js +0 -1
- package/.output/public/_nuxt/Cv_H1gOM2.js +0 -1
- package/.output/public/_nuxt/D5i2ofVw2.js +0 -1
- package/.output/public/_nuxt/D6XGn5vM.js +0 -2
- package/.output/public/_nuxt/D6c5ppqB.js +0 -1
- package/.output/public/_nuxt/D8VQGThE.js +0 -28
- package/.output/public/_nuxt/DBwuADr82.js +0 -1
- package/.output/public/_nuxt/DTZO6WMs2.js +0 -1
- package/.output/public/_nuxt/DfqRQSFn.js +0 -19
- package/.output/public/_nuxt/DraEWn4N2.js +0 -1
- package/.output/public/_nuxt/DyMgrV29.js +0 -1
- package/.output/public/_nuxt/H7Rbu32y2.js +0 -1
- package/.output/public/_nuxt/TjGWqrHo.js +0 -1
- package/.output/public/_nuxt/VVomhVqu2.js +0 -1
- package/.output/public/_nuxt/YDs3mbQu2.js +0 -1
- package/.output/public/_nuxt/Z3MSTcdu2.js +0 -1
- package/.output/public/_nuxt/_vR_sc7t.js +0 -24
- package/.output/public/_nuxt/builds/meta/92fd7e2e-18f2-45c3-8588-d93004dda6e3.json +0 -1
- package/.output/public/_nuxt/gbaq2UOO.js +0 -1
- package/.output/public/_nuxt/o-G6YtmK2.js +0 -1
- package/.output/public/_nuxt/ylowSquM2.js +0 -1
- package/.output/server/chunks/build/agents-BTsbna5H.mjs.map +0 -1
- package/.output/server/chunks/build/channel-templates-BPKJ8e4l.mjs.map +0 -1
- package/.output/server/chunks/build/input-CobQ5LJ5.mjs.map +0 -1
- package/.output/server/chunks/build/permissions-D6mQw_9j.mjs.map +0 -1
- package/.output/server/chunks/build/settings-Cl_KRyEn.mjs.map +0 -1
- package/.output/server/chunks/build/teams-CGDZHaQl.mjs.map +0 -1
- package/.output/server/chunks/build/tokens-BOYkZuoB.mjs.map +0 -1
- package/.output/server/chunks/build/users-B_pHStEa.mjs.map +0 -1
- package/.output/server/chunks/build/workshop-C0DefygA.mjs.map +0 -1
- package/scripts/_audit/.tmp/audit-data/dcw-params.json +0 -15
- package/scripts/_audit/.tmp/audit-data/dcws.json +0 -30
- package/scripts/_audit/aml-layout-diag.mjs +0 -83
- package/scripts/_audit/channel-inspect.mjs +0 -49
- package/scripts/_audit/cleanup-apply.mjs +0 -89
- package/scripts/_audit/cleanup-plan.mjs +0 -82
- package/scripts/_audit/contrast-check.mjs +0 -43
- package/scripts/_audit/dcw-controller-e2e.ts +0 -106
- package/scripts/_audit/dcw-flush-cost.ts +0 -43
- package/scripts/_audit/dcw-rollback-ledger.ts +0 -156
- package/scripts/_audit/dcw-unrecorded-write.ts +0 -171
- package/scripts/_audit/dcw-write-mutex.ts +0 -157
- package/scripts/_audit/design-shots.mjs +0 -145
- package/scripts/_audit/docs-font-probe.mjs +0 -68
- package/scripts/_audit/docs-probe.mjs +0 -107
- package/scripts/_audit/docs-shots.mjs +0 -171
- package/scripts/_audit/docs-v3-verify.mjs +0 -255
- package/scripts/_audit/docs-vue-lint.mjs +0 -81
- package/scripts/_audit/docs-vue-lint2.mjs +0 -91
- package/scripts/_audit/exp-cost-scaling.mjs +0 -57
- package/scripts/_audit/exp-envelope-and-png.mjs +0 -78
- package/scripts/_audit/exp-png-decode.mjs +0 -67
- package/scripts/_audit/exp-retention-plan.mjs +0 -61
- package/scripts/_audit/exp-retention-rescan.mjs +0 -42
- package/scripts/_audit/exp-sweep-fairness.mjs +0 -50
- package/scripts/_audit/feature-audit-e2e.mjs +0 -342
- package/scripts/_audit/fix-settings-count.mjs +0 -57
- package/scripts/_audit/full-e2e-adopt.mjs +0 -238
- package/scripts/_audit/full-e2e-close-loop.mjs +0 -134
- package/scripts/_audit/full-e2e-retrain.mjs +0 -320
- package/scripts/_audit/full-e2e-supplement.mjs +0 -192
- package/scripts/_audit/full-e2e-ui-final.mjs +0 -111
- package/scripts/_audit/full-e2e-ui-mount.mjs +0 -111
- package/scripts/_audit/full-feature-e2e-20260927.mjs +0 -627
- package/scripts/_audit/glass-verify.mjs +0 -155
- package/scripts/_audit/hydration-diff.mjs +0 -104
- package/scripts/_audit/hydration-head.mjs +0 -36
- package/scripts/_audit/hydration-probe.mjs +0 -59
- package/scripts/_audit/idd-scenarios-e2e.mjs +0 -239
- package/scripts/_audit/kb-diag-complete.mjs +0 -261
- package/scripts/_audit/kb-diag-complete2.mjs +0 -271
- package/scripts/_audit/kb-diag-loop-e2e.mjs +0 -357
- package/scripts/_audit/kb-diag-loop-mock.mjs +0 -416
- package/scripts/_audit/kb-diag-loop-v2.mjs +0 -314
- package/scripts/_audit/lead-matrix-test.mjs +0 -172
- package/scripts/_audit/plc-agent-task.mjs +0 -74
- package/scripts/_audit/plc-clean-scenario.mjs +0 -434
- package/scripts/_audit/plc-clean-shots.mjs +0 -161
- package/scripts/_audit/plc-fc10-probe.mjs +0 -30
- package/scripts/_audit/probe-binding.mjs +0 -114
- package/scripts/_audit/recipe-save-e2e.mjs +0 -365
- package/scripts/_audit/review-fix-verify.mjs +0 -158
- package/scripts/_audit/runtime-dir-e2e.mjs +0 -393
- package/scripts/_audit/town-focus-shot.mjs +0 -129
- package/scripts/_audit/town-reposition.mjs +0 -85
- package/scripts/_audit/verify-cleanup.mjs +0 -67
- package/scripts/_audit/verify-data-integrity.mjs +0 -112
- package/scripts/_audit/watchdog-recovery-test.mjs +0 -149
- package/scripts/_dbg-optloop-ui-shots.mjs +0 -52
- /package/.output/public/_nuxt/{4RTUlYvj2.js → 4RTUlYvj.js} +0 -0
- /package/.output/public/_nuxt/{BBhLVYdM.js → BBhLVYdM2.js} +0 -0
- /package/.output/public/_nuxt/{BG7XSX-S2.js → BG7XSX-S.js} +0 -0
- /package/.output/public/_nuxt/{BU7WuuKh.js → BU7WuuKh2.js} +0 -0
- /package/.output/public/_nuxt/{BrRX-l9B2.js → BrRX-l9B.js} +0 -0
- /package/.output/public/_nuxt/{CHyzK5m52.js → CHyzK5m5.js} +0 -0
- /package/.output/public/_nuxt/{Ckafrjnw2.js → Ckafrjnw.js} +0 -0
- /package/.output/public/_nuxt/{D1Xw30Dj2.js → D1Xw30Dj.js} +0 -0
- /package/.output/public/_nuxt/{DEhjFhZ2.js → DEhjFhZ22.js} +0 -0
- /package/.output/public/_nuxt/{DdNujZN5.js → DdNujZN52.js} +0 -0
- /package/.output/public/_nuxt/{DzwIZ81f.js → DzwIZ81f2.js} +0 -0
- /package/.output/public/_nuxt/{M6NcguDO.js → M6NcguDO2.js} +0 -0
- /package/.output/public/_nuxt/{MW-V7IIP2.js → MW-V7IIP.js} +0 -0
- /package/.output/public/_nuxt/{WmMwIS4y.js → WmMwIS4y2.js} +0 -0
- /package/.output/public/_nuxt/{qIQFsHtF.js → qIQFsHtF2.js} +0 -0
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { aN as Icon, k as useConfigInject_default, a9 as useInjectDisabled, o as _extends, r as _objectSpread2, q as classNames, b4 as useCompactItemContext, B as CloseCircleFilled, as as NoCompactStyle, aa as omit, x as genComponentStyleHook, I as anyType, P as PropTypes, ao as tuple, Q as eventType, p as cloneElement, O as warning, a_ as isObjectLike, bl as baseGetTag, z as filterEmpty, F as stringType, S as isValidElement, a1 as findDOMNode, bm as overArg, j as button_default, y as merge, aW as isArray, aC as clearFix, bn as getNative, a$ as Symbol$1, bo as isLength, b1 as isArguments, M as Keyframe, bk as initMotion, b5 as genCompactItemStyle, b3 as Map$1, L as resetComponent } from '../virtual/entry.mjs';
|
|
2
|
+
import { h as index, w as wrapperRaf } from './tooltip-CJlH_8ZK.mjs';
|
|
3
|
+
import { u as useInjectFormItemContext, F as FormItemInputContext, N as NoFormStatus } from './FormItemContext-DcWIIAaK.mjs';
|
|
4
|
+
import { createVNode, defineComponent, computed, shallowRef, getCurrentInstance, watch, watchEffect, ref, Fragment, nextTick, reactive, provide, inject } from 'vue';
|
|
4
5
|
|
|
5
6
|
// This icon file is generated automatically.
|
|
6
7
|
var SearchOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" } }] }, "name": "search", "theme": "outlined" };
|
|
7
8
|
|
|
8
|
-
function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$
|
|
9
|
+
function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$2(target, key, source[key]); }); } return target; }
|
|
9
10
|
|
|
10
|
-
function _defineProperty$
|
|
11
|
+
function _defineProperty$2(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
11
12
|
|
|
12
13
|
var SearchOutlined = function SearchOutlined(props, context) {
|
|
13
14
|
var p = _objectSpread$2({}, props, context.attrs);
|
|
@@ -23,9 +24,9 @@ SearchOutlined.inheritAttrs = false;
|
|
|
23
24
|
// This icon file is generated automatically.
|
|
24
25
|
var EyeOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, "name": "eye", "theme": "outlined" };
|
|
25
26
|
|
|
26
|
-
function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$
|
|
27
|
+
function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty$1(target, key, source[key]); }); } return target; }
|
|
27
28
|
|
|
28
|
-
function _defineProperty$
|
|
29
|
+
function _defineProperty$1(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
29
30
|
|
|
30
31
|
var EyeOutlined = function EyeOutlined(props, context) {
|
|
31
32
|
var p = _objectSpread$1({}, props, context.attrs);
|
|
@@ -41,9 +42,9 @@ EyeOutlined.inheritAttrs = false;
|
|
|
41
42
|
// This icon file is generated automatically.
|
|
42
43
|
var EyeInvisibleOutlined$1 = { "icon": { "tag": "svg", "attrs": { "viewBox": "64 64 896 896", "focusable": "false" }, "children": [{ "tag": "path", "attrs": { "d": "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" } }, { "tag": "path", "attrs": { "d": "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" } }] }, "name": "eye-invisible", "theme": "outlined" };
|
|
43
44
|
|
|
44
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty
|
|
45
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? Object(arguments[i]) : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }
|
|
45
46
|
|
|
46
|
-
function _defineProperty
|
|
47
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
47
48
|
|
|
48
49
|
var EyeInvisibleOutlined = function EyeInvisibleOutlined(props, context) {
|
|
49
50
|
var p = _objectSpread({}, props, context.attrs);
|
|
@@ -56,621 +57,6 @@ var EyeInvisibleOutlined = function EyeInvisibleOutlined(props, context) {
|
|
|
56
57
|
EyeInvisibleOutlined.displayName = 'EyeInvisibleOutlined';
|
|
57
58
|
EyeInvisibleOutlined.inheritAttrs = false;
|
|
58
59
|
|
|
59
|
-
//#region node_modules/.pnpm/resize-observer-polyfill@1.5.1/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js
|
|
60
|
-
/**
|
|
61
|
-
* A collection of shims that provide minimal functionality of the ES6 collections.
|
|
62
|
-
*
|
|
63
|
-
* These implementations are not meant to be used outside of the ResizeObserver
|
|
64
|
-
* modules as they cover only a limited range of use cases.
|
|
65
|
-
*/
|
|
66
|
-
var MapShim = (function() {
|
|
67
|
-
if (typeof Map !== "undefined") return Map;
|
|
68
|
-
/**
|
|
69
|
-
* Returns index in provided array that matches the specified key.
|
|
70
|
-
*
|
|
71
|
-
* @param {Array<Array>} arr
|
|
72
|
-
* @param {*} key
|
|
73
|
-
* @returns {number}
|
|
74
|
-
*/
|
|
75
|
-
function getIndex(arr, key) {
|
|
76
|
-
var result = -1;
|
|
77
|
-
arr.some(function(entry, index) {
|
|
78
|
-
if (entry[0] === key) {
|
|
79
|
-
result = index;
|
|
80
|
-
return true;
|
|
81
|
-
}
|
|
82
|
-
return false;
|
|
83
|
-
});
|
|
84
|
-
return result;
|
|
85
|
-
}
|
|
86
|
-
return function() {
|
|
87
|
-
function class_1() {
|
|
88
|
-
this.__entries__ = [];
|
|
89
|
-
}
|
|
90
|
-
Object.defineProperty(class_1.prototype, "size", {
|
|
91
|
-
/**
|
|
92
|
-
* @returns {boolean}
|
|
93
|
-
*/
|
|
94
|
-
get: function() {
|
|
95
|
-
return this.__entries__.length;
|
|
96
|
-
},
|
|
97
|
-
enumerable: true,
|
|
98
|
-
configurable: true
|
|
99
|
-
});
|
|
100
|
-
/**
|
|
101
|
-
* @param {*} key
|
|
102
|
-
* @returns {*}
|
|
103
|
-
*/
|
|
104
|
-
class_1.prototype.get = function(key) {
|
|
105
|
-
var index = getIndex(this.__entries__, key);
|
|
106
|
-
var entry = this.__entries__[index];
|
|
107
|
-
return entry && entry[1];
|
|
108
|
-
};
|
|
109
|
-
/**
|
|
110
|
-
* @param {*} key
|
|
111
|
-
* @param {*} value
|
|
112
|
-
* @returns {void}
|
|
113
|
-
*/
|
|
114
|
-
class_1.prototype.set = function(key, value) {
|
|
115
|
-
var index = getIndex(this.__entries__, key);
|
|
116
|
-
if (~index) this.__entries__[index][1] = value;
|
|
117
|
-
else this.__entries__.push([key, value]);
|
|
118
|
-
};
|
|
119
|
-
/**
|
|
120
|
-
* @param {*} key
|
|
121
|
-
* @returns {void}
|
|
122
|
-
*/
|
|
123
|
-
class_1.prototype.delete = function(key) {
|
|
124
|
-
var entries = this.__entries__;
|
|
125
|
-
var index = getIndex(entries, key);
|
|
126
|
-
if (~index) entries.splice(index, 1);
|
|
127
|
-
};
|
|
128
|
-
/**
|
|
129
|
-
* @param {*} key
|
|
130
|
-
* @returns {void}
|
|
131
|
-
*/
|
|
132
|
-
class_1.prototype.has = function(key) {
|
|
133
|
-
return !!~getIndex(this.__entries__, key);
|
|
134
|
-
};
|
|
135
|
-
/**
|
|
136
|
-
* @returns {void}
|
|
137
|
-
*/
|
|
138
|
-
class_1.prototype.clear = function() {
|
|
139
|
-
this.__entries__.splice(0);
|
|
140
|
-
};
|
|
141
|
-
/**
|
|
142
|
-
* @param {Function} callback
|
|
143
|
-
* @param {*} [ctx=null]
|
|
144
|
-
* @returns {void}
|
|
145
|
-
*/
|
|
146
|
-
class_1.prototype.forEach = function(callback, ctx) {
|
|
147
|
-
if (ctx === void 0) ctx = null;
|
|
148
|
-
for (var _i = 0, _a = this.__entries__; _i < _a.length; _i++) {
|
|
149
|
-
var entry = _a[_i];
|
|
150
|
-
callback.call(ctx, entry[1], entry[0]);
|
|
151
|
-
}
|
|
152
|
-
};
|
|
153
|
-
return class_1;
|
|
154
|
-
}();
|
|
155
|
-
})();
|
|
156
|
-
var global$1 = (function() {
|
|
157
|
-
if (typeof global !== "undefined" && global.Math === Math) return global;
|
|
158
|
-
if (typeof self !== "undefined" && self.Math === Math) return self;
|
|
159
|
-
return Function("return this")();
|
|
160
|
-
})();
|
|
161
|
-
/**
|
|
162
|
-
* A shim for the requestAnimationFrame which falls back to the setTimeout if
|
|
163
|
-
* first one is not supported.
|
|
164
|
-
*
|
|
165
|
-
* @returns {number} Requests' identifier.
|
|
166
|
-
*/
|
|
167
|
-
var requestAnimationFrame$1 = (function() {
|
|
168
|
-
if (typeof requestAnimationFrame === "function") return requestAnimationFrame.bind(global$1);
|
|
169
|
-
return function(callback) {
|
|
170
|
-
return setTimeout(function() {
|
|
171
|
-
return callback(Date.now());
|
|
172
|
-
}, 1e3 / 60);
|
|
173
|
-
};
|
|
174
|
-
})();
|
|
175
|
-
var trailingTimeout = 2;
|
|
176
|
-
/**
|
|
177
|
-
* Creates a wrapper function which ensures that provided callback will be
|
|
178
|
-
* invoked only once during the specified delay period.
|
|
179
|
-
*
|
|
180
|
-
* @param {Function} callback - Function to be invoked after the delay period.
|
|
181
|
-
* @param {number} delay - Delay after which to invoke callback.
|
|
182
|
-
* @returns {Function}
|
|
183
|
-
*/
|
|
184
|
-
function throttle(callback, delay) {
|
|
185
|
-
var leadingCall = false, trailingCall = false, lastCallTime = 0;
|
|
186
|
-
/**
|
|
187
|
-
* Invokes the original callback function and schedules new invocation if
|
|
188
|
-
* the "proxy" was called during current request.
|
|
189
|
-
*
|
|
190
|
-
* @returns {void}
|
|
191
|
-
*/
|
|
192
|
-
function resolvePending() {
|
|
193
|
-
if (leadingCall) {
|
|
194
|
-
leadingCall = false;
|
|
195
|
-
callback();
|
|
196
|
-
}
|
|
197
|
-
if (trailingCall) proxy();
|
|
198
|
-
}
|
|
199
|
-
/**
|
|
200
|
-
* Callback invoked after the specified delay. It will further postpone
|
|
201
|
-
* invocation of the original function delegating it to the
|
|
202
|
-
* requestAnimationFrame.
|
|
203
|
-
*
|
|
204
|
-
* @returns {void}
|
|
205
|
-
*/
|
|
206
|
-
function timeoutCallback() {
|
|
207
|
-
requestAnimationFrame$1(resolvePending);
|
|
208
|
-
}
|
|
209
|
-
/**
|
|
210
|
-
* Schedules invocation of the original function.
|
|
211
|
-
*
|
|
212
|
-
* @returns {void}
|
|
213
|
-
*/
|
|
214
|
-
function proxy() {
|
|
215
|
-
var timeStamp = Date.now();
|
|
216
|
-
if (leadingCall) {
|
|
217
|
-
if (timeStamp - lastCallTime < trailingTimeout) return;
|
|
218
|
-
trailingCall = true;
|
|
219
|
-
} else {
|
|
220
|
-
leadingCall = true;
|
|
221
|
-
trailingCall = false;
|
|
222
|
-
setTimeout(timeoutCallback, delay);
|
|
223
|
-
}
|
|
224
|
-
lastCallTime = timeStamp;
|
|
225
|
-
}
|
|
226
|
-
return proxy;
|
|
227
|
-
}
|
|
228
|
-
var REFRESH_DELAY = 20;
|
|
229
|
-
var transitionKeys = [
|
|
230
|
-
"top",
|
|
231
|
-
"right",
|
|
232
|
-
"bottom",
|
|
233
|
-
"left",
|
|
234
|
-
"width",
|
|
235
|
-
"height",
|
|
236
|
-
"size",
|
|
237
|
-
"weight"
|
|
238
|
-
];
|
|
239
|
-
/**
|
|
240
|
-
* Singleton controller class which handles updates of ResizeObserver instances.
|
|
241
|
-
*/
|
|
242
|
-
var ResizeObserverController = function() {
|
|
243
|
-
/**
|
|
244
|
-
* Creates a new instance of ResizeObserverController.
|
|
245
|
-
*
|
|
246
|
-
* @private
|
|
247
|
-
*/
|
|
248
|
-
function ResizeObserverController() {
|
|
249
|
-
/**
|
|
250
|
-
* Indicates whether DOM listeners have been added.
|
|
251
|
-
*
|
|
252
|
-
* @private {boolean}
|
|
253
|
-
*/
|
|
254
|
-
this.connected_ = false;
|
|
255
|
-
/**
|
|
256
|
-
* Tells that controller has subscribed for Mutation Events.
|
|
257
|
-
*
|
|
258
|
-
* @private {boolean}
|
|
259
|
-
*/
|
|
260
|
-
this.mutationEventsAdded_ = false;
|
|
261
|
-
/**
|
|
262
|
-
* Keeps reference to the instance of MutationObserver.
|
|
263
|
-
*
|
|
264
|
-
* @private {MutationObserver}
|
|
265
|
-
*/
|
|
266
|
-
this.mutationsObserver_ = null;
|
|
267
|
-
/**
|
|
268
|
-
* A list of connected observers.
|
|
269
|
-
*
|
|
270
|
-
* @private {Array<ResizeObserverSPI>}
|
|
271
|
-
*/
|
|
272
|
-
this.observers_ = [];
|
|
273
|
-
this.onTransitionEnd_ = this.onTransitionEnd_.bind(this);
|
|
274
|
-
this.refresh = throttle(this.refresh.bind(this), REFRESH_DELAY);
|
|
275
|
-
}
|
|
276
|
-
/**
|
|
277
|
-
* Adds observer to observers list.
|
|
278
|
-
*
|
|
279
|
-
* @param {ResizeObserverSPI} observer - Observer to be added.
|
|
280
|
-
* @returns {void}
|
|
281
|
-
*/
|
|
282
|
-
ResizeObserverController.prototype.addObserver = function(observer) {
|
|
283
|
-
if (!~this.observers_.indexOf(observer)) this.observers_.push(observer);
|
|
284
|
-
if (!this.connected_) this.connect_();
|
|
285
|
-
};
|
|
286
|
-
/**
|
|
287
|
-
* Removes observer from observers list.
|
|
288
|
-
*
|
|
289
|
-
* @param {ResizeObserverSPI} observer - Observer to be removed.
|
|
290
|
-
* @returns {void}
|
|
291
|
-
*/
|
|
292
|
-
ResizeObserverController.prototype.removeObserver = function(observer) {
|
|
293
|
-
var observers = this.observers_;
|
|
294
|
-
var index = observers.indexOf(observer);
|
|
295
|
-
if (~index) observers.splice(index, 1);
|
|
296
|
-
if (!observers.length && this.connected_) this.disconnect_();
|
|
297
|
-
};
|
|
298
|
-
/**
|
|
299
|
-
* Invokes the update of observers. It will continue running updates insofar
|
|
300
|
-
* it detects changes.
|
|
301
|
-
*
|
|
302
|
-
* @returns {void}
|
|
303
|
-
*/
|
|
304
|
-
ResizeObserverController.prototype.refresh = function() {
|
|
305
|
-
if (this.updateObservers_()) this.refresh();
|
|
306
|
-
};
|
|
307
|
-
/**
|
|
308
|
-
* Updates every observer from observers list and notifies them of queued
|
|
309
|
-
* entries.
|
|
310
|
-
*
|
|
311
|
-
* @private
|
|
312
|
-
* @returns {boolean} Returns "true" if any observer has detected changes in
|
|
313
|
-
* dimensions of it's elements.
|
|
314
|
-
*/
|
|
315
|
-
ResizeObserverController.prototype.updateObservers_ = function() {
|
|
316
|
-
var activeObservers = this.observers_.filter(function(observer) {
|
|
317
|
-
return observer.gatherActive(), observer.hasActive();
|
|
318
|
-
});
|
|
319
|
-
activeObservers.forEach(function(observer) {
|
|
320
|
-
return observer.broadcastActive();
|
|
321
|
-
});
|
|
322
|
-
return activeObservers.length > 0;
|
|
323
|
-
};
|
|
324
|
-
/**
|
|
325
|
-
* Initializes DOM listeners.
|
|
326
|
-
*
|
|
327
|
-
* @private
|
|
328
|
-
* @returns {void}
|
|
329
|
-
*/
|
|
330
|
-
ResizeObserverController.prototype.connect_ = function() {
|
|
331
|
-
return;
|
|
332
|
-
};
|
|
333
|
-
/**
|
|
334
|
-
* Removes DOM listeners.
|
|
335
|
-
*
|
|
336
|
-
* @private
|
|
337
|
-
* @returns {void}
|
|
338
|
-
*/
|
|
339
|
-
ResizeObserverController.prototype.disconnect_ = function() {
|
|
340
|
-
return;
|
|
341
|
-
};
|
|
342
|
-
/**
|
|
343
|
-
* "Transitionend" event handler.
|
|
344
|
-
*
|
|
345
|
-
* @private
|
|
346
|
-
* @param {TransitionEvent} event
|
|
347
|
-
* @returns {void}
|
|
348
|
-
*/
|
|
349
|
-
ResizeObserverController.prototype.onTransitionEnd_ = function(_a) {
|
|
350
|
-
var _b = _a.propertyName, propertyName = _b === void 0 ? "" : _b;
|
|
351
|
-
if (transitionKeys.some(function(key) {
|
|
352
|
-
return !!~propertyName.indexOf(key);
|
|
353
|
-
})) this.refresh();
|
|
354
|
-
};
|
|
355
|
-
/**
|
|
356
|
-
* Returns instance of the ResizeObserverController.
|
|
357
|
-
*
|
|
358
|
-
* @returns {ResizeObserverController}
|
|
359
|
-
*/
|
|
360
|
-
ResizeObserverController.getInstance = function() {
|
|
361
|
-
if (!this.instance_) this.instance_ = new ResizeObserverController();
|
|
362
|
-
return this.instance_;
|
|
363
|
-
};
|
|
364
|
-
/**
|
|
365
|
-
* Holds reference to the controller's instance.
|
|
366
|
-
*
|
|
367
|
-
* @private {ResizeObserverController}
|
|
368
|
-
*/
|
|
369
|
-
ResizeObserverController.instance_ = null;
|
|
370
|
-
return ResizeObserverController;
|
|
371
|
-
}();
|
|
372
|
-
/**
|
|
373
|
-
* Defines non-writable/enumerable properties of the provided target object.
|
|
374
|
-
*
|
|
375
|
-
* @param {Object} target - Object for which to define properties.
|
|
376
|
-
* @param {Object} props - Properties to be defined.
|
|
377
|
-
* @returns {Object} Target object.
|
|
378
|
-
*/
|
|
379
|
-
var defineConfigurable = (function(target, props) {
|
|
380
|
-
for (var _i = 0, _a = Object.keys(props); _i < _a.length; _i++) {
|
|
381
|
-
var key = _a[_i];
|
|
382
|
-
Object.defineProperty(target, key, {
|
|
383
|
-
value: props[key],
|
|
384
|
-
enumerable: false,
|
|
385
|
-
writable: false,
|
|
386
|
-
configurable: true
|
|
387
|
-
});
|
|
388
|
-
}
|
|
389
|
-
return target;
|
|
390
|
-
});
|
|
391
|
-
/**
|
|
392
|
-
* Returns the global object associated with provided element.
|
|
393
|
-
*
|
|
394
|
-
* @param {Object} target
|
|
395
|
-
* @returns {Object}
|
|
396
|
-
*/
|
|
397
|
-
var getWindowOf = (function(target) {
|
|
398
|
-
return target && target.ownerDocument && target.ownerDocument.defaultView || global$1;
|
|
399
|
-
});
|
|
400
|
-
var emptyRect = createRectInit(0, 0, 0, 0);
|
|
401
|
-
/**
|
|
402
|
-
* Calculates an appropriate content rectangle for provided html or svg element.
|
|
403
|
-
*
|
|
404
|
-
* @param {Element} target - Element content rectangle of which needs to be calculated.
|
|
405
|
-
* @returns {DOMRectInit}
|
|
406
|
-
*/
|
|
407
|
-
function getContentRect(target) {
|
|
408
|
-
return emptyRect;
|
|
409
|
-
}
|
|
410
|
-
/**
|
|
411
|
-
* Creates rectangle with an interface of the DOMRectReadOnly.
|
|
412
|
-
* Spec: https://drafts.fxtf.org/geometry/#domrectreadonly
|
|
413
|
-
*
|
|
414
|
-
* @param {DOMRectInit} rectInit - Object with rectangle's x/y coordinates and dimensions.
|
|
415
|
-
* @returns {DOMRectReadOnly}
|
|
416
|
-
*/
|
|
417
|
-
function createReadOnlyRect(_a) {
|
|
418
|
-
var x = _a.x, y = _a.y, width = _a.width, height = _a.height;
|
|
419
|
-
var rect = Object.create((typeof DOMRectReadOnly !== "undefined" ? DOMRectReadOnly : Object).prototype);
|
|
420
|
-
defineConfigurable(rect, {
|
|
421
|
-
x,
|
|
422
|
-
y,
|
|
423
|
-
width,
|
|
424
|
-
height,
|
|
425
|
-
top: y,
|
|
426
|
-
right: x + width,
|
|
427
|
-
bottom: height + y,
|
|
428
|
-
left: x
|
|
429
|
-
});
|
|
430
|
-
return rect;
|
|
431
|
-
}
|
|
432
|
-
/**
|
|
433
|
-
* Creates DOMRectInit object based on the provided dimensions and the x/y coordinates.
|
|
434
|
-
* Spec: https://drafts.fxtf.org/geometry/#dictdef-domrectinit
|
|
435
|
-
*
|
|
436
|
-
* @param {number} x - X coordinate.
|
|
437
|
-
* @param {number} y - Y coordinate.
|
|
438
|
-
* @param {number} width - Rectangle's width.
|
|
439
|
-
* @param {number} height - Rectangle's height.
|
|
440
|
-
* @returns {DOMRectInit}
|
|
441
|
-
*/
|
|
442
|
-
function createRectInit(x, y, width, height) {
|
|
443
|
-
return {
|
|
444
|
-
x,
|
|
445
|
-
y,
|
|
446
|
-
width,
|
|
447
|
-
height
|
|
448
|
-
};
|
|
449
|
-
}
|
|
450
|
-
/**
|
|
451
|
-
* Class that is responsible for computations of the content rectangle of
|
|
452
|
-
* provided DOM element and for keeping track of it's changes.
|
|
453
|
-
*/
|
|
454
|
-
var ResizeObservation = function() {
|
|
455
|
-
/**
|
|
456
|
-
* Creates an instance of ResizeObservation.
|
|
457
|
-
*
|
|
458
|
-
* @param {Element} target - Element to be observed.
|
|
459
|
-
*/
|
|
460
|
-
function ResizeObservation(target) {
|
|
461
|
-
/**
|
|
462
|
-
* Broadcasted width of content rectangle.
|
|
463
|
-
*
|
|
464
|
-
* @type {number}
|
|
465
|
-
*/
|
|
466
|
-
this.broadcastWidth = 0;
|
|
467
|
-
/**
|
|
468
|
-
* Broadcasted height of content rectangle.
|
|
469
|
-
*
|
|
470
|
-
* @type {number}
|
|
471
|
-
*/
|
|
472
|
-
this.broadcastHeight = 0;
|
|
473
|
-
/**
|
|
474
|
-
* Reference to the last observed content rectangle.
|
|
475
|
-
*
|
|
476
|
-
* @private {DOMRectInit}
|
|
477
|
-
*/
|
|
478
|
-
this.contentRect_ = createRectInit(0, 0, 0, 0);
|
|
479
|
-
this.target = target;
|
|
480
|
-
}
|
|
481
|
-
/**
|
|
482
|
-
* Updates content rectangle and tells whether it's width or height properties
|
|
483
|
-
* have changed since the last broadcast.
|
|
484
|
-
*
|
|
485
|
-
* @returns {boolean}
|
|
486
|
-
*/
|
|
487
|
-
ResizeObservation.prototype.isActive = function() {
|
|
488
|
-
var rect = getContentRect(this.target);
|
|
489
|
-
this.contentRect_ = rect;
|
|
490
|
-
return rect.width !== this.broadcastWidth || rect.height !== this.broadcastHeight;
|
|
491
|
-
};
|
|
492
|
-
/**
|
|
493
|
-
* Updates 'broadcastWidth' and 'broadcastHeight' properties with a data
|
|
494
|
-
* from the corresponding properties of the last observed content rectangle.
|
|
495
|
-
*
|
|
496
|
-
* @returns {DOMRectInit} Last observed content rectangle.
|
|
497
|
-
*/
|
|
498
|
-
ResizeObservation.prototype.broadcastRect = function() {
|
|
499
|
-
var rect = this.contentRect_;
|
|
500
|
-
this.broadcastWidth = rect.width;
|
|
501
|
-
this.broadcastHeight = rect.height;
|
|
502
|
-
return rect;
|
|
503
|
-
};
|
|
504
|
-
return ResizeObservation;
|
|
505
|
-
}();
|
|
506
|
-
var ResizeObserverEntry = function() {
|
|
507
|
-
/**
|
|
508
|
-
* Creates an instance of ResizeObserverEntry.
|
|
509
|
-
*
|
|
510
|
-
* @param {Element} target - Element that is being observed.
|
|
511
|
-
* @param {DOMRectInit} rectInit - Data of the element's content rectangle.
|
|
512
|
-
*/
|
|
513
|
-
function ResizeObserverEntry(target, rectInit) {
|
|
514
|
-
var contentRect = createReadOnlyRect(rectInit);
|
|
515
|
-
defineConfigurable(this, {
|
|
516
|
-
target,
|
|
517
|
-
contentRect
|
|
518
|
-
});
|
|
519
|
-
}
|
|
520
|
-
return ResizeObserverEntry;
|
|
521
|
-
}();
|
|
522
|
-
var ResizeObserverSPI = function() {
|
|
523
|
-
/**
|
|
524
|
-
* Creates a new instance of ResizeObserver.
|
|
525
|
-
*
|
|
526
|
-
* @param {ResizeObserverCallback} callback - Callback function that is invoked
|
|
527
|
-
* when one of the observed elements changes it's content dimensions.
|
|
528
|
-
* @param {ResizeObserverController} controller - Controller instance which
|
|
529
|
-
* is responsible for the updates of observer.
|
|
530
|
-
* @param {ResizeObserver} callbackCtx - Reference to the public
|
|
531
|
-
* ResizeObserver instance which will be passed to callback function.
|
|
532
|
-
*/
|
|
533
|
-
function ResizeObserverSPI(callback, controller, callbackCtx) {
|
|
534
|
-
/**
|
|
535
|
-
* Collection of resize observations that have detected changes in dimensions
|
|
536
|
-
* of elements.
|
|
537
|
-
*
|
|
538
|
-
* @private {Array<ResizeObservation>}
|
|
539
|
-
*/
|
|
540
|
-
this.activeObservations_ = [];
|
|
541
|
-
/**
|
|
542
|
-
* Registry of the ResizeObservation instances.
|
|
543
|
-
*
|
|
544
|
-
* @private {Map<Element, ResizeObservation>}
|
|
545
|
-
*/
|
|
546
|
-
this.observations_ = new MapShim();
|
|
547
|
-
if (typeof callback !== "function") throw new TypeError("The callback provided as parameter 1 is not a function.");
|
|
548
|
-
this.callback_ = callback;
|
|
549
|
-
this.controller_ = controller;
|
|
550
|
-
this.callbackCtx_ = callbackCtx;
|
|
551
|
-
}
|
|
552
|
-
/**
|
|
553
|
-
* Starts observing provided element.
|
|
554
|
-
*
|
|
555
|
-
* @param {Element} target - Element to be observed.
|
|
556
|
-
* @returns {void}
|
|
557
|
-
*/
|
|
558
|
-
ResizeObserverSPI.prototype.observe = function(target) {
|
|
559
|
-
if (!arguments.length) throw new TypeError("1 argument required, but only 0 present.");
|
|
560
|
-
if (typeof Element === "undefined" || !(Element instanceof Object)) return;
|
|
561
|
-
if (!(target instanceof getWindowOf(target).Element)) throw new TypeError("parameter 1 is not of type \"Element\".");
|
|
562
|
-
var observations = this.observations_;
|
|
563
|
-
if (observations.has(target)) return;
|
|
564
|
-
observations.set(target, new ResizeObservation(target));
|
|
565
|
-
this.controller_.addObserver(this);
|
|
566
|
-
this.controller_.refresh();
|
|
567
|
-
};
|
|
568
|
-
/**
|
|
569
|
-
* Stops observing provided element.
|
|
570
|
-
*
|
|
571
|
-
* @param {Element} target - Element to stop observing.
|
|
572
|
-
* @returns {void}
|
|
573
|
-
*/
|
|
574
|
-
ResizeObserverSPI.prototype.unobserve = function(target) {
|
|
575
|
-
if (!arguments.length) throw new TypeError("1 argument required, but only 0 present.");
|
|
576
|
-
if (typeof Element === "undefined" || !(Element instanceof Object)) return;
|
|
577
|
-
if (!(target instanceof getWindowOf(target).Element)) throw new TypeError("parameter 1 is not of type \"Element\".");
|
|
578
|
-
var observations = this.observations_;
|
|
579
|
-
if (!observations.has(target)) return;
|
|
580
|
-
observations.delete(target);
|
|
581
|
-
if (!observations.size) this.controller_.removeObserver(this);
|
|
582
|
-
};
|
|
583
|
-
/**
|
|
584
|
-
* Stops observing all elements.
|
|
585
|
-
*
|
|
586
|
-
* @returns {void}
|
|
587
|
-
*/
|
|
588
|
-
ResizeObserverSPI.prototype.disconnect = function() {
|
|
589
|
-
this.clearActive();
|
|
590
|
-
this.observations_.clear();
|
|
591
|
-
this.controller_.removeObserver(this);
|
|
592
|
-
};
|
|
593
|
-
/**
|
|
594
|
-
* Collects observation instances the associated element of which has changed
|
|
595
|
-
* it's content rectangle.
|
|
596
|
-
*
|
|
597
|
-
* @returns {void}
|
|
598
|
-
*/
|
|
599
|
-
ResizeObserverSPI.prototype.gatherActive = function() {
|
|
600
|
-
var _this = this;
|
|
601
|
-
this.clearActive();
|
|
602
|
-
this.observations_.forEach(function(observation) {
|
|
603
|
-
if (observation.isActive()) _this.activeObservations_.push(observation);
|
|
604
|
-
});
|
|
605
|
-
};
|
|
606
|
-
/**
|
|
607
|
-
* Invokes initial callback function with a list of ResizeObserverEntry
|
|
608
|
-
* instances collected from active resize observations.
|
|
609
|
-
*
|
|
610
|
-
* @returns {void}
|
|
611
|
-
*/
|
|
612
|
-
ResizeObserverSPI.prototype.broadcastActive = function() {
|
|
613
|
-
if (!this.hasActive()) return;
|
|
614
|
-
var ctx = this.callbackCtx_;
|
|
615
|
-
var entries = this.activeObservations_.map(function(observation) {
|
|
616
|
-
return new ResizeObserverEntry(observation.target, observation.broadcastRect());
|
|
617
|
-
});
|
|
618
|
-
this.callback_.call(ctx, entries, ctx);
|
|
619
|
-
this.clearActive();
|
|
620
|
-
};
|
|
621
|
-
/**
|
|
622
|
-
* Clears the collection of active observations.
|
|
623
|
-
*
|
|
624
|
-
* @returns {void}
|
|
625
|
-
*/
|
|
626
|
-
ResizeObserverSPI.prototype.clearActive = function() {
|
|
627
|
-
this.activeObservations_.splice(0);
|
|
628
|
-
};
|
|
629
|
-
/**
|
|
630
|
-
* Tells whether observer has active observations.
|
|
631
|
-
*
|
|
632
|
-
* @returns {boolean}
|
|
633
|
-
*/
|
|
634
|
-
ResizeObserverSPI.prototype.hasActive = function() {
|
|
635
|
-
return this.activeObservations_.length > 0;
|
|
636
|
-
};
|
|
637
|
-
return ResizeObserverSPI;
|
|
638
|
-
}();
|
|
639
|
-
var observers = typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : new MapShim();
|
|
640
|
-
/**
|
|
641
|
-
* ResizeObserver API. Encapsulates the ResizeObserver SPI implementation
|
|
642
|
-
* exposing only those methods and properties that are defined in the spec.
|
|
643
|
-
*/
|
|
644
|
-
var ResizeObserver = function() {
|
|
645
|
-
/**
|
|
646
|
-
* Creates a new instance of ResizeObserver.
|
|
647
|
-
*
|
|
648
|
-
* @param {ResizeObserverCallback} callback - Callback that is invoked when
|
|
649
|
-
* dimensions of the observed elements change.
|
|
650
|
-
*/
|
|
651
|
-
function ResizeObserver(callback) {
|
|
652
|
-
if (!(this instanceof ResizeObserver)) throw new TypeError("Cannot call a class as a function.");
|
|
653
|
-
if (!arguments.length) throw new TypeError("1 argument required, but only 0 present.");
|
|
654
|
-
var observer = new ResizeObserverSPI(callback, ResizeObserverController.getInstance(), this);
|
|
655
|
-
observers.set(this, observer);
|
|
656
|
-
}
|
|
657
|
-
return ResizeObserver;
|
|
658
|
-
}();
|
|
659
|
-
[
|
|
660
|
-
"observe",
|
|
661
|
-
"unobserve",
|
|
662
|
-
"disconnect"
|
|
663
|
-
].forEach(function(method) {
|
|
664
|
-
ResizeObserver.prototype[method] = function() {
|
|
665
|
-
var _a;
|
|
666
|
-
return (_a = observers.get(this))[method].apply(_a, arguments);
|
|
667
|
-
};
|
|
668
|
-
});
|
|
669
|
-
var index = (function() {
|
|
670
|
-
if (typeof global$1.ResizeObserver !== "undefined") return global$1.ResizeObserver;
|
|
671
|
-
return ResizeObserver;
|
|
672
|
-
})();
|
|
673
|
-
//#endregion
|
|
674
60
|
//#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-resize-observer/index.js
|
|
675
61
|
var vc_resize_observer_default = defineComponent({
|
|
676
62
|
compatConfig: { MODE: 3 },
|
|
@@ -718,1188 +104,37 @@ var vc_resize_observer_default = defineComponent({
|
|
|
718
104
|
_extends(state, size);
|
|
719
105
|
if (onResize) Promise.resolve().then(() => {
|
|
720
106
|
onResize(_extends(_extends({}, size), {
|
|
721
|
-
offsetWidth,
|
|
722
|
-
offsetHeight
|
|
723
|
-
}), target);
|
|
724
|
-
});
|
|
725
|
-
}
|
|
726
|
-
};
|
|
727
|
-
const instance = getCurrentInstance();
|
|
728
|
-
const registerObserver = () => {
|
|
729
|
-
const { disabled } = props;
|
|
730
|
-
if (disabled) {
|
|
731
|
-
destroyObserver();
|
|
732
|
-
return;
|
|
733
|
-
}
|
|
734
|
-
const element = findDOMNode(instance);
|
|
735
|
-
if (element !== currentElement) {
|
|
736
|
-
destroyObserver();
|
|
737
|
-
currentElement = element;
|
|
738
|
-
}
|
|
739
|
-
if (!resizeObserver && element) {
|
|
740
|
-
resizeObserver = new index(onResize);
|
|
741
|
-
resizeObserver.observe(element);
|
|
742
|
-
}
|
|
743
|
-
};
|
|
744
|
-
watch(() => props.disabled, () => {
|
|
745
|
-
registerObserver();
|
|
746
|
-
}, { flush: "post" });
|
|
747
|
-
return () => {
|
|
748
|
-
var _a;
|
|
749
|
-
return (_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots)[0];
|
|
750
|
-
};
|
|
751
|
-
}
|
|
752
|
-
});
|
|
753
|
-
//#endregion
|
|
754
|
-
//#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
|
|
755
|
-
var raf = (callback) => setTimeout(callback, 16);
|
|
756
|
-
var caf = (num) => clearTimeout(num);
|
|
757
|
-
var rafUUID = 0;
|
|
758
|
-
var rafIds = /* @__PURE__ */ new Map();
|
|
759
|
-
function cleanup(id) {
|
|
760
|
-
rafIds.delete(id);
|
|
761
|
-
}
|
|
762
|
-
function wrapperRaf(callback) {
|
|
763
|
-
let times = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
|
|
764
|
-
rafUUID += 1;
|
|
765
|
-
const id = rafUUID;
|
|
766
|
-
function callRef(leftTimes) {
|
|
767
|
-
if (leftTimes === 0) {
|
|
768
|
-
cleanup(id);
|
|
769
|
-
callback();
|
|
770
|
-
} else {
|
|
771
|
-
const realId = raf(() => {
|
|
772
|
-
callRef(leftTimes - 1);
|
|
773
|
-
});
|
|
774
|
-
rafIds.set(id, realId);
|
|
775
|
-
}
|
|
776
|
-
}
|
|
777
|
-
callRef(times);
|
|
778
|
-
return id;
|
|
779
|
-
}
|
|
780
|
-
wrapperRaf.cancel = (id) => {
|
|
781
|
-
const realId = rafIds.get(id);
|
|
782
|
-
cleanup(realId);
|
|
783
|
-
return caf(realId);
|
|
784
|
-
};
|
|
785
|
-
//#endregion
|
|
786
|
-
//#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
|
|
787
|
-
var PresetColors = [
|
|
788
|
-
"blue",
|
|
789
|
-
"purple",
|
|
790
|
-
"cyan",
|
|
791
|
-
"green",
|
|
792
|
-
"magenta",
|
|
793
|
-
"pink",
|
|
794
|
-
"red",
|
|
795
|
-
"orange",
|
|
796
|
-
"yellow",
|
|
797
|
-
"volcano",
|
|
798
|
-
"geekblue",
|
|
799
|
-
"lime",
|
|
800
|
-
"gold"
|
|
801
|
-
];
|
|
802
|
-
//#endregion
|
|
803
|
-
//#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
|
|
804
|
-
var roundedArrow = (width, innerRadius, outerRadius, bgColor, boxShadow) => {
|
|
805
|
-
const unitWidth = width / 2;
|
|
806
|
-
const ax = 0;
|
|
807
|
-
const ay = unitWidth;
|
|
808
|
-
const bx = outerRadius * 1 / Math.sqrt(2);
|
|
809
|
-
const by = unitWidth - outerRadius * (1 - 1 / Math.sqrt(2));
|
|
810
|
-
const cx = unitWidth - innerRadius * (1 / Math.sqrt(2));
|
|
811
|
-
const cy = outerRadius * (Math.sqrt(2) - 1) + innerRadius * (1 / Math.sqrt(2));
|
|
812
|
-
const dx = 2 * unitWidth - cx;
|
|
813
|
-
const dy = cy;
|
|
814
|
-
const ex = 2 * unitWidth - bx;
|
|
815
|
-
const ey = by;
|
|
816
|
-
const fx = 2 * unitWidth - ax;
|
|
817
|
-
const fy = ay;
|
|
818
|
-
const shadowWidth = unitWidth * Math.sqrt(2) + outerRadius * (Math.sqrt(2) - 2);
|
|
819
|
-
const polygonOffset = outerRadius * (Math.sqrt(2) - 1);
|
|
820
|
-
return {
|
|
821
|
-
pointerEvents: "none",
|
|
822
|
-
width,
|
|
823
|
-
height: width,
|
|
824
|
-
overflow: "hidden",
|
|
825
|
-
"&::after": {
|
|
826
|
-
content: "\"\"",
|
|
827
|
-
position: "absolute",
|
|
828
|
-
width: shadowWidth,
|
|
829
|
-
height: shadowWidth,
|
|
830
|
-
bottom: 0,
|
|
831
|
-
insetInline: 0,
|
|
832
|
-
margin: "auto",
|
|
833
|
-
borderRadius: {
|
|
834
|
-
_skip_check_: true,
|
|
835
|
-
value: `0 0 ${innerRadius}px 0`
|
|
836
|
-
},
|
|
837
|
-
transform: "translateY(50%) rotate(-135deg)",
|
|
838
|
-
boxShadow,
|
|
839
|
-
zIndex: 0,
|
|
840
|
-
background: "transparent"
|
|
841
|
-
},
|
|
842
|
-
"&::before": {
|
|
843
|
-
position: "absolute",
|
|
844
|
-
bottom: 0,
|
|
845
|
-
insetInlineStart: 0,
|
|
846
|
-
width,
|
|
847
|
-
height: width / 2,
|
|
848
|
-
background: bgColor,
|
|
849
|
-
clipPath: {
|
|
850
|
-
_multi_value_: true,
|
|
851
|
-
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')`]
|
|
852
|
-
},
|
|
853
|
-
content: "\"\""
|
|
854
|
-
}
|
|
855
|
-
};
|
|
856
|
-
};
|
|
857
|
-
//#endregion
|
|
858
|
-
//#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
|
|
859
|
-
function genPresetColor(token, genCss) {
|
|
860
|
-
return PresetColors.reduce((prev, colorKey) => {
|
|
861
|
-
const lightColor = token[`${colorKey}-1`];
|
|
862
|
-
const lightBorderColor = token[`${colorKey}-3`];
|
|
863
|
-
const darkColor = token[`${colorKey}-6`];
|
|
864
|
-
const textColor = token[`${colorKey}-7`];
|
|
865
|
-
return _extends(_extends({}, prev), genCss(colorKey, {
|
|
866
|
-
lightColor,
|
|
867
|
-
lightBorderColor,
|
|
868
|
-
darkColor,
|
|
869
|
-
textColor
|
|
870
|
-
}));
|
|
871
|
-
}, {});
|
|
872
|
-
}
|
|
873
|
-
//#endregion
|
|
874
|
-
//#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
|
|
875
|
-
function returnEmptyString() {
|
|
876
|
-
return "";
|
|
877
|
-
}
|
|
878
|
-
function returnDocument(element) {
|
|
879
|
-
if (element) return element.ownerDocument;
|
|
880
|
-
return (void 0).document;
|
|
881
|
-
}
|
|
882
|
-
function noop$1() {}
|
|
883
|
-
var triggerProps = () => ({
|
|
884
|
-
action: PropTypes.oneOfType([PropTypes.string, PropTypes.arrayOf(PropTypes.string)]).def([]),
|
|
885
|
-
showAction: PropTypes.any.def([]),
|
|
886
|
-
hideAction: PropTypes.any.def([]),
|
|
887
|
-
getPopupClassNameFromAlign: PropTypes.any.def(returnEmptyString),
|
|
888
|
-
onPopupVisibleChange: Function,
|
|
889
|
-
afterPopupVisibleChange: PropTypes.func.def(noop$1),
|
|
890
|
-
popup: PropTypes.any,
|
|
891
|
-
arrow: PropTypes.bool.def(true),
|
|
892
|
-
popupStyle: {
|
|
893
|
-
type: Object,
|
|
894
|
-
default: void 0
|
|
895
|
-
},
|
|
896
|
-
prefixCls: PropTypes.string.def("rc-trigger-popup"),
|
|
897
|
-
popupClassName: PropTypes.string.def(""),
|
|
898
|
-
popupPlacement: String,
|
|
899
|
-
builtinPlacements: PropTypes.object,
|
|
900
|
-
popupTransitionName: String,
|
|
901
|
-
popupAnimation: PropTypes.any,
|
|
902
|
-
mouseEnterDelay: PropTypes.number.def(0),
|
|
903
|
-
mouseLeaveDelay: PropTypes.number.def(.1),
|
|
904
|
-
zIndex: Number,
|
|
905
|
-
focusDelay: PropTypes.number.def(0),
|
|
906
|
-
blurDelay: PropTypes.number.def(.15),
|
|
907
|
-
getPopupContainer: Function,
|
|
908
|
-
getDocument: PropTypes.func.def(returnDocument),
|
|
909
|
-
forceRender: {
|
|
910
|
-
type: Boolean,
|
|
911
|
-
default: void 0
|
|
912
|
-
},
|
|
913
|
-
destroyPopupOnHide: {
|
|
914
|
-
type: Boolean,
|
|
915
|
-
default: false
|
|
916
|
-
},
|
|
917
|
-
mask: {
|
|
918
|
-
type: Boolean,
|
|
919
|
-
default: false
|
|
920
|
-
},
|
|
921
|
-
maskClosable: {
|
|
922
|
-
type: Boolean,
|
|
923
|
-
default: true
|
|
924
|
-
},
|
|
925
|
-
popupAlign: PropTypes.object.def(() => ({})),
|
|
926
|
-
popupVisible: {
|
|
927
|
-
type: Boolean,
|
|
928
|
-
default: void 0
|
|
929
|
-
},
|
|
930
|
-
defaultPopupVisible: {
|
|
931
|
-
type: Boolean,
|
|
932
|
-
default: false
|
|
933
|
-
},
|
|
934
|
-
maskTransitionName: String,
|
|
935
|
-
maskAnimation: String,
|
|
936
|
-
stretch: String,
|
|
937
|
-
alignPoint: {
|
|
938
|
-
type: Boolean,
|
|
939
|
-
default: void 0
|
|
940
|
-
},
|
|
941
|
-
autoDestroy: {
|
|
942
|
-
type: Boolean,
|
|
943
|
-
default: false
|
|
944
|
-
},
|
|
945
|
-
mobile: Object,
|
|
946
|
-
getTriggerDOMNode: Function
|
|
947
|
-
});
|
|
948
|
-
//#endregion
|
|
949
|
-
//#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
|
|
950
|
-
var innerProps = {
|
|
951
|
-
visible: Boolean,
|
|
952
|
-
prefixCls: String,
|
|
953
|
-
zIndex: Number,
|
|
954
|
-
destroyPopupOnHide: Boolean,
|
|
955
|
-
forceRender: Boolean,
|
|
956
|
-
arrow: {
|
|
957
|
-
type: Boolean,
|
|
958
|
-
default: true
|
|
959
|
-
},
|
|
960
|
-
animation: [String, Object],
|
|
961
|
-
transitionName: String,
|
|
962
|
-
stretch: { type: String },
|
|
963
|
-
align: { type: Object },
|
|
964
|
-
point: { type: Object },
|
|
965
|
-
getRootDomNode: { type: Function },
|
|
966
|
-
getClassNameFromAlign: { type: Function },
|
|
967
|
-
onAlign: { type: Function },
|
|
968
|
-
onMouseenter: { type: Function },
|
|
969
|
-
onMouseleave: { type: Function },
|
|
970
|
-
onMousedown: { type: Function },
|
|
971
|
-
onTouchstart: { type: Function }
|
|
972
|
-
};
|
|
973
|
-
var mobileProps = _extends(_extends({}, innerProps), { mobile: { type: Object } });
|
|
974
|
-
var popupProps = _extends(_extends({}, innerProps), {
|
|
975
|
-
mask: Boolean,
|
|
976
|
-
mobile: { type: Object },
|
|
977
|
-
maskAnimation: String,
|
|
978
|
-
maskTransitionName: String
|
|
979
|
-
});
|
|
980
|
-
//#endregion
|
|
981
|
-
//#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
|
|
982
|
-
function Mask(props) {
|
|
983
|
-
const { prefixCls, visible, zIndex, mask, maskAnimation, maskTransitionName } = props;
|
|
984
|
-
if (!mask) return null;
|
|
985
|
-
let motion = {};
|
|
986
|
-
if (maskTransitionName || maskAnimation) motion = getMotion$1({
|
|
987
|
-
prefixCls,
|
|
988
|
-
transitionName: maskTransitionName,
|
|
989
|
-
animation: maskAnimation
|
|
990
|
-
});
|
|
991
|
-
return createVNode(Transition, _objectSpread2$1({ "appear": true }, motion), { default: () => [withDirectives(createVNode("div", {
|
|
992
|
-
"style": { zIndex },
|
|
993
|
-
"class": `${prefixCls}-mask`
|
|
994
|
-
}, null), [[resolveDirective("if"), visible]])] });
|
|
995
|
-
}
|
|
996
|
-
Mask.displayName = "Mask";
|
|
997
|
-
//#endregion
|
|
998
|
-
//#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
|
|
999
|
-
var MobilePopupInner_default = defineComponent({
|
|
1000
|
-
compatConfig: { MODE: 3 },
|
|
1001
|
-
name: "MobilePopupInner",
|
|
1002
|
-
inheritAttrs: false,
|
|
1003
|
-
props: mobileProps,
|
|
1004
|
-
emits: [
|
|
1005
|
-
"mouseenter",
|
|
1006
|
-
"mouseleave",
|
|
1007
|
-
"mousedown",
|
|
1008
|
-
"touchstart",
|
|
1009
|
-
"align"
|
|
1010
|
-
],
|
|
1011
|
-
setup(props, _ref) {
|
|
1012
|
-
let { expose, slots } = _ref;
|
|
1013
|
-
const elementRef = ref();
|
|
1014
|
-
expose({
|
|
1015
|
-
forceAlign: () => {},
|
|
1016
|
-
getElement: () => elementRef.value
|
|
1017
|
-
});
|
|
1018
|
-
return () => {
|
|
1019
|
-
var _a;
|
|
1020
|
-
const { zIndex, visible, prefixCls, mobile: { popupClassName, popupStyle, popupMotion = {}, popupRender } = {} } = props;
|
|
1021
|
-
const mergedStyle = _extends({ zIndex }, popupStyle);
|
|
1022
|
-
let childNode = flattenChildren((_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots));
|
|
1023
|
-
if (childNode.length > 1) {
|
|
1024
|
-
childNode = createVNode("div", { "class": `${prefixCls}-content` }, [childNode]);
|
|
1025
|
-
}
|
|
1026
|
-
if (popupRender) childNode = popupRender(childNode);
|
|
1027
|
-
const mergedClassName = classNames(prefixCls, popupClassName);
|
|
1028
|
-
return createVNode(Transition, _objectSpread2$1({ "ref": elementRef }, popupMotion), { default: () => [visible ? createVNode("div", {
|
|
1029
|
-
"class": mergedClassName,
|
|
1030
|
-
"style": mergedStyle
|
|
1031
|
-
}, [childNode]) : null] });
|
|
1032
|
-
};
|
|
1033
|
-
}
|
|
1034
|
-
});
|
|
1035
|
-
var useVisibleStatus_default = ((visible, doMeasure) => {
|
|
1036
|
-
const status = shallowRef(null);
|
|
1037
|
-
const rafRef = shallowRef();
|
|
1038
|
-
const destroyRef = shallowRef(false);
|
|
1039
|
-
function setStatus(nextStatus) {
|
|
1040
|
-
if (!destroyRef.value) status.value = nextStatus;
|
|
1041
|
-
}
|
|
1042
|
-
function cancelRaf() {
|
|
1043
|
-
wrapperRaf.cancel(rafRef.value);
|
|
1044
|
-
}
|
|
1045
|
-
function goNextStatus(callback) {
|
|
1046
|
-
cancelRaf();
|
|
1047
|
-
rafRef.value = wrapperRaf(() => {
|
|
1048
|
-
let newStatus = status.value;
|
|
1049
|
-
switch (status.value) {
|
|
1050
|
-
case "align":
|
|
1051
|
-
newStatus = "motion";
|
|
1052
|
-
break;
|
|
1053
|
-
case "motion": newStatus = "stable";
|
|
1054
|
-
}
|
|
1055
|
-
setStatus(newStatus);
|
|
1056
|
-
callback === null || callback === void 0 || callback();
|
|
1057
|
-
});
|
|
1058
|
-
}
|
|
1059
|
-
watch(visible, () => {
|
|
1060
|
-
setStatus("measure");
|
|
1061
|
-
}, {
|
|
1062
|
-
immediate: true,
|
|
1063
|
-
flush: "post"
|
|
1064
|
-
});
|
|
1065
|
-
return [status, goNextStatus];
|
|
1066
|
-
});
|
|
1067
|
-
//#endregion
|
|
1068
|
-
//#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
|
|
1069
|
-
var useStretchStyle_default = ((stretch) => {
|
|
1070
|
-
const targetSize = shallowRef({
|
|
1071
|
-
width: 0,
|
|
1072
|
-
height: 0
|
|
1073
|
-
});
|
|
1074
|
-
function measureStretch(element) {
|
|
1075
|
-
targetSize.value = {
|
|
1076
|
-
width: element.offsetWidth,
|
|
1077
|
-
height: element.offsetHeight
|
|
1078
|
-
};
|
|
1079
|
-
}
|
|
1080
|
-
return [computed(() => {
|
|
1081
|
-
const sizeStyle = {};
|
|
1082
|
-
if (stretch.value) {
|
|
1083
|
-
const { width, height } = targetSize.value;
|
|
1084
|
-
if (stretch.value.indexOf("height") !== -1 && height) sizeStyle.height = `${height}px`;
|
|
1085
|
-
else if (stretch.value.indexOf("minHeight") !== -1 && height) sizeStyle.minHeight = `${height}px`;
|
|
1086
|
-
if (stretch.value.indexOf("width") !== -1 && width) sizeStyle.width = `${width}px`;
|
|
1087
|
-
else if (stretch.value.indexOf("minWidth") !== -1 && width) sizeStyle.minWidth = `${width}px`;
|
|
1088
|
-
}
|
|
1089
|
-
return sizeStyle;
|
|
1090
|
-
}), measureStretch];
|
|
1091
|
-
});
|
|
1092
|
-
//#endregion
|
|
1093
|
-
//#region node_modules/.pnpm/dom-align@1.12.4/node_modules/dom-align/dist-web/index.js
|
|
1094
|
-
function ownKeys(object, enumerableOnly) {
|
|
1095
|
-
var keys = Object.keys(object);
|
|
1096
|
-
if (Object.getOwnPropertySymbols) {
|
|
1097
|
-
var symbols = Object.getOwnPropertySymbols(object);
|
|
1098
|
-
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
1099
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
1100
|
-
})), keys.push.apply(keys, symbols);
|
|
1101
|
-
}
|
|
1102
|
-
return keys;
|
|
1103
|
-
}
|
|
1104
|
-
function _objectSpread2(target) {
|
|
1105
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
1106
|
-
var source = null != arguments[i] ? arguments[i] : {};
|
|
1107
|
-
i % 2 ? ownKeys(Object(source), true).forEach(function(key) {
|
|
1108
|
-
_defineProperty(target, key, source[key]);
|
|
1109
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function(key) {
|
|
1110
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
1111
|
-
});
|
|
1112
|
-
}
|
|
1113
|
-
return target;
|
|
1114
|
-
}
|
|
1115
|
-
function _typeof(obj) {
|
|
1116
|
-
"@babel/helpers - typeof";
|
|
1117
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj) {
|
|
1118
|
-
return typeof obj;
|
|
1119
|
-
} : function(obj) {
|
|
1120
|
-
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
1121
|
-
}, _typeof(obj);
|
|
1122
|
-
}
|
|
1123
|
-
function _defineProperty(obj, key, value) {
|
|
1124
|
-
if (key in obj) Object.defineProperty(obj, key, {
|
|
1125
|
-
value,
|
|
1126
|
-
enumerable: true,
|
|
1127
|
-
configurable: true,
|
|
1128
|
-
writable: true
|
|
1129
|
-
});
|
|
1130
|
-
else obj[key] = value;
|
|
1131
|
-
return obj;
|
|
1132
|
-
}
|
|
1133
|
-
var vendorPrefix;
|
|
1134
|
-
var jsCssMap = {
|
|
1135
|
-
Webkit: "-webkit-",
|
|
1136
|
-
Moz: "-moz-",
|
|
1137
|
-
ms: "-ms-",
|
|
1138
|
-
O: "-o-"
|
|
1139
|
-
};
|
|
1140
|
-
function getVendorPrefix() {
|
|
1141
|
-
if (vendorPrefix !== void 0) return vendorPrefix;
|
|
1142
|
-
vendorPrefix = "";
|
|
1143
|
-
var style = (void 0).createElement("p").style;
|
|
1144
|
-
var testProp = "Transform";
|
|
1145
|
-
for (var key in jsCssMap) if (key + testProp in style) vendorPrefix = key;
|
|
1146
|
-
return vendorPrefix;
|
|
1147
|
-
}
|
|
1148
|
-
function getTransitionName() {
|
|
1149
|
-
return getVendorPrefix() ? "".concat(getVendorPrefix(), "TransitionProperty") : "transitionProperty";
|
|
1150
|
-
}
|
|
1151
|
-
function getTransformName() {
|
|
1152
|
-
return getVendorPrefix() ? "".concat(getVendorPrefix(), "Transform") : "transform";
|
|
1153
|
-
}
|
|
1154
|
-
function setTransitionProperty(node, value) {
|
|
1155
|
-
var name = getTransitionName();
|
|
1156
|
-
if (name) {
|
|
1157
|
-
node.style[name] = value;
|
|
1158
|
-
if (name !== "transitionProperty") node.style.transitionProperty = value;
|
|
1159
|
-
}
|
|
1160
|
-
}
|
|
1161
|
-
function setTransform(node, value) {
|
|
1162
|
-
var name = getTransformName();
|
|
1163
|
-
if (name) {
|
|
1164
|
-
node.style[name] = value;
|
|
1165
|
-
if (name !== "transform") node.style.transform = value;
|
|
1166
|
-
}
|
|
1167
|
-
}
|
|
1168
|
-
function getTransitionProperty(node) {
|
|
1169
|
-
return node.style.transitionProperty || node.style[getTransitionName()];
|
|
1170
|
-
}
|
|
1171
|
-
function getTransformXY(node) {
|
|
1172
|
-
var style = (void 0).getComputedStyle(node, null);
|
|
1173
|
-
var transform = style.getPropertyValue("transform") || style.getPropertyValue(getTransformName());
|
|
1174
|
-
if (transform && transform !== "none") {
|
|
1175
|
-
var matrix = transform.replace(/[^0-9\-.,]/g, "").split(",");
|
|
1176
|
-
return {
|
|
1177
|
-
x: parseFloat(matrix[12] || matrix[4], 0),
|
|
1178
|
-
y: parseFloat(matrix[13] || matrix[5], 0)
|
|
1179
|
-
};
|
|
1180
|
-
}
|
|
1181
|
-
return {
|
|
1182
|
-
x: 0,
|
|
1183
|
-
y: 0
|
|
1184
|
-
};
|
|
1185
|
-
}
|
|
1186
|
-
var matrix2d = /matrix\((.*)\)/;
|
|
1187
|
-
var matrix3d = /matrix3d\((.*)\)/;
|
|
1188
|
-
function setTransformXY(node, xy) {
|
|
1189
|
-
var style = (void 0).getComputedStyle(node, null);
|
|
1190
|
-
var transform = style.getPropertyValue("transform") || style.getPropertyValue(getTransformName());
|
|
1191
|
-
if (transform && transform !== "none") {
|
|
1192
|
-
var arr;
|
|
1193
|
-
var match2d = transform.match(matrix2d);
|
|
1194
|
-
if (match2d) {
|
|
1195
|
-
match2d = match2d[1];
|
|
1196
|
-
arr = match2d.split(",").map(function(item) {
|
|
1197
|
-
return parseFloat(item, 10);
|
|
1198
|
-
});
|
|
1199
|
-
arr[4] = xy.x;
|
|
1200
|
-
arr[5] = xy.y;
|
|
1201
|
-
setTransform(node, "matrix(".concat(arr.join(","), ")"));
|
|
1202
|
-
} else {
|
|
1203
|
-
arr = transform.match(matrix3d)[1].split(",").map(function(item) {
|
|
1204
|
-
return parseFloat(item, 10);
|
|
1205
|
-
});
|
|
1206
|
-
arr[12] = xy.x;
|
|
1207
|
-
arr[13] = xy.y;
|
|
1208
|
-
setTransform(node, "matrix3d(".concat(arr.join(","), ")"));
|
|
1209
|
-
}
|
|
1210
|
-
} else setTransform(node, "translateX(".concat(xy.x, "px) translateY(").concat(xy.y, "px) translateZ(0)"));
|
|
1211
|
-
}
|
|
1212
|
-
var getComputedStyleX;
|
|
1213
|
-
function forceRelayout(elem) {
|
|
1214
|
-
var originalStyle = elem.style.display;
|
|
1215
|
-
elem.style.display = "none";
|
|
1216
|
-
elem.offsetHeight;
|
|
1217
|
-
elem.style.display = originalStyle;
|
|
1218
|
-
}
|
|
1219
|
-
function css(el, name, v) {
|
|
1220
|
-
var value = v;
|
|
1221
|
-
if (_typeof(name) === "object") {
|
|
1222
|
-
for (var i in name) if (name.hasOwnProperty(i)) css(el, i, name[i]);
|
|
1223
|
-
return;
|
|
1224
|
-
}
|
|
1225
|
-
if (typeof value !== "undefined") {
|
|
1226
|
-
if (typeof value === "number") value = "".concat(value, "px");
|
|
1227
|
-
el.style[name] = value;
|
|
1228
|
-
return;
|
|
1229
|
-
}
|
|
1230
|
-
return getComputedStyleX(el, name);
|
|
1231
|
-
}
|
|
1232
|
-
function getClientPosition(elem) {
|
|
1233
|
-
var box;
|
|
1234
|
-
var x;
|
|
1235
|
-
var y;
|
|
1236
|
-
var doc = elem.ownerDocument;
|
|
1237
|
-
var body = doc.body;
|
|
1238
|
-
var docElem = doc && doc.documentElement;
|
|
1239
|
-
box = elem.getBoundingClientRect();
|
|
1240
|
-
x = Math.floor(box.left);
|
|
1241
|
-
y = Math.floor(box.top);
|
|
1242
|
-
x -= docElem.clientLeft || body.clientLeft || 0;
|
|
1243
|
-
y -= docElem.clientTop || body.clientTop || 0;
|
|
1244
|
-
return {
|
|
1245
|
-
left: x,
|
|
1246
|
-
top: y
|
|
1247
|
-
};
|
|
1248
|
-
}
|
|
1249
|
-
function getScroll(w, top) {
|
|
1250
|
-
var ret = w["page".concat(top ? "Y" : "X", "Offset")];
|
|
1251
|
-
var method = "scroll".concat(top ? "Top" : "Left");
|
|
1252
|
-
if (typeof ret !== "number") {
|
|
1253
|
-
var d = w.document;
|
|
1254
|
-
ret = d.documentElement[method];
|
|
1255
|
-
if (typeof ret !== "number") ret = d.body[method];
|
|
1256
|
-
}
|
|
1257
|
-
return ret;
|
|
1258
|
-
}
|
|
1259
|
-
function getScrollLeft(w) {
|
|
1260
|
-
return getScroll(w);
|
|
1261
|
-
}
|
|
1262
|
-
function getScrollTop(w) {
|
|
1263
|
-
return getScroll(w, true);
|
|
1264
|
-
}
|
|
1265
|
-
function getOffset$1(el) {
|
|
1266
|
-
var pos = getClientPosition(el);
|
|
1267
|
-
var doc = el.ownerDocument;
|
|
1268
|
-
var w = doc.defaultView || doc.parentWindow;
|
|
1269
|
-
pos.left += getScrollLeft(w);
|
|
1270
|
-
pos.top += getScrollTop(w);
|
|
1271
|
-
return pos;
|
|
1272
|
-
}
|
|
1273
|
-
/**
|
|
1274
|
-
* A crude way of determining if an object is a window
|
|
1275
|
-
* @member util
|
|
1276
|
-
*/
|
|
1277
|
-
function isWindow(obj) {
|
|
1278
|
-
return obj !== null && obj !== void 0 && obj == obj.window;
|
|
1279
|
-
}
|
|
1280
|
-
function getDocument(node) {
|
|
1281
|
-
if (isWindow(node)) return node.document;
|
|
1282
|
-
if (node.nodeType === 9) return node;
|
|
1283
|
-
return node.ownerDocument;
|
|
1284
|
-
}
|
|
1285
|
-
function getOffsetDirection(dir, option) {
|
|
1286
|
-
if (dir === "left") return option.useCssRight ? "right" : dir;
|
|
1287
|
-
return option.useCssBottom ? "bottom" : dir;
|
|
1288
|
-
}
|
|
1289
|
-
function oppositeOffsetDirection(dir) {
|
|
1290
|
-
if (dir === "left") return "right";
|
|
1291
|
-
else if (dir === "right") return "left";
|
|
1292
|
-
else if (dir === "top") return "bottom";
|
|
1293
|
-
else if (dir === "bottom") return "top";
|
|
1294
|
-
}
|
|
1295
|
-
function setLeftTop(elem, offset, option) {
|
|
1296
|
-
if (css(elem, "position") === "static") elem.style.position = "relative";
|
|
1297
|
-
var presetH = -999;
|
|
1298
|
-
var presetV = -999;
|
|
1299
|
-
var horizontalProperty = getOffsetDirection("left", option);
|
|
1300
|
-
var verticalProperty = getOffsetDirection("top", option);
|
|
1301
|
-
var oppositeHorizontalProperty = oppositeOffsetDirection(horizontalProperty);
|
|
1302
|
-
var oppositeVerticalProperty = oppositeOffsetDirection(verticalProperty);
|
|
1303
|
-
if (horizontalProperty !== "left") presetH = 999;
|
|
1304
|
-
if (verticalProperty !== "top") presetV = 999;
|
|
1305
|
-
var originalTransition = "";
|
|
1306
|
-
var originalOffset = getOffset$1(elem);
|
|
1307
|
-
if ("left" in offset || "top" in offset) {
|
|
1308
|
-
originalTransition = getTransitionProperty(elem) || "";
|
|
1309
|
-
setTransitionProperty(elem, "none");
|
|
1310
|
-
}
|
|
1311
|
-
if ("left" in offset) {
|
|
1312
|
-
elem.style[oppositeHorizontalProperty] = "";
|
|
1313
|
-
elem.style[horizontalProperty] = "".concat(presetH, "px");
|
|
1314
|
-
}
|
|
1315
|
-
if ("top" in offset) {
|
|
1316
|
-
elem.style[oppositeVerticalProperty] = "";
|
|
1317
|
-
elem.style[verticalProperty] = "".concat(presetV, "px");
|
|
1318
|
-
}
|
|
1319
|
-
forceRelayout(elem);
|
|
1320
|
-
var old = getOffset$1(elem);
|
|
1321
|
-
var originalStyle = {};
|
|
1322
|
-
for (var key in offset) if (offset.hasOwnProperty(key)) {
|
|
1323
|
-
var dir = getOffsetDirection(key, option);
|
|
1324
|
-
var preset = key === "left" ? presetH : presetV;
|
|
1325
|
-
var off = originalOffset[key] - old[key];
|
|
1326
|
-
if (dir === key) originalStyle[dir] = preset + off;
|
|
1327
|
-
else originalStyle[dir] = preset - off;
|
|
1328
|
-
}
|
|
1329
|
-
css(elem, originalStyle);
|
|
1330
|
-
forceRelayout(elem);
|
|
1331
|
-
if ("left" in offset || "top" in offset) setTransitionProperty(elem, originalTransition);
|
|
1332
|
-
var ret = {};
|
|
1333
|
-
for (var _key in offset) if (offset.hasOwnProperty(_key)) {
|
|
1334
|
-
var _dir = getOffsetDirection(_key, option);
|
|
1335
|
-
var _off = offset[_key] - originalOffset[_key];
|
|
1336
|
-
if (_key === _dir) ret[_dir] = originalStyle[_dir] + _off;
|
|
1337
|
-
else ret[_dir] = originalStyle[_dir] - _off;
|
|
1338
|
-
}
|
|
1339
|
-
css(elem, ret);
|
|
1340
|
-
}
|
|
1341
|
-
function setTransform$1(elem, offset) {
|
|
1342
|
-
var originalOffset = getOffset$1(elem);
|
|
1343
|
-
var originalXY = getTransformXY(elem);
|
|
1344
|
-
var resultXY = {
|
|
1345
|
-
x: originalXY.x,
|
|
1346
|
-
y: originalXY.y
|
|
1347
|
-
};
|
|
1348
|
-
if ("left" in offset) resultXY.x = originalXY.x + offset.left - originalOffset.left;
|
|
1349
|
-
if ("top" in offset) resultXY.y = originalXY.y + offset.top - originalOffset.top;
|
|
1350
|
-
setTransformXY(elem, resultXY);
|
|
1351
|
-
}
|
|
1352
|
-
function setOffset(elem, offset, option) {
|
|
1353
|
-
if (option.ignoreShake) {
|
|
1354
|
-
var oriOffset = getOffset$1(elem);
|
|
1355
|
-
var oLeft = oriOffset.left.toFixed(0);
|
|
1356
|
-
var oTop = oriOffset.top.toFixed(0);
|
|
1357
|
-
var tLeft = offset.left.toFixed(0);
|
|
1358
|
-
var tTop = offset.top.toFixed(0);
|
|
1359
|
-
if (oLeft === tLeft && oTop === tTop) return;
|
|
1360
|
-
}
|
|
1361
|
-
if (option.useCssRight || option.useCssBottom) setLeftTop(elem, offset, option);
|
|
1362
|
-
else if (option.useCssTransform && getTransformName() in (void 0).body.style) setTransform$1(elem, offset);
|
|
1363
|
-
else setLeftTop(elem, offset, option);
|
|
1364
|
-
}
|
|
1365
|
-
function each(arr, fn) {
|
|
1366
|
-
for (var i = 0; i < arr.length; i++) fn(arr[i]);
|
|
1367
|
-
}
|
|
1368
|
-
function isBorderBoxFn(elem) {
|
|
1369
|
-
return getComputedStyleX(elem, "boxSizing") === "border-box";
|
|
1370
|
-
}
|
|
1371
|
-
var BOX_MODELS = [
|
|
1372
|
-
"margin",
|
|
1373
|
-
"border",
|
|
1374
|
-
"padding"
|
|
1375
|
-
];
|
|
1376
|
-
var CONTENT_INDEX = -1;
|
|
1377
|
-
var PADDING_INDEX = 2;
|
|
1378
|
-
var BORDER_INDEX = 1;
|
|
1379
|
-
var MARGIN_INDEX = 0;
|
|
1380
|
-
function swap(elem, options, callback) {
|
|
1381
|
-
var old = {};
|
|
1382
|
-
var style = elem.style;
|
|
1383
|
-
var name;
|
|
1384
|
-
for (name in options) if (options.hasOwnProperty(name)) {
|
|
1385
|
-
old[name] = style[name];
|
|
1386
|
-
style[name] = options[name];
|
|
1387
|
-
}
|
|
1388
|
-
callback.call(elem);
|
|
1389
|
-
for (name in options) if (options.hasOwnProperty(name)) style[name] = old[name];
|
|
1390
|
-
}
|
|
1391
|
-
function getPBMWidth(elem, props, which) {
|
|
1392
|
-
var value = 0;
|
|
1393
|
-
var prop;
|
|
1394
|
-
var j;
|
|
1395
|
-
var i;
|
|
1396
|
-
for (j = 0; j < props.length; j++) {
|
|
1397
|
-
prop = props[j];
|
|
1398
|
-
if (prop) for (i = 0; i < which.length; i++) {
|
|
1399
|
-
var cssProp = void 0;
|
|
1400
|
-
if (prop === "border") cssProp = "".concat(prop).concat(which[i], "Width");
|
|
1401
|
-
else cssProp = prop + which[i];
|
|
1402
|
-
value += parseFloat(getComputedStyleX(elem, cssProp)) || 0;
|
|
1403
|
-
}
|
|
1404
|
-
}
|
|
1405
|
-
return value;
|
|
1406
|
-
}
|
|
1407
|
-
var domUtils = { getParent: function getParent(element) {
|
|
1408
|
-
var parent = element;
|
|
1409
|
-
do
|
|
1410
|
-
if (parent.nodeType === 11 && parent.host) parent = parent.host;
|
|
1411
|
-
else parent = parent.parentNode;
|
|
1412
|
-
while (parent && parent.nodeType !== 1 && parent.nodeType !== 9);
|
|
1413
|
-
return parent;
|
|
1414
|
-
} };
|
|
1415
|
-
each(["Width", "Height"], function(name) {
|
|
1416
|
-
domUtils["doc".concat(name)] = function(refWin) {
|
|
1417
|
-
var d = refWin.document;
|
|
1418
|
-
return Math.max(d.documentElement["scroll".concat(name)], d.body["scroll".concat(name)], domUtils["viewport".concat(name)](d));
|
|
1419
|
-
};
|
|
1420
|
-
domUtils["viewport".concat(name)] = function(win) {
|
|
1421
|
-
var prop = "client".concat(name);
|
|
1422
|
-
var doc = win.document;
|
|
1423
|
-
var body = doc.body;
|
|
1424
|
-
var documentElementProp = doc.documentElement[prop];
|
|
1425
|
-
return doc.compatMode === "CSS1Compat" && documentElementProp || body && body[prop] || documentElementProp;
|
|
1426
|
-
};
|
|
1427
|
-
});
|
|
1428
|
-
function getWH(elem, name, ex) {
|
|
1429
|
-
var extra = ex;
|
|
1430
|
-
if (isWindow(elem)) return name === "width" ? domUtils.viewportWidth(elem) : domUtils.viewportHeight(elem);
|
|
1431
|
-
else if (elem.nodeType === 9) return name === "width" ? domUtils.docWidth(elem) : domUtils.docHeight(elem);
|
|
1432
|
-
var which = name === "width" ? ["Left", "Right"] : ["Top", "Bottom"];
|
|
1433
|
-
var borderBoxValue = name === "width" ? Math.floor(elem.getBoundingClientRect().width) : Math.floor(elem.getBoundingClientRect().height);
|
|
1434
|
-
var isBorderBox = isBorderBoxFn(elem);
|
|
1435
|
-
var cssBoxValue = 0;
|
|
1436
|
-
if (borderBoxValue === null || borderBoxValue === void 0 || borderBoxValue <= 0) {
|
|
1437
|
-
borderBoxValue = void 0;
|
|
1438
|
-
cssBoxValue = getComputedStyleX(elem, name);
|
|
1439
|
-
if (cssBoxValue === null || cssBoxValue === void 0 || Number(cssBoxValue) < 0) cssBoxValue = elem.style[name] || 0;
|
|
1440
|
-
cssBoxValue = Math.floor(parseFloat(cssBoxValue)) || 0;
|
|
1441
|
-
}
|
|
1442
|
-
if (extra === void 0) extra = isBorderBox ? BORDER_INDEX : CONTENT_INDEX;
|
|
1443
|
-
var borderBoxValueOrIsBorderBox = borderBoxValue !== void 0 || isBorderBox;
|
|
1444
|
-
var val = borderBoxValue || cssBoxValue;
|
|
1445
|
-
if (extra === CONTENT_INDEX) {
|
|
1446
|
-
if (borderBoxValueOrIsBorderBox) return val - getPBMWidth(elem, ["border", "padding"], which);
|
|
1447
|
-
return cssBoxValue;
|
|
1448
|
-
} else if (borderBoxValueOrIsBorderBox) {
|
|
1449
|
-
if (extra === BORDER_INDEX) return val;
|
|
1450
|
-
return val + (extra === PADDING_INDEX ? -getPBMWidth(elem, ["border"], which) : getPBMWidth(elem, ["margin"], which));
|
|
1451
|
-
}
|
|
1452
|
-
return cssBoxValue + getPBMWidth(elem, BOX_MODELS.slice(extra), which);
|
|
1453
|
-
}
|
|
1454
|
-
var cssShow = {
|
|
1455
|
-
position: "absolute",
|
|
1456
|
-
visibility: "hidden",
|
|
1457
|
-
display: "block"
|
|
1458
|
-
};
|
|
1459
|
-
function getWHIgnoreDisplay() {
|
|
1460
|
-
for (var _len = arguments.length, args = new Array(_len), _key2 = 0; _key2 < _len; _key2++) args[_key2] = arguments[_key2];
|
|
1461
|
-
var val;
|
|
1462
|
-
var elem = args[0];
|
|
1463
|
-
if (elem.offsetWidth !== 0) val = getWH.apply(void 0, args);
|
|
1464
|
-
else swap(elem, cssShow, function() {
|
|
1465
|
-
val = getWH.apply(void 0, args);
|
|
1466
|
-
});
|
|
1467
|
-
return val;
|
|
1468
|
-
}
|
|
1469
|
-
each(["width", "height"], function(name) {
|
|
1470
|
-
var first = name.charAt(0).toUpperCase() + name.slice(1);
|
|
1471
|
-
domUtils["outer".concat(first)] = function(el, includeMargin) {
|
|
1472
|
-
return el && getWHIgnoreDisplay(el, name, includeMargin ? MARGIN_INDEX : BORDER_INDEX);
|
|
1473
|
-
};
|
|
1474
|
-
var which = name === "width" ? ["Left", "Right"] : ["Top", "Bottom"];
|
|
1475
|
-
domUtils[name] = function(elem, v) {
|
|
1476
|
-
var val = v;
|
|
1477
|
-
if (val !== void 0) {
|
|
1478
|
-
if (elem) {
|
|
1479
|
-
if (isBorderBoxFn(elem)) val += getPBMWidth(elem, ["padding", "border"], which);
|
|
1480
|
-
return css(elem, name, val);
|
|
1481
|
-
}
|
|
1482
|
-
return;
|
|
1483
|
-
}
|
|
1484
|
-
return elem && getWHIgnoreDisplay(elem, name, CONTENT_INDEX);
|
|
1485
|
-
};
|
|
1486
|
-
});
|
|
1487
|
-
function mix(to, from) {
|
|
1488
|
-
for (var i in from) if (from.hasOwnProperty(i)) to[i] = from[i];
|
|
1489
|
-
return to;
|
|
1490
|
-
}
|
|
1491
|
-
var utils = {
|
|
1492
|
-
getWindow: function getWindow(node) {
|
|
1493
|
-
if (node && node.document && node.setTimeout) return node;
|
|
1494
|
-
var doc = node.ownerDocument || node;
|
|
1495
|
-
return doc.defaultView || doc.parentWindow;
|
|
1496
|
-
},
|
|
1497
|
-
getDocument,
|
|
1498
|
-
offset: function offset(el, value, option) {
|
|
1499
|
-
if (typeof value !== "undefined") setOffset(el, value, option || {});
|
|
1500
|
-
else return getOffset$1(el);
|
|
1501
|
-
},
|
|
1502
|
-
isWindow,
|
|
1503
|
-
each,
|
|
1504
|
-
css,
|
|
1505
|
-
clone: function clone(obj) {
|
|
1506
|
-
var i;
|
|
1507
|
-
var ret = {};
|
|
1508
|
-
for (i in obj) if (obj.hasOwnProperty(i)) ret[i] = obj[i];
|
|
1509
|
-
if (obj.overflow) {
|
|
1510
|
-
for (i in obj) if (obj.hasOwnProperty(i)) ret.overflow[i] = obj.overflow[i];
|
|
1511
|
-
}
|
|
1512
|
-
return ret;
|
|
1513
|
-
},
|
|
1514
|
-
mix,
|
|
1515
|
-
getWindowScrollLeft: function getWindowScrollLeft(w) {
|
|
1516
|
-
return getScrollLeft(w);
|
|
1517
|
-
},
|
|
1518
|
-
getWindowScrollTop: function getWindowScrollTop(w) {
|
|
1519
|
-
return getScrollTop(w);
|
|
1520
|
-
},
|
|
1521
|
-
merge: function merge() {
|
|
1522
|
-
var ret = {};
|
|
1523
|
-
for (var i = 0; i < arguments.length; i++) utils.mix(ret, i < 0 || arguments.length <= i ? void 0 : arguments[i]);
|
|
1524
|
-
return ret;
|
|
1525
|
-
},
|
|
1526
|
-
viewportWidth: 0,
|
|
1527
|
-
viewportHeight: 0
|
|
1528
|
-
};
|
|
1529
|
-
mix(utils, domUtils);
|
|
1530
|
-
/**
|
|
1531
|
-
* 得到会导致元素显示不全的祖先元素
|
|
1532
|
-
*/
|
|
1533
|
-
var getParent = utils.getParent;
|
|
1534
|
-
function getOffsetParent(element) {
|
|
1535
|
-
if (utils.isWindow(element) || element.nodeType === 9) return null;
|
|
1536
|
-
var body = utils.getDocument(element).body;
|
|
1537
|
-
var parent;
|
|
1538
|
-
var positionStyle = utils.css(element, "position");
|
|
1539
|
-
if (!(positionStyle === "fixed" || positionStyle === "absolute")) return element.nodeName.toLowerCase() === "html" ? null : getParent(element);
|
|
1540
|
-
for (parent = getParent(element); parent && parent !== body && parent.nodeType !== 9; parent = getParent(parent)) {
|
|
1541
|
-
positionStyle = utils.css(parent, "position");
|
|
1542
|
-
if (positionStyle !== "static") return parent;
|
|
1543
|
-
}
|
|
1544
|
-
return null;
|
|
1545
|
-
}
|
|
1546
|
-
var getParent$1 = utils.getParent;
|
|
1547
|
-
function isAncestorFixed(element) {
|
|
1548
|
-
if (utils.isWindow(element) || element.nodeType === 9) return false;
|
|
1549
|
-
var doc = utils.getDocument(element);
|
|
1550
|
-
var body = doc.body;
|
|
1551
|
-
var parent = null;
|
|
1552
|
-
for (parent = getParent$1(element); parent && parent !== body && parent !== doc; parent = getParent$1(parent)) if (utils.css(parent, "position") === "fixed") return true;
|
|
1553
|
-
return false;
|
|
1554
|
-
}
|
|
1555
|
-
/**
|
|
1556
|
-
* 获得元素的显示部分的区域
|
|
1557
|
-
*/
|
|
1558
|
-
function getVisibleRectForElement(element, alwaysByViewport) {
|
|
1559
|
-
var visibleRect = {
|
|
1560
|
-
left: 0,
|
|
1561
|
-
right: Infinity,
|
|
1562
|
-
top: 0,
|
|
1563
|
-
bottom: Infinity
|
|
1564
|
-
};
|
|
1565
|
-
var el = getOffsetParent(element);
|
|
1566
|
-
var doc = utils.getDocument(element);
|
|
1567
|
-
var win = doc.defaultView || doc.parentWindow;
|
|
1568
|
-
var body = doc.body;
|
|
1569
|
-
var documentElement = doc.documentElement;
|
|
1570
|
-
while (el) {
|
|
1571
|
-
if (((void 0).userAgent.indexOf("MSIE") === -1 || el.clientWidth !== 0) && el !== body && el !== documentElement && utils.css(el, "overflow") !== "visible") {
|
|
1572
|
-
var pos = utils.offset(el);
|
|
1573
|
-
pos.left += el.clientLeft;
|
|
1574
|
-
pos.top += el.clientTop;
|
|
1575
|
-
visibleRect.top = Math.max(visibleRect.top, pos.top);
|
|
1576
|
-
visibleRect.right = Math.min(visibleRect.right, pos.left + el.clientWidth);
|
|
1577
|
-
visibleRect.bottom = Math.min(visibleRect.bottom, pos.top + el.clientHeight);
|
|
1578
|
-
visibleRect.left = Math.max(visibleRect.left, pos.left);
|
|
1579
|
-
} else if (el === body || el === documentElement) break;
|
|
1580
|
-
el = getOffsetParent(el);
|
|
1581
|
-
}
|
|
1582
|
-
var originalPosition = null;
|
|
1583
|
-
if (!utils.isWindow(element) && element.nodeType !== 9) {
|
|
1584
|
-
originalPosition = element.style.position;
|
|
1585
|
-
if (utils.css(element, "position") === "absolute") element.style.position = "fixed";
|
|
1586
|
-
}
|
|
1587
|
-
var scrollX = utils.getWindowScrollLeft(win);
|
|
1588
|
-
var scrollY = utils.getWindowScrollTop(win);
|
|
1589
|
-
var viewportWidth = utils.viewportWidth(win);
|
|
1590
|
-
var viewportHeight = utils.viewportHeight(win);
|
|
1591
|
-
var documentWidth = documentElement.scrollWidth;
|
|
1592
|
-
var documentHeight = documentElement.scrollHeight;
|
|
1593
|
-
var bodyStyle = (void 0).getComputedStyle(body);
|
|
1594
|
-
if (bodyStyle.overflowX === "hidden") documentWidth = win.innerWidth;
|
|
1595
|
-
if (bodyStyle.overflowY === "hidden") documentHeight = win.innerHeight;
|
|
1596
|
-
if (element.style) element.style.position = originalPosition;
|
|
1597
|
-
if (alwaysByViewport || isAncestorFixed(element)) {
|
|
1598
|
-
visibleRect.left = Math.max(visibleRect.left, scrollX);
|
|
1599
|
-
visibleRect.top = Math.max(visibleRect.top, scrollY);
|
|
1600
|
-
visibleRect.right = Math.min(visibleRect.right, scrollX + viewportWidth);
|
|
1601
|
-
visibleRect.bottom = Math.min(visibleRect.bottom, scrollY + viewportHeight);
|
|
1602
|
-
} else {
|
|
1603
|
-
var maxVisibleWidth = Math.max(documentWidth, scrollX + viewportWidth);
|
|
1604
|
-
visibleRect.right = Math.min(visibleRect.right, maxVisibleWidth);
|
|
1605
|
-
var maxVisibleHeight = Math.max(documentHeight, scrollY + viewportHeight);
|
|
1606
|
-
visibleRect.bottom = Math.min(visibleRect.bottom, maxVisibleHeight);
|
|
1607
|
-
}
|
|
1608
|
-
return visibleRect.top >= 0 && visibleRect.left >= 0 && visibleRect.bottom > visibleRect.top && visibleRect.right > visibleRect.left ? visibleRect : null;
|
|
1609
|
-
}
|
|
1610
|
-
function adjustForViewport(elFuturePos, elRegion, visibleRect, overflow) {
|
|
1611
|
-
var pos = utils.clone(elFuturePos);
|
|
1612
|
-
var size = {
|
|
1613
|
-
width: elRegion.width,
|
|
1614
|
-
height: elRegion.height
|
|
1615
|
-
};
|
|
1616
|
-
if (overflow.adjustX && pos.left < visibleRect.left) pos.left = visibleRect.left;
|
|
1617
|
-
if (overflow.resizeWidth && pos.left >= visibleRect.left && pos.left + size.width > visibleRect.right) size.width -= pos.left + size.width - visibleRect.right;
|
|
1618
|
-
if (overflow.adjustX && pos.left + size.width > visibleRect.right) pos.left = Math.max(visibleRect.right - size.width, visibleRect.left);
|
|
1619
|
-
if (overflow.adjustY && pos.top < visibleRect.top) pos.top = visibleRect.top;
|
|
1620
|
-
if (overflow.resizeHeight && pos.top >= visibleRect.top && pos.top + size.height > visibleRect.bottom) size.height -= pos.top + size.height - visibleRect.bottom;
|
|
1621
|
-
if (overflow.adjustY && pos.top + size.height > visibleRect.bottom) pos.top = Math.max(visibleRect.bottom - size.height, visibleRect.top);
|
|
1622
|
-
return utils.mix(pos, size);
|
|
1623
|
-
}
|
|
1624
|
-
function getRegion(node) {
|
|
1625
|
-
var offset;
|
|
1626
|
-
var w;
|
|
1627
|
-
var h;
|
|
1628
|
-
if (!utils.isWindow(node) && node.nodeType !== 9) {
|
|
1629
|
-
offset = utils.offset(node);
|
|
1630
|
-
w = utils.outerWidth(node);
|
|
1631
|
-
h = utils.outerHeight(node);
|
|
1632
|
-
} else {
|
|
1633
|
-
var win = utils.getWindow(node);
|
|
1634
|
-
offset = {
|
|
1635
|
-
left: utils.getWindowScrollLeft(win),
|
|
1636
|
-
top: utils.getWindowScrollTop(win)
|
|
1637
|
-
};
|
|
1638
|
-
w = utils.viewportWidth(win);
|
|
1639
|
-
h = utils.viewportHeight(win);
|
|
1640
|
-
}
|
|
1641
|
-
offset.width = w;
|
|
1642
|
-
offset.height = h;
|
|
1643
|
-
return offset;
|
|
1644
|
-
}
|
|
1645
|
-
/**
|
|
1646
|
-
* 获取 node 上的 align 对齐点 相对于页面的坐标
|
|
1647
|
-
*/
|
|
1648
|
-
function getAlignOffset(region, align) {
|
|
1649
|
-
var V = align.charAt(0);
|
|
1650
|
-
var H = align.charAt(1);
|
|
1651
|
-
var w = region.width;
|
|
1652
|
-
var h = region.height;
|
|
1653
|
-
var x = region.left;
|
|
1654
|
-
var y = region.top;
|
|
1655
|
-
if (V === "c") y += h / 2;
|
|
1656
|
-
else if (V === "b") y += h;
|
|
1657
|
-
if (H === "c") x += w / 2;
|
|
1658
|
-
else if (H === "r") x += w;
|
|
1659
|
-
return {
|
|
1660
|
-
left: x,
|
|
1661
|
-
top: y
|
|
1662
|
-
};
|
|
1663
|
-
}
|
|
1664
|
-
function getElFuturePos(elRegion, refNodeRegion, points, offset, targetOffset) {
|
|
1665
|
-
var p1 = getAlignOffset(refNodeRegion, points[1]);
|
|
1666
|
-
var p2 = getAlignOffset(elRegion, points[0]);
|
|
1667
|
-
var diff = [p2.left - p1.left, p2.top - p1.top];
|
|
1668
|
-
return {
|
|
1669
|
-
left: Math.round(elRegion.left - diff[0] + offset[0] - targetOffset[0]),
|
|
1670
|
-
top: Math.round(elRegion.top - diff[1] + offset[1] - targetOffset[1])
|
|
1671
|
-
};
|
|
1672
|
-
}
|
|
1673
|
-
/**
|
|
1674
|
-
* align dom node flexibly
|
|
1675
|
-
* @author yiminghe@gmail.com
|
|
1676
|
-
*/
|
|
1677
|
-
function isFailX(elFuturePos, elRegion, visibleRect) {
|
|
1678
|
-
return elFuturePos.left < visibleRect.left || elFuturePos.left + elRegion.width > visibleRect.right;
|
|
1679
|
-
}
|
|
1680
|
-
function isFailY(elFuturePos, elRegion, visibleRect) {
|
|
1681
|
-
return elFuturePos.top < visibleRect.top || elFuturePos.top + elRegion.height > visibleRect.bottom;
|
|
1682
|
-
}
|
|
1683
|
-
function isCompleteFailX(elFuturePos, elRegion, visibleRect) {
|
|
1684
|
-
return elFuturePos.left > visibleRect.right || elFuturePos.left + elRegion.width < visibleRect.left;
|
|
1685
|
-
}
|
|
1686
|
-
function isCompleteFailY(elFuturePos, elRegion, visibleRect) {
|
|
1687
|
-
return elFuturePos.top > visibleRect.bottom || elFuturePos.top + elRegion.height < visibleRect.top;
|
|
1688
|
-
}
|
|
1689
|
-
function flip(points, reg, map) {
|
|
1690
|
-
var ret = [];
|
|
1691
|
-
utils.each(points, function(p) {
|
|
1692
|
-
ret.push(p.replace(reg, function(m) {
|
|
1693
|
-
return map[m];
|
|
1694
|
-
}));
|
|
1695
|
-
});
|
|
1696
|
-
return ret;
|
|
1697
|
-
}
|
|
1698
|
-
function flipOffset(offset, index) {
|
|
1699
|
-
offset[index] = -offset[index];
|
|
1700
|
-
return offset;
|
|
1701
|
-
}
|
|
1702
|
-
function convertOffset(str, offsetLen) {
|
|
1703
|
-
var n;
|
|
1704
|
-
if (/%$/.test(str)) n = parseInt(str.substring(0, str.length - 1), 10) / 100 * offsetLen;
|
|
1705
|
-
else n = parseInt(str, 10);
|
|
1706
|
-
return n || 0;
|
|
1707
|
-
}
|
|
1708
|
-
function normalizeOffset(offset, el) {
|
|
1709
|
-
offset[0] = convertOffset(offset[0], el.width);
|
|
1710
|
-
offset[1] = convertOffset(offset[1], el.height);
|
|
1711
|
-
}
|
|
1712
|
-
/**
|
|
1713
|
-
* @param el
|
|
1714
|
-
* @param tgtRegion 参照节点所占的区域: { left, top, width, height }
|
|
1715
|
-
* @param align
|
|
1716
|
-
*/
|
|
1717
|
-
function doAlign(el, tgtRegion, align, isTgtRegionVisible) {
|
|
1718
|
-
var points = align.points;
|
|
1719
|
-
var offset = align.offset || [0, 0];
|
|
1720
|
-
var targetOffset = align.targetOffset || [0, 0];
|
|
1721
|
-
var overflow = align.overflow;
|
|
1722
|
-
var source = align.source || el;
|
|
1723
|
-
offset = [].concat(offset);
|
|
1724
|
-
targetOffset = [].concat(targetOffset);
|
|
1725
|
-
overflow = overflow || {};
|
|
1726
|
-
var newOverflowCfg = {};
|
|
1727
|
-
var fail = 0;
|
|
1728
|
-
var visibleRect = getVisibleRectForElement(source, !!(overflow && overflow.alwaysByViewport));
|
|
1729
|
-
var elRegion = getRegion(source);
|
|
1730
|
-
normalizeOffset(offset, elRegion);
|
|
1731
|
-
normalizeOffset(targetOffset, tgtRegion);
|
|
1732
|
-
var elFuturePos = getElFuturePos(elRegion, tgtRegion, points, offset, targetOffset);
|
|
1733
|
-
var newElRegion = utils.merge(elRegion, elFuturePos);
|
|
1734
|
-
if (visibleRect && (overflow.adjustX || overflow.adjustY) && isTgtRegionVisible) {
|
|
1735
|
-
if (overflow.adjustX) {
|
|
1736
|
-
if (isFailX(elFuturePos, elRegion, visibleRect)) {
|
|
1737
|
-
var newPoints = flip(points, /[lr]/gi, {
|
|
1738
|
-
l: "r",
|
|
1739
|
-
r: "l"
|
|
107
|
+
offsetWidth,
|
|
108
|
+
offsetHeight
|
|
109
|
+
}), target);
|
|
1740
110
|
});
|
|
1741
|
-
var newOffset = flipOffset(offset, 0);
|
|
1742
|
-
var newTargetOffset = flipOffset(targetOffset, 0);
|
|
1743
|
-
if (!isCompleteFailX(getElFuturePos(elRegion, tgtRegion, newPoints, newOffset, newTargetOffset), elRegion, visibleRect)) {
|
|
1744
|
-
fail = 1;
|
|
1745
|
-
points = newPoints;
|
|
1746
|
-
offset = newOffset;
|
|
1747
|
-
targetOffset = newTargetOffset;
|
|
1748
|
-
}
|
|
1749
111
|
}
|
|
1750
|
-
}
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
var _newOffset = flipOffset(offset, 1);
|
|
1758
|
-
var _newTargetOffset = flipOffset(targetOffset, 1);
|
|
1759
|
-
if (!isCompleteFailY(getElFuturePos(elRegion, tgtRegion, _newPoints, _newOffset, _newTargetOffset), elRegion, visibleRect)) {
|
|
1760
|
-
fail = 1;
|
|
1761
|
-
points = _newPoints;
|
|
1762
|
-
offset = _newOffset;
|
|
1763
|
-
targetOffset = _newTargetOffset;
|
|
1764
|
-
}
|
|
112
|
+
};
|
|
113
|
+
const instance = getCurrentInstance();
|
|
114
|
+
const registerObserver = () => {
|
|
115
|
+
const { disabled } = props;
|
|
116
|
+
if (disabled) {
|
|
117
|
+
destroyObserver();
|
|
118
|
+
return;
|
|
1765
119
|
}
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
points = _newPoints2;
|
|
1784
|
-
offset = align.offset || [0, 0];
|
|
1785
|
-
targetOffset = align.targetOffset || [0, 0];
|
|
1786
|
-
}
|
|
1787
|
-
newOverflowCfg.adjustX = overflow.adjustX && isStillFailX;
|
|
1788
|
-
newOverflowCfg.adjustY = overflow.adjustY && isStillFailY;
|
|
1789
|
-
if (newOverflowCfg.adjustX || newOverflowCfg.adjustY) newElRegion = adjustForViewport(elFuturePos, elRegion, visibleRect, newOverflowCfg);
|
|
1790
|
-
}
|
|
1791
|
-
if (newElRegion.width !== elRegion.width) utils.css(source, "width", utils.width(source) + newElRegion.width - elRegion.width);
|
|
1792
|
-
if (newElRegion.height !== elRegion.height) utils.css(source, "height", utils.height(source) + newElRegion.height - elRegion.height);
|
|
1793
|
-
utils.offset(source, {
|
|
1794
|
-
left: newElRegion.left,
|
|
1795
|
-
top: newElRegion.top
|
|
1796
|
-
}, {
|
|
1797
|
-
useCssRight: align.useCssRight,
|
|
1798
|
-
useCssBottom: align.useCssBottom,
|
|
1799
|
-
useCssTransform: align.useCssTransform,
|
|
1800
|
-
ignoreShake: align.ignoreShake
|
|
1801
|
-
});
|
|
1802
|
-
return {
|
|
1803
|
-
points,
|
|
1804
|
-
offset,
|
|
1805
|
-
targetOffset,
|
|
1806
|
-
overflow: newOverflowCfg
|
|
1807
|
-
};
|
|
1808
|
-
}
|
|
1809
|
-
/**
|
|
1810
|
-
* 2012-04-26 yiminghe@gmail.com
|
|
1811
|
-
* - 优化智能对齐算法
|
|
1812
|
-
* - 慎用 resizeXX
|
|
1813
|
-
*
|
|
1814
|
-
* 2011-07-13 yiminghe@gmail.com note:
|
|
1815
|
-
* - 增加智能对齐,以及大小调整选项
|
|
1816
|
-
**/
|
|
1817
|
-
function isOutOfVisibleRect(target, alwaysByViewport) {
|
|
1818
|
-
var visibleRect = getVisibleRectForElement(target, alwaysByViewport);
|
|
1819
|
-
var targetRegion = getRegion(target);
|
|
1820
|
-
return !visibleRect || targetRegion.left + targetRegion.width <= visibleRect.left || targetRegion.top + targetRegion.height <= visibleRect.top || targetRegion.left >= visibleRect.right || targetRegion.top >= visibleRect.bottom;
|
|
1821
|
-
}
|
|
1822
|
-
function alignElement(el, refNode, align) {
|
|
1823
|
-
var target = align.target || refNode;
|
|
1824
|
-
return doAlign(el, getRegion(target), align, !isOutOfVisibleRect(target, align.overflow && align.overflow.alwaysByViewport));
|
|
1825
|
-
}
|
|
1826
|
-
alignElement.__getOffsetParent = getOffsetParent;
|
|
1827
|
-
alignElement.__getVisibleRectForElement = getVisibleRectForElement;
|
|
1828
|
-
/**
|
|
1829
|
-
* `tgtPoint`: { pageX, pageY } or { clientX, clientY }.
|
|
1830
|
-
* If client position provided, will internal convert to page position.
|
|
1831
|
-
*/
|
|
1832
|
-
function alignPoint(el, tgtPoint, align) {
|
|
1833
|
-
var pageX;
|
|
1834
|
-
var pageY;
|
|
1835
|
-
var doc = utils.getDocument(el);
|
|
1836
|
-
var win = doc.defaultView || doc.parentWindow;
|
|
1837
|
-
var scrollX = utils.getWindowScrollLeft(win);
|
|
1838
|
-
var scrollY = utils.getWindowScrollTop(win);
|
|
1839
|
-
var viewportWidth = utils.viewportWidth(win);
|
|
1840
|
-
var viewportHeight = utils.viewportHeight(win);
|
|
1841
|
-
if ("pageX" in tgtPoint) pageX = tgtPoint.pageX;
|
|
1842
|
-
else pageX = scrollX + tgtPoint.clientX;
|
|
1843
|
-
if ("pageY" in tgtPoint) pageY = tgtPoint.pageY;
|
|
1844
|
-
else pageY = scrollY + tgtPoint.clientY;
|
|
1845
|
-
var tgtRegion = {
|
|
1846
|
-
left: pageX,
|
|
1847
|
-
top: pageY,
|
|
1848
|
-
width: 0,
|
|
1849
|
-
height: 0
|
|
1850
|
-
};
|
|
1851
|
-
var pointInView = pageX >= 0 && pageX <= scrollX + viewportWidth && pageY >= 0 && pageY <= scrollY + viewportHeight;
|
|
1852
|
-
var points = [align.points[0], "cc"];
|
|
1853
|
-
return doAlign(el, tgtRegion, _objectSpread2(_objectSpread2({}, align), {}, { points }), pointInView);
|
|
1854
|
-
}
|
|
1855
|
-
//#endregion
|
|
1856
|
-
//#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
|
|
1857
|
-
var isVisible_default = ((element) => {
|
|
1858
|
-
if (!element) return false;
|
|
1859
|
-
if (element.offsetParent) return true;
|
|
1860
|
-
if (element.getBBox) {
|
|
1861
|
-
const box = element.getBBox();
|
|
1862
|
-
if (box.width || box.height) return true;
|
|
1863
|
-
}
|
|
1864
|
-
if (element.getBoundingClientRect) {
|
|
1865
|
-
const box = element.getBoundingClientRect();
|
|
1866
|
-
if (box.width || box.height) return true;
|
|
1867
|
-
}
|
|
1868
|
-
return false;
|
|
1869
|
-
});
|
|
1870
|
-
//#endregion
|
|
1871
|
-
//#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
|
|
1872
|
-
function restoreFocus(activeElement, container) {
|
|
1873
|
-
if (activeElement !== (void 0).activeElement && contains(container, activeElement) && typeof activeElement.focus === "function") activeElement.focus();
|
|
1874
|
-
}
|
|
1875
|
-
//#endregion
|
|
1876
|
-
//#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
|
|
1877
|
-
var useBuffer_default = ((callback, buffer) => {
|
|
1878
|
-
let called = false;
|
|
1879
|
-
let timeout = null;
|
|
1880
|
-
function cancelTrigger() {
|
|
1881
|
-
clearTimeout(timeout);
|
|
1882
|
-
}
|
|
1883
|
-
function trigger(force) {
|
|
1884
|
-
if (!called || force === true) {
|
|
1885
|
-
if (callback() === false) return;
|
|
1886
|
-
called = true;
|
|
1887
|
-
cancelTrigger();
|
|
1888
|
-
timeout = setTimeout(() => {
|
|
1889
|
-
called = false;
|
|
1890
|
-
}, buffer.value);
|
|
1891
|
-
} else {
|
|
1892
|
-
cancelTrigger();
|
|
1893
|
-
timeout = setTimeout(() => {
|
|
1894
|
-
called = false;
|
|
1895
|
-
trigger();
|
|
1896
|
-
}, buffer.value);
|
|
1897
|
-
}
|
|
120
|
+
const element = findDOMNode(instance);
|
|
121
|
+
if (element !== currentElement) {
|
|
122
|
+
destroyObserver();
|
|
123
|
+
currentElement = element;
|
|
124
|
+
}
|
|
125
|
+
if (!resizeObserver && element) {
|
|
126
|
+
resizeObserver = new index(onResize);
|
|
127
|
+
resizeObserver.observe(element);
|
|
128
|
+
}
|
|
129
|
+
};
|
|
130
|
+
watch(() => props.disabled, () => {
|
|
131
|
+
registerObserver();
|
|
132
|
+
}, { flush: "post" });
|
|
133
|
+
return () => {
|
|
134
|
+
var _a;
|
|
135
|
+
return (_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots)[0];
|
|
136
|
+
};
|
|
1898
137
|
}
|
|
1899
|
-
return [trigger, () => {
|
|
1900
|
-
called = false;
|
|
1901
|
-
cancelTrigger();
|
|
1902
|
-
}];
|
|
1903
138
|
});
|
|
1904
139
|
//#endregion
|
|
1905
140
|
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js
|
|
@@ -2388,769 +623,34 @@ function setToArray(set) {
|
|
|
2388
623
|
* @param {Array} array The array to modify.
|
|
2389
624
|
* @param {Array} values The values to append.
|
|
2390
625
|
* @returns {Array} Returns `array`.
|
|
2391
|
-
*/
|
|
2392
|
-
function arrayPush(array, values) {
|
|
2393
|
-
var index = -1, length = values.length, offset = array.length;
|
|
2394
|
-
while (++index < length) array[offset + index] = values[index];
|
|
2395
|
-
return array;
|
|
2396
|
-
}
|
|
2397
|
-
//#endregion
|
|
2398
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js
|
|
2399
|
-
/** Used as references for various `Number` constants. */
|
|
2400
|
-
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
2401
|
-
/** Used to detect unsigned integer values. */
|
|
2402
|
-
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
2403
|
-
/**
|
|
2404
|
-
* Checks if `value` is a valid array-like index.
|
|
2405
|
-
*
|
|
2406
|
-
* @private
|
|
2407
|
-
* @param {*} value The value to check.
|
|
2408
|
-
* @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
|
|
2409
|
-
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
|
|
2410
|
-
*/
|
|
2411
|
-
function isIndex(value, length) {
|
|
2412
|
-
var type = typeof value;
|
|
2413
|
-
length = length == null ? MAX_SAFE_INTEGER : length;
|
|
2414
|
-
return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && value > -1 && value % 1 == 0 && value < length;
|
|
2415
|
-
}
|
|
2416
|
-
//#endregion
|
|
2417
|
-
//#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
|
|
2418
|
-
var alignProps = {
|
|
2419
|
-
align: Object,
|
|
2420
|
-
target: [Object, Function],
|
|
2421
|
-
onAlign: Function,
|
|
2422
|
-
monitorBufferTime: Number,
|
|
2423
|
-
monitorWindowResize: Boolean,
|
|
2424
|
-
disabled: Boolean
|
|
2425
|
-
};
|
|
2426
|
-
function getElement(func) {
|
|
2427
|
-
if (typeof func !== "function") return null;
|
|
2428
|
-
return func();
|
|
2429
|
-
}
|
|
2430
|
-
function getPoint(point) {
|
|
2431
|
-
if (typeof point !== "object" || !point) return null;
|
|
2432
|
-
return point;
|
|
2433
|
-
}
|
|
2434
|
-
var Align_default = defineComponent({
|
|
2435
|
-
compatConfig: { MODE: 3 },
|
|
2436
|
-
name: "Align",
|
|
2437
|
-
props: alignProps,
|
|
2438
|
-
emits: ["align"],
|
|
2439
|
-
setup(props, _ref) {
|
|
2440
|
-
let { expose, slots } = _ref;
|
|
2441
|
-
const cacheRef = ref({});
|
|
2442
|
-
const nodeRef = ref();
|
|
2443
|
-
const [forceAlign, cancelForceAlign] = useBuffer_default(() => {
|
|
2444
|
-
const { disabled: latestDisabled, target: latestTarget, align: latestAlign, onAlign: latestOnAlign } = props;
|
|
2445
|
-
if (!latestDisabled && latestTarget && nodeRef.value) {
|
|
2446
|
-
const source = nodeRef.value;
|
|
2447
|
-
let result;
|
|
2448
|
-
const element = getElement(latestTarget);
|
|
2449
|
-
const point = getPoint(latestTarget);
|
|
2450
|
-
cacheRef.value.element = element;
|
|
2451
|
-
cacheRef.value.point = point;
|
|
2452
|
-
cacheRef.value.align = latestAlign;
|
|
2453
|
-
const { activeElement } = void 0;
|
|
2454
|
-
if (element && isVisible_default(element)) result = alignElement(source, element, latestAlign);
|
|
2455
|
-
else if (point) result = alignPoint(source, point, latestAlign);
|
|
2456
|
-
restoreFocus(activeElement, source);
|
|
2457
|
-
if (latestOnAlign && result) latestOnAlign(source, result);
|
|
2458
|
-
return true;
|
|
2459
|
-
}
|
|
2460
|
-
return false;
|
|
2461
|
-
}, computed(() => props.monitorBufferTime));
|
|
2462
|
-
ref({ cancel: () => {} });
|
|
2463
|
-
ref({ cancel: () => {} });
|
|
2464
|
-
watch(() => props.disabled, (disabled) => {
|
|
2465
|
-
if (!disabled) forceAlign();
|
|
2466
|
-
else cancelForceAlign();
|
|
2467
|
-
}, {
|
|
2468
|
-
immediate: true,
|
|
2469
|
-
flush: "post"
|
|
2470
|
-
});
|
|
2471
|
-
const winResizeRef = ref(null);
|
|
2472
|
-
watch(() => props.monitorWindowResize, (monitorWindowResize) => {
|
|
2473
|
-
if (monitorWindowResize) {
|
|
2474
|
-
if (!winResizeRef.value) winResizeRef.value = addEventListenerWrap(void 0, "resize", forceAlign);
|
|
2475
|
-
} else if (winResizeRef.value) {
|
|
2476
|
-
winResizeRef.value.remove();
|
|
2477
|
-
winResizeRef.value = null;
|
|
2478
|
-
}
|
|
2479
|
-
}, { flush: "post" });
|
|
2480
|
-
expose({ forceAlign: () => forceAlign(true) });
|
|
2481
|
-
return () => {
|
|
2482
|
-
const child = slots === null || slots === void 0 ? void 0 : slots.default();
|
|
2483
|
-
if (child) return cloneElement(child[0], { ref: nodeRef }, true, true);
|
|
2484
|
-
return null;
|
|
2485
|
-
};
|
|
2486
|
-
}
|
|
2487
|
-
});
|
|
2488
|
-
//#endregion
|
|
2489
|
-
//#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
|
|
2490
|
-
var PopupInner_default = defineComponent({
|
|
2491
|
-
compatConfig: { MODE: 3 },
|
|
2492
|
-
name: "PopupInner",
|
|
2493
|
-
inheritAttrs: false,
|
|
2494
|
-
props: innerProps,
|
|
2495
|
-
emits: [
|
|
2496
|
-
"mouseenter",
|
|
2497
|
-
"mouseleave",
|
|
2498
|
-
"mousedown",
|
|
2499
|
-
"touchstart",
|
|
2500
|
-
"align"
|
|
2501
|
-
],
|
|
2502
|
-
setup(props, _ref) {
|
|
2503
|
-
let { expose, attrs, slots } = _ref;
|
|
2504
|
-
const alignRef = shallowRef();
|
|
2505
|
-
const elementRef = shallowRef();
|
|
2506
|
-
const alignedClassName = shallowRef();
|
|
2507
|
-
const [stretchStyle] = useStretchStyle_default(toRef(props, "stretch"));
|
|
2508
|
-
const visible = shallowRef(false);
|
|
2509
|
-
let timeoutId;
|
|
2510
|
-
watch(() => props.visible, (val) => {
|
|
2511
|
-
clearTimeout(timeoutId);
|
|
2512
|
-
if (val) timeoutId = setTimeout(() => {
|
|
2513
|
-
visible.value = props.visible;
|
|
2514
|
-
});
|
|
2515
|
-
else visible.value = false;
|
|
2516
|
-
}, { immediate: true });
|
|
2517
|
-
const [status, goNextStatus] = useVisibleStatus_default(visible);
|
|
2518
|
-
const prepareResolveRef = shallowRef();
|
|
2519
|
-
const getAlignTarget = () => {
|
|
2520
|
-
if (props.point) return props.point;
|
|
2521
|
-
return props.getRootDomNode;
|
|
2522
|
-
};
|
|
2523
|
-
const forceAlign = () => {
|
|
2524
|
-
var _a;
|
|
2525
|
-
(_a = alignRef.value) === null || _a === void 0 || _a.forceAlign();
|
|
2526
|
-
};
|
|
2527
|
-
const onInternalAlign = (popupDomNode, matchAlign) => {
|
|
2528
|
-
var _a;
|
|
2529
|
-
const nextAlignedClassName = props.getClassNameFromAlign(matchAlign);
|
|
2530
|
-
const preAlignedClassName = alignedClassName.value;
|
|
2531
|
-
if (alignedClassName.value !== nextAlignedClassName) alignedClassName.value = nextAlignedClassName;
|
|
2532
|
-
if (status.value === "align") {
|
|
2533
|
-
if (preAlignedClassName !== nextAlignedClassName) Promise.resolve().then(() => {
|
|
2534
|
-
forceAlign();
|
|
2535
|
-
});
|
|
2536
|
-
else goNextStatus(() => {
|
|
2537
|
-
var _a;
|
|
2538
|
-
(_a = prepareResolveRef.value) === null || _a === void 0 || _a.call(prepareResolveRef);
|
|
2539
|
-
});
|
|
2540
|
-
(_a = props.onAlign) === null || _a === void 0 || _a.call(props, popupDomNode, matchAlign);
|
|
2541
|
-
}
|
|
2542
|
-
};
|
|
2543
|
-
const motion = computed(() => {
|
|
2544
|
-
const m = typeof props.animation === "object" ? props.animation : getMotion$1(props);
|
|
2545
|
-
["onAfterEnter", "onAfterLeave"].forEach((eventName) => {
|
|
2546
|
-
const originFn = m[eventName];
|
|
2547
|
-
m[eventName] = (node) => {
|
|
2548
|
-
goNextStatus();
|
|
2549
|
-
status.value = "stable";
|
|
2550
|
-
originFn === null || originFn === void 0 || originFn(node);
|
|
2551
|
-
};
|
|
2552
|
-
});
|
|
2553
|
-
return m;
|
|
2554
|
-
});
|
|
2555
|
-
const onShowPrepare = () => {
|
|
2556
|
-
return new Promise((resolve) => {
|
|
2557
|
-
prepareResolveRef.value = resolve;
|
|
2558
|
-
});
|
|
2559
|
-
};
|
|
2560
|
-
watch([motion, status], () => {
|
|
2561
|
-
if (!motion.value && status.value === "motion") goNextStatus();
|
|
2562
|
-
}, { immediate: true });
|
|
2563
|
-
expose({
|
|
2564
|
-
forceAlign,
|
|
2565
|
-
getElement: () => {
|
|
2566
|
-
return elementRef.value.$el || elementRef.value;
|
|
2567
|
-
}
|
|
2568
|
-
});
|
|
2569
|
-
const alignDisabled = computed(() => {
|
|
2570
|
-
var _a;
|
|
2571
|
-
if (((_a = props.align) === null || _a === void 0 ? void 0 : _a.points) && (status.value === "align" || status.value === "stable")) return false;
|
|
2572
|
-
return true;
|
|
2573
|
-
});
|
|
2574
|
-
return () => {
|
|
2575
|
-
var _a;
|
|
2576
|
-
const { zIndex, align, prefixCls, destroyPopupOnHide, onMouseenter, onMouseleave, onTouchstart = () => {}, onMousedown } = props;
|
|
2577
|
-
const statusValue = status.value;
|
|
2578
|
-
const mergedStyle = [_extends(_extends({}, stretchStyle.value), {
|
|
2579
|
-
zIndex,
|
|
2580
|
-
opacity: statusValue === "motion" || statusValue === "stable" || !visible.value ? null : 0,
|
|
2581
|
-
pointerEvents: !visible.value && statusValue !== "stable" ? "none" : null
|
|
2582
|
-
}), attrs.style];
|
|
2583
|
-
let childNode = flattenChildren((_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots, { visible: props.visible }));
|
|
2584
|
-
if (childNode.length > 1) {
|
|
2585
|
-
childNode = createVNode("div", { "class": `${prefixCls}-content` }, [childNode]);
|
|
2586
|
-
}
|
|
2587
|
-
const mergedClassName = classNames(prefixCls, attrs.class, alignedClassName.value, !props.arrow && `${prefixCls}-arrow-hidden`);
|
|
2588
|
-
const transitionProps = visible.value || !props.visible ? getTransitionProps(motion.value.name, motion.value) : {};
|
|
2589
|
-
return createVNode(Transition, _objectSpread2$1(_objectSpread2$1({ "ref": elementRef }, transitionProps), {}, { "onBeforeEnter": onShowPrepare }), { default: () => {
|
|
2590
|
-
return !destroyPopupOnHide || props.visible ? withDirectives(createVNode(Align_default, {
|
|
2591
|
-
"target": getAlignTarget(),
|
|
2592
|
-
"key": "popup",
|
|
2593
|
-
"ref": alignRef,
|
|
2594
|
-
"monitorWindowResize": true,
|
|
2595
|
-
"disabled": alignDisabled.value,
|
|
2596
|
-
"align": align,
|
|
2597
|
-
"onAlign": onInternalAlign
|
|
2598
|
-
}, { default: () => createVNode("div", {
|
|
2599
|
-
"class": mergedClassName,
|
|
2600
|
-
"onMouseenter": onMouseenter,
|
|
2601
|
-
"onMouseleave": onMouseleave,
|
|
2602
|
-
"onMousedown": withModifiers(onMousedown, ["capture"]),
|
|
2603
|
-
[supportsPassive_default ? "onTouchstartPassive" : "onTouchstart"]: withModifiers(onTouchstart, ["capture"]),
|
|
2604
|
-
"style": mergedStyle
|
|
2605
|
-
}, [childNode]) }), [[vShow, visible.value]]) : null;
|
|
2606
|
-
} });
|
|
2607
|
-
};
|
|
2608
|
-
}
|
|
2609
|
-
});
|
|
2610
|
-
//#endregion
|
|
2611
|
-
//#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
|
|
2612
|
-
var Popup_default = defineComponent({
|
|
2613
|
-
compatConfig: { MODE: 3 },
|
|
2614
|
-
name: "Popup",
|
|
2615
|
-
inheritAttrs: false,
|
|
2616
|
-
props: popupProps,
|
|
2617
|
-
setup(props, _ref) {
|
|
2618
|
-
let { attrs, slots, expose } = _ref;
|
|
2619
|
-
const innerVisible = shallowRef(false);
|
|
2620
|
-
const inMobile = shallowRef(false);
|
|
2621
|
-
const popupRef = shallowRef();
|
|
2622
|
-
const rootRef = shallowRef();
|
|
2623
|
-
watch([() => props.visible, () => props.mobile], () => {
|
|
2624
|
-
innerVisible.value = props.visible;
|
|
2625
|
-
if (props.visible && props.mobile) inMobile.value = true;
|
|
2626
|
-
}, {
|
|
2627
|
-
immediate: true,
|
|
2628
|
-
flush: "post"
|
|
2629
|
-
});
|
|
2630
|
-
expose({
|
|
2631
|
-
forceAlign: () => {
|
|
2632
|
-
var _a;
|
|
2633
|
-
(_a = popupRef.value) === null || _a === void 0 || _a.forceAlign();
|
|
2634
|
-
},
|
|
2635
|
-
getElement: () => {
|
|
2636
|
-
var _a;
|
|
2637
|
-
return (_a = popupRef.value) === null || _a === void 0 ? void 0 : _a.getElement();
|
|
2638
|
-
}
|
|
2639
|
-
});
|
|
2640
|
-
return () => {
|
|
2641
|
-
const cloneProps = _extends(_extends(_extends({}, props), attrs), { visible: innerVisible.value });
|
|
2642
|
-
const popupNode = inMobile.value ? createVNode(MobilePopupInner_default, _objectSpread2$1(_objectSpread2$1({}, cloneProps), {}, {
|
|
2643
|
-
"mobile": props.mobile,
|
|
2644
|
-
"ref": popupRef
|
|
2645
|
-
}), { default: slots.default }) : createVNode(PopupInner_default, _objectSpread2$1(_objectSpread2$1({}, cloneProps), {}, { "ref": popupRef }), { default: slots.default });
|
|
2646
|
-
return createVNode("div", { "ref": rootRef }, [createVNode(Mask, cloneProps, null), popupNode]);
|
|
2647
|
-
};
|
|
2648
|
-
}
|
|
2649
|
-
});
|
|
2650
|
-
//#endregion
|
|
2651
|
-
//#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
|
|
2652
|
-
function isPointsEq(a1, a2, isAlignPoint) {
|
|
2653
|
-
if (isAlignPoint) return a1[0] === a2[0];
|
|
2654
|
-
return a1[0] === a2[0] && a1[1] === a2[1];
|
|
2655
|
-
}
|
|
2656
|
-
function getAlignFromPlacement(builtinPlacements, placementStr, align) {
|
|
2657
|
-
const baseAlign = builtinPlacements[placementStr] || {};
|
|
2658
|
-
return _extends(_extends({}, baseAlign), align);
|
|
2659
|
-
}
|
|
2660
|
-
function getAlignPopupClassName(builtinPlacements, prefixCls, align, isAlignPoint) {
|
|
2661
|
-
const { points } = align;
|
|
2662
|
-
const placements = Object.keys(builtinPlacements);
|
|
2663
|
-
for (let i = 0; i < placements.length; i += 1) {
|
|
2664
|
-
const placement = placements[i];
|
|
2665
|
-
if (isPointsEq(builtinPlacements[placement].points, points, isAlignPoint)) return `${prefixCls}-placement-${placement}`;
|
|
2666
|
-
}
|
|
2667
|
-
return "";
|
|
2668
|
-
}
|
|
2669
|
-
//#endregion
|
|
2670
|
-
//#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
|
|
2671
|
-
var BaseMixin_default = { methods: {
|
|
2672
|
-
setState() {
|
|
2673
|
-
let state = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
2674
|
-
let callback = arguments.length > 1 ? arguments[1] : void 0;
|
|
2675
|
-
let newState = typeof state === "function" ? state(this.$data, this.$props) : state;
|
|
2676
|
-
if (this.getDerivedStateFromProps) {
|
|
2677
|
-
const s = this.getDerivedStateFromProps(getOptionProps(this), _extends(_extends({}, this.$data), newState));
|
|
2678
|
-
if (s === null) return;
|
|
2679
|
-
else newState = _extends(_extends({}, newState), s || {});
|
|
2680
|
-
}
|
|
2681
|
-
_extends(this.$data, newState);
|
|
2682
|
-
if (this._.isMounted) this.$forceUpdate();
|
|
2683
|
-
nextTick(() => {
|
|
2684
|
-
callback && callback();
|
|
2685
|
-
});
|
|
2686
|
-
},
|
|
2687
|
-
__emit() {
|
|
2688
|
-
const args = [].slice.call(arguments, 0);
|
|
2689
|
-
let eventName = args[0];
|
|
2690
|
-
eventName = `on${eventName[0].toUpperCase()}${eventName.substring(1)}`;
|
|
2691
|
-
const event = this.$props[eventName] || this.$attrs[eventName];
|
|
2692
|
-
if (args.length && event) {
|
|
2693
|
-
if (Array.isArray(event)) for (let i = 0, l = event.length; i < l; i++) event[i](...args.slice(1));
|
|
2694
|
-
else event(...args.slice(1));
|
|
2695
|
-
}
|
|
2696
|
-
}
|
|
2697
|
-
} };
|
|
2698
|
-
//#endregion
|
|
2699
|
-
//#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
|
|
2700
|
-
var ALL_HANDLERS = [
|
|
2701
|
-
"onClick",
|
|
2702
|
-
"onMousedown",
|
|
2703
|
-
"onTouchstart",
|
|
2704
|
-
"onMouseenter",
|
|
2705
|
-
"onMouseleave",
|
|
2706
|
-
"onFocus",
|
|
2707
|
-
"onBlur",
|
|
2708
|
-
"onContextmenu"
|
|
2709
|
-
];
|
|
2710
|
-
//#endregion
|
|
2711
|
-
//#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
|
|
2712
|
-
var vc_trigger_default = defineComponent({
|
|
2713
|
-
compatConfig: { MODE: 3 },
|
|
2714
|
-
name: "Trigger",
|
|
2715
|
-
mixins: [BaseMixin_default],
|
|
2716
|
-
inheritAttrs: false,
|
|
2717
|
-
props: triggerProps(),
|
|
2718
|
-
setup(props) {
|
|
2719
|
-
const align = computed(() => {
|
|
2720
|
-
const { popupPlacement, popupAlign, builtinPlacements } = props;
|
|
2721
|
-
if (popupPlacement && builtinPlacements) return getAlignFromPlacement(builtinPlacements, popupPlacement, popupAlign);
|
|
2722
|
-
return popupAlign;
|
|
2723
|
-
});
|
|
2724
|
-
const popupRef = shallowRef(null);
|
|
2725
|
-
const setPopupRef = (val) => {
|
|
2726
|
-
popupRef.value = val;
|
|
2727
|
-
};
|
|
2728
|
-
return {
|
|
2729
|
-
vcTriggerContext: inject("vcTriggerContext", {}),
|
|
2730
|
-
popupRef,
|
|
2731
|
-
setPopupRef,
|
|
2732
|
-
triggerRef: shallowRef(null),
|
|
2733
|
-
align,
|
|
2734
|
-
focusTime: null,
|
|
2735
|
-
clickOutsideHandler: null,
|
|
2736
|
-
contextmenuOutsideHandler1: null,
|
|
2737
|
-
contextmenuOutsideHandler2: null,
|
|
2738
|
-
touchOutsideHandler: null,
|
|
2739
|
-
attachId: null,
|
|
2740
|
-
delayTimer: null,
|
|
2741
|
-
hasPopupMouseDown: false,
|
|
2742
|
-
preClickTime: null,
|
|
2743
|
-
preTouchTime: null,
|
|
2744
|
-
mouseDownTimeout: null,
|
|
2745
|
-
childOriginEvents: {}
|
|
2746
|
-
};
|
|
2747
|
-
},
|
|
2748
|
-
data() {
|
|
2749
|
-
const props = this.$props;
|
|
2750
|
-
let popupVisible;
|
|
2751
|
-
if (this.popupVisible !== void 0) popupVisible = !!props.popupVisible;
|
|
2752
|
-
else popupVisible = !!props.defaultPopupVisible;
|
|
2753
|
-
ALL_HANDLERS.forEach((h) => {
|
|
2754
|
-
this[`fire${h}`] = (e) => {
|
|
2755
|
-
this.fireEvents(h, e);
|
|
2756
|
-
};
|
|
2757
|
-
});
|
|
2758
|
-
return {
|
|
2759
|
-
prevPopupVisible: popupVisible,
|
|
2760
|
-
sPopupVisible: popupVisible,
|
|
2761
|
-
point: null
|
|
2762
|
-
};
|
|
2763
|
-
},
|
|
2764
|
-
watch: { popupVisible(val) {
|
|
2765
|
-
if (val !== void 0) {
|
|
2766
|
-
this.prevPopupVisible = this.sPopupVisible;
|
|
2767
|
-
this.sPopupVisible = val;
|
|
2768
|
-
}
|
|
2769
|
-
} },
|
|
2770
|
-
created() {
|
|
2771
|
-
provide("vcTriggerContext", {
|
|
2772
|
-
onPopupMouseDown: this.onPopupMouseDown,
|
|
2773
|
-
onPopupMouseenter: this.onPopupMouseenter,
|
|
2774
|
-
onPopupMouseleave: this.onPopupMouseleave
|
|
2775
|
-
});
|
|
2776
|
-
useProvidePortal(this);
|
|
2777
|
-
},
|
|
2778
|
-
deactivated() {
|
|
2779
|
-
this.setPopupVisible(false);
|
|
2780
|
-
},
|
|
2781
|
-
mounted() {
|
|
2782
|
-
this.$nextTick(() => {
|
|
2783
|
-
this.updatedCal();
|
|
2784
|
-
});
|
|
2785
|
-
},
|
|
2786
|
-
updated() {
|
|
2787
|
-
this.$nextTick(() => {
|
|
2788
|
-
this.updatedCal();
|
|
2789
|
-
});
|
|
2790
|
-
},
|
|
2791
|
-
beforeUnmount() {
|
|
2792
|
-
this.clearDelayTimer();
|
|
2793
|
-
this.clearOutsideHandler();
|
|
2794
|
-
clearTimeout(this.mouseDownTimeout);
|
|
2795
|
-
wrapperRaf.cancel(this.attachId);
|
|
2796
|
-
},
|
|
2797
|
-
methods: {
|
|
2798
|
-
updatedCal() {
|
|
2799
|
-
const props = this.$props;
|
|
2800
|
-
if (this.$data.sPopupVisible) {
|
|
2801
|
-
let currentDocument;
|
|
2802
|
-
if (!this.clickOutsideHandler && (this.isClickToHide() || this.isContextmenuToShow())) {
|
|
2803
|
-
currentDocument = props.getDocument(this.getRootDomNode());
|
|
2804
|
-
this.clickOutsideHandler = addEventListenerWrap(currentDocument, "mousedown", this.onDocumentClick);
|
|
2805
|
-
}
|
|
2806
|
-
if (!this.touchOutsideHandler) {
|
|
2807
|
-
currentDocument = currentDocument || props.getDocument(this.getRootDomNode());
|
|
2808
|
-
this.touchOutsideHandler = addEventListenerWrap(currentDocument, "touchstart", this.onDocumentClick, supportsPassive_default ? { passive: false } : false);
|
|
2809
|
-
}
|
|
2810
|
-
if (!this.contextmenuOutsideHandler1 && this.isContextmenuToShow()) {
|
|
2811
|
-
currentDocument = currentDocument || props.getDocument(this.getRootDomNode());
|
|
2812
|
-
this.contextmenuOutsideHandler1 = addEventListenerWrap(currentDocument, "scroll", this.onContextmenuClose);
|
|
2813
|
-
}
|
|
2814
|
-
if (!this.contextmenuOutsideHandler2 && this.isContextmenuToShow()) this.contextmenuOutsideHandler2 = addEventListenerWrap(void 0, "blur", this.onContextmenuClose);
|
|
2815
|
-
} else this.clearOutsideHandler();
|
|
2816
|
-
},
|
|
2817
|
-
onMouseenter(e) {
|
|
2818
|
-
const { mouseEnterDelay } = this.$props;
|
|
2819
|
-
this.fireEvents("onMouseenter", e);
|
|
2820
|
-
this.delaySetPopupVisible(true, mouseEnterDelay, mouseEnterDelay ? null : e);
|
|
2821
|
-
},
|
|
2822
|
-
onMouseMove(e) {
|
|
2823
|
-
this.fireEvents("onMousemove", e);
|
|
2824
|
-
this.setPoint(e);
|
|
2825
|
-
},
|
|
2826
|
-
onMouseleave(e) {
|
|
2827
|
-
this.fireEvents("onMouseleave", e);
|
|
2828
|
-
this.delaySetPopupVisible(false, this.$props.mouseLeaveDelay);
|
|
2829
|
-
},
|
|
2830
|
-
onPopupMouseenter() {
|
|
2831
|
-
const { vcTriggerContext = {} } = this;
|
|
2832
|
-
if (vcTriggerContext.onPopupMouseenter) vcTriggerContext.onPopupMouseenter();
|
|
2833
|
-
this.clearDelayTimer();
|
|
2834
|
-
},
|
|
2835
|
-
onPopupMouseleave(e) {
|
|
2836
|
-
var _a;
|
|
2837
|
-
if (e && e.relatedTarget && !e.relatedTarget.setTimeout && contains((_a = this.popupRef) === null || _a === void 0 ? void 0 : _a.getElement(), e.relatedTarget)) return;
|
|
2838
|
-
if (this.isMouseLeaveToHide()) this.delaySetPopupVisible(false, this.$props.mouseLeaveDelay);
|
|
2839
|
-
const { vcTriggerContext = {} } = this;
|
|
2840
|
-
if (vcTriggerContext.onPopupMouseleave) vcTriggerContext.onPopupMouseleave(e);
|
|
2841
|
-
},
|
|
2842
|
-
onFocus(e) {
|
|
2843
|
-
this.fireEvents("onFocus", e);
|
|
2844
|
-
this.clearDelayTimer();
|
|
2845
|
-
if (this.isFocusToShow()) {
|
|
2846
|
-
this.focusTime = Date.now();
|
|
2847
|
-
this.delaySetPopupVisible(true, this.$props.focusDelay);
|
|
2848
|
-
}
|
|
2849
|
-
},
|
|
2850
|
-
onMousedown(e) {
|
|
2851
|
-
this.fireEvents("onMousedown", e);
|
|
2852
|
-
this.preClickTime = Date.now();
|
|
2853
|
-
},
|
|
2854
|
-
onTouchstart(e) {
|
|
2855
|
-
this.fireEvents("onTouchstart", e);
|
|
2856
|
-
this.preTouchTime = Date.now();
|
|
2857
|
-
},
|
|
2858
|
-
onBlur(e) {
|
|
2859
|
-
if (!contains(e.target, e.relatedTarget || (void 0).activeElement)) {
|
|
2860
|
-
this.fireEvents("onBlur", e);
|
|
2861
|
-
this.clearDelayTimer();
|
|
2862
|
-
if (this.isBlurToHide()) this.delaySetPopupVisible(false, this.$props.blurDelay);
|
|
2863
|
-
}
|
|
2864
|
-
},
|
|
2865
|
-
onContextmenu(e) {
|
|
2866
|
-
e.preventDefault();
|
|
2867
|
-
this.fireEvents("onContextmenu", e);
|
|
2868
|
-
this.setPopupVisible(true, e);
|
|
2869
|
-
},
|
|
2870
|
-
onContextmenuClose() {
|
|
2871
|
-
if (this.isContextmenuToShow()) this.close();
|
|
2872
|
-
},
|
|
2873
|
-
onClick(event) {
|
|
2874
|
-
this.fireEvents("onClick", event);
|
|
2875
|
-
if (this.focusTime) {
|
|
2876
|
-
let preTime;
|
|
2877
|
-
if (this.preClickTime && this.preTouchTime) preTime = Math.min(this.preClickTime, this.preTouchTime);
|
|
2878
|
-
else if (this.preClickTime) preTime = this.preClickTime;
|
|
2879
|
-
else if (this.preTouchTime) preTime = this.preTouchTime;
|
|
2880
|
-
if (Math.abs(preTime - this.focusTime) < 20) return;
|
|
2881
|
-
this.focusTime = 0;
|
|
2882
|
-
}
|
|
2883
|
-
this.preClickTime = 0;
|
|
2884
|
-
this.preTouchTime = 0;
|
|
2885
|
-
if (this.isClickToShow() && (this.isClickToHide() || this.isBlurToHide()) && event && event.preventDefault) event.preventDefault();
|
|
2886
|
-
if (event && event.domEvent) event.domEvent.preventDefault();
|
|
2887
|
-
const nextVisible = !this.$data.sPopupVisible;
|
|
2888
|
-
if (this.isClickToHide() && !nextVisible || nextVisible && this.isClickToShow()) this.setPopupVisible(!this.$data.sPopupVisible, event);
|
|
2889
|
-
},
|
|
2890
|
-
onPopupMouseDown() {
|
|
2891
|
-
const { vcTriggerContext = {} } = this;
|
|
2892
|
-
this.hasPopupMouseDown = true;
|
|
2893
|
-
clearTimeout(this.mouseDownTimeout);
|
|
2894
|
-
this.mouseDownTimeout = setTimeout(() => {
|
|
2895
|
-
this.hasPopupMouseDown = false;
|
|
2896
|
-
}, 0);
|
|
2897
|
-
if (vcTriggerContext.onPopupMouseDown) vcTriggerContext.onPopupMouseDown(...arguments);
|
|
2898
|
-
},
|
|
2899
|
-
onDocumentClick(event) {
|
|
2900
|
-
if (this.$props.mask && !this.$props.maskClosable) return;
|
|
2901
|
-
const target = event.target;
|
|
2902
|
-
const root = this.getRootDomNode();
|
|
2903
|
-
const popupNode = this.getPopupDomNode();
|
|
2904
|
-
if ((!contains(root, target) || this.isContextMenuOnly()) && !contains(popupNode, target) && !this.hasPopupMouseDown) this.delaySetPopupVisible(false, .1);
|
|
2905
|
-
},
|
|
2906
|
-
getPopupDomNode() {
|
|
2907
|
-
var _a;
|
|
2908
|
-
return ((_a = this.popupRef) === null || _a === void 0 ? void 0 : _a.getElement()) || null;
|
|
2909
|
-
},
|
|
2910
|
-
getRootDomNode() {
|
|
2911
|
-
var _a, _b, _c, _d;
|
|
2912
|
-
const { getTriggerDOMNode } = this.$props;
|
|
2913
|
-
if (getTriggerDOMNode) {
|
|
2914
|
-
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);
|
|
2915
|
-
return findDOMNode(getTriggerDOMNode(domNode));
|
|
2916
|
-
}
|
|
2917
|
-
try {
|
|
2918
|
-
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);
|
|
2919
|
-
if (domNode) return domNode;
|
|
2920
|
-
} catch (err) {}
|
|
2921
|
-
return findDOMNode(this);
|
|
2922
|
-
},
|
|
2923
|
-
handleGetPopupClassFromAlign(align) {
|
|
2924
|
-
const className = [];
|
|
2925
|
-
const { popupPlacement, builtinPlacements, prefixCls, alignPoint, getPopupClassNameFromAlign } = this.$props;
|
|
2926
|
-
if (popupPlacement && builtinPlacements) className.push(getAlignPopupClassName(builtinPlacements, prefixCls, align, alignPoint));
|
|
2927
|
-
if (getPopupClassNameFromAlign) className.push(getPopupClassNameFromAlign(align));
|
|
2928
|
-
return className.join(" ");
|
|
2929
|
-
},
|
|
2930
|
-
getPopupAlign() {
|
|
2931
|
-
const { popupPlacement, popupAlign, builtinPlacements } = this.$props;
|
|
2932
|
-
if (popupPlacement && builtinPlacements) return getAlignFromPlacement(builtinPlacements, popupPlacement, popupAlign);
|
|
2933
|
-
return popupAlign;
|
|
2934
|
-
},
|
|
2935
|
-
getComponent() {
|
|
2936
|
-
const mouseProps = {};
|
|
2937
|
-
if (this.isMouseEnterToShow()) mouseProps.onMouseenter = this.onPopupMouseenter;
|
|
2938
|
-
if (this.isMouseLeaveToHide()) mouseProps.onMouseleave = this.onPopupMouseleave;
|
|
2939
|
-
mouseProps.onMousedown = this.onPopupMouseDown;
|
|
2940
|
-
mouseProps[supportsPassive_default ? "onTouchstartPassive" : "onTouchstart"] = this.onPopupMouseDown;
|
|
2941
|
-
const { handleGetPopupClassFromAlign, getRootDomNode, $attrs } = this;
|
|
2942
|
-
const { prefixCls, destroyPopupOnHide, popupClassName, popupAnimation, popupTransitionName, popupStyle, mask, maskAnimation, maskTransitionName, zIndex, stretch, alignPoint, mobile, arrow, forceRender } = this.$props;
|
|
2943
|
-
const { sPopupVisible, point } = this.$data;
|
|
2944
|
-
const popupProps = _extends(_extends({
|
|
2945
|
-
prefixCls,
|
|
2946
|
-
arrow,
|
|
2947
|
-
destroyPopupOnHide,
|
|
2948
|
-
visible: sPopupVisible,
|
|
2949
|
-
point: alignPoint ? point : null,
|
|
2950
|
-
align: this.align,
|
|
2951
|
-
animation: popupAnimation,
|
|
2952
|
-
getClassNameFromAlign: handleGetPopupClassFromAlign,
|
|
2953
|
-
stretch,
|
|
2954
|
-
getRootDomNode,
|
|
2955
|
-
mask,
|
|
2956
|
-
zIndex,
|
|
2957
|
-
transitionName: popupTransitionName,
|
|
2958
|
-
maskAnimation,
|
|
2959
|
-
maskTransitionName,
|
|
2960
|
-
class: popupClassName,
|
|
2961
|
-
style: popupStyle,
|
|
2962
|
-
onAlign: $attrs.onPopupAlign || noop$1
|
|
2963
|
-
}, mouseProps), {
|
|
2964
|
-
ref: this.setPopupRef,
|
|
2965
|
-
mobile,
|
|
2966
|
-
forceRender
|
|
2967
|
-
});
|
|
2968
|
-
return createVNode(Popup_default, popupProps, { default: this.$slots.popup || (() => getComponent(this, "popup")) });
|
|
2969
|
-
},
|
|
2970
|
-
attachParent(popupContainer) {
|
|
2971
|
-
wrapperRaf.cancel(this.attachId);
|
|
2972
|
-
const { getPopupContainer, getDocument } = this.$props;
|
|
2973
|
-
const domNode = this.getRootDomNode();
|
|
2974
|
-
let mountNode;
|
|
2975
|
-
if (!getPopupContainer) mountNode = getDocument(this.getRootDomNode()).body;
|
|
2976
|
-
else if (domNode || getPopupContainer.length === 0) mountNode = getPopupContainer(domNode);
|
|
2977
|
-
if (mountNode) mountNode.appendChild(popupContainer);
|
|
2978
|
-
else this.attachId = wrapperRaf(() => {
|
|
2979
|
-
this.attachParent(popupContainer);
|
|
2980
|
-
});
|
|
2981
|
-
},
|
|
2982
|
-
getContainer() {
|
|
2983
|
-
const { $props: props } = this;
|
|
2984
|
-
const { getDocument } = props;
|
|
2985
|
-
const popupContainer = getDocument(this.getRootDomNode()).createElement("div");
|
|
2986
|
-
popupContainer.style.position = "absolute";
|
|
2987
|
-
popupContainer.style.top = "0";
|
|
2988
|
-
popupContainer.style.left = "0";
|
|
2989
|
-
popupContainer.style.width = "100%";
|
|
2990
|
-
this.attachParent(popupContainer);
|
|
2991
|
-
return popupContainer;
|
|
2992
|
-
},
|
|
2993
|
-
setPopupVisible(sPopupVisible, event) {
|
|
2994
|
-
const { alignPoint, sPopupVisible: prevPopupVisible, onPopupVisibleChange } = this;
|
|
2995
|
-
this.clearDelayTimer();
|
|
2996
|
-
if (prevPopupVisible !== sPopupVisible) {
|
|
2997
|
-
if (!hasProp(this, "popupVisible")) this.setState({
|
|
2998
|
-
sPopupVisible,
|
|
2999
|
-
prevPopupVisible
|
|
3000
|
-
});
|
|
3001
|
-
onPopupVisibleChange && onPopupVisibleChange(sPopupVisible);
|
|
3002
|
-
}
|
|
3003
|
-
if (alignPoint && event && sPopupVisible) this.setPoint(event);
|
|
3004
|
-
},
|
|
3005
|
-
setPoint(point) {
|
|
3006
|
-
const { alignPoint } = this.$props;
|
|
3007
|
-
if (!alignPoint || !point) return;
|
|
3008
|
-
this.setState({ point: {
|
|
3009
|
-
pageX: point.pageX,
|
|
3010
|
-
pageY: point.pageY
|
|
3011
|
-
} });
|
|
3012
|
-
},
|
|
3013
|
-
handlePortalUpdate() {
|
|
3014
|
-
if (this.prevPopupVisible !== this.sPopupVisible) this.afterPopupVisibleChange(this.sPopupVisible);
|
|
3015
|
-
},
|
|
3016
|
-
delaySetPopupVisible(visible, delayS, event) {
|
|
3017
|
-
const delay = delayS * 1e3;
|
|
3018
|
-
this.clearDelayTimer();
|
|
3019
|
-
if (delay) {
|
|
3020
|
-
const point = event ? {
|
|
3021
|
-
pageX: event.pageX,
|
|
3022
|
-
pageY: event.pageY
|
|
3023
|
-
} : null;
|
|
3024
|
-
this.delayTimer = setTimeout(() => {
|
|
3025
|
-
this.setPopupVisible(visible, point);
|
|
3026
|
-
this.clearDelayTimer();
|
|
3027
|
-
}, delay);
|
|
3028
|
-
} else this.setPopupVisible(visible, event);
|
|
3029
|
-
},
|
|
3030
|
-
clearDelayTimer() {
|
|
3031
|
-
if (this.delayTimer) {
|
|
3032
|
-
clearTimeout(this.delayTimer);
|
|
3033
|
-
this.delayTimer = null;
|
|
3034
|
-
}
|
|
3035
|
-
},
|
|
3036
|
-
clearOutsideHandler() {
|
|
3037
|
-
if (this.clickOutsideHandler) {
|
|
3038
|
-
this.clickOutsideHandler.remove();
|
|
3039
|
-
this.clickOutsideHandler = null;
|
|
3040
|
-
}
|
|
3041
|
-
if (this.contextmenuOutsideHandler1) {
|
|
3042
|
-
this.contextmenuOutsideHandler1.remove();
|
|
3043
|
-
this.contextmenuOutsideHandler1 = null;
|
|
3044
|
-
}
|
|
3045
|
-
if (this.contextmenuOutsideHandler2) {
|
|
3046
|
-
this.contextmenuOutsideHandler2.remove();
|
|
3047
|
-
this.contextmenuOutsideHandler2 = null;
|
|
3048
|
-
}
|
|
3049
|
-
if (this.touchOutsideHandler) {
|
|
3050
|
-
this.touchOutsideHandler.remove();
|
|
3051
|
-
this.touchOutsideHandler = null;
|
|
3052
|
-
}
|
|
3053
|
-
},
|
|
3054
|
-
createTwoChains(event) {
|
|
3055
|
-
let fn = () => {};
|
|
3056
|
-
const events = getEvents(this);
|
|
3057
|
-
if (this.childOriginEvents[event] && events[event]) return this[`fire${event}`];
|
|
3058
|
-
fn = this.childOriginEvents[event] || events[event] || fn;
|
|
3059
|
-
return fn;
|
|
3060
|
-
},
|
|
3061
|
-
isClickToShow() {
|
|
3062
|
-
const { action, showAction } = this.$props;
|
|
3063
|
-
return action.indexOf("click") !== -1 || showAction.indexOf("click") !== -1;
|
|
3064
|
-
},
|
|
3065
|
-
isContextMenuOnly() {
|
|
3066
|
-
const { action } = this.$props;
|
|
3067
|
-
return action === "contextmenu" || action.length === 1 && action[0] === "contextmenu";
|
|
3068
|
-
},
|
|
3069
|
-
isContextmenuToShow() {
|
|
3070
|
-
const { action, showAction } = this.$props;
|
|
3071
|
-
return action.indexOf("contextmenu") !== -1 || showAction.indexOf("contextmenu") !== -1;
|
|
3072
|
-
},
|
|
3073
|
-
isClickToHide() {
|
|
3074
|
-
const { action, hideAction } = this.$props;
|
|
3075
|
-
return action.indexOf("click") !== -1 || hideAction.indexOf("click") !== -1;
|
|
3076
|
-
},
|
|
3077
|
-
isMouseEnterToShow() {
|
|
3078
|
-
const { action, showAction } = this.$props;
|
|
3079
|
-
return action.indexOf("hover") !== -1 || showAction.indexOf("mouseenter") !== -1;
|
|
3080
|
-
},
|
|
3081
|
-
isMouseLeaveToHide() {
|
|
3082
|
-
const { action, hideAction } = this.$props;
|
|
3083
|
-
return action.indexOf("hover") !== -1 || hideAction.indexOf("mouseleave") !== -1;
|
|
3084
|
-
},
|
|
3085
|
-
isFocusToShow() {
|
|
3086
|
-
const { action, showAction } = this.$props;
|
|
3087
|
-
return action.indexOf("focus") !== -1 || showAction.indexOf("focus") !== -1;
|
|
3088
|
-
},
|
|
3089
|
-
isBlurToHide() {
|
|
3090
|
-
const { action, hideAction } = this.$props;
|
|
3091
|
-
return action.indexOf("focus") !== -1 || hideAction.indexOf("blur") !== -1;
|
|
3092
|
-
},
|
|
3093
|
-
forcePopupAlign() {
|
|
3094
|
-
var _a;
|
|
3095
|
-
if (this.$data.sPopupVisible) (_a = this.popupRef) === null || _a === void 0 || _a.forceAlign();
|
|
3096
|
-
},
|
|
3097
|
-
fireEvents(type, e) {
|
|
3098
|
-
if (this.childOriginEvents[type]) this.childOriginEvents[type](e);
|
|
3099
|
-
const event = this.$props[type] || this.$attrs[type];
|
|
3100
|
-
if (event) event(e);
|
|
3101
|
-
},
|
|
3102
|
-
close() {
|
|
3103
|
-
this.setPopupVisible(false);
|
|
3104
|
-
}
|
|
3105
|
-
},
|
|
3106
|
-
render() {
|
|
3107
|
-
const { $attrs } = this;
|
|
3108
|
-
const children = filterEmpty(getSlot(this));
|
|
3109
|
-
const { alignPoint, getPopupContainer } = this.$props;
|
|
3110
|
-
const child = children[0];
|
|
3111
|
-
this.childOriginEvents = getEvents(child);
|
|
3112
|
-
const newChildProps = { key: "trigger" };
|
|
3113
|
-
if (this.isContextmenuToShow()) newChildProps.onContextmenu = this.onContextmenu;
|
|
3114
|
-
else newChildProps.onContextmenu = this.createTwoChains("onContextmenu");
|
|
3115
|
-
if (this.isClickToHide() || this.isClickToShow()) {
|
|
3116
|
-
newChildProps.onClick = this.onClick;
|
|
3117
|
-
newChildProps.onMousedown = this.onMousedown;
|
|
3118
|
-
newChildProps[supportsPassive_default ? "onTouchstartPassive" : "onTouchstart"] = this.onTouchstart;
|
|
3119
|
-
} else {
|
|
3120
|
-
newChildProps.onClick = this.createTwoChains("onClick");
|
|
3121
|
-
newChildProps.onMousedown = this.createTwoChains("onMousedown");
|
|
3122
|
-
newChildProps[supportsPassive_default ? "onTouchstartPassive" : "onTouchstart"] = this.createTwoChains("onTouchstart");
|
|
3123
|
-
}
|
|
3124
|
-
if (this.isMouseEnterToShow()) {
|
|
3125
|
-
newChildProps.onMouseenter = this.onMouseenter;
|
|
3126
|
-
if (alignPoint) newChildProps.onMousemove = this.onMouseMove;
|
|
3127
|
-
} else newChildProps.onMouseenter = this.createTwoChains("onMouseenter");
|
|
3128
|
-
if (this.isMouseLeaveToHide()) newChildProps.onMouseleave = this.onMouseleave;
|
|
3129
|
-
else newChildProps.onMouseleave = this.createTwoChains("onMouseleave");
|
|
3130
|
-
if (this.isFocusToShow() || this.isBlurToHide()) {
|
|
3131
|
-
newChildProps.onFocus = this.onFocus;
|
|
3132
|
-
newChildProps.onBlur = this.onBlur;
|
|
3133
|
-
} else {
|
|
3134
|
-
newChildProps.onFocus = this.createTwoChains("onFocus");
|
|
3135
|
-
newChildProps.onBlur = (e) => {
|
|
3136
|
-
if (e && (!e.relatedTarget || !contains(e.target, e.relatedTarget))) this.createTwoChains("onBlur")(e);
|
|
3137
|
-
};
|
|
3138
|
-
}
|
|
3139
|
-
const childrenClassName = classNames(child && child.props && child.props.class, $attrs.class);
|
|
3140
|
-
if (childrenClassName) newChildProps.class = childrenClassName;
|
|
3141
|
-
const trigger = cloneElement(child, _extends(_extends({}, newChildProps), { ref: "triggerRef" }), true, true);
|
|
3142
|
-
const portal = createVNode(PortalWrapper_default, {
|
|
3143
|
-
"key": "portal",
|
|
3144
|
-
"getContainer": getPopupContainer && (() => getPopupContainer(this.getRootDomNode())),
|
|
3145
|
-
"didUpdate": this.handlePortalUpdate,
|
|
3146
|
-
"visible": this.$data.sPopupVisible
|
|
3147
|
-
}, { default: this.getComponent });
|
|
3148
|
-
return createVNode(Fragment, null, [trigger, portal]);
|
|
3149
|
-
}
|
|
3150
|
-
});
|
|
626
|
+
*/
|
|
627
|
+
function arrayPush(array, values) {
|
|
628
|
+
var index = -1, length = values.length, offset = array.length;
|
|
629
|
+
while (++index < length) array[offset + index] = values[index];
|
|
630
|
+
return array;
|
|
631
|
+
}
|
|
632
|
+
//#endregion
|
|
633
|
+
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js
|
|
634
|
+
/** Used as references for various `Number` constants. */
|
|
635
|
+
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
636
|
+
/** Used to detect unsigned integer values. */
|
|
637
|
+
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
638
|
+
/**
|
|
639
|
+
* Checks if `value` is a valid array-like index.
|
|
640
|
+
*
|
|
641
|
+
* @private
|
|
642
|
+
* @param {*} value The value to check.
|
|
643
|
+
* @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
|
|
644
|
+
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
|
|
645
|
+
*/
|
|
646
|
+
function isIndex(value, length) {
|
|
647
|
+
var type = typeof value;
|
|
648
|
+
length = length == null ? MAX_SAFE_INTEGER : length;
|
|
649
|
+
return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && value > -1 && value % 1 == 0 && value < length;
|
|
650
|
+
}
|
|
3151
651
|
//#endregion
|
|
3152
652
|
//#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/BaseInputInner.js
|
|
3153
|
-
var __rest$
|
|
653
|
+
var __rest$8 = function(s, e) {
|
|
3154
654
|
var t = {};
|
|
3155
655
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
3156
656
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") {
|
|
@@ -3229,8 +729,8 @@ var BaseInputInner = defineComponent({
|
|
|
3229
729
|
}
|
|
3230
730
|
});
|
|
3231
731
|
return () => {
|
|
3232
|
-
const { tag: Tag, value } = props, restProps = __rest$
|
|
3233
|
-
return createVNode(Tag, _objectSpread2
|
|
732
|
+
const { tag: Tag, value } = props, restProps = __rest$8(props, ["tag", "value"]);
|
|
733
|
+
return createVNode(Tag, _objectSpread2(_objectSpread2({}, restProps), {}, {
|
|
3234
734
|
"ref": inputRef,
|
|
3235
735
|
"value": value
|
|
3236
736
|
}), null);
|
|
@@ -3257,7 +757,7 @@ function styleObjectToString(style) {
|
|
|
3257
757
|
}
|
|
3258
758
|
//#endregion
|
|
3259
759
|
//#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/BaseInput.js
|
|
3260
|
-
var __rest$
|
|
760
|
+
var __rest$7 = function(s, e) {
|
|
3261
761
|
var t = {};
|
|
3262
762
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
3263
763
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") {
|
|
@@ -3384,8 +884,8 @@ var BaseInput = defineComponent({
|
|
|
3384
884
|
return props.style && typeof props.style !== "string" ? styleObjectToString(props.style) : props.style;
|
|
3385
885
|
});
|
|
3386
886
|
return () => {
|
|
3387
|
-
const { style, lazy } = props, restProps = __rest$
|
|
3388
|
-
return createVNode(BaseInputInner, _objectSpread2
|
|
887
|
+
const { style, lazy } = props, restProps = __rest$7(props, ["style", "lazy"]);
|
|
888
|
+
return createVNode(BaseInputInner, _objectSpread2(_objectSpread2(_objectSpread2({}, restProps), attrs), {}, {
|
|
3389
889
|
"style": styleString.value,
|
|
3390
890
|
"onInput": handleInput,
|
|
3391
891
|
"onChange": handleChange,
|
|
@@ -3425,7 +925,7 @@ var useInjectOverflowContext = () => {
|
|
|
3425
925
|
};
|
|
3426
926
|
//#endregion
|
|
3427
927
|
//#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-overflow/Item.js
|
|
3428
|
-
var __rest$
|
|
928
|
+
var __rest$6 = function(s, e) {
|
|
3429
929
|
var t = {};
|
|
3430
930
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
3431
931
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") {
|
|
@@ -3459,7 +959,7 @@ var Item_default = defineComponent({
|
|
|
3459
959
|
}
|
|
3460
960
|
return () => {
|
|
3461
961
|
var _a;
|
|
3462
|
-
const { prefixCls, invalidate, item, renderItem, responsive, registerSize, itemKey, display, order, component: Component = "div" } = props, restProps = __rest$
|
|
962
|
+
const { prefixCls, invalidate, item, renderItem, responsive, registerSize, itemKey, display, order, component: Component = "div" } = props, restProps = __rest$6(props, [
|
|
3463
963
|
"prefixCls",
|
|
3464
964
|
"invalidate",
|
|
3465
965
|
"item",
|
|
@@ -3490,7 +990,7 @@ var Item_default = defineComponent({
|
|
|
3490
990
|
let { offsetWidth } = _ref2;
|
|
3491
991
|
internalRegisterSize(offsetWidth);
|
|
3492
992
|
}
|
|
3493
|
-
}, { default: () => createVNode(Component, _objectSpread2
|
|
993
|
+
}, { default: () => createVNode(Component, _objectSpread2(_objectSpread2(_objectSpread2({
|
|
3494
994
|
"class": classNames(!invalidate && prefixCls),
|
|
3495
995
|
"style": overflowStyle
|
|
3496
996
|
}, overflowProps), restProps), {}, { "ref": itemNodeRef }), { default: () => [childNode] }) });
|
|
@@ -3499,7 +999,7 @@ var Item_default = defineComponent({
|
|
|
3499
999
|
});
|
|
3500
1000
|
//#endregion
|
|
3501
1001
|
//#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-overflow/RawItem.js
|
|
3502
|
-
var __rest$
|
|
1002
|
+
var __rest$5 = function(s, e) {
|
|
3503
1003
|
var t = {};
|
|
3504
1004
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
3505
1005
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") {
|
|
@@ -3529,18 +1029,18 @@ var RawItem_default = defineComponent({
|
|
|
3529
1029
|
return () => {
|
|
3530
1030
|
var _a;
|
|
3531
1031
|
if (!context.value) {
|
|
3532
|
-
const { component: Component = "div" } = props, restProps = __rest$
|
|
3533
|
-
return createVNode(Component, _objectSpread2
|
|
1032
|
+
const { component: Component = "div" } = props, restProps = __rest$5(props, ["component"]);
|
|
1033
|
+
return createVNode(Component, _objectSpread2(_objectSpread2({}, restProps), attrs), { default: () => [(_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots)] });
|
|
3534
1034
|
}
|
|
3535
|
-
const _b = context.value, { className: contextClassName } = _b, restContext = __rest$
|
|
3536
|
-
const { class: className } = attrs, restProps = __rest$
|
|
3537
|
-
return createVNode(OverflowContextProvider, { "value": null }, { default: () => [createVNode(Item_default, _objectSpread2
|
|
1035
|
+
const _b = context.value, { className: contextClassName } = _b, restContext = __rest$5(_b, ["className"]);
|
|
1036
|
+
const { class: className } = attrs, restProps = __rest$5(attrs, ["class"]);
|
|
1037
|
+
return createVNode(OverflowContextProvider, { "value": null }, { default: () => [createVNode(Item_default, _objectSpread2(_objectSpread2(_objectSpread2({ "class": classNames(contextClassName, className) }, restContext), restProps), props), slots)] });
|
|
3538
1038
|
};
|
|
3539
1039
|
}
|
|
3540
1040
|
});
|
|
3541
1041
|
//#endregion
|
|
3542
1042
|
//#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-overflow/Overflow.js
|
|
3543
|
-
var __rest$
|
|
1043
|
+
var __rest$4 = function(s, e) {
|
|
3544
1044
|
var t = {};
|
|
3545
1045
|
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
3546
1046
|
if (s != null && typeof Object.getOwnPropertySymbols === "function") {
|
|
@@ -3699,7 +1199,7 @@ var Overflow = defineComponent({
|
|
|
3699
1199
|
return () => {
|
|
3700
1200
|
const displayRest = restReady.value && !!omittedItems.value.length;
|
|
3701
1201
|
const { itemComponent, renderRawItem, renderRawRest, renderRest, prefixCls = "rc-overflow", suffix, component: Component = "div", id, onMousedown } = props;
|
|
3702
|
-
const { class: className, style } = attrs, restAttrs = __rest$
|
|
1202
|
+
const { class: className, style } = attrs, restAttrs = __rest$4(attrs, ["class", "style"]);
|
|
3703
1203
|
let suffixStyle = {};
|
|
3704
1204
|
if (suffixFixedStart.value !== null && isResponsive.value) suffixStyle = {
|
|
3705
1205
|
position: "absolute",
|
|
@@ -3726,7 +1226,7 @@ var Overflow = defineComponent({
|
|
|
3726
1226
|
}, { default: () => [renderRawItem(item, index)] });
|
|
3727
1227
|
} : (item, index) => {
|
|
3728
1228
|
const key = getKey(item, index);
|
|
3729
|
-
return createVNode(Item_default, _objectSpread2
|
|
1229
|
+
return createVNode(Item_default, _objectSpread2(_objectSpread2({}, itemSharedProps), {}, {
|
|
3730
1230
|
"order": index,
|
|
3731
1231
|
"key": key,
|
|
3732
1232
|
"item": item,
|
|
@@ -3745,11 +1245,11 @@ var Overflow = defineComponent({
|
|
|
3745
1245
|
};
|
|
3746
1246
|
if (!renderRawRest) {
|
|
3747
1247
|
const mergedRenderRest = renderRest || defaultRenderRest;
|
|
3748
|
-
restNode = () => createVNode(Item_default, _objectSpread2
|
|
1248
|
+
restNode = () => createVNode(Item_default, _objectSpread2(_objectSpread2({}, itemSharedProps), restContextProps), { default: () => typeof mergedRenderRest === "function" ? mergedRenderRest(omittedItems.value) : mergedRenderRest });
|
|
3749
1249
|
} else if (renderRawRest) restNode = () => createVNode(OverflowContextProvider, { "value": _extends(_extends({}, itemSharedProps), restContextProps) }, { default: () => [renderRawRest(omittedItems.value)] });
|
|
3750
1250
|
const overflowNode = () => {
|
|
3751
1251
|
var _a;
|
|
3752
|
-
return createVNode(Component, _objectSpread2
|
|
1252
|
+
return createVNode(Component, _objectSpread2({
|
|
3753
1253
|
"id": id,
|
|
3754
1254
|
"class": classNames(!invalidate.value && prefixCls, className),
|
|
3755
1255
|
"style": style,
|
|
@@ -3758,7 +1258,7 @@ var Overflow = defineComponent({
|
|
|
3758
1258
|
}, restAttrs), { default: () => [
|
|
3759
1259
|
mergedData.value.map(internalRenderItemNode),
|
|
3760
1260
|
showRest.value ? restNode() : null,
|
|
3761
|
-
suffix && createVNode(Item_default, _objectSpread2
|
|
1261
|
+
suffix && createVNode(Item_default, _objectSpread2(_objectSpread2({}, itemSharedProps), {}, {
|
|
3762
1262
|
"order": mergedDisplayCount.value,
|
|
3763
1263
|
"class": `${itemPrefixCls.value}-suffix`,
|
|
3764
1264
|
"registerSize": registerSuffixSize,
|
|
@@ -3782,30 +1282,6 @@ Overflow.INVALIDATE = INVALIDATE;
|
|
|
3782
1282
|
//#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-overflow/index.js
|
|
3783
1283
|
var vc_overflow_default = Overflow;
|
|
3784
1284
|
//#endregion
|
|
3785
|
-
//#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
|
|
3786
|
-
function useMergedState(defaultStateValue, option) {
|
|
3787
|
-
const { defaultValue, value = ref() } = option || {};
|
|
3788
|
-
let initValue = typeof defaultStateValue === "function" ? defaultStateValue() : defaultStateValue;
|
|
3789
|
-
if (value.value !== void 0) initValue = unref(value);
|
|
3790
|
-
if (defaultValue !== void 0) initValue = typeof defaultValue === "function" ? defaultValue() : defaultValue;
|
|
3791
|
-
const innerValue = ref(initValue);
|
|
3792
|
-
const mergedValue = ref(initValue);
|
|
3793
|
-
watchEffect(() => {
|
|
3794
|
-
let val = value.value !== void 0 ? value.value : innerValue.value;
|
|
3795
|
-
if (option.postState) val = option.postState(val);
|
|
3796
|
-
mergedValue.value = val;
|
|
3797
|
-
});
|
|
3798
|
-
function triggerChange(newValue) {
|
|
3799
|
-
const preVal = mergedValue.value;
|
|
3800
|
-
innerValue.value = newValue;
|
|
3801
|
-
if (toRaw(mergedValue.value) !== newValue && option.onChange) option.onChange(newValue, preVal);
|
|
3802
|
-
}
|
|
3803
|
-
watch(value, () => {
|
|
3804
|
-
innerValue.value = value.value;
|
|
3805
|
-
});
|
|
3806
|
-
return [mergedValue, triggerChange];
|
|
3807
|
-
}
|
|
3808
|
-
//#endregion
|
|
3809
1285
|
//#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/statusUtils.js
|
|
3810
1286
|
function getStatusClassNames(prefixCls, status, hasFeedback) {
|
|
3811
1287
|
return classNames({
|
|
@@ -4659,838 +2135,6 @@ var genCollapseMotion = (token) => ({ [token.componentCls]: {
|
|
|
4659
2135
|
}
|
|
4660
2136
|
} });
|
|
4661
2137
|
//#endregion
|
|
4662
|
-
//#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
|
|
4663
|
-
var autoAdjustOverflow = {
|
|
4664
|
-
adjustX: 1,
|
|
4665
|
-
adjustY: 1
|
|
4666
|
-
};
|
|
4667
|
-
var targetOffset$1 = [0, 0];
|
|
4668
|
-
var placements = {
|
|
4669
|
-
left: {
|
|
4670
|
-
points: ["cr", "cl"],
|
|
4671
|
-
overflow: autoAdjustOverflow,
|
|
4672
|
-
offset: [-4, 0],
|
|
4673
|
-
targetOffset: targetOffset$1
|
|
4674
|
-
},
|
|
4675
|
-
right: {
|
|
4676
|
-
points: ["cl", "cr"],
|
|
4677
|
-
overflow: autoAdjustOverflow,
|
|
4678
|
-
offset: [4, 0],
|
|
4679
|
-
targetOffset: targetOffset$1
|
|
4680
|
-
},
|
|
4681
|
-
top: {
|
|
4682
|
-
points: ["bc", "tc"],
|
|
4683
|
-
overflow: autoAdjustOverflow,
|
|
4684
|
-
offset: [0, -4],
|
|
4685
|
-
targetOffset: targetOffset$1
|
|
4686
|
-
},
|
|
4687
|
-
bottom: {
|
|
4688
|
-
points: ["tc", "bc"],
|
|
4689
|
-
overflow: autoAdjustOverflow,
|
|
4690
|
-
offset: [0, 4],
|
|
4691
|
-
targetOffset: targetOffset$1
|
|
4692
|
-
},
|
|
4693
|
-
topLeft: {
|
|
4694
|
-
points: ["bl", "tl"],
|
|
4695
|
-
overflow: autoAdjustOverflow,
|
|
4696
|
-
offset: [0, -4],
|
|
4697
|
-
targetOffset: targetOffset$1
|
|
4698
|
-
},
|
|
4699
|
-
leftTop: {
|
|
4700
|
-
points: ["tr", "tl"],
|
|
4701
|
-
overflow: autoAdjustOverflow,
|
|
4702
|
-
offset: [-4, 0],
|
|
4703
|
-
targetOffset: targetOffset$1
|
|
4704
|
-
},
|
|
4705
|
-
topRight: {
|
|
4706
|
-
points: ["br", "tr"],
|
|
4707
|
-
overflow: autoAdjustOverflow,
|
|
4708
|
-
offset: [0, -4],
|
|
4709
|
-
targetOffset: targetOffset$1
|
|
4710
|
-
},
|
|
4711
|
-
rightTop: {
|
|
4712
|
-
points: ["tl", "tr"],
|
|
4713
|
-
overflow: autoAdjustOverflow,
|
|
4714
|
-
offset: [4, 0],
|
|
4715
|
-
targetOffset: targetOffset$1
|
|
4716
|
-
},
|
|
4717
|
-
bottomRight: {
|
|
4718
|
-
points: ["tr", "br"],
|
|
4719
|
-
overflow: autoAdjustOverflow,
|
|
4720
|
-
offset: [0, 4],
|
|
4721
|
-
targetOffset: targetOffset$1
|
|
4722
|
-
},
|
|
4723
|
-
rightBottom: {
|
|
4724
|
-
points: ["bl", "br"],
|
|
4725
|
-
overflow: autoAdjustOverflow,
|
|
4726
|
-
offset: [4, 0],
|
|
4727
|
-
targetOffset: targetOffset$1
|
|
4728
|
-
},
|
|
4729
|
-
bottomLeft: {
|
|
4730
|
-
points: ["tl", "bl"],
|
|
4731
|
-
overflow: autoAdjustOverflow,
|
|
4732
|
-
offset: [0, 4],
|
|
4733
|
-
targetOffset: targetOffset$1
|
|
4734
|
-
},
|
|
4735
|
-
leftBottom: {
|
|
4736
|
-
points: ["br", "bl"],
|
|
4737
|
-
overflow: autoAdjustOverflow,
|
|
4738
|
-
offset: [-4, 0],
|
|
4739
|
-
targetOffset: targetOffset$1
|
|
4740
|
-
}
|
|
4741
|
-
};
|
|
4742
|
-
//#endregion
|
|
4743
|
-
//#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
|
|
4744
|
-
var tooltipContentProps = {
|
|
4745
|
-
prefixCls: String,
|
|
4746
|
-
id: String,
|
|
4747
|
-
overlayInnerStyle: PropTypes.any
|
|
4748
|
-
};
|
|
4749
|
-
var Content_default = defineComponent({
|
|
4750
|
-
compatConfig: { MODE: 3 },
|
|
4751
|
-
name: "TooltipContent",
|
|
4752
|
-
props: tooltipContentProps,
|
|
4753
|
-
setup(props, _ref) {
|
|
4754
|
-
let { slots } = _ref;
|
|
4755
|
-
return () => {
|
|
4756
|
-
var _a;
|
|
4757
|
-
return createVNode("div", {
|
|
4758
|
-
"class": `${props.prefixCls}-inner`,
|
|
4759
|
-
"id": props.id,
|
|
4760
|
-
"role": "tooltip",
|
|
4761
|
-
"style": props.overlayInnerStyle
|
|
4762
|
-
}, [(_a = slots.overlay) === null || _a === void 0 ? void 0 : _a.call(slots)]);
|
|
4763
|
-
};
|
|
4764
|
-
}
|
|
4765
|
-
});
|
|
4766
|
-
//#endregion
|
|
4767
|
-
//#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
|
|
4768
|
-
var __rest$4 = function(s, e) {
|
|
4769
|
-
var t = {};
|
|
4770
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
4771
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function") {
|
|
4772
|
-
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]];
|
|
4773
|
-
}
|
|
4774
|
-
return t;
|
|
4775
|
-
};
|
|
4776
|
-
function noop() {}
|
|
4777
|
-
//#endregion
|
|
4778
|
-
//#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
|
|
4779
|
-
var vc_tooltip_default = defineComponent({
|
|
4780
|
-
compatConfig: { MODE: 3 },
|
|
4781
|
-
name: "Tooltip",
|
|
4782
|
-
inheritAttrs: false,
|
|
4783
|
-
props: {
|
|
4784
|
-
trigger: PropTypes.any.def(["hover"]),
|
|
4785
|
-
defaultVisible: {
|
|
4786
|
-
type: Boolean,
|
|
4787
|
-
default: void 0
|
|
4788
|
-
},
|
|
4789
|
-
visible: {
|
|
4790
|
-
type: Boolean,
|
|
4791
|
-
default: void 0
|
|
4792
|
-
},
|
|
4793
|
-
placement: PropTypes.string.def("right"),
|
|
4794
|
-
transitionName: String,
|
|
4795
|
-
animation: PropTypes.any,
|
|
4796
|
-
afterVisibleChange: PropTypes.func.def(() => {}),
|
|
4797
|
-
overlayStyle: {
|
|
4798
|
-
type: Object,
|
|
4799
|
-
default: void 0
|
|
4800
|
-
},
|
|
4801
|
-
overlayClassName: String,
|
|
4802
|
-
prefixCls: PropTypes.string.def("rc-tooltip"),
|
|
4803
|
-
mouseEnterDelay: PropTypes.number.def(.1),
|
|
4804
|
-
mouseLeaveDelay: PropTypes.number.def(.1),
|
|
4805
|
-
getPopupContainer: Function,
|
|
4806
|
-
destroyTooltipOnHide: {
|
|
4807
|
-
type: Boolean,
|
|
4808
|
-
default: false
|
|
4809
|
-
},
|
|
4810
|
-
align: PropTypes.object.def(() => ({})),
|
|
4811
|
-
arrowContent: PropTypes.any.def(null),
|
|
4812
|
-
tipId: String,
|
|
4813
|
-
builtinPlacements: PropTypes.object,
|
|
4814
|
-
overlayInnerStyle: {
|
|
4815
|
-
type: Object,
|
|
4816
|
-
default: void 0
|
|
4817
|
-
},
|
|
4818
|
-
popupVisible: {
|
|
4819
|
-
type: Boolean,
|
|
4820
|
-
default: void 0
|
|
4821
|
-
},
|
|
4822
|
-
onVisibleChange: Function,
|
|
4823
|
-
onPopupAlign: Function,
|
|
4824
|
-
arrow: {
|
|
4825
|
-
type: Boolean,
|
|
4826
|
-
default: true
|
|
4827
|
-
}
|
|
4828
|
-
},
|
|
4829
|
-
setup(props, _ref) {
|
|
4830
|
-
let { slots, attrs, expose } = _ref;
|
|
4831
|
-
const triggerDOM = shallowRef();
|
|
4832
|
-
const getPopupElement = () => {
|
|
4833
|
-
const { prefixCls, tipId, overlayInnerStyle } = props;
|
|
4834
|
-
return [!!props.arrow ? createVNode("div", {
|
|
4835
|
-
"class": `${prefixCls}-arrow`,
|
|
4836
|
-
"key": "arrow"
|
|
4837
|
-
}, [getPropsSlot(slots, props, "arrowContent")]) : null, createVNode(Content_default, {
|
|
4838
|
-
"key": "content",
|
|
4839
|
-
"prefixCls": prefixCls,
|
|
4840
|
-
"id": tipId,
|
|
4841
|
-
"overlayInnerStyle": overlayInnerStyle
|
|
4842
|
-
}, { overlay: slots.overlay })];
|
|
4843
|
-
};
|
|
4844
|
-
const getPopupDomNode = () => {
|
|
4845
|
-
return triggerDOM.value.getPopupDomNode();
|
|
4846
|
-
};
|
|
4847
|
-
expose({
|
|
4848
|
-
getPopupDomNode,
|
|
4849
|
-
triggerDOM,
|
|
4850
|
-
forcePopupAlign: () => {
|
|
4851
|
-
var _a;
|
|
4852
|
-
return (_a = triggerDOM.value) === null || _a === void 0 ? void 0 : _a.forcePopupAlign();
|
|
4853
|
-
}
|
|
4854
|
-
});
|
|
4855
|
-
const destroyTooltip = shallowRef(false);
|
|
4856
|
-
const autoDestroy = shallowRef(false);
|
|
4857
|
-
watchEffect(() => {
|
|
4858
|
-
const { destroyTooltipOnHide } = props;
|
|
4859
|
-
if (typeof destroyTooltipOnHide === "boolean") destroyTooltip.value = destroyTooltipOnHide;
|
|
4860
|
-
else if (destroyTooltipOnHide && typeof destroyTooltipOnHide === "object") {
|
|
4861
|
-
const { keepParent } = destroyTooltipOnHide;
|
|
4862
|
-
destroyTooltip.value = keepParent === true;
|
|
4863
|
-
autoDestroy.value = keepParent === false;
|
|
4864
|
-
}
|
|
4865
|
-
});
|
|
4866
|
-
return () => {
|
|
4867
|
-
const { overlayClassName, trigger, mouseEnterDelay, mouseLeaveDelay, overlayStyle, prefixCls, afterVisibleChange, transitionName, animation, placement, align, destroyTooltipOnHide, defaultVisible } = props, restProps = __rest$4(props, [
|
|
4868
|
-
"overlayClassName",
|
|
4869
|
-
"trigger",
|
|
4870
|
-
"mouseEnterDelay",
|
|
4871
|
-
"mouseLeaveDelay",
|
|
4872
|
-
"overlayStyle",
|
|
4873
|
-
"prefixCls",
|
|
4874
|
-
"afterVisibleChange",
|
|
4875
|
-
"transitionName",
|
|
4876
|
-
"animation",
|
|
4877
|
-
"placement",
|
|
4878
|
-
"align",
|
|
4879
|
-
"destroyTooltipOnHide",
|
|
4880
|
-
"defaultVisible"
|
|
4881
|
-
]);
|
|
4882
|
-
const extraProps = _extends({}, restProps);
|
|
4883
|
-
if (props.visible !== void 0) extraProps.popupVisible = props.visible;
|
|
4884
|
-
const triggerProps = _extends(_extends(_extends({
|
|
4885
|
-
popupClassName: overlayClassName,
|
|
4886
|
-
prefixCls,
|
|
4887
|
-
action: trigger,
|
|
4888
|
-
builtinPlacements: placements,
|
|
4889
|
-
popupPlacement: placement,
|
|
4890
|
-
popupAlign: align,
|
|
4891
|
-
afterPopupVisibleChange: afterVisibleChange,
|
|
4892
|
-
popupTransitionName: transitionName,
|
|
4893
|
-
popupAnimation: animation,
|
|
4894
|
-
defaultPopupVisible: defaultVisible,
|
|
4895
|
-
destroyPopupOnHide: destroyTooltip.value,
|
|
4896
|
-
autoDestroy: autoDestroy.value,
|
|
4897
|
-
mouseLeaveDelay,
|
|
4898
|
-
popupStyle: overlayStyle,
|
|
4899
|
-
mouseEnterDelay
|
|
4900
|
-
}, extraProps), attrs), {
|
|
4901
|
-
onPopupVisibleChange: props.onVisibleChange || noop,
|
|
4902
|
-
onPopupAlign: props.onPopupAlign || noop,
|
|
4903
|
-
ref: triggerDOM,
|
|
4904
|
-
arrow: !!props.arrow,
|
|
4905
|
-
popup: getPopupElement()
|
|
4906
|
-
});
|
|
4907
|
-
return createVNode(vc_trigger_default, triggerProps, { default: slots.default });
|
|
4908
|
-
};
|
|
4909
|
-
}
|
|
4910
|
-
});
|
|
4911
|
-
//#endregion
|
|
4912
|
-
//#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
|
|
4913
|
-
var abstractTooltipProps_default = (() => ({
|
|
4914
|
-
trigger: [String, Array],
|
|
4915
|
-
open: {
|
|
4916
|
-
type: Boolean,
|
|
4917
|
-
default: void 0
|
|
4918
|
-
},
|
|
4919
|
-
/** @deprecated Please use `open` instead. */
|
|
4920
|
-
visible: {
|
|
4921
|
-
type: Boolean,
|
|
4922
|
-
default: void 0
|
|
4923
|
-
},
|
|
4924
|
-
placement: String,
|
|
4925
|
-
color: String,
|
|
4926
|
-
transitionName: String,
|
|
4927
|
-
overlayStyle: objectType(),
|
|
4928
|
-
overlayInnerStyle: objectType(),
|
|
4929
|
-
overlayClassName: String,
|
|
4930
|
-
openClassName: String,
|
|
4931
|
-
prefixCls: String,
|
|
4932
|
-
mouseEnterDelay: Number,
|
|
4933
|
-
mouseLeaveDelay: Number,
|
|
4934
|
-
getPopupContainer: Function,
|
|
4935
|
-
/**@deprecated Please use `arrow={{ pointAtCenter: true }}` instead. */
|
|
4936
|
-
arrowPointAtCenter: {
|
|
4937
|
-
type: Boolean,
|
|
4938
|
-
default: void 0
|
|
4939
|
-
},
|
|
4940
|
-
arrow: {
|
|
4941
|
-
type: [Boolean, Object],
|
|
4942
|
-
default: true
|
|
4943
|
-
},
|
|
4944
|
-
autoAdjustOverflow: {
|
|
4945
|
-
type: [Boolean, Object],
|
|
4946
|
-
default: void 0
|
|
4947
|
-
},
|
|
4948
|
-
destroyTooltipOnHide: {
|
|
4949
|
-
type: Boolean,
|
|
4950
|
-
default: void 0
|
|
4951
|
-
},
|
|
4952
|
-
align: objectType(),
|
|
4953
|
-
builtinPlacements: objectType(),
|
|
4954
|
-
children: Array,
|
|
4955
|
-
/** @deprecated Please use `onOpenChange` instead. */
|
|
4956
|
-
onVisibleChange: Function,
|
|
4957
|
-
/** @deprecated Please use `onUpdate:open` instead. */
|
|
4958
|
-
"onUpdate:visible": Function,
|
|
4959
|
-
onOpenChange: Function,
|
|
4960
|
-
"onUpdate:open": Function
|
|
4961
|
-
}));
|
|
4962
|
-
//#endregion
|
|
4963
|
-
//#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
|
|
4964
|
-
var autoAdjustOverflowEnabled = {
|
|
4965
|
-
adjustX: 1,
|
|
4966
|
-
adjustY: 1
|
|
4967
|
-
};
|
|
4968
|
-
var autoAdjustOverflowDisabled = {
|
|
4969
|
-
adjustX: 0,
|
|
4970
|
-
adjustY: 0
|
|
4971
|
-
};
|
|
4972
|
-
var targetOffset = [0, 0];
|
|
4973
|
-
function getOverflowOptions(autoAdjustOverflow) {
|
|
4974
|
-
if (typeof autoAdjustOverflow === "boolean") return autoAdjustOverflow ? autoAdjustOverflowEnabled : autoAdjustOverflowDisabled;
|
|
4975
|
-
return _extends(_extends({}, autoAdjustOverflowDisabled), autoAdjustOverflow);
|
|
4976
|
-
}
|
|
4977
|
-
function getPlacements(config) {
|
|
4978
|
-
const { arrowWidth = 4, horizontalArrowShift = 16, verticalArrowShift = 8, autoAdjustOverflow, arrowPointAtCenter } = config;
|
|
4979
|
-
const placementMap = {
|
|
4980
|
-
left: {
|
|
4981
|
-
points: ["cr", "cl"],
|
|
4982
|
-
offset: [-4, 0]
|
|
4983
|
-
},
|
|
4984
|
-
right: {
|
|
4985
|
-
points: ["cl", "cr"],
|
|
4986
|
-
offset: [4, 0]
|
|
4987
|
-
},
|
|
4988
|
-
top: {
|
|
4989
|
-
points: ["bc", "tc"],
|
|
4990
|
-
offset: [0, -4]
|
|
4991
|
-
},
|
|
4992
|
-
bottom: {
|
|
4993
|
-
points: ["tc", "bc"],
|
|
4994
|
-
offset: [0, 4]
|
|
4995
|
-
},
|
|
4996
|
-
topLeft: {
|
|
4997
|
-
points: ["bl", "tc"],
|
|
4998
|
-
offset: [-(horizontalArrowShift + arrowWidth), -4]
|
|
4999
|
-
},
|
|
5000
|
-
leftTop: {
|
|
5001
|
-
points: ["tr", "cl"],
|
|
5002
|
-
offset: [-4, -(verticalArrowShift + arrowWidth)]
|
|
5003
|
-
},
|
|
5004
|
-
topRight: {
|
|
5005
|
-
points: ["br", "tc"],
|
|
5006
|
-
offset: [horizontalArrowShift + arrowWidth, -4]
|
|
5007
|
-
},
|
|
5008
|
-
rightTop: {
|
|
5009
|
-
points: ["tl", "cr"],
|
|
5010
|
-
offset: [4, -(verticalArrowShift + arrowWidth)]
|
|
5011
|
-
},
|
|
5012
|
-
bottomRight: {
|
|
5013
|
-
points: ["tr", "bc"],
|
|
5014
|
-
offset: [horizontalArrowShift + arrowWidth, 4]
|
|
5015
|
-
},
|
|
5016
|
-
rightBottom: {
|
|
5017
|
-
points: ["bl", "cr"],
|
|
5018
|
-
offset: [4, verticalArrowShift + arrowWidth]
|
|
5019
|
-
},
|
|
5020
|
-
bottomLeft: {
|
|
5021
|
-
points: ["tl", "bc"],
|
|
5022
|
-
offset: [-(horizontalArrowShift + arrowWidth), 4]
|
|
5023
|
-
},
|
|
5024
|
-
leftBottom: {
|
|
5025
|
-
points: ["br", "cl"],
|
|
5026
|
-
offset: [-4, verticalArrowShift + arrowWidth]
|
|
5027
|
-
}
|
|
5028
|
-
};
|
|
5029
|
-
Object.keys(placementMap).forEach((key) => {
|
|
5030
|
-
placementMap[key] = arrowPointAtCenter ? _extends(_extends({}, placementMap[key]), {
|
|
5031
|
-
overflow: getOverflowOptions(autoAdjustOverflow),
|
|
5032
|
-
targetOffset
|
|
5033
|
-
}) : _extends(_extends({}, placements[key]), { overflow: getOverflowOptions(autoAdjustOverflow) });
|
|
5034
|
-
placementMap[key].ignoreShake = true;
|
|
5035
|
-
});
|
|
5036
|
-
return placementMap;
|
|
5037
|
-
}
|
|
5038
|
-
//#endregion
|
|
5039
|
-
//#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
|
|
5040
|
-
function firstNotUndefined() {
|
|
5041
|
-
let arr = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
|
|
5042
|
-
for (let i = 0, len = arr.length; i < len; i++) if (arr[i] !== void 0) return arr[i];
|
|
5043
|
-
}
|
|
5044
|
-
//#endregion
|
|
5045
|
-
//#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
|
|
5046
|
-
var inverseColors = PresetColors.map((color) => `${color}-inverse`);
|
|
5047
|
-
var PresetStatusColorTypes = [
|
|
5048
|
-
"success",
|
|
5049
|
-
"processing",
|
|
5050
|
-
"error",
|
|
5051
|
-
"default",
|
|
5052
|
-
"warning"
|
|
5053
|
-
];
|
|
5054
|
-
/**
|
|
5055
|
-
* determine if the color keyword belongs to the `Ant Design` {@link PresetColors}.
|
|
5056
|
-
* @param color color to be judged
|
|
5057
|
-
* @param includeInverse whether to include reversed colors
|
|
5058
|
-
*/
|
|
5059
|
-
function isPresetColor(color) {
|
|
5060
|
-
if (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : true) return [...inverseColors, ...PresetColors].includes(color);
|
|
5061
|
-
return PresetColors.includes(color);
|
|
5062
|
-
}
|
|
5063
|
-
function isPresetStatusColor(color) {
|
|
5064
|
-
return PresetStatusColorTypes.includes(color);
|
|
5065
|
-
}
|
|
5066
|
-
//#endregion
|
|
5067
|
-
//#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
|
|
5068
|
-
function parseColor(prefixCls, color) {
|
|
5069
|
-
const isInternalColor = isPresetColor(color);
|
|
5070
|
-
const className = classNames({ [`${prefixCls}-${color}`]: color && isInternalColor });
|
|
5071
|
-
const overlayStyle = {};
|
|
5072
|
-
const arrowStyle = {};
|
|
5073
|
-
if (color && !isInternalColor) {
|
|
5074
|
-
overlayStyle.background = color;
|
|
5075
|
-
arrowStyle["--antd-arrow-background-color"] = color;
|
|
5076
|
-
}
|
|
5077
|
-
return {
|
|
5078
|
-
className,
|
|
5079
|
-
overlayStyle,
|
|
5080
|
-
arrowStyle
|
|
5081
|
-
};
|
|
5082
|
-
}
|
|
5083
|
-
//#endregion
|
|
5084
|
-
//#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
|
|
5085
|
-
function connectArrowCls(classList) {
|
|
5086
|
-
let showArrowCls = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
|
|
5087
|
-
return classList.map((cls) => `${showArrowCls}${cls}`).join(",");
|
|
5088
|
-
}
|
|
5089
|
-
function getArrowOffset(options) {
|
|
5090
|
-
const maxVerticalContentRadius = 8;
|
|
5091
|
-
const { sizePopupArrow, contentRadius, borderRadiusOuter, limitVerticalRadius } = options;
|
|
5092
|
-
const arrowInnerOffset = sizePopupArrow / 2 - Math.ceil(borderRadiusOuter * (Math.sqrt(2) - 1));
|
|
5093
|
-
const dropdownArrowOffset = (contentRadius > 12 ? contentRadius + 2 : 12) - arrowInnerOffset;
|
|
5094
|
-
return {
|
|
5095
|
-
dropdownArrowOffset,
|
|
5096
|
-
dropdownArrowOffsetVertical: limitVerticalRadius ? maxVerticalContentRadius - arrowInnerOffset : dropdownArrowOffset
|
|
5097
|
-
};
|
|
5098
|
-
}
|
|
5099
|
-
function getArrowStyle(token, options) {
|
|
5100
|
-
const { componentCls, sizePopupArrow, marginXXS, borderRadiusXS, borderRadiusOuter, boxShadowPopoverArrow } = token;
|
|
5101
|
-
const { colorBg, showArrowCls, contentRadius = token.borderRadiusLG, limitVerticalRadius } = options;
|
|
5102
|
-
const { dropdownArrowOffsetVertical, dropdownArrowOffset } = getArrowOffset({
|
|
5103
|
-
sizePopupArrow,
|
|
5104
|
-
contentRadius,
|
|
5105
|
-
borderRadiusOuter,
|
|
5106
|
-
limitVerticalRadius
|
|
5107
|
-
});
|
|
5108
|
-
const dropdownArrowDistance = sizePopupArrow / 2 + marginXXS;
|
|
5109
|
-
return { [componentCls]: {
|
|
5110
|
-
[`${componentCls}-arrow`]: [_extends(_extends({
|
|
5111
|
-
position: "absolute",
|
|
5112
|
-
zIndex: 1,
|
|
5113
|
-
display: "block"
|
|
5114
|
-
}, roundedArrow(sizePopupArrow, borderRadiusXS, borderRadiusOuter, colorBg, boxShadowPopoverArrow)), { "&:before": { background: colorBg } })],
|
|
5115
|
-
[[
|
|
5116
|
-
`&-placement-top ${componentCls}-arrow`,
|
|
5117
|
-
`&-placement-topLeft ${componentCls}-arrow`,
|
|
5118
|
-
`&-placement-topRight ${componentCls}-arrow`
|
|
5119
|
-
].join(",")]: {
|
|
5120
|
-
bottom: 0,
|
|
5121
|
-
transform: "translateY(100%) rotate(180deg)"
|
|
5122
|
-
},
|
|
5123
|
-
[`&-placement-top ${componentCls}-arrow`]: {
|
|
5124
|
-
left: {
|
|
5125
|
-
_skip_check_: true,
|
|
5126
|
-
value: "50%"
|
|
5127
|
-
},
|
|
5128
|
-
transform: "translateX(-50%) translateY(100%) rotate(180deg)"
|
|
5129
|
-
},
|
|
5130
|
-
[`&-placement-topLeft ${componentCls}-arrow`]: { left: {
|
|
5131
|
-
_skip_check_: true,
|
|
5132
|
-
value: dropdownArrowOffset
|
|
5133
|
-
} },
|
|
5134
|
-
[`&-placement-topRight ${componentCls}-arrow`]: { right: {
|
|
5135
|
-
_skip_check_: true,
|
|
5136
|
-
value: dropdownArrowOffset
|
|
5137
|
-
} },
|
|
5138
|
-
[[
|
|
5139
|
-
`&-placement-bottom ${componentCls}-arrow`,
|
|
5140
|
-
`&-placement-bottomLeft ${componentCls}-arrow`,
|
|
5141
|
-
`&-placement-bottomRight ${componentCls}-arrow`
|
|
5142
|
-
].join(",")]: {
|
|
5143
|
-
top: 0,
|
|
5144
|
-
transform: `translateY(-100%)`
|
|
5145
|
-
},
|
|
5146
|
-
[`&-placement-bottom ${componentCls}-arrow`]: {
|
|
5147
|
-
left: {
|
|
5148
|
-
_skip_check_: true,
|
|
5149
|
-
value: "50%"
|
|
5150
|
-
},
|
|
5151
|
-
transform: `translateX(-50%) translateY(-100%)`
|
|
5152
|
-
},
|
|
5153
|
-
[`&-placement-bottomLeft ${componentCls}-arrow`]: { left: {
|
|
5154
|
-
_skip_check_: true,
|
|
5155
|
-
value: dropdownArrowOffset
|
|
5156
|
-
} },
|
|
5157
|
-
[`&-placement-bottomRight ${componentCls}-arrow`]: { right: {
|
|
5158
|
-
_skip_check_: true,
|
|
5159
|
-
value: dropdownArrowOffset
|
|
5160
|
-
} },
|
|
5161
|
-
[[
|
|
5162
|
-
`&-placement-left ${componentCls}-arrow`,
|
|
5163
|
-
`&-placement-leftTop ${componentCls}-arrow`,
|
|
5164
|
-
`&-placement-leftBottom ${componentCls}-arrow`
|
|
5165
|
-
].join(",")]: {
|
|
5166
|
-
right: {
|
|
5167
|
-
_skip_check_: true,
|
|
5168
|
-
value: 0
|
|
5169
|
-
},
|
|
5170
|
-
transform: "translateX(100%) rotate(90deg)"
|
|
5171
|
-
},
|
|
5172
|
-
[`&-placement-left ${componentCls}-arrow`]: {
|
|
5173
|
-
top: {
|
|
5174
|
-
_skip_check_: true,
|
|
5175
|
-
value: "50%"
|
|
5176
|
-
},
|
|
5177
|
-
transform: "translateY(-50%) translateX(100%) rotate(90deg)"
|
|
5178
|
-
},
|
|
5179
|
-
[`&-placement-leftTop ${componentCls}-arrow`]: { top: dropdownArrowOffsetVertical },
|
|
5180
|
-
[`&-placement-leftBottom ${componentCls}-arrow`]: { bottom: dropdownArrowOffsetVertical },
|
|
5181
|
-
[[
|
|
5182
|
-
`&-placement-right ${componentCls}-arrow`,
|
|
5183
|
-
`&-placement-rightTop ${componentCls}-arrow`,
|
|
5184
|
-
`&-placement-rightBottom ${componentCls}-arrow`
|
|
5185
|
-
].join(",")]: {
|
|
5186
|
-
left: {
|
|
5187
|
-
_skip_check_: true,
|
|
5188
|
-
value: 0
|
|
5189
|
-
},
|
|
5190
|
-
transform: "translateX(-100%) rotate(-90deg)"
|
|
5191
|
-
},
|
|
5192
|
-
[`&-placement-right ${componentCls}-arrow`]: {
|
|
5193
|
-
top: {
|
|
5194
|
-
_skip_check_: true,
|
|
5195
|
-
value: "50%"
|
|
5196
|
-
},
|
|
5197
|
-
transform: "translateY(-50%) translateX(-100%) rotate(-90deg)"
|
|
5198
|
-
},
|
|
5199
|
-
[`&-placement-rightTop ${componentCls}-arrow`]: { top: dropdownArrowOffsetVertical },
|
|
5200
|
-
[`&-placement-rightBottom ${componentCls}-arrow`]: { bottom: dropdownArrowOffsetVertical },
|
|
5201
|
-
[connectArrowCls([
|
|
5202
|
-
`&-placement-topLeft`,
|
|
5203
|
-
`&-placement-top`,
|
|
5204
|
-
`&-placement-topRight`
|
|
5205
|
-
].map((cls) => cls += ":not(&-arrow-hidden)"), showArrowCls)]: { paddingBottom: dropdownArrowDistance },
|
|
5206
|
-
[connectArrowCls([
|
|
5207
|
-
`&-placement-bottomLeft`,
|
|
5208
|
-
`&-placement-bottom`,
|
|
5209
|
-
`&-placement-bottomRight`
|
|
5210
|
-
].map((cls) => cls += ":not(&-arrow-hidden)"), showArrowCls)]: { paddingTop: dropdownArrowDistance },
|
|
5211
|
-
[connectArrowCls([
|
|
5212
|
-
`&-placement-leftTop`,
|
|
5213
|
-
`&-placement-left`,
|
|
5214
|
-
`&-placement-leftBottom`
|
|
5215
|
-
].map((cls) => cls += ":not(&-arrow-hidden)"), showArrowCls)]: { paddingRight: {
|
|
5216
|
-
_skip_check_: true,
|
|
5217
|
-
value: dropdownArrowDistance
|
|
5218
|
-
} },
|
|
5219
|
-
[connectArrowCls([
|
|
5220
|
-
`&-placement-rightTop`,
|
|
5221
|
-
`&-placement-right`,
|
|
5222
|
-
`&-placement-rightBottom`
|
|
5223
|
-
].map((cls) => cls += ":not(&-arrow-hidden)"), showArrowCls)]: { paddingLeft: {
|
|
5224
|
-
_skip_check_: true,
|
|
5225
|
-
value: dropdownArrowDistance
|
|
5226
|
-
} }
|
|
5227
|
-
} };
|
|
5228
|
-
}
|
|
5229
|
-
//#endregion
|
|
5230
|
-
//#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
|
|
5231
|
-
var genTooltipStyle = (token) => {
|
|
5232
|
-
const { componentCls, tooltipMaxWidth, tooltipColor, tooltipBg, tooltipBorderRadius, zIndexPopup, controlHeight, boxShadowSecondary, paddingSM, paddingXS, tooltipRadiusOuter } = token;
|
|
5233
|
-
return [
|
|
5234
|
-
{ [componentCls]: _extends(_extends(_extends(_extends({}, resetComponent(token)), {
|
|
5235
|
-
position: "absolute",
|
|
5236
|
-
zIndex: zIndexPopup,
|
|
5237
|
-
display: "block",
|
|
5238
|
-
"&": [{ width: "max-content" }, { width: "intrinsic" }],
|
|
5239
|
-
maxWidth: tooltipMaxWidth,
|
|
5240
|
-
visibility: "visible",
|
|
5241
|
-
"&-hidden": { display: "none" },
|
|
5242
|
-
"--antd-arrow-background-color": tooltipBg,
|
|
5243
|
-
[`${componentCls}-inner`]: {
|
|
5244
|
-
minWidth: controlHeight,
|
|
5245
|
-
minHeight: controlHeight,
|
|
5246
|
-
padding: `${paddingSM / 2}px ${paddingXS}px`,
|
|
5247
|
-
color: tooltipColor,
|
|
5248
|
-
textAlign: "start",
|
|
5249
|
-
textDecoration: "none",
|
|
5250
|
-
wordWrap: "break-word",
|
|
5251
|
-
backgroundColor: tooltipBg,
|
|
5252
|
-
borderRadius: tooltipBorderRadius,
|
|
5253
|
-
boxShadow: boxShadowSecondary
|
|
5254
|
-
},
|
|
5255
|
-
[[
|
|
5256
|
-
`&-placement-left`,
|
|
5257
|
-
`&-placement-leftTop`,
|
|
5258
|
-
`&-placement-leftBottom`,
|
|
5259
|
-
`&-placement-right`,
|
|
5260
|
-
`&-placement-rightTop`,
|
|
5261
|
-
`&-placement-rightBottom`
|
|
5262
|
-
].join(",")]: { [`${componentCls}-inner`]: { borderRadius: Math.min(tooltipBorderRadius, 8) } },
|
|
5263
|
-
[`${componentCls}-content`]: { position: "relative" }
|
|
5264
|
-
}), genPresetColor(token, (colorKey, _ref) => {
|
|
5265
|
-
let { darkColor } = _ref;
|
|
5266
|
-
return { [`&${componentCls}-${colorKey}`]: {
|
|
5267
|
-
[`${componentCls}-inner`]: { backgroundColor: darkColor },
|
|
5268
|
-
[`${componentCls}-arrow`]: { "--antd-arrow-background-color": darkColor }
|
|
5269
|
-
} };
|
|
5270
|
-
})), { "&-rtl": { direction: "rtl" } }) },
|
|
5271
|
-
getArrowStyle(merge(token, { borderRadiusOuter: tooltipRadiusOuter }), {
|
|
5272
|
-
colorBg: "var(--antd-arrow-background-color)",
|
|
5273
|
-
showArrowCls: "",
|
|
5274
|
-
contentRadius: tooltipBorderRadius,
|
|
5275
|
-
limitVerticalRadius: true
|
|
5276
|
-
}),
|
|
5277
|
-
{ [`${componentCls}-pure`]: {
|
|
5278
|
-
position: "relative",
|
|
5279
|
-
maxWidth: "none"
|
|
5280
|
-
} }
|
|
5281
|
-
];
|
|
5282
|
-
};
|
|
5283
|
-
var style_default$1 = ((prefixCls, injectStyle) => {
|
|
5284
|
-
return genComponentStyleHook("Tooltip", (token) => {
|
|
5285
|
-
if ((injectStyle === null || injectStyle === void 0 ? void 0 : injectStyle.value) === false) return [];
|
|
5286
|
-
const { borderRadius, colorTextLightSolid, colorBgDefault, borderRadiusOuter } = token;
|
|
5287
|
-
return [genTooltipStyle(merge(token, {
|
|
5288
|
-
tooltipMaxWidth: 250,
|
|
5289
|
-
tooltipColor: colorTextLightSolid,
|
|
5290
|
-
tooltipBorderRadius: borderRadius,
|
|
5291
|
-
tooltipBg: colorBgDefault,
|
|
5292
|
-
tooltipRadiusOuter: borderRadiusOuter > 4 ? 4 : borderRadiusOuter
|
|
5293
|
-
})), initZoomMotion(token, "zoom-big-fast")];
|
|
5294
|
-
}, (_ref2) => {
|
|
5295
|
-
let { zIndexPopupBase, colorBgSpotlight } = _ref2;
|
|
5296
|
-
return {
|
|
5297
|
-
zIndexPopup: zIndexPopupBase + 70,
|
|
5298
|
-
colorBgDefault: colorBgSpotlight
|
|
5299
|
-
};
|
|
5300
|
-
})(prefixCls);
|
|
5301
|
-
});
|
|
5302
|
-
//#endregion
|
|
5303
|
-
//#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
|
|
5304
|
-
var splitObject = (obj, keys) => {
|
|
5305
|
-
const picked = {};
|
|
5306
|
-
const omitted = _extends({}, obj);
|
|
5307
|
-
keys.forEach((key) => {
|
|
5308
|
-
if (obj && key in obj) {
|
|
5309
|
-
picked[key] = obj[key];
|
|
5310
|
-
delete omitted[key];
|
|
5311
|
-
}
|
|
5312
|
-
});
|
|
5313
|
-
return {
|
|
5314
|
-
picked,
|
|
5315
|
-
omitted
|
|
5316
|
-
};
|
|
5317
|
-
};
|
|
5318
|
-
var tooltipProps = () => _extends(_extends({}, abstractTooltipProps_default()), { title: PropTypes.any });
|
|
5319
|
-
var tooltipDefaultProps = () => ({
|
|
5320
|
-
trigger: "hover",
|
|
5321
|
-
align: {},
|
|
5322
|
-
placement: "top",
|
|
5323
|
-
mouseEnterDelay: .1,
|
|
5324
|
-
mouseLeaveDelay: .1,
|
|
5325
|
-
arrowPointAtCenter: false,
|
|
5326
|
-
autoAdjustOverflow: true
|
|
5327
|
-
});
|
|
5328
|
-
var Tooltip_default = defineComponent({
|
|
5329
|
-
compatConfig: { MODE: 3 },
|
|
5330
|
-
name: "ATooltip",
|
|
5331
|
-
inheritAttrs: false,
|
|
5332
|
-
props: initDefaultProps(tooltipProps(), {
|
|
5333
|
-
trigger: "hover",
|
|
5334
|
-
align: {},
|
|
5335
|
-
placement: "top",
|
|
5336
|
-
mouseEnterDelay: .1,
|
|
5337
|
-
mouseLeaveDelay: .1,
|
|
5338
|
-
arrowPointAtCenter: false,
|
|
5339
|
-
autoAdjustOverflow: true
|
|
5340
|
-
}),
|
|
5341
|
-
slots: Object,
|
|
5342
|
-
setup(props, _ref) {
|
|
5343
|
-
let { slots, emit, attrs, expose } = _ref;
|
|
5344
|
-
const { prefixCls, getPopupContainer, direction, rootPrefixCls } = useConfigInject_default("tooltip", props);
|
|
5345
|
-
const mergedOpen = computed(() => {
|
|
5346
|
-
var _a;
|
|
5347
|
-
return (_a = props.open) !== null && _a !== void 0 ? _a : props.visible;
|
|
5348
|
-
});
|
|
5349
|
-
const innerOpen = ref(firstNotUndefined([props.open, props.visible]));
|
|
5350
|
-
const tooltip = ref();
|
|
5351
|
-
let rafId;
|
|
5352
|
-
watch(mergedOpen, (val) => {
|
|
5353
|
-
wrapperRaf.cancel(rafId);
|
|
5354
|
-
rafId = wrapperRaf(() => {
|
|
5355
|
-
innerOpen.value = !!val;
|
|
5356
|
-
});
|
|
5357
|
-
});
|
|
5358
|
-
const isNoTitle = () => {
|
|
5359
|
-
var _a;
|
|
5360
|
-
const title = (_a = props.title) !== null && _a !== void 0 ? _a : slots.title;
|
|
5361
|
-
return !title && title !== 0;
|
|
5362
|
-
};
|
|
5363
|
-
const handleVisibleChange = (val) => {
|
|
5364
|
-
const noTitle = isNoTitle();
|
|
5365
|
-
if (mergedOpen.value === void 0) innerOpen.value = noTitle ? false : val;
|
|
5366
|
-
if (!noTitle) {
|
|
5367
|
-
emit("update:visible", val);
|
|
5368
|
-
emit("visibleChange", val);
|
|
5369
|
-
emit("update:open", val);
|
|
5370
|
-
emit("openChange", val);
|
|
5371
|
-
}
|
|
5372
|
-
};
|
|
5373
|
-
const getPopupDomNode = () => {
|
|
5374
|
-
return tooltip.value.getPopupDomNode();
|
|
5375
|
-
};
|
|
5376
|
-
expose({
|
|
5377
|
-
getPopupDomNode,
|
|
5378
|
-
open: innerOpen,
|
|
5379
|
-
forcePopupAlign: () => {
|
|
5380
|
-
var _a;
|
|
5381
|
-
return (_a = tooltip.value) === null || _a === void 0 ? void 0 : _a.forcePopupAlign();
|
|
5382
|
-
}
|
|
5383
|
-
});
|
|
5384
|
-
const tooltipPlacements = computed(() => {
|
|
5385
|
-
var _a;
|
|
5386
|
-
const { builtinPlacements, autoAdjustOverflow, arrow, arrowPointAtCenter } = props;
|
|
5387
|
-
let mergedArrowPointAtCenter = arrowPointAtCenter;
|
|
5388
|
-
if (typeof arrow === "object") mergedArrowPointAtCenter = (_a = arrow.pointAtCenter) !== null && _a !== void 0 ? _a : arrowPointAtCenter;
|
|
5389
|
-
return builtinPlacements || getPlacements({
|
|
5390
|
-
arrowPointAtCenter: mergedArrowPointAtCenter,
|
|
5391
|
-
autoAdjustOverflow
|
|
5392
|
-
});
|
|
5393
|
-
});
|
|
5394
|
-
const isTrueProps = (val) => {
|
|
5395
|
-
return val || val === "";
|
|
5396
|
-
};
|
|
5397
|
-
const getDisabledCompatibleChildren = (ele) => {
|
|
5398
|
-
const elementType = ele.type;
|
|
5399
|
-
if (typeof elementType === "object" && ele.props) {
|
|
5400
|
-
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)) {
|
|
5401
|
-
const { picked, omitted } = splitObject(getStyle(ele), [
|
|
5402
|
-
"position",
|
|
5403
|
-
"left",
|
|
5404
|
-
"right",
|
|
5405
|
-
"top",
|
|
5406
|
-
"bottom",
|
|
5407
|
-
"float",
|
|
5408
|
-
"display",
|
|
5409
|
-
"zIndex"
|
|
5410
|
-
]);
|
|
5411
|
-
const spanStyle = _extends(_extends({ display: "inline-block" }, picked), {
|
|
5412
|
-
cursor: "not-allowed",
|
|
5413
|
-
lineHeight: 1,
|
|
5414
|
-
width: ele.props && ele.props.block ? "100%" : void 0
|
|
5415
|
-
});
|
|
5416
|
-
const buttonStyle = _extends(_extends({}, omitted), { pointerEvents: "none" });
|
|
5417
|
-
const child = cloneElement(ele, { style: buttonStyle }, true);
|
|
5418
|
-
return createVNode("span", {
|
|
5419
|
-
"style": spanStyle,
|
|
5420
|
-
"class": `${prefixCls.value}-disabled-compatible-wrapper`
|
|
5421
|
-
}, [child]);
|
|
5422
|
-
}
|
|
5423
|
-
}
|
|
5424
|
-
return ele;
|
|
5425
|
-
};
|
|
5426
|
-
const getOverlay = () => {
|
|
5427
|
-
var _a, _b;
|
|
5428
|
-
return (_a = props.title) !== null && _a !== void 0 ? _a : (_b = slots.title) === null || _b === void 0 ? void 0 : _b.call(slots);
|
|
5429
|
-
};
|
|
5430
|
-
const onPopupAlign = (domNode, align) => {
|
|
5431
|
-
const placements = tooltipPlacements.value;
|
|
5432
|
-
const placement = Object.keys(placements).find((key) => {
|
|
5433
|
-
var _a, _b;
|
|
5434
|
-
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]);
|
|
5435
|
-
});
|
|
5436
|
-
if (placement) {
|
|
5437
|
-
const rect = domNode.getBoundingClientRect();
|
|
5438
|
-
const transformOrigin = {
|
|
5439
|
-
top: "50%",
|
|
5440
|
-
left: "50%"
|
|
5441
|
-
};
|
|
5442
|
-
if (placement.indexOf("top") >= 0 || placement.indexOf("Bottom") >= 0) transformOrigin.top = `${rect.height - align.offset[1]}px`;
|
|
5443
|
-
else if (placement.indexOf("Top") >= 0 || placement.indexOf("bottom") >= 0) transformOrigin.top = `${-align.offset[1]}px`;
|
|
5444
|
-
if (placement.indexOf("left") >= 0 || placement.indexOf("Right") >= 0) transformOrigin.left = `${rect.width - align.offset[0]}px`;
|
|
5445
|
-
else if (placement.indexOf("right") >= 0 || placement.indexOf("Left") >= 0) transformOrigin.left = `${-align.offset[0]}px`;
|
|
5446
|
-
domNode.style.transformOrigin = `${transformOrigin.left} ${transformOrigin.top}`;
|
|
5447
|
-
}
|
|
5448
|
-
};
|
|
5449
|
-
const colorInfo = computed(() => parseColor(prefixCls.value, props.color));
|
|
5450
|
-
const injectFromPopover = computed(() => attrs["data-popover-inject"]);
|
|
5451
|
-
const [wrapSSR, hashId] = style_default$1(prefixCls, computed(() => !injectFromPopover.value));
|
|
5452
|
-
return () => {
|
|
5453
|
-
var _a, _b;
|
|
5454
|
-
const { openClassName, overlayClassName, overlayStyle, overlayInnerStyle } = props;
|
|
5455
|
-
let children = (_b = filterEmpty((_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots))) !== null && _b !== void 0 ? _b : null;
|
|
5456
|
-
children = children.length === 1 ? children[0] : children;
|
|
5457
|
-
let tempVisible = innerOpen.value;
|
|
5458
|
-
if (mergedOpen.value === void 0 && isNoTitle()) tempVisible = false;
|
|
5459
|
-
if (!children) return null;
|
|
5460
|
-
const child = getDisabledCompatibleChildren(isValidElement(children) && !isFragment(children) ? children : createVNode("span", null, [children]));
|
|
5461
|
-
const childCls = classNames({
|
|
5462
|
-
[openClassName || `${prefixCls.value}-open`]: true,
|
|
5463
|
-
[child.props && child.props.class]: child.props && child.props.class
|
|
5464
|
-
});
|
|
5465
|
-
const customOverlayClassName = classNames(overlayClassName, { [`${prefixCls.value}-rtl`]: direction.value === "rtl" }, colorInfo.value.className, hashId.value);
|
|
5466
|
-
const formattedOverlayInnerStyle = _extends(_extends({}, colorInfo.value.overlayStyle), overlayInnerStyle);
|
|
5467
|
-
const arrowContentStyle = colorInfo.value.arrowStyle;
|
|
5468
|
-
const vcTooltipProps = _extends(_extends(_extends({}, attrs), props), {
|
|
5469
|
-
prefixCls: prefixCls.value,
|
|
5470
|
-
arrow: !!props.arrow,
|
|
5471
|
-
getPopupContainer: getPopupContainer === null || getPopupContainer === void 0 ? void 0 : getPopupContainer.value,
|
|
5472
|
-
builtinPlacements: tooltipPlacements.value,
|
|
5473
|
-
visible: tempVisible,
|
|
5474
|
-
ref: tooltip,
|
|
5475
|
-
overlayClassName: customOverlayClassName,
|
|
5476
|
-
overlayStyle: _extends(_extends({}, arrowContentStyle), overlayStyle),
|
|
5477
|
-
overlayInnerStyle: formattedOverlayInnerStyle,
|
|
5478
|
-
onVisibleChange: handleVisibleChange,
|
|
5479
|
-
onPopupAlign,
|
|
5480
|
-
transitionName: getTransitionName$1(rootPrefixCls.value, "zoom-big-fast", props.transitionName)
|
|
5481
|
-
});
|
|
5482
|
-
return wrapSSR(createVNode(vc_tooltip_default, vcTooltipProps, {
|
|
5483
|
-
default: () => [innerOpen.value ? cloneElement(child, { class: childCls }) : child],
|
|
5484
|
-
arrowContent: () => createVNode("span", { "class": `${prefixCls.value}-arrow-content` }, null),
|
|
5485
|
-
overlay: getOverlay
|
|
5486
|
-
}));
|
|
5487
|
-
};
|
|
5488
|
-
}
|
|
5489
|
-
});
|
|
5490
|
-
//#endregion
|
|
5491
|
-
//#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
|
|
5492
|
-
var tooltip_default = withInstall(Tooltip_default);
|
|
5493
|
-
//#endregion
|
|
5494
2138
|
//#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/class.js
|
|
5495
2139
|
function hasClass(node, className) {
|
|
5496
2140
|
if (node.classList) return node.classList.contains(className);
|
|
@@ -6486,7 +3130,7 @@ var Input_default$1 = defineComponent({
|
|
|
6486
3130
|
};
|
|
6487
3131
|
return () => {
|
|
6488
3132
|
const { prefixCls, disabled } = props, rest = __rest$3(props, ["prefixCls", "disabled"]);
|
|
6489
|
-
return createVNode(BaseInput_default, _objectSpread2
|
|
3133
|
+
return createVNode(BaseInput_default, _objectSpread2(_objectSpread2(_objectSpread2({}, rest), attrs), {}, {
|
|
6490
3134
|
"ref": rootRef,
|
|
6491
3135
|
"prefixCls": prefixCls,
|
|
6492
3136
|
"inputElement": getInputElement(),
|
|
@@ -6622,7 +3266,7 @@ var Input_default = defineComponent({
|
|
|
6622
3266
|
suffix
|
|
6623
3267
|
}) || !!hasFeedback;
|
|
6624
3268
|
const clearIcon = slots.clearIcon || (() => createVNode(CloseCircleFilled, null, null));
|
|
6625
|
-
return wrapSSR(createVNode(Input_default$1, _objectSpread2
|
|
3269
|
+
return wrapSSR(createVNode(Input_default$1, _objectSpread2(_objectSpread2(_objectSpread2({}, attrs), omit(rest, [
|
|
6626
3270
|
"onUpdate:value",
|
|
6627
3271
|
"onChange",
|
|
6628
3272
|
"onInput"
|
|
@@ -6696,7 +3340,7 @@ var Group_default = defineComponent({
|
|
|
6696
3340
|
});
|
|
6697
3341
|
return () => {
|
|
6698
3342
|
var _a;
|
|
6699
|
-
return wrapSSR(createVNode("span", _objectSpread2
|
|
3343
|
+
return wrapSSR(createVNode("span", _objectSpread2(_objectSpread2({}, attrs), {}, { "class": classNames(cls.value, attrs.class) }), [(_a = slots.default) === null || _a === void 0 ? void 0 : _a.call(slots)]));
|
|
6700
3344
|
};
|
|
6701
3345
|
}
|
|
6702
3346
|
});
|
|
@@ -6805,7 +3449,7 @@ var Search_default = defineComponent({
|
|
|
6805
3449
|
[`${prefixCls.value}-${size.value}`]: !!size.value,
|
|
6806
3450
|
[`${prefixCls.value}-with-button`]: !!enterButton
|
|
6807
3451
|
}, attrs.class);
|
|
6808
|
-
return createVNode(Input_default, _objectSpread2
|
|
3452
|
+
return createVNode(Input_default, _objectSpread2(_objectSpread2(_objectSpread2({ "ref": inputRef }, omit(restProps, [
|
|
6809
3453
|
"onUpdate:value",
|
|
6810
3454
|
"onSearch",
|
|
6811
3455
|
"enterButton"
|
|
@@ -7152,7 +3796,7 @@ var ResizableTextArea = defineComponent({
|
|
|
7152
3796
|
return createVNode(vc_resize_observer_default, {
|
|
7153
3797
|
"onResize": onInternalResize,
|
|
7154
3798
|
"disabled": !needAutoSize.value
|
|
7155
|
-
}, { default: () => [createVNode(BaseInput, _objectSpread2
|
|
3799
|
+
}, { default: () => [createVNode(BaseInput, _objectSpread2(_objectSpread2({}, textareaProps), {}, {
|
|
7156
3800
|
"ref": textAreaRef,
|
|
7157
3801
|
"tag": "textarea"
|
|
7158
3802
|
}), null)] });
|
|
@@ -7295,7 +3939,7 @@ var TextArea_default = defineComponent({
|
|
|
7295
3939
|
onCompositionend: onInternalCompositionEnd
|
|
7296
3940
|
});
|
|
7297
3941
|
if ((_a = props.valueModifiers) === null || _a === void 0 ? void 0 : _a.lazy) delete resizeProps.onInput;
|
|
7298
|
-
return createVNode(ResizableTextArea, _objectSpread2
|
|
3942
|
+
return createVNode(ResizableTextArea, _objectSpread2(_objectSpread2({}, resizeProps), {}, {
|
|
7299
3943
|
"id": (_b = resizeProps === null || resizeProps === void 0 ? void 0 : resizeProps.id) !== null && _b !== void 0 ? _b : formItemContext.id.value,
|
|
7300
3944
|
"ref": resizableTextArea,
|
|
7301
3945
|
"maxlength": props.maxlength,
|
|
@@ -7326,7 +3970,7 @@ var TextArea_default = defineComponent({
|
|
|
7326
3970
|
hashId: hashId.value,
|
|
7327
3971
|
disabled: (_a = props.disabled) !== null && _a !== void 0 ? _a : disabled.value
|
|
7328
3972
|
});
|
|
7329
|
-
let textareaNode = createVNode(ClearableLabeledInput_default, _objectSpread2
|
|
3973
|
+
let textareaNode = createVNode(ClearableLabeledInput_default, _objectSpread2(_objectSpread2({}, inputProps), {}, {
|
|
7330
3974
|
"value": mergedValue.value,
|
|
7331
3975
|
"status": props.status
|
|
7332
3976
|
}), { element: renderTextArea });
|
|
@@ -7450,7 +4094,7 @@ var Password_default = defineComponent({
|
|
|
7450
4094
|
suffix: suffixIcon
|
|
7451
4095
|
});
|
|
7452
4096
|
if (size) omittedProps.size = size;
|
|
7453
|
-
return createVNode(Input_default, _objectSpread2
|
|
4097
|
+
return createVNode(Input_default, _objectSpread2({ "ref": inputRef }, omittedProps), slots);
|
|
7454
4098
|
};
|
|
7455
4099
|
return () => {
|
|
7456
4100
|
return renderPassword();
|
|
@@ -7474,5 +4118,5 @@ Input_default.install = function(app) {
|
|
|
7474
4118
|
};
|
|
7475
4119
|
var input_default = Input_default;
|
|
7476
4120
|
|
|
7477
|
-
export {
|
|
7478
|
-
//# sourceMappingURL=input-
|
|
4121
|
+
export { genInputSmallStyle as $, baseFindIndex as A, arrayIncludes as B, getMergedStatus as C, getStatusClassNames as D, initInputToken as E, genBasicInputStyle as F, Group_default as G, genStatusStyle as H, genPlaceholderStyle as I, genInputGroupStyle as J, genDisabledStyle as K, ListCache as L, MapCache as M, genActiveStyle as N, genHoverStyle as O, Password_default as P, vc_overflow_default as Q, initSlideMotion as R, Search_default as S, TextArea_default as T, vc_resize_observer_default as U, slideDownOut as V, slideUpOut as W, slideDownIn as X, slideUpIn as Y, BaseInput as Z, SearchOutlined as _, isSymbol as a, getOffset as a0, addClass as b, isPlainObject as c, arrayMap as d, collapseMotion as e, flatRest as f, genCollapseMotion as g, baseAssignValue as h, input_default as i, assignValue as j, castPath as k, getPrototype as l, identity as m, arrayPush as n, baseGet as o, isKey as p, hasIn as q, removeClass as r, isIndex as s, toKey as t, SetCache as u, eq as v, setToString as w, overRest as x, cacheHas as y, setToArray as z };
|
|
4122
|
+
//# sourceMappingURL=input-DwF72eVI.mjs.map
|