ant-design/58f2aadd-async.45ea5ec9.js
2024-11-20 18:30:54 +00:00

1 line
7.4 KiB
JavaScript

(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["58f2aadd"],{"38446d1e":function(e,t,l){"use strict";l.d(t,"__esModule",{value:!0}),l.d(t,"default",{enumerable:!0,get:function(){return s;}});var r=l("f19d2b93");l("c93fd84a");var i=l("a9d1a279");let a=e=>(0,r.jsx)(i.Flex,{justify:"center",align:"center",style:{height:"100%"},children:(0,r.jsx)(i.Typography.Title,{type:"secondary",level:5,style:{whiteSpace:"nowrap"},children:e.text})}),n=({style:e,...t})=>(0,r.jsxs)(i.Splitter,{style:{boxShadow:"0 0 10px rgba(0, 0, 0, 0.1)",...e},...t,children:[(0,r.jsx)(i.Splitter.Panel,{collapsible:!0,min:"20%",children:(0,r.jsx)(a,{text:"First"})}),(0,r.jsx)(i.Splitter.Panel,{collapsible:!0,children:(0,r.jsx)(a,{text:"Second"})})]});var s=()=>(0,r.jsxs)(i.Flex,{gap:"middle",vertical:!0,children:[(0,r.jsx)(n,{style:{height:200}}),(0,r.jsx)(n,{style:{height:300},layout:"vertical"})]});},"3a8e95aa":function(e,t,l){"use strict";l.d(t,"__esModule",{value:!0}),l.d(t,"default",{enumerable:!0,get:function(){return d;}});var r=l("777fffbe"),i=l("f19d2b93");l("f31d6c21");var a=r._(l("5b220c3d")),n=l("a9d1a279");let s=e=>(0,i.jsx)(n.Flex,{justify:"center",align:"center",style:{height:"100%"},children:(0,i.jsx)(n.Typography.Title,{type:"secondary",level:5,style:{whiteSpace:"nowrap"},children:e.text})});var d=()=>{let[e,t]=a.default.useState(["50%","50%"]),[l,r]=a.default.useState(!0);return(0,i.jsxs)(n.Flex,{vertical:!0,gap:"middle",children:[(0,i.jsxs)(n.Splitter,{onResize:t,style:{height:200,boxShadow:"0 0 10px rgba(0, 0, 0, 0.1)"},children:[(0,i.jsx)(n.Splitter.Panel,{size:e[0],resizable:l,children:(0,i.jsx)(s,{text:"First"})}),(0,i.jsx)(n.Splitter.Panel,{size:e[1],children:(0,i.jsx)(s,{text:"Second"})})]}),(0,i.jsxs)(n.Flex,{gap:"middle",justify:"space-between",children:[(0,i.jsx)(n.Switch,{value:l,onChange:()=>r(!l),checkedChildren:"Enabled",unCheckedChildren:"Disabled"}),(0,i.jsx)(n.Button,{onClick:()=>t(["50%","50%"]),children:"Reset"})]})]});};},"3ae62659":function(e,t,l){"use strict";l.d(t,"__esModule",{value:!0}),l.d(t,"default",{enumerable:!0,get:function(){return n;}});var r=l("f19d2b93");l("c69f3792");var i=l("a9d1a279");let a=e=>(0,r.jsx)(i.Flex,{justify:"center",align:"center",style:{height:"100%"},children:(0,r.jsx)(i.Typography.Title,{type:"secondary",level:5,style:{whiteSpace:"nowrap"},children:e.text})});var n=()=>(0,r.jsxs)(i.Splitter,{style:{height:300,boxShadow:"0 0 10px rgba(0, 0, 0, 0.1)"},children:[(0,r.jsx)(i.Splitter.Panel,{collapsible:!0,children:(0,r.jsx)(a,{text:"Left"})}),(0,r.jsx)(i.Splitter.Panel,{children:(0,r.jsxs)(i.Splitter,{layout:"vertical",children:[(0,r.jsx)(i.Splitter.Panel,{children:(0,r.jsx)(a,{text:"Top"})}),(0,r.jsx)(i.Splitter.Panel,{children:(0,r.jsx)(a,{text:"Bottom"})})]})})]});},"51614b76":function(e,t,l){"use strict";l.d(t,"__esModule",{value:!0}),l.d(t,"default",{enumerable:!0,get:function(){return n;}});var r=l("f19d2b93");l("ee74ddff");var i=l("a9d1a279");let a=e=>(0,r.jsx)(i.Flex,{justify:"center",align:"center",style:{height:"100%"},children:(0,r.jsx)(i.Typography.Title,{type:"secondary",level:5,style:{whiteSpace:"nowrap"},children:e.text})});var n=()=>(0,r.jsxs)(i.Splitter,{layout:"vertical",style:{height:300,boxShadow:"0 0 10px rgba(0, 0, 0, 0.1)"},children:[(0,r.jsx)(i.Splitter.Panel,{children:(0,r.jsx)(a,{text:"First"})}),(0,r.jsx)(i.Splitter.Panel,{children:(0,r.jsx)(a,{text:"Second"})})]});},"7ea09cb8":function(e,t,l){"use strict";l.d(t,"__esModule",{value:!0}),l.d(t,"default",{enumerable:!0,get:function(){return n;}});var r=l("f19d2b93");l("3b55336f");var i=l("a9d1a279");let a=e=>(0,r.jsx)(i.Flex,{justify:"center",align:"center",style:{height:"100%"},children:(0,r.jsx)(i.Typography.Title,{type:"secondary",level:5,style:{whiteSpace:"nowrap"},children:e.text})});var n=()=>(0,r.jsxs)(i.Splitter,{style:{height:200,boxShadow:"0 0 10px rgba(0, 0, 0, 0.1)"},children:[(0,r.jsx)(i.Splitter.Panel,{defaultSize:"40%",min:"20%",max:"70%",children:(0,r.jsx)(a,{text:"First"})}),(0,r.jsx)(i.Splitter.Panel,{children:(0,r.jsx)(a,{text:"Second"})})]});},a1b58308:function(e,t,l){"use strict";l.d(t,"__esModule",{value:!0}),l.d(t,"default",{enumerable:!0,get:function(){return n;}});var r=l("f19d2b93");l("5f78353f");var i=l("a9d1a279");let a=e=>(0,r.jsx)(i.Flex,{justify:"center",align:"center",style:{height:"100%"},children:(0,r.jsxs)(i.Typography.Title,{type:"secondary",level:5,style:{whiteSpace:"nowrap"},children:["Panel ",e.text]})});var n=()=>(0,r.jsxs)(i.Flex,{vertical:!0,gap:"middle",children:[(0,r.jsx)(i.Typography.Title,{level:3,children:"[true, 0, false]"}),(0,r.jsxs)(i.Splitter,{style:{height:200,boxShadow:"0 0 10px rgba(0, 0, 0, 0.1)"},children:[(0,r.jsx)(i.Splitter.Panel,{children:(0,r.jsx)(a,{text:1})}),(0,r.jsx)(i.Splitter.Panel,{defaultSize:0,children:(0,r.jsx)(a,{text:2})}),(0,r.jsx)(i.Splitter.Panel,{resizable:!1,children:(0,r.jsx)(a,{text:3})})]}),(0,r.jsx)(i.Typography.Title,{level:3,children:"[false, 0, true]"}),(0,r.jsxs)(i.Splitter,{style:{height:200,boxShadow:"0 0 10px rgba(0, 0, 0, 0.1)"},children:[(0,r.jsx)(i.Splitter.Panel,{resizable:!1,children:(0,r.jsx)(a,{text:1})}),(0,r.jsx)(i.Splitter.Panel,{defaultSize:0,children:(0,r.jsx)(a,{text:2})}),(0,r.jsx)(i.Splitter.Panel,{children:(0,r.jsx)(a,{text:3})})]}),(0,r.jsx)(i.Typography.Title,{level:3,children:"Start have min & max"}),(0,r.jsxs)(i.Splitter,{style:{height:200,boxShadow:"0 0 10px rgba(0, 0, 0, 0.1)"},children:[(0,r.jsx)(i.Splitter.Panel,{min:50,max:100,children:(0,r.jsx)(a,{text:1})}),(0,r.jsx)(i.Splitter.Panel,{children:(0,r.jsx)(a,{text:2})})]}),(0,r.jsx)(i.Typography.Title,{level:3,children:"End have min & max"}),(0,r.jsxs)(i.Splitter,{style:{height:200,boxShadow:"0 0 10px rgba(0, 0, 0, 0.1)"},children:[(0,r.jsx)(i.Splitter.Panel,{children:(0,r.jsx)(a,{text:1})}),(0,r.jsx)(i.Splitter.Panel,{min:"20%",max:"70%",children:(0,r.jsx)(a,{text:2})})]})]});},baca6761:function(e,t,l){"use strict";l.d(t,"__esModule",{value:!0}),l.d(t,"default",{enumerable:!0,get:function(){return n;}});var r=l("f19d2b93");l("d95556d3");var i=l("a9d1a279");let a=e=>(0,r.jsx)(i.Flex,{justify:"center",align:"center",style:{height:"100%"},children:(0,r.jsxs)(i.Typography.Title,{type:"secondary",level:5,style:{whiteSpace:"nowrap"},children:["Panel ",e.text]})});var n=()=>(0,r.jsxs)(i.Splitter,{style:{height:200,boxShadow:"0 0 10px rgba(0, 0, 0, 0.1)"},children:[(0,r.jsx)(i.Splitter.Panel,{collapsible:!0,children:(0,r.jsx)(a,{text:1})}),(0,r.jsx)(i.Splitter.Panel,{collapsible:{start:!0},children:(0,r.jsx)(a,{text:2})}),(0,r.jsx)(i.Splitter.Panel,{children:(0,r.jsx)(a,{text:3})})]});},e413b1cd:function(e,t,l){"use strict";l.d(t,"__esModule",{value:!0}),l.d(t,"default",{enumerable:!0,get:function(){return n;}});var r=l("f19d2b93");l("b0382f40");var i=l("a9d1a279");let a=e=>(0,r.jsx)(i.Flex,{justify:"center",align:"center",style:{height:"100%"},children:(0,r.jsx)(i.Typography.Title,{type:"secondary",level:5,style:{whiteSpace:"nowrap"},children:e.text})});var n=()=>{let e=(0,r.jsxs)(i.Splitter,{style:{height:200,boxShadow:"0 0 10px rgba(0, 0, 0, 0.1)"},children:[(0,r.jsx)(i.Splitter.Panel,{collapsible:!0,children:(0,r.jsx)(a,{text:1})}),(0,r.jsx)(i.Splitter.Panel,{collapsible:{start:!0},children:(0,r.jsx)(a,{text:2})}),(0,r.jsx)(i.Splitter.Panel,{children:(0,r.jsx)(a,{text:3})})]});return(0,r.jsx)(i.Tabs,{defaultActiveKey:"1",items:[{key:"1",label:"General",children:"Content of Tab Pane 1"},{key:"2",label:"Splitter Tab",children:e}]});};}}]);