ant-design/df2f4d37-async.3c219f8c.js
2024-11-20 18:30:54 +00:00

1 line
2.6 KiB
JavaScript

(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["df2f4d37"],{"7cacdd1a":function(e,d,a){"use strict";a.d(d,"__esModule",{value:!0}),a.d(d,"default",{enumerable:!0,get:function(){return l;}});var t=a("f19d2b93");a("6a5a18af");var n=a("a9d1a279"),l=()=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.Switch,{defaultChecked:!0}),(0,t.jsx)("br",{}),(0,t.jsx)(n.Switch,{size:"small",defaultChecked:!0})]});},ab9b418d:function(e,d,a){"use strict";a.d(d,"__esModule",{value:!0}),a.d(d,"default",{enumerable:!0,get:function(){return l;}});var t=a("f19d2b93");a("0ca9c2b7");var n=a("a9d1a279"),l=()=>(0,t.jsx)(n.ConfigProvider,{theme:{components:{Switch:{trackHeight:14,trackMinWidth:32,colorPrimary:"rgb(25, 118, 210, 0.5)",trackPadding:-3,handleSize:20,handleBg:"rgb(25, 118, 210)",handleShadow:"rgba(0, 0, 0, 0.2) 0px 2px 1px -1px, rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 1px 3px 0px"}}},children:(0,t.jsx)(n.Space,{children:(0,t.jsx)(n.Switch,{defaultChecked:!0})})});},b5a0b4f7:function(e,d,a){"use strict";a.d(d,"__esModule",{value:!0}),a.d(d,"default",{enumerable:!0,get:function(){return r;}});var t=a("f19d2b93");a("6bba3f8f");var n=a("5b220c3d"),l=a("a9d1a279"),r=()=>{let[e,d]=(0,n.useState)(!0);return(0,t.jsxs)(l.Space,{direction:"vertical",children:[(0,t.jsx)(l.Switch,{disabled:e,defaultChecked:!0}),(0,t.jsx)(l.Button,{type:"primary",onClick:()=>{d(!e);},children:"Toggle disabled"})]});};},b68bf056:function(e,d,a){"use strict";a.d(d,"__esModule",{value:!0}),a.d(d,"default",{enumerable:!0,get:function(){return r;}});var t=a("f19d2b93");a("4eaa09de");var n=a("e22febe0"),l=a("a9d1a279"),r=()=>(0,t.jsxs)(l.Space,{direction:"vertical",children:[(0,t.jsx)(l.Switch,{checkedChildren:"\u5F00\u542F",unCheckedChildren:"\u5173\u95ED",defaultChecked:!0}),(0,t.jsx)(l.Switch,{checkedChildren:"1",unCheckedChildren:"0"}),(0,t.jsx)(l.Switch,{checkedChildren:(0,t.jsx)(n.CheckOutlined,{}),unCheckedChildren:(0,t.jsx)(n.CloseOutlined,{}),defaultChecked:!0})]});},d076e33e:function(e,d,a){"use strict";a.d(d,"__esModule",{value:!0}),a.d(d,"default",{enumerable:!0,get:function(){return l;}});var t=a("f19d2b93");a("e9732b9d");var n=a("a9d1a279"),l=()=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.Switch,{loading:!0,defaultChecked:!0}),(0,t.jsx)("br",{}),(0,t.jsx)(n.Switch,{size:"small",loading:!0})]});},d7f8a498:function(e,d,a){"use strict";a.d(d,"__esModule",{value:!0}),a.d(d,"default",{enumerable:!0,get:function(){return r;}});var t=a("f19d2b93");a("d5ea1db2");var n=a("a9d1a279");let l=e=>{console.log(`switch to ${e}`);};var r=()=>(0,t.jsx)(n.Switch,{defaultChecked:!0,onChange:l});}}]);