@co0ontty/wand 4.102.0 → 4.103.0
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/dist/ai-team-live.js +1 -1
- package/dist/apns-client.d.ts +45 -0
- package/dist/apns-client.js +156 -0
- package/dist/apns-service.d.ts +29 -0
- package/dist/apns-service.js +156 -0
- package/dist/build-info.json +3 -3
- package/dist/conversation-service.d.ts +2 -0
- package/dist/conversation-service.js +23 -3
- package/dist/conversation-types.d.ts +2 -0
- package/dist/dingtalk-auth.d.ts +41 -0
- package/dist/dingtalk-auth.js +127 -0
- package/dist/dingtalk-dws.d.ts +45 -0
- package/dist/dingtalk-dws.js +240 -0
- package/dist/dingtalk-service.d.ts +100 -0
- package/dist/dingtalk-service.js +865 -0
- package/dist/dingtalk-stream.d.ts +24 -0
- package/dist/dingtalk-stream.js +115 -0
- package/dist/dingtalk-types.d.ts +138 -0
- package/dist/dingtalk-types.js +1 -0
- package/dist/employee-knowledge.js +8 -0
- package/dist/live-activity-service.d.ts +26 -0
- package/dist/live-activity-service.js +158 -0
- package/dist/live-activity-state.d.ts +37 -0
- package/dist/live-activity-state.js +108 -0
- package/dist/middleware/api-scope.js +2 -0
- package/dist/pi-cli-checkpoint.d.ts +17 -0
- package/dist/pi-cli-checkpoint.js +10 -0
- package/dist/pi-event-projection.js +13 -0
- package/dist/pi-execution.js +2 -1
- package/dist/pi-protocol-reader.d.ts +6 -2
- package/dist/pi-protocol-reader.js +36 -12
- package/dist/pi-tmux-host.d.ts +1 -1
- package/dist/pi-tmux-host.js +28 -8
- package/dist/pi-tool-result-preview.d.ts +23 -0
- package/dist/pi-tool-result-preview.js +185 -0
- package/dist/render-daemon-client.js +1 -1
- package/dist/render-host.d.ts +3 -3
- package/dist/render-host.js +3 -3
- package/dist/server-apns-routes.d.ts +12 -0
- package/dist/server-apns-routes.js +111 -0
- package/dist/server-dingtalk-routes.d.ts +8 -0
- package/dist/server-dingtalk-routes.js +35 -0
- package/dist/server.js +49 -3
- package/dist/session-completion.d.ts +2 -1
- package/dist/session-completion.js +6 -2
- package/dist/session-registry.d.ts +3 -1
- package/dist/session-registry.js +3 -1
- package/dist/storage/apns-repository.d.ts +52 -0
- package/dist/storage/apns-repository.js +108 -0
- package/dist/storage/conversations-repository.d.ts +2 -0
- package/dist/storage/conversations-repository.js +10 -0
- package/dist/storage/dingtalk-repository.d.ts +20 -0
- package/dist/storage/dingtalk-repository.js +75 -0
- package/dist/storage/live-activity-repository.d.ts +68 -0
- package/dist/storage/live-activity-repository.js +117 -0
- package/dist/storage/migrations.js +22 -0
- package/dist/storage/sessions-repository.d.ts +5 -0
- package/dist/storage/sessions-repository.js +43 -1
- package/dist/storage-schema.js +2 -0
- package/dist/storage.d.ts +7 -1
- package/dist/storage.js +10 -0
- package/dist/structured-exec-host.d.ts +9 -1
- package/dist/structured-exec-pump.d.ts +11 -0
- package/dist/structured-exec-pump.js +27 -8
- package/dist/structured-pi-adapter.js +5 -0
- package/dist/structured-runner.d.ts +2 -0
- package/dist/structured-session-manager.d.ts +2 -0
- package/dist/structured-session-manager.js +51 -4
- package/dist/types.d.ts +7 -0
- package/dist/web-ui/content/module-manifest.json +1 -1
- package/dist/web-ui/content/modules/{4f30a913cc5b3f89 → 02fad74223254019}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{acb21c7e7fd6cb67 → 033e0a741edd2ba1}/page.js +1 -1
- package/dist/web-ui/content/modules/{e61136c22675ec7d → 0c04f94bbfd39a2f}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{119874145414688d → 12e91deb96ace24d}/shell-file-panel-drawer.js +1 -1
- package/dist/web-ui/content/modules/15279373f0e1461f/host.js +1 -0
- package/dist/web-ui/content/modules/{78a46adbf9807f89 → 17603a34d545c784}/chunk.js +1 -1
- package/dist/web-ui/content/modules/1f041aa8d3673d93/chunk.js +1 -0
- package/dist/web-ui/content/modules/{96dd661559b67ebf → 20483d6e57cfe9d7}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{f55031a02775c89e → 217595f72a1c3fc5}/chunk.js +1 -1
- package/dist/web-ui/content/modules/2230c51655163cf3/runtime.js +279 -0
- package/dist/web-ui/content/modules/{82e40fdf0abfb8cd → 2460e872ab3a1f37}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{9e754b01fa4207fb → 2a47853ca7752c1f}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{e95b60ab18a79499 → 2afbc201474adacc}/login-visual.js +1 -1
- package/dist/web-ui/content/modules/{38917c19e2cf1702 → 30169d15cea782f0}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{5513bcbacdf44588 → 37abb74d1a0a0791}/notice-view.js +1 -1
- package/dist/web-ui/content/modules/{b62294e53dcb3147 → 38bb024e09cb5d5d}/host.js +1 -1
- package/dist/web-ui/content/modules/39faef0cffbad28e/home.js +6 -0
- package/dist/web-ui/content/modules/3a2fa12c8b537964/chunk.js +1 -0
- package/dist/web-ui/content/modules/{35a8fd2cfd31d7a0 → 3a72b79418f0f80a}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{321bd9c755bc30fc → 3bd3c84c4257ba0d}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{2981483671797b92 → 3d10e3f6f6f92b55}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{6f341fe3e8aee844 → 3d4451bc069c1498}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{4a9a3e1f87b2c32b → 3d5c498522b48225}/dialog-modal.js +1 -1
- package/dist/web-ui/content/modules/426b8133daebff78/host.js +1 -0
- package/dist/web-ui/content/modules/455436229dc57d7f/sidebar-peek.js +1 -0
- package/dist/web-ui/content/modules/46de3c2e2ca680c1/host.js +1 -0
- package/dist/web-ui/content/modules/47af6b35e1d01ea7/host.js +30 -0
- package/dist/web-ui/content/modules/4841e45cb7c5cc67/queue-view-adapter.js +3 -0
- package/dist/web-ui/content/modules/{47419445e0aaa3cc → 497789a07177ed7b}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{32c461164a1b364c → 5472191457a926d3}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{c152782274c04fad → 55a47b6e2c2016f2}/chunk.js +1 -1
- package/dist/web-ui/content/modules/5743d8116d15696b/employee-card.js +1 -0
- package/dist/web-ui/content/modules/{c81a3d95b14cdcd4 → 578703196f82222d}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{8ce71665ae55ccf1 → 57d68f0a47e8fd7c}/toast-region.js +1 -1
- package/dist/web-ui/content/modules/58866143a3365521/chunk.js +1 -0
- package/dist/web-ui/content/modules/{3601736ae2d678ef → 5bb5db89a343817f}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{a098c7b1aa4e2f6b → 5c9e8245d4a8a312}/sha256.js +1 -1
- package/dist/web-ui/content/modules/{8198bfd269c0caca → 5de35db482fb1a42}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{aab92f2990a7185f → 5e7104e569359449}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{4b9deeeb77570db3 → 601a2767ae24d1cb}/chunk.js +1 -1
- package/dist/web-ui/content/modules/6687ad7aa57f443b/task-board-host.js +22 -0
- package/dist/web-ui/content/modules/{c422f47fd13dc4bc → 684db83476dcba20}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{cf715621edb1d12e → 6b0bafa239dfe4e2}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{cd22aa55f6cc5276 → 6bd6ee3c9f05e2f5}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{09ef1bb1d195d727 → 79b0c18f2bf35740}/host.js +1 -1
- package/dist/web-ui/content/modules/{905f8bc3f8a3efb8 → 7ae83a3f06f2daa3}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{84b79a33c64e146c → 7f32261c1627c3cd}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{eece3c2d2374e8f7 → 805b859b1b76ce4d}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{eecaebc5482ee203 → 84358b5b729cbe48}/chunk.js +1 -1
- package/dist/web-ui/content/modules/85181d84d5ce62b3/employee-profile.js +1 -0
- package/dist/web-ui/content/modules/87edd7cc79811bb8/composer-surface-adapter.js +1 -0
- package/dist/web-ui/content/modules/{b0254a2d3652a925 → 8ea498cf092dba30}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{a4af270960a39ea6 → 8f0d4e22c18a58b0}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{c72c4f1d47c3726d → 907dcf0ea5b5f23f}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{9f33acc1c4284e03 → 916021ce252882ca}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{98c14fc0474455a5 → 91ee32135a3582b0}/chunk.js +1 -1
- package/dist/web-ui/content/modules/92df279c40bc4218/host.js +1 -0
- package/dist/web-ui/content/modules/{544dc812abdfbbb8 → 9661b076f08e64b4}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{5c94fb2b7abcd1a5 → 97ef63ff1f0784d9}/chunk.js +1 -1
- package/dist/web-ui/content/modules/99e48e07517d3f83/dropdown-surface.js +1 -0
- package/dist/web-ui/content/modules/9eb83751622e2b97/chunk.js +10 -0
- package/dist/web-ui/content/modules/{7375574a2ea42740 → a1715be0f97c2479}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{456634525d44777d → a2be1fd01cf06837}/chunk.js +1 -1
- package/dist/web-ui/content/modules/a33666b143331cd6/workspace-window.js +1 -0
- package/dist/web-ui/content/modules/{b38924f45bfa71d6 → a41351130003e6bb}/chunk.js +1 -1
- package/dist/web-ui/content/modules/a59c83b5b5b85da2/host.js +1 -0
- package/dist/web-ui/content/modules/{a4dca2ffaf656d3c → a63f0b3d73d97e0b}/chunk.js +1 -1
- package/dist/web-ui/content/modules/a685793c5d9b90d1/chunk.js +1 -0
- package/dist/web-ui/content/modules/a750f4868304b089/host.js +1 -0
- package/dist/web-ui/content/modules/abfe4b88dcd89d88/host.js +1 -0
- package/dist/web-ui/content/modules/{15bcc550ef9fd5b7 → acda148b7423bdab}/host.js +1 -1
- package/dist/web-ui/content/modules/{ad1136919a65fc6e → af6ff78aeb782cf2}/host.js +1 -1
- package/dist/web-ui/content/modules/b32c9addcd31f54b/panel-host.js +1 -0
- package/dist/web-ui/content/modules/{b937f1a939618be9 → b358eaf2e45849a6}/host.js +1 -1
- package/dist/web-ui/content/modules/{476ff7911bce1a38 → b7aeeb22bf604ec7}/chunk.js +1 -1
- package/dist/web-ui/content/modules/bad2c42c7ddeab94/host.js +1 -0
- package/dist/web-ui/content/modules/{622a8d12c4c622bf → bb59e8cb4323bf06}/host.js +1 -1
- package/dist/web-ui/content/modules/{08c7b047195f138d → be497f1d39753979}/chunk.js +1 -1
- package/dist/web-ui/content/modules/bfa8e2c827201374/chunk.js +1 -0
- package/dist/web-ui/content/modules/{5395fa57a47e9b96 → bfe51130a84795fb}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{8e29056fb56439f7 → c03e0f84f798d33a}/chunk.js +1 -1
- package/dist/web-ui/content/modules/c118e0c96bc023ee/host-bridge.js +1 -0
- package/dist/web-ui/content/modules/c3512b18c4c0e4ac/brand-identity.js +1 -0
- package/dist/web-ui/content/modules/c3e0de0a61f0db34/chunk.js +1 -0
- package/dist/web-ui/content/modules/{9d48d1ea3c9228bd → c3e1f083e07d6840}/library-bridge.js +1 -1
- package/dist/web-ui/content/modules/cd5e90a37ccdf2dc/group-editor.js +1 -0
- package/dist/web-ui/content/modules/{2edc19639ac1bd4b → cdb8281bb89da303}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{f6f86d43c12b0864 → ce90d0b55bbe6430}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{72b13a7486b6d437 → d274491ffc8ee646}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{b1d43ed06a5d1a57 → d3cc94cf4a47a12a}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{b0c4eed46c1b6ad4 → d4b07cef43d36e79}/chat-render.js +5 -4
- package/dist/web-ui/content/modules/{8a4f0ef2c0812af6 → d7b540917fb90755}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{ef7f76b551fdc619 → d856bfc56bea5f20}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{42c439d3acfe22bd → d857ea8244b1026e}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{36ce8123a2079807 → d9019922118b2c37}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{58836e616e6d12ff → d90e77f9f8d4f1ec}/workspaces-panel.js +1 -1
- package/dist/web-ui/content/modules/{4d4870f20eb1c52d → da1aa5fa0186fea7}/chunk.js +1 -1
- package/dist/web-ui/content/modules/de977ff0b3ad3882/progress.js +1 -0
- package/dist/web-ui/content/modules/{222f48948517167e → e01769df89873feb}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{5df1b522f5d3c99d → e0ab9fa5a8882433}/host.js +1 -1
- package/dist/web-ui/content/modules/e25dea52e13504b6/markdown.js +1 -0
- package/dist/web-ui/content/modules/{36bd608366c56b72 → e43af4aa407885fd}/chunk.js +1 -1
- package/dist/web-ui/content/modules/ee893f06cdb2b4f7/panel.js +1 -0
- package/dist/web-ui/content/modules/{f90f80d7207dff1f → f2bdbdc4a1141826}/host.js +1 -1
- package/dist/web-ui/content/modules/{e33f6d66a02ec26c → f36b4d3d44491852}/chunk.js +1 -1
- package/dist/web-ui/content/modules/{665e81fe210f1b7a → fa79ed5d045c24dd}/chunk.js +1 -1
- package/dist/web-ui/content/styles.css +1 -1
- package/dist/web-ui/embedded-assets.d.ts +412 -406
- package/dist/web-ui/embedded-assets.js +4 -4
- package/package.json +1 -1
- package/scripts/install-render-binary.js +1 -1
- package/dist/web-ui/content/modules/1a7303b87763fd43/employee-profile.js +0 -1
- package/dist/web-ui/content/modules/1d35739f634745f6/task-board-host.js +0 -22
- package/dist/web-ui/content/modules/2099d37d57856cbd/brand-identity.js +0 -1
- package/dist/web-ui/content/modules/2d6339b2f6c2e2d0/host.js +0 -1
- package/dist/web-ui/content/modules/2f88fc37c6105f7e/sidebar-peek.js +0 -1
- package/dist/web-ui/content/modules/31124fb7ee6939df/host.js +0 -1
- package/dist/web-ui/content/modules/31b28c5d0019c363/host-bridge.js +0 -1
- package/dist/web-ui/content/modules/36e5c3a6d6705358/employee-card.js +0 -1
- package/dist/web-ui/content/modules/3700d99c54d3c400/host.js +0 -1
- package/dist/web-ui/content/modules/3ae29086b227f9d9/markdown.js +0 -1
- package/dist/web-ui/content/modules/42db858e4417c702/chunk.js +0 -10
- package/dist/web-ui/content/modules/443dc81eac29f233/host.js +0 -1
- package/dist/web-ui/content/modules/4af10e1f8a789204/runtime.js +0 -275
- package/dist/web-ui/content/modules/55b75ebcf6924001/host.js +0 -30
- package/dist/web-ui/content/modules/626c7ce0aa1714b0/host.js +0 -1
- package/dist/web-ui/content/modules/76adde4019731df1/chunk.js +0 -1
- package/dist/web-ui/content/modules/7925b65867b7aa4a/queue-view-adapter.js +0 -3
- package/dist/web-ui/content/modules/8a6844a4251a1271/chunk.js +0 -1
- package/dist/web-ui/content/modules/8bd214570df4a7a0/host.js +0 -1
- package/dist/web-ui/content/modules/8bff85e108320aab/panel.js +0 -1
- package/dist/web-ui/content/modules/988e01b67e6f1883/composer-surface-adapter.js +0 -1
- package/dist/web-ui/content/modules/a975ff38c3d43ba8/workspace-window.js +0 -1
- package/dist/web-ui/content/modules/b550260fc9c5363a/dropdown-surface.js +0 -1
- package/dist/web-ui/content/modules/bce467c603299460/chunk.js +0 -1
- package/dist/web-ui/content/modules/c138b442c1682189/panel-host.js +0 -1
- package/dist/web-ui/content/modules/c32d14632487364f/group-editor.js +0 -1
- package/dist/web-ui/content/modules/c6d0a1b2753a4883/host.js +0 -1
- package/dist/web-ui/content/modules/cdff6e7f72879c88/progress.js +0 -1
- package/dist/web-ui/content/modules/cfee7b0d79587d59/home.js +0 -6
- package/dist/web-ui/content/modules/e5e93fe5304838a1/chunk.js +0 -1
- package/dist/web-ui/content/modules/fbe35e7ddd7384fa/host.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{shared13_g as o}from"/assets/modules/
|
|
1
|
+
import{shared13_g as o}from"/assets/modules/2230c51655163cf3/runtime.js";import{shared11_a as c}from"/assets/modules/2230c51655163cf3/runtime.js";import{shared5_c as r}from"/assets/modules/2230c51655163cf3/runtime.js";var i=r(c());var x={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},h=x;function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},d.apply(this,arguments)}var I=(e,t)=>i.createElement(o,d({},e,{ref:t,icon:h})),z=i.forwardRef(I),q=z;var s=r(c());var j={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},O=j;function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},p.apply(this,arguments)}var E=(e,t)=>s.createElement(o,p({},e,{ref:t,icon:O})),N=s.forwardRef(E),K=N;var f=r(c());var V={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},R=V;function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u.apply(this,arguments)}var y=(e,t)=>f.createElement(o,u({},e,{ref:t,icon:R})),L=f.forwardRef(y),X=L;var l=r(c());var M={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},b=M;function v(){return v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},v.apply(this,arguments)}var _=(e,t)=>l.createElement(o,v({},e,{ref:t,icon:b})),H=l.forwardRef(_),e1=H;var m=r(c());var S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},w=S;function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},g.apply(this,arguments)}var Z=(e,t)=>m.createElement(o,g({},e,{ref:t,icon:w})),A=m.forwardRef(Z),c1=A;export{q as a,K as b,X as c,e1 as d,c1 as e};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as m}from"/assets/modules/601a2767ae24d1cb/chunk.js";import{shared25_a as T}from"/assets/modules/2230c51655163cf3/runtime.js";import{shared13_zb as i}from"/assets/modules/2230c51655163cf3/runtime.js";import{shared11_a as s}from"/assets/modules/2230c51655163cf3/runtime.js";import{shared5_c as r}from"/assets/modules/2230c51655163cf3/runtime.js";var a=r(s(),1);var t=r(i(),1),A=a.forwardRef(function(l,e){let c=a.useCallback(u=>{let n=u?.resizableTextArea?.textArea??null;typeof e=="function"?e(n):e&&(e.current=n)},[e]);return(0,t.jsx)(T.TextArea,{...l,ref:c})});function R(o){return(0,t.jsx)(m,{component:!1,layout:"vertical",children:(0,t.jsx)("form",{...o,noValidate:!0})})}export{A as a,R as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as xo}from"/assets/modules/ef7f76b551fdc619/chunk.js";import{shared119_a as yo,shared119_b as vo}from"/assets/modules/4af10e1f8a789204/runtime.js";import{shared36_l as U}from"/assets/modules/4af10e1f8a789204/runtime.js";import{shared29_b as ko,shared29_c as Eo}from"/assets/modules/4af10e1f8a789204/runtime.js";import{shared30_a as Ro}from"/assets/modules/4af10e1f8a789204/runtime.js";import{shared31_a as $o}from"/assets/modules/4af10e1f8a789204/runtime.js";import{shared13_I as po,shared13_Ia as fo,shared13_L as bo,shared13_Z as mo,shared13_a as D,shared13_ab as ho,shared13_ea as to,shared13_ga as go,shared13_la as X,shared13_m as so,shared13_ma as Co,shared13_p as co,shared13_pa as P,shared13_s as uo,shared13_ua as j,shared13_ub as So,shared13_xa as ao,shared13_yb as J}from"/assets/modules/4af10e1f8a789204/runtime.js";import{shared11_a as _}from"/assets/modules/4af10e1f8a789204/runtime.js";import{shared5_c as F}from"/assets/modules/4af10e1f8a789204/runtime.js";var C=F(_());var io=F(_()),wo=io.createContext(void 0),Bo=wo.Provider,Io=wo,no=io.createContext(void 0),Po=no.Provider;var R=F(_());var Do=e=>{let{componentCls:o,antCls:t,lineWidth:r,borderRadius:i,borderRadiusLG:c,borderRadiusSM:f,calc:S}=e,m=`${o}-group`,l=`${o}-button-wrapper`,s=`${t}-badge`,b=g=>({[`> ${s}`]:{width:"auto"},[`> ${s} > ${l}`]:{width:"100%"},[`> ${s}:not(:last-child)`]:{marginBlockEnd:S(r).mul(-1).equal()},[`> ${s} > ${l}:not(:last-child)`]:{marginBlockEnd:0},[`> ${s}:first-child > ${l}`]:{borderStartStartRadius:g,borderStartEndRadius:g,borderEndStartRadius:0,borderEndEndRadius:0},[`> ${s}:last-child > ${l}`]:{borderStartStartRadius:0,borderStartEndRadius:0,borderEndStartRadius:g,borderEndEndRadius:g},[`> ${s}:not(:first-child):not(:last-child) > ${l}`]:{borderRadius:0},[`> ${s}:first-child:last-child > ${l}`]:{borderRadius:g}});return{[m]:{...j(e),display:"inline-block",fontSize:0,[`&${m}-rtl`]:{direction:"rtl"},[`&${m}-block`]:{display:"flex"},[`${t}-badge ${t}-badge-count`]:{zIndex:1},[`> ${t}-badge:not(:first-child) > ${t}-button-wrapper`]:{borderInlineStart:"none"},"&-vertical":{display:"flex",flexDirection:"column",rowGap:e.marginXS,[`&:has(> ${l}, > ${s} > ${l})`]:{rowGap:0},[`${o}-wrapper`]:{marginInlineEnd:0},...b(i),[`&${m}-large`]:{...b(c)},[`&${m}-small`]:{...b(f)}}}}},Go=e=>{let{componentCls:o,wrapperMarginInlineEnd:t,colorPrimary:r,colorPrimaryHover:i,radioSize:c,motionDurationSlow:f,motionDurationMid:S,motionEaseInOutCirc:m,colorBgContainer:l,colorBorder:s,lineWidth:b,colorBgContainerDisabled:g,colorTextDisabled:E,paddingXS:y,dotColorDisabled:u,dotSize:d,lineType:p,radioColor:N,radioBgColor:v}=e;return{[`${o}-wrapper`]:{...j(e),display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:t,cursor:"pointer","&:last-child":{marginInlineEnd:0},[`&${o}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},"&-block":{flex:1,justifyContent:"center"},[o]:{...j(e),position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",alignSelf:"center",boxSizing:"border-box",display:"block",width:`calc(${c} * 1px)`,height:`calc(${c} * 1px)`,backgroundColor:l,border:`${P(b)} ${p} ${s}`,borderRadius:"50%",transition:`all ${S}`,flex:"none","&:after":{content:'""',position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%) scale(0)",width:`calc(${d} * 1px)`,height:`calc(${d} * 1px)`,backgroundColor:N,borderRadius:"50%",transformOrigin:"50% 50%",opacity:0,transition:`all ${f} ${m}`},[`${o}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0},[`&:has(${o}-input:focus-visible)`]:ao(e)},[`&:hover:not(${o}-wrapper-disabled) ${o}`]:{borderColor:r},[`&:hover ${o}-checked:not(${o}-disabled)`]:{backgroundColor:i,borderColor:"transparent"},[`${o}-checked`]:{backgroundColor:v,borderColor:r,"&::after":{transform:"translate(-50%, -50%)",opacity:1}},[`${o}-disabled`]:{[`&, ${o}-input`]:{cursor:"not-allowed",pointerEvents:"none"},background:g,borderColor:s,"&::after":{backgroundColor:u}},[`${o}-disabled + span`]:{color:E,cursor:"not-allowed"},[`span${o} + *`]:{paddingInlineStart:y,paddingInlineEnd:y}}}},Mo=e=>{let{buttonColor:o,controlHeight:t,componentCls:r,lineWidth:i,lineType:c,colorBorder:f,motionDurationMid:S,buttonPaddingInline:m,fontSize:l,buttonBg:s,fontSizeLG:b,controlHeightLG:g,controlHeightSM:E,paddingXS:y,borderRadius:u,borderRadiusSM:d,borderRadiusLG:p,buttonCheckedBg:N,buttonSolidCheckedColor:v,colorTextDisabled:w,colorBgContainerDisabled:z,buttonCheckedBgDisabled:W,buttonCheckedColorDisabled:q,colorPrimary:$,colorPrimaryHover:B,colorPrimaryActive:h,buttonSolidCheckedBg:T,buttonSolidCheckedHoverBg:O,buttonSolidCheckedActiveBg:x,calc:a}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:t,margin:0,paddingInline:m,paddingBlock:0,color:o,fontSize:l,lineHeight:P(a(t).sub(a(i).mul(2)).equal()),background:s,border:`${P(i)} ${c} ${f}`,borderBlockStartWidth:a(i).add(.02).equal(),borderInlineEndWidth:i,cursor:"pointer",transition:["color","background-color","box-shadow"].map(V=>`${V} ${S}`).join(","),a:{color:o},[`> ${r}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:last-child)":{marginInlineEnd:a(i).mul(-1).equal()},"&:first-child":{borderInlineStart:`${P(i)} ${c} ${f}`,borderStartStartRadius:u,borderEndStartRadius:u},"&:last-child":{borderStartEndRadius:u,borderEndEndRadius:u},"&:first-child:last-child":{borderRadius:u},[`${r}-group-large &`]:{height:g,fontSize:b,lineHeight:P(a(g).sub(a(i).mul(2)).equal()),"&:first-child":{borderStartStartRadius:p,borderEndStartRadius:p},"&:last-child":{borderStartEndRadius:p,borderEndEndRadius:p}},[`${r}-group-small &`]:{height:E,paddingInline:a(y).sub(i).equal(),paddingBlock:0,lineHeight:P(a(E).sub(a(i).mul(2)).equal()),"&:first-child":{borderStartStartRadius:d,borderEndStartRadius:d},"&:last-child":{borderStartEndRadius:d,borderEndEndRadius:d}},[`${r}-group-vertical > &`]:{marginInlineEnd:0,borderRadius:0,"&:not(:last-child)":{marginBlockEnd:a(i).mul(-1).equal()},"&:first-child":{borderStartStartRadius:u,borderStartEndRadius:u,borderEndStartRadius:0,borderEndEndRadius:0},"&:last-child":{borderStartStartRadius:0,borderStartEndRadius:0,borderEndStartRadius:u,borderEndEndRadius:u},"&:first-child:last-child":{borderRadius:u}},[`${r}-group-vertical${r}-group-large > &`]:{"&:first-child":{borderStartStartRadius:p,borderStartEndRadius:p},"&:last-child":{borderEndStartRadius:p,borderEndEndRadius:p},"&:first-child:last-child":{borderRadius:p}},[`${r}-group-vertical${r}-group-small > &`]:{"&:first-child":{borderStartStartRadius:d,borderStartEndRadius:d},"&:last-child":{borderEndStartRadius:d,borderEndEndRadius:d},"&:first-child:last-child":{borderRadius:d}},"&:hover":{position:"relative",color:$},"&:has(:focus-visible)":ao(e),[`${r}, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${r}-button-wrapper-disabled)`]:{zIndex:1,color:$,background:N,borderColor:$,"&::before":{backgroundColor:$},"&:first-child":{borderColor:$},"&:hover":{color:B,borderColor:B,"&::before":{backgroundColor:B}},"&:active":{color:h,borderColor:h,"&::before":{backgroundColor:h}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:v,background:T,borderColor:T,"&:hover":{color:v,background:O,borderColor:O},"&:active":{color:v,background:x,borderColor:x}},"&-disabled":{color:w,backgroundColor:z,borderColor:f,cursor:"not-allowed","&:first-child, &:hover":{color:w,backgroundColor:z,borderColor:f}},[`&-disabled${r}-button-wrapper-checked`]:{color:q,backgroundColor:W,borderColor:f,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}},Oo=e=>{let{wireframe:o,padding:t,marginXS:r,lineWidth:i,fontSizeLG:c,colorText:f,colorBgContainer:S,colorTextDisabled:m,controlItemBgActiveDisabled:l,colorTextLightSolid:s,colorPrimary:b,colorPrimaryHover:g,colorPrimaryActive:E,colorWhite:y}=e,u=4,d=c,p=o?d-u*2:d-(u+i)*2;return{radioSize:d,dotSize:p,dotColorDisabled:m,buttonSolidCheckedColor:s,buttonSolidCheckedBg:b,buttonSolidCheckedHoverBg:g,buttonSolidCheckedActiveBg:E,buttonBg:S,buttonCheckedBg:S,buttonColor:f,buttonCheckedBgDisabled:l,buttonCheckedColorDisabled:m,buttonPaddingInline:t-i,wrapperMarginInlineEnd:r,radioColor:o?b:y,radioBgColor:o?S:b}},K=ho("Radio",e=>{let{controlOutline:o,controlOutlineWidth:t}=e,r=`0 0 0 ${P(t)} ${o}`,c=fo(e,{radioFocusShadow:r,radioButtonFocusShadow:r});return[Do(c),Go(c),Mo(c)]},Oo,{unitless:{radioSize:!0,dotSize:!0}});var Vo=(e,o)=>{let t=R.useContext(Io),r=R.useContext(no),{getPrefixCls:i,direction:c,className:f,style:S,classNames:m,styles:l}=Co("radio"),s=R.useRef(null),b=uo(o,s),{isFormItemInput:g}=R.useContext(U),E=n=>{e.onChange?.(n),t?.onChange?.(n)},{prefixCls:y,className:u,rootClassName:d,children:p,style:N,title:v,classNames:w,styles:z,checked:W,...q}=e,$=i("radio",y),B=(t?.optionType||r)==="button",h=B?`${$}-button`:$,T=J($),[O,x]=K($,T),a={...q},V=R.useContext(So),I="checked"in e,k=W;t&&(a.name=t.name,a.onChange=E,k=e.value===t.value,a.disabled=a.disabled??t.disabled),(I||t)&&(a.checked=k),a.disabled=a.disabled??V;let A={...e,...a,checked:k},Y=to(S),Z=to(N),[H,L]=go([m,w],[l,Y,z,Z],{props:A}),oo=D(`${h}-wrapper`,{[`${h}-wrapper-checked`]:k,[`${h}-wrapper-disabled`]:a.disabled,[`${h}-wrapper-rtl`]:c==="rtl",[`${h}-wrapper-in-form-item`]:g,[`${h}-wrapper-block`]:!!t?.block},f,u,d,H.root,O,x,T),[eo,ro]=vo(a.onClick);return R.createElement(Eo,{component:"Radio",disabled:a.disabled},R.createElement("label",{className:oo,style:L.root,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:v,onClick:eo},R.createElement(yo,{...a,className:D(H.icon,{[ko]:!B}),style:L.icon,type:"radio",prefixCls:h,ref:b,onClick:ro}),po(p)?R.createElement("span",{className:D(`${h}-label`,H.label),style:L.label},p):null))},Ho=R.forwardRef(Vo),G=Ho;var Lo=C.forwardRef((e,o)=>{let{getPrefixCls:t,direction:r}=C.useContext(X),{name:i}=C.useContext(U),c=co(xo(i)),{prefixCls:f,className:S,rootClassName:m,options:l,buttonStyle:s="outline",disabled:b,children:g,size:E,style:y,id:u,optionType:d,name:p=c,defaultValue:N,value:v,block:w=!1,onChange:z,onMouseEnter:W,onMouseLeave:q,onFocus:$,onBlur:B,orientation:h,vertical:T,role:O="radiogroup"}=e,[x,a]=so(N,v),V=C.useCallback(n=>{let To=x,lo=n.target.value;a(lo),lo!==To&&z?.(n)},[x,a,z]),I=t("radio",f),k=`${I}-group`,A=J(I),[Y,Z]=K(I,A),H=g;l&&l.length>0&&(H=l.map(n=>typeof n=="string"||mo(n)?C.createElement(G,{key:n.toString(),prefixCls:I,disabled:b,value:n,checked:x===n},n):C.createElement(G,{key:`radio-group-value-options-${n.value}`,prefixCls:I,disabled:n.disabled||b,value:n.value,checked:x===n.value,title:n.title,style:n.style,className:n.className,id:n.id,required:n.required,onChange:n.onChange},n.label)));let L=$o(E),[,oo]=Ro(h,T),eo=D(k,`${k}-${s}`,{[`${k}-large`]:L==="large",[`${k}-small`]:L==="small",[`${k}-rtl`]:r==="rtl",[`${k}-block`]:w},S,m,Y,Z,A),ro=C.useMemo(()=>({onChange:V,value:x,disabled:b,name:p,optionType:d,block:w}),[V,x,b,p,d,w]);return C.createElement("div",{...bo(e,{aria:!0,data:!0}),role:O,className:D(eo,{[`${I}-group-vertical`]:oo}),style:y,onMouseEnter:W,onMouseLeave:q,onFocus:$,onBlur:B,id:u,ref:o},C.createElement(Bo,{value:ro},H))}),No=C.memo(Lo);var M=F(_());var Wo=(e,o)=>{let{getPrefixCls:t}=M.useContext(X),{prefixCls:r,...i}=e,c=t("radio",r);return M.createElement(Po,{value:"button"},M.createElement(G,{prefixCls:c,...i,type:"radio",ref:o}))},zo=M.forwardRef(Wo);var Q=G;Q.Button=zo;Q.Group=No;Q.__ANT_RADIO=!0;var we=Q;export{No as a,zo as b,we as c};
|
|
1
|
+
import{d as xo}from"/assets/modules/d856bfc56bea5f20/chunk.js";import{shared119_a as yo,shared119_b as vo}from"/assets/modules/2230c51655163cf3/runtime.js";import{shared36_l as U}from"/assets/modules/2230c51655163cf3/runtime.js";import{shared29_b as ko,shared29_c as Eo}from"/assets/modules/2230c51655163cf3/runtime.js";import{shared30_a as Ro}from"/assets/modules/2230c51655163cf3/runtime.js";import{shared31_a as $o}from"/assets/modules/2230c51655163cf3/runtime.js";import{shared13_I as po,shared13_Ia as fo,shared13_L as bo,shared13_Z as mo,shared13_a as D,shared13_ab as ho,shared13_ea as to,shared13_ga as go,shared13_la as X,shared13_m as so,shared13_ma as Co,shared13_p as co,shared13_pa as P,shared13_s as uo,shared13_ua as j,shared13_ub as So,shared13_xa as ao,shared13_yb as J}from"/assets/modules/2230c51655163cf3/runtime.js";import{shared11_a as _}from"/assets/modules/2230c51655163cf3/runtime.js";import{shared5_c as F}from"/assets/modules/2230c51655163cf3/runtime.js";var C=F(_());var io=F(_()),wo=io.createContext(void 0),Bo=wo.Provider,Io=wo,no=io.createContext(void 0),Po=no.Provider;var R=F(_());var Do=e=>{let{componentCls:o,antCls:t,lineWidth:r,borderRadius:i,borderRadiusLG:c,borderRadiusSM:f,calc:S}=e,m=`${o}-group`,l=`${o}-button-wrapper`,s=`${t}-badge`,b=g=>({[`> ${s}`]:{width:"auto"},[`> ${s} > ${l}`]:{width:"100%"},[`> ${s}:not(:last-child)`]:{marginBlockEnd:S(r).mul(-1).equal()},[`> ${s} > ${l}:not(:last-child)`]:{marginBlockEnd:0},[`> ${s}:first-child > ${l}`]:{borderStartStartRadius:g,borderStartEndRadius:g,borderEndStartRadius:0,borderEndEndRadius:0},[`> ${s}:last-child > ${l}`]:{borderStartStartRadius:0,borderStartEndRadius:0,borderEndStartRadius:g,borderEndEndRadius:g},[`> ${s}:not(:first-child):not(:last-child) > ${l}`]:{borderRadius:0},[`> ${s}:first-child:last-child > ${l}`]:{borderRadius:g}});return{[m]:{...j(e),display:"inline-block",fontSize:0,[`&${m}-rtl`]:{direction:"rtl"},[`&${m}-block`]:{display:"flex"},[`${t}-badge ${t}-badge-count`]:{zIndex:1},[`> ${t}-badge:not(:first-child) > ${t}-button-wrapper`]:{borderInlineStart:"none"},"&-vertical":{display:"flex",flexDirection:"column",rowGap:e.marginXS,[`&:has(> ${l}, > ${s} > ${l})`]:{rowGap:0},[`${o}-wrapper`]:{marginInlineEnd:0},...b(i),[`&${m}-large`]:{...b(c)},[`&${m}-small`]:{...b(f)}}}}},Go=e=>{let{componentCls:o,wrapperMarginInlineEnd:t,colorPrimary:r,colorPrimaryHover:i,radioSize:c,motionDurationSlow:f,motionDurationMid:S,motionEaseInOutCirc:m,colorBgContainer:l,colorBorder:s,lineWidth:b,colorBgContainerDisabled:g,colorTextDisabled:E,paddingXS:y,dotColorDisabled:u,dotSize:d,lineType:p,radioColor:N,radioBgColor:v}=e;return{[`${o}-wrapper`]:{...j(e),display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:t,cursor:"pointer","&:last-child":{marginInlineEnd:0},[`&${o}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},"&-block":{flex:1,justifyContent:"center"},[o]:{...j(e),position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",alignSelf:"center",boxSizing:"border-box",display:"block",width:`calc(${c} * 1px)`,height:`calc(${c} * 1px)`,backgroundColor:l,border:`${P(b)} ${p} ${s}`,borderRadius:"50%",transition:`all ${S}`,flex:"none","&:after":{content:'""',position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%) scale(0)",width:`calc(${d} * 1px)`,height:`calc(${d} * 1px)`,backgroundColor:N,borderRadius:"50%",transformOrigin:"50% 50%",opacity:0,transition:`all ${f} ${m}`},[`${o}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0},[`&:has(${o}-input:focus-visible)`]:ao(e)},[`&:hover:not(${o}-wrapper-disabled) ${o}`]:{borderColor:r},[`&:hover ${o}-checked:not(${o}-disabled)`]:{backgroundColor:i,borderColor:"transparent"},[`${o}-checked`]:{backgroundColor:v,borderColor:r,"&::after":{transform:"translate(-50%, -50%)",opacity:1}},[`${o}-disabled`]:{[`&, ${o}-input`]:{cursor:"not-allowed",pointerEvents:"none"},background:g,borderColor:s,"&::after":{backgroundColor:u}},[`${o}-disabled + span`]:{color:E,cursor:"not-allowed"},[`span${o} + *`]:{paddingInlineStart:y,paddingInlineEnd:y}}}},Mo=e=>{let{buttonColor:o,controlHeight:t,componentCls:r,lineWidth:i,lineType:c,colorBorder:f,motionDurationMid:S,buttonPaddingInline:m,fontSize:l,buttonBg:s,fontSizeLG:b,controlHeightLG:g,controlHeightSM:E,paddingXS:y,borderRadius:u,borderRadiusSM:d,borderRadiusLG:p,buttonCheckedBg:N,buttonSolidCheckedColor:v,colorTextDisabled:w,colorBgContainerDisabled:z,buttonCheckedBgDisabled:W,buttonCheckedColorDisabled:q,colorPrimary:$,colorPrimaryHover:B,colorPrimaryActive:h,buttonSolidCheckedBg:T,buttonSolidCheckedHoverBg:O,buttonSolidCheckedActiveBg:x,calc:a}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:t,margin:0,paddingInline:m,paddingBlock:0,color:o,fontSize:l,lineHeight:P(a(t).sub(a(i).mul(2)).equal()),background:s,border:`${P(i)} ${c} ${f}`,borderBlockStartWidth:a(i).add(.02).equal(),borderInlineEndWidth:i,cursor:"pointer",transition:["color","background-color","box-shadow"].map(V=>`${V} ${S}`).join(","),a:{color:o},[`> ${r}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:last-child)":{marginInlineEnd:a(i).mul(-1).equal()},"&:first-child":{borderInlineStart:`${P(i)} ${c} ${f}`,borderStartStartRadius:u,borderEndStartRadius:u},"&:last-child":{borderStartEndRadius:u,borderEndEndRadius:u},"&:first-child:last-child":{borderRadius:u},[`${r}-group-large &`]:{height:g,fontSize:b,lineHeight:P(a(g).sub(a(i).mul(2)).equal()),"&:first-child":{borderStartStartRadius:p,borderEndStartRadius:p},"&:last-child":{borderStartEndRadius:p,borderEndEndRadius:p}},[`${r}-group-small &`]:{height:E,paddingInline:a(y).sub(i).equal(),paddingBlock:0,lineHeight:P(a(E).sub(a(i).mul(2)).equal()),"&:first-child":{borderStartStartRadius:d,borderEndStartRadius:d},"&:last-child":{borderStartEndRadius:d,borderEndEndRadius:d}},[`${r}-group-vertical > &`]:{marginInlineEnd:0,borderRadius:0,"&:not(:last-child)":{marginBlockEnd:a(i).mul(-1).equal()},"&:first-child":{borderStartStartRadius:u,borderStartEndRadius:u,borderEndStartRadius:0,borderEndEndRadius:0},"&:last-child":{borderStartStartRadius:0,borderStartEndRadius:0,borderEndStartRadius:u,borderEndEndRadius:u},"&:first-child:last-child":{borderRadius:u}},[`${r}-group-vertical${r}-group-large > &`]:{"&:first-child":{borderStartStartRadius:p,borderStartEndRadius:p},"&:last-child":{borderEndStartRadius:p,borderEndEndRadius:p},"&:first-child:last-child":{borderRadius:p}},[`${r}-group-vertical${r}-group-small > &`]:{"&:first-child":{borderStartStartRadius:d,borderStartEndRadius:d},"&:last-child":{borderEndStartRadius:d,borderEndEndRadius:d},"&:first-child:last-child":{borderRadius:d}},"&:hover":{position:"relative",color:$},"&:has(:focus-visible)":ao(e),[`${r}, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${r}-button-wrapper-disabled)`]:{zIndex:1,color:$,background:N,borderColor:$,"&::before":{backgroundColor:$},"&:first-child":{borderColor:$},"&:hover":{color:B,borderColor:B,"&::before":{backgroundColor:B}},"&:active":{color:h,borderColor:h,"&::before":{backgroundColor:h}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:v,background:T,borderColor:T,"&:hover":{color:v,background:O,borderColor:O},"&:active":{color:v,background:x,borderColor:x}},"&-disabled":{color:w,backgroundColor:z,borderColor:f,cursor:"not-allowed","&:first-child, &:hover":{color:w,backgroundColor:z,borderColor:f}},[`&-disabled${r}-button-wrapper-checked`]:{color:q,backgroundColor:W,borderColor:f,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}},Oo=e=>{let{wireframe:o,padding:t,marginXS:r,lineWidth:i,fontSizeLG:c,colorText:f,colorBgContainer:S,colorTextDisabled:m,controlItemBgActiveDisabled:l,colorTextLightSolid:s,colorPrimary:b,colorPrimaryHover:g,colorPrimaryActive:E,colorWhite:y}=e,u=4,d=c,p=o?d-u*2:d-(u+i)*2;return{radioSize:d,dotSize:p,dotColorDisabled:m,buttonSolidCheckedColor:s,buttonSolidCheckedBg:b,buttonSolidCheckedHoverBg:g,buttonSolidCheckedActiveBg:E,buttonBg:S,buttonCheckedBg:S,buttonColor:f,buttonCheckedBgDisabled:l,buttonCheckedColorDisabled:m,buttonPaddingInline:t-i,wrapperMarginInlineEnd:r,radioColor:o?b:y,radioBgColor:o?S:b}},K=ho("Radio",e=>{let{controlOutline:o,controlOutlineWidth:t}=e,r=`0 0 0 ${P(t)} ${o}`,c=fo(e,{radioFocusShadow:r,radioButtonFocusShadow:r});return[Do(c),Go(c),Mo(c)]},Oo,{unitless:{radioSize:!0,dotSize:!0}});var Vo=(e,o)=>{let t=R.useContext(Io),r=R.useContext(no),{getPrefixCls:i,direction:c,className:f,style:S,classNames:m,styles:l}=Co("radio"),s=R.useRef(null),b=uo(o,s),{isFormItemInput:g}=R.useContext(U),E=n=>{e.onChange?.(n),t?.onChange?.(n)},{prefixCls:y,className:u,rootClassName:d,children:p,style:N,title:v,classNames:w,styles:z,checked:W,...q}=e,$=i("radio",y),B=(t?.optionType||r)==="button",h=B?`${$}-button`:$,T=J($),[O,x]=K($,T),a={...q},V=R.useContext(So),I="checked"in e,k=W;t&&(a.name=t.name,a.onChange=E,k=e.value===t.value,a.disabled=a.disabled??t.disabled),(I||t)&&(a.checked=k),a.disabled=a.disabled??V;let A={...e,...a,checked:k},Y=to(S),Z=to(N),[H,L]=go([m,w],[l,Y,z,Z],{props:A}),oo=D(`${h}-wrapper`,{[`${h}-wrapper-checked`]:k,[`${h}-wrapper-disabled`]:a.disabled,[`${h}-wrapper-rtl`]:c==="rtl",[`${h}-wrapper-in-form-item`]:g,[`${h}-wrapper-block`]:!!t?.block},f,u,d,H.root,O,x,T),[eo,ro]=vo(a.onClick);return R.createElement(Eo,{component:"Radio",disabled:a.disabled},R.createElement("label",{className:oo,style:L.root,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:v,onClick:eo},R.createElement(yo,{...a,className:D(H.icon,{[ko]:!B}),style:L.icon,type:"radio",prefixCls:h,ref:b,onClick:ro}),po(p)?R.createElement("span",{className:D(`${h}-label`,H.label),style:L.label},p):null))},Ho=R.forwardRef(Vo),G=Ho;var Lo=C.forwardRef((e,o)=>{let{getPrefixCls:t,direction:r}=C.useContext(X),{name:i}=C.useContext(U),c=co(xo(i)),{prefixCls:f,className:S,rootClassName:m,options:l,buttonStyle:s="outline",disabled:b,children:g,size:E,style:y,id:u,optionType:d,name:p=c,defaultValue:N,value:v,block:w=!1,onChange:z,onMouseEnter:W,onMouseLeave:q,onFocus:$,onBlur:B,orientation:h,vertical:T,role:O="radiogroup"}=e,[x,a]=so(N,v),V=C.useCallback(n=>{let To=x,lo=n.target.value;a(lo),lo!==To&&z?.(n)},[x,a,z]),I=t("radio",f),k=`${I}-group`,A=J(I),[Y,Z]=K(I,A),H=g;l&&l.length>0&&(H=l.map(n=>typeof n=="string"||mo(n)?C.createElement(G,{key:n.toString(),prefixCls:I,disabled:b,value:n,checked:x===n},n):C.createElement(G,{key:`radio-group-value-options-${n.value}`,prefixCls:I,disabled:n.disabled||b,value:n.value,checked:x===n.value,title:n.title,style:n.style,className:n.className,id:n.id,required:n.required,onChange:n.onChange},n.label)));let L=$o(E),[,oo]=Ro(h,T),eo=D(k,`${k}-${s}`,{[`${k}-large`]:L==="large",[`${k}-small`]:L==="small",[`${k}-rtl`]:r==="rtl",[`${k}-block`]:w},S,m,Y,Z,A),ro=C.useMemo(()=>({onChange:V,value:x,disabled:b,name:p,optionType:d,block:w}),[V,x,b,p,d,w]);return C.createElement("div",{...bo(e,{aria:!0,data:!0}),role:O,className:D(eo,{[`${I}-group-vertical`]:oo}),style:y,onMouseEnter:W,onMouseLeave:q,onFocus:$,onBlur:B,id:u,ref:o},C.createElement(Bo,{value:ro},H))}),No=C.memo(Lo);var M=F(_());var Wo=(e,o)=>{let{getPrefixCls:t}=M.useContext(X),{prefixCls:r,...i}=e,c=t("radio",r);return M.createElement(Po,{value:"button"},M.createElement(G,{prefixCls:c,...i,type:"radio",ref:o}))},zo=M.forwardRef(Wo);var Q=G;Q.Button=zo;Q.Group=No;Q.__ANT_RADIO=!0;var we=Q;export{No as a,zo as b,we as c};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
|
|
2
2
|
const __wandCssTextPool = Object.freeze([".conversation-root{--conversation-inset:clamp(16px,3vw,48px);background:var(--bg-primary)}.conversation-root .conversation-heading{padding:20px var(--conversation-inset) 16px;border:0}.conversation-root .conversation-heading-copy{min-width:0}.conversation-root .conversation-heading-avatar-slot{width:48px;height:48px;flex:none;display:grid;place-items:center}.conversation-root .conversation-heading-title{height:auto;min-height:28px;font-size:20px;line-height:1.5;font-weight:600;max-width:100%}.conversation-root .conversation-heading-title-text{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-root .conversation-heading-title,.conversation-root .conversation-submit-labelled.ant-btn,.conversation-root .conversation-config-trigger.ant-btn{transition-property:color,background-color,border-color,box-shadow,opacity}.conversation-root .conversation-heading-context{margin-block-start:2px;font-size:13px}.conversation-root .conversation-heading-context{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-root .conversation-message-scroll{--conversation-scroll-pad-top:20px;position:relative;padding-block:var(--conversation-scroll-pad-top) 28px}.conversation-root .conversation-message-scroll>*{padding-inline:var(--conversation-inset)}.conversation-root .conversation-message-scroll>.sidebar-projection-swap{display:flex;flex:1 0 auto;flex-direction:column;min-height:100%}.conversation-root .conversation-message-scroll>.sidebar-projection-swap>.sidebar-projection-current{display:flex;flex:1 1 auto;flex-direction:column;min-height:0}.conversation-root .conversation-message-scroll>.conversation-empty{overflow-anchor:none;margin-block:0}.conversation-root .conversation-message-scroll>.conversation-empty:first-child{position:absolute;inset-block-start:var(--conversation-scroll-pad-top);inset-inline:0}.conversation-root .team-chat-stream{gap:20px}.conversation-history-more{display:flex;justify-content:center;padding-block:2px}.conversation-history-more .ant-btn{color:var(--text-secondary);font-size:var(--font-size-xs)}.conversation-root .conversation-session-reply{margin-block:4px 12px}.conversation-root .conversation-reply-context{font-size:12px}.conversation-root .conversation-reply-body{font-size:15px;line-height:1.8}.conversation-root .conversation-reply-body :is(p,ul,ol){margin-block:0 16px}.conversation-root .conversation-reply-body :is(h1,h2,h3){margin-block:24px 12px;line-height:1.4}.conversation-root .conversation-reply-body :is(pre,table){max-width:100%}.conversation-root .conversation-reply-footer{padding-block:4px;font-size:12px}.conversation-root .conversation-reply-footer .ant-btn{color:var(--accent);font-weight:600}.conversation-continue-arrow{transform:rotate(90deg)}.conversation-root .conversation-composer{padding:8px var(--conversation-inset) max(12px,var(--wand-safe-bottom,0px));background:transparent}.conversation-root .conversation-input-wrap{margin-block-start:42px}.conversation-root .conversation-runtime-summary-slot{height:24px;margin-block-start:-56px;display:flex;align-items:center;justify-content:flex-end}.conversation-root .conversation-sender.ant-sender{border:0;border-radius:16px;background:var(--bg-surface);padding:16px 16px 10px;box-shadow:0 4px 20px color-mix(in srgb,var(--text-primary) 8%,transparent)}.conversation-root .conversation-sender.ant-sender:focus-within{box-shadow:0 4px 20px color-mix(in srgb,var(--text-primary) 8%,transparent),0 0 0 2px var(--border-focus)}.conversation-root .conversation-sender.ant-sender:has(textarea:focus):before{content:none}.conversation-root .conversation-companion.ant-btn{position:absolute;inset-inline-start:-12px;inset-block-start:-62px;width:80px;height:62px;padding:0;border:0;background:transparent;z-index:1}.conversation-root .conversation-companion .composer-floating-avatar{inset:0;width:80px;height:80px;pointer-events:none}.conversation-root .conversation-input-wrap>.composer-usage-line{inset-inline:76px 0;inset-block-start:-30px;overflow:visible}.conversation-root .conversation-input-hint{display:block;padding:6px 8px 0;font-size:11px}.conversation-root .conversation-action-row{gap:8px}.conversation-root .conversation-action-row>.ant-flex{min-width:0;flex-wrap:wrap}.conversation-root .conversation-submit-labelled.ant-btn{width:auto;min-width:32px;padding-inline:12px;gap:6px}.conversation-submit-labels{display:inline-grid}.conversation-submit-label{grid-area:1 / 1;font-size:12px}.conversation-submit-label:not([data-active]){visibility:hidden}.conversation-config-trigger.ant-btn{height:32px;min-height:32px;padding-inline:6px;font-size:12px}.conversation-preference-details{width:min(340px,calc(100vw - 48px));max-height:45dvh;overflow:auto}.conversation-preference-details .conversation-continue-work{width:100%;max-width:100%;display:flex;justify-content:flex-start;gap:0;overflow:hidden}.conversation-preference-details .ant-typography{white-space:normal;overflow-wrap:anywhere}.conversation-group-mosaic{display:grid;align-content:center;gap:1px;padding:2px;border-radius:12px;background:var(--bg-tertiary);box-sizing:border-box;overflow:hidden}.conversation-group-cell{position:relative;aspect-ratio:1;min-width:0;min-height:0;display:grid;place-items:center;overflow:hidden;border-radius:4px}.conversation-group-cell>span{position:absolute;display:block;transform-origin:center}@media(max-width:640px){.conversation-root .conversation-heading{padding-block:10px}.conversation-root .conversation-heading-title{font-size:17px}.conversation-root .conversation-message-scroll{--conversation-scroll-pad-top:12px;padding-block:var(--conversation-scroll-pad-top) 20px}.conversation-root .conversation-sender.ant-sender{padding:12px 10px 8px;border-radius:12px}.conversation-root .conversation-submit-label{display:none}.conversation-root .conversation-submit-labelled.ant-btn{padding-inline:0;width:var(--composer-control-height)}.conversation-root .conversation-input-hint{display:none}}\n"]);
|
|
3
|
-
import{c as u}from"/assets/modules/
|
|
3
|
+
import{c as u}from"/assets/modules/8f0d4e22c18a58b0/chunk.js";import{F as p,b as l}from"/assets/modules/3d4451bc069c1498/chunk.js";import{shared114_o as f}from"/assets/modules/2230c51655163cf3/runtime.js";import{shared20_k as m,shared20_l as g,shared20_m as x}from"/assets/modules/2230c51655163cf3/runtime.js";import{shared135_a as r}from"/assets/modules/2230c51655163cf3/runtime.js";import{shared48_b as b}from"/assets/modules/2230c51655163cf3/runtime.js";import{shared13_zb as h}from"/assets/modules/2230c51655163cf3/runtime.js";import{shared5_c as v}from"/assets/modules/2230c51655163cf3/runtime.js";var t=v(h(),1);function j(o,e){return o&&e?{...o,...e,kind:"structured",mode:l(e.provider,o.mode)}:o}function P({agent:o,catalog:e,disabled:a,cliOnly:y=!1,onChange:w}){let d=u(o,e),s=[...f(e,o.provider)];s.some(n=>n.value===o.model)||s.push({value:o.model,label:o.model});let k=p(o.provider,e,o.model,o.thinkingEffort).map(n=>n.value==="off"?{...n,label:"\u81EA\u52A8\uFF08\u6A21\u578B\u9ED8\u8BA4\uFF09"}:n),c=n=>w({provider:n.provider,engine:n.engine,model:n.model,thinkingEffort:n.thinkingEffort});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r,{ariaLabel:"\u672C\u9875\u6267\u884C\u5DE5\u5177",value:x(o.provider,o.engine),options:m.filter(n=>!y||n.engine!=="sdk").map(n=>({value:n.id,label:n.label})),className:"conversation-runtime-select conversation-tool-select",triggerKind:"ghost",side:"top",disabled:a,onValueChange:n=>{let i=g(n);i&&c({...o,provider:i.provider,engine:i.engine,model:"default",thinkingEffort:"off",mode:l(i.provider,o.mode)})}}),(0,t.jsx)(r,{ariaLabel:"\u672C\u9875\u6A21\u578B",value:o.model,options:s,displayValue:d.model,className:"conversation-runtime-select conversation-model-select",triggerKind:"ghost",side:"top",disabled:a,searchable:!0,searchPlaceholder:"\u641C\u7D22\u672C\u9875\u6A21\u578B",onValueChange:n=>{let i=p(o.provider,e,n).some(E=>E.value===o.thinkingEffort);c({...o,model:n,thinkingEffort:i?o.thinkingEffort:"off"})}}),(0,t.jsx)(r,{ariaLabel:"\u672C\u9875\u601D\u8003\u6DF1\u5EA6",value:o.thinkingEffort,options:k,displayValue:`\u601D\u8003\uFF1A${d.thinking}`,className:"conversation-runtime-select conversation-thinking-select",triggerKind:"ghost",side:"top",disabled:a,onValueChange:n=>c({...o,thinkingEffort:n})})]})}function V(){b("wand-conversation-home",__wandCssTextPool[0])}export{j as a,P as b,V as c};
|