agentworkshop 0.7.44 → 0.7.46
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 +265 -6
- package/.AgentWorkShop/prompts/lead-supervise.md +54 -29
- package/.AgentWorkShop/prompts/peer-reply-optional.md +6 -2
- package/.AgentWorkShop/prompts/peer-reply-required.md +8 -7
- package/.output/.AgentWorkShop/aml-python/amlkit.py +185 -120
- package/.output/.AgentWorkShop/aml-python/requirements.txt +9 -7
- package/.output/.AgentWorkShop/aml-python/train-hybrid-example.py +87 -0
- package/.output/.AgentWorkShop/prompts/host-tools.json +265 -6
- package/.output/.AgentWorkShop/prompts/lead-supervise.md +54 -29
- package/.output/.AgentWorkShop/prompts/peer-reply-optional.md +6 -2
- package/.output/.AgentWorkShop/prompts/peer-reply-required.md +8 -7
- package/.output/.AgentWorkShop/schema.json +12 -0
- package/.output/nitro.json +1 -1
- package/.output/public/_nuxt/-hB4kEmt.js +1 -0
- package/.output/public/_nuxt/1g9IT9Qh2.js +1 -0
- package/.output/public/_nuxt/74x7BOWv2.js +1 -0
- package/.output/public/_nuxt/9c5GOgbu.js +1 -0
- package/.output/public/_nuxt/9zrLAN2o2.js +1 -0
- package/.output/public/_nuxt/B1RT9NTO2.js +1 -0
- package/.output/public/_nuxt/B2x8SKRO.js +1 -0
- package/.output/public/_nuxt/B6Olw0Op.js +1 -0
- package/.output/public/_nuxt/B7jlMWsz.js +1 -0
- package/.output/public/_nuxt/B8cnjDtt.js +1 -0
- package/.output/public/_nuxt/B9rIcCX12.js +1 -0
- package/.output/public/_nuxt/BACBBVdw.js +1 -0
- package/.output/public/_nuxt/BBhLVYdM.js +1 -0
- package/.output/public/_nuxt/BDmNbZ252.js +1 -0
- package/.output/public/_nuxt/BFVf8HLR.js +1 -0
- package/.output/public/_nuxt/BGKUW7ra.js +1 -0
- package/.output/public/_nuxt/BH3obZJ42.js +1 -0
- package/.output/public/_nuxt/BHwG4yNs.js +1 -0
- package/.output/public/_nuxt/BIOq3xqe2.js +1 -0
- package/.output/public/_nuxt/BITZvQBK.js +1 -0
- package/.output/public/_nuxt/BL_dbd2v2.js +1 -0
- package/.output/public/_nuxt/BMMoqi94.js +1 -0
- package/.output/public/_nuxt/BNnnYEYh2.js +1 -0
- package/.output/public/_nuxt/BQXCMsXk.js +1 -0
- package/.output/public/_nuxt/BS9P_Ies2.js +1 -0
- package/.output/public/_nuxt/BWU1pvLL.js +1 -0
- package/.output/public/_nuxt/B_9_BM9G.js +3 -0
- package/.output/public/_nuxt/B_LcD7qE2.js +1 -0
- package/.output/public/_nuxt/BcQXL8pb.js +1 -0
- package/.output/public/_nuxt/BdM_Qr752.js +1 -0
- package/.output/public/_nuxt/BiOSWsjD.js +2 -0
- package/.output/public/_nuxt/BkSViqQd.js +1 -0
- package/.output/public/_nuxt/Bl5dYv4m.js +1 -0
- package/.output/public/_nuxt/BmiMC_BC.js +2 -0
- package/.output/public/_nuxt/BnpY_zNx.js +1 -0
- package/.output/public/_nuxt/BqYVLAcm.js +1 -0
- package/.output/public/_nuxt/Br3AySNQ.js +1 -0
- package/.output/public/_nuxt/Br3MggOL.js +1 -0
- package/.output/public/_nuxt/BrRX-l9B2.js +4108 -0
- package/.output/public/_nuxt/Bt2ZL5332.js +1 -0
- package/.output/public/_nuxt/Bub2P5me.js +28 -0
- package/.output/public/_nuxt/BvRk9kiK.js +0 -0
- package/.output/public/_nuxt/BvRk9kiK2.js +0 -0
- package/.output/public/_nuxt/Bwc6lt2X.js +3 -0
- package/.output/public/_nuxt/BxHBIVAg.js +1 -0
- package/.output/public/_nuxt/BxYTM0hb.js +1 -0
- package/.output/public/_nuxt/ByMj6e7s.js +3 -0
- package/.output/public/_nuxt/BzvHUfRR2.js +1 -0
- package/.output/public/_nuxt/C2YYOgMe.js +42 -0
- package/.output/public/_nuxt/C3twEwTh2.js +1 -0
- package/.output/public/_nuxt/C4WhK2wq.js +1 -0
- package/.output/public/_nuxt/C50LmoI1.js +0 -0
- package/.output/public/_nuxt/CAaSPBqk.js +1 -0
- package/.output/public/_nuxt/CBDX7p73.js +1 -0
- package/.output/public/_nuxt/CD9lpEz22.js +13 -0
- package/.output/public/_nuxt/CGZVhYJ4.js +1 -0
- package/.output/public/_nuxt/CJRDL4EG.js +1 -0
- package/.output/public/_nuxt/CKQPwwZa2.js +1 -0
- package/.output/public/_nuxt/CLySL7mW.js +75 -0
- package/.output/public/_nuxt/CMXcOb6W.js +1 -0
- package/.output/public/_nuxt/CN1CDAwe.js +1 -0
- package/.output/public/_nuxt/CP0I2l-6.js +1 -0
- package/.output/public/_nuxt/CP0Nep9S.js +1 -0
- package/.output/public/_nuxt/CPeZNE4S2.js +1 -0
- package/.output/public/_nuxt/CPmNRTBk2.js +21 -0
- package/.output/public/_nuxt/CQabB0oy.js +1 -0
- package/.output/public/_nuxt/CT-vTjcG.js +1 -0
- package/.output/public/_nuxt/CTVfcnjU.js +3 -0
- package/.output/public/_nuxt/CWzp2R6G.js +1 -0
- package/.output/public/_nuxt/C_VAXV7I2.js +7 -0
- package/.output/public/_nuxt/CavpkQb0.js +1 -0
- package/.output/public/_nuxt/CeWnOF3O.js +1 -0
- package/.output/public/_nuxt/CfLUvgr32.js +1 -0
- package/.output/public/_nuxt/Ch1P2mIf.js +1 -0
- package/.output/public/_nuxt/ChoLwR-s.js +1 -0
- package/.output/public/_nuxt/Chphw5IA2.js +1 -0
- package/.output/public/_nuxt/ChtjzEpK2.js +19 -0
- package/.output/public/_nuxt/CiTQY_n32.js +1 -0
- package/.output/public/_nuxt/Ck5oMvUk.js +1 -0
- package/.output/public/_nuxt/Ckafrjnw2.js +1 -0
- package/.output/public/_nuxt/Cm_PTn9t2.js +1 -0
- package/.output/public/_nuxt/Cmp8PMrA.js +1 -0
- package/.output/public/_nuxt/Cnrmlixo.js +3 -0
- package/.output/public/_nuxt/Cr518Gh02.js +1 -0
- package/.output/public/_nuxt/Crbir9cT.js +1 -0
- package/.output/public/_nuxt/CtPNnATm2.js +31 -0
- package/.output/public/_nuxt/Cu8c3oMN2.js +1 -0
- package/.output/public/_nuxt/CwLQAKay2.js +1 -0
- package/.output/public/_nuxt/CzlUIbK32.js +17 -0
- package/.output/public/_nuxt/D6lZftfy.js +1 -0
- package/.output/public/_nuxt/D83nVQPl.js +1 -0
- package/.output/public/_nuxt/D89BUtx6.js +1 -0
- package/.output/public/_nuxt/DCtk3qqr.js +1 -0
- package/.output/public/_nuxt/DD6Z0yPN2.js +1 -0
- package/.output/public/_nuxt/DGw8juu_.js +2 -0
- package/.output/public/_nuxt/DHSDk8Bq2.js +4 -0
- package/.output/public/_nuxt/DJdDFnjG2.js +1 -0
- package/.output/public/_nuxt/DJyNDnag.js +1 -0
- package/.output/public/_nuxt/DK3Fl9T5.js +1 -0
- package/.output/public/_nuxt/DLPuRMeG.js +19 -0
- package/.output/public/_nuxt/DMYYS5sK.js +1 -0
- package/.output/public/_nuxt/DNno23Jf2.js +1 -0
- package/.output/public/_nuxt/DNoEoo8t.js +1 -0
- package/.output/public/_nuxt/DPUXbTg92.js +1 -0
- package/.output/public/_nuxt/DRpFsrno.js +1 -0
- package/.output/public/_nuxt/DXIaadqv.js +1 -0
- package/.output/public/_nuxt/D_7AzAWe.js +1 -0
- package/.output/public/_nuxt/Dbe9TFc9.js +1 -0
- package/.output/public/_nuxt/DdNujZN5.js +1 -0
- package/.output/public/_nuxt/DdvQ7LRI.js +14 -0
- package/.output/public/_nuxt/DhFv8S2Z.js +1 -0
- package/.output/public/_nuxt/DkJVtqfc.js +1 -0
- package/.output/public/_nuxt/DkLCjrCk2.js +47 -0
- package/.output/public/_nuxt/DkpmSnHX.js +1 -0
- package/.output/public/_nuxt/DlUQa0wn2.js +1 -0
- package/.output/public/_nuxt/DoKpLEqc.js +1 -0
- package/.output/public/_nuxt/DpqA8D8_.js +1 -0
- package/.output/public/_nuxt/Dq0emNZi2.js +1 -0
- package/.output/public/_nuxt/DqtgGFEc.js +1 -0
- package/.output/public/_nuxt/DqtnqNgL2.js +1 -0
- package/.output/public/_nuxt/Dqz5HiXa.js +2 -0
- package/.output/public/_nuxt/DxagrjB8.js +1 -0
- package/.output/public/_nuxt/Dy3oXKdn2.js +1 -0
- package/.output/public/_nuxt/DzBbYWrw2.js +1 -0
- package/.output/public/_nuxt/EhhQmlBV2.js +1 -0
- package/.output/public/_nuxt/H2rNs1O82.js +1 -0
- package/.output/public/_nuxt/H6pPjo0l.js +1 -0
- package/.output/public/_nuxt/JAM4aNC_.js +1 -0
- package/.output/public/_nuxt/JgheoP3e.js +1 -0
- package/.output/public/_nuxt/LwIFGLgF.js +1 -0
- package/.output/public/_nuxt/Nw_6OpQZ2.js +1 -0
- package/.output/public/_nuxt/OXtV_ukR.js +1 -0
- package/.output/public/_nuxt/OmpTerminalPanel.ComMDrA8.css +1 -0
- package/.output/public/_nuxt/PLGqdko0.js +1 -0
- package/.output/public/_nuxt/PixDfCSm.js +1 -0
- package/.output/public/_nuxt/RAqsw632.js +1 -0
- package/.output/public/_nuxt/Sjjmp5OD2.js +1 -0
- package/.output/public/_nuxt/TOWR4WpO.js +1 -0
- package/.output/public/_nuxt/TownView.BvlfuLtP.css +1 -0
- package/.output/public/_nuxt/U8oQxruK.js +1 -0
- package/.output/public/_nuxt/WleoCtUX.js +1 -0
- package/.output/public/_nuxt/YaroNkJZ2.js +1 -0
- package/.output/public/_nuxt/Z-Z6EhXs.js +1 -0
- package/.output/public/_nuxt/ZuQtOnfI.js +1 -0
- package/.output/public/_nuxt/ZvXovq7N2.js +1 -0
- package/.output/public/_nuxt/_id_.BTrFUIHX.css +1 -0
- package/.output/public/_nuxt/_id_.Bossmhv1.css +1 -0
- package/.output/public/_nuxt/_wsId_.D-u-dbP9.css +1 -0
- package/.output/public/_nuxt/agents.Cgm_JG9L.css +1 -0
- package/.output/public/_nuxt/aml.Bi5X6_oi.css +1 -0
- package/.output/public/_nuxt/bg2adfck.js +1 -0
- package/.output/public/_nuxt/bt__BP-I.js +13 -0
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/7827fe9f-b4c2-461f-b1fb-c0c7da7d66b8.json +1 -0
- package/.output/public/_nuxt/cBI0JqsV2.js +209 -0
- package/.output/public/_nuxt/cDcDztgb2.js +1 -0
- package/.output/public/_nuxt/cGSl2GZp.js +1 -0
- package/.output/public/_nuxt/csitHKnE2.js +1 -0
- package/.output/public/_nuxt/d-w5jR8R.js +1 -0
- package/.output/public/_nuxt/daq.0uieKcZk.css +1 -0
- package/.output/public/_nuxt/dcw.pQRVkAi_.css +1 -0
- package/.output/public/_nuxt/default.uao9U50c.css +1 -0
- package/.output/public/_nuxt/e7BBCLxr.js +1 -0
- package/.output/public/_nuxt/entry.6DEjPWvR.css +1 -0
- package/.output/public/_nuxt/eutnXI4F.js +24 -0
- package/.output/public/_nuxt/fxWyOzyp2.js +1 -0
- package/.output/public/_nuxt/hkMGMTqt.js +1 -0
- package/.output/public/_nuxt/ikAUnxx3.js +1 -0
- package/.output/public/_nuxt/lWYQbIR3.js +1 -0
- package/.output/public/_nuxt/logs.CD0Olr3c.css +1 -0
- package/.output/public/_nuxt/monitor.CI2v5Nvl.css +1 -0
- package/.output/public/_nuxt/pages.CMhSEhEb.css +1 -0
- package/.output/public/_nuxt/permissions.DxuOOIqQ.css +1 -0
- package/.output/public/_nuxt/plugins.C50x1qZp.css +1 -0
- package/.output/public/_nuxt/qOlYoGLf.js +1 -0
- package/.output/public/_nuxt/schedules.BXNJ9q_I.css +1 -0
- package/.output/public/_nuxt/settings.Bo5EYkLI.css +1 -0
- package/.output/public/_nuxt/teams.sGmx1AdX.css +1 -0
- package/.output/public/_nuxt/tokens.DFMFaCYU.css +1 -0
- package/.output/public/_nuxt/uI9Ki_XZ.js +9 -0
- package/.output/public/_nuxt/users.DBxcKnfg.css +1 -0
- package/.output/public/_nuxt/v55S8LnT.js +1 -0
- package/.output/public/_nuxt/wDPc4SSR.js +106 -0
- package/.output/public/_nuxt/workshop.b4YRXEe0.css +1 -0
- package/.output/public/_nuxt/y9kob70X.js +1 -0
- package/.output/public/_nuxt/zh-S_7rN.js +1 -0
- package/.output/server/chunks/_/LeftOutlined.mjs +1 -1
- package/.output/server/chunks/_/SearchOutlined.mjs +1243 -279
- package/.output/server/chunks/_/SearchOutlined.mjs.map +1 -1
- package/.output/server/chunks/_/binding-authz.mjs +1 -1
- package/.output/server/chunks/_/character-asset.repo.mjs +1 -1
- package/.output/server/chunks/_/entity.mjs +1 -1
- package/.output/server/chunks/_/env-manager.mjs +1 -1
- package/.output/server/chunks/_/host-bindings.mjs +1 -1
- package/.output/server/chunks/_/nitro.mjs +26927 -19070
- package/.output/server/chunks/_/nitro.mjs.map +1 -1
- package/.output/server/chunks/_/scene-layout.repo.mjs +1 -1
- package/.output/server/chunks/build/Checkbox-4EdGAAl_.mjs +206 -0
- package/.output/server/chunks/build/Checkbox-4EdGAAl_.mjs.map +1 -0
- package/.output/server/chunks/build/FormItemContext-4ORSzhWv.mjs +72 -0
- package/.output/server/chunks/build/FormItemContext-4ORSzhWv.mjs.map +1 -0
- package/.output/server/chunks/build/OmpTerminalPanel-EQHrOJbw.mjs +942 -0
- package/.output/server/chunks/build/OmpTerminalPanel-EQHrOJbw.mjs.map +1 -0
- package/.output/server/chunks/build/PluginSlot-BP_qedpQ.mjs +399 -0
- package/.output/server/chunks/build/PluginSlot-BP_qedpQ.mjs.map +1 -0
- package/.output/server/chunks/build/TownView-BAR8CPIZ.mjs +6373 -0
- package/.output/server/chunks/build/TownView-BAR8CPIZ.mjs.map +1 -0
- package/.output/server/chunks/build/_id_-DgMpjM3_.mjs +1354 -0
- package/.output/server/chunks/build/_id_-DgMpjM3_.mjs.map +1 -0
- package/.output/server/chunks/build/_id_-Dv3BQbYV.mjs +388 -0
- package/.output/server/chunks/build/_id_-Dv3BQbYV.mjs.map +1 -0
- package/.output/server/chunks/build/_wsId_-BKJvFmyf.mjs +13109 -0
- package/.output/server/chunks/build/_wsId_-BKJvFmyf.mjs.map +1 -0
- package/.output/server/chunks/build/agents-B2GLPmn2.mjs +1085 -0
- package/.output/server/chunks/build/agents-B2GLPmn2.mjs.map +1 -0
- package/.output/server/chunks/build/aml-DdWicH3t.mjs +806 -0
- package/.output/server/chunks/build/aml-DdWicH3t.mjs.map +1 -0
- package/.output/server/chunks/build/api-BY6ji7RC.mjs +50 -0
- package/.output/server/chunks/build/api-BY6ji7RC.mjs.map +1 -0
- package/.output/server/chunks/build/api-error-BwAQLw44.mjs +47 -0
- package/.output/server/chunks/build/api-error-BwAQLw44.mjs.map +1 -0
- package/.output/server/chunks/build/apiClient-D281qrK2.mjs +81 -0
- package/.output/server/chunks/build/apiClient-D281qrK2.mjs.map +1 -0
- package/.output/server/chunks/build/builtin-catalog-edpDcgfL.mjs +1 -1
- package/.output/server/chunks/build/card-CUSocE9p.mjs +953 -0
- package/.output/server/chunks/build/card-CUSocE9p.mjs.map +1 -0
- package/.output/server/chunks/build/channel-templates-RPOtkgRf.mjs +846 -0
- package/.output/server/chunks/build/channel-templates-RPOtkgRf.mjs.map +1 -0
- package/.output/server/chunks/build/checkbox-C4AKj81e.mjs +439 -0
- package/.output/server/chunks/build/checkbox-C4AKj81e.mjs.map +1 -0
- package/.output/server/chunks/build/client-only-qNA2OVV_.mjs +43 -0
- package/.output/server/chunks/build/client-only-qNA2OVV_.mjs.map +1 -0
- package/.output/server/chunks/build/constants-HPHJvjne.mjs +139 -0
- package/.output/server/chunks/build/constants-HPHJvjne.mjs.map +1 -0
- package/.output/server/chunks/build/core-CgTOPS4t.mjs +294 -0
- package/.output/server/chunks/build/core-CgTOPS4t.mjs.map +1 -0
- package/.output/server/chunks/build/daq-CPtsh0e7.mjs +1253 -0
- package/.output/server/chunks/build/daq-CPtsh0e7.mjs.map +1 -0
- package/.output/server/chunks/build/dcw-ry5Gyw6Y.mjs +478 -0
- package/.output/server/chunks/build/dcw-ry5Gyw6Y.mjs.map +1 -0
- package/.output/server/chunks/build/default-DxOE1eB0.mjs +2061 -0
- package/.output/server/chunks/build/default-DxOE1eB0.mjs.map +1 -0
- package/.output/server/chunks/build/descriptions-CFaUq4y4.mjs +406 -0
- package/.output/server/chunks/build/descriptions-CFaUq4y4.mjs.map +1 -0
- package/.output/server/chunks/build/drawer-Cfh9_zft.mjs +834 -0
- package/.output/server/chunks/build/drawer-Cfh9_zft.mjs.map +1 -0
- package/.output/server/chunks/build/dropdown-KdKWCS5K.mjs +556 -0
- package/.output/server/chunks/build/dropdown-KdKWCS5K.mjs.map +1 -0
- package/.output/server/chunks/build/dropdown-Yev6knaj.mjs +14 -0
- package/.output/server/chunks/build/dropdown-Yev6knaj.mjs.map +1 -0
- package/.output/server/chunks/build/form-uSlNqIAV.mjs +4711 -0
- package/.output/server/chunks/build/form-uSlNqIAV.mjs.map +1 -0
- package/.output/server/chunks/build/input-Cr_KFj4T.mjs +1381 -0
- package/.output/server/chunks/build/input-Cr_KFj4T.mjs.map +1 -0
- package/.output/server/chunks/build/input-number-BRVnxeiA.mjs +1119 -0
- package/.output/server/chunks/build/input-number-BRVnxeiA.mjs.map +1 -0
- package/.output/server/chunks/build/interval-DvHBIIZh.mjs +9 -0
- package/.output/server/chunks/build/interval-DvHBIIZh.mjs.map +1 -0
- package/.output/server/chunks/build/logs-CeaiO3y9.mjs +367 -0
- package/.output/server/chunks/build/logs-CeaiO3y9.mjs.map +1 -0
- package/.output/server/chunks/build/menu-BgkRSSx7.mjs +1949 -0
- package/.output/server/chunks/build/menu-BgkRSSx7.mjs.map +1 -0
- package/.output/server/chunks/build/monitor-DnuXEIi5.mjs +2245 -0
- package/.output/server/chunks/build/monitor-DnuXEIi5.mjs.map +1 -0
- package/.output/server/chunks/build/narrow-fetch-CcG-BPxc.mjs +6 -0
- package/.output/server/chunks/build/narrow-fetch-CcG-BPxc.mjs.map +1 -0
- package/.output/server/chunks/build/pages-Bn90ijKD.mjs +539 -0
- package/.output/server/chunks/build/pages-Bn90ijKD.mjs.map +1 -0
- package/.output/server/chunks/build/permissions-DL70W1YD.mjs +629 -0
- package/.output/server/chunks/build/permissions-DL70W1YD.mjs.map +1 -0
- package/.output/server/chunks/build/plugins-DrsZo--K.mjs +246 -0
- package/.output/server/chunks/build/plugins-DrsZo--K.mjs.map +1 -0
- package/.output/server/chunks/build/popconfirm-Ox-_2V8A.mjs +339 -0
- package/.output/server/chunks/build/popconfirm-Ox-_2V8A.mjs.map +1 -0
- package/.output/server/chunks/build/schedules-VLzNcjnW.mjs +7164 -0
- package/.output/server/chunks/build/schedules-VLzNcjnW.mjs.map +1 -0
- package/.output/server/chunks/build/segmented-C61yLHvo.mjs +341 -0
- package/.output/server/chunks/build/segmented-C61yLHvo.mjs.map +1 -0
- package/.output/server/chunks/build/select-rdBWytVK.mjs +3922 -0
- package/.output/server/chunks/build/select-rdBWytVK.mjs.map +1 -0
- package/.output/server/chunks/build/settings-DVAUVMsX.mjs +1089 -0
- package/.output/server/chunks/build/settings-DVAUVMsX.mjs.map +1 -0
- package/.output/server/chunks/build/space-B2uhHJG8.mjs +110 -0
- package/.output/server/chunks/build/space-B2uhHJG8.mjs.map +1 -0
- package/.output/server/chunks/build/spin-C2cuvGth.mjs +357 -0
- package/.output/server/chunks/build/spin-C2cuvGth.mjs.map +1 -0
- package/.output/server/chunks/build/switch-DZAUIbIN.mjs +377 -0
- package/.output/server/chunks/build/switch-DZAUIbIN.mjs.map +1 -0
- package/.output/server/chunks/build/table-DOFAvY-v.mjs +8881 -0
- package/.output/server/chunks/build/table-DOFAvY-v.mjs.map +1 -0
- package/.output/server/chunks/build/tabs-DTeIuZeP.mjs +1923 -0
- package/.output/server/chunks/build/tabs-DTeIuZeP.mjs.map +1 -0
- package/.output/server/chunks/build/tag-CHLGvNM6.mjs +1029 -0
- package/.output/server/chunks/build/tag-CHLGvNM6.mjs.map +1 -0
- package/.output/server/chunks/build/teams-Mc07PYO8.mjs +1195 -0
- package/.output/server/chunks/build/teams-Mc07PYO8.mjs.map +1 -0
- package/.output/server/chunks/build/tokens-DiwD5qni.mjs +1036 -0
- package/.output/server/chunks/build/tokens-DiwD5qni.mjs.map +1 -0
- package/.output/server/chunks/build/town-BIn3be5v.mjs +39 -0
- package/.output/server/chunks/build/town-BIn3be5v.mjs.map +1 -0
- package/.output/server/chunks/build/town-D8VmTCmN.mjs +128 -0
- package/.output/server/chunks/build/town-D8VmTCmN.mjs.map +1 -0
- package/.output/server/chunks/build/types-D6J7slEa.mjs +5561 -0
- package/.output/server/chunks/build/types-D6J7slEa.mjs.map +1 -0
- package/.output/server/chunks/build/useAgentHarnessOptions-CPn5dzKe.mjs +121 -0
- package/.output/server/chunks/build/useAgentHarnessOptions-CPn5dzKe.mjs.map +1 -0
- package/.output/server/chunks/build/useAgentTemplateActions-DQWzVnZ0.mjs +74 -0
- package/.output/server/chunks/build/useAgentTemplateActions-DQWzVnZ0.mjs.map +1 -0
- package/.output/server/chunks/build/useAgentTemplateDialogState-CZzpu5og.mjs +64 -0
- package/.output/server/chunks/build/useAgentTemplateDialogState-CZzpu5og.mjs.map +1 -0
- package/.output/server/chunks/build/useAgentTemplateForm-vqyiRPtt.mjs +114 -0
- package/.output/server/chunks/build/useAgentTemplateForm-vqyiRPtt.mjs.map +1 -0
- package/.output/server/chunks/build/useAgentTemplatesCatalog-DcQbsOik.mjs +130 -0
- package/.output/server/chunks/build/useAgentTemplatesCatalog-DcQbsOik.mjs.map +1 -0
- package/.output/server/chunks/build/useAmlDatasets-BM0lZu40.mjs +89 -0
- package/.output/server/chunks/build/useAmlDatasets-BM0lZu40.mjs.map +1 -0
- package/.output/server/chunks/build/useAmlEntities-BjXWvFd_.mjs +83 -0
- package/.output/server/chunks/build/useAmlEntities-BjXWvFd_.mjs.map +1 -0
- package/.output/server/chunks/build/useAmlEnv-BB7p6x_w.mjs +191 -0
- package/.output/server/chunks/build/useAmlEnv-BB7p6x_w.mjs.map +1 -0
- package/.output/server/chunks/build/useAmlExperiments-BtyW32PO.mjs +86 -0
- package/.output/server/chunks/build/useAmlExperiments-BtyW32PO.mjs.map +1 -0
- package/.output/server/chunks/build/useAmlFormat-WrKuRfw2.mjs +79 -0
- package/.output/server/chunks/build/useAmlFormat-WrKuRfw2.mjs.map +1 -0
- package/.output/server/chunks/build/useAmlJobs-DBuLvWMF.mjs +263 -0
- package/.output/server/chunks/build/useAmlJobs-DBuLvWMF.mjs.map +1 -0
- package/.output/server/chunks/build/useAmlModels-VurmkBYe.mjs +90 -0
- package/.output/server/chunks/build/useAmlModels-VurmkBYe.mjs.map +1 -0
- package/.output/server/chunks/build/useAmlNotes-BUdj3X6Y.mjs +83 -0
- package/.output/server/chunks/build/useAmlNotes-BUdj3X6Y.mjs.map +1 -0
- package/.output/server/chunks/build/useAmlPredict-DFy-Do10.mjs +127 -0
- package/.output/server/chunks/build/useAmlPredict-DFy-Do10.mjs.map +1 -0
- package/.output/server/chunks/build/useDaqAddNode-kW7uTSMQ.mjs +139 -0
- package/.output/server/chunks/build/useDaqAddNode-kW7uTSMQ.mjs.map +1 -0
- package/.output/server/chunks/build/useDaqDetailBinding-cpBz4hSL.mjs +67 -0
- package/.output/server/chunks/build/useDaqDetailBinding-cpBz4hSL.mjs.map +1 -0
- package/.output/server/chunks/build/useDaqDetailFrames-BZGtKKXW.mjs +76 -0
- package/.output/server/chunks/build/useDaqDetailFrames-BZGtKKXW.mjs.map +1 -0
- package/.output/server/chunks/build/useDaqDetailHistory-C4_hVeqZ.mjs +173 -0
- package/.output/server/chunks/build/useDaqDetailHistory-C4_hVeqZ.mjs.map +1 -0
- package/.output/server/chunks/build/useDaqDetailNode-Bwid_iA8.mjs +96 -0
- package/.output/server/chunks/build/useDaqDetailNode-Bwid_iA8.mjs.map +1 -0
- package/.output/server/chunks/build/useDaqDetailParams-JfqHvTxr.mjs +156 -0
- package/.output/server/chunks/build/useDaqDetailParams-JfqHvTxr.mjs.map +1 -0
- package/.output/server/chunks/build/useDaqFilters-C13836p-.mjs +219 -0
- package/.output/server/chunks/build/useDaqFilters-C13836p-.mjs.map +1 -0
- package/.output/server/chunks/build/useDaqNodeWindow-1DWj2H5G.mjs +87 -0
- package/.output/server/chunks/build/useDaqNodeWindow-1DWj2H5G.mjs.map +1 -0
- package/.output/server/chunks/build/useDaqOptimizations-Ct-TSXxy.mjs +133 -0
- package/.output/server/chunks/build/useDaqOptimizations-Ct-TSXxy.mjs.map +1 -0
- package/.output/server/chunks/build/useDaqStream-wOxZcMDA.mjs +395 -0
- package/.output/server/chunks/build/useDaqStream-wOxZcMDA.mjs.map +1 -0
- package/.output/server/chunks/build/useDaqTemplates-BqQRdrIm.mjs +184 -0
- package/.output/server/chunks/build/useDaqTemplates-BqQRdrIm.mjs.map +1 -0
- package/.output/server/chunks/build/useDashboardCharts-DZysNDUX.mjs +351 -0
- package/.output/server/chunks/build/useDashboardCharts-DZysNDUX.mjs.map +1 -0
- package/.output/server/chunks/build/useDashboardData-Ny_wtbo6.mjs +150 -0
- package/.output/server/chunks/build/useDashboardData-Ny_wtbo6.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwAddNode-C8nE7geh.mjs +148 -0
- package/.output/server/chunks/build/useDcwAddNode-C8nE7geh.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwCards-ETEsHvVy.mjs +64 -0
- package/.output/server/chunks/build/useDcwCards-ETEsHvVy.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwDetailScope-BNrpDzbO.mjs +181 -0
- package/.output/server/chunks/build/useDcwDetailScope-BNrpDzbO.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwDetailTemplates-IcKAJ37Y.mjs +145 -0
- package/.output/server/chunks/build/useDcwDetailTemplates-IcKAJ37Y.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwFilter-FfVlDdyS.mjs +68 -0
- package/.output/server/chunks/build/useDcwFilter-FfVlDdyS.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwLedger-BLoMmcu1.mjs +76 -0
- package/.output/server/chunks/build/useDcwLedger-BLoMmcu1.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwLineMutations-BMC5BTWU.mjs +134 -0
- package/.output/server/chunks/build/useDcwLineMutations-BMC5BTWU.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwLineRun-Bpxk4mse.mjs +101 -0
- package/.output/server/chunks/build/useDcwLineRun-Bpxk4mse.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwProducts-D-zrMaeV.mjs +90 -0
- package/.output/server/chunks/build/useDcwProducts-D-zrMaeV.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwQuery-1lYHOaU6.mjs +95 -0
- package/.output/server/chunks/build/useDcwQuery-1lYHOaU6.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwQuickActions-C-tgcXIr.mjs +85 -0
- package/.output/server/chunks/build/useDcwQuickActions-C-tgcXIr.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwRecipes-BzGOymqz.mjs +237 -0
- package/.output/server/chunks/build/useDcwRecipes-BzGOymqz.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwStream-D04kCV3J.mjs +435 -0
- package/.output/server/chunks/build/useDcwStream-D04kCV3J.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwTemplates-Dsjw9u6U.mjs +88 -0
- package/.output/server/chunks/build/useDcwTemplates-Dsjw9u6U.mjs.map +1 -0
- package/.output/server/chunks/build/useDcwWrites-3RxwN36I.mjs +120 -0
- package/.output/server/chunks/build/useDcwWrites-3RxwN36I.mjs.map +1 -0
- package/.output/server/chunks/build/useDeviceTwins-CbVad1M3.mjs +128 -0
- package/.output/server/chunks/build/useDeviceTwins-CbVad1M3.mjs.map +1 -0
- package/.output/server/chunks/build/useLocalTime-9a4B-aHv.mjs +1 -8
- package/.output/server/chunks/build/useLocalTime-9a4B-aHv.mjs.map +1 -1
- package/.output/server/chunks/build/useLogsFormat-BlwLpyzy.mjs +74 -0
- package/.output/server/chunks/build/useLogsFormat-BlwLpyzy.mjs.map +1 -0
- package/.output/server/chunks/build/useLogsManual-Deev2Cjk.mjs +81 -0
- package/.output/server/chunks/build/useLogsManual-Deev2Cjk.mjs.map +1 -0
- package/.output/server/chunks/build/useLogsQuery-CRAm2hmS.mjs +112 -0
- package/.output/server/chunks/build/useLogsQuery-CRAm2hmS.mjs.map +1 -0
- package/.output/server/chunks/build/useLogsScope-ClNijVj4.mjs +80 -0
- package/.output/server/chunks/build/useLogsScope-ClNijVj4.mjs.map +1 -0
- package/.output/server/chunks/build/useMonitorColumns-ylxrUNTK.mjs +212 -0
- package/.output/server/chunks/build/useMonitorColumns-ylxrUNTK.mjs.map +1 -0
- package/.output/server/chunks/build/useMonitorData-CEpKXoD4.mjs +131 -0
- package/.output/server/chunks/build/useMonitorData-CEpKXoD4.mjs.map +1 -0
- package/.output/server/chunks/build/useMonitorFormat-_7zLapf3.mjs +87 -0
- package/.output/server/chunks/build/useMonitorFormat-_7zLapf3.mjs.map +1 -0
- package/.output/server/chunks/build/useMonitorTerminal-Dj4QwRNW.mjs +68 -0
- package/.output/server/chunks/build/useMonitorTerminal-Dj4QwRNW.mjs.map +1 -0
- package/.output/server/chunks/build/useOpsLog-CgnNG7_n.mjs +137 -0
- package/.output/server/chunks/build/useOpsLog-CgnNG7_n.mjs.map +1 -0
- package/.output/server/chunks/build/useTeamActions-D6sxdpkP.mjs +76 -0
- package/.output/server/chunks/build/useTeamActions-D6sxdpkP.mjs.map +1 -0
- package/.output/server/chunks/build/useTeamAddMemberDialog-Q-ntQ6Vo.mjs +81 -0
- package/.output/server/chunks/build/useTeamAddMemberDialog-Q-ntQ6Vo.mjs.map +1 -0
- package/.output/server/chunks/build/useTeamCreateDialog-D7OMfDTM.mjs +94 -0
- package/.output/server/chunks/build/useTeamCreateDialog-D7OMfDTM.mjs.map +1 -0
- package/.output/server/chunks/build/useTeamDeployDialog-vBRqjiut.mjs +77 -0
- package/.output/server/chunks/build/useTeamDeployDialog-vBRqjiut.mjs.map +1 -0
- package/.output/server/chunks/build/useTeamDialogState-CFRUQxAf.mjs +79 -0
- package/.output/server/chunks/build/useTeamDialogState-CFRUQxAf.mjs.map +1 -0
- package/.output/server/chunks/build/useTeamPluginDialog-B8kxewpZ.mjs +100 -0
- package/.output/server/chunks/build/useTeamPluginDialog-B8kxewpZ.mjs.map +1 -0
- package/.output/server/chunks/build/useTeamsCatalog-xRhk7ezA.mjs +120 -0
- package/.output/server/chunks/build/useTeamsCatalog-xRhk7ezA.mjs.map +1 -0
- package/.output/server/chunks/build/useTokenClipboard-CwQpoFeP.mjs +69 -0
- package/.output/server/chunks/build/useTokenClipboard-CwQpoFeP.mjs.map +1 -0
- package/.output/server/chunks/build/useTokenCreate-DpDcF1Vx.mjs +112 -0
- package/.output/server/chunks/build/useTokenCreate-DpDcF1Vx.mjs.map +1 -0
- package/.output/server/chunks/build/useTokenRename-BRejFrtc.mjs +84 -0
- package/.output/server/chunks/build/useTokenRename-BRejFrtc.mjs.map +1 -0
- package/.output/server/chunks/build/useTokenReveal-DER2afAS.mjs +115 -0
- package/.output/server/chunks/build/useTokenReveal-DER2afAS.mjs.map +1 -0
- package/.output/server/chunks/build/useTokensList-DHt65IOY.mjs +89 -0
- package/.output/server/chunks/build/useTokensList-DHt65IOY.mjs.map +1 -0
- package/.output/server/chunks/build/useWorkbenchAuth-B2j-zILO.mjs +135 -0
- package/.output/server/chunks/build/useWorkbenchAuth-B2j-zILO.mjs.map +1 -0
- package/.output/server/chunks/build/useWorkbenchWorkspaces-B_2mOxN6.mjs +133 -0
- package/.output/server/chunks/build/useWorkbenchWorkspaces-B_2mOxN6.mjs.map +1 -0
- package/.output/server/chunks/build/useWorkshopApi-B1B9vd4m.mjs +102 -0
- package/.output/server/chunks/build/useWorkshopApi-B1B9vd4m.mjs.map +1 -0
- package/.output/server/chunks/build/useWorkshopWs-B-Es2Xg3.mjs +1782 -0
- package/.output/server/chunks/build/useWorkshopWs-B-Es2Xg3.mjs.map +1 -0
- package/.output/server/chunks/build/useWorkspaceAuth-tQ1ORWXo.mjs +57 -0
- package/.output/server/chunks/build/useWorkspaceAuth-tQ1ORWXo.mjs.map +1 -0
- package/.output/server/chunks/build/useWorkspaceChannels-BwB6TAWY.mjs +87 -0
- package/.output/server/chunks/build/useWorkspaceChannels-BwB6TAWY.mjs.map +1 -0
- package/.output/server/chunks/build/useWorkspacePanels-CuAmDpT5.mjs +75 -0
- package/.output/server/chunks/build/useWorkspacePanels-CuAmDpT5.mjs.map +1 -0
- package/.output/server/chunks/build/useWorkspaceShell-CcQ4JlqO.mjs +165 -0
- package/.output/server/chunks/build/useWorkspaceShell-CcQ4JlqO.mjs.map +1 -0
- package/.output/server/chunks/build/users-De2HygNt.mjs +561 -0
- package/.output/server/chunks/build/users-De2HygNt.mjs.map +1 -0
- package/.output/server/chunks/build/workshop-CmgpTwyf.mjs +1018 -0
- package/.output/server/chunks/build/workshop-CmgpTwyf.mjs.map +1 -0
- package/.output/server/chunks/build/workspaces-DVIEk1Bl.mjs +139 -0
- package/.output/server/chunks/build/workspaces-DVIEk1Bl.mjs.map +1 -0
- package/.output/server/chunks/routes/api/health.get.mjs +2 -2
- package/.output/server/chunks/routes/api/index.get.mjs +2 -2
- package/.output/server/chunks/routes/api/index.post.mjs +2 -2
- package/.output/server/chunks/routes/api/mcp/workshop.mjs +2 -2
- package/.output/server/chunks/routes/api/metrics.mjs +2 -2
- package/.output/server/chunks/routes/api/plugins/_name/_...path_.mjs +2 -2
- package/.output/server/chunks/routes/api/plugins/client/_name_.get.mjs +2 -2
- package/.output/server/chunks/routes/api/plugins/i18n.get.mjs +2 -2
- package/.output/server/chunks/routes/api/plugins/manifest.get.mjs +2 -2
- package/.output/server/chunks/routes/api/system/config-groups/_id_.delete.mjs +2 -2
- package/.output/server/chunks/routes/api/system/config-groups/_id_.patch.mjs +2 -2
- package/.output/server/chunks/routes/api/system/config.get.mjs +2 -2
- package/.output/server/chunks/routes/api/system/index.get.mjs +2 -2
- package/.output/server/chunks/routes/api/system/index.patch.mjs +2 -2
- package/.output/server/chunks/routes/api/system/index.post.mjs +2 -2
- package/.output/server/chunks/routes/api/system/index2.get.mjs +2 -2
- package/.output/server/chunks/routes/api/system/monitor/terminal/ws.mjs +35 -4
- package/.output/server/chunks/routes/api/system/monitor/terminal/ws.mjs.map +1 -1
- package/.output/server/chunks/routes/api/system/monitor/terminate.post.mjs +2 -2
- package/.output/server/chunks/routes/api/system/monitor.get.mjs +2 -2
- package/.output/server/chunks/routes/api/system/settings/events.get.mjs +2 -2
- package/.output/server/chunks/routes/api/system/settings/reset.post.mjs +2 -2
- package/.output/server/chunks/routes/api/users/_id_.delete.mjs +2 -2
- package/.output/server/chunks/routes/api/users/_id_.get.mjs +2 -2
- package/.output/server/chunks/routes/api/users/_id_.put.mjs +2 -2
- package/.output/server/chunks/routes/api/users/index.get.mjs +2 -2
- package/.output/server/chunks/routes/api/users/index.post.mjs +2 -2
- package/.output/server/chunks/routes/api/users/login.post.mjs +2 -2
- package/.output/server/chunks/routes/api/users/logout.post.mjs +2 -2
- package/.output/server/chunks/routes/api/users/me.get.mjs +2 -2
- package/.output/server/chunks/routes/api/users/register.post.mjs +2 -2
- package/.output/server/chunks/routes/api/users/setup-status.get.mjs +2 -2
- package/.output/server/chunks/routes/api/users/tokens/_id/token.get.mjs +2 -2
- package/.output/server/chunks/routes/api/users/tokens/_id_.delete.mjs +2 -2
- package/.output/server/chunks/routes/api/users/tokens/_id_.patch.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/_...path_.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/a2a/send.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/agent-tools/approvals/_id/decide.post.mjs +38 -6
- package/.output/server/chunks/routes/api/workshop/agent-tools/approvals/_id/decide.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.delete.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.patch.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/agent-tools/index.get.mjs +14 -5
- package/.output/server/chunks/routes/api/workshop/agent-tools/index.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/agent-tools/index.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/agent-tools/index2.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/agent-tools/invoke.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/agent-tools/list.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/agents/_id_.delete.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/agents/_id_.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/agents/_id_.patch.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/agents/subscribe.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/aml/datasets/_id/preview.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.delete.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.patch.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/aml/entities/prune.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/aml/env/recheck.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/aml/env/uv.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/aml/env/venv.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/aml/index.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/aml/index.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/aml/index2.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/aml/index2.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/aml/index3.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/aml/index4.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/aml/index5.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/aml/index6.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/cancel.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/logs.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/retry.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/aml/jobs/_id_.delete.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/aml/jobs/_id_.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/aml/models/_id/predict.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/aml/models/_id/promote.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/aml/models/_id_.delete.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/aml/models/_id_.patch.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/approvals/_id/decide.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/assets/character/_id_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/assets/devices/_id_.delete.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/assets/index.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/assets/index.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/assets/index2.get.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/assets/index2.post.mjs +1 -1
- package/.output/server/chunks/routes/api/workshop/audit.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/caller.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id/instantiate.post.mjs +10 -5
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id/instantiate.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.delete.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.patch.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/channel-templates/from-channel.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/channels/_id/activate.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/_memoryId_.delete.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/search.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/model.patch.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/position.patch.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/range.patch.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/stop.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.delete.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.patch.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/channels/_id/chat/index.get.mjs +41 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/chat/index.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/chat/index.post.mjs +52 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/chat/index.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/chat/messages/_messageId/read.post.mjs +33 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/chat/messages/_messageId/read.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/chat/permissions.get.mjs +48 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/chat/permissions.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/events.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/channels/_id/index.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/channels/_id/index.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/channels/_id/index.put.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/channels/_id/index2.get.mjs +10 -14
- package/.output/server/chunks/routes/api/workshop/channels/_id/index2.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index2.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/channels/_id/index3.get.mjs +15 -28
- package/.output/server/chunks/routes/api/workshop/channels/_id/index3.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index3.post.mjs +3 -2
- package/.output/server/chunks/routes/api/workshop/channels/_id/index3.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index4.get.mjs +29 -23
- package/.output/server/chunks/routes/api/workshop/channels/_id/index4.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index4.post.mjs +9 -4
- package/.output/server/chunks/routes/api/workshop/channels/_id/index4.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index5.get.mjs +22 -10
- package/.output/server/chunks/routes/api/workshop/channels/_id/index5.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels/_id/index6.get.mjs +34 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/index6.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/members/_userId/approve.post.mjs +33 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/members/_userId/approve.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/members/_userId_.delete.mjs +34 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/members/_userId_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/members/join.post.mjs +35 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/members/join.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/members/leave.post.mjs +33 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/members/leave.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId_.delete.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/channels/_id/queue.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/channels/_id/terminals.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/channels/_id_.delete.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/channels/index.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/channels/index.patch.mjs +22 -6
- package/.output/server/chunks/routes/api/workshop/channels/index.patch.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels.get.mjs +21 -3
- package/.output/server/chunks/routes/api/workshop/channels.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/channels.post.mjs +5 -5
- package/.output/server/chunks/routes/api/workshop/daq/_id/bind.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/daq/_id/bindings.put.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/daq/_id/frames/content.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/daq/_id/frames.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/daq/_id/samples.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/daq/_id/test.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/daq/_id_.delete.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/daq/_id_.patch.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/daq/alarms/_id/ack.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/daq/alarms.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/daq/controller.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/daq/index.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/daq/infra/reconnect.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/daq/infra.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.delete.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.patch.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/daq/test-driver.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/_id/bind.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/_id/bindings.put.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/_id/param-ledger.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/_id/read.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/_id/test.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/_id/write.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/_id_.delete.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/_id_.patch.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/controller.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/index.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/index.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/index2.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/index2.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/index3.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/index3.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/index4.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/index4.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/index5.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/index5.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/index6.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/journal/node/_nodeId/rollback.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/line/query.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/start.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/stop.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.delete.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.patch.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/judge.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/rollback.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/series.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id_.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/params/_id/read.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/params/_id/write.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.delete.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.patch.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.delete.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.patch.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/apply.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/mark-good.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/revert.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/rollback-good.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/versions.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id_.delete.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/recipes/index.patch.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/close.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/data.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/rollback.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.delete.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.patch.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/dcw/test-driver.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/device-twins/_id/control.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/device-twins/_id/telemetry.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/device-twins/_id_.delete.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/device-twins/_id_.patch.mjs +2 -2
- 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 +2 -2
- package/.output/server/chunks/routes/api/workshop/harnesses.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/hitl/pending.get.mjs +11 -4
- package/.output/server/chunks/routes/api/workshop/hitl/pending.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/hitl/respond.post.mjs +28 -36
- package/.output/server/chunks/routes/api/workshop/hitl/respond.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/index.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/index.put.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/index10.get.mjs +26 -12
- package/.output/server/chunks/routes/api/workshop/index10.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index11.get.mjs +12 -7
- package/.output/server/chunks/routes/api/workshop/index11.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index12.get.mjs +3 -3
- package/.output/server/chunks/routes/api/workshop/index12.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index13.get.mjs +29 -0
- package/.output/server/chunks/routes/api/workshop/index13.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/index14.get.mjs +28 -0
- package/.output/server/chunks/routes/api/workshop/index14.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/index2.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/index2.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/index3.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/index3.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/index4.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/index4.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/index5.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/index5.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/index6.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/index6.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/index7.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/index7.post.mjs +14 -16
- package/.output/server/chunks/routes/api/workshop/index7.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index8.get.mjs +40 -19
- package/.output/server/chunks/routes/api/workshop/index8.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index8.post.mjs +19 -5
- package/.output/server/chunks/routes/api/workshop/index8.post.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index9.get.mjs +20 -24
- package/.output/server/chunks/routes/api/workshop/index9.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/index9.post.mjs +30 -0
- package/.output/server/chunks/routes/api/workshop/index9.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/mailbox/all.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/mailbox.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/memories/maintenance.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/notifications/read.post.mjs +41 -0
- package/.output/server/chunks/routes/api/workshop/notifications/read.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/plugins/_name/disable.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/plugins/_name/enable.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/plugins/index.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/runtime.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.delete.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.put.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/scene/layouts.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/schedules/_id/run.post.mjs +29 -0
- package/.output/server/chunks/routes/api/workshop/schedules/_id/run.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/schedules/_id/runs.get.mjs +31 -0
- package/.output/server/chunks/routes/api/workshop/schedules/_id/runs.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/schedules/_id_.delete.mjs +30 -0
- package/.output/server/chunks/routes/api/workshop/schedules/_id_.delete.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/schedules/_id_.get.mjs +29 -0
- package/.output/server/chunks/routes/api/workshop/schedules/_id_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/schedules/_id_.patch.mjs +40 -0
- package/.output/server/chunks/routes/api/workshop/schedules/_id_.patch.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/tasks/_id/complete.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/tasks/_id/dispatch.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/tasks/_id/index.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/tasks/_id/reassign.post.mjs +39 -0
- package/.output/server/chunks/routes/api/workshop/tasks/_id/reassign.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/tasks/_id/report.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/tasks/_id/retry.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/tasks/_id/update.post.mjs +44 -0
- package/.output/server/chunks/routes/api/workshop/tasks/_id/update.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/workshop/tasks/_id_.get.mjs +9 -5
- package/.output/server/chunks/routes/api/workshop/tasks/_id_.get.mjs.map +1 -1
- package/.output/server/chunks/routes/api/workshop/tasks.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/teams/_id/deploy.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/teams/_id/index.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/teams/_id/index.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/teams/_id/index.put.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/teams/_id/index2.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/teams/_id/members/_agentId_.delete.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/teams/_id_.delete.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/teams/_id_.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/teams/_id_.patch.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/users/me.get.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/users/register.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/workspaces/_id/channel-templates/_tplId_.post.mjs +3 -3
- package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.delete.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.post.mjs +2 -2
- package/.output/server/chunks/routes/api/workshop/workspaces/index.delete.mjs +2 -2
- package/.output/server/chunks/routes/renderer.mjs +3 -3
- package/.output/server/chunks/virtual/entry.mjs +6055 -1624
- package/.output/server/chunks/virtual/entry.mjs.map +1 -1
- package/.output/server/chunks/virtual/precomputed.mjs +1 -1
- package/.output/server/index.mjs +15 -5549
- package/.output/server/index.mjs.map +1 -1
- package/.output/server/package.json +1 -1
- package/README-zh.md +102 -48
- package/README.md +105 -38
- package/app/components/AppHeader.vue +26 -703
- package/app/components/aml/AmlDatasetFormModal.vue +279 -0
- package/app/components/aml/AmlDatasetTable.vue +319 -0
- package/app/components/aml/AmlEnvPanel.vue +230 -0
- package/app/components/aml/AmlExperimentsTable.vue +142 -0
- package/app/components/aml/AmlInfraBanner.vue +23 -0
- package/app/components/aml/AmlJobsTable.vue +248 -0
- package/app/components/aml/AmlModelsTable.vue +173 -0
- package/app/components/aml/AmlOverviewBar.vue +62 -0
- package/app/components/aml/AmlPageHeader.vue +47 -0
- package/app/components/aml/AmlPredictConsole.vue +201 -0
- package/app/components/app-header/HeaderTools.vue +208 -0
- package/app/components/app-header/HitlBell.vue +423 -0
- package/app/components/app-header/TrailNav.vue +261 -0
- package/app/components/app-header/UserChip.vue +150 -0
- package/app/components/daq/DaqAddNodeModal.vue +209 -0
- package/app/components/daq/DaqAlarmBar.vue +46 -0
- package/app/components/daq/DaqControlCard.vue +159 -0
- package/app/components/daq/DaqDetailFramesTile.vue +139 -0
- package/app/components/daq/DaqDetailHistoryCard.vue +128 -0
- package/app/components/daq/DaqDetailLiveCard.vue +92 -0
- package/app/components/daq/DaqDetailParamForm.vue +350 -0
- package/app/components/daq/DaqInfraBanner.vue +31 -0
- package/app/components/daq/DaqLineBanner.vue +47 -0
- package/app/components/daq/DaqNodePanel.vue +396 -0
- package/app/components/daq/DaqOptPanel.vue +197 -0
- package/app/components/daq/DaqTemplateModal.vue +246 -0
- package/app/components/dashboard/DashboardFleetPanel.vue +228 -0
- package/app/components/dashboard/DashboardGaugeBand.vue +78 -0
- package/app/components/dashboard/DashboardHarnessPanel.vue +149 -0
- package/app/components/dashboard/DashboardHero.vue +209 -0
- package/app/components/dashboard/DashboardLineStatePanel.vue +78 -0
- package/app/components/dashboard/DashboardNodeStatePanel.vue +46 -0
- package/app/components/dashboard/DashboardPipelinePanel.vue +46 -0
- package/app/components/dashboard/DashboardTrendPanel.vue +83 -0
- package/app/components/dashboard/DashboardWritePanel.vue +52 -0
- package/app/components/dcw/DcwAddNodeModal.vue +328 -0
- package/app/components/dcw/DcwAdoptCard.vue +89 -0
- package/app/components/dcw/DcwCreateLineModal.vue +105 -0
- package/app/components/dcw/DcwDeleteLineModal.vue +73 -0
- package/app/components/dcw/DcwDetailHead.vue +65 -0
- package/app/components/dcw/DcwDetailTemplateModal.vue +238 -0
- package/app/components/dcw/DcwEditLineModal.vue +108 -0
- package/app/components/dcw/DcwGatewayBar.vue +94 -0
- package/app/components/dcw/DcwLedgerCard.vue +160 -0
- package/app/components/dcw/DcwLineCard.vue +117 -0
- package/app/components/dcw/DcwLineRunCard.vue +158 -0
- package/app/components/dcw/DcwNodesTable.vue +253 -0
- package/app/components/dcw/DcwProductCreateModal.vue +113 -0
- package/app/components/dcw/DcwQueryCard.vue +251 -0
- package/app/components/dcw/DcwRecipeEditModal.vue +285 -0
- package/app/components/dcw/DcwRecipeHistoryModal.vue +165 -0
- package/app/components/dcw/DcwRecipePanel.vue +367 -0
- package/app/components/dcw/DcwRunDataModal.vue +191 -0
- package/app/components/dcw/DcwTemplateModal.vue +227 -0
- package/app/components/dcw/DcwWriteHistoryCard.vue +96 -0
- package/app/components/logs/LogsEventTable.vue +309 -0
- package/app/components/logs/LogsFilterCard.vue +234 -0
- package/app/components/logs/LogsManualModal.vue +231 -0
- package/app/components/logs/LogsPageHead.vue +71 -0
- package/app/components/monitor/MonitorAgentTable.vue +143 -0
- package/app/components/monitor/MonitorChannelTable.vue +80 -0
- package/app/components/monitor/MonitorLoginGate.vue +24 -0
- package/app/components/monitor/MonitorPageHead.vue +92 -0
- package/app/components/monitor/MonitorProcessTable.vue +159 -0
- package/app/components/monitor/MonitorStatGrid.vue +165 -0
- package/app/components/settings/AppearancePane.vue +282 -0
- package/app/components/settings/PluginsSection.vue +280 -0
- package/app/components/settings/RuntimeFieldRow.vue +189 -0
- package/app/components/settings/RuntimeGroupSection.vue +290 -0
- package/app/components/settings/RuntimePane.vue +235 -0
- package/app/components/settings/SystemPane.vue +83 -0
- package/app/components/tokens/TokenCreateModal.vue +42 -0
- package/app/components/tokens/TokenOnceModal.vue +164 -0
- package/app/components/tokens/TokenRenameModal.vue +40 -0
- package/app/components/tokens/TokensAuthGate.vue +47 -0
- package/app/components/tokens/TokensPageHead.vue +76 -0
- package/app/components/tokens/TokensTable.vue +227 -0
- package/app/components/workshop/AgentLanesView.vue +35 -755
- package/app/components/workshop/ChannelSessionList.vue +58 -493
- package/app/components/workshop/ChatMemberPanel.vue +555 -0
- package/app/components/workshop/ChatTimeline.vue +569 -0
- package/app/components/workshop/CommandPalette.vue +1 -0
- package/app/components/workshop/Composer.vue +224 -511
- package/app/components/workshop/DeviceTwinPanel.vue +23 -499
- package/app/components/workshop/EventBlock.vue +20 -408
- package/app/components/workshop/MemoryPanel.vue +405 -364
- package/app/components/workshop/MultiChannelView.vue +189 -189
- package/app/components/workshop/NotificationCenter.vue +325 -0
- package/app/components/workshop/TaskBoardView.vue +260 -686
- package/app/components/workshop/TaskInspectorDrawer.vue +484 -390
- package/app/components/workshop/TranscriptTimeline.vue +60 -438
- package/app/components/workshop/agents/AgentTemplateEditModal.vue +139 -0
- package/app/components/workshop/agents/AgentTemplateTable.vue +269 -0
- package/app/components/workshop/agents/AgentTemplateToolbar.vue +67 -0
- package/app/components/workshop/blocks/ClusterRoute.vue +1 -1
- package/app/components/workshop/blocks/EventBlockAvatar.vue +114 -0
- package/app/components/workshop/blocks/EventBlockHead.vue +232 -0
- package/app/components/workshop/composer/ComposerToolbar.vue +278 -0
- package/app/components/workshop/composer/MentionMenu.vue +135 -0
- package/app/components/workshop/composer/ReplyChip.vue +65 -0
- package/app/components/workshop/composer/StatusChip.vue +171 -0
- package/app/components/workshop/console/CenterPane.vue +94 -0
- package/app/components/workshop/console/Dock.vue +71 -0
- package/app/components/workshop/console/LeftPane.vue +84 -0
- package/app/components/workshop/console/RightPane.vue +95 -0
- package/app/components/workshop/console/Topbar.vue +289 -0
- package/app/components/workshop/device-twin/DeviceTwinCard.vue +265 -0
- package/app/components/workshop/device-twin/DeviceTwinDcwSection.vue +203 -0
- package/app/components/workshop/lanes/AddMemberModal.vue +270 -0
- package/app/components/workshop/lanes/EditMemberModal.vue +106 -0
- package/app/components/workshop/lanes/LaneHeader.vue +432 -0
- package/app/components/workshop/lanes/LanesToolbar.vue +97 -0
- package/app/components/workshop/session-list/ChannelSettingsModal.vue +329 -0
- package/app/components/workshop/session-list/MountChannelModal.vue +124 -0
- package/app/components/workshop/session-list/SaveTemplateModal.vue +93 -0
- package/app/components/workshop/task-board/Card.vue +172 -0
- package/app/components/workshop/task-board/Column.vue +151 -0
- package/app/components/workshop/task-board/List.vue +157 -0
- package/app/components/workshop/task-board/StatusMenu.vue +88 -0
- package/app/components/workshop/teams/TeamAddMemberModal.vue +53 -0
- package/app/components/workshop/teams/TeamCard.vue +183 -0
- package/app/components/workshop/teams/TeamCreateModal.vue +94 -0
- package/app/components/workshop/teams/TeamDeployModal.vue +40 -0
- package/app/components/workshop/teams/TeamPluginModal.vue +119 -0
- package/app/components/workshop/terminal/OmpTerminalPanel.vue +19 -760
- package/app/components/workshop/terminal/TerminalHitlCard.vue +170 -0
- package/app/components/workshop/town/TownScene.ts +72 -961
- package/app/components/workshop/town/TownScene3D.ts +357 -4045
- package/app/components/workshop/town/TownView.vue +461 -7405
- package/app/components/workshop/town/components/TownAgentBindings.vue +380 -0
- package/app/components/workshop/town/components/TownAgentInspector.vue +546 -0
- package/app/components/workshop/town/components/TownAlarmList.vue +147 -0
- package/app/components/workshop/town/components/TownBoundaryPanel.vue +350 -0
- package/app/components/workshop/town/components/TownCalloutLayer.vue +147 -0
- package/app/components/workshop/town/components/TownChannelDock.vue +116 -0
- package/app/components/workshop/town/components/TownControlDock.vue +400 -0
- package/app/components/workshop/town/components/TownDaqNodeInspector.vue +345 -0
- package/app/components/workshop/town/components/TownDaqTree.vue +366 -0
- package/app/components/workshop/town/components/TownDcwBindSection.vue +473 -0
- package/app/components/workshop/town/components/TownDcwNodeInspector.vue +185 -0
- package/app/components/workshop/town/components/TownDcwTree.vue +280 -0
- package/app/components/workshop/town/components/TownDeviceBindings.vue +394 -0
- package/app/components/workshop/town/components/TownDeviceTransform.vue +248 -0
- package/app/components/workshop/town/components/TownEventList.vue +120 -0
- package/app/components/workshop/town/components/TownHealthBody.vue +100 -0
- package/app/components/workshop/town/components/TownKpiStrip.vue +207 -0
- package/app/components/workshop/town/components/TownLeftRail.vue +308 -0
- package/app/components/workshop/town/components/TownLoadingMask.vue +61 -0
- package/app/components/workshop/town/components/TownNavMap.vue +154 -0
- package/app/components/workshop/town/components/TownRightRail.vue +540 -0
- package/app/components/workshop/town/components/TownStage.vue +281 -0
- package/app/components/workshop/town/components/TownStageTop.vue +238 -0
- package/app/components/workshop/town/components/TownStatusBar.vue +108 -0
- package/app/components/workshop/town/components/TownTopNav.vue +367 -0
- package/app/components/workshop/town/components/TownTrendDock.vue +178 -0
- package/app/components/workshop/town/scene/town-scene-agents.ts +254 -0
- package/app/components/workshop/town/scene/town-scene-behavior.ts +194 -0
- package/app/components/workshop/town/scene/town-scene-bubbles.ts +96 -0
- package/app/components/workshop/town/scene/town-scene-core.ts +158 -0
- package/app/components/workshop/town/scene/town-scene-models.ts +109 -0
- package/app/components/workshop/town/scene/town-scene-visuals.ts +279 -0
- package/app/components/workshop/town/scene/town-scene3d-agents.ts +308 -0
- package/app/components/workshop/town/scene/town-scene3d-blocks.ts +297 -0
- package/app/components/workshop/town/scene/town-scene3d-bubbles.ts +281 -0
- package/app/components/workshop/town/scene/town-scene3d-camera.ts +282 -0
- package/app/components/workshop/town/scene/town-scene3d-devices.ts +433 -0
- package/app/components/workshop/town/scene/town-scene3d-editing.ts +490 -0
- package/app/components/workshop/town/scene/town-scene3d-events.ts +173 -0
- package/app/components/workshop/town/scene/town-scene3d-factory.ts +412 -0
- package/app/components/workshop/town/scene/town-scene3d-hud.ts +110 -0
- package/app/components/workshop/town/scene/town-scene3d-lifecycle.ts +144 -0
- package/app/components/workshop/town/scene/town-scene3d-links.ts +141 -0
- package/app/components/workshop/town/scene/town-scene3d-loop.ts +286 -0
- package/app/components/workshop/town/scene/town-scene3d-models.ts +154 -0
- package/app/components/workshop/town/scene/town-scene3d-nodes.ts +562 -0
- package/app/components/workshop/town/scene/town-scene3d-ranges.ts +273 -0
- package/app/components/workshop/town/scene/town-scene3d-renderer.ts +320 -0
- package/app/components/workshop/town/scene/town-scene3d-selection.ts +257 -0
- package/app/components/workshop/town/scene/town-scene3d-types.ts +264 -0
- package/app/components/workshop/transcript/TranscriptBlockList.vue +68 -0
- package/app/components/workshop/transcript/TranscriptEarlierPager.vue +81 -0
- package/app/components/workshop/transcript/TranscriptEmptyState.vue +153 -0
- package/app/components/workshop/transcript/TranscriptFilterBar.vue +126 -0
- package/app/components/workshop/workbench/AuthGate.vue +179 -0
- package/app/components/workshop/workbench/CreateWorkspaceModal.vue +36 -0
- package/app/components/workshop/workbench/WorkbenchHead.vue +129 -0
- package/app/components/workshop/workbench/WorkspaceCard.vue +198 -0
- package/app/components/workshop/workbench/WorkspaceEmpty.vue +56 -0
- package/app/composables/workshop/device-twin-types.ts +29 -0
- package/app/composables/workshop/event-blocks/attention.ts +58 -0
- package/app/composables/workshop/event-blocks/classify.ts +44 -0
- package/app/composables/workshop/event-blocks/clusterer.ts +231 -0
- package/app/composables/workshop/event-blocks/constants.ts +48 -0
- package/app/composables/workshop/event-blocks/fold-stream.ts +45 -0
- package/app/composables/workshop/event-blocks/markdown.ts +81 -0
- package/app/composables/workshop/event-blocks/mentions.ts +49 -0
- package/app/composables/workshop/event-blocks/text-utils.ts +100 -0
- package/app/composables/workshop/event-blocks/types.ts +40 -0
- package/app/composables/workshop/town/town-relay-props.ts +226 -0
- package/app/composables/workshop/town/town-view-types.ts +145 -0
- package/app/composables/workshop/town/useTownAgentBindings.ts +115 -0
- package/app/composables/workshop/town/useTownAgentChat.ts +203 -0
- package/app/composables/workshop/town/useTownAlarms.ts +36 -0
- package/app/composables/workshop/town/useTownCallouts.ts +174 -0
- package/app/composables/workshop/town/useTownChannels.ts +220 -0
- package/app/composables/workshop/town/useTownHealth.ts +66 -0
- package/app/composables/workshop/town/useTownHudTickers.ts +77 -0
- package/app/composables/workshop/town/useTownLayout.ts +277 -0
- package/app/composables/workshop/town/useTownNavMap.ts +301 -0
- package/app/composables/workshop/town/useTownNodeBindings.ts +345 -0
- package/app/composables/workshop/town/useTownPanelDrag.ts +91 -0
- package/app/composables/workshop/town/useTownRailData.ts +421 -0
- package/app/composables/workshop/town/useTownSceneControl.ts +92 -0
- package/app/composables/workshop/town/useTownSceneInput.ts +275 -0
- package/app/composables/workshop/town/useTownSceneRuntime.ts +390 -0
- package/app/composables/workshop/town/useTownSheets.ts +41 -0
- package/app/composables/workshop/town/useTownTrends.ts +93 -0
- package/app/composables/workshop/useChannelList.ts +88 -0
- package/app/composables/workshop/useChannelTerminals.ts +65 -0
- package/app/composables/workshop/useComposerMentions.ts +130 -0
- package/app/composables/workshop/useDeviceTwinDcwWrite.ts +77 -0
- package/app/composables/workshop/useDeviceTwinPanel.ts +56 -0
- package/app/composables/workshop/useEventBlockView.ts +159 -0
- package/app/composables/workshop/useEventBlocks.ts +33 -662
- package/app/composables/workshop/useHitlAnswer.ts +184 -0
- package/app/composables/workshop/useLaneWidths.ts +27 -0
- package/app/composables/workshop/useOmpTerminalSession.ts +424 -0
- package/app/composables/workshop/usePluginAdmin.ts +152 -0
- package/app/composables/workshop/useRuntimeConfigDraft.ts +118 -0
- package/app/composables/workshop/useSettingsGroups.ts +243 -0
- package/app/composables/workshop/useTaskBoardColumns.ts +47 -0
- package/app/composables/workshop/useTaskBoardDrag.ts +78 -0
- package/app/composables/workshop/useTaskBoardMenu.ts +60 -0
- package/app/composables/workshop/useTaskBoardTasks.ts +74 -0
- package/app/composables/workshop/useTerminalRenderer.ts +308 -0
- package/app/composables/workshop/useTranscriptEnterStage.ts +48 -0
- package/app/composables/workshop/useTranscriptHistory.ts +52 -0
- package/app/composables/workshop/useTranscriptScroll.ts +113 -0
- package/app/composables/workshop/useWorkshopApi.ts +85 -2
- package/app/composables/workshop/useWorkshopWs.ts +265 -126
- package/app/config/schema.ts +13 -0
- package/app/layouts/town.vue +21 -16
- package/app/pages/aml/api.ts +6 -0
- package/app/pages/aml/composables/useAmlDatasets.ts +38 -0
- package/app/pages/aml/composables/useAmlEntities.ts +57 -0
- package/app/pages/aml/composables/useAmlEnv.ts +191 -0
- package/app/pages/aml/composables/useAmlExperiments.ts +45 -0
- package/app/pages/aml/composables/useAmlFormat.ts +44 -0
- package/app/pages/aml/composables/useAmlJobs.ts +131 -0
- package/app/pages/aml/composables/useAmlModels.ts +56 -0
- package/app/pages/aml/composables/useAmlNotes.ts +47 -0
- package/app/pages/aml/composables/useAmlPredict.ts +93 -0
- package/app/pages/aml/constants.ts +63 -0
- package/app/pages/aml/index.vue +143 -2596
- package/app/pages/aml/styles.css +420 -0
- package/app/pages/aml/types.ts +189 -0
- package/app/pages/composables/useDashboardCharts.ts +192 -0
- package/app/pages/composables/useDashboardData.ts +144 -0
- package/app/pages/daq/[id].vue +59 -929
- package/app/pages/daq/composables/useDaqAddNode.ts +126 -0
- package/app/pages/daq/composables/useDaqDetailBinding.ts +29 -0
- package/app/pages/daq/composables/useDaqDetailFrames.ts +42 -0
- package/app/pages/daq/composables/useDaqDetailHistory.ts +199 -0
- package/app/pages/daq/composables/useDaqDetailNode.ts +53 -0
- package/app/pages/daq/composables/useDaqDetailParams.ts +138 -0
- package/app/pages/daq/composables/useDaqFilters.ts +187 -0
- package/app/pages/daq/composables/useDaqNodeWindow.ts +86 -0
- package/app/pages/daq/composables/useDaqOptimizations.ts +99 -0
- package/app/pages/daq/composables/useDaqTemplates.ts +152 -0
- package/app/pages/daq/daq-page.css +681 -0
- package/app/pages/daq/index.vue +132 -2188
- package/app/pages/dcw/[id].vue +297 -2615
- package/app/pages/dcw/composables/useDcwAddNode.ts +121 -0
- package/app/pages/dcw/composables/useDcwCards.ts +27 -0
- package/app/pages/dcw/composables/useDcwDetailScope.ts +145 -0
- package/app/pages/dcw/composables/useDcwDetailTemplates.ts +94 -0
- package/app/pages/dcw/composables/useDcwFilter.ts +29 -0
- package/app/pages/dcw/composables/useDcwLedger.ts +34 -0
- package/app/pages/dcw/composables/useDcwLineMutations.ts +115 -0
- package/app/pages/dcw/composables/useDcwLineRun.ts +60 -0
- package/app/pages/dcw/composables/useDcwProducts.ts +54 -0
- package/app/pages/dcw/composables/useDcwQuery.ts +68 -0
- package/app/pages/dcw/composables/useDcwQuickActions.ts +47 -0
- package/app/pages/dcw/composables/useDcwRecipes.ts +239 -0
- package/app/pages/dcw/composables/useDcwTemplates.ts +50 -0
- package/app/pages/dcw/composables/useDcwWrites.ts +81 -0
- package/app/pages/dcw/dcw-page.css +344 -0
- package/app/pages/dcw/index.vue +64 -986
- package/app/pages/dcw/types.ts +9 -0
- package/app/pages/index.vue +64 -925
- package/app/pages/logs/composables/useLogsFormat.ts +43 -0
- package/app/pages/logs/composables/useLogsManual.ts +63 -0
- package/app/pages/logs/composables/useLogsQuery.ts +52 -0
- package/app/pages/logs/composables/useLogsScope.ts +39 -0
- package/app/pages/logs/index.vue +57 -728
- package/app/pages/monitor/composables/useMonitorColumns.ts +69 -0
- package/app/pages/monitor/composables/useMonitorData.ts +124 -0
- package/app/pages/monitor/composables/useMonitorFormat.ts +39 -0
- package/app/pages/monitor/composables/useMonitorTerminal.ts +28 -0
- package/app/pages/monitor/types.ts +61 -0
- package/app/pages/monitor.vue +88 -658
- package/app/pages/permissions/index.vue +3 -2
- package/app/pages/plugins/index.vue +3 -2
- package/app/pages/settings.vue +7 -1403
- package/app/pages/tokens/composables/useTokenClipboard.ts +33 -0
- package/app/pages/tokens/composables/useTokenCreate.ts +93 -0
- package/app/pages/tokens/composables/useTokenRename.ts +54 -0
- package/app/pages/tokens/composables/useTokenReveal.ts +84 -0
- package/app/pages/tokens/composables/useTokensList.ts +60 -0
- package/app/pages/tokens.vue +79 -597
- package/app/pages/users.vue +5 -4
- package/app/pages/workshop/agents.vue +47 -529
- package/app/pages/workshop/composables/useAgentHarnessOptions.ts +59 -0
- package/app/pages/workshop/composables/useAgentTemplateActions.ts +42 -0
- package/app/pages/workshop/composables/useAgentTemplateDialogState.ts +24 -0
- package/app/pages/workshop/composables/useAgentTemplateForm.ts +88 -0
- package/app/pages/workshop/composables/useAgentTemplatesCatalog.ts +92 -0
- package/app/pages/workshop/composables/useTeamActions.ts +44 -0
- package/app/pages/workshop/composables/useTeamAddMemberDialog.ts +49 -0
- package/app/pages/workshop/composables/useTeamCreateDialog.ts +67 -0
- package/app/pages/workshop/composables/useTeamDeployDialog.ts +49 -0
- package/app/pages/workshop/composables/useTeamDialogState.ts +46 -0
- package/app/pages/workshop/composables/useTeamPluginDialog.ts +72 -0
- package/app/pages/workshop/composables/useTeamsCatalog.ts +100 -0
- package/app/pages/workshop/composables/useWorkbenchAuth.ts +125 -0
- package/app/pages/workshop/composables/useWorkbenchWorkspaces.ts +123 -0
- package/app/pages/workshop/composables/useWorkspaceAuth.ts +31 -0
- package/app/pages/workshop/composables/useWorkspaceChannels.ts +62 -0
- package/app/pages/workshop/composables/useWorkspacePanels.ts +56 -0
- package/app/pages/workshop/composables/useWorkspaceShell.ts +136 -0
- package/app/pages/workshop/index.vue +68 -620
- package/app/pages/workshop/schedules.vue +553 -0
- package/app/pages/workshop/teams.vue +58 -568
- package/app/pages/workshop/w/[wsId].vue +113 -596
- package/app/stores/workshop/chat.ts +434 -0
- package/app/stores/workshop/entities.ts +385 -283
- package/app/stores/workshop/events.ts +5 -4
- package/app/stores/workshop/hitl.ts +110 -7
- package/app/stores/workshop/narrow-fetch.ts +23 -0
- package/app/stores/workshop/notifications.ts +288 -0
- package/app/stores/workshop/user.ts +23 -10
- package/app/stores/workshop/workspaces.ts +12 -2
- package/config.yml +7 -1
- package/docs/aml.md +10 -0
- package/docs/cli.en.md +5 -5
- package/docs/cli.md +5 -5
- package/docs/full-test-plan.md +15 -1
- package/docs/plugins.en.md +1 -1
- package/docs/plugins.md +1 -1
- package/docs/sdk.en.md +1 -1
- package/docs/sdk.md +1 -1
- package/i18n/dicts/dcwDetail.json +2 -0
- package/i18n/locales/en.ts +71 -0
- package/i18n/locales/zh-CN.ts +71 -0
- package/package.json +2 -3
- package/scripts/_audit/detached-instance.mjs +112 -0
- package/scripts/_audit/schedules-ui/schedules-page.png +0 -0
- package/scripts/_audit/schedules-ui/workspace-channel-tag.png +0 -0
- package/scripts/_audit/stubs/nuxt-imports.mjs +67 -0
- package/scripts/_audit/ts-register-hook.mjs +12 -0
- package/scripts/_audit/ts-resolve-hook.mjs +25 -5
- package/scripts/_audit/watchdog-recovery-test.mjs +24 -2
- package/scripts/_dbg-comm-verify.mjs +188 -0
- package/scripts/_dbg-full-feature-e2e.mjs +19 -11
- package/scripts/_dbg-im-e2e.mjs +169 -0
- package/scripts/_dbg-opt2-run.mjs +114 -0
- package/scripts/_dbg-opt2-setup.mjs +95 -0
- package/scripts/_dbg-param-map-e2e.ts +1 -1
- package/scripts/_dbg-param-map-rest-smoke.mjs +1 -1
- package/scripts/_dbg-real-scenario-e2e.mjs +246 -0
- package/scripts/_dbg-schedule-e2e.mjs +262 -0
- package/scripts/_dbg-schedule-ui-verify.mjs +115 -0
- package/scripts/_dbg-team-matrix.mjs +148 -0
- package/scripts/_dbg-ui-fullcrawl.mjs +91 -0
- package/scripts/_dbg-ui-static-audit.mjs +65 -0
- package/scripts/_dbg-write-lock-e2e.mjs +131 -0
- package/scripts/_probe-daq-omp-task.mjs +100 -0
- package/scripts/_probe-daq-scope-default.mjs +123 -0
- package/scripts/_probe-recipe-switch.mjs +92 -0
- package/scripts/_provision-injection-line.mjs +39 -0
- package/scripts/_run-matrix.ps1 +53 -0
- package/scripts/_run-real-injection-fifo-goals.mjs +367 -0
- package/scripts/acceptance-aml-db.ts +23 -0
- package/scripts/acceptance-aml-hybrid-live.mjs +94 -0
- package/scripts/acceptance-aml-hybrid-twin.ts +93 -0
- package/scripts/acceptance-hybrid-python.py +51 -0
- package/scripts/aml-ui-smoke.mjs +2 -0
- package/scripts/api-live-e2e.mjs +32 -7
- package/scripts/demo-group-chat-all-real.ts +279 -0
- package/scripts/demo-group-chat-omp-cases.ts +210 -0
- package/scripts/demo-group-chat-omp.ts +184 -0
- package/scripts/demo-group-chat-order.ts +197 -0
- package/scripts/e2e-agent-team.mjs +6 -4
- package/scripts/e2e-agentteam-chat.mjs +473 -0
- package/scripts/e2e-agentteam-real-triage.mjs +421 -0
- package/scripts/e2e-agentteam-task-flow-real.ts +443 -0
- package/scripts/e2e-aw-tui-global.mjs +8 -8
- package/scripts/e2e-channel-isolation.ts +5 -1
- package/scripts/e2e-closedloop/cleanup.mjs +27 -0
- package/scripts/e2e-closedloop/lib.mjs +109 -0
- package/scripts/e2e-closedloop/main.mjs +59 -0
- package/scripts/e2e-closedloop/scenarios-accounts.mjs +208 -0
- package/scripts/e2e-closedloop/scenarios-authz.mjs +190 -0
- package/scripts/e2e-closedloop/scenarios-daq-dcw.mjs +219 -0
- package/scripts/e2e-closedloop/scenarios-plugins.mjs +169 -0
- package/scripts/e2e-closedloop/state.mjs +10 -0
- package/scripts/e2e-crash-cycle.mjs +108 -0
- package/scripts/e2e-full-closedloop.mjs +6 -919
- package/scripts/e2e-hil-multi-user.mjs +307 -0
- package/scripts/e2e-hil-restart.mjs +339 -0
- package/scripts/e2e-hitl-live.mjs +336 -323
- package/scripts/e2e-lead-team-mgmt.ts +1 -1
- package/scripts/e2e-memory-system.ts +70 -89
- package/scripts/e2e-multiharness-team.mjs +32 -15
- package/scripts/e2e-omp-workspace.ts +21 -6
- package/scripts/e2e-parallel-execution.mjs +20 -6
- package/scripts/e2e-plc-plugin-closedloop.mjs +96 -65
- package/scripts/e2e-rest-memory.mjs +26 -11
- package/scripts/e2e-resume-crash.mjs +22 -7
- package/scripts/e2e-task-queue.ts +8 -8
- package/scripts/e2e-template-isolation.mjs +4 -2
- package/scripts/proof-omp-real.ts +189 -0
- package/scripts/real-injection-closed-loop.mjs +383 -0
- package/scripts/test-agent-runtime.ts +5 -1
- package/scripts/test-agentteam-guardrails.ts +113 -0
- package/scripts/test-agentteam-task-chat-flow.ts +420 -0
- package/scripts/test-agentteam-workflow.ts +472 -0
- package/scripts/test-collab-e2e.mjs +17 -3
- package/scripts/test-dcw-read.ts +9 -2
- package/scripts/test-event-persistence.mjs +10 -2
- package/scripts/test-full-system.ts +16 -3
- package/scripts/test-group-chat-hardening.ts +265 -0
- package/scripts/test-group-chat-unit/lib.ts +186 -0
- package/scripts/test-group-chat-unit/main.ts +45 -0
- package/scripts/test-group-chat-unit/section-a-migration.ts +75 -0
- package/scripts/test-group-chat-unit/section-b-permission-matrix.ts +88 -0
- package/scripts/test-group-chat-unit/section-c-member-lifecycle.ts +64 -0
- package/scripts/test-group-chat-unit/section-d-mention-resolution.ts +36 -0
- package/scripts/test-group-chat-unit/section-e-chat-facts.ts +97 -0
- package/scripts/test-group-chat-unit/section-f-user-notifications.ts +52 -0
- package/scripts/test-group-chat-unit/section-g-member-projection.ts +44 -0
- package/scripts/test-group-chat-unit/section-h-outbox-consistency.ts +30 -0
- package/scripts/test-group-chat-unit/section-i-read-idempotency.ts +24 -0
- package/scripts/test-group-chat-unit/section-j-permission-scope.ts +150 -0
- package/scripts/test-group-chat-unit.ts +35 -0
- package/scripts/test-hitl-decision.ts +526 -0
- package/scripts/test-hitl-legacy-channel-auth.ts +143 -0
- package/scripts/test-lane-history-live.mjs +30 -7
- package/scripts/test-memory-vector.ts +10 -0
- package/scripts/test-orchestration.ts +7 -2
- package/scripts/test-persistence-lazy.ts +7 -1
- package/scripts/test-prompt-system.mjs +46 -20
- package/scripts/test-route-reason.mjs +9 -2
- package/scripts/test-schedule-runtime.ts +309 -0
- package/scripts/test-scheduler-loop/lib.ts +321 -0
- package/scripts/test-scheduler-loop/main.ts +40 -0
- package/scripts/test-scheduler-loop/scenarios-modes.ts +95 -0
- package/scripts/test-scheduler-loop/scenarios-runtime.ts +58 -0
- package/scripts/test-scheduler-loop/scenarios-supervise.ts +183 -0
- package/scripts/test-scheduler-loop/scenarios-triage.ts +102 -0
- package/scripts/test-scheduler-loop.ts +5 -460
- package/scripts/test-supervision-watchdog.ts +105 -0
- package/scripts/test-task-engine.ts +27 -5
- package/scripts/test-task-lease-fencing.ts +154 -0
- package/scripts/test-terminal-e2e.mjs +9 -3
- package/scripts/three-system-e2e/lib.mjs +79 -0
- package/scripts/three-system-e2e/main.mjs +40 -0
- package/scripts/three-system-e2e/phases/phase-0-user-token.mjs +42 -0
- package/scripts/three-system-e2e/phases/phase-0a2-line-autoselect.mjs +35 -0
- package/scripts/three-system-e2e/phases/phase-0b-fixture-grants.mjs +39 -0
- package/scripts/three-system-e2e/phases/phase-0c-plugin-outbound-auth.mjs +95 -0
- package/scripts/three-system-e2e/phases/stage-1-health.mjs +47 -0
- package/scripts/three-system-e2e/phases/stage-2-5-team-plugins.mjs +84 -0
- package/scripts/three-system-e2e/phases/stage-2-teams-tools-hitl.mjs +184 -0
- package/scripts/three-system-e2e/phases/stage-3-diag.mjs +73 -0
- package/scripts/three-system-e2e/phases/stage-4-plugin-toggle.mjs +53 -0
- package/scripts/three-system-e2e/state.mjs +87 -0
- package/scripts/three-system-e2e.mjs +24 -646
- package/scripts/typecheck.mjs +75 -0
- package/scripts/ui/lib.mjs +14 -2
- package/scripts/ui/smoke-refactor.mjs +258 -0
- package/scripts/verify-a2a-live.mjs +15 -1
- package/scripts/verify-ws-events.mjs +19 -1
- package/server/api/system/monitor/terminal/ws.ts +51 -1
- package/server/api/workshop/agent-tools/approvals/[id]/decide.post.ts +59 -5
- package/server/api/workshop/agent-tools/approvals/index.get.ts +28 -3
- package/server/api/workshop/channel-templates/[id]/instantiate.post.ts +6 -1
- package/server/api/workshop/channels/[id]/chat/messages/[messageId]/read.post.ts +22 -0
- package/server/api/workshop/channels/[id]/chat/messages/index.get.ts +29 -0
- package/server/api/workshop/channels/[id]/chat/messages/index.post.ts +51 -0
- package/server/api/workshop/channels/[id]/chat/permissions.get.ts +35 -0
- package/server/api/workshop/channels/[id]/index.patch.ts +34 -8
- package/server/api/workshop/channels/[id]/members/[userId]/approve.post.ts +20 -0
- package/server/api/workshop/channels/[id]/members/[userId].delete.ts +21 -0
- package/server/api/workshop/channels/[id]/members/index.get.ts +23 -0
- package/server/api/workshop/channels/[id]/members/join.post.ts +30 -0
- package/server/api/workshop/channels/[id]/members/leave.post.ts +20 -0
- package/server/api/workshop/channels/[id]/messages/index.post.ts +3 -0
- package/server/api/workshop/channels/[id]/tasks/index.post.ts +8 -0
- package/server/api/workshop/channels.get.ts +21 -1
- package/server/api/workshop/hitl/pending.get.ts +27 -7
- package/server/api/workshop/hitl/respond.post.ts +86 -89
- package/server/api/workshop/notifications/index.get.ts +60 -0
- package/server/api/workshop/notifications/read.post.ts +31 -0
- package/server/api/workshop/schedules/[id]/run.post.ts +15 -0
- package/server/api/workshop/schedules/[id]/runs.get.ts +15 -0
- package/server/api/workshop/schedules/[id].delete.ts +14 -0
- package/server/api/workshop/schedules/[id].get.ts +13 -0
- package/server/api/workshop/schedules/[id].patch.ts +29 -0
- package/server/api/workshop/schedules/index.get.ts +12 -0
- package/server/api/workshop/schedules/index.post.ts +32 -0
- package/server/api/workshop/tasks/[id]/reassign.post.ts +32 -0
- package/server/api/workshop/tasks/[id]/update.post.ts +35 -0
- package/server/api/workshop/tasks/[id].get.ts +15 -6
- package/server/api/workshop/ws/audience.ts +56 -0
- package/server/api/workshop/ws/db-buffer.ts +68 -0
- package/server/api/workshop/ws/event-mapping.ts +47 -0
- package/server/api/workshop/ws/handlers.ts +132 -0
- package/server/api/workshop/ws/hub.ts +133 -0
- package/server/api/workshop/ws/index.ts +23 -0
- package/server/api/workshop/ws/notification-uplink.ts +77 -0
- package/server/api/workshop/ws/peer-sub.ts +128 -0
- package/server/api/workshop/ws/publish.ts +122 -0
- package/server/api/workshop/ws/shared.ts +94 -0
- package/server/api/workshop/ws/streams.ts +146 -0
- package/server/api/workshop/ws/subscriptions.ts +137 -0
- package/server/plugins/workshop.ts +30 -0
- package/server/plugins-builtin/diag-bridge/host/constants.mjs +25 -0
- package/server/plugins-builtin/diag-bridge/host/diagnosis.mjs +56 -0
- package/server/plugins-builtin/diag-bridge/host/helpers.mjs +126 -0
- package/server/plugins-builtin/diag-bridge/host/index.mjs +15 -0
- package/server/plugins-builtin/diag-bridge/host/plugin.mjs +296 -0
- package/server/plugins-builtin/diag-bridge/host/snapshot.mjs +93 -0
- package/server/plugins-builtin/diag-bridge/host/sweep.mjs +51 -0
- package/server/plugins-builtin/diag-bridge/index.mjs +6 -605
- package/server/repositories/user.repository.ts +13 -0
- package/server/services/system-config/contracts.ts +29 -0
- package/server/services/system-config/dispose.ts +19 -0
- package/server/services/system-config/facade.ts +26 -0
- package/server/services/system-config/groups.ts +108 -0
- package/server/services/system-config/helpers.ts +41 -0
- package/server/services/system-config/index.ts +21 -0
- package/server/services/system-config/init.ts +26 -0
- package/server/services/system-config/mutate.ts +103 -0
- package/server/services/system-config/plugins.ts +104 -0
- package/server/services/system-config/recompute.ts +66 -0
- package/server/services/system-config/snapshot.ts +59 -0
- package/server/services/system-config/state.ts +79 -0
- package/server/services/system-config/types.ts +58 -0
- package/server/services/workshop/agents/adapters/line-spawn.ts +2 -2
- package/server/services/workshop/agents/adapters/omp-rpc-client/api.ts +111 -0
- package/server/services/workshop/agents/adapters/omp-rpc-client/contracts.ts +22 -0
- package/server/services/workshop/agents/adapters/omp-rpc-client/facade.ts +7 -0
- package/server/services/workshop/agents/adapters/omp-rpc-client/frames.ts +111 -0
- package/server/services/workshop/agents/adapters/omp-rpc-client/helpers.ts +38 -0
- package/server/services/workshop/agents/adapters/omp-rpc-client/index.ts +25 -0
- package/server/services/workshop/agents/adapters/omp-rpc-client/start.ts +70 -0
- package/server/services/workshop/agents/adapters/omp-rpc-client/state.ts +65 -0
- package/server/services/workshop/agents/adapters/omp-rpc-client/stdout.ts +92 -0
- package/server/services/workshop/agents/adapters/omp-rpc-client/types.ts +115 -0
- package/server/services/workshop/agents/adapters/omp-rpc-client/usage.ts +47 -0
- package/server/services/workshop/agents/agent-interface.ts +52 -4
- package/server/services/workshop/agents/base-agent.ts +36 -8
- package/server/services/workshop/agents/claude-agent.ts +5 -0
- package/server/services/workshop/agents/codex-agent/client.ts +170 -0
- package/server/services/workshop/agents/codex-agent/core.ts +119 -0
- package/server/services/workshop/agents/codex-agent/facade.ts +8 -0
- package/server/services/workshop/agents/codex-agent/helpers.ts +13 -0
- package/server/services/workshop/agents/codex-agent/hitl.ts +138 -0
- package/server/services/workshop/agents/codex-agent/index.ts +14 -0
- package/server/services/workshop/agents/codex-agent/turn.ts +367 -0
- package/server/services/workshop/agents/codex-agent/types.ts +42 -0
- package/server/services/workshop/agents/dsh-agent.ts +5 -0
- package/server/services/workshop/agents/harness-availability.ts +127 -127
- package/server/services/workshop/agents/harness-terminal/api.ts +197 -0
- package/server/services/workshop/agents/harness-terminal/index.ts +17 -0
- package/server/services/workshop/agents/harness-terminal/io.ts +120 -0
- package/server/services/workshop/agents/harness-terminal/park.ts +55 -0
- package/server/services/workshop/agents/harness-terminal/sanitize.ts +98 -0
- package/server/services/workshop/agents/harness-terminal/session.ts +124 -0
- package/server/services/workshop/agents/harness-terminal/shared.ts +74 -0
- package/server/services/workshop/agents/hermes-agent.ts +5 -0
- package/server/services/workshop/agents/hitl-capabilities.ts +312 -0
- package/server/services/workshop/agents/hitl-decision/answers.ts +27 -0
- package/server/services/workshop/agents/hitl-decision/decide.ts +268 -0
- package/server/services/workshop/agents/hitl-decision/dispatcher.ts +81 -0
- package/server/services/workshop/agents/hitl-decision/index.ts +24 -0
- package/server/services/workshop/agents/hitl-decision/payload.ts +45 -0
- package/server/services/workshop/agents/hitl-decision/reconcile.ts +70 -0
- package/server/services/workshop/agents/hitl-decision/shared.ts +106 -0
- package/server/services/workshop/agents/hitl-decision/visibility.ts +94 -0
- package/server/services/workshop/agents/hitl-registry.ts +403 -7
- package/server/services/workshop/agents/host-tool-bridge/catalog.ts +78 -0
- package/server/services/workshop/agents/host-tool-bridge/dispatch.ts +167 -0
- package/server/services/workshop/agents/host-tool-bridge/index.ts +15 -0
- package/server/services/workshop/agents/host-tool-bridge/session.ts +22 -0
- package/server/services/workshop/agents/host-tool-bridge/tools/industrial.ts +64 -0
- package/server/services/workshop/agents/host-tool-bridge/tools/memory.ts +44 -0
- package/server/services/workshop/agents/host-tool-bridge/tools/messaging.ts +182 -0
- package/server/services/workshop/agents/host-tool-bridge/tools/progress.ts +84 -0
- package/server/services/workshop/agents/host-tool-bridge/tools/tasks.ts +120 -0
- package/server/services/workshop/agents/host-tool-bridge/tools/team.ts +70 -0
- package/server/services/workshop/agents/host-tool-bridge/types.ts +31 -0
- package/server/services/workshop/agents/industrial/aml-dataset-tools.ts +276 -0
- package/server/services/workshop/agents/industrial/aml-job-tools.ts +363 -0
- package/server/services/workshop/agents/industrial/daq-tools.ts +251 -0
- package/server/services/workshop/agents/industrial/dcw-judge-tools.ts +153 -0
- package/server/services/workshop/agents/industrial/dcw-tools.ts +213 -0
- package/server/services/workshop/agents/industrial/index.ts +24 -0
- package/server/services/workshop/agents/industrial/ops-tools.ts +382 -0
- package/server/services/workshop/agents/industrial/param-tools.ts +172 -0
- package/server/services/workshop/agents/industrial/twin-tools.ts +175 -0
- package/server/services/workshop/agents/mock-agent.ts +136 -12
- package/server/services/workshop/agents/omp-agent/client.ts +116 -0
- package/server/services/workshop/agents/omp-agent/context-governance.ts +204 -0
- package/server/services/workshop/agents/omp-agent/core.ts +146 -0
- package/server/services/workshop/agents/omp-agent/event-mapping.ts +142 -0
- package/server/services/workshop/agents/omp-agent/facade.ts +8 -0
- package/server/services/workshop/agents/omp-agent/helpers.ts +37 -0
- package/server/services/workshop/agents/omp-agent/index.ts +16 -0
- package/server/services/workshop/agents/omp-agent/lifecycle.ts +80 -0
- package/server/services/workshop/agents/omp-agent/tools-steer.ts +487 -0
- package/server/services/workshop/agents/omp-agent/types.ts +45 -0
- package/server/services/workshop/agents/opencode-agent/core.ts +77 -0
- package/server/services/workshop/agents/opencode-agent/engine-agnostic.ts +274 -0
- package/server/services/workshop/agents/opencode-agent/facade.ts +8 -0
- package/server/services/workshop/agents/opencode-agent/helpers.ts +29 -0
- package/server/services/workshop/agents/opencode-agent/hitl.ts +113 -0
- package/server/services/workshop/agents/opencode-agent/index.ts +16 -0
- package/server/services/workshop/agents/opencode-agent/lifecycle.ts +44 -0
- package/server/services/workshop/agents/opencode-agent/server.ts +244 -0
- package/server/services/workshop/agents/opencode-agent/turn.ts +278 -0
- package/server/services/workshop/agents/opencode-agent/types.ts +54 -0
- package/server/services/workshop/agents/prompt-builder.ts +16 -6
- package/server/services/workshop/agents/qwen-agent.ts +6 -2
- package/server/services/workshop/agents/registry.ts +32 -2
- package/server/services/workshop/aml/job-orchestrator/broadcast.ts +37 -0
- package/server/services/workshop/aml/job-orchestrator/control.ts +94 -0
- package/server/services/workshop/aml/job-orchestrator/failure.ts +77 -0
- package/server/services/workshop/aml/job-orchestrator/index.ts +22 -0
- package/server/services/workshop/aml/job-orchestrator/process.ts +100 -0
- package/server/services/workshop/aml/job-orchestrator/shared.ts +51 -0
- package/server/services/workshop/aml/job-orchestrator/stages.ts +96 -0
- package/server/services/workshop/aml/job-orchestrator/start-job.ts +124 -0
- package/server/services/workshop/aml/job-orchestrator/status.ts +20 -0
- package/server/services/workshop/aml/job-orchestrator/submit.ts +120 -0
- package/server/services/workshop/aml/job-orchestrator/tick.ts +37 -0
- package/server/services/workshop/aml/python/amlkit.py +185 -120
- package/server/services/workshop/aml/python/requirements.txt +9 -7
- package/server/services/workshop/aml/python/train-hybrid-example.py +87 -0
- package/server/services/workshop/aml/twin/acceptance.ts +68 -0
- package/server/services/workshop/aml/twin/calibration-scheduler.ts +48 -0
- package/server/services/workshop/aml/twin/channel-profile.ts +43 -0
- package/server/services/workshop/aml/twin/contracts.ts +215 -0
- package/server/services/workshop/aml/twin/physics-runtime.ts +165 -0
- package/server/services/workshop/aml/twin/repo.ts +26 -0
- package/server/services/workshop/aml/twin/snapshot-service.ts +81 -0
- package/server/services/workshop/aml/twin/trial-service.ts +89 -0
- package/server/services/workshop/aml/twin/uq-ood.ts +66 -0
- package/server/services/workshop/daq/daq-controller/contracts.ts +39 -0
- package/server/services/workshop/daq/daq-controller/crud.ts +202 -0
- package/server/services/workshop/daq/daq-controller/driver-probe.ts +64 -0
- package/server/services/workshop/daq/daq-controller/facade.ts +28 -0
- package/server/services/workshop/daq/daq-controller/frames.ts +137 -0
- package/server/services/workshop/daq/daq-controller/helpers.ts +52 -0
- package/server/services/workshop/daq/daq-controller/index.ts +22 -0
- package/server/services/workshop/daq/daq-controller/ingest.ts +189 -0
- package/server/services/workshop/daq/daq-controller/runtime-control.ts +72 -0
- package/server/services/workshop/daq/daq-controller/state.ts +194 -0
- package/server/services/workshop/daq/daq-controller/sweep-alarms.ts +164 -0
- package/server/services/workshop/daq/daq-controller/tsdb-twin.ts +138 -0
- package/server/services/workshop/daq/daq-controller/types.ts +68 -0
- package/server/services/workshop/daq/daq-controller/views.ts +84 -0
- package/server/services/workshop/daq/drivers/http.ts +95 -0
- package/server/services/workshop/daq/drivers/index.ts +29 -0
- package/server/services/workshop/daq/drivers/mock.ts +130 -0
- package/server/services/workshop/daq/drivers/modbus-rtu.ts +67 -0
- package/server/services/workshop/daq/drivers/modbus-tcp.ts +307 -0
- package/server/services/workshop/daq/drivers/mqtt.ts +182 -0
- package/server/services/workshop/daq/drivers/opcua.ts +227 -0
- package/server/services/workshop/daq/drivers/registry.ts +144 -0
- package/server/services/workshop/daq/drivers/s7-stub.ts +29 -0
- package/server/services/workshop/daq/drivers/shared.ts +60 -0
- package/server/services/workshop/db/channel-member.repo.ts +122 -0
- package/server/services/workshop/db/channel.repo.ts +93 -8
- package/server/services/workshop/db/chat-message.repo.ts +233 -0
- package/server/services/workshop/db/database/index.ts +18 -0
- package/server/services/workshop/db/database/json.ts +14 -0
- package/server/services/workshop/db/database/migrations.ts +367 -0
- package/server/services/workshop/db/database/open.ts +76 -0
- package/server/services/workshop/db/database/rows.ts +374 -0
- package/server/services/workshop/db/database/schema.ts +651 -0
- package/server/services/workshop/db/database/seed-data.ts +60 -0
- package/server/services/workshop/db/database/seed.ts +145 -0
- package/server/services/workshop/db/hitl-request.repo.ts +221 -0
- package/server/services/workshop/db/notification.repo.ts +199 -0
- package/server/services/workshop/db/outbox.repo.ts +127 -0
- package/server/services/workshop/db/scheduled-task.repo.ts +235 -0
- package/server/services/workshop/db/schema.sql +185 -0
- package/server/services/workshop/db/task.repo.ts +185 -69
- package/server/services/workshop/db/transaction.ts +72 -0
- package/server/services/workshop/dcw/dcw-controller/actuation.ts +127 -0
- package/server/services/workshop/dcw/dcw-controller/bindings.ts +83 -0
- package/server/services/workshop/dcw/dcw-controller/contracts.ts +16 -0
- package/server/services/workshop/dcw/dcw-controller/control.ts +78 -0
- package/server/services/workshop/dcw/dcw-controller/crud.ts +152 -0
- package/server/services/workshop/dcw/dcw-controller/facade.ts +19 -0
- package/server/services/workshop/dcw/dcw-controller/helpers.ts +57 -0
- package/server/services/workshop/dcw/dcw-controller/index.ts +22 -0
- package/server/services/workshop/dcw/dcw-controller/lines.ts +213 -0
- package/server/services/workshop/dcw/dcw-controller/params.ts +97 -0
- package/server/services/workshop/dcw/dcw-controller/products.ts +103 -0
- package/server/services/workshop/dcw/dcw-controller/recipes.ts +137 -0
- package/server/services/workshop/dcw/dcw-controller/state.ts +66 -0
- package/server/services/workshop/dcw/dcw-controller/types.ts +57 -0
- package/server/services/workshop/dcw/dcw-controller/write.ts +147 -0
- package/server/services/workshop/dcw/dcw-node.ts +8 -0
- package/server/services/workshop/dcw/drivers/http.ts +66 -0
- package/server/services/workshop/dcw/drivers/index.ts +26 -0
- package/server/services/workshop/dcw/drivers/mock.ts +44 -0
- package/server/services/workshop/dcw/drivers/modbus-rtu.ts +93 -0
- package/server/services/workshop/dcw/drivers/modbus.ts +139 -0
- package/server/services/workshop/dcw/drivers/mqtt.ts +108 -0
- package/server/services/workshop/dcw/drivers/opcua.ts +110 -0
- package/server/services/workshop/dcw/drivers/registry.ts +118 -0
- package/server/services/workshop/dcw/drivers/shared.ts +113 -0
- package/server/services/workshop/dcw/recipe-rollback-manager/contracts.ts +26 -0
- package/server/services/workshop/dcw/recipe-rollback-manager/facade.ts +13 -0
- package/server/services/workshop/dcw/recipe-rollback-manager/helpers.ts +30 -0
- package/server/services/workshop/dcw/recipe-rollback-manager/index.ts +17 -0
- package/server/services/workshop/dcw/recipe-rollback-manager/internal.ts +33 -0
- package/server/services/workshop/dcw/recipe-rollback-manager/judge.ts +52 -0
- package/server/services/workshop/dcw/recipe-rollback-manager/lock.ts +137 -0
- package/server/services/workshop/dcw/recipe-rollback-manager/rollback.ts +190 -0
- package/server/services/workshop/dcw/recipe-rollback-manager/state.ts +21 -0
- package/server/services/workshop/dcw/recipe-rollback-manager/sweep.ts +77 -0
- package/server/services/workshop/dcw/recipe-rollback-manager/types.ts +3 -0
- package/server/services/workshop/dcw/recipe-rollback-manager/views.ts +214 -0
- package/server/services/workshop/plugins/host/api.mjs +90 -0
- package/server/services/workshop/plugins/host/config.mjs +135 -0
- package/server/services/workshop/plugins/host/index.mjs +23 -0
- package/server/services/workshop/plugins/host/init.mjs +101 -0
- package/server/services/workshop/plugins/host/load.mjs +321 -0
- package/server/services/workshop/plugins/host/reload.mjs +94 -0
- package/server/services/workshop/plugins/host/rollback.mjs +72 -0
- package/server/services/workshop/plugins/host/services.mjs +58 -0
- package/server/services/workshop/plugins/host/state.mjs +54 -0
- package/server/services/workshop/plugins/host/toggle.mjs +64 -0
- package/server/services/workshop/plugins/host.mjs +6 -890
- package/server/services/workshop/runtime/agent-runtime/contracts.ts +25 -0
- package/server/services/workshop/runtime/agent-runtime/facade.ts +7 -0
- package/server/services/workshop/runtime/agent-runtime/helpers.ts +18 -0
- package/server/services/workshop/runtime/agent-runtime/index.ts +19 -0
- package/server/services/workshop/runtime/agent-runtime/lifecycle.ts +119 -0
- package/server/services/workshop/runtime/agent-runtime/message.ts +409 -0
- package/server/services/workshop/runtime/agent-runtime/state.ts +371 -0
- package/server/services/workshop/runtime/agent-runtime/supervise.ts +188 -0
- package/server/services/workshop/runtime/agent-runtime/types.ts +186 -0
- package/server/services/workshop/runtime/channel-runtime.ts +7 -0
- package/server/services/workshop/runtime/chat-mention.ts +164 -0
- package/server/services/workshop/runtime/chat-projection.ts +246 -0
- package/server/services/workshop/runtime/execution-mode.ts +11 -2
- package/server/services/workshop/runtime/manager/a2a.ts +283 -0
- package/server/services/workshop/runtime/manager/access.ts +483 -0
- package/server/services/workshop/runtime/manager/admin-agents.ts +268 -0
- package/server/services/workshop/runtime/manager/admin-channel.ts +276 -0
- package/server/services/workshop/runtime/manager/bus.ts +182 -0
- package/server/services/workshop/runtime/manager/channel-templates.ts +171 -0
- package/server/services/workshop/runtime/manager/chat-reply.ts +181 -0
- package/server/services/workshop/runtime/manager/chat.ts +384 -0
- package/server/services/workshop/runtime/manager/contracts.ts +210 -0
- package/server/services/workshop/runtime/manager/facade.ts +24 -0
- package/server/services/workshop/runtime/manager/helpers.ts +119 -0
- package/server/services/workshop/runtime/manager/host-tools.ts +249 -0
- package/server/services/workshop/runtime/manager/index.ts +42 -0
- package/server/services/workshop/runtime/manager/internal.ts +73 -0
- package/server/services/workshop/runtime/manager/lead-team.ts +161 -0
- package/server/services/workshop/runtime/manager/notifications.ts +108 -0
- package/server/services/workshop/runtime/manager/runtime-observe.ts +300 -0
- package/server/services/workshop/runtime/manager/runtime-wiring.ts +307 -0
- package/server/services/workshop/runtime/manager/schedules.ts +302 -0
- package/server/services/workshop/runtime/manager/state.ts +644 -0
- package/server/services/workshop/runtime/manager/tasks.ts +518 -0
- package/server/services/workshop/runtime/manager/teams.ts +148 -0
- package/server/services/workshop/runtime/manager/types.ts +245 -0
- package/server/services/workshop/runtime/manager/workspace.ts +136 -0
- package/server/services/workshop/runtime/memory/contracts.ts +18 -0
- package/server/services/workshop/runtime/memory/facade.ts +10 -0
- package/server/services/workshop/runtime/memory/governance.ts +184 -0
- package/server/services/workshop/runtime/memory/helpers.ts +196 -0
- package/server/services/workshop/runtime/memory/index.ts +27 -0
- package/server/services/workshop/runtime/memory/recall.ts +216 -0
- package/server/services/workshop/runtime/memory/score.ts +33 -0
- package/server/services/workshop/runtime/memory/state.ts +40 -0
- package/server/services/workshop/runtime/memory/types.ts +44 -0
- package/server/services/workshop/runtime/memory/write.ts +93 -0
- package/server/services/workshop/runtime/permission-scope.ts +81 -0
- package/server/services/workshop/runtime/schedule-runtime.ts +320 -0
- package/server/services/workshop/runtime/scheduler-loop/contracts.ts +29 -0
- package/server/services/workshop/runtime/scheduler-loop/execute.ts +295 -0
- package/server/services/workshop/runtime/scheduler-loop/facade.ts +7 -0
- package/server/services/workshop/runtime/scheduler-loop/helpers.ts +14 -0
- package/server/services/workshop/runtime/scheduler-loop/index.ts +16 -0
- package/server/services/workshop/runtime/scheduler-loop/rules.ts +131 -0
- package/server/services/workshop/runtime/scheduler-loop/snapshot.ts +99 -0
- package/server/services/workshop/runtime/scheduler-loop/state.ts +150 -0
- package/server/services/workshop/runtime/scheduler-loop/tick.ts +157 -0
- package/server/services/workshop/runtime/scheduler-loop/types.ts +50 -0
- package/server/services/workshop/runtime/task-engine/contracts.ts +16 -0
- package/server/services/workshop/runtime/task-engine/create.ts +145 -0
- package/server/services/workshop/runtime/task-engine/facade.ts +7 -0
- package/server/services/workshop/runtime/task-engine/helpers.ts +87 -0
- package/server/services/workshop/runtime/task-engine/index.ts +15 -0
- package/server/services/workshop/runtime/task-engine/lease.ts +79 -0
- package/server/services/workshop/runtime/task-engine/lifecycle.ts +308 -0
- package/server/services/workshop/runtime/task-engine/policy.ts +113 -0
- package/server/services/workshop/runtime/task-engine/transition.ts +146 -0
- package/server/services/workshop/runtime/task-engine/types.ts +3 -0
- package/server/services/workshop/runtime/task-engine/update.ts +116 -0
- package/server/services/workshop/runtime/task-engine/views.ts +169 -0
- package/server/services/workshop/runtime/user-notification-hub.ts +192 -0
- package/server/services/workshop/settings.ts +32 -0
- package/server/services/workshop/types/task.ts +85 -0
- package/server/utils/errors.ts +2 -0
- package/server/utils/mojibake-guard.ts +29 -0
- package/shared/config/schema.json +12 -0
- package/shared/dcw-protocol/catalog.ts +203 -0
- package/shared/dcw-protocol/closed-loop.ts +137 -0
- package/shared/dcw-protocol/index.ts +19 -0
- package/shared/dcw-protocol/line.ts +131 -0
- package/shared/dcw-protocol/recipe.ts +301 -0
- package/shared/workshop-protocol.ts +327 -5
- package/tui/aw-tui.mjs +27 -6
- package/tui/lib/pickers.mjs +21 -2
- package/.output/public/_nuxt/4sIEbgcl.js +0 -42
- package/.output/public/_nuxt/B7gZokg82.js +0 -209
- package/.output/public/_nuxt/B8uy9iRW.js +0 -1
- package/.output/public/_nuxt/BC9wjTJK2.js +0 -4
- package/.output/public/_nuxt/BCGafdXT.js +0 -2
- package/.output/public/_nuxt/BDmh31hl.js +0 -1
- package/.output/public/_nuxt/BFjGV-RV2.js +0 -4108
- package/.output/public/_nuxt/BGTYYQH-.js +0 -1
- package/.output/public/_nuxt/BHA40aHa.js +0 -1
- package/.output/public/_nuxt/BJHKLJJU.js +0 -1
- package/.output/public/_nuxt/BN6iuJEg2.js +0 -1
- package/.output/public/_nuxt/BU83-NnX.js +0 -106
- package/.output/public/_nuxt/BUmHEJ77.js +0 -2
- package/.output/public/_nuxt/BY7YrV_D.js +0 -1
- package/.output/public/_nuxt/BYhEUx8t.js +0 -17
- package/.output/public/_nuxt/BneN7fbu.js +0 -75
- package/.output/public/_nuxt/Bqcgz95s.js +0 -18
- package/.output/public/_nuxt/C3J6FYKa.js +0 -1
- package/.output/public/_nuxt/C3gwHTz0.js +0 -1
- package/.output/public/_nuxt/C4DWUZ6d2.js +0 -1
- package/.output/public/_nuxt/C7UlqPeD.js +0 -1
- package/.output/public/_nuxt/CClOy-Hz2.js +0 -1
- package/.output/public/_nuxt/CFxtLwjp.js +0 -1
- package/.output/public/_nuxt/CS50LB_l.js +0 -1
- package/.output/public/_nuxt/CSkxz2NX.js +0 -3
- package/.output/public/_nuxt/CTmDn-YP.js +0 -1
- package/.output/public/_nuxt/CWoJjWmZ.js +0 -1
- package/.output/public/_nuxt/CYWVXZTS2.js +0 -7
- package/.output/public/_nuxt/C__m4EhR.js +0 -1
- package/.output/public/_nuxt/CoNpEq5X.js +0 -1
- package/.output/public/_nuxt/Crod5z2f.js +0 -1
- package/.output/public/_nuxt/Cs8pVeVG.js +0 -1
- package/.output/public/_nuxt/CssgYAAL2.js +0 -1
- package/.output/public/_nuxt/CzlMDL5H.js +0 -13
- package/.output/public/_nuxt/D0ZBQrN_2.js +0 -1
- package/.output/public/_nuxt/D6uzXueg.js +0 -2
- package/.output/public/_nuxt/D98NH8kG.js +0 -1
- package/.output/public/_nuxt/D9Oidm5I.js +0 -1
- package/.output/public/_nuxt/DBHNsT1Y.js +0 -23
- package/.output/public/_nuxt/DDgJcSET.js +0 -19
- package/.output/public/_nuxt/DGIuvyRN2.js +0 -1
- package/.output/public/_nuxt/DGj-WEBg.js +0 -1
- package/.output/public/_nuxt/DHFrCUxA2.js +0 -13
- package/.output/public/_nuxt/DIaZ2PTo2.js +0 -1
- package/.output/public/_nuxt/DKySmNPI.js +0 -14
- package/.output/public/_nuxt/DPnwL14Y.js +0 -1
- package/.output/public/_nuxt/DR12_WCA.js +0 -3
- package/.output/public/_nuxt/DTFCy6h-.js +0 -1
- package/.output/public/_nuxt/DYr1VMiQ.js +0 -6
- package/.output/public/_nuxt/DZtm4l-P2.js +0 -1
- package/.output/public/_nuxt/DdD9mCHM.js +0 -1
- package/.output/public/_nuxt/DeyBFhKH2.js +0 -4
- package/.output/public/_nuxt/Di0NY_ht.js +0 -1
- package/.output/public/_nuxt/DkGQ7lnb2.js +0 -1
- package/.output/public/_nuxt/DtYHUi5Z.js +0 -1
- package/.output/public/_nuxt/Dz_Q3Lpw2.js +0 -1
- package/.output/public/_nuxt/DzbFpZRk.js +0 -3
- package/.output/public/_nuxt/EHlEMRii.js +0 -1
- package/.output/public/_nuxt/Eke1fs-U.js +0 -1
- package/.output/public/_nuxt/H0BcqZtT.js +0 -9
- package/.output/public/_nuxt/HSYEkkce.js +0 -1
- package/.output/public/_nuxt/IREZ1eC2.js +0 -1
- package/.output/public/_nuxt/J9oU00D1.js +0 -1
- package/.output/public/_nuxt/JCoYF4IJ.js +0 -31
- package/.output/public/_nuxt/JTLM-kqr2.js +0 -1
- package/.output/public/_nuxt/KZQX7xoM.js +0 -3
- package/.output/public/_nuxt/OmpTerminalPanel.BxR5-lvi.css +0 -1
- package/.output/public/_nuxt/RYFtK4qZ2.js +0 -1
- package/.output/public/_nuxt/SSyAPaHc.js +0 -1
- package/.output/public/_nuxt/TownView.li4EMQxK.css +0 -1
- package/.output/public/_nuxt/VdLk4jLE2.js +0 -1
- package/.output/public/_nuxt/YnQxK3eG.js +0 -1
- package/.output/public/_nuxt/_id_.BhsXoEuk.css +0 -1
- package/.output/public/_nuxt/_id_.DQyj-WKN.css +0 -1
- package/.output/public/_nuxt/_wsId_.CTx-BlfF.css +0 -1
- package/.output/public/_nuxt/aLLjF2K-2.js +0 -1
- package/.output/public/_nuxt/aShsv_rG.js +0 -19
- package/.output/public/_nuxt/aWWIh8YL.js +0 -24
- package/.output/public/_nuxt/aesgXKSr.js +0 -4
- package/.output/public/_nuxt/agents.B21nUEUX.css +0 -1
- package/.output/public/_nuxt/aml.ekTjxFkf.css +0 -1
- package/.output/public/_nuxt/builds/meta/b5506ef0-f48e-4f14-a6c0-d65e505d0b09.json +0 -1
- package/.output/public/_nuxt/ca4TJ3Op.js +0 -1
- package/.output/public/_nuxt/daq.BdVmoIfe.css +0 -1
- package/.output/public/_nuxt/dcw.DCgyzpWV.css +0 -1
- package/.output/public/_nuxt/default.Bh3L2HU8.css +0 -1
- package/.output/public/_nuxt/entry.bdm0tv6M.css +0 -1
- package/.output/public/_nuxt/jZsY8yYz.js +0 -1
- package/.output/public/_nuxt/lHAxdSsj.js +0 -1
- package/.output/public/_nuxt/logs.BpKzmKsh.css +0 -1
- package/.output/public/_nuxt/monitor.D9pe7qN6.css +0 -1
- package/.output/public/_nuxt/pages.j9rzRocr.css +0 -1
- package/.output/public/_nuxt/pdk8jLGT.js +0 -1
- package/.output/public/_nuxt/permissions.DwTVlFe6.css +0 -1
- package/.output/public/_nuxt/plugins.DhiZbHU8.css +0 -1
- package/.output/public/_nuxt/settings.BRx9rIDg.css +0 -1
- package/.output/public/_nuxt/teams.BLlOPB_Z.css +0 -1
- package/.output/public/_nuxt/tokens.De8xzszn.css +0 -1
- package/.output/public/_nuxt/town.BLrD9-WH.css +0 -1
- package/.output/public/_nuxt/users.DLgZ1D0h.css +0 -1
- package/.output/public/_nuxt/vRTjoWqd.js +0 -1
- package/.output/public/_nuxt/workshop.D1jFNkrn.css +0 -1
- package/.output/public/_nuxt/xh3_vYcu.js +0 -1
- package/.output/public/_nuxt/zq5t1vyX.js +0 -1
- package/.output/server/chunks/build/Checkbox-eax2M3o-.mjs +0 -207
- package/.output/server/chunks/build/Checkbox-eax2M3o-.mjs.map +0 -1
- package/.output/server/chunks/build/OmpTerminalPanel-CVvxpsF7.mjs +0 -915
- package/.output/server/chunks/build/OmpTerminalPanel-CVvxpsF7.mjs.map +0 -1
- package/.output/server/chunks/build/PluginSlot-CcR4Ys3T.mjs +0 -400
- package/.output/server/chunks/build/PluginSlot-CcR4Ys3T.mjs.map +0 -1
- package/.output/server/chunks/build/TownView-CJ6IsDCc.mjs +0 -2791
- package/.output/server/chunks/build/TownView-CJ6IsDCc.mjs.map +0 -1
- package/.output/server/chunks/build/_id_-CVD_H0ir.mjs +0 -804
- package/.output/server/chunks/build/_id_-CVD_H0ir.mjs.map +0 -1
- package/.output/server/chunks/build/_id_-CtxMb3qp.mjs +0 -381
- package/.output/server/chunks/build/_id_-CtxMb3qp.mjs.map +0 -1
- package/.output/server/chunks/build/_wsId_-DpY3T-md.mjs +0 -10136
- package/.output/server/chunks/build/_wsId_-DpY3T-md.mjs.map +0 -1
- package/.output/server/chunks/build/agents-DsCkuXDV.mjs +0 -1114
- package/.output/server/chunks/build/agents-DsCkuXDV.mjs.map +0 -1
- package/.output/server/chunks/build/aml-CT0xKGKI.mjs +0 -605
- package/.output/server/chunks/build/aml-CT0xKGKI.mjs.map +0 -1
- package/.output/server/chunks/build/api-error-dul30BYQ.mjs +0 -47
- package/.output/server/chunks/build/api-error-dul30BYQ.mjs.map +0 -1
- package/.output/server/chunks/build/apiClient-BwnfOQU8.mjs +0 -81
- package/.output/server/chunks/build/apiClient-BwnfOQU8.mjs.map +0 -1
- package/.output/server/chunks/build/button-DEcZFcqN.mjs +0 -1938
- package/.output/server/chunks/build/button-DEcZFcqN.mjs.map +0 -1
- package/.output/server/chunks/build/card-Dipvaykh.mjs +0 -955
- package/.output/server/chunks/build/card-Dipvaykh.mjs.map +0 -1
- package/.output/server/chunks/build/channel-templates-Dla9FbYa.mjs +0 -847
- package/.output/server/chunks/build/channel-templates-Dla9FbYa.mjs.map +0 -1
- package/.output/server/chunks/build/checkbox-8fB-wI-T.mjs +0 -439
- package/.output/server/chunks/build/checkbox-8fB-wI-T.mjs.map +0 -1
- package/.output/server/chunks/build/client-only-D5BzSQc6.mjs +0 -43
- package/.output/server/chunks/build/client-only-D5BzSQc6.mjs.map +0 -1
- package/.output/server/chunks/build/daq-DWWSKGAV.mjs +0 -1059
- package/.output/server/chunks/build/daq-DWWSKGAV.mjs.map +0 -1
- package/.output/server/chunks/build/dcw-CT8k17_E.mjs +0 -250
- package/.output/server/chunks/build/dcw-CT8k17_E.mjs.map +0 -1
- package/.output/server/chunks/build/default-D3525UFX.mjs +0 -1487
- package/.output/server/chunks/build/default-D3525UFX.mjs.map +0 -1
- package/.output/server/chunks/build/drawer-Cmh90erI.mjs +0 -836
- package/.output/server/chunks/build/drawer-Cmh90erI.mjs.map +0 -1
- package/.output/server/chunks/build/dropdown-CGQ0KAzA.mjs +0 -14
- package/.output/server/chunks/build/dropdown-CGQ0KAzA.mjs.map +0 -1
- package/.output/server/chunks/build/dropdown-vhn1NPFs.mjs +0 -558
- package/.output/server/chunks/build/dropdown-vhn1NPFs.mjs.map +0 -1
- package/.output/server/chunks/build/initDefaultProps-DIbWwP4R.mjs +0 -21
- package/.output/server/chunks/build/initDefaultProps-DIbWwP4R.mjs.map +0 -1
- package/.output/server/chunks/build/input-number-DzpyYB99.mjs +0 -1521
- package/.output/server/chunks/build/input-number-DzpyYB99.mjs.map +0 -1
- package/.output/server/chunks/build/input-sf_BT6o6.mjs +0 -2617
- package/.output/server/chunks/build/input-sf_BT6o6.mjs.map +0 -1
- package/.output/server/chunks/build/logs--dByNyhw.mjs +0 -198
- package/.output/server/chunks/build/logs--dByNyhw.mjs.map +0 -1
- package/.output/server/chunks/build/menu-WCrlpYVh.mjs +0 -1950
- package/.output/server/chunks/build/menu-WCrlpYVh.mjs.map +0 -1
- package/.output/server/chunks/build/modal-yvUquPj5.mjs +0 -1272
- package/.output/server/chunks/build/modal-yvUquPj5.mjs.map +0 -1
- package/.output/server/chunks/build/monitor-Dh2Kvaq5.mjs +0 -2212
- package/.output/server/chunks/build/monitor-Dh2Kvaq5.mjs.map +0 -1
- package/.output/server/chunks/build/pages-BHcSBM2D.mjs +0 -518
- package/.output/server/chunks/build/pages-BHcSBM2D.mjs.map +0 -1
- package/.output/server/chunks/build/permissions-68SsNjex.mjs +0 -629
- package/.output/server/chunks/build/permissions-68SsNjex.mjs.map +0 -1
- package/.output/server/chunks/build/plugins-BNgIi61W.mjs +0 -246
- package/.output/server/chunks/build/plugins-BNgIi61W.mjs.map +0 -1
- package/.output/server/chunks/build/popconfirm-CRaHcz5O.mjs +0 -342
- package/.output/server/chunks/build/popconfirm-CRaHcz5O.mjs.map +0 -1
- package/.output/server/chunks/build/segmented-3TrWo0lS.mjs +0 -5047
- package/.output/server/chunks/build/segmented-3TrWo0lS.mjs.map +0 -1
- package/.output/server/chunks/build/select-D-CeE5vY.mjs +0 -3923
- package/.output/server/chunks/build/select-D-CeE5vY.mjs.map +0 -1
- package/.output/server/chunks/build/settings-ipYBDWdn.mjs +0 -1175
- package/.output/server/chunks/build/settings-ipYBDWdn.mjs.map +0 -1
- package/.output/server/chunks/build/space-CCBYAkXt.mjs +0 -197
- package/.output/server/chunks/build/space-CCBYAkXt.mjs.map +0 -1
- package/.output/server/chunks/build/spin-HVY81X_L.mjs +0 -358
- package/.output/server/chunks/build/spin-HVY81X_L.mjs.map +0 -1
- package/.output/server/chunks/build/switch-CelRXpcy.mjs +0 -377
- package/.output/server/chunks/build/switch-CelRXpcy.mjs.map +0 -1
- package/.output/server/chunks/build/table-BjSWwmic.mjs +0 -8883
- package/.output/server/chunks/build/table-BjSWwmic.mjs.map +0 -1
- package/.output/server/chunks/build/tabs-BM3tAh_J.mjs +0 -1925
- package/.output/server/chunks/build/tabs-BM3tAh_J.mjs.map +0 -1
- package/.output/server/chunks/build/tag-DNE9vXc0.mjs +0 -1029
- package/.output/server/chunks/build/tag-DNE9vXc0.mjs.map +0 -1
- package/.output/server/chunks/build/teams-5lx-CwFa.mjs +0 -1218
- package/.output/server/chunks/build/teams-5lx-CwFa.mjs.map +0 -1
- package/.output/server/chunks/build/tokens-q-IDT8Io.mjs +0 -908
- package/.output/server/chunks/build/tokens-q-IDT8Io.mjs.map +0 -1
- package/.output/server/chunks/build/town-BUqRobze.mjs +0 -52
- package/.output/server/chunks/build/town-BUqRobze.mjs.map +0 -1
- package/.output/server/chunks/build/town-QJWB5wng.mjs +0 -125
- package/.output/server/chunks/build/town-QJWB5wng.mjs.map +0 -1
- package/.output/server/chunks/build/useDaqStream-DfCFpb3p.mjs +0 -395
- package/.output/server/chunks/build/useDaqStream-DfCFpb3p.mjs.map +0 -1
- package/.output/server/chunks/build/useDcwStream-UPiX-3iO.mjs +0 -435
- package/.output/server/chunks/build/useDcwStream-UPiX-3iO.mjs.map +0 -1
- package/.output/server/chunks/build/useDeviceTwins-Yko6nNPF.mjs +0 -128
- package/.output/server/chunks/build/useDeviceTwins-Yko6nNPF.mjs.map +0 -1
- package/.output/server/chunks/build/useOpsLog-CO_VWh7t.mjs +0 -137
- package/.output/server/chunks/build/useOpsLog-CO_VWh7t.mjs.map +0 -1
- package/.output/server/chunks/build/useWorkshopApi-NyjL0L3j.mjs +0 -90
- package/.output/server/chunks/build/useWorkshopApi-NyjL0L3j.mjs.map +0 -1
- package/.output/server/chunks/build/useWorkshopWs-C_I7q9As.mjs +0 -1319
- package/.output/server/chunks/build/useWorkshopWs-C_I7q9As.mjs.map +0 -1
- package/.output/server/chunks/build/users-Cfd5-l2-.mjs +0 -561
- package/.output/server/chunks/build/users-Cfd5-l2-.mjs.map +0 -1
- package/.output/server/chunks/build/workshop-BIlCj_ZP.mjs +0 -931
- package/.output/server/chunks/build/workshop-BIlCj_ZP.mjs.map +0 -1
- package/.output/server/chunks/build/workspaces-Bgz5Ekwp.mjs +0 -139
- package/.output/server/chunks/build/workspaces-Bgz5Ekwp.mjs.map +0 -1
- package/scripts/test-agent-brain.ts +0 -135
- package/scripts/test-game-session.ts +0 -160
- package/scripts/test-protocol.ts +0 -156
- package/scripts/verify-game.mjs +0 -477
- package/server/api/workshop/ws.ts +0 -763
- package/server/services/system-config.ts +0 -629
- package/server/services/workshop/agents/adapters/omp-rpc-client.ts +0 -604
- package/server/services/workshop/agents/codex-agent.ts +0 -743
- package/server/services/workshop/agents/harness-terminal.ts +0 -625
- package/server/services/workshop/agents/host-tool-bridge.ts +0 -714
- package/server/services/workshop/agents/industrial-tools.ts +0 -1680
- package/server/services/workshop/agents/omp-agent.ts +0 -1199
- package/server/services/workshop/agents/opencode-agent.ts +0 -960
- package/server/services/workshop/aml/job-orchestrator.ts +0 -639
- package/server/services/workshop/daq/daq-controller.ts +0 -1284
- package/server/services/workshop/daq/drivers.ts +0 -1196
- package/server/services/workshop/db/database.ts +0 -1044
- package/server/services/workshop/dcw/dcw-controller.ts +0 -1176
- package/server/services/workshop/dcw/drivers.ts +0 -731
- package/server/services/workshop/dcw/recipe-rollback-manager.ts +0 -713
- package/server/services/workshop/runtime/agent-runtime.ts +0 -821
- package/server/services/workshop/runtime/manager.ts +0 -3050
- package/server/services/workshop/runtime/memory.ts +0 -681
- package/server/services/workshop/runtime/scheduler-loop.ts +0 -799
- package/server/services/workshop/runtime/task-engine.ts +0 -574
- package/shared/dcw-protocol.ts +0 -747
- /package/.output/public/_nuxt/{BrIJiJSN.js → BrIJiJSN2.js} +0 -0
- /package/.output/public/_nuxt/{CNs_Ozdc2.js → CNs_Ozdc.js} +0 -0
- /package/.output/public/_nuxt/{DIOBYJe3.js → DIOBYJe32.js} +0 -0
- /package/.output/public/_nuxt/{lO5tpDZ5.js → lO5tpDZ52.js} +0 -0
|
@@ -1,2617 +0,0 @@
|
|
|
1
|
-
import { V as Icon, e as useConfigInject_default, W as useInjectDisabled, C as CloseCircleFilled, j as _objectSpread2, i as classNames, h as _extends, P as PropTypes, l as genComponentStyleHook, x as anyType, a0 as tuple, B as eventType, m as merge, A as resetComponent, o as filterEmpty, s as stringType, p as warning, G as isValidElement, ad as clearFix } from '../virtual/entry.mjs';
|
|
2
|
-
import { j as getMergedStatus, k as getStatusClassNames, o as SearchOutlined, B as BaseInput, m as vc_resize_observer_default, w as wrapperRaf, M as MapCache, e as eq } from '../_/SearchOutlined.mjs';
|
|
3
|
-
import { p as useInjectFormItemContext, F as FormItemInputContext, s as useCompactItemContext, N as NoCompactStyle, x as NoFormStatus, t as omit, c as cloneElement, b as button_default, w as genCompactItemStyle, l as isObjectLike, y as baseGetTag, z as overArg, f as isArray, A as isLength, m as isArguments, g as getNative, S as Symbol$1 } from './button-DEcZFcqN.mjs';
|
|
4
|
-
import { createVNode, defineComponent, ref, computed, Fragment, shallowRef, getCurrentInstance, watch, watchEffect, nextTick } from 'vue';
|
|
5
|
-
|
|
6
|
-
// This icon file is generated automatically.
|
|
7
|
-
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" };
|
|
8
|
-
|
|
9
|
-
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; }
|
|
10
|
-
|
|
11
|
-
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; }
|
|
12
|
-
|
|
13
|
-
var EyeOutlined = function EyeOutlined(props, context) {
|
|
14
|
-
var p = _objectSpread$1({}, props, context.attrs);
|
|
15
|
-
|
|
16
|
-
return createVNode(Icon, _objectSpread$1({}, p, {
|
|
17
|
-
"icon": EyeOutlined$1
|
|
18
|
-
}), null);
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
EyeOutlined.displayName = 'EyeOutlined';
|
|
22
|
-
EyeOutlined.inheritAttrs = false;
|
|
23
|
-
|
|
24
|
-
// This icon file is generated automatically.
|
|
25
|
-
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" };
|
|
26
|
-
|
|
27
|
-
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; }
|
|
28
|
-
|
|
29
|
-
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; }
|
|
30
|
-
|
|
31
|
-
var EyeInvisibleOutlined = function EyeInvisibleOutlined(props, context) {
|
|
32
|
-
var p = _objectSpread({}, props, context.attrs);
|
|
33
|
-
|
|
34
|
-
return createVNode(Icon, _objectSpread({}, p, {
|
|
35
|
-
"icon": EyeInvisibleOutlined$1
|
|
36
|
-
}), null);
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
EyeInvisibleOutlined.displayName = 'EyeInvisibleOutlined';
|
|
40
|
-
EyeInvisibleOutlined.inheritAttrs = false;
|
|
41
|
-
|
|
42
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js
|
|
43
|
-
/**
|
|
44
|
-
* Appends the elements of `values` to `array`.
|
|
45
|
-
*
|
|
46
|
-
* @private
|
|
47
|
-
* @param {Array} array The array to modify.
|
|
48
|
-
* @param {Array} values The values to append.
|
|
49
|
-
* @returns {Array} Returns `array`.
|
|
50
|
-
*/
|
|
51
|
-
function arrayPush(array, values) {
|
|
52
|
-
var index = -1, length = values.length, offset = array.length;
|
|
53
|
-
while (++index < length) array[offset + index] = values[index];
|
|
54
|
-
return array;
|
|
55
|
-
}
|
|
56
|
-
//#endregion
|
|
57
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js
|
|
58
|
-
/** Used as references for various `Number` constants. */
|
|
59
|
-
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
60
|
-
/** Used to detect unsigned integer values. */
|
|
61
|
-
var reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
62
|
-
/**
|
|
63
|
-
* Checks if `value` is a valid array-like index.
|
|
64
|
-
*
|
|
65
|
-
* @private
|
|
66
|
-
* @param {*} value The value to check.
|
|
67
|
-
* @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
|
|
68
|
-
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
|
|
69
|
-
*/
|
|
70
|
-
function isIndex(value, length) {
|
|
71
|
-
var type = typeof value;
|
|
72
|
-
length = length == null ? MAX_SAFE_INTEGER : length;
|
|
73
|
-
return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && value > -1 && value % 1 == 0 && value < length;
|
|
74
|
-
}
|
|
75
|
-
//#endregion
|
|
76
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js
|
|
77
|
-
/** `Object#toString` result references. */
|
|
78
|
-
var symbolTag = "[object Symbol]";
|
|
79
|
-
/**
|
|
80
|
-
* Checks if `value` is classified as a `Symbol` primitive or object.
|
|
81
|
-
*
|
|
82
|
-
* @static
|
|
83
|
-
* @memberOf _
|
|
84
|
-
* @since 4.0.0
|
|
85
|
-
* @category Lang
|
|
86
|
-
* @param {*} value The value to check.
|
|
87
|
-
* @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
|
|
88
|
-
* @example
|
|
89
|
-
*
|
|
90
|
-
* _.isSymbol(Symbol.iterator);
|
|
91
|
-
* // => true
|
|
92
|
-
*
|
|
93
|
-
* _.isSymbol('abc');
|
|
94
|
-
* // => false
|
|
95
|
-
*/
|
|
96
|
-
function isSymbol(value) {
|
|
97
|
-
return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag;
|
|
98
|
-
}
|
|
99
|
-
//#endregion
|
|
100
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js
|
|
101
|
-
/**
|
|
102
|
-
* A specialized version of `_.map` for arrays without support for iteratee
|
|
103
|
-
* shorthands.
|
|
104
|
-
*
|
|
105
|
-
* @private
|
|
106
|
-
* @param {Array} [array] The array to iterate over.
|
|
107
|
-
* @param {Function} iteratee The function invoked per iteration.
|
|
108
|
-
* @returns {Array} Returns the new mapped array.
|
|
109
|
-
*/
|
|
110
|
-
function arrayMap(array, iteratee) {
|
|
111
|
-
var index = -1, length = array == null ? 0 : array.length, result = Array(length);
|
|
112
|
-
while (++index < length) result[index] = iteratee(array[index], index, array);
|
|
113
|
-
return result;
|
|
114
|
-
}
|
|
115
|
-
/** Used to convert symbols to primitives and strings. */
|
|
116
|
-
var symbolProto = Symbol$1 ? Symbol$1.prototype : void 0;
|
|
117
|
-
var symbolToString = symbolProto ? symbolProto.toString : void 0;
|
|
118
|
-
/**
|
|
119
|
-
* The base implementation of `_.toString` which doesn't convert nullish
|
|
120
|
-
* values to empty strings.
|
|
121
|
-
*
|
|
122
|
-
* @private
|
|
123
|
-
* @param {*} value The value to process.
|
|
124
|
-
* @returns {string} Returns the string.
|
|
125
|
-
*/
|
|
126
|
-
function baseToString(value) {
|
|
127
|
-
if (typeof value == "string") return value;
|
|
128
|
-
if (isArray(value)) return arrayMap(value, baseToString) + "";
|
|
129
|
-
if (isSymbol(value)) return symbolToString ? symbolToString.call(value) : "";
|
|
130
|
-
var result = value + "";
|
|
131
|
-
return result == "0" && 1 / value == -Infinity ? "-0" : result;
|
|
132
|
-
}
|
|
133
|
-
//#endregion
|
|
134
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/identity.js
|
|
135
|
-
/**
|
|
136
|
-
* This method returns the first argument it receives.
|
|
137
|
-
*
|
|
138
|
-
* @static
|
|
139
|
-
* @since 0.1.0
|
|
140
|
-
* @memberOf _
|
|
141
|
-
* @category Util
|
|
142
|
-
* @param {*} value Any value.
|
|
143
|
-
* @returns {*} Returns `value`.
|
|
144
|
-
* @example
|
|
145
|
-
*
|
|
146
|
-
* var object = { 'a': 1 };
|
|
147
|
-
*
|
|
148
|
-
* console.log(_.identity(object) === object);
|
|
149
|
-
* // => true
|
|
150
|
-
*/
|
|
151
|
-
function identity(value) {
|
|
152
|
-
return value;
|
|
153
|
-
}
|
|
154
|
-
//#endregion
|
|
155
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_apply.js
|
|
156
|
-
/**
|
|
157
|
-
* A faster alternative to `Function#apply`, this function invokes `func`
|
|
158
|
-
* with the `this` binding of `thisArg` and the arguments of `args`.
|
|
159
|
-
*
|
|
160
|
-
* @private
|
|
161
|
-
* @param {Function} func The function to invoke.
|
|
162
|
-
* @param {*} thisArg The `this` binding of `func`.
|
|
163
|
-
* @param {Array} args The arguments to invoke `func` with.
|
|
164
|
-
* @returns {*} Returns the result of `func`.
|
|
165
|
-
*/
|
|
166
|
-
function apply(func, thisArg, args) {
|
|
167
|
-
switch (args.length) {
|
|
168
|
-
case 0: return func.call(thisArg);
|
|
169
|
-
case 1: return func.call(thisArg, args[0]);
|
|
170
|
-
case 2: return func.call(thisArg, args[0], args[1]);
|
|
171
|
-
case 3: return func.call(thisArg, args[0], args[1], args[2]);
|
|
172
|
-
}
|
|
173
|
-
return func.apply(thisArg, args);
|
|
174
|
-
}
|
|
175
|
-
//#endregion
|
|
176
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js
|
|
177
|
-
/** Used to detect hot functions by number of calls within a span of milliseconds. */
|
|
178
|
-
var HOT_COUNT = 800;
|
|
179
|
-
var HOT_SPAN = 16;
|
|
180
|
-
var nativeNow = Date.now;
|
|
181
|
-
/**
|
|
182
|
-
* Creates a function that'll short out and invoke `identity` instead
|
|
183
|
-
* of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`
|
|
184
|
-
* milliseconds.
|
|
185
|
-
*
|
|
186
|
-
* @private
|
|
187
|
-
* @param {Function} func The function to restrict.
|
|
188
|
-
* @returns {Function} Returns the new shortable function.
|
|
189
|
-
*/
|
|
190
|
-
function shortOut(func) {
|
|
191
|
-
var count = 0, lastCalled = 0;
|
|
192
|
-
return function() {
|
|
193
|
-
var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);
|
|
194
|
-
lastCalled = stamp;
|
|
195
|
-
if (remaining > 0) {
|
|
196
|
-
if (++count >= HOT_COUNT) return arguments[0];
|
|
197
|
-
} else count = 0;
|
|
198
|
-
return func.apply(void 0, arguments);
|
|
199
|
-
};
|
|
200
|
-
}
|
|
201
|
-
//#endregion
|
|
202
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/constant.js
|
|
203
|
-
/**
|
|
204
|
-
* Creates a function that returns `value`.
|
|
205
|
-
*
|
|
206
|
-
* @static
|
|
207
|
-
* @memberOf _
|
|
208
|
-
* @since 2.4.0
|
|
209
|
-
* @category Util
|
|
210
|
-
* @param {*} value The value to return from the new function.
|
|
211
|
-
* @returns {Function} Returns the new constant function.
|
|
212
|
-
* @example
|
|
213
|
-
*
|
|
214
|
-
* var objects = _.times(2, _.constant({ 'a': 1 }));
|
|
215
|
-
*
|
|
216
|
-
* console.log(objects);
|
|
217
|
-
* // => [{ 'a': 1 }, { 'a': 1 }]
|
|
218
|
-
*
|
|
219
|
-
* console.log(objects[0] === objects[1]);
|
|
220
|
-
* // => true
|
|
221
|
-
*/
|
|
222
|
-
function constant(value) {
|
|
223
|
-
return function() {
|
|
224
|
-
return value;
|
|
225
|
-
};
|
|
226
|
-
}
|
|
227
|
-
//#endregion
|
|
228
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js
|
|
229
|
-
var defineProperty = function() {
|
|
230
|
-
try {
|
|
231
|
-
var func = getNative(Object, "defineProperty");
|
|
232
|
-
func({}, "", {});
|
|
233
|
-
return func;
|
|
234
|
-
} catch (e) {}
|
|
235
|
-
}();
|
|
236
|
-
//#endregion
|
|
237
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js
|
|
238
|
-
/**
|
|
239
|
-
* Sets the `toString` method of `func` to return `string`.
|
|
240
|
-
*
|
|
241
|
-
* @private
|
|
242
|
-
* @param {Function} func The function to modify.
|
|
243
|
-
* @param {Function} string The `toString` result.
|
|
244
|
-
* @returns {Function} Returns `func`.
|
|
245
|
-
*/
|
|
246
|
-
var setToString = shortOut(!defineProperty ? identity : function(func, string) {
|
|
247
|
-
return defineProperty(func, "toString", {
|
|
248
|
-
"configurable": true,
|
|
249
|
-
"enumerable": false,
|
|
250
|
-
"value": constant(string),
|
|
251
|
-
"writable": true
|
|
252
|
-
});
|
|
253
|
-
});
|
|
254
|
-
//#endregion
|
|
255
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js
|
|
256
|
-
/**
|
|
257
|
-
* The base implementation of `assignValue` and `assignMergeValue` without
|
|
258
|
-
* value checks.
|
|
259
|
-
*
|
|
260
|
-
* @private
|
|
261
|
-
* @param {Object} object The object to modify.
|
|
262
|
-
* @param {string} key The key of the property to assign.
|
|
263
|
-
* @param {*} value The value to assign.
|
|
264
|
-
*/
|
|
265
|
-
function baseAssignValue(object, key, value) {
|
|
266
|
-
if (key == "__proto__" && defineProperty) defineProperty(object, key, {
|
|
267
|
-
"configurable": true,
|
|
268
|
-
"enumerable": true,
|
|
269
|
-
"value": value,
|
|
270
|
-
"writable": true
|
|
271
|
-
});
|
|
272
|
-
else object[key] = value;
|
|
273
|
-
}
|
|
274
|
-
//#endregion
|
|
275
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js
|
|
276
|
-
/** Used to check objects for own properties. */
|
|
277
|
-
var hasOwnProperty$1 = Object.prototype.hasOwnProperty;
|
|
278
|
-
/**
|
|
279
|
-
* Assigns `value` to `key` of `object` if the existing value is not equivalent
|
|
280
|
-
* using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
281
|
-
* for equality comparisons.
|
|
282
|
-
*
|
|
283
|
-
* @private
|
|
284
|
-
* @param {Object} object The object to modify.
|
|
285
|
-
* @param {string} key The key of the property to assign.
|
|
286
|
-
* @param {*} value The value to assign.
|
|
287
|
-
*/
|
|
288
|
-
function assignValue(object, key, value) {
|
|
289
|
-
var objValue = object[key];
|
|
290
|
-
if (!(hasOwnProperty$1.call(object, key) && eq(objValue, value)) || value === void 0 && !(key in object)) baseAssignValue(object, key, value);
|
|
291
|
-
}
|
|
292
|
-
//#endregion
|
|
293
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js
|
|
294
|
-
var nativeMax = Math.max;
|
|
295
|
-
/**
|
|
296
|
-
* A specialized version of `baseRest` which transforms the rest array.
|
|
297
|
-
*
|
|
298
|
-
* @private
|
|
299
|
-
* @param {Function} func The function to apply a rest parameter to.
|
|
300
|
-
* @param {number} [start=func.length-1] The start position of the rest parameter.
|
|
301
|
-
* @param {Function} transform The rest array transform.
|
|
302
|
-
* @returns {Function} Returns the new function.
|
|
303
|
-
*/
|
|
304
|
-
function overRest(func, start, transform) {
|
|
305
|
-
start = nativeMax(start === void 0 ? func.length - 1 : start, 0);
|
|
306
|
-
return function() {
|
|
307
|
-
var args = arguments, index = -1, length = nativeMax(args.length - start, 0), array = Array(length);
|
|
308
|
-
while (++index < length) array[index] = args[start + index];
|
|
309
|
-
index = -1;
|
|
310
|
-
var otherArgs = Array(start + 1);
|
|
311
|
-
while (++index < start) otherArgs[index] = args[index];
|
|
312
|
-
otherArgs[start] = transform(array);
|
|
313
|
-
return apply(func, this, otherArgs);
|
|
314
|
-
};
|
|
315
|
-
}
|
|
316
|
-
//#endregion
|
|
317
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js
|
|
318
|
-
/** Used to match property names within property paths. */
|
|
319
|
-
var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;
|
|
320
|
-
var reIsPlainProp = /^\w*$/;
|
|
321
|
-
/**
|
|
322
|
-
* Checks if `value` is a property name and not a property path.
|
|
323
|
-
*
|
|
324
|
-
* @private
|
|
325
|
-
* @param {*} value The value to check.
|
|
326
|
-
* @param {Object} [object] The object to query keys on.
|
|
327
|
-
* @returns {boolean} Returns `true` if `value` is a property name, else `false`.
|
|
328
|
-
*/
|
|
329
|
-
function isKey(value, object) {
|
|
330
|
-
if (isArray(value)) return false;
|
|
331
|
-
var type = typeof value;
|
|
332
|
-
if (type == "number" || type == "symbol" || type == "boolean" || value == null || isSymbol(value)) return true;
|
|
333
|
-
return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object(object);
|
|
334
|
-
}
|
|
335
|
-
//#endregion
|
|
336
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/memoize.js
|
|
337
|
-
/** Error message constants. */
|
|
338
|
-
var FUNC_ERROR_TEXT = "Expected a function";
|
|
339
|
-
/**
|
|
340
|
-
* Creates a function that memoizes the result of `func`. If `resolver` is
|
|
341
|
-
* provided, it determines the cache key for storing the result based on the
|
|
342
|
-
* arguments provided to the memoized function. By default, the first argument
|
|
343
|
-
* provided to the memoized function is used as the map cache key. The `func`
|
|
344
|
-
* is invoked with the `this` binding of the memoized function.
|
|
345
|
-
*
|
|
346
|
-
* **Note:** The cache is exposed as the `cache` property on the memoized
|
|
347
|
-
* function. Its creation may be customized by replacing the `_.memoize.Cache`
|
|
348
|
-
* constructor with one whose instances implement the
|
|
349
|
-
* [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)
|
|
350
|
-
* method interface of `clear`, `delete`, `get`, `has`, and `set`.
|
|
351
|
-
*
|
|
352
|
-
* @static
|
|
353
|
-
* @memberOf _
|
|
354
|
-
* @since 0.1.0
|
|
355
|
-
* @category Function
|
|
356
|
-
* @param {Function} func The function to have its output memoized.
|
|
357
|
-
* @param {Function} [resolver] The function to resolve the cache key.
|
|
358
|
-
* @returns {Function} Returns the new memoized function.
|
|
359
|
-
* @example
|
|
360
|
-
*
|
|
361
|
-
* var object = { 'a': 1, 'b': 2 };
|
|
362
|
-
* var other = { 'c': 3, 'd': 4 };
|
|
363
|
-
*
|
|
364
|
-
* var values = _.memoize(_.values);
|
|
365
|
-
* values(object);
|
|
366
|
-
* // => [1, 2]
|
|
367
|
-
*
|
|
368
|
-
* values(other);
|
|
369
|
-
* // => [3, 4]
|
|
370
|
-
*
|
|
371
|
-
* object.a = 2;
|
|
372
|
-
* values(object);
|
|
373
|
-
* // => [1, 2]
|
|
374
|
-
*
|
|
375
|
-
* // Modify the result cache.
|
|
376
|
-
* values.cache.set(object, ['a', 'b']);
|
|
377
|
-
* values(object);
|
|
378
|
-
* // => ['a', 'b']
|
|
379
|
-
*
|
|
380
|
-
* // Replace `_.memoize.Cache`.
|
|
381
|
-
* _.memoize.Cache = WeakMap;
|
|
382
|
-
*/
|
|
383
|
-
function memoize(func, resolver) {
|
|
384
|
-
if (typeof func != "function" || resolver != null && typeof resolver != "function") throw new TypeError(FUNC_ERROR_TEXT);
|
|
385
|
-
var memoized = function() {
|
|
386
|
-
var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache = memoized.cache;
|
|
387
|
-
if (cache.has(key)) return cache.get(key);
|
|
388
|
-
var result = func.apply(this, args);
|
|
389
|
-
memoized.cache = cache.set(key, result) || cache;
|
|
390
|
-
return result;
|
|
391
|
-
};
|
|
392
|
-
memoized.cache = new (memoize.Cache || MapCache)();
|
|
393
|
-
return memoized;
|
|
394
|
-
}
|
|
395
|
-
memoize.Cache = MapCache;
|
|
396
|
-
//#endregion
|
|
397
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js
|
|
398
|
-
/** Used as the maximum memoize cache size. */
|
|
399
|
-
var MAX_MEMOIZE_SIZE = 500;
|
|
400
|
-
/**
|
|
401
|
-
* A specialized version of `_.memoize` which clears the memoized function's
|
|
402
|
-
* cache when it exceeds `MAX_MEMOIZE_SIZE`.
|
|
403
|
-
*
|
|
404
|
-
* @private
|
|
405
|
-
* @param {Function} func The function to have its output memoized.
|
|
406
|
-
* @returns {Function} Returns the new memoized function.
|
|
407
|
-
*/
|
|
408
|
-
function memoizeCapped(func) {
|
|
409
|
-
var result = memoize(func, function(key) {
|
|
410
|
-
if (cache.size === MAX_MEMOIZE_SIZE) cache.clear();
|
|
411
|
-
return key;
|
|
412
|
-
});
|
|
413
|
-
var cache = result.cache;
|
|
414
|
-
return result;
|
|
415
|
-
}
|
|
416
|
-
//#endregion
|
|
417
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js
|
|
418
|
-
/** Used to match property names within property paths. */
|
|
419
|
-
var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
|
|
420
|
-
/** Used to match backslashes in property paths. */
|
|
421
|
-
var reEscapeChar = /\\(\\)?/g;
|
|
422
|
-
/**
|
|
423
|
-
* Converts `string` to a property path array.
|
|
424
|
-
*
|
|
425
|
-
* @private
|
|
426
|
-
* @param {string} string The string to convert.
|
|
427
|
-
* @returns {Array} Returns the property path array.
|
|
428
|
-
*/
|
|
429
|
-
var stringToPath = memoizeCapped(function(string) {
|
|
430
|
-
var result = [];
|
|
431
|
-
if (string.charCodeAt(0) === 46) result.push("");
|
|
432
|
-
string.replace(rePropName, function(match, number, quote, subString) {
|
|
433
|
-
result.push(quote ? subString.replace(reEscapeChar, "$1") : number || match);
|
|
434
|
-
});
|
|
435
|
-
return result;
|
|
436
|
-
});
|
|
437
|
-
//#endregion
|
|
438
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toString.js
|
|
439
|
-
/**
|
|
440
|
-
* Converts `value` to a string. An empty string is returned for `null`
|
|
441
|
-
* and `undefined` values. The sign of `-0` is preserved.
|
|
442
|
-
*
|
|
443
|
-
* @static
|
|
444
|
-
* @memberOf _
|
|
445
|
-
* @since 4.0.0
|
|
446
|
-
* @category Lang
|
|
447
|
-
* @param {*} value The value to convert.
|
|
448
|
-
* @returns {string} Returns the converted string.
|
|
449
|
-
* @example
|
|
450
|
-
*
|
|
451
|
-
* _.toString(null);
|
|
452
|
-
* // => ''
|
|
453
|
-
*
|
|
454
|
-
* _.toString(-0);
|
|
455
|
-
* // => '-0'
|
|
456
|
-
*
|
|
457
|
-
* _.toString([1, 2, 3]);
|
|
458
|
-
* // => '1,2,3'
|
|
459
|
-
*/
|
|
460
|
-
function toString(value) {
|
|
461
|
-
return value == null ? "" : baseToString(value);
|
|
462
|
-
}
|
|
463
|
-
//#endregion
|
|
464
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js
|
|
465
|
-
/**
|
|
466
|
-
* Casts `value` to a path array if it's not one.
|
|
467
|
-
*
|
|
468
|
-
* @private
|
|
469
|
-
* @param {*} value The value to inspect.
|
|
470
|
-
* @param {Object} [object] The object to query keys on.
|
|
471
|
-
* @returns {Array} Returns the cast property path array.
|
|
472
|
-
*/
|
|
473
|
-
function castPath(value, object) {
|
|
474
|
-
if (isArray(value)) return value;
|
|
475
|
-
return isKey(value, object) ? [value] : stringToPath(toString(value));
|
|
476
|
-
}
|
|
477
|
-
/**
|
|
478
|
-
* Converts `value` to a string key if it's not a string or symbol.
|
|
479
|
-
*
|
|
480
|
-
* @private
|
|
481
|
-
* @param {*} value The value to inspect.
|
|
482
|
-
* @returns {string|symbol} Returns the key.
|
|
483
|
-
*/
|
|
484
|
-
function toKey(value) {
|
|
485
|
-
if (typeof value == "string" || isSymbol(value)) return value;
|
|
486
|
-
var result = value + "";
|
|
487
|
-
return result == "0" && 1 / value == -Infinity ? "-0" : result;
|
|
488
|
-
}
|
|
489
|
-
//#endregion
|
|
490
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js
|
|
491
|
-
/**
|
|
492
|
-
* The base implementation of `_.get` without support for default values.
|
|
493
|
-
*
|
|
494
|
-
* @private
|
|
495
|
-
* @param {Object} object The object to query.
|
|
496
|
-
* @param {Array|string} path The path of the property to get.
|
|
497
|
-
* @returns {*} Returns the resolved value.
|
|
498
|
-
*/
|
|
499
|
-
function baseGet(object, path) {
|
|
500
|
-
path = castPath(path, object);
|
|
501
|
-
var index = 0, length = path.length;
|
|
502
|
-
while (object != null && index < length) object = object[toKey(path[index++])];
|
|
503
|
-
return index && index == length ? object : void 0;
|
|
504
|
-
}
|
|
505
|
-
//#endregion
|
|
506
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isFlattenable.js
|
|
507
|
-
/** Built-in value references. */
|
|
508
|
-
var spreadableSymbol = Symbol$1 ? Symbol$1.isConcatSpreadable : void 0;
|
|
509
|
-
/**
|
|
510
|
-
* Checks if `value` is a flattenable `arguments` object or array.
|
|
511
|
-
*
|
|
512
|
-
* @private
|
|
513
|
-
* @param {*} value The value to check.
|
|
514
|
-
* @returns {boolean} Returns `true` if `value` is flattenable, else `false`.
|
|
515
|
-
*/
|
|
516
|
-
function isFlattenable(value) {
|
|
517
|
-
return isArray(value) || isArguments(value) || !!(spreadableSymbol && value && value[spreadableSymbol]);
|
|
518
|
-
}
|
|
519
|
-
//#endregion
|
|
520
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseFlatten.js
|
|
521
|
-
/**
|
|
522
|
-
* The base implementation of `_.flatten` with support for restricting flattening.
|
|
523
|
-
*
|
|
524
|
-
* @private
|
|
525
|
-
* @param {Array} array The array to flatten.
|
|
526
|
-
* @param {number} depth The maximum recursion depth.
|
|
527
|
-
* @param {boolean} [predicate=isFlattenable] The function invoked per iteration.
|
|
528
|
-
* @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.
|
|
529
|
-
* @param {Array} [result=[]] The initial result value.
|
|
530
|
-
* @returns {Array} Returns the new flattened array.
|
|
531
|
-
*/
|
|
532
|
-
function baseFlatten(array, depth, predicate, isStrict, result) {
|
|
533
|
-
var index = -1, length = array.length;
|
|
534
|
-
predicate || (predicate = isFlattenable);
|
|
535
|
-
result || (result = []);
|
|
536
|
-
while (++index < length) {
|
|
537
|
-
var value = array[index];
|
|
538
|
-
if (predicate(value)) {
|
|
539
|
-
arrayPush(result, value);
|
|
540
|
-
} else result[result.length] = value;
|
|
541
|
-
}
|
|
542
|
-
return result;
|
|
543
|
-
}
|
|
544
|
-
//#endregion
|
|
545
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/flatten.js
|
|
546
|
-
/**
|
|
547
|
-
* Flattens `array` a single level deep.
|
|
548
|
-
*
|
|
549
|
-
* @static
|
|
550
|
-
* @memberOf _
|
|
551
|
-
* @since 0.1.0
|
|
552
|
-
* @category Array
|
|
553
|
-
* @param {Array} array The array to flatten.
|
|
554
|
-
* @returns {Array} Returns the new flattened array.
|
|
555
|
-
* @example
|
|
556
|
-
*
|
|
557
|
-
* _.flatten([1, [2, [3, [4]], 5]]);
|
|
558
|
-
* // => [1, 2, [3, [4]], 5]
|
|
559
|
-
*/
|
|
560
|
-
function flatten(array) {
|
|
561
|
-
return (array == null ? 0 : array.length) ? baseFlatten(array) : [];
|
|
562
|
-
}
|
|
563
|
-
//#endregion
|
|
564
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_flatRest.js
|
|
565
|
-
/**
|
|
566
|
-
* A specialized version of `baseRest` which flattens the rest array.
|
|
567
|
-
*
|
|
568
|
-
* @private
|
|
569
|
-
* @param {Function} func The function to apply a rest parameter to.
|
|
570
|
-
* @returns {Function} Returns the new function.
|
|
571
|
-
*/
|
|
572
|
-
function flatRest(func) {
|
|
573
|
-
return setToString(overRest(func, void 0, flatten), func + "");
|
|
574
|
-
}
|
|
575
|
-
//#endregion
|
|
576
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js
|
|
577
|
-
/** Built-in value references. */
|
|
578
|
-
var getPrototype = overArg(Object.getPrototypeOf, Object);
|
|
579
|
-
//#endregion
|
|
580
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isPlainObject.js
|
|
581
|
-
/** `Object#toString` result references. */
|
|
582
|
-
var objectTag = "[object Object]";
|
|
583
|
-
/** Used for built-in method references. */
|
|
584
|
-
var funcProto = Function.prototype;
|
|
585
|
-
var objectProto = Object.prototype;
|
|
586
|
-
/** Used to resolve the decompiled source of functions. */
|
|
587
|
-
var funcToString = funcProto.toString;
|
|
588
|
-
/** Used to check objects for own properties. */
|
|
589
|
-
var hasOwnProperty = objectProto.hasOwnProperty;
|
|
590
|
-
/** Used to infer the `Object` constructor. */
|
|
591
|
-
var objectCtorString = funcToString.call(Object);
|
|
592
|
-
/**
|
|
593
|
-
* Checks if `value` is a plain object, that is, an object created by the
|
|
594
|
-
* `Object` constructor or one with a `[[Prototype]]` of `null`.
|
|
595
|
-
*
|
|
596
|
-
* @static
|
|
597
|
-
* @memberOf _
|
|
598
|
-
* @since 0.8.0
|
|
599
|
-
* @category Lang
|
|
600
|
-
* @param {*} value The value to check.
|
|
601
|
-
* @returns {boolean} Returns `true` if `value` is a plain object, else `false`.
|
|
602
|
-
* @example
|
|
603
|
-
*
|
|
604
|
-
* function Foo() {
|
|
605
|
-
* this.a = 1;
|
|
606
|
-
* }
|
|
607
|
-
*
|
|
608
|
-
* _.isPlainObject(new Foo);
|
|
609
|
-
* // => false
|
|
610
|
-
*
|
|
611
|
-
* _.isPlainObject([1, 2, 3]);
|
|
612
|
-
* // => false
|
|
613
|
-
*
|
|
614
|
-
* _.isPlainObject({ 'x': 0, 'y': 0 });
|
|
615
|
-
* // => true
|
|
616
|
-
*
|
|
617
|
-
* _.isPlainObject(Object.create(null));
|
|
618
|
-
* // => true
|
|
619
|
-
*/
|
|
620
|
-
function isPlainObject(value) {
|
|
621
|
-
if (!isObjectLike(value) || baseGetTag(value) != objectTag) return false;
|
|
622
|
-
var proto = getPrototype(value);
|
|
623
|
-
if (proto === null) return true;
|
|
624
|
-
var Ctor = hasOwnProperty.call(proto, "constructor") && proto.constructor;
|
|
625
|
-
return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;
|
|
626
|
-
}
|
|
627
|
-
//#endregion
|
|
628
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseHasIn.js
|
|
629
|
-
/**
|
|
630
|
-
* The base implementation of `_.hasIn` without support for deep paths.
|
|
631
|
-
*
|
|
632
|
-
* @private
|
|
633
|
-
* @param {Object} [object] The object to query.
|
|
634
|
-
* @param {Array|string} key The key to check.
|
|
635
|
-
* @returns {boolean} Returns `true` if `key` exists, else `false`.
|
|
636
|
-
*/
|
|
637
|
-
function baseHasIn(object, key) {
|
|
638
|
-
return object != null && key in Object(object);
|
|
639
|
-
}
|
|
640
|
-
//#endregion
|
|
641
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hasPath.js
|
|
642
|
-
/**
|
|
643
|
-
* Checks if `path` exists on `object`.
|
|
644
|
-
*
|
|
645
|
-
* @private
|
|
646
|
-
* @param {Object} object The object to query.
|
|
647
|
-
* @param {Array|string} path The path to check.
|
|
648
|
-
* @param {Function} hasFunc The function to check properties.
|
|
649
|
-
* @returns {boolean} Returns `true` if `path` exists, else `false`.
|
|
650
|
-
*/
|
|
651
|
-
function hasPath(object, path, hasFunc) {
|
|
652
|
-
path = castPath(path, object);
|
|
653
|
-
var index = -1, length = path.length, result = false;
|
|
654
|
-
while (++index < length) {
|
|
655
|
-
var key = toKey(path[index]);
|
|
656
|
-
if (!(result = object != null && hasFunc(object, key))) break;
|
|
657
|
-
object = object[key];
|
|
658
|
-
}
|
|
659
|
-
if (result || ++index != length) return result;
|
|
660
|
-
length = object == null ? 0 : object.length;
|
|
661
|
-
return !!length && isLength(length) && isIndex(key, length) && (isArray(object) || isArguments(object));
|
|
662
|
-
}
|
|
663
|
-
//#endregion
|
|
664
|
-
//#region node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/hasIn.js
|
|
665
|
-
/**
|
|
666
|
-
* Checks if `path` is a direct or inherited property of `object`.
|
|
667
|
-
*
|
|
668
|
-
* @static
|
|
669
|
-
* @memberOf _
|
|
670
|
-
* @since 4.0.0
|
|
671
|
-
* @category Object
|
|
672
|
-
* @param {Object} object The object to query.
|
|
673
|
-
* @param {Array|string} path The path to check.
|
|
674
|
-
* @returns {boolean} Returns `true` if `path` exists, else `false`.
|
|
675
|
-
* @example
|
|
676
|
-
*
|
|
677
|
-
* var object = _.create({ 'a': _.create({ 'b': 2 }) });
|
|
678
|
-
*
|
|
679
|
-
* _.hasIn(object, 'a');
|
|
680
|
-
* // => true
|
|
681
|
-
*
|
|
682
|
-
* _.hasIn(object, 'a.b');
|
|
683
|
-
* // => true
|
|
684
|
-
*
|
|
685
|
-
* _.hasIn(object, ['a', 'b']);
|
|
686
|
-
* // => true
|
|
687
|
-
*
|
|
688
|
-
* _.hasIn(object, 'b');
|
|
689
|
-
* // => false
|
|
690
|
-
*/
|
|
691
|
-
function hasIn(object, path) {
|
|
692
|
-
return object != null && hasPath(object, path, baseHasIn);
|
|
693
|
-
}
|
|
694
|
-
//#endregion
|
|
695
|
-
//#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/input/style/index.js
|
|
696
|
-
var genPlaceholderStyle = (color) => ({
|
|
697
|
-
"&::-moz-placeholder": { opacity: 1 },
|
|
698
|
-
"&::placeholder": {
|
|
699
|
-
color,
|
|
700
|
-
userSelect: "none"
|
|
701
|
-
},
|
|
702
|
-
"&:placeholder-shown": { textOverflow: "ellipsis" }
|
|
703
|
-
});
|
|
704
|
-
var genHoverStyle = (token) => ({
|
|
705
|
-
borderColor: token.inputBorderHoverColor,
|
|
706
|
-
borderInlineEndWidth: token.lineWidth
|
|
707
|
-
});
|
|
708
|
-
var genActiveStyle = (token) => ({
|
|
709
|
-
borderColor: token.inputBorderHoverColor,
|
|
710
|
-
boxShadow: `0 0 0 ${token.controlOutlineWidth}px ${token.controlOutline}`,
|
|
711
|
-
borderInlineEndWidth: token.lineWidth,
|
|
712
|
-
outline: 0
|
|
713
|
-
});
|
|
714
|
-
var genDisabledStyle = (token) => ({
|
|
715
|
-
color: token.colorTextDisabled,
|
|
716
|
-
backgroundColor: token.colorBgContainerDisabled,
|
|
717
|
-
borderColor: token.colorBorder,
|
|
718
|
-
boxShadow: "none",
|
|
719
|
-
cursor: "not-allowed",
|
|
720
|
-
opacity: 1,
|
|
721
|
-
"&:hover": _extends({}, genHoverStyle(merge(token, { inputBorderHoverColor: token.colorBorder })))
|
|
722
|
-
});
|
|
723
|
-
var genInputLargeStyle = (token) => {
|
|
724
|
-
const { inputPaddingVerticalLG, fontSizeLG, lineHeightLG, borderRadiusLG, inputPaddingHorizontalLG } = token;
|
|
725
|
-
return {
|
|
726
|
-
padding: `${inputPaddingVerticalLG}px ${inputPaddingHorizontalLG}px`,
|
|
727
|
-
fontSize: fontSizeLG,
|
|
728
|
-
lineHeight: lineHeightLG,
|
|
729
|
-
borderRadius: borderRadiusLG
|
|
730
|
-
};
|
|
731
|
-
};
|
|
732
|
-
var genInputSmallStyle = (token) => ({
|
|
733
|
-
padding: `${token.inputPaddingVerticalSM}px ${token.controlPaddingHorizontalSM - 1}px`,
|
|
734
|
-
borderRadius: token.borderRadiusSM
|
|
735
|
-
});
|
|
736
|
-
var genStatusStyle = (token, parentCls) => {
|
|
737
|
-
const { componentCls, colorError, colorWarning, colorErrorOutline, colorWarningOutline, colorErrorBorderHover, colorWarningBorderHover } = token;
|
|
738
|
-
return {
|
|
739
|
-
[`&-status-error:not(${parentCls}-disabled):not(${parentCls}-borderless)${parentCls}`]: {
|
|
740
|
-
borderColor: colorError,
|
|
741
|
-
"&:hover": { borderColor: colorErrorBorderHover },
|
|
742
|
-
"&:focus, &-focused": _extends({}, genActiveStyle(merge(token, {
|
|
743
|
-
inputBorderActiveColor: colorError,
|
|
744
|
-
inputBorderHoverColor: colorError,
|
|
745
|
-
controlOutline: colorErrorOutline
|
|
746
|
-
}))),
|
|
747
|
-
[`${componentCls}-prefix`]: { color: colorError }
|
|
748
|
-
},
|
|
749
|
-
[`&-status-warning:not(${parentCls}-disabled):not(${parentCls}-borderless)${parentCls}`]: {
|
|
750
|
-
borderColor: colorWarning,
|
|
751
|
-
"&:hover": { borderColor: colorWarningBorderHover },
|
|
752
|
-
"&:focus, &-focused": _extends({}, genActiveStyle(merge(token, {
|
|
753
|
-
inputBorderActiveColor: colorWarning,
|
|
754
|
-
inputBorderHoverColor: colorWarning,
|
|
755
|
-
controlOutline: colorWarningOutline
|
|
756
|
-
}))),
|
|
757
|
-
[`${componentCls}-prefix`]: { color: colorWarning }
|
|
758
|
-
}
|
|
759
|
-
};
|
|
760
|
-
};
|
|
761
|
-
var genBasicInputStyle = (token) => _extends(_extends({
|
|
762
|
-
position: "relative",
|
|
763
|
-
display: "inline-block",
|
|
764
|
-
width: "100%",
|
|
765
|
-
minWidth: 0,
|
|
766
|
-
padding: `${token.inputPaddingVertical}px ${token.inputPaddingHorizontal}px`,
|
|
767
|
-
color: token.colorText,
|
|
768
|
-
fontSize: token.fontSize,
|
|
769
|
-
lineHeight: token.lineHeight,
|
|
770
|
-
backgroundColor: token.colorBgContainer,
|
|
771
|
-
backgroundImage: "none",
|
|
772
|
-
borderWidth: token.lineWidth,
|
|
773
|
-
borderStyle: token.lineType,
|
|
774
|
-
borderColor: token.colorBorder,
|
|
775
|
-
borderRadius: token.borderRadius,
|
|
776
|
-
transition: `all ${token.motionDurationMid}`
|
|
777
|
-
}, genPlaceholderStyle(token.colorTextPlaceholder)), {
|
|
778
|
-
"&:hover": _extends({}, genHoverStyle(token)),
|
|
779
|
-
"&:focus, &-focused": _extends({}, genActiveStyle(token)),
|
|
780
|
-
"&-disabled, &[disabled]": _extends({}, genDisabledStyle(token)),
|
|
781
|
-
"&-borderless": { "&, &:hover, &:focus, &-focused, &-disabled, &[disabled]": {
|
|
782
|
-
backgroundColor: "transparent",
|
|
783
|
-
border: "none",
|
|
784
|
-
boxShadow: "none"
|
|
785
|
-
} },
|
|
786
|
-
"textarea&": {
|
|
787
|
-
maxWidth: "100%",
|
|
788
|
-
height: "auto",
|
|
789
|
-
minHeight: token.controlHeight,
|
|
790
|
-
lineHeight: token.lineHeight,
|
|
791
|
-
verticalAlign: "bottom",
|
|
792
|
-
transition: `all ${token.motionDurationSlow}, height 0s`,
|
|
793
|
-
resize: "vertical"
|
|
794
|
-
},
|
|
795
|
-
"&-lg": _extends({}, genInputLargeStyle(token)),
|
|
796
|
-
"&-sm": _extends({}, genInputSmallStyle(token)),
|
|
797
|
-
"&-rtl": { direction: "rtl" },
|
|
798
|
-
"&-textarea-rtl": { direction: "rtl" }
|
|
799
|
-
});
|
|
800
|
-
var genInputGroupStyle = (token) => {
|
|
801
|
-
const { componentCls, antCls } = token;
|
|
802
|
-
return {
|
|
803
|
-
position: "relative",
|
|
804
|
-
display: "table",
|
|
805
|
-
width: "100%",
|
|
806
|
-
borderCollapse: "separate",
|
|
807
|
-
borderSpacing: 0,
|
|
808
|
-
[`&[class*='col-']`]: {
|
|
809
|
-
paddingInlineEnd: token.paddingXS,
|
|
810
|
-
"&:last-child": { paddingInlineEnd: 0 }
|
|
811
|
-
},
|
|
812
|
-
[`&-lg ${componentCls}, &-lg > ${componentCls}-group-addon`]: _extends({}, genInputLargeStyle(token)),
|
|
813
|
-
[`&-sm ${componentCls}, &-sm > ${componentCls}-group-addon`]: _extends({}, genInputSmallStyle(token)),
|
|
814
|
-
[`> ${componentCls}`]: {
|
|
815
|
-
display: "table-cell",
|
|
816
|
-
"&:not(:first-child):not(:last-child)": { borderRadius: 0 }
|
|
817
|
-
},
|
|
818
|
-
[`${componentCls}-group`]: {
|
|
819
|
-
[`&-addon, &-wrap`]: {
|
|
820
|
-
display: "table-cell",
|
|
821
|
-
width: 1,
|
|
822
|
-
whiteSpace: "nowrap",
|
|
823
|
-
verticalAlign: "middle",
|
|
824
|
-
"&:not(:first-child):not(:last-child)": { borderRadius: 0 }
|
|
825
|
-
},
|
|
826
|
-
"&-wrap > *": { display: "block !important" },
|
|
827
|
-
"&-addon": {
|
|
828
|
-
position: "relative",
|
|
829
|
-
padding: `0 ${token.inputPaddingHorizontal}px`,
|
|
830
|
-
color: token.colorText,
|
|
831
|
-
fontWeight: "normal",
|
|
832
|
-
fontSize: token.fontSize,
|
|
833
|
-
textAlign: "center",
|
|
834
|
-
backgroundColor: token.colorFillAlter,
|
|
835
|
-
border: `${token.lineWidth}px ${token.lineType} ${token.colorBorder}`,
|
|
836
|
-
borderRadius: token.borderRadius,
|
|
837
|
-
transition: `all ${token.motionDurationSlow}`,
|
|
838
|
-
lineHeight: 1,
|
|
839
|
-
[`${antCls}-select`]: {
|
|
840
|
-
margin: `-${token.inputPaddingVertical + 1}px -${token.inputPaddingHorizontal}px`,
|
|
841
|
-
[`&${antCls}-select-single:not(${antCls}-select-customize-input)`]: { [`${antCls}-select-selector`]: {
|
|
842
|
-
backgroundColor: "inherit",
|
|
843
|
-
border: `${token.lineWidth}px ${token.lineType} transparent`,
|
|
844
|
-
boxShadow: "none"
|
|
845
|
-
} },
|
|
846
|
-
"&-open, &-focused": { [`${antCls}-select-selector`]: { color: token.colorPrimary } }
|
|
847
|
-
},
|
|
848
|
-
[`${antCls}-cascader-picker`]: {
|
|
849
|
-
margin: `-9px -${token.inputPaddingHorizontal}px`,
|
|
850
|
-
backgroundColor: "transparent",
|
|
851
|
-
[`${antCls}-cascader-input`]: {
|
|
852
|
-
textAlign: "start",
|
|
853
|
-
border: 0,
|
|
854
|
-
boxShadow: "none"
|
|
855
|
-
}
|
|
856
|
-
}
|
|
857
|
-
},
|
|
858
|
-
"&-addon:first-child": { borderInlineEnd: 0 },
|
|
859
|
-
"&-addon:last-child": { borderInlineStart: 0 }
|
|
860
|
-
},
|
|
861
|
-
[`${componentCls}`]: {
|
|
862
|
-
float: "inline-start",
|
|
863
|
-
width: "100%",
|
|
864
|
-
marginBottom: 0,
|
|
865
|
-
textAlign: "inherit",
|
|
866
|
-
"&:focus": {
|
|
867
|
-
zIndex: 1,
|
|
868
|
-
borderInlineEndWidth: 1
|
|
869
|
-
},
|
|
870
|
-
"&:hover": {
|
|
871
|
-
zIndex: 1,
|
|
872
|
-
borderInlineEndWidth: 1,
|
|
873
|
-
[`${componentCls}-search-with-button &`]: { zIndex: 0 }
|
|
874
|
-
}
|
|
875
|
-
},
|
|
876
|
-
[`> ${componentCls}:first-child, ${componentCls}-group-addon:first-child`]: {
|
|
877
|
-
borderStartEndRadius: 0,
|
|
878
|
-
borderEndEndRadius: 0,
|
|
879
|
-
[`${antCls}-select ${antCls}-select-selector`]: {
|
|
880
|
-
borderStartEndRadius: 0,
|
|
881
|
-
borderEndEndRadius: 0
|
|
882
|
-
}
|
|
883
|
-
},
|
|
884
|
-
[`> ${componentCls}-affix-wrapper`]: {
|
|
885
|
-
[`&:not(:first-child) ${componentCls}`]: {
|
|
886
|
-
borderStartStartRadius: 0,
|
|
887
|
-
borderEndStartRadius: 0
|
|
888
|
-
},
|
|
889
|
-
[`&:not(:last-child) ${componentCls}`]: {
|
|
890
|
-
borderStartEndRadius: 0,
|
|
891
|
-
borderEndEndRadius: 0
|
|
892
|
-
}
|
|
893
|
-
},
|
|
894
|
-
[`> ${componentCls}:last-child, ${componentCls}-group-addon:last-child`]: {
|
|
895
|
-
borderStartStartRadius: 0,
|
|
896
|
-
borderEndStartRadius: 0,
|
|
897
|
-
[`${antCls}-select ${antCls}-select-selector`]: {
|
|
898
|
-
borderStartStartRadius: 0,
|
|
899
|
-
borderEndStartRadius: 0
|
|
900
|
-
}
|
|
901
|
-
},
|
|
902
|
-
[`${componentCls}-affix-wrapper`]: {
|
|
903
|
-
"&:not(:last-child)": {
|
|
904
|
-
borderStartEndRadius: 0,
|
|
905
|
-
borderEndEndRadius: 0,
|
|
906
|
-
[`${componentCls}-search &`]: {
|
|
907
|
-
borderStartStartRadius: token.borderRadius,
|
|
908
|
-
borderEndStartRadius: token.borderRadius
|
|
909
|
-
}
|
|
910
|
-
},
|
|
911
|
-
[`&:not(:first-child), ${componentCls}-search &:not(:first-child)`]: {
|
|
912
|
-
borderStartStartRadius: 0,
|
|
913
|
-
borderEndStartRadius: 0
|
|
914
|
-
}
|
|
915
|
-
},
|
|
916
|
-
[`&${componentCls}-group-compact`]: _extends(_extends({ display: "block" }, clearFix()), {
|
|
917
|
-
[`${componentCls}-group-addon, ${componentCls}-group-wrap, > ${componentCls}`]: { "&:not(:first-child):not(:last-child)": {
|
|
918
|
-
borderInlineEndWidth: token.lineWidth,
|
|
919
|
-
"&:hover": { zIndex: 1 },
|
|
920
|
-
"&:focus": { zIndex: 1 }
|
|
921
|
-
} },
|
|
922
|
-
"& > *": {
|
|
923
|
-
display: "inline-block",
|
|
924
|
-
float: "none",
|
|
925
|
-
verticalAlign: "top",
|
|
926
|
-
borderRadius: 0
|
|
927
|
-
},
|
|
928
|
-
[`& > ${componentCls}-affix-wrapper`]: { display: "inline-flex" },
|
|
929
|
-
[`& > ${antCls}-picker-range`]: { display: "inline-flex" },
|
|
930
|
-
"& > *:not(:last-child)": {
|
|
931
|
-
marginInlineEnd: -token.lineWidth,
|
|
932
|
-
borderInlineEndWidth: token.lineWidth
|
|
933
|
-
},
|
|
934
|
-
[`${componentCls}`]: { float: "none" },
|
|
935
|
-
[`& > ${antCls}-select > ${antCls}-select-selector,
|
|
936
|
-
& > ${antCls}-select-auto-complete ${componentCls},
|
|
937
|
-
& > ${antCls}-cascader-picker ${componentCls},
|
|
938
|
-
& > ${componentCls}-group-wrapper ${componentCls}`]: {
|
|
939
|
-
borderInlineEndWidth: token.lineWidth,
|
|
940
|
-
borderRadius: 0,
|
|
941
|
-
"&:hover": { zIndex: 1 },
|
|
942
|
-
"&:focus": { zIndex: 1 }
|
|
943
|
-
},
|
|
944
|
-
[`& > ${antCls}-select-focused`]: { zIndex: 1 },
|
|
945
|
-
[`& > ${antCls}-select > ${antCls}-select-arrow`]: { zIndex: 1 },
|
|
946
|
-
[`& > *:first-child,
|
|
947
|
-
& > ${antCls}-select:first-child > ${antCls}-select-selector,
|
|
948
|
-
& > ${antCls}-select-auto-complete:first-child ${componentCls},
|
|
949
|
-
& > ${antCls}-cascader-picker:first-child ${componentCls}`]: {
|
|
950
|
-
borderStartStartRadius: token.borderRadius,
|
|
951
|
-
borderEndStartRadius: token.borderRadius
|
|
952
|
-
},
|
|
953
|
-
[`& > *:last-child,
|
|
954
|
-
& > ${antCls}-select:last-child > ${antCls}-select-selector,
|
|
955
|
-
& > ${antCls}-cascader-picker:last-child ${componentCls},
|
|
956
|
-
& > ${antCls}-cascader-picker-focused:last-child ${componentCls}`]: {
|
|
957
|
-
borderInlineEndWidth: token.lineWidth,
|
|
958
|
-
borderStartEndRadius: token.borderRadius,
|
|
959
|
-
borderEndEndRadius: token.borderRadius
|
|
960
|
-
},
|
|
961
|
-
[`& > ${antCls}-select-auto-complete ${componentCls}`]: { verticalAlign: "top" },
|
|
962
|
-
[`${componentCls}-group-wrapper + ${componentCls}-group-wrapper`]: {
|
|
963
|
-
marginInlineStart: -token.lineWidth,
|
|
964
|
-
[`${componentCls}-affix-wrapper`]: { borderRadius: 0 }
|
|
965
|
-
},
|
|
966
|
-
[`${componentCls}-group-wrapper:not(:last-child)`]: { [`&${componentCls}-search > ${componentCls}-group`]: {
|
|
967
|
-
[`& > ${componentCls}-group-addon > ${componentCls}-search-button`]: { borderRadius: 0 },
|
|
968
|
-
[`& > ${componentCls}`]: {
|
|
969
|
-
borderStartStartRadius: token.borderRadius,
|
|
970
|
-
borderStartEndRadius: 0,
|
|
971
|
-
borderEndEndRadius: 0,
|
|
972
|
-
borderEndStartRadius: token.borderRadius
|
|
973
|
-
}
|
|
974
|
-
} }
|
|
975
|
-
}),
|
|
976
|
-
[`&&-sm ${antCls}-btn`]: {
|
|
977
|
-
fontSize: token.fontSizeSM,
|
|
978
|
-
height: token.controlHeightSM,
|
|
979
|
-
lineHeight: "normal"
|
|
980
|
-
},
|
|
981
|
-
[`&&-lg ${antCls}-btn`]: {
|
|
982
|
-
fontSize: token.fontSizeLG,
|
|
983
|
-
height: token.controlHeightLG,
|
|
984
|
-
lineHeight: "normal"
|
|
985
|
-
},
|
|
986
|
-
[`&&-lg ${antCls}-select-single ${antCls}-select-selector`]: {
|
|
987
|
-
height: `${token.controlHeightLG}px`,
|
|
988
|
-
[`${antCls}-select-selection-item, ${antCls}-select-selection-placeholder`]: { lineHeight: `${token.controlHeightLG - 2}px` },
|
|
989
|
-
[`${antCls}-select-selection-search-input`]: { height: `${token.controlHeightLG}px` }
|
|
990
|
-
},
|
|
991
|
-
[`&&-sm ${antCls}-select-single ${antCls}-select-selector`]: {
|
|
992
|
-
height: `${token.controlHeightSM}px`,
|
|
993
|
-
[`${antCls}-select-selection-item, ${antCls}-select-selection-placeholder`]: { lineHeight: `${token.controlHeightSM - 2}px` },
|
|
994
|
-
[`${antCls}-select-selection-search-input`]: { height: `${token.controlHeightSM}px` }
|
|
995
|
-
}
|
|
996
|
-
};
|
|
997
|
-
};
|
|
998
|
-
var genInputStyle = (token) => {
|
|
999
|
-
const { componentCls, controlHeightSM, lineWidth } = token;
|
|
1000
|
-
const colorSmallPadding = (controlHeightSM - lineWidth * 2 - 16) / 2;
|
|
1001
|
-
return { [componentCls]: _extends(_extends(_extends(_extends({}, resetComponent(token)), genBasicInputStyle(token)), genStatusStyle(token, componentCls)), { "&[type=\"color\"]": {
|
|
1002
|
-
height: token.controlHeight,
|
|
1003
|
-
[`&${componentCls}-lg`]: { height: token.controlHeightLG },
|
|
1004
|
-
[`&${componentCls}-sm`]: {
|
|
1005
|
-
height: controlHeightSM,
|
|
1006
|
-
paddingTop: colorSmallPadding,
|
|
1007
|
-
paddingBottom: colorSmallPadding
|
|
1008
|
-
}
|
|
1009
|
-
} }) };
|
|
1010
|
-
};
|
|
1011
|
-
var genAllowClearStyle = (token) => {
|
|
1012
|
-
const { componentCls } = token;
|
|
1013
|
-
return {
|
|
1014
|
-
[`${componentCls}-clear-icon`]: {
|
|
1015
|
-
margin: 0,
|
|
1016
|
-
color: token.colorTextQuaternary,
|
|
1017
|
-
fontSize: token.fontSizeIcon,
|
|
1018
|
-
verticalAlign: -1,
|
|
1019
|
-
cursor: "pointer",
|
|
1020
|
-
transition: `color ${token.motionDurationSlow}`,
|
|
1021
|
-
"&:hover": { color: token.colorTextTertiary },
|
|
1022
|
-
"&:active": { color: token.colorText },
|
|
1023
|
-
"&-hidden": { visibility: "hidden" },
|
|
1024
|
-
"&-has-suffix": { margin: `0 ${token.inputAffixPadding}px` }
|
|
1025
|
-
},
|
|
1026
|
-
"&-textarea-with-clear-btn": {
|
|
1027
|
-
padding: "0 !important",
|
|
1028
|
-
border: "0 !important",
|
|
1029
|
-
[`${componentCls}-clear-icon`]: {
|
|
1030
|
-
position: "absolute",
|
|
1031
|
-
insetBlockStart: token.paddingXS,
|
|
1032
|
-
insetInlineEnd: token.paddingXS,
|
|
1033
|
-
zIndex: 1
|
|
1034
|
-
}
|
|
1035
|
-
}
|
|
1036
|
-
};
|
|
1037
|
-
};
|
|
1038
|
-
var genAffixStyle = (token) => {
|
|
1039
|
-
const { componentCls, inputAffixPadding, colorTextDescription, motionDurationSlow, colorIcon, colorIconHover, iconCls } = token;
|
|
1040
|
-
return { [`${componentCls}-affix-wrapper`]: _extends(_extends(_extends(_extends(_extends({}, genBasicInputStyle(token)), {
|
|
1041
|
-
display: "inline-flex",
|
|
1042
|
-
[`&:not(${componentCls}-affix-wrapper-disabled):hover`]: _extends(_extends({}, genHoverStyle(token)), {
|
|
1043
|
-
zIndex: 1,
|
|
1044
|
-
[`${componentCls}-search-with-button &`]: { zIndex: 0 }
|
|
1045
|
-
}),
|
|
1046
|
-
"&-focused, &:focus": { zIndex: 1 },
|
|
1047
|
-
"&-disabled": { [`${componentCls}[disabled]`]: { background: "transparent" } },
|
|
1048
|
-
[`> input${componentCls}`]: {
|
|
1049
|
-
padding: 0,
|
|
1050
|
-
fontSize: "inherit",
|
|
1051
|
-
border: "none",
|
|
1052
|
-
borderRadius: 0,
|
|
1053
|
-
outline: "none",
|
|
1054
|
-
"&:focus": { boxShadow: "none !important" }
|
|
1055
|
-
},
|
|
1056
|
-
"&::before": {
|
|
1057
|
-
width: 0,
|
|
1058
|
-
visibility: "hidden",
|
|
1059
|
-
content: "\"\\a0\""
|
|
1060
|
-
},
|
|
1061
|
-
[`${componentCls}`]: {
|
|
1062
|
-
"&-prefix, &-suffix": {
|
|
1063
|
-
display: "flex",
|
|
1064
|
-
flex: "none",
|
|
1065
|
-
alignItems: "center",
|
|
1066
|
-
"> *:not(:last-child)": { marginInlineEnd: token.paddingXS }
|
|
1067
|
-
},
|
|
1068
|
-
"&-show-count-suffix": { color: colorTextDescription },
|
|
1069
|
-
"&-show-count-has-suffix": { marginInlineEnd: token.paddingXXS },
|
|
1070
|
-
"&-prefix": { marginInlineEnd: inputAffixPadding },
|
|
1071
|
-
"&-suffix": { marginInlineStart: inputAffixPadding }
|
|
1072
|
-
}
|
|
1073
|
-
}), genAllowClearStyle(token)), { [`${iconCls}${componentCls}-password-icon`]: {
|
|
1074
|
-
color: colorIcon,
|
|
1075
|
-
cursor: "pointer",
|
|
1076
|
-
transition: `all ${motionDurationSlow}`,
|
|
1077
|
-
"&:hover": { color: colorIconHover }
|
|
1078
|
-
} }), genStatusStyle(token, `${componentCls}-affix-wrapper`)) };
|
|
1079
|
-
};
|
|
1080
|
-
var genGroupStyle = (token) => {
|
|
1081
|
-
const { componentCls, colorError, colorSuccess, borderRadiusLG, borderRadiusSM } = token;
|
|
1082
|
-
return { [`${componentCls}-group`]: _extends(_extends(_extends({}, resetComponent(token)), genInputGroupStyle(token)), {
|
|
1083
|
-
"&-rtl": { direction: "rtl" },
|
|
1084
|
-
"&-wrapper": {
|
|
1085
|
-
display: "inline-block",
|
|
1086
|
-
width: "100%",
|
|
1087
|
-
textAlign: "start",
|
|
1088
|
-
verticalAlign: "top",
|
|
1089
|
-
"&-rtl": { direction: "rtl" },
|
|
1090
|
-
"&-lg": { [`${componentCls}-group-addon`]: { borderRadius: borderRadiusLG } },
|
|
1091
|
-
"&-sm": { [`${componentCls}-group-addon`]: { borderRadius: borderRadiusSM } },
|
|
1092
|
-
"&-status-error": { [`${componentCls}-group-addon`]: {
|
|
1093
|
-
color: colorError,
|
|
1094
|
-
borderColor: colorError
|
|
1095
|
-
} },
|
|
1096
|
-
"&-status-warning": { [`${componentCls}-group-addon:last-child`]: {
|
|
1097
|
-
color: colorSuccess,
|
|
1098
|
-
borderColor: colorSuccess
|
|
1099
|
-
} }
|
|
1100
|
-
}
|
|
1101
|
-
}) };
|
|
1102
|
-
};
|
|
1103
|
-
var genSearchInputStyle = (token) => {
|
|
1104
|
-
const { componentCls, antCls } = token;
|
|
1105
|
-
const searchPrefixCls = `${componentCls}-search`;
|
|
1106
|
-
return { [searchPrefixCls]: {
|
|
1107
|
-
[`${componentCls}`]: { "&:hover, &:focus": {
|
|
1108
|
-
borderColor: token.colorPrimaryHover,
|
|
1109
|
-
[`+ ${componentCls}-group-addon ${searchPrefixCls}-button:not(${antCls}-btn-primary)`]: { borderInlineStartColor: token.colorPrimaryHover }
|
|
1110
|
-
} },
|
|
1111
|
-
[`${componentCls}-affix-wrapper`]: { borderRadius: 0 },
|
|
1112
|
-
[`${componentCls}-lg`]: { lineHeight: token.lineHeightLG - 2e-4 },
|
|
1113
|
-
[`> ${componentCls}-group`]: { [`> ${componentCls}-group-addon:last-child`]: {
|
|
1114
|
-
insetInlineStart: -1,
|
|
1115
|
-
padding: 0,
|
|
1116
|
-
border: 0,
|
|
1117
|
-
[`${searchPrefixCls}-button`]: {
|
|
1118
|
-
paddingTop: 0,
|
|
1119
|
-
paddingBottom: 0,
|
|
1120
|
-
borderStartStartRadius: 0,
|
|
1121
|
-
borderStartEndRadius: token.borderRadius,
|
|
1122
|
-
borderEndEndRadius: token.borderRadius,
|
|
1123
|
-
borderEndStartRadius: 0
|
|
1124
|
-
},
|
|
1125
|
-
[`${searchPrefixCls}-button:not(${antCls}-btn-primary)`]: {
|
|
1126
|
-
color: token.colorTextDescription,
|
|
1127
|
-
"&:hover": { color: token.colorPrimaryHover },
|
|
1128
|
-
"&:active": { color: token.colorPrimaryActive },
|
|
1129
|
-
[`&${antCls}-btn-loading::before`]: {
|
|
1130
|
-
insetInlineStart: 0,
|
|
1131
|
-
insetInlineEnd: 0,
|
|
1132
|
-
insetBlockStart: 0,
|
|
1133
|
-
insetBlockEnd: 0
|
|
1134
|
-
}
|
|
1135
|
-
}
|
|
1136
|
-
} },
|
|
1137
|
-
[`${searchPrefixCls}-button`]: {
|
|
1138
|
-
height: token.controlHeight,
|
|
1139
|
-
"&:hover, &:focus": { zIndex: 1 }
|
|
1140
|
-
},
|
|
1141
|
-
[`&-large ${searchPrefixCls}-button`]: { height: token.controlHeightLG },
|
|
1142
|
-
[`&-small ${searchPrefixCls}-button`]: { height: token.controlHeightSM },
|
|
1143
|
-
"&-rtl": { direction: "rtl" },
|
|
1144
|
-
[`&${componentCls}-compact-item`]: {
|
|
1145
|
-
[`&:not(${componentCls}-compact-last-item)`]: { [`${componentCls}-group-addon`]: { [`${componentCls}-search-button`]: {
|
|
1146
|
-
marginInlineEnd: -token.lineWidth,
|
|
1147
|
-
borderRadius: 0
|
|
1148
|
-
} } },
|
|
1149
|
-
[`&:not(${componentCls}-compact-first-item)`]: { [`${componentCls},${componentCls}-affix-wrapper`]: { borderRadius: 0 } },
|
|
1150
|
-
[`> ${componentCls}-group-addon ${componentCls}-search-button,
|
|
1151
|
-
> ${componentCls},
|
|
1152
|
-
${componentCls}-affix-wrapper`]: { "&:hover,&:focus,&:active": { zIndex: 2 } },
|
|
1153
|
-
[`> ${componentCls}-affix-wrapper-focused`]: { zIndex: 2 }
|
|
1154
|
-
}
|
|
1155
|
-
} };
|
|
1156
|
-
};
|
|
1157
|
-
function initInputToken(token) {
|
|
1158
|
-
return merge(token, {
|
|
1159
|
-
inputAffixPadding: token.paddingXXS,
|
|
1160
|
-
inputPaddingVertical: Math.max(Math.round((token.controlHeight - token.fontSize * token.lineHeight) / 2 * 10) / 10 - token.lineWidth, 3),
|
|
1161
|
-
inputPaddingVerticalLG: Math.ceil((token.controlHeightLG - token.fontSizeLG * token.lineHeightLG) / 2 * 10) / 10 - token.lineWidth,
|
|
1162
|
-
inputPaddingVerticalSM: Math.max(Math.round((token.controlHeightSM - token.fontSize * token.lineHeight) / 2 * 10) / 10 - token.lineWidth, 0),
|
|
1163
|
-
inputPaddingHorizontal: token.paddingSM - token.lineWidth,
|
|
1164
|
-
inputPaddingHorizontalSM: token.paddingXS - token.lineWidth,
|
|
1165
|
-
inputPaddingHorizontalLG: token.controlPaddingHorizontal - token.lineWidth,
|
|
1166
|
-
inputBorderHoverColor: token.colorPrimaryHover,
|
|
1167
|
-
inputBorderActiveColor: token.colorPrimaryHover
|
|
1168
|
-
});
|
|
1169
|
-
}
|
|
1170
|
-
var genTextAreaStyle = (token) => {
|
|
1171
|
-
const { componentCls, inputPaddingHorizontal, paddingLG } = token;
|
|
1172
|
-
const textareaPrefixCls = `${componentCls}-textarea`;
|
|
1173
|
-
return { [textareaPrefixCls]: {
|
|
1174
|
-
position: "relative",
|
|
1175
|
-
[`${textareaPrefixCls}-suffix`]: {
|
|
1176
|
-
position: "absolute",
|
|
1177
|
-
top: 0,
|
|
1178
|
-
insetInlineEnd: inputPaddingHorizontal,
|
|
1179
|
-
bottom: 0,
|
|
1180
|
-
zIndex: 1,
|
|
1181
|
-
display: "inline-flex",
|
|
1182
|
-
alignItems: "center",
|
|
1183
|
-
margin: "auto"
|
|
1184
|
-
},
|
|
1185
|
-
[`&-status-error,
|
|
1186
|
-
&-status-warning,
|
|
1187
|
-
&-status-success,
|
|
1188
|
-
&-status-validating`]: { [`&${textareaPrefixCls}-has-feedback`]: { [`${componentCls}`]: { paddingInlineEnd: paddingLG } } },
|
|
1189
|
-
"&-show-count": {
|
|
1190
|
-
[`> ${componentCls}`]: { height: "100%" },
|
|
1191
|
-
"&::after": {
|
|
1192
|
-
color: token.colorTextDescription,
|
|
1193
|
-
whiteSpace: "nowrap",
|
|
1194
|
-
content: "attr(data-count)",
|
|
1195
|
-
pointerEvents: "none",
|
|
1196
|
-
float: "right"
|
|
1197
|
-
}
|
|
1198
|
-
},
|
|
1199
|
-
"&-rtl": { "&::after": { float: "left" } }
|
|
1200
|
-
} };
|
|
1201
|
-
};
|
|
1202
|
-
var style_default = genComponentStyleHook("Input", (token) => {
|
|
1203
|
-
const inputToken = initInputToken(token);
|
|
1204
|
-
return [
|
|
1205
|
-
genInputStyle(inputToken),
|
|
1206
|
-
genTextAreaStyle(inputToken),
|
|
1207
|
-
genAffixStyle(inputToken),
|
|
1208
|
-
genGroupStyle(inputToken),
|
|
1209
|
-
genSearchInputStyle(inputToken),
|
|
1210
|
-
genCompactItemStyle(inputToken)
|
|
1211
|
-
];
|
|
1212
|
-
});
|
|
1213
|
-
//#endregion
|
|
1214
|
-
//#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-input/utils/commonUtils.js
|
|
1215
|
-
var isValid$1 = (value) => {
|
|
1216
|
-
return value !== void 0 && value !== null && (Array.isArray(value) ? filterEmpty(value).length : true);
|
|
1217
|
-
};
|
|
1218
|
-
function hasPrefixSuffix(propsAndSlots) {
|
|
1219
|
-
return isValid$1(propsAndSlots.prefix) || isValid$1(propsAndSlots.suffix) || isValid$1(propsAndSlots.allowClear);
|
|
1220
|
-
}
|
|
1221
|
-
function hasAddon$1(propsAndSlots) {
|
|
1222
|
-
return isValid$1(propsAndSlots.addonBefore) || isValid$1(propsAndSlots.addonAfter);
|
|
1223
|
-
}
|
|
1224
|
-
function fixControlledValue(value) {
|
|
1225
|
-
if (typeof value === "undefined" || value === null) return "";
|
|
1226
|
-
return String(value);
|
|
1227
|
-
}
|
|
1228
|
-
function resolveOnChange(target, e, onChange, targetValue) {
|
|
1229
|
-
if (!onChange) return;
|
|
1230
|
-
const event = e;
|
|
1231
|
-
if (e.type === "click") {
|
|
1232
|
-
Object.defineProperty(event, "target", { writable: true });
|
|
1233
|
-
Object.defineProperty(event, "currentTarget", { writable: true });
|
|
1234
|
-
const currentTarget = target.cloneNode(true);
|
|
1235
|
-
event.target = currentTarget;
|
|
1236
|
-
event.currentTarget = currentTarget;
|
|
1237
|
-
currentTarget.value = "";
|
|
1238
|
-
onChange(event);
|
|
1239
|
-
return;
|
|
1240
|
-
}
|
|
1241
|
-
if (targetValue !== void 0) {
|
|
1242
|
-
Object.defineProperty(event, "target", { writable: true });
|
|
1243
|
-
Object.defineProperty(event, "currentTarget", { writable: true });
|
|
1244
|
-
event.target = target;
|
|
1245
|
-
event.currentTarget = target;
|
|
1246
|
-
target.value = targetValue;
|
|
1247
|
-
onChange(event);
|
|
1248
|
-
return;
|
|
1249
|
-
}
|
|
1250
|
-
onChange(event);
|
|
1251
|
-
}
|
|
1252
|
-
function triggerFocus(element, option) {
|
|
1253
|
-
if (!element) return;
|
|
1254
|
-
element.focus(option);
|
|
1255
|
-
const { cursor } = option || {};
|
|
1256
|
-
if (cursor) {
|
|
1257
|
-
const len = element.value.length;
|
|
1258
|
-
switch (cursor) {
|
|
1259
|
-
case "start":
|
|
1260
|
-
element.setSelectionRange(0, 0);
|
|
1261
|
-
break;
|
|
1262
|
-
case "end":
|
|
1263
|
-
element.setSelectionRange(len, len);
|
|
1264
|
-
break;
|
|
1265
|
-
default: element.setSelectionRange(0, len);
|
|
1266
|
-
}
|
|
1267
|
-
}
|
|
1268
|
-
}
|
|
1269
|
-
//#endregion
|
|
1270
|
-
//#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-input/inputProps.js
|
|
1271
|
-
var commonInputProps = () => {
|
|
1272
|
-
return {
|
|
1273
|
-
addonBefore: PropTypes.any,
|
|
1274
|
-
addonAfter: PropTypes.any,
|
|
1275
|
-
prefix: PropTypes.any,
|
|
1276
|
-
suffix: PropTypes.any,
|
|
1277
|
-
clearIcon: PropTypes.any,
|
|
1278
|
-
affixWrapperClassName: String,
|
|
1279
|
-
groupClassName: String,
|
|
1280
|
-
wrapperClassName: String,
|
|
1281
|
-
inputClassName: String,
|
|
1282
|
-
allowClear: {
|
|
1283
|
-
type: Boolean,
|
|
1284
|
-
default: void 0
|
|
1285
|
-
}
|
|
1286
|
-
};
|
|
1287
|
-
};
|
|
1288
|
-
var baseInputProps = () => {
|
|
1289
|
-
return _extends(_extends({}, commonInputProps()), {
|
|
1290
|
-
value: {
|
|
1291
|
-
type: [
|
|
1292
|
-
String,
|
|
1293
|
-
Number,
|
|
1294
|
-
Symbol
|
|
1295
|
-
],
|
|
1296
|
-
default: void 0
|
|
1297
|
-
},
|
|
1298
|
-
defaultValue: {
|
|
1299
|
-
type: [
|
|
1300
|
-
String,
|
|
1301
|
-
Number,
|
|
1302
|
-
Symbol
|
|
1303
|
-
],
|
|
1304
|
-
default: void 0
|
|
1305
|
-
},
|
|
1306
|
-
inputElement: PropTypes.any,
|
|
1307
|
-
prefixCls: String,
|
|
1308
|
-
disabled: {
|
|
1309
|
-
type: Boolean,
|
|
1310
|
-
default: void 0
|
|
1311
|
-
},
|
|
1312
|
-
focused: {
|
|
1313
|
-
type: Boolean,
|
|
1314
|
-
default: void 0
|
|
1315
|
-
},
|
|
1316
|
-
triggerFocus: Function,
|
|
1317
|
-
readonly: {
|
|
1318
|
-
type: Boolean,
|
|
1319
|
-
default: void 0
|
|
1320
|
-
},
|
|
1321
|
-
handleReset: Function,
|
|
1322
|
-
hidden: {
|
|
1323
|
-
type: Boolean,
|
|
1324
|
-
default: void 0
|
|
1325
|
-
}
|
|
1326
|
-
});
|
|
1327
|
-
};
|
|
1328
|
-
var inputProps$1 = () => _extends(_extends({}, baseInputProps()), {
|
|
1329
|
-
id: String,
|
|
1330
|
-
placeholder: { type: [String, Number] },
|
|
1331
|
-
autocomplete: String,
|
|
1332
|
-
type: stringType("text"),
|
|
1333
|
-
name: String,
|
|
1334
|
-
size: { type: String },
|
|
1335
|
-
autofocus: {
|
|
1336
|
-
type: Boolean,
|
|
1337
|
-
default: void 0
|
|
1338
|
-
},
|
|
1339
|
-
lazy: {
|
|
1340
|
-
type: Boolean,
|
|
1341
|
-
default: true
|
|
1342
|
-
},
|
|
1343
|
-
maxlength: Number,
|
|
1344
|
-
loading: {
|
|
1345
|
-
type: Boolean,
|
|
1346
|
-
default: void 0
|
|
1347
|
-
},
|
|
1348
|
-
bordered: {
|
|
1349
|
-
type: Boolean,
|
|
1350
|
-
default: void 0
|
|
1351
|
-
},
|
|
1352
|
-
showCount: { type: [Boolean, Object] },
|
|
1353
|
-
htmlSize: Number,
|
|
1354
|
-
onPressEnter: Function,
|
|
1355
|
-
onKeydown: Function,
|
|
1356
|
-
onKeyup: Function,
|
|
1357
|
-
onFocus: Function,
|
|
1358
|
-
onBlur: Function,
|
|
1359
|
-
onChange: Function,
|
|
1360
|
-
onInput: Function,
|
|
1361
|
-
"onUpdate:value": Function,
|
|
1362
|
-
onCompositionstart: Function,
|
|
1363
|
-
onCompositionend: Function,
|
|
1364
|
-
valueModifiers: Object,
|
|
1365
|
-
hidden: {
|
|
1366
|
-
type: Boolean,
|
|
1367
|
-
default: void 0
|
|
1368
|
-
},
|
|
1369
|
-
status: String
|
|
1370
|
-
});
|
|
1371
|
-
//#endregion
|
|
1372
|
-
//#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-input/BaseInput.js
|
|
1373
|
-
var BaseInput_default = defineComponent({
|
|
1374
|
-
name: "BaseInput",
|
|
1375
|
-
inheritAttrs: false,
|
|
1376
|
-
props: baseInputProps(),
|
|
1377
|
-
setup(props, _ref) {
|
|
1378
|
-
let { slots, attrs } = _ref;
|
|
1379
|
-
const containerRef = ref();
|
|
1380
|
-
const onInputMouseDown = (e) => {
|
|
1381
|
-
var _a;
|
|
1382
|
-
if ((_a = containerRef.value) === null || _a === void 0 ? void 0 : _a.contains(e.target)) {
|
|
1383
|
-
const { triggerFocus } = props;
|
|
1384
|
-
triggerFocus === null || triggerFocus === void 0 || triggerFocus();
|
|
1385
|
-
}
|
|
1386
|
-
};
|
|
1387
|
-
const getClearIcon = () => {
|
|
1388
|
-
var _a;
|
|
1389
|
-
const { allowClear, value, disabled, readonly, handleReset, suffix = slots.suffix, prefixCls } = props;
|
|
1390
|
-
if (!allowClear) return null;
|
|
1391
|
-
const needClear = !disabled && !readonly && value;
|
|
1392
|
-
const className = `${prefixCls}-clear-icon`;
|
|
1393
|
-
const iconNode = ((_a = slots.clearIcon) === null || _a === void 0 ? void 0 : _a.call(slots)) || "*";
|
|
1394
|
-
return createVNode("span", {
|
|
1395
|
-
"onClick": handleReset,
|
|
1396
|
-
"onMousedown": (e) => e.preventDefault(),
|
|
1397
|
-
"class": classNames({
|
|
1398
|
-
[`${className}-hidden`]: !needClear,
|
|
1399
|
-
[`${className}-has-suffix`]: !!suffix
|
|
1400
|
-
}, className),
|
|
1401
|
-
"role": "button",
|
|
1402
|
-
"tabindex": -1
|
|
1403
|
-
}, [iconNode]);
|
|
1404
|
-
};
|
|
1405
|
-
return () => {
|
|
1406
|
-
var _a, _b;
|
|
1407
|
-
const { focused, value, disabled, allowClear, readonly, hidden, prefixCls, prefix = (_a = slots.prefix) === null || _a === void 0 ? void 0 : _a.call(slots), suffix = (_b = slots.suffix) === null || _b === void 0 ? void 0 : _b.call(slots), addonAfter = slots.addonAfter, addonBefore = slots.addonBefore, inputElement, affixWrapperClassName, wrapperClassName, groupClassName } = props;
|
|
1408
|
-
let element = cloneElement(inputElement, {
|
|
1409
|
-
value,
|
|
1410
|
-
hidden
|
|
1411
|
-
});
|
|
1412
|
-
if (hasPrefixSuffix({
|
|
1413
|
-
prefix,
|
|
1414
|
-
suffix,
|
|
1415
|
-
allowClear
|
|
1416
|
-
})) {
|
|
1417
|
-
const affixWrapperPrefixCls = `${prefixCls}-affix-wrapper`;
|
|
1418
|
-
const affixWrapperCls = classNames(affixWrapperPrefixCls, {
|
|
1419
|
-
[`${affixWrapperPrefixCls}-disabled`]: disabled,
|
|
1420
|
-
[`${affixWrapperPrefixCls}-focused`]: focused,
|
|
1421
|
-
[`${affixWrapperPrefixCls}-readonly`]: readonly,
|
|
1422
|
-
[`${affixWrapperPrefixCls}-input-with-clear-btn`]: suffix && allowClear && value
|
|
1423
|
-
}, !hasAddon$1({
|
|
1424
|
-
addonAfter,
|
|
1425
|
-
addonBefore
|
|
1426
|
-
}) && attrs.class, affixWrapperClassName);
|
|
1427
|
-
const suffixNode = (suffix || allowClear) && createVNode("span", { "class": `${prefixCls}-suffix` }, [getClearIcon(), suffix]);
|
|
1428
|
-
element = createVNode("span", {
|
|
1429
|
-
"class": affixWrapperCls,
|
|
1430
|
-
"style": attrs.style,
|
|
1431
|
-
"hidden": !hasAddon$1({
|
|
1432
|
-
addonAfter,
|
|
1433
|
-
addonBefore
|
|
1434
|
-
}) && hidden,
|
|
1435
|
-
"onMousedown": onInputMouseDown,
|
|
1436
|
-
"ref": containerRef
|
|
1437
|
-
}, [
|
|
1438
|
-
prefix && createVNode("span", { "class": `${prefixCls}-prefix` }, [prefix]),
|
|
1439
|
-
cloneElement(inputElement, {
|
|
1440
|
-
style: null,
|
|
1441
|
-
value,
|
|
1442
|
-
hidden: null
|
|
1443
|
-
}),
|
|
1444
|
-
suffixNode
|
|
1445
|
-
]);
|
|
1446
|
-
}
|
|
1447
|
-
if (hasAddon$1({
|
|
1448
|
-
addonAfter,
|
|
1449
|
-
addonBefore
|
|
1450
|
-
})) {
|
|
1451
|
-
const wrapperCls = `${prefixCls}-group`;
|
|
1452
|
-
const addonCls = `${wrapperCls}-addon`;
|
|
1453
|
-
const mergedWrapperClassName = classNames(`${prefixCls}-wrapper`, wrapperCls, wrapperClassName);
|
|
1454
|
-
const mergedGroupClassName = classNames(`${prefixCls}-group-wrapper`, attrs.class, groupClassName);
|
|
1455
|
-
return createVNode("span", {
|
|
1456
|
-
"class": mergedGroupClassName,
|
|
1457
|
-
"style": attrs.style,
|
|
1458
|
-
"hidden": hidden
|
|
1459
|
-
}, [createVNode("span", { "class": mergedWrapperClassName }, [
|
|
1460
|
-
addonBefore && createVNode("span", { "class": addonCls }, [addonBefore]),
|
|
1461
|
-
cloneElement(element, {
|
|
1462
|
-
style: null,
|
|
1463
|
-
hidden: null
|
|
1464
|
-
}),
|
|
1465
|
-
addonAfter && createVNode("span", { "class": addonCls }, [addonAfter])
|
|
1466
|
-
])]);
|
|
1467
|
-
}
|
|
1468
|
-
return element;
|
|
1469
|
-
};
|
|
1470
|
-
}
|
|
1471
|
-
});
|
|
1472
|
-
//#endregion
|
|
1473
|
-
//#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-input/Input.js
|
|
1474
|
-
var __rest$3 = function(s, e) {
|
|
1475
|
-
var t = {};
|
|
1476
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
1477
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function") {
|
|
1478
|
-
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]];
|
|
1479
|
-
}
|
|
1480
|
-
return t;
|
|
1481
|
-
};
|
|
1482
|
-
var Input_default$1 = defineComponent({
|
|
1483
|
-
name: "VCInput",
|
|
1484
|
-
inheritAttrs: false,
|
|
1485
|
-
props: inputProps$1(),
|
|
1486
|
-
setup(props, _ref) {
|
|
1487
|
-
let { slots, attrs, expose, emit } = _ref;
|
|
1488
|
-
const stateValue = shallowRef(props.value === void 0 ? props.defaultValue : props.value);
|
|
1489
|
-
const focused = shallowRef(false);
|
|
1490
|
-
const inputRef = shallowRef();
|
|
1491
|
-
const rootRef = shallowRef();
|
|
1492
|
-
watch(() => props.value, () => {
|
|
1493
|
-
stateValue.value = props.value;
|
|
1494
|
-
});
|
|
1495
|
-
watch(() => props.disabled, () => {
|
|
1496
|
-
if (props.disabled) focused.value = false;
|
|
1497
|
-
});
|
|
1498
|
-
const focus = (option) => {
|
|
1499
|
-
if (inputRef.value) triggerFocus(inputRef.value.input, option);
|
|
1500
|
-
};
|
|
1501
|
-
const blur = () => {
|
|
1502
|
-
var _a;
|
|
1503
|
-
(_a = inputRef.value.input) === null || _a === void 0 || _a.blur();
|
|
1504
|
-
};
|
|
1505
|
-
const setSelectionRange = (start, end, direction) => {
|
|
1506
|
-
var _a;
|
|
1507
|
-
(_a = inputRef.value.input) === null || _a === void 0 || _a.setSelectionRange(start, end, direction);
|
|
1508
|
-
};
|
|
1509
|
-
const select = () => {
|
|
1510
|
-
var _a;
|
|
1511
|
-
(_a = inputRef.value.input) === null || _a === void 0 || _a.select();
|
|
1512
|
-
};
|
|
1513
|
-
expose({
|
|
1514
|
-
focus,
|
|
1515
|
-
blur,
|
|
1516
|
-
input: computed(() => {
|
|
1517
|
-
var _a;
|
|
1518
|
-
return (_a = inputRef.value.input) === null || _a === void 0 ? void 0 : _a.input;
|
|
1519
|
-
}),
|
|
1520
|
-
stateValue,
|
|
1521
|
-
setSelectionRange,
|
|
1522
|
-
select
|
|
1523
|
-
});
|
|
1524
|
-
const triggerChange = (e) => {
|
|
1525
|
-
emit("change", e);
|
|
1526
|
-
};
|
|
1527
|
-
const setValue = (value, callback) => {
|
|
1528
|
-
if (stateValue.value === value) return;
|
|
1529
|
-
if (props.value === void 0) stateValue.value = value;
|
|
1530
|
-
else nextTick(() => {
|
|
1531
|
-
var _a;
|
|
1532
|
-
if (inputRef.value.input.value !== stateValue.value) (_a = rootRef.value) === null || _a === void 0 || _a.$forceUpdate();
|
|
1533
|
-
});
|
|
1534
|
-
nextTick(() => {
|
|
1535
|
-
callback && callback();
|
|
1536
|
-
});
|
|
1537
|
-
};
|
|
1538
|
-
const handleChange = (e) => {
|
|
1539
|
-
const { value } = e.target;
|
|
1540
|
-
if (stateValue.value === value) return;
|
|
1541
|
-
const newVal = e.target.value;
|
|
1542
|
-
resolveOnChange(inputRef.value.input, e, triggerChange);
|
|
1543
|
-
setValue(newVal);
|
|
1544
|
-
};
|
|
1545
|
-
const handleKeyDown = (e) => {
|
|
1546
|
-
if (e.keyCode === 13) emit("pressEnter", e);
|
|
1547
|
-
emit("keydown", e);
|
|
1548
|
-
};
|
|
1549
|
-
const handleFocus = (e) => {
|
|
1550
|
-
focused.value = true;
|
|
1551
|
-
emit("focus", e);
|
|
1552
|
-
};
|
|
1553
|
-
const handleBlur = (e) => {
|
|
1554
|
-
focused.value = false;
|
|
1555
|
-
emit("blur", e);
|
|
1556
|
-
};
|
|
1557
|
-
const handleReset = (e) => {
|
|
1558
|
-
resolveOnChange(inputRef.value.input, e, triggerChange);
|
|
1559
|
-
setValue("", () => {
|
|
1560
|
-
focus();
|
|
1561
|
-
});
|
|
1562
|
-
};
|
|
1563
|
-
const getInputElement = () => {
|
|
1564
|
-
var _a, _b;
|
|
1565
|
-
const { addonBefore = slots.addonBefore, addonAfter = slots.addonAfter, disabled, valueModifiers = {}, htmlSize, autocomplete, prefixCls, inputClassName, prefix = (_a = slots.prefix) === null || _a === void 0 ? void 0 : _a.call(slots), suffix = (_b = slots.suffix) === null || _b === void 0 ? void 0 : _b.call(slots), allowClear, type = "text" } = props;
|
|
1566
|
-
const otherProps = omit(props, [
|
|
1567
|
-
"prefixCls",
|
|
1568
|
-
"onPressEnter",
|
|
1569
|
-
"addonBefore",
|
|
1570
|
-
"addonAfter",
|
|
1571
|
-
"prefix",
|
|
1572
|
-
"suffix",
|
|
1573
|
-
"allowClear",
|
|
1574
|
-
"defaultValue",
|
|
1575
|
-
"size",
|
|
1576
|
-
"bordered",
|
|
1577
|
-
"htmlSize",
|
|
1578
|
-
"lazy",
|
|
1579
|
-
"showCount",
|
|
1580
|
-
"valueModifiers",
|
|
1581
|
-
"showCount",
|
|
1582
|
-
"affixWrapperClassName",
|
|
1583
|
-
"groupClassName",
|
|
1584
|
-
"inputClassName",
|
|
1585
|
-
"wrapperClassName"
|
|
1586
|
-
]);
|
|
1587
|
-
const inputProps = _extends(_extends(_extends({}, otherProps), attrs), {
|
|
1588
|
-
autocomplete,
|
|
1589
|
-
onChange: handleChange,
|
|
1590
|
-
onInput: handleChange,
|
|
1591
|
-
onFocus: handleFocus,
|
|
1592
|
-
onBlur: handleBlur,
|
|
1593
|
-
onKeydown: handleKeyDown,
|
|
1594
|
-
class: classNames(prefixCls, { [`${prefixCls}-disabled`]: disabled }, inputClassName, !hasAddon$1({
|
|
1595
|
-
addonAfter,
|
|
1596
|
-
addonBefore
|
|
1597
|
-
}) && !hasPrefixSuffix({
|
|
1598
|
-
prefix,
|
|
1599
|
-
suffix,
|
|
1600
|
-
allowClear
|
|
1601
|
-
}) && attrs.class),
|
|
1602
|
-
ref: inputRef,
|
|
1603
|
-
key: "ant-input",
|
|
1604
|
-
size: htmlSize,
|
|
1605
|
-
type,
|
|
1606
|
-
lazy: props.lazy
|
|
1607
|
-
});
|
|
1608
|
-
if (valueModifiers.lazy) delete inputProps.onInput;
|
|
1609
|
-
if (!inputProps.autofocus) delete inputProps.autofocus;
|
|
1610
|
-
return createVNode(BaseInput, omit(inputProps, ["size"]), null);
|
|
1611
|
-
};
|
|
1612
|
-
const getSuffix = () => {
|
|
1613
|
-
var _a;
|
|
1614
|
-
const { maxlength, suffix = (_a = slots.suffix) === null || _a === void 0 ? void 0 : _a.call(slots), showCount, prefixCls } = props;
|
|
1615
|
-
const hasMaxLength = Number(maxlength) > 0;
|
|
1616
|
-
if (suffix || showCount) {
|
|
1617
|
-
const valueLength = [...fixControlledValue(stateValue.value)].length;
|
|
1618
|
-
const dataCount = typeof showCount === "object" ? showCount.formatter({
|
|
1619
|
-
count: valueLength,
|
|
1620
|
-
maxlength
|
|
1621
|
-
}) : `${valueLength}${hasMaxLength ? ` / ${maxlength}` : ""}`;
|
|
1622
|
-
return createVNode(Fragment, null, [!!showCount && createVNode("span", { "class": classNames(`${prefixCls}-show-count-suffix`, { [`${prefixCls}-show-count-has-suffix`]: !!suffix }) }, [dataCount]), suffix]);
|
|
1623
|
-
}
|
|
1624
|
-
return null;
|
|
1625
|
-
};
|
|
1626
|
-
return () => {
|
|
1627
|
-
const { prefixCls, disabled } = props, rest = __rest$3(props, ["prefixCls", "disabled"]);
|
|
1628
|
-
return createVNode(BaseInput_default, _objectSpread2(_objectSpread2(_objectSpread2({}, rest), attrs), {}, {
|
|
1629
|
-
"ref": rootRef,
|
|
1630
|
-
"prefixCls": prefixCls,
|
|
1631
|
-
"inputElement": getInputElement(),
|
|
1632
|
-
"handleReset": handleReset,
|
|
1633
|
-
"value": fixControlledValue(stateValue.value),
|
|
1634
|
-
"focused": focused.value,
|
|
1635
|
-
"triggerFocus": focus,
|
|
1636
|
-
"suffix": getSuffix(),
|
|
1637
|
-
"disabled": disabled
|
|
1638
|
-
}), slots);
|
|
1639
|
-
};
|
|
1640
|
-
}
|
|
1641
|
-
});
|
|
1642
|
-
//#endregion
|
|
1643
|
-
//#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/input/inputProps.js
|
|
1644
|
-
var inputProps = () => {
|
|
1645
|
-
return omit(inputProps$1(), [
|
|
1646
|
-
"wrapperClassName",
|
|
1647
|
-
"groupClassName",
|
|
1648
|
-
"inputClassName",
|
|
1649
|
-
"affixWrapperClassName"
|
|
1650
|
-
]);
|
|
1651
|
-
};
|
|
1652
|
-
var textAreaProps = () => _extends(_extends({}, omit(inputProps(), [
|
|
1653
|
-
"prefix",
|
|
1654
|
-
"addonBefore",
|
|
1655
|
-
"addonAfter",
|
|
1656
|
-
"suffix"
|
|
1657
|
-
])), {
|
|
1658
|
-
rows: Number,
|
|
1659
|
-
autosize: {
|
|
1660
|
-
type: [Boolean, Object],
|
|
1661
|
-
default: void 0
|
|
1662
|
-
},
|
|
1663
|
-
autoSize: {
|
|
1664
|
-
type: [Boolean, Object],
|
|
1665
|
-
default: void 0
|
|
1666
|
-
},
|
|
1667
|
-
onResize: { type: Function },
|
|
1668
|
-
onCompositionstart: eventType(),
|
|
1669
|
-
onCompositionend: eventType(),
|
|
1670
|
-
valueModifiers: Object
|
|
1671
|
-
});
|
|
1672
|
-
//#endregion
|
|
1673
|
-
//#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/input/Input.js
|
|
1674
|
-
var __rest$2 = function(s, e) {
|
|
1675
|
-
var t = {};
|
|
1676
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
1677
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function") {
|
|
1678
|
-
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]];
|
|
1679
|
-
}
|
|
1680
|
-
return t;
|
|
1681
|
-
};
|
|
1682
|
-
var Input_default = defineComponent({
|
|
1683
|
-
compatConfig: { MODE: 3 },
|
|
1684
|
-
name: "AInput",
|
|
1685
|
-
inheritAttrs: false,
|
|
1686
|
-
props: inputProps(),
|
|
1687
|
-
setup(props, _ref) {
|
|
1688
|
-
let { slots, attrs, expose, emit } = _ref;
|
|
1689
|
-
const inputRef = ref();
|
|
1690
|
-
const formItemContext = useInjectFormItemContext();
|
|
1691
|
-
const formItemInputContext = FormItemInputContext.useInject();
|
|
1692
|
-
const mergedStatus = computed(() => getMergedStatus(formItemInputContext.status, props.status));
|
|
1693
|
-
const { direction, prefixCls, size, autocomplete } = useConfigInject_default("input", props);
|
|
1694
|
-
const { compactSize, compactItemClassnames } = useCompactItemContext(prefixCls, direction);
|
|
1695
|
-
const mergedSize = computed(() => {
|
|
1696
|
-
return compactSize.value || size.value;
|
|
1697
|
-
});
|
|
1698
|
-
const [wrapSSR, hashId] = style_default(prefixCls);
|
|
1699
|
-
const disabled = useInjectDisabled();
|
|
1700
|
-
const focus = (option) => {
|
|
1701
|
-
var _a;
|
|
1702
|
-
(_a = inputRef.value) === null || _a === void 0 || _a.focus(option);
|
|
1703
|
-
};
|
|
1704
|
-
const blur = () => {
|
|
1705
|
-
var _a;
|
|
1706
|
-
(_a = inputRef.value) === null || _a === void 0 || _a.blur();
|
|
1707
|
-
};
|
|
1708
|
-
const setSelectionRange = (start, end, direction) => {
|
|
1709
|
-
var _a;
|
|
1710
|
-
(_a = inputRef.value) === null || _a === void 0 || _a.setSelectionRange(start, end, direction);
|
|
1711
|
-
};
|
|
1712
|
-
const select = () => {
|
|
1713
|
-
var _a;
|
|
1714
|
-
(_a = inputRef.value) === null || _a === void 0 || _a.select();
|
|
1715
|
-
};
|
|
1716
|
-
expose({
|
|
1717
|
-
focus,
|
|
1718
|
-
blur,
|
|
1719
|
-
input: inputRef,
|
|
1720
|
-
setSelectionRange,
|
|
1721
|
-
select
|
|
1722
|
-
});
|
|
1723
|
-
const removePasswordTimeoutRef = ref([]);
|
|
1724
|
-
const removePasswordTimeout = () => {
|
|
1725
|
-
removePasswordTimeoutRef.value.push(setTimeout(() => {
|
|
1726
|
-
var _a, _b, _c, _d;
|
|
1727
|
-
if (((_a = inputRef.value) === null || _a === void 0 ? void 0 : _a.input) && ((_b = inputRef.value) === null || _b === void 0 ? void 0 : _b.input.getAttribute("type")) === "password" && ((_c = inputRef.value) === null || _c === void 0 ? void 0 : _c.input.hasAttribute("value"))) (_d = inputRef.value) === null || _d === void 0 || _d.input.removeAttribute("value");
|
|
1728
|
-
}));
|
|
1729
|
-
};
|
|
1730
|
-
const handleBlur = (e) => {
|
|
1731
|
-
removePasswordTimeout();
|
|
1732
|
-
emit("blur", e);
|
|
1733
|
-
formItemContext.onFieldBlur();
|
|
1734
|
-
};
|
|
1735
|
-
const handleFocus = (e) => {
|
|
1736
|
-
removePasswordTimeout();
|
|
1737
|
-
emit("focus", e);
|
|
1738
|
-
};
|
|
1739
|
-
const triggerChange = (e) => {
|
|
1740
|
-
emit("update:value", e.target.value);
|
|
1741
|
-
emit("change", e);
|
|
1742
|
-
emit("input", e);
|
|
1743
|
-
formItemContext.onFieldChange();
|
|
1744
|
-
};
|
|
1745
|
-
return () => {
|
|
1746
|
-
var _a, _b, _c, _d, _e, _f;
|
|
1747
|
-
const { hasFeedback, feedbackIcon } = formItemInputContext;
|
|
1748
|
-
const { allowClear, bordered = true, prefix = (_a = slots.prefix) === null || _a === void 0 ? void 0 : _a.call(slots), suffix = (_b = slots.suffix) === null || _b === void 0 ? void 0 : _b.call(slots), addonAfter = (_c = slots.addonAfter) === null || _c === void 0 ? void 0 : _c.call(slots), addonBefore = (_d = slots.addonBefore) === null || _d === void 0 ? void 0 : _d.call(slots), id = (_e = formItemContext.id) === null || _e === void 0 ? void 0 : _e.value } = props, rest = __rest$2(props, [
|
|
1749
|
-
"allowClear",
|
|
1750
|
-
"bordered",
|
|
1751
|
-
"prefix",
|
|
1752
|
-
"suffix",
|
|
1753
|
-
"addonAfter",
|
|
1754
|
-
"addonBefore",
|
|
1755
|
-
"id"
|
|
1756
|
-
]);
|
|
1757
|
-
const suffixNode = (hasFeedback || suffix) && createVNode(Fragment, null, [suffix, hasFeedback && feedbackIcon]);
|
|
1758
|
-
const prefixClsValue = prefixCls.value;
|
|
1759
|
-
const inputHasPrefixSuffix = hasPrefixSuffix({
|
|
1760
|
-
prefix,
|
|
1761
|
-
suffix
|
|
1762
|
-
}) || !!hasFeedback;
|
|
1763
|
-
const clearIcon = slots.clearIcon || (() => createVNode(CloseCircleFilled, null, null));
|
|
1764
|
-
return wrapSSR(createVNode(Input_default$1, _objectSpread2(_objectSpread2(_objectSpread2({}, attrs), omit(rest, [
|
|
1765
|
-
"onUpdate:value",
|
|
1766
|
-
"onChange",
|
|
1767
|
-
"onInput"
|
|
1768
|
-
])), {}, {
|
|
1769
|
-
"onChange": triggerChange,
|
|
1770
|
-
"id": id,
|
|
1771
|
-
"disabled": (_f = props.disabled) !== null && _f !== void 0 ? _f : disabled.value,
|
|
1772
|
-
"ref": inputRef,
|
|
1773
|
-
"prefixCls": prefixClsValue,
|
|
1774
|
-
"autocomplete": autocomplete.value,
|
|
1775
|
-
"onBlur": handleBlur,
|
|
1776
|
-
"onFocus": handleFocus,
|
|
1777
|
-
"prefix": prefix,
|
|
1778
|
-
"suffix": suffixNode,
|
|
1779
|
-
"allowClear": allowClear,
|
|
1780
|
-
"addonAfter": addonAfter && createVNode(NoCompactStyle, null, { default: () => [createVNode(NoFormStatus, null, { default: () => [addonAfter] })] }),
|
|
1781
|
-
"addonBefore": addonBefore && createVNode(NoCompactStyle, null, { default: () => [createVNode(NoFormStatus, null, { default: () => [addonBefore] })] }),
|
|
1782
|
-
"class": [attrs.class, compactItemClassnames.value],
|
|
1783
|
-
"inputClassName": classNames({
|
|
1784
|
-
[`${prefixClsValue}-sm`]: mergedSize.value === "small",
|
|
1785
|
-
[`${prefixClsValue}-lg`]: mergedSize.value === "large",
|
|
1786
|
-
[`${prefixClsValue}-rtl`]: direction.value === "rtl",
|
|
1787
|
-
[`${prefixClsValue}-borderless`]: !bordered
|
|
1788
|
-
}, !inputHasPrefixSuffix && getStatusClassNames(prefixClsValue, mergedStatus.value), hashId.value),
|
|
1789
|
-
"affixWrapperClassName": classNames({
|
|
1790
|
-
[`${prefixClsValue}-affix-wrapper-sm`]: mergedSize.value === "small",
|
|
1791
|
-
[`${prefixClsValue}-affix-wrapper-lg`]: mergedSize.value === "large",
|
|
1792
|
-
[`${prefixClsValue}-affix-wrapper-rtl`]: direction.value === "rtl",
|
|
1793
|
-
[`${prefixClsValue}-affix-wrapper-borderless`]: !bordered
|
|
1794
|
-
}, getStatusClassNames(`${prefixClsValue}-affix-wrapper`, mergedStatus.value, hasFeedback), hashId.value),
|
|
1795
|
-
"wrapperClassName": classNames({ [`${prefixClsValue}-group-rtl`]: direction.value === "rtl" }, hashId.value),
|
|
1796
|
-
"groupClassName": classNames({
|
|
1797
|
-
[`${prefixClsValue}-group-wrapper-sm`]: mergedSize.value === "small",
|
|
1798
|
-
[`${prefixClsValue}-group-wrapper-lg`]: mergedSize.value === "large",
|
|
1799
|
-
[`${prefixClsValue}-group-wrapper-rtl`]: direction.value === "rtl"
|
|
1800
|
-
}, getStatusClassNames(`${prefixClsValue}-group-wrapper`, mergedStatus.value, hasFeedback), hashId.value)
|
|
1801
|
-
}), _extends(_extends({}, slots), { clearIcon })));
|
|
1802
|
-
};
|
|
1803
|
-
}
|
|
1804
|
-
});
|
|
1805
|
-
//#endregion
|
|
1806
|
-
//#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/input/Group.js
|
|
1807
|
-
var Group_default = defineComponent({
|
|
1808
|
-
compatConfig: { MODE: 3 },
|
|
1809
|
-
name: "AInputGroup",
|
|
1810
|
-
inheritAttrs: false,
|
|
1811
|
-
props: {
|
|
1812
|
-
prefixCls: String,
|
|
1813
|
-
size: { type: String },
|
|
1814
|
-
compact: {
|
|
1815
|
-
type: Boolean,
|
|
1816
|
-
default: void 0
|
|
1817
|
-
}
|
|
1818
|
-
},
|
|
1819
|
-
setup(props, _ref) {
|
|
1820
|
-
let { slots, attrs } = _ref;
|
|
1821
|
-
const { prefixCls, direction, getPrefixCls } = useConfigInject_default("input-group", props);
|
|
1822
|
-
const formItemInputContext = FormItemInputContext.useInject();
|
|
1823
|
-
FormItemInputContext.useProvide(formItemInputContext, { isFormItemInput: false });
|
|
1824
|
-
const [wrapSSR, hashId] = style_default(computed(() => getPrefixCls("input")));
|
|
1825
|
-
const cls = computed(() => {
|
|
1826
|
-
const pre = prefixCls.value;
|
|
1827
|
-
return {
|
|
1828
|
-
[`${pre}`]: true,
|
|
1829
|
-
[hashId.value]: true,
|
|
1830
|
-
[`${pre}-lg`]: props.size === "large",
|
|
1831
|
-
[`${pre}-sm`]: props.size === "small",
|
|
1832
|
-
[`${pre}-compact`]: props.compact,
|
|
1833
|
-
[`${pre}-rtl`]: direction.value === "rtl"
|
|
1834
|
-
};
|
|
1835
|
-
});
|
|
1836
|
-
return () => {
|
|
1837
|
-
var _a;
|
|
1838
|
-
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)]));
|
|
1839
|
-
};
|
|
1840
|
-
}
|
|
1841
|
-
});
|
|
1842
|
-
//#endregion
|
|
1843
|
-
//#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/input/Search.js
|
|
1844
|
-
var __rest$1 = function(s, e) {
|
|
1845
|
-
var t = {};
|
|
1846
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
1847
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function") {
|
|
1848
|
-
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]];
|
|
1849
|
-
}
|
|
1850
|
-
return t;
|
|
1851
|
-
};
|
|
1852
|
-
var Search_default = defineComponent({
|
|
1853
|
-
compatConfig: { MODE: 3 },
|
|
1854
|
-
name: "AInputSearch",
|
|
1855
|
-
inheritAttrs: false,
|
|
1856
|
-
props: _extends(_extends({}, inputProps()), {
|
|
1857
|
-
inputPrefixCls: String,
|
|
1858
|
-
enterButton: PropTypes.any,
|
|
1859
|
-
onSearch: { type: Function }
|
|
1860
|
-
}),
|
|
1861
|
-
setup(props, _ref) {
|
|
1862
|
-
let { slots, attrs, expose, emit } = _ref;
|
|
1863
|
-
const inputRef = shallowRef();
|
|
1864
|
-
const composedRef = shallowRef(false);
|
|
1865
|
-
const focus = () => {
|
|
1866
|
-
var _a;
|
|
1867
|
-
(_a = inputRef.value) === null || _a === void 0 || _a.focus();
|
|
1868
|
-
};
|
|
1869
|
-
const blur = () => {
|
|
1870
|
-
var _a;
|
|
1871
|
-
(_a = inputRef.value) === null || _a === void 0 || _a.blur();
|
|
1872
|
-
};
|
|
1873
|
-
expose({
|
|
1874
|
-
focus,
|
|
1875
|
-
blur
|
|
1876
|
-
});
|
|
1877
|
-
const onChange = (e) => {
|
|
1878
|
-
emit("update:value", e.target.value);
|
|
1879
|
-
if (e && e.target && e.type === "click") emit("search", e.target.value, e);
|
|
1880
|
-
emit("change", e);
|
|
1881
|
-
};
|
|
1882
|
-
const onMousedown = (e) => {
|
|
1883
|
-
var _a;
|
|
1884
|
-
if ((void 0).activeElement === ((_a = inputRef.value) === null || _a === void 0 ? void 0 : _a.input)) e.preventDefault();
|
|
1885
|
-
};
|
|
1886
|
-
const onSearch = (e) => {
|
|
1887
|
-
var _a, _b;
|
|
1888
|
-
emit("search", (_b = (_a = inputRef.value) === null || _a === void 0 ? void 0 : _a.input) === null || _b === void 0 ? void 0 : _b.stateValue, e);
|
|
1889
|
-
};
|
|
1890
|
-
const onPressEnter = (e) => {
|
|
1891
|
-
if (composedRef.value || props.loading) return;
|
|
1892
|
-
onSearch(e);
|
|
1893
|
-
};
|
|
1894
|
-
const handleOnCompositionStart = (e) => {
|
|
1895
|
-
composedRef.value = true;
|
|
1896
|
-
emit("compositionstart", e);
|
|
1897
|
-
};
|
|
1898
|
-
const handleOnCompositionEnd = (e) => {
|
|
1899
|
-
composedRef.value = false;
|
|
1900
|
-
emit("compositionend", e);
|
|
1901
|
-
};
|
|
1902
|
-
const { prefixCls, getPrefixCls, direction, size } = useConfigInject_default("input-search", props);
|
|
1903
|
-
const inputPrefixCls = computed(() => getPrefixCls("input", props.inputPrefixCls));
|
|
1904
|
-
return () => {
|
|
1905
|
-
var _a, _b, _c, _d;
|
|
1906
|
-
const { disabled, loading, addonAfter = (_a = slots.addonAfter) === null || _a === void 0 ? void 0 : _a.call(slots), suffix = (_b = slots.suffix) === null || _b === void 0 ? void 0 : _b.call(slots) } = props, restProps = __rest$1(props, [
|
|
1907
|
-
"disabled",
|
|
1908
|
-
"loading",
|
|
1909
|
-
"addonAfter",
|
|
1910
|
-
"suffix"
|
|
1911
|
-
]);
|
|
1912
|
-
let { enterButton = (_d = (_c = slots.enterButton) === null || _c === void 0 ? void 0 : _c.call(slots)) !== null && _d !== void 0 ? _d : false } = props;
|
|
1913
|
-
enterButton = enterButton || enterButton === "";
|
|
1914
|
-
const searchIcon = typeof enterButton === "boolean" ? createVNode(SearchOutlined, null, null) : null;
|
|
1915
|
-
const btnClassName = `${prefixCls.value}-button`;
|
|
1916
|
-
const enterButtonAsElement = Array.isArray(enterButton) ? enterButton[0] : enterButton;
|
|
1917
|
-
let button;
|
|
1918
|
-
const isAntdButton = enterButtonAsElement.type && isPlainObject(enterButtonAsElement.type) && enterButtonAsElement.type.__ANT_BUTTON;
|
|
1919
|
-
if (isAntdButton || enterButtonAsElement.tagName === "button") button = cloneElement(enterButtonAsElement, _extends({
|
|
1920
|
-
onMousedown,
|
|
1921
|
-
onClick: onSearch,
|
|
1922
|
-
key: "enterButton"
|
|
1923
|
-
}, isAntdButton ? {
|
|
1924
|
-
class: btnClassName,
|
|
1925
|
-
size: size.value
|
|
1926
|
-
} : {}), false);
|
|
1927
|
-
else {
|
|
1928
|
-
const iconOnly = searchIcon && !enterButton;
|
|
1929
|
-
button = createVNode(button_default, {
|
|
1930
|
-
"class": btnClassName,
|
|
1931
|
-
"type": enterButton ? "primary" : void 0,
|
|
1932
|
-
"size": size.value,
|
|
1933
|
-
"disabled": disabled,
|
|
1934
|
-
"key": "enterButton",
|
|
1935
|
-
"onMousedown": onMousedown,
|
|
1936
|
-
"onClick": onSearch,
|
|
1937
|
-
"loading": loading,
|
|
1938
|
-
"icon": iconOnly ? searchIcon : null
|
|
1939
|
-
}, { default: () => [iconOnly ? null : searchIcon || enterButton] });
|
|
1940
|
-
}
|
|
1941
|
-
if (addonAfter) button = [button, addonAfter];
|
|
1942
|
-
const cls = classNames(prefixCls.value, {
|
|
1943
|
-
[`${prefixCls.value}-rtl`]: direction.value === "rtl",
|
|
1944
|
-
[`${prefixCls.value}-${size.value}`]: !!size.value,
|
|
1945
|
-
[`${prefixCls.value}-with-button`]: !!enterButton
|
|
1946
|
-
}, attrs.class);
|
|
1947
|
-
return createVNode(Input_default, _objectSpread2(_objectSpread2(_objectSpread2({ "ref": inputRef }, omit(restProps, [
|
|
1948
|
-
"onUpdate:value",
|
|
1949
|
-
"onSearch",
|
|
1950
|
-
"enterButton"
|
|
1951
|
-
])), attrs), {}, {
|
|
1952
|
-
"onPressEnter": onPressEnter,
|
|
1953
|
-
"onCompositionstart": handleOnCompositionStart,
|
|
1954
|
-
"onCompositionend": handleOnCompositionEnd,
|
|
1955
|
-
"size": size.value,
|
|
1956
|
-
"prefixCls": inputPrefixCls.value,
|
|
1957
|
-
"addonAfter": button,
|
|
1958
|
-
"suffix": suffix,
|
|
1959
|
-
"onChange": onChange,
|
|
1960
|
-
"class": cls,
|
|
1961
|
-
"disabled": disabled
|
|
1962
|
-
}), slots);
|
|
1963
|
-
};
|
|
1964
|
-
}
|
|
1965
|
-
});
|
|
1966
|
-
//#endregion
|
|
1967
|
-
//#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/input/util.js
|
|
1968
|
-
var isValid = (value) => {
|
|
1969
|
-
return value !== void 0 && value !== null && (Array.isArray(value) ? filterEmpty(value).length : true);
|
|
1970
|
-
};
|
|
1971
|
-
function hasAddon(propsAndSlots) {
|
|
1972
|
-
return isValid(propsAndSlots.addonBefore) || isValid(propsAndSlots.addonAfter);
|
|
1973
|
-
}
|
|
1974
|
-
//#endregion
|
|
1975
|
-
//#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/input/ClearableLabeledInput.js
|
|
1976
|
-
var ClearableInputType = ["text", "input"];
|
|
1977
|
-
var ClearableLabeledInput_default = defineComponent({
|
|
1978
|
-
compatConfig: { MODE: 3 },
|
|
1979
|
-
name: "ClearableLabeledInput",
|
|
1980
|
-
inheritAttrs: false,
|
|
1981
|
-
props: {
|
|
1982
|
-
prefixCls: String,
|
|
1983
|
-
inputType: PropTypes.oneOf(tuple("text", "input")),
|
|
1984
|
-
value: anyType(),
|
|
1985
|
-
defaultValue: anyType(),
|
|
1986
|
-
allowClear: {
|
|
1987
|
-
type: Boolean,
|
|
1988
|
-
default: void 0
|
|
1989
|
-
},
|
|
1990
|
-
element: anyType(),
|
|
1991
|
-
handleReset: Function,
|
|
1992
|
-
disabled: {
|
|
1993
|
-
type: Boolean,
|
|
1994
|
-
default: void 0
|
|
1995
|
-
},
|
|
1996
|
-
direction: { type: String },
|
|
1997
|
-
size: { type: String },
|
|
1998
|
-
suffix: anyType(),
|
|
1999
|
-
prefix: anyType(),
|
|
2000
|
-
addonBefore: anyType(),
|
|
2001
|
-
addonAfter: anyType(),
|
|
2002
|
-
readonly: {
|
|
2003
|
-
type: Boolean,
|
|
2004
|
-
default: void 0
|
|
2005
|
-
},
|
|
2006
|
-
focused: {
|
|
2007
|
-
type: Boolean,
|
|
2008
|
-
default: void 0
|
|
2009
|
-
},
|
|
2010
|
-
bordered: {
|
|
2011
|
-
type: Boolean,
|
|
2012
|
-
default: true
|
|
2013
|
-
},
|
|
2014
|
-
triggerFocus: { type: Function },
|
|
2015
|
-
hidden: Boolean,
|
|
2016
|
-
status: String,
|
|
2017
|
-
hashId: String
|
|
2018
|
-
},
|
|
2019
|
-
setup(props, _ref) {
|
|
2020
|
-
let { slots, attrs } = _ref;
|
|
2021
|
-
const statusContext = FormItemInputContext.useInject();
|
|
2022
|
-
const renderClearIcon = (prefixCls) => {
|
|
2023
|
-
const { value, disabled, readonly, handleReset, suffix = slots.suffix } = props;
|
|
2024
|
-
const needClear = !disabled && !readonly && value;
|
|
2025
|
-
const className = `${prefixCls}-clear-icon`;
|
|
2026
|
-
return createVNode(CloseCircleFilled, {
|
|
2027
|
-
"onClick": handleReset,
|
|
2028
|
-
"onMousedown": (e) => e.preventDefault(),
|
|
2029
|
-
"class": classNames({
|
|
2030
|
-
[`${className}-hidden`]: !needClear,
|
|
2031
|
-
[`${className}-has-suffix`]: !!suffix
|
|
2032
|
-
}, className),
|
|
2033
|
-
"role": "button"
|
|
2034
|
-
}, null);
|
|
2035
|
-
};
|
|
2036
|
-
const renderTextAreaWithClearIcon = (prefixCls, element) => {
|
|
2037
|
-
const { value, allowClear, direction, bordered, hidden, status: customStatus, addonAfter = slots.addonAfter, addonBefore = slots.addonBefore, hashId } = props;
|
|
2038
|
-
const { status: contextStatus, hasFeedback } = statusContext;
|
|
2039
|
-
if (!allowClear) return cloneElement(element, {
|
|
2040
|
-
value,
|
|
2041
|
-
disabled: props.disabled
|
|
2042
|
-
});
|
|
2043
|
-
const affixWrapperCls = classNames(`${prefixCls}-affix-wrapper`, `${prefixCls}-affix-wrapper-textarea-with-clear-btn`, getStatusClassNames(`${prefixCls}-affix-wrapper`, getMergedStatus(contextStatus, customStatus), hasFeedback), {
|
|
2044
|
-
[`${prefixCls}-affix-wrapper-rtl`]: direction === "rtl",
|
|
2045
|
-
[`${prefixCls}-affix-wrapper-borderless`]: !bordered,
|
|
2046
|
-
[`${attrs.class}`]: !hasAddon({
|
|
2047
|
-
addonAfter,
|
|
2048
|
-
addonBefore
|
|
2049
|
-
}) && attrs.class
|
|
2050
|
-
}, hashId);
|
|
2051
|
-
return createVNode("span", {
|
|
2052
|
-
"class": affixWrapperCls,
|
|
2053
|
-
"style": attrs.style,
|
|
2054
|
-
"hidden": hidden
|
|
2055
|
-
}, [cloneElement(element, {
|
|
2056
|
-
style: null,
|
|
2057
|
-
value,
|
|
2058
|
-
disabled: props.disabled
|
|
2059
|
-
}), renderClearIcon(prefixCls)]);
|
|
2060
|
-
};
|
|
2061
|
-
return () => {
|
|
2062
|
-
var _a;
|
|
2063
|
-
const { prefixCls, inputType, element = (_a = slots.element) === null || _a === void 0 ? void 0 : _a.call(slots) } = props;
|
|
2064
|
-
if (inputType === ClearableInputType[0]) return renderTextAreaWithClearIcon(prefixCls, element);
|
|
2065
|
-
return null;
|
|
2066
|
-
};
|
|
2067
|
-
}
|
|
2068
|
-
});
|
|
2069
|
-
//#endregion
|
|
2070
|
-
//#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/input/calculateNodeHeight.js
|
|
2071
|
-
/**
|
|
2072
|
-
* calculateNodeHeight(uiTextNode, useCache = false)
|
|
2073
|
-
*/
|
|
2074
|
-
var HIDDEN_TEXTAREA_STYLE = `
|
|
2075
|
-
min-height:0 !important;
|
|
2076
|
-
max-height:none !important;
|
|
2077
|
-
height:0 !important;
|
|
2078
|
-
visibility:hidden !important;
|
|
2079
|
-
overflow:hidden !important;
|
|
2080
|
-
position:absolute !important;
|
|
2081
|
-
z-index:-1000 !important;
|
|
2082
|
-
top:0 !important;
|
|
2083
|
-
right:0 !important;
|
|
2084
|
-
pointer-events: none !important;
|
|
2085
|
-
`;
|
|
2086
|
-
var SIZING_STYLE = [
|
|
2087
|
-
"letter-spacing",
|
|
2088
|
-
"line-height",
|
|
2089
|
-
"padding-top",
|
|
2090
|
-
"padding-bottom",
|
|
2091
|
-
"font-family",
|
|
2092
|
-
"font-weight",
|
|
2093
|
-
"font-size",
|
|
2094
|
-
"font-variant",
|
|
2095
|
-
"text-rendering",
|
|
2096
|
-
"text-transform",
|
|
2097
|
-
"width",
|
|
2098
|
-
"text-indent",
|
|
2099
|
-
"padding-left",
|
|
2100
|
-
"padding-right",
|
|
2101
|
-
"border-width",
|
|
2102
|
-
"box-sizing",
|
|
2103
|
-
"word-break",
|
|
2104
|
-
"white-space"
|
|
2105
|
-
];
|
|
2106
|
-
var computedStyleCache = {};
|
|
2107
|
-
var hiddenTextarea;
|
|
2108
|
-
function calculateNodeStyling(node) {
|
|
2109
|
-
let useCache = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
|
|
2110
|
-
const nodeRef = node.getAttribute("id") || node.getAttribute("data-reactid") || node.getAttribute("name");
|
|
2111
|
-
if (useCache && computedStyleCache[nodeRef]) return computedStyleCache[nodeRef];
|
|
2112
|
-
const style = (void 0).getComputedStyle(node);
|
|
2113
|
-
const boxSizing = style.getPropertyValue("box-sizing") || style.getPropertyValue("-moz-box-sizing") || style.getPropertyValue("-webkit-box-sizing");
|
|
2114
|
-
const paddingSize = parseFloat(style.getPropertyValue("padding-bottom")) + parseFloat(style.getPropertyValue("padding-top"));
|
|
2115
|
-
const borderSize = parseFloat(style.getPropertyValue("border-bottom-width")) + parseFloat(style.getPropertyValue("border-top-width"));
|
|
2116
|
-
const nodeInfo = {
|
|
2117
|
-
sizingStyle: SIZING_STYLE.map((name) => `${name}:${style.getPropertyValue(name)}`).join(";"),
|
|
2118
|
-
paddingSize,
|
|
2119
|
-
borderSize,
|
|
2120
|
-
boxSizing
|
|
2121
|
-
};
|
|
2122
|
-
if (useCache && nodeRef) computedStyleCache[nodeRef] = nodeInfo;
|
|
2123
|
-
return nodeInfo;
|
|
2124
|
-
}
|
|
2125
|
-
function calculateAutoSizeStyle(uiTextNode) {
|
|
2126
|
-
let useCache = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : false;
|
|
2127
|
-
let minRows = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null;
|
|
2128
|
-
let maxRows = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : null;
|
|
2129
|
-
if (!hiddenTextarea) {
|
|
2130
|
-
hiddenTextarea = (void 0).createElement("textarea");
|
|
2131
|
-
hiddenTextarea.setAttribute("tab-index", "-1");
|
|
2132
|
-
hiddenTextarea.setAttribute("aria-hidden", "true");
|
|
2133
|
-
(void 0).body.appendChild(hiddenTextarea);
|
|
2134
|
-
}
|
|
2135
|
-
if (uiTextNode.getAttribute("wrap")) hiddenTextarea.setAttribute("wrap", uiTextNode.getAttribute("wrap"));
|
|
2136
|
-
else hiddenTextarea.removeAttribute("wrap");
|
|
2137
|
-
const { paddingSize, borderSize, boxSizing, sizingStyle } = calculateNodeStyling(uiTextNode, useCache);
|
|
2138
|
-
hiddenTextarea.setAttribute("style", `${sizingStyle};${HIDDEN_TEXTAREA_STYLE}`);
|
|
2139
|
-
hiddenTextarea.value = uiTextNode.value || uiTextNode.placeholder || "";
|
|
2140
|
-
let minHeight = void 0;
|
|
2141
|
-
let maxHeight = void 0;
|
|
2142
|
-
let overflowY;
|
|
2143
|
-
let height = hiddenTextarea.scrollHeight;
|
|
2144
|
-
if (boxSizing === "border-box") height += borderSize;
|
|
2145
|
-
else if (boxSizing === "content-box") height -= paddingSize;
|
|
2146
|
-
if (minRows !== null || maxRows !== null) {
|
|
2147
|
-
hiddenTextarea.value = " ";
|
|
2148
|
-
const singleRowHeight = hiddenTextarea.scrollHeight - paddingSize;
|
|
2149
|
-
if (minRows !== null) {
|
|
2150
|
-
minHeight = singleRowHeight * minRows;
|
|
2151
|
-
if (boxSizing === "border-box") minHeight = minHeight + paddingSize + borderSize;
|
|
2152
|
-
height = Math.max(minHeight, height);
|
|
2153
|
-
}
|
|
2154
|
-
if (maxRows !== null) {
|
|
2155
|
-
maxHeight = singleRowHeight * maxRows;
|
|
2156
|
-
if (boxSizing === "border-box") maxHeight = maxHeight + paddingSize + borderSize;
|
|
2157
|
-
overflowY = height > maxHeight ? "" : "hidden";
|
|
2158
|
-
height = Math.min(maxHeight, height);
|
|
2159
|
-
}
|
|
2160
|
-
}
|
|
2161
|
-
const style = {
|
|
2162
|
-
height: `${height}px`,
|
|
2163
|
-
overflowY,
|
|
2164
|
-
resize: "none"
|
|
2165
|
-
};
|
|
2166
|
-
if (minHeight) style.minHeight = `${minHeight}px`;
|
|
2167
|
-
if (maxHeight) style.maxHeight = `${maxHeight}px`;
|
|
2168
|
-
return style;
|
|
2169
|
-
}
|
|
2170
|
-
//#endregion
|
|
2171
|
-
//#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/input/ResizableTextArea.js
|
|
2172
|
-
var RESIZE_START = 0;
|
|
2173
|
-
var RESIZE_MEASURING = 1;
|
|
2174
|
-
var RESIZE_STABLE = 2;
|
|
2175
|
-
var ResizableTextArea = defineComponent({
|
|
2176
|
-
compatConfig: { MODE: 3 },
|
|
2177
|
-
name: "ResizableTextArea",
|
|
2178
|
-
inheritAttrs: false,
|
|
2179
|
-
props: textAreaProps(),
|
|
2180
|
-
setup(props, _ref) {
|
|
2181
|
-
let { attrs, emit, expose } = _ref;
|
|
2182
|
-
const textAreaRef = ref();
|
|
2183
|
-
const textareaStyles = ref({});
|
|
2184
|
-
const resizeStatus = ref(RESIZE_STABLE);
|
|
2185
|
-
const fixFirefoxAutoScroll = () => {
|
|
2186
|
-
try {
|
|
2187
|
-
if (textAreaRef.value && (void 0).activeElement === textAreaRef.value.input) {
|
|
2188
|
-
const currentStart = textAreaRef.value.getSelectionStart();
|
|
2189
|
-
const currentEnd = textAreaRef.value.getSelectionEnd();
|
|
2190
|
-
const scrollTop = textAreaRef.value.getScrollTop();
|
|
2191
|
-
textAreaRef.value.setSelectionRange(currentStart, currentEnd);
|
|
2192
|
-
textAreaRef.value.setScrollTop(scrollTop);
|
|
2193
|
-
}
|
|
2194
|
-
} catch (e) {}
|
|
2195
|
-
};
|
|
2196
|
-
const minRows = ref();
|
|
2197
|
-
const maxRows = ref();
|
|
2198
|
-
watchEffect(() => {
|
|
2199
|
-
const autoSize = props.autoSize || props.autosize;
|
|
2200
|
-
if (autoSize) {
|
|
2201
|
-
minRows.value = autoSize.minRows;
|
|
2202
|
-
maxRows.value = autoSize.maxRows;
|
|
2203
|
-
} else {
|
|
2204
|
-
minRows.value = void 0;
|
|
2205
|
-
maxRows.value = void 0;
|
|
2206
|
-
}
|
|
2207
|
-
});
|
|
2208
|
-
const needAutoSize = computed(() => !!(props.autoSize || props.autosize));
|
|
2209
|
-
const startResize = () => {
|
|
2210
|
-
resizeStatus.value = RESIZE_START;
|
|
2211
|
-
};
|
|
2212
|
-
watch([
|
|
2213
|
-
() => props.value,
|
|
2214
|
-
minRows,
|
|
2215
|
-
maxRows,
|
|
2216
|
-
needAutoSize
|
|
2217
|
-
], () => {
|
|
2218
|
-
if (needAutoSize.value) startResize();
|
|
2219
|
-
}, { immediate: true });
|
|
2220
|
-
const autoSizeStyle = ref();
|
|
2221
|
-
watch([resizeStatus, textAreaRef], () => {
|
|
2222
|
-
if (!textAreaRef.value) return;
|
|
2223
|
-
if (resizeStatus.value === RESIZE_START) resizeStatus.value = RESIZE_MEASURING;
|
|
2224
|
-
else if (resizeStatus.value === RESIZE_MEASURING) {
|
|
2225
|
-
const textareaStyles = calculateAutoSizeStyle(textAreaRef.value.input, false, minRows.value, maxRows.value);
|
|
2226
|
-
resizeStatus.value = RESIZE_STABLE;
|
|
2227
|
-
autoSizeStyle.value = textareaStyles;
|
|
2228
|
-
} else fixFirefoxAutoScroll();
|
|
2229
|
-
}, {
|
|
2230
|
-
immediate: true,
|
|
2231
|
-
flush: "post"
|
|
2232
|
-
});
|
|
2233
|
-
const instance = getCurrentInstance();
|
|
2234
|
-
const resizeRafRef = ref();
|
|
2235
|
-
const cleanRaf = () => {
|
|
2236
|
-
wrapperRaf.cancel(resizeRafRef.value);
|
|
2237
|
-
};
|
|
2238
|
-
const onInternalResize = (size) => {
|
|
2239
|
-
if (resizeStatus.value === RESIZE_STABLE) {
|
|
2240
|
-
emit("resize", size);
|
|
2241
|
-
if (needAutoSize.value) {
|
|
2242
|
-
cleanRaf();
|
|
2243
|
-
resizeRafRef.value = wrapperRaf(() => {
|
|
2244
|
-
startResize();
|
|
2245
|
-
});
|
|
2246
|
-
}
|
|
2247
|
-
}
|
|
2248
|
-
};
|
|
2249
|
-
const resizeTextarea = () => {
|
|
2250
|
-
startResize();
|
|
2251
|
-
};
|
|
2252
|
-
expose({
|
|
2253
|
-
resizeTextarea,
|
|
2254
|
-
textArea: computed(() => {
|
|
2255
|
-
var _a;
|
|
2256
|
-
return (_a = textAreaRef.value) === null || _a === void 0 ? void 0 : _a.input;
|
|
2257
|
-
}),
|
|
2258
|
-
instance
|
|
2259
|
-
});
|
|
2260
|
-
warning(props.autosize === void 0);
|
|
2261
|
-
const renderTextArea = () => {
|
|
2262
|
-
const { prefixCls, disabled } = props;
|
|
2263
|
-
const otherProps = omit(props, [
|
|
2264
|
-
"prefixCls",
|
|
2265
|
-
"onPressEnter",
|
|
2266
|
-
"autoSize",
|
|
2267
|
-
"autosize",
|
|
2268
|
-
"defaultValue",
|
|
2269
|
-
"allowClear",
|
|
2270
|
-
"type",
|
|
2271
|
-
"maxlength",
|
|
2272
|
-
"valueModifiers"
|
|
2273
|
-
]);
|
|
2274
|
-
const cls = classNames(prefixCls, attrs.class, { [`${prefixCls}-disabled`]: disabled });
|
|
2275
|
-
const mergedAutoSizeStyle = needAutoSize.value ? autoSizeStyle.value : null;
|
|
2276
|
-
const style = [
|
|
2277
|
-
attrs.style,
|
|
2278
|
-
textareaStyles.value,
|
|
2279
|
-
mergedAutoSizeStyle
|
|
2280
|
-
];
|
|
2281
|
-
const textareaProps = _extends(_extends(_extends({}, otherProps), attrs), {
|
|
2282
|
-
style,
|
|
2283
|
-
class: cls
|
|
2284
|
-
});
|
|
2285
|
-
if (resizeStatus.value === RESIZE_START || resizeStatus.value === RESIZE_MEASURING) style.push({
|
|
2286
|
-
overflowX: "hidden",
|
|
2287
|
-
overflowY: "hidden"
|
|
2288
|
-
});
|
|
2289
|
-
if (!textareaProps.autofocus) delete textareaProps.autofocus;
|
|
2290
|
-
if (textareaProps.rows === 0) delete textareaProps.rows;
|
|
2291
|
-
return createVNode(vc_resize_observer_default, {
|
|
2292
|
-
"onResize": onInternalResize,
|
|
2293
|
-
"disabled": !needAutoSize.value
|
|
2294
|
-
}, { default: () => [createVNode(BaseInput, _objectSpread2(_objectSpread2({}, textareaProps), {}, {
|
|
2295
|
-
"ref": textAreaRef,
|
|
2296
|
-
"tag": "textarea"
|
|
2297
|
-
}), null)] });
|
|
2298
|
-
};
|
|
2299
|
-
return () => {
|
|
2300
|
-
return renderTextArea();
|
|
2301
|
-
};
|
|
2302
|
-
}
|
|
2303
|
-
});
|
|
2304
|
-
//#endregion
|
|
2305
|
-
//#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/input/TextArea.js
|
|
2306
|
-
function fixEmojiLength(value, maxLength) {
|
|
2307
|
-
return [...value || ""].slice(0, maxLength).join("");
|
|
2308
|
-
}
|
|
2309
|
-
function setTriggerValue(isCursorInEnd, preValue, triggerValue, maxLength) {
|
|
2310
|
-
let newTriggerValue = triggerValue;
|
|
2311
|
-
if (isCursorInEnd) newTriggerValue = fixEmojiLength(triggerValue, maxLength);
|
|
2312
|
-
else if ([...preValue || ""].length < triggerValue.length && [...triggerValue || ""].length > maxLength) newTriggerValue = preValue;
|
|
2313
|
-
return newTriggerValue;
|
|
2314
|
-
}
|
|
2315
|
-
var TextArea_default = defineComponent({
|
|
2316
|
-
compatConfig: { MODE: 3 },
|
|
2317
|
-
name: "ATextarea",
|
|
2318
|
-
inheritAttrs: false,
|
|
2319
|
-
props: textAreaProps(),
|
|
2320
|
-
setup(props, _ref) {
|
|
2321
|
-
let { attrs, expose, emit } = _ref;
|
|
2322
|
-
var _a;
|
|
2323
|
-
const formItemContext = useInjectFormItemContext();
|
|
2324
|
-
const formItemInputContext = FormItemInputContext.useInject();
|
|
2325
|
-
const mergedStatus = computed(() => getMergedStatus(formItemInputContext.status, props.status));
|
|
2326
|
-
const stateValue = shallowRef((_a = props.value) !== null && _a !== void 0 ? _a : props.defaultValue);
|
|
2327
|
-
const resizableTextArea = shallowRef();
|
|
2328
|
-
const mergedValue = shallowRef("");
|
|
2329
|
-
const { prefixCls, size, direction } = useConfigInject_default("input", props);
|
|
2330
|
-
const [wrapSSR, hashId] = style_default(prefixCls);
|
|
2331
|
-
const disabled = useInjectDisabled();
|
|
2332
|
-
const showCount = computed(() => {
|
|
2333
|
-
return props.showCount === "" || props.showCount || false;
|
|
2334
|
-
});
|
|
2335
|
-
const hasMaxLength = computed(() => Number(props.maxlength) > 0);
|
|
2336
|
-
const compositing = shallowRef(false);
|
|
2337
|
-
const oldCompositionValueRef = shallowRef();
|
|
2338
|
-
const oldSelectionStartRef = shallowRef(0);
|
|
2339
|
-
const onInternalCompositionStart = (e) => {
|
|
2340
|
-
compositing.value = true;
|
|
2341
|
-
oldCompositionValueRef.value = mergedValue.value;
|
|
2342
|
-
oldSelectionStartRef.value = e.currentTarget.selectionStart;
|
|
2343
|
-
emit("compositionstart", e);
|
|
2344
|
-
};
|
|
2345
|
-
const onInternalCompositionEnd = (e) => {
|
|
2346
|
-
var _a;
|
|
2347
|
-
compositing.value = false;
|
|
2348
|
-
let triggerValue = e.currentTarget.value;
|
|
2349
|
-
if (hasMaxLength.value) triggerValue = setTriggerValue(oldSelectionStartRef.value >= props.maxlength + 1 || oldSelectionStartRef.value === ((_a = oldCompositionValueRef.value) === null || _a === void 0 ? void 0 : _a.length), oldCompositionValueRef.value, triggerValue, props.maxlength);
|
|
2350
|
-
if (triggerValue !== mergedValue.value) {
|
|
2351
|
-
setValue(triggerValue);
|
|
2352
|
-
resolveOnChange(e.currentTarget, e, triggerChange, triggerValue);
|
|
2353
|
-
}
|
|
2354
|
-
emit("compositionend", e);
|
|
2355
|
-
};
|
|
2356
|
-
const instance = getCurrentInstance();
|
|
2357
|
-
watch(() => props.value, () => {
|
|
2358
|
-
var _a;
|
|
2359
|
-
if ("value" in instance.vnode.props || {}) stateValue.value = (_a = props.value) !== null && _a !== void 0 ? _a : "";
|
|
2360
|
-
});
|
|
2361
|
-
const focus = (option) => {
|
|
2362
|
-
var _a;
|
|
2363
|
-
triggerFocus((_a = resizableTextArea.value) === null || _a === void 0 ? void 0 : _a.textArea, option);
|
|
2364
|
-
};
|
|
2365
|
-
const blur = () => {
|
|
2366
|
-
var _a, _b;
|
|
2367
|
-
(_b = (_a = resizableTextArea.value) === null || _a === void 0 ? void 0 : _a.textArea) === null || _b === void 0 || _b.blur();
|
|
2368
|
-
};
|
|
2369
|
-
const setValue = (value, callback) => {
|
|
2370
|
-
if (stateValue.value === value) return;
|
|
2371
|
-
if (props.value === void 0) stateValue.value = value;
|
|
2372
|
-
else nextTick(() => {
|
|
2373
|
-
var _a, _b, _c;
|
|
2374
|
-
if (resizableTextArea.value.textArea.value !== mergedValue.value) (_c = (_a = resizableTextArea.value) === null || _a === void 0 ? void 0 : (_b = _a.instance).update) === null || _c === void 0 || _c.call(_b);
|
|
2375
|
-
});
|
|
2376
|
-
nextTick(() => {
|
|
2377
|
-
callback && callback();
|
|
2378
|
-
});
|
|
2379
|
-
};
|
|
2380
|
-
const handleKeyDown = (e) => {
|
|
2381
|
-
if (e.keyCode === 13) emit("pressEnter", e);
|
|
2382
|
-
emit("keydown", e);
|
|
2383
|
-
};
|
|
2384
|
-
const onBlur = (e) => {
|
|
2385
|
-
const { onBlur } = props;
|
|
2386
|
-
onBlur === null || onBlur === void 0 || onBlur(e);
|
|
2387
|
-
formItemContext.onFieldBlur();
|
|
2388
|
-
};
|
|
2389
|
-
const triggerChange = (e) => {
|
|
2390
|
-
emit("update:value", e.target.value);
|
|
2391
|
-
emit("change", e);
|
|
2392
|
-
emit("input", e);
|
|
2393
|
-
formItemContext.onFieldChange();
|
|
2394
|
-
};
|
|
2395
|
-
const handleReset = (e) => {
|
|
2396
|
-
resolveOnChange(resizableTextArea.value.textArea, e, triggerChange);
|
|
2397
|
-
setValue("", () => {
|
|
2398
|
-
focus();
|
|
2399
|
-
});
|
|
2400
|
-
};
|
|
2401
|
-
const handleChange = (e) => {
|
|
2402
|
-
let triggerValue = e.target.value;
|
|
2403
|
-
if (stateValue.value === triggerValue) return;
|
|
2404
|
-
if (hasMaxLength.value) {
|
|
2405
|
-
const target = e.target;
|
|
2406
|
-
triggerValue = setTriggerValue(target.selectionStart >= props.maxlength + 1 || target.selectionStart === triggerValue.length || !target.selectionStart, mergedValue.value, triggerValue, props.maxlength);
|
|
2407
|
-
}
|
|
2408
|
-
resolveOnChange(e.currentTarget, e, triggerChange, triggerValue);
|
|
2409
|
-
setValue(triggerValue);
|
|
2410
|
-
};
|
|
2411
|
-
const renderTextArea = () => {
|
|
2412
|
-
var _a, _b;
|
|
2413
|
-
const { class: customClass } = attrs;
|
|
2414
|
-
const { bordered = true } = props;
|
|
2415
|
-
const resizeProps = _extends(_extends(_extends({}, omit(props, ["allowClear"])), attrs), {
|
|
2416
|
-
class: [
|
|
2417
|
-
{
|
|
2418
|
-
[`${prefixCls.value}-borderless`]: !bordered,
|
|
2419
|
-
[`${customClass}`]: customClass && !showCount.value,
|
|
2420
|
-
[`${prefixCls.value}-sm`]: size.value === "small",
|
|
2421
|
-
[`${prefixCls.value}-lg`]: size.value === "large"
|
|
2422
|
-
},
|
|
2423
|
-
getStatusClassNames(prefixCls.value, mergedStatus.value),
|
|
2424
|
-
hashId.value
|
|
2425
|
-
],
|
|
2426
|
-
disabled: disabled.value,
|
|
2427
|
-
showCount: null,
|
|
2428
|
-
prefixCls: prefixCls.value,
|
|
2429
|
-
onInput: handleChange,
|
|
2430
|
-
onChange: handleChange,
|
|
2431
|
-
onBlur,
|
|
2432
|
-
onKeydown: handleKeyDown,
|
|
2433
|
-
onCompositionstart: onInternalCompositionStart,
|
|
2434
|
-
onCompositionend: onInternalCompositionEnd
|
|
2435
|
-
});
|
|
2436
|
-
if ((_a = props.valueModifiers) === null || _a === void 0 ? void 0 : _a.lazy) delete resizeProps.onInput;
|
|
2437
|
-
return createVNode(ResizableTextArea, _objectSpread2(_objectSpread2({}, resizeProps), {}, {
|
|
2438
|
-
"id": (_b = resizeProps === null || resizeProps === void 0 ? void 0 : resizeProps.id) !== null && _b !== void 0 ? _b : formItemContext.id.value,
|
|
2439
|
-
"ref": resizableTextArea,
|
|
2440
|
-
"maxlength": props.maxlength,
|
|
2441
|
-
"lazy": props.lazy
|
|
2442
|
-
}), null);
|
|
2443
|
-
};
|
|
2444
|
-
expose({
|
|
2445
|
-
focus,
|
|
2446
|
-
blur,
|
|
2447
|
-
resizableTextArea
|
|
2448
|
-
});
|
|
2449
|
-
watchEffect(() => {
|
|
2450
|
-
let val = fixControlledValue(stateValue.value);
|
|
2451
|
-
if (!compositing.value && hasMaxLength.value && (props.value === null || props.value === void 0)) val = fixEmojiLength(val, props.maxlength);
|
|
2452
|
-
mergedValue.value = val;
|
|
2453
|
-
});
|
|
2454
|
-
return () => {
|
|
2455
|
-
var _a;
|
|
2456
|
-
const { maxlength, bordered = true, hidden } = props;
|
|
2457
|
-
const { style, class: customClass } = attrs;
|
|
2458
|
-
const inputProps = _extends(_extends(_extends({}, props), attrs), {
|
|
2459
|
-
prefixCls: prefixCls.value,
|
|
2460
|
-
inputType: "text",
|
|
2461
|
-
handleReset,
|
|
2462
|
-
direction: direction.value,
|
|
2463
|
-
bordered,
|
|
2464
|
-
style: showCount.value ? void 0 : style,
|
|
2465
|
-
hashId: hashId.value,
|
|
2466
|
-
disabled: (_a = props.disabled) !== null && _a !== void 0 ? _a : disabled.value
|
|
2467
|
-
});
|
|
2468
|
-
let textareaNode = createVNode(ClearableLabeledInput_default, _objectSpread2(_objectSpread2({}, inputProps), {}, {
|
|
2469
|
-
"value": mergedValue.value,
|
|
2470
|
-
"status": props.status
|
|
2471
|
-
}), { element: renderTextArea });
|
|
2472
|
-
if (showCount.value || formItemInputContext.hasFeedback) {
|
|
2473
|
-
const valueLength = [...mergedValue.value].length;
|
|
2474
|
-
let dataCount = "";
|
|
2475
|
-
if (typeof showCount.value === "object") dataCount = showCount.value.formatter({
|
|
2476
|
-
value: mergedValue.value,
|
|
2477
|
-
count: valueLength,
|
|
2478
|
-
maxlength
|
|
2479
|
-
});
|
|
2480
|
-
else dataCount = `${valueLength}${hasMaxLength.value ? ` / ${maxlength}` : ""}`;
|
|
2481
|
-
textareaNode = createVNode("div", {
|
|
2482
|
-
"hidden": hidden,
|
|
2483
|
-
"class": classNames(`${prefixCls.value}-textarea`, {
|
|
2484
|
-
[`${prefixCls.value}-textarea-rtl`]: direction.value === "rtl",
|
|
2485
|
-
[`${prefixCls.value}-textarea-show-count`]: showCount.value,
|
|
2486
|
-
[`${prefixCls.value}-textarea-in-form-item`]: formItemInputContext.isFormItemInput
|
|
2487
|
-
}, `${prefixCls.value}-textarea-show-count`, customClass, hashId.value),
|
|
2488
|
-
"style": style,
|
|
2489
|
-
"data-count": typeof dataCount !== "object" ? dataCount : void 0
|
|
2490
|
-
}, [textareaNode, formItemInputContext.hasFeedback && createVNode("span", { "class": `${prefixCls.value}-textarea-suffix` }, [formItemInputContext.feedbackIcon])]);
|
|
2491
|
-
}
|
|
2492
|
-
return wrapSSR(textareaNode);
|
|
2493
|
-
};
|
|
2494
|
-
}
|
|
2495
|
-
});
|
|
2496
|
-
//#endregion
|
|
2497
|
-
//#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/input/Password.js
|
|
2498
|
-
var __rest = function(s, e) {
|
|
2499
|
-
var t = {};
|
|
2500
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
2501
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function") {
|
|
2502
|
-
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]];
|
|
2503
|
-
}
|
|
2504
|
-
return t;
|
|
2505
|
-
};
|
|
2506
|
-
var ActionMap = {
|
|
2507
|
-
click: "onClick",
|
|
2508
|
-
hover: "onMouseover"
|
|
2509
|
-
};
|
|
2510
|
-
var defaultIconRender = (visible) => visible ? createVNode(EyeOutlined, null, null) : createVNode(EyeInvisibleOutlined, null, null);
|
|
2511
|
-
var Password_default = defineComponent({
|
|
2512
|
-
compatConfig: { MODE: 3 },
|
|
2513
|
-
name: "AInputPassword",
|
|
2514
|
-
inheritAttrs: false,
|
|
2515
|
-
props: _extends(_extends({}, inputProps()), {
|
|
2516
|
-
prefixCls: String,
|
|
2517
|
-
inputPrefixCls: String,
|
|
2518
|
-
action: {
|
|
2519
|
-
type: String,
|
|
2520
|
-
default: "click"
|
|
2521
|
-
},
|
|
2522
|
-
visibilityToggle: {
|
|
2523
|
-
type: Boolean,
|
|
2524
|
-
default: true
|
|
2525
|
-
},
|
|
2526
|
-
visible: {
|
|
2527
|
-
type: Boolean,
|
|
2528
|
-
default: void 0
|
|
2529
|
-
},
|
|
2530
|
-
"onUpdate:visible": Function,
|
|
2531
|
-
iconRender: Function
|
|
2532
|
-
}),
|
|
2533
|
-
setup(props, _ref) {
|
|
2534
|
-
let { slots, attrs, expose, emit } = _ref;
|
|
2535
|
-
const visible = shallowRef(false);
|
|
2536
|
-
const onVisibleChange = () => {
|
|
2537
|
-
const { disabled } = props;
|
|
2538
|
-
if (disabled) return;
|
|
2539
|
-
visible.value = !visible.value;
|
|
2540
|
-
emit("update:visible", visible.value);
|
|
2541
|
-
};
|
|
2542
|
-
watchEffect(() => {
|
|
2543
|
-
if (props.visible !== void 0) visible.value = !!props.visible;
|
|
2544
|
-
});
|
|
2545
|
-
const inputRef = shallowRef();
|
|
2546
|
-
const focus = () => {
|
|
2547
|
-
var _a;
|
|
2548
|
-
(_a = inputRef.value) === null || _a === void 0 || _a.focus();
|
|
2549
|
-
};
|
|
2550
|
-
const blur = () => {
|
|
2551
|
-
var _a;
|
|
2552
|
-
(_a = inputRef.value) === null || _a === void 0 || _a.blur();
|
|
2553
|
-
};
|
|
2554
|
-
expose({
|
|
2555
|
-
focus,
|
|
2556
|
-
blur
|
|
2557
|
-
});
|
|
2558
|
-
const getIcon = (prefixCls) => {
|
|
2559
|
-
const { action, iconRender = slots.iconRender || defaultIconRender } = props;
|
|
2560
|
-
const iconTrigger = ActionMap[action] || "";
|
|
2561
|
-
const icon = iconRender(visible.value);
|
|
2562
|
-
const iconProps = {
|
|
2563
|
-
[iconTrigger]: onVisibleChange,
|
|
2564
|
-
class: `${prefixCls}-icon`,
|
|
2565
|
-
key: "passwordIcon",
|
|
2566
|
-
onMousedown: (e) => {
|
|
2567
|
-
e.preventDefault();
|
|
2568
|
-
},
|
|
2569
|
-
onMouseup: (e) => {
|
|
2570
|
-
e.preventDefault();
|
|
2571
|
-
}
|
|
2572
|
-
};
|
|
2573
|
-
return cloneElement(isValidElement(icon) ? icon : createVNode("span", null, [icon]), iconProps);
|
|
2574
|
-
};
|
|
2575
|
-
const { prefixCls, getPrefixCls } = useConfigInject_default("input-password", props);
|
|
2576
|
-
const inputPrefixCls = computed(() => getPrefixCls("input", props.inputPrefixCls));
|
|
2577
|
-
const renderPassword = () => {
|
|
2578
|
-
const { size, visibilityToggle } = props, restProps = __rest(props, ["size", "visibilityToggle"]);
|
|
2579
|
-
const suffixIcon = visibilityToggle && getIcon(prefixCls.value);
|
|
2580
|
-
const inputClassName = classNames(prefixCls.value, attrs.class, { [`${prefixCls.value}-${size}`]: !!size });
|
|
2581
|
-
const omittedProps = _extends(_extends(_extends({}, omit(restProps, [
|
|
2582
|
-
"suffix",
|
|
2583
|
-
"iconRender",
|
|
2584
|
-
"action"
|
|
2585
|
-
])), attrs), {
|
|
2586
|
-
type: visible.value ? "text" : "password",
|
|
2587
|
-
class: inputClassName,
|
|
2588
|
-
prefixCls: inputPrefixCls.value,
|
|
2589
|
-
suffix: suffixIcon
|
|
2590
|
-
});
|
|
2591
|
-
if (size) omittedProps.size = size;
|
|
2592
|
-
return createVNode(Input_default, _objectSpread2({ "ref": inputRef }, omittedProps), slots);
|
|
2593
|
-
};
|
|
2594
|
-
return () => {
|
|
2595
|
-
return renderPassword();
|
|
2596
|
-
};
|
|
2597
|
-
}
|
|
2598
|
-
});
|
|
2599
|
-
//#endregion
|
|
2600
|
-
//#region node_modules/.pnpm/ant-design-vue@4.2.6_vue@3.5.41_typescript@5.9.3_/node_modules/ant-design-vue/es/input/index.js
|
|
2601
|
-
Input_default.Group = Group_default;
|
|
2602
|
-
Input_default.Search = Search_default;
|
|
2603
|
-
Input_default.TextArea = TextArea_default;
|
|
2604
|
-
Input_default.Password = Password_default;
|
|
2605
|
-
/* istanbul ignore next */
|
|
2606
|
-
Input_default.install = function(app) {
|
|
2607
|
-
app.component(Input_default.name, Input_default);
|
|
2608
|
-
app.component(Input_default.Group.name, Input_default.Group);
|
|
2609
|
-
app.component(Input_default.Search.name, Input_default.Search);
|
|
2610
|
-
app.component(Input_default.TextArea.name, Input_default.TextArea);
|
|
2611
|
-
app.component(Input_default.Password.name, Input_default.Password);
|
|
2612
|
-
return app;
|
|
2613
|
-
};
|
|
2614
|
-
var input_default = Input_default;
|
|
2615
|
-
|
|
2616
|
-
export { genInputSmallStyle as A, Group_default as G, Password_default as P, Search_default as S, TextArea_default as T, identity as a, arrayPush as b, isKey as c, isIndex as d, baseGet as e, flatRest as f, getPrototype as g, hasIn as h, input_default as i, assignValue as j, arrayMap as k, castPath as l, baseAssignValue as m, isPlainObject as n, overRest as o, initInputToken as p, genBasicInputStyle as q, genStatusStyle as r, setToString as s, toKey as t, genPlaceholderStyle as u, genInputGroupStyle as v, genDisabledStyle as w, genActiveStyle as x, genHoverStyle as y, isSymbol as z };
|
|
2617
|
-
//# sourceMappingURL=input-sf_BT6o6.mjs.map
|