-
Notifications
You must be signed in to change notification settings - Fork 2
/
packages__form__src__components__SchemaForm__index.md.12fcd9c5.async.js
1 lines (1 loc) · 15.6 KB
/
packages__form__src__components__SchemaForm__index.md.12fcd9c5.async.js
1
"use strict";(self.webpackChunkpro_components=self.webpackChunkpro_components||[]).push([[7698],{70929:function(a,r,l){l.r(r);var h=l(57291),u=l(45579),c=l(60653),s=l(37074),x=l(50959),e=l(11527);function n(){var i=(0,s.eL)(),d=i.texts;return(0,e.jsx)(s.dY,{children:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("div",{className:"markdown",children:[(0,e.jsxs)("h1",{id:"schema-form---json-\u8868\u5355",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#schema-form---json-\u8868\u5355",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"Schema Form - JSON \u8868\u5355"]}),(0,e.jsxs)("p",{children:[d[0].value,(0,e.jsx)(s.rU,{to:"/components/schema",children:d[1].value}),d[2].value]}),(0,e.jsx)("blockquote",{children:(0,e.jsxs)("p",{children:[(0,e.jsx)("strong",{children:d[3].value}),d[4].value,(0,e.jsx)(s.rU,{to:"#%E9%AB%98%E6%80%A7%E8%83%BD%E4%BB%A3%E7%A0%81%E7%A4%BA%E4%BE%8B",children:d[5].value}),d[6].value]})}),(0,e.jsxs)("h2",{id:"api",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#api",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"API"]}),(0,e.jsxs)("p",{children:[d[7].value,(0,e.jsx)(s.rU,{to:"/components/form#proform",children:d[8].value}),d[9].value]}),(0,e.jsxs)(c.Z,{children:[(0,e.jsx)("thead",{children:(0,e.jsxs)("tr",{children:[(0,e.jsx)("th",{children:d[10].value}),(0,e.jsx)("th",{children:d[11].value}),(0,e.jsx)("th",{children:d[12].value})]})}),(0,e.jsxs)("tbody",{children:[(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[13].value})}),(0,e.jsx)("td",{children:(0,e.jsx)(s.rU,{to:"/components/schema-form#proformlayouttype",children:(0,e.jsx)("code",{children:d[14].value})})}),(0,e.jsx)("td",{children:d[15].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[16].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[17].value})}),(0,e.jsxs)("td",{children:[(0,e.jsx)("code",{children:d[18].value}),d[19].value]})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[20].value})}),(0,e.jsx)("td",{children:(0,e.jsxs)(s.rU,{to:"/components/schema-form#schema-%E5%AE%9A%E4%B9%89",children:[(0,e.jsx)("code",{children:d[21].value}),d[22].value,(0,e.jsx)("code",{children:d[23].value})]})}),(0,e.jsx)("td",{children:d[24].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[25].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[26].value})}),(0,e.jsxs)("td",{children:[d[27].value,(0,e.jsx)("br",{}),d[28].value,(0,e.jsx)("code",{children:d[29].value}),d[30].value,(0,e.jsx)("br",{}),d[31].value,(0,e.jsx)("code",{children:d[32].value}),d[33].value,(0,e.jsx)(s.rU,{to:"#%E7%BB%93%E5%90%88-shouldupdatefalse-%E5%92%8C-dependencies-%E8%A7%A6%E5%8F%91%E6%9B%B4%E6%96%B0",children:d[34].value}),d[35].value,(0,e.jsx)("br",{}),d[36].value,(0,e.jsx)("code",{children:d[37].value}),d[38].value,(0,e.jsx)("code",{children:d[39].value}),d[40].value,(0,e.jsx)("code",{children:d[41].value}),d[42].value,(0,e.jsx)(s.rU,{to:"#%E5%8A%A8%E6%80%81%E6%8E%A7%E5%88%B6%E6%98%AF%E5%90%A6%E9%87%8D%E6%B8%B2%E6%9F%93",children:d[43].value})]})]})]})]}),(0,e.jsxs)("h2",{id:"proformlayouttype",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#proformlayouttype",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"ProFormLayoutType"]}),(0,e.jsxs)(c.Z,{children:[(0,e.jsx)("thead",{children:(0,e.jsxs)("tr",{children:[(0,e.jsx)("th",{children:d[44].value}),(0,e.jsx)("th",{children:d[45].value})]})}),(0,e.jsxs)("tbody",{children:[(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[46].value})}),(0,e.jsxs)("td",{children:[(0,e.jsx)(s.rU,{to:"/components/form",children:d[47].value}),d[48].value]})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[49].value})}),(0,e.jsxs)("td",{children:[d[50].value,(0,e.jsx)(s.rU,{to:"/components/modal-form",children:d[51].value}),d[52].value]})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[53].value})}),(0,e.jsxs)("td",{children:[d[54].value,(0,e.jsx)(s.rU,{to:"/components/modal-form",children:d[55].value}),d[56].value]})]}),(0,e.jsxs)("tr",{children:[(0,e.jsxs)("td",{children:[(0,e.jsx)("code",{children:d[57].value}),d[58].value,(0,e.jsx)("code",{children:d[59].value})]}),(0,e.jsxs)("td",{children:[d[60].value,(0,e.jsx)("code",{children:d[61].value}),d[62].value,(0,e.jsx)("code",{children:d[63].value}),d[64].value,(0,e.jsx)("code",{children:d[65].value}),d[66].value,(0,e.jsx)("code",{children:d[67].value}),d[68].value]})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[69].value})}),(0,e.jsxs)("td",{children:[d[70].value,(0,e.jsx)(s.rU,{to:"/components/query-filter",children:(0,e.jsx)("code",{children:d[71].value})}),d[72].value]})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[73].value})}),(0,e.jsxs)("td",{children:[d[74].value,(0,e.jsx)(s.rU,{to:"/components/query-filter",children:(0,e.jsx)("code",{children:d[75].value})}),d[76].value]})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[77].value})}),(0,e.jsx)("td",{children:d[78].value})]})]})]}),(0,e.jsxs)("h2",{id:"schema-\u5B9A\u4E49",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#schema-\u5B9A\u4E49",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"Schema \u5B9A\u4E49"]}),(0,e.jsx)("p",{children:d[79].value}),(0,e.jsxs)(c.Z,{children:[(0,e.jsx)("thead",{children:(0,e.jsxs)("tr",{children:[(0,e.jsx)("th",{children:d[80].value}),(0,e.jsx)("th",{children:d[81].value}),(0,e.jsx)("th",{children:d[82].value})]})}),(0,e.jsxs)("tbody",{children:[(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[83].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[84].value})}),(0,e.jsx)("td",{children:d[85].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[86].value})}),(0,e.jsxs)("td",{children:[(0,e.jsx)("code",{children:d[87].value}),d[88].value,(0,e.jsx)("code",{children:d[89].value})]}),(0,e.jsxs)("td",{children:[d[90].value,(0,e.jsx)("code",{children:d[91].value})]})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[92].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[93].value})}),(0,e.jsx)("td",{children:d[94].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[95].value})}),(0,e.jsxs)("td",{children:[(0,e.jsx)("code",{children:d[96].value}),d[97].value,(0,e.jsx)("code",{children:d[98].value})]}),(0,e.jsx)("td",{children:d[99].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[100].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[101].value})}),(0,e.jsx)("td",{children:d[102].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[103].value})}),(0,e.jsxs)("td",{children:[(0,e.jsx)("code",{children:d[104].value}),d[105].value,(0,e.jsx)("code",{children:d[106].value})]}),(0,e.jsx)("td",{children:d[107].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[108].value})}),(0,e.jsxs)("td",{children:[(0,e.jsx)("code",{children:d[109].value}),d[110].value,(0,e.jsx)("code",{children:d[111].value})]}),(0,e.jsx)("td",{children:d[112].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[113].value})}),(0,e.jsxs)("td",{children:[(0,e.jsx)("code",{children:d[114].value}),d[115].value,(0,e.jsx)("code",{children:d[116].value})]}),(0,e.jsx)("td",{children:d[117].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[118].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[119].value})}),(0,e.jsxs)("td",{children:[d[120].value,(0,e.jsx)("code",{children:d[121].value}),d[122].value,(0,e.jsx)("code",{children:d[123].value}),d[124].value]})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[125].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[126].value})}),(0,e.jsxs)("td",{children:[d[127].value,(0,e.jsx)("code",{children:d[128].value}),d[129].value,(0,e.jsx)("code",{children:d[130].value}),d[131].value]})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[132].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[133].value})}),(0,e.jsx)("td",{children:d[134].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[135].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[136].value})}),(0,e.jsxs)("td",{children:[d[137].value,(0,e.jsx)("code",{children:d[138].value}),d[139].value,(0,e.jsx)("code",{children:d[140].value})]})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[141].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[142].value})}),(0,e.jsxs)("td",{children:[d[143].value,(0,e.jsx)("del",{children:d[144].value}),d[145].value]})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[146].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[147].value})}),(0,e.jsx)("td",{children:d[148].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[149].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[150].value})}),(0,e.jsxs)("td",{children:[d[151].value,(0,e.jsx)("code",{children:d[152].value}),d[153].value,(0,e.jsx)("code",{children:d[154].value}),d[155].value]})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[156].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[157].value})}),(0,e.jsxs)("td",{children:[d[158].value,(0,e.jsx)(s.rU,{to:"#%E4%BD%BF%E7%94%A8-dependencies-%E8%A7%A6%E5%8F%91-fieldpropsformitempropsrenderformitem-%E6%9B%B4%E6%96%B0",children:d[159].value})]})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[160].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[161].value})}),(0,e.jsx)("td",{children:d[162].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[163].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[164].value})}),(0,e.jsx)("td",{children:d[165].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[166].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[167].value})}),(0,e.jsx)("td",{children:d[168].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[169].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[170].value})}),(0,e.jsx)("td",{children:d[171].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[172].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[173].value})}),(0,e.jsxs)("td",{children:[d[174].value,(0,e.jsx)("code",{children:d[175].value}),d[176].value,(0,e.jsx)("code",{children:d[177].value})]})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[178].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("a",{href:"https://ant.design/components/grid/#Col",children:d[179].value})}),(0,e.jsx)("td",{children:d[180].value})]}),(0,e.jsxs)("tr",{children:[(0,e.jsx)("td",{children:(0,e.jsx)("code",{children:d[181].value})}),(0,e.jsx)("td",{children:(0,e.jsx)("a",{href:"https://ant.design/components/grid/#Row",children:d[182].value})}),(0,e.jsx)("td",{children:d[183].value})]})]})]}),(0,e.jsxs)("h2",{id:"\u4EE3\u7801\u793A\u4F8B",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4EE3\u7801\u793A\u4F8B",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"\u4EE3\u7801\u793A\u4F8B"]}),(0,e.jsxs)("h3",{id:"json-\u6765\u751F\u6210\u8868\u5355",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#json-\u6765\u751F\u6210\u8868\u5355",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"JSON \u6765\u751F\u6210\u8868\u5355"]})]}),(0,e.jsx)(s.Dl,{demo:{id:"packages-form-src-components-schema-form-demo-schema"},previewerProps:{title:"schema \u8868\u5355",filename:"packages/form/src/components/SchemaForm/demos/schema.tsx"}}),(0,e.jsx)("div",{className:"markdown",children:(0,e.jsxs)("h3",{id:"json-\u6765\u751F\u6210\u5206\u6B65\u8868\u5355",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#json-\u6765\u751F\u6210\u5206\u6B65\u8868\u5355",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"JSON \u6765\u751F\u6210\u5206\u6B65\u8868\u5355"]})}),(0,e.jsx)(s.Dl,{demo:{id:"packages-form-src-components-schema-form-demo-steps-form"},previewerProps:{title:"schema \u8868\u5355",filename:"packages/form/src/components/SchemaForm/demos/steps-form.tsx"}}),(0,e.jsx)("div",{className:"markdown",children:(0,e.jsxs)("h3",{id:"\u5D4C\u5165\u5230-proform-\u4E2D",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u5D4C\u5165\u5230-proform-\u4E2D",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"\u5D4C\u5165\u5230 ProForm \u4E2D"]})}),(0,e.jsx)(s.Dl,{demo:{id:"packages-form-src-components-schema-form-demo-embed"},previewerProps:{title:"schema \u8868\u5355",filename:"packages/form/src/components/SchemaForm/demos/embed.tsx"}}),(0,e.jsx)("div",{className:"markdown",children:(0,e.jsxs)("h3",{id:"\u4F7F\u7528-proformdependency",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u4F7F\u7528-proformdependency",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"\u4F7F\u7528 ProFormDependency"]})}),(0,e.jsx)(s.Dl,{demo:{id:"packages-form-src-components-schema-form-demo-dependency"},previewerProps:{title:"schema \u8868\u5355",filename:"packages/form/src/components/SchemaForm/demos/dependency.tsx"}}),(0,e.jsxs)("div",{className:"markdown",children:[(0,e.jsxs)("h2",{id:"\u9AD8\u6027\u80FD\u4EE3\u7801\u793A\u4F8B",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u9AD8\u6027\u80FD\u4EE3\u7801\u793A\u4F8B",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"\u9AD8\u6027\u80FD\u4EE3\u7801\u793A\u4F8B"]}),(0,e.jsxs)("h3",{id:"\u7ED3\u5408-shouldupdatefalse-\u548C-dependencies-\u89E6\u53D1\u66F4\u65B0",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u7ED3\u5408-shouldupdatefalse-\u548C-dependencies-\u89E6\u53D1\u66F4\u65B0",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"\u7ED3\u5408 shouldUpdate=false \u548C dependencies \u89E6\u53D1\u66F4\u65B0"]})]}),(0,e.jsx)(s.Dl,{demo:{id:"packages-form-src-components-schema-form-demo-dependencies"},previewerProps:{title:"schema dependencies",filename:"packages/form/src/components/SchemaForm/demos/dependencies.tsx"}}),(0,e.jsx)("div",{className:"markdown",children:(0,e.jsxs)("h3",{id:"\u52A8\u6001\u63A7\u5236\u662F\u5426\u91CD\u6E32\u67D3",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u52A8\u6001\u63A7\u5236\u662F\u5426\u91CD\u6E32\u67D3",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"\u52A8\u6001\u63A7\u5236\u662F\u5426\u91CD\u6E32\u67D3"]})}),(0,e.jsx)(s.Dl,{demo:{id:"packages-form-src-components-schema-form-demo-dynamic-rerender"},previewerProps:{title:"dynamic rerender",filename:"packages/form/src/components/SchemaForm/demos/dynamic-rerender.tsx"}}),(0,e.jsx)("div",{className:"markdown",children:(0,e.jsxs)("h3",{id:"form-list-required",children:[(0,e.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#form-list-required",children:(0,e.jsx)("span",{className:"icon icon-link"})}),"form-list-required"]})}),(0,e.jsx)(s.Dl,{demo:{id:"packages-form-src-components-schema-form-demo-form-list-required"},previewerProps:{title:"required",debug:!0,filename:"packages/form/src/components/SchemaForm/demos/form-list-required.tsx"}})]})})}r.default=n}}]);